@burdenoff/microfe-adaptercloud 2026.614.1 → 2026.624.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.
- package/dist/adaptercloud/components/EmptyState.js +3 -3
- package/dist/adaptercloud/components/EmptyState.js.map +1 -1
- package/dist/adaptercloud/components/InvestmentCard.js +9 -9
- package/dist/adaptercloud/components/InvestmentCard.js.map +1 -1
- package/dist/adaptercloud/components/MetricsCard.js +5 -5
- package/dist/adaptercloud/components/MetricsCard.js.map +1 -1
- package/dist/adaptercloud/components/PageLayout.js +3 -3
- package/dist/adaptercloud/components/PageLayout.js.map +1 -1
- package/dist/adaptercloud/components/RatingDisplay.js +3 -3
- package/dist/adaptercloud/components/RatingDisplay.js.map +1 -1
- package/dist/adaptercloud/components/StatusBadge.js +2 -2
- package/dist/adaptercloud/components/StatusBadge.js.map +1 -1
- package/dist/adaptercloud/pages/HomePage.js +54 -54
- package/dist/adaptercloud/pages/HomePage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +60 -60
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminDashboard.js +77 -77
- package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +43 -43
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +85 -85
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminProfilePage.js +34 -34
- package/dist/adaptercloud/pages/admin/AdminProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminSettingsPage.js +40 -40
- package/dist/adaptercloud/pages/admin/AdminSettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/CartManagementPage.js +86 -86
- package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/UserManagementPage.js +80 -80
- package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +100 -100
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +29 -29
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +81 -81
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +100 -100
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +67 -67
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +94 -94
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +57 -57
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +75 -75
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/HelpSupportPage.js +102 -102
- package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js +35 -35
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/SettingsPage.js +109 -109
- package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +60 -60
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDetailPage.js +71 -71
- package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +54 -54
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CheckoutPage.js +75 -75
- package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js +69 -69
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +72 -72
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +75 -75
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/FavoritesPage.js +30 -30
- package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +41 -41
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +53 -53
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +51 -51
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/ReviewsPage.js +33 -33
- package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +33 -33
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +108 -108
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +76 -76
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +69 -69
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js +53 -53
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +32 -32
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +55 -55
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +138 -138
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +65 -65
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js +74 -74
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +49 -49
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +92 -92
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +55 -55
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js.map +1 -1
- package/dist/adaptercloud/utils/cn.js +2 -2
- package/dist/node_modules/{.bun/clsx@2.1.1/node_modules/clsx → clsx}/dist/clsx.js +1 -1
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/{.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge → tailwind-merge}/dist/bundle-mjs.js +212 -170
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/package.json +1 -1
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
|
@@ -92,7 +92,7 @@ function D() {
|
|
|
92
92
|
investment: "text-emerald-600 dark:text-emerald-400",
|
|
93
93
|
order: "text-green-600 dark:text-green-400",
|
|
94
94
|
dispute: "text-yellow-600 dark:text-yellow-400"
|
|
95
|
-
})[e] ?? "text-
|
|
95
|
+
})[e] ?? "text-text-secondary", B = (e) => ({
|
|
96
96
|
completed: "bg-green-500/20 text-green-600 dark:text-green-400",
|
|
97
97
|
pending: "bg-yellow-500/20 text-yellow-600 dark:text-yellow-400",
|
|
98
98
|
failed: "bg-red-500/20 text-red-600 dark:text-red-400"
|
|
@@ -102,8 +102,8 @@ function D() {
|
|
|
102
102
|
description: "Loading...",
|
|
103
103
|
children: /* @__PURE__ */ E("div", {
|
|
104
104
|
className: "flex flex-col items-center justify-center py-20",
|
|
105
|
-
children: [/* @__PURE__ */ T(g, { className: "h-10 w-10 animate-spin text-
|
|
106
|
-
className: "text-
|
|
105
|
+
children: [/* @__PURE__ */ T(g, { className: "h-10 w-10 animate-spin text-text-secondary mb-4" }), /* @__PURE__ */ T("p", {
|
|
106
|
+
className: "text-text-secondary",
|
|
107
107
|
children: "Loading admin dashboard..."
|
|
108
108
|
})]
|
|
109
109
|
})
|
|
@@ -121,7 +121,7 @@ function D() {
|
|
|
121
121
|
/* @__PURE__ */ E("div", {
|
|
122
122
|
className: "mb-8",
|
|
123
123
|
children: [/* @__PURE__ */ T("h2", {
|
|
124
|
-
className: "text-lg font-semibold text-
|
|
124
|
+
className: "text-lg font-semibold text-text-primary mb-4",
|
|
125
125
|
children: "Quick Actions"
|
|
126
126
|
}), /* @__PURE__ */ E("div", {
|
|
127
127
|
className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3",
|
|
@@ -140,44 +140,44 @@ function D() {
|
|
|
140
140
|
/* @__PURE__ */ E("button", {
|
|
141
141
|
type: "button",
|
|
142
142
|
onClick: () => D("/admin/carts"),
|
|
143
|
-
className: "flex items-center gap-3 rounded-lg border border-border bg-
|
|
144
|
-
children: [/* @__PURE__ */ T(x, { className: "h-5 w-5 text-
|
|
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",
|
|
144
|
+
children: [/* @__PURE__ */ T(x, { className: "h-5 w-5 text-text-secondary" }), "Manage Carts"]
|
|
145
145
|
}),
|
|
146
146
|
/* @__PURE__ */ E("button", {
|
|
147
147
|
type: "button",
|
|
148
148
|
onClick: () => D("/admin/users"),
|
|
149
|
-
className: "flex items-center gap-3 rounded-lg border border-border bg-
|
|
150
|
-
children: [/* @__PURE__ */ T(C, { className: "h-5 w-5 text-
|
|
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",
|
|
150
|
+
children: [/* @__PURE__ */ T(C, { className: "h-5 w-5 text-text-secondary" }), "User Management"]
|
|
151
151
|
}),
|
|
152
152
|
/* @__PURE__ */ E("button", {
|
|
153
153
|
type: "button",
|
|
154
154
|
onClick: () => D("/admin/orders"),
|
|
155
|
-
className: "flex items-center gap-3 rounded-lg border border-border bg-
|
|
156
|
-
children: [/* @__PURE__ */ T(b, { className: "h-5 w-5 text-
|
|
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",
|
|
156
|
+
children: [/* @__PURE__ */ T(b, { className: "h-5 w-5 text-text-secondary" }), "Order Management"]
|
|
157
157
|
}),
|
|
158
158
|
/* @__PURE__ */ E("button", {
|
|
159
159
|
type: "button",
|
|
160
160
|
onClick: () => D("/admin/financial"),
|
|
161
|
-
className: "flex items-center gap-3 rounded-lg border border-border bg-
|
|
162
|
-
children: [/* @__PURE__ */ T(h, { className: "h-5 w-5 text-
|
|
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",
|
|
162
|
+
children: [/* @__PURE__ */ T(h, { className: "h-5 w-5 text-text-secondary" }), "Financial Analytics"]
|
|
163
163
|
}),
|
|
164
164
|
/* @__PURE__ */ E("button", {
|
|
165
165
|
type: "button",
|
|
166
166
|
onClick: () => D("/admin/analytics"),
|
|
167
|
-
className: "flex items-center gap-3 rounded-lg border border-border bg-
|
|
168
|
-
children: [/* @__PURE__ */ T(l, { className: "h-5 w-5 text-
|
|
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",
|
|
168
|
+
children: [/* @__PURE__ */ T(l, { className: "h-5 w-5 text-text-secondary" }), "Analytics"]
|
|
169
169
|
}),
|
|
170
170
|
/* @__PURE__ */ E("button", {
|
|
171
171
|
type: "button",
|
|
172
172
|
onClick: () => D("/admin/settings"),
|
|
173
|
-
className: "flex items-center gap-3 rounded-lg border border-border bg-
|
|
174
|
-
children: [/* @__PURE__ */ T(v, { className: "h-5 w-5 text-
|
|
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",
|
|
174
|
+
children: [/* @__PURE__ */ T(v, { className: "h-5 w-5 text-text-secondary" }), "Settings"]
|
|
175
175
|
}),
|
|
176
176
|
/* @__PURE__ */ E("button", {
|
|
177
177
|
type: "button",
|
|
178
178
|
onClick: () => D("/admin/analytics"),
|
|
179
|
-
className: "flex items-center gap-3 rounded-lg border border-border bg-
|
|
180
|
-
children: [/* @__PURE__ */ T(m, { className: "h-5 w-5 text-
|
|
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",
|
|
180
|
+
children: [/* @__PURE__ */ T(m, { className: "h-5 w-5 text-text-secondary" }), "Reports"]
|
|
181
181
|
})
|
|
182
182
|
]
|
|
183
183
|
})]
|
|
@@ -186,7 +186,7 @@ function D() {
|
|
|
186
186
|
className: "mb-8",
|
|
187
187
|
children: [
|
|
188
188
|
/* @__PURE__ */ T("h2", {
|
|
189
|
-
className: "text-lg font-semibold text-
|
|
189
|
+
className: "text-lg font-semibold text-text-primary mb-4",
|
|
190
190
|
children: "Platform Overview"
|
|
191
191
|
}),
|
|
192
192
|
/* @__PURE__ */ E("div", {
|
|
@@ -226,9 +226,9 @@ function D() {
|
|
|
226
226
|
className: "grid grid-cols-2 lg:grid-cols-4 gap-4 mt-4",
|
|
227
227
|
children: [
|
|
228
228
|
/* @__PURE__ */ E("div", {
|
|
229
|
-
className: "rounded-lg border border-border bg-
|
|
229
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
230
230
|
children: [/* @__PURE__ */ T("p", {
|
|
231
|
-
className: "text-xs text-
|
|
231
|
+
className: "text-xs text-text-secondary",
|
|
232
232
|
children: "Active Users (24h)"
|
|
233
233
|
}), /* @__PURE__ */ T("p", {
|
|
234
234
|
className: "text-xl font-bold text-green-600 dark:text-green-400",
|
|
@@ -236,9 +236,9 @@ function D() {
|
|
|
236
236
|
})]
|
|
237
237
|
}),
|
|
238
238
|
/* @__PURE__ */ E("div", {
|
|
239
|
-
className: "rounded-lg border border-border bg-
|
|
239
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
240
240
|
children: [/* @__PURE__ */ T("p", {
|
|
241
|
-
className: "text-xs text-
|
|
241
|
+
className: "text-xs text-text-secondary",
|
|
242
242
|
children: "Pending Approvals"
|
|
243
243
|
}), /* @__PURE__ */ T("p", {
|
|
244
244
|
className: "text-xl font-bold text-red-600 dark:text-red-400",
|
|
@@ -246,9 +246,9 @@ function D() {
|
|
|
246
246
|
})]
|
|
247
247
|
}),
|
|
248
248
|
/* @__PURE__ */ E("div", {
|
|
249
|
-
className: "rounded-lg border border-border bg-
|
|
249
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
250
250
|
children: [/* @__PURE__ */ T("p", {
|
|
251
|
-
className: "text-xs text-
|
|
251
|
+
className: "text-xs text-text-secondary",
|
|
252
252
|
children: "Total Investments"
|
|
253
253
|
}), /* @__PURE__ */ T("p", {
|
|
254
254
|
className: "text-xl font-bold text-blue-600 dark:text-blue-400",
|
|
@@ -256,9 +256,9 @@ function D() {
|
|
|
256
256
|
})]
|
|
257
257
|
}),
|
|
258
258
|
/* @__PURE__ */ E("div", {
|
|
259
|
-
className: "rounded-lg border border-border bg-
|
|
259
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
260
260
|
children: [/* @__PURE__ */ T("p", {
|
|
261
|
-
className: "text-xs text-
|
|
261
|
+
className: "text-xs text-text-secondary",
|
|
262
262
|
children: "Platform Commission"
|
|
263
263
|
}), /* @__PURE__ */ E("p", {
|
|
264
264
|
className: "text-xl font-bold text-purple-600 dark:text-purple-400",
|
|
@@ -276,10 +276,10 @@ function D() {
|
|
|
276
276
|
P && /* @__PURE__ */ E("div", {
|
|
277
277
|
className: "mb-8",
|
|
278
278
|
children: [/* @__PURE__ */ T("h2", {
|
|
279
|
-
className: "text-lg font-semibold text-
|
|
279
|
+
className: "text-lg font-semibold text-text-primary mb-4",
|
|
280
280
|
children: "User Distribution"
|
|
281
281
|
}), /* @__PURE__ */ E("div", {
|
|
282
|
-
className: "rounded-lg border border-border bg-
|
|
282
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
|
|
283
283
|
children: [/* @__PURE__ */ E("div", {
|
|
284
284
|
className: "grid grid-cols-2 lg:grid-cols-4 gap-6",
|
|
285
285
|
children: [
|
|
@@ -291,11 +291,11 @@ function D() {
|
|
|
291
291
|
children: P.customers.toLocaleString("en-IN")
|
|
292
292
|
}),
|
|
293
293
|
/* @__PURE__ */ T("div", {
|
|
294
|
-
className: "text-sm text-
|
|
294
|
+
className: "text-sm text-text-secondary",
|
|
295
295
|
children: "Customers"
|
|
296
296
|
}),
|
|
297
297
|
/* @__PURE__ */ T("div", {
|
|
298
|
-
className: "text-xs text-
|
|
298
|
+
className: "text-xs text-text-secondary",
|
|
299
299
|
children: "69.5%"
|
|
300
300
|
})
|
|
301
301
|
]
|
|
@@ -308,11 +308,11 @@ function D() {
|
|
|
308
308
|
children: P.cartOwners.toLocaleString("en-IN")
|
|
309
309
|
}),
|
|
310
310
|
/* @__PURE__ */ T("div", {
|
|
311
|
-
className: "text-sm text-
|
|
311
|
+
className: "text-sm text-text-secondary",
|
|
312
312
|
children: "Cart Owners"
|
|
313
313
|
}),
|
|
314
314
|
/* @__PURE__ */ T("div", {
|
|
315
|
-
className: "text-xs text-
|
|
315
|
+
className: "text-xs text-text-secondary",
|
|
316
316
|
children: "19.1%"
|
|
317
317
|
})
|
|
318
318
|
]
|
|
@@ -325,11 +325,11 @@ function D() {
|
|
|
325
325
|
children: P.workers.toLocaleString("en-IN")
|
|
326
326
|
}),
|
|
327
327
|
/* @__PURE__ */ T("div", {
|
|
328
|
-
className: "text-sm text-
|
|
328
|
+
className: "text-sm text-text-secondary",
|
|
329
329
|
children: "Workers"
|
|
330
330
|
}),
|
|
331
331
|
/* @__PURE__ */ T("div", {
|
|
332
|
-
className: "text-xs text-
|
|
332
|
+
className: "text-xs text-text-secondary",
|
|
333
333
|
children: "9.7%"
|
|
334
334
|
})
|
|
335
335
|
]
|
|
@@ -342,22 +342,22 @@ function D() {
|
|
|
342
342
|
children: P.investors.toLocaleString("en-IN")
|
|
343
343
|
}),
|
|
344
344
|
/* @__PURE__ */ T("div", {
|
|
345
|
-
className: "text-sm text-
|
|
345
|
+
className: "text-sm text-text-secondary",
|
|
346
346
|
children: "Investors"
|
|
347
347
|
}),
|
|
348
348
|
/* @__PURE__ */ T("div", {
|
|
349
|
-
className: "text-xs text-
|
|
349
|
+
className: "text-xs text-text-secondary",
|
|
350
350
|
children: "1.7%"
|
|
351
351
|
})
|
|
352
352
|
]
|
|
353
353
|
})
|
|
354
354
|
]
|
|
355
355
|
}), /* @__PURE__ */ T("div", {
|
|
356
|
-
className: "mt-4 pt-4 border-t border-border",
|
|
356
|
+
className: "mt-4 pt-4 border-t border-border-subtle",
|
|
357
357
|
children: /* @__PURE__ */ E("div", {
|
|
358
358
|
className: "flex justify-between items-center",
|
|
359
359
|
children: [/* @__PURE__ */ T("span", {
|
|
360
|
-
className: "text-sm text-
|
|
360
|
+
className: "text-sm text-text-secondary",
|
|
361
361
|
children: "User Growth (This Month)"
|
|
362
362
|
}), /* @__PURE__ */ E("span", {
|
|
363
363
|
className: "text-sm font-medium text-green-600 dark:text-green-400",
|
|
@@ -376,34 +376,34 @@ function D() {
|
|
|
376
376
|
children: [/* @__PURE__ */ E("div", {
|
|
377
377
|
className: "flex items-center justify-between mb-4",
|
|
378
378
|
children: [/* @__PURE__ */ T("h2", {
|
|
379
|
-
className: "text-lg font-semibold text-
|
|
379
|
+
className: "text-lg font-semibold text-text-primary",
|
|
380
380
|
children: "Recent Platform Activity"
|
|
381
381
|
}), /* @__PURE__ */ E("button", {
|
|
382
382
|
type: "button",
|
|
383
383
|
onClick: () => D("/admin/analytics"),
|
|
384
|
-
className: "flex items-center gap-1 text-sm font-medium text-
|
|
384
|
+
className: "flex items-center gap-1 text-sm font-medium text-text-secondary hover:text-text-primary transition-colors",
|
|
385
385
|
children: ["View all activities", /* @__PURE__ */ T(c, { className: "h-4 w-4" })]
|
|
386
386
|
})]
|
|
387
387
|
}), /* @__PURE__ */ T("div", {
|
|
388
|
-
className: "rounded-lg border border-border bg-
|
|
388
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface divide-y divide-border",
|
|
389
389
|
children: M.map((e) => /* @__PURE__ */ E("div", {
|
|
390
390
|
className: "flex items-start gap-3 px-4 py-3",
|
|
391
391
|
children: [/* @__PURE__ */ T("div", {
|
|
392
|
-
className: t("flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-
|
|
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
393
|
children: R(e.type)
|
|
394
394
|
}), /* @__PURE__ */ E("div", {
|
|
395
395
|
className: "flex-1 min-w-0",
|
|
396
396
|
children: [/* @__PURE__ */ E("div", {
|
|
397
397
|
className: "flex flex-col sm:flex-row sm:items-center justify-between gap-2",
|
|
398
398
|
children: [/* @__PURE__ */ T("p", {
|
|
399
|
-
className: "text-sm font-medium text-
|
|
399
|
+
className: "text-sm font-medium text-text-primary",
|
|
400
400
|
children: e.description
|
|
401
401
|
}), /* @__PURE__ */ T("span", {
|
|
402
402
|
className: t("inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium capitalize w-fit", B(e.status)),
|
|
403
403
|
children: e.status
|
|
404
404
|
})]
|
|
405
405
|
}), /* @__PURE__ */ E("div", {
|
|
406
|
-
className: "flex flex-wrap items-center mt-1 text-xs text-
|
|
406
|
+
className: "flex flex-wrap items-center mt-1 text-xs text-text-secondary gap-3",
|
|
407
407
|
children: [
|
|
408
408
|
/* @__PURE__ */ T("span", { children: e.timestamp }),
|
|
409
409
|
e.user && /* @__PURE__ */ E("span", {
|
|
@@ -427,11 +427,11 @@ function D() {
|
|
|
427
427
|
/* @__PURE__ */ E("div", {
|
|
428
428
|
className: "grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8",
|
|
429
429
|
children: [/* @__PURE__ */ E("div", {
|
|
430
|
-
className: "rounded-lg border border-border bg-
|
|
430
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
|
|
431
431
|
children: [/* @__PURE__ */ E("div", {
|
|
432
432
|
className: "flex items-center gap-2 mb-4",
|
|
433
|
-
children: [/* @__PURE__ */ T(y, { className: "h-5 w-5 text-
|
|
434
|
-
className: "text-lg font-semibold text-
|
|
433
|
+
children: [/* @__PURE__ */ T(y, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ T("h3", {
|
|
434
|
+
className: "text-lg font-semibold text-text-primary",
|
|
435
435
|
children: "System Health"
|
|
436
436
|
})]
|
|
437
437
|
}), /* @__PURE__ */ E("div", {
|
|
@@ -441,8 +441,8 @@ function D() {
|
|
|
441
441
|
className: "flex items-center justify-between",
|
|
442
442
|
children: [/* @__PURE__ */ E("div", {
|
|
443
443
|
className: "flex items-center gap-3",
|
|
444
|
-
children: [/* @__PURE__ */ T(_, { className: "h-4 w-4 text-
|
|
445
|
-
className: "text-sm text-
|
|
444
|
+
children: [/* @__PURE__ */ T(_, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ T("span", {
|
|
445
|
+
className: "text-sm text-text-secondary",
|
|
446
446
|
children: "Server Status"
|
|
447
447
|
})]
|
|
448
448
|
}), /* @__PURE__ */ E("span", {
|
|
@@ -454,8 +454,8 @@ function D() {
|
|
|
454
454
|
className: "flex items-center justify-between",
|
|
455
455
|
children: [/* @__PURE__ */ E("div", {
|
|
456
456
|
className: "flex items-center gap-3",
|
|
457
|
-
children: [/* @__PURE__ */ T(p, { className: "h-4 w-4 text-
|
|
458
|
-
className: "text-sm text-
|
|
457
|
+
children: [/* @__PURE__ */ T(p, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ T("span", {
|
|
458
|
+
className: "text-sm text-text-secondary",
|
|
459
459
|
children: "Database Performance"
|
|
460
460
|
})]
|
|
461
461
|
}), /* @__PURE__ */ E("span", {
|
|
@@ -467,8 +467,8 @@ function D() {
|
|
|
467
467
|
className: "flex items-center justify-between",
|
|
468
468
|
children: [/* @__PURE__ */ E("div", {
|
|
469
469
|
className: "flex items-center gap-3",
|
|
470
|
-
children: [/* @__PURE__ */ T(f, { className: "h-4 w-4 text-
|
|
471
|
-
className: "text-sm text-
|
|
470
|
+
children: [/* @__PURE__ */ T(f, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ T("span", {
|
|
471
|
+
className: "text-sm text-text-secondary",
|
|
472
472
|
children: "Payment Gateway"
|
|
473
473
|
})]
|
|
474
474
|
}), /* @__PURE__ */ E("span", {
|
|
@@ -480,12 +480,12 @@ function D() {
|
|
|
480
480
|
className: "flex items-center justify-between",
|
|
481
481
|
children: [/* @__PURE__ */ E("div", {
|
|
482
482
|
className: "flex items-center gap-3",
|
|
483
|
-
children: [/* @__PURE__ */ T(w, { className: "h-4 w-4 text-
|
|
484
|
-
className: "text-sm text-
|
|
483
|
+
children: [/* @__PURE__ */ T(w, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ T("span", {
|
|
484
|
+
className: "text-sm text-text-secondary",
|
|
485
485
|
children: "API Response Time"
|
|
486
486
|
})]
|
|
487
487
|
}), /* @__PURE__ */ T("span", {
|
|
488
|
-
className: "text-sm font-medium text-
|
|
488
|
+
className: "text-sm font-medium text-text-primary",
|
|
489
489
|
children: "145ms"
|
|
490
490
|
})]
|
|
491
491
|
}),
|
|
@@ -493,23 +493,23 @@ function D() {
|
|
|
493
493
|
className: "flex items-center justify-between",
|
|
494
494
|
children: [/* @__PURE__ */ E("div", {
|
|
495
495
|
className: "flex items-center gap-3",
|
|
496
|
-
children: [/* @__PURE__ */ T(d, { className: "h-4 w-4 text-
|
|
497
|
-
className: "text-sm text-
|
|
496
|
+
children: [/* @__PURE__ */ T(d, { className: "h-4 w-4 text-text-secondary" }), /* @__PURE__ */ T("span", {
|
|
497
|
+
className: "text-sm text-text-secondary",
|
|
498
498
|
children: "Uptime (30 days)"
|
|
499
499
|
})]
|
|
500
500
|
}), /* @__PURE__ */ T("span", {
|
|
501
|
-
className: "text-sm font-medium text-
|
|
501
|
+
className: "text-sm font-medium text-text-primary",
|
|
502
502
|
children: "99.8%"
|
|
503
503
|
})]
|
|
504
504
|
})
|
|
505
505
|
]
|
|
506
506
|
})]
|
|
507
507
|
}), /* @__PURE__ */ E("div", {
|
|
508
|
-
className: "rounded-lg border border-border bg-
|
|
508
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-6",
|
|
509
509
|
children: [/* @__PURE__ */ E("div", {
|
|
510
510
|
className: "flex items-center gap-2 mb-4",
|
|
511
|
-
children: [/* @__PURE__ */ T(h, { className: "h-5 w-5 text-
|
|
512
|
-
className: "text-lg font-semibold text-
|
|
511
|
+
children: [/* @__PURE__ */ T(h, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ T("h3", {
|
|
512
|
+
className: "text-lg font-semibold text-text-primary",
|
|
513
513
|
children: "Financial Overview"
|
|
514
514
|
})]
|
|
515
515
|
}), /* @__PURE__ */ E("div", {
|
|
@@ -518,50 +518,50 @@ function D() {
|
|
|
518
518
|
/* @__PURE__ */ E("div", {
|
|
519
519
|
className: "flex justify-between",
|
|
520
520
|
children: [/* @__PURE__ */ T("span", {
|
|
521
|
-
className: "text-sm text-
|
|
521
|
+
className: "text-sm text-text-secondary",
|
|
522
522
|
children: "Today's Revenue"
|
|
523
523
|
}), /* @__PURE__ */ T("span", {
|
|
524
|
-
className: "font-medium text-
|
|
524
|
+
className: "font-medium text-text-primary",
|
|
525
525
|
children: "₹1,45,230"
|
|
526
526
|
})]
|
|
527
527
|
}),
|
|
528
528
|
/* @__PURE__ */ E("div", {
|
|
529
529
|
className: "flex justify-between",
|
|
530
530
|
children: [/* @__PURE__ */ T("span", {
|
|
531
|
-
className: "text-sm text-
|
|
531
|
+
className: "text-sm text-text-secondary",
|
|
532
532
|
children: "This Month"
|
|
533
533
|
}), /* @__PURE__ */ T("span", {
|
|
534
|
-
className: "font-medium text-
|
|
534
|
+
className: "font-medium text-text-primary",
|
|
535
535
|
children: "₹24,50,000"
|
|
536
536
|
})]
|
|
537
537
|
}),
|
|
538
538
|
/* @__PURE__ */ E("div", {
|
|
539
539
|
className: "flex justify-between",
|
|
540
540
|
children: [/* @__PURE__ */ T("span", {
|
|
541
|
-
className: "text-sm text-
|
|
541
|
+
className: "text-sm text-text-secondary",
|
|
542
542
|
children: "Platform Commission"
|
|
543
543
|
}), /* @__PURE__ */ T("span", {
|
|
544
|
-
className: "font-medium text-
|
|
544
|
+
className: "font-medium text-text-primary",
|
|
545
545
|
children: "₹1,22,500"
|
|
546
546
|
})]
|
|
547
547
|
}),
|
|
548
548
|
/* @__PURE__ */ E("div", {
|
|
549
549
|
className: "flex justify-between",
|
|
550
550
|
children: [/* @__PURE__ */ T("span", {
|
|
551
|
-
className: "text-sm text-
|
|
551
|
+
className: "text-sm text-text-secondary",
|
|
552
552
|
children: "Active Investments"
|
|
553
553
|
}), /* @__PURE__ */ T("span", {
|
|
554
|
-
className: "font-medium text-
|
|
554
|
+
className: "font-medium text-text-primary",
|
|
555
555
|
children: "₹1.52Cr"
|
|
556
556
|
})]
|
|
557
557
|
}),
|
|
558
558
|
/* @__PURE__ */ E("div", {
|
|
559
559
|
className: "flex justify-between",
|
|
560
560
|
children: [/* @__PURE__ */ T("span", {
|
|
561
|
-
className: "text-sm text-
|
|
561
|
+
className: "text-sm text-text-secondary",
|
|
562
562
|
children: "Pending Payouts"
|
|
563
563
|
}), /* @__PURE__ */ T("span", {
|
|
564
|
-
className: "font-medium text-
|
|
564
|
+
className: "font-medium text-text-primary",
|
|
565
565
|
children: "₹45,600"
|
|
566
566
|
})]
|
|
567
567
|
})
|
|
@@ -613,17 +613,17 @@ function D() {
|
|
|
613
613
|
return /* @__PURE__ */ E("button", {
|
|
614
614
|
type: "button",
|
|
615
615
|
onClick: () => D(e.path),
|
|
616
|
-
className: t("flex items-center gap-4 rounded-lg border border-border bg-
|
|
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"),
|
|
617
617
|
children: [/* @__PURE__ */ T("div", {
|
|
618
|
-
className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-
|
|
618
|
+
className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-bg-sunken text-text-secondary",
|
|
619
619
|
children: /* @__PURE__ */ T(n, { className: "h-5 w-5" })
|
|
620
620
|
}), /* @__PURE__ */ E("div", {
|
|
621
621
|
className: "min-w-0",
|
|
622
622
|
children: [/* @__PURE__ */ T("h3", {
|
|
623
|
-
className: "font-semibold text-
|
|
623
|
+
className: "font-semibold text-text-primary text-sm sm:text-base",
|
|
624
624
|
children: e.label
|
|
625
625
|
}), /* @__PURE__ */ T("p", {
|
|
626
|
-
className: "text-xs sm:text-sm text-
|
|
626
|
+
className: "text-xs sm:text-sm text-text-secondary",
|
|
627
627
|
children: e.desc
|
|
628
628
|
})]
|
|
629
629
|
})]
|