{"version":3,"sources":["webpack:///./src/views/dropoff/Export/DropoffsExport.vue?0d5a","webpack:///./src/views/dropoff/Export/DropoffsExport.vue?3473","webpack:///src/views/dropoff/Export/DropoffsExport.vue","webpack:///./src/views/dropoff/Export/DropoffsExport.vue?ca41","webpack:///./src/views/dropoff/Export/DropoffsExport.vue","webpack:///./src/views/dropoff/Export/DropoffsExport.vue?3ffe"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","scopedSlots","_u","key","fn","todayParsed","on","$event","resetSearch","model","value","callback","$$v","formattedDateRange","expression","ref","filters","$set","class","internStatus","exportDisabled","exportReport","proxy","allTags","removeTag","clearAllTags","_v","dropoffsReportsRequestedWithLoading","data","headers","content","download","showDefaultErrorMessage","fetchDropoffsReports","staticRenderFns","name","components","TheSubHeader","BaseDatePicker","BaseTreeSelect","DataTable","Pagination","BaseButton","FiltersTag","dateRange","init","end","stores","drivers","orders","sellers","timeOutUpdate","time","updating","computed","get","set","newValue","Date","parse","today","dateRangeInit","calculatedDate","setTime","getTime","dateOffset","dateRangeEnd","dateNow","methods","setError","updateTags","filter","clearPagination","then","search","setInitialDate","loading","setLoading","fetchDropoffReportsRequested","clearTimeout","idsFiltereds","map","el","component"],"mappings":"yIAAA,W,gECAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,OAAO,CAACE,YAAY,kBAAkB,CAACF,EAAG,eAAe,CAACG,MAAM,CAAC,KAAO,aAAa,MAAQ,oBAAoB,iBAAiB,iBAAiB,KAAO,SAAS,QAAU,CAAC,QAAQ,gBAAgB,OAAO,oBAAoB,8BAA8BC,YAAYR,EAAIS,GAAG,CAAC,CAACC,IAAI,SAASC,GAAG,WAAW,MAAO,CAACP,EAAG,iBAAiB,CAACG,MAAM,CAAC,MAAQ,OAAO,YAAY,GAAG,YAAYP,EAAIY,YAAY,WAAY,GAAOC,GAAG,CAAC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sourcesContent":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropoffsExport.vue?vue&type=style&index=0&id=98b30f16&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('main',{staticClass:\"DropoffsExport\"},[_c('TheSubHeader',{attrs:{\"icon\":\"export-alt\",\"title\":\"Exportar Dropoffs\",\"page-title-tag\":\"Dropoff Export\",\"type\":\"filter\",\"actions\":['back'],\"organizer-gap\":\"1rem\",\"organizer-columns\":\"240px repeat(4, 1fr) 140px\"},scopedSlots:_vm._u([{key:\"filter\",fn:function(){return [_c('BaseDatePicker',{attrs:{\"label\":\"Data\",\"max-range\":15,\"not-after\":_vm.todayParsed,\"clearable\":false},on:{\"input\":function($event){return _vm.resetSearch()}},model:{value:(_vm.formattedDateRange),callback:function ($$v) {_vm.formattedDateRange=$$v},expression:\"formattedDateRange\"}}),_c('BaseTreeSelect',{ref:\"lojista\",attrs:{\"name\":\"Lojista\",\"label\":\"Lojista\",\"placeholder\":\"Selecione\",\"multiple\":\"\",\"select-options\":null,\"fetch-options\":'stores/fetchStoresAsync'},on:{\"input\":function($event){return _vm.resetSearch()}},model:{value:(_vm.filters.stores),callback:function ($$v) {_vm.$set(_vm.filters, \"stores\", $$v)},expression:\"filters.stores\"}}),_c('BaseTreeSelect',{attrs:{\"name\":\"Motorista\",\"label\":\"Motorista\",\"placeholder\":\"Selecione\",\"multiple\":\"\",\"suggestions\":\"searchDrivers\"},on:{\"input\":function($event){return _vm.resetSearch()}},model:{value:(_vm.filters.drivers),callback:function ($$v) {_vm.$set(_vm.filters, \"drivers\", $$v)},expression:\"filters.drivers\"}}),_c('BaseTreeSelect',{attrs:{\"name\":\"Pedidos\",\"label\":\"Pedidos\",\"placeholder\":\"Nº do pedido\",\"multiple\":\"\",\"enable-paste\":\"\",\"select-all\":false,\"allow-create\":true,\"disable-branch-nodes\":true},on:{\"input\":function($event){return _vm.resetSearch()}},model:{value:(_vm.filters.orders),callback:function ($$v) {_vm.$set(_vm.filters, \"orders\", $$v)},expression:\"filters.orders\"}}),_c('BaseTreeSelect',{attrs:{\"name\":\"Sellers\",\"label\":\"Sellers\",\"placeholder\":\"Pesquisar\",\"multiple\":\"\",\"enable-paste\":false,\"min-search-length\":2,\"suggestions\":\"searchSellers\"},on:{\"input\":function($event){return _vm.resetSearch()}},model:{value:(_vm.filters.sellers),callback:function ($$v) {_vm.$set(_vm.filters, \"sellers\", $$v)},expression:\"filters.sellers\"}}),_c('BaseButton',{class:_vm.internStatus,attrs:{\"disabled\":_vm.exportDisabled,\"label\":\"Exportar\",\"theme\":\"simple\",\"filled\":\"\",\"color\":\"primary-base\",\"text-color\":\"white\"},on:{\"click\":_vm.exportReport}})]},proxy:true},(_vm.allTags.length)?{key:\"tag\",fn:function(){return [_c('FiltersTag',{attrs:{\"tags\":_vm.allTags},on:{\"removeTag\":_vm.removeTag,\"clear\":_vm.clearAllTags}})]},proxy:true}:null],null,true)}),_c('div',{staticClass:\"DropoffsExport__content\"},[_c('h1',{staticClass:\"DropoffsExport__Title\"},[_vm._v(\" Histórico de exportação \")]),_c('div',{staticClass:\"DropoffsExport__table\"},[_c('DataTable',{attrs:{\"is-sticky\":\"\",\"header\":_vm.dropoffsReportsRequestedWithLoading.data.headers,\"table\":_vm.dropoffsReportsRequestedWithLoading.data.content},on:{\"download\":_vm.download,\"seeErrors\":_vm.showDefaultErrorMessage}}),_c('Pagination',{on:{\"page\":function($event){return _vm.fetchDropoffsReports()},\"paginate\":function($event){return _vm.fetchDropoffsReports()}}})],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n
\n Histórico de exportação\n
\n
\n
\n \n\n\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropoffsExport.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropoffsExport.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DropoffsExport.vue?vue&type=template&id=98b30f16&scoped=true&\"\nimport script from \"./DropoffsExport.vue?vue&type=script&lang=js&\"\nexport * from \"./DropoffsExport.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DropoffsExport.vue?vue&type=style&index=0&id=98b30f16&lang=scss&scoped=true&\"\nimport style1 from \"./DropoffsExport.vue?vue&type=style&index=1&lang=scss&\"\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 \"98b30f16\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropoffsExport.vue?vue&type=style&index=1&lang=scss&\""],"sourceRoot":""}