@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
@@ -0,0 +1,129 @@
1
+ import { i as e, o as t, s as n } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as r } from "./DataTable-CfWvFw5B.js";
3
+ import { t as i } from "./download-Dpa9vqoG.js";
4
+ import { t as a } from "./plus-Dl1rLeJR.js";
5
+ import { t as o } from "./refresh-cw-CWfERAit.js";
6
+ import { t as s } from "./star-YsVV3MNQ.js";
7
+ import { t as c } from "./users-g2N0eL-Z.js";
8
+ import { r as l } from "./graphqlClient-CdJyR_ed.js";
9
+ import { n as u } from "./useFleet-BdETplNE.js";
10
+ import { r as d } from "./StatusBadge-CijYQXtb.js";
11
+ import { r as f } from "./formatters-_vJlC-47.js";
12
+ import { t as p } from "./navigation-BgnOfsVd.js";
13
+ import { jsx as m, jsxs as h } from "react/jsx-runtime";
14
+ import { CTAOverflowMenu as g } from "@burdenoff/fe-libs/ui";
15
+ //#region src/movethewheels/pages/DriversPage.tsx
16
+ function _() {
17
+ let { basePath: _, navigate: v } = l(), { drivers: y, totalDrivers: b, isLoading: x, refetch: S } = u(), C = (e) => v?.(p(_, e));
18
+ return /* @__PURE__ */ m(e, {
19
+ title: "Drivers",
20
+ subtitle: `${b} drivers`,
21
+ icon: /* @__PURE__ */ m(c, { size: 24 }),
22
+ headerActions: /* @__PURE__ */ m(g, {
23
+ primary: {
24
+ label: "Add Driver",
25
+ icon: /* @__PURE__ */ m(a, { size: 16 }),
26
+ onSelect: () => {}
27
+ },
28
+ actions: [{
29
+ label: "Refresh",
30
+ icon: /* @__PURE__ */ m(o, { size: 16 }),
31
+ onSelect: () => S()
32
+ }, {
33
+ label: "Export",
34
+ icon: /* @__PURE__ */ m(i, { size: 16 }),
35
+ onSelect: () => {}
36
+ }]
37
+ }),
38
+ children: /* @__PURE__ */ m(r, {
39
+ columns: [
40
+ {
41
+ id: "driver",
42
+ header: "Driver",
43
+ cell: (e) => /* @__PURE__ */ h("div", {
44
+ className: "flex items-center gap-3",
45
+ children: [/* @__PURE__ */ m(t, { children: /* @__PURE__ */ m(n, { children: e.fullName.split(" ").map((e) => e[0]).join("") }) }), /* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m("p", {
46
+ className: "font-medium",
47
+ children: e.fullName
48
+ }), /* @__PURE__ */ m("p", {
49
+ className: "text-sm text-text-secondary",
50
+ children: e.employeeId
51
+ })] })]
52
+ })
53
+ },
54
+ {
55
+ id: "status",
56
+ header: "Status",
57
+ accessorKey: "status",
58
+ sortable: !0,
59
+ cell: (e) => /* @__PURE__ */ m(d, {
60
+ status: e.status,
61
+ type: "driver"
62
+ })
63
+ },
64
+ {
65
+ id: "rating",
66
+ header: "Rating",
67
+ cell: (e) => /* @__PURE__ */ h("div", {
68
+ className: "flex items-center gap-1",
69
+ children: [
70
+ /* @__PURE__ */ m(s, {
71
+ size: 14,
72
+ className: "text-yellow-500 fill-yellow-500"
73
+ }),
74
+ /* @__PURE__ */ m("span", {
75
+ className: "font-medium",
76
+ children: e.ratings.overall.toFixed(1)
77
+ }),
78
+ /* @__PURE__ */ h("span", {
79
+ className: "text-text-secondary text-sm",
80
+ children: [
81
+ "(",
82
+ e.ratings.totalRatings,
83
+ ")"
84
+ ]
85
+ })
86
+ ]
87
+ })
88
+ },
89
+ {
90
+ id: "deliveries",
91
+ header: "Deliveries",
92
+ accessorKey: "completedOrders",
93
+ sortable: !0,
94
+ cell: (e) => /* @__PURE__ */ m("span", {
95
+ className: "font-medium",
96
+ children: e.completedOrders.toLocaleString()
97
+ })
98
+ },
99
+ {
100
+ id: "license",
101
+ header: "License",
102
+ cell: (e) => /* @__PURE__ */ h("div", {
103
+ className: "text-sm",
104
+ children: [/* @__PURE__ */ m("p", { children: e.licenseType }), /* @__PURE__ */ h("p", {
105
+ className: "text-text-secondary",
106
+ children: ["Exp: ", f(e.licenseExpiry, "short")]
107
+ })]
108
+ })
109
+ },
110
+ {
111
+ id: "joined",
112
+ header: "Join Date",
113
+ accessorKey: "joinDate",
114
+ sortable: !0,
115
+ cell: (e) => f(e.joinDate, "short")
116
+ }
117
+ ],
118
+ data: y,
119
+ isLoading: x,
120
+ searchable: !0,
121
+ searchPlaceholder: "Search drivers...",
122
+ searchFields: ["fullName", "employeeId"],
123
+ onRowClick: (e) => C(`fleet/drivers/${e.id}`),
124
+ getRowId: (e) => e.id
125
+ })
126
+ });
127
+ }
128
+ //#endregion
129
+ export { _ as default };
@@ -1,11 +1,11 @@
1
- import { d as e, f as t, g as n, h as r, i, it as a, u as o } from "./PageLayout-xDTiBTDS.js";
2
- import { t as s } from "./dollar-sign-kJqItPli.js";
3
- import { t as c } from "./download-caab0D3V.js";
4
- import { t as l } from "./file-text-b1qhrJn1.js";
5
- import { t as u } from "./trending-up-l8M0BO_w.js";
1
+ import { d as e, f as t, g as n, h as r, i, it as a, u as o } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as s } from "./dollar-sign-IB4O0wuQ.js";
3
+ import { t as c } from "./download-Dpa9vqoG.js";
4
+ import { t as l } from "./file-text-C8Uioy11.js";
5
+ import { t as u } from "./trending-up-C-85AwGT.js";
6
6
  import { n as d } from "./useOrders-D_3_hGMp.js";
