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