@burdenoff/microfe-adaptercloud 2026.614.1 → 2026.625.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adaptercloud/components/EmptyState.js +17 -21
- package/dist/adaptercloud/components/EmptyState.js.map +1 -1
- package/dist/adaptercloud/components/InvestmentCard.js +30 -28
- package/dist/adaptercloud/components/InvestmentCard.js.map +1 -1
- package/dist/adaptercloud/components/MetricsCard.js +21 -15
- package/dist/adaptercloud/components/MetricsCard.js.map +1 -1
- package/dist/adaptercloud/components/PageLayout.js +38 -19
- 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 +36 -16
- package/dist/adaptercloud/components/StatusBadge.js.map +1 -1
- package/dist/adaptercloud/pages/HomePage.js +286 -275
- package/dist/adaptercloud/pages/HomePage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js +87 -87
- package/dist/adaptercloud/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminDashboard.js +101 -101
- package/dist/adaptercloud/pages/admin/AdminDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js +48 -48
- package/dist/adaptercloud/pages/admin/AdminFinancialPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/AdminOrdersPage.js +95 -95
- 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 +107 -107
- package/dist/adaptercloud/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/admin/UserManagementPage.js +98 -98
- package/dist/adaptercloud/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js +117 -117
- package/dist/adaptercloud/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js +33 -33
- package/dist/adaptercloud/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js +112 -109
- package/dist/adaptercloud/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js +115 -115
- package/dist/adaptercloud/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js +85 -85
- package/dist/adaptercloud/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js +106 -106
- package/dist/adaptercloud/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js +88 -88
- package/dist/adaptercloud/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js +94 -94
- package/dist/adaptercloud/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/HelpSupportPage.js +142 -142
- package/dist/adaptercloud/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js +67 -66
- package/dist/adaptercloud/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/adaptercloud/pages/common/SettingsPage.js +115 -115
- package/dist/adaptercloud/pages/common/SettingsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js +74 -73
- package/dist/adaptercloud/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDetailPage.js +87 -86
- package/dist/adaptercloud/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js +66 -65
- package/dist/adaptercloud/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CheckoutPage.js +80 -80
- package/dist/adaptercloud/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js +88 -88
- package/dist/adaptercloud/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js +84 -84
- package/dist/adaptercloud/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js +92 -91
- package/dist/adaptercloud/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/FavoritesPage.js +34 -33
- package/dist/adaptercloud/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js +44 -43
- package/dist/adaptercloud/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js +61 -60
- package/dist/adaptercloud/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js +58 -57
- package/dist/adaptercloud/pages/customer/PaymentMethodsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/ReviewsPage.js +48 -47
- package/dist/adaptercloud/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js +46 -45
- package/dist/adaptercloud/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js +128 -128
- package/dist/adaptercloud/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js +88 -87
- package/dist/adaptercloud/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js +88 -88
- package/dist/adaptercloud/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js +62 -62
- package/dist/adaptercloud/pages/investor/InvestorDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js +39 -38
- package/dist/adaptercloud/pages/investor/InvestorInvestmentsPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js +66 -66
- package/dist/adaptercloud/pages/investor/InvestorPortfolioPage.js.map +1 -1
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js +153 -153
- package/dist/adaptercloud/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js +81 -80
- package/dist/adaptercloud/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js +106 -106
- package/dist/adaptercloud/pages/worker/WorkerDashboard.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js +73 -72
- package/dist/adaptercloud/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js +107 -107
- package/dist/adaptercloud/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/adaptercloud/pages/worker/WorkerSchedulePage.js +71 -69
- 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 +3 -3
- 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
|
@@ -20,55 +20,55 @@ var P = [
|
|
|
20
20
|
label: "Getting Started",
|
|
21
21
|
icon: s,
|
|
22
22
|
description: "New to AdapterCloud? Start here",
|
|
23
|
-
color: "bg-blue-
|
|
23
|
+
color: "bg-accent-blue-subtle/10 text-accent-blue"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
label: "Orders & Delivery",
|
|
27
27
|
icon: S,
|
|
28
28
|
description: "Placing, tracking, and cancelling orders",
|
|
29
|
-
color: "bg-
|
|
29
|
+
color: "bg-status-success-bg-subtle/10 text-status-success-text"
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
label: "Payments & Billing",
|
|
33
33
|
icon: p,
|
|
34
34
|
description: "Payment methods, refunds, and invoices",
|
|
35
|
-
color: "bg-purple-
|
|
35
|
+
color: "bg-accent-purple-subtle/10 text-accent-purple"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
label: "Account & Profile",
|
|
39
39
|
icon: D,
|
|
40
40
|
description: "Manage your account and settings",
|
|
41
|
-
color: "bg-orange-
|
|
41
|
+
color: "bg-accent-orange-subtle/10 text-accent-orange"
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
label: "Cart Owners",
|
|
45
45
|
icon: O,
|
|
46
46
|
description: "Running your cart business",
|
|
47
|
-
color: "bg-teal-
|
|
47
|
+
color: "bg-accent-teal-subtle/10 text-accent-teal"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
label: "Workers & Delivery",
|
|
51
51
|
icon: E,
|
|
52
52
|
description: "Delivery partner information",
|
|
53
|
-
color: "bg-indigo-
|
|
53
|
+
color: "bg-accent-indigo-subtle/10 text-accent-indigo"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
label: "Investments",
|
|
57
57
|
icon: T,
|
|
58
58
|
description: "Investment opportunities and returns",
|
|
59
|
-
color: "bg-
|
|
59
|
+
color: "bg-status-success-bg-subtle/10 text-status-success-text"
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
label: "Security & Privacy",
|
|
63
63
|
icon: x,
|
|
64
64
|
description: "Data protection and safety",
|
|
65
|
-
color: "bg-
|
|
65
|
+
color: "bg-status-error-bg-subtle/10 text-status-error-text"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
label: "Technical Issues",
|
|
69
69
|
icon: o,
|
|
70
70
|
description: "App issues and troubleshooting",
|
|
71
|
-
color: "bg-
|
|
71
|
+
color: "bg-status-warning-bg-subtle/10 text-status-warning-text"
|
|
72
72
|
}
|
|
73
73
|
], I = [
|
|
74
74
|
{
|
|
@@ -108,7 +108,7 @@ var P = [
|
|
|
108
108
|
id: "faq-001",
|
|
109
109
|
category: "Account & Profile",
|
|
110
110
|
question: "How do I create an account on AdapterCloud?",
|
|
111
|
-
answer: "You can create an account by clicking the
|
|
111
|
+
answer: "You can create an account by clicking the\"Sign Up\" button on the homepage. You'll need to provide your name, email address, phone number, and choose your role (Customer, Cart Owner, Worker, or Investor). After verification via OTP, your account will be activated immediately.",
|
|
112
112
|
helpful: 142,
|
|
113
113
|
tags: [
|
|
114
114
|
"account",
|
|
@@ -196,7 +196,7 @@ var P = [
|
|
|
196
196
|
id: "faq-008",
|
|
197
197
|
category: "Cart Owners",
|
|
198
198
|
question: "What commission does AdapterCloud charge?",
|
|
199
|
-
answer: "AdapterCloud charges a commission of 15-20% on each order, depending on your cart category and monthly order volume. Higher volume cart owners get reduced rates. This includes payment processing, marketing support, customer acquisition, and platform maintenance. You can view the detailed commission structure in your dashboard under
|
|
199
|
+
answer: "AdapterCloud charges a commission of 15-20% on each order, depending on your cart category and monthly order volume. Higher volume cart owners get reduced rates. This includes payment processing, marketing support, customer acquisition, and platform maintenance. You can view the detailed commission structure in your dashboard under\"Finances\".",
|
|
200
200
|
helpful: 94,
|
|
201
201
|
tags: [
|
|
202
202
|
"commission",
|
|
@@ -222,7 +222,7 @@ var P = [
|
|
|
222
222
|
id: "faq-010",
|
|
223
223
|
category: "Delivery & Workers",
|
|
224
224
|
question: "How do I become a delivery worker?",
|
|
225
|
-
answer: "Apply through the
|
|
225
|
+
answer: "Apply through the\"Join as Worker\" section on the app. You'll need a valid driving license, vehicle registration (bike/scooter), Aadhaar card, PAN card, and a smartphone with GPS. After document verification and background check (3-5 days), you'll receive online training and can start accepting delivery requests.",
|
|
226
226
|
helpful: 78,
|
|
227
227
|
tags: [
|
|
228
228
|
"worker",
|
|
@@ -299,7 +299,7 @@ var P = [
|
|
|
299
299
|
id: "faq-016",
|
|
300
300
|
category: "Billing & Refunds",
|
|
301
301
|
question: "How do I request a refund?",
|
|
302
|
-
answer: "Refunds can be requested within 24 hours of order placement if the order hasn't been prepared. Go to
|
|
302
|
+
answer: "Refunds can be requested within 24 hours of order placement if the order hasn't been prepared. Go to\"My Orders\" > Select the order > \"Request Refund\". You'll need to select a reason. Refunds for quality issues can be raised within 2 hours of delivery. Refunds are processed within 3-5 business days to your original payment method.",
|
|
303
303
|
helpful: 167,
|
|
304
304
|
tags: [
|
|
305
305
|
"refund",
|
|
@@ -482,18 +482,18 @@ function ue(e) {
|
|
|
482
482
|
}
|
|
483
483
|
function R(e) {
|
|
484
484
|
switch (e) {
|
|
485
|
-
case "open": return "bg-blue-
|
|
486
|
-
case "in-progress": return "bg-
|
|
487
|
-
case "resolved": return "bg-
|
|
488
|
-
case "closed": return "bg-
|
|
485
|
+
case "open": return "bg-accent-blue-subtle/10 text-accent-blue";
|
|
486
|
+
case "in-progress": return "bg-status-warning-bg-subtle/10 text-status-warning-text";
|
|
487
|
+
case "resolved": return "bg-status-success-bg-subtle/10 text-status-success-text";
|
|
488
|
+
case "closed": return "bg-bg-sunken text-text-secondary";
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
491
|
function z(e) {
|
|
492
492
|
switch (e) {
|
|
493
|
-
case "urgent": return "bg-
|
|
494
|
-
case "high": return "bg-orange-
|
|
495
|
-
case "medium": return "bg-blue-
|
|
496
|
-
case "low": return "bg-
|
|
493
|
+
case "urgent": return "bg-status-error-bg-subtle/10 text-status-error-text";
|
|
494
|
+
case "high": return "bg-accent-orange-subtle/10 text-accent-orange";
|
|
495
|
+
case "medium": return "bg-accent-blue-subtle/10 text-accent-blue";
|
|
496
|
+
case "low": return "bg-bg-sunken text-text-secondary";
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
function B(e) {
|
|
@@ -594,7 +594,7 @@ function V() {
|
|
|
594
594
|
description: "Find answers, contact support, or track your requests",
|
|
595
595
|
children: [
|
|
596
596
|
G && /* @__PURE__ */ N("div", {
|
|
597
|
-
className: "mb-4 flex items-center gap-2 rounded-lg border border-
|
|
597
|
+
className: "mb-4 flex items-center gap-2 rounded-lg border border-status-success-border/30 bg-status-success-bg-subtle/10 px-4 py-3 text-sm text-status-success-text",
|
|
598
598
|
children: [
|
|
599
599
|
/* @__PURE__ */ M(c, { className: "h-4 w-4 shrink-0" }),
|
|
600
600
|
G,
|
|
@@ -611,7 +611,7 @@ function V() {
|
|
|
611
611
|
children: /* @__PURE__ */ N("div", {
|
|
612
612
|
className: "relative",
|
|
613
613
|
children: [
|
|
614
|
-
/* @__PURE__ */ M(b, { className: "absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-
|
|
614
|
+
/* @__PURE__ */ M(b, { className: "absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-text-secondary" }),
|
|
615
615
|
/* @__PURE__ */ M("input", {
|
|
616
616
|
type: "text",
|
|
617
617
|
value: p,
|
|
@@ -619,12 +619,12 @@ function V() {
|
|
|
619
619
|
g(e.target.value), u !== "faq" && d("faq");
|
|
620
620
|
},
|
|
621
621
|
placeholder: "Search help articles, FAQs, and more...",
|
|
622
|
-
className: "w-full rounded-lg border border-border bg-
|
|
622
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface py-3 pl-10 pr-10 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
623
623
|
}),
|
|
624
624
|
p && /* @__PURE__ */ M("button", {
|
|
625
625
|
type: "button",
|
|
626
626
|
onClick: () => g(""),
|
|
627
|
-
className: "absolute right-3 top-1/2 -translate-y-1/2 text-
|
|
627
|
+
className: "absolute right-3 top-1/2 -translate-y-1/2 text-text-secondary hover:text-text-primary",
|
|
628
628
|
children: /* @__PURE__ */ M(k, { className: "h-4 w-4" })
|
|
629
629
|
})
|
|
630
630
|
]
|
|
@@ -633,7 +633,7 @@ function V() {
|
|
|
633
633
|
/* @__PURE__ */ N("section", {
|
|
634
634
|
className: "mb-6",
|
|
635
635
|
children: [/* @__PURE__ */ M("h2", {
|
|
636
|
-
className: "text-lg font-semibold text-
|
|
636
|
+
className: "text-lg font-semibold text-text-primary mb-3",
|
|
637
637
|
children: "Browse Help Topics"
|
|
638
638
|
}), /* @__PURE__ */ M("div", {
|
|
639
639
|
className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",
|
|
@@ -644,15 +644,15 @@ function V() {
|
|
|
644
644
|
onClick: () => {
|
|
645
645
|
x(e.label === y ? "" : e.label), d("faq");
|
|
646
646
|
},
|
|
647
|
-
className: t("flex items-start gap-3 rounded-lg border bg-
|
|
647
|
+
className: t("flex items-start gap-3 rounded-lg border bg-bg-surface p-4 text-left transition-all hover:shadow-sm", y === e.label ? "border-primary ring-1 ring-primary" : "border-border-subtle"),
|
|
648
648
|
children: [/* @__PURE__ */ M("div", {
|
|
649
649
|
className: t("flex h-10 w-10 shrink-0 items-center justify-center rounded-lg", e.color),
|
|
650
650
|
children: /* @__PURE__ */ M(n, { className: "h-5 w-5" })
|
|
651
651
|
}), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("p", {
|
|
652
|
-
className: "text-sm font-semibold text-
|
|
652
|
+
className: "text-sm font-semibold text-text-primary",
|
|
653
653
|
children: e.label
|
|
654
654
|
}), /* @__PURE__ */ M("p", {
|
|
655
|
-
className: "text-xs text-
|
|
655
|
+
className: "text-xs text-text-secondary",
|
|
656
656
|
children: e.description
|
|
657
657
|
})] })]
|
|
658
658
|
}, e.label);
|
|
@@ -662,18 +662,18 @@ function V() {
|
|
|
662
662
|
/* @__PURE__ */ M("section", {
|
|
663
663
|
className: "mb-6",
|
|
664
664
|
children: /* @__PURE__ */ M("div", {
|
|
665
|
-
className: "flex space-x-1 bg-
|
|
665
|
+
className: "flex space-x-1 bg-bg-sunken p-1 rounded-lg w-full sm:w-fit",
|
|
666
666
|
children: me.map((e) => {
|
|
667
667
|
let n = e.icon;
|
|
668
668
|
return /* @__PURE__ */ N("button", {
|
|
669
669
|
type: "button",
|
|
670
670
|
onClick: () => d(e.id),
|
|
671
|
-
className: t("flex flex-1 sm:flex-none items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors", u === e.id ? "bg-
|
|
671
|
+
className: t("flex flex-1 sm:flex-none items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors", u === e.id ? "bg-bg-surface text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"),
|
|
672
672
|
children: [
|
|
673
673
|
/* @__PURE__ */ M(n, { className: "h-4 w-4" }),
|
|
674
674
|
/* @__PURE__ */ M("span", { children: e.label }),
|
|
675
675
|
e.id === "tickets" && Q.open > 0 && /* @__PURE__ */ M("span", {
|
|
676
|
-
className: "flex h-5 min-w-[20px] items-center justify-center rounded-full bg-primary px-1.5 text-xs font-medium text-primary-
|
|
676
|
+
className: "flex h-5 min-w-[20px] items-center justify-center rounded-full bg-action-primary-bg px-1.5 text-xs font-medium text-action-primary-text",
|
|
677
677
|
children: Q.open
|
|
678
678
|
})
|
|
679
679
|
]
|
|
@@ -684,7 +684,7 @@ function V() {
|
|
|
684
684
|
u === "faq" && /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("div", {
|
|
685
685
|
className: "mb-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",
|
|
686
686
|
children: [/* @__PURE__ */ N("p", {
|
|
687
|
-
className: "text-sm text-
|
|
687
|
+
className: "text-sm text-text-secondary",
|
|
688
688
|
children: [
|
|
689
689
|
Z.length,
|
|
690
690
|
" question",
|
|
@@ -694,7 +694,7 @@ function V() {
|
|
|
694
694
|
" ",
|
|
695
695
|
"in ",
|
|
696
696
|
/* @__PURE__ */ M("span", {
|
|
697
|
-
className: "font-medium text-
|
|
697
|
+
className: "font-medium text-text-primary",
|
|
698
698
|
children: y
|
|
699
699
|
}),
|
|
700
700
|
/* @__PURE__ */ M("button", {
|
|
@@ -708,7 +708,7 @@ function V() {
|
|
|
708
708
|
}), /* @__PURE__ */ N("select", {
|
|
709
709
|
value: y,
|
|
710
710
|
onChange: (e) => x(e.target.value),
|
|
711
|
-
className: "rounded-lg border border-border bg-
|
|
711
|
+
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)]",
|
|
712
712
|
children: [/* @__PURE__ */ M("option", {
|
|
713
713
|
value: "",
|
|
714
714
|
children: "All Categories"
|
|
@@ -722,7 +722,7 @@ function V() {
|
|
|
722
722
|
children: Z.map((e) => {
|
|
723
723
|
let n = S === e.id;
|
|
724
724
|
return /* @__PURE__ */ N("div", {
|
|
725
|
-
className: "rounded-lg border border-border bg-
|
|
725
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface overflow-hidden",
|
|
726
726
|
children: [/* @__PURE__ */ N("button", {
|
|
727
727
|
type: "button",
|
|
728
728
|
onClick: () => de(e.id),
|
|
@@ -732,28 +732,28 @@ function V() {
|
|
|
732
732
|
children: [/* @__PURE__ */ N("div", {
|
|
733
733
|
className: "flex flex-wrap items-center gap-2 mb-1",
|
|
734
734
|
children: [/* @__PURE__ */ M("span", {
|
|
735
|
-
className: "inline-flex items-center rounded-full bg-
|
|
735
|
+
className: "inline-flex items-center rounded-full bg-bg-sunken px-2 py-0.5 text-xs font-medium text-text-secondary",
|
|
736
736
|
children: e.category
|
|
737
737
|
}), /* @__PURE__ */ N("span", {
|
|
738
|
-
className: "inline-flex items-center gap-1 text-xs text-
|
|
738
|
+
className: "inline-flex items-center gap-1 text-xs text-text-secondary",
|
|
739
739
|
children: [/* @__PURE__ */ M(C, { className: "h-3 w-3" }), e.helpful]
|
|
740
740
|
})]
|
|
741
741
|
}), /* @__PURE__ */ M("span", {
|
|
742
|
-
className: t("text-sm", n ? "font-semibold text-
|
|
742
|
+
className: t("text-sm", n ? "font-semibold text-text-primary" : "font-medium text-text-primary"),
|
|
743
743
|
children: e.question
|
|
744
744
|
})]
|
|
745
|
-
}), M(n ? te : l, { className: "h-4 w-4 text-
|
|
745
|
+
}), M(n ? te : l, { className: "h-4 w-4 text-text-secondary shrink-0 mt-1" })]
|
|
746
746
|
}), n && /* @__PURE__ */ N("div", {
|
|
747
|
-
className: "border-t border-border px-4 pb-4 pt-3",
|
|
747
|
+
className: "border-t border-border-subtle px-4 pb-4 pt-3",
|
|
748
748
|
children: [/* @__PURE__ */ M("p", {
|
|
749
|
-
className: "text-sm text-
|
|
749
|
+
className: "text-sm text-text-secondary leading-relaxed mb-3",
|
|
750
750
|
children: e.answer
|
|
751
751
|
}), /* @__PURE__ */ N("div", {
|
|
752
752
|
className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",
|
|
753
753
|
children: [/* @__PURE__ */ M("div", {
|
|
754
754
|
className: "flex flex-wrap gap-1.5",
|
|
755
755
|
children: e.tags.map((e) => /* @__PURE__ */ N("span", {
|
|
756
|
-
className: "inline-flex items-center gap-1 rounded-full bg-
|
|
756
|
+
className: "inline-flex items-center gap-1 rounded-full bg-bg-sunken px-2 py-0.5 text-xs text-text-secondary",
|
|
757
757
|
children: [/* @__PURE__ */ M(se, { className: "h-2.5 w-2.5" }), e]
|
|
758
758
|
}, e))
|
|
759
759
|
}), /* @__PURE__ */ N("button", {
|
|
@@ -761,7 +761,7 @@ function V() {
|
|
|
761
761
|
onClick: (t) => {
|
|
762
762
|
t.stopPropagation(), fe(e.id);
|
|
763
763
|
},
|
|
764
|
-
className: "flex items-center gap-1.5 rounded-lg border border-border px-3 py-1.5 text-xs font-medium text-
|
|
764
|
+
className: "flex items-center gap-1.5 rounded-lg border border-border-subtle px-3 py-1.5 text-xs font-medium text-text-secondary hover:bg-accent hover:text-text-primary transition-colors",
|
|
765
765
|
children: [
|
|
766
766
|
/* @__PURE__ */ M(C, { className: "h-3.5 w-3.5" }),
|
|
767
767
|
"Helpful (",
|
|
@@ -774,15 +774,15 @@ function V() {
|
|
|
774
774
|
}, e.id);
|
|
775
775
|
})
|
|
776
776
|
}) : /* @__PURE__ */ N("div", {
|
|
777
|
-
className: "flex flex-col items-center justify-center rounded-lg border border-border bg-
|
|
777
|
+
className: "flex flex-col items-center justify-center rounded-lg border border-border-subtle bg-bg-surface py-12",
|
|
778
778
|
children: [
|
|
779
|
-
/* @__PURE__ */ M(b, { className: "h-12 w-12 text-
|
|
779
|
+
/* @__PURE__ */ M(b, { className: "h-12 w-12 text-text-secondary/50 mb-3" }),
|
|
780
780
|
/* @__PURE__ */ M("h3", {
|
|
781
|
-
className: "text-base font-semibold text-
|
|
781
|
+
className: "text-base font-semibold text-text-primary mb-1",
|
|
782
782
|
children: "No FAQs found"
|
|
783
783
|
}),
|
|
784
784
|
/* @__PURE__ */ M("p", {
|
|
785
|
-
className: "text-sm text-
|
|
785
|
+
className: "text-sm text-text-secondary mb-3",
|
|
786
786
|
children: "Try adjusting your search or browse different categories"
|
|
787
787
|
}),
|
|
788
788
|
/* @__PURE__ */ M("button", {
|
|
@@ -799,39 +799,39 @@ function V() {
|
|
|
799
799
|
className: "space-y-6",
|
|
800
800
|
children: [
|
|
801
801
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h2", {
|
|
802
|
-
className: "text-base font-semibold text-
|
|
802
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
803
803
|
children: "Get in Touch"
|
|
804
804
|
}), /* @__PURE__ */ M("div", {
|
|
805
805
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
806
806
|
children: I.map((e) => {
|
|
807
807
|
let n = e.icon;
|
|
808
808
|
return /* @__PURE__ */ M("div", {
|
|
809
|
-
className: "rounded-lg border border-border bg-
|
|
809
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
810
810
|
children: /* @__PURE__ */ N("div", {
|
|
811
811
|
className: "flex items-start gap-4",
|
|
812
812
|
children: [/* @__PURE__ */ M("div", {
|
|
813
|
-
className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-lg bg-
|
|
814
|
-
children: /* @__PURE__ */ M(n, { className: "h-6 w-6 text-
|
|
813
|
+
className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-lg bg-bg-sunken",
|
|
814
|
+
children: /* @__PURE__ */ M(n, { className: "h-6 w-6 text-text-secondary" })
|
|
815
815
|
}), /* @__PURE__ */ N("div", {
|
|
816
816
|
className: "flex-1 min-w-0",
|
|
817
817
|
children: [
|
|
818
818
|
/* @__PURE__ */ M("h3", {
|
|
819
|
-
className: "text-sm font-semibold text-
|
|
819
|
+
className: "text-sm font-semibold text-text-primary",
|
|
820
820
|
children: e.label
|
|
821
821
|
}),
|
|
822
822
|
/* @__PURE__ */ M("p", {
|
|
823
|
-
className: "text-sm text-
|
|
823
|
+
className: "text-sm text-text-primary mt-0.5 break-words",
|
|
824
824
|
children: e.value
|
|
825
825
|
}),
|
|
826
826
|
/* @__PURE__ */ N("div", {
|
|
827
|
-
className: "flex items-center gap-1 mt-1 text-xs text-
|
|
827
|
+
className: "flex items-center gap-1 mt-1 text-xs text-text-secondary",
|
|
828
828
|
children: [/* @__PURE__ */ M(f, { className: "h-3 w-3" }), e.responseTime]
|
|
829
829
|
}),
|
|
830
830
|
/* @__PURE__ */ N("button", {
|
|
831
831
|
type: "button",
|
|
832
832
|
onClick: () => $(e),
|
|
833
833
|
disabled: !e.available,
|
|
834
|
-
className: t("mt-3 flex items-center gap-1.5 rounded-lg px-4 py-2 text-sm font-medium transition-colors", e.available ? "bg-primary text-primary-
|
|
834
|
+
className: t("mt-3 flex items-center gap-1.5 rounded-lg px-4 py-2 text-sm font-medium transition-colors", e.available ? "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
|
|
835
835
|
children: [e.type === "chat" ? "Start Chat" : e.type === "email" ? "Send Email" : "Contact", /* @__PURE__ */ M(ne, { className: "h-3.5 w-3.5" })]
|
|
836
836
|
})
|
|
837
837
|
]
|
|
@@ -841,32 +841,32 @@ function V() {
|
|
|
841
841
|
})
|
|
842
842
|
})] }),
|
|
843
843
|
/* @__PURE__ */ N("div", {
|
|
844
|
-
className: "rounded-lg border border-border bg-
|
|
844
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface",
|
|
845
845
|
children: [/* @__PURE__ */ N("div", {
|
|
846
|
-
className: "flex items-center justify-between border-b border-border px-5 py-4",
|
|
846
|
+
className: "flex items-center justify-between border-b border-border-subtle px-5 py-4",
|
|
847
847
|
children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h2", {
|
|
848
|
-
className: "text-base font-semibold text-
|
|
848
|
+
className: "text-base font-semibold text-text-primary",
|
|
849
849
|
children: "Submit a Support Ticket"
|
|
850
850
|
}), /* @__PURE__ */ M("p", {
|
|
851
|
-
className: "text-xs text-
|
|
851
|
+
className: "text-xs text-text-secondary mt-0.5",
|
|
852
852
|
children: "Can't find your answer? Create a ticket and our team will help."
|
|
853
853
|
})] }), /* @__PURE__ */ N("button", {
|
|
854
854
|
type: "button",
|
|
855
855
|
onClick: () => H(!V),
|
|
856
|
-
className: "flex items-center gap-1.5 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-
|
|
856
|
+
className: "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",
|
|
857
857
|
children: [/* @__PURE__ */ M(w, { className: "h-4 w-4" }), V ? "Close" : "New Ticket"]
|
|
858
858
|
})]
|
|
859
859
|
}), V && /* @__PURE__ */ N("div", {
|
|
860
860
|
className: "p-5 space-y-4",
|
|
861
861
|
children: [
|
|
862
862
|
q && /* @__PURE__ */ N("div", {
|
|
863
|
-
className: "flex items-center gap-2 rounded-lg border border-
|
|
863
|
+
className: "flex items-center gap-2 rounded-lg border border-status-error-border/30 bg-status-error-bg-subtle/10 px-3 py-2 text-sm text-status-error-text",
|
|
864
864
|
children: [/* @__PURE__ */ M(ee, { className: "h-4 w-4 shrink-0" }), q]
|
|
865
865
|
}),
|
|
866
866
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("label", {
|
|
867
|
-
className: "block text-sm font-medium text-
|
|
867
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
868
868
|
children: ["Subject ", /* @__PURE__ */ M("span", {
|
|
869
|
-
className: "text-
|
|
869
|
+
className: "text-status-error-text",
|
|
870
870
|
children: "*"
|
|
871
871
|
})]
|
|
872
872
|
}), /* @__PURE__ */ M("input", {
|
|
@@ -877,14 +877,14 @@ function V() {
|
|
|
877
877
|
subject: e.target.value
|
|
878
878
|
})),
|
|
879
879
|
placeholder: "Brief description of your issue",
|
|
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 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
881
881
|
})] }),
|
|
882
882
|
/* @__PURE__ */ N("div", {
|
|
883
883
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
884
884
|
children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("label", {
|
|
885
|
-
className: "block text-sm font-medium text-
|
|
885
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
886
886
|
children: ["Category ", /* @__PURE__ */ M("span", {
|
|
887
|
-
className: "text-
|
|
887
|
+
className: "text-status-error-text",
|
|
888
888
|
children: "*"
|
|
889
889
|
})]
|
|
890
890
|
}), /* @__PURE__ */ N("select", {
|
|
@@ -893,7 +893,7 @@ function V() {
|
|
|
893
893
|
...t,
|
|
894
894
|
category: e.target.value
|
|
895
895
|
})),
|
|
896
|
-
className: "w-full rounded-lg border border-border bg-
|
|
896
|
+
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)]",
|
|
897
897
|
children: [/* @__PURE__ */ M("option", {
|
|
898
898
|
value: "",
|
|
899
899
|
children: "Select category"
|
|
@@ -902,7 +902,7 @@ function V() {
|
|
|
902
902
|
children: e
|
|
903
903
|
}, e))]
|
|
904
904
|
})] }), /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("label", {
|
|
905
|
-
className: "block text-sm font-medium text-
|
|
905
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
906
906
|
children: "Priority"
|
|
907
907
|
}), /* @__PURE__ */ N("select", {
|
|
908
908
|
value: Y.priority,
|
|
@@ -910,7 +910,7 @@ function V() {
|
|
|
910
910
|
...t,
|
|
911
911
|
priority: e.target.value
|
|
912
912
|
})),
|
|
913
|
-
className: "w-full rounded-lg border border-border bg-
|
|
913
|
+
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)]",
|
|
914
914
|
children: [
|
|
915
915
|
/* @__PURE__ */ M("option", {
|
|
916
916
|
value: "low",
|
|
@@ -932,9 +932,9 @@ function V() {
|
|
|
932
932
|
})] })]
|
|
933
933
|
}),
|
|
934
934
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("label", {
|
|
935
|
-
className: "block text-sm font-medium text-
|
|
935
|
+
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
936
936
|
children: ["Description ", /* @__PURE__ */ M("span", {
|
|
937
|
-
className: "text-
|
|
937
|
+
className: "text-status-error-text",
|
|
938
938
|
children: "*"
|
|
939
939
|
})]
|
|
940
940
|
}), /* @__PURE__ */ M("textarea", {
|
|
@@ -945,18 +945,18 @@ function V() {
|
|
|
945
945
|
description: e.target.value
|
|
946
946
|
})),
|
|
947
947
|
placeholder: "Please describe your issue in detail...",
|
|
948
|
-
className: "w-full rounded-lg border border-border bg-
|
|
948
|
+
className: "w-full rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] resize-none"
|
|
949
949
|
})] }),
|
|
950
950
|
/* @__PURE__ */ N("div", {
|
|
951
|
-
className: "rounded-lg bg-blue-
|
|
951
|
+
className: "rounded-lg bg-accent-blue-subtle/5 border border-accent-blue-subtle/20 p-4",
|
|
952
952
|
children: [/* @__PURE__ */ N("div", {
|
|
953
953
|
className: "flex items-center gap-2 mb-2",
|
|
954
|
-
children: [/* @__PURE__ */ M(ae, { className: "h-4 w-4 text-
|
|
955
|
-
className: "text-sm font-medium text-
|
|
954
|
+
children: [/* @__PURE__ */ M(ae, { className: "h-4 w-4 text-accent-blue" }), /* @__PURE__ */ M("h4", {
|
|
955
|
+
className: "text-sm font-medium text-accent-blue",
|
|
956
956
|
children: "Tips for faster resolution"
|
|
957
957
|
})]
|
|
958
958
|
}), /* @__PURE__ */ N("ul", {
|
|
959
|
-
className: "text-xs text-
|
|
959
|
+
className: "text-xs text-accent-blue space-y-1 ml-6 list-disc",
|
|
960
960
|
children: [
|
|
961
961
|
/* @__PURE__ */ M("li", { children: "Be specific about the issue and include steps to reproduce it" }),
|
|
962
962
|
/* @__PURE__ */ M("li", { children: "Include relevant order IDs, transaction IDs, or error messages" }),
|
|
@@ -971,14 +971,14 @@ function V() {
|
|
|
971
971
|
type: "button",
|
|
972
972
|
onClick: pe,
|
|
973
973
|
disabled: U,
|
|
974
|
-
className: t("flex items-center gap-2 rounded-lg px-5 py-2.5 text-sm font-medium text-primary-
|
|
974
|
+
className: t("flex items-center gap-2 rounded-lg px-5 py-2.5 text-sm font-medium text-action-primary-text transition-colors", U ? "bg-action-primary-bg/70 cursor-not-allowed" : "bg-action-primary-bg hover:bg-action-primary-bg/90"),
|
|
975
975
|
children: U ? /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M("span", { className: "h-4 w-4 animate-spin rounded-full border-2 border-primary-foreground/30 border-t-primary-foreground" }), "Submitting..."] }) : /* @__PURE__ */ N(j, { children: [/* @__PURE__ */ M(oe, { className: "h-4 w-4" }), "Submit Ticket"] })
|
|
976
976
|
}), /* @__PURE__ */ M("button", {
|
|
977
977
|
type: "button",
|
|
978
978
|
onClick: () => {
|
|
979
979
|
H(!1), J("");
|
|
980
980
|
},
|
|
981
|
-
className: "rounded-lg border border-border px-4 py-2.5 text-sm font-medium text-
|
|
981
|
+
className: "rounded-lg border border-border-subtle px-4 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
982
982
|
children: "Cancel"
|
|
983
983
|
})]
|
|
984
984
|
})
|
|
@@ -988,11 +988,11 @@ function V() {
|
|
|
988
988
|
/* @__PURE__ */ N("div", {
|
|
989
989
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
990
990
|
children: [/* @__PURE__ */ N("div", {
|
|
991
|
-
className: "rounded-lg border border-border bg-
|
|
991
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
|
|
992
992
|
children: [/* @__PURE__ */ N("div", {
|
|
993
993
|
className: "flex items-center gap-2 mb-3",
|
|
994
|
-
children: [/* @__PURE__ */ M(f, { className: "h-5 w-5 text-
|
|
995
|
-
className: "text-sm font-semibold text-
|
|
994
|
+
children: [/* @__PURE__ */ M(f, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ M("h3", {
|
|
995
|
+
className: "text-sm font-semibold text-text-primary",
|
|
996
996
|
children: "Support Hours"
|
|
997
997
|
})]
|
|
998
998
|
}), /* @__PURE__ */ N("div", {
|
|
@@ -1001,57 +1001,57 @@ function V() {
|
|
|
1001
1001
|
/* @__PURE__ */ N("div", {
|
|
1002
1002
|
className: "flex justify-between",
|
|
1003
1003
|
children: [/* @__PURE__ */ M("span", {
|
|
1004
|
-
className: "text-
|
|
1004
|
+
className: "text-text-secondary",
|
|
1005
1005
|
children: "Monday - Friday"
|
|
1006
1006
|
}), /* @__PURE__ */ M("span", {
|
|
1007
|
-
className: "font-medium text-
|
|
1007
|
+
className: "font-medium text-text-primary",
|
|
1008
1008
|
children: "9:00 AM - 9:00 PM IST"
|
|
1009
1009
|
})]
|
|
1010
1010
|
}),
|
|
1011
1011
|
/* @__PURE__ */ N("div", {
|
|
1012
1012
|
className: "flex justify-between",
|
|
1013
1013
|
children: [/* @__PURE__ */ M("span", {
|
|
1014
|
-
className: "text-
|
|
1014
|
+
className: "text-text-secondary",
|
|
1015
1015
|
children: "Saturday"
|
|
1016
1016
|
}), /* @__PURE__ */ M("span", {
|
|
1017
|
-
className: "font-medium text-
|
|
1017
|
+
className: "font-medium text-text-primary",
|
|
1018
1018
|
children: "10:00 AM - 6:00 PM IST"
|
|
1019
1019
|
})]
|
|
1020
1020
|
}),
|
|
1021
1021
|
/* @__PURE__ */ N("div", {
|
|
1022
1022
|
className: "flex justify-between",
|
|
1023
1023
|
children: [/* @__PURE__ */ M("span", {
|
|
1024
|
-
className: "text-
|
|
1024
|
+
className: "text-text-secondary",
|
|
1025
1025
|
children: "Sunday"
|
|
1026
1026
|
}), /* @__PURE__ */ M("span", {
|
|
1027
|
-
className: "font-medium text-
|
|
1027
|
+
className: "font-medium text-text-primary",
|
|
1028
1028
|
children: "Closed"
|
|
1029
1029
|
})]
|
|
1030
1030
|
}),
|
|
1031
1031
|
/* @__PURE__ */ N("div", {
|
|
1032
|
-
className: "flex justify-between pt-2 border-t border-border",
|
|
1032
|
+
className: "flex justify-between pt-2 border-t border-border-subtle",
|
|
1033
1033
|
children: [/* @__PURE__ */ M("span", {
|
|
1034
|
-
className: "text-
|
|
1034
|
+
className: "text-text-secondary",
|
|
1035
1035
|
children: "Email Support"
|
|
1036
1036
|
}), /* @__PURE__ */ M("span", {
|
|
1037
|
-
className: "font-medium text-
|
|
1037
|
+
className: "font-medium text-text-primary",
|
|
1038
1038
|
children: "24/7"
|
|
1039
1039
|
})]
|
|
1040
1040
|
})
|
|
1041
1041
|
]
|
|
1042
1042
|
})]
|
|
1043
1043
|
}), /* @__PURE__ */ N("div", {
|
|
1044
|
-
className: "rounded-lg border border-
|
|
1044
|
+
className: "rounded-lg border border-status-error-border/20 bg-status-error-bg-subtle/5 p-5",
|
|
1045
1045
|
children: [
|
|
1046
1046
|
/* @__PURE__ */ N("div", {
|
|
1047
1047
|
className: "flex items-center gap-2 mb-3",
|
|
1048
|
-
children: [/* @__PURE__ */ M(o, { className: "h-5 w-5 text-
|
|
1049
|
-
className: "text-sm font-semibold text-
|
|
1048
|
+
children: [/* @__PURE__ */ M(o, { className: "h-5 w-5 text-status-error-text" }), /* @__PURE__ */ M("h3", {
|
|
1049
|
+
className: "text-sm font-semibold text-status-error-text",
|
|
1050
1050
|
children: "Emergency Contact"
|
|
1051
1051
|
})]
|
|
1052
1052
|
}),
|
|
1053
1053
|
/* @__PURE__ */ M("p", {
|
|
1054
|
-
className: "text-sm text-
|
|
1054
|
+
className: "text-sm text-status-error-text mb-3",
|
|
1055
1055
|
children: "For urgent issues like safety concerns, fraud, or account compromise:"
|
|
1056
1056
|
}),
|
|
1057
1057
|
/* @__PURE__ */ N("div", {
|
|
@@ -1059,20 +1059,20 @@ function V() {
|
|
|
1059
1059
|
children: [/* @__PURE__ */ N("div", {
|
|
1060
1060
|
className: "flex items-center gap-2 text-sm",
|
|
1061
1061
|
children: [
|
|
1062
|
-
/* @__PURE__ */ M(v, { className: "h-4 w-4 text-
|
|
1062
|
+
/* @__PURE__ */ M(v, { className: "h-4 w-4 text-status-error-text" }),
|
|
1063
1063
|
/* @__PURE__ */ M("span", {
|
|
1064
|
-
className: "font-medium text-
|
|
1064
|
+
className: "font-medium text-status-error-text",
|
|
1065
1065
|
children: "+91 80-4012-9999"
|
|
1066
1066
|
}),
|
|
1067
1067
|
/* @__PURE__ */ M("span", {
|
|
1068
|
-
className: "text-xs text-
|
|
1068
|
+
className: "text-xs text-status-error-text",
|
|
1069
1069
|
children: "(24/7)"
|
|
1070
1070
|
})
|
|
1071
1071
|
]
|
|
1072
1072
|
}), /* @__PURE__ */ N("div", {
|
|
1073
1073
|
className: "flex items-center gap-2 text-sm",
|
|
1074
|
-
children: [/* @__PURE__ */ M(h, { className: "h-4 w-4 text-
|
|
1075
|
-
className: "font-medium text-
|
|
1074
|
+
children: [/* @__PURE__ */ M(h, { className: "h-4 w-4 text-status-error-text" }), /* @__PURE__ */ M("span", {
|
|
1075
|
+
className: "font-medium text-status-error-text",
|
|
1076
1076
|
children: "emergency@adaptercloud.com"
|
|
1077
1077
|
})]
|
|
1078
1078
|
})]
|
|
@@ -1081,25 +1081,25 @@ function V() {
|
|
|
1081
1081
|
})]
|
|
1082
1082
|
}),
|
|
1083
1083
|
/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h2", {
|
|
1084
|
-
className: "text-base font-semibold text-
|
|
1084
|
+
className: "text-base font-semibold text-text-primary mb-3",
|
|
1085
1085
|
children: "Popular Articles"
|
|
1086
1086
|
}), /* @__PURE__ */ M("div", {
|
|
1087
1087
|
className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",
|
|
1088
1088
|
children: L.map((e) => /* @__PURE__ */ N("button", {
|
|
1089
1089
|
type: "button",
|
|
1090
|
-
className: "flex items-start gap-3 rounded-lg border border-border bg-
|
|
1091
|
-
children: [/* @__PURE__ */ M(re, { className: "h-5 w-5 text-
|
|
1090
|
+
className: "flex items-start gap-3 rounded-lg border border-border-seam bg-bg-surface p-4 text-left hover:bg-accent/50 transition-colors bg-gloss-card shadow-pop",
|
|
1091
|
+
children: [/* @__PURE__ */ M(re, { className: "h-5 w-5 text-text-secondary shrink-0 mt-0.5" }), /* @__PURE__ */ N("div", {
|
|
1092
1092
|
className: "min-w-0",
|
|
1093
1093
|
children: [/* @__PURE__ */ M("p", {
|
|
1094
|
-
className: "text-sm font-medium text-
|
|
1094
|
+
className: "text-sm font-medium text-text-primary truncate",
|
|
1095
1095
|
children: e.title
|
|
1096
1096
|
}), /* @__PURE__ */ N("div", {
|
|
1097
1097
|
className: "flex items-center gap-2 mt-1",
|
|
1098
1098
|
children: [/* @__PURE__ */ M("span", {
|
|
1099
|
-
className: "text-xs text-
|
|
1099
|
+
className: "text-xs text-text-secondary",
|
|
1100
1100
|
children: e.category
|
|
1101
1101
|
}), /* @__PURE__ */ N("span", {
|
|
1102
|
-
className: "text-xs text-
|
|
1102
|
+
className: "text-xs text-text-secondary",
|
|
1103
1103
|
children: [e.views.toLocaleString("en-IN"), " views"]
|
|
1104
1104
|
})]
|
|
1105
1105
|
})]
|
|
@@ -1115,42 +1115,42 @@ function V() {
|
|
|
1115
1115
|
className: "grid grid-cols-2 gap-3 sm:grid-cols-4",
|
|
1116
1116
|
children: [
|
|
1117
1117
|
/* @__PURE__ */ N("div", {
|
|
1118
|
-
className: "rounded-lg border border-border bg-
|
|
1118
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
|
|
1119
1119
|
children: [/* @__PURE__ */ M("p", {
|
|
1120
|
-
className: "text-2xl font-bold text-
|
|
1120
|
+
className: "text-2xl font-bold text-text-primary",
|
|
1121
1121
|
children: Q.total
|
|
1122
1122
|
}), /* @__PURE__ */ M("p", {
|
|
1123
|
-
className: "text-xs text-
|
|
1123
|
+
className: "text-xs text-text-secondary",
|
|
1124
1124
|
children: "Total"
|
|
1125
1125
|
})]
|
|
1126
1126
|
}),
|
|
1127
1127
|
/* @__PURE__ */ N("div", {
|
|
1128
|
-
className: "rounded-lg border border-border bg-
|
|
1128
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
|
|
1129
1129
|
children: [/* @__PURE__ */ M("p", {
|
|
1130
|
-
className: "text-2xl font-bold text-
|
|
1130
|
+
className: "text-2xl font-bold text-accent-blue",
|
|
1131
1131
|
children: Q.open
|
|
1132
1132
|
}), /* @__PURE__ */ M("p", {
|
|
1133
|
-
className: "text-xs text-
|
|
1133
|
+
className: "text-xs text-text-secondary",
|
|
1134
1134
|
children: "Open"
|
|
1135
1135
|
})]
|
|
1136
1136
|
}),
|
|
1137
1137
|
/* @__PURE__ */ N("div", {
|
|
1138
|
-
className: "rounded-lg border border-border bg-
|
|
1138
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
|
|
1139
1139
|
children: [/* @__PURE__ */ M("p", {
|
|
1140
|
-
className: "text-2xl font-bold text-
|
|
1140
|
+
className: "text-2xl font-bold text-status-warning-text",
|
|
1141
1141
|
children: Q.inProgress
|
|
1142
1142
|
}), /* @__PURE__ */ M("p", {
|
|
1143
|
-
className: "text-xs text-
|
|
1143
|
+
className: "text-xs text-text-secondary",
|
|
1144
1144
|
children: "In Progress"
|
|
1145
1145
|
})]
|
|
1146
1146
|
}),
|
|
1147
1147
|
/* @__PURE__ */ N("div", {
|
|
1148
|
-
className: "rounded-lg border border-border bg-
|
|
1148
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
|
|
1149
1149
|
children: [/* @__PURE__ */ M("p", {
|
|
1150
|
-
className: "text-2xl font-bold text-
|
|
1150
|
+
className: "text-2xl font-bold text-status-success-text",
|
|
1151
1151
|
children: Q.resolved
|
|
1152
1152
|
}), /* @__PURE__ */ M("p", {
|
|
1153
|
-
className: "text-xs text-
|
|
1153
|
+
className: "text-xs text-text-secondary",
|
|
1154
1154
|
children: "Resolved"
|
|
1155
1155
|
})]
|
|
1156
1156
|
})
|
|
@@ -1159,7 +1159,7 @@ function V() {
|
|
|
1159
1159
|
/* @__PURE__ */ N("div", {
|
|
1160
1160
|
className: "flex items-center justify-between",
|
|
1161
1161
|
children: [/* @__PURE__ */ N("p", {
|
|
1162
|
-
className: "text-sm text-
|
|
1162
|
+
className: "text-sm text-text-secondary",
|
|
1163
1163
|
children: [
|
|
1164
1164
|
O.length,
|
|
1165
1165
|
" ticket",
|
|
@@ -1170,20 +1170,20 @@ function V() {
|
|
|
1170
1170
|
onClick: () => {
|
|
1171
1171
|
H(!0), d("contact");
|
|
1172
1172
|
},
|
|
1173
|
-
className: "flex items-center gap-1.5 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-
|
|
1173
|
+
className: "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",
|
|
1174
1174
|
children: [/* @__PURE__ */ M(w, { className: "h-4 w-4" }), "New Ticket"]
|
|
1175
1175
|
})]
|
|
1176
1176
|
}),
|
|
1177
1177
|
O.length === 0 ? /* @__PURE__ */ N("div", {
|
|
1178
|
-
className: "flex flex-col items-center justify-center rounded-lg border border-border bg-
|
|
1178
|
+
className: "flex flex-col items-center justify-center rounded-lg border border-border-subtle bg-bg-surface py-12",
|
|
1179
1179
|
children: [
|
|
1180
|
-
/* @__PURE__ */ M(w, { className: "h-12 w-12 text-
|
|
1180
|
+
/* @__PURE__ */ M(w, { className: "h-12 w-12 text-text-secondary/50 mb-3" }),
|
|
1181
1181
|
/* @__PURE__ */ M("h3", {
|
|
1182
|
-
className: "text-base font-semibold text-
|
|
1182
|
+
className: "text-base font-semibold text-text-primary mb-1",
|
|
1183
1183
|
children: "No support tickets"
|
|
1184
1184
|
}),
|
|
1185
1185
|
/* @__PURE__ */ M("p", {
|
|
1186
|
-
className: "text-sm text-
|
|
1186
|
+
className: "text-sm text-text-secondary mb-3",
|
|
1187
1187
|
children: "You haven't created any support tickets yet"
|
|
1188
1188
|
}),
|
|
1189
1189
|
/* @__PURE__ */ M("button", {
|
|
@@ -1191,7 +1191,7 @@ function V() {
|
|
|
1191
1191
|
onClick: () => {
|
|
1192
1192
|
H(!0), d("contact");
|
|
1193
1193
|
},
|
|
1194
|
-
className: "flex items-center gap-1.5 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-primary-
|
|
1194
|
+
className: "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",
|
|
1195
1195
|
children: "Create Your First Ticket"
|
|
1196
1196
|
})
|
|
1197
1197
|
]
|
|
@@ -1200,7 +1200,7 @@ function V() {
|
|
|
1200
1200
|
children: O.map((e) => {
|
|
1201
1201
|
let n = ue(e.status), i = e.responses.length > 0 ? e.responses[e.responses.length - 1] : null;
|
|
1202
1202
|
return /* @__PURE__ */ N("div", {
|
|
1203
|
-
className: "rounded-lg border border-border bg-
|
|
1203
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface overflow-hidden",
|
|
1204
1204
|
children: [/* @__PURE__ */ N("div", {
|
|
1205
1205
|
className: "p-4 sm:p-5",
|
|
1206
1206
|
children: [
|
|
@@ -1211,11 +1211,11 @@ function V() {
|
|
|
1211
1211
|
children: [/* @__PURE__ */ N("div", {
|
|
1212
1212
|
className: "flex items-center gap-2 mb-1",
|
|
1213
1213
|
children: [/* @__PURE__ */ M(n, { className: t("h-4 w-4", R(e.status).split(" ").slice(1).join(" ")) }), /* @__PURE__ */ M("h3", {
|
|
1214
|
-
className: "text-sm font-semibold text-
|
|
1214
|
+
className: "text-sm font-semibold text-text-primary truncate",
|
|
1215
1215
|
children: e.subject
|
|
1216
1216
|
})]
|
|
1217
1217
|
}), /* @__PURE__ */ N("p", {
|
|
1218
|
-
className: "text-xs text-
|
|
1218
|
+
className: "text-xs text-text-secondary",
|
|
1219
1219
|
children: [
|
|
1220
1220
|
e.category,
|
|
1221
1221
|
" · ",
|
|
@@ -1234,36 +1234,36 @@ function V() {
|
|
|
1234
1234
|
})]
|
|
1235
1235
|
}),
|
|
1236
1236
|
/* @__PURE__ */ M("p", {
|
|
1237
|
-
className: "text-sm text-
|
|
1237
|
+
className: "text-sm text-text-secondary mt-2 leading-relaxed",
|
|
1238
1238
|
children: e.description
|
|
1239
1239
|
}),
|
|
1240
1240
|
i && /* @__PURE__ */ N("div", {
|
|
1241
|
-
className: "mt-3 rounded-lg bg-
|
|
1241
|
+
className: "mt-3 rounded-lg bg-bg-sunken/50 border border-border-subtle p-3",
|
|
1242
1242
|
children: [/* @__PURE__ */ N("div", {
|
|
1243
1243
|
className: "flex items-center gap-1.5 mb-1",
|
|
1244
1244
|
children: [
|
|
1245
|
-
/* @__PURE__ */ M(_, { className: "h-3.5 w-3.5 text-
|
|
1245
|
+
/* @__PURE__ */ M(_, { className: "h-3.5 w-3.5 text-text-secondary" }),
|
|
1246
1246
|
/* @__PURE__ */ M("span", {
|
|
1247
|
-
className: "text-xs font-medium text-
|
|
1247
|
+
className: "text-xs font-medium text-text-primary",
|
|
1248
1248
|
children: i.sender === "support" ? "Support Team" : "You"
|
|
1249
1249
|
}),
|
|
1250
1250
|
/* @__PURE__ */ N("span", {
|
|
1251
|
-
className: "text-xs text-
|
|
1251
|
+
className: "text-xs text-text-secondary",
|
|
1252
1252
|
children: ["· ", r(i.timestamp)]
|
|
1253
1253
|
})
|
|
1254
1254
|
]
|
|
1255
1255
|
}), /* @__PURE__ */ M("p", {
|
|
1256
|
-
className: "text-sm text-
|
|
1256
|
+
className: "text-sm text-text-secondary",
|
|
1257
1257
|
children: i.message
|
|
1258
1258
|
})]
|
|
1259
1259
|
}),
|
|
1260
1260
|
e.responses.length === 0 && e.status === "open" && /* @__PURE__ */ N("div", {
|
|
1261
|
-
className: "mt-3 flex items-center gap-2 text-xs text-
|
|
1261
|
+
className: "mt-3 flex items-center gap-2 text-xs text-text-secondary",
|
|
1262
1262
|
children: [/* @__PURE__ */ M(m, { className: "h-3.5 w-3.5" }), "Awaiting response from support team"]
|
|
1263
1263
|
})
|
|
1264
1264
|
]
|
|
1265
1265
|
}), /* @__PURE__ */ N("div", {
|
|
1266
|
-
className: "flex flex-col gap-1 border-t border-border bg-
|
|
1266
|
+
className: "flex flex-col gap-1 border-t border-border-subtle bg-bg-sunken/30 px-4 py-2.5 sm:flex-row sm:items-center sm:justify-between text-xs text-text-secondary",
|
|
1267
1267
|
children: [
|
|
1268
1268
|
/* @__PURE__ */ N("span", { children: ["Created: ", r(e.createdAt)] }),
|
|
1269
1269
|
/* @__PURE__ */ N("span", { children: ["Updated: ", r(e.updatedAt)] }),
|
|
@@ -1280,14 +1280,14 @@ function V() {
|
|
|
1280
1280
|
]
|
|
1281
1281
|
}),
|
|
1282
1282
|
/* @__PURE__ */ M("section", {
|
|
1283
|
-
className: "mt-8 rounded-lg border border-border bg-
|
|
1283
|
+
className: "mt-8 rounded-lg border border-border-subtle bg-bg-sunken/30 p-5",
|
|
1284
1284
|
children: /* @__PURE__ */ N("div", {
|
|
1285
1285
|
className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
|
|
1286
1286
|
children: [/* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h3", {
|
|
1287
|
-
className: "text-sm font-semibold text-
|
|
1287
|
+
className: "text-sm font-semibold text-text-primary mb-1",
|
|
1288
1288
|
children: "Still need help?"
|
|
1289
1289
|
}), /* @__PURE__ */ M("p", {
|
|
1290
|
-
className: "text-xs text-
|
|
1290
|
+
className: "text-xs text-text-secondary",
|
|
1291
1291
|
children: "Our support team is available Monday to Saturday. Average response time is under 4 hours."
|
|
1292
1292
|
})] }), /* @__PURE__ */ N("div", {
|
|
1293
1293
|
className: "flex flex-wrap gap-2",
|
|
@@ -1295,13 +1295,13 @@ function V() {
|
|
|
1295
1295
|
/* @__PURE__ */ N("button", {
|
|
1296
1296
|
type: "button",
|
|
1297
1297
|
onClick: () => $(I[0]),
|
|
1298
|
-
className: "flex items-center gap-1.5 rounded-lg border border-border bg-
|
|
1298
|
+
className: "flex items-center gap-1.5 rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-xs font-medium text-text-primary hover:bg-accent transition-colors",
|
|
1299
1299
|
children: [/* @__PURE__ */ M(h, { className: "h-3.5 w-3.5" }), "Email Us"]
|
|
1300
1300
|
}),
|
|
1301
1301
|
/* @__PURE__ */ N("button", {
|
|
1302
1302
|
type: "button",
|
|
1303
1303
|
onClick: () => $(I[1]),
|
|
1304
|
-
className: "flex items-center gap-1.5 rounded-lg border border-border bg-
|
|
1304
|
+
className: "flex items-center gap-1.5 rounded-lg border border-border-subtle bg-bg-surface px-3 py-2 text-xs font-medium text-text-primary hover:bg-accent transition-colors",
|
|
1305
1305
|
children: [/* @__PURE__ */ M(v, { className: "h-3.5 w-3.5" }), "Call Us"]
|
|
1306
1306
|
}),
|
|
1307
1307
|
/* @__PURE__ */ N("button", {
|
|
@@ -1309,7 +1309,7 @@ function V() {
|
|
|
1309
1309
|
onClick: () => {
|
|
1310
1310
|
H(!0), d("contact");
|
|
1311
1311
|
},
|
|
1312
|
-
className: "flex items-center gap-1.5 rounded-lg bg-primary px-3 py-2 text-xs font-medium text-primary-
|
|
1312
|
+
className: "flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-3 py-2 text-xs font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
1313
1313
|
children: [/* @__PURE__ */ M(w, { className: "h-3.5 w-3.5" }), "Submit Ticket"]
|
|
1314
1314
|
})
|
|
1315
1315
|
]
|