@burdenoff/microfe-subscriberbot 2026.615.1 → 2026.625.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node_modules/{.bun/clsx@2.1.1/node_modules/clsx → clsx}/dist/clsx.js +1 -1
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/{.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge → tailwind-merge}/dist/bundle-mjs.js +212 -170
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/subscriberbot/components/EmptyState.js +20 -13
- package/dist/subscriberbot/components/EmptyState.js.map +1 -1
- package/dist/subscriberbot/components/InvestmentCard.js +29 -28
- package/dist/subscriberbot/components/InvestmentCard.js.map +1 -1
- package/dist/subscriberbot/components/MetricsCard.js +18 -15
- package/dist/subscriberbot/components/MetricsCard.js.map +1 -1
- package/dist/subscriberbot/components/PageLayout.js +27 -15
- package/dist/subscriberbot/components/PageLayout.js.map +1 -1
- package/dist/subscriberbot/components/RatingDisplay.js +3 -3
- package/dist/subscriberbot/components/RatingDisplay.js.map +1 -1
- package/dist/subscriberbot/components/StatusBadge.js +26 -14
- package/dist/subscriberbot/components/StatusBadge.js.map +1 -1
- package/dist/subscriberbot/context/SubscriberBotContext.js.map +1 -1
- package/dist/subscriberbot/pages/HomePage.js +109 -105
- package/dist/subscriberbot/pages/HomePage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminAnalyticsPage.js +87 -87
- package/dist/subscriberbot/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminDashboard.js +102 -101
- package/dist/subscriberbot/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminFinancialPage.js +48 -48
- package/dist/subscriberbot/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminOrdersPage.js +96 -96
- package/dist/subscriberbot/pages/admin/AdminOrdersPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminProfilePage.js +34 -34
- package/dist/subscriberbot/pages/admin/AdminProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminSettingsPage.js +40 -40
- package/dist/subscriberbot/pages/admin/AdminSettingsPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/CartManagementPage.js +104 -104
- package/dist/subscriberbot/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/UserManagementPage.js +99 -99
- package/dist/subscriberbot/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/AnalyticsDashboard.js +117 -117
- package/dist/subscriberbot/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/BusinessSettingsPage.js +34 -34
- package/dist/subscriberbot/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/CartOwnerDashboard.js +158 -153
- package/dist/subscriberbot/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/CartOwnerProfilePage.js +117 -117
- package/dist/subscriberbot/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/CartServiceConfigPage.js +89 -89
- package/dist/subscriberbot/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/InventoryManagementPage.js +109 -109
- package/dist/subscriberbot/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/OrderManagementPage.js +90 -89
- package/dist/subscriberbot/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/StaffManagementPage.js +97 -97
- package/dist/subscriberbot/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/common/HelpSupportPage.js +138 -138
- package/dist/subscriberbot/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/subscriberbot/pages/common/NotificationCenterPage.js +67 -66
- package/dist/subscriberbot/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/subscriberbot/pages/common/SettingsPage.js +116 -116
- package/dist/subscriberbot/pages/common/SettingsPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/BookingDetailsPage.js +73 -72
- package/dist/subscriberbot/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CartDetailPage.js +89 -88
- package/dist/subscriberbot/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CartDiscoveryPage.js +68 -66
- package/dist/subscriberbot/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CheckoutPage.js +80 -80
- package/dist/subscriberbot/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CustomerDashboard.js +89 -88
- package/dist/subscriberbot/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CustomerProfilePage.js +84 -84
- package/dist/subscriberbot/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/DirectServiceBookingPage.js +92 -91
- package/dist/subscriberbot/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/FavoritesPage.js +34 -33
- package/dist/subscriberbot/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/OrderHistoryPage.js +45 -43
- package/dist/subscriberbot/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/OrderTrackingPage.js +61 -60
- package/dist/subscriberbot/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/PaymentMethodsPage.js +59 -58
- package/dist/subscriberbot/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/ReviewsPage.js +49 -48
- package/dist/subscriberbot/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/SavedAddressesPage.js +47 -46
- package/dist/subscriberbot/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestmentDetailsPage.js +129 -129
- package/dist/subscriberbot/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestmentOpportunitiesPage.js +90 -88
- package/dist/subscriberbot/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorAnalyticsPage.js +88 -88
- package/dist/subscriberbot/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorDashboard.js +63 -62
- package/dist/subscriberbot/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorInvestmentsPage.js +39 -38
- package/dist/subscriberbot/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorPortfolioPage.js +66 -66
- package/dist/subscriberbot/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorProfilePage.js +154 -154
- package/dist/subscriberbot/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/worker/TaskDetailsPage.js +80 -79
- package/dist/subscriberbot/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/subscriberbot/pages/worker/WorkerDashboard.js +107 -106
- package/dist/subscriberbot/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/worker/WorkerOrdersPage.js +73 -72
- package/dist/subscriberbot/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/subscriberbot/pages/worker/WorkerProfilePage.js +108 -108
- package/dist/subscriberbot/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/worker/WorkerSchedulePage.js +71 -69
- package/dist/subscriberbot/pages/worker/WorkerSchedulePage.js.map +1 -1
- package/dist/subscriberbot/utils/cn.js +2 -2
- package/package.json +3 -3
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
|
@@ -8,13 +8,13 @@ import { Boxes as l, CalendarDays as u, CheckCircle2 as d, ChefHat as f, Chevron
|
|
|
8
8
|
import { jsx as O, jsxs as k } from "react/jsx-runtime";
|
|
9
9
|
//#region src/subscriberbot/pages/worker/WorkerDashboard.tsx
|
|
10
10
|
var A = {
|
|
11
|
-
high: "bg-
|
|
12
|
-
medium: "bg-
|
|
13
|
-
low: "bg-
|
|
11
|
+
high: "bg-status-error-bg/20 text-status-error-text",
|
|
12
|
+
medium: "bg-status-warning-bg/20 text-status-warning-text",
|
|
13
|
+
low: "bg-status-success-bg/20 text-status-success-text"
|
|
14
14
|
}, j = {
|
|
15
15
|
pending: "bg-secondary text-secondary-foreground",
|
|
16
|
-
in_progress: "bg-
|
|
17
|
-
completed: "bg-
|
|
16
|
+
in_progress: "bg-status-info-bg/20 text-status-info-text",
|
|
17
|
+
completed: "bg-status-success-bg/20 text-status-success-text"
|
|
18
18
|
};
|
|
19
19
|
function M(e) {
|
|
20
20
|
switch (e) {
|
|
@@ -81,8 +81,8 @@ var N = {
|
|
|
81
81
|
className: "flex items-center justify-center py-24",
|
|
82
82
|
children: /* @__PURE__ */ k("div", {
|
|
83
83
|
className: "text-center",
|
|
84
|
-
children: [/* @__PURE__ */ O(g, { className: "h-10 w-10 animate-spin text-
|
|
85
|
-
className: "text-sm text-
|
|
84
|
+
children: [/* @__PURE__ */ O(g, { className: "h-10 w-10 animate-spin text-text-secondary mx-auto mb-4" }), /* @__PURE__ */ O("p", {
|
|
85
|
+
className: "text-sm text-text-secondary",
|
|
86
86
|
children: "Loading your dashboard..."
|
|
87
87
|
})]
|
|
88
88
|
})
|
|
@@ -92,17 +92,18 @@ var N = {
|
|
|
92
92
|
return /* @__PURE__ */ O(n, {
|
|
93
93
|
title: "Dashboard",
|
|
94
94
|
description: "Manage your tasks and assignments",
|
|
95
|
+
titleGradient: !0,
|
|
95
96
|
actions: /* @__PURE__ */ k("button", {
|
|
96
97
|
type: "button",
|
|
97
98
|
onClick: () => l("/worker/orders"),
|
|
98
|
-
className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-
|
|
99
|
+
className: "inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent/80 transition-colors",
|
|
99
100
|
children: ["View All Orders", /* @__PURE__ */ O(p, { className: "h-4 w-4" })]
|
|
100
101
|
}),
|
|
101
102
|
children: /* @__PURE__ */ k("div", {
|
|
102
103
|
className: "space-y-6",
|
|
103
104
|
children: [
|
|
104
105
|
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("h2", {
|
|
105
|
-
className: "text-base font-semibold text-
|
|
106
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
106
107
|
children: "Quick Actions"
|
|
107
108
|
}), /* @__PURE__ */ k("div", {
|
|
108
109
|
className: "grid grid-cols-2 lg:grid-cols-4 gap-3",
|
|
@@ -110,25 +111,25 @@ var N = {
|
|
|
110
111
|
/* @__PURE__ */ k("button", {
|
|
111
112
|
type: "button",
|
|
112
113
|
onClick: () => l("/worker/orders"),
|
|
113
|
-
className: "flex items-center justify-center gap-2 rounded-lg border border-border bg-
|
|
114
|
+
className: "flex items-center justify-center gap-2 rounded-lg border border-border-seam bg-bg-surface px-4 py-3 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
|
|
114
115
|
children: [/* @__PURE__ */ O(v, { className: "h-4 w-4" }), "My Orders"]
|
|
115
116
|
}),
|
|
116
117
|
/* @__PURE__ */ k("button", {
|
|
117
118
|
type: "button",
|
|
118
119
|
onClick: () => l("/worker/schedule"),
|
|
119
|
-
className: "flex items-center justify-center gap-2 rounded-lg border border-border bg-
|
|
120
|
+
className: "flex items-center justify-center gap-2 rounded-lg border border-border-seam bg-bg-surface px-4 py-3 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
|
|
120
121
|
children: [/* @__PURE__ */ O(u, { className: "h-4 w-4" }), "Schedule"]
|
|
121
122
|
}),
|
|
122
123
|
/* @__PURE__ */ k("button", {
|
|
123
124
|
type: "button",
|
|
124
125
|
onClick: () => l("/worker/profile"),
|
|
125
|
-
className: "flex items-center justify-center gap-2 rounded-lg border border-border bg-
|
|
126
|
+
className: "flex items-center justify-center gap-2 rounded-lg border border-border-seam bg-bg-surface px-4 py-3 text-sm font-medium text-text-primary hover:bg-bg-sunken transition-colors",
|
|
126
127
|
children: [/* @__PURE__ */ O(E, { className: "h-4 w-4" }), "Profile"]
|
|
127
128
|
}),
|
|
128
129
|
/* @__PURE__ */ k("button", {
|
|
129
130
|
type: "button",
|
|
130
131
|
onClick: G,
|
|
131
|
-
className: t("flex items-center justify-center gap-2 rounded-lg px-4 py-3 text-sm font-medium transition-colors", B ? "bg-
|
|
132
|
+
className: t("flex items-center justify-center gap-2 rounded-lg px-4 py-3 text-sm font-medium transition-colors", B ? "bg-status-error-bg/10 text-status-error-text border border-status-error-border/30 hover:bg-status-error-bg/20" : "bg-status-success-bg/10 text-status-success-text border border-status-success-border/30 hover:bg-status-success-bg/20"),
|
|
132
133
|
children: [/* @__PURE__ */ O(C, { className: "h-4 w-4" }), B ? "Clock Out" : "Clock In"]
|
|
133
134
|
})
|
|
134
135
|
]
|
|
@@ -136,15 +137,15 @@ var N = {
|
|
|
136
137
|
P && /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ k("div", {
|
|
137
138
|
className: "flex items-center justify-between mb-3",
|
|
138
139
|
children: [/* @__PURE__ */ O("h2", {
|
|
139
|
-
className: "text-base font-semibold text-
|
|
140
|
+
className: "text-base font-semibold text-text-primary",
|
|
140
141
|
children: "Today's Overview"
|
|
141
142
|
}), B && H && /* @__PURE__ */ k("div", {
|
|
142
|
-
className: "flex items-center gap-2 rounded-lg bg-
|
|
143
|
+
className: "flex items-center gap-2 rounded-lg bg-status-success-bg/10 border border-status-success-border/20 px-3 py-1.5",
|
|
143
144
|
children: [/* @__PURE__ */ k("span", {
|
|
144
145
|
className: "relative flex h-2 w-2",
|
|
145
|
-
children: [/* @__PURE__ */ O("span", { className: "animate-ping absolute inline-flex h-full w-full rounded-full bg-
|
|
146
|
+
children: [/* @__PURE__ */ O("span", { className: "animate-ping absolute inline-flex h-full w-full rounded-full bg-status-success-bg opacity-75" }), /* @__PURE__ */ O("span", { className: "relative inline-flex rounded-full h-2 w-2 bg-status-success-text" })]
|
|
146
147
|
}), /* @__PURE__ */ k("span", {
|
|
147
|
-
className: "text-xs font-medium text-
|
|
148
|
+
className: "text-xs font-medium text-status-success-text",
|
|
148
149
|
children: ["Working since ", H]
|
|
149
150
|
})]
|
|
150
151
|
})]
|
|
@@ -152,121 +153,121 @@ var N = {
|
|
|
152
153
|
className: "grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-3",
|
|
153
154
|
children: [
|
|
154
155
|
/* @__PURE__ */ k("div", {
|
|
155
|
-
className: "rounded-lg border border-border bg-
|
|
156
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
|
|
156
157
|
children: [
|
|
157
158
|
/* @__PURE__ */ O("div", {
|
|
158
159
|
className: "flex items-center gap-2 mb-2",
|
|
159
160
|
children: /* @__PURE__ */ O("div", {
|
|
160
|
-
className: "inline-flex rounded-md p-1.5 bg-
|
|
161
|
+
className: "inline-flex rounded-md p-1.5 bg-status-success-bg/10 text-status-success-text",
|
|
161
162
|
children: /* @__PURE__ */ O(d, { className: "h-4 w-4" })
|
|
162
163
|
})
|
|
163
164
|
}),
|
|
164
165
|
/* @__PURE__ */ O("p", {
|
|
165
|
-
className: "text-2xl font-bold text-
|
|
166
|
+
className: "text-2xl font-bold text-status-success-text",
|
|
166
167
|
children: P.tasksCompleted
|
|
167
168
|
}),
|
|
168
169
|
/* @__PURE__ */ O("p", {
|
|
169
|
-
className: "text-xs text-
|
|
170
|
+
className: "text-xs text-text-secondary",
|
|
170
171
|
children: "Completed"
|
|
171
172
|
})
|
|
172
173
|
]
|
|
173
174
|
}),
|
|
174
175
|
/* @__PURE__ */ k("div", {
|
|
175
|
-
className: "rounded-lg border border-border bg-
|
|
176
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
|
|
176
177
|
children: [
|
|
177
178
|
/* @__PURE__ */ O("div", {
|
|
178
179
|
className: "flex items-center gap-2 mb-2",
|
|
179
180
|
children: /* @__PURE__ */ O("div", {
|
|
180
|
-
className: "inline-flex rounded-md p-1.5 bg-
|
|
181
|
+
className: "inline-flex rounded-md p-1.5 bg-status-info-bg/10 text-status-info-text",
|
|
181
182
|
children: /* @__PURE__ */ O(b, { className: "h-4 w-4" })
|
|
182
183
|
})
|
|
183
184
|
}),
|
|
184
185
|
/* @__PURE__ */ O("p", {
|
|
185
|
-
className: "text-2xl font-bold text-
|
|
186
|
+
className: "text-2xl font-bold text-status-info-text",
|
|
186
187
|
children: P.tasksInProgress
|
|
187
188
|
}),
|
|
188
189
|
/* @__PURE__ */ O("p", {
|
|
189
|
-
className: "text-xs text-
|
|
190
|
+
className: "text-xs text-text-secondary",
|
|
190
191
|
children: "In Progress"
|
|
191
192
|
})
|
|
192
193
|
]
|
|
193
194
|
}),
|
|
194
195
|
/* @__PURE__ */ k("div", {
|
|
195
|
-
className: "rounded-lg border border-border bg-
|
|
196
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
|
|
196
197
|
children: [
|
|
197
198
|
/* @__PURE__ */ O("div", {
|
|
198
199
|
className: "flex items-center gap-2 mb-2",
|
|
199
200
|
children: /* @__PURE__ */ O("div", {
|
|
200
|
-
className: "inline-flex rounded-md p-1.5 bg-
|
|
201
|
+
className: "inline-flex rounded-md p-1.5 bg-status-warning-bg/10 text-status-warning-text",
|
|
201
202
|
children: /* @__PURE__ */ O(h, { className: "h-4 w-4" })
|
|
202
203
|
})
|
|
203
204
|
}),
|
|
204
205
|
/* @__PURE__ */ O("p", {
|
|
205
|
-
className: "text-2xl font-bold text-
|
|
206
|
+
className: "text-2xl font-bold text-status-warning-text",
|
|
206
207
|
children: P.tasksPending
|
|
207
208
|
}),
|
|
208
209
|
/* @__PURE__ */ O("p", {
|
|
209
|
-
className: "text-xs text-
|
|
210
|
+
className: "text-xs text-text-secondary",
|
|
210
211
|
children: "Pending"
|
|
211
212
|
})
|
|
212
213
|
]
|
|
213
214
|
}),
|
|
214
215
|
/* @__PURE__ */ k("div", {
|
|
215
|
-
className: "rounded-lg border border-border bg-
|
|
216
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
|
|
216
217
|
children: [
|
|
217
218
|
/* @__PURE__ */ O("div", {
|
|
218
219
|
className: "flex items-center gap-2 mb-2",
|
|
219
220
|
children: /* @__PURE__ */ O("div", {
|
|
220
|
-
className: "inline-flex rounded-md p-1.5 bg-purple-
|
|
221
|
+
className: "inline-flex rounded-md p-1.5 bg-accent-purple-subtle text-accent-purple",
|
|
221
222
|
children: /* @__PURE__ */ O(C, { className: "h-4 w-4" })
|
|
222
223
|
})
|
|
223
224
|
}),
|
|
224
225
|
/* @__PURE__ */ k("p", {
|
|
225
|
-
className: "text-2xl font-bold text-
|
|
226
|
+
className: "text-2xl font-bold text-accent-purple",
|
|
226
227
|
children: [P.hoursWorked, "h"]
|
|
227
228
|
}),
|
|
228
229
|
/* @__PURE__ */ O("p", {
|
|
229
|
-
className: "text-xs text-
|
|
230
|
+
className: "text-xs text-text-secondary",
|
|
230
231
|
children: "Hours Worked"
|
|
231
232
|
})
|
|
232
233
|
]
|
|
233
234
|
}),
|
|
234
235
|
/* @__PURE__ */ k("div", {
|
|
235
|
-
className: "rounded-lg border border-border bg-
|
|
236
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
|
|
236
237
|
children: [
|
|
237
238
|
/* @__PURE__ */ O("div", {
|
|
238
239
|
className: "flex items-center gap-2 mb-2",
|
|
239
240
|
children: /* @__PURE__ */ O("div", {
|
|
240
|
-
className: "inline-flex rounded-md p-1.5 bg-indigo-
|
|
241
|
+
className: "inline-flex rounded-md p-1.5 bg-accent-indigo-subtle text-accent-indigo",
|
|
241
242
|
children: /* @__PURE__ */ O(D, { className: "h-4 w-4" })
|
|
242
243
|
})
|
|
243
244
|
}),
|
|
244
245
|
/* @__PURE__ */ k("p", {
|
|
245
|
-
className: "text-2xl font-bold text-
|
|
246
|
+
className: "text-2xl font-bold text-accent-indigo",
|
|
246
247
|
children: [P.efficiency, "%"]
|
|
247
248
|
}),
|
|
248
249
|
/* @__PURE__ */ O("p", {
|
|
249
|
-
className: "text-xs text-
|
|
250
|
+
className: "text-xs text-text-secondary",
|
|
250
251
|
children: "Efficiency"
|
|
251
252
|
})
|
|
252
253
|
]
|
|
253
254
|
}),
|
|
254
255
|
/* @__PURE__ */ k("div", {
|
|
255
|
-
className: "rounded-lg border border-border bg-
|
|
256
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 shadow-sm",
|
|
256
257
|
children: [
|
|
257
258
|
/* @__PURE__ */ O("div", {
|
|
258
259
|
className: "flex items-center gap-2 mb-2",
|
|
259
260
|
children: /* @__PURE__ */ O("div", {
|
|
260
|
-
className: "inline-flex rounded-md p-1.5 bg-
|
|
261
|
+
className: "inline-flex rounded-md p-1.5 bg-status-warning-bg/10 text-status-warning-text",
|
|
261
262
|
children: /* @__PURE__ */ O(S, { className: "h-4 w-4" })
|
|
262
263
|
})
|
|
263
264
|
}),
|
|
264
265
|
/* @__PURE__ */ k("p", {
|
|
265
|
-
className: "text-2xl font-bold text-
|
|
266
|
+
className: "text-2xl font-bold text-status-warning-text",
|
|
266
267
|
children: [P.rating, "/5"]
|
|
267
268
|
}),
|
|
268
269
|
/* @__PURE__ */ O("p", {
|
|
269
|
-
className: "text-xs text-
|
|
270
|
+
className: "text-xs text-text-secondary",
|
|
270
271
|
children: "Rating"
|
|
271
272
|
})
|
|
272
273
|
]
|
|
@@ -274,28 +275,28 @@ var N = {
|
|
|
274
275
|
]
|
|
275
276
|
})] }),
|
|
276
277
|
K && /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("h2", {
|
|
277
|
-
className: "text-base font-semibold text-
|
|
278
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
278
279
|
children: "Current Task"
|
|
279
280
|
}), /* @__PURE__ */ O("div", {
|
|
280
|
-
className: "rounded-lg border-2 border-
|
|
281
|
+
className: "rounded-lg border-2 border-status-info-border/40 bg-status-info-bg/5 p-6",
|
|
281
282
|
children: /* @__PURE__ */ k("div", {
|
|
282
283
|
className: "flex items-start justify-between mb-4",
|
|
283
284
|
children: [/* @__PURE__ */ k("div", {
|
|
284
285
|
className: "flex items-start gap-3",
|
|
285
286
|
children: [/* @__PURE__ */ O("div", {
|
|
286
|
-
className: "flex h-10 w-10 items-center justify-center rounded-lg bg-
|
|
287
|
-
children: /* @__PURE__ */ O(M(K.type), { className: "h-5 w-5 text-
|
|
287
|
+
className: "flex h-10 w-10 items-center justify-center rounded-lg bg-status-info-bg/10",
|
|
288
|
+
children: /* @__PURE__ */ O(M(K.type), { className: "h-5 w-5 text-status-info-text" })
|
|
288
289
|
}), /* @__PURE__ */ k("div", { children: [
|
|
289
290
|
/* @__PURE__ */ O("h3", {
|
|
290
|
-
className: "text-lg font-semibold text-
|
|
291
|
+
className: "text-lg font-semibold text-text-primary",
|
|
291
292
|
children: K.title
|
|
292
293
|
}),
|
|
293
294
|
/* @__PURE__ */ O("p", {
|
|
294
|
-
className: "text-sm text-
|
|
295
|
+
className: "text-sm text-text-secondary mt-1",
|
|
295
296
|
children: K.description
|
|
296
297
|
}),
|
|
297
298
|
/* @__PURE__ */ k("div", {
|
|
298
|
-
className: "flex flex-wrap items-center gap-3 mt-2 text-sm text-
|
|
299
|
+
className: "flex flex-wrap items-center gap-3 mt-2 text-sm text-text-secondary",
|
|
299
300
|
children: [
|
|
300
301
|
/* @__PURE__ */ k("span", {
|
|
301
302
|
className: "flex items-center gap-1",
|
|
@@ -325,33 +326,33 @@ var N = {
|
|
|
325
326
|
children: [/* @__PURE__ */ k("button", {
|
|
326
327
|
type: "button",
|
|
327
328
|
onClick: () => W(K.id, "complete"),
|
|
328
|
-
className: "inline-flex items-center gap-1.5 rounded-md bg-
|
|
329
|
+
className: "inline-flex items-center gap-1.5 rounded-md bg-status-success-bg/10 px-3 py-2 text-sm font-medium text-status-success-text hover:bg-status-success-bg/20 transition-colors",
|
|
329
330
|
children: [/* @__PURE__ */ O(d, { className: "h-4 w-4" }), "Complete"]
|
|
330
331
|
}), /* @__PURE__ */ k("button", {
|
|
331
332
|
type: "button",
|
|
332
333
|
onClick: () => W(K.id, "pause"),
|
|
333
|
-
className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-2 text-sm font-medium text-
|
|
334
|
+
className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-2 text-sm font-medium text-text-primary hover:bg-accent/80 transition-colors",
|
|
334
335
|
children: [/* @__PURE__ */ O(y, { className: "h-4 w-4" }), "Pause"]
|
|
335
336
|
})]
|
|
336
337
|
})]
|
|
337
338
|
})
|
|
338
339
|
})] }),
|
|
339
340
|
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("h2", {
|
|
340
|
-
className: "text-base font-semibold text-
|
|
341
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
341
342
|
children: "Assigned Tasks"
|
|
342
343
|
}), /* @__PURE__ */ O("div", {
|
|
343
|
-
className: "rounded-lg border border-border bg-
|
|
344
|
+
className: "rounded-lg border border-border-seam bg-bg-surface shadow-sm overflow-hidden",
|
|
344
345
|
children: q.length > 0 ? /* @__PURE__ */ O("div", {
|
|
345
346
|
className: "divide-y divide-border",
|
|
346
347
|
children: q.map((e) => /* @__PURE__ */ O("div", {
|
|
347
|
-
className: "p-4 hover:bg-
|
|
348
|
+
className: "p-4 hover:bg-bg-sunken/30 transition-colors",
|
|
348
349
|
children: /* @__PURE__ */ k("div", {
|
|
349
350
|
className: "flex flex-col sm:flex-row sm:items-start sm:justify-between gap-3",
|
|
350
351
|
children: [/* @__PURE__ */ k("div", {
|
|
351
352
|
className: "flex items-start gap-3 flex-1 min-w-0",
|
|
352
353
|
children: [/* @__PURE__ */ O("div", {
|
|
353
|
-
className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-
|
|
354
|
-
children: /* @__PURE__ */ O(M(e.type), { className: "h-4.5 w-4.5 text-
|
|
354
|
+
className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-bg-sunken",
|
|
355
|
+
children: /* @__PURE__ */ O(M(e.type), { className: "h-4.5 w-4.5 text-text-secondary" })
|
|
355
356
|
}), /* @__PURE__ */ k("div", {
|
|
356
357
|
className: "flex-1 min-w-0",
|
|
357
358
|
children: [
|
|
@@ -359,7 +360,7 @@ var N = {
|
|
|
359
360
|
className: "flex flex-wrap items-center gap-2 mb-1",
|
|
360
361
|
children: [
|
|
361
362
|
/* @__PURE__ */ O("h3", {
|
|
362
|
-
className: "text-sm font-medium text-
|
|
363
|
+
className: "text-sm font-medium text-text-primary",
|
|
363
364
|
children: e.title
|
|
364
365
|
}),
|
|
365
366
|
/* @__PURE__ */ O("span", {
|
|
@@ -373,11 +374,11 @@ var N = {
|
|
|
373
374
|
]
|
|
374
375
|
}),
|
|
375
376
|
/* @__PURE__ */ O("p", {
|
|
376
|
-
className: "text-xs text-
|
|
377
|
+
className: "text-xs text-text-secondary line-clamp-1",
|
|
377
378
|
children: e.description
|
|
378
379
|
}),
|
|
379
380
|
/* @__PURE__ */ k("div", {
|
|
380
|
-
className: "flex flex-wrap items-center gap-3 mt-1.5 text-xs text-
|
|
381
|
+
className: "flex flex-wrap items-center gap-3 mt-1.5 text-xs text-text-secondary",
|
|
381
382
|
children: [
|
|
382
383
|
/* @__PURE__ */ k("span", {
|
|
383
384
|
className: "flex items-center gap-1",
|
|
@@ -414,19 +415,19 @@ var N = {
|
|
|
414
415
|
type: "button",
|
|
415
416
|
onClick: () => W(e.id, "start"),
|
|
416
417
|
disabled: R !== null,
|
|
417
|
-
className: t("inline-flex items-center gap-1.5 rounded-md px-3 py-1.5 text-xs font-medium transition-colors", R === null ? "bg-
|
|
418
|
+
className: t("inline-flex items-center gap-1.5 rounded-md px-3 py-1.5 text-xs font-medium transition-colors", R === null ? "bg-status-info-bg/10 text-status-info-text hover:bg-status-info-bg/20" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
|
|
418
419
|
children: [/* @__PURE__ */ O(b, { className: "h-3.5 w-3.5" }), "Start"]
|
|
419
420
|
}),
|
|
420
421
|
e.status === "in_progress" && e.id !== R && /* @__PURE__ */ k("button", {
|
|
421
422
|
type: "button",
|
|
422
423
|
onClick: () => z(e.id),
|
|
423
|
-
className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-
|
|
424
|
+
className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
|
|
424
425
|
children: [/* @__PURE__ */ O(b, { className: "h-3.5 w-3.5" }), "Resume"]
|
|
425
426
|
}),
|
|
426
427
|
/* @__PURE__ */ k("button", {
|
|
427
428
|
type: "button",
|
|
428
429
|
onClick: () => l(`/worker/task/${e.id}`),
|
|
429
|
-
className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-
|
|
430
|
+
className: "inline-flex items-center gap-1.5 rounded-md bg-accent px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-accent/80 transition-colors",
|
|
430
431
|
children: ["Details", /* @__PURE__ */ O(p, { className: "h-3.5 w-3.5" })]
|
|
431
432
|
})
|
|
432
433
|
]
|
|
@@ -435,33 +436,33 @@ var N = {
|
|
|
435
436
|
}, e.id))
|
|
436
437
|
}) : /* @__PURE__ */ k("div", {
|
|
437
438
|
className: "p-8 text-center",
|
|
438
|
-
children: [/* @__PURE__ */ O(d, { className: "h-10 w-10 text-
|
|
439
|
-
className: "text-sm text-
|
|
439
|
+
children: [/* @__PURE__ */ O(d, { className: "h-10 w-10 text-status-success-text opacity-40 mx-auto mb-2" }), /* @__PURE__ */ O("p", {
|
|
440
|
+
className: "text-sm text-text-secondary",
|
|
440
441
|
children: "All tasks completed!"
|
|
441
442
|
})]
|
|
442
443
|
})
|
|
443
444
|
})] }),
|
|
444
445
|
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("h2", {
|
|
445
|
-
className: "text-base font-semibold text-
|
|
446
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
446
447
|
children: "Recently Completed"
|
|
447
448
|
}), /* @__PURE__ */ O("div", {
|
|
448
|
-
className: "rounded-lg border border-border bg-
|
|
449
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 shadow-sm",
|
|
449
450
|
children: J.length > 0 ? /* @__PURE__ */ O("div", {
|
|
450
451
|
className: "space-y-3",
|
|
451
452
|
children: J.slice(0, 3).map((e) => /* @__PURE__ */ k("div", {
|
|
452
|
-
className: "flex items-center gap-3 p-3 rounded-lg bg-
|
|
453
|
+
className: "flex items-center gap-3 p-3 rounded-lg bg-status-success-bg/5 border border-status-success-border/10",
|
|
453
454
|
children: [
|
|
454
455
|
/* @__PURE__ */ O("div", {
|
|
455
|
-
className: "flex h-8 w-8 items-center justify-center rounded-md bg-
|
|
456
|
-
children: /* @__PURE__ */ O(M(e.type), { className: "h-4 w-4 text-
|
|
456
|
+
className: "flex h-8 w-8 items-center justify-center rounded-md bg-status-success-bg/10",
|
|
457
|
+
children: /* @__PURE__ */ O(M(e.type), { className: "h-4 w-4 text-status-success-text" })
|
|
457
458
|
}),
|
|
458
459
|
/* @__PURE__ */ k("div", {
|
|
459
460
|
className: "flex-1 min-w-0",
|
|
460
461
|
children: [/* @__PURE__ */ O("p", {
|
|
461
|
-
className: "text-sm font-medium text-
|
|
462
|
+
className: "text-sm font-medium text-text-primary",
|
|
462
463
|
children: e.title
|
|
463
464
|
}), /* @__PURE__ */ k("p", {
|
|
464
|
-
className: "text-xs text-
|
|
465
|
+
className: "text-xs text-text-secondary",
|
|
465
466
|
children: [
|
|
466
467
|
"Completed at",
|
|
467
468
|
" ",
|
|
@@ -473,111 +474,111 @@ var N = {
|
|
|
473
474
|
]
|
|
474
475
|
})]
|
|
475
476
|
}),
|
|
476
|
-
/* @__PURE__ */ O(d, { className: "h-4 w-4 text-
|
|
477
|
+
/* @__PURE__ */ O(d, { className: "h-4 w-4 text-status-success-text shrink-0" })
|
|
477
478
|
]
|
|
478
479
|
}, e.id))
|
|
479
480
|
}) : /* @__PURE__ */ O("p", {
|
|
480
|
-
className: "text-sm text-
|
|
481
|
+
className: "text-sm text-text-secondary text-center py-4",
|
|
481
482
|
children: "No completed tasks yet today"
|
|
482
483
|
})
|
|
483
484
|
})] }),
|
|
484
485
|
/* @__PURE__ */ k("div", {
|
|
485
486
|
className: "grid grid-cols-1 md:grid-cols-2 gap-6",
|
|
486
487
|
children: [/* @__PURE__ */ k("div", {
|
|
487
|
-
className: "rounded-lg border border-border bg-
|
|
488
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 shadow-sm",
|
|
488
489
|
children: [/* @__PURE__ */ k("h3", {
|
|
489
|
-
className: "text-base font-semibold text-
|
|
490
|
-
children: [/* @__PURE__ */ O(w, { className: "h-4 w-4 text-
|
|
490
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2 mb-4",
|
|
491
|
+
children: [/* @__PURE__ */ O(w, { className: "h-4 w-4 text-text-secondary" }), "Performance This Week"]
|
|
491
492
|
}), /* @__PURE__ */ k("div", {
|
|
492
493
|
className: "space-y-3",
|
|
493
494
|
children: [
|
|
494
495
|
/* @__PURE__ */ k("div", {
|
|
495
496
|
className: "flex items-center justify-between",
|
|
496
497
|
children: [/* @__PURE__ */ O("span", {
|
|
497
|
-
className: "text-sm text-
|
|
498
|
+
className: "text-sm text-text-secondary",
|
|
498
499
|
children: "Tasks Completed"
|
|
499
500
|
}), /* @__PURE__ */ O("span", {
|
|
500
|
-
className: "text-sm font-medium text-
|
|
501
|
+
className: "text-sm font-medium text-text-primary",
|
|
501
502
|
children: "47"
|
|
502
503
|
})]
|
|
503
504
|
}),
|
|
504
505
|
/* @__PURE__ */ k("div", {
|
|
505
506
|
className: "flex items-center justify-between",
|
|
506
507
|
children: [/* @__PURE__ */ O("span", {
|
|
507
|
-
className: "text-sm text-
|
|
508
|
+
className: "text-sm text-text-secondary",
|
|
508
509
|
children: "Average Time per Task"
|
|
509
510
|
}), /* @__PURE__ */ O("span", {
|
|
510
|
-
className: "text-sm font-medium text-
|
|
511
|
+
className: "text-sm font-medium text-text-primary",
|
|
511
512
|
children: "23 min"
|
|
512
513
|
})]
|
|
513
514
|
}),
|
|
514
515
|
/* @__PURE__ */ k("div", {
|
|
515
516
|
className: "flex items-center justify-between",
|
|
516
517
|
children: [/* @__PURE__ */ O("span", {
|
|
517
|
-
className: "text-sm text-
|
|
518
|
+
className: "text-sm text-text-secondary",
|
|
518
519
|
children: "On-time Completion"
|
|
519
520
|
}), /* @__PURE__ */ O("span", {
|
|
520
|
-
className: "text-sm font-medium text-
|
|
521
|
+
className: "text-sm font-medium text-text-primary",
|
|
521
522
|
children: "94%"
|
|
522
523
|
})]
|
|
523
524
|
}),
|
|
524
525
|
/* @__PURE__ */ k("div", {
|
|
525
526
|
className: "flex items-center justify-between",
|
|
526
527
|
children: [/* @__PURE__ */ O("span", {
|
|
527
|
-
className: "text-sm text-
|
|
528
|
+
className: "text-sm text-text-secondary",
|
|
528
529
|
children: "Customer Feedback"
|
|
529
530
|
}), /* @__PURE__ */ k("span", {
|
|
530
|
-
className: "text-sm font-medium text-
|
|
531
|
-
children: ["4.7/5", /* @__PURE__ */ O(S, { className: "h-3.5 w-3.5 fill-
|
|
531
|
+
className: "text-sm font-medium text-text-primary flex items-center gap-1",
|
|
532
|
+
children: ["4.7/5", /* @__PURE__ */ O(S, { className: "h-3.5 w-3.5 fill-status-warning-text text-status-warning-text" })]
|
|
532
533
|
})]
|
|
533
534
|
})
|
|
534
535
|
]
|
|
535
536
|
})]
|
|
536
537
|
}), /* @__PURE__ */ k("div", {
|
|
537
|
-
className: "rounded-lg border border-border bg-
|
|
538
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 shadow-sm",
|
|
538
539
|
children: [/* @__PURE__ */ k("h3", {
|
|
539
|
-
className: "text-base font-semibold text-
|
|
540
|
-
children: [/* @__PURE__ */ O(u, { className: "h-4 w-4 text-
|
|
540
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2 mb-4",
|
|
541
|
+
children: [/* @__PURE__ */ O(u, { className: "h-4 w-4 text-text-secondary" }), "Shift Information"]
|
|
541
542
|
}), /* @__PURE__ */ k("div", {
|
|
542
543
|
className: "space-y-3",
|
|
543
544
|
children: [
|
|
544
545
|
/* @__PURE__ */ k("div", {
|
|
545
546
|
className: "flex items-center justify-between",
|
|
546
547
|
children: [/* @__PURE__ */ O("span", {
|
|
547
|
-
className: "text-sm text-
|
|
548
|
+
className: "text-sm text-text-secondary",
|
|
548
549
|
children: "Shift Start"
|
|
549
550
|
}), /* @__PURE__ */ O("span", {
|
|
550
|
-
className: "text-sm font-medium text-
|
|
551
|
+
className: "text-sm font-medium text-text-primary",
|
|
551
552
|
children: "9:00 AM"
|
|
552
553
|
})]
|
|
553
554
|
}),
|
|
554
555
|
/* @__PURE__ */ k("div", {
|
|
555
556
|
className: "flex items-center justify-between",
|
|
556
557
|
children: [/* @__PURE__ */ O("span", {
|
|
557
|
-
className: "text-sm text-
|
|
558
|
+
className: "text-sm text-text-secondary",
|
|
558
559
|
children: "Shift End"
|
|
559
560
|
}), /* @__PURE__ */ O("span", {
|
|
560
|
-
className: "text-sm font-medium text-
|
|
561
|
+
className: "text-sm font-medium text-text-primary",
|
|
561
562
|
children: "6:00 PM"
|
|
562
563
|
})]
|
|
563
564
|
}),
|
|
564
565
|
/* @__PURE__ */ k("div", {
|
|
565
566
|
className: "flex items-center justify-between",
|
|
566
567
|
children: [/* @__PURE__ */ O("span", {
|
|
567
|
-
className: "text-sm text-
|
|
568
|
+
className: "text-sm text-text-secondary",
|
|
568
569
|
children: "Break Time"
|
|
569
570
|
}), /* @__PURE__ */ O("span", {
|
|
570
|
-
className: "text-sm font-medium text-
|
|
571
|
+
className: "text-sm font-medium text-text-primary",
|
|
571
572
|
children: "1:00 PM - 2:00 PM"
|
|
572
573
|
})]
|
|
573
574
|
}),
|
|
574
575
|
/* @__PURE__ */ k("div", {
|
|
575
576
|
className: "flex items-center justify-between",
|
|
576
577
|
children: [/* @__PURE__ */ O("span", {
|
|
577
|
-
className: "text-sm text-
|
|
578
|
+
className: "text-sm text-text-secondary",
|
|
578
579
|
children: "Supervisor"
|
|
579
580
|
}), /* @__PURE__ */ O("span", {
|
|
580
|
-
className: "text-sm font-medium text-
|
|
581
|
+
className: "text-sm font-medium text-text-primary",
|
|
581
582
|
children: "Rajesh Kumar"
|
|
582
583
|
})]
|
|
583
584
|
})
|
|
@@ -586,39 +587,39 @@ var N = {
|
|
|
586
587
|
})]
|
|
587
588
|
}),
|
|
588
589
|
/* @__PURE__ */ k("div", {
|
|
589
|
-
className: "rounded-lg border border-border bg-
|
|
590
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 shadow-sm",
|
|
590
591
|
children: [/* @__PURE__ */ O("h2", {
|
|
591
|
-
className: "text-base font-semibold text-
|
|
592
|
+
className: "text-base font-semibold text-text-primary mb-4",
|
|
592
593
|
children: "Overall Performance"
|
|
593
594
|
}), /* @__PURE__ */ k("div", {
|
|
594
595
|
className: "grid grid-cols-2 gap-4 sm:grid-cols-4",
|
|
595
596
|
children: [
|
|
596
597
|
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
|
|
597
|
-
className: "text-xs text-
|
|
598
|
+
className: "text-xs text-text-secondary",
|
|
598
599
|
children: "Total Deliveries"
|
|
599
600
|
}), /* @__PURE__ */ O("p", {
|
|
600
|
-
className: "text-lg font-bold text-
|
|
601
|
+
className: "text-lg font-bold text-text-primary",
|
|
601
602
|
children: P?.totalDeliveries || 0
|
|
602
603
|
})] }),
|
|
603
604
|
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
|
|
604
|
-
className: "text-xs text-
|
|
605
|
+
className: "text-xs text-text-secondary",
|
|
605
606
|
children: "Total Earnings"
|
|
606
607
|
}), /* @__PURE__ */ O("p", {
|
|
607
|
-
className: "text-lg font-bold text-
|
|
608
|
+
className: "text-lg font-bold text-text-primary",
|
|
608
609
|
children: s(P?.totalEarnings || 0, { minimumFractionDigits: 0 })
|
|
609
610
|
})] }),
|
|
610
611
|
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
|
|
611
|
-
className: "text-xs text-
|
|
612
|
+
className: "text-xs text-text-secondary",
|
|
612
613
|
children: "Average Rating"
|
|
613
614
|
}), /* @__PURE__ */ k("p", {
|
|
614
|
-
className: "text-lg font-bold text-
|
|
615
|
-
children: [P?.averageRating || 0, /* @__PURE__ */ O(S, { className: "h-4 w-4 fill-
|
|
615
|
+
className: "text-lg font-bold text-text-primary flex items-center gap-1",
|
|
616
|
+
children: [P?.averageRating || 0, /* @__PURE__ */ O(S, { className: "h-4 w-4 fill-status-warning-text text-status-warning-text" })]
|
|
616
617
|
})] }),
|
|
617
618
|
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
|
|
618
|
-
className: "text-xs text-
|
|
619
|
+
className: "text-xs text-text-secondary",
|
|
619
620
|
children: "Completion Rate"
|
|
620
621
|
}), /* @__PURE__ */ k("p", {
|
|
621
|
-
className: "text-lg font-bold text-
|
|
622
|
+
className: "text-lg font-bold text-text-primary",
|
|
622
623
|
children: [P?.completionRate || 0, "%"]
|
|
623
624
|
})] })
|
|
624
625
|
]
|