{"version":3,"sources":["webpack:///./src/views/account/reports/components/ViewOrderDriverReport.vue?c83b","webpack:///./src/views/account/reports/components/ViewOrderDriverReport.vue","webpack:///./src/views/account/reports/components/ViewOrderDriverReport.vue?9633"],"names":["_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","key","_hoisted_7","render","_ctx","_cache","$props","$setup","$data","$options","_component_PageTitle","_resolveComponent","_component_SearchInput","_component_BaseIcon","_component_FilterPanel","_component_DynamicTable","_openBlock","_createElementBlock","_Fragment","_createElementVNode","_createVNode","title","placeholder","$t","modelValue","searchValue","$event","onClick","showFilterModal","name","filters","onClose","onFetchData","onExpand","_createCommentVNode","tableData","reports","exportData","exportReports","loading","reportType","pagination","tableFields","scrollable","exportFields","id","onSort","clickSort","buttons","edit","delete","export","onMenuEvent","menuEvent","onGetReports","$emit","onNavigateToLink","onRedirectToOrder","defineComponent","components","SearchInput","defineAsyncComponent","BaseIcon","FilterPanel","PageTitle","DynamicTable","data","width","sortable","currentSort","sort","sortName","type","this","model","calendarType","dataLoading","fetchDataOnExpand","dataRequested","actionName","selectedReport","methods","e","console","log","field","map","el","router","push","query","$route","orderBy","item","path","orderId","event","$store","dispatch","VehiclesActions","FETCH_VEHICLE_TYPES","DarkStoresActions","FETCH_DARKSTORES","pageNUmber","pageSize","watch","darkstoresAsDictionary","immediate","handler","val","length","target","queries","pageNumber","username","vehicleTypes","reportName","props","String","computed","getters","label","value","__exports__"],"mappings":"yIAEMA,EAAa,CAAEC,MAAO,mBACtBC,EAAa,CAAED,MAAO,wBACtBE,EAAa,CAAEF,MAAO,YACtBG,EAAa,CAAEH,MAAO,4BACtBI,EAAa,CAAEJ,MAAO,UACtBK,EAAa,CAAEC,IAAK,GACpBC,EAAa,CAAEP,MAAO,QAEtB,SAAUQ,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,IAAMC,EAAuBC,8BAAkB,aACzCC,EAAyBD,8BAAkB,eAC3CE,EA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ACdE,EAAOnC,aAAc,KAGzBe,OAAQ,CACNgB,WAAW,EACXC,QAFM,SAEGC,GACHA,EAAInB,MAAME,UACZnB,KAAK/B,YAAc+B,KAAK/B,YAAY4C,KAAI,SAACC,GAKvC,OAJIA,EAAG1C,KAAOgE,EAAInB,MAAME,UACtBL,EAAGlB,aAAc,EACjBkB,EAAGjB,KAAOuC,EAAInB,MAAMpB,MAEfiB,QAKfP,eAxCK,SAwCW6B,GACVA,GACFrB,OAAOC,KAAK,CAAEC,MAAO,CAAE0B,WAAYP,EAAIhF,UAI7CwF,MAAO,CACL7E,WAAY,CACVgC,KAAM8C,SAGVC,SAAU,CACRb,uBADQ,WAEN,OAAOjC,KAAKwB,OAAOuB,QAAQ,yCAE7BL,aAJQ,WAKN,OAAO1C,KAAKwB,OAAOuB,QAAQ,4BACxBlC,KAAI,SAACC,GACJ,MAAO,CACL1C,GAAI0C,EAAG1C,GACP4E,MAAOlC,EAAGmC,WAIlBtF,QAbQ,WAcN,OAAOqC,KAAKwB,OAAOuB,QAAQ,sCAE7BlF,cAhBQ,WAiBN,OAAOmC,KAAKwB,OAAOuB,QAAQ,4CAE7B/E,WAnBQ,WAoBN,OAAOgC,KAAKwB,OAAOuB,QAAQ,yCAE7BjF,QAtBQ,WAuBN,OAAOkC,KAAKwB,OAAOuB,QAAQ,0B,qBC3NjC,MAAMG,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASxH,KAErD","file":"js/chunk-2d0f027f.19062f13.js","sourcesContent":["import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"pt-14 pb-5 px-5\" }\nconst _hoisted_2 = { class: \"flex justify-between\" }\nconst _hoisted_3 = { class: \"flex jus\" }\nconst _hoisted_4 = { class: \"relative h-42 w-288 me-3\" }\nconst _hoisted_5 = { class: \"w-full\" }\nconst _hoisted_6 = { key: 0 }\nconst _hoisted_7 = { class: \"px-5\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_PageTitle = _resolveComponent(\"PageTitle\")!\n const _component_SearchInput = _resolveComponent(\"SearchInput\")!\n const _component_BaseIcon = _resolveComponent(\"BaseIcon\")!\n const _component_FilterPanel = _resolveComponent(\"FilterPanel\")!\n const _component_DynamicTable = _resolveComponent(\"DynamicTable\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_PageTitle, { title: \"reports.ordersAndDriversTitle\" })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(_component_SearchInput, {\n placeholder: _ctx.$t('placeholders.username'),\n modelValue: _ctx.searchValue,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.searchValue) = $event))\n }, null, 8, [\"placeholder\", \"modelValue\"])\n ]),\n _createElementVNode(\"button\", {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.showFilterModal = true)),\n class: \"border border-inputBorder w-42 h-42\"\n }, [\n _createElementVNode(\"span\", _hoisted_5, [\n _createVNode(_component_BaseIcon, { name: \"filter\" })\n ])\n ]),\n (_ctx.showFilterModal)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(_component_FilterPanel, {\n filters: _ctx.filters,\n onClose: _cache[2] || (_cache[2] = ($event: any) => (_ctx.showFilterModal = false)),\n onFetchData: _cache[3] || (_cache[3] = ($event: any) => (_ctx.onExpand($event)))\n }, null, 8, [\"filters\"])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(_component_DynamicTable, {\n tableData: _ctx.reports,\n exportData: _ctx.exportReports,\n loading: _ctx.loading,\n reportType: _ctx.reportType,\n pagination: _ctx.pagination,\n tableFields: _ctx.tableFields,\n scrollable: true,\n exportFields: [\n { id: 'customerCode', name: 'Customer Code' },\n { id: 'customerPhoneNumber', name: 'Customer Phone Number' },\n { id: 'darkstore', name: 'Darkstore' },\n { id: 'destinationLatitude', name: 'Destination Latitude' },\n { id: 'destinationLongitude', name: 'Destination Longitude' },\n { id: 'driverId', name: 'Driver Id' },\n { id: 'driverFullName', name: 'Driver Full Name' },\n { id: 'driverLicenseNo', name: 'Driver License No' },\n { id: 'failedDeliveryReasonId', name: 'Failed Delivery Reason Id' },\n { id: 'id', name: 'Id' },\n { id: 'modifiedAt', name: 'Modified At' },\n { id: 'orderBinNumber', name: 'Order Bin Number' },\n { id: 'orderCreatedAt', name: 'Order Created At' },\n { id: 'orderId', name: 'Order Id' },\n { id: 'orderStatus', name: 'Order Status' },\n { id: 'orderTotal', name: 'Order Total' },\n { id: 'userAddress', name: 'User Address' },\n { id: 'username', name: 'Username' },\n { id: 'preparingStatusDatetime', name: 'Preparing Status Datetime' },\n { id: 'preparingStatusLatitude', name: 'Preparing Status Latitude' },\n { id: 'preparingStatusLongitude', name: 'Preparing Status Longitude' },\n { id: 'assignedStatusDatetime', name: 'Assigned Status Datetime' },\n { id: 'assignedStatusLatitude', name: 'Assigned Status Latitude' },\n { id: 'assignedStatusLongitude', name: 'Assigned Status Longitude' },\n { id: 'readyForPickupStatusDatetime', name: 'Ready For Pickup Status Datetime' },\n { id: 'readyForPickupStatusLatitude', name: 'Ready For Pickup Status Latitude' },\n { id: 'readyForPickupStatusLongitude', name: 'Ready For Pickup Status Longitude' },\n { id: 'pickedUpStatusDatetime', name: 'Picked Up Status Datetime' },\n { id: 'pickedUpStatusLatitude', name: 'Picked Up Status Latitude' },\n { id: 'pickedUpStatusLongitude', name: 'Picked Up Status Longitude' },\n { id: 'onTheWayStatusDatetime', name: 'On The Way Status Datetime' },\n { id: 'onTheWayStatusLatitude', name: 'On The Way Status Latitude' },\n { id: 'onTheWayStatusLongitude', name: 'On The Way Status Longitude' },\n { id: 'atTheAddressStatusDatetime', name: 'At The Address Status Datetime' },\n { id: 'atTheAddressStatusLatitude', name: 'At The Address Status Latitude' },\n { id: 'atTheAddressStatusLongitude', name: 'at The Address Status Longitude' },\n { id: 'deliveredStatusDatetime', name: 'Delivered Status Datetime' },\n { id: 'deliveredStatusLatitude', name: 'Delivered Status Latitude' },\n { id: 'deliveredStatusLongitude', name: 'Delivered Status Longitude' },\n { id: 'delayedStatusDatetime', name: 'Delayed Status Datetime' },\n { id: 'delayedStatusLatitude', name: 'Delayed Status Latitude' },\n { id: 'delayedStatusLongitude', name: 'Delayed Status Longitude' },\n { id: 'canceledStatusDatetime', name: 'Canceled Status Datetime' },\n { id: 'canceledStatusLatitude', name: 'Canceled Status Latitude' },\n { id: 'canceledStatusLongitude', name: 'Canceled Status Longitude' },\n { id: 'toReturnStatusDatetime', name: 'To Return Status Datetime' },\n { id: 'toReturnStatusLatitude', name: 'To Return Status Latitude' },\n { id: 'toReturnStatusLongitude', name: 'To Return Status Longitude' },\n { id: 'toReturnAssignedStatusDatetime', name: 'To Return Assigned Status Datetime' },\n { id: 'toReturnAssignedStatusLatitude', name: 'To Return Assigned Status Latitude' },\n { id: 'toReturnAssignedStatusLongitude', name: 'To Return Assigned Status Longitude' },\n { id: 'returnedStatusDatetime', name: 'Returned Status Datetime' },\n { id: 'returnedStatusLatitude', name: 'Returned Status Latitude' },\n { id: 'returnedStatusLongitude', name: 'Returned Status Longitude' },\n { id: 'zoneName', name: 'Zone' },\n { id: 'settlementStatus', name: 'Settlement Status' },\n { id: 'erpNextMerchant', name: 'ERPNext Merchant' },\n { id: 'trackingId', name: 'Tracking Id' }\n ],\n onSort: _cache[4] || (_cache[4] = ($event: any) => (_ctx.clickSort($event))),\n buttons: { edit: true, delete: true, export: true},\n onMenuEvent: _cache[5] || (_cache[5] = ($event: any) => (_ctx.menuEvent($event))),\n onGetReports: _cache[6] || (_cache[6] = ($event: any) => (_ctx.$emit('getReports', $event))),\n onNavigateToLink: _cache[7] || (_cache[7] = ($event: any) => (_ctx.onRedirectToOrder($event)))\n }, null, 8, [\"tableData\", \"exportData\", \"loading\", \"reportType\", \"pagination\", \"tableFields\"])\n ])\n ], 64))\n}","\nimport { defineAsyncComponent, defineComponent } from 'vue'\n\nimport { ViewOrdersDriversInterface } from '@/shared/interfaces/reports/view-orders-drivers.interface'\nimport router from '@/router'\nimport { VehiclesActions } from '@/store/modules/vehicles/actions'\nimport { DarkStoresActions } from '@/store/modules/darkstores/actions'\n\nexport default defineComponent({\n components: {\n SearchInput: defineAsyncComponent(() => import('@/shared/components/SearchInput.vue')),\n BaseIcon: defineAsyncComponent(() => import('@/shared/components/base-icon/BaseIcon.vue')),\n FilterPanel: defineAsyncComponent(() => import('@/shared/components/filter/FilterPanel.vue')),\n PageTitle: defineAsyncComponent(() => import('@/shared/components/PageTitle.vue')),\n DynamicTable: defineAsyncComponent(() => import('@/shared/components/dynamic-table/DynamicTable.vue'))\n },\n data () {\n return {\n searchValue: null as any,\n showFilterModal: false,\n tableFields: [\n { id: 'orderId', name: 'Order Number', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'order_id', type: 'link' },\n { id: 'username', name: 'Username', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'username' },\n { id: 'driverFullName', name: 'Driver Full Name', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'driver_full_name' },\n { id: 'orderTotal', name: 'Order Total', width: '15%', sortable: true, currentSort: false, sort: null, sortName: 'order_total' },\n { id: 'orderCreatedAt', name: 'Order Date', width: '15%', sortable: true, currentSort: false, sort: null, sortName: 'order_created_at' },\n { id: 'userAddress', name: 'User Address', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'user_address' },\n { id: 'customerCode', name: 'Customer Code', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'customer_code' },\n { id: 'orderBinNumber', name: 'Order Bin Number', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'order_bin_number' },\n { id: 'customerPhoneNumber', name: 'Customer Phone Number', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'customer_phone_number' },\n { id: 'darkstore', name: 'Darkstore', width: '15%', sortable: false, currentSort: false, sort: null },\n { id: 'destinationLatitude', name: 'Destination Latitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'destination_latitude' },\n { id: 'destinationLongitude', name: 'Destination Longitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'destination_longitude' },\n { id: 'driverId', name: 'Driver Id', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'driver_id' },\n { id: 'failedDeliveryReasonId', name: 'Failed Delivery Reason Id', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'failed_delivery_reason_id' },\n { id: 'id', name: 'id', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'id' },\n { id: 'modifiedAt', name: 'Modified At', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'modified_at' },\n { id: 'driverLicenseNo', name: 'Driver License No', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'driver_license_no' },\n { id: 'orderStatus', name: 'Order Status', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'order_status' },\n { id: 'preparingStatusDatetime', name: 'Preparing Status Datetime', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'preparing_status_datetime' },\n { id: 'preparingStatusLatitude', name: 'Preparing Status Latitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'preparing_status_latitude' },\n { id: 'preparingStatusLongitude', name: 'Preparing Status Longitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'preparing_status_longitude' },\n { id: 'assignedStatusDatetime', name: 'Assigned Status Datetime', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'assigned_status_datetime' },\n { id: 'assignedStatusLatitude', name: 'Assigned Status Latitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'assigned_status_latitude' },\n { id: 'assignedStatusLongitude', name: 'Assigned Status Longitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'assigned_status_longitude' },\n { id: 'readyForPickupStatusDatetime', name: 'Ready For Pickup Status Datetime', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'ready_for_pickup_status_datetime' },\n { id: 'readyForPickupStatusLatitude', name: 'Ready For Pickup Status Latitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'ready_for_pickup_status_latitude' },\n { id: 'readyForPickupStatusLongitude', name: 'Ready For Pickup Status Longitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'ready_for_pickup_status_longitude' },\n { id: 'pickedUpStatusDatetime', name: 'Picked Up Status Datetime', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'picked_up_status_datetime' },\n { id: 'pickedUpStatusLatitude', name: 'Picked Up Status Latitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'picked_up_status_latitude' },\n { id: 'pickedUpStatusLongitude', name: 'Picked Up Status Longitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'picked_up_status_longitude' },\n { id: 'onTheWayStatusDatetime', name: 'On The Way Status Datetime', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'on_the_way_status_datetime' },\n { id: 'onTheWayStatusLatitude', name: 'On The Way Status Latitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'on_the_way_status_latitude' },\n { id: 'onTheWayStatusLongitude', name: 'On The Way Status Longitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'on_the_way_status_longitude' },\n { id: 'atTheAddressStatusDatetime', name: 'At The Address Status Datetime', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'at_the_address_status_datetime' },\n { id: 'atTheAddressStatusLatitude', name: 'At The Address Status Latitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'at_the_address_status_latitude' },\n { id: 'atTheAddressStatusLongitude', name: 'At The Address Status Longitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'at_the_address_status_longitude' },\n { id: 'deliveredStatusDatetime', name: 'Delivered Status Datetime', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'delivered_Status_datetime' },\n { id: 'deliveredStatusLatitude', name: 'Delivered Status Latitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'delivered_status_latitude' },\n { id: 'deliveredStatusLongitude', name: 'Delivered Status Longitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'delivered_status_longitude' },\n { id: 'delayedStatusDatetime', name: 'Delayed Status Datetime', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'delayed_status_datetime' },\n { id: 'delayedStatusLatitude', name: 'Delayed Status Latitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'delayed_status_latitude' },\n { id: 'delayedStatusLongitude', name: 'Delayed Status Longitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'delayed_status_longitude' },\n { id: 'canceledStatusDatetime', name: 'Canceled Status Datetime', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'canceled_status_datetime' },\n { id: 'canceledStatusLatitude', name: 'Canceled Status Latitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'canceled_status_latitude' },\n { id: 'canceledStatusLongitude', name: 'Canceled Status Longitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'canceled_status_longitude' },\n { id: 'toReturnStatusDatetime', name: 'To Return Status Datetime', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'to_return_status_datetime' },\n { id: 'toReturnStatusLatitude', name: 'To Return Status Latitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'to_return_status_latitude' },\n { id: 'toReturnStatusLongitude', name: 'To Return Status Longitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'to_return_status_longitude' },\n { id: 'toReturnAssignedStatusDatetime', name: 'To Return Assigned Status Datetime', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'to_return_assigned_status_datetime' },\n { id: 'toReturnAssignedStatusLatitude', name: 'To Return Assigned Status Latitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'to_return_assigned_status_latitude' },\n { id: 'toReturnAssignedStatusLongitude', name: 'To Return Assigned Status Longitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'to_return_assigned_status_longitude' },\n { id: 'returnedStatusDatetime', name: 'Returned Status Datetime', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'returned_status_datetime' },\n { id: 'returnedStatusLatitude', name: 'Returned Status Latitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'returned_status_latitude' },\n { id: 'returnedStatusLongitude', name: 'Returned Status Longitude', width: '15%', sortable: false, currentSort: false, sort: null, sortName: 'returned_status_longitude' },\n { id: 'zoneName', name: 'Zone', width: '15%', sortable: false, currentSort: false, sort: null, sortName: '' },\n { id: 'settlementStatus', name: 'Settlement Status', width: '18%', sortable: false, currentSort: false, sort: null, sortName: '' },\n { id: 'erpNextMerchant', name: 'ERPNext Merchant', width: '15%', sortable: false, currentSort: false, sort: null, sortName: '' },\n { id: 'trackingId', name: 'Tracking Id', width: '15%', sortable: false, currentSort: false, sort: null, sortName: '' }\n ],\n filters: [\n { name: this.$t('filters.orderTotal'), model: 'orderTotal', type: 'text' },\n { name: this.$t('filters.orderId'), model: 'orderId', type: 'text' },\n { name: this.$t('filters.createdAt'), model: 'createdAt', type: 'date', calendarType: 'range' },\n {\n name: this.$t('filters.vehicleType'),\n model: 'vehicleTypeId',\n dataLoading: true,\n fetchDataOnExpand: true,\n dataRequested: false,\n actionName: 'vehicleTypes',\n type: 'radio',\n data: []\n },\n {\n name: this.$t('filters.darkstores'),\n model: 'darkstore_Ids',\n type: 'checkbox',\n dataLoading: true,\n fetchDataOnExpand: true,\n dataRequested: false,\n actionName: 'fetchDarkstore',\n data: []\n },\n { name: this.$t('filters.trackingId'), model: 'trackingId', type: 'number' },\n { name: this.$t('filters.erpNextMerchant'), model: 'erpNextMerchant', type: 'text' }\n // { name: this.$t('filters.username'), model: 'username', type: 'text' },\n // { name: this.$t('filters.createdAt'), model: 'createdAt', type: 'date', calendarType: 'range' },\n // { name: this.$t('filters.userAddress'), model: 'userAddress', type: 'text' },\n // { name: this.$t('filters.customerCode'), model: 'customerCode', type: 'text' },\n // { name: this.$t('filters.binNo'), model: 'binNo', type: 'text' }\n ],\n selectedReport: this.reportType\n }\n },\n methods: {\n menuEvent (e: any): void {\n console.log(e)\n },\n clickSort (field: any): void {\n this.tableFields = this.tableFields?.map((el: any) => {\n if (el.id === field.id) {\n el.currentSort = true\n if (el.sort === null) {\n el.sort = 'asc'\n } else if (el.sort === 'asc') {\n el.sort = 'desc'\n } else if (el.sort === 'desc') {\n el.sort = null\n }\n } else {\n el.currentSort = false\n el.sort = null\n }\n return el\n })\n router.push({ query: { ...this.$route.query, orderBy: field.sortName, sort: field.sort } })\n },\n onRedirectToOrder (item: any): void {\n router.push({ path: '/orders/all', query: { id: item.orderId } })\n },\n onExpand (event: any): void {\n if (event === 'vehicleTypes') {\n this.$store.dispatch(`vehicles/${[VehiclesActions.FETCH_VEHICLE_TYPES]}`)\n }\n if (event === 'fetchDarkstore') {\n this.$store.dispatch(`darkstores/${DarkStoresActions.FETCH_DARKSTORES}`, { pageNUmber: 1, pageSize: 200 })\n }\n }\n },\n watch: {\n darkstoresAsDictionary: {\n immediate: true,\n handler (val) {\n if (!val.length) return\n const target = this.filters[4]\n target.dataRequested = true\n target.data = val\n target.dataLoading = false\n }\n },\n searchValue (val) {\n const queries = this.$route.query\n queries.pageNumber = '1'\n router.push({ query: { ...queries, username: this.searchValue } })\n },\n vehicleTypes: {\n immediate: true,\n handler (val) {\n if (!val.length) return\n const target = this.filters[3]\n target.dataRequested = true\n target.data = val\n target.dataLoading = false\n }\n },\n $route: {\n immediate: true,\n handler (val: any) {\n if (val.query.orderBy) {\n this.tableFields = this.tableFields.map((el: any) => {\n if (el.id === val.query.orderBy) {\n el.currentSort = true\n el.sort = val.query.sort\n }\n return el\n })\n }\n }\n },\n selectedReport (val) {\n if (val) {\n router.push({ query: { reportName: val.name } })\n }\n }\n },\n props: {\n reportType: {\n type: String\n }\n },\n computed: {\n darkstoresAsDictionary () {\n return this.$store.getters['darkstores/getDarkStoresAsDictionary']\n },\n vehicleTypes (): any[] {\n return this.$store.getters['vehicles/getVehicleTypes']\n .map((el: any) => {\n return {\n id: el.id,\n label: el.value\n }\n })\n },\n reports (): ViewOrdersDriversInterface[] {\n return this.$store.getters['reports/getViewOrderDriverReports']\n },\n exportReports () {\n return this.$store.getters['reports/getViewOrderDriverExportReports']\n },\n pagination () {\n return this.$store.getters['reports/getViewOrderDriverPagination']\n },\n loading (): boolean {\n return this.$store.getters['reports/getLoading']\n }\n }\n})\n","import { render } from \"./ViewOrderDriverReport.vue?vue&type=template&id=64af61b5&ts=true\"\nimport script from \"./ViewOrderDriverReport.vue?vue&type=script&lang=ts\"\nexport * from \"./ViewOrderDriverReport.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/usr/src/app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"sourceRoot":""}