@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,14 +1,14 @@
1
- import { A as e, d as t, f as n, g as r, h as i, i as a, t as o, u as s } from "./PageLayout-3DR4pMQ9.js";
2
- import { t as c } from "./circle-alert-B2pZQFzu.js";
3
- import { t as l } from "./circle-check-big-R_fjEgxM.js";
4
- import { t as u } from "./clock-DP-76dyQ.js";
5
- import { t as d } from "./map-pin-4a-IA2NP.js";
6
- import { t as f } from "./package-CPePjBwW.js";
7
- import { t as p } from "./search-FWYzDbBx.js";
8
- import { t as m } from "./truck-Cd54agV-.js";
1
+ import { A as e, d as t, f as n, g as r, h as i, i as a, t as o, u as s } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as c } from "./circle-alert-DjmNo5_L.js";
3
+ import { t as l } from "./circle-check-big-CjuPVo3_.js";
4
+ import { t as u } from "./clock-BjkdnddD.js";
5
+ import { t as d } from "./map-pin-BSaf5IDL.js";
6
+ import { t as f } from "./package-BE7U0wQE.js";
7
+ import { t as p } from "./search-OxoIiL_C.js";
8
+ import { t as m } from "./truck-CtDjNFbi.js";
9
9
  import { r as h } from "./graphqlClient-CdJyR_ed.js";
10
10
  import { i as g } from "./useTracking-De2KIUNu.js";
11
- import { r as _ } from "./StatusBadge-elLZA4Wl.js";
11
+ import { r as _ } from "./StatusBadge-CijYQXtb.js";
12
12
  import { r as v, t as y } from "./formatters-_vJlC-47.js";
13
13
  import { t as b } from "./navigation-BgnOfsVd.js";
14
14
  import { useState as x } from "react";
@@ -42,7 +42,7 @@ function E() {
42
42
  className: "flex gap-4",
43
43
  children: [/* @__PURE__ */ w("div", {
44
44
  className: "flex-1 relative",
45
- children: [/* @__PURE__ */ C(p, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-muted-foreground" }), /* @__PURE__ */ C(e, {
45
+ children: [/* @__PURE__ */ C(p, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-text-secondary" }), /* @__PURE__ */ C(e, {
46
46
  value: M,
47
47
  onChange: (e) => N(e.target.value),
48
48
  placeholder: D("movethewheels.tracking.search.placeholder", "Enter tracking number or order ID (e.g., order-1 or TRK123456789)"),
@@ -57,23 +57,23 @@ function E() {
57
57
  })
58
58
  }) }),
59
59
  z && /* @__PURE__ */ C(t, {
60
- className: "border-destructive",
60
+ className: "border-status-error-border",
61
61
  children: /* @__PURE__ */ C(n, {
62
62
  className: "p-6",
63
63
  children: /* @__PURE__ */ w("div", {
64
64
  className: "flex items-center gap-4",
65
- children: [/* @__PURE__ */ C(c, { className: "w-8 h-8 text-destructive" }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
66
- className: "font-medium text-destructive",
65
+ children: [/* @__PURE__ */ C(c, { className: "w-8 h-8 text-status-error-text" }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
66
+ className: "font-medium text-status-error-text",
67
67
  children: D("movethewheels.tracking.error.title", "Unable to find shipment")
68
68
  }), /* @__PURE__ */ C("p", {
69
- className: "text-sm text-muted-foreground",
69
+ className: "text-sm text-text-secondary",
70
70
  children: D("movethewheels.tracking.error.description", "Please check the tracking number and try again")
71
71
  })] })]
72
72
  })
73
73
  })
74
74
  }),
75
75
  !P && !z && /* @__PURE__ */ C(o, {
76
- icon: /* @__PURE__ */ C(f, { size: 48 }),
76
+ illustration: "onboarding",
77
77
  title: D("movethewheels.tracking.empty.title", "Enter a tracking number"),
78
78
  description: D("movethewheels.tracking.empty.description", "Use your tracking number or order ID to see the current status of your shipment")
79
79
  }),
@@ -100,21 +100,21 @@ function E() {
100
100
  className: "grid grid-cols-2 md:grid-cols-4 gap-4",
101
101
  children: [
102
102
  /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
103
- className: "text-sm text-muted-foreground",
103
+ className: "text-sm text-text-secondary",
104
104
  children: D("movethewheels.tracking.details.trackingNumber", "Tracking Number")
105
105
  }), /* @__PURE__ */ C("p", {
106
106
  className: "font-mono font-medium",
107
107
  children: L.trackingNumber
108
108
  })] }),
