@burdenoff/microfe-support 2026.625.2 → 2026.626.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 (34) hide show
  1. package/dist/support/components/ui.js +2 -2
  2. package/dist/support/pages/AnalyticsPage.js +144 -113
  3. package/dist/support/pages/AnalyticsPage.js.map +1 -1
  4. package/dist/support/pages/ArticleDetailAdminPage.js +150 -113
  5. package/dist/support/pages/ArticleDetailAdminPage.js.map +1 -1
  6. package/dist/support/pages/ArticleDetailUserPage.js +90 -83
  7. package/dist/support/pages/ArticleDetailUserPage.js.map +1 -1
  8. package/dist/support/pages/ContactInquiriesPage.js +48 -44
  9. package/dist/support/pages/ContactInquiriesPage.js.map +1 -1
  10. package/dist/support/pages/ContactInquiryDetailPage.js +225 -205
  11. package/dist/support/pages/ContactInquiryDetailPage.js.map +1 -1
  12. package/dist/support/pages/CreateArticlePage.js +50 -46
  13. package/dist/support/pages/CreateArticlePage.js.map +1 -1
  14. package/dist/support/pages/CreateTicketPage.js +122 -116
  15. package/dist/support/pages/CreateTicketPage.js.map +1 -1
  16. package/dist/support/pages/EditArticlePage.js +76 -80
  17. package/dist/support/pages/EditArticlePage.js.map +1 -1
  18. package/dist/support/pages/JobApplicationDetailPage.js +292 -269
  19. package/dist/support/pages/JobApplicationDetailPage.js.map +1 -1
  20. package/dist/support/pages/JobApplicationsPage.js +50 -46
  21. package/dist/support/pages/JobApplicationsPage.js.map +1 -1
  22. package/dist/support/pages/KnowledgeBaseAdminPage.js +84 -81
  23. package/dist/support/pages/KnowledgeBaseAdminPage.js.map +1 -1
  24. package/dist/support/pages/KnowledgeBaseUserPage.js +76 -75
  25. package/dist/support/pages/KnowledgeBaseUserPage.js.map +1 -1
  26. package/dist/support/pages/SettingsPage.js +215 -182
  27. package/dist/support/pages/SettingsPage.js.map +1 -1
  28. package/dist/support/pages/TicketDetailAdminPage.js +158 -128
  29. package/dist/support/pages/TicketDetailAdminPage.js.map +1 -1
  30. package/dist/support/pages/TicketDetailUserPage.js +174 -141
  31. package/dist/support/pages/TicketDetailUserPage.js.map +1 -1
  32. package/dist/support/pages/TicketListPage.js +171 -170
  33. package/dist/support/pages/TicketListPage.js.map +1 -1
  34. package/package.json +2 -2
@@ -1,90 +1,90 @@
1
1
  import { useSupport as e } from "../providers/SupportProvider.js";
2
- import { Badge as t, Button as n } from "../components/ui.js";
3
- import { EmptyState as r, LoadingState as i, PageLayout as a } from "../components/PageLayout.js";
4
- import { getCategoryBadgeClass as o } from "../utils/categoryColors.js";
5
- import { useKnowledgeBaseOperations as s } from "../hooks/useKnowledgeBaseOperations.js";
6
- import { purify as c } from "../../node_modules/dompurify/dist/purify.es.js";
7
- import { useEffect as l } from "react";
8
- import { ArrowLeft as u, Calendar as d, Eye as f, Tag as p, ThumbsDown as m, ThumbsUp as h, User as g } from "lucide-react";
9
- import { useNavigate as _, useParams as v } from "react-router-dom";
10
- import { jsx as y, jsxs as b } from "react/jsx-runtime";
2
+ import { Badge as t, Button as n, EmphasisPanel as r } from "../components/ui.js";
3
+ import { EmptyState as i, LoadingState as a, PageLayout as o } from "../components/PageLayout.js";
4
+ import { getCategoryBadgeClass as s } from "../utils/categoryColors.js";
5
+ import { useKnowledgeBaseOperations as c } from "../hooks/useKnowledgeBaseOperations.js";
6
+ import { purify as l } from "../../node_modules/dompurify/dist/purify.es.js";
7
+ import { useEffect as u } from "react";
8
+ import { ArrowLeft as d, Calendar as f, Eye as p, Tag as m, ThumbsDown as h, ThumbsUp as g, User as _ } from "lucide-react";
9
+ import { useNavigate as v, useParams as y } from "react-router-dom";
10
+ import { jsx as b, jsxs as x } from "react/jsx-runtime";
11
11
  //#region src/support/pages/ArticleDetailUserPage.tsx
