@burdenoff/microfe-support 2026.625.2 → 2026.715.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/dist/generated/global-operations.d.ts +2517 -0
  2. package/dist/generated/global-types.d.ts +22913 -0
  3. package/dist/generated/wspace-operations.d.ts +1 -0
  4. package/dist/generated/wspace-types.d.ts +57850 -0
  5. package/dist/index.d.ts +5 -0
  6. package/dist/support/SupportAdminRoot.d.ts +20 -0
  7. package/dist/support/SupportAdminRoutes.d.ts +13 -0
  8. package/dist/support/SupportUserRoot.d.ts +17 -0
  9. package/dist/support/SupportUserRoutes.d.ts +11 -0
  10. package/dist/support/components/NotificationToast.d.ts +17 -0
  11. package/dist/support/components/PageLayout.d.ts +71 -0
  12. package/dist/support/components/RouteHelpers.d.ts +9 -0
  13. package/dist/support/components/analytics/CategoryBreakdown.d.ts +9 -0
  14. package/dist/support/components/analytics/MetricCard.d.ts +10 -0
  15. package/dist/support/components/analytics/PriorityBreakdown.d.ts +9 -0
  16. package/dist/support/components/analytics/SLAReport.d.ts +23 -0
  17. package/dist/support/components/analytics/SatisfactionDistribution.d.ts +23 -0
  18. package/dist/support/components/analytics/TopAgents.d.ts +19 -0
  19. package/dist/support/components/analytics/TrendChart.d.ts +15 -0
  20. package/dist/support/components/kb/ArticleForm.d.ts +25 -0
  21. package/dist/support/components/settings/CannedResponsesSettings.d.ts +21 -0
  22. package/dist/support/components/settings/SLAPoliciesSettings.d.ts +18 -0
  23. package/dist/support/components/settings/TicketCategoriesSettings.d.ts +20 -0
  24. package/dist/support/components/tickets/AttachmentList.d.ts +7 -0
  25. package/dist/support/components/tickets/MarkdownContent.d.ts +7 -0
  26. package/dist/support/components/tickets/MessageComposer.d.ts +22 -0
  27. package/dist/support/components/tickets/MessageThread.d.ts +12 -0
  28. package/dist/support/components/tickets/TicketDetailHeader.d.ts +16 -0
  29. package/dist/support/components/tickets/TicketHeader.d.ts +9 -0
  30. package/dist/support/components/tickets/TicketSidebar.d.ts +7 -0
  31. package/dist/support/components/ui.d.ts +5 -0
  32. package/dist/support/components/ui.js +2 -2
  33. package/dist/support/constants.d.ts +20 -0
  34. package/dist/support/events/rybbit.d.ts +13 -0
  35. package/dist/support/hooks/index.d.ts +5 -0
  36. package/dist/support/hooks/useAnalyticsOperations.d.ts +51 -0
  37. package/dist/support/hooks/useAttachmentsFailedToast.d.ts +2 -0
  38. package/dist/support/hooks/useChatOperations.d.ts +27 -0
  39. package/dist/support/hooks/useKnowledgeBaseOperations.d.ts +55 -0
  40. package/dist/support/hooks/useNotification.d.ts +20 -0
  41. package/dist/support/hooks/useRegisterFooter.d.ts +6 -0
  42. package/dist/support/hooks/useSettingsOperations.d.ts +47 -0
  43. package/dist/support/hooks/useSupportAttachments.d.ts +10 -0
  44. package/dist/support/hooks/useTicketListOperations.d.ts +31 -0
  45. package/dist/support/hooks/useTicketOperations.d.ts +39 -0
  46. package/dist/support/index.d.ts +44 -0
  47. package/dist/support/pages/AnalyticsPage.d.ts +1 -0
  48. package/dist/support/pages/AnalyticsPage.js +144 -113
  49. package/dist/support/pages/AnalyticsPage.js.map +1 -1
  50. package/dist/support/pages/ArticleDetailAdminPage.d.ts +7 -0
  51. package/dist/support/pages/ArticleDetailAdminPage.js +150 -113
  52. package/dist/support/pages/ArticleDetailAdminPage.js.map +1 -1
  53. package/dist/support/pages/ArticleDetailUserPage.d.ts +7 -0
  54. package/dist/support/pages/ArticleDetailUserPage.js +90 -83
  55. package/dist/support/pages/ArticleDetailUserPage.js.map +1 -1
  56. package/dist/support/pages/ContactInquiriesPage.d.ts +1 -0
  57. package/dist/support/pages/ContactInquiriesPage.js +48 -44
  58. package/dist/support/pages/ContactInquiriesPage.js.map +1 -1
  59. package/dist/support/pages/ContactInquiryDetailPage.d.ts +1 -0
  60. package/dist/support/pages/ContactInquiryDetailPage.js +225 -205
  61. package/dist/support/pages/ContactInquiryDetailPage.js.map +1 -1
  62. package/dist/support/pages/CreateArticlePage.d.ts +1 -0
  63. package/dist/support/pages/CreateArticlePage.js +50 -46
  64. package/dist/support/pages/CreateArticlePage.js.map +1 -1
  65. package/dist/support/pages/CreateTicketPage.d.ts +1 -0
  66. package/dist/support/pages/CreateTicketPage.js +122 -116
  67. package/dist/support/pages/CreateTicketPage.js.map +1 -1
  68. package/dist/support/pages/EditArticlePage.d.ts +1 -0
  69. package/dist/support/pages/EditArticlePage.js +76 -80
  70. package/dist/support/pages/EditArticlePage.js.map +1 -1
  71. package/dist/support/pages/JobApplicationDetailPage.d.ts +1 -0
  72. package/dist/support/pages/JobApplicationDetailPage.js +292 -269
  73. package/dist/support/pages/JobApplicationDetailPage.js.map +1 -1
  74. package/dist/support/pages/JobApplicationsPage.d.ts +1 -0
  75. package/dist/support/pages/JobApplicationsPage.js +50 -46
  76. package/dist/support/pages/JobApplicationsPage.js.map +1 -1
  77. package/dist/support/pages/KnowledgeBaseAdminPage.d.ts +7 -0
  78. package/dist/support/pages/KnowledgeBaseAdminPage.js +84 -81
  79. package/dist/support/pages/KnowledgeBaseAdminPage.js.map +1 -1
  80. package/dist/support/pages/KnowledgeBaseUserPage.d.ts +8 -0
  81. package/dist/support/pages/KnowledgeBaseUserPage.js +76 -75
  82. package/dist/support/pages/KnowledgeBaseUserPage.js.map +1 -1
  83. package/dist/support/pages/SettingsPage.d.ts +1 -0
  84. package/dist/support/pages/SettingsPage.js +215 -182
  85. package/dist/support/pages/SettingsPage.js.map +1 -1
  86. package/dist/support/pages/TicketDetailAdminPage.d.ts +8 -0
  87. package/dist/support/pages/TicketDetailAdminPage.js +158 -128
  88. package/dist/support/pages/TicketDetailAdminPage.js.map +1 -1
  89. package/dist/support/pages/TicketDetailUserPage.d.ts +8 -0
  90. package/dist/support/pages/TicketDetailUserPage.js +174 -141
  91. package/dist/support/pages/TicketDetailUserPage.js.map +1 -1
  92. package/dist/support/pages/TicketListPage.d.ts +11 -0
  93. package/dist/support/pages/TicketListPage.js +171 -170
  94. package/dist/support/pages/TicketListPage.js.map +1 -1
  95. package/dist/support/providers/SupportProvider.d.ts +16 -0
  96. package/dist/support/store/supportStore.d.ts +66 -0
  97. package/dist/support/types/index.d.ts +160 -0
  98. package/dist/support/utils/attachments.d.ts +27 -0
  99. package/dist/support/utils/categoryColors.d.ts +10 -0
  100. package/dist/support/utils/cn.d.ts +6 -0
  101. package/dist/support/utils/context.d.ts +2 -0
  102. package/dist/support/utils/errors.d.ts +2 -0
  103. package/dist/support/utils/i18n.d.ts +4 -0
  104. package/dist/support/utils/index.d.ts +57 -0
  105. package/dist/support/utils/markdown.d.ts +2 -0
  106. package/dist/support/utils/supportFiles.d.ts +15 -0
  107. package/dist/support/utils/ticketFilters.d.ts +6 -0
  108. package/dist/support/utils/uiTokens.d.ts +7 -0
  109. package/dist/utils/nativeBridge.d.ts +2 -0
  110. package/package.json +4 -4
