@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
|
@@ -316,7 +316,7 @@ function T() {
|
|
|
316
316
|
children: /* @__PURE__ */ y("div", {
|
|
317
317
|
className: "text-center",
|
|
318
318
|
children: [/* @__PURE__ */ v("div", { className: "mx-auto mb-4 h-12 w-12 animate-spin rounded-full border-b-2 border-primary" }), /* @__PURE__ */ v("p", {
|
|
319
|
-
className: "text-sm text-
|
|
319
|
+
className: "text-sm text-text-secondary",
|
|
320
320
|
children: "Loading opportunities..."
|
|
321
321
|
})]
|
|
322
322
|
})
|
|
@@ -325,7 +325,7 @@ function T() {
|
|
|
325
325
|
title: "Investment Opportunities",
|
|
326
326
|
description: "Discover and invest in growing local businesses",
|
|
327
327
|
actions: /* @__PURE__ */ y("span", {
|
|
328
|
-
className: "text-sm text-
|
|
328
|
+
className: "text-sm text-text-secondary",
|
|
329
329
|
children: [z.length, " opportunities"]
|
|
330
330
|
}),
|
|
331
331
|
children: [
|
|
@@ -333,19 +333,19 @@ function T() {
|
|
|
333
333
|
className: "grid grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4",
|
|
334
334
|
children: [
|
|
335
335
|
/* @__PURE__ */ y("div", {
|
|
336
|
-
className: "rounded-lg border border-border bg-
|
|
336
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-3 sm:p-4",
|
|
337
337
|
children: [/* @__PURE__ */ v("p", {
|
|
338
|
-
className: "text-xs text-
|
|
338
|
+
className: "text-xs text-text-secondary",
|
|
339
339
|
children: "Active Opportunities"
|
|
340
340
|
}), /* @__PURE__ */ v("p", {
|
|
341
|
-
className: "text-lg font-bold text-
|
|
341
|
+
className: "text-lg font-bold text-text-primary sm:text-2xl",
|
|
342
342
|
children: x.totalOpportunities
|
|
343
343
|
})]
|
|
344
344
|
}),
|
|
345
345
|
/* @__PURE__ */ y("div", {
|
|
346
|
-
className: "rounded-lg border border-border bg-
|
|
346
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-3 sm:p-4",
|
|
347
347
|
children: [/* @__PURE__ */ v("p", {
|
|
348
|
-
className: "text-xs text-
|
|
348
|
+
className: "text-xs text-text-secondary",
|
|
349
349
|
children: "Average Returns"
|
|
350
350
|
}), /* @__PURE__ */ y("p", {
|
|
351
351
|
className: "text-lg font-bold text-green-600 dark:text-green-400 sm:text-2xl",
|
|
@@ -353,12 +353,12 @@ function T() {
|
|
|
353
353
|
})]
|
|
354
354
|
}),
|
|
355
355
|
/* @__PURE__ */ y("div", {
|
|
356
|
-
className: "rounded-lg border border-border bg-
|
|
356
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-3 sm:p-4",
|
|
357
357
|
children: [/* @__PURE__ */ v("p", {
|
|
358
|
-
className: "text-xs text-
|
|
358
|
+
className: "text-xs text-text-secondary",
|
|
359
359
|
children: "Total Funded"
|
|
360
360
|
}), /* @__PURE__ */ v("p", {
|
|
361
|
-
className: "text-lg font-bold text-
|
|
361
|
+
className: "text-lg font-bold text-text-primary sm:text-2xl",
|
|
362
362
|
children: i(x.totalFunded, {
|
|
363
363
|
minimumFractionDigits: 0,
|
|
364
364
|
notation: "compact"
|
|
@@ -366,36 +366,36 @@ function T() {
|
|
|
366
366
|
})]
|
|
367
367
|
}),
|
|
368
368
|
/* @__PURE__ */ y("div", {
|
|
369
|
-
className: "rounded-lg border border-border bg-
|
|
369
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-3 sm:p-4",
|
|
370
370
|
children: [/* @__PURE__ */ v("p", {
|
|
371
|
-
className: "text-xs text-
|
|
371
|
+
className: "text-xs text-text-secondary",
|
|
372
372
|
children: "Success Rate"
|
|
373
373
|
}), /* @__PURE__ */ y("p", {
|
|
374
|
-
className: "text-lg font-bold text-
|
|
374
|
+
className: "text-lg font-bold text-text-primary sm:text-2xl",
|
|
375
375
|
children: [x.successRate, "%"]
|
|
376
376
|
})]
|
|
377
377
|
})
|
|
378
378
|
]
|
|
379
379
|
}),
|
|
380
380
|
/* @__PURE__ */ v("div", {
|
|
381
|
-
className: "mt-6 rounded-lg border border-border bg-
|
|
381
|
+
className: "mt-6 rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6",
|
|
382
382
|
children: /* @__PURE__ */ y("div", {
|
|
383
383
|
className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6",
|
|
384
384
|
children: [
|
|
385
385
|
/* @__PURE__ */ y("div", {
|
|
386
386
|
className: "relative sm:col-span-2 lg:col-span-1",
|
|
387
|
-
children: [/* @__PURE__ */ v(h, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-
|
|
387
|
+
children: [/* @__PURE__ */ v(h, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ v("input", {
|
|
388
388
|
type: "text",
|
|
389
389
|
placeholder: "Search opportunities...",
|
|
390
390
|
value: I.searchQuery,
|
|
391
391
|
onChange: (e) => R("searchQuery", e.target.value),
|
|
392
|
-
className: "w-full rounded-lg border border-border bg-
|
|
392
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 pl-10 pr-4 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
393
393
|
})]
|
|
394
394
|
}),
|
|
395
395
|
/* @__PURE__ */ y("select", {
|
|
396
396
|
value: I.category,
|
|
397
397
|
onChange: (e) => R("category", e.target.value),
|
|
398
|
-
className: "rounded-lg border border-border bg-
|
|
398
|
+
className: "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)]",
|
|
399
399
|
children: [
|
|
400
400
|
/* @__PURE__ */ v("option", {
|
|
401
401
|
value: "",
|
|
@@ -426,7 +426,7 @@ function T() {
|
|
|
426
426
|
/* @__PURE__ */ y("select", {
|
|
427
427
|
value: I.riskLevel,
|
|
428
428
|
onChange: (e) => R("riskLevel", e.target.value),
|
|
429
|
-
className: "rounded-lg border border-border bg-
|
|
429
|
+
className: "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)]",
|
|
430
430
|
children: [
|
|
431
431
|
/* @__PURE__ */ v("option", {
|
|
432
432
|
value: "",
|
|
@@ -449,7 +449,7 @@ function T() {
|
|
|
449
449
|
/* @__PURE__ */ y("select", {
|
|
450
450
|
value: I.minimumAmount,
|
|
451
451
|
onChange: (e) => R("minimumAmount", e.target.value),
|
|
452
|
-
className: "rounded-lg border border-border bg-
|
|
452
|
+
className: "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)]",
|
|
453
453
|
children: [
|
|
454
454
|
/* @__PURE__ */ v("option", {
|
|
455
455
|
value: "",
|
|
@@ -476,7 +476,7 @@ function T() {
|
|
|
476
476
|
/* @__PURE__ */ y("select", {
|
|
477
477
|
value: I.location,
|
|
478
478
|
onChange: (e) => R("location", e.target.value),
|
|
479
|
-
className: "rounded-lg border border-border bg-
|
|
479
|
+
className: "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)]",
|
|
480
480
|
children: [
|
|
481
481
|
/* @__PURE__ */ v("option", {
|
|
482
482
|
value: "",
|
|
@@ -503,7 +503,7 @@ function T() {
|
|
|
503
503
|
/* @__PURE__ */ y("select", {
|
|
504
504
|
value: I.sortBy,
|
|
505
505
|
onChange: (e) => R("sortBy", e.target.value),
|
|
506
|
-
className: "rounded-lg border border-border bg-
|
|
506
|
+
className: "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)]",
|
|
507
507
|
children: [
|
|
508
508
|
/* @__PURE__ */ v("option", {
|
|
509
509
|
value: "featured",
|
|
@@ -546,7 +546,7 @@ function T() {
|
|
|
546
546
|
location: "",
|
|
547
547
|
sortBy: "featured"
|
|
548
548
|
}),
|
|
549
|
-
className: "rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-
|
|
549
|
+
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",
|
|
550
550
|
children: "Clear Filters"
|
|
551
551
|
})
|
|
552
552
|
})
|
|
@@ -555,12 +555,12 @@ function T() {
|
|
|
555
555
|
children: z.map((e) => {
|
|
556
556
|
let n = w(e.raisedAmount, e.targetAmount);
|
|
557
557
|
return /* @__PURE__ */ y("div", {
|
|
558
|
-
className: "rounded-lg border border-border bg-
|
|
558
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm hover:shadow-md transition-shadow",
|
|
559
559
|
children: [/* @__PURE__ */ y("div", {
|
|
560
560
|
className: "relative",
|
|
561
561
|
children: [
|
|
562
562
|
/* @__PURE__ */ v("div", {
|
|
563
|
-
className: "h-40 w-full overflow-hidden rounded-t-lg bg-
|
|
563
|
+
className: "h-40 w-full overflow-hidden rounded-t-lg bg-bg-sunken sm:h-48",
|
|
564
564
|
children: /* @__PURE__ */ v("img", {
|
|
565
565
|
src: e.image,
|
|
566
566
|
alt: e.cartName,
|
|
@@ -586,17 +586,17 @@ function T() {
|
|
|
586
586
|
className: "flex-1",
|
|
587
587
|
children: [
|
|
588
588
|
/* @__PURE__ */ v("h3", {
|
|
589
|
-
className: "text-base font-semibold text-
|
|
589
|
+
className: "text-base font-semibold text-text-primary sm:text-xl",
|
|
590
590
|
children: e.cartName
|
|
591
591
|
}),
|
|
592
592
|
/* @__PURE__ */ y("p", {
|
|
593
|
-
className: "text-xs text-
|
|
593
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
594
594
|
children: ["by ", e.cartOwner]
|
|
595
595
|
}),
|
|
596
596
|
/* @__PURE__ */ y("div", {
|
|
597
597
|
className: "mt-2 flex flex-wrap items-center gap-2",
|
|
598
598
|
children: [/* @__PURE__ */ v("span", {
|
|
599
|
-
className: "text-xs text-
|
|
599
|
+
className: "text-xs text-text-secondary sm:text-sm",
|
|
600
600
|
children: e.category
|
|
601
601
|
}), /* @__PURE__ */ v("span", {
|
|
602
602
|
className: t("rounded-full px-2 py-0.5 text-xs font-medium", S(e.riskLevel)),
|
|
@@ -610,13 +610,13 @@ function T() {
|
|
|
610
610
|
className: "text-xl font-bold text-green-600 dark:text-green-400 sm:text-2xl",
|
|
611
611
|
children: [e.expectedReturns, "%"]
|
|
612
612
|
}), /* @__PURE__ */ v("p", {
|
|
613
|
-
className: "text-xs text-
|
|
613
|
+
className: "text-xs text-text-secondary",
|
|
614
614
|
children: "Expected Returns"
|
|
615
615
|
})]
|
|
616
616
|
})]
|
|
617
617
|
}),
|
|
618
618
|
/* @__PURE__ */ v("p", {
|
|
619
|
-
className: "mb-4 text-sm leading-relaxed text-
|
|
619
|
+
className: "mb-4 text-sm leading-relaxed text-text-secondary line-clamp-2",
|
|
620
620
|
children: e.description
|
|
621
621
|
}),
|
|
622
622
|
/* @__PURE__ */ y("div", {
|
|
@@ -625,26 +625,26 @@ function T() {
|
|
|
625
625
|
/* @__PURE__ */ y("div", {
|
|
626
626
|
className: "mb-1 flex justify-between text-xs sm:text-sm",
|
|
627
627
|
children: [/* @__PURE__ */ y("span", {
|
|
628
|
-
className: "font-medium text-
|
|
628
|
+
className: "font-medium text-text-primary",
|
|
629
629
|
children: [
|
|
630
630
|
i(e.raisedAmount, { minimumFractionDigits: 0 }),
|
|
631
631
|
" ",
|
|
632
632
|
"raised"
|
|
633
633
|
]
|
|
634
634
|
}), /* @__PURE__ */ y("span", {
|
|
635
|
-
className: "text-
|
|
635
|
+
className: "text-text-secondary",
|
|
636
636
|
children: ["of ", i(e.targetAmount, { minimumFractionDigits: 0 })]
|
|
637
637
|
})]
|
|
638
638
|
}),
|
|
639
639
|
/* @__PURE__ */ v("div", {
|
|
640
|
-
className: "h-2 w-full overflow-hidden rounded-full bg-
|
|
640
|
+
className: "h-2 w-full overflow-hidden rounded-full bg-bg-sunken",
|
|
641
641
|
children: /* @__PURE__ */ v("div", {
|
|
642
|
-
className: "h-full rounded-full bg-primary transition-all duration-300",
|
|
642
|
+
className: "h-full rounded-full bg-action-primary-bg transition-all duration-300",
|
|
643
643
|
style: { width: `${n}%` }
|
|
644
644
|
})
|
|
645
645
|
}),
|
|
646
646
|
/* @__PURE__ */ y("div", {
|
|
647
|
-
className: "mt-1 flex justify-between text-xs text-
|
|
647
|
+
className: "mt-1 flex justify-between text-xs text-text-secondary",
|
|
648
648
|
children: [/* @__PURE__ */ y("span", { children: [e.investorCount, " investors"] }), /* @__PURE__ */ y("span", { children: [n.toFixed(0), "% funded"] })]
|
|
649
649
|
})
|
|
650
650
|
]
|
|
@@ -653,35 +653,35 @@ function T() {
|
|
|
653
653
|
className: "mb-4 grid grid-cols-3 gap-2 text-center sm:gap-4",
|
|
654
654
|
children: [
|
|
655
655
|
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
|
|
656
|
-
className: "text-sm font-bold text-
|
|
656
|
+
className: "text-sm font-bold text-text-primary sm:text-lg",
|
|
657
657
|
children: i(e.minimumInvestment, { minimumFractionDigits: 0 })
|
|
658
658
|
}), /* @__PURE__ */ v("p", {
|
|
659
|
-
className: "text-xs text-
|
|
659
|
+
className: "text-xs text-text-secondary",
|
|
660
660
|
children: "Min Investment"
|
|
661
661
|
})] }),
|
|
662
662
|
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ y("p", {
|
|
663
|
-
className: "text-sm font-bold text-
|
|
663
|
+
className: "text-sm font-bold text-text-primary sm:text-lg",
|
|
664
664
|
children: [e.paybackPeriod, " mo"]
|
|
665
665
|
}), /* @__PURE__ */ v("p", {
|
|
666
|
-
className: "text-xs text-
|
|
666
|
+
className: "text-xs text-text-secondary",
|
|
667
667
|
children: "Payback Period"
|
|
668
668
|
})] }),
|
|
669
669
|
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ y("div", {
|
|
670
670
|
className: "flex items-center justify-center gap-1",
|
|
671
671
|
children: [/* @__PURE__ */ v(g, { className: "h-3.5 w-3.5 fill-yellow-400 text-yellow-400" }), /* @__PURE__ */ v("p", {
|
|
672
|
-
className: "text-sm font-bold text-
|
|
672
|
+
className: "text-sm font-bold text-text-primary sm:text-lg",
|
|
673
673
|
children: e.businessMetrics.rating
|
|
674
674
|
})]
|
|
675
675
|
}), /* @__PURE__ */ v("p", {
|
|
676
|
-
className: "text-xs text-
|
|
676
|
+
className: "text-xs text-text-secondary",
|
|
677
677
|
children: "Rating"
|
|
678
678
|
})] })
|
|
679
679
|
]
|
|
680
680
|
}),
|
|
681
681
|
/* @__PURE__ */ y("div", {
|
|
682
|
-
className: "mb-4 border-t border-border pt-3 sm:pt-4",
|
|
682
|
+
className: "mb-4 border-t border-border-subtle pt-3 sm:pt-4",
|
|
683
683
|
children: [/* @__PURE__ */ v("p", {
|
|
684
|
-
className: "mb-2 text-xs font-medium text-
|
|
684
|
+
className: "mb-2 text-xs font-medium text-text-secondary sm:text-sm",
|
|
685
685
|
children: "Business Performance"
|
|
686
686
|
}), /* @__PURE__ */ y("div", {
|
|
687
687
|
className: "grid grid-cols-1 gap-2 text-xs sm:grid-cols-2 sm:text-sm",
|
|
@@ -689,40 +689,40 @@ function T() {
|
|
|
689
689
|
/* @__PURE__ */ y("div", {
|
|
690
690
|
className: "flex justify-between",
|
|
691
691
|
children: [/* @__PURE__ */ v("span", {
|
|
692
|
-
className: "text-
|
|
692
|
+
className: "text-text-secondary",
|
|
693
693
|
children: "Monthly Revenue:"
|
|
694
694
|
}), /* @__PURE__ */ v("span", {
|
|
695
|
-
className: "font-medium text-
|
|
695
|
+
className: "font-medium text-text-primary",
|
|
696
696
|
children: i(e.businessMetrics.monthlyRevenue, { minimumFractionDigits: 0 })
|
|
697
697
|
})]
|
|
698
698
|
}),
|
|
699
699
|
/* @__PURE__ */ y("div", {
|
|
700
700
|
className: "flex justify-between",
|
|
701
701
|
children: [/* @__PURE__ */ v("span", {
|
|
702
|
-
className: "text-
|
|
702
|
+
className: "text-text-secondary",
|
|
703
703
|
children: "Gross Margin:"
|
|
704
704
|
}), /* @__PURE__ */ y("span", {
|
|
705
|
-
className: "font-medium text-
|
|
705
|
+
className: "font-medium text-text-primary",
|
|
706
706
|
children: [e.financials.grossMargin, "%"]
|
|
707
707
|
})]
|
|
708
708
|
}),
|
|
709
709
|
/* @__PURE__ */ y("div", {
|
|
710
710
|
className: "flex justify-between",
|
|
711
711
|
children: [/* @__PURE__ */ v("span", {
|
|
712
|
-
className: "text-
|
|
712
|
+
className: "text-text-secondary",
|
|
713
713
|
children: "Monthly Orders:"
|
|
714
714
|
}), /* @__PURE__ */ v("span", {
|
|
715
|
-
className: "font-medium text-
|
|
715
|
+
className: "font-medium text-text-primary",
|
|
716
716
|
children: a(e.businessMetrics.monthlyOrders)
|
|
717
717
|
})]
|
|
718
718
|
}),
|
|
719
719
|
/* @__PURE__ */ y("div", {
|
|
720
720
|
className: "flex justify-between",
|
|
721
721
|
children: [/* @__PURE__ */ v("span", {
|
|
722
|
-
className: "text-
|
|
722
|
+
className: "text-text-secondary",
|
|
723
723
|
children: "Net Margin:"
|
|
724
724
|
}), /* @__PURE__ */ y("span", {
|
|
725
|
-
className: "font-medium text-
|
|
725
|
+
className: "font-medium text-text-primary",
|
|
726
726
|
children: [e.financials.netMargin, "%"]
|
|
727
727
|
})]
|
|
728
728
|
})
|
|
@@ -730,14 +730,14 @@ function T() {
|
|
|
730
730
|
})]
|
|
731
731
|
}),
|
|
732
732
|
/* @__PURE__ */ v("div", {
|
|
733
|
-
className: "mb-4 border-t border-border pt-3",
|
|
733
|
+
className: "mb-4 border-t border-border-subtle pt-3",
|
|
734
734
|
children: /* @__PURE__ */ y("div", {
|
|
735
|
-
className: "flex items-center gap-1.5 text-xs text-
|
|
735
|
+
className: "flex items-center gap-1.5 text-xs text-text-secondary",
|
|
736
736
|
children: [/* @__PURE__ */ v(f, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ y("span", { children: [e.documents.length, " documents available"] })]
|
|
737
737
|
})
|
|
738
738
|
}),
|
|
739
739
|
/* @__PURE__ */ y("div", {
|
|
740
|
-
className: "mb-4 flex items-center gap-1.5 text-xs text-
|
|
740
|
+
className: "mb-4 flex items-center gap-1.5 text-xs text-text-secondary",
|
|
741
741
|
children: [/* @__PURE__ */ v(m, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ v("span", { children: e.location })]
|
|
742
742
|
}),
|
|
743
743
|
/* @__PURE__ */ y("div", {
|
|
@@ -746,12 +746,12 @@ function T() {
|
|
|
746
746
|
type: "button",
|
|
747
747
|
onClick: () => V(e),
|
|
748
748
|
disabled: e.status === "funded",
|
|
749
|
-
className: t("flex-1 rounded-lg px-4 py-2.5 text-sm font-medium transition-colors", e.status === "funded" ? "cursor-not-allowed bg-
|
|
749
|
+
className: t("flex-1 rounded-lg px-4 py-2.5 text-sm font-medium transition-colors", e.status === "funded" ? "cursor-not-allowed bg-bg-sunken text-text-secondary" : "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90"),
|
|
750
750
|
children: e.status === "funded" ? "Fully Funded" : "Invest Now"
|
|
751
751
|
}), /* @__PURE__ */ y("button", {
|
|
752
752
|
type: "button",
|
|
753
753
|
onClick: () => T(`/investor/opportunities/${e.id}`),
|
|
754
|
-
className: "flex flex-1 items-center justify-center gap-2 rounded-lg border border-border px-4 py-2.5 text-sm font-medium text-
|
|
754
|
+
className: "flex flex-1 items-center justify-center gap-2 rounded-lg border border-border-subtle px-4 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
755
755
|
children: [/* @__PURE__ */ v(d, { className: "h-4 w-4" }), "View Details"]
|
|
756
756
|
})]
|
|
757
757
|
})
|
|
@@ -763,18 +763,18 @@ function T() {
|
|
|
763
763
|
A && O && /* @__PURE__ */ v("div", {
|
|
764
764
|
className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",
|
|
765
765
|
children: /* @__PURE__ */ y("div", {
|
|
766
|
-
className: "relative max-h-[90vh] w-full max-w-md overflow-y-auto rounded-lg border border-border bg-
|
|
766
|
+
className: "relative max-h-[90vh] w-full max-w-md overflow-y-auto rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6",
|
|
767
767
|
children: [
|
|
768
768
|
/* @__PURE__ */ v("button", {
|
|
769
769
|
type: "button",
|
|
770
770
|
onClick: () => {
|
|
771
771
|
j(!1), N(""), F("idle");
|
|
772
772
|
},
|
|
773
|
-
className: "absolute right-3 top-3 rounded-lg p-1 text-
|
|
773
|
+
className: "absolute right-3 top-3 rounded-lg p-1 text-text-secondary hover:bg-accent transition-colors",
|
|
774
774
|
children: /* @__PURE__ */ v(_, { className: "h-5 w-5" })
|
|
775
775
|
}),
|
|
776
776
|
/* @__PURE__ */ y("h3", {
|
|
777
|
-
className: "mb-4 text-base font-semibold text-
|
|
777
|
+
className: "mb-4 text-base font-semibold text-text-primary sm:text-lg",
|
|
778
778
|
children: ["Invest in ", O.cartName]
|
|
779
779
|
}),
|
|
780
780
|
P === "success" ? /* @__PURE__ */ y("div", {
|
|
@@ -782,11 +782,11 @@ function T() {
|
|
|
782
782
|
children: [
|
|
783
783
|
/* @__PURE__ */ v(u, { className: "mx-auto mb-3 h-12 w-12 text-green-600 dark:text-green-400" }),
|
|
784
784
|
/* @__PURE__ */ v("p", {
|
|
785
|
-
className: "text-sm font-medium text-
|
|
785
|
+
className: "text-sm font-medium text-text-primary",
|
|
786
786
|
children: "Investment successful!"
|
|
787
787
|
}),
|
|
788
788
|
/* @__PURE__ */ v("p", {
|
|
789
|
-
className: "mt-1 text-xs text-
|
|
789
|
+
className: "mt-1 text-xs text-text-secondary",
|
|
790
790
|
children: "Redirecting to your portfolio..."
|
|
791
791
|
})
|
|
792
792
|
]
|
|
@@ -794,10 +794,10 @@ function T() {
|
|
|
794
794
|
className: "space-y-4",
|
|
795
795
|
children: [
|
|
796
796
|
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
|
|
797
|
-
className: "mb-1 text-xs text-
|
|
797
|
+
className: "mb-1 text-xs text-text-secondary sm:text-sm",
|
|
798
798
|
children: "Investment Range"
|
|
799
799
|
}), /* @__PURE__ */ y("p", {
|
|
800
|
-
className: "text-sm font-medium text-
|
|
800
|
+
className: "text-sm font-medium text-text-primary sm:text-base",
|
|
801
801
|
children: [
|
|
802
802
|
i(O.minimumInvestment, { minimumFractionDigits: 0 }),
|
|
803
803
|
" ",
|
|
@@ -808,19 +808,19 @@ function T() {
|
|
|
808
808
|
})] }),
|
|
809
809
|
/* @__PURE__ */ y("div", { children: [
|
|
810
810
|
/* @__PURE__ */ v("label", {
|
|
811
|
-
className: "mb-1 block text-xs font-medium text-
|
|
811
|
+
className: "mb-1 block text-xs font-medium text-text-primary sm:text-sm",
|
|
812
812
|
children: "Investment Amount"
|
|
813
813
|
}),
|
|
814
814
|
/* @__PURE__ */ y("div", {
|
|
815
815
|
className: "relative",
|
|
816
|
-
children: [/* @__PURE__ */ v(p, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-
|
|
816
|
+
children: [/* @__PURE__ */ v(p, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ v("input", {
|
|
817
817
|
type: "number",
|
|
818
818
|
value: M,
|
|
819
819
|
onChange: (e) => {
|
|
820
820
|
N(e.target.value), F("idle");
|
|
821
821
|
},
|
|
822
822
|
placeholder: "Enter amount",
|
|
823
|
-
className: "w-full rounded-lg border border-border bg-
|
|
823
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2 pl-10 pr-4 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
824
824
|
})]
|
|
825
825
|
}),
|
|
826
826
|
P === "error" && /* @__PURE__ */ y("p", {
|
|
@@ -837,9 +837,9 @@ function T() {
|
|
|
837
837
|
})
|
|
838
838
|
] }),
|
|
839
839
|
M && !isNaN(parseInt(M, 10)) && parseInt(M, 10) > 0 && /* @__PURE__ */ y("div", {
|
|
840
|
-
className: "rounded-lg border border-border bg-
|
|
840
|
+
className: "rounded-lg border border-border-subtle bg-bg-sunken/50 p-3 sm:p-4",
|
|
841
841
|
children: [/* @__PURE__ */ v("p", {
|
|
842
|
-
className: "mb-2 text-xs text-
|
|
842
|
+
className: "mb-2 text-xs text-text-secondary sm:text-sm",
|
|
843
843
|
children: "Expected Returns"
|
|
844
844
|
}), /* @__PURE__ */ y("div", {
|
|
845
845
|
className: "space-y-1.5",
|
|
@@ -847,17 +847,17 @@ function T() {
|
|
|
847
847
|
/* @__PURE__ */ y("div", {
|
|
848
848
|
className: "flex justify-between",
|
|
849
849
|
children: [/* @__PURE__ */ v("span", {
|
|
850
|
-
className: "text-xs text-
|
|
850
|
+
className: "text-xs text-text-primary sm:text-sm",
|
|
851
851
|
children: "Investment:"
|
|
852
852
|
}), /* @__PURE__ */ v("span", {
|
|
853
|
-
className: "text-xs font-medium text-
|
|
853
|
+
className: "text-xs font-medium text-text-primary sm:text-sm",
|
|
854
854
|
children: i(parseInt(M, 10), { minimumFractionDigits: 0 })
|
|
855
855
|
})]
|
|
856
856
|
}),
|
|
857
857
|
/* @__PURE__ */ y("div", {
|
|
858
858
|
className: "flex justify-between",
|
|
859
859
|
children: [/* @__PURE__ */ y("span", {
|
|
860
|
-
className: "text-xs text-
|
|
860
|
+
className: "text-xs text-text-primary sm:text-sm",
|
|
861
861
|
children: [
|
|
862
862
|
"Expected Return (",
|
|
863
863
|
O.expectedReturns,
|
|
@@ -869,12 +869,12 @@ function T() {
|
|
|
869
869
|
})]
|
|
870
870
|
}),
|
|
871
871
|
/* @__PURE__ */ y("div", {
|
|
872
|
-
className: "flex justify-between border-t border-border pt-2",
|
|
872
|
+
className: "flex justify-between border-t border-border-subtle pt-2",
|
|
873
873
|
children: [/* @__PURE__ */ v("span", {
|
|
874
|
-
className: "text-xs font-medium text-
|
|
874
|
+
className: "text-xs font-medium text-text-primary sm:text-sm",
|
|
875
875
|
children: "Total Value:"
|
|
876
876
|
}), /* @__PURE__ */ v("span", {
|
|
877
|
-
className: "text-xs font-bold text-
|
|
877
|
+
className: "text-xs font-bold text-text-primary sm:text-sm",
|
|
878
878
|
children: i(parseInt(M, 10) * (1 + O.expectedReturns / 100), { minimumFractionDigits: 0 })
|
|
879
879
|
})]
|
|
880
880
|
})
|
|
@@ -882,7 +882,7 @@ function T() {
|
|
|
882
882
|
})]
|
|
883
883
|
}),
|
|
884
884
|
/* @__PURE__ */ y("div", {
|
|
885
|
-
className: "space-y-1 text-xs text-
|
|
885
|
+
className: "space-y-1 text-xs text-text-secondary sm:text-sm",
|
|
886
886
|
children: [
|
|
887
887
|
/* @__PURE__ */ y("p", { children: [
|
|
888
888
|
"• Minimum lock-in period:",
|
|
@@ -915,13 +915,13 @@ function T() {
|
|
|
915
915
|
onClick: () => {
|
|
916
916
|
j(!1), N(""), F("idle");
|
|
917
917
|
},
|
|
918
|
-
className: "flex-1 rounded-lg border border-border px-4 py-2.5 text-sm font-medium text-
|
|
918
|
+
className: "flex-1 rounded-lg border border-border-subtle px-4 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
919
919
|
children: "Cancel"
|
|
920
920
|
}), /* @__PURE__ */ v("button", {
|
|
921
921
|
type: "button",
|
|
922
922
|
onClick: B,
|
|
923
923
|
disabled: !M || isNaN(parseInt(M, 10)) || parseInt(M, 10) < O.minimumInvestment,
|
|
924
|
-
className: t("flex-1 rounded-lg px-4 py-2.5 text-sm font-medium transition-colors", !M || isNaN(parseInt(M, 10)) || parseInt(M, 10) < O.minimumInvestment ? "cursor-not-allowed bg-
|
|
924
|
+
className: t("flex-1 rounded-lg px-4 py-2.5 text-sm font-medium transition-colors", !M || isNaN(parseInt(M, 10)) || parseInt(M, 10) < O.minimumInvestment ? "cursor-not-allowed bg-bg-sunken text-text-secondary" : "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90"),
|
|
925
925
|
children: "Confirm Investment"
|
|
926
926
|
})]
|
|
927
927
|
})
|