@burdenoff/microfe-coolandlovely 2026.625.1 → 2026.625.2

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.
Files changed (91) hide show
  1. package/dist/coolandlovely/pages/HomePage.js +263 -258
  2. package/dist/coolandlovely/pages/HomePage.js.map +1 -1
  3. package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js +67 -61
  4. package/dist/coolandlovely/pages/admin/AdminAnalyticsPage.js.map +1 -1
  5. package/dist/coolandlovely/pages/admin/AdminDashboard.js +79 -45
  6. package/dist/coolandlovely/pages/admin/AdminDashboard.js.map +1 -1
  7. package/dist/coolandlovely/pages/admin/AdminFinancialPage.js +39 -33
  8. package/dist/coolandlovely/pages/admin/AdminFinancialPage.js.map +1 -1
  9. package/dist/coolandlovely/pages/admin/AdminOrdersPage.js +227 -222
  10. package/dist/coolandlovely/pages/admin/AdminOrdersPage.js.map +1 -1
  11. package/dist/coolandlovely/pages/admin/AdminProfilePage.js +65 -60
  12. package/dist/coolandlovely/pages/admin/AdminProfilePage.js.map +1 -1
  13. package/dist/coolandlovely/pages/admin/AdminSettingsPage.js +235 -230
  14. package/dist/coolandlovely/pages/admin/AdminSettingsPage.js.map +1 -1
  15. package/dist/coolandlovely/pages/admin/CartManagementPage.js +268 -263
  16. package/dist/coolandlovely/pages/admin/CartManagementPage.js.map +1 -1
  17. package/dist/coolandlovely/pages/admin/UserManagementPage.js +268 -263
  18. package/dist/coolandlovely/pages/admin/UserManagementPage.js.map +1 -1
  19. package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js +92 -84
  20. package/dist/coolandlovely/pages/cart-owner/AnalyticsDashboard.js.map +1 -1
  21. package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js +257 -252
  22. package/dist/coolandlovely/pages/cart-owner/BusinessSettingsPage.js.map +1 -1
  23. package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js +587 -548
  24. package/dist/coolandlovely/pages/cart-owner/CartOwnerDashboard.js.map +1 -1
  25. package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js +171 -166
  26. package/dist/coolandlovely/pages/cart-owner/CartOwnerProfilePage.js.map +1 -1
  27. package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js +219 -211
  28. package/dist/coolandlovely/pages/cart-owner/CartServiceConfigPage.js.map +1 -1
  29. package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js +671 -670
  30. package/dist/coolandlovely/pages/cart-owner/InventoryManagementPage.js.map +1 -1
  31. package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js +515 -514
  32. package/dist/coolandlovely/pages/cart-owner/OrderManagementPage.js.map +1 -1
  33. package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js +244 -246
  34. package/dist/coolandlovely/pages/cart-owner/StaffManagementPage.js.map +1 -1
  35. package/dist/coolandlovely/pages/common/HelpSupportPage.js +96 -96
  36. package/dist/coolandlovely/pages/common/HelpSupportPage.js.map +1 -1
  37. package/dist/coolandlovely/pages/common/NotificationCenterPage.js +50 -44
  38. package/dist/coolandlovely/pages/common/NotificationCenterPage.js.map +1 -1
  39. package/dist/coolandlovely/pages/common/SettingsPage.js +745 -736
  40. package/dist/coolandlovely/pages/common/SettingsPage.js.map +1 -1
  41. package/dist/coolandlovely/pages/customer/BookingDetailsPage.js +394 -357
  42. package/dist/coolandlovely/pages/customer/BookingDetailsPage.js.map +1 -1
  43. package/dist/coolandlovely/pages/customer/CartDetailPage.js +179 -176
  44. package/dist/coolandlovely/pages/customer/CartDetailPage.js.map +1 -1
  45. package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js +215 -204
  46. package/dist/coolandlovely/pages/customer/CartDiscoveryPage.js.map +1 -1
  47. package/dist/coolandlovely/pages/customer/CheckoutPage.js +212 -215
  48. package/dist/coolandlovely/pages/customer/CheckoutPage.js.map +1 -1
  49. package/dist/coolandlovely/pages/customer/CustomerDashboard.js +438 -396
  50. package/dist/coolandlovely/pages/customer/CustomerDashboard.js.map +1 -1
  51. package/dist/coolandlovely/pages/customer/CustomerProfilePage.js +525 -488
  52. package/dist/coolandlovely/pages/customer/CustomerProfilePage.js.map +1 -1
  53. package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js +522 -513
  54. package/dist/coolandlovely/pages/customer/DirectServiceBookingPage.js.map +1 -1
  55. package/dist/coolandlovely/pages/customer/FavoritesPage.js +86 -76
  56. package/dist/coolandlovely/pages/customer/FavoritesPage.js.map +1 -1
  57. package/dist/coolandlovely/pages/customer/OrderHistoryPage.js +118 -109
  58. package/dist/coolandlovely/pages/customer/OrderHistoryPage.js.map +1 -1
  59. package/dist/coolandlovely/pages/customer/OrderTrackingPage.js +312 -275
  60. package/dist/coolandlovely/pages/customer/OrderTrackingPage.js.map +1 -1
  61. package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js +82 -76
  62. package/dist/coolandlovely/pages/customer/PaymentMethodsPage.js.map +1 -1
  63. package/dist/coolandlovely/pages/customer/ReviewsPage.js +83 -73
  64. package/dist/coolandlovely/pages/customer/ReviewsPage.js.map +1 -1
  65. package/dist/coolandlovely/pages/customer/SavedAddressesPage.js +61 -55
  66. package/dist/coolandlovely/pages/customer/SavedAddressesPage.js.map +1 -1
  67. package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js +293 -255
  68. package/dist/coolandlovely/pages/investor/InvestmentDetailsPage.js.map +1 -1
  69. package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js +238 -232
  70. package/dist/coolandlovely/pages/investor/InvestmentOpportunitiesPage.js.map +1 -1
  71. package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js +61 -55
  72. package/dist/coolandlovely/pages/investor/InvestorAnalyticsPage.js.map +1 -1
  73. package/dist/coolandlovely/pages/investor/InvestorDashboard.js +356 -320
  74. package/dist/coolandlovely/pages/investor/InvestorDashboard.js.map +1 -1
  75. package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js +107 -101
  76. package/dist/coolandlovely/pages/investor/InvestorInvestmentsPage.js.map +1 -1
  77. package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js +170 -137
  78. package/dist/coolandlovely/pages/investor/InvestorPortfolioPage.js.map +1 -1
  79. package/dist/coolandlovely/pages/investor/InvestorProfilePage.js +386 -381
  80. package/dist/coolandlovely/pages/investor/InvestorProfilePage.js.map +1 -1
  81. package/dist/coolandlovely/pages/worker/TaskDetailsPage.js +359 -322
  82. package/dist/coolandlovely/pages/worker/TaskDetailsPage.js.map +1 -1
  83. package/dist/coolandlovely/pages/worker/WorkerDashboard.js +574 -537
  84. package/dist/coolandlovely/pages/worker/WorkerDashboard.js.map +1 -1
  85. package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js +81 -76
  86. package/dist/coolandlovely/pages/worker/WorkerOrdersPage.js.map +1 -1
  87. package/dist/coolandlovely/pages/worker/WorkerProfilePage.js +82 -77
  88. package/dist/coolandlovely/pages/worker/WorkerProfilePage.js.map +1 -1
  89. package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js +78 -73
  90. package/dist/coolandlovely/pages/worker/WorkerSchedulePage.js.map +1 -1
  91. package/package.json +3 -3
