@burdenoff/microfe-movethewheels 2026.614.1 → 2026.624.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 (104) hide show
  1. package/dist/{AIAssistantPage-FGGTN-DA.js → AIAssistantPage-BrHX2lQn.js} +8 -8
  2. package/dist/{AnalyticsPage-DSLYCnln.js → AnalyticsPage-DI6Wcaw5.js} +21 -21
  3. package/dist/{CreateOrderPage-BgjA_QFT.js → CreateOrderPage-DfkSi6JF.js} +8 -8
  4. package/dist/{CustomerDetailsPage-Cfvfw12U.js → CustomerDetailsPage-DzAIu_tH.js} +24 -24
  5. package/dist/{CustomersPage-DXnx04Au.js → CustomersPage-d21ixOYa.js} +9 -9
  6. package/dist/{DashboardPage-BeyvN3Mr.js → DashboardPage-3ZOnwg1a.js} +28 -28
  7. package/dist/{DataTable-oNjXEcUO.js → DataTable-CZGz3SJu.js} +10 -10
  8. package/dist/{DriverDetailsPage-DGTUZG5S.js → DriverDetailsPage-YuZSlPSV.js} +27 -27
  9. package/dist/{DriversPage-CRursDRZ.js → DriversPage-BOhqEBTv.js} +11 -11
  10. package/dist/{FinancePage-Cyi75iWa.js → FinancePage-CnjUNXOb.js} +11 -11
  11. package/dist/{FleetPage-Dlupg1NZ.js → FleetPage-CPS7r4J3.js} +16 -16
  12. package/dist/{ImportExportPage-D81vnXbH.js → ImportExportPage-zNjs7xsV.js} +9 -9
  13. package/dist/{InventoryPage-D0u2nxRd.js → InventoryPage-C9g5d3SW.js} +14 -14
  14. package/dist/{LiveTrackingPage-CKIlbMBA.js → LiveTrackingPage-DoBvtdBG.js} +26 -26
  15. package/dist/{MarketplacePage-3NpZ0_SK.js → MarketplacePage-BEj5hcBF.js} +13 -13
  16. package/dist/{MetricCard-BDcT-7Ei.js → MetricCard-DeHVeVwl.js} +10 -10
  17. package/dist/{OrderDetailsPage-BeGWzAws.js → OrderDetailsPage-D-9lDZYU.js} +34 -34
  18. package/dist/{OrdersListPage-DczM6NXa.js → OrdersListPage-CJzHbgY3.js} +10 -10
  19. package/dist/{PageLayout-3DR4pMQ9.js → PageLayout-xDTiBTDS.js} +550 -508
  20. package/dist/{ProductDetailsPage-Czcrqe2F.js → ProductDetailsPage-3rKtzXpy.js} +15 -15
  21. package/dist/{ProductsPage-DJhdrfox.js → ProductsPage-B0P_wjBJ.js} +7 -7
  22. package/dist/{ReportsPage-DPqE4Q3D.js → ReportsPage-B8OyWGzl.js} +10 -10
  23. package/dist/{RouteDetailsPage-j6ZczLRT.js → RouteDetailsPage-DGjKTUMj.js} +22 -22
  24. package/dist/{RoutesPage-OZM7lJDi.js → RoutesPage-CpopY8xN.js} +6 -6
  25. package/dist/{SettingsPage-v6vRyIAp.js → SettingsPage-BvXSa3gi.js} +7 -7
  26. package/dist/{StatusBadge-elLZA4Wl.js → StatusBadge-C--7NhoW.js} +1 -1
  27. package/dist/{TrackingPage-CBmGvTW_.js → TrackingPage-BldUm_g7.js} +29 -29
  28. package/dist/{VehicleDetailsPage-DJXYkTN2.js → VehicleDetailsPage-Dqv--MVW.js} +21 -21
  29. package/dist/{VehiclesPage-r_snhuEj.js → VehiclesPage-CCBHRDHu.js} +9 -9
  30. package/dist/{WarehouseDetailsPage-nMZvp56W.js → WarehouseDetailsPage-ZObC_c7W.js} +19 -19
  31. package/dist/{WarehousesPage-BcJ_QrK3.js → WarehousesPage-CpgZEVW9.js} +8 -8
  32. package/dist/arrow-left-Bk5GsGNk.js +11 -0
  33. package/dist/{box-CnErOGkD.js → box-BAMv2-7M.js} +2 -2
  34. package/dist/{chart-column-CFT0jC9N.js → chart-column-CAfkf4o6.js} +2 -2
  35. package/dist/chevron-right-Czrt_Qew.js +8 -0
  36. package/dist/{circle-alert-B2pZQFzu.js → circle-alert-CEuV9Pij.js} +2 -2
  37. package/dist/circle-check-big-Cx8aO6B-.js +11 -0
  38. package/dist/{clock-DP-76dyQ.js → clock-Be95bq7_.js} +2 -2
  39. package/dist/{dollar-sign-CrwqdoEC.js → dollar-sign-kJqItPli.js} +2 -2
  40. package/dist/{download-CQqBpPk5.js → download-caab0D3V.js} +2 -2
  41. package/dist/{file-text-CnHcsdsc.js → file-text-b1qhrJn1.js} +2 -2
  42. package/dist/filter-BWmLTZB-.js +8 -0
  43. package/dist/index.js +52 -50
  44. package/dist/{map-qljBUQ1N.js → map-CS2aFgyO.js} +2 -2
  45. package/dist/{map-pin-4a-IA2NP.js → map-pin-96FeqL7H.js} +2 -2
  46. package/dist/navigation-i6UXEjTC.js +8 -0
  47. package/dist/{package-CPePjBwW.js → package-KhSi3xaT.js} +2 -2
  48. package/dist/{phone-2rkA8w_3.js → phone-B-h3tbsr.js} +2 -2
  49. package/dist/plus-D2BYAzMn.js +11 -0
  50. package/dist/{refresh-cw-oWEqfHnS.js → refresh-cw-D5Sy01s-.js} +2 -2
  51. package/dist/{route-DBljW-z4.js → route-CBDXuwH9.js} +2 -2
  52. package/dist/{save-Cjsx5R5Y.js → save-CMc7h-Vi.js} +2 -2
  53. package/dist/search-DVrUQbOg.js +13 -0
  54. package/dist/{settings-CX94mtOc.js → settings-BwzIRYv3.js} +2 -2
  55. package/dist/{square-pen-BIgbw83U.js → square-pen-DmW36Bau.js} +2 -2
  56. package/dist/{star-BW23nRLp.js → star-Cv2MzxZL.js} +2 -2
  57. package/dist/{store-Cdk0UEPT.js → store-CLH957vl.js} +2 -2
  58. package/dist/{trending-up-DYQ3Xns5.js → trending-up-l8M0BO_w.js} +2 -2
  59. package/dist/{triangle-alert-Ck_oBZ7n.js → triangle-alert-BI45s6bH.js} +2 -2
  60. package/dist/{truck-Cd54agV-.js → truck-DX3lNQkz.js} +2 -2
  61. package/dist/{user-CUEmQUkJ.js → user-D8EY1uvt.js} +2 -2
  62. package/dist/{users-e-wRlQnX.js → users-CfG0J8wP.js} +2 -2
  63. package/dist/{warehouse-DXnNb4kf.js → warehouse-Dt_bAr82.js} +2 -2
  64. package/dist/{wrench-DYJo0U8_.js → wrench-C50eI_Iy.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 +6 -6
  69. package/src/movethewheels/components/MetricCard.tsx +9 -9
  70. package/src/movethewheels/components/PageLayout.tsx +12 -12
  71. package/src/movethewheels/components/ui.tsx +3 -3
  72. package/src/movethewheels/pages/AIAssistantPage.tsx +3 -3
  73. package/src/movethewheels/pages/AnalyticsPage.tsx +13 -13
  74. package/src/movethewheels/pages/CreateOrderPage.tsx +2 -2
  75. package/src/movethewheels/pages/CustomerDetailsPage.tsx +14 -14
  76. package/src/movethewheels/pages/CustomersPage.tsx +1 -1
  77. package/src/movethewheels/pages/DashboardPage.tsx +16 -16
  78. package/src/movethewheels/pages/DriverDetailsPage.tsx +17 -17
  79. package/src/movethewheels/pages/DriversPage.tsx +3 -3
  80. package/src/movethewheels/pages/FinancePage.tsx +4 -4
  81. package/src/movethewheels/pages/FleetPage.tsx +8 -8
  82. package/src/movethewheels/pages/ImportExportPage.tsx +5 -5
  83. package/src/movethewheels/pages/InventoryPage.tsx +7 -7
  84. package/src/movethewheels/pages/LiveTrackingPage.tsx +18 -18
  85. package/src/movethewheels/pages/MarketplacePage.tsx +6 -6
  86. package/src/movethewheels/pages/OrderDetailsPage.tsx +20 -20
  87. package/src/movethewheels/pages/OrdersListPage.tsx +2 -2
  88. package/src/movethewheels/pages/ProductDetailsPage.tsx +8 -8
  89. package/src/movethewheels/pages/ProductsPage.tsx +1 -1
  90. package/src/movethewheels/pages/ReportsPage.tsx +5 -5
  91. package/src/movethewheels/pages/RouteDetailsPage.tsx +13 -13
  92. package/src/movethewheels/pages/SettingsPage.tsx +2 -2
  93. package/src/movethewheels/pages/TrackingPage.tsx +21 -21
  94. package/src/movethewheels/pages/VehicleDetailsPage.tsx +13 -13
  95. package/src/movethewheels/pages/VehiclesPage.tsx +2 -2
  96. package/src/movethewheels/pages/WarehouseDetailsPage.tsx +11 -11
  97. package/src/movethewheels/pages/WarehousesPage.tsx +3 -3
  98. package/dist/arrow-left-Crb7WKr1.js +0 -11
  99. package/dist/chevron-right-Bzo6Rr8_.js +0 -8
  100. package/dist/circle-check-big-R_fjEgxM.js +0 -11
  101. package/dist/filter-CgTF21j9.js +0 -8
  102. package/dist/navigation-CqRTj3vI.js +0 -8
  103. package/dist/plus-Dew5yoQK.js +0 -11
  104. package/dist/search-FWYzDbBx.js +0 -13
@@ -1,10 +1,10 @@
1
- import { A as e, N as t, d as n, f as r, g as i, h as a, i as o, it as s, l as c, u as l } from "./PageLayout-3DR4pMQ9.js";
2
- import { n as u, t as d } from "./route-DBljW-z4.js";
3
- import { t as f } from "./circle-alert-B2pZQFzu.js";
4
- import { t as p } from "./trending-up-DYQ3Xns5.js";
1
+ import { A as e, N as t, d as n, f as r, g as i, h as a, i as o, it as s, l as c, u as l } from "./PageLayout-xDTiBTDS.js";
2
+ import { n as u, t as d } from "./route-CBDXuwH9.js";
3
+ import { t as f } from "./circle-alert-CEuV9Pij.js";
4
+ import { t as p } from "./trending-up-l8M0BO_w.js";
5
5
  import { useState as m } from "react";
6
6
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
7
- //#region ../../node_modules/.bun/lucide-react@0.468.0+3f10a4be4e334a9b/node_modules/lucide-react/dist/esm/icons/lightbulb.js
7
+ //#region node_modules/lucide-react/dist/esm/icons/lightbulb.js
8
8
  var _ = s("Lightbulb", [
9
9
  ["path", {
10
10
  d: "M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",
@@ -120,7 +120,7 @@ function b() {
120
120
  children: x.map((e, t) => /* @__PURE__ */ h("div", {
121
121
  className: `flex ${e.role === "user" ? "justify-end" : "justify-start"}`,
122
122
  children: /* @__PURE__ */ h("div", {
123
- className: `max-w-[80%] p-3 rounded-lg ${e.role === "user" ? "bg-primary text-primary-foreground" : "bg-muted"}`,
123
+ className: `max-w-[80%] p-3 rounded-lg ${e.role === "user" ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken"}`,
124
124
  children: /* @__PURE__ */ h("p", {
125
125
  className: "whitespace-pre-line text-sm",
126
126
  children: e.content
@@ -183,7 +183,7 @@ function b() {
183
183
  }, t))
184
184
  }) })] }),
185
185
  /* @__PURE__ */ h(n, {
186
- className: "bg-primary/5 border-primary/20",
186
+ className: "bg-action-primary-bg/5 border-primary/20",
187
187
  children: /* @__PURE__ */ h(r, {
188
188
  className: "p-4",
189
189
  children: /* @__PURE__ */ g("div", {
@@ -195,7 +195,7 @@ function b() {
195
195
  className: "font-medium text-sm",
196
196
  children: "Pro Tip"
197
197
  }), /* @__PURE__ */ h("p", {
198
- className: "text-xs text-muted-foreground",
198
+ className: "text-xs text-text-secondary",
199
199
  children: "You can ask complex questions like \"What would happen if I added 2 more vehicles to my fleet?\" for scenario analysis."
200
200
  })] })]
201
201
  })
@@ -1,12 +1,12 @@
1
- import { M as e, d as t, f as n, g as r, h as i, i as a } from "./PageLayout-3DR4pMQ9.js";
2
- import { t as o } from "./chart-column-CFT0jC9N.js";
3
- import { t as s } from "./dollar-sign-CrwqdoEC.js";
4
- import { t as c } from "./package-CPePjBwW.js";
5
- import { t as l } from "./trending-up-DYQ3Xns5.js";
6
- import { t as u } from "./truck-Cd54agV-.js";
7
- import { t as d } from "./users-e-wRlQnX.js";
1
+ import { M as e, d as t, f as n, g as r, h as i, i as a } from "./PageLayout-xDTiBTDS.js";
2
+ import { t as o } from "./chart-column-CAfkf4o6.js";
3
+ import { t as s } from "./dollar-sign-kJqItPli.js";
4
+ import { t as c } from "./package-KhSi3xaT.js";
5
+ import { t as l } from "./trending-up-l8M0BO_w.js";
6
+ import { t as u } from "./truck-DX3lNQkz.js";
7
+ import { t as d } from "./users-CfG0J8wP.js";
8
8
  import { i as f, r as p, t as m } from "./useAnalytics-ph7eTIK6.js";
9
- import { r as h, t as g } from "./MetricCard-BDcT-7Ei.js";
9
+ import { r as h, t as g } from "./MetricCard-DeHVeVwl.js";
10
10
  import { n as _ } from "./formatters-_vJlC-47.js";
11
11
  import { jsx as v, jsxs as y } from "react/jsx-runtime";
12
12
  //#region src/movethewheels/pages/AnalyticsPage.tsx
@@ -58,9 +58,9 @@ function b() {
58
58
  /* @__PURE__ */ y("div", {
59
59
  className: "grid grid-cols-1 lg:grid-cols-2 gap-6",
60
60
  children: [/* @__PURE__ */ y(t, { children: [/* @__PURE__ */ v(i, { children: /* @__PURE__ */ v(r, { children: "Order Trends" }) }), /* @__PURE__ */ y(n, { children: [/* @__PURE__ */ v("div", {
61
- className: "h-64 flex items-center justify-center bg-muted/50 rounded-lg",
61
+ className: "h-64 flex items-center justify-center bg-bg-sunken/50 rounded-lg",
62
62
  children: /* @__PURE__ */ y("div", {
63
- className: "text-center text-muted-foreground",
63
+ className: "text-center text-text-secondary",
64
64
  children: [
65
65
  /* @__PURE__ */ v(o, {
66
66
  size: 48,
@@ -76,9 +76,9 @@ function b() {
76
76
  }), /* @__PURE__ */ v("div", {
77
77
  className: "mt-4 grid grid-cols-4 gap-2",
78
78
  children: x.trends.slice(-4).map((e) => /* @__PURE__ */ y("div", {
79
- className: "text-center p-2 bg-muted/50 rounded",
79
+ className: "text-center p-2 bg-bg-sunken/50 rounded",
80
80
  children: [/* @__PURE__ */ v("p", {
81
- className: "text-xs text-muted-foreground",
81
+ className: "text-xs text-text-secondary",
82
82
  children: e.date.split("-").slice(1).join("/")
83
83
  }), /* @__PURE__ */ v("p", {
84
84
  className: "font-medium",
@@ -86,9 +86,9 @@ function b() {
86
86
  })]
87
87
  }, e.date))
88
88
  })] })] }), /* @__PURE__ */ y(t, { children: [/* @__PURE__ */ v(i, { children: /* @__PURE__ */ v(r, { children: "Revenue Trends" }) }), /* @__PURE__ */ y(n, { children: [/* @__PURE__ */ v("div", {
89
- className: "h-64 flex items-center justify-center bg-muted/50 rounded-lg",
89
+ className: "h-64 flex items-center justify-center bg-bg-sunken/50 rounded-lg",
90
90
  children: /* @__PURE__ */ y("div", {
91
- className: "text-center text-muted-foreground",
91
+ className: "text-center text-text-secondary",
92
92
  children: [/* @__PURE__ */ v(l, {
93
93
  size: 48,
94
94
  className: "mx-auto mb-2 opacity-50"
@@ -97,9 +97,9 @@ function b() {
97
97
  }), /* @__PURE__ */ v("div", {
98
98
  className: "mt-4 grid grid-cols-5 gap-2",
99
99
  children: b.trends.revenue.map((e) => /* @__PURE__ */ y("div", {
100
- className: "text-center p-2 bg-muted/50 rounded",
100
+ className: "text-center p-2 bg-bg-sunken/50 rounded",
101
101
  children: [/* @__PURE__ */ v("p", {
102
- className: "text-xs text-muted-foreground",
102
+ className: "text-xs text-text-secondary",
103
103
  children: e.month
104
104
  }), /* @__PURE__ */ y("p", {
105
105
  className: "font-medium text-sm",
@@ -144,7 +144,7 @@ function b() {
144
144
  /* @__PURE__ */ y("div", {
145
145
  className: "pt-2",
146
146
  children: [/* @__PURE__ */ v("p", {
147
- className: "text-sm text-muted-foreground mb-2",
147
+ className: "text-sm text-text-secondary mb-2",
148
148
  children: "Vehicles by Type"
149
149
  }), S.vehiclesByType.map(({ type: e, count: t }) => /* @__PURE__ */ y("div", {
150
150
  className: "flex justify-between text-sm py-1",
@@ -163,28 +163,28 @@ function b() {
163
163
  className: "space-y-4",
164
164
  children: [
165
165
  /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
166
- className: "text-sm text-muted-foreground",
166
+ className: "text-sm text-text-secondary",
167
167
  children: "On-Time Pickup"
168
168
  }), /* @__PURE__ */ y("p", {
169
169
  className: "text-2xl font-bold",
170
170
  children: [b.performance.onTimePickup, "%"]
171
171
  })] }),
172
172
  /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
173
- className: "text-sm text-muted-foreground",
173
+ className: "text-sm text-text-secondary",
174
174
  children: "On-Time Delivery"
175
175
  }), /* @__PURE__ */ y("p", {
176
176
  className: "text-2xl font-bold",
177
177
  children: [b.performance.onTimeDelivery, "%"]
178
178
  })] }),
179
179
  /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
180
- className: "text-sm text-muted-foreground",
180
+ className: "text-sm text-text-secondary",
181
181
  children: "Damaged Items"
182
182
  }), /* @__PURE__ */ y("p", {
183
183
  className: "text-2xl font-bold text-green-600",
184
184
  children: [b.performance.damagedItems, "%"]
185
185
  })] }),
186
186
  /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
187
- className: "text-sm text-muted-foreground",
187
+ className: "text-sm text-text-secondary",
188
188
  children: "Driver Ratings"
189
189
  }), /* @__PURE__ */ y("p", {
190
190
  className: "text-2xl font-bold",
@@ -1,8 +1,8 @@
1
- import { A as e, F as t, I as n, L as r, P as i, Q as a, R as o, d as s, f as c, g as l, h as u, i as d, it as f, j as p, u as m, z as h } from "./PageLayout-3DR4pMQ9.js";
2
- import { t as g } from "./arrow-left-Crb7WKr1.js";
3
- import { t as _ } from "./package-CPePjBwW.js";
4
- import { t as v } from "./plus-Dew5yoQK.js";
5
- import { t as y } from "./save-Cjsx5R5Y.js";
1
+ import { A as e, F as t, I as n, L as r, P as i, Q as a, R as o, d as s, f as c, g as l, h as u, i as d, it as f, j as p, u as m, z as h } from "./PageLayout-xDTiBTDS.js";
2
+ import { t as g } from "./arrow-left-Bk5GsGNk.js";
3
+ import { t as _ } from "./package-KhSi3xaT.js";
4
+ import { t as v } from "./plus-D2BYAzMn.js";
5
+ import { t as y } from "./save-CMc7h-Vi.js";
6
6
  import { r as b } from "./graphqlClient-CdJyR_ed.js";
7
7
  import { r as x, t as S } from "./useOrders-D_3_hGMp.js";
8
8
  import { r as C } from "./useCustomers-bS3a4ytk.js";
@@ -10,7 +10,7 @@ import { t as w } from "./navigation-BgnOfsVd.js";
10
10
  import { useState as T } from "react";
11
11
  import { useParams as E } from "react-router-dom";
12
12
  import { jsx as D, jsxs as O } from "react/jsx-runtime";
13
- //#region ../../node_modules/.bun/lucide-react@0.468.0+3f10a4be4e334a9b/node_modules/lucide-react/dist/esm/icons/trash-2.js
13
+ //#region node_modules/lucide-react/dist/esm/icons/trash-2.js
14
14
  var k = f("Trash2", [
15
15
  ["path", {
16
16
  d: "M3 6h18",
@@ -389,7 +389,7 @@ function A() {
389
389
  children: [/* @__PURE__ */ D(v, { size: 16 }), "Add Item"]
390
390
  })]
391
391
  }), /* @__PURE__ */ D(c, { children: I.items.length === 0 ? /* @__PURE__ */ O("div", {
392
- className: "text-center py-8 text-muted-foreground",
392
+ className: "text-center py-8 text-text-secondary",
393
393
  children: [
394
394
  /* @__PURE__ */ D(_, {
395
395
  size: 48,
@@ -449,7 +449,7 @@ function A() {
449
449
  type: "button",
450
450
  variant: "ghost",
451
451
  size: "icon",
452
- className: "text-destructive",
452
+ className: "text-status-error-text",
453
453
  onClick: () => G(n),
454
454
  children: /* @__PURE__ */ D(k, { size: 16 })
455
455
  })
@@ -1,19 +1,19 @@
1
- import { d as e, f as t, g as n, h as r, i, it 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 "./phone-2rkA8w_3.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 "./star-BW23nRLp.js";
8
- import { t as _ } from "./users-e-wRlQnX.js";
1
+ import { d as e, f as t, g as n, h as r, i, it as a, l as o, n as s, r as c, u as l } from "./PageLayout-xDTiBTDS.js";
2
+ import { t as u } from "./arrow-left-Bk5GsGNk.js";
3
+ import { t as d } from "./file-text-b1qhrJn1.js";
4
+ import { n as f, t as p } from "./phone-B-h3tbsr.js";
5
+ import { t as m } from "./map-pin-96FeqL7H.js";
6
+ import { t as h } from "./square-pen-DmW36Bau.js";
7
+ import { t as g } from "./star-Cv2MzxZL.js";
8
+ import { t as _ } from "./users-CfG0J8wP.js";
9
9
  import { r as v } from "./graphqlClient-CdJyR_ed.js";
10
10
  import { t as y } from "./useCustomers-bS3a4ytk.js";
11
- import { i as b } from "./StatusBadge-elLZA4Wl.js";
11
+ import { i as b } from "./StatusBadge-C--7NhoW.js";
12
12
  import { r as x, t as S } from "./formatters-_vJlC-47.js";
13
13
  import { t as C } from "./navigation-BgnOfsVd.js";
14
14
  import { useParams as w } from "react-router-dom";
15
15
  import { jsx as T, jsxs as E } from "react/jsx-runtime";
16
- //#region ../../node_modules/.bun/lucide-react@0.468.0+3f10a4be4e334a9b/node_modules/lucide-react/dist/esm/icons/building.js
16
+ //#region node_modules/lucide-react/dist/esm/icons/building.js
17
17
  var D = a("Building", [
18
18
  ["rect", {
19
19
  width: "16",
@@ -117,9 +117,9 @@ function O() {
117
117
  className: "flex items-center gap-3",
118
118
  children: [/* @__PURE__ */ T(f, {
119
119
  size: 18,
120
- className: "text-muted-foreground"
120
+ className: "text-text-secondary"
121
121
  }), /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
122
- className: "text-sm text-muted-foreground",
122
+ className: "text-sm text-text-secondary",
123
123
  children: "Email"
124
124
  }), /* @__PURE__ */ T("p", {
125
125
  className: "font-medium",
@@ -129,9 +129,9 @@ function O() {
129
129
  className: "flex items-center gap-3",
130
130
  children: [/* @__PURE__ */ T(p, {
131
131
  size: 18,
132
- className: "text-muted-foreground"
132
+ className: "text-text-secondary"
133
133
  }), /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
134
- className: "text-sm text-muted-foreground",
134
+ className: "text-sm text-text-secondary",
135
135
  children: "Phone"
136
136
  }), /* @__PURE__ */ T("p", {
137
137
  className: "font-medium",
@@ -144,16 +144,16 @@ function O() {
144
144
  className: "flex items-center gap-3",
145
145
  children: [/* @__PURE__ */ T(D, {
146
146
  size: 18,
147
- className: "text-muted-foreground"
147
+ className: "text-text-secondary"
148
148
  }), /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
149
- className: "text-sm text-muted-foreground",
149
+ className: "text-sm text-text-secondary",
150
150
  children: "Company"
151
151
  }), /* @__PURE__ */ T("p", {
152
152
  className: "font-medium",
153
153
  children: A.company
154
154
  })] })]
155
155
  }), A.website && /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
156
- className: "text-sm text-muted-foreground",
156
+ className: "text-sm text-text-secondary",
157
157
  children: "Website"
158
158
  }), /* @__PURE__ */ T("a", {
159
159
  href: A.website,
@@ -177,28 +177,28 @@ function O() {
177
177
  className: "space-y-3",
178
178
  children: [
179
179
  A.businessLicense && /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
180
- className: "text-sm text-muted-foreground",
180
+ className: "text-sm text-text-secondary",
181
181
  children: "Business License"
182
182
  }), /* @__PURE__ */ T("p", {
183
183
  className: "font-mono",
184
184
  children: A.businessLicense
185
185
  })] }),
186
186
  A.taxId && /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
187
- className: "text-sm text-muted-foreground",
187
+ className: "text-sm text-text-secondary",
188
188
  children: "Tax ID"
189
189
  }), /* @__PURE__ */ T("p", {
190
190
  className: "font-mono",
191
191
  children: A.taxId
192
192
  })] }),
193
193
  /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
194
- className: "text-sm text-muted-foreground",
194
+ className: "text-sm text-text-secondary",
195
195
  children: "Preferred Contact"
196
196
  }), /* @__PURE__ */ T("p", {
197
197
  className: "capitalize",
198
198
  children: A.preferredContactMethod
199
199
  })] }),
200
200
  /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
201
- className: "text-sm text-muted-foreground",
201
+ className: "text-sm text-text-secondary",
202
202
  children: "Marketing Opt-in"
203
203
  }), /* @__PURE__ */ T(o, {
204
204
  variant: A.marketingOptIn ? "default" : "secondary",
@@ -208,10 +208,10 @@ function O() {
208
208
  })] }), /* @__PURE__ */ E(e, { children: [/* @__PURE__ */ T(r, { children: /* @__PURE__ */ T(n, { children: "Account Info" }) }), /* @__PURE__ */ E(t, {
209
209
  className: "space-y-3",
210
210
  children: [/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
211
- className: "text-sm text-muted-foreground",
211
+ className: "text-sm text-text-secondary",
212
212
  children: "Created"
213
213
  }), /* @__PURE__ */ T("p", { children: x(A.createdAt, "full") })] }), /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
214
- className: "text-sm text-muted-foreground",
214
+ className: "text-sm text-text-secondary",
215
215
  children: "Last Updated"
216
216
  }), /* @__PURE__ */ T("p", { children: x(A.updatedAt, "relative") })] })]
217
217
  })] })]
@@ -229,7 +229,7 @@ function O() {
229
229
  children: /* @__PURE__ */ T(e, { children: /* @__PURE__ */ T(t, {
230
230
  className: "p-8 text-center",
231
231
  children: /* @__PURE__ */ T("p", {
232
- className: "text-muted-foreground",
232
+ className: "text-text-secondary",
233
233
  children: "Customer creation form would go here"
234
234
  })
235
235
  }) })
@@ -1,13 +1,13 @@
1
- import { i as e, l as t, o as n, s as r, u as i } from "./PageLayout-3DR4pMQ9.js";
2
- import { t as a } from "./DataTable-oNjXEcUO.js";
3
- import { t as o } from "./download-CQqBpPk5.js";
4
- import { t as s } from "./plus-Dew5yoQK.js";
5
- import { t as c } from "./refresh-cw-oWEqfHnS.js";
6
- import { t as l } from "./star-BW23nRLp.js";
7
- import { t as u } from "./users-e-wRlQnX.js";
1
+ import { i as e, l as t, o as n, s as r, u as i } from "./PageLayout-xDTiBTDS.js";
2
+ import { t as a } from "./DataTable-CZGz3SJu.js";
3
+ import { t as o } from "./download-caab0D3V.js";
4
+ import { t as s } from "./plus-D2BYAzMn.js";
5
+ import { t as c } from "./refresh-cw-D5Sy01s-.js";
6
+ import { t as l } from "./star-Cv2MzxZL.js";
7
+ import { t as u } from "./users-CfG0J8wP.js";
8
8
  import { r as d } from "./graphqlClient-CdJyR_ed.js";
9
9
  import { r as f } from "./useCustomers-bS3a4ytk.js";
10
- import { i as p } from "./StatusBadge-elLZA4Wl.js";
10
+ import { i as p } from "./StatusBadge-C--7NhoW.js";
11
11
  import { r as m } from "./formatters-_vJlC-47.js";
12
12
  import { t as h } from "./navigation-BgnOfsVd.js";
13
13
  import { jsx as g, jsxs as _ } from "react/jsx-runtime";
@@ -47,7 +47,7 @@ function v() {
47
47
  className: "font-medium",
48
48
  children: e.name
49
49
  }), /* @__PURE__ */ g("p", {
50
- className: "text-sm text-muted-foreground",
50
+ className: "text-sm text-text-secondary",
51
51
  children: e.email
52
52
  })] })]
53
53
  })
@@ -1,20 +1,20 @@
1
- import { M as e, a as t, d as n, f as r, g as i, h as a, i as o, l as s, u as c } from "./PageLayout-3DR4pMQ9.js";
2
- import { t as l } from "./chevron-right-Bzo6Rr8_.js";
3
- import { t as u } from "./clock-DP-76dyQ.js";
4
- import { t as d } from "./dollar-sign-CrwqdoEC.js";
5
- import { t as f } from "./map-pin-4a-IA2NP.js";
6
- import { t as p } from "./package-CPePjBwW.js";
7
- import { t as m } from "./trending-up-DYQ3Xns5.js";
8
- import { t as h } from "./triangle-alert-Ck_oBZ7n.js";
9
- import { t as g } from "./truck-Cd54agV-.js";
10
- import { t as _ } from "./users-e-wRlQnX.js";
1
+ import { M as e, a as t, d as n, f as r, g as i, h as a, i as o, l as s, u as c } from "./PageLayout-xDTiBTDS.js";
2
+ import { t as l } from "./chevron-right-Czrt_Qew.js";
3
+ import { t as u } from "./clock-Be95bq7_.js";
4
+ import { t as d } from "./dollar-sign-kJqItPli.js";
5
+ import { t as f } from "./map-pin-96FeqL7H.js";
6
+ import { t as p } from "./package-KhSi3xaT.js";
7
+ import { t as m } from "./trending-up-l8M0BO_w.js";
8
+ import { t as h } from "./triangle-alert-BI45s6bH.js";
9
+ import { t as g } from "./truck-DX3lNQkz.js";
10
+ import { t as _ } from "./users-CfG0J8wP.js";
11
11
  import { r as v } from "./graphqlClient-CdJyR_ed.js";
12
12
  import { n as y, r as b } from "./useOrders-D_3_hGMp.js";
13
13
  import { i as x } from "./useFleet-BdETplNE.js";
14
14
  import { n as S } from "./useAnalytics-ph7eTIK6.js";
15
15
  import { r as C } from "./useTracking-De2KIUNu.js";
16
- import { r as w, t as T } from "./MetricCard-BDcT-7Ei.js";
17
- import { r as E } from "./StatusBadge-elLZA4Wl.js";
16
+ import { r as w, t as T } from "./MetricCard-DeHVeVwl.js";
17
+ import { r as E } from "./StatusBadge-C--7NhoW.js";
18
18
  import { n as D, r as O } from "./formatters-_vJlC-47.js";
19
19
  import { t as k } from "./navigation-BgnOfsVd.js";
20
20
  import { jsx as A, jsxs as j } from "react/jsx-runtime";
@@ -126,7 +126,7 @@ function N() {
126
126
  children: /* @__PURE__ */ j("div", {
127
127
  className: "divide-y",
128
128
  children: [R.slice(0, 5).map((e) => /* @__PURE__ */ A("div", {
129
- className: "p-4 hover:bg-muted/50 cursor-pointer transition-colors",
129
+ className: "p-4 hover:bg-bg-sunken/50 cursor-pointer transition-colors",
130
130
  onClick: () => H(`orders/${e.id}`),
131
131
  children: /* @__PURE__ */ j("div", {
132
132
  className: "flex items-center justify-between",
@@ -134,7 +134,7 @@ function N() {
134
134
  className: "font-medium",
135
135
  children: e.orderNumber
136
136
  }), /* @__PURE__ */ A("p", {
137
- className: "text-sm text-muted-foreground",
137
+ className: "text-sm text-text-secondary",
138
138
  children: e.customerInfo.name
139
139
  })] }), /* @__PURE__ */ j("div", {
140
140
  className: "text-right",
@@ -143,13 +143,13 @@ function N() {
143
143
  type: "order",
144
144
  size: "sm"
145
145
  }), /* @__PURE__ */ A("p", {
146
- className: "text-sm text-muted-foreground mt-1",
146
+ className: "text-sm text-text-secondary mt-1",
147
147
  children: D(e.pricing.total)
148
148
  })]
149
149
  })]
150
150
  })
151
151
  }, e.id)), R.length === 0 && /* @__PURE__ */ A("div", {
152
- className: "p-8 text-center text-muted-foreground",
152
+ className: "p-8 text-center text-text-secondary",
153
153
  children: P("movethewheels.dashboard.recentOrders.empty", "No recent orders")
154
154
  })]
