@burdenoff/microfe-movethewheels 2026.703.2 → 2026.703.4

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 (126) hide show
  1. package/dist/{AIAssistantPage-C3cPsWt-.js → AIAssistantPage-3YOnHO9Y.js} +3 -3
  2. package/dist/{AnalyticsPage-Dz6g2MvK.js → AnalyticsPage-CMpI1070.js} +11 -11
  3. package/dist/CreateOrderPage-DRAgGo9i.js +490 -0
  4. package/dist/CustomerDetailsPage-BCeMmOFe.js +615 -0
  5. package/dist/{CustomersPage-2Y05LVyh.js → CustomersPage-CaNBMXmM.js} +64 -53
  6. package/dist/{DashboardPage-BVjQi0EB.js → DashboardPage-DIKlXde3.js} +16 -16
  7. package/dist/DataTable-XvUcTjwi.js +340 -0
  8. package/dist/DocumentsCard-U2lSe-cn.js +169 -0
  9. package/dist/{DriverDetailsPage-CN3WQ0B9.js → DriverDetailsPage-BQrYd_Lp.js} +178 -195
  10. package/dist/{DriversPage-B0Zpx8OQ.js → DriversPage-PYmdFiby.js} +65 -54
  11. package/dist/FinancePage-Cwh9Bw4M.js +136 -0
  12. package/dist/{FleetPage-DqkFi3s3.js → FleetPage-3ZHsB-TN.js} +23 -22
  13. package/dist/{FormError-BlOjnXOq.js → FormError-cuLV2jVD.js} +1 -1
  14. package/dist/{ImportExportPage-DKJRCezl.js → ImportExportPage-C6f7DqhM.js} +50 -70
  15. package/dist/{InventoryPage-DwfgCUQq.js → InventoryPage-DpiqVu1v.js} +9 -9
  16. package/dist/{LiveTrackingPage-DCX-K-LR.js → LiveTrackingPage-FAzzlVnX.js} +9 -9
  17. package/dist/MarketplacePage-Bh_2ns4v.js +426 -0
  18. package/dist/Notice-CSoDYKw9.js +46 -0
  19. package/dist/OrderDetailsPage-zCj0lW0j.js +584 -0
  20. package/dist/{OrdersListPage-BjDlCKJd.js → OrdersListPage-CAMsuUck.js} +166 -89
  21. package/dist/{ProductDetailsPage-C9uOiYLp.js → ProductDetailsPage-wsxAQkA0.js} +12 -12
  22. package/dist/{ProductsPage-C1G9h7Xd.js → ProductsPage-DC5qDLfz.js} +60 -49
  23. package/dist/ReportsPage-BwUJ37eO.js +356 -0
  24. package/dist/RouteDetailsPage-DyMJE9AS.js +583 -0
  25. package/dist/{RoutesPage-DMfoicM1.js → RoutesPage-Dtc669yc.js} +57 -46
  26. package/dist/{SettingsPage-Bn-v0mbQ.js → SettingsPage-CpH9xhQg.js} +5 -27
  27. package/dist/{TrackingPage-W-jtdM3Y.js → TrackingPage-DaNEFG_h.js} +10 -10
  28. package/dist/{VehicleDetailsPage-Bceo5oz3.js → VehicleDetailsPage-DldYNsYV.js} +125 -142
  29. package/dist/{VehiclesPage-VBtOep91.js → VehiclesPage-BFw13iMt.js} +61 -50
  30. package/dist/{WarehouseDetailsPage-L_6sWigM.js → WarehouseDetailsPage-CMG7or6G.js} +17 -17
  31. package/dist/{WarehousesPage-DCbXXXWE.js → WarehousesPage-Wkytnt86.js} +58 -47
  32. package/dist/arrow-right-Q3XQpTPR.js +11 -0
  33. package/dist/arrow-up-xNF1zJUG.js +17 -0
  34. package/dist/chevron-left-B2_r0Elx.js +8 -0
  35. package/dist/{wrench-CANXWxF-.js → fuel-B6_lnKDs.js} +2 -5
  36. package/dist/index.js +163 -174
  37. package/dist/upload-CHZofOqb.js +21 -0
  38. package/dist/{useAnalytics-DS8n0xgg.js → useAnalytics-D7HW2XRb.js} +52 -2
  39. package/dist/{useCustomers-BmTNGxiI.js → useCustomers-BPW4__PR.js} +29 -26
  40. package/dist/{useFleet-DKqXZ16m.js → useFleet-ChBkxAd6.js} +81 -69
  41. package/dist/{useInventory-DkyiVY_A.js → useInventory-CAAVMRp6.js} +83 -38
  42. package/dist/{useOrders-Cfk1GLiq.js → useOrders-B465S2nt.js} +58 -47
  43. package/dist/{useReports-CTqZr-AB.js → useReports-jQ3GpNOm.js} +40 -34
  44. package/dist/{useRoutes-BQWO607N.js → useRoutes-hS3d5-xr.js} +49 -41
  45. package/dist/{useTracking-B-va1kO3.js → useTracking-RjGz9PZG.js} +2 -2
  46. package/dist/user-check-BEKRCi7v.js +20 -0
  47. package/dist/wrench-q_rgJfaP.js +8 -0
  48. package/dist/x-tMeDMcCw.js +11 -0
  49. package/package.json +1 -1
  50. package/src/movethewheels/components/DataTable.tsx +252 -84
  51. package/src/movethewheels/components/DocumentsCard.tsx +102 -0
  52. package/src/movethewheels/components/Notice.tsx +61 -0
  53. package/src/movethewheels/components/index.ts +7 -0
  54. package/src/movethewheels/hooks/index.ts +9 -0
  55. package/src/movethewheels/hooks/useAnalytics.ts +95 -0
  56. package/src/movethewheels/hooks/useCustomers.ts +11 -4
  57. package/src/movethewheels/hooks/useEntityDocuments.ts +132 -0
  58. package/src/movethewheels/hooks/useFleet.ts +26 -7
  59. package/src/movethewheels/hooks/useInventory.ts +70 -7
  60. package/src/movethewheels/hooks/useOrders.ts +32 -2
  61. package/src/movethewheels/hooks/useReports.ts +14 -4
  62. package/src/movethewheels/hooks/useRoutes.ts +20 -3
  63. package/src/movethewheels/pages/AnalyticsPage.tsx +2 -2
  64. package/src/movethewheels/pages/CreateOrderPage.tsx +44 -16
  65. package/src/movethewheels/pages/CustomerDetailsPage.tsx +239 -33
  66. package/src/movethewheels/pages/CustomersPage.tsx +27 -11
  67. package/src/movethewheels/pages/DriverDetailsPage.tsx +16 -30
  68. package/src/movethewheels/pages/DriversPage.tsx +26 -9
  69. package/src/movethewheels/pages/FinancePage.tsx +67 -84
  70. package/src/movethewheels/pages/InventoryPage.tsx +1 -1
  71. package/src/movethewheels/pages/MarketplacePage.tsx +265 -50
  72. package/src/movethewheels/pages/OrderDetailsPage.tsx +214 -10
  73. package/src/movethewheels/pages/OrdersListPage.tsx +77 -14
  74. package/src/movethewheels/pages/ProductsPage.tsx +27 -7
  75. package/src/movethewheels/pages/ReportsPage.tsx +65 -4
  76. package/src/movethewheels/pages/RouteDetailsPage.tsx +74 -13
  77. package/src/movethewheels/pages/RoutesPage.tsx +22 -6
  78. package/src/movethewheels/pages/SettingsPage.tsx +3 -19
  79. package/src/movethewheels/pages/VehicleDetailsPage.tsx +3 -33
  80. package/src/movethewheels/pages/VehiclesPage.tsx +26 -5
  81. package/src/movethewheels/pages/WarehousesPage.tsx +22 -17
  82. package/src/movethewheels/types/index.ts +8 -0
  83. package/src/movethewheels/utils/download.ts +62 -0
  84. package/dist/CreateOrderPage-C5iwnjp4.js +0 -479
  85. package/dist/CustomerDetailsPage-B6nwFyLO.js +0 -406
  86. package/dist/DataTable-DmciIKKM.js +0 -249
  87. package/dist/FinancePage-DEDykSOP.js +0 -158
  88. package/dist/MarketplacePage-CIQ97_zp.js +0 -247
  89. package/dist/OrderDetailsPage-DYiZ-9UK.js +0 -429
  90. package/dist/ReportsPage-Zp53q3_8.js +0 -284
  91. package/dist/RouteDetailsPage-DUStXSf9.js +0 -531
  92. /package/dist/{MetricCard-BY0QrMD4.js → MetricCard-CVBVpu7o.js} +0 -0
  93. /package/dist/{StatusBadge-BZurYHMy.js → StatusBadge-C87mDpDP.js} +0 -0
  94. /package/dist/{box-D9Pal4HM.js → box-Eu05PXDh.js} +0 -0
  95. /package/dist/{chart-column-BFIJysDR.js → chart-column-ouzgxIv_.js} +0 -0
  96. /package/dist/{chevron-right-EMIIyyJ1.js → chevron-right-eV4LjaSi.js} +0 -0
  97. /package/dist/{circle-alert-iY24lSlp.js → circle-alert-Bzh2DBSF.js} +0 -0
  98. /package/dist/{circle-check-big-w0TrLKMF.js → circle-check-big-CGMSpQmD.js} +0 -0
  99. /package/dist/{clock-DJZtdl8u.js → clock-Bl3ptexL.js} +0 -0
  100. /package/dist/{dollar-sign-CgKQRz_e.js → dollar-sign-CAVU95SO.js} +0 -0
  101. /package/dist/{download-DRXxoiQR.js → download-C5NbvVDc.js} +0 -0
  102. /package/dist/{file-text-DWWY6_f5.js → file-text-D-1uvLZG.js} +0 -0
  103. /package/dist/{filter-DloLC2eE.js → filter-DUfUg6BO.js} +0 -0
  104. /package/dist/{formatters-CF2S2l1m.js → formatters-BQr-aR5W.js} +0 -0
  105. /package/dist/{map-CkJaULb2.js → map-C-M-FQLR.js} +0 -0
  106. /package/dist/{map-pin-BGiCvyCs.js → map-pin-Dznl5l40.js} +0 -0
  107. /package/dist/{navigation-D36prnAn.js → navigation-BJSJl-VG.js} +0 -0
  108. /package/dist/{package-BChUzpJS.js → package-CcRttV2N.js} +0 -0
  109. /package/dist/{phone-Ac9s3mo_.js → phone-DVSZHt_j.js} +0 -0
  110. /package/dist/{plus-Z76q-FZm.js → plus-C_XZDwBz.js} +0 -0
  111. /package/dist/{refresh-cw-DKt6f5T6.js → refresh-cw-CfgN67l3.js} +0 -0
  112. /package/dist/{save-CojywNhG.js → save-DJE8Fpdv.js} +0 -0
  113. /package/dist/{search-CDGefqb3.js → search-D_VyGcZT.js} +0 -0
  114. /package/dist/{square-pen-CopE9GmB.js → square-pen-D-6JYrVQ.js} +0 -0
  115. /package/dist/{star-nHlLjDKR.js → star-BpRlUZuU.js} +0 -0
  116. /package/dist/{store-BR9Voi5E.js → store-B-8HMuyZ.js} +0 -0
  117. /package/dist/{trash-2-BKhar6Hs.js → trash-2-8vmv-XV_.js} +0 -0
  118. /package/dist/{trending-up-Dohgd4t_.js → trending-up-Dz6PqPRj.js} +0 -0
  119. /package/dist/{triangle-alert-i-XQL9Rd.js → triangle-alert-D7Y3J_4z.js} +0 -0
  120. /package/dist/{truck-C0v_hbLR.js → truck-D-y2IDzv.js} +0 -0
  121. /package/dist/{useAssistant-D4v3oxD3.js → useAssistant-DVW4QgQb.js} +0 -0
  122. /package/dist/{useImportExport-DHr-SWSw.js → useImportExport-DrPDHEDK.js} +0 -0
  123. /package/dist/{useSettings-CkDH_-gM.js → useSettings-BB8X2RLh.js} +0 -0
  124. /package/dist/{user-jyFU3lXk.js → user-DzfTn4dE.js} +0 -0
  125. /package/dist/{users-DZ-ilS6B.js → users-CCrq-w0C.js} +0 -0
  126. /package/dist/{warehouse-6m5kXMLu.js → warehouse-CaqfmMKh.js} +0 -0
