@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
@@ -10,29 +10,30 @@ import { useCallback as u, useMemo as d, useState as f } from "react";
10
10
  import { useI18n as p } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
11
11
  import { Activity as m, AlertCircle as h, ArrowRight as g, BadgeCheck as _, BarChart3 as v, CheckCircle2 as y, ChefHat as b, ClipboardList as x, Clock as S, FileText as C, GraduationCap as w, HandCoins as T, Heart as E, Home as D, IndianRupee as O, LayoutDashboard as k, Loader2 as A, MapPin as j, Package as M, Scissors as N, Search as P, Settings as F, Shirt as I, ShoppingBag as L, ShoppingCart as R, Sparkles as z, Star as B, Store as V, TrendingUp as H, Truck as U, Users as W, Wallet as G, Wrench as K } from "lucide-react";
12
12
  import { jsx as q, jsxs as J } from "react/jsx-runtime";
13
+ import { EmphasisPanel as Y, PagePurpose as X } from "@burdenoff/fe-libs/ui";
13
14
  //#region src/subscriberbot/pages/HomePage.tsx
14
- var Y = {
15
+ var Z = {
15
16
  customer: [
16
17
  {
17
18
  label: "Discover Services",
18
19
  description: "Browse carts near you",
19
20
  icon: /* @__PURE__ */ q(P, { className: "h-5 w-5" }),
20
21
  path: "/customer/carts",
21
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
22
+ color: "bg-status-info-bg/10 text-status-info-text"
22
23
  },
23
24
  {
24
25
  label: "My Orders",
25
26
  description: "Track your orders",
26
27
  icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
27
28
  path: "/customer/orders",
28
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
29
+ color: "bg-status-success-bg/10 text-status-success-text"
29
30
  },
30
31
  {
31
32
  label: "Favorites",
32
33
  description: "Your saved carts",
33
34
  icon: /* @__PURE__ */ q(E, { className: "h-5 w-5" }),
34
35
  path: "/customer/favorites",
35
- color: "bg-pink-500/10 text-pink-600 dark:text-pink-400"
36
+ color: "bg-accent-purple-subtle text-accent-purple"
36
37
  },
37
38
  {
38
39
  label: "Settings",
@@ -48,28 +49,28 @@ var Y = {
48
49
  description: "Manage your cart",
49
50
  icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
50
51
  path: "/owner/dashboard",
51
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
52
+ color: "bg-accent-purple-subtle text-accent-purple"
52
53
  },
53
54
  {
54
55
  label: "Orders",
55
56
  description: "Incoming orders",
56
57
  icon: /* @__PURE__ */ q(L, { className: "h-5 w-5" }),
57
58
  path: "/owner/orders",
58
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
59
+ color: "bg-status-info-bg/10 text-status-info-text"
59
60
  },
60
61
  {
61
62
  label: "Analytics",
62
63
  description: "Revenue & insights",
63
64
  icon: /* @__PURE__ */ q(v, { className: "h-5 w-5" }),
64
65
  path: "/owner/analytics",
65
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
66
+ color: "bg-status-success-bg/10 text-status-success-text"
66
67
  },
67
68
  {
68
69
  label: "Staff",
69
70
  description: "Manage workers",
70
71
  icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
71
72
  path: "/owner/staff",
72
- color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
73
+ color: "bg-status-warning-bg/10 text-status-warning-text"
73
74
  }
74
75
  ],
75
76
  worker: [
@@ -78,28 +79,28 @@ var Y = {
78
79
  description: "View assigned tasks",
79
80
  icon: /* @__PURE__ */ q(x, { className: "h-5 w-5" }),
80
81
  path: "/worker/dashboard",
81
- color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
82
+ color: "bg-status-warning-bg/10 text-status-warning-text"
82
83
  },
83
84
  {
84
85
  label: "Schedule",
85
86
  description: "View shifts",
86
87
  icon: /* @__PURE__ */ q(S, { className: "h-5 w-5" }),
87
88
  path: "/worker/schedule",
88
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
89
+ color: "bg-status-info-bg/10 text-status-info-text"
89
90
  },
90
91
  {
91
92
  label: "Earnings",
92
93
  description: "Track pay",
93
94
  icon: /* @__PURE__ */ q(G, { className: "h-5 w-5" }),
94
95
  path: "/worker/earnings",
95
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
96
+ color: "bg-status-success-bg/10 text-status-success-text"
96
97
  },
97
98
  {
98
99
  label: "Performance",
99
100
  description: "Ratings & stats",
100
101
  icon: /* @__PURE__ */ q(B, { className: "h-5 w-5" }),
101
102
  path: "/worker/performance",
102
- color: "bg-yellow-500/10 text-yellow-600 dark:text-yellow-400"
103
+ color: "bg-status-warning-bg/10 text-status-warning-text"
103
104
  }
104
105
  ],
105
106
  investor: [
@@ -108,28 +109,28 @@ var Y = {
108
109
  description: "Your investments",
109
110
  icon: /* @__PURE__ */ q(H, { className: "h-5 w-5" }),
110
111
  path: "/investor/dashboard",
111
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
112
+ color: "bg-status-success-bg/10 text-status-success-text"
112
113
  },
113
114
  {
114
115
  label: "Opportunities",
115
116
  description: "New investments",
116
117
  icon: /* @__PURE__ */ q(T, { className: "h-5 w-5" }),
117
118
  path: "/investor/opportunities",
118
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
119
+ color: "bg-status-info-bg/10 text-status-info-text"
119
120
  },
120
121
  {
121
122
  label: "Returns",
122
123
  description: "Earnings history",
123
124
  icon: /* @__PURE__ */ q(O, { className: "h-5 w-5" }),
124
125
  path: "/investor/returns",
125
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
126
+ color: "bg-status-success-bg/10 text-status-success-text"
126
127
  },
127
128
  {
128
129
  label: "Reports",
129
130
  description: "Performance reports",
130
131
  icon: /* @__PURE__ */ q(C, { className: "h-5 w-5" }),
131
132
  path: "/investor/reports",
132
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
133
+ color: "bg-accent-purple-subtle text-accent-purple"
133
134
  }
134
135
  ],
135
136
  admin: [
@@ -138,32 +139,32 @@ var Y = {
138
139
  description: "Platform overview",
139
140
  icon: /* @__PURE__ */ q(k, { className: "h-5 w-5" }),
140
141
  path: "/admin/dashboard",
141
- color: "bg-red-500/10 text-red-600 dark:text-red-400"
142
+ color: "bg-status-error-bg/10 text-status-error-text"
142
143
  },
143
144
  {
144
145
  label: "Users",
145
146
  description: "Manage accounts",
146
147
  icon: /* @__PURE__ */ q(W, { className: "h-5 w-5" }),
147
148
  path: "/admin/users",
148
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
149
+ color: "bg-status-info-bg/10 text-status-info-text"
149
150
  },
150
151
  {
151
152
  label: "Carts",
152
153
  description: "Approve & manage",
153
154
  icon: /* @__PURE__ */ q(V, { className: "h-5 w-5" }),
154
155
  path: "/admin/carts",
155
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
156
+ color: "bg-accent-purple-subtle text-accent-purple"
156
157
  },
157
158
  {
158
159
  label: "Analytics",
159
160
  description: "Revenue reports",
160
161
  icon: /* @__PURE__ */ q(v, { className: "h-5 w-5" }),
161
162
  path: "/admin/analytics",
162
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
163
+ color: "bg-status-success-bg/10 text-status-success-text"
163
164
  }
164
165
  ]
165
166
  };
166
- function X(e, t, n) {
167
+ function Q(e, t, n) {
167
168
  switch (e) {
168
169
  case "customer": return [
169
170
  {
@@ -317,53 +318,53 @@ function X(e, t, n) {
317
318
  ];
318
319
  }
319
320
  }
320
- var Z = [
321
+ var $ = [
321
322
  {
322
323
  label: "Food & Beverage",
323
324
  icon: /* @__PURE__ */ q(b, { className: "h-6 w-6" }),
324
- color: "bg-orange-500/10 text-orange-600 dark:text-orange-400"
325
+ color: "bg-status-warning-bg/10 text-status-warning-text"
325
326
  },
326
327
  {
327
328
  label: "Personal Care & Beauty",
328
329
  icon: /* @__PURE__ */ q(N, { className: "h-6 w-6" }),
329
- color: "bg-pink-500/10 text-pink-600 dark:text-pink-400"
330
+ color: "bg-accent-purple-subtle text-accent-purple"
330
331
  },
331
332
  {
332
333
  label: "Repair & Maintenance",
333
334
  icon: /* @__PURE__ */ q(K, { className: "h-6 w-6" }),
334
- color: "bg-blue-500/10 text-blue-600 dark:text-blue-400"
335
+ color: "bg-status-info-bg/10 text-status-info-text"
335
336
  },
336
337
  {
337
338
  label: "Home Services",
338
339
  icon: /* @__PURE__ */ q(D, { className: "h-6 w-6" }),
339
- color: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
340
+ color: "bg-status-success-bg/10 text-status-success-text"
340
341
  },
341
342
  {
342
343
  label: "Clothing & Fashion",
343
344
  icon: /* @__PURE__ */ q(I, { className: "h-6 w-6" }),
344
- color: "bg-purple-500/10 text-purple-600 dark:text-purple-400"
345
+ color: "bg-accent-purple-subtle text-accent-purple"
345
346
  },
346
347
  {
347
348
  label: "Health & Wellness",
348
349
  icon: /* @__PURE__ */ q(E, { className: "h-6 w-6" }),
349
- color: "bg-red-500/10 text-red-600 dark:text-red-400"
350
+ color: "bg-status-error-bg/10 text-status-error-text"
350
351
  },
351
352
  {
352
353
  label: "Education & Skills",
353
354
  icon: /* @__PURE__ */ q(w, { className: "h-6 w-6" }),
354
- color: "bg-yellow-500/10 text-yellow-600 dark:text-yellow-400"
355
+ color: "bg-status-warning-bg/10 text-status-warning-text"
355
356
  },
356
357
  {
357
358
  label: "Retail & Merchandise",
358
359
  icon: /* @__PURE__ */ q(M, { className: "h-6 w-6" }),
359
- color: "bg-indigo-500/10 text-indigo-600 dark:text-indigo-400"
360
+ color: "bg-accent-indigo-subtle text-accent-indigo"
360
361
  },
361
362
  {
362
363
  label: "Grocery & Essentials",
363
364
  icon: /* @__PURE__ */ q(R, { className: "h-6 w-6" }),
364
- color: "bg-green-500/10 text-green-600 dark:text-green-400"
365
+ color: "bg-status-success-bg/10 text-status-success-text"
365
366
  }
366
- ], Q = [
367
+ ], ee = [
367
368
  {
368
369
  step: 1,
369
370
  title: "Browse Services",
@@ -388,7 +389,7 @@ var Z = [
388
389
  description: "Share your experience and help others find great services.",
389
390
  icon: /* @__PURE__ */ q(B, { className: "h-6 w-6" })
390
391
  }
391
- ], $ = [
392
+ ], te = [
392
393
  {
393
394
  id: "ha-1",
394
395
  description: "New order placed at Dosa Express",
@@ -419,7 +420,7 @@ var Z = [
419
420
  time: "5 hours ago",
420
421
  type: "order"
421
422
  }
422
- ], ee = [
423
+ ], ne = [
423
424
  {
424
425
  label: "Service Providers",
425
426
  value: "21+",
@@ -441,7 +442,7 @@ var Z = [
441
442
  icon: /* @__PURE__ */ q(y, { className: "h-5 w-5" })
442
443
  }
443
444
  ];
444
- function te() {
445
+ function re() {
445
446
  let { navigateTo: v, currentUser: y } = e(), { t: b } = p(), [x, C] = f(""), { providers: w, orders: T, dashboardStats: E } = o(), D = u((e, t) => {
446
447
  let n = b(e);
447
448
  return n === e ? t : n;
@@ -457,7 +458,7 @@ function te() {
457
458
  worker: D("subscriberbot.home.greeting.worker", "Check your tasks and earnings"),
458
459
  investor: D("subscriberbot.home.greeting.investor", "Track your investments and returns"),
459
460
  admin: D("subscriberbot.home.greeting.admin", "Monitor and manage the platform")
460
- }, I = Y[M] ?? Y.customer, L = X(M, T.data ?? [], E.data), R = d(() => {
461
+ }, I = Z[M] ?? Z.customer, L = Q(M, T.data ?? [], E.data), R = d(() => {
461
462
  let e = (w.data ?? []).filter((e) => e.isOpen);
462
463
  if (x) {
463
464
  let t = x.toLowerCase();
@@ -465,10 +466,10 @@ function te() {
465
466
  }
466
467
  return e.sort((e, t) => t.rating - e.rating).slice(0, 6);
467
468
  }, [w.data, x]), V = d(() => [...T.data ?? []].sort((e, t) => new Date(t.orderDate).getTime() - new Date(e.orderDate).getTime()).slice(0, 3), [T.data]), H = {
468
- order: "text-blue-600 dark:text-blue-400",
469
- review: "text-yellow-600 dark:text-yellow-400",
470
- investment: "text-green-600 dark:text-green-400",
471
- cart: "text-purple-600 dark:text-purple-400"
469
+ order: "text-status-info-text",
470
+ review: "text-status-warning-text",
471
+ investment: "text-status-success-text",
472
+ cart: "text-accent-purple"
472
473
  }, U = (T.data ?? []).length === 0 && !T.isLoading, W = w.isLoading || T.isLoading || E.isLoading, G = w.isError || T.isError || E.isError;
473
474
  return W ? /* @__PURE__ */ q(n, {
474
475
  title: D("subscriberbot.common.loading", "Loading..."),
@@ -495,9 +496,11 @@ function te() {
495
496
  }) : /* @__PURE__ */ J(n, {
496
497
  title: `${D("subscriberbot.home.hello", "Hello")}, ${k}!`,
497
498
  description: F[M],
499
+ titleGradient: !0,
500
+ aurora: !0,
498
501
  children: [
499
- U && /* @__PURE__ */ q("section", {
500
- className: "mb-6 rounded-xl border border-border-subtle bg-gradient-to-r from-primary/5 via-primary/10 to-primary/5 p-6",
502
+ U && /* @__PURE__ */ q(Y, {
503
+ className: "mb-6",
501
504
  children: /* @__PURE__ */ J("div", {
502
505
  className: "flex items-start gap-4",
503
506
  children: [/* @__PURE__ */ q("div", {
@@ -517,15 +520,20 @@ function te() {
517
520
  /* @__PURE__ */ J("button", {
518
521
  type: "button",
519
522
  onClick: () => v("/customer/carts"),
520
- className: "mt-3 inline-flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
523
+ className: "mt-3 inline-flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors min-h-11",
521
524
  children: [/* @__PURE__ */ q(P, { className: "h-4 w-4" }), D("subscriberbot.home.exploreServices", "Explore Services")]
522
525
  })
523
526
  ]
524
527
  })]
525
528
  })
526
529
  }),
530
+ /* @__PURE__ */ q(X, {
531
+ icon: /* @__PURE__ */ q(z, { className: "h-4 w-4" }),
532
+ className: "mb-6",
533
+ children: D("subscriberbot.home.purpose", "Your home base on SubscriberBot — a marketplace of local service carts and providers. Search for what you need, browse by category, reorder from carts you love, and keep an eye on your recent orders. Everything below is tailored to your role.")
534
+ }),
527
535
  /* @__PURE__ */ q("section", {
528
- className: "mb-6 rounded-xl border border-border-subtle bg-bg-surface p-6",
536
+ className: "mb-6 rounded-xl border border-border-seam bg-bg-surface p-6",
529
537
  children: /* @__PURE__ */ J("div", {
530
538
  className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
531
539
  children: [/* @__PURE__ */ J("div", { children: [
@@ -557,7 +565,7 @@ function te() {
557
565
  placeholder: D("subscriberbot.home.searchPlaceholder", "Search services, carts..."),
558
566
  value: x,
559
567
  onChange: (e) => C(e.target.value),
560
- className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2.5 pl-10 pr-3 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
568
+ className: "w-full rounded-lg border border-border-seam bg-bg-surface py-2.5 pl-10 pr-3 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
561
569
  })]
562
570
  })]
563
571
  })
@@ -588,7 +596,7 @@ function te() {
588
596
  children: I.map((e) => /* @__PURE__ */ J("button", {
589
597
  type: "button",
590
598
  onClick: () => v(e.path),
591
- className: t("flex items-start gap-3 rounded-lg border border-border-subtle bg-bg-surface p-4 text-left shadow-sm transition-all", "hover:border-accent-foreground/20 hover:shadow-md"),
599
+ className: t("flex items-start gap-3 rounded-lg border border-border-seam bg-bg-surface p-4 text-left shadow-sm transition-all", "hover:border-accent-foreground/20 hover:shadow-md"),
592
600
  children: [
593
601
  /* @__PURE__ */ q("div", {
594
602
  className: t("flex h-10 w-10 shrink-0 items-center justify-center rounded-lg", e.color),
@@ -627,13 +635,14 @@ function te() {
627
635
  ]
628
636
  })]
629
637
  }), R.length === 0 ? /* @__PURE__ */ q(a, {
638
+ illustration: "empty-search",
630
639
  icon: /* @__PURE__ */ q(P, { className: "h-10 w-10" }),
631
640
  title: D("subscriberbot.home.noCartsFound", "No carts found"),
632
641
  description: D("subscriberbot.home.noCartsDescription", "Try adjusting your search or browse all categories"),
633
642
  action: /* @__PURE__ */ q("button", {
634
643
  type: "button",
635
644
  onClick: () => C(""),
636
- className: "rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
645
+ className: "rounded-lg border border-border-seam px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
637
646
  children: D("subscriberbot.home.clearSearch", "Clear Search")
638
647
  })
639
648
  }) : /* @__PURE__ */ q("div", {
@@ -645,7 +654,7 @@ function te() {
645
654
  onKeyDown: (t) => {
646
655
  (t.key === "Enter" || t.key === " ") && (t.preventDefault(), v(`/customer/cart/${e.id}`));
647
656
  },
648
- className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm overflow-hidden transition-all hover:shadow-md hover:border-accent-foreground/20 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
657
+ className: "rounded-lg border border-border-seam bg-bg-surface shadow-sm overflow-hidden transition-all hover:shadow-md hover:border-accent-foreground/20 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
649
658
  children: [/* @__PURE__ */ J("div", {
650
659
  className: "relative h-40 bg-bg-sunken",
651
660
  children: [
@@ -662,7 +671,7 @@ function te() {
662
671
  e.isVerified && /* @__PURE__ */ q("div", {
663
672
  className: "absolute top-2 left-2",
664
673
  children: /* @__PURE__ */ J("span", {
665
- className: "inline-flex items-center gap-1 rounded-full bg-blue-500/90 px-2 py-0.5 text-xs font-medium text-white backdrop-blur-sm",
674
+ className: "inline-flex items-center gap-1 rounded-full bg-status-info-bg/90 px-2 py-0.5 text-xs font-medium text-text-inverse backdrop-blur-sm",
666
675
  children: [
667
676
  /* @__PURE__ */ q(_, { className: "h-3 w-3" }),
668
677
  " ",
@@ -673,7 +682,7 @@ function te() {
673
682
  /* @__PURE__ */ q("div", {
674
683
  className: "absolute bottom-2 right-2",
675
684
  children: /* @__PURE__ */ J("span", {
676
- className: "inline-flex items-center gap-1 rounded-full bg-black/60 px-2 py-0.5 text-xs text-white backdrop-blur-sm",
685
+ className: "inline-flex items-center gap-1 rounded-full bg-bg-canvas/60 px-2 py-0.5 text-xs text-text-inverse backdrop-blur-sm",
677
686
  children: [
678
687
  /* @__PURE__ */ q(S, { className: "h-3 w-3" }),
679
688
  " ",
@@ -698,9 +707,9 @@ function te() {
698
707
  children: e.category
699
708
  })]
700
709
  }), /* @__PURE__ */ J("div", {
701
- className: "flex items-center gap-1 rounded bg-green-600 px-1.5 py-0.5 ml-2 shrink-0",
702
- children: [/* @__PURE__ */ q(B, { className: "h-3 w-3 fill-white text-white" }), /* @__PURE__ */ q("span", {
703
- className: "text-xs font-bold text-white",
710
+ className: "flex items-center gap-1 rounded bg-status-success-text px-1.5 py-0.5 ml-2 shrink-0",
711
+ children: [/* @__PURE__ */ q(B, { className: "h-3 w-3 fill-text-inverse text-text-inverse" }), /* @__PURE__ */ q("span", {
712
+ className: "text-xs font-bold text-text-inverse",
704
713
  children: e.rating
705
714
  })]
706
715
  })]
@@ -768,7 +777,7 @@ function te() {
768
777
  ]
769
778
  })]
770
779
  }), /* @__PURE__ */ q("div", {
771
- className: "rounded-lg border border-border-subtle bg-bg-surface divide-y divide-border",
780
+ className: "rounded-lg border border-border-seam bg-bg-surface divide-y divide-border",
772
781
  children: V.map((e) => /* @__PURE__ */ J("div", {
773
782
  role: "button",
774
783
  tabIndex: 0,
@@ -817,8 +826,8 @@ function te() {
817
826
  children: D("subscriberbot.home.howItWorks", "How It Works")
818
827
  }), /* @__PURE__ */ q("div", {
819
828
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
820
- children: Q.map((e) => /* @__PURE__ */ J("div", {
821
- className: "relative rounded-lg border border-border-subtle bg-bg-surface p-5 text-center",
829
+ children: ee.map((e) => /* @__PURE__ */ J("div", {
830
+ className: "relative rounded-lg border border-border-seam bg-bg-surface p-5 text-center",
822
831
  children: [
823
832
  /* @__PURE__ */ q("div", {
824
833
  className: "absolute -top-3 left-1/2 -translate-x-1/2",
@@ -850,10 +859,10 @@ function te() {
850
859
  children: D("subscriberbot.home.browseByCategory", "Browse by Category")
851
860
  }), /* @__PURE__ */ q("div", {
852
861
  className: "grid grid-cols-3 gap-3 sm:grid-cols-4 lg:grid-cols-5",
853
- children: Z.map((e) => /* @__PURE__ */ J("button", {
862
+ children: $.map((e) => /* @__PURE__ */ J("button", {
854
863
  type: "button",
855
864
  onClick: () => v(`/customer/carts?category=${encodeURIComponent(e.label)}`),
856
- className: "flex flex-col items-center gap-2 rounded-lg border border-border-subtle bg-bg-surface p-4 text-center hover:shadow-sm hover:border-accent-foreground/20 transition-all",
865
+ className: "flex flex-col items-center gap-2 rounded-lg border border-border-seam bg-bg-surface p-4 text-center hover:shadow-sm hover:border-accent-foreground/20 transition-all",
857
866
  children: [/* @__PURE__ */ q("div", {
858
867
  className: t("flex h-12 w-12 items-center justify-center rounded-full", e.color),
859
868
  children: e.icon
@@ -871,8 +880,8 @@ function te() {
871
880
  children: D("subscriberbot.home.platformStats", "Platform Stats")
872
881
  }), /* @__PURE__ */ q("div", {
873
882
  className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
874
- children: ee.map((e) => /* @__PURE__ */ J("div", {
875
- className: "flex items-center gap-3 rounded-lg border border-border-subtle bg-bg-surface p-4",
883
+ children: ne.map((e) => /* @__PURE__ */ J("div", {
884
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface p-4",
876
885
  children: [/* @__PURE__ */ q("div", {
877
886
  className: "flex h-10 w-10 items-center justify-center rounded-full bg-action-primary-bg/10 text-primary shrink-0",
878
887
  children: e.icon
@@ -890,8 +899,8 @@ function te() {
890
899
  className: "text-lg font-semibold text-text-primary mb-4",
891
900
  children: D("subscriberbot.home.recentActivity", "Recent Activity")
892
901
  }), /* @__PURE__ */ q("div", {
893
- className: "rounded-lg border border-border-subtle bg-bg-surface divide-y divide-border",
894
- children: $.map((e) => /* @__PURE__ */ J("div", {
902
+ className: "rounded-lg border border-border-seam bg-bg-surface divide-y divide-border",
903
+ children: te.map((e) => /* @__PURE__ */ J("div", {
895
904
  className: "flex items-center gap-3 px-4 py-3",
896
905
  children: [
897
906
  /* @__PURE__ */ q("div", {
@@ -916,6 +925,6 @@ function te() {
916
925
  });
917
926
  }
918
927
  //#endregion
919
- export { te as HomePage };
928
+ export { re as HomePage };
920
929
 
921
930
  //# sourceMappingURL=HomePage.js.map