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