@burdenoff/microfe-movethewheels 2026.608.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-BUbxI1DZ.js → AIAssistantPage-BrHX2lQn.js} +7 -7
- package/dist/{AnalyticsPage-O9Vf8Dwq.js → AnalyticsPage-DI6Wcaw5.js} +21 -21
- package/dist/{CreateOrderPage-Brdt5ORS.js → CreateOrderPage-DfkSi6JF.js} +7 -7
- package/dist/{CustomerDetailsPage-LT91VM3X.js → CustomerDetailsPage-DzAIu_tH.js} +23 -23
- package/dist/{CustomersPage-CUiLQUJm.js → CustomersPage-d21ixOYa.js} +9 -9
- package/dist/{DashboardPage-BrKLxGfX.js → DashboardPage-3ZOnwg1a.js} +28 -28
- package/dist/{DataTable-CURKZEs6.js → DataTable-CZGz3SJu.js} +9 -9
- package/dist/{DriverDetailsPage-CjiyL21X.js → DriverDetailsPage-YuZSlPSV.js} +27 -27
- package/dist/{DriversPage-gyIfrehH.js → DriversPage-BOhqEBTv.js} +11 -11
- package/dist/{FinancePage-DcM60Jng.js → FinancePage-CnjUNXOb.js} +10 -10
- package/dist/{FleetPage-DdlePEuZ.js → FleetPage-CPS7r4J3.js} +16 -16
- package/dist/{ImportExportPage-C5bHlZI0.js → ImportExportPage-zNjs7xsV.js} +8 -8
- package/dist/{InventoryPage-gB9U9ETf.js → InventoryPage-C9g5d3SW.js} +14 -14
- package/dist/{LiveTrackingPage-WAzNtVFO.js → LiveTrackingPage-DoBvtdBG.js} +25 -25
- package/dist/{MarketplacePage-DP578-eZ.js → MarketplacePage-BEj5hcBF.js} +13 -13
- package/dist/{MetricCard-HTOS1RkB.js → MetricCard-DeHVeVwl.js} +10 -10
- package/dist/{OrderDetailsPage-Bg7u_QSC.js → OrderDetailsPage-D-9lDZYU.js} +33 -33
- package/dist/{OrdersListPage-BrQEqQUt.js → OrdersListPage-CJzHbgY3.js} +10 -10
- package/dist/{PageLayout-Cx6tBSnW.js → PageLayout-xDTiBTDS.js} +15 -15
- package/dist/{ProductDetailsPage-NsnWA1dj.js → ProductDetailsPage-3rKtzXpy.js} +14 -14
- package/dist/{ProductsPage-DlVca4Zw.js → ProductsPage-B0P_wjBJ.js} +7 -7
- package/dist/{ReportsPage-DNyMlHBa.js → ReportsPage-B8OyWGzl.js} +9 -9
- package/dist/{RouteDetailsPage-v1hP0gon.js → RouteDetailsPage-DGjKTUMj.js} +21 -21
- package/dist/{RoutesPage-B29pjLYw.js → RoutesPage-CpopY8xN.js} +6 -6
- package/dist/{SettingsPage-Dc69VFp5.js → SettingsPage-BvXSa3gi.js} +6 -6
- package/dist/{StatusBadge-SwGn_ywm.js → StatusBadge-C--7NhoW.js} +1 -1
- package/dist/{TrackingPage-B5Eu8qGm.js → TrackingPage-BldUm_g7.js} +29 -29
- package/dist/{VehicleDetailsPage-HcOD6Pk3.js → VehicleDetailsPage-Dqv--MVW.js} +21 -21
- package/dist/{VehiclesPage-CZ1LAkKJ.js → VehiclesPage-CCBHRDHu.js} +9 -9
- package/dist/{WarehouseDetailsPage-Dx-trvss.js → WarehouseDetailsPage-ZObC_c7W.js} +19 -19
- package/dist/{WarehousesPage-B8xN_M0u.js → WarehousesPage-CpgZEVW9.js} +8 -8
- package/dist/{arrow-left-CpFBU1qX.js → arrow-left-Bk5GsGNk.js} +1 -1
- package/dist/{box-wPJodvyK.js → box-BAMv2-7M.js} +1 -1
- package/dist/{chart-column-DukPCPUU.js → chart-column-CAfkf4o6.js} +1 -1
- package/dist/{chevron-right-DmzKohhc.js → chevron-right-Czrt_Qew.js} +1 -1
- package/dist/{circle-alert-CgG5wQ-2.js → circle-alert-CEuV9Pij.js} +1 -1
- package/dist/{circle-check-big-D_7vNTwa.js → circle-check-big-Cx8aO6B-.js} +1 -1
- package/dist/{clock-BtXZr7fE.js → clock-Be95bq7_.js} +1 -1
- package/dist/{dollar-sign-HyTzP613.js → dollar-sign-kJqItPli.js} +1 -1
- package/dist/{download-BHjbdb4v.js → download-caab0D3V.js} +1 -1
- package/dist/{file-text-D8RtxCbW.js → file-text-b1qhrJn1.js} +1 -1
- package/dist/{filter-ba49fTRx.js → filter-BWmLTZB-.js} +1 -1
- package/dist/index.js +17 -17
- package/dist/{map-Bwq07r3p.js → map-CS2aFgyO.js} +1 -1
- package/dist/{map-pin-DZ69qrkR.js → map-pin-96FeqL7H.js} +1 -1
- package/dist/{navigation-BACeJfTU.js → navigation-i6UXEjTC.js} +1 -1
- package/dist/{package-D2YxQAWg.js → package-KhSi3xaT.js} +1 -1
- package/dist/{phone-DELXvsAt.js → phone-B-h3tbsr.js} +1 -1
- package/dist/{plus-5qDIjZzn.js → plus-D2BYAzMn.js} +1 -1
- package/dist/{refresh-cw-DzW1cQZL.js → refresh-cw-D5Sy01s-.js} +1 -1
- package/dist/{route-scX38DS4.js → route-CBDXuwH9.js} +1 -1
- package/dist/{save-Bccpm0wV.js → save-CMc7h-Vi.js} +1 -1
- package/dist/{search-_GVS50vu.js → search-DVrUQbOg.js} +1 -1
- package/dist/{settings-CxB_IPZI.js → settings-BwzIRYv3.js} +1 -1
- package/dist/{square-pen-BkFBBjTs.js → square-pen-DmW36Bau.js} +1 -1
- package/dist/{star-BM-LiXQR.js → star-Cv2MzxZL.js} +1 -1
- package/dist/{store-Cg2Vd_XL.js → store-CLH957vl.js} +1 -1
- package/dist/{trending-up-BA8s_xis.js → trending-up-l8M0BO_w.js} +1 -1
- package/dist/{triangle-alert-Btbx5sGB.js → triangle-alert-BI45s6bH.js} +1 -1
- package/dist/{truck-BGdj-8jS.js → truck-DX3lNQkz.js} +1 -1
- package/dist/{user-BbhBzzMf.js → user-D8EY1uvt.js} +1 -1
- package/dist/{users-JZ-uxZg6.js → users-CfG0J8wP.js} +1 -1
- package/dist/{warehouse-DLJzhS3m.js → warehouse-Dt_bAr82.js} +1 -1
- package/dist/{wrench-DIpYC1MO.js → wrench-C50eI_Iy.js} +1 -1
- package/package.json +3 -3
- 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
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { J as e, N as t, X as n, Z as r, d as i, f as a, g as o, h as s, i as c, it as l, l as u, u as d } from "./PageLayout-
|
|
2
|
-
import { t as f } from "./map-pin-
|
|
3
|
-
import { t as p } from "./map-
|
|
4
|
-
import { t as m } from "./package-
|
|
5
|
-
import { t as h } from "./refresh-cw-
|
|
6
|
-
import { t as g } from "./truck-
|
|
1
|
+
import { J as e, N as t, X as n, Z as r, d as i, f as a, g as o, h as s, i as c, it as l, l as u, u as d } from "./PageLayout-xDTiBTDS.js";
|
|
2
|
+
import { t as f } from "./map-pin-96FeqL7H.js";
|
|
3
|
+
import { t as p } from "./map-CS2aFgyO.js";
|
|
4
|
+
import { t as m } from "./package-KhSi3xaT.js";
|
|
5
|
+
import { t as h } from "./refresh-cw-D5Sy01s-.js";
|
|
6
|
+
import { t as g } from "./truck-DX3lNQkz.js";
|
|
7
7
|
import { r as _ } from "./graphqlClient-CdJyR_ed.js";
|
|
8
8
|
import { o as v, r as y } from "./useTracking-De2KIUNu.js";
|
|
9
|
-
import { r as b, t as x } from "./MetricCard-
|
|
10
|
-
import { r as S } from "./StatusBadge-
|
|
9
|
+
import { r as b, t as x } from "./MetricCard-DeHVeVwl.js";
|
|
10
|
+
import { r as S } from "./StatusBadge-C--7NhoW.js";
|
|
11
11
|
import { r as C } from "./formatters-_vJlC-47.js";
|
|
12
12
|
import { t as w } from "./navigation-BgnOfsVd.js";
|
|
13
13
|
import { useState as T } from "react";
|
|
@@ -108,9 +108,9 @@ function k() {
|
|
|
108
108
|
children: /* @__PURE__ */ E(a, {
|
|
109
109
|
className: "p-0 h-full",
|
|
110
110
|
children: /* @__PURE__ */ E("div", {
|
|
111
|
-
className: "w-full h-full bg-
|
|
111
|
+
className: "w-full h-full bg-bg-sunken rounded-lg flex items-center justify-center",
|
|
112
112
|
children: /* @__PURE__ */ D("div", {
|
|
113
|
-
className: "text-center text-
|
|
113
|
+
className: "text-center text-text-secondary",
|
|
114
114
|
children: [
|
|
115
115
|
/* @__PURE__ */ E(f, {
|
|
116
116
|
size: 64,
|
|
@@ -143,7 +143,7 @@ function k() {
|
|
|
143
143
|
children: /* @__PURE__ */ D("div", {
|
|
144
144
|
className: "divide-y",
|
|
145
145
|
children: [A.map((e) => e.order ? /* @__PURE__ */ E("div", {
|
|
146
|
-
className: `p-4 hover:bg-
|
|
146
|
+
className: `p-4 hover:bg-bg-sunken/50 cursor-pointer transition-colors ${I === e.order.id ? "bg-bg-sunken/50" : ""}`,
|
|
147
147
|
onClick: () => L(e.order.id),
|
|
148
148
|
children: /* @__PURE__ */ D("div", {
|
|
149
149
|
className: "flex items-start justify-between",
|
|
@@ -160,11 +160,11 @@ function k() {
|
|
|
160
160
|
})]
|
|
161
161
|
}),
|
|
162
162
|
/* @__PURE__ */ E("p", {
|
|
163
|
-
className: "text-sm text-
|
|
163
|
+
className: "text-sm text-text-secondary",
|
|
164
164
|
children: e.order.customerInfo.name
|
|
165
165
|
}),
|
|
166
166
|
/* @__PURE__ */ D("p", {
|
|
167
|
-
className: "text-sm text-
|
|
167
|
+
className: "text-sm text-text-secondary",
|
|
168
168
|
children: [e.driver?.fullName || "Unassigned", e.vehicle && ` - ${e.vehicle.vehicleNumber}`]
|
|
169
169
|
})
|
|
170
170
|
] }), /* @__PURE__ */ D("div", {
|
|
@@ -177,13 +177,13 @@ function k() {
|
|
|
177
177
|
e.estimatedArrival ? C(e.estimatedArrival, "time") : "N/A"
|
|
178
178
|
]
|
|
179
179
|
}), /* @__PURE__ */ E("p", {
|
|
180
|
-
className: "text-xs text-
|
|
180
|
+
className: "text-xs text-text-secondary",
|
|
181
181
|
children: e.tracking?.currentLocation.address || "Location updating..."
|
|
182
182
|
})]
|
|
183
183
|
})]
|
|
184
184
|
})
|
|
185
185
|
}, e.order.id) : null), A.length === 0 && /* @__PURE__ */ E("div", {
|
|
186
|
-
className: "p-8 text-center text-
|
|
186
|
+
className: "p-8 text-center text-text-secondary",
|
|
187
187
|
children: "No active deliveries"
|
|
188
188
|
})]
|
|
189
189
|
})
|
|
@@ -204,7 +204,7 @@ function k() {
|
|
|
204
204
|
className: "space-y-4",
|
|
205
205
|
children: [
|
|
206
206
|
/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
|
|
207
|
-
className: "text-sm text-
|
|
207
|
+
className: "text-sm text-text-secondary",
|
|
208
208
|
children: "Order"
|
|
209
209
|
}), /* @__PURE__ */ E("p", {
|
|
210
210
|
className: "font-medium",
|
|
@@ -212,7 +212,7 @@ function k() {
|
|
|
212
212
|
})] }),
|
|
213
213
|
/* @__PURE__ */ D("div", { children: [
|
|
214
214
|
/* @__PURE__ */ E("p", {
|
|
215
|
-
className: "text-sm text-
|
|
215
|
+
className: "text-sm text-text-secondary",
|
|
216
216
|
children: "Customer"
|
|
217
217
|
}),
|
|
218
218
|
/* @__PURE__ */ E("p", {
|
|
@@ -220,33 +220,33 @@ function k() {
|
|
|
220
220
|
children: z.order?.customerInfo.name ?? "-"
|
|
221
221
|
}),
|
|
222
222
|
/* @__PURE__ */ E("p", {
|
|
223
|
-
className: "text-sm text-
|
|
223
|
+
className: "text-sm text-text-secondary",
|
|
224
224
|
children: z.order?.customerInfo.phone ?? "-"
|
|
225
225
|
})
|
|
226
226
|
] }),
|
|
227
227
|
/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
|
|
228
|
-
className: "text-sm text-
|
|
228
|
+
className: "text-sm text-text-secondary",
|
|
229
229
|
children: "Driver"
|
|
230
230
|
}), /* @__PURE__ */ E("p", {
|
|
231
231
|
className: "font-medium",
|
|
232
232
|
children: z.driver?.fullName || "Unassigned"
|
|
233
233
|
})] }),
|
|
234
234
|
/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
|
|
235
|
-
className: "text-sm text-
|
|
235
|
+
className: "text-sm text-text-secondary",
|
|
236
236
|
children: "Vehicle"
|
|
237
237
|
}), /* @__PURE__ */ E("p", {
|
|
238
238
|
className: "font-medium",
|
|
239
239
|
children: z.vehicle ? `${z.vehicle.vehicleNumber} - ${z.vehicle.make} ${z.vehicle.model}` : "Not assigned"
|
|
240
240
|
})] }),
|
|
241
241
|
/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
|
|
242
|
-
className: "text-sm text-
|
|
242
|
+
className: "text-sm text-text-secondary",
|
|
243
243
|
children: "Current Location"
|
|
244
244
|
}), /* @__PURE__ */ E("p", {
|
|
245
245
|
className: "text-sm",
|
|
246
246
|
children: z.tracking?.currentLocation.address || "Updating..."
|
|
247
247
|
})] }),
|
|
248
248
|
/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
|
|
249
|
-
className: "text-sm text-
|
|
249
|
+
className: "text-sm text-text-secondary",
|
|
250
250
|
children: "Estimated Arrival"
|
|
251
251
|
}), /* @__PURE__ */ E("p", {
|
|
252
252
|
className: "font-medium",
|
|
@@ -269,7 +269,7 @@ function k() {
|
|
|
269
269
|
})
|
|
270
270
|
]
|
|
271
271
|
})] }) : /* @__PURE__ */ E(i, { children: /* @__PURE__ */ D(a, {
|
|
272
|
-
className: "p-8 text-center text-
|
|
272
|
+
className: "p-8 text-center text-text-secondary",
|
|
273
273
|
children: [/* @__PURE__ */ E(f, {
|
|
274
274
|
size: 32,
|
|
275
275
|
className: "mx-auto mb-2 opacity-50"
|
|
@@ -289,12 +289,12 @@ function k() {
|
|
|
289
289
|
className: "font-medium",
|
|
290
290
|
children: e.message
|
|
291
291
|
}), /* @__PURE__ */ E("p", {
|
|
292
|
-
className: "text-xs text-
|
|
292
|
+
className: "text-xs text-text-secondary mt-1",
|
|
293
293
|
children: C(e.timestamp, "relative")
|
|
294
294
|
})]
|
|
295
295
|
}, e.id))
|
|
296
296
|
}) : /* @__PURE__ */ E("div", {
|
|
297
|
-
className: "text-center text-
|
|
297
|
+
className: "text-center text-text-secondary py-4",
|
|
298
298
|
children: /* @__PURE__ */ E("p", {
|
|
299
299
|
className: "text-sm",
|
|
300
300
|
children: "No active alerts"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as e, d as t, f as n, g as r, h as i, i as a, l as o, u as s } from "./PageLayout-
|
|
2
|
-
import { t as c } from "./clock-
|
|
3
|
-
import { t as l } from "./filter-
|
|
4
|
-
import { t as u } from "./map-pin-
|
|
5
|
-
import { t as d } from "./search-
|
|
6
|
-
import { t as f } from "./star-
|
|
7
|
-
import { t as p } from "./store-
|
|
1
|
+
import { A as e, d as t, f as n, g as r, h as i, i as a, l as o, u as s } from "./PageLayout-xDTiBTDS.js";
|
|
2
|
+
import { t as c } from "./clock-Be95bq7_.js";
|
|
3
|
+
import { t as l } from "./filter-BWmLTZB-.js";
|
|
4
|
+
import { t as u } from "./map-pin-96FeqL7H.js";
|
|
5
|
+
import { t as d } from "./search-DVrUQbOg.js";
|
|
6
|
+
import { t as f } from "./star-Cv2MzxZL.js";
|
|
7
|
+
import { t as p } from "./store-CLH957vl.js";
|
|
8
8
|
import { r as m, t as h } from "./graphqlClient-CdJyR_ed.js";
|
|
9
9
|
import { n as g } from "./formatters-_vJlC-47.js";
|
|
10
10
|
import { useCallback as _, useEffect as v, useMemo as y, useState as b } from "react";
|
|
@@ -59,7 +59,7 @@ function T() {
|
|
|
59
59
|
children: /* @__PURE__ */ S("div", {
|
|
60
60
|
className: "relative",
|
|
61
61
|
children: [/* @__PURE__ */ x(d, {
|
|
62
|
-
className: "absolute left-3 top-1/2 -translate-y-1/2 text-
|
|
62
|
+
className: "absolute left-3 top-1/2 -translate-y-1/2 text-text-secondary",
|
|
63
63
|
size: 20
|
|
64
64
|
}), /* @__PURE__ */ x(e, {
|
|
65
65
|
placeholder: "Search services, providers, locations...",
|
|
@@ -104,11 +104,11 @@ function T() {
|
|
|
104
104
|
]
|
|
105
105
|
}),
|
|
106
106
|
/* @__PURE__ */ x("p", {
|
|
107
|
-
className: "text-
|
|
107
|
+
className: "text-text-secondary mt-1",
|
|
108
108
|
children: e.description
|
|
109
109
|
}),
|
|
110
110
|
/* @__PURE__ */ S("div", {
|
|
111
|
-
className: "flex items-center gap-4 mt-3 text-sm text-
|
|
111
|
+
className: "flex items-center gap-4 mt-3 text-sm text-text-secondary",
|
|
112
112
|
children: [
|
|
113
113
|
/* @__PURE__ */ S("span", {
|
|
114
114
|
className: "flex items-center gap-1",
|
|
@@ -138,7 +138,7 @@ function T() {
|
|
|
138
138
|
] }), /* @__PURE__ */ S("div", {
|
|
139
139
|
className: "text-right",
|
|
140
140
|
children: [/* @__PURE__ */ x("p", {
|
|
141
|
-
className: "text-sm text-
|
|
141
|
+
className: "text-sm text-text-secondary",
|
|
142
142
|
children: "Services"
|
|
143
143
|
}), /* @__PURE__ */ x("p", {
|
|
144
144
|
className: "text-lg font-bold",
|
|
@@ -158,7 +158,7 @@ function T() {
|
|
|
158
158
|
children: e.name
|
|
159
159
|
}) }), /* @__PURE__ */ S(n, { children: [
|
|
160
160
|
/* @__PURE__ */ x("p", {
|
|
161
|
-
className: "text-sm text-
|
|
161
|
+
className: "text-sm text-text-secondary mb-3",
|
|
162
162
|
children: e.description
|
|
163
163
|
}),
|
|
164
164
|
/* @__PURE__ */ S("div", {
|
|
@@ -179,7 +179,7 @@ function T() {
|
|
|
179
179
|
className: "font-bold",
|
|
180
180
|
children: g(e.price)
|
|
181
181
|
}), /* @__PURE__ */ x("span", {
|
|
182
|
-
className: "text-sm text-
|
|
182
|
+
className: "text-sm text-text-secondary",
|
|
183
183
|
children: e.currency
|
|
184
184
|
})]
|
|
185
185
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e, f as t, rt as n } from "./PageLayout-
|
|
1
|
+
import { d as e, f as t, rt as n } from "./PageLayout-xDTiBTDS.js";
|
|
2
2
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
3
|
//#region src/movethewheels/components/MetricCard.tsx
|
|
4
4
|
var a = {
|
|
@@ -25,7 +25,7 @@ function o({ value: o, label: s, icon: c, change: l, changeType: u = "neutral",
|
|
|
25
25
|
let g = a[p], _ = {
|
|
26
26
|
positive: "text-green-600 dark:text-green-400",
|
|
27
27
|
negative: "text-red-600 dark:text-red-400",
|
|
28
|
-
neutral: "text-
|
|
28
|
+
neutral: "text-text-secondary"
|
|
29
29
|
}, v = {
|
|
30
30
|
up: /* @__PURE__ */ r("svg", {
|
|
31
31
|
className: "w-4 h-4",
|
|
@@ -75,15 +75,15 @@ function o({ value: o, label: s, icon: c, change: l, changeType: u = "neutral",
|
|
|
75
75
|
className: "space-y-1",
|
|
76
76
|
children: [
|
|
77
77
|
/* @__PURE__ */ r("p", {
|
|
78
|
-
className: n("text-
|
|
78
|
+
className: n("text-text-secondary", g.label),
|
|
79
79
|
children: s
|
|
80
80
|
}),
|
|
81
81
|
/* @__PURE__ */ r("p", {
|
|
82
|
-
className: n("text-
|
|
82
|
+
className: n("text-text-primary tracking-tight", g.value),
|
|
83
83
|
children: typeof o == "number" ? o.toLocaleString() : o
|
|
84
84
|
}),
|
|
85
85
|
d && /* @__PURE__ */ r("p", {
|
|
86
|
-
className: "text-xs text-
|
|
86
|
+
className: "text-xs text-text-secondary",
|
|
87
87
|
children: d
|
|
88
88
|
}),
|
|
89
89
|
l && /* @__PURE__ */ i("div", {
|
|
@@ -92,7 +92,7 @@ function o({ value: o, label: s, icon: c, change: l, changeType: u = "neutral",
|
|
|
92
92
|
})
|
|
93
93
|
]
|
|
94
94
|
}), c && /* @__PURE__ */ r("div", {
|
|
95
|
-
className: n("flex-shrink-0 p-2 rounded-lg bg-primary/10 text-primary", g.icon),
|
|
95
|
+
className: n("flex-shrink-0 p-2 rounded-lg bg-action-primary-bg/10 text-primary", g.icon),
|
|
96
96
|
children: c
|
|
97
97
|
})]
|
|
98
98
|
})
|
|
@@ -110,11 +110,11 @@ function s({ size: o = "md" }) {
|
|
|
110
110
|
children: [/* @__PURE__ */ i("div", {
|
|
111
111
|
className: "space-y-2 flex-1",
|
|
112
112
|
children: [
|
|
113
|
-
/* @__PURE__ */ r("div", { className: "h-4 w-24 bg-
|
|
114
|
-
/* @__PURE__ */ r("div", { className: "h-8 w-32 bg-
|
|
115
|
-
/* @__PURE__ */ r("div", { className: "h-3 w-20 bg-
|
|
113
|
+
/* @__PURE__ */ r("div", { className: "h-4 w-24 bg-bg-sunken animate-pulse rounded" }),
|
|
114
|
+
/* @__PURE__ */ r("div", { className: "h-8 w-32 bg-bg-sunken animate-pulse rounded" }),
|
|
115
|
+
/* @__PURE__ */ r("div", { className: "h-3 w-20 bg-bg-sunken animate-pulse rounded" })
|
|
116
116
|
]
|
|
117
|
-
}), /* @__PURE__ */ r("div", { className: n("bg-
|
|
117
|
+
}), /* @__PURE__ */ r("div", { className: n("bg-bg-sunken animate-pulse rounded-lg", s.icon) })]
|
|
118
118
|
})
|
|
119
119
|
})
|
|
120
120
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { G as e, H as t, K as n, U as r, W as i, d as a, f as o, g as s, h as c, i as l, it as u, l as d, n as f, q as p, r as m, u as h, z as g } from "./PageLayout-
|
|
2
|
-
import { t as _ } from "./arrow-left-
|
|
3
|
-
import { t as v } from "./circle-check-big-
|
|
4
|
-
import { t as y } from "./clock-
|
|
5
|
-
import { t as b } from "./dollar-sign-
|
|
6
|
-
import { t as x } from "./file-text-
|
|
7
|
-
import { n as S, t as C } from "./phone-
|
|
8
|
-
import { t as w } from "./map-pin-
|
|
9
|
-
import { t as T } from "./package-
|
|
10
|
-
import { t as E } from "./square-pen-
|
|
11
|
-
import { t as D } from "./truck-
|
|
12
|
-
import { t as O } from "./user-
|
|
1
|
+
import { G as e, H as t, K as n, U as r, W as i, d as a, f as o, g as s, h as c, i as l, it as u, l as d, n as f, q as p, r as m, u as h, z as g } from "./PageLayout-xDTiBTDS.js";
|
|
2
|
+
import { t as _ } from "./arrow-left-Bk5GsGNk.js";
|
|
3
|
+
import { t as v } from "./circle-check-big-Cx8aO6B-.js";
|
|
4
|
+
import { t as y } from "./clock-Be95bq7_.js";
|
|
5
|
+
import { t as b } from "./dollar-sign-kJqItPli.js";
|
|
6
|
+
import { t as x } from "./file-text-b1qhrJn1.js";
|
|
7
|
+
import { n as S, t as C } from "./phone-B-h3tbsr.js";
|
|
8
|
+
import { t as w } from "./map-pin-96FeqL7H.js";
|
|
9
|
+
import { t as T } from "./package-KhSi3xaT.js";
|
|
10
|
+
import { t as E } from "./square-pen-DmW36Bau.js";
|
|
11
|
+
import { t as D } from "./truck-DX3lNQkz.js";
|
|
12
|
+
import { t as O } from "./user-D8EY1uvt.js";
|
|
13
13
|
import { r as k } from "./graphqlClient-CdJyR_ed.js";
|
|
14
14
|
import { t as A } from "./useOrders-D_3_hGMp.js";
|
|
15
|
-
import { i as j, n as M, r as N, t as P } from "./StatusBadge-
|
|
15
|
+
import { i as j, n as M, r as N, t as P } from "./StatusBadge-C--7NhoW.js";
|
|
16
16
|
import { n as F, r as I, t as L } from "./formatters-_vJlC-47.js";
|
|
17
17
|
import { t as R } from "./navigation-BgnOfsVd.js";
|
|
18
18
|
import { useParams as z } from "react-router-dom";
|
|
@@ -98,7 +98,7 @@ function U() {
|
|
|
98
98
|
children: G.customerInfo.name
|
|
99
99
|
}),
|
|
100
100
|
G.customerInfo.company && /* @__PURE__ */ B("p", {
|
|
101
|
-
className: "text-sm text-
|
|
101
|
+
className: "text-sm text-text-secondary mb-2",
|
|
102
102
|
children: G.customerInfo.company
|
|
103
103
|
}),
|
|
104
104
|
/* @__PURE__ */ V("div", {
|
|
@@ -107,27 +107,27 @@ function U() {
|
|
|
107
107
|
className: "flex items-center gap-2",
|
|
108
108
|
children: [/* @__PURE__ */ B(S, {
|
|
109
109
|
size: 14,
|
|
110
|
-
className: "text-
|
|
110
|
+
className: "text-text-secondary"
|
|
111
111
|
}), G.customerInfo.email]
|
|
112
112
|
}), /* @__PURE__ */ V("p", {
|
|
113
113
|
className: "flex items-center gap-2",
|
|
114
114
|
children: [/* @__PURE__ */ B(C, {
|
|
115
115
|
size: 14,
|
|
116
|
-
className: "text-
|
|
116
|
+
className: "text-text-secondary"
|
|
117
117
|
}), G.customerInfo.phone]
|
|
118
118
|
})]
|
|
119
119
|
})
|
|
120
120
|
] }), /* @__PURE__ */ V("div", { children: [G.customerInfo.preferredDeliveryTime && /* @__PURE__ */ V("div", {
|
|
121
121
|
className: "mb-2",
|
|
122
122
|
children: [/* @__PURE__ */ B("p", {
|
|
123
|
-
className: "text-sm text-
|
|
123
|
+
className: "text-sm text-text-secondary",
|
|
124
124
|
children: "Preferred Delivery Time"
|
|
125
125
|
}), /* @__PURE__ */ B("p", {
|
|
126
126
|
className: "text-sm",
|
|
127
127
|
children: G.customerInfo.preferredDeliveryTime
|
|
128
128
|
})]
|
|
129
129
|
}), G.customerInfo.deliveryInstructions && /* @__PURE__ */ V("div", { children: [/* @__PURE__ */ B("p", {
|
|
130
|
-
className: "text-sm text-
|
|
130
|
+
className: "text-sm text-text-secondary",
|
|
131
131
|
children: "Delivery Instructions"
|
|
132
132
|
}), /* @__PURE__ */ B("p", {
|
|
133
133
|
className: "text-sm",
|
|
@@ -152,7 +152,7 @@ function U() {
|
|
|
152
152
|
children: L(G.pickupAddress)
|
|
153
153
|
}),
|
|
154
154
|
G.scheduledPickup && /* @__PURE__ */ V("p", {
|
|
155
|
-
className: "text-sm text-
|
|
155
|
+
className: "text-sm text-text-secondary mt-2",
|
|
156
156
|
children: ["Scheduled: ", I(G.scheduledPickup, "full")]
|
|
157
157
|
}),
|
|
158
158
|
G.actualPickup && /* @__PURE__ */ V("p", {
|
|
@@ -179,7 +179,7 @@ function U() {
|
|
|
179
179
|
children: L(G.deliveryAddress)
|
|
180
180
|
}),
|
|
181
181
|
G.scheduledDelivery && /* @__PURE__ */ V("p", {
|
|
182
|
-
className: "text-sm text-
|
|
182
|
+
className: "text-sm text-text-secondary mt-2",
|
|
183
183
|
children: ["Scheduled: ", I(G.scheduledDelivery, "full")]
|
|
184
184
|
}),
|
|
185
185
|
G.actualDelivery && /* @__PURE__ */ V("p", {
|
|
@@ -225,7 +225,7 @@ function U() {
|
|
|
225
225
|
className: "font-medium",
|
|
226
226
|
children: e.name
|
|
227
227
|
}), e.description && /* @__PURE__ */ B("p", {
|
|
228
|
-
className: "text-sm text-
|
|
228
|
+
className: "text-sm text-text-secondary",
|
|
229
229
|
children: e.description
|
|
230
230
|
})] }) }),
|
|
231
231
|
/* @__PURE__ */ B(i, {
|
|
@@ -255,7 +255,7 @@ function U() {
|
|
|
255
255
|
className: "flex gap-4 pb-6 last:pb-0",
|
|
256
256
|
children: [/* @__PURE__ */ V("div", {
|
|
257
257
|
className: "relative",
|
|
258
|
-
children: [/* @__PURE__ */ B("div", { className: "w-3 h-3 rounded-full bg-primary mt-1.5" }), t < G.timeline.length - 1 && /* @__PURE__ */ B("div", { className: "absolute top-4 left-1.5 w-px h-full -ml-px bg-border" })]
|
|
258
|
+
children: [/* @__PURE__ */ B("div", { className: "w-3 h-3 rounded-full bg-action-primary-bg mt-1.5" }), t < G.timeline.length - 1 && /* @__PURE__ */ B("div", { className: "absolute top-4 left-1.5 w-px h-full -ml-px bg-border" })]
|
|
259
259
|
}), /* @__PURE__ */ V("div", {
|
|
260
260
|
className: "flex-1",
|
|
261
261
|
children: [
|
|
@@ -266,7 +266,7 @@ function U() {
|
|
|
266
266
|
type: "order",
|
|
267
267
|
size: "sm"
|
|
268
268
|
}), /* @__PURE__ */ B("span", {
|
|
269
|
-
className: "text-sm text-
|
|
269
|
+
className: "text-sm text-text-secondary",
|
|
270
270
|
children: I(e.timestamp, "full")
|
|
271
271
|
})]
|
|
272
272
|
}),
|
|
@@ -275,7 +275,7 @@ function U() {
|
|
|
275
275
|
children: e.notes
|
|
276
276
|
}),
|
|
277
277
|
/* @__PURE__ */ V("p", {
|
|
278
|
-
className: "text-xs text-
|
|
278
|
+
className: "text-xs text-text-secondary",
|
|
279
279
|
children: ["by ", e.performedBy]
|
|
280
280
|
})
|
|
281
281
|
]
|
|
@@ -295,35 +295,35 @@ function U() {
|
|
|
295
295
|
/* @__PURE__ */ V("div", {
|
|
296
296
|
className: "flex justify-between text-sm",
|
|
297
297
|
children: [/* @__PURE__ */ B("span", {
|
|
298
|
-
className: "text-
|
|
298
|
+
className: "text-text-secondary",
|
|
299
299
|
children: "Subtotal"
|
|
300
300
|
}), /* @__PURE__ */ B("span", { children: F(G.pricing.subtotal) })]
|
|
301
301
|
}),
|
|
302
302
|
/* @__PURE__ */ V("div", {
|
|
303
303
|
className: "flex justify-between text-sm",
|
|
304
304
|
children: [/* @__PURE__ */ B("span", {
|
|
305
|
-
className: "text-
|
|
305
|
+
className: "text-text-secondary",
|
|
306
306
|
children: "Delivery"
|
|
307
307
|
}), /* @__PURE__ */ B("span", { children: F(G.pricing.fees.delivery) })]
|
|
308
308
|
}),
|
|
309
309
|
/* @__PURE__ */ V("div", {
|
|
310
310
|
className: "flex justify-between text-sm",
|
|
311
311
|
children: [/* @__PURE__ */ B("span", {
|
|
312
|
-
className: "text-
|
|
312
|
+
className: "text-text-secondary",
|
|
313
313
|
children: "Handling"
|
|
314
314
|
}), /* @__PURE__ */ B("span", { children: F(G.pricing.fees.handling) })]
|
|
315
315
|
}),
|
|
316
316
|
G.pricing.fees.insurance && /* @__PURE__ */ V("div", {
|
|
317
317
|
className: "flex justify-between text-sm",
|
|
318
318
|
children: [/* @__PURE__ */ B("span", {
|
|
319
|
-
className: "text-
|
|
319
|
+
className: "text-text-secondary",
|
|
320
320
|
children: "Insurance"
|
|
321
321
|
}), /* @__PURE__ */ B("span", { children: F(G.pricing.fees.insurance) })]
|
|
322
322
|
}),
|
|
323
323
|
/* @__PURE__ */ V("div", {
|
|
324
324
|
className: "flex justify-between text-sm",
|
|
325
325
|
children: [/* @__PURE__ */ B("span", {
|
|
326
|
-
className: "text-
|
|
326
|
+
className: "text-text-secondary",
|
|
327
327
|
children: "Taxes"
|
|
328
328
|
}), /* @__PURE__ */ B("span", { children: F(G.pricing.taxes) })]
|
|
329
329
|
}),
|
|
@@ -338,7 +338,7 @@ function U() {
|
|
|
338
338
|
/* @__PURE__ */ V("div", {
|
|
339
339
|
className: "pt-2",
|
|
340
340
|
children: [/* @__PURE__ */ B("p", {
|
|
341
|
-
className: "text-sm text-
|
|
341
|
+
className: "text-sm text-text-secondary",
|
|
342
342
|
children: "Payment Method"
|
|
343
343
|
}), /* @__PURE__ */ B("p", {
|
|
344
344
|
className: "text-sm capitalize",
|
|
@@ -354,21 +354,21 @@ function U() {
|
|
|
354
354
|
className: "space-y-4",
|
|
355
355
|
children: [
|
|
356
356
|
/* @__PURE__ */ V("div", { children: [/* @__PURE__ */ B("p", {
|
|
357
|
-
className: "text-sm text-
|
|
357
|
+
className: "text-sm text-text-secondary",
|
|
358
358
|
children: "Driver"
|
|
359
359
|
}), /* @__PURE__ */ B("p", {
|
|
360
360
|
className: "text-sm",
|
|
361
361
|
children: G.driverId || "Not assigned"
|
|
362
362
|
})] }),
|
|
363
363
|
/* @__PURE__ */ V("div", { children: [/* @__PURE__ */ B("p", {
|
|
364
|
-
className: "text-sm text-
|
|
364
|
+
className: "text-sm text-text-secondary",
|
|
365
365
|
children: "Vehicle"
|
|
366
366
|
}), /* @__PURE__ */ B("p", {
|
|
367
367
|
className: "text-sm",
|
|
368
368
|
children: G.vehicleId || "Not assigned"
|
|
369
369
|
})] }),
|
|
370
370
|
/* @__PURE__ */ V("div", { children: [/* @__PURE__ */ B("p", {
|
|
371
|
-
className: "text-sm text-
|
|
371
|
+
className: "text-sm text-text-secondary",
|
|
372
372
|
children: "Tracking Number"
|
|
373
373
|
}), /* @__PURE__ */ B("p", {
|
|
374
374
|
className: "text-sm font-mono",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { F as e, I as t, L as n, P as r, R as i, d as a, f as o, i as s, l as c, u as l } from "./PageLayout-
|
|
2
|
-
import { t as u } from "./DataTable-
|
|
3
|
-
import { t as d } from "./download-
|
|
4
|
-
import { t as f } from "./filter-
|
|
5
|
-
import { t as p } from "./package-
|
|
6
|
-
import { t as m } from "./plus-
|
|
7
|
-
import { t as h } from "./refresh-cw-
|
|
1
|
+
import { F as e, I as t, L as n, P as r, R as i, d as a, f as o, i as s, l as c, u as l } from "./PageLayout-xDTiBTDS.js";
|
|
2
|
+
import { t as u } from "./DataTable-CZGz3SJu.js";
|
|
3
|
+
import { t as d } from "./download-caab0D3V.js";
|
|
4
|
+
import { t as f } from "./filter-BWmLTZB-.js";
|
|
5
|
+
import { t as p } from "./package-KhSi3xaT.js";
|
|
6
|
+
import { t as m } from "./plus-D2BYAzMn.js";
|
|
7
|
+
import { t as h } from "./refresh-cw-D5Sy01s-.js";
|
|
8
8
|
import { r as g } from "./graphqlClient-CdJyR_ed.js";
|
|
9
9
|
import { r as _ } from "./useOrders-D_3_hGMp.js";
|
|
10
|
-
import { i as v, n as y, r as b } from "./StatusBadge-
|
|
10
|
+
import { i as v, n as y, r as b } from "./StatusBadge-C--7NhoW.js";
|
|
11
11
|
import { n as x, r as S } from "./formatters-_vJlC-47.js";
|
|
12
12
|
import { t as C } from "./navigation-BgnOfsVd.js";
|
|
13
13
|
import { useState as w } from "react";
|
|
@@ -48,7 +48,7 @@ function O() {
|
|
|
48
48
|
className: "font-medium truncate",
|
|
49
49
|
children: e.customerInfo.name
|
|
50
50
|
}), /* @__PURE__ */ T("p", {
|
|
51
|
-
className: "text-sm text-
|
|
51
|
+
className: "text-sm text-text-secondary truncate",
|
|
52
52
|
children: e.customerInfo.email
|
|
53
53
|
})]
|
|
54
54
|
})
|
|
@@ -192,7 +192,7 @@ function O() {
|
|
|
192
192
|
className: "flex items-center gap-2",
|
|
193
193
|
children: [/* @__PURE__ */ T(f, {
|
|
194
194
|
size: 16,
|
|
195
|
-
className: "text-
|
|
195
|
+
className: "text-text-secondary"
|
|
196
196
|
}), /* @__PURE__ */ T("span", {
|
|
197
197
|
className: "text-sm font-medium",
|
|
198
198
|
children: k("movethewheels.orders.filters.label", "Filters:")
|
|
@@ -1770,10 +1770,10 @@ var Pt = e.forwardRef(({ className: e, value: t = 0, max: n = 100, ...i }, a) =>
|
|
|
1770
1770
|
let o = Math.min(Math.max(t / n * 100, 0), 100);
|
|
1771
1771
|
return /* @__PURE__ */ r("div", {
|
|
1772
1772
|
ref: a,
|
|
1773
|
-
className: $("relative h-2 w-full overflow-hidden rounded-full bg-
|
|
1773
|
+
className: $("relative h-2 w-full overflow-hidden rounded-full bg-bg-sunken", e),
|
|
1774
1774
|
...i,
|
|
1775
1775
|
children: /* @__PURE__ */ r("div", {
|
|
1776
|
-
className: "h-full bg-primary transition-all duration-300 ease-in-out",
|
|
1776
|
+
className: "h-full bg-action-primary-bg transition-all duration-300 ease-in-out",
|
|
1777
1777
|
style: { width: `${o}%` }
|
|
1778
1778
|
})
|
|
1779
1779
|
});
|
|
@@ -1793,7 +1793,7 @@ var It = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ r("img", {
|
|
|
1793
1793
|
It.displayName = "AvatarImage";
|
|
1794
1794
|
var Lt = e.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ r("div", {
|
|
1795
1795
|
ref: n,
|
|
1796
|
-
className: $("flex h-full w-full items-center justify-center rounded-full bg-
|
|
1796
|
+
className: $("flex h-full w-full items-center justify-center rounded-full bg-bg-sunken", e),
|
|
1797
1797
|
...t
|
|
1798
1798
|
}));
|
|
1799
1799
|
Lt.displayName = "AvatarFallback";
|
|
@@ -1822,14 +1822,14 @@ function zt({ children: e, title: t, subtitle: n, icon: a, headerActions: o, hea
|
|
|
1822
1822
|
children: [(t || a) && /* @__PURE__ */ i("div", {
|
|
1823
1823
|
className: "flex items-center gap-3",
|
|
1824
1824
|
children: [a && /* @__PURE__ */ r("div", {
|
|
1825
|
-
className: "flex-shrink-0 p-2.5 rounded-xl bg-primary/10 text-primary",
|
|
1825
|
+
className: "flex-shrink-0 p-2.5 rounded-xl bg-action-primary-bg/10 text-primary",
|
|
1826
1826
|
children: a
|
|
1827
1827
|
}), t && /* @__PURE__ */ r("h1", {
|
|
1828
|
-
className: "text-2xl sm:text-3xl font-bold tracking-tight text-
|
|
1828
|
+
className: "text-2xl sm:text-3xl font-bold tracking-tight text-text-primary",
|
|
1829
1829
|
children: t
|
|
1830
1830
|
})]
|
|
1831
1831
|
}), n && /* @__PURE__ */ r("p", {
|
|
1832
|
-
className: "text-sm sm:text-base text-
|
|
1832
|
+
className: "text-sm sm:text-base text-text-secondary max-w-2xl",
|
|
1833
1833
|
children: n
|
|
1834
1834
|
})]
|
|
1835
1835
|
}), o && /* @__PURE__ */ r("div", {
|
|
@@ -1853,10 +1853,10 @@ function Bt({ children: e, title: t, description: n, actions: a, className: o })
|
|
|
1853
1853
|
children: [(t || a) && /* @__PURE__ */ i("div", {
|
|
1854
1854
|
className: "flex items-center justify-between",
|
|
1855
1855
|
children: [/* @__PURE__ */ i("div", { children: [t && /* @__PURE__ */ r("h2", {
|
|
1856
|
-
className: "text-lg font-semibold text-
|
|
1856
|
+
className: "text-lg font-semibold text-text-primary",
|
|
1857
1857
|
children: t
|
|
1858
1858
|
}), n && /* @__PURE__ */ r("p", {
|
|
1859
|
-
className: "text-sm text-
|
|
1859
|
+
className: "text-sm text-text-secondary",
|
|
1860
1860
|
children: n
|
|
1861
1861
|
})] }), a && /* @__PURE__ */ r("div", {
|
|
1862
1862
|
className: "flex items-center gap-2",
|
|
@@ -1870,15 +1870,15 @@ function Vt({ icon: e, title: t, description: n, action: a, className: o }) {
|
|
|
1870
1870
|
className: $("flex flex-col items-center justify-center", "py-12 sm:py-16 px-4", "text-center", "animate-in fade-in-0 zoom-in-95 duration-300", o),
|
|
1871
1871
|
children: [
|
|
1872
1872
|
e && /* @__PURE__ */ r("div", {
|
|
1873
|
-
className: "mb-4 p-4 rounded-2xl bg-
|
|
1873
|
+
className: "mb-4 p-4 rounded-2xl bg-bg-sunken/50 text-text-secondary",
|
|
1874
1874
|
children: e
|
|
1875
1875
|
}),
|
|
1876
1876
|
/* @__PURE__ */ r("h3", {
|
|
1877
|
-
className: "text-lg font-semibold text-
|
|
1877
|
+
className: "text-lg font-semibold text-text-primary mb-1",
|
|
1878
1878
|
children: t
|
|
1879
1879
|
}),
|
|
1880
1880
|
n && /* @__PURE__ */ r("p", {
|
|
1881
|
-
className: "text-sm text-
|
|
1881
|
+
className: "text-sm text-text-secondary max-w-sm mb-4",
|
|
1882
1882
|
children: n
|
|
1883
1883
|
}),
|
|
1884
1884
|
a
|
|
@@ -1891,7 +1891,7 @@ function Ht({ message: e = "Loading..." }) {
|
|
|
1891
1891
|
children: /* @__PURE__ */ i("div", {
|
|
1892
1892
|
className: "flex flex-col items-center gap-3",
|
|
1893
1893
|
children: [/* @__PURE__ */ r("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }), /* @__PURE__ */ r("p", {
|
|
1894
|
-
className: "text-sm text-
|
|
1894
|
+
className: "text-sm text-text-secondary",
|
|
1895
1895
|
children: e
|
|
1896
1896
|
})]
|
|
1897
1897
|
})
|
|
@@ -1902,7 +1902,7 @@ function Ut({ title: e = "Something went wrong", message: t, onRetry: n }) {
|
|
|
1902
1902
|
className: "flex flex-col items-center justify-center py-12 px-4 text-center",
|
|
1903
1903
|
children: [
|
|
1904
1904
|
/* @__PURE__ */ r("div", {
|
|
1905
|
-
className: "mb-4 p-4 rounded-2xl bg-
|
|
1905
|
+
className: "mb-4 p-4 rounded-2xl bg-status-error-bg/10 text-status-error-text",
|
|
1906
1906
|
children: /* @__PURE__ */ r("svg", {
|
|
1907
1907
|
className: "h-12 w-12",
|
|
1908
1908
|
fill: "none",
|
|
@@ -1917,11 +1917,11 @@ function Ut({ title: e = "Something went wrong", message: t, onRetry: n }) {
|
|
|
1917
1917
|
})
|
|
1918
1918
|
}),
|
|
1919
1919
|
/* @__PURE__ */ r("h3", {
|
|
1920
|
-
className: "text-lg font-semibold text-
|
|
1920
|
+
className: "text-lg font-semibold text-text-primary mb-1",
|
|
1921
1921
|
children: e
|
|
1922
1922
|
}),
|
|
1923
1923
|
t && /* @__PURE__ */ r("p", {
|
|
1924
|
-
className: "text-sm text-
|
|
1924
|
+
className: "text-sm text-text-secondary max-w-sm mb-4",
|
|
1925
1925
|
children: t
|
|
1926
1926
|
}),
|
|
1927
1927
|
n && /* @__PURE__ */ r("button", {
|