@burdenoff/microfe-movethewheels 2026.510.105

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 (208) hide show
  1. package/README.md +82 -0
  2. package/dist/AIAssistantPage-hD0VYJdH.js +210 -0
  3. package/dist/AnalyticsPage-DHTHCUtr.js +201 -0
  4. package/dist/CreateOrderPage-Cprg4Y9V.js +471 -0
  5. package/dist/CustomerDetailsPage-DNDEw7IW.js +239 -0
  6. package/dist/CustomersPage-CDjjeCEL.js +119 -0
  7. package/dist/DashboardPage-8iTPXRAG.js +374 -0
  8. package/dist/DataTable-CRIKfdIN.js +239 -0
  9. package/dist/DriverDetailsPage-CRyRCno7.js +297 -0
  10. package/dist/DriversPage-16O8fVmf.js +127 -0
  11. package/dist/FinancePage-BYUxK5dR.js +154 -0
  12. package/dist/FleetPage-CHYETCWT.js +293 -0
  13. package/dist/ImportExportPage-C3MKKxfc.js +232 -0
  14. package/dist/InventoryPage--822AxZM.js +223 -0
  15. package/dist/LiveTrackingPage-Dp3rTJDr.js +332 -0
  16. package/dist/MarketplacePage-DjEqudfM.js +192 -0
  17. package/dist/MetricCard-GTbxAk1a.js +135 -0
  18. package/dist/OrderDetailsPage-BIuYG0ub.js +398 -0
  19. package/dist/OrdersListPage-CW5V0Uvh.js +257 -0
  20. package/dist/PageLayout-B7b0vl0R.js +1894 -0
  21. package/dist/ProductDetailsPage-Q3X7AT-7.js +168 -0
  22. package/dist/ProductsPage-CUj9JpnW.js +131 -0
  23. package/dist/ReportsPage-DblO5CdJ.js +227 -0
  24. package/dist/RouteDetailsPage-CLctgk6A.js +240 -0
  25. package/dist/RoutesPage-8hrv6RWT.js +116 -0
  26. package/dist/SettingsPage-BJ5BQeqn.js +247 -0
  27. package/dist/StatusBadge-BrrwraIA.js +206 -0
  28. package/dist/TrackingPage-BGqHDh-w.js +322 -0
  29. package/dist/VehicleDetailsPage-XnDH4iQR.js +194 -0
  30. package/dist/VehiclesPage-Cs4XxHkA.js +127 -0
  31. package/dist/WarehouseDetailsPage-GemdMvr_.js +215 -0
  32. package/dist/WarehousesPage-QTiuDuXy.js +121 -0
  33. package/dist/arrow-left-6CiLhqVp.js +11 -0
  34. package/dist/box-BunB_4UH.js +18 -0
  35. package/dist/chart-column-DWwVEVQ-.js +22 -0
  36. package/dist/chevron-right-DhZVf20o.js +8 -0
  37. package/dist/circle-alert-D5f6RZxt.js +26 -0
  38. package/dist/circle-check-big-D-JMHcTe.js +11 -0
  39. package/dist/clock-CvwBKbQP.js +13 -0
  40. package/dist/dev/main.d.ts +1 -0
  41. package/dist/dollar-sign-CP9qeU5d.js +14 -0
  42. package/dist/download-CIuG04pJ.js +21 -0
  43. package/dist/file-text-Dd_thxkn.js +26 -0
  44. package/dist/filter-DyRMX9CU.js +8 -0
  45. package/dist/formatters-_vJlC-47.js +50 -0
  46. package/dist/generated/global-operations.d.ts +1 -0
  47. package/dist/generated/global-types.d.ts +20715 -0
  48. package/dist/generated/wspace-operations.d.ts +3704 -0
  49. package/dist/generated/wspace-types.d.ts +53362 -0
  50. package/dist/graphqlClient-CdJyR_ed.js +55 -0
  51. package/dist/index.d.ts +4 -0
  52. package/dist/index.js +772 -0
  53. package/dist/map-BqH1cBJi.js +18 -0
  54. package/dist/map-pin-CFBOmh-A.js +13 -0
  55. package/dist/movethewheels/MoveTheWheelsRoot.d.ts +25 -0
  56. package/dist/movethewheels/MoveTheWheelsRoutes.d.ts +7 -0
  57. package/dist/movethewheels/components/DataTable.d.ts +32 -0
  58. package/dist/movethewheels/components/MetricCard.d.ts +43 -0
  59. package/dist/movethewheels/components/PageLayout.d.ts +68 -0
  60. package/dist/movethewheels/components/StatusBadge.d.ts +49 -0
  61. package/dist/movethewheels/components/index.d.ts +10 -0
  62. package/dist/movethewheels/components/ui.d.ts +22 -0
  63. package/dist/movethewheels/constants/index.d.ts +24 -0
  64. package/dist/movethewheels/constants/mockData.d.ts +33 -0
  65. package/dist/movethewheels/hooks/index.d.ts +12 -0
  66. package/dist/movethewheels/hooks/useAnalytics.d.ts +118 -0
  67. package/dist/movethewheels/hooks/useCustomers.d.ts +37 -0
  68. package/dist/movethewheels/hooks/useFleet.d.ts +71 -0
  69. package/dist/movethewheels/hooks/useInventory.d.ts +60 -0
  70. package/dist/movethewheels/hooks/useOrders.d.ts +47 -0
  71. package/dist/movethewheels/hooks/useRoutes.d.ts +41 -0
  72. package/dist/movethewheels/hooks/useTracking.d.ts +69 -0
  73. package/dist/movethewheels/index.d.ts +30 -0
  74. package/dist/movethewheels/pages/AIAssistantPage.d.ts +4 -0
  75. package/dist/movethewheels/pages/AnalyticsPage.d.ts +4 -0
  76. package/dist/movethewheels/pages/CreateOrderPage.d.ts +6 -0
  77. package/dist/movethewheels/pages/CustomerDetailsPage.d.ts +4 -0
  78. package/dist/movethewheels/pages/CustomersPage.d.ts +4 -0
  79. package/dist/movethewheels/pages/DashboardPage.d.ts +6 -0
  80. package/dist/movethewheels/pages/DriverDetailsPage.d.ts +4 -0
  81. package/dist/movethewheels/pages/DriversPage.d.ts +4 -0
  82. package/dist/movethewheels/pages/FinancePage.d.ts +4 -0
  83. package/dist/movethewheels/pages/FleetPage.d.ts +6 -0
  84. package/dist/movethewheels/pages/ImportExportPage.d.ts +4 -0
  85. package/dist/movethewheels/pages/InventoryPage.d.ts +4 -0
  86. package/dist/movethewheels/pages/LiveTrackingPage.d.ts +6 -0
  87. package/dist/movethewheels/pages/MarketplacePage.d.ts +4 -0
  88. package/dist/movethewheels/pages/OrderDetailsPage.d.ts +6 -0
  89. package/dist/movethewheels/pages/OrdersListPage.d.ts +6 -0
  90. package/dist/movethewheels/pages/ProductDetailsPage.d.ts +4 -0
  91. package/dist/movethewheels/pages/ProductsPage.d.ts +4 -0
  92. package/dist/movethewheels/pages/ReportsPage.d.ts +4 -0
  93. package/dist/movethewheels/pages/RouteDetailsPage.d.ts +4 -0
  94. package/dist/movethewheels/pages/RoutesPage.d.ts +4 -0
  95. package/dist/movethewheels/pages/SettingsPage.d.ts +4 -0
  96. package/dist/movethewheels/pages/TrackingPage.d.ts +6 -0
  97. package/dist/movethewheels/pages/VehicleDetailsPage.d.ts +4 -0
  98. package/dist/movethewheels/pages/VehiclesPage.d.ts +4 -0
  99. package/dist/movethewheels/pages/WarehouseDetailsPage.d.ts +4 -0
  100. package/dist/movethewheels/pages/WarehousesPage.d.ts +4 -0
  101. package/dist/movethewheels/providers/MoveTheWheelsProvider.d.ts +16 -0
  102. package/dist/movethewheels/store/movethewheelsStore.d.ts +73 -0
  103. package/dist/movethewheels/types/index.d.ts +655 -0
  104. package/dist/movethewheels/utils/cn.d.ts +6 -0
  105. package/dist/movethewheels/utils/formatters.d.ts +60 -0
  106. package/dist/movethewheels/utils/graphqlClient.d.ts +11 -0
  107. package/dist/movethewheels/utils/index.d.ts +7 -0
  108. package/dist/movethewheels/utils/navigation.d.ts +23 -0
  109. package/dist/navigation-BgnOfsVd.js +6 -0
  110. package/dist/navigation-C2fY_aS9.js +8 -0
  111. package/dist/package-DVZbDRcV.js +22 -0
  112. package/dist/phone-KdwpVmC4.js +18 -0
  113. package/dist/plus-Bl7uX6Ji.js +11 -0
  114. package/dist/refresh-cw-BYjl3K-8.js +22 -0
  115. package/dist/route-Ce_poKFi.js +51 -0
  116. package/dist/save-C-qDVat-.js +18 -0
  117. package/dist/search-5pdn5eOO.js +13 -0
  118. package/dist/settings-C4kIDsYg.js +28 -0
  119. package/dist/square-pen-BwQ67vLE.js +11 -0
  120. package/dist/star-BlVsC3Ad.js +8 -0
  121. package/dist/store-DTmQT5M0.js +26 -0
  122. package/dist/trending-up-C1faflCI.js +11 -0
  123. package/dist/triangle-alert-CUoVAA4L.js +18 -0
  124. package/dist/truck-BmDAzu05.js +30 -0
  125. package/dist/useAnalytics-ph7eTIK6.js +297 -0
  126. package/dist/useCustomers-bS3a4ytk.js +186 -0
  127. package/dist/useFleet-BdETplNE.js +398 -0
  128. package/dist/useInventory-Dwn18FPz.js +323 -0
  129. package/dist/useOrders-D_3_hGMp.js +324 -0
  130. package/dist/useRoutes-v4aBaS-E.js +224 -0
  131. package/dist/useTracking-De2KIUNu.js +261 -0
  132. package/dist/user-BplzDrLP.js +13 -0
  133. package/dist/users-i-igmsP4.js +24 -0
  134. package/dist/warehouse-DewG0PXh.js +25 -0
  135. package/dist/wrench-CoSDEIC7.js +31 -0
  136. package/package.json +107 -0
  137. package/src/dev/main.tsx +110 -0
  138. package/src/dev/styles.css +139 -0
  139. package/src/generated/global-operations.ts +2 -0
  140. package/src/generated/global-types.ts +24048 -0
  141. package/src/generated/wspace-operations.ts +3734 -0
  142. package/src/generated/wspace-types.ts +60715 -0
  143. package/src/index.ts +4 -0
  144. package/src/movethewheels/MoveTheWheelsRoot.tsx +258 -0
  145. package/src/movethewheels/MoveTheWheelsRoutes.tsx +119 -0
  146. package/src/movethewheels/components/DataTable.tsx +367 -0
  147. package/src/movethewheels/components/MetricCard.tsx +180 -0
  148. package/src/movethewheels/components/PageLayout.tsx +234 -0
  149. package/src/movethewheels/components/StatusBadge.tsx +243 -0
  150. package/src/movethewheels/components/index.ts +26 -0
  151. package/src/movethewheels/components/ui.tsx +124 -0
  152. package/src/movethewheels/constants/index.ts +65 -0
  153. package/src/movethewheels/constants/mockData.ts +1342 -0
  154. package/src/movethewheels/hooks/index.ts +55 -0
  155. package/src/movethewheels/hooks/useAnalytics.ts +476 -0
  156. package/src/movethewheels/hooks/useCustomers.ts +359 -0
  157. package/src/movethewheels/hooks/useFleet.ts +778 -0
  158. package/src/movethewheels/hooks/useInventory.ts +632 -0
  159. package/src/movethewheels/hooks/useOrders.ts +703 -0
  160. package/src/movethewheels/hooks/useRoutes.ts +453 -0
  161. package/src/movethewheels/hooks/useTracking.ts +505 -0
  162. package/src/movethewheels/index.ts +68 -0
  163. package/src/movethewheels/pages/AIAssistantPage.tsx +160 -0
  164. package/src/movethewheels/pages/AnalyticsPage.tsx +190 -0
  165. package/src/movethewheels/pages/CreateOrderPage.tsx +454 -0
  166. package/src/movethewheels/pages/CustomerDetailsPage.tsx +207 -0
  167. package/src/movethewheels/pages/CustomersPage.tsx +115 -0
  168. package/src/movethewheels/pages/DashboardPage.tsx +414 -0
  169. package/src/movethewheels/pages/DriverDetailsPage.tsx +261 -0
  170. package/src/movethewheels/pages/DriversPage.tsx +118 -0
  171. package/src/movethewheels/pages/FinancePage.tsx +141 -0
  172. package/src/movethewheels/pages/FleetPage.tsx +289 -0
  173. package/src/movethewheels/pages/ImportExportPage.tsx +165 -0
  174. package/src/movethewheels/pages/InventoryPage.tsx +212 -0
  175. package/src/movethewheels/pages/LiveTrackingPage.tsx +325 -0
  176. package/src/movethewheels/pages/MarketplacePage.tsx +235 -0
  177. package/src/movethewheels/pages/OrderDetailsPage.tsx +387 -0
  178. package/src/movethewheels/pages/OrdersListPage.tsx +241 -0
  179. package/src/movethewheels/pages/ProductDetailsPage.tsx +155 -0
  180. package/src/movethewheels/pages/ProductsPage.tsx +124 -0
  181. package/src/movethewheels/pages/ReportsPage.tsx +164 -0
  182. package/src/movethewheels/pages/RouteDetailsPage.tsx +245 -0
  183. package/src/movethewheels/pages/RoutesPage.tsx +104 -0
  184. package/src/movethewheels/pages/SettingsPage.tsx +242 -0
  185. package/src/movethewheels/pages/TrackingPage.tsx +419 -0
  186. package/src/movethewheels/pages/VehicleDetailsPage.tsx +218 -0
  187. package/src/movethewheels/pages/VehiclesPage.tsx +124 -0
  188. package/src/movethewheels/pages/WarehouseDetailsPage.tsx +216 -0
  189. package/src/movethewheels/pages/WarehousesPage.tsx +122 -0
  190. package/src/movethewheels/providers/MoveTheWheelsProvider.tsx +66 -0
  191. package/src/movethewheels/store/movethewheelsStore.ts +136 -0
  192. package/src/movethewheels/types/index.ts +744 -0
  193. package/src/movethewheels/utils/cn.ts +9 -0
  194. package/src/movethewheels/utils/formatters.ts +215 -0
  195. package/src/movethewheels/utils/graphqlClient.ts +63 -0
  196. package/src/movethewheels/utils/index.ts +8 -0
  197. package/src/movethewheels/utils/navigation.ts +70 -0
  198. package/src/operations/global/.gitkeep +0 -0
  199. package/src/operations/wspace/movethewheels/fragments/core.graphql +191 -0
  200. package/src/operations/wspace/movethewheels/mutations/entities.graphql +87 -0
  201. package/src/operations/wspace/movethewheels/mutations/logistics.graphql +86 -0
  202. package/src/operations/wspace/movethewheels/mutations/marketplace-reports.graphql +81 -0
  203. package/src/operations/wspace/movethewheels/mutations/orders.graphql +21 -0
  204. package/src/operations/wspace/movethewheels/queries/dashboard.graphql +61 -0
  205. package/src/operations/wspace/movethewheels/queries/entities.graphql +83 -0
  206. package/src/operations/wspace/movethewheels/queries/logistics.graphql +84 -0
  207. package/src/operations/wspace/movethewheels/queries/marketplace-reports.graphql +40 -0
  208. package/src/operations/wspace/movethewheels/queries/orders.graphql +43 -0
