@burdenoff/microfe-support 2026.1114.1 → 2026.1118.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 (206) hide show
  1. package/dist/generated/global-operations.d.ts +62 -0
  2. package/dist/generated/global-operations.js +104 -69
  3. package/dist/generated/global-operations.js.map +1 -1
  4. package/dist/generated/global-types.js +17 -15
  5. package/dist/generated/global-types.js.map +1 -1
  6. package/dist/support/SupportUserRoot.js +32 -28
  7. package/dist/support/SupportUserRoot.js.map +1 -1
  8. package/dist/support/SupportUserRoutes.d.ts +1 -0
  9. package/dist/support/SupportUserRoutes.js +31 -28
  10. package/dist/support/SupportUserRoutes.js.map +1 -1
  11. package/dist/support/components/PageLayout.js +35 -35
  12. package/dist/support/components/RouteHelpers.d.ts +2 -1
  13. package/dist/support/components/RouteHelpers.js +3 -3
  14. package/dist/support/components/RouteHelpers.js.map +1 -1
  15. package/dist/support/components/careers/RichTextEditor.js +31 -31
  16. package/dist/support/components/careers/RichTextEditor.js.map +1 -1
  17. package/dist/support/components/help/RelatedArticles.d.ts +12 -0
  18. package/dist/support/components/help/RelatedArticles.js +55 -0
  19. package/dist/support/components/help/RelatedArticles.js.map +1 -0
  20. package/dist/support/components/help/RequestDetailHeader.d.ts +18 -0
  21. package/dist/support/components/help/RequestDetailHeader.js +129 -0
  22. package/dist/support/components/help/RequestDetailHeader.js.map +1 -0
  23. package/dist/support/components/help/SatisfactionReview.d.ts +18 -0
  24. package/dist/support/components/help/SatisfactionReview.js +103 -0
  25. package/dist/support/components/help/SatisfactionReview.js.map +1 -0
  26. package/dist/support/components/help/StarRating.d.ts +16 -0
  27. package/dist/support/components/help/StarRating.js +63 -0
  28. package/dist/support/components/help/StarRating.js.map +1 -0
  29. package/dist/support/components/help/StatusGroupPill.d.ts +11 -0
  30. package/dist/support/components/help/StatusGroupPill.js +19 -0
  31. package/dist/support/components/help/StatusGroupPill.js.map +1 -0
  32. package/dist/support/components/settings/TicketCategoriesSettings.js +69 -69
  33. package/dist/support/components/settings/TicketCategoriesSettings.js.map +1 -1
  34. package/dist/support/components/tickets/MessageComposer.js +7 -7
  35. package/dist/support/components/tickets/MessageComposer.js.map +1 -1
  36. package/dist/support/components/tickets/TicketDetailHeader.js +54 -60
  37. package/dist/support/components/tickets/TicketDetailHeader.js.map +1 -1
  38. package/dist/support/components/ui.js +1 -1
  39. package/dist/support/constants.d.ts +23 -0
  40. package/dist/support/constants.js +2 -2
  41. package/dist/support/constants.js.map +1 -1
  42. package/dist/support/hooks/useDebouncedValue.d.ts +6 -0
  43. package/dist/support/hooks/useDebouncedValue.js +12 -0
  44. package/dist/support/hooks/useDebouncedValue.js.map +1 -0
  45. package/dist/support/hooks/useKnowledgeBaseOperations.d.ts +8 -1
  46. package/dist/support/hooks/useKnowledgeBaseOperations.js +86 -81
  47. package/dist/support/hooks/useKnowledgeBaseOperations.js.map +1 -1
  48. package/dist/support/hooks/useSupportVariant.d.ts +11 -0
  49. package/dist/support/hooks/useSupportVariant.js +11 -0
  50. package/dist/support/hooks/useSupportVariant.js.map +1 -0
  51. package/dist/support/hooks/useTicketCreatedToast.d.ts +16 -0
  52. package/dist/support/hooks/useTicketCreatedToast.js +25 -0
  53. package/dist/support/hooks/useTicketCreatedToast.js.map +1 -0
  54. package/dist/support/hooks/useTicketLabels.d.ts +22 -0
  55. package/dist/support/hooks/useTicketLabels.js +40 -0
  56. package/dist/support/hooks/useTicketLabels.js.map +1 -0
  57. package/dist/support/index.d.ts +1 -1
  58. package/dist/support/pages/ArticleDetailAdminPage.js +84 -84
  59. package/dist/support/pages/ArticleDetailAdminPage.js.map +1 -1
  60. package/dist/support/pages/ArticleDetailUserPage.d.ts +5 -0
  61. package/dist/support/pages/ArticleDetailUserPage.js +133 -69
  62. package/dist/support/pages/ArticleDetailUserPage.js.map +1 -1
  63. package/dist/support/pages/AskForHelpPage.d.ts +11 -0
  64. package/dist/support/pages/AskForHelpPage.js +396 -0
  65. package/dist/support/pages/AskForHelpPage.js.map +1 -0
  66. package/dist/support/pages/ContactInquiriesPage.js +73 -73
  67. package/dist/support/pages/ContactInquiryDetailPage.js +47 -47
  68. package/dist/support/pages/ContactInquiryDetailPage.js.map +1 -1
  69. package/dist/support/pages/CreateTicketPage.d.ts +4 -0
  70. package/dist/support/pages/CreateTicketPage.js +121 -117
  71. package/dist/support/pages/CreateTicketPage.js.map +1 -1
  72. package/dist/support/pages/HelpHubPage.d.ts +9 -0
  73. package/dist/support/pages/HelpHubPage.js +272 -0
  74. package/dist/support/pages/HelpHubPage.js.map +1 -0
  75. package/dist/support/pages/JobApplicationDetailPage.js +388 -388
  76. package/dist/support/pages/JobApplicationDetailPage.js.map +1 -1
  77. package/dist/support/pages/JobApplicationsPage.js +35 -35
  78. package/dist/support/pages/JobPostingDetailPage.js +236 -236
  79. package/dist/support/pages/JobPostingDetailPage.js.map +1 -1
  80. package/dist/support/pages/KnowledgeBaseUserPage.d.ts +6 -1
  81. package/dist/support/pages/KnowledgeBaseUserPage.js +188 -137
  82. package/dist/support/pages/KnowledgeBaseUserPage.js.map +1 -1
  83. package/dist/support/pages/MyRequestsPage.d.ts +16 -0
  84. package/dist/support/pages/MyRequestsPage.js +389 -0
  85. package/dist/support/pages/MyRequestsPage.js.map +1 -0
  86. package/dist/support/pages/TicketDetailUserPage.d.ts +5 -0
  87. package/dist/support/pages/TicketDetailUserPage.js +285 -192
  88. package/dist/support/pages/TicketDetailUserPage.js.map +1 -1
  89. package/dist/support/pages/TicketListPage.d.ts +7 -0
  90. package/dist/support/pages/TicketListPage.js +150 -153
  91. package/dist/support/pages/TicketListPage.js.map +1 -1
  92. package/dist/support/providers/SupportProvider.js +8 -7
  93. package/dist/support/providers/SupportProvider.js.map +1 -1
  94. package/dist/support/store/supportStore.d.ts +5 -0
  95. package/dist/support/store/supportStore.js +1 -0
  96. package/dist/support/store/supportStore.js.map +1 -1
  97. package/dist/support/translations/en.d.ts +279 -0
  98. package/dist/support/translations/en.js +270 -1
  99. package/dist/support/translations/en.js.map +1 -1
  100. package/dist/support/types/index.d.ts +13 -0
  101. package/dist/support/utils/cameFrom.d.ts +16 -0
  102. package/dist/support/utils/cameFrom.js +22 -0
  103. package/dist/support/utils/cameFrom.js.map +1 -0
  104. package/dist/support/utils/dates.d.ts +15 -0
  105. package/dist/support/utils/dates.js +35 -0
  106. package/dist/support/utils/dates.js.map +1 -0
  107. package/dist/support/utils/reopen.d.ts +27 -0
  108. package/dist/support/utils/reopen.js +27 -0
  109. package/dist/support/utils/reopen.js.map +1 -0
  110. package/dist/support/utils/requestTechnicalDetails.d.ts +13 -0
  111. package/dist/support/utils/requestTechnicalDetails.js +38 -0
  112. package/dist/support/utils/requestTechnicalDetails.js.map +1 -0
  113. package/dist/support/utils/ticketFilters.d.ts +16 -0
  114. package/dist/support/utils/ticketFilters.js +24 -12
  115. package/dist/support/utils/ticketFilters.js.map +1 -1
  116. package/dist/support/utils/ticketStatusGroups.d.ts +20 -0
  117. package/dist/support/utils/ticketStatusGroups.js +39 -0
  118. package/dist/support/utils/ticketStatusGroups.js.map +1 -0
  119. package/package.json +2 -2
  120. package/dist/_virtual/_rolldown/runtime.js +0 -6
  121. package/dist/node_modules/@tiptap/core/dist/index.js +0 -3491
  122. package/dist/node_modules/@tiptap/core/dist/index.js.map +0 -1
  123. package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +0 -44
  124. package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js.map +0 -1
  125. package/dist/node_modules/@tiptap/core/dist/rolldown-runtime-D7D4PA-g.js +0 -12
  126. package/dist/node_modules/@tiptap/core/dist/rolldown-runtime-D7D4PA-g.js.map +0 -1
  127. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -75
  128. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js.map +0 -1
  129. package/dist/node_modules/@tiptap/extension-bold/dist/index.js +0 -73
  130. package/dist/node_modules/@tiptap/extension-bold/dist/index.js.map +0 -1
  131. package/dist/node_modules/@tiptap/extension-code/dist/index.js +0 -78
  132. package/dist/node_modules/@tiptap/extension-code/dist/index.js.map +0 -1
  133. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +0 -157
  134. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js.map +0 -1
  135. package/dist/node_modules/@tiptap/extension-document/dist/index.js +0 -11
  136. package/dist/node_modules/@tiptap/extension-document/dist/index.js.map +0 -1
  137. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -50
  138. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js.map +0 -1
  139. package/dist/node_modules/@tiptap/extension-heading/dist/index.js +0 -70
  140. package/dist/node_modules/@tiptap/extension-heading/dist/index.js.map +0 -1
  141. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -49
  142. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js.map +0 -1
  143. package/dist/node_modules/@tiptap/extension-italic/dist/index.js +0 -70
  144. package/dist/node_modules/@tiptap/extension-italic/dist/index.js.map +0 -1
  145. package/dist/node_modules/@tiptap/extension-link/dist/index.js +0 -389
  146. package/dist/node_modules/@tiptap/extension-link/dist/index.js.map +0 -1
  147. package/dist/node_modules/@tiptap/extension-list/dist/index.js +0 -967
  148. package/dist/node_modules/@tiptap/extension-list/dist/index.js.map +0 -1
  149. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -46
  150. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js.map +0 -1
  151. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +0 -6
  152. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js.map +0 -1
  153. package/dist/node_modules/@tiptap/extension-strike/dist/index.js +0 -55
  154. package/dist/node_modules/@tiptap/extension-strike/dist/index.js.map +0 -1
  155. package/dist/node_modules/@tiptap/extension-text/dist/index.js +0 -14
  156. package/dist/node_modules/@tiptap/extension-text/dist/index.js.map +0 -1
  157. package/dist/node_modules/@tiptap/extension-underline/dist/index.js +0 -72
  158. package/dist/node_modules/@tiptap/extension-underline/dist/index.js.map +0 -1
  159. package/dist/node_modules/@tiptap/extensions/dist/index.js +0 -457
  160. package/dist/node_modules/@tiptap/extensions/dist/index.js.map +0 -1
  161. package/dist/node_modules/@tiptap/react/dist/index.js +0 -332
  162. package/dist/node_modules/@tiptap/react/dist/index.js.map +0 -1
  163. package/dist/node_modules/@tiptap/starter-kit/dist/index.js +0 -28
  164. package/dist/node_modules/@tiptap/starter-kit/dist/index.js.map +0 -1
  165. package/dist/node_modules/fast-equals/dist/es/index.js +0 -298
  166. package/dist/node_modules/fast-equals/dist/es/index.js.map +0 -1
  167. package/dist/node_modules/linkifyjs/dist/linkify.js +0 -527
  168. package/dist/node_modules/linkifyjs/dist/linkify.js.map +0 -1
  169. package/dist/node_modules/orderedmap/dist/index.js +0 -68
  170. package/dist/node_modules/orderedmap/dist/index.js.map +0 -1
  171. package/dist/node_modules/prosemirror-commands/dist/index.js +0 -334
  172. package/dist/node_modules/prosemirror-commands/dist/index.js.map +0 -1
  173. package/dist/node_modules/prosemirror-dropcursor/dist/index.js +0 -112
  174. package/dist/node_modules/prosemirror-dropcursor/dist/index.js.map +0 -1
  175. package/dist/node_modules/prosemirror-gapcursor/dist/index.js +0 -168
  176. package/dist/node_modules/prosemirror-gapcursor/dist/index.js.map +0 -1
  177. package/dist/node_modules/prosemirror-history/dist/index.js +0 -219
  178. package/dist/node_modules/prosemirror-history/dist/index.js.map +0 -1
  179. package/dist/node_modules/prosemirror-keymap/dist/index.js +0 -51
  180. package/dist/node_modules/prosemirror-keymap/dist/index.js.map +0 -1
  181. package/dist/node_modules/prosemirror-model/dist/index.js +0 -1775
  182. package/dist/node_modules/prosemirror-model/dist/index.js.map +0 -1
  183. package/dist/node_modules/prosemirror-schema-list/dist/index.js +0 -77
  184. package/dist/node_modules/prosemirror-schema-list/dist/index.js.map +0 -1
  185. package/dist/node_modules/prosemirror-state/dist/index.js +0 -526
  186. package/dist/node_modules/prosemirror-state/dist/index.js.map +0 -1
  187. package/dist/node_modules/prosemirror-transform/dist/index.js +0 -1204
  188. package/dist/node_modules/prosemirror-transform/dist/index.js.map +0 -1
  189. package/dist/node_modules/prosemirror-view/dist/index.js +0 -3355
  190. package/dist/node_modules/prosemirror-view/dist/index.js.map +0 -1
  191. package/dist/node_modules/rope-sequence/dist/index.js +0 -84
  192. package/dist/node_modules/rope-sequence/dist/index.js.map +0 -1
  193. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +0 -55
  194. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +0 -1
  195. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +0 -53
  196. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +0 -1
  197. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -53
  198. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +0 -1
  199. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -45
  200. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +0 -1
  201. package/dist/node_modules/use-sync-external-store/shim/index.js +0 -11
  202. package/dist/node_modules/use-sync-external-store/shim/index.js.map +0 -1
  203. package/dist/node_modules/use-sync-external-store/shim/with-selector.js +0 -11
  204. package/dist/node_modules/use-sync-external-store/shim/with-selector.js.map +0 -1
  205. package/dist/node_modules/w3c-keyname/index.js +0 -89
  206. package/dist/node_modules/w3c-keyname/index.js.map +0 -1
