@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.
Files changed (29) hide show
  1. package/dist/MoveTheWheelsRoot.js +130 -122
  2. package/dist/MoveTheWheelsRoutes.js +55 -51
  3. package/dist/components/ProofOfDeliveryCard.js +1 -1
  4. package/dist/components/UpcomingDemandPanel.js +1 -1
  5. package/dist/components/marketplace/MarketplaceDialogs.js +524 -0
  6. package/dist/generated/wspace-types.d.ts +30737 -8505
  7. package/dist/hooks/useMarketplace.js +265 -0
  8. package/dist/movethewheels/components/marketplace/MarketplaceDialogs.d.ts +18 -0
  9. package/dist/movethewheels/hooks/useMarketplace.d.ts +121 -0
  10. package/dist/movethewheels/pages/MarketplacePage.d.ts +1 -0
  11. package/dist/node_modules/lucide-react/dist/esm/icons/badge-check.js +11 -0
  12. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +8 -0
  13. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +8 -0
  14. package/dist/node_modules/lucide-react/dist/esm/icons/pencil.js +11 -0
  15. package/dist/node_modules/lucide-react/dist/esm/icons/store.js +26 -0
  16. package/dist/pages/ContainersPage.js +3 -3
  17. package/dist/pages/MarketplacePage.js +503 -0
  18. package/dist/pages/TrackingPage.js +111 -56
  19. package/package.json +2 -1
  20. package/src/generated/wspace-types.ts +34017 -8803
  21. package/src/movethewheels/MoveTheWheelsRoot.tsx +8 -0
  22. package/src/movethewheels/MoveTheWheelsRoutes.tsx +4 -0
  23. package/src/movethewheels/components/ProofOfDeliveryCard.tsx +1 -1
  24. package/src/movethewheels/components/UpcomingDemandPanel.tsx +2 -2
  25. package/src/movethewheels/components/marketplace/MarketplaceDialogs.tsx +633 -0
  26. package/src/movethewheels/hooks/useMarketplace.ts +526 -0
  27. package/src/movethewheels/pages/ContainersPage.tsx +3 -3
  28. package/src/movethewheels/pages/MarketplacePage.tsx +571 -0
  29. 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 { Truck as u } from "./node_modules/lucide-react/dist/esm/icons/truck.js";
