@burdenoff/microfe-support 2026.1031.2 → 2026.1114.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +6 -0
- package/dist/dev/main.d.ts +0 -0
- package/dist/generated/global-operations.d.ts +60 -60
- package/dist/node_modules/@tiptap/core/dist/index.js +949 -674
- package/dist/node_modules/@tiptap/core/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +14 -3
- package/dist/node_modules/@tiptap/extension-code/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +1 -3
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-document/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js +4 -1
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +76 -51
- package/dist/node_modules/@tiptap/extension-link/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-list/dist/index.js +143 -127
- package/dist/node_modules/@tiptap/extension-list/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +3 -2
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-text/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extension-underline/dist/index.js +21 -11
- package/dist/node_modules/@tiptap/extension-underline/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/extensions/dist/index.js +8 -9
- package/dist/node_modules/@tiptap/extensions/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/react/dist/index.js +70 -49
- package/dist/node_modules/@tiptap/react/dist/index.js.map +1 -1
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js.map +1 -1
- package/dist/node_modules/fast-equals/dist/es/index.js +108 -76
- package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
- package/dist/node_modules/linkifyjs/dist/linkify.js +127 -113
- package/dist/node_modules/linkifyjs/dist/linkify.js.map +1 -1
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js +1 -1
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-history/dist/index.js +21 -14
- package/dist/node_modules/prosemirror-history/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-model/dist/index.js +98 -105
- package/dist/node_modules/prosemirror-model/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-schema-list/dist/index.js +37 -34
- package/dist/node_modules/prosemirror-schema-list/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-transform/dist/index.js +153 -101
- package/dist/node_modules/prosemirror-transform/dist/index.js.map +1 -1
- package/dist/node_modules/prosemirror-view/dist/index.js +742 -693
- package/dist/node_modules/prosemirror-view/dist/index.js.map +1 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +96 -17
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +55 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +53 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +53 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +45 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +11 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js +11 -0
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js.map +1 -0
- package/dist/support/SupportAdminRoot.d.ts +2 -2
- package/dist/support/SupportAdminRoutes.d.ts +1 -1
- package/dist/support/SupportUserRoot.d.ts +2 -2
- package/dist/support/SupportUserRoutes.d.ts +1 -1
- package/dist/support/components/NotificationToast.d.ts +2 -2
- package/dist/support/components/PageLayout.d.ts +4 -4
- package/dist/support/components/RouteHelpers.d.ts +1 -1
- package/dist/support/components/analytics/CategoryBreakdown.d.ts +1 -1
- package/dist/support/components/analytics/MetricCard.d.ts +1 -1
- package/dist/support/components/analytics/PriorityBreakdown.d.ts +1 -1
- package/dist/support/components/analytics/SLAReport.d.ts +1 -1
- package/dist/support/components/analytics/SatisfactionDistribution.d.ts +1 -1
- package/dist/support/components/analytics/TopAgents.d.ts +1 -1
- package/dist/support/components/analytics/TrendChart.d.ts +1 -1
- package/dist/support/components/careers/BulkCandidateActionGuidance.d.ts +1 -1
- package/dist/support/components/careers/BulkCandidateDialogs.d.ts +7 -7
- package/dist/support/components/careers/BulkOperationFeedback.d.ts +8 -8
- package/dist/support/components/careers/BulkSelectionSummary.d.ts +2 -2
- package/dist/support/components/careers/RichTextEditor.d.ts +1 -2
- package/dist/support/components/careers/RichTextEditor.js.map +1 -1
- package/dist/support/components/kb/ArticleForm.d.ts +1 -1
- package/dist/support/components/settings/CannedResponsesSettings.d.ts +1 -1
- package/dist/support/components/settings/SLAPoliciesSettings.d.ts +1 -1
- package/dist/support/components/settings/TicketCategoriesSettings.d.ts +1 -1
- package/dist/support/components/tickets/AttachmentList.d.ts +1 -1
- package/dist/support/components/tickets/MarkdownContent.d.ts +1 -1
- package/dist/support/components/tickets/MessageComposer.d.ts +1 -1
- package/dist/support/components/tickets/MessageThread.d.ts +2 -2
- package/dist/support/components/tickets/TicketDetailHeader.d.ts +2 -2
- package/dist/support/components/tickets/TicketHeader.d.ts +2 -2
- package/dist/support/components/tickets/TicketSidebar.d.ts +2 -2
- package/dist/support/components/tickets/TriagePanel.d.ts +2 -2
- package/dist/support/constants/pipeline.d.ts +0 -6
- package/dist/support/events/rybbit.d.ts +1 -1
- package/dist/support/hooks/useAnalyticsOperations.d.ts +10 -25
- package/dist/support/hooks/useAnalyticsOperations.js +40 -39
- package/dist/support/hooks/useAnalyticsOperations.js.map +1 -1
- package/dist/support/hooks/useAttachmentsFailedToast.d.ts +1 -1
- package/dist/support/hooks/useChatOperations.d.ts +2 -2
- package/dist/support/hooks/useKnowledgeBaseOperations.d.ts +7 -13
- package/dist/support/hooks/useKnowledgeBaseOperations.js +84 -83
- package/dist/support/hooks/useKnowledgeBaseOperations.js.map +1 -1
- package/dist/support/hooks/useRegisterFooter.d.ts +1 -1
- package/dist/support/hooks/useSettingsOperations.d.ts +7 -16
- package/dist/support/hooks/useSupportAttachments.d.ts +1 -1
- package/dist/support/hooks/useTicketListOperations.d.ts +3 -6
- package/dist/support/hooks/useTicketOperations.d.ts +5 -11
- package/dist/support/hooks/useTicketOperations.js +80 -79
- package/dist/support/hooks/useTicketOperations.js.map +1 -1
- package/dist/support/pages/AnalyticsPage.d.ts +1 -1
- package/dist/support/pages/ArticleDetailAdminPage.d.ts +1 -1
- package/dist/support/pages/ArticleDetailUserPage.d.ts +1 -1
- package/dist/support/pages/ContactInquiriesPage.d.ts +1 -1
- package/dist/support/pages/ContactInquiryDetailPage.d.ts +1 -1
- package/dist/support/pages/CreateArticlePage.d.ts +1 -1
- package/dist/support/pages/CreateTicketPage.d.ts +1 -1
- package/dist/support/pages/EditArticlePage.d.ts +1 -1
- package/dist/support/pages/InterviewersPage.d.ts +1 -1
- package/dist/support/pages/JobApplicationDetailPage.d.ts +1 -2
- package/dist/support/pages/JobApplicationsPage.d.ts +1 -1
- package/dist/support/pages/JobPostingDetailPage.d.ts +1 -1
- package/dist/support/pages/JobPostingsPage.d.ts +1 -1
- package/dist/support/pages/KnowledgeBaseAdminPage.d.ts +1 -1
- package/dist/support/pages/KnowledgeBaseUserPage.d.ts +1 -1
- package/dist/support/pages/SettingsPage.d.ts +1 -1
- package/dist/support/pages/SettingsPage.js.map +1 -1
- package/dist/support/pages/TicketDetailAdminPage.d.ts +1 -1
- package/dist/support/pages/TicketDetailUserPage.d.ts +1 -1
- package/dist/support/pages/TicketDetailUserPage.js.map +1 -1
- package/dist/support/pages/TicketListPage.d.ts +1 -1
- package/dist/support/providers/SupportProvider.d.ts +2 -2
- package/dist/support/store/supportStore.d.ts +2 -2
- package/dist/support/utils/bulkCandidateTargetQuery.d.ts +1 -1
- package/dist/support/utils/cn.d.ts +1 -1
- package/dist/support/utils/index.d.ts +1 -1
- package/dist/support/utils/markdown.d.ts +0 -1
- package/dist/support/utils/refetch.d.ts +12 -0
- package/dist/support/utils/refetch.js +7 -0
- package/dist/support/utils/refetch.js.map +1 -0
- package/dist/support/utils/ticketFilters.d.ts +2 -2
- package/dist/support/utils/uiTokens.d.ts +1 -1
- package/dist/test/dom.d.ts +1 -0
- package/dist/test/setup.d.ts +1 -0
- package/package.json +65 -54
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { __commonJSMin as e, __require as t } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_shim as n } from "../../shim/index.js";
|
|
3
|
+
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js
|
|
4
|
+
var r = /* @__PURE__ */ e(((e) => {
|
|
5
|
+
process.env.NODE_ENV !== "production" && (function() {
|
|
6
|
+
function r(e, t) {
|
|
7
|
+
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
|
|
8
|
+
}
|
|
9
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
10
|
+
var i = t("react"), a = n(), o = typeof Object.is == "function" ? Object.is : r, s = a.useSyncExternalStore, c = i.useRef, l = i.useEffect, u = i.useMemo, d = i.useDebugValue;
|
|
11
|
+
e.useSyncExternalStoreWithSelector = function(e, t, n, r, i) {
|
|
12
|
+
var a = c(null);
|
|
13
|
+
if (a.current === null) {
|
|
14
|
+
var f = {
|
|
15
|
+
hasValue: !1,
|
|
16
|
+
value: null
|
|
17
|
+
};
|
|
18
|
+
a.current = f;
|
|
19
|
+
} else f = a.current;
|
|
20
|
+
a = u(function() {
|
|
21
|
+
function e(e) {
|
|
22
|
+
if (!a) {
|
|
23
|
+
if (a = !0, s = e, e = r(e), i !== void 0 && f.hasValue) {
|
|
24
|
+
var t = f.value;
|
|
25
|
+
if (i(t, e)) return c = t;
|
|
26
|
+
}
|
|
27
|
+
return c = e;
|
|
28
|
+
}
|
|
29
|
+
if (t = c, o(s, e)) return t;
|
|
30
|
+
var n = r(e);
|
|
31
|
+
return i !== void 0 && i(t, n) ? (s = e, t) : (s = e, c = n);
|
|
32
|
+
}
|
|
33
|
+
var a = !1, s, c, l = n === void 0 ? null : n;
|
|
34
|
+
return [function() {
|
|
35
|
+
return e(t());
|
|
36
|
+
}, l === null ? void 0 : function() {
|
|
37
|
+
return e(l());
|
|
38
|
+
}];
|
|
39
|
+
}, [
|
|
40
|
+
t,
|
|
41
|
+
n,
|
|
42
|
+
r,
|
|
43
|
+
i
|
|
44
|
+
]);
|
|
45
|
+
var p = s(e, a[0], a[1]);
|
|
46
|
+
return l(function() {
|
|
47
|
+
f.hasValue = !0, f.value = p;
|
|
48
|
+
}, [p]), d(p), p;
|
|
49
|
+
}, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
50
|
+
})();
|
|
51
|
+
}));
|
|
52
|
+
export default r();
|
|
53
|
+
export { r as require_with_selector_development };
|
|
54
|
+
|
|
55
|
+
//# sourceMappingURL=with-selector.development.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-selector.development.js","names":["require_with_selector_development","is","x","y","React","__require","shim","require_shim","objectIs","useSyncExternalStore","useRef","useEffect","useMemo","useDebugValue","instRef","inst","memoizedSelector","hasMemo","nextSnapshot","selector","isEqual","currentSelection","memoizedSelection","memoizedSnapshot","nextSelection","maybeGetServerSnapshot","getServerSnapshot","getSnapshot","value","subscribe"],"sources":["../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\n exports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n ) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot))\n return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n };\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"ignoreList":[0],"mappings":";;;;CAWA,AAAA,QAAA,IAAA,aAAA,iBAC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B,OAAOA;IAC1C,OAAO,CACL,WAAY;KACV,OAAOV,EAAiBW,EAAY,CAAC;IACvC,GACSF,MAAT,OACI,KAAK,IACL,WAAY;KACV,OAAOT,EAAiBS,EAAuB,CAAC;IAClD,CACN;GACF,GACA;IAACE;IAAaD;IAAmBP;IAAUC;GAAO,CACpD;GACA,IAAIQ,IAAQnB,EAAqBoB,GAAWf,EAAQ,IAAIA,EAAQ,EAAE;GASlE,OARAH,EACE,WAAY;IAEV,AADA,EAAK,WAAW,CAAC,GACjB,EAAK,QAAQiB;GACf,GACA,CAACA,CAAK,CACR,GACAf,EAAce,CAAK,GACZA;EACT,GACgB,OAAO,iCAAvB,OAEI,OAAO,+BAA+B,8BADxC,cAEA,+BAA+B,2BAA2B,MAAM,CAAC;CACrE,EAAA,CAAG"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { __commonJSMin as e, __require as t } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_shim as n } from "../../shim/index.js";
|
|
3
|
+
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
|
|
4
|
+
var r = /* @__PURE__ */ e(((e) => {
|
|
5
|
+
var r = t("react"), i = n();
|
|
6
|
+
function a(e, t) {
|
|
7
|
+
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
|
|
8
|
+
}
|
|
9
|
+
var o = typeof Object.is == "function" ? Object.is : a, s = i.useSyncExternalStore, c = r.useRef, l = r.useEffect, u = r.useMemo, d = r.useDebugValue;
|
|
10
|
+
e.useSyncExternalStoreWithSelector = function(e, t, n, r, i) {
|
|
11
|
+
var a = c(null);
|
|
12
|
+
if (a.current === null) {
|
|
13
|
+
var f = {
|
|
14
|
+
hasValue: !1,
|
|
15
|
+
value: null
|
|
16
|
+
};
|
|
17
|
+
a.current = f;
|
|
18
|
+
} else f = a.current;
|
|
19
|
+
a = u(function() {
|
|
20
|
+
function e(e) {
|
|
21
|
+
if (!a) {
|
|
22
|
+
if (a = !0, s = e, e = r(e), i !== void 0 && f.hasValue) {
|
|
23
|
+
var t = f.value;
|
|
24
|
+
if (i(t, e)) return c = t;
|
|
25
|
+
}
|
|
26
|
+
return c = e;
|
|
27
|
+
}
|
|
28
|
+
if (t = c, o(s, e)) return t;
|
|
29
|
+
var n = r(e);
|
|
30
|
+
return i !== void 0 && i(t, n) ? (s = e, t) : (s = e, c = n);
|
|
31
|
+
}
|
|
32
|
+
var a = !1, s, c, l = n === void 0 ? null : n;
|
|
33
|
+
return [function() {
|
|
34
|
+
return e(t());
|
|
35
|
+
}, l === null ? void 0 : function() {
|
|
36
|
+
return e(l());
|
|
37
|
+
}];
|
|
38
|
+
}, [
|
|
39
|
+
t,
|
|
40
|
+
n,
|
|
41
|
+
r,
|
|
42
|
+
i
|
|
43
|
+
]);
|
|
44
|
+
var p = s(e, a[0], a[1]);
|
|
45
|
+
return l(function() {
|
|
46
|
+
f.hasValue = !0, f.value = p;
|
|
47
|
+
}, [p]), d(p), p;
|
|
48
|
+
};
|
|
49
|
+
}));
|
|
50
|
+
export default r();
|
|
51
|
+
export { r as require_with_selector_production };
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=with-selector.production.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-selector.production.js","names":["require_with_selector_production","React","__require","shim","require_shim","is","x","y","objectIs","useSyncExternalStore","useRef","useEffect","useMemo","useDebugValue","instRef","inst","memoizedSelector","hasMemo","nextSnapshot","selector","isEqual","currentSelection","memoizedSelection","memoizedSnapshot","nextSelection","maybeGetServerSnapshot","getServerSnapshot","getSnapshot","value","subscribe"],"sources":["../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\nexports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n};\n"],"ignoreList":[0],"mappings":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,IACL,WAAY;IACV,OAAOT,EAAiBS,EAAuB,CAAC;GAClD,CACN;EACF,GACA;GAACE;GAAaD;GAAmBP;GAAUC;EAAO,CACpD;EACA,IAAIQ,IAAQnB,EAAqBoB,GAAWf,EAAQ,IAAIA,EAAQ,EAAE;EASlE,OARAH,EACE,WAAY;GAEV,AADA,EAAK,WAAW,CAAC,GACjB,EAAK,QAAQiB;EACf,GACA,CAACA,CAAK,CACR,GACAf,EAAce,CAAK,GACZA;CACT"}
|
package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { __commonJSMin as e, __require as t } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js
|
|
3
|
+
var n = /* @__PURE__ */ e(((e) => {
|
|
4
|
+
process.env.NODE_ENV !== "production" && (function() {
|
|
5
|
+
function n(e, t) {
|
|
6
|
+
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
|
|
7
|
+
}
|
|
8
|
+
function r(e, t) {
|
|
9
|
+
f || o.startTransition === void 0 || (f = !0, console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
|
|
10
|
+
var n = t();
|
|
11
|
+
if (!p) {
|
|
12
|
+
var r = t();
|
|
13
|
+
s(n, r) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), p = !0);
|
|
14
|
+
}
|
|
15
|
+
r = c({ inst: {
|
|
16
|
+
value: n,
|
|
17
|
+
getSnapshot: t
|
|
18
|
+
} });
|
|
19
|
+
var a = r[0].inst, m = r[1];
|
|
20
|
+
return u(function() {
|
|
21
|
+
a.value = n, a.getSnapshot = t, i(a) && m({ inst: a });
|
|
22
|
+
}, [
|
|
23
|
+
e,
|
|
24
|
+
n,
|
|
25
|
+
t
|
|
26
|
+
]), l(function() {
|
|
27
|
+
return i(a) && m({ inst: a }), e(function() {
|
|
28
|
+
i(a) && m({ inst: a });
|
|
29
|
+
});
|
|
30
|
+
}, [e]), d(n), n;
|
|
31
|
+
}
|
|
32
|
+
function i(e) {
|
|
33
|
+
var t = e.getSnapshot;
|
|
34
|
+
e = e.value;
|
|
35
|
+
try {
|
|
36
|
+
var n = t();
|
|
37
|
+
return !s(e, n);
|
|
38
|
+
} catch {
|
|
39
|
+
return !0;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function a(e, t) {
|
|
43
|
+
return t();
|
|
44
|
+
}
|
|
45
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
46
|
+
var o = t("react"), s = typeof Object.is == "function" ? Object.is : n, c = o.useState, l = o.useEffect, u = o.useLayoutEffect, d = o.useDebugValue, f = !1, p = !1, m = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? a : r;
|
|
47
|
+
e.useSyncExternalStore = o.useSyncExternalStore === void 0 ? m : o.useSyncExternalStore, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
48
|
+
})();
|
|
49
|
+
}));
|
|
50
|
+
export default n();
|
|
51
|
+
export { n as require_use_sync_external_store_shim_development };
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=use-sync-external-store-shim.development.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-sync-external-store-shim.development.js","names":["require_use_sync_external_store_shim_development","is","x","y","useSyncExternalStore$2","React","value","getSnapshot","didWarnUncachedGetSnapshot","cachedValue","useState","inst","forceUpdate","useLayoutEffect","checkIfSnapshotChanged","subscribe","useEffect","useDebugValue","latestGetSnapshot","nextValue","objectIs","useSyncExternalStore$1","__require","didWarnOld18Alpha","shim"],"sources":["../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n function useSyncExternalStore$2(subscribe, getSnapshot) {\n didWarnOld18Alpha ||\n void 0 === React.startTransition ||\n ((didWarnOld18Alpha = !0),\n console.error(\n \"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.\"\n ));\n var value = getSnapshot();\n if (!didWarnUncachedGetSnapshot) {\n var cachedValue = getSnapshot();\n objectIs(value, cachedValue) ||\n (console.error(\n \"The result of getSnapshot should be cached to avoid an infinite loop\"\n ),\n (didWarnUncachedGetSnapshot = !0));\n }\n cachedValue = useState({\n inst: { value: value, getSnapshot: getSnapshot }\n });\n var inst = cachedValue[0].inst,\n forceUpdate = cachedValue[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n }\n function checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n }\n function useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue,\n didWarnOld18Alpha = !1,\n didWarnUncachedGetSnapshot = !1,\n shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\n exports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"ignoreList":[0],"mappings":";;;CAWA,AAAA,QAAA,IAAA,aAAA,iBACG,WAAY;EACX,SAASC,EAAG,GAAG,GAAG;GAChB,OAAQC,MAAMC,MAAYD,MAAN,KAAW,IAAIA,KAAM,IAAIC,MAAQD,MAAMA,KAAKC,MAAMA;EACxE;EACA,SAASC,EAAuB,GAAW,GAAa;GACtD,KACaC,EAAM,oBAAjB,KAAK,MACH,IAAoB,CAAC,GACvB,QAAQ,MACN,gMACF;GACF,IAAIC,IAAQC,EAAY;GACxB,IAAI,CAACC,GAA4B;IAC/B,IAAIC,IAAcF,EAAY;IAC9B,EAASD,GAAOG,CAAW,MACxB,QAAQ,MACP,sEACF,GACC,IAA6B,CAAC;GACnC;GACA,IAAcC,EAAS,EACrB,MAAM;IAAS;IAAoB;GAAY,EACjD,CAAC;GACD,IAAIC,I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C;CACrE,EAAA,CAAG"}
|
package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { __commonJSMin as e, __require as t } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
|
|
3
|
+
var n = /* @__PURE__ */ e(((e) => {
|
|
4
|
+
var n = t("react");
|
|
5
|
+
function r(e, t) {
|
|
6
|
+
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
|
|
7
|
+
}
|
|
8
|
+
var i = typeof Object.is == "function" ? Object.is : r, a = n.useState, o = n.useEffect, s = n.useLayoutEffect, c = n.useDebugValue;
|
|
9
|
+
function l(e, t) {
|
|
10
|
+
var n = t(), r = a({ inst: {
|
|
11
|
+
value: n,
|
|
12
|
+
getSnapshot: t
|
|
13
|
+
} }), i = r[0].inst, l = r[1];
|
|
14
|
+
return s(function() {
|
|
15
|
+
i.value = n, i.getSnapshot = t, u(i) && l({ inst: i });
|
|
16
|
+
}, [
|
|
17
|
+
e,
|
|
18
|
+
n,
|
|
19
|
+
t
|
|
20
|
+
]), o(function() {
|
|
21
|
+
return u(i) && l({ inst: i }), e(function() {
|
|
22
|
+
u(i) && l({ inst: i });
|
|
23
|
+
});
|
|
24
|
+
}, [e]), c(n), n;
|
|
25
|
+
}
|
|
26
|
+
function u(e) {
|
|
27
|
+
var t = e.getSnapshot;
|
|
28
|
+
e = e.value;
|
|
29
|
+
try {
|
|
30
|
+
var n = t();
|
|
31
|
+
return !i(e, n);
|
|
32
|
+
} catch {
|
|
33
|
+
return !0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function d(e, t) {
|
|
37
|
+
return t();
|
|
38
|
+
}
|
|
39
|
+
var f = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? d : l;
|
|
40
|
+
e.useSyncExternalStore = n.useSyncExternalStore === void 0 ? f : n.useSyncExternalStore;
|
|
41
|
+
}));
|
|
42
|
+
export default n();
|
|
43
|
+
export { n as require_use_sync_external_store_shim_production };
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=use-sync-external-store-shim.production.js.map
|
package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-sync-external-store-shim.production.js","names":["require_use_sync_external_store_shim_production","React","__require","is","x","y","objectIs","useState","useEffect","useLayoutEffect","useDebugValue","useSyncExternalStore$2","value","getSnapshot","_useState","inst","forceUpdate","checkIfSnapshotChanged","subscribe","latestGetSnapshot","nextValue","useSyncExternalStore$1","shim"],"sources":["../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useState = React.useState,\n useEffect = React.useEffect,\n useLayoutEffect = React.useLayoutEffect,\n useDebugValue = React.useDebugValue;\nfunction useSyncExternalStore$2(subscribe, getSnapshot) {\n var value = getSnapshot(),\n _useState = useState({ inst: { value: value, getSnapshot: getSnapshot } }),\n inst = _useState[0].inst,\n forceUpdate = _useState[1];\n useLayoutEffect(\n function () {\n inst.value = value;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n },\n [subscribe, value, getSnapshot]\n );\n useEffect(\n function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceUpdate({ inst: inst });\n });\n },\n [subscribe]\n );\n useDebugValue(value);\n return value;\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction useSyncExternalStore$1(subscribe, getSnapshot) {\n return getSnapshot();\n}\nvar shim =\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ? useSyncExternalStore$1\n : useSyncExternalStore$2;\nexports.useSyncExternalStore =\n void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;\n"],"ignoreList":[0],"mappings":";;;CAWA,IAAIC,IAAAC,EAAgB,OAAO;CAC3B,SAASC,EAAG,GAAG,GAAG;EAChB,OAAQC,MAAMC,MAAYD,MAAN,KAAW,IAAIA,KAAM,IAAIC,MAAQD,MAAMA,KAAKC,MAAMA;CACxE;CACA,IAAIC,IAA0B,OAAO,OAAO,MAA7B,aAAkC,OAAO,KAAKH,GAC3DI,IAAWN,EAAM,UACjBO,IAAYP,EAAM,WAClBQ,IAAkBR,EAAM,iBACxBS,IAAgBT,EAAM;CACxB,SAASU,EAAuB,GAAW,GAAa;EACtD,IAAIC,IAAQC,EAAY,GACtBC,IAAYP,EAAS,EAAE,MAAM;GAAS;GAAoB;EAAY,EAAE,CAAC,GACzEQ,IAAOD,EAAU,EAAE,CAAC,MACpBE,IAAcF,EAAU;EAmB1B,OAlBAL,EACE,WAAY;GAGV,AAFA,EAAK,QAAQG,GACb,EAAK,cAAcC,GACnBI,EAAuBF,CAAI,KAAKC,EAAY,EAAQ,QAAK,CAAC;EAC5D,GACA;GAACE;GAAWN;GAAOC;EAAW,CAChC,GACAL,EACE,WAAY;GAEV,OADAS,EAAuBF,CAAI,KAAKC,EAAY,EAAQ,QAAK,CAAC,GACnDE,EAAU,WAAY;IAC3B,EAAuBH,CAAI,KAAKC,EAAY,EAAQ,QAAK,CAAC;GAC5D,CAAC;EACH,GACA,CAACE,CAAS,CACZ,GACAR,EAAcE,CAAK,GACZA;CACT;CACA,SAASK,EAAuB,GAAM;EACpC,IAAIE,IAAoBJ,EAAK;EAC7B,IAAOA,EAAK;EACZ,IAAI;GACF,IAAIK,IAAYD,EAAkB;GAClC,OAAO,CAACb,EAASS,GAAMK,CAAS;EAClC,QAAgB;GACd,OAAO,CAAC;EACV;CACF;CACA,SAASC,EAAuB,GAAW,GAAa;EACtD,OAAOR,EAAY;CACrB;CACA,IAAIS,IACc,OAAO,SAAvB,OACuB,OAAO,aAA9B,UACuB,OAAO,SAAS,kBAAvC,SACID,IACAV;CACN,EAAQ,uBACKV,EAAM,yBAAjB,KAAK,IAAgEqB,IAA7BrB,EAAM"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_use_sync_external_store_shim_production as t } from "../cjs/use-sync-external-store-shim.production.js";
|
|
3
|
+
import { require_use_sync_external_store_shim_development as n } from "../cjs/use-sync-external-store-shim.development.js";
|
|
4
|
+
// node_modules/use-sync-external-store/shim/index.js
|
|
5
|
+
var r = /* @__PURE__ */ e(((e, r) => {
|
|
6
|
+
r.exports = process.env.NODE_ENV === "production" ? t() : n();
|
|
7
|
+
}));
|
|
8
|
+
export default r();
|
|
9
|
+
export { r as require_shim };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["require_shim","module","require_use_sync_external_store_shim_production","require_use_sync_external_store_shim_development"],"sources":["../../../../node_modules/use-sync-external-store/shim/index.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.development.js');\n}\n"],"ignoreList":[0],"mappings":";;;;;CAEA,AAGEC,EAAO,UAHT,QAAA,IAAA,aAA6B,eACpBC,EAAA,IAEAC,EAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_with_selector_production as t } from "../cjs/use-sync-external-store-shim/with-selector.production.js";
|
|
3
|
+
import { require_with_selector_development as n } from "../cjs/use-sync-external-store-shim/with-selector.development.js";
|
|
4
|
+
// node_modules/use-sync-external-store/shim/with-selector.js
|
|
5
|
+
var r = /* @__PURE__ */ e(((e, r) => {
|
|
6
|
+
r.exports = process.env.NODE_ENV === "production" ? t() : n();
|
|
7
|
+
}));
|
|
8
|
+
export default r();
|
|
9
|
+
export { r as require_with_selector };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=with-selector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with-selector.js","names":["require_with_selector","module","require_with_selector_production","require_with_selector_development"],"sources":["../../../../node_modules/use-sync-external-store/shim/with-selector.js"],"sourcesContent":["'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.production.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim/with-selector.development.js');\n}\n"],"ignoreList":[0],"mappings":";;;;;CAEA,AAGEC,EAAO,UAHT,QAAA,IAAA,aAA6B,eACpBC,EAAA,IAEAC,EAAA"}
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
*
|
|
11
11
|
* User-only ticket and knowledge-base routes are excluded — see SupportUserRoutes for those.
|
|
12
12
|
*/
|
|
13
|
-
export declare function SupportAdminRoutes(): import(
|
|
13
|
+
export declare function SupportAdminRoutes(): import('react').JSX.Element;
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
* Admin-only features (inquiries, analytics, settings, KB authoring)
|
|
9
9
|
* are excluded — see SupportAdminRoutes for those.
|
|
10
10
|
*/
|
|
11
|
-
export declare function SupportUserRoutes(): import(
|
|
11
|
+
export declare function SupportUserRoutes(): import('react').JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { NotificationState } from '../hooks/useNotification';
|
|
3
3
|
interface NotificationToastProps {
|
|
4
4
|
notification: NotificationState | null;
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
interface PageLayoutProps {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
/** Page title */
|
|
@@ -42,7 +42,7 @@ interface PageLayoutProps {
|
|
|
42
42
|
* - Animated entrance
|
|
43
43
|
* - Consistent header styling
|
|
44
44
|
*/
|
|
45
|
-
export declare function PageLayout({ children, title, subtitle, icon, headerActions, headerContent, maxWidth, showHeader, className, contentClassName, aurora, titleAccent, }: PageLayoutProps): import(
|
|
45
|
+
export declare function PageLayout({ children, title, subtitle, icon, headerActions, headerContent, maxWidth, showHeader, className, contentClassName, aurora, titleAccent, }: PageLayoutProps): import('react').JSX.Element;
|
|
46
46
|
/**
|
|
47
47
|
* EmptyState - A consistent empty state component
|
|
48
48
|
*/
|
|
@@ -60,12 +60,12 @@ export declare function EmptyState({ icon, illustration, illustrationAlt, title,
|
|
|
60
60
|
description?: string;
|
|
61
61
|
action?: ReactNode;
|
|
62
62
|
className?: string;
|
|
63
|
-
}): import(
|
|
63
|
+
}): import('react').JSX.Element;
|
|
64
64
|
/**
|
|
65
65
|
* LoadingState - A consistent loading state component
|
|
66
66
|
*/
|
|
67
67
|
export declare function LoadingState({ message, className }: {
|
|
68
68
|
message?: string;
|
|
69
69
|
className?: string;
|
|
70
|
-
}): import(
|
|
70
|
+
}): import('react').JSX.Element;
|
|
71
71
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shared loading fallback for lazy-loaded route pages.
|
|
3
3
|
*/
|
|
4
|
-
export declare function PageLoader(): import(
|
|
4
|
+
export declare function PageLoader(): import('react').JSX.Element;
|
|
5
5
|
/**
|
|
6
6
|
* Catch-all redirect that sends unknown paths to the tickets page.
|
|
7
7
|
* Uses basePath from SupportProvider context and joinPath to avoid double-slashes.
|
|
@@ -5,5 +5,5 @@ interface CategoryCount {
|
|
|
5
5
|
interface CategoryBreakdownProps {
|
|
6
6
|
data: CategoryCount[];
|
|
7
7
|
}
|
|
8
|
-
export declare function CategoryBreakdown({ data }: CategoryBreakdownProps): import(
|
|
8
|
+
export declare function CategoryBreakdown({ data }: CategoryBreakdownProps): import('react').JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -6,5 +6,5 @@ interface MetricCardProps {
|
|
|
6
6
|
iconColor: string;
|
|
7
7
|
subtitle?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function MetricCard({ title, value, icon: Icon, iconColor, subtitle }: MetricCardProps): import(
|
|
9
|
+
export declare function MetricCard({ title, value, icon: Icon, iconColor, subtitle }: MetricCardProps): import('react').JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -5,5 +5,5 @@ interface PriorityCount {
|
|
|
5
5
|
interface PriorityBreakdownProps {
|
|
6
6
|
data: PriorityCount[];
|
|
7
7
|
}
|
|
8
|
-
export declare function PriorityBreakdown({ data }: PriorityBreakdownProps): import(
|
|
8
|
+
export declare function PriorityBreakdown({ data }: PriorityBreakdownProps): import('react').JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -19,5 +19,5 @@ interface SLAReportProps {
|
|
|
19
19
|
byPriority: SLAComplianceByPriority[];
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
export declare function SLAReport({ report }: SLAReportProps): import(
|
|
22
|
+
export declare function SLAReport({ report }: SLAReportProps): import('react').JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -19,5 +19,5 @@ interface SatisfactionMetrics {
|
|
|
19
19
|
interface SatisfactionDistributionProps {
|
|
20
20
|
metrics: SatisfactionMetrics;
|
|
21
21
|
}
|
|
22
|
-
export declare function SatisfactionDistribution({ metrics }: SatisfactionDistributionProps): import(
|
|
22
|
+
export declare function SatisfactionDistribution({ metrics }: SatisfactionDistributionProps): import('react').JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -15,5 +15,5 @@ interface TopAgent {
|
|
|
15
15
|
interface TopAgentsProps {
|
|
16
16
|
agents: TopAgent[];
|
|
17
17
|
}
|
|
18
|
-
export declare function TopAgents({ agents }: TopAgentsProps): import(
|
|
18
|
+
export declare function TopAgents({ agents }: TopAgentsProps): import('react').JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -11,5 +11,5 @@ interface TrendChartProps {
|
|
|
11
11
|
label: string;
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
|
-
export declare function TrendChart({ trends, period }: TrendChartProps): import(
|
|
14
|
+
export declare function TrendChart({ trends, period }: TrendChartProps): import('react').JSX.Element | null;
|
|
15
15
|
export {};
|
|
@@ -2,5 +2,5 @@ interface BulkCandidateActionGuidanceProps {
|
|
|
2
2
|
action: 'message' | 'assignment';
|
|
3
3
|
unresolvedCount?: number;
|
|
4
4
|
}
|
|
5
|
-
export declare function BulkCandidateActionGuidance({ action, unresolvedCount, }: BulkCandidateActionGuidanceProps): import(
|
|
5
|
+
export declare function BulkCandidateActionGuidance({ action, unresolvedCount, }: BulkCandidateActionGuidanceProps): import('react').JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { GetJobPostingQuery } from '../../../generated/global-operations';
|
|
2
|
+
import { BulkCandidateTarget, CandidateSelectionState } from '../../utils/bulkCandidateOperations';
|
|
3
3
|
type JobPostingRoundConfig = NonNullable<GetJobPostingQuery['jobPosting']>['rounds'][number];
|
|
4
4
|
export type BulkCandidateDialogMode = 'message' | 'assignment';
|
|
5
5
|
type AssignmentRoundConfig = Pick<JobPostingRoundConfig, 'isAssignmentRound' | 'roundType'>;
|
|
@@ -16,8 +16,8 @@ interface SharedDialogProps {
|
|
|
16
16
|
export declare function BulkCandidateSendDialog({ mode, open, onClose, onOpenAddRound, targets, selection, jobPostingId, previewLoading, previewError, }: SharedDialogProps & {
|
|
17
17
|
mode: BulkCandidateDialogMode;
|
|
18
18
|
onOpenAddRound: () => void;
|
|
19
|
-
}): import(
|
|
20
|
-
export declare function AddSelectedToRoundDialog({ open, onClose, targets, selection, jobPostingId, previewLoading, previewError, }: SharedDialogProps): import(
|
|
19
|
+
}): import('react').JSX.Element;
|
|
20
|
+
export declare function AddSelectedToRoundDialog({ open, onClose, targets, selection, jobPostingId, previewLoading, previewError, }: SharedDialogProps): import('react').JSX.Element;
|
|
21
21
|
/**
|
|
22
22
|
* Notifies candidates who have more than one application on file (and so may
|
|
23
23
|
* have received more than one take-home assignment email) that they only need
|
|
@@ -26,7 +26,7 @@ export declare function AddSelectedToRoundDialog({ open, onClose, targets, selec
|
|
|
26
26
|
* email address, so selecting several duplicate applications for the same
|
|
27
27
|
* person still sends exactly one notice.
|
|
28
28
|
*/
|
|
29
|
-
export declare function NotifyDuplicateApplicantsDialog({ open, onClose, targets, selection, jobPostingId, previewLoading, previewError, }: SharedDialogProps): import(
|
|
30
|
-
export declare function BulkCustomEmailDialog({ open, onClose, targets, selection, previewLoading, previewError, }: SharedDialogProps): import(
|
|
31
|
-
export declare function BulkStatusUpdateDialog({ open, onClose, targets, selection, previewLoading, previewError, }: SharedDialogProps): import(
|
|
29
|
+
export declare function NotifyDuplicateApplicantsDialog({ open, onClose, targets, selection, jobPostingId, previewLoading, previewError, }: SharedDialogProps): import('react').JSX.Element;
|
|
30
|
+
export declare function BulkCustomEmailDialog({ open, onClose, targets, selection, previewLoading, previewError, }: SharedDialogProps): import('react').JSX.Element;
|
|
31
|
+
export declare function BulkStatusUpdateDialog({ open, onClose, targets, selection, previewLoading, previewError, }: SharedDialogProps): import('react').JSX.Element;
|
|
32
32
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BulkCustomEmailAggregate, BulkStatusUpdateAggregate, CandidateEmailAggregate, DuplicateNoticeAggregate, EnsureRoundAggregate, SequentialExecutionProgress } from '../../utils/bulkCandidateOperations';
|
|
2
2
|
interface BulkOperationProgressProps {
|
|
3
3
|
progress: SequentialExecutionProgress;
|
|
4
4
|
}
|
|
5
|
-
export declare function BulkOperationProgress({ progress }: BulkOperationProgressProps): import(
|
|
5
|
+
export declare function BulkOperationProgress({ progress }: BulkOperationProgressProps): import('react').JSX.Element;
|
|
6
6
|
export interface StoppedBulkOperationDetails {
|
|
7
7
|
knownCompleted: number;
|
|
8
8
|
ambiguous: number;
|
|
@@ -11,20 +11,20 @@ export interface StoppedBulkOperationDetails {
|
|
|
11
11
|
}
|
|
12
12
|
export declare function StoppedBulkOperationNotice({ details }: {
|
|
13
13
|
details: StoppedBulkOperationDetails;
|
|
14
|
-
}): import(
|
|
14
|
+
}): import('react').JSX.Element;
|
|
15
15
|
export declare function CandidateEmailResultDetails({ result }: {
|
|
16
16
|
result: CandidateEmailAggregate;
|
|
17
|
-
}): import(
|
|
17
|
+
}): import('react').JSX.Element | null;
|
|
18
18
|
export declare function EnsureRoundResultDetails({ result }: {
|
|
19
19
|
result: EnsureRoundAggregate;
|
|
20
|
-
}): import(
|
|
20
|
+
}): import('react').JSX.Element | null;
|
|
21
21
|
export declare function BulkCustomEmailResultDetails({ result }: {
|
|
22
22
|
result: BulkCustomEmailAggregate;
|
|
23
|
-
}): import(
|
|
23
|
+
}): import('react').JSX.Element | null;
|
|
24
24
|
export declare function BulkStatusUpdateResultDetails({ result }: {
|
|
25
25
|
result: BulkStatusUpdateAggregate;
|
|
26
|
-
}): import(
|
|
26
|
+
}): import('react').JSX.Element | null;
|
|
27
27
|
export declare function DuplicateNoticeResultDetails({ result }: {
|
|
28
28
|
result: DuplicateNoticeAggregate;
|
|
29
|
-
}): import(
|
|
29
|
+
}): import('react').JSX.Element | null;
|
|
30
30
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CandidateSelectionState } from '../../utils/bulkCandidateOperations';
|
|
2
2
|
interface BulkSelectionSummaryProps {
|
|
3
3
|
selection: CandidateSelectionState;
|
|
4
4
|
}
|
|
5
|
-
export declare function BulkSelectionSummary({ selection }: BulkSelectionSummaryProps): import(
|
|
5
|
+
export declare function BulkSelectionSummary({ selection }: BulkSelectionSummaryProps): import('react').JSX.Element | null;
|
|
6
6
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import '../../styles/richtext.css';
|
|
2
1
|
/**
|
|
3
2
|
* Minimal WYSIWYG editor for admin-authored candidate-facing copy (job
|
|
4
3
|
* assignment description / problem statement). Output is an HTML string —
|
|
@@ -13,4 +12,4 @@ export interface RichTextEditorProps {
|
|
|
13
12
|
placeholder?: string;
|
|
14
13
|
'aria-required'?: boolean;
|
|
15
14
|
}
|
|
16
|
-
export declare function RichTextEditor({ id, value, onChange, placeholder, ...rest }: RichTextEditorProps): import(
|
|
15
|
+
export declare function RichTextEditor({ id, value, onChange, placeholder, ...rest }: RichTextEditorProps): import('react').JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RichTextEditor.js","names":["StarterKit","Placeholder","
|
|
1
|
+
{"version":3,"file":"RichTextEditor.js","names":["StarterKit","Placeholder","src_default","src_default$1","EMPTY_DOC","ToolbarButton","label","active","cn","Icon","RichTextEditor","rest","editor","useEditor","placeholder","value","id","instance","html","useEffect","current","next","Bold","Italic","List","ListOrdered","EditorContent"],"sources":["../../../../src/support/components/careers/RichTextEditor.tsx"],"sourcesContent":["import { useEffect } from 'react';\nimport { EditorContent, useEditor } from '@tiptap/react';\nimport StarterKit from '@tiptap/starter-kit';\nimport Placeholder from '@tiptap/extension-placeholder';\nimport { Bold, Italic, List, ListOrdered } from 'lucide-react';\nimport { cn } from '../../utils/cn';\nimport '../../styles/richtext.css';\n\n/**\n * Minimal WYSIWYG editor for admin-authored candidate-facing copy (job\n * assignment description / problem statement). Output is an HTML string —\n * the backend re-sanitizes it to an allowlist before persisting and again\n * before rendering it into a candidate email, so this editor only needs to\n * produce well-formed HTML, not police content itself.\n */\nexport interface RichTextEditorProps {\n id?: string;\n value: string;\n onChange: (html: string) => void;\n placeholder?: string;\n 'aria-required'?: boolean;\n}\n\nconst EMPTY_DOC = '<p></p>';\n\nfunction ToolbarButton({\n label,\n active,\n onClick,\n Icon,\n}: {\n label: string;\n active: boolean;\n onClick: () => void;\n Icon: typeof Bold;\n}) {\n return (\n <button\n type=\"button\"\n aria-label={label}\n aria-pressed={active}\n onClick={onClick}\n className={cn(\n 'inline-flex size-7 items-center justify-center rounded-md text-text-secondary transition-colors hover:bg-action-secondary-bg hover:text-text-primary',\n active && 'bg-action-secondary-bg text-text-primary'\n )}\n >\n <Icon size={14} />\n </button>\n );\n}\n\nexport function RichTextEditor({ id, value, onChange, placeholder, ...rest }: RichTextEditorProps) {\n const editor = useEditor({\n extensions: [\n StarterKit.configure({\n heading: false,\n blockquote: false,\n codeBlock: false,\n horizontalRule: false,\n strike: false,\n code: false,\n }),\n Placeholder.configure({ placeholder: placeholder ?? '' }),\n ],\n content: value || EMPTY_DOC,\n editorProps: {\n attributes: {\n ...(id ? { id } : {}),\n role: 'textbox',\n 'aria-multiline': 'true',\n ...(rest['aria-required'] ? { 'aria-required': 'true' } : {}),\n class: 'support-richtext focus:outline-none min-h-24',\n },\n },\n onUpdate: ({ editor: instance }) => {\n const html = instance.getHTML();\n onChange(html === EMPTY_DOC ? '' : html);\n },\n });\n\n // Re-sync the editor's content when the caller resets `value` out from under\n // it (e.g. the \"Add Assignment\" dialog re-opening for a different\n // assignment, or a create/edit form reset) — but never fight the user's own\n // in-progress typing.\n useEffect(() => {\n if (!editor || editor.isFocused) return;\n const current = editor.getHTML();\n const next = value || EMPTY_DOC;\n if (current === next) return;\n editor.commands.setContent(next);\n }, [editor, value]);\n\n if (!editor) return null;\n\n return (\n <div className=\"w-full rounded-lg border border-border-default bg-bg-surface focus-within:outline-none focus-within:ring-2 focus-within:ring-primary/20 focus-within:border-primary\">\n <div className=\"flex items-center gap-1 border-b border-border-default px-2 py-1.5\">\n <ToolbarButton\n label=\"Bold\"\n active={editor.isActive('bold')}\n onClick={() => editor.chain().focus().toggleBold().run()}\n Icon={Bold}\n />\n <ToolbarButton\n label=\"Italic\"\n active={editor.isActive('italic')}\n onClick={() => editor.chain().focus().toggleItalic().run()}\n Icon={Italic}\n />\n <ToolbarButton\n label=\"Bullet list\"\n active={editor.isActive('bulletList')}\n onClick={() => editor.chain().focus().toggleBulletList().run()}\n Icon={List}\n />\n <ToolbarButton\n label=\"Numbered list\"\n active={editor.isActive('orderedList')}\n onClick={() => editor.chain().focus().toggleOrderedList().run()}\n Icon={ListOrdered}\n />\n </div>\n <EditorContent editor={editor} className=\"px-4 py-2.5\" />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;AAuBA,IAAMI,IAAY;AAElB,SAASC,EAAc,EACrB,UACA,WACA,YACA,WAMC;CACD,OACE,kBAAC,UAAD;EACE,MAAK;EACL,cAAYC;EACZ,gBAAcC;EACL;EACT,WAAWC,EACT,wJACAD,KAAU,0CACZ;EAEA,UAAA,kBAACE,GAAD,EAAM,MAAM,GAAK,CAAA;CACX,CAAA;AAEZ;AAEA,SAAgBC,EAAe,EAAE,OAAI,UAAO,aAAU,gBAAa,GAAGC,KAA6B;CACjG,IAAMC,IAASC,EAAU;EACvB,YAAY,CACVb,EAAW,UAAU;GACnB,SAAS;GACT,YAAY;GACZ,WAAW;GACX,gBAAgB;GAChB,QAAQ;GACR,MAAM;EACR,CAAC,GACDC,EAAY,UAAU,EAAE,aAAaa,KAAe,GAAG,CAAC,CAC1D;EACA,SAASC,KAASX;EAClB,aAAa,EACX,YAAY;GACV,GAAIY,IAAK,EAAE,MAAG,IAAI,CAAC;GACnB,MAAM;GACN,kBAAkB;GAClB,GAAIL,EAAK,mBAAmB,EAAE,iBAAiB,OAAO,IAAI,CAAC;GAC3D,OAAO;EACT,EACF;EACA,WAAW,EAAE,QAAQM,QAAe;GAClC,IAAMC,IAAOD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|
24
|
-
export declare function ArticleForm({ initialData, categories, onSubmit, onCancel, isSubmitting, submitLabel, }: ArticleFormProps): import(
|
|
24
|
+
export declare function ArticleForm({ initialData, categories, onSubmit, onCancel, isSubmitting, submitLabel, }: ArticleFormProps): import('react').JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -17,5 +17,5 @@ interface CannedResponsesSettingsProps {
|
|
|
17
17
|
onUpdate: (id: string, input: Partial<CannedResponseInput>) => Promise<CannedResponse>;
|
|
18
18
|
onDelete: (id: string) => Promise<void>;
|
|
19
19
|
}
|
|
20
|
-
export declare function CannedResponsesSettings({ responses, onCreate, onUpdate, onDelete, }: CannedResponsesSettingsProps): import(
|
|
20
|
+
export declare function CannedResponsesSettings({ responses, onCreate, onUpdate, onDelete, }: CannedResponsesSettingsProps): import('react').JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -14,5 +14,5 @@ interface SLAPoliciesSettingsProps {
|
|
|
14
14
|
onUpdate: (id: string, input: SLAPolicy) => Promise<SLAPolicy>;
|
|
15
15
|
onDelete: (id: string) => Promise<void>;
|
|
16
16
|
}
|
|
17
|
-
export declare function SLAPoliciesSettings({ policies, defaultPolicyId, onCreate, onUpdate, onDelete, }: SLAPoliciesSettingsProps): import(
|
|
17
|
+
export declare function SLAPoliciesSettings({ policies, defaultPolicyId, onCreate, onUpdate, onDelete, }: SLAPoliciesSettingsProps): import('react').JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -16,5 +16,5 @@ interface TicketCategoriesSettingsProps {
|
|
|
16
16
|
onUpdate: (id: string, input: Partial<TicketCategory>) => Promise<TicketCategory | null | undefined>;
|
|
17
17
|
onDelete: (id: string) => Promise<boolean | null | undefined>;
|
|
18
18
|
}
|
|
19
|
-
export declare function TicketCategoriesSettings({ categories, onCreate, onUpdate, onDelete, }: TicketCategoriesSettingsProps): import(
|
|
19
|
+
export declare function TicketCategoriesSettings({ categories, onCreate, onUpdate, onDelete, }: TicketCategoriesSettingsProps): import('react').JSX.Element;
|
|
20
20
|
export {};
|