@burdenoff/microfe-movethewheels 2026.703.6 → 2026.703.7

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 (101) hide show
  1. package/dist/{AIAssistantPage-BmILdHgO.js → AIAssistantPage-B7FGmmKT.js} +5 -5
  2. package/dist/{AnalyticsPage-BSlsiSDE.js → AnalyticsPage-DXduj5KB.js} +9 -9
  3. package/dist/{CreateOrderPage-DaCgVaO3.js → CreateOrderPage-DuJJQ16b.js} +11 -11
  4. package/dist/{CustomerDetailsPage-DErpbafW.js → CustomerDetailsPage-C98SKw7Z.js} +16 -16
  5. package/dist/{CustomersPage-C1lRU6xs.js → CustomersPage-s8hK55JL.js} +24 -22
  6. package/dist/{DashboardPage-Q5-5EKAU.js → DashboardPage-BsEgcKEN.js} +17 -17
  7. package/dist/DataTable-Da7yHjM1.js +369 -0
  8. package/dist/{DocumentsCard-T9y6cv4-.js → DocumentsCard-CziaTJhP.js} +4 -4
  9. package/dist/{DriverDetailsPage-DnHGkDC7.js → DriverDetailsPage-CBzAmM6s.js} +14 -14
  10. package/dist/{DriversPage-C0ujWVOn.js → DriversPage-Duy_ITG6.js} +26 -24
  11. package/dist/{FinancePage-CA2XEgsQ.js → FinancePage-BZtPTpmT.js} +9 -9
  12. package/dist/{FleetPage-DrvXW7wK.js → FleetPage-DJfzoHbs.js} +10 -10
  13. package/dist/{FormError-CRsMP7TQ.js → FormError-CWjGwOW8.js} +1 -1
  14. package/dist/{ImportExportPage-Cac9HjFx.js → ImportExportPage-DJ77GK_7.js} +6 -6
  15. package/dist/{InventoryPage-Ezf4gqKI.js → InventoryPage-Dpnwk_N3.js} +10 -10
  16. package/dist/{LiveTrackingPage-CzbVwDqK.js → LiveTrackingPage-CLlvsP1B.js} +10 -10
  17. package/dist/{MarketplacePage-BHDmSQmo.js → MarketplacePage-d99r-v6p.js} +9 -9
  18. package/dist/{MetricCard-DQlDNqmK.js → MetricCard-DA5ZqAVl.js} +2 -2
  19. package/dist/{Notice-GmA7JDR3.js → Notice-kkjV2rLR.js} +2 -2
  20. package/dist/{OrderDetailsPage-CR0Wc1aN.js → OrderDetailsPage-BePtkyN0.js} +20 -20
  21. package/dist/OrdersListPage-Csy_KScx.js +388 -0
  22. package/dist/{PageLayout-DX1Ou6V6.js → PageLayout-h_q9l8af.js} +231 -224
  23. package/dist/{ProductDetailsPage-B_ns2MOe.js → ProductDetailsPage-BMlRoR9E.js} +9 -9
  24. package/dist/{ProductsPage-c92BsEoA.js → ProductsPage-B4jWJ5bv.js} +21 -19
  25. package/dist/{ReportsPage-CPLXtLT2.js → ReportsPage-ALRYfXtz.js} +9 -9
  26. package/dist/{RouteDetailsPage-DOfcRiFv.js → RouteDetailsPage-Btb1MSIS.js} +18 -18
  27. package/dist/{RoutesPage-BZGublby.js → RoutesPage-CQHCDInT.js} +19 -17
  28. package/dist/{SettingsPage-5cweX_xh.js → SettingsPage-BYBRrlGe.js} +4 -4
  29. package/dist/{Sparkline-zSXvG6vA.js → Sparkline-Q-6bJ24J.js} +1 -1
  30. package/dist/{StatusBadge-oZjownr1.js → StatusBadge-1W2p8fEi.js} +1 -1
  31. package/dist/{TrackingPage-Ln9qVflK.js → TrackingPage-CFndTIyk.js} +11 -11
  32. package/dist/{VehicleDetailsPage-CrkzE0dN.js → VehicleDetailsPage-DNLrMljV.js} +12 -12
  33. package/dist/{VehiclesPage-CTQWH7af.js → VehiclesPage-ClkfFZxL.js} +26 -24
  34. package/dist/{WarehouseDetailsPage-CwDLaG65.js → WarehouseDetailsPage-CAQFz7l_.js} +11 -11
  35. package/dist/{WarehousesPage-KW02DvZg.js → WarehousesPage-kNba6cr3.js} +19 -17
  36. package/dist/{arrow-left-DJDw_Yqv.js → arrow-left-XOzFvBFD.js} +1 -1
  37. package/dist/{arrow-right-Cb2fLTPJ.js → arrow-right-CRrwlvFe.js} +1 -1
  38. package/dist/{arrow-up-PxaOIyiT.js → arrow-up-ClFaLPly.js} +1 -1
  39. package/dist/{box-hSJVtvGf.js → box-BX4WyCLv.js} +1 -1
  40. package/dist/{boxes-DDnxEkT5.js → boxes-R3nq5f0_.js} +1 -1
  41. package/dist/{chart-column-xXgAZvRl.js → chart-column-BgF8J9bx.js} +1 -1
  42. package/dist/{charts-CfCwQg6o.js → charts-BS_OnWc6.js} +2 -2
  43. package/dist/{chevron-left-dhEGJYdh.js → chevron-left-D3hcLQ1g.js} +1 -1
  44. package/dist/{chevron-right-Cud2NDvm.js → chevron-right-BpfSrzQF.js} +1 -1
  45. package/dist/{circle-alert-Rx0p3D5w.js → circle-alert-CLqT8iCQ.js} +1 -1
  46. package/dist/{circle-check-BCxRFdFo.js → circle-check-CWLAr_8f.js} +1 -1
  47. package/dist/{circle-check-big-BcIJ8xjx.js → circle-check-big-Dsuz8dJ2.js} +1 -1
  48. package/dist/{clock-B2_YxJgB.js → clock-DrZOQD8h.js} +1 -1
  49. package/dist/{dollar-sign-CQmAICv4.js → dollar-sign-CJfKfYul.js} +1 -1
  50. package/dist/{download-CG4Tponq.js → download-C-yNvUiL.js} +1 -1
  51. package/dist/{file-text-CzH-zMub.js → file-text-m2SyQgBo.js} +1 -1
  52. package/dist/{filter-C0u2Lwfn.js → filter-uA6govE9.js} +1 -1
  53. package/dist/{fuel-C2KELcM-.js → fuel-BroSIBo1.js} +1 -1
  54. package/dist/index.js +33 -33
  55. package/dist/{map-FuPu5aTw.js → map-BzwQ__kD.js} +1 -1
  56. package/dist/{map-pin-czpLv9uy.js → map-pin-BGbmEGn3.js} +1 -1
  57. package/dist/{maps-D9m7PKrs.js → maps-DpIuSSmg.js} +1 -1
  58. package/dist/{navigation-D5_pdCSS.js → navigation-CjKGLL9T.js} +1 -1
  59. package/dist/{package-B0sdi6lU.js → package-D36cKFvu.js} +1 -1
  60. package/dist/{phone-V2nuzPu9.js → phone-mMZFHd1Z.js} +1 -1
  61. package/dist/{plus-BqQxkfoU.js → plus-DY5R-c1j.js} +1 -1
  62. package/dist/{refresh-cw-CEOAPEcV.js → refresh-cw-DyOLYuDU.js} +1 -1
  63. package/dist/{route-CZWcW-Dw.js → route-CuaZ1wU3.js} +1 -1
  64. package/dist/{save-DDFvrxWl.js → save-h9dzHwJE.js} +1 -1
  65. package/dist/{search-D7Ya6jxj.js → search-stTGSec-.js} +1 -1
  66. package/dist/{square-pen-DoZZS4Lw.js → square-pen-DT5srCPD.js} +1 -1
  67. package/dist/{star-B7PgVu5j.js → star-gp4yO3PF.js} +1 -1
  68. package/dist/{store-YVzcIG4A.js → store-DJZDAvCY.js} +1 -1
  69. package/dist/{trash-2-BegnBzwI.js → trash-2-DwcjTxYE.js} +1 -1
  70. package/dist/{trending-up-DBd3XNdb.js → trending-up-2q2sPVsb.js} +1 -1
  71. package/dist/{triangle-alert-Bxk3Kgs6.js → triangle-alert-CU60xaOi.js} +1 -1
  72. package/dist/{truck-Clrn0oHp.js → truck-ByZxqZhI.js} +1 -1
  73. package/dist/{upload-Df5JmMwH.js → upload-CWor1uj3.js} +1 -1
  74. package/dist/{useAssistant-Cb8nnIVC.js → useAssistant-uoc8wjr0.js} +1 -1
  75. package/dist/{useCustomers-Dq2IR2HQ.js → useCustomers-BPPhQXSH.js} +1 -1
  76. package/dist/{useFleet-CapnWBcA.js → useFleet-CT_iW2V9.js} +1 -1
  77. package/dist/{useImportExport-BoGzrlJy.js → useImportExport-BG0Cg_D9.js} +1 -1
  78. package/dist/{useInventory-Ci6M2d9f.js → useInventory-BtBGnOC2.js} +1 -1
  79. package/dist/{useOrders-BuQU1OHX.js → useOrders-BC-1mCc0.js} +1 -1
  80. package/dist/{useReports-DIx8W7CO.js → useReports-Cx8blThR.js} +1 -1
  81. package/dist/{useRoutes-D7EvI_pm.js → useRoutes-8fw8oO6y.js} +1 -1
  82. package/dist/{useSettings-BhX251UQ.js → useSettings-Do5WSUaI.js} +1 -1
  83. package/dist/{useTracking-C40jmZ6W.js → useTracking-Dogilo5C.js} +3 -3
  84. package/dist/{user-BlcJrbtE.js → user-Dr_JS2FF.js} +1 -1
  85. package/dist/{user-check-DtnQmimP.js → user-check-CBSiMH6I.js} +1 -1
  86. package/dist/{users-Cvwko-Dx.js → users-BRV9-2nV.js} +1 -1
  87. package/dist/{warehouse-LWLVTk6G.js → warehouse-CmIAl0_w.js} +1 -1
  88. package/dist/{wrench-Cme0RbyR.js → wrench-6U-BTSbg.js} +1 -1
  89. package/dist/{x-D8C9Pg5V.js → x-DX8sZrkd.js} +1 -1
  90. package/package.json +1 -1
  91. package/src/movethewheels/components/DataTable.tsx +40 -0
  92. package/src/movethewheels/pages/CustomersPage.tsx +3 -1
  93. package/src/movethewheels/pages/DriversPage.tsx +3 -1
  94. package/src/movethewheels/pages/OrdersListPage.tsx +3 -1
  95. package/src/movethewheels/pages/ProductsPage.tsx +3 -1
  96. package/src/movethewheels/pages/RoutesPage.tsx +3 -1
  97. package/src/movethewheels/pages/VehiclesPage.tsx +3 -1
  98. package/src/movethewheels/pages/WarehousesPage.tsx +3 -1
  99. package/src/movethewheels/utils/graphqlClient.ts +52 -7
  100. package/dist/DataTable-KjzbwnRL.js +0 -340
  101. package/dist/OrdersListPage-C8Bu6wXM.js +0 -386
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/chart-column.js
3
3
  var t = e("ChartColumn", [
4
4
  ["path", {
@@ -1,6 +1,6 @@
1
1
  import { r as e, t } from "./chunk-BdsCSvBP.js";
2
- import { at as n, it as r, rt as i, st as a } from "./PageLayout-DX1Ou6V6.js";
3
- import { $ as o, A as s, B as c, C as l, D as u, E as d, F as f, G as p, H as m, I as h, J as g, K as _, L as v, M as y, N as ee, O as b, P as te, Q as ne, R as x, S as re, T as ie, U as ae, V as oe, W as se, X as ce, Y as le, Z as S, _ as ue, a as de, b as fe, c as pe, d as me, et as he, f as ge, g as _e, h as ve, i as ye, j as be, k as C, l as xe, m as Se, n as w, nt as Ce, o as we, p as Te, q as Ee, r as De, s as T, tt as Oe, u as ke, v as Ae, w as je, x as Me, y as Ne, z as Pe } from "./Sparkline-zSXvG6vA.js";
2
+ import { at as n, it as r, rt as i, st as a } from "./PageLayout-h_q9l8af.js";
3
+ import { $ as o, A as s, B as c, C as l, D as u, E as d, F as f, G as p, H as m, I as h, J as g, K as _, L as v, M as y, N as ee, O as b, P as te, Q as ne, R as x, S as re, T as ie, U as ae, V as oe, W as se, X as ce, Y as le, Z as S, _ as ue, a as de, b as fe, c as pe, d as me, et as he, f as ge, g as _e, h as ve, i as ye, j as be, k as C, l as xe, m as Se, n as w, nt as Ce, o as we, p as Te, q as Ee, r as De, s as T, tt as Oe, u as ke, v as Ae, w as je, x as Me, y as Ne, z as Pe } from "./Sparkline-Q-6bJ24J.js";
4
4
  import E, { PureComponent as Fe, useCallback as D, useEffect as O, useId as Ie, useMemo as k, useState as A } from "react";
5
5
  import { jsx as j, jsxs as M } from "react/jsx-runtime";
6
6
  //#region src/movethewheels/hooks/useAnalytics.ts
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/chevron-left.js
3
3
  var t = e("ChevronLeft", [["path", {
4
4
  d: "m15 18-6-6 6-6",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/chevron-right.js
3
3
  var t = e("ChevronRight", [["path", {
4
4
  d: "m9 18 6-6-6-6",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/circle-alert.js
3
3
  var t = e("CircleAlert", [
4
4
  ["circle", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/circle-check.js
3
3
  var t = e("CircleCheck", [["circle", {
4
4
  cx: "12",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/circle-check-big.js
3
3
  var t = e("CircleCheckBig", [["path", {
4
4
  d: "M21.801 10A10 10 0 1 1 17 3.335",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/clock.js
3
3
  var t = e("Clock", [["circle", {
4
4
  cx: "12",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/dollar-sign.js
3
3
  var t = e("DollarSign", [["line", {
4
4
  x1: "12",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/download.js
3
3
  var t = e("Download", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/file-text.js
3
3
  var t = e("FileText", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/filter.js
3
3
  var t = e("Filter", [["polygon", {
4
4
  points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/fuel.js
3
3
  var t = e("Fuel", [
4
4
  ["line", {
package/dist/index.js CHANGED
@@ -1,35 +1,35 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as ee, S as te, T as ne, U as re, V as ie, W as ae, X as oe, Y as se, Z as ce, _ as le, a as ue, b as de, c as fe, ct as pe, d as me, et as he, f as ge, g as _e, h as ve, i as ye, j as be, k as xe, l as Se, m as Ce, n as v, nt as y, o as b, ot as x, p as S, q as C, r as w, rt as T, s as E, st as D, t as O, tt as k, u as A, ut as j, v as we, w as Te, x as Ee, y as De, z as Oe } from "./PageLayout-DX1Ou6V6.js";
2
- import { t as ke } from "./DataTable-KjzbwnRL.js";
3
- import { n as Ae, t as je } from "./useAssistant-Cb8nnIVC.js";
4
- import { t as Me } from "./boxes-DDnxEkT5.js";
5
- import { t as Ne } from "./chart-column-xXgAZvRl.js";
6
- import { t as Pe } from "./dollar-sign-CQmAICv4.js";
7
- import { n as Fe, t as Ie } from "./DocumentsCard-T9y6cv4-.js";
8
- import { t as Le } from "./file-text-CzH-zMub.js";
9
- import { n as Re, r as ze, t as Be } from "./useSettings-BhX251UQ.js";
10
- import { n as Ve, t as He } from "./Notice-GmA7JDR3.js";
11
- import { t as Ue } from "./map-FuPu5aTw.js";
12
- import { t as We } from "./package-B0sdi6lU.js";
13
- import { t as Ge } from "./route-CZWcW-Dw.js";
14
- import { t as Ke } from "./store-YVzcIG4A.js";
15
- import { t as M } from "./truck-Clrn0oHp.js";
16
- import { t as qe } from "./user-check-DtnQmimP.js";
17
- import { t as Je } from "./users-Cvwko-Dx.js";
18
- import { t as N } from "./warehouse-LWLVTk6G.js";
19
- import { n as Ye, r as Xe, t as Ze } from "./useOrders-BuQU1OHX.js";
20
- import { a as Qe, i as $e, n as et, o as tt, r as nt, t as rt } from "./useFleet-CapnWBcA.js";
21
- import { a as it, c as at, n as ot, o as st, r as ct, t as lt } from "./useInventory-Ci6M2d9f.js";
22
- import { n as ut, r as dt, t as ft } from "./useCustomers-Dq2IR2HQ.js";
23
- import { n as pt, r as mt, t as ht } from "./useRoutes-D7EvI_pm.js";
24
- import { a as gt, c as _t, d as vt, f as yt, i as bt, l as xt, n as St, o as Ct, r as wt, s as Tt, t as Et, u as Dt } from "./charts-CfCwQg6o.js";
25
- import { a as Ot, i as kt, n as At, o as jt, r as Mt, s as Nt, t as Pt } from "./useTracking-C40jmZ6W.js";
26
- import { t as Ft } from "./useReports-DIx8W7CO.js";
27
- import { t as It } from "./useImportExport-BoGzrlJy.js";
28
- import { n as Lt, r as Rt, t as zt } from "./Sparkline-zSXvG6vA.js";
29
- import { n as Bt, r as Vt, t as Ht } from "./MetricCard-DQlDNqmK.js";
30
- import { a as Ut, c as Wt, i as Gt, n as Kt, o as qt, r as Jt, s as Yt, t as Xt } from "./maps-D9m7PKrs.js";
31
- import { a as Zt, i as Qt, n as $t, r as en, t as tn } from "./StatusBadge-oZjownr1.js";
32
- import { t as nn } from "./FormError-CRsMP7TQ.js";
1
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as ee, S as te, T as ne, U as re, V as ie, W as ae, X as oe, Y as se, Z as ce, _ as le, a as ue, b as de, c as fe, ct as pe, d as me, et as he, f as ge, g as _e, h as ve, i as ye, j as be, k as xe, l as Se, m as Ce, n as v, nt as y, o as b, ot as x, p as S, q as C, r as w, rt as T, s as E, st as D, t as O, tt as k, u as A, ut as j, v as we, w as Te, x as Ee, y as De, z as Oe } from "./PageLayout-h_q9l8af.js";
2
+ import { t as ke } from "./DataTable-Da7yHjM1.js";
3
+ import { n as Ae, t as je } from "./useAssistant-uoc8wjr0.js";
4
+ import { t as Me } from "./boxes-R3nq5f0_.js";
5
+ import { t as Ne } from "./chart-column-BgF8J9bx.js";
6
+ import { t as Pe } from "./dollar-sign-CJfKfYul.js";
7
+ import { n as Fe, t as Ie } from "./DocumentsCard-CziaTJhP.js";
8
+ import { t as Le } from "./file-text-m2SyQgBo.js";
9
+ import { n as Re, r as ze, t as Be } from "./useSettings-Do5WSUaI.js";
10
+ import { n as Ve, t as He } from "./Notice-kkjV2rLR.js";
11
+ import { t as Ue } from "./map-BzwQ__kD.js";
12
+ import { t as We } from "./package-D36cKFvu.js";
13
+ import { t as Ge } from "./route-CuaZ1wU3.js";
14
+ import { t as Ke } from "./store-DJZDAvCY.js";
15
+ import { t as M } from "./truck-ByZxqZhI.js";
16
+ import { t as qe } from "./user-check-CBSiMH6I.js";
17
+ import { t as Je } from "./users-BRV9-2nV.js";
18
+ import { t as N } from "./warehouse-CmIAl0_w.js";
19
+ import { n as Ye, r as Xe, t as Ze } from "./useOrders-BC-1mCc0.js";
20
+ import { a as Qe, i as $e, n as et, o as tt, r as nt, t as rt } from "./useFleet-CT_iW2V9.js";
21
+ import { a as it, c as at, n as ot, o as st, r as ct, t as lt } from "./useInventory-BtBGnOC2.js";
22
+ import { n as ut, r as dt, t as ft } from "./useCustomers-BPPhQXSH.js";
23
+ import { n as pt, r as mt, t as ht } from "./useRoutes-8fw8oO6y.js";
24
+ import { a as gt, c as _t, d as vt, f as yt, i as bt, l as xt, n as St, o as Ct, r as wt, s as Tt, t as Et, u as Dt } from "./charts-BS_OnWc6.js";
25
+ import { a as Ot, i as kt, n as At, o as jt, r as Mt, s as Nt, t as Pt } from "./useTracking-Dogilo5C.js";
26
+ import { t as Ft } from "./useReports-Cx8blThR.js";
27
+ import { t as It } from "./useImportExport-BG0Cg_D9.js";
28
+ import { n as Lt, r as Rt, t as zt } from "./Sparkline-Q-6bJ24J.js";
29
+ import { n as Bt, r as Vt, t as Ht } from "./MetricCard-DA5ZqAVl.js";
30
+ import { a as Ut, c as Wt, i as Gt, n as Kt, o as qt, r as Jt, s as Yt, t as Xt } from "./maps-DpIuSSmg.js";
31
+ import { a as Zt, i as Qt, n as $t, r as en, t as tn } from "./StatusBadge-1W2p8fEi.js";
32
+ import { t as nn } from "./FormError-CWjGwOW8.js";
33
33
  import { Suspense as rn, lazy as P, useEffect as F } from "react";
34
34
  import { Route as I, Routes as an, useNavigate as on } from "react-router-dom";
35
35
  import { jsx as L, jsxs as R } from "react/jsx-runtime";
@@ -117,7 +117,7 @@ function mn() {
117
117
  })
118
118
  });
119
119
  }
120
- var hn = P(() => import("./DashboardPage-Q5-5EKAU.js")), gn = P(() => import("./OrdersListPage-C8Bu6wXM.js")), _n = P(() => import("./OrderDetailsPage-CR0Wc1aN.js")), B = P(() => import("./CreateOrderPage-DaCgVaO3.js")), vn = P(() => import("./TrackingPage-Ln9qVflK.js")), yn = P(() => import("./LiveTrackingPage-CzbVwDqK.js")), bn = P(() => import("./FleetPage-DrvXW7wK.js")), xn = P(() => import("./VehiclesPage-CTQWH7af.js")), V = P(() => import("./VehicleDetailsPage-CrkzE0dN.js")), Sn = P(() => import("./DriversPage-C0ujWVOn.js")), H = P(() => import("./DriverDetailsPage-DnHGkDC7.js")), Cn = P(() => import("./InventoryPage-Ezf4gqKI.js")), wn = P(() => import("./ProductsPage-c92BsEoA.js")), U = P(() => import("./ProductDetailsPage-B_ns2MOe.js")), Tn = P(() => import("./WarehousesPage-KW02DvZg.js")), W = P(() => import("./WarehouseDetailsPage-CwDLaG65.js")), En = P(() => import("./CustomersPage-C1lRU6xs.js")), G = P(() => import("./CustomerDetailsPage-DErpbafW.js")), Dn = P(() => import("./RoutesPage-BZGublby.js")), K = P(() => import("./RouteDetailsPage-DOfcRiFv.js")), On = P(() => import("./AnalyticsPage-BSlsiSDE.js")), kn = P(() => import("./FinancePage-CA2XEgsQ.js")), An = P(() => import("./MarketplacePage-BHDmSQmo.js")), jn = P(() => import("./ImportExportPage-Cac9HjFx.js")), Mn = P(() => import("./ReportsPage-CPLXtLT2.js")), Nn = P(() => import("./SettingsPage-5cweX_xh.js")), Pn = P(() => import("./AIAssistantPage-BmILdHgO.js"));
120
+ var hn = P(() => import("./DashboardPage-BsEgcKEN.js")), gn = P(() => import("./OrdersListPage-Csy_KScx.js")), _n = P(() => import("./OrderDetailsPage-BePtkyN0.js")), B = P(() => import("./CreateOrderPage-DuJJQ16b.js")), vn = P(() => import("./TrackingPage-CFndTIyk.js")), yn = P(() => import("./LiveTrackingPage-CLlvsP1B.js")), bn = P(() => import("./FleetPage-DJfzoHbs.js")), xn = P(() => import("./VehiclesPage-ClkfFZxL.js")), V = P(() => import("./VehicleDetailsPage-DNLrMljV.js")), Sn = P(() => import("./DriversPage-Duy_ITG6.js")), H = P(() => import("./DriverDetailsPage-CBzAmM6s.js")), Cn = P(() => import("./InventoryPage-Dpnwk_N3.js")), wn = P(() => import("./ProductsPage-B4jWJ5bv.js")), U = P(() => import("./ProductDetailsPage-BMlRoR9E.js")), Tn = P(() => import("./WarehousesPage-kNba6cr3.js")), W = P(() => import("./WarehouseDetailsPage-CAQFz7l_.js")), En = P(() => import("./CustomersPage-s8hK55JL.js")), G = P(() => import("./CustomerDetailsPage-C98SKw7Z.js")), Dn = P(() => import("./RoutesPage-CQHCDInT.js")), K = P(() => import("./RouteDetailsPage-Btb1MSIS.js")), On = P(() => import("./AnalyticsPage-DXduj5KB.js")), kn = P(() => import("./FinancePage-BZtPTpmT.js")), An = P(() => import("./MarketplacePage-d99r-v6p.js")), jn = P(() => import("./ImportExportPage-DJ77GK_7.js")), Mn = P(() => import("./ReportsPage-ALRYfXtz.js")), Nn = P(() => import("./SettingsPage-BYBRrlGe.js")), Pn = P(() => import("./AIAssistantPage-B7FGmmKT.js"));
121
121
  function Fn() {
122
122
  return /* @__PURE__ */ L(rn, {
123
123
  fallback: /* @__PURE__ */ L(mn, {}),
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/map.js
3
3
  var t = e("Map", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/map-pin.js
3
3
  var t = e("MapPin", [["path", {
4
4
  d: "M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",
@@ -1,5 +1,5 @@
1
1
  import { r as e, t } from "./chunk-BdsCSvBP.js";
2
- import { rt as n } from "./PageLayout-DX1Ou6V6.js";
2
+ import { rt as n } from "./PageLayout-h_q9l8af.js";
3
3
  import r, { createContext as i, forwardRef as a, use as o, useCallback as s, useEffect as c, useImperativeHandle as l, useMemo as u, useRef as d, useState as f } from "react";
4
4
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
5
5
  import { createPortal as h } from "react-dom";
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/navigation.js
3
3
  var t = e("Navigation", [["polygon", {
4
4
  points: "3 11 22 2 13 21 11 13 3 11",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/package.js
3
3
  var t = e("Package", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/mail.js
3
3
  var t = e("Mail", [["rect", {
4
4
  width: "20",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/plus.js
3
3
  var t = e("Plus", [["path", {
4
4
  d: "M5 12h14",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/refresh-cw.js
3
3
  var t = e("RefreshCw", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/route.js
3
3
  var t = e("Route", [
4
4
  ["circle", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/save.js
3
3
  var t = e("Save", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/search.js
3
3
  var t = e("Search", [["circle", {
4
4
  cx: "11",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/square-pen.js
3
3
  var t = e("SquarePen", [["path", {
4
4
  d: "M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/star.js
3
3
  var t = e("Star", [["path", {
4
4
  d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/store.js
3
3
  var t = e("Store", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/trash-2.js
3
3
  var t = e("Trash2", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/trending-up.js
3
3
  var t = e("TrendingUp", [["polyline", {
4
4
  points: "22 7 13.5 15.5 8.5 10.5 2 17",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/triangle-alert.js
3
3
  var t = e("TriangleAlert", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/truck.js
3
3
  var t = e("Truck", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/upload.js
3
3
  var t = e("Upload", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { at as e, st as t, ut as n } from "./PageLayout-DX1Ou6V6.js";
1
+ import { at as e, st as t, ut as n } from "./PageLayout-h_q9l8af.js";
2
2
  import { useCallback as r, useMemo as i, useState as a } from "react";
3
3
  //#region node_modules/lucide-react/dist/esm/icons/bot.js
4
4
  var o = n("Bot", [
@@ -1,4 +1,4 @@
1
- import { at as e, st as t } from "./PageLayout-DX1Ou6V6.js";
1
+ import { at as e, st as t } from "./PageLayout-h_q9l8af.js";
2
2
  import { useCallback as n, useEffect as r, useMemo as i, useState as a } from "react";
3
3
  //#region src/movethewheels/hooks/useCustomers.ts
4
4
  var o = "\n query ListCustomers($filter: CustomerFilterInput, $pagination: PaginationInput) {\n customers(filter: $filter, pagination: $pagination) {\n id\n name\n email\n phone\n type\n company\n address\n businessLicense\n taxId\n rating\n createdAt\n updatedAt\n deletedAt\n }\n }\n", s = "\n query GetCustomer($id: ID!) {\n customer(id: $id) {\n id\n name\n email\n phone\n type\n company\n address\n businessLicense\n taxId\n rating\n createdAt\n updatedAt\n deletedAt\n }\n }\n", c = "\n mutation CreateCustomer($input: CreateCustomerInput!) {\n createCustomer(input: $input) {\n id\n name\n email\n phone\n type\n company\n address\n businessLicense\n taxId\n rating\n createdAt\n updatedAt\n deletedAt\n }\n }\n", l = "\n mutation UpdateCustomer($id: ID!, $input: UpdateCustomerInput!) {\n updateCustomer(id: $id, input: $input) {\n id\n name\n email\n phone\n type\n company\n address\n businessLicense\n taxId\n rating\n createdAt\n updatedAt\n deletedAt\n }\n }\n", u = "\n mutation DeleteCustomer($id: ID!) {\n deleteCustomer(id: $id)\n }\n";
@@ -1,4 +1,4 @@
1
- import { at as e, st as t } from "./PageLayout-DX1Ou6V6.js";
1
+ import { at as e, st as t } from "./PageLayout-h_q9l8af.js";
2
2
  import { useCallback as n, useEffect as r, useMemo as i, useState as a } from "react";
3
3
  //#region src/movethewheels/hooks/useFleet.ts
4
4
  var o = "\n query ListVehicles($filter: VehicleFilterInput, $pagination: PaginationInput) {\n vehicles(filter: $filter, pagination: $pagination) {\n id\n vehicleNumber\n type\n make\n model\n year\n capacity\n status\n currentLocation\n fuelLevel\n mileage\n createdAt\n updatedAt\n }\n }\n", s = "\n query ListDrivers($filter: DriverFilterInput, $pagination: PaginationInput) {\n drivers(filter: $filter, pagination: $pagination) {\n id\n userId\n firstName\n lastName\n employeeId\n licenseNumber\n licenseClass\n licenseExpiry\n status\n currentLocation\n rating\n vehicleId\n createdAt\n }\n }\n", c = "\n query GetVehicle($id: ID!) {\n vehicle(id: $id) {\n id\n vehicleNumber\n type\n make\n model\n year\n capacity\n status\n currentLocation\n fuelLevel\n mileage\n createdAt\n updatedAt\n }\n }\n", l = "\n query GetDriver($id: ID!) {\n driver(id: $id) {\n id\n userId\n firstName\n lastName\n employeeId\n licenseNumber\n licenseClass\n licenseExpiry\n status\n currentLocation\n rating\n vehicleId\n createdAt\n }\n }\n", u = "\n mutation UpdateVehicleStatus($id: ID!, $status: VehicleStatus!) {\n updateVehicleStatus(id: $id, status: $status) {\n id\n vehicleNumber\n type\n make\n model\n year\n capacity\n status\n currentLocation\n fuelLevel\n mileage\n createdAt\n updatedAt\n }\n }\n", d = "\n mutation AssignDriverVehicle($id: ID!, $vehicleId: ID) {\n assignDriverVehicle(id: $id, vehicleId: $vehicleId) {\n id\n userId\n firstName\n lastName\n employeeId\n licenseNumber\n licenseClass\n licenseExpiry\n status\n currentLocation\n rating\n vehicleId\n createdAt\n }\n }\n", f = "\n mutation UpdateDriverStatus($id: ID!, $status: DriverStatus!) {\n updateDriverStatus(id: $id, status: $status) {\n id\n userId\n firstName\n lastName\n employeeId\n licenseNumber\n licenseClass\n licenseExpiry\n status\n currentLocation\n rating\n vehicleId\n createdAt\n }\n }\n", p = "\n mutation CreateVehicle($input: CreateVehicleInput!) {\n createVehicle(input: $input) {\n id\n vehicleNumber\n type\n make\n model\n year\n capacity\n status\n currentLocation\n fuelLevel\n mileage\n createdAt\n updatedAt\n }\n }\n", m = "\n mutation CreateDriver($input: CreateDriverInput!) {\n createDriver(input: $input) {\n id\n userId\n firstName\n lastName\n employeeId\n licenseNumber\n licenseClass\n licenseExpiry\n status\n currentLocation\n rating\n vehicleId\n createdAt\n }\n }\n", h = "\n query GetFleetStats {\n fleetStats {\n totalVehicles\n activeVehicles\n inTransitVehicles\n maintenanceVehicles\n totalDrivers\n availableDrivers\n onDeliveryDrivers\n avgDriverRating\n }\n }\n";
@@ -1,4 +1,4 @@
1
- import { at as e, st as t } from "./PageLayout-DX1Ou6V6.js";
1
+ import { at as e, st as t } from "./PageLayout-h_q9l8af.js";
2
2
  import { useCallback as n, useMemo as r, useState as i } from "react";
3
3
  //#region src/movethewheels/hooks/useImportExport.ts
4
4
  var a = "\n mutation MovethewheelsExportData($input: MovethewheelsExportDataInput!) {\n exportData(input: $input) {\n success\n message\n payload\n }\n }\n", o = "\n mutation MovethewheelsImportData($input: MovethewheelsImportDataInput!) {\n importData(input: $input) {\n success\n message\n payload\n }\n }\n";
@@ -1,4 +1,4 @@
1
- import { at as e, st as t } from "./PageLayout-DX1Ou6V6.js";
1
+ import { at as e, st as t } from "./PageLayout-h_q9l8af.js";
2
2
  import { useCallback as n, useEffect as r, useMemo as i, useState as a } from "react";
3
3
  //#region src/movethewheels/hooks/useInventory.ts
4
4
  var o = "\n query ListInventoryItems($filter: InventoryFilterInput, $pagination: PaginationInput) {\n inventoryItems(filter: $filter, pagination: $pagination) {\n id\n productId\n warehouseId\n onHand\n available\n allocated\n damaged\n reorderPoint\n createdAt\n updatedAt\n }\n }\n", s = "\n query ListProducts($filter: ProductFilterInput, $pagination: PaginationInput) {\n products(filter: $filter, pagination: $pagination) {\n id\n sku\n name\n description\n category\n brand\n dimensions\n weight\n value\n hazardous\n fragile\n temperatureControlled\n createdAt\n updatedAt\n }\n }\n", c = "\n query ListWarehouses($filter: WarehouseFilterInput, $pagination: PaginationInput) {\n warehouses(filter: $filter, pagination: $pagination) {\n id\n name\n code\n type\n address\n totalCapacity\n usedCapacity\n createdAt\n }\n }\n", l = "\n query GetProduct($id: ID!) {\n product(id: $id) {\n id\n sku\n name\n description\n category\n brand\n dimensions\n weight\n value\n hazardous\n fragile\n temperatureControlled\n createdAt\n updatedAt\n }\n }\n", u = "\n query GetWarehouse($id: ID!) {\n warehouse(id: $id) {\n id\n name\n code\n type\n address\n totalCapacity\n usedCapacity\n createdAt\n }\n }\n", d = "\n query GetInventoryStats {\n inventoryStats {\n totalOnHand\n totalAvailable\n totalAllocated\n totalDamaged\n lowStockCount\n }\n }\n", f = "\n mutation CreateProduct($input: CreateProductInput!) {\n createProduct(input: $input) {\n id\n sku\n name\n description\n category\n brand\n dimensions\n weight\n value\n hazardous\n fragile\n temperatureControlled\n createdAt\n updatedAt\n }\n }\n", p = "\n mutation CreateWarehouse($input: CreateWarehouseInput!) {\n createWarehouse(input: $input) {\n id\n name\n code\n type\n address\n totalCapacity\n usedCapacity\n createdAt\n }\n }\n", m = "\n mutation AdjustInventoryStock($input: AdjustInventoryStockInput!) {\n adjustInventoryStock(input: $input) {\n id\n productId\n warehouseId\n onHand\n available\n allocated\n damaged\n reorderPoint\n createdAt\n updatedAt\n }\n }\n";
@@ -1,4 +1,4 @@
1
- import { at as e, st as t } from "./PageLayout-DX1Ou6V6.js";
1
+ import { at as e, st as t } from "./PageLayout-h_q9l8af.js";
2
2
  import { useCallback as n, useEffect as r, useMemo as i, useState as a } from "react";
3
3
  //#region src/movethewheels/hooks/useOrders.ts
4
4
  var o = "\n query ListMovethewheelsOrders($filter: OrderFilterInput, $pagination: PaginationInput) {\n movethewheelsOrders(filter: $filter, pagination: $pagination) {\n id\n orderNumber\n customerId\n orderType\n status\n priority\n pickupAddress\n deliveryAddress\n items\n pricing\n trackingNumber\n specialInstructions\n scheduledDelivery\n vehicleId\n driverId\n createdAt\n updatedAt\n customer {\n name\n email\n phone\n company\n }\n statusHistory {\n status\n notes\n location\n createdAt\n createdBy\n }\n }\n }\n", s = "\n query GetMovethewheelsOrder($id: ID!) {\n movethewheelsOrder(id: $id) {\n id\n orderNumber\n customerId\n orderType\n status\n priority\n pickupAddress\n deliveryAddress\n items\n pricing\n trackingNumber\n specialInstructions\n scheduledDelivery\n vehicleId\n driverId\n createdAt\n updatedAt\n customer {\n name\n email\n phone\n company\n }\n statusHistory {\n status\n notes\n location\n createdAt\n createdBy\n }\n }\n }\n", c = "\n query GetOrderStatsBundle {\n orderStats {\n total\n pending\n inTransit\n delivered\n cancelled\n failed\n }\n financeMetrics {\n revenue {\n totalRevenue\n averageOrderValue\n }\n }\n }\n", l = "\n mutation CreateMovethewheelsOrder($input: CreateOrderInput!) {\n createMovethewheelsOrder(input: $input) {\n id\n orderNumber\n customerId\n orderType\n status\n priority\n pickupAddress\n deliveryAddress\n items\n pricing\n trackingNumber\n specialInstructions\n scheduledDelivery\n vehicleId\n driverId\n createdAt\n updatedAt\n customer {\n name\n email\n phone\n company\n }\n statusHistory {\n status\n notes\n location\n createdAt\n createdBy\n }\n }\n }\n", u = "\n mutation UpdateMovethewheelsOrder($id: ID!, $input: UpdateOrderInput!) {\n updateMovethewheelsOrder(id: $id, input: $input) {\n id\n orderNumber\n customerId\n orderType\n status\n priority\n pickupAddress\n deliveryAddress\n items\n pricing\n trackingNumber\n specialInstructions\n scheduledDelivery\n vehicleId\n driverId\n createdAt\n updatedAt\n customer {\n name\n email\n phone\n company\n }\n statusHistory {\n status\n notes\n location\n createdAt\n createdBy\n }\n }\n }\n", d = "\n mutation UpdateMovethewheelsOrderStatus($id: ID!, $input: UpdateOrderStatusInput!) {\n updateMovethewheelsOrderStatus(id: $id, input: $input) {\n id\n orderNumber\n customerId\n orderType\n status\n priority\n pickupAddress\n deliveryAddress\n items\n pricing\n trackingNumber\n specialInstructions\n scheduledDelivery\n vehicleId\n driverId\n createdAt\n updatedAt\n customer {\n name\n email\n phone\n company\n }\n statusHistory {\n status\n notes\n location\n createdAt\n createdBy\n }\n }\n }\n", f = "\n mutation DeleteMovethewheelsOrder($id: ID!) {\n deleteMovethewheelsOrder(id: $id)\n }\n";
@@ -1,4 +1,4 @@
1
- import { at as e, st as t } from "./PageLayout-DX1Ou6V6.js";
1
+ import { at as e, st as t } from "./PageLayout-h_q9l8af.js";
2
2
  import { useCallback as n, useEffect as r, useMemo as i, useState as a } from "react";
3
3
  //#region src/movethewheels/hooks/useReports.ts
4
4
  var o = "\n id\n name\n description\n type\n status\n schedule\n lastGenerated\n createdAt\n updatedAt\n", s = `
@@ -1,4 +1,4 @@
1
- import { at as e, st as t } from "./PageLayout-DX1Ou6V6.js";
1
+ import { at as e, st as t } from "./PageLayout-h_q9l8af.js";
2
2
  import { useCallback as n, useEffect as r, useMemo as i, useState as a } from "react";
3
3
  //#region src/movethewheels/hooks/useRoutes.ts
4
4
  var o = "\n query ListRoutes($filter: RouteFilterInput, $pagination: PaginationInput) {\n routes(filter: $filter, pagination: $pagination) {\n id\n name\n status\n shipmentId\n vehicleId\n driverId\n waypoints\n estimatedDistance\n estimatedDuration\n fuelCost\n actualDistance\n actualDuration\n createdAt\n }\n }\n", s = "\n query GetRoute($id: ID!) {\n route(id: $id) {\n id\n name\n status\n shipmentId\n vehicleId\n driverId\n waypoints\n estimatedDistance\n estimatedDuration\n fuelCost\n actualDistance\n actualDuration\n createdAt\n }\n }\n", c = "\n mutation CreateRoute($input: CreateRouteInput!) {\n createRoute(input: $input) {\n id\n name\n status\n shipmentId\n vehicleId\n driverId\n waypoints\n estimatedDistance\n estimatedDuration\n fuelCost\n actualDistance\n actualDuration\n createdAt\n }\n }\n", l = "\n mutation UpdateRoute($id: ID!, $input: UpdateRouteInput!) {\n updateRoute(id: $id, input: $input) {\n id\n name\n status\n shipmentId\n vehicleId\n driverId\n waypoints\n estimatedDistance\n estimatedDuration\n fuelCost\n actualDistance\n actualDuration\n createdAt\n }\n }\n", u = "\n mutation DeleteRoute($id: ID!) {\n deleteRoute(id: $id)\n }\n", d = "\n mutation OptimizeRoute($id: ID!) {\n optimizeRoute(id: $id) {\n id\n name\n status\n shipmentId\n vehicleId\n driverId\n waypoints\n estimatedDistance\n estimatedDuration\n fuelCost\n actualDistance\n actualDuration\n createdAt\n }\n }\n";
@@ -1,4 +1,4 @@
1
- import { at as e, st as t, ut as n } from "./PageLayout-DX1Ou6V6.js";
1
+ import { at as e, st as t, ut as n } from "./PageLayout-h_q9l8af.js";
2
2
  import { useCallback as r, useEffect as i, useMemo as a, useState as o } from "react";
3
3
  //#region node_modules/lucide-react/dist/esm/icons/globe.js
4
4
  var s = n("Globe", [
@@ -1,6 +1,6 @@
1
- import { at as e, st as t } from "./PageLayout-DX1Ou6V6.js";
2
- import { r as n, t as r } from "./useOrders-BuQU1OHX.js";
3
- import { a as i, n as a, o, t as s } from "./useFleet-CapnWBcA.js";
1
+ import { at as e, st as t } from "./PageLayout-h_q9l8af.js";
2
+ import { r as n, t as r } from "./useOrders-BC-1mCc0.js";
3
+ import { a as i, n as a, o, t as s } from "./useFleet-CT_iW2V9.js";
4
4
  import { useCallback as c, useEffect as l, useMemo as u, useState as d } from "react";
5
5
  //#region src/movethewheels/hooks/useTracking.ts
6
6
  var f = "\n query ListShipments($filter: ShipmentFilterInput, $pagination: PaginationInput) {\n shipments(filter: $filter, pagination: $pagination) {\n id\n shipmentNumber\n orderId\n status\n estimatedDelivery\n }\n }\n", p = "\n query GetShipment($id: ID!) {\n shipment(id: $id) {\n id\n shipmentNumber\n orderId\n status\n estimatedDelivery\n trackingEvents {\n id\n shipmentId\n eventType\n location\n details\n timestamp\n }\n }\n }\n", m = "\n query GetOrderTracking($orderId: ID!) {\n orderTracking(orderId: $orderId) {\n id\n shipmentId\n eventType\n location\n details\n timestamp\n }\n }\n", h = "\n query GetActiveDeliveries {\n activeDeliveries {\n id\n shipmentNumber\n orderId\n status\n estimatedDelivery\n }\n }\n", g = "\n query GetTrackingAlerts {\n trackingAlerts {\n shipmentId\n shipmentNumber\n alertType\n message\n }\n }\n";
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/user.js
3
3
  var t = e("User", [["path", {
4
4
  d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/user-check.js
3
3
  var t = e("UserCheck", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/users.js
3
3
  var t = e("Users", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/warehouse.js
3
3
  var t = e("Warehouse", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/wrench.js
3
3
  var t = e("Wrench", [["path", {
4
4
  d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",
@@ -1,4 +1,4 @@
1
- import { ut as e } from "./PageLayout-DX1Ou6V6.js";
1
+ import { ut as e } from "./PageLayout-h_q9l8af.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/x.js
3
3
  var t = e("X", [["path", {
4
4
  d: "M18 6 6 18",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-movethewheels",
3
- "version": "2026.703.6",
3
+ "version": "2026.703.7",
4
4
  "description": "Burdenoff MoveTheWheels Microfrontend - Logistics & Supply Chain Management Platform",
5
5
  "type": "module",
6
6
  "files": [
@@ -26,6 +26,8 @@ import {
26
26
  ArrowUpDown,
27
27
  ArrowUp,
28
28
  ArrowDown,
29
+ AlertTriangle,
30
+ RefreshCw,
29
31
  } from 'lucide-react';
30
32
 
31
33
  export interface Column<T> {
@@ -42,6 +44,15 @@ interface DataTableProps<T> {
42
44
  columns: Column<T>[];
43
45
  data: T[];
44
46
  isLoading?: boolean;
47
+ /**
48
+ * When the underlying fetch ultimately failed (after retries) and no rows are
49
+ * available to show, the table renders a distinct error state with a Retry
50
+ * action instead of the "empty" state — so a backend failure never reads as
51
+ * "no data".
52
+ */
53
+ error?: Error | null;
54
+ /** Invoked by the error-state Retry button (typically the hook's refetch). */
55
+ onRetry?: () => void;
45
56
  searchable?: boolean;
46
57
  searchPlaceholder?: string;
47
58
  searchFields?: (keyof T)[];
@@ -90,6 +101,8 @@ export function DataTable<T extends object>({
90
101
  columns,
91
102
  data,
92
103
  isLoading = false,
104
+ error = null,
105
+ onRetry,
93
106
  searchable = false,
94
107
  searchPlaceholder = 'Search...',
95
108
  searchFields,
@@ -276,6 +289,33 @@ export function DataTable<T extends object>({
276
289
  );
277
290
  }
278
291
 
292
+ // A failed load with nothing to fall back on renders an explicit error state
293
+ // (never the misleading "empty" state). Stale rows, if any, are kept visible.
294
+ if (error && data.length === 0) {
295
+ return (
296
+ <div
297
+ className={cn(
298
+ 'flex flex-col items-center justify-center gap-3 rounded-card border border-border-seam bg-bg-surface px-6 py-14 text-center shadow-elevation-1',
299
+ className
300
+ )}
301
+ >
302
+ <div className="flex h-12 w-12 items-center justify-center rounded-full bg-status-error-bg text-status-error-text">
303
+ <AlertTriangle size={22} />
304
+ </div>
305
+ <p className="text-base font-medium text-text-primary">Couldn’t load this list</p>
306
+ <p className="max-w-sm text-sm text-text-secondary">
307
+ The service was briefly unreachable. This is usually momentary — try again.
308
+ </p>
309
+ {onRetry && (
310
+ <Button variant="outline" size="sm" onClick={onRetry} className="mt-1">
311
+ <RefreshCw size={14} className="mr-1.5" />
312
+ Retry
313
+ </Button>
314
+ )}
315
+ </div>
316
+ );
317
+ }
318
+
279
319
  const isEmpty = paginatedData.length === 0;
280
320
 
281
321
  const renderEmpty = () =>
@@ -20,7 +20,7 @@ export default function CustomersPage() {
20
20
  const { basePath, navigate } = useMoveTheWheels();
21
21
  const [page, setPage] = useState(0);
22
22
  const [pageSize, setPageSize] = useState(25);
23
- const { customers, hasMore, isLoading, refetch } = useCustomers({
23
+ const { customers, hasMore, isLoading, error, refetch } = useCustomers({
24
24
  limit: pageSize,
25
25
  offset: page * pageSize,
26
26
  });
@@ -151,6 +151,8 @@ export default function CustomersPage() {
151
151
  columns={columns}
152
152
  data={customers}
153
153
  isLoading={isLoading}
154
+ error={error}
155
+ onRetry={refetch}
154
156
  searchable
155
157
  searchPlaceholder="Search customers..."
156
158
  searchFields={['name', 'email', 'company'] as (keyof Customer)[]}
@@ -20,7 +20,7 @@ export default function DriversPage() {
20
20
  const { basePath, navigate } = useMoveTheWheels();
21
21
  const [page, setPage] = useState(0);
22
22
  const [pageSize, setPageSize] = useState(25);
23
- const { drivers, isLoading, refetch } = useDrivers({
23
+ const { drivers, isLoading, error, refetch } = useDrivers({
24
24
  limit: pageSize,
25
25
  offset: page * pageSize,
26
26
  });
@@ -161,6 +161,8 @@ export default function DriversPage() {
161
161
  columns={columns}
162
162
  data={drivers}
163
163
  isLoading={isLoading}
164
+ error={error}
165
+ onRetry={refetch}
164
166
  searchable
165
167
  searchPlaceholder="Search drivers..."
166
168
  searchFields={['fullName', 'employeeId'] as (keyof Driver)[]}