{"version":3,"sources":["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/getDiscountRange-service.ts","webpack:///./src/apps/electronic-equipment/quote/views/tab-one.vue","webpack:///./src/apps/electronic-equipment/quote/views/tab-one.vue?5686","webpack:///./src/apps/electronic-equipment/quote/views/tab-one.vue?0549","webpack:///./src/apps/electronic-equipment/quote/views/tab-one.vue?b0ef","webpack:///./src/apps/shared/services/crm-service.ts","webpack:///./src/apps/shared/components/ExtendedContactInfo.vue","webpack:///./src/apps/shared/components/ContactInfo.vue","webpack:///./src/apps/shared/components/ContactInfo.vue?194e","webpack:///./src/apps/shared/components/ContactInfo.vue?e444","webpack:///./src/apps/shared/components/ContactInfo.vue?7eaa","webpack:///src/apps/shared/components/ExtendedContactInfo.vue","webpack:///./src/apps/shared/components/ExtendedContactInfo.vue?a59a","webpack:///./src/apps/shared/components/ExtendedContactInfo.vue?d10c","webpack:///./src/apps/shared/services/phone-service.ts","webpack:///./src/apps/shared/components/TitlesAndPromotions.vue","webpack:///./src/apps/shared/components/TitlesAndPromotions.vue?3d64","webpack:///./src/apps/shared/components/TitlesAndPromotions.vue?a092","webpack:///./src/apps/shared/components/TitlesAndPromotions.vue?5a5a"],"names":["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","data","mounted","getImplicitItems","methods","paths","$route","fullPath","split","items","route","matched","$router","match","meta","title","push","component","getUrbanMovilityDiscountRange","http","get","params","then","response","getElectronicEquipmentDiscountRange","getSafeHealthMaxDiscountRange","getFamilyCombinedDiscountRange","breadcrumItems","ref","titleAndPromotionDetails","_m","directives","rawName","on","$event","preventDefault","type","indexOf","_k","keyCode","comenzar","XBreadcrumb","ExtendedContactInfo","TitleAndPromotions","subTitle","product","icon","src","alt","iconPromotion","otherIconPromotion","validatePhone","firstName","lastName","telephone","areaCode","email","discountRate","fechaPromotions","responseDiscountRange","containDiscountRange","changeTitlePromotions","sendDataDiscount","leadId","changeTitleAndIcon","newTitle","$emit","updateByProductGoogleAnalytics","window","globalThis","dataLayer","productGtmName","extendedContactInfoData","$refs","extendedContactInfoRef","getFormData","NF","Validation","Form","validate","validTelephone","validEmail","validName","trim","validLastName","validateEmail","UI","Page","block","Promise","async","CRMCotizadorWebService","CreateOrEditLead","location","href","resolve","sessionStorage","setItem","JSON","stringify","parse","getItem","DiscountRangeService","discountMaxValue","Date","FechaInicioEvento","FechaFinEvento","unblock","titlesAndPromotions","setDiscountData","validBack","removeItem","dataTomador","dataTomadorJson","setFormData","reload","clear","url","telephoneArea","telephoneNumber","productId","toQualify","applicationStep","additionalInformation","post","D365_AddFinishedQuotation","apellido","dni","localidad","mail","nombre","nroCotizacion","premioMensual","productoComercial","ramo","handleSubmit","apply","arguments","value","regex","expression","formData","domProps","target","composing","$set","submitForm","messageErrorDigits","messageErrorEmail","validPhone","validDigits","phoneValidateService","o","validCountDigit","message","valid","test","watch","newVal","ContactInfo","phoneNumber","dataDiscount","_e","props","Object","required"],"mappings":"kHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,KAAK,CAACG,YAAY,cAAcL,EAAIM,GAAIN,EAAIO,YAAY,SAASC,EAAKC,GAAO,OAAOP,EAAG,KAAK,CAACQ,IAAIF,EAAKG,KAAKC,MAAM,CAAEC,OAAQJ,IAAUT,EAAIO,WAAWO,OAAS,IAAK,CAAEL,IAAUT,EAAIO,WAAWO,OAAS,EAAGZ,EAAG,aAAa,CAACa,MAAM,CAAC,GAAKP,EAAKG,OAAO,CAACX,EAAIgB,GAAG,IAAIhB,EAAIiB,G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YAAY,sBAAsB,CAACH,EAAG,KAAK,CAACG,YAAY,wBAAwB,CAACL,EAAIgB,GAAG,wBAAwBhB,EAAIiB,GAAGjB,EAAI2D,yBAAyBd,OAAO,SAAS3C,EAAG,MAAM,CAACG,YAAY,qBAAqB,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiBU,MAAM,CAAC,IAAMf,EAAI2D,yBAAyBiB,KAAKC,IAAI,IAAM7E,EAAI2D,yBAAyBiB,KAAKE,IAAI,MAAQ9E,EAAI2D,yBAAyBiB,KAAK/B,aAAsB3C,EAAG,IAAI,CAACF,EAAIgB,GAAG,kEAE50CG,EAAkB,CAAC,WAAY,IAAInB,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,wBAAwB,CAACH,EAAG,SAAS,CAACF,EAAIgB,GAAG,oE,YCEpJI,+BAAgB,CAC3BC,KAAM,sBACN4K,MAAO,CACHtI,yBAA0B,CACtBO,KAAMgI,OACNC,UAAU,IAGlBpK,OACI,MAAO,CACHgK,aAAc,CACVxG,aAAc,KACdG,sBAAsB,EACtBC,uBAAuB,KAInCzD,QAAS,CACLyG,gBAAgB5G,GACZ9B,KAAK8L,aAAe,IAAKhK,OCvByY,I,YCO9agB,EAAY,eACd,EACAhD,EACAoB,GACA,EACA,KACA,KACA,MAIa,OAAA4B,E","file":"js/chunk-78911158.js","sourcesContent":["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 { DiscountRangeResponse } from \"../models/discountRangeResponse\";\r\n\r\nexport default new class discountRangeService {\r\n getUrbanMovilityDiscountRange(): Promise {\r\n return http.get(\"GetDiscountRange/GetUrbanMovilityDiscountRange\", {\r\n params: {\r\n }\r\n }).then(response => response.data)\r\n }\r\n getElectronicEquipmentDiscountRange(): Promise {\r\n return http.get(\"GetDiscountRange/GetElectronicEquipmentDiscountRange\", {\r\n params: {\r\n }\r\n }).then(response => response.data)\r\n }\r\n getSafeHealthMaxDiscountRange(): Promise {\r\n return http.get(\"GetDiscountRange/GetSafeHealthMaxDiscountRange\", {\r\n params: {\r\n }\r\n }).then(response => response.data)\r\n }\r\n getFamilyCombinedDiscountRange(): Promise {\r\n return http.get(\"GetDiscountRange/GetFamilyCombinedPremiumDiscountRange\", {\r\n params: {}\r\n }).then(response => response.data);\r\n }\r\n}\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-half\"},[_c('div',{staticClass:\"col-md-12\"},[_c('x-breadcrumb',{attrs:{\"items\":_vm.breadcrumItems}})],1)]),_c('title-and-promotions',{ref:\"titlesAndPromotions\",attrs:{\"titleAndPromotionDetails\":_vm.titleAndPromotionDetails}}),_c('div',{staticClass:\"row margin-top\"},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"nf-card\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-8 col-md-offset-2\"},[_vm._m(0),_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-12\"},[_c('extended-contact-info',{ref:\"extendedContactInfoRef\"})],1)]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12 d-flex justify-content-center\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.comenzar}},[_vm._v(\" Comenzar \")])])])])])])])])])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('h3',{staticClass:\"text-brand-secondary\"},[_c('strong',[_vm._v(\"Iniciemos tu cotización\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n import { defineComponent } from 'vue';\r\n import XBreadcrumb from '@/apps/shared/components/breadcrumb.vue'\r\n import TitleAndPromotions from '@/apps/shared/components/TitlesAndPromotions.vue';\r\n import ExtendedContactInfo from \"@/apps/shared/components/ExtendedContactInfo.vue\";\r\n import CRMCotizadorWebService from '@/apps/shared/services/crm-service';\r\n import DiscountRangeService from '@/apps/shared/services/getDiscountRange-service';\r\n import { TitleAndPromotionsDetails } from '@/apps/shared/models/titleAndPromotionsDetails';\r\n export default defineComponent({\r\n components: {\r\n XBreadcrumb,\r\n ExtendedContactInfo,\r\n TitleAndPromotions,\r\n },\r\n data() {\r\n return {\r\n titleAndPromotionDetails: {\r\n title: \"PC, Notebook o Tablet\",\r\n subTitle: \"\",\r\n product: \"Tecnología\",\r\n icon: {\r\n src: '/icons/tecnologia.svg',\r\n alt: 'Tecnologia',\r\n title: 'Tecnologia'\r\n },\r\n iconPromotion: {\r\n src: '/icons/hotweek-logo.png',\r\n alt: 'logoHotWeek',\r\n title: 'HotWeek'\r\n },\r\n otherIconPromotion: {\r\n src: '/icons/cybermonday.svg',\r\n alt: 'logoCiberMonday',\r\n title: 'CiberMonday'\r\n },\r\n } as TitleAndPromotionsDetails,\r\n validatePhone: false,\r\n firstName: '',\r\n lastName: '',\r\n telephone: '',\r\n areaCode: '',\r\n email: '',\r\n discountRate: null,\r\n fechaPromotions: null,\r\n responseDiscountRange: null,\r\n containDiscountRange: false,\r\n changeTitlePromotions: false,\r\n sendDataDiscount: null,\r\n breadcrumItems: [\r\n { text: 'Inicio', path: '/tecnologia' },\r\n { text: 'Datos Personales', path: '/tecnologia/' },\r\n ],\r\n leadId: null,\r\n }\r\n },\r\n\r\n methods: {\r\n changeTitleAndIcon() {\r\n const newTitle = 'Tecnología';\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 = 'DefaultElectronicDeviceGTMInfo';\r\n this.$emit('updateByProductGoogleAnalytics', productGtmName);\r\n },\r\n\r\n async comenzar() {\r\n const extendedContactInfoData = this.$refs.extendedContactInfoRef.getFormData();\r\n NF.Validation.Form.validate('#formData');\r\n this.validatePhone = false;\r\n const { firstName, lastName, email, telephone, areaCode, validTelephone, validEmail } = extendedContactInfoData;\r\n this.firstName = firstName;\r\n this.lastName = lastName;\r\n this.email = email;\r\n this.telephone = telephone;\r\n this.areaCode = areaCode;\r\n this.validatePhone = validTelephone;\r\n const validName = firstName && firstName.trim() !== \"\";\r\n const validLastName = lastName && lastName.trim() !== \"\";\r\n const validateEmail = validEmail;\r\n //const validEmail = email && email.includes(\"@\");\r\n\r\n if (validName && validLastName && this.validatePhone && validateEmail) {\r\n NF.UI.Page.block();\r\n //------------------------------------------------------------\r\n return new Promise(async (resolve) => {\r\n CRMCotizadorWebService.CreateOrEditLead(this.leadId, this.email, location.href, this.areaCode, this.telephone, 1000, false, \"1\", null, this.lastName, this.name).then((response) => {\r\n resolve(true);\r\n sessionStorage.setItem(\"LeadId\", JSON.stringify(response));\r\n window.globalThis.dataLayer.push({ 'product': 'tecnologia', 'event': 'cotizador-tecnologia-datos-personales' });\r\n sessionStorage.setItem(\"TabOneWelcome\", JSON.stringify({\r\n firstName: this.firstName,\r\n lastName: this.lastName,\r\n areaCode: this.areaCode,\r\n telephone: this.telephone,\r\n email: this.email\r\n }));\r\n this.$router.push({\r\n name: 'cotizador-equipo-electronico',\r\n })\r\n });\r\n });\r\n //------------------------------------------------------------\r\n } else {\r\n window.globalThis.dataLayer.push({ 'product': 'tecnologia', 'event': 'errorUsuario', 'paso': 'cotizador-tecnologia-datos-personales' });\r\n }\r\n },\r\n },\r\n\r\n mounted() {\r\n NF.UI.Page.block();\r\n this.changeTitleAndIcon();\r\n this.updateByProductGoogleAnalytics();;\r\n this.leadId = JSON.parse(sessionStorage.getItem(\"LeadId\"));\r\n new Promise(async (resolve) => {\r\n DiscountRangeService.getElectronicEquipmentDiscountRange().then((response) => {\r\n this.containDiscountRange = response.length > 0;\r\n if (this.containDiscountRange) {\r\n this.responseDiscountRange = response;\r\n this.discountRate = this.responseDiscountRange[0].discountMaxValue;\r\n this.fechaPromotions = new Date();\r\n const FechaInicioEvento = new Date(\"2024-05-16\");\r\n const FechaFinEvento = new Date(\"2024-05-19\");\r\n this.changeTitlePromotions = (this.fechaPromotions >= FechaInicioEvento && this.fechaPromotions <= FechaFinEvento);\r\n }\r\n this.sendDataDiscount = {\r\n discountRate: this.discountRate,\r\n containDiscountRange: this.containDiscountRange,\r\n changeTitlePromotions: this.changeTitlePromotions,\r\n };\r\n });\r\n NF.UI.Page.unblock();\r\n this.$refs.titlesAndPromotions.setDiscountData(this.sendDataDiscount);\r\n resolve(true);\r\n });\r\n var validBack = sessionStorage.getItem(\"pressBack\");\r\n if (validBack) {\r\n sessionStorage.removeItem(\"pressBack\");\r\n var dataTomador = sessionStorage.getItem(\"TabOneWelcome\");\r\n if (dataTomador != null) {\r\n this.dataTomadorJson = JSON.parse(dataTomador!);\r\n this.$refs.extendedContactInfoRef.setFormData(this.dataTomadorJson);\r\n }\r\n }\r\n else {\r\n if (sessionStorage.getItem(\"FromTabFour\") == \"true\") {\r\n sessionStorage.removeItem(\"FromTabFour\");\r\n location.reload();\r\n };\r\n window.globalThis.dataLayer.push({ 'product': 'tecnologia', 'event': 'cotizador-tecnologia-view' });\r\n sessionStorage.clear();\r\n sessionStorage.setItem(\"ExitOrContinueModal\", \"true\");\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!./tab-one.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-one.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./tab-one.vue?vue&type=template&id=7ead3cc9&\"\nimport script from \"./tab-one.vue?vue&type=script&lang=ts&\"\nexport * from \"./tab-one.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\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}","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"extended-contact-info\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.handleSubmit.apply(null, arguments)}}},[_c('div',{staticClass:\"form-group col-md-6\"},[_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"lastName\"}},[_vm._v(\"Apellido\")]),_c('input',{directives:[{name:\"mask\",rawName:\"v-mask\",value:({ regex: '[a-z A-Z]*' }),expression:\"{ regex: '[a-z A-Z]*' }\"},{name:\"model\",rawName:\"v-model\",value:(_vm.formData.lastName),expression:\"formData.lastName\"}],staticClass:\"form-control\",attrs:{\"name\":\"lastName\",\"id\":\"lastName\",\"placeholder\":\"Ej: Rodriguez\",\"required\":\"\"},domProps:{\"value\":(_vm.formData.lastName)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.formData, \"lastName\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group col-md-6\"},[_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"firstName\"}},[_vm._v(\"Nombre\")]),_c('input',{directives:[{name:\"mask\",rawName:\"v-mask\",value:({ regex: '[a-z A-Z]*' }),expression:\"{ regex: '[a-z A-Z]*' }\"},{name:\"model\",rawName:\"v-model\",value:(_vm.formData.firstName),expression:\"formData.firstName\"}],staticClass:\"form-control\",attrs:{\"name\":\"firstName\",\"id\":\"firstName\",\"placeholder\":\"Ej: Juan\",\"required\":\"\"},domProps:{\"value\":(_vm.formData.firstName)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.formData, \"firstName\", $event.target.value)}}})]),_c('contact-info',{ref:\"contactInfoRef\"})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"contact-form\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.submitForm.apply(null, arguments)}}},[_c('div',[_c('div',{staticClass:\"form-group col-xs-4 col-md-4\"},[_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"areaCode\"}},[_vm._v(\" Área \")]),_c('input',{directives:[{name:\"mask\",rawName:\"v-mask\",value:({ regex: '[0-9]*' }),expression:\"{ regex: '[0-9]*' }\"},{name:\"model\",rawName:\"v-model\",value:(_vm.formData.areaCode),expression:\"formData.areaCode\"}],staticClass:\"form-control\",attrs:{\"name\":\"areaCode\",\"id\":\"areaCode\",\"maxlength\":\"4\",\"data-fv-stringlength\":\"true\",\"data-fv-stringlength-min\":\"2\",\"data-fv-stringlength-max\":\"4\",\"data-fv-stringlength-message\":\"La cantidad de dígitos es incorrecta.\",\"placeholder\":\"Ej: 11\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Área es obligatorio.\"},domProps:{\"value\":(_vm.formData.areaCode)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.formData, \"areaCode\", $event.target.value)}}})]),_c('div',{staticClass:\"form-group col-xs-8 col-md-8\"},[_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"telephone\"}},[_vm._v(\" Nro. de teléfono \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.formData.telephone),expression:\"formData.telephone\"},{name:\"mask\",rawName:\"v-mask\",value:({ regex: '[0-9]*' }),expression:\"{ regex: '[0-9]*' }\"}],staticClass:\"form-control\",attrs:{\"name\":\"telephone\",\"id\":\"telephone\",\"maxlength\":\"8\",\"data-fv-stringlength\":\"true\",\"data-fv-stringlength-min\":\"6\",\"data-fv-stringlength-max\":\"8\",\"data-fv-stringlength-message\":\"La cantidad de dígitos es incorrecta.\",\"placeholder\":\"Ej: 53994365\",\"data-fv-notempty\":\"true\",\"data-fv-notempty-message\":\"El campo Nro. de teléfono es obligatorio.\"},domProps:{\"value\":(_vm.formData.telephone)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.formData, \"telephone\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-xs-12\"},[_c('div',{staticClass:\"text-brand-danger\"},[_vm._v(_vm._s(_vm.messageErrorDigits))])]),_c('div',[_c('div',{staticClass:\"form-group col-xs-12\"},[_c('label',{staticClass:\"control-label\",attrs:{\"for\":\"email\"}},[_vm._v(\" Correo electrónico \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.formData.email),expression:\"formData.email\"}],staticClass:\"form-control\",attrs:{\"name\":\"email\",\"id\":\"email\",\"type\":\"text\",\"data-fv-stringlength\":\"true\",\"data-fv-stringlength-min\":\"10\",\"data-fv-stringlength-max\":\"100\",\"data-fv-notempty\":\"true\",\"data-fv-emailaddress\":\"true\",\"data-fv-notempty-message\":\"El campo Correo electrónico es obligatorio.\",\"placeholder\":\"Ej: juangonzalez@correo.com\"},domProps:{\"value\":(_vm.formData.email)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.formData, \"email\", $event.target.value)}}})])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n import phoneValidateService from '@/apps/shared/services/phone-service';\r\n export default {\r\n data() {\r\n return {\r\n formData: {\r\n areaCode: '',\r\n telephone: '',\r\n email: '',\r\n validTelephone: '',\r\n validEmail: ''\r\n },\r\n messageErrorDigits: \"\",\r\n messageErrorEmail: \"\",\r\n };\r\n },\r\n methods: {\r\n getFormData() {\r\n return {\r\n areaCode: this.formData.areaCode,\r\n telephone: this.formData.telephone,\r\n email: this.formData.email,\r\n validTelephone: this.formData.validTelephone,\r\n validEmail: this.formData.validEmail\r\n };\r\n },\r\n setFormData(data) {\r\n this.formData = { ...data };\r\n },\r\n\r\n validPhone: function () {\r\n if (this.formData.telephone == \"\" && this.formData.areaCode == \"\") {\r\n this.validDigits = true;\r\n }\r\n return new Promise(async (resolve) => {\r\n this.messageErrorDigits = \"\";\r\n await phoneValidateService.validatePhone(this.formData.areaCode, this.formData.telephone).then(o => {\r\n this.messageErrorDigits = o.validCountDigit ? \"\" : (o.validCountDigit === false ? o.message : \"\");\r\n this.formData.validTelephone = o.validCountDigit;\r\n resolve(this.formData.validTelephone);\r\n });\r\n })\r\n },\r\n validEmail: function (email) {\r\n const regex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/;\r\n var valid = regex.test(email);\r\n this.formData.validEmail = valid;\r\n }\r\n },\r\n watch: {\r\n 'formData.areaCode': function (newVal) {\r\n if (newVal != null && newVal != \"\") {\r\n this.validPhone();\r\n }\r\n this.messageErrorDigits = \"\";\r\n },\r\n 'formData.telephone': function (newVal) {\r\n if (newVal != null && newVal != \"\") {\r\n this.validPhone();\r\n }\r\n else {\r\n this.messageErrorDigits = \"\";\r\n }\r\n },\r\n 'formData.email': function (newVal) {\r\n if (newVal != null && newVal != \"\") {\r\n this.validEmail(newVal);\r\n }\r\n else {\r\n this.messageErrorEmail = \"\";\r\n }\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!./ContactInfo.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!./ContactInfo.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContactInfo.vue?vue&type=template&id=0d4404bc&\"\nimport script from \"./ContactInfo.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContactInfo.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","\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExtendedContactInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExtendedContactInfo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ExtendedContactInfo.vue?vue&type=template&id=7d083c9f&\"\nimport script from \"./ExtendedContactInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./ExtendedContactInfo.vue?vue&type=script&lang=js&\"\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 { 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}","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"titlesAndPromotions\"},[(_vm.dataDiscount.containDiscountRange)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-7 col-xs-12\"},[_c('h1',{staticClass:\"text-brand-secondary\"},[_c('strong',[_vm._v(\" \"+_vm._s(_vm.dataDiscount.changeTitlePromotions ? '¡Extendimos por Hot Week, estás a un paso del mejor precio!' : `Cotizá tu seguro de ${_vm.titleAndPromotionDetails.product} con un ${_vm.dataDiscount.discountRate}% de descuento.`)+\" \")])]),_vm._m(0)]),_c('div',{staticClass:\"col-md-5 col-xs-12 text-center\"},[_c('img',{attrs:{\"src\":_vm.dataDiscount.changeTitlePromotions ? _vm.titleAndPromotionDetails.iconPromotion.src : _vm.titleAndPromotionDetails.otherIconPromotion.src,\"width\":\"40%\"}})])]):(!_vm.dataDiscount.containDiscountRange)?_c('div',{staticClass:\"row margin-top d-flex align-items-center\"},[_c('div',{staticClass:\"col-md-10 col-xs-8\"},[_c('h1',{staticClass:\"text-brand-secondary\"},[_vm._v(\" Cotizá tu seguro de \"+_vm._s(_vm.titleAndPromotionDetails.title)+\" \")])]),_c('div',{staticClass:\"col-xs-4 col-md-2\"},[_c('img',{staticClass:\"img-responsive\",attrs:{\"src\":_vm.titleAndPromotionDetails.icon.src,\"alt\":_vm.titleAndPromotionDetails.icon.alt,\"title\":_vm.titleAndPromotionDetails.icon.title}})])]):_vm._e(),_c('p',[_vm._v(\" Para comenzar, vamos a pedirte algunos datos personales \")])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"text-brand-secondary\"},[_c('strong',[_vm._v(\" ¡Sacamos una promo, aprovechá y contratá al mejor precio!\")])])\n}]\n\nexport { render, staticRenderFns }","\r\n import { defineComponent } from 'vue';\r\n import { TitleAndPromotionsDetails } from '@/apps/shared/models/titleAndPromotionsDetails';\r\n\r\n export default defineComponent({\r\n name: 'TitlesAndPromotions',\r\n props: {\r\n titleAndPromotionDetails: {\r\n type: Object as () => TitleAndPromotionsDetails,\r\n required: true,\r\n }\r\n },\r\n data() {\r\n return {\r\n dataDiscount: {\r\n discountRate: null,\r\n containDiscountRange: false,\r\n changeTitlePromotions: false,\r\n },\r\n }\r\n },\r\n methods: {\r\n setDiscountData(data) {\r\n this.dataDiscount = { ...data };\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!./TitlesAndPromotions.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!./TitlesAndPromotions.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TitlesAndPromotions.vue?vue&type=template&id=995a8eb2&\"\nimport script from \"./TitlesAndPromotions.vue?vue&type=script&lang=ts&\"\nexport * from \"./TitlesAndPromotions.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}