@burdenoff/microfe-movethewheels 2026.626.2 → 2026.703.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 (120) hide show
  1. package/dist/{AIAssistantPage-AvsMbunM.js → AIAssistantPage-C3ovZ0Fh.js} +100 -73
  2. package/dist/AnalyticsPage-O8SpY-V4.js +215 -0
  3. package/dist/{CreateOrderPage-CjlnEtk3.js → CreateOrderPage-CB1_-_mN.js} +33 -35
  4. package/dist/{CustomerDetailsPage-I6cdDHUi.js → CustomerDetailsPage-BaeKEI1D.js} +42 -44
  5. package/dist/{CustomersPage-CGGfD4ki.js → CustomersPage-DRaLuHMC.js} +26 -28
  6. package/dist/{DashboardPage-D2HRqwg9.js → DashboardPage-DPjhNfKB.js} +85 -83
  7. package/dist/{DataTable-CD9ZhpLB.js → DataTable-DmciIKKM.js} +3 -3
  8. package/dist/{DriverDetailsPage-rg_pGNuP.js → DriverDetailsPage-CSSQTOzn.js} +52 -54
  9. package/dist/{DriversPage-DKiynISH.js → DriversPage-C2Bk0w4Q.js} +24 -26
  10. package/dist/{FinancePage-Vg8WPs38.js → FinancePage-lmp0Sdsw.js} +9 -9
  11. package/dist/FleetPage-DZn5pIqd.js +365 -0
  12. package/dist/ImportExportPage-BIUJZc7O.js +290 -0
  13. package/dist/InventoryPage-Cxh1zYJd.js +253 -0
  14. package/dist/{LiveTrackingPage-DQ1q4Id3.js → LiveTrackingPage-BY1yAkIt.js} +60 -56
  15. package/dist/MarketplacePage-RMuL17EA.js +247 -0
  16. package/dist/{MetricCard-B7yMyvMX.js → MetricCard-7aYgzZHK.js} +1 -1
  17. package/dist/{OrderDetailsPage-CFASgsYX.js → OrderDetailsPage-C2Mf4KSy.js} +83 -85
  18. package/dist/{OrdersListPage-BHeT8S5o.js → OrdersListPage-BrPBtnhp.js} +31 -33
  19. package/dist/{PageLayout-D3N8MCTm.js → PageLayout-D4LDHJJq.js} +483 -422
  20. package/dist/{ProductDetailsPage-CFGcbaHo.js → ProductDetailsPage-CezzzZcj.js} +27 -29
  21. package/dist/{ProductsPage--xEpbQ8A.js → ProductsPage-I5DilIoY.js} +21 -23
  22. package/dist/ReportsPage-BDXNmUng.js +284 -0
  23. package/dist/RouteDetailsPage-BcomL20M.js +263 -0
  24. package/dist/RoutesPage-lqX9ylHP.js +144 -0
  25. package/dist/SettingsPage-CQVIOaNs.js +421 -0
  26. package/dist/StatusBadge-NpTeHVlw.js +152 -0
  27. package/dist/{TrackingPage-CcRc_dva.js → TrackingPage-BXrjz7V8.js} +59 -61
  28. package/dist/{VehicleDetailsPage-3YDMPsPs.js → VehicleDetailsPage-DZjLcJgr.js} +40 -42
  29. package/dist/{VehiclesPage-UlxPWP9K.js → VehiclesPage-6W39XT5W.js} +19 -21
  30. package/dist/{WarehouseDetailsPage-Db7KeN-d.js → WarehouseDetailsPage-C10pgRGW.js} +38 -40
  31. package/dist/{WarehousesPage-CuTO-OPp.js → WarehousesPage-CHvBqNaQ.js} +15 -17
  32. package/dist/{arrow-left-CBpZKkpq.js → arrow-left-n48Y-Wis.js} +1 -1
  33. package/dist/{box-CAaiElsb.js → box-D9Pal4HM.js} +1 -1
  34. package/dist/{chart-column-D1Ym15-S.js → chart-column-BFIJysDR.js} +1 -1
  35. package/dist/{chevron-right-BIFGi0UA.js → chevron-right-EMIIyyJ1.js} +1 -1
  36. package/dist/{circle-alert-DjmNo5_L.js → circle-alert-iY24lSlp.js} +1 -1
  37. package/dist/{circle-check-big-CjuPVo3_.js → circle-check-big-w0TrLKMF.js} +1 -1
  38. package/dist/{clock-BjkdnddD.js → clock-DJZtdl8u.js} +1 -1
  39. package/dist/{dollar-sign-IB4O0wuQ.js → dollar-sign-CgKQRz_e.js} +1 -1
  40. package/dist/{download-Dpa9vqoG.js → download-DRXxoiQR.js} +1 -1
  41. package/dist/{file-text-C8Uioy11.js → file-text-DWWY6_f5.js} +1 -1
  42. package/dist/{filter-Da5OZaHI.js → filter-DloLC2eE.js} +1 -1
  43. package/dist/index.js +119 -111
  44. package/dist/{map-_Per4sT9.js → map-CkJaULb2.js} +1 -1
  45. package/dist/{map-pin-BSaf5IDL.js → map-pin-BGiCvyCs.js} +1 -1
  46. package/dist/{navigation-DaTbrhw2.js → navigation-D36prnAn.js} +1 -1
  47. package/dist/{package-BE7U0wQE.js → package-BChUzpJS.js} +1 -1
  48. package/dist/{phone-DV4StZiA.js → phone-Ac9s3mo_.js} +1 -1
  49. package/dist/{plus-Dl1rLeJR.js → plus-Z76q-FZm.js} +1 -1
  50. package/dist/{refresh-cw-CWfERAit.js → refresh-cw-DKt6f5T6.js} +1 -1
  51. package/dist/{save-XH8vydOn.js → save-CojywNhG.js} +1 -1
  52. package/dist/{search-OxoIiL_C.js → search-CDGefqb3.js} +1 -1
  53. package/dist/{square-pen-hLIbFQFV.js → square-pen-CopE9GmB.js} +1 -1
  54. package/dist/{star-YsVV3MNQ.js → star-nHlLjDKR.js} +1 -1
  55. package/dist/{store-RCBl7HB-.js → store-BR9Voi5E.js} +1 -1
  56. package/dist/{trending-up-C-85AwGT.js → trending-up-B7W-GL6P.js} +1 -1
  57. package/dist/{triangle-alert-BOhfGgmh.js → triangle-alert-BonHFFNz.js} +1 -1
  58. package/dist/{truck-CtDjNFbi.js → truck-DrlfSpRC.js} +1 -1
  59. package/dist/{useAnalytics-ph7eTIK6.js → useAnalytics-CgdzUfY_.js} +40 -40
  60. package/dist/useAssistant-D4v3oxD3.js +84 -0
  61. package/dist/{useCustomers-bS3a4ytk.js → useCustomers-QrlozybF.js} +24 -24
  62. package/dist/{useFleet-BdETplNE.js → useFleet-DiAC-IiH.js} +70 -67
  63. package/dist/useImportExport-BLMnAKCC.js +55 -0
  64. package/dist/{useInventory-Dwn18FPz.js → useInventory-DKoks37x.js} +33 -33
  65. package/dist/{useOrders-D_3_hGMp.js → useOrders-D3UZVy8Y.js} +42 -42
  66. package/dist/useReports-Puq4DCH9.js +78 -0
  67. package/dist/{useRoutes-v4aBaS-E.js → useRoutes-Do57LvRb.js} +31 -31
  68. package/dist/useSettings-CkDH_-gM.js +81 -0
  69. package/dist/{useTracking-De2KIUNu.js → useTracking-GJify4HN.js} +22 -22
  70. package/dist/{user-Dz5TJZFs.js → user-CjSoudeu.js} +1 -1
  71. package/dist/{users-g2N0eL-Z.js → users-BAM4gHTn.js} +1 -1
  72. package/dist/{warehouse-D3WWDeTX.js → warehouse-C7MSr47B.js} +1 -1
  73. package/dist/{wrench-CmxY1n4I.js → wrench-CANXWxF-.js} +1 -1
  74. package/package.json +1 -1
  75. package/src/movethewheels/MoveTheWheelsRoutes.tsx +27 -3
  76. package/src/movethewheels/components/StatusBadge.tsx +18 -37
  77. package/src/movethewheels/constants/index.ts +67 -26
  78. package/src/movethewheels/hooks/index.ts +12 -0
  79. package/src/movethewheels/hooks/useAnalytics.ts +20 -6
  80. package/src/movethewheels/hooks/useAssistant.ts +74 -0
  81. package/src/movethewheels/hooks/useFleet.ts +63 -59
  82. package/src/movethewheels/hooks/useImportExport.ts +101 -0
  83. package/src/movethewheels/hooks/useReports.ts +158 -0
  84. package/src/movethewheels/hooks/useSettings.ts +120 -0
  85. package/src/movethewheels/pages/AIAssistantPage.tsx +53 -15
  86. package/src/movethewheels/pages/AnalyticsPage.tsx +67 -64
  87. package/src/movethewheels/pages/CustomerDetailsPage.tsx +1 -1
  88. package/src/movethewheels/pages/CustomersPage.tsx +1 -1
  89. package/src/movethewheels/pages/DashboardPage.tsx +42 -22
  90. package/src/movethewheels/pages/DriverDetailsPage.tsx +1 -1
  91. package/src/movethewheels/pages/DriversPage.tsx +1 -1
  92. package/src/movethewheels/pages/FleetPage.tsx +96 -38
  93. package/src/movethewheels/pages/ImportExportPage.tsx +174 -68
  94. package/src/movethewheels/pages/InventoryPage.tsx +66 -28
  95. package/src/movethewheels/pages/LiveTrackingPage.tsx +12 -3
  96. package/src/movethewheels/pages/MarketplacePage.tsx +87 -45
  97. package/src/movethewheels/pages/OrderDetailsPage.tsx +2 -2
  98. package/src/movethewheels/pages/ReportsPage.tsx +194 -90
  99. package/src/movethewheels/pages/RouteDetailsPage.tsx +5 -11
  100. package/src/movethewheels/pages/RoutesPage.tsx +4 -9
  101. package/src/movethewheels/pages/SettingsPage.tsx +234 -56
  102. package/src/movethewheels/pages/TrackingPage.tsx +6 -6
  103. package/src/movethewheels/providers/MoveTheWheelsProvider.tsx +7 -6
  104. package/src/movethewheels/store/movethewheelsStore.ts +1 -1
  105. package/dist/AnalyticsPage-CCLfHgQZ.js +0 -212
  106. package/dist/FleetPage-DddXt8r8.js +0 -332
  107. package/dist/ImportExportPage-BW6qO3kc.js +0 -248
  108. package/dist/InventoryPage-rMGuaJN-.js +0 -222
  109. package/dist/MarketplacePage-DKrXAv62.js +0 -219
  110. package/dist/ReportsPage-Bb7_90rK.js +0 -235
  111. package/dist/RouteDetailsPage-CVtDVb1N.js +0 -282
  112. package/dist/RoutesPage-s57PtgcQ.js +0 -163
  113. package/dist/SettingsPage-BYNCBOpN.js +0 -298
  114. package/dist/StatusBadge-CijYQXtb.js +0 -209
  115. package/dist/graphqlClient-CdJyR_ed.js +0 -55
  116. package/dist/navigation-BgnOfsVd.js +0 -6
  117. package/dist/route-Dp9JiN_E.js +0 -51
  118. package/dist/settings-3Rw5NwFF.js +0 -28
  119. package/src/movethewheels/constants/mockData.ts +0 -1342
  120. /package/dist/{formatters-_vJlC-47.js → formatters-DhKZ-eA1.js} +0 -0
