{"version":3,"sources":["webpack:///./src/views/WorkflowList.vue?63c9","webpack:///./src/modules/document/application/WorkflowTemplateListComponent.ts","webpack:///./src/modules/document/domain/WorkflowTemplateListScreenData.ts","webpack:///src/views/WorkflowList.vue","webpack:///./src/views/WorkflowList.vue?a2d6","webpack:///./src/views/WorkflowList.vue?623b","webpack:///./src/modules/document/domain/Document.ts","webpack:///./src/views/WorkflowList.vue?b211"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_v","_t","scopedSlots","_u","key","fn","ref","on","_g","_b","$event","refreshList","newWfTemplate","screen_data","templates","footerItemsPerPageText","footerItemsPerPageOptions","template_headers","showSelect","loadingItems","totalItems","textNoResults","textLoading","itemKey","mobile","sortTable","sortTableDesc","changeLimit","changeOffset","selectRow","_l","header","item","includes","value","_s","formatField","text","items","pageStart","pageStop","itemsLength","model","callback","$$v","$set","expression","_e","staticRenderFns","WorkflowTemplateListComponent","workflow_repo","company_id","res","filter_by_company_id","sort_by","limit","offset","setTemplates","selectedItems","WorkflowTemplateListScreenData","sortable","hideHeaderCheckbox","name","components","AppBtn","AppCol","AppRow","workflow_list_component","props","companydb_id","type","Number","String","required","default","methods","field","$router","push","id","length","ApiWorkflowTemplateRepository","component","VBtn","VCard","VCardText","VCardTitle","VCol","VContainer","VDataTable","VDivider","VIcon","VRow","VTooltip","DOCS_FIELD_MAP_SHOW","updateFrontendData","frontend","data","count","other_documents","selectAllItems","calculateTableHeight","drawer","obtainFilters","filters","filter_doc_name","original_file_name","filter_doc_type","filter_date_from","date_from","filter_date_to","date_to","sortBy","order_by","filter_need_approval","need_approval"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,YAAY,yBAAyBC,MAAM,CAAC,MAAQ,KAAK,CAAEP,EAA2B,wBAAEI,EAAG,UAAU,CAACA,EAAG,UAAU,CAACG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BACrB,mBAAsB,6BACtB,kBAAqB,6BACrB,WAAc,mBACd,UAAa,6BAGV,SAASC,EAAmBC,EAAUC,EAAMC,GAC/CF,EAASG,gBAAkBF,EAE3BD,EAAStC,cAAgB,GACzBsC,EAAS5E,WAAa8E,EACnBF,EAAS5E,WAAa,IACrB4E,EAAS9E,YAAa,GAE1B8E,EAASI,gBAAiB,EAC1BJ,EAASK,uBACTL,EAASM,QAAS,EAGf,SAASC,EAAcP,GAC1BA,EAASQ,QAAQ,GACjBR,EAASQ,QAAQ1B,KAAK,CAAC3B,WAAY6C,EAAS3B,eACzC2B,EAASS,iBACRT,EAASQ,QAAQ1B,KAAK,CAAC4B,mBAAoBV,EAASS,kBACrDT,EAASW,iBACRX,EAASQ,QAAQ1B,KAAK,CAACR,KAAM0B,EAASW,kBACvCX,EAASY,kBACRZ,EAASQ,QAAQ1B,KAAK,CAAC+B,UAAWb,EAASY,mBAC5CZ,EAASc,gBACRd,EAASQ,QAAQ1B,KAAK,CAACiC,QAASf,EAASc,iBAC1Cd,EAASgB,QAA6B,IAAnBhB,EAASgB,QAC3BhB,EAASQ,QAAQ1B,KAAK,CAACmC,SAAUjB,EAASgB,SAC3ChB,EAASkB,sBACRlB,EAASQ,QAAQ1B,KAAK,CAACqC,cAAenB,EAASkB,yB,2DCjEvD","file":"js/chunk-4417c31e.8cc2a050.js","sourcesContent":["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\":\"\"}},[(_vm.workflow_list_component)?_c('app-row',[_c('app-col',{attrs:{\"cols\":\"12\"}},[_c('v-card',{staticClass:\"rounded-xl pt-0 px-0\",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\"}},[_c('span',{staticClass:\"primary_blue--text\"},[_vm._v(\"Workflows\")])]),_c('v-col',{staticClass:\"pa-0 ma-0\",attrs:{\"cols\":\"9\"}},[_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\":\"\"},on:{\"click\":function($event){return _vm.refreshList()}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-refresh\")])],1)]}}],null,false,133179331)},[_c('span',[_vm._v(\"Actualizar\")])]),_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.newWfTemplate()}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-plus\")])],1)]}}],null,false,3162658086)},[_c('span',[_vm._v(\"Nuevo Workflow\")])])],1)]})],2)],1)],1),_c('v-divider'),_c('v-card-text',{staticClass:\"px-0 pt-0 card-title-footer-color\"},[_c('v-data-table',{attrs:{\"items\":_vm.screen_data.templates,\"footer-items-per-page-text\":_vm.screen_data.footerItemsPerPageText,\"footer-items-per-page-options\":_vm.screen_data.footerItemsPerPageOptions,\"headers\":_vm.screen_data.template_headers,\"show-select\":_vm.screen_data.showSelect,\"loading\":_vm.screen_data.loadingItems,\"server-items-length\":_vm.screen_data.totalItems,\"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,\"fixed-header\":\"\",\"item-key\":_vm.screen_data.itemKey,\"mobile\":_vm.screen_data.mobile},on:{\"toggle-select-all\":function($event){},\"update:sort-by\":_vm.sortTable,\"update:sort-desc\":_vm.sortTableDesc,\"update:items-per-page\":_vm.changeLimit,\"update:page\":_vm.changeOffset,\"click:row\":_vm.selectRow},scopedSlots:_vm._u([_vm._l((_vm.screen_data.workflow_headers),function(header){return {key:(\"item.\" + (header.value)),fn:function(ref){\n var item = ref.item;\nreturn [_c('span',{staticClass:\"font-color\"},[(['aaaaaaaaaaaaaaaaaaaaaaa'].includes(header.value))?_vm._t(header.value,function(){return [_vm._v(_vm._s(_vm.formatField(item[header.value])))]},null,item):_vm._t(header.value,function(){return [_vm._v(_vm._s(item[header.value]))]},null,item)],2)]}}}),_vm._l((_vm.screen_data.workflow_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)],1)],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { WorkflowTemplateRepository } from \"../domain/WorkflowTemplateRepository\"\nimport { WorkflowTemplateListScreenData } from \"../domain/WorkflowTemplateListScreenData\"\n\nexport class WorkflowTemplateListComponent{\n \n workflow_repo:WorkflowTemplateRepository\n screen_data: WorkflowTemplateListScreenData\n company_id:number\n \n constructor(workflow_repo:WorkflowTemplateRepository, screen_data:WorkflowTemplateListScreenData,company_id:number){ \n this.workflow_repo = workflow_repo\n this.screen_data = screen_data\n this.company_id = company_id\n }\n\n\n async refreshList(){\n this.screen_data.loadingItems = true\n let res = await this.workflow_repo.filter_by_company_id(this.company_id, this.screen_data.sort_by, this.screen_data.limit, this.screen_data.offset)\n this.screen_data.setTemplates(res['results'])\n this.screen_data.totalItems = res['count']\n this.screen_data.loadingItems = false\n this.screen_data.selectedItems = []\n }\n \n}","import { WorkflowTemplate } from \"./WorkflowTemplate\";\n\nexport class WorkflowTemplateListScreenData {\n \n templates: WorkflowTemplate[];\n template_headers: Object;\n selectedItems: Array;\n loadingItems: boolean;\n footerItemsPerPageText: string;\n footerItemsPerPageOptions: Object;\n showSelect: boolean;\n textNoResults: string;\n textLoading: string;\n itemKey: string;\n hideHeaderCheckbox: boolean;\n totalItems: number;\n sort_by: string;\n limit: number;\n offset: number;\n //snackbar: Object;\n constructor(){\n this.templates = []\n this.template_headers = [\n {\n text: \"Id\",\n sortable: true,\n value: \"id\",\n },\n {\n text: \"Nombre\",\n sortable: true,\n value: \"name\",\n },\n ]\n this.selectedItems = []\n this.loadingItems = false\n this.footerItemsPerPageText = \"Items por página\"\n this.footerItemsPerPageOptions = [5, 10, 15, 20, 25, 30, 35, 40, 45, 50]\n this.showSelect = false\n this.textNoResults = \"No se encontraron resultados\"\n this.textLoading = \"Cargando...\"\n this.itemKey = \"id\"\n this.hideHeaderCheckbox = false\n this.totalItems = 0\n this.sort_by = \"-id\"\n this.limit = 10\n this.offset = 0\n //this.snackbar = {}\n }\n\n setTemplates(templates: WorkflowTemplate[]){\n this.templates = templates\n }\n\n\n}","\n \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!./WorkflowList.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!./WorkflowList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WorkflowList.vue?vue&type=template&id=333a970c&scoped=true&\"\nimport script from \"./WorkflowList.vue?vue&type=script&lang=js&\"\nexport * from \"./WorkflowList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./WorkflowList.vue?vue&type=style&index=0&id=333a970c&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 \"333a970c\",\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 { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } 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 { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCard,VCardText,VCardTitle,VCol,VContainer,VDataTable,VDivider,VIcon,VRow,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}","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!./WorkflowList.vue?vue&type=style&index=0&id=333a970c&scoped=true&lang=css&\""],"sourceRoot":""}