@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.
Files changed (74) hide show
  1. package/dist/MoveTheWheelsRoot.js +121 -104
  2. package/dist/MoveTheWheelsRoutes.js +142 -133
  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 +140 -0
  9. package/dist/hooks/useEntityImport.js +68 -0
  10. package/dist/hooks/useOrderDispatch.js +17 -17
  11. package/dist/movethewheels/hooks/useEntityImport.d.ts +19 -0
  12. package/dist/movethewheels/pages/ImportExportPage.d.ts +9 -0
  13. package/dist/movethewheels/pages/SettingsPage.d.ts +1 -0
  14. package/dist/movethewheels/providers/ModuleSettingsProvider.d.ts +17 -0
  15. package/dist/movethewheels/utils/entityImport.d.ts +109 -0
  16. package/dist/movethewheels/utils/formatters.d.ts +23 -3
  17. package/dist/movethewheels/utils/moduleSettings.d.ts +52 -0
  18. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-up.js +22 -0
  19. package/dist/node_modules/lucide-react/dist/esm/icons/bell.js +11 -0
  20. package/dist/node_modules/lucide-react/dist/esm/icons/file-spreadsheet.js +30 -0
  21. package/dist/node_modules/lucide-react/dist/esm/icons/file-up.js +22 -0
  22. package/dist/node_modules/lucide-react/dist/esm/icons/key-round.js +14 -0
  23. package/dist/node_modules/lucide-react/dist/esm/icons/plug.js +22 -0
  24. package/dist/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js +11 -0
  25. package/dist/node_modules/lucide-react/dist/esm/icons/settings.js +13 -0
  26. package/dist/pages/AnalyticsPage.js +27 -27
  27. package/dist/pages/CreateOrderPage.js +340 -317
  28. package/dist/pages/CustomerDetailsPage.js +246 -246
  29. package/dist/pages/CustomersPage.js +88 -79
  30. package/dist/pages/DashboardPage.js +24 -24
  31. package/dist/pages/DeliveryCapturePage.js +74 -74
  32. package/dist/pages/DriverDetailsPage.js +337 -337
  33. package/dist/pages/DriversPage.js +119 -110
  34. package/dist/pages/FinancePage.js +26 -26
  35. package/dist/pages/ImportExportPage.js +435 -0
  36. package/dist/pages/InventoryPage.js +28 -28
  37. package/dist/pages/LiveTrackingPage.js +108 -108
  38. package/dist/pages/MarketplacePage.js +44 -44
  39. package/dist/pages/OrderDetailsPage.js +306 -306
  40. package/dist/pages/OrdersListPage.js +27 -27
  41. package/dist/pages/ProductDetailsPage.js +89 -89
  42. package/dist/pages/ProductsPage.js +86 -77
  43. package/dist/pages/RouteDetailsPage.js +282 -285
  44. package/dist/pages/RoutesPage.js +78 -78
  45. package/dist/pages/SettingsPage.js +459 -0
  46. package/dist/pages/TrackingPage.js +41 -41
  47. package/dist/pages/VehicleDetailsPage.js +207 -207
  48. package/dist/pages/VehiclesPage.js +100 -90
  49. package/dist/pages/WarehouseDetailsPage.js +132 -132
  50. package/dist/pages/WarehousesPage.js +97 -88
  51. package/dist/providers/ModuleSettingsProvider.js +74 -0
  52. package/dist/utils/entityImport.js +73 -0
  53. package/dist/utils/formatters.js +53 -26
  54. package/dist/utils/moduleSettings.js +132 -0
  55. package/package.json +4 -2
  56. package/src/generated/tracking-quality-operations.ts +184 -0
  57. package/src/movethewheels/MoveTheWheelsRoot.tsx +22 -3
  58. package/src/movethewheels/MoveTheWheelsRoutes.tsx +13 -0
  59. package/src/movethewheels/hooks/useEntityImport.ts +108 -0
  60. package/src/movethewheels/pages/CreateOrderPage.tsx +38 -6
  61. package/src/movethewheels/pages/CustomersPage.tsx +6 -1
  62. package/src/movethewheels/pages/DriversPage.tsx +6 -0
  63. package/src/movethewheels/pages/ImportExportPage.tsx +483 -0
  64. package/src/movethewheels/pages/ProductsPage.tsx +16 -3
  65. package/src/movethewheels/pages/RouteDetailsPage.tsx +3 -6
  66. package/src/movethewheels/pages/RoutesPage.tsx +2 -2
  67. package/src/movethewheels/pages/SettingsPage.tsx +516 -0
  68. package/src/movethewheels/pages/VehicleDetailsPage.tsx +4 -2
  69. package/src/movethewheels/pages/VehiclesPage.tsx +8 -1
  70. package/src/movethewheels/pages/WarehousesPage.tsx +6 -1
  71. package/src/movethewheels/providers/ModuleSettingsProvider.tsx +133 -0
  72. package/src/movethewheels/utils/entityImport.ts +239 -0
  73. package/src/movethewheels/utils/formatters.ts +69 -10
  74. package/src/movethewheels/utils/moduleSettings.ts +224 -0