109
109
  /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
110
- className: "text-sm text-muted-foreground",
110
+ className: "text-sm text-text-secondary",
111
111
  children: D("movethewheels.tracking.details.estimatedDelivery", "Estimated Delivery")
112
112
  }), /* @__PURE__ */ C("p", {
113
113
  className: "font-medium",
114
114
  children: I.estimatedArrival ? v(I.estimatedArrival, "full") : L.scheduledDelivery ? v(L.scheduledDelivery, "full") : D("movethewheels.tracking.details.tbd", "TBD")
115
115
  })] }),
116
116
  /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
117
- className: "text-sm text-muted-foreground",
117
+ className: "text-sm text-text-secondary",
118
118
  children: D("movethewheels.tracking.details.items", "Items")
119
119
  }), /* @__PURE__ */ w("p", {
120
120
  className: "font-medium",
@@ -125,7 +125,7 @@ function E() {
125
125
  ]
126
126
  })] }),
127
127
  /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
128
- className: "text-sm text-muted-foreground",
128
+ className: "text-sm text-text-secondary",
129
129
  children: D("movethewheels.tracking.details.lastUpdated", "Last Updated")
130
130
  }), /* @__PURE__ */ C("p", {
131
131
  className: "font-medium",
@@ -175,15 +175,15 @@ function E() {
175
175
  className: "flex flex-col items-center flex-1",
176
176
  children: [
177
177
  /* @__PURE__ */ C("div", {
178
- className: `w-10 h-10 rounded-full flex items-center justify-center ${i ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground"} ${a ? "ring-4 ring-primary/20" : ""}`,
178
+ className: `w-10 h-10 rounded-full flex items-center justify-center ${i ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-secondary"} ${a ? "ring-4 ring-primary/20" : ""}`,
179
179
  children: /* @__PURE__ */ C(e.icon, { size: 20 })
180
180
  }),
181
181
  /* @__PURE__ */ C("p", {
182
- className: `text-xs mt-2 text-center ${i ? "font-medium" : "text-muted-foreground"}`,
182
+ className: `text-xs mt-2 text-center ${i ? "font-medium" : "text-text-secondary"}`,
183
183
  children: e.label
184
184
  }),
185
185
  t < 3 && /* @__PURE__ */ C("div", {
186
- className: `absolute top-5 h-0.5 ${i ? "bg-primary" : "bg-muted"}`,
186
+ className: `absolute top-5 h-0.5 ${i ? "bg-action-primary-bg" : "bg-bg-sunken"}`,
187
187
  style: {
188
188
  left: `calc(${(t + .5) * 25}% + 20px)`,
189
189
  width: "calc(25% - 40px)"
@@ -199,7 +199,7 @@ function E() {
199
199
  className: "flex gap-4",
200
200
  children: [/* @__PURE__ */ w("div", {
201
201
  className: "relative",
202
- children: [/* @__PURE__ */ C("div", { className: `w-3 h-3 rounded-full ${t === 0 ? "bg-primary" : "bg-muted"}` }), t < L.timeline.length - 1 && /* @__PURE__ */ C("div", { className: "absolute top-3 left-1.5 w-px h-8 -ml-px bg-border" })]
202
+ children: [/* @__PURE__ */ C("div", { className: `w-3 h-3 rounded-full ${t === 0 ? "bg-action-primary-bg" : "bg-bg-sunken"}` }), t < L.timeline.length - 1 && /* @__PURE__ */ C("div", { className: "absolute top-3 left-1.5 w-px h-8 -ml-px bg-border" })]
203
203
  }), /* @__PURE__ */ w("div", {
204
204
  className: "flex-1 pb-4",
205
205
  children: [
@@ -210,7 +210,7 @@ function E() {
210
210
  type: "order",
211
211
  size: "sm"
212
212
  }), /* @__PURE__ */ C("span", {
213
- className: "text-sm text-muted-foreground",
213
+ className: "text-sm text-text-secondary",
214
214
  children: v(e.timestamp, "full")
215
215
  })]
216
216
  }),
@@ -219,7 +219,7 @@ function E() {
219
219
  children: e.notes
220
220
  }),
221
221
  e.location && /* @__PURE__ */ w("p", {
222
- className: "text-xs text-muted-foreground mt-1",
222
+ className: "text-xs text-text-secondary mt-1",
223
223
  children: [/* @__PURE__ */ C(d, {
224
224
  size: 12,
225
225
  className: "inline mr-1"
@@ -243,7 +243,7 @@ function E() {
243
243
  className: "text-sm font-medium",
244
244
  children: e.message
245
245
  }), /* @__PURE__ */ w("p", {
246
- className: "text-xs text-muted-foreground",
246
+ className: "text-xs text-text-secondary",
247
247
  children: [v(e.timestamp, "relative"), e.resolvedAt && ` - ${D("movethewheels.tracking.alerts.resolved", "Resolved")}`]
248
248
  })] })]
249
249
  }, e.id))
@@ -257,9 +257,9 @@ function E() {
257
257
  children: [/* @__PURE__ */ C(d, { size: 18 }), D("movethewheels.tracking.location.title", "Current Location")]
258
258
  }) }), /* @__PURE__ */ w(n, { children: [
259
259
  /* @__PURE__ */ C("div", {
260
- className: "aspect-video bg-muted rounded-lg flex items-center justify-center mb-4",
260
+ className: "aspect-video bg-bg-sunken rounded-lg flex items-center justify-center mb-4",
261
261
  children: /* @__PURE__ */ w("div", {
262
- className: "text-center text-muted-foreground",
262
+ className: "text-center text-text-secondary",
263
263
  children: [/* @__PURE__ */ C(d, {
264
264
  size: 32,
265
265
  className: "mx-auto mb-2"
@@ -274,7 +274,7 @@ function E() {
274
274
  children: I.currentLocation.address || D("movethewheels.tracking.location.updating", "Location updating...")
275
275
  }),
276
276
  /* @__PURE__ */ w("p", {
277
- className: "text-xs text-muted-foreground mt-1",
277
+ className: "text-xs text-text-secondary mt-1",
278
278
  children: [
279
279
  D("movethewheels.tracking.location.updated", "Updated"),
280
280
  " ",
@@ -286,7 +286,7 @@ function E() {
286
286
  className: "text-sm",
287
287
  children: L.customerInfo.name
288
288
  }), /* @__PURE__ */ C("p", {
289
- className: "text-sm text-muted-foreground mt-2",
289
+ className: "text-sm text-text-secondary mt-2",
290
290
  children: y(L.deliveryAddress)
291
291
  })] })] }),
292
292
  /* @__PURE__ */ C(t, { children: /* @__PURE__ */ w(n, {
@@ -306,7 +306,7 @@ function E() {
306
306
  })]
307
307
  }),
308
308
  P && !L && !R && !z && /* @__PURE__ */ C(o, {
309
- icon: /* @__PURE__ */ C(p, { size: 48 }),
309
+ illustration: "empty-search",
310
310
  title: D("movethewheels.tracking.notFound.title", "Shipment not found"),
311
311
  description: `${D("movethewheels.tracking.notFound.descriptionPrefix", "No shipment found with tracking number")} "${P}"`,
312
312
  action: /* @__PURE__ */ C(s, {
@@ -1,13 +1,13 @@
1
- import { M as e, d as t, f as n, g as r, h as i, i as a, l as o, n as s, r as c, u as l } from "./PageLayout-3DR4pMQ9.js";
2
- import { t as u } from "./arrow-left-Crb7WKr1.js";
3
- import { t as d } from "./file-text-CnHcsdsc.js";
4
- import { n as f, t as p } from "./wrench-DYJo0U8_.js";
5
- import { t as m } from "./map-pin-4a-IA2NP.js";
6
- import { t as h } from "./square-pen-BIgbw83U.js";
7
- import { t as g } from "./truck-Cd54agV-.js";
1
+ import { M as e, d as t, f as n, g as r, h as i, i as a, l as o, n as s, r as c, u as l } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as u } from "./arrow-left-CBpZKkpq.js";
3
+ import { t as d } from "./file-text-C8Uioy11.js";
4
+ import { n as f, t as p } from "./wrench-CmxY1n4I.js";
5
+ import { t as m } from "./map-pin-BSaf5IDL.js";
6
+ import { t as h } from "./square-pen-hLIbFQFV.js";
7
+ import { t as g } from "./truck-CtDjNFbi.js";
8
8
  import { r as _ } from "./graphqlClient-CdJyR_ed.js";
9
9
  import { a as v } from "./useFleet-BdETplNE.js";
10
- import { a as y, r as b } from "./StatusBadge-elLZA4Wl.js";
10
+ import { a as y, r as b } from "./StatusBadge-CijYQXtb.js";
11
11
  import { r as x } from "./formatters-_vJlC-47.js";
12
12
  import { t as S } from "./navigation-BgnOfsVd.js";
13
13
  import { useParams as C } from "react-router-dom";
@@ -46,28 +46,28 @@ function E() {
46
46
  className: "grid grid-cols-2 md:grid-cols-4 gap-6",
47
47
  children: [
48
48
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
49
- className: "text-sm text-muted-foreground",
49
+ className: "text-sm text-text-secondary",
50
50
  children: "Type"
51
51
  }), /* @__PURE__ */ w("p", {
52
52
  className: "font-medium capitalize",
53
53
  children: k.type
54
54
  })] }),
55
55
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
56
- className: "text-sm text-muted-foreground",
56
+ className: "text-sm text-text-secondary",
57
57
  children: "Make"
58
58
  }), /* @__PURE__ */ w("p", {
59
59
  className: "font-medium",
60
60
  children: k.make
61
61
  })] }),
62
62
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
63
- className: "text-sm text-muted-foreground",
63
+ className: "text-sm text-text-secondary",
64
64
  children: "Model"
65
65
  }), /* @__PURE__ */ w("p", {
66
66
  className: "font-medium",
67
67
  children: k.model
68
68
  })] }),
