@burdenoff/microfe-support 2026.818.1 → 2026.819.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 (124) hide show
  1. package/dist/generated/global-operations.d.ts +110 -0
  2. package/dist/generated/global-operations.js +259 -225
  3. package/dist/generated/global-operations.js.map +1 -1
  4. package/dist/generated/global-types.d.ts +42 -16
  5. package/dist/generated/global-types.js.map +1 -1
  6. package/dist/node_modules/clsx/dist/clsx.js +7 -5
  7. package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
  8. package/dist/node_modules/dompurify/dist/purify.es.js +399 -304
  9. package/dist/node_modules/dompurify/dist/purify.es.js.map +1 -1
  10. package/dist/node_modules/marked/lib/marked.esm.js +23 -17
  11. package/dist/node_modules/marked/lib/marked.esm.js.map +1 -1
  12. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +130 -130
  13. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  14. package/dist/support/SupportAdminRoot.js +4 -2
  15. package/dist/support/SupportAdminRoot.js.map +1 -1
  16. package/dist/support/SupportAdminRoutes.js +2 -2
  17. package/dist/support/SupportAdminRoutes.js.map +1 -1
  18. package/dist/support/SupportUserRoot.js +4 -2
  19. package/dist/support/SupportUserRoot.js.map +1 -1
  20. package/dist/support/SupportUserRoutes.js +2 -2
  21. package/dist/support/SupportUserRoutes.js.map +1 -1
  22. package/dist/support/components/NotificationToast.js.map +1 -1
  23. package/dist/support/components/PageLayout.js.map +1 -1
  24. package/dist/support/components/RouteHelpers.js.map +1 -1
  25. package/dist/support/components/analytics/CategoryBreakdown.js.map +1 -1
  26. package/dist/support/components/analytics/MetricCard.js.map +1 -1
  27. package/dist/support/components/analytics/PriorityBreakdown.js.map +1 -1
  28. package/dist/support/components/analytics/SLAReport.js.map +1 -1
  29. package/dist/support/components/analytics/SatisfactionDistribution.js.map +1 -1
  30. package/dist/support/components/analytics/TopAgents.js.map +1 -1
  31. package/dist/support/components/analytics/TrendChart.js +5 -5
  32. package/dist/support/components/analytics/TrendChart.js.map +1 -1
  33. package/dist/support/components/careers/BulkCandidateActionGuidance.d.ts +6 -0
  34. package/dist/support/components/careers/BulkCandidateActionGuidance.js +28 -0
  35. package/dist/support/components/careers/BulkCandidateActionGuidance.js.map +1 -0
  36. package/dist/support/components/careers/BulkCandidateDialogs.d.ts +18 -0
  37. package/dist/support/components/careers/BulkCandidateDialogs.js +441 -0
  38. package/dist/support/components/careers/BulkCandidateDialogs.js.map +1 -0
  39. package/dist/support/components/careers/BulkOperationFeedback.d.ts +21 -0
  40. package/dist/support/components/careers/BulkOperationFeedback.js +194 -0
  41. package/dist/support/components/careers/BulkOperationFeedback.js.map +1 -0
  42. package/dist/support/components/careers/BulkSelectionSummary.d.ts +6 -0
  43. package/dist/support/components/careers/BulkSelectionSummary.js +15 -0
  44. package/dist/support/components/careers/BulkSelectionSummary.js.map +1 -0
  45. package/dist/support/components/kb/ArticleForm.js.map +1 -1
  46. package/dist/support/components/settings/CannedResponsesSettings.js.map +1 -1
  47. package/dist/support/components/settings/SLAPoliciesSettings.js.map +1 -1
  48. package/dist/support/components/settings/TicketCategoriesSettings.js.map +1 -1
  49. package/dist/support/components/tickets/AttachmentList.js.map +1 -1
  50. package/dist/support/components/tickets/MarkdownContent.js.map +1 -1
  51. package/dist/support/components/tickets/MessageComposer.js +2 -2
  52. package/dist/support/components/tickets/MessageComposer.js.map +1 -1
  53. package/dist/support/components/tickets/MessageThread.js +1 -1
  54. package/dist/support/components/tickets/MessageThread.js.map +1 -1
  55. package/dist/support/components/tickets/TicketDetailHeader.js.map +1 -1
  56. package/dist/support/components/tickets/TicketHeader.js.map +1 -1
  57. package/dist/support/components/tickets/TicketSidebar.js.map +1 -1
  58. package/dist/support/constants/pipeline.js.map +1 -1
  59. package/dist/support/events/rybbit.js.map +1 -1
  60. package/dist/support/hooks/index.js +6 -5
  61. package/dist/support/hooks/useAnalyticsOperations.js +1 -1
  62. package/dist/support/hooks/useAnalyticsOperations.js.map +1 -1
  63. package/dist/support/hooks/useAttachmentsFailedToast.js.map +1 -1
  64. package/dist/support/hooks/useChatOperations.js +7 -7
  65. package/dist/support/hooks/useChatOperations.js.map +1 -1
  66. package/dist/support/hooks/useKnowledgeBaseOperations.js.map +1 -1
  67. package/dist/support/hooks/useNotification.js.map +1 -1
  68. package/dist/support/hooks/useRegisterFooter.js.map +1 -1
  69. package/dist/support/hooks/useSettingsOperations.js.map +1 -1
  70. package/dist/support/hooks/useSupportAttachments.js.map +1 -1
  71. package/dist/support/hooks/useTicketListOperations.js.map +1 -1
  72. package/dist/support/hooks/useTicketOperations.js +76 -75
  73. package/dist/support/hooks/useTicketOperations.js.map +1 -1
  74. package/dist/support/index.js +11 -10
  75. package/dist/support/pages/AnalyticsPage.js.map +1 -1
  76. package/dist/support/pages/ArticleDetailAdminPage.js +1 -1
  77. package/dist/support/pages/ArticleDetailAdminPage.js.map +1 -1
  78. package/dist/support/pages/ArticleDetailUserPage.js +1 -1
  79. package/dist/support/pages/ArticleDetailUserPage.js.map +1 -1
  80. package/dist/support/pages/ContactInquiriesPage.js.map +1 -1
  81. package/dist/support/pages/ContactInquiryDetailPage.js +4 -1
  82. package/dist/support/pages/ContactInquiryDetailPage.js.map +1 -1
  83. package/dist/support/pages/CreateArticlePage.js.map +1 -1
  84. package/dist/support/pages/CreateTicketPage.js +4 -3
  85. package/dist/support/pages/CreateTicketPage.js.map +1 -1
  86. package/dist/support/pages/EditArticlePage.js.map +1 -1
  87. package/dist/support/pages/InterviewersPage.js +127 -127
  88. package/dist/support/pages/InterviewersPage.js.map +1 -1
  89. package/dist/support/pages/JobApplicationDetailPage.js +1 -1
  90. package/dist/support/pages/JobApplicationDetailPage.js.map +1 -1
  91. package/dist/support/pages/JobApplicationsPage.js +532 -631
  92. package/dist/support/pages/JobApplicationsPage.js.map +1 -1
  93. package/dist/support/pages/JobPostingDetailPage.js.map +1 -1
  94. package/dist/support/pages/JobPostingsPage.js.map +1 -1
  95. package/dist/support/pages/KnowledgeBaseAdminPage.js.map +1 -1
  96. package/dist/support/pages/KnowledgeBaseUserPage.js.map +1 -1
  97. package/dist/support/pages/SettingsPage.js.map +1 -1
  98. package/dist/support/pages/TicketDetailAdminPage.js +4 -1
  99. package/dist/support/pages/TicketDetailAdminPage.js.map +1 -1
  100. package/dist/support/pages/TicketDetailUserPage.js +4 -1
  101. package/dist/support/pages/TicketDetailUserPage.js.map +1 -1
  102. package/dist/support/pages/TicketListPage.js.map +1 -1
  103. package/dist/support/providers/SupportProvider.js.map +1 -1
  104. package/dist/support/store/supportStore.js.map +1 -1
  105. package/dist/support/utils/attachments.js +3 -3
  106. package/dist/support/utils/attachments.js.map +1 -1
  107. package/dist/support/utils/breadcrumbRegistry.js.map +1 -1
  108. package/dist/support/utils/bulkCandidateOperations.d.ts +174 -0
  109. package/dist/support/utils/bulkCandidateOperations.js +265 -0
  110. package/dist/support/utils/bulkCandidateOperations.js.map +1 -0
  111. package/dist/support/utils/categoryColors.js.map +1 -1
  112. package/dist/support/utils/cn.js +1 -1
  113. package/dist/support/utils/cn.js.map +1 -1
  114. package/dist/support/utils/context.js.map +1 -1
  115. package/dist/support/utils/errors.js.map +1 -1
  116. package/dist/support/utils/i18n.js.map +1 -1
  117. package/dist/support/utils/index.js +1 -1
  118. package/dist/support/utils/index.js.map +1 -1
  119. package/dist/support/utils/markdown.js +2 -2
  120. package/dist/support/utils/markdown.js.map +1 -1
  121. package/dist/support/utils/supportFiles.js.map +1 -1
  122. package/dist/support/utils/ticketFilters.js.map +1 -1
  123. package/dist/support/utils/uiTokens.js.map +1 -1
  124. package/package.json +22 -12
