@burdenoff/microfe-movethewheels 2026.703.1 → 2026.703.3
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.
- package/dist/{AIAssistantPage-C3ovZ0Fh.js → AIAssistantPage-C3cPsWt-.js} +1 -1
- package/dist/{AnalyticsPage-O8SpY-V4.js → AnalyticsPage-Dz6g2MvK.js} +6 -6
- package/dist/{CreateOrderPage-CB1_-_mN.js → CreateOrderPage-C5iwnjp4.js} +29 -58
- package/dist/CustomerDetailsPage-B6nwFyLO.js +406 -0
- package/dist/{CustomersPage-DRaLuHMC.js → CustomersPage-BKxMS1AV.js} +5 -5
- package/dist/{DashboardPage-DPjhNfKB.js → DashboardPage-BVjQi0EB.js} +11 -11
- package/dist/DriverDetailsPage-CN3WQ0B9.js +507 -0
- package/dist/{DriversPage-C2Bk0w4Q.js → DriversPage-CH9rjQC-.js} +6 -6
- package/dist/{FinancePage-lmp0Sdsw.js → FinancePage-DEDykSOP.js} +5 -5
- package/dist/{FleetPage-DZn5pIqd.js → FleetPage-DqkFi3s3.js} +5 -5
- package/dist/FormError-BlOjnXOq.js +15 -0
- package/dist/{ImportExportPage-BIUJZc7O.js → ImportExportPage-DKJRCezl.js} +1 -1
- package/dist/{InventoryPage-Cxh1zYJd.js → InventoryPage-e0ze63iX.js} +6 -6
- package/dist/{LiveTrackingPage-BY1yAkIt.js → LiveTrackingPage-DCX-K-LR.js} +5 -5
- package/dist/{MarketplacePage-RMuL17EA.js → MarketplacePage-CIQ97_zp.js} +1 -1
- package/dist/{OrderDetailsPage-C2Mf4KSy.js → OrderDetailsPage-DYiZ-9UK.js} +5 -5
- package/dist/{OrdersListPage-BrPBtnhp.js → OrdersListPage-Cn90P1Xx.js} +4 -4
- package/dist/ProductDetailsPage-C9uOiYLp.js +350 -0
- package/dist/{ProductsPage-I5DilIoY.js → ProductsPage-QJfHHpqB.js} +4 -4
- package/dist/{ReportsPage-BDXNmUng.js → ReportsPage-Zp53q3_8.js} +2 -2
- package/dist/RouteDetailsPage-DUStXSf9.js +531 -0
- package/dist/{RoutesPage-lqX9ylHP.js → RoutesPage-DMfoicM1.js} +3 -3
- package/dist/{SettingsPage-CQVIOaNs.js → SettingsPage-Bn-v0mbQ.js} +1 -1
- package/dist/{TrackingPage-BXrjz7V8.js → TrackingPage-W-jtdM3Y.js} +4 -4
- package/dist/VehicleDetailsPage-Bceo5oz3.js +410 -0
- package/dist/{VehiclesPage-6W39XT5W.js → VehiclesPage-ApKThYeG.js} +5 -5
- package/dist/WarehouseDetailsPage-L_6sWigM.js +493 -0
- package/dist/{WarehousesPage-CHvBqNaQ.js → WarehousesPage-DCbXXXWE.js} +3 -3
- package/dist/index.js +154 -138
- package/dist/trash-2-BKhar6Hs.js +32 -0
- package/dist/{useFleet-DiAC-IiH.js → useFleet-DKqXZ16m.js} +77 -56
- package/dist/{useInventory-DKoks37x.js → useInventory-DkyiVY_A.js} +73 -53
- package/dist/{useTracking-GJify4HN.js → useTracking-B-va1kO3.js} +2 -2
- package/package.json +1 -1
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +4 -0
- package/src/movethewheels/components/FormError.tsx +25 -0
- package/src/movethewheels/hooks/useFleet.ts +107 -0
- package/src/movethewheels/hooks/useInventory.ts +107 -0
- package/src/movethewheels/pages/CustomerDetailsPage.tsx +153 -20
- package/src/movethewheels/pages/CustomersPage.tsx +1 -1
- package/src/movethewheels/pages/DriverDetailsPage.tsx +159 -2
- package/src/movethewheels/pages/DriversPage.tsx +6 -2
- package/src/movethewheels/pages/InventoryPage.tsx +1 -1
- package/src/movethewheels/pages/OrdersListPage.tsx +1 -1
- package/src/movethewheels/pages/ProductDetailsPage.tsx +146 -3
- package/src/movethewheels/pages/ProductsPage.tsx +6 -2
- package/src/movethewheels/pages/RouteDetailsPage.tsx +285 -25
- package/src/movethewheels/pages/VehicleDetailsPage.tsx +158 -2
- package/src/movethewheels/pages/VehiclesPage.tsx +6 -2
- package/src/movethewheels/pages/WarehouseDetailsPage.tsx +224 -2
- package/src/movethewheels/pages/WarehousesPage.tsx +5 -1
- package/dist/CustomerDetailsPage-BaeKEI1D.js +0 -263
- package/dist/DriverDetailsPage-CSSQTOzn.js +0 -328
- package/dist/ProductDetailsPage-CezzzZcj.js +0 -193
- package/dist/RouteDetailsPage-BcomL20M.js +0 -263
- package/dist/VehicleDetailsPage-DZjLcJgr.js +0 -218
- package/dist/WarehouseDetailsPage-C10pgRGW.js +0 -236
- /package/dist/{MetricCard-7aYgzZHK.js → MetricCard-BY0QrMD4.js} +0 -0
- /package/dist/{StatusBadge-NpTeHVlw.js → StatusBadge-BZurYHMy.js} +0 -0
- /package/dist/{formatters-DhKZ-eA1.js → formatters-CF2S2l1m.js} +0 -0
- /package/dist/{trending-up-B7W-GL6P.js → trending-up-Dohgd4t_.js} +0 -0
- /package/dist/{triangle-alert-BonHFFNz.js → triangle-alert-i-XQL9Rd.js} +0 -0
- /package/dist/{truck-DrlfSpRC.js → truck-C0v_hbLR.js} +0 -0
- /package/dist/{useAnalytics-CgdzUfY_.js → useAnalytics-DS8n0xgg.js} +0 -0
- /package/dist/{useCustomers-QrlozybF.js → useCustomers-BmTNGxiI.js} +0 -0
- /package/dist/{useImportExport-BLMnAKCC.js → useImportExport-DHr-SWSw.js} +0 -0
- /package/dist/{useOrders-D3UZVy8Y.js → useOrders-Cfk1GLiq.js} +0 -0
- /package/dist/{useReports-Puq4DCH9.js → useReports-CTqZr-AB.js} +0 -0
- /package/dist/{useRoutes-Do57LvRb.js → useRoutes-BQWO607N.js} +0 -0
- /package/dist/{user-CjSoudeu.js → user-jyFU3lXk.js} +0 -0
- /package/dist/{users-BAM4gHTn.js → users-DZ-ilS6B.js} +0 -0
- /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
|
|
2
|
-
import { t as
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { n as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { n as
|
|
15
|
-
import { a as
|
|
16
|
-
import { a as
|
|
17
|
-
import { n as
|
|
18
|
-
import { n as
|
|
19
|
-
import { a as
|
|
20
|
-
import { a as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { n as
|
|
24
|
-
import { a as
|
|
25
|
-
import { Suspense as
|
|
26
|
-
import { Route as
|
|
27
|
-
import { jsx as
|
|
28
|
-
import { FeatureFlagProvider as
|
|
29
|
-
import { NotFoundPage as
|
|
30
|
-
import { create as
|
|
31
|
-
import { createProfileScopedStorage as
|
|
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
|
|
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
|
-
]),
|
|
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
|
-
]),
|
|
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
|
-
]),
|
|
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
|
|
155
|
-
let { navigate: e, basePath: t } =
|
|
156
|
-
return /* @__PURE__ */
|
|
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
|
|
164
|
-
return /* @__PURE__ */
|
|
163
|
+
function Ut() {
|
|
164
|
+
return /* @__PURE__ */ L("div", {
|
|
165
165
|
className: "flex items-center justify-center min-h-[400px]",
|
|
166
|
-
children: /* @__PURE__ */
|
|
166
|
+
children: /* @__PURE__ */ R("div", {
|
|
167
167
|
className: "flex flex-col items-center gap-3",
|
|
168
|
-
children: [/* @__PURE__ */
|
|
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
|
|
175
|
+
var Wt = P(() => import("./DashboardPage-BVjQi0EB.js")), Gt = P(() => import("./OrdersListPage-Cn90P1Xx.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-ApKThYeG.js")), V = P(() => import("./VehicleDetailsPage-Bceo5oz3.js")), Zt = P(() => import("./DriversPage-CH9rjQC-.js")), H = P(() => import("./DriverDetailsPage-CN3WQ0B9.js")), Qt = P(() => import("./InventoryPage-e0ze63iX.js")), $t = P(() => import("./ProductsPage-QJfHHpqB.js")), U = P(() => import("./ProductDetailsPage-C9uOiYLp.js")), en = P(() => import("./WarehousesPage-DCbXXXWE.js")), W = P(() => import("./WarehouseDetailsPage-L_6sWigM.js")), tn = P(() => import("./CustomersPage-BKxMS1AV.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__ */
|
|
178
|
-
fallback: /* @__PURE__ */
|
|
179
|
-
children: /* @__PURE__ */
|
|
180
|
-
/* @__PURE__ */
|
|
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__ */
|
|
182
|
+
element: /* @__PURE__ */ L(Wt, {})
|
|
183
183
|
}),
|
|
184
|
-
/* @__PURE__ */
|
|
184
|
+
/* @__PURE__ */ L(I, {
|
|
185
185
|
path: "orders",
|
|
186
|
-
element: /* @__PURE__ */
|
|
186
|
+
element: /* @__PURE__ */ L(Gt, {})
|
|
187
187
|
}),
|
|
188
|
-
/* @__PURE__ */
|
|
188
|
+
/* @__PURE__ */ L(I, {
|
|
189
189
|
path: "orders/new",
|
|
190
|
-
element: /* @__PURE__ */
|
|
190
|
+
element: /* @__PURE__ */ L(B, {})
|
|
191
191
|
}),
|
|
192
|
-
/* @__PURE__ */
|
|
192
|
+
/* @__PURE__ */ L(I, {
|
|
193
193
|
path: "orders/:orderId",
|
|
194
|
-
element: /* @__PURE__ */
|
|
194
|
+
element: /* @__PURE__ */ L(Kt, {})
|
|
195
195
|
}),
|
|
196
|
-
/* @__PURE__ */
|
|
196
|
+
/* @__PURE__ */ L(I, {
|
|
197
197
|
path: "orders/:orderId/edit",
|
|
198
|
-
element: /* @__PURE__ */
|
|
198
|
+
element: /* @__PURE__ */ L(B, {})
|
|
199
199
|
}),
|
|
200
|
-
/* @__PURE__ */
|
|
200
|
+
/* @__PURE__ */ L(I, {
|
|
201
201
|
path: "tracking",
|
|
202
|
-
element: /* @__PURE__ */
|
|
202
|
+
element: /* @__PURE__ */ L(qt, {})
|
|
203
203
|
}),
|
|
204
|
-
/* @__PURE__ */
|
|
204
|
+
/* @__PURE__ */ L(I, {
|
|
205
205
|
path: "tracking/live",
|
|
206
|
-
element: /* @__PURE__ */
|
|
206
|
+
element: /* @__PURE__ */ L(Jt, {})
|
|
207
207
|
}),
|
|
208
|
-
/* @__PURE__ */
|
|
208
|
+
/* @__PURE__ */ L(I, {
|
|
209
209
|
path: "fleet",
|
|
210
|
-
element: /* @__PURE__ */
|
|
210
|
+
element: /* @__PURE__ */ L(Yt, {})
|
|
211
211
|
}),
|
|
212
|
-
/* @__PURE__ */
|
|
212
|
+
/* @__PURE__ */ L(I, {
|
|
213
213
|
path: "fleet/vehicles",
|
|
214
|
-
element: /* @__PURE__ */
|
|
214
|
+
element: /* @__PURE__ */ L(Xt, {})
|
|
215
215
|
}),
|
|
216
|
-
/* @__PURE__ */
|
|
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
|
|
222
|
+
element: /* @__PURE__ */ L(V, {})
|
|
219
223
|
}),
|
|
220
|
-
/* @__PURE__ */
|
|
224
|
+
/* @__PURE__ */ L(I, {
|
|
221
225
|
path: "fleet/drivers",
|
|
222
|
-
element: /* @__PURE__ */
|
|
226
|
+
element: /* @__PURE__ */ L(Zt, {})
|
|
227
|
+
}),
|
|
228
|
+
/* @__PURE__ */ L(I, {
|
|
229
|
+
path: "fleet/drivers/new",
|
|
230
|
+
element: /* @__PURE__ */ L(H, {})
|
|
223
231
|
}),
|
|
224
|
-
/* @__PURE__ */
|
|
232
|
+
/* @__PURE__ */ L(I, {
|
|
225
233
|
path: "fleet/drivers/:driverId",
|
|
226
|
-
element: /* @__PURE__ */
|
|
234
|
+
element: /* @__PURE__ */ L(H, {})
|
|
227
235
|
}),
|
|
228
|
-
/* @__PURE__ */
|
|
236
|
+
/* @__PURE__ */ L(I, {
|
|
229
237
|
path: "inventory",
|
|
230
|
-
element: /* @__PURE__ */
|
|
238
|
+
element: /* @__PURE__ */ L(Qt, {})
|
|
231
239
|
}),
|
|
232
|
-
/* @__PURE__ */
|
|
240
|
+
/* @__PURE__ */ L(I, {
|
|
233
241
|
path: "inventory/products",
|
|
234
|
-
element: /* @__PURE__ */
|
|
242
|
+
element: /* @__PURE__ */ L($t, {})
|
|
235
243
|
}),
|
|
236
|
-
/* @__PURE__ */
|
|
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__ */
|
|
250
|
+
element: /* @__PURE__ */ L(U, {})
|
|
239
251
|
}),
|
|
240
|
-
/* @__PURE__ */
|
|
252
|
+
/* @__PURE__ */ L(I, {
|
|
241
253
|
path: "inventory/warehouses",
|
|
242
|
-
element: /* @__PURE__ */
|
|
254
|
+
element: /* @__PURE__ */ L(en, {})
|
|
255
|
+
}),
|
|
256
|
+
/* @__PURE__ */ L(I, {
|
|
257
|
+
path: "inventory/warehouses/new",
|
|
258
|
+
element: /* @__PURE__ */ L(W, {})
|
|
243
259
|
}),
|
|
244
|
-
/* @__PURE__ */
|
|
260
|
+
/* @__PURE__ */ L(I, {
|
|
245
261
|
path: "inventory/warehouses/:warehouseId",
|
|
246
|
-
element: /* @__PURE__ */
|
|
262
|
+
element: /* @__PURE__ */ L(W, {})
|
|
247
263
|
}),
|
|
248
|
-
/* @__PURE__ */
|
|
264
|
+
/* @__PURE__ */ L(I, {
|
|
249
265
|
path: "customers",
|
|
250
|
-
element: /* @__PURE__ */
|
|
266
|
+
element: /* @__PURE__ */ L(tn, {})
|
|
251
267
|
}),
|
|
252
|
-
/* @__PURE__ */
|
|
268
|
+
/* @__PURE__ */ L(I, {
|
|
253
269
|
path: "customers/new",
|
|
254
|
-
element: /* @__PURE__ */
|
|
270
|
+
element: /* @__PURE__ */ L(G, {})
|
|
255
271
|
}),
|
|
256
|
-
/* @__PURE__ */
|
|
272
|
+
/* @__PURE__ */ L(I, {
|
|
257
273
|
path: "customers/:customerId",
|
|
258
|
-
element: /* @__PURE__ */
|
|
274
|
+
element: /* @__PURE__ */ L(G, {})
|
|
259
275
|
}),
|
|
260
|
-
/* @__PURE__ */
|
|
276
|
+
/* @__PURE__ */ L(I, {
|
|
261
277
|
path: "routes",
|
|
262
|
-
element: /* @__PURE__ */
|
|
278
|
+
element: /* @__PURE__ */ L(nn, {})
|
|
263
279
|
}),
|
|
264
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ L(I, {
|
|
265
281
|
path: "routes/new",
|
|
266
|
-
element: /* @__PURE__ */
|
|
282
|
+
element: /* @__PURE__ */ L(K, {})
|
|
267
283
|
}),
|
|
268
|
-
/* @__PURE__ */
|
|
284
|
+
/* @__PURE__ */ L(I, {
|
|
269
285
|
path: "routes/:routeId",
|
|
270
|
-
element: /* @__PURE__ */
|
|
286
|
+
element: /* @__PURE__ */ L(K, {})
|
|
271
287
|
}),
|
|
272
|
-
/* @__PURE__ */
|
|
288
|
+
/* @__PURE__ */ L(I, {
|
|
273
289
|
path: "analytics",
|
|
274
|
-
element: /* @__PURE__ */
|
|
290
|
+
element: /* @__PURE__ */ L(rn, {})
|
|
275
291
|
}),
|
|
276
|
-
/* @__PURE__ */
|
|
292
|
+
/* @__PURE__ */ L(I, {
|
|
277
293
|
path: "finance",
|
|
278
|
-
element: /* @__PURE__ */
|
|
294
|
+
element: /* @__PURE__ */ L(an, {})
|
|
279
295
|
}),
|
|
280
|
-
/* @__PURE__ */
|
|
296
|
+
/* @__PURE__ */ L(I, {
|
|
281
297
|
path: "marketplace",
|
|
282
|
-
element: /* @__PURE__ */
|
|
298
|
+
element: /* @__PURE__ */ L(on, {})
|
|
283
299
|
}),
|
|
284
|
-
/* @__PURE__ */
|
|
300
|
+
/* @__PURE__ */ L(I, {
|
|
285
301
|
path: "import-export",
|
|
286
|
-
element: /* @__PURE__ */
|
|
302
|
+
element: /* @__PURE__ */ L(sn, {})
|
|
287
303
|
}),
|
|
288
|
-
/* @__PURE__ */
|
|
304
|
+
/* @__PURE__ */ L(I, {
|
|
289
305
|
path: "reports",
|
|
290
|
-
element: /* @__PURE__ */
|
|
306
|
+
element: /* @__PURE__ */ L(q, {})
|
|
291
307
|
}),
|
|
292
|
-
/* @__PURE__ */
|
|
308
|
+
/* @__PURE__ */ L(I, {
|
|
293
309
|
path: "ai-assistant",
|
|
294
|
-
element: /* @__PURE__ */
|
|
310
|
+
element: /* @__PURE__ */ L(ln, {})
|
|
295
311
|
}),
|
|
296
|
-
/* @__PURE__ */
|
|
312
|
+
/* @__PURE__ */ L(I, {
|
|
297
313
|
path: "settings",
|
|
298
|
-
element: /* @__PURE__ */
|
|
314
|
+
element: /* @__PURE__ */ L(cn, {})
|
|
299
315
|
}),
|
|
300
|
-
/* @__PURE__ */
|
|
316
|
+
/* @__PURE__ */ L(I, {
|
|
301
317
|
path: "*",
|
|
302
|
-
element: /* @__PURE__ */
|
|
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
|
|
327
|
+
return F(() => {
|
|
312
328
|
if (t) return t({
|
|
313
329
|
id: "movethewheels",
|
|
314
330
|
label: "MoveTheWheels",
|
|
315
331
|
path: r,
|
|
316
|
-
icon: /* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
477
|
+
icon: /* @__PURE__ */ L(Fe, { size: 16 }),
|
|
462
478
|
order: 99
|
|
463
479
|
}
|
|
464
480
|
]
|
|
465
481
|
});
|
|
466
|
-
}, [t, r]),
|
|
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__ */
|
|
490
|
+
}, [n]), /* @__PURE__ */ L(Ft, {
|
|
475
491
|
workspaceId: null,
|
|
476
492
|
gateway: "global",
|
|
477
493
|
defaultEnabled: !0,
|
|
478
|
-
children: /* @__PURE__ */
|
|
494
|
+
children: /* @__PURE__ */ L(de, {
|
|
479
495
|
...e,
|
|
480
|
-
children: /* @__PURE__ */
|
|
496
|
+
children: /* @__PURE__ */ L("div", {
|
|
481
497
|
className: "movethewheels-root h-full",
|
|
482
|
-
children: /* @__PURE__ */
|
|
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 =
|
|
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:
|
|
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 {
|
|
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 };
|