@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.
Files changed (110) hide show
  1. package/dist/{AIAssistantPage-FGGTN-DA.js → AIAssistantPage-CNyoKtID.js} +8 -8
  2. package/dist/{AnalyticsPage-DSLYCnln.js → AnalyticsPage-Ck615ox7.js} +21 -21
  3. package/dist/{CreateOrderPage-BgjA_QFT.js → CreateOrderPage-C9Vb57Yn.js} +8 -8
  4. package/dist/{CustomerDetailsPage-Cfvfw12U.js → CustomerDetailsPage-BVkHRZvi.js} +24 -24
  5. package/dist/CustomersPage-DhQg-6h_.js +118 -0
  6. package/dist/{DashboardPage-BeyvN3Mr.js → DashboardPage-DTmyuC11.js} +134 -127
  7. package/dist/{DataTable-oNjXEcUO.js → DataTable-CfWvFw5B.js} +13 -13
  8. package/dist/{DriverDetailsPage-DGTUZG5S.js → DriverDetailsPage-DaaCQ-2O.js} +27 -27
  9. package/dist/DriversPage-D0RMBB_t.js +129 -0
  10. package/dist/{FinancePage-Cyi75iWa.js → FinancePage-BUXqW1IM.js} +11 -11
  11. package/dist/{FleetPage-Dlupg1NZ.js → FleetPage-DCfOmBa2.js} +74 -73
  12. package/dist/{ImportExportPage-D81vnXbH.js → ImportExportPage-BM1BoRcE.js} +9 -9
  13. package/dist/{InventoryPage-D0u2nxRd.js → InventoryPage-BW0QXWuf.js} +68 -73
  14. package/dist/{LiveTrackingPage-CKIlbMBA.js → LiveTrackingPage-DqcGXdkw.js} +26 -26
  15. package/dist/{MarketplacePage-3NpZ0_SK.js → MarketplacePage-DFqsxNYU.js} +13 -13
  16. package/dist/MetricCard-B7yMyvMX.js +146 -0
  17. package/dist/{OrderDetailsPage-BeGWzAws.js → OrderDetailsPage-Dx1m3cVA.js} +34 -34
  18. package/dist/{OrdersListPage-DczM6NXa.js → OrdersListPage-DHYBGrWf.js} +78 -79
  19. package/dist/{PageLayout-3DR4pMQ9.js → PageLayout-D3N8MCTm.js} +628 -568
  20. package/dist/{ProductDetailsPage-Czcrqe2F.js → ProductDetailsPage-DOXO90kb.js} +15 -15
  21. package/dist/{ProductsPage-DJhdrfox.js → ProductsPage-RLMTwWN0.js} +42 -40
  22. package/dist/{ReportsPage-DPqE4Q3D.js → ReportsPage-Df3hciPy.js} +10 -10
  23. package/dist/{RouteDetailsPage-j6ZczLRT.js → RouteDetailsPage-xzFDeR-X.js} +22 -22
  24. package/dist/{RoutesPage-OZM7lJDi.js → RoutesPage-DDFy1QVi.js} +32 -30
  25. package/dist/{SettingsPage-v6vRyIAp.js → SettingsPage-JH_-UPbf.js} +7 -7
  26. package/dist/{StatusBadge-elLZA4Wl.js → StatusBadge-CijYQXtb.js} +5 -2
  27. package/dist/{TrackingPage-CBmGvTW_.js → TrackingPage-CU0Vk4mx.js} +31 -31
  28. package/dist/{VehicleDetailsPage-DJXYkTN2.js → VehicleDetailsPage-P4xDttKw.js} +21 -21
  29. package/dist/VehiclesPage-tJZ64QKV.js +129 -0
  30. package/dist/{WarehouseDetailsPage-nMZvp56W.js → WarehouseDetailsPage-Bt_w2Yf7.js} +19 -19
  31. package/dist/{WarehousesPage-BcJ_QrK3.js → WarehousesPage-HsPpEFeG.js} +40 -35
  32. package/dist/arrow-left-CBpZKkpq.js +11 -0
  33. package/dist/{box-CnErOGkD.js → box-CAaiElsb.js} +2 -2
  34. package/dist/{chart-column-CFT0jC9N.js → chart-column-D1Ym15-S.js} +2 -2
  35. package/dist/chevron-right-BIFGi0UA.js +8 -0
  36. package/dist/{circle-alert-B2pZQFzu.js → circle-alert-DjmNo5_L.js} +2 -2
  37. package/dist/circle-check-big-CjuPVo3_.js +11 -0
  38. package/dist/{clock-DP-76dyQ.js → clock-BjkdnddD.js} +2 -2
  39. package/dist/{dollar-sign-CrwqdoEC.js → dollar-sign-IB4O0wuQ.js} +2 -2
  40. package/dist/{download-CQqBpPk5.js → download-Dpa9vqoG.js} +2 -2
  41. package/dist/{file-text-CnHcsdsc.js → file-text-C8Uioy11.js} +2 -2
  42. package/dist/filter-Da5OZaHI.js +8 -0
  43. package/dist/index.js +52 -50
  44. package/dist/{map-qljBUQ1N.js → map-_Per4sT9.js} +2 -2
  45. package/dist/{map-pin-4a-IA2NP.js → map-pin-BSaf5IDL.js} +2 -2
  46. package/dist/navigation-DaTbrhw2.js +8 -0
  47. package/dist/{package-CPePjBwW.js → package-BE7U0wQE.js} +2 -2
  48. package/dist/{phone-2rkA8w_3.js → phone-DV4StZiA.js} +2 -2
  49. package/dist/plus-Dl1rLeJR.js +11 -0
  50. package/dist/{refresh-cw-oWEqfHnS.js → refresh-cw-CWfERAit.js} +2 -2
  51. package/dist/{route-DBljW-z4.js → route-Dp9JiN_E.js} +2 -2
  52. package/dist/{save-Cjsx5R5Y.js → save-XH8vydOn.js} +2 -2
  53. package/dist/search-OxoIiL_C.js +13 -0
  54. package/dist/{settings-CX94mtOc.js → settings-3Rw5NwFF.js} +2 -2
  55. package/dist/{square-pen-BIgbw83U.js → square-pen-hLIbFQFV.js} +2 -2
  56. package/dist/{star-BW23nRLp.js → star-YsVV3MNQ.js} +2 -2
  57. package/dist/{store-Cdk0UEPT.js → store-RCBl7HB-.js} +2 -2
  58. package/dist/{trending-up-DYQ3Xns5.js → trending-up-C-85AwGT.js} +2 -2
  59. package/dist/{triangle-alert-Ck_oBZ7n.js → triangle-alert-BOhfGgmh.js} +2 -2
  60. package/dist/{truck-Cd54agV-.js → truck-CtDjNFbi.js} +2 -2
  61. package/dist/{user-CUEmQUkJ.js → user-Dz5TJZFs.js} +2 -2
  62. package/dist/{users-e-wRlQnX.js → users-g2N0eL-Z.js} +2 -2
  63. package/dist/{warehouse-DXnNb4kf.js → warehouse-D3WWDeTX.js} +2 -2
  64. package/dist/{wrench-DYJo0U8_.js → wrench-CmxY1n4I.js} +2 -2
  65. package/package.json +2 -2
  66. package/src/dev/main.tsx +4 -4
  67. package/src/movethewheels/MoveTheWheelsRoutes.tsx +1 -1
  68. package/src/movethewheels/components/DataTable.tsx +10 -10
  69. package/src/movethewheels/components/MetricCard.tsx +52 -23
  70. package/src/movethewheels/components/PageLayout.tsx +70 -15
  71. package/src/movethewheels/components/StatusBadge.tsx +2 -1
  72. package/src/movethewheels/components/ui.tsx +3 -3
  73. package/src/movethewheels/pages/AIAssistantPage.tsx +3 -3
  74. package/src/movethewheels/pages/AnalyticsPage.tsx +13 -13
  75. package/src/movethewheels/pages/CreateOrderPage.tsx +2 -2
  76. package/src/movethewheels/pages/CustomerDetailsPage.tsx +14 -14
  77. package/src/movethewheels/pages/CustomersPage.tsx +14 -13
  78. package/src/movethewheels/pages/DashboardPage.tsx +71 -64
  79. package/src/movethewheels/pages/DriverDetailsPage.tsx +17 -17
  80. package/src/movethewheels/pages/DriversPage.tsx +12 -15
  81. package/src/movethewheels/pages/FinancePage.tsx +4 -4
  82. package/src/movethewheels/pages/FleetPage.tsx +23 -18
  83. package/src/movethewheels/pages/ImportExportPage.tsx +5 -5
  84. package/src/movethewheels/pages/InventoryPage.tsx +25 -18
  85. package/src/movethewheels/pages/LiveTrackingPage.tsx +18 -18
  86. package/src/movethewheels/pages/MarketplacePage.tsx +6 -6
  87. package/src/movethewheels/pages/OrderDetailsPage.tsx +20 -20
  88. package/src/movethewheels/pages/OrdersListPage.tsx +22 -16
  89. package/src/movethewheels/pages/ProductDetailsPage.tsx +8 -8
  90. package/src/movethewheels/pages/ProductsPage.tsx +10 -13
  91. package/src/movethewheels/pages/ReportsPage.tsx +5 -5
  92. package/src/movethewheels/pages/RouteDetailsPage.tsx +13 -13
  93. package/src/movethewheels/pages/RoutesPage.tsx +12 -9
  94. package/src/movethewheels/pages/SettingsPage.tsx +2 -2
  95. package/src/movethewheels/pages/TrackingPage.tsx +23 -23
  96. package/src/movethewheels/pages/VehicleDetailsPage.tsx +13 -13
  97. package/src/movethewheels/pages/VehiclesPage.tsx +11 -17
  98. package/src/movethewheels/pages/WarehouseDetailsPage.tsx +11 -11
  99. package/src/movethewheels/pages/WarehousesPage.tsx +11 -12
  100. package/dist/CustomersPage-DXnx04Au.js +0 -119
  101. package/dist/DriversPage-CRursDRZ.js +0 -127
  102. package/dist/MetricCard-BDcT-7Ei.js +0 -135
  103. package/dist/VehiclesPage-r_snhuEj.js +0 -127
  104. package/dist/arrow-left-Crb7WKr1.js +0 -11
  105. package/dist/chevron-right-Bzo6Rr8_.js +0 -8
  106. package/dist/circle-check-big-R_fjEgxM.js +0 -11
  107. package/dist/filter-CgTF21j9.js +0 -8
  108. package/dist/navigation-CqRTj3vI.js +0 -8
  109. package/dist/plus-Dew5yoQK.js +0 -11
  110. package/dist/search-FWYzDbBx.js +0 -13
