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