@burdenoff/microfe-movethewheels 2026.703.4 → 2026.703.5

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 (149) hide show
  1. package/dist/{AIAssistantPage-3YOnHO9Y.js → AIAssistantPage-D2gaEL1U.js} +16 -15
  2. package/dist/AnalyticsPage-DZMlEoBi.js +194 -0
  3. package/dist/{CreateOrderPage-DRAgGo9i.js → CreateOrderPage-CWHx8yys.js} +40 -40
  4. package/dist/{CustomerDetailsPage-BCeMmOFe.js → CustomerDetailsPage-nR4oZ_ju.js} +71 -71
  5. package/dist/CustomersPage-Bbvwvn8k.js +205 -0
  6. package/dist/DashboardPage-DrEhNf7N.js +542 -0
  7. package/dist/{DataTable-XvUcTjwi.js → DataTable-CqMUD4er.js} +31 -31
  8. package/dist/{DocumentsCard-U2lSe-cn.js → DocumentsCard-edDkgnJj.js} +25 -25
  9. package/dist/{DriverDetailsPage-BQrYd_Lp.js → DriverDetailsPage-whEMOWs9.js} +64 -64
  10. package/dist/DriversPage-CHF2ZEzd.js +221 -0
  11. package/dist/FinancePage-Dn9GrW-1.js +175 -0
  12. package/dist/{FleetPage-3ZHsB-TN.js → FleetPage-CrtGPy-p.js} +22 -22
  13. package/dist/{FormError-cuLV2jVD.js → FormError-BKcb_wT-.js} +1 -1
  14. package/dist/{ImportExportPage-C6f7DqhM.js → ImportExportPage-WYdwZomZ.js} +12 -12
  15. package/dist/InventoryPage-l5A1f753.js +259 -0
  16. package/dist/LiveTrackingPage-DhEaNKZ4.js +429 -0
  17. package/dist/{MarketplacePage-Bh_2ns4v.js → MarketplacePage-B9RYOb1Y.js} +116 -116
  18. package/dist/MetricCard-y3bWHKUQ.js +191 -0
  19. package/dist/{Notice-CSoDYKw9.js → Notice-DOO-tjpV.js} +2 -2
  20. package/dist/{OrderDetailsPage-zCj0lW0j.js → OrderDetailsPage-CwYHwk1K.js} +58 -58
  21. package/dist/OrdersListPage-DhZJoQeI.js +386 -0
  22. package/dist/{PageLayout-D4LDHJJq.js → PageLayout-BniRJaQ6.js} +1 -1
  23. package/dist/{ProductDetailsPage-wsxAQkA0.js → ProductDetailsPage-1Gm9JKy0.js} +55 -55
  24. package/dist/ProductsPage-C8sn-1tN.js +186 -0
  25. package/dist/ReportsPage-D1tb0dcz.js +377 -0
  26. package/dist/{RouteDetailsPage-DyMJE9AS.js → RouteDetailsPage-CkMyR9b_.js} +208 -181
  27. package/dist/{RoutesPage-Dtc669yc.js → RoutesPage-QkENzsE5.js} +12 -12
  28. package/dist/{SettingsPage-CpH9xhQg.js → SettingsPage-DV3_tU_X.js} +15 -15
  29. package/dist/Sparkline-K2RMJ58u.js +16729 -0
  30. package/dist/{StatusBadge-C87mDpDP.js → StatusBadge-BNHXYvZx.js} +7 -7
  31. package/dist/TrackingPage-BZrg4RCu.js +368 -0
  32. package/dist/{VehicleDetailsPage-DldYNsYV.js → VehicleDetailsPage-D-8XPZ2G.js} +53 -53
  33. package/dist/VehiclesPage-D5BELbtM.js +184 -0
  34. package/dist/{WarehouseDetailsPage-CMG7or6G.js → WarehouseDetailsPage-Cmg-8Frn.js} +64 -64
  35. package/dist/WarehousesPage-C1Y1M867.js +182 -0
  36. package/dist/{arrow-left-n48Y-Wis.js → arrow-left-ClW4Isj7.js} +1 -1
  37. package/dist/{arrow-right-Q3XQpTPR.js → arrow-right-CmKOmIkh.js} +1 -1
  38. package/dist/{arrow-up-xNF1zJUG.js → arrow-up-BJijRLAZ.js} +1 -1
  39. package/dist/{box-Eu05PXDh.js → box-BT3NsRQP.js} +1 -1
  40. package/dist/boxes-B_OGvQiW.js +54 -0
  41. package/dist/{chart-column-ouzgxIv_.js → chart-column-DQTTdUPk.js} +1 -1
  42. package/dist/charts-Tj_PPTfA.js +2018 -0
  43. package/dist/{chevron-left-B2_r0Elx.js → chevron-left-B1rZyWWb.js} +1 -1
  44. package/dist/{chevron-right-eV4LjaSi.js → chevron-right-BIcwUJZq.js} +1 -1
  45. package/dist/chunk-BdsCSvBP.js +20 -0
  46. package/dist/{circle-alert-Bzh2DBSF.js → circle-alert-CNkuDNc6.js} +1 -1
  47. package/dist/circle-check-Cs1OVjtV.js +13 -0
  48. package/dist/{circle-check-big-CGMSpQmD.js → circle-check-big-C-p4eNwn.js} +1 -1
  49. package/dist/{clock-Bl3ptexL.js → clock-dRGG4rkF.js} +1 -1
  50. package/dist/{dollar-sign-CAVU95SO.js → dollar-sign-B6RoYHHz.js} +1 -1
  51. package/dist/{download-C5NbvVDc.js → download-DP04iWTd.js} +1 -1
  52. package/dist/{file-text-D-1uvLZG.js → file-text-BuDx4hZp.js} +1 -1
  53. package/dist/{filter-DUfUg6BO.js → filter-BD483_8g.js} +1 -1
  54. package/dist/{fuel-B6_lnKDs.js → fuel-DLH1ag04.js} +1 -1
  55. package/dist/index.css +2 -0
  56. package/dist/index.js +214 -225
  57. package/dist/{map-C-M-FQLR.js → map-DNQn9fyY.js} +1 -1
  58. package/dist/{map-pin-Dznl5l40.js → map-pin-CqN1bbT1.js} +1 -1
  59. package/dist/mapMarkers-NCV9MRKR.js +28 -0
  60. package/dist/maps-yzLqiK_C.js +5070 -0
  61. package/dist/{navigation-BJSJl-VG.js → navigation-CgGUt2tR.js} +1 -1
  62. package/dist/{package-CcRttV2N.js → package-DmRF7iQD.js} +1 -1
  63. package/dist/{phone-DVSZHt_j.js → phone-Cl32EXKW.js} +1 -1
  64. package/dist/{plus-C_XZDwBz.js → plus-DlANgOFx.js} +1 -1
  65. package/dist/{refresh-cw-CfgN67l3.js → refresh-cw-rW59D4b7.js} +1 -1
  66. package/dist/route-CWjPrtAN.js +22 -0
  67. package/dist/{save-DJE8Fpdv.js → save-UDlog7hg.js} +1 -1
  68. package/dist/{search-D_VyGcZT.js → search-DNIG5Ck7.js} +1 -1
  69. package/dist/{square-pen-D-6JYrVQ.js → square-pen-BcfB3Grd.js} +1 -1
  70. package/dist/{star-BpRlUZuU.js → star-CVZHFwDx.js} +1 -1
  71. package/dist/{store-B-8HMuyZ.js → store-bwnmCK9f.js} +1 -1
  72. package/dist/{trash-2-8vmv-XV_.js → trash-2-B80G12d4.js} +1 -1
  73. package/dist/{trending-up-Dz6PqPRj.js → trending-up-CH4R4KOa.js} +1 -1
  74. package/dist/{triangle-alert-D7Y3J_4z.js → triangle-alert-CmS8AUU6.js} +1 -1
  75. package/dist/{truck-D-y2IDzv.js → truck-9rLDncav.js} +1 -1
  76. package/dist/{upload-CHZofOqb.js → upload-DanJY1Vo.js} +1 -1
  77. package/dist/{useAssistant-DVW4QgQb.js → useAssistant-CnEwkTLm.js} +11 -28
  78. package/dist/{useCustomers-BPW4__PR.js → useCustomers-ChJao1ET.js} +1 -1
  79. package/dist/{useFleet-ChBkxAd6.js → useFleet-g5Yri0G8.js} +1 -1
  80. package/dist/{useImportExport-DrPDHEDK.js → useImportExport-MYwIT3rE.js} +1 -1
  81. package/dist/{useInventory-CAAVMRp6.js → useInventory-BSOn-R1c.js} +1 -1
  82. package/dist/{useOrders-B465S2nt.js → useOrders-BSiqo61w.js} +1 -1
  83. package/dist/{useReports-jQ3GpNOm.js → useReports-fWESfsF9.js} +1 -1
  84. package/dist/{useRoutes-hS3d5-xr.js → useRoutes-zD8Yp323.js} +1 -1
  85. package/dist/{useSettings-BB8X2RLh.js → useSettings-B1lsWeZ1.js} +6 -6
  86. package/dist/{useTracking-RjGz9PZG.js → useTracking-BKG0I2ln.js} +3 -3
  87. package/dist/{user-DzfTn4dE.js → user-DU51el3m.js} +1 -1
  88. package/dist/{user-check-BEKRCi7v.js → user-check-IMhk-qkX.js} +1 -1
  89. package/dist/{users-CCrq-w0C.js → users-B8KhJBGg.js} +1 -1
  90. package/dist/{warehouse-CaqfmMKh.js → warehouse-CcMMioeY.js} +1 -1
  91. package/dist/{wrench-q_rgJfaP.js → wrench-Dg-sgH2e.js} +1 -1
  92. package/dist/{x-tMeDMcCw.js → x-C4ObLVEa.js} +1 -1
  93. package/package.json +5 -1
  94. package/src/movethewheels/components/GlassPanel.tsx +71 -0
  95. package/src/movethewheels/components/MetricCard.tsx +171 -73
  96. package/src/movethewheels/components/StatusBadge.tsx +7 -6
  97. package/src/movethewheels/components/charts/ChartShell.tsx +78 -0
  98. package/src/movethewheels/components/charts/Sparkline.tsx +85 -0
  99. package/src/movethewheels/components/charts/StatusDonut.tsx +115 -0
  100. package/src/movethewheels/components/charts/TrendChart.tsx +179 -0
  101. package/src/movethewheels/components/charts/VolumeBar.tsx +97 -0
  102. package/src/movethewheels/components/charts/chartTokens.ts +43 -0
  103. package/src/movethewheels/components/charts/index.ts +9 -0
  104. package/src/movethewheels/components/index.ts +44 -1
  105. package/src/movethewheels/components/maps/LogisticsMap.tsx +94 -0
  106. package/src/movethewheels/components/maps/MapCanvas.tsx +118 -0
  107. package/src/movethewheels/components/maps/RouteMap.tsx +71 -0
  108. package/src/movethewheels/components/maps/TrackingMap.tsx +102 -0
  109. package/src/movethewheels/components/maps/index.ts +16 -0
  110. package/src/movethewheels/components/maps/leaflet-setup.ts +124 -0
  111. package/src/movethewheels/components/maps/map-markers.css +121 -0
  112. package/src/movethewheels/hooks/useAnalytics.ts +14 -4
  113. package/src/movethewheels/pages/AnalyticsPage.tsx +93 -73
  114. package/src/movethewheels/pages/CreateOrderPage.tsx +4 -4
  115. package/src/movethewheels/pages/CustomersPage.tsx +29 -20
  116. package/src/movethewheels/pages/DashboardPage.tsx +238 -12
  117. package/src/movethewheels/pages/DriverDetailsPage.tsx +1 -1
  118. package/src/movethewheels/pages/DriversPage.tsx +35 -24
  119. package/src/movethewheels/pages/FinancePage.tsx +68 -30
  120. package/src/movethewheels/pages/InventoryPage.tsx +15 -3
  121. package/src/movethewheels/pages/LiveTrackingPage.tsx +124 -16
  122. package/src/movethewheels/pages/OrdersListPage.tsx +46 -38
  123. package/src/movethewheels/pages/ProductsPage.tsx +28 -24
  124. package/src/movethewheels/pages/ReportsPage.tsx +23 -0
  125. package/src/movethewheels/pages/RouteDetailsPage.tsx +46 -7
  126. package/src/movethewheels/pages/SettingsPage.tsx +2 -2
  127. package/src/movethewheels/pages/TrackingPage.tsx +76 -6
  128. package/src/movethewheels/pages/VehicleDetailsPage.tsx +1 -1
  129. package/src/movethewheels/pages/VehiclesPage.tsx +34 -24
  130. package/src/movethewheels/pages/WarehouseDetailsPage.tsx +1 -1
  131. package/src/movethewheels/pages/WarehousesPage.tsx +28 -22
  132. package/src/movethewheels/types/index.ts +1 -1
  133. package/src/movethewheels/utils/mapMarkers.ts +58 -0
  134. package/dist/AnalyticsPage-CMpI1070.js +0 -215
  135. package/dist/CustomersPage-CaNBMXmM.js +0 -172
  136. package/dist/DashboardPage-DIKlXde3.js +0 -387
  137. package/dist/DriversPage-PYmdFiby.js +0 -176
  138. package/dist/FinancePage-Cwh9Bw4M.js +0 -136
  139. package/dist/InventoryPage-DpiqVu1v.js +0 -253
  140. package/dist/LiveTrackingPage-FAzzlVnX.js +0 -379
  141. package/dist/MetricCard-CVBVpu7o.js +0 -146
  142. package/dist/OrdersListPage-CAMsuUck.js +0 -384
  143. package/dist/ProductsPage-DC5qDLfz.js +0 -180
  144. package/dist/ReportsPage-BwUJ37eO.js +0 -356
  145. package/dist/TrackingPage-DaNEFG_h.js +0 -325
  146. package/dist/VehiclesPage-BFw13iMt.js +0 -176
  147. package/dist/WarehousesPage-Wkytnt86.js +0 -173
  148. package/dist/useAnalytics-D7HW2XRb.js +0 -347
  149. /package/dist/{formatters-BQr-aR5W.js → formatters-FWJDwTFv.js} +0 -0