@@ -1,18 +1,18 @@
1
- import { J as e, N as t, X as n, Z as r, d as i, f as a, g as o, h as s, i as c, it as l, l as u, u as d } from "./PageLayout-3DR4pMQ9.js";
2
- import { t as f } from "./map-pin-4a-IA2NP.js";
3
- import { t as p } from "./map-qljBUQ1N.js";
4
- import { t as m } from "./package-CPePjBwW.js";
5
- import { t as h } from "./refresh-cw-oWEqfHnS.js";
6
- import { t as g } from "./truck-Cd54agV-.js";
1
+ import { J as e, N as t, X as n, Z as r, d as i, f as a, g as o, h as s, i as c, it as l, l as u, u as d } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as f } from "./map-pin-BSaf5IDL.js";
3
+ import { t as p } from "./map-_Per4sT9.js";
4
+ import { t as m } from "./package-BE7U0wQE.js";
5
+ import { t as h } from "./refresh-cw-CWfERAit.js";
6
+ import { t as g } from "./truck-CtDjNFbi.js";
7
7
  import { r as _ } from "./graphqlClient-CdJyR_ed.js";
8
8
  import { o as v, r as y } from "./useTracking-De2KIUNu.js";
9
- import { r as b, t as x } from "./MetricCard-BDcT-7Ei.js";
10
- import { r as S } from "./StatusBadge-elLZA4Wl.js";
9
+ import { r as b, t as x } from "./MetricCard-B7yMyvMX.js";
10
+ import { r as S } from "./StatusBadge-CijYQXtb.js";
11
11
  import { r as C } from "./formatters-_vJlC-47.js";
