{"version":3,"sources":["webpack:///./src/apps/health-max/quote/tabsClient/familyUpload.vue?8d4f","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/shared/services/searchPerson-service.ts","webpack:///./src/apps/health-max/quote/tabsClient/familyUpload.vue","webpack:///./src/apps/shared/services/getQuotationPersonsRelation-service.ts","webpack:///./src/apps/health-max/quote/tabsClient/familyUpload.vue?d597","webpack:///./src/apps/health-max/quote/tabsClient/familyUpload.vue?0278","webpack:///./src/apps/health-max/quote/tabsClient/familyUpload.vue?5a03"],"names":["module","exports","getIvaConditionsList","http","get","params","companyId","then","response","data","getDocumentTypeList","countryId","CreateOrEditLead","email","url","telephoneArea","telephoneNumber","productId","toQualify","applicationStep","GetSearchPersonData","IdentificationNumber","IdentificationTypeCode","Flag","SetPerson","lastName","firstName","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","addSpouseDisable","expression","addSpouseDisableTooltipText","addFamily","addChildDisable","addChildDisableTooltipText","familyMembers","kinship","docType","docNum","formatDate","birthday","openEditFamiliarModal","id","openDeleteFamiliarModal","anterior","isLastStep","payButtonDisable","pagar","slot","openCancelModal","ref","addChild","personToEdit","personToAdd","activeFormPersonNotExist","personToAddDocTypeSelected","documentTypeList","maxSelections","autocompleteConfig","formatResult","selection","minimumInputLength","isPersonToAddSelectedDocumentType","model","callback","$$v","personToAddNumDoc","regex","domProps","target","composing","isBirthdayCorrect","isEqualToPolicyOwner","isEqualToPersonToCover","alreadyExists","$set","Date","stringDate","closePersonToAddModal","searchButtonDisable","searchPersonToAdd","disableAcceptNewPersonButton","addNewPerson","deleteFamiliar","personToDelete","closeDeleteFamiliarModal","multiplePeopleWithSameIdentifier","class","personWithSameIdentifierSelected","onSelectedClient","closeCancelModal","getFilePath","staticRenderFns","getQuotationPersonsRelation","onDate","Vue","extend","components","RouterLink","busEvents","planName","activeStep","ivaConditionList","NF","Autocomplete","Result","TAGS","isNotSelectedDocumentType","messageErrorAge","validatePhone","messageError","validDigits","currentGroup","kinshipRelations","isPersonExist","activeForm","docTypeSelected","selectedIvaCondition","areaCode","telephone","hasLocality","MaximDigitSuperatedDni","age","selectedLocality","address","document","maximDigitSuperatedDni","personToAddRelationText","isPersonToAddNotSelectedDocumentType","quotationPersonsRelationList","familyToCover","isAssuredTitular","personToCover","policyOwner","numDocChange","numDocExisting","isPerson","isJuridico","isSearchPersonToCover","personToEditId","isPeopleWithSameIdentifierModalOpen","additionalCovers","created","window","globalThis","validateNumDoc","val","valid","message","length","methods","$refs","cancelModal","open","close","deleteFamiliarModal","resetPersonToDelete","personToAddModal","resetPersonToEdit","openSelectMultiplePeopleModal","peopleList","resetMultiplePeopleModalValues","idCounter","map","person","newPerson","ivaConditionFiscalId","phoneAreaCode","phoneNumber","undefined","cityId","streetNumber","streetName","zipCode","floor","department","selectMultiplePeopleModal","resetPersonToAddModal","find","p","trim","resetPersonToAdd","closeSelectMultiplePeopleModal","flag","selectedPerson","numDoc","some","member","setPersonToAdd","ageCalculate","finallySetPersonToAddOrEdit","indexAEliminar","findIndex","splice","openPersonToAddModal","isChild","relation","sessionStorage","setItem","getItem","pricingId","parseInt","location","href","JSON","stringify","CRMCotizadorWebService","dataLayer","push","changeTitleAndIcon","newTitle","$emit","dateString","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","element","getIvaConditions","ivaConditionService","toISOString","getQuotationPersonsRelationService","quotationPersonsRelation","addOrEditPerson","identificationTypeCode","o","replace","UI","Page","blockCustom","unblock","dni","docTypeSeleccionado","searchPersonService","searchPersonResult","result","razonSocial","catch","finally","birthDate","m","today","dateFormated","split","payButtonDisableValidation","watch","newVal","oldVal","isSpouseExists","mounted","block","gridCovers","parse","peopleToCover","groupId","vwGridCovers","filter","gridCategoriesId","verticalGroupsId","includes","planDataSelected","coversCapitalAndDescription","planData","group","premioMensual","component"],"mappings":"gHAAA,W,mBCAAA,EAAOC,QAAU,kqH,kCCAjB,gBAGe,WAAI,MACfC,uBACI,OAAOC,OAAKC,IAAqB,gBAAiB,CAC9CC,OAAQ,CACJC,UAAW,KAEhBC,KAAKC,GAAYA,EAASC,S,oCCTrC,gBAGe,WAAI,MACfC,sBACI,OAAOP,OAAKC,IAAoB,gBAAiB,CAC7CC,OAAQ,CACJM,UAAW,KAEhBJ,KAAKC,GAAYA,EAASC,S,6DCTrC,gBACe,WAAI,MAEfG,iBACIC,EAAOC,EAAKC,EAAeC,EAAiBC,EAAWC,EAAWC,GAElE,OAAOhB,OAAKC,IAAa,mBAAoB,CACzCC,OAAQ,CACJQ,QACCC,MACAC,gBACAC,kBACAC,YACAC,YACAC,qBAENZ,KAAKC,GAAYA,EAASC,S,kCChBrC,gBAGe,WAAI,MACfW,oBAAoBC,EAAsBC,EAAwBC,GAAO,GACrE,OAAOpB,OAAKC,IAA0B,eAAgB,CAClDC,OAAQ,CACJgB,uBACAC,yBACAC,UAELhB,KAAKC,GAAYA,EAASC,MAGjCe,UAAUC,EAAUC,GAChB,OAAOvB,OAAKC,IAA0B,yBAA0B,CAC5DC,OAAQ,CACJoB,WACAC,eAELnB,KAAKC,GAAYA,EAASC,S,2CCpBrC,IAAIkB,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,aAAa,CAACH,EAAG,MAAM,CAACG,YAAY,kBAAk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AAQ,aACxChG,GAAGiJ,GAAGC,KAAKE,aCxvBsa,I,wBCQzbmC,EAAY,eACd,EACAhT,EACA8G,GACA,EACA,KACA,KACA,MAIa,aAAAkM,E","file":"js/chunk-222363b5.js","sourcesContent":["export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./familyUpload.vue?vue&type=style&index=0&id=2c262417&prod&lang=css&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABICAYAAACZdImsAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAp7SURBVHgB3ZxhVhs5EoBLajt4fuwuc4LxniBwgjEnGNgEJjD7XvAJAicInADnBDjvbSAb2IWcIM4Jwp4gzgmG2ex7C9gtTVW3DXar1C3bktuZ7708h3a3W11dKpWqShIwI8fL68u1/1VWhBKPtYAVrWFFgFgGoev3J2nRxb+7Wugr0Prj7Z/iTvP68hoCcVp52tAAP4GGutByBe+9jIeXB19fYxu7QuDnnNozRMCU0AOhEF/if1fg4UEmoY1CeL3dP++AB05rz+rQV7sovBdTtqcjQbVVNf64fXPZhQBMJOxUix/tzfBAHG2o9g6nfUBq09LX6gE+yAvwx0xtsuEs7NNocxc/jsCfkDMtEYfb/XcHk1xyEj1ZFyCPF6lNuT9XdELSPXsxPVADAqNBX97G/WYTiu3naWXrAHvYSwhPF7V8zYeW5wr7XXVzJVbiAsVQzzsPpdQlQYGSVwr6nR6o30YFdgzY1aH6WEjdAJC7Y4OnSeHDnUZbbbzpc7C35xrb05YKOn1QV3+Hf38Z/foNbK5EoH9QEhoSRI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BrEIoJQYEo64BkaENnNBtI1RfvgAae6EeuaEoqqRZvBPBSrKRmEZX1hXcxKdtrjmiInYSf2m5bO8QLfDSVwNlbiuXY8d9WwUE2f93KuiKK1ilGkN4Dv2kEEzmVwMOPaAk/k7uyAU/5k9ZpHJio/20pLem32K4yGJz0K2hj7vtSgdn0tXioSdIilfwKmwLqOPKWD0/qNea2dnIbE67DsvFOUMJmFqYRNFAjc24YoPkkL7x+1crbQaG+rs5kmLnlMLWziWxJ4knjACQvrRxOBBU3MVDK8HZ+18YMayJmMOhU6/jN6Unq9dRLrwBSeXdBko8MKmpi5PpsEHklg3UJKPGD+rV3m8o2T6tZeuiOQJYU3xw0HZjIjo+TuGZLSQbPSnJdZKdyCLsCmMEV4EzZRuAMN2XGhm742TrS2o9g+dyMFG1sw39VpXoU95K3cOjJKEsbu6ne/vFHIbAiV+M9skCzJ+KjeRhlrKoMIm7Bt+TOCV2/FZf/BkD60C8EWMNGggwPnak72HYVT/exj8KQqqcFubQ32hEFGv0xBE8E0e0g6cMao5bCbc9pUWu60m+YMCVrfBBf2EAezktjym/5dy2WqX2SbCV97/flibsImHNxDggoRD362uGQjW0k3rL8QYP9BH8xV2EOctDzjlw82FKDl17t5FwklLv+v75qLGAgrRdiEo5YTbXwxXwr37F5QbR6lNGEPoToUIUSu7S1i0WyzjdKFTTh6LAy6Qxt0LbI2j7IQwh5C+1pLKS4KTcuUWzeXzUIJe0hSSUsehzCW8aGZ0K0b1X+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}","import http from \"../http/http-config\";\r\nimport { SearchPersonResponse } from \"../models/searchPersonResponse\";\r\n\r\nexport default new class SearchPersonService {\r\n GetSearchPersonData(IdentificationNumber, IdentificationTypeCode, Flag = true): Promise {\r\n return http.get(\"SearchPerson\", {\r\n params: {\r\n IdentificationNumber,\r\n IdentificationTypeCode,\r\n Flag\r\n }\r\n }).then(response => response.data);\r\n }\r\n\r\n SetPerson(lastName, firstName): Promise {\r\n return http.get(\"SearchPerson/SetPerson\", {\r\n params: {\r\n lastName,\r\n firstName\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(\"Por favor, agregá a los familiares que deseás asegurar.\")]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-6 col-xs-6\"},[_c('button',{directives:[{name:\"disable\",rawName:\"v-disable\",value:(_vm.addSpouseDisable),expression:\"addSpouseDisable\"}],staticClass:\"btn btn btn-secondary-outline\",attrs:{\"title\":_vm.addSpouseDisableTooltipText},on:{\"click\":function($event){return _vm.addFamily(false)}}},[_c('i',{staticClass:\"text-brand-secondary fa fa-plus\"}),_vm._v(\" Agregar Cónyuge \")])]),_c('div',{staticClass:\"col-md-6 col-xs-6 text-right\"},[_c('button',{directives:[{name:\"disable\",rawName:\"v-disable\",value:(_vm.addChildDisable),expression:\"addChildDisable\"}],staticClass:\"btn btn btn-secondary-outline\",attrs:{\"title\":_vm.addChildDisableTooltipText},on:{\"click\":function($event){return _vm.addFamily(true)}}},[_c('i',{staticClass:\"text-brand-secondary fa fa-plus\"}),_vm._v(\" Agregar Hijo/a \")])])]),_c('div',{staticClass:\"nf-card-group margin-top\"},_vm._l((_vm.familyMembers),function(item){return _c('div',{staticClass:\"row padding-half\"},[_c('div',{staticClass:\"nf-card box-shadow-none border border-color-info\"},[_c('div',{staticClass:\"col-md-12 margin-bottom-half\"},[_vm._m(3,true),_c('div',{staticClass:\"col-md-10 col-xs-10\"},[_c('div',[_c('span',{staticClass:\"pull-right label label-alternative\"},[_vm._v(_vm._s(item.kinship.name))])]),_c('div',{staticClass:\"col-xs-12\"},[_c('strong',[_vm._v(_vm._s(item.firstName)+\" \"+_vm._s(item.lastName))])]),_c('div',{staticClass:\"col-xs-12\"},[_vm._v(_vm._s(item.docType.name)+\": \"+_vm._s(item.docNum))]),_c('div',{staticClass:\"col-xs-12\"},[_vm._v(\"Fecha de nacimiento: \"+_vm._s(_vm.formatDate(item.birthday)))])]),_c('div',{staticClass:\"col-md-1 col-xs-1 pull-right\"},[_c('div',{staticClass:\"dropdown pull-right\"},[_vm._m(4,true),_c('ul',{staticClass:\"dropdown-menu dropdown-menu-right\"},[_c('li',[_c('a',{staticClass:\"pointer\",on:{\"click\":function($event){return _vm.openEditFamiliarModal(item)}}},[_c('strong',[_vm._v(\"Editar\")])])]),_c('li',{staticClass:\"divider\",attrs:{\"role\":\"separator\"}}),_c('li',[_c('a',{staticClass:\"pointer\",attrs:{\"id\":'remove'+item.id},on:{\"click\":function($event){return _vm.openDeleteFamiliarModal(item)}}},[_c('strong',[_vm._v(\"Eliminar\")])])])])])])])])])}),0)]),_c('div',{staticClass:\"col-md-12 margin-top\"},[_c('div',{staticClass:\"col-md-6 col-xs-6 text-left\"},[_c('button',{staticClass:\"btn btn-lg btn btn-secondary-outline\",on:{\"click\":_vm.anterior}},[_vm._v(\" Anterior \")])]),_c('div',{staticClass:\"col-md-6 col-xs-6 text-right\"},[(_vm.isLastStep && !_vm.payButtonDisable)?_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()])])])])]),_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(5)])]),_c('div',{staticClass:\"col-md-offset-1\"},[_c('nf-modal',{ref:\"personToAddModal\",staticClass:\"modal-scrollable\",attrs:{\"id\":\"personToAdd\",\"reset-scroll\":\"\"}},[_c('span',{staticClass:\"h3 text-brand-secondary\",attrs:{\"slot\":\"title\"},slot:\"title\"},[(!_vm.addChild && _vm.personToEdit.id === 0)?_c('strong',[_vm._v(\"Datos del Cónyuge\")]):_vm._e(),(_vm.addChild && _vm.personToEdit.id === 0)?_c('strong',[_vm._v(\"Datos del Hijo/a\")]):_vm._e(),(_vm.personToEdit.id !== 0 && _vm.personToEdit.kinship.id === 1)?_c('strong',[_vm._v(\"Datos del Hijo/a\")]):_vm._e(),(_vm.personToEdit.id !== 0 && _vm.personToEdit.kinship.id === 3)?_c('strong',[_vm._v(\"Datos del Cónyuge\")]):_vm._e(),_c('h5',[_vm._v(\"Vamos a pedirte que ingreses el tipo y número de documento de tu familiar.\")])]),_c('div',{attrs:{\"slot\":\"body\"},slot:\"body\"},[(_vm.personToEdit.id !== 0)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xs-12 col-md-8 col-md-offset-2\"},[_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.personToEdit.firstName)+\" \"+_vm._s(_vm.personToEdit.lastName)+\".\")])]),_c('div',[_c('i',{staticClass:\"text-brand-primary fa fa-address-card\"}),_c('span',{staticClass:\"text-brand-primary\"},[_vm._v(\" \"+_vm._s(_vm.personToEdit.docType.name)+\": \"+_vm._s(_vm.personToEdit.docNum)+\".\")])]),_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.personToEdit.birthday))+\".\")])]),_c('div',[_c('i',{staticClass:\"text-brand-primary fa fa-home\"}),_c('span',{staticClass:\"text-brand-primary\"},[_vm._v(\" Vínculo familiar: \"+_vm._s(_vm.personToEdit.kinship.name)+\".\")])])])])]):_vm._e(),(_vm.personToAdd.activeFormPersonNotExist)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"alert alert-warning\"},[_c('i',{staticClass:\"text-brand-primary fa fa-exclamation-triangle\"}),_c('span',{staticClass:\"text-brand-primary\"},[_c('strong',[_vm._v(\" Atención.\")]),_vm._v(\" No encontramos el \"+_vm._s(_vm.personToAddDocTypeSelected.name)+\" en nuestra base de datos. Por favor, completá los datos para continuar con la cotización.\")])])])]):_vm._e(),_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('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-6 col-xs-12 margin-top-half\"},[_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"personToAddDocTypeSelected\"}},[_vm._v(\"Tipo Doc.\")]),_c('nf-autocomplete',{attrs:{\"id\":\"personToAddDocTypeSelected\",\"name\":\"personToAddDocTypeSelected\",\"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.isPersonToAddSelectedDocumentType},model:{value:(_vm.personToAddDocTypeSelected),callback:function ($$v) {_vm.personToAddDocTypeSelected=$$v},expression:\"personToAddDocTypeSelected\"}})],1),_c('div',{staticClass:\"col-md-6 col-xs-12 margin-top-half\"},[_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"personToAddNumDoc\"}},[_vm._v(\"Número\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.personToAddNumDoc),expression:\"personToAddNumDoc\"},{name:\"mask\",rawName:\"v-mask\",value:({ regex: '[0-9]*' }),expression:\"{ regex: '[0-9]*' }\"}],staticClass:\"form-control\",staticStyle:{\"margin\":\"0 auto\"},attrs:{\"name\":\"personToAddNumDoc\",\"id\":\"personToAddNumDoc\",\"readonly\":_vm.personToAddDocTypeSelected === null,\"placeholder\":\"Ingresá Número\",\"data-fv-callback\":\"true\",\"data-fv-callback-callback\":\"validateNumDoc\"},domProps:{\"value\":(_vm.personToAddNumDoc)},on:{\"input\":function($event){if($event.target.composing)return;_vm.personToAddNumDoc=$event.target.value}}})])]),_c('div',[(!_vm.personToAdd.isBirthdayCorrect && !_vm.personToAdd.activeFormPersonNotExist && !_vm.addChild)?_c('div',{staticClass:\"text-brand-danger margin-top-half margin-bottom-half\"},[_c('p',[_vm._v(\"La persona debe ser mayor a 18 años y menor a 65 años.\")])]):_vm._e(),(!_vm.personToAdd.isBirthdayCorrect && !_vm.personToAdd.activeFormPersonNotExist && _vm.addChild)?_c('div',{staticClass:\"text-brand-danger margin-top-half margin-bottom-half\"},[_c('p',[_vm._v(\"La persona debe ser menor a 25 años.\")])]):_vm._e(),(_vm.personToAdd.isEqualToPolicyOwner)?_c('div',{staticClass:\"text-brand-danger margin-top-half margin-bottom-half\"},[_c('p',[_vm._v(\"La persona que intenta agregar ya fue ingresada como Titular.\")])]):_vm._e(),(_vm.personToAdd.isEqualToPersonToCover)?_c('div',{staticClass:\"text-brand-danger margin-top-half margin-bottom-half\"},[_c('p',[_vm._v(\"La persona que intenta agregar ya fue ingresada como Asegurado.\")])]):_vm._e(),(_vm.personToAdd.alreadyExists)?_c('div',{staticClass:\"text-brand-danger margin-top-half margin-bottom-half\"},[_c('p',[_vm._v(\"La persona que intenta agregar ya fue añadida.\")])]):_vm._e()]),(_vm.personToAdd.activeFormPersonNotExist)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xs-12\"},[_c('div',{staticClass:\"row margin-top-half\"},[_c('div',{staticClass:\"col-md-6 col-xs-12\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"control-label\"},[_vm._v(\" Nombre \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.personToAdd.firstName),expression:\"personToAdd.firstName\"}],staticClass:\"form-control\",attrs:{\"name\":\"personToAdd.firstName\",\"id\":\"personToAdd.firstName\",\"maxlength\":\"150\",\"data-fv-stringlength\":\"true\",\"data-fv-stringlength-min\":\"2\",\"data-fv-stringlength-max\":\"150\",\"placeholder\":\"Ej: Juan\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Nombre es obligatorio.\"},domProps:{\"value\":(_vm.personToAdd.firstName)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.personToAdd, \"firstName\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-md-6 col-xs-12\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"control-label\"},[_vm._v(\" Apellido \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.personToAdd.lastName),expression:\"personToAdd.lastName\"}],staticClass:\"form-control\",attrs:{\"name\":\"personToAdd.lastName\",\"id\":\"personToAdd.lastName\",\"maxlength\":\"150\",\"data-fv-stringlength\":\"true\",\"data-fv-stringlength-min\":\"2\",\"data-fv-stringlength-max\":\"150\",\"placeholder\":\"Ej: Perez\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Apellido es obligatorio.\"},domProps:{\"value\":(_vm.personToAdd.lastName)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.personToAdd, \"lastName\", $event.target.value)}}})])])])]),_c('div',{staticClass:\"col-md-6 col-xs-12\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"col-xs-12\"},[_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"birthday\"}},[_vm._v(\"Fecha de Nacimiento\")]),_c('nf-datepicker',{attrs:{\"id\":\"personToAdd.birthday\",\"name\":\"personToAdd.birthday\",\"data-fv-date\":\"true\",\"max-date\":new Date(),\"data-fv-notempty\":\"true\",\"string-date\":_vm.stringDate},on:{\"update:stringDate\":function($event){_vm.stringDate=$event},\"update:string-date\":function($event){_vm.stringDate=$event}},model:{value:(_vm.personToAdd.birthday),callback:function ($$v) {_vm.$set(_vm.personToAdd, \"birthday\", $$v)},expression:\"personToAdd.birthday\"}}),(!_vm.personToAdd.isBirthdayCorrect && _vm.personToAdd.activeFormPersonNotExist && !_vm.addChild)?_c('div',{staticClass:\"text-brand-danger margin-top-half margin-bottom-half\"},[_c('p',[_vm._v(\"La persona debe ser mayor a 18 años y menor a 65 años.\")])]):_vm._e(),(!_vm.personToAdd.isBirthdayCorrect && _vm.personToAdd.activeFormPersonNotExist && _vm.addChild)?_c('div',{staticClass:\"text-brand-danger margin-top-half margin-bottom-half\"},[_c('p',[_vm._v(\"La persona debe ser menor a 25 años.\")])]):_vm._e()],1)])])])]):_vm._e()])]),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('div',{staticClass:\"col-md-6 col-xs-6 text-center btn-lg padding-none\"},[_c('button',{staticClass:\"btn btn-lg btn btn-secondary-outline\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.closePersonToAddModal}},[_vm._v(\" Cancelar \")])]),_c('div',{staticClass:\"col-md-6 col-xs-6 text-center btn-lg padding-none\"},[(!_vm.personToAdd.activeFormPersonNotExist)?_c('button',{directives:[{name:\"disable\",rawName:\"v-disable\",value:(_vm.personToAddNumDoc === '' || _vm.personToAddNumDoc === null || _vm.personToAddDocTypeSelected === null || _vm.searchButtonDisable === true),expression:\"personToAddNumDoc === '' || personToAddNumDoc === null || personToAddDocTypeSelected === null || searchButtonDisable === true\"}],staticClass:\"btn btn-lg btn-next btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.searchPersonToAdd(_vm.personToEdit.id)}}},[_vm._v(\" Buscar \")]):_vm._e(),(_vm.personToAdd.activeFormPersonNotExist)?_c('button',{directives:[{name:\"disable\",rawName:\"v-disable\",value:(_vm.disableAcceptNewPersonButton()),expression:\"disableAcceptNewPersonButton()\"}],staticClass:\"btn btn-lg btn-next btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.addNewPerson(_vm.personToEdit.id)}}},[_vm._v(\" Aceptar \")]):_vm._e()])])]),_c('nf-modal',{ref:\"deleteFamiliarModal\",staticClass:\"modal-scrollable\",attrs:{\"id\":\"deleteFamiliarModal\",\"reset-scroll\":\"\"}},[_c('span',{staticClass:\"h3 text-brand-secondary\",attrs:{\"slot\":\"title\"},slot:\"title\"},[_c('strong',[_vm._v(\"¿Confirma la eliminación de este familiar asegurado?\")])]),_c('div',{attrs:{\"slot\":\"body\"},slot:\"body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xs-12 col-md-8 col-md-offset-2\"},[_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.personToEdit.firstName)+\" \"+_vm._s(_vm.personToEdit.lastName)+\".\")])]),_c('div',[_c('i',{staticClass:\"text-brand-primary fa fa-address-card\"}),_c('span',{staticClass:\"text-brand-primary\"},[_vm._v(\" \"+_vm._s(_vm.personToEdit.docType.name)+\": \"+_vm._s(_vm.personToEdit.docNum)+\".\")])]),_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.personToEdit.birthday))+\".\")])]),_c('div',[_c('i',{staticClass:\"text-brand-primary fa fa-home\"}),_c('span',{staticClass:\"text-brand-primary\"},[_vm._v(\" Vínculo familiar: \"+_vm._s(_vm.personToEdit.kinship.name)+\".\")])])])])])]),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('div',{staticClass:\"col-md-6 col-xs-6 text-center btn-lg padding-none\"},[_c('button',{staticClass:\"btn btn-lg btn btn-secondary-outline\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.deleteFamiliar(_vm.personToDelete.id)}}},[_vm._v(\" Sí \")])]),_c('div',{staticClass:\"col-md-6 col-xs-6 text-center btn-lg padding-none\"},[_c('button',{staticClass:\"btn btn-lg btn-next btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.closeDeleteFamiliarModal}},[_vm._v(\" No \")])])])]),_c('nf-modal',{ref:\"selectMultiplePeopleModal\",staticClass:\"modal-scrollable\",attrs:{\"id\":\"selectMultiplePeopleModal\",\"reset-scroll\":\"\"}},[_c('span',{staticClass:\"h3\",attrs:{\"slot\":\"title\"},slot:\"title\"},[_c('strong',{staticClass:\"text-brand-secondary\"},[_vm._v(\"Seleccionar Persona\")]),_c('p',{staticClass:\"h5 margin-top-half\"},[_vm._v(\"Encontramos más de un resultado para tu búsqueda, por eso vamos a pedirte que selecciones la persona indicada.\")])]),_c('div',{attrs:{\"slot\":\"body\"},slot:\"body\"},[_c('div',{staticClass:\"col-md-offset-1 col-md-10 col-xs-12\"},[_c('div',{staticClass:\"row nf-card-group\"},[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"row\"},_vm._l((_vm.multiplePeopleWithSameIdentifier),function(item){return _c('div',{staticClass:\"col-xs-12\"},[_c('div',{class:item.id === _vm.personWithSameIdentifierSelected ? 'nf-card bg-animate pointer brand-secondary-lightest margin-top-half d-flex align-items-center': 'nf-card bg-animate pointer gray-lighter-hover margin-top-half d-flex align-items-center',on:{\"click\":function($event){return _vm.onSelectedClient(item.id)}}},[_c('div',{staticClass:\"margin-right-half\"},[_c('i',{class:item.id === _vm.personWithSameIdentifierSelected ?\n 'fa fa-dot-circle-o text-brand-secondary':'fa fa-circle-o text-gray-darker'})]),_c('div',[_c('p',{staticClass:\"margin-none\"},[_c('strong',[_vm._v(_vm._s(item.firstName)+\" \"+_vm._s(item.lastName))])])])])])}),0)])])])])]),_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(\"Agregar Familiar Asegurado\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"col-md-1 col-xs-1\"},[_c('i',{staticClass:\"text-brand-secondary fa fa-user margin-top\"})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('button',{staticClass:\"btn btn-link text-gray-darker margin-none padding-none padding-left-half padding-right-half\",attrs:{\"data-toggle\":\"dropdown\",\"data-container\":\"body\",\"aria-haspopup\":\"true\",\"aria-expanded\":\"false\"}},[_c('i',{staticClass:\"fa fa-ellipsis-v\",attrs:{\"aria-hidden\":\"true\"}})])\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 }","import http from \"../http/http-config\";\r\nimport { GetQuotationPersonsRelationResponse } from \"../models/getQuotationPersonsRelationResponse\";\r\n\r\nexport default new class getQuotationPersonsRelation {\r\n getQuotationPersonsRelation(productId, onDate): Promise {\r\n return http.get(\"GetQuotationPersonsRelation\", {\r\n params: {\r\n productId,\r\n onDate\r\n }\r\n }).then(response => response.data)\r\n }\r\n}","\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 ivaConditionService from '@/apps/shared/services/ivaConditions-service';\r\n import CRMCotizadorWebService from '@/apps/shared/services/crm-service';\r\n import searchPersonService from '@/apps/shared/services/searchPerson-service';\r\n import getQuotationPersonsRelationService from '@/apps/shared/services/getQuotationPersonsRelation-service';\r\n export default Vue.extend({\r\n components: {\r\n RouterLink,\r\n },\r\n busEvents: {\r\n },\r\n name: 'healthMaxFamilyUpload-view',\r\n data() {\r\n return {\r\n capital: null,\r\n coversDetail: [],\r\n planName: null,\r\n maxSelections: 2,\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 documentTypeList: [{ id: \"\", text: \"\" }],\r\n ivaConditionList: [{ id: \"\", text: \"\" }],\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 isNotSelectedDocumentType: true,\r\n payButtonDisable: true,\r\n addChildDisable: false,\r\n addSpouseDisable: false,\r\n messageErrorAge: null,\r\n validatePhone: false,\r\n messageError: null,\r\n validDigits: null,\r\n currentStep: 1,\r\n totalStep: 2,\r\n currentGroup: null,\r\n isLastStep: true,\r\n familyMembers: [],\r\n kinshipRelations: [{ id: 1, name: \"Hijo/a\" }, { id: 3, name: \"Cónyuge\" }],\r\n addChild: false,\r\n personToAdd: {\r\n isPersonExist: false,\r\n activeForm: false,\r\n birthday: null,\r\n isBirthdayCorrect: true,\r\n firstName: \"\",\r\n lastName: \"\",\r\n docNum: \"\",\r\n docTypeSelected: null,\r\n email: \"\",\r\n selectedIvaCondition: null,\r\n areaCode: \"\",\r\n telephone: null,\r\n hasLocality: false,\r\n MaximDigitSuperatedDni: false,\r\n age: \"\",\r\n selectedLocality: null,\r\n address: null,\r\n document: null,\r\n maximDigitSuperatedDni: false,\r\n activeFormPersonNotExist: false,\r\n isEqualToPolicyOwner: false,\r\n isEqualToPersonToCover: false,\r\n alreadyExists: false,\r\n },\r\n searchButtonDisable: true,\r\n personToAddRelationText: \"\",\r\n personToAddDocTypeSelected: null,\r\n personToAddNumDoc: null,\r\n isPersonToAddNotSelectedDocumentType: true,\r\n quotationPersonsRelationList: [],\r\n addSpouseDisableTooltipText: \"\",\r\n addChildDisableTooltipText: \"\",\r\n familyToCover: 0,\r\n isAssuredTitular: false,\r\n personToCover: null,\r\n policyOwner: null,\r\n numDocChange: null,\r\n numDocExisting: null,\r\n personToDelete: {\r\n id: 0,\r\n firstName: \"\",\r\n lastName: \"\",\r\n docNum: \"\",\r\n docType: { name: \"\" },\r\n kinship: { name: \"\" },\r\n birthday: null,\r\n },\r\n personToEdit: {\r\n id: 0,\r\n firstName: \"\",\r\n lastName: \"\",\r\n docNum: \"\",\r\n docType: { name: \"\" },\r\n kinship: { name: \"\" },\r\n birthday: null,\r\n },\r\n localItems: [{ text: 'Inicio', path: '/salud-segura-max' },\r\n { text: 'Agregar Familiar Asegurado', path: '/salud-segura-max/datosFamiliar' }],\r\n isPerson: false,\r\n isJuridico: false,\r\n multiplePeopleWithSameIdentifier: [],\r\n isSearchPersonToCover: false,\r\n personWithSameIdentifierSelected: null,\r\n personToEditId: null,\r\n isPeopleWithSameIdentifierModalOpen: false,\r\n premiumWithoutDiscount: null,\r\n thereIsDiscount: false,\r\n additionalCovers: [],\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.personToAddDocTypeSelected.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 incorrecta.\"\r\n }\r\n else {\r\n valid = false\r\n message = \"Este campo es obligatorio.\"\r\n }\r\n } else if (this.personToAddDocTypeSelected.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 disableAcceptNewPersonButton() {\r\n return this.personToAddNumDoc == '' || this.personToAddNumDoc == null || this.personToAddDocTypeSelected == null || this.personToAdd.birthday == null ||\r\n this.personToAdd.firstName == null || this.personToAdd.firstName == '' || this.personToAdd.lastName == null || this.personToAdd.lastName == '' ||\r\n !this.personToAdd.isBirthdayCorrect;\r\n },\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 closeDeleteFamiliarModal() {\r\n this.$refs.deleteFamiliarModal.close();\r\n this.resetPersonToDelete();\r\n },\r\n openEditFamiliarModal(item) {\r\n this.personToEdit = {\r\n id: item.id,\r\n firstName: item.firstName,\r\n lastName: item.lastName,\r\n docNum: item.docNum,\r\n docType: item.docType,\r\n kinship: item.kinship,\r\n birthday: item.birthday,\r\n };\r\n this.$refs.personToAddModal.open();\r\n },\r\n resetPersonToDelete() {\r\n this.personToDelete = {\r\n id: 0,\r\n firstName: \"\",\r\n lastName: \"\",\r\n docNum: \"\",\r\n docType: { name: \"\" },\r\n kinship: { name: \"\" },\r\n birthday: null,\r\n };\r\n },\r\n resetPersonToEdit() {\r\n this.personToEdit = {\r\n id: 0,\r\n firstName: \"\",\r\n lastName: \"\",\r\n docNum: \"\",\r\n docType: { name: \"\" },\r\n kinship: { name: \"\" },\r\n birthday: null,\r\n };\r\n },\r\n openDeleteFamiliarModal(item) {\r\n this.personToDelete = {\r\n id: item.id,\r\n firstName: item.firstName,\r\n lastName: item.lastName,\r\n docNum: item.docNum,\r\n docType: item.docType,\r\n kinship: item.kinship,\r\n birthday: item.birthday,\r\n };\r\n this.$refs.deleteFamiliarModal.open();\r\n },\r\n openSelectMultiplePeopleModal: function (peopleList) {\r\n this.isPeopleWithSameIdentifierModalOpen = true;\r\n this.resetMultiplePeopleModalValues();\r\n let idCounter = 1;\r\n // Inicializar el array multiplePeopleWithSameIdentifier\r\n this.multiplePeopleWithSameIdentifier = peopleList.map(person => {\r\n let newPerson = {\r\n id: idCounter++,\r\n birthday: person.birthday,\r\n firstName: person.firstName,\r\n lastName: person.lastName,\r\n email: person.email,\r\n selectedIvaCondition: person.ivaConditionFiscalId,\r\n areaCode: person.phoneAreaCode,\r\n telephone: person.phoneNumber,\r\n hasLocality: person.hasLocality,\r\n address: null,\r\n document: null\r\n };\r\n if (person.address != null && person.address != undefined) {\r\n newPerson.address = {\r\n cityId: person.address.cityId,\r\n streetNumber: person.address.streetNumber,\r\n streetName: person.address.streetName,\r\n zipCode: person.address.zipCode,\r\n floor: person.address.floor,\r\n department: person.address.department\r\n };\r\n }\r\n if (person.document != null && person.document != undefined) {\r\n newPerson.document = person.document;\r\n };\r\n return newPerson;\r\n });\r\n this.$refs.selectMultiplePeopleModal.open();\r\n },\r\n resetPersonToAddModal() {\r\n this.personToAddDocTypeSelected = this.documentTypeList.find(p => p.name.trim() == \"DNI\");\r\n this.personToAddNumDoc = \"\";\r\n this.resetPersonToEdit();\r\n this.resetPersonToAdd();\r\n },\r\n resetMultiplePeopleModalValues() {\r\n this.multiplePeopleWithSameIdentifier = [];\r\n this.personWithSameIdentifierSelected = null;\r\n },\r\n closeSelectMultiplePeopleModal: function (flag = true) {\r\n this.isPeopleWithSameIdentifierModalOpen = false;\r\n this.resetMultiplePeopleModalValues();\r\n if (flag) {\r\n this.resetPersonToAddModal();\r\n }\r\n this.$refs.selectMultiplePeopleModal.close();\r\n },\r\n onSelectedClient(id) {\r\n this.personWithSameIdentifierSelected = id;\r\n let selectedPerson = this.multiplePeopleWithSameIdentifier.find(item => this.personWithSameIdentifierSelected == item.id);\r\n\r\n this.personToAdd.isEqualToPolicyOwner = (this.personToAddNumDoc === this.policyOwner.numDoc\r\n && this.personToAddDocTypeSelected.id === this.policyOwner.docTypeSelected.id\r\n || (this.personToAddNumDoc === this.policyOwner.numDoc\r\n && selectedPerson.firstName === this.policyOwner.firstName && selectedPerson.lastName === this.policyOwner.lastName));\r\n\r\n if (!this.isAssuredTitular) {\r\n this.personToAdd.isEqualToPersonToCover = (this.personToAddNumDoc === this.personToCover.numDoc\r\n && this.personToAddDocTypeSelected.id === this.personToCover.docTypeSelected.id\r\n || (this.personToAddNumDoc === this.personToCover.numDoc\r\n && selectedPerson.firstName === this.personToCover.firstName && selectedPerson.lastName === this.personToCover.lastName));\r\n }\r\n\r\n this.personToAdd.alreadyExists = this.familyMembers.some(member =>\r\n (member.docType.id === this.personToAddDocTypeSelected.id &&\r\n member.docNum === this.personToAddNumDoc)\r\n || (member.docNum === this.personToAddNumDoc\r\n && selectedPerson.firstName === member.firstName && selectedPerson.lastName === member.lastName)\r\n );\r\n\r\n this.setPersonToAdd(selectedPerson);\r\n this.ageCalculate();\r\n\r\n if (this.personToAddNumDoc != \"\" && this.personToAddNumDoc != null && this.personToAdd.isBirthdayCorrect &&\r\n !this.personToAdd.isEqualToPolicyOwner && !this.personToAdd.isEqualToPersonToCover && !this.personToAdd.alreadyExists) {\r\n this.finallySetPersonToAddOrEdit();\r\n this.closeSelectMultiplePeopleModal();\r\n }\r\n else {\r\n this.closeSelectMultiplePeopleModal(false);\r\n }\r\n },\r\n deleteFamiliar(id) {\r\n // Encuentra el índice del elemento con el id especificado\r\n const indexAEliminar = this.familyMembers.findIndex(member => member.id === id);\r\n\r\n // Si se encuentra el elemento con ese id, se elimina\r\n if (indexAEliminar !== -1) {\r\n this.familyMembers.splice(indexAEliminar, 1);\r\n };\r\n this.closeDeleteFamiliarModal();\r\n },\r\n closePersonToAddModal() {\r\n this.$refs.personToAddModal.close();\r\n if (!this.isPeopleWithSameIdentifierModalOpen) {\r\n this.resetPersonToAddModal();\r\n };\r\n },\r\n resetPersonToAdd() {\r\n this.personToAdd = {\r\n isPersonExist: false,\r\n activeForm: false,\r\n birthday: null,\r\n isBirthdayCorrect: true,\r\n firstName: \"\",\r\n lastName: \"\",\r\n docNum: \"\",\r\n docTypeSelected: null,\r\n email: \"\",\r\n selectedIvaCondition: null,\r\n areaCode: \"\",\r\n telephone: null,\r\n hasLocality: false,\r\n MaximDigitSuperatedDni: false,\r\n age: \"\",\r\n selectedLocality: null,\r\n address: null,\r\n maximDigitSuperatedDni: false,\r\n activeFormPersonNotExist: false,\r\n isEqualToPolicyOwner: false,\r\n isEqualToPersonToCover: false,\r\n alreadyExists: false,\r\n };\r\n },\r\n openPersonToAddModal() {\r\n this.personToAddDocTypeSelected = this.documentTypeList.find(p => p.name.trim() == \"DNI\");\r\n this.personToAddNumDoc = \"\";\r\n this.resetPersonToAdd();\r\n this.$refs.personToAddModal.open();\r\n },\r\n addFamily(isChild) {\r\n this.addChild = isChild;\r\n this.personToAddRelationText = isChild ? this.kinshipRelations.find(relation => relation.id === 1).name : this.kinshipRelations.find(relation => relation.id === 3).name;\r\n this.openPersonToAddModal();\r\n },\r\n isPersonToAddSelectedDocumentType: function () {\r\n this.isNotSelectedDocumentType = false;\r\n this.personToAddDocTypeSelected != null ? this.personToAddDocTypeSelected.name.trim() != \"CUIT\" ? (this.isPerson = true, this.isJuridico = false) : (this.isJuridico = true, this.isPerson = false) : null\r\n this.personToAddNumDoc = \"\";\r\n this.resetPersonToAdd();\r\n },\r\n anterior() {\r\n sessionStorage.setItem(\"pressBack\", \"true\");\r\n let isAssuredTitular = sessionStorage.getItem(\"isAssuredTitular\") === 'true';\r\n if (isAssuredTitular) {\r\n let pricingId = parseInt(sessionStorage.getItem(\"selectedPricingId\"));\r\n window.location.href = '../salud-segura-max/contratante' + \"?cotizacion=\" + pricingId;\r\n } else {\r\n let pricingId = parseInt(sessionStorage.getItem(\"selectedPricingId\"));\r\n window.location.href = '../salud-segura-max/datosAsegurado' + \"?cotizacion=\" + pricingId;\r\n }\r\n },\r\n pagar() {\r\n sessionStorage.setItem(\"pressBack\", \"false\");\r\n sessionStorage.setItem(\"familyMembers\", JSON.stringify(this.familyMembers));\r\n CRMCotizadorWebService.CreateOrEditLead(this.email, location.href, null, null, 321, false, \"4\");\r\n let pricingId = parseInt(sessionStorage.getItem(\"selectedPricingId\"));\r\n try {\r\n window.globalThis.dataLayer.push({ 'product': 'salud', 'event': 'cotizador-salud-datos-familiar' });\r\n window.location.href = '../salud-segura-max/pago' + \"?cotizacion=\" + pricingId;\r\n } catch {\r\n window.globalThis.dataLayer.push({ 'product': 'salud', 'event': 'errorServidor', 'paso': 'cotizador-salud-datos-familiar' });\r\n }\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 this.personToAddDocTypeSelected = 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\"].toString(), text: element[\"name\"] }))\r\n }\r\n })\r\n },\r\n getQuotationPersonsRelation() {\r\n let onDate = new Date().toISOString();\r\n getQuotationPersonsRelationService.getQuotationPersonsRelation(321, onDate)\r\n .then(quotationPersonsRelation => {\r\n this.quotationPersonsRelationList = quotationPersonsRelation.quotationPersonsRelationList;\r\n sessionStorage.setItem(\"responseQuotationPersonsRelation\", JSON.stringify(quotationPersonsRelation.quotationPersonsRelationList));\r\n });\r\n },\r\n addNewPerson(personToEditId = 0) {\r\n this.personToAdd.docNum = this.personToAddNumDoc;\r\n this.personToAdd.docType = this.personToAddDocTypeSelected;\r\n this.addOrEditPerson(personToEditId);\r\n },\r\n setPersonToAdd(personToAdd) {\r\n this.personToAdd.activeFormPersonNotExist = false;\r\n this.personToAdd.isPersonExist = true;\r\n this.personToAdd.activeForm = true;\r\n this.personToAdd.docNum = this.personToAddNumDoc;\r\n this.personToAdd.docType = this.documentTypeList.find(p => p.id.trim() == personToAdd.document.identificationTypeCode);\r\n this.personToAdd.birthday = personToAdd.birthday;\r\n this.personToAdd.firstName = personToAdd.firstName;\r\n this.personToAdd.lastName = personToAdd.lastName;\r\n this.personToAdd.email = personToAdd?.email ?? \"\";\r\n this.personToAdd.selectedIvaCondition = personToAdd.ivaConditionFiscalId != null && personToAdd.ivaConditionFiscalId != 0 && personToAdd.ivaConditionFiscalId != undefined ? (this.ivaConditionList.find(o => o.id == personToAdd.ivaConditionFiscalId || o.name == personToAdd.ivaConditionFiscalId)) : (this.ivaConditionList.find(o => o.id == 4 || o.name == \"Consumidor Final\"))\r\n this.personToAdd.areaCode = personToAdd?.phoneAreaCode?.replace(/^0+/, '') ?? \"\";\r\n this.personToAdd.telephone = personToAdd?.phoneNumber?.replace(/^15+/, '') ?? null;\r\n this.personToAdd.hasLocality = personToAdd.hasLocality;\r\n if (personToAdd.address != null && personToAdd.address != undefined) {\r\n this.personToAdd.address = {\r\n cityId: personToAdd.address.cityId,\r\n streetNumber: personToAdd.address.streetNumber,\r\n streetName: personToAdd.address.streetName,\r\n zipCode: personToAdd.address.zipCode,\r\n floor: personToAdd.address.floor,\r\n department: personToAdd.address.department\r\n };\r\n }\r\n if (personToAdd.document != null && personToAdd.document != undefined) {\r\n this.personToAdd.document = personToAdd.document;\r\n }\r\n },\r\n searchPersonToAdd(personToEditId = 0) {\r\n NF.UI.Page.blockCustom({ message: 'Cargando datos...' });\r\n this.personToEditId = personToEditId;\r\n this.personToAdd = {\r\n isPersonExist: false,\r\n activeForm: false,\r\n birthday: null,\r\n isBirthdayCorrect: true,\r\n firstName: \"\",\r\n lastName: \"\",\r\n docNum: \"\",\r\n docTypeSelected: null,\r\n email: \"\",\r\n selectedIvaCondition: null,\r\n areaCode: \"\",\r\n telephone: null,\r\n hasLocality: false,\r\n MaximDigitSuperatedDni: false,\r\n age: \"\",\r\n selectedLocality: null,\r\n maximDigitSuperatedDni: false,\r\n address: null,\r\n activeFormPersonNotExist: false,\r\n isEqualToPolicyOwner: false,\r\n isEqualToPersonToCover: false,\r\n alreadyExists: false,\r\n };\r\n this.personToAdd.isEqualToPolicyOwner = (this.personToAddNumDoc === this.policyOwner.numDoc && this.personToAddDocTypeSelected.id === this.policyOwner.docTypeSelected.id);\r\n if (!this.isAssuredTitular) {\r\n this.personToAdd.isEqualToPersonToCover = (this.personToAddNumDoc === this.personToCover.numDoc && this.personToAddDocTypeSelected.id === this.personToCover.docTypeSelected.id);\r\n }\r\n // Verificar si ya existe un elemento con el mismo docType.id y docNum\r\n this.personToAdd.alreadyExists = this.familyMembers.some(member =>\r\n member.docType.id === this.personToAddDocTypeSelected.id &&\r\n member.docNum === this.personToAddNumDoc\r\n );\r\n //Si se ingresó dni de la persona a agregar se buscan los datos de la misma\r\n if (this.personToAddNumDoc != \"\" && this.personToAddNumDoc != null &&\r\n !this.personToAdd.isEqualToPolicyOwner && !this.personToAdd.isEqualToPersonToCover && !this.personToAdd.alreadyExists) {\r\n let dni = this.personToAddNumDoc;\r\n let docTypeSeleccionado = this.personToAddDocTypeSelected.name.trim();\r\n searchPersonService.GetSearchPersonData(dni, this.personToAddDocTypeSelected.id, false)\r\n .then(response => {\r\n if (response.searchPersonResult.length > 1) {\r\n this.openSelectMultiplePeopleModal(response.searchPersonResult);\r\n return;\r\n }\r\n let result = response.searchPersonResult[0];\r\n if (result != undefined && (result && result.firstName != \"\" && result.lastName != \"\" || result.razonSocial != undefined)) {\r\n this.setPersonToAdd(result);\r\n }\r\n else {\r\n this.personToAdd.isPersonExist = false;\r\n this.personToAdd.activeFormPersonNotExist = true;\r\n this.personToAdd.firstName = \"\";\r\n this.personToAdd.email = \"\";\r\n this.personToAdd.areaCode = \"\";\r\n this.personToAdd.telephone = null;\r\n this.personToAdd.age = \"\";\r\n this.personToAdd.birthday = null;\r\n this.personToAdd.selectedIvaCondition = (this.ivaConditionList.find(o => o.id == 4 || o.name == \"Consumidor Final\"));\r\n this.personToAdd.birthday = null;\r\n this.personToAdd.lastName = \"\";\r\n this.personToAdd.selectedLocality = null;\r\n }\r\n if (dni.toString().length > 0 && dni.toString().length < 9) {\r\n this.personToAdd.MaximDigitSuperatedDni = false;\r\n }\r\n else {\r\n if (docTypeSeleccionado == \"DNI\") {\r\n this.personToAdd.MaximDigitSuperatedDni = true;\r\n this.personToAdd.firstName = \"\";\r\n this.personToAdd.lastName = \"\";\r\n this.personToAdd.birthday = null;\r\n this.personToAdd.isPersonExist = false;\r\n this.personToAdd.isNotSelectedDocumentType = false\r\n this.personToAdd.age = \"\";\r\n this.personToAdd.activeFormPersonNotExist = true;\r\n }\r\n else {\r\n this.personToAdd.MaximDigitSuperatedDni = true;\r\n }\r\n }\r\n })\r\n .catch(() => {\r\n })\r\n .then(() => {\r\n NF.UI.Page.unblock();\r\n })\r\n .finally(() => {\r\n if ((!this.isPeopleWithSameIdentifierModalOpen) && this.personToAdd != null && this.personToAdd.isPersonExist && this.personToAdd.isBirthdayCorrect) {\r\n this.finallySetPersonToAddOrEdit();\r\n };\r\n });\r\n } else {\r\n this.personToAddNumDoc = null;\r\n NF.UI.Page.unblock();\r\n }\r\n },\r\n finallySetPersonToAddOrEdit() {\r\n if (this.personToAdd != null && this.personToAdd.isPersonExist && this.personToAdd.isBirthdayCorrect) {\r\n this.addOrEditPerson(this.personToEditId);\r\n }\r\n },\r\n addOrEditPerson(personToEditId = 0) {\r\n if (personToEditId !== 0) {\r\n this.familyMembers[personToEditId - 1] = {\r\n id: personToEditId,\r\n isPersonExist: this.personToAdd.isPersonExist,\r\n birthday: this.personToAdd.birthday,\r\n firstName: this.personToAdd.firstName,\r\n lastName: this.personToAdd.lastName,\r\n docNum: this.personToAdd.docNum,\r\n docType: this.personToAdd.docType,\r\n email: this.personToAdd.email,\r\n selectedIvaCondition: this.personToAdd.selectedIvaCondition,\r\n areaCode: this.personToAdd.areaCode,\r\n telephone: this.personToAdd.telephone,\r\n hasLocality: this.personToAdd.hasLocality,\r\n MaximDigitSuperatedDni: this.personToAdd.MaximDigitSuperatedDni,\r\n age: this.personToAdd.age,\r\n selectedLocality: this.personToAdd.selectedLocality,\r\n address: this.personToAdd.address,\r\n kinship: this.addChild ? this.kinshipRelations.find(relation => relation.id === 1) : this.kinshipRelations.find(relation => relation.id === 3),\r\n relation: this.addChild ? this.quotationPersonsRelationList.find(relation => parseInt(relation.id) === 1) : this.quotationPersonsRelationList.find(relation => parseInt(relation.id) === 3),\r\n };\r\n } else {\r\n this.familyMembers.push({\r\n id: this.familyMembers.length + 1,\r\n isPersonExist: this.personToAdd.isPersonExist,\r\n birthday: this.personToAdd.birthday,\r\n firstName: this.personToAdd.firstName,\r\n lastName: this.personToAdd.lastName,\r\n docNum: this.personToAdd.docNum,\r\n docType: this.personToAdd.docType,\r\n email: this.personToAdd.email,\r\n selectedIvaCondition: this.personToAdd.selectedIvaCondition,\r\n areaCode: this.personToAdd.areaCode,\r\n telephone: this.personToAdd.telephone,\r\n hasLocality: this.personToAdd.hasLocality,\r\n MaximDigitSuperatedDni: this.personToAdd.MaximDigitSuperatedDni,\r\n age: this.personToAdd.age,\r\n selectedLocality: this.personToAdd.selectedLocality,\r\n address: this.personToAdd.address,\r\n kinship: this.addChild ? this.kinshipRelations.find(relation => relation.id === 1) : this.kinshipRelations.find(relation => relation.id === 3),\r\n relation: this.addChild ? this.quotationPersonsRelationList.find(relation => parseInt(relation.id) === 1) : this.quotationPersonsRelationList.find(relation => parseInt(relation.id) === 3),\r\n });\r\n }\r\n this.personToAddNumDoc = null;\r\n this.closePersonToAddModal();\r\n },\r\n ageCalculate() {\r\n this.messageErrorAge = \"\";\r\n let birthDate = null;\r\n let age = null;\r\n let m = null;\r\n if (this.personToAdd.birthday != null && this.personToAdd.birthday != \"\") {\r\n let today = new Date();\r\n if (this.personToAdd.birthday.toString().length > 11) {\r\n birthDate = new Date(this.personToAdd.birthday);\r\n age = today.getFullYear() - birthDate.getFullYear();\r\n m = today.getMonth() - birthDate.getMonth();\r\n if (m < 0 || (m === 0 && today.getDate() < birthDate.getDate())) {\r\n age--;\r\n }\r\n this.personToAdd.age = age;\r\n }\r\n else {\r\n let dateFormated = this.personToAdd.birthday.split('/')[1] + \"/\" + this.personToAdd.birthday.split('/')[0] + \"/\" + this.personToAdd.birthday.split('/')[2];\r\n birthDate = new Date(dateFormated);\r\n age = today.getFullYear() - birthDate.getFullYear();\r\n m = today.getMonth() - birthDate.getMonth();\r\n if (m < 0 || (m === 0 && today.getDate() < birthDate.getDate())) {\r\n age--;\r\n }\r\n this.personToAdd.age = age;\r\n }\r\n if (this.addChild) {\r\n if (age > 24) {\r\n this.messageErrorAge = \"La persona debe ser menor de 24 años\"\r\n }\r\n } else {\r\n if (age < 18) {\r\n this.messageErrorAge = \"La persona debe ser mayor de 18 años\"\r\n }\r\n if (age > 64) {\r\n this.messageErrorAge = \"La persona debe tener menos de 65 años\";\r\n }\r\n }\r\n if (this.messageErrorAge == \"\") {\r\n this.personToAdd.isBirthdayCorrect = true;\r\n } else {\r\n this.personToAdd.isBirthdayCorrect = false;\r\n }\r\n this.personToAdd.age = age;\r\n }\r\n else {\r\n this.personToAdd.age = 0;\r\n }\r\n },\r\n payButtonDisableValidation: function () {\r\n if (this.familyToCover === this.familyMembers.length\r\n ) {\r\n this.payButtonDisable = false;\r\n } else {\r\n this.payButtonDisable = true;\r\n }\r\n },\r\n },\r\n watch: {\r\n 'personToAdd.birthday': function (newVal, oldVal) {\r\n if (newVal !== null && newVal !== \"\") {\r\n this.ageCalculate();\r\n }\r\n },\r\n familyMembers(newVal, oldVal) {\r\n if (newVal.length === this.familyToCover) {\r\n this.addSpouseDisable = this.addChildDisable = true;\r\n this.addSpouseDisableTooltipText = `Solo se puede${this.familyToCover > 1 ? 'n' : ''} agregar ${this.familyToCover} familiar${this.familyToCover > 1 ? 'es' : ''}`;\r\n this.addChildDisableTooltipText = `Solo se puede${this.familyToCover > 1 ? 'n' : ''} agregar ${this.familyToCover} familiar${this.familyToCover > 1 ? 'es' : ''}`;\r\n } else {\r\n this.addSpouseDisable = this.addChildDisable = false;\r\n this.addSpouseDisableTooltipText = this.addChildDisableTooltipText = \"\";\r\n const isSpouseExists = newVal.some(member => member.kinship.id === 3);\r\n if (isSpouseExists) {\r\n this.addSpouseDisable = true;\r\n this.addSpouseDisableTooltipText = \"Solo se puede agregar un Cónyuge\";\r\n } else {\r\n this.addSpouseDisable = false;\r\n this.addSpouseDisableTooltipText = \"\";\r\n }\r\n }\r\n if (newVal.length > this.familyToCover) { this.familyMembers = oldVal; }\r\n this.payButtonDisableValidation();\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.getDocumentType();\r\n this.getIvaConditions();\r\n this.getQuotationPersonsRelation();\r\n this.changeTitleAndIcon();\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 this.familyToCover = peopleToCover - 1;\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 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 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 this.isAssuredTitular = sessionStorage.getItem(\"isAssuredTitular\") === 'true';\r\n if (!this.isAssuredTitular) {\r\n this.personToCover = JSON.parse(sessionStorage.getItem(\"personToCover\"));\r\n };\r\n this.policyOwner = JSON.parse(sessionStorage.getItem(\"policyOwner\"));\r\n this.currentStep = this.isAssuredTitular ? 2 : 3;\r\n this.totalStep = sessionStorage.getItem(\"totalStep\");\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!./familyUpload.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!./familyUpload.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./familyUpload.vue?vue&type=template&id=2c262417&\"\nimport script from \"./familyUpload.vue?vue&type=script&lang=ts&\"\nexport * from \"./familyUpload.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./familyUpload.vue?vue&type=style&index=0&id=2c262417&prod&lang=css&\"\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":""}