@burdenoff/microfe-subscriberbot 2026.624.1 → 2026.625.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/subscriberbot/components/EmptyState.js +17 -10
- package/dist/subscriberbot/components/EmptyState.js.map +1 -1
- package/dist/subscriberbot/components/InvestmentCard.js +23 -22
- package/dist/subscriberbot/components/InvestmentCard.js.map +1 -1
- package/dist/subscriberbot/components/MetricsCard.js +15 -12
- package/dist/subscriberbot/components/MetricsCard.js.map +1 -1
- package/dist/subscriberbot/components/PageLayout.js +27 -15
- package/dist/subscriberbot/components/PageLayout.js.map +1 -1
- package/dist/subscriberbot/components/RatingDisplay.js +3 -3
- package/dist/subscriberbot/components/RatingDisplay.js.map +1 -1
- package/dist/subscriberbot/components/StatusBadge.js +25 -13
- package/dist/subscriberbot/components/StatusBadge.js.map +1 -1
- package/dist/subscriberbot/context/SubscriberBotContext.js.map +1 -1
- package/dist/subscriberbot/pages/HomePage.js +67 -63
- package/dist/subscriberbot/pages/HomePage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminAnalyticsPage.js +42 -42
- package/dist/subscriberbot/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminDashboard.js +42 -41
- package/dist/subscriberbot/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminFinancialPage.js +14 -14
- package/dist/subscriberbot/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminOrdersPage.js +24 -24
- package/dist/subscriberbot/pages/admin/AdminOrdersPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminProfilePage.js +11 -11
- package/dist/subscriberbot/pages/admin/AdminProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/AdminSettingsPage.js +14 -14
- package/dist/subscriberbot/pages/admin/AdminSettingsPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/CartManagementPage.js +41 -41
- package/dist/subscriberbot/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/admin/UserManagementPage.js +47 -47
- package/dist/subscriberbot/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/AnalyticsDashboard.js +44 -44
- package/dist/subscriberbot/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/BusinessSettingsPage.js +17 -17
- package/dist/subscriberbot/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/CartOwnerDashboard.js +94 -89
- package/dist/subscriberbot/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/CartOwnerProfilePage.js +58 -58
- package/dist/subscriberbot/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/CartServiceConfigPage.js +51 -51
- package/dist/subscriberbot/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/InventoryManagementPage.js +54 -54
- package/dist/subscriberbot/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/OrderManagementPage.js +54 -53
- package/dist/subscriberbot/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/cart-owner/StaffManagementPage.js +51 -51
- package/dist/subscriberbot/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/subscriberbot/pages/common/HelpSupportPage.js +65 -65
- package/dist/subscriberbot/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/subscriberbot/pages/common/NotificationCenterPage.js +46 -45
- package/dist/subscriberbot/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/subscriberbot/pages/common/SettingsPage.js +46 -46
- package/dist/subscriberbot/pages/common/SettingsPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/BookingDetailsPage.js +24 -23
- package/dist/subscriberbot/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CartDetailPage.js +31 -30
- package/dist/subscriberbot/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CartDiscoveryPage.js +25 -23
- package/dist/subscriberbot/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CheckoutPage.js +26 -26
- package/dist/subscriberbot/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CustomerDashboard.js +39 -38
- package/dist/subscriberbot/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/customer/CustomerProfilePage.js +36 -36
- package/dist/subscriberbot/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/DirectServiceBookingPage.js +37 -36
- package/dist/subscriberbot/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/FavoritesPage.js +16 -15
- package/dist/subscriberbot/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/OrderHistoryPage.js +19 -17
- package/dist/subscriberbot/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/OrderTrackingPage.js +21 -20
- package/dist/subscriberbot/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/PaymentMethodsPage.js +22 -21
- package/dist/subscriberbot/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/ReviewsPage.js +29 -28
- package/dist/subscriberbot/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/subscriberbot/pages/customer/SavedAddressesPage.js +26 -25
- package/dist/subscriberbot/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestmentDetailsPage.js +46 -46
- package/dist/subscriberbot/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestmentOpportunitiesPage.js +34 -32
- package/dist/subscriberbot/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorAnalyticsPage.js +38 -38
- package/dist/subscriberbot/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorDashboard.js +26 -25
- package/dist/subscriberbot/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorInvestmentsPage.js +12 -11
- package/dist/subscriberbot/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorPortfolioPage.js +25 -25
- package/dist/subscriberbot/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/subscriberbot/pages/investor/InvestorProfilePage.js +58 -58
- package/dist/subscriberbot/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/worker/TaskDetailsPage.js +26 -25
- package/dist/subscriberbot/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/subscriberbot/pages/worker/WorkerDashboard.js +48 -47
- package/dist/subscriberbot/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/subscriberbot/pages/worker/WorkerOrdersPage.js +41 -40
- package/dist/subscriberbot/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/subscriberbot/pages/worker/WorkerProfilePage.js +44 -44
- package/dist/subscriberbot/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/subscriberbot/pages/worker/WorkerSchedulePage.js +32 -30
- package/dist/subscriberbot/pages/worker/WorkerSchedulePage.js.map +1 -1
- package/package.json +3 -3
|
@@ -212,14 +212,14 @@ function A() {
|
|
|
212
212
|
actions: /* @__PURE__ */ E("div", {
|
|
213
213
|
className: "flex items-center gap-2",
|
|
214
214
|
children: [L && /* @__PURE__ */ T("span", {
|
|
215
|
-
className: "text-sm font-medium text-
|
|
215
|
+
className: "text-sm font-medium text-status-success-text",
|
|
216
216
|
children: L
|
|
217
217
|
}), N ? /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ E("button", {
|
|
218
218
|
type: "button",
|
|
219
219
|
onClick: () => {
|
|
220
220
|
P(!1), V(z);
|
|
221
221
|
},
|
|
222
|
-
className: "flex items-center gap-2 rounded-lg border border-border-
|
|
222
|
+
className: "flex items-center gap-2 rounded-lg border border-border-seam px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
223
223
|
children: [/* @__PURE__ */ T(C, { className: "h-4 w-4" }), "Cancel"]
|
|
224
224
|
}), /* @__PURE__ */ T("button", {
|
|
225
225
|
type: "button",
|
|
@@ -240,7 +240,7 @@ function A() {
|
|
|
240
240
|
className: "lg:col-span-1",
|
|
241
241
|
children: [
|
|
242
242
|
/* @__PURE__ */ E("div", {
|
|
243
|
-
className: "rounded-lg border border-border-
|
|
243
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6",
|
|
244
244
|
children: [/* @__PURE__ */ E("div", {
|
|
245
245
|
className: "text-center",
|
|
246
246
|
children: [
|
|
@@ -284,7 +284,7 @@ function A() {
|
|
|
284
284
|
})
|
|
285
285
|
]
|
|
286
286
|
}), /* @__PURE__ */ E("div", {
|
|
287
|
-
className: "mt-5 space-y-3 border-t border-border-
|
|
287
|
+
className: "mt-5 space-y-3 border-t border-border-seam pt-4",
|
|
288
288
|
children: [
|
|
289
289
|
/* @__PURE__ */ E("div", {
|
|
290
290
|
className: "flex items-center justify-between",
|
|
@@ -312,7 +312,7 @@ function A() {
|
|
|
312
312
|
className: "text-xs text-text-secondary sm:text-sm",
|
|
313
313
|
children: "Total Returns"
|
|
314
314
|
}), /* @__PURE__ */ E("span", {
|
|
315
|
-
className: "text-xs font-semibold text-
|
|
315
|
+
className: "text-xs font-semibold text-status-success-text sm:text-sm",
|
|
316
316
|
children: ["+", r(B.totalReturns ?? 0, { minimumFractionDigits: 0 })]
|
|
317
317
|
})]
|
|
318
318
|
}),
|
|
@@ -351,7 +351,7 @@ function A() {
|
|
|
351
351
|
}), /* @__PURE__ */ T("div", {
|
|
352
352
|
className: "lg:col-span-3",
|
|
353
353
|
children: /* @__PURE__ */ E("div", {
|
|
354
|
-
className: "rounded-lg border border-border-
|
|
354
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6 lg:p-8",
|
|
355
355
|
children: [
|
|
356
356
|
j === "personal" && /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h2", {
|
|
357
357
|
className: "mb-6 text-lg font-semibold text-text-primary sm:text-xl",
|
|
@@ -370,7 +370,7 @@ function A() {
|
|
|
370
370
|
value: B.firstName,
|
|
371
371
|
onChange: (e) => $("firstName", e.target.value),
|
|
372
372
|
disabled: !N,
|
|
373
|
-
className: "w-full rounded-lg border border-border-
|
|
373
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
374
374
|
})] }),
|
|
375
375
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
376
376
|
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
@@ -380,7 +380,7 @@ function A() {
|
|
|
380
380
|
value: B.lastName,
|
|
381
381
|
onChange: (e) => $("lastName", e.target.value),
|
|
382
382
|
disabled: !N,
|
|
383
|
-
className: "w-full rounded-lg border border-border-
|
|
383
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
384
384
|
})] }),
|
|
385
385
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
386
386
|
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
@@ -392,7 +392,7 @@ function A() {
|
|
|
392
392
|
value: B.email,
|
|
393
393
|
onChange: (e) => $("email", e.target.value),
|
|
394
394
|
disabled: !N,
|
|
395
|
-
className: "w-full rounded-lg border border-border-
|
|
395
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface py-2 pl-10 pr-3 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
396
396
|
})]
|
|
397
397
|
})] }),
|
|
398
398
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
@@ -405,13 +405,13 @@ function A() {
|
|
|
405
405
|
value: B.phone,
|
|
406
406
|
onChange: (e) => $("phone", e.target.value),
|
|
407
407
|
disabled: !N,
|
|
408
|
-
className: "w-full rounded-lg border border-border-
|
|
408
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface py-2 pl-10 pr-3 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
409
409
|
})]
|
|
410
410
|
})] })
|
|
411
411
|
]
|
|
412
412
|
}),
|
|
413
413
|
/* @__PURE__ */ E("div", {
|
|
414
|
-
className: "border-t border-border-
|
|
414
|
+
className: "border-t border-border-seam pt-6",
|
|
415
415
|
children: [/* @__PURE__ */ T("h3", {
|
|
416
416
|
className: "mb-4 text-sm font-semibold text-text-primary sm:text-base",
|
|
417
417
|
children: "Professional Details"
|
|
@@ -428,7 +428,7 @@ function A() {
|
|
|
428
428
|
value: B.companyName,
|
|
429
429
|
onChange: (e) => $("companyName", e.target.value),
|
|
430
430
|
disabled: !N,
|
|
431
|
-
className: "w-full rounded-lg border border-border-
|
|
431
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface py-2 pl-10 pr-3 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
432
432
|
})]
|
|
433
433
|
})] }),
|
|
434
434
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
@@ -439,7 +439,7 @@ function A() {
|
|
|
439
439
|
value: B.designation,
|
|
440
440
|
onChange: (e) => $("designation", e.target.value),
|
|
441
441
|
disabled: !N,
|
|
442
|
-
className: "w-full rounded-lg border border-border-
|
|
442
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
443
443
|
})] }),
|
|
444
444
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
445
445
|
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
@@ -451,7 +451,7 @@ function A() {
|
|
|
451
451
|
value: B.companyWebsite,
|
|
452
452
|
onChange: (e) => $("companyWebsite", e.target.value),
|
|
453
453
|
disabled: !N,
|
|
454
|
-
className: "w-full rounded-lg border border-border-
|
|
454
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface py-2 pl-10 pr-3 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
455
455
|
})]
|
|
456
456
|
})] }),
|
|
457
457
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
@@ -464,14 +464,14 @@ function A() {
|
|
|
464
464
|
value: B.linkedinProfile,
|
|
465
465
|
onChange: (e) => $("linkedinProfile", e.target.value),
|
|
466
466
|
disabled: !N,
|
|
467
|
-
className: "w-full rounded-lg border border-border-
|
|
467
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface py-2 pl-10 pr-3 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
468
468
|
})]
|
|
469
469
|
})] })
|
|
470
470
|
]
|
|
471
471
|
})]
|
|
472
472
|
}),
|
|
473
473
|
/* @__PURE__ */ E("div", {
|
|
474
|
-
className: "border-t border-border-
|
|
474
|
+
className: "border-t border-border-seam pt-6",
|
|
475
475
|
children: [/* @__PURE__ */ T("h3", {
|
|
476
476
|
className: "mb-4 text-sm font-semibold text-text-primary sm:text-base",
|
|
477
477
|
children: "Address"
|
|
@@ -485,7 +485,7 @@ function A() {
|
|
|
485
485
|
value: B.address,
|
|
486
486
|
onChange: (e) => $("address", e.target.value),
|
|
487
487
|
disabled: !N,
|
|
488
|
-
className: "w-full rounded-lg border border-border-
|
|
488
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
489
489
|
})] }), /* @__PURE__ */ E("div", {
|
|
490
490
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 sm:gap-6",
|
|
491
491
|
children: [
|
|
@@ -497,7 +497,7 @@ function A() {
|
|
|
497
497
|
value: B.city,
|
|
498
498
|
onChange: (e) => $("city", e.target.value),
|
|
499
499
|
disabled: !N,
|
|
500
|
-
className: "w-full rounded-lg border border-border-
|
|
500
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
501
501
|
})] }),
|
|
502
502
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
503
503
|
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
@@ -507,7 +507,7 @@ function A() {
|
|
|
507
507
|
value: B.state,
|
|
508
508
|
onChange: (e) => $("state", e.target.value),
|
|
509
509
|
disabled: !N,
|
|
510
|
-
className: "w-full rounded-lg border border-border-
|
|
510
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
511
511
|
})] }),
|
|
512
512
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
513
513
|
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
@@ -517,7 +517,7 @@ function A() {
|
|
|
517
517
|
value: B.country,
|
|
518
518
|
onChange: (e) => $("country", e.target.value),
|
|
519
519
|
disabled: !N,
|
|
520
|
-
className: "w-full rounded-lg border border-border-
|
|
520
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
521
521
|
})] }),
|
|
522
522
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
523
523
|
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
@@ -527,7 +527,7 @@ function A() {
|
|
|
527
527
|
value: B.pincode,
|
|
528
528
|
onChange: (e) => $("pincode", e.target.value),
|
|
529
529
|
disabled: !N,
|
|
530
|
-
className: "w-full rounded-lg border border-border-
|
|
530
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
531
531
|
})] })
|
|
532
532
|
]
|
|
533
533
|
})]
|
|
@@ -551,7 +551,7 @@ function A() {
|
|
|
551
551
|
value: B.investorType,
|
|
552
552
|
onChange: (e) => $("investorType", e.target.value),
|
|
553
553
|
disabled: !N,
|
|
554
|
-
className: "w-full rounded-lg border border-border-
|
|
554
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
|
|
555
555
|
children: [
|
|
556
556
|
/* @__PURE__ */ T("option", { children: "Angel Investor" }),
|
|
557
557
|
/* @__PURE__ */ T("option", { children: "Venture Capitalist" }),
|
|
@@ -566,7 +566,7 @@ function A() {
|
|
|
566
566
|
value: B.investmentRange,
|
|
567
567
|
onChange: (e) => $("investmentRange", e.target.value),
|
|
568
568
|
disabled: !N,
|
|
569
|
-
className: "w-full rounded-lg border border-border-
|
|
569
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
|
|
570
570
|
children: [
|
|
571
571
|
/* @__PURE__ */ T("option", { children: "1L - 5L" }),
|
|
572
572
|
/* @__PURE__ */ T("option", { children: "5L - 25L" }),
|
|
@@ -581,7 +581,7 @@ function A() {
|
|
|
581
581
|
value: B.investmentHorizon,
|
|
582
582
|
onChange: (e) => $("investmentHorizon", e.target.value),
|
|
583
583
|
disabled: !N,
|
|
584
|
-
className: "w-full rounded-lg border border-border-
|
|
584
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
|
|
585
585
|
children: [
|
|
586
586
|
/* @__PURE__ */ T("option", { children: "1-2 years" }),
|
|
587
587
|
/* @__PURE__ */ T("option", { children: "3-5 years" }),
|
|
@@ -596,7 +596,7 @@ function A() {
|
|
|
596
596
|
value: B.riskProfile,
|
|
597
597
|
onChange: (e) => $("riskProfile", e.target.value),
|
|
598
598
|
disabled: !N,
|
|
599
|
-
className: "w-full rounded-lg border border-border-
|
|
599
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary disabled:bg-bg-sunken disabled:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
|
|
600
600
|
children: [
|
|
601
601
|
/* @__PURE__ */ T("option", { children: "Conservative" }),
|
|
602
602
|
/* @__PURE__ */ T("option", { children: "Moderate" }),
|
|
@@ -619,7 +619,7 @@ function A() {
|
|
|
619
619
|
t.target.checked ? $("preferredSectors", [...B.preferredSectors, e]) : $("preferredSectors", B.preferredSectors.filter((t) => t !== e));
|
|
620
620
|
},
|
|
621
621
|
disabled: !N,
|
|
622
|
-
className: "h-4 w-4 rounded border-border-
|
|
622
|
+
className: "h-4 w-4 rounded border-border-seam text-primary focus:ring-[var(--color-focus-ring)]"
|
|
623
623
|
}), /* @__PURE__ */ T("span", {
|
|
624
624
|
className: "text-sm text-text-primary",
|
|
625
625
|
children: e
|
|
@@ -627,14 +627,14 @@ function A() {
|
|
|
627
627
|
}, e))
|
|
628
628
|
})] }),
|
|
629
629
|
/* @__PURE__ */ E("div", {
|
|
630
|
-
className: "rounded-lg border border-border-
|
|
630
|
+
className: "rounded-lg border border-border-seam p-4",
|
|
631
631
|
children: [/* @__PURE__ */ E("div", {
|
|
632
632
|
className: "mb-2 flex items-center justify-between",
|
|
633
633
|
children: [/* @__PURE__ */ T("p", {
|
|
634
634
|
className: "text-sm font-medium text-text-primary",
|
|
635
635
|
children: "Risk Tolerance"
|
|
636
636
|
}), /* @__PURE__ */ T("span", {
|
|
637
|
-
className: t("text-sm font-semibold", B.riskProfile === "Conservative" ? "text-
|
|
637
|
+
className: t("text-sm font-semibold", B.riskProfile === "Conservative" ? "text-status-success-text" : B.riskProfile === "Moderate" ? "text-status-warning-text" : "text-status-error-text"),
|
|
638
638
|
children: B.riskProfile
|
|
639
639
|
})]
|
|
640
640
|
}), /* @__PURE__ */ T("div", {
|
|
@@ -643,7 +643,7 @@ function A() {
|
|
|
643
643
|
"Conservative",
|
|
644
644
|
"Moderate",
|
|
645
645
|
"Aggressive"
|
|
646
|
-
].map((e) => /* @__PURE__ */ T("div", { className: t("h-2.5 flex-1 rounded-full", e === "Conservative" && "bg-
|
|
646
|
+
].map((e) => /* @__PURE__ */ T("div", { className: t("h-2.5 flex-1 rounded-full", e === "Conservative" && "bg-status-success-bg/30", e === "Moderate" && "bg-status-warning-bg/30", e === "Aggressive" && "bg-status-error-bg/30", e === B.riskProfile && e === "Conservative" && "bg-status-success-text", e === B.riskProfile && e === "Moderate" && "bg-status-warning-text", e === B.riskProfile && e === "Aggressive" && "bg-status-error-text") }, e))
|
|
647
647
|
})]
|
|
648
648
|
})
|
|
649
649
|
]
|
|
@@ -676,7 +676,7 @@ function A() {
|
|
|
676
676
|
/* @__PURE__ */ E("div", {
|
|
677
677
|
className: "rounded-lg bg-bg-sunken/50 p-4",
|
|
678
678
|
children: [
|
|
679
|
-
/* @__PURE__ */ T(l, { className: "mb-2 h-7 w-7 text-
|
|
679
|
+
/* @__PURE__ */ T(l, { className: "mb-2 h-7 w-7 text-status-info-text sm:h-8 sm:w-8" }),
|
|
680
680
|
/* @__PURE__ */ T("div", {
|
|
681
681
|
className: "text-lg font-bold text-text-primary sm:text-2xl",
|
|
682
682
|
children: B.activeInvestments
|
|
@@ -690,7 +690,7 @@ function A() {
|
|
|
690
690
|
/* @__PURE__ */ E("div", {
|
|
691
691
|
className: "rounded-lg bg-bg-sunken/50 p-4",
|
|
692
692
|
children: [
|
|
693
|
-
/* @__PURE__ */ T(x, { className: "mb-2 h-7 w-7 text-
|
|
693
|
+
/* @__PURE__ */ T(x, { className: "mb-2 h-7 w-7 text-status-success-text sm:h-8 sm:w-8" }),
|
|
694
694
|
/* @__PURE__ */ T("div", {
|
|
695
695
|
className: "text-lg font-bold text-text-primary sm:text-2xl",
|
|
696
696
|
children: r(B.totalReturns ?? 0, {
|
|
@@ -707,7 +707,7 @@ function A() {
|
|
|
707
707
|
/* @__PURE__ */ E("div", {
|
|
708
708
|
className: "rounded-lg bg-bg-sunken/50 p-4",
|
|
709
709
|
children: [
|
|
710
|
-
/* @__PURE__ */ T(b, { className: "mb-2 h-7 w-7 text-purple
|
|
710
|
+
/* @__PURE__ */ T(b, { className: "mb-2 h-7 w-7 text-accent-purple sm:h-8 sm:w-8" }),
|
|
711
711
|
/* @__PURE__ */ T("div", {
|
|
712
712
|
className: "text-lg font-bold text-text-primary sm:text-2xl",
|
|
713
713
|
children: r(B.portfolioValue ?? 0, {
|
|
@@ -729,14 +729,14 @@ function A() {
|
|
|
729
729
|
}), /* @__PURE__ */ T("div", {
|
|
730
730
|
className: "space-y-3",
|
|
731
731
|
children: i.map((e, n) => /* @__PURE__ */ E("div", {
|
|
732
|
-
className: "rounded-lg border border-border-
|
|
732
|
+
className: "rounded-lg border border-border-seam bg-bg-sunken/30 p-4",
|
|
733
733
|
children: [/* @__PURE__ */ E("div", {
|
|
734
734
|
className: "mb-3 flex items-start justify-between",
|
|
735
735
|
children: [/* @__PURE__ */ T("h4", {
|
|
736
736
|
className: "text-sm font-medium text-text-primary sm:text-base",
|
|
737
737
|
children: e.cartName
|
|
738
738
|
}), /* @__PURE__ */ E("span", {
|
|
739
|
-
className: t("text-sm font-semibold", e.returns > 0 ? "text-
|
|
739
|
+
className: t("text-sm font-semibold", e.returns > 0 ? "text-status-success-text" : "text-status-error-text"),
|
|
740
740
|
children: [
|
|
741
741
|
e.returns > 0 ? "+" : "",
|
|
742
742
|
e.returns,
|
|
@@ -764,7 +764,7 @@ function A() {
|
|
|
764
764
|
className: "text-text-secondary",
|
|
765
765
|
children: "Returns: "
|
|
766
766
|
}), /* @__PURE__ */ T("span", {
|
|
767
|
-
className: "font-medium text-
|
|
767
|
+
className: "font-medium text-status-success-text",
|
|
768
768
|
children: r(e.currentValue - e.investedAmount, { minimumFractionDigits: 0 })
|
|
769
769
|
})] })
|
|
770
770
|
]
|
|
@@ -779,16 +779,16 @@ function A() {
|
|
|
779
779
|
className: "space-y-6",
|
|
780
780
|
children: [
|
|
781
781
|
/* @__PURE__ */ E("div", {
|
|
782
|
-
className: "flex items-center gap-2 rounded-lg bg-
|
|
783
|
-
children: [/* @__PURE__ */ T(d, { className: "h-5 w-5 text-
|
|
784
|
-
className: "text-sm font-medium text-
|
|
782
|
+
className: "flex items-center gap-2 rounded-lg bg-status-success-bg/10 px-4 py-3",
|
|
783
|
+
children: [/* @__PURE__ */ T(d, { className: "h-5 w-5 text-status-success-text" }), /* @__PURE__ */ T("p", {
|
|
784
|
+
className: "text-sm font-medium text-status-success-text",
|
|
785
785
|
children: "Your KYC is complete and verified"
|
|
786
786
|
})]
|
|
787
787
|
}),
|
|
788
788
|
/* @__PURE__ */ T("div", {
|
|
789
789
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 sm:gap-6",
|
|
790
790
|
children: O.map((e) => /* @__PURE__ */ E("div", {
|
|
791
|
-
className: "rounded-lg border border-border-
|
|
791
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-4 sm:p-6",
|
|
792
792
|
children: [
|
|
793
793
|
/* @__PURE__ */ T(m, { className: "mb-3 h-8 w-8 text-primary" }),
|
|
794
794
|
/* @__PURE__ */ T("h3", {
|
|
@@ -803,17 +803,17 @@ function A() {
|
|
|
803
803
|
className: "mt-3 flex items-center gap-2",
|
|
804
804
|
children: [
|
|
805
805
|
e.status === "verified" && /* @__PURE__ */ E("span", {
|
|
806
|
-
className: "flex items-center gap-1 rounded-full bg-
|
|
806
|
+
className: "flex items-center gap-1 rounded-full bg-status-success-bg/20 px-2 py-0.5 text-xs font-medium text-status-success-text",
|
|
807
807
|
children: [/* @__PURE__ */ T(d, { className: "h-3 w-3" }), "Verified"]
|
|
808
808
|
}),
|
|
809
809
|
e.status === "uploaded" && /* @__PURE__ */ E("span", {
|
|
810
|
-
className: "flex items-center gap-1 rounded-full bg-
|
|
810
|
+
className: "flex items-center gap-1 rounded-full bg-status-info-bg/20 px-2 py-0.5 text-xs font-medium text-status-info-text",
|
|
811
811
|
children: [/* @__PURE__ */ T(m, { className: "h-3 w-3" }), "Uploaded"]
|
|
812
812
|
}),
|
|
813
813
|
/* @__PURE__ */ T("button", {
|
|
814
814
|
type: "button",
|
|
815
815
|
onClick: () => alert(e.status === "template" ? `Downloading ${e.name} template...` : `Viewing ${e.name}...`),
|
|
816
|
-
className: "rounded-lg border border-border-
|
|
816
|
+
className: "rounded-lg border border-border-seam px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-accent transition-colors",
|
|
817
817
|
children: e.status === "template" ? "Download Template" : "View Document"
|
|
818
818
|
})
|
|
819
819
|
]
|
|
@@ -822,7 +822,7 @@ function A() {
|
|
|
822
822
|
}, e.name))
|
|
823
823
|
}),
|
|
824
824
|
N && /* @__PURE__ */ E("div", {
|
|
825
|
-
className: "rounded-lg border-2 border-dashed border-border-
|
|
825
|
+
className: "rounded-lg border-2 border-dashed border-border-seam p-6 text-center",
|
|
826
826
|
children: [
|
|
827
827
|
/* @__PURE__ */ T(m, { className: "mx-auto mb-2 h-8 w-8 text-text-secondary" }),
|
|
828
828
|
/* @__PURE__ */ T("p", {
|
|
@@ -852,7 +852,7 @@ function A() {
|
|
|
852
852
|
className: "space-y-6",
|
|
853
853
|
children: [
|
|
854
854
|
/* @__PURE__ */ E("div", {
|
|
855
|
-
className: "rounded-lg border border-border-
|
|
855
|
+
className: "rounded-lg border border-border-seam p-4 sm:p-6",
|
|
856
856
|
children: [
|
|
857
857
|
/* @__PURE__ */ E("div", {
|
|
858
858
|
className: "flex items-center gap-3 mb-3",
|
|
@@ -877,7 +877,7 @@ function A() {
|
|
|
877
877
|
type: X ? "text" : "password",
|
|
878
878
|
value: W,
|
|
879
879
|
onChange: (e) => G(e.target.value),
|
|
880
|
-
className: "w-full rounded-lg border border-border-
|
|
880
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 pr-10 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
881
881
|
}), /* @__PURE__ */ T("button", {
|
|
882
882
|
type: "button",
|
|
883
883
|
onClick: () => pe(!X),
|
|
@@ -894,7 +894,7 @@ function A() {
|
|
|
894
894
|
type: Z ? "text" : "password",
|
|
895
895
|
value: K,
|
|
896
896
|
onChange: (e) => q(e.target.value),
|
|
897
|
-
className: "w-full rounded-lg border border-border-
|
|
897
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 pr-10 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
898
898
|
}), /* @__PURE__ */ T("button", {
|
|
899
899
|
type: "button",
|
|
900
900
|
onClick: () => me(!Z),
|
|
@@ -909,7 +909,7 @@ function A() {
|
|
|
909
909
|
type: "password",
|
|
910
910
|
value: J,
|
|
911
911
|
onChange: (e) => Y(e.target.value),
|
|
912
|
-
className: "w-full rounded-lg border border-border-
|
|
912
|
+
className: "w-full rounded-lg border border-border-seam bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
913
913
|
})] }),
|
|
914
914
|
/* @__PURE__ */ E("div", {
|
|
915
915
|
className: "flex gap-3",
|
|
@@ -923,7 +923,7 @@ function A() {
|
|
|
923
923
|
onClick: () => {
|
|
924
924
|
U(!1), G(""), q(""), Y("");
|
|
925
925
|
},
|
|
926
|
-
className: "rounded-lg border border-border-
|
|
926
|
+
className: "rounded-lg border border-border-seam px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
927
927
|
children: "Cancel"
|
|
928
928
|
})]
|
|
929
929
|
})
|
|
@@ -931,13 +931,13 @@ function A() {
|
|
|
931
931
|
}) : /* @__PURE__ */ T("button", {
|
|
932
932
|
type: "button",
|
|
933
933
|
onClick: () => U(!0),
|
|
934
|
-
className: "rounded-lg border border-border-
|
|
934
|
+
className: "rounded-lg border border-border-seam px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
935
935
|
children: "Change Password"
|
|
936
936
|
})
|
|
937
937
|
]
|
|
938
938
|
}),
|
|
939
939
|
/* @__PURE__ */ E("div", {
|
|
940
|
-
className: "rounded-lg border border-border-
|
|
940
|
+
className: "rounded-lg border border-border-seam p-4 sm:p-6",
|
|
941
941
|
children: [
|
|
942
942
|
/* @__PURE__ */ E("div", {
|
|
943
943
|
className: "flex items-center gap-3 mb-3",
|
|
@@ -955,20 +955,20 @@ function A() {
|
|
|
955
955
|
children: [/* @__PURE__ */ T("div", {
|
|
956
956
|
className: "flex items-center gap-2",
|
|
957
957
|
children: /* @__PURE__ */ T("span", {
|
|
958
|
-
className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", Q ? "bg-
|
|
958
|
+
className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", Q ? "bg-status-success-bg/20 text-status-success-text" : "bg-bg-sunken text-text-secondary"),
|
|
959
959
|
children: Q ? "Enabled" : "Disabled"
|
|
960
960
|
})
|
|
961
961
|
}), /* @__PURE__ */ T("button", {
|
|
962
962
|
type: "button",
|
|
963
963
|
onClick: be,
|
|
964
|
-
className: t("rounded-lg px-4 py-2 text-sm font-medium transition-colors", Q ? "border border-border-
|
|
964
|
+
className: t("rounded-lg px-4 py-2 text-sm font-medium transition-colors", Q ? "border border-border-seam text-text-primary hover:bg-accent" : "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90"),
|
|
965
965
|
children: Q ? "Disable 2FA" : "Enable 2FA"
|
|
966
966
|
})]
|
|
967
967
|
})
|
|
968
968
|
]
|
|
969
969
|
}),
|
|
970
970
|
/* @__PURE__ */ E("div", {
|
|
971
|
-
className: "rounded-lg border border-border-
|
|
971
|
+
className: "rounded-lg border border-border-seam p-4 sm:p-6",
|
|
972
972
|
children: [/* @__PURE__ */ E("div", {
|
|
973
973
|
className: "flex items-center gap-3 mb-4",
|
|
974
974
|
children: [/* @__PURE__ */ T(y, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ T("h3", {
|
|
@@ -985,7 +985,7 @@ function A() {
|
|
|
985
985
|
className: "text-sm font-medium text-text-primary",
|
|
986
986
|
children: e.device
|
|
987
987
|
}), e.current && /* @__PURE__ */ T("span", {
|
|
988
|
-
className: "rounded-full bg-
|
|
988
|
+
className: "rounded-full bg-status-success-bg/20 px-2 py-0.5 text-xs font-medium text-status-success-text",
|
|
989
989
|
children: "Current"
|
|
990
990
|
})]
|
|
991
991
|
}), /* @__PURE__ */ E("div", {
|
|
@@ -1002,7 +1002,7 @@ function A() {
|
|
|
1002
1002
|
})] }), !e.current && /* @__PURE__ */ T("button", {
|
|
1003
1003
|
type: "button",
|
|
1004
1004
|
onClick: () => alert("Session revoked"),
|
|
1005
|
-
className: "rounded-lg border border-border-
|
|
1005
|
+
className: "rounded-lg border border-border-seam px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-accent transition-colors",
|
|
1006
1006
|
children: "Revoke"
|
|
1007
1007
|
})]
|
|
1008
1008
|
}, t))
|
|
@@ -1016,7 +1016,7 @@ function A() {
|
|
|
1016
1016
|
}), /* @__PURE__ */ E("div", {
|
|
1017
1017
|
className: "space-y-4",
|
|
1018
1018
|
children: [H.map((e) => /* @__PURE__ */ E("div", {
|
|
1019
|
-
className: "flex items-center justify-between rounded-lg border border-border-
|
|
1019
|
+
className: "flex items-center justify-between rounded-lg border border-border-seam bg-bg-sunken/30 p-4",
|
|
1020
1020
|
children: [/* @__PURE__ */ E("div", {
|
|
1021
1021
|
className: "flex-1 pr-4",
|
|
1022
1022
|
children: [/* @__PURE__ */ T("h4", {
|
|
@@ -1033,10 +1033,10 @@ function A() {
|
|
|
1033
1033
|
},
|
|
1034
1034
|
disabled: !N,
|
|
1035
1035
|
className: t("relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full transition-colors duration-200", e.enabled ? "bg-action-primary-bg" : "bg-bg-sunken", !N && "cursor-not-allowed opacity-60"),
|
|
1036
|
-
children: /* @__PURE__ */ T("span", { className: t("pointer-events-none inline-block h-5 w-5 translate-y-0.5 rounded-full bg-
|
|
1036
|
+
children: /* @__PURE__ */ T("span", { className: t("pointer-events-none inline-block h-5 w-5 translate-y-0.5 rounded-full bg-bg-surface shadow ring-0 transition-transform duration-200", e.enabled ? "translate-x-5" : "translate-x-0.5") })
|
|
1037
1037
|
})]
|
|
1038
1038
|
}, e.id)), /* @__PURE__ */ T("div", {
|
|
1039
|
-
className: "mt-4 rounded-lg border border-border-
|
|
1039
|
+
className: "mt-4 rounded-lg border border-border-seam bg-bg-sunken/50 p-4",
|
|
1040
1040
|
children: /* @__PURE__ */ E("p", {
|
|
1041
1041
|
className: "text-sm text-text-secondary",
|
|
1042
1042
|
children: [
|