@@ -1,10 +1,12 @@
1
1
  import { useCoolAndLovely as e } from "../../context/CoolAndLovelyContext.js";
2
2
  import { cn as t } from "../../utils/cn.js";
3
3
  import { PageLayout as n } from "../../components/PageLayout.js";
4
- import { formatDate as r } from "../../utils/formatters.js";
5
- import { useMemo as i, useState as a } from "react";
6
- import { AlertCircle as ee, AlertTriangle as o, BookOpen as s, CheckCircle2 as c, ChevronDown as l, ChevronUp as te, Circle as u, CircleDot as d, Clock as f, CreditCard as p, ExternalLink as ne, FileText as re, HelpCircle as ie, Info as m, Lightbulb as ae, Mail as h, MessageCircle as g, MessageSquare as _, Phone as v, PhoneCall as y, Search as b, Send as oe, Shield as x, ShoppingBag as S, Tag as se, ThumbsUp as C, Ticket as w, TrendingUp as T, Truck as E, User as D, Wrench as O, X as k, XCircle as A } from "lucide-react";
4
+ import { EmptyState as r } from "../../components/EmptyState.js";
5
+ import { formatDate as i } from "../../utils/formatters.js";
6
+ import { useMemo as a, useState as o } from "react";
7
+ import { AlertCircle as ee, AlertTriangle as s, BookOpen as te, CheckCircle2 as c, ChevronDown as ne, ChevronUp as re, Circle as l, CircleDot as u, Clock as d, CreditCard as f, ExternalLink as ie, FileText as p, HelpCircle as m, Info as ae, Lightbulb as oe, Mail as h, MessageCircle as g, MessageSquare as _, Phone as v, PhoneCall as y, Search as se, Send as ce, Shield as b, ShoppingBag as x, Tag as S, ThumbsUp as C, Ticket as w, TrendingUp as T, Truck as E, User as D, Wrench as O, X as k, XCircle as A } from "lucide-react";
7
8
  import { Fragment as j, jsx as M, jsxs as N } from "react/jsx-runtime";
