@burdenoff/microfe-kadaikodi 2026.704.3 → 2026.704.4
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/kadaikodi/KadaikodiRoutes.js +30 -26
- package/dist/kadaikodi/KadaikodiRoutes.js.map +1 -1
- package/dist/kadaikodi/hooks/useKadaikodiApi.js +76 -6
- package/dist/kadaikodi/hooks/useKadaikodiApi.js.map +1 -1
- package/dist/kadaikodi/pages/admin/AdminAnalyticsPage.js.map +1 -1
- package/dist/kadaikodi/pages/admin/AdminProfilePage.js.map +1 -1
- package/dist/kadaikodi/pages/admin/AdminSettingsPage.js +332 -276
- package/dist/kadaikodi/pages/admin/AdminSettingsPage.js.map +1 -1
- package/dist/kadaikodi/pages/admin/CartManagementPage.js +278 -283
- package/dist/kadaikodi/pages/admin/CartManagementPage.js.map +1 -1
- package/dist/kadaikodi/pages/admin/UserManagementPage.js +310 -366
- package/dist/kadaikodi/pages/admin/UserManagementPage.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js +105 -111
- package/dist/kadaikodi/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.js +290 -257
- package/dist/kadaikodi/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js +84 -70
- package/dist/kadaikodi/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js +270 -228
- package/dist/kadaikodi/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.js +194 -173
- package/dist/kadaikodi/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js +202 -139
- package/dist/kadaikodi/pages/cart-owner/InventoryManagementPage.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/InvestmentListingPage.js +232 -0
- package/dist/kadaikodi/pages/cart-owner/InvestmentListingPage.js.map +1 -0
- package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js +84 -79
- package/dist/kadaikodi/pages/cart-owner/OrderManagementPage.js.map +1 -1
- package/dist/kadaikodi/pages/cart-owner/StaffManagementPage.js.map +1 -1
- package/dist/kadaikodi/pages/common/HelpSupportPage.js +310 -317
- package/dist/kadaikodi/pages/common/HelpSupportPage.js.map +1 -1
- package/dist/kadaikodi/pages/common/NotificationCenterPage.js.map +1 -1
- package/dist/kadaikodi/pages/common/SettingsPage.js +502 -586
- package/dist/kadaikodi/pages/common/SettingsPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/BookingDetailsPage.js +243 -143
- package/dist/kadaikodi/pages/customer/BookingDetailsPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/CartDetailPage.js +4 -4
- package/dist/kadaikodi/pages/customer/CartDetailPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/CartDiscoveryPage.js +2 -2
- package/dist/kadaikodi/pages/customer/CartDiscoveryPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/CheckoutPage.js +4 -4
- package/dist/kadaikodi/pages/customer/CheckoutPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/CustomerDashboard.js +5 -5
- package/dist/kadaikodi/pages/customer/CustomerDashboard.js.map +1 -1
- package/dist/kadaikodi/pages/customer/CustomerProfilePage.js +189 -199
- package/dist/kadaikodi/pages/customer/CustomerProfilePage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js +6 -4
- package/dist/kadaikodi/pages/customer/DirectServiceBookingPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/FavoritesPage.js +6 -6
- package/dist/kadaikodi/pages/customer/FavoritesPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/OrderHistoryPage.js +4 -4
- package/dist/kadaikodi/pages/customer/OrderHistoryPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/OrderTrackingPage.js +409 -304
- package/dist/kadaikodi/pages/customer/OrderTrackingPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/ReviewsPage.js +209 -162
- package/dist/kadaikodi/pages/customer/ReviewsPage.js.map +1 -1
- package/dist/kadaikodi/pages/customer/SavedAddressesPage.js.map +1 -1
- package/dist/kadaikodi/pages/investor/InvestmentDetailsPage.js.map +1 -1
- package/dist/kadaikodi/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
- package/dist/kadaikodi/pages/investor/InvestorAnalyticsPage.js.map +1 -1
- package/dist/kadaikodi/pages/investor/InvestorProfilePage.js +441 -514
- package/dist/kadaikodi/pages/investor/InvestorProfilePage.js.map +1 -1
- package/dist/kadaikodi/pages/worker/TaskDetailsPage.js +207 -186
- package/dist/kadaikodi/pages/worker/TaskDetailsPage.js.map +1 -1
- package/dist/kadaikodi/pages/worker/WorkerOrdersPage.js.map +1 -1
- package/dist/kadaikodi/pages/worker/WorkerProfilePage.js +340 -272
- package/dist/kadaikodi/pages/worker/WorkerProfilePage.js.map +1 -1
- package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js +122 -75
- package/dist/kadaikodi/pages/worker/WorkerSchedulePage.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,11 +3,11 @@ import { PageLayout as t } from "../../components/PageLayout.js";
|
|
|
3
3
|
import { EmptyState as n } from "../../components/EmptyState.js";
|
|
4
4
|
import { formatDate as r } from "../../utils/formatters.js";
|
|
5
5
|
import { useMemo as i, useState as a } from "react";
|
|
6
|
-
import { AlertCircle as
|
|
7
|
-
import {
|
|
8
|
-
import { EmphasisPanel as
|
|
6
|
+
import { AlertCircle as o, AlertTriangle as s, BookOpen as c, CheckCircle2 as l, ChevronDown as ee, ChevronUp as u, Circle as d, CircleDot as f, Clock as p, CreditCard as m, ExternalLink as te, FileText as ne, HelpCircle as re, Info as h, Lightbulb as g, Mail as _, MessageCircle as v, MessageSquare as y, Phone as b, PhoneCall as x, Search as ie, Send as S, Shield as C, ShoppingBag as w, Tag as ae, ThumbsUp as T, Ticket as E, TrendingUp as D, Truck as O, User as k, Wrench as A, X as j, XCircle as M } from "lucide-react";
|
|
7
|
+
import { jsx as N, jsxs as P } from "react/jsx-runtime";
|
|
8
|
+
import { EmphasisPanel as oe, PagePurpose as se } from "@burdenoff/fe-libs/ui";
|
|
9
9
|
//#region src/kadaikodi/pages/common/HelpSupportPage.tsx
|
|
10
|
-
var
|
|
10
|
+
var F = [
|
|
11
11
|
"Account & Profile",
|
|
12
12
|
"Orders & Payments",
|
|
13
13
|
"Cart Owners",
|
|
@@ -16,16 +16,16 @@ var P = [
|
|
|
16
16
|
"Technical Issues",
|
|
17
17
|
"Billing & Refunds",
|
|
18
18
|
"Privacy & Security"
|
|
19
|
-
],
|
|
19
|
+
], I = [
|
|
20
20
|
{
|
|
21
21
|
label: "Getting Started",
|
|
22
|
-
icon:
|
|
22
|
+
icon: c,
|
|
23
23
|
description: "New to Kadaikodi? Start here",
|
|
24
24
|
color: "bg-[var(--color-accent-soft)] text-text-primary"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
label: "Orders & Delivery",
|
|
28
|
-
icon:
|
|
28
|
+
icon: w,
|
|
29
29
|
description: "Placing, tracking, and cancelling orders",
|
|
30
30
|
color: "bg-status-success-bg-subtle text-status-success-text"
|
|
31
31
|
},
|
|
@@ -37,48 +37,48 @@ var P = [
|
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
label: "Account & Profile",
|
|
40
|
-
icon:
|
|
40
|
+
icon: k,
|
|
41
41
|
description: "Manage your account and settings",
|
|
42
42
|
color: "bg-status-warning-bg-subtle text-status-warning-text"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
label: "Cart Owners",
|
|
46
|
-
icon:
|
|
46
|
+
icon: A,
|
|
47
47
|
description: "Running your cart business",
|
|
48
48
|
color: "bg-status-success-bg-subtle text-status-success-text"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
label: "Workers & Delivery",
|
|
52
|
-
icon:
|
|
52
|
+
icon: O,
|
|
53
53
|
description: "Delivery partner information",
|
|
54
54
|
color: "bg-[var(--color-accent-soft)] text-text-primary"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
label: "Investments",
|
|
58
|
-
icon:
|
|
58
|
+
icon: D,
|
|
59
59
|
description: "Investment opportunities and returns",
|
|
60
60
|
color: "bg-status-success-bg-subtle text-status-success-text"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
label: "Security & Privacy",
|
|
64
|
-
icon:
|
|
64
|
+
icon: C,
|
|
65
65
|
description: "Data protection and safety",
|
|
66
66
|
color: "bg-status-error-bg-subtle text-status-error-text"
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
label: "Technical Issues",
|
|
70
|
-
icon:
|
|
70
|
+
icon: s,
|
|
71
71
|
description: "App issues and troubleshooting",
|
|
72
72
|
color: "bg-status-warning-bg-subtle text-status-warning-text"
|
|
73
73
|
}
|
|
74
|
-
],
|
|
74
|
+
], L = [
|
|
75
75
|
{
|
|
76
76
|
type: "email",
|
|
77
77
|
label: "Email Support",
|
|
78
78
|
value: "support@kadaikodi.com",
|
|
79
79
|
available: !0,
|
|
80
80
|
responseTime: "Within 24 hours",
|
|
81
|
-
icon:
|
|
81
|
+
icon: _
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
type: "phone",
|
|
@@ -86,15 +86,15 @@ var P = [
|
|
|
86
86
|
value: "+91 80-4012-3456",
|
|
87
87
|
available: !0,
|
|
88
88
|
responseTime: "9 AM - 9 PM IST",
|
|
89
|
-
icon:
|
|
89
|
+
icon: x
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
type: "chat",
|
|
93
93
|
label: "Live Chat",
|
|
94
|
-
value: "
|
|
95
|
-
available: !
|
|
96
|
-
responseTime: "
|
|
97
|
-
icon:
|
|
94
|
+
value: "Coming soon",
|
|
95
|
+
available: !1,
|
|
96
|
+
responseTime: "Not available yet",
|
|
97
|
+
icon: v
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
type: "whatsapp",
|
|
@@ -102,9 +102,9 @@ var P = [
|
|
|
102
102
|
value: "+91 98765-43210",
|
|
103
103
|
available: !0,
|
|
104
104
|
responseTime: "2-4 hours",
|
|
105
|
-
icon:
|
|
105
|
+
icon: y
|
|
106
106
|
}
|
|
107
|
-
],
|
|
107
|
+
], R = [
|
|
108
108
|
{
|
|
109
109
|
id: "faq-001",
|
|
110
110
|
category: "Account & Profile",
|
|
@@ -361,47 +361,53 @@ var P = [
|
|
|
361
361
|
"data"
|
|
362
362
|
]
|
|
363
363
|
}
|
|
364
|
-
],
|
|
364
|
+
], z = [
|
|
365
365
|
{
|
|
366
366
|
id: "art-1",
|
|
367
367
|
title: "Getting Started with Kadaikodi",
|
|
368
|
-
category: "Getting Started"
|
|
368
|
+
category: "Getting Started",
|
|
369
|
+
faqCategory: "Account & Profile"
|
|
369
370
|
},
|
|
370
371
|
{
|
|
371
372
|
id: "art-2",
|
|
372
373
|
title: "How to Place Your First Order",
|
|
373
|
-
category: "Orders"
|
|
374
|
+
category: "Orders",
|
|
375
|
+
faqCategory: "Orders & Payments"
|
|
374
376
|
},
|
|
375
377
|
{
|
|
376
378
|
id: "art-3",
|
|
377
379
|
title: "Understanding Investment Returns",
|
|
378
|
-
category: "Investors"
|
|
380
|
+
category: "Investors",
|
|
381
|
+
faqCategory: "Investors"
|
|
379
382
|
},
|
|
380
383
|
{
|
|
381
384
|
id: "art-4",
|
|
382
385
|
title: "Setting Up Your Cart Business",
|
|
383
|
-
category: "Cart Owners"
|
|
386
|
+
category: "Cart Owners",
|
|
387
|
+
faqCategory: "Cart Owners"
|
|
384
388
|
},
|
|
385
389
|
{
|
|
386
390
|
id: "art-5",
|
|
387
391
|
title: "Payment Troubleshooting Guide",
|
|
388
|
-
category: "Payments"
|
|
392
|
+
category: "Payments",
|
|
393
|
+
faqCategory: "Orders & Payments"
|
|
389
394
|
},
|
|
390
395
|
{
|
|
391
396
|
id: "art-6",
|
|
392
397
|
title: "Delivery Partner Onboarding Guide",
|
|
393
|
-
category: "Workers"
|
|
398
|
+
category: "Workers",
|
|
399
|
+
faqCategory: "Delivery & Workers"
|
|
394
400
|
}
|
|
395
401
|
];
|
|
396
|
-
function
|
|
402
|
+
function B(e) {
|
|
397
403
|
switch (e) {
|
|
398
404
|
case "open": return d;
|
|
399
405
|
case "in-progress": return f;
|
|
400
|
-
case "resolved": return
|
|
401
|
-
case "closed": return
|
|
406
|
+
case "resolved": return l;
|
|
407
|
+
case "closed": return M;
|
|
402
408
|
}
|
|
403
409
|
}
|
|
404
|
-
function
|
|
410
|
+
function V(e) {
|
|
405
411
|
switch (e) {
|
|
406
412
|
case "open": return "bg-[var(--color-accent-soft)] text-text-primary";
|
|
407
413
|
case "in-progress": return "bg-status-warning-bg-subtle text-status-warning-text";
|
|
@@ -409,7 +415,7 @@ function z(e) {
|
|
|
409
415
|
case "closed": return "bg-bg-sunken text-text-secondary";
|
|
410
416
|
}
|
|
411
417
|
}
|
|
412
|
-
function
|
|
418
|
+
function H(e) {
|
|
413
419
|
switch (e) {
|
|
414
420
|
case "urgent": return "bg-status-error-bg-subtle text-status-error-text";
|
|
415
421
|
case "high": return "bg-status-warning-bg-subtle text-status-warning-text";
|
|
@@ -417,35 +423,41 @@ function B(e) {
|
|
|
417
423
|
case "low": return "bg-bg-sunken text-text-secondary";
|
|
418
424
|
}
|
|
419
425
|
}
|
|
420
|
-
function
|
|
426
|
+
function U(e) {
|
|
421
427
|
return e.replace("-", " ").replace(/\b\w/g, (e) => e.toUpperCase());
|
|
422
428
|
}
|
|
423
|
-
function
|
|
424
|
-
let [
|
|
429
|
+
function W() {
|
|
430
|
+
let [c, d] = a("faq"), [f, m] = a(""), [v, x] = a(""), [C, w] = a(null), D = R, [O, k] = a(() => /* @__PURE__ */ new Set()), [A] = a([]), [M, W] = a(!1), [G, K] = a(""), [q, J] = a(""), [Y, X] = a({
|
|
425
431
|
subject: "",
|
|
426
432
|
category: "",
|
|
427
433
|
priority: "medium",
|
|
428
434
|
description: ""
|
|
429
|
-
}), Z = i(() =>
|
|
430
|
-
let t = !f || e.question.toLowerCase().includes(f.toLowerCase()) || e.answer.toLowerCase().includes(f.toLowerCase()) || e.tags.some((e) => e.toLowerCase().includes(f.toLowerCase())), n = !
|
|
435
|
+
}), Z = i(() => D.filter((e) => {
|
|
436
|
+
let t = !f || e.question.toLowerCase().includes(f.toLowerCase()) || e.answer.toLowerCase().includes(f.toLowerCase()) || e.tags.some((e) => e.toLowerCase().includes(f.toLowerCase())), n = !v || e.category === v;
|
|
431
437
|
return t && n;
|
|
432
438
|
}), [
|
|
433
|
-
|
|
439
|
+
D,
|
|
434
440
|
f,
|
|
435
|
-
|
|
441
|
+
v
|
|
436
442
|
]), Q = i(() => ({
|
|
437
|
-
open:
|
|
438
|
-
inProgress:
|
|
439
|
-
resolved:
|
|
440
|
-
closed:
|
|
441
|
-
total:
|
|
442
|
-
}), [
|
|
443
|
-
|
|
444
|
-
},
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
443
|
+
open: A.filter((e) => e.status === "open").length,
|
|
444
|
+
inProgress: A.filter((e) => e.status === "in-progress").length,
|
|
445
|
+
resolved: A.filter((e) => e.status === "resolved").length,
|
|
446
|
+
closed: A.filter((e) => e.status === "closed").length,
|
|
447
|
+
total: A.length
|
|
448
|
+
}), [A]), ce = (e) => {
|
|
449
|
+
w((t) => t === e ? null : e);
|
|
450
|
+
}, le = (e) => {
|
|
451
|
+
k((t) => {
|
|
452
|
+
if (t.has(e)) return t;
|
|
453
|
+
let n = new Set(t);
|
|
454
|
+
return n.add(e), n;
|
|
455
|
+
});
|
|
456
|
+
}, ue = (e) => {
|
|
457
|
+
m(""), x(e), d("faq"), window.scrollTo({
|
|
458
|
+
top: 0,
|
|
459
|
+
behavior: "smooth"
|
|
460
|
+
});
|
|
449
461
|
}, $ = (e) => {
|
|
450
462
|
switch (e.type) {
|
|
451
463
|
case "email":
|
|
@@ -457,11 +469,9 @@ function H() {
|
|
|
457
469
|
case "whatsapp":
|
|
458
470
|
window.open(`https://wa.me/${e.value.replace(/[^0-9]/g, "")}`, "_blank");
|
|
459
471
|
break;
|
|
460
|
-
case "chat":
|
|
461
|
-
alert("Live chat will be available soon!");
|
|
462
|
-
break;
|
|
472
|
+
case "chat": break;
|
|
463
473
|
}
|
|
464
|
-
},
|
|
474
|
+
}, de = () => {
|
|
465
475
|
if (J(""), K(""), !Y.subject.trim()) {
|
|
466
476
|
J("Please enter a subject for your ticket.");
|
|
467
477
|
return;
|
|
@@ -474,26 +484,14 @@ function H() {
|
|
|
474
484
|
J("Please select a category.");
|
|
475
485
|
return;
|
|
476
486
|
}
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
createdAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
486
|
-
updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
487
|
-
responses: []
|
|
488
|
-
};
|
|
489
|
-
O((t) => [e, ...t]), X({
|
|
490
|
-
subject: "",
|
|
491
|
-
category: "",
|
|
492
|
-
priority: "medium",
|
|
493
|
-
description: ""
|
|
494
|
-
}), W(!1), H(!1), K("Support ticket created successfully! Our team will respond within 24 hours."), d("tickets"), setTimeout(() => K(""), 5e3);
|
|
495
|
-
}, 1e3);
|
|
496
|
-
}, me = [
|
|
487
|
+
let e = encodeURIComponent(`[${Y.priority.toUpperCase()}] ${Y.subject}`), t = encodeURIComponent(`Category: ${Y.category}\nPriority: ${Y.priority}\n\n${Y.description}`);
|
|
488
|
+
window.location.href = `mailto:support@kadaikodi.com?subject=${e}&body=${t}`, X({
|
|
489
|
+
subject: "",
|
|
490
|
+
category: "",
|
|
491
|
+
priority: "medium",
|
|
492
|
+
description: ""
|
|
493
|
+
}), W(!1), K("Opening your email app to send this to support@kadaikodi.com. Our team replies within 24 hours."), window.setTimeout(() => K(""), 6e3);
|
|
494
|
+
}, fe = [
|
|
497
495
|
{
|
|
498
496
|
id: "faq",
|
|
499
497
|
label: "FAQ",
|
|
@@ -502,84 +500,84 @@ function H() {
|
|
|
502
500
|
{
|
|
503
501
|
id: "contact",
|
|
504
502
|
label: "Contact Us",
|
|
505
|
-
icon:
|
|
503
|
+
icon: b
|
|
506
504
|
},
|
|
507
505
|
{
|
|
508
506
|
id: "tickets",
|
|
509
507
|
label: "My Tickets",
|
|
510
|
-
icon:
|
|
508
|
+
icon: E
|
|
511
509
|
}
|
|
512
510
|
];
|
|
513
|
-
return /* @__PURE__ */
|
|
511
|
+
return /* @__PURE__ */ P(t, {
|
|
514
512
|
title: "Help & Support",
|
|
515
513
|
description: "Find answers, contact support, or track your requests",
|
|
516
514
|
children: [
|
|
517
|
-
G && /* @__PURE__ */
|
|
515
|
+
G && /* @__PURE__ */ P("div", {
|
|
518
516
|
className: "mb-4 flex items-center gap-2 rounded-lg border border-status-success-text/30 bg-status-success-bg-subtle px-4 py-3 text-sm text-status-success-text",
|
|
519
517
|
children: [
|
|
520
|
-
/* @__PURE__ */
|
|
518
|
+
/* @__PURE__ */ N(l, { className: "h-4 w-4 shrink-0" }),
|
|
521
519
|
G,
|
|
522
|
-
/* @__PURE__ */
|
|
520
|
+
/* @__PURE__ */ N("button", {
|
|
523
521
|
type: "button",
|
|
524
522
|
onClick: () => K(""),
|
|
525
523
|
className: "ml-auto",
|
|
526
|
-
children: /* @__PURE__ */
|
|
524
|
+
children: /* @__PURE__ */ N(j, { className: "h-4 w-4" })
|
|
527
525
|
})
|
|
528
526
|
]
|
|
529
527
|
}),
|
|
530
|
-
/* @__PURE__ */
|
|
528
|
+
/* @__PURE__ */ N(se, {
|
|
531
529
|
className: "mb-6",
|
|
532
530
|
children: "Stuck or have a question? Start here. Use this page to search FAQs and help articles, browse topics by category, reach our support team, and track any requests you've raised — so you can get unblocked fast without leaving the app. Search first; if you still need a human, open a ticket and follow it under your requests."
|
|
533
531
|
}),
|
|
534
|
-
/* @__PURE__ */
|
|
532
|
+
/* @__PURE__ */ P(oe, {
|
|
535
533
|
className: "mb-6",
|
|
536
|
-
children: [/* @__PURE__ */
|
|
534
|
+
children: [/* @__PURE__ */ N("h2", {
|
|
537
535
|
className: "mb-3 text-base font-semibold text-text-primary",
|
|
538
536
|
children: "How can we help?"
|
|
539
|
-
}), /* @__PURE__ */
|
|
537
|
+
}), /* @__PURE__ */ P("div", {
|
|
540
538
|
className: "relative",
|
|
541
539
|
children: [
|
|
542
|
-
/* @__PURE__ */
|
|
543
|
-
/* @__PURE__ */
|
|
540
|
+
/* @__PURE__ */ N(ie, { className: "absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-text-secondary" }),
|
|
541
|
+
/* @__PURE__ */ N("input", {
|
|
544
542
|
type: "text",
|
|
545
543
|
value: f,
|
|
546
544
|
onChange: (e) => {
|
|
547
|
-
m(e.target.value),
|
|
545
|
+
m(e.target.value), c !== "faq" && d("faq");
|
|
548
546
|
},
|
|
549
547
|
placeholder: "Search help articles, FAQs, and more...",
|
|
550
548
|
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)]"
|
|
551
549
|
}),
|
|
552
|
-
f && /* @__PURE__ */
|
|
550
|
+
f && /* @__PURE__ */ N("button", {
|
|
553
551
|
type: "button",
|
|
554
552
|
onClick: () => m(""),
|
|
555
553
|
className: "absolute right-3 top-1/2 -translate-y-1/2 text-text-secondary hover:text-text-primary",
|
|
556
|
-
children: /* @__PURE__ */
|
|
554
|
+
children: /* @__PURE__ */ N(j, { className: "h-4 w-4" })
|
|
557
555
|
})
|
|
558
556
|
]
|
|
559
557
|
})]
|
|
560
558
|
}),
|
|
561
|
-
/* @__PURE__ */
|
|
559
|
+
/* @__PURE__ */ P("section", {
|
|
562
560
|
className: "mb-6",
|
|
563
|
-
children: [/* @__PURE__ */
|
|
561
|
+
children: [/* @__PURE__ */ N("h2", {
|
|
564
562
|
className: "text-lg font-semibold text-text-primary mb-3",
|
|
565
563
|
children: "Browse Help Topics"
|
|
566
|
-
}), /* @__PURE__ */
|
|
564
|
+
}), /* @__PURE__ */ N("div", {
|
|
567
565
|
className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",
|
|
568
|
-
children:
|
|
566
|
+
children: I.map((t) => {
|
|
569
567
|
let n = t.icon;
|
|
570
|
-
return /* @__PURE__ */
|
|
568
|
+
return /* @__PURE__ */ P("button", {
|
|
571
569
|
type: "button",
|
|
572
570
|
onClick: () => {
|
|
573
|
-
|
|
571
|
+
x(t.label === v ? "" : t.label), d("faq");
|
|
574
572
|
},
|
|
575
|
-
className: e("flex items-start gap-3 rounded-lg border bg-bg-surface p-4 text-left transition-all hover:shadow-sm",
|
|
576
|
-
children: [/* @__PURE__ */
|
|
573
|
+
className: e("flex items-start gap-3 rounded-lg border bg-bg-surface p-4 text-left transition-all hover:shadow-sm", v === t.label ? "border-primary ring-1 ring-primary" : "border-border-subtle"),
|
|
574
|
+
children: [/* @__PURE__ */ N("div", {
|
|
577
575
|
className: e("flex h-10 w-10 shrink-0 items-center justify-center rounded-lg", t.color),
|
|
578
|
-
children: /* @__PURE__ */
|
|
579
|
-
}), /* @__PURE__ */
|
|
576
|
+
children: /* @__PURE__ */ N(n, { className: "h-5 w-5" })
|
|
577
|
+
}), /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("p", {
|
|
580
578
|
className: "text-sm font-semibold text-text-primary",
|
|
581
579
|
children: t.label
|
|
582
|
-
}), /* @__PURE__ */
|
|
580
|
+
}), /* @__PURE__ */ N("p", {
|
|
583
581
|
className: "text-xs text-text-secondary",
|
|
584
582
|
children: t.description
|
|
585
583
|
})] })]
|
|
@@ -587,20 +585,20 @@ function H() {
|
|
|
587
585
|
})
|
|
588
586
|
})]
|
|
589
587
|
}),
|
|
590
|
-
/* @__PURE__ */
|
|
588
|
+
/* @__PURE__ */ N("section", {
|
|
591
589
|
className: "mb-6",
|
|
592
|
-
children: /* @__PURE__ */
|
|
590
|
+
children: /* @__PURE__ */ N("div", {
|
|
593
591
|
className: "flex space-x-1 bg-bg-sunken p-1 rounded-lg w-full sm:w-fit",
|
|
594
|
-
children:
|
|
592
|
+
children: fe.map((t) => {
|
|
595
593
|
let n = t.icon;
|
|
596
|
-
return /* @__PURE__ */
|
|
594
|
+
return /* @__PURE__ */ P("button", {
|
|
597
595
|
type: "button",
|
|
598
596
|
onClick: () => d(t.id),
|
|
599
|
-
className: e("flex flex-1 sm:flex-none items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors",
|
|
597
|
+
className: e("flex flex-1 sm:flex-none items-center justify-center gap-2 rounded-md px-4 py-2 text-sm font-medium transition-colors", c === t.id ? "bg-bg-surface text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"),
|
|
600
598
|
children: [
|
|
601
|
-
/* @__PURE__ */
|
|
602
|
-
/* @__PURE__ */
|
|
603
|
-
t.id === "tickets" && Q.open > 0 && /* @__PURE__ */
|
|
599
|
+
/* @__PURE__ */ N(n, { className: "h-4 w-4" }),
|
|
600
|
+
/* @__PURE__ */ N("span", { children: t.label }),
|
|
601
|
+
t.id === "tickets" && Q.open > 0 && /* @__PURE__ */ N("span", {
|
|
604
602
|
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",
|
|
605
603
|
children: Q.open
|
|
606
604
|
})
|
|
@@ -609,149 +607,144 @@ function H() {
|
|
|
609
607
|
})
|
|
610
608
|
})
|
|
611
609
|
}),
|
|
612
|
-
|
|
610
|
+
c === "faq" && /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ P("div", {
|
|
613
611
|
className: "mb-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",
|
|
614
|
-
children: [/* @__PURE__ */
|
|
612
|
+
children: [/* @__PURE__ */ P("p", {
|
|
615
613
|
className: "text-sm text-text-secondary",
|
|
616
614
|
children: [
|
|
617
615
|
Z.length,
|
|
618
616
|
" question",
|
|
619
617
|
Z.length === 1 ? "" : "s",
|
|
620
618
|
" found",
|
|
621
|
-
|
|
619
|
+
v && /* @__PURE__ */ P("span", { children: [
|
|
622
620
|
" ",
|
|
623
621
|
"in ",
|
|
624
|
-
/* @__PURE__ */
|
|
622
|
+
/* @__PURE__ */ N("span", {
|
|
625
623
|
className: "font-medium text-text-primary",
|
|
626
|
-
children:
|
|
624
|
+
children: v
|
|
627
625
|
}),
|
|
628
|
-
/* @__PURE__ */
|
|
626
|
+
/* @__PURE__ */ N("button", {
|
|
629
627
|
type: "button",
|
|
630
|
-
onClick: () =>
|
|
628
|
+
onClick: () => x(""),
|
|
631
629
|
className: "ml-1 text-primary hover:underline",
|
|
632
630
|
children: "(clear)"
|
|
633
631
|
})
|
|
634
632
|
] })
|
|
635
633
|
]
|
|
636
|
-
}), /* @__PURE__ */
|
|
637
|
-
value:
|
|
638
|
-
onChange: (e) =>
|
|
634
|
+
}), /* @__PURE__ */ P("select", {
|
|
635
|
+
value: v,
|
|
636
|
+
onChange: (e) => x(e.target.value),
|
|
639
637
|
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)]",
|
|
640
|
-
children: [/* @__PURE__ */
|
|
638
|
+
children: [/* @__PURE__ */ N("option", {
|
|
641
639
|
value: "",
|
|
642
640
|
children: "All Categories"
|
|
643
|
-
}),
|
|
641
|
+
}), F.map((e) => /* @__PURE__ */ N("option", {
|
|
644
642
|
value: e,
|
|
645
643
|
children: e
|
|
646
644
|
}, e))]
|
|
647
645
|
})]
|
|
648
|
-
}), Z.length > 0 ? /* @__PURE__ */
|
|
646
|
+
}), Z.length > 0 ? /* @__PURE__ */ N("div", {
|
|
649
647
|
className: "space-y-3",
|
|
650
648
|
children: Z.map((t) => {
|
|
651
|
-
let n =
|
|
652
|
-
return /* @__PURE__ */
|
|
649
|
+
let n = C === t.id;
|
|
650
|
+
return /* @__PURE__ */ P("div", {
|
|
653
651
|
className: "rounded-lg border border-border-subtle bg-bg-surface overflow-hidden",
|
|
654
|
-
children: [/* @__PURE__ */
|
|
652
|
+
children: [/* @__PURE__ */ P("button", {
|
|
655
653
|
type: "button",
|
|
656
|
-
onClick: () =>
|
|
654
|
+
onClick: () => ce(t.id),
|
|
657
655
|
className: "flex w-full items-start justify-between gap-3 px-4 py-4 text-left hover:bg-accent/50 transition-colors",
|
|
658
|
-
children: [/* @__PURE__ */
|
|
656
|
+
children: [/* @__PURE__ */ P("div", {
|
|
659
657
|
className: "flex-1 min-w-0",
|
|
660
658
|
children: [/* @__PURE__ */ N("div", {
|
|
661
659
|
className: "flex flex-wrap items-center gap-2 mb-1",
|
|
662
|
-
children:
|
|
660
|
+
children: /* @__PURE__ */ N("span", {
|
|
663
661
|
className: "inline-flex items-center rounded-full bg-bg-sunken px-2 py-0.5 text-xs font-medium text-text-secondary",
|
|
664
662
|
children: t.category
|
|
665
|
-
})
|
|
666
|
-
|
|
667
|
-
children: [/* @__PURE__ */ M(C, { className: "h-3 w-3" }), t.helpful]
|
|
668
|
-
})]
|
|
669
|
-
}), /* @__PURE__ */ M("span", {
|
|
663
|
+
})
|
|
664
|
+
}), /* @__PURE__ */ N("span", {
|
|
670
665
|
className: e("text-sm", n ? "font-semibold text-text-primary" : "font-medium text-text-primary"),
|
|
671
666
|
children: t.question
|
|
672
667
|
})]
|
|
673
|
-
}),
|
|
674
|
-
}), n && /* @__PURE__ */
|
|
668
|
+
}), N(n ? u : ee, { className: "h-4 w-4 text-text-secondary shrink-0 mt-1" })]
|
|
669
|
+
}), n && /* @__PURE__ */ P("div", {
|
|
675
670
|
className: "border-t border-border-subtle px-4 pb-4 pt-3",
|
|
676
|
-
children: [/* @__PURE__ */
|
|
671
|
+
children: [/* @__PURE__ */ N("p", {
|
|
677
672
|
className: "text-sm text-text-secondary leading-relaxed mb-3",
|
|
678
673
|
children: t.answer
|
|
679
|
-
}), /* @__PURE__ */
|
|
674
|
+
}), /* @__PURE__ */ P("div", {
|
|
680
675
|
className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",
|
|
681
|
-
children: [/* @__PURE__ */
|
|
676
|
+
children: [/* @__PURE__ */ N("div", {
|
|
682
677
|
className: "flex flex-wrap gap-1.5",
|
|
683
|
-
children: t.tags.map((e) => /* @__PURE__ */
|
|
678
|
+
children: t.tags.map((e) => /* @__PURE__ */ P("span", {
|
|
684
679
|
className: "inline-flex items-center gap-1 rounded-full bg-bg-sunken px-2 py-0.5 text-xs text-text-secondary",
|
|
685
|
-
children: [/* @__PURE__ */
|
|
680
|
+
children: [/* @__PURE__ */ N(ae, { className: "h-2.5 w-2.5" }), e]
|
|
686
681
|
}, e))
|
|
687
|
-
}), /* @__PURE__ */
|
|
682
|
+
}), O.has(t.id) ? /* @__PURE__ */ P("span", {
|
|
683
|
+
className: "flex items-center gap-1.5 rounded-lg border border-status-success-text/30 bg-status-success-bg-subtle px-3 py-1.5 text-xs font-medium text-status-success-text",
|
|
684
|
+
children: [/* @__PURE__ */ N(T, { className: "h-3.5 w-3.5" }), "Thanks for your feedback"]
|
|
685
|
+
}) : /* @__PURE__ */ P("button", {
|
|
688
686
|
type: "button",
|
|
689
687
|
onClick: (e) => {
|
|
690
|
-
e.stopPropagation(),
|
|
688
|
+
e.stopPropagation(), le(t.id);
|
|
691
689
|
},
|
|
692
690
|
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",
|
|
693
|
-
children: [
|
|
694
|
-
/* @__PURE__ */ M(C, { className: "h-3.5 w-3.5" }),
|
|
695
|
-
"Helpful (",
|
|
696
|
-
t.helpful,
|
|
697
|
-
")"
|
|
698
|
-
]
|
|
691
|
+
children: [/* @__PURE__ */ N(T, { className: "h-3.5 w-3.5" }), "Was this helpful?"]
|
|
699
692
|
})]
|
|
700
693
|
})]
|
|
701
694
|
})]
|
|
702
695
|
}, t.id);
|
|
703
696
|
})
|
|
704
|
-
}) : /* @__PURE__ */
|
|
697
|
+
}) : /* @__PURE__ */ N(n, {
|
|
705
698
|
illustration: "empty-search",
|
|
706
699
|
title: "No FAQs found",
|
|
707
700
|
description: "Try adjusting your search or browse different categories. If you still can't find an answer, contact support.",
|
|
708
|
-
action: /* @__PURE__ */
|
|
701
|
+
action: /* @__PURE__ */ N("button", {
|
|
709
702
|
type: "button",
|
|
710
703
|
onClick: () => {
|
|
711
|
-
m(""),
|
|
704
|
+
m(""), x("");
|
|
712
705
|
},
|
|
713
706
|
className: "rounded-lg border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
714
707
|
children: "Clear all filters"
|
|
715
708
|
})
|
|
716
709
|
})] }),
|
|
717
|
-
|
|
710
|
+
c === "contact" && /* @__PURE__ */ P("div", {
|
|
718
711
|
className: "space-y-6",
|
|
719
712
|
children: [
|
|
720
|
-
/* @__PURE__ */
|
|
713
|
+
/* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("h2", {
|
|
721
714
|
className: "text-base font-semibold text-text-primary mb-3",
|
|
722
715
|
children: "Get in Touch"
|
|
723
|
-
}), /* @__PURE__ */
|
|
716
|
+
}), /* @__PURE__ */ N("div", {
|
|
724
717
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
725
|
-
children:
|
|
718
|
+
children: L.map((t) => {
|
|
726
719
|
let n = t.icon;
|
|
727
|
-
return /* @__PURE__ */
|
|
720
|
+
return /* @__PURE__ */ N("div", {
|
|
728
721
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
729
|
-
children: /* @__PURE__ */
|
|
722
|
+
children: /* @__PURE__ */ P("div", {
|
|
730
723
|
className: "flex items-start gap-4",
|
|
731
|
-
children: [/* @__PURE__ */
|
|
724
|
+
children: [/* @__PURE__ */ N("div", {
|
|
732
725
|
className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-lg bg-bg-sunken",
|
|
733
|
-
children: /* @__PURE__ */
|
|
734
|
-
}), /* @__PURE__ */
|
|
726
|
+
children: /* @__PURE__ */ N(n, { className: "h-6 w-6 text-text-secondary" })
|
|
727
|
+
}), /* @__PURE__ */ P("div", {
|
|
735
728
|
className: "flex-1 min-w-0",
|
|
736
729
|
children: [
|
|
737
|
-
/* @__PURE__ */
|
|
730
|
+
/* @__PURE__ */ N("h3", {
|
|
738
731
|
className: "text-sm font-semibold text-text-primary",
|
|
739
732
|
children: t.label
|
|
740
733
|
}),
|
|
741
|
-
/* @__PURE__ */
|
|
734
|
+
/* @__PURE__ */ N("p", {
|
|
742
735
|
className: "text-sm text-text-primary mt-0.5 break-words",
|
|
743
736
|
children: t.value
|
|
744
737
|
}),
|
|
745
|
-
/* @__PURE__ */
|
|
738
|
+
/* @__PURE__ */ P("div", {
|
|
746
739
|
className: "flex items-center gap-1 mt-1 text-xs text-text-secondary",
|
|
747
|
-
children: [/* @__PURE__ */
|
|
740
|
+
children: [/* @__PURE__ */ N(p, { className: "h-3 w-3" }), t.responseTime]
|
|
748
741
|
}),
|
|
749
|
-
/* @__PURE__ */
|
|
742
|
+
/* @__PURE__ */ P("button", {
|
|
750
743
|
type: "button",
|
|
751
744
|
onClick: () => $(t),
|
|
752
745
|
disabled: !t.available,
|
|
753
746
|
className: e("mt-3 flex items-center gap-1.5 rounded-lg px-4 py-2 text-sm font-medium transition-colors", t.available ? "bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bg/90" : "bg-bg-sunken text-text-secondary cursor-not-allowed"),
|
|
754
|
-
children: [t.type === "chat" ? "
|
|
747
|
+
children: [t.type === "chat" ? "Coming soon" : t.type === "email" ? "Send Email" : "Contact", t.available && /* @__PURE__ */ N(te, { className: "h-3.5 w-3.5" })]
|
|
755
748
|
})
|
|
756
749
|
]
|
|
757
750
|
})]
|
|
@@ -759,36 +752,36 @@ function H() {
|
|
|
759
752
|
}, t.type);
|
|
760
753
|
})
|
|
761
754
|
})] }),
|
|
762
|
-
/* @__PURE__ */
|
|
755
|
+
/* @__PURE__ */ P("div", {
|
|
763
756
|
className: "rounded-lg border border-border-subtle bg-bg-surface",
|
|
764
|
-
children: [/* @__PURE__ */
|
|
757
|
+
children: [/* @__PURE__ */ P("div", {
|
|
765
758
|
className: "flex items-center justify-between border-b border-border-subtle px-5 py-4",
|
|
766
|
-
children: [/* @__PURE__ */
|
|
759
|
+
children: [/* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("h2", {
|
|
767
760
|
className: "text-base font-semibold text-text-primary",
|
|
768
761
|
children: "Submit a Support Ticket"
|
|
769
|
-
}), /* @__PURE__ */
|
|
762
|
+
}), /* @__PURE__ */ N("p", {
|
|
770
763
|
className: "text-xs text-text-secondary mt-0.5",
|
|
771
764
|
children: "Can't find your answer? Create a ticket and our team will help."
|
|
772
|
-
})] }), /* @__PURE__ */
|
|
765
|
+
})] }), /* @__PURE__ */ P("button", {
|
|
773
766
|
type: "button",
|
|
774
|
-
onClick: () =>
|
|
767
|
+
onClick: () => W(!M),
|
|
775
768
|
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",
|
|
776
|
-
children: [/* @__PURE__ */
|
|
769
|
+
children: [/* @__PURE__ */ N(E, { className: "h-4 w-4" }), M ? "Close" : "New Ticket"]
|
|
777
770
|
})]
|
|
778
|
-
}),
|
|
771
|
+
}), M && /* @__PURE__ */ P("div", {
|
|
779
772
|
className: "p-5 space-y-4",
|
|
780
773
|
children: [
|
|
781
|
-
q && /* @__PURE__ */
|
|
774
|
+
q && /* @__PURE__ */ P("div", {
|
|
782
775
|
className: "flex items-center gap-2 rounded-lg border border-status-error-text/30 bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
|
|
783
|
-
children: [/* @__PURE__ */
|
|
776
|
+
children: [/* @__PURE__ */ N(o, { className: "h-4 w-4 shrink-0" }), q]
|
|
784
777
|
}),
|
|
785
|
-
/* @__PURE__ */
|
|
778
|
+
/* @__PURE__ */ P("div", { children: [/* @__PURE__ */ P("label", {
|
|
786
779
|
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
787
|
-
children: ["Subject ", /* @__PURE__ */
|
|
780
|
+
children: ["Subject ", /* @__PURE__ */ N("span", {
|
|
788
781
|
className: "text-status-error-text",
|
|
789
782
|
children: "*"
|
|
790
783
|
})]
|
|
791
|
-
}), /* @__PURE__ */
|
|
784
|
+
}), /* @__PURE__ */ N("input", {
|
|
792
785
|
type: "text",
|
|
793
786
|
value: Y.subject,
|
|
794
787
|
onChange: (e) => X((t) => ({
|
|
@@ -798,32 +791,32 @@ function H() {
|
|
|
798
791
|
placeholder: "Brief description of your issue",
|
|
799
792
|
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)]"
|
|
800
793
|
})] }),
|
|
801
|
-
/* @__PURE__ */
|
|
794
|
+
/* @__PURE__ */ P("div", {
|
|
802
795
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
803
|
-
children: [/* @__PURE__ */
|
|
796
|
+
children: [/* @__PURE__ */ P("div", { children: [/* @__PURE__ */ P("label", {
|
|
804
797
|
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
805
|
-
children: ["Category ", /* @__PURE__ */
|
|
798
|
+
children: ["Category ", /* @__PURE__ */ N("span", {
|
|
806
799
|
className: "text-status-error-text",
|
|
807
800
|
children: "*"
|
|
808
801
|
})]
|
|
809
|
-
}), /* @__PURE__ */
|
|
802
|
+
}), /* @__PURE__ */ P("select", {
|
|
810
803
|
value: Y.category,
|
|
811
804
|
onChange: (e) => X((t) => ({
|
|
812
805
|
...t,
|
|
813
806
|
category: e.target.value
|
|
814
807
|
})),
|
|
815
808
|
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)]",
|
|
816
|
-
children: [/* @__PURE__ */
|
|
809
|
+
children: [/* @__PURE__ */ N("option", {
|
|
817
810
|
value: "",
|
|
818
811
|
children: "Select category"
|
|
819
|
-
}),
|
|
812
|
+
}), F.map((e) => /* @__PURE__ */ N("option", {
|
|
820
813
|
value: e,
|
|
821
814
|
children: e
|
|
822
815
|
}, e))]
|
|
823
|
-
})] }), /* @__PURE__ */
|
|
816
|
+
})] }), /* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("label", {
|
|
824
817
|
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
825
818
|
children: "Priority"
|
|
826
|
-
}), /* @__PURE__ */
|
|
819
|
+
}), /* @__PURE__ */ P("select", {
|
|
827
820
|
value: Y.priority,
|
|
828
821
|
onChange: (e) => X((t) => ({
|
|
829
822
|
...t,
|
|
@@ -831,32 +824,32 @@ function H() {
|
|
|
831
824
|
})),
|
|
832
825
|
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)]",
|
|
833
826
|
children: [
|
|
834
|
-
/* @__PURE__ */
|
|
827
|
+
/* @__PURE__ */ N("option", {
|
|
835
828
|
value: "low",
|
|
836
829
|
children: "Low"
|
|
837
830
|
}),
|
|
838
|
-
/* @__PURE__ */
|
|
831
|
+
/* @__PURE__ */ N("option", {
|
|
839
832
|
value: "medium",
|
|
840
833
|
children: "Medium"
|
|
841
834
|
}),
|
|
842
|
-
/* @__PURE__ */
|
|
835
|
+
/* @__PURE__ */ N("option", {
|
|
843
836
|
value: "high",
|
|
844
837
|
children: "High"
|
|
845
838
|
}),
|
|
846
|
-
/* @__PURE__ */
|
|
839
|
+
/* @__PURE__ */ N("option", {
|
|
847
840
|
value: "urgent",
|
|
848
841
|
children: "Urgent"
|
|
849
842
|
})
|
|
850
843
|
]
|
|
851
844
|
})] })]
|
|
852
845
|
}),
|
|
853
|
-
/* @__PURE__ */
|
|
846
|
+
/* @__PURE__ */ P("div", { children: [/* @__PURE__ */ P("label", {
|
|
854
847
|
className: "block text-sm font-medium text-text-primary mb-1.5",
|
|
855
|
-
children: ["Description ", /* @__PURE__ */
|
|
848
|
+
children: ["Description ", /* @__PURE__ */ N("span", {
|
|
856
849
|
className: "text-status-error-text",
|
|
857
850
|
children: "*"
|
|
858
851
|
})]
|
|
859
|
-
}), /* @__PURE__ */
|
|
852
|
+
}), /* @__PURE__ */ N("textarea", {
|
|
860
853
|
rows: 5,
|
|
861
854
|
value: Y.description,
|
|
862
855
|
onChange: (e) => X((t) => ({
|
|
@@ -866,36 +859,35 @@ function H() {
|
|
|
866
859
|
placeholder: "Please describe your issue in detail...",
|
|
867
860
|
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"
|
|
868
861
|
})] }),
|
|
869
|
-
/* @__PURE__ */
|
|
862
|
+
/* @__PURE__ */ P("div", {
|
|
870
863
|
className: "rounded-lg bg-[var(--color-accent-soft)] border border-border-focus/20 p-4",
|
|
871
|
-
children: [/* @__PURE__ */
|
|
864
|
+
children: [/* @__PURE__ */ P("div", {
|
|
872
865
|
className: "flex items-center gap-2 mb-2",
|
|
873
|
-
children: [/* @__PURE__ */
|
|
866
|
+
children: [/* @__PURE__ */ N(g, { className: "h-4 w-4 text-text-primary" }), /* @__PURE__ */ N("h4", {
|
|
874
867
|
className: "text-sm font-medium text-text-primary",
|
|
875
868
|
children: "Tips for faster resolution"
|
|
876
869
|
})]
|
|
877
|
-
}), /* @__PURE__ */
|
|
870
|
+
}), /* @__PURE__ */ P("ul", {
|
|
878
871
|
className: "text-xs text-text-primary space-y-1 ml-6 list-disc",
|
|
879
872
|
children: [
|
|
880
|
-
/* @__PURE__ */
|
|
881
|
-
/* @__PURE__ */
|
|
882
|
-
/* @__PURE__ */
|
|
883
|
-
/* @__PURE__ */
|
|
873
|
+
/* @__PURE__ */ N("li", { children: "Be specific about the issue and include steps to reproduce it" }),
|
|
874
|
+
/* @__PURE__ */ N("li", { children: "Include relevant order IDs, transaction IDs, or error messages" }),
|
|
875
|
+
/* @__PURE__ */ N("li", { children: "Mention your device type and app version for technical issues" }),
|
|
876
|
+
/* @__PURE__ */ N("li", { children: "Attach screenshots if they help illustrate the problem" })
|
|
884
877
|
]
|
|
885
878
|
})]
|
|
886
879
|
}),
|
|
887
|
-
/* @__PURE__ */
|
|
880
|
+
/* @__PURE__ */ P("div", {
|
|
888
881
|
className: "flex items-center gap-3 pt-1",
|
|
889
|
-
children: [/* @__PURE__ */
|
|
882
|
+
children: [/* @__PURE__ */ P("button", {
|
|
890
883
|
type: "button",
|
|
891
|
-
onClick:
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
}), /* @__PURE__ */ M("button", {
|
|
884
|
+
onClick: de,
|
|
885
|
+
className: "flex items-center gap-2 rounded-lg bg-action-primary-bg px-5 py-2.5 text-sm font-medium text-action-primary-text transition-colors hover:bg-action-primary-bg/90",
|
|
886
|
+
children: [/* @__PURE__ */ N(S, { className: "h-4 w-4" }), "Email Support"]
|
|
887
|
+
}), /* @__PURE__ */ N("button", {
|
|
896
888
|
type: "button",
|
|
897
889
|
onClick: () => {
|
|
898
|
-
|
|
890
|
+
W(!1), J("");
|
|
899
891
|
},
|
|
900
892
|
className: "rounded-lg border border-border-subtle px-4 py-2.5 text-sm font-medium text-text-primary hover:bg-accent transition-colors",
|
|
901
893
|
children: "Cancel"
|
|
@@ -904,93 +896,93 @@ function H() {
|
|
|
904
896
|
]
|
|
905
897
|
})]
|
|
906
898
|
}),
|
|
907
|
-
/* @__PURE__ */
|
|
899
|
+
/* @__PURE__ */ P("div", {
|
|
908
900
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
909
|
-
children: [/* @__PURE__ */
|
|
901
|
+
children: [/* @__PURE__ */ P("div", {
|
|
910
902
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
|
|
911
|
-
children: [/* @__PURE__ */
|
|
903
|
+
children: [/* @__PURE__ */ P("div", {
|
|
912
904
|
className: "flex items-center gap-2 mb-3",
|
|
913
|
-
children: [/* @__PURE__ */
|
|
905
|
+
children: [/* @__PURE__ */ N(p, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ N("h3", {
|
|
914
906
|
className: "text-sm font-semibold text-text-primary",
|
|
915
907
|
children: "Support Hours"
|
|
916
908
|
})]
|
|
917
|
-
}), /* @__PURE__ */
|
|
909
|
+
}), /* @__PURE__ */ P("div", {
|
|
918
910
|
className: "space-y-2 text-sm",
|
|
919
911
|
children: [
|
|
920
|
-
/* @__PURE__ */
|
|
912
|
+
/* @__PURE__ */ P("div", {
|
|
921
913
|
className: "flex justify-between",
|
|
922
|
-
children: [/* @__PURE__ */
|
|
914
|
+
children: [/* @__PURE__ */ N("span", {
|
|
923
915
|
className: "text-text-secondary",
|
|
924
916
|
children: "Monday - Friday"
|
|
925
|
-
}), /* @__PURE__ */
|
|
917
|
+
}), /* @__PURE__ */ N("span", {
|
|
926
918
|
className: "font-medium text-text-primary",
|
|
927
919
|
children: "9:00 AM - 9:00 PM IST"
|
|
928
920
|
})]
|
|
929
921
|
}),
|
|
930
|
-
/* @__PURE__ */
|
|
922
|
+
/* @__PURE__ */ P("div", {
|
|
931
923
|
className: "flex justify-between",
|
|
932
|
-
children: [/* @__PURE__ */
|
|
924
|
+
children: [/* @__PURE__ */ N("span", {
|
|
933
925
|
className: "text-text-secondary",
|
|
934
926
|
children: "Saturday"
|
|
935
|
-
}), /* @__PURE__ */
|
|
927
|
+
}), /* @__PURE__ */ N("span", {
|
|
936
928
|
className: "font-medium text-text-primary",
|
|
937
929
|
children: "10:00 AM - 6:00 PM IST"
|
|
938
930
|
})]
|
|
939
931
|
}),
|
|
940
|
-
/* @__PURE__ */
|
|
932
|
+
/* @__PURE__ */ P("div", {
|
|
941
933
|
className: "flex justify-between",
|
|
942
|
-
children: [/* @__PURE__ */
|
|
934
|
+
children: [/* @__PURE__ */ N("span", {
|
|
943
935
|
className: "text-text-secondary",
|
|
944
936
|
children: "Sunday"
|
|
945
|
-
}), /* @__PURE__ */
|
|
937
|
+
}), /* @__PURE__ */ N("span", {
|
|
946
938
|
className: "font-medium text-text-primary",
|
|
947
939
|
children: "Closed"
|
|
948
940
|
})]
|
|
949
941
|
}),
|
|
950
|
-
/* @__PURE__ */
|
|
942
|
+
/* @__PURE__ */ P("div", {
|
|
951
943
|
className: "flex justify-between pt-2 border-t border-border-subtle",
|
|
952
|
-
children: [/* @__PURE__ */
|
|
944
|
+
children: [/* @__PURE__ */ N("span", {
|
|
953
945
|
className: "text-text-secondary",
|
|
954
946
|
children: "Email Support"
|
|
955
|
-
}), /* @__PURE__ */
|
|
947
|
+
}), /* @__PURE__ */ N("span", {
|
|
956
948
|
className: "font-medium text-text-primary",
|
|
957
949
|
children: "24/7"
|
|
958
950
|
})]
|
|
959
951
|
})
|
|
960
952
|
]
|
|
961
953
|
})]
|
|
962
|
-
}), /* @__PURE__ */
|
|
954
|
+
}), /* @__PURE__ */ P("div", {
|
|
963
955
|
className: "rounded-lg border border-status-error-text/20 bg-status-error-bg-subtle p-5",
|
|
964
956
|
children: [
|
|
965
|
-
/* @__PURE__ */
|
|
957
|
+
/* @__PURE__ */ P("div", {
|
|
966
958
|
className: "flex items-center gap-2 mb-3",
|
|
967
|
-
children: [/* @__PURE__ */
|
|
959
|
+
children: [/* @__PURE__ */ N(s, { className: "h-5 w-5 text-status-error-text" }), /* @__PURE__ */ N("h3", {
|
|
968
960
|
className: "text-sm font-semibold text-status-error-text",
|
|
969
961
|
children: "Emergency Contact"
|
|
970
962
|
})]
|
|
971
963
|
}),
|
|
972
|
-
/* @__PURE__ */
|
|
964
|
+
/* @__PURE__ */ N("p", {
|
|
973
965
|
className: "text-sm text-status-error-text mb-3",
|
|
974
966
|
children: "For urgent issues like safety concerns, fraud, or account compromise:"
|
|
975
967
|
}),
|
|
976
|
-
/* @__PURE__ */
|
|
968
|
+
/* @__PURE__ */ P("div", {
|
|
977
969
|
className: "space-y-2",
|
|
978
|
-
children: [/* @__PURE__ */
|
|
970
|
+
children: [/* @__PURE__ */ P("div", {
|
|
979
971
|
className: "flex items-center gap-2 text-sm",
|
|
980
972
|
children: [
|
|
981
|
-
/* @__PURE__ */
|
|
982
|
-
/* @__PURE__ */
|
|
973
|
+
/* @__PURE__ */ N(b, { className: "h-4 w-4 text-status-error-text" }),
|
|
974
|
+
/* @__PURE__ */ N("span", {
|
|
983
975
|
className: "font-medium text-status-error-text",
|
|
984
976
|
children: "+91 80-4012-9999"
|
|
985
977
|
}),
|
|
986
|
-
/* @__PURE__ */
|
|
978
|
+
/* @__PURE__ */ N("span", {
|
|
987
979
|
className: "text-xs text-status-error-text",
|
|
988
980
|
children: "(24/7)"
|
|
989
981
|
})
|
|
990
982
|
]
|
|
991
|
-
}), /* @__PURE__ */
|
|
983
|
+
}), /* @__PURE__ */ P("div", {
|
|
992
984
|
className: "flex items-center gap-2 text-sm",
|
|
993
|
-
children: [/* @__PURE__ */
|
|
985
|
+
children: [/* @__PURE__ */ N(_, { className: "h-4 w-4 text-status-error-text" }), /* @__PURE__ */ N("span", {
|
|
994
986
|
className: "font-medium text-status-error-text",
|
|
995
987
|
children: "emergency@kadaikodi.com"
|
|
996
988
|
})]
|
|
@@ -999,22 +991,23 @@ function H() {
|
|
|
999
991
|
]
|
|
1000
992
|
})]
|
|
1001
993
|
}),
|
|
1002
|
-
/* @__PURE__ */
|
|
994
|
+
/* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("h2", {
|
|
1003
995
|
className: "text-base font-semibold text-text-primary mb-3",
|
|
1004
996
|
children: "Popular Articles"
|
|
1005
|
-
}), /* @__PURE__ */
|
|
997
|
+
}), /* @__PURE__ */ N("div", {
|
|
1006
998
|
className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",
|
|
1007
|
-
children:
|
|
999
|
+
children: z.map((e) => /* @__PURE__ */ P("button", {
|
|
1008
1000
|
type: "button",
|
|
1001
|
+
onClick: () => ue(e.faqCategory),
|
|
1009
1002
|
className: "flex items-start gap-3 rounded-lg border border-border-subtle bg-bg-surface p-4 text-left hover:bg-accent/50 transition-colors",
|
|
1010
|
-
children: [/* @__PURE__ */
|
|
1003
|
+
children: [/* @__PURE__ */ N(ne, { className: "h-5 w-5 text-text-secondary shrink-0 mt-0.5" }), /* @__PURE__ */ P("div", {
|
|
1011
1004
|
className: "min-w-0",
|
|
1012
|
-
children: [/* @__PURE__ */
|
|
1005
|
+
children: [/* @__PURE__ */ N("p", {
|
|
1013
1006
|
className: "text-sm font-medium text-text-primary truncate",
|
|
1014
1007
|
children: e.title
|
|
1015
|
-
}), /* @__PURE__ */
|
|
1008
|
+
}), /* @__PURE__ */ N("div", {
|
|
1016
1009
|
className: "flex items-center gap-2 mt-1",
|
|
1017
|
-
children: /* @__PURE__ */
|
|
1010
|
+
children: /* @__PURE__ */ N("span", {
|
|
1018
1011
|
className: "text-xs text-text-secondary",
|
|
1019
1012
|
children: e.category
|
|
1020
1013
|
})
|
|
@@ -1024,104 +1017,104 @@ function H() {
|
|
|
1024
1017
|
})] })
|
|
1025
1018
|
]
|
|
1026
1019
|
}),
|
|
1027
|
-
|
|
1020
|
+
c === "tickets" && /* @__PURE__ */ P("div", {
|
|
1028
1021
|
className: "space-y-4",
|
|
1029
1022
|
children: [
|
|
1030
|
-
/* @__PURE__ */
|
|
1023
|
+
/* @__PURE__ */ P("div", {
|
|
1031
1024
|
className: "grid grid-cols-2 gap-3 sm:grid-cols-4",
|
|
1032
1025
|
children: [
|
|
1033
|
-
/* @__PURE__ */
|
|
1026
|
+
/* @__PURE__ */ P("div", {
|
|
1034
1027
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
|
|
1035
|
-
children: [/* @__PURE__ */
|
|
1028
|
+
children: [/* @__PURE__ */ N("p", {
|
|
1036
1029
|
className: "text-2xl font-bold text-text-primary",
|
|
1037
1030
|
children: Q.total
|
|
1038
|
-
}), /* @__PURE__ */
|
|
1031
|
+
}), /* @__PURE__ */ N("p", {
|
|
1039
1032
|
className: "text-xs text-text-secondary",
|
|
1040
1033
|
children: "Total"
|
|
1041
1034
|
})]
|
|
1042
1035
|
}),
|
|
1043
|
-
/* @__PURE__ */
|
|
1036
|
+
/* @__PURE__ */ P("div", {
|
|
1044
1037
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
|
|
1045
|
-
children: [/* @__PURE__ */
|
|
1038
|
+
children: [/* @__PURE__ */ N("p", {
|
|
1046
1039
|
className: "text-2xl font-bold text-text-primary",
|
|
1047
1040
|
children: Q.open
|
|
1048
|
-
}), /* @__PURE__ */
|
|
1041
|
+
}), /* @__PURE__ */ N("p", {
|
|
1049
1042
|
className: "text-xs text-text-secondary",
|
|
1050
1043
|
children: "Open"
|
|
1051
1044
|
})]
|
|
1052
1045
|
}),
|
|
1053
|
-
/* @__PURE__ */
|
|
1046
|
+
/* @__PURE__ */ P("div", {
|
|
1054
1047
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
|
|
1055
|
-
children: [/* @__PURE__ */
|
|
1048
|
+
children: [/* @__PURE__ */ N("p", {
|
|
1056
1049
|
className: "text-2xl font-bold text-status-warning-text",
|
|
1057
1050
|
children: Q.inProgress
|
|
1058
|
-
}), /* @__PURE__ */
|
|
1051
|
+
}), /* @__PURE__ */ N("p", {
|
|
1059
1052
|
className: "text-xs text-text-secondary",
|
|
1060
1053
|
children: "In Progress"
|
|
1061
1054
|
})]
|
|
1062
1055
|
}),
|
|
1063
|
-
/* @__PURE__ */
|
|
1056
|
+
/* @__PURE__ */ P("div", {
|
|
1064
1057
|
className: "rounded-lg border border-border-subtle bg-bg-surface p-3 text-center",
|
|
1065
|
-
children: [/* @__PURE__ */
|
|
1058
|
+
children: [/* @__PURE__ */ N("p", {
|
|
1066
1059
|
className: "text-2xl font-bold text-status-success-text",
|
|
1067
1060
|
children: Q.resolved
|
|
1068
|
-
}), /* @__PURE__ */
|
|
1061
|
+
}), /* @__PURE__ */ N("p", {
|
|
1069
1062
|
className: "text-xs text-text-secondary",
|
|
1070
1063
|
children: "Resolved"
|
|
1071
1064
|
})]
|
|
1072
1065
|
})
|
|
1073
1066
|
]
|
|
1074
1067
|
}),
|
|
1075
|
-
/* @__PURE__ */
|
|
1068
|
+
/* @__PURE__ */ P("div", {
|
|
1076
1069
|
className: "flex items-center justify-between",
|
|
1077
|
-
children: [/* @__PURE__ */
|
|
1070
|
+
children: [/* @__PURE__ */ P("p", {
|
|
1078
1071
|
className: "text-sm text-text-secondary",
|
|
1079
1072
|
children: [
|
|
1080
|
-
|
|
1073
|
+
A.length,
|
|
1081
1074
|
" ticket",
|
|
1082
|
-
|
|
1075
|
+
A.length === 1 ? "" : "s"
|
|
1083
1076
|
]
|
|
1084
|
-
}), /* @__PURE__ */
|
|
1077
|
+
}), /* @__PURE__ */ P("button", {
|
|
1085
1078
|
type: "button",
|
|
1086
1079
|
onClick: () => {
|
|
1087
|
-
|
|
1080
|
+
W(!0), d("contact");
|
|
1088
1081
|
},
|
|
1089
1082
|
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",
|
|
1090
|
-
children: [/* @__PURE__ */
|
|
1083
|
+
children: [/* @__PURE__ */ N(E, { className: "h-4 w-4" }), "New Ticket"]
|
|
1091
1084
|
})]
|
|
1092
1085
|
}),
|
|
1093
|
-
|
|
1086
|
+
A.length === 0 ? /* @__PURE__ */ N(n, {
|
|
1094
1087
|
illustration: "empty-notifications",
|
|
1095
1088
|
title: "No support tickets",
|
|
1096
1089
|
description: "You haven't created any support tickets yet. If something needs a human, open one and we'll follow up here.",
|
|
1097
|
-
action: /* @__PURE__ */
|
|
1090
|
+
action: /* @__PURE__ */ P("button", {
|
|
1098
1091
|
type: "button",
|
|
1099
1092
|
onClick: () => {
|
|
1100
|
-
|
|
1093
|
+
W(!0), d("contact");
|
|
1101
1094
|
},
|
|
1102
1095
|
className: "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",
|
|
1103
|
-
children: [/* @__PURE__ */
|
|
1096
|
+
children: [/* @__PURE__ */ N(E, { className: "h-4 w-4" }), "Create Your First Ticket"]
|
|
1104
1097
|
})
|
|
1105
|
-
}) : /* @__PURE__ */
|
|
1098
|
+
}) : /* @__PURE__ */ N("div", {
|
|
1106
1099
|
className: "space-y-4",
|
|
1107
|
-
children:
|
|
1108
|
-
let n =
|
|
1109
|
-
return /* @__PURE__ */
|
|
1100
|
+
children: A.map((t) => {
|
|
1101
|
+
let n = B(t.status), i = t.responses.length > 0 ? t.responses[t.responses.length - 1] : null;
|
|
1102
|
+
return /* @__PURE__ */ P("div", {
|
|
1110
1103
|
className: "rounded-lg border border-border-subtle bg-bg-surface overflow-hidden",
|
|
1111
|
-
children: [/* @__PURE__ */
|
|
1104
|
+
children: [/* @__PURE__ */ P("div", {
|
|
1112
1105
|
className: "p-4 sm:p-5",
|
|
1113
1106
|
children: [
|
|
1114
|
-
/* @__PURE__ */
|
|
1107
|
+
/* @__PURE__ */ P("div", {
|
|
1115
1108
|
className: "flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",
|
|
1116
|
-
children: [/* @__PURE__ */
|
|
1109
|
+
children: [/* @__PURE__ */ P("div", {
|
|
1117
1110
|
className: "flex-1 min-w-0",
|
|
1118
|
-
children: [/* @__PURE__ */
|
|
1111
|
+
children: [/* @__PURE__ */ P("div", {
|
|
1119
1112
|
className: "flex items-center gap-2 mb-1",
|
|
1120
|
-
children: [/* @__PURE__ */
|
|
1113
|
+
children: [/* @__PURE__ */ N(n, { className: e("h-4 w-4", V(t.status).split(" ").slice(1).join(" ")) }), /* @__PURE__ */ N("h3", {
|
|
1121
1114
|
className: "text-sm font-semibold text-text-primary truncate",
|
|
1122
1115
|
children: t.subject
|
|
1123
1116
|
})]
|
|
1124
|
-
}), /* @__PURE__ */
|
|
1117
|
+
}), /* @__PURE__ */ P("p", {
|
|
1125
1118
|
className: "text-xs text-text-secondary",
|
|
1126
1119
|
children: [
|
|
1127
1120
|
t.category,
|
|
@@ -1129,52 +1122,52 @@ function H() {
|
|
|
1129
1122
|
t.id
|
|
1130
1123
|
]
|
|
1131
1124
|
})]
|
|
1132
|
-
}), /* @__PURE__ */
|
|
1125
|
+
}), /* @__PURE__ */ P("div", {
|
|
1133
1126
|
className: "flex flex-wrap gap-2",
|
|
1134
|
-
children: [/* @__PURE__ */
|
|
1135
|
-
className: e("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium",
|
|
1127
|
+
children: [/* @__PURE__ */ N("span", {
|
|
1128
|
+
className: e("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", H(t.priority)),
|
|
1136
1129
|
children: t.priority.toUpperCase()
|
|
1137
|
-
}), /* @__PURE__ */
|
|
1138
|
-
className: e("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium",
|
|
1139
|
-
children:
|
|
1130
|
+
}), /* @__PURE__ */ N("span", {
|
|
1131
|
+
className: e("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", V(t.status)),
|
|
1132
|
+
children: U(t.status)
|
|
1140
1133
|
})]
|
|
1141
1134
|
})]
|
|
1142
1135
|
}),
|
|
1143
|
-
/* @__PURE__ */
|
|
1136
|
+
/* @__PURE__ */ N("p", {
|
|
1144
1137
|
className: "text-sm text-text-secondary mt-2 leading-relaxed",
|
|
1145
1138
|
children: t.description
|
|
1146
1139
|
}),
|
|
1147
|
-
i && /* @__PURE__ */
|
|
1140
|
+
i && /* @__PURE__ */ P("div", {
|
|
1148
1141
|
className: "mt-3 rounded-lg bg-bg-sunken/50 border border-border-subtle p-3",
|
|
1149
|
-
children: [/* @__PURE__ */
|
|
1142
|
+
children: [/* @__PURE__ */ P("div", {
|
|
1150
1143
|
className: "flex items-center gap-1.5 mb-1",
|
|
1151
1144
|
children: [
|
|
1152
|
-
/* @__PURE__ */
|
|
1153
|
-
/* @__PURE__ */
|
|
1145
|
+
/* @__PURE__ */ N(y, { className: "h-3.5 w-3.5 text-text-secondary" }),
|
|
1146
|
+
/* @__PURE__ */ N("span", {
|
|
1154
1147
|
className: "text-xs font-medium text-text-primary",
|
|
1155
1148
|
children: i.sender === "support" ? "Support Team" : "You"
|
|
1156
1149
|
}),
|
|
1157
|
-
/* @__PURE__ */
|
|
1150
|
+
/* @__PURE__ */ P("span", {
|
|
1158
1151
|
className: "text-xs text-text-secondary",
|
|
1159
1152
|
children: ["· ", r(i.timestamp)]
|
|
1160
1153
|
})
|
|
1161
1154
|
]
|
|
1162
|
-
}), /* @__PURE__ */
|
|
1155
|
+
}), /* @__PURE__ */ N("p", {
|
|
1163
1156
|
className: "text-sm text-text-secondary",
|
|
1164
1157
|
children: i.message
|
|
1165
1158
|
})]
|
|
1166
1159
|
}),
|
|
1167
|
-
t.responses.length === 0 && t.status === "open" && /* @__PURE__ */
|
|
1160
|
+
t.responses.length === 0 && t.status === "open" && /* @__PURE__ */ P("div", {
|
|
1168
1161
|
className: "mt-3 flex items-center gap-2 text-xs text-text-secondary",
|
|
1169
|
-
children: [/* @__PURE__ */
|
|
1162
|
+
children: [/* @__PURE__ */ N(h, { className: "h-3.5 w-3.5" }), "Awaiting response from support team"]
|
|
1170
1163
|
})
|
|
1171
1164
|
]
|
|
1172
|
-
}), /* @__PURE__ */
|
|
1165
|
+
}), /* @__PURE__ */ P("div", {
|
|
1173
1166
|
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",
|
|
1174
1167
|
children: [
|
|
1175
|
-
/* @__PURE__ */
|
|
1176
|
-
/* @__PURE__ */
|
|
1177
|
-
/* @__PURE__ */
|
|
1168
|
+
/* @__PURE__ */ P("span", { children: ["Created: ", r(t.createdAt)] }),
|
|
1169
|
+
/* @__PURE__ */ P("span", { children: ["Updated: ", r(t.updatedAt)] }),
|
|
1170
|
+
/* @__PURE__ */ P("span", { children: [
|
|
1178
1171
|
t.responses.length,
|
|
1179
1172
|
" response",
|
|
1180
1173
|
t.responses.length === 1 ? "" : "s"
|
|
@@ -1186,38 +1179,38 @@ function H() {
|
|
|
1186
1179
|
})
|
|
1187
1180
|
]
|
|
1188
1181
|
}),
|
|
1189
|
-
/* @__PURE__ */
|
|
1182
|
+
/* @__PURE__ */ N("section", {
|
|
1190
1183
|
className: "mt-8 rounded-lg border border-border-subtle bg-bg-sunken/30 p-5",
|
|
1191
|
-
children: /* @__PURE__ */
|
|
1184
|
+
children: /* @__PURE__ */ P("div", {
|
|
1192
1185
|
className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
|
|
1193
|
-
children: [/* @__PURE__ */
|
|
1186
|
+
children: [/* @__PURE__ */ P("div", { children: [/* @__PURE__ */ N("h3", {
|
|
1194
1187
|
className: "text-sm font-semibold text-text-primary mb-1",
|
|
1195
1188
|
children: "Still need help?"
|
|
1196
|
-
}), /* @__PURE__ */
|
|
1189
|
+
}), /* @__PURE__ */ N("p", {
|
|
1197
1190
|
className: "text-xs text-text-secondary",
|
|
1198
1191
|
children: "Our support team is available Monday to Saturday. Average response time is under 4 hours."
|
|
1199
|
-
})] }), /* @__PURE__ */
|
|
1192
|
+
})] }), /* @__PURE__ */ P("div", {
|
|
1200
1193
|
className: "flex flex-wrap gap-2",
|
|
1201
1194
|
children: [
|
|
1202
|
-
/* @__PURE__ */
|
|
1195
|
+
/* @__PURE__ */ P("button", {
|
|
1203
1196
|
type: "button",
|
|
1204
|
-
onClick: () => $(
|
|
1197
|
+
onClick: () => $(L[0]),
|
|
1205
1198
|
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",
|
|
1206
|
-
children: [/* @__PURE__ */
|
|
1199
|
+
children: [/* @__PURE__ */ N(_, { className: "h-3.5 w-3.5" }), "Email Us"]
|
|
1207
1200
|
}),
|
|
1208
|
-
/* @__PURE__ */
|
|
1201
|
+
/* @__PURE__ */ P("button", {
|
|
1209
1202
|
type: "button",
|
|
1210
|
-
onClick: () => $(
|
|
1203
|
+
onClick: () => $(L[1]),
|
|
1211
1204
|
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",
|
|
1212
|
-
children: [/* @__PURE__ */
|
|
1205
|
+
children: [/* @__PURE__ */ N(b, { className: "h-3.5 w-3.5" }), "Call Us"]
|
|
1213
1206
|
}),
|
|
1214
|
-
/* @__PURE__ */
|
|
1207
|
+
/* @__PURE__ */ P("button", {
|
|
1215
1208
|
type: "button",
|
|
1216
1209
|
onClick: () => {
|
|
1217
|
-
|
|
1210
|
+
W(!0), d("contact");
|
|
1218
1211
|
},
|
|
1219
1212
|
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",
|
|
1220
|
-
children: [/* @__PURE__ */
|
|
1213
|
+
children: [/* @__PURE__ */ N(E, { className: "h-3.5 w-3.5" }), "Submit Ticket"]
|
|
1221
1214
|
})
|
|
1222
1215
|
]
|
|
1223
1216
|
})]
|
|
@@ -1227,6 +1220,6 @@ function H() {
|
|
|
1227
1220
|
});
|
|
1228
1221
|
}
|
|
1229
1222
|
//#endregion
|
|
1230
|
-
export {
|
|
1223
|
+
export { W as HelpSupportPage };
|
|
1231
1224
|
|
|
1232
1225
|
//# sourceMappingURL=HelpSupportPage.js.map
|