@burdenoff/microfe-movethewheels 2026.1114.1 → 2026.1123.1
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 +149 -133
- package/dist/MoveTheWheelsRoutes.js +157 -139
- package/dist/components/EntityConversationsCard.js +145 -0
- package/dist/components/maps/MapCanvas.js +4 -3
- package/dist/events/rybbit.js +87 -0
- package/dist/generated/tracking-quality-operations.d.ts +342 -0
- package/dist/hooks/useEntityComments.js +111 -0
- package/dist/hooks/useFleet.js +394 -311
- package/dist/hooks/useInventory.js +378 -313
- package/dist/hooks/useMultiModalShipments.js +58 -53
- package/dist/hooks/useOrders.js +178 -158
- package/dist/hooks/useRoutes.js +146 -130
- package/dist/index.js +35 -34
- package/dist/movethewheels/components/EntityConversationsCard.d.ts +8 -0
- package/dist/movethewheels/events/rybbit.d.ts +27 -0
- package/dist/movethewheels/hooks/useEntityComments.d.ts +26 -0
- package/dist/movethewheels/hooks/useFleet.d.ts +73 -1
- package/dist/movethewheels/hooks/useInventory.d.ts +19 -0
- package/dist/movethewheels/index.d.ts +1 -0
- package/dist/movethewheels/pages/DocumentsLibraryPage.d.ts +1 -0
- package/dist/movethewheels/pages/NotificationsCenterPage.d.ts +1 -0
- package/dist/movethewheels/types/index.d.ts +95 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/check-check.js +10 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/layers.js +17 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/message-square.js +7 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/send.js +10 -0
- package/dist/pages/DocumentsLibraryPage.js +235 -0
- package/dist/pages/DriverDetailsPage.js +625 -351
- package/dist/pages/NotificationsCenterPage.js +310 -0
- package/dist/pages/OrderDetailsPage.js +48 -42
- package/dist/pages/RouteDetailsPage.js +257 -251
- package/dist/pages/TrackingPage.js +202 -196
- package/dist/pages/VehicleDetailsPage.js +616 -314
- package/dist/pages/WarehouseDetailsPage.js +539 -253
- package/dist/stories/ControlTowerWidgets.stories.d.ts +10 -0
- package/dist/stories/DataTable.stories.d.ts +15 -0
- package/dist/stories/FleetCards.stories.d.ts +9 -0
- package/dist/stories/OrderForms.stories.d.ts +8 -0
- package/dist/stories/RouteMap.stories.d.ts +7 -0
- package/dist/stories/ShipmentTimeline.stories.d.ts +6 -0
- package/package.json +3 -2
- package/src/generated/tracking-quality-operations.ts +407 -0
- package/src/movethewheels/MoveTheWheelsRoot.tsx +16 -0
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +17 -2
- package/src/movethewheels/components/EntityConversationsCard.tsx +143 -0
- package/src/movethewheels/components/maps/MapCanvas.tsx +3 -3
- package/src/movethewheels/events/__tests__/rybbit.test.ts +98 -0
- package/src/movethewheels/events/rybbit.ts +191 -0
- package/src/movethewheels/hooks/useEntityComments.ts +258 -0
- package/src/movethewheels/hooks/useFleet.ts +300 -5
- package/src/movethewheels/hooks/useInventory.ts +231 -3
- package/src/movethewheels/hooks/useMultiModalShipments.ts +8 -1
- package/src/movethewheels/hooks/useOrders.ts +19 -3
- package/src/movethewheels/hooks/useRoutes.ts +14 -2
- package/src/movethewheels/index.ts +1 -0
- package/src/movethewheels/pages/DocumentsLibraryPage.tsx +229 -0
- package/src/movethewheels/pages/DriverDetailsPage.tsx +250 -1
- package/src/movethewheels/pages/NotificationsCenterPage.tsx +331 -0
- package/src/movethewheels/pages/OrderDetailsPage.tsx +8 -0
- package/src/movethewheels/pages/RouteDetailsPage.tsx +6 -0
- package/src/movethewheels/pages/TrackingPage.tsx +8 -0
- package/src/movethewheels/pages/VehicleDetailsPage.tsx +255 -1
- package/src/movethewheels/pages/WarehouseDetailsPage.tsx +266 -2
- package/src/movethewheels/types/index.ts +103 -2
- package/src/stories/ControlTowerWidgets.stories.tsx +150 -0
- package/src/stories/DataTable.stories.tsx +94 -0
- package/src/stories/FleetCards.stories.tsx +77 -0
- package/src/stories/OrderForms.stories.tsx +84 -0
- package/src/stories/RouteMap.stories.tsx +43 -0
- package/src/stories/ShipmentTimeline.stories.tsx +128 -0
|
@@ -17,289 +17,305 @@ import h from "./node_modules/lucide-react/dist/esm/icons/arrow-down-up.js";
|
|
|
17
17
|
import g from "./node_modules/lucide-react/dist/esm/icons/settings.js";
|
|
18
18
|
import _ from "./node_modules/lucide-react/dist/esm/icons/plug.js";
|
|
19
19
|
import v from "./node_modules/lucide-react/dist/esm/icons/file-chart-column-increasing.js";
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
20
|
+
import y from "./node_modules/lucide-react/dist/esm/icons/bell.js";
|
|
21
|
+
import b from "./node_modules/lucide-react/dist/esm/icons/file-text.js";
|
|
22
|
+
import { MoveTheWheelsProvider as x } from "./providers/MoveTheWheelsProvider.js";
|
|
23
|
+
import { ModuleSettingsProvider as S } from "./providers/ModuleSettingsProvider.js";
|
|
24
|
+
import { useTr as C } from "./shared/hooks/useTr.js";
|
|
25
|
+
import { MoveTheWheelsRoutes as w } from "./MoveTheWheelsRoutes.js";
|
|
24
26
|
import "./hooks/index.js";
|
|
25
|
-
import { useEffect as
|
|
26
|
-
import { jsx as
|
|
27
|
-
import { FeatureFlagProvider as
|
|
27
|
+
import { useEffect as T } from "react";
|
|
28
|
+
import { jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
29
|
+
import { FeatureFlagProvider as O } from "@burdenoff/fe-libs/shared/feature-flags";
|
|
28
30
|
// src/movethewheels/MoveTheWheelsRoot.tsx
|
|
29
|
-
var
|
|
30
|
-
let
|
|
31
|
-
return
|
|
32
|
-
if (
|
|
31
|
+
var k = ({ registerNavItems: x, basePath: S = "/" }) => {
|
|
32
|
+
let w = C(), D = (e, t) => (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
|
|
33
|
+
return T(() => {
|
|
34
|
+
if (x) return x({
|
|
33
35
|
id: "movethewheels",
|
|
34
|
-
label:
|
|
35
|
-
path:
|
|
36
|
-
icon: /* @__PURE__ */
|
|
36
|
+
label: w("movethewheels.page.title", "MoveTheWheels"),
|
|
37
|
+
path: S,
|
|
38
|
+
icon: /* @__PURE__ */ E(e, { size: 20 }),
|
|
37
39
|
order: 25,
|
|
38
40
|
group: "workspace",
|
|
39
41
|
children: [
|
|
40
42
|
{
|
|
41
43
|
id: "mtw-dashboard",
|
|
42
|
-
label:
|
|
43
|
-
path:
|
|
44
|
-
icon: /* @__PURE__ */
|
|
44
|
+
label: w("movethewheels.root.nav.dashboard", "Dashboard"),
|
|
45
|
+
path: S,
|
|
46
|
+
icon: /* @__PURE__ */ E(r, { size: 16 }),
|
|
45
47
|
order: 1
|
|
46
48
|
},
|
|
47
49
|
{
|
|
48
50
|
id: "mtw-orders",
|
|
49
|
-
label:
|
|
50
|
-
path:
|
|
51
|
-
icon: /* @__PURE__ */
|
|
51
|
+
label: w("movethewheels.root.nav.orders", "Orders"),
|
|
52
|
+
path: D(S, "orders"),
|
|
53
|
+
icon: /* @__PURE__ */ E(t, { size: 16 }),
|
|
52
54
|
order: 2
|
|
53
55
|
},
|
|
54
56
|
{
|
|
55
57
|
id: "mtw-tracking",
|
|
56
|
-
label:
|
|
57
|
-
path:
|
|
58
|
-
icon: /* @__PURE__ */
|
|
58
|
+
label: w("movethewheels.root.nav.tracking", "Tracking"),
|
|
59
|
+
path: D(S, "tracking"),
|
|
60
|
+
icon: /* @__PURE__ */ E(i, { size: 16 }),
|
|
59
61
|
order: 3,
|
|
60
62
|
children: [{
|
|
61
63
|
id: "mtw-tracking-quality",
|
|
62
|
-
label:
|
|
63
|
-
path:
|
|
64
|
-
icon: /* @__PURE__ */
|
|
64
|
+
label: w("movethewheels.root.nav.trackingQuality", "Tracking event quality"),
|
|
65
|
+
path: D(S, "tracking/event-quality"),
|
|
66
|
+
icon: /* @__PURE__ */ E(i, { size: 16 })
|
|
65
67
|
}, {
|
|
66
68
|
id: "mtw-status-authority",
|
|
67
|
-
label:
|
|
68
|
-
path:
|
|
69
|
-
icon: /* @__PURE__ */
|
|
69
|
+
label: w("movethewheels.root.nav.statusAuthority", "Shipment status authority"),
|
|
70
|
+
path: D(S, "shipments/status-authority"),
|
|
71
|
+
icon: /* @__PURE__ */ E(d, { size: 16 })
|
|
70
72
|
}]
|
|
71
73
|
},
|
|
72
74
|
{
|
|
73
75
|
id: "mtw-consolidation",
|
|
74
|
-
label:
|
|
75
|
-
path:
|
|
76
|
-
icon: /* @__PURE__ */
|
|
76
|
+
label: w("movethewheels.root.nav.consolidation", "Hub consolidation"),
|
|
77
|
+
path: D(S, "containers/consolidation"),
|
|
78
|
+
icon: /* @__PURE__ */ E(u, { size: 16 }),
|
|
77
79
|
order: 3.4
|
|
78
80
|
},
|
|
79
81
|
{
|
|
80
82
|
id: "mtw-procedures",
|
|
81
|
-
label:
|
|
82
|
-
path:
|
|
83
|
-
icon: /* @__PURE__ */
|
|
83
|
+
label: w("movethewheels.root.nav.procedures", "Logistics procedures"),
|
|
84
|
+
path: D(S, "containers/procedures"),
|
|
85
|
+
icon: /* @__PURE__ */ E(d, { size: 16 }),
|
|
84
86
|
order: 3.5
|
|
85
87
|
},
|
|
86
88
|
{
|
|
87
89
|
id: "mtw-containers",
|
|
88
|
-
label:
|
|
89
|
-
path:
|
|
90
|
-
icon: /* @__PURE__ */
|
|
90
|
+
label: w("movethewheels.root.nav.containers", "Containers"),
|
|
91
|
+
path: D(S, "containers"),
|
|
92
|
+
icon: /* @__PURE__ */ E(u, { size: 16 }),
|
|
91
93
|
order: 3.5,
|
|
92
94
|
children: [
|
|
93
95
|
{
|
|
94
96
|
id: "mtw-empty-reuse",
|
|
95
|
-
label:
|
|
96
|
-
path:
|
|
97
|
-
icon: /* @__PURE__ */
|
|
97
|
+
label: w("movethewheels.root.nav.emptyReuse", "Empty return and reuse"),
|
|
98
|
+
path: D(S, "containers/empty-reuse"),
|
|
99
|
+
icon: /* @__PURE__ */ E(u, { size: 16 })
|
|
98
100
|
},
|
|
99
101
|
{
|
|
100
102
|
id: "mtw-free-time",
|
|
101
|
-
label:
|
|
102
|
-
path:
|
|
103
|
-
icon: /* @__PURE__ */
|
|
103
|
+
label: w("movethewheels.root.nav.freeTime", "Free time and extensions"),
|
|
104
|
+
path: D(S, "containers/free-time"),
|
|
105
|
+
icon: /* @__PURE__ */ E(u, { size: 16 })
|
|
104
106
|
},
|
|
105
107
|
{
|
|
106
108
|
id: "mtw-container-condition",
|
|
107
|
-
label:
|
|
108
|
-
path:
|
|
109
|
-
icon: /* @__PURE__ */
|
|
109
|
+
label: w("movethewheels.root.nav.containerCondition", "Container condition"),
|
|
110
|
+
path: D(S, "containers/condition"),
|
|
111
|
+
icon: /* @__PURE__ */ E(u, { size: 16 })
|
|
110
112
|
}
|
|
111
113
|
]
|
|
112
114
|
},
|
|
113
115
|
{
|
|
114
116
|
id: "mtw-fleet",
|
|
115
|
-
label:
|
|
116
|
-
path:
|
|
117
|
-
icon: /* @__PURE__ */
|
|
117
|
+
label: w("movethewheels.root.nav.fleet", "Fleet"),
|
|
118
|
+
path: D(S, "fleet"),
|
|
119
|
+
icon: /* @__PURE__ */ E(e, { size: 16 }),
|
|
118
120
|
order: 4,
|
|
119
121
|
children: [
|
|
120
122
|
{
|
|
121
123
|
id: "mtw-fleet-overview",
|
|
122
|
-
label:
|
|
123
|
-
path:
|
|
124
|
-
icon: /* @__PURE__ */
|
|
124
|
+
label: w("movethewheels.root.nav.overview", "Overview"),
|
|
125
|
+
path: D(S, "fleet"),
|
|
126
|
+
icon: /* @__PURE__ */ E(r, { size: 14 }),
|
|
125
127
|
order: 1
|
|
126
128
|
},
|
|
127
129
|
{
|
|
128
130
|
id: "mtw-vehicles",
|
|
129
|
-
label:
|
|
130
|
-
path:
|
|
131
|
-
icon: /* @__PURE__ */
|
|
131
|
+
label: w("movethewheels.root.nav.vehicles", "Vehicles"),
|
|
132
|
+
path: D(S, "fleet/vehicles"),
|
|
133
|
+
icon: /* @__PURE__ */ E(c, { size: 14 }),
|
|
132
134
|
order: 2
|
|
133
135
|
},
|
|
134
136
|
{
|
|
135
137
|
id: "mtw-drivers",
|
|
136
|
-
label:
|
|
137
|
-
path:
|
|
138
|
-
icon: /* @__PURE__ */
|
|
138
|
+
label: w("movethewheels.root.nav.drivers", "Drivers"),
|
|
139
|
+
path: D(S, "fleet/drivers"),
|
|
140
|
+
icon: /* @__PURE__ */ E(l, { size: 14 }),
|
|
139
141
|
order: 3
|
|
140
142
|
}
|
|
141
143
|
]
|
|
142
144
|
},
|
|
143
145
|
{
|
|
144
146
|
id: "mtw-inventory",
|
|
145
|
-
label:
|
|
146
|
-
path:
|
|
147
|
-
icon: /* @__PURE__ */
|
|
147
|
+
label: w("movethewheels.root.nav.inventory", "Inventory"),
|
|
148
|
+
path: D(S, "inventory"),
|
|
149
|
+
icon: /* @__PURE__ */ E(a, { size: 16 }),
|
|
148
150
|
order: 5,
|
|
149
151
|
children: [
|
|
150
152
|
{
|
|
151
153
|
id: "mtw-inventory-overview",
|
|
152
|
-
label:
|
|
153
|
-
path:
|
|
154
|
-
icon: /* @__PURE__ */
|
|
154
|
+
label: w("movethewheels.root.nav.overview", "Overview"),
|
|
155
|
+
path: D(S, "inventory"),
|
|
156
|
+
icon: /* @__PURE__ */ E(r, { size: 14 }),
|
|
155
157
|
order: 1
|
|
156
158
|
},
|
|
157
159
|
{
|
|
158
160
|
id: "mtw-products",
|
|
159
|
-
label:
|
|
160
|
-
path:
|
|
161
|
-
icon: /* @__PURE__ */
|
|
161
|
+
label: w("movethewheels.root.nav.products", "Products"),
|
|
162
|
+
path: D(S, "inventory/products"),
|
|
163
|
+
icon: /* @__PURE__ */ E(u, { size: 14 }),
|
|
162
164
|
order: 2
|
|
163
165
|
},
|
|
164
166
|
{
|
|
165
167
|
id: "mtw-pending-picks",
|
|
166
168
|
label: "Plan a pick",
|
|
167
|
-
path:
|
|
168
|
-
icon: /* @__PURE__ */
|
|
169
|
+
path: D(S, "inventory/pending-picks"),
|
|
170
|
+
icon: /* @__PURE__ */ E(d, { size: 14 }),
|
|
169
171
|
order: 5
|
|
170
172
|
},
|
|
171
173
|
{
|
|
172
174
|
id: "mtw-stock-observations",
|
|
173
175
|
label: "Reported stock issues",
|
|
174
|
-
path:
|
|
175
|
-
icon: /* @__PURE__ */
|
|
176
|
+
path: D(S, "inventory/reported-issues"),
|
|
177
|
+
icon: /* @__PURE__ */ E(d, { size: 14 }),
|
|
176
178
|
order: 4
|
|
177
179
|
},
|
|
178
180
|
{
|
|
179
181
|
id: "mtw-stock-binding",
|
|
180
182
|
label: "Source assessments",
|
|
181
|
-
path:
|
|
182
|
-
icon: /* @__PURE__ */
|
|
183
|
+
path: D(S, "inventory/source-assessments"),
|
|
184
|
+
icon: /* @__PURE__ */ E(d, { size: 14 }),
|
|
183
185
|
order: 3
|
|
184
186
|
},
|
|
185
187
|
{
|
|
186
188
|
id: "mtw-pallet-preview",
|
|
187
|
-
label:
|
|
188
|
-
path:
|
|
189
|
-
icon: /* @__PURE__ */
|
|
189
|
+
label: w("movethewheels.root.nav.palletPreview", "Pallet preview"),
|
|
190
|
+
path: D(S, "inventory/warehouses/pallet-preview"),
|
|
191
|
+
icon: /* @__PURE__ */ E(u, { size: 14 }),
|
|
190
192
|
order: 6
|
|
191
193
|
},
|
|
192
194
|
{
|
|
193
195
|
id: "mtw-warehouses",
|
|
194
|
-
label:
|
|
195
|
-
path:
|
|
196
|
-
icon: /* @__PURE__ */
|
|
196
|
+
label: w("movethewheels.root.nav.warehouses", "Warehouses"),
|
|
197
|
+
path: D(S, "inventory/warehouses"),
|
|
198
|
+
icon: /* @__PURE__ */ E(a, { size: 14 }),
|
|
197
199
|
order: 3
|
|
198
200
|
}
|
|
199
201
|
]
|
|
200
202
|
},
|
|
201
203
|
{
|
|
202
204
|
id: "mtw-customers",
|
|
203
|
-
label:
|
|
204
|
-
path:
|
|
205
|
-
icon: /* @__PURE__ */
|
|
205
|
+
label: w("movethewheels.root.nav.customers", "Customers"),
|
|
206
|
+
path: D(S, "customers"),
|
|
207
|
+
icon: /* @__PURE__ */ E(n, { size: 16 }),
|
|
206
208
|
order: 6
|
|
207
209
|
},
|
|
208
210
|
{
|
|
209
211
|
id: "mtw-marketplace",
|
|
210
|
-
label:
|
|
211
|
-
path:
|
|
212
|
-
icon: /* @__PURE__ */
|
|
212
|
+
label: w("movethewheels.root.nav.marketplace", "Marketplace"),
|
|
213
|
+
path: D(S, "marketplace"),
|
|
214
|
+
icon: /* @__PURE__ */ E(m, { size: 16 }),
|
|
213
215
|
order: 6
|
|
214
216
|
},
|
|
215
217
|
{
|
|
216
218
|
id: "mtw-import-export",
|
|
217
|
-
label:
|
|
218
|
-
path:
|
|
219
|
-
icon: /* @__PURE__ */
|
|
219
|
+
label: w("movethewheels.root.nav.importExport", "Import / Export"),
|
|
220
|
+
path: D(S, "import-export"),
|
|
221
|
+
icon: /* @__PURE__ */ E(h, { size: 16 }),
|
|
220
222
|
order: 6
|
|
221
223
|
},
|
|
222
224
|
{
|
|
223
225
|
id: "mtw-routes",
|
|
224
|
-
label:
|
|
225
|
-
path:
|
|
226
|
-
icon: /* @__PURE__ */
|
|
226
|
+
label: w("movethewheels.root.nav.routes", "Routes"),
|
|
227
|
+
path: D(S, "routes"),
|
|
228
|
+
icon: /* @__PURE__ */ E(o, { size: 16 }),
|
|
227
229
|
order: 7,
|
|
228
230
|
children: [{
|
|
229
231
|
id: "mtw-trip-utilization",
|
|
230
|
-
label:
|
|
231
|
-
path:
|
|
232
|
-
icon: /* @__PURE__ */
|
|
232
|
+
label: w("movethewheels.root.nav.tripUtilization", "Reported trip utilization"),
|
|
233
|
+
path: D(S, "routes/trip-utilization"),
|
|
234
|
+
icon: /* @__PURE__ */ E(e, { size: 16 })
|
|
233
235
|
}, {
|
|
234
236
|
id: "mtw-fuel-preview",
|
|
235
|
-
label:
|
|
236
|
-
path:
|
|
237
|
-
icon: /* @__PURE__ */
|
|
237
|
+
label: w("movethewheels.root.nav.fuelPreview", "Consumed fuel preview"),
|
|
238
|
+
path: D(S, "fuel-preview"),
|
|
239
|
+
icon: /* @__PURE__ */ E(e, { size: 16 })
|
|
238
240
|
}]
|
|
239
241
|
},
|
|
240
242
|
{
|
|
241
243
|
id: "mtw-analytics",
|
|
242
|
-
label:
|
|
243
|
-
path:
|
|
244
|
-
icon: /* @__PURE__ */
|
|
244
|
+
label: w("movethewheels.root.nav.analytics", "Analytics"),
|
|
245
|
+
path: D(S, "analytics"),
|
|
246
|
+
icon: /* @__PURE__ */ E(s, { size: 16 }),
|
|
245
247
|
order: 8
|
|
246
248
|
},
|
|
247
249
|
{
|
|
248
250
|
id: "mtw-finance",
|
|
249
|
-
label:
|
|
250
|
-
path:
|
|
251
|
-
icon: /* @__PURE__ */
|
|
251
|
+
label: w("movethewheels.root.nav.finance", "Finance"),
|
|
252
|
+
path: D(S, "finance"),
|
|
253
|
+
icon: /* @__PURE__ */ E(f, { size: 16 }),
|
|
252
254
|
order: 9,
|
|
253
255
|
children: [{
|
|
254
256
|
id: "mtw-freight-invoice-comparisons",
|
|
255
|
-
label:
|
|
256
|
-
path:
|
|
257
|
-
icon: /* @__PURE__ */
|
|
257
|
+
label: w("movethewheels.root.nav.freightInvoices", "Freight invoice comparisons"),
|
|
258
|
+
path: D(S, "finance/freight-invoice-comparisons"),
|
|
259
|
+
icon: /* @__PURE__ */ E(f, { size: 16 })
|
|
258
260
|
}, {
|
|
259
261
|
id: "mtw-freight-estimates",
|
|
260
|
-
label:
|
|
261
|
-
path:
|
|
262
|
-
icon: /* @__PURE__ */
|
|
262
|
+
label: w("movethewheels.root.nav.freightEstimates", "Freight cost estimates"),
|
|
263
|
+
path: D(S, "finance/freight-estimates"),
|
|
264
|
+
icon: /* @__PURE__ */ E(f, { size: 16 })
|
|
263
265
|
}]
|
|
264
266
|
},
|
|
265
267
|
{
|
|
266
268
|
id: "mtw-reports",
|
|
267
|
-
label:
|
|
268
|
-
path:
|
|
269
|
-
icon: /* @__PURE__ */
|
|
269
|
+
label: w("movethewheels.root.nav.reports", "Reports"),
|
|
270
|
+
path: D(S, "reports"),
|
|
271
|
+
icon: /* @__PURE__ */ E(v, { size: 16 }),
|
|
270
272
|
order: 10
|
|
271
273
|
},
|
|
274
|
+
{
|
|
275
|
+
id: "mtw-documents",
|
|
276
|
+
label: w("movethewheels.root.nav.documents", "Documents"),
|
|
277
|
+
path: D(S, "documents"),
|
|
278
|
+
icon: /* @__PURE__ */ E(b, { size: 16 }),
|
|
279
|
+
order: 11
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
id: "mtw-notifications",
|
|
283
|
+
label: w("movethewheels.root.nav.notifications", "Notifications"),
|
|
284
|
+
path: D(S, "notifications"),
|
|
285
|
+
icon: /* @__PURE__ */ E(y, { size: 16 }),
|
|
286
|
+
order: 12
|
|
287
|
+
},
|
|
272
288
|
{
|
|
273
289
|
id: "mtw-ai-assistant",
|
|
274
|
-
label:
|
|
290
|
+
label: w("movethewheels.root.nav.aiOperations", "AI Operations"),
|
|
275
291
|
path: "/ai",
|
|
276
|
-
icon: /* @__PURE__ */
|
|
292
|
+
icon: /* @__PURE__ */ E(p, { size: 16 }),
|
|
277
293
|
order: 13
|
|
278
294
|
},
|
|
279
295
|
{
|
|
280
296
|
id: "mtw-integrations",
|
|
281
|
-
label:
|
|
282
|
-
path:
|
|
283
|
-
icon: /* @__PURE__ */
|
|
297
|
+
label: w("movethewheels.root.nav.integrations", "Integrations"),
|
|
298
|
+
path: D(S, "integrations"),
|
|
299
|
+
icon: /* @__PURE__ */ E(_, { size: 16 }),
|
|
284
300
|
order: 98
|
|
285
301
|
},
|
|
286
302
|
{
|
|
287
303
|
id: "mtw-settings",
|
|
288
|
-
label:
|
|
289
|
-
path:
|
|
290
|
-
icon: /* @__PURE__ */
|
|
304
|
+
label: w("movethewheels.root.nav.settings", "Settings"),
|
|
305
|
+
path: D(S, "settings"),
|
|
306
|
+
icon: /* @__PURE__ */ E(g, { size: 16 }),
|
|
291
307
|
order: 99
|
|
292
308
|
}
|
|
293
309
|
]
|
|
294
310
|
});
|
|
295
311
|
}, [
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
312
|
+
x,
|
|
313
|
+
S,
|
|
314
|
+
w
|
|
299
315
|
]), null;
|
|
300
|
-
},
|
|
301
|
-
let { registerNavItems: t, registerFooterItems: n, basePath: r = "/" } = e, i =
|
|
302
|
-
return
|
|
316
|
+
}, A = (e) => {
|
|
317
|
+
let { registerNavItems: t, registerFooterItems: n, basePath: r = "/" } = e, i = C();
|
|
318
|
+
return T(() => {
|
|
303
319
|
if (!n) return;
|
|
304
320
|
let e = [{
|
|
305
321
|
id: "mtw-status",
|
|
@@ -309,20 +325,20 @@ var D = ({ registerNavItems: y, basePath: b = "/" }) => {
|
|
|
309
325
|
section: "left"
|
|
310
326
|
}];
|
|
311
327
|
return n(e);
|
|
312
|
-
}, [n, i]), /* @__PURE__ */
|
|
328
|
+
}, [n, i]), /* @__PURE__ */ D(O, {
|
|
313
329
|
workspaceId: null,
|
|
314
330
|
gateway: "global",
|
|
315
331
|
defaultEnabled: !0,
|
|
316
|
-
children: [/* @__PURE__ */
|
|
332
|
+
children: [/* @__PURE__ */ E(k, {
|
|
317
333
|
registerNavItems: t,
|
|
318
334
|
basePath: r
|
|
319
|
-
}), /* @__PURE__ */
|
|
335
|
+
}), /* @__PURE__ */ E(x, {
|
|
320
336
|
...e,
|
|
321
|
-
children: /* @__PURE__ */
|
|
337
|
+
children: /* @__PURE__ */ E(S, { children: /* @__PURE__ */ E("div", {
|
|
322
338
|
className: "movethewheels-root h-full",
|
|
323
|
-
children: /* @__PURE__ */ w
|
|
339
|
+
children: /* @__PURE__ */ E(w, {})
|
|
324
340
|
}) })
|
|
325
341
|
})]
|
|
326
342
|
});
|
|
327
343
|
};
|
|
328
|
-
export {
|
|
344
|
+
export { A as MoveTheWheelsRoot };
|