{"version":3,"sources":["webpack:///./src/apps/shared/services/locality-service.ts","webpack:///./src/apps/shared/services/saveEmission-service.ts","webpack:///./src/apps/shared/components/breadcrumb.vue","webpack:///./src/apps/shared/components/breadcrumb.vue?1690","webpack:///./src/apps/shared/components/breadcrumb.vue?e0a6","webpack:///./src/apps/shared/components/breadcrumb.vue?e166","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/familycombined/quote/ClientData.vue","webpack:///./src/apps/familycombined/quote/tabsClient/tab-oneClient.vue","webpack:///./src/apps/familycombined/quote/tabsClient/tab-oneClient.vue?af38","webpack:///./src/apps/familycombined/quote/tabsClient/tab-oneClient.vue?237a","webpack:///./src/apps/familycombined/quote/tabsClient/tab-oneClient.vue?4578","webpack:///./src/apps/familycombined/quote/ClientData.vue?fba5","webpack:///./src/apps/familycombined/quote/ClientData.vue?0308","webpack:///./src/apps/familycombined/quote/ClientData.vue?abe1","webpack:///../Content/Icons/logoHogarPremium.png","webpack:///./src/apps/shared/services/phone-service.ts","webpack:///./src/apps/familycombined/quote/tabsClient/tab-oneClient.vue?e5a0","webpack:///./src/apps/shared/utils/NF.ts","webpack:///./src/apps/shared/services/selectedProducer-service.ts"],"names":["getLocalityList","queryTerm","http","get","params","then","response","data","HealthSaveEmission","model","post","TheftSaveEmission","TheftElectronicDeviceSaveEmission","FamilyCombinedPremiumSaveEmission","render","_vm","this","_c","_self","_setupProxy","staticClass","_l","localItems","item","index","key","path","class","active","length","attrs","_v","_s","text","staticRenderFns","defineComponent","name","components","RouterLink","busEvents","updateBreadcrumb","newBreadcrumb","breadcrumb","find","oldText","newText","mounted","getImplicitItems","methods","paths","$route","fullPath","split","items","route","matched","$router","match","meta","title","push","component","getDocumentTypeList","countryId","CreateOrEditLead","leadId","email","url","telephoneArea","telephoneNumber","productId","toQualify","applicationStep","additionalInformation","lastName","firstName","D365_AddFinishedQuotation","apellido","dni","localidad","mail","nombre","nroCotizacion","premioMensual","productoComercial","ramo","GetSearchPersonData","IdentificationNumber","IdentificationTypeCode","Flag","SetPerson","breadcrumbItems","require","planDescription","rate","precioSinDescuento","primerCuota","_e","_m","coberturas","value","description","capital","capitalFormatted","ref","wizard","type","mode","validationMode","activeStep","steps","showStepName","buttons","footer","on","$event","onFinish","slot","staticStyle","open","close","getFilePath","pre","Vue","extend","el","localityList","localityService","telephone","streetName","nacimiento","messageErrorAge","age","stringDate","piso","numDom","numDept","areaCode","numDoc","selectedLocality","cityName","cityId2","StreetriskAddress","numRiskAddress","riskAddress","localityId","zipCode","Procesoautomatico","documentTypeList","id","MaximDigitSuperatedDni","isPersonExist","isNotSelectedDocumentType","docTypeSelected","maxSelections","activeForm","minimumInputLength","autocompleteConfig","formatResult","NF","Autocomplete","Result","TAGS","selection","accept","DataPlan","coberturasAmparo","gender","officeId","city","address","selectedIvaCondition","province","genderId","activeFormPersonNoExist","hasLocality","localityIsSelected","disable","validatePhone","messageErrorAreaCode","messageErrorPhone","messageError","messageErrorDigits","validDigits","numDocChange","numDocExisting","clientCode","originId","multiplePeopleWithSameIdentifier","clientId","mapURL","mapVisible","showMapButton","created","window","globalThis","validateNumDoc","val","valid","message","validateLocality","Boolean","bind","onSelectedClient","acceptSelectMultiplePeopleModal","openSelectMultiplePeopleModal","peopleList","isPeopleWithSameIdentifierModalOpen","resetMultiplePeopleModalValues","idCounter","map","person","newPerson","birthday","ivaConditionFiscalId","phoneAreaCode","phoneNumber","document","undefined","cityId","streetNumber","floor","department","$refs","selectMultiplePeopleModal","closeSelectMultiplePeopleModal","selectedPerson","setPersonToCover","searchPersonService","setTimeout","catch","error","getPersonByDocumentAndType","personToCover","dataClientTabOne","JSON","parse","sessionStorage","getItem","dataLayer","searchPersonData","getTelephoneValidation","Promise","async","validPhone","Validation","Field","removeField","addField","validators","stringLength","validate","FilePathService","location","href","config","direction","setItem","formIsValid","Form","viewModel","timeStart","Date","stringify","removeItem","birthDay","toString","birthDayFormated","getFullYear","getMonth","getDate","documentType","documentNumber","countryCode","SaveEmission","stepOneData","twoData","getSelectedProducerService","GetSelectedProducer","dateFormat","JsonEmissionData","cityCode","parseInt","clientAddress","clientFirstName","clientLastName","trim","phones","order","phoneType","ElectronicCode","CategoryConstructionCode","buildTypeCode","RoofType","SideCloseTypeCode","SeismicZoneCode","ReplacementHouse","BuildingAntique","QuantityFloor","cardinalPoint","kilometers","saveEmissionService","validationResult","errorMessage","resolve","UI","Page","block","parent","createOrEditLead","CRMCotizadorWebService","phoneValidateService","o","areaCodeSuccess","phoneNumberSuccess","validCountDigit","getDocumentType","documentTypeService","element","p","blockCustom","Bus","$emit","Dni","DocTypeSeleccionado","searchPersonResult","result","razonSocial","unblock","CleanPersonDataForm","isSelectedDocumentType","isPerson","isJuridico","isSelectedLocality","locality","provinceName","calcularEdad","today","birthDate","m","dateFormated","addMapURL","tabTwoSelectedLocality","mapRiskAddress","encodedMapRiskAddress","encodeURIComponent","replace","country","updateMapView","showMap","hideMap","changeMapVisibility","watch","newVal","telephoneCompleteDigit","$on","$data","TabOne","XBreadcrumb","enablePrevButton","enableButton","disablePrevButton","disableButton","HiddenPrevButton","hideButton","enableNextButton","showButton","disableNextButton","enableFinalButton","disableFinalButton","ShowFinalButton","hiddenFinalButton","BreadcrumbText","stepTwoData","stepThreeData","Wizard","Type","PILLS","Mode","STEP_BY_STEP","ValidationMode","ALWAYS","final","prev","next","align","Footer","Align","SPACE_BETWEEN","displayName","content","toViewModel","tabValidation","onEnter","changeTitleAndIcon","newTitle","updateByProductGoogleAnalytics","productGtmName","volver","showFileError","Notification","show","ERROR","position","Positions","TOP_RIGHT","clickClose","autoHideDelay","modal","stepData","planDataSelected","premioMensualFormatted","premioMensualSinDescuentoFormatted","plans","DataQuotation","QuotationJson","discountRate","module","exports","constructor","vueInstance","options","$options","lang","computed","mixins","beforeDestroy","destroyed","localId","officeCode"],"mappings":"kHAAA,gBAGe,WAAI,MACfA,gBAAgBC,GACZ,O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MAEfsB,oBAAoB5F,EAAYkP,EAASC,EAAYlP,EAAUzC,GAC3D,OAAOhJ,OAAKC,IAAa,sBAAuB,CAC5CC,OAAQ,CACJsL,aACAkP,UACAC,aACAlP,WACAzC,aAEL7I,KAAKC,GAAYA,EAASC","file":"js/chunk-757c66dc.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","import http from \"../http/http-config\";\r\nimport { QuotationProcessResult } from \"../models/quotationProcessResult\";\r\n\r\nexport default new class SaveEmissionService {\r\n HealthSaveEmission(model: string): Promise {\r\n return http.post(\"SaveEmission/HealthSaveEmission\", model).then(response => response.data);\r\n }\r\n TheftSaveEmission(model: string): Promise {\r\n return http.post(\"SaveEmission/TheftSaveEmission\", model).then(response => response.data);\r\n }\r\n TheftElectronicDeviceSaveEmission(model: string): Promise {\r\n return http.post(\"SaveEmission/TheftElectronicDeviceSaveEmission\", model).then(response => response.data);\r\n }\r\n\r\n FamilyCombinedPremiumSaveEmission(model: string): Promise {\r\n return http.post(\"SaveEmission/FamilyCombinedPremiumSaveEmission\", model).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('ul',{staticClass:\"breadcrumb\"},_vm._l((_vm.localItems),function(item,index){return _c('li',{key:item.path,class:{ active: index === _vm.localItems.length - 1 }},[(index !== _vm.localItems.length - 1)?_c('RouterLink',{attrs:{\"to\":item.path}},[_vm._v(\" \"+_vm._s(item.text)+\" \")]):_c('span',[_vm._v(_vm._s(item.text))])],1)}),0)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n import { RouterLink } from 'vue-router'\r\n import { defineComponent } from 'vue'\r\n import type { BreadcrumbItem } from '../../../types';\r\n export default defineComponent({\r\n name: 'XBreadcrumb',\r\n components: {\r\n RouterLink,\r\n },\r\n busEvents: {\r\n updateBreadcrumb(newBreadcrumb: { oldText: string, newText: string }) {\r\n const breadcrumb = this.localItems.find(item => item.text === newBreadcrumb.oldText);\r\n if (breadcrumb) {\r\n breadcrumb.text = newBreadcrumb.newText;\r\n }\r\n },\r\n },\r\n data() {\r\n return {\r\n localItems: [] as Array,\r\n }\r\n },\r\n mounted() {\r\n this.localItems = this.getImplicitItems()\r\n },\r\n methods: {\r\n getImplicitItems(): Array {\r\n const paths = this.$route.fullPath.split('/')\r\n const items: Array = []\r\n let route = ''\r\n\r\n for (const path of paths) {\r\n route = `${route}${path}/`\r\n const matched = this.$router.match(route)\r\n\r\n if (matched?.meta?.title) {\r\n items.push({\r\n text: matched.meta.title(matched),\r\n path: matched.path,\r\n })\r\n }\r\n }\r\n\r\n return items\r\n },\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!./breadcrumb.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!./breadcrumb.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./breadcrumb.vue?vue&type=template&id=3ee2845c&\"\nimport script from \"./breadcrumb.vue?vue&type=script&lang=ts&\"\nexport * from \"./breadcrumb.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","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 leadId,email, url, telephoneArea, telephoneNumber, productId, toQualify, applicationStep, additionalInformation: { [key: string]: string }, lastName , firstName\r\n ): Promise {\r\n return http.post(\"CreateOrEditLead\", { \r\n leadId\r\n ,email\r\n , url\r\n , telephoneArea\r\n , telephoneNumber\r\n , productId\r\n , toQualify\r\n , applicationStep\r\n , additionalInformation\r\n , lastName\r\n , firstName\r\n }).then(response => response.data)\r\n }; \r\n\r\n D365_AddFinishedQuotation(\r\n apellido, dni, localidad, mail, nombre, nroCotizacion, premioMensual, productoComercial, ramo, telephoneArea, telephoneNumber\r\n ): Promise {\r\n return http.post(\"D365_AddFinishedQuotation\", {\r\n apellido\r\n , dni\r\n , localidad\r\n , mail\r\n , nombre\r\n , nroCotizacion\r\n , premioMensual\r\n , productoComercial\r\n , ramo\r\n , telephoneArea\r\n , telephoneNumber\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('x-breadcrumb',{attrs:{\"items\":_vm.breadcrumbItems}})],1)]),_c('div',{staticClass:\"row margin-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('b',[_c('img',{staticClass:\"media-object pull-left\",attrs:{\"src\":require(\"../../../../../Content/Icons/logoHogarPremium.png\"),\"alt\":\".media-object\"}}),_c('span',{staticClass:\"text-brand-primary-darker\"},[_vm._v(_vm._s(_vm.planDescription))])])]),(_vm.rate!= null)?_c('div',[_c('span',{staticClass:\"text-brand-secondary\"},[_vm._v(\"Valor Mensual:\")]),_vm._v(\" \"),_c('span',{staticClass:\"text-brand-secondary\"},[_c('strike',[_vm._v(_vm._s(_vm.precioSinDescuento)+\" \")])],1),_c('span',{staticClass:\"text-brand-secondary\"},[_vm._v(\" \"+_vm._s(_vm.primerCuota))])]):_vm._e(),(_vm.rate==null)?_c('div',[_c('div',{staticClass:\"text-brand-secondary\"},[_vm._v(\"Valor Mensual: \"+_vm._s(_vm.primerCuota))])]):_vm._e()],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.coberturas),function(value){return _c('div',[_c('div',{staticClass:\"margin-left\"},[_c('div',{staticClass:\"text-brand-primary-darker\"},[(value.value=='SI')?_c('div',[_c('i',{staticClass:\"fa fa-check text-brand-success\"}),_c('b',[_vm._v(\" \"+_vm._s(value.description))]),(value.capital!=0)?_c('div',{staticClass:\"text-gray-dark\"},[_vm._v(\" \"+_vm._s(value.capitalFormatted))]):_vm._e()]):_vm._e()])])])})],2)])])])]),_c('div',[_c('div',{staticClass:\"nf-card\"},[_c('nf-wizard',{ref:\"wizard\",attrs:{\"id\":\"wizard\",\"type\":_vm.wizard.type,\"mode\":_vm.wizard.mode,\"validation-mode\":_vm.wizard.validationMode,\"active-step\":_vm.activeStep,\"steps\":_vm.wizard.steps,\"show-step-name\":_vm.wizard.showStepName,\"buttons\":_vm.wizard.buttons,\"footer\":_vm.wizard.footer},on:{\"update:activeStep\":function($event){_vm.activeStep=$event},\"update:active-step\":function($event){_vm.activeStep=$event},\"finish\":_vm.onFinish}}),_c('tab-one'),_c('tab-two')],1)]),_c('div',{staticClass:\"text-center\"},[_c('div',{staticClass:\"col-md-12 margin-top-half\"},[_c('div',{attrs:{\"slot\":\"toolbar\"},slot:\"toolbar\"},[_c('div',[_c('Whats-App')],1),_c('a',{staticStyle:{\"font-size\":\"15px\"},on:{\"click\":_vm.open}},[_vm._v(\" Cancelar \")])])])]),_c('nf-modal',{ref:\"modal\",staticClass:\"modal-scrollable\",attrs:{\"id\":\"modalDataConfirmacion\",\"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 margin-bottom-half\"},[_vm._v(\" Si cancelás la operación, el pedido de Cotización iniciada se perderá.\")]),_c('p',[_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.close}},[_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\"},[_c('b',[_vm._v(\"Coberturas\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{pre:true,attrs:{\"id\":\"step1\",\"class\":\"hide\"}},[_c('div',{pre:true,attrs:{\"class\":\"col-md-8 col-md-offset-2\"}},[_c('form',{pre:true,attrs:{\"id\":\"form1\",\"v-validation\":\"\",\"v-on:submit.prevent\":\"\",\"v-on:keydown.enter.prevent\":\"\"}},[_vm._m(0),_c('div',{pre:true,attrs:{\"class\":\"row\"}},[_c('div',{pre:true,attrs:{\"class\":\"col-md-12\"}},[_c('div',{pre:true,attrs:{\"class\":\"row\"}},[_c('div',{pre:true,attrs:{\"class\":\"form-group col-md-5\"}},[_c('label',{pre:true,attrs:{\"for\":\"docTypeSelected\",\"class\":\"control-label\"}},[_vm._v(\"Tipo Doc.\")]),_c('nf-autocomplete',{pre:true,attrs:{\"id\":\"docTypeSelected\",\"name\":\"docTypeSelected\",\"v-model\":\"docTypeSelected\",\"v-bind:source\":\"documentTypeList\",\"v-bind:max-selections\":\"maxSelections\",\"data-fv-notempty\":\"true\",\"v-on:change\":\"isSelectedDocumentType\",\"data-fv-notempty-message\":\"El campo Tipo doc. es obligatorio.\",\"v-bind:format-result\":\"autocompleteConfig.formatResult\",\"v-bind:has-search-box\":\"false\",\"v-bind:format-selection\":\"autocompleteConfig.selection\",\"v-bind:minimum-input-length\":\"autocompleteConfig.minimumInputLength\"}})],1),_vm._m(1),_vm._m(2)])])]),_c('div',{pre:true,attrs:{\"class\":\"row\",\"v-show\":\"activeForm\"}},[_c('div',{pre:true,attrs:{\"class\":\"col-md-10\"}},[_c('div',{pre:true,attrs:{\"class\":\"row\"}},[_vm._m(3),_vm._m(4),_c('div',{pre:true,attrs:{\"class\":\"form-group col-md-12\"}},[_c('label',{pre:true,attrs:{\"for\":\"nacimiento\",\"class\":\"control-label\"}},[_vm._v(\"Fecha de Nacimiento\")]),_c('nf-datepicker',{pre:true,attrs:{\"id\":\"nacimiento\",\"name\":\"nacimiento\",\"v-model\":\"nacimiento\",\"data-fv-date\":\"true\",\"v-bind:max-date\":\"new Date()\",\"data-fv-notempty\":\"true\",\"v-bind:string-date.sync\":\"stringDate\"}}),_vm._m(5)],1)])]),_c('div',{pre:true,attrs:{\"class\":\"col-md-10\",\"v-show\":\"activeFormPersonNoExist\"}},[_c('div',{pre:true,attrs:{\"class\":\"row\"}},[_c('div',{pre:true,attrs:{\"class\":\"form-group col-md-6\"}},[_c('label',{pre:true,attrs:{\"for\":\"selectedLocality\",\"class\":\"control-label\"}},[_vm._v(\"Localidad\")]),_c('nf-autocomplete',{pre:true,attrs:{\"id\":\"selectedLocality\",\"name\":\"selectedLocality\",\"v-model\":\"selectedLocality\",\"v-bind:source\":\"localityList\",\"v-bind:max-selections\":\"maxSelections\",\"v-bind:minimum-input-length\":\"minimumInputLength\",\"data-fv-notempty\":\"false\",\"data-fv-notempty-message\":\"El campo Localidad es obligatorio.\",\"v-bind:format-result\":\"autocompleteConfig.formatResult\",\"v-bind:format-selection\":\"autocompleteConfig.selection\",\"data-fv-callback\":\"true\",\"data-fv-callback-message\":\"El campo Localidad es obligatorio.\",\"data-fv-callback-callback\":\"validateLocality\"}})],1),_vm._m(6)]),_vm._m(7)]),_c('div',{pre:true,attrs:{\"class\":\"col-md-10\",\"v-if\":\"!activeFormPersonNoExist && !hasLocality\"}},[_c('div',{pre:true,attrs:{\"class\":\"row\"}},[_c('div',{pre:true,attrs:{\"class\":\"form-group col-md-7\"}},[_c('label',{pre:true,attrs:{\"for\":\"selectedLocality\",\"class\":\"control-label\"}},[_vm._v(\"Localidad\")]),_c('nf-autocomplete',{pre:true,attrs:{\"id\":\"selectedLocalityTwo\",\"name\":\"selectedLocality\",\"v-model\":\"selectedLocality\",\"v-bind:source\":\"localityList\",\"v-bind:max-selections\":\"maxSelections\",\"v-bind:minimum-input-length\":\"minimumInputLength\",\"data-fv-notempty\":\"false\",\"data-fv-notempty-message\":\"El campo Localidad es obligatorio.\",\"v-bind:format-result\":\"autocompleteConfig.formatResult\",\"v-bind:format-selection\":\"autocompleteConfig.selection\",\"data-fv-callback\":\"true\",\"data-fv-callback-message\":\"El campo Localidad es obligatorio.\",\"data-fv-callback-callback\":\"validateLocality\"}})],1),_vm._m(8)]),_vm._m(9)]),_vm._m(10),_c('div',{pre:true,attrs:{\"class\":\"col-xs-12 col-md-10 margin-bottom-half\"}},[_vm._m(11),_c('div',{pre:true,attrs:{\"v-show\":\"activeForm\"}},[_c('nf-check',{pre:true,attrs:{\"v-model\":\"accept\",\"v-bind:label\":\"'Acepto recibir documentación/comunicación por Email/WhatsApp'\",\"v-disable\":\"true\"}})],1)]),_vm._m(12),_vm._m(13)]),_c('nf-modal',{pre:true,attrs:{\"id\":\"selectMultiplePeopleModal\",\"ref\":\"selectMultiplePeopleModal\",\"class\":\"modal-scrollable\",\"reset-scroll\":\"\"}},[_c('span',{pre:true,attrs:{\"slot\":\"title\",\"class\":\"h3 text-brand-secondary\"}},[_c('b',[_vm._v(\"Seleccionar Persona\")]),_c('p',{pre:true,attrs:{\"class\":\"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',{pre:true,attrs:{\"slot\":\"body\"}},[_c('div',{pre:true,attrs:{\"class\":\"col-md-offset-1 col-md-10 col-xs-12\"}},[_c('div',{pre:true,attrs:{\"class\":\"row nf-card-group\"}},[_c('div',{pre:true,attrs:{\"class\":\"form-group\"}},[_c('div',{pre:true,attrs:{\"class\":\"row\"}},[_c('div',{pre:true,attrs:{\"class\":\"col-xs-12\",\"v-for\":\"item in multiplePeopleWithSameIdentifier\"}},[_c('div',{pre:true,attrs:{\":class\":\"item.id === clientId ? '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'\",\"v-on:click\":\"onSelectedClient(item.id)\"}},[_c('div',{pre:true,attrs:{\"class\":\"margin-right-half\"}},[_c('i',{pre:true,attrs:{\":class\":\"item.id === clientId ? 'fa fa-dot-circle-o text-brand-secondary':'fa fa-circle-o text-gray-darker'\"}})]),_c('div',[_c('p',{pre:true,attrs:{\"class\":\"margin-none\"}},[_c('strong',[_vm._v(\"{{item.firstName }} {{item.lastName}}\")])])])])])])])])])])])],1)])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{pre:true,attrs:{\"class\":\"row\"}},[_c('div',{pre:true,attrs:{\"class\":\"col-md-12\"}},[_c('h3',{pre:true,attrs:{\"class\":\"text-brand-secondary\"}},[_c('strong',[_vm._v(\"Datos Personales\")])]),_c('p',[_vm._v(\"Necesitamos validar tus datos, para proceder con la contratación.\")]),_c('div',{pre:true,attrs:{\"class\":\"alert alert-warning\",\"v-if\":\"activeFormPersonNoExist\"}},[_c('i',{pre:true,attrs:{\"class\":\"text-brand-primary fa fa-exclamation-triangle\"}}),_c('span',{pre:true,attrs:{\"class\":\"text-brand-primary\"}},[_c('strong',[_vm._v(\" Atención.\")]),_vm._v(\" No encontramos tu {{docTypeSelected.name}} en nuestra base de datos. Por favor, completalos para continuar con la cotización.\")])])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{pre:true,attrs:{\"class\":\"form-group col-md-5\"}},[_c('label',{pre:true,attrs:{\"for\":\"numDoc\",\"class\":\"control-label\"}},[_vm._v(\"Número\")]),_c('input',{pre:true,attrs:{\"class\":\"form-control\",\"name\":\"numDoc\",\"id\":\"numDoc\",\"v-model\":\"numDoc\",\"v-bind:readonly\":\"isNotSelectedDocumentType\",\"v-mask\":\"{ regex: '[0-9]*' }\",\"placeholder\":\"Ingresá Número\",\"data-fv-callback\":\"true\",\"data-fv-callback-callback\":\"validateNumDoc\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{pre:true,attrs:{\"class\":\"form-group col-md-2\"}},[_c('label',{pre:true,attrs:{\"class\":\"control-label\"}}),_c('div',[_c('button',{pre:true,attrs:{\"class\":\"btn btn-default btn-lg\",\"v-on:click\":\"searchPersonData\",\"v-disable\":\"disable\"}},[_vm._v(\" Buscar \")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{pre:true,attrs:{\"class\":\"form-group col-md-6\"}},[_c('label',{pre:true,attrs:{\"for\":\"lastName\",\"class\":\"control-label\"}},[_vm._v(\"Apellido\")]),_c('input',{pre:true,attrs:{\"type\":\"text\",\"class\":\"form-control\",\"name\":\"lastName\",\"id\":\"lastName\",\"v-model\":\"lastName\",\"v-mask\":\"{ regex: '[a-z A-Z]*' }\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Apellido es obligatorio.\",\"placeholder\":\"Ingresá nombre\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{pre:true,attrs:{\"class\":\"form-group col-md-6\"}},[_c('label',{pre:true,attrs:{\"for\":\"firstName\",\"class\":\"control-label\"}},[_vm._v(\"Nombre\")]),_c('input',{pre:true,attrs:{\"type\":\"text\",\"class\":\"form-control\",\"name\":\"firstName\",\"id\":\"firstName\",\"v-model\":\"firstName\",\"v-mask\":\"{ regex: '[a-z A-Z]*' }\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Nombre es obligatorio.\",\"placeholder\":\"Ingresá nombre\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{pre:true,attrs:{\"class\":\"text-brand-danger\"}},[_vm._v(\"{{messageErrorAge}}\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{pre:true,attrs:{\"class\":\"form-group col-md-6\"}},[_c('label',{pre:true,attrs:{\"for\":\"streetName\",\"class\":\"control-label\"}},[_vm._v(\"Calle del domicilio\")]),_c('input',{pre:true,attrs:{\"type\":\"text\",\"class\":\"form-control\",\"name\":\"streetName\",\"id\":\"streetName\",\"v-model\":\"streetName\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Domicilio es obligatorio.\",\"placeholder\":\"Ej: 1425 Palermo\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{pre:true,attrs:{\"class\":\"row\"}},[_c('div',{pre:true,attrs:{\"class\":\"form-group col-xs-4\"}},[_c('label',{pre:true,attrs:{\"for\":\"numDom\",\"class\":\"control-label\"}},[_vm._v(\"Número\")]),_c('input',{pre:true,attrs:{\"type\":\"text\",\"class\":\"form-control\",\"name\":\"numDom\",\"id\":\"numDom\",\"v-model\":\"numDom\",\"placeholder\":\"Ej: 4500\"}})]),_c('div',{pre:true,attrs:{\"for\":\"piso\",\"class\":\"form-group col-xs-4\"}},[_c('label',{pre:true,attrs:{\"class\":\"control-label\"}},[_vm._v(\"Piso\")]),_c('input',{pre:true,attrs:{\"type\":\"number\",\"class\":\"form-control\",\"name\":\"piso\",\"id\":\"piso\",\"v-model\":\"piso\",\"placeholder\":\"Ej: 6\"}})]),_c('div',{pre:true,attrs:{\"for\":\"numDept\",\"class\":\"form-group col-xs-4\"}},[_c('label',{pre:true,attrs:{\"class\":\"control-label\"}},[_vm._v(\"Depto\")]),_c('input',{pre:true,attrs:{\"type\":\"text\",\"class\":\"form-control\",\"name\":\"numDept\",\"id\":\"numDept\",\"v-model\":\"numDept\",\"placeholder\":\"Ej: A\"}})])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{pre:true,attrs:{\"class\":\"form-group col-xs-12 col-md-5\"}},[_c('label',{pre:true,attrs:{\"for\":\"streetName\",\"class\":\"control-label\"}},[_vm._v(\"Calle del domicilio\")]),_c('input',{pre:true,attrs:{\"type\":\"text\",\"class\":\"form-control\",\"name\":\"streetName\",\"id\":\"streetName\",\"v-model\":\"streetName\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Domicilio es obligatorio.\",\"placeholder\":\"Ej: 1425 Palermo\"}})])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{pre:true,attrs:{\"class\":\"col-md-12\"}},[_c('div',{pre:true,attrs:{\"class\":\"row\"}},[_c('div',{pre:true,attrs:{\"class\":\"row form-group col-xs-4\"}},[_c('label',{pre:true,attrs:{\"class\":\"control-label\"}},[_vm._v(\"Número\")]),_c('input',{pre:true,attrs:{\"type\":\"text\",\"class\":\"form-control\",\"name\":\"numDom\",\"id\":\"numDom\",\"v-model\":\"numDom\",\"placeholder\":\"Ej: 4500\"}})]),_c('div',{pre:true,attrs:{\"class\":\"form-group col-xs-4\"}},[_c('label',{pre:true,attrs:{\"for\":\"piso\",\"class\":\"control-label\"}},[_vm._v(\"Piso\")]),_c('input',{pre:true,attrs:{\"type\":\"number\",\"class\":\"form-control\",\"name\":\"piso\",\"id\":\"piso\",\"v-model\":\"piso\",\"placeholder\":\"Ej: 6\"}})]),_c('div',{pre:true,attrs:{\"for\":\"numDept\",\"class\":\"form-group col-xs-4\"}},[_c('label',{pre:true,attrs:{\"class\":\"control-label\"}},[_vm._v(\"Depto\")]),_c('input',{pre:true,attrs:{\"type\":\"text\",\"class\":\"form-control\",\"name\":\"numDept\",\"id\":\"numDept\",\"v-model\":\"numDept\",\"placeholder\":\"Ej: A\"}})])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{pre:true,attrs:{\"class\":\"col-md-10\"}},[_c('div',{pre:true,attrs:{\"class\":\"row\"}},[_c('div',{pre:true,attrs:{\"class\":\"form-group col-md-5 col-xs-5\"}},[_c('label',{pre:true,attrs:{\"for\":\"areaCode\",\"class\":\"control-label\"}},[_vm._v(\"Cod. Área\")]),_c('input',{pre:true,attrs:{\"class\":\"form-control\",\"name\":\"areaCode\",\"id\":\"areaCode\",\"maxlength\":\"4\",\"data-fv-stringlength\":\"true\",\"data-fv-stringlength-min\":\"2\",\"data-fv-stringlength-max\":\"4\",\"v-mask\":\"{ regex: '[0-9]*' }\",\"v-model\":\"areaCode\",\"placeholder\":\"Ej: 11\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Área es obligatorio.\"}})]),_c('div',{pre:true,attrs:{\"class\":\"form-group col-md-7 col-xs-7\"}},[_c('label',{pre:true,attrs:{\"for\":\"telephone\",\"class\":\"control-label\"}},[_vm._v(\"Teléfono\")]),_c('input',{pre:true,attrs:{\"class\":\"form-control\",\"name\":\"telephone\",\"id\":\"telephone\",\"maxlength\":\"8\",\"data-fv-stringlength\":\"true\",\"data-fv-stringlength-min\":\"6\",\"data-fv-stringlength-max\":\"8\",\"v-model\":\"telephone\",\"v-mask\":\"{ regex: '[0-9]*' }\",\"placeholder\":\"Ej: 53994365\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Nro. teléfono es obligatorio.\"}})]),_c('div',{pre:true,attrs:{\"class\":\"col-xs-12\"}},[_c('div',{pre:true,attrs:{\"class\":\"text-brand-danger\"}},[_vm._v(\"{{messageErrorDigits}}\")])])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{pre:true,attrs:{\"class\":\"row\"}},[_c('div',{pre:true,attrs:{\"for\":\"email\",\"class\":\"form-group col-xs-12\"}},[_c('label',{pre:true,attrs:{\"class\":\"control-label\"}},[_vm._v(\"Correo electrónico\")]),_c('input',{pre:true,attrs:{\"class\":\"form-control\",\"name\":\"email\",\"id\":\"email\",\"type\":\"email\",\"v-model\":\"email\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo correo electrónico es obligatorio.\",\"pattern\":\"\",\"placeholder\":\"Ej: juangonzalez@correo.com\"}})])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{pre:true,attrs:{\"class\":\"col-md-12\"}},[_c('h3',{pre:true,attrs:{\"class\":\"text-brand-secondary\"}},[_c('strong',[_vm._v(\"Datos particulares de la vivienda\")])]),_c('p',[_vm._v(\"Completá la ubicación de la vivienda a asegurar\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{pre:true,attrs:{\"class\":\"col-xs-12 col-md-10\"}},[_c('div',{pre:true,attrs:{\"class\":\"row\"}},[_c('div',{pre:true,attrs:{\"class\":\"form-group col-xs-6\"}},[_c('label',{pre:true,attrs:{\"class\":\"control-label\",\"for\":\"StreetriskAddress\"}},[_vm._v(\"Calle\")]),_c('input',{pre:true,attrs:{\"class\":\"form-control\",\"name\":\"StreetriskAddress\",\"id\":\"StreetriskAddress\",\"v-model\":\"StreetriskAddress\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Calle es obligatorio.\",\"placeholder\":\"Ej: Avenida Libertador\"}})]),_c('div',{pre:true,attrs:{\"class\":\"form-group col-xs-6\"}},[_c('label',{pre:true,attrs:{\"class\":\"control-label\",\"for\":\"numRiskAddress\"}},[_vm._v(\"Nro\")]),_c('input',{pre:true,attrs:{\"type\":\"text\",\"class\":\"form-control\",\"name\":\"numRiskAddress\",\"id\":\"numRiskAddress\",\"v-model\":\"numRiskAddress\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Número es obligatorio.\",\"placeholder\":\"Ej: 4500\"}})]),_c('div',[_c('button',{pre:true,attrs:{\"class\":\"btn btn-default\",\"v-on:click\":\"changeMapVisibility\",\"v-if\":\"showMapButton\"}},[_vm._v(\" Mostrar mapa \")])])]),_c('div',{pre:true,attrs:{\"v-if\":\"mapVisible\",\"class\":\"map-container\"}},[_c('div',{pre:true,attrs:{\"class\":\"row\"}},[_c('div',{pre:true,attrs:{\"class\":\"col-md-12\"}},[_c('div',{pre:true,attrs:{\"style\":\"position:relative; padding-top: 56.25%\"}},[_c('iframe',{pre:true,attrs:{\"width\":\"500\",\"height\":\"600\",\"frameborder\":\"0\",\"scrolling\":\"no\",\"marginheight\":\"0\",\"marginwidth\":\"0\",\"v-bind:src\":\"mapURL\",\"style\":\"position: absolute; top: 0; left: 0; width: 100%; height: 100%\"}})])])]),_c('button',{pre:true,attrs:{\"class\":\"btn btn-default\",\"v-on:click\":\"hideMap\",\"v-if\":\"mapVisible\"}},[_vm._v(\" Ocultar Mapa \")])])])\n}]\n\nexport { render, staticRenderFns }","\r\n import Vue from 'vue';\r\n import documentTypeService from '@/apps/shared/services/documentType-service';\r\n import localityService from '@/apps/shared/services/locality-service';\r\n import CRMCotizadorWebService from '@/apps/shared/services/crm-service';\r\n import phoneValidateService from '@/apps/shared/services/phone-service';\r\n import FilePathService from '@/apps/shared/services/filePath-service';\r\n import searchPersonService from '@/apps/shared/services/searchPerson-service';\r\n import saveEmissionService from '../../../shared/services/saveEmission-service';\r\n import getSelectedProducerService from '../../../shared/services/selectedProducer-service';\r\n export default Vue.extend({\r\n el: '#step1',\r\n name: 'TabOne',\r\n data() {\r\n return {\r\n localityList:\r\n function (params) {\r\n return localityService.getLocalityList(params)\r\n },\r\n telephone: '',\r\n streetName: null,\r\n nacimiento: 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 numDoc: null,\r\n selectedLocality: null,\r\n cityName: null,\r\n cityId2: null,\r\n StreetriskAddress: null,\r\n numRiskAddress: null,\r\n riskAddress: null,\r\n localityId: null,\r\n zipCode: null,\r\n Procesoautomatico: false,\r\n documentTypeList: [{ id: \"\", text: \"\" }],\r\n MaximDigitSuperatedDni: false,\r\n isPersonExist: false,\r\n isNotSelectedDocumentType: true,\r\n docTypeSelected: null,\r\n maxSelections: 2,\r\n activeForm: false,\r\n minimumInputLength: 4,\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 accept: true,\r\n DataPlan: null,\r\n planDescription: null,\r\n primerCuota: null,\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 activeFormPersonNoExist: 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 clientCode: \"0\",\r\n originId: 4,\r\n multiplePeopleWithSameIdentifier: [],\r\n clientId: null,\r\n mapURL: \"\",\r\n mapVisible: false,\r\n showMapButton: true,\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.disable = 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.disable = false;\r\n }\r\n else {\r\n this.disable = false;\r\n }\r\n return {\r\n valid,\r\n message\r\n }\r\n };\r\n\r\n window.globalThis.validateLocality = function () {\r\n return Boolean(this.selectedLocality);\r\n }.bind(this);\r\n },\r\n methods: {\r\n onSelectedClient(id) {\r\n this.clientId = id;\r\n this.acceptSelectMultiplePeopleModal();\r\n },\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\r\n resetMultiplePeopleModalValues() {\r\n this.multiplePeopleWithSameIdentifier = [];\r\n this.clientId = null;\r\n },\r\n\r\n closeSelectMultiplePeopleModal: function () {\r\n this.isPeopleWithSameIdentifierModalOpen = false;\r\n this.resetMultiplePeopleModalValues();\r\n this.$refs.selectMultiplePeopleModal.close();\r\n },\r\n\r\n acceptSelectMultiplePeopleModal() {\r\n let selectedPerson = this.multiplePeopleWithSameIdentifier.find(item => this.clientId == item.id);\r\n this.setPersonToCover(selectedPerson);\r\n searchPersonService.SetPerson(selectedPerson.lastName, selectedPerson.firstName)\r\n .then(response => {\r\n setTimeout(() => {\r\n this.closeSelectMultiplePeopleModal();\r\n }, 300);\r\n })\r\n .catch(error => {\r\n this.getPersonByDocumentAndType();\r\n });\r\n },\r\n\r\n setPersonToCover(personToCover) {\r\n let dataClientTabOne = JSON.parse(sessionStorage.getItem(\"TabOneWelcome\"));\r\n this.activeFormPersonNoExist = false;\r\n this.isPersonExist = true;\r\n this.activeForm = true;\r\n this.nacimiento = personToCover.birthday;\r\n this.firstName = personToCover.firstName;\r\n this.lastName = personToCover.lastName;\r\n this.email = dataClientTabOne.email;\r\n this.areaCode = dataClientTabOne.areaCode;\r\n this.telephone = dataClientTabOne.telephone;\r\n this.hasLocality = personToCover.hasLocality;\r\n window.globalThis.dataLayer.push({ 'product': 'hogarPremium', 'event': 'cotizador-hogar-premium-dni' });\r\n },\r\n\r\n searchPersonData() {\r\n this.streetName = null;\r\n this.piso = null;\r\n this.numDom = null;\r\n this.numDept = null;\r\n this.selectedLocality = null;\r\n this.getPersonByDocumentAndType();\r\n },\r\n\r\n getTelephoneValidation() {\r\n return new Promise(async (resolve) => {\r\n await this.validPhone();\r\n NF.Validation.Field.removeField(\"#form1\", \"areaCode\");\r\n NF.Validation.Field.removeField(\"#form1\", \"telephone\");\r\n\r\n NF.Validation.Field.addField(\"#form1\", \"areaCode\", {\r\n validators: {\r\n stringLength: {\r\n message: this.messageErrorAreaCode,\r\n }\r\n }\r\n });\r\n NF.Validation.Field.validate(\"#form1\", \"areaCode\");\r\n NF.Validation.Field.addField(\"#form1\", \"telephone\", {\r\n validators: {\r\n stringLength: {\r\n message: this.messageErrorPhone,\r\n }\r\n }\r\n });\r\n NF.Validation.Field.validate(\"#form1\", \"telephone\");\r\n })\r\n },\r\n\r\n getFilePath() {\r\n FilePathService.getFilePath(\"UrlBase\")\r\n .then(response => {\r\n window.location.href = response + \"hogar-premium/elegiPlan\";\r\n });\r\n },\r\n\r\n validate: function (config, direction) {\r\n if (direction == \"backward\") {\r\n sessionStorage.setItem(\"ExitOrContinueModal\", \"false\");\r\n this.getFilePath();\r\n return true\r\n }\r\n if (!this.numDocChange) {\r\n var formIsValid = NF.Validation.Form.validate('#form1');\r\n if (!formIsValid) {\r\n return formIsValid;\r\n }\r\n if (!this.hasLocality && config.viewModel.selectedLocality == null) {\r\n this.localityIsSelected = false;\r\n return false\r\n }\r\n if (direction != \"backward\") {\r\n var timeStart = new Date();\r\n sessionStorage.setItem(\"TimeStart\", JSON.stringify(timeStart));\r\n sessionStorage.removeItem(\"stepOneData\");\r\n var birthDay = new Date(config.viewModel.nacimiento.toString());\r\n var birthDayFormated = (birthDay.getFullYear() + '/' + (birthDay.getMonth() + 1 + '/' + birthDay.getDate()));\r\n sessionStorage.setItem(\"stepOneData\", JSON.stringify({\r\n documentType: config.viewModel.docTypeSelected,\r\n documentNumber: config.viewModel.numDoc,\r\n birthDay: birthDayFormated,\r\n areaCode: config.viewModel.areaCode,\r\n telephone: config.viewModel.telephone,\r\n email: config.viewModel.email,\r\n firstName: config.viewModel.firstName,\r\n lastName: config.viewModel.lastName,\r\n zipCode: (!this.isPersonExist || !this.hasLocality) ? config.viewModel.selectedLocality.zipCode : 0,\r\n localityId: (!this.isPersonExist || !this.hasLocality) ? config.viewModel.selectedLocality.id : null,\r\n streetName: config.viewModel.streetName,\r\n piso: config.viewModel.piso,\r\n numDom: config.viewModel.numDom,\r\n numDept: config.viewModel.numDept,\r\n countryCode: null,\r\n }));\r\n\r\n this.SaveEmission();\r\n } else {\r\n return formIsValid;\r\n }\r\n } else {\r\n this.searchPersonData();\r\n return false;\r\n }\r\n },\r\n\r\n SaveEmission: function () {\r\n return new Promise(async (resolve) => {\r\n this.stepOneData = JSON.parse(sessionStorage.getItem(\"stepOneData\"));\r\n this.twoData = JSON.parse(sessionStorage.getItem(\"TabTwoData\"));\r\n //Llama al servicio que trae el producerId y el OrganizerId\r\n await getSelectedProducerService.GetSelectedProducer(\r\n this.clientCode,\r\n this.stepOneData.localityId,\r\n 0,\r\n this.originId,\r\n this.stepOneData.zipCode).then(async response => {\r\n var a = response;\r\n //Se consume el Servicio de SaveEmission con los datos correspondientes\r\n var birthDay = this.stepOneData.birthDay;\r\n if (birthDay == null || birthDay == undefined) {\r\n birthDay = \"01/01/1900\"\r\n }\r\n var dateFormat = new Date(birthDay);\r\n var JsonEmissionData = JSON.stringify({\r\n birthday: dateFormat,\r\n cityCode: this.stepOneData.localityId != null ? parseInt(this.stepOneData.localityId) : 0,\r\n clientAddress: {\r\n department: this.stepOneData.numDept == null ? \"\" : this.stepOneData.numDept.toString(),\r\n floor: parseInt(this.stepOneData.piso == null ? 0 : this.stepOneData.piso),\r\n streetName: this.stepOneData.streetName == null ? \"\" : this.stepOneData.streetName.toString(),\r\n streetNumber: this.stepOneData.numDom == null ? \"\" : this.stepOneData.numDom.toString(),\r\n },\r\n clientFirstName: (this.stepOneData.firstName != null && this.stepOneData.firstName != \"\") ? this.stepOneData.firstName.toString() : \"\",\r\n clientLastName: (this.stepOneData.lastName != null && this.stepOneData.lastName != \"\") ? this.stepOneData.lastName.toString() : \" \",\r\n documentNumber: parseInt(this.stepOneData.documentNumber),\r\n documentType: this.stepOneData.documentType.id.trim(),\r\n email: this.stepOneData.email != null ? this.stepOneData.email.toString() : null,\r\n phones: [{\r\n areaCode: this.stepOneData.telephone == null ? null : parseInt(this.stepOneData.areaCode),\r\n countryCode: this.stepOneData.countryCode == null ? null : parseInt(this.stepOneData.telephone[0].countryCode),\r\n order: this.stepOneData.telephone == null ? null : parseInt(this.stepOneData.telephone[0].order),\r\n phoneNumber: this.stepOneData.telephone == null ? \"\" : this.stepOneData.telephone.toString(),\r\n phoneType: this.stepOneData.telephone == null ? null : parseInt(this.stepOneData.telephone[0].phoneType)\r\n }],\r\n zipCode: this.stepOneData.zipCode,\r\n ElectronicCode: 0,\r\n CategoryConstructionCode: this.twoData.buildTypeCode,\r\n RoofType: 5,\r\n SideCloseTypeCode: 0,\r\n SeismicZoneCode: 0,\r\n ReplacementHouse: true,\r\n BuildingAntique: 0,\r\n QuantityFloor: 0,\r\n riskAddress: {\r\n cityCode: parseInt(this.twoData.selectedLocality.id),\r\n streetName: this.StreetriskAddress + \" \" + this.numRiskAddress.toString(),\r\n streetNumber: this.numRiskAddress.toString(),\r\n zipCode: parseInt(this.twoData.selectedLocality.zipCode),\r\n cardinalPoint: null,\r\n kilometers: null\r\n }\r\n\r\n })\r\n saveEmissionService.FamilyCombinedPremiumSaveEmission(JsonEmissionData).then(response => {\r\n if (response.validationResult.errorMessage = \"Los datos para la emisión se guardaron correctamente\") {\r\n resolve(true)\r\n NF.UI.Page.block();\r\n sessionStorage.setItem(\"ExitOrContinueModal\", \"false\")\r\n window.parent.location.href = '/hogar-premium/resumen';\r\n }\r\n });\r\n });\r\n })\r\n },\r\n\r\n createOrEditLead: function () {\r\n CRMCotizadorWebService.CreateOrEditLead(null, this.email, location.href, this.areaCode, this.telephone, 936, false, \"5\", null, null, null);\r\n },\r\n\r\n validPhone: function () {\r\n if (this.telephone == \"\" && this.areaCode == \"\") {\r\n this.validDigits = true;\r\n }\r\n return new Promise(async (resolve) => {\r\n await phoneValidateService.validatePhone(this.areaCode, this.telephone).then(async o => {\r\n if (o.areaCodeSuccess == false) {\r\n this.messageErrorAreaCode = o.message\r\n }\r\n if (o.phoneNumberSuccess == false) {\r\n this.messageErrorPhone = o.message\r\n }\r\n if (o.validCountDigit != null) {\r\n if (o.validCountDigit) {\r\n this.messageErrorDigits = \"\";\r\n }\r\n else {\r\n this.messageErrorDigits = o.message\r\n }\r\n }\r\n else {\r\n this.messageErrorDigits = \"\";\r\n }\r\n this.validatePhone = o.validCountDigit;\r\n resolve(true);\r\n });\r\n })\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.docTypeSelected = this.documentTypeList.find(p => p.name.trim() == \"DNI\");\r\n }\r\n })\r\n },\r\n\r\n getPersonByDocumentAndType: function () {\r\n \r\n this.numDocChange = false;\r\n this.activeFormPersonNoExist = false;\r\n this.hasLocality = false;\r\n var dataClientTabOne = this.DataPlan = JSON.parse(sessionStorage.getItem(\"TabOneWelcome\"));\r\n NF.UI.Page.blockCustom({ message: 'Cargando datos..' });\r\n if (this.numDoc != \"\") {\r\n this.Bus.$emit('enableFinalButton');\r\n var Dni = this.numDoc == null ? 0 : this.numDoc;\r\n var DocTypeSeleccionado = this.docTypeSelected.name.trim();\r\n searchPersonService.GetSearchPersonData(this.numDoc, this.docTypeSelected.id)\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.activeFormPersonNoExist = false;\r\n this.isPersonExist = true;\r\n this.activeForm = true;\r\n this.nacimiento = result.birthday;\r\n this.firstName = result.firstName;\r\n this.lastName = result.lastName;\r\n this.email = dataClientTabOne.email;\r\n this.areaCode = dataClientTabOne.areaCode;\r\n this.telephone = dataClientTabOne.telephone;\r\n this.hasLocality = result.hasLocality;\r\n window.globalThis.dataLayer.push({ 'product': 'hogarPremium', 'event': 'cotizador-hogar-premium-dni' });\r\n }\r\n else {\r\n this.activeForm = true;\r\n this.isPersonExist = false;\r\n this.firstName = dataClientTabOne.name;\r\n this.email = dataClientTabOne.email;\r\n this.areaCode = dataClientTabOne.areaCode;\r\n this.telephone = dataClientTabOne.telephone;\r\n this.age = \"\";\r\n this.nacimiento = null;\r\n this.lastName = dataClientTabOne.lastName;\r\n this.activeFormPersonNoExist = true;\r\n this.selectedLocality = null;\r\n window.globalThis.dataLayer.push({ 'product': 'hogarPremium', 'event': 'errorUsuario', 'paso': 'cotizador-hogar-premium-dni' });\r\n }\r\n if (Dni.toString().length > 0 && Dni.toString().length < 9) {\r\n this.MaximDigitSuperatedDni = false;\r\n }\r\n else if (DocTypeSeleccionado == \"DNI\") {\r\n this.MaximDigitSuperatedDni = true;\r\n this.firstName = \"\";\r\n this.lastName = \"\";\r\n this.nacimiento = null;\r\n this.isPersonExist = true;\r\n this.isNotSelectedDocumentType = false\r\n this.age = \"\";\r\n }\r\n else {\r\n this.MaximDigitSuperatedDni = true;\r\n }\r\n }).then(() => NF.UI.Page.unblock());\r\n }\r\n else {\r\n this.activeForm = false;\r\n this.activeFormPersonNoExist = false;\r\n this.nacimiento = null;\r\n this.areaCode = \"\";\r\n this.telephone = \"\";\r\n this.email = \"\";\r\n this.age = \"0\";\r\n this.selectedLocality = null;\r\n this.streetName = null;\r\n this.numDept = null;\r\n this.numDom = null;\r\n this.piso = null;\r\n this.gender = null;\r\n this.genderId = null;\r\n this.isPersonExist = true;\r\n this.isNotSelectedDocumentType = false;\r\n this.firstName = \"\";\r\n this.lastName = \"\";\r\n this.hasLocality = false;\r\n NF.UI.Page.unblock();\r\n }\r\n },\r\n\r\n CleanPersonDataForm: function () {\r\n if (this.numDoc == \"\") {\r\n NF.UI.Page.blockCustom({ message: 'Limpiando datos..' });\r\n this.activeForm = false;\r\n this.activeFormPersonNoExist = false;\r\n this.nacimiento = null;\r\n this.areaCode = \"\";\r\n this.telephone = \"\";\r\n this.email = \"\";\r\n this.age = \"0\";\r\n this.selectedLocality = null;\r\n this.streetName = null;\r\n this.numDept = null;\r\n this.numDom = null;\r\n this.piso = null;\r\n this.gender = null;\r\n this.genderId = null;\r\n this.isPersonExist = true;\r\n this.isNotSelectedDocumentType = false;\r\n this.firstName = \"\";\r\n this.lastName = \"\";\r\n this.hasLocality = false;\r\n NF.UI.Page.unblock();\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.nacimiento = 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.isPersonExist = true;\r\n this.hasLocality = false;\r\n },\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 if (this.Procesoautomatico == false) {\r\n //Si existe la persona , Pregunto si pase por el proceso automatico de datos al cargar un dni\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 calcularEdad: function () {\r\n this.messageErrorAge = \"\"\r\n if (this.nacimiento != null && this.nacimiento != \"\") {\r\n var today = new Date();\r\n if (this.nacimiento.toString().length > 11) {\r\n var birthDate = new Date(this.nacimiento);\r\n var age = today.getFullYear() - birthDate.getFullYear();\r\n var m = today.getMonth() - birthDate.getMonth();\r\n if (m < 0 || (m === 0 && today.getDate() < birthDate.getDate())) {\r\n age--;\r\n }\r\n this.age = age;\r\n if (this.age < 18) {\r\n this.messageErrorAge = \"La persona debera ser mayor de 18 años\"\r\n }\r\n else {\r\n this.messageErrorAge = \"\"\r\n }\r\n }\r\n else {\r\n var dateFormated = this.nacimiento.split('/')[1] + \"/\" + this.nacimiento.split('/')[0] + \"/\" + this.nacimiento.split('/')[2];\r\n var birthDate = new Date(dateFormated);\r\n var age = today.getFullYear() - birthDate.getFullYear();\r\n var m = today.getMonth() - birthDate.getMonth();\r\n if (m < 0 || (m === 0 && today.getDate() < birthDate.getDate())) {\r\n age--;\r\n }\r\n this.age = age;\r\n if (this.age < 18) {\r\n this.messageErrorAge = \"La persona deberá ser mayor de 18 años\"\r\n }\r\n else {\r\n this.messageErrorAge = \"\"\r\n }\r\n }\r\n }\r\n else {\r\n this.age = 0;\r\n }\r\n },\r\n addMapURL() {\r\n const tabTwoSelectedLocality = JSON.parse(sessionStorage.getItem(\"TabTwoData\"))?.selectedLocality;\r\n\r\n const mapRiskAddress = this.riskAddress ? this.riskAddress : this.StreetriskAddress + ' ' + this.numRiskAddress;\r\n\r\n const encodedMapRiskAddress = encodeURIComponent(mapRiskAddress).replace(/\\%20/g, '+');\r\n\r\n const location = encodeURIComponent(tabTwoSelectedLocality.name);\r\n const province = encodeURIComponent(tabTwoSelectedLocality.provinceName);\r\n const country = encodeURIComponent(\"Argentina\");\r\n\r\n if (!mapRiskAddress.trim()) {\r\n this.mapURL = \"https://maps.google.com/maps?q=\" + location + \"%2C+\" + province + \"%2C+\" + country + \"&t=&z=16&ie=UTF8&iwloc=&output=embed\";\r\n } else {\r\n this.mapURL = \"https://maps.google.com/maps?q=\" + encodedMapRiskAddress + \"%2C+\" + location + \"%2C+\" + province + \"%2C+\" + country + \"&t=&z=16&ie=UTF8&iwloc=&output=embed\";\r\n }\r\n\r\n if (this.mapVisible) {\r\n this.updateMapView();\r\n }\r\n },\r\n showMap() {\r\n this.mapVisible = true;\r\n this.showMapButton = false;\r\n this.addMapURL();\r\n this.updateMapView();\r\n },\r\n hideMap() {\r\n this.mapVisible = false;\r\n this.showMapButton = true;\r\n },\r\n changeMapVisibility() {\r\n this.mapVisible = !this.mapVisible; \r\n\r\n if (this.mapVisible) {\r\n this.addMapURL(); \r\n }\r\n\r\n this.showMapButton = !this.mapVisible;\r\n },\r\n updateMapView() {\r\n if (this.mapVisible) {\r\n this.mapURL = this.mapURL;\r\n }\r\n },\r\n },\r\n watch: {\r\n nacimiento(newVal) {\r\n if (newVal != null || newVal != \"\") {\r\n this.calcularEdad();\r\n }\r\n },\r\n selectedLocality(newVal) {\r\n if (this.selectedLocality != null) {\r\n this.localityIsSelected = true;\r\n }\r\n },\r\n areaCode(newVal) {\r\n if (newVal != null && newVal != \"\") {\r\n this.getTelephoneValidation();\r\n }\r\n },\r\n telephone(newVal) {\r\n if (newVal != null && newVal != \"\") {\r\n this.getTelephoneValidation();\r\n }\r\n },\r\n telephoneCompleteDigit() {\r\n this.getTelephoneValidation();\r\n },\r\n numDoc(newVal) {\r\n if (newVal == \"\") {\r\n this.Bus.$emit('disableFinalButton');\r\n this.disable = true;\r\n this.activeForm = false;\r\n this.activeFormPersonNoExist = false;\r\n this.nacimiento = null;\r\n this.areaCode = \"\";\r\n this.telephone = \"\";\r\n this.email = \"\";\r\n this.age = \"0\";\r\n this.selectedLocality = null;\r\n this.streetName = null;\r\n this.numDept = null;\r\n this.numDom = null;\r\n this.piso = null;\r\n this.gender = null;\r\n this.genderId = null;\r\n this.isPersonExist = true;\r\n this.isNotSelectedDocumentType = false;\r\n this.firstName = \"\";\r\n this.lastName = \"\";\r\n this.hasLocality = false;\r\n NF.UI.Page.unblock();\r\n }\r\n },\r\n StreetriskAddress(newVal) {\r\n if (newVal) {\r\n this.addMapURL();\r\n if (this.mapVisible) {\r\n this.updateMapView();\r\n }\r\n }\r\n },\r\n numRiskAddress(newVal) {\r\n if (newVal) {\r\n this.addMapURL();\r\n if (this.mapVisible) {\r\n this.updateMapView(); // Solo actualiza el mapa si está visible\r\n }\r\n }\r\n },\r\n mapVisible(newVal) {\r\n if (newVal) {\r\n this.updateMapView();\r\n }\r\n }\r\n },\r\n mounted() {\r\n window.globalThis.dataLayer = window.globalThis.dataLayer || [];\r\n NF.UI.Page.block();\r\n this.Bus.$on('get-step-one-data', () => this.Bus.$emit('step-one-data', this.$data))\r\n sessionStorage.setItem(\"ExitOrContinueModal\", \"true\")\r\n this.getDocumentType();\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!./tab-oneClient.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!./tab-oneClient.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./tab-oneClient.vue?vue&type=template&id=6107c240&\"\nimport script from \"./tab-oneClient.vue?vue&type=script&lang=ts&\"\nexport * from \"./tab-oneClient.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./tab-oneClient.vue?vue&type=style&index=0&id=6107c240&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","\r\n import Vue from 'vue';\r\n import TabOne from './tabsClient/tab-oneClient.vue';\r\n import { tabValidation, toViewModel } from '@/apps/shared/utils/NF';\r\n import { RouterLink } from 'vue-router'\r\n import FilePathService from '@/apps/shared/services/filePath-service';\r\n import XBreadcrumb from '@/apps/shared/components/breadcrumb.vue';\r\n export default Vue.extend({\r\n components: {\r\n TabOne,\r\n RouterLink,\r\n XBreadcrumb\r\n },\r\n busEvents: {\r\n enablePrevButton() {\r\n this.$refs.wizard.enableButton(\"prev\");\r\n },\r\n disablePrevButton() {\r\n this.$refs.wizard.disableButton(\"prev\");\r\n },\r\n HiddenPrevButton() {\r\n this.$refs.wizard.hideButton(\"prev\");\r\n },\r\n enableNextButton() {\r\n this.$refs.wizard.showButton(\"next\");\r\n },\r\n disableNextButton() {\r\n this.$refs.wizard.hideButton(\"next\");\r\n },\r\n\r\n enableFinalButton() {\r\n this.$refs.wizard.enableButton(\"final\");\r\n },\r\n\r\n disableFinalButton() {\r\n this.$refs.wizard.disableButton(\"final\");\r\n },\r\n\r\n ShowFinalButton() {\r\n this.$refs.wizard.showButton(\"final\");\r\n },\r\n\r\n hiddenFinalButton() {\r\n this.$refs.wizard.hideButton(\"final\");\r\n },\r\n },\r\n name: 'FamilyHogarPremiumClientData',\r\n data() {\r\n return {\r\n BreadcrumbText: \"Datos personales\",\r\n stepOneData: null,\r\n stepTwoData: null,\r\n stepThreeData: null,\r\n activeStep: 0,\r\n coberturas: null,\r\n precioSinDescuento: null,\r\n rate: null,\r\n localItems: [{ text: 'Inicio', path: '/hogar-premium' }],\r\n wizard: {\r\n showStepName: false,\r\n type: NF.Wizard.Type.PILLS,\r\n mode: NF.Wizard.Mode.STEP_BY_STEP,\r\n validationMode: NF.Wizard.ValidationMode.ALWAYS,\r\n buttons: {\r\n final: { text: 'Contratar', class: 'btn btn-default' },\r\n prev: { text: 'Anterior', class: 'btn btn-secondary-outline' },\r\n next: { text: 'Siguiente', class: 'btn btn-default' }\r\n },\r\n footer: {\r\n align: NF.Wizard.Footer.Align.SPACE_BETWEEN,\r\n },\r\n steps: [\r\n {\r\n displayName: '',\r\n content: '#step1',\r\n viewModel: toViewModel(TabOne),\r\n validate: (config, direction) => tabValidation(config, direction),\r\n onEnter: function () {\r\n this.Bus.$emit('enablePrevButton');\r\n this.Bus.$emit('disableFinalButton');\r\n },\r\n },\r\n ],\r\n },\r\n };\r\n },\r\n methods: {\r\n changeTitleAndIcon() {\r\n const newTitle = 'Hogar Premium';\r\n this.$emit('updateTitle', newTitle);\r\n },\r\n\r\n updateByProductGoogleAnalytics() {\r\n window.globalThis.dataLayer = window.globalThis.dataLayer || [];\r\n const productGtmName = 'DefaultFamilyCombinedGTMInfo';\r\n this.$emit('updateByProductGoogleAnalytics', productGtmName);\r\n },\r\n\r\n volver() {\r\n this.$router.push({\r\n name: 'tabThreeFamilyCombinedPremium',\r\n })\r\n },\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 open: function () {\r\n this.$refs.modal.open();\r\n },\r\n close: function () {\r\n this.$refs.modal.close();\r\n },\r\n getFilePath() {\r\n FilePathService.getFilePath(\"UrlBase\")\r\n .then(response => {\r\n window.location.href = response + \"hogar-premium\";\r\n });\r\n },\r\n },\r\n mounted() {\r\n this.changeTitleAndIcon();\r\n this.updateByProductGoogleAnalytics();\r\n this.Bus.$on('step-one-data', (stepData) => this.stepOneData = stepData);\r\n this.Bus.$on('step-two-data', (stepData) => this.stepTwoData = stepData);\r\n var planDataSelected = sessionStorage.getItem(\"PlanSelected\")\r\n if (planDataSelected != null) {\r\n this.DataPlan = JSON.parse(planDataSelected!);\r\n this.planDescription = this.DataPlan.planDescription;\r\n this.primerCuota = this.DataPlan.premioMensualFormatted\r\n this.precioSinDescuento = this.DataPlan.premioMensualSinDescuentoFormatted\r\n this.coberturas = this.DataPlan.plans\r\n var DataQuotation = sessionStorage.getItem(\"DataQuotation\");\r\n this.QuotationJson = JSON.parse(DataQuotation!);\r\n if (DataQuotation != null) {\r\n this.rate = this.QuotationJson.discountRate;\r\n }\r\n }\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!./ClientData.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!./ClientData.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ClientData.vue?vue&type=template&id=715458c2&\"\nimport script from \"./ClientData.vue?vue&type=script&lang=ts&\"\nexport * from \"./ClientData.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","module.exports = __webpack_public_path__ + \"img/logoHogarPremium.png\";","import http from \"../http/http-config\";\r\nimport { ValidatePhone } from \"../models/validatePhone\";\r\n\r\nexport default new class PhoneService {\r\n validatePhone(areaCode, phoneNumber): Promise {\r\n return http.get(\"Phone\", {\r\n params: {\r\n areaCode,\r\n phoneNumber\r\n }\r\n }).then(response => response.data)\r\n }\r\n}","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!./tab-oneClient.vue?vue&type=style&index=0&id=6107c240&prod&lang=css&\"","import { VueConstructor } from 'vue';\r\n\r\nexport function toViewModel(constructor: VueConstructor): any {\r\n const vueInstance = new constructor();\r\n const options = vueInstance.$options;\r\n\r\n return {\r\n lang: options.lang,\r\n data: options.data,\r\n computed: options.computed,\r\n methods: options.methods,\r\n busEvents: options.busEvents,\r\n watch: options.watch,\r\n mixins: options.mixins,\r\n created: options.created,\r\n mounted: options.mounted,\r\n beforeDestroy: options.beforeDestroy,\r\n destroyed: options.destroyed\r\n };\r\n}\r\n\r\nexport function tabValidation(config: any, direction: any) {\r\n // Si el tab no se visitó nunca el view model no se crea\r\n // consideramos que el paso no es valido\r\n if (!(config.viewModel instanceof NF)) {\r\n return false;\r\n }\r\n\r\n return config.viewModel.validate(config,direction);\r\n}","import http from \"../http/http-config\";\r\n\r\nexport default new class SelectedProducerService {\r\n //Movilidad Urbana \r\n GetSelectedProducer(clientCode, localId, officeCode, originId, zipCode): Promise {\r\n return http.get(\"GetSelectedProducer\", {\r\n params: {\r\n clientCode,\r\n localId,\r\n officeCode,\r\n originId,\r\n zipCode\r\n }\r\n }).then(response => response.data);\r\n }\r\n\r\n}"],"sourceRoot":""}