@burdenoff/microfe-movethewheels 2026.624.1 → 2026.625.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 (83) hide show
  1. package/dist/{AIAssistantPage-BrHX2lQn.js → AIAssistantPage-CNyoKtID.js} +4 -4
  2. package/dist/{AnalyticsPage-DI6Wcaw5.js → AnalyticsPage-Ck615ox7.js} +8 -8
  3. package/dist/{CreateOrderPage-DfkSi6JF.js → CreateOrderPage-C9Vb57Yn.js} +5 -5
  4. package/dist/{CustomerDetailsPage-DzAIu_tH.js → CustomerDetailsPage-BVkHRZvi.js} +9 -9
  5. package/dist/CustomersPage-DhQg-6h_.js +118 -0
  6. package/dist/{DashboardPage-3ZOnwg1a.js → DashboardPage-DTmyuC11.js} +118 -111
  7. package/dist/{DataTable-CZGz3SJu.js → DataTable-CfWvFw5B.js} +6 -6
  8. package/dist/{DriverDetailsPage-YuZSlPSV.js → DriverDetailsPage-DaaCQ-2O.js} +10 -10
  9. package/dist/DriversPage-D0RMBB_t.js +129 -0
  10. package/dist/{FinancePage-CnjUNXOb.js → FinancePage-BUXqW1IM.js} +6 -6
  11. package/dist/{FleetPage-CPS7r4J3.js → FleetPage-DCfOmBa2.js} +66 -65
  12. package/dist/{ImportExportPage-zNjs7xsV.js → ImportExportPage-BM1BoRcE.js} +3 -3
  13. package/dist/{InventoryPage-C9g5d3SW.js → InventoryPage-BW0QXWuf.js} +61 -66
  14. package/dist/{LiveTrackingPage-DoBvtdBG.js → LiveTrackingPage-DqcGXdkw.js} +8 -8
  15. package/dist/{MarketplacePage-BEj5hcBF.js → MarketplacePage-DFqsxNYU.js} +7 -7
  16. package/dist/MetricCard-B7yMyvMX.js +146 -0
  17. package/dist/{OrderDetailsPage-D-9lDZYU.js → OrderDetailsPage-Dx1m3cVA.js} +13 -13
  18. package/dist/{OrdersListPage-CJzHbgY3.js → OrdersListPage-DHYBGrWf.js} +76 -77
  19. package/dist/{PageLayout-xDTiBTDS.js → PageLayout-D3N8MCTm.js} +213 -195
  20. package/dist/{ProductDetailsPage-3rKtzXpy.js → ProductDetailsPage-DOXO90kb.js} +6 -6
  21. package/dist/{ProductsPage-B0P_wjBJ.js → ProductsPage-RLMTwWN0.js} +41 -39
  22. package/dist/{ReportsPage-B8OyWGzl.js → ReportsPage-Df3hciPy.js} +4 -4
  23. package/dist/{RouteDetailsPage-DGjKTUMj.js → RouteDetailsPage-xzFDeR-X.js} +8 -8
  24. package/dist/{RoutesPage-CpopY8xN.js → RoutesPage-DDFy1QVi.js} +32 -30
  25. package/dist/{SettingsPage-BvXSa3gi.js → SettingsPage-JH_-UPbf.js} +4 -4
  26. package/dist/{StatusBadge-C--7NhoW.js → StatusBadge-CijYQXtb.js} +5 -2
  27. package/dist/{TrackingPage-BldUm_g7.js → TrackingPage-CU0Vk4mx.js} +11 -11
  28. package/dist/{VehicleDetailsPage-Dqv--MVW.js → VehicleDetailsPage-P4xDttKw.js} +8 -8
  29. package/dist/{VehiclesPage-CCBHRDHu.js → VehiclesPage-tJZ64QKV.js} +42 -40
  30. package/dist/{WarehouseDetailsPage-ZObC_c7W.js → WarehouseDetailsPage-Bt_w2Yf7.js} +8 -8
  31. package/dist/{WarehousesPage-CpgZEVW9.js → WarehousesPage-HsPpEFeG.js} +37 -32
  32. package/dist/{arrow-left-Bk5GsGNk.js → arrow-left-CBpZKkpq.js} +1 -1
  33. package/dist/{box-BAMv2-7M.js → box-CAaiElsb.js} +1 -1
  34. package/dist/{chart-column-CAfkf4o6.js → chart-column-D1Ym15-S.js} +1 -1
  35. package/dist/{chevron-right-Czrt_Qew.js → chevron-right-BIFGi0UA.js} +1 -1
  36. package/dist/{circle-alert-CEuV9Pij.js → circle-alert-DjmNo5_L.js} +1 -1
  37. package/dist/{circle-check-big-Cx8aO6B-.js → circle-check-big-CjuPVo3_.js} +1 -1
  38. package/dist/{clock-Be95bq7_.js → clock-BjkdnddD.js} +1 -1
  39. package/dist/{dollar-sign-kJqItPli.js → dollar-sign-IB4O0wuQ.js} +1 -1
  40. package/dist/{download-caab0D3V.js → download-Dpa9vqoG.js} +1 -1
  41. package/dist/{file-text-b1qhrJn1.js → file-text-C8Uioy11.js} +1 -1
  42. package/dist/{filter-BWmLTZB-.js → filter-Da5OZaHI.js} +1 -1
  43. package/dist/index.js +16 -16
  44. package/dist/{map-CS2aFgyO.js → map-_Per4sT9.js} +1 -1
  45. package/dist/{map-pin-96FeqL7H.js → map-pin-BSaf5IDL.js} +1 -1
  46. package/dist/{navigation-i6UXEjTC.js → navigation-DaTbrhw2.js} +1 -1
  47. package/dist/{package-KhSi3xaT.js → package-BE7U0wQE.js} +1 -1
  48. package/dist/{phone-B-h3tbsr.js → phone-DV4StZiA.js} +1 -1
  49. package/dist/{plus-D2BYAzMn.js → plus-Dl1rLeJR.js} +1 -1
  50. package/dist/{refresh-cw-D5Sy01s-.js → refresh-cw-CWfERAit.js} +1 -1
  51. package/dist/{route-CBDXuwH9.js → route-Dp9JiN_E.js} +1 -1
  52. package/dist/{save-CMc7h-Vi.js → save-XH8vydOn.js} +1 -1
  53. package/dist/{search-DVrUQbOg.js → search-OxoIiL_C.js} +1 -1
  54. package/dist/{settings-BwzIRYv3.js → settings-3Rw5NwFF.js} +1 -1
  55. package/dist/{square-pen-DmW36Bau.js → square-pen-hLIbFQFV.js} +1 -1
  56. package/dist/{star-Cv2MzxZL.js → star-YsVV3MNQ.js} +1 -1
  57. package/dist/{store-CLH957vl.js → store-RCBl7HB-.js} +1 -1
  58. package/dist/{trending-up-l8M0BO_w.js → trending-up-C-85AwGT.js} +1 -1
  59. package/dist/{triangle-alert-BI45s6bH.js → triangle-alert-BOhfGgmh.js} +1 -1
  60. package/dist/{truck-DX3lNQkz.js → truck-CtDjNFbi.js} +1 -1
  61. package/dist/{user-D8EY1uvt.js → user-Dz5TJZFs.js} +1 -1
  62. package/dist/{users-CfG0J8wP.js → users-g2N0eL-Z.js} +1 -1
  63. package/dist/{warehouse-Dt_bAr82.js → warehouse-D3WWDeTX.js} +1 -1
  64. package/dist/{wrench-C50eI_Iy.js → wrench-CmxY1n4I.js} +1 -1
  65. package/package.json +2 -2
  66. package/src/movethewheels/components/DataTable.tsx +4 -4
  67. package/src/movethewheels/components/MetricCard.tsx +49 -20
  68. package/src/movethewheels/components/PageLayout.tsx +60 -5
  69. package/src/movethewheels/components/StatusBadge.tsx +2 -1
  70. package/src/movethewheels/pages/CustomersPage.tsx +13 -12
  71. package/src/movethewheels/pages/DashboardPage.tsx +55 -48
  72. package/src/movethewheels/pages/DriversPage.tsx +9 -12
  73. package/src/movethewheels/pages/FleetPage.tsx +15 -10
  74. package/src/movethewheels/pages/InventoryPage.tsx +18 -11
  75. package/src/movethewheels/pages/OrdersListPage.tsx +20 -14
  76. package/src/movethewheels/pages/ProductsPage.tsx +9 -12
  77. package/src/movethewheels/pages/RoutesPage.tsx +12 -9
  78. package/src/movethewheels/pages/TrackingPage.tsx +2 -2
  79. package/src/movethewheels/pages/VehiclesPage.tsx +9 -15
  80. package/src/movethewheels/pages/WarehousesPage.tsx +8 -9
  81. package/dist/CustomersPage-d21ixOYa.js +0 -119
  82. package/dist/DriversPage-BOhqEBTv.js +0 -127
  83. package/dist/MetricCard-DeHVeVwl.js +0 -135