@@ -1,45 +1,43 @@
1
- import { M as e, d as t, f as n, g as r, h as i, i as a, l as o, n as s, r as c, u as l } from "./PageLayout-D3N8MCTm.js";
2
- import { t as u } from "./arrow-left-CBpZKkpq.js";
3
- import { t as d } from "./box-CAaiElsb.js";
4
- import { t as f } from "./clock-BjkdnddD.js";
5
- import { t as p } from "./map-pin-BSaf5IDL.js";
6
- import { t as m } from "./square-pen-hLIbFQFV.js";
7
- import { t as h } from "./users-g2N0eL-Z.js";
8
- import { t as g } from "./warehouse-D3WWDeTX.js";
9
- import { r as _ } from "./graphqlClient-CdJyR_ed.js";
10
- import { a as v } from "./useInventory-Dwn18FPz.js";
11
- import { t as y } from "./formatters-_vJlC-47.js";
12
- import { t as b } from "./navigation-BgnOfsVd.js";
1
+ import { M as e, ct as t, d as n, f as r, g as i, h as a, i as o, l as s, n as c, ot as l, r as u, u as d } from "./PageLayout-D4LDHJJq.js";
2
+ import { t as f } from "./arrow-left-n48Y-Wis.js";
3
+ import { t as p } from "./box-D9Pal4HM.js";
4
+ import { t as m } from "./clock-DJZtdl8u.js";
5
+ import { t as h } from "./map-pin-BGiCvyCs.js";
6
+ import { t as g } from "./square-pen-CopE9GmB.js";
7
+ import { t as _ } from "./users-BAM4gHTn.js";
8
+ import { t as v } from "./warehouse-C7MSr47B.js";
9
+ import { a as y } from "./useInventory-DKoks37x.js";
10
+ import { t as b } from "./formatters-DhKZ-eA1.js";
13
11
  import { useParams as x } from "react-router-dom";
