@burdenoff/microfe-movethewheels 2026.614.1 → 2026.625.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AIAssistantPage-FGGTN-DA.js → AIAssistantPage-CNyoKtID.js} +8 -8
- package/dist/{AnalyticsPage-DSLYCnln.js → AnalyticsPage-Ck615ox7.js} +21 -21
- package/dist/{CreateOrderPage-BgjA_QFT.js → CreateOrderPage-C9Vb57Yn.js} +8 -8
- package/dist/{CustomerDetailsPage-Cfvfw12U.js → CustomerDetailsPage-BVkHRZvi.js} +24 -24
- package/dist/CustomersPage-DhQg-6h_.js +118 -0
- package/dist/{DashboardPage-BeyvN3Mr.js → DashboardPage-DTmyuC11.js} +134 -127
- package/dist/{DataTable-oNjXEcUO.js → DataTable-CfWvFw5B.js} +13 -13
- package/dist/{DriverDetailsPage-DGTUZG5S.js → DriverDetailsPage-DaaCQ-2O.js} +27 -27
- package/dist/DriversPage-D0RMBB_t.js +129 -0
- package/dist/{FinancePage-Cyi75iWa.js → FinancePage-BUXqW1IM.js} +11 -11
- package/dist/{FleetPage-Dlupg1NZ.js → FleetPage-DCfOmBa2.js} +74 -73
- package/dist/{ImportExportPage-D81vnXbH.js → ImportExportPage-BM1BoRcE.js} +9 -9
- package/dist/{InventoryPage-D0u2nxRd.js → InventoryPage-BW0QXWuf.js} +68 -73
- package/dist/{LiveTrackingPage-CKIlbMBA.js → LiveTrackingPage-DqcGXdkw.js} +26 -26
- package/dist/{MarketplacePage-3NpZ0_SK.js → MarketplacePage-DFqsxNYU.js} +13 -13
- package/dist/MetricCard-B7yMyvMX.js +146 -0
- package/dist/{OrderDetailsPage-BeGWzAws.js → OrderDetailsPage-Dx1m3cVA.js} +34 -34
- package/dist/{OrdersListPage-DczM6NXa.js → OrdersListPage-DHYBGrWf.js} +78 -79
- package/dist/{PageLayout-3DR4pMQ9.js → PageLayout-D3N8MCTm.js} +628 -568
- package/dist/{ProductDetailsPage-Czcrqe2F.js → ProductDetailsPage-DOXO90kb.js} +15 -15
- package/dist/{ProductsPage-DJhdrfox.js → ProductsPage-RLMTwWN0.js} +42 -40
- package/dist/{ReportsPage-DPqE4Q3D.js → ReportsPage-Df3hciPy.js} +10 -10
- package/dist/{RouteDetailsPage-j6ZczLRT.js → RouteDetailsPage-xzFDeR-X.js} +22 -22
- package/dist/{RoutesPage-OZM7lJDi.js → RoutesPage-DDFy1QVi.js} +32 -30
- package/dist/{SettingsPage-v6vRyIAp.js → SettingsPage-JH_-UPbf.js} +7 -7
- package/dist/{StatusBadge-elLZA4Wl.js → StatusBadge-CijYQXtb.js} +5 -2
- package/dist/{TrackingPage-CBmGvTW_.js → TrackingPage-CU0Vk4mx.js} +31 -31
- package/dist/{VehicleDetailsPage-DJXYkTN2.js → VehicleDetailsPage-P4xDttKw.js} +21 -21
- package/dist/VehiclesPage-tJZ64QKV.js +129 -0
- package/dist/{WarehouseDetailsPage-nMZvp56W.js → WarehouseDetailsPage-Bt_w2Yf7.js} +19 -19
- package/dist/{WarehousesPage-BcJ_QrK3.js → WarehousesPage-HsPpEFeG.js} +40 -35
- package/dist/arrow-left-CBpZKkpq.js +11 -0
- package/dist/{box-CnErOGkD.js → box-CAaiElsb.js} +2 -2
- package/dist/{chart-column-CFT0jC9N.js → chart-column-D1Ym15-S.js} +2 -2
- package/dist/chevron-right-BIFGi0UA.js +8 -0
- package/dist/{circle-alert-B2pZQFzu.js → circle-alert-DjmNo5_L.js} +2 -2
- package/dist/circle-check-big-CjuPVo3_.js +11 -0
- package/dist/{clock-DP-76dyQ.js → clock-BjkdnddD.js} +2 -2
- package/dist/{dollar-sign-CrwqdoEC.js → dollar-sign-IB4O0wuQ.js} +2 -2
- package/dist/{download-CQqBpPk5.js → download-Dpa9vqoG.js} +2 -2
- package/dist/{file-text-CnHcsdsc.js → file-text-C8Uioy11.js} +2 -2
- package/dist/filter-Da5OZaHI.js +8 -0
- package/dist/index.js +52 -50
- package/dist/{map-qljBUQ1N.js → map-_Per4sT9.js} +2 -2
- package/dist/{map-pin-4a-IA2NP.js → map-pin-BSaf5IDL.js} +2 -2
- package/dist/navigation-DaTbrhw2.js +8 -0
- package/dist/{package-CPePjBwW.js → package-BE7U0wQE.js} +2 -2
- package/dist/{phone-2rkA8w_3.js → phone-DV4StZiA.js} +2 -2
- package/dist/plus-Dl1rLeJR.js +11 -0
- package/dist/{refresh-cw-oWEqfHnS.js → refresh-cw-CWfERAit.js} +2 -2
- package/dist/{route-DBljW-z4.js → route-Dp9JiN_E.js} +2 -2
- package/dist/{save-Cjsx5R5Y.js → save-XH8vydOn.js} +2 -2
- package/dist/search-OxoIiL_C.js +13 -0
- package/dist/{settings-CX94mtOc.js → settings-3Rw5NwFF.js} +2 -2
- package/dist/{square-pen-BIgbw83U.js → square-pen-hLIbFQFV.js} +2 -2
- package/dist/{star-BW23nRLp.js → star-YsVV3MNQ.js} +2 -2
- package/dist/{store-Cdk0UEPT.js → store-RCBl7HB-.js} +2 -2
- package/dist/{trending-up-DYQ3Xns5.js → trending-up-C-85AwGT.js} +2 -2
- package/dist/{triangle-alert-Ck_oBZ7n.js → triangle-alert-BOhfGgmh.js} +2 -2
- package/dist/{truck-Cd54agV-.js → truck-CtDjNFbi.js} +2 -2
- package/dist/{user-CUEmQUkJ.js → user-Dz5TJZFs.js} +2 -2
- package/dist/{users-e-wRlQnX.js → users-g2N0eL-Z.js} +2 -2
- package/dist/{warehouse-DXnNb4kf.js → warehouse-D3WWDeTX.js} +2 -2
- package/dist/{wrench-DYJo0U8_.js → wrench-CmxY1n4I.js} +2 -2
- package/package.json +2 -2
- package/src/dev/main.tsx +4 -4
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +1 -1
- package/src/movethewheels/components/DataTable.tsx +10 -10
- package/src/movethewheels/components/MetricCard.tsx +52 -23
- package/src/movethewheels/components/PageLayout.tsx +70 -15
- package/src/movethewheels/components/StatusBadge.tsx +2 -1
- package/src/movethewheels/components/ui.tsx +3 -3
- package/src/movethewheels/pages/AIAssistantPage.tsx +3 -3
- package/src/movethewheels/pages/AnalyticsPage.tsx +13 -13
- package/src/movethewheels/pages/CreateOrderPage.tsx +2 -2
- package/src/movethewheels/pages/CustomerDetailsPage.tsx +14 -14
- package/src/movethewheels/pages/CustomersPage.tsx +14 -13
- package/src/movethewheels/pages/DashboardPage.tsx +71 -64
- package/src/movethewheels/pages/DriverDetailsPage.tsx +17 -17
- package/src/movethewheels/pages/DriversPage.tsx +12 -15
- package/src/movethewheels/pages/FinancePage.tsx +4 -4
- package/src/movethewheels/pages/FleetPage.tsx +23 -18
- package/src/movethewheels/pages/ImportExportPage.tsx +5 -5
- package/src/movethewheels/pages/InventoryPage.tsx +25 -18
- package/src/movethewheels/pages/LiveTrackingPage.tsx +18 -18
- package/src/movethewheels/pages/MarketplacePage.tsx +6 -6
- package/src/movethewheels/pages/OrderDetailsPage.tsx +20 -20
- package/src/movethewheels/pages/OrdersListPage.tsx +22 -16
- package/src/movethewheels/pages/ProductDetailsPage.tsx +8 -8
- package/src/movethewheels/pages/ProductsPage.tsx +10 -13
- package/src/movethewheels/pages/ReportsPage.tsx +5 -5
- package/src/movethewheels/pages/RouteDetailsPage.tsx +13 -13
- package/src/movethewheels/pages/RoutesPage.tsx +12 -9
- package/src/movethewheels/pages/SettingsPage.tsx +2 -2
- package/src/movethewheels/pages/TrackingPage.tsx +23 -23
- package/src/movethewheels/pages/VehicleDetailsPage.tsx +13 -13
- package/src/movethewheels/pages/VehiclesPage.tsx +11 -17
- package/src/movethewheels/pages/WarehouseDetailsPage.tsx +11 -11
- package/src/movethewheels/pages/WarehousesPage.tsx +11 -12
- package/dist/CustomersPage-DXnx04Au.js +0 -119
- package/dist/DriversPage-CRursDRZ.js +0 -127
- package/dist/MetricCard-BDcT-7Ei.js +0 -135
- package/dist/VehiclesPage-r_snhuEj.js +0 -127
- package/dist/arrow-left-Crb7WKr1.js +0 -11
- package/dist/chevron-right-Bzo6Rr8_.js +0 -8
- package/dist/circle-check-big-R_fjEgxM.js +0 -11
- package/dist/filter-CgTF21j9.js +0 -8
- package/dist/navigation-CqRTj3vI.js +0 -8
- package/dist/plus-Dew5yoQK.js +0 -11
- package/dist/search-FWYzDbBx.js +0 -13
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
import { F as e, I as t, L as n, P as r, R as i, d as a, f as o, i as s, l as c, u as l } from "./PageLayout-
|
|
2
|
-
import { t as u } from "./DataTable-
|
|
3
|
-
import { t as d } from "./download-
|
|
4
|
-
import { t as f } from "./filter-
|
|
5
|
-
import { t as p } from "./package-
|
|
6
|
-
import { t as m } from "./plus-
|
|
7
|
-
import { t as h } from "./refresh-cw-
|
|
1
|
+
import { F as e, I as t, L as n, P as r, R as i, d as a, f as o, i as s, l as c, u as l } from "./PageLayout-D3N8MCTm.js";
|
|
2
|
+
import { t as u } from "./DataTable-CfWvFw5B.js";
|
|
3
|
+
import { t as d } from "./download-Dpa9vqoG.js";
|
|
4
|
+
import { t as f } from "./filter-Da5OZaHI.js";
|
|
5
|
+
import { t as p } from "./package-BE7U0wQE.js";
|
|
6
|
+
import { t as m } from "./plus-Dl1rLeJR.js";
|
|
7
|
+
import { t as h } from "./refresh-cw-CWfERAit.js";
|
|
8
8
|
import { r as g } from "./graphqlClient-CdJyR_ed.js";
|
|
9
9
|
import { r as _ } from "./useOrders-D_3_hGMp.js";
|
|
10
|
-
import { i as v, n as y, r as b } from "./StatusBadge-
|
|
10
|
+
import { i as v, n as y, r as b } from "./StatusBadge-CijYQXtb.js";
|
|
11
11
|
import { n as x, r as S } from "./formatters-_vJlC-47.js";
|
|
12
12
|
import { t as C } from "./navigation-BgnOfsVd.js";
|
|
13
13
|
import { useState as w } from "react";
|
|
14
14
|
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
15
|
-
import {
|
|
15
|
+
import { CTAOverflowMenu as D } from "@burdenoff/fe-libs/ui";
|
|
16
|
+
import { useI18n as O } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
16
17
|
//#region src/movethewheels/pages/OrdersListPage.tsx
|
|
17
|
-
function
|
|
18
|
-
let { t:
|
|
19
|
-
let n =
|
|
18
|
+
function k() {
|
|
19
|
+
let { t: k } = O(), A = (e, t) => {
|
|
20
|
+
let n = k(e);
|
|
20
21
|
return n === e ? t : n;
|
|
21
|
-
}, { basePath:
|
|
22
|
+
}, { basePath: j, navigate: M } = g(), [N, P] = w("all"), [F, I] = w("all"), { orders: L, totalOrders: R, isLoading: z, refetch: B } = _({
|
|
22
23
|
filters: {
|
|
23
|
-
status:
|
|
24
|
-
orderType:
|
|
24
|
+
status: N === "all" ? void 0 : N,
|
|
25
|
+
orderType: F === "all" ? void 0 : F
|
|
25
26
|
},
|
|
26
27
|
limit: 50
|
|
27
|
-
}),
|
|
28
|
-
|
|
29
|
-
},
|
|
28
|
+
}), V = (e) => {
|
|
29
|
+
M && M(C(j, e));
|
|
30
|
+
}, H = [
|
|
30
31
|
{
|
|
31
32
|
id: "orderNumber",
|
|
32
|
-
header:
|
|
33
|
+
header: A("movethewheels.orders.table.orderNumber", "Order #"),
|
|
33
34
|
accessorKey: "orderNumber",
|
|
34
35
|
sortable: !0,
|
|
35
36
|
className: "min-w-[100px] whitespace-nowrap",
|
|
@@ -40,7 +41,7 @@ function O() {
|
|
|
40
41
|
},
|
|
41
42
|
{
|
|
42
43
|
id: "customer",
|
|
43
|
-
header:
|
|
44
|
+
header: A("movethewheels.orders.table.customer", "Customer"),
|
|
44
45
|
className: "min-w-[180px] max-w-[220px]",
|
|
45
46
|
cell: (e) => /* @__PURE__ */ E("div", {
|
|
46
47
|
className: "min-w-0",
|
|
@@ -48,14 +49,14 @@ function O() {
|
|
|
48
49
|
className: "font-medium truncate",
|
|
49
50
|
children: e.customerInfo.name
|
|
50
51
|
}), /* @__PURE__ */ T("p", {
|
|
51
|
-
className: "text-sm text-
|
|
52
|
+
className: "text-sm text-text-secondary truncate",
|
|
52
53
|
children: e.customerInfo.email
|
|
53
54
|
})]
|
|
54
55
|
})
|
|
55
56
|
},
|
|
56
57
|
{
|
|
57
58
|
id: "status",
|
|
58
|
-
header:
|
|
59
|
+
header: A("movethewheels.orders.table.status", "Status"),
|
|
59
60
|
accessorKey: "status",
|
|
60
61
|
sortable: !0,
|
|
61
62
|
className: "min-w-[130px] whitespace-nowrap",
|
|
@@ -66,14 +67,14 @@ function O() {
|
|
|
66
67
|
},
|
|
67
68
|
{
|
|
68
69
|
id: "type",
|
|
69
|
-
header:
|
|
70
|
+
header: A("movethewheels.orders.table.type", "Type"),
|
|
70
71
|
accessorKey: "orderType",
|
|
71
72
|
className: "min-w-[70px] whitespace-nowrap",
|
|
72
73
|
cell: (e) => /* @__PURE__ */ T(v, { type: e.orderType })
|
|
73
74
|
},
|
|
74
75
|
{
|
|
75
76
|
id: "priority",
|
|
76
|
-
header:
|
|
77
|
+
header: A("movethewheels.orders.table.priority", "Priority"),
|
|
77
78
|
accessorKey: "priority",
|
|
78
79
|
sortable: !0,
|
|
79
80
|
className: "min-w-[90px] whitespace-nowrap",
|
|
@@ -81,20 +82,20 @@ function O() {
|
|
|
81
82
|
},
|
|
82
83
|
{
|
|
83
84
|
id: "items",
|
|
84
|
-
header:
|
|
85
|
+
header: A("movethewheels.orders.table.items", "Items"),
|
|
85
86
|
className: "min-w-[80px] whitespace-nowrap",
|
|
86
87
|
cell: (e) => /* @__PURE__ */ E(c, {
|
|
87
88
|
variant: "secondary",
|
|
88
89
|
children: [
|
|
89
90
|
e.items.length,
|
|
90
91
|
" ",
|
|
91
|
-
|
|
92
|
+
A("movethewheels.orders.table.itemsSuffix", "items")
|
|
92
93
|
]
|
|
93
94
|
})
|
|
94
95
|
},
|
|
95
96
|
{
|
|
96
97
|
id: "total",
|
|
97
|
-
header:
|
|
98
|
+
header: A("movethewheels.orders.table.total", "Total"),
|
|
98
99
|
accessorKey: "pricing",
|
|
99
100
|
sortable: !0,
|
|
100
101
|
className: "min-w-[100px] whitespace-nowrap text-right",
|
|
@@ -105,7 +106,7 @@ function O() {
|
|
|
105
106
|
},
|
|
106
107
|
{
|
|
107
108
|
id: "scheduledDelivery",
|
|
108
|
-
header:
|
|
109
|
+
header: A("movethewheels.orders.table.deliveryDate", "Delivery Date"),
|
|
109
110
|
accessorKey: "scheduledDelivery",
|
|
110
111
|
sortable: !0,
|
|
111
112
|
className: "min-w-[110px] whitespace-nowrap",
|
|
@@ -113,75 +114,73 @@ function O() {
|
|
|
113
114
|
},
|
|
114
115
|
{
|
|
115
116
|
id: "createdAt",
|
|
116
|
-
header:
|
|
117
|
+
header: A("movethewheels.orders.table.created", "Created"),
|
|
117
118
|
accessorKey: "createdAt",
|
|
118
119
|
sortable: !0,
|
|
119
120
|
className: "min-w-[100px] whitespace-nowrap",
|
|
120
121
|
cell: (e) => S(e.createdAt, "relative")
|
|
121
122
|
}
|
|
122
|
-
],
|
|
123
|
+
], U = [
|
|
123
124
|
{
|
|
124
125
|
value: "all",
|
|
125
|
-
label:
|
|
126
|
+
label: A("movethewheels.orders.filters.allStatuses", "All Statuses")
|
|
126
127
|
},
|
|
127
128
|
{
|
|
128
129
|
value: "pending",
|
|
129
|
-
label:
|
|
130
|
+
label: A("movethewheels.orders.status.pending", "Pending")
|
|
130
131
|
},
|
|
131
132
|
{
|
|
132
133
|
value: "confirmed",
|
|
133
|
-
label:
|
|
134
|
+
label: A("movethewheels.orders.status.confirmed", "Confirmed")
|
|
134
135
|
},
|
|
135
136
|
{
|
|
136
137
|
value: "assigned",
|
|
137
|
-
label:
|
|
138
|
+
label: A("movethewheels.orders.status.assigned", "Assigned")
|
|
138
139
|
},
|
|
139
140
|
{
|
|
140
141
|
value: "picked_up",
|
|
141
|
-
label:
|
|
142
|
+
label: A("movethewheels.orders.status.pickedUp", "Picked Up")
|
|
142
143
|
},
|
|
143
144
|
{
|
|
144
145
|
value: "in_transit",
|
|
145
|
-
label:
|
|
146
|
+
label: A("movethewheels.orders.status.inTransit", "In Transit")
|
|
146
147
|
},
|
|
147
148
|
{
|
|
148
149
|
value: "out_for_delivery",
|
|
149
|
-
label:
|
|
150
|
+
label: A("movethewheels.orders.status.outForDelivery", "Out for Delivery")
|
|
150
151
|
},
|
|
151
152
|
{
|
|
152
153
|
value: "delivered",
|
|
153
|
-
label:
|
|
154
|
+
label: A("movethewheels.orders.status.delivered", "Delivered")
|
|
154
155
|
},
|
|
155
156
|
{
|
|
156
157
|
value: "cancelled",
|
|
157
|
-
label:
|
|
158
|
+
label: A("movethewheels.orders.status.cancelled", "Cancelled")
|
|
158
159
|
},
|
|
159
160
|
{
|
|
160
161
|
value: "failed",
|
|
161
|
-
label:
|
|
162
|
+
label: A("movethewheels.orders.status.failed", "Failed")
|
|
162
163
|
}
|
|
163
164
|
];
|
|
164
165
|
return /* @__PURE__ */ E(s, {
|
|
165
|
-
title:
|
|
166
|
-
subtitle: `${
|
|
166
|
+
title: A("movethewheels.orders.title", "Orders"),
|
|
167
|
+
subtitle: `${R} ${A("movethewheels.orders.subtitle", "total orders")}`,
|
|
167
168
|
icon: /* @__PURE__ */ T(p, { size: 24 }),
|
|
168
|
-
headerActions: /* @__PURE__ */
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
/* @__PURE__ */
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
/* @__PURE__ */
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
/* @__PURE__ */
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
})
|
|
184
|
-
]
|
|
169
|
+
headerActions: /* @__PURE__ */ T(D, {
|
|
170
|
+
primary: {
|
|
171
|
+
label: A("movethewheels.orders.actions.newOrder", "New Order"),
|
|
172
|
+
icon: /* @__PURE__ */ T(m, { size: 16 }),
|
|
173
|
+
onSelect: () => V("orders/new")
|
|
174
|
+
},
|
|
175
|
+
actions: [{
|
|
176
|
+
label: A("movethewheels.orders.actions.refresh", "Refresh"),
|
|
177
|
+
icon: /* @__PURE__ */ T(h, { size: 16 }),
|
|
178
|
+
onSelect: () => B()
|
|
179
|
+
}, {
|
|
180
|
+
label: A("movethewheels.orders.actions.export", "Export"),
|
|
181
|
+
icon: /* @__PURE__ */ T(d, { size: 16 }),
|
|
182
|
+
onSelect: () => {}
|
|
183
|
+
}]
|
|
185
184
|
}),
|
|
186
185
|
children: [/* @__PURE__ */ T(a, { children: /* @__PURE__ */ T(o, {
|
|
187
186
|
className: "p-4",
|
|
@@ -192,33 +191,33 @@ function O() {
|
|
|
192
191
|
className: "flex items-center gap-2",
|
|
193
192
|
children: [/* @__PURE__ */ T(f, {
|
|
194
193
|
size: 16,
|
|
195
|
-
className: "text-
|
|
194
|
+
className: "text-text-secondary"
|
|
196
195
|
}), /* @__PURE__ */ T("span", {
|
|
197
196
|
className: "text-sm font-medium",
|
|
198
|
-
children:
|
|
197
|
+
children: A("movethewheels.orders.filters.label", "Filters:")
|
|
199
198
|
})]
|
|
200
199
|
}),
|
|
201
200
|
/* @__PURE__ */ E(r, {
|
|
202
|
-
value:
|
|
203
|
-
onValueChange: (e) =>
|
|
201
|
+
value: N,
|
|
202
|
+
onValueChange: (e) => P(e),
|
|
204
203
|
children: [/* @__PURE__ */ T(n, {
|
|
205
204
|
className: "w-[180px]",
|
|
206
|
-
children: /* @__PURE__ */ T(i, { placeholder:
|
|
207
|
-
}), /* @__PURE__ */ T(e, { children:
|
|
205
|
+
children: /* @__PURE__ */ T(i, { placeholder: A("movethewheels.orders.filters.status", "Status") })
|
|
206
|
+
}), /* @__PURE__ */ T(e, { children: U.map((e) => /* @__PURE__ */ T(t, {
|
|
208
207
|
value: e.value,
|
|
209
208
|
children: e.label
|
|
210
209
|
}, e.value)) })]
|
|
211
210
|
}),
|
|
212
211
|
/* @__PURE__ */ E(r, {
|
|
213
|
-
value:
|
|
214
|
-
onValueChange: (e) =>
|
|
212
|
+
value: F,
|
|
213
|
+
onValueChange: (e) => I(e),
|
|
215
214
|
children: [/* @__PURE__ */ T(n, {
|
|
216
215
|
className: "w-[150px]",
|
|
217
|
-
children: /* @__PURE__ */ T(i, { placeholder:
|
|
216
|
+
children: /* @__PURE__ */ T(i, { placeholder: A("movethewheels.orders.filters.type", "Type") })
|
|
218
217
|
}), /* @__PURE__ */ E(e, { children: [
|
|
219
218
|
/* @__PURE__ */ T(t, {
|
|
220
219
|
value: "all",
|
|
221
|
-
children:
|
|
220
|
+
children: A("movethewheels.orders.filters.allTypes", "All Types")
|
|
222
221
|
}),
|
|
223
222
|
/* @__PURE__ */ T(t, {
|
|
224
223
|
value: "b2b",
|
|
@@ -230,28 +229,28 @@ function O() {
|
|
|
230
229
|
})
|
|
231
230
|
] })]
|
|
232
231
|
}),
|
|
233
|
-
(
|
|
232
|
+
(N !== "all" || F !== "all") && /* @__PURE__ */ T(l, {
|
|
234
233
|
variant: "ghost",
|
|
235
234
|
size: "sm",
|
|
236
235
|
onClick: () => {
|
|
237
|
-
|
|
236
|
+
P("all"), I("all");
|
|
238
237
|
},
|
|
239
|
-
children:
|
|
238
|
+
children: A("movethewheels.orders.filters.clear", "Clear filters")
|
|
240
239
|
})
|
|
241
240
|
]
|
|
242
241
|
})
|
|
243
242
|
}) }), /* @__PURE__ */ T(u, {
|
|
244
|
-
columns:
|
|
245
|
-
data:
|
|
246
|
-
isLoading:
|
|
243
|
+
columns: H,
|
|
244
|
+
data: L,
|
|
245
|
+
isLoading: z,
|
|
247
246
|
searchable: !0,
|
|
248
|
-
searchPlaceholder:
|
|
247
|
+
searchPlaceholder: A("movethewheels.orders.searchPlaceholder", "Search orders..."),
|
|
249
248
|
searchFields: ["orderNumber", "customerInfo"],
|
|
250
|
-
onRowClick: (e) =>
|
|
249
|
+
onRowClick: (e) => V(`orders/${e.id}`),
|
|
251
250
|
getRowId: (e) => e.id,
|
|
252
|
-
emptyMessage:
|
|
251
|
+
emptyMessage: A("movethewheels.orders.empty", "No orders found")
|
|
253
252
|
})]
|
|
254
253
|
});
|
|
255
254
|
}
|
|
256
255
|
//#endregion
|
|
257
|
-
export {
|
|
256
|
+
export { k as default };
|