@burdenoff/microfe-movethewheels 2026.1031.3 → 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.
Files changed (58) hide show
  1. package/dist/MoveTheWheelsRoot.js +136 -127
  2. package/dist/MoveTheWheelsRoutes.js +140 -135
  3. package/dist/components/DocumentsCard.js +11 -11
  4. package/dist/components/ProofOfDeliveryCard.js +13 -13
  5. package/dist/components/ShipmentRiskDialog.js +24 -24
  6. package/dist/components/ShippingQuoteResults.js +46 -46
  7. package/dist/components/TrackingAlertList.js +17 -17
  8. package/dist/generated/tracking-quality-operations.d.ts +56 -0
  9. package/dist/hooks/useOrderDispatch.js +17 -17
  10. package/dist/movethewheels/pages/SettingsPage.d.ts +1 -0
  11. package/dist/movethewheels/providers/ModuleSettingsProvider.d.ts +17 -0
  12. package/dist/movethewheels/utils/formatters.d.ts +23 -3
  13. package/dist/movethewheels/utils/moduleSettings.d.ts +52 -0
  14. package/dist/node_modules/lucide-react/dist/esm/icons/bell.js +11 -0
  15. package/dist/node_modules/lucide-react/dist/esm/icons/key-round.js +14 -0
  16. package/dist/node_modules/lucide-react/dist/esm/icons/plug.js +22 -0
  17. package/dist/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js +11 -0
  18. package/dist/node_modules/lucide-react/dist/esm/icons/settings.js +13 -0
  19. package/dist/pages/AnalyticsPage.js +27 -27
  20. package/dist/pages/CreateOrderPage.js +340 -317
  21. package/dist/pages/CustomerDetailsPage.js +246 -246
  22. package/dist/pages/CustomersPage.js +19 -19
  23. package/dist/pages/DashboardPage.js +24 -24
  24. package/dist/pages/DeliveryCapturePage.js +74 -74
  25. package/dist/pages/DriverDetailsPage.js +337 -337
  26. package/dist/pages/DriversPage.js +26 -26
  27. package/dist/pages/FinancePage.js +26 -26
  28. package/dist/pages/InventoryPage.js +28 -28
  29. package/dist/pages/LiveTrackingPage.js +108 -108
  30. package/dist/pages/MarketplacePage.js +44 -44
  31. package/dist/pages/OrderDetailsPage.js +306 -306
  32. package/dist/pages/OrdersListPage.js +27 -27
  33. package/dist/pages/ProductDetailsPage.js +89 -89
  34. package/dist/pages/ProductsPage.js +73 -73
  35. package/dist/pages/RouteDetailsPage.js +282 -285
  36. package/dist/pages/RoutesPage.js +78 -78
  37. package/dist/pages/SettingsPage.js +459 -0
  38. package/dist/pages/TrackingPage.js +41 -41
  39. package/dist/pages/VehicleDetailsPage.js +207 -207
  40. package/dist/pages/VehiclesPage.js +17 -16
  41. package/dist/pages/WarehouseDetailsPage.js +132 -132
  42. package/dist/providers/ModuleSettingsProvider.js +74 -0
  43. package/dist/utils/formatters.js +53 -26
  44. package/dist/utils/moduleSettings.js +132 -0
  45. package/package.json +3 -2
  46. package/src/generated/tracking-quality-operations.ts +62 -0
  47. package/src/movethewheels/MoveTheWheelsRoot.tsx +14 -3
  48. package/src/movethewheels/MoveTheWheelsRoutes.tsx +9 -0
  49. package/src/movethewheels/pages/CreateOrderPage.tsx +38 -6
  50. package/src/movethewheels/pages/ProductsPage.tsx +2 -2
  51. package/src/movethewheels/pages/RouteDetailsPage.tsx +3 -6
  52. package/src/movethewheels/pages/RoutesPage.tsx +2 -2
  53. package/src/movethewheels/pages/SettingsPage.tsx +516 -0
  54. package/src/movethewheels/pages/VehicleDetailsPage.tsx +4 -2
  55. package/src/movethewheels/pages/VehiclesPage.tsx +2 -1
  56. package/src/movethewheels/providers/ModuleSettingsProvider.tsx +133 -0
  57. package/src/movethewheels/utils/formatters.ts +69 -10
  58. package/src/movethewheels/utils/moduleSettings.ts +224 -0
@@ -1,268 +1,273 @@
1
1
  import { useMoveTheWheels as e } from "./providers/MoveTheWheelsProvider.js";
2
- import { useTr as t } from "./shared/hooks/useTr.js";
2
+ import { useModuleSettings as t } from "./providers/ModuleSettingsProvider.js";
3
+ import { useTr as n } from "./shared/hooks/useTr.js";
3
4
  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";
