{"version":3,"sources":["webpack:///./src/components/mixins/inputHelper.js","webpack:///./src/views/programs/kof/potentialApplicants.vue?96e4","webpack:///./src/components/mixins/dateHelper.js","webpack:///./src/views/programs/kof/potentialApplicants.vue","webpack:///./src/views/share/maps/PGMPotentialApplicantsMap.vue","webpack:///./src/views/share/maps/GoogleMap.vue","webpack:///src/views/share/maps/GoogleMap.vue","webpack:///./src/views/share/maps/GoogleMap.vue?5bb0","webpack:///./src/views/share/maps/GoogleMap.vue?0d00","webpack:///src/views/share/maps/PGMPotentialApplicantsMap.vue","webpack:///./src/views/share/maps/PGMPotentialApplicantsMap.vue?702c","webpack:///./src/views/share/maps/PGMPotentialApplicantsMap.vue?24e4","webpack:///src/views/programs/kof/potentialApplicants.vue","webpack:///./src/views/programs/kof/potentialApplicants.vue?c32b","webpack:///./src/views/programs/kof/potentialApplicants.vue?a4f0","webpack:///./src/views/share/maps/PGMPotentialApplicantsMap.vue?ad7f","webpack:///./src/views/programs/kof/modals/CreatePotentialApplicantControl.vue","webpack:///src/views/programs/kof/modals/CreatePotentialApplicantControl.vue","webpack:///./src/views/programs/kof/modals/CreatePotentialApplicantControl.vue?42e3","webpack:///./src/views/programs/kof/modals/CreatePotentialApplicantControl.vue?c78a","webpack:///./src/components/mixins/formatHelper.js"],"names":["methods","reg","value","caps","trim","this","upper","trimSpaces","cleanTildes","toUpperCase","s","r","toLowerCase","replace","RegExp","uppercase","constitutionDateFormat","moment","String","locale","format","constitutionPaymentDateFormat","explicitDateFormat","sessionFormat","regularDateFormat","yearDateFormat","midDateFormat","humanDateFormat","dateTimeFormat","dateTime12Format","compactDateFormat","logDateFormat","timeAgoFormat","fromNow","calculateAgeFromDate","diff","minDateForValidAge","years","subtract","calculateDaysDiff","m","n","validatedDate","isValid","getDateFromInputs","yy","mm","dd","yint","parseInt","mint","year","month","day","nextAccreditationDate","add","setDateToEndOfDay","d","endOf","end","setDateToStartOfDay","startOf","start","signatureFormatDate","signatureValidityDate","incomeSpecial","timeStampFormat","formatDatepicker","isAfter","date","maxDate","limit","getPreviousMonth","step","getDay","render","_vm","_c","_self","attrs","staticClass","_v","programIdSelected","on","$event","addFilter","model","zoneIdSelected","callback","$$v","expression","_l","programSelected","zones","zone","key","id","name","_e","zoneSelected","regions","length","regionIdSelected","region","stopPropagation","getPotentialApplicants","openLayoutDialog","selected","showAssignDialog","isProgramAdmin","showEvent","_s","stats","total","staticStyle","getPotentialApplicantsNotAssigned","not_assigned","activeTab","ref","applicants","scopedSlots","_u","fn","data","tr","indextr","customer_uid","customer_name","owner_name","country_calling_code","phoneFormat","phone","subregion_manager_id","subregion_manager","region_manager","getFullName","user","email","personal","new_phone","supplier","tradename","getPhone","supplier_agent","openInfoAgent","project","client","translateStatus","status","created_at","openEditModal","openProjectModal","slot","columns","col","idx","sortable","title","mapMarkers","isMounted","showAssignDialogFromMap","showDialog","requestPostLayout","showFormPromptSupplierAssign","directives","rawName","getCountriesList","text","supplierSelected","owner_phone","columnsAssign","requestAssignSupplier","agent","showAgentInfoPromt","$set","currentPotentialApplicant","showPotentialApplicantPromt","handleOnSave","showLoanRequestPrompt","project_id","_n","findProjectById","collections","projects","select_name","requestAssignProject","closeProjectPrompt","closeEventDialog","getCSV","unassigned","staticRenderFns","position","lat","lng","markers","getMarkers","pgmApplicantsSelected","requestAssign","lead","index","hasSelected","init","isSearching","clearSelection","center","options","centerChanged","maxWidth","pixelOffset","width","height","infoWindow","open","domProps","template","newMarkers","zoomControl","mapTypeControl","scaleControl","streetViewControl","rotateControl","fullscreenControl","disableDefaultUi","map","polygon","polygonMarkers","polygonLocations","computed","google","props","latitude","longitude","console","drawPolygon","paths","strokeColor","strokeOpacity","strokeWeight","fillColor","fillOpacity","displaySelectedMarkers","marker","address","component","components","GoogleMap","mixins","showFormPromptSupplierInfo","currentSupplierID","suppliers","filters","programs","currentCustomer","VxUpload","CreatePotentialApplicantControl","PGMPotentialApplicantsMap","type","color","acceptText","cancelText","accept","fileLink","document","doc","customer_uids","supplier_id","onCloseAssignDialog","showSupplierInformation","statusName","fullName","pgm_potential_applicant","window","setMarkers","_g","ruleRequired","isDisabled","hasError","getErrorText","isSuccessful","input","e","onSelect","rulePhone","street","zipcode","ext_number","int_number","between_street_1","between_street_2","errorMessage","handleSave","inputHelper","required","ruleEmail","dialCode","field","msg","handleClose","clear","format_price","decimales","val","toFixed","toString","costFormat","costFormatNoCents","prcgFormat","decimalsFormat","explicitMoneyFormat","mxnFormat","moneyFormat","decimalPercentFormat","roundedFormat","c","cd","Math","round","substr","phoneFormatV2","visibleLastNChars","chars","valueString","phoneLength","firstChars","repeat","last4Digits","slice","visibleOnlyLastNChars","capitalizeFirstLetter","arr","split","i","charAt","join","isValidRfcFormat","rfc","patternPM","patternPF","match","isValidRfcFormatByPersonType","isMoral","pattern","genericRFC1","genericRFC2","isValidCurpFormat","curp","diccionario","lngSuma","lngDigito","indexOf","verifierDigit","anonymousFormatPhone","genderTranslate","getLoanTypeIcon","loanType","loanTypeIcons","url","filename","icon","find","lt","getAmountWithNoCommissionTax","amount","processingAdministrationCommission","mexicoTaxIva","commissionWithTaxPercentage","percentage","amountNoCommision"],"mappings":"mIAAe,QACbA,QAAS,CACPC,IAAIC,EAAOC,GAAO,EAAOC,GAAO,GAC9B,OAAY,MAATF,GAA0B,IAATA,EACX,GAGNC,EACME,KAAKC,MAAMJ,EAAOE,GAEnBA,EACCC,KAAKE,WAAWL,GAGhBA,GAGXI,MAAMJ,EAAOE,GAAO,GAClB,OAAa,MAATF,GAA0B,IAATA,EACZ,GAEFG,KAAKG,YAAYN,EAAOE,GAAMK,eAEvCD,YAAYE,EAAGN,GAAO,GACpB,IAAIO,EAAID,EAAEE,cAiBV,OAhBAD,EAAIA,EAAEE,QAAQ,IAAIC,OAAO,WAAY,KAAK,KAC1CH,EAAIA,EAAEE,QAAQ,IAAIC,OAAO,IAAK,KAAK,MACnCH,EAAIA,EAAEE,QAAQ,IAAIC,OAAO,IAAK,KAAK,KACnCH,EAAIA,EAAEE,QAAQ,IAA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DiY,ICQ7X,G,UAAY,eACd,EACA,EACA,GACA,EACA,KACA,KACA,OAIa,I,QCoVf,SACA,CAAAxC,gBAAA9D,mBAAA6D,aACA,CAAAC,uBAAA9D,WAAA6D,aACA,CAAAC,kBAAA9D,eAAA6D,aACA,CAAAC,sBAAA9D,kBAAA6D,aACA,CAAAC,uBAAA9D,wBAAA6D,aACA,CAAAC,kBAAA9D,eAAA6D,aACA,CAAAC,iBAAA9D,cAAA6D,aACA,CAAAC,eAAA9D,aAAA6D,aACA,CAAAC,uBAAA9D,iBAAA6D,aACA,CAAAC,iBAAA9D,OAAA6D,cAGA,GACA,CAAAC,gBAAA9D,mBAAA6D,aACA,CAAAC,uBAAA9D,WAAA6D,aACA,CAAAC,kBAAA9D,eAAA6D,cAEe,OACf3D,4BACAqJ,uBACA3H,OACA,OACAb,aACA+E,aACAtE,cACAkC,UACAQ,cACAsF,8BACAC,uBACA7I,YACAwD,gCACAO,gBACAY,aACAmE,aACAlE,aAEAf,sBACAK,sBACAD,WACAI,+BACAD,+BACA/D,OACAI,eACAH,SAEAyI,WACAC,YACApK,iBACAe,mBACA4E,yBACAC,gBACAyE,qBACAvI,YACAyC,cACAC,eAGAqF,YACAS,gBACAC,uCACAC,6BAEA,gBACA,WAAApI,SAAA,kCACA,gBAEA,sBACA,oCAEAwG,UACA7D,mBACA,2CAAApK,WAAAqK,uBAEA3E,kBAAA,MACA,6DACA,2CAEAO,eAAA,MACA,uEACA,sCAAAC,aAEAS,iBACA,0CAEA3B,oBACA,oCAGAlF,SACA2L,mBACA,mBAEAV,eACA,8BACA,qCAEA,+BACA,IACA,qBACA,oIACA,uBACA,kBACA,SACAuD,iBANC,QAQD,uBAGA,oCACA,IACA,qBACA,6GACA,kBACA,SACAA,iBALC,QAOD,uBAGA,0CACA,IACA,qBACA,8EACA,uBACA,kBACA,SACAA,iBANC,QAQD,uBAGA,uBACA,IACA,uBACA,+BACA,yDACA,+CAEA,SACA,eAGA,0BACA,uDACA,EAIA,iBACAwB,eACAC,eACApG,qCACAU,oFACA2F,2BACAC,sBACAC,2BAVA,2BAaA,qBACA,IACA,wCACA,qBACA,qBACA,qBACAzI,yCACA,yGACA,+BAGA,iDACA,8BACA0I,SACAA,0DACAC,6BACAD,UACAE,WACA,yBACA,oCACA,mCACA,qBACA,6BAEA,mFAEA,SACA/B,iBA1BC,QA4BD,uBAGA7D,wBACA,mCACA,EAIA,iBACAqF,eACAC,eACApG,wCACAU,wIACA2F,+BACAC,sBACAC,mCAVA,2BAaA,6BACA,IACA,qBACA,SACAI,mDACAC,mCAEA,oDAGA,OAFA,+GACA,2BAGA,kEACA,kBACA,2BACA,oCACA,yCACA,2BACA,wBACA,kBACA,SACA,qBACAjC,mBAGAxE,2BACAwE,sBACA,gBACA,yBAEA5H,mBACA,2BACA,sCAEA8J,sBACA,2BACA,iBACA,sCAEAhK,mBACA4J,2CACA,oBAEAK,2BACA,yBACA,mCACA,qCACA,iDAEA3H,iBACA,gBACA,aACA,4BAEAG,mBACA,YACA,UACA,OACAyH,4BACA,MACA,OACAA,+BACA,MACA,OACAA,wCACA,MACA,OACAA,qCACA,MACA,OACAA,6BACA,MACA,OACAA,iCACA,MACA,OACAA,8BACA,MAEA,UAEAtH,iBACA,iCACA,qCAEAf,eACA,SAaA,OAZA,YACAsI,wBACA,yBACAA,+BAEAA,8BAEA,yBACAA,gCAEAA,kBAEA,GAEA/H,YACA,WAYA,OAVA,gBACA,4BACAX,wGAGA,4BACAA,wGAIA,GAEA,qBACA,0BACA,gBAEA,6BAEA,mCACA,sBACA,0BAGAoB,oBACA,uBACA,+BAEAmC,qBACA,8BACA,qBACA,0BACA,8BAEA,wBACA,IACA,qBACA,yBACA,kBACA,uEACA,iCACA,qBACA,SACA,aACA,uBAGA,6BACA,qEACA,EACA,0BAGA,iBACAsE,eACAC,eACApG,uCACAU,0EACA2F,+BACAC,sBACAC,mCAGA,4BACA,qBACA,IACA,SAAAU,gDAAA3F,kCACA,wDACA,8BACA,0BACA,wBAEA,S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SAAW,SAGjC+V,gBAAgBC,GACd,MAAMC,EAAgB,CACpB,CACEnQ,GAAI,EACJoQ,IAAK,mEACLC,SAAU,iBAEZ,CACErQ,GAAI,EACJoQ,IAAK,kEACLC,SAAU,gBAEZ,CACErQ,GAAI,EACJoQ,IAAK,kEACLC,SAAU,oBAEZ,CACErQ,GAAI,EACJoQ,IAAK,kEACLC,SAAU,uBAId,GAAgB,OAAZH,EACF,OAAOC,EACF,CACL,IAAIG,EAAOH,EAAcI,KAAKC,GAAMA,EAAGxQ,KAAOkQ,GAC1CE,EAAM,mEAIV,OAHIE,IACFF,EAAME,EAAKF,KAENA,IAGXK,6BAA6BC,GAC3B,GAAIA,GAAU,EACZ,OAAO,EAET,MAAMC,EAAqC,IACrCC,EAAe,IACrB,IAAIC,EAA8BF,EAAmCC,EACjEE,EAAc,EAAEH,EAAmCE,EACnDE,EAAoBL,EAAOI,EAC/B,OAAOC,M","file":"js/chunk-0acec16f.778f69bf.js","sourcesContent":["export default {\n methods: {\n reg(value, caps = false, trim = false){\n if(value == null || value == ''){\n return \"\";\n }\n\n if(caps){\n return this.upper(value, trim);\n }\n else if(trim) {\n return this.trimSpaces(value);\n }\n else {\n return value;\n }\n },\n upper(value, trim = false) {\n if (value == null || value == '') {\n return \"\";\n }\n return this.cleanTildes(value, trim).toUpperCase();\n },\n cleanTildes(s, trim = false){\n var r = s.toLowerCase();\n r = r.replace(new RegExp(\"[àáâãäå]\", 'g'),\"a\");\n r = r.replace(new RegExp(\"æ\", 'g'),\"ae\");\n r = r.replace(new RegExp(\"ç\", 'g'),\"c\");\n r = r.replace(new RegExp(\"[èéêë]\", 'g'),\"e\");\n r = r.replace(new RegExp(\"[ìíîï]\", 'g'),\"i\");\n //r = r.replace(new RegExp(\"ñ\", 'g'),\"n\"); \n r = r.replace(new RegExp(\"[òóôõö]\", 'g'),\"o\");\n r = r.replace(new RegExp(\"œ\", 'g'),\"oe\");\n //r = r.replace(new RegExp(\"[ùúûü]\", 'g'),\"u\");\n r = r.replace(new RegExp(\"[ùúû]\", 'g'),\"u\");\n r = r.replace(new RegExp(\"[ýÿ]\", 'g'),\"y\");\n \n if(trim){\n r = r.replace(/\\s/g,'');\n }\n\n return r;\n },\n trimSpaces(s){\n return s.replace(/\\s/g,'');\n },\n uppercase(value){\n if (value == null || value == '') {\n return \"\";\n }\n return value.toUpperCase();\n }\n }\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!./potentialApplicants.vue?vue&type=style&index=0&id=1c8553c9&prod&lang=css&\"","import moment from 'moment'\nexport default {\n methods: {\n constitutionDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('LL');\n }\n },\n constitutionPaymentDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM');\n }\n },\n explicitDateFormat(value) {\n if(value){\n return moment(String(value)).format('DD/MM/YYYY [a las] hh:mm a')\n }\n },\n sessionFormat(value) {\n if(value){\n return moment(String(value)).format('DD/MM/YYYY h:mm a')\n }\n },\n regularDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY')\n }\n },\n yearDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('YYYY/MM/DD')\n }\n },\n midDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM [de] YYYY')\n }\n },\n humanDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('D MMM YYYY')\n }\n },\n dateTimeFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY HH:mm')\n }\n },\n dateTime12Format(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY h:mm a')\n }\n },\n compactDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMM [´]YY')\n }\n },\n logDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM [de] YYYY HH:mm')\n }\n },\n timeAgoFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").fromNow();\n }\n },\n calculateAgeFromDate(value){\n if(value){\n return moment().diff(value, 'years');\n }\n },\n minDateForValidAge(years){\n return moment().subtract(years, 'years').format();\n },\n calculateDaysDiff(value){\n if(value){\n let m = moment(String(value));\n let n = moment();\n return n.diff(m, 'days');\n }\n },\n validatedDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n else {\n return \"--\";\n }\n }\n },\n getDateFromInputs(yy,mm,dd){\n let yint = parseInt(yy);\n let mint = parseInt(mm);\n mint -= 1;\n if(yint <= 20){\n // suponer que el año es entre 2000 y 2010\n yint += 2000;\n }\n else {\n // suponer que el año es menor a 2000\n yint += 1900;\n }\n\n let m = moment({ year: yint, month: mint, day: dd});\n if(m.isValid()){\n return m.format('YYYY-MM-DD');\n }\n else {\n return false;\n }\n },\n nextAccreditationDate(value){\n if(value){\n let m = moment(String(value)).add(180, 'days');\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n else {\n return \"--\"\n }\n },\n setDateToEndOfDay(value){\n let m = moment(String(value)).add(1, 'days');\n let d = m.endOf('day')\n let end = d.locale(\"es\").format('YYYY-MM-DD HH:mm:ss');\n return end;\n },\n setDateToStartOfDay(value){\n let m = moment(String(value)).add(1, 'days');\n let d = m.startOf('day');\n let start = d.locale(\"es\").format('YYYY-MM-DD HH:mm:ss');\n return start;\n },\n signatureFormatDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY HH:mm:ss');\n }\n }\n return \"No establecido\";\n },\n signatureValidityDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n }\n return \"No establecido\";\n },\n incomeSpecial(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('MMMM - YYYY').toUpperCase();\n }\n }\n return \"No establecido\";\n },\n timeStampFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD-MM-YYYY-HH_mm_ss')\n }\n },\n formatDatepicker(value)\n {\n if(value){\n return moment(String(value)).locale(\"es\").format('YYYY-MM-DD')\n }\n },\n isAfter(date, maxDate, limit = 'year')\n {\n return moment(date).isAfter(maxDate, limit); \n },\n getPreviousMonth(date, format = \"MMMM\", step = 1)\n {\n return moment(date).locale(\"es\").subtract(step, 'months').format(format);\n },\n getDay(date)\n {\n return moment(date).locale(\"es\").format('DD');\n }\n }\n}","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"potential-applicants\"}},[_c('div',{staticClass:\"vx-col w-full mb-6\"},[_c('vx-card',{staticClass:\"big-title-card-bg-black h-auto\"},[_c('h1',{staticClass:\"rg-big-title extrabold rg-title\"},[_vm._v(\" Alta de \"),_c('span',[_vm._v(\"prospectos\")]),_vm._v(\" y asignación de \"),_c('span',[_vm._v(\"proveedores\")]),_vm._v(\". \")])])],1),_c('vx-card',{staticClass:\"mt-0\"},[_c('h4',{staticClass:\"mb-4\"},[_vm._v(\"Alta de prospectos y asignación de proveedores.\")]),_c('p',{staticClass:\"mb-4\"},[_vm._v(\"En esta sección puedes dar de alta prospectos. Primero debes descargar la plantilla aquí. Debes respetar el orden de las columnas que aparecen en la plantilla, sin eliminar ni agregar otras columnas. Te recordamos que previamente debes crear las las Zonas, Regiones y los usuarios de Líderes de venta ya que los necesitarás para asignarlos a los prospectos dentro de la plantilla.\")]),_c('vs-divider'),_c('p',{staticClass:\"bold mb-4 mt-4 pl-2\"},[_vm._v(\"Filtros\")]),_c('div',{staticClass:\"flex mb-4\"},[(_vm.programIdSelected !== null)?_c('vs-select',{staticClass:\"mr-2\",attrs:{\"label\":\"Zonas\"},on:{\"change\":function($event){return _vm.addFilter('zone_id', $event)}},model:{value:(_vm.zoneIdSelected),callback:function ($$v) {_vm.zoneIdSelected=$$v},expression:\"zoneIdSelected\"}},[_c('vs-select-item',{attrs:{\"text\":\"Todas\",\"value\":\"0\"}}),_vm._l((_vm.programSelected.zones),function(zone){return _c('vs-select-item',{key:zone.id,attrs:{\"text\":zone.name,\"value\":zone.id}})})],2):_vm._e(),_c('vs-select',{attrs:{\"disabled\":_vm.zoneIdSelected == 0 && _vm.zoneSelected.regions.length < 1,\"label\":\"Regiones\"},on:{\"change\":function($event){return _vm.addFilter('region_id', $event)}},model:{value:(_vm.regionIdSelected),callback:function ($$v) {_vm.regionIdSelected=$$v},expression:\"regionIdSelected\"}},[_c('vs-select-item',{attrs:{\"text\":\"Todas\",\"value\":\"0\"}}),_vm._l((_vm.zoneSelected.regions),function(region){return _c('vs-select-item',{key:region.id,attrs:{\"text\":region.name,\"value\":region.id}})})],2),_c('vs-button',{staticClass:\"mt-6 ml-4\",attrs:{\"type\":\"filled\",\"icon\":\"search\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.getPotentialApplicants()}}})],1),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full mb-4\"},[_c('vs-button',{attrs:{\"color\":\"dark\"},on:{\"click\":function($event){return _vm.openLayoutDialog()}}},[_vm._v(\"Cargar nuevos\")]),_c('vs-button',{staticClass:\"m-4\",attrs:{\"disabled\":_vm.selected.length < 1,\"color\":\"danger\"},on:{\"click\":function($event){return _vm.showAssignDialog()}}},[_vm._v(\"Asignar múltiple\")]),(_vm.isProgramAdmin)?_c('vs-button',{attrs:{\"color\":\"dark\"},on:{\"click\":function($event){_vm.showEvent = true}}},[_vm._v(\"Descargar Prospectos\")]):_vm._e(),_c('h5',{staticClass:\"stats-color\",on:{\"click\":function($event){return _vm.getPotentialApplicants();}}},[_vm._v(\"No. total: \"),_c('span',[_vm._v(_vm._s(_vm.stats.total))])]),_c('vx-tooltip',{staticClass:\"mt-1\",staticStyle:{\"float\":\"left\",\"cursor\":\"pointer\",\"margin-top\":\"-8px\"},attrs:{\"title\":\"Prospectos sin proveedor\",\"color\":\"dark\",\"text\":\"Consulta los prospectos que no han sido asignados a ningún proveedor.\"}},[_c('h5',{staticClass:\"stats-color\",on:{\"click\":function($event){return _vm.getPotentialApplicantsNotAssigned()}}},[_vm._v(\"Sin proveedor: \"),_c('span',[_vm._v(_vm._s(_vm.stats.not_assigned))])])])],1),_c('div',{staticClass:\"vx-col w-full\"},[_c('vs-tabs',{attrs:{\"color\":\"primary\"},model:{value:(_vm.activeTab),callback:function ($$v) {_vm.activeTab=$$v},expression:\"activeTab\"}},[_c('vs-tab',{attrs:{\"icon-pack\":\"feather\",\"icon\":\"icon-airplay\",\"label\":\"Tabla\"}},[_c('div',{ref:\"applicants-table\"},[_c('vs-table',{attrs:{\"multiple\":\"\",\"stripe\":\"\",\"search\":\"\",\"max-items\":\"25\",\"data\":_vm.applicants,\"pagination\":\"\",\"noDataText\":\"No hay datos disponibles\"},scopedSlots:_vm._u([{key:\"default\",fn:function({data}){return _vm._l((data),function(tr,indextr){return _c('vs-tr',{key:indextr,attrs:{\"data\":tr}},[_c('vs-td',[_c('router-link',{staticClass:\"custom-link\",attrs:{\"to\":`#`}},[_vm._v(\" \"+_vm._s(tr.customer_uid)+\" \")])],1),_c('vs-td',[_c('strong',[_vm._v(_vm._s(tr.customer_name))])]),_c('vs-td',[_c('strong',[_vm._v(_vm._s(tr.owner_name))]),_c('br'),_vm._v(\" tel. \"+_vm._s(tr.country_calling_code)+\" \"+_vm._s(_vm.phoneFormat(tr.phone))+\" \")]),_c('vs-td',[_c('strong',[_vm._v(\"Zona:\")]),_vm._v(\" \"+_vm._s(tr.subregion_manager_id !== null && tr.subregion_manager_id > 0 ? tr.subregion_manager.region_manager.region.zone.name : \"Sin información\")+\" \"),_c('br'),_c('strong',[_vm._v(\"Región:\")]),_vm._v(\" \"+_vm._s(tr.subregion_manager_id !== null && tr.subregion_manager_id > 0 ? tr.subregion_manager.region_manager.region.name : \"Sin información\")+\" \")]),(tr.subregion_manager_id != null && tr.subregion_manager_id > 0)?_c('vs-td',[_c('strong',[_vm._v(_vm._s(tr.subregion_manager_id)+\" | \"+_vm._s(_vm.getFullName(tr.subregion_manager.user)))]),_c('br'),_vm._v(\" \"+_vm._s(tr.subregion_manager.user.email)+\" \"),_c('br'),_vm._v(\" tel. \"+_vm._s(tr.subregion_manager.user.personal.new_phone.country_calling_code)+\" \"+_vm._s(_vm.phoneFormat(tr.subregion_manager.user.personal.new_phone.phone))+\" \")]):_c('vs-td',[_vm._v(\" Sin información \")]),(tr.supplier)?_c('vs-td',[_c('strong',[_vm._v(_vm._s(tr.supplier.id)+\" | \"+_vm._s(tr.supplier.tradename))]),_c('br'),_vm._v(\" \"+_vm._s(tr.supplier.email)+\" \"),_c('br'),_vm._v(\" tel. \"+_vm._s(_vm.getPhone(tr.supplier))+\" \"),(tr.supplier_agent)?_c('div',{on:{\"click\":function($event){return _vm.openInfoAgent(tr.supplier_agent)}}},[_c('vs-chip',{attrs:{\"transparent\":\"\",\"color\":\"danger\"}},[_vm._v(\"Responsable\")])],1):_vm._e()]):_c('vs-td',[_c('strong',[_vm._v(\"Sin proveedor asignado\")])]),_c('vs-td',{staticClass:\"bold\"},[_vm._v(\" \"+_vm._s(tr.project != null ? `${tr.project.id} | ${_vm.getFullName(tr.project.client.user)}` : \"Sin información\")+\" \")]),_c('vs-td',[_c('vs-chip',{attrs:{\"color\":\"orange\"}},[_vm._v(_vm._s(_vm.translateStatus(tr.status)))])],1),_c('vs-td',[_vm._v(\" \"+_vm._s(_vm.dateTimeFormat(tr.created_at))+\" \")]),_c('vs-td',[_c('vx-tooltip',{staticClass:\"mt-1\",staticStyle:{\"cursor\":\"pointer\",\"margin-top\":\"-8px\"},attrs:{\"title\":\"Editar prospecto.\",\"color\":\"dark\",\"text\":\"Edita la información básica del prospecto.\"}},[_c('vs-button',{staticClass:\"rgred\",attrs:{\"type\":\"flat\",\"icon\":\"edit\"},on:{\"click\":function($event){return _vm.openEditModal(tr)}}})],1),_c('vx-tooltip',{staticClass:\"mt-1\",staticStyle:{\"float\":\"left\",\"cursor\":\"pointer\",\"margin-top\":\"-8px\"},attrs:{\"title\":\"Asignar solicitud.\",\"color\":\"dark\",\"text\":\"Asigna una solicitud de crédito para este prospecto.\"}},[_c('vs-button',{staticClass:\"p-2\",attrs:{\"type\":\"flat\",\"color\":\"dark\",\"icon\":\"assignment\"},on:{\"click\":function($event){return _vm.openProjectModal(tr)}}})],1)],1)],1)})}}]),model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}},[_c('template',{slot:\"thead\"},_vm._l((_vm.columns),function(col,idx){return _c('vs-th',{key:idx,staticClass:\"bold\",attrs:{\"sort-key\":col.sortable ? col.key : null}},[_vm._v(_vm._s(col.title))])}),1)],2)],1)]),_c('vs-tab',{attrs:{\"disabled\":_vm.mapMarkers.length <= 0,\"icon-pack\":\"feather\",\"icon\":\"icon-map-pin\",\"label\":\"Mapa\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[(_vm.isMounted)?_c('div',{attrs:{\"title\":\"Mapa de prospectos.\"}},[_c('PGMPotentialApplicantsMap',{attrs:{\"markers\":_vm.mapMarkers},on:{\"assingSelected\":_vm.showAssignDialogFromMap}})],1):_vm._e()])])])],1)],1)])],1),_c('vs-popup',{attrs:{\"title\":\"Alta de prospectos\",\"active\":_vm.showDialog},on:{\"update:active\":function($event){_vm.showDialog=$event}}},[_c('p',{staticClass:\"mb-4\"},[_vm._v(\"Asegúrate que el formato del archivo sea en CSV (*.csv) y se hayan respetado el nombre, orden y número de columnas. El nombre del archivo no es relevante. \"),_c('br'),_vm._v(\"En caso de que el archivo contenga prospectos que ya existan dentro del programa serán actualizados con los datos que contenga la plantilla. \")]),_c('download-button',{attrs:{\"title\":\"Layout para carga de prospectos\",\"actionLink\":\"/programs/kof/PROSPECTOS_LAYOUT_RG.csv\",\"fileName\":\"PROSPECTOS_LAYOUT_RG.csv\",\"remoteFile\":true}}),_c('input',{ref:\"fileInput\",staticClass:\"m-4\",attrs:{\"id\":\"layout\",\"text\":\"Seleccione el layout\",\"accept\":\".csv\",\"fileName\":\"file\",\"type\":\"file\"}}),_vm._v(\" \"),_c('br'),_c('vs-button',{staticClass:\"m-4\",attrs:{\"color\":\"dark\"},on:{\"click\":function($event){return _vm.requestPostLayout()}}},[_vm._v(\"Cargar\")])],1),_c('vs-popup',{attrs:{\"title\":\"Asignación a proveedor\",\"active\":_vm.showFormPromptSupplierAssign},on:{\"update:active\":function($event){_vm.showFormPromptSupplierAssign=$event}}},[_c('h6',{staticClass:\"mb-4\"},[_vm._v(\"Asigna un proveedor a los siguientes prospectos.\")]),_c('vx-card',[_c('div',{staticClass:\"mb-4\"},[_c('label',{attrs:{\"for\":\"\"}},[_vm._v(\"Proveedores:\")]),_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"vs-custom w-full\",attrs:{\"label\":\"text\",\"name\":\"sourceType\",\"placeholder\":\"Seleccione una opción\",\"clearable\":false,\"searchable\":true,\"options\":_vm.getCountriesList,\"reduce\":text => text.value},model:{value:(_vm.supplierSelected),callback:function ($$v) {_vm.supplierSelected=$$v},expression:\"supplierSelected\"}},[_c('div',{attrs:{\"slot\":\"no-options\"},slot:\"no-options\"},[_vm._v(\"No hay coincidencias\")])])],1),_c('vs-table',{staticClass:\"mb-4\",attrs:{\"stripe\":\"\",\"max-items\":\"25\",\"data\":_vm.selected,\"pagination\":\"\",\"noDataText\":\"No hay datos disponibles\"},scopedSlots:_vm._u([{key:\"default\",fn:function({data}){return _vm._l((data),function(tr,indextr){return _c('vs-tr',{key:indextr,attrs:{\"data\":tr}},[_c('vs-td',[_c('router-link',{staticClass:\"custom-link\",attrs:{\"to\":`#`}},[_vm._v(\" \"+_vm._s(tr.customer_uid)+\" \")])],1),_c('vs-td',[_c('strong',[_vm._v(_vm._s(tr.customer_name))])]),_c('vs-td',[_c('strong',[_vm._v(_vm._s(tr.owner_name))]),_c('br'),_vm._v(\" tel. \"+_vm._s(_vm.phoneFormat(tr.owner_phone))+\" \")])],1)})}}])},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\" Detalle prospectos. \")]),_c('template',{slot:\"thead\"},_vm._l((_vm.columnsAssign),function(col,idx){return _c('vs-th',{key:idx,staticClass:\"bold\",attrs:{\"sort-key\":col.sortable ? col.key : null}},[_vm._v(_vm._s(col.title))])}),1)],2),_c('div',{staticClass:\"justify-end\"},[_c('vs-button',{attrs:{\"disabled\":_vm.supplierSelected === null,\"color\":\"danger\"},on:{\"click\":function($event){return _vm.requestAssignSupplier()}}},[_vm._v(\"Asignar\")])],1)],1)],1),(_vm.agent)?_c('vs-popup',{attrs:{\"active\":_vm.showAgentInfoPromt,\"title\":\"Información del responsable\"},on:{\"update:active\":function($event){_vm.showAgentInfoPromt=$event}}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h6',[_vm._v(\"Aquí se muestra la información del responsable que generó la solicitud\")])]),_c('div',{staticClass:\"vx-col w-full mt-5\"},[_c('vs-input',{staticClass:\"w-full\",attrs:{\"label\":\"Nombre\",\"name\":\"name\",\"icon-pack\":\"feather\",\"placeholder\":\"Nombre del responsable\",\"disabled\":\"\"},model:{value:(_vm.agent.name),callback:function ($$v) {_vm.$set(_vm.agent, \"name\", $$v)},expression:\"agent.name\"}})],1),_c('div',{staticClass:\"vx-col w-full mt-5\"},[_c('vs-input',{staticClass:\"w-full\",attrs:{\"label\":\"Teléfono\",\"name\":\"phone\",\"icon-pack\":\"feather\",\"placeholder\":\"Teléfono\",\"disabled\":\"\"},model:{value:(_vm.agent.phone),callback:function ($$v) {_vm.$set(_vm.agent, \"phone\", $$v)},expression:\"agent.phone\"}})],1),_c('div',{staticClass:\"vx-col w-full mt-5\"},[_c('vs-input',{staticClass:\"w-full\",attrs:{\"label\":\"Correo electónico\",\"name\":\"email\",\"icon-pack\":\"feather\",\"placeholder\":\"Correo electónico\",\"disabled\":\"\"},model:{value:(_vm.agent.user.email),callback:function ($$v) {_vm.$set(_vm.agent.user, \"email\", $$v)},expression:\"agent.user.email\"}})],1)])]):_vm._e(),(_vm.currentPotentialApplicant)?_c('vs-popup',{attrs:{\"active\":_vm.showPotentialApplicantPromt,\"title\":\"Información de prospecto\"},on:{\"update:active\":function($event){_vm.showPotentialApplicantPromt=$event}}},[_c('create-potential-applicant-control',{ref:\"createPotentialApplicantControl\",attrs:{\"currentPotentialApplicant\":_vm.currentPotentialApplicant},on:{\"on-save\":function($event){return _vm.handleOnSave()},\"on-close\":function($event){_vm.showPotentialApplicantPromt = false}}})],1):_vm._e(),_c('vs-popup',{attrs:{\"title\":\"Asignar solicitud al prospecto.\",\"active\":_vm.showLoanRequestPrompt},on:{\"update:active\":function($event){_vm.showLoanRequestPrompt=$event}}},[_c('div',{staticClass:\"vx-row\"}),_c('div',{staticClass:\"vx-col w-full\"},[_c('vx-card',{attrs:{\"title\":\"Asignar solicitud al prospecto.\"}},[_c('div',{staticClass:\"vx-col w-full\"},[_c('p',{staticClass:\"bold mb-4\"},[_vm._v(\" Asigna una solicitud de crédito a este prospecto y así mantener alimentado nuestro reporte de desempeño. \")])]),_c('div',{staticClass:\"vx-col w-full mb-4\"},[_c('div',{staticClass:\"flex mb-4\"},[_c('vs-input',{staticClass:\"w-1/2\",attrs:{\"name\":\"pid\",\"placeholder\":\"Buscar proyecto\"},model:{value:(_vm.project_id),callback:function ($$v) {_vm.project_id=_vm._n($$v)},expression:\"project_id\"}}),_c('vs-button',{staticClass:\"ml-4\",attrs:{\"disabled\":_vm.project_id == null || _vm.project_id == 0 || _vm.project_id == '',\"type\":\"filled\",\"icon\":\"search\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.findProjectById()}}})],1),(_vm.collections.projects.length > 0)?_c('div',{staticClass:\"mb-4\"},[_c('vs-divider'),_c('h5',[_vm._v(_vm._s(_vm.collections.projects[0].select_name))])],1):_vm._e(),_c('div',{staticClass:\"vx-col w-full mb-4\"},[_c('p',[_vm._v(\"Nota: Sólo se pueden visualizar solicitudes que no hayan sido rechazadas o archivadas. \")])]),_c('vs-button',{staticClass:\"mr-5 mt-2\",attrs:{\"disabled\":!_vm.project_id,\"color\":\"dark\"},on:{\"click\":function($event){return _vm.requestAssignProject()}}},[_vm._v(\"Asignar\")]),_c('vs-button',{attrs:{\"type\":\"flat\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.closeProjectPrompt()}}},[_vm._v(\"Cerrar\")])],1)])],1)]),_c('vs-prompt',{staticClass:\"calendar-event-dialog\",staticStyle:{\"z-index\":\"54000\"},attrs:{\"title\":\"Información del evento\",\"accept-text\":\"Ir al proyecto\",\"cancel-text\":\"Cerrar\",\"button-cancel\":\"border\",\"active\":_vm.showEvent},on:{\"cancel\":_vm.closeEventDialog,\"accept\":_vm.getCSV,\"update:active\":function($event){_vm.showEvent=$event}}},[_c('div',{staticClass:\"vx-col w-full mb-5 mt-2\"},[_c('p',[_vm._v(\"Filtra los prospectos a descargar selecciona una opción a continuación: \")]),_c('ul',{staticClass:\"centerx radio-display\"},[_c('li',{staticClass:\"mt-5\"},[_c('vs-radio',{attrs:{\"vs-value\":\"0\"},model:{value:(_vm.unassigned),callback:function ($$v) {_vm.unassigned=$$v},expression:\"unassigned\"}},[_vm._v(\" Descargar todos los prospectos.\")])],1),_c('li',{staticClass:\"mt-5\"},[_c('vs-radio',{attrs:{\"vs-value\":\"1\"},model:{value:(_vm.unassigned),callback:function ($$v) {_vm.unassigned=$$v},expression:\"unassigned\"}},[_vm._v(\" Descargar sólo los prospectos no asignados a proveedor.\")])],1)])])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"m-4\",attrs:{\"id\":\"app\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-1/2\"},[_c('GoogleMap',{ref:\"gMap\",attrs:{\"latitude\":_vm.position.lat,\"longitude\":_vm.position.lng,\"title\":'Titulo Marcador',\"markers\":_vm.markers},on:{\"selectedMarkers\":_vm.getMarkers}})],1),_c('div',{staticClass:\"vx-col w-1/2\"},[_c('div',{staticClass:\"flex justify-between items-center\"},[_c('h5',{staticClass:\"mb-4\"},[_vm._v(\"Prospectos seleccionados (\"+_vm._s(_vm.pgmApplicantsSelected.length)+\"):\")]),_c('vs-button',{attrs:{\"size\":\"small\",\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.requestAssign()}}},[_vm._v(\"Asignar\")])],1),_c('vs-divider'),_c('div',{staticClass:\"leads-list\"},[_c('ul',{staticClass:\"columns\"},_vm._l((_vm.pgmApplicantsSelected),function(lead,index){return _c('li',[_vm._v(\" \"+_vm._s(lead.title))])}),0)]),(!_vm.hasSelected)?_c('div',{staticClass:\"flex justify-center items-center h-64\"},[_c('span',{staticClass:\"text-center\"},[_vm._v(\"No hay prospectos seleccionados\")])]):_vm._e()],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"map\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.init()}}},[(!_vm.isSearching)?_c('vs-button',{staticClass:\"mb-2\",attrs:{\"size\":\"small\",\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();_vm.init(), _vm.isSearching = true}}},[_vm._v(\"Seleccionar\")]):_c('vs-button',{staticClass:\"mb-2\",attrs:{\"size\":\"small\",\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.clearSelection()}}},[_vm._v(\"Limpiar selección\")]),_c('gmap-map',{ref:\"map\",staticStyle:{\"width\":\"100%\",\"height\":\"500px\"},attrs:{\"center\":_vm.center,\"zoom\":5.5,\"options\":_vm.options}},[_vm._l((_vm.markers),function(m,index){return _c('gmap-marker',{key:index,attrs:{\"position\":m.position,\"title\":m.title,\"clickable\":true,\"draggable\":false},on:{\"click\":function($event){return _vm.centerChanged(m)}}})}),_c('gmap-info-window',{attrs:{\"options\":{\n maxWidth: 300,\n pixelOffset: { width: 0, height: -35 }\n },\"position\":_vm.infoWindow.position,\"opened\":_vm.infoWindow.open},on:{\"closeclick\":function($event){_vm.infoWindow.open=false}}},[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.infoWindow.template)}})]),_vm._l((_vm.newMarkers),function(m,index){return _c('gmap-marker',{key:`SELECTED-${index}`,attrs:{\"position\":m.position,\"title\":m.title,\"clickable\":true,\"draggable\":false},on:{\"click\":function($event){return _vm.centerChanged(m)}}})})],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./GoogleMap.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!./GoogleMap.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GoogleMap.vue?vue&type=template&id=a1ed4174&\"\nimport script from \"./GoogleMap.vue?vue&type=script&lang=js&\"\nexport * from \"./GoogleMap.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","\n\n\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!./PGMPotentialApplicantsMap.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!./PGMPotentialApplicantsMap.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PGMPotentialApplicantsMap.vue?vue&type=template&id=45b6827e&\"\nimport script from \"./PGMPotentialApplicantsMap.vue?vue&type=script&lang=js&\"\nexport * from \"./PGMPotentialApplicantsMap.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PGMPotentialApplicantsMap.vue?vue&type=style&index=0&id=45b6827e&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","\n\n\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!./potentialApplicants.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!./potentialApplicants.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./potentialApplicants.vue?vue&type=template&id=1c8553c9&\"\nimport script from \"./potentialApplicants.vue?vue&type=script&lang=js&\"\nexport * from \"./potentialApplicants.vue?vue&type=script&lang=js&\"\nimport style0 from \"./potentialApplicants.vue?vue&type=style&index=0&id=1c8553c9&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","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!./PGMPotentialApplicantsMap.vue?vue&type=style&index=0&id=45b6827e&prod&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"pp-form\"}},[_c('div',{staticClass:\"vx-row mb-4\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('vs-input',_vm._g({directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.ruleRequired),expression:\"ruleRequired\"}],staticClass:\"w-full mb-4\",attrs:{\"disabled\":_vm.isDisabled,\"name\":\"firstName\",\"label\":\"Nombre cliente *\",\"placeholder\":\"Requerido\",\"icon-pack\":\"feather\",\"danger\":_vm.hasError('firstName'),\"danger-text\":_vm.getErrorText('firstName'),\"success\":_vm.isSuccessful('firstName')},model:{value:(_vm.currentPotentialApplicant.customer_name),callback:function ($$v) {_vm.$set(_vm.currentPotentialApplicant, \"customer_name\", $$v)},expression:\"currentPotentialApplicant.customer_name\"}},{ input: e => { _vm.currentPotentialApplicant.customer_name = _vm.upper(e) } }))],1),_c('div',{staticClass:\"vx-col w-1/2\"},[_c('vs-input',_vm._g({directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.ruleRequired),expression:\"ruleRequired\"}],staticClass:\"w-full mb-4\",attrs:{\"disabled\":_vm.isDisabled,\"name\":\"applicantName\",\"label\":\"Nombre prospecto *\",\"placeholder\":\"Requerido\",\"icon-pack\":\"feather\",\"danger\":_vm.hasError('applicantName'),\"danger-text\":_vm.getErrorText('applicantName'),\"success\":_vm.isSuccessful('applicantName')},model:{value:(_vm.currentPotentialApplicant.owner_name),callback:function ($$v) {_vm.$set(_vm.currentPotentialApplicant, \"owner_name\", $$v)},expression:\"currentPotentialApplicant.owner_name\"}},{ input: e => { _vm.currentPotentialApplicant.owner_name = _vm.upper(e) } }))],1),_c('div',{staticClass:\"vx-col w-1/2\"},[_c('label',{staticClass:\"vs-input--label\",attrs:{\"for\":\"\"}},[_vm._v(\"Teléfono a 10 dígitos *\")]),_c('div',{staticClass:\"flex\"},[_c('vue-country-code',{staticClass:\"vs-custom\",attrs:{\"name\":\"dialCode\",\"data-vv-name\":\"phone\",\"enableSearchField\":true,\"searchPlaceholderText\":\"Buscar código de país\",\"enabledCountryCode\":true,\"defaultCountry\":'MX',\"preferredCountries\":['MX']},on:{\"onSelect\":_vm.onSelect}}),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.rulePhone),expression:\"rulePhone\"}],staticClass:\"w-full mb-4\",attrs:{\"disabled\":_vm.isDisabled,\"name\":\"phone\",\"type\":\"tel\",\"placeholder\":\"Requerido\",\"maxlength\":\"10\",\"icon-pack\":\"feather\",\"danger\":_vm.hasError('phone'),\"danger-text\":_vm.getErrorText('phone'),\"success\":_vm.isSuccessful('phone')},model:{value:(_vm.currentPotentialApplicant.phone),callback:function ($$v) {_vm.$set(_vm.currentPotentialApplicant, \"phone\", $$v)},expression:\"currentPotentialApplicant.phone\"}})],1)]),_c('vs-divider',[_vm._v(\"Dirección\")]),_c('div',{staticClass:\"vx-col w-1/2\"},[_c('vs-input',_vm._g({directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.ruleRequired),expression:\"ruleRequired\"}],staticClass:\"w-full mb-4\",attrs:{\"disabled\":_vm.isDisabled,\"name\":\"streetName\",\"label\":\"Calle *\",\"placeholder\":\"Requerido\",\"icon-pack\":\"feather\",\"danger\":_vm.hasError('streetName'),\"danger-text\":_vm.getErrorText('streetName'),\"success\":_vm.isSuccessful('streetName')},model:{value:(_vm.currentPotentialApplicant.address.street),callback:function ($$v) {_vm.$set(_vm.currentPotentialApplicant.address, \"street\", $$v)},expression:\"currentPotentialApplicant.address.street\"}},{ input: e => { _vm.currentPotentialApplicant.address.street = _vm.upper(e) } }))],1),_c('div',{staticClass:\"vx-col w-1/2\"},[_c('vs-input',_vm._g({directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.ruleRequired),expression:\"ruleRequired\"}],staticClass:\"w-full mb-4\",attrs:{\"disabled\":_vm.isDisabled,\"name\":\"zipcode\",\"label\":\"Código Postal (CP) *\",\"placeholder\":\"Requerido\",\"icon-pack\":\"feather\",\"danger\":_vm.hasError('zipcode'),\"danger-text\":_vm.getErrorText('zipcode'),\"success\":_vm.isSuccessful('zipcode')},model:{value:(_vm.currentPotentialApplicant.address.zipcode),callback:function ($$v) {_vm.$set(_vm.currentPotentialApplicant.address, \"zipcode\", $$v)},expression:\"currentPotentialApplicant.address.zipcode\"}},{ input: e => { _vm.currentPotentialApplicant.address.zipcode = _vm.upper(e) } }))],1),_c('div',{staticClass:\"vx-col w-1/2\"},[_c('vs-input',_vm._g({directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.ruleRequired),expression:\"ruleRequired\"}],staticClass:\"w-full mb-4\",attrs:{\"disabled\":_vm.isDisabled,\"name\":\"extNumber\",\"label\":\"Número exterior *\",\"placeholder\":\"Requerido\",\"icon-pack\":\"feather\",\"danger\":_vm.hasError('extNumber'),\"danger-text\":_vm.getErrorText('extNumber'),\"success\":_vm.isSuccessful('extNumber')},model:{value:(_vm.currentPotentialApplicant.address.ext_number),callback:function ($$v) {_vm.$set(_vm.currentPotentialApplicant.address, \"ext_number\", $$v)},expression:\"currentPotentialApplicant.address.ext_number\"}},{ input: e => { _vm.currentPotentialApplicant.address.ext_number = _vm.upper(e) } }))],1),_c('div',{staticClass:\"vx-col w-1/2\"},[_c('vs-input',_vm._g({staticClass:\"w-full mb-4\",attrs:{\"disabled\":_vm.isDisabled,\"name\":\"intNumber\",\"label\":\"Número interior\",\"placeholder\":\"Requerido\",\"icon-pack\":\"feather\",\"danger\":_vm.hasError('intNumber'),\"danger-text\":_vm.getErrorText('intNumber'),\"success\":_vm.isSuccessful('intNumber')},model:{value:(_vm.currentPotentialApplicant.address.int_number),callback:function ($$v) {_vm.$set(_vm.currentPotentialApplicant.address, \"int_number\", $$v)},expression:\"currentPotentialApplicant.address.int_number\"}},{ input: e => { _vm.currentPotentialApplicant.address.int_number = _vm.upper(e) } }))],1),_c('div',{staticClass:\"vx-col w-1/2\"},[_c('vs-input',_vm._g({directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.ruleRequired),expression:\"ruleRequired\"}],staticClass:\"w-full mb-4\",attrs:{\"disabled\":_vm.isDisabled,\"name\":\"betweenStreet1\",\"label\":\"Entre calle 1 *\",\"placeholder\":\"Requerido\",\"icon-pack\":\"feather\",\"danger\":_vm.hasError('betweenStreet1'),\"danger-text\":_vm.getErrorText('betweenStreet1'),\"success\":_vm.isSuccessful('betweenStreet1')},model:{value:(_vm.currentPotentialApplicant.address.between_street_1),callback:function ($$v) {_vm.$set(_vm.currentPotentialApplicant.address, \"between_street_1\", $$v)},expression:\"currentPotentialApplicant.address.between_street_1\"}},{ input: e => { _vm.currentPotentialApplicant.address.between_street_1 = _vm.upper(e) } }))],1),_c('div',{staticClass:\"vx-col w-1/2\"},[_c('vs-input',_vm._g({directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.ruleRequired),expression:\"ruleRequired\"}],staticClass:\"w-full mb-4\",attrs:{\"disabled\":_vm.isDisabled,\"name\":\"betweenStreet2\",\"label\":\"Entre calle 2 *\",\"placeholder\":\"Requerido\",\"icon-pack\":\"feather\",\"danger\":_vm.hasError('betweenStreet2'),\"danger-text\":_vm.getErrorText('betweenStreet2'),\"success\":_vm.isSuccessful('betweenStreet2')},model:{value:(_vm.currentPotentialApplicant.address.between_street_2),callback:function ($$v) {_vm.$set(_vm.currentPotentialApplicant.address, \"between_street_2\", $$v)},expression:\"currentPotentialApplicant.address.between_street_2\"}},{ input: e => { _vm.currentPotentialApplicant.address.between_street_2 = _vm.upper(e) } }))],1)],1),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[(_vm.errorMessage)?_c('vs-alert',{attrs:{\"color\":\"danger\"}},[_c('span',[_vm._v(_vm._s(_vm.errorMessage))])]):_vm._e()],1)]),_c('div',{staticClass:\"vx-row my-5 justify-end\"},[_c('div',{staticClass:\"vx-col w-1/2\"},[_c('div',{staticClass:\"flex flex-wrap items-center justify-end\"},[_c('vs-button',{staticClass:\"ml-3 mt-2\",attrs:{\"disabled\":_vm.isDisabled,\"color\":\"dark\"},on:{\"click\":function($event){return _vm.handleSave()}}},[_vm._v(\"Guardar\")])],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\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!./CreatePotentialApplicantControl.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!./CreatePotentialApplicantControl.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CreatePotentialApplicantControl.vue?vue&type=template&id=6c846913&\"\nimport script from \"./CreatePotentialApplicantControl.vue?vue&type=script&lang=js&\"\nexport * from \"./CreatePotentialApplicantControl.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","export default {\n methods: {\n format_price(value, decimales = 0) {\n let val = (value / 1).toFixed(decimales).replace(\",\", \".\");\n return val.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n },\n costFormat(value) {\n if (!value) { return \"$0\"; }\n if (value == \"Pendiente\") { return value; }\n else {\n return \"$\" + this.format_price(value, 2);\n }\n },\n costFormatNoCents(value) {\n if (!value) { return \"$0\"; }\n if (value === \"Pendiente\") { return value; }\n else return \"$\" + this.format_price(value);\n },\n prcgFormat(value, decimales = 0) {\n if (!value) { return \"0%\"; }\n if (value == \"Pendiente\") { return value; }\n else { return value.toFixed(decimales) + \"%\"; }\n },\n decimalsFormat(value, decimales = 0) {\n if (!value) { return 0; }\n if (value == \"Pendiente\") { return 0; }\n else { return value.toFixed(decimales); }\n },\n explicitMoneyFormat(value, decimales = 2) {\n if (value == null) return \"\";\n else {\n return \"$\" + this.format_price(value, decimales);\n }\n },\n mxnFormat(value, decimales = 0) {\n if (!value) { return \"$0MXN\"; }\n else {\n return \"$\" + this.format_price(parseInt(value), decimales) + \" MXN\";\n }\n },\n moneyFormat(value) {\n if (!value) { return \"$0\"; }\n else {\n return \"$\" + this.format_price(parseInt(value), 0);\n }\n },\n decimalPercentFormat(value, decimales = 2) {\n if (!value) return \"0%\";\n else {\n return (value * 100).toFixed(decimales) + \"%\";\n }\n },\n roundedFormat(value, decimales = 2) {\n if (!value) { return 0; }\n else {\n let c = value.toFixed(decimales);\n let cd = Math.round(c);\n return cd.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n }\n },\n phoneFormat(value) {\n if (!value) return value\n else {\n return '(' + value.substr(0, 2) + ') ' + value.substr(2, 4) + '-' + value.substr(6, 4)\n }\n },\n phoneFormatV2(value) {\n if (!value) return value\n else {\n return '(' + value.substr(0, 3) + ') ' + value.substr(2, 3) + ' ' + value.substr(6, 4)\n }\n },\n visibleLastNChars(value, chars = 4) {\n if (!value) return value\n else {\n let valueString = value.toString();\n if (chars > valueString.length || chars < 0) return value\n else {\n let phoneLength = valueString.length;\n const firstChars = \"*\".repeat(phoneLength - chars);\n const last4Digits = valueString.slice(firstChars.length);\n return firstChars + last4Digits;\n }\n }\n },\n visibleOnlyLastNChars(value, chars = 4) {\n if (!value) return value\n else {\n let valueString = value.toString();\n if (chars > valueString.length || chars < 0) return value\n else {\n return valueString.slice(-4);\n }\n }\n },\n capitalizeFirstLetter(value) {\n if (!value) return value\n else {\n const arr = value.split(\" \");\n for (let i = 0; i < arr.length; i++) {\n arr[i] = arr[i].charAt(0).toUpperCase() + arr[i].slice(1);\n\n }\n\n return arr.join(\" \");\n }\n },\n //Función para validar un RFC\n isValidRfcFormat(rfc) {\n if(rfc) {\n const patternPM = \"^(([A-ZÑ&]{3})([0-9]{2})([0][13578]|[1][02])(([0][1-9]|[12][\\\\d])|[3][01])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{3})([0-9]{2})([0][13456789]|[1][012])(([0][1-9]|[12][\\\\d])|[3][0])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{3})([02468][048]|[13579][26])[0][2]([0][1-9]|[12][\\\\d])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{3})([0-9]{2})[0][2]([0][1-9]|[1][0-9]|[2][0-8])([A-Z0-9]{3}))$\";\n const patternPF = \"^(([A-ZÑ&]{4})([0-9]{2})([0][13578]|[1][02])(([0][1-9]|[12][\\\\d])|[3][01])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{4})([0-9]{2})([0][13456789]|[1][012])(([0][1-9]|[12][\\\\d])|[3][0])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{4})([02468][048]|[13579][26])[0][2]([0][1-9]|[12][\\\\d])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{4})([0-9]{2})[0][2]([0][1-9]|[1][0-9]|[2][0-8])([A-Z0-9]{3}))$\";\n return rfc.match(patternPM) || rfc.match(patternPF);\n } else {\n return false;\n }\n },\n //Función para validar un RFC por tipo de persona\n isValidRfcFormatByPersonType(rfc, isMoral) {\n if(rfc) {\n // Formato para PF\n let pattern = /^[A-Z]{4}(\\d{2})((0[13578]|1[02])([0-2]\\d|3[01])|(0[469]|11)([0-2]\\d|30)|(02)([0-2]\\d))([A-Z0-9]{3})$/;\n let genericRFC1 = \"XAXX010101000\";\n let genericRFC2 = \"XEXX010101000\";\n if(isMoral) {\n // Formato para PM\n pattern = /^[A-Z]{3}(\\d{2})((0[13578]|1[02])([0-2]\\d|3[01])|(0[469]|11)([0-2]\\d|30)|(02)([0-2]\\d))([A-Z0-9]{3})$/;\n }\n\n return rfc.match(pattern) && rfc != genericRFC1 && rfc != genericRFC2;\n } else {\n return false;\n }\n },\n //Función para validar una CURP\n isValidCurpFormat(curp) {\n if(curp) {\n const pattern = /^([A-Z][AEIOUX][A-Z]{2}\\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])[HM](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\\d])(\\d)$/;\n let isValid = curp.match(pattern);\n if (!isValid) //Coincide con el formato general?\n return false;\n //Fuente https://consultas.curp.gob.mx/CurpSP/\n let diccionario = \"0123456789ABCDEFGHIJKLMNÑOPQRSTUVWXYZ\";\n let lngSuma = 0.0;\n let lngDigito = 0.0;\n for (let i = 0; i < 17; i++) {\n lngSuma = lngSuma + diccionario.indexOf(isValid[1].charAt(i)) * (18 - i);\n }\n lngDigito = 10 - lngSuma % 10;\n let verifierDigit = (lngDigito != 10) ? lngDigito : 0;\n return isValid[2] == verifierDigit;\n } else {\n return false;\n }\n },\n anonymousFormatPhone(value){\n if (value === \"\") return value\n else {\n return value.replace(/^(?:\\D*\\d){8}/g, \"********\");\n }\n },\n genderTranslate(value) {\n return value == 1 ? \"Hombre\" : \"Mujer\";\n },\n //Función para obtener el icono del tipo de proyecto o todos con el param 'all'\n getLoanTypeIcon(loanType) {\n const loanTypeIcons = [\n {\n id: 1,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-solar.png\",\n filename: \"Crédito Solar\"\n },\n {\n id: 4,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-pyme.png\",\n filename: \"Crédito PyME\"\n },\n {\n id: 5,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-pers.png\",\n filename: \"Crédito Personal\"\n },\n {\n id: 6,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-auto.png\",\n filename: \"Crédito Automotriz\"\n }\n ];\n\n if (loanType == \"all\") {\n return loanTypeIcons;\n } else {\n let icon = loanTypeIcons.find(lt => lt.id === loanType);\n let url = \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-solar.png\";\n if (icon) {\n url = icon.url;\n }\n return url;\n }\n },\n getAmountWithNoCommissionTax(amount){\n if (amount <= 0) {\n return 0;\n }\n const processingAdministrationCommission = .02;\n const mexicoTaxIva = .16;\n let commissionWithTaxPercentage = processingAdministrationCommission*mexicoTaxIva;\n let percentage = (1+processingAdministrationCommission+commissionWithTaxPercentage);\n let amountNoCommision = amount/percentage;\n return amountNoCommision;\n }\n }\n}"],"sourceRoot":""}