12
12
  import { t as w } from "./navigation-BgnOfsVd.js";
13
13
  import { useState as T } from "react";
14
14
  import { jsx as E, jsxs as D } from "react/jsx-runtime";
15
- //#region ../../node_modules/.bun/lucide-react@0.468.0+3f10a4be4e334a9b/node_modules/lucide-react/dist/esm/icons/list.js
15
+ //#region node_modules/lucide-react/dist/esm/icons/list.js
16
16
  var O = l("List", [
17
17
  ["path", {
18
18
  d: "M3 12h.01",
@@ -108,9 +108,9 @@ function k() {
108
108
  children: /* @__PURE__ */ E(a, {
109
109
  className: "p-0 h-full",
110
110
  children: /* @__PURE__ */ E("div", {
111
- className: "w-full h-full bg-muted rounded-lg flex items-center justify-center",
111
+ className: "w-full h-full bg-bg-sunken rounded-lg flex items-center justify-center",
112
112
  children: /* @__PURE__ */ D("div", {
113
- className: "text-center text-muted-foreground",
113
+ className: "text-center text-text-secondary",
114
114
  children: [
115
115
  /* @__PURE__ */ E(f, {
116
116
  size: 64,
@@ -143,7 +143,7 @@ function k() {
143
143
  children: /* @__PURE__ */ D("div", {
144
144
  className: "divide-y",
145
145
  children: [A.map((e) => e.order ? /* @__PURE__ */ E("div", {
146
- className: `p-4 hover:bg-muted/50 cursor-pointer transition-colors ${I === e.order.id ? "bg-muted/50" : ""}`,
146
+ className: `p-4 hover:bg-bg-sunken/50 cursor-pointer transition-colors ${I === e.order.id ? "bg-bg-sunken/50" : ""}`,
147
147
  onClick: () => L(e.order.id),
148
148
  children: /* @__PURE__ */ D("div", {
149
149
  className: "flex items-start justify-between",
@@ -160,11 +160,11 @@ function k() {
160
160
  })]
161
161
  }),
162
162
  /* @__PURE__ */ E("p", {
163
- className: "text-sm text-muted-foreground",
163
+ className: "text-sm text-text-secondary",
164
164
  children: e.order.customerInfo.name
165
165
  }),
166
166
  /* @__PURE__ */ D("p", {
167
- className: "text-sm text-muted-foreground",
167
+ className: "text-sm text-text-secondary",
168
168
  children: [e.driver?.fullName || "Unassigned", e.vehicle && ` - ${e.vehicle.vehicleNumber}`]
169
169
  })
170
170
  ] }), /* @__PURE__ */ D("div", {
@@ -177,13 +177,13 @@ function k() {
177
177
  e.estimatedArrival ? C(e.estimatedArrival, "time") : "N/A"
178
178
  ]
179
179
  }), /* @__PURE__ */ E("p", {
180
- className: "text-xs text-muted-foreground",
180
+ className: "text-xs text-text-secondary",
181
181
  children: e.tracking?.currentLocation.address || "Location updating..."
182
182
  })]
183
183
  })]
184
184
  })
185
185
  }, e.order.id) : null), A.length === 0 && /* @__PURE__ */ E("div", {
186
- className: "p-8 text-center text-muted-foreground",
186
+ className: "p-8 text-center text-text-secondary",
187
187
  children: "No active deliveries"
188
188
  })]
189
189
  })
@@ -204,7 +204,7 @@ function k() {
204
204
  className: "space-y-4",
205
205
  children: [
206
206
  /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
207
- className: "text-sm text-muted-foreground",
207
+ className: "text-sm text-text-secondary",
208
208
  children: "Order"
209
209
  }), /* @__PURE__ */ E("p", {
210
210
  className: "font-medium",
@@ -212,7 +212,7 @@ function k() {
212
212
  })] }),
213
213
  /* @__PURE__ */ D("div", { children: [
214
214
  /* @__PURE__ */ E("p", {
215
- className: "text-sm text-muted-foreground",
215
+ className: "text-sm text-text-secondary",
216
216
  children: "Customer"
217
217
  }),
218
218
  /* @__PURE__ */ E("p", {
@@ -220,33 +220,33 @@ function k() {
220
220
  children: z.order?.customerInfo.name ?? "-"
221
221
  }),
222
222
  /* @__PURE__ */ E("p", {
223
- className: "text-sm text-muted-foreground",
223
+ className: "text-sm text-text-secondary",
224
224
  children: z.order?.customerInfo.phone ?? "-"
225
225
  })
226
226
  ] }),
227
227
  /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
228
- className: "text-sm text-muted-foreground",
228
+ className: "text-sm text-text-secondary",
229
229
  children: "Driver"
230
230
  }), /* @__PURE__ */ E("p", {
231
231
  className: "font-medium",
232
232
  children: z.driver?.fullName || "Unassigned"
233
233
  })] }),