package/dist/index.js ADDED
@@ -0,0 +1,772 @@
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 de, b as fe, c as pe, d as me, et as he, f as ge, g as _e, h as ve, i as _, it as v, j as y, k as b, l as x, m as S, n as C, nt as w, o as T, p as E, q as D, r as O, s as k, t as A, tt as j, u as M, v as N, w as P, x as F, y as ye, z as be } from "./PageLayout-B7b0vl0R.js";
2
+ import { t as xe } from "./DataTable-CRIKfdIN.js";
3
+ import { n as Se, t as Ce } from "./route-Ce_poKFi.js";
4
+ import { t as we } from "./chart-column-DWwVEVQ-.js";
5
+ import { t as Te } from "./dollar-sign-CP9qeU5d.js";
6
+ import { t as Ee } from "./file-text-Dd_thxkn.js";
7
+ import { n as De, t as Oe } from "./settings-C4kIDsYg.js";
8
+ import { t as ke } from "./map-BqH1cBJi.js";
9
+ import { t as Ae } from "./package-DVZbDRcV.js";
10
+ import { t as je } from "./store-DTmQT5M0.js";
11
+ import { t as I } from "./truck-BmDAzu05.js";
12
+ import { t as Me } from "./users-i-igmsP4.js";
13
+ import { t as L } from "./warehouse-DewG0PXh.js";
14
+ import { i as Ne, n as Pe, r as Fe } from "./graphqlClient-CdJyR_ed.js";
15
+ import { n as Ie, r as Le, t as Re } from "./useOrders-D_3_hGMp.js";
16
+ import { a as ze, i as Be, n as Ve, o as He, r as Ue, t as We } from "./useFleet-BdETplNE.js";
17
+ import { a as Ge, i as Ke, n as qe, o as Je, r as Ye, t as Xe } from "./useInventory-Dwn18FPz.js";
18
+ import { n as Ze, r as Qe, t as $e } from "./useCustomers-bS3a4ytk.js";
19
+ import { n as et, r as tt, t as nt } from "./useRoutes-v4aBaS-E.js";
20
+ import { a as rt, i as it, n as at, o as ot, r as st, t as ct } from "./useAnalytics-ph7eTIK6.js";
21
+ import { a as lt, i as ut, n as dt, o as ft, r as pt, s as mt, t as ht } from "./useTracking-De2KIUNu.js";
22
+ import { n as gt, r as _t, t as vt } from "./MetricCard-GTbxAk1a.js";
23
+ import { a as yt, i as bt, n as xt, r as St, t as Ct } from "./StatusBadge-BrrwraIA.js";
24
+ import { Suspense as wt, lazy as R, useEffect as z } from "react";
25
+ import { Navigate as Tt, Route as B, Routes as Et } from "react-router-dom";
26
+ import { jsx as V, jsxs as H } from "react/jsx-runtime";
27
+ import { FeatureFlagProvider as Dt } from "@burdenoff/fe-libs/shared/feature-flags";
28
+ import { create as Ot } from "zustand";
29
+ import { createProfileScopedStorage as kt } from "@burdenoff/fe-libs/shared/utils";
30
+ //#region node_modules/lucide-react/dist/esm/icons/boxes.js
31
+ var At = v("Boxes", [
32
+ ["path", {
33
+ 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",
34
+ key: "lc1i9w"
35
+ }],
36
+ ["path", {
37
+ d: "m7 16.5-4.74-2.85",
38
+ key: "1o9zyk"
39
+ }],
40
+ ["path", {
41
+ d: "m7 16.5 5-3",
42
+ key: "va8pkn"
43
+ }],
44
+ ["path", {
45
+ d: "M7 16.5v5.17",
46
+ key: "jnp8gn"
47
+ }],
48
+ ["path", {
49
+ 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",
50
+ key: "8zsnat"
51
+ }],
52
+ ["path", {
53
+ d: "m17 16.5-5-3",
54
+ key: "8arw3v"
55
+ }],
56
+ ["path", {
57
+ d: "m17 16.5 4.74-2.85",
58
+ key: "8rfmw"
59
+ }],
60
+ ["path", {
61
+ d: "M17 16.5v5.17",
62
+ key: "k6z78m"
63
+ }],
64
+ ["path", {
65
+ 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",
66
+ key: "1xygjf"
67
+ }],
68
+ ["path", {
69
+ d: "M12 8 7.26 5.15",
70
+ key: "1vbdud"
71
+ }],
72
+ ["path", {
73
+ d: "m12 8 4.74-2.85",
74
+ key: "3rx089"
75
+ }],
76
+ ["path", {
77
+ d: "M12 13.5V8",
78
+ key: "1io7kd"
79
+ }]
80
+ ]), jt = v("Car", [
81
+ ["path", {
82
+ 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",
83
+ key: "5owen"
84
+ }],
85
+ ["circle", {
86
+ cx: "7",
87
+ cy: "17",
88
+ r: "2",
89
+ key: "u2ysq9"
90
+ }],
91
+ ["path", {
92
+ d: "M9 17h6",
93
+ key: "r8uit2"
94
+ }],
95
+ ["circle", {
96
+ cx: "17",
97
+ cy: "17",
98
+ r: "2",
99
+ key: "axvx0g"
100
+ }]
101
+ ]), U = v("LayoutDashboard", [
102
+ ["rect", {
103
+ width: "7",
104
+ height: "9",
105
+ x: "3",
106
+ y: "3",
107
+ rx: "1",
108
+ key: "10lvy0"
109
+ }],
110
+ ["rect", {
111
+ width: "7",
112
+ height: "5",
113
+ x: "14",
114
+ y: "3",
115
+ rx: "1",
116
+ key: "16une8"
117
+ }],
118
+ ["rect", {
119
+ width: "7",
120
+ height: "9",
121
+ x: "14",
122
+ y: "12",
123
+ rx: "1",
124
+ key: "1hutg5"
125
+ }],
126
+ ["rect", {
127
+ width: "7",
128
+ height: "5",
129
+ x: "3",
130
+ y: "16",
131
+ rx: "1",
132
+ key: "ldoo1y"
133
+ }]
134
+ ]), Mt = v("UserCheck", [
135
+ ["path", {
136
+ d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",
137
+ key: "1yyitq"
138
+ }],
139
+ ["circle", {
140
+ cx: "9",
141
+ cy: "7",
142
+ r: "4",
143
+ key: "nufk8"
144
+ }],
145
+ ["polyline", {
146
+ points: "16 11 18 13 22 9",
147
+ key: "1pwet4"
148
+ }]
149
+ ]);
150
+ //#endregion
151
+ //#region src/movethewheels/MoveTheWheelsRoutes.tsx
152
+ function Nt() {
153
+ return /* @__PURE__ */ V("div", {
154
+ className: "flex items-center justify-center min-h-[400px]",
155
+ children: /* @__PURE__ */ H("div", {
156
+ className: "flex flex-col items-center gap-3",
157
+ children: [/* @__PURE__ */ V("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }), /* @__PURE__ */ V("p", {
158
+ className: "text-sm text-muted-foreground",
159
+ children: "Loading..."
160
+ })]
161
+ })
162
+ });
163
+ }
164
+ var Pt = R(() => import("./DashboardPage-8iTPXRAG.js")), Ft = R(() => import("./OrdersListPage-CW5V0Uvh.js")), It = R(() => import("./OrderDetailsPage-BIuYG0ub.js")), W = R(() => import("./CreateOrderPage-Cprg4Y9V.js")), Lt = R(() => import("./TrackingPage-BGqHDh-w.js")), Rt = R(() => import("./LiveTrackingPage-Dp3rTJDr.js")), zt = R(() => import("./FleetPage-CHYETCWT.js")), Bt = R(() => import("./VehiclesPage-Cs4XxHkA.js")), Vt = R(() => import("./VehicleDetailsPage-XnDH4iQR.js")), Ht = R(() => import("./DriversPage-16O8fVmf.js")), Ut = R(() => import("./DriverDetailsPage-CRyRCno7.js")), Wt = R(() => import("./InventoryPage--822AxZM.js")), Gt = R(() => import("./ProductsPage-CUj9JpnW.js")), Kt = R(() => import("./ProductDetailsPage-Q3X7AT-7.js")), qt = R(() => import("./WarehousesPage-QTiuDuXy.js")), Jt = R(() => import("./WarehouseDetailsPage-GemdMvr_.js")), Yt = R(() => import("./CustomersPage-CDjjeCEL.js")), G = R(() => import("./CustomerDetailsPage-DNDEw7IW.js")), Xt = R(() => import("./RoutesPage-8hrv6RWT.js")), K = R(() => import("./RouteDetailsPage-CLctgk6A.js")), Zt = R(() => import("./AnalyticsPage-DHTHCUtr.js")), Qt = R(() => import("./FinancePage-BYUxK5dR.js")), $t = R(() => import("./MarketplacePage-DjEqudfM.js")), en = R(() => import("./ImportExportPage-C3MKKxfc.js")), tn = R(() => import("./ReportsPage-DblO5CdJ.js")), nn = R(() => import("./SettingsPage-BJ5BQeqn.js")), rn = R(() => import("./AIAssistantPage-hD0VYJdH.js"));
165
+ function an() {
166
+ return /* @__PURE__ */ V(wt, {
167
+ fallback: /* @__PURE__ */ V(Nt, {}),
168
+ children: /* @__PURE__ */ H(Et, { children: [
169
+ /* @__PURE__ */ V(B, {
170
+ index: !0,
171
+ element: /* @__PURE__ */ V(Pt, {})
172
+ }),
173
+ /* @__PURE__ */ V(B, {
174
+ path: "orders",
175
+ element: /* @__PURE__ */ V(Ft, {})
176
+ }),
177
+ /* @__PURE__ */ V(B, {
178
+ path: "orders/new",
179
+ element: /* @__PURE__ */ V(W, {})
180
+ }),
181
+ /* @__PURE__ */ V(B, {
182
+ path: "orders/:orderId",
183
+ element: /* @__PURE__ */ V(It, {})
184
+ }),
185
+ /* @__PURE__ */ V(B, {
186
+ path: "orders/:orderId/edit",
187
+ element: /* @__PURE__ */ V(W, {})
188
+ }),
189
+ /* @__PURE__ */ V(B, {
190
+ path: "tracking",
191
+ element: /* @__PURE__ */ V(Lt, {})
192
+ }),
193
+ /* @__PURE__ */ V(B, {
194
+ path: "tracking/live",
195
+ element: /* @__PURE__ */ V(Rt, {})
196
+ }),
197
+ /* @__PURE__ */ V(B, {
198
+ path: "fleet",
199
+ element: /* @__PURE__ */ V(zt, {})
200
+ }),
201
+ /* @__PURE__ */ V(B, {
202
+ path: "fleet/vehicles",
203
+ element: /* @__PURE__ */ V(Bt, {})
204
+ }),
205
+ /* @__PURE__ */ V(B, {
206
+ path: "fleet/vehicles/:vehicleId",
207
+ element: /* @__PURE__ */ V(Vt, {})
208
+ }),
209
+ /* @__PURE__ */ V(B, {
210
+ path: "fleet/drivers",
211
+ element: /* @__PURE__ */ V(Ht, {})
212
+ }),
213
+ /* @__PURE__ */ V(B, {
214
+ path: "fleet/drivers/:driverId",
215
+ element: /* @__PURE__ */ V(Ut, {})
216
+ }),
217
+ /* @__PURE__ */ V(B, {
218
+ path: "inventory",
219
+ element: /* @__PURE__ */ V(Wt, {})
220
+ }),
221
+ /* @__PURE__ */ V(B, {
222
+ path: "inventory/products",
223
+ element: /* @__PURE__ */ V(Gt, {})
224
+ }),
225
+ /* @__PURE__ */ V(B, {
226
+ path: "inventory/products/:productId",
227
+ element: /* @__PURE__ */ V(Kt, {})
228
+ }),
229
+ /* @__PURE__ */ V(B, {
230
+ path: "inventory/warehouses",
231
+ element: /* @__PURE__ */ V(qt, {})
232
+ }),
233
+ /* @__PURE__ */ V(B, {
234
+ path: "inventory/warehouses/:warehouseId",
235
+ element: /* @__PURE__ */ V(Jt, {})
236
+ }),
237
+ /* @__PURE__ */ V(B, {
238
+ path: "customers",
239
+ element: /* @__PURE__ */ V(Yt, {})
240
+ }),
241
+ /* @__PURE__ */ V(B, {
242
+ path: "customers/new",
243
+ element: /* @__PURE__ */ V(G, {})
244
+ }),
245
+ /* @__PURE__ */ V(B, {
246
+ path: "customers/:customerId",
247
+ element: /* @__PURE__ */ V(G, {})
248
+ }),
249
+ /* @__PURE__ */ V(B, {
250
+ path: "routes",
251
+ element: /* @__PURE__ */ V(Xt, {})
252
+ }),
253
+ /* @__PURE__ */ V(B, {
254
+ path: "routes/new",
255
+ element: /* @__PURE__ */ V(K, {})
256
+ }),
257
+ /* @__PURE__ */ V(B, {
258
+ path: "routes/:routeId",
259
+ element: /* @__PURE__ */ V(K, {})
260
+ }),
261
+ /* @__PURE__ */ V(B, {
262
+ path: "analytics",
263
+ element: /* @__PURE__ */ V(Zt, {})
264
+ }),
265
+ /* @__PURE__ */ V(B, {
266
+ path: "finance",
267
+ element: /* @__PURE__ */ V(Qt, {})
268
+ }),
269
+ /* @__PURE__ */ V(B, {
270
+ path: "marketplace",
271
+ element: /* @__PURE__ */ V($t, {})
272
+ }),
273
+ /* @__PURE__ */ V(B, {
274
+ path: "import-export",
275
+ element: /* @__PURE__ */ V(en, {})
276
+ }),
277
+ /* @__PURE__ */ V(B, {
278
+ path: "reports",
279
+ element: /* @__PURE__ */ V(tn, {})
280
+ }),
281
+ /* @__PURE__ */ V(B, {
282
+ path: "ai-assistant",
283
+ element: /* @__PURE__ */ V(rn, {})
284
+ }),
285
+ /* @__PURE__ */ V(B, {
286
+ path: "settings",
287
+ element: /* @__PURE__ */ V(nn, {})
288
+ }),
289
+ /* @__PURE__ */ V(B, {
290
+ path: "*",
291
+ element: /* @__PURE__ */ V(Tt, {
292
+ to: "",
293
+ replace: !0
294
+ })
295
+ })
296
+ ] })
297
+ });
298
+ }
299
+ //#endregion
300
+ //#region src/movethewheels/MoveTheWheelsRoot.tsx
301
+ var on = (e) => {
302
+ let { registerNavItems: t, registerFooterItems: n, basePath: r = "/" } = e, i = (e, t) => (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
303
+ return z(() => {
304
+ if (t) return t({
305
+ id: "movethewheels",
306
+ label: "MoveTheWheels",
307
+ path: r,
308
+ icon: /* @__PURE__ */ V(I, { size: 20 }),
309
+ order: 25,
310
+ group: "workspace",
311
+ children: [
312
+ {
313
+ id: "mtw-dashboard",
314
+ label: "Dashboard",
315
+ path: r,
316
+ icon: /* @__PURE__ */ V(U, { size: 16 }),
317
+ order: 1
318
+ },
319
+ {
320
+ id: "mtw-orders",
321
+ label: "Orders",
322
+ path: i(r, "orders"),
323
+ icon: /* @__PURE__ */ V(Ae, { size: 16 }),
324
+ order: 2
325
+ },
326
+ {
327
+ id: "mtw-tracking",
328
+ label: "Tracking",
329
+ path: i(r, "tracking"),
330
+ icon: /* @__PURE__ */ V(ke, { size: 16 }),
331
+ order: 3
332
+ },
333
+ {
334
+ id: "mtw-fleet",
335
+ label: "Fleet",
336
+ path: i(r, "fleet"),
337
+ icon: /* @__PURE__ */ V(I, { size: 16 }),
338
+ order: 4,
339
+ children: [
340
+ {
341
+ id: "mtw-fleet-overview",
342
+ label: "Overview",
343
+ path: i(r, "fleet"),
344
+ icon: /* @__PURE__ */ V(U, { size: 14 }),
345
+ order: 1
346
+ },
347
+ {
348
+ id: "mtw-vehicles",
349
+ label: "Vehicles",
350
+ path: i(r, "fleet/vehicles"),
351
+ icon: /* @__PURE__ */ V(jt, { size: 14 }),
352
+ order: 2
353
+ },
354
+ {
355
+ id: "mtw-drivers",
356
+ label: "Drivers",
357
+ path: i(r, "fleet/drivers"),
358
+ icon: /* @__PURE__ */ V(Mt, { size: 14 }),
359
+ order: 3
360
+ }
361
+ ]
362
+ },
363
+ {
364
+ id: "mtw-inventory",
365
+ label: "Inventory",
366
+ path: i(r, "inventory"),
367
+ icon: /* @__PURE__ */ V(L, { size: 16 }),
368
+ order: 5,
369
+ children: [
370
+ {
371
+ id: "mtw-inventory-overview",
372
+ label: "Overview",
373
+ path: i(r, "inventory"),
374
+ icon: /* @__PURE__ */ V(U, { size: 14 }),
375
+ order: 1
376
+ },
377
+ {
378
+ id: "mtw-products",
379
+ label: "Products",
380
+ path: i(r, "inventory/products"),
381
+ icon: /* @__PURE__ */ V(At, { size: 14 }),
382
+ order: 2
383
+ },
384
+ {
385
+ id: "mtw-warehouses",
386
+ label: "Warehouses",
387
+ path: i(r, "inventory/warehouses"),
388
+ icon: /* @__PURE__ */ V(L, { size: 14 }),
389
+ order: 3
390
+ }
391
+ ]
392
+ },
393
+ {
394
+ id: "mtw-customers",
395
+ label: "Customers",
396
+ path: i(r, "customers"),
397
+ icon: /* @__PURE__ */ V(Me, { size: 16 }),
398
+ order: 6
399
+ },
400
+ {
401
+ id: "mtw-routes",
402
+ label: "Routes",
403
+ path: i(r, "routes"),
404
+ icon: /* @__PURE__ */ V(Ce, { size: 16 }),
405
+ order: 7
406
+ },
407
+ {
408
+ id: "mtw-analytics",
409
+ label: "Analytics",
410
+ path: i(r, "analytics"),
411
+ icon: /* @__PURE__ */ V(we, { size: 16 }),
412
+ order: 8
413
+ },
414
+ {
415
+ id: "mtw-finance",
416
+ label: "Finance",
417
+ path: i(r, "finance"),
418
+ icon: /* @__PURE__ */ V(Te, { size: 16 }),
419
+ order: 9
420
+ },
421
+ {
422
+ id: "mtw-marketplace",
423
+ label: "Marketplace",
424
+ path: i(r, "marketplace"),
425
+ icon: /* @__PURE__ */ V(je, { size: 16 }),
426
+ order: 10
427
+ },
428
+ {
429
+ id: "mtw-import-export",
430
+ label: "Import/Export",
431
+ path: i(r, "import-export"),
432
+ icon: /* @__PURE__ */ V(De, { size: 16 }),
433
+ order: 11
434
+ },
435
+ {
436
+ id: "mtw-reports",
437
+ label: "Reports",
438
+ path: i(r, "reports"),
439
+ icon: /* @__PURE__ */ V(Ee, { size: 16 }),
440
+ order: 12
441
+ },
442
+ {
443
+ id: "mtw-ai-assistant",
444
+ label: "AI Assistant",
445
+ path: i(r, "ai-assistant"),
446
+ icon: /* @__PURE__ */ V(Se, { size: 16 }),
447
+ order: 13
448
+ },
449
+ {
450
+ id: "mtw-settings",
451
+ label: "Settings",
452
+ path: i(r, "settings"),
453
+ icon: /* @__PURE__ */ V(Oe, { size: 16 }),
454
+ order: 99
455
+ }
456
+ ]
457
+ });
458
+ }, [t, r]), z(() => {
459
+ if (n) return n([{
460
+ id: "mtw-status",
461
+ label: "Logistics Ready",
462
+ type: "status",
463
+ order: 20,
464
+ section: "left"
465
+ }]);
466
+ }, [n]), /* @__PURE__ */ V(Dt, {
467
+ workspaceId: null,
468
+ gateway: "global",
469
+ defaultEnabled: !0,
470
+ children: /* @__PURE__ */ V(Pe, {
471
+ ...e,
472
+ children: /* @__PURE__ */ V("div", {
473
+ className: "movethewheels-root h-full",
474
+ children: /* @__PURE__ */ V(an, {})
475
+ })
476
+ })
477
+ });
478
+ }, q = (e) => !!e.dispatchFromDevtools && typeof e.dispatch == "function", J = /* @__PURE__ */ new Map(), Y = (e) => {
479
+ let t = J.get(e);
480
+ return t ? Object.fromEntries(Object.entries(t.stores).map(([e, t]) => [e, t.getState()])) : {};
481
+ }, sn = (e, t, n) => {
482
+ if (e === void 0) return {
483
+ type: "untracked",
484
+ connection: t.connect(n)
485
+ };
486
+ let r = J.get(n.name);
487
+ if (r) return {
488
+ type: "tracked",
489
+ store: e,
490
+ ...r
491
+ };
492
+ let i = {
493
+ connection: t.connect(n),
494
+ stores: {}
495
+ };
496
+ return J.set(n.name, i), {
497
+ type: "tracked",
498
+ store: e,
499
+ ...i
500
+ };
501
+ }, cn = (e, t) => {
502
+ if (t === void 0) return;
503
+ let n = J.get(e);
504
+ n && (delete n.stores[t], Object.keys(n.stores).length === 0 && J.delete(e));
505
+ }, ln = /.+ (.+) .+/, un = /^([^@]+)@/;
506
+ function X(e) {
507
+ if (!e) return;
508
+ let t = e.split("\n"), n = t.findIndex((e) => e.includes("api.setState"));
509
+ if (n < 0) return;
510
+ let r = t[n + 1]?.trim() || "";
511
+ return ln.exec(r)?.[1] || un.exec(r)?.[1];
512
+ }
513
+ var dn = (e, t = {}) => (n, r, i) => {
514
+ let { enabled: a, anonymousActionType: o, store: s, ...c } = t, l;
515
+ try {
516
+ l = (a ?? !1) && window.__REDUX_DEVTOOLS_EXTENSION__;
517
+ } catch {}
518
+ if (!l) return e(n, r, i);
519
+ let { connection: u, ...d } = sn(s, l, c), f = !0;
520
+ i.setState = ((e, t, a) => {
521
+ let l = n(e, t);
522
+ if (!f) return l;
523
+ let d = a === void 0 ? { type: o || X((/* @__PURE__ */ Error()).stack) || "anonymous" } : typeof a == "string" ? { type: a } : a;
524
+ return s === void 0 ? (u?.send(d, r()), l) : (u?.send({
525
+ ...d,
526
+ type: `${s}/${d.type}`
527
+ }, {
528
+ ...Y(c.name),
529
+ [s]: i.getState()
530
+ }), l);
531
+ }), i.devtools = { cleanup: () => {
532
+ u && typeof u.unsubscribe == "function" && u.unsubscribe(), cn(c.name, s);
533
+ } };
534
+ let p = (...e) => {
535
+ let t = f;
536
+ f = !1, n(...e), f = t;
537
+ }, m = e(i.setState, r, i);
538
+ 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)) {
539
+ let e = i.dispatch;
540
+ i.dispatch = (...t) => {
541
+ e(...t);
542
+ };
543
+ }
544
+ return u.subscribe((e) => {
545
+ switch (e.type) {
546
+ case "ACTION":
547
+ if (typeof e.payload != "string") {
548
+ console.error("[zustand devtools middleware] Unsupported action format");
549
+ return;
550
+ }
551
+ return Z(e.payload, (e) => {
552
+ if (e.type === "__setState") {
553
+ if (s === void 0) {
554
+ p(e.state);
555
+ return;
556
+ }
557
+ Object.keys(e.state).length !== 1 && console.error("\n [zustand devtools middleware] Unsupported __setState action format.\n When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),\n and value of this only key should be a state object. Example: { \"type\": \"__setState\", \"state\": { \"abc123Store\": { \"foo\": \"bar\" } } }\n ");
558
+ let t = e.state[s];
559
+ if (t == null) return;
560
+ JSON.stringify(i.getState()) !== JSON.stringify(t) && p(t);
561
+ return;
562
+ }
563
+ q(i) && i.dispatch(e);
564
+ });
565
+ case "DISPATCH":
566
+ switch (e.payload.type) {
567
+ case "RESET": return p(m), s === void 0 ? u?.init(i.getState()) : u?.init(Y(c.name));
568
+ case "COMMIT":
569
+ if (s === void 0) {
570
+ u?.init(i.getState());
571
+ return;
572
+ }
573
+ return u?.init(Y(c.name));
574
+ case "ROLLBACK": return Z(e.state, (e) => {
575
+ if (s === void 0) {
576
+ p(e), u?.init(i.getState());
577
+ return;
578
+ }
579
+ p(e[s]), u?.init(Y(c.name));
580
+ });
581
+ case "JUMP_TO_STATE":
582
+ case "JUMP_TO_ACTION": return Z(e.state, (e) => {
583
+ if (s === void 0) {
584
+ p(e);
585
+ return;
586
+ }
587
+ JSON.stringify(i.getState()) !== JSON.stringify(e[s]) && p(e[s]);
588
+ });
589
+ case "IMPORT_STATE": {
590
+ let { nextLiftedState: t } = e.payload, n = t.computedStates.slice(-1)[0]?.state;
591
+ if (!n) return;
592
+ p(s === void 0 ? n : n[s]), u?.send(null, t);
593
+ return;
594
+ }
595
+ case "PAUSE_RECORDING": return f = !f;
596
+ }
597
+ return;
598
+ }
599
+ }), m;
600
+ }, Z = (e, t) => {
601
+ let n;
602
+ try {
603
+ n = JSON.parse(e);
604
+ } catch (e) {
605
+ console.error("[zustand devtools middleware] Could not parse the received json", e);
606
+ }
607
+ n !== void 0 && t(n);
608
+ };
609
+ function fn(e, t) {
610
+ let n;
611
+ try {
612
+ n = e();
613
+ } catch {
614
+ return;
615
+ }
616
+ return {
617
+ getItem: (e) => {
618
+ let r = (e) => e === null ? null : JSON.parse(e, t?.reviver), i = n.getItem(e) ?? null;
619
+ return i instanceof Promise ? i.then(r) : r(i);
620
+ },
621
+ setItem: (e, r) => n.setItem(e, JSON.stringify(r, t?.replacer)),
622
+ removeItem: (e) => n.removeItem(e)
623
+ };
624
+ }
625
+ var Q = (e) => (t) => {
626
+ try {
627
+ let n = e(t);
628
+ return n instanceof Promise ? n : {
629
+ then(e) {
630
+ return Q(e)(n);
631
+ },
632
+ catch(e) {
633
+ return this;
634
+ }
635
+ };
636
+ } catch (e) {
637
+ return {
638
+ then(e) {
639
+ return this;
640
+ },
641
+ catch(t) {
642
+ return Q(t)(e);
643
+ }
644
+ };
645
+ }
646
+ }, pn = (e, t) => (n, r, i) => {
647
+ let a = {
648
+ storage: fn(() => window.localStorage),
649
+ partialize: (e) => e,
650
+ version: 0,
651
+ merge: (e, t) => ({
652
+ ...t,
653
+ ...e
654
+ }),
655
+ ...t
656
+ }, o = !1, s = 0, c = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Set(), u = a.storage;
657
+ if (!u) return e((...e) => {
658
+ console.warn(`[zustand persist middleware] Unable to update item '${a.name}', the given storage is currently unavailable.`), n(...e);
659
+ }, r, i);
660
+ let d = () => {
661
+ let e = a.partialize({ ...r() });
662
+ return u.setItem(a.name, {
663
+ state: e,
664
+ version: a.version
665
+ });
666
+ }, f = i.setState;
667
+ i.setState = (e, t) => (f(e, t), d());
668
+ let p = e((...e) => (n(...e), d()), r, i);
669
+ i.getInitialState = () => p;
670
+ let m, h = () => {
671
+ if (!u) return;
672
+ let e = ++s;
673
+ o = !1, c.forEach((e) => e(r() ?? p));
674
+ let t = a.onRehydrateStorage?.call(a, r() ?? p) || void 0;
675
+ return Q(u.getItem.bind(u))(a.name).then((e) => {
676
+ if (e) if (typeof e.version == "number" && e.version !== a.version) {
677
+ if (a.migrate) {
678
+ let t = a.migrate(e.state, e.version);
679
+ return t instanceof Promise ? t.then((e) => [!0, e]) : [!0, t];
680
+ }
681
+ console.error("State loaded from storage couldn't be migrated since no migrate function was provided");
682
+ } else return [!1, e.state];
683
+ return [!1, void 0];
684
+ }).then((t) => {
685
+ if (e !== s) return;
686
+ let [i, o] = t;
687
+ if (m = a.merge(o, r() ?? p), n(m, !0), i) return d();
688
+ }).then(() => {
689
+ e === s && (t?.(r(), void 0), m = r(), o = !0, l.forEach((e) => e(m)));
690
+ }).catch((n) => {
691
+ e === s && t?.(void 0, n);
692
+ });
693
+ };
694
+ return i.persist = {
695
+ setOptions: (e) => {
696
+ a = {
697
+ ...a,
698
+ ...e
699
+ }, e.storage && (u = e.storage);
700
+ },
701
+ clearStorage: () => {
702
+ u?.removeItem(a.name);
703
+ },
704
+ getOptions: () => a,
705
+ rehydrate: () => h(),
706
+ hasHydrated: () => o,
707
+ onHydrate: (e) => (c.add(e), () => {
708
+ c.delete(e);
709
+ }),
710
+ onFinishHydration: (e) => (l.add(e), () => {
711
+ l.delete(e);
712
+ })
713
+ }, a.skipHydration || h(), m || p;
714
+ }, $ = {
715
+ viewMode: "table",
716
+ sidebarCollapsed: !1,
717
+ selectedOrderId: null,
718
+ selectedVehicleId: null,
719
+ selectedDriverId: null,
720
+ selectedCustomerId: null,
721
+ selectedWarehouseId: null,
722
+ selectedRouteId: null,
723
+ orderFilters: {},
724
+ fleetFilters: {},
725
+ inventoryFilters: {},
726
+ customerFilters: {},
727
+ globalSearch: ""
728
+ }, mn = Ot()(dn(pn((e) => ({
729
+ ...$,
730
+ setViewMode: (t) => e({ viewMode: t }),
731
+ setSidebarCollapsed: (t) => e({ sidebarCollapsed: t }),
732
+ toggleSidebar: () => e((e) => ({ sidebarCollapsed: !e.sidebarCollapsed })),
733
+ setSelectedOrderId: (t) => e({ selectedOrderId: t }),
734
+ setSelectedVehicleId: (t) => e({ selectedVehicleId: t }),
735
+ setSelectedDriverId: (t) => e({ selectedDriverId: t }),
736
+ setSelectedCustomerId: (t) => e({ selectedCustomerId: t }),
737
+ setSelectedWarehouseId: (t) => e({ selectedWarehouseId: t }),
738
+ setSelectedRouteId: (t) => e({ selectedRouteId: t }),
739
+ setOrderFilters: (t) => e((e) => ({ orderFilters: {
740
+ ...e.orderFilters,
741
+ ...t
742
+ } })),
743
+ setFleetFilters: (t) => e((e) => ({ fleetFilters: {
744
+ ...e.fleetFilters,
745
+ ...t
746
+ } })),
747
+ setInventoryFilters: (t) => e((e) => ({ inventoryFilters: {
748
+ ...e.inventoryFilters,
749
+ ...t
750
+ } })),
751
+ setCustomerFilters: (t) => e((e) => ({ customerFilters: {
752
+ ...e.customerFilters,
753
+ ...t
754
+ } })),
755
+ clearAllFilters: () => e({
756
+ orderFilters: {},
757
+ fleetFilters: {},
758
+ inventoryFilters: {},
759
+ customerFilters: {}
760
+ }),
761
+ setGlobalSearch: (t) => e({ globalSearch: t }),
762
+ reset: () => e($)
763
+ }), {
764
+ name: "movethewheels-storage",
765
+ storage: kt(),
766
+ partialize: (e) => ({
767
+ viewMode: e.viewMode,
768
+ sidebarCollapsed: e.sidebarCollapsed
769
+ })
770
+ }), { name: "MoveTheWheelsStore" }));
771
+ //#endregion
772
+ export { T as Avatar, k as AvatarFallback, pe as AvatarImage, x as Badge, M as Button, me as Card, ge as CardContent, E as CardDescription, S as CardFooter, ve as CardHeader, _e as CardTitle, ue as Checkbox, xe as DataTable, N as Dialog, ye as DialogContent, fe as DialogDescription, F as DialogFooter, ne as DialogHeader, r as DialogTitle, P as DialogTrigger, re as DropdownMenu, a as DropdownMenuContent, i as DropdownMenuItem, h as DropdownMenuSeparator, b as DropdownMenuTrigger, A as EmptyState, C as ErrorState, t as Input, y as Label, O as LoadingState, vt as MetricCard, gt as MetricCardSkeleton, _t as MetricGrid, on as MoveTheWheelsRoot, _ as PageLayout, de as PageSection, Ct as PaymentStatusBadge, xt as PriorityBadge, p as Progress, m as ScrollArea, g as Select, o as SelectContent, l as SelectItem, f as SelectTrigger, te as SelectValue, be as Separator, n as Skeleton, St as StatusBadge, ae as Switch, c as Table, ie as TableBody, oe as TableCell, s as TableHead, d as TableHeader, D as TableRow, u as Tabs, ce as TabsContent, se as TabsList, le as TabsTrigger, ee as Textarea, e as Tooltip, he as TooltipContent, j as TooltipProvider, w as TooltipTrigger, bt as TypeBadge, yt as VehicleTypeBadge, ct as useAnalytics, $e as useCustomer, Ze as useCustomerStats, Qe as useCustomers, at as useDashboardMetrics, We as useDriver, ht as useDriverTracking, Ve as useDrivers, Ue as useFleet, st as useFleetAnalytics, Be as useFleetStats, dt as useGeofence, Xe as useInventory, qe as useInventoryStats, pt as useLiveTracking, Fe as useMoveTheWheels, Ne as useMoveTheWheelsNavigate, mn as useMoveTheWheelsStore, Re as useOrder, it as useOrderAnalytics, Ie as useOrderStats, ut as useOrderTracking, Le as useOrders, rt as usePerformanceAnalytics, Ye as useProduct, Ke as useProducts, ot as useRevenueAnalytics, nt as useRoute, et as useRouteStats, tt as useRoutes, lt as useTracking, ft as useTrackingAlerts, ze as useVehicle, mt as useVehicleTracking, He as useVehicles, Ge as useWarehouse, Je as useWarehouses };