package/dist/index.js CHANGED
@@ -1,89 +1,45 @@
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";
36
- //#region node_modules/lucide-react/dist/esm/icons/boxes.js
37
- var Gt = v("Boxes", [
38
- ["path", {
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",
40
- key: "lc1i9w"
41
- }],
42
- ["path", {
43
- d: "m7 16.5-4.74-2.85",
44
- key: "1o9zyk"
45
- }],
46
- ["path", {
47
- d: "m7 16.5 5-3",
48
- key: "va8pkn"
49
- }],
50
- ["path", {
51
- d: "M7 16.5v5.17",
52
- key: "jnp8gn"
53
- }],
54
- ["path", {
55
- d: "M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",
56
- key: "8zsnat"
57
- }],
58
- ["path", {
59
- d: "m17 16.5-5-3",
60
- key: "8arw3v"
61
- }],
62
- ["path", {
63
- d: "m17 16.5 4.74-2.85",
64
- key: "8rfmw"
65
- }],
66
- ["path", {
67
- d: "M17 16.5v5.17",
68
- key: "k6z78m"
69
- }],
70
- ["path", {
71
- d: "M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",
72
- key: "1xygjf"
73
- }],
74
- ["path", {
75
- d: "M12 8 7.26 5.15",
76
- key: "1vbdud"
77
- }],
78
- ["path", {
79
- d: "m12 8 4.74-2.85",
80
- key: "3rx089"
81
- }],
82
- ["path", {
83
- d: "M12 13.5V8",
84
- key: "1io7kd"
85
- }]
86
- ]), Kt = v("Car", [
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-BniRJaQ6.js";
2
+ import { t as ke } from "./DataTable-CqMUD4er.js";
3
+ import { n as Ae, t as je } from "./useAssistant-CnEwkTLm.js";
4
+ import { t as Me } from "./boxes-B_OGvQiW.js";
5
+ import { t as Ne } from "./chart-column-DQTTdUPk.js";
6
+ import { t as Pe } from "./dollar-sign-B6RoYHHz.js";
7
+ import { n as Fe, t as Ie } from "./DocumentsCard-edDkgnJj.js";
8
+ import { t as Le } from "./file-text-BuDx4hZp.js";
9
+ import { n as Re, r as ze, t as Be } from "./useSettings-B1lsWeZ1.js";
10
+ import { n as Ve, t as He } from "./Notice-DOO-tjpV.js";
11
+ import { t as Ue } from "./map-DNQn9fyY.js";
12
+ import { t as We } from "./package-DmRF7iQD.js";
13
+ import { t as Ge } from "./route-CWjPrtAN.js";
14
+ import { t as Ke } from "./store-bwnmCK9f.js";
15
+ import { t as M } from "./truck-9rLDncav.js";
16
+ import { t as qe } from "./user-check-IMhk-qkX.js";
17
+ import { t as Je } from "./users-B8KhJBGg.js";
18
+ import { t as N } from "./warehouse-CcMMioeY.js";
19
+ import { n as Ye, r as Xe, t as Ze } from "./useOrders-BSiqo61w.js";
20
+ import { a as Qe, i as $e, n as et, o as tt, r as nt, t as rt } from "./useFleet-g5Yri0G8.js";
21
+ import { a as it, c as at, n as ot, o as st, r as ct, t as lt } from "./useInventory-BSOn-R1c.js";
22
+ import { n as ut, r as dt, t as ft } from "./useCustomers-ChJao1ET.js";
23
+ import { n as pt, r as mt, t as ht } from "./useRoutes-zD8Yp323.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-Tj_PPTfA.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-BKG0I2ln.js";
26
+ import { t as Ft } from "./useReports-fWESfsF9.js";
27
+ import { t as It } from "./useImportExport-MYwIT3rE.js";
28
+ import { n as Lt, r as Rt, t as zt } from "./Sparkline-K2RMJ58u.js";
29
+ import { n as Bt, r as Vt, t as Ht } from "./MetricCard-y3bWHKUQ.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-yzLqiK_C.js";
31
+ import { a as Zt, i as Qt, n as $t, r as en, t as tn } from "./StatusBadge-BNHXYvZx.js";
32
+ import { t as nn } from "./FormError-BKcb_wT-.js";
33
+ import { Suspense as rn, lazy as P, useEffect as F } from "react";
34
+ import { Route as I, Routes as an, useNavigate as on } from "react-router-dom";
35
+ import { jsx as L, jsxs as R } from "react/jsx-runtime";
36
+ import { FeatureFlagProvider as sn } from "@burdenoff/fe-libs/shared/feature-flags";
37
+ import { NotFoundPage as cn } from "@burdenoff/fe-libs/shared/pages";
38
+ import { create as ln } from "zustand";
39
+ import { createProfileScopedStorage as un } from "@burdenoff/fe-libs/shared/utils";
40
+ import { GlassCard as dn } from "@burdenoff/fe-libs/ui";
41
+ //#region node_modules/lucide-react/dist/esm/icons/car.js
42
+ var fn = j("Car", [
87
43
  ["path", {
88
44
  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",
89
45
  key: "5owen"
@@ -104,7 +60,7 @@ var Gt = v("Boxes", [
104
60
  r: "2",
105
61
  key: "axvx0g"
106
62
  }]
107
- ]), B = v("LayoutDashboard", [
63
+ ]), z = j("LayoutDashboard", [
108
64
  ["rect", {
109
65
  width: "7",
110
66
  height: "9",
@@ -140,185 +96,185 @@ var Gt = v("Boxes", [
140
96
  ]);
141
97
  //#endregion
142
98
  //#region src/movethewheels/MoveTheWheelsRoutes.tsx
143
- function qt() {
144
- let { navigate: e, basePath: t } = C(), n = Bt();
145
- return /* @__PURE__ */ R(Ht, {
99
+ function pn() {
100
+ let { navigate: e, basePath: t } = D(), n = on();
101
+ return /* @__PURE__ */ L(cn, {
146
102
  homeLabel: "Back to MoveTheWheels",
147
103
  onGoHome: () => {
148
104
  e ? e(t || "/") : n("/");
149
105
  }
150
106
  });
151
107
  }
152
- function Jt() {
153
- return /* @__PURE__ */ R("div", {
108
+ function mn() {
109
+ return /* @__PURE__ */ L("div", {
154
110
  className: "flex items-center justify-center min-h-[400px]",
155
- children: /* @__PURE__ */ z("div", {
111
+ children: /* @__PURE__ */ R("div", {
156
112
  className: "flex flex-col items-center gap-3",
157
- children: [/* @__PURE__ */ R("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }), /* @__PURE__ */ R("p", {
113
+ children: [/* @__PURE__ */ L("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }), /* @__PURE__ */ L("p", {
158
114
  className: "text-sm text-text-secondary",
159
115
  children: "Loading..."
160
116
  })]
161
117
  })
162
118
  });
163
119
  }
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, {
120
+ var hn = P(() => import("./DashboardPage-DrEhNf7N.js")), gn = P(() => import("./OrdersListPage-DhZJoQeI.js")), _n = P(() => import("./OrderDetailsPage-CwYHwk1K.js")), B = P(() => import("./CreateOrderPage-CWHx8yys.js")), vn = P(() => import("./TrackingPage-BZrg4RCu.js")), yn = P(() => import("./LiveTrackingPage-DhEaNKZ4.js")), bn = P(() => import("./FleetPage-CrtGPy-p.js")), xn = P(() => import("./VehiclesPage-D5BELbtM.js")), V = P(() => import("./VehicleDetailsPage-D-8XPZ2G.js")), Sn = P(() => import("./DriversPage-CHF2ZEzd.js")), H = P(() => import("./DriverDetailsPage-whEMOWs9.js")), Cn = P(() => import("./InventoryPage-l5A1f753.js")), wn = P(() => import("./ProductsPage-C8sn-1tN.js")), U = P(() => import("./ProductDetailsPage-1Gm9JKy0.js")), Tn = P(() => import("./WarehousesPage-C1Y1M867.js")), W = P(() => import("./WarehouseDetailsPage-Cmg-8Frn.js")), En = P(() => import("./CustomersPage-Bbvwvn8k.js")), G = P(() => import("./CustomerDetailsPage-nR4oZ_ju.js")), Dn = P(() => import("./RoutesPage-QkENzsE5.js")), K = P(() => import("./RouteDetailsPage-CkMyR9b_.js")), On = P(() => import("./AnalyticsPage-DZMlEoBi.js")), kn = P(() => import("./FinancePage-Dn9GrW-1.js")), An = P(() => import("./MarketplacePage-B9RYOb1Y.js")), jn = P(() => import("./ImportExportPage-WYdwZomZ.js")), Mn = P(() => import("./ReportsPage-D1tb0dcz.js")), Nn = P(() => import("./SettingsPage-DV3_tU_X.js")), Pn = P(() => import("./AIAssistantPage-D2gaEL1U.js"));
121
+ function Fn() {
122
+ return /* @__PURE__ */ L(rn, {
123
+ fallback: /* @__PURE__ */ L(mn, {}),
124
+ children: /* @__PURE__ */ R(an, { children: [
125
+ /* @__PURE__ */ L(I, {
170
126
  index: !0,
171
- element: /* @__PURE__ */ R(Yt, {})
127
+ element: /* @__PURE__ */ L(hn, {})
172
128
  }),
173
- /* @__PURE__ */ R(L, {
129
+ /* @__PURE__ */ L(I, {
174
130
  path: "orders",
175
- element: /* @__PURE__ */ R(Xt, {})
131
+ element: /* @__PURE__ */ L(gn, {})
176
132
  }),
177
- /* @__PURE__ */ R(L, {
133
+ /* @__PURE__ */ L(I, {
178
134
  path: "orders/new",
179
- element: /* @__PURE__ */ R(V, {})
135
+ element: /* @__PURE__ */ L(B, {})
180
136
  }),
181
- /* @__PURE__ */ R(L, {
137
+ /* @__PURE__ */ L(I, {
182
138
  path: "orders/:orderId",
183
- element: /* @__PURE__ */ R(Zt, {})
139
+ element: /* @__PURE__ */ L(_n, {})
184
140
  }),
185
- /* @__PURE__ */ R(L, {
141
+ /* @__PURE__ */ L(I, {
186
142
  path: "orders/:orderId/edit",
187
- element: /* @__PURE__ */ R(V, {})
143
+ element: /* @__PURE__ */ L(B, {})
188
144
  }),
189
- /* @__PURE__ */ R(L, {
145
+ /* @__PURE__ */ L(I, {
190
146
  path: "tracking",
191
- element: /* @__PURE__ */ R(Qt, {})
147
+ element: /* @__PURE__ */ L(vn, {})
192
148
  }),
193
- /* @__PURE__ */ R(L, {
149
+ /* @__PURE__ */ L(I, {
194
150
  path: "tracking/live",
195
- element: /* @__PURE__ */ R($t, {})
151
+ element: /* @__PURE__ */ L(yn, {})
196
152
  }),
197
- /* @__PURE__ */ R(L, {
153
+ /* @__PURE__ */ L(I, {
198
154
  path: "fleet",
199
- element: /* @__PURE__ */ R(en, {})
155
+ element: /* @__PURE__ */ L(bn, {})
200
156
  }),
201
- /* @__PURE__ */ R(L, {
157
+ /* @__PURE__ */ L(I, {
202
158
  path: "fleet/vehicles",
203
- element: /* @__PURE__ */ R(tn, {})
159
+ element: /* @__PURE__ */ L(xn, {})
204
160
  }),
205
- /* @__PURE__ */ R(L, {
161
+ /* @__PURE__ */ L(I, {
206
162
  path: "fleet/vehicles/new",
207
- element: /* @__PURE__ */ R(H, {})
163
+ element: /* @__PURE__ */ L(V, {})
208
164
  }),
209
- /* @__PURE__ */ R(L, {
165
+ /* @__PURE__ */ L(I, {
210
166
  path: "fleet/vehicles/:vehicleId",
211
- element: /* @__PURE__ */ R(H, {})
167
+ element: /* @__PURE__ */ L(V, {})
212
168
  }),
213
- /* @__PURE__ */ R(L, {
169
+ /* @__PURE__ */ L(I, {
214
170
  path: "fleet/drivers",
215
- element: /* @__PURE__ */ R(nn, {})
171
+ element: /* @__PURE__ */ L(Sn, {})
216
172
  }),
217
- /* @__PURE__ */ R(L, {
173
+ /* @__PURE__ */ L(I, {
218
174
  path: "fleet/drivers/new",
219
- element: /* @__PURE__ */ R(U, {})
175
+ element: /* @__PURE__ */ L(H, {})
220
176
  }),
221
- /* @__PURE__ */ R(L, {
177
+ /* @__PURE__ */ L(I, {
222
178
  path: "fleet/drivers/:driverId",
223
- element: /* @__PURE__ */ R(U, {})
179
+ element: /* @__PURE__ */ L(H, {})
224
180
  }),
225
- /* @__PURE__ */ R(L, {
181
+ /* @__PURE__ */ L(I, {
226
182
  path: "inventory",
227
- element: /* @__PURE__ */ R(rn, {})
183
+ element: /* @__PURE__ */ L(Cn, {})
228
184
  }),
229
- /* @__PURE__ */ R(L, {
185
+ /* @__PURE__ */ L(I, {
230
186
  path: "inventory/products",
231
- element: /* @__PURE__ */ R(an, {})
187
+ element: /* @__PURE__ */ L(wn, {})
232
188
  }),
233
- /* @__PURE__ */ R(L, {
189
+ /* @__PURE__ */ L(I, {
234
190
  path: "inventory/products/new",
235
- element: /* @__PURE__ */ R(W, {})
191
+ element: /* @__PURE__ */ L(U, {})
236
192
  }),
237
- /* @__PURE__ */ R(L, {
193
+ /* @__PURE__ */ L(I, {
238
194
  path: "inventory/products/:productId",
239
- element: /* @__PURE__ */ R(W, {})
195
+ element: /* @__PURE__ */ L(U, {})
240
196
  }),
241
- /* @__PURE__ */ R(L, {
197
+ /* @__PURE__ */ L(I, {
242
198
  path: "inventory/warehouses",
243
- element: /* @__PURE__ */ R(on, {})
199
+ element: /* @__PURE__ */ L(Tn, {})
244
200
  }),
245
- /* @__PURE__ */ R(L, {
201
+ /* @__PURE__ */ L(I, {
246
202
  path: "inventory/warehouses/new",
247
- element: /* @__PURE__ */ R(G, {})
203
+ element: /* @__PURE__ */ L(W, {})
248
204
  }),
249
- /* @__PURE__ */ R(L, {
205
+ /* @__PURE__ */ L(I, {
250
206
  path: "inventory/warehouses/:warehouseId",
251
- element: /* @__PURE__ */ R(G, {})
207
+ element: /* @__PURE__ */ L(W, {})
252
208
  }),
253
- /* @__PURE__ */ R(L, {
209
+ /* @__PURE__ */ L(I, {
254
210
  path: "customers",
255
- element: /* @__PURE__ */ R(sn, {})
211
+ element: /* @__PURE__ */ L(En, {})
256
212
  }),
257
- /* @__PURE__ */ R(L, {
213
+ /* @__PURE__ */ L(I, {
258
214
  path: "customers/new",
259
- element: /* @__PURE__ */ R(K, {})
215
+ element: /* @__PURE__ */ L(G, {})
260
216
  }),
261
- /* @__PURE__ */ R(L, {
217
+ /* @__PURE__ */ L(I, {
262
218
  path: "customers/:customerId",
263
- element: /* @__PURE__ */ R(K, {})
219
+ element: /* @__PURE__ */ L(G, {})
264
220
  }),
265
- /* @__PURE__ */ R(L, {
221
+ /* @__PURE__ */ L(I, {
266
222
  path: "routes",
267
- element: /* @__PURE__ */ R(cn, {})
223
+ element: /* @__PURE__ */ L(Dn, {})
268
224
  }),
269
- /* @__PURE__ */ R(L, {
225
+ /* @__PURE__ */ L(I, {
270
226
  path: "routes/new",
271
- element: /* @__PURE__ */ R(q, {})
227
+ element: /* @__PURE__ */ L(K, {})
272
228
  }),
273
- /* @__PURE__ */ R(L, {
229
+ /* @__PURE__ */ L(I, {
274
230
  path: "routes/:routeId",
275
- element: /* @__PURE__ */ R(q, {})
231
+ element: /* @__PURE__ */ L(K, {})
276
232
  }),
277
- /* @__PURE__ */ R(L, {
233
+ /* @__PURE__ */ L(I, {
278
234
  path: "analytics",
279
- element: /* @__PURE__ */ R(ln, {})
235
+ element: /* @__PURE__ */ L(On, {})
280
236
  }),
281
- /* @__PURE__ */ R(L, {
237
+ /* @__PURE__ */ L(I, {
282
238
  path: "finance",
283
- element: /* @__PURE__ */ R(un, {})
239
+ element: /* @__PURE__ */ L(kn, {})
284
240
  }),
285
- /* @__PURE__ */ R(L, {
241
+ /* @__PURE__ */ L(I, {
286
242
  path: "marketplace",
287
- element: /* @__PURE__ */ R(dn, {})
243
+ element: /* @__PURE__ */ L(An, {})
288
244
  }),
289
- /* @__PURE__ */ R(L, {
245
+ /* @__PURE__ */ L(I, {
290
246
  path: "import-export",
291
- element: /* @__PURE__ */ R(fn, {})
247
+ element: /* @__PURE__ */ L(jn, {})
292
248
  }),
293
- /* @__PURE__ */ R(L, {
249
+ /* @__PURE__ */ L(I, {
294
250
  path: "reports",
295
- element: /* @__PURE__ */ R(pn, {})
251
+ element: /* @__PURE__ */ L(Mn, {})
296
252
  }),
297
- /* @__PURE__ */ R(L, {
253
+ /* @__PURE__ */ L(I, {
298
254
  path: "ai-assistant",
299
- element: /* @__PURE__ */ R(hn, {})
255
+ element: /* @__PURE__ */ L(Pn, {})
300
256
  }),
301
- /* @__PURE__ */ R(L, {
257
+ /* @__PURE__ */ L(I, {
302
258
  path: "settings",
303
- element: /* @__PURE__ */ R(mn, {})
259
+ element: /* @__PURE__ */ L(Nn, {})
304
260
  }),
305
- /* @__PURE__ */ R(L, {
261
+ /* @__PURE__ */ L(I, {
306
262
  path: "*",
307
- element: /* @__PURE__ */ R(qt, {})
263
+ element: /* @__PURE__ */ L(pn, {})
308
264
  })
309
265
  ] })
310
266
  });
311
267
  }
312
268
  //#endregion
313
269
  //#region src/movethewheels/MoveTheWheelsRoot.tsx
314
- var _n = (e) => {
270
+ var In = (e) => {
315
271
  let { registerNavItems: t, registerFooterItems: n, basePath: r = "/" } = e, i = (e, t) => (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
316
- return I(() => {
272
+ return F(() => {
317
273
  if (t) return t({
318
274
  id: "movethewheels",
319
275
  label: "MoveTheWheels",
320
276
  path: r,
321
- icon: /* @__PURE__ */ R(M, { size: 20 }),
277
+ icon: /* @__PURE__ */ L(M, { size: 20 }),
322
278
  order: 25,
323
279
  group: "workspace",
324
280
  children: [
@@ -326,49 +282,49 @@ var _n = (e) => {
326
282
  id: "mtw-dashboard",
327
283
  label: "Dashboard",
328
284
  path: r,
329
- icon: /* @__PURE__ */ R(B, { size: 16 }),
285
+ icon: /* @__PURE__ */ L(z, { size: 16 }),
330
286
  order: 1
331
287
  },
332
288
  {
333
289
  id: "mtw-orders",
334
290
  label: "Orders",
335
291
  path: i(r, "orders"),
336
- icon: /* @__PURE__ */ R(Ue, { size: 16 }),
292
+ icon: /* @__PURE__ */ L(We, { size: 16 }),
337
293
  order: 2
338
294
  },
339
295
  {
340
296
  id: "mtw-tracking",
341
297
  label: "Tracking",
342
298
  path: i(r, "tracking"),
343
- icon: /* @__PURE__ */ R(He, { size: 16 }),
299
+ icon: /* @__PURE__ */ L(Ue, { size: 16 }),
344
300
  order: 3
345
301
  },
346
302
  {
347
303
  id: "mtw-fleet",
348
304
  label: "Fleet",
349
305
  path: i(r, "fleet"),
350
- icon: /* @__PURE__ */ R(M, { size: 16 }),
306
+ icon: /* @__PURE__ */ L(M, { size: 16 }),
351
307
  order: 4,
352
308
  children: [
353
309
  {
354
310
  id: "mtw-fleet-overview",
355
311
  label: "Overview",
356
312
  path: i(r, "fleet"),
357
- icon: /* @__PURE__ */ R(B, { size: 14 }),
313
+ icon: /* @__PURE__ */ L(z, { size: 14 }),
358
314
  order: 1
359
315
  },
360
316
  {
361
317
  id: "mtw-vehicles",
362
318
  label: "Vehicles",
363
319
  path: i(r, "fleet/vehicles"),
364
- icon: /* @__PURE__ */ R(Kt, { size: 14 }),
320
+ icon: /* @__PURE__ */ L(fn, { size: 14 }),
365
321
  order: 2
366
322
  },
367
323
  {
368
324
  id: "mtw-drivers",
369
325
  label: "Drivers",
370
326
  path: i(r, "fleet/drivers"),
371
- icon: /* @__PURE__ */ R(Ge, { size: 14 }),
327
+ icon: /* @__PURE__ */ L(qe, { size: 14 }),
372
328
  order: 3
373
329
  }
374
330
  ]
@@ -377,28 +333,28 @@ var _n = (e) => {
377
333
  id: "mtw-inventory",
378
334
  label: "Inventory",
379
335
  path: i(r, "inventory"),
380
- icon: /* @__PURE__ */ R(N, { size: 16 }),
336
+ icon: /* @__PURE__ */ L(N, { size: 16 }),
381
337
  order: 5,
382
338
  children: [
383
339
  {
384
340
  id: "mtw-inventory-overview",
385
341
  label: "Overview",
386
342
  path: i(r, "inventory"),
387
- icon: /* @__PURE__ */ R(B, { size: 14 }),
343
+ icon: /* @__PURE__ */ L(z, { size: 14 }),
388
344
  order: 1
389
345
  },
390
346
  {
391
347
  id: "mtw-products",
392
348
  label: "Products",
393
349
  path: i(r, "inventory/products"),
394
- icon: /* @__PURE__ */ R(Gt, { size: 14 }),
350
+ icon: /* @__PURE__ */ L(Me, { size: 14 }),
395
351
  order: 2
396
352
  },
397
353
  {
398
354
  id: "mtw-warehouses",
399
355
  label: "Warehouses",
400
356
  path: i(r, "inventory/warehouses"),
401
- icon: /* @__PURE__ */ R(N, { size: 14 }),
357
+ icon: /* @__PURE__ */ L(N, { size: 14 }),
402
358
  order: 3
403
359
  }
404
360
  ]
@@ -407,68 +363,68 @@ var _n = (e) => {
407
363
  id: "mtw-customers",
408
364
  label: "Customers",
409
365
  path: i(r, "customers"),
410
- icon: /* @__PURE__ */ R(Ke, { size: 16 }),
366
+ icon: /* @__PURE__ */ L(Je, { size: 16 }),
411
367
  order: 6
412
368
  },
413
369
  {
414
370
  id: "mtw-routes",
415
371
  label: "Routes",
416
372
  path: i(r, "routes"),
417
- icon: /* @__PURE__ */ R(ke, { size: 16 }),
373
+ icon: /* @__PURE__ */ L(Ge, { size: 16 }),
418
374
  order: 7
419
375
  },
420
376
  {
421
377
  id: "mtw-analytics",
422
378
  label: "Analytics",
423
379
  path: i(r, "analytics"),
424
- icon: /* @__PURE__ */ R(Me, { size: 16 }),
380
+ icon: /* @__PURE__ */ L(Ne, { size: 16 }),
425
381
  order: 8
426
382
  },
427
383
  {
428
384
  id: "mtw-finance",
429
385
  label: "Finance",
430
386
  path: i(r, "finance"),
431
- icon: /* @__PURE__ */ R(Ne, { size: 16 }),
387
+ icon: /* @__PURE__ */ L(Pe, { size: 16 }),
432
388
  order: 9
433
389
  },
434
390
  {
435
391
  id: "mtw-marketplace",
436
392
  label: "Marketplace",
437
393
  path: i(r, "marketplace"),
438
- icon: /* @__PURE__ */ R(We, { size: 16 }),
394
+ icon: /* @__PURE__ */ L(Ke, { size: 16 }),
439
395
  order: 10
440
396
  },
441
397
  {
442
398
  id: "mtw-import-export",
443
399
  label: "Import/Export",
444
400
  path: i(r, "import-export"),
445
- icon: /* @__PURE__ */ R(Re, { size: 16 }),
401
+ icon: /* @__PURE__ */ L(ze, { size: 16 }),
446
402
  order: 11
447
403
  },
448
404
  {
449
405
  id: "mtw-reports",
450
406
  label: "Reports",
451
407
  path: i(r, "reports"),
452
- icon: /* @__PURE__ */ R(Ie, { size: 16 }),
408
+ icon: /* @__PURE__ */ L(Le, { size: 16 }),
453
409
  order: 12
454
410
  },
455
411
  {
456
412
  id: "mtw-ai-assistant",
457
413
  label: "AI Assistant",
458
414
  path: i(r, "ai-assistant"),
459
- icon: /* @__PURE__ */ R(Ae, { size: 16 }),
415
+ icon: /* @__PURE__ */ L(Ae, { size: 16 }),
460
416
  order: 13
461
417
  },
462
418
  {
463
419
  id: "mtw-settings",
464
420
  label: "Settings",
465
421
  path: i(r, "settings"),
466
- icon: /* @__PURE__ */ R(Le, { size: 16 }),
422
+ icon: /* @__PURE__ */ L(Re, { size: 16 }),
467
423
  order: 99
468
424
  }
469
425
  ]
470
426
  });
471
- }, [t, r]), I(() => {
427
+ }, [t, r]), F(() => {
472
428
  if (n) return n([{
473
429
  id: "mtw-status",
474
430
  label: "Logistics Ready",
@@ -476,27 +432,27 @@ var _n = (e) => {
476
432
  order: 20,
477
433
  section: "left"
478
434
  }]);
479
- }, [n]), /* @__PURE__ */ R(Vt, {
435
+ }, [n]), /* @__PURE__ */ L(sn, {
480
436
  workspaceId: null,
481
437
  gateway: "global",
482
438
  defaultEnabled: !0,
483
- children: /* @__PURE__ */ R(de, {
439
+ children: /* @__PURE__ */ L(x, {
484
440
  ...e,
485
- children: /* @__PURE__ */ R("div", {
441
+ children: /* @__PURE__ */ L("div", {
486
442
  className: "movethewheels-root h-full",
487
- children: /* @__PURE__ */ R(gn, {})
443
+ children: /* @__PURE__ */ L(Fn, {})
488
444
  })
489
445
  })
490
446
  });
491
- }, J = (e) => !!e.dispatchFromDevtools && typeof e.dispatch == "function", Y = /* @__PURE__ */ new Map(), X = (e) => {
492
- let t = Y.get(e);
447
+ }, q = (e) => !!e.dispatchFromDevtools && typeof e.dispatch == "function", J = /* @__PURE__ */ new Map(), Y = (e) => {
448
+ let t = J.get(e);
493
449
  return t ? Object.fromEntries(Object.entries(t.stores).map(([e, t]) => [e, t.getState()])) : {};
494
- }, vn = (e, t, n) => {
450
+ }, X = (e, t, n) => {
495
451
  if (e === void 0) return {
496
452
  type: "untracked",
497
453
  connection: t.connect(n)
498
454
  };
499
- let r = Y.get(n.name);
455
+ let r = J.get(n.name);
500
456
  if (r) return {
501
457
  type: "tracked",
502
458
  store: e,
@@ -506,49 +462,49 @@ var _n = (e) => {
506
462
  connection: t.connect(n),
507
463
  stores: {}
508
464
  };
509
- return Y.set(n.name, i), {
465
+ return J.set(n.name, i), {
510
466
  type: "tracked",
511
467
  store: e,
512
468
  ...i
513
469
  };
514
- }, yn = (e, t) => {
470
+ }, Ln = (e, t) => {
515
471
  if (t === void 0) return;
516
- let n = Y.get(e);
517
- n && (delete n.stores[t], Object.keys(n.stores).length === 0 && Y.delete(e));
518
- }, bn = /.+ (.+) .+/, xn = /^([^@]+)@/;
519
- function Sn(e) {
472
+ let n = J.get(e);
473
+ n && (delete n.stores[t], Object.keys(n.stores).length === 0 && J.delete(e));
474
+ }, Rn = /.+ (.+) .+/, zn = /^([^@]+)@/;
475
+ function Bn(e) {
520
476
  if (!e) return;
521
477
  let t = e.split("\n"), n = t.findIndex((e) => e.includes("api.setState"));
522
478
  if (n < 0) return;
523
479
  let r = t[n + 1]?.trim() || "";
524
- return bn.exec(r)?.[1] || xn.exec(r)?.[1];
480
+ return Rn.exec(r)?.[1] || zn.exec(r)?.[1];
525
481
  }
526
- var Cn = (e, t = {}) => (n, r, i) => {
482
+ var Vn = (e, t = {}) => (n, r, i) => {
527
483
  let { enabled: a, anonymousActionType: o, store: s, ...c } = t, l;
528
484
  try {
529
485
  l = (a ?? !1) && window.__REDUX_DEVTOOLS_EXTENSION__;
530
486
  } catch {}
531
487
  if (!l) return e(n, r, i);
532
- let { connection: u, ...d } = vn(s, l, c), f = !0;
488
+ let { connection: u, ...d } = X(s, l, c), f = !0;
533
489
  i.setState = ((e, t, a) => {
534
490
  let l = n(e, t);
535
491
  if (!f) return l;
536
- let d = a === void 0 ? { type: o || Sn((/* @__PURE__ */ Error()).stack) || "anonymous" } : typeof a == "string" ? { type: a } : a;
492
+ let d = a === void 0 ? { type: o || Bn((/* @__PURE__ */ Error()).stack) || "anonymous" } : typeof a == "string" ? { type: a } : a;
537
493
  return s === void 0 ? (u?.send(d, r()), l) : (u?.send({
538
494
  ...d,
539
495
  type: `${s}/${d.type}`
540
496
  }, {
541
- ...X(c.name),
497
+ ...Y(c.name),
542
498
  [s]: i.getState()
543
499
  }), l);
544
500
  }), i.devtools = { cleanup: () => {
545
- u && typeof u.unsubscribe == "function" && u.unsubscribe(), yn(c.name, s);
501
+ u && typeof u.unsubscribe == "function" && u.unsubscribe(), Ln(c.name, s);
546
502
  } };
547
503
  let p = (...e) => {
548
504
  let t = f;
549
505
  f = !1, n(...e), f = t;
550
506
  }, m = e(i.setState, r, i);
551
- if (d.type === "untracked" ? u?.init(m) : (d.stores[d.store] = i, u?.init(Object.fromEntries(Object.entries(d.stores).map(([e, t]) => [e, e === d.store ? m : t.getState()])))), J(i)) {
507
+ if (d.type === "untracked" ? u?.init(m) : (d.stores[d.store] = i, u?.init(Object.fromEntries(Object.entries(d.stores).map(([e, t]) => [e, e === d.store ? m : t.getState()])))), q(i)) {
552
508
  let e = i.dispatch;
553
509
  i.dispatch = (...t) => {
554
510
  e(...t);
@@ -573,23 +529,23 @@ var Cn = (e, t = {}) => (n, r, i) => {
573
529
  JSON.stringify(i.getState()) !== JSON.stringify(t) && p(t);
574
530
  return;
575
531
  }
576
- J(i) && i.dispatch(e);
532
+ q(i) && i.dispatch(e);
577
533
  });
578
534
  case "DISPATCH":
579
535
  switch (e.payload.type) {
580
- case "RESET": return p(m), s === void 0 ? u?.init(i.getState()) : u?.init(X(c.name));
536
+ case "RESET": return p(m), s === void 0 ? u?.init(i.getState()) : u?.init(Y(c.name));
581
537
  case "COMMIT":
582
538
  if (s === void 0) {
583
539
  u?.init(i.getState());
584
540
  return;
585
541
  }
586
- return u?.init(X(c.name));
542
+ return u?.init(Y(c.name));
587
543
  case "ROLLBACK": return Z(e.state, (e) => {
588
544
  if (s === void 0) {
589
545
  p(e), u?.init(i.getState());
590
546
  return;
591
547
  }
592
- p(e[s]), u?.init(X(c.name));
548
+ p(e[s]), u?.init(Y(c.name));
593
549
  });
594
550
  case "JUMP_TO_STATE":
595
551
  case "JUMP_TO_ACTION": return Z(e.state, (e) => {
@@ -619,7 +575,7 @@ var Cn = (e, t = {}) => (n, r, i) => {
619
575
  }
620
576
  n !== void 0 && t(n);
621
577
  };
622
- function wn(e, t) {
578
+ function Hn(e, t) {
623
579
  let n;
624
580
  try {
625
581
  n = e();
@@ -656,9 +612,9 @@ var Q = (e) => (t) => {
656
612
  }
657
613
  };
658
614
  }
659
- }, Tn = (e, t) => (n, r, i) => {
615
+ }, Un = (e, t) => (n, r, i) => {
660
616
  let a = {
661
- storage: wn(() => window.localStorage),
617
+ storage: Hn(() => window.localStorage),
662
618
  partialize: (e) => e,
663
619
  version: 0,
664
620
  merge: (e, t) => ({
@@ -738,7 +694,7 @@ var Q = (e) => (t) => {
738
694
  inventoryFilters: {},
739
695
  customerFilters: {},
740
696
  globalSearch: ""
741
- }, En = Ut()(Cn(Tn((e) => ({
697
+ }, Wn = ln()(Vn(Un((e) => ({
742
698
  ...$,
743
699
  setViewMode: (t) => e({ viewMode: t }),
744
700
  setSidebarCollapsed: (t) => e({ sidebarCollapsed: t }),
@@ -775,11 +731,44 @@ var Q = (e) => (t) => {
775
731
  reset: () => e($)
776
732
  }), {
777
733
  name: "movethewheels-storage",
778
- storage: Wt(),
734
+ storage: un(),
779
735
  partialize: (e) => ({
780
736
  viewMode: e.viewMode,
781
737
  sidebarCollapsed: e.sidebarCollapsed
782
738
  })
783
- }), { name: "MoveTheWheelsStore" }));
739
+ }), { name: "MoveTheWheelsStore" })), Gn = {
740
+ none: "p-0",
741
+ sm: "p-3",
742
+ md: "p-4 sm:p-5",
743
+ lg: "p-6"
744
+ };
745
+ function Kn({ title: e, action: t, description: n, padding: r = "md", treatment: i = "glass", glow: a = !1, className: o, bodyClassName: s, children: c, ...l }) {
746
+ let u = e != null || t != null || n != null;
747
+ return /* @__PURE__ */ R(dn, {
748
+ treatment: i,
749
+ glow: a,
750
+ className: T("overflow-hidden border-border-seam", o),
751
+ ...l,
752
+ children: [u && /* @__PURE__ */ R("div", {
753
+ className: "flex items-start justify-between gap-3 border-b border-border-seam/70 px-4 py-3 sm:px-5",
754
+ children: [/* @__PURE__ */ R("div", {
755
+ className: "min-w-0 space-y-0.5",
756
+ children: [e != null && /* @__PURE__ */ L("h3", {
757
+ className: "truncate text-sm font-semibold text-text-primary",
758
+ children: e
759
+ }), n != null && /* @__PURE__ */ L("p", {
760
+ className: "text-xs text-text-secondary",
761
+ children: n
762
+ })]
763
+ }), t != null && /* @__PURE__ */ L("div", {
764
+ className: "flex shrink-0 items-center gap-2",
765
+ children: t
766
+ })]
767
+ }), /* @__PURE__ */ L("div", {
768
+ className: T(Gn[r], s),
769
+ children: c
770
+ })]
771
+ });
772
+ }
784
773
  //#endregion
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 };
774
+ export { b as Avatar, E as AvatarFallback, fe as AvatarImage, Se as Badge, A as Button, me as Card, ge as CardContent, S as CardDescription, Ce as CardFooter, ve as CardHeader, _e as CardTitle, bt as ChartEmpty, gt as ChartTooltip, le as Checkbox, ke as DataTable, we as Dialog, De as DialogContent, de as DialogDescription, Ee as DialogFooter, te as DialogHeader, r as DialogTitle, Te as DialogTrigger, Ie as DocumentsCard, ne as DropdownMenu, a as DropdownMenuContent, i as DropdownMenuItem, h as DropdownMenuSeparator, xe as DropdownMenuTrigger, O as EmptyState, v as ErrorState, nn as FormError, Kn as GlassPanel, t as Input, be as Label, w as LoadingState, Jt as LogisticsMap, Gt as MapCanvas, Ht as MetricCard, Bt as MetricCardSkeleton, Vt as MetricGrid, In as MoveTheWheelsRoot, He as Notice, ye as PageLayout, ue as PageSection, tn as PaymentStatusBadge, $t as PriorityBadge, p as Progress, Kt as RouteMap, m as ScrollArea, g as Select, o as SelectContent, l as SelectItem, f as SelectTrigger, ee as SelectValue, Oe as Separator, n as Skeleton, zt as Sparkline, en as StatusBadge, Et as StatusDonut, ie as Switch, c as Table, re as TableBody, ae as TableCell, s as TableHead, d as TableHeader, C as TableRow, u as Tabs, se as TabsContent, oe as TabsList, ce as TabsTrigger, _ as Textarea, e as Tooltip, he as TooltipContent, k as TooltipProvider, y as TooltipTrigger, Xt as TrackingMap, wt as TrendChart, Qt as TypeBadge, Zt as VehicleTypeBadge, St as VolumeBar, Lt as chartTokens, Ut as createCurrentIcon, qt as createPinIcon, Yt as createStopIcon, Wt as isRealCoord, Rt as seriesColor, Ct as useAnalytics, je as useAssistant, ft as useCustomer, ut as useCustomerStats, dt as useCustomers, Tt as useDashboardMetrics, rt as useDriver, Pt as useDriverTracking, et as useDrivers, Fe as useEntityDocuments, _t as useFinanceMetrics, nt as useFleet, xt as useFleetAnalytics, $e as useFleetStats, At as useGeofence, It as useImportExport, lt as useInventory, ot as useInventoryStats, Mt as useLiveTracking, Be as useModuleSettings, D as useMoveTheWheels, pe as useMoveTheWheelsNavigate, Wn as useMoveTheWheelsStore, Ve as useNotice, Ze as useOrder, Dt as useOrderAnalytics, Ye as useOrderStats, kt as useOrderTracking, Xe as useOrders, vt as usePerformanceAnalytics, ct as useProduct, it as useProducts, Ft as useReports, yt as useRevenueAnalytics, ht as useRoute, pt as useRouteStats, mt as useRoutes, Ot as useTracking, jt as useTrackingAlerts, Qe as useVehicle, Nt as useVehicleTracking, tt as useVehicles, st as useWarehouse, at as useWarehouses };