@burdenoff/microfe-movethewheels 2026.1031.2 → 2026.1031.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/MoveTheWheelsRoot.js +121 -104
- package/dist/MoveTheWheelsRoutes.js +142 -133
- package/dist/components/DocumentsCard.js +11 -11
- package/dist/components/ProofOfDeliveryCard.js +13 -13
- package/dist/components/ShipmentRiskDialog.js +24 -24
- package/dist/components/ShippingQuoteResults.js +46 -46
- package/dist/components/TrackingAlertList.js +17 -17
- package/dist/generated/tracking-quality-operations.d.ts +140 -0
- package/dist/hooks/useEntityImport.js +68 -0
- package/dist/hooks/useOrderDispatch.js +17 -17
- package/dist/movethewheels/hooks/useEntityImport.d.ts +19 -0
- package/dist/movethewheels/pages/ImportExportPage.d.ts +9 -0
- package/dist/movethewheels/pages/SettingsPage.d.ts +1 -0
- package/dist/movethewheels/providers/ModuleSettingsProvider.d.ts +17 -0
- package/dist/movethewheels/utils/entityImport.d.ts +109 -0
- package/dist/movethewheels/utils/formatters.d.ts +23 -3
- package/dist/movethewheels/utils/moduleSettings.d.ts +52 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-up.js +22 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/bell.js +11 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/file-spreadsheet.js +30 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/file-up.js +22 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/key-round.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/plug.js +22 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js +11 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/settings.js +13 -0
- package/dist/pages/AnalyticsPage.js +27 -27
- package/dist/pages/CreateOrderPage.js +340 -317
- package/dist/pages/CustomerDetailsPage.js +246 -246
- package/dist/pages/CustomersPage.js +88 -79
- package/dist/pages/DashboardPage.js +24 -24
- package/dist/pages/DeliveryCapturePage.js +74 -74
- package/dist/pages/DriverDetailsPage.js +337 -337
- package/dist/pages/DriversPage.js +119 -110
- package/dist/pages/FinancePage.js +26 -26
- package/dist/pages/ImportExportPage.js +435 -0
- package/dist/pages/InventoryPage.js +28 -28
- package/dist/pages/LiveTrackingPage.js +108 -108
- package/dist/pages/MarketplacePage.js +44 -44
- package/dist/pages/OrderDetailsPage.js +306 -306
- package/dist/pages/OrdersListPage.js +27 -27
- package/dist/pages/ProductDetailsPage.js +89 -89
- package/dist/pages/ProductsPage.js +86 -77
- package/dist/pages/RouteDetailsPage.js +282 -285
- package/dist/pages/RoutesPage.js +78 -78
- package/dist/pages/SettingsPage.js +459 -0
- package/dist/pages/TrackingPage.js +41 -41
- package/dist/pages/VehicleDetailsPage.js +207 -207
- package/dist/pages/VehiclesPage.js +100 -90
- package/dist/pages/WarehouseDetailsPage.js +132 -132
- package/dist/pages/WarehousesPage.js +97 -88
- package/dist/providers/ModuleSettingsProvider.js +74 -0
- package/dist/utils/entityImport.js +73 -0
- package/dist/utils/formatters.js +53 -26
- package/dist/utils/moduleSettings.js +132 -0
- package/package.json +4 -2
- package/src/generated/tracking-quality-operations.ts +184 -0
- package/src/movethewheels/MoveTheWheelsRoot.tsx +22 -3
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +13 -0
- package/src/movethewheels/hooks/useEntityImport.ts +108 -0
- package/src/movethewheels/pages/CreateOrderPage.tsx +38 -6
- package/src/movethewheels/pages/CustomersPage.tsx +6 -1
- package/src/movethewheels/pages/DriversPage.tsx +6 -0
- package/src/movethewheels/pages/ImportExportPage.tsx +483 -0
- package/src/movethewheels/pages/ProductsPage.tsx +16 -3
- package/src/movethewheels/pages/RouteDetailsPage.tsx +3 -6
- package/src/movethewheels/pages/RoutesPage.tsx +2 -2
- package/src/movethewheels/pages/SettingsPage.tsx +516 -0
- package/src/movethewheels/pages/VehicleDetailsPage.tsx +4 -2
- package/src/movethewheels/pages/VehiclesPage.tsx +8 -1
- package/src/movethewheels/pages/WarehousesPage.tsx +6 -1
- package/src/movethewheels/providers/ModuleSettingsProvider.tsx +133 -0
- package/src/movethewheels/utils/entityImport.ts +239 -0
- package/src/movethewheels/utils/formatters.ts +69 -10
- package/src/movethewheels/utils/moduleSettings.ts +224 -0
|
@@ -1,136 +1,139 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
1
|
+
import { ArrowDownUp as e } from "./node_modules/lucide-react/dist/esm/icons/arrow-down-up.js";
|
|
2
|
+
import { Bot as t } from "./node_modules/lucide-react/dist/esm/icons/bot.js";
|
|
3
|
+
import { Boxes as n } from "./node_modules/lucide-react/dist/esm/icons/boxes.js";
|
|
4
|
+
import { Car as r } from "./node_modules/lucide-react/dist/esm/icons/car.js";
|
|
5
|
+
import { ChartColumn as i } from "./node_modules/lucide-react/dist/esm/icons/chart-column.js";
|
|
6
|
+
import { ClipboardList as a } from "./node_modules/lucide-react/dist/esm/icons/clipboard-list.js";
|
|
7
|
+
import { DollarSign as o } from "./node_modules/lucide-react/dist/esm/icons/dollar-sign.js";
|
|
8
|
+
import { LayoutDashboard as s } from "./node_modules/lucide-react/dist/esm/icons/layout-dashboard.js";
|
|
9
|
+
import { Map as c } from "./node_modules/lucide-react/dist/esm/icons/map.js";
|
|
10
|
+
import { Package as l } from "./node_modules/lucide-react/dist/esm/icons/package.js";
|
|
11
|
+
import { Route as u } from "./node_modules/lucide-react/dist/esm/icons/route.js";
|
|
12
|
+
import { Settings as d } from "./node_modules/lucide-react/dist/esm/icons/settings.js";
|
|
13
|
+
import { Store as f } from "./node_modules/lucide-react/dist/esm/icons/store.js";
|
|
14
|
+
import { Truck as p } from "./node_modules/lucide-react/dist/esm/icons/truck.js";
|
|
15
|
+
import { UserCheck as m } from "./node_modules/lucide-react/dist/esm/icons/user-check.js";
|
|
16
|
+
import { Users as h } from "./node_modules/lucide-react/dist/esm/icons/users.js";
|
|
17
|
+
import { Warehouse as g } from "./node_modules/lucide-react/dist/esm/icons/warehouse.js";
|
|
18
|
+
import { MoveTheWheelsProvider as _ } from "./providers/MoveTheWheelsProvider.js";
|
|
19
|
+
import { ModuleSettingsProvider as v } from "./providers/ModuleSettingsProvider.js";
|
|
20
|
+
import { useTr as y } from "./shared/hooks/useTr.js";
|
|
18
21
|
import "./hooks/index.js";
|
|
19
|
-
import { MoveTheWheelsRoutes as
|
|
20
|
-
import { useEffect as
|
|
21
|
-
import { jsx as
|
|
22
|
-
import { FeatureFlagProvider as
|
|
22
|
+
import { MoveTheWheelsRoutes as b } from "./MoveTheWheelsRoutes.js";
|
|
23
|
+
import { useEffect as x } from "react";
|
|
24
|
+
import { jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
25
|
+
import { FeatureFlagProvider as w } from "@burdenoff/fe-libs/shared/feature-flags";
|
|
23
26
|
//#region src/movethewheels/MoveTheWheelsRoot.tsx
|
|
24
|
-
var
|
|
25
|
-
let b =
|
|
26
|
-
return
|
|
27
|
-
if (
|
|
27
|
+
var T = ({ registerNavItems: _, basePath: v = "/" }) => {
|
|
28
|
+
let b = y(), C = (e, t) => (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
|
|
29
|
+
return x(() => {
|
|
30
|
+
if (_) return _({
|
|
28
31
|
id: "movethewheels",
|
|
29
32
|
label: b("movethewheels.page.title", "MoveTheWheels"),
|
|
30
|
-
path:
|
|
31
|
-
icon: /* @__PURE__ */
|
|
33
|
+
path: v,
|
|
34
|
+
icon: /* @__PURE__ */ S(p, { size: 20 }),
|
|
32
35
|
order: 25,
|
|
33
36
|
group: "workspace",
|
|
34
37
|
children: [
|
|
35
38
|
{
|
|
36
39
|
id: "mtw-dashboard",
|
|
37
40
|
label: b("movethewheels.root.nav.dashboard", "Dashboard"),
|
|
38
|
-
path:
|
|
39
|
-
icon: /* @__PURE__ */
|
|
41
|
+
path: v,
|
|
42
|
+
icon: /* @__PURE__ */ S(s, { size: 16 }),
|
|
40
43
|
order: 1
|
|
41
44
|
},
|
|
42
45
|
{
|
|
43
46
|
id: "mtw-orders",
|
|
44
47
|
label: b("movethewheels.root.nav.orders", "Orders"),
|
|
45
|
-
path:
|
|
46
|
-
icon: /* @__PURE__ */
|
|
48
|
+
path: C(v, "orders"),
|
|
49
|
+
icon: /* @__PURE__ */ S(l, { size: 16 }),
|
|
47
50
|
order: 2
|
|
48
51
|
},
|
|
49
52
|
{
|
|
50
53
|
id: "mtw-tracking",
|
|
51
54
|
label: b("movethewheels.root.nav.tracking", "Tracking"),
|
|
52
|
-
path:
|
|
53
|
-
icon: /* @__PURE__ */
|
|
55
|
+
path: C(v, "tracking"),
|
|
56
|
+
icon: /* @__PURE__ */ S(c, { size: 16 }),
|
|
54
57
|
order: 3,
|
|
55
58
|
children: [{
|
|
56
59
|
id: "mtw-tracking-quality",
|
|
57
60
|
label: b("movethewheels.root.nav.trackingQuality", "Tracking event quality"),
|
|
58
|
-
path:
|
|
59
|
-
icon: /* @__PURE__ */
|
|
61
|
+
path: C(v, "tracking/event-quality"),
|
|
62
|
+
icon: /* @__PURE__ */ S(c, { size: 16 })
|
|
60
63
|
}, {
|
|
61
64
|
id: "mtw-status-authority",
|
|
62
65
|
label: b("movethewheels.root.nav.statusAuthority", "Shipment status authority"),
|
|
63
|
-
path:
|
|
64
|
-
icon: /* @__PURE__ */
|
|
66
|
+
path: C(v, "shipments/status-authority"),
|
|
67
|
+
icon: /* @__PURE__ */ S(a, { size: 16 })
|
|
65
68
|
}]
|
|
66
69
|
},
|
|
67
70
|
{
|
|
68
71
|
id: "mtw-consolidation",
|
|
69
72
|
label: b("movethewheels.root.nav.consolidation", "Hub consolidation"),
|
|
70
|
-
path:
|
|
71
|
-
icon: /* @__PURE__ */
|
|
73
|
+
path: C(v, "containers/consolidation"),
|
|
74
|
+
icon: /* @__PURE__ */ S(n, { size: 16 }),
|
|
72
75
|
order: 3.4
|
|
73
76
|
},
|
|
74
77
|
{
|
|
75
78
|
id: "mtw-procedures",
|
|
76
79
|
label: b("movethewheels.root.nav.procedures", "Logistics procedures"),
|
|
77
|
-
path:
|
|
78
|
-
icon: /* @__PURE__ */
|
|
80
|
+
path: C(v, "containers/procedures"),
|
|
81
|
+
icon: /* @__PURE__ */ S(a, { size: 16 }),
|
|
79
82
|
order: 3.5
|
|
80
83
|
},
|
|
81
84
|
{
|
|
82
85
|
id: "mtw-containers",
|
|
83
86
|
label: b("movethewheels.root.nav.containers", "Containers"),
|
|
84
|
-
path:
|
|
85
|
-
icon: /* @__PURE__ */
|
|
87
|
+
path: C(v, "containers"),
|
|
88
|
+
icon: /* @__PURE__ */ S(n, { size: 16 }),
|
|
86
89
|
order: 3.5,
|
|
87
90
|
children: [
|
|
88
91
|
{
|
|
89
92
|
id: "mtw-empty-reuse",
|
|
90
93
|
label: b("movethewheels.root.nav.emptyReuse", "Empty return and reuse"),
|
|
91
|
-
path:
|
|
92
|
-
icon: /* @__PURE__ */
|
|
94
|
+
path: C(v, "containers/empty-reuse"),
|
|
95
|
+
icon: /* @__PURE__ */ S(n, { size: 16 })
|
|
93
96
|
},
|
|
94
97
|
{
|
|
95
98
|
id: "mtw-free-time",
|
|
96
99
|
label: b("movethewheels.root.nav.freeTime", "Free time and extensions"),
|
|
97
|
-
path:
|
|
98
|
-
icon: /* @__PURE__ */
|
|
100
|
+
path: C(v, "containers/free-time"),
|
|
101
|
+
icon: /* @__PURE__ */ S(n, { size: 16 })
|
|
99
102
|
},
|
|
100
103
|
{
|
|
101
104
|
id: "mtw-container-condition",
|
|
102
105
|
label: b("movethewheels.root.nav.containerCondition", "Container condition"),
|
|
103
|
-
path:
|
|
104
|
-
icon: /* @__PURE__ */
|
|
106
|
+
path: C(v, "containers/condition"),
|
|
107
|
+
icon: /* @__PURE__ */ S(n, { size: 16 })
|
|
105
108
|
}
|
|
106
109
|
]
|
|
107
110
|
},
|
|
108
111
|
{
|
|
109
112
|
id: "mtw-fleet",
|
|
110
113
|
label: b("movethewheels.root.nav.fleet", "Fleet"),
|
|
111
|
-
path:
|
|
112
|
-
icon: /* @__PURE__ */
|
|
114
|
+
path: C(v, "fleet"),
|
|
115
|
+
icon: /* @__PURE__ */ S(p, { size: 16 }),
|
|
113
116
|
order: 4,
|
|
114
117
|
children: [
|
|
115
118
|
{
|
|
116
119
|
id: "mtw-fleet-overview",
|
|
117
120
|
label: b("movethewheels.root.nav.overview", "Overview"),
|
|
118
|
-
path:
|
|
119
|
-
icon: /* @__PURE__ */
|
|
121
|
+
path: C(v, "fleet"),
|
|
122
|
+
icon: /* @__PURE__ */ S(s, { size: 14 }),
|
|
120
123
|
order: 1
|
|
121
124
|
},
|
|
122
125
|
{
|
|
123
126
|
id: "mtw-vehicles",
|
|
124
127
|
label: b("movethewheels.root.nav.vehicles", "Vehicles"),
|
|
125
|
-
path:
|
|
126
|
-
icon: /* @__PURE__ */
|
|
128
|
+
path: C(v, "fleet/vehicles"),
|
|
129
|
+
icon: /* @__PURE__ */ S(r, { size: 14 }),
|
|
127
130
|
order: 2
|
|
128
131
|
},
|
|
129
132
|
{
|
|
130
133
|
id: "mtw-drivers",
|
|
131
134
|
label: b("movethewheels.root.nav.drivers", "Drivers"),
|
|
132
|
-
path:
|
|
133
|
-
icon: /* @__PURE__ */
|
|
135
|
+
path: C(v, "fleet/drivers"),
|
|
136
|
+
icon: /* @__PURE__ */ S(m, { size: 14 }),
|
|
134
137
|
order: 3
|
|
135
138
|
}
|
|
136
139
|
]
|
|
@@ -138,57 +141,57 @@ var S = ({ registerNavItems: h, basePath: _ = "/" }) => {
|
|
|
138
141
|
{
|
|
139
142
|
id: "mtw-inventory",
|
|
140
143
|
label: b("movethewheels.root.nav.inventory", "Inventory"),
|
|
141
|
-
path:
|
|
142
|
-
icon: /* @__PURE__ */
|
|
144
|
+
path: C(v, "inventory"),
|
|
145
|
+
icon: /* @__PURE__ */ S(g, { size: 16 }),
|
|
143
146
|
order: 5,
|
|
144
147
|
children: [
|
|
145
148
|
{
|
|
146
149
|
id: "mtw-inventory-overview",
|
|
147
150
|
label: b("movethewheels.root.nav.overview", "Overview"),
|
|
148
|
-
path:
|
|
149
|
-
icon: /* @__PURE__ */
|
|
151
|
+
path: C(v, "inventory"),
|
|
152
|
+
icon: /* @__PURE__ */ S(s, { size: 14 }),
|
|
150
153
|
order: 1
|
|
151
154
|
},
|
|
152
155
|
{
|
|
153
156
|
id: "mtw-products",
|
|
154
157
|
label: b("movethewheels.root.nav.products", "Products"),
|
|
155
|
-
path:
|
|
156
|
-
icon: /* @__PURE__ */
|
|
158
|
+
path: C(v, "inventory/products"),
|
|
159
|
+
icon: /* @__PURE__ */ S(n, { size: 14 }),
|
|
157
160
|
order: 2
|
|
158
161
|
},
|
|
159
162
|
{
|
|
160
163
|
id: "mtw-pending-picks",
|
|
161
164
|
label: "Plan a pick",
|
|
162
|
-
path:
|
|
163
|
-
icon: /* @__PURE__ */
|
|
165
|
+
path: C(v, "inventory/pending-picks"),
|
|
166
|
+
icon: /* @__PURE__ */ S(a, { size: 14 }),
|
|
164
167
|
order: 5
|
|
165
168
|
},
|
|
166
169
|
{
|
|
167
170
|
id: "mtw-stock-observations",
|
|
168
171
|
label: "Reported stock issues",
|
|
169
|
-
path:
|
|
170
|
-
icon: /* @__PURE__ */
|
|
172
|
+
path: C(v, "inventory/reported-issues"),
|
|
173
|
+
icon: /* @__PURE__ */ S(a, { size: 14 }),
|
|
171
174
|
order: 4
|
|
172
175
|
},
|
|
173
176
|
{
|
|
174
177
|
id: "mtw-stock-binding",
|
|
175
178
|
label: "Source assessments",
|
|
176
|
-
path:
|
|
177
|
-
icon: /* @__PURE__ */
|
|
179
|
+
path: C(v, "inventory/source-assessments"),
|
|
180
|
+
icon: /* @__PURE__ */ S(a, { size: 14 }),
|
|
178
181
|
order: 3
|
|
179
182
|
},
|
|
180
183
|
{
|
|
181
184
|
id: "mtw-pallet-preview",
|
|
182
185
|
label: b("movethewheels.root.nav.palletPreview", "Pallet preview"),
|
|
183
|
-
path:
|
|
184
|
-
icon: /* @__PURE__ */
|
|
186
|
+
path: C(v, "inventory/warehouses/pallet-preview"),
|
|
187
|
+
icon: /* @__PURE__ */ S(n, { size: 14 }),
|
|
185
188
|
order: 6
|
|
186
189
|
},
|
|
187
190
|
{
|
|
188
191
|
id: "mtw-warehouses",
|
|
189
192
|
label: b("movethewheels.root.nav.warehouses", "Warehouses"),
|
|
190
|
-
path:
|
|
191
|
-
icon: /* @__PURE__ */
|
|
193
|
+
path: C(v, "inventory/warehouses"),
|
|
194
|
+
icon: /* @__PURE__ */ S(g, { size: 14 }),
|
|
192
195
|
order: 3
|
|
193
196
|
}
|
|
194
197
|
]
|
|
@@ -196,77 +199,91 @@ var S = ({ registerNavItems: h, basePath: _ = "/" }) => {
|
|
|
196
199
|
{
|
|
197
200
|
id: "mtw-customers",
|
|
198
201
|
label: b("movethewheels.root.nav.customers", "Customers"),
|
|
199
|
-
path:
|
|
200
|
-
icon: /* @__PURE__ */
|
|
202
|
+
path: C(v, "customers"),
|
|
203
|
+
icon: /* @__PURE__ */ S(h, { size: 16 }),
|
|
201
204
|
order: 6
|
|
202
205
|
},
|
|
203
206
|
{
|
|
204
207
|
id: "mtw-marketplace",
|
|
205
208
|
label: b("movethewheels.root.nav.marketplace", "Marketplace"),
|
|
206
|
-
path:
|
|
207
|
-
icon: /* @__PURE__ */
|
|
209
|
+
path: C(v, "marketplace"),
|
|
210
|
+
icon: /* @__PURE__ */ S(f, { size: 16 }),
|
|
211
|
+
order: 6
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
id: "mtw-import-export",
|
|
215
|
+
label: b("movethewheels.root.nav.importExport", "Import / Export"),
|
|
216
|
+
path: C(v, "import-export"),
|
|
217
|
+
icon: /* @__PURE__ */ S(e, { size: 16 }),
|
|
208
218
|
order: 6
|
|
209
219
|
},
|
|
210
220
|
{
|
|
211
221
|
id: "mtw-routes",
|
|
212
222
|
label: b("movethewheels.root.nav.routes", "Routes"),
|
|
213
|
-
path:
|
|
214
|
-
icon: /* @__PURE__ */
|
|
223
|
+
path: C(v, "routes"),
|
|
224
|
+
icon: /* @__PURE__ */ S(u, { size: 16 }),
|
|
215
225
|
order: 7,
|
|
216
226
|
children: [{
|
|
217
227
|
id: "mtw-trip-utilization",
|
|
218
228
|
label: b("movethewheels.root.nav.tripUtilization", "Reported trip utilization"),
|
|
219
|
-
path:
|
|
220
|
-
icon: /* @__PURE__ */
|
|
229
|
+
path: C(v, "routes/trip-utilization"),
|
|
230
|
+
icon: /* @__PURE__ */ S(p, { size: 16 })
|
|
221
231
|
}, {
|
|
222
232
|
id: "mtw-fuel-preview",
|
|
223
233
|
label: b("movethewheels.root.nav.fuelPreview", "Consumed fuel preview"),
|
|
224
|
-
path:
|
|
225
|
-
icon: /* @__PURE__ */
|
|
234
|
+
path: C(v, "fuel-preview"),
|
|
235
|
+
icon: /* @__PURE__ */ S(p, { size: 16 })
|
|
226
236
|
}]
|
|
227
237
|
},
|
|
228
238
|
{
|
|
229
239
|
id: "mtw-analytics",
|
|
230
240
|
label: b("movethewheels.root.nav.analytics", "Analytics"),
|
|
231
|
-
path:
|
|
232
|
-
icon: /* @__PURE__ */
|
|
241
|
+
path: C(v, "analytics"),
|
|
242
|
+
icon: /* @__PURE__ */ S(i, { size: 16 }),
|
|
233
243
|
order: 8
|
|
234
244
|
},
|
|
235
245
|
{
|
|
236
246
|
id: "mtw-finance",
|
|
237
247
|
label: b("movethewheels.root.nav.finance", "Finance"),
|
|
238
|
-
path:
|
|
239
|
-
icon: /* @__PURE__ */
|
|
248
|
+
path: C(v, "finance"),
|
|
249
|
+
icon: /* @__PURE__ */ S(o, { size: 16 }),
|
|
240
250
|
order: 9,
|
|
241
251
|
children: [{
|
|
242
252
|
id: "mtw-freight-invoice-comparisons",
|
|
243
253
|
label: b("movethewheels.root.nav.freightInvoices", "Freight invoice comparisons"),
|
|
244
|
-
path:
|
|
245
|
-
icon: /* @__PURE__ */
|
|
254
|
+
path: C(v, "finance/freight-invoice-comparisons"),
|
|
255
|
+
icon: /* @__PURE__ */ S(o, { size: 16 })
|
|
246
256
|
}, {
|
|
247
257
|
id: "mtw-freight-estimates",
|
|
248
258
|
label: b("movethewheels.root.nav.freightEstimates", "Freight cost estimates"),
|
|
249
|
-
path:
|
|
250
|
-
icon: /* @__PURE__ */
|
|
259
|
+
path: C(v, "finance/freight-estimates"),
|
|
260
|
+
icon: /* @__PURE__ */ S(o, { size: 16 })
|
|
251
261
|
}]
|
|
252
262
|
},
|
|
253
263
|
{
|
|
254
264
|
id: "mtw-ai-assistant",
|
|
255
265
|
label: b("movethewheels.root.nav.aiAssistant", "AI Assistant"),
|
|
256
|
-
path:
|
|
257
|
-
icon: /* @__PURE__ */
|
|
266
|
+
path: C(v, "ai-assistant"),
|
|
267
|
+
icon: /* @__PURE__ */ S(t, { size: 16 }),
|
|
258
268
|
order: 13
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
id: "mtw-settings",
|
|
272
|
+
label: b("movethewheels.root.nav.settings", "Settings"),
|
|
273
|
+
path: C(v, "settings"),
|
|
274
|
+
icon: /* @__PURE__ */ S(d, { size: 16 }),
|
|
275
|
+
order: 99
|
|
259
276
|
}
|
|
260
277
|
]
|
|
261
278
|
});
|
|
262
279
|
}, [
|
|
263
|
-
h,
|
|
264
280
|
_,
|
|
281
|
+
v,
|
|
265
282
|
b
|
|
266
283
|
]), null;
|
|
267
|
-
},
|
|
268
|
-
let { registerNavItems: t, registerFooterItems: n, basePath: r = "/" } = e, i =
|
|
269
|
-
return
|
|
284
|
+
}, E = (e) => {
|
|
285
|
+
let { registerNavItems: t, registerFooterItems: n, basePath: r = "/" } = e, i = y();
|
|
286
|
+
return x(() => {
|
|
270
287
|
if (n) return n([{
|
|
271
288
|
id: "mtw-status",
|
|
272
289
|
label: i("movethewheels.root.footer.status", "Logistics Ready"),
|
|
@@ -274,21 +291,21 @@ var S = ({ registerNavItems: h, basePath: _ = "/" }) => {
|
|
|
274
291
|
order: 20,
|
|
275
292
|
section: "left"
|
|
276
293
|
}]);
|
|
277
|
-
}, [n, i]), /* @__PURE__ */
|
|
294
|
+
}, [n, i]), /* @__PURE__ */ C(w, {
|
|
278
295
|
workspaceId: null,
|
|
279
296
|
gateway: "global",
|
|
280
297
|
defaultEnabled: !0,
|
|
281
|
-
children: [/* @__PURE__ */
|
|
298
|
+
children: [/* @__PURE__ */ S(T, {
|
|
282
299
|
registerNavItems: t,
|
|
283
300
|
basePath: r
|
|
284
|
-
}), /* @__PURE__ */
|
|
301
|
+
}), /* @__PURE__ */ S(_, {
|
|
285
302
|
...e,
|
|
286
|
-
children: /* @__PURE__ */
|
|
303
|
+
children: /* @__PURE__ */ S(v, { children: /* @__PURE__ */ S("div", {
|
|
287
304
|
className: "movethewheels-root h-full",
|
|
288
|
-
children: /* @__PURE__ */
|
|
289
|
-
})
|
|
305
|
+
children: /* @__PURE__ */ S(b, {})
|
|
306
|
+
}) })
|
|
290
307
|
})]
|
|
291
308
|
});
|
|
292
309
|
};
|
|
293
310
|
//#endregion
|
|
294
|
-
export {
|
|
311
|
+
export { E as MoveTheWheelsRoot };
|