@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,7 +1,7 @@
1
- import { A as e, N as t, d as n, f as r, g as i, h as a, i as o, it as s, l as c, u as l } from "./PageLayout-xDTiBTDS.js";
2
- import { n as u, t as d } from "./route-CBDXuwH9.js";
3
- import { t as f } from "./circle-alert-CEuV9Pij.js";
4
- import { t as p } from "./trending-up-l8M0BO_w.js";
1
+ import { A as e, N as t, d as n, f as r, g as i, h as a, i as o, it as s, l as c, u as l } from "./PageLayout-D3N8MCTm.js";
2
+ import { n as u, t as d } from "./route-Dp9JiN_E.js";
3
+ import { t as f } from "./circle-alert-DjmNo5_L.js";
4
+ import { t as p } from "./trending-up-C-85AwGT.js";
5
5
  import { useState as m } from "react";
6
6
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
7
7
  //#region node_modules/lucide-react/dist/esm/icons/lightbulb.js
@@ -1,12 +1,12 @@
1
- import { M as e, d as t, f as n, g as r, h as i, i as a } from "./PageLayout-xDTiBTDS.js";
2
- import { t as o } from "./chart-column-CAfkf4o6.js";
3
- import { t as s } from "./dollar-sign-kJqItPli.js";
4
- import { t as c } from "./package-KhSi3xaT.js";
5
- import { t as l } from "./trending-up-l8M0BO_w.js";
6
- import { t as u } from "./truck-DX3lNQkz.js";
7
- import { t as d } from "./users-CfG0J8wP.js";
1
+ import { M as e, d as t, f as n, g as r, h as i, i as a } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as o } from "./chart-column-D1Ym15-S.js";
3
+ import { t as s } from "./dollar-sign-IB4O0wuQ.js";
4
+ import { t as c } from "./package-BE7U0wQE.js";
5
+ import { t as l } from "./trending-up-C-85AwGT.js";
6
+ import { t as u } from "./truck-CtDjNFbi.js";
7
+ import { t as d } from "./users-g2N0eL-Z.js";
8
8
  import { i as f, r as p, t as m } from "./useAnalytics-ph7eTIK6.js";
9
- import { r as h, t as g } from "./MetricCard-DeHVeVwl.js";
9
+ import { r as h, t as g } from "./MetricCard-B7yMyvMX.js";
10
10
  import { n as _ } from "./formatters-_vJlC-47.js";
11
11
  import { jsx as v, jsxs as y } from "react/jsx-runtime";
12
12
  //#region src/movethewheels/pages/AnalyticsPage.tsx
@@ -1,8 +1,8 @@
1
- import { A as e, F as t, I as n, L as r, P as i, Q as a, R as o, d as s, f as c, g as l, h as u, i as d, it as f, j as p, u as m, z as h } from "./PageLayout-xDTiBTDS.js";
2
- import { t as g } from "./arrow-left-Bk5GsGNk.js";
3
- import { t as _ } from "./package-KhSi3xaT.js";
4
- import { t as v } from "./plus-D2BYAzMn.js";
5
- import { t as y } from "./save-CMc7h-Vi.js";
1
+ import { A as e, F as t, I as n, L as r, P as i, Q as a, R as o, d as s, f as c, g as l, h as u, i as d, it as f, j as p, u as m, z as h } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as g } from "./arrow-left-CBpZKkpq.js";
3
+ import { t as _ } from "./package-BE7U0wQE.js";
4
+ import { t as v } from "./plus-Dl1rLeJR.js";
5
+ import { t as y } from "./save-XH8vydOn.js";
6
6
  import { r as b } from "./graphqlClient-CdJyR_ed.js";
7
7
  import { r as x, t as S } from "./useOrders-D_3_hGMp.js";
8
8
  import { r as C } from "./useCustomers-bS3a4ytk.js";
@@ -1,14 +1,14 @@
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 "./file-text-b1qhrJn1.js";
4
- import { n as f, t as p } from "./phone-B-h3tbsr.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 "./star-Cv2MzxZL.js";
8
- import { t as _ } from "./users-CfG0J8wP.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 "./file-text-C8Uioy11.js";
4
+ import { n as f, t as p } from "./phone-DV4StZiA.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 "./star-YsVV3MNQ.js";
8
+ import { t as _ } from "./users-g2N0eL-Z.js";
9
9
  import { r as v } from "./graphqlClient-CdJyR_ed.js";
10
10
  import { t as y } from "./useCustomers-bS3a4ytk.js";
11
- import { i as b } from "./StatusBadge-C--7NhoW.js";
11
+ import { i as b } from "./StatusBadge-CijYQXtb.js";
12
12
  import { r as x, t as S } from "./formatters-_vJlC-47.js";
13
13
  import { t as C } from "./navigation-BgnOfsVd.js";
14
14
  import { useParams as w } from "react-router-dom";