155
155
  })
@@ -171,7 +171,7 @@ function N() {
171
171
  children: /* @__PURE__ */ j("div", {
172
172
  className: "divide-y",
173
173
  children: [V.slice(0, 5).map((e) => e.order ? /* @__PURE__ */ A("div", {
174
- className: "p-4 hover:bg-muted/50 cursor-pointer transition-colors",
174
+ className: "p-4 hover:bg-bg-sunken/50 cursor-pointer transition-colors",
175
175
  onClick: () => H(`tracking?order=${e.order.id}`),
176
176
  children: /* @__PURE__ */ j("div", {
177
177
  className: "flex items-center justify-between",
@@ -179,7 +179,7 @@ function N() {
179
179
  className: "font-medium",
180
180
  children: e.order.orderNumber
181
181
  }), /* @__PURE__ */ A("p", {
182
- className: "text-sm text-muted-foreground",
182
+ className: "text-sm text-text-secondary",
183
183
  children: e.driver?.fullName || P("movethewheels.dashboard.activeDeliveries.unassigned", "Unassigned")
184
184
  })] }), /* @__PURE__ */ j("div", {
185
185
  className: "text-right",
@@ -188,7 +188,7 @@ function N() {
188
188
  type: "order",
189
189
  size: "sm"
190
190
  }), /* @__PURE__ */ j("p", {
191
- className: "text-sm text-muted-foreground mt-1",
191
+ className: "text-sm text-text-secondary mt-1",
192
192
  children: [
193
193
  P("movethewheels.dashboard.activeDeliveries.eta", "ETA:"),
194
194
  " ",
@@ -198,7 +198,7 @@ function N() {
198
198
  })]
199
199
  })
200
200
  }, e.order.id) : null), V.length === 0 && /* @__PURE__ */ A("div", {
201
- className: "p-8 text-center text-muted-foreground",
201
+ className: "p-8 text-center text-text-secondary",
202
202
  children: P("movethewheels.dashboard.activeDeliveries.empty", "No active deliveries")
203
203
  })]
204
204
  })