69
69
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
70
- className: "text-sm text-muted-foreground",
70
+ className: "text-sm text-text-secondary",
71
71
  children: "Year"
72
72
  }), /* @__PURE__ */ w("p", {
73
73
  className: "font-medium",
@@ -79,7 +79,7 @@ function E() {
79
79
  className: "grid grid-cols-3 gap-6",
80
80
  children: [
81
81
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
82
- className: "text-sm text-muted-foreground",
82
+ className: "text-sm text-text-secondary",
83
83
  children: "Weight"
84
84
  }), /* @__PURE__ */ T("p", {
85
85
  className: "text-2xl font-bold",
@@ -89,7 +89,7 @@ function E() {
89
89
  })]
90
90
  })] }),
91
91
  /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
92
- className: "text-sm text-muted-foreground",
92
+ className: "text-sm text-text-secondary",
93
93
  children: "Volume"
94
94
  }), /* @__PURE__ */ T("p", {
95
95
  className: "text-2xl font-bold",
@@ -99,7 +99,7 @@ function E() {
99
99
  })]
100
100
  })] }),
101
101
  k.capacity.pallets && /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
102
- className: "text-sm text-muted-foreground",
102
+ className: "text-sm text-text-secondary",
103
103
  children: "Pallets"
104
104
  }), /* @__PURE__ */ w("p", {
105
105
  className: "text-2xl font-bold",
@@ -118,7 +118,7 @@ function E() {
118
118
  className: "font-medium capitalize",
119
119
  children: e.type.replace("_", " ")
120
120
  }), /* @__PURE__ */ T("p", {
121
- className: "text-sm text-muted-foreground",
121
+ className: "text-sm text-text-secondary",
122
122
  children: ["Expires: ", x(e.expiryDate)]
123
123
  })] }), /* @__PURE__ */ w(o, {
124
124
  variant: e.verified ? "default" : "secondary",
@@ -126,7 +126,7 @@ function E() {
126
126
  })]