12
- function x() {
13
- let { slug: x } = v(), S = _(), { basePath: C = "" } = e(), { articleDetail: w, articleLoading: T, articleError: E, voteArticle: D, recordView: O, ratingArticle: k } = s(x);
14
- l(() => {
15
- w?.id && O(w.id);
16
- }, [w?.id, O]);
17
- let A = async (e) => {
18
- if (w) try {
19
- await D(w.id, e);
12
+ function S() {
13
+ let { slug: S } = y(), C = v(), { basePath: w = "" } = e(), { articleDetail: T, articleLoading: E, articleError: D, voteArticle: O, recordView: k, ratingArticle: A } = c(S);
14
+ u(() => {
15
+ T?.id && k(T.id);
16
+ }, [T?.id, k]);
17
+ let j = async (e) => {
18
+ if (T) try {
19
+ await O(T.id, e);
20
20
  } catch (e) {
21
21
  console.error("Failed to vote:", e);
22
22
  }
23
23
  };
24
- return T ? /* @__PURE__ */ y(a, {
24
+ return E ? /* @__PURE__ */ b(o, {
25
25
  showHeader: !1,
26
- children: /* @__PURE__ */ y(i, { message: "Loading article..." })
27
- }) : E || !w ? /* @__PURE__ */ y(a, {
26
+ children: /* @__PURE__ */ b(a, { message: "Loading article..." })
27
+ }) : D || !T ? /* @__PURE__ */ b(o, {
28
28
  showHeader: !1,
29
- children: /* @__PURE__ */ y(r, {
29
+ children: /* @__PURE__ */ b(i, {
30
30
  illustration: "empty-search",
31
31
  title: "Article not found",
32
32
  description: "The article you're looking for doesn't exist or has been removed.",
33
- action: /* @__PURE__ */ b(n, {
34
- onClick: () => S(`${C}/kb`),
35
- children: [/* @__PURE__ */ y(u, { size: 18 }), "Back to Knowledge Base"]
33
+ action: /* @__PURE__ */ x(n, {
34
+ onClick: () => C(`${w}/kb`),
35
+ children: [/* @__PURE__ */ b(d, { size: 18 }), "Back to Knowledge Base"]
36
36
  })
37
37
  })
38
- }) : /* @__PURE__ */ b("div", {
38
+ }) : /* @__PURE__ */ x("div", {
39
39
  className: "flex flex-col h-full",
40
40
  children: [
41
- /* @__PURE__ */ b("div", {
41
+ /* @__PURE__ */ x("div", {
42
42
  className: "p-6 border-b border-border-subtle",
43
43
  children: [
44
- /* @__PURE__ */ y("div", {
44
+ /* @__PURE__ */ b("div", {
45
45
  className: "flex items-center justify-between mb-4",
46
- children: /* @__PURE__ */ b(n, {
46
+ children: /* @__PURE__ */ x(n, {
47
47
  variant: "ghost",
48
48
  size: "sm",
49
- onClick: () => S(`${C}/kb`),
50
- children: [/* @__PURE__ */ y(u, { size: 20 }), "Back to Knowledge Base"]
49
+ onClick: () => C(`${w}/kb`),
50
+ children: [/* @__PURE__ */ b(d, { size: 20 }), "Back to Knowledge Base"]
51
51
  })
52
52
  }),
53
- /* @__PURE__ */ y("div", {
53
+ /* @__PURE__ */ b("div", {
54
54
  className: "flex items-center gap-3 mb-3",
55
- children: w.category && /* @__PURE__ */ y(t, {
55
+ children: T.category && /* @__PURE__ */ b(t, {
56
56
  variant: "outline",
57
- className: o(w.category.color),
58
- children: w.category.name
57
+ className: s(T.category.color),
58
+ children: T.category.name
59
59
  })
60
60
  }),
61
- /* @__PURE__ */ y("h1", {
61
+ /* @__PURE__ */ b("h1", {
62
62
  className: "text-2xl font-bold mb-4 text-text-primary sm:text-3xl lg:text-4xl",
63
- children: w.title
63
+ children: T.title
64
64
  }),
65
- /* @__PURE__ */ b("div", {
65
+ /* @__PURE__ */ x("div", {
66
66
  className: "flex flex-wrap items-center gap-4 text-sm text-text-secondary",
67
67
  children: [
68
- w.author && /* @__PURE__ */ b("div", {
68
+ T.author && /* @__PURE__ */ x("div", {
69
69
  className: "flex items-center gap-2",
70
- children: [/* @__PURE__ */ y(g, { size: 16 }), /* @__PURE__ */ y("span", { children: w.author.name })]
70
+ children: [/* @__PURE__ */ b(_, { size: 16 }), /* @__PURE__ */ b("span", { children: T.author.name })]
71
71
  }),
72
- w.publishedAt && /* @__PURE__ */ b("div", {
72
+ T.publishedAt && /* @__PURE__ */ x("div", {
73
73
  className: "flex items-center gap-2",
74
- children: [/* @__PURE__ */ y(d, { size: 16 }), /* @__PURE__ */ y("span", { children: new Date(w.publishedAt).toLocaleDateString() })]
74
+ children: [/* @__PURE__ */ b(f, { size: 16 }), /* @__PURE__ */ b("span", { children: new Date(T.publishedAt).toLocaleDateString() })]
75
75
  }),
76
- /* @__PURE__ */ b("div", {
76
+ /* @__PURE__ */ x("div", {
77
77
  className: "flex items-center gap-2",
78
- children: [/* @__PURE__ */ y(f, { size: 16 }), /* @__PURE__ */ b("span", { children: [w.viewCount, " views"] })]
78
+ children: [/* @__PURE__ */ b(p, { size: 16 }), /* @__PURE__ */ x("span", { children: [T.viewCount, " views"] })]
79
79
  })
80
80
  ]
81
81
  }),
82
- w.tags && w.tags.length > 0 && /* @__PURE__ */ b("div", {
82
+ T.tags && T.tags.length > 0 && /* @__PURE__ */ x("div", {
83
83
  className: "flex flex-wrap items-center gap-2 mt-4",
84
- children: [/* @__PURE__ */ y(p, {
84
+ children: [/* @__PURE__ */ b(m, {
85
85
  size: 16,
86
86
  className: "text-text-secondary"
87
- }), w.tags.map((e) => /* @__PURE__ */ y(t, {
87
+ }), T.tags.map((e) => /* @__PURE__ */ b(t, {
88
88
  variant: "outline",
89
89
  className: "text-xs",
90
90
  children: e
@@ -92,55 +92,62 @@ function x() {
92
92
  })
93
93
  ]
94
94
  }),
95
- /* @__PURE__ */ y("div", {
95
+ /* @__PURE__ */ b("div", {
96
96
  className: "flex-1 overflow-y-auto p-6",
97
- children: /* @__PURE__ */ y("div", {
97
+ children: /* @__PURE__ */ b("div", {
98
98
  className: "max-w-4xl mx-auto",
99
- children: /* @__PURE__ */ y("div", {
99
+ children: /* @__PURE__ */ b("div", {
100
100
  className: "prose prose-lg max-w-none dark:prose-invert text-text-primary",
101
- dangerouslySetInnerHTML: { __html: c.sanitize(w.content) }
101
+ dangerouslySetInnerHTML: { __html: l.sanitize(T.content) }
102
102
  })
103
103
  })
104
104
  }),
105
- /* @__PURE__ */ y("div", {
105
+ /* @__PURE__ */ b("div", {
106
106
  className: "border-t border-border-subtle p-6 bg-bg-surface",
107
- children: /* @__PURE__ */ b("div", {
108
- className: "max-w-4xl mx-auto",
109
- children: [/* @__PURE__ */ y("h3", {
110
- className: "text-lg font-semibold mb-4 text-text-primary",
111
- children: "Was this article helpful?"
112
- }), /* @__PURE__ */ b("div", {
113
- className: "flex items-center gap-4",
114
- children: [/* @__PURE__ */ b(n, {
115
- variant: "outline",
116
- onClick: () => A(!0),
117
- disabled: k,
118
- className: "px-6",
119
- children: [
120
- /* @__PURE__ */ y(h, { size: 20 }),
121
- "Yes (",
122
- w.helpfulCount,
123
- ")"
124
- ]
125
- }), /* @__PURE__ */ b(n, {
126
- variant: "outline",
127
- onClick: () => A(!1),
128
- disabled: k,
129
- className: "px-6",
130
- children: [
131
- /* @__PURE__ */ y(m, { size: 20 }),
132
- "No (",
133
- w.notHelpfulCount,
134
- ")"
135
- ]
136
- })]
137
- })]
107
+ children: /* @__PURE__ */ x(r, {
108
+ className: "max-w-4xl mx-auto p-5",
109
+ children: [
110
+ /* @__PURE__ */ b("h3", {
111
+ className: "text-lg font-semibold mb-1 text-text-primary",
112
+ children: "Was this article helpful?"
113
+ }),
114
+ /* @__PURE__ */ b("p", {
115
+ className: "mb-4 text-sm text-text-secondary",
116
+ children: "Your feedback helps us improve our guides for everyone."
117
+ }),
118
+ /* @__PURE__ */ x("div", {
119
+ className: "flex items-center gap-4",
120
+ children: [/* @__PURE__ */ x(n, {
121
+ variant: "outline",
122
+ onClick: () => j(!0),
123
+ disabled: A,
124
+ className: "px-6",
125
+ children: [
126
+ /* @__PURE__ */ b(g, { size: 20 }),
127
+ "Yes (",
128
+ T.helpfulCount,
129
+ ")"
130
+ ]
131
+ }), /* @__PURE__ */ x(n, {
132
+ variant: "outline",
133
+ onClick: () => j(!1),
134
+ disabled: A,
135
+ className: "px-6",
136
+ children: [
137
+ /* @__PURE__ */ b(h, { size: 20 }),
138
+ "No (",
139
+ T.notHelpfulCount,
140
+ ")"
141
+ ]
142
+ })]
143
+ })
144
+ ]
138
145
  })
139
146
  })
140
147
  ]
141
148
  });
142
149
  }
143
150
  //#endregion
144
- export { x as ArticleDetailUserPage };
151
+ export { S as ArticleDetailUserPage };
145
152
 
146
153
  //# sourceMappingURL=ArticleDetailUserPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ArticleDetailUserPage.js","names":[],"sources":["../../../src/support/pages/ArticleDetailUserPage.tsx"],"sourcesContent":["import { useEffect } from 'react';\nimport { useParams, useNavigate } from 'react-router-dom';\nimport DOMPurify from 'dompurify';\nimport { ArrowLeft, ThumbsUp, ThumbsDown, Eye, Calendar, User, Tag } from 'lucide-react';\nimport { Button, Badge } from '../components/ui';\nimport { useKnowledgeBaseOperations } from '../hooks/useKnowledgeBaseOperations';\nimport { PageLayout, LoadingState, EmptyState } from '../components/PageLayout';\nimport { useSupport } from '../providers/SupportProvider';\nimport { getCategoryBadgeClass } from '../utils/categoryColors';\n\n/**\n * User-facing article detail page.\n *\n * Displays article content, metadata, tags, and voting feedback.\n * No admin controls (edit, publish, unpublish, archive, delete).\n */\nexport function ArticleDetailUserPage() {\n const { slug } = useParams<{ slug: string }>();\n const navigate = useNavigate();\n const { basePath = '' } = useSupport();\n const { articleDetail, articleLoading, articleError, voteArticle, recordView, ratingArticle } =\n useKnowledgeBaseOperations(slug);\n\n useEffect(() => {\n if (articleDetail?.id) {\n recordView(articleDetail.id);\n }\n }, [articleDetail?.id, recordView]);\n\n const handleVote = async (helpful: boolean) => {\n if (!articleDetail) return;\n try {\n await voteArticle(articleDetail.id, helpful);\n } catch (error) {\n console.error('Failed to vote:', error);\n }\n };\n\n if (articleLoading) {\n return (\n <PageLayout showHeader={false}>\n <LoadingState message=\"Loading article...\" />\n </PageLayout>\n );\n }\n\n if (articleError || !articleDetail) {\n return (\n <PageLayout showHeader={false}>\n <EmptyState\n illustration=\"empty-search\"\n title=\"Article not found\"\n description=\"The article you're looking for doesn't exist or has been removed.\"\n action={\n <Button onClick={() => navigate(`${basePath}/kb`)}>\n <ArrowLeft size={18} />\n Back to Knowledge Base\n </Button>\n }\n />\n </PageLayout>\n );\n }\n\n return (\n <div className=\"flex flex-col h-full\">\n {/* Header */}\n <div className=\"p-6 border-b border-border-subtle\">\n <div className=\"flex items-center justify-between mb-4\">\n <Button variant=\"ghost\" size=\"sm\" onClick={() => navigate(`${basePath}/kb`)}>\n <ArrowLeft size={20} />\n Back to Knowledge Base\n </Button>\n </div>\n\n <div className=\"flex items-center gap-3 mb-3\">\n {articleDetail.category && (\n <Badge\n variant=\"outline\"\n className={getCategoryBadgeClass(articleDetail.category.color)}\n >\n {articleDetail.category.name}\n </Badge>\n )}\n </div>\n\n <h1 className=\"text-2xl font-bold mb-4 text-text-primary sm:text-3xl lg:text-4xl\">\n {articleDetail.title}\n </h1>\n\n <div className=\"flex flex-wrap items-center gap-4 text-sm text-text-secondary\">\n {articleDetail.author && (\n <div className=\"flex items-center gap-2\">\n <User size={16} />\n <span>{articleDetail.author.name}</span>\n </div>\n )}\n {articleDetail.publishedAt && (\n <div className=\"flex items-center gap-2\">\n <Calendar size={16} />\n <span>{new Date(articleDetail.publishedAt).toLocaleDateString()}</span>\n </div>\n )}\n <div className=\"flex items-center gap-2\">\n <Eye size={16} />\n <span>{articleDetail.viewCount} views</span>\n </div>\n </div>\n\n {articleDetail.tags && articleDetail.tags.length > 0 && (\n <div className=\"flex flex-wrap items-center gap-2 mt-4\">\n <Tag size={16} className=\"text-text-secondary\" />\n {articleDetail.tags.map((tag: string) => (\n <Badge key={tag} variant=\"outline\" className=\"text-xs\">\n {tag}\n </Badge>\n ))}\n </div>\n )}\n </div>\n\n {/* Content */}\n <div className=\"flex-1 overflow-y-auto p-6\">\n <div className=\"max-w-4xl mx-auto\">\n <div\n className=\"prose prose-lg max-w-none dark:prose-invert text-text-primary\"\n dangerouslySetInnerHTML={{ __html: DOMPurify.sanitize(articleDetail.content) }}\n />\n </div>\n </div>\n\n {/* Feedback */}\n <div className=\"border-t border-border-subtle p-6 bg-bg-surface\">\n <div className=\"max-w-4xl mx-auto\">\n <h3 className=\"text-lg font-semibold mb-4 text-text-primary\">\n Was this article helpful?\n </h3>\n <div className=\"flex items-center gap-4\">\n <Button\n variant=\"outline\"\n onClick={() => handleVote(true)}\n disabled={ratingArticle}\n className=\"px-6\"\n >\n <ThumbsUp size={20} />\n Yes ({articleDetail.helpfulCount})\n </Button>\n <Button\n variant=\"outline\"\n onClick={() => handleVote(false)}\n disabled={ratingArticle}\n className=\"px-6\"\n >\n <ThumbsDown size={20} />\n No ({articleDetail.notHelpfulCount})\n </Button>\n </div>\n </div>\n </div>\n </div>\n );\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"ArticleDetailUserPage.js","names":[],"sources":["../../../src/support/pages/ArticleDetailUserPage.tsx"],"sourcesContent":["import { useEffect } from 'react';\nimport { useParams, useNavigate } from 'react-router-dom';\nimport DOMPurify from 'dompurify';\nimport { ArrowLeft, ThumbsUp, ThumbsDown, Eye, Calendar, User, Tag } from 'lucide-react';\nimport { Button, Badge, EmphasisPanel } from '../components/ui';\nimport { useKnowledgeBaseOperations } from '../hooks/useKnowledgeBaseOperations';\nimport { PageLayout, LoadingState, EmptyState } from '../components/PageLayout';\nimport { useSupport } from '../providers/SupportProvider';\nimport { getCategoryBadgeClass } from '../utils/categoryColors';\n\n/**\n * User-facing article detail page.\n *\n * Displays article content, metadata, tags, and voting feedback.\n * No admin controls (edit, publish, unpublish, archive, delete).\n */\nexport function ArticleDetailUserPage() {\n const { slug } = useParams<{ slug: string }>();\n const navigate = useNavigate();\n const { basePath = '' } = useSupport();\n const { articleDetail, articleLoading, articleError, voteArticle, recordView, ratingArticle } =\n useKnowledgeBaseOperations(slug);\n\n useEffect(() => {\n if (articleDetail?.id) {\n recordView(articleDetail.id);\n }\n }, [articleDetail?.id, recordView]);\n\n const handleVote = async (helpful: boolean) => {\n if (!articleDetail) return;\n try {\n await voteArticle(articleDetail.id, helpful);\n } catch (error) {\n console.error('Failed to vote:', error);\n }\n };\n\n if (articleLoading) {\n return (\n <PageLayout showHeader={false}>\n <LoadingState message=\"Loading article...\" />\n </PageLayout>\n );\n }\n\n if (articleError || !articleDetail) {\n return (\n <PageLayout showHeader={false}>\n <EmptyState\n illustration=\"empty-search\"\n title=\"Article not found\"\n description=\"The article you're looking for doesn't exist or has been removed.\"\n action={\n <Button onClick={() => navigate(`${basePath}/kb`)}>\n <ArrowLeft size={18} />\n Back to Knowledge Base\n </Button>\n }\n />\n </PageLayout>\n );\n }\n\n return (\n <div className=\"flex flex-col h-full\">\n {/* Header */}\n <div className=\"p-6 border-b border-border-subtle\">\n <div className=\"flex items-center justify-between mb-4\">\n <Button variant=\"ghost\" size=\"sm\" onClick={() => navigate(`${basePath}/kb`)}>\n <ArrowLeft size={20} />\n Back to Knowledge Base\n </Button>\n </div>\n\n <div className=\"flex items-center gap-3 mb-3\">\n {articleDetail.category && (\n <Badge\n variant=\"outline\"\n className={getCategoryBadgeClass(articleDetail.category.color)}\n >\n {articleDetail.category.name}\n </Badge>\n )}\n </div>\n\n <h1 className=\"text-2xl font-bold mb-4 text-text-primary sm:text-3xl lg:text-4xl\">\n {articleDetail.title}\n </h1>\n\n <div className=\"flex flex-wrap items-center gap-4 text-sm text-text-secondary\">\n {articleDetail.author && (\n <div className=\"flex items-center gap-2\">\n <User size={16} />\n <span>{articleDetail.author.name}</span>\n </div>\n )}\n {articleDetail.publishedAt && (\n <div className=\"flex items-center gap-2\">\n <Calendar size={16} />\n <span>{new Date(articleDetail.publishedAt).toLocaleDateString()}</span>\n </div>\n )}\n <div className=\"flex items-center gap-2\">\n <Eye size={16} />\n <span>{articleDetail.viewCount} views</span>\n </div>\n </div>\n\n {articleDetail.tags && articleDetail.tags.length > 0 && (\n <div className=\"flex flex-wrap items-center gap-2 mt-4\">\n <Tag size={16} className=\"text-text-secondary\" />\n {articleDetail.tags.map((tag: string) => (\n <Badge key={tag} variant=\"outline\" className=\"text-xs\">\n {tag}\n </Badge>\n ))}\n </div>\n )}\n </div>\n\n {/* Content */}\n <div className=\"flex-1 overflow-y-auto p-6\">\n <div className=\"max-w-4xl mx-auto\">\n <div\n className=\"prose prose-lg max-w-none dark:prose-invert text-text-primary\"\n dangerouslySetInnerHTML={{ __html: DOMPurify.sanitize(articleDetail.content) }}\n />\n </div>\n </div>\n\n {/* Feedback — the page's single emphasis zone, inviting the reader to act */}\n <div className=\"border-t border-border-subtle p-6 bg-bg-surface\">\n <EmphasisPanel className=\"max-w-4xl mx-auto p-5\">\n <h3 className=\"text-lg font-semibold mb-1 text-text-primary\">\n Was this article helpful?\n </h3>\n <p className=\"mb-4 text-sm text-text-secondary\">\n Your feedback helps us improve our guides for everyone.\n </p>\n <div className=\"flex items-center gap-4\">\n <Button\n variant=\"outline\"\n onClick={() => handleVote(true)}\n disabled={ratingArticle}\n className=\"px-6\"\n >\n <ThumbsUp size={20} />\n Yes ({articleDetail.helpfulCount})\n </Button>\n <Button\n variant=\"outline\"\n onClick={() => handleVote(false)}\n disabled={ratingArticle}\n className=\"px-6\"\n >\n <ThumbsDown size={20} />\n No ({articleDetail.notHelpfulCount})\n </Button>\n </div>\n </EmphasisPanel>\n </div>\n </div>\n );\n}\n"],"mappings":"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"}
@@ -5,22 +5,22 @@ import { AlertCircle as a, ChevronDown as o, Filter as s, Loader2 as c, Mail as
5
5
  import { useLocation as d, useNavigate as f } from "react-router-dom";
6
6
  import { graphqlFetch as p } from "@burdenoff/fe-libs/shared/graphql/fetch";
7
7
  import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
8
- import { IllustratedEmptyState as _ } from "@burdenoff/fe-libs/ui";
8
+ import { IllustratedEmptyState as _, PagePurpose as v } from "@burdenoff/fe-libs/ui";
9
9
  //#region src/support/pages/ContactInquiriesPage.tsx
10
- var v = {
10
+ var y = {
11
11
  NEW: "bg-status-info-bg-subtle text-status-info-text",
12
12
  REVIEWED: "bg-status-warning-bg-subtle text-status-warning-text",
13
13
  CONVERTED: "bg-status-success-bg-subtle text-status-success-text",
14
14
  SPAM: "bg-status-error-bg-subtle text-status-error-text",
15
15
  ARCHIVED: "bg-bg-sunken text-text-secondary"
16
- }, y = {
16
+ }, b = {
17
17
  NEW: "New",
18
18
  REVIEWED: "Reviewed",
19
19
  CONVERTED: "Converted",
20
20
  SPAM: "Spam",
21
21
  ARCHIVED: "Archived"
22
22
  };
23
- function b(e) {
23
+ function x(e) {
24
24
  return new Date(e).toLocaleDateString("en-US", {
25
25
  month: "short",
26
26
  day: "numeric",
@@ -29,21 +29,21 @@ function b(e) {
29
29
  minute: "2-digit"
30
30
  });
31
31
  }
32
- function x() {
33
- let x = f(), S = d().search, [C, w] = i(""), [T, E] = i(""), [D, O] = i(""), [k, A] = i(!1), [j, M] = i({}), N = r(j);
34
- N.current = j;
35
- let P = {};
36
- C && (P.search = C), T && (P.status = T), D && (P.productId = D);
37
- let { data: F, loading: I, error: L, fetchMore: R } = t({
32
+ function S() {
33
+ let S = f(), C = d().search, [w, T] = i(""), [E, D] = i(""), [O, k] = i(""), [A, j] = i(!1), [M, N] = i({}), P = r(M);
34
+ P.current = M;
35
+ let F = {};
36
+ w && (F.search = w), E && (F.status = E), O && (F.productId = O);
37
+ let { data: I, loading: L, error: R, fetchMore: z } = t({
38
38
  variables: {
39
- filter: P,
39
+ filter: F,
40
40
  limit: 50,
41
41
  offset: 0
42
42
  },
43
43
  fetchPolicy: "cache-and-network"
44
- }), z = F?.contactInquiries?.items ?? [], B = F?.contactInquiries?.total ?? 0, V = F?.contactInquiries?.hasMore ?? !1, H = Array.from(new Set(z.flatMap((e) => e.productId ? [e.productId] : []))).sort(), U = H.join(",");
44
+ }), B = I?.contactInquiries?.items ?? [], V = I?.contactInquiries?.total ?? 0, H = I?.contactInquiries?.hasMore ?? !1, U = Array.from(new Set(B.flatMap((e) => e.productId ? [e.productId] : []))).sort(), W = U.join(",");
45
45
  return n(() => {
46
- let e = U ? U.split(",").filter((e) => !N.current[e]) : [];
46
+ let e = W ? W.split(",").filter((e) => !P.current[e]) : [];
47
47
  e.length !== 0 && e.forEach((e) => {
48
48
  p({
49
49
  gateway: "global",
@@ -51,13 +51,13 @@ function x() {
51
51
  variables: { id: e }
52
52
  }).then((t) => {
53
53
  let n = t.data?.platformProduct?.name;
54
- n && M((t) => ({
54
+ n && N((t) => ({
55
55
  ...t,
56
56
  [e]: n
57
57
  }));
58
58
  }).catch(() => {});
59
59
  });
60
- }, [U]), I && z.length === 0 ? /* @__PURE__ */ g("div", {
60
+ }, [W]), L && B.length === 0 ? /* @__PURE__ */ g("div", {
61
61
  className: "p-3 sm:p-6",
62
62
  children: [/* @__PURE__ */ g("div", {
63
63
  className: "flex items-center gap-3 mb-6",
@@ -78,7 +78,7 @@ function x() {
78
78
  children: "Loading inquiries…"
79
79
  })]
80
80
  })]
81
- }) : L ? /* @__PURE__ */ g("div", {
81
+ }) : R ? /* @__PURE__ */ g("div", {
82
82
  className: "p-3 sm:p-6",
83
83
  children: [/* @__PURE__ */ g("div", {
84
84
  className: "flex items-center gap-3 mb-6",
@@ -102,7 +102,7 @@ function x() {
102
102
  }),
103
103
  /* @__PURE__ */ h("p", {
104
104
  className: "text-sm text-text-secondary",
105
- children: L.message
105
+ children: R.message
106
106
  })
107
107
  ]
108
108
  })]
@@ -127,11 +127,15 @@ function x() {
127
127
  })] }),
128
128
  /* @__PURE__ */ h("span", {
129
129
  className: "ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-bg-sunken text-text-secondary",
130
- children: B
130
+ children: V
131
131
  })
132
132
  ]
133
133
  })
134
134
  }),
135
+ /* @__PURE__ */ h(v, {
136
+ className: "mb-6",
137
+ children: "Every message sent through your product websites' contact forms lands here. Triage sales and support leads, mark spam, and convert genuine inquiries into tickets so nothing from a prospective customer slips through the cracks. Open an inquiry to read it in full and take action."
138
+ }),
135
139
  /* @__PURE__ */ g("div", {
136
140
  className: "flex flex-col sm:flex-row gap-3 mb-6",
137
141
  children: [/* @__PURE__ */ g("div", {
@@ -143,25 +147,25 @@ function x() {
143
147
  type: "text",
144
148
  "aria-label": "Search inquiries",
145
149
  placeholder: "Search by name, email, or subject...",
146
- value: C,
147
- onChange: (e) => w(e.target.value),
150
+ value: w,
151
+ onChange: (e) => T(e.target.value),
148
152
  className: "w-full pl-9 pr-4 py-2 bg-surface border border-default rounded-lg text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-accent/50"
149
153
  })]
150
154
  }), /* @__PURE__ */ g("button", {
151
155
  type: "button",
152
- onClick: () => A(!k),
156
+ onClick: () => j(!A),
153
157
  className: "min-h-11 inline-flex items-center justify-center gap-2 px-4 py-2 bg-surface border border-default rounded-lg text-sm text-text-secondary hover:text-text-primary hover:bg-bg-sunken transition-colors",
154
158
  children: [
155
159
  /* @__PURE__ */ h(s, { size: 16 }),
156
160
  "Filters",
157
161
  /* @__PURE__ */ h(o, {
158
162
  size: 14,
159
- className: k ? "rotate-180 transition-transform" : "transition-transform"
163
+ className: A ? "rotate-180 transition-transform" : "transition-transform"
160
164
  })
161
165
  ]
162
166
  })]
163
167
  }),
164
- k && /* @__PURE__ */ h("div", {
168
+ A && /* @__PURE__ */ h("div", {
165
169
  className: "mb-6 p-4 bg-bg-surface border border-border-seam rounded-lg",
166
170
  children: /* @__PURE__ */ g("div", {
167
171
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
@@ -171,8 +175,8 @@ function x() {
171
175
  children: "Status"
172
176
  }), /* @__PURE__ */ g("select", {
173
177
  id: "contactinquiriespage-status-0",
174
- value: T,
175
- onChange: (e) => E(e.target.value),
178
+ value: E,
179
+ onChange: (e) => D(e.target.value),
176
180
  className: "min-h-11 w-full px-3 py-2 bg-surface border border-default rounded-lg text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-accent/50",
177
181
  children: [
178
182
  /* @__PURE__ */ h("option", {
@@ -206,28 +210,28 @@ function x() {
206
210
  children: "Product"
207
211
  }), /* @__PURE__ */ g("select", {
208
212
  id: "contactinquiriespage-product-2",
209
- value: D,
210
- onChange: (e) => O(e.target.value),
213
+ value: O,
214
+ onChange: (e) => k(e.target.value),
211
215
  className: "min-h-11 w-full px-3 py-2 bg-surface border border-default rounded-lg text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-accent/50",
212
216
  children: [/* @__PURE__ */ h("option", {
213
217
  value: "",
214
218
  children: "All products"
215
- }), H.map((e) => /* @__PURE__ */ h("option", {
219
+ }), U.map((e) => /* @__PURE__ */ h("option", {
216
220
  value: e,
217
- children: j[e] || e
221
+ children: M[e] || e
218
222
  }, e))]
219
223
  })] })]
220
224
  })
221
225
  }),
222
- z.length === 0 ? /* @__PURE__ */ h(_, {
226
+ B.length === 0 ? /* @__PURE__ */ h(_, {
223
227
  illustration: "empty-notifications",
224
228
  title: "No inquiries yet",
225
229
  description: "Contact form submissions from your product websites will appear here."
226
230
  }) : /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h("div", {
227
231
  className: "space-y-3",
228
- children: z.map((t) => /* @__PURE__ */ h("button", {
232
+ children: B.map((t) => /* @__PURE__ */ h("button", {
229
233
  type: "button",
230
- onClick: () => x(`/support/inquiries/${t.id}${S}`),
234
+ onClick: () => S(`/support/inquiries/${t.id}${C}`),
231
235
  className: "w-full text-left p-4 bg-bg-surface border border-border-seam rounded-lg shadow-[var(--shadow-pop)] hover:border-border-strong hover:shadow-[var(--shadow-pop-hover)] transition-[box-shadow,border-color] duration-200 group",
232
236
  children: /* @__PURE__ */ g("div", {
233
237
  className: "flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",
@@ -242,13 +246,13 @@ function x() {
242
246
  children: t.subject
243
247
  }),
244
248
  /* @__PURE__ */ h("span", {
245
- className: `inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium ${v[t.status] || v.NEW} ${t.status === "NEW" ? "motion-safe:animate-vc-glow-pulse" : ""}`,
246
- children: y[t.status] || t.status
249
+ className: `inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium ${y[t.status] || y.NEW} ${t.status === "NEW" ? "motion-safe:animate-vc-glow-pulse" : ""}`,
250
+ children: b[t.status] || t.status
247
251
  }),
248
- t.productId && j[t.productId] && /* @__PURE__ */ h("span", {
252
+ t.productId && M[t.productId] && /* @__PURE__ */ h("span", {
249
253
  className: "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-accent-purple-subtle text-accent-purple",
250
- title: `Product: ${j[t.productId]}`,
251
- children: j[t.productId]
254
+ title: `Product: ${M[t.productId]}`,
255
+ children: M[t.productId]
252
256
  }),
253
257
  t.category && /* @__PURE__ */ h("span", {
254
258
  className: "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-accent-blue-subtle text-accent-blue",
@@ -281,26 +285,26 @@ function x() {
281
285
  ]
282
286
  }), /* @__PURE__ */ h("div", {
283
287
  className: "text-xs text-text-secondary sm:whitespace-nowrap",
284
- children: b(t.createdAt)
288
+ children: x(t.createdAt)
285
289
  })]
286
290
  })
287
291
  }, t.id))
288
- }), V && /* @__PURE__ */ h("div", {
292
+ }), H && /* @__PURE__ */ h("div", {
289
293
  className: "flex justify-center mt-6",
290
294
  children: /* @__PURE__ */ g("button", {
291
295
  type: "button",
292
296
  onClick: () => {
293
- V && R({
294
- variables: { offset: z.length },
297
+ H && z({
298
+ variables: { offset: B.length },
295
299
  updateQuery: (e, { fetchMoreResult: t }) => t ? { contactInquiries: {
296
300
  ...t.contactInquiries,
297
301
  items: [...e.contactInquiries?.items ?? [], ...t.contactInquiries?.items ?? []]
298
302
  } } : e
299
303
  });
300
304
  },
301
- disabled: I,
305
+ disabled: L,
302
306
  className: "min-h-11 inline-flex items-center justify-center gap-2 px-6 py-2 bg-surface border border-default rounded-lg text-sm text-text-secondary hover:text-text-primary hover:bg-bg-sunken transition-colors disabled:opacity-50",
303
- children: [I ? /* @__PURE__ */ h(c, {
307
+ children: [L ? /* @__PURE__ */ h(c, {
304
308
  size: 14,
305
309
  className: "animate-spin"
306
310
  }) : null, "Load more"]
@@ -310,6 +314,6 @@ function x() {
310
314
  });
311
315
  }
312
316
  //#endregion
313
- export { x as ContactInquiriesPage };
317
+ export { S as ContactInquiriesPage };
314
318
 
315
319
  //# sourceMappingURL=ContactInquiriesPage.js.map