@burdenoff/microfe-coolandlovely 2026.624.1 → 2026.625.2
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/coolandlovely/components/EmptyState.js +17 -21
- package/dist/coolandlovely/components/EmptyState.js.map +1 -1
- package/dist/coolandlovely/components/InvestmentCard.js +25 -23
- package/dist/coolandlovely/components/InvestmentCard.js.map +1 -1
- package/dist/coolandlovely/components/MetricsCard.js +18 -12
- package/dist/coolandlovely/components/MetricsCard.js.map +1 -1
- package/dist/coolandlovely/components/PageLayout.js +38 -19
- package/dist/coolandlovely/components/PageLayout.js.map +1 -1
- package/dist/coolandlovely/components/RatingDisplay.js +3 -3
- package/dist/coolandlovely/components/RatingDisplay.js.map +1 -1
- package/dist/coolandlovely/components/StatusBadge.js +36 -16
- package/dist/coolandlovely/components/StatusBadge.js.map +1 -1
- package/dist/coolandlovely/pages/HomePage.js +219 -204
- package/dist/coolandlovely/pages/HomePage.js.map +1 -1
- package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js +98 -92
- package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/coolandlovely/pages/admin/AdminDashboard.js +111 -77
- package/dist/coolandlovely/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/coolandlovely/pages/admin/AdminFinancialPage.js +49 -43
- package/dist/coolandlovely/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/coolandlovely/pages/admin/AdminOrdersPage.js +234 -229
- package/dist/coolandlovely/pages/admin/AdminOrdersPage.js.map +1 -1
- package/dist/coolandlovely/pages/admin/AdminProfilePage.js +67 -62
- package/dist/coolandlovely/pages/admin/AdminProfilePage.js.map +1 -1
- package/dist/coolandlovely/pages/admin/AdminSettingsPage.js +235 -230
- package/dist/coolandlovely/pages/admin/AdminSettingsPage.js.map +1 -1
- package/dist/coolandlovely/pages/admin/CartManagementPage.js +291 -286
- package/dist/coolandlovely/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/coolandlovely/pages/admin/UserManagementPage.js +287 -282
- package/dist/coolandlovely/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js +108 -100
- package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js +260 -255
- package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js +596 -554
- package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js +187 -182
- package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js +229 -221
- package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js +675 -674
- package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js +525 -524
- package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js +264 -266
- package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/coolandlovely/pages/common/HelpSupportPage.js +137 -137
- package/dist/coolandlovely/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/coolandlovely/pages/common/NotificationCenterPage.js +81 -75
- package/dist/coolandlovely/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/coolandlovely/pages/common/SettingsPage.js +745 -736
- package/dist/coolandlovely/pages/common/SettingsPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/BookingDetailsPage.js +394 -357
- package/dist/coolandlovely/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/CartDetailPage.js +189 -186
- package/dist/coolandlovely/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js +222 -211
- package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/CheckoutPage.js +219 -222
- package/dist/coolandlovely/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/CustomerDashboard.js +446 -404
- package/dist/coolandlovely/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/coolandlovely/pages/customer/CustomerProfilePage.js +525 -488
- package/dist/coolandlovely/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js +522 -513
- package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/FavoritesPage.js +94 -84
- package/dist/coolandlovely/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/OrderHistoryPage.js +121 -112
- package/dist/coolandlovely/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/OrderTrackingPage.js +312 -275
- package/dist/coolandlovely/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js +90 -84
- package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/ReviewsPage.js +99 -89
- package/dist/coolandlovely/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/coolandlovely/pages/customer/SavedAddressesPage.js +74 -68
- package/dist/coolandlovely/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js +317 -279
- package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js +249 -243
- package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js +87 -81
- package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/coolandlovely/pages/investor/InvestorDashboard.js +359 -323
- package/dist/coolandlovely/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js +115 -109
- package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js +179 -146
- package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/coolandlovely/pages/investor/InvestorProfilePage.js +397 -392
- package/dist/coolandlovely/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/coolandlovely/pages/worker/TaskDetailsPage.js +364 -327
- package/dist/coolandlovely/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/coolandlovely/pages/worker/WorkerDashboard.js +580 -543
- package/dist/coolandlovely/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js +114 -109
- package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/coolandlovely/pages/worker/WorkerProfilePage.js +115 -110
- package/dist/coolandlovely/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js +100 -95
- package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js.map +1 -1
- package/package.json +3 -3
|
@@ -6,8 +6,9 @@ import { mockAdminAnalytics as i } from "../../mocks/data.js";
|
|
|
6
6
|
import { useState as a } from "react";
|
|
7
7
|
import { Activity as o, AlertCircle as s, ArrowRight as c, BarChart3 as l, Bell as u, CheckCircle as d, ChevronRight as f, Clock as p, Edit as m, Eye as h, Flame as g, IndianRupee as _, MapPin as v, Package as y, Plus as b, Settings as x, ShoppingCart as S, Star as C, TrendingDown as w, TrendingUp as T, UserCheck as E, Users as D } from "lucide-react";
|
|
8
8
|
import { jsx as O, jsxs as k } from "react/jsx-runtime";
|
|
9
|
+
import { EmphasisPanel as A, NextSteps as j, PagePurpose as M } from "@burdenoff/fe-libs/ui";
|
|
9
10
|
//#region src/coolandlovely/pages/cart-owner/CartOwnerDashboard.tsx
|
|
10
|
-
var
|
|
11
|
+
var N = {
|
|
11
12
|
totalRevenue: 45230,
|
|
12
13
|
dailyRevenue: 1850,
|
|
13
14
|
ordersToday: 23,
|
|
@@ -16,7 +17,7 @@ var A = {
|
|
|
16
17
|
averageOrderValue: 80,
|
|
17
18
|
customerCount: 342,
|
|
18
19
|
rating: 4.2
|
|
19
|
-
},
|
|
20
|
+
}, P = [
|
|
20
21
|
{
|
|
21
22
|
id: "ORD-001",
|
|
22
23
|
customerName: "Rahul Sharma",
|
|
@@ -61,7 +62,7 @@ var A = {
|
|
|
61
62
|
timestamp: "2 mins ago",
|
|
62
63
|
priority: "urgent"
|
|
63
64
|
}
|
|
64
|
-
],
|
|
65
|
+
], F = [
|
|
65
66
|
{
|
|
66
67
|
name: "Masala Dosa",
|
|
67
68
|
quantity: 245,
|
|
@@ -87,7 +88,7 @@ var A = {
|
|
|
87
88
|
quantity: 98,
|
|
88
89
|
revenue: 8820
|
|
89
90
|
}
|
|
90
|
-
],
|
|
91
|
+
], I = [
|
|
91
92
|
{
|
|
92
93
|
name: "Ramesh Kumar",
|
|
93
94
|
role: "Chef",
|
|
@@ -108,7 +109,7 @@ var A = {
|
|
|
108
109
|
role: "Manager",
|
|
109
110
|
status: "active"
|
|
110
111
|
}
|
|
111
|
-
],
|
|
112
|
+
], L = [
|
|
112
113
|
{
|
|
113
114
|
id: "1",
|
|
114
115
|
message: "New order #ORD-004 received",
|
|
@@ -139,43 +140,48 @@ var A = {
|
|
|
139
140
|
type: "warning",
|
|
140
141
|
time: "1 hr ago"
|
|
141
142
|
}
|
|
142
|
-
],
|
|
143
|
+
], R = i.orderTrends.slice(0, 7), z = () => {
|
|
143
144
|
let e = (/* @__PURE__ */ new Date()).getHours();
|
|
144
145
|
return e < 12 ? "Good Morning" : e < 17 ? "Good Afternoon" : "Good Evening";
|
|
145
|
-
},
|
|
146
|
-
pending: "bg-
|
|
147
|
-
preparing: "bg-
|
|
148
|
-
ready: "bg-blue-
|
|
149
|
-
delivered: "bg-
|
|
146
|
+
}, B = {
|
|
147
|
+
pending: "bg-status-error-bg-subtle/15 text-status-error-text",
|
|
148
|
+
preparing: "bg-status-warning-bg-subtle/15 text-status-warning-text",
|
|
149
|
+
ready: "bg-accent-blue-subtle/15 text-accent-blue",
|
|
150
|
+
delivered: "bg-status-success-bg-subtle/15 text-status-success-text",
|
|
150
151
|
cancelled: "bg-bg-sunken text-text-secondary"
|
|
151
|
-
},
|
|
152
|
-
active: "bg-
|
|
153
|
-
"on-break": "bg-
|
|
152
|
+
}, V = {
|
|
153
|
+
active: "bg-status-success-bg-subtle",
|
|
154
|
+
"on-break": "bg-status-warning-bg-subtle",
|
|
154
155
|
"off-duty": "bg-muted-foreground"
|
|
155
|
-
},
|
|
156
|
-
info: "text-blue
|
|
157
|
-
warning: "text-
|
|
158
|
-
success: "text-
|
|
159
|
-
},
|
|
160
|
-
let { navigateTo: i } = e(), [
|
|
156
|
+
}, H = {
|
|
157
|
+
info: "text-accent-blue",
|
|
158
|
+
warning: "text-status-warning-text",
|
|
159
|
+
success: "text-status-success-text"
|
|
160
|
+
}, U = () => {
|
|
161
|
+
let { navigateTo: i } = e(), [U, W] = a(P), [G, K] = a({
|
|
161
162
|
isOpen: !0,
|
|
162
163
|
currentLocation: "Koramangala 5th Block, Near BDA Complex",
|
|
163
164
|
lastUpdate: (/* @__PURE__ */ new Date()).toLocaleTimeString(),
|
|
164
165
|
operatingHours: "9:00 AM - 9:00 PM"
|
|
165
|
-
}),
|
|
166
|
-
|
|
166
|
+
}), q = (e) => {
|
|
167
|
+
W((t) => t.map((t) => t.id === e ? {
|
|
167
168
|
...t,
|
|
168
169
|
status: "preparing"
|
|
169
170
|
} : t));
|
|
170
|
-
},
|
|
171
|
-
|
|
171
|
+
}, J = (e) => {
|
|
172
|
+
W((t) => t.map((t) => t.id === e ? {
|
|
172
173
|
...t,
|
|
173
174
|
status: "ready"
|
|
174
175
|
} : t));
|
|
176
|
+
}, Y = () => {
|
|
177
|
+
K((e) => e && {
|
|
178
|
+
...e,
|
|
179
|
+
isOpen: !e.isOpen
|
|
180
|
+
});
|
|
175
181
|
};
|
|
176
|
-
return /* @__PURE__ */
|
|
182
|
+
return /* @__PURE__ */ k(n, {
|
|
177
183
|
title: /* @__PURE__ */ k("span", { children: [
|
|
178
|
-
|
|
184
|
+
z(),
|
|
179
185
|
", ",
|
|
180
186
|
/* @__PURE__ */ O("span", {
|
|
181
187
|
className: "text-text-secondary font-normal",
|
|
@@ -189,572 +195,608 @@ var A = {
|
|
|
189
195
|
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",
|
|
190
196
|
children: ["View All Orders", /* @__PURE__ */ O(c, { className: "h-4 w-4" })]
|
|
191
197
|
}),
|
|
192
|
-
children:
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
/* @__PURE__ */ O("
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
198
|
+
children: [
|
|
199
|
+
/* @__PURE__ */ O(M, {
|
|
200
|
+
className: "mb-6",
|
|
201
|
+
icon: /* @__PURE__ */ O(l, { className: "h-4 w-4" }),
|
|
202
|
+
children: "Run your cart from one screen. Flip your service open or closed, watch today's revenue, orders and rating, jump to the things you do most, and keep tabs on incoming orders and staff — so you spend less time navigating and more time serving customers."
|
|
203
|
+
}),
|
|
204
|
+
/* @__PURE__ */ O(j, {
|
|
205
|
+
className: "mb-6",
|
|
206
|
+
storageKey: "coolandlovely-cart-owner-dashboard",
|
|
207
|
+
steps: [
|
|
208
|
+
{
|
|
209
|
+
id: "toggle-status",
|
|
210
|
+
label: G.isOpen ? "You are open for orders" : "Open your service",
|
|
211
|
+
description: "Customers can only order when your service is open.",
|
|
212
|
+
icon: /* @__PURE__ */ O(o, { className: "h-4 w-4" }),
|
|
213
|
+
onClick: Y,
|
|
214
|
+
done: G.isOpen
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
id: "orders",
|
|
218
|
+
label: "Handle incoming orders",
|
|
219
|
+
description: "Review and progress orders waiting on you right now.",
|
|
220
|
+
icon: /* @__PURE__ */ O(S, { className: "h-4 w-4" }),
|
|
221
|
+
onClick: () => i("/cart-owner/orders")
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
id: "inventory",
|
|
225
|
+
label: "Keep your menu current",
|
|
226
|
+
description: "Update prices and stock so listings stay accurate.",
|
|
227
|
+
icon: /* @__PURE__ */ O(y, { className: "h-4 w-4" }),
|
|
228
|
+
onClick: () => i("/cart-owner/inventory")
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
}),
|
|
232
|
+
/* @__PURE__ */ k("div", {
|
|
233
|
+
className: "space-y-6",
|
|
234
|
+
children: [
|
|
235
|
+
/* @__PURE__ */ O("div", {
|
|
236
|
+
className: t("p-4 rounded-lg border-l-4", G.isOpen ? "border-status-success-border bg-status-success-bg-subtle/5" : "border-status-error-border bg-status-error-bg-subtle/5"),
|
|
237
|
+
children: /* @__PURE__ */ k("div", {
|
|
238
|
+
className: "flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4",
|
|
239
|
+
children: [/* @__PURE__ */ k("div", {
|
|
240
|
+
className: "flex items-start gap-3",
|
|
241
|
+
children: [/* @__PURE__ */ O("div", {
|
|
242
|
+
"aria-hidden": "true",
|
|
243
|
+
className: t("w-3 h-3 rounded-full mt-1 shrink-0", G.isOpen ? "bg-status-success-text motion-safe:animate-vc-glow-pulse" : "bg-status-error-text")
|
|
244
|
+
}), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ k("h3", {
|
|
245
|
+
className: "font-semibold text-text-primary text-sm",
|
|
246
|
+
children: ["Service Status: ", G.isOpen ? "Open" : "Closed"]
|
|
247
|
+
}), /* @__PURE__ */ k("div", {
|
|
248
|
+
className: "flex flex-col sm:flex-row sm:items-center gap-2 sm:gap-4 mt-1 text-xs text-text-secondary",
|
|
249
|
+
children: [/* @__PURE__ */ k("span", {
|
|
250
|
+
className: "flex items-center gap-1",
|
|
251
|
+
children: [/* @__PURE__ */ O(v, { className: "h-3 w-3 shrink-0" }), G.currentLocation]
|
|
252
|
+
}), /* @__PURE__ */ k("span", {
|
|
253
|
+
className: "flex items-center gap-1",
|
|
254
|
+
children: [/* @__PURE__ */ O(p, { className: "h-3 w-3 shrink-0" }), G.operatingHours]
|
|
255
|
+
})]
|
|
256
|
+
})] })]
|
|
204
257
|
}), /* @__PURE__ */ k("div", {
|
|
205
|
-
className: "flex
|
|
206
|
-
children: [/* @__PURE__ */ k("
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
className: "
|
|
211
|
-
|
|
258
|
+
className: "flex gap-2",
|
|
259
|
+
children: [/* @__PURE__ */ k("button", {
|
|
260
|
+
type: "button",
|
|
261
|
+
onClick: () => i("/cart-owner/settings"),
|
|
262
|
+
className: "inline-flex items-center gap-1 rounded-md border border-border-subtle px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-bg-sunken transition-colors",
|
|
263
|
+
children: [/* @__PURE__ */ O(v, { className: "h-3 w-3" }), "Update Location"]
|
|
264
|
+
}), /* @__PURE__ */ O("button", {
|
|
265
|
+
type: "button",
|
|
266
|
+
onClick: Y,
|
|
267
|
+
className: t("inline-flex items-center gap-1 rounded-md px-3 py-1.5 text-xs font-medium transition-colors", G.isOpen ? "bg-status-error-bg-subtle/10 text-status-error-text hover:bg-status-error-bg-subtle/20" : "bg-status-success-bg-subtle/10 text-status-success-text hover:bg-status-success-bg-subtle/20"),
|
|
268
|
+
children: G.isOpen ? "Close Service" : "Open Service"
|
|
212
269
|
})]
|
|
213
|
-
})] })]
|
|
214
|
-
}), /* @__PURE__ */ k("div", {
|
|
215
|
-
className: "flex gap-2",
|
|
216
|
-
children: [/* @__PURE__ */ k("button", {
|
|
217
|
-
type: "button",
|
|
218
|
-
onClick: () => i("/cart-owner/settings"),
|
|
219
|
-
className: "inline-flex items-center gap-1 rounded-md border border-border-subtle px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-bg-sunken transition-colors",
|
|
220
|
-
children: [/* @__PURE__ */ O(v, { className: "h-3 w-3" }), "Update Location"]
|
|
221
|
-
}), /* @__PURE__ */ O("button", {
|
|
222
|
-
type: "button",
|
|
223
|
-
onClick: () => {
|
|
224
|
-
U((e) => e && {
|
|
225
|
-
...e,
|
|
226
|
-
isOpen: !e.isOpen
|
|
227
|
-
});
|
|
228
|
-
},
|
|
229
|
-
className: t("inline-flex items-center gap-1 rounded-md px-3 py-1.5 text-xs font-medium transition-colors", H.isOpen ? "bg-red-500/10 text-red-600 hover:bg-red-500/20 dark:text-red-400" : "bg-green-500/10 text-green-600 hover:bg-green-500/20 dark:text-green-400"),
|
|
230
|
-
children: H.isOpen ? "Close Service" : "Open Service"
|
|
231
270
|
})]
|
|
232
|
-
})
|
|
233
|
-
})
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
{
|
|
242
|
-
label: "Daily Revenue",
|
|
243
|
-
value: r(A.dailyRevenue, { minimumFractionDigits: 0 }),
|
|
244
|
-
icon: _,
|
|
245
|
-
trend: "+15.2% vs yesterday",
|
|
246
|
-
trendUp: !0
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
label: "Orders Today",
|
|
250
|
-
value: String(A.ordersToday),
|
|
251
|
-
icon: S,
|
|
252
|
-
trend: "+8.5% vs yesterday",
|
|
253
|
-
trendUp: !0
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
label: "Avg Order Value",
|
|
257
|
-
value: r(A.averageOrderValue, { minimumFractionDigits: 0 }),
|
|
258
|
-
icon: T,
|
|
259
|
-
trend: "+3.2% vs last week",
|
|
260
|
-
trendUp: !0
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
label: "Service Rating",
|
|
264
|
-
value: A.rating.toFixed(1),
|
|
265
|
-
icon: C,
|
|
266
|
-
trend: "Based on 342 reviews",
|
|
267
|
-
trendUp: !0
|
|
268
|
-
}
|
|
269
|
-
].map((e) => {
|
|
270
|
-
let t = e.icon;
|
|
271
|
-
return /* @__PURE__ */ k("div", {
|
|
272
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
|
|
271
|
+
})
|
|
272
|
+
}),
|
|
273
|
+
/* @__PURE__ */ k(A, {
|
|
274
|
+
className: "p-5",
|
|
275
|
+
children: [/* @__PURE__ */ O("h2", {
|
|
276
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
277
|
+
children: "Today's Performance"
|
|
278
|
+
}), /* @__PURE__ */ O("div", {
|
|
279
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
|
|
273
280
|
children: [
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
path: "/cart-owner/orders"
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
label: "Analytics",
|
|
327
|
-
icon: l,
|
|
328
|
-
color: "bg-purple-500/10 text-purple-600 dark:text-purple-400",
|
|
329
|
-
path: "/cart-owner/analytics"
|
|
330
|
-
},
|
|
331
|
-
{
|
|
332
|
-
label: "Staff",
|
|
333
|
-
icon: E,
|
|
334
|
-
color: "bg-pink-500/10 text-pink-600 dark:text-pink-400",
|
|
335
|
-
path: "/cart-owner/staff"
|
|
336
|
-
}
|
|
337
|
-
].map((e) => {
|
|
338
|
-
let n = e.icon;
|
|
339
|
-
return /* @__PURE__ */ k("button", {
|
|
340
|
-
type: "button",
|
|
341
|
-
onClick: () => i(e.path),
|
|
342
|
-
className: t("flex flex-col items-center gap-2 rounded-lg p-4 transition-colors hover:opacity-80", e.color),
|
|
343
|
-
children: [/* @__PURE__ */ O(n, { className: "h-5 w-5" }), /* @__PURE__ */ O("span", {
|
|
344
|
-
className: "text-xs font-medium text-center",
|
|
281
|
+
{
|
|
282
|
+
label: "Daily Revenue",
|
|
283
|
+
value: r(N.dailyRevenue, { minimumFractionDigits: 0 }),
|
|
284
|
+
icon: _,
|
|
285
|
+
trend: "+15.2% vs yesterday",
|
|
286
|
+
trendUp: !0
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
label: "Orders Today",
|
|
290
|
+
value: String(N.ordersToday),
|
|
291
|
+
icon: S,
|
|
292
|
+
trend: "+8.5% vs yesterday",
|
|
293
|
+
trendUp: !0
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
label: "Avg Order Value",
|
|
297
|
+
value: r(N.averageOrderValue, { minimumFractionDigits: 0 }),
|
|
298
|
+
icon: T,
|
|
299
|
+
trend: "+3.2% vs last week",
|
|
300
|
+
trendUp: !0
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
label: "Service Rating",
|
|
304
|
+
value: N.rating.toFixed(1),
|
|
305
|
+
icon: C,
|
|
306
|
+
trend: "Based on 342 reviews",
|
|
307
|
+
trendUp: !0
|
|
308
|
+
}
|
|
309
|
+
].map((e) => {
|
|
310
|
+
let t = e.icon;
|
|
311
|
+
return /* @__PURE__ */ k("div", {
|
|
312
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
313
|
+
children: [
|
|
314
|
+
/* @__PURE__ */ k("div", {
|
|
315
|
+
className: "flex items-center justify-between",
|
|
316
|
+
children: [/* @__PURE__ */ O("div", {
|
|
317
|
+
className: "rounded-md bg-accent p-2",
|
|
318
|
+
children: /* @__PURE__ */ O(t, { className: "h-5 w-5 text-text-secondary" })
|
|
319
|
+
}), /* @__PURE__ */ k("div", {
|
|
320
|
+
className: "flex items-center gap-1 text-xs text-text-secondary",
|
|
321
|
+
children: [e.trendUp ? /* @__PURE__ */ O(T, { className: "h-3 w-3 text-status-success-text" }) : /* @__PURE__ */ O(w, { className: "h-3 w-3 text-status-error-text" }), /* @__PURE__ */ O("span", { children: e.trend })]
|
|
322
|
+
})]
|
|
323
|
+
}),
|
|
324
|
+
/* @__PURE__ */ O("p", {
|
|
325
|
+
className: "mt-3 text-2xl font-bold text-text-primary",
|
|
326
|
+
children: e.value
|
|
327
|
+
}),
|
|
328
|
+
/* @__PURE__ */ O("p", {
|
|
329
|
+
className: "mt-1 text-sm text-text-secondary",
|
|
345
330
|
children: e.label
|
|
346
|
-
})
|
|
347
|
-
|
|
348
|
-
})
|
|
349
|
-
})
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
className: "text-
|
|
359
|
-
children: "
|
|
360
|
-
})
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
]
|
|
403
|
-
}
|
|
404
|
-
className: "flex gap-2",
|
|
405
|
-
children: [
|
|
406
|
-
/* @__PURE__ */ k("button", {
|
|
407
|
-
type: "button",
|
|
408
|
-
onClick: () => i("/cart-owner/orders"),
|
|
409
|
-
className: "inline-flex items-center gap-1 rounded-md border border-border-subtle px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-bg-sunken transition-colors",
|
|
410
|
-
children: [/* @__PURE__ */ O(h, { className: "h-3 w-3" }), "View"]
|
|
411
|
-
}),
|
|
412
|
-
e.status === "pending" && /* @__PURE__ */ k("button", {
|
|
413
|
-
type: "button",
|
|
414
|
-
onClick: () => W(e.id),
|
|
415
|
-
className: "inline-flex items-center gap-1 rounded-md bg-green-500/10 px-3 py-1.5 text-xs font-medium text-green-600 hover:bg-green-500/20 dark:text-green-400 transition-colors",
|
|
416
|
-
children: [/* @__PURE__ */ O(d, { className: "h-3 w-3" }), "Accept"]
|
|
417
|
-
}),
|
|
418
|
-
e.status === "preparing" && /* @__PURE__ */ k("button", {
|
|
419
|
-
type: "button",
|
|
420
|
-
onClick: () => G(e.id),
|
|
421
|
-
className: "inline-flex items-center gap-1 rounded-md bg-blue-500/10 px-3 py-1.5 text-xs font-medium text-blue-600 hover:bg-blue-500/20 dark:text-blue-400 transition-colors",
|
|
422
|
-
children: [/* @__PURE__ */ O(d, { className: "h-3 w-3" }), "Mark Ready"]
|
|
423
|
-
})
|
|
424
|
-
]
|
|
425
|
-
})]
|
|
331
|
+
})
|
|
332
|
+
]
|
|
333
|
+
}, e.label);
|
|
334
|
+
})
|
|
335
|
+
})]
|
|
336
|
+
}),
|
|
337
|
+
/* @__PURE__ */ k("div", {
|
|
338
|
+
className: "grid grid-cols-1 gap-6 lg:grid-cols-3",
|
|
339
|
+
children: [/* @__PURE__ */ k("div", {
|
|
340
|
+
className: "lg:col-span-2 space-y-6",
|
|
341
|
+
children: [
|
|
342
|
+
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("h3", {
|
|
343
|
+
className: "text-base font-semibold mb-3 text-text-primary",
|
|
344
|
+
children: "Quick Actions"
|
|
345
|
+
}), /* @__PURE__ */ O("div", {
|
|
346
|
+
className: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 gap-3",
|
|
347
|
+
children: [
|
|
348
|
+
{
|
|
349
|
+
label: "Service Config",
|
|
350
|
+
icon: x,
|
|
351
|
+
color: "bg-accent-orange-subtle/10 text-accent-orange",
|
|
352
|
+
path: "/cart-owner/service-config"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
label: "Manage Offerings",
|
|
356
|
+
icon: y,
|
|
357
|
+
color: "bg-accent-blue-subtle/10 text-accent-blue",
|
|
358
|
+
path: "/cart-owner/inventory"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
label: "View Orders",
|
|
362
|
+
icon: S,
|
|
363
|
+
color: "bg-status-success-bg-subtle/10 text-status-success-text",
|
|
364
|
+
path: "/cart-owner/orders"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
label: "Analytics",
|
|
368
|
+
icon: l,
|
|
369
|
+
color: "bg-accent-purple-subtle/10 text-accent-purple",
|
|
370
|
+
path: "/cart-owner/analytics"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
label: "Staff",
|
|
374
|
+
icon: E,
|
|
375
|
+
color: "bg-accent-pink-subtle/10 text-accent-pink",
|
|
376
|
+
path: "/cart-owner/staff"
|
|
377
|
+
}
|
|
378
|
+
].map((e) => {
|
|
379
|
+
let n = e.icon;
|
|
380
|
+
return /* @__PURE__ */ k("button", {
|
|
381
|
+
type: "button",
|
|
382
|
+
onClick: () => i(e.path),
|
|
383
|
+
className: t("flex flex-col items-center gap-2 rounded-lg p-4 transition-colors hover:opacity-80", e.color),
|
|
384
|
+
children: [/* @__PURE__ */ O(n, { className: "h-5 w-5" }), /* @__PURE__ */ O("span", {
|
|
385
|
+
className: "text-xs font-medium text-center",
|
|
386
|
+
children: e.label
|
|
387
|
+
})]
|
|
388
|
+
}, e.label);
|
|
426
389
|
})
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm",
|
|
431
|
-
children: [/* @__PURE__ */ k("div", {
|
|
432
|
-
className: "flex items-center justify-between border-b border-border-subtle px-5 py-4",
|
|
390
|
+
})] }),
|
|
391
|
+
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ k("div", {
|
|
392
|
+
className: "flex items-center justify-between mb-3",
|
|
433
393
|
children: [/* @__PURE__ */ O("h3", {
|
|
434
394
|
className: "text-base font-semibold text-text-primary",
|
|
435
|
-
children: "
|
|
395
|
+
children: "Recent Orders"
|
|
436
396
|
}), /* @__PURE__ */ O("button", {
|
|
437
397
|
type: "button",
|
|
438
|
-
onClick: () => i("/cart-owner/
|
|
398
|
+
onClick: () => i("/cart-owner/orders"),
|
|
439
399
|
className: "text-xs text-text-secondary hover:text-text-primary transition-colors",
|
|
440
|
-
children: "View
|
|
400
|
+
children: "View All Orders"
|
|
441
401
|
})]
|
|
442
402
|
}), /* @__PURE__ */ O("div", {
|
|
443
|
-
className: "
|
|
444
|
-
children: /* @__PURE__ */
|
|
445
|
-
className: "
|
|
446
|
-
children:
|
|
447
|
-
className: "
|
|
448
|
-
children: [
|
|
449
|
-
|
|
450
|
-
className: "px-5 py-3 text-left font-medium text-text-secondary",
|
|
451
|
-
children: "Date"
|
|
452
|
-
}),
|
|
453
|
-
/* @__PURE__ */ O("th", {
|
|
454
|
-
className: "px-5 py-3 text-right font-medium text-text-secondary",
|
|
455
|
-
children: "Orders"
|
|
456
|
-
}),
|
|
457
|
-
/* @__PURE__ */ O("th", {
|
|
458
|
-
className: "px-5 py-3 text-right font-medium text-text-secondary",
|
|
459
|
-
children: "Revenue"
|
|
460
|
-
}),
|
|
461
|
-
/* @__PURE__ */ O("th", {
|
|
462
|
-
className: "px-5 py-3 text-left font-medium text-text-secondary",
|
|
463
|
-
children: "Trend"
|
|
464
|
-
})
|
|
465
|
-
]
|
|
466
|
-
}) }), /* @__PURE__ */ O("tbody", { children: F.map((e, t) => {
|
|
467
|
-
let n = Math.max(...F.map((e) => e.revenue)), i = e.revenue / n * 100;
|
|
468
|
-
return /* @__PURE__ */ k("tr", {
|
|
469
|
-
className: "border-b border-border-subtle last:border-0",
|
|
403
|
+
className: "space-y-3",
|
|
404
|
+
children: U.map((e) => /* @__PURE__ */ O("div", {
|
|
405
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 bg-gloss-card shadow-pop",
|
|
406
|
+
children: /* @__PURE__ */ k("div", {
|
|
407
|
+
className: "flex flex-col lg:flex-row lg:items-start lg:justify-between gap-3",
|
|
408
|
+
children: [/* @__PURE__ */ k("div", {
|
|
409
|
+
className: "flex-1 min-w-0",
|
|
470
410
|
children: [
|
|
471
|
-
/* @__PURE__ */
|
|
472
|
-
className: "
|
|
473
|
-
children:
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
411
|
+
/* @__PURE__ */ k("div", {
|
|
412
|
+
className: "flex flex-wrap items-center gap-2 mb-1",
|
|
413
|
+
children: [
|
|
414
|
+
/* @__PURE__ */ k("h4", {
|
|
415
|
+
className: "font-semibold text-text-primary text-sm",
|
|
416
|
+
children: ["#", e.id]
|
|
417
|
+
}),
|
|
418
|
+
/* @__PURE__ */ O("span", {
|
|
419
|
+
className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium capitalize", B[e.status] || "bg-bg-sunken text-text-secondary"),
|
|
420
|
+
children: e.status
|
|
421
|
+
}),
|
|
422
|
+
e.priority === "urgent" && /* @__PURE__ */ O(s, { className: "h-4 w-4 text-status-error-text" })
|
|
423
|
+
]
|
|
478
424
|
}),
|
|
479
|
-
/* @__PURE__ */
|
|
480
|
-
className: "
|
|
481
|
-
children: e.
|
|
425
|
+
/* @__PURE__ */ k("p", {
|
|
426
|
+
className: "text-xs text-text-secondary mb-1",
|
|
427
|
+
children: ["Customer: ", e.customerName]
|
|
482
428
|
}),
|
|
483
|
-
/* @__PURE__ */
|
|
484
|
-
className: "
|
|
485
|
-
children:
|
|
429
|
+
/* @__PURE__ */ k("p", {
|
|
430
|
+
className: "text-xs text-text-secondary mb-1 truncate",
|
|
431
|
+
children: ["Items: ", e.items.join(", ")]
|
|
486
432
|
}),
|
|
487
|
-
/* @__PURE__ */
|
|
488
|
-
className: "
|
|
489
|
-
children: /* @__PURE__ */ O("
|
|
490
|
-
className: "
|
|
491
|
-
children:
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
})
|
|
495
|
-
})
|
|
433
|
+
/* @__PURE__ */ k("div", {
|
|
434
|
+
className: "flex flex-wrap items-center gap-3 text-xs text-text-secondary",
|
|
435
|
+
children: [/* @__PURE__ */ O("span", {
|
|
436
|
+
className: "font-semibold text-text-primary",
|
|
437
|
+
children: r(e.total, { minimumFractionDigits: 0 })
|
|
438
|
+
}), /* @__PURE__ */ k("span", {
|
|
439
|
+
className: "flex items-center gap-1",
|
|
440
|
+
children: [/* @__PURE__ */ O(p, { className: "h-3 w-3" }), e.timestamp]
|
|
441
|
+
})]
|
|
442
|
+
})
|
|
443
|
+
]
|
|
444
|
+
}), /* @__PURE__ */ k("div", {
|
|
445
|
+
className: "flex gap-2",
|
|
446
|
+
children: [
|
|
447
|
+
/* @__PURE__ */ k("button", {
|
|
448
|
+
type: "button",
|
|
449
|
+
onClick: () => i("/cart-owner/orders"),
|
|
450
|
+
className: "inline-flex items-center gap-1 rounded-md border border-border-subtle px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-bg-sunken transition-colors",
|
|
451
|
+
children: [/* @__PURE__ */ O(h, { className: "h-3 w-3" }), "View"]
|
|
452
|
+
}),
|
|
453
|
+
e.status === "pending" && /* @__PURE__ */ k("button", {
|
|
454
|
+
type: "button",
|
|
455
|
+
onClick: () => q(e.id),
|
|
456
|
+
className: "inline-flex items-center gap-1 rounded-md bg-status-success-bg-subtle/10 px-3 py-1.5 text-xs font-medium text-status-success-text hover:bg-status-success-bg-subtle/20 transition-colors",
|
|
457
|
+
children: [/* @__PURE__ */ O(d, { className: "h-3 w-3" }), "Accept"]
|
|
458
|
+
}),
|
|
459
|
+
e.status === "preparing" && /* @__PURE__ */ k("button", {
|
|
460
|
+
type: "button",
|
|
461
|
+
onClick: () => J(e.id),
|
|
462
|
+
className: "inline-flex items-center gap-1 rounded-md bg-accent-blue-subtle/10 px-3 py-1.5 text-xs font-medium text-accent-blue hover:bg-accent-blue-subtle/20 transition-colors",
|
|
463
|
+
children: [/* @__PURE__ */ O(d, { className: "h-3 w-3" }), "Mark Ready"]
|
|
496
464
|
})
|
|
497
465
|
]
|
|
498
|
-
}, e.date);
|
|
499
|
-
}) })]
|
|
500
|
-
})
|
|
501
|
-
})]
|
|
502
|
-
}),
|
|
503
|
-
/* @__PURE__ */ k("div", {
|
|
504
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
|
|
505
|
-
children: [/* @__PURE__ */ O("h3", {
|
|
506
|
-
className: "text-base font-semibold text-text-primary mb-4",
|
|
507
|
-
children: "This Month Summary"
|
|
508
|
-
}), /* @__PURE__ */ k("div", {
|
|
509
|
-
className: "grid grid-cols-1 sm:grid-cols-3 gap-4",
|
|
510
|
-
children: [
|
|
511
|
-
/* @__PURE__ */ k("div", {
|
|
512
|
-
className: "text-center p-3 rounded-lg bg-bg-sunken/50",
|
|
513
|
-
children: [/* @__PURE__ */ O("div", {
|
|
514
|
-
className: "text-xl font-bold text-text-primary",
|
|
515
|
-
children: r(A.totalRevenue, { minimumFractionDigits: 0 })
|
|
516
|
-
}), /* @__PURE__ */ O("div", {
|
|
517
|
-
className: "text-xs text-text-secondary mt-1",
|
|
518
|
-
children: "Total Revenue"
|
|
519
|
-
})]
|
|
520
|
-
}),
|
|
521
|
-
/* @__PURE__ */ k("div", {
|
|
522
|
-
className: "text-center p-3 rounded-lg bg-bg-sunken/50",
|
|
523
|
-
children: [/* @__PURE__ */ O("div", {
|
|
524
|
-
className: "text-xl font-bold text-text-primary",
|
|
525
|
-
children: A.totalOrders
|
|
526
|
-
}), /* @__PURE__ */ O("div", {
|
|
527
|
-
className: "text-xs text-text-secondary mt-1",
|
|
528
|
-
children: "Total Orders"
|
|
529
|
-
})]
|
|
530
|
-
}),
|
|
531
|
-
/* @__PURE__ */ k("div", {
|
|
532
|
-
className: "text-center p-3 rounded-lg bg-bg-sunken/50",
|
|
533
|
-
children: [/* @__PURE__ */ O("div", {
|
|
534
|
-
className: "text-xl font-bold text-text-primary",
|
|
535
|
-
children: A.customerCount
|
|
536
|
-
}), /* @__PURE__ */ O("div", {
|
|
537
|
-
className: "text-xs text-text-secondary mt-1",
|
|
538
|
-
children: "Unique Customers"
|
|
539
466
|
})]
|
|
540
467
|
})
|
|
541
|
-
|
|
542
|
-
})]
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
468
|
+
}, e.id))
|
|
469
|
+
})] }),
|
|
470
|
+
/* @__PURE__ */ k("div", {
|
|
471
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm",
|
|
472
|
+
children: [/* @__PURE__ */ k("div", {
|
|
473
|
+
className: "flex items-center justify-between border-b border-border-subtle px-5 py-4",
|
|
474
|
+
children: [/* @__PURE__ */ O("h3", {
|
|
475
|
+
className: "text-base font-semibold text-text-primary",
|
|
476
|
+
children: "Revenue (Last 7 Days)"
|
|
477
|
+
}), /* @__PURE__ */ O("button", {
|
|
478
|
+
type: "button",
|
|
479
|
+
onClick: () => i("/cart-owner/analytics"),
|
|
480
|
+
className: "text-xs text-text-secondary hover:text-text-primary transition-colors",
|
|
481
|
+
children: "View Analytics"
|
|
482
|
+
})]
|
|
483
|
+
}), /* @__PURE__ */ O("div", {
|
|
484
|
+
className: "overflow-x-auto",
|
|
485
|
+
children: /* @__PURE__ */ k("table", {
|
|
486
|
+
className: "w-full text-sm",
|
|
487
|
+
children: [/* @__PURE__ */ O("thead", { children: /* @__PURE__ */ k("tr", {
|
|
488
|
+
className: "border-b border-border-subtle",
|
|
489
|
+
children: [
|
|
490
|
+
/* @__PURE__ */ O("th", {
|
|
491
|
+
className: "px-5 py-3 text-left font-medium text-text-secondary",
|
|
492
|
+
children: "Date"
|
|
493
|
+
}),
|
|
494
|
+
/* @__PURE__ */ O("th", {
|
|
495
|
+
className: "px-5 py-3 text-right font-medium text-text-secondary",
|
|
496
|
+
children: "Orders"
|
|
497
|
+
}),
|
|
498
|
+
/* @__PURE__ */ O("th", {
|
|
499
|
+
className: "px-5 py-3 text-right font-medium text-text-secondary",
|
|
500
|
+
children: "Revenue"
|
|
501
|
+
}),
|
|
502
|
+
/* @__PURE__ */ O("th", {
|
|
503
|
+
className: "px-5 py-3 text-left font-medium text-text-secondary",
|
|
504
|
+
children: "Trend"
|
|
505
|
+
})
|
|
506
|
+
]
|
|
507
|
+
}) }), /* @__PURE__ */ O("tbody", { children: R.map((e, t) => {
|
|
508
|
+
let n = Math.max(...R.map((e) => e.revenue)), i = e.revenue / n * 100;
|
|
509
|
+
return /* @__PURE__ */ k("tr", {
|
|
510
|
+
className: "border-b border-border-subtle last:border-0",
|
|
511
|
+
children: [
|
|
512
|
+
/* @__PURE__ */ O("td", {
|
|
513
|
+
className: "px-5 py-3 text-text-primary text-xs",
|
|
514
|
+
children: new Date(e.date).toLocaleDateString("en-IN", {
|
|
515
|
+
day: "2-digit",
|
|
516
|
+
month: "short",
|
|
517
|
+
weekday: "short"
|
|
518
|
+
})
|
|
519
|
+
}),
|
|
520
|
+
/* @__PURE__ */ O("td", {
|
|
521
|
+
className: "px-5 py-3 text-right text-text-primary",
|
|
522
|
+
children: e.orders
|
|
523
|
+
}),
|
|
524
|
+
/* @__PURE__ */ O("td", {
|
|
525
|
+
className: "px-5 py-3 text-right font-medium text-text-primary",
|
|
526
|
+
children: r(e.revenue, { minimumFractionDigits: 0 })
|
|
527
|
+
}),
|
|
528
|
+
/* @__PURE__ */ O("td", {
|
|
529
|
+
className: "px-5 py-3 w-40",
|
|
530
|
+
children: /* @__PURE__ */ O("div", {
|
|
531
|
+
className: "h-4 rounded bg-bg-sunken overflow-hidden",
|
|
532
|
+
children: /* @__PURE__ */ O("div", {
|
|
533
|
+
className: "h-full rounded bg-accent-blue-subtle/60",
|
|
534
|
+
style: { width: `${i}%` }
|
|
535
|
+
})
|
|
536
|
+
})
|
|
537
|
+
})
|
|
538
|
+
]
|
|
539
|
+
}, e.date);
|
|
540
|
+
}) })]
|
|
541
|
+
})
|
|
558
542
|
})]
|
|
559
|
-
}),
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
className: "text-
|
|
570
|
-
children:
|
|
571
|
-
|
|
543
|
+
}),
|
|
544
|
+
/* @__PURE__ */ k("div", {
|
|
545
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
546
|
+
children: [/* @__PURE__ */ O("h3", {
|
|
547
|
+
className: "text-base font-semibold text-text-primary mb-4",
|
|
548
|
+
children: "This Month Summary"
|
|
549
|
+
}), /* @__PURE__ */ k("div", {
|
|
550
|
+
className: "grid grid-cols-1 sm:grid-cols-3 gap-4",
|
|
551
|
+
children: [
|
|
552
|
+
/* @__PURE__ */ k("div", {
|
|
553
|
+
className: "text-center p-3 rounded-lg bg-bg-sunken/50",
|
|
554
|
+
children: [/* @__PURE__ */ O("div", {
|
|
555
|
+
className: "text-xl font-bold text-text-primary",
|
|
556
|
+
children: r(N.totalRevenue, { minimumFractionDigits: 0 })
|
|
557
|
+
}), /* @__PURE__ */ O("div", {
|
|
558
|
+
className: "text-xs text-text-secondary mt-1",
|
|
559
|
+
children: "Total Revenue"
|
|
560
|
+
})]
|
|
561
|
+
}),
|
|
562
|
+
/* @__PURE__ */ k("div", {
|
|
563
|
+
className: "text-center p-3 rounded-lg bg-bg-sunken/50",
|
|
564
|
+
children: [/* @__PURE__ */ O("div", {
|
|
565
|
+
className: "text-xl font-bold text-text-primary",
|
|
566
|
+
children: N.totalOrders
|
|
567
|
+
}), /* @__PURE__ */ O("div", {
|
|
568
|
+
className: "text-xs text-text-secondary mt-1",
|
|
569
|
+
children: "Total Orders"
|
|
570
|
+
})]
|
|
571
|
+
}),
|
|
572
|
+
/* @__PURE__ */ k("div", {
|
|
573
|
+
className: "text-center p-3 rounded-lg bg-bg-sunken/50",
|
|
574
|
+
children: [/* @__PURE__ */ O("div", {
|
|
575
|
+
className: "text-xl font-bold text-text-primary",
|
|
576
|
+
children: N.customerCount
|
|
577
|
+
}), /* @__PURE__ */ O("div", {
|
|
578
|
+
className: "text-xs text-text-secondary mt-1",
|
|
579
|
+
children: "Unique Customers"
|
|
580
|
+
})]
|
|
581
|
+
})
|
|
582
|
+
]
|
|
583
|
+
})]
|
|
584
|
+
})
|
|
585
|
+
]
|
|
586
|
+
}), /* @__PURE__ */ k("div", {
|
|
587
|
+
className: "space-y-6",
|
|
588
|
+
children: [
|
|
589
|
+
/* @__PURE__ */ k("div", {
|
|
590
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
591
|
+
children: [/* @__PURE__ */ k("div", {
|
|
592
|
+
className: "flex items-center justify-between mb-4",
|
|
593
|
+
children: [/* @__PURE__ */ k("h3", {
|
|
594
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2",
|
|
595
|
+
children: [/* @__PURE__ */ O(u, { className: "h-4 w-4" }), "Notifications"]
|
|
596
|
+
}), /* @__PURE__ */ O("span", {
|
|
597
|
+
className: "inline-flex items-center justify-center rounded-full bg-status-error-bg-subtle text-white text-[10px] font-bold h-5 w-5",
|
|
598
|
+
children: L.length
|
|
572
599
|
})]
|
|
573
|
-
},
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
children: [/* @__PURE__ */ k("h3", {
|
|
579
|
-
className: "text-base font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
580
|
-
children: [/* @__PURE__ */ O(g, { className: "h-4 w-4 text-orange-500" }), "Top Selling Items"]
|
|
581
|
-
}), /* @__PURE__ */ O("div", {
|
|
582
|
-
className: "space-y-3",
|
|
583
|
-
children: M.map((e, t) => /* @__PURE__ */ k("div", {
|
|
584
|
-
className: "flex items-center justify-between",
|
|
585
|
-
children: [/* @__PURE__ */ k("div", {
|
|
586
|
-
className: "flex items-center gap-2 min-w-0",
|
|
587
|
-
children: [/* @__PURE__ */ O("span", {
|
|
588
|
-
className: "text-sm font-bold text-text-secondary w-5",
|
|
589
|
-
children: t + 1
|
|
590
|
-
}), /* @__PURE__ */ k("div", {
|
|
600
|
+
}), /* @__PURE__ */ O("div", {
|
|
601
|
+
className: "space-y-3",
|
|
602
|
+
children: L.map((e) => /* @__PURE__ */ k("div", {
|
|
603
|
+
className: "flex items-start gap-2",
|
|
604
|
+
children: [/* @__PURE__ */ O(o, { className: t("h-4 w-4 mt-0.5 shrink-0", H[e.type]) }), /* @__PURE__ */ k("div", {
|
|
591
605
|
className: "min-w-0",
|
|
592
606
|
children: [/* @__PURE__ */ O("p", {
|
|
593
|
-
className: "text-xs
|
|
594
|
-
children: e.
|
|
595
|
-
}), /* @__PURE__ */
|
|
596
|
-
className: "text-[10px] text-text-secondary",
|
|
597
|
-
children:
|
|
607
|
+
className: "text-xs text-text-primary leading-tight",
|
|
608
|
+
children: e.message
|
|
609
|
+
}), /* @__PURE__ */ O("p", {
|
|
610
|
+
className: "text-[10px] text-text-secondary mt-0.5",
|
|
611
|
+
children: e.time
|
|
598
612
|
})]
|
|
599
613
|
})]
|
|
600
|
-
}
|
|
601
|
-
className: "text-xs font-semibold text-text-primary",
|
|
602
|
-
children: r(e.revenue, { minimumFractionDigits: 0 })
|
|
603
|
-
})]
|
|
604
|
-
}, e.name))
|
|
605
|
-
})]
|
|
606
|
-
}),
|
|
607
|
-
/* @__PURE__ */ k("div", {
|
|
608
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
|
|
609
|
-
children: [/* @__PURE__ */ k("div", {
|
|
610
|
-
className: "flex items-center justify-between mb-4",
|
|
611
|
-
children: [/* @__PURE__ */ k("h3", {
|
|
612
|
-
className: "text-base font-semibold text-text-primary flex items-center gap-2",
|
|
613
|
-
children: [/* @__PURE__ */ O(D, { className: "h-4 w-4" }), "Staff Overview"]
|
|
614
|
-
}), /* @__PURE__ */ O("button", {
|
|
615
|
-
type: "button",
|
|
616
|
-
onClick: () => i("/cart-owner/staff"),
|
|
617
|
-
className: "text-xs text-text-secondary hover:text-text-primary transition-colors",
|
|
618
|
-
children: "Manage"
|
|
614
|
+
}, e.id))
|
|
619
615
|
})]
|
|
620
|
-
}),
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
}), /* @__PURE__ */ O("p", {
|
|
630
|
-
className: "text-[10px] text-text-secondary",
|
|
631
|
-
children: e.role
|
|
632
|
-
})] })]
|
|
633
|
-
}), /* @__PURE__ */ O("span", {
|
|
634
|
-
className: "text-[10px] capitalize text-text-secondary",
|
|
635
|
-
children: e.status.replace("-", " ")
|
|
636
|
-
})]
|
|
637
|
-
}, e.name))
|
|
638
|
-
})]
|
|
639
|
-
}),
|
|
640
|
-
/* @__PURE__ */ k("div", {
|
|
641
|
-
className: "rounded-lg border border-border-subtle bg-bg-surface p-5 shadow-sm",
|
|
642
|
-
children: [/* @__PURE__ */ O("h3", {
|
|
643
|
-
className: "text-base font-semibold text-text-primary mb-4",
|
|
644
|
-
children: "Quick Stats"
|
|
645
|
-
}), /* @__PURE__ */ k("div", {
|
|
646
|
-
className: "space-y-3",
|
|
647
|
-
children: [
|
|
648
|
-
/* @__PURE__ */ k("div", {
|
|
616
|
+
}),
|
|
617
|
+
/* @__PURE__ */ k("div", {
|
|
618
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
619
|
+
children: [/* @__PURE__ */ k("h3", {
|
|
620
|
+
className: "text-base font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
621
|
+
children: [/* @__PURE__ */ O(g, { className: "h-4 w-4 text-accent-orange" }), "Top Selling Items"]
|
|
622
|
+
}), /* @__PURE__ */ O("div", {
|
|
623
|
+
className: "space-y-3",
|
|
624
|
+
children: F.map((e, t) => /* @__PURE__ */ k("div", {
|
|
649
625
|
className: "flex items-center justify-between",
|
|
650
|
-
children: [/* @__PURE__ */
|
|
651
|
-
className: "
|
|
652
|
-
children: "
|
|
626
|
+
children: [/* @__PURE__ */ k("div", {
|
|
627
|
+
className: "flex items-center gap-2 min-w-0",
|
|
628
|
+
children: [/* @__PURE__ */ O("span", {
|
|
629
|
+
className: "text-sm font-bold text-text-secondary w-5",
|
|
630
|
+
children: t + 1
|
|
631
|
+
}), /* @__PURE__ */ k("div", {
|
|
632
|
+
className: "min-w-0",
|
|
633
|
+
children: [/* @__PURE__ */ O("p", {
|
|
634
|
+
className: "text-xs font-medium text-text-primary truncate",
|
|
635
|
+
children: e.name
|
|
636
|
+
}), /* @__PURE__ */ k("p", {
|
|
637
|
+
className: "text-[10px] text-text-secondary",
|
|
638
|
+
children: [e.quantity, " sold"]
|
|
639
|
+
})]
|
|
640
|
+
})]
|
|
653
641
|
}), /* @__PURE__ */ O("span", {
|
|
654
|
-
className: "text-
|
|
655
|
-
children:
|
|
642
|
+
className: "text-xs font-semibold text-text-primary",
|
|
643
|
+
children: r(e.revenue, { minimumFractionDigits: 0 })
|
|
656
644
|
})]
|
|
657
|
-
})
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
})]
|
|
667
|
-
}),
|
|
668
|
-
|
|
645
|
+
}, e.name))
|
|
646
|
+
})]
|
|
647
|
+
}),
|
|
648
|
+
/* @__PURE__ */ k("div", {
|
|
649
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
650
|
+
children: [/* @__PURE__ */ k("div", {
|
|
651
|
+
className: "flex items-center justify-between mb-4",
|
|
652
|
+
children: [/* @__PURE__ */ k("h3", {
|
|
653
|
+
className: "text-base font-semibold text-text-primary flex items-center gap-2",
|
|
654
|
+
children: [/* @__PURE__ */ O(D, { className: "h-4 w-4" }), "Staff Overview"]
|
|
655
|
+
}), /* @__PURE__ */ O("button", {
|
|
656
|
+
type: "button",
|
|
657
|
+
onClick: () => i("/cart-owner/staff"),
|
|
658
|
+
className: "text-xs text-text-secondary hover:text-text-primary transition-colors",
|
|
659
|
+
children: "Manage"
|
|
660
|
+
})]
|
|
661
|
+
}), /* @__PURE__ */ O("div", {
|
|
662
|
+
className: "space-y-3",
|
|
663
|
+
children: I.map((e) => /* @__PURE__ */ k("div", {
|
|
669
664
|
className: "flex items-center justify-between",
|
|
670
|
-
children: [/* @__PURE__ */
|
|
671
|
-
className: "
|
|
672
|
-
children: "
|
|
665
|
+
children: [/* @__PURE__ */ k("div", {
|
|
666
|
+
className: "flex items-center gap-2",
|
|
667
|
+
children: [/* @__PURE__ */ O("div", { className: t("w-2 h-2 rounded-full", V[e.status]) }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
|
|
668
|
+
className: "text-xs font-medium text-text-primary",
|
|
669
|
+
children: e.name
|
|
670
|
+
}), /* @__PURE__ */ O("p", {
|
|
671
|
+
className: "text-[10px] text-text-secondary",
|
|
672
|
+
children: e.role
|
|
673
|
+
})] })]
|
|
673
674
|
}), /* @__PURE__ */ O("span", {
|
|
674
|
-
className: "text-
|
|
675
|
-
children:
|
|
675
|
+
className: "text-[10px] capitalize text-text-secondary",
|
|
676
|
+
children: e.status.replace("-", " ")
|
|
676
677
|
})]
|
|
678
|
+
}, e.name))
|
|
679
|
+
})]
|
|
680
|
+
}),
|
|
681
|
+
/* @__PURE__ */ k("div", {
|
|
682
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
683
|
+
children: [/* @__PURE__ */ O("h3", {
|
|
684
|
+
className: "text-base font-semibold text-text-primary mb-4",
|
|
685
|
+
children: "Quick Stats"
|
|
686
|
+
}), /* @__PURE__ */ k("div", {
|
|
687
|
+
className: "space-y-3",
|
|
688
|
+
children: [
|
|
689
|
+
/* @__PURE__ */ k("div", {
|
|
690
|
+
className: "flex items-center justify-between",
|
|
691
|
+
children: [/* @__PURE__ */ O("span", {
|
|
692
|
+
className: "text-xs text-text-secondary",
|
|
693
|
+
children: "Active Offerings"
|
|
694
|
+
}), /* @__PURE__ */ O("span", {
|
|
695
|
+
className: "text-sm font-semibold text-text-primary",
|
|
696
|
+
children: N.activeOfferings
|
|
697
|
+
})]
|
|
698
|
+
}),
|
|
699
|
+
/* @__PURE__ */ k("div", {
|
|
700
|
+
className: "flex items-center justify-between",
|
|
701
|
+
children: [/* @__PURE__ */ O("span", {
|
|
702
|
+
className: "text-xs text-text-secondary",
|
|
703
|
+
children: "Customer Rating"
|
|
704
|
+
}), /* @__PURE__ */ k("span", {
|
|
705
|
+
className: "text-sm font-semibold text-text-primary flex items-center gap-1",
|
|
706
|
+
children: [/* @__PURE__ */ O(C, { className: "h-3 w-3 text-status-warning-text fill-status-warning-text" }), N.rating]
|
|
707
|
+
})]
|
|
708
|
+
}),
|
|
709
|
+
/* @__PURE__ */ k("div", {
|
|
710
|
+
className: "flex items-center justify-between",
|
|
711
|
+
children: [/* @__PURE__ */ O("span", {
|
|
712
|
+
className: "text-xs text-text-secondary",
|
|
713
|
+
children: "Total Customers"
|
|
714
|
+
}), /* @__PURE__ */ O("span", {
|
|
715
|
+
className: "text-sm font-semibold text-text-primary",
|
|
716
|
+
children: N.customerCount
|
|
717
|
+
})]
|
|
718
|
+
})
|
|
719
|
+
]
|
|
720
|
+
})]
|
|
721
|
+
}),
|
|
722
|
+
/* @__PURE__ */ k("div", {
|
|
723
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
724
|
+
children: [/* @__PURE__ */ O("h3", {
|
|
725
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
726
|
+
children: "Business Settings"
|
|
727
|
+
}), /* @__PURE__ */ O("div", {
|
|
728
|
+
className: "space-y-2",
|
|
729
|
+
children: [
|
|
730
|
+
{
|
|
731
|
+
label: "Service Settings",
|
|
732
|
+
icon: x,
|
|
733
|
+
path: "/cart-owner/settings"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
label: "Business Profile",
|
|
737
|
+
icon: m,
|
|
738
|
+
path: "/cart-owner/profile"
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
label: "Add Offerings",
|
|
742
|
+
icon: b,
|
|
743
|
+
path: "/cart-owner/inventory"
|
|
744
|
+
}
|
|
745
|
+
].map((e) => {
|
|
746
|
+
let t = e.icon;
|
|
747
|
+
return /* @__PURE__ */ k("button", {
|
|
748
|
+
type: "button",
|
|
749
|
+
onClick: () => i(e.path),
|
|
750
|
+
className: "w-full flex items-center justify-between rounded-md border border-border-subtle px-3 py-2 text-xs font-medium text-text-primary hover:bg-bg-sunken transition-colors",
|
|
751
|
+
children: [/* @__PURE__ */ k("span", {
|
|
752
|
+
className: "flex items-center gap-2",
|
|
753
|
+
children: [/* @__PURE__ */ O(t, { className: "h-3.5 w-3.5" }), e.label]
|
|
754
|
+
}), /* @__PURE__ */ O(f, { className: "h-3 w-3 text-text-secondary" })]
|
|
755
|
+
}, e.label);
|
|
677
756
|
})
|
|
678
|
-
]
|
|
679
|
-
})
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
{
|
|
690
|
-
label: "Service Settings",
|
|
691
|
-
icon: x,
|
|
692
|
-
path: "/cart-owner/settings"
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
label: "Business Profile",
|
|
696
|
-
icon: m,
|
|
697
|
-
path: "/cart-owner/profile"
|
|
698
|
-
},
|
|
699
|
-
{
|
|
700
|
-
label: "Add Offerings",
|
|
701
|
-
icon: b,
|
|
702
|
-
path: "/cart-owner/inventory"
|
|
703
|
-
}
|
|
704
|
-
].map((e) => {
|
|
705
|
-
let t = e.icon;
|
|
706
|
-
return /* @__PURE__ */ k("button", {
|
|
707
|
-
type: "button",
|
|
708
|
-
onClick: () => i(e.path),
|
|
709
|
-
className: "w-full flex items-center justify-between rounded-md border border-border-subtle px-3 py-2 text-xs font-medium text-text-primary hover:bg-bg-sunken transition-colors",
|
|
710
|
-
children: [/* @__PURE__ */ k("span", {
|
|
757
|
+
})]
|
|
758
|
+
}),
|
|
759
|
+
/* @__PURE__ */ k("div", {
|
|
760
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
761
|
+
children: [/* @__PURE__ */ O("h3", {
|
|
762
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
763
|
+
children: "Recent Activity"
|
|
764
|
+
}), /* @__PURE__ */ k("div", {
|
|
765
|
+
className: "space-y-2 text-xs",
|
|
766
|
+
children: [
|
|
767
|
+
/* @__PURE__ */ k("div", {
|
|
711
768
|
className: "flex items-center gap-2",
|
|
712
|
-
children: [/* @__PURE__ */ O(
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
/* @__PURE__ */ k("div", {
|
|
741
|
-
className: "flex items-center gap-2",
|
|
742
|
-
children: [/* @__PURE__ */ O(o, { className: "h-3.5 w-3.5 text-yellow-500" }), /* @__PURE__ */ O("span", {
|
|
743
|
-
className: "text-text-secondary",
|
|
744
|
-
children: "New customer review"
|
|
745
|
-
})]
|
|
746
|
-
})
|
|
747
|
-
]
|
|
748
|
-
})]
|
|
749
|
-
})
|
|
750
|
-
]
|
|
751
|
-
})]
|
|
752
|
-
})
|
|
753
|
-
]
|
|
754
|
-
})
|
|
769
|
+
children: [/* @__PURE__ */ O(o, { className: "h-3.5 w-3.5 text-status-success-text" }), /* @__PURE__ */ O("span", {
|
|
770
|
+
className: "text-text-secondary",
|
|
771
|
+
children: "Order #ORD-003 delivered"
|
|
772
|
+
})]
|
|
773
|
+
}),
|
|
774
|
+
/* @__PURE__ */ k("div", {
|
|
775
|
+
className: "flex items-center gap-2",
|
|
776
|
+
children: [/* @__PURE__ */ O(o, { className: "h-3.5 w-3.5 text-accent-blue" }), /* @__PURE__ */ O("span", {
|
|
777
|
+
className: "text-text-secondary",
|
|
778
|
+
children: "Inventory updated"
|
|
779
|
+
})]
|
|
780
|
+
}),
|
|
781
|
+
/* @__PURE__ */ k("div", {
|
|
782
|
+
className: "flex items-center gap-2",
|
|
783
|
+
children: [/* @__PURE__ */ O(o, { className: "h-3.5 w-3.5 text-status-warning-text" }), /* @__PURE__ */ O("span", {
|
|
784
|
+
className: "text-text-secondary",
|
|
785
|
+
children: "New customer review"
|
|
786
|
+
})]
|
|
787
|
+
})
|
|
788
|
+
]
|
|
789
|
+
})]
|
|
790
|
+
})
|
|
791
|
+
]
|
|
792
|
+
})]
|
|
793
|
+
})
|
|
794
|
+
]
|
|
795
|
+
})
|
|
796
|
+
]
|
|
755
797
|
});
|
|
756
798
|
};
|
|
757
799
|
//#endregion
|
|
758
|
-
export {
|
|
800
|
+
export { U as CartOwnerDashboard };
|
|
759
801
|
|
|
760
802
|
//# sourceMappingURL=CartOwnerDashboard.js.map
|