@burdenoff/microfe-movethewheels 2026.703.1 → 2026.703.2

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 (69) hide show
  1. package/dist/{AIAssistantPage-C3ovZ0Fh.js → AIAssistantPage-C3cPsWt-.js} +1 -1
  2. package/dist/{AnalyticsPage-O8SpY-V4.js → AnalyticsPage-Dz6g2MvK.js} +6 -6
  3. package/dist/{CreateOrderPage-CB1_-_mN.js → CreateOrderPage-C5iwnjp4.js} +29 -58
  4. package/dist/CustomerDetailsPage-B6nwFyLO.js +406 -0
  5. package/dist/{CustomersPage-DRaLuHMC.js → CustomersPage-2Y05LVyh.js} +4 -4
  6. package/dist/{DashboardPage-DPjhNfKB.js → DashboardPage-BVjQi0EB.js} +11 -11
  7. package/dist/DriverDetailsPage-CN3WQ0B9.js +507 -0
  8. package/dist/{DriversPage-C2Bk0w4Q.js → DriversPage-B0Zpx8OQ.js} +5 -5
  9. package/dist/{FinancePage-lmp0Sdsw.js → FinancePage-DEDykSOP.js} +5 -5
  10. package/dist/{FleetPage-DZn5pIqd.js → FleetPage-DqkFi3s3.js} +5 -5
  11. package/dist/FormError-BlOjnXOq.js +15 -0
  12. package/dist/{ImportExportPage-BIUJZc7O.js → ImportExportPage-DKJRCezl.js} +1 -1
  13. package/dist/{InventoryPage-Cxh1zYJd.js → InventoryPage-DwfgCUQq.js} +5 -5
  14. package/dist/{LiveTrackingPage-BY1yAkIt.js → LiveTrackingPage-DCX-K-LR.js} +5 -5
  15. package/dist/{MarketplacePage-RMuL17EA.js → MarketplacePage-CIQ97_zp.js} +1 -1
  16. package/dist/{OrderDetailsPage-C2Mf4KSy.js → OrderDetailsPage-DYiZ-9UK.js} +5 -5
  17. package/dist/{OrdersListPage-BrPBtnhp.js → OrdersListPage-BjDlCKJd.js} +3 -3
  18. package/dist/ProductDetailsPage-C9uOiYLp.js +350 -0
  19. package/dist/{ProductsPage-I5DilIoY.js → ProductsPage-C1G9h7Xd.js} +3 -3
  20. package/dist/{ReportsPage-BDXNmUng.js → ReportsPage-Zp53q3_8.js} +2 -2
  21. package/dist/RouteDetailsPage-DUStXSf9.js +531 -0
  22. package/dist/{RoutesPage-lqX9ylHP.js → RoutesPage-DMfoicM1.js} +3 -3
  23. package/dist/{SettingsPage-CQVIOaNs.js → SettingsPage-Bn-v0mbQ.js} +1 -1
  24. package/dist/{TrackingPage-BXrjz7V8.js → TrackingPage-W-jtdM3Y.js} +4 -4
  25. package/dist/VehicleDetailsPage-Bceo5oz3.js +410 -0
  26. package/dist/{VehiclesPage-6W39XT5W.js → VehiclesPage-VBtOep91.js} +4 -4
  27. package/dist/WarehouseDetailsPage-L_6sWigM.js +493 -0
  28. package/dist/{WarehousesPage-CHvBqNaQ.js → WarehousesPage-DCbXXXWE.js} +3 -3
  29. package/dist/index.js +154 -138
  30. package/dist/trash-2-BKhar6Hs.js +32 -0
  31. package/dist/{useFleet-DiAC-IiH.js → useFleet-DKqXZ16m.js} +77 -56
  32. package/dist/{useInventory-DKoks37x.js → useInventory-DkyiVY_A.js} +73 -53
  33. package/dist/{useTracking-GJify4HN.js → useTracking-B-va1kO3.js} +2 -2
  34. package/package.json +1 -1
  35. package/src/movethewheels/MoveTheWheelsRoutes.tsx +4 -0
  36. package/src/movethewheels/components/FormError.tsx +25 -0
  37. package/src/movethewheels/hooks/useFleet.ts +107 -0
  38. package/src/movethewheels/hooks/useInventory.ts +107 -0
  39. package/src/movethewheels/pages/CustomerDetailsPage.tsx +153 -20
  40. package/src/movethewheels/pages/DriverDetailsPage.tsx +159 -2
  41. package/src/movethewheels/pages/DriversPage.tsx +5 -1
  42. package/src/movethewheels/pages/ProductDetailsPage.tsx +146 -3
  43. package/src/movethewheels/pages/ProductsPage.tsx +5 -1
  44. package/src/movethewheels/pages/RouteDetailsPage.tsx +285 -25
  45. package/src/movethewheels/pages/VehicleDetailsPage.tsx +158 -2
  46. package/src/movethewheels/pages/VehiclesPage.tsx +5 -1
  47. package/src/movethewheels/pages/WarehouseDetailsPage.tsx +224 -2
  48. package/src/movethewheels/pages/WarehousesPage.tsx +5 -1
  49. package/dist/CustomerDetailsPage-BaeKEI1D.js +0 -263
  50. package/dist/DriverDetailsPage-CSSQTOzn.js +0 -328
  51. package/dist/ProductDetailsPage-CezzzZcj.js +0 -193
  52. package/dist/RouteDetailsPage-BcomL20M.js +0 -263
  53. package/dist/VehicleDetailsPage-DZjLcJgr.js +0 -218
  54. package/dist/WarehouseDetailsPage-C10pgRGW.js +0 -236
  55. /package/dist/{MetricCard-7aYgzZHK.js → MetricCard-BY0QrMD4.js} +0 -0
  56. /package/dist/{StatusBadge-NpTeHVlw.js → StatusBadge-BZurYHMy.js} +0 -0
  57. /package/dist/{formatters-DhKZ-eA1.js → formatters-CF2S2l1m.js} +0 -0
  58. /package/dist/{trending-up-B7W-GL6P.js → trending-up-Dohgd4t_.js} +0 -0
  59. /package/dist/{triangle-alert-BonHFFNz.js → triangle-alert-i-XQL9Rd.js} +0 -0
  60. /package/dist/{truck-DrlfSpRC.js → truck-C0v_hbLR.js} +0 -0
  61. /package/dist/{useAnalytics-CgdzUfY_.js → useAnalytics-DS8n0xgg.js} +0 -0
  62. /package/dist/{useCustomers-QrlozybF.js → useCustomers-BmTNGxiI.js} +0 -0
  63. /package/dist/{useImportExport-BLMnAKCC.js → useImportExport-DHr-SWSw.js} +0 -0
  64. /package/dist/{useOrders-D3UZVy8Y.js → useOrders-Cfk1GLiq.js} +0 -0
  65. /package/dist/{useReports-Puq4DCH9.js → useReports-CTqZr-AB.js} +0 -0
  66. /package/dist/{useRoutes-Do57LvRb.js → useRoutes-BQWO607N.js} +0 -0
  67. /package/dist/{user-CjSoudeu.js → user-jyFU3lXk.js} +0 -0
  68. /package/dist/{users-BAM4gHTn.js → users-DZ-ilS6B.js} +0 -0
  69. /package/dist/{warehouse-C7MSr47B.js → warehouse-6m5kXMLu.js} +0 -0