@@ -1,29 +1,30 @@
1
1
  import { humanizeCategory as e } from "../utils/index.js";
2
2
  import { useGetContactInquiryQuery as t, useReplyToContactInquiryMutation as n, useUpdateContactInquiryStatusMutation as r } from "../../generated/global-operations.js";
3
- import { nativeCopyText as i, nativeImpact as ee } from "../../utils/nativeBridge.js";
4
- import { useEffect as a, useRef as o, useState as s } from "react";
5
- import { AlertCircle as c, Archive as l, ArrowLeft as u, Building2 as te, Calendar as ne, CheckCircle as d, Clock as f, Copy as p, ExternalLink as m, Eye as h, Globe as re, Loader2 as g, Mail as _, MessageSquare as ie, Package as ae, Send as v, ShieldAlert as y, Tag as b, Ticket as x, User as S } from "lucide-react";
6
- import { useLocation as C, useNavigate as w, useParams as T } from "react-router-dom";
7
- import { graphqlFetch as E } from "@burdenoff/fe-libs/shared/graphql/fetch";
8
- import { jsx as D, jsxs as O } from "react/jsx-runtime";
3
+ import { nativeCopyText as i, nativeImpact as a } from "../../utils/nativeBridge.js";
4
+ import { useEffect as o, useRef as s, useState as c } from "react";
5
+ import { Archive as l, ArrowLeft as u, Building2 as d, Calendar as f, CheckCircle as p, Clock as ee, Copy as te, ExternalLink as ne, Eye as m, Globe as re, Loader2 as h, Mail as g, MessageSquare as _, Package as ie, Send as v, ShieldAlert as y, Tag as ae, Ticket as b, User as x } from "lucide-react";
6
+ import { useLocation as S, useNavigate as C, useParams as w } from "react-router-dom";
7
+ import { graphqlFetch as T } from "@burdenoff/fe-libs/shared/graphql/fetch";
8
+ import { jsx as E, jsxs as D } from "react/jsx-runtime";
9
+ import { EmphasisPanel as O, IllustratedEmptyState as oe, NextSteps as se, PagePurpose as ce } from "@burdenoff/fe-libs/ui";
9
10
  //#region src/support/pages/ContactInquiryDetailPage.tsx
10
11
  var k = {
11
12
  NEW: {
12
13
  label: "New",
13
14
  color: "text-accent-blue",
14
- icon: _,
15
+ icon: g,
15
16
  bg: "bg-status-info-bg-subtle border-border-subtle"
16
17
  },
17
18
  REVIEWED: {
18
19
  label: "Reviewed",
19
20
  color: "text-status-warning-text",
20
- icon: h,
21
+ icon: m,
21
22
  bg: "bg-status-warning-bg-subtle border-border-subtle"
22
23
  },
23
24
  CONVERTED: {
24
25
  label: "Converted to Ticket",
25
26
  color: "text-status-success-text",
26
- icon: x,
27
+ icon: b,
27
28
  bg: "bg-status-success-bg-subtle border-border-subtle"
28
29
  },
29
30
  SPAM: {
@@ -49,7 +50,7 @@ function A(e) {
49
50
  minute: "2-digit"
50
51
  });
51
52
  }
