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