@@ -1,264 +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")), ee = r(() => import("./pages/OrdersListPage.js")), p = r(() => import("./pages/OrderDetailsPage.js")), m = r(() => import("./pages/CreateOrderPage.js")), h = r(() => import("./pages/TrackingPage.js")), g = r(() => import("./pages/TrackingEventQualityPage.js")), _ = r(() => import("./pages/ShipmentStatusAuthorityPage.js")), v = r(() => import("./pages/LiveTrackingPage.js")), y = r(() => import("./pages/FleetPage.js")), b = r(() => import("./pages/VehiclesPage.js")), x = r(() => import("./pages/VehicleDetailsPage.js")), S = r(() => import("./pages/DriversPage.js")), C = r(() => import("./pages/DriverDetailsPage.js")), w = r(() => import("./pages/InventoryPage.js")), T = r(() => import("./pages/ProductsPage.js")), E = r(() => import("./pages/ProductDetailsPage.js")), D = r(() => import("./pages/PalletPreviewPage.js")), O = r(() => import("./pages/WarehousesPage.js")), k = r(() => import("./pages/WarehouseDetailsPage.js")), A = r(() => import("./pages/CustomersPage.js")), j = r(() => import("./pages/CustomerDetailsPage.js")), M = r(() => import("./pages/MarketplacePage.js")), N = r(() => import("./pages/RoutesPage.js")), P = r(() => import("./pages/RouteDetailsPage.js")), F = r(() => import("./pages/AnalyticsPage.js")), I = r(() => import("./pages/FinancePage.js")), L = r(() => import("./pages/FreightEstimatePage.js")), R = r(() => import("./pages/FreightInvoicePage.js")), z = r(() => import("./pages/ConsolidationPage.js")), B = r(() => import("./pages/LogisticsProceduresPage.js")), V = r(() => import("./pages/AIAssistantPage.js")), H = r(() => import("./pages/DeliveryCapturePage.js")), U = r(() => import("./pages/MultiModalShipmentPage.js")), W = r(() => import("./pages/ShippingRatesPage.js")), G = r(() => import("./pages/ContainersPage.js")), K = r(() => import("./pages/ContainerConditionPage.js")), q = r(() => import("./pages/FreeTimePage.js")), J = r(() => import("./pages/PendingPickPage.js")), Y = r(() => import("./pages/StockObservationsPage.js")), X = r(() => import("./pages/StockBindingPage.js")), Z = r(() => import("./pages/TripUtilizationPage.js")), Q = r(() => import("./pages/ConsumedFuelPreviewPage.js")), $ = r(() => import("./pages/EmptyReusePage.js"));
32
- function te() {
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(ee, {})
43
+ element: /* @__PURE__ */ c(m, {})
43
44
  }),
