{"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/urban-mobility/quote/views/tab-one.vue","webpack:///./src/apps/urban-mobility/quote/views/tab-one.vue?604b","webpack:///./src/apps/urban-mobility/quote/views/tab-one.vue?012b","webpack:///./src/apps/urban-mobility/quote/views/tab-one.vue?1273","webpack:///./src/apps/shared/services/getDiscountRange-service.ts","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","breadcrumItems","ref","titleAndPromotionDetails","_m","directives","rawName","on","$event","preventDefault","type","indexOf","_k","keyCode","comenzar","XBreadcrumb","ExtendedContactInfo","TitleAndPromotions","sendDataDiscount","subTitle","product","icon","src","alt","iconPromotion","otherIconPromotion","validatePhone","lastName","telephone","areaCode","email","discountRate","fechaPromotions","changeTitlePromotions","containDiscountRange","leadId","changeTitleAndIcon","newTitle","$emit","updateByProductGoogleAnalytics","window","globalThis","dataLayer","productGtmName","extendedContactInfoData","$refs","extendedContactInfoRef","getFormData","NF","Validation","Form","validate","firstName","validTelephone","validEmail","validName","trim","validLastName","validateEmail","UI","Page","block","Promise","async","CRMCotizadorWebService","CreateOrEditLead","location","href","then","response","resolve","sessionStorage","setItem","JSON","stringify","parse","getItem","DiscountRangeService","getUrbanMovilityDiscountRange","responseDiscountRange","discountMaxValue","Date","FechaInicioEvento","FechaFinEvento","titlesAndPromotions","setDiscountData","unblock","validBack","removeItem","dataTomador","dataTomadorJson","setFormData","reload","clear","http","get","params","getElectronicEquipmentDiscountRange","getSafeHealthMaxDiscountRange","getFamilyCombinedDiscountRange","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,GAAGT,E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ACG,YAAY,wBAAwB,CAACL,EAAIgB,GAAG,wBAAwBhB,EAAIiB,GAAGjB,EAAIkD,yBAAyBL,OAAO,SAAS3C,EAAG,MAAM,CAACG,YAAY,qBAAqB,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiBU,MAAM,CAAC,IAAMf,EAAIkD,yBAAyBkB,KAAKC,IAAI,IAAMrE,EAAIkD,yBAAyBkB,KAAKE,IAAI,MAAQtE,EAAIkD,yBAAyBkB,KAAKvB,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,CACH/I,yBAA0B,CACtBO,KAAMyI,OACNC,UAAU,IAGlBpK,OACI,MAAO,CACHgK,aAAc,CACVjH,aAAc,KACdG,sBAAsB,EACtBD,uBAAuB,KAInC9C,QAAS,CACLkG,gBAAgBrG,GACZ9B,KAAK8L,aAAe,IAAKhK,OCvByY,I,YCO9agB,EAAY,eACd,EACAhD,EACAoB,GACA,EACA,KACA,KACA,MAIa,OAAA4B,E","file":"js/chunk-deb4216a.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","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 CRMCotizadorWebService from '@/apps/shared/services/crm-service';\r\n import phoneValidateService from '@/apps/shared/services/phone-service';\r\n import DiscountRangeService from '@/apps/shared/services/getDiscountRange-service';\r\n import TitleAndPromotions from '@/apps/shared/components/TitlesAndPromotions.vue';\r\n import ExtendedContactInfo from \"@/apps/shared/components/ExtendedContactInfo.vue\";\r\n import { TitleAndPromotionsDetails } from '@/apps/shared/models/titleAndPromotionsDetails';\r\n\r\n export default defineComponent({\r\n name: 'tabOne',\r\n components: {\r\n XBreadcrumb,\r\n ExtendedContactInfo,\r\n TitleAndPromotions,\r\n },\r\n data() {\r\n return {\r\n sendDataDiscount: null,\r\n titleAndPromotionDetails: {\r\n title: \"Bici o Monopatín\",\r\n subTitle: \"\",\r\n product: \"Bici o Monopatín\",\r\n icon: {\r\n src: '/icons/movilidad.svg',\r\n alt: 'Movilidad',\r\n title: 'Movilidad'\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/15Off.svg',\r\n alt: '15Off',\r\n title: '15Off'\r\n },\r\n } as TitleAndPromotionsDetails,\r\n validatePhone: false,\r\n name: null,\r\n lastName: null,\r\n telephone: '',\r\n areaCode: '',\r\n email: null,\r\n discountRate: null,\r\n fechaPromotions: null,\r\n changeTitlePromotions: false,\r\n containDiscountRange: false,\r\n breadcrumItems: [\r\n { text: 'Inicio', path: '/movilidad' },\r\n ],\r\n leadId: null\r\n }\r\n },\r\n\r\n methods: {\r\n changeTitleAndIcon() {\r\n const newTitle = 'Movilidad urbana';\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 = 'DefaultUrbanMobilityGTMInfo';\r\n this.$emit('updateByProductGoogleAnalytics', productGtmName);\r\n },\r\n\r\n 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 if (validName && validLastName && this.validatePhone && validateEmail) {\r\n NF.UI.Page.block();\r\n return new Promise(async (resolve) => {\r\n CRMCotizadorWebService.CreateOrEditLead(this.leadId, this.email, location.href, this.areaCode, this.telephone, 936, 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': 'movilidad', 'event': 'cotizador-movilidad-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-movilidad',\r\n })\r\n });\r\n })\r\n } else {\r\n window.globalThis.dataLayer.push({ 'product': 'movilidad', 'event': 'errorUsuario', 'paso': 'cotizador-movilidad-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.getUrbanMovilityDiscountRange().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 var FechaInicioEvento = new Date(Date.parse(\"05/16/2024\"));\r\n var FechaFinEvento = new Date(Date.parse(\"05/19/2024\"));\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 this.$refs.titlesAndPromotions.setDiscountData(this.sendDataDiscount);\r\n resolve(true);\r\n NF.UI.Page.unblock();\r\n });\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': 'movilidad', 'event': 'cotizador-movilidad-view' });\r\n sessionStorage.clear();\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=7dd7d027&\"\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\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","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":""}