@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
|
@@ -39,7 +39,7 @@ var Y = {
|
|
|
39
39
|
description: "Manage preferences",
|
|
40
40
|
icon: /* @__PURE__ */ q(F, { className: "h-5 w-5" }),
|
|
41
41
|
path: "/settings",
|
|
42
|
-
color: "bg-
|
|
42
|
+
color: "bg-bg-sunken text-text-secondary"
|
|
43
43
|
}
|
|
44
44
|
],
|
|
45
45
|
cart_owner: [
|
|
@@ -481,13 +481,13 @@ function te() {
|
|
|
481
481
|
children: /* @__PURE__ */ J("div", {
|
|
482
482
|
className: "flex h-[60vh] flex-col items-center justify-center gap-4",
|
|
483
483
|
children: [
|
|
484
|
-
/* @__PURE__ */ q(h, { className: "h-12 w-12 text-
|
|
484
|
+
/* @__PURE__ */ q(h, { className: "h-12 w-12 text-status-error-text" }),
|
|
485
485
|
/* @__PURE__ */ q("h2", {
|
|
486
486
|
className: "text-xl font-semibold",
|
|
487
487
|
children: D("adaptercloud.common.errorLoading", "Error loading data")
|
|
488
488
|
}),
|
|
489
489
|
/* @__PURE__ */ q("p", {
|
|
490
|
-
className: "text-
|
|
490
|
+
className: "text-text-secondary",
|
|
491
491
|
children: D("adaptercloud.common.tryAgain", "Please try again later.")
|
|
492
492
|
})
|
|
493
493
|
]
|
|
@@ -497,27 +497,27 @@ function te() {
|
|
|
497
497
|
description: F[M],
|
|
498
498
|
children: [
|
|
499
499
|
U && /* @__PURE__ */ q("section", {
|
|
500
|
-
className: "mb-6 rounded-xl border border-border bg-gradient-to-r from-primary/5 via-primary/10 to-primary/5 p-6",
|
|
500
|
+
className: "mb-6 rounded-xl border border-border-subtle bg-gradient-to-r from-primary/5 via-primary/10 to-primary/5 p-6",
|
|
501
501
|
children: /* @__PURE__ */ J("div", {
|
|
502
502
|
className: "flex items-start gap-4",
|
|
503
503
|
children: [/* @__PURE__ */ q("div", {
|
|
504
|
-
className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-primary/10",
|
|
504
|
+
className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-action-primary-bg/10",
|
|
505
505
|
children: /* @__PURE__ */ q(z, { className: "h-6 w-6 text-primary" })
|
|
506
506
|
}), /* @__PURE__ */ J("div", {
|
|
507
507
|
className: "flex-1",
|
|
508
508
|
children: [
|
|
509
509
|
/* @__PURE__ */ q("h2", {
|
|
510
|
-
className: "text-lg font-semibold text-
|
|
510
|
+
className: "text-lg font-semibold text-text-primary",
|
|
511
511
|
children: D("adaptercloud.home.welcomeTitle", "Welcome to AdapterCloud!")
|
|
512
512
|
}),
|
|
513
513
|
/* @__PURE__ */ q("p", {
|
|
514
|
-
className: "mt-1 text-sm text-
|
|
514
|
+
className: "mt-1 text-sm text-text-secondary",
|
|
515
515
|
children: D("adaptercloud.home.welcomeDescription", "Your local services marketplace. Start by exploring service providers near you or browse categories to find what you need.")
|
|
516
516
|
}),
|
|
517
517
|
/* @__PURE__ */ J("button", {
|
|
518
518
|
type: "button",
|
|
519
519
|
onClick: () => v("/customer/carts"),
|
|
520
|
-
className: "mt-3 inline-flex items-center gap-1.5 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-
|
|
520
|
+
className: "mt-3 inline-flex items-center gap-1.5 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",
|
|
521
521
|
children: [/* @__PURE__ */ q(P, { className: "h-4 w-4" }), D("adaptercloud.home.exploreServices", "Explore Services")]
|
|
522
522
|
})
|
|
523
523
|
]
|
|
@@ -525,19 +525,19 @@ function te() {
|
|
|
525
525
|
})
|
|
526
526
|
}),
|
|
527
527
|
/* @__PURE__ */ q("section", {
|
|
528
|
-
className: "mb-6 rounded-xl border border-border bg-
|
|
528
|
+
className: "mb-6 rounded-xl border border-border-subtle bg-bg-surface p-6",
|
|
529
529
|
children: /* @__PURE__ */ J("div", {
|
|
530
530
|
className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
|
|
531
531
|
children: [/* @__PURE__ */ J("div", { children: [
|
|
532
532
|
/* @__PURE__ */ q("div", {
|
|
533
533
|
className: "flex items-center gap-2 mb-1",
|
|
534
534
|
children: /* @__PURE__ */ J("span", {
|
|
535
|
-
className: "inline-flex items-center rounded-full bg-primary/10 px-2.5 py-0.5 text-xs font-medium text-primary",
|
|
535
|
+
className: "inline-flex items-center rounded-full bg-action-primary-bg/10 px-2.5 py-0.5 text-xs font-medium text-primary",
|
|
536
536
|
children: [/* @__PURE__ */ q(_, { className: "mr-1 h-3 w-3" }), N[M]]
|
|
537
537
|
})
|
|
538
538
|
}),
|
|
539
539
|
/* @__PURE__ */ J("h2", {
|
|
540
|
-
className: "text-xl font-bold text-
|
|
540
|
+
className: "text-xl font-bold text-text-primary",
|
|
541
541
|
children: [
|
|
542
542
|
D("adaptercloud.home.good", "Good"),
|
|
543
543
|
" ",
|
|
@@ -547,17 +547,17 @@ function te() {
|
|
|
547
547
|
]
|
|
548
548
|
}),
|
|
549
549
|
/* @__PURE__ */ q("p", {
|
|
550
|
-
className: "mt-1 text-sm text-
|
|
550
|
+
className: "mt-1 text-sm text-text-secondary",
|
|
551
551
|
children: F[M]
|
|
552
552
|
})
|
|
553
553
|
] }), /* @__PURE__ */ J("div", {
|
|
554
554
|
className: "relative w-full sm:w-72",
|
|
555
|
-
children: [/* @__PURE__ */ q(P, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-
|
|
555
|
+
children: [/* @__PURE__ */ q(P, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ q("input", {
|
|
556
556
|
type: "text",
|
|
557
557
|
placeholder: D("adaptercloud.home.searchPlaceholder", "Search services, carts..."),
|
|
558
558
|
value: x,
|
|
559
559
|
onChange: (e) => C(e.target.value),
|
|
560
|
-
className: "w-full rounded-lg border border-border bg-
|
|
560
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-2.5 pl-10 pr-3 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
561
561
|
})]
|
|
562
562
|
})]
|
|
563
563
|
})
|
|
@@ -565,7 +565,7 @@ function te() {
|
|
|
565
565
|
/* @__PURE__ */ J("section", {
|
|
566
566
|
className: "mb-8",
|
|
567
567
|
children: [/* @__PURE__ */ q("h2", {
|
|
568
|
-
className: "text-lg font-semibold text-
|
|
568
|
+
className: "text-lg font-semibold text-text-primary mb-4",
|
|
569
569
|
children: D("adaptercloud.home.quickStats", "Quick Stats")
|
|
570
570
|
}), /* @__PURE__ */ q("div", {
|
|
571
571
|
className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
|
|
@@ -581,14 +581,14 @@ function te() {
|
|
|
581
581
|
/* @__PURE__ */ J("section", {
|
|
582
582
|
className: "mb-8",
|
|
583
583
|
children: [/* @__PURE__ */ q("h2", {
|
|
584
|
-
className: "text-lg font-semibold text-
|
|
584
|
+
className: "text-lg font-semibold text-text-primary mb-4",
|
|
585
585
|
children: D("adaptercloud.home.quickActions", "Quick Actions")
|
|
586
586
|
}), /* @__PURE__ */ q("div", {
|
|
587
587
|
className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
|
|
588
588
|
children: I.map((e) => /* @__PURE__ */ J("button", {
|
|
589
589
|
type: "button",
|
|
590
590
|
onClick: () => v(e.path),
|
|
591
|
-
className: t("flex items-start gap-3 rounded-lg border border-border bg-
|
|
591
|
+
className: t("flex items-start gap-3 rounded-lg border border-border-subtle bg-bg-surface p-4 text-left shadow-sm transition-all", "hover:border-accent-foreground/20 hover:shadow-md"),
|
|
592
592
|
children: [
|
|
593
593
|
/* @__PURE__ */ q("div", {
|
|
594
594
|
className: t("flex h-10 w-10 shrink-0 items-center justify-center rounded-lg", e.color),
|
|
@@ -597,14 +597,14 @@ function te() {
|
|
|
597
597
|
/* @__PURE__ */ J("div", {
|
|
598
598
|
className: "min-w-0 flex-1",
|
|
599
599
|
children: [/* @__PURE__ */ q("p", {
|
|
600
|
-
className: "text-sm font-semibold text-
|
|
600
|
+
className: "text-sm font-semibold text-text-primary",
|
|
601
601
|
children: e.label
|
|
602
602
|
}), /* @__PURE__ */ q("p", {
|
|
603
|
-
className: "mt-0.5 text-xs text-
|
|
603
|
+
className: "mt-0.5 text-xs text-text-secondary",
|
|
604
604
|
children: e.description
|
|
605
605
|
})]
|
|
606
606
|
}),
|
|
607
|
-
/* @__PURE__ */ q(g, { className: "h-4 w-4 text-
|
|
607
|
+
/* @__PURE__ */ q(g, { className: "h-4 w-4 text-text-secondary shrink-0 mt-1" })
|
|
608
608
|
]
|
|
609
609
|
}, e.label))
|
|
610
610
|
})]
|
|
@@ -614,7 +614,7 @@ function te() {
|
|
|
614
614
|
children: [/* @__PURE__ */ J("div", {
|
|
615
615
|
className: "flex items-center justify-between mb-4",
|
|
616
616
|
children: [/* @__PURE__ */ q("h2", {
|
|
617
|
-
className: "text-lg font-semibold text-
|
|
617
|
+
className: "text-lg font-semibold text-text-primary",
|
|
618
618
|
children: x ? D("adaptercloud.home.searchResults", "Search Results") : D("adaptercloud.home.featuredCarts", "Featured Carts")
|
|
619
619
|
}), /* @__PURE__ */ J("button", {
|
|
620
620
|
type: "button",
|
|
@@ -633,7 +633,7 @@ function te() {
|
|
|
633
633
|
action: /* @__PURE__ */ q("button", {
|
|
634
634
|
type: "button",
|
|
635
635
|
onClick: () => C(""),
|
|
636
|
-
className: "rounded-lg border border-border px-4 py-2 text-sm font-medium text-
|
|
636
|
+
className: "rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
637
637
|
children: D("adaptercloud.home.clearSearch", "Clear Search")
|
|
638
638
|
})
|
|
639
639
|
}) : /* @__PURE__ */ q("div", {
|
|
@@ -645,9 +645,9 @@ function te() {
|
|
|
645
645
|
onKeyDown: (t) => {
|
|
646
646
|
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), v(`/customer/cart/${e.id}`));
|
|
647
647
|
},
|
|
648
|
-
className: "rounded-lg border border-border bg-
|
|
648
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface shadow-sm overflow-hidden transition-all hover:shadow-md hover:border-accent-foreground/20 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
|
|
649
649
|
children: [/* @__PURE__ */ J("div", {
|
|
650
|
-
className: "relative h-40 bg-
|
|
650
|
+
className: "relative h-40 bg-bg-sunken",
|
|
651
651
|
children: [
|
|
652
652
|
/* @__PURE__ */ q("img", {
|
|
653
653
|
src: e.image,
|
|
@@ -691,10 +691,10 @@ function te() {
|
|
|
691
691
|
children: [/* @__PURE__ */ J("div", {
|
|
692
692
|
className: "min-w-0 flex-1",
|
|
693
693
|
children: [/* @__PURE__ */ q("h3", {
|
|
694
|
-
className: "text-base font-semibold text-
|
|
694
|
+
className: "text-base font-semibold text-text-primary truncate",
|
|
695
695
|
children: e.name
|
|
696
696
|
}), /* @__PURE__ */ q("p", {
|
|
697
|
-
className: "mt-0.5 text-sm text-
|
|
697
|
+
className: "mt-0.5 text-sm text-text-secondary",
|
|
698
698
|
children: e.category
|
|
699
699
|
})]
|
|
700
700
|
}), /* @__PURE__ */ J("div", {
|
|
@@ -706,7 +706,7 @@ function te() {
|
|
|
706
706
|
})]
|
|
707
707
|
}),
|
|
708
708
|
/* @__PURE__ */ J("div", {
|
|
709
|
-
className: "mt-3 flex items-center gap-4 text-xs text-
|
|
709
|
+
className: "mt-3 flex items-center gap-4 text-xs text-text-secondary",
|
|
710
710
|
children: [
|
|
711
711
|
/* @__PURE__ */ J("span", {
|
|
712
712
|
className: "flex items-center gap-1",
|
|
@@ -741,7 +741,7 @@ function te() {
|
|
|
741
741
|
e.serviceTypes && e.serviceTypes.length > 0 && /* @__PURE__ */ q("div", {
|
|
742
742
|
className: "mt-3 flex flex-wrap gap-1.5",
|
|
743
743
|
children: e.serviceTypes.slice(0, 3).map((e) => /* @__PURE__ */ q("span", {
|
|
744
|
-
className: "inline-flex items-center rounded-full bg-
|
|
744
|
+
className: "inline-flex items-center rounded-full bg-bg-sunken px-2 py-0.5 text-xs text-text-secondary",
|
|
745
745
|
children: e.replace(/_/g, " ")
|
|
746
746
|
}, e))
|
|
747
747
|
})
|
|
@@ -755,7 +755,7 @@ function te() {
|
|
|
755
755
|
children: [/* @__PURE__ */ J("div", {
|
|
756
756
|
className: "flex items-center justify-between mb-4",
|
|
757
757
|
children: [/* @__PURE__ */ q("h2", {
|
|
758
|
-
className: "text-lg font-semibold text-
|
|
758
|
+
className: "text-lg font-semibold text-text-primary",
|
|
759
759
|
children: D("adaptercloud.home.recentOrders", "Recent Orders")
|
|
760
760
|
}), /* @__PURE__ */ J("button", {
|
|
761
761
|
type: "button",
|
|
@@ -768,7 +768,7 @@ function te() {
|
|
|
768
768
|
]
|
|
769
769
|
})]
|
|
770
770
|
}), /* @__PURE__ */ q("div", {
|
|
771
|
-
className: "rounded-lg border border-border bg-
|
|
771
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface divide-y divide-border",
|
|
772
772
|
children: V.map((e) => /* @__PURE__ */ J("div", {
|
|
773
773
|
role: "button",
|
|
774
774
|
tabIndex: 0,
|
|
@@ -788,21 +788,21 @@ function te() {
|
|
|
788
788
|
children: [/* @__PURE__ */ J("div", {
|
|
789
789
|
className: "flex items-center gap-2",
|
|
790
790
|
children: [/* @__PURE__ */ q("p", {
|
|
791
|
-
className: "text-sm font-medium text-
|
|
791
|
+
className: "text-sm font-medium text-text-primary truncate",
|
|
792
792
|
children: e.cartName
|
|
793
793
|
}), /* @__PURE__ */ q(i, { status: e.status })]
|
|
794
794
|
}), /* @__PURE__ */ q("p", {
|
|
795
|
-
className: "text-xs text-
|
|
795
|
+
className: "text-xs text-text-secondary mt-0.5",
|
|
796
796
|
children: e.items.map((e) => e.name).join(", ")
|
|
797
797
|
})]
|
|
798
798
|
}),
|
|
799
799
|
/* @__PURE__ */ J("div", {
|
|
800
800
|
className: "text-right shrink-0",
|
|
801
801
|
children: [/* @__PURE__ */ q("p", {
|
|
802
|
-
className: "text-sm font-semibold text-
|
|
802
|
+
className: "text-sm font-semibold text-text-primary",
|
|
803
803
|
children: s(e.total, { minimumFractionDigits: 0 })
|
|
804
804
|
}), /* @__PURE__ */ q("p", {
|
|
805
|
-
className: "text-xs text-
|
|
805
|
+
className: "text-xs text-text-secondary",
|
|
806
806
|
children: l(e.orderDate)
|
|
807
807
|
})]
|
|
808
808
|
})
|
|
@@ -813,30 +813,30 @@ function te() {
|
|
|
813
813
|
/* @__PURE__ */ J("section", {
|
|
814
814
|
className: "mb-8",
|
|
815
815
|
children: [/* @__PURE__ */ q("h2", {
|
|
816
|
-
className: "text-lg font-semibold text-
|
|
816
|
+
className: "text-lg font-semibold text-text-primary mb-4",
|
|
817
817
|
children: D("adaptercloud.home.howItWorks", "How It Works")
|
|
818
818
|
}), /* @__PURE__ */ q("div", {
|
|
819
819
|
className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
|
|
820
820
|
children: Q.map((e) => /* @__PURE__ */ J("div", {
|
|
821
|
-
className: "relative rounded-lg border border-border bg-
|
|
821
|
+
className: "relative rounded-lg border border-border-subtle bg-bg-surface p-5 text-center",
|
|
822
822
|
children: [
|
|
823
823
|
/* @__PURE__ */ q("div", {
|
|
824
824
|
className: "absolute -top-3 left-1/2 -translate-x-1/2",
|
|
825
825
|
children: /* @__PURE__ */ q("span", {
|
|
826
|
-
className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-primary text-xs font-bold text-primary-
|
|
826
|
+
className: "inline-flex h-6 w-6 items-center justify-center rounded-full bg-action-primary-bg text-xs font-bold text-action-primary-text",
|
|
827
827
|
children: e.step
|
|
828
828
|
})
|
|
829
829
|
}),
|
|
830
830
|
/* @__PURE__ */ q("div", {
|
|
831
|
-
className: "mt-2 flex justify-center text-
|
|
831
|
+
className: "mt-2 flex justify-center text-text-secondary mb-3",
|
|
832
832
|
children: e.icon
|
|
833
833
|
}),
|
|
834
834
|
/* @__PURE__ */ q("h3", {
|
|
835
|
-
className: "text-sm font-semibold text-
|
|
835
|
+
className: "text-sm font-semibold text-text-primary",
|
|
836
836
|
children: e.title
|
|
837
837
|
}),
|
|
838
838
|
/* @__PURE__ */ q("p", {
|
|
839
|
-
className: "mt-1 text-xs text-
|
|
839
|
+
className: "mt-1 text-xs text-text-secondary",
|
|
840
840
|
children: e.description
|
|
841
841
|
})
|
|
842
842
|
]
|
|
@@ -846,19 +846,19 @@ function te() {
|
|
|
846
846
|
/* @__PURE__ */ J("section", {
|
|
847
847
|
className: "mb-8",
|
|
848
848
|
children: [/* @__PURE__ */ q("h2", {
|
|
849
|
-
className: "text-lg font-semibold text-
|
|
849
|
+
className: "text-lg font-semibold text-text-primary mb-4",
|
|
850
850
|
children: D("adaptercloud.home.browseByCategory", "Browse by Category")
|
|
851
851
|
}), /* @__PURE__ */ q("div", {
|
|
852
852
|
className: "grid grid-cols-3 gap-3 sm:grid-cols-4 lg:grid-cols-5",
|
|
853
853
|
children: Z.map((e) => /* @__PURE__ */ J("button", {
|
|
854
854
|
type: "button",
|
|
855
855
|
onClick: () => v(`/customer/carts?category=${encodeURIComponent(e.label)}`),
|
|
856
|
-
className: "flex flex-col items-center gap-2 rounded-lg border border-border bg-
|
|
856
|
+
className: "flex flex-col items-center gap-2 rounded-lg border border-border-subtle bg-bg-surface p-4 text-center hover:shadow-sm hover:border-accent-foreground/20 transition-all",
|
|
857
857
|
children: [/* @__PURE__ */ q("div", {
|
|
858
858
|
className: t("flex h-12 w-12 items-center justify-center rounded-full", e.color),
|
|
859
859
|
children: e.icon
|
|
860
860
|
}), /* @__PURE__ */ q("span", {
|
|
861
|
-
className: "text-xs font-medium text-
|
|
861
|
+
className: "text-xs font-medium text-text-primary leading-tight",
|
|
862
862
|
children: e.label
|
|
863
863
|
})]
|
|
864
864
|
}, e.label))
|
|
@@ -867,46 +867,46 @@ function te() {
|
|
|
867
867
|
/* @__PURE__ */ J("section", {
|
|
868
868
|
className: "mb-8",
|
|
869
869
|
children: [/* @__PURE__ */ q("h2", {
|
|
870
|
-
className: "text-lg font-semibold text-
|
|
870
|
+
className: "text-lg font-semibold text-text-primary mb-4",
|
|
871
871
|
children: D("adaptercloud.home.platformStats", "Platform Stats")
|
|
872
872
|
}), /* @__PURE__ */ q("div", {
|
|
873
873
|
className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
|
|
874
874
|
children: ee.map((e) => /* @__PURE__ */ J("div", {
|
|
875
|
-
className: "flex items-center gap-3 rounded-lg border border-border bg-
|
|
875
|
+
className: "flex items-center gap-3 rounded-lg border border-border-subtle bg-bg-surface p-4",
|
|
876
876
|
children: [/* @__PURE__ */ q("div", {
|
|
877
|
-
className: "flex h-10 w-10 items-center justify-center rounded-full bg-primary/10 text-primary shrink-0",
|
|
877
|
+
className: "flex h-10 w-10 items-center justify-center rounded-full bg-action-primary-bg/10 text-primary shrink-0",
|
|
878
878
|
children: e.icon
|
|
879
879
|
}), /* @__PURE__ */ J("div", { children: [/* @__PURE__ */ q("p", {
|
|
880
|
-
className: "text-lg font-bold text-
|
|
880
|
+
className: "text-lg font-bold text-text-primary",
|
|
881
881
|
children: e.value
|
|
882
882
|
}), /* @__PURE__ */ q("p", {
|
|
883
|
-
className: "text-xs text-
|
|
883
|
+
className: "text-xs text-text-secondary",
|
|
884
884
|
children: e.label
|
|
885
885
|
})] })]
|
|
886
886
|
}, e.label))
|
|
887
887
|
})]
|
|
888
888
|
}),
|
|
889
889
|
/* @__PURE__ */ J("section", { children: [/* @__PURE__ */ q("h2", {
|
|
890
|
-
className: "text-lg font-semibold text-
|
|
890
|
+
className: "text-lg font-semibold text-text-primary mb-4",
|
|
891
891
|
children: D("adaptercloud.home.recentActivity", "Recent Activity")
|
|
892
892
|
}), /* @__PURE__ */ q("div", {
|
|
893
|
-
className: "rounded-lg border border-border bg-
|
|
893
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface divide-y divide-border",
|
|
894
894
|
children: $.map((e) => /* @__PURE__ */ J("div", {
|
|
895
895
|
className: "flex items-center gap-3 px-4 py-3",
|
|
896
896
|
children: [
|
|
897
897
|
/* @__PURE__ */ q("div", {
|
|
898
|
-
className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-
|
|
899
|
-
children: /* @__PURE__ */ q(m, { className: t("h-4 w-4", H[e.type] ?? "text-
|
|
898
|
+
className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-bg-sunken",
|
|
899
|
+
children: /* @__PURE__ */ q(m, { className: t("h-4 w-4", H[e.type] ?? "text-text-secondary") })
|
|
900
900
|
}),
|
|
901
901
|
/* @__PURE__ */ q("div", {
|
|
902
902
|
className: "flex-1 min-w-0",
|
|
903
903
|
children: /* @__PURE__ */ q("p", {
|
|
904
|
-
className: "text-sm text-
|
|
904
|
+
className: "text-sm text-text-primary truncate",
|
|
905
905
|
children: e.description
|
|
906
906
|
})
|
|
907
907
|
}),
|
|
908
908
|
/* @__PURE__ */ q("span", {
|
|
909
|
-
className: "text-xs text-
|
|
909
|
+
className: "text-xs text-text-secondary whitespace-nowrap",
|
|
910
910
|
children: e.time
|
|
911
911
|
})
|
|
912
912
|
]
|