@burdenoff/microfe-movethewheels 2026.510.105
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/README.md +82 -0
- package/dist/AIAssistantPage-hD0VYJdH.js +210 -0
- package/dist/AnalyticsPage-DHTHCUtr.js +201 -0
- package/dist/CreateOrderPage-Cprg4Y9V.js +471 -0
- package/dist/CustomerDetailsPage-DNDEw7IW.js +239 -0
- package/dist/CustomersPage-CDjjeCEL.js +119 -0
- package/dist/DashboardPage-8iTPXRAG.js +374 -0
- package/dist/DataTable-CRIKfdIN.js +239 -0
- package/dist/DriverDetailsPage-CRyRCno7.js +297 -0
- package/dist/DriversPage-16O8fVmf.js +127 -0
- package/dist/FinancePage-BYUxK5dR.js +154 -0
- package/dist/FleetPage-CHYETCWT.js +293 -0
- package/dist/ImportExportPage-C3MKKxfc.js +232 -0
- package/dist/InventoryPage--822AxZM.js +223 -0
- package/dist/LiveTrackingPage-Dp3rTJDr.js +332 -0
- package/dist/MarketplacePage-DjEqudfM.js +192 -0
- package/dist/MetricCard-GTbxAk1a.js +135 -0
- package/dist/OrderDetailsPage-BIuYG0ub.js +398 -0
- package/dist/OrdersListPage-CW5V0Uvh.js +257 -0
- package/dist/PageLayout-B7b0vl0R.js +1894 -0
- package/dist/ProductDetailsPage-Q3X7AT-7.js +168 -0
- package/dist/ProductsPage-CUj9JpnW.js +131 -0
- package/dist/ReportsPage-DblO5CdJ.js +227 -0
- package/dist/RouteDetailsPage-CLctgk6A.js +240 -0
- package/dist/RoutesPage-8hrv6RWT.js +116 -0
- package/dist/SettingsPage-BJ5BQeqn.js +247 -0
- package/dist/StatusBadge-BrrwraIA.js +206 -0
- package/dist/TrackingPage-BGqHDh-w.js +322 -0
- package/dist/VehicleDetailsPage-XnDH4iQR.js +194 -0
- package/dist/VehiclesPage-Cs4XxHkA.js +127 -0
- package/dist/WarehouseDetailsPage-GemdMvr_.js +215 -0
- package/dist/WarehousesPage-QTiuDuXy.js +121 -0
- package/dist/arrow-left-6CiLhqVp.js +11 -0
- package/dist/box-BunB_4UH.js +18 -0
- package/dist/chart-column-DWwVEVQ-.js +22 -0
- package/dist/chevron-right-DhZVf20o.js +8 -0
- package/dist/circle-alert-D5f6RZxt.js +26 -0
- package/dist/circle-check-big-D-JMHcTe.js +11 -0
- package/dist/clock-CvwBKbQP.js +13 -0
- package/dist/dev/main.d.ts +1 -0
- package/dist/dollar-sign-CP9qeU5d.js +14 -0
- package/dist/download-CIuG04pJ.js +21 -0
- package/dist/file-text-Dd_thxkn.js +26 -0
- package/dist/filter-DyRMX9CU.js +8 -0
- package/dist/formatters-_vJlC-47.js +50 -0
- package/dist/generated/global-operations.d.ts +1 -0
- package/dist/generated/global-types.d.ts +20715 -0
- package/dist/generated/wspace-operations.d.ts +3704 -0
- package/dist/generated/wspace-types.d.ts +53362 -0
- package/dist/graphqlClient-CdJyR_ed.js +55 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +772 -0
- package/dist/map-BqH1cBJi.js +18 -0
- package/dist/map-pin-CFBOmh-A.js +13 -0
- package/dist/movethewheels/MoveTheWheelsRoot.d.ts +25 -0
- package/dist/movethewheels/MoveTheWheelsRoutes.d.ts +7 -0
- package/dist/movethewheels/components/DataTable.d.ts +32 -0
- package/dist/movethewheels/components/MetricCard.d.ts +43 -0
- package/dist/movethewheels/components/PageLayout.d.ts +68 -0
- package/dist/movethewheels/components/StatusBadge.d.ts +49 -0
- package/dist/movethewheels/components/index.d.ts +10 -0
- package/dist/movethewheels/components/ui.d.ts +22 -0
- package/dist/movethewheels/constants/index.d.ts +24 -0
- package/dist/movethewheels/constants/mockData.d.ts +33 -0
- package/dist/movethewheels/hooks/index.d.ts +12 -0
- package/dist/movethewheels/hooks/useAnalytics.d.ts +118 -0
- package/dist/movethewheels/hooks/useCustomers.d.ts +37 -0
- package/dist/movethewheels/hooks/useFleet.d.ts +71 -0
- package/dist/movethewheels/hooks/useInventory.d.ts +60 -0
- package/dist/movethewheels/hooks/useOrders.d.ts +47 -0
- package/dist/movethewheels/hooks/useRoutes.d.ts +41 -0
- package/dist/movethewheels/hooks/useTracking.d.ts +69 -0
- package/dist/movethewheels/index.d.ts +30 -0
- package/dist/movethewheels/pages/AIAssistantPage.d.ts +4 -0
- package/dist/movethewheels/pages/AnalyticsPage.d.ts +4 -0
- package/dist/movethewheels/pages/CreateOrderPage.d.ts +6 -0
- package/dist/movethewheels/pages/CustomerDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/CustomersPage.d.ts +4 -0
- package/dist/movethewheels/pages/DashboardPage.d.ts +6 -0
- package/dist/movethewheels/pages/DriverDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/DriversPage.d.ts +4 -0
- package/dist/movethewheels/pages/FinancePage.d.ts +4 -0
- package/dist/movethewheels/pages/FleetPage.d.ts +6 -0
- package/dist/movethewheels/pages/ImportExportPage.d.ts +4 -0
- package/dist/movethewheels/pages/InventoryPage.d.ts +4 -0
- package/dist/movethewheels/pages/LiveTrackingPage.d.ts +6 -0
- package/dist/movethewheels/pages/MarketplacePage.d.ts +4 -0
- package/dist/movethewheels/pages/OrderDetailsPage.d.ts +6 -0
- package/dist/movethewheels/pages/OrdersListPage.d.ts +6 -0
- package/dist/movethewheels/pages/ProductDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/ProductsPage.d.ts +4 -0
- package/dist/movethewheels/pages/ReportsPage.d.ts +4 -0
- package/dist/movethewheels/pages/RouteDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/RoutesPage.d.ts +4 -0
- package/dist/movethewheels/pages/SettingsPage.d.ts +4 -0
- package/dist/movethewheels/pages/TrackingPage.d.ts +6 -0
- package/dist/movethewheels/pages/VehicleDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/VehiclesPage.d.ts +4 -0
- package/dist/movethewheels/pages/WarehouseDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/WarehousesPage.d.ts +4 -0
- package/dist/movethewheels/providers/MoveTheWheelsProvider.d.ts +16 -0
- package/dist/movethewheels/store/movethewheelsStore.d.ts +73 -0
- package/dist/movethewheels/types/index.d.ts +655 -0
- package/dist/movethewheels/utils/cn.d.ts +6 -0
- package/dist/movethewheels/utils/formatters.d.ts +60 -0
- package/dist/movethewheels/utils/graphqlClient.d.ts +11 -0
- package/dist/movethewheels/utils/index.d.ts +7 -0
- package/dist/movethewheels/utils/navigation.d.ts +23 -0
- package/dist/navigation-BgnOfsVd.js +6 -0
- package/dist/navigation-C2fY_aS9.js +8 -0
- package/dist/package-DVZbDRcV.js +22 -0
- package/dist/phone-KdwpVmC4.js +18 -0
- package/dist/plus-Bl7uX6Ji.js +11 -0
- package/dist/refresh-cw-BYjl3K-8.js +22 -0
- package/dist/route-Ce_poKFi.js +51 -0
- package/dist/save-C-qDVat-.js +18 -0
- package/dist/search-5pdn5eOO.js +13 -0
- package/dist/settings-C4kIDsYg.js +28 -0
- package/dist/square-pen-BwQ67vLE.js +11 -0
- package/dist/star-BlVsC3Ad.js +8 -0
- package/dist/store-DTmQT5M0.js +26 -0
- package/dist/trending-up-C1faflCI.js +11 -0
- package/dist/triangle-alert-CUoVAA4L.js +18 -0
- package/dist/truck-BmDAzu05.js +30 -0
- package/dist/useAnalytics-ph7eTIK6.js +297 -0
- package/dist/useCustomers-bS3a4ytk.js +186 -0
- package/dist/useFleet-BdETplNE.js +398 -0
- package/dist/useInventory-Dwn18FPz.js +323 -0
- package/dist/useOrders-D_3_hGMp.js +324 -0
- package/dist/useRoutes-v4aBaS-E.js +224 -0
- package/dist/useTracking-De2KIUNu.js +261 -0
- package/dist/user-BplzDrLP.js +13 -0
- package/dist/users-i-igmsP4.js +24 -0
- package/dist/warehouse-DewG0PXh.js +25 -0
- package/dist/wrench-CoSDEIC7.js +31 -0
- package/package.json +107 -0
- package/src/dev/main.tsx +110 -0
- package/src/dev/styles.css +139 -0
- package/src/generated/global-operations.ts +2 -0
- package/src/generated/global-types.ts +24048 -0
- package/src/generated/wspace-operations.ts +3734 -0
- package/src/generated/wspace-types.ts +60715 -0
- package/src/index.ts +4 -0
- package/src/movethewheels/MoveTheWheelsRoot.tsx +258 -0
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +119 -0
- package/src/movethewheels/components/DataTable.tsx +367 -0
- package/src/movethewheels/components/MetricCard.tsx +180 -0
- package/src/movethewheels/components/PageLayout.tsx +234 -0
- package/src/movethewheels/components/StatusBadge.tsx +243 -0
- package/src/movethewheels/components/index.ts +26 -0
- package/src/movethewheels/components/ui.tsx +124 -0
- package/src/movethewheels/constants/index.ts +65 -0
- package/src/movethewheels/constants/mockData.ts +1342 -0
- package/src/movethewheels/hooks/index.ts +55 -0
- package/src/movethewheels/hooks/useAnalytics.ts +476 -0
- package/src/movethewheels/hooks/useCustomers.ts +359 -0
- package/src/movethewheels/hooks/useFleet.ts +778 -0
- package/src/movethewheels/hooks/useInventory.ts +632 -0
- package/src/movethewheels/hooks/useOrders.ts +703 -0
- package/src/movethewheels/hooks/useRoutes.ts +453 -0
- package/src/movethewheels/hooks/useTracking.ts +505 -0
- package/src/movethewheels/index.ts +68 -0
- package/src/movethewheels/pages/AIAssistantPage.tsx +160 -0
- package/src/movethewheels/pages/AnalyticsPage.tsx +190 -0
- package/src/movethewheels/pages/CreateOrderPage.tsx +454 -0
- package/src/movethewheels/pages/CustomerDetailsPage.tsx +207 -0
- package/src/movethewheels/pages/CustomersPage.tsx +115 -0
- package/src/movethewheels/pages/DashboardPage.tsx +414 -0
- package/src/movethewheels/pages/DriverDetailsPage.tsx +261 -0
- package/src/movethewheels/pages/DriversPage.tsx +118 -0
- package/src/movethewheels/pages/FinancePage.tsx +141 -0
- package/src/movethewheels/pages/FleetPage.tsx +289 -0
- package/src/movethewheels/pages/ImportExportPage.tsx +165 -0
- package/src/movethewheels/pages/InventoryPage.tsx +212 -0
- package/src/movethewheels/pages/LiveTrackingPage.tsx +325 -0
- package/src/movethewheels/pages/MarketplacePage.tsx +235 -0
- package/src/movethewheels/pages/OrderDetailsPage.tsx +387 -0
- package/src/movethewheels/pages/OrdersListPage.tsx +241 -0
- package/src/movethewheels/pages/ProductDetailsPage.tsx +155 -0
- package/src/movethewheels/pages/ProductsPage.tsx +124 -0
- package/src/movethewheels/pages/ReportsPage.tsx +164 -0
- package/src/movethewheels/pages/RouteDetailsPage.tsx +245 -0
- package/src/movethewheels/pages/RoutesPage.tsx +104 -0
- package/src/movethewheels/pages/SettingsPage.tsx +242 -0
- package/src/movethewheels/pages/TrackingPage.tsx +419 -0
- package/src/movethewheels/pages/VehicleDetailsPage.tsx +218 -0
- package/src/movethewheels/pages/VehiclesPage.tsx +124 -0
- package/src/movethewheels/pages/WarehouseDetailsPage.tsx +216 -0
- package/src/movethewheels/pages/WarehousesPage.tsx +122 -0
- package/src/movethewheels/providers/MoveTheWheelsProvider.tsx +66 -0
- package/src/movethewheels/store/movethewheelsStore.ts +136 -0
- package/src/movethewheels/types/index.ts +744 -0
- package/src/movethewheels/utils/cn.ts +9 -0
- package/src/movethewheels/utils/formatters.ts +215 -0
- package/src/movethewheels/utils/graphqlClient.ts +63 -0
- package/src/movethewheels/utils/index.ts +8 -0
- package/src/movethewheels/utils/navigation.ts +70 -0
- package/src/operations/global/.gitkeep +0 -0
- package/src/operations/wspace/movethewheels/fragments/core.graphql +191 -0
- package/src/operations/wspace/movethewheels/mutations/entities.graphql +87 -0
- package/src/operations/wspace/movethewheels/mutations/logistics.graphql +86 -0
- package/src/operations/wspace/movethewheels/mutations/marketplace-reports.graphql +81 -0
- package/src/operations/wspace/movethewheels/mutations/orders.graphql +21 -0
- package/src/operations/wspace/movethewheels/queries/dashboard.graphql +61 -0
- package/src/operations/wspace/movethewheels/queries/entities.graphql +83 -0
- package/src/operations/wspace/movethewheels/queries/logistics.graphql +84 -0
- package/src/operations/wspace/movethewheels/queries/marketplace-reports.graphql +40 -0
- package/src/operations/wspace/movethewheels/queries/orders.graphql +43 -0
|
@@ -0,0 +1,297 @@
|
|
|
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-B7b0vl0R.js";
|
|
2
|
+
import { t as u } from "./arrow-left-6CiLhqVp.js";
|
|
3
|
+
import { t as d } from "./clock-CvwBKbQP.js";
|
|
4
|
+
import { t as f } from "./dollar-sign-CP9qeU5d.js";
|
|
5
|
+
import { t as p } from "./file-text-Dd_thxkn.js";
|
|
6
|
+
import { t as m } from "./map-pin-CFBOmh-A.js";
|
|
7
|
+
import { t as h } from "./square-pen-BwQ67vLE.js";
|
|
8
|
+
import { t as g } from "./star-BlVsC3Ad.js";
|
|
9
|
+
import { t as _ } from "./users-i-igmsP4.js";
|
|
10
|
+
import { r as v } from "./graphqlClient-CdJyR_ed.js";
|
|
11
|
+
import { t as y } from "./useFleet-BdETplNE.js";
|
|
12
|
+
import { r as b } from "./StatusBadge-BrrwraIA.js";
|
|
13
|
+
import { n as x, r as S } from "./formatters-_vJlC-47.js";
|
|
14
|
+
import { t as C } from "./navigation-BgnOfsVd.js";
|
|
15
|
+
import { useParams as w } from "react-router-dom";
|
|
16
|
+
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
17
|
+
//#region src/movethewheels/pages/DriverDetailsPage.tsx
|
|
18
|
+
function D() {
|
|
19
|
+
let { driverId: D } = w(), { basePath: O, navigate: k } = v(), { driver: A, isLoading: j, error: M, refetch: N } = y(D);
|
|
20
|
+
return j ? /* @__PURE__ */ T(c, { message: "Loading driver details..." }) : M || !A ? /* @__PURE__ */ T(s, {
|
|
21
|
+
title: "Driver not found",
|
|
22
|
+
onRetry: N
|
|
23
|
+
}) : /* @__PURE__ */ T(a, {
|
|
24
|
+
title: A.fullName,
|
|
25
|
+
subtitle: `Employee ID: ${A.employeeId}`,
|
|
26
|
+
icon: /* @__PURE__ */ T(_, { size: 24 }),
|
|
27
|
+
headerActions: /* @__PURE__ */ E("div", {
|
|
28
|
+
className: "flex gap-2",
|
|
29
|
+
children: [/* @__PURE__ */ E(l, {
|
|
30
|
+
variant: "outline",
|
|
31
|
+
onClick: () => k?.(C(O, "fleet/drivers")),
|
|
32
|
+
children: [/* @__PURE__ */ T(u, { size: 16 }), " Back"]
|
|
33
|
+
}), /* @__PURE__ */ E(l, { children: [/* @__PURE__ */ T(h, { size: 16 }), " Edit"] })]
|
|
34
|
+
}),
|
|
35
|
+
headerContent: /* @__PURE__ */ E("div", {
|
|
36
|
+
className: "flex items-center gap-4",
|
|
37
|
+
children: [/* @__PURE__ */ T(b, {
|
|
38
|
+
status: A.status,
|
|
39
|
+
type: "driver"
|
|
40
|
+
}), /* @__PURE__ */ E("div", {
|
|
41
|
+
className: "flex items-center gap-1",
|
|
42
|
+
children: [
|
|
43
|
+
/* @__PURE__ */ T(g, {
|
|
44
|
+
size: 16,
|
|
45
|
+
className: "text-yellow-500 fill-yellow-500"
|
|
46
|
+
}),
|
|
47
|
+
/* @__PURE__ */ T("span", {
|
|
48
|
+
className: "font-medium",
|
|
49
|
+
children: A.ratings.overall.toFixed(1)
|
|
50
|
+
}),
|
|
51
|
+
/* @__PURE__ */ E("span", {
|
|
52
|
+
className: "text-muted-foreground",
|
|
53
|
+
children: [
|
|
54
|
+
"(",
|
|
55
|
+
A.ratings.totalRatings,
|
|
56
|
+
" ratings)"
|
|
57
|
+
]
|
|
58
|
+
})
|
|
59
|
+
]
|
|
60
|
+
})]
|
|
61
|
+
}),
|
|
62
|
+
children: /* @__PURE__ */ E("div", {
|
|
63
|
+
className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
|
|
64
|
+
children: [/* @__PURE__ */ E("div", {
|
|
65
|
+
className: "lg:col-span-2 space-y-6",
|
|
66
|
+
children: [
|
|
67
|
+
/* @__PURE__ */ E(t, { children: [/* @__PURE__ */ T(i, { children: /* @__PURE__ */ E(r, {
|
|
68
|
+
className: "flex items-center gap-2",
|
|
69
|
+
children: [/* @__PURE__ */ T(g, { size: 18 }), " Ratings"]
|
|
70
|
+
}) }), /* @__PURE__ */ T(n, { children: /* @__PURE__ */ T("div", {
|
|
71
|
+
className: "grid grid-cols-2 md:grid-cols-3 gap-4",
|
|
72
|
+
children: [
|
|
73
|
+
{
|
|
74
|
+
label: "Punctuality",
|
|
75
|
+
value: A.ratings.punctuality
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
label: "Communication",
|
|
79
|
+
value: A.ratings.communication
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
label: "Handling",
|
|
83
|
+
value: A.ratings.carefulHandling
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
label: "Professionalism",
|
|
87
|
+
value: A.ratings.professionalism
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
label: "On-Time Delivery",
|
|
91
|
+
value: A.ratings.onTimeDelivery
|
|
92
|
+
}
|
|
93
|
+
].map((t) => /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
94
|
+
className: "text-sm text-muted-foreground",
|
|
95
|
+
children: t.label
|
|
96
|
+
}), /* @__PURE__ */ E("div", {
|
|
97
|
+
className: "flex items-center gap-2 mt-1",
|
|
98
|
+
children: [/* @__PURE__ */ T(e, {
|
|
99
|
+
value: t.value * 20,
|
|
100
|
+
className: "flex-1 h-2"
|
|
101
|
+
}), /* @__PURE__ */ T("span", {
|
|
102
|
+
className: "text-sm font-medium",
|
|
103
|
+
children: t.value.toFixed(1)
|
|
104
|
+
})]
|
|
105
|
+
})] }, t.label))
|
|
106
|
+
}) })] }),
|
|
107
|
+
/* @__PURE__ */ E(t, { children: [/* @__PURE__ */ T(i, { children: /* @__PURE__ */ E(r, {
|
|
108
|
+
className: "flex items-center gap-2",
|
|
109
|
+
children: [/* @__PURE__ */ T(d, { size: 18 }), " Working Hours"]
|
|
110
|
+
}) }), /* @__PURE__ */ T(n, { children: /* @__PURE__ */ E("div", {
|
|
111
|
+
className: "grid grid-cols-2 md:grid-cols-4 gap-4",
|
|
112
|
+
children: [
|
|
113
|
+
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
114
|
+
className: "text-sm text-muted-foreground",
|
|
115
|
+
children: "Shift"
|
|
116
|
+
}), /* @__PURE__ */ E("p", {
|
|
117
|
+
className: "font-medium",
|
|
118
|
+
children: [
|
|
119
|
+
A.workingHours.startTime,
|
|
120
|
+
" - ",
|
|
121
|
+
A.workingHours.endTime
|
|
122
|
+
]
|
|
123
|
+
})] }),
|
|
124
|
+
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
125
|
+
className: "text-sm text-muted-foreground",
|
|
126
|
+
children: "Working Days"
|
|
127
|
+
}), /* @__PURE__ */ E("p", {
|
|
128
|
+
className: "font-medium",
|
|
129
|
+
children: [A.workingHours.workingDays.length, " days/week"]
|
|
130
|
+
})] }),
|
|
131
|
+
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
132
|
+
className: "text-sm text-muted-foreground",
|
|
133
|
+
children: "Hours Today"
|
|
134
|
+
}), /* @__PURE__ */ E("p", {
|
|
135
|
+
className: "font-medium",
|
|
136
|
+
children: [
|
|
137
|
+
A.workingHours.currentHoursToday,
|
|
138
|
+
"h / ",
|
|
139
|
+
A.workingHours.maxHoursPerDay,
|
|
140
|
+
"h"
|
|
141
|
+
]
|
|
142
|
+
})] }),
|
|
143
|
+
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
144
|
+
className: "text-sm text-muted-foreground",
|
|
145
|
+
children: "Hours This Week"
|
|
146
|
+
}), /* @__PURE__ */ E("p", {
|
|
147
|
+
className: "font-medium",
|
|
148
|
+
children: [
|
|
149
|
+
A.workingHours.currentHoursThisWeek,
|
|
150
|
+
"h /",
|
|
151
|
+
" ",
|
|
152
|
+
A.workingHours.maxHoursPerWeek,
|
|
153
|
+
"h"
|
|
154
|
+
]
|
|
155
|
+
})] })
|
|
156
|
+
]
|
|
157
|
+
}) })] }),
|
|
158
|
+
/* @__PURE__ */ E(t, { children: [/* @__PURE__ */ T(i, { children: /* @__PURE__ */ E(r, {
|
|
159
|
+
className: "flex items-center gap-2",
|
|
160
|
+
children: [/* @__PURE__ */ T(p, { size: 18 }), " Documents"]
|
|
161
|
+
}) }), /* @__PURE__ */ T(n, { children: /* @__PURE__ */ E("div", {
|
|
162
|
+
className: "space-y-3",
|
|
163
|
+
children: [/* @__PURE__ */ E("div", {
|
|
164
|
+
className: "flex items-center justify-between p-3 border rounded-lg",
|
|
165
|
+
children: [/* @__PURE__ */ E("div", { children: [
|
|
166
|
+
/* @__PURE__ */ T("p", {
|
|
167
|
+
className: "font-medium",
|
|
168
|
+
children: "Driver's License"
|
|
169
|
+
}),
|
|
170
|
+
/* @__PURE__ */ E("p", {
|
|
171
|
+
className: "text-sm text-muted-foreground",
|
|
172
|
+
children: [
|
|
173
|
+
A.licenseNumber,
|
|
174
|
+
" - ",
|
|
175
|
+
A.licenseType
|
|
176
|
+
]
|
|
177
|
+
}),
|
|
178
|
+
/* @__PURE__ */ E("p", {
|
|
179
|
+
className: "text-sm text-muted-foreground",
|
|
180
|
+
children: ["Expires: ", S(A.licenseExpiry)]
|
|
181
|
+
})
|
|
182
|
+
] }), /* @__PURE__ */ T(o, {
|
|
183
|
+
variant: "default",
|
|
184
|
+
children: "Valid"
|
|
185
|
+
})]
|
|
186
|
+
}), A.documents.map((e) => /* @__PURE__ */ E("div", {
|
|
187
|
+
className: "flex items-center justify-between p-3 border rounded-lg",
|
|
188
|
+
children: [/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
189
|
+
className: "font-medium capitalize",
|
|
190
|
+
children: e.type.replace("_", " ")
|
|
191
|
+
}), /* @__PURE__ */ E("p", {
|
|
192
|
+
className: "text-sm text-muted-foreground",
|
|
193
|
+
children: ["Expires: ", S(e.expiryDate)]
|
|
194
|
+
})] }), /* @__PURE__ */ T(o, {
|
|
195
|
+
variant: e.verified ? "default" : "secondary",
|
|
196
|
+
children: e.verified ? "Verified" : "Pending"
|
|
197
|
+
})]
|
|
198
|
+
}, e.id))]
|
|
199
|
+
}) })] })
|
|
200
|
+
]
|
|
201
|
+
}), /* @__PURE__ */ E("div", {
|
|
202
|
+
className: "space-y-6",
|
|
203
|
+
children: [
|
|
204
|
+
/* @__PURE__ */ E(t, { children: [/* @__PURE__ */ T(i, { children: /* @__PURE__ */ T(r, { children: "Statistics" }) }), /* @__PURE__ */ E(n, {
|
|
205
|
+
className: "space-y-4",
|
|
206
|
+
children: [
|
|
207
|
+
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
208
|
+
className: "text-sm text-muted-foreground",
|
|
209
|
+
children: "Total Deliveries"
|
|
210
|
+
}), /* @__PURE__ */ T("p", {
|
|
211
|
+
className: "text-2xl font-bold",
|
|
212
|
+
children: A.completedOrders.toLocaleString()
|
|
213
|
+
})] }),
|
|
214
|
+
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
215
|
+
className: "text-sm text-muted-foreground",
|
|
216
|
+
children: "Today's Deliveries"
|
|
217
|
+
}), /* @__PURE__ */ T("p", {
|
|
218
|
+
className: "text-2xl font-bold",
|
|
219
|
+
children: A.todayOrders
|
|
220
|
+
})] }),
|
|
221
|
+
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
222
|
+
className: "text-sm text-muted-foreground",
|
|
223
|
+
children: "Join Date"
|
|
224
|
+
}), /* @__PURE__ */ T("p", {
|
|
225
|
+
className: "font-medium",
|
|
226
|
+
children: S(A.joinDate)
|
|
227
|
+
})] })
|
|
228
|
+
]
|
|
229
|
+
})] }),
|
|
230
|
+
/* @__PURE__ */ E(t, { children: [/* @__PURE__ */ T(i, { children: /* @__PURE__ */ E(r, {
|
|
231
|
+
className: "flex items-center gap-2",
|
|
232
|
+
children: [/* @__PURE__ */ T(f, { size: 18 }), " Earnings"]
|
|
233
|
+
}) }), /* @__PURE__ */ E(n, {
|
|
234
|
+
className: "space-y-3",
|
|
235
|
+
children: [
|
|
236
|
+
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
237
|
+
className: "text-sm text-muted-foreground",
|
|
238
|
+
children: "Total Earnings"
|
|
239
|
+
}), /* @__PURE__ */ T("p", {
|
|
240
|
+
className: "text-2xl font-bold",
|
|
241
|
+
children: x(A.earnings.totalEarnings)
|
|
242
|
+
})] }),
|
|
243
|
+
/* @__PURE__ */ E("div", {
|
|
244
|
+
className: "grid grid-cols-2 gap-3",
|
|
245
|
+
children: [/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
246
|
+
className: "text-sm text-muted-foreground",
|
|
247
|
+
children: "This Week"
|
|
248
|
+
}), /* @__PURE__ */ T("p", {
|
|
249
|
+
className: "font-medium",
|
|
250
|
+
children: x(A.earnings.weeklyEarnings)
|
|
251
|
+
})] }), /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
252
|
+
className: "text-sm text-muted-foreground",
|
|
253
|
+
children: "This Month"
|
|
254
|
+
}), /* @__PURE__ */ T("p", {
|
|
255
|
+
className: "font-medium",
|
|
256
|
+
children: x(A.earnings.monthlyEarnings)
|
|
257
|
+
})] })]
|
|
258
|
+
}),
|
|
259
|
+
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
260
|
+
className: "text-sm text-muted-foreground",
|
|
261
|
+
children: "Base Salary"
|
|
262
|
+
}), /* @__PURE__ */ E("p", {
|
|
263
|
+
className: "font-medium",
|
|
264
|
+
children: [x(A.baseSalary), "/year"]
|
|
265
|
+
})] })
|
|
266
|
+
]
|
|
267
|
+
})] }),
|
|
268
|
+
A.currentLocation && /* @__PURE__ */ E(t, { children: [/* @__PURE__ */ T(i, { children: /* @__PURE__ */ E(r, {
|
|
269
|
+
className: "flex items-center gap-2",
|
|
270
|
+
children: [/* @__PURE__ */ T(m, { size: 18 }), " Current Location"]
|
|
271
|
+
}) }), /* @__PURE__ */ E(n, { children: [/* @__PURE__ */ T("p", {
|
|
272
|
+
className: "text-sm",
|
|
273
|
+
children: A.currentLocation.address || "Location updating..."
|
|
274
|
+
}), /* @__PURE__ */ E("p", {
|
|
275
|
+
className: "text-xs text-muted-foreground mt-1",
|
|
276
|
+
children: ["Updated ", S(A.currentLocation.timestamp || /* @__PURE__ */ new Date(), "relative")]
|
|
277
|
+
})] })] }),
|
|
278
|
+
/* @__PURE__ */ E(t, { children: [/* @__PURE__ */ T(i, { children: /* @__PURE__ */ T(r, { children: "Compliance Status" }) }), /* @__PURE__ */ T(n, {
|
|
279
|
+
className: "space-y-2",
|
|
280
|
+
children: Object.entries(A.compliance).filter(([e]) => e !== "lastUpdate").map(([e, t]) => /* @__PURE__ */ E("div", {
|
|
281
|
+
className: "flex items-center justify-between",
|
|
282
|
+
children: [/* @__PURE__ */ T("span", {
|
|
283
|
+
className: "text-sm capitalize",
|
|
284
|
+
children: e.replace(/([A-Z])/g, " $1")
|
|
285
|
+
}), /* @__PURE__ */ T(o, {
|
|
286
|
+
variant: t ? "default" : "destructive",
|
|
287
|
+
children: t ? "Compliant" : "Non-compliant"
|
|
288
|
+
})]
|
|
289
|
+
}, e))
|
|
290
|
+
})] })
|
|
291
|
+
]
|
|
292
|
+
})]
|
|
293
|
+
})
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
//#endregion
|
|
297
|
+
export { D as default };
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { i as e, o as t, s as n, u as r } from "./PageLayout-B7b0vl0R.js";
|
|
2
|
+
import { t as i } from "./DataTable-CRIKfdIN.js";
|
|
3
|
+
import { t as a } from "./download-CIuG04pJ.js";
|
|
4
|
+
import { t as o } from "./plus-Bl7uX6Ji.js";
|
|
5
|
+
import { t as s } from "./refresh-cw-BYjl3K-8.js";
|
|
6
|
+
import { t as c } from "./star-BlVsC3Ad.js";
|
|
7
|
+
import { t as l } from "./users-i-igmsP4.js";
|
|
8
|
+
import { r as u } from "./graphqlClient-CdJyR_ed.js";
|
|
9
|
+
import { n as d } from "./useFleet-BdETplNE.js";
|
|
10
|
+
import { r as f } from "./StatusBadge-BrrwraIA.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
|
+
//#region src/movethewheels/pages/DriversPage.tsx
|
|
15
|
+
function _() {
|
|
16
|
+
let { basePath: _, navigate: v } = u(), { drivers: y, totalDrivers: b, isLoading: x, refetch: S } = d(), C = (e) => v?.(m(_, e));
|
|
17
|
+
return /* @__PURE__ */ h(e, {
|
|
18
|
+
title: "Drivers",
|
|
19
|
+
subtitle: `${b} drivers`,
|
|
20
|
+
icon: /* @__PURE__ */ h(l, { size: 24 }),
|
|
21
|
+
headerActions: /* @__PURE__ */ g("div", {
|
|
22
|
+
className: "flex gap-2",
|
|
23
|
+
children: [
|
|
24
|
+
/* @__PURE__ */ g(r, {
|
|
25
|
+
variant: "outline",
|
|
26
|
+
onClick: S,
|
|
27
|
+
children: [/* @__PURE__ */ h(s, { size: 16 }), " Refresh"]
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ g(r, {
|
|
30
|
+
variant: "outline",
|
|
31
|
+
children: [/* @__PURE__ */ h(a, { size: 16 }), " Export"]
|
|
32
|
+
}),
|
|
33
|
+
/* @__PURE__ */ g(r, { children: [/* @__PURE__ */ h(o, { size: 16 }), " Add Driver"] })
|
|
34
|
+
]
|
|
35
|
+
}),
|
|
36
|
+
children: /* @__PURE__ */ h(i, {
|
|
37
|
+
columns: [
|
|
38
|
+
{
|
|
39
|
+
id: "driver",
|
|
40
|
+
header: "Driver",
|
|
41
|
+
cell: (e) => /* @__PURE__ */ g("div", {
|
|
42
|
+
className: "flex items-center gap-3",
|
|
43
|
+
children: [/* @__PURE__ */ h(t, { children: /* @__PURE__ */ h(n, { children: e.fullName.split(" ").map((e) => e[0]).join("") }) }), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
|
|
44
|
+
className: "font-medium",
|
|
45
|
+
children: e.fullName
|
|
46
|
+
}), /* @__PURE__ */ h("p", {
|
|
47
|
+
className: "text-sm text-muted-foreground",
|
|
48
|
+
children: e.employeeId
|
|
49
|
+
})] })]
|
|
50
|
+
})
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
id: "status",
|
|
54
|
+
header: "Status",
|
|
55
|
+
accessorKey: "status",
|
|
56
|
+
sortable: !0,
|
|
57
|
+
cell: (e) => /* @__PURE__ */ h(f, {
|
|
58
|
+
status: e.status,
|
|
59
|
+
type: "driver"
|
|
60
|
+
})
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: "rating",
|
|
64
|
+
header: "Rating",
|
|
65
|
+
cell: (e) => /* @__PURE__ */ g("div", {
|
|
66
|
+
className: "flex items-center gap-1",
|
|
67
|
+
children: [
|
|
68
|
+
/* @__PURE__ */ h(c, {
|
|
69
|
+
size: 14,
|
|
70
|
+
className: "text-yellow-500 fill-yellow-500"
|
|
71
|
+
}),
|
|
72
|
+
/* @__PURE__ */ h("span", {
|
|
73
|
+
className: "font-medium",
|
|
74
|
+
children: e.ratings.overall.toFixed(1)
|
|
75
|
+
}),
|
|
76
|
+
/* @__PURE__ */ g("span", {
|
|
77
|
+
className: "text-muted-foreground text-sm",
|
|
78
|
+
children: [
|
|
79
|
+
"(",
|
|
80
|
+
e.ratings.totalRatings,
|
|
81
|
+
")"
|
|
82
|
+
]
|
|
83
|
+
})
|
|
84
|
+
]
|
|
85
|
+
})
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
id: "deliveries",
|
|
89
|
+
header: "Deliveries",
|
|
90
|
+
accessorKey: "completedOrders",
|
|
91
|
+
sortable: !0,
|
|
92
|
+
cell: (e) => /* @__PURE__ */ h("span", {
|
|
93
|
+
className: "font-medium",
|
|
94
|
+
children: e.completedOrders.toLocaleString()
|
|
95
|
+
})
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
id: "license",
|
|
99
|
+
header: "License",
|
|
100
|
+
cell: (e) => /* @__PURE__ */ g("div", {
|
|
101
|
+
className: "text-sm",
|
|
102
|
+
children: [/* @__PURE__ */ h("p", { children: e.licenseType }), /* @__PURE__ */ g("p", {
|
|
103
|
+
className: "text-muted-foreground",
|
|
104
|
+
children: ["Exp: ", p(e.licenseExpiry, "short")]
|
|
105
|
+
})]
|
|
106
|
+
})
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
id: "joined",
|
|
110
|
+
header: "Join Date",
|
|
111
|
+
accessorKey: "joinDate",
|
|
112
|
+
sortable: !0,
|
|
113
|
+
cell: (e) => p(e.joinDate, "short")
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
data: y,
|
|
117
|
+
isLoading: x,
|
|
118
|
+
searchable: !0,
|
|
119
|
+
searchPlaceholder: "Search drivers...",
|
|
120
|
+
searchFields: ["fullName", "employeeId"],
|
|
121
|
+
onRowClick: (e) => C(`fleet/drivers/${e.id}`),
|
|
122
|
+
getRowId: (e) => e.id
|
|
123
|
+
})
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
//#endregion
|
|
127
|
+
export { _ as default };
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { d as e, f as t, g as n, h as r, i, it as a, u as o } from "./PageLayout-B7b0vl0R.js";
|
|
2
|
+
import { t as s } from "./dollar-sign-CP9qeU5d.js";
|
|
3
|
+
import { t as c } from "./download-CIuG04pJ.js";
|
|
4
|
+
import { t as l } from "./file-text-Dd_thxkn.js";
|
|
5
|
+
import { t as u } from "./trending-up-C1faflCI.js";
|
|
6
|
+
import { n as d } from "./useOrders-D_3_hGMp.js";
|
|
7
|
+
import { t as f } from "./useAnalytics-ph7eTIK6.js";
|
|
8
|
+
import { r as p, t as m } from "./MetricCard-GTbxAk1a.js";
|
|
9
|
+
import { n as h } from "./formatters-_vJlC-47.js";
|
|
10
|
+
import { jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
11
|
+
//#region node_modules/lucide-react/dist/esm/icons/credit-card.js
|
|
12
|
+
var v = a("CreditCard", [["rect", {
|
|
13
|
+
width: "20",
|
|
14
|
+
height: "14",
|
|
15
|
+
x: "2",
|
|
16
|
+
y: "5",
|
|
17
|
+
rx: "2",
|
|
18
|
+
key: "ynyp8z"
|
|
19
|
+
}], ["line", {
|
|
20
|
+
x1: "2",
|
|
21
|
+
x2: "22",
|
|
22
|
+
y1: "10",
|
|
23
|
+
y2: "10",
|
|
24
|
+
key: "1b3vmo"
|
|
25
|
+
}]]);
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/movethewheels/pages/FinancePage.tsx
|
|
28
|
+
function y() {
|
|
29
|
+
let { analytics: a } = f(), { stats: y } = d(), b = y.totalRevenue * .15, x = y.totalRevenue * .85;
|
|
30
|
+
return /* @__PURE__ */ _(i, {
|
|
31
|
+
title: "Finance",
|
|
32
|
+
subtitle: "Financial overview and reports",
|
|
33
|
+
icon: /* @__PURE__ */ g(s, { size: 24 }),
|
|
34
|
+
headerActions: /* @__PURE__ */ _("div", {
|
|
35
|
+
className: "flex gap-2",
|
|
36
|
+
children: [/* @__PURE__ */ _(o, {
|
|
37
|
+
variant: "outline",
|
|
38
|
+
children: [/* @__PURE__ */ g(l, { size: 16 }), " Invoices"]
|
|
39
|
+
}), /* @__PURE__ */ _(o, {
|
|
40
|
+
variant: "outline",
|
|
41
|
+
children: [/* @__PURE__ */ g(c, { size: 16 }), " Export"]
|
|
42
|
+
})]
|
|
43
|
+
}),
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ _(p, {
|
|
46
|
+
columns: 4,
|
|
47
|
+
children: [
|
|
48
|
+
/* @__PURE__ */ g(m, {
|
|
49
|
+
label: "Total Revenue",
|
|
50
|
+
value: h(a.overview.totalRevenue),
|
|
51
|
+
icon: /* @__PURE__ */ g(s, { size: 20 }),
|
|
52
|
+
change: "+12.5%",
|
|
53
|
+
changeType: "positive",
|
|
54
|
+
trend: "up"
|
|
55
|
+
}),
|
|
56
|
+
/* @__PURE__ */ g(m, {
|
|
57
|
+
label: "Completed",
|
|
58
|
+
value: h(x),
|
|
59
|
+
icon: /* @__PURE__ */ g(u, { size: 20 }),
|
|
60
|
+
changeType: "positive"
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ g(m, {
|
|
63
|
+
label: "Pending",
|
|
64
|
+
value: h(b),
|
|
65
|
+
icon: /* @__PURE__ */ g(v, { size: 20 }),
|
|
66
|
+
changeType: "neutral"
|
|
67
|
+
}),
|
|
68
|
+
/* @__PURE__ */ g(m, {
|
|
69
|
+
label: "Avg Order Value",
|
|
70
|
+
value: h(y.avgOrderValue),
|
|
71
|
+
icon: /* @__PURE__ */ g(s, { size: 20 })
|
|
72
|
+
})
|
|
73
|
+
]
|
|
74
|
+
}),
|
|
75
|
+
/* @__PURE__ */ _("div", {
|
|
76
|
+
className: "grid grid-cols-1 lg:grid-cols-2 gap-6",
|
|
77
|
+
children: [/* @__PURE__ */ _(e, { children: [/* @__PURE__ */ g(r, { children: /* @__PURE__ */ g(n, { children: "Revenue by Month" }) }), /* @__PURE__ */ g(t, { children: /* @__PURE__ */ g("div", {
|
|
78
|
+
className: "space-y-4",
|
|
79
|
+
children: a.trends.revenue.map((e) => /* @__PURE__ */ _("div", {
|
|
80
|
+
className: "flex items-center justify-between p-3 bg-muted/50 rounded-lg",
|
|
81
|
+
children: [/* @__PURE__ */ _("span", {
|
|
82
|
+
className: "font-medium",
|
|
83
|
+
children: [e.month, " 2024"]
|
|
84
|
+
}), /* @__PURE__ */ g("span", {
|
|
85
|
+
className: "text-lg font-bold",
|
|
86
|
+
children: h(e.revenue)
|
|
87
|
+
})]
|
|
88
|
+
}, e.month))
|
|
89
|
+
}) })] }), /* @__PURE__ */ _(e, { children: [/* @__PURE__ */ g(r, { children: /* @__PURE__ */ g(n, { children: "Payment Status" }) }), /* @__PURE__ */ g(t, { children: /* @__PURE__ */ _("div", {
|
|
90
|
+
className: "space-y-4",
|
|
91
|
+
children: [/* @__PURE__ */ _("div", {
|
|
92
|
+
className: "flex items-center justify-between p-4 bg-green-50 dark:bg-green-900/20 rounded-lg",
|
|
93
|
+
children: [/* @__PURE__ */ _("div", {
|
|
94
|
+
className: "flex items-center gap-3",
|
|
95
|
+
children: [/* @__PURE__ */ g("div", {
|
|
96
|
+
className: "w-10 h-10 rounded-full bg-green-100 dark:bg-green-800 flex items-center justify-center",
|
|
97
|
+
children: /* @__PURE__ */ g(u, {
|
|
98
|
+
size: 20,
|
|
99
|
+
className: "text-green-600"
|
|
100
|
+
})
|
|
101
|
+
}), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
|
|
102
|
+
className: "font-medium",
|
|
103
|
+
children: "Paid"
|
|
104
|
+
}), /* @__PURE__ */ _("p", {
|
|
105
|
+
className: "text-sm text-muted-foreground",
|
|
106
|
+
children: [y.byStatus.delivered, " orders"]
|
|
107
|
+
})] })]
|
|
108
|
+
}), /* @__PURE__ */ g("span", {
|
|
109
|
+
className: "text-xl font-bold text-green-600",
|
|
110
|
+
children: h(x)
|
|
111
|
+
})]
|
|
112
|
+
}), /* @__PURE__ */ _("div", {
|
|
113
|
+
className: "flex items-center justify-between p-4 bg-yellow-50 dark:bg-yellow-900/20 rounded-lg",
|
|
114
|
+
children: [/* @__PURE__ */ _("div", {
|
|
115
|
+
className: "flex items-center gap-3",
|
|
116
|
+
children: [/* @__PURE__ */ g("div", {
|
|
117
|
+
className: "w-10 h-10 rounded-full bg-yellow-100 dark:bg-yellow-800 flex items-center justify-center",
|
|
118
|
+
children: /* @__PURE__ */ g(v, {
|
|
119
|
+
size: 20,
|
|
120
|
+
className: "text-yellow-600"
|
|
121
|
+
})
|
|
122
|
+
}), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
|
|
123
|
+
className: "font-medium",
|
|
124
|
+
children: "Pending"
|
|
125
|
+
}), /* @__PURE__ */ _("p", {
|
|
126
|
+
className: "text-sm text-muted-foreground",
|
|
127
|
+
children: [y.byStatus.pending + y.byStatus.in_transit, " orders"]
|
|
128
|
+
})] })]
|
|
129
|
+
}), /* @__PURE__ */ g("span", {
|
|
130
|
+
className: "text-xl font-bold text-yellow-600",
|
|
131
|
+
children: h(b)
|
|
132
|
+
})]
|
|
133
|
+
})]
|
|
134
|
+
}) })] })]
|
|
135
|
+
}),
|
|
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-muted-foreground",
|
|
138
|
+
children: [
|
|
139
|
+
/* @__PURE__ */ g(l, {
|
|
140
|
+
size: 48,
|
|
141
|
+
className: "mx-auto mb-4 opacity-50"
|
|
142
|
+
}),
|
|
143
|
+
/* @__PURE__ */ g("p", { children: "Transaction history would be displayed here" }),
|
|
144
|
+
/* @__PURE__ */ g("p", {
|
|
145
|
+
className: "text-sm",
|
|
146
|
+
children: "Integration with payment gateway required"
|
|
147
|
+
})
|
|
148
|
+
]
|
|
149
|
+
}) })] })
|
|
150
|
+
]
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
//#endregion
|
|
154
|
+
export { y as default };
|