@burdenoff/microfe-labsofscience 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 (103) hide show
  1. package/dist/labsofscience/components/EmptyState.js +18 -11
  2. package/dist/labsofscience/components/EmptyState.js.map +1 -1
  3. package/dist/labsofscience/components/InvestmentCard.js +26 -24
  4. package/dist/labsofscience/components/InvestmentCard.js.map +1 -1
  5. package/dist/labsofscience/components/MetricsCard.js +19 -13
  6. package/dist/labsofscience/components/MetricsCard.js.map +1 -1
  7. package/dist/labsofscience/components/PageLayout.js +23 -15
  8. package/dist/labsofscience/components/PageLayout.js.map +1 -1
  9. package/dist/labsofscience/components/RatingDisplay.js +1 -1
  10. package/dist/labsofscience/components/RatingDisplay.js.map +1 -1
  11. package/dist/labsofscience/components/StatusBadge.js +34 -15
  12. package/dist/labsofscience/components/StatusBadge.js.map +1 -1
  13. package/dist/labsofscience/pages/HomePage.js +242 -223
  14. package/dist/labsofscience/pages/HomePage.js.map +1 -1
  15. package/dist/labsofscience/pages/admin/AdminAnalyticsPage.js +107 -101
  16. package/dist/labsofscience/pages/admin/AdminAnalyticsPage.js.map +1 -1
  17. package/dist/labsofscience/pages/admin/AdminDashboard.js +118 -85
  18. package/dist/labsofscience/pages/admin/AdminDashboard.js.map +1 -1
  19. package/dist/labsofscience/pages/admin/AdminFinancialPage.js +51 -45
  20. package/dist/labsofscience/pages/admin/AdminFinancialPage.js.map +1 -1
  21. package/dist/labsofscience/pages/admin/AdminOrdersPage.js +245 -240
  22. package/dist/labsofscience/pages/admin/AdminOrdersPage.js.map +1 -1
  23. package/dist/labsofscience/pages/admin/AdminProfilePage.js +131 -129
  24. package/dist/labsofscience/pages/admin/AdminProfilePage.js.map +1 -1
  25. package/dist/labsofscience/pages/admin/AdminSettingsPage.js +493 -491
  26. package/dist/labsofscience/pages/admin/AdminSettingsPage.js.map +1 -1
  27. package/dist/labsofscience/pages/admin/CartManagementPage.js +163 -158
  28. package/dist/labsofscience/pages/admin/CartManagementPage.js.map +1 -1
  29. package/dist/labsofscience/pages/admin/UserManagementPage.js +307 -302
  30. package/dist/labsofscience/pages/admin/UserManagementPage.js.map +1 -1
  31. package/dist/labsofscience/pages/cart-owner/AnalyticsDashboard.js +89 -84
  32. package/dist/labsofscience/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  33. package/dist/labsofscience/pages/cart-owner/BusinessSettingsPage.js +187 -182
  34. package/dist/labsofscience/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  35. package/dist/labsofscience/pages/cart-owner/CartOwnerDashboard.js +119 -88
  36. package/dist/labsofscience/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  37. package/dist/labsofscience/pages/cart-owner/CartOwnerProfilePage.js +149 -144
  38. package/dist/labsofscience/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  39. package/dist/labsofscience/pages/cart-owner/CartServiceConfigPage.js +151 -146
  40. package/dist/labsofscience/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  41. package/dist/labsofscience/pages/cart-owner/InventoryManagementPage.js +344 -346
  42. package/dist/labsofscience/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  43. package/dist/labsofscience/pages/cart-owner/OrderManagementPage.js +269 -271
  44. package/dist/labsofscience/pages/cart-owner/OrderManagementPage.js.map +1 -1
  45. package/dist/labsofscience/pages/cart-owner/StaffManagementPage.js +293 -287
  46. package/dist/labsofscience/pages/cart-owner/StaffManagementPage.js.map +1 -1
  47. package/dist/labsofscience/pages/common/HelpSupportPage.js +344 -345
  48. package/dist/labsofscience/pages/common/HelpSupportPage.js.map +1 -1
  49. package/dist/labsofscience/pages/common/NotificationCenterPage.js +94 -87
  50. package/dist/labsofscience/pages/common/NotificationCenterPage.js.map +1 -1
  51. package/dist/labsofscience/pages/common/SettingsPage.js +748 -739
  52. package/dist/labsofscience/pages/common/SettingsPage.js.map +1 -1
  53. package/dist/labsofscience/pages/customer/BookingDetailsPage.js +400 -356
  54. package/dist/labsofscience/pages/customer/BookingDetailsPage.js.map +1 -1
  55. package/dist/labsofscience/pages/customer/CartDetailPage.js +281 -248
  56. package/dist/labsofscience/pages/customer/CartDetailPage.js.map +1 -1
  57. package/dist/labsofscience/pages/customer/CartDiscoveryPage.js +178 -166
  58. package/dist/labsofscience/pages/customer/CartDiscoveryPage.js.map +1 -1
  59. package/dist/labsofscience/pages/customer/CheckoutPage.js +236 -238
  60. package/dist/labsofscience/pages/customer/CheckoutPage.js.map +1 -1
  61. package/dist/labsofscience/pages/customer/CustomerDashboard.js +425 -390
  62. package/dist/labsofscience/pages/customer/CustomerDashboard.js.map +1 -1
  63. package/dist/labsofscience/pages/customer/CustomerProfilePage.js +528 -491
  64. package/dist/labsofscience/pages/customer/CustomerProfilePage.js.map +1 -1
  65. package/dist/labsofscience/pages/customer/DirectServiceBookingPage.js +522 -512
  66. package/dist/labsofscience/pages/customer/DirectServiceBookingPage.js.map +1 -1
  67. package/dist/labsofscience/pages/customer/FavoritesPage.js +73 -66
  68. package/dist/labsofscience/pages/customer/FavoritesPage.js.map +1 -1
  69. package/dist/labsofscience/pages/customer/OrderHistoryPage.js +74 -67
  70. package/dist/labsofscience/pages/customer/OrderHistoryPage.js.map +1 -1
  71. package/dist/labsofscience/pages/customer/OrderTrackingPage.js +311 -274
  72. package/dist/labsofscience/pages/customer/OrderTrackingPage.js.map +1 -1
  73. package/dist/labsofscience/pages/customer/PaymentMethodsPage.js +100 -93
  74. package/dist/labsofscience/pages/customer/PaymentMethodsPage.js.map +1 -1
  75. package/dist/labsofscience/pages/customer/ReviewsPage.js +96 -89
  76. package/dist/labsofscience/pages/customer/ReviewsPage.js.map +1 -1
  77. package/dist/labsofscience/pages/customer/SavedAddressesPage.js +85 -78
  78. package/dist/labsofscience/pages/customer/SavedAddressesPage.js.map +1 -1
  79. package/dist/labsofscience/pages/investor/InvestmentDetailsPage.js +135 -103
  80. package/dist/labsofscience/pages/investor/InvestmentDetailsPage.js.map +1 -1
  81. package/dist/labsofscience/pages/investor/InvestmentOpportunitiesPage.js +267 -260
  82. package/dist/labsofscience/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  83. package/dist/labsofscience/pages/investor/InvestorAnalyticsPage.js +97 -91
  84. package/dist/labsofscience/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  85. package/dist/labsofscience/pages/investor/InvestorDashboard.js +346 -310
  86. package/dist/labsofscience/pages/investor/InvestorDashboard.js.map +1 -1
  87. package/dist/labsofscience/pages/investor/InvestorInvestmentsPage.js +118 -111
  88. package/dist/labsofscience/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  89. package/dist/labsofscience/pages/investor/InvestorPortfolioPage.js +75 -69
  90. package/dist/labsofscience/pages/investor/InvestorPortfolioPage.js.map +1 -1
  91. package/dist/labsofscience/pages/investor/InvestorProfilePage.js +434 -429
  92. package/dist/labsofscience/pages/investor/InvestorProfilePage.js.map +1 -1
  93. package/dist/labsofscience/pages/worker/TaskDetailsPage.js +364 -323
  94. package/dist/labsofscience/pages/worker/TaskDetailsPage.js.map +1 -1
  95. package/dist/labsofscience/pages/worker/WorkerDashboard.js +132 -101
  96. package/dist/labsofscience/pages/worker/WorkerDashboard.js.map +1 -1
  97. package/dist/labsofscience/pages/worker/WorkerOrdersPage.js +114 -108
  98. package/dist/labsofscience/pages/worker/WorkerOrdersPage.js.map +1 -1
  99. package/dist/labsofscience/pages/worker/WorkerProfilePage.js +124 -119
  100. package/dist/labsofscience/pages/worker/WorkerProfilePage.js.map +1 -1
  101. package/dist/labsofscience/pages/worker/WorkerSchedulePage.js +354 -344
  102. package/dist/labsofscience/pages/worker/WorkerSchedulePage.js.map +1 -1
  103. package/package.json +3 -3
