{"version":3,"sources":["webpack:///./src/services/genericGETJson.js","webpack:///./src/services/configurations/getProducto.js","webpack:///./src/views/configuration/ProductsImpuestos.vue?a6c1","webpack:///./src/components/filters/ProductsImpuestosFilter.vue?9363","webpack:///src/components/filters/ProductsImpuestosFilter.vue","webpack:///./src/components/filters/ProductsImpuestosFilter.vue?c435","webpack:///./src/components/filters/ProductsImpuestosFilter.vue","webpack:///./src/components/ProductLinkImpuestosDialog.vue?3639","webpack:///./src/services/configurations/getImpuestosSimple.js","webpack:///src/components/ProductLinkImpuestosDialog.vue","webpack:///./src/components/ProductLinkImpuestosDialog.vue?142b","webpack:///./src/components/ProductLinkImpuestosDialog.vue","webpack:///./src/services/configurations/getProductsImpuestosPag.js","webpack:///./src/services/configurations/getProductsImpuestosExcel.js","webpack:///./src/services/configurations/linkProductToImpuestos.js","webpack:///./src/services/configurations/unlinkProductToImpuestos.js","webpack:///src/views/configuration/ProductsImpuestos.vue","webpack:///./src/views/configuration/ProductsImpuestos.vue?ae42","webpack:///./src/views/configuration/ProductsImpuestos.vue"],"names":["async","genericGETJson","url","data","params","req","method","headers","res","axiosInstance","getProducto","render","_vm","this","_h","$createElement","_c","_self","attrs","toggleTableTools","slot","header","pagination","total","currentPage","pageSize","on","changeCurrentPage","changePerPage","staticClass","toggleSearchesDialog","toggleFilters","tags","removeFilterTagHanlder","removeAllTagsHandler","saveTagsHandler","spanish","kendo","dataResult","isGeneralLoading","selectedField","dataStateChange","columnReorder","openPath","onColumnsSubmit","sortChange","filterChange","onSelectionChange","onHeaderSelectionChange","labelBtnExcel","loadingExcel","exportExcel","$t","golinkImporte","hasSelected","rowsSelected","rowsTotal","unselect","_v","unlink","linkProductToImporteDialog","idClienteProduct","toggleDialogs","applyLinkHandler","filterPanel","applyFiltersHandler","numberSearches","idVista","saveSearchDialog","toggleDialogSearches","applySearchHandler","ref","vuexnamespace","searchesPanel","updateNumberSearches","staticRenderFns","panelOpen","togglePanel","_s","model","value","form","taxRateMin","callback","$$v","$set","expression","taxRateMax","Name","tiposCodigoImpuesto","TaxType","applyFilters","name","props","type","default","isOpen","loadingDistribuidores","loadingClientes","label","values","distribuidores","clientes","watch","deep","immediate","handler","mounted","computed","role","methods","panelOpenHandler","watchFormHandler","certificate","send_alerts","automatic_download","resetForm","component","dialogOpen","toggleDialog","style","heightContainerSelect","impuestos","isLoadingSelect","onExpand","onChangeInput","isAllSelected","isEmptyList","$event","$refs","impuestosSelect","unselectAll","isLoadedData","selectAll","apply","getImpuestosSimple","components","BaseDialogButton","idCliente","heightSelect","heightInput","impuestoSelected","loadingActionSelect","loadingActionUnSelect","loadImpuestosSimple","setTimeout","getProductsImpuestosPag","order","getProductsImpuestosExcel","responseType","response","linkProductToImpuestos","unlinkProductToImpuestos","ListLayout","FilterPanel","FilterPanelSearches","CreateSearchDialog","KendoGridComponent","ProductLinkImpuestosDialog","showModal","title","icon","breadcrumb","showAllRows","loadingDataTable","selected","isHeadCoreReady","setLabelTowShow","masterFilters","headerCoreFilters","columns","field","width","headerSelectionValue","reorderable","groupable","areAllSelected","skip","take","sort","group","created","breadcrumbs","path","updateAllSelectedHeader","removeFilterTag","createAppState","column","options","idProducto","grupos","payload","encoding","link","filename","console","filter","expandChange","event","getItemsData","paginate","results","page","totalPages","headerCoreFiltersHandler","tableSortByChangeHandler","prop","downloadData","unlinkHandler","idImpuestos","estados","linkHandler","idProductos"],"mappings":"8KAGAA,eAAeC,EAAgBC,EAAM,GAAIC,EAAO,GAAIC,EAAS,MAcpD,CACL,MAAMC,EAAM,CACVH,MACAI,OAAQ,MACRC,QAAS,CACP,eAAgB,mBAChB,8BAA+B,KAEjCJ,OACAC,UAEII,QAAYC,eAAcJ,GAChC,OAAOG,EAAIL,MC3BfH,eAAeU,EAAaN,EAAS,MACnC,aAAaH,EACX,oCACA,KACAG,K,2CCNJ,IAAIO,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAO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A,8BAGA,sEAEA,WAEA2E,QACAC,eACA3F,mCAEA0F,QAAAC,wBAAA3F,uCAEA,mCACA,kCACA,+CACA0F,QAAAC,QAAA3F,SACA,gDAEA,yBAEA,qCAEAkB,SACA0E,mCACA,iBAGA,+DAFA,+CAKA7I,uBAGAZ,yBACA,oCAEA+B,yBACA,kEAEA2H,4BACA,0CAEAC,2BACA,uBACA,uBACA,QAIA,yBACA,2BACA,wBAEAjJ,kCACA,4BACA,qCAEAC,0BACA,mCACA,mCACA,oDACAiJ,yCACAC,qBAGA,8BAEAzI,6BACA,wCACA,qBACA,qEACA,GACA0I,iCACArG,8BACAE,uCACAR,gDACAK,iDAEA,0DACA,sEACA,GAAA4D,cAAA2C,UACA,qBACA,2CACAC,aAEA,IACA,qBACA,qBAAAjG,iBAAAkG,mBACA,8BACAC,qCACA,gCACAC,eACAD,aACAA,UACA,eAEA,GADAE,iBACA,2CACA,qCACA,wBAEA,kBAEA,QACA,wCACA,uBAGAvJ,4BACA,2BACA,sBAEAC,uBACA,aACA,mBACAsI,KAEA,SACAF,qBACAC,qBACAC,OACAC,uBACAgB,0BAEA,sBAAAjM,UAEA2C,yBACA,SACAmI,qBACAC,qBACAC,qBACAC,uBACAgB,UAGA,sBAAAjM,UAEAkM,yBACAC,kFAEA3G,+BACA,yBACA,qEACA,GACAkG,iCACArG,8BACAE,uCACAR,gDACAK,iDAEA,0DACA,IACA,uCACA,SACA,sCACA,kBAGA,OADA,+BACA,WAEAgH,iCAAA,YACA,+CACA,sCACA,SACAC,YACAC,iCACAC,oCACA,GAEA,8BACA,sBACA,SACAnL,mDACAC,+DACAmL,2DACAlL,yDAKA,OAHA,8DACA,sCACA,yBACA,WAEA,uBACA,SACA+K,YACAC,iCACAC,oCACA,GAEA,eAIA,OAHA,gBACA,gDAEA,GAEAzI,sCACA,2DACA,sCAEAtC,oCACA,2DACA,yCAEAC,gCACA,2DACA,wDACA,kBACA,yCAEAK,mCAEA,2DACA,4EACA,QACA,6DACA,gCAEA2K,qCACA,sBACA,yBAGA1K,gCACA,2DACA,6DACA,gCAEA2K,wCAAAC,QAAA3D,IACA,oDACA,yDACA,2DACA,yBAEA4D,+BACA,WACA,IACA,sCAEA,SACAlB,cAEArL,2BACA,eACA,gDAEAA,cAEA,SACA2L,eACA,kBACA,QACA,sCAEA,UAEA1I,oBACA,WACA,kCACA,gCAEAE,wBACA,4BACA,sBAIA,qCAEAqJ,gCACA,IACA,sCACA,8BACA,GAAAnB,aAAAoB,gBACAC,cACAnB,mCAEA,oBACA,eACA,gDAEA,wDAEA,SACA,kBACA,QACA,wCAGA1I,yBACA,kEAEAL,oCACA,+BACA,kCACA,gCAEAD,8BACAuJ,+DACA,qDACA,gCAEAvI,yCACA,oBACA,qBAEAoJ,8BACA,IACA,sCACA,8BACA,GAAAC,gBAAAH,eACA,cACA,eACA,iDAEA,qDACA,sBAEA,SACA,kBACA,QACA,wCAGAnL,gCACA,wCAEAK,2BACA,8CAEAkC,gCACA,8CAEAC,oCACA,4BAEA,6CAEAI,uCACA,yBC9iByW,ICOrW,EAAY,eACd,EACA/D,EACAgE,GACA,EACA,KACA,KACA,MAIa,e","file":"js/chunk-2b3041dd.v.6.0.0.1728293495878.js","sourcesContent":["import axiosInstance from '@/services/axiosInstance'\r\nimport mock from '@/services/mock/index'\r\n\r\nasync function genericGETJson (url = '', data = {}, params = null) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'tests') {\r\n return new Promise((resolve, reject) => {\r\n const data = mock.getCompanies\r\n const pages = data.data.length\r\n\r\n const clone = JSON.parse(JSON.stringify(data))\r\n console.log(clone.data)\r\n clone.data = clone.data.slice(0, params.limit)\r\n\r\n clone.meta.total = pages\r\n\r\n resolve(clone)\r\n })\r\n } else {\r\n const req = {\r\n url,\r\n method: 'GET',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n data,\r\n params\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { genericGETJson }\r\n","import { genericGETJson } from '@/services/genericGETJson'\r\n\r\nasync function getProducto (params = null) {\r\n return await genericGETJson(\r\n '/api/productos/getproductodetalle',\r\n null,\r\n params\r\n )\r\n}\r\n\r\nexport { getProducto }\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('list-layout',{attrs:{\"tableTools\":_vm.toggleTableTools}},[_c('template',{slot:\"header\"},[_c('BaseHeader',{attrs:{\"content\":_vm.header}})],1),_c('template',{slot:\"table-core\"},[_c('base-table-pagination',{attrs:{\"total\":_vm.pagination.total,\"currentPage\":_vm.pagination.currentPage,\"perPage\":_vm.pagination.pageSize},on:{\"changeCurrentPage\":_vm.changeCurrentPage,\"changePerPage\":_vm.changePerPage}}),_c('div',{staticClass:\"flex flex-row w-100\"},[_c('base-table-searches',{on:{\"toggleSearchesDialog\":_vm.toggleSearchesDialog}}),_c('base-table-search',{on:{\"toggleFilters\":_vm.toggleFilters}})],1)],1),_c('template',{slot:\"table-tags\"},[_c('base-table-filter-tags',{attrs:{\"tags\":_vm.tags},on:{\"removeTag\":_vm.removeFilterTagHanlder,\"removeAllTags\":_vm.removeAllTagsHandler,\"saveTags\":_vm.saveTagsHandler}})],1),_c('template',{slot:\"table-component\"},[_c('kendo-grid-component',{staticClass:\"kendo-pointer-default\",attrs:{\"spanish\":_vm.spanish,\"dataResult\":_vm.kendo.dataResult,\"kendo\":_vm.kendo,\"loading\":_vm.isGeneralLoading,\"selectedField\":_vm.selectedField},on:{\"datastatechange\":_vm.dataStateChange,\"columnreorder\":_vm.columnReorder,\"rowclick\":_vm.openPath,\"columnssubmit\":_vm.onColumnsSubmit,\"sortchange\":_vm.sortChange,\"filterchange\":_vm.filterChange,\"selectionchange\":_vm.onSelectionChange,\"headerselectionchange\":_vm.onHeaderSelectionChange}})],1),_c('template',{slot:\"layout-extend\"},[_c('base-footer',[_c('template',{slot:\"actions\"},[_c('base-button-responsive',{attrs:{\"mode\":\"primary\",\"text\":_vm.labelBtnExcel,\"icon\":\"excelxls\",\"loading\":_vm.isGeneralLoading || _vm.loadingExcel,\"disabled\":_vm.loadingExcel},on:{\"click\":_vm.exportExcel}}),_c('base-button-responsive',{attrs:{\"mode\":\"primary\",\"text\":_vm.$t('products.link_importe'),\"icon\":\"plus\",\"loading\":_vm.isGeneralLoading},on:{\"click\":_vm.golinkImporte}})],1)],2),_c('base-table-select-actions-expand',{attrs:{\"visibility\":_vm.hasSelected,\"selected\":_vm.rowsSelected,\"total\":_vm.rowsTotal}},[_c('template',{slot:\"commons\"},[_c('base-button',{attrs:{\"size\":\"xs\",\"mode\":\"tools\"},on:{\"click\":_vm.unselect}},[_c('base-icon',{staticClass:\"mr-1\",attrs:{\"name\":\"vall\",\"size\":\"sm\"}}),_vm._v(\" Deseleccionar \")],1)],1),_c('template',{slot:\"more\"},[_c('base-button-item-list',{attrs:{\"theme\":\"dark\"},on:{\"click\":_vm.unlink}},[_c('base-icon',{staticClass:\"mr-2\",attrs:{\"name\":\"unlink\"}}),_vm._v(\" Desvincular \")],1)],1)],2),_c('product-link-impuestos-dialog',{attrs:{\"dialogOpen\":_vm.linkProductToImporteDialog,\"idCliente\":_vm.idClienteProduct},on:{\"toggleDialog\":_vm.toggleDialogs,\"applyDialog\":_vm.applyLinkHandler}}),_c('filter-panel',{attrs:{\"panelOpen\":_vm.filterPanel},on:{\"togglePanel\":_vm.toggleFilters,\"applyFilters\":_vm.applyFiltersHandler}}),_c('create-search-dialog',{attrs:{\"numberSearches\":_vm.numberSearches,\"idVista\":_vm.idVista,\"dialogOpen\":_vm.saveSearchDialog,\"tags\":_vm.tags},on:{\"toggleDialog\":_vm.toggleDialogSearches,\"applyDialog\":_vm.applySearchHandler}}),_c('filter-panel-searches',{ref:\"filterPanelSearches\",attrs:{\"idVista\":_vm.idVista,\"vuexnamespace\":_vm.vuexnamespace,\"panelOpen\":_vm.searchesPanel},on:{\"togglePanel\":_vm.toggleSearchesDialog,\"applyFilters\":_vm.applyFiltersHandler,\"updateNumberSearches\":_vm.updateNumberSearches}})],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('base-slide-panel',{attrs:{\"isOpen\":_vm.panelOpen},on:{\"closePanel\":_vm.togglePanel}},[_c('template',{slot:\"header\"},[_c('div',{staticClass:\"h-16 bg-secondary dark:bg-darkblue-600 flex items-center justify-between text-white px-4\"},[_c('div',{staticClass:\"flex items-center\"},[_c('base-icon',{attrs:{\"name\":\"filter\"}}),_c('h2',{staticClass:\"font-bold ml-2\"},[_vm._v(\"Filtrar por\")])],1),_c('span',{staticClass:\"cursor-pointer\",on:{\"click\":_vm.togglePanel}},[_c('base-button-icon',{attrs:{\"name\":\"cross\",\"size\":\"xs\",\"iconSize\":\"sm\",\"mode\":\"secondary\"}})],1)])]),_c('template',{slot:\"main\"},[_c('div',{staticClass:\"form-wrapper p-4 dark:bg-darkblue-800 dark:text-darkblue-200\"},[_c('el-form',{ref:\"ruleForm\"},[_c('div',[_c('base-collapsible',{staticClass:\"mb-3\",attrs:{\"customContent\":\"bg-white dark:bg-darkblue rounded-lg border-solid border-primary-100 dark:border-darkblue-600 border p-4 mt-2\"}},[_c('template',{slot:\"headerRight\"},[_c('div',{staticClass:\"flex flex-col py-2\"},[_c('h2',{staticClass:\"dark:text-darkblue-100\"},[_vm._v(_vm._s(_vm.$t('impuestos.TaxRate_from_to')))])])]),_c('template',{slot:\"content\"},[_c('div',[_c('div',[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_vm._v(_vm._s(_vm.$t('invoicesFilter.min')))]),_c('el-form-item',{attrs:{\"prop\":\"taxRateMin\"}},[_c('el-input',{staticClass:\"w-full\",attrs:{\"clearable\":\"\",\"min\":\"0\",\"max\":\"9999999999\",\"type\":\"number\"},model:{value:(_vm.form.taxRateMin.value),callback:function ($$v) {_vm.$set(_vm.form.taxRateMin, \"value\", $$v)},expression:\"form.taxRateMin.value\"}})],1)],1),_c('div',[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_vm._v(_vm._s(_vm.$t('invoicesFilter.max')))]),_c('el-form-item',{attrs:{\"prop\":\"taxRateMax\"}},[_c('el-input',{staticClass:\"w-full\",attrs:{\"clearable\":\"\",\"min\":\"0\",\"max\":\"9999999999\",\"type\":\"number\"},model:{value:(_vm.form.taxRateMax.value),callback:function ($$v) {_vm.$set(_vm.form.taxRateMax, \"value\", $$v)},expression:\"form.taxRateMax.value\"}})],1)],1)])])],2)],1),_c('div',{staticClass:\"lg:mb-2\"},[_c('div',[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_vm._v(_vm._s(_vm.$t('impuestos.Name')))]),_c('el-form-item',{attrs:{\"prop\":\"Name\"}},[_c('el-input',{staticClass:\"w-full\",attrs:{\"clearable\":\"\",\"maxlength\":\"50\"},model:{value:(_vm.form.Name.value),callback:function ($$v) {_vm.$set(_vm.form.Name, \"value\", $$v)},expression:\"form.Name.value\"}})],1)],1),_c('div',[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_vm._v(_vm._s(_vm.$t('impuestos.TaxType')))]),_c('el-form-item',{attrs:{\"prop\":\"TaxType\"}},[_c('base-el-select',{staticClass:\"w-full\",attrs:{\"options\":_vm.tiposCodigoImpuesto,\"clearable\":\"\",\"filterable\":\"\"},model:{value:(_vm.form.TaxType.value),callback:function ($$v) {_vm.$set(_vm.form.TaxType, \"value\", $$v)},expression:\"form.TaxType.value\"}})],1)],1)])])],1)]),_c('template',{slot:\"footer\"},[_c('base-button',{attrs:{\"mode\":\"secondary-phantom-blue\",\"text\":_vm.$t('app.cancel')},on:{\"click\":_vm.togglePanel}}),_c('base-button',{staticClass:\"w-full\",attrs:{\"mode\":\"secondary-phantom-blue\",\"text\":_vm.$t('app.apply')},on:{\"click\":_vm.applyFilters}})],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n \r\n \r\n Filtrar por\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ $t('impuestos.TaxRate_from_to') }}\r\n \r\n \r\n \r\n \r\n \r\n {{ $t('invoicesFilter.min') }}\r\n \r\n \r\n \r\n \r\n \r\n {{ $t('invoicesFilter.max') }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n {{$t('impuestos.Name')}}\r\n \r\n \r\n \r\n \r\n\r\n \r\n {{$t('impuestos.TaxType')}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductsImpuestosFilter.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductsImpuestosFilter.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductsImpuestosFilter.vue?vue&type=template&id=29df3161&scoped=true\"\nimport script from \"./ProductsImpuestosFilter.vue?vue&type=script&lang=js\"\nexport * from \"./ProductsImpuestosFilter.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"29df3161\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('base-dialog-button',{attrs:{\"isOpen\":_vm.dialogOpen},on:{\"closeDialog\":_vm.toggleDialog}},[_c('template',{slot:\"header\"},[_c('div',{staticClass:\"h-16 bg-secondary flex items-center justify-between text-white px-4\"},[_c('div',{staticClass:\"flex items-center\"},[_c('h2',{staticClass:\"font-bold ml-2\"},[_vm._v(_vm._s(_vm.$t('impuestos.link_new')))])]),_c('span',{staticClass:\"cursor-pointer\",on:{\"click\":_vm.toggleDialog}},[_c('base-button-icon',{attrs:{\"name\":\"cross\",\"size\":\"xs\",\"iconSize\":\"sm\",\"mode\":\"secondary\"}})],1)])]),_c('template',{slot:\"main\"},[_c('div',{ref:\"containerSelect\",staticClass:\"form-wrapper p-4 overflow-x-hidden\",style:({'height':_vm.heightContainerSelect})},[_c('el-form',{ref:\"ruleForm\"},[_c('div',{staticClass:\"lg:mb-2\"},[_c('div',{ref:\"selectRef\"},[_c('label',{staticClass:\"text-sm font-semibold text-secondary-600 block mb-1\"},[_vm._v(_vm._s(_vm.$t('impuestos.header_single')))]),_c('el-form-item',{attrs:{\"prop\":\"impuestosSelect\"}},[_c('base-el-select',{ref:\"impuestosSelect\",staticClass:\"w-full\",attrs:{\"options\":_vm.impuestos,\"multiple\":\"\",\"filterable\":\"\",\"disabled\":_vm.isLoadingSelect},on:{\"visible-change\":_vm.onExpand,\"change\":_vm.onChangeInput},model:{value:(_vm.form.impuestoSelected),callback:function ($$v) {_vm.$set(_vm.form, \"impuestoSelected\", $$v)},expression:\"form.impuestoSelected\"}})],1)],1)])])],1)]),_c('template',{slot:\"footer\"},[(!_vm.isAllSelected)?_c('base-button',{staticClass:\"w-full\",attrs:{\"mode\":\"secondary-phantom-blue\",\"disabled\":!_vm.isLoadedData || _vm.isLoadingSelect || _vm.isEmptyList,\"text\":_vm.$t('app.select_all'),\"loading\":_vm.isLoadingSelect},on:{\"click\":function($event){return _vm.$refs.impuestosSelect.selectAll()}}}):_c('base-button',{staticClass:\"w-full\",attrs:{\"text\":_vm.$t('app.unselect_all'),\"mode\":\"secondary-phantom-blue\",\"loading\":_vm.isLoadingSelect,\"disabled\":_vm.isLoadingSelect || _vm.isEmptyList},on:{\"click\":function($event){return _vm.$refs.impuestosSelect.unselectAll()}}}),_c('div',{staticClass:\"w-48 \"}),_c('base-button',{staticClass:\"w-full\",attrs:{\"mode\":\"secondary-phantom-blue\",\"text\":_vm.$t('app.cancel'),\"loading\":_vm.isLoadingSelect,\"disabled\":_vm.isLoadingSelect},on:{\"click\":_vm.toggleDialog}}),_c('base-button',{staticClass:\"w-full\",attrs:{\"mode\":\"secondary-phantom-blue\",\"text\":_vm.$t('app.apply'),\"loading\":_vm.isLoadingSelect,\"disabled\":_vm.isLoadingSelect},on:{\"click\":_vm.apply}})],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import axiosInstance from '@/services/axiosInstance'\r\nimport mock from '@/services/mock/index'\r\n\r\nasync function getImpuestosSimple (params = null) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'test') {\r\n return new Promise((resolve, reject) => {\r\n setTimeout(() => {\r\n resolve(mock.getLanguages.data)\r\n }, 500)\r\n })\r\n } else {\r\n const req = {\r\n url: '/api/impuestos/getimpuestossimple',\r\n method: 'GET',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n params\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { getImpuestosSimple }\r\n","\r\n \r\n \r\n \r\n \r\n {{$t('impuestos.link_new')}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{$t('impuestos.header_single')}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductLinkImpuestosDialog.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductLinkImpuestosDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductLinkImpuestosDialog.vue?vue&type=template&id=2feb605c&scoped=true\"\nimport script from \"./ProductLinkImpuestosDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ProductLinkImpuestosDialog.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2feb605c\",\n null\n \n)\n\nexport default component.exports","import axiosInstance from '@/services/axiosInstance'\r\nimport mock from '@/services/mock/index'\r\n\r\nasync function getProductsImpuestosPag (order = {}, params = null) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'test') {\r\n const data = await (new Promise((resolve, reject) => {\r\n const data = mock.getGroups\r\n const pages = data.data.length\r\n\r\n const clone = JSON.parse(JSON.stringify(data))\r\n if (params !== null) {\r\n console.log(clone.data)\r\n clone.data = clone.data.slice(0, params.limit)\r\n }\r\n\r\n clone.meta.total = pages\r\n\r\n resolve(clone)\r\n }))\r\n data.Respuesta = (data.data.find(x => x.IdGrupo === Number.parseInt(params.idGrupo)) || { Estados: [] }).Estados\r\n return data\r\n } else {\r\n const req = {\r\n url: '/api/impuestos/getproductoimpuestospag',\r\n method: 'POST',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n data: order,\r\n params\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { getProductsImpuestosPag }\r\n","import axiosInstance from '@/services/axiosInstance'\r\nimport mock from '@/services/mock/index'\r\n\r\nasync function getProductsImpuestosExcel (order = {}, params = null) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'test') {\r\n return new Promise((resolve, reject) => {\r\n setTimeout(() => {\r\n resolve(mock.getLanguages.data)\r\n }, 500)\r\n })\r\n } else {\r\n const req = {\r\n url: '/api/impuestos/getproductoimpuestosexcel',\r\n method: 'POST',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n responseType: 'blob',\r\n data: order,\r\n params\r\n }\r\n const res = await axiosInstance(req)\r\n const response = {\r\n data: res.data,\r\n headers: res.headers\r\n }\r\n return response\r\n }\r\n}\r\n\r\nexport { getProductsImpuestosExcel }\r\n","import axiosInstance from '@/services/axiosInstance'\r\n\r\nasync function linkProductToImpuestos (data) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'test') {\r\n return new Promise((resolve, reject) => {\r\n resolve()\r\n })\r\n } else {\r\n const req = {\r\n url: 'api/productos/vincularproductosimpuestos',\r\n method: 'PUT',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n data\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { linkProductToImpuestos }\r\n","import axiosInstance from '@/services/axiosInstance'\r\n\r\nasync function unlinkProductToImpuestos (data) {\r\n if (process.env.VUE_APP_ENVIRONMENT === 'test') {\r\n return new Promise((resolve, reject) => {\r\n resolve()\r\n })\r\n } else {\r\n const req = {\r\n url: 'api/productos/desvincularproductoimpuestos',\r\n method: 'PUT',\r\n headers: {\r\n 'Content-type': 'application/json',\r\n 'access-control-allow-origin': '*'\r\n },\r\n data\r\n }\r\n const res = await axiosInstance(req)\r\n return res.data\r\n }\r\n}\r\n\r\nexport { unlinkProductToImpuestos }\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Deseleccionar\r\n \r\n \r\n \r\n \r\n \r\n Desvincular\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductsImpuestos.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductsImpuestos.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductsImpuestos.vue?vue&type=template&id=a1cbe004\"\nimport script from \"./ProductsImpuestos.vue?vue&type=script&lang=js\"\nexport * from \"./ProductsImpuestos.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}