127
127
  }, e.id))
128
128
  }) : /* @__PURE__ */ w("p", {
129
- className: "text-muted-foreground text-center py-4",
129
+ className: "text-text-secondary text-center py-4",
130
130
  children: "No documents uploaded"
131
131
  }) })] })
132
132
  ]
@@ -142,7 +142,7 @@ function E() {
142
142
  className: "flex justify-between text-sm mb-2",
143
143
  children: [/* @__PURE__ */ w("span", { children: "Fuel Level" }), /* @__PURE__ */ T("span", { children: [k.fuelLevel, "%"] })]
144
144
  }), /* @__PURE__ */ w(e, { value: k.fuelLevel })] }), k.mileage !== void 0 && /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
145
- className: "text-sm text-muted-foreground",
145
+ className: "text-sm text-text-secondary",
146
146
  children: "Total Mileage"
147
147
  }), /* @__PURE__ */ T("p", {
148
148
  className: "text-2xl font-bold",
@@ -162,13 +162,13 @@ function E() {
162
162
  }) }), /* @__PURE__ */ T(n, {
163
163
  className: "space-y-3",
164
164
  children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
165
- className: "text-sm text-muted-foreground",
165
+ className: "text-sm text-text-secondary",
166
166
  children: "Last Maintenance"
167
167
  }), /* @__PURE__ */ w("p", {
168
168
  className: "font-medium",
169
169
  children: k.lastMaintenance ? x(k.lastMaintenance) : "N/A"
170
170
  })] }), /* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("p", {
171
- className: "text-sm text-muted-foreground",
171
+ className: "text-sm text-text-secondary",
172
172
  children: "Next Scheduled"
173
173
  }), /* @__PURE__ */ w("p", {
174
174
  className: "font-medium",
@@ -182,7 +182,7 @@ function E() {
182
182
  className: "text-sm",
183
183
  children: k.currentLocation.address || "Location updating..."
184
184
  }), /* @__PURE__ */ T("p", {
185
- className: "text-xs text-muted-foreground mt-1",
185
+ className: "text-xs text-text-secondary mt-1",
186
186
  children: ["Updated ", x(k.currentLocation.timestamp || /* @__PURE__ */ new Date(), "relative")]
187
187
  })] })] })
