{"version":3,"sources":["webpack:///./node_modules/vuetify-loader/lib/runtime/installDirectives.js","webpack:///./src/views/GenericDocumentList.vue?51eb","webpack:///./src/views/GenericDocumentList.vue?043b","webpack:///src/views/GenericDocumentList.vue","webpack:///./src/views/GenericDocumentList.vue?c24c","webpack:///./src/views/GenericDocumentList.vue?36d7","webpack:///./src/modules/document/domain/Document.ts","webpack:///./src/components/DataTableWithApi.vue?5ad0","webpack:///src/components/DataTableWithApi.vue","webpack:///./src/components/DataTableWithApi.vue?4af1","webpack:///./src/components/DataTableWithApi.vue?7c67","webpack:///./src/components/DataTableWithApi.vue?0c22","webpack:///./src/modules/document/application/OtherDocDetailComponent.ts"],"names":["module","exports","component","directives","options","extendOptions","i","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_v","_s","title","_e","is_mobile","class","on","$event","$router","push","name","params","companydb_id","_t","scopedSlots","_u","key","fn","ref","_g","_b","screen_data","loading_odocs","refreshDocuments","selectedItems","length","asyncJobId","jobDone","asyncJobState","proxy","model","value","callback","$$v","$set","expression","deleteOtherDocument","downloadDocuments","dialogChangeWorkflow","availableFilters","updateFilter","removeAllFilt","showSelect","hideHeaderCheckbox","showSelectAll","loadingItems","changeSelectAllItems","totalItems","other_documents","other_documents_headers","currentPage","limit","footerItemsPerPageText","footerItemsPerPageOptions","textNoResults","textLoading","data_table_height","itemKey","changeOffset","changeLimit","sortTable","sortTableDesc","selectRow","_l","header","item","includes","formatField","map_document_date","text","items","pageStart","pageStop","itemsLength","staticStyle","confirmDeleteDocument","loading_d_other_doc","workflowOptions","undefined","selectedWorkflow","changeWorkflow","staticRenderFns","components","AppTextField","AppBtn","AppCol","AppRow","DataTableWithApi","MessagePopup","AppConfirmModal","AppDatePicker","JobProgress","AppSelect","AppSearchBar","comp","get_or_create_list_component","props","type","Number","String","required","default","watch","computed","got_feature","userData","permission","can_write","tableHeight","methods","updateFilters","searchDocuments","p","celanAllFilters","ident","uuid","id","file_ext_matches","original_file_name","match","file_extension","toLowerCase","other_doc_detail_component","OtherDocDetailComponent","ApiOtherDocumentRepository","downloadOriginalFile","error","console","field","inputDate","date","Date","formattedDate","toLocaleDateString","res","showDeletePupup","resolvePopupPromise","deleteDocs","downloadDocs","selectAllItems","offset","sortBy","OtherDocListComponent","ApiWorkflowTemplateRepository","mount","VBtn","VCard","VCardActions","VCardText","VCardTitle","VCheckbox","VCol","VContainer","VDataTable","VDialog","VDivider","VIcon","VList","VListItem","VListItemTitle","VMenu","VProgressCircular","VRow","VSelect","VSpacer","VTooltip","DOCS_FIELD_MAP_SHOW","updateFrontendData","frontend","data","count","calculateTableHeight","drawer","obtainFilters","filters","company_id","filter_doc_name","filter_doc_type","filter_date_from","date_from","filter_date_to","date_to","order_by","filter_need_approval","need_approval","rawName","searchFilters","getItems","search","url","className","headers","footerProps","actionBtnList","mobile","clickRow","checkItemSelected","isDisabledRow","selected","changeColSelected","isSelected","select","isDisabledCheckRow","showBtnList","actionBtn","showItemActionBtn","clickColActionBtn","action","icon","Array","Boolean","api_params","Object","disabledRowField","disabledCheckRowField","initNumItemsPerPage","getItemsAbortController","signal","resetPagination","Promise","resolve","reject","abort","AbortController","getParams","fetchData","requestMethod","then","response","$nextTick","job_id","output","results","catch","log","command","client","post","get","jobs","getJob","state","output_info","$emit","length_items","length_selected","search_params","selectedItemsAux","Math","min","rowHeight","document","querySelector","offsetHeight","toString","hasOwnProperty","item_show_btn","VTextField","Resize","document_repo","get_document_url","setDocumentUrl","o_url","filename","fetch","blob","URL","createObjectURL","a","createElement","href","download","body","appendChild","click","removeChild","document_url","replace","downloadFromUrl","get_cropped_document_url","get_original_document_url","find_by_id","workflows","workflow_template","allStages","stages","currentStage","current_stage","setAllStages","setCurrentStage","setDocument","setLoadingAprove","aproveDocument","setLoadingRejected","rejectDocument","comments","setLoadingSave","args","doc_id","saveDocumentComments","setDirty","setLoadingContinue","callContinueWorkflow"],"mappings":"4HAIAA,EAAOC,QAAU,SAA4BC,EAAWC,GACtD,IAAIC,EAAuC,oBA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,KAAKgS,WAAWrK,GACtB3H,KAAK4B,YAAYmR,gBAAe,GAChC/S,KAAK4B,YAAYuR,UAAS,MAGxB,iBAAiBxL,G,yCACnB3H,KAAK4B,YAAYwR,oBAAmB,SAC9BpT,KAAK0Q,cAAc2C,qBAAqB,CAAEJ,OAAQtL,UAClD3H,KAAKgS,WAAWrK,GACtB3H,KAAK4B,YAAYwR,oBAAmB,S","file":"js/chunk-7ac1986a.5c9ec2aa.js","sourcesContent":["// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nmodule.exports = function installDirectives (component, directives) {\n var options = typeof component.exports === 'function'\n ? component.exports.extendOptions\n : component.options\n\n if (typeof component.exports === 'function') {\n options.directives = component.exports.options.directives\n }\n\n options.directives = options.directives || {}\n\n for (var i in directives) {\n options.directives[i] = options.directives[i] || directives[i]\n }\n}\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericDocumentList.vue?vue&type=style&index=0&id=7149f01d&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"container-full-bg-gray\",attrs:{\"fluid\":\"\"}},[_c('app-row',[_c('app-col',{attrs:{\"cols\":\"12\"}},[_c('v-card',{staticClass:\"rounded-lg\",attrs:{\"width\":\"100%\"}},[(_vm.is_mobile)?_c('v-card-title',{staticClass:\"primary--text text--darken-2 px-5 pb-0 card-title-footer-color\"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),_c('v-card-title',{staticClass:\"primary--text text--darken-2 px-5 pb-0 d-flex card-title-footer-color\"},[_c('v-row',{staticClass:\"pa-0 mb-2\"},[_c('v-col',{staticClass:\"pa-0 ma-0 d-flex \",attrs:{\"cols\":\"6\"}},[(!_vm.is_mobile)?_c('p',{staticClass:\"primary--text\"},[_vm._v(\"Documentos\")]):_vm._e(),(_vm.can_write)?_c('v-btn',{class:{'white--text upload_docs ml-0': _vm.is_mobile, 'white--text upload_docs ml-5': !_vm.is_mobile},attrs:{\"color\":\"#060647\"},on:{\"click\":function($event){return _vm.$router.push({ name: 'generic-document-loader', params: { companydb_id: _vm.companydb_id } });}}},[_c('v-icon',{staticClass:\"material-symbols-outlined\",attrs:{\"left\":\"\",\"color\":\"white\",\"small\":\"\"}},[_vm._v(\"upload_file\")]),_vm._v(\"\\n Subir Documentos\\n \")],1):_vm._e()],1),_c('v-col',{staticClass:\"pa-0 ma-0\",attrs:{\"cols\":\"6\"}},[_vm._t(\"search_right\",function(){return [_c('div',{staticClass:\"actions\",attrs:{\"align\":\"right\"}},[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"color\":\"primary\",\"icon\":\"\",\"loading\":_vm.screen_data.loading_odocs},on:{\"click\":function($event){return _vm.refreshDocuments()}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-refresh\")])],1)]}}])},[_c('span',[_vm._v(\"Actualizar\")])]),(!_vm.is_mobile)?_c('v-menu',{attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"action__btn\",attrs:{\"disabled\":!(_vm.screen_data.selectedItems.length > 0)}},'v-btn',attrs,false),on),[_c('JobProgress',{staticClass:\"progress-circular\",attrs:{\"job_id\":_vm.screen_data.asyncJobId},on:{\"done\":function($event){return _vm.jobDone()}},scopedSlots:_vm._u([{key:\"progress\",fn:function(){return [(_vm.screen_data.asyncJobState==='running')?_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}}):_vm._e()]},proxy:true},{key:\"done\",fn:function(){return [_vm._v(\"\\n ACCIONES \\n \"),(_vm.screen_data.action_menu)?_c('v-icon',[_vm._v(\"mdi-menu-up\")]):_c('v-icon',[_vm._v(\"mdi-menu-down\")])]},proxy:true}],null,true),model:{value:(_vm.screen_data.asyncJobState),callback:function ($$v) {_vm.$set(_vm.screen_data, \"asyncJobState\", $$v)},expression:\"screen_data.asyncJobState\"}})],1)]}}],null,false,2635108407),model:{value:(_vm.screen_data.action_menu),callback:function ($$v) {_vm.$set(_vm.screen_data, \"action_menu\", $$v)},expression:\"screen_data.action_menu\"}},[_c('v-list',[(_vm.can_write)?_c('v-list-item',{attrs:{\"link\":\"\"},on:{\"click\":_vm.deleteOtherDocument}},[_c('v-list-item-title',[_vm._v(\"Eliminar documentos\")])],1):_vm._e(),_c('v-list-item',{attrs:{\"link\":\"\"},on:{\"click\":_vm.downloadDocuments}},[_c('v-list-item-title',[_vm._v(\"Descargar documentos\")])],1),(_vm.can_write)?_c('v-list-item',{attrs:{\"link\":\"\"},on:{\"click\":function($event){_vm.screen_data.dialogChangeWorkflow=true}}},[_c('v-list-item-title',[_vm._v(\"Cambiar Workflow\")])],1):_vm._e()],1)],1):_vm._e()],1)]})],2)],1)],1),_c('v-divider'),_c('v-card-text',{staticClass:\"px-0 pt-0 card-title-footer-color\"},[_c('v-row',[_c('app-search-bar',{staticClass:\"mx-5 my-0\",attrs:{\"filters\":_vm.screen_data.availableFilters},on:{\"updateObject\":_vm.updateFilter,\"resetAllFilters\":_vm.removeAllFilt}})],1),(_vm.screen_data.showSelect && !_vm.screen_data.hideHeaderCheckbox)?_c('span',[(_vm.showSelectAll())?_c('v-checkbox',{staticClass:\"ma-0 pt-5 pl-4\",attrs:{\"disabled\":_vm.screen_data.loadingItems},on:{\"change\":_vm.changeSelectAllItems},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_c('span',{staticClass:\"text-field-size\"},[_vm._v(\"Aplicar en los \"+_vm._s(_vm.screen_data.totalItems)+\" elementos\")])]},proxy:true}],null,false,646908293),model:{value:(_vm.screen_data.selectAllItems),callback:function ($$v) {_vm.$set(_vm.screen_data, \"selectAllItems\", $$v)},expression:\"screen_data.selectAllItems\"}}):_vm._e()],1):_vm._e(),_c('v-data-table',{staticClass:\"pt-5 px-5\",attrs:{\"items\":_vm.screen_data.other_documents,\"headers\":_vm.screen_data.other_documents_headers,\"show-select\":_vm.screen_data.showSelect,\"loading\":_vm.screen_data.loadingItems,\"server-items-length\":_vm.screen_data.totalItems,\"page\":_vm.screen_data.currentPage,\"items-per-page\":_vm.screen_data.limit,\"footer-props\":{\n 'items-per-page-text': _vm.screen_data.footerItemsPerPageText,\n 'items-per-page-options': _vm.screen_data.footerItemsPerPageOptions,\n },\"no-data-text\":_vm.screen_data.textNoResults,\"loading-text\":_vm.screen_data.textLoading,\"height\":_vm.data_table_height,\"fixed-header\":\"\",\"item-key\":_vm.screen_data.itemKey,\"mobile\":_vm.is_mobile},on:{\"update:page\":[function($event){return _vm.$set(_vm.screen_data, \"currentPage\", $event)},_vm.changeOffset],\"update:items-per-page\":_vm.changeLimit,\"update:sort-by\":_vm.sortTable,\"update:sort-desc\":_vm.sortTableDesc,\"toggle-select-all\":function($event){},\"click:row\":_vm.selectRow},scopedSlots:_vm._u([_vm._l((_vm.screen_data.other_documents_headers),function(header){return {key:(\"item.\" + (header.value)),fn:function(ref){\n var item = ref.item;\nreturn [_c('span',{staticClass:\"font-color\"},[(['type', 'state'].includes(header.value))?_vm._t(header.value,function(){return [_vm._v(_vm._s(_vm.formatField(item[header.value])))]},null,item):(header.value == 'created')?_vm._t(header.value,function(){return [_vm._v(_vm._s(_vm.map_document_date(item[header.value])))]},null,item):(header.value == 'id' && item['uuid'])?_vm._t(header.value,function(){return [_vm._v(_vm._s(item['uuid']))]},null,item):_vm._t(header.value,function(){return [_vm._v(_vm._s(item[header.value]))]},null,item)],2)]}}}),(_vm.screen_data.hideHeaderCheckbox)?{key:\"header.data-table-select\",fn:function(){return undefined},proxy:true}:null,_vm._l((_vm.screen_data.other_documents_headers),function(header){return {key:(\"header.\" + (header.value)),fn:function(ref){\n var header = ref.header;\nreturn [_c('span',{attrs:{\"tabindex\":\"0\"}},[_vm._v(\"\\n \"+_vm._s(header.text)+\"\\n \")])]}}}),{key:\"footer.page-text\",fn:function(items){return [_vm._v(\"\\n \"+_vm._s(items.pageStart)+\" - \"+_vm._s(items.pageStop)+\" de \"+_vm._s(items.itemsLength)+\"\\n \")]}}],null,true),model:{value:(_vm.screen_data.selectedItems),callback:function ($$v) {_vm.$set(_vm.screen_data, \"selectedItems\", $$v)},expression:\"screen_data.selectedItems\"}})],1),_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"600\"},model:{value:(_vm.screen_data.showDeletePupup),callback:function ($$v) {_vm.$set(_vm.screen_data, \"showDeletePupup\", $$v)},expression:\"screen_data.showDeletePupup\"}},[_c('v-card',[_c('v-card-text',{staticClass:\"text-center\"},[_c('v-icon',{staticClass:\"mt-4\",attrs:{\"size\":\"55\",\"color\":\"primary\"}},[_vm._v(\"mdi-alert-outline\")])],1),_c('v-card-text',{staticClass:\"text-center\",staticStyle:{\"font-size\":\"16px\"}},[_vm._v(\"\\n Se eliminarán los documentos seleccionados. \"),_c('b',[_vm._v(\"¿Está seguro?\")])]),_c('v-checkbox',{staticClass:\"ma-0 pt-5 pl-4\",attrs:{\"label\":\"Eliminar registros asociados\"},model:{value:(_vm.screen_data.cascadeEntities),callback:function ($$v) {_vm.$set(_vm.screen_data, \"cascadeEntities\", $$v)},expression:\"screen_data.cascadeEntities\"}}),_c('v-card-actions',{staticClass:\"action_btns\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"action_btn\",attrs:{\"outlined\":\"\"},on:{\"click\":function($event){return _vm.confirmDeleteDocument(false)}}},[_vm._v(\"\\n Cancelar\\n \")]),_c('v-btn',{staticClass:\"white--text action_btn\",attrs:{\"color\":\"#060647\",\"loading\":_vm.screen_data.loading_d_other_doc},on:{\"click\":function($event){return _vm.confirmDeleteDocument(true)}}},[_vm._v(\"\\n Eliminar\\n \")])],1)],1)],1)],1)],1)],1),_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"500\"},model:{value:(_vm.screen_data.dialogChangeWorkflow),callback:function ($$v) {_vm.$set(_vm.screen_data, \"dialogChangeWorkflow\", $$v)},expression:\"screen_data.dialogChangeWorkflow\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"card__headline\"},[_c('span',[_vm._v(\"Modificación de Workflow\")])]),_c('v-divider'),_c('v-card-text',[_c('v-select',{staticClass:\"my-4\",attrs:{\"items\":_vm.screen_data.workflowOptions,\"item-text\":\"name\",\"item-value\":\"id\",\"outlined\":\"\",\"dense\":\"\",\"hide-details\":\"\"},model:{value:(_vm.screen_data.selectedWorkflow),callback:function ($$v) {_vm.$set(_vm.screen_data, \"selectedWorkflow\", $$v)},expression:\"screen_data.selectedWorkflow\"}})],1),_c('v-card-actions',{staticClass:\"action_btns\"},[_c('v-spacer'),_c('v-btn',{staticClass:\"action_btn\",attrs:{\"outlined\":\"\"},on:{\"click\":function($event){_vm.screen_data.dialogChangeWorkflow=false}}},[_vm._v(\"\\n Cancelar\\n \")]),_c('v-btn',{staticClass:\"white--text action_btn\",attrs:{\"color\":\"#060647\",\"disabled\":_vm.screen_data.selectedWorkflow == undefined},on:{\"click\":function($event){return _vm.changeWorkflow()}}},[_vm._v(\"\\n Cambiar\\n \")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericDocumentList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericDocumentList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GenericDocumentList.vue?vue&type=template&id=7149f01d&scoped=true&\"\nimport script from \"./GenericDocumentList.vue?vue&type=script&lang=js&\"\nexport * from \"./GenericDocumentList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GenericDocumentList.vue?vue&type=style&index=0&id=7149f01d&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7149f01d\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCard,VCardActions,VCardText,VCardTitle,VCheckbox,VCol,VContainer,VDataTable,VDialog,VDivider,VIcon,VList,VListItem,VListItemTitle,VMenu,VProgressCircular,VRow,VSelect,VSpacer,VTooltip})\n","\nexport const DOCS_FIELD_MAP_SHOW = {\n 'payroll': 'Nómina',\n 'contract': 'Contrato',\n 'model_tax':'Modelos/Impuestos',\n 'certificate':'Certificado',\n 'bill':'Factura',\n 'other': 'Otros',\n 'pending': 'Pendiente',\n 'waiting_approval': 'Pendiente de aprobación',\n 'approved': 'Aprobado',\n 'rejected': 'Rechazado',\n 'insufficient_credits': 'Saldo insuficiente',\n 'lost_workflow': 'Error workflow desaparecido', \n 'error': 'Error',\n 'done': 'Completado',\n 'WaitForApproval': 'Esperar aprobación',\n 'AskAI': 'Extracción de informacion con IA',\n 'AddDocumentRepresentationToConversation': 'Añadir representación de documento a conversación',\n 'CompleteConversation': 'Completar conversación con IA',\n 'UploadAsInvoice': 'Subir como factura',\n 'SendThroughEmail': 'Enviar por correo electrónico',\n 'SendEmailWithTemplate': 'Enviar correo electrónico con plantilla',\n 'LookupAndMatchInstance': 'Buscar y adjuntar registro',\n 'LookupAndMatchMultipleInstances': 'Buscar y adjuntar varios registros',\n 'ExtractInstanceFromRawData': 'Extraer registro previamente inyectado',\n 'CreateInstanceFromContext': 'Crear registro a partir de contexto',\n 'CreateInstance': 'Crear registro',\n 'CreateInstancesFromList': 'Crear registros a partir de lista',\n 'AddInstanceToList': 'Añadir registro a lista',\n 'ModifyContext': 'Modificar registro',\n 'PayrollAccounting': 'Contabilizar nómina',\n 'SendDataToEndpoint': 'Enviar datos a un endpoint',\n 'NotifyCounterpart': 'Notificar a la contraparte',\n 'RunCommand': 'Ejecutar comando',\n 'RunScript': 'Ejecutar script de python',\n};\n\nexport function updateFrontendData(frontend, data, count) {\n frontend.other_documents = data\n // frontend.other_documents = frontend.other_documents.slice(frontend.offset, frontend.offset + frontend.limit)\n frontend.selectedItems = []\n frontend.totalItems = count\n if(frontend.totalItems > 0){\n frontend.showSelect = true\n }\n frontend.selectAllItems = false;\n frontend.calculateTableHeight();\n frontend.drawer = false;\n}\n\nexport function obtainFilters(frontend) {\n frontend.filters=[]\n frontend.filters.push({company_id: frontend.companydb_id});\n if(frontend.filter_doc_name)\n frontend.filters.push({original_file_name: frontend.filter_doc_name});\n if(frontend.filter_doc_type)\n frontend.filters.push({type: frontend.filter_doc_type});\n if(frontend.filter_date_from)\n frontend.filters.push({date_from: frontend.filter_date_from});\n if(frontend.filter_date_to)\n frontend.filters.push({date_to: frontend.filter_date_to});\n if(frontend.sortBy && frontend.sortBy != '')\n frontend.filters.push({order_by: frontend.sortBy})\n if(frontend.filter_need_approval)\n frontend.filters.push({need_approval: frontend.filter_need_approval})\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{directives:[{name:\"resize\",rawName:\"v-resize\",value:(_vm.calculateTableHeight),expression:\"calculateTableHeight\"}],staticClass:\"rounded-xl\",attrs:{\"width\":\"100%\"}},[_c('v-card-title',{staticClass:\"primary--text text--darken-2 px-5 pb-0 d-flex card-title-footer-color\"},[_c('v-row',{staticClass:\"pa-0 ma-0\"},[_c('v-col',{staticClass:\"pa-0 ma-0\",attrs:{\"cols\":\"3\"}},[(_vm.searchFilters.length > 0)?_c('v-text-field',{staticClass:\"rounded-lg ma-0 pb-3 pt-0 text-field-size input-search\",attrs:{\"placeholder\":\"Buscar\",\"color\":\"primary\",\"hide-details\":\"auto\",\"height\":\"36px\",\"prepend-inner-icon\":\"mdi-magnify\",\"clearable\":\"\"},on:{\"input\":_vm.getItems},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}}):_vm._e()],1),_c('v-col',{staticClass:\"pa-0 ma-0\",attrs:{\"cols\":\"9\"}},[(_vm.url === 'async_command_bus/')?_c('div',{attrs:{\"align\":\"right\"}},[_c('JobProgress',{attrs:{\"job_id\":_vm.asyncJobId},on:{\"done\":_vm.jobDone},scopedSlots:_vm._u([{key:\"progress\",fn:function(){return [(_vm.asyncJobState==='running')?_c('v-progress-circular',{staticClass:\"progress_circle\",attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}}):_vm._e()]},proxy:true},{key:\"done\",fn:function(){return [_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"color\":\"primary\",\"icon\":\"\"},on:{\"click\":function($event){return _vm.getItems()}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-refresh\")])],1)]}}],null,false,1462712396)},[_c('span',[_vm._v(\"Actualizar\")])])]},proxy:true}],null,false,3959927759),model:{value:(_vm.asyncJobState),callback:function ($$v) {_vm.asyncJobState=$$v},expression:\"asyncJobState\"}})],1):_vm._t(\"search_right\")],2)],1)],1),_c('v-divider'),_c('v-card-text',{staticClass:\"px-0 pt-0 card-title-footer-color\"},[(_vm.showSelect && !_vm.hideHeaderCheckbox)?_c('span',[(_vm.showSelectAll())?_c('v-checkbox',{staticClass:\"ma-0 pt-5 pl-4\",attrs:{\"disabled\":_vm.loadingItems},on:{\"change\":_vm.changeSelectAllItems},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_c('span',{staticClass:\"text-field-size\"},[_vm._v(\"Aplicar en los \"+_vm._s(_vm.totalItems)+\" elementos\")])]},proxy:true}],null,false,2676149096),model:{value:(_vm.selectAllItems),callback:function ($$v) {_vm.selectAllItems=$$v},expression:\"selectAllItems\"}}):_vm._e()],1):_vm._e(),_c('v-data-table',{class:_vm.className,attrs:{\"items\":_vm.items,\"footer-items-per-page-text\":_vm.footerItemsPerPageText,\"footer-items-per-page-options\":_vm.footerItemsPerPageOptions,\"headers\":_vm.headers,\"show-select\":_vm.showSelect,\"loading\":_vm.loadingItems,\"server-items-length\":_vm.totalItems,\"page\":_vm.currentPage,\"footer-props\":_vm.footerProps,\"action-btn-list\":_vm.actionBtnList,\"no-data-text\":_vm.textNoResults,\"loading-text\":_vm.textLoading,\"height\":_vm.tableHeight,\"fixed-header\":\"\",\"item-key\":_vm.itemKey,\"mobile\":_vm.mobile},on:{\"update:page\":[function($event){_vm.currentPage=$event},_vm.changeOffset],\"click:row\":_vm.clickRow,\"update:items-per-page\":_vm.changeLimit,\"input\":_vm.checkItemSelected,\"update:sort-by\":_vm.sortTable,\"update:sort-desc\":_vm.sortTableDesc,\"toggle-select-all\":function($event){}},scopedSlots:_vm._u([_vm._l((_vm.headers),function(header){return {key:(\"item.\" + (header.value)),fn:function(ref){\nvar item = ref.item;\nreturn [_c('span',{class:_vm.isDisabledRow(item) ? 'font-color-disabled': 'font-color'},[_vm._t(header.value,function(){return [_vm._v(_vm._s(item[header.value]))]},null,item)],2)]}}}),(_vm.hideHeaderCheckbox)?{key:\"header.data-table-select\",fn:function(){return undefined},proxy:true}:null,_vm._l((_vm.headers),function(header){return {key:(\"header.\" + (header.value)),fn:function(ref){\nvar header = ref.header;\nreturn [(header.checkbox)?_c('v-checkbox',{staticClass:\"ma-0 pa-0\",attrs:{\"value\":header.selected,\"hide-details\":\"\"},on:{\"change\":function($event){return _vm.changeColSelected(header)}},scopedSlots:_vm._u([{key:\"label\",fn:function(){return [_c('span',[_vm._v(_vm._s(header.text))])]},proxy:true}],null,true)}):_c('span',{attrs:{\"tabindex\":\"0\"}},[_vm._v(\"\\n \"+_vm._s(header.text)+\"\\n \")])]}}}),{key:\"item.data-table-select\",fn:function(ref){\nvar item = ref.item;\nvar isSelected = ref.isSelected;\nvar select = ref.select;\nreturn [_c('v-checkbox',{staticClass:\"ma-0 pa-0\",attrs:{\"value\":isSelected,\"disabled\":_vm.isDisabledCheckRow(item),\"hide-details\":\"\"},on:{\"change\":function($event){return select($event)}}})]}},(_vm.showBtnList && _vm.actionBtnList.length > 0)?{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn _vm._l((_vm.actionBtnList),function(actionBtn){return _c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [(_vm.showItemActionBtn(actionBtn, item))?_c('v-btn',_vm._g(_vm._b({attrs:{\"color\":\"primary\",\"disabled\":_vm.isDisabledRow(item),\"icon\":\"\"},on:{\"click\":function($event){return _vm.clickColActionBtn(actionBtn.action, item)}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(_vm._s(actionBtn.icon))])],1):_vm._e()]}}],null,true)},[_c('span',[_vm._v(_vm._s(actionBtn.name))])])})}}:null,{key:\"footer.page-text\",fn:function(items){return [_vm._v(\"\\n \"+_vm._s(items.pageStart)+\" - \"+_vm._s(items.pageStop)+\" de \"+_vm._s(items.itemsLength)+\"\\n \")]}}],null,true),model:{value:(_vm.selectedItems),callback:function ($$v) {_vm.selectedItems=$$v},expression:\"selectedItems\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableWithApi.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableWithApi.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DataTableWithApi.vue?vue&type=template&id=ab42b648&scoped=true&\"\nimport script from \"./DataTableWithApi.vue?vue&type=script&lang=js&\"\nexport * from \"./DataTableWithApi.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DataTableWithApi.vue?vue&type=style&index=0&id=ab42b648&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ab42b648\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCard,VCardText,VCardTitle,VCheckbox,VCol,VDataTable,VDivider,VIcon,VProgressCircular,VRow,VTextField,VTooltip})\n\n\n/* vuetify-loader */\nimport installDirectives from \"!../../node_modules/vuetify-loader/lib/runtime/installDirectives.js\"\nimport Resize from 'vuetify/lib/directives/resize'\ninstallDirectives(component, {Resize})\n","export * from \"-!../../node_modules/@vue/cli-service/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTableWithApi.vue?vue&type=style&index=0&id=ab42b648&scoped=true&lang=css&\"","\nimport { OtherDocumentRepository } from \"../domain/OtherDocumentRepository\"\nimport { VueOtherDocumentScreenData } from \"../infra/VueOtherDocumentScreenData\"\n\nexport class OtherDocDetailComponent {\n \n document_repo:OtherDocumentRepository\n screen_data: VueOtherDocumentScreenData\n\n constructor(document_repo:OtherDocumentRepository, screen_data: VueOtherDocumentScreenData){\n this.document_repo = document_repo\n this.screen_data = screen_data\n }\n\n async get_document_url(id){\n let url = await this.document_repo.get_document_url(id)\n this.screen_data.setDocumentUrl(url)\n }\n\n async downloadFromUrl(o_url, filename){\n const res = await fetch(o_url)\n const blob = await res.blob();\n const url = await URL.createObjectURL(blob)\n const a = document.createElement(\"a\");\n a.href = url;\n a.download =filename;\n document.body.appendChild(a);\n a.click();\n document.body.removeChild(a);\n }\n async downloadPDF(id){\n if (!this.screen_data.document_url){\n await this.get_document_url(id)\n }\n let filename = this.screen_data.document['original_file_name']? this.screen_data.document['original_file_name'] : 'document.pdf'\n //replace extension\n filename = filename.replace(/\\.[^/.]+$/, \".pdf\");\n await this.downloadFromUrl(this.screen_data.document_url,filename)\n }\n async downloadCroppedPDF(id){\n let url = await this.document_repo.get_cropped_document_url(id)\n let filename = this.screen_data.document['original_file_name']? this.screen_data.document['original_file_name'] : 'document.pdf'\n //replace extension\n filename = \"CROPPED_\" + filename.replace(/\\.[^/.]+$/, \".pdf\");\n await this.downloadFromUrl(url, filename)\n }\n async downloadOriginalFile(id, original_file_name: string){\n let url = await this.document_repo.get_original_document_url(id)\n let filename = original_file_name? original_file_name : 'document.pdf'\n // no need to replace extension, we download the original file\n await this.downloadFromUrl(url, filename)\n }\n\n async find_by_id(id: any): Promise {\n let document = await this.document_repo.find_by_id(id)\n if (document) {\n if (document.workflows.length > 0 && document.workflows[0].workflow_template) {\n let allStages = document.workflows[0].workflow_template.stages\n let currentStage = document.workflows[0].current_stage\n this.screen_data.setAllStages(allStages)\n this.screen_data.setCurrentStage(currentStage)\n }\n this.screen_data.setDocument(document)\n }\n \n }\n\n async aproveDocument(id: any): Promise {\n this.screen_data.setLoadingAprove(true)\n await this.document_repo.aproveDocument(id)\n await this.find_by_id(id)\n this.screen_data.setLoadingAprove(false)\n }\n\n async rejectDocument(id: any): Promise {\n this.screen_data.setLoadingRejected(true)\n await this.document_repo.rejectDocument(id)\n await this.find_by_id(id)\n this.screen_data.setDocument(id)\n this.screen_data.setLoadingRejected(false)\n }\n\n async saveDocumentComments(id, comments): Promise {\n this.screen_data.setLoadingSave(true)\n let args = { doc_id: id, comments: comments }\n await this.document_repo.saveDocumentComments(args)\n await this.find_by_id(id)\n this.screen_data.setLoadingSave(false)\n this.screen_data.setDirty(false)\n }\n\n async continueWorkflow(id:number) {\n this.screen_data.setLoadingContinue(true)\n await this.document_repo.callContinueWorkflow({ doc_id: id })\n await this.find_by_id(id)\n this.screen_data.setLoadingContinue(false)\n }\n}"],"sourceRoot":""}