{"version":3,"sources":["webpack:///./src/enums/FormaGeneraSolicitudEnum.ts","webpack:///./src/enums/TipoRequisitoEnum.ts","webpack:///./src/models/RequisitoBeneficio.ts","webpack:///./src/views/RegistroIngresoTardio.vue?09b4","webpack:///./src/utils/DetectCedula.ts","webpack:///./src/views/RegistroIngresoTardio.vue","webpack:///./src/views/RegistroIngresoTardio.vue?60ca","webpack:///./src/views/RegistroIngresoTardio.vue?967b","webpack:///./src/views/RegistroIngresoTardio.vue?1bb0","webpack:///./src/utils/ConvertBase64ToFile.ts","webpack:///./src/assets/images/ejemplo-cedula-frontal.jpg","webpack:///./node_modules/core-js/modules/es6.string.code-point-at.js","webpack:///./src/models/Esigner.ts","webpack:///./src/models/FirmanteContratoIngresoTardio.ts","webpack:///./src/assets/images/ejemplo-cedula-al-dorso.jpg","webpack:///./src/utils/SanitizeFileName.ts"],"names":["FormaGeneraSolicitudEnum","TipoRequisitoEnum","ParametrosValidacionRequisitosBeneficio","_createClass","cedulaAfiliado","codCuenta","tipoRequisito","codBeneficio","_classCallCheck","_defineProperty","detectCedula","file","type","Promise","resolve","reject","image","Image","src","URL","createObjectURL","onload","_largestContour","rect","window","cv","imread","gray","Mat","edges","contours","MatVector","hierarchy","cvtColor","COLOR_RGBA2GRAY","equalizeHist","GaussianBlur","Size","Canny","kernel","getStructuringElement","MORPH_RECT","morphologyEx","MORPH_CLOSE","findContours","RETR_EXTERNAL","CHAIN_APPROX_SIMPLE","maxArea","largestContour","i","size","contour","get","area","contourArea","approx","approxPolyDP","arcLength","aspectRatio","Math","abs","rows","boundingRect","delete","x","max","y","width","min","cols","height","cropped","roi","console","warn","canvas","document","createElement","ctx","getContext","drawImage","base64Image","toDataURL","onerror","Error","render","_vm","this","_c","_self","_setupProxy","directives","name","rawName","value","isEditing","expression","staticClass","_v","ref","attrs","scopedSlots","_u","key","fn","props","_l","formWizardButtons","formWizardButton","formWizardButtonIndex","activeTabIndex","tabButton","index","display","isLoadingButton","loading","className","nativeOn","$event","action","then","success","nextAction","_s","text","_e","firstStepIsValid","currentPresolicitudEsModificable","previousCedulaTraseraRequiereCambioDoc","previousCedulaFrontalRequiereCambioDoc","showCedulaFrontalInput","proxy","require","fileConfig","cedulaFrontalServerMessage","triggerInputValidations","on","onAddOrRemoveCedulaFrontalFile","cedulaFrontalValidationChanged","previousCedulaFrontalFiles","filter","requiereCambioDoc","previousCedulaFrontalFile","ruta","secuenciaDocumento","motivosRechazo","length","motivoRechazo","existPreviousCedulaFrontalFiles","getFileName","onRemoveCedulaFrontalFile","loadingFiles","showCedulaTraseraInput","cedulaTraseraServerMessage","onAddOrRemoveCedulaTraseraFile","cedulaTraseraValidationChanged","previousCedulaTraseraFiles","previousCedulaTraseraFile","existPreviousCedulaTraseraFiles","onRemoveCedulaTraseraFile","secondStepIsValid","datosCedulaCoincideConBD","resultValidacionCedula","cedulaCoincide","domProps","target","composing","nombreCoincide","user","getNombreCompleto","fechaNacimientoCoincide","fechaNacimientoAfiliado","tiposDocumento","tiposDocumentoLoading","previousDocumentoRequiereCambioDoc","getTiposDocumento","_ref","option","descripcion","model","tipoDocumento","callback","$$v","slot","existPreviousDocumentoFiles","documentoServerMessage","onAddOrRemoveDocumentoFile","documentoValidationChanged","previousDocumentoFiles","previousDocumentoFile","desRequisito","onRemoveDocumentoFile","documentosAdicionales","documentoAdicional","allowedFilesDetails","refInFor","label","allowedFileTypesSeparatedByCommas","labelFileTypeNotAllowed","labelFileExpectedTypes","onAddOrRemoveDocumentoAdicionalFile","showDocumentoAdicionalFilesRequiredError","documentoAdicionalFilesRequiredMessage","showInvalidDocumentoAdicionalFilesTypeError","invalidFileTypeErrorMessage","showInvalidDocumentoAdicionalFilesSizeError","invalidFileSizeErrorMessage","existPreviousDocumentoAdicionalFiles","previousDocumentoAdicionalFiles","previousDocumentoAdicionalFile","onRemoveDocumentoAdicionalFile","thirdStepIsValid","numberFormat","saldoCCI","toFixed","_ref2","errors","modalidadesRetiroIT","modalidadesRetiroITLoading","previousReferenciaDocumentoBancarioRequiereCambioDoc","getModalidadRetiroIT","_ref3","codigo","modalidadRetiroIT","inputMontoRetiroRules","_ref4","montoRetiro","isParcial","onInputNumber","staticStyle","metodosDePago","metodoDePago","class","comentario","_ref5","metodosDePagoLoading","getMetodosDePago","_ref6","metodoDePagoIsTransferenciaBancaria","_ref7","bancos","bancosLoading","getBancos","_ref8","nombreBanco","banco","_ref9","tiposDeCuenta","tiposDeCuentaLoading","getTiposDeCuenta","_ref10","description","tipoDeCuenta","inputNumeroCuentaRules","_ref11","numeroCuenta","mascaraCuenta","existPreviousReferenciaDocumentoBancarioFiles","fileInputRefDocumentoBancarioEsRequerido","referenciaDocumentoBancarioFilesRequiredMessage","referenciaDocumentoBancarioServerValidationMessage","onAddOrRemoveReferenciaDocumentoBancarioFile","referenciaDocumentoBancarioValidationChanged","previousReferenciaDocumentoBancarioFiles","previousReferenciaDocumentoBancarioFile","onRemoveReferenciaDocumentoBancarioFile","_ref12","viasNotificacion","viasNotificacionLoading","getViasNotificacion","_ref13","viaNotificacion","valorViaNotificacionActual","modificaValorViaNotificacion","required","emailAFP","_ref14","valorViaNotificacion","concat","portalUrl","staticRenderFns","Vue","directive","update","el","binding","vnode","mascara","data","mask","im","Inputmask","extend","validate","params","inputContains_","indexOf","message","RegistroIngresoTardio","_Vue","_this2","_len","arguments","args","Array","_key","_callSuper","process","RegistroPresolicitud","AfiliadoService","ValidationService","IngresoTardioService","firstStep","tabIndex","formWizardChildrenIndex","secondStep","thirdStep","fourthStep","fifthStep","tipoDocumentoCedula","tipoDocumentoDocumento","tipoDocumentoReferenciaDocumentoBancario","tipoDocumentoDocumentosAdicionales","_inherits","esAfiInactivo","$router","push","FileConfig","addEventListener","beforeUnloadHandler","_mounted","_asyncToGenerator","regeneratorRuntime","mark","_callee","currentDate","hourDifference","hourDifferenceGreaterThan24","currentStep","_this3","wrap","_context","prev","next","removeParcial","ingresoTardioWizard","$refs","updateUser","$route","query","numeroSolicitud","Number","showLoadingAlert","getPresolicitud","currentPresolicitud","sent","solCancelada","showLoadingConfirm","Swal","close","abrupt","afiliadoService","getCurrentDate","Date","getTime","fechaSolicitud","validacionTssActualizadaDespues24hours","validarTss","getDocumentosPresolicitud","documentosCurrentPresolicitud","ValidacionCedulaItResp","showAsesoriaAlert","verificarCedula","_this","nextTab","resetSecondStep","disableStep","formWizardSteps","enableStep","prevTab","omitirActualizacionDatos","documentosAdicionalesAreValid","documentoIsValid","callInputValidation","registroIngresoTardioForm","formIsValid","existReferenciaDocumentoBancarioFiles","inputReferenciaDocumentoBancarioIsValid","completarPresolicitud","result","changeTab","generaSolicitudAutomatica","navigateToSolicitudes","firmarContratoIngresoTardio","removeEventListener","signUrlContrato","parent","location","href","getTiposDocumentoByStep","setPreviousFiles","forEach","setFieldValues","permiteFirma","moveToFifthStepAndDisableTheRest","setCurrentStepBasedOnDocumentsThatRequireToBeChanged","stop","mounted","apply","siEstaCreandoYEsTransferencia","siIsEditYEsTransferenciaYDocRequiereCambioYNoTieneComprobante","e","preventDefault","returnValue","_this4","cedulaFrontalThatRequireChange","cedulaTraseraThatRequireChange","removeCedulaFrontalFile","removeCedulaTraseraFile","previousDocumentoFilesThatRequireChange","doc","removeDocumentoFile","previousReferenciaDocumentoBancarioFilesThatRequireChange","removeReferenciaDocumentoBancarioFile","previousDocumentoAdicionalFilesThatRequireChange","removeDocumentoAdicionalFile","_updateUser","_callee2","_this5","_context2","consultaFallecido","ConsultaFallecido","cedulaBeneficiario","cedula","consultarBeneficiario","response","consultaValidacionBeneficiarioResp","entity","correoElectronico1","email1","correoElectronico2","email2","celular","setUserLoggedAction","catch","_validarTss","_callee4","_this6","_context4","validationService","validateIngresoTardio","_callee3","_context3","aplicaTramite","setValidacionCertificacionTssAction","invalidarSolicitud","_x","error","showErrorAlert","_validarRequisitosYTss","_callee6","_this7","_context6","_callee5","parametrosValidacionRequisitosBeneficio","requisitosBeneficio","_context5","Validacion","TipoBeneficioEnum","IngresoTardio","validarRequisitosBeneficios","requisitos","every","cumpleRequisito","_x2","_x3","validarRequisitosYTss","newValue","oldValue","splice","numeroCuentaInput","referenciaDocumentoBancarioFiles","_this8","debounceTimeout","clearTimeout","monRetiro","setTimeout","step","$children","$el","localName","style","pointerEvents","cleanTipoDocumentoSelect","undefined","documentoFiles","_this$documentosAdici","_this9","tiposDocumentoByDocumento","_toConsumableArray","includes","esAdicional","_getTiposDocumentoByStep","_callee8","_this10","_context8","_callee7","tipoDocumentosStep1","tipoDocumentosStep3","_context7","ingresoTardioService","documentosRequeridos","String","entities","codRequisito","toString","map","_x4","_x5","presolicitud","presolicitudClone","_objectSpread","numeroCertTSS","validacionCertificacionTss","numeroCertificacion","fechaCertTSS","fecha","estadoCertTSS","estado","_this11","find","formaPago","codigoBanco","idBanco","tipoCuenta","tipRetiro","_getPresolicitud","_callee9","_this12","_context9","ParametrosObtencionPresolicitud","solicitudes","_getDocumentosPresolicitud","_callee10","_this13","_context10","archivos","fire","icon","timerProgressBar","onBeforeOpen","showLoading","allowOutsideClick","onClose","showConfirmButton","confirmButtonText","validaMascara","lenMinimaCuenta","lenMaximaCuenta","_this$modalidadRetiro","getMinimoRetiro","getMaximoRetiro","_this$modalidadRetiro2","montoMinimo","_this$modalidadRetiro3","esModificable","inputCedulaFrontalIsValid","inputCedulaTraseraIsValid","formatCedula","formatFechaAfpSiembra","fechaNacimientoDate","cedulaFrontalFiles","cedulaTraseraFiles","_this14","documentoAdicionalTieneArchivo","documentoAdicionalFiles","$forceUpdate","event","replace","fileName","showCancelButton","cancelButtonText","confirmButtonColor","cancelButtonColor","reverseButtons","archivoPresolicitud","_this15","fileRemoveConfirmAlert","removedFiles","_this16","documentoPresolicitud","_this17","_this18","_this19","fileUrl","split","_onAddOrRemoveCedulaFrontalFile","_callee11","files","_iterator","_step","base64Pdf","images","_files","_context11","cedulaIsValid","processedBase64Images","_createForOfIteratorHelper","s","n","done","convertFileToBase64","convertPdfToImage","File","Uint8Array","from","atob","m","codePointAt","t0","t1","f","finish","convertBase64ToFile","_x6","isValid","_onAddOrRemoveCedulaTraseraFile","_callee12","_iterator2","_step2","_files2","_context12","log","_x7","sanitizedFiles","cleanName","sanitizeFileName","_this20","pond","getFiles","anyFileTypeInvalid","some","allowedFileTypes","anyFileExtensionInvalid","notAllowExtensions","substring","anyFileSizeInvalid","fileSizeMbLimit","_getTiposDocumento","_callee13","_context13","_getViasNotificacion","_callee14","term","_args14","_context14","_getBancos","_callee15","_args15","_context15","_getMetodosDePago","_callee16","_this21","_args16","_context16","monto","topeMinimo","topeMaximo","_getTiposDeCuenta","_callee17","_args17","_context17","_getModalidadRetiroIT","_callee18","_context18","inputsCedulaAreValid","existPreviousCedulaFiles","numeroSolicitudCreada","_verificarCedula","_callee19","_this22","_context19","validateCedulaAfiliadoIT","ValidacionCedulaIt","cedulaFrontal","cedulaTrasera","respCode","_invalidarSolicitud","_callee20","_this23","_context20","registroPresolicitud","tipoBeneficio","docsActDatos","referenciaDocumentoBancario","_completarPresolicitud","_callee21","_this24","_context21","registrarPresolicitud","_registrarPresolicitud","_callee23","packageId","_this25","_args23","_context23","_callee22","_context22","clearUnusedFields","showReferenciaDocumentoBancarioFilesRequiredError","showReferenciaDocumentoBancarioServerValidationMessage","idTransFirma","formaGeneraSolicitud","Automatica","Manual","eMail","numTelefono","setDatosTss","removeFilesThatRequireChanges","archivosEliminados","cedulaFiles","cedulaFile","documentoFile","referenciaDocumentoBancarioFile","documentoAdicionalFile","_this25$registroPreso","tiposDocumentoDocumentosAdicionales","flat","_x8","_navigateToSolicitudes","_callee24","_this26","_context24","_firmarContratoIngresoTardio","_callee25","_this27","_context25","firmante","FirmanteContratoIngresoTardio","getNombres","getApellidos","codCiudad","telefonoResidencia","signingUrl","_this28","html","isConfirmed","registrarAsesoria","minimoPension","__decorate","Getter","Action","Watch","Component","components","CustomFileInput","component","base64Images","filename","byteString","arrayBuffer","ArrayBuffer","intArray","charCodeAt","blob","Blob","fileSuffix","reader","FileReader","readAsDataURL","module","exports","$export","$at","P","pos","Esigner","email","firstName","lastName","phoneNumber","_Esigner","nacionalidad","direccionCompleta","provincia","saldoCCILetras","fechaNacimiento","telefonoResidencial","normalize"],"mappings":"gHAAA,IAAKA,GAAL,SAAKA,GACDA,EAAA,kBACAA,EAAA,eAFJ,CAAKA,MAAwB,KAKdA,U,kCCLf,IAAKC,GAAL,SAAKA,GACDA,EAAA,kBACAA,EAAA,kBAFJ,CAAKA,MAAiB,KAKPA,U,8GCgBTC,EAAuCC,gBACzC,SAAAD,EACWE,EACAC,EACAC,EACAC,GAAgCC,eAAA,KAAAN,GAAAO,eAAA,8BAAAA,eAAA,yBAAAA,eAAA,6BAAAA,eAAA,4BAHhC,KAAAL,iBACA,KAAAC,YACA,KAAAC,gBACA,KAAAC,mB,yDC1Bf,W,kCCAM,SAAUG,EAAaC,EAAYC,GACrC,OAAO,IAAIC,SAAQ,SAACC,EAASC,GACzB,IAAMC,EAAQ,IAAIC,MAClBD,EAAME,IAAMC,IAAIC,gBAAgBT,GAChCK,EAAMK,OAAS,WAAK,IAAAC,EAMZC,EALAL,EAAMM,OAAOC,GAAGC,OAAOV,GACvBW,EAAO,IAAIH,OAAOC,GAAGG,IACrBC,EAAQ,IAAIL,OAAOC,GAAGG,IACtBE,EAAW,IAAIN,OAAOC,GAAGM,UACzBC,EAAY,IAAIR,OAAOC,GAAGG,IAI9BJ,OAAOC,GAAGQ,SAASf,EAAKS,EAAMH,OAAOC,GAAGS,iBAGxCV,OAAOC,GAAGU,aAAaR,EAAMA,GAG7BH,OAAOC,GAAGW,aAAaT,EAAMA,EAAM,IAAIH,OAAOC,GAAGY,KAAK,EAAG,GAAI,GAG7Db,OAAOC,GAAGa,MAAMX,EAAME,EAAO,GAAI,KAGjC,IAAIU,EAASf,OAAOC,GAAGe,sBAAsBhB,OAAOC,GAAGgB,WAAY,IAAIjB,OAAOC,GAAGY,KAAK,EAAG,IACzFb,OAAOC,GAAGiB,aAAab,EAAOA,EAAOL,OAAOC,GAAGkB,YAAaJ,GAG5Df,OAAOC,G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,EAAA,OAAA7W,eAAA,KAAA0tB,GAElC7W,EAAAnE,EAAA,KAAAgb,EAAA,CAAMuC,EAAOC,EAAWC,EAAUC,EAAa3V,IAAQxa,eAAA4W,EAAA,gBAAA5W,eAAA4W,EAAA,oBAAA5W,eAAA4W,EAAA,mBAAA5W,eAAA4W,EAAA,sBAAA5W,eAAA4W,EAAA,iBAAA5W,eAAA4W,EAAA,uBAAA5W,eAAA4W,EAAA,4BAAA5W,eAAA4W,EAAA,oBAAA5W,eAAA4W,EAAA,0BAAA5W,eAAA4W,EAAA,yBAAA5W,eAAA4W,EAAA,mBAAA5W,eAAA4W,EAAA,0BAAA5W,eAAA4W,EAAA,8BAdhDA,EAAAoZ,QACApZ,EAAAqZ,YACArZ,EAAAsZ,WACAtZ,EAAAuZ,cACAvZ,EAAA4D,SACA5D,EAAAyZ,eACAzZ,EAAA0Z,oBACA1Z,EAAA2Z,YACA3Z,EAAAvB,kBACAuB,EAAA4Z,iBACA5Z,EAAAhK,WACAgK,EAAA6Z,kBACA7Z,EAAA8Z,sBAA2B9Z,EAGrC,OAAAlD,eAAA+Z,EAAA2C,GAAA1wB,eAAA+tB,GAjB8C,CAAQsC,I,qBCF3DN,EAAOC,QAAU,IAA0B,4C,8ECKrC,SAAUvI,EAAiBzD,GAE/B,OAAOA,EACFiN,UAAU,OACVlN,QAAQ,mBAAoB,IAC5BA,QAAQ,oBAAqB","file":"js/chunk-559c9a10.aebea252.js","sourcesContent":["enum FormaGeneraSolicitudEnum {\n Automatica = \"A\",\n Manual = \"M\"\n}\n\nexport default FormaGeneraSolicitudEnum;","enum TipoRequisitoEnum {\n Validacion = 'V',\n Documento = 'D'\n}\n\nexport default TipoRequisitoEnum;","import TipoBeneficioEnum from '@/enums/TipoBeneficioEnum';\nimport TipoRequisitoEnum from '@/enums/TipoRequisitoEnum';\n\nexport default class RequisitoBeneficio {\n constructor(\n public secuencia?: string,\n public aplicaTramite?: boolean,\n public requisitos?: Requisito[],\n public afiliadoInabima?: boolean\n ) {}\n}\n\nclass Requisito {\n constructor(\n public codRequisito?: number,\n public descripcion?: string,\n public esObligatorio?: boolean,\n public cumpleRequisito?: boolean,\n ) {}\n}\n\nclass ParametrosValidacionRequisitosBeneficio {\n constructor(\n public cedulaAfiliado?: string,\n public codCuenta?: string,\n public tipoRequisito?: TipoRequisitoEnum,\n public codBeneficio?: TipoBeneficioEnum\n ) {}\n}\nexport { Requisito, ParametrosValidacionRequisitosBeneficio }","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RegistroIngresoTardio.vue?vue&type=style&index=0&id=6dc8700e&prod&scoped=true&lang=css\"","export function detectCedula(file: File, type: string): Promise {\n return new Promise((resolve, reject) => {\n const image = new Image();\n image.src = URL.createObjectURL(file);\n image.onload = () => {\n let src = window.cv.imread(image);\n let gray = new window.cv.Mat();\n let edges = new window.cv.Mat();\n let contours = new window.cv.MatVector();\n let hierarchy = new window.cv.Mat();\n let rect;\n\n // Convertir la imagen a escala de grises\n window.cv.cvtColor(src, gray, window.cv.COLOR_RGBA2GRAY);\n\n // Aumentar el contraste mediante ecualización del histograma\n window.cv.equalizeHist(gray, gray);\n\n // Aplicar desenfoque para reducir el ruido\n window.cv.GaussianBlur(gray, gray, new window.cv.Size(5, 5), 0);\n\n // Detección de bordes con Canny (ajustar los umbrales si es necesario)\n window.cv.Canny(gray, edges, 50, 150);\n\n // Aplicar cierre morfológico para unir bordes rotos\n let kernel = window.cv.getStructuringElement(window.cv.MORPH_RECT, new window.cv.Size(5, 5));\n window.cv.morphologyEx(edges, edges, window.cv.MORPH_CLOSE, kernel);\n\n // Encontrar contornos basados en los bordes detectados\n window.cv.findContours(edges, contours, hierarchy, window.cv.RETR_EXTERNAL, window.cv.CHAIN_APPROX_SIMPLE);\n\n // Filtrar contornos para encontrar el rectángulo más grande\n let maxArea = 0;\n let largestContour = null;\n for (let i = 0; i < contours.size(); i++) {\n let contour = contours.get(i);\n let area = window.cv.contourArea(contour);\n let approx = new window.cv.Mat();\n window.cv.approxPolyDP(contour, approx, 0.02 * window.cv.arcLength(contour, true), true);\n\n // Verificar si es rectangular y ocupa una porción significativa de la imagen\n const aspectRatio = Math.abs(approx.rows - 4) < 2;\n if (area > 5000 && aspectRatio && area > maxArea) {\n maxArea = area;\n largestContour = approx;\n rect = window.cv.boundingRect(approx);\n } else {\n approx.delete();\n }\n }\n\n if (rect) {\n // Recortar solo la cédula\n rect.x = Math.max(rect.x, 0);\n rect.y = Math.max(rect.y, 0);\n rect.width = Math.min(rect.width, src.cols - rect.x);\n rect.height = Math.min(rect.height, src.rows - rect.y);\n\n let cropped = src.roi(rect);\n if (rect.width < 300 || rect.width > 401) {\n console.warn(\"No se encontró un contorno adecuado se ha enviado la imagen original.\");\n // Crear un canvas para mostrar la imagen original\n let canvas = document.createElement('canvas');\n let ctx = canvas.getContext('2d');\n canvas.width = image.width;\n canvas.height = image.height;\n ctx?.drawImage(image, 0, 0, image.width, image.height);\n\n // Convertir la imagen original a Base64\n const base64Image = canvas.toDataURL('image/png');\n resolve(base64Image);\n }\n else{\n \n // Crear un canvas para mostrar la imagen recortada\n let canvas = document.createElement('canvas');\n canvas.width = rect.width;\n canvas.height = rect.height;\n let ctx = canvas.getContext('2d');\n ctx?.drawImage(image, rect.x, rect.y, rect.width, rect.height, 0, 0, rect.width, rect.height);\n\n // Convertir la imagen del canvas a Base64\n const base64Image = canvas.toDataURL('image/png');\n resolve(base64Image);\n\n cropped.delete();\n }\n } else {\n console.warn(\"No se encontró un contorno adecuado.\");\n\n // Crear un canvas para mostrar la imagen original\n let canvas = document.createElement('canvas');\n let ctx = canvas.getContext('2d');\n canvas.width = image.width;\n canvas.height = image.height;\n ctx?.drawImage(image, 0, 0, image.width, image.height);\n\n // Convertir la imagen original a Base64\n const base64Image = canvas.toDataURL('image/png');\n resolve(base64Image);\n }\n\n // Limpiar\n src.delete(); gray.delete(); edges.delete();\n contours.delete(); hierarchy.delete();\n largestContour?.delete();\n };\n\n image.onerror = () => {\n reject(new Error(\"Error al cargar la imagen.\"));\n };\n });\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isEditing),expression:\"!isEditing\"}],staticClass:\"container tab-entry-description\"},[_c('h2',[_vm._v(\"¡Bien!\")]),_c('p',[_vm._v(\"\\n Gracias por utilizar nuestra plataforma de beneficios, con gusto te\\n acompañaremos en este proceso de solicitud. Para soporte llámanos a\\n nuestros teléfonos 809-567-2371 o 1-809-200-2371.\\n \")])]),_c('div',{staticClass:\"d-flex my-5 flex-column container mx-auto\"},[_c('h1',{staticClass:\"mx-auto mb-4 main-title\"},[_vm._v(\"\\n Registro Beneficio de Ingreso Tardío\\n \")]),_c('div',{staticClass:\"w-100 divider mb-4\"}),_c('div',{staticClass:\"mx-auto\"},[_c('form-wizard',{ref:\"ingresoTardioWizard\",attrs:{\"errorColor\":\"#ED8B2F\",\"color\":\"#ED8B2F\",\"title\":\"\",\"subtitle\":\"\"},scopedSlots:_vm._u([{key:\"footer\",fn:function(props){return _vm._l((_vm.formWizardButtons),function(formWizardButton,formWizardButtonIndex){return _c('div',{key:formWizardButtonIndex,staticClass:\"d-flex\"},[(props.activeTabIndex === formWizardButtonIndex)?[_vm._l((formWizardButton),function(tabButton,index){return [(tabButton.display())?_c('loading-button',{key:index,attrs:{\"loading\":tabButton.isLoadingButton && _vm.loading,\"className\":tabButton.className + ' mt-3'},nativeOn:{\"click\":function($event){tabButton\n .action()\n .then((success) =>\n _vm.nextAction(success, tabButton.nextAction, props)\n )}}},[_vm._v(_vm._s(tabButton.text))]):_vm._e()]})]:_vm._e()],2)})}}])},[_c('tab-content',{attrs:{\"title\":\"Registro de Cédula\",\"icon\":\"ti-id-badge\",\"beforeChange\":_vm.firstStepIsValid}},[_c('div',{staticClass:\"d-flex flex-column mt-4 mb-3\"},[_c('p',{staticClass:\"tab-sub-title mb-5\"},[_vm._v(\"\\n Es necesario que cargues tu cédula nuevamente y así validar si\\n no hay cambios en los datos.\\n \")]),_c('div',{staticClass:\"d-flex flex-column mb-4\"},[(\n !_vm.isEditing ||\n (_vm.isEditing &&\n (_vm.currentPresolicitudEsModificable ||\n _vm.previousCedulaTraseraRequiereCambioDoc ||\n _vm.previousCedulaFrontalRequiereCambioDoc))\n )?[(_vm.showCedulaFrontalInput)?[_c('h2',{staticClass:\"tab-title mb-3\"},[_vm._v(\"\\n Carga tu cédula frontal\\n \"),_c('i',{staticClass:\"fa fa-question-circle\",attrs:{\"id\":\"additional-info-icon-cedula-frontal\"}})]),_c('b-popover',{attrs:{\"target\":\"additional-info-icon-cedula-frontal\",\"placement\":\"top\",\"triggers\":\"hover focus\"},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"siembra-text mb-0\"},[_vm._v(\"Ejemplo cédula frontal\")])]},proxy:true}],null,false,3195935155)},[_c('div',[_c('img',{staticClass:\"w-100\",attrs:{\"src\":require(\"../assets/images/ejemplo-cedula-frontal.jpg\"),\"alt\":\"Ejemplo cédula frontal\"}})])]),_c('CustomFileInput',{attrs:{\"isRequired\":true,\"fileConfig\":_vm.fileConfig,\"requiredMessage\":\"Debe proporcionar la cédula frontal.\",\"serverValidationMessage\":_vm.cedulaFrontalServerMessage,\"triggerInputValidations\":_vm.triggerInputValidations},on:{\"filesAddedOrRemoved\":_vm.onAddOrRemoveCedulaFrontalFile,\"inputValidationChanged\":_vm.cedulaFrontalValidationChanged}}),(_vm.previousCedulaFrontalRequiereCambioDoc)?_vm._l((_vm.previousCedulaFrontalFiles.filter(\n (x) => x.requiereCambioDoc\n )),function(previousCedulaFrontalFile){return _c('p',{key:previousCedulaFrontalFile.ruta +\n previousCedulaFrontalFile.secuenciaDocumento,staticClass:\"error-message\"},[(\n previousCedulaFrontalFile.motivosRechazo &&\n previousCedulaFrontalFile.motivosRechazo.length >\n 0\n )?[_c('ul',_vm._l((previousCedulaFrontalFile.motivosRechazo),function(motivoRechazo,index){return _c('li',{key:index},[(motivoRechazo.motivoRechazo)?[_c('svg',{staticClass:\"bi bi-x-circle\",attrs:{\"width\":\"1em\",\"height\":\"1em\",\"viewBox\":\"0 0 16 16\",\"fill\":\"currentColor\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z\"}}),_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M11.854 4.146a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708-.708l7-7a.5.5 0 0 1 .708 0z\"}}),_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M4.146 4.146a.5.5 0 0 0 0 .708l7 7a.5.5 0 0 0 .708-.708l-7-7a.5.5 0 0 0-.708 0z\"}})]),_vm._v(\"\\n \"+_vm._s(motivoRechazo.motivoRechazo)+\"\\n \")]:_vm._e()],2)}),0)]:_vm._e()],2)}):_vm._e()]:_vm._e()]:_vm._e(),_c('div',[(\n _vm.existPreviousCedulaFrontalFiles &&\n !_vm.previousCedulaTraseraRequiereCambioDoc &&\n !_vm.previousCedulaFrontalRequiereCambioDoc\n )?_c('div',[_c('h2',{staticClass:\"tab-title mx-auto mb-3\"},[_vm._v(\"Cédula frontal\")]),_vm._l((_vm.previousCedulaFrontalFiles),function(previousCedulaFrontalFile){return _c('div',{key:previousCedulaFrontalFile.secuenciaDocumento},[_c('ArchivoSolicitudCard',{attrs:{\"archivo\":previousCedulaFrontalFile,\"fileName\":_vm.getFileName(previousCedulaFrontalFile.ruta),\"allowsRemove\":_vm.isEditing && _vm.currentPresolicitudEsModificable},on:{\"removeFile\":function($event){return _vm.onRemoveCedulaFrontalFile($event)}}})],1)})],2):_vm._e(),(!_vm.showCedulaFrontalInput && _vm.loadingFiles)?_c('div',{staticClass:\"text-center\"},[_c('div',{staticClass:\"spinner-border\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])])]):_vm._e()])],2),_c('div',{staticClass:\"d-flex flex-column\"},[(\n !_vm.isEditing ||\n (_vm.isEditing &&\n (_vm.currentPresolicitudEsModificable ||\n _vm.previousCedulaTraseraRequiereCambioDoc ||\n _vm.previousCedulaFrontalRequiereCambioDoc))\n )?[(_vm.showCedulaTraseraInput)?[_c('h2',{staticClass:\"tab-title mb-3\"},[_vm._v(\"\\n Carga el dorso de tu cédula\\n \"),_c('i',{staticClass:\"fa fa-question-circle\",attrs:{\"id\":\"additional-info-icon-cedula-al-dorso\"}})]),_c('b-popover',{attrs:{\"target\":\"additional-info-icon-cedula-al-dorso\",\"placement\":\"top\",\"triggers\":\"hover focus\"},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"siembra-text mb-0\"},[_vm._v(\"Ejemplo dorso cédula\")])]},proxy:true}],null,false,2118795450)},[_c('div',[_c('img',{staticClass:\"w-100\",attrs:{\"src\":require(\"../assets/images/ejemplo-cedula-al-dorso.jpg\"),\"alt\":\"Ejemplo dorso cédula\"}})])]),_c('CustomFileInput',{attrs:{\"isRequired\":true,\"fileConfig\":_vm.fileConfig,\"requiredMessage\":\"Debe proporcionar el dorso de la cédula.\",\"serverValidationMessage\":_vm.cedulaTraseraServerMessage,\"triggerInputValidations\":_vm.triggerInputValidations},on:{\"filesAddedOrRemoved\":_vm.onAddOrRemoveCedulaTraseraFile,\"inputValidationChanged\":_vm.cedulaTraseraValidationChanged}}),(_vm.previousCedulaTraseraRequiereCambioDoc)?_vm._l((_vm.previousCedulaTraseraFiles.filter(\n (x) => x.requiereCambioDoc\n )),function(previousCedulaTraseraFile){return _c('p',{key:previousCedulaTraseraFile.ruta +\n previousCedulaTraseraFile.secuenciaDocumento,staticClass:\"error-message\"},[(\n previousCedulaTraseraFile.motivosRechazo &&\n previousCedulaTraseraFile.motivosRechazo.length >\n 0\n )?[_c('ul',_vm._l((previousCedulaTraseraFile.motivosRechazo),function(motivoRechazo,index){return _c('li',{key:index},[(motivoRechazo.motivoRechazo)?[_c('svg',{staticClass:\"bi bi-x-circle\",attrs:{\"width\":\"1em\",\"height\":\"1em\",\"viewBox\":\"0 0 16 16\",\"fill\":\"currentColor\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z\"}}),_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M11.854 4.146a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708-.708l7-7a.5.5 0 0 1 .708 0z\"}}),_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M4.146 4.146a.5.5 0 0 0 0 .708l7 7a.5.5 0 0 0 .708-.708l-7-7a.5.5 0 0 0-.708 0z\"}})]),_vm._v(\"\\n \"+_vm._s(motivoRechazo.motivoRechazo)+\"\\n \")]:_vm._e()],2)}),0)]:_vm._e()],2)}):_vm._e()]:_vm._e()]:_vm._e(),_c('div',[(\n _vm.existPreviousCedulaTraseraFiles &&\n !_vm.previousCedulaTraseraRequiereCambioDoc &&\n !_vm.previousCedulaFrontalRequiereCambioDoc\n )?_c('div',[_c('h2',{staticClass:\"tab-title mx-auto mb-3\"},[_vm._v(\"Dorso de la cédula\")]),_vm._l((_vm.previousCedulaTraseraFiles),function(previousCedulaTraseraFile){return _c('div',{key:previousCedulaTraseraFile.secuenciaDocumento},[_c('ArchivoSolicitudCard',{attrs:{\"archivo\":previousCedulaTraseraFile,\"fileName\":_vm.getFileName(previousCedulaTraseraFile.ruta),\"allowsRemove\":_vm.isEditing && _vm.currentPresolicitudEsModificable},on:{\"removeFile\":function($event){return _vm.onRemoveCedulaTraseraFile($event)}}})],1)})],2):_vm._e(),(!_vm.showCedulaTraseraInput && _vm.loadingFiles)?_c('div',{staticClass:\"text-center\"},[_c('div',{staticClass:\"spinner-border\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])])]):_vm._e()])],2)])]),_c('tab-content',{attrs:{\"title\":\"Actualizar Datos\",\"icon\":\"ti-upload\",\"before-change\":_vm.secondStepIsValid}},[_c('div',{staticClass:\"d-flex flex-column\"},[_c('div',{staticClass:\"d-flex flex-column\"},[(!_vm.datosCedulaCoincideConBD)?[_c('p',{staticClass:\"feedback-message text-center mb-5\"},[_vm._v(\"\\n La cédula de identidad que cargaste tiene datos diferentes a\\n los registrados en nuestra base de datos.\\n \")]),(\n _vm.resultValidacionCedula &&\n !_vm.resultValidacionCedula.cedulaCoincide\n )?_c('div',{staticClass:\"mt-3\"},[_c('h2',{staticClass:\"tab-title mb-3 d-block\"},[_vm._v(\"Cédula registrada\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cedulaAfiliado),expression:\"cedulaAfiliado\"}],staticClass:\"siembra-input\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":(_vm.cedulaAfiliado)},on:{\"input\":function($event){if($event.target.composing)return;_vm.cedulaAfiliado=$event.target.value}}})]):_vm._e(),(\n _vm.resultValidacionCedula &&\n !_vm.resultValidacionCedula.nombreCoincide\n )?_c('div',{staticClass:\"mt-3\"},[_c('h2',{staticClass:\"tab-title mb-3 d-block\"},[_vm._v(\"Nombre registrado\")]),_c('input',{staticClass:\"siembra-input\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":_vm.user.getNombreCompleto()}})]):_vm._e(),(\n _vm.resultValidacionCedula &&\n !_vm.resultValidacionCedula.fechaNacimientoCoincide\n )?_c('div',{staticClass:\"mt-3\"},[_c('h2',{staticClass:\"tab-title mb-3 d-block\"},[_vm._v(\"\\n Fecha de Nacimiento registrada\\n \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.fechaNacimientoAfiliado),expression:\"fechaNacimientoAfiliado\"}],staticClass:\"siembra-input text-capitalize\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":(_vm.fechaNacimientoAfiliado)},on:{\"input\":function($event){if($event.target.composing)return;_vm.fechaNacimientoAfiliado=$event.target.value}}})]):_vm._e(),_c('div',{staticClass:\"my-4\"},[_c('h2',{staticClass:\"tab-title mb-3\"},[_vm._v(\"\\n Puedes cargar aquí un nuevo documento que avale esta\\n diferencia y continuar con tu solicitud.\\n \")]),_c('multiselect',{attrs:{\"label\":\"descripcion\",\"track-by\":\"codRequisito\",\"placeholder\":\"Seleccione un tipo de documento\",\"open-direction\":\"bottom\",\"options\":_vm.tiposDocumento,\"searchable\":false,\"loading\":_vm.tiposDocumentoLoading,\"internal-search\":false,\"options-limit\":50,\"show-no-results\":true,\"select-label\":'',\"deselect-label\":'',\"selected-label\":'Seleccionado',\"disabled\":_vm.isEditing &&\n !_vm.currentPresolicitudEsModificable &&\n !_vm.previousDocumentoRequiereCambioDoc},on:{\"search-change\":_vm.getTiposDocumento},scopedSlots:_vm._u([{key:\"option\",fn:function({ option }){return [_c('span',{staticClass:\"custom__tag\"},[_c('span',[_vm._v(_vm._s(option.descripcion))])])]}}],null,false,1368656705),model:{value:(_vm.tipoDocumento),callback:function ($$v) {_vm.tipoDocumento=$$v},expression:\"tipoDocumento\"}},[_c('span',{attrs:{\"slot\":\"noResult\"},slot:\"noResult\"},[_vm._v(\"No se encontraron tipos de documento con esa\\n descripción.\")]),_c('span',{attrs:{\"slot\":\"noOptions\"},slot:\"noOptions\"},[_vm._v(\"No hay tipos de documento.\")])])],1),(_vm.tipoDocumento)?[(\n !_vm.isEditing ||\n (_vm.isEditing &&\n (_vm.currentPresolicitudEsModificable ||\n _vm.previousDocumentoRequiereCambioDoc))\n )?[(\n !_vm.existPreviousDocumentoFiles ||\n _vm.previousDocumentoRequiereCambioDoc\n )?[_c('h2',{staticClass:\"tab-title mb-3\"},[_vm._v(\"\\n \"+_vm._s(\"Carga tu \" + _vm.tipoDocumento.descripcion)+\"\\n \")]),_c('CustomFileInput',{attrs:{\"isRequired\":true,\"fileConfig\":_vm.fileConfig,\"requiredMessage\":'Debe proporcionar ' + _vm.tipoDocumento.descripcion,\"serverValidationMessage\":_vm.documentoServerMessage,\"triggerInputValidations\":_vm.triggerInputValidations},on:{\"filesAddedOrRemoved\":_vm.onAddOrRemoveDocumentoFile,\"inputValidationChanged\":_vm.documentoValidationChanged}}),(_vm.previousDocumentoRequiereCambioDoc)?_vm._l((_vm.previousDocumentoFiles.filter(\n (x) => x.requiereCambioDoc\n )),function(previousDocumentoFile){return _c('p',{key:previousDocumentoFile.ruta +\n previousDocumentoFile.secuenciaDocumento,staticClass:\"error-message\"},[(\n previousDocumentoFile.motivosRechazo &&\n previousDocumentoFile.motivosRechazo.length >\n 0\n )?[_c('ul',_vm._l((previousDocumentoFile.motivosRechazo),function(motivoRechazo,index){return _c('li',{key:index},[(motivoRechazo.motivoRechazo)?[_c('svg',{staticClass:\"bi bi-x-circle\",attrs:{\"width\":\"1em\",\"height\":\"1em\",\"viewBox\":\"0 0 16 16\",\"fill\":\"currentColor\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z\"}}),_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M11.854 4.146a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708-.708l7-7a.5.5 0 0 1 .708 0z\"}}),_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M4.146 4.146a.5.5 0 0 0 0 .708l7 7a.5.5 0 0 0 .708-.708l-7-7a.5.5 0 0 0-.708 0z\"}})]),_vm._v(\"\\n \"+_vm._s(motivoRechazo.motivoRechazo)+\"\\n \")]:_vm._e()],2)}),0)]:_vm._e()],2)}):_vm._e()]:_vm._e()]:_vm._e(),_c('div',[(\n _vm.existPreviousDocumentoFiles &&\n !_vm.previousDocumentoRequiereCambioDoc\n )?_c('div',_vm._l((_vm.previousDocumentoFiles),function(previousDocumentoFile){return _c('div',{key:previousDocumentoFile.secuenciaDocumento,staticClass:\"mb-3\"},[_c('h2',{staticClass:\"tab-title mx-auto mb-3\"},[_vm._v(\"\\n \"+_vm._s(previousDocumentoFile.desRequisito)+\"\\n \")]),_c('ArchivoSolicitudCard',{attrs:{\"archivo\":previousDocumentoFile,\"fileName\":_vm.getFileName(previousDocumentoFile.ruta),\"allowsRemove\":_vm.isEditing && _vm.currentPresolicitudEsModificable},on:{\"removeFile\":function($event){return _vm.onRemoveDocumentoFile($event)}}})],1)}),0):_vm._e(),(_vm.loadingFiles)?_c('div',{staticClass:\"text-center\"},[_c('div',{staticClass:\"spinner-border\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])])]):_vm._e()])]:_vm._e()]:_vm._e(),(\n !_vm.isEditing ||\n (_vm.isEditing &&\n (_vm.currentPresolicitudEsModificable ||\n _vm.documentosAdicionales.length > 0))\n )?[(\n _vm.documentosAdicionales && _vm.documentosAdicionales.length > 0\n )?_c('div',[_c('h2',{staticClass:\"main-title d-block mt-3\"},[_vm._v(\"\\n Documentos adicionales requeridos\\n \")]),_vm._l((_vm.documentosAdicionales),function(documentoAdicional,index){return _c('div',{key:index,staticClass:\"mt-3\"},[_c('h2',{staticClass:\"tab-title mb-3 d-block\"},[_vm._v(\"\\n \"+_vm._s(documentoAdicional.desRequisito)+\"\\n \")]),_c('div',[_c('p',{staticClass:\"tab-sub-title mx-auto mb-4\"},[_vm._v(\"\\n \"+_vm._s(_vm.fileConfig.allowedFilesDetails)+\"\\n \")]),_c('file-pond',{ref:'documentoAdicional' + index,refInFor:true,attrs:{\"label-idle\":_vm.fileConfig.label,\"accept\":_vm.fileConfig.allowedFileTypesSeparatedByCommas,\"labelFileTypeNotAllowed\":_vm.fileConfig.labelFileTypeNotAllowed,\"fileValidateTypeLabelExpectedTypes\":_vm.fileConfig.labelFileExpectedTypes},on:{\"addfile\":function($event){return _vm.onAddOrRemoveDocumentoAdicionalFile(\n index,\n documentoAdicional.tipoDocumento\n )},\"removefile\":function($event){return _vm.onAddOrRemoveDocumentoAdicionalFile(\n index,\n documentoAdicional.tipoDocumento\n )}}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(\n _vm.showDocumentoAdicionalFilesRequiredError[index]\n ),expression:\"\\n showDocumentoAdicionalFilesRequiredError[index]\\n \"}],staticClass:\"error-message\"},[_vm._v(_vm._s(_vm.documentoAdicionalFilesRequiredMessage))]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(\n _vm.showInvalidDocumentoAdicionalFilesTypeError[index]\n ),expression:\"\\n showInvalidDocumentoAdicionalFilesTypeError[index]\\n \"}],staticClass:\"error-message\"},[_vm._v(_vm._s(_vm.fileConfig.invalidFileTypeErrorMessage))]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(\n _vm.showInvalidDocumentoAdicionalFilesSizeError[index]\n ),expression:\"\\n showInvalidDocumentoAdicionalFilesSizeError[index]\\n \"}],staticClass:\"error-message\"},[_vm._v(_vm._s(_vm.fileConfig.invalidFileSizeErrorMessage)+\"\\n \")])],1),_c('p',{directives:[{name:\"show\",rawName:\"v-show\",value:(documentoAdicional.motivosRechazo),expression:\"documentoAdicional.motivosRechazo\"}],staticClass:\"error-message\"},[(\n documentoAdicional.motivosRechazo &&\n documentoAdicional.motivosRechazo.length > 0\n )?[_c('ul',_vm._l((documentoAdicional.motivosRechazo),function(motivoRechazo,index){return _c('li',{key:index},[(motivoRechazo.motivoRechazo)?[_c('svg',{staticClass:\"bi bi-x-circle\",attrs:{\"width\":\"1em\",\"height\":\"1em\",\"viewBox\":\"0 0 16 16\",\"fill\":\"currentColor\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z\"}}),_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M11.854 4.146a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708-.708l7-7a.5.5 0 0 1 .708 0z\"}}),_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M4.146 4.146a.5.5 0 0 0 0 .708l7 7a.5.5 0 0 0 .708-.708l-7-7a.5.5 0 0 0-.708 0z\"}})]),_vm._v(\"\\n \"+_vm._s(motivoRechazo.motivoRechazo)+\"\\n \")]:_vm._e()],2)}),0)]:_vm._e()],2)])})],2):_vm._e()]:_vm._e(),_c('div',{staticClass:\"mb-2\"},[(\n _vm.existPreviousDocumentoAdicionalFiles &&\n _vm.previousDocumentoAdicionalFiles.filter(\n (x) => !x.requiereCambioDoc\n ).length > 0\n )?_c('div',_vm._l((_vm.previousDocumentoAdicionalFiles),function(previousDocumentoAdicionalFile){return _c('div',{key:previousDocumentoAdicionalFile.secuenciaDocumento},[(!previousDocumentoAdicionalFile.requiereCambioDoc)?[_c('h2',{staticClass:\"tab-title mx-auto mb-3\"},[_vm._v(\"\\n \"+_vm._s(previousDocumentoAdicionalFile.desRequisito)+\"\\n \")]),_c('ArchivoSolicitudCard',{attrs:{\"archivo\":previousDocumentoAdicionalFile,\"fileName\":_vm.getFileName(previousDocumentoAdicionalFile.ruta),\"allowsRemove\":_vm.isEditing && _vm.currentPresolicitudEsModificable},on:{\"removeFile\":function($event){return _vm.onRemoveDocumentoAdicionalFile($event)}}})]:_vm._e()],2)}),0):_vm._e(),(_vm.loadingFiles)?_c('div',{staticClass:\"text-center\"},[_c('div',{staticClass:\"spinner-border\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])])]):_vm._e()])],2)])]),_c('tab-content',{attrs:{\"title\":\"Método de Pago\",\"icon\":\"ti-money\",\"beforeChange\":_vm.thirdStepIsValid}},[_c('ValidationObserver',{ref:\"registroIngresoTardioForm\"},[_c('div',{staticClass:\"d-flex flex-column\"},[_c('div',{staticClass:\"mb-4\"},[_c('div',[_c('h3',{staticClass:\"tab-title mb-4 monto-title\"},[_vm._v(\"\\n Monto disponible para retiro\\n \")]),_c('h3',{staticClass:\"mb-4 monto-disponible\"},[_vm._v(\"\\n RD$ \"+_vm._s(_vm.numberFormat(this.user.saldoCCI.toFixed(2)))+\"\\n \")])])]),_c('div',{staticClass:\"mb-4\"},[_c('p',{staticClass:\"monto-retiro-text\"},[_vm._v(\"\\n El balance a la fecha está sujeto a las condiciones del\\n mercado de valores, por lo que el saldo a pagar podría\\n variar con respecto al notificado.\\n \")])]),_c('div',{staticClass:\"mb-4\"},[_c('h2',{staticClass:\"tab-title mb-4\"},[_vm._v(\"Tipo de retiro\")]),_c('div',[_c('ValidationObserver',[_c('ValidationProvider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('multiselect',{attrs:{\"label\":\"descripcion\",\"track-by\":\"codigo\",\"placeholder\":\"Seleccione un tipo de retiro\",\"open-direction\":\"bottom\",\"options\":_vm.modalidadesRetiroIT,\"searchable\":false,\"loading\":_vm.modalidadesRetiroITLoading,\"internal-search\":false,\"optios-limit\":50,\"show-no-results\":true,\"select-label\":'',\"deselect-label\":'',\"selected-label\":'Seleccionado',\"disabled\":_vm.isEditing &&\n !_vm.currentPresolicitudEsModificable &&\n !_vm.previousReferenciaDocumentoBancarioRequiereCambioDoc},on:{\"search-change\":_vm.getModalidadRetiroIT},scopedSlots:_vm._u([{key:\"option\",fn:function({ option }){return [_c('span',{staticClass:\"custom__tag\"},[_c('span',[_vm._v(_vm._s(option.codigo + \" - \" + option.descripcion))])])]}}],null,true),model:{value:(_vm.modalidadRetiroIT),callback:function ($$v) {_vm.modalidadRetiroIT=$$v},expression:\"modalidadRetiroIT\"}},[_c('span',{attrs:{\"slot\":\"noResult\"},slot:\"noResult\"},[_vm._v(\"No se encontraron métodos de retiro con esa\\n descripción.\")]),_c('span',{attrs:{\"slot\":\"noOptions\"},slot:\"noOptions\"},[_vm._v(\"No hay métodos de retiro.\")])]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(errors && errors.length > 0),expression:\"errors && errors.length > 0\"}],staticClass:\"error-message\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1)],1)]),_c('div',{staticClass:\"mb-4\"},[_c('label',{staticClass:\"tab-title font-w-500 mb-3 d-block\",attrs:{\"for\":\"monto-retiro\"}},[_vm._v(\"\\n Monto de retiro\\n \")]),_c('ValidationObserver',[_c('ValidationProvider',{attrs:{\"rules\":_vm.inputMontoRetiroRules},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.montoRetiro),expression:\"montoRetiro\"}],ref:\"monto-retiro\",staticClass:\"siembra-input\",attrs:{\"type\":\"text\",\"placeholder\":\"Monto de retiro\",\"id\":\"monto-retiro\",\"step\":\"0.01\",\"disabled\":(_vm.isEditing && !_vm.currentPresolicitudEsModificable) || !_vm.isParcial,\"inputmode\":\"decimal\",\"pattern\":\"^\\\\d*\\\\.?\\\\d*$\"},domProps:{\"value\":(_vm.montoRetiro)},on:{\"input\":[function($event){if($event.target.composing)return;_vm.montoRetiro=$event.target.value},_vm.onInputNumber]}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(errors && errors.length > 0),expression:\"errors && errors.length > 0\"}],staticClass:\"error-message\"},[_vm._v(\"\\n \"+_vm._s(errors[0])+\"\\n \")])]}}])})],1)],1),_c('div',{staticClass:\"mb-4\"},[_c('h2',{staticClass:\"tab-title mb-4\"},[_vm._v(\"\\n ¿Cómo te gustaría recibir tus pagos?\\n \"),_c('i',{staticClass:\"fa fa-question-circle\",attrs:{\"id\":\"additional-info-icon-metodos-de-pago\"}})]),_c('b-popover',{attrs:{\"target\":\"additional-info-icon-metodos-de-pago\",\"placement\":\"top\",\"triggers\":\"hover focus\"},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"siembra-text mb-0\"},[_vm._v(\"Métodos de Pago\")])]},proxy:true}])},[_c('div',{staticClass:\"p-2\"},[_c('ul',{staticClass:\"ml-3 mb-0\",staticStyle:{\"list-style-type\":\"circle\"}},_vm._l((_vm.metodosDePago),function(metodoDePago,index){return _c('li',{key:index,class:[\n 'siembra-text',\n index === _vm.metodosDePago.length - 1\n ? 'mb-0'\n : 'mb-2',\n ]},[_c('b',[_vm._v(_vm._s(metodoDePago.descripcion)+\": \")]),_vm._v(_vm._s(metodoDePago.comentario)+\"\\n \")])}),0)])]),_c('div',[_c('ValidationObserver',[_c('ValidationProvider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('multiselect',{attrs:{\"label\":\"descripcion\",\"track-by\":\"formaPago\",\"placeholder\":\"Seleccione un método de pago\",\"open-direction\":\"bottom\",\"options\":_vm.metodosDePago,\"searchable\":false,\"loading\":_vm.metodosDePagoLoading,\"internal-search\":false,\"options-limit\":50,\"show-no-results\":true,\"select-label\":'',\"deselect-label\":'',\"selected-label\":'Seleccionado',\"disabled\":_vm.isEditing &&\n !_vm.currentPresolicitudEsModificable &&\n !_vm.previousReferenciaDocumentoBancarioRequiereCambioDoc},on:{\"open\":_vm.getMetodosDePago,\"search-change\":_vm.getMetodosDePago},scopedSlots:_vm._u([{key:\"option\",fn:function({ option }){return [_c('span',{staticClass:\"custom__tag\"},[_c('span',[_vm._v(_vm._s(option.descripcion))])])]}}],null,true),model:{value:(_vm.metodoDePago),callback:function ($$v) {_vm.metodoDePago=$$v},expression:\"metodoDePago\"}},[_c('span',{attrs:{\"slot\":\"noResult\"},slot:\"noResult\"},[_vm._v(\"No se encontraron métodos de pago con esa\\n descripción.\")]),_c('span',{attrs:{\"slot\":\"noOptions\"},slot:\"noOptions\"},[_vm._v(\"No hay métodos de pago.\")])]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(errors && errors.length > 0),expression:\"errors && errors.length > 0\"}],staticClass:\"error-message\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1)],1)],1),(_vm.metodoDePagoIsTransferenciaBancaria)?[_c('div',{staticClass:\"mb-4\"},[_c('label',{staticClass:\"tab-title font-w-500 mb-3 d-block\",attrs:{\"for\":\"banco-preferencia\"}},[_vm._v(\"Banco\")]),_c('ValidationObserver',[_c('ValidationProvider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('multiselect',{attrs:{\"label\":\"nombreBanco\",\"track-by\":\"codigoBanco\",\"placeholder\":\"Seleccione un banco\",\"open-direction\":\"bottom\",\"options\":_vm.bancos,\"searchable\":true,\"loading\":_vm.bancosLoading,\"internal-search\":false,\"options-limit\":50,\"show-no-results\":true,\"select-label\":'',\"deselect-label\":'',\"selected-label\":'Seleccionado',\"disabled\":_vm.isEditing &&\n !_vm.currentPresolicitudEsModificable &&\n !_vm.previousReferenciaDocumentoBancarioRequiereCambioDoc},on:{\"search-change\":_vm.getBancos},scopedSlots:_vm._u([{key:\"option\",fn:function({ option }){return [_c('span',{staticClass:\"custom__tag\"},[_c('span',[_vm._v(_vm._s(option.nombreBanco))])])]}}],null,true),model:{value:(_vm.banco),callback:function ($$v) {_vm.banco=$$v},expression:\"banco\"}},[_c('span',{attrs:{\"slot\":\"noResult\"},slot:\"noResult\"},[_vm._v(\"No se encontraron bancos con esa descripción.\")]),_c('span',{attrs:{\"slot\":\"noOptions\"},slot:\"noOptions\"},[_vm._v(\"No hay bancos.\")])]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(errors && errors.length > 0),expression:\"errors && errors.length > 0\"}],staticClass:\"error-message\"},[_vm._v(_vm._s(errors[0]))])]}}],null,false,3348384880)})],1)],1),_c('div',{staticClass:\"mb-4\"},[_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"w-50\"},[_c('div',{staticClass:\"mr-2\"},[_c('label',{staticClass:\"tab-title font-w-500 mb-3 d-block\",attrs:{\"for\":\"tipo-cuenta\"}},[_vm._v(\"Tipo de cuenta (RD$)\")]),_c('ValidationObserver',[_c('ValidationProvider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('multiselect',{attrs:{\"label\":\"description\",\"track-by\":\"value\",\"placeholder\":\"Seleccione un tipo de cuenta\",\"open-direction\":\"bottom\",\"options\":_vm.tiposDeCuenta,\"searchable\":true,\"loading\":_vm.tiposDeCuentaLoading,\"internal-search\":false,\"options-limit\":50,\"show-no-results\":true,\"select-label\":'',\"deselect-label\":'',\"selected-label\":'Seleccionado',\"disabled\":_vm.isEditing &&\n !_vm.currentPresolicitudEsModificable &&\n !_vm.previousReferenciaDocumentoBancarioRequiereCambioDoc},on:{\"search-change\":_vm.getTiposDeCuenta},scopedSlots:_vm._u([{key:\"option\",fn:function({ option }){return [_c('span',{staticClass:\"custom__tag\"},[_c('span',[_vm._v(_vm._s(option.description))])])]}}],null,true),model:{value:(_vm.tipoDeCuenta),callback:function ($$v) {_vm.tipoDeCuenta=$$v},expression:\"tipoDeCuenta\"}},[_c('span',{attrs:{\"slot\":\"noResult\"},slot:\"noResult\"},[_vm._v(\"No se encontraron tipos de cuenta con esa\\n descripción.\")]),_c('span',{attrs:{\"slot\":\"noOptions\"},slot:\"noOptions\"},[_vm._v(\"No hay tipos de cuenta.\")])]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(errors && errors.length > 0),expression:\"errors && errors.length > 0\"}],staticClass:\"error-message\"},[_vm._v(_vm._s(errors[0]))])]}}],null,false,2514155275)})],1)],1)]),_c('div',{staticClass:\"w-50\"},[_c('div',{staticClass:\"ml-2\"},[_c('label',{staticClass:\"tab-title font-w-500 mb-3 d-block\",attrs:{\"for\":\"numero-cuenta\"}},[_vm._v(\"Número de cuenta\")]),_c('ValidationObserver',[_c('ValidationProvider',{attrs:{\"rules\":_vm.inputNumeroCuentaRules},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.numeroCuenta),expression:\"numeroCuenta\"},{name:\"input-mask\",rawName:\"v-input-mask\",value:(\n _vm.banco && _vm.banco.mascaraCuenta\n ? _vm.banco.mascaraCuenta\n : ''\n ),expression:\"\\n banco && banco.mascaraCuenta\\n ? banco.mascaraCuenta\\n : ''\\n \"}],ref:\"numeroCuenta\",staticClass:\"siembra-input\",attrs:{\"type\":\"text\",\"placeholder\":\"Número de cuenta\",\"id\":\"numero-cuenta\",\"disabled\":(_vm.isEditing &&\n !_vm.currentPresolicitudEsModificable &&\n !_vm.previousReferenciaDocumentoBancarioRequiereCambioDoc) ||\n !_vm.banco,\"mask\":_vm.banco && _vm.banco.mascaraCuenta\n ? _vm.banco.mascaraCuenta\n : ''},domProps:{\"value\":(_vm.numeroCuenta)},on:{\"input\":function($event){if($event.target.composing)return;_vm.numeroCuenta=$event.target.value}}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(errors && errors.length > 0),expression:\"errors && errors.length > 0\"}],staticClass:\"error-message\"},[_vm._v(_vm._s(errors[0]))])]}}],null,false,935102894)})],1)],1)])])]),(\n !_vm.isEditing ||\n (_vm.isEditing &&\n (_vm.currentPresolicitudEsModificable ||\n _vm.previousReferenciaDocumentoBancarioRequiereCambioDoc))\n )?[(\n !_vm.existPreviousReferenciaDocumentoBancarioFiles ||\n _vm.previousReferenciaDocumentoBancarioRequiereCambioDoc\n )?[_c('div',{staticClass:\"mb-2\"},[_c('p',{staticClass:\"tab-title font-w-500 mb-3\"},[_vm._v(\"\\n Comprobante de cuenta propia\\n \"),_c('i',{staticClass:\"fa fa-question-circle\",attrs:{\"id\":\"additional-info-icon-comprobante-cuenta-propia\"}})]),_c('b-popover',{attrs:{\"target\":\"additional-info-icon-comprobante-cuenta-propia\",\"placement\":\"top\",\"triggers\":\"hover focus\"},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"siembra-text mb-0\"},[_vm._v(\"\\n Comprobante de cuenta propia\\n \")])]},proxy:true}],null,false,1118722353)},[_c('div',[_c('p',{staticClass:\"siembra-text mb-0\"},[_vm._v(\"\\n Carga aquí una imagen de cualquier documento que\\n avale que esta cuenta te pertenece (depósito,\\n voucher, cheque, transferencia).\\n \")])])]),_c('CustomFileInput',{attrs:{\"isRequired\":_vm.fileInputRefDocumentoBancarioEsRequerido,\"fileConfig\":_vm.fileConfig,\"requiredMessage\":_vm.referenciaDocumentoBancarioFilesRequiredMessage,\"serverValidationMessage\":_vm.referenciaDocumentoBancarioServerValidationMessage,\"triggerInputValidations\":_vm.triggerInputValidations},on:{\"filesAddedOrRemoved\":_vm.onAddOrRemoveReferenciaDocumentoBancarioFile,\"inputValidationChanged\":_vm.referenciaDocumentoBancarioValidationChanged}}),(\n _vm.previousReferenciaDocumentoBancarioRequiereCambioDoc\n )?_vm._l((_vm.previousReferenciaDocumentoBancarioFiles.filter(\n (x) => x.requiereCambioDoc\n )),function(previousReferenciaDocumentoBancarioFile){return _c('p',{key:previousReferenciaDocumentoBancarioFile.ruta +\n previousReferenciaDocumentoBancarioFile.secuenciaDocumento,staticClass:\"error-message\"},[(\n previousReferenciaDocumentoBancarioFile.motivosRechazo &&\n previousReferenciaDocumentoBancarioFile\n .motivosRechazo.length > 0\n )?[_c('ul',_vm._l((previousReferenciaDocumentoBancarioFile.motivosRechazo),function(motivoRechazo,index){return _c('li',{key:index},[(motivoRechazo.motivoRechazo)?[_c('svg',{staticClass:\"bi bi-x-circle\",attrs:{\"width\":\"1em\",\"height\":\"1em\",\"viewBox\":\"0 0 16 16\",\"fill\":\"currentColor\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z\"}}),_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M11.854 4.146a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708-.708l7-7a.5.5 0 0 1 .708 0z\"}}),_c('path',{attrs:{\"fill-rule\":\"evenodd\",\"d\":\"M4.146 4.146a.5.5 0 0 0 0 .708l7 7a.5.5 0 0 0 .708-.708l-7-7a.5.5 0 0 0-.708 0z\"}})]),_vm._v(\"\\n \"+_vm._s(motivoRechazo.motivoRechazo)+\"\\n \")]:_vm._e()],2)}),0)]:_vm._e()],2)}):_vm._e()],2)]:_vm._e()]:_vm._e(),_c('div',{staticClass:\"mb-3\"},[(\n _vm.existPreviousReferenciaDocumentoBancarioFiles &&\n !_vm.previousReferenciaDocumentoBancarioRequiereCambioDoc\n )?_c('div',[_c('h2',{staticClass:\"tab-title mx-auto mb-3\"},[_vm._v(\"\\n Comprobante de cuenta propia\\n \")]),_vm._l((_vm.previousReferenciaDocumentoBancarioFiles),function(previousReferenciaDocumentoBancarioFile){return _c('div',{key:previousReferenciaDocumentoBancarioFile.secuenciaDocumento},[_c('ArchivoSolicitudCard',{attrs:{\"archivo\":previousReferenciaDocumentoBancarioFile,\"fileName\":_vm.getFileName(\n previousReferenciaDocumentoBancarioFile.ruta\n ),\"allowsRemove\":_vm.isEditing && _vm.currentPresolicitudEsModificable},on:{\"removeFile\":function($event){return _vm.onRemoveReferenciaDocumentoBancarioFile($event)}}})],1)})],2):_vm._e(),(_vm.loadingFiles)?_c('div',{staticClass:\"text-center\"},[_c('div',{staticClass:\"spinner-border\",attrs:{\"role\":\"status\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Loading...\")])])]):_vm._e()])]:_vm._e(),_c('div',[_c('label',{staticClass:\"tab-title font-w-500 mb-3 d-block\",attrs:{\"for\":\"via-notificacion\"}},[_vm._v(\"\\n Vía de Notificación\\n \"),_c('i',{staticClass:\"fa fa-question-circle\",attrs:{\"id\":\"additional-info-icon-vias-de-notificacion\"}})]),_c('b-popover',{attrs:{\"target\":\"additional-info-icon-vias-de-notificacion\",\"placement\":\"top\",\"triggers\":\"hover focus\"},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [_c('p',{staticClass:\"siembra-text mb-0\"},[_vm._v(\"Vía de Notificación\")])]},proxy:true}])},[_c('div',[_c('p',{staticClass:\"siembra-text mb-0\"},[_vm._v(\"\\n Favor indicarnos por que vía te gustaría recibir la\\n notificación de pago de tu beneficio.\\n \")])])]),_c('ValidationObserver',[_c('ValidationProvider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('multiselect',{attrs:{\"label\":\"description\",\"track-by\":\"value\",\"placeholder\":\"Seleccione una vía de notificación\",\"open-direction\":\"bottom\",\"options\":_vm.viasNotificacion,\"searchable\":false,\"loading\":_vm.viasNotificacionLoading,\"internal-search\":false,\"options-limit\":50,\"show-no-results\":true,\"select-label\":'',\"deselect-label\":'',\"selected-label\":'Seleccionado',\"disabled\":_vm.isEditing &&\n !_vm.currentPresolicitudEsModificable &&\n !_vm.previousReferenciaDocumentoBancarioRequiereCambioDoc},on:{\"open\":_vm.getViasNotificacion,\"search-change\":_vm.getViasNotificacion},scopedSlots:_vm._u([{key:\"option\",fn:function({ option }){return [_c('span',{staticClass:\"custom__tag\"},[_c('span',[_vm._v(_vm._s(option.description))])])]}}],null,true),model:{value:(_vm.viaNotificacion),callback:function ($$v) {_vm.viaNotificacion=$$v},expression:\"viaNotificacion\"}},[_c('span',{attrs:{\"slot\":\"noResult\"},slot:\"noResult\"},[_vm._v(\"No se encontraron vías de notificación con esa\\n descripción.\")]),_c('span',{attrs:{\"slot\":\"noOptions\"},slot:\"noOptions\"},[_vm._v(\"No hay vías de notificación.\")])]),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(errors && errors.length > 0),expression:\"errors && errors.length > 0\"}],staticClass:\"error-message\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1)],1),(!!_vm.viaNotificacion)?_c('div',{staticClass:\"mt-2\"},[_c('div',[_c('p',{staticClass:\"siembra-text d-inline-block mr-2 mb-0\"},[_vm._v(\"\\n Tu\\n \"+_vm._s(_vm.viaNotificacion.description)+\"\\n actual es: \\\"\"+_vm._s(_vm.valorViaNotificacionActual)+\"\\\". ¿Deseas\\n modificarlo?\\n \")]),_c('b-form-checkbox',{staticClass:\"d-inline-block\",attrs:{\"switch\":\"\",\"disabled\":_vm.isEditing &&\n !_vm.currentPresolicitudEsModificable &&\n !_vm.previousReferenciaDocumentoBancarioRequiereCambioDoc},model:{value:(_vm.modificaValorViaNotificacion),callback:function ($$v) {_vm.modificaValorViaNotificacion=$$v},expression:\"modificaValorViaNotificacion\"}},[_c('span',{staticClass:\"siembra-text\"},[_vm._v(_vm._s(_vm.modificaValorViaNotificacion ? \"Si\" : \"No\"))])])],1),(_vm.modificaValorViaNotificacion)?_c('div',{staticClass:\"mt-3\"},[_c('label',{staticClass:\"tab-title font-w-500 mb-3 d-block\",attrs:{\"for\":_vm.viaNotificacion.description}},[_vm._v(\"Nuevo \"+_vm._s(_vm.viaNotificacion.description))]),_c('ValidationObserver',[_c('ValidationProvider',{attrs:{\"rules\":{\n required: true,\n emailAFP: _vm.viaNotificacion.value === 'E',\n }},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.valorViaNotificacion),expression:\"valorViaNotificacion\"}],staticClass:\"siembra-input\",attrs:{\"type\":\"text\",\"placeholder\":_vm.viaNotificacion.description,\"id\":_vm.viaNotificacion.description},domProps:{\"value\":(_vm.valorViaNotificacion)},on:{\"input\":function($event){if($event.target.composing)return;_vm.valorViaNotificacion=$event.target.value}}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(errors && errors.length > 0),expression:\"errors && errors.length > 0\"}],staticClass:\"error-message\"},[_vm._v(_vm._s(errors[0]))])]}}],null,false,3051974336)})],1)],1):_vm._e()]):_vm._e()],2)])],1),_c('tab-content',{attrs:{\"title\":\"Validación\",\"icon\":\"ti-view-list-alt\"}},[_c('div',{staticClass:\"d-flex flex-column mt-5\"},[_c('div',{staticClass:\"mb-3\"},[_c('h2',{staticClass:\"tab-title d-inline-block\"},[_vm._v(\"Validando tu solicitud\")])]),_c('p',{staticClass:\"siembra-text\"},[_vm._v(\"\\n Estamos validando tu solicitud. Te estaremos informando vía tu\\n correo electrónico, los resultados de la solicitud en las\\n próximas 24 horas. Gracias por utilizar nuestra plataforma de\\n beneficios.\\n \")])])]),_c('tab-content',{attrs:{\"title\":\"Firma\",\"icon\":\"ti-write\"}},[_c('div',{staticClass:\"d-flex flex-column mt-5\"},[_c('h2',{staticClass:\"tab-title mb-4\"},[_vm._v(\"\\n Gracias por utilizar nuestra plataforma de beneficios.\\n \")]),_c('p',{staticClass:\"siembra-text sign-step-text\"},[_vm._v(\"\\n Estás a un paso finalizar tu solicitud de Beneficio de Ingreso\\n Tardío, para concluir con tu solicitud favor leer a\\n continuación.\\n \")]),_c('br'),_c('p',{staticClass:\"siembra-text sign-step-text\"},[_vm._v(\"\\n En nuestro constante interés de brindar a nuestros clientes una\\n experiencia distintiva hemos implementado esta plataforma con\\n los más altos estándares de seguridad, que puede ser utilizada\\n en dispositivos móviles o tabletas y a través de la cual podrás\\n acceder a diferentes productos, servicios y recibir\\n documentaciones. El acceso a documentos, ciertas informaciones\\n sobre los productos, servicios o detalles de tu cuenta de\\n capitalización individual, que podrá recibir o acceder en virtud\\n de su relación con nosotros, implica el consentimiento y la\\n aceptación de las presentes informaciones. El proceso a llevar a\\n cabo será en apego a la Ley No. 126-02 sobre el comercio\\n electrónico, documentos y firmas digitales de la República\\n Dominicana y su reglamento de aplicación, hacemos constar que la\\n referida ley en su Artículo 4 establece que “no se negarán\\n efectos jurídicos, validez o fuerza obligatoria a todo tipo de\\n información por la sola razón de que esté en forma de documento\\n digital o mensaje de datos”.\\n \")]),_c('br'),_c('p',{staticClass:\"siembra-text sign-step-text\"},[_vm._v(\"\\n Con tu consentimiento estaremos enviando la información\\n requerida de manera electrónica por lo que de aceptar estos\\n términos, sólo debes de firmar electrónicamente los documentos a\\n continuación para suscribir la solicitud y recibir el pago de tu\\n beneficio. Si antes de firmar, deseas consultar el balance a la\\n fecha de tu cuenta, lo puedes visualizar\\n \"),_c('a',{attrs:{\"href\":`${_vm.portalUrl}/tu-estado-cuenta`,\"target\":\"_blank\"}},[_vm._v(\"aquí\")]),_vm._v(\".\\n \")])])])],1)],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue, Watch } from \"vue-property-decorator\";\nimport CatalogoResponse from \"@/models/CatalogoResponse\";\nimport AfiliadoService from \"../services/AfiliadoService\";\nimport Banco from \"@/models/Banco\";\nimport FormaDePago from \"@/models/FormaDePago\";\nimport RegistroPresolicitud from \"@/models/RegistroPresolicitud\";\nimport { AxiosResponse } from \"axios\";\nimport ServiceResponseSolicitud from \"@/services/response-models/ServiceResponseSolicitud\";\nimport { Action, Getter } from \"vuex-class\";\nimport User from \"@/models/User\";\nimport ValidationService from \"@/services/ValidationService\";\nimport ValidacionCedulaIt, {\n ValidacionCedulaItResp,\n} from \"@/models/ValidacionCedulaIt\";\nimport Esigner from \"@/models/Esigner\";\nimport TipoBeneficioEnum from \"@/enums/TipoBeneficioEnum\";\nimport ServiceResponseEntity from \"@/services/response-models/ServiceResponseEntity\";\nimport VeeValidateForm from \"@/vee-validate/types/VeeValidateForm\";\nimport CustomFileInput from \"@/components/CustomFileInput.vue\";\nimport IngresoTardioService from \"@/services/IngresoTardioService\";\nimport {\n ParametrosValidacionRequisitosBeneficio,\n Requisito,\n} from \"@/models/RequisitoBeneficio\";\nimport FirmanteContratoIngresoTardio from \"@/models/FirmanteContratoIngresoTardio\";\nimport ServiceResponseSolicitudes from \"@/services/response-models/ServiceResponseSolicitudes\";\nimport Presolicitud from \"@/models/Presolicitud\";\nimport ServiceResponseArchivos from \"@/services/response-models/ServiceResponseArchivos\";\nimport DocumentoPresolicitud from \"@/models/DocumentoPresolicitud\";\nimport ServiceResponseEntities from \"@/services/response-models/ServiceResponseEntities\";\nimport { formatFechaAfpSiembra, formatCedula } from \"@/utils/HelperFunctions\";\nimport Swal, { SweetAlertResult } from \"sweetalert2\";\nimport Inputmask from \"inputmask\";\nimport VueFormWizard from \"@/vue-form-wizard/types/VueFormWizard\";\nimport PackageResult from \"@/models/PackageResult\";\nimport ModalidadRetiroITResponse, {\n ModalidadRetiroIT,\n} from \"@/models/ModalidadRetiroIT/ModalidadRetiroIT\";\nimport VueFormWizardButton from \"@/vue-form-wizard/types/VueFormWizardButton\";\nimport ParametrosObtencionPresolicitud from \"@/models/ParametrosObtencionPresolicitud\";\nimport FormaGeneraSolicitudEnum from \"@/enums/FormaGeneraSolicitudEnum\";\nimport ValidacionCertificacionTss from \"@/models/ValidacionCertificacionTss\";\nimport FileConfig from \"../FileConfig\";\nimport TipoRequisitoEnum from \"@/enums/TipoRequisitoEnum\";\nimport ServiceResponse from \"@/services/response-models/ServiceResponse\";\nimport ConsultaFallecido, {\n ConsultaValidacionBeneficiarioResp,\n} from \"@/models/ConsultaFallecido\";\nimport { extend } from \"vee-validate\";\nimport { detectCedula } from '@/utils/DetectCedula';\nimport { convertBase64ToFile, convertFileToBase64 } from '@/utils/ConvertBase64ToFile';\nimport { sanitizeFileName } from '@/utils/SanitizeFileName';\nVue.directive(\"input-mask\", {\n update: function(el: any, binding: any, vnode: any) {\n const mascara: string = vnode.data.attrs.mask;\n const im = new Inputmask(mascara);\n im.mask(el);\n },\n});\n\nextend(\"mask\", {\n validate: (value: string, params) => {\n var inputContains_ = value.indexOf(\"_\") > -1;\n return !inputContains_;\n },\n params: [{ name: \"mask\" }],\n message: \"El número de cuenta es inválido.\",\n});\n\nclass FormWizardStep {\n public tabIndex: number;\n public formWizardChildrenIndex: number;\n}\n\n@Component({ components: { CustomFileInput } })\nexport default class RegistroIngresoTardio extends Vue {\n public portalUrl: string = process.env.VUE_APP_PROD_BASE_URL;\n public registroPresolicitud: RegistroPresolicitud = new RegistroPresolicitud();\n public afiliadoService: AfiliadoService = new AfiliadoService();\n public validationService: ValidationService = new ValidationService();\n public ingresoTardioService: IngresoTardioService = new IngresoTardioService();\n public fileConfig: FileConfig;\n //#region Cédula\n public cedulaFrontalServerMessage: string = \"\";\n public cedulaTraseraServerMessage: string = \"\";\n public cedulaFrontalFiles: Array = [];\n public cedulaTraseraFiles: Array = [];\n public processedBase64Images: Array = [];\n public inputCedulaFrontalIsValid: boolean = false;\n public inputCedulaTraseraIsValid: boolean = false;\n //#endregion\n //#region Documento\n public documentoServerMessage: string = \"\";\n public documentoFiles: Array = [];\n //#endregion\n //#region Referencia Documento Bancario\n public referenciaDocumentoBancarioFiles: Array = [];\n public showReferenciaDocumentoBancarioFilesRequiredError: boolean = false;\n public showInvalidReferenciaDocumentoBancarioFilesTypeError: boolean = false;\n public showInvalidReferenciaDocumentoBancarioFilesSizeError: boolean = false;\n public showReferenciaDocumentoBancarioServerValidationMessage: boolean = false;\n public referenciaDocumentoBancarioFilesRequiredMessage: string =\n \"La referencia de documento bancario es requerida.\";\n public referenciaDocumentoBancarioServerValidationMessage: string = \"\";\n public inputReferenciaDocumentoBancarioIsValid: boolean = false;\n\n //#endregion\n //#region Documentos Adicionales\n public documentoAdicionalFiles: Array> = [];\n public showDocumentoAdicionalFilesRequiredError: Array = [];\n public showInvalidDocumentoAdicionalFilesTypeError: Array = [];\n public showInvalidDocumentoAdicionalFilesSizeError: Array = [];\n public documentoAdicionalFilesRequiredMessage: string =\n \"El documento adicional es requerido\";\n //#endregion\n public triggerInputValidations = false;\n public formWizardButtons: Array<\n Array>\n > = [];\n public formWizardSteps: {\n firstStep: FormWizardStep;\n secondStep: FormWizardStep;\n thirdStep: FormWizardStep;\n fourthStep: FormWizardStep;\n fifthStep: FormWizardStep;\n } = {\n firstStep: {\n tabIndex: 0,\n formWizardChildrenIndex: 5,\n },\n secondStep: {\n tabIndex: 1,\n formWizardChildrenIndex: 6,\n },\n thirdStep: {\n tabIndex: 2,\n formWizardChildrenIndex: 7,\n },\n fourthStep: {\n tabIndex: 3,\n formWizardChildrenIndex: 8,\n },\n fifthStep: {\n tabIndex: 4,\n formWizardChildrenIndex: 9,\n },\n };\n public tiposDocumentoByDocumento: {\n tipoDocumentoCedula: string;\n tipoDocumentoDocumento: Array;\n tipoDocumentoReferenciaDocumentoBancario: string;\n tipoDocumentoDocumentosAdicionales: Array>;\n } = {\n tipoDocumentoCedula: null,\n tipoDocumentoDocumento: [],\n tipoDocumentoReferenciaDocumentoBancario: null,\n tipoDocumentoDocumentosAdicionales: [],\n };\n public cedulaIsValid: boolean = false;\n public documentoIsValid: boolean = false;\n public datosCedulaCoincideConBD: boolean = true;\n public resultValidacionCedula: ValidacionCedulaItResp = null;\n //#region Tipo de Documento\n public tiposDocumento: Array = [];\n public tiposDocumentoLoading: boolean = false;\n public tipoDocumento: Requisito = null;\n //#endregion\n //#region Select Vias Notificacion\n public viasNotificacion: Array = [];\n public viasNotificacionLoading: boolean = false;\n public viaNotificacion: CatalogoResponse = null;\n //#endregion\n //#region Metodo de Pago\n public metodosDePago: Array = [];\n public metodosDePagoLoading: boolean = false;\n public metodoDePago: FormaDePago = null;\n\n public modalidadesRetiroIT: Array = [];\n public modalidadesRetiroITLoading: boolean = false;\n public modalidadRetiroIT: ModalidadRetiroIT = null;\n\n //#endregion\n //#region Banco\n public bancos: Array = [];\n public bancosLoading: boolean = false;\n public banco: Banco = null;\n //#endregion\n //#region Tipo de Cuenta\n public tiposDeCuenta: Array = [];\n public tiposDeCuentaLoading: boolean = false;\n public tipoDeCuenta: CatalogoResponse = null;\n //#endregion\n public validacionTssActualizadaDespues24hours = false;\n public numeroCuenta: string = null;\n public montoRetiro: number = null;\n @Getter(\"user\") user: User;\n @Getter(\"validacionCertificacionTss\")\n validacionCertificacionTss: ValidacionCertificacionTss;\n @Action(\"setUserLoggedAction\") setUserLoggedAction;\n @Action(\"setValidacionCertificacionTssAction\")\n setValidacionCertificacionTssAction;\n public loading: boolean = false;\n public numeroSolicitudCreada: number = null;\n public signUrlContrato: string = null;\n public ingresoTardioWizard: VueFormWizard = null;\n public omitirActualizacionDatos: boolean = false;\n public modificaValorViaNotificacion: boolean = false;\n public valorViaNotificacion: string = null;\n //#region Edición\n public currentPresolicitud: Presolicitud = null;\n public documentosCurrentPresolicitud: DocumentoPresolicitud[] = [];\n public documentosAdicionales: DocumentoPresolicitud[] = [];\n public numeroSolicitud: number = null;\n public isEditing: boolean = false;\n public loadingFiles: boolean = false;\n public previousCedulaFrontalFiles: Array = [];\n public previousCedulaTraseraFiles: Array = [];\n public previousDocumentoFiles: Array = [];\n public previousReferenciaDocumentoBancarioFiles: Array<\n DocumentoPresolicitud\n > = [];\n public previousDocumentoAdicionalFiles: Array = [];\n public removedFiles: Array = [];\n //#endregion\n private debounceTimeout: number | undefined;\n\n public callInputValidation() {\n this.triggerInputValidations = !this.triggerInputValidations;\n }\n public created() {\n if (this.user.esAfiInactivo) this.$router.push(\"/\");\n\n this.fileConfig = new FileConfig(5, [\n \"image/jpeg\",\n \"image/jpg\",\n \"image/tiff\",\n \"image/png\",\n \"application/pdf\",\n ]);\n window.addEventListener(\"beforeunload\", this.beforeUnloadHandler);\n }\n\n public async mounted() {\n await this.getModalidadRetiroIT();\n //this.setFieldValues();\n this.removeParcial();\n this.ingresoTardioWizard = this.$refs.ingresoTardioWizard as VueFormWizard;\n await this.updateUser();\n if (this.$route.query.numeroSolicitud) {\n this.numeroSolicitud = Number(this.$route.query.numeroSolicitud);\n this.isEditing = !!this.numeroSolicitud;\n if (this.isEditing) {\n this.showLoadingAlert(\n \"Valoramos tu tiempo. Este proceso puede tomar unos minutos. Gracias por utilizar nuestra plataforma digital de beneficios.\"\n );\n this.currentPresolicitud = await this.getPresolicitud();\n if (this.currentPresolicitud.solCancelada) {\n this.showLoadingConfirm(\"Esta solicitud ha sido cancelada.\", () => {\n this.$router.push(\"/home\");\n Swal.close();\n });\n return;\n }\n const currentDate: string = (\n await this.afiliadoService.getCurrentDate()\n ).data.currentDate;\n const hourDifference: number =\n Math.abs(\n new Date(currentDate).getTime() -\n new Date(this.currentPresolicitud.fechaSolicitud).getTime()\n ) /\n (60 * 60 * 1000);\n const hourDifferenceGreaterThan24: boolean = hourDifference >= 24;\n if (hourDifferenceGreaterThan24) {\n this.validacionTssActualizadaDespues24hours = true;\n await this.validarTss();\n }\n this.documentosCurrentPresolicitud = await this.getDocumentosPresolicitud();\n //\n //Update UI values from server\n this.datosCedulaCoincideConBD =\n this.currentPresolicitud.cedulaCoincide &&\n this.currentPresolicitud.nombreCoincide &&\n this.currentPresolicitud.fechaNacimientoCoincide;\n this.resultValidacionCedula = new ValidacionCedulaItResp(\n this.currentPresolicitud.cedulaCoincide,\n this.currentPresolicitud.nombreCoincide,\n this.currentPresolicitud.fechaNacimientoCoincide\n );\n }\n } else {\n this.showAsesoriaAlert();\n }\n\n this.formWizardButtons = [\n [\n {\n text: \"Siguiente\",\n action: this.verificarCedula,\n className: \"ml-auto siembra-orange-button big-button\",\n isLoadingButton: true,\n nextAction: (props: any, _this?: RegistroIngresoTardio) => {\n props.nextTab();\n if (\n _this.datosCedulaCoincideConBD &&\n !_this.existPreviousDocumentoFiles\n ) {\n props.nextTab();\n _this.resetSecondStep();\n _this.disableStep(\n _this.formWizardSteps.secondStep.formWizardChildrenIndex\n );\n } else {\n _this.enableStep(\n _this.formWizardSteps.secondStep.formWizardChildrenIndex\n );\n }\n },\n display: () => true,\n },\n ],\n [\n {\n text: \"Anterior\",\n action: () =>\n new Promise((resolve, reject) => {\n resolve(true);\n }),\n className: \"mr-auto siembra-orange-button big-button\",\n isLoadingButton: false,\n nextAction: (props: any) => props.prevTab(),\n display: () => true,\n },\n {\n text: \"Omitir\",\n action: () => {\n this.omitirActualizacionDatos = true;\n return new Promise((resolve, reject) => {\n resolve(this.secondStepIsValid());\n });\n },\n className: \"ml-auto siembra-blue-button big-button\",\n isLoadingButton: false,\n nextAction: (props: any) => props.nextTab(),\n display: () =>\n !this.existPreviousDocumentoFiles &&\n this.documentosAdicionales.length == 0,\n },\n {\n text: \"Validar\",\n action: () => {\n return new Promise((resolve, reject) => {\n if (!this.documentosAdicionalesAreValid()) {\n this.disableStep(\n this.formWizardSteps.thirdStep.formWizardChildrenIndex\n );\n resolve(false);\n return;\n }\n\n if (\n (this.existPreviousDocumentoFiles &&\n this.previousDocumentoRequiereCambioDoc &&\n !this.documentoIsValid) ||\n (!this.existPreviousDocumentoFiles &&\n this.documentosAdicionales.length == 0 &&\n !this.documentoIsValid)\n ) {\n this.callInputValidation();\n resolve(false);\n return;\n }\n this.enableStep(\n this.formWizardSteps.thirdStep.formWizardChildrenIndex\n );\n resolve(this.secondStepIsValid());\n return;\n });\n },\n className: \"ml-3 siembra-orange-button big-button\",\n isLoadingButton: true,\n nextAction: (props: any, _this: RegistroIngresoTardio) => {\n props.nextTab();\n _this.enableStep(\n _this.formWizardSteps.secondStep.formWizardChildrenIndex\n );\n },\n display: () => true,\n },\n ],\n [\n {\n text: \"Anterior\",\n action: () =>\n new Promise((resolve, reject) => {\n resolve(true);\n }),\n className: \"mr-auto mt-4 siembra-blue-button big-button\",\n isLoadingButton: false,\n nextAction: (props: any, _this?: RegistroIngresoTardio) => {\n props.prevTab();\n if (\n _this.datosCedulaCoincideConBD ||\n (_this.isEditing && !_this.existPreviousDocumentoFiles)\n ) {\n props.prevTab();\n }\n },\n display: () => true,\n },\n {\n text: \"Siguiente\",\n action: () => {\n return new Promise((resolve, reject) => {\n (this.$refs.registroIngresoTardioForm as VeeValidateForm)\n .validate()\n .then((formIsValid) => {\n //Si el form es valido, verificar si amerita validar fileInput de Documento Bancario\n if (\n this.fileInputRefDocumentoBancarioEsRequerido &&\n (!this.existReferenciaDocumentoBancarioFiles ||\n !this.inputReferenciaDocumentoBancarioIsValid)\n ) {\n this.callInputValidation();\n resolve(false);\n return;\n }\n if (formIsValid) {\n //Si llegamos hasta aqui, el formulario es valido y el documento bancario tambien\n this.completarPresolicitud().then((result) => {\n resolve(result);\n });\n return;\n }\n resolve(formIsValid);\n });\n });\n },\n className: \"ml-auto mt-4 siembra-orange-button big-button\",\n isLoadingButton: true,\n nextAction: (props: any, _this: RegistroIngresoTardio) => {\n _this.ingresoTardioWizard.changeTab(\n props.activeTabIndex,\n _this.formWizardSteps.fourthStep.tabIndex\n );\n _this.disableStep(\n _this.formWizardSteps.firstStep.formWizardChildrenIndex\n );\n _this.disableStep(\n _this.formWizardSteps.secondStep.formWizardChildrenIndex\n );\n _this.disableStep(\n _this.formWizardSteps.thirdStep.formWizardChildrenIndex\n );\n if (_this.generaSolicitudAutomatica) {\n props.nextTab();\n _this.disableStep(\n _this.formWizardSteps.fourthStep.formWizardChildrenIndex\n );\n }\n },\n display: () => true,\n },\n ],\n [\n {\n text: \"Ir a mis solicitudes\",\n action: this.navigateToSolicitudes,\n className: \"ml-auto siembra-orange-button big-button\",\n isLoadingButton: false,\n display: () => true,\n },\n ],\n [\n {\n text: \"Firmar\",\n action: this.firmarContratoIngresoTardio,\n className: \"ml-auto siembra-orange-button big-button\",\n isLoadingButton: true,\n nextAction: (props: any, _this: RegistroIngresoTardio) => {\n window.removeEventListener(\n \"beforeunload\",\n this.beforeUnloadHandler\n );\n if (_this.signUrlContrato) {\n if (window.parent) {\n window.parent.location.href = _this.signUrlContrato;\n } else {\n window.location.href = _this.signUrlContrato;\n }\n }\n },\n display: () => true,\n },\n ],\n ];\n // if (this.currentPresolicitud) {\n // if (this.currentPresolicitud.permiteFirma) {\n // //this.ignoreFormValidation = true;\n // this.setFieldValues();\n // this.moveToFifthStepAndDisableTheRest();\n // Swal.close();\n // return;\n // }\n // }\n\n await this.getTiposDocumento();\n await this.getViasNotificacion();\n await this.getMetodosDePago();\n await this.getBancos();\n await this.getTiposDeCuenta();\n await this.getTiposDocumentoByStep();\n if (\n this.documentosCurrentPresolicitud &&\n this.documentosCurrentPresolicitud.length > 0\n ) {\n this.setPreviousFiles();\n //\n this.documentosAdicionales.forEach(\n (documentoAdicional: DocumentoPresolicitud) => {\n this.showDocumentoAdicionalFilesRequiredError.push(false);\n this.showInvalidDocumentoAdicionalFilesTypeError.push(false);\n }\n );\n }\n\n if (this.currentPresolicitud) {\n this.setFieldValues();\n\n if (this.currentPresolicitud.permiteFirma) {\n this.setFieldValues();\n this.moveToFifthStepAndDisableTheRest();\n Swal.close();\n return;\n }\n\n if (\n !this.existPreviousDocumentoFiles ||\n this.previousCedulaFrontalRequiereCambioDoc ||\n this.previousCedulaTraseraRequiereCambioDoc\n ) {\n this.disableStep(\n this.formWizardSteps.secondStep.formWizardChildrenIndex\n );\n }\n let currentStep: number = this.formWizardSteps.firstStep.tabIndex;\n //Esto lo comente porque el setCurrentStepBasedOnDocumentsThatRequireToBeChanged se encarga de decidir que step se muestra\n // if (!this.currentPresolicitud.esModificable) {\n // if (!this.datosCedulaCoincideConBD) {\n // // // this.ingresoTardioWizard.changeTab(\n // // // currentStep,\n // // // this.formWizardSteps.secondStep.tabIndex\n // // // );\n // currentStep = this.formWizardSteps.secondStep.tabIndex;\n // } else {\n // this.ingresoTardioWizard.changeTab(\n // currentStep,\n // this.formWizardSteps.thirdStep.tabIndex\n // );\n // currentStep = this.formWizardSteps.thirdStep.tabIndex;\n // }\n // }\n\n this.setCurrentStepBasedOnDocumentsThatRequireToBeChanged(currentStep);\n\n //Si la cedula frontal o trasera require lgun cambio doc, quitar ambas cedulas\n // if (this.previousCedulaFrontalRequiereCambioDoc\n // || this.previousCedulaTraseraRequiereCambioDoc) {\n // if (this.previousCedulaFrontalFiles[0])\n // this.removeCedulaFrontalFile(this.previousCedulaFrontalFiles[0]);\n // if (this.previousCedulaTraseraFiles[0])\n // this.removeCedulaTraseraFile(this.previousCedulaTraseraFiles[0]);\n // }\n Swal.close();\n }\n }\n\n get fileInputRefDocumentoBancarioEsRequerido() {\n return (\n this.siEstaCreandoYEsTransferencia ||\n this.siIsEditYEsTransferenciaYDocRequiereCambioYNoTieneComprobante\n );\n }\n\n get siEstaCreandoYEsTransferencia() {\n return !this.isEditing && this.metodoDePagoIsTransferenciaBancaria;\n }\n\n get siIsEditYEsTransferenciaYDocRequiereCambioYNoTieneComprobante() {\n return (\n this.isEditing &&\n this.metodoDePagoIsTransferenciaBancaria &&\n this.previousReferenciaDocumentoBancarioRequiereCambioDoc &&\n !this.existReferenciaDocumentoBancarioFiles\n );\n }\n public beforeUnloadHandler(e) {\n e.preventDefault();\n // If you prevent default behavior in Mozilla Firefox prompt will always be shown\n // Chrome requires returnValue to be set\n e.returnValue = \"\";\n }\n public removeFilesThatRequireChanges() {\n let cedulaFrontalThatRequireChange = this.previousCedulaFrontalFiles.filter(\n (x) => x.requiereCambioDoc\n )[0];\n let cedulaTraseraThatRequireChange = this.previousCedulaTraseraFiles.filter(\n (x) => x.requiereCambioDoc\n )[0];\n if (cedulaFrontalThatRequireChange || cedulaTraseraThatRequireChange) {\n this.removeCedulaFrontalFile(this.previousCedulaFrontalFiles[0]);\n this.removeCedulaTraseraFile(this.previousCedulaTraseraFiles[0]);\n }\n //\n let previousDocumentoFilesThatRequireChange = this.previousDocumentoFiles.filter(\n (x) => x.requiereCambioDoc\n );\n previousDocumentoFilesThatRequireChange.forEach((doc) => {\n this.removeDocumentoFile(doc);\n });\n // let documentoAdicionalFilesThatRequireChange = this.documentosAdicionales\n // .filter((x) => x.requiereCambioDoc);\n // documentoAdicionalFilesThatRequireChange\n // .forEach((doc) => {\n // var index = this.documentosAdicionales.indexOf(doc);\n // this.documentosAdicionales.splice(index,1);\n // this.removedFiles.push(doc);\n // });\n\n //\n let previousReferenciaDocumentoBancarioFilesThatRequireChange = this.previousReferenciaDocumentoBancarioFiles.filter(\n (x) => x.requiereCambioDoc\n );\n previousReferenciaDocumentoBancarioFilesThatRequireChange.forEach((doc) => {\n this.removeReferenciaDocumentoBancarioFile(doc);\n });\n //\n let previousDocumentoAdicionalFilesThatRequireChange = this.previousDocumentoAdicionalFiles.filter(\n (x) => x.requiereCambioDoc\n );\n previousDocumentoAdicionalFilesThatRequireChange.forEach((doc) => {\n this.removeDocumentoAdicionalFile(doc);\n });\n }\n\n public async updateUser(): Promise {\n return new Promise((resolve, reject) => {\n const consultaFallecido = new ConsultaFallecido();\n consultaFallecido.cedulaBeneficiario = this.user.cedula;\n this.afiliadoService\n .consultarBeneficiario(consultaFallecido)\n .then(\n (\n response: AxiosResponse<\n ServiceResponseEntity\n >\n ) => {\n const consultaValidacionBeneficiarioResp = response.data.entity;\n this.user.correoElectronico1 =\n consultaValidacionBeneficiarioResp.email1;\n this.user.correoElectronico2 =\n consultaValidacionBeneficiarioResp.email2;\n this.user.celular = consultaValidacionBeneficiarioResp.celular;\n this.setUserLoggedAction(this.user);\n resolve();\n }\n )\n .catch(() => {\n reject();\n });\n });\n }\n\n public async validarTss(): Promise {\n var result = this.validationService\n .validateIngresoTardio(\"\")\n .then(\n async (\n response: AxiosResponse<\n ServiceResponseEntity\n >\n ) => {\n if (response.data.entity.aplicaTramite) {\n this.setValidacionCertificacionTssAction(response.data.entity);\n } else {\n await this.invalidarSolicitud();\n }\n }\n )\n .catch((error) => {\n this.showErrorAlert(\n \"Lo siento, ha ocurrido un error en la comunicación, por favor intenta más tarde.\",\n true\n );\n });\n return result;\n }\n\n public async validarRequisitosYTss(): Promise {\n return new Promise(async (resolve, reject) => {\n const parametrosValidacionRequisitosBeneficio = new ParametrosValidacionRequisitosBeneficio(\n null,\n this.user.codCuenta,\n TipoRequisitoEnum.Validacion,\n TipoBeneficioEnum.IngresoTardio\n );\n const requisitosBeneficio = (\n await this.validationService.validarRequisitosBeneficios(\n parametrosValidacionRequisitosBeneficio\n )\n ).data.entity;\n // TODO: REMOVER\n // requisitosBeneficio.requisitos.forEach((x) => {\n // x.cumpleRequisito = true;\n // });\n if (\n requisitosBeneficio.aplicaTramite &&\n requisitosBeneficio.requisitos.every((x) => x.cumpleRequisito)\n ) {\n this.validarTss()\n .then((result) => {\n resolve();\n })\n .catch(() => {\n resolve();\n });\n } else {\n await this.invalidarSolicitud();\n resolve();\n }\n });\n }\n\n @Watch(\"tipoDocumento\")\n public onTipoDocumentoChangeInStep2(\n newValue: string,\n oldValue: string\n ): void {\n //Cuando el tipo documentoCambie si estamos en ediion hay que resetear el fileInput\n //Esto lo hacemos solo cuando esta editando, porque cuando esta creando si cambia de tipo\n //Documento no hay que resetear el fileInput\n if (this.isEditing && oldValue != null) {\n //Se evalua que all value no sea nulo para que en el first load del edit no modifique esto\n this.resetSecondStep(false);\n this.previousDocumentoFiles.splice(0, this.previousDocumentoFiles.length);\n }\n }\n @Watch(\"banco\")\n public onBancoSelected(newValue: Banco, oldValue: Banco): void {\n if (!!oldValue) {\n const numeroCuentaInput: HTMLInputElement = this.$refs\n .numeroCuenta as HTMLInputElement;\n if (numeroCuentaInput) {\n numeroCuentaInput.value = \"\";\n }\n this.numeroCuenta = \"\";\n }\n }\n\n //El limpiar esta referencia se movio para el boton de registrar\n // @Watch(\"metodoDePago\")\n // public onMetodoDePagoSelected(\n // newValue: FormaDePago,\n // oldValue: FormaDePago\n // ): void {\n // // if (!!oldValue) {\n // // this.banco = null;\n // // this.tipoDeCuenta = null;\n // // this.numeroCuenta = null;\n // // this.referenciaDocumentoBancarioFiles = [];\n // // }\n // }\n\n public clearUnusedFields() {\n if (!this.metodoDePagoIsTransferenciaBancaria) {\n this.banco = null;\n this.tipoDeCuenta = null;\n this.numeroCuenta = null;\n this.referenciaDocumentoBancarioFiles = [];\n }\n }\n\n @Watch(\"viaNotificacion\")\n public onViaNotificacionSelected(\n newValue: CatalogoResponse,\n oldValue: CatalogoResponse\n ): void {\n if (!!oldValue) {\n this.modificaValorViaNotificacion = false;\n this.valorViaNotificacion = null;\n }\n }\n @Watch(\"montoRetiro\")\n private onMontoRetiroChanged(): void {\n if (this.debounceTimeout) {\n clearTimeout(this.debounceTimeout);\n }\n if(this.currentPresolicitud == null && this.currentPresolicitud.monRetiro == null){\n this.metodoDePago = null;\n }\n this.debounceTimeout = window.setTimeout(() => {\n this.getMetodosDePago();\n }, 1000); \n }\n public disableStep(step: number): void {\n // (this.ingresoTardioWizard.$children.filter(\n // (x) => x.$el.localName !== \"button\"\n // )[step].$el as HTMLElement).style.pointerEvents = \"none\";\n }\n\n public enableStep(step: number): void {\n (this.ingresoTardioWizard.$children.filter(\n (x) => x.$el.localName !== \"button\"\n )[step].$el as HTMLElement).style.pointerEvents = \"auto\";\n }\n\n public resetSecondStep(cleanTipoDocumentoSelect: boolean = true): void {\n if (cleanTipoDocumentoSelect) this.tipoDocumento = null;\n this.documentoFiles = [];\n // if (\n // this.previousDocumentoFiles &&\n // this.previousDocumentoFiles.length > 0\n // ) {\n // this.removedFiles.push(...this.previousDocumentoFiles);\n // }\n }\n\n public setPreviousFiles(): void {\n this.previousCedulaFrontalFiles = [\n this.documentosCurrentPresolicitud.filter(\n (x) =>\n x.tipoDocumento === this.tiposDocumentoByDocumento.tipoDocumentoCedula\n )[0],\n ];\n this.previousCedulaTraseraFiles = [\n this.documentosCurrentPresolicitud.filter(\n (x) =>\n x.tipoDocumento === this.tiposDocumentoByDocumento.tipoDocumentoCedula\n )[1],\n ];\n this.previousDocumentoFiles = [\n ...this.documentosCurrentPresolicitud.filter(\n (x) =>\n this.tiposDocumentoByDocumento.tipoDocumentoDocumento.includes(\n x.tipoDocumento\n ) &&\n !!x.ruta &&\n !x.esAdicional\n ),\n ];\n this.previousReferenciaDocumentoBancarioFiles = [\n ...this.documentosCurrentPresolicitud.filter(\n (x) =>\n x.tipoDocumento ===\n this.tiposDocumentoByDocumento\n .tipoDocumentoReferenciaDocumentoBancario\n ),\n ];\n this.previousDocumentoAdicionalFiles = [\n ...this.documentosCurrentPresolicitud.filter((x) => {\n return x.esAdicional;\n }),\n ];\n if (\n this.previousDocumentoAdicionalFiles &&\n this.previousDocumentoAdicionalFiles.length > 0\n ) {\n this.documentosAdicionales.push(\n ...this.previousDocumentoAdicionalFiles.filter(\n (x) => x.requiereCambioDoc\n )\n );\n }\n }\n\n public async getTiposDocumentoByStep(): Promise {\n return new Promise(async (resolve, reject) => {\n let tipoDocumentosStep1: Requisito[] = [];\n await this.ingresoTardioService\n .documentosRequeridos(\n String(this.formWizardSteps.firstStep.tabIndex + 1)\n )\n .then(\n (response: AxiosResponse>) => {\n tipoDocumentosStep1 = response.data.entities;\n }\n );\n let tipoDocumentosStep3: Requisito[] = [];\n await this.ingresoTardioService\n .documentosRequeridos(\n String(this.formWizardSteps.thirdStep.tabIndex + 1)\n )\n .then(\n (response: AxiosResponse>) => {\n tipoDocumentosStep3 = response.data.entities;\n }\n );\n const tipoDocumentoCedula: string = tipoDocumentosStep1[0].codRequisito.toString();\n const tipoDocumentoDocumento: Array = this.tiposDocumento.map(\n (x) => x.codRequisito.toString()\n );\n const tipoDocumentoReferenciaDocumentoBancario: string = tipoDocumentosStep3[0].codRequisito.toString();\n this.tiposDocumentoByDocumento = {\n tipoDocumentoCedula,\n tipoDocumentoDocumento,\n tipoDocumentoReferenciaDocumentoBancario,\n tipoDocumentoDocumentosAdicionales: [],\n };\n resolve();\n });\n }\n\n public setDatosTss(presolicitud: Presolicitud): Presolicitud {\n const presolicitudClone = {\n ...presolicitud,\n };\n //\n if (this.currentPresolicitud) {\n //Si se esta editando y se hizo una validacion de certificacionTss despues de 24 horas\n //usar los nuevos valores, de lo contrario usar los valores originales\n if (this.validacionTssActualizadaDespues24hours) {\n presolicitudClone.numeroCertTSS = this.validacionCertificacionTss.numeroCertificacion;\n presolicitudClone.fechaCertTSS = this.validacionCertificacionTss.fecha;\n presolicitudClone.estadoCertTSS = this.validacionCertificacionTss.estado;\n } else {\n presolicitudClone.numeroCertTSS = this.currentPresolicitud.numeroCertTSS;\n presolicitudClone.fechaCertTSS = this.currentPresolicitud.fechaCertTSS;\n presolicitudClone.estadoCertTSS = this.currentPresolicitud.estadoCertTSS;\n }\n } else {\n if (this.validacionCertificacionTss) {\n presolicitudClone.numeroCertTSS = this.validacionCertificacionTss.numeroCertificacion;\n presolicitudClone.fechaCertTSS = this.validacionCertificacionTss.fecha;\n presolicitudClone.estadoCertTSS = this.validacionCertificacionTss.estado;\n }\n }\n return presolicitudClone;\n }\n\n public setFieldValues(): void {\n if (this.previousDocumentoFiles && this.previousDocumentoFiles.length > 0) {\n this.tipoDocumento = this.tiposDocumento.find(\n (x) =>\n x.codRequisito ===\n Number(this.previousDocumentoFiles[0].tipoDocumento)\n );\n }\n this.metodoDePago = this.metodosDePago.find(\n (x) => x.formaPago === this.currentPresolicitud.formaPago\n \n );\n this.banco = this.bancos.find(\n (x) => x.codigoBanco === String(this.currentPresolicitud.idBanco)\n );\n this.tipoDeCuenta = this.tiposDeCuenta.find(\n (x) => x.value === this.currentPresolicitud.tipoCuenta\n );\n this.numeroCuenta = this.currentPresolicitud.numeroCuenta;\n this.viaNotificacion = this.viasNotificacion.find(\n (x) => x.value === this.currentPresolicitud.viaNotificacion\n );\n\n this.modalidadRetiroIT = this.modalidadesRetiroIT.find(\n (x) => x.codigo === this.currentPresolicitud.tipRetiro\n );\n }\n\n public moveToFifthStepAndDisableTheRest(): void {\n this.ingresoTardioWizard.changeTab(\n this.formWizardSteps.firstStep.tabIndex,\n this.formWizardSteps.fifthStep.tabIndex\n );\n this.disableStep(this.formWizardSteps.firstStep.formWizardChildrenIndex);\n this.disableStep(this.formWizardSteps.secondStep.formWizardChildrenIndex);\n this.disableStep(this.formWizardSteps.thirdStep.formWizardChildrenIndex);\n this.disableStep(this.formWizardSteps.fourthStep.formWizardChildrenIndex);\n }\n\n public setCurrentStepBasedOnDocumentsThatRequireToBeChanged(\n currentStep: number\n ): void {\n if (\n this.previousCedulaFrontalRequiereCambioDoc ||\n this.previousCedulaTraseraRequiereCambioDoc\n ) {\n this.ingresoTardioWizard.changeTab(\n currentStep,\n this.formWizardSteps.firstStep.tabIndex\n );\n currentStep = this.formWizardSteps.firstStep.tabIndex;\n } else if (\n this.previousDocumentoRequiereCambioDoc ||\n this.documentosAdicionales.length > 0\n ) {\n this.ingresoTardioWizard.changeTab(\n currentStep,\n this.formWizardSteps.secondStep.tabIndex\n );\n currentStep = this.formWizardSteps.secondStep.tabIndex;\n } else if (this.previousReferenciaDocumentoBancarioRequiereCambioDoc) {\n this.ingresoTardioWizard.changeTab(\n currentStep,\n this.formWizardSteps.thirdStep.tabIndex\n );\n currentStep = this.formWizardSteps.thirdStep.tabIndex;\n }\n }\n\n public async getPresolicitud(): Promise {\n return new Promise((resolve, reject) => {\n this.afiliadoService\n .getPresolicitud(\n new ParametrosObtencionPresolicitud(\n this.numeroSolicitud,\n this.user.cedula,\n null,\n null\n )\n )\n .then((response: AxiosResponse) => {\n if (\n response.data.solicitudes &&\n response.data.solicitudes.length > 0\n ) {\n const currentPresolicitud: Presolicitud = response.data.solicitudes.find(\n (x) => x.numeroSolicitud == this.numeroSolicitud\n );\n resolve(currentPresolicitud || null);\n } else {\n this.$router.push(\"/solicitudes-beneficiario\");\n resolve(null);\n }\n })\n .catch(() => {\n reject();\n });\n });\n }\n\n public async getDocumentosPresolicitud(): Promise {\n this.loadingFiles = true;\n return new Promise((resolve, reject) => {\n this.afiliadoService\n .getDocumentosPresolicitud(this.numeroSolicitud)\n .then((response: AxiosResponse) => {\n this.loadingFiles = false;\n resolve(response.data.archivos);\n })\n .catch(() => {\n this.loadingFiles = false;\n reject();\n });\n });\n }\n\n public showLoadingAlert(message: string): void {\n Swal.fire({\n text: message,\n icon: \"info\",\n timerProgressBar: true,\n onBeforeOpen: () => {\n Swal.showLoading();\n },\n allowOutsideClick: false,\n });\n }\n\n public showLoadingConfirm(message: string, onClose: () => void = () => {}) {\n Swal.fire({\n text: message,\n icon: \"info\",\n timerProgressBar: true,\n allowOutsideClick: false,\n showConfirmButton: true,\n confirmButtonText: \"Ok\",\n onClose,\n });\n }\n\n public showErrorAlert(\n message: string,\n allowOutsideClick: boolean = true\n ): void {\n Swal.fire({\n text: message,\n icon: \"error\",\n showConfirmButton: allowOutsideClick,\n confirmButtonText: \"Ok\",\n allowOutsideClick,\n });\n }\n\n public showInfoAlert(message: string): void {\n Swal.fire({\n text: message,\n icon: \"info\",\n });\n }\n\n get inputNumeroCuentaRules() {\n if (!this.banco) {\n return \"\";\n }\n\n if (!this.banco.validaMascara) {\n var mask = \"\";\n\n for (let i = 0; i < this.banco.lenMinimaCuenta; i++) {\n mask = mask + \"9\";\n }\n for (\n let i = 0;\n i < this.banco.lenMaximaCuenta - this.banco.lenMinimaCuenta;\n i++\n ) {\n mask = mask + \"[9]\";\n }\n this.banco.mascaraCuenta = mask;\n\n var mask = this.banco ? String(this.banco.mascaraCuenta) : \"\";\n return (\n \"required|mymin-validation:\" +\n String(this.banco.lenMinimaCuenta) +\n \"|mymax-validation:\" +\n String(this.banco.lenMaximaCuenta) +\n \"|mask:\" +\n String(mask)\n );\n } else {\n var mask = this.banco ? String(this.banco.mascaraCuenta) : \"\";\n return \"required|mask:\" + String(this.banco.mascaraCuenta);\n }\n }\n get isParcial() {\n var result = this.modalidadRetiroIT?.codigo === \"P\";\n if (!result) {\n this.montoRetiro = Number(this.user.saldoCCI.toFixed(2));\n }\n return result;\n }\n get inputMontoRetiroRules() {\n return (\n \"required|minimo-number-validation:\" +\n String(this.getMinimoRetiro) +\n \"|maximo-number-validation:\" +\n String(this.getMaximoRetiro.toFixed(2))\n );\n }\n get getMinimoRetiro() {\n if (this.user.saldoCCI > this.modalidadRetiroIT?.montoMinimo) {\n return this.modalidadRetiroIT.montoMinimo;\n } else {\n return this.user.saldoCCI;\n }\n }\n get getMaximoRetiro() {\n if (this.modalidadRetiroIT?.codigo == \"P\") {\n return this.user.saldoCCI - 1;\n } else {\n return this.user.saldoCCI;\n }\n }\n\n get currentPresolicitudEsModificable(): boolean {\n return this.currentPresolicitud && this.currentPresolicitud.esModificable;\n }\n\n get inputsCedulaAreValid(): boolean {\n return this.inputCedulaFrontalIsValid && this.inputCedulaTraseraIsValid;\n }\n\n get cedulaAfiliado(): string {\n return formatCedula(this.user.cedula);\n }\n\n get fechaNacimientoAfiliado(): string {\n return formatFechaAfpSiembra(this.user.fechaNacimientoDate);\n }\n\n get cedulaFiles(): File[] {\n return this.cedulaFrontalFiles.concat(this.cedulaTraseraFiles);\n }\n\n get previousCedulaFrontalRequiereCambioDoc(): boolean {\n return (\n this.previousCedulaFrontalFiles &&\n this.previousCedulaFrontalFiles.filter((x) => x.requiereCambioDoc)\n .length > 0\n );\n }\n\n get previousCedulaTraseraRequiereCambioDoc(): boolean {\n return (\n this.previousCedulaTraseraFiles &&\n this.previousCedulaTraseraFiles.filter((x) => x.requiereCambioDoc)\n .length > 0\n );\n }\n\n get previousDocumentoRequiereCambioDoc(): boolean {\n return (\n this.previousDocumentoFiles &&\n this.previousDocumentoFiles.filter((x) => x.requiereCambioDoc).length > 0\n );\n }\n\n get previousReferenciaDocumentoBancarioRequiereCambioDoc(): boolean {\n return (\n this.previousReferenciaDocumentoBancarioFiles &&\n this.previousReferenciaDocumentoBancarioFiles.filter(\n (x) => x.requiereCambioDoc\n ).length > 0\n );\n }\n\n get showCedulaFrontalInput(): boolean {\n return (\n !this.isEditing ||\n ((!this.existPreviousCedulaFrontalFiles ||\n this.previousCedulaFrontalRequiereCambioDoc ||\n this.previousCedulaTraseraRequiereCambioDoc) &&\n !this.loadingFiles)\n );\n }\n\n get showCedulaTraseraInput(): boolean {\n return (\n !this.isEditing ||\n ((!this.existPreviousCedulaTraseraFiles ||\n this.previousCedulaTraseraRequiereCambioDoc ||\n this.previousCedulaFrontalRequiereCambioDoc) &&\n !this.loadingFiles)\n );\n }\n\n public documentosAdicionalesAreValid(): boolean {\n return (\n !this.documentosAdicionales ||\n this.documentosAdicionales.length === 0 ||\n (this.documentosAdicionales &&\n this.documentosAdicionales.length > 0 &&\n this.documentosAdicionales.every(\n (documentoAdicional: Presolicitud, index: number) => {\n var documentoAdicionalTieneArchivo =\n !!this.documentoAdicionalFiles[index] &&\n this.documentoAdicionalFiles[index].length > 0;\n //\n if (!documentoAdicionalTieneArchivo) {\n this.showDocumentoAdicionalFilesRequiredError[index] = true;\n this.$forceUpdate();\n return false;\n }\n\n if (this.showInvalidDocumentoAdicionalFilesTypeError[index])\n return !this.showInvalidDocumentoAdicionalFilesTypeError[index];\n\n if (this.showInvalidDocumentoAdicionalFilesSizeError[index])\n return !this.showInvalidDocumentoAdicionalFilesSizeError[index];\n\n return true;\n }\n ))\n );\n }\n public onInputNumber(event) {\n event.target.value = event.target.value\n .replace(/[^0-9.]/g, '') \n .replace(/(\\..*)\\./g, '$1') \n .replace(/(\\.\\d{2})\\d+/g, '$1');\n\n this.montoRetiro = event.target.value;\n}\n\n public fileRemoveConfirmAlert(\n fileName: string\n ): Promise> {\n return Swal.fire({\n text: \"¿Deseas eliminar el archivo \" + fileName + \" ?\",\n icon: \"warning\",\n showCancelButton: true,\n cancelButtonText: \"Cancelar\",\n confirmButtonColor: \"#ED8B2F\",\n cancelButtonColor: \"#0F6CBC\",\n confirmButtonText: \"OK\",\n reverseButtons: true,\n });\n }\n\n public onRemoveCedulaFrontalFile(\n archivoPresolicitud: DocumentoPresolicitud\n ): void {\n const fileName: string = this.getFileName(archivoPresolicitud.ruta);\n this.fileRemoveConfirmAlert(fileName).then(\n (result: SweetAlertResult) => {\n if (result.value) {\n this.removeCedulaFrontalFile(archivoPresolicitud);\n this.removeCedulaTraseraFile(this.previousCedulaTraseraFiles[0]);\n }\n }\n );\n }\n\n public removeCedulaFrontalFile(\n archivoPresolicitud: DocumentoPresolicitud\n ): void {\n const index: number = this.previousCedulaFrontalFiles.indexOf(\n archivoPresolicitud\n );\n this.previousCedulaFrontalFiles.splice(index, 1);\n this.removedFiles.push(archivoPresolicitud);\n }\n\n public onRemoveCedulaTraseraFile(\n archivoPresolicitud: DocumentoPresolicitud\n ): void {\n const fileName: string = this.getFileName(archivoPresolicitud.ruta);\n this.fileRemoveConfirmAlert(fileName).then(\n (result: SweetAlertResult) => {\n if (result.value) {\n this.removeCedulaTraseraFile(archivoPresolicitud);\n this.removeCedulaFrontalFile(this.previousCedulaFrontalFiles[0]);\n }\n }\n );\n }\n\n public removeCedulaTraseraFile(\n archivoPresolicitud: DocumentoPresolicitud\n ): void {\n const index: number = this.previousCedulaTraseraFiles.indexOf(\n archivoPresolicitud\n );\n if (index > -1) {\n this.previousCedulaTraseraFiles.splice(index, 1);\n this.removedFiles.push(archivoPresolicitud);\n }\n }\n\n public removeDocumentoFile(\n documentoPresolicitud: DocumentoPresolicitud\n ): void {\n const index: number = this.previousDocumentoFiles.indexOf(\n documentoPresolicitud\n );\n this.previousDocumentoFiles.splice(index, 1);\n this.removedFiles.push(documentoPresolicitud);\n }\n\n public removeReferenciaDocumentoBancarioFile(\n documentoPresolicitud: DocumentoPresolicitud\n ): void {\n const index: number = this.previousReferenciaDocumentoBancarioFiles.indexOf(\n documentoPresolicitud\n );\n this.previousReferenciaDocumentoBancarioFiles.splice(index, 1);\n this.removedFiles.push(documentoPresolicitud);\n }\n\n public removeDocumentoAdicionalFile(\n documentoPresolicitud: DocumentoPresolicitud\n ): void {\n const index: number = this.previousDocumentoAdicionalFiles.indexOf(\n documentoPresolicitud\n );\n this.previousDocumentoAdicionalFiles.splice(index, 1);\n this.removedFiles.push(documentoPresolicitud);\n }\n\n public onRemoveDocumentoFile(\n archivoPresolicitud: DocumentoPresolicitud\n ): void {\n const fileName: string = this.getFileName(archivoPresolicitud.ruta);\n this.fileRemoveConfirmAlert(fileName).then(\n (result: SweetAlertResult) => {\n if (result.value) {\n this.removeDocumentoFile(archivoPresolicitud);\n }\n }\n );\n }\n\n public onRemoveReferenciaDocumentoBancarioFile(\n archivoPresolicitud: DocumentoPresolicitud\n ): void {\n const fileName: string = this.getFileName(archivoPresolicitud.ruta);\n this.fileRemoveConfirmAlert(fileName).then(\n (result: SweetAlertResult) => {\n if (result.value) {\n this.removeReferenciaDocumentoBancarioFile(archivoPresolicitud);\n }\n }\n );\n }\n\n public onRemoveDocumentoAdicionalFile(\n archivoPresolicitud: DocumentoPresolicitud\n ): void {\n const fileName: string = this.getFileName(archivoPresolicitud.ruta);\n this.fileRemoveConfirmAlert(fileName).then(\n (result: SweetAlertResult) => {\n if (result.value) {\n this.removeDocumentoAdicionalFile(archivoPresolicitud);\n //this.documentosAdicionales.push(archivoPresolicitud);\n }\n }\n );\n }\n\n public getFileName(fileUrl: string): string {\n if (fileUrl.includes(\"/\")) {\n const fileName = fileUrl.split(\"/\");\n return fileName[fileName.length - 1];\n } else {\n return fileUrl;\n }\n }\n\npublic async onAddOrRemoveCedulaFrontalFile(files: Array): Promise {\n this.disableStep(this.formWizardSteps.secondStep.formWizardChildrenIndex);\n //this.cedulaFrontalFiles = files;\n this.cedulaIsValid = false;\n this.cedulaFrontalServerMessage = \"\";\n this.processedBase64Images = [];\nfor (let file of files) {\n let base64Image: string;\n if (file.type === 'application/pdf') {\n try {\n const base64Pdf = await convertFileToBase64(file);\n const response = await this.afiliadoService.convertPdfToImage(base64Pdf);\n if (response.data.images && response.data.images.length > 0) {\n const images = response.data.images[0];\n const files = new File([Uint8Array.from(atob(images), (m) => m.codePointAt(0))],'myfilename.jpeg',{ type: \"image/jpeg\" });\n base64Image = await detectCedula(new File([files], \"converted_pdf.png\", { type: \"image/png\" }), \"front\");\n } else {\n console.error(\"No se encontraron imágenes en el PDF.\");\n }\n } catch (error) {\n console.error(\"Error al convertir PDF a imagen:\", error);\n }\n }\n else{\n base64Image= await detectCedula(file, \"front\");\n }\n this.processedBase64Images.push(base64Image);\n }\n\n this.cedulaFrontalFiles = convertBase64ToFile(\n this.processedBase64Images,\n \"cedula_frontal_solicitud\"\n );\n }\n\n public cedulaFrontalValidationChanged(isValid: boolean): void {\n this.inputCedulaFrontalIsValid = isValid;\n }\n\n\n public async onAddOrRemoveCedulaTraseraFile(files: Array): Promise {\n this.disableStep(this.formWizardSteps.secondStep.formWizardChildrenIndex);\n //this.cedulaTraseraFiles = files;\n this.cedulaIsValid = false;\n this.cedulaTraseraServerMessage = \"\";\n this.processedBase64Images = [];\n for (let file of files) {\n let base64Image: string;\n if (file.type === 'application/pdf') {\n try {\n const base64Pdf = await convertFileToBase64(file);\n const response = await this.afiliadoService.convertPdfToImage(base64Pdf);\n if (response.data.images && response.data.images.length > 0) {\n const images = response.data.images[0];\n const files = new File([Uint8Array.from(atob(images), (m) => m.codePointAt(0))],'archivo.jpeg',{ type: \"image/jpeg\" });\n base64Image = await detectCedula(new File([files], \"converted_pdf.png\", { type: \"image/png\" }), \"back\");\n console.log(\"base64Image\",base64Image)\n } else {\n console.error(\"No se encontraron imágenes en el PDF.\");\n }\n } catch (error) {\n console.error(\"Error al convertir PDF a imagen:\", error);\n }\n } else{\n base64Image = await detectCedula(file, \"back\");\n }\n this.processedBase64Images.push(base64Image);\n }\n\n this.cedulaTraseraFiles = convertBase64ToFile(\n this.processedBase64Images,\n \"cedula_trasera_solicitud\"\n );\n }\n\n public cedulaTraseraValidationChanged(isValid: boolean): void {\n this.inputCedulaTraseraIsValid = isValid;\n }\n\n public onAddOrRemoveDocumentoFile(files: Array): void {\n const sanitizedFiles = files.map((file) => {\n const cleanName = sanitizeFileName(file.name);\n return new File([file], cleanName, { type: file.type });\n });\n //this.documentoFiles = files;\n this.documentoFiles = sanitizedFiles;\n this.documentoIsValid = false;\n this.documentoServerMessage = \"\";\n }\n\n public documentoValidationChanged(isValid: boolean): void {\n this.documentoIsValid = isValid;\n }\n\n public referenciaDocumentoBancarioValidationChanged(isValid: boolean): void {\n this.inputReferenciaDocumentoBancarioIsValid = isValid;\n }\n\n public onAddOrRemoveReferenciaDocumentoBancarioFile(\n files: Array\n ): void {\n const sanitizedFiles = files.map((file) => {\n const cleanName = sanitizeFileName(file.name);\n return new File([file], cleanName, { type: file.type });\n });\n this.referenciaDocumentoBancarioFiles = sanitizedFiles;\n //this.referenciaDocumentoBancarioFiles = files;\n this.inputReferenciaDocumentoBancarioIsValid = false;\n this.referenciaDocumentoBancarioServerValidationMessage = \"\";\n }\n\n public onAddOrRemoveDocumentoAdicionalFile(\n index: number,\n tipoDocumento: string\n ): void {\n let pond: any = this.$refs[\"documentoAdicional\" + index][0];\n this.documentoAdicionalFiles[index] = pond.getFiles().map((x) => x.file);\n const tiposDocumento: Array = this.documentoAdicionalFiles[\n index\n ].map(() => {\n return tipoDocumento;\n });\n this.tiposDocumentoByDocumento.tipoDocumentoDocumentosAdicionales[\n index\n ] = tiposDocumento;\n //\n this.showDocumentoAdicionalFilesRequiredError[index] =\n this.documentoAdicionalFiles[index].length === 0;\n if (this.showDocumentoAdicionalFilesRequiredError[index]) {\n this.disableStep(this.formWizardSteps.thirdStep.formWizardChildrenIndex);\n }\n\n const anyFileTypeInvalid: boolean = this.documentoAdicionalFiles[\n index\n ].some((x) => !this.fileConfig.allowedFileTypes.includes(x.type));\n const anyFileExtensionInvalid: boolean = this.documentoAdicionalFiles[\n index\n ].some(\n (x) => this.fileConfig.notAllowExtensions.some(substring=>x.name.includes(substring))\n );\n\n if(anyFileExtensionInvalid || anyFileTypeInvalid){\n this.showInvalidDocumentoAdicionalFilesTypeError[\n index\n ] = true;\n }else{\n this.showInvalidDocumentoAdicionalFilesTypeError[\n index\n ] = false;\n }\n\n const anyFileSizeInvalid: boolean = this.documentoAdicionalFiles[\n index\n ].some((x) => x.size / 1000000 > this.fileConfig.fileSizeMbLimit);\n this.showInvalidDocumentoAdicionalFilesSizeError[\n index\n ] = anyFileSizeInvalid;\n this.$forceUpdate();\n }\n\n public async getTiposDocumento() {\n this.tiposDocumentoLoading = true;\n const response = await this.ingresoTardioService.documentosRequeridos(\n String(this.formWizardSteps.secondStep.tabIndex + 1)\n );\n if (response.data.entities) {\n this.tiposDocumento = response.data.entities;\n } else {\n this.tiposDocumento = [];\n }\n this.tiposDocumentoLoading = false;\n }\n\n public async getViasNotificacion(term: string = null) {\n if (term && term.length <= 3) {\n return;\n }\n\n this.viasNotificacionLoading = true;\n const response = await this.afiliadoService.viasNotificacion(term);\n if (response.data.entity) {\n this.viasNotificacion = response.data.entity;\n } else {\n this.viasNotificacion = [];\n }\n this.viasNotificacionLoading = false;\n }\n\n public async getBancos(term: string = null) {\n if (term && term.length <= 3) {\n return;\n }\n\n this.bancosLoading = true;\n const response = await this.afiliadoService.bancos(term);\n if (response.data.entities) {\n this.bancos = response.data.entities;\n } else {\n this.bancos = [];\n }\n this.bancosLoading = false;\n }\n\n public async getMetodosDePago(term: string = null) {\n if (term && term.length <= 3) {\n return;\n }\n\n this.metodosDePagoLoading = true;\n if(this.currentPresolicitud != null && this.currentPresolicitud.monRetiro != null){\n this.montoRetiro = this.currentPresolicitud.monRetiro;\n }\n const response = await this.afiliadoService.metodosDePago(\n this.montoRetiro || this.user.saldoCCI,\n term\n );\n\n if (response.data.entities) {\n this.metodosDePago = response.data.entities.filter(\n (x) => {\n const monto = this.montoRetiro || this.user.saldoCCI;\n return x.topeMinimo <= monto && x.topeMaximo >= monto;\n }\n );\n}\nelse {\n this.metodosDePago = [];\n }\n this.metodosDePagoLoading = false;\n }\n\n public async getTiposDeCuenta(term: string = null) {\n if (term && term.length <= 3) {\n return;\n }\n\n this.tiposDeCuentaLoading = true;\n const response = await this.afiliadoService.tiposDeCuenta(term);\n if (response.data.entity) {\n this.tiposDeCuenta = response.data.entity;\n } else {\n this.tiposDeCuenta = [];\n }\n this.tiposDeCuentaLoading = false;\n }\n public async getModalidadRetiroIT() {\n this.modalidadesRetiroITLoading = true;\n const response = await this.afiliadoService.getModalidadRetiroIT();\n var vava = response.data;\n\n if (response.data) {\n this.modalidadesRetiroIT = response.data.entity;\n } else {\n this.modalidadRetiroIT = null;\n }\n this.modalidadesRetiroITLoading = false;\n this.montoRetiro = Number(this.user.saldoCCI.toFixed(2));\n }\n\n public firstStepIsValid(): boolean {\n if (!this.currentPresolicitudEsModificable) {\n return true;\n }\n if (this.previousCedulaFrontalRequiereCambioDoc) {\n if (!this.inputCedulaFrontalIsValid) {\n return false;\n }\n }\n if (this.previousCedulaTraseraRequiereCambioDoc) {\n if (!this.inputCedulaTraseraIsValid) {\n return false;\n }\n }\n return (\n (this.inputsCedulaAreValid && this.cedulaIsValid) ||\n this.existPreviousCedulaFiles\n );\n }\n\n public secondStepIsValid(): boolean {\n if (!this.currentPresolicitudEsModificable) {\n return true;\n }\n if (this.datosCedulaCoincideConBD) {\n return true;\n }\n if (this.existPreviousDocumentoFiles) {\n if (this.previousDocumentoRequiereCambioDoc) {\n if (!this.documentoIsValid) {\n return false;\n }\n } else {\n return true;\n }\n }\n if (this.omitirActualizacionDatos) {\n return true;\n }\n return this.documentoIsValid;\n }\n\n public thirdStepIsValid(): boolean {\n if (!this.currentPresolicitudEsModificable) {\n return true;\n }\n if (this.previousReferenciaDocumentoBancarioRequiereCambioDoc) {\n if (!this.existReferenciaDocumentoBancarioFiles) {\n return false;\n }\n }\n return !!this.numeroSolicitudCreada;\n }\n\n get metodoDePagoIsTransferenciaBancaria(): boolean {\n return this.metodoDePago && this.metodoDePago.formaPago === \"T\";\n }\n\n get existReferenciaDocumentoBancarioFiles(): boolean {\n return (\n this.referenciaDocumentoBancarioFiles &&\n this.referenciaDocumentoBancarioFiles.length > 0\n );\n }\n\n get existPreviousCedulaFrontalFiles(): boolean {\n return !(\n this.previousCedulaFrontalFiles &&\n this.previousCedulaFrontalFiles.length === 0\n );\n }\n\n get existPreviousCedulaTraseraFiles(): boolean {\n return !(\n this.previousCedulaTraseraFiles &&\n this.previousCedulaTraseraFiles.length === 0\n );\n }\n\n get existPreviousCedulaFiles(): boolean {\n return (\n this.existPreviousCedulaFrontalFiles &&\n this.existPreviousCedulaTraseraFiles\n );\n }\n\n get existPreviousDocumentoFiles(): boolean {\n return !(\n this.previousDocumentoFiles && this.previousDocumentoFiles.length === 0\n );\n }\n\n get existPreviousReferenciaDocumentoBancarioFiles(): boolean {\n return !(\n this.previousReferenciaDocumentoBancarioFiles &&\n this.previousReferenciaDocumentoBancarioFiles.length === 0\n );\n }\n\n get existPreviousDocumentoAdicionalFiles(): boolean {\n return !(\n this.previousDocumentoAdicionalFiles &&\n this.previousDocumentoAdicionalFiles.length === 0\n );\n }\n\n get generaSolicitudAutomatica(): boolean {\n return (\n !this.metodoDePagoIsTransferenciaBancaria && this.datosCedulaCoincideConBD\n );\n }\n\n get valorViaNotificacionActual(): string {\n if (this.viaNotificacion) {\n switch (this.viaNotificacion.value) {\n case \"E\":\n return this.user.correoElectronico1 || this.user.correoElectronico2;\n case \"C\":\n return this.user.celular;\n default:\n return;\n }\n } else {\n return null;\n }\n }\n\n public nextAction(\n success: boolean,\n nextAction: (props: any, _this: RegistroIngresoTardio) => any,\n props: any\n ): void {\n if (success) {\n if (nextAction) {\n nextAction(props, this);\n }\n }\n }\n\n public async verificarCedula(): Promise {\n return new Promise((resolve, reject) => {\n if (!this.existPreviousCedulaFiles && !this.inputsCedulaAreValid) {\n this.callInputValidation();\n resolve(this.cedulaIsValid);\n return;\n }\n if (\n (this.previousCedulaFrontalRequiereCambioDoc &&\n !this.inputCedulaFrontalIsValid) ||\n (this.previousCedulaTraseraRequiereCambioDoc &&\n !this.inputCedulaTraseraIsValid)\n ) {\n this.callInputValidation();\n resolve(this.cedulaIsValid);\n return;\n }\n if (\n !this.existPreviousCedulaFiles ||\n this.previousCedulaFrontalRequiereCambioDoc ||\n this.previousCedulaTraseraRequiereCambioDoc\n ) {\n this.cedulaFrontalServerMessage = \"\";\n this.cedulaTraseraServerMessage = \"\";\n this.showLoadingAlert(\n \"Valoramos tu tiempo. Este proceso puede tomar unos minutos. Gracias por utilizar nuestra plataforma digital de beneficios.\"\n );\n this.loading = true;\n this.validationService\n .validateCedulaAfiliadoIT(\n new ValidacionCedulaIt(\n this.user.cedula,\n this.user.getNombreCompleto(),\n this.user.fechaNacimientoDate,\n this.previousCedulaFrontalFiles &&\n this.previousCedulaFrontalFiles.length > 0\n ? this.previousCedulaFrontalFiles[0].ruta\n : null,\n this.previousCedulaTraseraFiles &&\n this.previousCedulaTraseraFiles.length > 0\n ? this.previousCedulaTraseraFiles[0].ruta\n : null\n ),\n {\n cedulaFrontal: this.cedulaFrontalFiles,\n cedulaTrasera: this.cedulaTraseraFiles,\n }\n )\n .then(\n (\n response: AxiosResponse<\n ServiceResponseEntity\n >\n ) => {\n if (response.data.respCode == 200) {\n this.datosCedulaCoincideConBD = true;\n this.resultValidacionCedula = response.data.entity;\n this.cedulaIsValid = true;\n } else {\n switch (response.data.respCode) {\n case 410:\n // Nombre afiliado no coincide\n this.datosCedulaCoincideConBD = false;\n this.resultValidacionCedula = response.data.entity;\n if (this.resultValidacionCedula.cedulaCoincide) {\n this.cedulaIsValid = true;\n }\n break;\n case 411:\n // Cedula frontal de baja calidad\n this.cedulaFrontalServerMessage = response.data.message;\n break;\n case 412:\n // Cedula trasera de baja calidad\n this.cedulaTraseraServerMessage = response.data.message;\n break;\n default:\n this.loading = false;\n this.showErrorAlert(\n \"Lo siento, ha ocurrido un error en la comunicación, por favor intenta más tarde.\",\n true\n );\n resolve(false);\n return;\n }\n\n //Each time cedula validation run, update currentPresolicitud values\n if (this.currentPresolicitud) {\n this.currentPresolicitud.cedulaCoincide = this.resultValidacionCedula.cedulaCoincide;\n this.currentPresolicitud.nombreCoincide = this.resultValidacionCedula.nombreCoincide;\n this.currentPresolicitud.fechaNacimientoCoincide = this.resultValidacionCedula.fechaNacimientoCoincide;\n }\n }\n this.loading = false;\n Swal.close();\n resolve(this.cedulaIsValid);\n if (!this.resultValidacionCedula.cedulaCoincide) {\n Swal.fire({\n text:\n \"El número de cédula de identidad del documento que cargó no coincide con el número de cédula registrado en nuestra base de datos. Ambos números deben coincidir para que puedas continuar con el registro de su solicitud.\",\n icon: \"warning\",\n confirmButtonText: \"OK\",\n });\n }\n }\n )\n .catch(() => {\n this.loading = false;\n Swal.close();\n reject();\n });\n } else {\n this.loading = false;\n Swal.close();\n resolve(true);\n }\n });\n }\n\n public async invalidarSolicitud(): Promise {\n return new Promise((resolve, reject) => {\n this.showLoadingConfirm(\n \"Lo sentimos, actualmente no cumples con los requisitos para continuar con esta solicitud de beneficios. Esta será anulada.\",\n () => {\n const registroPresolicitud = new RegistroPresolicitud();\n registroPresolicitud.presolicitud.tipoBeneficio = TipoBeneficioEnum.IngresoTardio.toString();\n registroPresolicitud.presolicitud.numeroSolicitud = this.numeroSolicitud;\n registroPresolicitud.presolicitud.cedulaAfiliado = this.user.cedula;\n registroPresolicitud.presolicitud.cedulaBeneficiario = this.user.cedula;\n registroPresolicitud.presolicitud.estado = \"C\";\n this.afiliadoService\n .registroPresolicitud(registroPresolicitud, {\n cedula: null,\n docsActDatos: null,\n referenciaDocumentoBancario: null,\n documentosAdicionales: null,\n })\n .then((response: AxiosResponse) => {\n if (response.data.respCode === 200) {\n Swal.close();\n this.$router.push(\"/home\");\n resolve();\n } else {\n this.showErrorAlert(\n response.data.message ||\n \"Lo siento, ha ocurrido un error en la comunicación, por favor intenta más tarde.\",\n false\n );\n resolve();\n }\n })\n .catch((error) => {\n this.showErrorAlert(\n \"Lo siento, ha ocurrido un error en la comunicación, por favor intenta más tarde.\",\n false\n );\n reject();\n });\n }\n );\n });\n }\n\n public async completarPresolicitud(): Promise {\n return new Promise((resolve, reject) => {\n if (\n !this.isEditing ||\n (this.isEditing &&\n (this.currentPresolicitudEsModificable ||\n this.previousCedulaFrontalRequiereCambioDoc ||\n this.previousCedulaTraseraRequiereCambioDoc ||\n this.previousDocumentoRequiereCambioDoc ||\n this.documentosAdicionales.length > 0 ||\n this.previousReferenciaDocumentoBancarioRequiereCambioDoc))\n ) {\n if (!this.generaSolicitudAutomatica) {\n this.registrarPresolicitud()\n .then((response: boolean) => {\n this.loading = false;\n setTimeout(() => Swal.close(), 4000);\n resolve(response);\n })\n .catch(() => {\n reject();\n });\n } else {\n resolve(true);\n }\n } else {\n resolve(true);\n }\n });\n }\n\n public async registrarPresolicitud(\n showLoading: boolean = true,\n packageId?: string\n ): Promise {\n return new Promise((resolve, reject) => {\n (this.$refs.registroIngresoTardioForm as VeeValidateForm)\n .validate()\n .then(async (isValid: boolean) => {\n console.log(\"Validation Form Execured, result: \" + isValid);\n //\n if (isValid) {\n this.clearUnusedFields();\n //\n if (\n this.metodoDePagoIsTransferenciaBancaria &&\n !this.existReferenciaDocumentoBancarioFiles &&\n !this.existPreviousReferenciaDocumentoBancarioFiles\n ) {\n console.log(\n \"Metodo pago es transferencia y no referencia Doc Bancario, ni en input ni en previous\"\n );\n this.showReferenciaDocumentoBancarioFilesRequiredError = true;\n resolve(!!this.numeroSolicitudCreada);\n return;\n }\n if (\n this.metodoDePagoIsTransferenciaBancaria &&\n this.previousReferenciaDocumentoBancarioRequiereCambioDoc &&\n !this.existReferenciaDocumentoBancarioFiles\n ) {\n this.showReferenciaDocumentoBancarioFilesRequiredError = true;\n resolve(!!this.numeroSolicitudCreada);\n return;\n }\n if (showLoading) {\n this.showLoadingAlert(\"Se están registrando los datos\");\n this.loading = true;\n }\n this.showReferenciaDocumentoBancarioServerValidationMessage = false;\n this.registroPresolicitud.presolicitud.tipoBeneficio = TipoBeneficioEnum.IngresoTardio.toString();\n this.registroPresolicitud.presolicitud.numeroSolicitud = this.numeroSolicitud;\n //\n this.registroPresolicitud.presolicitud.cedulaCoincide = this.resultValidacionCedula.cedulaCoincide;\n this.registroPresolicitud.presolicitud.nombreCoincide = this.resultValidacionCedula.nombreCoincide;\n this.registroPresolicitud.presolicitud.fechaNacimientoCoincide = this.resultValidacionCedula.fechaNacimientoCoincide;\n\n this.registroPresolicitud.presolicitud.formaPago = this.metodoDePago.formaPago;\n\n if (this.metodoDePagoIsTransferenciaBancaria) {\n if (this.banco) {\n this.registroPresolicitud.presolicitud.idBanco = Number(\n this.banco.codigoBanco\n );\n }\n if (this.tipoDeCuenta) {\n this.registroPresolicitud.presolicitud.tipoCuenta = this.tipoDeCuenta.value;\n }\n this.registroPresolicitud.presolicitud.numeroCuenta = this.numeroCuenta;\n }\n this.registroPresolicitud.presolicitud.monRetiro = this.montoRetiro;\n this.registroPresolicitud.presolicitud.tipRetiro = this.modalidadRetiroIT.codigo;\n this.registroPresolicitud.presolicitud.cedulaAfiliado = this.user.cedula;\n this.registroPresolicitud.presolicitud.cedulaBeneficiario = this.user.cedula;\n this.registroPresolicitud.presolicitud.codCuenta = this.user.codCuenta;\n if (packageId) {\n this.registroPresolicitud.presolicitud.idTransFirma = packageId;\n }\n this.registroPresolicitud.presolicitud.formaGeneraSolicitud = this\n .generaSolicitudAutomatica\n ? FormaGeneraSolicitudEnum.Automatica\n : FormaGeneraSolicitudEnum.Manual;\n if (this.viaNotificacion) {\n this.registroPresolicitud.presolicitud.viaNotificacion = this.viaNotificacion.value;\n var valorViaNotificacion =\n this.valorViaNotificacion || this.valorViaNotificacionActual;\n //\n if (this.viaNotificacion) {\n switch (this.viaNotificacion.value) {\n case \"E\":\n this.registroPresolicitud.presolicitud.eMail = valorViaNotificacion;\n this.user.correoElectronico1 = valorViaNotificacion;\n break;\n case \"C\":\n this.registroPresolicitud.presolicitud.numTelefono = valorViaNotificacion;\n this.user.celular = valorViaNotificacion;\n break;\n default:\n break;\n }\n }\n }\n this.registroPresolicitud.presolicitud = this.setDatosTss(\n this.registroPresolicitud.presolicitud\n );\n\n if (this.currentPresolicitud) {\n //Si existe el currentPresolicitud, utilizar el mismo idTransfirma para no sobreescribir\n this.registroPresolicitud.presolicitud.idTransFirma = this.currentPresolicitud.idTransFirma;\n }\n //Esto es para mover los archivos que requieren cambios a removedFiles\n this.removeFilesThatRequireChanges();\n //\n this.registroPresolicitud.archivosEliminados = this.removedFiles;\n this.registroPresolicitud.tiposDocumento = [];\n\n //#region Tipos de documento\n this.cedulaFiles.forEach((cedulaFile: File) => {\n this.registroPresolicitud.tiposDocumento.push(\n this.tiposDocumentoByDocumento.tipoDocumentoCedula\n );\n });\n this.documentoFiles.forEach((documentoFile: File) => {\n this.registroPresolicitud.tiposDocumento.push(\n this.tipoDocumento.codRequisito.toString()\n );\n });\n this.referenciaDocumentoBancarioFiles.forEach(\n (referenciaDocumentoBancarioFile: File) => {\n this.registroPresolicitud.tiposDocumento.push(\n this.tiposDocumentoByDocumento\n .tipoDocumentoReferenciaDocumentoBancario\n );\n }\n );\n this.documentoAdicionalFiles.forEach(\n (documentoAdicionalFile: Array) => {\n const tiposDocumentoDocumentosAdicionales: Array = this.tiposDocumentoByDocumento.tipoDocumentoDocumentosAdicionales.flat();\n this.registroPresolicitud.tiposDocumento.push(\n ...tiposDocumentoDocumentosAdicionales\n );\n }\n );\n //#endregion\n this.afiliadoService\n .registroPresolicitud(this.registroPresolicitud, {\n cedula: this.cedulaFiles,\n docsActDatos: this.documentoFiles,\n referenciaDocumentoBancario: this\n .referenciaDocumentoBancarioFiles,\n documentosAdicionales: this.documentoAdicionalFiles.flat(),\n })\n .then((response: AxiosResponse) => {\n if (response.data.respCode === 200) {\n window.removeEventListener(\n \"beforeunload\",\n this.beforeUnloadHandler\n );\n this.numeroSolicitudCreada = response.data.numeroSolicitud;\n this.numeroSolicitud = this.numeroSolicitudCreada;\n this.setUserLoggedAction(this.user);\n } else if (response.data.respCode === 403) {\n this.showErrorAlert(response.data.message, false);\n } else {\n this.showErrorAlert(\n \"Lo siento, ha ocurrido un error en la comunicación, por favor intenta más tarde.\"\n );\n }\n\n resolve(!!this.numeroSolicitudCreada);\n })\n .catch(() => {\n this.loading = false;\n Swal.close();\n this.showErrorAlert(\n \"Lo siento, ha ocurrido un error en la comunicación, por favor intenta más tarde.\"\n );\n reject();\n });\n } else {\n this.loading = false;\n Swal.close();\n resolve(!!this.numeroSolicitudCreada);\n }\n })\n .catch(() => {\n this.loading = false;\n Swal.close();\n reject();\n });\n });\n }\n\n public async navigateToSolicitudes(): Promise {\n window.removeEventListener(\"beforeunload\", this.beforeUnloadHandler);\n return new Promise((resolve, reject) => {\n this.$router.push(\"/solicitudes-beneficiario\");\n resolve(true);\n });\n }\n\n public async firmarContratoIngresoTardio(): Promise {\n return new Promise((resolve, reject) => {\n this.registrarPresolicitud()\n .then((result: boolean) => {\n console.log(result);\n if (result) {\n const firmante: FirmanteContratoIngresoTardio = new FirmanteContratoIngresoTardio(\n this.user.correoElectronico1 || this.user.correoElectronico2,\n this.user.getNombres(),\n this.user.getApellidos(),\n this.user.celular,\n this.user.cedula,\n null,\n null,\n this.user.codCiudad,\n this.numeroSolicitudCreada,\n null,\n this.user.saldoCCI,\n this.user.fechaNacimientoDate,\n this.user.telefonoResidencia\n );\n this.afiliadoService\n .firmarContratoIngresoTardio(firmante)\n .then((response: AxiosResponse) => {\n this.signUrlContrato = response.data.signingUrl;\n // this.loading = false;\n // Swal.close();\n resolve(true);\n })\n .catch(() => {\n this.loading = false;\n setTimeout(() => Swal.close(), 4000);\n this.showErrorAlert(\n \"Lo siento, ha ocurrido un error en la comunicación, por favor intenta más tarde.\"\n );\n reject();\n });\n } else {\n this.loading = false;\n setTimeout(() => Swal.close(), 4000);\n resolve(false);\n }\n })\n .catch(() => {\n this.loading = false;\n Swal.close();\n this.showErrorAlert(\n \"Lo siento, ha ocurrido un error en la comunicación, por favor intenta más tarde.\"\n );\n reject();\n });\n });\n }\n\n public showAsesoriaAlert(): void {\n Swal.fire({\n text: \"Modal with a custom image.\",\n width: 800,\n showCancelButton: true,\n confirmButtonColor: \"#ED8B2F\",\n cancelButtonColor: \"#0F6CbC\",\n confirmButtonText: \"Sí\",\n cancelButtonText: \"No\",\n html:\n '' +\n '

¡Excelente! Aplicas para la Devolución de Fondos por Ingreso Tardío. ¿Te gustaría que nuestro asesor financiero te contacte, para brindarte más información de cómo estarías impactando tu inversión al realizar el retiro de tus fondos?

',\n }).then((result) => {\n if (result.isConfirmed) {\n this.afiliadoService.registrarAsesoria(this.user.cedula);\n Swal.fire({\n width: 800,\n allowOutsideClick: false,\n html:\n '' +\n '

Nuestro consultor financiero te estará contactando vía telefónica en (1) un día laboral. Es un placer servirte.

',\n }).then((result) => {\n this.$router.push(\"/solicitudes-beneficiario\");\n });\n }\n });\n }\n\n public numberFormat(x) {\n return x.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n }\n\n @Watch(\"modalidadRetiroIT\")\n onMontoRetiroChange(value: ModalidadRetiroIT, oldValue: ModalidadRetiroIT) {\n this.montoRetiro = Number(this.user.saldoCCI.toFixed(2));\n }\n\n public removeParcial() {\n var minimoPension = this.modalidadesRetiroIT[0].montoMinimo;\n if (this.user.saldoCCI < minimoPension) {\n this.modalidadesRetiroIT = this.modalidadesRetiroIT.filter(\n (x) => x.codigo == \"T\"\n );\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RegistroIngresoTardio.vue?vue&type=script&lang=ts\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RegistroIngresoTardio.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RegistroIngresoTardio.vue?vue&type=template&id=6dc8700e&scoped=true\"\nimport script from \"./RegistroIngresoTardio.vue?vue&type=script&lang=ts\"\nexport * from \"./RegistroIngresoTardio.vue?vue&type=script&lang=ts\"\nimport style0 from \"./RegistroIngresoTardio.vue?vue&type=style&index=0&id=6dc8700e&prod&scoped=true&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 \"6dc8700e\",\n null\n \n)\n\nexport default component.exports","// src/utils/convertBase64ToFile.ts\n\n/**\n * Convierte una lista de imágenes en Base64 a archivos File.\n * @param base64Images - Array de strings en formato Base64.\n * @param filename - Nombre base para los archivos generados.\n * @returns Array de archivos File.\n */\nexport function convertBase64ToFile(base64Images: Array, filename: string): Array {\n return base64Images.map((base64Image, index) => {\n const byteString = atob(base64Image.split(\",\")[1]);\n const arrayBuffer = new ArrayBuffer(byteString.length);\n const intArray = new Uint8Array(arrayBuffer);\n for (let i = 0; i < byteString.length; i++) {\n intArray[i] = byteString.charCodeAt(i);\n }\n const blob = new Blob([intArray], { type: \"image/png\" });\n // Añadir un sufijo al nombre del archivo si se procesan múltiples imágenes\n const fileSuffix = base64Images.length > 1 ? `_${index + 1}` : '';\n return new File([blob], `${filename}${fileSuffix}.png`, { type: \"image/png\" });\n });\n }\n /**\n * Convierte un archivo a base64.\n * @param file - El archivo que se va a convertir.\n * @returns Una promesa que se resuelve con el string en formato base64.\n */\n export function convertFileToBase64(file: File): Promise {\n return new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.readAsDataURL(file);\n reader.onload = () => resolve(reader.result as string);\n reader.onerror = (error) => reject(error);\n });\n }","module.exports = __webpack_public_path__ + \"img/ejemplo-cedula-frontal.2633ec7f.jpg\";","'use strict';\nvar $export = require('./_export');\nvar $at = require('./_string-at')(false);\n$export($export.P, 'String', {\n // 21.1.3.3 String.prototype.codePointAt(pos)\n codePointAt: function codePointAt(pos) {\n return $at(this, pos);\n }\n});\n","export default class Esigner {\n constructor(\n public email: string,\n public firstName: string,\n public lastName: string,\n public phoneNumber: string,\n public cedula: string\n ) {}\n}","import Esigner from './Esigner';\n\nexport default class FirmanteContratoIngresoTardio extends Esigner {\n constructor(\n public email: string,\n public firstName: string,\n public lastName: string,\n public phoneNumber: string,\n public cedula: string,\n public nacionalidad: string,\n public direccionCompleta: string,\n public provincia: string,\n public numeroSolicitud: number,\n public saldoCCILetras: string,\n public saldoCCI: number,\n public fechaNacimiento: string,\n public telefonoResidencial: string\n ) {\n super(email, firstName, lastName, phoneNumber, cedula);\n }\n}","module.exports = __webpack_public_path__ + \"img/ejemplo-cedula-al-dorso.e5658614.jpg\";","/**\n * Elimina caracteres especiales del nombre de un archivo, dejando solo letras sin acentos, números, guiones y puntos.\n * @param fileName - Nombre del archivo a limpiar.\n * @returns El nombre del archivo limpio.\n */\nexport function sanitizeFileName(fileName: string): string {\n // Expresión regular para eliminar caracteres especiales, incluyendo letras con acentos y otros signos diacríticos\n return fileName\n .normalize('NFD') // Normaliza los caracteres, separando letras de sus signos diacríticos\n .replace(/[\\u0300-\\u036f]/g, '') // Elimina los signos diacríticos\n .replace(/[^a-zA-Z0-9.\\-_]/g, ''); // Permite solo letras, números, guiones, y puntos\n}\n"],"sourceRoot":""}