188
188
  ]
@@ -0,0 +1,129 @@
1
+ import { M as e, i as t } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as n } from "./DataTable-CfWvFw5B.js";
3
+ import { t as r } from "./download-Dpa9vqoG.js";
4
+ import { t as i } from "./plus-Dl1rLeJR.js";
5
+ import { t as a } from "./refresh-cw-CWfERAit.js";
6
+ import { t as o } from "./truck-CtDjNFbi.js";
7
+ import { r as s } from "./graphqlClient-CdJyR_ed.js";
8
+ import { o as c } from "./useFleet-BdETplNE.js";
9
+ import { a as l, r as u } from "./StatusBadge-CijYQXtb.js";
10
+ import { t as d } from "./navigation-BgnOfsVd.js";
11
+ import { jsx as f, jsxs as p } from "react/jsx-runtime";
12
+ import { CTAOverflowMenu as m } from "@burdenoff/fe-libs/ui";
13
+ //#region src/movethewheels/pages/VehiclesPage.tsx
14
+ function h() {
15
+ let { basePath: h, navigate: g } = s(), { vehicles: _, totalVehicles: v, isLoading: y, refetch: b } = c(), x = (e) => {
16
+ g && g(d(h, e));
17
+ };
18
+ return /* @__PURE__ */ f(t, {
19
+ title: "Vehicles",
20
+ subtitle: `${v} vehicles in fleet`,
21
+ icon: /* @__PURE__ */ f(o, { size: 24 }),
22
+ headerActions: /* @__PURE__ */ f(m, {
23
+ primary: {
24
+ label: "Add Vehicle",
25
+ icon: /* @__PURE__ */ f(i, { size: 16 }),
26
+ onSelect: () => {}
27
+ },
28
+ actions: [{
29
+ label: "Refresh",
30
+ icon: /* @__PURE__ */ f(a, { size: 16 }),
31
+ onSelect: () => b()
32
+ }, {
33
+ label: "Export",
34
+ icon: /* @__PURE__ */ f(r, { size: 16 }),
35
+ onSelect: () => {}
36
+ }]
37
+ }),
38
+ children: /* @__PURE__ */ f(n, {
39
+ columns: [
40
+ {
41
+ id: "vehicleNumber",
42
+ header: "Vehicle #",
43
+ accessorKey: "vehicleNumber",
44
+ sortable: !0,
45
+ cell: (e) => /* @__PURE__ */ f("span", {
46
+ className: "font-medium",
47
+ children: e.vehicleNumber
48
+ })
49
+ },
50
+ {
51
+ id: "type",
52
+ header: "Type",
53
+ accessorKey: "type",
54
+ cell: (e) => /* @__PURE__ */ f(l, { type: e.type })
55
+ },
56
+ {
57
+ id: "details",
58
+ header: "Vehicle",
59
+ cell: (e) => /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ p("p", {
60
+ className: "font-medium",
61
+ children: [
62
+ e.make,
63
+ " ",
64
+ e.model
65
+ ]
66
+ }), /* @__PURE__ */ f("p", {
67
+ className: "text-sm text-text-secondary",
68
+ children: e.year
69
+ })] })
70
+ },
71
+ {
72
+ id: "status",
73
+ header: "Status",
74
+ accessorKey: "status",
75
+ sortable: !0,
76
+ cell: (e) => /* @__PURE__ */ f(u, {
77
+ status: e.status,
78
+ type: "vehicle"
79
+ })
80
+ },
81
+ {
82
+ id: "capacity",
83
+ header: "Capacity",
84
+ cell: (e) => /* @__PURE__ */ p("div", {
85
+ className: "text-sm",
86
+ children: [/* @__PURE__ */ p("p", { children: [e.capacity.weight, " kg"] }), /* @__PURE__ */ p("p", {
87
+ className: "text-text-secondary",
88
+ children: [e.capacity.volume, " m³"]
89
+ })]
90
+ })
91
+ },
92
+ {
93
+ id: "fuel",
94
+ header: "Fuel Level",
95
+ cell: (t) => t.fuelLevel === void 0 ? "-" : /* @__PURE__ */ p("div", {
96
+ className: "flex items-center gap-2",
97
+ children: [/* @__PURE__ */ f(e, {
98
+ value: t.fuelLevel,
99
+ className: "w-16 h-2"
100
+ }), /* @__PURE__ */ p("span", {
101
+ className: "text-sm",
102
+ children: [t.fuelLevel, "%"]
103
+ })]
104
+ })
105
+ },
106
+ {
107
+ id: "mileage",
108
+ header: "Mileage",
109
+ accessorKey: "mileage",
110
+ sortable: !0,
111
+ cell: (e) => e.mileage ? `${e.mileage.toLocaleString()} mi` : "-"
112
+ }
113
+ ],
114
+ data: _,
115
+ isLoading: y,
116
+ searchable: !0,
117
+ searchPlaceholder: "Search vehicles...",
118
+ searchFields: [
119
+ "vehicleNumber",
120
+ "make",
121
+ "model"
122
+ ],
123
+ onRowClick: (e) => x(`fleet/vehicles/${e.id}`),
124
+ getRowId: (e) => e.id
125
+ })
126
+ });
127
+ }
128
+ //#endregion
129
+ export { h as default };
@@ -1,11 +1,11 @@
1
- import { M as e, d as t, f as n, g as r, h as i, i as a, l as o, n as s, r as c, u as l } from "./PageLayout-3DR4pMQ9.js";
2
- import { t as u } from "./arrow-left-Crb7WKr1.js";
3
- import { t as d } from "./box-CnErOGkD.js";
4
- import { t as f } from "./clock-DP-76dyQ.js";
5
- import { t as p } from "./map-pin-4a-IA2NP.js";
6
- import { t as m } from "./square-pen-BIgbw83U.js";
7
- import { t as h } from "./users-e-wRlQnX.js";
8
- import { t as g } from "./warehouse-DXnNb4kf.js";
1
+ import { M as e, d as t, f as n, g as r, h as i, i as a, l as o, n as s, r as c, u as l } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as u } from "./arrow-left-CBpZKkpq.js";
3
+ import { t as d } from "./box-CAaiElsb.js";
4
+ import { t as f } from "./clock-BjkdnddD.js";
5
+ import { t as p } from "./map-pin-BSaf5IDL.js";
6
+ import { t as m } from "./square-pen-hLIbFQFV.js";
7
+ import { t as h } from "./users-g2N0eL-Z.js";
8
+ import { t as g } from "./warehouse-D3WWDeTX.js";
9
9
  import { r as _ } from "./graphqlClient-CdJyR_ed.js";
