@burdenoff/microfe-movethewheels 2026.828.1 → 2026.830.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.
- package/dist/MoveTheWheelsRoot.js +86 -83
- package/dist/MoveTheWheelsRoutes.js +107 -104
- package/dist/hooks/index.js +1 -0
- package/dist/index.js +38 -37
- package/dist/movethewheels/hooks/index.d.ts +1 -0
- package/dist/movethewheels/shared/hooks/useTr.d.ts +16 -0
- package/dist/pages/AIAssistantPage.js +45 -43
- package/dist/pages/DashboardPage.js +6 -6
- package/dist/pages/FleetPage.js +7 -7
- package/dist/pages/InventoryPage.js +6 -6
- package/dist/pages/OrdersListPage.js +5 -5
- package/dist/pages/SettingsPage.js +175 -154
- package/dist/pages/TrackingPage.js +5 -5
- package/dist/shared/hooks/useTr.js +12 -0
- package/package.json +1 -1
- package/src/movethewheels/MoveTheWheelsRoot.tsx +28 -24
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +7 -2
- package/src/movethewheels/hooks/index.ts +3 -0
- package/src/movethewheels/pages/AIAssistantPage.tsx +53 -32
- package/src/movethewheels/pages/SettingsPage.tsx +172 -70
- package/src/movethewheels/shared/hooks/useTr.ts +37 -0
|
@@ -16,198 +16,201 @@ import { UserCheck as m } from "./node_modules/lucide-react/dist/esm/icons/user-
|
|
|
16
16
|
import { Users as h } from "./node_modules/lucide-react/dist/esm/icons/users.js";
|
|
17
17
|
import { Warehouse as g } from "./node_modules/lucide-react/dist/esm/icons/warehouse.js";
|
|
18
18
|
import { MoveTheWheelsProvider as _ } from "./providers/MoveTheWheelsProvider.js";
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
19
|
+
import { useTr as v } from "./shared/hooks/useTr.js";
|
|
20
|
+
import "./hooks/index.js";
|
|
21
|
+
import { MoveTheWheelsRoutes as y } from "./MoveTheWheelsRoutes.js";
|
|
22
|
+
import { useEffect as b } from "react";
|
|
23
|
+
import { jsx as x, jsxs as S } from "react/jsx-runtime";
|
|
24
|
+
import { FeatureFlagProvider as C, useFeatureFlag as w } from "@burdenoff/fe-libs/shared/feature-flags";
|
|
23
25
|
//#region src/movethewheels/MoveTheWheelsRoot.tsx
|
|
24
|
-
var
|
|
25
|
-
let
|
|
26
|
-
return
|
|
26
|
+
var T = ({ registerNavItems: _, basePath: y = "/" }) => {
|
|
27
|
+
let S = v(), C = w("movethewheels.marketplace", !1), T = (e, t) => (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
|
|
28
|
+
return b(() => {
|
|
27
29
|
if (_) return _({
|
|
28
30
|
id: "movethewheels",
|
|
29
|
-
label: "MoveTheWheels",
|
|
30
|
-
path:
|
|
31
|
-
icon: /* @__PURE__ */
|
|
31
|
+
label: S("movethewheels.page.title", "MoveTheWheels"),
|
|
32
|
+
path: y,
|
|
33
|
+
icon: /* @__PURE__ */ x(p, { size: 20 }),
|
|
32
34
|
order: 25,
|
|
33
35
|
group: "workspace",
|
|
34
36
|
children: [
|
|
35
37
|
{
|
|
36
38
|
id: "mtw-dashboard",
|
|
37
|
-
label: "Dashboard",
|
|
38
|
-
path:
|
|
39
|
-
icon: /* @__PURE__ */
|
|
39
|
+
label: S("movethewheels.root.nav.dashboard", "Dashboard"),
|
|
40
|
+
path: y,
|
|
41
|
+
icon: /* @__PURE__ */ x(s, { size: 16 }),
|
|
40
42
|
order: 1
|
|
41
43
|
},
|
|
42
44
|
{
|
|
43
45
|
id: "mtw-orders",
|
|
44
|
-
label: "Orders",
|
|
45
|
-
path:
|
|
46
|
-
icon: /* @__PURE__ */
|
|
46
|
+
label: S("movethewheels.root.nav.orders", "Orders"),
|
|
47
|
+
path: T(y, "orders"),
|
|
48
|
+
icon: /* @__PURE__ */ x(l, { size: 16 }),
|
|
47
49
|
order: 2
|
|
48
50
|
},
|
|
49
51
|
{
|
|
50
52
|
id: "mtw-tracking",
|
|
51
|
-
label: "Tracking",
|
|
52
|
-
path:
|
|
53
|
-
icon: /* @__PURE__ */
|
|
53
|
+
label: S("movethewheels.root.nav.tracking", "Tracking"),
|
|
54
|
+
path: T(y, "tracking"),
|
|
55
|
+
icon: /* @__PURE__ */ x(c, { size: 16 }),
|
|
54
56
|
order: 3
|
|
55
57
|
},
|
|
56
58
|
{
|
|
57
59
|
id: "mtw-fleet",
|
|
58
|
-
label: "Fleet",
|
|
59
|
-
path:
|
|
60
|
-
icon: /* @__PURE__ */
|
|
60
|
+
label: S("movethewheels.root.nav.fleet", "Fleet"),
|
|
61
|
+
path: T(y, "fleet"),
|
|
62
|
+
icon: /* @__PURE__ */ x(p, { size: 16 }),
|
|
61
63
|
order: 4,
|
|
62
64
|
children: [
|
|
63
65
|
{
|
|
64
66
|
id: "mtw-fleet-overview",
|
|
65
|
-
label: "Overview",
|
|
66
|
-
path:
|
|
67
|
-
icon: /* @__PURE__ */
|
|
67
|
+
label: S("movethewheels.root.nav.overview", "Overview"),
|
|
68
|
+
path: T(y, "fleet"),
|
|
69
|
+
icon: /* @__PURE__ */ x(s, { size: 14 }),
|
|
68
70
|
order: 1
|
|
69
71
|
},
|
|
70
72
|
{
|
|
71
73
|
id: "mtw-vehicles",
|
|
72
|
-
label: "Vehicles",
|
|
73
|
-
path:
|
|
74
|
-
icon: /* @__PURE__ */
|
|
74
|
+
label: S("movethewheels.root.nav.vehicles", "Vehicles"),
|
|
75
|
+
path: T(y, "fleet/vehicles"),
|
|
76
|
+
icon: /* @__PURE__ */ x(n, { size: 14 }),
|
|
75
77
|
order: 2
|
|
76
78
|
},
|
|
77
79
|
{
|
|
78
80
|
id: "mtw-drivers",
|
|
79
|
-
label: "Drivers",
|
|
80
|
-
path:
|
|
81
|
-
icon: /* @__PURE__ */
|
|
81
|
+
label: S("movethewheels.root.nav.drivers", "Drivers"),
|
|
82
|
+
path: T(y, "fleet/drivers"),
|
|
83
|
+
icon: /* @__PURE__ */ x(m, { size: 14 }),
|
|
82
84
|
order: 3
|
|
83
85
|
}
|
|
84
86
|
]
|
|
85
87
|
},
|
|
86
88
|
{
|
|
87
89
|
id: "mtw-inventory",
|
|
88
|
-
label: "Inventory",
|
|
89
|
-
path:
|
|
90
|
-
icon: /* @__PURE__ */
|
|
90
|
+
label: S("movethewheels.root.nav.inventory", "Inventory"),
|
|
91
|
+
path: T(y, "inventory"),
|
|
92
|
+
icon: /* @__PURE__ */ x(g, { size: 16 }),
|
|
91
93
|
order: 5,
|
|
92
94
|
children: [
|
|
93
95
|
{
|
|
94
96
|
id: "mtw-inventory-overview",
|
|
95
|
-
label: "Overview",
|
|
96
|
-
path:
|
|
97
|
-
icon: /* @__PURE__ */
|
|
97
|
+
label: S("movethewheels.root.nav.overview", "Overview"),
|
|
98
|
+
path: T(y, "inventory"),
|
|
99
|
+
icon: /* @__PURE__ */ x(s, { size: 14 }),
|
|
98
100
|
order: 1
|
|
99
101
|
},
|
|
100
102
|
{
|
|
101
103
|
id: "mtw-products",
|
|
102
|
-
label: "Products",
|
|
103
|
-
path:
|
|
104
|
-
icon: /* @__PURE__ */
|
|
104
|
+
label: S("movethewheels.root.nav.products", "Products"),
|
|
105
|
+
path: T(y, "inventory/products"),
|
|
106
|
+
icon: /* @__PURE__ */ x(t, { size: 14 }),
|
|
105
107
|
order: 2
|
|
106
108
|
},
|
|
107
109
|
{
|
|
108
110
|
id: "mtw-warehouses",
|
|
109
|
-
label: "Warehouses",
|
|
110
|
-
path:
|
|
111
|
-
icon: /* @__PURE__ */
|
|
111
|
+
label: S("movethewheels.root.nav.warehouses", "Warehouses"),
|
|
112
|
+
path: T(y, "inventory/warehouses"),
|
|
113
|
+
icon: /* @__PURE__ */ x(g, { size: 14 }),
|
|
112
114
|
order: 3
|
|
113
115
|
}
|
|
114
116
|
]
|
|
115
117
|
},
|
|
116
118
|
{
|
|
117
119
|
id: "mtw-customers",
|
|
118
|
-
label: "Customers",
|
|
119
|
-
path:
|
|
120
|
-
icon: /* @__PURE__ */
|
|
120
|
+
label: S("movethewheels.root.nav.customers", "Customers"),
|
|
121
|
+
path: T(y, "customers"),
|
|
122
|
+
icon: /* @__PURE__ */ x(h, { size: 16 }),
|
|
121
123
|
order: 6
|
|
122
124
|
},
|
|
123
125
|
{
|
|
124
126
|
id: "mtw-routes",
|
|
125
|
-
label: "Routes",
|
|
126
|
-
path:
|
|
127
|
-
icon: /* @__PURE__ */
|
|
127
|
+
label: S("movethewheels.root.nav.routes", "Routes"),
|
|
128
|
+
path: T(y, "routes"),
|
|
129
|
+
icon: /* @__PURE__ */ x(u, { size: 16 }),
|
|
128
130
|
order: 7
|
|
129
131
|
},
|
|
130
132
|
{
|
|
131
133
|
id: "mtw-analytics",
|
|
132
|
-
label: "Analytics",
|
|
133
|
-
path:
|
|
134
|
-
icon: /* @__PURE__ */
|
|
134
|
+
label: S("movethewheels.root.nav.analytics", "Analytics"),
|
|
135
|
+
path: T(y, "analytics"),
|
|
136
|
+
icon: /* @__PURE__ */ x(r, { size: 16 }),
|
|
135
137
|
order: 8
|
|
136
138
|
},
|
|
137
139
|
{
|
|
138
140
|
id: "mtw-finance",
|
|
139
|
-
label: "Finance",
|
|
140
|
-
path:
|
|
141
|
-
icon: /* @__PURE__ */
|
|
141
|
+
label: S("movethewheels.root.nav.finance", "Finance"),
|
|
142
|
+
path: T(y, "finance"),
|
|
143
|
+
icon: /* @__PURE__ */ x(i, { size: 16 }),
|
|
142
144
|
order: 9
|
|
143
145
|
},
|
|
144
|
-
...
|
|
146
|
+
...C ? [{
|
|
145
147
|
id: "mtw-marketplace",
|
|
146
|
-
label: "Marketplace",
|
|
147
|
-
path:
|
|
148
|
-
icon: /* @__PURE__ */
|
|
148
|
+
label: S("movethewheels.root.nav.marketplace", "Marketplace"),
|
|
149
|
+
path: T(y, "marketplace"),
|
|
150
|
+
icon: /* @__PURE__ */ x(f, { size: 16 }),
|
|
149
151
|
order: 10
|
|
150
152
|
}] : [],
|
|
151
153
|
{
|
|
152
154
|
id: "mtw-import-export",
|
|
153
|
-
label: "Import/Export",
|
|
154
|
-
path:
|
|
155
|
-
icon: /* @__PURE__ */
|
|
155
|
+
label: S("movethewheels.root.nav.importExport", "Import/Export"),
|
|
156
|
+
path: T(y, "import-export"),
|
|
157
|
+
icon: /* @__PURE__ */ x(o, { size: 16 }),
|
|
156
158
|
order: 11
|
|
157
159
|
},
|
|
158
160
|
{
|
|
159
161
|
id: "mtw-reports",
|
|
160
|
-
label: "Reports",
|
|
161
|
-
path:
|
|
162
|
-
icon: /* @__PURE__ */
|
|
162
|
+
label: S("movethewheels.root.nav.reports", "Reports"),
|
|
163
|
+
path: T(y, "reports"),
|
|
164
|
+
icon: /* @__PURE__ */ x(a, { size: 16 }),
|
|
163
165
|
order: 12
|
|
164
166
|
},
|
|
165
167
|
{
|
|
166
168
|
id: "mtw-ai-assistant",
|
|
167
|
-
label: "AI Assistant",
|
|
168
|
-
path:
|
|
169
|
-
icon: /* @__PURE__ */
|
|
169
|
+
label: S("movethewheels.root.nav.aiAssistant", "AI Assistant"),
|
|
170
|
+
path: T(y, "ai-assistant"),
|
|
171
|
+
icon: /* @__PURE__ */ x(e, { size: 16 }),
|
|
170
172
|
order: 13
|
|
171
173
|
},
|
|
172
174
|
{
|
|
173
175
|
id: "mtw-settings",
|
|
174
|
-
label: "Settings",
|
|
175
|
-
path:
|
|
176
|
-
icon: /* @__PURE__ */
|
|
176
|
+
label: S("movethewheels.root.nav.settings", "Settings"),
|
|
177
|
+
path: T(y, "settings"),
|
|
178
|
+
icon: /* @__PURE__ */ x(d, { size: 16 }),
|
|
177
179
|
order: 99
|
|
178
180
|
}
|
|
179
181
|
]
|
|
180
182
|
});
|
|
181
183
|
}, [
|
|
182
184
|
_,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
+
y,
|
|
186
|
+
C,
|
|
187
|
+
S
|
|
185
188
|
]), null;
|
|
186
|
-
},
|
|
187
|
-
let { registerNavItems: t, registerFooterItems: n, basePath: r = "/" } = e;
|
|
188
|
-
return
|
|
189
|
+
}, E = (e) => {
|
|
190
|
+
let { registerNavItems: t, registerFooterItems: n, basePath: r = "/" } = e, i = v();
|
|
191
|
+
return b(() => {
|
|
189
192
|
if (n) return n([{
|
|
190
193
|
id: "mtw-status",
|
|
191
|
-
label: "Logistics Ready",
|
|
194
|
+
label: i("movethewheels.root.footer.status", "Logistics Ready"),
|
|
192
195
|
type: "status",
|
|
193
196
|
order: 20,
|
|
194
197
|
section: "left"
|
|
195
198
|
}]);
|
|
196
|
-
}, [n]), /* @__PURE__ */
|
|
199
|
+
}, [n, i]), /* @__PURE__ */ S(C, {
|
|
197
200
|
workspaceId: null,
|
|
198
201
|
gateway: "global",
|
|
199
202
|
defaultEnabled: !0,
|
|
200
|
-
children: [/* @__PURE__ */
|
|
203
|
+
children: [/* @__PURE__ */ x(T, {
|
|
201
204
|
registerNavItems: t,
|
|
202
205
|
basePath: r
|
|
203
|
-
}), /* @__PURE__ */
|
|
206
|
+
}), /* @__PURE__ */ x(_, {
|
|
204
207
|
...e,
|
|
205
|
-
children: /* @__PURE__ */
|
|
208
|
+
children: /* @__PURE__ */ x("div", {
|
|
206
209
|
className: "movethewheels-root h-full",
|
|
207
|
-
children: /* @__PURE__ */
|
|
210
|
+
children: /* @__PURE__ */ x(y, {})
|
|
208
211
|
})
|
|
209
212
|
})]
|
|
210
213
|
});
|
|
211
214
|
};
|
|
212
215
|
//#endregion
|
|
213
|
-
export {
|
|
216
|
+
export { E as MoveTheWheelsRoot };
|
|
@@ -1,205 +1,208 @@
|
|
|
1
1
|
import { useMoveTheWheels as e } from "./providers/MoveTheWheelsProvider.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { useTr as t } from "./shared/hooks/useTr.js";
|
|
3
|
+
import "./hooks/index.js";
|
|
4
|
+
import { Suspense as n, lazy as r } from "react";
|
|
5
|
+
import { Route as i, Routes as a, useNavigate as o } from "react-router";
|
|
6
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
7
|
+
import { NotFoundPage as l } from "@burdenoff/fe-libs/shared/pages";
|
|
6
8
|
//#region src/movethewheels/MoveTheWheelsRoutes.tsx
|
|
7
|
-
function
|
|
8
|
-
let { navigate:
|
|
9
|
-
return /* @__PURE__ */
|
|
10
|
-
homeLabel: "Back to MoveTheWheels",
|
|
9
|
+
function u() {
|
|
10
|
+
let { navigate: n, basePath: r } = e(), i = o();
|
|
11
|
+
return /* @__PURE__ */ s(l, {
|
|
12
|
+
homeLabel: t()("movethewheels.root.notFound.homeLabel", "Back to MoveTheWheels"),
|
|
11
13
|
onGoHome: () => {
|
|
12
|
-
|
|
14
|
+
n ? n(r || "/") : i("/");
|
|
13
15
|
}
|
|
14
16
|
});
|
|
15
17
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
18
|
+
function d() {
|
|
19
|
+
let e = t();
|
|
20
|
+
return /* @__PURE__ */ s("div", {
|
|
18
21
|
className: "flex items-center justify-center min-h-[400px]",
|
|
19
|
-
children: /* @__PURE__ */
|
|
22
|
+
children: /* @__PURE__ */ c("div", {
|
|
20
23
|
className: "flex flex-col items-center gap-3",
|
|
21
|
-
children: [/* @__PURE__ */
|
|
24
|
+
children: [/* @__PURE__ */ s("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }), /* @__PURE__ */ s("p", {
|
|
22
25
|
className: "text-sm text-text-secondary",
|
|
23
|
-
children: "Loading..."
|
|
26
|
+
children: e("movethewheels.root.loading", "Loading...")
|
|
24
27
|
})]
|
|
25
28
|
})
|
|
26
29
|
});
|
|
27
30
|
}
|
|
28
|
-
var
|
|
29
|
-
function
|
|
30
|
-
return /* @__PURE__ */
|
|
31
|
-
fallback: /* @__PURE__ */
|
|
32
|
-
children: /* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */
|
|
31
|
+
var f = r(() => import("./pages/DashboardPage.js")), p = r(() => import("./pages/OrdersListPage.js")), m = r(() => import("./pages/OrderDetailsPage.js")), h = r(() => import("./pages/CreateOrderPage.js")), g = r(() => import("./pages/TrackingPage.js")), _ = r(() => import("./pages/LiveTrackingPage.js")), v = r(() => import("./pages/FleetPage.js")), y = r(() => import("./pages/VehiclesPage.js")), b = r(() => import("./pages/VehicleDetailsPage.js")), x = r(() => import("./pages/DriversPage.js")), S = r(() => import("./pages/DriverDetailsPage.js")), C = r(() => import("./pages/InventoryPage.js")), w = r(() => import("./pages/ProductsPage.js")), T = r(() => import("./pages/ProductDetailsPage.js")), E = r(() => import("./pages/WarehousesPage.js")), D = r(() => import("./pages/WarehouseDetailsPage.js")), O = r(() => import("./pages/CustomersPage.js")), k = r(() => import("./pages/CustomerDetailsPage.js")), A = r(() => import("./pages/RoutesPage.js")), j = r(() => import("./pages/RouteDetailsPage.js")), M = r(() => import("./pages/AnalyticsPage.js")), N = r(() => import("./pages/FinancePage.js")), P = r(() => import("./pages/MarketplacePage.js")), F = r(() => import("./pages/ImportExportPage.js")), I = r(() => import("./pages/ReportsPage.js")), L = r(() => import("./pages/SettingsPage.js")), R = r(() => import("./pages/AIAssistantPage.js")), z = r(() => import("./pages/DeliveryCapturePage.js")), B = r(() => import("./pages/MultiModalShipmentPage.js"));
|
|
32
|
+
function V() {
|
|
33
|
+
return /* @__PURE__ */ s(n, {
|
|
34
|
+
fallback: /* @__PURE__ */ s(d, {}),
|
|
35
|
+
children: /* @__PURE__ */ c(a, { children: [
|
|
36
|
+
/* @__PURE__ */ s(i, {
|
|
34
37
|
index: !0,
|
|
35
|
-
element: /* @__PURE__ */
|
|
38
|
+
element: /* @__PURE__ */ s(f, {})
|
|
36
39
|
}),
|
|
37
|
-
/* @__PURE__ */
|
|
40
|
+
/* @__PURE__ */ s(i, {
|
|
38
41
|
path: "orders",
|
|
39
|
-
element: /* @__PURE__ */
|
|
42
|
+
element: /* @__PURE__ */ s(p, {})
|
|
40
43
|
}),
|
|
41
|
-
/* @__PURE__ */
|
|
44
|
+
/* @__PURE__ */ s(i, {
|
|
42
45
|
path: "orders/new",
|
|
43
|
-
element: /* @__PURE__ */
|
|
46
|
+
element: /* @__PURE__ */ s(h, {})
|
|
44
47
|
}),
|
|
45
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ s(i, {
|
|
46
49
|
path: "orders/:orderId",
|
|
47
|
-
element: /* @__PURE__ */
|
|
50
|
+
element: /* @__PURE__ */ s(m, {})
|
|
48
51
|
}),
|
|
49
|
-
/* @__PURE__ */
|
|
52
|
+
/* @__PURE__ */ s(i, {
|
|
50
53
|
path: "orders/:orderId/edit",
|
|
51
|
-
element: /* @__PURE__ */
|
|
54
|
+
element: /* @__PURE__ */ s(h, {})
|
|
52
55
|
}),
|
|
53
|
-
/* @__PURE__ */
|
|
56
|
+
/* @__PURE__ */ s(i, {
|
|
54
57
|
path: "tracking",
|
|
55
|
-
element: /* @__PURE__ */
|
|
58
|
+
element: /* @__PURE__ */ s(g, {})
|
|
56
59
|
}),
|
|
57
|
-
/* @__PURE__ */
|
|
60
|
+
/* @__PURE__ */ s(i, {
|
|
58
61
|
path: "tracking/live",
|
|
59
|
-
element: /* @__PURE__ */
|
|
62
|
+
element: /* @__PURE__ */ s(_, {})
|
|
60
63
|
}),
|
|
61
|
-
/* @__PURE__ */
|
|
64
|
+
/* @__PURE__ */ s(i, {
|
|
62
65
|
path: "deliveries/mine",
|
|
63
|
-
element: /* @__PURE__ */
|
|
66
|
+
element: /* @__PURE__ */ s(z, {})
|
|
64
67
|
}),
|
|
65
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ s(i, {
|
|
66
69
|
path: "shipments/multi-modal",
|
|
67
|
-
element: /* @__PURE__ */
|
|
70
|
+
element: /* @__PURE__ */ s(B, {})
|
|
68
71
|
}),
|
|
69
|
-
/* @__PURE__ */
|
|
72
|
+
/* @__PURE__ */ s(i, {
|
|
70
73
|
path: "fleet",
|
|
71
|
-
element: /* @__PURE__ */
|
|
74
|
+
element: /* @__PURE__ */ s(v, {})
|
|
72
75
|
}),
|
|
73
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ s(i, {
|
|
74
77
|
path: "fleet/vehicles",
|
|
75
|
-
element: /* @__PURE__ */
|
|
78
|
+
element: /* @__PURE__ */ s(y, {})
|
|
76
79
|
}),
|
|
77
|
-
/* @__PURE__ */
|
|
80
|
+
/* @__PURE__ */ s(i, {
|
|
78
81
|
path: "fleet/vehicles/new",
|
|
79
|
-
element: /* @__PURE__ */
|
|
82
|
+
element: /* @__PURE__ */ s(b, {})
|
|
80
83
|
}),
|
|
81
|
-
/* @__PURE__ */
|
|
84
|
+
/* @__PURE__ */ s(i, {
|
|
82
85
|
path: "fleet/vehicles/:vehicleId",
|
|
83
|
-
element: /* @__PURE__ */
|
|
86
|
+
element: /* @__PURE__ */ s(b, {})
|
|
84
87
|
}),
|
|
85
|
-
/* @__PURE__ */
|
|
88
|
+
/* @__PURE__ */ s(i, {
|
|
86
89
|
path: "fleet/vehicles/:vehicleId/edit",
|
|
87
|
-
element: /* @__PURE__ */
|
|
90
|
+
element: /* @__PURE__ */ s(b, {})
|
|
88
91
|
}),
|
|
89
|
-
/* @__PURE__ */
|
|
92
|
+
/* @__PURE__ */ s(i, {
|
|
90
93
|
path: "fleet/drivers",
|
|
91
|
-
element: /* @__PURE__ */
|
|
94
|
+
element: /* @__PURE__ */ s(x, {})
|
|
92
95
|
}),
|
|
93
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ s(i, {
|
|
94
97
|
path: "fleet/drivers/new",
|
|
95
|
-
element: /* @__PURE__ */
|
|
98
|
+
element: /* @__PURE__ */ s(S, {})
|
|
96
99
|
}),
|
|
97
|
-
/* @__PURE__ */
|
|
100
|
+
/* @__PURE__ */ s(i, {
|
|
98
101
|
path: "fleet/drivers/:driverId",
|
|
99
|
-
element: /* @__PURE__ */
|
|
102
|
+
element: /* @__PURE__ */ s(S, {})
|
|
100
103
|
}),
|
|
101
|
-
/* @__PURE__ */
|
|
104
|
+
/* @__PURE__ */ s(i, {
|
|
102
105
|
path: "fleet/drivers/:driverId/edit",
|
|
103
|
-
element: /* @__PURE__ */
|
|
106
|
+
element: /* @__PURE__ */ s(S, {})
|
|
104
107
|
}),
|
|
105
|
-
/* @__PURE__ */
|
|
108
|
+
/* @__PURE__ */ s(i, {
|
|
106
109
|
path: "inventory",
|
|
107
|
-
element: /* @__PURE__ */
|
|
110
|
+
element: /* @__PURE__ */ s(C, {})
|
|
108
111
|
}),
|
|
109
|
-
/* @__PURE__ */
|
|
112
|
+
/* @__PURE__ */ s(i, {
|
|
110
113
|
path: "inventory/products",
|
|
111
|
-
element: /* @__PURE__ */
|
|
114
|
+
element: /* @__PURE__ */ s(w, {})
|
|
112
115
|
}),
|
|
113
|
-
/* @__PURE__ */
|
|
116
|
+
/* @__PURE__ */ s(i, {
|
|
114
117
|
path: "inventory/products/new",
|
|
115
|
-
element: /* @__PURE__ */
|
|
118
|
+
element: /* @__PURE__ */ s(T, {})
|
|
116
119
|
}),
|
|
117
|
-
/* @__PURE__ */
|
|
120
|
+
/* @__PURE__ */ s(i, {
|
|
118
121
|
path: "inventory/products/:productId",
|
|
119
|
-
element: /* @__PURE__ */
|
|
122
|
+
element: /* @__PURE__ */ s(T, {})
|
|
120
123
|
}),
|
|
121
|
-
/* @__PURE__ */
|
|
124
|
+
/* @__PURE__ */ s(i, {
|
|
122
125
|
path: "inventory/products/:productId/edit",
|
|
123
|
-
element: /* @__PURE__ */
|
|
126
|
+
element: /* @__PURE__ */ s(T, {})
|
|
124
127
|
}),
|
|
125
|
-
/* @__PURE__ */
|
|
128
|
+
/* @__PURE__ */ s(i, {
|
|
126
129
|
path: "inventory/warehouses",
|
|
127
|
-
element: /* @__PURE__ */
|
|
130
|
+
element: /* @__PURE__ */ s(E, {})
|
|
128
131
|
}),
|
|
129
|
-
/* @__PURE__ */
|
|
132
|
+
/* @__PURE__ */ s(i, {
|
|
130
133
|
path: "inventory/warehouses/new",
|
|
131
|
-
element: /* @__PURE__ */
|
|
134
|
+
element: /* @__PURE__ */ s(D, {})
|
|
132
135
|
}),
|
|
133
|
-
/* @__PURE__ */
|
|
136
|
+
/* @__PURE__ */ s(i, {
|
|
134
137
|
path: "inventory/warehouses/:warehouseId",
|
|
135
|
-
element: /* @__PURE__ */
|
|
138
|
+
element: /* @__PURE__ */ s(D, {})
|
|
136
139
|
}),
|
|
137
|
-
/* @__PURE__ */
|
|
140
|
+
/* @__PURE__ */ s(i, {
|
|
138
141
|
path: "inventory/warehouses/:warehouseId/edit",
|
|
139
|
-
element: /* @__PURE__ */
|
|
142
|
+
element: /* @__PURE__ */ s(D, {})
|
|
140
143
|
}),
|
|
141
|
-
/* @__PURE__ */
|
|
144
|
+
/* @__PURE__ */ s(i, {
|
|
142
145
|
path: "customers",
|
|
143
|
-
element: /* @__PURE__ */
|
|
146
|
+
element: /* @__PURE__ */ s(O, {})
|
|
144
147
|
}),
|
|
145
|
-
/* @__PURE__ */
|
|
148
|
+
/* @__PURE__ */ s(i, {
|
|
146
149
|
path: "customers/new",
|
|
147
|
-
element: /* @__PURE__ */
|
|
150
|
+
element: /* @__PURE__ */ s(k, {})
|
|
148
151
|
}),
|
|
149
|
-
/* @__PURE__ */
|
|
152
|
+
/* @__PURE__ */ s(i, {
|
|
150
153
|
path: "customers/:customerId",
|
|
151
|
-
element: /* @__PURE__ */
|
|
154
|
+
element: /* @__PURE__ */ s(k, {})
|
|
152
155
|
}),
|
|
153
|
-
/* @__PURE__ */
|
|
156
|
+
/* @__PURE__ */ s(i, {
|
|
154
157
|
path: "routes",
|
|
155
|
-
element: /* @__PURE__ */
|
|
158
|
+
element: /* @__PURE__ */ s(A, {})
|
|
156
159
|
}),
|
|
157
|
-
/* @__PURE__ */
|
|
160
|
+
/* @__PURE__ */ s(i, {
|
|
158
161
|
path: "routes/new",
|
|
159
|
-
element: /* @__PURE__ */
|
|
162
|
+
element: /* @__PURE__ */ s(j, {})
|
|
160
163
|
}),
|
|
161
|
-
/* @__PURE__ */
|
|
164
|
+
/* @__PURE__ */ s(i, {
|
|
162
165
|
path: "routes/:routeId",
|
|
163
|
-
element: /* @__PURE__ */
|
|
166
|
+
element: /* @__PURE__ */ s(j, {})
|
|
164
167
|
}),
|
|
165
|
-
/* @__PURE__ */
|
|
168
|
+
/* @__PURE__ */ s(i, {
|
|
166
169
|
path: "routes/:routeId/edit",
|
|
167
|
-
element: /* @__PURE__ */
|
|
170
|
+
element: /* @__PURE__ */ s(j, {})
|
|
168
171
|
}),
|
|
169
|
-
/* @__PURE__ */
|
|
172
|
+
/* @__PURE__ */ s(i, {
|
|
170
173
|
path: "analytics",
|
|
171
|
-
element: /* @__PURE__ */
|
|
174
|
+
element: /* @__PURE__ */ s(M, {})
|
|
172
175
|
}),
|
|
173
|
-
/* @__PURE__ */
|
|
176
|
+
/* @__PURE__ */ s(i, {
|
|
174
177
|
path: "finance",
|
|
175
|
-
element: /* @__PURE__ */
|
|
178
|
+
element: /* @__PURE__ */ s(N, {})
|
|
176
179
|
}),
|
|
177
|
-
/* @__PURE__ */
|
|
180
|
+
/* @__PURE__ */ s(i, {
|
|
178
181
|
path: "marketplace",
|
|
179
|
-
element: /* @__PURE__ */
|
|
182
|
+
element: /* @__PURE__ */ s(P, {})
|
|
180
183
|
}),
|
|
181
|
-
/* @__PURE__ */
|
|
184
|
+
/* @__PURE__ */ s(i, {
|
|
182
185
|
path: "import-export",
|
|
183
|
-
element: /* @__PURE__ */
|
|
186
|
+
element: /* @__PURE__ */ s(F, {})
|
|
184
187
|
}),
|
|
185
|
-
/* @__PURE__ */
|
|
188
|
+
/* @__PURE__ */ s(i, {
|
|
186
189
|
path: "reports",
|
|
187
|
-
element: /* @__PURE__ */
|
|
190
|
+
element: /* @__PURE__ */ s(I, {})
|
|
188
191
|
}),
|
|
189
|
-
/* @__PURE__ */
|
|
192
|
+
/* @__PURE__ */ s(i, {
|
|
190
193
|
path: "ai-assistant",
|
|
191
|
-
element: /* @__PURE__ */
|
|
194
|
+
element: /* @__PURE__ */ s(R, {})
|
|
192
195
|
}),
|
|
193
|
-
/* @__PURE__ */
|
|
196
|
+
/* @__PURE__ */ s(i, {
|
|
194
197
|
path: "settings",
|
|
195
|
-
element: /* @__PURE__ */
|
|
198
|
+
element: /* @__PURE__ */ s(L, {})
|
|
196
199
|
}),
|
|
197
|
-
/* @__PURE__ */
|
|
200
|
+
/* @__PURE__ */ s(i, {
|
|
198
201
|
path: "*",
|
|
199
|
-
element: /* @__PURE__ */
|
|
202
|
+
element: /* @__PURE__ */ s(u, {})
|
|
200
203
|
})
|
|
201
204
|
] })
|
|
202
205
|
});
|
|
203
206
|
}
|
|
204
207
|
//#endregion
|
|
205
|
-
export {
|
|
208
|
+
export { V as MoveTheWheelsRoutes };
|
package/dist/hooks/index.js
CHANGED