5
+ import { Suspense as r, lazy as i } from "react";
6
+ import { Route as a, Routes as o, useNavigate as s } from "react-router";
7
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
8
+ import { NotFoundPage as u } from "@burdenoff/fe-libs/shared/pages";
8
9
  //#region src/movethewheels/MoveTheWheelsRoutes.tsx
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"),
10
+ function d() {
11
+ let { navigate: t, basePath: r } = e(), i = s();
12
+ return /* @__PURE__ */ c(u, {
13
+ homeLabel: n()("movethewheels.root.notFound.homeLabel", "Back to MoveTheWheels"),
13
14
  onGoHome: () => {
14
- n ? n(r || "/") : i("/");
15
+ t ? t(r || "/") : i("/");
15
16
  }
16
17
  });
17
18
  }
18
- function d() {
19
- let e = t();
20
- return /* @__PURE__ */ s("div", {
19
+ function f() {
20
+ let e = n();
21
+ return /* @__PURE__ */ c("div", {
21
22
  className: "flex items-center justify-center min-h-[400px]",
22
- children: /* @__PURE__ */ c("div", {
23
+ children: /* @__PURE__ */ l("div", {
23
24
  className: "flex flex-col items-center gap-3",
24
- children: [/* @__PURE__ */ s("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }), /* @__PURE__ */ s("p", {
25
+ children: [/* @__PURE__ */ c("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }), /* @__PURE__ */ c("p", {
25
26
  className: "text-sm text-text-secondary",
26
27
  children: e("movethewheels.root.loading", "Loading...")
27
28
  })]
28
29
  })
29
30
  });
30
31
  }
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/TrackingEventQualityPage.js")), v = r(() => import("./pages/ShipmentStatusAuthorityPage.js")), y = r(() => import("./pages/LiveTrackingPage.js")), b = r(() => import("./pages/FleetPage.js")), x = r(() => import("./pages/VehiclesPage.js")), S = r(() => import("./pages/VehicleDetailsPage.js")), C = r(() => import("./pages/DriversPage.js")), w = r(() => import("./pages/DriverDetailsPage.js")), T = r(() => import("./pages/InventoryPage.js")), E = r(() => import("./pages/ProductsPage.js")), D = r(() => import("./pages/ProductDetailsPage.js")), O = r(() => import("./pages/PalletPreviewPage.js")), k = r(() => import("./pages/WarehousesPage.js")), A = r(() => import("./pages/WarehouseDetailsPage.js")), j = r(() => import("./pages/CustomersPage.js")), M = r(() => import("./pages/CustomerDetailsPage.js")), N = r(() => import("./pages/MarketplacePage.js")), P = r(() => import("./pages/ImportExportPage.js")), ee = r(() => import("./pages/RoutesPage.js")), F = r(() => import("./pages/RouteDetailsPage.js")), I = r(() => import("./pages/AnalyticsPage.js")), L = r(() => import("./pages/FinancePage.js")), R = r(() => import("./pages/FreightEstimatePage.js")), z = r(() => import("./pages/FreightInvoicePage.js")), B = r(() => import("./pages/ConsolidationPage.js")), V = r(() => import("./pages/LogisticsProceduresPage.js")), H = r(() => import("./pages/AIAssistantPage.js")), U = r(() => import("./pages/DeliveryCapturePage.js")), W = r(() => import("./pages/MultiModalShipmentPage.js")), G = r(() => import("./pages/ShippingRatesPage.js")), K = r(() => import("./pages/ContainersPage.js")), q = r(() => import("./pages/ContainerConditionPage.js")), J = r(() => import("./pages/FreeTimePage.js")), Y = r(() => import("./pages/PendingPickPage.js")), X = r(() => import("./pages/StockObservationsPage.js")), Z = r(() => import("./pages/StockBindingPage.js")), Q = r(() => import("./pages/TripUtilizationPage.js")), $ = r(() => import("./pages/ConsumedFuelPreviewPage.js")), te = r(() => import("./pages/EmptyReusePage.js"));
32
- function ne() {
33
- return /* @__PURE__ */ s(n, {
34
- fallback: /* @__PURE__ */ s(d, {}),
35
- children: /* @__PURE__ */ c(a, { children: [
36
- /* @__PURE__ */ s(i, {
32
+ var p = i(() => import("./pages/DashboardPage.js")), m = i(() => import("./pages/OrdersListPage.js")), h = i(() => import("./pages/OrderDetailsPage.js")), g = i(() => import("./pages/CreateOrderPage.js")), _ = i(() => import("./pages/TrackingPage.js")), v = i(() => import("./pages/TrackingEventQualityPage.js")), y = i(() => import("./pages/ShipmentStatusAuthorityPage.js")), b = i(() => import("./pages/LiveTrackingPage.js")), x = i(() => import("./pages/FleetPage.js")), S = i(() => import("./pages/VehiclesPage.js")), C = i(() => import("./pages/VehicleDetailsPage.js")), w = i(() => import("./pages/DriversPage.js")), T = i(() => import("./pages/DriverDetailsPage.js")), E = i(() => import("./pages/InventoryPage.js")), D = i(() => import("./pages/ProductsPage.js")), O = i(() => import("./pages/ProductDetailsPage.js")), k = i(() => import("./pages/PalletPreviewPage.js")), A = i(() => import("./pages/WarehousesPage.js")), j = i(() => import("./pages/WarehouseDetailsPage.js")), M = i(() => import("./pages/CustomersPage.js")), N = i(() => import("./pages/CustomerDetailsPage.js")), P = i(() => import("./pages/MarketplacePage.js")), F = i(() => import("./pages/ImportExportPage.js")), ee = i(() => import("./pages/SettingsPage.js")), I = i(() => import("./pages/RoutesPage.js")), L = i(() => import("./pages/RouteDetailsPage.js")), R = i(() => import("./pages/AnalyticsPage.js")), z = i(() => import("./pages/FinancePage.js")), B = i(() => import("./pages/FreightEstimatePage.js")), V = i(() => import("./pages/FreightInvoicePage.js")), H = i(() => import("./pages/ConsolidationPage.js")), U = i(() => import("./pages/LogisticsProceduresPage.js")), W = i(() => import("./pages/AIAssistantPage.js")), G = i(() => import("./pages/DeliveryCapturePage.js")), K = i(() => import("./pages/MultiModalShipmentPage.js")), q = i(() => import("./pages/ShippingRatesPage.js")), J = i(() => import("./pages/ContainersPage.js")), Y = i(() => import("./pages/ContainerConditionPage.js")), X = i(() => import("./pages/FreeTimePage.js")), Z = i(() => import("./pages/PendingPickPage.js")), Q = i(() => import("./pages/StockObservationsPage.js")), $ = i(() => import("./pages/StockBindingPage.js")), te = i(() => import("./pages/TripUtilizationPage.js")), ne = i(() => import("./pages/ConsumedFuelPreviewPage.js")), re = i(() => import("./pages/EmptyReusePage.js"));
33
+ function ie() {
34
+ return t(), /* @__PURE__ */ c(r, {
35
+ fallback: /* @__PURE__ */ c(f, {}),
36
+ children: /* @__PURE__ */ l(o, { children: [
37
+ /* @__PURE__ */ c(a, {
37
38
  index: !0,
38
- element: /* @__PURE__ */ s(f, {})
39
+ element: /* @__PURE__ */ c(p, {})
39
40
  }),
40
- /* @__PURE__ */ s(i, {
41
+ /* @__PURE__ */ c(a, {
41
42
  path: "orders",
42
- element: /* @__PURE__ */ s(p, {})
43
+ element: /* @__PURE__ */ c(m, {})
43
44
  }),
44
- /* @__PURE__ */ s(i, {
45
+ /* @__PURE__ */ c(a, {
45
46
  path: "orders/new",
46
- element: /* @__PURE__ */ s(h, {})
47
+ element: /* @__PURE__ */ c(g, {})
47
48
  }),
48
- /* @__PURE__ */ s(i, {
49
+ /* @__PURE__ */ c(a, {
49
50
  path: "orders/:orderId",
50
- element: /* @__PURE__ */ s(m, {})
51
+ element: /* @__PURE__ */ c(h, {})
51
52
  }),
52
- /* @__PURE__ */ s(i, {
53
+ /* @__PURE__ */ c(a, {
53
54
  path: "orders/:orderId/edit",
54
- element: /* @__PURE__ */ s(h, {})
55
+ element: /* @__PURE__ */ c(g, {})
55
56
  }),
56
- /* @__PURE__ */ s(i, {
57
+ /* @__PURE__ */ c(a, {
57
58
  path: "tracking",
58
- element: /* @__PURE__ */ s(g, {})
59
+ element: /* @__PURE__ */ c(_, {})
59
60
  }),
60
- /* @__PURE__ */ s(i, {
61
+ /* @__PURE__ */ c(a, {
61
62
  path: "tracking/live",
62
- element: /* @__PURE__ */ s(y, {})
63
+ element: /* @__PURE__ */ c(b, {})
63
64
  }),
64
- /* @__PURE__ */ s(i, {
65
+ /* @__PURE__ */ c(a, {
65
66
  path: "tracking/event-quality",
66
- element: /* @__PURE__ */ s(_, {})
67
+ element: /* @__PURE__ */ c(v, {})
67
68
  }),
68
- /* @__PURE__ */ s(i, {
69
+ /* @__PURE__ */ c(a, {
69
70
  path: "shipments/status-authority",
70
- element: /* @__PURE__ */ s(v, {})
71
+ element: /* @__PURE__ */ c(y, {})
71
72
  }),
72
- /* @__PURE__ */ s(i, {
73
+ /* @__PURE__ */ c(a, {
73
74
  path: "deliveries/mine",
74
- element: /* @__PURE__ */ s(U, {})
75
+ element: /* @__PURE__ */ c(G, {})
75
76
  }),
76
- /* @__PURE__ */ s(i, {
77
+ /* @__PURE__ */ c(a, {
77
78
  path: "shipments/multi-modal",
78
- element: /* @__PURE__ */ s(W, {})
79
+ element: /* @__PURE__ */ c(K, {})
79
80
  }),
80
- /* @__PURE__ */ s(i, {
81
+ /* @__PURE__ */ c(a, {
81
82
  path: "shipments/rates",
82
- element: /* @__PURE__ */ s(G, {})
83
+ element: /* @__PURE__ */ c(q, {})
83
84
  }),
84
- /* @__PURE__ */ s(i, {
85
+ /* @__PURE__ */ c(a, {
85
86
  path: "containers",
86
- element: /* @__PURE__ */ s(K, {})
87
+ element: /* @__PURE__ */ c(J, {})
87
88
  }),
88
- /* @__PURE__ */ s(i, {
89
+ /* @__PURE__ */ c(a, {
89
90
  path: "containers/condition",
90
- element: /* @__PURE__ */ s(q, {})
91
+ element: /* @__PURE__ */ c(Y, {})
91
92
  }),
92
- /* @__PURE__ */ s(i, {
93
+ /* @__PURE__ */ c(a, {
93
94
  path: "containers/free-time",
94
- element: /* @__PURE__ */ s(J, {})
95
+ element: /* @__PURE__ */ c(X, {})
95
96
  }),
96
- /* @__PURE__ */ s(i, {
97
+ /* @__PURE__ */ c(a, {
97
98
  path: "containers/empty-reuse",
98
- element: /* @__PURE__ */ s(te, {})
99
+ element: /* @__PURE__ */ c(re, {})
99
100
  }),
100
- /* @__PURE__ */ s(i, {
101
+ /* @__PURE__ */ c(a, {
101
102
  path: "containers/consolidation",
102
- element: /* @__PURE__ */ s(B, {})
103
+ element: /* @__PURE__ */ c(H, {})
103
104
  }),
104
- /* @__PURE__ */ s(i, {
105
+ /* @__PURE__ */ c(a, {
105
106
  path: "containers/procedures",
106
- element: /* @__PURE__ */ s(V, {})
107
+ element: /* @__PURE__ */ c(U, {})
107
108
  }),
108
- /* @__PURE__ */ s(i, {
109
+ /* @__PURE__ */ c(a, {
109
110
  path: "fleet",
110
- element: /* @__PURE__ */ s(b, {})
111
+ element: /* @__PURE__ */ c(x, {})
111
112
  }),
112
- /* @__PURE__ */ s(i, {
113
+ /* @__PURE__ */ c(a, {
113
114
  path: "fleet/vehicles",
114
- element: /* @__PURE__ */ s(x, {})
115
+ element: /* @__PURE__ */ c(S, {})
115
116
  }),
116
- /* @__PURE__ */ s(i, {
117
+ /* @__PURE__ */ c(a, {
117
118
  path: "fleet/vehicles/new",
118
- element: /* @__PURE__ */ s(S, {})
119
+ element: /* @__PURE__ */ c(C, {})
119
120
  }),
120
- /* @__PURE__ */ s(i, {
121
+ /* @__PURE__ */ c(a, {
121
122
  path: "fleet/vehicles/:vehicleId",
122
- element: /* @__PURE__ */ s(S, {})
123
+ element: /* @__PURE__ */ c(C, {})
123
124
  }),
124
- /* @__PURE__ */ s(i, {
125
+ /* @__PURE__ */ c(a, {
125
126
  path: "fleet/vehicles/:vehicleId/edit",
126
- element: /* @__PURE__ */ s(S, {})
127
+ element: /* @__PURE__ */ c(C, {})
127
128
  }),
128
- /* @__PURE__ */ s(i, {
129
+ /* @__PURE__ */ c(a, {
129
130
  path: "fleet/drivers",
130
- element: /* @__PURE__ */ s(C, {})
131
+ element: /* @__PURE__ */ c(w, {})
131
132
  }),
132
- /* @__PURE__ */ s(i, {
133
+ /* @__PURE__ */ c(a, {
133
134
  path: "fleet/drivers/new",
134
- element: /* @__PURE__ */ s(w, {})
135
+ element: /* @__PURE__ */ c(T, {})
135
136
  }),
136
- /* @__PURE__ */ s(i, {
137
+ /* @__PURE__ */ c(a, {
137
138
  path: "fleet/drivers/:driverId",
138
- element: /* @__PURE__ */ s(w, {})
139
+ element: /* @__PURE__ */ c(T, {})
139
140
  }),
140
- /* @__PURE__ */ s(i, {
141
+ /* @__PURE__ */ c(a, {
141
142
  path: "fleet/drivers/:driverId/edit",
142
- element: /* @__PURE__ */ s(w, {})
143
+ element: /* @__PURE__ */ c(T, {})
143
144
  }),
144
- /* @__PURE__ */ s(i, {
145
+ /* @__PURE__ */ c(a, {
145
146
  path: "inventory",
146
- element: /* @__PURE__ */ s(T, {})
147
+ element: /* @__PURE__ */ c(E, {})
147
148
  }),
148
- /* @__PURE__ */ s(i, {
149
+ /* @__PURE__ */ c(a, {
149
150
  path: "inventory/source-assessments",
150
- element: /* @__PURE__ */ s(Z, {})
151
+ element: /* @__PURE__ */ c($, {})
151
152
  }),
152
- /* @__PURE__ */ s(i, {
153
+ /* @__PURE__ */ c(a, {
153
154
  path: "inventory/reported-issues",
154
- element: /* @__PURE__ */ s(X, {})
155
+ element: /* @__PURE__ */ c(Q, {})
155
156
  }),
156
- /* @__PURE__ */ s(i, {
157
+ /* @__PURE__ */ c(a, {
157
158
  path: "inventory/pending-picks",
158
- element: /* @__PURE__ */ s(Y, {})
159
+ element: /* @__PURE__ */ c(Z, {})
159
160
  }),
160
- /* @__PURE__ */ s(i, {
161
+ /* @__PURE__ */ c(a, {
161
162
  path: "inventory/products",
162
- element: /* @__PURE__ */ s(E, {})
163
+ element: /* @__PURE__ */ c(D, {})
163
164
  }),
164
- /* @__PURE__ */ s(i, {
165
+ /* @__PURE__ */ c(a, {
165
166
  path: "inventory/products/new",
166
- element: /* @__PURE__ */ s(D, {})
167
+ element: /* @__PURE__ */ c(O, {})
167
168
  }),
168
- /* @__PURE__ */ s(i, {
169
+ /* @__PURE__ */ c(a, {
169
170
  path: "inventory/products/:productId",
170
- element: /* @__PURE__ */ s(D, {})
171
+ element: /* @__PURE__ */ c(O, {})
171
172
  }),
172
- /* @__PURE__ */ s(i, {
173
+ /* @__PURE__ */ c(a, {
173
174
  path: "inventory/products/:productId/edit",
174
- element: /* @__PURE__ */ s(D, {})
175
+ element: /* @__PURE__ */ c(O, {})
175
176
  }),
176
- /* @__PURE__ */ s(i, {
177
+ /* @__PURE__ */ c(a, {
177
178
  path: "inventory/warehouses",
178
- element: /* @__PURE__ */ s(k, {})
179
+ element: /* @__PURE__ */ c(A, {})
179
180
  }),
180
- /* @__PURE__ */ s(i, {
181
+ /* @__PURE__ */ c(a, {
181
182
  path: "inventory/warehouses/pallet-preview",
182
- element: /* @__PURE__ */ s(O, {})
183
+ element: /* @__PURE__ */ c(k, {})
183
184
  }),
184
- /* @__PURE__ */ s(i, {
185
+ /* @__PURE__ */ c(a, {
185
186
  path: "inventory/warehouses/new",
186
- element: /* @__PURE__ */ s(A, {})
187
+ element: /* @__PURE__ */ c(j, {})
187
188
  }),
188
- /* @__PURE__ */ s(i, {
189
+ /* @__PURE__ */ c(a, {
189
190
  path: "inventory/warehouses/:warehouseId",
190
- element: /* @__PURE__ */ s(A, {})
191
+ element: /* @__PURE__ */ c(j, {})
191
192
  }),
192
- /* @__PURE__ */ s(i, {
193
+ /* @__PURE__ */ c(a, {
193
194
  path: "inventory/warehouses/:warehouseId/edit",
194
- element: /* @__PURE__ */ s(A, {})
195
+ element: /* @__PURE__ */ c(j, {})
195
196
  }),
196
- /* @__PURE__ */ s(i, {
197
+ /* @__PURE__ */ c(a, {
197
198
  path: "customers",
198
- element: /* @__PURE__ */ s(j, {})
199
+ element: /* @__PURE__ */ c(M, {})
199
200
  }),
200
- /* @__PURE__ */ s(i, {
201
+ /* @__PURE__ */ c(a, {
201
202
  path: "customers/new",
202
- element: /* @__PURE__ */ s(M, {})
203
+ element: /* @__PURE__ */ c(N, {})
203
204
  }),
204
- /* @__PURE__ */ s(i, {
205
+ /* @__PURE__ */ c(a, {
205
206
  path: "customers/:customerId",
206
- element: /* @__PURE__ */ s(M, {})
207
+ element: /* @__PURE__ */ c(N, {})
207
208
  }),
208
- /* @__PURE__ */ s(i, {
209
+ /* @__PURE__ */ c(a, {
209
210
  path: "marketplace",
210
- element: /* @__PURE__ */ s(N, {})
211
+ element: /* @__PURE__ */ c(P, {})
211
212
  }),
212
- /* @__PURE__ */ s(i, {
213
+ /* @__PURE__ */ c(a, {
213
214
  path: "import-export",
214
- element: /* @__PURE__ */ s(P, {})
215
+ element: /* @__PURE__ */ c(F, {})
216
+ }),
217
+ /* @__PURE__ */ c(a, {
218
+ path: "settings",
219
+ element: /* @__PURE__ */ c(ee, {})
215
220
  }),
216
- /* @__PURE__ */ s(i, {
221
+ /* @__PURE__ */ c(a, {
217
222
  path: "routes",
218
- element: /* @__PURE__ */ s(ee, {})
223
+ element: /* @__PURE__ */ c(I, {})
219
224
  }),
220
- /* @__PURE__ */ s(i, {
225
+ /* @__PURE__ */ c(a, {
221
226
  path: "routes/trip-utilization",
222
- element: /* @__PURE__ */ s(Q, {})
227
+ element: /* @__PURE__ */ c(te, {})
223
228
  }),
224
- /* @__PURE__ */ s(i, {
229
+ /* @__PURE__ */ c(a, {
225
230
  path: "fuel-preview",
226
- element: /* @__PURE__ */ s($, {})
231
+ element: /* @__PURE__ */ c(ne, {})
227
232
  }),
228
- /* @__PURE__ */ s(i, {
233
+ /* @__PURE__ */ c(a, {
229
234
  path: "routes/new",
230
- element: /* @__PURE__ */ s(F, {})
235
+ element: /* @__PURE__ */ c(L, {})
231
236
  }),
232
- /* @__PURE__ */ s(i, {
237
+ /* @__PURE__ */ c(a, {
233
238
  path: "routes/:routeId",
234
- element: /* @__PURE__ */ s(F, {})
239
+ element: /* @__PURE__ */ c(L, {})
235
240
  }),
236
- /* @__PURE__ */ s(i, {
241
+ /* @__PURE__ */ c(a, {
237
242
  path: "routes/:routeId/edit",
238
- element: /* @__PURE__ */ s(F, {})
243
+ element: /* @__PURE__ */ c(L, {})
239
244
  }),
240
- /* @__PURE__ */ s(i, {
245
+ /* @__PURE__ */ c(a, {
241
246
  path: "analytics",
242
- element: /* @__PURE__ */ s(I, {})
247
+ element: /* @__PURE__ */ c(R, {})
243
248
  }),
244
- /* @__PURE__ */ s(i, {
249
+ /* @__PURE__ */ c(a, {
245
250
  path: "finance",
246
- element: /* @__PURE__ */ s(L, {})
251
+ element: /* @__PURE__ */ c(z, {})
247
252
  }),
248
- /* @__PURE__ */ s(i, {
253
+ /* @__PURE__ */ c(a, {
249
254
  path: "finance/freight-estimates",
250
- element: /* @__PURE__ */ s(R, {})
255
+ element: /* @__PURE__ */ c(B, {})
251
256
  }),
252
- /* @__PURE__ */ s(i, {
257
+ /* @__PURE__ */ c(a, {
253
258
  path: "finance/freight-invoice-comparisons",
254
- element: /* @__PURE__ */ s(z, {})
259
+ element: /* @__PURE__ */ c(V, {})
255
260
  }),
256
- /* @__PURE__ */ s(i, {
261
+ /* @__PURE__ */ c(a, {
257
262
  path: "ai-assistant",
258
- element: /* @__PURE__ */ s(H, {})
263
+ element: /* @__PURE__ */ c(W, {})
259
264
  }),
260
- /* @__PURE__ */ s(i, {
265
+ /* @__PURE__ */ c(a, {
261
266
  path: "*",
262
- element: /* @__PURE__ */ s(u, {})
267
+ element: /* @__PURE__ */ c(d, {})
263
268
  })
264
269
  ] })
265
270
  });
266
271
  }
267
272
  //#endregion
268
- export { ne as MoveTheWheelsRoutes };
273
+ export { ie as MoveTheWheelsRoutes };
@@ -3,9 +3,9 @@ import { ExternalLink as t } from "../node_modules/lucide-react/dist/esm/icons/e
3
3
  import { FileText as n } from "../node_modules/lucide-react/dist/esm/icons/file-text.js";
4
4
  import { Upload as r } from "../node_modules/lucide-react/dist/esm/icons/upload.js";
5
5
  import { useMoveTheWheels as i } from "../providers/MoveTheWheelsProvider.js";
6
- import { useEntityDocuments as a } from "../hooks/useEntityDocuments.js";
7
- import { Button as o, Card as s, CardContent as c, CardHeader as l, CardTitle as u } from "./ui.js";
8
- import { formatDate as d } from "../utils/formatters.js";
6
+ import { formatDate as a } from "../utils/formatters.js";
7
+ import { useEntityDocuments as o } from "../hooks/useEntityDocuments.js";
8
+ import { Button as s, Card as c, CardContent as l, CardHeader as u, CardTitle as d } from "./ui.js";
9
9
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
10
10
  //#region src/movethewheels/components/DocumentsCard.tsx
11
11
  function m(e) {
@@ -20,19 +20,19 @@ function m(e) {
20
20
  return `${n.toFixed(n >= 10 || r === 0 ? 0 : 1)} ${t[r]}`;
21
21
  }
22
22
  function h({ entityType: h, entityId: g }) {
23
- let { navigate: _ } = i(), { documents: v, hasMore: y, isLoading: b, loadMore: x } = a(h, g), S = () => _("/files/browse");
24
- return /* @__PURE__ */ p(s, { children: [/* @__PURE__ */ p(l, {
23
+ let { navigate: _ } = i(), { documents: v, hasMore: y, isLoading: b, loadMore: x } = o(h, g), S = () => _("/files/browse");
24
+ return /* @__PURE__ */ p(c, { children: [/* @__PURE__ */ p(u, {
25
25
  className: "flex flex-row items-center justify-between",
26
- children: [/* @__PURE__ */ p(u, {
26
+ children: [/* @__PURE__ */ p(d, {
27
27
  className: "flex items-center gap-2",
28
28
  children: [/* @__PURE__ */ f(n, { size: 18 }), " Documents"]
29
- }), /* @__PURE__ */ p(o, {
29
+ }), /* @__PURE__ */ p(s, {
30
30
  variant: "outline",
31
31
  size: "sm",
32
32
  onClick: S,
33
33
  children: [/* @__PURE__ */ f(r, { size: 14 }), " Add / Manage"]
34
34
  })]
35
- }), /* @__PURE__ */ f(c, { children: b ? /* @__PURE__ */ f("p", {
35
+ }), /* @__PURE__ */ f(l, { children: b ? /* @__PURE__ */ f("p", {
36
36
  className: "text-text-secondary text-center py-4",
37
37
  children: "Loading documents…"
38
38
  }) : v.length > 0 ? /* @__PURE__ */ p("div", {
@@ -49,7 +49,7 @@ function h({ entityType: h, entityId: g }) {
49
49
  children: [
50
50
  m(n.size),
51
51
  " · ",
52
- d(n.createdAt, "relative")
52
+ a(n.createdAt, "relative")
53
53
  ]
54
54
  })]
55
55
  }), n.downloadUrl ? /* @__PURE__ */ p("a", {
@@ -58,13 +58,13 @@ function h({ entityType: h, entityId: g }) {
58
58
  rel: "noopener noreferrer",
59
59
  className: "shrink-0 inline-flex items-center gap-1 text-sm text-primary hover:underline",
60
60
  children: [/* @__PURE__ */ f(e, { size: 14 }), " Open"]
61
- }) : /* @__PURE__ */ p(o, {
61
+ }) : /* @__PURE__ */ p(s, {
62
62
  variant: "ghost",
63
63
  size: "sm",
64
64
  onClick: S,
65
65
  children: [/* @__PURE__ */ f(t, { size: 14 }), " View"]
66
66
  })]
67
- }, n.id)), y && /* @__PURE__ */ f(o, {
67
+ }, n.id)), y && /* @__PURE__ */ f(s, {
68
68
  variant: "outline",
69
69
  size: "sm",
70
70
  onClick: x,
@@ -3,13 +3,13 @@ import { Clock as t } from "../node_modules/lucide-react/dist/esm/icons/clock.js
3
3
  import { Download as n } from "../node_modules/lucide-react/dist/esm/icons/download.js";
4
4
  import { MapPin as r } from "../node_modules/lucide-react/dist/esm/icons/map-pin.js";
5
5
  import { User as i } from "../node_modules/lucide-react/dist/esm/icons/user.js";
6
- import { useEpod as a, useEpodPhotoUrl as o } from "../hooks/useEpod.js";
7
- import { Badge as s, Card as c, CardContent as l, CardHeader as u, CardTitle as d } from "./ui.js";
8
- import { formatDateTime as f } from "../utils/formatters.js";
6
+ import { formatDateTime as a } from "../utils/formatters.js";
7
+ import { useEpod as o, useEpodPhotoUrl as s } from "../hooks/useEpod.js";
8
+ import { Badge as c, Card as l, CardContent as u, CardHeader as d, CardTitle as f } from "./ui.js";
9
9
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
10
10
  //#region src/movethewheels/components/ProofOfDeliveryCard.tsx
11
11
  function h({ fileId: e }) {
12
- let { url: t, isLoading: n } = o(e);
12
+ let { url: t, isLoading: n } = s(e);
13
13
  return n ? /* @__PURE__ */ p("div", { className: "h-20 w-20 rounded-lg bg-bg-sunken animate-pulse" }) : t ? /* @__PURE__ */ p("a", {
14
14
  href: t,
15
15
  target: "_blank",
@@ -22,18 +22,18 @@ function h({ fileId: e }) {
22
22
  })
23
23
  }) : null;
24
24
  }
25
- function g({ deliveryJobId: o }) {
26
- let { epod: g, isLoading: _, error: v } = a(o);
27
- return /* @__PURE__ */ m(c, { children: [/* @__PURE__ */ m(u, {
25
+ function g({ deliveryJobId: s }) {
26
+ let { epod: g, isLoading: _, error: v } = o(s);
27
+ return /* @__PURE__ */ m(l, { children: [/* @__PURE__ */ m(d, {
28
28
  className: "flex flex-row items-center justify-between",
29
- children: [/* @__PURE__ */ m(d, {
29
+ children: [/* @__PURE__ */ m(f, {
30
30
  className: "flex items-center gap-2",
31
31
  children: [/* @__PURE__ */ p(e, { size: 18 }), " Proof of Delivery"]
32
- }), g && /* @__PURE__ */ p(s, {
32
+ }), g && /* @__PURE__ */ p(c, {
33
33
  variant: "success",
34
34
  children: "Captured"
35
35
  })]
36
- }), /* @__PURE__ */ p(l, { children: _ ? /* @__PURE__ */ p("p", {
36
+ }), /* @__PURE__ */ p(u, { children: _ ? /* @__PURE__ */ p("p", {
37
37
  className: "text-text-secondary text-center py-4",
38
38
  children: "Loading proof of delivery…"
39
39
  }) : v ? /* @__PURE__ */ p("p", {
@@ -68,7 +68,7 @@ function g({ deliveryJobId: o }) {
68
68
  children: "Delivered at"
69
69
  }), /* @__PURE__ */ p("p", {
70
70
  className: "font-medium",
71
- children: f(g.deliveredAt)
71
+ children: a(g.deliveredAt)
72
72
  })] })]
73
73
  }),
74
74
  g.latitude != null && g.longitude != null && /* @__PURE__ */ m("div", {
@@ -128,8 +128,8 @@ function g({ deliveryJobId: o }) {
128
128
  children: g.photoFileIds.map((e) => /* @__PURE__ */ p(h, { fileId: e }, e))
129
129
  })] }),
130
130
  /* @__PURE__ */ m("a", {
131
- href: `data:text/plain;charset=utf-8,${encodeURIComponent(`Proof of Delivery\nRecipient: ${g.recipientName}\nDelivered at: ${f(g.deliveredAt)}${g.latitude != null && g.longitude != null ? `\nLocation: ${g.latitude}, ${g.longitude}` : ""}${g.notes ? `\nNotes: ${g.notes}` : ""}`)}`,
132
- download: `pod-${o}.txt`,
131
+ href: `data:text/plain;charset=utf-8,${encodeURIComponent(`Proof of Delivery\nRecipient: ${g.recipientName}\nDelivered at: ${a(g.deliveredAt)}${g.latitude != null && g.longitude != null ? `\nLocation: ${g.latitude}, ${g.longitude}` : ""}${g.notes ? `\nNotes: ${g.notes}` : ""}`)}`,
132
+ download: `pod-${s}.txt`,
133
133
  className: "inline-flex items-center gap-1 text-sm text-primary hover:underline",
134
134
  children: [/* @__PURE__ */ p(n, { size: 14 }), " Download record"]
135
135
  })