44
- /* @__PURE__ */ s(i, {
45
+ /* @__PURE__ */ c(a, {
45
46
  path: "orders/new",
46
- element: /* @__PURE__ */ s(m, {})
47
+ element: /* @__PURE__ */ c(g, {})
47
48
  }),
48
- /* @__PURE__ */ s(i, {
49
+ /* @__PURE__ */ c(a, {
49
50
  path: "orders/:orderId",
50
- element: /* @__PURE__ */ s(p, {})
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(m, {})
55
+ element: /* @__PURE__ */ c(g, {})
55
56
  }),
56
- /* @__PURE__ */ s(i, {
57
+ /* @__PURE__ */ c(a, {
57
58
  path: "tracking",
58
- element: /* @__PURE__ */ s(h, {})
59
+ element: /* @__PURE__ */ c(_, {})
59
60
  }),
60
- /* @__PURE__ */ s(i, {
61
+ /* @__PURE__ */ c(a, {
61
62
  path: "tracking/live",
62
- element: /* @__PURE__ */ s(v, {})
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(g, {})
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(_, {})
71
+ element: /* @__PURE__ */ c(y, {})
71
72
  }),
72
- /* @__PURE__ */ s(i, {
73
+ /* @__PURE__ */ c(a, {
73
74
  path: "deliveries/mine",
74
- element: /* @__PURE__ */ s(H, {})
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(U, {})
79
+ element: /* @__PURE__ */ c(K, {})
79
80
  }),
80
- /* @__PURE__ */ s(i, {
81
+ /* @__PURE__ */ c(a, {
81
82
  path: "shipments/rates",
82
- element: /* @__PURE__ */ s(W, {})
83
+ element: /* @__PURE__ */ c(q, {})
83
84
  }),
84
- /* @__PURE__ */ s(i, {
85
+ /* @__PURE__ */ c(a, {
85
86
  path: "containers",
86
- element: /* @__PURE__ */ s(G, {})
87
+ element: /* @__PURE__ */ c(J, {})
87
88
  }),
88
- /* @__PURE__ */ s(i, {
89
+ /* @__PURE__ */ c(a, {
89
90
  path: "containers/condition",
90
- element: /* @__PURE__ */ s(K, {})
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(q, {})
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($, {})
99
+ element: /* @__PURE__ */ c(re, {})
99
100
  }),
100
- /* @__PURE__ */ s(i, {
101
+ /* @__PURE__ */ c(a, {
101
102
  path: "containers/consolidation",
102
- element: /* @__PURE__ */ s(z, {})
103
+ element: /* @__PURE__ */ c(H, {})
103
104
  }),
104
- /* @__PURE__ */ s(i, {
105
+ /* @__PURE__ */ c(a, {
105
106
  path: "containers/procedures",
106
- element: /* @__PURE__ */ s(B, {})
107
+ element: /* @__PURE__ */ c(U, {})
107
108
  }),
108
- /* @__PURE__ */ s(i, {
109
+ /* @__PURE__ */ c(a, {
109
110
  path: "fleet",
110
- element: /* @__PURE__ */ s(y, {})
111
+ element: /* @__PURE__ */ c(x, {})
111
112
  }),
112
- /* @__PURE__ */ s(i, {
113
+ /* @__PURE__ */ c(a, {
113
114
  path: "fleet/vehicles",
114
- element: /* @__PURE__ */ s(b, {})
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(x, {})
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(x, {})
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(x, {})
127
+ element: /* @__PURE__ */ c(C, {})
127
128
  }),
128
- /* @__PURE__ */ s(i, {
129
+ /* @__PURE__ */ c(a, {
129
130
  path: "fleet/drivers",
130
- element: /* @__PURE__ */ s(S, {})
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(C, {})
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(C, {})
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(C, {})
143
+ element: /* @__PURE__ */ c(T, {})
143
144
  }),
144
- /* @__PURE__ */ s(i, {
145
+ /* @__PURE__ */ c(a, {
145
146
  path: "inventory",
146
- element: /* @__PURE__ */ s(w, {})
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(X, {})
151
+ element: /* @__PURE__ */ c($, {})
151
152
  }),
152
- /* @__PURE__ */ s(i, {
153
+ /* @__PURE__ */ c(a, {
153
154
  path: "inventory/reported-issues",
154
- element: /* @__PURE__ */ s(Y, {})
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(J, {})
159
+ element: /* @__PURE__ */ c(Z, {})
159
160
  }),
160
- /* @__PURE__ */ s(i, {
161
+ /* @__PURE__ */ c(a, {
161
162
  path: "inventory/products",
162
- element: /* @__PURE__ */ s(T, {})
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(E, {})
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(E, {})
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(E, {})
175
+ element: /* @__PURE__ */ c(O, {})
175
176
  }),
176
- /* @__PURE__ */ s(i, {
177
+ /* @__PURE__ */ c(a, {
177
178
  path: "inventory/warehouses",
178
- element: /* @__PURE__ */ s(O, {})
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(D, {})
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(k, {})
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(k, {})
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(k, {})
195
+ element: /* @__PURE__ */ c(j, {})
195
196
  }),
196
- /* @__PURE__ */ s(i, {
197
+ /* @__PURE__ */ c(a, {
197
198
  path: "customers",
198
- element: /* @__PURE__ */ s(A, {})
199
+ element: /* @__PURE__ */ c(M, {})
199
200
  }),
200
- /* @__PURE__ */ s(i, {
201
+ /* @__PURE__ */ c(a, {
201
202
  path: "customers/new",
202
- element: /* @__PURE__ */ s(j, {})
203
+ element: /* @__PURE__ */ c(N, {})
203
204
  }),
204
- /* @__PURE__ */ s(i, {
205
+ /* @__PURE__ */ c(a, {
205
206
  path: "customers/:customerId",
206
- element: /* @__PURE__ */ s(j, {})
207
+ element: /* @__PURE__ */ c(N, {})
207
208
  }),
208
- /* @__PURE__ */ s(i, {
209
+ /* @__PURE__ */ c(a, {
209
210
  path: "marketplace",
210
- element: /* @__PURE__ */ s(M, {})
211
+ element: /* @__PURE__ */ c(P, {})
212
+ }),
213
+ /* @__PURE__ */ c(a, {
214
+ path: "import-export",
215
+ element: /* @__PURE__ */ c(F, {})
216
+ }),
217
+ /* @__PURE__ */ c(a, {
218
+ path: "settings",
219
+ element: /* @__PURE__ */ c(ee, {})
211
220
  }),
212
- /* @__PURE__ */ s(i, {
221
+ /* @__PURE__ */ c(a, {
213
222
  path: "routes",
214
- element: /* @__PURE__ */ s(N, {})
223
+ element: /* @__PURE__ */ c(I, {})
215
224
  }),
216
- /* @__PURE__ */ s(i, {
225
+ /* @__PURE__ */ c(a, {
217
226
  path: "routes/trip-utilization",
218
- element: /* @__PURE__ */ s(Z, {})
227
+ element: /* @__PURE__ */ c(te, {})
219
228
  }),
220
- /* @__PURE__ */ s(i, {
229
+ /* @__PURE__ */ c(a, {
221
230
  path: "fuel-preview",
222
- element: /* @__PURE__ */ s(Q, {})
231
+ element: /* @__PURE__ */ c(ne, {})
223
232
  }),
224
- /* @__PURE__ */ s(i, {
233
+ /* @__PURE__ */ c(a, {
225
234
  path: "routes/new",
226
- element: /* @__PURE__ */ s(P, {})
235
+ element: /* @__PURE__ */ c(L, {})
227
236
  }),
228
- /* @__PURE__ */ s(i, {
237
+ /* @__PURE__ */ c(a, {
229
238
  path: "routes/:routeId",
230
- element: /* @__PURE__ */ s(P, {})
239
+ element: /* @__PURE__ */ c(L, {})
231
240
  }),
232
- /* @__PURE__ */ s(i, {
241
+ /* @__PURE__ */ c(a, {
233
242
  path: "routes/:routeId/edit",
234
- element: /* @__PURE__ */ s(P, {})
243
+ element: /* @__PURE__ */ c(L, {})
235
244
  }),
236
- /* @__PURE__ */ s(i, {
245
+ /* @__PURE__ */ c(a, {
237
246
  path: "analytics",
238
- element: /* @__PURE__ */ s(F, {})
247
+ element: /* @__PURE__ */ c(R, {})
239
248
  }),
240
- /* @__PURE__ */ s(i, {
249
+ /* @__PURE__ */ c(a, {
241
250
  path: "finance",
242
- element: /* @__PURE__ */ s(I, {})
251
+ element: /* @__PURE__ */ c(z, {})
243
252
  }),
244
- /* @__PURE__ */ s(i, {
253
+ /* @__PURE__ */ c(a, {
245
254
  path: "finance/freight-estimates",
246
- element: /* @__PURE__ */ s(L, {})
255
+ element: /* @__PURE__ */ c(B, {})
247
256
  }),
248
- /* @__PURE__ */ s(i, {
257
+ /* @__PURE__ */ c(a, {
249
258
  path: "finance/freight-invoice-comparisons",
250
- element: /* @__PURE__ */ s(R, {})
259
+ element: /* @__PURE__ */ c(V, {})
251
260
  }),
252
- /* @__PURE__ */ s(i, {
261
+ /* @__PURE__ */ c(a, {
253
262
  path: "ai-assistant",
254
- element: /* @__PURE__ */ s(V, {})
263
+ element: /* @__PURE__ */ c(W, {})
255
264
  }),
256
- /* @__PURE__ */ s(i, {
265
+ /* @__PURE__ */ c(a, {
257
266
  path: "*",
258
- element: /* @__PURE__ */ s(u, {})
267
+ element: /* @__PURE__ */ c(d, {})
259
268
  })
260
269
  ] })
261
270
  });
262
271
  }
263
272
  //#endregion
264
- export { te 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
  })