10
10
  import { a as v } from "./useInventory-Dwn18FPz.js";
11
11
  import { t as y } from "./formatters-_vJlC-47.js";
@@ -61,7 +61,7 @@ function w() {
61
61
  }),
62
62
  /* @__PURE__ */ S(e, { value: M }),
63
63
  /* @__PURE__ */ C("p", {
64
- className: "text-sm text-muted-foreground mt-1",
64
+ className: "text-sm text-text-secondary mt-1",
65
65
  children: [
66
66
  D.capacity.usedSpace.toLocaleString(),
67
67
  " /",
@@ -73,12 +73,12 @@ function w() {
73
73
  ] }), /* @__PURE__ */ S("div", {
74
74
  className: "grid grid-cols-2 gap-4",
75
75
  children: /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
76
- className: "text-sm text-muted-foreground",
76
+ className: "text-sm text-text-secondary",
77
77
  children: "Pallets Used"
78
78
  }), /* @__PURE__ */ C("p", {
79
79
  className: "text-2xl font-bold",
80
80
  children: [D.capacity.usedPallets, /* @__PURE__ */ C("span", {
81
- className: "text-sm font-normal text-muted-foreground",
81
+ className: "text-sm font-normal text-text-secondary",
82
82
  children: [
83
83
  " ",
84
84
  "/ ",
@@ -100,7 +100,7 @@ function w() {
100
100
  className: "font-medium",
101
101
  children: t.name
102
102
  }), /* @__PURE__ */ C("p", {
103
- className: "text-sm text-muted-foreground capitalize",
103
+ className: "text-sm text-text-secondary capitalize",
104
104
  children: [
105
105
  t.type,
106
106
  " - ",
@@ -112,7 +112,7 @@ function w() {
112
112
  value: t.currentOccupancy / t.capacity * 100,
113
113
  className: "w-24 h-2"
114
114
  }), /* @__PURE__ */ C("p", {
115
- className: "text-sm text-muted-foreground",
115
+ className: "text-sm text-text-secondary",
116
116
  children: [
117
117
  t.currentOccupancy,
118
118
  " / ",
@@ -131,7 +131,7 @@ function w() {
131
131
  className: "text-sm font-medium",
132
132
  children: e
133
133
  }), /* @__PURE__ */ S("p", {
134
- className: "text-sm text-muted-foreground",
134
+ className: "text-sm text-text-secondary",
135
135
  children: t ? `${t.open} - ${t.close}` : "Closed"
136
136
  })] }, e))
137
137
  }) })] })