@@ -1,9 +1,9 @@
1
- import { d as e, f as t, g as n, h as r, i, it as a, l as o, n as s, r as c, u as l } from "./PageLayout-xDTiBTDS.js";
2
- import { t as u } from "./arrow-left-Bk5GsGNk.js";
3
- import { t as d } from "./box-BAMv2-7M.js";
4
- import { t as f } from "./dollar-sign-kJqItPli.js";
5
- import { t as p } from "./package-KhSi3xaT.js";
6
- import { t as m } from "./square-pen-DmW36Bau.js";
1
+ import { d as e, f as t, g as n, h as r, i, it 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 "./dollar-sign-IB4O0wuQ.js";
5
+ import { t as p } from "./package-BE7U0wQE.js";
6
+ import { t as m } from "./square-pen-hLIbFQFV.js";
7
7
  import { r as h } from "./graphqlClient-CdJyR_ed.js";
8
8
  import { r as g } from "./useInventory-Dwn18FPz.js";
9
9
  import { n as _ } from "./formatters-_vJlC-47.js";
@@ -1,44 +1,46 @@
1
- import { i as e, l as t, u as n } from "./PageLayout-xDTiBTDS.js";
2
- import { t as r } from "./DataTable-CZGz3SJu.js";
3
- import { t as i } from "./download-caab0D3V.js";
4
- import { t as a } from "./package-KhSi3xaT.js";
5
- import { t as o } from "./plus-D2BYAzMn.js";
6
- import { t as s } from "./refresh-cw-D5Sy01s-.js";
7
- import { r as c } from "./graphqlClient-CdJyR_ed.js";
8
- import { i as l } from "./useInventory-Dwn18FPz.js";
9
- import { n as u } from "./formatters-_vJlC-47.js";
10
- import { t as d } from "./navigation-BgnOfsVd.js";
11
- import { jsx as f, jsxs as p } from "react/jsx-runtime";
1
+ import { i as e, l as t } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as n } from "./DataTable-CfWvFw5B.js";
3
+ import { t as r } from "./download-Dpa9vqoG.js";
4
+ import { t as i } from "./package-BE7U0wQE.js";
5
+ import { t as a } from "./plus-Dl1rLeJR.js";
6
+ import { t as o } from "./refresh-cw-CWfERAit.js";
7
+ import { r as s } from "./graphqlClient-CdJyR_ed.js";
8
+ import { i as c } from "./useInventory-Dwn18FPz.js";
9
+ import { n as l } from "./formatters-_vJlC-47.js";
10
+ import { t as u } from "./navigation-BgnOfsVd.js";
11
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
12
+ import { CTAOverflowMenu as p } from "@burdenoff/fe-libs/ui";
12
13
  //#region src/movethewheels/pages/ProductsPage.tsx