@@ -2,11 +2,11 @@ import { useGetContactInquiriesQuery as e } from "../../generated/global-operati
2
2
  import { humanizeCategory as t } from "../utils/index.js";
3
3
  import { useTr as n } from "../hooks/useTr.js";
4
4
  import { useEffect as r, useRef as i, useState as a } from "react";
5
- import { AlertCircle as o, ChevronDown as s, Filter as c, Loader2 as l, Mail as u, Search as d } from "lucide-react";
6
- import { useLocation as f, useNavigate as p } from "react-router";
7
- import { graphqlFetch as m } from "@burdenoff/fe-libs/shared/graphql/fetch";
8
- import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
9
- import { IllustratedEmptyState as v, PagePurpose as y } from "@burdenoff/fe-libs/ui";
5
+ import { IllustratedEmptyState as o, PagePurpose as s } from "@burdenoff/fe-libs/ui";
6
+ import { AlertCircle as c, ChevronDown as l, Filter as u, Loader2 as d, Mail as f, Search as p } from "lucide-react";
7
+ import { useLocation as m, useNavigate as h } from "react-router";
8
+ import { graphqlFetch as g } from "@burdenoff/fe-libs/shared/graphql/fetch";
9
+ import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
10
10
  // src/support/pages/ContactInquiriesPage.tsx