234
234
  /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
235
- className: "text-sm text-muted-foreground",
235
+ className: "text-sm text-text-secondary",
236
236
  children: "Vehicle"
237
237
  }), /* @__PURE__ */ E("p", {
238
238
  className: "font-medium",
239
239
  children: z.vehicle ? `${z.vehicle.vehicleNumber} - ${z.vehicle.make} ${z.vehicle.model}` : "Not assigned"
240
240
  })] }),
241
241
  /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
242
- className: "text-sm text-muted-foreground",
242
+ className: "text-sm text-text-secondary",
243
243
  children: "Current Location"
244
244
  }), /* @__PURE__ */ E("p", {
245
245
  className: "text-sm",
246
246
  children: z.tracking?.currentLocation.address || "Updating..."
247
247
  })] }),
248
248
  /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
249
- className: "text-sm text-muted-foreground",
249
+ className: "text-sm text-text-secondary",
250
250
  children: "Estimated Arrival"
251
251
  }), /* @__PURE__ */ E("p", {
252
252
  className: "font-medium",
@@ -269,7 +269,7 @@ function k() {
269
269
  })
270
270
  ]
271
271
  })] }) : /* @__PURE__ */ E(i, { children: /* @__PURE__ */ D(a, {
272
- className: "p-8 text-center text-muted-foreground",
272
+ className: "p-8 text-center text-text-secondary",
273
273
  children: [/* @__PURE__ */ E(f, {
274
274
  size: 32,
275
275
  className: "mx-auto mb-2 opacity-50"
@@ -289,12 +289,12 @@ function k() {
289
289
  className: "font-medium",
290
290
  children: e.message
291
291
  }), /* @__PURE__ */ E("p", {
292
- className: "text-xs text-muted-foreground mt-1",
292
+ className: "text-xs text-text-secondary mt-1",
293
293
  children: C(e.timestamp, "relative")
294
294
  })]
295
295
  }, e.id))
296
296
  }) : /* @__PURE__ */ E("div", {
297
- className: "text-center text-muted-foreground py-4",
297
+ className: "text-center text-text-secondary py-4",
298
298
  children: /* @__PURE__ */ E("p", {
299
299
  className: "text-sm",
300
300
  children: "No active alerts"
@@ -1,10 +1,10 @@
1
- import { A as e, d as t, f as n, g as r, h as i, i as a, l as o, u as s } from "./PageLayout-3DR4pMQ9.js";
2
- import { t as c } from "./clock-DP-76dyQ.js";
3
- import { t as l } from "./filter-CgTF21j9.js";
4
- import { t as u } from "./map-pin-4a-IA2NP.js";
5
- import { t as d } from "./search-FWYzDbBx.js";
6
- import { t as f } from "./star-BW23nRLp.js";
7
- import { t as p } from "./store-Cdk0UEPT.js";
1
+ import { A as e, d as t, f as n, g as r, h as i, i as a, l as o, u as s } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as c } from "./clock-BjkdnddD.js";
3
+ import { t as l } from "./filter-Da5OZaHI.js";
4
+ import { t as u } from "./map-pin-BSaf5IDL.js";
5
+ import { t as d } from "./search-OxoIiL_C.js";
6
+ import { t as f } from "./star-YsVV3MNQ.js";
7
+ import { t as p } from "./store-RCBl7HB-.js";
8
8
  import { r as m, t as h } from "./graphqlClient-CdJyR_ed.js";
9
9
  import { n as g } from "./formatters-_vJlC-47.js";
10
10
  import { useCallback as _, useEffect as v, useMemo as y, useState as b } from "react";
@@ -59,7 +59,7 @@ function T() {
59
59
  children: /* @__PURE__ */ S("div", {
60
60
  className: "relative",
61
61
  children: [/* @__PURE__ */ x(d, {
62
- className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground",
62
+ className: "absolute left-3 top-1/2 -translate-y-1/2 text-text-secondary",
63
63
  size: 20
64
64
  }), /* @__PURE__ */ x(e, {
65
65
  placeholder: "Search services, providers, locations...",
@@ -104,11 +104,11 @@ function T() {
104
104
  ]
105
105
  }),
106
106
  /* @__PURE__ */ x("p", {
107
- className: "text-muted-foreground mt-1",
107
+ className: "text-text-secondary mt-1",
108
108
  children: e.description
109
109
  }),
110
110
  /* @__PURE__ */ S("div", {
111
- className: "flex items-center gap-4 mt-3 text-sm text-muted-foreground",
111
+ className: "flex items-center gap-4 mt-3 text-sm text-text-secondary",
112
112
  children: [
113
113
  /* @__PURE__ */ S("span", {
114
114
  className: "flex items-center gap-1",
@@ -138,7 +138,7 @@ function T() {
138
138
  ] }), /* @__PURE__ */ S("div", {
139
139
  className: "text-right",
140
140
  children: [/* @__PURE__ */ x("p", {
141
- className: "text-sm text-muted-foreground",
141
+ className: "text-sm text-text-secondary",
142
142
  children: "Services"
143
143
  }), /* @__PURE__ */ x("p", {
144
144
  className: "text-lg font-bold",
@@ -158,7 +158,7 @@ function T() {
158
158
  children: e.name
159
159
  }) }), /* @__PURE__ */ S(n, { children: [
160
160
  /* @__PURE__ */ x("p", {
161
- className: "text-sm text-muted-foreground mb-3",
161
+ className: "text-sm text-text-secondary mb-3",
162
162
  children: e.description
163
163
  }),
164
164
  /* @__PURE__ */ S("div", {
@@ -179,7 +179,7 @@ function T() {
179
179
  className: "font-bold",
180
180
  children: g(e.price)
181
181
  }), /* @__PURE__ */ x("span", {
182
- className: "text-sm text-muted-foreground",
182
+ className: "text-sm text-text-secondary",
183
183
  children: e.currency
184
184
  })]
185
185
  })
@@ -0,0 +1,146 @@
1
+ import { rt as e } from "./PageLayout-D3N8MCTm.js";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ import { GlassCard as r } from "@burdenoff/fe-libs/ui";
4
+ //#region src/movethewheels/components/MetricCard.tsx
5
+ var i = {
6
+ sm: {
7
+ card: "p-3",
8
+ value: "text-xl font-bold",
9
+ label: "text-xs",
10
+ icon: "w-8 h-8"
11
+ },
12
+ md: {
13
+ card: "p-4",
14
+ value: "text-2xl font-bold",
15
+ label: "text-sm",
16
+ icon: "w-10 h-10"
17
+ },
18
+ lg: {
19
+ card: "p-6",
20
+ value: "text-3xl font-bold",
21
+ label: "text-base",
22
+ icon: "w-12 h-12"
23
+ }
24
+ };
25
+ function a({ value: a, label: o, icon: s, change: c, changeType: l = "neutral", subtitle: u, trend: d, size: f = "md", onClick: p, className: m, treatment: h = "metric", glow: g = !1 }) {
26
+ let _ = i[f], v = {
27
+ positive: "text-status-success-text",
28
+ negative: "text-status-error-text",
29
+ neutral: "text-text-secondary"
30
+ }, y = {
31
+ up: /* @__PURE__ */ t("svg", {
32
+ className: "w-4 h-4",
33
+ fill: "none",
34
+ viewBox: "0 0 24 24",
35
+ stroke: "currentColor",
36
+ children: /* @__PURE__ */ t("path", {
37
+ strokeLinecap: "round",
38
+ strokeLinejoin: "round",
39
+ strokeWidth: 2,
40
+ d: "M5 10l7-7m0 0l7 7m-7-7v18"
41
+ })
42
+ }),
43
+ down: /* @__PURE__ */ t("svg", {
44
+ className: "w-4 h-4",
45
+ fill: "none",
46
+ viewBox: "0 0 24 24",
47
+ stroke: "currentColor",
48
+ children: /* @__PURE__ */ t("path", {
49
+ strokeLinecap: "round",
50
+ strokeLinejoin: "round",
51
+ strokeWidth: 2,
52
+ d: "M19 14l-7 7m0 0l-7-7m7 7V3"
53
+ })
54
+ }),
55
+ flat: /* @__PURE__ */ t("svg", {
56
+ className: "w-4 h-4",
57
+ fill: "none",
58
+ viewBox: "0 0 24 24",
59
+ stroke: "currentColor",
60
+ children: /* @__PURE__ */ t("path", {
61
+ strokeLinecap: "round",
62
+ strokeLinejoin: "round",
63
+ strokeWidth: 2,
64
+ d: "M5 12h14"
65
+ })
66
+ })
67
+ };
68
+ return /* @__PURE__ */ t(r, {
69
+ treatment: h,
70
+ glow: g,
71
+ className: e("overflow-hidden border-border-seam", p && "cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-action-primary-bg focus-visible:ring-offset-2 focus-visible:ring-offset-bg-base", m),
72
+ onClick: p,
73
+ ...p ? {
74
+ role: "button",
75
+ tabIndex: 0,
76
+ onKeyDown: (e) => {
77
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), p());
78
+ }
79
+ } : {},
80
+ children: /* @__PURE__ */ t("div", {
81
+ className: _.card,
82
+ children: /* @__PURE__ */ n("div", {
83
+ className: "flex items-start justify-between",
84
+ children: [/* @__PURE__ */ n("div", {
85
+ className: "space-y-1",
86
+ children: [
87
+ /* @__PURE__ */ t("p", {
88
+ className: e("text-text-secondary", _.label),
89
+ children: o
90
+ }),
91
+ /* @__PURE__ */ t("p", {
92
+ className: e("text-text-primary tracking-tight tabular-nums", _.value),
93
+ children: typeof a == "number" ? a.toLocaleString() : a
94
+ }),
95
+ u && /* @__PURE__ */ t("p", {
96
+ className: "text-xs text-text-secondary",
97
+ children: u
98
+ }),
99
+ c && /* @__PURE__ */ n("div", {
100
+ className: e("flex items-center gap-1 text-sm tabular-nums", v[l]),
101
+ children: [d && y[d], /* @__PURE__ */ t("span", { children: c })]
102
+ })
103
+ ]
104
+ }), s && /* @__PURE__ */ t("div", {
105
+ className: e("flex-shrink-0 p-2 rounded-lg bg-action-primary-bg/10 text-action-primary-bg", _.icon),
106
+ children: s
107
+ })]
108
+ })
109
+ })
110
+ });
111
+ }
112
+ function o({ size: a = "md" }) {
113
+ let o = i[a];
114
+ return /* @__PURE__ */ t(r, {
115
+ treatment: "metric",
116
+ className: "overflow-hidden border-border-seam",
117
+ children: /* @__PURE__ */ t("div", {
118
+ className: o.card,
119
+ children: /* @__PURE__ */ n("div", {
120
+ className: "flex items-start justify-between",
121
+ children: [/* @__PURE__ */ n("div", {
122
+ className: "space-y-2 flex-1",
123
+ children: [
124
+ /* @__PURE__ */ t("div", { className: "h-4 w-24 bg-bg-sunken motion-safe:animate-vc-shimmer rounded" }),
125
+ /* @__PURE__ */ t("div", { className: "h-8 w-32 bg-bg-sunken motion-safe:animate-vc-shimmer rounded" }),
126
+ /* @__PURE__ */ t("div", { className: "h-3 w-20 bg-bg-sunken motion-safe:animate-vc-shimmer rounded" })
127
+ ]
128
+ }), /* @__PURE__ */ t("div", { className: e("bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg", o.icon) })]
129
+ })
130
+ })
131
+ });
132
+ }
133
+ function s({ children: n, columns: r = 4, className: i }) {
134
+ return /* @__PURE__ */ t("div", {
135
+ className: e("grid gap-4", {
136
+ 2: "grid-cols-1 sm:grid-cols-2",
137
+ 3: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",
138
+ 4: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4",
139
+ 5: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5",
140
+ 6: "grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-6"
141
+ }[r], i),
142
+ children: n
143
+ });
144
+ }
145
+ //#endregion
146
+ export { o as n, s as r, a as t };
@@ -1,23 +1,23 @@
1
- import { G as e, H as t, K as n, U as r, W as i, d as a, f as o, g as s, h as c, i as l, it as u, l as d, n as f, q as p, r as m, u as h, z as g } from "./PageLayout-3DR4pMQ9.js";
2
- import { t as _ } from "./arrow-left-Crb7WKr1.js";
3
- import { t as v } from "./circle-check-big-R_fjEgxM.js";
4
- import { t as y } from "./clock-DP-76dyQ.js";
5
- import { t as b } from "./dollar-sign-CrwqdoEC.js";
6
- import { t as x } from "./file-text-CnHcsdsc.js";
7
- import { n as S, t as C } from "./phone-2rkA8w_3.js";
8
- import { t as w } from "./map-pin-4a-IA2NP.js";
9
- import { t as T } from "./package-CPePjBwW.js";
10
- import { t as E } from "./square-pen-BIgbw83U.js";
11
- import { t as D } from "./truck-Cd54agV-.js";
12
- import { t as O } from "./user-CUEmQUkJ.js";
1
+ import { G as e, H as t, K as n, U as r, W as i, d as a, f as o, g as s, h as c, i as l, it as u, l as d, n as f, q as p, r as m, u as h, z as g } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as _ } from "./arrow-left-CBpZKkpq.js";
3
+ import { t as v } from "./circle-check-big-CjuPVo3_.js";
4
+ import { t as y } from "./clock-BjkdnddD.js";
5
+ import { t as b } from "./dollar-sign-IB4O0wuQ.js";
6
+ import { t as x } from "./file-text-C8Uioy11.js";
7
+ import { n as S, t as C } from "./phone-DV4StZiA.js";
8
+ import { t as w } from "./map-pin-BSaf5IDL.js";
9
+ import { t as T } from "./package-BE7U0wQE.js";
10
+ import { t as E } from "./square-pen-hLIbFQFV.js";
11
+ import { t as D } from "./truck-CtDjNFbi.js";
12
+ import { t as O } from "./user-Dz5TJZFs.js";
13
13
  import { r as k } from "./graphqlClient-CdJyR_ed.js";
14
14
  import { t as A } from "./useOrders-D_3_hGMp.js";
15
- import { i as j, n as M, r as N, t as P } from "./StatusBadge-elLZA4Wl.js";
15
+ import { i as j, n as M, r as N, t as P } from "./StatusBadge-CijYQXtb.js";
16
16
  import { n as F, r as I, t as L } from "./formatters-_vJlC-47.js";
17
17
  import { t as R } from "./navigation-BgnOfsVd.js";
18
18
  import { useParams as z } from "react-router-dom";
19
19
  import { jsx as B, jsxs as V } from "react/jsx-runtime";
20
- //#region ../../node_modules/.bun/lucide-react@0.468.0+3f10a4be4e334a9b/node_modules/lucide-react/dist/esm/icons/printer.js
20
+ //#region node_modules/lucide-react/dist/esm/icons/printer.js
21
21
  var H = u("Printer", [
22
22
  ["path", {
23
23
  d: "M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",
@@ -98,7 +98,7 @@ function U() {
98
98
  children: G.customerInfo.name
99
99
  }),
100
100
  G.customerInfo.company && /* @__PURE__ */ B("p", {
101
- className: "text-sm text-muted-foreground mb-2",
101
+ className: "text-sm text-text-secondary mb-2",
102
102
  children: G.customerInfo.company
103
103
  }),
104
104
  /* @__PURE__ */ V("div", {
@@ -107,27 +107,27 @@ function U() {
107
107
  className: "flex items-center gap-2",
108
108
  children: [/* @__PURE__ */ B(S, {
109
109
  size: 14,
110
- className: "text-muted-foreground"
110
+ className: "text-text-secondary"
111
111
  }), G.customerInfo.email]
112
112
  }), /* @__PURE__ */ V("p", {
113
113
  className: "flex items-center gap-2",
114
114
  children: [/* @__PURE__ */ B(C, {
115
115
  size: 14,
116
- className: "text-muted-foreground"
116
+ className: "text-text-secondary"
117
117
  }), G.customerInfo.phone]
118
118
  })]
119
119
  })
120
120
  ] }), /* @__PURE__ */ V("div", { children: [G.customerInfo.preferredDeliveryTime && /* @__PURE__ */ V("div", {
121
121
  className: "mb-2",
122
122
  children: [/* @__PURE__ */ B("p", {
123
- className: "text-sm text-muted-foreground",
123
+ className: "text-sm text-text-secondary",
124
124
  children: "Preferred Delivery Time"
125
125
  }), /* @__PURE__ */ B("p", {
126
126
  className: "text-sm",
127
127
  children: G.customerInfo.preferredDeliveryTime
128
128
  })]
129
129
  }), G.customerInfo.deliveryInstructions && /* @__PURE__ */ V("div", { children: [/* @__PURE__ */ B("p", {
130
- className: "text-sm text-muted-foreground",
130
+ className: "text-sm text-text-secondary",
131
131
  children: "Delivery Instructions"
132
132
  }), /* @__PURE__ */ B("p", {
133
133
  className: "text-sm",
@@ -152,7 +152,7 @@ function U() {
152
152
  children: L(G.pickupAddress)
153
153
  }),
154
154
  G.scheduledPickup && /* @__PURE__ */ V("p", {
155
- className: "text-sm text-muted-foreground mt-2",
155
+ className: "text-sm text-text-secondary mt-2",
156
156
  children: ["Scheduled: ", I(G.scheduledPickup, "full")]
157
157
  }),
158
158
  G.actualPickup && /* @__PURE__ */ V("p", {
@@ -179,7 +179,7 @@ function U() {
179
179
  children: L(G.deliveryAddress)
180
180
  }),
181
181
  G.scheduledDelivery && /* @__PURE__ */ V("p", {
182
- className: "text-sm text-muted-foreground mt-2",
182
+ className: "text-sm text-text-secondary mt-2",
183
183
  children: ["Scheduled: ", I(G.scheduledDelivery, "full")]
184
184
  }),
185
185
  G.actualDelivery && /* @__PURE__ */ V("p", {
@@ -225,7 +225,7 @@ function U() {
225
225
  className: "font-medium",
226
226
  children: e.name
227
227
  }), e.description && /* @__PURE__ */ B("p", {
228
- className: "text-sm text-muted-foreground",
228
+ className: "text-sm text-text-secondary",
229
229
  children: e.description
230
230
  })] }) }),
231
231
  /* @__PURE__ */ B(i, {
@@ -255,7 +255,7 @@ function U() {
255
255
  className: "flex gap-4 pb-6 last:pb-0",
256
256
  children: [/* @__PURE__ */ V("div", {
257
257
  className: "relative",
258
- children: [/* @__PURE__ */ B("div", { className: "w-3 h-3 rounded-full bg-primary mt-1.5" }), t < G.timeline.length - 1 && /* @__PURE__ */ B("div", { className: "absolute top-4 left-1.5 w-px h-full -ml-px bg-border" })]
258
+ children: [/* @__PURE__ */ B("div", { className: "w-3 h-3 rounded-full bg-action-primary-bg mt-1.5" }), t < G.timeline.length - 1 && /* @__PURE__ */ B("div", { className: "absolute top-4 left-1.5 w-px h-full -ml-px bg-border" })]
259
259
  }), /* @__PURE__ */ V("div", {
260
260
  className: "flex-1",
261
261
  children: [
@@ -266,7 +266,7 @@ function U() {
266
266
  type: "order",
267
267
  size: "sm"
268
268
  }), /* @__PURE__ */ B("span", {
269
- className: "text-sm text-muted-foreground",
269
+ className: "text-sm text-text-secondary",
270
270
  children: I(e.timestamp, "full")
271
271
  })]
272
272
  }),
@@ -275,7 +275,7 @@ function U() {
275
275
  children: e.notes
276
276
  }),
277
277
  /* @__PURE__ */ V("p", {
278
- className: "text-xs text-muted-foreground",
278
+ className: "text-xs text-text-secondary",
279
279
  children: ["by ", e.performedBy]
280
280
  })
281
281
  ]
@@ -295,35 +295,35 @@ function U() {
295
295
  /* @__PURE__ */ V("div", {
296
296
  className: "flex justify-between text-sm",
297
297
  children: [/* @__PURE__ */ B("span", {
298
- className: "text-muted-foreground",
298
+ className: "text-text-secondary",
299
299
  children: "Subtotal"
300
300
  }), /* @__PURE__ */ B("span", { children: F(G.pricing.subtotal) })]
301
301
  }),
302
302
  /* @__PURE__ */ V("div", {
303
303
  className: "flex justify-between text-sm",
304
304
  children: [/* @__PURE__ */ B("span", {
305
- className: "text-muted-foreground",
305
+ className: "text-text-secondary",
306
306
  children: "Delivery"
307
307
  }), /* @__PURE__ */ B("span", { children: F(G.pricing.fees.delivery) })]
308
308
  }),
309
309
  /* @__PURE__ */ V("div", {
310
310
  className: "flex justify-between text-sm",
311
311
  children: [/* @__PURE__ */ B("span", {
312
- className: "text-muted-foreground",
312
+ className: "text-text-secondary",
313
313
  children: "Handling"
314
314
  }), /* @__PURE__ */ B("span", { children: F(G.pricing.fees.handling) })]
315
315
  }),
316
316
  G.pricing.fees.insurance && /* @__PURE__ */ V("div", {
317
317
  className: "flex justify-between text-sm",
318
318
  children: [/* @__PURE__ */ B("span", {
319
- className: "text-muted-foreground",
319
+ className: "text-text-secondary",
320
320
  children: "Insurance"
321
321
  }), /* @__PURE__ */ B("span", { children: F(G.pricing.fees.insurance) })]
322
322
  }),
323
323
  /* @__PURE__ */ V("div", {
324
324
  className: "flex justify-between text-sm",
325
325
  children: [/* @__PURE__ */ B("span", {
326
- className: "text-muted-foreground",
326
+ className: "text-text-secondary",
327
327
  children: "Taxes"
328
328
  }), /* @__PURE__ */ B("span", { children: F(G.pricing.taxes) })]
329
329
  }),
@@ -338,7 +338,7 @@ function U() {
338
338
  /* @__PURE__ */ V("div", {
339
339
  className: "pt-2",
340
340
  children: [/* @__PURE__ */ B("p", {
341
- className: "text-sm text-muted-foreground",
341
+ className: "text-sm text-text-secondary",
342
342
  children: "Payment Method"
343
343
  }), /* @__PURE__ */ B("p", {
344
344
  className: "text-sm capitalize",
@@ -354,21 +354,21 @@ function U() {
354
354
  className: "space-y-4",
355
355
  children: [
356
356
  /* @__PURE__ */ V("div", { children: [/* @__PURE__ */ B("p", {
357
- className: "text-sm text-muted-foreground",
357
+ className: "text-sm text-text-secondary",
358
358
  children: "Driver"
359
359
  }), /* @__PURE__ */ B("p", {
360
360
  className: "text-sm",
361
361
  children: G.driverId || "Not assigned"
362
362
  })] }),
363
363
  /* @__PURE__ */ V("div", { children: [/* @__PURE__ */ B("p", {
364
- className: "text-sm text-muted-foreground",
364
+ className: "text-sm text-text-secondary",
365
365
  children: "Vehicle"
366
366
  }), /* @__PURE__ */ B("p", {
367
367
  className: "text-sm",
368
368
  children: G.vehicleId || "Not assigned"
369
369
  })] }),
370
370
  /* @__PURE__ */ V("div", { children: [/* @__PURE__ */ B("p", {
371
- className: "text-sm text-muted-foreground",
371
+ className: "text-sm text-text-secondary",
372
372
  children: "Tracking Number"
373
373
  }), /* @__PURE__ */ B("p", {
374
374
  className: "text-sm font-mono",