7
7
  import { t as f } from "./useAnalytics-ph7eTIK6.js";
8
- import { r as p, t as m } from "./MetricCard-DeHVeVwl.js";
8
+ import { r as p, t as m } from "./MetricCard-B7yMyvMX.js";
9
9
  import { n as h } from "./formatters-_vJlC-47.js";
10
10
  import { jsx as g, jsxs as _ } from "react/jsx-runtime";
11
11
  //#region node_modules/lucide-react/dist/esm/icons/credit-card.js
@@ -1,83 +1,84 @@
1
- import { M as e, a as t, d as n, f as r, g as i, h as a, i as o, o as s, s as c, u as l } from "./PageLayout-xDTiBTDS.js";
2
- import { t as u } from "./chevron-right-Czrt_Qew.js";
3
- import { n as d, t as f } from "./wrench-C50eI_Iy.js";
4
- import { t as p } from "./star-Cv2MzxZL.js";
5
- import { t as m } from "./truck-DX3lNQkz.js";
6
- import { t as h } from "./users-CfG0J8wP.js";
1
+ import { M as e, a as t, d as n, f as r, g as i, h as a, i as o, o as s, s as c, u as l } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as u } from "./chevron-right-BIFGi0UA.js";
3
+ import { n as d, t as f } from "./wrench-CmxY1n4I.js";
4
+ import { t as p } from "./star-YsVV3MNQ.js";
5
+ import { t as m } from "./truck-CtDjNFbi.js";
6
+ import { t as h } from "./users-g2N0eL-Z.js";
7
7
  import { r as g } from "./graphqlClient-CdJyR_ed.js";
8
8
  import { i as _, n as v, o as y } from "./useFleet-BdETplNE.js";
