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