12
- import { UserCheck as d } from "./node_modules/lucide-react/dist/esm/icons/user-check.js";
13
- import { Users as f } from "./node_modules/lucide-react/dist/esm/icons/users.js";
14
- import { Warehouse as p } from "./node_modules/lucide-react/dist/esm/icons/warehouse.js";
15
- import { MoveTheWheelsProvider as m } from "./providers/MoveTheWheelsProvider.js";
16
- import { useTr as h } from "./shared/hooks/useTr.js";
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 g } from "./MoveTheWheelsRoutes.js";
19
- import { useEffect as _ } from "react";
20
- import { jsx as v, jsxs as y } from "react/jsx-runtime";
21
- import { FeatureFlagProvider as b } from "@burdenoff/fe-libs/shared/feature-flags";
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 x = ({ registerNavItems: m, basePath: g = "/" }) => {
24
- let y = h(), b = (e, t) => (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
25
- return _(() => {
26
- if (m) return m({
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: y("movethewheels.page.title", "MoveTheWheels"),
29
- path: g,
30
- icon: /* @__PURE__ */ v(u, { size: 20 }),
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: y("movethewheels.root.nav.dashboard", "Dashboard"),
37
- path: g,
38
- icon: /* @__PURE__ */ v(o, { size: 16 }),
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: y("movethewheels.root.nav.orders", "Orders"),
44
- path: b(g, "orders"),
45
- icon: /* @__PURE__ */ v(c, { size: 16 }),
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: y("movethewheels.root.nav.tracking", "Tracking"),
51
- path: b(g, "tracking"),
52
- icon: /* @__PURE__ */ v(s, { size: 16 }),
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: y("movethewheels.root.nav.trackingQuality", "Tracking event quality"),
57
- path: b(g, "tracking/event-quality"),
58
- icon: /* @__PURE__ */ v(s, { size: 16 })
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: y("movethewheels.root.nav.statusAuthority", "Shipment status authority"),
62
- path: b(g, "shipments/status-authority"),
63
- icon: /* @__PURE__ */ v(i, { size: 16 })
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: y("movethewheels.root.nav.consolidation", "Hub consolidation"),
69
- path: b(g, "containers/consolidation"),
70
- icon: /* @__PURE__ */ v(t, { size: 16 }),
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: y("movethewheels.root.nav.procedures", "Logistics procedures"),
76
- path: b(g, "containers/procedures"),
77
- icon: /* @__PURE__ */ v(i, { size: 16 }),
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: y("movethewheels.root.nav.containers", "Containers"),
83
- path: b(g, "containers"),
84
- icon: /* @__PURE__ */ v(t, { size: 16 }),
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: y("movethewheels.root.nav.emptyReuse", "Empty return and reuse"),
90
- path: b(g, "containers/empty-reuse"),
91
- icon: /* @__PURE__ */ v(t, { size: 16 })
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: y("movethewheels.root.nav.freeTime", "Free time and extensions"),
96
- path: b(g, "containers/free-time"),
97
- icon: /* @__PURE__ */ v(t, { size: 16 })
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: y("movethewheels.root.nav.containerCondition", "Container condition"),
102
- path: b(g, "containers/condition"),
103
- icon: /* @__PURE__ */ v(t, { size: 16 })
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: y("movethewheels.root.nav.fleet", "Fleet"),
110
- path: b(g, "fleet"),
111
- icon: /* @__PURE__ */ v(u, { size: 16 }),
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: y("movethewheels.root.nav.overview", "Overview"),
117
- path: b(g, "fleet"),
118
- icon: /* @__PURE__ */ v(o, { size: 14 }),
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: y("movethewheels.root.nav.vehicles", "Vehicles"),
124
- path: b(g, "fleet/vehicles"),
125
- icon: /* @__PURE__ */ v(n, { size: 14 }),
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: y("movethewheels.root.nav.drivers", "Drivers"),
131
- path: b(g, "fleet/drivers"),
132
- icon: /* @__PURE__ */ v(d, { size: 14 }),
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: y("movethewheels.root.nav.inventory", "Inventory"),
140
- path: b(g, "inventory"),
141
- icon: /* @__PURE__ */ v(p, { size: 16 }),
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: y("movethewheels.root.nav.overview", "Overview"),
147
- path: b(g, "inventory"),
148
- icon: /* @__PURE__ */ v(o, { size: 14 }),
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: y("movethewheels.root.nav.products", "Products"),
154
- path: b(g, "inventory/products"),
155
- icon: /* @__PURE__ */ v(t, { size: 14 }),
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: b(g, "inventory/pending-picks"),
162
- icon: /* @__PURE__ */ v(i, { size: 14 }),
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: b(g, "inventory/reported-issues"),
169
- icon: /* @__PURE__ */ v(i, { size: 14 }),
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: b(g, "inventory/source-assessments"),
176
- icon: /* @__PURE__ */ v(i, { size: 14 }),
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: y("movethewheels.root.nav.palletPreview", "Pallet preview"),
182
- path: b(g, "inventory/warehouses/pallet-preview"),
183
- icon: /* @__PURE__ */ v(t, { size: 14 }),
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: y("movethewheels.root.nav.warehouses", "Warehouses"),
189
- path: b(g, "inventory/warehouses"),
190
- icon: /* @__PURE__ */ v(p, { size: 14 }),
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: y("movethewheels.root.nav.customers", "Customers"),
198
- path: b(g, "customers"),
199
- icon: /* @__PURE__ */ v(f, { size: 16 }),
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: y("movethewheels.root.nav.routes", "Routes"),
205
- path: b(g, "routes"),
206
- icon: /* @__PURE__ */ v(l, { size: 16 }),
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: y("movethewheels.root.nav.tripUtilization", "Reported trip utilization"),
211
- path: b(g, "routes/trip-utilization"),
212
- icon: /* @__PURE__ */ v(u, { size: 16 })
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: y("movethewheels.root.nav.fuelPreview", "Consumed fuel preview"),
216
- path: b(g, "fuel-preview"),
217
- icon: /* @__PURE__ */ v(u, { size: 16 })
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: y("movethewheels.root.nav.analytics", "Analytics"),
223
- path: b(g, "analytics"),
224
- icon: /* @__PURE__ */ v(r, { size: 16 }),
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: y("movethewheels.root.nav.finance", "Finance"),
230
- path: b(g, "finance"),
231
- icon: /* @__PURE__ */ v(a, { size: 16 }),
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: y("movethewheels.root.nav.freightInvoices", "Freight invoice comparisons"),
236
- path: b(g, "finance/freight-invoice-comparisons"),
237
- icon: /* @__PURE__ */ v(a, { size: 16 })
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: y("movethewheels.root.nav.freightEstimates", "Freight cost estimates"),
241
- path: b(g, "finance/freight-estimates"),
242
- icon: /* @__PURE__ */ v(a, { size: 16 })
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: y("movethewheels.root.nav.aiAssistant", "AI Assistant"),
248
- path: b(g, "ai-assistant"),
249
- icon: /* @__PURE__ */ v(e, { size: 16 }),
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
- m,
256
- g,
257
- y
263
+ h,
264
+ _,
265
+ b
258
266
  ]), null;
259
- }, S = (e) => {
260
- let { registerNavItems: t, registerFooterItems: n, basePath: r = "/" } = e, i = h();
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__ */ y(b, {
277
+ }, [n, i]), /* @__PURE__ */ b(x, {
270
278
  workspaceId: null,
271
279
  gateway: "global",
272
280
  defaultEnabled: !0,
273
- children: [/* @__PURE__ */ v(x, {
281
+ children: [/* @__PURE__ */ y(S, {
274
282
  registerNavItems: t,
275
283
  basePath: r
276
- }), /* @__PURE__ */ v(m, {
284
+ }), /* @__PURE__ */ y(h, {
277
285
  ...e,
278
- children: /* @__PURE__ */ v("div", {
286
+ children: /* @__PURE__ */ y("div", {
279
287
  className: "movethewheels-root h-full",
280
- children: /* @__PURE__ */ v(g, {})
288
+ children: /* @__PURE__ */ y(_, {})
281
289
  })
282
290
  })]
283
291
  });
284
292
  };
285
293
  //#endregion
286
- export { S as MoveTheWheelsRoot };
294
+ export { C as MoveTheWheelsRoot };