52
- function oe(e) {
53
+ function j(e) {
53
54
  let t = Date.now() - new Date(e).getTime(), n = Math.floor(t / 6e4);
54
55
  if (n < 60) return `${n}m ago`;
55
56
  let r = Math.floor(n / 60);
@@ -57,145 +58,163 @@ function oe(e) {
57
58
  let i = Math.floor(r / 24);
58
59
  return i < 30 ? `${i}d ago` : A(e);
59
60
  }
60
- function j() {
61
- let { id: h } = T(), y = w(), j = C().search, [se, M] = s(!1), [ce, N] = s(!1), [P, F] = s(""), [I, L] = s(!1), R = o(null), z = o(null), B = o(null), [V, H] = s(null);
62
- a(() => () => {
63
- R.current && clearTimeout(R.current), z.current && clearTimeout(z.current), B.current && clearTimeout(B.current);
61
+ function M() {
62
+ let { id: m } = w(), y = C(), M = S().search, [le, N] = c(!1), [P, F] = c(!1), [I, L] = c(""), [R, z] = c(!1), B = s(null), V = s(null), H = s(null), [U, W] = c(null);
63
+ o(() => () => {
64
+ B.current && clearTimeout(B.current), V.current && clearTimeout(V.current), H.current && clearTimeout(H.current);
64
65
  }, []);
65
- let { data: U, loading: W, error: G } = t({
66
- variables: { id: h },
67
- skip: !h
68
- }), K = U?.contactInquiry?.productId ?? null;
69
- a(() => {
70
- if (!K) {
71
- H(null);
66
+ let { data: G, loading: ue, error: K } = t({
67
+ variables: { id: m },
68
+ skip: !m
69
+ }), q = G?.contactInquiry?.productId ?? null;
70
+ o(() => {
71
+ if (!q) {
72
+ W(null);
72
73
  return;
73
74
  }
74
75
  let e = !1;
75
- return E({
76
+ return T({
76
77
  gateway: "global",
77
78
  query: "query($id: ID!) { platformProduct(id: $id) { name } }",
78
- variables: { id: K }
79
+ variables: { id: q }
79
80
  }).then((t) => {
80
81
  if (e) return;
81
82
  let n = t.data?.platformProduct?.name;
82
- n && H(n);
83
+ n && W(n);
83
84
  }).catch(() => {}), () => {
84
85
  e = !0;
85
86
  };
86
- }, [K]);
87
- let [le, { loading: q }] = r({ refetchQueries: ["GetContactInquiry", "GetContactInquiries"] }), [ue, { loading: J }] = n({ refetchQueries: ["GetContactInquiry"] }), Y = async () => {
88
- if (!(!P.trim() || !h)) try {
89
- (await ue({ variables: {
90
- id: h,
91
- message: P.trim()
92
- } })).data?.replyToContactInquiry.success && (L(!0), F(""), B.current && clearTimeout(B.current), B.current = setTimeout(() => L(!1), 3e3));
87
+ }, [q]);
88
+ let [de, { loading: J }] = r({ refetchQueries: ["GetContactInquiry", "GetContactInquiries"] }), [fe, { loading: Y }] = n({ refetchQueries: ["GetContactInquiry"] }), pe = async () => {
89
+ if (!(!I.trim() || !m)) try {
90
+ (await fe({ variables: {
91
+ id: m,
92
+ message: I.trim()
93
+ } })).data?.replyToContactInquiry.success && (z(!0), L(""), H.current && clearTimeout(H.current), H.current = setTimeout(() => z(!1), 3e3));
93
94
  } catch (e) {
94
95
  console.error("Failed to send reply:", e);
95
96
  }
96
- }, X = U?.contactInquiry, Z = async (e) => {
97
- if (h) try {
98
- await le({ variables: {
99
- id: h,
97
+ }, X = G?.contactInquiry, Z = async (e) => {
98
+ if (m) try {
99
+ await de({ variables: {
100
+ id: m,
100
101
  input: { status: e }
101
- } }), M(!0), R.current && clearTimeout(R.current), R.current = setTimeout(() => M(!1), 3e3);
102
+ } }), N(!0), B.current && clearTimeout(B.current), B.current = setTimeout(() => N(!1), 3e3);
102
103
  } catch (e) {
103
104
  console.error("Failed to update status:", e);
104
105
  }
105
- }, de = async () => {
106
- X?.email && (ee("light"), await i(X.email), N(!0), z.current && clearTimeout(z.current), z.current = setTimeout(() => N(!1), 2e3));
106
+ }, me = async () => {
107
+ X?.email && (a("light"), await i(X.email), F(!0), V.current && clearTimeout(V.current), V.current = setTimeout(() => F(!1), 2e3));
107
108
  };
108
- if (W) return /* @__PURE__ */ D("div", {
109
+ if (ue) return /* @__PURE__ */ E("div", {
109
110
  className: "min-h-full flex items-center justify-center py-20",
110
- children: /* @__PURE__ */ O("div", {
111
+ children: /* @__PURE__ */ D("div", {
111
112
  className: "text-center",
112
- children: [/* @__PURE__ */ D(g, {
113
+ children: [/* @__PURE__ */ E(h, {
113
114
  size: 36,
114
115
  className: "animate-spin text-[var(--color-text-secondary)] mx-auto mb-3"
115
- }), /* @__PURE__ */ D("p", {
116
+ }), /* @__PURE__ */ E("p", {
116
117
  className: "text-sm text-[var(--color-text-secondary)]",
117
118
  children: "Loading inquiry details…"
118
119
  })]
119
120
  })
120
121
  });
121
- if (G || !X) return /* @__PURE__ */ D("div", {
122
- className: "min-h-full flex items-center justify-center py-20",
123
- children: /* @__PURE__ */ O("div", {
124
- className: "text-center max-w-sm",
125
- children: [
126
- /* @__PURE__ */ D("div", {
127
- className: "size-16 mx-auto mb-4 rounded-2xl bg-status-error-bg-subtle flex items-center justify-center",
128
- children: /* @__PURE__ */ D(c, {
129
- size: 32,
130
- className: "text-status-error-text"
131
- })
132
- }),
133
- /* @__PURE__ */ D("h3", {
134
- className: "text-lg font-semibold text-[var(--color-text-primary)] mb-2",
135
- children: "Inquiry not found"
136
- }),
137
- /* @__PURE__ */ D("p", {
138
- className: "text-sm text-[var(--color-text-secondary)] mb-6",
139
- children: G?.message || "This inquiry may have been deleted or you don't have access."
140
- }),
141
- /* @__PURE__ */ O("button", {
142
- type: "button",
143
- onClick: () => y(`/support/inquiries${j}`),
144
- className: "min-h-11 inline-flex items-center justify-center gap-2 px-5 py-2.5 bg-[var(--color-bg-accent)] text-on-accent rounded-lg text-sm font-medium hover:opacity-90 transition-all",
145
- children: [/* @__PURE__ */ D(u, { size: 16 }), "Back to Inquiries"]
146
- })
147
- ]
122
+ if (K || !X) return /* @__PURE__ */ E("div", {
123
+ className: "p-3 sm:p-6",
124
+ children: /* @__PURE__ */ E(oe, {
125
+ illustration: "empty-search",
126
+ title: "Inquiry not found",
127
+ description: K?.message || "This inquiry may have been deleted or you don't have access.",
128
+ action: /* @__PURE__ */ D("button", {
129
+ type: "button",
130
+ onClick: () => y(`/support/inquiries${M}`),
131
+ className: "min-h-11 inline-flex items-center justify-center gap-2 px-5 py-2.5 bg-[var(--color-bg-accent)] text-on-accent rounded-lg text-sm font-medium hover:opacity-90 transition-all",
132
+ children: [/* @__PURE__ */ E(u, { size: 16 }), "Back to Inquiries"]
133
+ })
148
134
  })
149
135
  });
150
136
  let Q = k[X.status] || k.NEW, $ = Q.icon;
151
- return /* @__PURE__ */ O("div", {
137
+ return /* @__PURE__ */ D("div", {
152
138
  className: "p-3 animate-in fade-in duration-200 sm:p-6",
153
139
  children: [
154
- /* @__PURE__ */ O("div", {
140
+ /* @__PURE__ */ D("div", {
155
141
  className: "flex flex-col gap-3 mb-6 sm:flex-row sm:items-center sm:justify-between",
156
- children: [/* @__PURE__ */ O("button", {
142
+ children: [/* @__PURE__ */ D("button", {
157
143
  type: "button",
158
- onClick: () => y(`/support/inquiries${j}`),
144
+ onClick: () => y(`/support/inquiries${M}`),
159
145
  className: "min-h-11 inline-flex items-center gap-2 text-[var(--color-text-secondary)] hover:text-[var(--color-text-primary)] transition-colors",
160
- children: [/* @__PURE__ */ D(u, { size: 18 }), /* @__PURE__ */ D("span", {
146
+ children: [/* @__PURE__ */ E(u, { size: 18 }), /* @__PURE__ */ E("span", {
161
147
  className: "text-sm font-medium",
162
148
  children: "Back to Inquiries"
163
149
  })]
164
- }), /* @__PURE__ */ O("div", {
150
+ }), /* @__PURE__ */ D("div", {
165
151
  className: "flex items-center gap-2 text-xs text-[var(--color-text-secondary)]",
166
- children: [/* @__PURE__ */ D(f, { size: 12 }), oe(X.createdAt)]
152
+ children: [/* @__PURE__ */ E(ee, { size: 12 }), j(X.createdAt)]
167
153
  })]
168
154
  }),
169
- se && /* @__PURE__ */ O("div", {
155
+ le && /* @__PURE__ */ D("div", {
170
156
  className: "mb-5 p-3.5 bg-status-success-bg-subtle border border-border-subtle rounded-xl flex items-center gap-2.5 text-status-success-text text-sm font-medium animate-in slide-in-from-top-2 duration-200",
171
- children: [/* @__PURE__ */ D(d, { size: 18 }), "Status updated successfully"]
157
+ children: [/* @__PURE__ */ E(p, { size: 18 }), "Status updated successfully"]
172
158
  }),
173
- /* @__PURE__ */ D("div", {
159
+ /* @__PURE__ */ E(ce, {
160
+ className: "mb-6",
161
+ children: "Everything a prospect or customer sent through your contact form, in one place. Read the message, reply by branded email, and decide what happens next — convert a genuine lead into a support ticket, mark it reviewed, or archive spam. Use the actions on the right to move it forward."
162
+ }),
163
+ /* @__PURE__ */ E(se, {
164
+ storageKey: "support-inquiry-detail",
165
+ title: "Handle this inquiry",
166
+ className: "mb-6",
167
+ steps: [
168
+ {
169
+ id: "reply",
170
+ label: "Reply to the sender",
171
+ description: "Send a branded email response from the Reply panel.",
172
+ onClick: () => document.querySelector("[data-tour=\"support-inquiry-reply\"]")?.scrollIntoView({
173
+ behavior: "smooth",
174
+ block: "center"
175
+ })
176
+ },
177
+ ...X.status === "CONVERTED" ? [] : [{
178
+ id: "convert",
179
+ label: "Convert to a ticket",
180
+ description: "Turn a real request into a tracked support ticket.",
181
+ onClick: () => void Z("CONVERTED")
182
+ }],
183
+ {
184
+ id: "archive",
185
+ label: "Archive or mark spam",
186
+ description: "Clear out anything that needs no follow-up.",
187
+ onClick: () => void Z("ARCHIVED"),
188
+ done: X.status === "ARCHIVED" || X.status === "SPAM"
189
+ }
190
+ ]
191
+ }),
192
+ /* @__PURE__ */ E("div", {
174
193
  className: `rounded-xl border p-6 mb-6 ${Q.bg}`,
175
- children: /* @__PURE__ */ D("div", {
194
+ children: /* @__PURE__ */ E("div", {
176
195
  className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
177
- children: /* @__PURE__ */ O("div", {
196
+ children: /* @__PURE__ */ D("div", {
178
197
  className: "flex flex-col gap-4 sm:flex-row sm:items-start",
179
- children: [/* @__PURE__ */ D("div", {
198
+ children: [/* @__PURE__ */ E("div", {
180
199
  className: "size-12 rounded-xl bg-bg-surface/80 dark:bg-bg-surface/10 flex items-center justify-center shadow-sm",
181
- children: /* @__PURE__ */ D($, {
200
+ children: /* @__PURE__ */ E($, {
182
201
  size: 24,
183
202
  className: Q.color
184
203
  })
185
- }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("div", {
204
+ }), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("div", {
186
205
  className: "flex items-center gap-3 mb-1.5",
187
- children: /* @__PURE__ */ D("h1", {
206
+ children: /* @__PURE__ */ E("h1", {
188
207
  className: "text-xl font-bold text-[var(--color-text-primary)]",
189
208
  children: X.subject
190
209
  })
191
- }), /* @__PURE__ */ O("div", {
210
+ }), /* @__PURE__ */ D("div", {
192
211
  className: "flex flex-wrap items-center gap-3 text-sm",
193
- children: [/* @__PURE__ */ O("span", {
212
+ children: [/* @__PURE__ */ D("span", {
194
213
  className: `inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-semibold ${Q.color} bg-bg-surface/60 dark:bg-bg-surface/10`,
195
- children: [/* @__PURE__ */ D($, { size: 12 }), Q.label]
196
- }), /* @__PURE__ */ O("span", {
214
+ children: [/* @__PURE__ */ E($, { size: 12 }), Q.label]
215
+ }), /* @__PURE__ */ D("span", {
197
216
  className: "text-[var(--color-text-secondary)]",
198
- children: ["from ", /* @__PURE__ */ D("strong", {
217
+ children: ["from ", /* @__PURE__ */ E("strong", {
199
218
  className: "text-[var(--color-text-primary)]",
200
219
  children: X.name
201
220
  })]
@@ -204,69 +223,69 @@ function j() {
204
223
  })
205
224
  })
206
225
  }),
207
- /* @__PURE__ */ O("div", {
226
+ /* @__PURE__ */ D("div", {
208
227
  className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
209
- children: [/* @__PURE__ */ O("div", {
228
+ children: [/* @__PURE__ */ D("div", {
210
229
  className: "lg:col-span-2 space-y-5",
211
230
  children: [
212
- /* @__PURE__ */ O("div", {
231
+ /* @__PURE__ */ D("div", {
213
232
  className: "bg-[var(--color-bg-surface)] border border-border-seam rounded-xl overflow-hidden shadow-[var(--shadow-pop)]",
214
- children: [/* @__PURE__ */ D("div", {
233
+ children: [/* @__PURE__ */ E("div", {
215
234
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
216
- children: /* @__PURE__ */ O("h2", {
235
+ children: /* @__PURE__ */ D("h2", {
217
236
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-2",
218
- children: [/* @__PURE__ */ D(S, { size: 14 }), "Contact Information"]
237
+ children: [/* @__PURE__ */ E(x, { size: 14 }), "Contact Information"]
219
238
  })
220
- }), /* @__PURE__ */ D("div", {
239
+ }), /* @__PURE__ */ E("div", {
221
240
  className: "p-5",
222
- children: /* @__PURE__ */ O("div", {
241
+ children: /* @__PURE__ */ D("div", {
223
242
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
224
243
  children: [
225
- /* @__PURE__ */ O("div", {
244
+ /* @__PURE__ */ D("div", {
226
245
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
227
- children: [/* @__PURE__ */ D("div", {
246
+ children: [/* @__PURE__ */ E("div", {
228
247
  className: "size-9 rounded-lg bg-status-info-bg-subtle flex items-center justify-center",
229
- children: /* @__PURE__ */ D(S, {
248
+ children: /* @__PURE__ */ E(x, {
230
249
  size: 16,
231
250
  className: "text-accent-blue"
232
251
  })
233
- }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
252
+ }), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
234
253
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
235
254
  children: "Name"
236
- }), /* @__PURE__ */ D("p", {
255
+ }), /* @__PURE__ */ E("p", {
237
256
  className: "text-sm font-semibold text-[var(--color-text-primary)]",
238
257
  children: X.name
239
258
  })] })]
240
259
  }),
241
- /* @__PURE__ */ O("div", {
260
+ /* @__PURE__ */ D("div", {
242
261
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
243
- children: [/* @__PURE__ */ D("div", {
262
+ children: [/* @__PURE__ */ E("div", {
244
263
  className: "size-9 rounded-lg bg-accent-indigo-subtle flex items-center justify-center",
245
- children: /* @__PURE__ */ D(_, {
264
+ children: /* @__PURE__ */ E(g, {
246
265
  size: 16,
247
266
  className: "text-accent-indigo"
248
267
  })
249
- }), /* @__PURE__ */ O("div", {
268
+ }), /* @__PURE__ */ D("div", {
250
269
  className: "flex-1 min-w-0",
251
- children: [/* @__PURE__ */ D("p", {
270
+ children: [/* @__PURE__ */ E("p", {
252
271
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
253
272
  children: "Email"
254
- }), /* @__PURE__ */ O("div", {
273
+ }), /* @__PURE__ */ D("div", {
255
274
  className: "flex items-center gap-1.5",
256
- children: [/* @__PURE__ */ D("a", {
275
+ children: [/* @__PURE__ */ E("a", {
257
276
  href: `mailto:${X.email}`,
258
277
  className: "text-sm font-semibold text-[var(--color-text-link)] hover:underline truncate",
259
278
  children: X.email
260
- }), /* @__PURE__ */ D("button", {
279
+ }), /* @__PURE__ */ E("button", {
261
280
  type: "button",
262
- onClick: de,
281
+ onClick: me,
263
282
  className: "min-h-11 min-w-11 flex-shrink-0 rounded hover:bg-[var(--color-bg-muted)] transition-colors",
264
283
  title: "Copy email",
265
284
  "aria-label": "Copy email",
266
- children: ce ? /* @__PURE__ */ D(d, {
285
+ children: P ? /* @__PURE__ */ E(p, {
267
286
  size: 12,
268
287
  className: "text-status-success-text"
269
- }) : /* @__PURE__ */ D(p, {
288
+ }) : /* @__PURE__ */ E(te, {
270
289
  size: 12,
271
290
  className: "text-[var(--color-text-secondary)]"
272
291
  })
@@ -274,66 +293,66 @@ function j() {
274
293
  })]
275
294
  })]
276
295
  }),
277
- X.company && /* @__PURE__ */ O("div", {
296
+ X.company && /* @__PURE__ */ D("div", {
278
297
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
279
- children: [/* @__PURE__ */ D("div", {
298
+ children: [/* @__PURE__ */ E("div", {
280
299
  className: "size-9 rounded-lg bg-accent-purple-subtle flex items-center justify-center",
281
- children: /* @__PURE__ */ D(te, {
300
+ children: /* @__PURE__ */ E(d, {
282
301
  size: 16,
283
302
  className: "text-accent-purple"
284
303
  })
285
- }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
304
+ }), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
286
305
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
287
306
  children: "Company"
288
- }), /* @__PURE__ */ D("p", {
307
+ }), /* @__PURE__ */ E("p", {
289
308
  className: "text-sm font-semibold text-[var(--color-text-primary)]",
290
309
  children: X.company
291
310
  })] })]
292
311
  }),
293
- X.category && /* @__PURE__ */ O("div", {
312
+ X.category && /* @__PURE__ */ D("div", {
294
313
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
295
- children: [/* @__PURE__ */ D("div", {
314
+ children: [/* @__PURE__ */ E("div", {
296
315
  className: "size-9 rounded-lg bg-accent-blue-subtle flex items-center justify-center",
297
- children: /* @__PURE__ */ D(b, {
316
+ children: /* @__PURE__ */ E(ae, {
298
317
  size: 16,
299
318
  className: "text-accent-blue"
300
319
  })
301
- }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
320
+ }), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
302
321
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
303
322
  children: "Category"
304
- }), /* @__PURE__ */ D("p", {
323
+ }), /* @__PURE__ */ E("p", {
305
324
  className: "text-sm font-semibold text-[var(--color-text-primary)]",
306
325
  children: e(X.category)
307
326
  })] })]
308
327
  }),
309
- X.productId && V && /* @__PURE__ */ O("div", {
328
+ X.productId && U && /* @__PURE__ */ D("div", {
310
329
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
311
- children: [/* @__PURE__ */ D("div", {
330
+ children: [/* @__PURE__ */ E("div", {
312
331
  className: "size-9 rounded-lg bg-accent-purple-subtle flex items-center justify-center",
313
- children: /* @__PURE__ */ D(ae, {
332
+ children: /* @__PURE__ */ E(ie, {
314
333
  size: 16,
315
334
  className: "text-accent-purple"
316
335
  })
317
- }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
336
+ }), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
318
337
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
319
338
  children: "Product"
320
- }), /* @__PURE__ */ D("p", {
339
+ }), /* @__PURE__ */ E("p", {
321
340
  className: "text-sm font-semibold text-[var(--color-text-primary)]",
322
- children: V
341
+ children: U
323
342
  })] })]
324
343
  }),
325
- /* @__PURE__ */ O("div", {
344
+ /* @__PURE__ */ D("div", {
326
345
  className: "flex items-center gap-3 p-3 rounded-lg bg-[var(--color-bg-muted)]/30",
327
- children: [/* @__PURE__ */ D("div", {
346
+ children: [/* @__PURE__ */ E("div", {
328
347
  className: "size-9 rounded-lg bg-status-success-bg-subtle flex items-center justify-center",
329
- children: /* @__PURE__ */ D(re, {
348
+ children: /* @__PURE__ */ E(re, {
330
349
  size: 16,
331
350
  className: "text-status-success-text"
332
351
  })
333
- }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
352
+ }), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
334
353
  className: "text-[10px] font-medium text-[var(--color-text-secondary)] uppercase tracking-wider",
335
354
  children: "Source"
336
- }), /* @__PURE__ */ D("p", {
355
+ }), /* @__PURE__ */ E("p", {
337
356
  className: "text-sm font-semibold text-[var(--color-text-primary)] capitalize",
338
357
  children: X.source.toLowerCase()
339
358
  })] })]
@@ -342,40 +361,40 @@ function j() {
342
361
  })
343
362
  })]
344
363
  }),
345
- /* @__PURE__ */ O("div", {
364
+ /* @__PURE__ */ D("div", {
346
365
  className: "bg-[var(--color-bg-surface)] border border-border-seam rounded-xl overflow-hidden shadow-[var(--shadow-pop)]",
347
- children: [/* @__PURE__ */ D("div", {
366
+ children: [/* @__PURE__ */ E("div", {
348
367
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
349
- children: /* @__PURE__ */ O("h2", {
368
+ children: /* @__PURE__ */ D("h2", {
350
369
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-2",
351
- children: [/* @__PURE__ */ D(ie, { size: 14 }), "Message"]
370
+ children: [/* @__PURE__ */ E(_, { size: 14 }), "Message"]
352
371
  })
353
- }), /* @__PURE__ */ D("div", {
372
+ }), /* @__PURE__ */ E("div", {
354
373
  className: "p-5",
355
- children: /* @__PURE__ */ D("p", {
374
+ children: /* @__PURE__ */ E("p", {
356
375
  className: "text-sm text-[var(--color-text-primary)] leading-relaxed whitespace-pre-wrap",
357
376
  children: X.message
358
377
  })
359
378
  })]
360
379
  }),
361
- X.metadata && Object.keys(X.metadata).length > 0 && /* @__PURE__ */ O("div", {
380
+ X.metadata && Object.keys(X.metadata).length > 0 && /* @__PURE__ */ D("div", {
362
381
  className: "bg-[var(--color-bg-surface)] border border-border-seam rounded-xl overflow-hidden shadow-[var(--shadow-pop)]",
363
- children: [/* @__PURE__ */ D("div", {
382
+ children: [/* @__PURE__ */ E("div", {
364
383
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
365
- children: /* @__PURE__ */ O("h2", {
384
+ children: /* @__PURE__ */ D("h2", {
366
385
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-2",
367
- children: [/* @__PURE__ */ D(m, { size: 14 }), "Additional Data"]
386
+ children: [/* @__PURE__ */ E(ne, { size: 14 }), "Additional Data"]
368
387
  })
369
- }), /* @__PURE__ */ D("div", {
388
+ }), /* @__PURE__ */ E("div", {
370
389
  className: "p-5",
371
- children: /* @__PURE__ */ D("div", {
390
+ children: /* @__PURE__ */ E("div", {
372
391
  className: "space-y-2.5",
373
- children: Object.entries(X.metadata).map(([e, t]) => /* @__PURE__ */ O("div", {
392
+ children: Object.entries(X.metadata).map(([e, t]) => /* @__PURE__ */ D("div", {
374
393
  className: "flex items-start gap-3 py-1.5 border-b border-[var(--color-border-default)] last:border-0",
375
- children: [/* @__PURE__ */ D("span", {
394
+ children: [/* @__PURE__ */ E("span", {
376
395
  className: "text-xs font-medium text-[var(--color-text-secondary)] min-w-[120px] uppercase tracking-wider",
377
396
  children: e
378
- }), /* @__PURE__ */ D("span", {
397
+ }), /* @__PURE__ */ E("span", {
379
398
  className: "text-xs text-[var(--color-text-primary)] font-mono break-all",
380
399
  children: String(t)
381
400
  })]
@@ -384,46 +403,46 @@ function j() {
384
403
  })]
385
404
  })
386
405
  ]
387
- }), /* @__PURE__ */ O("div", {
406
+ }), /* @__PURE__ */ D("div", {
388
407
  className: "space-y-5",
389
408
  children: [
390
- /* @__PURE__ */ O("div", {
409
+ /* @__PURE__ */ D("div", {
391
410
  className: "bg-[var(--color-bg-surface)] border border-border-seam rounded-xl overflow-hidden shadow-[var(--shadow-pop)]",
392
- children: [/* @__PURE__ */ D("div", {
411
+ children: [/* @__PURE__ */ E("div", {
393
412
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
394
- children: /* @__PURE__ */ O("h2", {
413
+ children: /* @__PURE__ */ D("h2", {
395
414
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-2",
396
- children: [/* @__PURE__ */ D(ne, { size: 14 }), "Timeline"]
415
+ children: [/* @__PURE__ */ E(f, { size: 14 }), "Timeline"]
397
416
  })
398
- }), /* @__PURE__ */ O("div", {
417
+ }), /* @__PURE__ */ D("div", {
399
418
  className: "p-5 space-y-4",
400
419
  children: [
401
- /* @__PURE__ */ O("div", {
420
+ /* @__PURE__ */ D("div", {
402
421
  className: "flex items-start gap-3",
403
- children: [/* @__PURE__ */ D("div", { className: "size-2 rounded-full bg-accent-blue mt-1.5 flex-shrink-0" }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
422
+ children: [/* @__PURE__ */ E("div", { className: "size-2 rounded-full bg-accent-blue mt-1.5 flex-shrink-0" }), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
404
423
  className: "text-xs font-medium text-[var(--color-text-primary)]",
405
424
  children: "Submitted"
406
- }), /* @__PURE__ */ D("p", {
425
+ }), /* @__PURE__ */ E("p", {
407
426
  className: "text-[11px] text-[var(--color-text-secondary)]",
408
427
  children: A(X.createdAt)
409
428
  })] })]
410
429
  }),
411
- X.updatedAt !== X.createdAt && /* @__PURE__ */ O("div", {
430
+ X.updatedAt !== X.createdAt && /* @__PURE__ */ D("div", {
412
431
  className: "flex items-start gap-3",
413
- children: [/* @__PURE__ */ D("div", { className: "size-2 rounded-full bg-status-warning-bg mt-1.5 flex-shrink-0" }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
432
+ children: [/* @__PURE__ */ E("div", { className: "size-2 rounded-full bg-status-warning-bg mt-1.5 flex-shrink-0" }), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
414
433
  className: "text-xs font-medium text-[var(--color-text-primary)]",
415
434
  children: "Last Updated"
416
- }), /* @__PURE__ */ D("p", {
435
+ }), /* @__PURE__ */ E("p", {
417
436
  className: "text-[11px] text-[var(--color-text-secondary)]",
418
437
  children: A(X.updatedAt)
419
438
  })] })]
420
439
  }),
421
- X.convertedTicketId && /* @__PURE__ */ O("div", {
440
+ X.convertedTicketId && /* @__PURE__ */ D("div", {
422
441
  className: "flex items-start gap-3",
423
- children: [/* @__PURE__ */ D("div", { className: "size-2 rounded-full bg-status-success-bg mt-1.5 flex-shrink-0" }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
442
+ children: [/* @__PURE__ */ E("div", { className: "size-2 rounded-full bg-status-success-bg mt-1.5 flex-shrink-0" }), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
424
443
  className: "text-xs font-medium text-[var(--color-text-primary)]",
425
444
  children: "Converted to Ticket"
426
- }), /* @__PURE__ */ D("p", {
445
+ }), /* @__PURE__ */ E("p", {
427
446
  className: "text-[11px] font-mono text-[var(--color-text-secondary)]",
428
447
  children: X.convertedTicketId
429
448
  })] })]
@@ -431,106 +450,107 @@ function j() {
431
450
  ]
432
451
  })]
433
452
  }),
434
- /* @__PURE__ */ O("div", {
435
- className: "bg-[var(--color-bg-surface)] border border-border-seam rounded-xl overflow-hidden shadow-[var(--shadow-pop)]",
436
- children: [/* @__PURE__ */ D("div", {
437
- className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
438
- children: /* @__PURE__ */ O("h2", {
453
+ /* @__PURE__ */ D(O, {
454
+ "data-tour": "support-inquiry-reply",
455
+ className: "overflow-hidden p-0",
456
+ children: [/* @__PURE__ */ E("div", {
457
+ className: "px-5 py-3.5 border-b border-border-seam",
458
+ children: /* @__PURE__ */ D("h2", {
439
459
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider flex items-center gap-1.5",
440
- children: [/* @__PURE__ */ D(v, { size: 12 }), "Reply"]
460
+ children: [/* @__PURE__ */ E(v, { size: 12 }), "Reply"]
441
461
  })
442
- }), /* @__PURE__ */ O("div", {
462
+ }), /* @__PURE__ */ D("div", {
443
463
  className: "p-5",
444
464
  children: [
445
- I && /* @__PURE__ */ O("div", {
465
+ R && /* @__PURE__ */ D("div", {
446
466
  className: "mb-3 p-2.5 rounded-lg bg-status-success-bg-subtle border border-border-subtle text-sm text-status-success-text flex items-center gap-2",
447
- children: [/* @__PURE__ */ D(d, { size: 14 }), "Reply sent successfully!"]
467
+ children: [/* @__PURE__ */ E(p, { size: 14 }), "Reply sent successfully!"]
448
468
  }),
449
- /* @__PURE__ */ D("textarea", {
469
+ /* @__PURE__ */ E("textarea", {
450
470
  "aria-label": "Reply message",
451
- value: P,
452
- onChange: (e) => F(e.target.value),
471
+ value: I,
472
+ onChange: (e) => L(e.target.value),
453
473
  placeholder: "Type your reply... This will be sent as a branded email to the contact.",
454
474
  rows: 4,
455
- disabled: J,
475
+ disabled: Y,
456
476
  className: "w-full px-3 py-2.5 bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] rounded-lg text-sm text-[var(--color-text-primary)] placeholder:text-[var(--color-text-secondary)] focus:outline-none focus:ring-2 focus:ring-[var(--color-border-accent)]/50 disabled:opacity-50 resize-none transition-all"
457
477
  }),
458
- /* @__PURE__ */ O("button", {
478
+ /* @__PURE__ */ D("button", {
459
479
  type: "button",
460
- onClick: Y,
461
- disabled: J || !P.trim(),
480
+ onClick: pe,
481
+ disabled: Y || !I.trim(),
462
482
  className: "mt-2 min-h-11 w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-accent)] text-on-accent rounded-lg text-sm font-medium hover:opacity-90 transition-all disabled:opacity-50",
463
- children: [J ? /* @__PURE__ */ D(g, {
483
+ children: [Y ? /* @__PURE__ */ E(h, {
464
484
  size: 15,
465
485
  className: "animate-spin"
466
- }) : /* @__PURE__ */ D(v, { size: 15 }), "Send Reply"]
486
+ }) : /* @__PURE__ */ E(v, { size: 15 }), "Send Reply"]
467
487
  })
468
488
  ]
469
489
  })]
470
490
  }),
471
- /* @__PURE__ */ O("div", {
491
+ /* @__PURE__ */ D("div", {
472
492
  className: "bg-[var(--color-bg-surface)] border border-border-seam rounded-xl overflow-hidden shadow-[var(--shadow-pop)]",
473
- children: [/* @__PURE__ */ D("div", {
493
+ children: [/* @__PURE__ */ E("div", {
474
494
  className: "px-5 py-3.5 border-b border-[var(--color-border-default)] bg-[var(--color-bg-muted)]/50",
475
- children: /* @__PURE__ */ D("h2", {
495
+ children: /* @__PURE__ */ E("h2", {
476
496
  className: "text-xs font-semibold text-[var(--color-text-secondary)] uppercase tracking-wider",
477
497
  children: "Actions"
478
498
  })
479
- }), /* @__PURE__ */ O("div", {
499
+ }), /* @__PURE__ */ D("div", {
480
500
  className: "p-5 space-y-4",
481
- children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("label", {
501
+ children: [/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
482
502
  className: "block text-xs font-medium text-[var(--color-text-secondary)] mb-1.5",
483
503
  htmlFor: "contactinquirydetailpage-status-0",
484
504
  children: "Status"
485
- }), /* @__PURE__ */ O("select", {
505
+ }), /* @__PURE__ */ D("select", {
486
506
  id: "contactinquirydetailpage-status-0",
487
507
  value: X.status,
488
508
  onChange: (e) => Z(e.target.value),
489
- disabled: q,
509
+ disabled: J,
490
510
  className: "w-full px-3 py-2.5 bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] rounded-lg text-sm text-[var(--color-text-primary)] focus:outline-none focus:ring-2 focus:ring-[var(--color-border-accent)]/50 disabled:opacity-50 transition-all",
491
511
  children: [
492
- /* @__PURE__ */ D("option", {
512
+ /* @__PURE__ */ E("option", {
493
513
  value: "NEW",
494
514
  children: "New"
495
515
  }),
496
- /* @__PURE__ */ D("option", {
516
+ /* @__PURE__ */ E("option", {
497
517
  value: "REVIEWED",
498
518
  children: "Reviewed"
499
519
  }),
500
- /* @__PURE__ */ D("option", {
520
+ /* @__PURE__ */ E("option", {
501
521
  value: "CONVERTED",
502
522
  children: "Converted to Ticket"
503
523
  }),
504
- /* @__PURE__ */ D("option", {
524
+ /* @__PURE__ */ E("option", {
505
525
  value: "SPAM",
506
526
  children: "Spam"
507
527
  }),
508
- /* @__PURE__ */ D("option", {
528
+ /* @__PURE__ */ E("option", {
509
529
  value: "ARCHIVED",
510
530
  children: "Archived"
511
531
  })
512
532
  ]
513
- })] }), /* @__PURE__ */ O("div", {
533
+ })] }), /* @__PURE__ */ D("div", {
514
534
  className: "space-y-2",
515
535
  children: [
516
- X.status !== "CONVERTED" && /* @__PURE__ */ O("button", {
536
+ X.status !== "CONVERTED" && /* @__PURE__ */ D("button", {
517
537
  type: "button",
518
538
  onClick: () => Z("CONVERTED"),
519
- disabled: q,
539
+ disabled: J,
520
540
  className: "min-h-11 w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-accent)] text-on-accent rounded-lg text-sm font-medium hover:opacity-90 transition-all disabled:opacity-50",
521
- children: [/* @__PURE__ */ D(x, { size: 15 }), "Convert to Ticket"]
541
+ children: [/* @__PURE__ */ E(b, { size: 15 }), "Convert to Ticket"]
522
542
  }),
523
- /* @__PURE__ */ O("a", {
543
+ /* @__PURE__ */ D("a", {
524
544
  href: `mailto:${X.email}?subject=Re: ${encodeURIComponent(X.subject)}`,
525
545
  className: "min-h-11 w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] text-[var(--color-text-primary)] rounded-lg text-sm font-medium hover:bg-[var(--color-bg-muted)] transition-all",
526
- children: [/* @__PURE__ */ D(_, { size: 15 }), "Reply via Email"]
546
+ children: [/* @__PURE__ */ E(g, { size: 15 }), "Reply via Email"]
527
547
  }),
528
- X.status !== "ARCHIVED" && X.status !== "SPAM" && /* @__PURE__ */ O("button", {
548
+ X.status !== "ARCHIVED" && X.status !== "SPAM" && /* @__PURE__ */ D("button", {
529
549
  type: "button",
530
550
  onClick: () => Z("ARCHIVED"),
531
- disabled: q,
551
+ disabled: J,
532
552
  className: "min-h-11 w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 bg-[var(--color-bg-surface)] border border-[var(--color-border-default)] text-[var(--color-text-secondary)] rounded-lg text-sm font-medium hover:bg-[var(--color-bg-muted)] transition-all disabled:opacity-50",
533
- children: [/* @__PURE__ */ D(l, { size: 15 }), "Archive"]
553
+ children: [/* @__PURE__ */ E(l, { size: 15 }), "Archive"]
534
554
  })
535
555
  ]
536
556
  })]
@@ -543,6 +563,6 @@ function j() {
543
563
  });
544
564
  }
545
565
  //#endregion
546
- export { j as ContactInquiryDetailPage };
566
+ export { M as ContactInquiryDetailPage };
547
567
 
548
568
  //# sourceMappingURL=ContactInquiryDetailPage.js.map