11
11
  var b = {
12
12
  NEW: "bg-status-info-bg-subtle text-status-info-text",
@@ -25,7 +25,7 @@ function x(e) {
25
25
  });
26
26
  }
27
27
  function S() {
28
- let S = p(), C = f().search, w = n(), [T, E] = a(""), [D, O] = a(""), [k, A] = a(""), [j, M] = a(!1), [N, P] = a({}), F = i(N);
28
+ let S = h(), C = m().search, w = n(), [T, E] = a(""), [D, O] = a(""), [k, A] = a(""), [j, M] = a(!1), [N, P] = a({}), F = i(N);
29
29
  F.current = N;
30
30
  let I = {
31
31
  NEW: w("support.contactInquiries.status.new", "New"),
@@ -46,7 +46,7 @@ function S() {
46
46
  return r(() => {
47
47
  let e = K ? K.split(",").filter((e) => !F.current[e]) : [];
48
48
  e.length !== 0 && e.forEach((e) => {
49
- m({
49
+ g({
50
50
  gateway: "global",
51
51
  query: "query($id: ID!) { platformProduct(id: $id) { name } }",
52
52
  variables: { id: e }
@@ -58,93 +58,93 @@ function S() {
58
58
  }));
59
59
  }).catch(() => {});
60
60
  });
61
- }, [K]), z && H.length === 0 ? /* @__PURE__ */ _("div", {
61
+ }, [K]), z && H.length === 0 ? /* @__PURE__ */ y("div", {
62
62
  className: "p-3 sm:p-6",
63
- children: [/* @__PURE__ */ _("div", {
63
+ children: [/* @__PURE__ */ y("div", {
64
64
  className: "flex items-center gap-3 mb-6",
65
- children: [/* @__PURE__ */ g(u, {
65
+ children: [/* @__PURE__ */ v(f, {
66
66
  size: 24,
67
67
  className: "text-text-primary"
68
- }), /* @__PURE__ */ g("h1", {
68
+ }), /* @__PURE__ */ v("h1", {
69
69
  className: "text-2xl font-bold text-text-primary",
70
70
  children: w("support.contactInquiries.title", "Contact Inquiries")
71
71
  })]
72
- }), /* @__PURE__ */ _("div", {
72
+ }), /* @__PURE__ */ y("div", {
73
73
  className: "flex flex-col items-center justify-center py-16",
74
- children: [/* @__PURE__ */ g(l, {
74
+ children: [/* @__PURE__ */ v(d, {
75
75
  size: 32,
76
76
  className: "animate-spin text-text-secondary mb-4"
77
- }), /* @__PURE__ */ g("p", {
77
+ }), /* @__PURE__ */ v("p", {
78
78
  className: "text-sm text-text-secondary",
79
79
  children: w("support.contactInquiries.loading", "Loading inquiries…")
80
80
  })]
81
81
  })]
82
- }) : B ? /* @__PURE__ */ _("div", {
82
+ }) : B ? /* @__PURE__ */ y("div", {
83
83
  className: "p-3 sm:p-6",
84
- children: [/* @__PURE__ */ _("div", {
84
+ children: [/* @__PURE__ */ y("div", {
85
85
  className: "flex items-center gap-3 mb-6",
86
- children: [/* @__PURE__ */ g(u, {
86
+ children: [/* @__PURE__ */ v(f, {
87
87
  size: 24,
88
88
  className: "text-text-primary"
89
- }), /* @__PURE__ */ g("h1", {
89
+ }), /* @__PURE__ */ v("h1", {
90
90
  className: "text-2xl font-bold text-text-primary",
91
91
  children: w("support.contactInquiries.title", "Contact Inquiries")
92
92
  })]
93
- }), /* @__PURE__ */ _("div", {
93
+ }), /* @__PURE__ */ y("div", {
94
94
  className: "flex flex-col items-center justify-center py-16 text-center",
95
95
  children: [
96
- /* @__PURE__ */ g("div", {
96
+ /* @__PURE__ */ v("div", {
97
97
  className: "p-4 rounded-2xl bg-status-error-bg-subtle text-status-error-text mb-4",
98
- children: /* @__PURE__ */ g(o, { size: 48 })
98
+ children: /* @__PURE__ */ v(c, { size: 48 })
99
99
  }),
100
- /* @__PURE__ */ g("h3", {
100
+ /* @__PURE__ */ v("h3", {
101
101
  className: "text-lg font-semibold text-text-primary mb-2",
102
102
  children: w("support.contactInquiries.error.title", "Failed to load inquiries")
103
103
  }),
104
- /* @__PURE__ */ g("p", {
104
+ /* @__PURE__ */ v("p", {
105
105
  className: "text-sm text-text-secondary",
106
106
  children: B.message
107
107
  })
108
108
  ]
109
109
  })]
110
- }) : /* @__PURE__ */ _("div", {
110
+ }) : /* @__PURE__ */ y("div", {
111
111
  className: "p-3 sm:p-6",
112
112
  children: [
113
- /* @__PURE__ */ g("div", {
113
+ /* @__PURE__ */ v("div", {
114
114
  className: "flex flex-col gap-3 mb-6 sm:flex-row sm:items-center sm:justify-between",
115
- children: /* @__PURE__ */ _("div", {
115
+ children: /* @__PURE__ */ y("div", {
116
116
  className: "flex items-center gap-3",
117
117
  children: [
118
- /* @__PURE__ */ g(u, {
118
+ /* @__PURE__ */ v(f, {
119
119
  size: 24,
120
120
  className: "text-text-primary"
121
121
  }),
122
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("h1", {
122
+ /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("h1", {
123
123
  className: "text-2xl font-bold text-text-primary",
124
124
  children: w("support.contactInquiries.title", "Contact Inquiries")
125
- }), /* @__PURE__ */ g("p", {
125
+ }), /* @__PURE__ */ v("p", {
126
126
  className: "text-sm text-text-secondary",
127
127
  children: w("support.contactInquiries.subtitle", "Website contact form submissions")
128
128
  })] }),
129
- /* @__PURE__ */ g("span", {
129
+ /* @__PURE__ */ v("span", {
130
130
  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",
131
131
  children: U
132
132
  })
133
133
  ]
134
134
  })
135
135
  }),
136
- /* @__PURE__ */ g(y, {
136
+ /* @__PURE__ */ v(s, {
137
137
  className: "mb-6",
138
138
  children: w("support.contactInquiries.purpose", "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.")
139
139
  }),
140
- /* @__PURE__ */ _("div", {
140
+ /* @__PURE__ */ y("div", {
141
141
  className: "flex flex-col sm:flex-row gap-3 mb-6",
142
- children: [/* @__PURE__ */ _("div", {
142
+ children: [/* @__PURE__ */ y("div", {
143
143
  className: "relative flex-1",
144
- children: [/* @__PURE__ */ g(d, {
144
+ children: [/* @__PURE__ */ v(p, {
145
145
  size: 16,
146
146
  className: "absolute left-3 top-1/2 -translate-y-1/2 text-text-secondary"
147
- }), /* @__PURE__ */ g("input", {
147
+ }), /* @__PURE__ */ v("input", {
148
148
  type: "text",
149
149
  "aria-label": w("support.contactInquiries.search.aria", "Search inquiries"),
150
150
  placeholder: w("support.contactInquiries.search.placeholder", "Search by name, email, or subject..."),
@@ -152,147 +152,147 @@ function S() {
152
152
  onChange: (e) => E(e.target.value),
153
153
  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"
154
154
  })]
155
- }), /* @__PURE__ */ _("button", {
155
+ }), /* @__PURE__ */ y("button", {
156
156
  type: "button",
157
157
  onClick: () => M(!j),
158
158
  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",
159
159
  children: [
160
- /* @__PURE__ */ g(c, { size: 16 }),
160
+ /* @__PURE__ */ v(u, { size: 16 }),
161
161
  w("support.contactInquiries.filters.toggle", "Filters"),
162
- /* @__PURE__ */ g(s, {
162
+ /* @__PURE__ */ v(l, {
163
163
  size: 14,
164
164
  className: j ? "rotate-180 transition-transform" : "transition-transform"
165
165
  })
166
166
  ]
167
167
  })]
168
168
  }),
169
- j && /* @__PURE__ */ g("div", {
169
+ j && /* @__PURE__ */ v("div", {
170
170
  className: "mb-6 p-4 bg-bg-surface border border-border-seam rounded-lg",
171
- children: /* @__PURE__ */ _("div", {
171
+ children: /* @__PURE__ */ y("div", {
172
172
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
173
- children: [/* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("label", {
173
+ children: [/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
174
174
  className: "block text-xs font-medium text-text-secondary mb-1",
175
175
  htmlFor: "contactinquiriespage-status-0",
176
176
  children: w("support.contactInquiries.filters.statusLabel", "Status")
177
- }), /* @__PURE__ */ _("select", {
177
+ }), /* @__PURE__ */ y("select", {
178
178
  id: "contactinquiriespage-status-0",
179
179
  value: D,
180
180
  onChange: (e) => O(e.target.value),
181
181
  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",
182
182
  children: [
183
- /* @__PURE__ */ g("option", {
183
+ /* @__PURE__ */ v("option", {
184
184
  value: "",
185
185
  children: w("support.contactInquiries.filters.allStatuses", "All statuses")
186
186
  }),
187
- /* @__PURE__ */ g("option", {
187
+ /* @__PURE__ */ v("option", {
188
188
  value: "NEW",
189
189
  children: I.NEW
190
190
  }),
191
- /* @__PURE__ */ g("option", {
191
+ /* @__PURE__ */ v("option", {
192
192
  value: "REVIEWED",
193
193
  children: I.REVIEWED
194
194
  }),
195
- /* @__PURE__ */ g("option", {
195
+ /* @__PURE__ */ v("option", {
196
196
  value: "CONVERTED",
197
197
  children: I.CONVERTED
198
198
  }),
199
- /* @__PURE__ */ g("option", {
199
+ /* @__PURE__ */ v("option", {
200
200
  value: "SPAM",
201
201
  children: I.SPAM
202
202
  }),
203
- /* @__PURE__ */ g("option", {
203
+ /* @__PURE__ */ v("option", {
204
204
  value: "ARCHIVED",
205
205
  children: I.ARCHIVED
206
206
  })
207
207
  ]
208
- })] }), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("label", {
208
+ })] }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
209
209
  className: "block text-xs font-medium text-text-secondary mb-1",
210
210
  htmlFor: "contactinquiriespage-product-2",
211
211
  children: w("support.contactInquiries.filters.productLabel", "Product")
212
- }), /* @__PURE__ */ _("select", {
212
+ }), /* @__PURE__ */ y("select", {
213
213
  id: "contactinquiriespage-product-2",
214
214
  value: k,
215
215
  onChange: (e) => A(e.target.value),
216
216
  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",
217
- children: [/* @__PURE__ */ g("option", {
217
+ children: [/* @__PURE__ */ v("option", {
218
218
  value: "",
219
219
  children: w("support.contactInquiries.filters.allProducts", "All products")
220
- }), G.map((e) => /* @__PURE__ */ g("option", {
220
+ }), G.map((e) => /* @__PURE__ */ v("option", {
221
221
  value: e,
222
222
  children: N[e] || e
223
223
  }, e))]
224
224
  })] })]
225
225
  })
226
226
  }),
227
- H.length === 0 ? /* @__PURE__ */ g(v, {
227
+ H.length === 0 ? /* @__PURE__ */ v(o, {
228
228
  illustration: "empty-notifications",
229
229
  title: w("support.contactInquiries.empty.title", "No inquiries yet"),
230
230
  description: w("support.contactInquiries.empty.description", "Contact form submissions from your product websites will appear here.")
231
- }) : /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g("div", {
231
+ }) : /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("div", {
232
232
  className: "space-y-3",
233
- children: H.map((e) => /* @__PURE__ */ g("button", {
233
+ children: H.map((e) => /* @__PURE__ */ v("button", {
234
234
  type: "button",
235
235
  onClick: () => S(`/support/inquiries/${e.id}${C}`),
236
236
  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",
237
- children: /* @__PURE__ */ _("div", {
237
+ children: /* @__PURE__ */ y("div", {
238
238
  className: "flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",
239
- children: [/* @__PURE__ */ _("div", {
239
+ children: [/* @__PURE__ */ y("div", {
240
240
  className: "flex-1 min-w-0",
241
241
  children: [
242
- /* @__PURE__ */ _("div", {
242
+ /* @__PURE__ */ y("div", {
243
243
  className: "flex items-center gap-2 mb-1",
244
244
  children: [
245
- /* @__PURE__ */ g("h3", {
245
+ /* @__PURE__ */ v("h3", {
246
246
  className: "text-sm font-semibold text-text-primary truncate group-hover:text-primary transition-colors",
247
247
  children: e.subject
248
248
  }),
249
- /* @__PURE__ */ g("span", {
249
+ /* @__PURE__ */ v("span", {
250
250
  className: `inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium ${b[e.status] || b.NEW} ${e.status === "NEW" ? "motion-safe:animate-vc-glow-pulse" : ""}`,
251
251
  children: I[e.status] || e.status
252
252
  }),
253
- e.productId && N[e.productId] && /* @__PURE__ */ g("span", {
253
+ e.productId && N[e.productId] && /* @__PURE__ */ v("span", {
254
254
  className: "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-accent-purple-subtle text-accent-purple",
255
255
  title: w("support.contactInquiries.list.productTitle", "Product: {{name}}", { name: N[e.productId] }),
256
256
  children: N[e.productId]
257
257
  }),
258
- e.category && /* @__PURE__ */ g("span", {
258
+ e.category && /* @__PURE__ */ v("span", {
259
259
  className: "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-accent-blue-subtle text-accent-blue",
260
260
  children: t(e.category)
261
261
  })
262
262
  ]
263
263
  }),
264
- /* @__PURE__ */ _("p", {
264
+ /* @__PURE__ */ y("p", {
265
265
  className: "text-sm text-text-secondary mb-1",
266
266
  children: [
267
- /* @__PURE__ */ g("span", {
267
+ /* @__PURE__ */ v("span", {
268
268
  className: "font-medium",
269
269
  children: e.name
270
270
  }),
271
- /* @__PURE__ */ g("span", {
271
+ /* @__PURE__ */ v("span", {
272
272
  className: "mx-1.5 text-text-secondary/50",
273
273
  children: "·"
274
274
  }),
275
- /* @__PURE__ */ g("span", { children: e.email }),
276
- e.company && /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g("span", {
275
+ /* @__PURE__ */ v("span", { children: e.email }),
276
+ e.company && /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("span", {
277
277
  className: "mx-1.5 text-text-secondary/50",
278
278
  children: "·"
279
- }), /* @__PURE__ */ g("span", { children: e.company })] })
279
+ }), /* @__PURE__ */ v("span", { children: e.company })] })
280
280
  ]
281
281
  }),
282
- /* @__PURE__ */ g("p", {
282
+ /* @__PURE__ */ v("p", {
283
283
  className: "text-xs text-text-secondary truncate",
284
284
  children: e.message
285
285
  })
286
286
  ]
287
- }), /* @__PURE__ */ g("div", {
287
+ }), /* @__PURE__ */ v("div", {
288
288
  className: "text-xs text-text-secondary sm:whitespace-nowrap",
289
289
  children: x(e.createdAt)
290
290
  })]
291
291
  })
292
292
  }, e.id))
293
- }), W && /* @__PURE__ */ g("div", {
293
+ }), W && /* @__PURE__ */ v("div", {
294
294
  className: "flex justify-center mt-6",
295
- children: /* @__PURE__ */ _("button", {
295
+ children: /* @__PURE__ */ y("button", {
296
296
  type: "button",
297
297
  onClick: () => {
298
298
  W && V({
@@ -305,7 +305,7 @@ function S() {
305
305
  },
306
306
  disabled: z,
307
307
  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",
308
- children: [z ? /* @__PURE__ */ g(l, {
308
+ children: [z ? /* @__PURE__ */ v(d, {
309
309
  size: 14,
310
310
  className: "animate-spin"
311
311
  }) : null, w("support.contactInquiries.loadMore", "Load more")]