package/dist/index.js CHANGED
@@ -1,36 +1,36 @@
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 v, j as y, k as b, l as x, lt as S, m as C, n as w, nt as T, o as E, ot as D, p as O, q as k, r as A, s as j, st as M, t as N, tt as P, u as F, v as ye, w as be, x as xe, y as Se, z as Ce } from "./PageLayout-D4LDHJJq.js";
2
- import { t as we } from "./DataTable-DmciIKKM.js";
3
- import { n as Te, r as Ee, t as De } from "./useAssistant-D4v3oxD3.js";
4
- import { t as Oe } from "./chart-column-BFIJysDR.js";
5
- import { t as ke } from "./dollar-sign-CgKQRz_e.js";
6
- import { t as Ae } from "./file-text-DWWY6_f5.js";
7
- import { n as je, r as Me, t as Ne } from "./useSettings-CkDH_-gM.js";
8
- import { t as Pe } from "./map-CkJaULb2.js";
9
- import { t as Fe } from "./package-BChUzpJS.js";
10
- import { t as Ie } from "./store-BR9Voi5E.js";
11
- import { t as I } from "./truck-DrlfSpRC.js";
12
- import { t as Le } from "./users-BAM4gHTn.js";
13
- import { t as L } from "./warehouse-C7MSr47B.js";
14
- import { n as Re, r as ze, t as Be } from "./useOrders-D3UZVy8Y.js";
15
- import { a as Ve, i as He, n as Ue, o as We, r as Ge, t as Ke } from "./useFleet-DiAC-IiH.js";
16
- import { a as qe, i as Je, n as Ye, o as Xe, r as Ze, t as Qe } from "./useInventory-DKoks37x.js";
17
- import { n as $e, r as et, t as tt } from "./useCustomers-QrlozybF.js";
18
- import { n as nt, r as rt, t as it } from "./useRoutes-Do57LvRb.js";
19
- import { a as at, i as ot, n as st, o as ct, r as lt, t as ut } from "./useAnalytics-CgdzUfY_.js";
20
- import { a as dt, i as ft, n as pt, o as mt, r as ht, s as gt, t as _t } from "./useTracking-GJify4HN.js";
21
- import { t as vt } from "./useReports-Puq4DCH9.js";
22
- import { t as yt } from "./useImportExport-BLMnAKCC.js";
23
- import { n as bt, r as xt, t as St } from "./MetricCard-7aYgzZHK.js";
24
- import { a as Ct, i as wt, n as Tt, r as Et, t as Dt } from "./StatusBadge-NpTeHVlw.js";
25
- import { Suspense as Ot, lazy as R, useEffect as z } from "react";
26
- import { Route as B, Routes as kt, useNavigate as At } from "react-router-dom";
27
- import { jsx as V, jsxs as H } from "react/jsx-runtime";
28
- import { FeatureFlagProvider as jt } from "@burdenoff/fe-libs/shared/feature-flags";
29
- import { NotFoundPage as Mt } from "@burdenoff/fe-libs/shared/pages";
30
- import { create as Nt } from "zustand";
31
- import { createProfileScopedStorage as Pt } 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 _, 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";
32
32
  //#region node_modules/lucide-react/dist/esm/icons/boxes.js