@@ -5,12 +5,13 @@ import { MetricsCard as r } from "../../components/MetricsCard.js";
5
5
  import { useEffect as i, useState as a } from "react";
6
6
  import { Activity as o, AlertTriangle as s, ArrowRight as c, BarChart3 as l, CheckCircle2 as u, Clock as d, CreditCard as f, Database as p, FileText as m, IndianRupee as h, Loader2 as g, Server as _, Settings as v, ShieldCheck as y, ShoppingBag as b, Store as x, UserPlus as S, Users as C, Wifi as w } from "lucide-react";
7
7
  import { jsx as T, jsxs as E } from "react/jsx-runtime";
8
+ import { EmphasisPanel as D, NextSteps as O, PagePurpose as k } from "@burdenoff/fe-libs/ui";
8
9
  //#region src/labsofscience/pages/admin/AdminDashboard.tsx
9
- function D() {
10
- let { navigateTo: D, currentUser: O } = e(), k = O?.firstName ?? O?.name ?? "Admin", [A, j] = a(null), [M, N] = a([]), [P, F] = a(null), [I, L] = a(!0);
10
+ function A() {
11
+ let { navigateTo: A, currentUser: j } = e(), M = j?.firstName ?? j?.name ?? "Admin", [N, P] = a(null), [F, I] = a([]), [L, R] = a(null), [z, B] = a(!0);
11
12
  i(() => {
12
13
  let e = setTimeout(() => {
13
- j({
14
+ P({
14
15
  totalUsers: 12847,
15
16
  totalCarts: 2934,
16
17
  totalOrders: 45621,
@@ -19,13 +20,13 @@ function D() {
19
20
  pendingApprovals: 47,
20
21
  totalRevenue: 245e4,
21
22
  platformCommission: 122500
22
- }), F({
23
+ }), R({
23
24
  customers: 8934,
24
25
  cartOwners: 2456,
25
26
  workers: 1245,
26
27
  investors: 212,
27
28
  growth: 15.7
28
- }), N([
29
+ }), I([
29
30
  {
30
31
  id: "ACT-001",
31
32
  type: "user_registration",
@@ -76,28 +77,28 @@ function D() {
76
77
  status: "completed",
77
78
  user: "Fatima Ali"
78
79
  }
79
- ]), L(!1);
80
+ ]), B(!1);
80
81
  }, 1e3);
81
82
  return () => clearTimeout(e);
82
83
  }, []);
83
- let R = (e) => /* @__PURE__ */ T({
84
+ let V = (e) => /* @__PURE__ */ T({
84
85
  user_registration: S,
85
86
  cart_approval: x,
86
87
  investment: h,
87
88
  order: b,
88
89
  dispute: s
89
- }[e] ?? o, { className: "h-4 w-4" }), z = (e) => ({
90
- user_registration: "text-blue-600 dark:text-blue-400",
91
- cart_approval: "text-purple-600 dark:text-purple-400",
92
- investment: "text-emerald-600 dark:text-emerald-400",
93
- order: "text-green-600 dark:text-green-400",
94
- dispute: "text-yellow-600 dark:text-yellow-400"
95
- })[e] ?? "text-text-secondary", B = (e) => ({
96
- completed: "bg-green-500/20 text-green-600 dark:text-green-400",
97
- pending: "bg-yellow-500/20 text-yellow-600 dark:text-yellow-400",
98
- failed: "bg-red-500/20 text-red-600 dark:text-red-400"
90
+ }[e] ?? o, { className: "h-4 w-4" }), H = (e) => ({
91
+ user_registration: "text-status-info-text",
92
+ cart_approval: "text-accent-purple",
93
+ investment: "text-status-success-text",
94
+ order: "text-status-success-text",
95
+ dispute: "text-status-warning-text"
96
+ })[e] ?? "text-text-secondary", U = (e) => ({
97
+ completed: "bg-status-success-bg-subtle text-status-success-text",
98
+ pending: "bg-status-warning-bg-subtle text-status-warning-text",
99
+ failed: "bg-status-error-bg-subtle text-status-error-text"
99
100
  })[e] ?? "bg-secondary text-secondary-foreground";
100
- return I ? /* @__PURE__ */ T(n, {
101
+ return z ? /* @__PURE__ */ T(n, {
101
102
  title: "Admin Dashboard",
102
103
  description: "Loading...",
103
104
  children: /* @__PURE__ */ E("div", {
@@ -109,15 +110,46 @@ function D() {
109
110
  })
110
111
  }) : /* @__PURE__ */ E(n, {
111
112
  title: "Admin Dashboard",
112
- description: `Welcome, ${k}! Monitor and manage the platform.`,
113
- actions: A?.pendingApprovals && A.pendingApprovals > 0 ? /* @__PURE__ */ E("div", {
114
- className: "flex items-center gap-2 rounded-lg border border-red-500/30 bg-red-500/10 px-3 py-2",
115
- children: [/* @__PURE__ */ T(s, { className: "h-4 w-4 text-red-600 dark:text-red-400" }), /* @__PURE__ */ E("span", {
116
- className: "text-sm font-medium text-red-600 dark:text-red-400",
117
- children: [A.pendingApprovals, " pending approvals"]
113
+ description: `Welcome, ${M}! Monitor and manage the platform.`,
114
+ actions: N?.pendingApprovals && N.pendingApprovals > 0 ? /* @__PURE__ */ E("div", {
115
+ className: "flex items-center gap-2 rounded-lg border border-status-error-border bg-status-error-bg-subtle px-3 py-2",
116
+ children: [/* @__PURE__ */ T(s, { className: "h-4 w-4 text-status-error-text" }), /* @__PURE__ */ E("span", {
117
+ className: "text-sm font-medium text-status-error-text",
118
+ children: [N.pendingApprovals, " pending approvals"]
118
119
  })]
119
120
  }) : void 0,
120
121
  children: [
122
+ /* @__PURE__ */ T(k, {
123
+ icon: /* @__PURE__ */ T(y, { className: "h-4 w-4" }),
124
+ className: "mb-6",
125
+ children: "Your command center for the whole platform. Watch live user, cart, order and revenue health at a glance, clear the approval queue, and jump straight into the management area that needs you most."
126
+ }),
127
+ /* @__PURE__ */ T(O, {
128
+ storageKey: "labsofscience-admin-dashboard",
129
+ steps: [
130
+ {
131
+ id: "approvals",
132
+ label: "Review pending cart approvals",
133
+ description: "Carts waiting to go live need your sign-off.",
134
+ icon: /* @__PURE__ */ T(s, { className: "h-4 w-4" }),
135
+ onClick: () => A("/admin/carts")
136
+ },
137
+ {
138
+ id: "users",
139
+ label: "Manage users & roles",
140
+ description: "Onboard, verify or suspend platform accounts.",
141
+ icon: /* @__PURE__ */ T(C, { className: "h-4 w-4" }),
142
+ onClick: () => A("/admin/users")
143
+ },
144
+ {
145
+ id: "financial",
146
+ label: "Check financial analytics",
147
+ description: "Track revenue, commission and payouts.",
148
+ icon: /* @__PURE__ */ T(h, { className: "h-4 w-4" }),
149
+ onClick: () => A("/admin/financial")
150
+ }
151
+ ]
152
+ }),
121
153
  /* @__PURE__ */ E("div", {
122
154
  className: "mb-8",
123
155
  children: [/* @__PURE__ */ T("h2", {
@@ -128,61 +160,61 @@ function D() {
128
160
  children: [
129
161
  /* @__PURE__ */ E("button", {
130
162
  type: "button",
131
- onClick: () => D("/admin/carts"),
132
- className: "flex items-center gap-3 rounded-lg bg-red-600 hover:bg-red-700 text-white p-3 text-sm font-medium transition-colors",
163
+ onClick: () => A("/admin/carts"),
164
+ className: "flex items-center gap-3 rounded-lg bg-status-error-bg hover:bg-status-error-bg text-white p-3 text-sm font-medium transition-colors",
133
165
  children: [
134
166
  /* @__PURE__ */ T(s, { className: "h-5 w-5" }),
135
167
  "Approve Carts (",
136
- A?.pendingApprovals,
168
+ N?.pendingApprovals,
137
169
  ")"
138
170
  ]
139
171
  }),
140
172
  /* @__PURE__ */ E("button", {
141
173
  type: "button",
142
- onClick: () => D("/admin/carts"),
143
- className: "flex items-center gap-3 rounded-lg border border-border-subtle bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
174
+ onClick: () => A("/admin/carts"),
175
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
144
176
  children: [/* @__PURE__ */ T(x, { className: "h-5 w-5 text-text-secondary" }), "Manage Carts"]
145
177
  }),
146
178
  /* @__PURE__ */ E("button", {
147
179
  type: "button",
148
- onClick: () => D("/admin/users"),
149
- className: "flex items-center gap-3 rounded-lg border border-border-subtle bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
180
+ onClick: () => A("/admin/users"),
181
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
150
182
  children: [/* @__PURE__ */ T(C, { className: "h-5 w-5 text-text-secondary" }), "User Management"]
151
183
  }),
152
184
  /* @__PURE__ */ E("button", {
153
185
  type: "button",
154
- onClick: () => D("/admin/orders"),
155
- className: "flex items-center gap-3 rounded-lg border border-border-subtle bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
186
+ onClick: () => A("/admin/orders"),
187
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
156
188
  children: [/* @__PURE__ */ T(b, { className: "h-5 w-5 text-text-secondary" }), "Order Management"]
157
189
  }),
158
190
  /* @__PURE__ */ E("button", {
159
191
  type: "button",
160
- onClick: () => D("/admin/financial"),
161
- className: "flex items-center gap-3 rounded-lg border border-border-subtle bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
192
+ onClick: () => A("/admin/financial"),
193
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
162
194
  children: [/* @__PURE__ */ T(h, { className: "h-5 w-5 text-text-secondary" }), "Financial Analytics"]
163
195
  }),
164
196
  /* @__PURE__ */ E("button", {
165
197
  type: "button",
166
- onClick: () => D("/admin/analytics"),
167
- className: "flex items-center gap-3 rounded-lg border border-border-subtle bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
198
+ onClick: () => A("/admin/analytics"),
199
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
168
200
  children: [/* @__PURE__ */ T(l, { className: "h-5 w-5 text-text-secondary" }), "Analytics"]
169
201
  }),
170
202
  /* @__PURE__ */ E("button", {
171
203
  type: "button",
172
- onClick: () => D("/admin/settings"),
173
- className: "flex items-center gap-3 rounded-lg border border-border-subtle bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
204
+ onClick: () => A("/admin/settings"),
205
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
174
206
  children: [/* @__PURE__ */ T(v, { className: "h-5 w-5 text-text-secondary" }), "Settings"]
175
207
  }),
176
208
  /* @__PURE__ */ E("button", {
177
209
  type: "button",
178
- onClick: () => D("/admin/analytics"),
179
- className: "flex items-center gap-3 rounded-lg border border-border-subtle bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
210
+ onClick: () => A("/admin/analytics"),
211
+ className: "flex items-center gap-3 rounded-lg border border-border-seam bg-bg-surface hover:bg-accent p-3 text-sm font-medium text-text-primary transition-colors",
180
212
  children: [/* @__PURE__ */ T(m, { className: "h-5 w-5 text-text-secondary" }), "Reports"]
181
213
  })
182
214
  ]
183
215
  })]
184
216
  }),
185
- A && /* @__PURE__ */ E("div", {
217
+ N && /* @__PURE__ */ E(D, {
186
218
  className: "mb-8",
187
219
  children: [
188
220
  /* @__PURE__ */ T("h2", {
@@ -193,29 +225,30 @@ function D() {
193
225
  className: "grid grid-cols-2 lg:grid-cols-4 gap-4",
194
226
  children: [
195
227
  /* @__PURE__ */ T(r, {
228
+ featured: !0,
196
229
  icon: /* @__PURE__ */ T(C, { className: "h-5 w-5" }),
197
- value: A.totalUsers.toLocaleString("en-IN"),
230
+ value: N.totalUsers.toLocaleString("en-IN"),
198
231
  label: "Total Users",
199
232
  trend: "up",
200
233
  trendValue: "+15.7%"
201
234
  }),
202
235
  /* @__PURE__ */ T(r, {
203
236
  icon: /* @__PURE__ */ T(x, { className: "h-5 w-5" }),
204
- value: A.totalCarts.toLocaleString("en-IN"),
237
+ value: N.totalCarts.toLocaleString("en-IN"),
205
238
  label: "Active Carts",
206
239
  trend: "up",
207
240
  trendValue: "+8 this week"
208
241
  }),
209
242
  /* @__PURE__ */ T(r, {
210
243
  icon: /* @__PURE__ */ T(b, { className: "h-5 w-5" }),
211
- value: A.totalOrders.toLocaleString("en-IN"),
244
+ value: N.totalOrders.toLocaleString("en-IN"),
212
245
  label: "Total Orders",
213
246
  trend: "up",
214
247
  trendValue: "+12.3%"
215
248
  }),
216
249
  /* @__PURE__ */ T(r, {
217
250
  icon: /* @__PURE__ */ T(h, { className: "h-5 w-5" }),
218
- value: `₹${(A.totalRevenue / 1e5).toFixed(1)}L`,
251
+ value: `₹${(N.totalRevenue / 1e5).toFixed(1)}L`,
219
252
  label: "Total Revenue",
220
253
  trend: "up",
221
254
  trendValue: "+8.5%"
@@ -226,45 +259,45 @@ function D() {
226
259
  className: "grid grid-cols-2 lg:grid-cols-4 gap-4 mt-4",
227
260
  children: [
228
261
  /* @__PURE__ */ E("div", {
229
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
262
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4",
230
263
  children: [/* @__PURE__ */ T("p", {
231
264
  className: "text-xs text-text-secondary",
232
265
  children: "Active Users (24h)"
233
266
  }), /* @__PURE__ */ T("p", {
234
- className: "text-xl font-bold text-green-600 dark:text-green-400",
235
- children: A.activeUsers.toLocaleString("en-IN")
267
+ className: "text-xl font-bold text-status-success-text",
268
+ children: N.activeUsers.toLocaleString("en-IN")
236
269
  })]
237
270
  }),
238
271
  /* @__PURE__ */ E("div", {
239
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
272
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4",
240
273
  children: [/* @__PURE__ */ T("p", {
241
274
  className: "text-xs text-text-secondary",
242
275
  children: "Pending Approvals"
243
276
  }), /* @__PURE__ */ T("p", {
244
- className: "text-xl font-bold text-red-600 dark:text-red-400",
245
- children: A.pendingApprovals
277
+ className: "text-xl font-bold text-status-error-text",
278
+ children: N.pendingApprovals
246
279
  })]
247
280
  }),
248
281
  /* @__PURE__ */ E("div", {
249
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
282
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4",
250
283
  children: [/* @__PURE__ */ T("p", {
251
284
  className: "text-xs text-text-secondary",
252
285
  children: "Total Investments"
253
286
  }), /* @__PURE__ */ T("p", {
254
- className: "text-xl font-bold text-blue-600 dark:text-blue-400",
255
- children: A.totalInvestments.toLocaleString("en-IN")
287
+ className: "text-xl font-bold text-status-info-text",
288
+ children: N.totalInvestments.toLocaleString("en-IN")
256
289
  })]
257
290
  }),
258
291
  /* @__PURE__ */ E("div", {
259
- className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
292
+ className: "rounded-lg border border-border-seam bg-bg-surface p-4",
260
293
  children: [/* @__PURE__ */ T("p", {
261
294
  className: "text-xs text-text-secondary",
262
295
  children: "Platform Commission"
263
296
  }), /* @__PURE__ */ E("p", {
264
- className: "text-xl font-bold text-purple-600 dark:text-purple-400",
297
+ className: "text-xl font-bold text-accent-purple",
265
298
  children: [
266
299
  "₹",
267
- (A.platformCommission / 1e3).toFixed(0),
300
+ (N.platformCommission / 1e3).toFixed(0),
268
301
  "K"
269
302
  ]
270
303
  })]
@@ -273,13 +306,13 @@ function D() {
273
306
  })
274
307
  ]
275
308
  }),
276
- P && /* @__PURE__ */ E("div", {
309
+ L && /* @__PURE__ */ E("div", {
277
310
  className: "mb-8",
278
311
  children: [/* @__PURE__ */ T("h2", {
279
312
  className: "text-lg font-semibold text-text-primary mb-4",
280
313
  children: "User Distribution"
281
314
  }), /* @__PURE__ */ E("div", {
282
- className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
315
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6",
283
316
  children: [/* @__PURE__ */ E("div", {
284
317
  className: "grid grid-cols-2 lg:grid-cols-4 gap-6",
285
318
  children: [
@@ -287,8 +320,8 @@ function D() {
287
320
  className: "text-center",
288
321
  children: [
289
322
  /* @__PURE__ */ T("div", {
290
- className: "text-2xl sm:text-3xl font-bold text-blue-600 dark:text-blue-400",
291
- children: P.customers.toLocaleString("en-IN")
323
+ className: "text-2xl sm:text-3xl font-bold text-status-info-text",
324
+ children: L.customers.toLocaleString("en-IN")
292
325
  }),
293
326
  /* @__PURE__ */ T("div", {
294
327
  className: "text-sm text-text-secondary",
@@ -304,8 +337,8 @@ function D() {
304
337
  className: "text-center",
305
338
  children: [
306
339
  /* @__PURE__ */ T("div", {
307
- className: "text-2xl sm:text-3xl font-bold text-green-600 dark:text-green-400",
308
- children: P.cartOwners.toLocaleString("en-IN")
340
+ className: "text-2xl sm:text-3xl font-bold text-status-success-text",
341
+ children: L.cartOwners.toLocaleString("en-IN")
309
342
  }),
310
343
  /* @__PURE__ */ T("div", {
311
344
  className: "text-sm text-text-secondary",
@@ -321,8 +354,8 @@ function D() {
321
354
  className: "text-center",
322
355
  children: [
323
356
  /* @__PURE__ */ T("div", {
324
- className: "text-2xl sm:text-3xl font-bold text-yellow-600 dark:text-yellow-400",
325
- children: P.workers.toLocaleString("en-IN")
357
+ className: "text-2xl sm:text-3xl font-bold text-status-warning-text",
358
+ children: L.workers.toLocaleString("en-IN")
326
359
  }),
327
360
  /* @__PURE__ */ T("div", {
328
361
  className: "text-sm text-text-secondary",
@@ -338,8 +371,8 @@ function D() {
338
371
  className: "text-center",
339
372
  children: [
340
373
  /* @__PURE__ */ T("div", {
341
- className: "text-2xl sm:text-3xl font-bold text-purple-600 dark:text-purple-400",
342
- children: P.investors.toLocaleString("en-IN")
374
+ className: "text-2xl sm:text-3xl font-bold text-accent-purple",
375
+ children: L.investors.toLocaleString("en-IN")
343
376
  }),
344
377
  /* @__PURE__ */ T("div", {
345
378
  className: "text-sm text-text-secondary",
@@ -353,17 +386,17 @@ function D() {
353
386
  })
354
387
  ]
355
388
  }), /* @__PURE__ */ T("div", {
356
- className: "mt-4 pt-4 border-t border-border-subtle",
389
+ className: "mt-4 pt-4 border-t border-border-seam",
357
390
  children: /* @__PURE__ */ E("div", {
358
391
  className: "flex justify-between items-center",
359
392
  children: [/* @__PURE__ */ T("span", {
360
393
  className: "text-sm text-text-secondary",
361
394
  children: "User Growth (This Month)"
362
395
  }), /* @__PURE__ */ E("span", {
363
- className: "text-sm font-medium text-green-600 dark:text-green-400",
396
+ className: "text-sm font-medium text-status-success-text",
364
397
  children: [
365
398
  "+",
366
- P.growth,
399
+ L.growth,
367
400
  "%"
368
401
  ]
369
402
  })]
@@ -380,17 +413,17 @@ function D() {
380
413
  children: "Recent Platform Activity"
381
414
  }), /* @__PURE__ */ E("button", {
382
415
  type: "button",
383
- onClick: () => D("/admin/analytics"),
416
+ onClick: () => A("/admin/analytics"),
384
417
  className: "flex items-center gap-1 text-sm font-medium text-text-secondary hover:text-text-primary transition-colors",
385
418
  children: ["View all activities", /* @__PURE__ */ T(c, { className: "h-4 w-4" })]
386
419
  })]
387
420
  }), /* @__PURE__ */ T("div", {
388
- className: "rounded-lg border border-border-subtle bg-bg-surface divide-y divide-border",
389
- children: M.map((e) => /* @__PURE__ */ E("div", {
421
+ className: "rounded-lg border border-border-seam bg-bg-surface divide-y divide-border",
422
+ children: F.map((e) => /* @__PURE__ */ E("div", {
390
423
  className: "flex items-start gap-3 px-4 py-3",
391
424
  children: [/* @__PURE__ */ T("div", {
392
- className: t("flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-bg-sunken mt-0.5", z(e.type)),
393
- children: R(e.type)
425
+ className: t("flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-bg-sunken mt-0.5", H(e.type)),
426
+ children: V(e.type)
394
427
  }), /* @__PURE__ */ E("div", {
395
428
  className: "flex-1 min-w-0",
396
429
  children: [/* @__PURE__ */ E("div", {
@@ -399,7 +432,7 @@ function D() {
399
432
  className: "text-sm font-medium text-text-primary",
400
433
  children: e.description
401
434
  }), /* @__PURE__ */ T("span", {
402
- className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium capitalize w-fit", B(e.status)),
435
+ className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium capitalize w-fit", U(e.status)),
403
436
  children: e.status
404
437
  })]
405
438
  }), /* @__PURE__ */ E("div", {
@@ -427,7 +460,7 @@ function D() {
427
460
  /* @__PURE__ */ E("div", {
428
461
  className: "grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8",
429
462
  children: [/* @__PURE__ */ E("div", {
430
- className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
463
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6",
431
464
  children: [/* @__PURE__ */ E("div", {
432
465
  className: "flex items-center gap-2 mb-4",
433
466
  children: [/* @__PURE__ */ T(y, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ T("h3", {
@@ -446,7 +479,7 @@ function D() {
446
479
  children: "Server Status"
447
480
  })]
448
481
  }), /* @__PURE__ */ E("span", {
449
- className: "inline-flex items-center gap-1.5 rounded-full bg-green-500/20 px-3 py-1 text-xs font-medium text-green-600 dark:text-green-400",
482
+ className: "inline-flex items-center gap-1.5 rounded-full bg-status-success-bg-subtle px-3 py-1 text-xs font-medium text-status-success-text",
450
483
  children: [/* @__PURE__ */ T(u, { className: "h-3 w-3" }), "Healthy"]
451
484
  })]
452
485
  }),
@@ -459,7 +492,7 @@ function D() {
459
492
  children: "Database Performance"
460
493
  })]
461
494
  }), /* @__PURE__ */ E("span", {
462
- className: "inline-flex items-center gap-1.5 rounded-full bg-green-500/20 px-3 py-1 text-xs font-medium text-green-600 dark:text-green-400",
495
+ className: "inline-flex items-center gap-1.5 rounded-full bg-status-success-bg-subtle px-3 py-1 text-xs font-medium text-status-success-text",
463
496
  children: [/* @__PURE__ */ T(u, { className: "h-3 w-3" }), "Optimal"]
464
497
  })]
465
498
  }),
@@ -472,7 +505,7 @@ function D() {
472
505
  children: "Payment Gateway"
473
506
  })]
474
507
  }), /* @__PURE__ */ E("span", {
475
- className: "inline-flex items-center gap-1.5 rounded-full bg-green-500/20 px-3 py-1 text-xs font-medium text-green-600 dark:text-green-400",
508
+ className: "inline-flex items-center gap-1.5 rounded-full bg-status-success-bg-subtle px-3 py-1 text-xs font-medium text-status-success-text",
476
509
  children: [/* @__PURE__ */ T(u, { className: "h-3 w-3" }), "Online"]
477
510
  })]
478
511
  }),
@@ -505,7 +538,7 @@ function D() {
505
538
  ]
506
539
  })]
507
540
  }), /* @__PURE__ */ E("div", {
508
- className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
541
+ className: "rounded-lg border border-border-seam bg-bg-surface p-6",
509
542
  children: [/* @__PURE__ */ E("div", {
510
543
  className: "flex items-center gap-2 mb-4",
511
544
  children: [/* @__PURE__ */ T(h, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ T("h3", {
@@ -612,8 +645,8 @@ function D() {
612
645
  let n = e.icon;
613
646
  return /* @__PURE__ */ E("button", {
614
647
  type: "button",
615
- onClick: () => D(e.path),
616
- className: t("flex items-center gap-4 rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6 text-left shadow-sm transition-all", "hover:bg-accent hover:shadow-md"),
648
+ onClick: () => A(e.path),
649
+ className: t("flex items-center gap-4 rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 text-left shadow-sm transition-all", "hover:bg-accent hover:shadow-md"),
617
650
  children: [/* @__PURE__ */ T("div", {
618
651
  className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-bg-sunken text-text-secondary",
619
652
  children: /* @__PURE__ */ T(n, { className: "h-5 w-5" })
@@ -634,6 +667,6 @@ function D() {
634
667
  });
635
668
  }
636
669
  //#endregion
637
- export { D as AdminDashboard };
670
+ export { A as AdminDashboard };
638
671
 
639
672
  //# sourceMappingURL=AdminDashboard.js.map