package/dist/index.js CHANGED
@@ -1,36 +1,40 @@
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, at 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 xe, l as Se, lt as v, m as y, n as b, nt as x, o as S, ot as C, p as w, q as T, r as E, s as D, st as O, t as k, tt as A, u as j, v as Ce, w as we, x as Te, y as Ee, z as De } from "./PageLayout-D4LDHJJq.js";
2
- import { t as Oe } from "./DataTable-DmciIKKM.js";
3
- import { n as ke, r as Ae, t as je } from "./useAssistant-D4v3oxD3.js";
4
- import { t as Me } from "./chart-column-BFIJysDR.js";
5
- import { t as Ne } from "./dollar-sign-CgKQRz_e.js";
6
- import { t as Pe } from "./file-text-DWWY6_f5.js";
7
- import { n as Fe, r as Ie, t as Le } from "./useSettings-CkDH_-gM.js";
8
- import { t as Re } from "./map-CkJaULb2.js";
9
- import { t as ze } from "./package-BChUzpJS.js";
10
- import { t as Be } from "./store-BR9Voi5E.js";
11
- import { t as M } from "./truck-C0v_hbLR.js";
12
- import { t as Ve } from "./users-DZ-ilS6B.js";
13
- import { t as N } from "./warehouse-6m5kXMLu.js";
14
- import { n as He, r as Ue, t as We } from "./useOrders-Cfk1GLiq.js";
15
- import { a as Ge, i as Ke, n as qe, o as Je, r as Ye, t as Xe } from "./useFleet-DKqXZ16m.js";
16
- import { a as Ze, i as Qe, n as $e, o as et, r as tt, t as nt } from "./useInventory-DkyiVY_A.js";
17
- import { n as rt, r as it, t as at } from "./useCustomers-BmTNGxiI.js";
18
- import { n as ot, r as st, t as ct } from "./useRoutes-BQWO607N.js";
19
- import { a as lt, i as ut, n as dt, o as ft, r as pt, t as mt } from "./useAnalytics-DS8n0xgg.js";
20
- import { a as ht, i as gt, n as _t, o as vt, r as yt, s as bt, t as xt } from "./useTracking-B-va1kO3.js";
21
- import { t as St } from "./useReports-CTqZr-AB.js";
22
- import { t as Ct } from "./useImportExport-DHr-SWSw.js";
23
- import { n as wt, r as Tt, t as Et } from "./MetricCard-BY0QrMD4.js";
24
- import { a as Dt, i as Ot, n as kt, r as At, t as jt } from "./StatusBadge-BZurYHMy.js";
25
- import { Suspense as Mt, lazy as P, useEffect as F } from "react";
26
- import { Route as I, Routes as Nt, useNavigate as Pt } from "react-router-dom";
27
- import { jsx as L, jsxs as R } from "react/jsx-runtime";
28
- import { FeatureFlagProvider as Ft } from "@burdenoff/fe-libs/shared/feature-flags";
29
- import { NotFoundPage as It } from "@burdenoff/fe-libs/shared/pages";
30
- import { create as Lt } from "zustand";
31
- import { createProfileScopedStorage as Rt } from "@burdenoff/fe-libs/shared/utils";
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 ee, R as te, S as ne, T as re, U as ie, V as ae, W as oe, X as se, Y as ce, Z as le, _ as ue, a as _, at 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 xe, l as Se, lt as v, m as y, n as b, nt as x, o as S, ot as C, p as w, q as T, r as E, s as D, st as O, t as k, tt as A, u as j, v as Ce, w as we, x as Te, y as Ee, z as De } from "./PageLayout-D4LDHJJq.js";
2
+ import { t as Oe } from "./DataTable-XvUcTjwi.js";
3
+ import { n as ke, r as Ae, t as je } from "./useAssistant-DVW4QgQb.js";
4
+ import { t as Me } from "./chart-column-ouzgxIv_.js";
5
+ import { t as Ne } from "./dollar-sign-CAVU95SO.js";
6
+ import { n as Pe, t as Fe } from "./DocumentsCard-U2lSe-cn.js";
7
+ import { t as Ie } from "./file-text-D-1uvLZG.js";
8
+ import { n as Le, r as Re, t as ze } from "./useSettings-BB8X2RLh.js";
9
+ import { n as Be, t as Ve } from "./Notice-CSoDYKw9.js";
10
+ import { t as He } from "./map-C-M-FQLR.js";
11
+ import { t as Ue } from "./package-CcRttV2N.js";
12
+ import { t as We } from "./store-B-8HMuyZ.js";
13
+ import { t as M } from "./truck-D-y2IDzv.js";
14
+ import { t as Ge } from "./user-check-BEKRCi7v.js";
15
+ import { t as Ke } from "./users-CCrq-w0C.js";
16
+ import { t as N } from "./warehouse-CaqfmMKh.js";
17
+ import { n as qe, r as Je, t as Ye } from "./useOrders-B465S2nt.js";
18
+ import { a as Xe, i as Ze, n as Qe, o as $e, r as et, t as tt } from "./useFleet-ChBkxAd6.js";
19
+ import { a as nt, c as rt, n as it, o as at, r as ot, t as st } from "./useInventory-CAAVMRp6.js";
20
+ import { n as ct, r as lt, t as ut } from "./useCustomers-BPW4__PR.js";
21
+ import { n as dt, r as ft, t as pt } from "./useRoutes-hS3d5-xr.js";
22
+ import { a as mt, i as ht, n as gt, o as _t, r as vt, s as yt, t as bt } from "./useAnalytics-D7HW2XRb.js";
23
+ import { a as xt, i as St, n as Ct, o as wt, r as Tt, s as P, t as Et } from "./useTracking-RjGz9PZG.js";
24
+ import { t as Dt } from "./useReports-jQ3GpNOm.js";
25
+ import { t as Ot } from "./useImportExport-DrPDHEDK.js";
26
+ import { n as kt, r as At, t as jt } from "./MetricCard-CVBVpu7o.js";
27
+ import { a as Mt, i as Nt, n as Pt, r as Ft, t as It } from "./StatusBadge-C87mDpDP.js";
28
+ import { t as Lt } from "./FormError-cuLV2jVD.js";
29
+ import { Suspense as Rt, lazy as F, useEffect as I } from "react";
30
+ import { Route as L, Routes as zt, useNavigate as Bt } from "react-router-dom";
31
+ import { jsx as R, jsxs as z } from "react/jsx-runtime";
32
+ import { FeatureFlagProvider as Vt } from "@burdenoff/fe-libs/shared/feature-flags";
33
+ import { NotFoundPage as Ht } from "@burdenoff/fe-libs/shared/pages";
34
+ import { create as Ut } from "zustand";
35
+ import { createProfileScopedStorage as Wt } from "@burdenoff/fe-libs/shared/utils";
32
36
  //#region node_modules/lucide-react/dist/esm/icons/boxes.js