9
- import { r as b, t as x } from "./MetricCard-DeHVeVwl.js";
10
- import { a as S, r as C } from "./StatusBadge-C--7NhoW.js";
9
+ import { r as b, t as x } from "./MetricCard-B7yMyvMX.js";
10
+ import { a as S, r as C } from "./StatusBadge-CijYQXtb.js";
11
11
  import { t as w } from "./navigation-BgnOfsVd.js";
12
12
  import { jsx as T, jsxs as E } from "react/jsx-runtime";
13
- import { useI18n as D } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
13
+ import { CTAOverflowMenu as D } from "@burdenoff/fe-libs/ui";
14
+ import { useI18n as O } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
14
15
  //#region src/movethewheels/pages/FleetPage.tsx
15
- function O() {
16
- let { t: O } = D(), k = (e, t) => {
17
- let n = O(e);
16
+ function k() {
17
+ let { t: k } = O(), A = (e, t) => {
18
+ let n = k(e);
18
19
  return n === e ? t : n;
19
- }, { basePath: A, navigate: j } = g(), { stats: M } = _(), { vehicles: N } = y(), { drivers: P } = v(), F = (e) => {
20
- j && j(w(A, e));
20
+ }, { basePath: j, navigate: M } = g(), { stats: N } = _(), { vehicles: P } = y(), { drivers: F } = v(), I = (e) => {
21
+ M && M(w(j, e));
21
22
  };
22
23
  return /* @__PURE__ */ E(o, {
23
- title: k("movethewheels.fleet.title", "Fleet Management"),
24
- subtitle: k("movethewheels.fleet.subtitle", "Manage your vehicles and drivers"),
24
+ title: A("movethewheels.fleet.title", "Fleet Management"),
25
+ subtitle: A("movethewheels.fleet.subtitle", "Manage your vehicles and drivers"),
25
26
  icon: /* @__PURE__ */ T(m, { size: 24 }),
26
- headerActions: /* @__PURE__ */ E("div", {
27
- className: "flex gap-2",
28
- children: [/* @__PURE__ */ E(l, {
29
- variant: "outline",
30
- onClick: () => F("fleet/vehicles"),
31
- children: [/* @__PURE__ */ T(m, { size: 16 }), k("movethewheels.fleet.actions.allVehicles", "All Vehicles")]
32
- }), /* @__PURE__ */ E(l, {
33
- variant: "outline",
34
- onClick: () => F("fleet/drivers"),
35
- children: [/* @__PURE__ */ T(h, { size: 16 }), k("movethewheels.fleet.actions.allDrivers", "All Drivers")]
36
- })]
27
+ headerActions: /* @__PURE__ */ T(D, {
28
+ primary: {
29
+ label: A("movethewheels.fleet.actions.allVehicles", "All Vehicles"),
30
+ icon: /* @__PURE__ */ T(m, { size: 16 }),
31
+ onSelect: () => I("fleet/vehicles")
32
+ },
33
+ actions: [{
34
+ label: A("movethewheels.fleet.actions.allDrivers", "All Drivers"),
35
+ icon: /* @__PURE__ */ T(h, { size: 16 }),
36
+ onSelect: () => I("fleet/drivers")
37
+ }]
37
38
  }),
38
39
  children: [
39
40
  /* @__PURE__ */ E(b, {
40
41
  columns: 4,
41
42
  children: [
42
43
  /* @__PURE__ */ T(x, {
43
- label: k("movethewheels.fleet.metrics.totalVehicles", "Total Vehicles"),
44
- value: M.totalVehicles,
44
+ label: A("movethewheels.fleet.metrics.totalVehicles", "Total Vehicles"),
45
+ value: N.totalVehicles,
45
46
  icon: /* @__PURE__ */ T(m, { size: 20 }),
46
- subtitle: `${M.vehiclesByStatus.available} ${k("movethewheels.fleet.metrics.available", "available")}`,
47
- onClick: () => F("fleet/vehicles")
47
+ subtitle: `${N.vehiclesByStatus.available} ${A("movethewheels.fleet.metrics.available", "available")}`,
48
+ onClick: () => I("fleet/vehicles")
48
49
  }),
49
50
  /* @__PURE__ */ T(x, {
50
- label: k("movethewheels.fleet.metrics.totalDrivers", "Total Drivers"),
51
- value: M.totalDrivers,
51
+ label: A("movethewheels.fleet.metrics.totalDrivers", "Total Drivers"),
52
+ value: N.totalDrivers,
52
53
  icon: /* @__PURE__ */ T(h, { size: 20 }),
53
- subtitle: `${M.driversByStatus.available} ${k("movethewheels.fleet.metrics.available", "available")}`,
54
- onClick: () => F("fleet/drivers")
54
+ subtitle: `${N.driversByStatus.available} ${A("movethewheels.fleet.metrics.available", "available")}`,
55
+ onClick: () => I("fleet/drivers")
55
56
  }),
56
57
  /* @__PURE__ */ T(x, {
57
- label: k("movethewheels.fleet.metrics.utilization", "Fleet Utilization"),
58
- value: `${M.utilization.toFixed(0)}%`,
58
+ label: A("movethewheels.fleet.metrics.utilization", "Fleet Utilization"),
59
+ value: `${N.utilization.toFixed(0)}%`,
59
60
  icon: /* @__PURE__ */ T(m, { size: 20 }),
60
- changeType: M.utilization >= 70 ? "positive" : "neutral"
61
+ changeType: N.utilization >= 70 ? "positive" : "neutral"
61
62
  }),
62
63
  /* @__PURE__ */ T(x, {
63
- label: k("movethewheels.fleet.metrics.avgDriverRating", "Avg Driver Rating"),
64
- value: M.avgDriverRating.toFixed(1),
64
+ label: A("movethewheels.fleet.metrics.avgDriverRating", "Avg Driver Rating"),
65
+ value: N.avgDriverRating.toFixed(1),
65
66
  icon: /* @__PURE__ */ T(p, { size: 20 }),
66
- subtitle: k("movethewheels.fleet.metrics.outOfFive", "out of 5"),
67
- changeType: M.avgDriverRating >= 4.5 ? "positive" : "neutral"
67
+ subtitle: A("movethewheels.fleet.metrics.outOfFive", "out of 5"),
68
+ changeType: N.avgDriverRating >= 4.5 ? "positive" : "neutral"
68
69
  })
69
70
  ]
70
71
  }),
71
72
  /* @__PURE__ */ E("div", {
72
73
  className: "grid grid-cols-1 lg:grid-cols-2 gap-6",
73
74
  children: [/* @__PURE__ */ T(t, {
74
- title: k("movethewheels.fleet.vehicles.title", "Vehicles"),
75
+ title: A("movethewheels.fleet.vehicles.title", "Vehicles"),
75
76
  actions: /* @__PURE__ */ E(l, {
76
77
  variant: "ghost",
77
78
  size: "sm",
78
- onClick: () => F("fleet/vehicles"),
79
+ onClick: () => I("fleet/vehicles"),
79
80
  children: [
80
- k("movethewheels.fleet.common.viewAll", "View all"),
81
+ A("movethewheels.fleet.common.viewAll", "View all"),
81
82
  " ",
82
83
  /* @__PURE__ */ T(u, { size: 16 })
83
84
  ]
@@ -86,9 +87,9 @@ function O() {
86
87
  className: "p-0",
87
88
  children: /* @__PURE__ */ T("div", {
88
89
  className: "divide-y",
89
- children: N.slice(0, 5).map((t) => /* @__PURE__ */ T("div", {
90
+ children: P.slice(0, 5).map((t) => /* @__PURE__ */ T("div", {
90
91
  className: "p-4 hover:bg-bg-sunken/50 cursor-pointer transition-colors",
91
- onClick: () => F(`fleet/vehicles/${t.id}`),
92
+ onClick: () => I(`fleet/vehicles/${t.id}`),
92
93
  children: /* @__PURE__ */ E("div", {
93
94
  className: "flex items-center justify-between",
94
95
  children: [/* @__PURE__ */ E("div", {
@@ -148,13 +149,13 @@ function O() {
148
149
  })
149
150
  }) })
150
151
  }), /* @__PURE__ */ T(t, {
151
- title: k("movethewheels.fleet.drivers.title", "Drivers"),
152
+ title: A("movethewheels.fleet.drivers.title", "Drivers"),
152
153
  actions: /* @__PURE__ */ E(l, {
153
154
  variant: "ghost",
154
155
  size: "sm",
155
- onClick: () => F("fleet/drivers"),
156
+ onClick: () => I("fleet/drivers"),
156
157
  children: [
157
- k("movethewheels.fleet.common.viewAll", "View all"),
158
+ A("movethewheels.fleet.common.viewAll", "View all"),
158
159
  " ",
159
160
  /* @__PURE__ */ T(u, { size: 16 })
160
161
  ]
@@ -163,9 +164,9 @@ function O() {
163
164
  className: "p-0",
164
165
  children: /* @__PURE__ */ T("div", {
165
166
  className: "divide-y",
166
- children: P.slice(0, 5).map((e) => /* @__PURE__ */ T("div", {
167
+ children: F.slice(0, 5).map((e) => /* @__PURE__ */ T("div", {
167
168
  className: "p-4 hover:bg-bg-sunken/50 cursor-pointer transition-colors",
168
- onClick: () => F(`fleet/drivers/${e.id}`),
169
+ onClick: () => I(`fleet/drivers/${e.id}`),
169
170
  children: /* @__PURE__ */ E("div", {
170
171
  className: "flex items-center justify-between",
171
172
  children: [/* @__PURE__ */ E("div", {
@@ -180,7 +181,7 @@ function O() {
180
181
  " - ",
181
182
  e.completedOrders,
182
183
  " ",
183
- k("movethewheels.fleet.drivers.deliveries", "deliveries")
184
+ A("movethewheels.fleet.drivers.deliveries", "deliveries")
184
185
  ]
185
186
  })] })]
186
187
  }), /* @__PURE__ */ E("div", {
@@ -208,9 +209,9 @@ function O() {
208
209
  }),
209
210
  /* @__PURE__ */ E("div", {
210
211
  className: "grid grid-cols-1 md:grid-cols-2 gap-6",
211
- children: [/* @__PURE__ */ E(n, { children: [/* @__PURE__ */ T(a, { children: /* @__PURE__ */ T(i, { children: k("movethewheels.fleet.status.vehicleTitle", "Vehicle Status") }) }), /* @__PURE__ */ T(r, { children: /* @__PURE__ */ T("div", {
212
+ children: [/* @__PURE__ */ E(n, { children: [/* @__PURE__ */ T(a, { children: /* @__PURE__ */ T(i, { children: A("movethewheels.fleet.status.vehicleTitle", "Vehicle Status") }) }), /* @__PURE__ */ T(r, { children: /* @__PURE__ */ T("div", {
212
213
  className: "space-y-4",
213
- children: Object.entries(M.vehiclesByStatus).map(([t, n]) => /* @__PURE__ */ E("div", {
214
+ children: Object.entries(N.vehiclesByStatus).map(([t, n]) => /* @__PURE__ */ E("div", {
214
215
  className: "flex items-center justify-between",
215
216
  children: [/* @__PURE__ */ T("div", {
216
217
  className: "flex items-center gap-3",
@@ -224,14 +225,14 @@ function O() {
224
225
  className: "font-medium",
225
226
  children: n
226
227
  }), /* @__PURE__ */ T(e, {
227
- value: n / M.totalVehicles * 100,
228
+ value: n / N.totalVehicles * 100,
228
229
  className: "w-24 h-2"
229
230
  })]
230
231
  })]
231
232
  }, t))
232
- }) })] }), /* @__PURE__ */ E(n, { children: [/* @__PURE__ */ T(a, { children: /* @__PURE__ */ T(i, { children: k("movethewheels.fleet.status.driverTitle", "Driver Status") }) }), /* @__PURE__ */ T(r, { children: /* @__PURE__ */ T("div", {
233
+ }) })] }), /* @__PURE__ */ E(n, { children: [/* @__PURE__ */ T(a, { children: /* @__PURE__ */ T(i, { children: A("movethewheels.fleet.status.driverTitle", "Driver Status") }) }), /* @__PURE__ */ T(r, { children: /* @__PURE__ */ T("div", {
233
234
  className: "space-y-4",
234
- children: Object.entries(M.driversByStatus).map(([t, n]) => /* @__PURE__ */ E("div", {
235
+ children: Object.entries(N.driversByStatus).map(([t, n]) => /* @__PURE__ */ E("div", {
235
236
  className: "flex items-center justify-between",
236
237
  children: [/* @__PURE__ */ T("div", {
237
238
  className: "flex items-center gap-3",
@@ -245,21 +246,21 @@ function O() {
245
246
  className: "font-medium",
246
247
  children: n
247
248
  }), /* @__PURE__ */ T(e, {
248
- value: n / M.totalDrivers * 100,
249
+ value: n / N.totalDrivers * 100,
249
250
  className: "w-24 h-2"
250
251
  })]
251
252
  })]
252
253
  }, t))
253
254
  }) })] })]
254
255
  }),
255
- M.vehiclesByStatus.maintenance > 0 && /* @__PURE__ */ E(n, {
256
+ N.vehiclesByStatus.maintenance > 0 && /* @__PURE__ */ E(n, {
256
257
  className: "border-yellow-200 dark:border-yellow-800",
257
258
  children: [/* @__PURE__ */ T(a, { children: /* @__PURE__ */ E(i, {
258
259
  className: "flex items-center gap-2 text-yellow-600",
259
- children: [/* @__PURE__ */ T(f, { size: 18 }), k("movethewheels.fleet.maintenance.title", "Maintenance Required")]
260
+ children: [/* @__PURE__ */ T(f, { size: 18 }), A("movethewheels.fleet.maintenance.title", "Maintenance Required")]
260
261
  }) }), /* @__PURE__ */ T(r, { children: /* @__PURE__ */ T("div", {
261
262
  className: "space-y-3",
262
- children: N.filter((e) => e.status === "maintenance").map((e) => /* @__PURE__ */ E("div", {
263
+ children: P.filter((e) => e.status === "maintenance").map((e) => /* @__PURE__ */ E("div", {
263
264
  className: "flex items-center justify-between p-3 bg-yellow-50 dark:bg-yellow-900/20 rounded-lg",
264
265
  children: [/* @__PURE__ */ E("div", {
265
266
  className: "flex items-center gap-3",
@@ -280,8 +281,8 @@ function O() {
280
281
  }), /* @__PURE__ */ T(l, {
281
282
  variant: "outline",
282
283
  size: "sm",
283
- onClick: () => F(`fleet/vehicles/${e.id}`),
284
- children: k("movethewheels.fleet.maintenance.viewDetails", "View Details")
284
+ onClick: () => I(`fleet/vehicles/${e.id}`),
285
+ children: A("movethewheels.fleet.maintenance.viewDetails", "View Details")
285
286
  })]
286
287
  }, e.id))
287
288
  }) })]
@@ -290,4 +291,4 @@ function O() {
290
291
  });
291
292
  }
292
293
  //#endregion
293
- export { O as default };
294
+ export { k as default };
@@ -1,6 +1,6 @@
1
- import { d as e, f as t, g as n, h as r, i, it as a, l as o, u as s } from "./PageLayout-xDTiBTDS.js";
2
- import { t as c } from "./download-caab0D3V.js";
3
- import { t as l } from "./file-text-b1qhrJn1.js";
1
+ import { d as e, f as t, g as n, h as r, i, it as a, l as o, u as s } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as c } from "./download-Dpa9vqoG.js";
3
+ import { t as l } from "./file-text-C8Uioy11.js";
4
4
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
5
5
  //#region node_modules/lucide-react/dist/esm/icons/check.js
6
6
  var f = a("Check", [["path", {