@@ -0,0 +1,118 @@
1
+ import { i as e, l as t, o as n, s as r } from "./PageLayout-D3N8MCTm.js";
2
+ import { t as i } from "./DataTable-CfWvFw5B.js";
3
+ import { t as a } from "./download-Dpa9vqoG.js";
4
+ import { t as o } from "./plus-Dl1rLeJR.js";
5
+ import { t as s } from "./refresh-cw-CWfERAit.js";
6
+ import { t as c } from "./star-YsVV3MNQ.js";
7
+ import { t as l } from "./users-g2N0eL-Z.js";
8
+ import { r as u } from "./graphqlClient-CdJyR_ed.js";
9
+ import { r as d } from "./useCustomers-bS3a4ytk.js";
10
+ import { i as f } from "./StatusBadge-CijYQXtb.js";
11
+ import { r as p } from "./formatters-_vJlC-47.js";
12
+ import { t as m } from "./navigation-BgnOfsVd.js";
13
+ import { jsx as h, jsxs as g } from "react/jsx-runtime";
14
+ import { CTAOverflowMenu as _ } from "@burdenoff/fe-libs/ui";
15
+ //#region src/movethewheels/pages/CustomersPage.tsx
16
+ function v() {
17
+ let { basePath: v, navigate: y } = u(), { customers: b, totalCustomers: x, isLoading: S, refetch: C } = d({ limit: 100 }), w = (e) => y?.(m(v, e));
18
+ return /* @__PURE__ */ h(e, {
19
+ title: "Customers",
20
+ subtitle: `${x} customers`,
21
+ icon: /* @__PURE__ */ h(l, { size: 24 }),
22
+ headerActions: /* @__PURE__ */ h(_, {
23
+ primary: {
24
+ label: "Add Customer",
25
+ icon: /* @__PURE__ */ h(o, { size: 16 }),
26
+ onSelect: () => w("customers/new")
27
+ },
28
+ actions: [{
29
+ label: "Refresh",
30
+ icon: /* @__PURE__ */ h(s, { size: 16 }),
31
+ onSelect: () => C()
32
+ }, {
33
+ label: "Export",
34
+ icon: /* @__PURE__ */ h(a, { size: 16 }),
35
+ onSelect: () => {}
36
+ }]
37
+ }),
38
+ children: /* @__PURE__ */ h(i, {
39
+ columns: [
40
+ {
41
+ id: "customer",
42
+ header: "Customer",
43
+ cell: (e) => /* @__PURE__ */ g("div", {
44
+ className: "flex items-center gap-3",
45
+ children: [/* @__PURE__ */ h(n, { children: /* @__PURE__ */ h(r, { children: e.name.split(" ").map((e) => e[0]).join("") }) }), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
46
+ className: "font-medium",
47
+ children: e.name
48
+ }), /* @__PURE__ */ h("p", {
49
+ className: "text-sm text-text-secondary",
50
+ children: e.email
51
+ })] })]
52
+ })
53
+ },
54
+ {
55
+ id: "type",
56
+ header: "Type",
57
+ accessorKey: "type",
58
+ cell: (e) => /* @__PURE__ */ h(f, { type: e.type })
59
+ },
60
+ {
61
+ id: "company",
62
+ header: "Company",
63
+ accessorKey: "company",
64
+ cell: (e) => e.company || "-"
65
+ },
66
+ {
67
+ id: "phone",
68
+ header: "Phone",
69
+ accessorKey: "phone"
70
+ },
71
+ {
72
+ id: "location",
73
+ header: "Location",
74
+ cell: (e) => `${e.address.city}, ${e.address.state}`
75
+ },
76
+ {
77
+ id: "rating",
78
+ header: "Rating",
79
+ cell: (e) => /* @__PURE__ */ g("div", {
80
+ className: "flex items-center gap-1",
81
+ children: [/* @__PURE__ */ h(c, {
82
+ size: 14,
83
+ className: "text-yellow-500 fill-yellow-500"
84
+ }), /* @__PURE__ */ h("span", { children: e.rating.toFixed(1) })]
85
+ })
86
+ },
87
+ {
88
+ id: "status",
89
+ header: "Status",
90
+ cell: (e) => /* @__PURE__ */ h(t, {
91
+ variant: e.isActive ? "default" : "secondary",
92
+ children: e.isActive ? "Active" : "Inactive"
93
+ })
94
+ },
95
+ {
96
+ id: "created",
97
+ header: "Created",
98
+ accessorKey: "createdAt",
99
+ sortable: !0,
100
+ cell: (e) => p(e.createdAt, "short")
101
+ }
102
+ ],
103
+ data: b,
104
+ isLoading: S,
105
+ searchable: !0,
106
+ searchPlaceholder: "Search customers...",
107
+ searchFields: [
108
+ "name",
109
+ "email",
110
+ "company"
111
+ ],
112
+ onRowClick: (e) => w(`customers/${e.id}`),
113
+ getRowId: (e) => e.id
114
+ })
115
+ });
116
+ }
117
+ //#endregion
118
+ export { v as default };