@@ -266,28 +266,28 @@ function N() {
266
266
  className: "grid grid-cols-2 gap-4 text-sm",
267
267
  children: [
268
268
  /* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A("p", {
269
- className: "text-muted-foreground",
269
+ className: "text-text-secondary",
270
270
  children: P("movethewheels.dashboard.fleetStatus.available", "Available")
271
271
  }), /* @__PURE__ */ A("p", {
272
272
  className: "text-lg font-semibold text-green-600",
273
273
  children: B.vehiclesByStatus.available
274
274
  })] }),
275
275
  /* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A("p", {
276
- className: "text-muted-foreground",
276
+ className: "text-text-secondary",
277
277
  children: P("movethewheels.dashboard.fleetStatus.inUse", "In Use")
278
278
  }), /* @__PURE__ */ A("p", {
279
279
  className: "text-lg font-semibold text-blue-600",
280
280
  children: B.vehiclesByStatus.assigned
281
281
  })] }),
282
282
  /* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A("p", {
283
- className: "text-muted-foreground",
283
+ className: "text-text-secondary",
284
284
  children: P("movethewheels.dashboard.fleetStatus.maintenance", "Maintenance")
285
285
  }), /* @__PURE__ */ A("p", {
286
286
  className: "text-lg font-semibold text-yellow-600",
287
287
  children: B.vehiclesByStatus.maintenance
288
288
  })] }),