33
- var Ft = S("Boxes", [
33
+ var zt = v("Boxes", [
34
34
  ["path", {
35
35
  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
36
  key: "lc1i9w"
@@ -79,7 +79,7 @@ var Ft = S("Boxes", [
79
79
  d: "M12 13.5V8",
80
80
  key: "1io7kd"
81
81
  }]
82
- ]), It = S("Car", [
82
+ ]), Bt = v("Car", [
83
83
  ["path", {
84
84
  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
85
  key: "5owen"
@@ -100,7 +100,7 @@ var Ft = S("Boxes", [
100
100
  r: "2",
101
101
  key: "axvx0g"
102
102
  }]
103
- ]), U = S("LayoutDashboard", [
103
+ ]), z = v("LayoutDashboard", [
104
104
  ["rect", {
105
105
  width: "7",
106
106
  height: "9",
@@ -133,7 +133,7 @@ var Ft = S("Boxes", [
133
133
  rx: "1",
134
134
  key: "ldoo1y"
135
135
  }]
136
- ]), Lt = S("UserCheck", [
136
+ ]), Vt = v("UserCheck", [
137
137
  ["path", {
138
138
  d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",
139
139
  key: "1yyitq"
@@ -151,155 +151,171 @@ var Ft = S("Boxes", [
151
151
  ]);
152
152
  //#endregion
153
153
  //#region src/movethewheels/MoveTheWheelsRoutes.tsx
154
- function Rt() {
155
- let { navigate: e, basePath: t } = D(), n = At();
156
- return /* @__PURE__ */ V(Mt, {
154
+ function Ht() {
155
+ let { navigate: e, basePath: t } = C(), n = Pt();
156
+ return /* @__PURE__ */ L(It, {
157
157
  homeLabel: "Back to MoveTheWheels",
158
158
  onGoHome: () => {
159
159
  e ? e(t || "/") : n("/");
160
160
  }
161
161
  });
162
162
  }
163
- function zt() {
164
- return /* @__PURE__ */ V("div", {
163
+ function Ut() {
164
+ return /* @__PURE__ */ L("div", {
165
165
  className: "flex items-center justify-center min-h-[400px]",
166
- children: /* @__PURE__ */ H("div", {
166
+ children: /* @__PURE__ */ R("div", {
167
167
  className: "flex flex-col items-center gap-3",
168
- children: [/* @__PURE__ */ V("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }), /* @__PURE__ */ V("p", {
168
+ children: [/* @__PURE__ */ L("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }), /* @__PURE__ */ L("p", {
169
169
  className: "text-sm text-text-secondary",
170
170
  children: "Loading..."
171
171
  })]
172
172
  })
173
173
  });
174
174
  }
175
- var Bt = R(() => import("./DashboardPage-DPjhNfKB.js")), Vt = R(() => import("./OrdersListPage-BrPBtnhp.js")), Ht = R(() => import("./OrderDetailsPage-C2Mf4KSy.js")), W = R(() => import("./CreateOrderPage-CB1_-_mN.js")), Ut = R(() => import("./TrackingPage-BXrjz7V8.js")), Wt = R(() => import("./LiveTrackingPage-BY1yAkIt.js")), Gt = R(() => import("./FleetPage-DZn5pIqd.js")), Kt = R(() => import("./VehiclesPage-6W39XT5W.js")), qt = R(() => import("./VehicleDetailsPage-DZjLcJgr.js")), Jt = R(() => import("./DriversPage-C2Bk0w4Q.js")), Yt = R(() => import("./DriverDetailsPage-CSSQTOzn.js")), Xt = R(() => import("./InventoryPage-Cxh1zYJd.js")), Zt = R(() => import("./ProductsPage-I5DilIoY.js")), Qt = R(() => import("./ProductDetailsPage-CezzzZcj.js")), $t = R(() => import("./WarehousesPage-CHvBqNaQ.js")), en = R(() => import("./WarehouseDetailsPage-C10pgRGW.js")), tn = R(() => import("./CustomersPage-DRaLuHMC.js")), G = R(() => import("./CustomerDetailsPage-BaeKEI1D.js")), nn = R(() => import("./RoutesPage-lqX9ylHP.js")), K = R(() => import("./RouteDetailsPage-BcomL20M.js")), rn = R(() => import("./AnalyticsPage-O8SpY-V4.js")), an = R(() => import("./FinancePage-lmp0Sdsw.js")), on = R(() => import("./MarketplacePage-RMuL17EA.js")), sn = R(() => import("./ImportExportPage-BIUJZc7O.js")), q = R(() => import("./ReportsPage-BDXNmUng.js")), cn = R(() => import("./SettingsPage-CQVIOaNs.js")), ln = R(() => import("./AIAssistantPage-C3ovZ0Fh.js"));
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
176
  function un() {
177
- return /* @__PURE__ */ V(Ot, {
178
- fallback: /* @__PURE__ */ V(zt, {}),
179
- children: /* @__PURE__ */ H(kt, { children: [
180
- /* @__PURE__ */ V(B, {
177
+ return /* @__PURE__ */ L(Mt, {
178
+ fallback: /* @__PURE__ */ L(Ut, {}),
179
+ children: /* @__PURE__ */ R(Nt, { children: [
180
+ /* @__PURE__ */ L(I, {
181
181
  index: !0,
182
- element: /* @__PURE__ */ V(Bt, {})
182
+ element: /* @__PURE__ */ L(Wt, {})
183
183
  }),
184
- /* @__PURE__ */ V(B, {
184
+ /* @__PURE__ */ L(I, {
185
185
  path: "orders",
186
- element: /* @__PURE__ */ V(Vt, {})
186
+ element: /* @__PURE__ */ L(Gt, {})
187
187
  }),
188
- /* @__PURE__ */ V(B, {
188
+ /* @__PURE__ */ L(I, {
189
189
  path: "orders/new",
190
- element: /* @__PURE__ */ V(W, {})
190
+ element: /* @__PURE__ */ L(B, {})
191
191
  }),
192
- /* @__PURE__ */ V(B, {
192
+ /* @__PURE__ */ L(I, {
193
193
  path: "orders/:orderId",
194
- element: /* @__PURE__ */ V(Ht, {})
194
+ element: /* @__PURE__ */ L(Kt, {})
195
195
  }),
196
- /* @__PURE__ */ V(B, {
196
+ /* @__PURE__ */ L(I, {
197
197
  path: "orders/:orderId/edit",
198
- element: /* @__PURE__ */ V(W, {})
198
+ element: /* @__PURE__ */ L(B, {})
199
199
  }),
200
- /* @__PURE__ */ V(B, {
200
+ /* @__PURE__ */ L(I, {
201
201
  path: "tracking",
202
- element: /* @__PURE__ */ V(Ut, {})
202
+ element: /* @__PURE__ */ L(qt, {})
203
203
  }),
204
- /* @__PURE__ */ V(B, {
204
+ /* @__PURE__ */ L(I, {
205
205
  path: "tracking/live",
206
- element: /* @__PURE__ */ V(Wt, {})
206
+ element: /* @__PURE__ */ L(Jt, {})
207
207
  }),
208
- /* @__PURE__ */ V(B, {
208
+ /* @__PURE__ */ L(I, {
209
209
  path: "fleet",
210
- element: /* @__PURE__ */ V(Gt, {})
210
+ element: /* @__PURE__ */ L(Yt, {})
211
211
  }),
212
- /* @__PURE__ */ V(B, {
212
+ /* @__PURE__ */ L(I, {
213
213
  path: "fleet/vehicles",
214
- element: /* @__PURE__ */ V(Kt, {})
214
+ element: /* @__PURE__ */ L(Xt, {})
215
215
  }),
216
- /* @__PURE__ */ V(B, {
216
+ /* @__PURE__ */ L(I, {
217
+ path: "fleet/vehicles/new",
218
+ element: /* @__PURE__ */ L(V, {})
219
+ }),
220
+ /* @__PURE__ */ L(I, {
217
221
  path: "fleet/vehicles/:vehicleId",
218
- element: /* @__PURE__ */ V(qt, {})
222
+ element: /* @__PURE__ */ L(V, {})
219
223
  }),
220
- /* @__PURE__ */ V(B, {
224
+ /* @__PURE__ */ L(I, {
221
225
  path: "fleet/drivers",
222
- element: /* @__PURE__ */ V(Jt, {})
226
+ element: /* @__PURE__ */ L(Zt, {})
227
+ }),
228
+ /* @__PURE__ */ L(I, {
229
+ path: "fleet/drivers/new",
230
+ element: /* @__PURE__ */ L(H, {})
223
231
  }),
224
- /* @__PURE__ */ V(B, {
232
+ /* @__PURE__ */ L(I, {
225
233
  path: "fleet/drivers/:driverId",
226
- element: /* @__PURE__ */ V(Yt, {})
234
+ element: /* @__PURE__ */ L(H, {})
227
235
  }),
228
- /* @__PURE__ */ V(B, {
236
+ /* @__PURE__ */ L(I, {
229
237
  path: "inventory",
230
- element: /* @__PURE__ */ V(Xt, {})
238
+ element: /* @__PURE__ */ L(Qt, {})
231
239
  }),
232
- /* @__PURE__ */ V(B, {
240
+ /* @__PURE__ */ L(I, {
233
241
  path: "inventory/products",
234
- element: /* @__PURE__ */ V(Zt, {})
242
+ element: /* @__PURE__ */ L($t, {})
235
243
  }),
236
- /* @__PURE__ */ V(B, {
244
+ /* @__PURE__ */ L(I, {
245
+ path: "inventory/products/new",
246
+ element: /* @__PURE__ */ L(U, {})
247
+ }),
248
+ /* @__PURE__ */ L(I, {
237
249
  path: "inventory/products/:productId",
238
- element: /* @__PURE__ */ V(Qt, {})
250
+ element: /* @__PURE__ */ L(U, {})
239
251
  }),
240
- /* @__PURE__ */ V(B, {
252
+ /* @__PURE__ */ L(I, {
241
253
  path: "inventory/warehouses",
242
- element: /* @__PURE__ */ V($t, {})
254
+ element: /* @__PURE__ */ L(en, {})
255
+ }),
256
+ /* @__PURE__ */ L(I, {
257
+ path: "inventory/warehouses/new",
258
+ element: /* @__PURE__ */ L(W, {})
243
259
  }),
244
- /* @__PURE__ */ V(B, {
260
+ /* @__PURE__ */ L(I, {
245
261
  path: "inventory/warehouses/:warehouseId",
246
- element: /* @__PURE__ */ V(en, {})
262
+ element: /* @__PURE__ */ L(W, {})
247
263
  }),
248
- /* @__PURE__ */ V(B, {
264
+ /* @__PURE__ */ L(I, {
249
265
  path: "customers",
250
- element: /* @__PURE__ */ V(tn, {})
266
+ element: /* @__PURE__ */ L(tn, {})
251
267
  }),
252
- /* @__PURE__ */ V(B, {
268
+ /* @__PURE__ */ L(I, {
253
269
  path: "customers/new",
254
- element: /* @__PURE__ */ V(G, {})
270
+ element: /* @__PURE__ */ L(G, {})
255
271
  }),
256
- /* @__PURE__ */ V(B, {
272
+ /* @__PURE__ */ L(I, {
257
273
  path: "customers/:customerId",
258
- element: /* @__PURE__ */ V(G, {})
274
+ element: /* @__PURE__ */ L(G, {})
259
275
  }),
260
- /* @__PURE__ */ V(B, {
276
+ /* @__PURE__ */ L(I, {
261
277
  path: "routes",
262
- element: /* @__PURE__ */ V(nn, {})
278
+ element: /* @__PURE__ */ L(nn, {})
263
279
  }),
264
- /* @__PURE__ */ V(B, {
280
+ /* @__PURE__ */ L(I, {
265
281
  path: "routes/new",
266
- element: /* @__PURE__ */ V(K, {})
282
+ element: /* @__PURE__ */ L(K, {})
267
283
  }),
268
- /* @__PURE__ */ V(B, {
284
+ /* @__PURE__ */ L(I, {
269
285
  path: "routes/:routeId",
270
- element: /* @__PURE__ */ V(K, {})
286
+ element: /* @__PURE__ */ L(K, {})
271
287
  }),
272
- /* @__PURE__ */ V(B, {
288
+ /* @__PURE__ */ L(I, {
273
289
  path: "analytics",
274
- element: /* @__PURE__ */ V(rn, {})
290
+ element: /* @__PURE__ */ L(rn, {})
275
291
  }),
276
- /* @__PURE__ */ V(B, {
292
+ /* @__PURE__ */ L(I, {
277
293
  path: "finance",
278
- element: /* @__PURE__ */ V(an, {})
294
+ element: /* @__PURE__ */ L(an, {})
279
295
  }),
280
- /* @__PURE__ */ V(B, {
296
+ /* @__PURE__ */ L(I, {
281
297
  path: "marketplace",
282
- element: /* @__PURE__ */ V(on, {})
298
+ element: /* @__PURE__ */ L(on, {})
283
299
  }),
284
- /* @__PURE__ */ V(B, {
300
+ /* @__PURE__ */ L(I, {
285
301
  path: "import-export",
286
- element: /* @__PURE__ */ V(sn, {})
302
+ element: /* @__PURE__ */ L(sn, {})
287
303
  }),
288
- /* @__PURE__ */ V(B, {
304
+ /* @__PURE__ */ L(I, {
289
305
  path: "reports",
290
- element: /* @__PURE__ */ V(q, {})
306
+ element: /* @__PURE__ */ L(q, {})
291
307
  }),
292
- /* @__PURE__ */ V(B, {
308
+ /* @__PURE__ */ L(I, {
293
309
  path: "ai-assistant",
294
- element: /* @__PURE__ */ V(ln, {})
310
+ element: /* @__PURE__ */ L(ln, {})
295
311
  }),
296
- /* @__PURE__ */ V(B, {
312
+ /* @__PURE__ */ L(I, {
297
313
  path: "settings",
298
- element: /* @__PURE__ */ V(cn, {})
314
+ element: /* @__PURE__ */ L(cn, {})
299
315
  }),
300
- /* @__PURE__ */ V(B, {
316
+ /* @__PURE__ */ L(I, {
301
317
  path: "*",
302
- element: /* @__PURE__ */ V(Rt, {})
318
+ element: /* @__PURE__ */ L(Ht, {})
303
319
  })
304
320
  ] })
305
321
  });
@@ -308,12 +324,12 @@ function un() {
308
324
  //#region src/movethewheels/MoveTheWheelsRoot.tsx
309
325
  var dn = (e) => {
310
326
  let { registerNavItems: t, registerFooterItems: n, basePath: r = "/" } = e, i = (e, t) => (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
311
- return z(() => {
327
+ return F(() => {
312
328
  if (t) return t({
313
329
  id: "movethewheels",
314
330
  label: "MoveTheWheels",
315
331
  path: r,
316
- icon: /* @__PURE__ */ V(I, { size: 20 }),
332
+ icon: /* @__PURE__ */ L(M, { size: 20 }),
317
333
  order: 25,
318
334
  group: "workspace",
319
335
  children: [
@@ -321,49 +337,49 @@ var dn = (e) => {
321
337
  id: "mtw-dashboard",
322
338
  label: "Dashboard",
323
339
  path: r,
324
- icon: /* @__PURE__ */ V(U, { size: 16 }),
340
+ icon: /* @__PURE__ */ L(z, { size: 16 }),
325
341
  order: 1
326
342
  },
327
343
  {
328
344
  id: "mtw-orders",
329
345
  label: "Orders",
330
346
  path: i(r, "orders"),
331
- icon: /* @__PURE__ */ V(Fe, { size: 16 }),
347
+ icon: /* @__PURE__ */ L(ze, { size: 16 }),
332
348
  order: 2
333
349
  },
334
350
  {
335
351
  id: "mtw-tracking",
336
352
  label: "Tracking",
337
353
  path: i(r, "tracking"),
338
- icon: /* @__PURE__ */ V(Pe, { size: 16 }),
354
+ icon: /* @__PURE__ */ L(Re, { size: 16 }),
339
355
  order: 3
340
356
  },
341
357
  {
342
358
  id: "mtw-fleet",
343
359
  label: "Fleet",
344
360
  path: i(r, "fleet"),
345
- icon: /* @__PURE__ */ V(I, { size: 16 }),
361
+ icon: /* @__PURE__ */ L(M, { size: 16 }),
346
362
  order: 4,
347
363
  children: [
348
364
  {
349
365
  id: "mtw-fleet-overview",
350
366
  label: "Overview",
351
367
  path: i(r, "fleet"),
352
- icon: /* @__PURE__ */ V(U, { size: 14 }),
368
+ icon: /* @__PURE__ */ L(z, { size: 14 }),
353
369
  order: 1
354
370
  },
355
371
  {
356
372
  id: "mtw-vehicles",
357
373
  label: "Vehicles",
358
374
  path: i(r, "fleet/vehicles"),
359
- icon: /* @__PURE__ */ V(It, { size: 14 }),
375
+ icon: /* @__PURE__ */ L(Bt, { size: 14 }),
360
376
  order: 2
361
377
  },
362
378
  {
363
379
  id: "mtw-drivers",
364
380
  label: "Drivers",
365
381
  path: i(r, "fleet/drivers"),
366
- icon: /* @__PURE__ */ V(Lt, { size: 14 }),
382
+ icon: /* @__PURE__ */ L(Vt, { size: 14 }),
367
383
  order: 3
368
384
  }
369
385
  ]
@@ -372,28 +388,28 @@ var dn = (e) => {
372
388
  id: "mtw-inventory",
373
389
  label: "Inventory",
374
390
  path: i(r, "inventory"),
375
- icon: /* @__PURE__ */ V(L, { size: 16 }),
391
+ icon: /* @__PURE__ */ L(N, { size: 16 }),
376
392
  order: 5,
377
393
  children: [
378
394
  {
379
395
  id: "mtw-inventory-overview",
380
396
  label: "Overview",
381
397
  path: i(r, "inventory"),
382
- icon: /* @__PURE__ */ V(U, { size: 14 }),
398
+ icon: /* @__PURE__ */ L(z, { size: 14 }),
383
399
  order: 1
384
400
  },
385
401
  {
386
402
  id: "mtw-products",
387
403
  label: "Products",
388
404
  path: i(r, "inventory/products"),
389
- icon: /* @__PURE__ */ V(Ft, { size: 14 }),
405
+ icon: /* @__PURE__ */ L(zt, { size: 14 }),
390
406
  order: 2
391
407
  },
392
408
  {
393
409
  id: "mtw-warehouses",
394
410
  label: "Warehouses",
395
411
  path: i(r, "inventory/warehouses"),
396
- icon: /* @__PURE__ */ V(L, { size: 14 }),
412
+ icon: /* @__PURE__ */ L(N, { size: 14 }),
397
413
  order: 3
398
414
  }
399
415
  ]
@@ -402,68 +418,68 @@ var dn = (e) => {
402
418
  id: "mtw-customers",
403
419
  label: "Customers",
404
420
  path: i(r, "customers"),
405
- icon: /* @__PURE__ */ V(Le, { size: 16 }),
421
+ icon: /* @__PURE__ */ L(Ve, { size: 16 }),
406
422
  order: 6
407
423
  },
408
424
  {
409
425
  id: "mtw-routes",
410
426
  label: "Routes",
411
427
  path: i(r, "routes"),
412
- icon: /* @__PURE__ */ V(Te, { size: 16 }),
428
+ icon: /* @__PURE__ */ L(ke, { size: 16 }),
413
429
  order: 7
414
430
  },
415
431
  {
416
432
  id: "mtw-analytics",
417
433
  label: "Analytics",
418
434
  path: i(r, "analytics"),
419
- icon: /* @__PURE__ */ V(Oe, { size: 16 }),
435
+ icon: /* @__PURE__ */ L(Me, { size: 16 }),
420
436
  order: 8
421
437
  },
422
438
  {
423
439
  id: "mtw-finance",
424
440
  label: "Finance",
425
441
  path: i(r, "finance"),
426
- icon: /* @__PURE__ */ V(ke, { size: 16 }),
442
+ icon: /* @__PURE__ */ L(Ne, { size: 16 }),
427
443
  order: 9
428
444
  },
429
445
  {
430
446
  id: "mtw-marketplace",
431
447
  label: "Marketplace",
432
448
  path: i(r, "marketplace"),
433
- icon: /* @__PURE__ */ V(Ie, { size: 16 }),
449
+ icon: /* @__PURE__ */ L(Be, { size: 16 }),
434
450
  order: 10
435
451
  },
436
452
  {
437
453
  id: "mtw-import-export",
438
454
  label: "Import/Export",
439
455
  path: i(r, "import-export"),
440
- icon: /* @__PURE__ */ V(Me, { size: 16 }),
456
+ icon: /* @__PURE__ */ L(Ie, { size: 16 }),
441
457
  order: 11
442
458
  },
443
459
  {
444
460
  id: "mtw-reports",
445
461
  label: "Reports",
446
462
  path: i(r, "reports"),
447
- icon: /* @__PURE__ */ V(Ae, { size: 16 }),
463
+ icon: /* @__PURE__ */ L(Pe, { size: 16 }),
448
464
  order: 12
449
465
  },
450
466
  {
451
467
  id: "mtw-ai-assistant",
452
468
  label: "AI Assistant",
453
469
  path: i(r, "ai-assistant"),
454
- icon: /* @__PURE__ */ V(Ee, { size: 16 }),
470
+ icon: /* @__PURE__ */ L(Ae, { size: 16 }),
455
471
  order: 13
456
472
  },
457
473
  {
458
474
  id: "mtw-settings",
459
475
  label: "Settings",
460
476
  path: i(r, "settings"),
461
- icon: /* @__PURE__ */ V(je, { size: 16 }),
477
+ icon: /* @__PURE__ */ L(Fe, { size: 16 }),
462
478
  order: 99
463
479
  }
464
480
  ]
465
481
  });
466
- }, [t, r]), z(() => {
482
+ }, [t, r]), F(() => {
467
483
  if (n) return n([{
468
484
  id: "mtw-status",
469
485
  label: "Logistics Ready",
@@ -471,15 +487,15 @@ var dn = (e) => {
471
487
  order: 20,
472
488
  section: "left"
473
489
  }]);
474
- }, [n]), /* @__PURE__ */ V(jt, {
490
+ }, [n]), /* @__PURE__ */ L(Ft, {
475
491
  workspaceId: null,
476
492
  gateway: "global",
477
493
  defaultEnabled: !0,
478
- children: /* @__PURE__ */ V(de, {
494
+ children: /* @__PURE__ */ L(de, {
479
495
  ...e,
480
- children: /* @__PURE__ */ V("div", {
496
+ children: /* @__PURE__ */ L("div", {
481
497
  className: "movethewheels-root h-full",
482
- children: /* @__PURE__ */ V(un, {})
498
+ children: /* @__PURE__ */ L(un, {})
483
499
  })
484
500
  })
485
501
  });
@@ -733,7 +749,7 @@ var Q = (e) => (t) => {
733
749
  inventoryFilters: {},
734
750
  customerFilters: {},
735
751
  globalSearch: ""
736
- }, bn = Nt()(_n(yn((e) => ({
752
+ }, bn = Lt()(_n(yn((e) => ({
737
753
  ...$,
738
754
  setViewMode: (t) => e({ viewMode: t }),
739
755
  setSidebarCollapsed: (t) => e({ sidebarCollapsed: t }),
@@ -770,11 +786,11 @@ var Q = (e) => (t) => {
770
786
  reset: () => e($)
771
787
  }), {
772
788
  name: "movethewheels-storage",
773
- storage: Pt(),
789
+ storage: Rt(),
774
790
  partialize: (e) => ({
775
791
  viewMode: e.viewMode,
776
792
  sidebarCollapsed: e.sidebarCollapsed
777
793
  })
778
794
  }), { name: "MoveTheWheelsStore" }));
779
795
  //#endregion
780
- export { E as Avatar, j as AvatarFallback, pe as AvatarImage, x as Badge, F as Button, me as Card, ge as CardContent, O as CardDescription, C as CardFooter, ve as CardHeader, _e as CardTitle, le as Checkbox, we as DataTable, ye as Dialog, Se as DialogContent, fe as DialogDescription, xe as DialogFooter, te as DialogHeader, r as DialogTitle, be as DialogTrigger, ne as DropdownMenu, a as DropdownMenuContent, i as DropdownMenuItem, h as DropdownMenuSeparator, b as DropdownMenuTrigger, N as EmptyState, w as ErrorState, t as Input, y as Label, A as LoadingState, St as MetricCard, bt as MetricCardSkeleton, xt as MetricGrid, dn as MoveTheWheelsRoot, v as PageLayout, ue as PageSection, Dt as PaymentStatusBadge, Tt as PriorityBadge, p as Progress, m as ScrollArea, g as Select, o as SelectContent, l as SelectItem, f as SelectTrigger, ee as SelectValue, Ce as Separator, n as Skeleton, Et as StatusBadge, ie as Switch, c as Table, re as TableBody, ae as TableCell, s as TableHead, d as TableHeader, k as TableRow, u as Tabs, se as TabsContent, oe as TabsList, ce as TabsTrigger, _ as Textarea, e as Tooltip, he as TooltipContent, P as TooltipProvider, T as TooltipTrigger, wt as TypeBadge, Ct as VehicleTypeBadge, ut as useAnalytics, De as useAssistant, tt as useCustomer, $e as useCustomerStats, et as useCustomers, st as useDashboardMetrics, Ke as useDriver, _t as useDriverTracking, Ue as useDrivers, Ge as useFleet, lt as useFleetAnalytics, He as useFleetStats, pt as useGeofence, yt as useImportExport, Qe as useInventory, Ye as useInventoryStats, ht as useLiveTracking, Ne as useModuleSettings, D as useMoveTheWheels, M as useMoveTheWheelsNavigate, bn as useMoveTheWheelsStore, Be as useOrder, ot as useOrderAnalytics, Re as useOrderStats, ft as useOrderTracking, ze as useOrders, at as usePerformanceAnalytics, Ze as useProduct, Je as useProducts, vt as useReports, ct as useRevenueAnalytics, it as useRoute, nt as useRouteStats, rt as useRoutes, dt as useTracking, mt as useTrackingAlerts, Ve as useVehicle, gt as useVehicleTracking, We as useVehicles, qe as useWarehouse, Xe as useWarehouses };
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 };
@@ -0,0 +1,32 @@
1
+ import { lt as e } from "./PageLayout-D4LDHJJq.js";
2
+ //#region node_modules/lucide-react/dist/esm/icons/trash-2.js
3
+ var t = e("Trash2", [
4
+ ["path", {
5
+ d: "M3 6h18",
6
+ key: "d0wm0j"
7
+ }],
8
+ ["path", {
9
+ d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",
10
+ key: "4alrt4"
11
+ }],
12
+ ["path", {
13
+ d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",
14
+ key: "v07s0e"
15
+ }],
16
+ ["line", {
17
+ x1: "10",
18
+ x2: "10",
19
+ y1: "11",
20
+ y2: "17",
21
+ key: "1uufr5"
22
+ }],
23
+ ["line", {
24
+ x1: "14",
25
+ x2: "14",
26
+ y1: "11",
27
+ y2: "17",
28
+ key: "xtxkd"
29
+ }]
30
+ ]);
31
+ //#endregion
32
+ export { t };