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