{"version":3,"sources":["webpack:///./src/apps/shared/services/locality-service.ts","webpack:///../Content/Images/Logos/safe-health-max.png","webpack:///./src/apps/shared/services/ivaConditions-service.ts","webpack:///./src/apps/shared/services/documentType-service.ts","webpack:///./src/apps/shared/services/crm-service.ts","webpack:///./src/apps/health-max/quote/tabsClient/personToCover.vue","webpack:///./src/apps/health-max/quote/tabsClient/personToCover.vue?699c","webpack:///./src/apps/health-max/quote/tabsClient/personToCover.vue?99ff","webpack:///./src/apps/health-max/quote/tabsClient/personToCover.vue?623c"],"names":["getLocalityList","queryTerm","http","get","params","then","response","data","module","exports","getIvaConditionsList","companyId","getDocumentTypeList","countryId","CreateOrEditLead","email","url","telephoneArea","telephoneNumber","productId","toQualify","applicationStep","render","_vm","this","_c","_self","_setupProxy","staticClass","_l","localItems","item","index","key","path","attrs","_v","_s","text","staticStyle","require","DataPlan","planDescription","premiumWithoutDiscount","thereIsDiscount","toLocaleString","maximumFractionDigits","_e","primerCuota","_m","coversDetail","value","coverDescription","capital","additionalCover","effectDate","expirationDate","directives","name","rawName","on","$event","preventDefault","type","indexOf","_k","keyCode","currentStep","totalStep","isPersonExist","documentTypeList","maxSelections","autocompleteConfig","formatResult","selection","minimumInputLength","isSelectedDocumentType","model","docTypeSelected","callback","$$v","expression","numDoc","regex","isNotSelectedDocumentType","domProps","target","composing","searchButtonDisable","searchPersonData","firstName","lastName","formatDate","birthday","areaCode","telephone","ivaConditionList","selectedIvaCondition","messageErrorDigits","anterior","isLastStep","payButtonDisable","pagar","siguiente","slot","openCancelModal","ref","closeCancelModal","getFilePath","staticRenderFns","Vue","extend","components","RouterLink","busEvents","BreadcrumbText","additionalCovers","planName","activeStep","id","personToCoverDocTypeSelected","ivaConditionSelected","NF","Autocomplete","Result","TAGS","personToCoverNumDoc","isPersonToCoverNotSelectedDocumentType","localityList","localityService","streetName","messageErrorAge","age","stringDate","piso","numDom","numDept","selectedLocality","cityName","cityId2","localityId","zipCode","Procesoautomatico","MaximDigitSuperatedDni","activeForm","accept","coberturasAmparo","gender","officeId","city","address","province","genderId","activeFormPersonNotExist","hasLocality","localityIsSelected","disable","validatePhone","messageErrorAreaCode","messageErrorPhone","messageError","validDigits","numDocChange","numDocExisting","currentGroup","created","window","globalThis","validateNumDoc","val","valid","message","length","methods","$refs","cancelModal","open","close","sessionStorage","setItem","$router","push","CRMCotizadorWebService","location","href","pricingId","parseInt","getItem","changeTitleAndIcon","newTitle","$emit","dateString","date","Date","day","getDate","toString","padStart","month","getMonth","year","getFullYear","showFileError","errorMessage","Notification","show","Type","ERROR","title","content","position","Positions","TOP_RIGHT","clickClose","autoHideDelay","FilePathService","getDocumentType","documentTypeService","map","element","find","p","trim","getIvaConditions","ivaConditionService","isPerson","isJuridico","isSelectedLocality","locality","undefined","provinceName","payButtonDisableValidation","watch","newVal","oldVal","mounted","UI","Page","block","dataLayer","planDataSelected","JSON","parse","coversCapitalAndDescription","gridCovers","peopleToCover","groupId","vwGridCovers","filter","gridCategoriesId","verticalGroupsId","includes","planData","group","premioMensual","personToCover","replace","unblock","component"],"mappings":"kHAAA,gBAGe,WAAI,MACfA,gBAAgBC,GACZ,OAAOC,OAAKC,IAAgB,aAAc,CACtCC,OAAQ,CACJH,eAELI,KAAKC,GAAYA,EAASC,S,mBCTrCC,EAAOC,QAAU,kqH,kCCAjB,gBAGe,WAAI,MACfC,uBACI,OAAOR,OAAKC,IAAqB,gBAAiB,CAC9CC,OAAQ,CACJO,UAAW,KAEhBN,KAAKC,GAAYA,EAASC,S,oCCTrC,gBAGe,WAAI,MACfK,sBACI,OAAOV,OAAKC,IAAoB,gBAAiB,CAC7CC,OAAQ,CACJS,UAAW,KAEhBR,KAAKC,GAAYA,EAASC,S,oCCTrC,gBACe,WAAI,MAEfO,iBACIC,EAAOC,EAAKC,EAAeC,EAAiBC,EAAWC,EAAWC,GAElE,OAAOnB,OAAKC,IAAa,mBAAoB,CACzCC,OAAQ,CACJW,QACCC,MACAC,gBACAC,kBACAC,YACAC,YACAC,qBAENh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AC5B1D,KAAKsD,gBAAkBiL,EAAcjL,gBACrCtD,KAAKqE,SAAWkK,EAAclK,SAC9BrE,KAAKkE,UAAYqK,EAAcrK,UAC/BlE,KAAKmE,SAAWoK,EAAcpK,SAC9BnE,KAAKT,MAAQgP,EAAchP,MAC3BS,KAAKyE,qBAAuB8J,EAAc9J,qBAC1CzE,KAAKsE,SAAWiK,EAAcjK,SAASkK,QAAQ,MAAO,IACtDxO,KAAKuE,UAAYgK,EAAchK,UAAUiK,QAAQ,OAAQ,IACzDxO,KAAKkI,YAAcqG,EAAcrG,YACjClI,KAAK2C,YAAc,EACnB3C,KAAK8H,QAAUyG,EAAczG,QAC7B9H,KAAK4C,UAAY8G,eAAeS,QAAQ,aACxCnK,KAAKgM,kBACLhM,KAAKuM,mBACLrG,GAAGkH,GAAGC,KAAKoB,aCnWua,I,YCO1bC,EAAY,eACd,EACA5O,EACAuF,GACA,EACA,KACA,KACA,MAIa,aAAAqJ,E","file":"js/chunk-099b5a27.js","sourcesContent":["import http from \"../http/http-config\";\r\nimport { Locality } from \"../models/Locality\";\r\n\r\nexport default new class localityService {\r\n getLocalityList(queryTerm: string): Promise {\r\n return http.get(\"Localities\", {\r\n params: {\r\n queryTerm\r\n }\r\n }).then(response => response.data)\r\n }\r\n}\r\n\r\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABICAYAAACZdImsAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAp7SURBVHgB3ZxhVhs5EoBLajt4fuwuc4LxniBwgjEnGNgEJjD7XvAJAicInADnBDjvbSAb2IWcIM4Jwp4gzgmG2ex7C9gtTVW3DXar1C3bktuZ7708h3a3W11dKpWqShIwI8fL68u1/1VWhBKPtYAVrWFFgFgGoev3J2nRxb+7Wugr0Prj7Z/iTvP68hoCcVp52tAAP4GGutByBe+9jIeXB19fYxu7QuDnnNozRMCU0AOhEF/if1fg4UEmoY1CeL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Z0K0b1X+16CaDYyGFPYSEHml4oZOlJN+ukIf8DpUiqdsbld+GAAAAAElFTkSuQmCC\"","import http from \"../http/http-config\";\r\nimport { IvaConditions } from \"../models/IvaConditions\";\r\n\r\nexport default new class IvaConditionsService {\r\n getIvaConditionsList(): Promise {\r\n return http.get(\"IvaConditions\", {\r\n params: {\r\n companyId: 1\r\n }\r\n }).then(response => response.data)\r\n }\r\n}\r\n\r\n","import http from \"../http/http-config\";\r\nimport { DocumentType } from \"../models/documentType\";\r\n\r\nexport default new class DocumentTypeService {\r\n getDocumentTypeList(): Promise {\r\n return http.get(\"DocumentTypes\", {\r\n params: {\r\n countryId: 1\r\n }\r\n }).then(response => response.data)\r\n }\r\n}","import http from \"../http/http-config\";\r\nexport default new class CRMCotizadorWebService {\r\n\r\n CreateOrEditLead(\r\n email, url, telephoneArea, telephoneNumber, productId, toQualify, applicationStep\r\n ): Promise {\r\n return http.get(\"CreateOrEditLead\", {\r\n params: {\r\n email\r\n ,url\r\n ,telephoneArea\r\n ,telephoneNumber\r\n ,productId\r\n ,toQualify\r\n ,applicationStep\r\n }\r\n }).then(response => response.data)\r\n }; \r\n}","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row margin-top\"},[_c('div',{staticClass:\"col-md-12\"},[_c('ul',{staticClass:\"breadcrumb margin-top\"},_vm._l((_vm.localItems),function(item,index){return _c('li',{key:item.path},[_c('RouterLink',{attrs:{\"to\":item.path}},[_vm._v(\" \"+_vm._s(item.text)+\" \")])],1)}),0)])]),_c('div',{staticClass:\"row padding-top\"},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"panel-group\",attrs:{\"aria-multiselectable\":\"true\"}},[_c('div',{staticClass:\"panel panel-default\"},[_c('div',{staticClass:\"panel-heading\",attrs:{\"role\":\"tab\",\"id\":\"headingOne\"}},[_c('div',{staticClass:\"panel-title\"},[_c('a',{staticClass:\"collapsed\",attrs:{\"role\":\"button\",\"data-toggle\":\"collapse\",\"href\":\"#collapseOne\",\"aria-expanded\":\"false\",\"aria-controls\":\"collapseOne\"}},[_c('spam',{staticClass:\"text-brand-primary\"},[_c('strong',[_c('img',{staticClass:\"media-object pull-left\",staticStyle:{\"height\":\"38px\",\"width\":\"48px\"},attrs:{\"src\":require(\"../../../../../../Content/Images/Logos/safe-health-max.png\"),\"alt\":\".media-object\"}}),_c('span',{staticClass:\"text-brand-primary-darker\"},[_vm._v(\"Valor del \"+_vm._s(_vm.DataPlan.planDescription))])])]),_c('div',{staticClass:\"text-brand-secondary\"},[_vm._v(\"Valor Mensual: \"),(_vm.premiumWithoutDiscount != null && _vm.thereIsDiscount)?_c('strike',[_vm._v(\"$ \"+_vm._s(_vm.premiumWithoutDiscount.toLocaleString('es-AR', {maximumFractionDigits: 0})))]):_vm._e(),_vm._v(\" $ \"+_vm._s(_vm.primerCuota.toLocaleString('es-AR', {maximumFractionDigits: 0})))],1)],1)])]),_c('div',{staticClass:\"collapse-content collapse\",attrs:{\"id\":\"collapseOne\",\"aria-labelledby\":\"headingOne\"}},[_c('div',{staticClass:\"panel-body\"},[_c('div',{staticClass:\"form-group\"},[_vm._m(0),_vm._l((_vm.coversDetail),function(value){return _c('div',{},[_c('div',{staticClass:\"margin-left margin-top-half\"},[_c('div',{staticClass:\"text-brand-primary-darker\"},[_c('strong',[_vm._v(_vm._s(value.coverDescription))]),_c('div',[_vm._v(\"$ \"+_vm._s(value.capital.toLocaleString('es-AR', {maximumFractionDigits: 0})))])])])])}),_vm._m(1),_vm._l((_vm.additionalCover),function(value){return _c('div',{},[_c('div',{staticClass:\"margin-left margin-top-half\"},[_c('div',{staticClass:\"text-brand-primary-darker\"},[_c('h5',{staticClass:\"text-black-dark\"},[_c('strong',[_vm._v(_vm._s(value.coverDescription))])])])])])}),_c('div',{staticClass:\"margin-top\"},[_c('p',{staticClass:\"margin-none\"},[_vm._v(\"Vigencia desde \"),_c('strong',[_vm._v(_vm._s(_vm.effectDate))]),_vm._v(\" hasta \"),_c('strong',[_vm._v(_vm._s(_vm.expirationDate))]),_vm._v(\".\")]),_c('p',{staticClass:\"margin-none\"},[_vm._v(\"La vigencia comenzará a partir del primer día del mes siguiente de realizada la cotización.\")])])],2)])])])])])]),_c('div',{staticClass:\"nf-card\"},[_c('form',{directives:[{name:\"validation\",rawName:\"v-validation\"}],attrs:{\"id\":\"formData\"},on:{\"submit\":function($event){$event.preventDefault();},\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;$event.preventDefault();}}},[_c('h6',{staticClass:\"text-right\"},[_vm._v(\"Paso \"+_vm._s(_vm.currentStep)+\" de \"+_vm._s(_vm.totalStep))]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-8 col-md-offset-2\"},[_vm._m(2),_c('p',[_vm._v(\"Si el asegurado no es el Titular de la póliza, vamos a pedirte que ingreses sus datos, a continuación:\")]),(!_vm.isPersonExist)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"form-group col-md-5\"},[_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"docTypeSelected\"}},[_vm._v(\"Tipo Doc.\")]),_c('nf-autocomplete',{attrs:{\"id\":\"docTypeSelected\",\"name\":\"docTypeSelected\",\"source\":_vm.documentTypeList,\"max-selections\":_vm.maxSelections,\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Tipo doc. es obligatorio.\",\"format-result\":_vm.autocompleteConfig.formatResult,\"has-search-box\":false,\"format-selection\":_vm.autocompleteConfig.selection,\"minimum-input-length\":_vm.autocompleteConfig.minimumInputLength},on:{\"change\":_vm.isSelectedDocumentType},model:{value:(_vm.docTypeSelected),callback:function ($$v) {_vm.docTypeSelected=$$v},expression:\"docTypeSelected\"}})],1),_c('div',{staticClass:\"col-md-5 form-group\"},[_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"numDoc\"}},[_vm._v(\"Número\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.numDoc),expression:\"numDoc\"},{name:\"mask\",rawName:\"v-mask\",value:({ regex: '[0-9]*' }),expression:\"{ regex: '[0-9]*' }\"}],staticClass:\"form-control\",attrs:{\"name\":\"numDoc\",\"id\":\"numDoc\",\"readonly\":_vm.isNotSelectedDocumentType,\"placeholder\":\"Ingresá Número\",\"data-fv-callback\":\"true\",\"data-fv-callback-callback\":\"validateNumDoc\"},domProps:{\"value\":(_vm.numDoc)},on:{\"input\":function($event){if($event.target.composing)return;_vm.numDoc=$event.target.value}}})]),_c('div',{staticClass:\"col-md-2 form-group\"},[_c('label',{staticClass:\"control-label\"}),_c('div',[_c('button',{directives:[{name:\"disable\",rawName:\"v-disable\",value:(_vm.searchButtonDisable),expression:\"searchButtonDisable\"}],staticClass:\"btn btn-default btn-lg\",on:{\"click\":_vm.searchPersonData}},[_vm._v(\" Buscar \")])])])]):_vm._e(),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12\"},[(_vm.isPersonExist)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"alert alert-info\"},[_c('div',[_c('i',{staticClass:\"text-brand-primary fa fa-user\"}),_c('span',{staticClass:\"text-brand-primary\"},[_vm._v(\" \"+_vm._s(_vm.firstName)+\" \"+_vm._s(_vm.lastName)+\".\")])]),_c('div',[_c('i',{staticClass:\"text-brand-primary fa fa-address-card\"}),_c('span',{staticClass:\"text-brand-primary\"},[_vm._v(\" \"+_vm._s(_vm.docTypeSelected.name)+\": \"+_vm._s(_vm.numDoc)+\".\")])]),_c('div',[_c('i',{staticClass:\"text-brand-primary fa fa-calendar\"}),_c('span',{staticClass:\"text-brand-primary\"},[_vm._v(\" Fecha de nacimiento: \"+_vm._s(_vm.formatDate(_vm.birthday))+\".\")])])])])]):_vm._e(),(_vm.isPersonExist)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"form-group col-md-5 col-xs-5\"},[_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"areaCode\"}},[_vm._v(\" Área \")]),_c('input',{directives:[{name:\"mask\",rawName:\"v-mask\",value:({ regex: '[0-9]*' }),expression:\"{ regex: '[0-9]*' }\"},{name:\"model\",rawName:\"v-model\",value:(_vm.areaCode),expression:\"areaCode\"}],staticClass:\"form-control\",attrs:{\"name\":\"areaCode\",\"id\":\"areaCode\",\"maxlength\":\"4\",\"data-fv-stringlength\":\"true\",\"data-fv-stringlength-min\":\"2\",\"data-fv-stringlength-max\":\"4\",\"placeholder\":\"Ej: 11\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Área es obligatorio.\"},domProps:{\"value\":(_vm.areaCode)},on:{\"input\":function($event){if($event.target.composing)return;_vm.areaCode=$event.target.value}}})]),_c('div',{staticClass:\"form-group col-md-7 col-xs-7\"},[_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"telephone\"}},[_vm._v(\" Nro. de teléfono \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.telephone),expression:\"telephone\"},{name:\"mask\",rawName:\"v-mask\",value:({ regex: '[0-9]*' }),expression:\"{ regex: '[0-9]*' }\"}],staticClass:\"form-control\",attrs:{\"name\":\"telephone\",\"id\":\"telephone\",\"maxlength\":\"8\",\"data-fv-stringlength\":\"true\",\"data-fv-stringlength-min\":\"6\",\"data-fv-stringlength-max\":\"8\",\"placeholder\":\"Ej: 53994365\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Nro. teléfono es obligatorio.\"},domProps:{\"value\":(_vm.telephone)},on:{\"input\":function($event){if($event.target.composing)return;_vm.telephone=$event.target.value}}})]),_c('div',{staticClass:\"form-group col-md-12\"},[_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"ivaCondition\"}},[_vm._v(\" Condición Fiscal \")]),_c('nf-autocomplete',{attrs:{\"id\":\"selectedIvaCondition\",\"name\":\"selectedIvaCondition\",\"source\":_vm.ivaConditionList,\"max-selections\":_vm.maxSelections,\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Condición Fiscal es obligatorio.\",\"format-result\":_vm.autocompleteConfig.formatResult,\"has-search-box\":false,\"format-selection\":_vm.autocompleteConfig.selection,\"minimum-input-length\":_vm.autocompleteConfig.minimumInputLength},model:{value:(_vm.selectedIvaCondition),callback:function ($$v) {_vm.selectedIvaCondition=$$v},expression:\"selectedIvaCondition\"}})],1),_c('div',{staticClass:\"form-group col-md-12\"},[_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"email\"}},[_vm._v(\" Correo electrónico donde querés recibir la documentación \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"form-control\",attrs:{\"name\":\"email\",\"id\":\"email\",\"type\":\"text\",\"data-fv-stringlength\":\"true\",\"data-fv-stringlength-min\":\"10\",\"data-fv-stringlength-max\":\"100\",\"data-fv-notempty\":\"true\",\"data-fv-emailaddress\":\"true\",\"data-fv-emailaddress-multiple\":\"false\",\"data-fv-notempty-message\":\"El campo Correo Electrónico es obligatorio.\",\"data-fv-emailaddress-message\":\"Dirección de correo incorrecta.\",\"placeholder\":\"Ej: juangonzalez@correo.com\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value}}})]),_c('div',{staticClass:\"row col-md-12\"},[_c('div',{staticClass:\"text-brand-danger\"},[_vm._v(_vm._s(_vm.messageErrorDigits))])])]):_vm._e()])])]),_c('div',{staticClass:\"col-md-12 margin-top\"},[_c('div',{staticClass:\"col-md-6 col-xs-6\"},[_c('button',{staticClass:\"btn btn-lg btn btn-secondary-outline\",on:{\"click\":_vm.anterior}},[_vm._v(\" Anterior \")])]),(_vm.isLastStep && !_vm.payButtonDisable)?_c('div',{staticClass:\"col-md-6 col-xs-6 text-right\"},[_c('button',{directives:[{name:\"disable\",rawName:\"v-disable\",value:(_vm.payButtonDisable),expression:\"payButtonDisable\"}],staticClass:\"btn btn-lg btn-next btn btn-default\",on:{\"click\":_vm.pagar}},[_vm._v(\" Contratar \")])]):_vm._e(),(!_vm.isLastStep && !_vm.payButtonDisable)?_c('div',{staticClass:\"col-md-6 col-xs-6 text-right\"},[_c('button',{directives:[{name:\"disable\",rawName:\"v-disable\",value:(_vm.payButtonDisable),expression:\"payButtonDisable\"}],staticClass:\"btn btn-lg btn-next btn btn-default\",on:{\"click\":_vm.siguiente}},[_vm._v(\" Siguiente \")])]):_vm._e()])])])]),_c('div',{staticClass:\"row margin-top text-center\"},[_c('div',{staticClass:\"margin-top-half\"},[_c('div',{attrs:{\"slot\":\"toolbar\"},slot:\"toolbar\"},[_c('a',{on:{\"click\":_vm.openCancelModal}},[_vm._v(\" Cancelar \")])]),_vm._m(3)])]),_c('nf-modal',{ref:\"cancelModal\",staticClass:\"modal-scrollable\",attrs:{\"id\":\"cancelModal\",\"reset-scroll\":\"\"}},[_c('span',{staticClass:\"h3\",attrs:{\"slot\":\"title\"},slot:\"title\"},[_c('strong',{staticClass:\"text-brand-primary\"},[_vm._v(\"Cancelar cotización\")])]),_c('div',{attrs:{\"slot\":\"body\"},slot:\"body\"},[_c('i',{staticClass:\"text-brand-primary fa fa-info-circle-o\"}),_c('span',{staticClass:\"text-brand-primary\"},[_vm._v(\" Si cancelás la operación, el pedido de Cotización iniciada se perderá.\")]),_c('p',{staticClass:\"margin-top\"},[_c('strong',[_vm._v(\"¿Deseas continuar?\")])])]),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.closeCancelModal}},[_vm._v(\" Continuar cotización \")]),_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.getFilePath}},[_vm._v(\" Cancelar operación \")])])])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('h4',{staticClass:\"text-brand-secondary margin-top-half\"},[_c('strong',[_vm._v(\"Detalle de Cobertura\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('h4',{staticClass:\"text-brand-secondary margin-top-half\"},[_c('strong',[_vm._v(\"Beneficios Adicionales\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('h3',{staticClass:\"text-brand-secondary\"},[_c('strong',[_vm._v(\"Datos de la Persona a Cubrir\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"margin-top col-md-12\"},[_c('p',{staticClass:\"margin-none\"},[_vm._v(\"¿Tenes dudas? Llamanos al\")]),_c('p',{staticClass:\"margin-none text-brand-secondary\"},[_c('u',[_vm._v(\"0800-444-2850\")])]),_c('p',{staticClass:\"margin-none\"},[_vm._v(\"Para que podamos ayudarte.\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n import Vue from 'vue';\r\n import { RouterLink } from 'vue-router'\r\n import FilePathService from '@/apps/shared/services/filePath-service';\r\n import documentTypeService from '@/apps/shared/services/documentType-service';\r\n import CRMCotizadorWebService from '@/apps/shared/services/crm-service';\r\n import localityService from '@/apps/shared/services/locality-service';\r\n import ivaConditionService from '@/apps/shared/services/ivaConditions-service';\r\n export default Vue.extend({\r\n components: {\r\n RouterLink,\r\n },\r\n busEvents: {\r\n },\r\n name: 'healthMaxPersonToCover-view',\r\n data() {\r\n return {\r\n capital: null,\r\n BreadcrumbText: \"Datos de la persona a Cubrir\",\r\n additionalCovers: [],\r\n coversDetail: [],\r\n planName: null,\r\n effectDate: null,\r\n primerCuota: 0,\r\n DataPlan: {\r\n planDescription: ''\r\n },\r\n expirationDate: null,\r\n activeStep: 0,\r\n docTypeSelected: [{ id: \"\", name: \"\" }],\r\n personToCoverDocTypeSelected: null,\r\n ivaConditionSelected: null,\r\n documentTypeList: [{ id: \"\", text: \"\" }],\r\n ivaConditionList: [{ id: \"\", text: \"\" }],\r\n maxSelections: 2,\r\n autocompleteConfig: {\r\n formatResult: NF.Autocomplete.Result.TAGS,\r\n selection: NF.Autocomplete.Result.TAGS,\r\n minimumInputLength: 4\r\n },\r\n numDoc: null,\r\n personToCoverNumDoc: null,\r\n isNotSelectedDocumentType: true,\r\n isPersonToCoverNotSelectedDocumentType: true,\r\n searchButtonDisable: true,\r\n payButtonDisable: true,\r\n localityList:\r\n function (params) {\r\n return localityService.getLocalityList(params)\r\n },\r\n telephone: '',\r\n streetName: null,\r\n birthday: null,\r\n messageErrorAge: null,\r\n age: '0',\r\n stringDate: '',\r\n piso: null,\r\n numDom: null,\r\n numDept: null,\r\n areaCode: '',\r\n email: '',\r\n selectedLocality: null,\r\n cityName: null,\r\n cityId2: null,\r\n localityId: null,\r\n zipCode: null,\r\n Procesoautomatico: false,\r\n MaximDigitSuperatedDni: false,\r\n isPersonExist: true,\r\n activeForm: false,\r\n minimumInputLength: 4,\r\n accept: true,\r\n coberturasAmparo: [],\r\n gender: null,\r\n officeId: null,\r\n city: null,\r\n address: null,\r\n selectedIvaCondition: null,\r\n province: null,\r\n genderId: null,\r\n firstName: \"\",\r\n lastName: \"\",\r\n activeFormPersonNotExist: false,\r\n hasLocality: false,\r\n localityIsSelected: true,\r\n disable: true,\r\n validatePhone: false,\r\n messageErrorAreaCode: null,\r\n messageErrorPhone: null,\r\n messageError: null,\r\n messageErrorDigits: null,\r\n validDigits: null,\r\n numDocChange: null,\r\n numDocExisting: null,\r\n currentStep: 1,\r\n totalStep: 2,\r\n currentGroup: null,\r\n isLastStep: true,\r\n localItems: [{ text: 'Inicio', path: '/salud-segura-max' },\r\n { text: 'Datos de la Persona a Cubrir', path: '/salud-segura-max/datosAsegurado' }],\r\n premiumWithoutDiscount: null,\r\n thereIsDiscount: false\r\n };\r\n },\r\n created() {\r\n window.globalThis.validateNumDoc = (val) => {\r\n let valid = true\r\n let message = \"\"\r\n if (this.docTypeSelected.id == 'D' && val.length != 7 && val.length != 8) {\r\n this.searchButtonDisable = true;\r\n if (val.length > 0) {\r\n valid = false\r\n message = \"La cantidad de dígitos es incorrecto\"\r\n }\r\n else {\r\n valid = false\r\n message = \"Este campo es obligatorio.\"\r\n }\r\n } else if (this.docTypeSelected.id == 'D' && (val.length == 7 || val.length == 8)) {\r\n if (this.numDocExisting != val) {\r\n this.numDocChange = true;\r\n this.numDocExisting = val;\r\n }\r\n\r\n this.searchButtonDisable = false;\r\n message = \"\";\r\n valid = true;\r\n }\r\n else {\r\n this.searchButtonDisable = false;\r\n }\r\n return {\r\n valid,\r\n message\r\n }\r\n };\r\n },\r\n methods: {\r\n openCancelModal: function () {\r\n this.$refs.cancelModal.open();\r\n },\r\n closeCancelModal: function () {\r\n this.$refs.cancelModal.close();\r\n },\r\n anterior() {\r\n sessionStorage.setItem(\"pressBack\", \"true\");\r\n this.$router.push({\r\n name: 'healthMaxPolicyOwner-view',\r\n })\r\n },\r\n pagar() {\r\n sessionStorage.setItem(\"pressBack\", \"false\");\r\n CRMCotizadorWebService.CreateOrEditLead(this.email, location.href, null, null, 321, false, \"4\");\r\n let pricingId = parseInt(sessionStorage.getItem(\"selectedPricingId\"));\r\n window.location.href = '../salud-segura-max/pago' + \"?cotizacion=\" + pricingId;\r\n },\r\n siguiente() {\r\n sessionStorage.setItem(\"pressBack\", \"false\");\r\n CRMCotizadorWebService.CreateOrEditLead(this.email, location.href, null, null, 321, false, \"4\");\r\n let pricingId = parseInt(sessionStorage.getItem(\"selectedPricingId\"));\r\n window.location.href = '../salud-segura-max/datosFamiliar' + \"?cotizacion=\" + pricingId;\r\n },\r\n changeTitleAndIcon() {\r\n // Lógica para determinar el nuevo título\r\n const newTitle = 'Salud Segura Max';\r\n // Emite eventos para actualizar el título\r\n this.$emit('updateTitle', newTitle);\r\n },\r\n formatDate(dateString) {\r\n const date = new Date(dateString);\r\n const day = date.getDate().toString().padStart(2, '0');\r\n const month = (date.getMonth() + 1).toString().padStart(2, '0');\r\n const year = date.getFullYear().toString();\r\n return `${day}/${month}/${year}`;\r\n },\r\n showFileError(errorMessage) {\r\n NF.Notification.show({\r\n type: NF.Notification.Type.ERROR,\r\n title: 'Error',\r\n content: errorMessage,\r\n position: NF.Notification.Positions.TOP_RIGHT,\r\n clickClose: true,\r\n autoHideDelay: 0\r\n })\r\n },\r\n getFilePath() {\r\n FilePathService.getFilePath(\"UrlBase\")\r\n .then(response => {\r\n window.location.href = response + \"salud-segura-max\";\r\n });\r\n },\r\n getDocumentType() {\r\n documentTypeService.getDocumentTypeList().then(response => {\r\n if (response.length != 0) {\r\n this.documentTypeList = response.map(element =>\r\n ({ ...element, id: element[\"id\"], text: element[\"name\"] }))\r\n if (!this.docTypeSelected) {\r\n this.docTypeSelected = this.documentTypeList.find(p => p.name.trim() == \"DNI\");\r\n }\r\n this.personToCoverDocTypeSelected = this.documentTypeList.find(p => p.name.trim() == \"DNI\");\r\n }\r\n })\r\n },\r\n getIvaConditions() {\r\n ivaConditionService.getIvaConditionsList().then(response => {\r\n if (response.length != 0) {\r\n this.ivaConditionList = response.map(element => ({ ...element, id: element[\"id\"], text: element[\"name\"] }))\r\n }\r\n })\r\n },\r\n isSelectedDocumentType: function () {\r\n this.isNotSelectedDocumentType = false\r\n this.docTypeSelected != null ? this.docTypeSelected.name.trim() != \"CUIT\" ? (this.isPerson = true, this.isJuridico = false) : (this.isJuridico = true, this.isPerson = false) : null\r\n this.birthday = null;\r\n this.numDoc = \"\"\r\n this.piso = \"\";\r\n this.numDept = \"\";\r\n this.numDom = \"\";\r\n this.streetName = null;\r\n this.hasLocality = false;\r\n },\r\n isSelectedLocality: function () {\r\n this.locality = this.selectedLocality.text;\r\n if (this.zipCode == undefined || this.zipCode == null) {\r\n this.zipCode = this.selectedLocality.zipCode;\r\n }\r\n this.provinceName = this.selectedLocality.provinceName;\r\n this.cityName = this.selectedLocality.name;\r\n // la persona existe pero necesito modificar el id de la localidad\r\n if (this.isPersonExist == false) {\r\n this.localityId = this.selectedLocality.id;\r\n }\r\n else {\r\n //Si existe la persona , Pregunto si pase por el proceso automatico de datos al cargar un dni\r\n if (this.Procesoautomatico == false) {\r\n this.localityId = this.selectedLocality.id;\r\n this.zipCode = this.selectedLocality.zipCode;\r\n }\r\n else {\r\n if (this.cityId2 != null) {\r\n this.localityId = this.cityId2;\r\n }\r\n //si el usuario existe pero no trae la localidad tomarla del selector\r\n else {\r\n this.localityId = this.selectedLocality.id\r\n }\r\n this.Procesoautomatico = false;\r\n }\r\n }\r\n },\r\n payButtonDisableValidation: function () {\r\n if (this.firstName != null && this.firstName != \"\" &&\r\n this.lastName != null && this.lastName != \"\" &&\r\n this.areaCode != null && this.areaCode != \"\" &&\r\n this.telephone != null && this.telephone != \"\" &&\r\n this.email != null && this.email != \"\" &&\r\n this.selectedIvaCondition != null &&\r\n this.isPersonExist\r\n ) {\r\n this.payButtonDisable = false;\r\n } else {\r\n this.payButtonDisable = true;\r\n\r\n }\r\n },\r\n },\r\n watch: {\r\n firstName(newVal) {\r\n this.payButtonDisableValidation();\r\n },\r\n lastName(newVal) {\r\n this.payButtonDisableValidation();\r\n },\r\n selectedIvaCondition(newVal, oldVal) {\r\n if (newVal == undefined) {\r\n this.selectedIvaCondition = oldVal;\r\n }\r\n this.payButtonDisableValidation();\r\n },\r\n telephone(newVal) {\r\n this.payButtonDisableValidation();\r\n },\r\n areaCode(newVal) {\r\n this.payButtonDisableValidation();\r\n },\r\n email(newVal) {\r\n this.payButtonDisableValidation();\r\n },\r\n isPersonExist(newVal) {\r\n this.payButtonDisableValidation();\r\n },\r\n totalStep(newVal) {\r\n this.isLastStep = (newVal - 1 == this.currentStep);\r\n },\r\n },\r\n mounted() {\r\n NF.UI.Page.block();\r\n window.globalThis.dataLayer = window.globalThis.dataLayer || [];\r\n this.thereIsDiscount = sessionStorage.getItem(\"thereIsDiscount\") === 'true';\r\n this.changeTitleAndIcon();\r\n let planDataSelected = JSON.parse(sessionStorage.getItem(\"PlanSelected\"));\r\n this.currentGroup = parseInt(JSON.parse(sessionStorage.getItem(\"groupSelected\")).id);\r\n let coversCapitalAndDescription = JSON.parse(sessionStorage.getItem(\"getHealthCoverCapitalAndDescription-Group\" + (this.currentGroup)));\r\n this.coversDetail = coversCapitalAndDescription;\r\n let gridCovers = JSON.parse(sessionStorage.getItem(\"responseGetVWHealthGridCovers\"));\r\n // Extraer listado de beneficios adicionales\r\n let peopleToCover = parseInt(sessionStorage.getItem(\"peopleToCover\"));\r\n let groupId = peopleToCover === 1 ? 1 : 3;\r\n this.additionalCover = gridCovers.vwGridCovers.filter(item => item.gridCategoriesId === 2 && item.verticalGroupsId.includes(groupId)).map(item => {\r\n return {\r\n coverDescription: item.coverDescription.trim()\r\n };\r\n });\r\n let planData = JSON.parse(sessionStorage.getItem(\"responseHealth321Quotation\"));\r\n const formatDate = (dateString: string): string => {\r\n const date = new Date(dateString);\r\n const day = date.getDate().toString().padStart(2, '0');\r\n const month = (date.getMonth() + 1).toString().padStart(2, '0');\r\n const year = date.getFullYear().toString();\r\n return `${day}/${month}/${year}`;\r\n };\r\n\r\n // Asignar las fechas formateadas\r\n this.effectDate = formatDate(planData.effectDate);\r\n this.expirationDate = formatDate(planData.expirationDate);\r\n let group = JSON.parse(sessionStorage.getItem(\"groupSelected\"));\r\n this.planName = group.name;\r\n\r\n\r\n if (planDataSelected != null) {\r\n this.DataPlan = planDataSelected!;\r\n this.primerCuota = this.DataPlan.premioMensual;\r\n this.premiumWithoutDiscount = this.thereIsDiscount ? this.DataPlan.premiumWithoutDiscount : null;\r\n this.capital = this.DataPlan.capital;\r\n }\r\n\r\n let personToCover = JSON.parse(sessionStorage.getItem(\"personToCover\"));\r\n this.activeFormPersonNotExist = false;\r\n this.isPersonExist = true;\r\n this.activeForm = true;\r\n this.numDoc = personToCover.numDoc;\r\n this.docTypeSelected = personToCover.docTypeSelected;\r\n this.birthday = personToCover.birthday;\r\n this.firstName = personToCover.firstName;\r\n this.lastName = personToCover.lastName;\r\n this.email = personToCover.email;\r\n this.selectedIvaCondition = personToCover.selectedIvaCondition;\r\n this.areaCode = personToCover.areaCode.replace(/^0+/, '');\r\n this.telephone = personToCover.telephone.replace(/^15+/, '');\r\n this.hasLocality = personToCover.hasLocality;\r\n this.currentStep = 2;\r\n this.address = personToCover.address;\r\n this.totalStep = sessionStorage.getItem(\"totalStep\");\r\n this.getDocumentType();\r\n this.getIvaConditions();\r\n NF.UI.Page.unblock();\r\n }\r\n })\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./personToCover.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./personToCover.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./personToCover.vue?vue&type=template&id=13648c48&\"\nimport script from \"./personToCover.vue?vue&type=script&lang=ts&\"\nexport * from \"./personToCover.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}