@burdenoff/microfe-movethewheels 2026.614.1 → 2026.624.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.
- package/dist/{AIAssistantPage-FGGTN-DA.js → AIAssistantPage-BrHX2lQn.js} +8 -8
- package/dist/{AnalyticsPage-DSLYCnln.js → AnalyticsPage-DI6Wcaw5.js} +21 -21
- package/dist/{CreateOrderPage-BgjA_QFT.js → CreateOrderPage-DfkSi6JF.js} +8 -8
- package/dist/{CustomerDetailsPage-Cfvfw12U.js → CustomerDetailsPage-DzAIu_tH.js} +24 -24
- package/dist/{CustomersPage-DXnx04Au.js → CustomersPage-d21ixOYa.js} +9 -9
- package/dist/{DashboardPage-BeyvN3Mr.js → DashboardPage-3ZOnwg1a.js} +28 -28
- package/dist/{DataTable-oNjXEcUO.js → DataTable-CZGz3SJu.js} +10 -10
- package/dist/{DriverDetailsPage-DGTUZG5S.js → DriverDetailsPage-YuZSlPSV.js} +27 -27
- package/dist/{DriversPage-CRursDRZ.js → DriversPage-BOhqEBTv.js} +11 -11
- package/dist/{FinancePage-Cyi75iWa.js → FinancePage-CnjUNXOb.js} +11 -11
- package/dist/{FleetPage-Dlupg1NZ.js → FleetPage-CPS7r4J3.js} +16 -16
- package/dist/{ImportExportPage-D81vnXbH.js → ImportExportPage-zNjs7xsV.js} +9 -9
- package/dist/{InventoryPage-D0u2nxRd.js → InventoryPage-C9g5d3SW.js} +14 -14
- package/dist/{LiveTrackingPage-CKIlbMBA.js → LiveTrackingPage-DoBvtdBG.js} +26 -26
- package/dist/{MarketplacePage-3NpZ0_SK.js → MarketplacePage-BEj5hcBF.js} +13 -13
- package/dist/{MetricCard-BDcT-7Ei.js → MetricCard-DeHVeVwl.js} +10 -10
- package/dist/{OrderDetailsPage-BeGWzAws.js → OrderDetailsPage-D-9lDZYU.js} +34 -34
- package/dist/{OrdersListPage-DczM6NXa.js → OrdersListPage-CJzHbgY3.js} +10 -10
- package/dist/{PageLayout-3DR4pMQ9.js → PageLayout-xDTiBTDS.js} +550 -508
- package/dist/{ProductDetailsPage-Czcrqe2F.js → ProductDetailsPage-3rKtzXpy.js} +15 -15
- package/dist/{ProductsPage-DJhdrfox.js → ProductsPage-B0P_wjBJ.js} +7 -7
- package/dist/{ReportsPage-DPqE4Q3D.js → ReportsPage-B8OyWGzl.js} +10 -10
- package/dist/{RouteDetailsPage-j6ZczLRT.js → RouteDetailsPage-DGjKTUMj.js} +22 -22
- package/dist/{RoutesPage-OZM7lJDi.js → RoutesPage-CpopY8xN.js} +6 -6
- package/dist/{SettingsPage-v6vRyIAp.js → SettingsPage-BvXSa3gi.js} +7 -7
- package/dist/{StatusBadge-elLZA4Wl.js → StatusBadge-C--7NhoW.js} +1 -1
- package/dist/{TrackingPage-CBmGvTW_.js → TrackingPage-BldUm_g7.js} +29 -29
- package/dist/{VehicleDetailsPage-DJXYkTN2.js → VehicleDetailsPage-Dqv--MVW.js} +21 -21
- package/dist/{VehiclesPage-r_snhuEj.js → VehiclesPage-CCBHRDHu.js} +9 -9
- package/dist/{WarehouseDetailsPage-nMZvp56W.js → WarehouseDetailsPage-ZObC_c7W.js} +19 -19
- package/dist/{WarehousesPage-BcJ_QrK3.js → WarehousesPage-CpgZEVW9.js} +8 -8
- package/dist/arrow-left-Bk5GsGNk.js +11 -0
- package/dist/{box-CnErOGkD.js → box-BAMv2-7M.js} +2 -2
- package/dist/{chart-column-CFT0jC9N.js → chart-column-CAfkf4o6.js} +2 -2
- package/dist/chevron-right-Czrt_Qew.js +8 -0
- package/dist/{circle-alert-B2pZQFzu.js → circle-alert-CEuV9Pij.js} +2 -2
- package/dist/circle-check-big-Cx8aO6B-.js +11 -0
- package/dist/{clock-DP-76dyQ.js → clock-Be95bq7_.js} +2 -2
- package/dist/{dollar-sign-CrwqdoEC.js → dollar-sign-kJqItPli.js} +2 -2
- package/dist/{download-CQqBpPk5.js → download-caab0D3V.js} +2 -2
- package/dist/{file-text-CnHcsdsc.js → file-text-b1qhrJn1.js} +2 -2
- package/dist/filter-BWmLTZB-.js +8 -0
- package/dist/index.js +52 -50
- package/dist/{map-qljBUQ1N.js → map-CS2aFgyO.js} +2 -2
- package/dist/{map-pin-4a-IA2NP.js → map-pin-96FeqL7H.js} +2 -2
- package/dist/navigation-i6UXEjTC.js +8 -0
- package/dist/{package-CPePjBwW.js → package-KhSi3xaT.js} +2 -2
- package/dist/{phone-2rkA8w_3.js → phone-B-h3tbsr.js} +2 -2
- package/dist/plus-D2BYAzMn.js +11 -0
- package/dist/{refresh-cw-oWEqfHnS.js → refresh-cw-D5Sy01s-.js} +2 -2
- package/dist/{route-DBljW-z4.js → route-CBDXuwH9.js} +2 -2
- package/dist/{save-Cjsx5R5Y.js → save-CMc7h-Vi.js} +2 -2
- package/dist/search-DVrUQbOg.js +13 -0
- package/dist/{settings-CX94mtOc.js → settings-BwzIRYv3.js} +2 -2
- package/dist/{square-pen-BIgbw83U.js → square-pen-DmW36Bau.js} +2 -2
- package/dist/{star-BW23nRLp.js → star-Cv2MzxZL.js} +2 -2
- package/dist/{store-Cdk0UEPT.js → store-CLH957vl.js} +2 -2
- package/dist/{trending-up-DYQ3Xns5.js → trending-up-l8M0BO_w.js} +2 -2
- package/dist/{triangle-alert-Ck_oBZ7n.js → triangle-alert-BI45s6bH.js} +2 -2
- package/dist/{truck-Cd54agV-.js → truck-DX3lNQkz.js} +2 -2
- package/dist/{user-CUEmQUkJ.js → user-D8EY1uvt.js} +2 -2
- package/dist/{users-e-wRlQnX.js → users-CfG0J8wP.js} +2 -2
- package/dist/{warehouse-DXnNb4kf.js → warehouse-Dt_bAr82.js} +2 -2
- package/dist/{wrench-DYJo0U8_.js → wrench-C50eI_Iy.js} +2 -2
- package/package.json +2 -2
- package/src/dev/main.tsx +4 -4
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +1 -1
- package/src/movethewheels/components/DataTable.tsx +6 -6
- package/src/movethewheels/components/MetricCard.tsx +9 -9
- package/src/movethewheels/components/PageLayout.tsx +12 -12
- package/src/movethewheels/components/ui.tsx +3 -3
- package/src/movethewheels/pages/AIAssistantPage.tsx +3 -3
- package/src/movethewheels/pages/AnalyticsPage.tsx +13 -13
- package/src/movethewheels/pages/CreateOrderPage.tsx +2 -2
- package/src/movethewheels/pages/CustomerDetailsPage.tsx +14 -14
- package/src/movethewheels/pages/CustomersPage.tsx +1 -1
- package/src/movethewheels/pages/DashboardPage.tsx +16 -16
- package/src/movethewheels/pages/DriverDetailsPage.tsx +17 -17
- package/src/movethewheels/pages/DriversPage.tsx +3 -3
- package/src/movethewheels/pages/FinancePage.tsx +4 -4
- package/src/movethewheels/pages/FleetPage.tsx +8 -8
- package/src/movethewheels/pages/ImportExportPage.tsx +5 -5
- package/src/movethewheels/pages/InventoryPage.tsx +7 -7
- package/src/movethewheels/pages/LiveTrackingPage.tsx +18 -18
- package/src/movethewheels/pages/MarketplacePage.tsx +6 -6
- package/src/movethewheels/pages/OrderDetailsPage.tsx +20 -20
- package/src/movethewheels/pages/OrdersListPage.tsx +2 -2
- package/src/movethewheels/pages/ProductDetailsPage.tsx +8 -8
- package/src/movethewheels/pages/ProductsPage.tsx +1 -1
- package/src/movethewheels/pages/ReportsPage.tsx +5 -5
- package/src/movethewheels/pages/RouteDetailsPage.tsx +13 -13
- package/src/movethewheels/pages/SettingsPage.tsx +2 -2
- package/src/movethewheels/pages/TrackingPage.tsx +21 -21
- package/src/movethewheels/pages/VehicleDetailsPage.tsx +13 -13
- package/src/movethewheels/pages/VehiclesPage.tsx +2 -2
- package/src/movethewheels/pages/WarehouseDetailsPage.tsx +11 -11
- package/src/movethewheels/pages/WarehousesPage.tsx +3 -3
- package/dist/arrow-left-Crb7WKr1.js +0 -11
- package/dist/chevron-right-Bzo6Rr8_.js +0 -8
- package/dist/circle-check-big-R_fjEgxM.js +0 -11
- package/dist/filter-CgTF21j9.js +0 -8
- package/dist/navigation-CqRTj3vI.js +0 -8
- package/dist/plus-Dew5yoQK.js +0 -11
- package/dist/search-FWYzDbBx.js +0 -13
|
@@ -1,15 +1,15 @@
|
|
|
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-
|
|
2
|
-
import { t as u } from "./arrow-left-
|
|
3
|
-
import { t as d } from "./clock-
|
|
4
|
-
import { t as f } from "./dollar-sign-
|
|
5
|
-
import { t as p } from "./file-text-
|
|
6
|
-
import { t as m } from "./map-pin-
|
|
7
|
-
import { t as h } from "./square-pen-
|
|
8
|
-
import { t as g } from "./star-
|
|
9
|
-
import { t as _ } from "./users-
|
|
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 "./clock-Be95bq7_.js";
|
|
4
|
+
import { t as f } from "./dollar-sign-kJqItPli.js";
|
|
5
|
+
import { t as p } from "./file-text-b1qhrJn1.js";
|
|
6
|
+
import { t as m } from "./map-pin-96FeqL7H.js";
|
|
7
|
+
import { t as h } from "./square-pen-DmW36Bau.js";
|
|
8
|
+
import { t as g } from "./star-Cv2MzxZL.js";
|
|
9
|
+
import { t as _ } from "./users-CfG0J8wP.js";
|
|
10
10
|
import { r as v } from "./graphqlClient-CdJyR_ed.js";
|
|
11
11
|
import { t as y } from "./useFleet-BdETplNE.js";
|
|
12
|
-
import { r as b } from "./StatusBadge-
|
|
12
|
+
import { r as b } from "./StatusBadge-C--7NhoW.js";
|
|
13
13
|
import { n as x, r as S } from "./formatters-_vJlC-47.js";
|
|
14
14
|
import { t as C } from "./navigation-BgnOfsVd.js";
|
|
15
15
|
import { useParams as w } from "react-router-dom";
|
|
@@ -49,7 +49,7 @@ function D() {
|
|
|
49
49
|
children: A.ratings.overall.toFixed(1)
|
|
50
50
|
}),
|
|
51
51
|
/* @__PURE__ */ E("span", {
|
|
52
|
-
className: "text-
|
|
52
|
+
className: "text-text-secondary",
|
|
53
53
|
children: [
|
|
54
54
|
"(",
|
|
55
55
|
A.ratings.totalRatings,
|
|
@@ -91,7 +91,7 @@ function D() {
|
|
|
91
91
|
value: A.ratings.onTimeDelivery
|
|
92
92
|
}
|
|
93
93
|
].map((t) => /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
94
|
-
className: "text-sm text-
|
|
94
|
+
className: "text-sm text-text-secondary",
|
|
95
95
|
children: t.label
|
|
96
96
|
}), /* @__PURE__ */ E("div", {
|
|
97
97
|
className: "flex items-center gap-2 mt-1",
|
|
@@ -111,7 +111,7 @@ function D() {
|
|
|
111
111
|
className: "grid grid-cols-2 md:grid-cols-4 gap-4",
|
|
112
112
|
children: [
|
|
113
113
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
114
|
-
className: "text-sm text-
|
|
114
|
+
className: "text-sm text-text-secondary",
|
|
115
115
|
children: "Shift"
|
|
116
116
|
}), /* @__PURE__ */ E("p", {
|
|
117
117
|
className: "font-medium",
|
|
@@ -122,14 +122,14 @@ function D() {
|
|
|
122
122
|
]
|
|
123
123
|
})] }),
|
|
124
124
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
125
|
-
className: "text-sm text-
|
|
125
|
+
className: "text-sm text-text-secondary",
|
|
126
126
|
children: "Working Days"
|
|
127
127
|
}), /* @__PURE__ */ E("p", {
|
|
128
128
|
className: "font-medium",
|
|
129
129
|
children: [A.workingHours.workingDays.length, " days/week"]
|
|
130
130
|
})] }),
|
|
131
131
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
132
|
-
className: "text-sm text-
|
|
132
|
+
className: "text-sm text-text-secondary",
|
|
133
133
|
children: "Hours Today"
|
|
134
134
|
}), /* @__PURE__ */ E("p", {
|
|
135
135
|
className: "font-medium",
|
|
@@ -141,7 +141,7 @@ function D() {
|
|
|
141
141
|
]
|
|
142
142
|
})] }),
|
|
143
143
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
144
|
-
className: "text-sm text-
|
|
144
|
+
className: "text-sm text-text-secondary",
|
|
145
145
|
children: "Hours This Week"
|
|
146
146
|
}), /* @__PURE__ */ E("p", {
|
|
147
147
|
className: "font-medium",
|
|
@@ -168,7 +168,7 @@ function D() {
|
|
|
168
168
|
children: "Driver's License"
|
|
169
169
|
}),
|
|
170
170
|
/* @__PURE__ */ E("p", {
|
|
171
|
-
className: "text-sm text-
|
|
171
|
+
className: "text-sm text-text-secondary",
|
|
172
172
|
children: [
|
|
173
173
|
A.licenseNumber,
|
|
174
174
|
" - ",
|
|
@@ -176,7 +176,7 @@ function D() {
|
|
|
176
176
|
]
|
|
177
177
|
}),
|
|
178
178
|
/* @__PURE__ */ E("p", {
|
|
179
|
-
className: "text-sm text-
|
|
179
|
+
className: "text-sm text-text-secondary",
|
|
180
180
|
children: ["Expires: ", S(A.licenseExpiry)]
|
|
181
181
|
})
|
|
182
182
|
] }), /* @__PURE__ */ T(o, {
|
|
@@ -189,7 +189,7 @@ function D() {
|
|
|
189
189
|
className: "font-medium capitalize",
|
|
190
190
|
children: e.type.replace("_", " ")
|
|
191
191
|
}), /* @__PURE__ */ E("p", {
|
|
192
|
-
className: "text-sm text-
|
|
192
|
+
className: "text-sm text-text-secondary",
|
|
193
193
|
children: ["Expires: ", S(e.expiryDate)]
|
|
194
194
|
})] }), /* @__PURE__ */ T(o, {
|
|
195
195
|
variant: e.verified ? "default" : "secondary",
|
|
@@ -205,21 +205,21 @@ function D() {
|
|
|
205
205
|
className: "space-y-4",
|
|
206
206
|
children: [
|
|
207
207
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
208
|
-
className: "text-sm text-
|
|
208
|
+
className: "text-sm text-text-secondary",
|
|
209
209
|
children: "Total Deliveries"
|
|
210
210
|
}), /* @__PURE__ */ T("p", {
|
|
211
211
|
className: "text-2xl font-bold",
|
|
212
212
|
children: A.completedOrders.toLocaleString()
|
|
213
213
|
})] }),
|
|
214
214
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
215
|
-
className: "text-sm text-
|
|
215
|
+
className: "text-sm text-text-secondary",
|
|
216
216
|
children: "Today's Deliveries"
|
|
217
217
|
}), /* @__PURE__ */ T("p", {
|
|
218
218
|
className: "text-2xl font-bold",
|
|
219
219
|
children: A.todayOrders
|
|
220
220
|
})] }),
|
|
221
221
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
222
|
-
className: "text-sm text-
|
|
222
|
+
className: "text-sm text-text-secondary",
|
|
223
223
|
children: "Join Date"
|
|
224
224
|
}), /* @__PURE__ */ T("p", {
|
|
225
225
|
className: "font-medium",
|
|
@@ -234,7 +234,7 @@ function D() {
|
|
|
234
234
|
className: "space-y-3",
|
|
235
235
|
children: [
|
|
236
236
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
237
|
-
className: "text-sm text-
|
|
237
|
+
className: "text-sm text-text-secondary",
|
|
238
238
|
children: "Total Earnings"
|
|
239
239
|
}), /* @__PURE__ */ T("p", {
|
|
240
240
|
className: "text-2xl font-bold",
|
|
@@ -243,13 +243,13 @@ function D() {
|
|
|
243
243
|
/* @__PURE__ */ E("div", {
|
|
244
244
|
className: "grid grid-cols-2 gap-3",
|
|
245
245
|
children: [/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
246
|
-
className: "text-sm text-
|
|
246
|
+
className: "text-sm text-text-secondary",
|
|
247
247
|
children: "This Week"
|
|
248
248
|
}), /* @__PURE__ */ T("p", {
|
|
249
249
|
className: "font-medium",
|
|
250
250
|
children: x(A.earnings.weeklyEarnings)
|
|
251
251
|
})] }), /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
252
|
-
className: "text-sm text-
|
|
252
|
+
className: "text-sm text-text-secondary",
|
|
253
253
|
children: "This Month"
|
|
254
254
|
}), /* @__PURE__ */ T("p", {
|
|
255
255
|
className: "font-medium",
|
|
@@ -257,7 +257,7 @@ function D() {
|
|
|
257
257
|
})] })]
|
|
258
258
|
}),
|
|
259
259
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
260
|
-
className: "text-sm text-
|
|
260
|
+
className: "text-sm text-text-secondary",
|
|
261
261
|
children: "Base Salary"
|
|
262
262
|
}), /* @__PURE__ */ E("p", {
|
|
263
263
|
className: "font-medium",
|
|
@@ -272,7 +272,7 @@ function D() {
|
|
|
272
272
|
className: "text-sm",
|
|
273
273
|
children: A.currentLocation.address || "Location updating..."
|
|
274
274
|
}), /* @__PURE__ */ E("p", {
|
|
275
|
-
className: "text-xs text-
|
|
275
|
+
className: "text-xs text-text-secondary mt-1",
|
|
276
276
|
children: ["Updated ", S(A.currentLocation.timestamp || /* @__PURE__ */ new Date(), "relative")]
|
|
277
277
|
})] })] }),
|
|
278
278
|
/* @__PURE__ */ E(t, { children: [/* @__PURE__ */ T(i, { children: /* @__PURE__ */ T(r, { children: "Compliance Status" }) }), /* @__PURE__ */ T(n, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { i as e, o as t, s as n, u as r } from "./PageLayout-
|
|
2
|
-
import { t as i } from "./DataTable-
|
|
3
|
-
import { t as a } from "./download-
|
|
4
|
-
import { t as o } from "./plus-
|
|
5
|
-
import { t as s } from "./refresh-cw-
|
|
6
|
-
import { t as c } from "./star-
|
|
7
|
-
import { t as l } from "./users-
|
|
1
|
+
import { i as e, o as t, s as n, u as r } from "./PageLayout-xDTiBTDS.js";
|
|
2
|
+
import { t as i } from "./DataTable-CZGz3SJu.js";
|
|
3
|
+
import { t as a } from "./download-caab0D3V.js";
|
|
4
|
+
import { t as o } from "./plus-D2BYAzMn.js";
|
|
5
|
+
import { t as s } from "./refresh-cw-D5Sy01s-.js";
|
|
6
|
+
import { t as c } from "./star-Cv2MzxZL.js";
|
|
7
|
+
import { t as l } from "./users-CfG0J8wP.js";
|
|
8
8
|
import { r as u } from "./graphqlClient-CdJyR_ed.js";
|
|
9
9
|
import { n as d } from "./useFleet-BdETplNE.js";
|
|
10
|
-
import { r as f } from "./StatusBadge-
|
|
10
|
+
import { r as f } from "./StatusBadge-C--7NhoW.js";
|
|
11
11
|
import { r as p } from "./formatters-_vJlC-47.js";
|
|
12
12
|
import { t as m } from "./navigation-BgnOfsVd.js";
|
|
13
13
|
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
@@ -44,7 +44,7 @@ function _() {
|
|
|
44
44
|
className: "font-medium",
|
|
45
45
|
children: e.fullName
|
|
46
46
|
}), /* @__PURE__ */ h("p", {
|
|
47
|
-
className: "text-sm text-
|
|
47
|
+
className: "text-sm text-text-secondary",
|
|
48
48
|
children: e.employeeId
|
|
49
49
|
})] })]
|
|
50
50
|
})
|
|
@@ -74,7 +74,7 @@ function _() {
|
|
|
74
74
|
children: e.ratings.overall.toFixed(1)
|
|
75
75
|
}),
|
|
76
76
|
/* @__PURE__ */ g("span", {
|
|
77
|
-
className: "text-
|
|
77
|
+
className: "text-text-secondary text-sm",
|
|
78
78
|
children: [
|
|
79
79
|
"(",
|
|
80
80
|
e.ratings.totalRatings,
|
|
@@ -100,7 +100,7 @@ function _() {
|
|
|
100
100
|
cell: (e) => /* @__PURE__ */ g("div", {
|
|
101
101
|
className: "text-sm",
|
|
102
102
|
children: [/* @__PURE__ */ h("p", { children: e.licenseType }), /* @__PURE__ */ g("p", {
|
|
103
|
-
className: "text-
|
|
103
|
+
className: "text-text-secondary",
|
|
104
104
|
children: ["Exp: ", p(e.licenseExpiry, "short")]
|
|
105
105
|
})]
|
|
106
106
|
})
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { d as e, f as t, g as n, h as r, i, it as a, u as o } from "./PageLayout-
|
|
2
|
-
import { t as s } from "./dollar-sign-
|
|
3
|
-
import { t as c } from "./download-
|
|
4
|
-
import { t as l } from "./file-text-
|
|
5
|
-
import { t as u } from "./trending-up-
|
|
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";
|
|
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-
|
|
8
|
+
import { r as p, t as m } from "./MetricCard-DeHVeVwl.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
|
-
//#region
|
|
11
|
+
//#region node_modules/lucide-react/dist/esm/icons/credit-card.js
|
|
12
12
|
var v = a("CreditCard", [["rect", {
|
|
13
13
|
width: "20",
|
|
14
14
|
height: "14",
|
|
@@ -77,7 +77,7 @@ function y() {
|
|
|
77
77
|
children: [/* @__PURE__ */ _(e, { children: [/* @__PURE__ */ g(r, { children: /* @__PURE__ */ g(n, { children: "Revenue by Month" }) }), /* @__PURE__ */ g(t, { children: /* @__PURE__ */ g("div", {
|
|
78
78
|
className: "space-y-4",
|
|
79
79
|
children: a.trends.revenue.map((e) => /* @__PURE__ */ _("div", {
|
|
80
|
-
className: "flex items-center justify-between p-3 bg-
|
|
80
|
+
className: "flex items-center justify-between p-3 bg-bg-sunken/50 rounded-lg",
|
|
81
81
|
children: [/* @__PURE__ */ _("span", {
|
|
82
82
|
className: "font-medium",
|
|
83
83
|
children: [e.month, " 2024"]
|
|
@@ -102,7 +102,7 @@ function y() {
|
|
|
102
102
|
className: "font-medium",
|
|
103
103
|
children: "Paid"
|
|
104
104
|
}), /* @__PURE__ */ _("p", {
|
|
105
|
-
className: "text-sm text-
|
|
105
|
+
className: "text-sm text-text-secondary",
|
|
106
106
|
children: [y.byStatus.delivered, " orders"]
|
|
107
107
|
})] })]
|
|
108
108
|
}), /* @__PURE__ */ g("span", {
|
|
@@ -123,7 +123,7 @@ function y() {
|
|
|
123
123
|
className: "font-medium",
|
|
124
124
|
children: "Pending"
|
|
125
125
|
}), /* @__PURE__ */ _("p", {
|
|
126
|
-
className: "text-sm text-
|
|
126
|
+
className: "text-sm text-text-secondary",
|
|
127
127
|
children: [y.byStatus.pending + y.byStatus.in_transit, " orders"]
|
|
128
128
|
})] })]
|
|
129
129
|
}), /* @__PURE__ */ g("span", {
|
|
@@ -134,7 +134,7 @@ function y() {
|
|
|
134
134
|
}) })] })]
|
|
135
135
|
}),
|
|
136
136
|
/* @__PURE__ */ _(e, { children: [/* @__PURE__ */ g(r, { children: /* @__PURE__ */ g(n, { children: "Recent Transactions" }) }), /* @__PURE__ */ g(t, { children: /* @__PURE__ */ _("div", {
|
|
137
|
-
className: "text-center py-8 text-
|
|
137
|
+
className: "text-center py-8 text-text-secondary",
|
|
138
138
|
children: [
|
|
139
139
|
/* @__PURE__ */ g(l, {
|
|
140
140
|
size: 48,
|
|
@@ -1,13 +1,13 @@
|
|
|
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-
|
|
2
|
-
import { t as u } from "./chevron-right-
|
|
3
|
-
import { n as d, t as f } from "./wrench-
|
|
4
|
-
import { t as p } from "./star-
|
|
5
|
-
import { t as m } from "./truck-
|
|
6
|
-
import { t as h } from "./users-
|
|
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";
|
|
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-
|
|
10
|
-
import { a as S, r as C } from "./StatusBadge-
|
|
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";
|
|
11
11
|
import { t as w } from "./navigation-BgnOfsVd.js";
|
|
12
12
|
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
13
13
|
import { useI18n as D } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
@@ -87,14 +87,14 @@ function O() {
|
|
|
87
87
|
children: /* @__PURE__ */ T("div", {
|
|
88
88
|
className: "divide-y",
|
|
89
89
|
children: N.slice(0, 5).map((t) => /* @__PURE__ */ T("div", {
|
|
90
|
-
className: "p-4 hover:bg-
|
|
90
|
+
className: "p-4 hover:bg-bg-sunken/50 cursor-pointer transition-colors",
|
|
91
91
|
onClick: () => F(`fleet/vehicles/${t.id}`),
|
|
92
92
|
children: /* @__PURE__ */ E("div", {
|
|
93
93
|
className: "flex items-center justify-between",
|
|
94
94
|
children: [/* @__PURE__ */ E("div", {
|
|
95
95
|
className: "flex items-center gap-3",
|
|
96
96
|
children: [/* @__PURE__ */ T("div", {
|
|
97
|
-
className: "w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center",
|
|
97
|
+
className: "w-10 h-10 rounded-lg bg-action-primary-bg/10 flex items-center justify-center",
|
|
98
98
|
children: /* @__PURE__ */ T(m, {
|
|
99
99
|
size: 20,
|
|
100
100
|
className: "text-primary"
|
|
@@ -109,7 +109,7 @@ function O() {
|
|
|
109
109
|
size: "sm"
|
|
110
110
|
})]
|
|
111
111
|
}), /* @__PURE__ */ E("p", {
|
|
112
|
-
className: "text-sm text-
|
|
112
|
+
className: "text-sm text-text-secondary",
|
|
113
113
|
children: [
|
|
114
114
|
t.make,
|
|
115
115
|
" ",
|
|
@@ -130,14 +130,14 @@ function O() {
|
|
|
130
130
|
children: [
|
|
131
131
|
/* @__PURE__ */ T(d, {
|
|
132
132
|
size: 12,
|
|
133
|
-
className: "text-
|
|
133
|
+
className: "text-text-secondary"
|
|
134
134
|
}),
|
|
135
135
|
/* @__PURE__ */ T(e, {
|
|
136
136
|
value: t.fuelLevel,
|
|
137
137
|
className: "w-16 h-2"
|
|
138
138
|
}),
|
|
139
139
|
/* @__PURE__ */ E("span", {
|
|
140
|
-
className: "text-xs text-
|
|
140
|
+
className: "text-xs text-text-secondary",
|
|
141
141
|
children: [t.fuelLevel, "%"]
|
|
142
142
|
})
|
|
143
143
|
]
|
|
@@ -164,7 +164,7 @@ function O() {
|
|
|
164
164
|
children: /* @__PURE__ */ T("div", {
|
|
165
165
|
className: "divide-y",
|
|
166
166
|
children: P.slice(0, 5).map((e) => /* @__PURE__ */ T("div", {
|
|
167
|
-
className: "p-4 hover:bg-
|
|
167
|
+
className: "p-4 hover:bg-bg-sunken/50 cursor-pointer transition-colors",
|
|
168
168
|
onClick: () => F(`fleet/drivers/${e.id}`),
|
|
169
169
|
children: /* @__PURE__ */ E("div", {
|
|
170
170
|
className: "flex items-center justify-between",
|
|
@@ -174,7 +174,7 @@ function O() {
|
|
|
174
174
|
className: "font-medium",
|
|
175
175
|
children: e.fullName
|
|
176
176
|
}), /* @__PURE__ */ E("p", {
|
|
177
|
-
className: "text-sm text-
|
|
177
|
+
className: "text-sm text-text-secondary",
|
|
178
178
|
children: [
|
|
179
179
|
e.employeeId,
|
|
180
180
|
" - ",
|
|
@@ -270,7 +270,7 @@ function O() {
|
|
|
270
270
|
className: "font-medium",
|
|
271
271
|
children: e.vehicleNumber
|
|
272
272
|
}), /* @__PURE__ */ E("p", {
|
|
273
|
-
className: "text-sm text-
|
|
273
|
+
className: "text-sm text-text-secondary",
|
|
274
274
|
children: [
|
|
275
275
|
e.make,
|
|
276
276
|
" ",
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
2
|
-
import { t as c } from "./download-
|
|
3
|
-
import { t as l } from "./file-text-
|
|
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";
|
|
4
4
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
5
|
-
//#region
|
|
5
|
+
//#region node_modules/lucide-react/dist/esm/icons/check.js
|
|
6
6
|
var f = a("Check", [["path", {
|
|
7
7
|
d: "M20 6 9 17l-5-5",
|
|
8
8
|
key: "1gmf2c"
|
|
@@ -92,7 +92,7 @@ function h() {
|
|
|
92
92
|
children: [/* @__PURE__ */ d("div", {
|
|
93
93
|
className: "flex items-center gap-3",
|
|
94
94
|
children: [/* @__PURE__ */ u("div", {
|
|
95
|
-
className: "w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center",
|
|
95
|
+
className: "w-10 h-10 rounded-lg bg-action-primary-bg/10 flex items-center justify-center",
|
|
96
96
|
children: /* @__PURE__ */ u(e.icon, {
|
|
97
97
|
size: 20,
|
|
98
98
|
className: "text-primary"
|
|
@@ -101,7 +101,7 @@ function h() {
|
|
|
101
101
|
className: "font-medium",
|
|
102
102
|
children: e.name
|
|
103
103
|
}), /* @__PURE__ */ u("p", {
|
|
104
|
-
className: "text-sm text-
|
|
104
|
+
className: "text-sm text-text-secondary",
|
|
105
105
|
children: e.description
|
|
106
106
|
})] })]
|
|
107
107
|
}), /* @__PURE__ */ d("div", {
|
|
@@ -161,7 +161,7 @@ function h() {
|
|
|
161
161
|
className: "font-medium",
|
|
162
162
|
children: e.name
|
|
163
163
|
}), /* @__PURE__ */ u("p", {
|
|
164
|
-
className: "text-sm text-
|
|
164
|
+
className: "text-sm text-text-secondary",
|
|
165
165
|
children: e.description
|
|
166
166
|
})] }), /* @__PURE__ */ u("div", {
|
|
167
167
|
className: "flex gap-1",
|
|
@@ -195,7 +195,7 @@ function h() {
|
|
|
195
195
|
status: "completed"
|
|
196
196
|
}
|
|
197
197
|
].map((e, t) => /* @__PURE__ */ d("div", {
|
|
198
|
-
className: "flex items-center justify-between p-3 bg-
|
|
198
|
+
className: "flex items-center justify-between p-3 bg-bg-sunken/50 rounded-lg",
|
|
199
199
|
children: [/* @__PURE__ */ d("div", {
|
|
200
200
|
className: "flex items-center gap-3",
|
|
201
201
|
children: [e.type === "import" ? /* @__PURE__ */ u(m, {
|
|
@@ -208,7 +208,7 @@ function h() {
|
|
|
208
208
|
className: "font-medium",
|
|
209
209
|
children: e.name
|
|
210
210
|
}), /* @__PURE__ */ d("p", {
|
|
211
|
-
className: "text-sm text-
|
|
211
|
+
className: "text-sm text-text-secondary",
|
|
212
212
|
children: [
|
|
213
213
|
e.type === "import" ? "Imported" : "Exported",
|
|
214
214
|
" on ",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { M as e, a as t, d as n, f as r, g as i, h as a, i as o, l as s, u as c } from "./PageLayout-
|
|
2
|
-
import { t as l } from "./chevron-right-
|
|
3
|
-
import { t as u } from "./package-
|
|
4
|
-
import { t as d } from "./plus-
|
|
5
|
-
import { t as f } from "./triangle-alert-
|
|
6
|
-
import { t as p } from "./warehouse-
|
|
1
|
+
import { M as e, a as t, d as n, f as r, g as i, h as a, i as o, l as s, u as c } from "./PageLayout-xDTiBTDS.js";
|
|
2
|
+
import { t as l } from "./chevron-right-Czrt_Qew.js";
|
|
3
|
+
import { t as u } from "./package-KhSi3xaT.js";
|
|
4
|
+
import { t as d } from "./plus-D2BYAzMn.js";
|
|
5
|
+
import { t as f } from "./triangle-alert-BI45s6bH.js";
|
|
6
|
+
import { t as p } from "./warehouse-Dt_bAr82.js";
|
|
7
7
|
import { r as m } from "./graphqlClient-CdJyR_ed.js";
|
|
8
8
|
import { n as h, t as g } from "./useInventory-Dwn18FPz.js";
|
|
9
|
-
import { r as _, t as v } from "./MetricCard-
|
|
9
|
+
import { r as _, t as v } from "./MetricCard-DeHVeVwl.js";
|
|
10
10
|
import { n as y } from "./formatters-_vJlC-47.js";
|
|
11
11
|
import { t as b } from "./navigation-BgnOfsVd.js";
|
|
12
12
|
import { jsx as x, jsxs as S } from "react/jsx-runtime";
|
|
@@ -92,7 +92,7 @@ function w() {
|
|
|
92
92
|
className: "font-medium",
|
|
93
93
|
children: t?.name || T("movethewheels.inventory.lowStock.unknownProduct", "Unknown Product")
|
|
94
94
|
}), /* @__PURE__ */ S("p", {
|
|
95
|
-
className: "text-sm text-
|
|
95
|
+
className: "text-sm text-text-secondary",
|
|
96
96
|
children: [
|
|
97
97
|
T("movethewheels.inventory.lowStock.sku", "SKU:"),
|
|
98
98
|
" ",
|
|
@@ -108,7 +108,7 @@ function w() {
|
|
|
108
108
|
T("movethewheels.inventory.lowStock.left", "left")
|
|
109
109
|
]
|
|
110
110
|
}), /* @__PURE__ */ S("p", {
|
|
111
|
-
className: "text-sm text-
|
|
111
|
+
className: "text-sm text-text-secondary",
|
|
112
112
|
children: [
|
|
113
113
|
T("movethewheels.inventory.lowStock.reorderAt", "Reorder at:"),
|
|
114
114
|
" ",
|
|
@@ -139,7 +139,7 @@ function w() {
|
|
|
139
139
|
children: /* @__PURE__ */ x("div", {
|
|
140
140
|
className: "divide-y",
|
|
141
141
|
children: A.map((t) => /* @__PURE__ */ x("div", {
|
|
142
|
-
className: "p-4 hover:bg-
|
|
142
|
+
className: "p-4 hover:bg-bg-sunken/50 cursor-pointer",
|
|
143
143
|
onClick: () => M(`inventory/warehouses/${t.id}`),
|
|
144
144
|
children: /* @__PURE__ */ S("div", {
|
|
145
145
|
className: "flex items-center justify-between",
|
|
@@ -147,7 +147,7 @@ function w() {
|
|
|
147
147
|
className: "font-medium",
|
|
148
148
|
children: t.name
|
|
149
149
|
}), /* @__PURE__ */ S("p", {
|
|
150
|
-
className: "text-sm text-
|
|
150
|
+
className: "text-sm text-text-secondary",
|
|
151
151
|
children: [
|
|
152
152
|
t.address.city,
|
|
153
153
|
", ",
|
|
@@ -161,7 +161,7 @@ function w() {
|
|
|
161
161
|
}), /* @__PURE__ */ S("div", {
|
|
162
162
|
className: "mt-2",
|
|
163
163
|
children: [/* @__PURE__ */ x("p", {
|
|
164
|
-
className: "text-xs text-
|
|
164
|
+
className: "text-xs text-text-secondary",
|
|
165
165
|
children: T("movethewheels.inventory.warehouses.utilization", "Utilization")
|
|
166
166
|
}), /* @__PURE__ */ x(e, {
|
|
167
167
|
value: t.capacity.usedSpace / t.capacity.totalSpace * 100,
|
|
@@ -190,7 +190,7 @@ function w() {
|
|
|
190
190
|
children: /* @__PURE__ */ x("div", {
|
|
191
191
|
className: "divide-y",
|
|
192
192
|
children: k.slice(0, 5).map((e) => /* @__PURE__ */ x("div", {
|
|
193
|
-
className: "p-4 hover:bg-
|
|
193
|
+
className: "p-4 hover:bg-bg-sunken/50 cursor-pointer",
|
|
194
194
|
onClick: () => M(`inventory/products/${e.id}`),
|
|
195
195
|
children: /* @__PURE__ */ S("div", {
|
|
196
196
|
className: "flex items-center justify-between",
|
|
@@ -198,7 +198,7 @@ function w() {
|
|
|
198
198
|
className: "font-medium",
|
|
199
199
|
children: e.name
|
|
200
200
|
}), /* @__PURE__ */ x("p", {
|
|
201
|
-
className: "text-sm text-
|
|
201
|
+
className: "text-sm text-text-secondary",
|
|
202
202
|
children: e.sku
|
|
203
203
|
})] }), /* @__PURE__ */ S("div", {
|
|
204
204
|
className: "text-right",
|