289
289
  /* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A("p", {
290
- className: "text-muted-foreground",
290
+ className: "text-text-secondary",
291
291
  children: P("movethewheels.dashboard.fleetStatus.avgFuel", "Avg Fuel")
292
292
  }), /* @__PURE__ */ j("p", {
293
293
  className: "text-lg font-semibold",
@@ -314,7 +314,7 @@ function N() {
314
314
  className: "text-sm font-medium",
315
315
  children: P("movethewheels.dashboard.alerts.pendingOrders.title", "Pending Orders")
316
316
  }), /* @__PURE__ */ j("p", {
317
- className: "text-xs text-muted-foreground",
317
+ className: "text-xs text-text-secondary",
318
318
  children: [
319
319
  z.byStatus.pending,
320
320
  " ",
@@ -331,7 +331,7 @@ function N() {
331
331
  className: "text-sm font-medium",
332
332
  children: P("movethewheels.dashboard.alerts.maintenanceVehicles.title", "Vehicles in Maintenance")
333
333
  }), /* @__PURE__ */ j("p", {
334
- className: "text-xs text-muted-foreground",
334
+ className: "text-xs text-text-secondary",
335
335
  children: [
336
336
  B.vehiclesByStatus.maintenance,
337
337
  " ",
@@ -348,7 +348,7 @@ function N() {
348
348
  className: "text-sm font-medium",
349
349
  children: P("movethewheels.dashboard.alerts.offlineDrivers.title", "Offline Drivers")
350
350
  }), /* @__PURE__ */ j("p", {
351
- className: "text-xs text-muted-foreground",
351
+ className: "text-xs text-text-secondary",
352
352
  children: [
353
353
  B.driversByStatus.offline,
354
354
  " ",
@@ -357,7 +357,7 @@ function N() {
357
357
  })] })]
358
358
  }),
359
359
  z.byStatus.pending <= 5 && B.vehiclesByStatus.maintenance === 0 && B.driversByStatus.offline === 0 && /* @__PURE__ */ A("div", {
360
- className: "text-center py-4 text-muted-foreground",
360
+ className: "text-center py-4 text-text-secondary",
361
361
  children: /* @__PURE__ */ A("p", {
362
362
  className: "text-sm",
363
363
  children: P("movethewheels.dashboard.alerts.allOperational", "All systems operational")
@@ -1,9 +1,9 @@
1
- import { A as e, B as t, F as n, G as r, H as i, I as a, K as o, L as s, P as c, R as l, U as u, W as d, it as f, q as p, rt as m, u as h } from "./PageLayout-3DR4pMQ9.js";
2
- import { t as g } from "./chevron-right-Bzo6Rr8_.js";
3
- import { t as _ } from "./search-FWYzDbBx.js";
1
+ import { A as e, B as t, F as n, G as r, H as i, I as a, K as o, L as s, P as c, R as l, U as u, W as d, it as f, q as p, rt as m, u as h } from "./PageLayout-xDTiBTDS.js";
2
+ import { t as g } from "./chevron-right-Czrt_Qew.js";
3
+ import { t as _ } from "./search-DVrUQbOg.js";
4
4
  import { useMemo as v, useState as y } from "react";
5
5
  import { jsx as b, jsxs as x } from "react/jsx-runtime";
6
- //#region ../../node_modules/.bun/lucide-react@0.468.0+3f10a4be4e334a9b/node_modules/lucide-react/dist/esm/icons/arrow-down.js
6
+ //#region node_modules/lucide-react/dist/esm/icons/arrow-down.js
7
7
  var S = f("ArrowDown", [["path", {
8
8
  d: "M12 5v14",
9
9
  key: "s699le"
@@ -94,7 +94,7 @@ function O({ columns: f, data: O, isLoading: ee = !1, searchable: k = !1, search
94
94
  M
95
95
  ]), $ = Math.ceil(Z.length / J), te = (e) => {
96
96
  H === e ? W === "asc" ? G("desc") : W === "desc" && (U(null), G(null)) : (U(e), G("asc"));
97
- }, ne = (e) => H === e ? b(W === "asc" ? w : S, { className: "w-4 h-4 text-primary" }) : /* @__PURE__ */ b(C, { className: "w-4 h-4 text-muted-foreground/50" }), re = (e, t) => {
97
+ }, ne = (e) => H === e ? b(W === "asc" ? w : S, { className: "w-4 h-4 text-primary" }) : /* @__PURE__ */ b(C, { className: "w-4 h-4 text-text-secondary/50" }), re = (e, t) => {
98
98
  if (t.cell) return t.cell(e);
99
99
  if (t.accessorKey) {
100
100
  let n = e[t.accessorKey];
@@ -118,7 +118,7 @@ function O({ columns: f, data: O, isLoading: ee = !1, searchable: k = !1, search
118
118
  className: "flex items-center gap-4",
119
119
  children: /* @__PURE__ */ x("div", {
120
120
  className: "relative flex-1 max-w-sm",
121
- children: [/* @__PURE__ */ b(_, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground" }), /* @__PURE__ */ b(e, {
121
+ children: [/* @__PURE__ */ b(_, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-text-secondary" }), /* @__PURE__ */ b(e, {
122
122
  placeholder: A,
123
123
  value: B,
124
124
  onChange: (e) => {
@@ -131,7 +131,7 @@ function O({ columns: f, data: O, isLoading: ee = !1, searchable: k = !1, search
131
131
  /* @__PURE__ */ b("div", {
132
132
  className: "rounded-md border",
133
133
  children: /* @__PURE__ */ x(i, { children: [/* @__PURE__ */ b(o, { children: /* @__PURE__ */ b(p, { children: f.map((e) => /* @__PURE__ */ b(r, {
134
- className: m(e.sortable && "cursor-pointer select-none hover:bg-muted/50", e.headerClassName),
134
+ className: m(e.sortable && "cursor-pointer select-none hover:bg-bg-sunken/50", e.headerClassName),
135
135
  onClick: () => e.sortable && te(e.id),
136
136
  children: /* @__PURE__ */ x("div", {
137
137
  className: "flex items-center gap-2",
@@ -141,13 +141,13 @@ function O({ columns: f, data: O, isLoading: ee = !1, searchable: k = !1, search
141
141
  colSpan: f.length,
142
142
  className: "h-24 text-center",
143
143
  children: /* @__PURE__ */ b("p", {
144
- className: "text-muted-foreground",
144
+ className: "text-text-secondary",
145
145
  children: L
146
146
  })
147
147
  }) }) : Q.map((e, t) => {
148
148
  let n = z ? z(e) : t, r = typeof I == "function" ? I(e) : I;
149
149
  return /* @__PURE__ */ b(p, {
150
- className: m(F && "cursor-pointer hover:bg-muted/50", r),
150
+ className: m(F && "cursor-pointer hover:bg-bg-sunken/50", r),
151
151
  onClick: () => F?.(e),
152
152
  children: f.map((t) => /* @__PURE__ */ b(d, {
153
153
  className: t.className,
@@ -159,7 +159,7 @@ function O({ columns: f, data: O, isLoading: ee = !1, searchable: k = !1, search
159
159
  M && Z.length > 0 && /* @__PURE__ */ x("div", {
160
160
  className: "flex items-center justify-between",
161
161
  children: [/* @__PURE__ */ x("div", {
162
- className: "flex items-center gap-2 text-sm text-muted-foreground",
162
+ className: "flex items-center gap-2 text-sm text-text-secondary",
163
163
  children: [
164
164
  /* @__PURE__ */ x("span", { children: [
165
165
  "Showing ",