13
14
  function m() {
14
- let { basePath: m, navigate: h } = c(), { products: g, totalProducts: _, isLoading: v, refetch: y } = l(), b = (e) => h?.(d(m, e));
15
- return /* @__PURE__ */ f(e, {
15
+ let { basePath: m, navigate: h } = s(), { products: g, totalProducts: _, isLoading: v, refetch: y } = c(), b = (e) => h?.(u(m, e));
16
+ return /* @__PURE__ */ d(e, {
16
17
  title: "Products",
17
18
  subtitle: `${_} products`,
18
- icon: /* @__PURE__ */ f(a, { size: 24 }),
19
- headerActions: /* @__PURE__ */ p("div", {
20
- className: "flex gap-2",
21
- children: [
22
- /* @__PURE__ */ p(n, {
23
- variant: "outline",
24
- onClick: y,
25
- children: [/* @__PURE__ */ f(s, { size: 16 }), " Refresh"]
26
- }),
27
- /* @__PURE__ */ p(n, {
28
- variant: "outline",
29
- children: [/* @__PURE__ */ f(i, { size: 16 }), " Export"]
30
- }),
31
- /* @__PURE__ */ p(n, { children: [/* @__PURE__ */ f(o, { size: 16 }), " Add Product"] })
32
- ]
19
+ icon: /* @__PURE__ */ d(i, { size: 24 }),
20
+ headerActions: /* @__PURE__ */ d(p, {
21
+ primary: {
22
+ label: "Add Product",
23
+ icon: /* @__PURE__ */ d(a, { size: 16 }),
24
+ onSelect: () => {}
25
+ },
26
+ actions: [{
27
+ label: "Refresh",
28
+ icon: /* @__PURE__ */ d(o, { size: 16 }),
29
+ onSelect: () => y()
30
+ }, {
31
+ label: "Export",
32
+ icon: /* @__PURE__ */ d(r, { size: 16 }),
33
+ onSelect: () => {}
34
+ }]
33
35
  }),
34
- children: /* @__PURE__ */ f(r, {
36
+ children: /* @__PURE__ */ d(n, {
35
37
  columns: [
36
38
  {
37
39
  id: "sku",
38
40
  header: "SKU",
39
41
  accessorKey: "sku",
40
42
  sortable: !0,
41
- cell: (e) => /* @__PURE__ */ f("span", {
43
+ cell: (e) => /* @__PURE__ */ d("span", {
42
44
  className: "font-mono",
43
45
  children: e.sku
44
46
  })
@@ -48,10 +50,10 @@ function m() {
48
50
  header: "Product Name",
49
51
  accessorKey: "name",
50
52
  sortable: !0,
51
- cell: (e) => /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("p", {
53
+ cell: (e) => /* @__PURE__ */ f("div", { children: [/* @__PURE__ */ d("p", {
52
54
  className: "font-medium",
53
55
  children: e.name
54
- }), /* @__PURE__ */ f("p", {
56
+ }), /* @__PURE__ */ d("p", {
55
57
  className: "text-sm text-text-secondary line-clamp-1",
56
58
  children: e.description
57
59
  })] })
@@ -61,7 +63,7 @@ function m() {
61
63
  header: "Category",
62
64
  accessorKey: "category",
63
65
  sortable: !0,
64
- cell: (e) => /* @__PURE__ */ f(t, {
66
+ cell: (e) => /* @__PURE__ */ d(t, {
65
67
  variant: "outline",
66
68
  children: e.category
67
69
  })
@@ -83,28 +85,28 @@ function m() {
83
85
  header: "Value",
84
86
  accessorKey: "value",
85
87
  sortable: !0,
86
- cell: (e) => /* @__PURE__ */ f("span", {
88
+ cell: (e) => /* @__PURE__ */ d("span", {
87
89
  className: "font-medium",
88
- children: u(e.value)
90
+ children: l(e.value)
89
91
  })
90
92
  },
91
93
  {
92
94
  id: "flags",
93
95
  header: "Flags",
94
- cell: (e) => /* @__PURE__ */ p("div", {
96
+ cell: (e) => /* @__PURE__ */ f("div", {
95
97
  className: "flex gap-1",
96
98
  children: [
97
- e.fragile && /* @__PURE__ */ f(t, {
99
+ e.fragile && /* @__PURE__ */ d(t, {
98
100
  variant: "destructive",
99
101
  className: "text-xs",
100
102
  children: "Fragile"
101
103
  }),
102
- e.hazardous && /* @__PURE__ */ f(t, {
104
+ e.hazardous && /* @__PURE__ */ d(t, {
103
105
  variant: "destructive",
104
106
  className: "text-xs",
105
107
  children: "Hazardous"
106
108
  }),
107
- e.temperatureControlled && /* @__PURE__ */ f(t, {
109
+ e.temperatureControlled && /* @__PURE__ */ d(t, {
108
110
  variant: "secondary",
109
111
  className: "text-xs",
110
112
  children: "Temp Control"
@@ -1,7 +1,7 @@
1
- import { F as e, I as t, L as n, P as r, R as i, d as a, f as o, g as s, h as c, i as l, it as u, l as d, u as f } from "./PageLayout-xDTiBTDS.js";
2
- import { t as p } from "./clock-Be95bq7_.js";
3
- import { t as m } from "./download-caab0D3V.js";
4
- import { t as h } from "./filter-BWmLTZB-.js";
1
+ import { F as e, I as t, L as n, P as r, R as i, d as a, f as o, g as s, h as c, i as l, it as u, l as d, u as f } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as p } from "./clock-BjkdnddD.js";
3
+ import { t as m } from "./download-Dpa9vqoG.js";
4
+ import { t as h } from "./filter-Da5OZaHI.js";
5
5
  import { jsx as g, jsxs as _ } from "react/jsx-runtime";
6
6
  //#region node_modules/lucide-react/dist/esm/icons/calendar.js
7
7
  var v = u("Calendar", [
@@ -1,13 +1,13 @@
1
- import { d as e, f as t, g as n, h as r, i, it as a, l as o, n as s, r as c, u as l } from "./PageLayout-xDTiBTDS.js";
2
- import { t as u } from "./arrow-left-Bk5GsGNk.js";
3
- import { t as d } from "./circle-check-big-Cx8aO6B-.js";
4
- import { t as f } from "./clock-Be95bq7_.js";
5
- import { t as p } from "./map-pin-96FeqL7H.js";
6
- import { t as m } from "./navigation-i6UXEjTC.js";
7
- import { t as h } from "./square-pen-DmW36Bau.js";
1
+ import { d as e, f as t, g as n, h as r, i, it 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 "./circle-check-big-CjuPVo3_.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 "./navigation-DaTbrhw2.js";
7
+ import { t as h } from "./square-pen-hLIbFQFV.js";
8
8
  import { r as g } from "./graphqlClient-CdJyR_ed.js";
9
9
  import { r as _, t as v } from "./useRoutes-v4aBaS-E.js";
10
- import { r as y } from "./StatusBadge-C--7NhoW.js";
10
+ import { r as y } from "./StatusBadge-CijYQXtb.js";
11
11
  import { r as b, t as x } from "./formatters-_vJlC-47.js";
12
12
  import { t as S } from "./navigation-BgnOfsVd.js";
13
13
  import { useParams as C } from "react-router-dom";
@@ -1,40 +1,42 @@
1
- import { i as e, l as t, u as n } from "./PageLayout-xDTiBTDS.js";
2
- import { t as r } from "./DataTable-CZGz3SJu.js";
3
- import { t as i } from "./navigation-i6UXEjTC.js";
4
- import { t as a } from "./plus-D2BYAzMn.js";
5
- import { t as o } from "./refresh-cw-D5Sy01s-.js";
6
- import { r as s } from "./graphqlClient-CdJyR_ed.js";
7
- import { r as c } from "./useRoutes-v4aBaS-E.js";
8
- import { r as l } from "./StatusBadge-C--7NhoW.js";
9
- import { r as u } from "./formatters-_vJlC-47.js";
10
- import { t as d } from "./navigation-BgnOfsVd.js";
11
- import { jsx as f, jsxs as p } from "react/jsx-runtime";
1
+ import { i as e, l as t } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as n } from "./DataTable-CfWvFw5B.js";
3
+ import { t as r } from "./navigation-DaTbrhw2.js";
4
+ import { t as i } from "./plus-Dl1rLeJR.js";
5
+ import { t as a } from "./refresh-cw-CWfERAit.js";
6
+ import { r as o } from "./graphqlClient-CdJyR_ed.js";
7
+ import { r as s } from "./useRoutes-v4aBaS-E.js";
8
+ import { r as c } from "./StatusBadge-CijYQXtb.js";
9
+ import { r as l } from "./formatters-_vJlC-47.js";
10
+ import { t as u } from "./navigation-BgnOfsVd.js";
11
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
12
+ import { CTAOverflowMenu as p } from "@burdenoff/fe-libs/ui";
12
13
  //#region src/movethewheels/pages/RoutesPage.tsx
13
14
  function m() {
14
- let { basePath: m, navigate: h } = s(), { routes: g, totalRoutes: _, isLoading: v, refetch: y } = c(), b = (e) => h?.(d(m, e));
15
- return /* @__PURE__ */ f(e, {
15
+ let { basePath: m, navigate: h } = o(), { routes: g, totalRoutes: _, isLoading: v, refetch: y } = s(), b = (e) => h?.(u(m, e));
16
+ return /* @__PURE__ */ d(e, {
16
17
  title: "Routes",
17
18
  subtitle: `${_} routes`,
18
- icon: /* @__PURE__ */ f(i, { size: 24 }),
19
- headerActions: /* @__PURE__ */ p("div", {
20
- className: "flex gap-2",
21
- children: [/* @__PURE__ */ p(n, {
22
- variant: "outline",
23
- onClick: y,
24
- children: [/* @__PURE__ */ f(o, { size: 16 }), " Refresh"]
25
- }), /* @__PURE__ */ p(n, {
26
- onClick: () => b("routes/new"),
27
- children: [/* @__PURE__ */ f(a, { size: 16 }), " Create Route"]
28
- })]
19
+ icon: /* @__PURE__ */ d(r, { size: 24 }),
20
+ headerActions: /* @__PURE__ */ d(p, {
21
+ primary: {
22
+ label: "Create Route",
23
+ icon: /* @__PURE__ */ d(i, { size: 16 }),
24
+ onSelect: () => b("routes/new")
25
+ },
26
+ actions: [{
27
+ label: "Refresh",
28
+ icon: /* @__PURE__ */ d(a, { size: 16 }),
29
+ onSelect: () => y()
30
+ }]
29
31
  }),
30
- children: /* @__PURE__ */ f(r, {
32
+ children: /* @__PURE__ */ d(n, {
31
33
  columns: [
32
34
  {
33
35
  id: "name",
34
36
  header: "Route Name",
35
37
  accessorKey: "name",
36
38
  sortable: !0,
37
- cell: (e) => /* @__PURE__ */ f("span", {
39
+ cell: (e) => /* @__PURE__ */ d("span", {
38
40
  className: "font-medium",
39
41
  children: e.name
40
42
  })
@@ -44,7 +46,7 @@ function m() {
44
46
  header: "Status",
45
47
  accessorKey: "status",
46
48
  sortable: !0,
47
- cell: (e) => /* @__PURE__ */ f(l, {
49
+ cell: (e) => /* @__PURE__ */ d(c, {
48
50
  status: e.status,
49
51
  customColors: {
50
52
  planned: {
@@ -69,7 +71,7 @@ function m() {
69
71
  {
70
72
  id: "stops",
71
73
  header: "Stops",
72
- cell: (e) => /* @__PURE__ */ p(t, {
74
+ cell: (e) => /* @__PURE__ */ f(t, {
73
75
  variant: "secondary",
74
76
  children: [e.stops.length, " stops"]
75
77
  })
@@ -89,7 +91,7 @@ function m() {
89
91
  {
90
92
  id: "optimized",
91
93
  header: "Optimized",
92
- cell: (e) => /* @__PURE__ */ f(t, {
94
+ cell: (e) => /* @__PURE__ */ d(t, {
93
95
  variant: e.optimized ? "default" : "outline",
94
96
  children: e.optimized ? "Yes" : "No"
95
97
  })
@@ -99,7 +101,7 @@ function m() {
99
101
  header: "Created",
100
102
  accessorKey: "createdAt",
101
103
  sortable: !0,
102
- cell: (e) => u(e.createdAt, "short")
104
+ cell: (e) => l(e.createdAt, "short")
103
105
  }
104
106
  ],
105
107
  data: g,
@@ -1,7 +1,7 @@
1
- import { A as e, F as t, I as n, J as r, L as i, P as a, R as o, V as s, X as c, Y as l, Z as u, d, f, g as p, h as m, i as h, it as g, j as _, p as v, u as y } from "./PageLayout-xDTiBTDS.js";
2
- import { n as b, t as x } from "./settings-BwzIRYv3.js";
3
- import { t as S } from "./save-CMc7h-Vi.js";
4
- import { t as C } from "./user-D8EY1uvt.js";
1
+ import { A as e, F as t, I as n, J as r, L as i, P as a, R as o, V as s, X as c, Y as l, Z as u, d, f, g as p, h as m, i as h, it as g, j as _, p as v, u as y } from "./PageLayout-D3N8MCTm.js";
2
+ import { n as b, t as x } from "./settings-3Rw5NwFF.js";
3
+ import { t as S } from "./save-XH8vydOn.js";
4
+ import { t as C } from "./user-Dz5TJZFs.js";
5
5
  import { jsx as w, jsxs as T } from "react/jsx-runtime";
6
6
  //#region node_modules/lucide-react/dist/esm/icons/bell.js
7
7
  var E = g("Bell", [["path", {
@@ -1,4 +1,4 @@
1
- import { l as e, rt as t } from "./PageLayout-xDTiBTDS.js";
1
+ import { l as e, rt as t } from "./PageLayout-D3N8MCTm.js";
2
2
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
3
3
  //#region src/movethewheels/constants/index.ts
4
4
  var i = {
@@ -116,7 +116,10 @@ function c({ status: c, type: l = "custom", customColors: u, size: d = "md", sho
116
116
  return /* @__PURE__ */ r(e, {
117
117
  variant: "outline",
118
118
  className: t("font-medium capitalize border-0 whitespace-nowrap inline-flex items-center", m.bg, m.text, s[d], p),
119
- children: [f && /* @__PURE__ */ n("span", { className: t("w-1.5 h-1.5 rounded-full mr-1.5 flex-shrink-0", m.text.replace("text-", "bg-")) }), h]
119
+ children: [f && /* @__PURE__ */ n("span", {
120
+ "aria-hidden": "true",
121
+ className: t("w-1.5 h-1.5 rounded-full mr-1.5 flex-shrink-0 motion-safe:animate-vc-glow-pulse", m.text.replace("text-", "bg-"))
122
+ }), h]
120
123
  });
121
124
  }
122
125
  function l({ priority: r, size: i = "md", className: a }) {
@@ -1,14 +1,14 @@
1
- import { A as e, d as t, f as n, g as r, h as i, i as a, t as o, u as s } from "./PageLayout-xDTiBTDS.js";
2
- import { t as c } from "./circle-alert-CEuV9Pij.js";
3
- import { t as l } from "./circle-check-big-Cx8aO6B-.js";
4
- import { t as u } from "./clock-Be95bq7_.js";
5
- import { t as d } from "./map-pin-96FeqL7H.js";
6
- import { t as f } from "./package-KhSi3xaT.js";
7
- import { t as p } from "./search-DVrUQbOg.js";
8
- import { t as m } from "./truck-DX3lNQkz.js";
1
+ import { A as e, d as t, f as n, g as r, h as i, i as a, t as o, u as s } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as c } from "./circle-alert-DjmNo5_L.js";
3
+ import { t as l } from "./circle-check-big-CjuPVo3_.js";
4
+ import { t as u } from "./clock-BjkdnddD.js";
5
+ import { t as d } from "./map-pin-BSaf5IDL.js";
6
+ import { t as f } from "./package-BE7U0wQE.js";
7
+ import { t as p } from "./search-OxoIiL_C.js";
8
+ import { t as m } from "./truck-CtDjNFbi.js";
9
9
  import { r as h } from "./graphqlClient-CdJyR_ed.js";
10
10
  import { i as g } from "./useTracking-De2KIUNu.js";
11
- import { r as _ } from "./StatusBadge-C--7NhoW.js";
11
+ import { r as _ } from "./StatusBadge-CijYQXtb.js";
12
12
  import { r as v, t as y } from "./formatters-_vJlC-47.js";
13
13
  import { t as b } from "./navigation-BgnOfsVd.js";
14
14
  import { useState as x } from "react";
@@ -73,7 +73,7 @@ function E() {
73
73
  })
74
74
  }),
75
75
  !P && !z && /* @__PURE__ */ C(o, {
76
- icon: /* @__PURE__ */ C(f, { size: 48 }),
76
+ illustration: "onboarding",
77
77
  title: D("movethewheels.tracking.empty.title", "Enter a tracking number"),
78
78
  description: D("movethewheels.tracking.empty.description", "Use your tracking number or order ID to see the current status of your shipment")
79
79
  }),
@@ -306,7 +306,7 @@ function E() {
306
306
  })]
307
307
  }),
308
308
  P && !L && !R && !z && /* @__PURE__ */ C(o, {
309
- icon: /* @__PURE__ */ C(p, { size: 48 }),
309
+ illustration: "empty-search",
310
310
  title: D("movethewheels.tracking.notFound.title", "Shipment not found"),
311
311
  description: `${D("movethewheels.tracking.notFound.descriptionPrefix", "No shipment found with tracking number")} "${P}"`,
312
312
  action: /* @__PURE__ */ C(s, {
@@ -1,13 +1,13 @@
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-xDTiBTDS.js";
2
- import { t as u } from "./arrow-left-Bk5GsGNk.js";
3
- import { t as d } from "./file-text-b1qhrJn1.js";
4
- import { n as f, t as p } from "./wrench-C50eI_Iy.js";
5
- import { t as m } from "./map-pin-96FeqL7H.js";
6
- import { t as h } from "./square-pen-DmW36Bau.js";
7
- import { t as g } from "./truck-DX3lNQkz.js";
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 "./file-text-C8Uioy11.js";
4
+ import { n as f, t as p } from "./wrench-CmxY1n4I.js";
5
+ import { t as m } from "./map-pin-BSaf5IDL.js";
6
+ import { t as h } from "./square-pen-hLIbFQFV.js";
7
+ import { t as g } from "./truck-CtDjNFbi.js";
8
8
  import { r as _ } from "./graphqlClient-CdJyR_ed.js";
9
9
  import { a as v } from "./useFleet-BdETplNE.js";
10
- import { a as y, r as b } from "./StatusBadge-C--7NhoW.js";
10
+ import { a as y, r as b } from "./StatusBadge-CijYQXtb.js";
11
11
  import { r as x } from "./formatters-_vJlC-47.js";
12
12
  import { t as S } from "./navigation-BgnOfsVd.js";
13
13
  import { useParams as C } from "react-router-dom";
@@ -1,46 +1,48 @@
1
- import { M as e, i as t, u as n } from "./PageLayout-xDTiBTDS.js";
2
- import { t as r } from "./DataTable-CZGz3SJu.js";
3
- import { t as i } from "./download-caab0D3V.js";
4
- import { t as a } from "./plus-D2BYAzMn.js";
5
- import { t as o } from "./refresh-cw-D5Sy01s-.js";
6
- import { t as s } from "./truck-DX3lNQkz.js";
7
- import { r as c } from "./graphqlClient-CdJyR_ed.js";
8
- import { o as l } from "./useFleet-BdETplNE.js";
9
- import { a as u, r as d } from "./StatusBadge-C--7NhoW.js";
10
- import { t as f } from "./navigation-BgnOfsVd.js";
11
- import { jsx as p, jsxs as m } from "react/jsx-runtime";
1
+ import { M as e, i as t } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as n } from "./DataTable-CfWvFw5B.js";
3
+ import { t as r } from "./download-Dpa9vqoG.js";
4
+ import { t as i } from "./plus-Dl1rLeJR.js";
5
+ import { t as a } from "./refresh-cw-CWfERAit.js";
6
+ import { t as o } from "./truck-CtDjNFbi.js";
7
+ import { r as s } from "./graphqlClient-CdJyR_ed.js";
8
+ import { o as c } from "./useFleet-BdETplNE.js";
9
+ import { a as l, r as u } from "./StatusBadge-CijYQXtb.js";
10
+ import { t as d } from "./navigation-BgnOfsVd.js";
11
+ import { jsx as f, jsxs as p } from "react/jsx-runtime";
12
+ import { CTAOverflowMenu as m } from "@burdenoff/fe-libs/ui";
12
13
  //#region src/movethewheels/pages/VehiclesPage.tsx
13
14
  function h() {
14
- let { basePath: h, navigate: g } = c(), { vehicles: _, totalVehicles: v, isLoading: y, refetch: b } = l(), x = (e) => {
15
- g && g(f(h, e));
15
+ let { basePath: h, navigate: g } = s(), { vehicles: _, totalVehicles: v, isLoading: y, refetch: b } = c(), x = (e) => {
16
+ g && g(d(h, e));
16
17
  };
17
- return /* @__PURE__ */ p(t, {
18
+ return /* @__PURE__ */ f(t, {
18
19
  title: "Vehicles",
19
20
  subtitle: `${v} vehicles in fleet`,
20
- icon: /* @__PURE__ */ p(s, { size: 24 }),
21
- headerActions: /* @__PURE__ */ m("div", {
22
- className: "flex gap-2",
23
- children: [
24
- /* @__PURE__ */ m(n, {
25
- variant: "outline",
26
- onClick: b,
27
- children: [/* @__PURE__ */ p(o, { size: 16 }), "Refresh"]
28
- }),
29
- /* @__PURE__ */ m(n, {
30
- variant: "outline",
31
- children: [/* @__PURE__ */ p(i, { size: 16 }), "Export"]
32
- }),
33
- /* @__PURE__ */ m(n, { children: [/* @__PURE__ */ p(a, { size: 16 }), "Add Vehicle"] })
34
- ]
21
+ icon: /* @__PURE__ */ f(o, { size: 24 }),
22
+ headerActions: /* @__PURE__ */ f(m, {
23
+ primary: {
24
+ label: "Add Vehicle",
25
+ icon: /* @__PURE__ */ f(i, { size: 16 }),
26
+ onSelect: () => {}
27
+ },
28
+ actions: [{
29
+ label: "Refresh",
30
+ icon: /* @__PURE__ */ f(a, { size: 16 }),
31
+ onSelect: () => b()
32
+ }, {
33
+ label: "Export",
34
+ icon: /* @__PURE__ */ f(r, { size: 16 }),
35
+ onSelect: () => {}
36
+ }]
35
37
  }),
36
- children: /* @__PURE__ */ p(r, {
38
+ children: /* @__PURE__ */ f(n, {
37
39
  columns: [
38
40
  {
39
41
  id: "vehicleNumber",
40
42
  header: "Vehicle #",
41
43
  accessorKey: "vehicleNumber",
42
44
  sortable: !0,
43
- cell: (e) => /* @__PURE__ */ p("span", {
45
+ cell: (e) => /* @__PURE__ */ f("span", {
44
46
  className: "font-medium",
45
47
  children: e.vehicleNumber
46
48
  })
@@ -49,19 +51,19 @@ function h() {
49
51
  id: "type",
50
52
  header: "Type",
51
53
  accessorKey: "type",
52
- cell: (e) => /* @__PURE__ */ p(u, { type: e.type })
54
+ cell: (e) => /* @__PURE__ */ f(l, { type: e.type })
53
55
  },
54
56
  {
55
57
  id: "details",
56
58
  header: "Vehicle",
57
- cell: (e) => /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ m("p", {
59
+ cell: (e) => /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ p("p", {
58
60
  className: "font-medium",
59
61
  children: [
60
62
  e.make,
61
63
  " ",
62
64
  e.model
63
65
  ]
64
- }), /* @__PURE__ */ p("p", {
66
+ }), /* @__PURE__ */ f("p", {
65
67
  className: "text-sm text-text-secondary",
66
68
  children: e.year
67
69
  })] })
@@ -71,7 +73,7 @@ function h() {
71
73
  header: "Status",
72
74
  accessorKey: "status",
73
75
  sortable: !0,
74
- cell: (e) => /* @__PURE__ */ p(d, {
76
+ cell: (e) => /* @__PURE__ */ f(u, {
75
77
  status: e.status,
76
78
  type: "vehicle"
77
79
  })
@@ -79,9 +81,9 @@ function h() {
79
81
  {
80
82
  id: "capacity",
81
83
  header: "Capacity",
82
- cell: (e) => /* @__PURE__ */ m("div", {
84
+ cell: (e) => /* @__PURE__ */ p("div", {
83
85
  className: "text-sm",
84
- children: [/* @__PURE__ */ m("p", { children: [e.capacity.weight, " kg"] }), /* @__PURE__ */ m("p", {
86
+ children: [/* @__PURE__ */ p("p", { children: [e.capacity.weight, " kg"] }), /* @__PURE__ */ p("p", {
85
87
  className: "text-text-secondary",
86
88
  children: [e.capacity.volume, " m³"]
87
89
  })]
@@ -90,12 +92,12 @@ function h() {
90
92
  {
91
93
  id: "fuel",
92
94
  header: "Fuel Level",
93
- cell: (t) => t.fuelLevel === void 0 ? "-" : /* @__PURE__ */ m("div", {
95
+ cell: (t) => t.fuelLevel === void 0 ? "-" : /* @__PURE__ */ p("div", {
94
96
  className: "flex items-center gap-2",
95
- children: [/* @__PURE__ */ p(e, {
97
+ children: [/* @__PURE__ */ f(e, {
96
98
  value: t.fuelLevel,
97
99
  className: "w-16 h-2"
98
- }), /* @__PURE__ */ m("span", {
100
+ }), /* @__PURE__ */ p("span", {
99
101
  className: "text-sm",
100
102
  children: [t.fuelLevel, "%"]
101
103
  })]
@@ -1,11 +1,11 @@
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-xDTiBTDS.js";
2
- import { t as u } from "./arrow-left-Bk5GsGNk.js";
3
- import { t as d } from "./box-BAMv2-7M.js";
4
- import { t as f } from "./clock-Be95bq7_.js";
5
- import { t as p } from "./map-pin-96FeqL7H.js";
6
- import { t as m } from "./square-pen-DmW36Bau.js";
7
- import { t as h } from "./users-CfG0J8wP.js";
8
- import { t as g } from "./warehouse-Dt_bAr82.js";
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
9
  import { r as _ } from "./graphqlClient-CdJyR_ed.js";
10
10
  import { a as v } from "./useInventory-Dwn18FPz.js";
11
11
  import { t as y } from "./formatters-_vJlC-47.js";