@@ -4,10 +4,10 @@ import { cn as g } from "../utils/cn.js";
4
4
  import { EmptyState as _, LoadingState as re, PageLayout as v } from "../components/PageLayout.js";
5
5
  import { nativeNotify as y } from "../../utils/nativeBridge.js";
6
6
  import { useEffect as ie, useMemo as ae, useState as b } from "react";
7
- import { Check as oe, Loader2 as x, MoreHorizontal as se, Pencil as ce, Plus as S, Search as C, Trash2 as w, Users as T, X as E } from "lucide-react";
8
- import { Fragment as D, jsx as O, jsxs as k } from "react/jsx-runtime";
7
+ import { Check as oe, Loader2 as x, MoreHorizontal as se, Pencil as S, Plus as C, Search as w, Trash2 as T, Users as E, X as D } from "lucide-react";
8
+ import { Fragment as O, jsx as k, jsxs as A } from "react/jsx-runtime";
9
9
  //#region src/support/pages/InterviewersPage.tsx
10
- var A = {
10
+ var j = {
11
11
  name: "",
12
12
  email: "",
13
13
  userId: "",
@@ -16,7 +16,7 @@ var A = {
16
16
  isActive: !0,
17
17
  notes: ""
18
18
  };
19
- function le(e) {
19
+ function ce(e) {
20
20
  return {
21
21
  name: e.name.trim(),
22
22
  email: e.email.trim(),
@@ -27,44 +27,44 @@ function le(e) {
27
27
  notes: e.notes.trim() || void 0
28
28
  };
29
29
  }
30
- function ue(e) {
30
+ function le(e) {
31
31
  return new Date(e).toLocaleDateString("en-US", {
32
32
  month: "short",
33
33
  day: "numeric",
34
34
  year: "numeric"
35
35
  });
36
36
  }
37
- function j() {
38
- let [j, de] = b(""), [M, fe] = b(""), [N, P] = b(!1), [F, I] = b(null), [L, R] = b(A), [z, B] = b({}), [V, H] = b(!1), [U, W] = b(null);
37
+ function M() {
38
+ let [M, ue] = b(""), [N, de] = b(""), [fe, P] = b(!1), [F, I] = b(null), [L, R] = b(j), [z, B] = b({}), [V, H] = b(!1), [U, W] = b(null);
39
39
  ie(() => {
40
- let e = setTimeout(() => fe(j.trim()), 300);
40
+ let e = setTimeout(() => de(M.trim()), 300);
41
41
  return () => clearTimeout(e);
42
- }, [j]);
43
- let { data: G, loading: pe, error: K, refetch: q } = m({
42
+ }, [M]);
43
+ let pe = ae(() => {
44
+ let e = {};
45
+ return N && (e.search = N), e;
46
+ }, [N]), { data: G, loading: me, error: K, refetch: q } = m({
44
47
  variables: {
45
- filter: ae(() => {
46
- let e = {};
47
- return M && (e.search = M), e;
48
- }, [M]),
48
+ filter: pe,
49
49
  limit: 50,
50
50
  offset: 0
51
51
  },
52
52
  fetchPolicy: "cache-and-network"
53
- }), J = G?.interviewers?.items ?? [], Y = G?.interviewers?.total ?? 0, [me, { loading: he }] = f({
53
+ }), J = G?.interviewers?.items ?? [], Y = G?.interviewers?.total ?? 0, [he, { loading: ge }] = f({
54
54
  onCompleted: () => {
55
55
  y("success"), Q(), q();
56
56
  },
57
57
  onError: () => {
58
58
  y("error");
59
59
  }
60
- }), [ge, { loading: _e }] = h({
60
+ }), [_e, { loading: ve }] = h({
61
61
  onCompleted: () => {
62
62
  y("success"), Q(), q();
63
63
  },
64
64
  onError: () => {
65
65
  y("error");
66
66
  }
67
- }), [ve, { loading: X }] = p({
67
+ }), [ye, { loading: X }] = p({
68
68
  onCompleted: () => {
69
69
  y("success"), H(!1), W(null), q();
70
70
  },
@@ -72,8 +72,8 @@ function j() {
72
72
  y("error"), H(!1), W(null);
73
73
  }
74
74
  }), Z = () => {
75
- I(null), R(A), B({}), P(!0);
76
- }, ye = (e) => {
75
+ I(null), R(j), B({}), P(!0);
76
+ }, be = (e) => {
77
77
  I(e), R({
78
78
  name: e.name,
79
79
  email: e.email,
@@ -84,148 +84,148 @@ function j() {
84
84
  notes: e.notes ?? ""
85
85
  }), B({}), P(!0);
86
86
  }, Q = () => {
87
- P(!1), I(null), R(A), B({});
88
- }, be = () => {
87
+ P(!1), I(null), R(j), B({});
88
+ }, xe = () => {
89
89
  let e = {};
90
90
  return L.name.trim() || (e.name = "Name is required"), L.email.trim() ? /^\S+@\S+\.\S+$/.test(L.email.trim()) || (e.email = "Enter a valid email") : e.email = "Email is required", B(e), Object.keys(e).length === 0;
91
- }, xe = (e) => {
92
- if (e.preventDefault(), !be()) return;
93
- let t = le(L);
94
- F ? ge({ variables: {
91
+ }, Se = (e) => {
92
+ if (e.preventDefault(), !xe()) return;
93
+ let t = ce(L);
94
+ F ? _e({ variables: {
95
95
  id: F.id,
96
96
  input: t
97
- } }) : me({ variables: { input: t } });
98
- }, Se = (e) => {
97
+ } }) : he({ variables: { input: t } });
98
+ }, Ce = (e) => {
99
99
  W(e), H(!0);
100
- }, Ce = () => {
101
- U && ve({ variables: { id: U.id } });
102
- }, $ = he || _e;
103
- return K ? /* @__PURE__ */ O(v, {
100
+ }, we = () => {
101
+ U && ye({ variables: { id: U.id } });
102
+ }, $ = ge || ve;
103
+ return K ? /* @__PURE__ */ k(v, {
104
104
  title: "Interviewers",
105
105
  subtitle: "Manage interview panel members",
106
- icon: /* @__PURE__ */ O(T, { size: 24 }),
107
- children: /* @__PURE__ */ O(_, {
108
- icon: /* @__PURE__ */ O(E, { size: 48 }),
106
+ icon: /* @__PURE__ */ k(E, { size: 24 }),
107
+ children: /* @__PURE__ */ k(_, {
108
+ icon: /* @__PURE__ */ k(D, { size: 48 }),
109
109
  title: "Failed to load interviewers",
110
110
  description: K.message,
111
- action: /* @__PURE__ */ O(t, {
111
+ action: /* @__PURE__ */ k(t, {
112
112
  variant: "outline",
113
113
  onClick: () => void q(),
114
114
  children: "Retry"
115
115
  })
116
116
  })
117
- }) : /* @__PURE__ */ k(v, {
117
+ }) : /* @__PURE__ */ A(v, {
118
118
  title: "Interviewers",
119
119
  subtitle: "Manage interview panel members",
120
- icon: /* @__PURE__ */ O(T, { size: 24 }),
121
- headerActions: /* @__PURE__ */ k(t, {
120
+ icon: /* @__PURE__ */ k(E, { size: 24 }),
121
+ headerActions: /* @__PURE__ */ A(t, {
122
122
  onClick: Z,
123
- children: [/* @__PURE__ */ O(S, { size: 18 }), "New Interviewer"]
123
+ children: [/* @__PURE__ */ k(C, { size: 18 }), "New Interviewer"]
124
124
  }),
125
125
  children: [
126
- /* @__PURE__ */ O("div", {
126
+ /* @__PURE__ */ k("div", {
127
127
  className: "flex flex-col sm:flex-row gap-3",
128
- children: /* @__PURE__ */ k("div", {
128
+ children: /* @__PURE__ */ A("div", {
129
129
  className: "relative flex-1",
130
- children: [/* @__PURE__ */ O(C, {
130
+ children: [/* @__PURE__ */ k(w, {
131
131
  size: 16,
132
132
  className: "absolute left-3 top-1/2 -translate-y-1/2 text-text-secondary"
133
- }), /* @__PURE__ */ O(l, {
133
+ }), /* @__PURE__ */ k(l, {
134
134
  type: "text",
135
135
  "aria-label": "Search interviewers",
136
136
  placeholder: "Search by name, email, department, or title...",
137
- value: j,
138
- onChange: (e) => de(e.target.value),
137
+ value: M,
138
+ onChange: (e) => ue(e.target.value),
139
139
  className: "pl-9"
140
140
  })]
141
141
  })
142
142
  }),
143
- pe && J.length === 0 ? /* @__PURE__ */ O(re, { message: "Loading interviewers…" }) : J.length === 0 ? /* @__PURE__ */ O(_, {
143
+ me && J.length === 0 ? /* @__PURE__ */ k(re, { message: "Loading interviewers…" }) : J.length === 0 ? /* @__PURE__ */ k(_, {
144
144
  illustration: "empty-people",
145
- title: M ? "No interviewers found" : "No interviewers yet",
146
- description: M ? "Try adjusting your search terms." : "Add interviewers so you can assign them to interview rounds.",
147
- action: M ? void 0 : /* @__PURE__ */ k(t, {
145
+ title: N ? "No interviewers found" : "No interviewers yet",
146
+ description: N ? "Try adjusting your search terms." : "Add interviewers so you can assign them to interview rounds.",
147
+ action: N ? void 0 : /* @__PURE__ */ A(t, {
148
148
  onClick: Z,
149
- children: [/* @__PURE__ */ O(S, { size: 18 }), "Add Interviewer"]
149
+ children: [/* @__PURE__ */ k(C, { size: 18 }), "Add Interviewer"]
150
150
  })
151
- }) : /* @__PURE__ */ O("div", {
151
+ }) : /* @__PURE__ */ k("div", {
152
152
  className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",
153
- children: J.map((n) => /* @__PURE__ */ k("div", {
153
+ children: J.map((n) => /* @__PURE__ */ A("div", {
154
154
  className: "p-4 rounded-xl border border-border-seam bg-bg-surface shadow-[var(--shadow-pop)] hover:shadow-[var(--shadow-pop-hover)] hover:border-border-strong transition-[box-shadow,border-color] duration-200",
155
155
  children: [
156
- /* @__PURE__ */ k("div", {
156
+ /* @__PURE__ */ A("div", {
157
157
  className: "flex items-start justify-between gap-3 mb-3",
158
- children: [/* @__PURE__ */ k("div", {
158
+ children: [/* @__PURE__ */ A("div", {
159
159
  className: "min-w-0",
160
- children: [/* @__PURE__ */ O("h3", {
160
+ children: [/* @__PURE__ */ k("h3", {
161
161
  className: "font-semibold text-text-primary truncate",
162
162
  children: n.name
163
- }), /* @__PURE__ */ O("p", {
163
+ }), /* @__PURE__ */ k("p", {
164
164
  className: "text-sm text-text-secondary truncate",
165
165
  children: n.email
166
166
  })]
167
- }), /* @__PURE__ */ k(ee, { children: [/* @__PURE__ */ O(ne, {
167
+ }), /* @__PURE__ */ A(ee, { children: [/* @__PURE__ */ k(ne, {
168
168
  asChild: !0,
169
- children: /* @__PURE__ */ O(t, {
169
+ children: /* @__PURE__ */ k(t, {
170
170
  variant: "ghost",
171
171
  size: "sm",
172
172
  className: "h-8 w-8 p-0 flex-shrink-0",
173
- children: /* @__PURE__ */ O(se, { size: 16 })
173
+ children: /* @__PURE__ */ k(se, { size: 16 })
174
174
  })
175
- }), /* @__PURE__ */ k(te, {
175
+ }), /* @__PURE__ */ A(te, {
176
176
  align: "end",
177
- children: [/* @__PURE__ */ k(c, {
178
- onClick: () => ye(n),
179
- children: [/* @__PURE__ */ O(ce, {
177
+ children: [/* @__PURE__ */ A(c, {
178
+ onClick: () => be(n),
179
+ children: [/* @__PURE__ */ k(S, {
180
180
  size: 14,
181
181
  className: "mr-2"
182
182
  }), "Edit"]
183
- }), /* @__PURE__ */ k(c, {
184
- onClick: () => Se(n),
183
+ }), /* @__PURE__ */ A(c, {
184
+ onClick: () => Ce(n),
185
185
  className: "text-status-error-text focus:text-status-error-text",
186
- children: [/* @__PURE__ */ O(w, {
186
+ children: [/* @__PURE__ */ k(T, {
187
187
  size: 14,
188
188
  className: "mr-2"
189
189
  }), "Delete"]
190
190
  })]
191
191
  })] })]
192
192
  }),
193
- /* @__PURE__ */ k("div", {
193
+ /* @__PURE__ */ A("div", {
194
194
  className: "flex flex-wrap items-center gap-2 mb-3",
195
- children: [n.isActive ? /* @__PURE__ */ k(e, {
195
+ children: [n.isActive ? /* @__PURE__ */ A(e, {
196
196
  className: "bg-status-success-bg-subtle text-status-success-text text-xs",
197
- children: [/* @__PURE__ */ O(oe, {
197
+ children: [/* @__PURE__ */ k(oe, {
198
198
  size: 10,
199
199
  className: "mr-1"
200
200
  }), "Active"]
201
- }) : /* @__PURE__ */ k(e, {
201
+ }) : /* @__PURE__ */ A(e, {
202
202
  className: "bg-bg-sunken text-text-secondary text-xs",
203
- children: [/* @__PURE__ */ O(E, {
203
+ children: [/* @__PURE__ */ k(D, {
204
204
  size: 10,
205
205
  className: "mr-1"
206
206
  }), "Inactive"]
207
- }), n.department && /* @__PURE__ */ O(e, {
207
+ }), n.department && /* @__PURE__ */ k(e, {
208
208
  variant: "outline",
209
209
  className: "text-xs",
210
210
  children: n.department
211
211
  })]
212
212
  }),
213
- /* @__PURE__ */ k("div", {
213
+ /* @__PURE__ */ A("div", {
214
214
  className: "space-y-1 text-sm",
215
- children: [n.title && /* @__PURE__ */ k("p", {
215
+ children: [n.title && /* @__PURE__ */ A("p", {
216
216
  className: "text-text-secondary",
217
217
  children: [
218
- /* @__PURE__ */ O("span", {
218
+ /* @__PURE__ */ k("span", {
219
219
  className: "font-medium text-text-primary",
220
220
  children: "Title:"
221
221
  }),
222
222
  " ",
223
223
  n.title
224
224
  ]
225
- }), n.userId && /* @__PURE__ */ k("p", {
225
+ }), n.userId && /* @__PURE__ */ A("p", {
226
226
  className: "text-text-secondary",
227
227
  children: [
228
- /* @__PURE__ */ O("span", {
228
+ /* @__PURE__ */ k("span", {
229
229
  className: "font-medium text-text-primary",
230
230
  children: "User ID:"
231
231
  }),
@@ -234,14 +234,14 @@ function j() {
234
234
  ]
235
235
  })]
236
236
  }),
237
- /* @__PURE__ */ k("p", {
237
+ /* @__PURE__ */ A("p", {
238
238
  className: "mt-3 text-xs text-text-secondary",
239
- children: ["Added ", ue(n.createdAt)]
239
+ children: ["Added ", le(n.createdAt)]
240
240
  })
241
241
  ]
242
242
  }, n.id))
243
243
  }),
244
- Y > 0 && /* @__PURE__ */ k("p", {
244
+ Y > 0 && /* @__PURE__ */ A("p", {
245
245
  className: "text-xs text-text-secondary",
246
246
  children: [
247
247
  Y,
@@ -249,31 +249,31 @@ function j() {
249
249
  Y === 1 ? "" : "s"
250
250
  ]
251
251
  }),
252
- /* @__PURE__ */ O(n, {
253
- open: N,
252
+ /* @__PURE__ */ k(n, {
253
+ open: fe,
254
254
  onOpenChange: P,
255
- children: /* @__PURE__ */ k(r, {
255
+ children: /* @__PURE__ */ A(r, {
256
256
  className: "sm:max-w-lg",
257
257
  children: [
258
- /* @__PURE__ */ k(o, { children: [/* @__PURE__ */ O(s, { children: F ? "Edit Interviewer" : "New Interviewer" }), /* @__PURE__ */ O(i, { children: F ? "Update the interviewer details below." : "Add a new person to the interviewer pool." })] }),
259
- /* @__PURE__ */ k("form", {
258
+ /* @__PURE__ */ A(o, { children: [/* @__PURE__ */ k(s, { children: F ? "Edit Interviewer" : "New Interviewer" }), /* @__PURE__ */ k(i, { children: F ? "Update the interviewer details below." : "Add a new person to the interviewer pool." })] }),
259
+ /* @__PURE__ */ A("form", {
260
260
  id: "interviewer-form",
261
- onSubmit: xe,
261
+ onSubmit: Se,
262
262
  className: "space-y-4",
263
263
  children: [
264
- /* @__PURE__ */ k("div", {
264
+ /* @__PURE__ */ A("div", {
265
265
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
266
- children: [/* @__PURE__ */ k("div", {
266
+ children: [/* @__PURE__ */ A("div", {
267
267
  className: "space-y-1.5",
268
268
  children: [
269
- /* @__PURE__ */ k(u, {
269
+ /* @__PURE__ */ A(u, {
270
270
  htmlFor: "interviewer-name",
271
- children: ["Name ", /* @__PURE__ */ O("span", {
271
+ children: ["Name ", /* @__PURE__ */ k("span", {
272
272
  className: "text-status-error-text",
273
273
  children: "*"
274
274
  })]
275
275
  }),
276
- /* @__PURE__ */ O(l, {
276
+ /* @__PURE__ */ k(l, {
277
277
  id: "interviewer-name",
278
278
  value: L.name,
279
279
  onChange: (e) => R((t) => ({
@@ -283,22 +283,22 @@ function j() {
283
283
  placeholder: "Full name",
284
284
  "aria-invalid": !!z.name
285
285
  }),
286
- z.name && /* @__PURE__ */ O("p", {
286
+ z.name && /* @__PURE__ */ k("p", {
287
287
  className: "text-xs text-status-error-text",
288
288
  children: z.name
289
289
  })
290
290
  ]
291
- }), /* @__PURE__ */ k("div", {
291
+ }), /* @__PURE__ */ A("div", {
292
292
  className: "space-y-1.5",
293
293
  children: [
294
- /* @__PURE__ */ k(u, {
294
+ /* @__PURE__ */ A(u, {
295
295
  htmlFor: "interviewer-email",
296
- children: ["Email ", /* @__PURE__ */ O("span", {
296
+ children: ["Email ", /* @__PURE__ */ k("span", {
297
297
  className: "text-status-error-text",
298
298
  children: "*"
299
299
  })]
300
300
  }),
301
- /* @__PURE__ */ O(l, {
301
+ /* @__PURE__ */ k(l, {
302
302
  id: "interviewer-email",
303
303
  type: "email",
304
304
  value: L.email,
@@ -309,21 +309,21 @@ function j() {
309
309
  placeholder: "email@example.com",
310
310
  "aria-invalid": !!z.email
311
311
  }),
312
- z.email && /* @__PURE__ */ O("p", {
312
+ z.email && /* @__PURE__ */ k("p", {
313
313
  className: "text-xs text-status-error-text",
314
314
  children: z.email
315
315
  })
316
316
  ]
317
317
  })]
318
318
  }),
319
- /* @__PURE__ */ k("div", {
319
+ /* @__PURE__ */ A("div", {
320
320
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
321
- children: [/* @__PURE__ */ k("div", {
321
+ children: [/* @__PURE__ */ A("div", {
322
322
  className: "space-y-1.5",
323
- children: [/* @__PURE__ */ O(u, {
323
+ children: [/* @__PURE__ */ k(u, {
324
324
  htmlFor: "interviewer-userid",
325
325
  children: "User ID"
326
- }), /* @__PURE__ */ O(l, {
326
+ }), /* @__PURE__ */ k(l, {
327
327
  id: "interviewer-userid",
328
328
  value: L.userId,
329
329
  onChange: (e) => R((t) => ({
@@ -332,12 +332,12 @@ function j() {
332
332
  })),
333
333
  placeholder: "Platform user ID (optional)"
334
334
  })]
335
- }), /* @__PURE__ */ k("div", {
335
+ }), /* @__PURE__ */ A("div", {
336
336
  className: "space-y-1.5",
337
- children: [/* @__PURE__ */ O(u, {
337
+ children: [/* @__PURE__ */ k(u, {
338
338
  htmlFor: "interviewer-department",
339
339
  children: "Department"
340
- }), /* @__PURE__ */ O(l, {
340
+ }), /* @__PURE__ */ k(l, {
341
341
  id: "interviewer-department",
342
342
  value: L.department,
343
343
  onChange: (e) => R((t) => ({
@@ -348,12 +348,12 @@ function j() {
348
348
  })]
349
349
  })]
350
350
  }),
351
- /* @__PURE__ */ k("div", {
351
+ /* @__PURE__ */ A("div", {
352
352
  className: "space-y-1.5",
353
- children: [/* @__PURE__ */ O(u, {
353
+ children: [/* @__PURE__ */ k(u, {
354
354
  htmlFor: "interviewer-title",
355
355
  children: "Title"
356
- }), /* @__PURE__ */ O(l, {
356
+ }), /* @__PURE__ */ k(l, {
357
357
  id: "interviewer-title",
358
358
  value: L.title,
359
359
  onChange: (e) => R((t) => ({
@@ -363,12 +363,12 @@ function j() {
363
363
  placeholder: "e.g. Senior Engineer"
364
364
  })]
365
365
  }),
366
- /* @__PURE__ */ k("div", {
366
+ /* @__PURE__ */ A("div", {
367
367
  className: "space-y-1.5",
368
- children: [/* @__PURE__ */ O(u, {
368
+ children: [/* @__PURE__ */ k(u, {
369
369
  htmlFor: "interviewer-notes",
370
370
  children: "Notes"
371
- }), /* @__PURE__ */ O(d, {
371
+ }), /* @__PURE__ */ k(d, {
372
372
  id: "interviewer-notes",
373
373
  value: L.notes,
374
374
  onChange: (e) => R((t) => ({
@@ -379,9 +379,9 @@ function j() {
379
379
  rows: 3
380
380
  })]
381
381
  }),
382
- /* @__PURE__ */ k("div", {
382
+ /* @__PURE__ */ A("div", {
383
383
  className: "flex items-center gap-3 rounded-lg border border-border-seam p-3",
384
- children: [/* @__PURE__ */ O("input", {
384
+ children: [/* @__PURE__ */ k("input", {
385
385
  id: "interviewer-active",
386
386
  type: "checkbox",
387
387
  checked: L.isActive,
@@ -390,13 +390,13 @@ function j() {
390
390
  isActive: e.target.checked
391
391
  })),
392
392
  className: g("h-4 w-4 rounded border-border-strong text-action-primary-bg", "focus:ring-2 focus:ring-action-primary-bg/50")
393
- }), /* @__PURE__ */ k("div", {
393
+ }), /* @__PURE__ */ A("div", {
394
394
  className: "space-y-0.5",
395
- children: [/* @__PURE__ */ O(u, {
395
+ children: [/* @__PURE__ */ k(u, {
396
396
  htmlFor: "interviewer-active",
397
397
  className: "cursor-pointer",
398
398
  children: "Active interviewer"
399
- }), /* @__PURE__ */ O("p", {
399
+ }), /* @__PURE__ */ k("p", {
400
400
  className: "text-xs text-text-secondary",
401
401
  children: "Inactive interviewers cannot be assigned to new rounds."
402
402
  })]
@@ -404,17 +404,17 @@ function j() {
404
404
  })
405
405
  ]
406
406
  }),
407
- /* @__PURE__ */ k(a, { children: [/* @__PURE__ */ O(t, {
407
+ /* @__PURE__ */ A(a, { children: [/* @__PURE__ */ k(t, {
408
408
  type: "button",
409
409
  variant: "outline",
410
410
  onClick: Q,
411
411
  disabled: $,
412
412
  children: "Cancel"
413
- }), /* @__PURE__ */ O(t, {
413
+ }), /* @__PURE__ */ k(t, {
414
414
  type: "submit",
415
415
  form: "interviewer-form",
416
416
  disabled: $,
417
- children: $ ? /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(x, {
417
+ children: $ ? /* @__PURE__ */ A(O, { children: [/* @__PURE__ */ k(x, {
418
418
  size: 16,
419
419
  className: "animate-spin mr-2"
420
420
  }), "Saving…"] }) : F ? "Save Changes" : "Create Interviewer"
@@ -422,28 +422,28 @@ function j() {
422
422
  ]
423
423
  })
424
424
  }),
425
- /* @__PURE__ */ O(n, {
425
+ /* @__PURE__ */ k(n, {
426
426
  open: V,
427
427
  onOpenChange: H,
428
- children: /* @__PURE__ */ k(r, {
428
+ children: /* @__PURE__ */ A(r, {
429
429
  className: "sm:max-w-md",
430
- children: [/* @__PURE__ */ k(o, { children: [/* @__PURE__ */ O(s, { children: "Delete Interviewer?" }), /* @__PURE__ */ k(i, { children: [
430
+ children: [/* @__PURE__ */ A(o, { children: [/* @__PURE__ */ k(s, { children: "Delete Interviewer?" }), /* @__PURE__ */ A(i, { children: [
431
431
  "Are you sure you want to delete \"",
432
432
  U?.name,
433
433
  "\"? This action cannot be undone."
434
- ] })] }), /* @__PURE__ */ k(a, { children: [/* @__PURE__ */ O(t, {
434
+ ] })] }), /* @__PURE__ */ A(a, { children: [/* @__PURE__ */ k(t, {
435
435
  variant: "outline",
436
436
  onClick: () => H(!1),
437
437
  disabled: X,
438
438
  children: "Cancel"
439
- }), /* @__PURE__ */ O(t, {
439
+ }), /* @__PURE__ */ k(t, {
440
440
  variant: "destructive",
441
- onClick: Ce,
441
+ onClick: we,
442
442
  disabled: X,
443
- children: X ? /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(x, {
443
+ children: X ? /* @__PURE__ */ A(O, { children: [/* @__PURE__ */ k(x, {
444
444
  size: 16,
445
445
  className: "animate-spin mr-2"
446
- }), "Deleting…"] }) : /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(w, {
446
+ }), "Deleting…"] }) : /* @__PURE__ */ A(O, { children: [/* @__PURE__ */ k(T, {
447
447
  size: 16,
448
448
  className: "mr-2"
449
449
  }), "Delete"] })
@@ -454,6 +454,6 @@ function j() {
454
454
  });
455
455
  }
456
456
  //#endregion
457
- export { j as InterviewersPage };
457
+ export { M as InterviewersPage };
458
458
 
459
459
  //# sourceMappingURL=InterviewersPage.js.map