9
+ import { GlassCard as le, PagePurpose as ue } from "@burdenoff/fe-libs/ui";
8
10
  //#region src/coolandlovely/pages/common/HelpSupportPage.tsx
9
11
  var P = [
10
12
  "Account & Profile",
@@ -15,22 +17,22 @@ var P = [
15
17
  "Technical Issues",
16
18
  "Billing & Refunds",
17
19
  "Privacy & Security"
18
- ], F = [
20
+ ], de = [
19
21
  {
20
22
  label: "Getting Started",
21
- icon: s,
23
+ icon: te,
22
24
  description: "New to CoolAndLovely? Start here",
23
25
  color: "bg-accent-blue-subtle/10 text-accent-blue"
24
26
  },
25
27
  {
26
28
  label: "Orders & Delivery",
27
- icon: S,
29
+ icon: x,
28
30
  description: "Placing, tracking, and cancelling orders",
29
31
  color: "bg-status-success-bg-subtle/10 text-status-success-text"
30
32
  },
31
33
  {
32
34
  label: "Payments & Billing",
33
- icon: p,
35
+ icon: f,
34
36
  description: "Payment methods, refunds, and invoices",
35
37
  color: "bg-accent-purple-subtle/10 text-accent-purple"
36
38
  },
@@ -60,17 +62,17 @@ var P = [
60
62
  },
61
63
  {
62
64
  label: "Security & Privacy",
63
- icon: x,
65
+ icon: b,
64
66
  description: "Data protection and safety",
65
67
  color: "bg-status-error-bg-subtle/10 text-status-error-text"
66
68
  },
67
69
  {
68
70
  label: "Technical Issues",
69
- icon: o,
71
+ icon: s,
70
72
  description: "App issues and troubleshooting",
71
73
  color: "bg-status-warning-bg-subtle/10 text-status-warning-text"
72
74
  }
73
- ], I = [
75
+ ], F = [
74
76
  {
75
77
  type: "email",
76
78
  label: "Email Support",
@@ -103,7 +105,7 @@ var P = [
103
105
  responseTime: "2-4 hours",
104
106
  icon: _
105
107
  }
106
- ], ce = [
108
+ ], fe = [
107
109
  {
108
110
  id: "faq-001",
109
111
  category: "Account & Profile",
@@ -360,7 +362,7 @@ var P = [
360
362
  "data"
361
363
  ]
362
364
  }
363
- ], le = [
365
+ ], I = [
364
366
  {
365
367
  id: "ticket-001",
366
368
  subject: "Payment failed but amount deducted",
@@ -472,15 +474,15 @@ var P = [
472
474
  views: 4321
473
475
  }
474
476
  ];
475
- function ue(e) {
477
+ function R(e) {
476
478
  switch (e) {
477
- case "open": return u;
478
- case "in-progress": return d;
479
+ case "open": return l;
480
+ case "in-progress": return u;
479
481
  case "resolved": return c;
480
482
  case "closed": return A;
481
483
  }
482
484
  }
483
- function R(e) {
485
+ function z(e) {
484
486
  switch (e) {
485
487
  case "open": return "bg-accent-blue-subtle/10 text-accent-blue";
486
488
  case "in-progress": return "bg-status-warning-bg-subtle/10 text-status-warning-text";
@@ -488,7 +490,7 @@ function R(e) {
488
490
  case "closed": return "bg-bg-sunken text-text-secondary";
489
491
  }
490
492
  }
491
- function z(e) {
493
+ function B(e) {
492
494
  switch (e) {
493
495
  case "urgent": return "bg-status-error-bg-subtle/10 text-status-error-text";
494
496
  case "high": return "bg-accent-orange-subtle/10 text-accent-orange";
@@ -496,31 +498,31 @@ function z(e) {
496
498
  case "low": return "bg-bg-sunken text-text-secondary";
497
499
  }
498
500
  }
499
- function B(e) {
501
+ function pe(e) {
500
502
  return e.replace("-", " ").replace(/\b\w/g, (e) => e.toUpperCase());
501
503
  }
502
504
  function V() {
503
- let { currentUser: s } = e(), [u, d] = a("faq"), [p, g] = a(""), [y, x] = a(""), [S, T] = a(null), [E, D] = a(ce), [O, A] = a(le), [V, H] = a(!1), [U, W] = a(!1), [G, K] = a(""), [q, J] = a(""), [Y, X] = a({
505
+ let { currentUser: te } = e(), [l, u] = o("faq"), [f, g] = o(""), [y, b] = o(""), [x, T] = o(null), [E, D] = o(fe), [O, A] = o(I), [V, H] = o(!1), [U, W] = o(!1), [G, K] = o(""), [q, J] = o(""), [Y, X] = o({
504
506
  subject: "",
505
507
  category: "",
506
508
  priority: "medium",
507
509
  description: ""
508
- }), Z = i(() => E.filter((e) => {
509
- let t = !p || e.question.toLowerCase().includes(p.toLowerCase()) || e.answer.toLowerCase().includes(p.toLowerCase()) || e.tags.some((e) => e.toLowerCase().includes(p.toLowerCase())), n = !y || e.category === y;
510
+ }), Z = a(() => E.filter((e) => {
511
+ 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 = !y || e.category === y;
510
512
  return t && n;
511
513
  }), [
512
514
  E,
513
- p,
515
+ f,
514
516
  y
515
- ]), Q = i(() => ({
517
+ ]), Q = a(() => ({
516
518
  open: O.filter((e) => e.status === "open").length,
517
519
  inProgress: O.filter((e) => e.status === "in-progress").length,
518
520
  resolved: O.filter((e) => e.status === "resolved").length,
519
521
  closed: O.filter((e) => e.status === "closed").length,
520
522
  total: O.length
521
- }), [O]), de = (e) => {
523
+ }), [O]), me = (e) => {
522
524
  T((t) => t === e ? null : e);
523
- }, fe = (e) => {
525
+ }, he = (e) => {
524
526
  D((t) => t.map((t) => t.id === e ? {
525
527
  ...t,
526
528
  helpful: t.helpful + 1
@@ -540,7 +542,7 @@ function V() {
540
542
  alert("Live chat will be available soon!");
541
543
  break;
542
544
  }
543
- }, pe = () => {
545
+ }, ge = () => {
544
546
  if (J(""), K(""), !Y.subject.trim()) {
545
547
  J("Please enter a subject for your ticket.");
546
548
  return;
@@ -570,13 +572,13 @@ function V() {
570
572
  category: "",
571
573
  priority: "medium",
572
574
  description: ""
573
- }), W(!1), H(!1), K("Support ticket created successfully! Our team will respond within 24 hours."), d("tickets"), setTimeout(() => K(""), 5e3);
575
+ }), W(!1), H(!1), K("Support ticket created successfully! Our team will respond within 24 hours."), u("tickets"), setTimeout(() => K(""), 5e3);
574
576
  }, 1e3);
575
- }, me = [
577
+ }, _e = [
576
578
  {
577
579
  id: "faq",
578
580
  label: "FAQ",
579
- icon: ie
581
+ icon: m
580
582
  },
581
583
  {
582
584
  id: "contact",
@@ -606,22 +608,29 @@ function V() {
606
608
  })
607
609
  ]
608
610
  }),
609
- /* @__PURE__ */ M("section", {
611
+ /* @__PURE__ */ M(ue, {
610
612
  className: "mb-6",
613
+ icon: /* @__PURE__ */ M(m, { className: "h-4 w-4" }),
614
+ children: "Stuck or have a question? Start by searching our FAQs and help topics for an instant answer. If you still need a hand, contact support or raise a ticket right here and track its progress — help is always one step away."
615
+ }),
616
+ /* @__PURE__ */ M(le, {
617
+ treatment: "glass",
618
+ glow: !0,
619
+ className: "mb-6 p-4",
611
620
  children: /* @__PURE__ */ N("div", {
612
621
  className: "relative",
613
622
  children: [
614
- /* @__PURE__ */ M(b, { className: "absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-text-secondary" }),
623
+ /* @__PURE__ */ M(se, { className: "absolute left-3 top-1/2 h-5 w-5 -translate-y-1/2 text-text-secondary" }),
615
624
  /* @__PURE__ */ M("input", {
616
625
  type: "text",
617
- value: p,
626
+ value: f,
618
627
  onChange: (e) => {
619
- g(e.target.value), u !== "faq" && d("faq");
628
+ g(e.target.value), l !== "faq" && u("faq");
620
629
  },
621
630
  placeholder: "Search help articles, FAQs, and more...",
622
631
  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
632
  }),
624
- p && /* @__PURE__ */ M("button", {
633
+ f && /* @__PURE__ */ M("button", {
625
634
  type: "button",
626
635
  onClick: () => g(""),
627
636
  className: "absolute right-3 top-1/2 -translate-y-1/2 text-text-secondary hover:text-text-primary",
@@ -637,12 +646,12 @@ function V() {
637
646
  children: "Browse Help Topics"
638
647
  }), /* @__PURE__ */ M("div", {
639
648
  className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",
640
- children: F.map((e) => {
649
+ children: de.map((e) => {
641
650
  let n = e.icon;
642
651
  return /* @__PURE__ */ N("button", {
643
652
  type: "button",
644
653
  onClick: () => {
645
- x(e.label === y ? "" : e.label), d("faq");
654
+ b(e.label === y ? "" : e.label), u("faq");
646
655
  },
647
656
  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
657
  children: [/* @__PURE__ */ M("div", {
@@ -663,12 +672,12 @@ function V() {
663
672
  className: "mb-6",
664
673
  children: /* @__PURE__ */ M("div", {
665
674
  className: "flex space-x-1 bg-bg-sunken p-1 rounded-lg w-full sm:w-fit",
666
- children: me.map((e) => {
675
+ children: _e.map((e) => {
667
676
  let n = e.icon;
668
677
  return /* @__PURE__ */ N("button", {
669
678
  type: "button",
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-bg-surface text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"),
679
+ onClick: () => u(e.id),
680
+ 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", l === e.id ? "bg-bg-surface text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"),
672
681
  children: [
673
682
  /* @__PURE__ */ M(n, { className: "h-4 w-4" }),
674
683
  /* @__PURE__ */ M("span", { children: e.label }),
@@ -681,7 +690,7 @@ function V() {
681
690
  })
682
691
  })
683
692
  }),
684
- u === "faq" && /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("div", {
693
+ l === "faq" && /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ N("div", {
685
694
  className: "mb-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",
686
695
  children: [/* @__PURE__ */ N("p", {
687
696
  className: "text-sm text-text-secondary",
@@ -699,7 +708,7 @@ function V() {
699
708
  }),
700
709
  /* @__PURE__ */ M("button", {
701
710
  type: "button",
702
- onClick: () => x(""),
711
+ onClick: () => b(""),
703
712
  className: "ml-1 text-primary hover:underline",
704
713
  children: "(clear)"
705
714
  })
@@ -707,7 +716,7 @@ function V() {
707
716
  ]
708
717
  }), /* @__PURE__ */ N("select", {
709
718
  value: y,
710
- onChange: (e) => x(e.target.value),
719
+ onChange: (e) => b(e.target.value),
711
720
  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
721
  children: [/* @__PURE__ */ M("option", {
713
722
  value: "",
@@ -720,12 +729,12 @@ function V() {
720
729
  }), Z.length > 0 ? /* @__PURE__ */ M("div", {
721
730
  className: "space-y-3",
722
731
  children: Z.map((e) => {
723
- let n = S === e.id;
732
+ let n = x === e.id;
724
733
  return /* @__PURE__ */ N("div", {
725
734
  className: "rounded-lg border border-border-subtle bg-bg-surface overflow-hidden",
726
735
  children: [/* @__PURE__ */ N("button", {
727
736
  type: "button",
728
- onClick: () => de(e.id),
737
+ onClick: () => me(e.id),
729
738
  className: "flex w-full items-start justify-between gap-3 px-4 py-4 text-left hover:bg-accent/50 transition-colors",
730
739
  children: [/* @__PURE__ */ N("div", {
731
740
  className: "flex-1 min-w-0",
@@ -742,7 +751,7 @@ function V() {
742
751
  className: t("text-sm", n ? "font-semibold text-text-primary" : "font-medium text-text-primary"),
743
752
  children: e.question
744
753
  })]
745
- }), M(n ? te : l, { className: "h-4 w-4 text-text-secondary shrink-0 mt-1" })]
754
+ }), M(n ? re : ne, { className: "h-4 w-4 text-text-secondary shrink-0 mt-1" })]
746
755
  }), n && /* @__PURE__ */ N("div", {
747
756
  className: "border-t border-border-subtle px-4 pb-4 pt-3",
748
757
  children: [/* @__PURE__ */ M("p", {
@@ -754,12 +763,12 @@ function V() {
754
763
  className: "flex flex-wrap gap-1.5",
755
764
  children: e.tags.map((e) => /* @__PURE__ */ N("span", {
756
765
  className: "inline-flex items-center gap-1 rounded-full bg-bg-sunken px-2 py-0.5 text-xs text-text-secondary",
757
- children: [/* @__PURE__ */ M(se, { className: "h-2.5 w-2.5" }), e]
766
+ children: [/* @__PURE__ */ M(S, { className: "h-2.5 w-2.5" }), e]
758
767
  }, e))
759
768
  }), /* @__PURE__ */ N("button", {
760
769
  type: "button",
761
770
  onClick: (t) => {
762
- t.stopPropagation(), fe(e.id);
771
+ t.stopPropagation(), he(e.id);
763
772
  },
764
773
  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
774
  children: [
@@ -773,29 +782,20 @@ function V() {
773
782
  })]
774
783
  }, e.id);
775
784
  })
776
- }) : /* @__PURE__ */ N("div", {
777
- className: "flex flex-col items-center justify-center rounded-lg border border-border-subtle bg-bg-surface py-12",
778
- children: [
779
- /* @__PURE__ */ M(b, { className: "h-12 w-12 text-text-secondary/50 mb-3" }),
780
- /* @__PURE__ */ M("h3", {
781
- className: "text-base font-semibold text-text-primary mb-1",
782
- children: "No FAQs found"
783
- }),
784
- /* @__PURE__ */ M("p", {
785
- className: "text-sm text-text-secondary mb-3",
786
- children: "Try adjusting your search or browse different categories"
787
- }),
788
- /* @__PURE__ */ M("button", {
789
- type: "button",
790
- onClick: () => {
791
- g(""), x("");
792
- },
793
- className: "text-sm font-medium text-primary hover:underline",
794
- children: "Clear all filters"
795
- })
796
- ]
785
+ }) : /* @__PURE__ */ M(r, {
786
+ illustration: "empty-search",
787
+ title: "No FAQs found",
788
+ description: "Try adjusting your search or browse different categories.",
789
+ action: /* @__PURE__ */ M("button", {
790
+ type: "button",
791
+ onClick: () => {
792
+ g(""), b("");
793
+ },
794
+ className: "text-sm font-medium text-primary hover:underline",
795
+ children: "Clear all filters"
796
+ })
797
797
  })] }),
798
- u === "contact" && /* @__PURE__ */ N("div", {
798
+ l === "contact" && /* @__PURE__ */ N("div", {
799
799
  className: "space-y-6",
800
800
  children: [
801
801
  /* @__PURE__ */ N("div", { children: [/* @__PURE__ */ M("h2", {
@@ -803,7 +803,7 @@ function V() {
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
- children: I.map((e) => {
806
+ children: F.map((e) => {
807
807
  let n = e.icon;
808
808
  return /* @__PURE__ */ M("div", {
809
809
  className: "rounded-lg border border-border-seam bg-bg-surface p-5 bg-gloss-card shadow-pop",
@@ -825,14 +825,14 @@ function V() {
825
825
  }),
826
826
  /* @__PURE__ */ N("div", {
827
827
  className: "flex items-center gap-1 mt-1 text-xs text-text-secondary",
828
- children: [/* @__PURE__ */ M(f, { className: "h-3 w-3" }), e.responseTime]
828
+ children: [/* @__PURE__ */ M(d, { 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
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
- children: [e.type === "chat" ? "Start Chat" : e.type === "email" ? "Send Email" : "Contact", /* @__PURE__ */ M(ne, { className: "h-3.5 w-3.5" })]
835
+ children: [e.type === "chat" ? "Start Chat" : e.type === "email" ? "Send Email" : "Contact", /* @__PURE__ */ M(ie, { className: "h-3.5 w-3.5" })]
836
836
  })
837
837
  ]
838
838
  })]
@@ -951,7 +951,7 @@ function V() {
951
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-accent-blue" }), /* @__PURE__ */ M("h4", {
954
+ children: [/* @__PURE__ */ M(oe, { className: "h-4 w-4 text-accent-blue" }), /* @__PURE__ */ M("h4", {
955
955
  className: "text-sm font-medium text-accent-blue",
956
956
  children: "Tips for faster resolution"
957
957
  })]
@@ -969,10 +969,10 @@ function V() {
969
969
  className: "flex items-center gap-3 pt-1",
970
970
  children: [/* @__PURE__ */ M("button", {
971
971
  type: "button",
972
- onClick: pe,
972
+ onClick: ge,
973
973
  disabled: U,
974
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
- 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"] })
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(ce, { className: "h-4 w-4" }), "Submit Ticket"] })
976
976
  }), /* @__PURE__ */ M("button", {
977
977
  type: "button",
978
978
  onClick: () => {
@@ -991,7 +991,7 @@ function V() {
991
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-text-secondary" }), /* @__PURE__ */ M("h3", {
994
+ children: [/* @__PURE__ */ M(d, { className: "h-5 w-5 text-text-secondary" }), /* @__PURE__ */ M("h3", {
995
995
  className: "text-sm font-semibold text-text-primary",
996
996
  children: "Support Hours"
997
997
  })]
@@ -1045,7 +1045,7 @@ function V() {
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-status-error-text" }), /* @__PURE__ */ M("h3", {
1048
+ children: [/* @__PURE__ */ M(s, { className: "h-5 w-5 text-status-error-text" }), /* @__PURE__ */ M("h3", {
1049
1049
  className: "text-sm font-semibold text-status-error-text",
1050
1050
  children: "Emergency Contact"
1051
1051
  })]
@@ -1088,7 +1088,7 @@ function V() {
1088
1088
  children: L.map((e) => /* @__PURE__ */ N("button", {
1089
1089
  type: "button",
1090
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", {
1091
+ children: [/* @__PURE__ */ M(p, { 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
1094
  className: "text-sm font-medium text-text-primary truncate",
@@ -1108,7 +1108,7 @@ function V() {
1108
1108
  })] })
1109
1109
  ]
1110
1110
  }),
1111
- u === "tickets" && /* @__PURE__ */ N("div", {
1111
+ l === "tickets" && /* @__PURE__ */ N("div", {
1112
1112
  className: "space-y-4",
1113
1113
  children: [
1114
1114
  /* @__PURE__ */ N("div", {
@@ -1168,7 +1168,7 @@ function V() {
1168
1168
  }), /* @__PURE__ */ N("button", {
1169
1169
  type: "button",
1170
1170
  onClick: () => {
1171
- H(!0), d("contact");
1171
+ H(!0), u("contact");
1172
1172
  },
1173
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"]
@@ -1189,7 +1189,7 @@ function V() {
1189
1189
  /* @__PURE__ */ M("button", {
1190
1190
  type: "button",
1191
1191
  onClick: () => {
1192
- H(!0), d("contact");
1192
+ H(!0), u("contact");
1193
1193
  },
1194
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"
@@ -1198,7 +1198,7 @@ function V() {
1198
1198
  }) : /* @__PURE__ */ M("div", {
1199
1199
  className: "space-y-4",
1200
1200
  children: O.map((e) => {
1201
- let n = ue(e.status), i = e.responses.length > 0 ? e.responses[e.responses.length - 1] : null;
1201
+ let n = R(e.status), r = e.responses.length > 0 ? e.responses[e.responses.length - 1] : null;
1202
1202
  return /* @__PURE__ */ N("div", {
1203
1203
  className: "rounded-lg border border-border-subtle bg-bg-surface overflow-hidden",
1204
1204
  children: [/* @__PURE__ */ N("div", {
@@ -1210,7 +1210,7 @@ function V() {
1210
1210
  className: "flex-1 min-w-0",
1211
1211
  children: [/* @__PURE__ */ N("div", {
1212
1212
  className: "flex items-center gap-2 mb-1",
1213
- children: [/* @__PURE__ */ M(n, { className: t("h-4 w-4", R(e.status).split(" ").slice(1).join(" ")) }), /* @__PURE__ */ M("h3", {
1213
+ children: [/* @__PURE__ */ M(n, { className: t("h-4 w-4", z(e.status).split(" ").slice(1).join(" ")) }), /* @__PURE__ */ M("h3", {
1214
1214
  className: "text-sm font-semibold text-text-primary truncate",
1215
1215
  children: e.subject
1216
1216
  })]
@@ -1225,11 +1225,11 @@ function V() {
1225
1225
  }), /* @__PURE__ */ N("div", {
1226
1226
  className: "flex flex-wrap gap-2",
1227
1227
  children: [/* @__PURE__ */ M("span", {
1228
- className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", z(e.priority)),
1228
+ className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", B(e.priority)),
1229
1229
  children: e.priority.toUpperCase()
1230
1230
  }), /* @__PURE__ */ M("span", {
1231
- className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", R(e.status)),
1232
- children: B(e.status)
1231
+ className: t("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium", z(e.status)),
1232
+ children: pe(e.status)
1233
1233
  })]
1234
1234
  })]
1235
1235
  }),
@@ -1237,7 +1237,7 @@ function V() {
1237
1237
  className: "text-sm text-text-secondary mt-2 leading-relaxed",
1238
1238
  children: e.description
1239
1239
  }),
1240
- i && /* @__PURE__ */ N("div", {
1240
+ r && /* @__PURE__ */ N("div", {
1241
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",
@@ -1245,28 +1245,28 @@ function V() {
1245
1245
  /* @__PURE__ */ M(_, { className: "h-3.5 w-3.5 text-text-secondary" }),
1246
1246
  /* @__PURE__ */ M("span", {
1247
1247
  className: "text-xs font-medium text-text-primary",
1248
- children: i.sender === "support" ? "Support Team" : "You"
1248
+ children: r.sender === "support" ? "Support Team" : "You"
1249
1249
  }),
1250
1250
  /* @__PURE__ */ N("span", {
1251
1251
  className: "text-xs text-text-secondary",
1252
- children: ["· ", r(i.timestamp)]
1252
+ children: ["· ", i(r.timestamp)]
1253
1253
  })
1254
1254
  ]
1255
1255
  }), /* @__PURE__ */ M("p", {
1256
1256
  className: "text-sm text-text-secondary",
1257
- children: i.message
1257
+ children: r.message
1258
1258
  })]
1259
1259
  }),
1260
1260
  e.responses.length === 0 && e.status === "open" && /* @__PURE__ */ N("div", {
1261
1261
  className: "mt-3 flex items-center gap-2 text-xs text-text-secondary",
1262
- children: [/* @__PURE__ */ M(m, { className: "h-3.5 w-3.5" }), "Awaiting response from support team"]
1262
+ children: [/* @__PURE__ */ M(ae, { className: "h-3.5 w-3.5" }), "Awaiting response from support team"]
1263
1263
  })
1264
1264
  ]
1265
1265
  }), /* @__PURE__ */ N("div", {
1266
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
- /* @__PURE__ */ N("span", { children: ["Created: ", r(e.createdAt)] }),
1269
- /* @__PURE__ */ N("span", { children: ["Updated: ", r(e.updatedAt)] }),
1268
+ /* @__PURE__ */ N("span", { children: ["Created: ", i(e.createdAt)] }),
1269
+ /* @__PURE__ */ N("span", { children: ["Updated: ", i(e.updatedAt)] }),
1270
1270
  /* @__PURE__ */ N("span", { children: [
1271
1271
  e.responses.length,
1272
1272
  " response",
@@ -1294,20 +1294,20 @@ function V() {
1294
1294
  children: [
1295
1295
  /* @__PURE__ */ N("button", {
1296
1296
  type: "button",
1297
- onClick: () => $(I[0]),
1297
+ onClick: () => $(F[0]),
1298
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
- onClick: () => $(I[1]),
1303
+ onClick: () => $(F[1]),
1304
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", {
1308
1308
  type: "button",
1309
1309
  onClick: () => {
1310
- H(!0), d("contact");
1310
+ H(!0), u("contact");
1311
1311
  },
1312
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"]