33
- var zt = v("Boxes", [
37
+ var Gt = v("Boxes", [
34
38
  ["path", {
35
39
  d: "M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",
36
40
  key: "lc1i9w"
@@ -79,7 +83,7 @@ var zt = v("Boxes", [
79
83
  d: "M12 13.5V8",
80
84
  key: "1io7kd"
81
85
  }]
82
- ]), Bt = v("Car", [
86
+ ]), Kt = v("Car", [
83
87
  ["path", {
84
88
  d: "M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",
85
89
  key: "5owen"
@@ -100,7 +104,7 @@ var zt = v("Boxes", [
100
104
  r: "2",
101
105
  key: "axvx0g"
102
106
  }]
103
- ]), z = v("LayoutDashboard", [
107
+ ]), B = v("LayoutDashboard", [
104
108
  ["rect", {
105
109
  width: "7",
106
110
  height: "9",
@@ -133,203 +137,188 @@ var zt = v("Boxes", [
133
137
  rx: "1",
134
138
  key: "ldoo1y"
135
139
  }]
136
- ]), Vt = v("UserCheck", [
137
- ["path", {
138
- d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",
139
- key: "1yyitq"
140
- }],
141
- ["circle", {
142
- cx: "9",
143
- cy: "7",
144
- r: "4",
145
- key: "nufk8"
146
- }],
147
- ["polyline", {
148
- points: "16 11 18 13 22 9",
149
- key: "1pwet4"
150
- }]
151
140
  ]);
152
141
  //#endregion
153
142
  //#region src/movethewheels/MoveTheWheelsRoutes.tsx
154
- function Ht() {
155
- let { navigate: e, basePath: t } = C(), n = Pt();
156
- return /* @__PURE__ */ L(It, {
143
+ function qt() {
144
+ let { navigate: e, basePath: t } = C(), n = Bt();
145
+ return /* @__PURE__ */ R(Ht, {
157
146
  homeLabel: "Back to MoveTheWheels",
158
147
  onGoHome: () => {
159
148
  e ? e(t || "/") : n("/");
160
149
  }
161
150
  });
162
151
  }
163
- function Ut() {
164
- return /* @__PURE__ */ L("div", {
152
+ function Jt() {
153
+ return /* @__PURE__ */ R("div", {
165
154
  className: "flex items-center justify-center min-h-[400px]",
166
- children: /* @__PURE__ */ R("div", {
155
+ children: /* @__PURE__ */ z("div", {
167
156
  className: "flex flex-col items-center gap-3",
168
- children: [/* @__PURE__ */ L("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }), /* @__PURE__ */ L("p", {
157
+ children: [/* @__PURE__ */ R("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }), /* @__PURE__ */ R("p", {
169
158
  className: "text-sm text-text-secondary",
170
159
  children: "Loading..."
171
160
  })]
172
161
  })
173
162
  });
174
163
  }
175
- var Wt = P(() => import("./DashboardPage-BVjQi0EB.js")), Gt = P(() => import("./OrdersListPage-BjDlCKJd.js")), Kt = P(() => import("./OrderDetailsPage-DYiZ-9UK.js")), B = P(() => import("./CreateOrderPage-C5iwnjp4.js")), qt = P(() => import("./TrackingPage-W-jtdM3Y.js")), Jt = P(() => import("./LiveTrackingPage-DCX-K-LR.js")), Yt = P(() => import("./FleetPage-DqkFi3s3.js")), Xt = P(() => import("./VehiclesPage-VBtOep91.js")), V = P(() => import("./VehicleDetailsPage-Bceo5oz3.js")), Zt = P(() => import("./DriversPage-B0Zpx8OQ.js")), H = P(() => import("./DriverDetailsPage-CN3WQ0B9.js")), Qt = P(() => import("./InventoryPage-DwfgCUQq.js")), $t = P(() => import("./ProductsPage-C1G9h7Xd.js")), U = P(() => import("./ProductDetailsPage-C9uOiYLp.js")), en = P(() => import("./WarehousesPage-DCbXXXWE.js")), W = P(() => import("./WarehouseDetailsPage-L_6sWigM.js")), tn = P(() => import("./CustomersPage-2Y05LVyh.js")), G = P(() => import("./CustomerDetailsPage-B6nwFyLO.js")), nn = P(() => import("./RoutesPage-DMfoicM1.js")), K = P(() => import("./RouteDetailsPage-DUStXSf9.js")), rn = P(() => import("./AnalyticsPage-Dz6g2MvK.js")), an = P(() => import("./FinancePage-DEDykSOP.js")), on = P(() => import("./MarketplacePage-CIQ97_zp.js")), sn = P(() => import("./ImportExportPage-DKJRCezl.js")), q = P(() => import("./ReportsPage-Zp53q3_8.js")), cn = P(() => import("./SettingsPage-Bn-v0mbQ.js")), ln = P(() => import("./AIAssistantPage-C3cPsWt-.js"));
176
- function un() {
177
- return /* @__PURE__ */ L(Mt, {
178
- fallback: /* @__PURE__ */ L(Ut, {}),
179
- children: /* @__PURE__ */ R(Nt, { children: [
180
- /* @__PURE__ */ L(I, {
164
+ var Yt = F(() => import("./DashboardPage-DIKlXde3.js")), Xt = F(() => import("./OrdersListPage-CAMsuUck.js")), Zt = F(() => import("./OrderDetailsPage-zCj0lW0j.js")), V = F(() => import("./CreateOrderPage-DRAgGo9i.js")), Qt = F(() => import("./TrackingPage-DaNEFG_h.js")), $t = F(() => import("./LiveTrackingPage-FAzzlVnX.js")), en = F(() => import("./FleetPage-3ZHsB-TN.js")), tn = F(() => import("./VehiclesPage-BFw13iMt.js")), H = F(() => import("./VehicleDetailsPage-DldYNsYV.js")), nn = F(() => import("./DriversPage-PYmdFiby.js")), U = F(() => import("./DriverDetailsPage-BQrYd_Lp.js")), rn = F(() => import("./InventoryPage-DpiqVu1v.js")), an = F(() => import("./ProductsPage-DC5qDLfz.js")), W = F(() => import("./ProductDetailsPage-wsxAQkA0.js")), on = F(() => import("./WarehousesPage-Wkytnt86.js")), G = F(() => import("./WarehouseDetailsPage-CMG7or6G.js")), sn = F(() => import("./CustomersPage-CaNBMXmM.js")), K = F(() => import("./CustomerDetailsPage-BCeMmOFe.js")), cn = F(() => import("./RoutesPage-Dtc669yc.js")), q = F(() => import("./RouteDetailsPage-DyMJE9AS.js")), ln = F(() => import("./AnalyticsPage-CMpI1070.js")), un = F(() => import("./FinancePage-Cwh9Bw4M.js")), dn = F(() => import("./MarketplacePage-Bh_2ns4v.js")), fn = F(() => import("./ImportExportPage-C6f7DqhM.js")), pn = F(() => import("./ReportsPage-BwUJ37eO.js")), mn = F(() => import("./SettingsPage-CpH9xhQg.js")), hn = F(() => import("./AIAssistantPage-3YOnHO9Y.js"));
165
+ function gn() {
166
+ return /* @__PURE__ */ R(Rt, {
167
+ fallback: /* @__PURE__ */ R(Jt, {}),
168
+ children: /* @__PURE__ */ z(zt, { children: [
169
+ /* @__PURE__ */ R(L, {
181
170
  index: !0,
182
- element: /* @__PURE__ */ L(Wt, {})
171
+ element: /* @__PURE__ */ R(Yt, {})
183
172
  }),
184
- /* @__PURE__ */ L(I, {
173
+ /* @__PURE__ */ R(L, {
185
174
  path: "orders",
186
- element: /* @__PURE__ */ L(Gt, {})
175
+ element: /* @__PURE__ */ R(Xt, {})
187
176
  }),
188
- /* @__PURE__ */ L(I, {
177
+ /* @__PURE__ */ R(L, {
189
178
  path: "orders/new",
190
- element: /* @__PURE__ */ L(B, {})
179
+ element: /* @__PURE__ */ R(V, {})
191
180
  }),
192
- /* @__PURE__ */ L(I, {
181
+ /* @__PURE__ */ R(L, {
193
182
  path: "orders/:orderId",
194
- element: /* @__PURE__ */ L(Kt, {})
183
+ element: /* @__PURE__ */ R(Zt, {})
195
184
  }),
196
- /* @__PURE__ */ L(I, {
185
+ /* @__PURE__ */ R(L, {
197
186
  path: "orders/:orderId/edit",
198
- element: /* @__PURE__ */ L(B, {})
187
+ element: /* @__PURE__ */ R(V, {})
199
188
  }),
200
- /* @__PURE__ */ L(I, {
189
+ /* @__PURE__ */ R(L, {
201
190
  path: "tracking",
202
- element: /* @__PURE__ */ L(qt, {})
191
+ element: /* @__PURE__ */ R(Qt, {})
203
192
  }),
204
- /* @__PURE__ */ L(I, {
193
+ /* @__PURE__ */ R(L, {
205
194
  path: "tracking/live",
206
- element: /* @__PURE__ */ L(Jt, {})
195
+ element: /* @__PURE__ */ R($t, {})
207
196
  }),
208
- /* @__PURE__ */ L(I, {
197
+ /* @__PURE__ */ R(L, {
209
198
  path: "fleet",
210
- element: /* @__PURE__ */ L(Yt, {})
199
+ element: /* @__PURE__ */ R(en, {})
211
200
  }),
212
- /* @__PURE__ */ L(I, {
201
+ /* @__PURE__ */ R(L, {
213
202
  path: "fleet/vehicles",
214
- element: /* @__PURE__ */ L(Xt, {})
203
+ element: /* @__PURE__ */ R(tn, {})
215
204
  }),
216
- /* @__PURE__ */ L(I, {
205
+ /* @__PURE__ */ R(L, {
217
206
  path: "fleet/vehicles/new",
218
- element: /* @__PURE__ */ L(V, {})
207
+ element: /* @__PURE__ */ R(H, {})
219
208
  }),
220
- /* @__PURE__ */ L(I, {
209
+ /* @__PURE__ */ R(L, {
221
210
  path: "fleet/vehicles/:vehicleId",
222
- element: /* @__PURE__ */ L(V, {})
211
+ element: /* @__PURE__ */ R(H, {})
223
212
  }),
224
- /* @__PURE__ */ L(I, {
213
+ /* @__PURE__ */ R(L, {
225
214
  path: "fleet/drivers",
226
- element: /* @__PURE__ */ L(Zt, {})
215
+ element: /* @__PURE__ */ R(nn, {})
227
216
  }),
228
- /* @__PURE__ */ L(I, {
217
+ /* @__PURE__ */ R(L, {
229
218
  path: "fleet/drivers/new",
230
- element: /* @__PURE__ */ L(H, {})
219
+ element: /* @__PURE__ */ R(U, {})
231
220
  }),
232
- /* @__PURE__ */ L(I, {
221
+ /* @__PURE__ */ R(L, {
233
222
  path: "fleet/drivers/:driverId",
234
- element: /* @__PURE__ */ L(H, {})
223
+ element: /* @__PURE__ */ R(U, {})
235
224
  }),
236
- /* @__PURE__ */ L(I, {
225
+ /* @__PURE__ */ R(L, {
237
226
  path: "inventory",
238
- element: /* @__PURE__ */ L(Qt, {})
227
+ element: /* @__PURE__ */ R(rn, {})
239
228
  }),
240
- /* @__PURE__ */ L(I, {
229
+ /* @__PURE__ */ R(L, {
241
230
  path: "inventory/products",
242
- element: /* @__PURE__ */ L($t, {})
231
+ element: /* @__PURE__ */ R(an, {})
243
232
  }),
244
- /* @__PURE__ */ L(I, {
233
+ /* @__PURE__ */ R(L, {
245
234
  path: "inventory/products/new",
246
- element: /* @__PURE__ */ L(U, {})
235
+ element: /* @__PURE__ */ R(W, {})
247
236
  }),
248
- /* @__PURE__ */ L(I, {
237
+ /* @__PURE__ */ R(L, {
249
238
  path: "inventory/products/:productId",
250
- element: /* @__PURE__ */ L(U, {})
239
+ element: /* @__PURE__ */ R(W, {})
251
240
  }),
252
- /* @__PURE__ */ L(I, {
241
+ /* @__PURE__ */ R(L, {
253
242
  path: "inventory/warehouses",
254
- element: /* @__PURE__ */ L(en, {})
243
+ element: /* @__PURE__ */ R(on, {})
255
244
  }),
256
- /* @__PURE__ */ L(I, {
245
+ /* @__PURE__ */ R(L, {
257
246
  path: "inventory/warehouses/new",
258
- element: /* @__PURE__ */ L(W, {})
247
+ element: /* @__PURE__ */ R(G, {})
259
248
  }),
260
- /* @__PURE__ */ L(I, {
249
+ /* @__PURE__ */ R(L, {
261
250
  path: "inventory/warehouses/:warehouseId",
262
- element: /* @__PURE__ */ L(W, {})
251
+ element: /* @__PURE__ */ R(G, {})
263
252
  }),
264
- /* @__PURE__ */ L(I, {
253
+ /* @__PURE__ */ R(L, {
265
254
  path: "customers",
266
- element: /* @__PURE__ */ L(tn, {})
255
+ element: /* @__PURE__ */ R(sn, {})
267
256
  }),
268
- /* @__PURE__ */ L(I, {
257
+ /* @__PURE__ */ R(L, {
269
258
  path: "customers/new",
270
- element: /* @__PURE__ */ L(G, {})
259
+ element: /* @__PURE__ */ R(K, {})
271
260
  }),
272
- /* @__PURE__ */ L(I, {
261
+ /* @__PURE__ */ R(L, {
273
262
  path: "customers/:customerId",
274
- element: /* @__PURE__ */ L(G, {})
263
+ element: /* @__PURE__ */ R(K, {})
275
264
  }),
276
- /* @__PURE__ */ L(I, {
265
+ /* @__PURE__ */ R(L, {
277
266
  path: "routes",
278
- element: /* @__PURE__ */ L(nn, {})
267
+ element: /* @__PURE__ */ R(cn, {})
279
268
  }),
280
- /* @__PURE__ */ L(I, {
269
+ /* @__PURE__ */ R(L, {
281
270
  path: "routes/new",
282
- element: /* @__PURE__ */ L(K, {})
271
+ element: /* @__PURE__ */ R(q, {})
283
272
  }),
284
- /* @__PURE__ */ L(I, {
273
+ /* @__PURE__ */ R(L, {
285
274
  path: "routes/:routeId",
286
- element: /* @__PURE__ */ L(K, {})
275
+ element: /* @__PURE__ */ R(q, {})
287
276
  }),
288
- /* @__PURE__ */ L(I, {
277
+ /* @__PURE__ */ R(L, {
289
278
  path: "analytics",
290
- element: /* @__PURE__ */ L(rn, {})
279
+ element: /* @__PURE__ */ R(ln, {})
291
280
  }),
292
- /* @__PURE__ */ L(I, {
281
+ /* @__PURE__ */ R(L, {
293
282
  path: "finance",
294
- element: /* @__PURE__ */ L(an, {})
283
+ element: /* @__PURE__ */ R(un, {})
295
284
  }),
296
- /* @__PURE__ */ L(I, {
285
+ /* @__PURE__ */ R(L, {
297
286
  path: "marketplace",
298
- element: /* @__PURE__ */ L(on, {})
287
+ element: /* @__PURE__ */ R(dn, {})
299
288
  }),
300
- /* @__PURE__ */ L(I, {
289
+ /* @__PURE__ */ R(L, {
301
290
  path: "import-export",
302
- element: /* @__PURE__ */ L(sn, {})
291
+ element: /* @__PURE__ */ R(fn, {})
303
292
  }),
304
- /* @__PURE__ */ L(I, {
293
+ /* @__PURE__ */ R(L, {
305
294
  path: "reports",
306
- element: /* @__PURE__ */ L(q, {})
295
+ element: /* @__PURE__ */ R(pn, {})
307
296
  }),
308
- /* @__PURE__ */ L(I, {
297
+ /* @__PURE__ */ R(L, {
309
298
  path: "ai-assistant",
310
- element: /* @__PURE__ */ L(ln, {})
299
+ element: /* @__PURE__ */ R(hn, {})
311
300
  }),
312
- /* @__PURE__ */ L(I, {
301
+ /* @__PURE__ */ R(L, {
313
302
  path: "settings",
314
- element: /* @__PURE__ */ L(cn, {})
303
+ element: /* @__PURE__ */ R(mn, {})
315
304
  }),
316
- /* @__PURE__ */ L(I, {
305
+ /* @__PURE__ */ R(L, {
317
306
  path: "*",
318
- element: /* @__PURE__ */ L(Ht, {})
307
+ element: /* @__PURE__ */ R(qt, {})
319
308
  })
320
309
  ] })
321
310
  });
322
311
  }
323
312
  //#endregion
324
313
  //#region src/movethewheels/MoveTheWheelsRoot.tsx
325
- var dn = (e) => {
314
+ var _n = (e) => {
326
315
  let { registerNavItems: t, registerFooterItems: n, basePath: r = "/" } = e, i = (e, t) => (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
327
- return F(() => {
316
+ return I(() => {
328
317
  if (t) return t({
329
318
  id: "movethewheels",
330
319
  label: "MoveTheWheels",
331
320
  path: r,
332
- icon: /* @__PURE__ */ L(M, { size: 20 }),
321
+ icon: /* @__PURE__ */ R(M, { size: 20 }),
333
322
  order: 25,
334
323
  group: "workspace",
335
324
  children: [
@@ -337,49 +326,49 @@ var dn = (e) => {
337
326
  id: "mtw-dashboard",
338
327
  label: "Dashboard",
339
328
  path: r,
340
- icon: /* @__PURE__ */ L(z, { size: 16 }),
329
+ icon: /* @__PURE__ */ R(B, { size: 16 }),
341
330
  order: 1
342
331
  },
343
332
  {
344
333
  id: "mtw-orders",
345
334
  label: "Orders",
346
335
  path: i(r, "orders"),
347
- icon: /* @__PURE__ */ L(ze, { size: 16 }),
336
+ icon: /* @__PURE__ */ R(Ue, { size: 16 }),
348
337
  order: 2
349
338
  },
350
339
  {
351
340
  id: "mtw-tracking",
352
341
  label: "Tracking",
353
342
  path: i(r, "tracking"),
354
- icon: /* @__PURE__ */ L(Re, { size: 16 }),
343
+ icon: /* @__PURE__ */ R(He, { size: 16 }),
355
344
  order: 3
356
345
  },
357
346
  {
358
347
  id: "mtw-fleet",
359
348
  label: "Fleet",
360
349
  path: i(r, "fleet"),
361
- icon: /* @__PURE__ */ L(M, { size: 16 }),
350
+ icon: /* @__PURE__ */ R(M, { size: 16 }),
362
351
  order: 4,
363
352
  children: [
364
353
  {
365
354
  id: "mtw-fleet-overview",
366
355
  label: "Overview",
367
356
  path: i(r, "fleet"),
368
- icon: /* @__PURE__ */ L(z, { size: 14 }),
357
+ icon: /* @__PURE__ */ R(B, { size: 14 }),
369
358
  order: 1
370
359
  },
371
360
  {
372
361
  id: "mtw-vehicles",
373
362
  label: "Vehicles",
374
363
  path: i(r, "fleet/vehicles"),
375
- icon: /* @__PURE__ */ L(Bt, { size: 14 }),
364
+ icon: /* @__PURE__ */ R(Kt, { size: 14 }),
376
365
  order: 2
377
366
  },
378
367
  {
379
368
  id: "mtw-drivers",
380
369
  label: "Drivers",
381
370
  path: i(r, "fleet/drivers"),
382
- icon: /* @__PURE__ */ L(Vt, { size: 14 }),
371
+ icon: /* @__PURE__ */ R(Ge, { size: 14 }),
383
372
  order: 3
384
373
  }
385
374
  ]
@@ -388,28 +377,28 @@ var dn = (e) => {
388
377
  id: "mtw-inventory",
389
378
  label: "Inventory",
390
379
  path: i(r, "inventory"),
391
- icon: /* @__PURE__ */ L(N, { size: 16 }),
380
+ icon: /* @__PURE__ */ R(N, { size: 16 }),
392
381
  order: 5,
393
382
  children: [
394
383
  {
395
384
  id: "mtw-inventory-overview",
396
385
  label: "Overview",
397
386
  path: i(r, "inventory"),
398
- icon: /* @__PURE__ */ L(z, { size: 14 }),
387
+ icon: /* @__PURE__ */ R(B, { size: 14 }),
399
388
  order: 1
400
389
  },
401
390
  {
402
391
  id: "mtw-products",
403
392
  label: "Products",
404
393
  path: i(r, "inventory/products"),
405
- icon: /* @__PURE__ */ L(zt, { size: 14 }),
394
+ icon: /* @__PURE__ */ R(Gt, { size: 14 }),
406
395
  order: 2
407
396
  },
408
397
  {
409
398
  id: "mtw-warehouses",
410
399
  label: "Warehouses",
411
400
  path: i(r, "inventory/warehouses"),
412
- icon: /* @__PURE__ */ L(N, { size: 14 }),
401
+ icon: /* @__PURE__ */ R(N, { size: 14 }),
413
402
  order: 3
414
403
  }
415
404
  ]
@@ -418,68 +407,68 @@ var dn = (e) => {
418
407
  id: "mtw-customers",
419
408
  label: "Customers",
420
409
  path: i(r, "customers"),
421
- icon: /* @__PURE__ */ L(Ve, { size: 16 }),
410
+ icon: /* @__PURE__ */ R(Ke, { size: 16 }),
422
411
  order: 6
423
412
  },
424
413
  {
425
414
  id: "mtw-routes",
426
415
  label: "Routes",
427
416
  path: i(r, "routes"),
428
- icon: /* @__PURE__ */ L(ke, { size: 16 }),
417
+ icon: /* @__PURE__ */ R(ke, { size: 16 }),
429
418
  order: 7
430
419
  },
431
420
  {
432
421
  id: "mtw-analytics",
433
422
  label: "Analytics",
434
423
  path: i(r, "analytics"),
435
- icon: /* @__PURE__ */ L(Me, { size: 16 }),
424
+ icon: /* @__PURE__ */ R(Me, { size: 16 }),
436
425
  order: 8
437
426
  },
438
427
  {
439
428
  id: "mtw-finance",
440
429
  label: "Finance",
441
430
  path: i(r, "finance"),
442
- icon: /* @__PURE__ */ L(Ne, { size: 16 }),
431
+ icon: /* @__PURE__ */ R(Ne, { size: 16 }),
443
432
  order: 9
444
433
  },
445
434
  {
446
435
  id: "mtw-marketplace",
447
436
  label: "Marketplace",
448
437
  path: i(r, "marketplace"),
449
- icon: /* @__PURE__ */ L(Be, { size: 16 }),
438
+ icon: /* @__PURE__ */ R(We, { size: 16 }),
450
439
  order: 10
451
440
  },
452
441
  {
453
442
  id: "mtw-import-export",
454
443
  label: "Import/Export",
455
444
  path: i(r, "import-export"),
456
- icon: /* @__PURE__ */ L(Ie, { size: 16 }),
445
+ icon: /* @__PURE__ */ R(Re, { size: 16 }),
457
446
  order: 11
458
447
  },
459
448
  {
460
449
  id: "mtw-reports",
461
450
  label: "Reports",
462
451
  path: i(r, "reports"),
463
- icon: /* @__PURE__ */ L(Pe, { size: 16 }),
452
+ icon: /* @__PURE__ */ R(Ie, { size: 16 }),
464
453
  order: 12
465
454
  },
466
455
  {
467
456
  id: "mtw-ai-assistant",
468
457
  label: "AI Assistant",
469
458
  path: i(r, "ai-assistant"),
470
- icon: /* @__PURE__ */ L(Ae, { size: 16 }),
459
+ icon: /* @__PURE__ */ R(Ae, { size: 16 }),
471
460
  order: 13
472
461
  },
473
462
  {
474
463
  id: "mtw-settings",
475
464
  label: "Settings",
476
465
  path: i(r, "settings"),
477
- icon: /* @__PURE__ */ L(Fe, { size: 16 }),
466
+ icon: /* @__PURE__ */ R(Le, { size: 16 }),
478
467
  order: 99
479
468
  }
480
469
  ]
481
470
  });
482
- }, [t, r]), F(() => {
471
+ }, [t, r]), I(() => {
483
472
  if (n) return n([{
484
473
  id: "mtw-status",
485
474
  label: "Logistics Ready",
@@ -487,22 +476,22 @@ var dn = (e) => {
487
476
  order: 20,
488
477
  section: "left"
489
478
  }]);
490
- }, [n]), /* @__PURE__ */ L(Ft, {
479
+ }, [n]), /* @__PURE__ */ R(Vt, {
491
480
  workspaceId: null,
492
481
  gateway: "global",
493
482
  defaultEnabled: !0,
494
- children: /* @__PURE__ */ L(de, {
483
+ children: /* @__PURE__ */ R(de, {
495
484
  ...e,
496
- children: /* @__PURE__ */ L("div", {
485
+ children: /* @__PURE__ */ R("div", {
497
486
  className: "movethewheels-root h-full",
498
- children: /* @__PURE__ */ L(un, {})
487
+ children: /* @__PURE__ */ R(gn, {})
499
488
  })
500
489
  })
501
490
  });
502
491
  }, J = (e) => !!e.dispatchFromDevtools && typeof e.dispatch == "function", Y = /* @__PURE__ */ new Map(), X = (e) => {
503
492
  let t = Y.get(e);
504
493
  return t ? Object.fromEntries(Object.entries(t.stores).map(([e, t]) => [e, t.getState()])) : {};
505
- }, fn = (e, t, n) => {
494
+ }, vn = (e, t, n) => {
506
495
  if (e === void 0) return {
507
496
  type: "untracked",
508
497
  connection: t.connect(n)
@@ -522,29 +511,29 @@ var dn = (e) => {
522
511
  store: e,
523
512
  ...i
524
513
  };
525
- }, pn = (e, t) => {
514
+ }, yn = (e, t) => {
526
515
  if (t === void 0) return;
527
516
  let n = Y.get(e);
528
517
  n && (delete n.stores[t], Object.keys(n.stores).length === 0 && Y.delete(e));
529
- }, mn = /.+ (.+) .+/, hn = /^([^@]+)@/;
530
- function gn(e) {
518
+ }, bn = /.+ (.+) .+/, xn = /^([^@]+)@/;
519
+ function Sn(e) {
531
520
  if (!e) return;
532
521
  let t = e.split("\n"), n = t.findIndex((e) => e.includes("api.setState"));
533
522
  if (n < 0) return;
534
523
  let r = t[n + 1]?.trim() || "";
535
- return mn.exec(r)?.[1] || hn.exec(r)?.[1];
524
+ return bn.exec(r)?.[1] || xn.exec(r)?.[1];
536
525
  }
537
- var _n = (e, t = {}) => (n, r, i) => {
526
+ var Cn = (e, t = {}) => (n, r, i) => {
538
527
  let { enabled: a, anonymousActionType: o, store: s, ...c } = t, l;
539
528
  try {
540
529
  l = (a ?? !1) && window.__REDUX_DEVTOOLS_EXTENSION__;
541
530
  } catch {}
542
531
  if (!l) return e(n, r, i);
543
- let { connection: u, ...d } = fn(s, l, c), f = !0;
532
+ let { connection: u, ...d } = vn(s, l, c), f = !0;
544
533
  i.setState = ((e, t, a) => {
545
534
  let l = n(e, t);
546
535
  if (!f) return l;
547
- let d = a === void 0 ? { type: o || gn((/* @__PURE__ */ Error()).stack) || "anonymous" } : typeof a == "string" ? { type: a } : a;
536
+ let d = a === void 0 ? { type: o || Sn((/* @__PURE__ */ Error()).stack) || "anonymous" } : typeof a == "string" ? { type: a } : a;
548
537
  return s === void 0 ? (u?.send(d, r()), l) : (u?.send({
549
538
  ...d,
550
539
  type: `${s}/${d.type}`
@@ -553,7 +542,7 @@ var _n = (e, t = {}) => (n, r, i) => {
553
542
  [s]: i.getState()
554
543
  }), l);
555
544
  }), i.devtools = { cleanup: () => {
556
- u && typeof u.unsubscribe == "function" && u.unsubscribe(), pn(c.name, s);
545
+ u && typeof u.unsubscribe == "function" && u.unsubscribe(), yn(c.name, s);
557
546
  } };
558
547
  let p = (...e) => {
559
548
  let t = f;
@@ -630,7 +619,7 @@ var _n = (e, t = {}) => (n, r, i) => {
630
619
  }
631
620
  n !== void 0 && t(n);
632
621
  };
633
- function vn(e, t) {
622
+ function wn(e, t) {
634
623
  let n;
635
624
  try {
636
625
  n = e();
@@ -667,9 +656,9 @@ var Q = (e) => (t) => {
667
656
  }
668
657
  };
669
658
  }
670
- }, yn = (e, t) => (n, r, i) => {
659
+ }, Tn = (e, t) => (n, r, i) => {
671
660
  let a = {
672
- storage: vn(() => window.localStorage),
661
+ storage: wn(() => window.localStorage),
673
662
  partialize: (e) => e,
674
663
  version: 0,
675
664
  merge: (e, t) => ({
@@ -749,7 +738,7 @@ var Q = (e) => (t) => {
749
738
  inventoryFilters: {},
750
739
  customerFilters: {},
751
740
  globalSearch: ""
752
- }, bn = Lt()(_n(yn((e) => ({
741
+ }, En = Ut()(Cn(Tn((e) => ({
753
742
  ...$,
754
743
  setViewMode: (t) => e({ viewMode: t }),
755
744
  setSidebarCollapsed: (t) => e({ sidebarCollapsed: t }),
@@ -786,11 +775,11 @@ var Q = (e) => (t) => {
786
775
  reset: () => e($)
787
776
  }), {
788
777
  name: "movethewheels-storage",
789
- storage: Rt(),
778
+ storage: Wt(),
790
779
  partialize: (e) => ({
791
780
  viewMode: e.viewMode,
792
781
  sidebarCollapsed: e.sidebarCollapsed
793
782
  })
794
783
  }), { name: "MoveTheWheelsStore" }));
795
784
  //#endregion
796
- export { S as Avatar, D as AvatarFallback, pe as AvatarImage, Se as Badge, j as Button, me as Card, ge as CardContent, w as CardDescription, y as CardFooter, ve as CardHeader, _e as CardTitle, le as Checkbox, Oe as DataTable, Ce as Dialog, Ee as DialogContent, fe as DialogDescription, Te as DialogFooter, te as DialogHeader, r as DialogTitle, we as DialogTrigger, ne as DropdownMenu, a as DropdownMenuContent, i as DropdownMenuItem, h as DropdownMenuSeparator, xe as DropdownMenuTrigger, k as EmptyState, b as ErrorState, t as Input, be as Label, E as LoadingState, Et as MetricCard, wt as MetricCardSkeleton, Tt as MetricGrid, dn as MoveTheWheelsRoot, ye as PageLayout, ue as PageSection, jt as PaymentStatusBadge, kt as PriorityBadge, p as Progress, m as ScrollArea, g as Select, o as SelectContent, l as SelectItem, f as SelectTrigger, ee as SelectValue, De as Separator, n as Skeleton, At as StatusBadge, ie as Switch, c as Table, re as TableBody, ae as TableCell, s as TableHead, d as TableHeader, T as TableRow, u as Tabs, se as TabsContent, oe as TabsList, ce as TabsTrigger, _ as Textarea, e as Tooltip, he as TooltipContent, A as TooltipProvider, x as TooltipTrigger, Ot as TypeBadge, Dt as VehicleTypeBadge, mt as useAnalytics, je as useAssistant, at as useCustomer, rt as useCustomerStats, it as useCustomers, dt as useDashboardMetrics, Xe as useDriver, xt as useDriverTracking, qe as useDrivers, Ye as useFleet, pt as useFleetAnalytics, Ke as useFleetStats, _t as useGeofence, Ct as useImportExport, nt as useInventory, $e as useInventoryStats, yt as useLiveTracking, Le as useModuleSettings, C as useMoveTheWheels, O as useMoveTheWheelsNavigate, bn as useMoveTheWheelsStore, We as useOrder, ut as useOrderAnalytics, He as useOrderStats, gt as useOrderTracking, Ue as useOrders, lt as usePerformanceAnalytics, tt as useProduct, Qe as useProducts, St as useReports, ft as useRevenueAnalytics, ct as useRoute, ot as useRouteStats, st as useRoutes, ht as useTracking, vt as useTrackingAlerts, Ge as useVehicle, bt as useVehicleTracking, Je as useVehicles, Ze as useWarehouse, et as useWarehouses };
785
+ export { S as Avatar, D as AvatarFallback, pe as AvatarImage, Se as Badge, j as Button, me as Card, ge as CardContent, w as CardDescription, y as CardFooter, ve as CardHeader, _e as CardTitle, ue as Checkbox, Oe as DataTable, Ce as Dialog, Ee as DialogContent, fe as DialogDescription, Te as DialogFooter, ne as DialogHeader, r as DialogTitle, we as DialogTrigger, Fe as DocumentsCard, re as DropdownMenu, a as DropdownMenuContent, i as DropdownMenuItem, h as DropdownMenuSeparator, xe as DropdownMenuTrigger, k as EmptyState, b as ErrorState, Lt as FormError, t as Input, be as Label, E as LoadingState, jt as MetricCard, kt as MetricCardSkeleton, At as MetricGrid, _n as MoveTheWheelsRoot, Ve as Notice, ye as PageLayout, _ as PageSection, It as PaymentStatusBadge, Pt as PriorityBadge, p as Progress, m as ScrollArea, g as Select, o as SelectContent, l as SelectItem, f as SelectTrigger, te as SelectValue, De as Separator, n as Skeleton, Ft as StatusBadge, ae as Switch, c as Table, ie as TableBody, oe as TableCell, s as TableHead, d as TableHeader, T as TableRow, u as Tabs, ce as TabsContent, se as TabsList, le as TabsTrigger, ee as Textarea, e as Tooltip, he as TooltipContent, A as TooltipProvider, x as TooltipTrigger, Nt as TypeBadge, Mt as VehicleTypeBadge, bt as useAnalytics, je as useAssistant, ut as useCustomer, ct as useCustomerStats, lt as useCustomers, gt as useDashboardMetrics, tt as useDriver, Et as useDriverTracking, Qe as useDrivers, Pe as useEntityDocuments, vt as useFinanceMetrics, et as useFleet, ht as useFleetAnalytics, Ze as useFleetStats, Ct as useGeofence, Ot as useImportExport, st as useInventory, it as useInventoryStats, Tt as useLiveTracking, ze as useModuleSettings, C as useMoveTheWheels, O as useMoveTheWheelsNavigate, En as useMoveTheWheelsStore, Be as useNotice, Ye as useOrder, mt as useOrderAnalytics, qe as useOrderStats, St as useOrderTracking, Je as useOrders, _t as usePerformanceAnalytics, ot as useProduct, nt as useProducts, Dt as useReports, yt as useRevenueAnalytics, pt as useRoute, dt as useRouteStats, ft as useRoutes, xt as useTracking, wt as useTrackingAlerts, Xe as useVehicle, P as useVehicleTracking, $e as useVehicles, at as useWarehouse, rt as useWarehouses };