@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
|
@@ -219,18 +219,18 @@ function A() {
|
|
|
219
219
|
onClick: () => {
|
|
220
220
|
P(!1), V(z);
|
|
221
221
|
},
|
|
222
|
-
className: "flex items-center gap-2 rounded-lg border border-border px-4 py-2 text-sm font-medium text-
|
|
222
|
+
className: "flex items-center gap-2 rounded-lg border border-border-subtle 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",
|
|
226
226
|
onClick: ge,
|
|
227
227
|
disabled: F,
|
|
228
|
-
className: t("flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium transition-colors", F ? "cursor-not-allowed bg-
|
|
228
|
+
className: t("flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium transition-colors", F ? "cursor-not-allowed bg-bg-sunken text-text-secondary" : "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90"),
|
|
229
229
|
children: F ? /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T("div", { className: "h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent" }), "Saving..."] }) : /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T(se, { className: "h-4 w-4" }), "Save Changes"] })
|
|
230
230
|
})] }) : /* @__PURE__ */ E("button", {
|
|
231
231
|
type: "button",
|
|
232
232
|
onClick: () => P(!0),
|
|
233
|
-
className: "flex items-center gap-2 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-
|
|
233
|
+
className: "flex items-center gap-2 rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
234
234
|
children: [/* @__PURE__ */ T(ie, { className: "h-4 w-4" }), "Edit Profile"]
|
|
235
235
|
})]
|
|
236
236
|
}),
|
|
@@ -240,24 +240,24 @@ function A() {
|
|
|
240
240
|
className: "lg:col-span-1",
|
|
241
241
|
children: [
|
|
242
242
|
/* @__PURE__ */ E("div", {
|
|
243
|
-
className: "rounded-lg border border-border bg-
|
|
243
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6",
|
|
244
244
|
children: [/* @__PURE__ */ E("div", {
|
|
245
245
|
className: "text-center",
|
|
246
246
|
children: [
|
|
247
247
|
/* @__PURE__ */ E("div", {
|
|
248
248
|
className: "relative mx-auto inline-block",
|
|
249
249
|
children: [/* @__PURE__ */ T("div", {
|
|
250
|
-
className: "h-20 w-20 overflow-hidden rounded-full bg-
|
|
250
|
+
className: "h-20 w-20 overflow-hidden rounded-full bg-bg-sunken sm:h-24 sm:w-24",
|
|
251
251
|
children: B.profileImage ? /* @__PURE__ */ T("img", {
|
|
252
252
|
src: B.profileImage,
|
|
253
253
|
alt: "Profile",
|
|
254
254
|
className: "h-full w-full object-cover"
|
|
255
255
|
}) : /* @__PURE__ */ T("div", {
|
|
256
256
|
className: "flex h-full w-full items-center justify-center",
|
|
257
|
-
children: /* @__PURE__ */ T(S, { className: "h-10 w-10 text-
|
|
257
|
+
children: /* @__PURE__ */ T(S, { className: "h-10 w-10 text-text-secondary" })
|
|
258
258
|
})
|
|
259
259
|
}), N && /* @__PURE__ */ E("label", {
|
|
260
|
-
className: "absolute bottom-0 right-0 flex h-8 w-8 cursor-pointer items-center justify-center rounded-full bg-primary text-primary-
|
|
260
|
+
className: "absolute bottom-0 right-0 flex h-8 w-8 cursor-pointer items-center justify-center rounded-full bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
261
261
|
children: [/* @__PURE__ */ T(ne, { className: "h-4 w-4" }), /* @__PURE__ */ T("input", {
|
|
262
262
|
type: "file",
|
|
263
263
|
accept: "image/*",
|
|
@@ -267,7 +267,7 @@ function A() {
|
|
|
267
267
|
})]
|
|
268
268
|
}),
|
|
269
269
|
/* @__PURE__ */ E("h3", {
|
|
270
|
-
className: "mt-3 text-base font-semibold text-
|
|
270
|
+
className: "mt-3 text-base font-semibold text-text-primary sm:text-lg",
|
|
271
271
|
children: [
|
|
272
272
|
B.firstName,
|
|
273
273
|
" ",
|
|
@@ -275,21 +275,21 @@ function A() {
|
|
|
275
275
|
]
|
|
276
276
|
}),
|
|
277
277
|
/* @__PURE__ */ T("p", {
|
|
278
|
-
className: "text-sm text-
|
|
278
|
+
className: "text-sm text-text-secondary",
|
|
279
279
|
children: B.investorType
|
|
280
280
|
}),
|
|
281
281
|
/* @__PURE__ */ T("p", {
|
|
282
|
-
className: "mt-1 truncate text-xs text-
|
|
282
|
+
className: "mt-1 truncate text-xs text-text-secondary",
|
|
283
283
|
children: B.companyName
|
|
284
284
|
})
|
|
285
285
|
]
|
|
286
286
|
}), /* @__PURE__ */ E("div", {
|
|
287
|
-
className: "mt-5 space-y-3 border-t border-border pt-4",
|
|
287
|
+
className: "mt-5 space-y-3 border-t border-border-subtle pt-4",
|
|
288
288
|
children: [
|
|
289
289
|
/* @__PURE__ */ E("div", {
|
|
290
290
|
className: "flex items-center justify-between",
|
|
291
291
|
children: [/* @__PURE__ */ T("span", {
|
|
292
|
-
className: "text-xs text-
|
|
292
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
293
293
|
children: "Portfolio Value"
|
|
294
294
|
}), /* @__PURE__ */ T("span", {
|
|
295
295
|
className: "text-xs font-semibold text-primary sm:text-sm",
|
|
@@ -299,17 +299,17 @@ function A() {
|
|
|
299
299
|
/* @__PURE__ */ E("div", {
|
|
300
300
|
className: "flex items-center justify-between",
|
|
301
301
|
children: [/* @__PURE__ */ T("span", {
|
|
302
|
-
className: "text-xs text-
|
|
302
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
303
303
|
children: "Active Investments"
|
|
304
304
|
}), /* @__PURE__ */ T("span", {
|
|
305
|
-
className: "text-xs font-semibold text-
|
|
305
|
+
className: "text-xs font-semibold text-text-primary sm:text-sm",
|
|
306
306
|
children: B.activeInvestments
|
|
307
307
|
})]
|
|
308
308
|
}),
|
|
309
309
|
/* @__PURE__ */ E("div", {
|
|
310
310
|
className: "flex items-center justify-between",
|
|
311
311
|
children: [/* @__PURE__ */ T("span", {
|
|
312
|
-
className: "text-xs text-
|
|
312
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
313
313
|
children: "Total Returns"
|
|
314
314
|
}), /* @__PURE__ */ E("span", {
|
|
315
315
|
className: "text-xs font-semibold text-green-600 dark:text-green-400 sm:text-sm",
|
|
@@ -319,10 +319,10 @@ function A() {
|
|
|
319
319
|
/* @__PURE__ */ E("div", {
|
|
320
320
|
className: "flex items-center justify-between",
|
|
321
321
|
children: [/* @__PURE__ */ T("span", {
|
|
322
|
-
className: "text-xs text-
|
|
322
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
323
323
|
children: "Total Invested"
|
|
324
324
|
}), /* @__PURE__ */ T("span", {
|
|
325
|
-
className: "text-xs font-semibold text-
|
|
325
|
+
className: "text-xs font-semibold text-text-primary sm:text-sm",
|
|
326
326
|
children: r(B.totalInvested ?? 0, { minimumFractionDigits: 0 })
|
|
327
327
|
})]
|
|
328
328
|
})
|
|
@@ -334,7 +334,7 @@ function A() {
|
|
|
334
334
|
children: D.map((e) => /* @__PURE__ */ E("button", {
|
|
335
335
|
type: "button",
|
|
336
336
|
onClick: () => M(e.id),
|
|
337
|
-
className: t("flex shrink-0 items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-colors", j === e.id ? "bg-primary text-primary-
|
|
337
|
+
className: t("flex shrink-0 items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-colors", j === e.id ? "bg-action-primary-bg text-action-primary-text shadow-sm" : "bg-bg-surface text-text-primary hover:bg-accent"),
|
|
338
338
|
children: [/* @__PURE__ */ T(e.Icon, { className: "h-4 w-4 shrink-0" }), e.label]
|
|
339
339
|
}, e.id))
|
|
340
340
|
}),
|
|
@@ -343,7 +343,7 @@ function A() {
|
|
|
343
343
|
children: D.map((e) => /* @__PURE__ */ E("button", {
|
|
344
344
|
type: "button",
|
|
345
345
|
onClick: () => M(e.id),
|
|
346
|
-
className: t("flex w-full items-center gap-3 rounded-lg px-4 py-3 text-sm font-medium transition-colors", j === e.id ? "bg-primary text-primary-
|
|
346
|
+
className: t("flex w-full items-center gap-3 rounded-lg px-4 py-3 text-sm font-medium transition-colors", j === e.id ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-surface text-text-primary hover:bg-accent"),
|
|
347
347
|
children: [/* @__PURE__ */ T(e.Icon, { className: "h-4 w-4" }), e.label]
|
|
348
348
|
}, e.id))
|
|
349
349
|
})
|
|
@@ -351,10 +351,10 @@ 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 bg-
|
|
354
|
+
className: "rounded-lg border border-border-subtle 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
|
-
className: "mb-6 text-lg font-semibold text-
|
|
357
|
+
className: "mb-6 text-lg font-semibold text-text-primary sm:text-xl",
|
|
358
358
|
children: "Personal Information"
|
|
359
359
|
}), /* @__PURE__ */ E("div", {
|
|
360
360
|
className: "space-y-6",
|
|
@@ -363,171 +363,171 @@ function A() {
|
|
|
363
363
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 sm:gap-6",
|
|
364
364
|
children: [
|
|
365
365
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
366
|
-
className: "mb-1 block text-sm font-medium text-
|
|
366
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
367
367
|
children: "First Name"
|
|
368
368
|
}), /* @__PURE__ */ T("input", {
|
|
369
369
|
type: "text",
|
|
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 bg-
|
|
373
|
+
className: "w-full rounded-lg border border-border-subtle 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
|
-
className: "mb-1 block text-sm font-medium text-
|
|
376
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
377
377
|
children: "Last Name"
|
|
378
378
|
}), /* @__PURE__ */ T("input", {
|
|
379
379
|
type: "text",
|
|
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 bg-
|
|
383
|
+
className: "w-full rounded-lg border border-border-subtle 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
|
-
className: "mb-1 block text-sm font-medium text-
|
|
386
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
387
387
|
children: "Email Address"
|
|
388
388
|
}), /* @__PURE__ */ E("div", {
|
|
389
389
|
className: "relative",
|
|
390
|
-
children: [/* @__PURE__ */ T(_, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-
|
|
390
|
+
children: [/* @__PURE__ */ T(_, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ T("input", {
|
|
391
391
|
type: "email",
|
|
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 bg-
|
|
395
|
+
className: "w-full rounded-lg border border-border-subtle 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", {
|
|
399
|
-
className: "mb-1 block text-sm font-medium text-
|
|
399
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
400
400
|
children: "Phone Number"
|
|
401
401
|
}), /* @__PURE__ */ E("div", {
|
|
402
402
|
className: "relative",
|
|
403
|
-
children: [/* @__PURE__ */ T(oe, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-
|
|
403
|
+
children: [/* @__PURE__ */ T(oe, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ T("input", {
|
|
404
404
|
type: "tel",
|
|
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 bg-
|
|
408
|
+
className: "w-full rounded-lg border border-border-subtle 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 pt-6",
|
|
414
|
+
className: "border-t border-border-subtle pt-6",
|
|
415
415
|
children: [/* @__PURE__ */ T("h3", {
|
|
416
|
-
className: "mb-4 text-sm font-semibold text-
|
|
416
|
+
className: "mb-4 text-sm font-semibold text-text-primary sm:text-base",
|
|
417
417
|
children: "Professional Details"
|
|
418
418
|
}), /* @__PURE__ */ E("div", {
|
|
419
419
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 sm:gap-6",
|
|
420
420
|
children: [
|
|
421
421
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
422
|
-
className: "mb-1 block text-sm font-medium text-
|
|
422
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
423
423
|
children: "Company/Organization"
|
|
424
424
|
}), /* @__PURE__ */ E("div", {
|
|
425
425
|
className: "relative",
|
|
426
|
-
children: [/* @__PURE__ */ T(u, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-
|
|
426
|
+
children: [/* @__PURE__ */ T(u, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ T("input", {
|
|
427
427
|
type: "text",
|
|
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 bg-
|
|
431
|
+
className: "w-full rounded-lg border border-border-subtle 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", {
|
|
435
|
-
className: "mb-1 block text-sm font-medium text-
|
|
435
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
436
436
|
children: "Designation"
|
|
437
437
|
}), /* @__PURE__ */ T("input", {
|
|
438
438
|
type: "text",
|
|
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 bg-
|
|
442
|
+
className: "w-full rounded-lg border border-border-subtle 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
|
-
className: "mb-1 block text-sm font-medium text-
|
|
445
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
446
446
|
children: "Company Website"
|
|
447
447
|
}), /* @__PURE__ */ E("div", {
|
|
448
448
|
className: "relative",
|
|
449
|
-
children: [/* @__PURE__ */ T(h, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-
|
|
449
|
+
children: [/* @__PURE__ */ T(h, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ T("input", {
|
|
450
450
|
type: "text",
|
|
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 bg-
|
|
454
|
+
className: "w-full rounded-lg border border-border-subtle 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", {
|
|
458
|
-
className: "mb-1 block text-sm font-medium text-
|
|
458
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
459
459
|
children: "LinkedIn Profile"
|
|
460
460
|
}), /* @__PURE__ */ E("div", {
|
|
461
461
|
className: "relative",
|
|
462
|
-
children: [/* @__PURE__ */ T(ae, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-
|
|
462
|
+
children: [/* @__PURE__ */ T(ae, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ T("input", {
|
|
463
463
|
type: "text",
|
|
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 bg-
|
|
467
|
+
className: "w-full rounded-lg border border-border-subtle 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 pt-6",
|
|
474
|
+
className: "border-t border-border-subtle pt-6",
|
|
475
475
|
children: [/* @__PURE__ */ T("h3", {
|
|
476
|
-
className: "mb-4 text-sm font-semibold text-
|
|
476
|
+
className: "mb-4 text-sm font-semibold text-text-primary sm:text-base",
|
|
477
477
|
children: "Address"
|
|
478
478
|
}), /* @__PURE__ */ E("div", {
|
|
479
479
|
className: "space-y-4",
|
|
480
480
|
children: [/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
481
|
-
className: "mb-1 block text-sm font-medium text-
|
|
481
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
482
482
|
children: "Street Address"
|
|
483
483
|
}), /* @__PURE__ */ T("textarea", {
|
|
484
484
|
rows: 2,
|
|
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 bg-
|
|
488
|
+
className: "w-full rounded-lg border border-border-subtle 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: [
|
|
492
492
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
493
|
-
className: "mb-1 block text-sm font-medium text-
|
|
493
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
494
494
|
children: "City"
|
|
495
495
|
}), /* @__PURE__ */ T("input", {
|
|
496
496
|
type: "text",
|
|
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 bg-
|
|
500
|
+
className: "w-full rounded-lg border border-border-subtle 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
|
-
className: "mb-1 block text-sm font-medium text-
|
|
503
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
504
504
|
children: "State"
|
|
505
505
|
}), /* @__PURE__ */ T("input", {
|
|
506
506
|
type: "text",
|
|
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 bg-
|
|
510
|
+
className: "w-full rounded-lg border border-border-subtle 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
|
-
className: "mb-1 block text-sm font-medium text-
|
|
513
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
514
514
|
children: "Country"
|
|
515
515
|
}), /* @__PURE__ */ T("input", {
|
|
516
516
|
type: "text",
|
|
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 bg-
|
|
520
|
+
className: "w-full rounded-lg border border-border-subtle 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
|
-
className: "mb-1 block text-sm font-medium text-
|
|
523
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
524
524
|
children: "Pincode"
|
|
525
525
|
}), /* @__PURE__ */ T("input", {
|
|
526
526
|
type: "text",
|
|
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 bg-
|
|
530
|
+
className: "w-full rounded-lg border border-border-subtle 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
|
})]
|
|
@@ -536,7 +536,7 @@ function A() {
|
|
|
536
536
|
]
|
|
537
537
|
})] }),
|
|
538
538
|
j === "investment" && /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h2", {
|
|
539
|
-
className: "mb-6 text-lg font-semibold text-
|
|
539
|
+
className: "mb-6 text-lg font-semibold text-text-primary sm:text-xl",
|
|
540
540
|
children: "Investment Profile"
|
|
541
541
|
}), /* @__PURE__ */ E("div", {
|
|
542
542
|
className: "space-y-6",
|
|
@@ -545,13 +545,13 @@ function A() {
|
|
|
545
545
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 sm:gap-6",
|
|
546
546
|
children: [
|
|
547
547
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
548
|
-
className: "mb-1 block text-sm font-medium text-
|
|
548
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
549
549
|
children: "Investor Type"
|
|
550
550
|
}), /* @__PURE__ */ E("select", {
|
|
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 bg-
|
|
554
|
+
className: "w-full rounded-lg border border-border-subtle 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" }),
|
|
@@ -560,13 +560,13 @@ function A() {
|
|
|
560
560
|
]
|
|
561
561
|
})] }),
|
|
562
562
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
563
|
-
className: "mb-1 block text-sm font-medium text-
|
|
563
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
564
564
|
children: "Investment Range"
|
|
565
565
|
}), /* @__PURE__ */ E("select", {
|
|
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 bg-
|
|
569
|
+
className: "w-full rounded-lg border border-border-subtle 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" }),
|
|
@@ -575,13 +575,13 @@ function A() {
|
|
|
575
575
|
]
|
|
576
576
|
})] }),
|
|
577
577
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
578
|
-
className: "mb-1 block text-sm font-medium text-
|
|
578
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
579
579
|
children: "Investment Horizon"
|
|
580
580
|
}), /* @__PURE__ */ E("select", {
|
|
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 bg-
|
|
584
|
+
className: "w-full rounded-lg border border-border-subtle 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" }),
|
|
@@ -590,13 +590,13 @@ function A() {
|
|
|
590
590
|
]
|
|
591
591
|
})] }),
|
|
592
592
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
593
|
-
className: "mb-1 block text-sm font-medium text-
|
|
593
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
594
594
|
children: "Risk Profile"
|
|
595
595
|
}), /* @__PURE__ */ E("select", {
|
|
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 bg-
|
|
599
|
+
className: "w-full rounded-lg border border-border-subtle 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" }),
|
|
@@ -606,7 +606,7 @@ function A() {
|
|
|
606
606
|
]
|
|
607
607
|
}),
|
|
608
608
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
609
|
-
className: "mb-3 block text-sm font-medium text-
|
|
609
|
+
className: "mb-3 block text-sm font-medium text-text-primary",
|
|
610
610
|
children: "Preferred Sectors"
|
|
611
611
|
}), /* @__PURE__ */ T("div", {
|
|
612
612
|
className: "grid grid-cols-2 gap-3 sm:grid-cols-3",
|
|
@@ -619,19 +619,19 @@ 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 text-primary focus:ring-ring"
|
|
622
|
+
className: "h-4 w-4 rounded border-border-subtle text-primary focus:ring-[var(--color-focus-ring)]"
|
|
623
623
|
}), /* @__PURE__ */ T("span", {
|
|
624
|
-
className: "text-sm text-
|
|
624
|
+
className: "text-sm text-text-primary",
|
|
625
625
|
children: e
|
|
626
626
|
})]
|
|
627
627
|
}, e))
|
|
628
628
|
})] }),
|
|
629
629
|
/* @__PURE__ */ E("div", {
|
|
630
|
-
className: "rounded-lg border border-border p-4",
|
|
630
|
+
className: "rounded-lg border border-border-subtle 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
|
-
className: "text-sm font-medium text-
|
|
634
|
+
className: "text-sm font-medium text-text-primary",
|
|
635
635
|
children: "Risk Tolerance"
|
|
636
636
|
}), /* @__PURE__ */ T("span", {
|
|
637
637
|
className: t("text-sm font-semibold", B.riskProfile === "Conservative" ? "text-green-600 dark:text-green-400" : B.riskProfile === "Moderate" ? "text-yellow-600 dark:text-yellow-400" : "text-red-600 dark:text-red-400"),
|
|
@@ -650,73 +650,73 @@ function A() {
|
|
|
650
650
|
})] }),
|
|
651
651
|
j === "portfolio" && /* @__PURE__ */ E("div", { children: [
|
|
652
652
|
/* @__PURE__ */ T("h2", {
|
|
653
|
-
className: "mb-6 text-lg font-semibold text-
|
|
653
|
+
className: "mb-6 text-lg font-semibold text-text-primary sm:text-xl",
|
|
654
654
|
children: "Investment Portfolio"
|
|
655
655
|
}),
|
|
656
656
|
/* @__PURE__ */ E("div", {
|
|
657
657
|
className: "mb-8 grid grid-cols-2 gap-4 sm:grid-cols-4 sm:gap-6",
|
|
658
658
|
children: [
|
|
659
659
|
/* @__PURE__ */ E("div", {
|
|
660
|
-
className: "rounded-lg bg-
|
|
660
|
+
className: "rounded-lg bg-bg-sunken/50 p-4",
|
|
661
661
|
children: [
|
|
662
662
|
/* @__PURE__ */ T(re, { className: "mb-2 h-7 w-7 text-primary sm:h-8 sm:w-8" }),
|
|
663
663
|
/* @__PURE__ */ T("div", {
|
|
664
|
-
className: "text-lg font-bold text-
|
|
664
|
+
className: "text-lg font-bold text-text-primary sm:text-2xl",
|
|
665
665
|
children: r(B.totalInvested ?? 0, {
|
|
666
666
|
minimumFractionDigits: 0,
|
|
667
667
|
notation: "compact"
|
|
668
668
|
})
|
|
669
669
|
}),
|
|
670
670
|
/* @__PURE__ */ T("div", {
|
|
671
|
-
className: "text-xs text-
|
|
671
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
672
672
|
children: "Total Invested"
|
|
673
673
|
})
|
|
674
674
|
]
|
|
675
675
|
}),
|
|
676
676
|
/* @__PURE__ */ E("div", {
|
|
677
|
-
className: "rounded-lg bg-
|
|
677
|
+
className: "rounded-lg bg-bg-sunken/50 p-4",
|
|
678
678
|
children: [
|
|
679
679
|
/* @__PURE__ */ T(l, { className: "mb-2 h-7 w-7 text-blue-600 sm:h-8 sm:w-8" }),
|
|
680
680
|
/* @__PURE__ */ T("div", {
|
|
681
|
-
className: "text-lg font-bold text-
|
|
681
|
+
className: "text-lg font-bold text-text-primary sm:text-2xl",
|
|
682
682
|
children: B.activeInvestments
|
|
683
683
|
}),
|
|
684
684
|
/* @__PURE__ */ T("div", {
|
|
685
|
-
className: "text-xs text-
|
|
685
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
686
686
|
children: "Active Investments"
|
|
687
687
|
})
|
|
688
688
|
]
|
|
689
689
|
}),
|
|
690
690
|
/* @__PURE__ */ E("div", {
|
|
691
|
-
className: "rounded-lg bg-
|
|
691
|
+
className: "rounded-lg bg-bg-sunken/50 p-4",
|
|
692
692
|
children: [
|
|
693
693
|
/* @__PURE__ */ T(x, { className: "mb-2 h-7 w-7 text-green-600 sm:h-8 sm:w-8" }),
|
|
694
694
|
/* @__PURE__ */ T("div", {
|
|
695
|
-
className: "text-lg font-bold text-
|
|
695
|
+
className: "text-lg font-bold text-text-primary sm:text-2xl",
|
|
696
696
|
children: r(B.totalReturns ?? 0, {
|
|
697
697
|
minimumFractionDigits: 0,
|
|
698
698
|
notation: "compact"
|
|
699
699
|
})
|
|
700
700
|
}),
|
|
701
701
|
/* @__PURE__ */ T("div", {
|
|
702
|
-
className: "text-xs text-
|
|
702
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
703
703
|
children: "Total Returns"
|
|
704
704
|
})
|
|
705
705
|
]
|
|
706
706
|
}),
|
|
707
707
|
/* @__PURE__ */ E("div", {
|
|
708
|
-
className: "rounded-lg bg-
|
|
708
|
+
className: "rounded-lg bg-bg-sunken/50 p-4",
|
|
709
709
|
children: [
|
|
710
710
|
/* @__PURE__ */ T(b, { className: "mb-2 h-7 w-7 text-purple-600 sm:h-8 sm:w-8" }),
|
|
711
711
|
/* @__PURE__ */ T("div", {
|
|
712
|
-
className: "text-lg font-bold text-
|
|
712
|
+
className: "text-lg font-bold text-text-primary sm:text-2xl",
|
|
713
713
|
children: r(B.portfolioValue ?? 0, {
|
|
714
714
|
minimumFractionDigits: 0,
|
|
715
715
|
notation: "compact"
|
|
716
716
|
})
|
|
717
717
|
}),
|
|
718
718
|
/* @__PURE__ */ T("div", {
|
|
719
|
-
className: "text-xs text-
|
|
719
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
720
720
|
children: "Portfolio Value"
|
|
721
721
|
})
|
|
722
722
|
]
|
|
@@ -724,16 +724,16 @@ function A() {
|
|
|
724
724
|
]
|
|
725
725
|
}),
|
|
726
726
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h3", {
|
|
727
|
-
className: "mb-4 text-base font-semibold text-
|
|
727
|
+
className: "mb-4 text-base font-semibold text-text-primary",
|
|
728
728
|
children: "Active Investments"
|
|
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 bg-
|
|
732
|
+
className: "rounded-lg border border-border-subtle 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
|
-
className: "text-sm font-medium text-
|
|
736
|
+
className: "text-sm font-medium text-text-primary sm:text-base",
|
|
737
737
|
children: e.cartName
|
|
738
738
|
}), /* @__PURE__ */ E("span", {
|
|
739
739
|
className: t("text-sm font-semibold", e.returns > 0 ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400"),
|
|
@@ -747,21 +747,21 @@ function A() {
|
|
|
747
747
|
className: "grid grid-cols-1 gap-3 text-sm sm:grid-cols-3",
|
|
748
748
|
children: [
|
|
749
749
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("span", {
|
|
750
|
-
className: "text-
|
|
750
|
+
className: "text-text-secondary",
|
|
751
751
|
children: "Invested: "
|
|
752
752
|
}), /* @__PURE__ */ T("span", {
|
|
753
|
-
className: "font-medium text-
|
|
753
|
+
className: "font-medium text-text-primary",
|
|
754
754
|
children: r(e.investedAmount, { minimumFractionDigits: 0 })
|
|
755
755
|
})] }),
|
|
756
756
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("span", {
|
|
757
|
-
className: "text-
|
|
757
|
+
className: "text-text-secondary",
|
|
758
758
|
children: "Current Value: "
|
|
759
759
|
}), /* @__PURE__ */ T("span", {
|
|
760
|
-
className: "font-medium text-
|
|
760
|
+
className: "font-medium text-text-primary",
|
|
761
761
|
children: r(e.currentValue, { minimumFractionDigits: 0 })
|
|
762
762
|
})] }),
|
|
763
763
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("span", {
|
|
764
|
-
className: "text-
|
|
764
|
+
className: "text-text-secondary",
|
|
765
765
|
children: "Returns: "
|
|
766
766
|
}), /* @__PURE__ */ T("span", {
|
|
767
767
|
className: "font-medium text-green-600 dark:text-green-400",
|
|
@@ -773,7 +773,7 @@ function A() {
|
|
|
773
773
|
})] })
|
|
774
774
|
] }),
|
|
775
775
|
j === "documents" && /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h2", {
|
|
776
|
-
className: "mb-6 text-lg font-semibold text-
|
|
776
|
+
className: "mb-6 text-lg font-semibold text-text-primary sm:text-xl",
|
|
777
777
|
children: "Documents & KYC"
|
|
778
778
|
}), /* @__PURE__ */ E("div", {
|
|
779
779
|
className: "space-y-6",
|
|
@@ -788,15 +788,15 @@ function A() {
|
|
|
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 bg-
|
|
791
|
+
className: "rounded-lg border border-border-subtle 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", {
|
|
795
|
-
className: "text-base font-semibold text-
|
|
795
|
+
className: "text-base font-semibold text-text-primary",
|
|
796
796
|
children: e.name
|
|
797
797
|
}),
|
|
798
798
|
/* @__PURE__ */ T("p", {
|
|
799
|
-
className: "mt-1 text-sm text-
|
|
799
|
+
className: "mt-1 text-sm text-text-secondary",
|
|
800
800
|
children: e.status === "verified" ? `Verified on ${e.verifiedOn}` : e.status === "uploaded" ? `Uploaded on ${e.verifiedOn}` : "Template available"
|
|
801
801
|
}),
|
|
802
802
|
/* @__PURE__ */ E("div", {
|
|
@@ -813,7 +813,7 @@ function A() {
|
|
|
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 px-3 py-1.5 text-xs font-medium text-
|
|
816
|
+
className: "rounded-lg border border-border-subtle 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,19 +822,19 @@ function A() {
|
|
|
822
822
|
}, e.name))
|
|
823
823
|
}),
|
|
824
824
|
N && /* @__PURE__ */ E("div", {
|
|
825
|
-
className: "rounded-lg border-2 border-dashed border-border p-6 text-center",
|
|
825
|
+
className: "rounded-lg border-2 border-dashed border-border-subtle p-6 text-center",
|
|
826
826
|
children: [
|
|
827
|
-
/* @__PURE__ */ T(m, { className: "mx-auto mb-2 h-8 w-8 text-
|
|
827
|
+
/* @__PURE__ */ T(m, { className: "mx-auto mb-2 h-8 w-8 text-text-secondary" }),
|
|
828
828
|
/* @__PURE__ */ T("p", {
|
|
829
|
-
className: "text-sm font-medium text-
|
|
829
|
+
className: "text-sm font-medium text-text-primary",
|
|
830
830
|
children: "Upload New Document"
|
|
831
831
|
}),
|
|
832
832
|
/* @__PURE__ */ T("p", {
|
|
833
|
-
className: "mt-1 text-xs text-
|
|
833
|
+
className: "mt-1 text-xs text-text-secondary",
|
|
834
834
|
children: "PDF, JPG, or PNG up to 10MB"
|
|
835
835
|
}),
|
|
836
836
|
/* @__PURE__ */ E("label", {
|
|
837
|
-
className: "mt-3 inline-block cursor-pointer rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-
|
|
837
|
+
className: "mt-3 inline-block cursor-pointer rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
838
838
|
children: ["Choose File", /* @__PURE__ */ T("input", {
|
|
839
839
|
type: "file",
|
|
840
840
|
accept: ".pdf,.jpg,.png",
|
|
@@ -846,30 +846,30 @@ function A() {
|
|
|
846
846
|
]
|
|
847
847
|
})] }),
|
|
848
848
|
j === "security" && /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h2", {
|
|
849
|
-
className: "mb-6 text-lg font-semibold text-
|
|
849
|
+
className: "mb-6 text-lg font-semibold text-text-primary sm:text-xl",
|
|
850
850
|
children: "Security Settings"
|
|
851
851
|
}), /* @__PURE__ */ E("div", {
|
|
852
852
|
className: "space-y-6",
|
|
853
853
|
children: [
|
|
854
854
|
/* @__PURE__ */ E("div", {
|
|
855
|
-
className: "rounded-lg border border-border p-4 sm:p-6",
|
|
855
|
+
className: "rounded-lg border border-border-subtle p-4 sm:p-6",
|
|
856
856
|
children: [
|
|
857
857
|
/* @__PURE__ */ E("div", {
|
|
858
858
|
className: "flex items-center gap-3 mb-3",
|
|
859
|
-
children: [/* @__PURE__ */ T(g, { className: "h-5 w-5 text-
|
|
860
|
-
className: "text-base font-semibold text-
|
|
859
|
+
children: [/* @__PURE__ */ T(g, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ T("h3", {
|
|
860
|
+
className: "text-base font-semibold text-text-primary",
|
|
861
861
|
children: "Change Password"
|
|
862
862
|
})]
|
|
863
863
|
}),
|
|
864
864
|
/* @__PURE__ */ T("p", {
|
|
865
|
-
className: "mb-4 text-sm text-
|
|
865
|
+
className: "mb-4 text-sm text-text-secondary",
|
|
866
866
|
children: "Update your password regularly to keep your account secure"
|
|
867
867
|
}),
|
|
868
868
|
fe ? /* @__PURE__ */ E("div", {
|
|
869
869
|
className: "space-y-4",
|
|
870
870
|
children: [
|
|
871
871
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
872
|
-
className: "mb-1 block text-sm font-medium text-
|
|
872
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
873
873
|
children: "Current Password"
|
|
874
874
|
}), /* @__PURE__ */ E("div", {
|
|
875
875
|
className: "relative",
|
|
@@ -877,16 +877,16 @@ 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 bg-
|
|
880
|
+
className: "w-full rounded-lg border border-border-subtle 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),
|
|
884
|
-
className: "absolute right-3 top-1/2 -translate-y-1/2 text-
|
|
884
|
+
className: "absolute right-3 top-1/2 -translate-y-1/2 text-text-secondary hover:text-text-primary",
|
|
885
885
|
children: T(X ? p : f, { className: "h-4 w-4" })
|
|
886
886
|
})]
|
|
887
887
|
})] }),
|
|
888
888
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
889
|
-
className: "mb-1 block text-sm font-medium text-
|
|
889
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
890
890
|
children: "New Password"
|
|
891
891
|
}), /* @__PURE__ */ E("div", {
|
|
892
892
|
className: "relative",
|
|
@@ -894,36 +894,36 @@ 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 bg-
|
|
897
|
+
className: "w-full rounded-lg border border-border-subtle 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),
|
|
901
|
-
className: "absolute right-3 top-1/2 -translate-y-1/2 text-
|
|
901
|
+
className: "absolute right-3 top-1/2 -translate-y-1/2 text-text-secondary hover:text-text-primary",
|
|
902
902
|
children: T(Z ? p : f, { className: "h-4 w-4" })
|
|
903
903
|
})]
|
|
904
904
|
})] }),
|
|
905
905
|
/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("label", {
|
|
906
|
-
className: "mb-1 block text-sm font-medium text-
|
|
906
|
+
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
907
907
|
children: "Confirm New Password"
|
|
908
908
|
}), /* @__PURE__ */ T("input", {
|
|
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 bg-
|
|
912
|
+
className: "w-full rounded-lg border border-border-subtle 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",
|
|
916
916
|
children: [/* @__PURE__ */ T("button", {
|
|
917
917
|
type: "button",
|
|
918
918
|
onClick: ye,
|
|
919
|
-
className: "rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-
|
|
919
|
+
className: "rounded-lg bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
920
920
|
children: "Update Password"
|
|
921
921
|
}), /* @__PURE__ */ T("button", {
|
|
922
922
|
type: "button",
|
|
923
923
|
onClick: () => {
|
|
924
924
|
U(!1), G(""), q(""), Y("");
|
|
925
925
|
},
|
|
926
|
-
className: "rounded-lg border border-border px-4 py-2 text-sm font-medium text-
|
|
926
|
+
className: "rounded-lg border border-border-subtle 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,65 +931,65 @@ function A() {
|
|
|
931
931
|
}) : /* @__PURE__ */ T("button", {
|
|
932
932
|
type: "button",
|
|
933
933
|
onClick: () => U(!0),
|
|
934
|
-
className: "rounded-lg border border-border px-4 py-2 text-sm font-medium text-
|
|
934
|
+
className: "rounded-lg border border-border-subtle 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 p-4 sm:p-6",
|
|
940
|
+
className: "rounded-lg border border-border-subtle p-4 sm:p-6",
|
|
941
941
|
children: [
|
|
942
942
|
/* @__PURE__ */ E("div", {
|
|
943
943
|
className: "flex items-center gap-3 mb-3",
|
|
944
|
-
children: [/* @__PURE__ */ T(le, { className: "h-5 w-5 text-
|
|
945
|
-
className: "text-base font-semibold text-
|
|
944
|
+
children: [/* @__PURE__ */ T(le, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ T("h3", {
|
|
945
|
+
className: "text-base font-semibold text-text-primary",
|
|
946
946
|
children: "Two-Factor Authentication"
|
|
947
947
|
})]
|
|
948
948
|
}),
|
|
949
949
|
/* @__PURE__ */ T("p", {
|
|
950
|
-
className: "mb-4 text-sm text-
|
|
950
|
+
className: "mb-4 text-sm text-text-secondary",
|
|
951
951
|
children: "Add an extra layer of security to your investment account"
|
|
952
952
|
}),
|
|
953
953
|
/* @__PURE__ */ E("div", {
|
|
954
|
-
className: "flex items-center justify-between rounded-lg bg-
|
|
954
|
+
className: "flex items-center justify-between rounded-lg bg-bg-sunken/50 p-3",
|
|
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-green-500/20 text-green-600 dark:text-green-400" : "bg-
|
|
958
|
+
className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", Q ? "bg-green-500/20 text-green-600 dark:text-green-400" : "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 text-
|
|
964
|
+
className: t("rounded-lg px-4 py-2 text-sm font-medium transition-colors", Q ? "border border-border-subtle 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 p-4 sm:p-6",
|
|
971
|
+
className: "rounded-lg border border-border-subtle p-4 sm:p-6",
|
|
972
972
|
children: [/* @__PURE__ */ E("div", {
|
|
973
973
|
className: "flex items-center gap-3 mb-4",
|
|
974
|
-
children: [/* @__PURE__ */ T(y, { className: "h-5 w-5 text-
|
|
975
|
-
className: "text-base font-semibold text-
|
|
974
|
+
children: [/* @__PURE__ */ T(y, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ T("h3", {
|
|
975
|
+
className: "text-base font-semibold text-text-primary",
|
|
976
976
|
children: "Login Activity"
|
|
977
977
|
})]
|
|
978
978
|
}), /* @__PURE__ */ T("div", {
|
|
979
979
|
className: "space-y-3",
|
|
980
980
|
children: k.map((e, t) => /* @__PURE__ */ E("div", {
|
|
981
|
-
className: "flex items-center justify-between rounded-lg bg-
|
|
981
|
+
className: "flex items-center justify-between rounded-lg bg-bg-sunken/30 p-3",
|
|
982
982
|
children: [/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ E("div", {
|
|
983
983
|
className: "flex items-center gap-2",
|
|
984
984
|
children: [/* @__PURE__ */ T("p", {
|
|
985
|
-
className: "text-sm font-medium text-
|
|
985
|
+
className: "text-sm font-medium text-text-primary",
|
|
986
986
|
children: e.device
|
|
987
987
|
}), e.current && /* @__PURE__ */ T("span", {
|
|
988
988
|
className: "rounded-full bg-green-500/20 px-2 py-0.5 text-xs font-medium text-green-600 dark:text-green-400",
|
|
989
989
|
children: "Current"
|
|
990
990
|
})]
|
|
991
991
|
}), /* @__PURE__ */ E("div", {
|
|
992
|
-
className: "mt-1 flex items-center gap-2 text-xs text-
|
|
992
|
+
className: "mt-1 flex items-center gap-2 text-xs text-text-secondary",
|
|
993
993
|
children: [
|
|
994
994
|
/* @__PURE__ */ T(v, { className: "h-3 w-3" }),
|
|
995
995
|
/* @__PURE__ */ T("span", { children: e.location }),
|
|
@@ -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 px-3 py-1.5 text-xs font-medium text-
|
|
1005
|
+
className: "rounded-lg border border-border-subtle 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))
|
|
@@ -1011,19 +1011,19 @@ function A() {
|
|
|
1011
1011
|
]
|
|
1012
1012
|
})] }),
|
|
1013
1013
|
j === "notifications" && /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h2", {
|
|
1014
|
-
className: "mb-6 text-lg font-semibold text-
|
|
1014
|
+
className: "mb-6 text-lg font-semibold text-text-primary sm:text-xl",
|
|
1015
1015
|
children: "Notification Preferences"
|
|
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 bg-
|
|
1019
|
+
className: "flex items-center justify-between rounded-lg border border-border-subtle 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", {
|
|
1023
|
-
className: "text-sm font-medium text-
|
|
1023
|
+
className: "text-sm font-medium text-text-primary",
|
|
1024
1024
|
children: e.label
|
|
1025
1025
|
}), /* @__PURE__ */ T("p", {
|
|
1026
|
-
className: "mt-0.5 text-xs text-
|
|
1026
|
+
className: "mt-0.5 text-xs text-text-secondary sm:text-sm",
|
|
1027
1027
|
children: e.description
|
|
1028
1028
|
})]
|
|
1029
1029
|
}), /* @__PURE__ */ T("button", {
|
|
@@ -1032,13 +1032,13 @@ function A() {
|
|
|
1032
1032
|
N && ve(e.id);
|
|
1033
1033
|
},
|
|
1034
1034
|
disabled: !N,
|
|
1035
|
-
className: t("relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full transition-colors duration-200", e.enabled ? "bg-primary" : "bg-
|
|
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
1036
|
children: /* @__PURE__ */ T("span", { className: t("pointer-events-none inline-block h-5 w-5 translate-y-0.5 rounded-full bg-white 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 bg-
|
|
1039
|
+
className: "mt-4 rounded-lg border border-border-subtle bg-bg-sunken/50 p-4",
|
|
1040
1040
|
children: /* @__PURE__ */ E("p", {
|
|
1041
|
-
className: "text-sm text-
|
|
1041
|
+
className: "text-sm text-text-secondary",
|
|
1042
1042
|
children: [
|
|
1043
1043
|
H.filter((e) => e.enabled).length,
|
|
1044
1044
|
" of ",
|