{"version":3,"sources":["webpack:///./node_modules/custom-callout/dist/custom-callout.esm.js","webpack:///./src/utils/constants/fileInputStatus.js","webpack:///./src/services/pei/general.js","webpack:///./node_modules/icon-view/dist/icon-view.esm.js","webpack:///./src/services/documents.js","webpack:///./node_modules/CustomTextArea/dist/custom-text-area.esm.js","webpack:///./node_modules/dropdown/dist/dropdown.esm.js","webpack:///./node_modules/core-js/modules/es.array.sort.js","webpack:///./node_modules/custom-balloon/dist/custom-balloon.esm.js","webpack:///./node_modules/support-tickets/dist/support-tickets.esm.js","webpack:///./node_modules/ke-the-mask/dist/es6.js","webpack:///./node_modules/FilterManager/dist/filter-manager.esm.js","webpack:///./node_modules/pagination/dist/pagination.esm.js","webpack:///./src/services/api/helpdesk.js","webpack:///./node_modules/v-money/dist/v-money.js","webpack:///./node_modules/utils/mixins/alert.mixin.js","webpack:///./node_modules/CustomChipsGroup/dist/custom-chips-group.esm.js","webpack:///./node_modules/CustomModal/node_modules/ActionButton/dist/action-button.esm.js","webpack:///./node_modules/CustomModal/dist/custom-modal.esm.js","webpack:///./node_modules/CustomFileInput/dist/custom-file-input.esm.js","webpack:///./node_modules/object-to-formdata/src/index.js","webpack:///./node_modules/CustomInputDisplay/dist/custom-input-display.esm.js","webpack:///./node_modules/CustomInput/dist/custom-input.esm.js","webpack:///./src/views/helpdesk/Manage/Main.vue?76c7","webpack:///src/views/helpdesk/Manage/Main.vue","webpack:///./src/views/helpdesk/Manage/Main.vue?b6f7","webpack:///./src/views/helpdesk/Manage/Main.vue","webpack:///./node_modules/custom-checkbox-single-option/dist/custom-checkbox-single-option.esm.js","webpack:///./src/utils/constants/documentTypes.js","webpack:///./node_modules/SectionTitle/dist/section-title.esm.js","webpack:///./node_modules/custom-separator/dist/custom-separator.esm.js","webpack:///./node_modules/custom-radio/dist/custom-radio.esm.js"],"names":["script","name","props","hasBorder","type","Boolean","default","hasToggle","borderColor","String","borderColorHex","opened","controlled","classMain","classPanel","hexColorsWrapIcon","hasGradient","showContainer","disabled","persistData","isOpen","watch","value","this","immediate","methods","$emit","normalizeComponent","template","style","scopeId","isFunctionalTemplate","moduleIdentifier","shadowMode","createInjector","createInjectorSSR","createInjectorShadow","options","hook","render","staticRenderFns","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","call","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","originalRender","h","existing","beforeCreate","concat","isOldIE","navigator","test","userAgent","toLowerCase","id","addStyle","HEAD","styles","css","group","media","ids","Set","has","code","source","map","sources","btoa","unescape","encodeURIComponent","JSON","stringify","element","document","createElement","setAttribute","undefined","head","getElementsByTagName","appendChild","push","styleSheet","cssText","filter","join","index","size","textNode","createTextNode","nodes","childNodes","removeChild","length","insertBefore","__vue_script__","__vue_render__","_vm","_h","$createElement","_c","_self","staticClass","class","backgroundColor","on","open","_e","_v","_t","directives","rawName","expression","__vue_staticRenderFns__","__vue_inject_styles__","inject","__vue_scope_id__","__vue_module_identifier__","__vue_is_functional_template__","__vue_component__","install","Vue","installed","component","fileInputStatus","Empty","Loaded","Loading","Deleted","apiUrl","generalPeiAtInformation","peiId","http","get","generalPeiCodeAt","documentsUploadFiles","files","post","headers","downloadDocument","documentFile","byteChars","atob","content","byteNumbers","Array","i","charCodeAt","byteArray","Uint8Array","blob","Blob","contentType","link","href","window","URL","createObjectURL","download","filename","click","documentsDownloadFiles","peiAtServiceId","codeDocumentType","then","response","data","downloadStudentDocument","evaluationId","documentId","Promise","resolve","reject","catch","err","documentsPeiDownloadFiles","documentDownloadLocalFile","file","fr","FileReader","readAsDataURL","objectURL","body","remove","documentDownloadReport","binaryString","binaryLen","bytes","ascii","documentsDeleteFiles","documentsLoadFiles","evaluationDownloadFiles","studentEvaluationId","studentEvaluationsDocumentIds","responseType","e","downloadDocumentByAttachmentId","studentEvaluationsAttachmentIds","attachmentId","downloadDocumentByAttachmentIdByDocumentCategory","documentCategory","downloadDocumentForThrerapyReferral","getDocument","downloadDocumentForRP","deleteDocumentByAttachmentId","delete","uploadRejectedLocationDocument","hasDocumentToUpload","status","date","formData","FormData","append","codeDocumentTypes","LocationRejectedDocument","uploadDocument","documentType","getAmendmentSections","saveAdmendmentSections","admenment","changeStatus","statusId","peiid","parseInt","signPei","peiSign","signedDate","studentTardinessLog","hasRequiredFuturePeiCopy","getPeiSignDetail","getServiceModalityTypes","isTherapy","isTypeOther","getDurations","modalityId","getReferralDocuments","analysisServiceId","getReferralDocumentsByStudentServiceId","studentServiceId","getAllPeiServiceNeed","title","icon","required","iconBackground","iconColor","iconSize","gradient","width","variant","background","color","fontSize","_s","Download","downloadFile","downloadFromServer","getDocumentTypes","codeType","getDocumentById","meta","description","slots","valid","components","Error","example","label","classes","countClasses","maxlength","Number","error","customErrorMsg","placeholder","invalid","rows","showCharCount","regularLabel","preventEnter","utf8","twoCharLinebreak","computed","remaining","remainingChars","truncateChars","inputLength","getWrapperClass","getClasses","getCountClasses","values","input","text","replace","currentLength","utf8Length","character","c","string","split","utf8CharByteCount","reduce","sum","val","indexedSize","removedBytes","bytesPastMax","pop","substring","updateValue","event","preventDefault","regular","attrs","domProps","$event","target","indexOf","_k","keyCode","key","onPreventEnter","textLength","items","dataItem","Object","responsive","item","visible","method","visibleItems","border","eventHandler","_l","children","child","$","aFunction","toObject","toLength","fails","internalSort","arrayMethodIsStrict","FF","IE_OR_EDGE","V8","WEBKIT","nativeSort","sort","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STRICT_METHOD","STABLE_SORT","chr","result","fromCharCode","k","v","a","b","charAt","FORCED","getSortCompare","comparefn","x","y","proto","forced","array","itemsLength","arrayLength","normalizeComponent$2","isOldIE$2","createInjector$2","addStyle$2","HEAD$2","styles$2","__vue_render__$5","_m","__vue_staticRenderFns__$5","__vue_inject_styles__$5","__vue_scope_id__$5","__vue_module_identifier__$5","__vue_is_functional_template__$5","__vue_component__$5","install$1","caseStatus","freeze","EnProceso","Resuelto","Cancelado","ReferidoDocencia","Nuevo","ReferidoProgramacion","ReferidoConsulta","PendientePublicacion","EnProcesoProgramacion","ResueltoProgramacion","PendienteInformacion","DevueltoProgramacion","DevueltoAsistenciaMIPE","EnProcesoAnalisis","EnProcesoOrientacion","normalizeComponent$1","isOldIE$1","createInjector$1","addStyle$1","HEAD$1","styles$1","__vue_render__$1$1","__vue_staticRenderFns__$1$1","__vue_inject_styles__$1$1","__vue_scope_id__$1$1","__vue_module_identifier__$1$1","__vue_is_functional_template__$1$1","__vue_component__$1$1","script$4","__vue_script__$4","__vue_render__$4","$slots","__vue_staticRenderFns__$4","__vue_inject_styles__$4","__vue_scope_id__$4","__vue_module_identifier__$4","__vue_is_functional_template__$4","__vue_component__$4","installTimeLineItem","TimeLine","TimeLineItem","CUSTOM_LOCALE","locale","format","hour","script$3","CustomResultNotFound","filters","history","__vue_script__$3","__vue_render__$3","scopedSlots","_u","fn","_f","proxy","userName","comment","__vue_staticRenderFns__$3","__vue_inject_styles__$3","__vue_scope_id__$3","__vue_module_identifier__$3","__vue_is_functional_template__$3","__vue_component__$3","CommentsHistory","CALLOUT_MODE","Additional_Info","Comment_History","Documents","script$2","Callout","Balloon","DropDown","ActionButton","CustomInput","CustomFileInput","CustomTextArea","require","getCommentHistory","Function","getCaseDocuments","mode","commentsHistory","caseDocuments","additionalInfo","allowedFiles","customFileExtensionErrorMsg","openCase","openCallout","deleteCase","caseNumber","documents","resetInfo","getHistory","getDocuments","isValid","$refs","additionalInfoVO","validate","dto","itemId","docId","__vue_script__$2","__vue_render__$2","getColor","onCancelClicked","ref","errors","model","callback","$$v","$set","onDownload","onSaveClicked","doc","statusName","application","createdDate","actionItems","__vue_staticRenderFns__$2","__vue_inject_styles__$2","__vue_scope_id__$2","__vue_module_identifier__$2","__vue_is_functional_template__$2","__vue_component__$2","CaseRow","TICKET_CREATION_DEFAULT_ROUTE_NAME","script$1","mixins","CustomSeparator","FilterManager","PageHeader","Pagination","defaultPageSize","getUserCases","getStatus","getUserCase","saveAdditionalInfo","ticketCreationRoute","hasBackAction","pagination","currentPage","totalItemCount","pageCount","count","itemList","filterOptions","routes","actions","$router","classContainer","maxDate","Date","minDate","dateFrom","toDate","fieldName","fieldKey","clearable","initOptions","onSearchHandler","page","find","_model$status","params","dateTo","res","answer","ShowCancelModal","async","ShowToast","message","item_","indices","__vue_script__$1","__vue_render__$1","pageConfig","pageActionConfig","filtersConfig","onOpenHandler","onDeletehandler","onCancelAddCommentHandler","onSaveAdditionalInfoHandler","goToPageHandler","__vue_staticRenderFns__$1","__vue_inject_styles__$1","__vue_scope_id__$1","__vue_module_identifier__$1","__vue_is_functional_template__$1","__vue_component__$1","TicketSearchComponent","PROVEEDOR","MIPE","QUERELLA","REMEDIOPROVISIONAL","PADRES","referenceTypes","NumeroDeSIE","NumeroPEI","NumeroContratoRP","NumeroDeCITA","NumeroDeREFERIDO","NumeroDeFACTURA","Mes","NombreEspecialista","Disciplina","Servicio","numeroDeSolicitud","NumeroQuerella","NumeroConsulta","DisciplinaEvaluacion","screens","FinalizacionPeriodo","HistorialFactura","ManejoCitas","ManejoReferidos","ReferidosAsistenciaTecnologica","VigenciaReferidos","DiscucionDeEvaluaciones","Evaluaciones","SolicitudEvaluacionAdicional","ManejoDeCitas","ManejoDeCoordinacionEvaluacion","HistorialDeCitas","SolicitudDeHorasCompensatorias","SolicitudServiciosAsistenciaTecnologica","CuestionarioPEIControversia","ImprimirReportePEIoPS","ImprimirReporteReferidos","HistorialComentarios","AñadirComentario","VerDocumento","Historial_Terapias","DirectorioProveedores","CrearNuevaSolicitud","Entrar","ImprimirSolicitud","ImprimirCartaAprobacion","VerHistorialContratos","Historial_RegistroVisitas","Especialistas","CifrasDeCuenta","EspaciosDisponibles","HallazgosUMESR","LugaresDeServicio","ManejoDeDispensas","Practicantes_E_Internos","PropuestaDeServicios","Proveedores","modules","PEI","Estudiante","RecursosHumanos","PEI_Padres","HistorialTerapias","SolicitudRP","HistorialContrato","ReferidosEvaluaciones","HistorialQuerellas","HistorialRegistroVisitas","AsistenciaBECA","HistorialConsultaUbicacion","SectionTitle","CustomDropDown","CustomChipsGroup","Separator","IconView","ticketData","referenceNumberTypes","readOnly","user","saveTicket","validateReferenceNumber","studentsList","ticket","module","screen","email","telephone1","telephone1Extension","telephone2","telephone2Extension","workflowId","hasNotReferenceNumberType","hasReferencesValidationErrors","referenceValueExists","newReferenceNumberType","referenceType","referenceValue","header","hasRoute","tempId","valueLength","canContinueValidation","some","includes","isNumberRequestRequired","isNumberRefRequired","isNumberDateRequired","isDisciplineRequired","isEvaluationDisciplineRequired","isQuerellaNumberRequired","sieIsrequired","peiNumberIsRequired","contractNumberRPRequired","serviceRequired","consultaNumberRequired","_this$modules$find","_this$ticket$module","goBack","isReadOnly","r","referenceTypeId","referenceTypeName","_this$newReferenceNum","fileUploadRef","fileLabel","userContactInformation","telephone1Ext","telephone2Ext","findIndex","splice","_item$module","_item$screen","_item$screen2","_item$screen3","_item$screen4","_item$screen5","_item$screen6","canSaveTicket","referenceNumbers","applicationId","_error$response","_error$response$data","refReferenceNumberAdded","_this$newReferenceNum2","showSieDD","student","clearNewReferenceNumberType","reset","reference","validateTypeRefMessage","isValidHeader","refHeaderValidation","isValidFooter","refFooterValidation","go","moduleId","screenId","headerActions","caseSolution","hasDocument","refInFor","staticStyle","removeDocumentRow","addDocumentRow","onModuleChange","onScreenChange","onReferenceNumberTypeDeleted","flatReferenceNumberTypes","studentsListFiltered","valueValidations","valueMaskType","onReferenceNumberTypeAdded","failedRules","ManageTicketComponent","TicketSearch","installable","ManageTicket","tokens","pattern","X","S","A","transform","toLocaleUpperCase","toLocaleLowerCase","escape","maskit","mask","masked","iMask","iValue","output","cMask","masker","cValue","restOutput","dynamicMask","masks","slice","currentMask","nextMask","isArray","evt","createEvent","initEvent","el","binding","config","defaults","oldValue","assign","tagName","els","oninput","isTrusted","position","selectionEnd","digit","activeElement","setSelectionRange","setTimeout","lengthDiff","Math","sign","dispatchEvent","newDisplay","TheMask","_g","_b","display","$attrs","listeners","lastValue","newValue","refresh","vm","$listeners","onInput","directive","use","ValidationObserver","ValidationProvider","CustomRadioGroup","CustomDatePicker","displayAdvanced","openAdvanced","disabledSearch","searchText","searchIcon","searchClass","searchContainerClass","clearOnAdvanceChange","advanced","showAdvancedOptions","filtersVisible","isAdvanced","forEach","immediateOnChanged","onChanged","$watch","f","clearModelsOnUpdate","other","initialValue","formValidator","returnModel","searchable","search","isDisabled","filterConfig","mainFilters","validations","tag","maskType","leftIcon","isInline","useUtc","changeFilter","onEnter","advancedOptionsClick","header_advanced","advancedFilters","componentName","showText","pageSize","perPage","pageButtonCount","pageButtonOffset","pages","offset","endAt","startAt","qtyButtons","lastPage","startIndex","pagesSize","endIndex","pageNumber","hidden","total","goToPage","first","last","active","goToLastPage","pagesMobile","activeMobile","deticketsBaseURL","pageIndex","getUserCaseStatus","getUserCaseModules","getUserCaseReferenceNumberTypes","getUserCaseById","saveUserCase","service","getPreviousContactInformation","apiMipe","t","exports","n","l","m","d","o","defineProperty","configurable","enumerable","__esModule","prototype","hasOwnProperty","p","s","prefix","suffix","thousands","decimal","precision","u","max","onfocus","arguments","toFixed","parseFloat","min","pow","toString","keys","money","formattedValue","handler","$props","change","esModule","SwAlert","toastType","Title","Message","MsjType","Callback","defautlTitle","success","warning","Toast","mixin","toast","showConfirmButton","timer","onOpen","fire","ShowAlert","allowOutsideClick","onClose","ComponentName","html","ShowConfirm","Question","showCancelButton","confirmButtonColor","cancelButtonColor","cancelButtonText","confirmButtonText","GetValidationMessages","$ApiGet","messageCode","focusConfirm","focusCancel","showCloseButton","customClass","ShowAlertModal","selectedItems","objectId","objectText","objectTitle","objectSubTitle","objectDisabled","noBackground","noWrap","onItemDeleted","LastItem","itemHasTitle","stopPropagation","classIcon","iright","dataTarget","dataToggle","dataBackdrop","minWidth","currentTarget","showWithShadow","showSave","saveText","saveIcon","cancelIcon","showCancel","showTopClose","cancelText","isCentered","isTop","footerClass","fade","_uid","idModal","titleClass","cancel","customFooter","save","CustomModal","CustomCheckboxSingleOption","addText","addIcon","labelPosition","File","attachmentStatus","accept","multiple","fileExtensionErrorMsg","displayStyle","isEdit","maxSize","justUpload","allowAcceptTerms","acceptTermsBoxWidth","acceptTermsModalTitle","acceptTermsTitle","acceptTermsText","acceptTermsBtnCancelText","acceptTermsBtnCancelIcon","acceptTermsBtnAcceptText","acceptTermsBtnAcceptIcon","acceptTermsValidationMsg","currentLoad","fileReader","isDeleting","fileMaxSize","showModal","acceptedTerms","selectedFile","_this$name","fileExtension","fileSize","acceptFileExtensions","validationResult","errorMessage","handleFileChange","validateFile","fileuploadRef","loadFile","canDownload","url","revokeObjectURL","removeFile","loaded","$el","querySelector","reader","onprogress","onLoadProgress","onloadend","onLoad","addEventListener","hasShortStyle","isLoadingFile","progressLabel","onCancelAcceptTermHandler","onAcceptTermHandler","isUndefined","isNull","isBoolean","isObject","isDate","isBlob","isReactNative","uri","isFile","lastModifiedDate","lastModified","initCfg","serialize","obj","cfg","fd","pre","nullsAsUndefineds","booleansAsIntegers","allowEmptyArrays","noAttributesWithArrayNotation","noFilesWithArrayNotation","dotsForObjectNotation","getParts","toISOString","prop","lastIndexOf","labelClass","emptyText","fixedText","dirty","formatText","isNaN","formatedText","CustomInputDisplay","Money","iconBackgroundClass","iconFontClass","errorClass","customDisabled","minlength","step","canModifyCss","prependIcon","prependIconType","prependIconText","prependIconLeft","prependIconClick","prependIconColor","btnTransparent","btnBorderColor","maskTypes","inputMask","formControlClass","moneyValue","ssnInput","internalValue","encryptedValue","inputValue","_this$inputValue","syncInput","sentVal","formatMaskedText","displayVal","substr","repeat","cleanVal","exec","replaceAt","str","$nextTick","lengthValue","encryptedInputRef","transformSsnValue","transformSsnDisplay","emitValue","computedClassInput","computedEmClass","computedIconClass","DE_TICKET_APP_PARENT","onDownloadHandler","fullProfile","fetchReferenceNumberTypes","initialModel","studentSieList","optionText","checked","hasTitle","DocumentTypes","MinuteReferralEvaluationAt","MinutaDiscussionSigned","EvaluationReportSigned","Minuta","Otro","CopiaDeQuerella","ReferralServiceAT","PreviousEvaluationAT","MinuteControversy","MinutaResolucionControversia","CertTarea15ManualEEMadrePadre","PropuestaServicios","PlanDeIntervencion","PaquetePlanAnual","PlanDeEnmienda","ResumenResultadoDeServicios","PaymentCertificate","EvidencePaymentReceipt","Other","ReimbursementCertification","hasLine","reverse","containerClass","isBigIcon","bgIcon","onClick","HasIcon","cssVariables","pillMode","listOptions","theme","colors","changeTheme","constructor","localTheme","isEmptyObject","separatorElement","variable","setProperty","idx","selectedOption","$forceUpdate","option","_obj","random","changeOption","isDisabledOption","isQuestionList","changeEvent","self","check","elem","Change","indx"],"mappings":"mIA8EA,IAAIA,EAAS,CACXC,KAAM,gBACNC,MAAO,CACLC,UAAW,CACTC,KAAMC,QACNC,QAAS,KAAM,GAEjBC,UAAW,CACTH,KAAMC,QACNC,QAAS,KAAM,GAEjBE,YAAa,CACXJ,KAAMK,OACNH,QAAS,IAAM,MAEjBI,eAAgB,CACdN,KAAMK,OACNH,QAAS,IAAM,MAEjBK,OAAQ,CACNP,KAAMC,QACNC,QAAS,KAAM,GAEjBM,WAAY,CACVR,KAAMC,QACNC,QAAS,KAAM,GAEjBO,UAAW,CACTT,KAAMK,OACNH,QAAS,IAAM,IAEjBQ,WAAY,CACVV,KAAMK,OACNH,QAAS,IAAM,IAEjBS,kBAAmB,CACjBX,KAAMK,OACNH,QAAS,IAAM,MAEjBU,YAAa,CACXZ,KAAMC,QACNC,QAAS,KAAM,GAEjBW,cAAe,CACbb,KAAMC,QACNC,SAAS,GAEXY,SAAU,CACRd,KAAMC,QACNC,QAAS,KAAM,GAEjBa,YAAa,CACXf,KAAMC,QACNC,QAAS,KAAM,IAInB,OACE,MAAO,CACLc,OAAQ,OAIZC,MAAO,CACLV,OAAQ,CACN,QAAQW,GACNC,KAAKH,OAASE,GAGhBE,WAAW,IAGfC,QAAS,CACP,OACOF,KAAKL,WACHK,KAAKX,WAGRW,KAAKG,MAAM,cAFXH,KAAKH,QAAUG,KAAKH,WAU9B,SAASO,EAAmBC,EAAUC,EAAO7B,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GACRC,SAAKW,EACLjB,WAAOiB,MAMLuC,EAAmB,kBAGnBC,OAA4BxC,EAG5ByC,GAAiC,EAKjCC,EAAiCxG,EAAmB,CACxDY,OAAQqE,EACRpE,gBAAiBqF,GAChBC,EAAuBnB,EAAgBqB,EAAkBE,EAAgCD,GAA2B,EAAO/F,OAAgBuD,OAAWA,GAInJ2C,EAAU,SAA4BC,GACtCD,EAAQE,YACZF,EAAQE,WAAY,EACpBD,EAAIE,UAAU,cAAeJ,KAK/BA,EAAkBC,QAAUA,EAIb","file":"js/chunk-271e09d6.87188758.js","sourcesContent":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar script = {\n name: \"CustomCallout\",\n props: {\n hasBorder: {\n type: Boolean,\n default: () => true\n },\n hasToggle: {\n type: Boolean,\n default: () => true\n },\n borderColor: {\n type: String,\n default: () => null\n },\n borderColorHex: {\n type: String,\n default: () => null\n },\n opened: {\n type: Boolean,\n default: () => false\n },\n controlled: {\n type: Boolean,\n default: () => false\n },\n classMain: {\n type: String,\n default: () => \"\"\n },\n classPanel: {\n type: String,\n default: () => \"\"\n },\n hexColorsWrapIcon: {\n type: String,\n default: () => null\n },\n hasGradient: {\n type: Boolean,\n default: () => true\n },\n showContainer: {\n type: Boolean,\n default: true\n },\n disabled: {\n type: Boolean,\n default: () => false\n },\n persistData: {\n type: Boolean,\n default: () => false\n }\n },\n\n data() {\n return {\n isOpen: null\n };\n },\n\n watch: {\n opened: {\n handler(value) {\n this.isOpen = value;\n },\n\n immediate: true\n }\n },\n methods: {\n open() {\n if (!this.disabled) {\n if (!this.controlled) {\n this.isOpen = !this.isOpen;\n } else {\n this.$emit(\"click:open\");\n }\n }\n }\n\n }\n};\n\nfunction normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {\r\n if (typeof shadowMode !== 'boolean') {\r\n createInjectorSSR = createInjector;\r\n createInjector = shadowMode;\r\n shadowMode = false;\r\n }\r\n // Vue.extend constructor export interop.\r\n const options = typeof script === 'function' ? script.options : script;\r\n // render functions\r\n if (template && template.render) {\r\n options.render = template.render;\r\n options.staticRenderFns = template.staticRenderFns;\r\n options._compiled = true;\r\n // functional template\r\n if (isFunctionalTemplate) {\r\n options.functional = true;\r\n }\r\n }\r\n // scopedId\r\n if (scopeId) {\r\n options._scopeId = scopeId;\r\n }\r\n let hook;\r\n if (moduleIdentifier) {\r\n // server build\r\n hook = function (context) {\r\n // 2.3 injection\r\n context =\r\n context || // cached call\r\n (this.$vnode && this.$vnode.ssrContext) || // stateful\r\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional\r\n // 2.2 with runInNewContext: true\r\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\r\n context = __VUE_SSR_CONTEXT__;\r\n }\r\n // inject component styles\r\n if (style) {\r\n style.call(this, createInjectorSSR(context));\r\n }\r\n // register component module identifier for async chunk inference\r\n if (context && context._registeredComponents) {\r\n context._registeredComponents.add(moduleIdentifier);\r\n }\r\n };\r\n // used by ssr in case component is cached and beforeCreate\r\n // never gets called\r\n options._ssrRegister = hook;\r\n }\r\n else if (style) {\r\n hook = shadowMode\r\n ? function (context) {\r\n style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));\r\n }\r\n : function (context) {\r\n style.call(this, createInjector(context));\r\n };\r\n }\r\n if (hook) {\r\n if (options.functional) {\r\n // register for functional component in vue file\r\n const originalRender = options.render;\r\n options.render = function renderWithStyleInjection(h, context) {\r\n hook.call(context);\r\n return originalRender(h, context);\r\n };\r\n }\r\n else {\r\n // inject component registration as beforeCreate hook\r\n const existing = options.beforeCreate;\r\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\r\n }\r\n }\r\n return script;\r\n}\n\nconst isOldIE = typeof navigator !== 'undefined' &&\r\n /msie [6-9]\\\\b/.test(navigator.userAgent.toLowerCase());\r\nfunction createInjector(context) {\r\n return (id, style) => addStyle(id, style);\r\n}\r\nlet HEAD;\r\nconst styles = {};\r\nfunction addStyle(id, css) {\r\n const group = isOldIE ? css.media || 'default' : id;\r\n const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });\r\n if (!style.ids.has(id)) {\r\n style.ids.add(id);\r\n let code = css.source;\r\n if (css.map) {\r\n // https://developer.chrome.com/devtools/docs/javascript-debugging\r\n // this makes source maps inside style tags work properly in Chrome\r\n code += '\\n/*# sourceURL=' + css.map.sources[0] + ' */';\r\n // http://stackoverflow.com/a/26603875\r\n code +=\r\n '\\n/*# sourceMappingURL=data:application/json;base64,' +\r\n btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +\r\n ' */';\r\n }\r\n if (!style.element) {\r\n style.element = document.createElement('style');\r\n style.element.type = 'text/css';\r\n if (css.media)\r\n style.element.setAttribute('media', css.media);\r\n if (HEAD === undefined) {\r\n HEAD = document.head || document.getElementsByTagName('head')[0];\r\n }\r\n HEAD.appendChild(style.element);\r\n }\r\n if ('styleSheet' in style.element) {\r\n style.styles.push(code);\r\n style.element.styleSheet.cssText = style.styles\r\n .filter(Boolean)\r\n .join('\\n');\r\n }\r\n else {\r\n const index = style.ids.size - 1;\r\n const textNode = document.createTextNode(code);\r\n const nodes = style.element.childNodes;\r\n if (nodes[index])\r\n style.element.removeChild(nodes[index]);\r\n if (nodes.length)\r\n style.element.insertBefore(textNode, nodes[index]);\r\n else\r\n style.element.appendChild(textNode);\r\n }\r\n }\r\n}\n\n/* script */\nconst __vue_script__ = script;\n/* template */\n\nvar __vue_render__ = function () {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', [_vm.showContainer ? _c('div', {\n staticClass: \"bg-secondary-3 border-radius--light border--top\",\n class: [_vm.classMain, \"border-left--color-\" + (_vm.borderColor ? _vm.borderColor : 'secondary-12'), {\n 'border--left': _vm.hasBorder\n }, \"border-top--color-\" + (_vm.borderColor ? _vm.borderColor : 'secondary-12')],\n style: {\n 'border-left-color': _vm.borderColorHex + \" !important\",\n 'border-top-color': _vm.borderColorHex + \" !important\"\n }\n }, [_c('div', {\n staticClass: \"row\"\n }, [_c('div', {\n staticClass: \"ml-3 align-items-center px-1 d-md-flex d-lg-flex d-sm-none d-xs-none\",\n class: {\n 'gradient-toggle': _vm.hasGradient && _vm.hasToggle\n },\n style: {\n backgroundColor: _vm.hexColorsWrapIcon\n }\n }, [_vm.hasToggle ? _c('em', {\n staticClass: \"far font-20\",\n class: {\n 'fa-chevron-circle-right color-primary-2': !_vm.isOpen,\n 'fa-chevron-circle-down color-primary-1': _vm.isOpen,\n 'fa-chevron-circle-right color-secondary-5': _vm.disabled\n },\n on: {\n \"click\": _vm.open\n }\n }) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"col p-2\",\n class: {\n 'ml-2': _vm.hasGradient\n }\n }, [_c('div', {\n staticClass: \"col-12\"\n }, [_vm._t(\"default\")], 2)])]), _vm._v(\" \"), _c('div', {\n class: {\n 'gradient-toggle-mob': _vm.hasGradient && _vm.hasToggle\n }\n }, [_c('div', {\n staticClass: \"col-12 d-flex justify-content-center pt-1 pb-1 d-md-none d-lg-none\",\n style: {\n backgroundColor: _vm.hexColorsWrapIcon\n }\n }, [_vm.hasToggle ? _c('em', {\n staticClass: \"far font-20\",\n class: {\n 'fa-chevron-circle-up color-primary-2': !_vm.isOpen,\n 'fa-chevron-circle-down color-primary-1': _vm.isOpen,\n 'fa-chevron-circle-right color-secondary-5': _vm.disabled\n },\n on: {\n \"click\": _vm.open\n }\n }) : _vm._e()])])]) : _vm._e(), _vm._v(\" \"), _vm.persistData ? [_c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.isOpen,\n expression: \"isOpen\"\n }],\n staticClass: \"bg-secondary-3 border-radius--light p-0\",\n class: _vm.classPanel\n }, [_vm._t(\"edition\")], 2)] : [_vm.isOpen ? _c('div', {\n staticClass: \"bg-secondary-3 border-radius--light p-0\",\n class: _vm.classPanel\n }, [_vm._t(\"edition\")], 2) : _vm._e()]], 2);\n};\n\nvar __vue_staticRenderFns__ = [];\n/* style */\n\nconst __vue_inject_styles__ = function (inject) {\n if (!inject) return;\n inject(\"data-v-1ead8d90_0\", {\n source: \".border--left[data-v-1ead8d90]{border-left-style:solid;border-left-width:5px}.gradient-toggle[data-v-1ead8d90]{box-shadow:5px 0 5px #e2e2e2}.gradient-toggle-mob[data-v-1ead8d90]{border-right:none;border-left:none;box-shadow:0 0 3px #e2e2e2}@media only screen and (max-width:768px){.border--left[data-v-1ead8d90]{border-left-style:solid;border-left-width:0}.border--top[data-v-1ead8d90]{border-top-style:solid;border-top-width:3px}}\",\n map: undefined,\n media: undefined\n });\n};\n/* scoped */\n\n\nconst __vue_scope_id__ = \"data-v-1ead8d90\";\n/* module identifier */\n\nconst __vue_module_identifier__ = undefined;\n/* functional template */\n\nconst __vue_is_functional_template__ = false;\n/* style inject SSR */\n\n/* style inject shadow dom */\n\nconst __vue_component__ = /*#__PURE__*/normalizeComponent({\n render: __vue_render__,\n staticRenderFns: __vue_staticRenderFns__\n}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);\n\n// Import vue component\n\nconst install = function installCustomCallout(Vue) {\n if (install.installed) return;\n install.installed = true;\n Vue.component('CustomCallout', __vue_component__);\n}; // Create module definition for Vue.use()\n// to be registered via Vue.use() as well as Vue.component()\n\n\n__vue_component__.install = install; // Export component by default\n// also be used as directives, etc. - eg. import { RollupDemoDirective } from 'rollup-demo';\n// export const RollupDemoDirective = component;\n\nexport default __vue_component__;\n","const fileInputStatus = {\r\n Empty: 'empty',\r\n Loaded: 'loaded',\r\n Loading: 'loading',\r\n Deleted: 'deleted',\r\n};\r\nexport default fileInputStatus;\r\n","import { http } from '@/core/api/';\r\nimport codeDocumentTypes from '@/utils/constants/documentTypes';\r\nimport fileInputStatus from '@/utils/constants/fileInputStatus';\r\n\r\nconst apiUrl = 'api/pei';\r\n\r\nexport default {\r\n generalPeiAtInformation(peiId) {\r\n return http.get(`api/atservice/getpeiatservice?peiId=${peiId}`);\r\n },\r\n\r\n generalPeiCodeAt() {\r\n return http.get(`api/atservice/getpeiatcode`);\r\n },\r\n\r\n documentsUploadFiles(files) {\r\n return http.post(`api/atservice/uploadatdocument`, files, {\r\n headers: {\r\n 'Content-Type': 'multipart/form-data',\r\n },\r\n });\r\n },\r\n downloadDocument(documentFile) {\r\n const byteChars = atob(documentFile.content);\r\n const byteNumbers = new Array(byteChars.length);\r\n for (let i = 0; i < byteChars.length; i++) {\r\n byteNumbers[i] = byteChars.charCodeAt(i);\r\n }\r\n const byteArray = new Uint8Array(byteNumbers);\r\n\r\n let blob = new Blob([byteArray], {\r\n type: documentFile.contentType,\r\n });\r\n let link = document.createElement('a');\r\n link.href = window.URL.createObjectURL(blob);\r\n link.download = documentFile.filename;\r\n link.click();\r\n },\r\n documentsDownloadFiles(peiAtServiceId, codeDocumentType) {\r\n http\r\n .get(\r\n `api/atservice/downloadatdocument?peiAtServiceId=${peiAtServiceId}&codeDocumentType=${codeDocumentType}`\r\n )\r\n .then((response) => {\r\n this.downloadDocument(response.data);\r\n });\r\n },\r\n downloadStudentDocument(evaluationId, documentId) {\r\n return new Promise((resolve, reject) => {\r\n http\r\n .get(\r\n `api/studentevaluation/${evaluationId}/downloadDocuments/${documentId}`\r\n )\r\n .then((response) => {\r\n if (response && response.data) {\r\n this.downloadDocument(response.data);\r\n resolve(true);\r\n } else {\r\n resolve(false);\r\n }\r\n })\r\n .catch((err) => {\r\n reject(err);\r\n });\r\n });\r\n },\r\n documentsPeiDownloadFiles(id) {\r\n http.get(`api/pei/downloaddocument?id=${id}`).then((response) => {\r\n this.downloadDocument(response.data);\r\n });\r\n },\r\n documentDownloadLocalFile(file) {\r\n let fr = new FileReader();\r\n fr.readAsDataURL(file);\r\n let blob = new Blob([file], { type: 'application/pdf' });\r\n\r\n let objectURL = window.URL.createObjectURL(blob);\r\n\r\n let link = document.createElement('a');\r\n link.href = objectURL;\r\n link.download = file.name;\r\n document.body.appendChild(link);\r\n link.click();\r\n link.remove();\r\n },\r\n documentDownloadReport(content, filename) {\r\n let binaryString = window.atob(content);\r\n let binaryLen = binaryString.length;\r\n let bytes = new Uint8Array(binaryLen);\r\n for (let i = 0; i < binaryLen; i++) {\r\n let ascii = binaryString.charCodeAt(i);\r\n bytes[i] = ascii;\r\n }\r\n\r\n let blob = new Blob([bytes], { type: 'application/pdf' });\r\n\r\n let objectURL = window.URL.createObjectURL(blob);\r\n\r\n let link = document.createElement('a');\r\n link.href = objectURL;\r\n link.download = filename;\r\n document.body.appendChild(link);\r\n link.click();\r\n link.remove();\r\n },\r\n documentsDeleteFiles(peiAtServiceId) {\r\n return http.get(\r\n `api/atservice/deleteatdocument?peiAtServiceId=${peiAtServiceId}`\r\n );\r\n },\r\n documentsLoadFiles(peiAtServiceId) {\r\n return http.get(\r\n `api/atservice/loadatdocument?peiAtServiceId=${peiAtServiceId}`\r\n );\r\n },\r\n async evaluationDownloadFiles(\r\n studentEvaluationId,\r\n studentEvaluationsDocumentIds\r\n ) {\r\n return http\r\n .get(\r\n `/api/studentevaluation/${studentEvaluationId}/documents/${studentEvaluationsDocumentIds}`,\r\n { responseType: 'blob' }\r\n )\r\n .then((response) => {\r\n let blob = new Blob([response.data], { type: 'application/pdf' });\r\n let link = document.createElement('a');\r\n link.href = window.URL.createObjectURL(blob);\r\n link.download = 'Documento Adjunto.pdf';\r\n link.click();\r\n })\r\n .catch((e) => {\r\n return e;\r\n });\r\n },\r\n async downloadDocumentByAttachmentId(\r\n studentEvaluationsDocumentIds,\r\n studentEvaluationsAttachmentIds\r\n ) {\r\n let documentId = null;\r\n if (studentEvaluationsDocumentIds != '') {\r\n documentId = studentEvaluationsDocumentIds;\r\n }\r\n let attachmentId = null;\r\n if (studentEvaluationsAttachmentIds != '') {\r\n attachmentId = studentEvaluationsAttachmentIds;\r\n }\r\n return http\r\n .get(`/api/documents/getdocument/${documentId}/${attachmentId}/2`)\r\n .then((response) => {\r\n this.downloadDocument(response.data);\r\n })\r\n .catch((e) => {\r\n return e;\r\n });\r\n },\r\n // Download document according to attachment id and category.\r\n async downloadDocumentByAttachmentIdByDocumentCategory(\r\n attachmentId,\r\n documentCategory\r\n ) {\r\n return http\r\n .get(\r\n `/api/documents/documentbycategory/${attachmentId}/${documentCategory}`\r\n )\r\n .then((response) => {\r\n this.downloadDocument(response.data);\r\n })\r\n .catch((e) => {\r\n return e;\r\n });\r\n },\r\n async downloadDocumentForThrerapyReferral(attachmentId) {\r\n return http\r\n .get(`/api/documents/downloadtherapyreferral/${attachmentId}`)\r\n .then((response) => {\r\n this.downloadDocument(response.data);\r\n })\r\n .catch((e) => {\r\n return e;\r\n });\r\n },\r\n async getDocument(id) {\r\n return http\r\n .get(`/api/documents/${id}`)\r\n .then((response) => {\r\n this.downloadDocument(response.data);\r\n })\r\n .catch((e) => {\r\n throw e;\r\n });\r\n },\r\n async downloadDocumentForRP(attachmentId) {\r\n return http\r\n .get(`/api/documents/downloadrp/${attachmentId}`, {\r\n responseType: 'blob',\r\n })\r\n .then((response) => {\r\n let blob = new Blob([response.data], { type: 'application/pdf' });\r\n let link = document.createElement('a');\r\n link.href = window.URL.createObjectURL(blob);\r\n link.download = 'Documento Adjunto.pdf';\r\n link.click();\r\n })\r\n .catch((e) => {\r\n return e;\r\n });\r\n },\r\n deleteDocumentByAttachmentId(attachmentId) {\r\n return http.delete(`/api/pei/deletedocument?id=${attachmentId}`);\r\n },\r\n async uploadRejectedLocationDocument(document) {\r\n let hasDocumentToUpload =\r\n document.status == fileInputStatus.Loaded &&\r\n document.file != null &&\r\n document.date != null;\r\n if (document.status == fileInputStatus.Deleted) {\r\n await http.delete(`/api/pei/deletedocument?id=${document.attachmentId}`);\r\n } else if (hasDocumentToUpload) {\r\n let formData = new FormData();\r\n\r\n formData.append('date', document.date);\r\n formData.append('file', document.file);\r\n formData.append(\r\n 'documentTypeId',\r\n codeDocumentTypes.LocationRejectedDocument\r\n );\r\n formData.append('id', document.id);\r\n if (document.attachmentId)\r\n formData.append('itemAttachmentId', document.attachmentId);\r\n\r\n await http.post('/api/pei/uploaddocument', formData, {\r\n headers: { 'Content-Type': 'multipart/form-data' },\r\n });\r\n }\r\n },\r\n async uploadDocument(document) {\r\n let hasDocumentToUpload =\r\n document.status == fileInputStatus.Loaded &&\r\n document.file != null &&\r\n document.date != null;\r\n if (document.status == fileInputStatus.Deleted) {\r\n await http.delete(`/api/pei/deletedocument?id=${document.attachmentId}`);\r\n } else if (hasDocumentToUpload) {\r\n let formData = new FormData();\r\n\r\n formData.append('date', document.date);\r\n formData.append('file', document.file);\r\n formData.append('documentTypeId', document.documentType);\r\n formData.append('id', document.id);\r\n if (document.attachmentId)\r\n formData.append('itemAttachmentId', document.attachmentId);\r\n\r\n await http.post('/api/pei/uploaddocument', formData, {\r\n headers: { 'Content-Type': 'multipart/form-data' },\r\n });\r\n }\r\n },\r\n async getAmendmentSections(peiId) {\r\n const response = await http.get(\r\n `/api/pei/getsectionsamendment?peiId=${peiId}`\r\n );\r\n return response.data;\r\n },\r\n async saveAdmendmentSections(admenment) {\r\n return await http.post('/api/pei/addpeievaluationamendment', admenment, {\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n },\r\n });\r\n },\r\n async changeStatus(peiId, statusId) {\r\n await http.post('/api/pei/changeStatus', {\r\n peiid: peiId,\r\n statusId: parseInt(statusId),\r\n });\r\n },\r\n async signPei(peiSign) {\r\n await http.post('/api/pei/signpei', {\r\n peiId: peiSign.peiId,\r\n signedDate: peiSign.signedDate,\r\n studentTardinessLog: peiSign.studentTardinessLog,\r\n hasRequiredFuturePeiCopy: peiSign.hasRequiredFuturePeiCopy,\r\n });\r\n },\r\n async getPeiSignDetail(peiId) {\r\n return await http.get(`/api/pei/${peiId}/signdetail`);\r\n },\r\n async getServiceModalityTypes(peiId, isTherapy, isTypeOther) {\r\n isTherapy = isTherapy === true;\r\n isTypeOther = isTypeOther === true;\r\n\r\n return await http.get(\r\n `${apiUrl}/modalitytypes?peiId=${peiId}&isTherapy=${isTherapy}&isTypeOther=${isTypeOther}`\r\n );\r\n },\r\n async getDurations(peiId, modalityId, isTherapy) {\r\n isTherapy = isTherapy === true;\r\n modalityId = modalityId > 0 ? modalityId : 0;\r\n\r\n return await http.get(\r\n `${apiUrl}/durations?peiId=${peiId}&modalityId=${modalityId}&isTherapy=${isTherapy}`\r\n );\r\n },\r\n async getReferralDocuments(analysisServiceId) {\r\n return await http.get(`${apiUrl}/referraldocuments/${analysisServiceId}`);\r\n },\r\n async getReferralDocumentsByStudentServiceId(studentServiceId, peiId) {\r\n return await http.get(\r\n `${apiUrl}/getallreferralitemattachment/${studentServiceId}/${peiId}`\r\n );\r\n },\r\n async getAllPeiServiceNeed(peiId) {\r\n return await http.get(`${apiUrl}/AllPeiServiceNeed?peiId=${peiId}`);\r\n },\r\n};\r\n","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar script = {\n name: \"IconView\",\n props: {\n title: {\n type: String,\n default: () => \"\"\n },\n icon: {\n type: String,\n required: true\n },\n iconBackground: {\n type: String,\n default: () => \"\"\n },\n iconColor: {\n type: String,\n default: () => \"color-orange\"\n },\n iconSize: {\n type: String,\n default: () => \"\"\n },\n hasBorder: {\n type: Boolean,\n default: () => true\n },\n gradient: {\n type: Boolean,\n default: () => false\n },\n width: {\n type: String,\n default: () => \"w-100\"\n },\n variant: {\n type: String,\n default: () => \"\"\n }\n }\n};\n\nfunction normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {\r\n if (typeof shadowMode !== 'boolean') {\r\n createInjectorSSR = createInjector;\r\n createInjector = shadowMode;\r\n shadowMode = false;\r\n }\r\n // Vue.extend constructor export interop.\r\n const options = typeof script === 'function' ? script.options : script;\r\n // render functions\r\n if (template && template.render) {\r\n options.render = template.render;\r\n options.staticRenderFns = template.staticRenderFns;\r\n options._compiled = true;\r\n // functional template\r\n if (isFunctionalTemplate) {\r\n options.functional = true;\r\n }\r\n }\r\n // scopedId\r\n if (scopeId) {\r\n options._scopeId = scopeId;\r\n }\r\n let hook;\r\n if (moduleIdentifier) {\r\n // server build\r\n hook = function (context) {\r\n // 2.3 injection\r\n context =\r\n context || // cached call\r\n (this.$vnode && this.$vnode.ssrContext) || // stateful\r\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional\r\n // 2.2 with runInNewContext: true\r\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\r\n context = __VUE_SSR_CONTEXT__;\r\n }\r\n // inject component styles\r\n if (style) {\r\n style.call(this, createInjectorSSR(context));\r\n }\r\n // register component module identifier for async chunk inference\r\n if (context && context._registeredComponents) {\r\n context._registeredComponents.add(moduleIdentifier);\r\n }\r\n };\r\n // used by ssr in case component is cached and beforeCreate\r\n // never gets called\r\n options._ssrRegister = hook;\r\n }\r\n else if (style) {\r\n hook = shadowMode\r\n ? function (context) {\r\n style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));\r\n }\r\n : function (context) {\r\n style.call(this, createInjector(context));\r\n };\r\n }\r\n if (hook) {\r\n if (options.functional) {\r\n // register for functional component in vue file\r\n const originalRender = options.render;\r\n options.render = function renderWithStyleInjection(h, context) {\r\n hook.call(context);\r\n return originalRender(h, context);\r\n };\r\n }\r\n else {\r\n // inject component registration as beforeCreate hook\r\n const existing = options.beforeCreate;\r\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\r\n }\r\n }\r\n return script;\r\n}\n\nconst isOldIE = typeof navigator !== 'undefined' &&\r\n /msie [6-9]\\\\b/.test(navigator.userAgent.toLowerCase());\r\nfunction createInjector(context) {\r\n return (id, style) => addStyle(id, style);\r\n}\r\nlet HEAD;\r\nconst styles = {};\r\nfunction addStyle(id, css) {\r\n const group = isOldIE ? css.media || 'default' : id;\r\n const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });\r\n if (!style.ids.has(id)) {\r\n style.ids.add(id);\r\n let code = css.source;\r\n if (css.map) {\r\n // https://developer.chrome.com/devtools/docs/javascript-debugging\r\n // this makes source maps inside style tags work properly in Chrome\r\n code += '\\n/*# sourceURL=' + css.map.sources[0] + ' */';\r\n // http://stackoverflow.com/a/26603875\r\n code +=\r\n '\\n/*# sourceMappingURL=data:application/json;base64,' +\r\n btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +\r\n ' */';\r\n }\r\n if (!style.element) {\r\n style.element = document.createElement('style');\r\n style.element.type = 'text/css';\r\n if (css.media)\r\n style.element.setAttribute('media', css.media);\r\n if (HEAD === undefined) {\r\n HEAD = document.head || document.getElementsByTagName('head')[0];\r\n }\r\n HEAD.appendChild(style.element);\r\n }\r\n if ('styleSheet' in style.element) {\r\n style.styles.push(code);\r\n style.element.styleSheet.cssText = style.styles\r\n .filter(Boolean)\r\n .join('\\n');\r\n }\r\n else {\r\n const index = style.ids.size - 1;\r\n const textNode = document.createTextNode(code);\r\n const nodes = style.element.childNodes;\r\n if (nodes[index])\r\n style.element.removeChild(nodes[index]);\r\n if (nodes.length)\r\n style.element.insertBefore(textNode, nodes[index]);\r\n else\r\n style.element.appendChild(textNode);\r\n }\r\n }\r\n}\n\n/* script */\nconst __vue_script__ = script;\n/* template */\n\nvar __vue_render__ = function () {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', {\n staticClass: \"d-flex align-items-center\",\n class: [_vm.width, _vm.variant]\n }, [_c('div', {\n staticClass: \"dot\",\n class: {\n 'dot--has-border': _vm.hasBorder\n },\n style: {\n background: _vm.iconBackground + \" !important\"\n }\n }, [_c('em', {\n staticClass: \"title-icon mt-1\",\n class: _vm.icon,\n style: {\n color: _vm.iconColor,\n fontSize: _vm.iconSize\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-gray-7 font-16 font-weight-bold\",\n class: {\n gradient: _vm.gradient\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")])]);\n};\n\nvar __vue_staticRenderFns__ = [];\n/* style */\n\nconst __vue_inject_styles__ = function (inject) {\n if (!inject) return;\n inject(\"data-v-6519231a_0\", {\n source: \".dot[data-v-6519231a]{box-shadow:0 3px 6px #00000029;margin:2px;width:27px;height:27px;border-radius:50%;display:inline-flex;margin-right:15px;justify-content:center;align-items:center}.dot.dot--has-border[data-v-6519231a]{border-style:solid;border-width:3px;border-color:#fff}.dot .title-icon[data-v-6519231a]{display:flex;justify-content:center;align-items:center;margin-top:2px;font-size:12px}.gradient[data-v-6519231a]{background:transparent linear-gradient(90deg,#ffffff00 0,#e2e2e2 100%) 0 0 no-repeat padding-box;border-radius:33px;padding:5px 5px;padding-right:20px}\",\n map: undefined,\n media: undefined\n });\n};\n/* scoped */\n\n\nconst __vue_scope_id__ = \"data-v-6519231a\";\n/* module identifier */\n\nconst __vue_module_identifier__ = undefined;\n/* functional template */\n\nconst __vue_is_functional_template__ = false;\n/* style inject SSR */\n\n/* style inject shadow dom */\n\nconst __vue_component__ = /*#__PURE__*/normalizeComponent({\n render: __vue_render__,\n staticRenderFns: __vue_staticRenderFns__\n}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);\n\n// Import vue component\n\nconst install = function installIconView(Vue) {\n if (install.installed) return;\n install.installed = true;\n Vue.component('IconView', __vue_component__);\n}; // Create module definition for Vue.use()\n// to be registered via Vue.use() as well as Vue.component()\n\n\n__vue_component__.install = install; // Export component by default\n// also be used as directives, etc. - eg. import { RollupDemoDirective } from 'rollup-demo';\n// export const RollupDemoDirective = component;\n\nexport default __vue_component__;\n","import { http } from '@/core/api/';\r\nconst apiUrl = 'api/documents';\r\n\r\nexport default {\r\n //The documentFile param has the DocumentDTO squema\r\n Download(documentFile) {\r\n const byteChars = atob(documentFile.content);\r\n const byteNumbers = new Array(byteChars.length);\r\n for (let i = 0; i < byteChars.length; i++) {\r\n byteNumbers[i] = byteChars.charCodeAt(i);\r\n }\r\n const byteArray = new Uint8Array(byteNumbers);\r\n\r\n let blob = new Blob([byteArray], {\r\n type: documentFile.contentType,\r\n });\r\n let link = document.createElement('a');\r\n link.href = window.URL.createObjectURL(blob);\r\n link.download = documentFile.filename;\r\n link.click();\r\n },\r\n downloadFile(documentFile) {\r\n const fr = new FileReader();\r\n fr.readAsDataURL(documentFile.content);\r\n const blob = new Blob([documentFile.content], {\r\n type: documentFile.contentType,\r\n });\r\n\r\n const objectURL = window.URL.createObjectURL(blob);\r\n\r\n const link = document.createElement('a');\r\n link.href = objectURL;\r\n link.download = documentFile.filename;\r\n document.body.appendChild(link);\r\n link.click();\r\n link.remove();\r\n },\r\n async downloadFromServer(documentId) {\r\n await http\r\n .get(`${apiUrl}/downloaddocument?id=${documentId}`)\r\n .then((response) => {\r\n this.Download(response.data);\r\n });\r\n },\r\n async getDocumentTypes(codeType) {\r\n return await http.get(`${apiUrl}/documenttypes?codeType=${codeType}`);\r\n },\r\n async getDocumentById(documentId){\r\n return await http.get(`${apiUrl}/downloadrp/${documentId}`);\r\n }\r\n};\r\n","import Error from 'custom-error';\n\n//\nvar script = {\n name: \"CustomTextArea\",\n meta: {\n description: \"Componente para entrada de texto multilínea\",\n slots: {\n default: {\n type: \"component\",\n valid: []\n }\n }\n },\n components: {\n Error\n },\n props: {\n id: {\n type: String,\n default: \"\",\n meta: {\n description: \"Id del Componente CustomTextArea\",\n example: \"idCustomTextArea\"\n }\n },\n label: {\n type: String,\n default: \"\",\n meta: {\n description: \"Control para mostrar texto\",\n example: \"Texto requerido\"\n }\n },\n classes: {\n type: Array,\n default: () => new Array(),\n meta: {\n description: \"Propiedad para almacenar caracteres\",\n example: \"4, 8, 15\"\n }\n },\n countClasses: {\n type: Array,\n default: () => new Array(),\n meta: {\n description: \"Conteo de caracteres\",\n example: \"16, 23, 42\"\n }\n },\n value: {\n type: String,\n default: \"\",\n meta: {\n description: \"Parámetro de entrada en el textarea\",\n example: \"Texto requerido\"\n }\n },\n maxlength: {\n type: Number,\n default: 0,\n required: true,\n meta: {\n description: \"Logitud máxima requerida\",\n example: \"Texto requerido\"\n }\n },\n disabled: {\n type: Boolean,\n required: false,\n meta: {\n description: \"Estado Disabled\",\n example: \"true\"\n }\n },\n error: {\n type: String,\n default: \"\",\n meta: {\n description: \"Estado Error\",\n example: \"Texto requerido\"\n }\n },\n customErrorMsg: {\n type: String,\n default: function () {\n return this.error;\n },\n meta: {\n description: \"Mensaje de error encontrado\",\n example: \"Texto requerido\"\n }\n },\n placeholder: {\n type: String,\n default: \"\",\n meta: {\n description: \"Texto de referencia en el textarea\",\n example: \"Texto requerido\"\n }\n },\n invalid: {\n type: Boolean,\n default: false,\n meta: {\n description: \"Propiedad para validar\",\n example: \"true\"\n }\n },\n rows: {\n type: Number,\n default: 0,\n required: false,\n meta: {\n description: \"Especifica el número de líneas de texto visibles\",\n example: \"100\"\n }\n },\n showCharCount: {\n type: Boolean,\n default: () => false\n },\n regularLabel: {\n type: Boolean,\n default: () => false,\n meta: {\n description: \"Control para mostrar texto en regular\",\n example: \"true\"\n }\n },\n preventEnter: {\n type: Boolean,\n default: () => false,\n meta: {\n description: \"Control para evitar accionar el botón Enter\",\n example: \"true\"\n }\n },\n utf8: {\n type: Boolean,\n default: () => true\n },\n twoCharLinebreak: {\n type: Boolean,\n default: () => true\n }\n },\n data() {\n return {\n length: 0\n };\n },\n computed: {\n textLength() {\n if (!this.value) {\n return 0;\n }\n const remaining = this.remainingChars(this.value, this.maxlength);\n if (remaining < 0) {\n return this.truncateChars(this.value, this.maxlength);\n }\n return this.inputLength(this.value);\n }\n },\n methods: {\n getWrapperClass: function () {\n return this.getClasses(this.classes);\n },\n getCountClasses: function () {\n return this.getClasses(this.countClasses);\n },\n getClasses: function (values) {\n return values.map(element => {\n return {\n [element]: true\n };\n });\n },\n inputLength(input) {\n let text = input;\n if (this.twoCharLinebreak) {\n text = text.replace(/\\r(?!\\n)|\\n(?!\\r)/g, \"\\r\\n\");\n } else {\n text = text.replace(/(?:\\r\\n|\\r|\\n)/g, \"\\n\");\n }\n var currentLength = 0;\n if (this.utf8) {\n currentLength = this.utf8Length(text);\n } else {\n currentLength = text.length;\n }\n return currentLength;\n },\n utf8CharByteCount(character) {\n var c = character.charCodeAt();\n return !c ? 0 : c < 128 ? 1 : c < 2048 ? 2 : 3;\n },\n utf8Length(string) {\n return string.split(\"\").map(this.utf8CharByteCount).concat(0).reduce(function (sum, val) {\n return sum + val;\n });\n },\n remainingChars(input, maxlength) {\n return maxlength - this.inputLength(input);\n },\n truncateChars(value, maxlength) {\n let text = value;\n if (this.twoCharLinebreak) {\n text = text.replace(/\\r(?!\\n)|\\n(?!\\r)/g, \"\\r\\n\");\n if (text[text.length - 1] === \"\\n\") {\n maxlength -= text.length % 2;\n }\n }\n if (this.utf8) {\n var indexedSize = text.split(\"\").map(this.utf8CharByteCount);\n for (var removedBytes = 0, bytesPastMax = this.utf8Length(text) - maxlength; removedBytes < bytesPastMax;) {\n removedBytes += indexedSize.pop();\n }\n maxlength = maxlength - removedBytes;\n }\n this.$emit(\"input\", text.substring(0, maxlength));\n return maxlength;\n },\n updateValue: function (value) {\n if (!value) {\n this.$emit(\"input\", value);\n return;\n }\n const remaining = this.remainingChars(value, this.maxlength);\n if (remaining < 0) {\n this.truncateChars(value, this.maxlength);\n return;\n }\n this.$emit(\"input\", value);\n },\n onPreventEnter(event) {\n if (this.preventEnter === false) return;\n if (event) event.preventDefault();\n }\n }\n};\n\nfunction normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {\r\n if (typeof shadowMode !== 'boolean') {\r\n createInjectorSSR = createInjector;\r\n createInjector = shadowMode;\r\n shadowMode = false;\r\n }\r\n // Vue.extend constructor export interop.\r\n const options = typeof script === 'function' ? script.options : script;\r\n // render functions\r\n if (template && template.render) {\r\n options.render = template.render;\r\n options.staticRenderFns = template.staticRenderFns;\r\n options._compiled = true;\r\n // functional template\r\n if (isFunctionalTemplate) {\r\n options.functional = true;\r\n }\r\n }\r\n // scopedId\r\n if (scopeId) {\r\n options._scopeId = scopeId;\r\n }\r\n let hook;\r\n if (moduleIdentifier) {\r\n // server build\r\n hook = function (context) {\r\n // 2.3 injection\r\n context =\r\n context || // cached call\r\n (this.$vnode && this.$vnode.ssrContext) || // stateful\r\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional\r\n // 2.2 with runInNewContext: true\r\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\r\n context = __VUE_SSR_CONTEXT__;\r\n }\r\n // inject component styles\r\n if (style) {\r\n style.call(this, createInjectorSSR(context));\r\n }\r\n // register component module identifier for async chunk inference\r\n if (context && context._registeredComponents) {\r\n context._registeredComponents.add(moduleIdentifier);\r\n }\r\n };\r\n // used by ssr in case component is cached and beforeCreate\r\n // never gets called\r\n options._ssrRegister = hook;\r\n }\r\n else if (style) {\r\n hook = shadowMode\r\n ? function (context) {\r\n style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));\r\n }\r\n : function (context) {\r\n style.call(this, createInjector(context));\r\n };\r\n }\r\n if (hook) {\r\n if (options.functional) {\r\n // register for functional component in vue file\r\n const originalRender = options.render;\r\n options.render = function renderWithStyleInjection(h, context) {\r\n hook.call(context);\r\n return originalRender(h, context);\r\n };\r\n }\r\n else {\r\n // inject component registration as beforeCreate hook\r\n const existing = options.beforeCreate;\r\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\r\n }\r\n }\r\n return script;\r\n}\n\nconst isOldIE = typeof navigator !== 'undefined' &&\r\n /msie [6-9]\\\\b/.test(navigator.userAgent.toLowerCase());\r\nfunction createInjector(context) {\r\n return (id, style) => addStyle(id, style);\r\n}\r\nlet HEAD;\r\nconst styles = {};\r\nfunction addStyle(id, css) {\r\n const group = isOldIE ? css.media || 'default' : id;\r\n const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });\r\n if (!style.ids.has(id)) {\r\n style.ids.add(id);\r\n let code = css.source;\r\n if (css.map) {\r\n // https://developer.chrome.com/devtools/docs/javascript-debugging\r\n // this makes source maps inside style tags work properly in Chrome\r\n code += '\\n/*# sourceURL=' + css.map.sources[0] + ' */';\r\n // http://stackoverflow.com/a/26603875\r\n code +=\r\n '\\n/*# sourceMappingURL=data:application/json;base64,' +\r\n btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +\r\n ' */';\r\n }\r\n if (!style.element) {\r\n style.element = document.createElement('style');\r\n style.element.type = 'text/css';\r\n if (css.media)\r\n style.element.setAttribute('media', css.media);\r\n if (HEAD === undefined) {\r\n HEAD = document.head || document.getElementsByTagName('head')[0];\r\n }\r\n HEAD.appendChild(style.element);\r\n }\r\n if ('styleSheet' in style.element) {\r\n style.styles.push(code);\r\n style.element.styleSheet.cssText = style.styles\r\n .filter(Boolean)\r\n .join('\\n');\r\n }\r\n else {\r\n const index = style.ids.size - 1;\r\n const textNode = document.createTextNode(code);\r\n const nodes = style.element.childNodes;\r\n if (nodes[index])\r\n style.element.removeChild(nodes[index]);\r\n if (nodes.length)\r\n style.element.insertBefore(textNode, nodes[index]);\r\n else\r\n style.element.appendChild(textNode);\r\n }\r\n }\r\n}\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {\n var _vm = this;\n var _h = _vm.$createElement;\n var _c = _vm._self._c || _h;\n return _c('div', {\n class: _vm.getWrapperClass()\n }, [_vm.label ? _c('label', {\n staticClass: \"data-label\",\n class: {\n regular: _vm.regularLabel\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.label) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"position-relative\"\n }, [_c('textarea', {\n staticClass: \"form-control\",\n class: {\n 'was-Invalidated': _vm.error\n },\n attrs: {\n \"rows\": _vm.rows,\n \"id\": _vm.id,\n \"placeholder\": _vm.placeholder,\n \"maxlength\": _vm.maxlength,\n \"disabled\": _vm.disabled\n },\n domProps: {\n \"value\": _vm.value\n },\n on: {\n \"input\": function ($event) {\n return _vm.updateValue($event.target.value);\n },\n \"keypress\": function ($event) {\n if (!$event.type.indexOf('key') && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n return _vm.onPreventEnter($event);\n }\n }\n }), _vm._v(\" \"), _vm.error ? _c('i', {\n staticClass: \"fa fa-times-circle form-control-icon-invalid\"\n }) : _vm._e(), _vm._v(\" \"), _vm.showCharCount ? _c('span', {\n staticClass: \"char-count\",\n class: _vm.getCountClasses()\n }, [_vm.maxlength > 0 && _vm.value ? _c('span', [_vm._v(_vm._s(_vm.textLength))]) : _c('span', [_vm._v(\"0\")]), _vm._v(\"\\n de \" + _vm._s(_vm.maxlength) + \"\\n \")]) : _vm._e()]), _vm._v(\" \"), _vm.error ? _c('error', {\n attrs: {\n \"variant\": \"no-border\",\n \"message\": _vm.customErrorMsg\n }\n }) : _vm._e()], 1);\n};\nvar __vue_staticRenderFns__ = [];\n\n/* style */\nconst __vue_inject_styles__ = function (inject) {\n if (!inject) return;\n inject(\"data-v-255097fa_0\", {\n source: \"textarea[data-v-255097fa]{background:#fff 0 0 no-repeat padding-box;min-height:100px}.small-counter[data-v-255097fa]{--counter-color:#727272;font-size:.8rem;color:var(--counter-color)}span.invalid[data-v-255097fa]:not(input){color:#e85c5c}.regular[data-v-255097fa]{font-weight:400}textarea[data-v-255097fa]:disabled{background:#f8f8f8}textarea[data-v-255097fa]::placeholder{text-align:left;font:Regular 16px/20px Lato;letter-spacing:0;color:#828d99;opacity:1}.form-control[data-v-255097fa]{background:#fff 0 0 no-repeat padding-box;border:1px solid #c5cdcf;opacity:1}.form-control-icon-invalid[data-v-255097fa]{color:#e85c5c;position:absolute;top:9px;right:10px;font-size:19px}.char-count[data-v-255097fa]{margin-top:2px;font-weight:400;font-size:15px}.was-Invalidated[data-v-255097fa],.was-Invalidated[data-v-255097fa]:focus{background-color:#f7d7da;border:1px solid #c5cdcf}\",\n map: undefined,\n media: undefined\n });\n};\n/* scoped */\nconst __vue_scope_id__ = \"data-v-255097fa\";\n/* module identifier */\nconst __vue_module_identifier__ = undefined;\n/* functional template */\nconst __vue_is_functional_template__ = false;\n/* style inject SSR */\n\n/* style inject shadow dom */\n\nconst __vue_component__ = /*#__PURE__*/normalizeComponent({\n render: __vue_render__,\n staticRenderFns: __vue_staticRenderFns__\n}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);\n\n// Import vue component\n\n// install function executed by Vue.use()\nconst install = function installCustomTextArea(Vue) {\n if (install.installed) return;\n install.installed = true;\n Vue.component('CustomTextArea', __vue_component__);\n};\n\n// Inject install function into component - allows component\n// to be registered via Vue.use() as well as Vue.component()\n__vue_component__.install = install;\n\n// It's possible to expose named exports when writing components that can\n// also be used as directives, etc. - eg. import { RollupDemoDirective } from 'rollup-demo';\n// export const RollupDemoDirective = component;\n\nexport { __vue_component__ as default };\n","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar script = {\n name: \"DropDown\",\n props: {\n title: {\n type: String,\n default: () => \"Acciones\"\n },\n icon: {\n type: String,\n default: () => null\n },\n items: {\n type: Array,\n default: () => []\n },\n dataItem: {\n type: [Number, Object],\n default: () => null\n },\n variant: {\n type: String,\n default: () => \"standard\"\n },\n responsive: {\n type: Boolean,\n default: true\n }\n },\n computed: {\n visibleItems() {\n const key = this.dataItem;\n return this.items.filter(function (item) {\n if (typeof item.visible === \"function\") return item.visible(key);else return item.visible != false;\n });\n }\n\n },\n methods: {\n eventHandler(method) {\n if (method) {\n method(this.dataItem);\n }\n }\n\n }\n};\n\nfunction normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {\r\n if (typeof shadowMode !== 'boolean') {\r\n createInjectorSSR = createInjector;\r\n createInjector = shadowMode;\r\n shadowMode = false;\r\n }\r\n // Vue.extend constructor export interop.\r\n const options = typeof script === 'function' ? script.options : script;\r\n // render functions\r\n if (template && template.render) {\r\n options.render = template.render;\r\n options.staticRenderFns = template.staticRenderFns;\r\n options._compiled = true;\r\n // functional template\r\n if (isFunctionalTemplate) {\r\n options.functional = true;\r\n }\r\n }\r\n // scopedId\r\n if (scopeId) {\r\n options._scopeId = scopeId;\r\n }\r\n let hook;\r\n if (moduleIdentifier) {\r\n // server build\r\n hook = function (context) {\r\n // 2.3 injection\r\n context =\r\n context || // cached call\r\n (this.$vnode && this.$vnode.ssrContext) || // stateful\r\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional\r\n // 2.2 with runInNewContext: true\r\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\r\n context = __VUE_SSR_CONTEXT__;\r\n }\r\n // inject component styles\r\n if (style) {\r\n style.call(this, createInjectorSSR(context));\r\n }\r\n // register component module identifier for async chunk inference\r\n if (context && context._registeredComponents) {\r\n context._registeredComponents.add(moduleIdentifier);\r\n }\r\n };\r\n // used by ssr in case component is cached and beforeCreate\r\n // never gets called\r\n options._ssrRegister = hook;\r\n }\r\n else if (style) {\r\n hook = shadowMode\r\n ? function (context) {\r\n style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));\r\n }\r\n : function (context) {\r\n style.call(this, createInjector(context));\r\n };\r\n }\r\n if (hook) {\r\n if (options.functional) {\r\n // register for functional component in vue file\r\n const originalRender = options.render;\r\n options.render = function renderWithStyleInjection(h, context) {\r\n hook.call(context);\r\n return originalRender(h, context);\r\n };\r\n }\r\n else {\r\n // inject component registration as beforeCreate hook\r\n const existing = options.beforeCreate;\r\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\r\n }\r\n }\r\n return script;\r\n}\n\nconst isOldIE = typeof navigator !== 'undefined' &&\r\n /msie [6-9]\\\\b/.test(navigator.userAgent.toLowerCase());\r\nfunction createInjector(context) {\r\n return (id, style) => addStyle(id, style);\r\n}\r\nlet HEAD;\r\nconst styles = {};\r\nfunction addStyle(id, css) {\r\n const group = isOldIE ? css.media || 'default' : id;\r\n const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });\r\n if (!style.ids.has(id)) {\r\n style.ids.add(id);\r\n let code = css.source;\r\n if (css.map) {\r\n // https://developer.chrome.com/devtools/docs/javascript-debugging\r\n // this makes source maps inside style tags work properly in Chrome\r\n code += '\\n/*# sourceURL=' + css.map.sources[0] + ' */';\r\n // http://stackoverflow.com/a/26603875\r\n code +=\r\n '\\n/*# sourceMappingURL=data:application/json;base64,' +\r\n btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +\r\n ' */';\r\n }\r\n if (!style.element) {\r\n style.element = document.createElement('style');\r\n style.element.type = 'text/css';\r\n if (css.media)\r\n style.element.setAttribute('media', css.media);\r\n if (HEAD === undefined) {\r\n HEAD = document.head || document.getElementsByTagName('head')[0];\r\n }\r\n HEAD.appendChild(style.element);\r\n }\r\n if ('styleSheet' in style.element) {\r\n style.styles.push(code);\r\n style.element.styleSheet.cssText = style.styles\r\n .filter(Boolean)\r\n .join('\\n');\r\n }\r\n else {\r\n const index = style.ids.size - 1;\r\n const textNode = document.createTextNode(code);\r\n const nodes = style.element.childNodes;\r\n if (nodes[index])\r\n style.element.removeChild(nodes[index]);\r\n if (nodes.length)\r\n style.element.insertBefore(textNode, nodes[index]);\r\n else\r\n style.element.appendChild(textNode);\r\n }\r\n }\r\n}\n\n/* script */\nconst __vue_script__ = script;\n/* template */\n\nvar __vue_render__ = function () {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', [_vm.items.length == 1 ? _c('div', [_c('button', {\n staticClass: \"ac-btn border-color--primary-1\",\n class: (_vm.visibleItems[0].border && \"border-\" + _vm.visibleItems[0].border) + \" \" + _vm.visibleItems[0].class + \" \" + (_vm.responsive ? 'dropdown-responsive' : ''),\n on: {\n \"click\": function ($event) {\n return _vm.eventHandler(_vm.visibleItems[0].click);\n }\n }\n }, [_vm.visibleItems[0].icon ? _c('em', {\n key: _vm.visibleItems[0].icon + (_vm.visibleItems[0].name || _vm.visibleItems[0].label),\n staticClass: \"mr-2 ac-em\",\n class: _vm.visibleItems[0].icon\n }) : _vm._e(), _vm._v(\"\\n \" + _vm._s(_vm.visibleItems[0].name || _vm.visibleItems[0].label) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), _vm.items.length >= 2 ? _c('div', {\n staticClass: \"dropdown\"\n }, [_vm.variant.indexOf('standard') > -1 ? _c('button', {\n staticClass: \"ab-btn border-color--primary-1 dropdown-toggle\",\n class: _vm.variant + (_vm.responsive ? ' dropdown-responsive' : ''),\n attrs: {\n \"type\": \"button\",\n \"id\": \"dropdownMenuButton\",\n \"data-toggle\": \"dropdown\",\n \"aria-haspopup\": \"true\",\n \"aria-expanded\": \"false\"\n }\n }, [_vm.icon ? _c('em', {\n key: _vm.icon,\n staticClass: \"mr-2\",\n class: _vm.icon\n }) : _vm._e(), _vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), _vm.variant.indexOf('rounded-dark') > -1 ? _c('button', {\n staticClass: \"outline-success border-none px-4 bg-secondary-16 text-white variant-rounded-dark rounded-pill\",\n class: _vm.variant + (_vm.responsive ? ' dropdown-responsive' : ''),\n attrs: {\n \"type\": \"button\",\n \"data-toggle\": \"dropdown\",\n \"aria-haspopup\": \"true\",\n \"aria-expanded\": \"false\"\n }\n }, [_vm.icon ? _c('em', {\n key: _vm.icon,\n staticClass: \"mr-2\",\n class: _vm.icon\n }) : _vm._e(), _vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"dropdown-menu dropdown-menu-right\",\n attrs: {\n \"aria-labelledby\": \"dropdownMenuButton\"\n }\n }, _vm._l(_vm.visibleItems, function (item) {\n return _c('div', {\n key: item.name || item.label\n }, [_c('div', {\n staticClass: \"dropdown-item py-2\",\n class: (item.border && \"border-\" + item.border) + \" \" + item.class,\n on: {\n \"click\": function ($event) {\n return _vm.eventHandler(item.click);\n }\n }\n }, [item.icon ? _c('em', {\n key: item.icon + (item.name || item.label),\n staticClass: \"mr-2\",\n class: item.icon\n }) : _vm._e(), _vm._v(\"\\n \" + _vm._s(item.name || item.label) + \"\\n \")]), _vm._v(\" \"), _vm._l(item.children, function (child) {\n return _c('div', {\n key: child.name || child.label,\n staticClass: \"dropdown-item py-2 pl-5\",\n class: (child.border && \"border-\" + child.border) + \" \" + child.class,\n on: {\n \"click\": function ($event) {\n return _vm.eventHandler(child.click);\n }\n }\n }, [child.icon ? _c('em', {\n key: child.icon + (child.name || child.label),\n staticClass: \"mr-2\",\n class: child.icon\n }) : _vm._e(), _vm._v(\"\\n \" + _vm._s(child.name || child.label) + \"\\n \")]);\n })], 2);\n }), 0)]) : _vm._e()]);\n};\n\nvar __vue_staticRenderFns__ = [];\n/* style */\n\nconst __vue_inject_styles__ = function (inject) {\n if (!inject) return;\n inject(\"data-v-a62cb662_0\", {\n source: \"@charset \\\"UTF-8\\\";.single-button[data-v-a62cb662]{border:none;outline:0;width:min-content}.btn[data-v-a62cb662]:focus{box-shadow:none}#dropdownMenuButton[data-v-a62cb662]{color:#2db782;background-color:#fff;border-color:#2db782;outline:0;font-family:Lato,sans-serif;font-weight:500;font-size:1rem;text-align:center}@media all and (max-width:480px){.dropdown-responsive[data-v-a62cb662]{width:100%;display:block}}.variant-rounded-dark[data-v-a62cb662]:after{font-family:\\\"Font Awesome 5 Free\\\";color:#3f5b61;font-size:22px;padding-left:10px}.variant-rounded-dark[aria-expanded=true][data-v-a62cb662]:after{content:\\\"\\\"!important}.variant-rounded-dark[aria-expanded=false][data-v-a62cb662]:after{content:\\\"\\\"!important}.dropdown-item[data-v-a62cb662]{cursor:pointer}.ac-btn[data-v-a62cb662]{color:#2db782;background-color:#fff;border-color:#2db782;outline:0;font-family:Lato,sans-serif;font-weight:500;font-size:1rem;text-align:center;border-radius:4px;border:1px solid #3f5b60;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;cursor:pointer;padding:5px;padding-left:10px;padding-right:10px;white-space:nowrap}.ac-btn[data-v-a62cb662]:hover{color:#fff;background-color:#2db782}.ac-btn:hover>.ac-em[data-v-a62cb662]{color:#fff!important}\",\n map: undefined,\n media: undefined\n });\n};\n/* scoped */\n\n\nconst __vue_scope_id__ = \"data-v-a62cb662\";\n/* module identifier */\n\nconst __vue_module_identifier__ = undefined;\n/* functional template */\n\nconst __vue_is_functional_template__ = false;\n/* style inject SSR */\n\n/* style inject shadow dom */\n\nconst __vue_component__ = /*#__PURE__*/normalizeComponent({\n render: __vue_render__,\n staticRenderFns: __vue_staticRenderFns__\n}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);\n\n// Import vue component\n\nconst install = function installDropdown(Vue) {\n if (install.installed) return;\n install.installed = true;\n Vue.component('Dropdown', __vue_component__);\n}; // Create module definition for Vue.use()\n// to be registered via Vue.use() as well as Vue.component()\n\n\n__vue_component__.install = install; // Export component by default\n// also be used as directives, etc. - eg. import { RollupDemoDirective } from 'rollup-demo';\n// export const RollupDemoDirective = component;\n\nexport default __vue_component__;\n","'use strict';\nvar $ = require('../internals/export');\nvar aFunction = require('../internals/a-function');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar nativeSort = test.sort;\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return String(x) > String(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aFunction(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? nativeSort.call(array) : nativeSort.call(array, comparefn);\n\n var items = [];\n var arrayLength = toLength(array.length);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) items.push(array[index]);\n }\n\n items = internalSort(items, getSortCompare(comparefn));\n itemsLength = items.length;\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) delete array[index++];\n\n return array;\n }\n});\n","//\n//\n//\n//\n//\n//\n//\n//\nvar script = {\n name: \"CustomBalloon\",\n meta: {\n description: \"Componente común Balloon contenedor.\"\n },\n props: {\n text: {\n type: String,\n required: true,\n default: '',\n meta: {\n description: 'Texto del Ballon',\n example: 'some title'\n }\n },\n backgroundColor: {\n type: String,\n default: '',\n meta: {\n description: 'Color de fondo del Ballon, Enumeración en import { Colors } from \"@/components/common\"',\n example: 'Colors.GREEN'\n }\n }\n }\n};\n\nfunction normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {\r\n if (typeof shadowMode !== 'boolean') {\r\n createInjectorSSR = createInjector;\r\n createInjector = shadowMode;\r\n shadowMode = false;\r\n }\r\n // Vue.extend constructor export interop.\r\n const options = typeof script === 'function' ? script.options : script;\r\n // render functions\r\n if (template && template.render) {\r\n options.render = template.render;\r\n options.staticRenderFns = template.staticRenderFns;\r\n options._compiled = true;\r\n // functional template\r\n if (isFunctionalTemplate) {\r\n options.functional = true;\r\n }\r\n }\r\n // scopedId\r\n if (scopeId) {\r\n options._scopeId = scopeId;\r\n }\r\n let hook;\r\n if (moduleIdentifier) {\r\n // server build\r\n hook = function (context) {\r\n // 2.3 injection\r\n context =\r\n context || // cached call\r\n (this.$vnode && this.$vnode.ssrContext) || // stateful\r\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional\r\n // 2.2 with runInNewContext: true\r\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\r\n context = __VUE_SSR_CONTEXT__;\r\n }\r\n // inject component styles\r\n if (style) {\r\n style.call(this, createInjectorSSR(context));\r\n }\r\n // register component module identifier for async chunk inference\r\n if (context && context._registeredComponents) {\r\n context._registeredComponents.add(moduleIdentifier);\r\n }\r\n };\r\n // used by ssr in case component is cached and beforeCreate\r\n // never gets called\r\n options._ssrRegister = hook;\r\n }\r\n else if (style) {\r\n hook = shadowMode\r\n ? function (context) {\r\n style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));\r\n }\r\n : function (context) {\r\n style.call(this, createInjector(context));\r\n };\r\n }\r\n if (hook) {\r\n if (options.functional) {\r\n // register for functional component in vue file\r\n const originalRender = options.render;\r\n options.render = function renderWithStyleInjection(h, context) {\r\n hook.call(context);\r\n return originalRender(h, context);\r\n };\r\n }\r\n else {\r\n // inject component registration as beforeCreate hook\r\n const existing = options.beforeCreate;\r\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\r\n }\r\n }\r\n return script;\r\n}\n\nconst isOldIE = typeof navigator !== 'undefined' &&\r\n /msie [6-9]\\\\b/.test(navigator.userAgent.toLowerCase());\r\nfunction createInjector(context) {\r\n return (id, style) => addStyle(id, style);\r\n}\r\nlet HEAD;\r\nconst styles = {};\r\nfunction addStyle(id, css) {\r\n const group = isOldIE ? css.media || 'default' : id;\r\n const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });\r\n if (!style.ids.has(id)) {\r\n style.ids.add(id);\r\n let code = css.source;\r\n if (css.map) {\r\n // https://developer.chrome.com/devtools/docs/javascript-debugging\r\n // this makes source maps inside style tags work properly in Chrome\r\n code += '\\n/*# sourceURL=' + css.map.sources[0] + ' */';\r\n // http://stackoverflow.com/a/26603875\r\n code +=\r\n '\\n/*# sourceMappingURL=data:application/json;base64,' +\r\n btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +\r\n ' */';\r\n }\r\n if (!style.element) {\r\n style.element = document.createElement('style');\r\n style.element.type = 'text/css';\r\n if (css.media)\r\n style.element.setAttribute('media', css.media);\r\n if (HEAD === undefined) {\r\n HEAD = document.head || document.getElementsByTagName('head')[0];\r\n }\r\n HEAD.appendChild(style.element);\r\n }\r\n if ('styleSheet' in style.element) {\r\n style.styles.push(code);\r\n style.element.styleSheet.cssText = style.styles\r\n .filter(Boolean)\r\n .join('\\n');\r\n }\r\n else {\r\n const index = style.ids.size - 1;\r\n const textNode = document.createTextNode(code);\r\n const nodes = style.element.childNodes;\r\n if (nodes[index])\r\n style.element.removeChild(nodes[index]);\r\n if (nodes.length)\r\n style.element.insertBefore(textNode, nodes[index]);\r\n else\r\n style.element.appendChild(textNode);\r\n }\r\n }\r\n}\n\n/* script */\nconst __vue_script__ = script;\n/* template */\n\nvar __vue_render__ = function () {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', {\n staticClass: \"balloon-container\",\n class: _vm.backgroundColor\n }, [_vm._v(\"\\n \" + _vm._s(_vm.text) + \"\\n\")]);\n};\n\nvar __vue_staticRenderFns__ = [];\n/* style */\n\nconst __vue_inject_styles__ = function (inject) {\n if (!inject) return;\n inject(\"data-v-162daa2c_0\", {\n source: \".balloon-container[data-v-162daa2c]{margin-left:5px;margin-right:5px;padding:5px;text-align:center;color:#11291b;border-radius:25px;font-size:14px;font-weight:900;width:100%}.balloon-container.green[data-v-162daa2c]{background-color:#2db782}.balloon-container.green-light[data-v-162daa2c]{background-color:#a4e5b2}.balloon-container.brown[data-v-162daa2c]{background-color:#d5b899}.balloon-container.yellow[data-v-162daa2c]{background-color:#f8ea80}.balloon-container.pink[data-v-162daa2c]{background-color:#fcc9c8}.balloon-container.violet[data-v-162daa2c]{background-color:#ddb3d7}.balloon-container.chardonnay[data-v-162daa2c]{background-color:#ffc18d;color:#fae76f}.balloon-container.gray[data-v-162daa2c]{background-color:#b5c3bc;color:#fff}.balloon-container.peach[data-v-162daa2c]{background-color:#fce0c8}\",\n map: undefined,\n media: undefined\n });\n};\n/* scoped */\n\n\nconst __vue_scope_id__ = \"data-v-162daa2c\";\n/* module identifier */\n\nconst __vue_module_identifier__ = undefined;\n/* functional template */\n\nconst __vue_is_functional_template__ = false;\n/* style inject SSR */\n\n/* style inject shadow dom */\n\nconst __vue_component__ = /*#__PURE__*/normalizeComponent({\n render: __vue_render__,\n staticRenderFns: __vue_staticRenderFns__\n}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);\n\n// Import vue component\n\nconst install = function installCustomBallon(Vue) {\n if (install.installed) return;\n install.installed = true;\n Vue.component('CustomBallon', __vue_component__);\n}; // Create module definition for Vue.use()\n// to be registered via Vue.use() as well as Vue.component()\n\n\n__vue_component__.install = install; // Export component by default\n// also be used as directives, etc. - eg. import { RollupDemoDirective } from 'rollup-demo';\n// export const RollupDemoDirective = component;\n\nexport default __vue_component__;\n","import moment from 'moment';\nimport Pagination from 'pagination';\nimport PageHeader from 'PageHeader';\nimport FilterManager from 'FilterManager';\nimport CustomSeparator from 'custom-separator';\nimport DropDown from 'dropdown';\nimport Callout from 'custom-callout';\nimport Balloon from 'custom-balloon';\nimport ActionButton from 'ActionButton';\nimport CustomInput from 'CustomInput';\nimport CustomFileInput from 'CustomFileInput';\nimport CustomTextArea from 'CustomTextArea';\nimport alertMixin from 'utils/mixins/alert.mixin.js';\nimport { serialize } from 'object-to-formdata';\nimport SectionTitle from 'SectionTitle';\nimport CustomDropDown from 'custom-drop-down';\nimport CustomChipsGroup from 'CustomChipsGroup';\nimport Error from 'custom-error';\nimport IconView from 'icon-view';\n\nfunction normalizeComponent$2(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {\r\n if (typeof shadowMode !== 'boolean') {\r\n createInjectorSSR = createInjector;\r\n createInjector = shadowMode;\r\n shadowMode = false;\r\n }\r\n // Vue.extend constructor export interop.\r\n const options = typeof script === 'function' ? script.options : script;\r\n // render functions\r\n if (template && template.render) {\r\n options.render = template.render;\r\n options.staticRenderFns = template.staticRenderFns;\r\n options._compiled = true;\r\n // functional template\r\n if (isFunctionalTemplate) {\r\n options.functional = true;\r\n }\r\n }\r\n // scopedId\r\n if (scopeId) {\r\n options._scopeId = scopeId;\r\n }\r\n let hook;\r\n if (moduleIdentifier) {\r\n // server build\r\n hook = function (context) {\r\n // 2.3 injection\r\n context =\r\n context || // cached call\r\n (this.$vnode && this.$vnode.ssrContext) || // stateful\r\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional\r\n // 2.2 with runInNewContext: true\r\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\r\n context = __VUE_SSR_CONTEXT__;\r\n }\r\n // inject component styles\r\n if (style) {\r\n style.call(this, createInjectorSSR(context));\r\n }\r\n // register component module identifier for async chunk inference\r\n if (context && context._registeredComponents) {\r\n context._registeredComponents.add(moduleIdentifier);\r\n }\r\n };\r\n // used by ssr in case component is cached and beforeCreate\r\n // never gets called\r\n options._ssrRegister = hook;\r\n }\r\n else if (style) {\r\n hook = shadowMode\r\n ? function (context) {\r\n style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));\r\n }\r\n : function (context) {\r\n style.call(this, createInjector(context));\r\n };\r\n }\r\n if (hook) {\r\n if (options.functional) {\r\n // register for functional component in vue file\r\n const originalRender = options.render;\r\n options.render = function renderWithStyleInjection(h, context) {\r\n hook.call(context);\r\n return originalRender(h, context);\r\n };\r\n }\r\n else {\r\n // inject component registration as beforeCreate hook\r\n const existing = options.beforeCreate;\r\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\r\n }\r\n }\r\n return script;\r\n}\n\nconst isOldIE$2 = typeof navigator !== 'undefined' &&\r\n /msie [6-9]\\\\b/.test(navigator.userAgent.toLowerCase());\r\nfunction createInjector$2(context) {\r\n return (id, style) => addStyle$2(id, style);\r\n}\r\nlet HEAD$2;\r\nconst styles$2 = {};\r\nfunction addStyle$2(id, css) {\r\n const group = isOldIE$2 ? css.media || 'default' : id;\r\n const style = styles$2[group] || (styles$2[group] = { ids: new Set(), styles: [] });\r\n if (!style.ids.has(id)) {\r\n style.ids.add(id);\r\n let code = css.source;\r\n if (css.map) {\r\n // https://developer.chrome.com/devtools/docs/javascript-debugging\r\n // this makes source maps inside style tags work properly in Chrome\r\n code += '\\n/*# sourceURL=' + css.map.sources[0] + ' */';\r\n // http://stackoverflow.com/a/26603875\r\n code +=\r\n '\\n/*# sourceMappingURL=data:application/json;base64,' +\r\n btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +\r\n ' */';\r\n }\r\n if (!style.element) {\r\n style.element = document.createElement('style');\r\n style.element.type = 'text/css';\r\n if (css.media)\r\n style.element.setAttribute('media', css.media);\r\n if (HEAD$2 === undefined) {\r\n HEAD$2 = document.head || document.getElementsByTagName('head')[0];\r\n }\r\n HEAD$2.appendChild(style.element);\r\n }\r\n if ('styleSheet' in style.element) {\r\n style.styles.push(code);\r\n style.element.styleSheet.cssText = style.styles\r\n .filter(Boolean)\r\n .join('\\n');\r\n }\r\n else {\r\n const index = style.ids.size - 1;\r\n const textNode = document.createTextNode(code);\r\n const nodes = style.element.childNodes;\r\n if (nodes[index])\r\n style.element.removeChild(nodes[index]);\r\n if (nodes.length)\r\n style.element.insertBefore(textNode, nodes[index]);\r\n else\r\n style.element.appendChild(textNode);\r\n }\r\n }\r\n}\n\n/* script */\n\n/* template */\nvar __vue_render__$5 = function (_h, _vm) {\n var _c = _vm._c;\n return _c('div', {\n staticClass: \"no-info text-center mt-4\"\n }, [_c('div', {\n staticClass: \"row\"\n }, [_vm._m(0), _vm._v(\" \"), _c('div', {\n staticClass: \"col-12 mt-2\"\n }, [_c('span', {\n staticClass: \"no-info__text\"\n }, [_vm._v(_vm._s(_vm.props.text || 'No hay información disponible.'))])])])]);\n};\n\nvar __vue_staticRenderFns__$5 = [function (_h, _vm) {\n var _c = _vm._c;\n return _c('div', {\n staticClass: \"col-12\"\n }, [_c('em', {\n staticClass: \"fal fa-folder-open no-info__icon\"\n })]);\n}];\n/* style */\n\nconst __vue_inject_styles__$5 = function (inject) {\n if (!inject) return;\n inject(\"data-v-48c24c36_0\", {\n source: \".no-info__icon[data-v-48c24c36]{color:#c9c9c9;font-size:50px}.no-info__text[data-v-48c24c36]{font-size:18px;font-weight:700;letter-spacing:0;color:#c9c9c9}\",\n map: undefined,\n media: undefined\n });\n};\n/* scoped */\n\n\nconst __vue_scope_id__$5 = \"data-v-48c24c36\";\n/* module identifier */\n\nconst __vue_module_identifier__$5 = undefined;\n/* functional template */\n\nconst __vue_is_functional_template__$5 = true;\n/* style inject SSR */\n\n/* style inject shadow dom */\n\nconst __vue_component__$5 = /*#__PURE__*/normalizeComponent$2({\n render: __vue_render__$5,\n staticRenderFns: __vue_staticRenderFns__$5\n}, __vue_inject_styles__$5, {}, __vue_scope_id__$5, __vue_is_functional_template__$5, __vue_module_identifier__$5, false, createInjector$2, undefined, undefined);\n\n// Import vue component\n\nconst install$1 = function installCustomResultNotFound(Vue) {\n if (install$1.installed) return;\n install$1.installed = true;\n Vue.component('CustomResultNotFound', __vue_component__$5);\n}; // Create module definition for Vue.use()\n// to be registered via Vue.use() as well as Vue.component()\n\n\n__vue_component__$5.install = install$1; // Export component by default\n\nvar caseStatus = Object.freeze({\n EnProceso: 2,\n Resuelto: 3,\n Cancelado: 4,\n ReferidoDocencia: 5,\n Nuevo: 6,\n ReferidoProgramacion: 22,\n ReferidoConsulta: 23,\n PendientePublicacion: 24,\n EnProcesoProgramacion: 25,\n ResueltoProgramacion: 26,\n PendienteInformacion: 27,\n DevueltoProgramacion: 28,\n DevueltoAsistenciaMIPE: 29,\n EnProcesoAnalisis: 30,\n EnProcesoOrientacion: 31\n});\n\nfunction normalizeComponent$1(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {\r\n if (typeof shadowMode !== 'boolean') {\r\n createInjectorSSR = createInjector;\r\n createInjector = shadowMode;\r\n shadowMode = false;\r\n }\r\n // Vue.extend constructor export interop.\r\n const options = typeof script === 'function' ? script.options : script;\r\n // render functions\r\n if (template && template.render) {\r\n options.render = template.render;\r\n options.staticRenderFns = template.staticRenderFns;\r\n options._compiled = true;\r\n // functional template\r\n if (isFunctionalTemplate) {\r\n options.functional = true;\r\n }\r\n }\r\n // scopedId\r\n if (scopeId) {\r\n options._scopeId = scopeId;\r\n }\r\n let hook;\r\n if (moduleIdentifier) {\r\n // server build\r\n hook = function (context) {\r\n // 2.3 injection\r\n context =\r\n context || // cached call\r\n (this.$vnode && this.$vnode.ssrContext) || // stateful\r\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional\r\n // 2.2 with runInNewContext: true\r\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\r\n context = __VUE_SSR_CONTEXT__;\r\n }\r\n // inject component styles\r\n if (style) {\r\n style.call(this, createInjectorSSR(context));\r\n }\r\n // register component module identifier for async chunk inference\r\n if (context && context._registeredComponents) {\r\n context._registeredComponents.add(moduleIdentifier);\r\n }\r\n };\r\n // used by ssr in case component is cached and beforeCreate\r\n // never gets called\r\n options._ssrRegister = hook;\r\n }\r\n else if (style) {\r\n hook = shadowMode\r\n ? function (context) {\r\n style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));\r\n }\r\n : function (context) {\r\n style.call(this, createInjector(context));\r\n };\r\n }\r\n if (hook) {\r\n if (options.functional) {\r\n // register for functional component in vue file\r\n const originalRender = options.render;\r\n options.render = function renderWithStyleInjection(h, context) {\r\n hook.call(context);\r\n return originalRender(h, context);\r\n };\r\n }\r\n else {\r\n // inject component registration as beforeCreate hook\r\n const existing = options.beforeCreate;\r\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\r\n }\r\n }\r\n return script;\r\n}\n\nconst isOldIE$1 = typeof navigator !== 'undefined' &&\r\n /msie [6-9]\\\\b/.test(navigator.userAgent.toLowerCase());\r\nfunction createInjector$1(context) {\r\n return (id, style) => addStyle$1(id, style);\r\n}\r\nlet HEAD$1;\r\nconst styles$1 = {};\r\nfunction addStyle$1(id, css) {\r\n const group = isOldIE$1 ? css.media || 'default' : id;\r\n const style = styles$1[group] || (styles$1[group] = { ids: new Set(), styles: [] });\r\n if (!style.ids.has(id)) {\r\n style.ids.add(id);\r\n let code = css.source;\r\n if (css.map) {\r\n // https://developer.chrome.com/devtools/docs/javascript-debugging\r\n // this makes source maps inside style tags work properly in Chrome\r\n code += '\\n/*# sourceURL=' + css.map.sources[0] + ' */';\r\n // http://stackoverflow.com/a/26603875\r\n code +=\r\n '\\n/*# sourceMappingURL=data:application/json;base64,' +\r\n btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +\r\n ' */';\r\n }\r\n if (!style.element) {\r\n style.element = document.createElement('style');\r\n style.element.type = 'text/css';\r\n if (css.media)\r\n style.element.setAttribute('media', css.media);\r\n if (HEAD$1 === undefined) {\r\n HEAD$1 = document.head || document.getElementsByTagName('head')[0];\r\n }\r\n HEAD$1.appendChild(style.element);\r\n }\r\n if ('styleSheet' in style.element) {\r\n style.styles.push(code);\r\n style.element.styleSheet.cssText = style.styles\r\n .filter(Boolean)\r\n .join('\\n');\r\n }\r\n else {\r\n const index = style.ids.size - 1;\r\n const textNode = document.createTextNode(code);\r\n const nodes = style.element.childNodes;\r\n if (nodes[index])\r\n style.element.removeChild(nodes[index]);\r\n if (nodes.length)\r\n style.element.insertBefore(textNode, nodes[index]);\r\n else\r\n style.element.appendChild(textNode);\r\n }\r\n }\r\n}\n\n/* script */\n\n/* template */\nvar __vue_render__$1$1 = function () {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', {\n staticClass: \"timeline__container\"\n }, [_vm._t(\"default\")], 2);\n};\n\nvar __vue_staticRenderFns__$1$1 = [];\n/* style */\n\nconst __vue_inject_styles__$1$1 = function (inject) {\n if (!inject) return;\n inject(\"data-v-0f13774e_0\", {\n source: \".timeline__container .timeline__item:first-child .timeline__content[data-v-0f13774e]::before{height:calc(100% - 35px + 20px);top:35px}.timeline__container .timeline__item:last-child .timeline__content[data-v-0f13774e]::before{height:35px}@media screen and (max-width:411px){.timeline__container[data-v-0f13774e]{margin-right:37%}}@media screen and (max-width:375px){.timeline__container[data-v-0f13774e]{width:60%}}@media screen and (max-width:360px){.timeline__container[data-v-0f13774e]{width:58%}}\",\n map: undefined,\n media: undefined\n });\n};\n/* scoped */\n\n\nconst __vue_scope_id__$1$1 = \"data-v-0f13774e\";\n/* module identifier */\n\nconst __vue_module_identifier__$1$1 = undefined;\n/* functional template */\n\nconst __vue_is_functional_template__$1$1 = false;\n/* style inject SSR */\n\n/* style inject shadow dom */\n\nconst __vue_component__$1$1 = /*#__PURE__*/normalizeComponent$1({\n render: __vue_render__$1$1,\n staticRenderFns: __vue_staticRenderFns__$1$1\n}, __vue_inject_styles__$1$1, {}, __vue_scope_id__$1$1, __vue_is_functional_template__$1$1, __vue_module_identifier__$1$1, false, createInjector$1, undefined, undefined);\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar script$4 = {\n name: \"TimeLineItem\",\n props: {\n icon: {\n type: String,\n default: () => null\n }\n }\n};\n\n/* script */\nconst __vue_script__$4 = script$4;\n/* template */\n\nvar __vue_render__$4 = function () {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', {\n staticClass: \"d-flex timeline__item\"\n }, [_c('div', {\n staticClass: \"mr-3 mt-4\"\n }, [_c('div', {\n staticClass: \"w-date-fixed\"\n }, [_vm._t(\"date\")], 2)]), _vm._v(\" \"), _c('div', {\n staticClass: \"timeline__content w-100\"\n }, [_c('div', {\n staticClass: \"timeline__content--inner p-4\"\n }, [_vm.icon || _vm.$slots['icon'] ? _c('div', {\n staticClass: \"icon-absolute\"\n }, [_vm.$slots['icon'] ? _vm._t(\"icon\") : _c('em', {\n staticClass: \"radius text-white\",\n class: _vm.icon\n })], 2) : _vm._e(), _vm._v(\" \"), _vm._t(\"default\")], 2)])]);\n};\n\nvar __vue_staticRenderFns__$4 = [];\n/* style */\n\nconst __vue_inject_styles__$4 = function (inject) {\n if (!inject) return;\n inject(\"data-v-51b14452_0\", {\n source: \".timeline__content[data-v-51b14452]{margin-bottom:20px;margin-left:40px;position:relative}.timeline__content .timeline__content--inner[data-v-51b14452]{background:#f7f7f7;border-radius:3px;position:relative}.icon-absolute[data-v-51b14452]{position:absolute;left:-1.3%}.radius[data-v-51b14452]{padding:8px;padding-top:9px;width:36px;height:36px;text-align:center;background-color:#b5c3bc;border-radius:50%}.timeline__content[data-v-51b14452]:before{background:#e2e2e2;border-radius:2px;box-shadow:0 0 3px rgba(0,0,0,.2);content:\\\"\\\";height:calc(100% + 20px);left:-30px;position:absolute;width:1px}.timeline__item:first-child .timeline__content[data-v-51b14452]::before{height:calc(100% - 35px + 20px);top:35px}.timeline__item:last-child .timeline__content[data-v-51b14452]::before{height:35px!important}.timeline__content[data-v-51b14452]:after{background:#707070;border:2px solid #707070;border-radius:50%;box-shadow:0 0 5px rgba(0,0,0,.1);content:\\\"\\\";height:10px;left:-34px;position:absolute;top:35px;width:10px}.w-date-fixed[data-v-51b14452]{width:90px}@media screen and (max-width:1055px){.icon-absolute[data-v-51b14452]{left:-2%}}@media screen and (max-width:780px){.icon-absolute[data-v-51b14452]{left:-3%}}@media screen and (max-width:670px){.icon-absolute[data-v-51b14452]{left:-3.3%}}@media screen and (max-width:411px){.icon-absolute[data-v-51b14452]{left:-6%!important}}\",\n map: undefined,\n media: undefined\n });\n};\n/* scoped */\n\n\nconst __vue_scope_id__$4 = \"data-v-51b14452\";\n/* module identifier */\n\nconst __vue_module_identifier__$4 = undefined;\n/* functional template */\n\nconst __vue_is_functional_template__$4 = false;\n/* style inject SSR */\n\n/* style inject shadow dom */\n\nconst __vue_component__$4 = /*#__PURE__*/normalizeComponent$1({\n render: __vue_render__$4,\n staticRenderFns: __vue_staticRenderFns__$4\n}, __vue_inject_styles__$4, __vue_script__$4, __vue_scope_id__$4, __vue_is_functional_template__$4, __vue_module_identifier__$4, false, createInjector$1, undefined, undefined);\n\n// Import vue component\n\nconst install = function installTimeline(Vue) {\n if (install.installed) return;\n install.installed = true;\n Vue.component('Timeline', __vue_component__$1$1);\n};\n\nconst installTimeLineItem = function installTimeline(Vue) {\n if (installTimeLineItem.installed) return;\n installTimeLineItem.installed = true;\n Vue.component('TimelineItem', __vue_component__$4);\n}; // Create module definition for Vue.use()\n// to be registered via Vue.use() as well as Vue.component()\n\n\n__vue_component__$1$1.install = install;\n__vue_component__$4.install = installTimeLineItem; // Export component by default\n\nconst TimeLine = __vue_component__$1$1;\nconst TimeLineItem = __vue_component__$4;\n\nconst CUSTOM_LOCALE = \"es-PR\";\nconst date = value => {\n return value ? moment(value).locale(CUSTOM_LOCALE).format(\"DD/MMM/YYYY\").replace(/ 0(?:0)?/, \" \") : \"-\";\n};\nconst hour = value => {\n return value ? moment(value).locale(CUSTOM_LOCALE).format(\"hh:mm a\") : \"-\";\n};\n\n//\nvar script$3 = {\n name: \"CommentsHistory\",\n components: {\n CustomResultNotFound: __vue_component__$5,\n TimeLine,\n TimeLineItem\n },\n filters: {\n date,\n hour\n },\n props: {\n history: {\n type: Array,\n required: true\n }\n }\n};\n\nfunction normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {\r\n if (typeof shadowMode !== 'boolean') {\r\n createInjectorSSR = createInjector;\r\n createInjector = shadowMode;\r\n shadowMode = false;\r\n }\r\n // Vue.extend constructor export interop.\r\n const options = typeof script === 'function' ? script.options : script;\r\n // render functions\r\n if (template && template.render) {\r\n options.render = template.render;\r\n options.staticRenderFns = template.staticRenderFns;\r\n options._compiled = true;\r\n // functional template\r\n if (isFunctionalTemplate) {\r\n options.functional = true;\r\n }\r\n }\r\n // scopedId\r\n if (scopeId) {\r\n options._scopeId = scopeId;\r\n }\r\n let hook;\r\n if (moduleIdentifier) {\r\n // server build\r\n hook = function (context) {\r\n // 2.3 injection\r\n context =\r\n context || // cached call\r\n (this.$vnode && this.$vnode.ssrContext) || // stateful\r\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional\r\n // 2.2 with runInNewContext: true\r\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\r\n context = __VUE_SSR_CONTEXT__;\r\n }\r\n // inject component styles\r\n if (style) {\r\n style.call(this, createInjectorSSR(context));\r\n }\r\n // register component module identifier for async chunk inference\r\n if (context && context._registeredComponents) {\r\n context._registeredComponents.add(moduleIdentifier);\r\n }\r\n };\r\n // used by ssr in case component is cached and beforeCreate\r\n // never gets called\r\n options._ssrRegister = hook;\r\n }\r\n else if (style) {\r\n hook = shadowMode\r\n ? function (context) {\r\n style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));\r\n }\r\n : function (context) {\r\n style.call(this, createInjector(context));\r\n };\r\n }\r\n if (hook) {\r\n if (options.functional) {\r\n // register for functional component in vue file\r\n const originalRender = options.render;\r\n options.render = function renderWithStyleInjection(h, context) {\r\n hook.call(context);\r\n return originalRender(h, context);\r\n };\r\n }\r\n else {\r\n // inject component registration as beforeCreate hook\r\n const existing = options.beforeCreate;\r\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\r\n }\r\n }\r\n return script;\r\n}\n\nconst isOldIE = typeof navigator !== 'undefined' &&\r\n /msie [6-9]\\\\b/.test(navigator.userAgent.toLowerCase());\r\nfunction createInjector(context) {\r\n return (id, style) => addStyle(id, style);\r\n}\r\nlet HEAD;\r\nconst styles = {};\r\nfunction addStyle(id, css) {\r\n const group = isOldIE ? css.media || 'default' : id;\r\n const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });\r\n if (!style.ids.has(id)) {\r\n style.ids.add(id);\r\n let code = css.source;\r\n if (css.map) {\r\n // https://developer.chrome.com/devtools/docs/javascript-debugging\r\n // this makes source maps inside style tags work properly in Chrome\r\n code += '\\n/*# sourceURL=' + css.map.sources[0] + ' */';\r\n // http://stackoverflow.com/a/26603875\r\n code +=\r\n '\\n/*# sourceMappingURL=data:application/json;base64,' +\r\n btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +\r\n ' */';\r\n }\r\n if (!style.element) {\r\n style.element = document.createElement('style');\r\n style.element.type = 'text/css';\r\n if (css.media)\r\n style.element.setAttribute('media', css.media);\r\n if (HEAD === undefined) {\r\n HEAD = document.head || document.getElementsByTagName('head')[0];\r\n }\r\n HEAD.appendChild(style.element);\r\n }\r\n if ('styleSheet' in style.element) {\r\n style.styles.push(code);\r\n style.element.styleSheet.cssText = style.styles\r\n .filter(Boolean)\r\n .join('\\n');\r\n }\r\n else {\r\n const index = style.ids.size - 1;\r\n const textNode = document.createTextNode(code);\r\n const nodes = style.element.childNodes;\r\n if (nodes[index])\r\n style.element.removeChild(nodes[index]);\r\n if (nodes.length)\r\n style.element.insertBefore(textNode, nodes[index]);\r\n else\r\n style.element.appendChild(textNode);\r\n }\r\n }\r\n}\n\n/* script */\nconst __vue_script__$3 = script$3;\n\n/* template */\nvar __vue_render__$3 = function () {\n var _vm = this;\n var _h = _vm.$createElement;\n var _c = _vm._self._c || _h;\n return _c('div', {\n staticClass: \"history-container\"\n }, [_vm._m(0), _vm._v(\" \"), _vm.history.length ? _c('time-line', {\n staticClass: \"mt-4 timeline_extended\"\n }, _vm._l(_vm.history, function (item, index) {\n return _c('time-line-item', {\n key: \"comment-\" + index,\n scopedSlots: _vm._u([{\n key: \"date\",\n fn: function () {\n return [_c('div', {\n staticClass: \"date-container\"\n }, [_c('span', {\n staticClass: \"d-block font-weight-bold\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm._f(\"date\")(item.date)) + \"\\n \")]), _vm._v(\" \"), _c('span', {\n staticClass: \"hour\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm._f(\"hour\")(item.date)) + \"\\n \")])])];\n },\n proxy: true\n }], null, true)\n }, [_vm._v(\" \"), _c('div', {\n staticClass: \"description-container\"\n }, [_c('span', {\n staticClass: \"user\"\n }, [_vm._v(\"\\n \" + _vm._s(item.userName || '-') + \"\\n \")]), _vm._v(\" \"), _c('p', {\n staticClass: \"content\"\n }, [_vm._v(\"\\n \" + _vm._s(item.comment) + \"\\n \")])])]);\n }), 1) : _c('custom-result-not-found', {\n attrs: {\n \"text\": \"La solicitud no cuenta con comentarios en sistema.\"\n }\n })], 1);\n};\nvar __vue_staticRenderFns__$3 = [function () {\n var _vm = this;\n var _h = _vm.$createElement;\n var _c = _vm._self._c || _h;\n return _c('div', {\n staticClass: \"title\"\n }, [_c('em', {\n staticClass: \"fa fa-history color-orange\"\n }), _vm._v(\" \"), _c('span', {\n staticClass: \"text\"\n }, [_vm._v(\"Historial de Comentarios\")])]);\n}];\n\n/* style */\nconst __vue_inject_styles__$3 = function (inject) {\n if (!inject) return;\n inject(\"data-v-45e47344_0\", {\n source: \".history-container[data-v-45e47344]{--dark-gray:#3f5b60;--gray-light:#707070;--gray:#727272;padding:1rem}.history-container .title[data-v-45e47344]{margin-bottom:.5rem}.history-container .title .text[data-v-45e47344]{margin-left:.4rem;font-weight:700;color:var(--dark-gray)}.history-container .timeline_extended[data-v-45e47344] .timeline__item .date-container{text-align:right;font-size:12px}.history-container .timeline_extended[data-v-45e47344] .timeline__item .date-container .hour{color:var(--gray-light)}.history-container .timeline_extended[data-v-45e47344] .timeline__item .timeline__content--inner{padding:1rem 1.5rem!important}.history-container .timeline_extended[data-v-45e47344] .timeline__item .timeline__content--inner .description-container{display:flex;flex-direction:column;font-size:14px}.history-container .timeline_extended[data-v-45e47344] .timeline__item .timeline__content--inner .description-container .user{color:var(--dark-gray)}.history-container .timeline_extended[data-v-45e47344] .timeline__item .timeline__content--inner .description-container .content{color:var(--gray);margin-bottom:0}\",\n map: undefined,\n media: undefined\n });\n};\n/* scoped */\nconst __vue_scope_id__$3 = \"data-v-45e47344\";\n/* module identifier */\nconst __vue_module_identifier__$3 = undefined;\n/* functional template */\nconst __vue_is_functional_template__$3 = false;\n/* style inject SSR */\n\n/* style inject shadow dom */\n\nconst __vue_component__$3 = /*#__PURE__*/normalizeComponent({\n render: __vue_render__$3,\n staticRenderFns: __vue_staticRenderFns__$3\n}, __vue_inject_styles__$3, __vue_script__$3, __vue_scope_id__$3, __vue_is_functional_template__$3, __vue_module_identifier__$3, false, createInjector, undefined, undefined);\nvar CommentsHistory = __vue_component__$3;\n\n//\nconst CALLOUT_MODE = Object.freeze({\n Additional_Info: 1,\n Comment_History: 2,\n Documents: 3\n});\nvar script$2 = {\n name: \"CaseRow\",\n components: {\n Callout,\n Balloon,\n DropDown,\n ActionButton,\n CustomInput,\n CustomFileInput,\n CustomTextArea,\n CommentsHistory,\n CustomResultNotFound: __vue_component__$5\n },\n props: {\n value: {\n type: Object,\n require: true\n },\n getCommentHistory: {\n type: Function,\n default: () => Promise.resolve({})\n },\n getCaseDocuments: {\n type: Function,\n default: () => Promise.resolve({})\n },\n downloadDocument: {\n type: Function,\n default: () => Promise.resolve({})\n }\n },\n data: () => ({\n caseStatus,\n mode: CALLOUT_MODE,\n commentsHistory: [],\n caseDocuments: null,\n additionalInfo: {\n document: {},\n comment: null\n },\n allowedFiles: \".jpg,.png,.docx,.doc,.xlsx,.xls,.pdf,.ppt,.pptx\",\n customFileExtensionErrorMsg: \"El formato no es válido.\"\n }),\n filters: {\n date\n },\n computed: {\n actionItems() {\n return [{\n label: \"Entrar\",\n icon: \"fas fa-file-import color-green\",\n border: \"bottom\",\n click: () => this.openCase()\n }, {\n label: \"Historial de Comentarios\",\n icon: \"fas fa-history color-green\",\n click: () => this.openCallout(CALLOUT_MODE.Comment_History)\n }, {\n label: \"Añadir Información Adicional\",\n icon: \"fas fa-file-plus color-green\",\n visible: this.value.statusId == caseStatus.PendienteInformacion,\n click: () => this.openCallout(CALLOUT_MODE.Additional_Info)\n }, {\n label: \"Ver Documentos\",\n icon: \"fas fa-file color-green\",\n visible: true,\n click: () => this.openCallout(CALLOUT_MODE.Documents)\n }, {\n label: \"Eliminar\",\n icon: \"fas fa-trash-alt color-red\",\n visible: this.value.statusId == caseStatus.Nuevo,\n click: () => this.deleteCase()\n }];\n },\n getColor() {\n return statusId => {\n switch (statusId) {\n case caseStatus.Nuevo:\n return \"yellow\";\n case caseStatus.Cancelado:\n case caseStatus.DevueltoAsistenciaMIPE:\n return \"brown\";\n case caseStatus.PendienteInformacion:\n return \"purple\";\n case caseStatus.Resuelto:\n return \"green-light\";\n case caseStatus.EnProceso:\n return \"yellow-star\";\n default:\n return \"yellow-star\";\n }\n };\n }\n },\n methods: {\n async getHistory() {\n const {\n data\n } = await this.getCommentHistory(this.value.caseNumber);\n this.commentsHistory = [...data];\n },\n async getDocuments() {\n const {\n data\n } = await this.getCaseDocuments(this.value.id);\n if (data.documents !== null) this.caseDocuments = [...data.documents];\n },\n deleteCase() {\n this.$emit(\"on-delete\", this.value);\n },\n openCase() {\n this.$emit(\"on-open\", this.value);\n },\n async openCallout(mode) {\n this.resetInfo();\n if (mode == CALLOUT_MODE.Comment_History) await this.getHistory();\n if (mode == CALLOUT_MODE.Documents) await this.getDocuments();\n this.$emit(\"on-add-comment\", mode);\n },\n onCancelClicked() {\n this.resetInfo();\n this.$emit(\"on-cancel\", this.value);\n },\n async onSaveClicked() {\n const isValid = await this.$refs.additionalInfoVO.validate();\n if (isValid) {\n const dto = {\n ...this.additionalInfo,\n itemId: this.value.id\n };\n this.$emit(\"on-save-additional-info\", dto);\n }\n },\n async onDownload(docId) {\n if (docId) {\n await this.downloadDocument(docId);\n } else {\n const {\n document\n } = this.additionalInfo;\n if (document) {\n const fr = new FileReader();\n fr.readAsDataURL(documentFile.content);\n const blob = new Blob([documentFile.content], {\n type: documentFile.contentType\n });\n const objectURL = window.URL.createObjectURL(blob);\n const link = document.createElement(\"a\");\n link.href = objectURL;\n link.download = documentFile.filename;\n document.body.appendChild(link);\n link.click();\n link.remove();\n }\n }\n },\n resetInfo() {\n this.additionalInfo = {\n document: {},\n comment: null\n };\n this.caseDocuments = null;\n }\n }\n};\n\n/* script */\nconst __vue_script__$2 = script$2;\n\n/* template */\nvar __vue_render__$2 = function () {\n var _vm = this;\n var _h = _vm.$createElement;\n var _c = _vm._self._c || _h;\n return _c('div', [_c('callout', {\n staticClass: \"ticket\",\n attrs: {\n \"border-color\": _vm.getColor(_vm.value.statusId),\n \"opened\": _vm.value.isOpen,\n \"controlled\": \"\"\n },\n on: {\n \"click:open\": _vm.onCancelClicked\n },\n scopedSlots: _vm._u([{\n key: \"edition\",\n fn: function () {\n return [_c('div', {\n staticClass: \"mt-1 px-2 py-2\"\n }, [_c('div', {\n staticClass: \"bg-white rounded\"\n }, [_vm.value.mode === _vm.mode.Additional_Info ? _c('validation-observer', {\n ref: \"additionalInfoVO\",\n staticClass: \"p-3\",\n attrs: {\n \"tag\": \"div\"\n }\n }, [_c('div', {\n staticClass: \"bold mb-2\"\n }, [_c('em', {\n staticClass: \"fa fa-file-search color-orange\"\n }), _vm._v(\"\\n Información Adicional de la Solicitud\\n \")]), _vm._v(\" \"), _c('validation-provider', {\n ref: \"additionalInfoCommentVP\",\n attrs: {\n \"rules\": \"required\"\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (ref) {\n var errors = ref.errors;\n return [_c('custom-text-area', {\n attrs: {\n \"id\": \"comment\",\n \"custom-error-msg\": \"El comentario es requerido.\",\n \"error\": errors[0],\n \"label\": \"Comentario:\",\n \"maxlength\": 3000,\n \"name\": \"managementComment\",\n \"show-char-count\": \"\",\n \"count-classes\": ['d-block text-right']\n },\n model: {\n value: _vm.additionalInfo.comment,\n callback: function ($$v) {\n _vm.$set(_vm.additionalInfo, \"comment\", $$v);\n },\n expression: \"additionalInfo.comment\"\n }\n })];\n }\n }], null, false, 3225185701)\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"row mt-2\"\n }, [_c('div', {\n staticClass: \"col-6\"\n }, [_c('div', {\n staticClass: \"font-weight-normal font-14 color-secondary-6\"\n }, [_vm._v(\"\\n Documento:\\n \")]), _vm._v(\" \"), _c('custom-file-input', {\n ref: \"fileUpload\",\n attrs: {\n \"accept\": _vm.allowedFiles,\n \"attachment-id\": _vm.additionalInfo.document.id,\n \"display-style\": \"normal\",\n \"label-position\": \"left\",\n \"max-size\": 10,\n \"name\": _vm.additionalInfo.document.name,\n \"onDownload\": _vm.onDownload\n },\n model: {\n value: _vm.additionalInfo.document.data,\n callback: function ($$v) {\n _vm.$set(_vm.additionalInfo.document, \"data\", $$v);\n },\n expression: \"additionalInfo.document.data\"\n }\n }), _vm._v(\" \"), _c('small', {\n staticClass: \"data-label allowed-files-message\"\n }, [_vm._v(\"El sistema le permitirá anejar la evidencia con los\\n siguientes formatos: .jpg, .png, .docx, .doc, .xlsx, .xls,\\n .pdf, .ppt .pptx.\")])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"col-6 text-right my-auto\"\n }, [_c('action-button', {\n attrs: {\n \"i\": \"fas fa-times-circle\",\n \"variant\": \"outline-danger mr-3\",\n \"text\": \"Cancelar\"\n },\n on: {\n \"click\": _vm.onCancelClicked\n }\n }), _vm._v(\" \"), _c('action-button', {\n attrs: {\n \"i\": \"fas fa-save\",\n \"variant\": \"success\",\n \"text\": \"Guardar\"\n },\n on: {\n \"click\": _vm.onSaveClicked\n }\n })], 1)])], 1) : _vm._e(), _vm._v(\" \"), _vm.value.mode === _vm.mode.Documents ? _c('div', {\n staticClass: \"p-3\"\n }, [_c('div', {\n staticClass: \"bold mb-2\"\n }, [_c('em', {\n staticClass: \"fa fa-file color-orange\"\n }), _vm._v(\"\\n Documentos de Solicitud\\n \")]), _vm._v(\" \"), _vm._l(_vm.caseDocuments, function (doc) {\n return _vm.caseDocuments.length ? _c('div', {\n staticClass: \"pl-3 my-2\"\n }, [_c('custom-file-input', {\n attrs: {\n \"accept\": _vm.allowedFiles,\n \"attachment-id\": doc.id,\n \"display-style\": \"normal\",\n \"label-position\": \"left\",\n \"disabled\": true,\n \"name\": doc.name,\n \"onDownload\": function () {\n return _vm.onDownload(doc.id);\n }\n },\n model: {\n value: doc,\n callback: function ($$v) {\n doc = $$v;\n },\n expression: \"doc\"\n }\n })], 1) : _vm._e();\n }), _vm._v(\" \"), _vm.caseDocuments === null ? _c('custom-result-not-found', {\n attrs: {\n \"text\": \"La solicitud no cuenta con documentos en sistema.\"\n }\n }) : _vm._e()], 2) : _vm.value.mode === _vm.mode.Comment_History ? _c('comments-history', {\n attrs: {\n \"history\": _vm.commentsHistory\n }\n }) : _vm._e()], 1)])];\n },\n proxy: true\n }])\n }, [_c('div', {\n staticClass: \"row mt-2 mx-0\"\n }, [_c('div', {\n staticClass: \"col-12 col-md-3\"\n }, [_c('balloon', {\n staticClass: \"mt-2 font-weight-normal font-16 d-flex justify-content-center align-items-center w-90 ml-3 mb-3 font-weight-bold\",\n attrs: {\n \"text\": _vm.value.statusName,\n \"color\": \"font-weight-bold\",\n \"background-color\": \"bg-\" + _vm.getColor(_vm.value.statusId)\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"col-12 col-md mb-3 mb-md-0\"\n }, [_c('div', {\n staticClass: \"color-secondary-6 font-14 font-weight-normal\"\n }, [_vm._v(\"\\n Número de Caso:\\n \")]), _vm._v(\" \"), _c('span', {\n staticClass: \"color-black font-16\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.value.caseNumber) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"col-12 col-md mb-3 mb-md-0\"\n }, [_c('div', {\n staticClass: \"color-secondary-6 font-14 font-weight-normal\"\n }, [_vm._v(\"\\n Aplicación:\\n \")]), _vm._v(\" \"), _c('span', {\n staticClass: \"color-black font-16\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.value.application) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"col-12 col-md mb-3 mb-md-0\"\n }, [_c('div', {\n staticClass: \"color-secondary-6 font-14 font-weight-normal\"\n }, [_vm._v(\"Fecha:\")]), _vm._v(\" \"), _c('span', {\n staticClass: \"color-black font-16\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm._f(\"date\")(_vm.value.createdDate)) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"col-12 col-md align-self-center text-center\"\n }, [_c('drop-down', {\n attrs: {\n \"items\": _vm.actionItems\n }\n })], 1)])]), _vm._v(\" \"), _vm.value.statusId == _vm.caseStatus.PendienteInformacion && _vm.value.comment ? _c('div', {\n staticClass: \"comment-container\"\n }, [_c('em', {\n staticClass: \"fal fa-exclamation-circle\"\n }), _vm._v(\" \"), _c('span', {\n staticClass: \"font-weight-bold mx-1\"\n }, [_vm._v(\"\\n Comentario para Información Adicional:\\n \")]), _vm._v(\" \"), _c('span', {\n staticClass: \"color-gray-6\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.value.comment) + \"\\n \")])]) : _vm._e()], 1);\n};\nvar __vue_staticRenderFns__$2 = [];\n\n/* style */\nconst __vue_inject_styles__$2 = function (inject) {\n if (!inject) return;\n inject(\"data-v-4fcd4238_0\", {\n source: \"[data-v-4fcd4238] .ticket .border-left--color-purple{border-left-color:#ddb3d7!important}[data-v-4fcd4238] .ticket .border-top--color-purple{border-top-color:#ddb3d7!important}.bg-purple[data-v-4fcd4238]{background:#ddb3d7!important}.comment-container[data-v-4fcd4238]{background:#fff5db;border-radius:.25rem;font-size:.875rem;padding:.4rem 1rem;margin-top:.25rem}.comment-container em[data-v-4fcd4238]{color:#fcb43c}.allowed-files-message[data-v-4fcd4238]{font-size:.75rem!important}\",\n map: undefined,\n media: undefined\n });\n};\n/* scoped */\nconst __vue_scope_id__$2 = \"data-v-4fcd4238\";\n/* module identifier */\nconst __vue_module_identifier__$2 = undefined;\n/* functional template */\nconst __vue_is_functional_template__$2 = false;\n/* style inject SSR */\n\n/* style inject shadow dom */\n\nconst __vue_component__$2 = /*#__PURE__*/normalizeComponent({\n render: __vue_render__$2,\n staticRenderFns: __vue_staticRenderFns__$2\n}, __vue_inject_styles__$2, __vue_script__$2, __vue_scope_id__$2, __vue_is_functional_template__$2, __vue_module_identifier__$2, false, createInjector, undefined, undefined);\nvar CaseRow = __vue_component__$2;\n\n//\nconst TICKET_CREATION_DEFAULT_ROUTE_NAME = \"CreateTicket\";\nvar script$1 = {\n name: \"CaseList\",\n mixins: [alertMixin],\n components: {\n CustomResultNotFound: __vue_component__$5,\n CustomSeparator,\n FilterManager,\n PageHeader,\n Pagination,\n CaseRow\n },\n props: {\n defaultPageSize: {\n type: Number,\n default: () => 20\n },\n downloadDocument: {\n type: Function,\n default: () => Promise.resolve({})\n },\n getUserCases: {\n type: Function,\n default: () => Promise.resolve({})\n },\n getCommentHistory: {\n type: Function,\n default: () => Promise.resolve({})\n },\n getStatus: {\n type: Function,\n default: () => Promise.resolve({})\n },\n deleteCase: {\n type: Function,\n default: () => Promise.resolve({})\n },\n getUserCase: {\n type: Function,\n default: () => Promise.resolve({})\n },\n getCaseDocuments: {\n type: Function,\n default: () => Promise.resolve({})\n },\n saveAdditionalInfo: {\n type: Function,\n default: () => Promise.resolve({})\n },\n ticketCreationRoute: {\n type: String,\n default: () => TICKET_CREATION_DEFAULT_ROUTE_NAME\n },\n statusId: {\n type: Number,\n default: () => null\n },\n hasBackAction: {\n type: Boolean,\n default: false\n }\n },\n data: () => ({\n pagination: {\n currentPage: 1,\n totalItemCount: 0,\n pageCount: 1,\n count: 0\n },\n itemList: [],\n filters: {},\n filterOptions: {\n status: []\n }\n }),\n computed: {\n pageConfig() {\n return {\n icon: \"fas fa-user-headset\",\n title: \"Mesa de Apoyo\",\n routes: []\n };\n },\n pageActionConfig() {\n let actions = [];\n if (this.hasBackAction) {\n actions.push({\n text: \"Regresar\",\n icon: \"fas fa-arrow-circle-left fa-fw\",\n variant: \"outline-success\",\n click: () => this.$router.push(\"/\")\n });\n }\n actions.push({\n text: \"Crear Solicitud\",\n icon: \"fas fa-file-plus\",\n variant: \"success\",\n click: () => this.$router.push({\n name: this.ticketCreationRoute\n })\n });\n return actions;\n },\n filtersConfig() {\n return [{\n name: \"dateFrom\",\n label: \"Fecha Desde:\",\n component: \"CustomDatePicker\",\n placeholder: \"DD/MM/YYYY\",\n classContainer: \"w-100\",\n class: \"col-12 col-md-3\",\n maxDate: new Date()\n }, {\n name: \"dateTo\",\n label: \"Fecha Hasta:\",\n component: \"CustomDatePicker\",\n placeholder: \"DD/MM/YYYY\",\n classContainer: \"w-100\",\n class: \"col-12 col-md-3\",\n minDate: this.filters.dateFrom ? moment(this.filters.dateFrom).add(-1, \"days\").toDate() : null,\n maxDate: moment(new Date()).toDate()\n }, {\n name: \"status\",\n label: \"Estatus:\",\n component: \"CustomDropDown\",\n options: this.filterOptions.status,\n placeholder: \"Seleccione\",\n fieldName: \"name\",\n fieldKey: \"id\",\n clearable: true,\n class: \"col-12 col-md-3\"\n }, {\n name: \"caseNumber\",\n label: \"Número de Caso:\",\n component: \"CustomInput\",\n placeholder: \"Escriba Número de Caso\",\n class: \"col-12 col-md-3\"\n }];\n }\n },\n async created() {\n await this.initOptions().then(() => {\n this.onSearchHandler(1);\n });\n },\n methods: {\n async goToPageHandler(page) {\n await this.onSearchHandler(page);\n },\n async initOptions() {\n const {\n data\n } = await this.getStatus();\n this.filterOptions.status = data;\n if (this.statusId) {\n var status = this.filterOptions.status.find(x => x.id == this.statusId);\n this.filters.status = status;\n }\n },\n async onSearchHandler(page) {\n var _model$status;\n this.pagination.currentPage = page;\n const model = {\n ...this.filters\n };\n const params = {\n dateFrom: model.dateFrom,\n dateTo: model.dateTo,\n statusId: (_model$status = model.status) === null || _model$status === void 0 ? void 0 : _model$status.id,\n caseNumber: model.caseNumber\n };\n const {\n data: res\n } = await this.getUserCases(params, this.pagination.currentPage, this.defaultPageSize);\n this.itemList = [...res.data];\n this.pagination = {\n currentPage: res.currentPage,\n count: res.count,\n pageCount: res.pageCount,\n totalItemCount: res.totalItemCount\n };\n },\n openCallout(mode, item) {\n this.itemList = this.itemList.map(x => {\n const isOpen = x.id === item.id;\n return {\n ...x,\n isOpen,\n mode: isOpen ? mode : null\n };\n });\n },\n async onDeletehandler(item) {\n const answer = await this.ShowCancelModal(\"Atención\", `¿Está seguro que desea eliminar la solicitud ${item.caseNumber}?`, \"Sí\", \"No\");\n if (!answer) return;\n await this.deleteCase(item.id).then(async () => {\n await this.onSearchHandler(1);\n this.ShowToast(\"Proceso exitoso\", \"La solicitud ha sido eliminada exitosamente.\", \"success\");\n }).catch(error => {\n this.ShowToast(\"\", error.response.data.message, \"error\");\n });\n },\n onOpenHandler(item) {\n this.$emit(\"on-open-case\", item);\n },\n onCancelAddCommentHandler(item) {\n const item_ = this.itemList.find(x => x.id == item.id);\n item_.isOpen = false;\n },\n async onSaveAdditionalInfoHandler(dto) {\n const formData = serialize(dto, {\n indices: true\n });\n if (dto.document && dto.document.data) {\n formData.append(`file`, dto.document.data);\n }\n await this.saveAdditionalInfo(formData).then(async () => {\n const item_ = this.itemList.find(x => x.id == dto.itemId);\n item_.isOpen = false;\n this.ShowToast(\"Proceso exitoso\", \"La información ha sido guardada exitosamente.\", \"success\");\n await this.onSearchHandler(this.pagination.currentPage);\n }).catch(error => {\n this.ShowToast(\"\", error.response.data.message, \"error\");\n });\n }\n }\n};\n\n/* script */\nconst __vue_script__$1 = script$1;\n\n/* template */\nvar __vue_render__$1 = function () {\n var _vm = this;\n var _h = _vm.$createElement;\n var _c = _vm._self._c || _h;\n return _c('div', [_c('page-header', {\n staticClass: \"page-header__extended\",\n attrs: {\n \"page\": _vm.pageConfig,\n \"actions\": _vm.pageActionConfig\n }\n }), _vm._v(\" \"), _c('filter-manager', {\n staticClass: \"rounded\",\n attrs: {\n \"search-container-class\": \"align-self-end\",\n \"display-advanced\": false,\n \"filters\": _vm.filtersConfig\n },\n on: {\n \"dateFrom\": function ($event) {\n _vm.filters.dateTo = null;\n },\n \"search\": function ($event) {\n return _vm.onSearchHandler(1);\n }\n },\n model: {\n value: _vm.filters,\n callback: function ($$v) {\n _vm.filters = $$v;\n },\n expression: \"filters\"\n }\n }), _vm._v(\" \"), _c('custom-separator', {\n staticClass: \"my-4\",\n attrs: {\n \"text\": \"Resultado de Solicitudes\"\n }\n }), _vm._v(\" \"), _vm.itemList.length == 0 ? _c('custom-result-not-found') : [_vm._l(_vm.itemList, function (item, index) {\n return _c('div', {\n key: \"case-row-\" + index\n }, [_c('case-row', {\n staticClass: \"mb-3\",\n attrs: {\n \"value\": item,\n \"get-comment-history\": _vm.getCommentHistory,\n \"get-case-documents\": _vm.getCaseDocuments,\n \"download-document\": _vm.downloadDocument\n },\n on: {\n \"on-open\": function ($event) {\n return _vm.onOpenHandler(item);\n },\n \"on-delete\": function ($event) {\n return _vm.onDeletehandler(item);\n },\n \"on-add-comment\": function ($event) {\n return _vm.openCallout($event, item);\n },\n \"on-cancel\": function ($event) {\n return _vm.onCancelAddCommentHandler(item);\n },\n \"on-save-additional-info\": _vm.onSaveAdditionalInfoHandler\n }\n })], 1);\n }), _vm._v(\" \"), _vm.pagination.totalItemCount > _vm.defaultPageSize ? _c('pagination', {\n attrs: {\n \"data\": _vm.pagination,\n \"show-text\": \"\"\n },\n on: {\n \"pagination-go-page\": _vm.goToPageHandler\n }\n }) : _vm._e()]], 2);\n};\nvar __vue_staticRenderFns__$1 = [];\n\n/* style */\nconst __vue_inject_styles__$1 = function (inject) {\n if (!inject) return;\n inject(\"data-v-65db01a4_0\", {\n source: \"[data-v-65db01a4] .page-header__extended .nav-text{display:none}\",\n map: undefined,\n media: undefined\n });\n};\n/* scoped */\nconst __vue_scope_id__$1 = \"data-v-65db01a4\";\n/* module identifier */\nconst __vue_module_identifier__$1 = undefined;\n/* functional template */\nconst __vue_is_functional_template__$1 = false;\n/* style inject SSR */\n\n/* style inject shadow dom */\n\nconst __vue_component__$1 = /*#__PURE__*/normalizeComponent({\n render: __vue_render__$1,\n staticRenderFns: __vue_staticRenderFns__$1\n}, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, createInjector, undefined, undefined);\nvar TicketSearchComponent = __vue_component__$1;\n\nvar application = Object.freeze({\n PROVEEDOR: 3,\n MIPE: 1,\n QUERELLA: 2,\n REMEDIOPROVISIONAL: 4,\n PADRES: 5\n});\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nconst referenceTypes = Object.freeze({\n NumeroDeSIE: 1,\n NumeroPEI: 3,\n NumeroContratoRP: 11,\n NumeroDeCITA: 12,\n NumeroDeREFERIDO: 31,\n NumeroDeFACTURA: 4,\n Mes: 23,\n NombreEspecialista: 21,\n Disciplina: 33,\n Servicio: 52,\n numeroDeSolicitud: 10,\n NumeroQuerella: 1042,\n NumeroConsulta: 1043,\n DisciplinaEvaluacion: 1044\n});\nconst screens = Object.freeze({\n FinalizacionPeriodo: 66,\n HistorialFactura: 67,\n ManejoCitas: 69,\n ManejoReferidos: 81,\n ReferidosAsistenciaTecnologica: 10,\n VigenciaReferidos: 89,\n DiscucionDeEvaluaciones: 12,\n Evaluaciones: 15,\n SolicitudEvaluacionAdicional: 13,\n ManejoDeCitas: 18,\n ManejoDeCoordinacionEvaluacion: 18,\n HistorialDeCitas: 29,\n SolicitudDeHorasCompensatorias: 88,\n SolicitudServiciosAsistenciaTecnologica: 129,\n CuestionarioPEIControversia: 296,\n ImprimirReportePEIoPS: 297,\n ImprimirReporteReferidos: 298,\n HistorialComentarios: 299,\n AñadirComentario: 300,\n VerDocumento: 301,\n Historial_Terapias: 302,\n DirectorioProveedores: 303,\n CrearNuevaSolicitud: 304,\n Entrar: 305,\n ImprimirSolicitud: 306,\n ImprimirCartaAprobacion: 307,\n VerHistorialContratos: 308,\n Historial_RegistroVisitas: 314,\n // screens from provider\n Especialistas: 70,\n CifrasDeCuenta: 83,\n EspaciosDisponibles: 68,\n HallazgosUMESR: 125,\n LugaresDeServicio: 35,\n ManejoDeDispensas: 117,\n Practicantes_E_Internos: 86,\n PropuestaDeServicios: 135,\n Proveedores: 32\n});\nconst modules = Object.freeze({\n PEI: 6,\n Estudiante: 2,\n RecursosHumanos: 7,\n PEI_Padres: 297,\n Evaluaciones: 298,\n HistorialTerapias: 299,\n SolicitudRP: 300,\n HistorialContrato: 301,\n ReferidosEvaluaciones: 302,\n HistorialQuerellas: 303,\n HistorialRegistroVisitas: 304,\n AsistenciaBECA: 305,\n HistorialConsultaUbicacion: 306\n});\nvar script = {\n name: \"ManageTicket\",\n components: {\n PageHeader,\n SectionTitle,\n CustomTextArea,\n CustomFileInput,\n CustomDropDown,\n ActionButton,\n CustomInput,\n CustomChipsGroup,\n Error,\n Separator: CustomSeparator,\n IconView\n },\n mixins: [alertMixin],\n props: {\n ticketData: {\n type: Object,\n default: () => {}\n },\n modules: {\n type: Array,\n required: true\n },\n referenceNumberTypes: {\n type: Array,\n required: true\n },\n readOnly: {\n type: Boolean,\n default: false\n },\n onDownload: {\n type: Function,\n default: () => Promise.resolve({})\n },\n user: {\n type: Object,\n default: () => {}\n },\n saveTicket: {\n type: Function,\n default: () => Promise.resolve({})\n },\n validateReferenceNumber: {\n type: Function,\n default: () => Promise.resolve({})\n },\n application: {\n type: [String, Number],\n default: () => null\n },\n studentsList: {\n type: Array,\n default: () => []\n }\n },\n data() {\n return {\n caseStatus,\n ticket: {\n itemId: null,\n description: null,\n documents: [{\n data: null,\n id: null,\n name: null\n }],\n module: null,\n screen: null,\n referenceNumberTypes: [],\n email: null,\n telephone1: null,\n telephone1Extension: null,\n telephone2: null,\n telephone2Extension: null,\n statusId: null,\n workflowId: null\n },\n hasNotReferenceNumberType: false,\n hasReferencesValidationErrors: false,\n referenceValueExists: false,\n newReferenceNumberType: {\n id: null,\n referenceType: null,\n referenceValue: null\n },\n header: {\n hasRoute: false,\n page: {\n icon: \"fas fa-user-circle\",\n title: \"Mesa de Apoyo\",\n routes: [\"Mesa de Apoyo\"]\n }\n },\n allowedFiles: \".jpg,.png,.docx,.doc,.xlsx,.xls,.pdf,.ppt,.pptx\",\n customFileExtensionErrorMsg: \"El formato no es válido.\"\n };\n },\n computed: {\n documents() {\n return this.ticket.documents.map(x => {\n if (!x.tempId && x.id) x.tempId = x.id;\n return x;\n });\n },\n valueValidations() {\n if (this.valueLength != null) {\n return {\n required: true,\n length: this.valueLength\n };\n }\n return {\n required: true\n };\n },\n valueMaskType() {\n this.newReferenceNumberType.referenceValue = null;\n if (this.newReferenceNumberType.referenceType == undefined) {\n return null;\n }\n switch (this.newReferenceNumberType.referenceType.id) {\n case referenceTypes.NumeroDeSIE:\n return \"SieOrSSN\";\n case referenceTypes.NumeroDeCITA:\n return \"AppointmentNumber\";\n case referenceTypes.NumeroDeREFERIDO:\n return \"ReferralNumber\";\n case referenceTypes.NumeroDeFACTURA:\n return \"BillNumber\";\n default:\n return null;\n }\n },\n valueLength() {\n this.newReferenceNumberType.referenceValue = null;\n if (this.newReferenceNumberType.referenceType == undefined) {\n return null;\n }\n switch (this.newReferenceNumberType.referenceType.id) {\n case referenceTypes.NumeroDeSIE:\n return 8;\n case referenceTypes.NumeroDeCITA:\n return 11;\n case referenceTypes.NumeroDeREFERIDO:\n return 14;\n case referenceTypes.NumeroDeFACTURA:\n return 15;\n default:\n return null;\n }\n },\n canContinueValidation() {\n return !this.ticket.screen || !this.ticket.module;\n },\n peiNumberIsRequired() {\n if (this.canContinueValidation) {\n return;\n }\n return this.ticket.module.id == modules.PEI_Padres && !this.ticket.referenceNumberTypes.some(c => c.referenceType.id == referenceTypes.NumeroPEI);\n },\n contractNumberRPRequired() {\n if (this.canContinueValidation) {\n return;\n }\n return this.ticket.module.id == modules.HistorialContrato && !this.ticket.referenceNumberTypes.some(c => c.referenceType.id == referenceTypes.NumeroContratoRP);\n },\n serviceRequired() {\n if (this.canContinueValidation) {\n return;\n }\n return this.ticket.module.id == modules.AsistenciaBECA && !this.ticket.referenceNumberTypes.some(c => c.referenceType.id == referenceTypes.Servicio);\n },\n consultaNumberRequired() {\n if (this.canContinueValidation) {\n return;\n }\n return this.ticket.module.id == modules.HistorialConsultaUbicacion && !this.ticket.referenceNumberTypes.some(c => c.referenceType.id == referenceTypes.NumeroConsulta);\n },\n sieIsrequired() {\n if (this.canContinueValidation) {\n return;\n }\n return ![screens.DiscucionDeEvaluaciones, screens.Evaluaciones, screens.SolicitudEvaluacionAdicional, screens.ManejoDeCitas, screens.ManejoDeCoordinacionEvaluacion, screens.HistorialDeCitas, screens.ManejoReferidos, screens.ReferidosAsistenciaTecnologica, screens.SolicitudDeHorasCompensatorias, screens.SolicitudServiciosAsistenciaTecnologica, screens.DirectorioProveedores, screens.CrearNuevaSolicitud, screens.Entrar, screens.ImprimirSolicitud, screens.ImprimirCartaAprobacion, screens.VerHistorialContratos,\n // screens from provider\n screens.Especialistas, screens.CifrasDeCuenta, screens.EspaciosDisponibles, screens.HallazgosUMESR, screens.LugaresDeServicio, screens.ManejoDeDispensas, screens.Practicantes_E_Internos, screens.PropuestaDeServicios, screens.Proveedores].includes(this.ticket.screen.id) && this.ticket.module.id != modules.HistorialContrato && this.ticket.module.id != modules.HistorialQuerellas && this.ticket.module.id != modules.HistorialRegistroVisitas && this.ticket.module.id != modules.HistorialConsultaUbicacion && !this.ticket.referenceNumberTypes.some(c => c.referenceType.id == referenceTypes.NumeroDeSIE);\n },\n isDisciplineRequired() {\n if (this.canContinueValidation) {\n return;\n }\n return [screens.DiscucionDeEvaluaciones, screens.Evaluaciones, screens.SolicitudEvaluacionAdicional, screens.VerDocumento].includes(this.ticket.screen.id) && (this.ticket.module.id === modules.Estudiante || this.ticket.module.id === modules.Evaluaciones) && !this.ticket.referenceNumberTypes.some(c => c.referenceType.id == referenceTypes.Disciplina);\n },\n isEvaluationDisciplineRequired() {\n if (this.canContinueValidation) {\n return;\n }\n return this.ticket.module.id == modules.ReferidosEvaluaciones && !this.ticket.referenceNumberTypes.some(c => c.referenceType.id == referenceTypes.DisciplinaEvaluacion);\n },\n isQuerellaNumberRequired() {\n if (this.canContinueValidation) {\n return;\n }\n return this.ticket.module.id == modules.HistorialQuerellas && !this.ticket.referenceNumberTypes.some(c => c.referenceType.id == referenceTypes.NumeroQuerella);\n },\n isNumberDateRequired() {\n if (this.canContinueValidation) {\n return;\n }\n return [screens.ManejoDeCitas, screens.ManejoDeCoordinacionEvaluacion, screens.HistorialDeCitas].includes(this.ticket.screen.id) && this.ticket.module.id === modules.Estudiante && !this.ticket.referenceNumberTypes.some(c => c.referenceType.id == referenceTypes.NumeroDeCITA);\n },\n isNumberRefRequired() {\n if (this.canContinueValidation) {\n return;\n }\n return [screens.ManejoReferidos, screens.ReferidosAsistenciaTecnologica, screens.Historial_Terapias, screens.Historial_RegistroVisitas].includes(this.ticket.screen.id) && (this.ticket.module.id === modules.PEI || this.ticket.module.id === modules.HistorialTerapias || this.ticket.module.id === modules.HistorialRegistroVisitas) && !this.ticket.referenceNumberTypes.some(c => c.referenceType.id == referenceTypes.NumeroDeREFERIDO);\n },\n isNumberRequestRequired() {\n if (this.canContinueValidation) {\n return;\n }\n return [screens.SolicitudDeHorasCompensatorias, screens.SolicitudServiciosAsistenciaTecnologica, screens.DirectorioProveedores, screens.CrearNuevaSolicitud, screens.Entrar, screens.ImprimirSolicitud, screens.ImprimirCartaAprobacion, screens.VerHistorialContratos].includes(this.ticket.screen.id) && (this.ticket.module.id === modules.PEI || this.ticket.module.id === modules.SolicitudRP) && !this.ticket.referenceNumberTypes.some(c => c.referenceType.id == referenceTypes.numeroDeSolicitud);\n },\n validateTypeRefMessage() {\n if (this.isNumberRequestRequired) {\n return \"El número de solicitud es requerido.\";\n }\n if (this.isNumberRefRequired) {\n return \"El número de referido es requerido.\";\n }\n if (this.isNumberDateRequired) {\n return \"El número de cita es requerido.\";\n }\n if (this.isDisciplineRequired) {\n return \"La disciplina es requerida.\";\n }\n if (this.isEvaluationDisciplineRequired) {\n return \"La disciplina de evaluación es requerida.\";\n }\n if (this.isQuerellaNumberRequired) {\n return \"El Número de Querella es requerido.\";\n }\n if (this.sieIsrequired) {\n return \"El número de SIE es requerido.\";\n }\n if (this.peiNumberIsRequired) {\n return \"El número de PEI es requerido.\";\n }\n if (this.contractNumberRPRequired) {\n return \"El número de Contrato es requerido.\";\n }\n if (this.serviceRequired) {\n return \"El servicio es requerido.\";\n }\n if (this.consultaNumberRequired) {\n return \"El número de Consulta es requerido.\";\n }\n if (this.hasNotReferenceNumberType) {\n return \"El número de referencia es requerido.\";\n } else return \"\";\n },\n screens() {\n var _this$modules$find;\n return ((_this$modules$find = this.modules.find(module => {\n var _this$ticket$module;\n return module.id === ((_this$ticket$module = this.ticket.module) === null || _this$ticket$module === void 0 ? void 0 : _this$ticket$module.id);\n })) === null || _this$modules$find === void 0 ? void 0 : _this$modules$find.screens) || [];\n },\n headerActions() {\n return [{\n text: \"Regresar\",\n icon: \"fas fa-arrow-circle-left\",\n variant: \"outline-success\",\n click: this.goBack\n }, {\n text: \"Someter\",\n icon: \"fas fa-flag\",\n variant: \"success\",\n click: this.onSaveClicked,\n visible: !this.isReadOnly\n }];\n },\n isReadOnly() {\n return this.readOnly || this.ticket.itemId !== null;\n },\n flatReferenceNumberTypes() {\n return this.ticket.referenceNumberTypes.map(r => {\n return {\n id: r.id,\n referenceTypeId: r.referenceType.id,\n referenceTypeName: r.referenceType.name,\n referenceValue: r.referenceValue\n };\n });\n },\n hasDocument() {\n return this.ticketData.documents.length > 0;\n },\n showSieDD() {\n var _this$newReferenceNum;\n return ((_this$newReferenceNum = this.newReferenceNumberType.referenceType) === null || _this$newReferenceNum === void 0 ? void 0 : _this$newReferenceNum.id) == referenceTypes.NumeroDeSIE && this.application == application.PADRES;\n },\n studentsListFiltered() {\n return this.studentsList.filter(c => !this.ticket.referenceNumberTypes.some(x => x.referenceValue == c.id));\n }\n },\n watch: {\n documents: {\n immediate: true,\n handler() {\n if (this.documents.length === 0) return;\n for (let index = 0; index < this.documents.length; index++) {\n const document = this.documents[index];\n const fileUploadRef = this.$refs[`fileUpload-${document.tempId}`];\n if (fileUploadRef) fileUploadRef.fileLabel = document.name;\n }\n }\n },\n ticketData: {\n immediate: true,\n handler(value) {\n this.ticket = {\n ...value\n };\n if (this.ticket.email == null) {\n this.ticket.email = this.user.email;\n }\n }\n },\n \"ticketData.userContactInformation\": {\n immediate: true,\n handler(value) {\n if (value == null) {\n return;\n }\n this.ticket.userContactInformation = {\n ...value\n };\n this.ticket.email = this.ticket.userContactInformation.email ? this.ticket.userContactInformation.email : this.user.email;\n if (this.ticket.telephone1 == null) {\n this.ticket.telephone1 = this.ticket.userContactInformation.telephone1;\n this.ticket.telephone1Extension = this.ticket.userContactInformation.telephone1Ext;\n }\n if (this.ticket.telephone2 == null) {\n this.ticket.telephone2 = this.ticket.userContactInformation.telephone2;\n this.ticket.telephone2Extension = this.ticket.userContactInformation.telephone2Ext;\n }\n }\n },\n \"ticket.module\": {\n immediate: true,\n handler(value) {\n this.ticket.module = value;\n }\n }\n },\n methods: {\n addDocumentRow() {\n this.ticket.documents.push({\n tempId: Number(new Date()),\n id: null,\n data: null,\n name: null\n });\n },\n removeDocumentRow(tempId) {\n if (this.ticket.documents.length <= 1) return;\n const index = this.documents.findIndex(x => x.tempId === tempId);\n if (index !== -1) this.ticket.documents.splice(index, 1);\n },\n async onSaveClicked() {\n var _item$module, _item$screen, _item$screen2, _item$screen3, _item$screen4, _item$screen5, _item$screen6;\n const valid = await this.canSaveTicket();\n if (!valid) return;\n const item = {\n ...this.ticket\n };\n if (this.screens.length && (_item$module = item.module) !== null && _item$module !== void 0 && _item$module.id && !((_item$screen = item.screen) !== null && _item$screen !== void 0 && _item$screen.id)) {\n this.ShowToast(\"Error\", \"La pantalla es requerida.\", \"error\");\n return false;\n }\n //Finalización de Periodo\n\n if (((_item$screen2 = item.screen) === null || _item$screen2 === void 0 ? void 0 : _item$screen2.id) == screens.FinalizacionPeriodo && (item.referenceNumberTypes.filter(x => x.referenceType.id == referenceTypes.Mes).length == 0 || item.referenceNumberTypes.filter(x => x.referenceType.id == referenceTypes.NombreEspecialista).length == 0)) {\n this.ShowToast(\"Error\", \"Para Someter el Caso debe contar con el Mes y Nombre de Especialista.\", \"error\");\n return false;\n }\n\n //Historial de Facturas\n if (((_item$screen3 = item.screen) === null || _item$screen3 === void 0 ? void 0 : _item$screen3.id) == screens.HistorialFactura && item.referenceNumberTypes.filter(x => x.referenceType.id == referenceTypes.NumeroDeFACTURA).length == 0) {\n this.ShowToast(\"Error\", \"Para Someter el Caso debe contar al menos con el Número de Factura.\", \"error\");\n return false;\n }\n\n //Manejo de Citas\n if (((_item$screen4 = item.screen) === null || _item$screen4 === void 0 ? void 0 : _item$screen4.id) == screens.ManejoCitas && item.referenceNumberTypes.filter(x => x.referenceType.id == referenceTypes.NumeroDeCITA).length == 0) {\n this.ShowToast(\"Error\", \"Para Someter el Caso debe contar con el Número de Cita.\", \"error\");\n return false;\n }\n\n //Manejo de Referidos\n if (((_item$screen5 = item.screen) === null || _item$screen5 === void 0 ? void 0 : _item$screen5.id) == screens.ManejoReferidos && item.referenceNumberTypes.filter(x => x.referenceType.id == referenceTypes.NumeroDeREFERIDO).length == 0) {\n this.ShowToast(\"Error\", \"Para Someter el Caso debe contar con el Número de Referido.\", \"error\");\n return false;\n }\n\n //Vigencia de Referidos\n if (((_item$screen6 = item.screen) === null || _item$screen6 === void 0 ? void 0 : _item$screen6.id) == screens.VigenciaReferidos && (item.referenceNumberTypes.filter(x => x.referenceType.id == referenceTypes.Disciplina).length == 0 || item.referenceNumberTypes.filter(x => x.referenceType.id == referenceTypes.NumeroDeSIE).length == 0)) {\n this.ShowToast(\"Error\", \"Para Someter el Caso debe contar con la Disciplina y Número de SIE.\", \"error\");\n return false;\n }\n const params = {\n files: item.documents.map(x => x.data),\n description: item.description,\n module: item.module,\n screen: item.screen,\n referenceNumbers: item.referenceNumberTypes.map(x => ({\n referenceType: {\n id: x.referenceType.id,\n name: x.referenceType.name\n },\n referenceValue: x.referenceValue\n })),\n email: item.email,\n telephone1: item.telephone1,\n telephone1Ext: item.telephone1Extension,\n telephone2: item.telephone2,\n telephone2Ext: item.telephone2Extension,\n applicationId: this.application\n };\n await this.saveTicket(params).then(() => {\n this.ShowToast(\"Proceso exitoso.\", \"La solicitud ha sido creada exitosamente.\", \"success\");\n this.goBack();\n }).catch(error => {\n var _error$response, _error$response$data;\n this.ShowToast(\"Error\", (error === null || error === void 0 ? void 0 : (_error$response = error.response) === null || _error$response === void 0 ? void 0 : (_error$response$data = _error$response.data) === null || _error$response$data === void 0 ? void 0 : _error$response$data.message) || \"Ocurrió un error al guardar la solicitud.\", \"error\");\n });\n },\n async onReferenceNumberTypeAdded() {\n this.hasNotReferenceNumberType = false;\n const isValid = await this.$refs.refReferenceNumberAdded.validate();\n if (this.showSieDD) {\n var _this$newReferenceNum2;\n this.newReferenceNumberType.referenceValue = (_this$newReferenceNum2 = this.newReferenceNumberType.student) === null || _this$newReferenceNum2 === void 0 ? void 0 : _this$newReferenceNum2.id;\n }\n if (isValid) {\n var {\n data\n } = await this.validateReferenceNumber(this.newReferenceNumberType.referenceValue, this.newReferenceNumberType.referenceType.id);\n if (!data) {\n this.ShowToast(\"Atención\", `El ${this.newReferenceNumberType.referenceType.name} ingresado no existe.`, \"error\");\n return;\n }\n const array = this.ticket.referenceNumberTypes;\n this.referenceValueExists = array.some(item => item.referenceType.id == this.newReferenceNumberType.referenceType.id && item.referenceType.name == this.newReferenceNumberType.referenceType.name && item.referenceValue == this.newReferenceNumberType.referenceValue);\n if (!this.referenceValueExists) {\n this.ticket.referenceNumberTypes.push(this.newReferenceNumberType);\n this.clearNewReferenceNumberType();\n }\n await this.$refs.refReferenceNumberAdded.reset();\n }\n },\n onReferenceNumberTypeDeleted(reference) {\n const array = this.ticket.referenceNumberTypes;\n this.ticket.referenceNumberTypes = array.filter(item => item.referenceType.id !== reference.referenceTypeId && item.referenceType.name !== reference.referenceTypeName && item.referenceValue !== reference.referenceValue || item.referenceType.id === reference.referenceTypeId && item.referenceType.name === reference.referenceTypeName && item.referenceValue !== reference.referenceValue);\n },\n clearNewReferenceNumberType() {\n this.newReferenceNumberType = {\n referenceType: null,\n referenceValue: null\n };\n },\n async canSaveTicket() {\n this.hasNotReferenceNumberType = this.ticket.referenceNumberTypes == 0;\n if (this.hasNotReferenceNumberType) {\n await this.$refs.refReferenceNumberAdded.reset();\n }\n this.hasReferencesValidationErrors = this.validateTypeRefMessage != \"\";\n const isValidHeader = await this.$refs.refHeaderValidation.validate();\n const isValidFooter = await this.$refs.refFooterValidation.validate();\n return isValidHeader && isValidFooter && !this.hasNotReferenceNumberType && !this.hasReferencesValidationErrors;\n },\n goBack() {\n this.$router.go(-1);\n },\n async onModuleChange(val) {\n this.ticket.screen = null;\n this.newReferenceNumberType.referenceType = null;\n this.ticket.referenceNumberTypes = [];\n const moduleId = val ? val.id : null;\n this.$emit(\"update-references\", {\n moduleId\n });\n await this.$refs.refReferenceNumberAdded.reset();\n },\n async onScreenChange(val) {\n this.newReferenceNumberType.referenceType = null;\n const moduleId = this.ticket.module.id;\n const screenId = val ? val.id : null;\n this.$emit(\"update-references\", {\n moduleId,\n screenId\n });\n await this.$refs.refReferenceNumberAdded.reset();\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {\n var _vm = this;\n var _h = _vm.$createElement;\n var _c = _vm._self._c || _h;\n return _c('div', {\n staticClass: \"manage-ticket\"\n }, [_c('page-header', {\n attrs: {\n \"actions\": _vm.headerActions,\n \"has-route\": _vm.header.hasRoute,\n \"page\": _vm.header.page\n }\n }), _vm._v(\" \"), _vm.isReadOnly && _vm.ticket.statusId == _vm.caseStatus.Resuelto ? _c('div', {\n staticClass: \"resolved-comment\"\n }, [_c('icon-view', {\n staticClass: \"icon-view_extended\",\n attrs: {\n \"icon\": \"fas fa-check-circle\",\n \"title\": \"Comentario de Solicitud Resuelta\"\n }\n }), _vm._v(\" \"), _c('p', {\n staticClass: \"mb-0 ml-4 mt-2\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.ticket.caseSolution) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _vm.isReadOnly && _vm.ticket.statusId == _vm.caseStatus.Cancelado ? _c('div', {\n staticClass: \"canceled-comment\"\n }, [_c('icon-view', {\n staticClass: \"icon-view_extended\",\n attrs: {\n \"icon\": \"fas fa-times-circle\",\n \"title\": \"Comentario de Cancelación\"\n }\n }), _vm._v(\" \"), _c('p', {\n staticClass: \"mb-0 ml-4 mt-2\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.ticket.comment) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('section-title', {\n attrs: {\n \"title\": \"Describa con detalles el apoyo a solicitar\"\n }\n }), _vm._v(\" \"), _c('validation-observer', {\n ref: \"refHeaderValidation\"\n }, [_c('validation-provider', {\n attrs: {\n \"rules\": \"required\"\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (ref) {\n var errors = ref.errors;\n return [_c('custom-text-area', {\n staticClass: \"mb-3\",\n attrs: {\n \"id\": \"description\",\n \"count-classes\": ['d-block text-right'],\n \"custom-error-msg\": \"La descripción es requerida.\",\n \"error\": errors[0],\n \"maxlength\": 3000,\n \"name\": \"description\",\n \"placeholder\": \"Escriba aquí\",\n \"show-char-count\": \"\",\n \"disabled\": _vm.isReadOnly\n },\n model: {\n value: _vm.ticket.description,\n callback: function ($$v) {\n _vm.$set(_vm.ticket, \"description\", $$v);\n },\n expression: \"ticket.description\"\n }\n })];\n }\n }])\n }), _vm._v(\" \"), !_vm.isReadOnly || _vm.isReadOnly && _vm.hasDocument ? [_c('div', {\n staticClass: \"row mb-4\"\n }, [_c('div', {\n staticClass: \"col-md-6 col-xs-12\"\n }, [_c('label', {\n attrs: {\n \"for\": \"\"\n }\n }, [_vm._v(\"Documentos\")]), _vm._v(\" \"), _vm._l(_vm.documents, function (doc, index) {\n return _c('div', {\n key: doc.tempId,\n staticClass: \"row mt-1\"\n }, [_c('div', {\n staticClass: \"col-11 pr-0\"\n }, [_c('custom-file-input', {\n ref: \"fileUpload-\" + doc.tempId,\n refInFor: true,\n attrs: {\n \"accept\": _vm.allowedFiles,\n \"display-style\": \"normal\",\n \"label-position\": \"left\",\n \"max-size\": 10,\n \"attachment-id\": doc.id,\n \"name\": doc.name,\n \"on-download\": _vm.onDownload,\n \"disabled\": _vm.isReadOnly,\n \"file-extension-error-msg\": _vm.customFileExtensionErrorMsg\n },\n model: {\n value: _vm.ticket.documents[index].data,\n callback: function ($$v) {\n _vm.$set(_vm.ticket.documents[index], \"data\", $$v);\n },\n expression: \"ticket.documents[index].data\"\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"col p-0\"\n }, [_vm.ticket.documents.length > 1 && !_vm.ticket.documents[index].data && !_vm.isReadOnly ? _c('button', {\n staticClass: \"btn btn-outline-danger\",\n class: {\n 'input-disabled': _vm.disabled\n },\n staticStyle: {\n \"width\": \"37px\",\n \"height\": \"37px\",\n \"padding\": \"0\"\n },\n attrs: {\n \"type\": \"button\",\n \"disabled\": _vm.disabled,\n \"hidden\": _vm.disabled\n },\n on: {\n \"click\": function ($event) {\n return _vm.removeDocumentRow(doc.tempId);\n }\n }\n }, [_c('i', {\n staticClass: \"fas fa-times-circle\"\n })]) : _vm._e()])]);\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"mt-2\"\n }, [!_vm.isReadOnly ? _c('action-button', {\n staticClass: \"mt-auto\",\n attrs: {\n \"variant\": \"success\",\n \"i\": \"fas fa-file-plus pr-1\",\n \"text\": \"Añadir\"\n },\n on: {\n \"click\": _vm.addDocumentRow\n }\n }) : _vm._e()], 1)], 2), _vm._v(\" \"), _c('div', {\n staticClass: \"col-12\"\n }, [_c('small', {\n staticClass: \"data-label allowed-files-message\"\n }, [_vm._v(\"El sistema le permitirá anejar la evidencia con los siguientes\\n formatos: .jpg, .png, .docx, .doc, .xlsx, .xls, .pdf, .ppt\\n .pptx.\")])])])] : _vm._e(), _vm._v(\" \"), _c('section-title', {\n attrs: {\n \"title\": \"Si la situacion es referente a una pantalla en particular, indique el módulo y pantalla\"\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"row mb-4\"\n }, [_c('div', {\n staticClass: \"col-xs-6 col-sm-4\"\n }, [_c('custom-drop-down', {\n attrs: {\n \"id\": \"module\",\n \"fieldkey\": \"id\",\n \"fieldname\": \"name\",\n \"label\": \"Módulo:\",\n \"options\": _vm.modules,\n \"placeholder\": \"Seleccione\",\n \"disabled\": _vm.isReadOnly\n },\n on: {\n \"input\": _vm.onModuleChange\n },\n model: {\n value: _vm.ticket.module,\n callback: function ($$v) {\n _vm.$set(_vm.ticket, \"module\", $$v);\n },\n expression: \"ticket.module\"\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"col-xs-6 col-sm-4\"\n }, [_c('custom-drop-down', {\n attrs: {\n \"id\": \"screen\",\n \"disabled\": _vm.isReadOnly || _vm.screens.length === 0,\n \"fieldkey\": \"id\",\n \"fieldname\": \"name\",\n \"label\": \"Pantalla:\",\n \"options\": _vm.screens,\n \"placeholder\": \"Seleccione\"\n },\n on: {\n \"input\": _vm.onScreenChange\n },\n model: {\n value: _vm.ticket.screen,\n callback: function ($$v) {\n _vm.$set(_vm.ticket, \"screen\", $$v);\n },\n expression: \"ticket.screen\"\n }\n })], 1)])], 2), _vm._v(\" \"), _c('section-title', {\n attrs: {\n \"title\": \"Favor de documentar un número de referencia relacionado a la solicitud de apoyo que nos ayude a obtener información con mayor exactitud\"\n }\n }), _vm._v(\" \"), _c('validation-observer', {\n ref: \"refReferenceNumberAdded\"\n }, [_c('div', {\n staticClass: \"frame-container mb-4\"\n }, [_c('div', {\n staticClass: \"section-label mb-3\"\n }, [_vm._v(\"Número de Referencia\")]), _vm._v(\" \"), _vm.isReadOnly ? [_c('div', {\n staticClass: \"row\"\n }, [_c('custom-chips-group', {\n staticClass: \"refNumbers\",\n attrs: {\n \"no-background\": \"\",\n \"object-id\": \"id\",\n \"object-text\": \"referenceValue\",\n \"object-title\": \"referenceTypeName\",\n \"on-item-deleted\": _vm.onReferenceNumberTypeDeleted,\n \"selected-items\": _vm.flatReferenceNumberTypes,\n \"title\": \"\",\n \"disabled\": \"\"\n }\n })], 1)] : [_c('div', {\n staticClass: \"row\"\n }, [_c('div', {\n staticClass: \"col-xs-6 col-sm-4\"\n }, [_c('validation-provider', {\n attrs: {\n \"mode\": \"passive\",\n \"rules\": \"required\"\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (ref) {\n var errors = ref.errors;\n return [_c('custom-drop-down', {\n attrs: {\n \"id\": \"screen\",\n \"custom-error-msg\": \"El tipo de referencia es requerido.\",\n \"error\": errors[0],\n \"fieldkey\": \"id\",\n \"fieldname\": \"name\",\n \"label\": \"Tipo de Referencia:\",\n \"options\": _vm.referenceNumberTypes,\n \"placeholder\": \"Seleccione\",\n \"disabled\": _vm.isReadOnly\n },\n model: {\n value: _vm.newReferenceNumberType.referenceType,\n callback: function ($$v) {\n _vm.$set(_vm.newReferenceNumberType, \"referenceType\", $$v);\n },\n expression: \"newReferenceNumberType.referenceType\"\n }\n })];\n }\n }])\n })], 1), _vm._v(\" \"), _vm.showSieDD ? _c('div', {\n staticClass: \"col-xs-6 col-sm-4\"\n }, [_c('validation-provider', {\n attrs: {\n \"mode\": \"passive\",\n \"rules\": \"required\"\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (ref) {\n var errors = ref.errors;\n return [_c('custom-drop-down', {\n attrs: {\n \"id\": \"sie\",\n \"custom-error-msg\": \"La selección de un estudiante es requerido.\",\n \"error\": errors[0],\n \"fieldkey\": \"id\",\n \"fieldname\": \"name\",\n \"label\": \"Valor:\",\n \"options\": _vm.studentsListFiltered,\n \"placeholder\": \"Seleccione\"\n },\n model: {\n value: _vm.newReferenceNumberType.student,\n callback: function ($$v) {\n _vm.$set(_vm.newReferenceNumberType, \"student\", $$v);\n },\n expression: \"newReferenceNumberType.student\"\n }\n })];\n }\n }], null, false, 709171832)\n })], 1) : _c('div', {\n staticClass: \"col-xs-6 col-sm-4\"\n }, [_c('validation-provider', {\n attrs: {\n \"mode\": \"passive\",\n \"name\": \"Valor\",\n \"rules\": _vm.valueValidations\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (ref) {\n var errors = ref.errors;\n return [_c('custom-input', {\n key: _vm.valueMaskType,\n attrs: {\n \"id\": \"referenceNumber\",\n \"error\": errors[0],\n \"label\": \"Valor:\",\n \"mask-type\": _vm.valueMaskType,\n \"masked\": _vm.valueMaskType != null,\n \"type\": \"text\",\n \"disabled\": _vm.isReadOnly\n },\n model: {\n value: _vm.newReferenceNumberType.referenceValue,\n callback: function ($$v) {\n _vm.$set(_vm.newReferenceNumberType, \"referenceValue\", $$v);\n },\n expression: \"newReferenceNumberType.referenceValue\"\n }\n })];\n }\n }])\n })], 1), _vm._v(\" \"), !_vm.isReadOnly ? [_c('div', {\n staticClass: \"col-4 d-flex btn-referencenumber-content\"\n }, [_c('action-button', {\n staticClass: \"mt-auto\",\n attrs: {\n \"variant\": \"success\",\n \"i\": \"fas fa-file-plus pr-1\",\n \"text\": \"Añadir\"\n },\n on: {\n \"click\": _vm.onReferenceNumberTypeAdded\n }\n })], 1)] : _vm._e()], 2), _vm._v(\" \"), _vm.hasNotReferenceNumberType || _vm.hasReferencesValidationErrors ? _c('div', {\n staticClass: \"row\"\n }, [_c('div', {\n staticClass: \"mt-3 ml-3 font-weight-normal font-14 color-secondary-6\"\n }, [_c('error', {\n key: _vm.validateTypeRefMessage,\n attrs: {\n \"message\": _vm.validateTypeRefMessage,\n \"variant\": \"no-border\"\n }\n })], 1)]) : _vm._e(), _vm._v(\" \"), _vm.referenceValueExists ? _c('div', {\n staticClass: \"row\"\n }, [_c('div', {\n staticClass: \"mt-3 ml-3 font-weight-normal font-14 color-secondary-6\"\n }, [_c('error', {\n attrs: {\n \"message\": \"El valor de la referencia ya existe.\",\n \"variant\": \"no-border\"\n }\n })], 1)]) : _vm._e(), _vm._v(\" \"), _vm.ticket.referenceNumberTypes.length > 0 ? _c('div', [_c('separator', {\n staticClass: \"separator_extended\",\n attrs: {\n \"text\": \"Números de referencia añadidos\"\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"row\"\n }, [_c('custom-chips-group', {\n staticClass: \"refNumbers\",\n attrs: {\n \"no-background\": \"\",\n \"object-id\": \"id\",\n \"object-text\": \"referenceValue\",\n \"object-title\": \"referenceTypeName\",\n \"on-item-deleted\": _vm.onReferenceNumberTypeDeleted,\n \"selected-items\": _vm.flatReferenceNumberTypes,\n \"title\": \"\",\n \"disabled\": _vm.isReadOnly\n }\n })], 1)], 1) : _vm._e()]], 2)]), _vm._v(\" \"), _c('section-title', {\n attrs: {\n \"title\": \"Favor de verificar su información de contacto\"\n }\n }), _vm._v(\" \"), _c('validation-observer', {\n ref: \"refFooterValidation\"\n }, [_c('div', {\n staticClass: \"row\"\n }, [_c('div', {\n staticClass: \"col-sm-4 col-xs-12\"\n }, [_c('validation-provider', {\n attrs: {\n \"rules\": \"required|email\"\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (ref) {\n var errors = ref.errors;\n var failedRules = ref.failedRules;\n return [_c('custom-input', {\n attrs: {\n \"id\": \"email\",\n \"custom-error-msg\": failedRules.required ? 'El correo electrónico es requerido.' : 'El correo electrónico no es válido.',\n \"error\": errors[0],\n \"label\": \"Correo Electrónico:\",\n \"type\": \"text\",\n \"disabled\": _vm.isReadOnly\n },\n model: {\n value: _vm.ticket.email,\n callback: function ($$v) {\n _vm.$set(_vm.ticket, \"email\", $$v);\n },\n expression: \"ticket.email\"\n }\n })];\n }\n }])\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"col-sm-4 col-xs-12\"\n }, [_c('div', {\n staticClass: \"row\"\n }, [_c('div', {\n staticClass: \"col-md-8\"\n }, [_c('validation-provider', {\n attrs: {\n \"rules\": \"required\"\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (ref) {\n var errors = ref.errors;\n return [_c('custom-input', {\n attrs: {\n \"id\": \"telephone1\",\n \"label\": \"Teléfono 1:\",\n \"mask-type\": \"Phone\",\n \"custom-error-msg\": 'El teléfono 1 es requerido.',\n \"type\": \"text\",\n \"error\": errors[0],\n \"disabled\": _vm.isReadOnly\n },\n model: {\n value: _vm.ticket.telephone1,\n callback: function ($$v) {\n _vm.$set(_vm.ticket, \"telephone1\", $$v);\n },\n expression: \"ticket.telephone1\"\n }\n })];\n }\n }])\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"col-md-4\"\n }, [_c('custom-input', {\n attrs: {\n \"id\": \"telephone1\",\n \"label\": \"Ext.:\",\n \"mask-type\": \"PhoneExt\",\n \"type\": \"text\",\n \"disabled\": _vm.isReadOnly\n },\n model: {\n value: _vm.ticket.telephone1Extension,\n callback: function ($$v) {\n _vm.$set(_vm.ticket, \"telephone1Extension\", $$v);\n },\n expression: \"ticket.telephone1Extension\"\n }\n })], 1)])]), _vm._v(\" \"), _c('div', {\n staticClass: \"col-sm-4 col-xs-12\"\n }, [_c('div', {\n staticClass: \"row\"\n }, [_c('div', {\n staticClass: \"col-md-8\"\n }, [_c('custom-input', {\n attrs: {\n \"id\": \"telephone2\",\n \"label\": \"Teléfono 2:\",\n \"mask-type\": \"Phone\",\n \"type\": \"text\",\n \"disabled\": _vm.isReadOnly\n },\n model: {\n value: _vm.ticket.telephone2,\n callback: function ($$v) {\n _vm.$set(_vm.ticket, \"telephone2\", $$v);\n },\n expression: \"ticket.telephone2\"\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"col-md-4\"\n }, [_c('custom-input', {\n attrs: {\n \"id\": \"telephone2\",\n \"label\": \"Ext.:\",\n \"mask-type\": \"PhoneExt\",\n \"type\": \"text\",\n \"disabled\": _vm.isReadOnly\n },\n model: {\n value: _vm.ticket.telephone2Extension,\n callback: function ($$v) {\n _vm.$set(_vm.ticket, \"telephone2Extension\", $$v);\n },\n expression: \"ticket.telephone2Extension\"\n }\n })], 1)])])])])], 1);\n};\nvar __vue_staticRenderFns__ = [];\n\n/* style */\nconst __vue_inject_styles__ = function (inject) {\n if (!inject) return;\n inject(\"data-v-473a59f0_0\", {\n source: \".manage-ticket[data-v-473a59f0] .resolved-comment{--gray:#f7f7f7;padding:1rem;border-radius:.25rem;background:var(--gray);margin-bottom:2rem}.manage-ticket[data-v-473a59f0] .resolved-comment .icon-view_extended .dot{width:1.5rem;height:1.5rem;margin-right:.5rem}.manage-ticket[data-v-473a59f0] .resolved-comment .icon-view_extended .dot .title-icon{font-size:1.3rem;color:#2db782}.manage-ticket[data-v-473a59f0] .canceled-comment{--gray:#f7f7f7;padding:1rem;border-radius:.25rem;background:var(--gray);margin-bottom:2rem}.manage-ticket[data-v-473a59f0] .canceled-comment .icon-view_extended .dot{width:1.5rem;height:1.5rem;margin-right:.5rem}.manage-ticket[data-v-473a59f0] .canceled-comment .icon-view_extended .dot .title-icon{font-size:1.3rem;color:#b72d3f}.manage-ticket[data-v-473a59f0] .separator_extended{--separator-font-color:#707070;--separator-line-color:#b5c3bc;margin-top:1rem}.manage-ticket[data-v-473a59f0] .separator_extended .separator-custom{--line-separator-color:var(--separator-line-color)}.manage-ticket[data-v-473a59f0] .separator_extended .separator-custom .separator-custom__text{background:0 0;font-size:1rem;color:var(--separator-font-color);font-weight:400;padding:0;cursor:default;user-select:none}.frame-container[data-v-473a59f0]{background:#f2f2f2;border-radius:5px;padding:15px 20px}.section-label[data-v-473a59f0]{font-size:14px;color:#000;font-weight:700}[data-v-473a59f0] div.chips-container{margin-bottom:10px;padding-bottom:0}[data-v-473a59f0] div.chips-container .chips{margin-top:0}[data-v-473a59f0] .refNumbers>div:first-child{margin-top:0!important}.allowed-files-message[data-v-473a59f0]{font-size:12px!important}@media only screen and (max-width:768px){.btn-referencenumber-content[data-v-473a59f0]{margin-top:10px}}\",\n map: undefined,\n media: undefined\n });\n};\n/* scoped */\nconst __vue_scope_id__ = \"data-v-473a59f0\";\n/* module identifier */\nconst __vue_module_identifier__ = undefined;\n/* functional template */\nconst __vue_is_functional_template__ = false;\n/* style inject SSR */\n\n/* style inject shadow dom */\n\nconst __vue_component__ = /*#__PURE__*/normalizeComponent({\n render: __vue_render__,\n staticRenderFns: __vue_staticRenderFns__\n}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);\nvar ManageTicketComponent = __vue_component__;\n\n// Import vue component\nconst TicketSearch = function () {\n const installable = TicketSearchComponent;\n installable.install = Vue => {\n Vue.component('TicketSearch', installable);\n };\n return installable;\n}();\nconst ManageTicket = function () {\n const installable = ManageTicketComponent;\n installable.install = Vue => {\n Vue.component('ManageTicket', installable);\n };\n return installable;\n}();\n\nexport { ManageTicket, TicketSearch };\n","var tokens = {\n '#': { pattern: /\\d/ },\n X: { pattern: /[0-9a-zA-Z]/ },\n S: { pattern: /[a-zA-Z]/ },\n A: { pattern: /[a-zA-Z]/, transform: v => v.toLocaleUpperCase() },\n a: { pattern: /[a-zA-Z]/, transform: v => v.toLocaleLowerCase() },\n '!': { escape: true }\n\n // https://github.com/fernandofleury/vanilla-masker/blob/master/lib/vanilla-masker.js\n // DIGIT = \"9\",\n // ALPHA = \"A\",\n // ALPHANUM = \"S\"\n\n // https://github.com/niksmr/vue-masked-input\n // 1 - number\n // a - letter\n // A - letter, forced to upper case when entered\n // * - alphanumeric\n // # - alphanumeric, forced to upper case when entered\n // + - any character\n\n // https://github.com/probil/v-mask\n // #\tNumber (0-9)\n // A\tLetter in any case (a-z,A-Z)\n // N\tNumber or letter\n // X\tAny symbol\n\n // https://github.com/igorescobar/jQuery-Mask-Plugin/blob/master/src/jquery.mask.js#L518\n // '0': {pattern: /\\d/},\n // '9': {pattern: /\\d/, optional: true},\n // '#': {pattern: /\\d/, recursive: true},\n // 'A': {pattern: /[a-zA-Z0-9]/},\n // 'S': {pattern: /[a-zA-Z]/}\n\n // https://github.com/the-darc/string-mask\n // 0\tAny numbers\n // 9\tAny numbers (Optional)\n // #\tAny numbers (recursive)\n // A\tAny alphanumeric character\n // a\tAny alphanumeric character (Optional) Not implemented yet\n // S\tAny letter\n // U\tAny letter (All lower case character will be mapped to uppercase)\n // L\tAny letter (All upper case character will be mapped to lowercase)\n // $\tEscape character, used to escape any of the special formatting characters.\n\n};\n\nfunction maskit(value, mask, masked = true, tokens) {\n value = value || '';\n mask = mask || '';\n var iMask = 0;\n var iValue = 0;\n var output = '';\n var cMask = '';\n while (iMask < mask.length && iValue < value.length) {\n cMask = mask[iMask];\n var masker = tokens[cMask];\n var cValue = value[iValue];\n if (masker && !masker.escape) {\n if (masker.pattern.test(cValue)) {\n output += masker.transform ? masker.transform(cValue) : cValue;\n iMask++;\n }\n iValue++;\n } else {\n if (masker && masker.escape) {\n iMask++; // take the next mask char and treat it as char\n cMask = mask[iMask];\n }\n if (masked) output += cMask;\n if (cValue === cMask) iValue++; // user typed the same char\n iMask++;\n }\n }\n\n // fix mask that ends with a char: (#)\n var restOutput = '';\n while (iMask < mask.length && masked) {\n cMask = mask[iMask];\n if (tokens[cMask]) {\n restOutput = '';\n break;\n }\n restOutput += cMask;\n iMask++;\n }\n\n return output + restOutput;\n}\n\nfunction dynamicMask(maskit, masks, tokens) {\n masks = masks.slice().sort((a, b) => a.length - b.length);\n return function (value, mask, masked = true) {\n var i = 0;\n while (i < masks.length) {\n var currentMask = masks[i];\n i++;\n var nextMask = masks[i];\n if (!(nextMask && maskit(value, nextMask, true, tokens).length > currentMask.length)) {\n return maskit(value, currentMask, masked, tokens);\n }\n }\n return ''; // empty masks\n };\n}\n\n// Facade to maskit/dynamicMask when mask is String or Array\nfunction masker (value, mask, masked = true, tokens) {\n // disable on empty mask \n if (!mask) {\n return value;\n }\n return Array.isArray(mask) ? dynamicMask(maskit, mask, tokens)(value, mask, masked, tokens) : maskit(value, mask, masked, tokens);\n}\n\n// https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Creating_and_triggering_events#The_old-fashioned_way\nfunction event(name) {\n var evt = document.createEvent('Event');\n evt.initEvent(name, true, true);\n return evt;\n}\n\nfunction mask (el, binding) {\n var config = binding.value || '';\n var defaults = {\n masked: true,\n mask: config,\n tokens: tokens\n };\n var oldValue = '';\n if (Array.isArray(config) || typeof config === 'string') {\n config = {\n masked: true,\n mask: config,\n tokens: tokens\n };\n }\n\n config = Object.assign({}, defaults, config);\n\n if (el.tagName.toLocaleUpperCase() !== 'INPUT') {\n var els = el.getElementsByTagName('input');\n if (els.length !== 1) {\n throw new Error(\"v-mask directive requires 1 input, found \" + els.length);\n } else {\n el = els[0];\n }\n }\n\n el.oninput = function (evt) {\n if (!evt.isTrusted) return; // avoid infinite loop\n /* other properties to try to diferentiate InputEvent of Event (custom)\n InputEvent (native)\n cancelable: false\n isTrusted: true\n composed: true\n isComposing: false\n which: 0\n Event (custom)\n cancelable: true\n isTrusted: false\n */\n // by default, keep cursor at same position as before the mask\n var position = el.selectionEnd;\n // save the character just inserted\n var digit = el.value[position - 1];\n el.value = masker(el.value, config.mask, config.masked, config.tokens);\n // if the digit was changed, increment position until find the digit again\n while (position < el.value.length && el.value.charAt(position - 1) !== digit) {\n position++;\n }\n if (el === document.activeElement) {\n el.setSelectionRange(position, position);\n setTimeout(function () {\n // account for the caret jumping backwards, see issue #49\n // by substracting Math.sign, we decrement the absolute value by 1\n let lengthDiff = el.value.length - oldValue.length;\n lengthDiff = lengthDiff - Math.sign(lengthDiff);\n position = position + lengthDiff;\n el.setSelectionRange(position, position);\n oldValue = el.value;\n }, 0);\n }\n el.dispatchEvent(event('input'));\n };\n\n var newDisplay = masker(el.value, config.mask, config.masked, config.tokens);\n if (newDisplay !== el.value) {\n el.value = newDisplay;\n el.dispatchEvent(event('input'));\n }\n}\n\nvar TheMask = {\n render: function () {\n var _vm = this;var _h = _vm.$createElement;var _c = _vm._self._c || _h;return _c('input', _vm._g(_vm._b({ directives: [{ name: \"mask\", rawName: \"v-mask\", value: _vm.config, expression: \"config\" }], attrs: { \"type\": \"text\" }, domProps: { \"value\": _vm.display } }, 'input', _vm.$attrs, false), _vm.listeners));\n },\n staticRenderFns: [],\n name: 'TheMask',\n props: {\n value: [String, Number],\n mask: {\n type: [String, Array],\n required: true\n },\n masked: { // by default emits the value unformatted, change to true to format with the mask\n type: Boolean,\n default: false // raw\n },\n tokens: {\n type: Object,\n default: () => tokens\n }\n },\n directives: { mask },\n data() {\n return {\n lastValue: null, // avoid unecessary emit when has no change\n display: this.value\n };\n },\n watch: {\n value(newValue) {\n if (newValue !== this.lastValue) {\n this.display = newValue;\n }\n },\n masked() {\n this.refresh(this.display);\n }\n },\n computed: {\n config() {\n return {\n mask: this.mask,\n tokens: this.tokens,\n masked: this.masked\n };\n },\n listeners() {\n var vm = this;\n return Object.assign({}, vm.$listeners, {\n input(e) {\n vm.onInput(e);\n }\n });\n }\n },\n methods: {\n onInput(e) {\n if (e.isTrusted) return; // ignore native event\n this.refresh(e.target.value);\n },\n\n refresh(value) {\n this.display = value;\n var value = masker(value, this.mask, this.masked, this.tokens);\n if (value !== this.lastValue) {\n this.lastValue = value;\n this.$emit('input', value);\n }\n }\n }\n};\n\nfunction install(Vue) {\n Vue.component(TheMask.name, TheMask);\n Vue.directive(\"mask\", mask);\n}\n\n// Install by default if included from script tag\nif (typeof window !== \"undefined\" && window.Vue) {\n window.Vue.use(install);\n}\n\nexport default install;\nexport { TheMask, mask, tokens, dynamicMask, masker, maskit };\n","import { ValidationObserver, ValidationProvider } from 'vee-validate';\nimport CustomInput from 'CustomInput';\nimport CustomDropDown from 'custom-drop-down';\nimport ActionButton from 'ActionButton';\nimport CustomRadioGroup from 'custom-radio';\nimport CustomDatePicker from 'custom-date-picker';\n\n//\nvar script = {\n name: \"FilterManager\",\n components: {\n ValidationObserver,\n ValidationProvider,\n CustomInput,\n CustomDropDown,\n ActionButton,\n CustomRadioGroup,\n CustomDatePicker\n },\n props: {\n filters: {\n type: Array,\n default: () => []\n },\n displayAdvanced: {\n type: Boolean,\n default: () => true\n },\n openAdvanced: {\n type: Boolean,\n default: () => false\n },\n disabledSearch: {\n type: Boolean,\n default: () => false\n },\n searchText: {\n type: String,\n default: () => \"Buscar\"\n },\n searchIcon: {\n type: String,\n default: () => \"fa fa-search\"\n },\n searchClass: {\n type: String,\n default: () => \"\"\n },\n searchContainerClass: {\n type: String,\n default: () => \"\"\n },\n value: {\n type: Object,\n default: () => ({})\n },\n clearOnAdvanceChange: {\n type: Boolean,\n default: () => false\n }\n },\n\n data() {\n return {\n advanced: false,\n showAdvancedOptions: this.displayAdvanced\n };\n },\n\n computed: {\n filtersVisible() {\n return this.filters.filter(filter => filter.visible || filter.visible == null);\n },\n\n advancedFilters() {\n return this.filtersVisible.filter(filter => filter.isAdvanced);\n },\n\n mainFilters() {\n return this.filtersVisible.filter(filter => !filter.isAdvanced || filter.isAdvanced == null);\n }\n\n },\n watch: {\n openAdvanced: {\n handler(newValue) {\n this.advanced = newValue;\n },\n\n immediate: true\n }\n },\n\n mounted() {\n //Execute methods immediate\n this.filtersVisible.forEach(filter => {\n if (filter.immediateOnChanged) {\n filter.onChanged(this.value[filter.name]);\n }\n }); // clear advance filters when the panel is hidden\n\n if (this.clearOnAdvanceChange) {\n this.$watch('advanced', val => {\n if (val) return;\n this.filters.forEach(f => {\n if (f.isAdvanced) {\n this.value[f.name] = null;\n }\n });\n });\n }\n\n this.filters.forEach(filter => {\n if (filter.clearModelsOnUpdate) {\n // is array\n this.$watch(`value.${filter.name}`, () => {\n filter.clearModelsOnUpdate.forEach(other => {\n if (typeof other == \"string\") {\n this.value[other] = null;\n } else if (typeof other == \"object\") {\n this.value[other.name] = other.default;\n }\n });\n });\n }\n });\n },\n\n created() {\n //initialize every filter value\n this.filters.forEach(filter => {\n this.$set(this.value, filter.name, this.value[filter.name] || filter.initialValue);\n });\n },\n\n methods: {\n advancedOptionsClick() {\n this.advanced = !this.advanced;\n this.$emit('update:openAdvanced', this.advanced);\n },\n\n async search(props = {}) {\n const isValid = await this.$refs.formValidator.validate();\n this.$emit(\"search\", isValid ? { ...this.value,\n ...props\n } : null);\n },\n\n assignValue(key, value) {\n this.value[key] = value;\n },\n\n changeFilter(filter) {\n let data = filter.returnModel ? this.value : this.value[filter.name];\n\n if (filter.onChanged) {\n filter.onChanged(data);\n } else {\n this.$emit(filter.name, data);\n }\n },\n\n onEnter(filter) {\n if (filter.component.toLowerCase() == \"custominput\" && filter.searchable == undefined || filter.searchable) {\n this.search();\n }\n },\n\n disabled(filter) {\n if (filter.disabled) {\n if (typeof filter.disabled == \"boolean\") {\n return filter.disabled;\n }\n\n let isDisabled = filter.disabled.some(other => {\n let filterConfig = this.filtersVisible.find(x => x.name == other);\n return this.value[other] == null && filterConfig;\n });\n return isDisabled;\n }\n\n return false;\n }\n\n }\n};\n\nfunction normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {\r\n if (typeof shadowMode !== 'boolean') {\r\n createInjectorSSR = createInjector;\r\n createInjector = shadowMode;\r\n shadowMode = false;\r\n }\r\n // Vue.extend constructor export interop.\r\n const options = typeof script === 'function' ? script.options : script;\r\n // render functions\r\n if (template && template.render) {\r\n options.render = template.render;\r\n options.staticRenderFns = template.staticRenderFns;\r\n options._compiled = true;\r\n // functional template\r\n if (isFunctionalTemplate) {\r\n options.functional = true;\r\n }\r\n }\r\n // scopedId\r\n if (scopeId) {\r\n options._scopeId = scopeId;\r\n }\r\n let hook;\r\n if (moduleIdentifier) {\r\n // server build\r\n hook = function (context) {\r\n // 2.3 injection\r\n context =\r\n context || // cached call\r\n (this.$vnode && this.$vnode.ssrContext) || // stateful\r\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional\r\n // 2.2 with runInNewContext: true\r\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\r\n context = __VUE_SSR_CONTEXT__;\r\n }\r\n // inject component styles\r\n if (style) {\r\n style.call(this, createInjectorSSR(context));\r\n }\r\n // register component module identifier for async chunk inference\r\n if (context && context._registeredComponents) {\r\n context._registeredComponents.add(moduleIdentifier);\r\n }\r\n };\r\n // used by ssr in case component is cached and beforeCreate\r\n // never gets called\r\n options._ssrRegister = hook;\r\n }\r\n else if (style) {\r\n hook = shadowMode\r\n ? function (context) {\r\n style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));\r\n }\r\n : function (context) {\r\n style.call(this, createInjector(context));\r\n };\r\n }\r\n if (hook) {\r\n if (options.functional) {\r\n // register for functional component in vue file\r\n const originalRender = options.render;\r\n options.render = function renderWithStyleInjection(h, context) {\r\n hook.call(context);\r\n return originalRender(h, context);\r\n };\r\n }\r\n else {\r\n // inject component registration as beforeCreate hook\r\n const existing = options.beforeCreate;\r\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\r\n }\r\n }\r\n return script;\r\n}\n\n/* script */\nconst __vue_script__ = script;\n/* template */\n\nvar __vue_render__ = function () {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', {\n staticClass: \"filter-manager p-3\"\n }, [_c('validation-observer', {\n ref: \"formValidator\"\n }, [_c('div', {\n staticClass: \"row\"\n }, [_c('div', {\n staticClass: \"col\"\n }, [_c('div', {\n staticClass: \"row\"\n }, [_vm._l(_vm.mainFilters, function (filter) {\n return _c('div', {\n key: filter.name,\n class: (filter.class || 'col') + \" col-sm my-1\"\n }, [_c('validation-provider', {\n attrs: {\n \"rules\": filter.validations\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (ref) {\n var errors = ref.errors;\n return [_c(filter.component, _vm._b({\n tag: \"component\",\n attrs: {\n \"class-container\": filter.classContainer,\n \"fieldname\": filter.fieldName,\n \"fieldkey\": filter.fieldKey,\n \"options\": filter.options,\n \"placeholder\": filter.placeholder,\n \"mask-type\": filter.maskType,\n \"masked\": filter.masked != undefined ? filter.masked : false,\n \"error\": filter.error && errors[0] ? filter.error : errors[0],\n \"custom-error-msg\": filter.error && errors[0] ? filter.error : errors[0],\n \"type\": filter.type,\n \"i\": filter.icon,\n \"icon\": filter.icon,\n \"left-icon\": filter.leftIcon,\n \"label\": filter.label,\n \"clearable\": filter.clearable,\n \"disabled\": _vm.disabled(filter),\n \"variant\": filter.variant,\n \"is-inline\": filter.isInline,\n \"max-date\": filter.maxDate,\n \"min-date\": filter.minDate,\n \"format\": filter.format,\n \"use-utc\": filter.useUtc\n },\n on: {\n \"input\": function ($event) {\n return _vm.changeFilter(filter);\n },\n \"change\": function ($event) {\n return _vm.changeFilter(filter);\n },\n \"keypress\": function ($event) {\n return _vm.onEnter(filter);\n }\n },\n model: {\n value: _vm.value[filter.name],\n callback: function ($$v) {\n _vm.$set(_vm.value, filter.name, $$v);\n },\n expression: \"value[filter.name]\"\n }\n }, 'component', filter.props, false))];\n }\n }], null, true)\n })], 1);\n }), _vm._v(\" \"), _vm._t(\"default\")], 2)]), _vm._v(\" \"), _vm.searchText ? _c('div', {\n class: _vm.searchContainerClass + \" col-sm-12 col-md-12 col-lg-3 ml-0 mr-0 my-1\"\n }, [_c('div', {\n staticClass: \"d-flex justify-content-md-end justify-content-sm-start no-actionbtn-width\"\n }, [_vm.showAdvancedOptions ? _c('div', {\n staticClass: \"btn btn-sm toggle-btn mr-2\",\n class: {\n 'advanced-button': _vm.advanced\n },\n on: {\n \"click\": _vm.advancedOptionsClick\n }\n }, [_c('i', {\n staticClass: \"fal fa-sliders-v mr-2 ml-2 mt-2\"\n })]) : _vm._e(), _vm._v(\" \"), _c('action-button', {\n staticClass: \"col-sm filter-search-button\",\n attrs: {\n \"disabled\": _vm.disabledSearch,\n \"i\": _vm.searchIcon,\n \"text\": _vm.searchText\n },\n on: {\n \"click\": _vm.search\n }\n })], 1)]) : _vm._e()]), _vm._v(\" \"), _vm.advanced ? _c('div', [_c('div', {\n staticClass: \"row py-3\"\n }, [_c('div', {\n staticClass: \"col-md-12\"\n }, [_c('span', {\n staticClass: \"separator d-flex align-items-center color-gray-8 font-14\"\n }, [_vm._v(\"\\n FILTROS\\n \")])])])]) : _vm._e(), _vm._v(\" \"), _vm.advanced ? _c('div', {\n staticClass: \"row\"\n }, [_vm.$slots.header_advanced ? _c('div', {\n staticClass: \"col-12\"\n }, [_vm._t(\"header_advanced\")], 2) : _vm._e(), _vm._v(\" \"), _vm._l(_vm.advancedFilters, function (filter) {\n return _c('div', {\n key: filter.name,\n class: (filter.class || 'col') + \" col-sm my-1\"\n }, [_c('validation-provider', {\n attrs: {\n \"rules\": filter.validations\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function (ref) {\n var errors = ref.errors;\n return [_c(filter.component, _vm._b({\n tag: \"component\",\n attrs: {\n \"class-container\": filter.classContainer,\n \"name\": filter.componentName != undefined ? filter.componentName : '',\n \"fieldname\": filter.fieldName,\n \"fieldkey\": filter.fieldKey,\n \"options\": filter.options,\n \"placeholder\": filter.placeholder,\n \"mask-type\": filter.maskType,\n \"masked\": filter.masked != undefined ? filter.masked : false,\n \"error\": filter.error && errors[0] ? filter.error : errors[0],\n \"custom-error-msg\": filter.error && errors[0] ? filter.error : errors[0],\n \"type\": filter.type,\n \"i\": filter.icon,\n \"icon\": filter.icon,\n \"left-icon\": filter.leftIcon,\n \"label\": filter.label,\n \"clearable\": filter.clearable,\n \"disabled\": _vm.disabled(filter),\n \"variant\": filter.variant,\n \"is-inline\": filter.isInline,\n \"max-date\": filter.maxDate,\n \"min-date\": filter.minDate,\n \"format\": filter.format,\n \"use-utc\": filter.useUtc\n },\n on: {\n \"input\": function ($event) {\n return _vm.changeFilter(filter);\n },\n \"change\": function ($event) {\n return _vm.changeFilter(filter);\n },\n \"keypress\": function ($event) {\n return _vm.onEnter(filter);\n }\n },\n model: {\n value: _vm.value[filter.name],\n callback: function ($$v) {\n _vm.$set(_vm.value, filter.name, $$v);\n },\n expression: \"value[filter.name]\"\n }\n }, 'component', filter.props, false))];\n }\n }], null, true)\n })], 1);\n }), _vm._v(\" \"), _vm._t(\"advanced\")], 2) : _vm._e()])], 1);\n};\n\nvar __vue_staticRenderFns__ = [];\n/* style */\n\nconst __vue_inject_styles__ = undefined;\n/* scoped */\n\nconst __vue_scope_id__ = undefined;\n/* module identifier */\n\nconst __vue_module_identifier__ = undefined;\n/* functional template */\n\nconst __vue_is_functional_template__ = false;\n/* style inject */\n\n/* style inject SSR */\n\n/* style inject shadow dom */\n\nconst __vue_component__ = /*#__PURE__*/normalizeComponent({\n render: __vue_render__,\n staticRenderFns: __vue_staticRenderFns__\n}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);\n\n// Import vue component\n\nconst install = function installFilterManager(Vue) {\n if (install.installed) return;\n install.installed = true;\n Vue.component('FilterManager', __vue_component__);\n}; // Create module definition for Vue.use()\n// to be registered via Vue.use() as well as Vue.component()\n\n\n__vue_component__.install = install; // Export component by default\n// also be used as directives, etc. - eg. import { RollupDemoDirective } from 'rollup-demo';\n// export const RollupDemoDirective = component;\n\nexport default __vue_component__;\n","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar script = {\n name: \"Pagination\",\n meta: {\n description: \"Indica contenido relacionado en varias páginas.\",\n slots: {\n default: {\n type: \"component\",\n valid: []\n }\n }\n },\n props: {\n showText: {\n type: Boolean,\n required: false,\n default: true\n },\n data: {\n type: Object,\n\n default() {\n return {\n currentPage: 0,\n totalItemCount: 0,\n pageCount: 0,\n count: 0,\n pageSize: 0,\n perPage: 0\n };\n },\n\n meta: {\n description: \"Establece la data relacionada al componente\",\n example: \"\"\n }\n },\n pageSize: {\n type: Number,\n default: 10\n }\n },\n\n data() {\n return {\n pageButtonCount: 5,\n pageButtonOffset: 2\n };\n },\n\n computed: {\n pages() {\n const pages = [];\n const offset = this.pageButtonOffset;\n let endAt = this.pageButtonCount;\n let startAt = 1;\n\n if (this.currentPage > 3 && this.data.pageCount > this.currentPage + offset) {\n endAt = this.currentPage + offset;\n startAt = this.currentPage - offset;\n } else if (this.currentPage > 3 && this.currentPage <= this.data.pageCount) {\n endAt = this.data.pageCount;\n startAt = this.data.pageCount - 4;\n }\n\n if (startAt <= 0) startAt = 1;\n let qtyButtons = 0;\n\n if (this.data.pageCount <= endAt) {\n qtyButtons = this.data.pageCount;\n } else {\n qtyButtons = endAt;\n }\n\n for (let i = startAt; i <= qtyButtons; i++) {\n pages.push(i);\n }\n\n return pages;\n },\n\n pagesMobile() {\n const pages = [];\n const offset = 1;\n let endAt = 1;\n let startAt = 1;\n\n if (this.currentPage > 2 && this.data.pageCount > this.currentPage + offset) {\n endAt = this.currentPage + offset;\n startAt = this.currentPage - offset;\n }\n\n if (startAt < 0) startAt = 1;\n let qtyButtons = 0;\n\n if (this.data.pageCount <= endAt) {\n qtyButtons = this.data.pageCount;\n } else {\n qtyButtons = endAt;\n }\n\n for (let i = startAt; i <= qtyButtons; i++) {\n pages.push(i);\n }\n\n if (this.currentPage != this.lastPage) return [this.currentPage];\n return pages;\n },\n\n total() {\n return this.data.totalItemCount;\n },\n\n pagesSize() {\n return this.data.pageSize || this.data.count || this.data.perPage || this.pageSize;\n },\n\n startIndex() {\n let startIndex = this.pagesSize * this.currentPage - this.pagesSize;\n\n if (startIndex === 0) {\n startIndex = 1;\n }\n\n if (this.data.totalItemCount > 0 && this.currentPage > 1 && this.data.count < 5) {\n startIndex = this.data.totalItemCount - this.data.count;\n }\n\n if (this.currentPage > 1) {\n startIndex = startIndex + 1;\n }\n\n return startIndex;\n },\n\n endIndex() {\n let endIndex = this.startIndex;\n if (this.pagesSize > this.data.count) endIndex += this.data.count;else endIndex += this.pagesSize;\n return endIndex - 1;\n },\n\n currentPage() {\n return this.data.currentPage;\n },\n\n lastPage() {\n return this.data.pageCount;\n }\n\n },\n methods: {\n goToPage(pageNumber) {\n if (pageNumber < 1 || pageNumber > this.data.pageCount) return;\n\n if (pageNumber !== this.currentPage) {\n this.$emit(\"pagination-go-page\", pageNumber);\n }\n },\n\n goToLastPage() {\n if (this.currentPage == this.data.pageCount) return;\n this.$emit(\"pagination-go-page\", this.data.pageCount);\n }\n\n }\n};\n\nfunction normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {\r\n if (typeof shadowMode !== 'boolean') {\r\n createInjectorSSR = createInjector;\r\n createInjector = shadowMode;\r\n shadowMode = false;\r\n }\r\n // Vue.extend constructor export interop.\r\n const options = typeof script === 'function' ? script.options : script;\r\n // render functions\r\n if (template && template.render) {\r\n options.render = template.render;\r\n options.staticRenderFns = template.staticRenderFns;\r\n options._compiled = true;\r\n // functional template\r\n if (isFunctionalTemplate) {\r\n options.functional = true;\r\n }\r\n }\r\n // scopedId\r\n if (scopeId) {\r\n options._scopeId = scopeId;\r\n }\r\n let hook;\r\n if (moduleIdentifier) {\r\n // server build\r\n hook = function (context) {\r\n // 2.3 injection\r\n context =\r\n context || // cached call\r\n (this.$vnode && this.$vnode.ssrContext) || // stateful\r\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional\r\n // 2.2 with runInNewContext: true\r\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\r\n context = __VUE_SSR_CONTEXT__;\r\n }\r\n // inject component styles\r\n if (style) {\r\n style.call(this, createInjectorSSR(context));\r\n }\r\n // register component module identifier for async chunk inference\r\n if (context && context._registeredComponents) {\r\n context._registeredComponents.add(moduleIdentifier);\r\n }\r\n };\r\n // used by ssr in case component is cached and beforeCreate\r\n // never gets called\r\n options._ssrRegister = hook;\r\n }\r\n else if (style) {\r\n hook = shadowMode\r\n ? function (context) {\r\n style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));\r\n }\r\n : function (context) {\r\n style.call(this, createInjector(context));\r\n };\r\n }\r\n if (hook) {\r\n if (options.functional) {\r\n // register for functional component in vue file\r\n const originalRender = options.render;\r\n options.render = function renderWithStyleInjection(h, context) {\r\n hook.call(context);\r\n return originalRender(h, context);\r\n };\r\n }\r\n else {\r\n // inject component registration as beforeCreate hook\r\n const existing = options.beforeCreate;\r\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\r\n }\r\n }\r\n return script;\r\n}\n\nconst isOldIE = typeof navigator !== 'undefined' &&\r\n /msie [6-9]\\\\b/.test(navigator.userAgent.toLowerCase());\r\nfunction createInjector(context) {\r\n return (id, style) => addStyle(id, style);\r\n}\r\nlet HEAD;\r\nconst styles = {};\r\nfunction addStyle(id, css) {\r\n const group = isOldIE ? css.media || 'default' : id;\r\n const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });\r\n if (!style.ids.has(id)) {\r\n style.ids.add(id);\r\n let code = css.source;\r\n if (css.map) {\r\n // https://developer.chrome.com/devtools/docs/javascript-debugging\r\n // this makes source maps inside style tags work properly in Chrome\r\n code += '\\n/*# sourceURL=' + css.map.sources[0] + ' */';\r\n // http://stackoverflow.com/a/26603875\r\n code +=\r\n '\\n/*# sourceMappingURL=data:application/json;base64,' +\r\n btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +\r\n ' */';\r\n }\r\n if (!style.element) {\r\n style.element = document.createElement('style');\r\n style.element.type = 'text/css';\r\n if (css.media)\r\n style.element.setAttribute('media', css.media);\r\n if (HEAD === undefined) {\r\n HEAD = document.head || document.getElementsByTagName('head')[0];\r\n }\r\n HEAD.appendChild(style.element);\r\n }\r\n if ('styleSheet' in style.element) {\r\n style.styles.push(code);\r\n style.element.styleSheet.cssText = style.styles\r\n .filter(Boolean)\r\n .join('\\n');\r\n }\r\n else {\r\n const index = style.ids.size - 1;\r\n const textNode = document.createTextNode(code);\r\n const nodes = style.element.childNodes;\r\n if (nodes[index])\r\n style.element.removeChild(nodes[index]);\r\n if (nodes.length)\r\n style.element.insertBefore(textNode, nodes[index]);\r\n else\r\n style.element.appendChild(textNode);\r\n }\r\n }\r\n}\n\n/* script */\nconst __vue_script__ = script;\n/* template */\n\nvar __vue_render__ = function () {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c('div', {\n staticClass: \"pagination-container\"\n }, [_c('div', {\n staticClass: \"mt-4 ml-3 d-none d-md-flex justify-content-between\"\n }, [_c('span', {\n staticClass: \"pagination-info\",\n class: {\n hidden: !_vm.showText\n }\n }, [_vm._v(\"\\n Mostrando \" + _vm._s(_vm.startIndex) + \" al \" + _vm._s(_vm.endIndex) + \" de \" + _vm._s(_vm.total) + \" resultados\\n \")]), _vm._v(\" \"), _c('ul', {\n staticClass: \"pagination mr-3 d-flex flex-wrap\"\n }, [_vm.currentPage > _vm.pageButtonCount - _vm.pageButtonOffset ? _c('li', {\n staticClass: \"mr-2 bg-light-gray\"\n }, [_c('a', {\n on: {\n \"click\": function ($event) {\n return _vm.goToPage(1);\n }\n }\n }, [_c('em', {\n staticClass: \"fa fa-chevron-double-left\"\n })])]) : _vm._e(), _vm._v(\" \"), _vm.currentPage > 1 ? _c('li', {\n staticClass: \"mr-2 bg-light-gray\"\n }, [_c('a', {\n on: {\n \"click\": function ($event) {\n return _vm.goToPage(_vm.currentPage - 1);\n }\n }\n }, [_c('em', {\n staticClass: \"fa fa-chevron-left\"\n })])]) : _vm._e(), _vm._v(\" \"), _vm._l(_vm.pages, function (page, index) {\n return _c('li', {\n key: page,\n staticClass: \"custom-border border-top border-bottom p-page\",\n class: {\n first: index === 0,\n last: index === _vm.pages.length - 1,\n active: page === _vm.currentPage\n }\n }, [_c('a', {\n on: {\n \"click\": function ($event) {\n return _vm.goToPage(page);\n }\n }\n }, [_vm._v(_vm._s(page))])]);\n }), _vm._v(\" \"), _vm.currentPage < _vm.data.pageCount ? _c('li', {\n staticClass: \"ml-2\"\n }, [_c('a', {\n staticClass: \"bg-light-gray\",\n on: {\n \"click\": function ($event) {\n return _vm.goToPage(_vm.currentPage + 1);\n }\n }\n }, [_c('em', {\n staticClass: \"fa fa-chevron-right\"\n })])]) : _vm._e(), _vm._v(\" \"), _c('li', {\n staticClass: \"ml-2 bg-light-gray\"\n }, [_vm.currentPage < _vm.data.pageCount - _vm.pageButtonOffset ? _c('a', {\n on: {\n \"click\": function ($event) {\n return _vm.goToLastPage();\n }\n }\n }, [_c('em', {\n staticClass: \"fa fa-chevron-double-right\"\n })]) : _vm._e()])], 2)]), _vm._v(\" \"), _c('div', {\n staticClass: \"mobile-div mt-2\"\n }, [_c('div', {\n staticClass: \"row\"\n }, [_c('div', {\n staticClass: \"col-12\"\n }, [_c('span', {\n staticClass: \"pagination-info w-100 pagination-info-mobile\",\n class: {\n hidden: !_vm.showText\n }\n }, [_vm._v(\"Mostrando \" + _vm._s(_vm.startIndex) + \" al \" + _vm._s(_vm.endIndex) + \" de\\n \" + _vm._s(_vm.total) + \" resultados\")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"col-12\"\n }, [_c('div', {\n staticClass: \"justify-content-between\"\n }, [_c('ul', {\n staticClass: \"pagination d-flex mobile\"\n }, [_c('li', {\n staticClass: \"mr-1 rounded bg-light-gray col\"\n }, [_c('a', {\n attrs: {\n \"id\": _vm.id + \"-GoToPrevious\"\n },\n on: {\n \"click\": function ($event) {\n return _vm.goToPage(_vm.currentPage - 1);\n }\n }\n }, [_c('em', {\n staticClass: \"fa fa-chevron-left\"\n })])]), _vm._v(\" \"), _vm._l(_vm.pagesMobile, function (page) {\n return _c('li', {\n key: page,\n staticClass: \"custom-border rounded border-top border-bottom col\",\n class: {\n activeMobile: page === _vm.currentPage\n }\n }, [_c('a', {\n class: {\n activeMobile: page === _vm.currentPage\n },\n attrs: {\n \"id\": _vm.id + \"-GoToPage-\" + page\n },\n on: {\n \"click\": function ($event) {\n return _vm.goToPage(page);\n }\n }\n }, [_vm._v(_vm._s(page))])]);\n }), _vm._v(\" \"), _c('li', {\n staticClass: \"rounded custom-border-last border-top border-bottom border-right col\",\n class: {\n activeMobile: _vm.lastPage === _vm.currentPage\n }\n }, [_c('a', {\n class: {\n activeMobile: _vm.lastPage === _vm.currentPage\n },\n attrs: {\n \"id\": _vm.id + \"-GoToPage-\" + _vm.lastPage\n },\n on: {\n \"click\": function ($event) {\n return _vm.goToPage(_vm.lastPage);\n }\n }\n }, [_vm._v(_vm._s(_vm.lastPage))])]), _vm._v(\" \"), _c('li', {\n staticClass: \"ml-1 rounded bg-light-gray col\"\n }, [_c('a', {\n attrs: {\n \"id\": _vm.id + \"-GoToNext\"\n },\n on: {\n \"click\": function ($event) {\n return _vm.goToPage(_vm.currentPage + 1);\n }\n }\n }, [_c('em', {\n staticClass: \"fa fa-chevron-right\"\n })])])], 2)])])])])]);\n};\n\nvar __vue_staticRenderFns__ = [];\n/* style */\n\nconst __vue_inject_styles__ = function (inject) {\n if (!inject) return;\n inject(\"data-v-e946d93a_0\", {\n source: \".pagination-container .pagination-info[data-v-e946d93a]{text-align:left;font:Regular 16px/19px Lato;letter-spacing:0;color:#11291b;opacity:1}.pagination-container .pagination[data-v-e946d93a]{cursor:pointer;font:Bold 14px/17px Lato}.pagination-container .pagination li[data-v-e946d93a]{background:#f2f2f2 0 0 no-repeat padding-box;border-radius:0;border:0}.pagination-container .pagination li.p-page[data-v-e946d93a]{background:#ffff}.pagination-container .pagination li[data-v-e946d93a]:not(.p-page){border-radius:4px;border:1px solid #dee2e6}.pagination-container .pagination li.active[data-v-e946d93a]{border-color:#2b9d71;background:#2b9d71;color:#fff;overflow:hidden}.pagination-container .pagination li.active a[data-v-e946d93a]{color:#fff}.pagination-container .pagination li.first[data-v-e946d93a]{border-top-left-radius:4px;border-bottom-left-radius:4px;border-left:1px solid #dee2e6;overflow:hidden}.pagination-container .pagination li.last[data-v-e946d93a]{border-top-right-radius:4px;border-bottom-right-radius:4px;border-right:1px solid #dee2e6;overflow:hidden}.pagination-container .pagination li[data-v-e946d93a]:last-child:empty{border-radius:0;border:0;background:0 0}.pagination-container .pagination li a[data-v-e946d93a]{min-width:33px;height:34px;position:relative;float:left;text-align:center;line-height:34px;letter-spacing:0;color:#11291b;text-decoration:none}.pagination-container ul.mobile>li[data-v-e946d93a]:not(.activeMobile){background:#f2f2f2;border:1px solid #e2e2e2;border-radius:4px;color:#727273}.pagination-container .pagination>li a.activeMobile[data-v-e946d93a],.pagination-container li.activeMobile[data-v-e946d93a]{background:#fff 0 0 no-repeat padding-box;color:#2db782;border-radius:4px}.pagination-container ul.mobile>li>a[data-v-e946d93a]{margin:0 auto;width:100%;display:block}.pagination-container .pagination-info-mobile[data-v-e946d93a]{font-size:12px}.pagination-container .mobile-div[data-v-e946d93a]{display:none}@media only screen and (max-width:768px){.pagination-container .mobile-div[data-v-e946d93a]{display:block}}\",\n map: undefined,\n media: undefined\n });\n};\n/* scoped */\n\n\nconst __vue_scope_id__ = \"data-v-e946d93a\";\n/* module identifier */\n\nconst __vue_module_identifier__ = undefined;\n/* functional template */\n\nconst __vue_is_functional_template__ = false;\n/* style inject SSR */\n\n/* style inject shadow dom */\n\nconst __vue_component__ = /*#__PURE__*/normalizeComponent({\n render: __vue_render__,\n staticRenderFns: __vue_staticRenderFns__\n}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, createInjector, undefined, undefined);\n\n// Import vue component\n\nconst install = function installPagination(Vue) {\n if (install.installed) return;\n install.installed = true;\n Vue.component('Pagination', __vue_component__);\n}; // Create module definition for Vue.use()\n// to be registered via Vue.use() as well as Vue.component()\n\n\n__vue_component__.install = install; // Export component by default\n// also be used as directives, etc. - eg. import { RollupDemoDirective } from 'rollup-demo';\n// export const RollupDemoDirective = component;\n\nexport default __vue_component__;\n","import { http, apiMipe } from '@/core/api/';\r\nimport service from '@/services/pei/general';\r\n\r\nconst deticketsBaseURL = 'api/supportticket';\r\n\r\nexport const getUserCases = (params, pageIndex, pageSize) =>\r\n http.get(`${deticketsBaseURL}/search`, {\r\n params: { ...params, pageIndex, pageSize },\r\n });\r\n\r\nexport const getUserCaseStatus = () => http.get(`${deticketsBaseURL}/status`);\r\n\r\nexport const deleteCase = (itemId) =>\r\n http.delete(`${deticketsBaseURL}/case`, {\r\n params: {\r\n itemId,\r\n },\r\n });\r\n\r\nexport const getUserCaseModules = () => http.get(`${deticketsBaseURL}/modules`);\r\n\r\nexport const getUserCaseScreens = (moduleId) =>\r\n http.get(`${deticketsBaseURL}/screens/${moduleId}`);\r\n\r\nexport const getUserCaseReferenceNumberTypes = (params) =>\r\n http.get(`${deticketsBaseURL}/referencenumbertypes`, { params: params });\r\n\r\nexport const getUserCaseById = (itemId) =>\r\n http.get(`${deticketsBaseURL}/case/${itemId}`);\r\n\r\nexport const saveUserCase = (formData) =>\r\n http.post(`${deticketsBaseURL}/create`, formData);\r\n\r\nexport const downloadDocument = async (documentId) => {\r\n http.get(`${deticketsBaseURL}/download/${documentId}`).then((res) => {\r\n const document = res.data;\r\n service.documentDownloadReport(document.content, document.filename);\r\n });\r\n};\r\n\r\nexport const saveAdditionalInfo = (formData) =>\r\n http.post(`${deticketsBaseURL}/saveadditionalinformation`, formData);\r\n\r\nexport const getCommentHistory = (caseNumber) =>\r\n http.get(`${deticketsBaseURL}/commentshistory`, {\r\n params: { caseNumber },\r\n });\r\n\r\nexport const getPreviousContactInformation = () =>\r\n apiMipe.get(`${deticketsBaseURL}/previouscontactinformation`);\r\n\r\nexport const validateReferenceNumber = (reference, referenceType) =>\r\n http.get(\r\n `${deticketsBaseURL}/validatereferencenumber?reference=${reference}&referenceType=${referenceType}`\r\n );\r\n","(function(e,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):\"object\"==typeof exports?exports.VMoney=t():e.VMoney=t()})(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,\"a\",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p=\".\",t(t.s=9)}([function(e,t,n){\"use strict\";t.a={prefix:\"\",suffix:\"\",thousands:\",\",decimal:\".\",precision:2}},function(e,t,n){\"use strict\";var r=n(2),i=n(5),u=n(0);t.a=function(e,t){if(t.value){var o=n.i(i.a)(u.a,t.value);if(\"INPUT\"!==e.tagName.toLocaleUpperCase()){var a=e.getElementsByTagName(\"input\");1!==a.length||(e=a[0])}e.oninput=function(){var t=e.value.length-e.selectionEnd;e.value=n.i(r.a)(e.value,o),t=Math.max(t,o.suffix.length),t=e.value.length-t,t=Math.max(t,o.prefix.length+1),n.i(r.b)(e,t),e.dispatchEvent(n.i(r.c)(\"change\"))},e.onfocus=function(){n.i(r.b)(e,e.value.length-o.suffix.length)},e.oninput(),e.dispatchEvent(n.i(r.c)(\"input\"))}}},function(e,t,n){\"use strict\";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.a;\"number\"==typeof e&&(e=e.toFixed(o(t.precision)));var n=e.indexOf(\"-\")>=0?\"-\":\"\",r=u(e),i=c(r,t.precision),a=d(i).split(\".\"),p=a[0],l=a[1];return p=f(p,t.thousands),t.prefix+n+s(p,l,t.decimal)+t.suffix}function i(e,t){var n=e.indexOf(\"-\")>=0?-1:1,r=u(e),i=c(r,t);return parseFloat(i)*n}function u(e){return d(e).replace(/\\D+/g,\"\")||\"0\"}function o(e){return a(0,e,20)}function a(e,t,n){return Math.max(e,Math.min(t,n))}function c(e,t){var n=Math.pow(10,t);return(parseFloat(e)/n).toFixed(o(t))}function f(e,t){return e.replace(/(\\d)(?=(?:\\d{3})+\\b)/gm,\"$1\"+t)}function s(e,t,n){return t?e+n+t:e}function d(e){return e?e.toString():\"\"}function p(e,t){var n=function(){e.setSelectionRange(t,t)};e===document.activeElement&&(n(),setTimeout(n,1))}function l(e){var t=document.createEvent(\"Event\");return t.initEvent(e,!0,!0),t}var m=n(0);n.d(t,\"a\",function(){return r}),n.d(t,\"d\",function(){return i}),n.d(t,\"b\",function(){return p}),n.d(t,\"c\",function(){return l})},function(e,t,n){\"use strict\";function r(e,t){t&&Object.keys(t).map(function(e){a.a[e]=t[e]}),e.directive(\"money\",o.a),e.component(\"money\",u.a)}Object.defineProperty(t,\"__esModule\",{value:!0});var i=n(6),u=n.n(i),o=n(1),a=n(0);n.d(t,\"Money\",function(){return u.a}),n.d(t,\"VMoney\",function(){return o.a}),n.d(t,\"options\",function(){return a.a}),n.d(t,\"VERSION\",function(){return c});var c=\"0.8.1\";t.default=r,\"undefined\"!=typeof window&&window.Vue&&window.Vue.use(r)},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(1),i=n(0),u=n(2);t.default={name:\"Money\",props:{value:{required:!0,type:[Number,String],default:0},masked:{type:Boolean,default:!1},precision:{type:Number,default:function(){return i.a.precision}},decimal:{type:String,default:function(){return i.a.decimal}},thousands:{type:String,default:function(){return i.a.thousands}},prefix:{type:String,default:function(){return i.a.prefix}},suffix:{type:String,default:function(){return i.a.suffix}}},directives:{money:r.a},data:function(){return{formattedValue:\"\"}},watch:{value:{immediate:!0,handler:function(e,t){var r=n.i(u.a)(e,this.$props);r!==this.formattedValue&&(this.formattedValue=r)}}},methods:{change:function(e){this.$emit(\"input\",this.masked?e.target.value:n.i(u.d)(e.target.value,this.precision))}}}},function(e,t,n){\"use strict\";t.a=function(e,t){return e=e||{},t=t||{},Object.keys(e).concat(Object.keys(t)).reduce(function(n,r){return n[r]=void 0===t[r]?e[r]:t[r],n},{})}},function(e,t,n){var r=n(7)(n(4),n(8),null,null);e.exports=r.exports},function(e,t){e.exports=function(e,t,n,r){var i,u=e=e||{},o=typeof e.default;\"object\"!==o&&\"function\"!==o||(i=e,u=e.default);var a=\"function\"==typeof u?u.options:u;if(t&&(a.render=t.render,a.staticRenderFns=t.staticRenderFns),n&&(a._scopeId=n),r){var c=a.computed||(a.computed={});Object.keys(r).forEach(function(e){var t=r[e];c[e]=function(){return t}})}return{esModule:i,exports:u,options:a}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)(\"input\",{directives:[{name:\"money\",rawName:\"v-money\",value:{precision:e.precision,decimal:e.decimal,thousands:e.thousands,prefix:e.prefix,suffix:e.suffix},expression:\"{precision, decimal, thousands, prefix, suffix}\"}],staticClass:\"v-money\",attrs:{type:\"tel\"},domProps:{value:e.formattedValue},on:{change:e.change}})},staticRenderFns:[]}},function(e,t,n){e.exports=n(3)}])});","import Swal from \"sweetalert2\";\nimport toastType from '@/utils/constants/toastTypes.js'\n\nconst SwAlert = {\n data: () => ({\n toastType\n }),\n methods: {\n ShowToast: (Title, Message, MsjType, Callback) => {\n const defautlTitle = {\n success: 'Proceso exitoso',\n warning: 'Atención',\n error: 'Error',\n };\n let title = Title ? Title : defautlTitle[MsjType];\n const Toast = Swal.mixin({\n toast: true,\n position: \"top-end\",\n showConfirmButton: false,\n timer: 6000,\n onOpen: Callback\n });\n Toast.fire(title, Message, MsjType);\n },\n ShowAlert: (Title, Message, MsjType, Callback) => {\n Swal.fire({\n title: Title,\n text: Message,\n icon: MsjType,\n allowOutsideClick: false,\n onClose: Callback\n });\n },\n ShowModalComponents(ComponentName) {\n Swal.fire({\n html: ComponentName\n });\n },\n ShowConfirm: async (title, Question) => {\n let answer = false;\n await Swal.fire({\n title: title,\n text: Question,\n icon: \"warning\",\n showCancelButton: true,\n confirmButtonColor: \"#3085d6\",\n cancelButtonColor: \"#d33\",\n cancelButtonText: \"No\",\n confirmButtonText: \"Si\"\n }).then(function (response) {\n if (response.value) {\n answer = response.value;\n }\n });\n return answer;\n },\n GetValidationMessages: async messageCode => {\n return this.$ApiGet(\"/api/validationsmessages/messageCode?=\" + messageCode);\n },\n ShowCancelModal: async (title, message, confirmButtonText = \"Sí\", cancelButtonText = \"No\") => {\n let answer = false;\n await Swal.fire({\n title: \"\",\n html: `\n