14
12
  import { jsx as S, jsxs as C } from "react/jsx-runtime";
15
13
  import { EmphasisPanel as w, NextSteps as T, PagePurpose as E } from "@burdenoff/fe-libs/ui";
16
14
  //#region src/movethewheels/pages/WarehouseDetailsPage.tsx
17
15
  function D() {
18
- let { warehouseId: D } = x(), { basePath: O, navigate: k } = _(), { warehouse: A, isLoading: j, error: M, refetch: N } = v(D), P = () => k?.(b(O, "inventory/warehouses")), F = (e) => k?.(b(O, e));
19
- if (j) return /* @__PURE__ */ S(c, { message: "Loading warehouse details..." });
20
- if (M || !A) return /* @__PURE__ */ S(s, {
16
+ let { warehouseId: D } = x(), { basePath: O, navigate: k } = l(), { warehouse: A, isLoading: j, error: M, refetch: N } = y(D), P = () => k?.(t(O, "inventory/warehouses")), F = (e) => k?.(t(O, e));
17
+ if (j) return /* @__PURE__ */ S(u, { message: "Loading warehouse details..." });
18
+ if (M || !A) return /* @__PURE__ */ S(c, {
21
19
  title: "Warehouse not found",
22
20
  onRetry: N
23
21
  });
24
22
  let I = A.capacity.usedSpace / A.capacity.totalSpace * 100;
25
- return /* @__PURE__ */ C(a, {
23
+ return /* @__PURE__ */ C(o, {
26
24
  title: A.name,
27
25
  subtitle: `Code: ${A.code}`,
28
- icon: /* @__PURE__ */ S(g, { size: 24 }),
26
+ icon: /* @__PURE__ */ S(v, { size: 24 }),
29
27
  headerActions: /* @__PURE__ */ C("div", {
30
28
  className: "flex gap-2",
31
- children: [/* @__PURE__ */ C(l, {
29
+ children: [/* @__PURE__ */ C(d, {
32
30
  variant: "outline",
33
31
  onClick: P,
34
- children: [/* @__PURE__ */ S(u, { size: 16 }), " Back"]
35
- }), /* @__PURE__ */ C(l, { children: [/* @__PURE__ */ S(m, { size: 16 }), " Edit"] })]
32
+ children: [/* @__PURE__ */ S(f, { size: 16 }), " Back"]
33
+ }), /* @__PURE__ */ C(d, { children: [/* @__PURE__ */ S(g, { size: 16 }), " Edit"] })]
36
34
  }),
37
35
  headerContent: /* @__PURE__ */ C("div", {
38
36
  className: "flex gap-2",
39
- children: [/* @__PURE__ */ S(o, {
37
+ children: [/* @__PURE__ */ S(s, {
40
38
  variant: A.isActive ? "default" : "secondary",
41
39
  children: A.isActive ? "Active" : "Inactive"
42
- }), /* @__PURE__ */ S(o, {
40
+ }), /* @__PURE__ */ S(s, {
43
41
  variant: "outline",
44
42
  className: "capitalize",
45
43
  children: A.type.replace("_", " ")
@@ -47,7 +45,7 @@ function D() {
47
45
  }),
48
46
  children: [
49
47
  /* @__PURE__ */ S(E, {
50
- icon: /* @__PURE__ */ S(g, { size: 18 }),
48
+ icon: /* @__PURE__ */ S(v, { size: 18 }),
51
49
  children: "A storage and fulfilment site at a glance — how full it is, its zones, operating hours, throughput and staff. Use it to decide whether this warehouse has the space and hours to fulfil an order, and where stock is running tight."
52
50
  }),
53
51
  /* @__PURE__ */ S(T, {
@@ -56,13 +54,13 @@ function D() {
56
54
  id: "inventory",
57
55
  label: "Review stock here",
58
56
  description: "See which products are stored at this site.",
59
- icon: /* @__PURE__ */ S(d, { size: 16 }),
57
+ icon: /* @__PURE__ */ S(p, { size: 16 }),
60
58
  onClick: () => F("inventory/products")
61
59
  }, {
62
60
  id: "fulfil",
63
61
  label: "Fulfil an order from this site",
64
62
  description: "Pick a pending order to ship out of this warehouse.",
65
- icon: /* @__PURE__ */ S(p, { size: 16 }),
63
+ icon: /* @__PURE__ */ S(h, { size: 16 }),
66
64
  onClick: () => F("orders")
67
65
  }]
68
66
  }),
@@ -73,7 +71,7 @@ function D() {
73
71
  children: [
74
72
  /* @__PURE__ */ C(w, { children: [/* @__PURE__ */ C("h2", {
75
73
  className: "flex items-center gap-2 text-base font-semibold text-text-primary mb-4",
76
- children: [/* @__PURE__ */ S(d, { size: 18 }), " Capacity"]
74
+ children: [/* @__PURE__ */ S(p, { size: 18 }), " Capacity"]
77
75
  }), /* @__PURE__ */ C("div", {
78
76
  className: "space-y-4",
79
77
  children: [/* @__PURE__ */ C("div", { children: [
@@ -110,11 +108,11 @@ function D() {
110
108
  })] })
111
109
  })]
112
110
  })] }),
113
- /* @__PURE__ */ C(t, { children: [/* @__PURE__ */ S(i, { children: /* @__PURE__ */ C(r, { children: [
111
+ /* @__PURE__ */ C(n, { children: [/* @__PURE__ */ S(a, { children: /* @__PURE__ */ C(i, { children: [
114
112
  "Zones (",
115
113
  A.zones.length,
116
114
  ")"
117
- ] }) }), /* @__PURE__ */ S(n, { children: /* @__PURE__ */ S("div", {
115
+ ] }) }), /* @__PURE__ */ S(r, { children: /* @__PURE__ */ S("div", {
118
116
  className: "space-y-3",
119
117
  children: A.zones.map((t) => /* @__PURE__ */ C("div", {
120
118
  className: "flex items-center justify-between p-3 border rounded-lg",
@@ -144,10 +142,10 @@ function D() {
144
142
  })]
145
143
  }, t.id))
146
144
  }) })] }),
147
- /* @__PURE__ */ C(t, { children: [/* @__PURE__ */ S(i, { children: /* @__PURE__ */ C(r, {
145
+ /* @__PURE__ */ C(n, { children: [/* @__PURE__ */ S(a, { children: /* @__PURE__ */ C(i, {
148
146
  className: "flex items-center gap-2",
149
- children: [/* @__PURE__ */ S(f, { size: 18 }), " Operating Hours"]
150
- }) }), /* @__PURE__ */ S(n, { children: /* @__PURE__ */ S("div", {
147
+ children: [/* @__PURE__ */ S(m, { size: 18 }), " Operating Hours"]
148
+ }) }), /* @__PURE__ */ S(r, { children: /* @__PURE__ */ S("div", {
151
149
  className: "grid grid-cols-2 md:grid-cols-4 gap-4",
152
150
  children: Object.entries(A.operatingHours).map(([e, t]) => /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
153
151
  className: "text-sm font-medium",
@@ -161,14 +159,14 @@ function D() {
161
159
  }), /* @__PURE__ */ C("div", {
162
160
  className: "space-y-6",
163
161
  children: [
164
- /* @__PURE__ */ C(t, { children: [/* @__PURE__ */ S(i, { children: /* @__PURE__ */ C(r, {
162
+ /* @__PURE__ */ C(n, { children: [/* @__PURE__ */ S(a, { children: /* @__PURE__ */ C(i, {
165
163
  className: "flex items-center gap-2",
166
- children: [/* @__PURE__ */ S(p, { size: 18 }), " Location"]
167
- }) }), /* @__PURE__ */ S(n, { children: /* @__PURE__ */ S("p", {
164
+ children: [/* @__PURE__ */ S(h, { size: 18 }), " Location"]
165
+ }) }), /* @__PURE__ */ S(r, { children: /* @__PURE__ */ S("p", {
168
166
  className: "text-sm",
169
- children: y(A.address)
167
+ children: b(A.address)
170
168
  }) })] }),
171
- /* @__PURE__ */ C(t, { children: [/* @__PURE__ */ S(i, { children: /* @__PURE__ */ S(r, { children: "Metrics" }) }), /* @__PURE__ */ C(n, {
169
+ /* @__PURE__ */ C(n, { children: [/* @__PURE__ */ S(a, { children: /* @__PURE__ */ S(i, { children: "Metrics" }) }), /* @__PURE__ */ C(r, {
172
170
  className: "space-y-3",
173
171
  children: [
174
172
  /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
@@ -204,22 +202,22 @@ function D() {
204
202
  })] })
205
203
  ]
206
204
  })] }),
207
- /* @__PURE__ */ C(t, { children: [/* @__PURE__ */ S(i, { children: /* @__PURE__ */ C(r, {
205
+ /* @__PURE__ */ C(n, { children: [/* @__PURE__ */ S(a, { children: /* @__PURE__ */ C(i, {
208
206
  className: "flex items-center gap-2",
209
207
  children: [
210
- /* @__PURE__ */ S(h, { size: 18 }),
208
+ /* @__PURE__ */ S(_, { size: 18 }),
211
209
  " Staff (",
212
210
  A.staff.length,
213
211
  ")"
214
212
  ]
215
- }) }), /* @__PURE__ */ S(n, { children: A.staff.length > 0 ? /* @__PURE__ */ S("div", {
213
+ }) }), /* @__PURE__ */ S(r, { children: A.staff.length > 0 ? /* @__PURE__ */ S("div", {
216
214
  className: "space-y-2",
217
215
  children: A.staff.map((e, t) => /* @__PURE__ */ C("div", {
218
216
  className: "flex items-center justify-between p-2 border rounded",
219
217
  children: [/* @__PURE__ */ S("span", {
220
218
  className: "text-sm capitalize",
221
219
  children: e.role
222
- }), /* @__PURE__ */ S(o, {
220
+ }), /* @__PURE__ */ S(s, {
223
221
  variant: "outline",
224
222
  children: e.shift
225
223
  })]
@@ -1,35 +1,33 @@
1
- import { M as e, i as t, l as n } from "./PageLayout-D3N8MCTm.js";
2
- import { t as r } from "./DataTable-CD9ZhpLB.js";
3
- import { t as i } from "./plus-Dl1rLeJR.js";
4
- import { t as a } from "./refresh-cw-CWfERAit.js";
5
- import { t as o } from "./warehouse-D3WWDeTX.js";
6
- import { r as s } from "./graphqlClient-CdJyR_ed.js";
7
- import { o as c } from "./useInventory-Dwn18FPz.js";
8
- import { t as l } from "./navigation-BgnOfsVd.js";
1
+ import { M as e, ct as t, i as n, l as r, ot as i } from "./PageLayout-D4LDHJJq.js";
2
+ import { t as a } from "./DataTable-DmciIKKM.js";
3
+ import { t as o } from "./plus-Z76q-FZm.js";
4
+ import { t as s } from "./refresh-cw-DKt6f5T6.js";
5
+ import { t as c } from "./warehouse-C7MSr47B.js";
6
+ import { o as l } from "./useInventory-DKoks37x.js";
9
7
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
10
8
  import { CTAOverflowMenu as f, EmphasisPanel as p, PagePurpose as m } from "@burdenoff/fe-libs/ui";
11
9
  //#region src/movethewheels/pages/WarehousesPage.tsx
12
10
  function h() {
13
- let { basePath: h, navigate: g } = s(), { warehouses: _, totalWarehouses: v, isLoading: y, refetch: b } = c(), x = (e) => g?.(l(h, e));
14
- return /* @__PURE__ */ d(t, {
11
+ let { basePath: h, navigate: g } = i(), { warehouses: _, totalWarehouses: v, isLoading: y, refetch: b } = l(), x = (e) => g?.(t(h, e));
12
+ return /* @__PURE__ */ d(n, {
15
13
  title: "Warehouses",
16
14
  subtitle: `${v} warehouses`,
17
- icon: /* @__PURE__ */ u(o, { size: 24 }),
15
+ icon: /* @__PURE__ */ u(c, { size: 24 }),
18
16
  headerActions: /* @__PURE__ */ u(f, {
19
17
  primary: {
20
18
  label: "Add Warehouse",
21
- icon: /* @__PURE__ */ u(i, { size: 16 }),
19
+ icon: /* @__PURE__ */ u(o, { size: 16 }),
22
20
  onSelect: () => {}
23
21
  },
24
22
  actions: [{
25
23
  label: "Refresh",
26
- icon: /* @__PURE__ */ u(a, { size: 16 }),
24
+ icon: /* @__PURE__ */ u(s, { size: 16 }),
27
25
  onSelect: () => b()
28
26
  }]
29
27
  }),
30
28
  children: [
31
29
  /* @__PURE__ */ u(m, {
32
- icon: /* @__PURE__ */ u(o, { size: 18 }),
30
+ icon: /* @__PURE__ */ u(c, { size: 18 }),
33
31
  children: "Your storage and fulfilment sites. Watch space and pallet utilization across each warehouse to balance stock, spot capacity crunches, and decide where to fulfil an order from."
34
32
  }),
35
33
  /* @__PURE__ */ d(p, { children: [/* @__PURE__ */ u("p", {
@@ -61,7 +59,7 @@ function h() {
61
59
  })] })
62
60
  ]
63
61
  })] }),
64
- /* @__PURE__ */ u(r, {
62
+ /* @__PURE__ */ u(a, {
65
63
  columns: [
66
64
  {
67
65
  id: "name",
@@ -92,7 +90,7 @@ function h() {
92
90
  id: "type",
93
91
  header: "Type",
94
92
  accessorKey: "type",
95
- cell: (e) => /* @__PURE__ */ u(n, {
93
+ cell: (e) => /* @__PURE__ */ u(r, {
96
94
  variant: "outline",
97
95
  className: "capitalize",
98
96
  children: e.type.replace("_", " ")
@@ -140,7 +138,7 @@ function h() {
140
138
  {
141
139
  id: "status",
142
140
  header: "Status",
143
- cell: (e) => /* @__PURE__ */ u(n, {
141
+ cell: (e) => /* @__PURE__ */ u(r, {
144
142
  variant: e.isActive ? "default" : "secondary",
145
143
  children: e.isActive ? "Active" : "Inactive"
146
144
  })
@@ -1,4 +1,4 @@
1
- import { it as e } from "./PageLayout-D3N8MCTm.js";
1
+ import { lt as e } from "./PageLayout-D4LDHJJq.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/arrow-left.js
3
3
  var t = e("ArrowLeft", [["path", {
4
4
  d: "m12 19-7-7 7-7",
@@ -1,4 +1,4 @@
1
- import { it as e } from "./PageLayout-D3N8MCTm.js";
1
+ import { lt as e } from "./PageLayout-D4LDHJJq.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/box.js
3
3
  var t = e("Box", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { it as e } from "./PageLayout-D3N8MCTm.js";
1
+ import { lt as e } from "./PageLayout-D4LDHJJq.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/chart-column.js
3
3
  var t = e("ChartColumn", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { it as e } from "./PageLayout-D3N8MCTm.js";
1
+ import { lt as e } from "./PageLayout-D4LDHJJq.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/chevron-right.js
3
3
  var t = e("ChevronRight", [["path", {
4
4
  d: "m9 18 6-6-6-6",
@@ -1,4 +1,4 @@
1
- import { it as e } from "./PageLayout-D3N8MCTm.js";
1
+ import { lt as e } from "./PageLayout-D4LDHJJq.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/circle-alert.js
3
3
  var t = e("CircleAlert", [
4
4
  ["circle", {
@@ -1,4 +1,4 @@
1
- import { it as e } from "./PageLayout-D3N8MCTm.js";
1
+ import { lt as e } from "./PageLayout-D4LDHJJq.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/circle-check-big.js
3
3
  var t = e("CircleCheckBig", [["path", {
4
4
  d: "M21.801 10A10 10 0 1 1 17 3.335",
@@ -1,4 +1,4 @@
1
- import { it as e } from "./PageLayout-D3N8MCTm.js";
1
+ import { lt as e } from "./PageLayout-D4LDHJJq.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/clock.js
3
3
  var t = e("Clock", [["circle", {
4
4
  cx: "12",
@@ -1,4 +1,4 @@
1
- import { it as e } from "./PageLayout-D3N8MCTm.js";
1
+ import { lt as e } from "./PageLayout-D4LDHJJq.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/dollar-sign.js
3
3
  var t = e("DollarSign", [["line", {
4
4
  x1: "12",
@@ -1,4 +1,4 @@
1
- import { it as e } from "./PageLayout-D3N8MCTm.js";
1
+ import { lt as e } from "./PageLayout-D4LDHJJq.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/download.js
3
3
  var t = e("Download", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { it as e } from "./PageLayout-D3N8MCTm.js";
1
+ import { lt as e } from "./PageLayout-D4LDHJJq.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/file-text.js
3
3
  var t = e("FileText", [
4
4
  ["path", {
@@ -1,4 +1,4 @@
1
- import { it as e } from "./PageLayout-D3N8MCTm.js";
1
+ import { lt as e } from "./PageLayout-D4LDHJJq.js";
2
2
  //#region node_modules/lucide-react/dist/esm/icons/filter.js
3
3
  var t = e("Filter", [["polygon", {
4
4
  points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",