@@ -150,7 +150,7 @@ function w() {
150
150
  className: "space-y-3",
151
151
  children: [
152
152
  /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
153
- className: "text-sm text-muted-foreground",
153
+ className: "text-sm text-text-secondary",
154
154
  children: "Throughput"
155
155
  }), /* @__PURE__ */ C("p", {
156
156
  className: "text-2xl font-bold",
@@ -160,21 +160,21 @@ function w() {
160
160
  })]
161
161
  })] }),
162
162
  /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
163
- className: "text-sm text-muted-foreground",
163
+ className: "text-sm text-text-secondary",
164
164
  children: "Accuracy"
165
165
  }), /* @__PURE__ */ C("p", {
166
166
  className: "text-2xl font-bold",
167
167
  children: [D.metrics.accuracy, "%"]
168
168
  })] }),
169
169
  /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
170
- className: "text-sm text-muted-foreground",
170
+ className: "text-sm text-text-secondary",
171
171
  children: "Productivity"
172
172
  }), /* @__PURE__ */ C("p", {
173
173
  className: "text-2xl font-bold",
174
174
  children: [D.metrics.productivity, "%"]
175
175
  })] }),
176
176
  /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
177
- className: "text-sm text-muted-foreground",
177
+ className: "text-sm text-text-secondary",
178
178
  children: "Orders Fulfilled"
179
179
  }), /* @__PURE__ */ S("p", {
180
180
  className: "text-2xl font-bold",
@@ -203,7 +203,7 @@ function w() {
203
203
  })]
204
204
  }, t))
205
205
  }) : /* @__PURE__ */ S("p", {
206
- className: "text-muted-foreground",
206
+ className: "text-text-secondary",
207
207
  children: "No staff assigned"
208
208
  }) })] })
209
209
  ]