@flamingo-stack/openframe-frontend-core 0.0.605-2103.5840.1 → 0.0.605
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/{chunk-AL27OAQB.cjs → chunk-25XSOCZK.cjs} +33 -33
- package/dist/{chunk-AL27OAQB.cjs.map → chunk-25XSOCZK.cjs.map} +1 -1
- package/dist/{chunk-QJJKDNYS.js → chunk-2V3PJ5X5.js} +5 -5
- package/dist/{chunk-F2IZWJET.js → chunk-3FC4DPRX.js} +4 -4
- package/dist/{chunk-XPHYCFQ6.js → chunk-3J73ZG3V.js} +2 -2
- package/dist/{chunk-FH6O54PG.js → chunk-4IWMX4AJ.js} +5 -5
- package/dist/{chunk-JQ52EWRC.js → chunk-63AGD45L.js} +2 -2
- package/dist/{chunk-TLXYYGZW.js → chunk-7CQA7DAB.js} +3 -3
- package/dist/{chunk-SJS2AWIB.cjs → chunk-7ZAPPBFT.cjs} +3 -3
- package/dist/{chunk-SJS2AWIB.cjs.map → chunk-7ZAPPBFT.cjs.map} +1 -1
- package/dist/{chunk-TOUHYL4T.js → chunk-ANHHTB32.js} +5 -5
- package/dist/{chunk-CEA6WLSC.cjs → chunk-BEDMOEAM.cjs} +3 -3
- package/dist/{chunk-CEA6WLSC.cjs.map → chunk-BEDMOEAM.cjs.map} +1 -1
- package/dist/{chunk-Z5H3ITOB.js → chunk-CCY47QKL.js} +2 -2
- package/dist/{chunk-64BE3OFE.cjs → chunk-G7ZK3Q5B.cjs} +22 -22
- package/dist/{chunk-64BE3OFE.cjs.map → chunk-G7ZK3Q5B.cjs.map} +1 -1
- package/dist/{chunk-A73ORC6C.js → chunk-GPIPJOOV.js} +3 -3
- package/dist/{chunk-B2NXQOAK.cjs → chunk-IXXMNATN.cjs} +70 -70
- package/dist/{chunk-B2NXQOAK.cjs.map → chunk-IXXMNATN.cjs.map} +1 -1
- package/dist/{chunk-SWVHCWLG.js → chunk-JGSEBZYO.js} +28 -4
- package/dist/chunk-JGSEBZYO.js.map +1 -0
- package/dist/{chunk-WGQKIMMJ.cjs → chunk-JLVIGGUF.cjs} +25 -25
- package/dist/{chunk-WGQKIMMJ.cjs.map → chunk-JLVIGGUF.cjs.map} +1 -1
- package/dist/{chunk-7BYMMJK3.cjs → chunk-PS4WZ7YL.cjs} +9 -9
- package/dist/{chunk-7BYMMJK3.cjs.map → chunk-PS4WZ7YL.cjs.map} +1 -1
- package/dist/{chunk-SPLEOBOR.js → chunk-PSGHIQXU.js} +3 -3
- package/dist/{chunk-BOTY4JJT.cjs → chunk-Q6ZFTDRR.cjs} +4 -4
- package/dist/{chunk-BOTY4JJT.cjs.map → chunk-Q6ZFTDRR.cjs.map} +1 -1
- package/dist/{chunk-INPMLFLK.js → chunk-TF6FCNKU.js} +2 -2
- package/dist/{chunk-HO24BJ5K.cjs → chunk-UJ64PL7A.cjs} +10 -10
- package/dist/{chunk-HO24BJ5K.cjs.map → chunk-UJ64PL7A.cjs.map} +1 -1
- package/dist/{chunk-KESRJY6J.cjs → chunk-VK743MVL.cjs} +28 -4
- package/dist/chunk-VK743MVL.cjs.map +1 -0
- package/dist/{chunk-AYVJRZO3.cjs → chunk-WA3EEFDT.cjs} +43 -43
- package/dist/{chunk-AYVJRZO3.cjs.map → chunk-WA3EEFDT.cjs.map} +1 -1
- package/dist/{chunk-7RAKZ6TW.cjs → chunk-WR23DZLT.cjs} +10 -10
- package/dist/{chunk-7RAKZ6TW.cjs.map → chunk-WR23DZLT.cjs.map} +1 -1
- package/dist/{chunk-2SYV7HSV.js → chunk-XJKNJJYO.js} +6 -26
- package/dist/{chunk-2SYV7HSV.js.map → chunk-XJKNJJYO.js.map} +1 -1
- package/dist/{chunk-RJJPL2K5.cjs → chunk-XOQI3AH7.cjs} +22 -22
- package/dist/{chunk-RJJPL2K5.cjs.map → chunk-XOQI3AH7.cjs.map} +1 -1
- package/dist/{chunk-RJU7L4EC.cjs → chunk-XRNILWKL.cjs} +5 -5
- package/dist/{chunk-RJU7L4EC.cjs.map → chunk-XRNILWKL.cjs.map} +1 -1
- package/dist/{chunk-ZEAV4HB5.cjs → chunk-Y6MYIJTK.cjs} +15 -15
- package/dist/{chunk-ZEAV4HB5.cjs.map → chunk-Y6MYIJTK.cjs.map} +1 -1
- package/dist/{chunk-7UY6JYVX.js → chunk-YCOXI5CH.js} +6 -6
- package/dist/{chunk-AR3JII22.cjs → chunk-YUDYFA6H.cjs} +163 -183
- package/dist/chunk-YUDYFA6H.cjs.map +1 -0
- package/dist/{chunk-4SUYR7UP.js → chunk-Z2NXXA27.js} +3 -3
- package/dist/{chunk-PFG7TJFZ.js → chunk-ZYEAIBWA.js} +3 -3
- package/dist/components/case-studies/index.cjs +9 -9
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/entity-cards/chat-ticket-item.d.ts +12 -0
- package/dist/components/chat/entity-cards/chat-ticket-item.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/board/index.d.ts +1 -1
- package/dist/components/features/board/index.d.ts.map +1 -1
- package/dist/components/features/board/ticket-card.d.ts.map +1 -1
- package/dist/components/features/board/types.d.ts +0 -18
- package/dist/components/features/board/types.d.ts.map +1 -1
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +23 -23
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +38 -38
- package/dist/components/index.js +13 -13
- package/dist/components/meeting-scheduler/index.cjs +24 -24
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.js +6 -6
- package/package.json +1 -1
- package/src/components/chat/__tests__/chat-ticket-item.test.tsx +79 -0
- package/src/components/chat/entity-cards/chat-ticket-item.tsx +30 -4
- package/src/components/features/board/index.ts +0 -2
- package/src/components/features/board/ticket-card.tsx +2 -31
- package/src/components/features/board/types.ts +0 -20
- package/src/stories/ChatTicketList.stories.tsx +25 -0
- package/src/stories/TicketCard.stories.tsx +1 -40
- package/dist/chunk-AR3JII22.cjs.map +0 -1
- package/dist/chunk-KESRJY6J.cjs.map +0 -1
- package/dist/chunk-SWVHCWLG.js.map +0 -1
- /package/dist/{chunk-QJJKDNYS.js.map → chunk-2V3PJ5X5.js.map} +0 -0
- /package/dist/{chunk-F2IZWJET.js.map → chunk-3FC4DPRX.js.map} +0 -0
- /package/dist/{chunk-XPHYCFQ6.js.map → chunk-3J73ZG3V.js.map} +0 -0
- /package/dist/{chunk-FH6O54PG.js.map → chunk-4IWMX4AJ.js.map} +0 -0
- /package/dist/{chunk-JQ52EWRC.js.map → chunk-63AGD45L.js.map} +0 -0
- /package/dist/{chunk-TLXYYGZW.js.map → chunk-7CQA7DAB.js.map} +0 -0
- /package/dist/{chunk-TOUHYL4T.js.map → chunk-ANHHTB32.js.map} +0 -0
- /package/dist/{chunk-Z5H3ITOB.js.map → chunk-CCY47QKL.js.map} +0 -0
- /package/dist/{chunk-A73ORC6C.js.map → chunk-GPIPJOOV.js.map} +0 -0
- /package/dist/{chunk-SPLEOBOR.js.map → chunk-PSGHIQXU.js.map} +0 -0
- /package/dist/{chunk-INPMLFLK.js.map → chunk-TF6FCNKU.js.map} +0 -0
- /package/dist/{chunk-7UY6JYVX.js.map → chunk-YCOXI5CH.js.map} +0 -0
- /package/dist/{chunk-4SUYR7UP.js.map → chunk-Z2NXXA27.js.map} +0 -0
- /package/dist/{chunk-PFG7TJFZ.js.map → chunk-ZYEAIBWA.js.map} +0 -0
|
@@ -91,7 +91,7 @@ var _chunkN6HNK25Acjs = require('./chunk-N6HNK25A.cjs');
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
var
|
|
94
|
+
var _chunkVK743MVLcjs = require('./chunk-VK743MVL.cjs');
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
@@ -212,7 +212,6 @@ var _chunkKOQCA5X5cjs = require('./chunk-KOQCA5X5.cjs');
|
|
|
212
212
|
|
|
213
213
|
|
|
214
214
|
|
|
215
|
-
|
|
216
215
|
|
|
217
216
|
|
|
218
217
|
var _chunkGSQM4PDRcjs = require('./chunk-GSQM4PDR.cjs');
|
|
@@ -344,7 +343,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
344
343
|
var useTheme = _nextthemes.useTheme;
|
|
345
344
|
function useThemeToggle() {
|
|
346
345
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
347
|
-
const mounted =
|
|
346
|
+
const mounted = _chunkVK743MVLcjs.useIsHydrated.call(void 0, );
|
|
348
347
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
349
348
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
350
349
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -621,7 +620,7 @@ function TruncateText({
|
|
|
621
620
|
const { ref, isTruncated } = _chunkYXWGSDK4cjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
622
621
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
623
622
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
624
|
-
|
|
623
|
+
_chunkVK743MVLcjs.FloatingTooltip,
|
|
625
624
|
{
|
|
626
625
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
627
626
|
side,
|
|
@@ -928,7 +927,7 @@ function AutocompleteInner(props, ref) {
|
|
|
928
927
|
),
|
|
929
928
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2", children: [
|
|
930
929
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
931
|
-
|
|
930
|
+
_chunkVK743MVLcjs.Tag,
|
|
932
931
|
{
|
|
933
932
|
variant: "outline",
|
|
934
933
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1142,7 +1141,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1142
1141
|
"aria-hidden": "true",
|
|
1143
1142
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
1144
1143
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1145
|
-
|
|
1144
|
+
_chunkVK743MVLcjs.Tag,
|
|
1146
1145
|
{
|
|
1147
1146
|
variant: "outline",
|
|
1148
1147
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -2532,7 +2531,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
2532
2531
|
const describedById = _react.useId.call(void 0, );
|
|
2533
2532
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
2534
2533
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2535
|
-
|
|
2534
|
+
_chunkVK743MVLcjs.FloatingTooltip,
|
|
2536
2535
|
{
|
|
2537
2536
|
content: children,
|
|
2538
2537
|
side,
|
|
@@ -2626,7 +2625,7 @@ function Value2({ value, depth }) {
|
|
|
2626
2625
|
}
|
|
2627
2626
|
if (typeof value === "string") {
|
|
2628
2627
|
if (ISO_DATE.test(value)) {
|
|
2629
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2628
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkVK743MVLcjs.formatRelativeTime.call(void 0, value) });
|
|
2630
2629
|
}
|
|
2631
2630
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2632
2631
|
}
|
|
@@ -3258,7 +3257,7 @@ function RowValue({ value }) {
|
|
|
3258
3257
|
}
|
|
3259
3258
|
case "status": {
|
|
3260
3259
|
const { type: _type, ...props } = value;
|
|
3261
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3260
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TicketStatusTag, { ...props });
|
|
3262
3261
|
}
|
|
3263
3262
|
case "custom":
|
|
3264
3263
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -4169,7 +4168,7 @@ function TagsManager({
|
|
|
4169
4168
|
}
|
|
4170
4169
|
),
|
|
4171
4170
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4172
|
-
|
|
4171
|
+
_chunkVK743MVLcjs.Tag,
|
|
4173
4172
|
{
|
|
4174
4173
|
label: tag.name,
|
|
4175
4174
|
variant: "outline",
|
|
@@ -4714,10 +4713,10 @@ function useConfirm() {
|
|
|
4714
4713
|
},
|
|
4715
4714
|
[]
|
|
4716
4715
|
);
|
|
4717
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4718
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4719
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4720
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4716
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4717
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalTitle, { children: pending.title }) }),
|
|
4718
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4719
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.ModalFooter, { children: [
|
|
4721
4720
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4722
4721
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4723
4722
|
] })
|
|
@@ -4780,9 +4779,9 @@ function AdminFormModal({
|
|
|
4780
4779
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4781
4780
|
});
|
|
4782
4781
|
if (!isOpen) return null;
|
|
4783
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4784
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4785
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4782
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4783
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.ModalHeader, { children: [
|
|
4784
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalTitle, { children: title }),
|
|
4786
4785
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4787
4786
|
] }),
|
|
4788
4787
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4807,7 +4806,7 @@ function AdminFormModal({
|
|
|
4807
4806
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4808
4807
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4809
4808
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4810
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4809
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4811
4810
|
"div",
|
|
4812
4811
|
{
|
|
4813
4812
|
"aria-busy": "true",
|
|
@@ -4828,12 +4827,12 @@ function AdminFormModal({
|
|
|
4828
4827
|
]
|
|
4829
4828
|
}
|
|
4830
4829
|
) })
|
|
4831
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4830
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalContent, { className: contentClassName, children }),
|
|
4832
4831
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4833
4832
|
]
|
|
4834
4833
|
}
|
|
4835
4834
|
),
|
|
4836
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4835
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4837
4836
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4838
4837
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4839
4838
|
footerStatus,
|
|
@@ -6931,7 +6930,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6931
6930
|
};
|
|
6932
6931
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6933
6932
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6934
|
-
|
|
6933
|
+
_chunkVK743MVLcjs.Video,
|
|
6935
6934
|
{
|
|
6936
6935
|
url: item.src,
|
|
6937
6936
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7093,7 +7092,7 @@ var ExternalLinkIcon2 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg
|
|
|
7093
7092
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "line", { x1: "10", y1: "14", x2: "21", y2: "3" })
|
|
7094
7093
|
] });
|
|
7095
7094
|
var ArrowUpIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { width: "16", height: "16", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "polyline", { points: "18,15 12,9 6,15" }) });
|
|
7096
|
-
var
|
|
7095
|
+
var ClockIcon = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { width: "12", height: "12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
|
|
7097
7096
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "12", cy: "12", r: "10" }),
|
|
7098
7097
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "polyline", { points: "12,6 12,12 16,14" })
|
|
7099
7098
|
] });
|
|
@@ -7382,7 +7381,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
|
|
|
7382
7381
|
"u/",
|
|
7383
7382
|
redditData.author
|
|
7384
7383
|
] }),
|
|
7385
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7384
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ClockIcon, {}),
|
|
7386
7385
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: formatTimeAgo(redditData.created_utc) })
|
|
7387
7386
|
] })
|
|
7388
7387
|
] })
|
|
@@ -7447,7 +7446,7 @@ var RepeatIcon = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wi
|
|
|
7447
7446
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "polyline", { points: "7,23 3,19 7,15" }),
|
|
7448
7447
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M21 13v2a4 4 0 0 1-4 4H3" })
|
|
7449
7448
|
] });
|
|
7450
|
-
var
|
|
7449
|
+
var ClockIcon2 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { width: "12", height: "12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
|
|
7451
7450
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "12", cy: "12", r: "10" }),
|
|
7452
7451
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "polyline", { points: "12,6 12,12 16,14" })
|
|
7453
7452
|
] });
|
|
@@ -7577,7 +7576,7 @@ function TwitterEmbedClient({ url, tweetId, maxWidth = 700 }) {
|
|
|
7577
7576
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center space-x-2 text-ods-text-secondary text-h6", children: [
|
|
7578
7577
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserIcon3, {}),
|
|
7579
7578
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: tweetData.author_name }),
|
|
7580
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7579
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ClockIcon2, {}),
|
|
7581
7580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: formatTime2() })
|
|
7582
7581
|
] })
|
|
7583
7582
|
] })
|
|
@@ -7655,7 +7654,7 @@ function buildRichEmbedOverrides({
|
|
|
7655
7654
|
ogEndpointPath,
|
|
7656
7655
|
textSizes
|
|
7657
7656
|
}) {
|
|
7658
|
-
const standard =
|
|
7657
|
+
const standard = _chunkVK743MVLcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7659
7658
|
return {
|
|
7660
7659
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7661
7660
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7665,7 +7664,7 @@ function buildRichEmbedOverrides({
|
|
|
7665
7664
|
const language = match ? match[1] : "";
|
|
7666
7665
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7667
7666
|
if (language === "youtube-embed") {
|
|
7668
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7667
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7669
7668
|
}
|
|
7670
7669
|
if (language === "reddit-embed") {
|
|
7671
7670
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7706,7 +7705,7 @@ function buildRichEmbedOverrides({
|
|
|
7706
7705
|
"data-figma-url": figmaUrl
|
|
7707
7706
|
} = divProps;
|
|
7708
7707
|
if (className === "youtube-embed" && videoId) {
|
|
7709
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7708
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Video, { kind: "youtube", url: videoId });
|
|
7710
7709
|
}
|
|
7711
7710
|
if (className === "reddit-embed" && postUrl) {
|
|
7712
7711
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7791,14 +7790,14 @@ function buildRichEmbedOverrides({
|
|
|
7791
7790
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7792
7791
|
// elsewhere). Guard against empty `![]()`.
|
|
7793
7792
|
img: ({ src, alt }) => {
|
|
7794
|
-
if (!
|
|
7793
|
+
if (!_chunkVK743MVLcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7795
7794
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7796
7795
|
},
|
|
7797
7796
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7798
7797
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7799
7798
|
video: ({ src, poster, className }) => {
|
|
7800
|
-
if (!
|
|
7801
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7799
|
+
if (!_chunkVK743MVLcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7800
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7802
7801
|
}
|
|
7803
7802
|
};
|
|
7804
7803
|
}
|
|
@@ -8039,13 +8038,13 @@ var RichMarkdownInner = ({
|
|
|
8039
8038
|
},
|
|
8040
8039
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8041
8040
|
);
|
|
8042
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8041
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkVK743MVLcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8043
8042
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8044
8043
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8045
8044
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8046
8045
|
);
|
|
8047
8046
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8048
|
-
|
|
8047
|
+
_chunkVK743MVLcjs.MarkdownEngine,
|
|
8049
8048
|
{
|
|
8050
8049
|
content,
|
|
8051
8050
|
className,
|
|
@@ -8067,7 +8066,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8067
8066
|
className = "",
|
|
8068
8067
|
sectionIds,
|
|
8069
8068
|
onInternalLinkClick,
|
|
8070
|
-
brokenLinks =
|
|
8069
|
+
brokenLinks = _chunkVK743MVLcjs.NO_BROKEN_LINKS,
|
|
8071
8070
|
currentPath,
|
|
8072
8071
|
resolveSource = "openframe-docs",
|
|
8073
8072
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8640,7 +8639,7 @@ function FilterModal({
|
|
|
8640
8639
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _162 => _162.defaultSort]), () => ( "desc"));
|
|
8641
8640
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _163 => _163.sort]), () => ( dateDefaultSort)));
|
|
8642
8641
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _164 => _164.range]));
|
|
8643
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8642
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkVK743MVLcjs.useScrollFade.call(void 0, );
|
|
8644
8643
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8645
8644
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8646
8645
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8685,10 +8684,10 @@ function FilterModal({
|
|
|
8685
8684
|
const hasFilterGroups = filterGroups.length > 0;
|
|
8686
8685
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8687
8686
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8688
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8689
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8687
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.Modal, { isOpen, onClose, className: _chunk23V5BSHDcjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
8688
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalTitle, { children: title }) }),
|
|
8690
8689
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8691
|
-
|
|
8690
|
+
_chunkVK743MVLcjs.ModalContent,
|
|
8692
8691
|
{
|
|
8693
8692
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
8694
8693
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8780,12 +8779,12 @@ function FilterModal({
|
|
|
8780
8779
|
] })
|
|
8781
8780
|
}
|
|
8782
8781
|
),
|
|
8783
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8784
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8782
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8783
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8785
8784
|
] })
|
|
8786
8785
|
}
|
|
8787
8786
|
),
|
|
8788
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8787
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.ModalFooter, { children: [
|
|
8789
8788
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8790
8789
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8791
8790
|
] })
|
|
@@ -8829,9 +8828,9 @@ function actionToMenuItems(action, idx) {
|
|
|
8829
8828
|
function renderActionButton(action, opts = {}) {
|
|
8830
8829
|
const button = renderRawActionButton(action, opts);
|
|
8831
8830
|
if (!action.tooltip) return button;
|
|
8832
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8833
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8834
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8831
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.Tooltip, { children: [
|
|
8832
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
8833
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipContent, { children: action.tooltip })
|
|
8835
8834
|
] }) });
|
|
8836
8835
|
}
|
|
8837
8836
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -8855,7 +8854,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
8855
8854
|
}
|
|
8856
8855
|
if (action.submenu && action.submenu.length > 0) {
|
|
8857
8856
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8858
|
-
|
|
8857
|
+
_chunkVK743MVLcjs.ActionsMenuDropdown,
|
|
8859
8858
|
{
|
|
8860
8859
|
groups: [{ items: action.submenu }],
|
|
8861
8860
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -8990,10 +8989,10 @@ function IconButtonsVariant({
|
|
|
8990
8989
|
selector,
|
|
8991
8990
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
8992
8991
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
8993
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8992
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
8994
8993
|
] })
|
|
8995
8994
|
] }),
|
|
8996
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8995
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
8997
8996
|
] });
|
|
8998
8997
|
}
|
|
8999
8998
|
function PrimaryButtonsVariant({
|
|
@@ -9031,7 +9030,7 @@ function MenuPrimaryVariant({
|
|
|
9031
9030
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9032
9031
|
selector,
|
|
9033
9032
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9034
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9033
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9035
9034
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
9036
9035
|
] })
|
|
9037
9036
|
] }),
|
|
@@ -9039,7 +9038,7 @@ function MenuPrimaryVariant({
|
|
|
9039
9038
|
// The selector rides into the menu as its header row: on mobile the
|
|
9040
9039
|
// title row has no room for it, and hiding it entirely (what
|
|
9041
9040
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9042
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9041
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9043
9042
|
) : null })
|
|
9044
9043
|
] });
|
|
9045
9044
|
}
|
|
@@ -9445,7 +9444,7 @@ function TitleBlock({
|
|
|
9445
9444
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
9446
9445
|
(loading || title) && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9447
9446
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9448
|
-
|
|
9447
|
+
_chunkVK743MVLcjs.FloatingTooltip,
|
|
9449
9448
|
{
|
|
9450
9449
|
content: title,
|
|
9451
9450
|
side: "bottom",
|
|
@@ -9462,12 +9461,12 @@ function TitleBlock({
|
|
|
9462
9461
|
}
|
|
9463
9462
|
),
|
|
9464
9463
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9465
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9464
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunk23V5BSHDcjs.cn.call(void 0, titleClass, "text-ods-text-primary", titleOverflowClass), children: titleNode }) })),
|
|
9466
9465
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
9467
9466
|
empty `p` collapses to zero height (its only content would be
|
|
9468
9467
|
collapsible whitespace), which is exactly the shift that mode
|
|
9469
9468
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
9470
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9469
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9471
9470
|
"p",
|
|
9472
9471
|
{
|
|
9473
9472
|
ref: subtitleRef,
|
|
@@ -9478,7 +9477,7 @@ function TitleBlock({
|
|
|
9478
9477
|
) })
|
|
9479
9478
|
] })
|
|
9480
9479
|
] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9481
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9480
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, triggerClassName: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunk23V5BSHDcjs.cn.call(void 0, titleClass, "min-w-0 text-ods-text-primary", titleOverflowClass), children: title }) }),
|
|
9482
9481
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9483
9482
|
] }) : (
|
|
9484
9483
|
/* This branch never had the single-line clamp, so text already
|
|
@@ -11080,7 +11079,7 @@ function extractSections(markdown, options = {}) {
|
|
|
11080
11079
|
if (heading.level > opts.maxLevel) continue;
|
|
11081
11080
|
let title = heading.text;
|
|
11082
11081
|
if (opts.stripFormattingMarkers) {
|
|
11083
|
-
title =
|
|
11082
|
+
title = _chunkVK743MVLcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
11084
11083
|
}
|
|
11085
11084
|
const baseId = _chunkYXWGSDK4cjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkYXWGSDK4cjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
11086
11085
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -11653,7 +11652,7 @@ function DashboardInfoCard({
|
|
|
11653
11652
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
11654
11653
|
if (asTag) {
|
|
11655
11654
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
11656
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11655
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
11657
11656
|
}
|
|
11658
11657
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
11659
11658
|
"(",
|
|
@@ -11707,7 +11706,7 @@ function DashboardInfoCard({
|
|
|
11707
11706
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "truncate text-ods-text-primary text-h3 md:text-h2", valueClassName), children: formattedValue }),
|
|
11708
11707
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
11709
11708
|
renderPercentage(),
|
|
11710
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11709
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.FloatingTooltip, { content: tooltip, side: "top", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "cursor-help text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
11711
11710
|
] })
|
|
11712
11711
|
] }),
|
|
11713
11712
|
renderProgress()
|
|
@@ -11890,7 +11889,7 @@ function DeviceCard({
|
|
|
11890
11889
|
] }),
|
|
11891
11890
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
11892
11891
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11893
|
-
|
|
11892
|
+
_chunkVK743MVLcjs.Tag,
|
|
11894
11893
|
{
|
|
11895
11894
|
variant: statusTag.variant,
|
|
11896
11895
|
icon: statusTag.icon,
|
|
@@ -11904,7 +11903,7 @@ function DeviceCard({
|
|
|
11904
11903
|
formatLastSeen(device.lastSeen)
|
|
11905
11904
|
] })
|
|
11906
11905
|
] }),
|
|
11907
|
-
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-wrap items-center gap-2", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11906
|
+
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-wrap items-center gap-2", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
11908
11907
|
]
|
|
11909
11908
|
}
|
|
11910
11909
|
);
|
|
@@ -12052,7 +12051,7 @@ function FeatureList({ items, className = "", iconBoxSize = 72 }) {
|
|
|
12052
12051
|
|
|
12053
12052
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
12054
12053
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12055
|
-
|
|
12054
|
+
_chunkVK743MVLcjs.FloatingTooltip,
|
|
12056
12055
|
{
|
|
12057
12056
|
as: "span",
|
|
12058
12057
|
side: "top",
|
|
@@ -12236,7 +12235,7 @@ function DropdownButton({
|
|
|
12236
12235
|
)
|
|
12237
12236
|
);
|
|
12238
12237
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12239
|
-
|
|
12238
|
+
_chunkVK743MVLcjs.ActionsMenuDropdown,
|
|
12240
12239
|
{
|
|
12241
12240
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
12242
12241
|
open,
|
|
@@ -12474,7 +12473,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12474
12473
|
),
|
|
12475
12474
|
children: [
|
|
12476
12475
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12477
|
-
|
|
12476
|
+
_chunkVK743MVLcjs.FloatingTooltip,
|
|
12478
12477
|
{
|
|
12479
12478
|
content: row.value,
|
|
12480
12479
|
side: "top",
|
|
@@ -12600,9 +12599,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12600
12599
|
return next;
|
|
12601
12600
|
});
|
|
12602
12601
|
};
|
|
12603
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12602
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
12604
12603
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12605
|
-
|
|
12604
|
+
_chunkVK743MVLcjs.TooltipTrigger,
|
|
12606
12605
|
{
|
|
12607
12606
|
asChild: true,
|
|
12608
12607
|
onPointerDown: (e) => {
|
|
@@ -12620,7 +12619,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12620
12619
|
children
|
|
12621
12620
|
}
|
|
12622
12621
|
),
|
|
12623
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12622
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
12624
12623
|
] }) });
|
|
12625
12624
|
}
|
|
12626
12625
|
|
|
@@ -13859,9 +13858,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
13859
13858
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
13860
13859
|
}
|
|
13861
13860
|
}, []);
|
|
13862
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13863
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13864
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13861
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
13862
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center", style: { width, height: 48 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: textRef, className: "truncate text-ods-text-secondary text-h5", children: value }) }) }),
|
|
13863
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
13865
13864
|
] }) });
|
|
13866
13865
|
}
|
|
13867
13866
|
|
|
@@ -13914,9 +13913,9 @@ function TruncatedCell({ value, className }) {
|
|
|
13914
13913
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
13915
13914
|
}
|
|
13916
13915
|
}, []);
|
|
13917
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13918
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13919
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13916
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
13917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { ref: textRef, className: _chunk23V5BSHDcjs.cn.call(void 0, "block truncate", className), children: value }) }),
|
|
13918
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
13920
13919
|
] }) });
|
|
13921
13920
|
}
|
|
13922
13921
|
|
|
@@ -15106,7 +15105,7 @@ function SearchInput({
|
|
|
15106
15105
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-shrink-0 text-ods-text-secondary transition-colors duration-200 group-has-[:focus]:text-ods-accent [&_svg]:size-4 md:[&_svg]:size-6", children: startAdornment !== void 0 ? startAdornment : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}) }),
|
|
15107
15106
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
15108
15107
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15109
|
-
|
|
15108
|
+
_chunkVK743MVLcjs.Tag,
|
|
15110
15109
|
{
|
|
15111
15110
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15112
15111
|
label: chip.label,
|
|
@@ -15220,7 +15219,7 @@ function SearchInput({
|
|
|
15220
15219
|
}
|
|
15221
15220
|
),
|
|
15222
15221
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: measureRef, "aria-hidden": "true", className: "pointer-events-none fixed -left-[9999px] top-0 flex gap-2", children: filterChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15223
|
-
|
|
15222
|
+
_chunkVK743MVLcjs.Tag,
|
|
15224
15223
|
{
|
|
15225
15224
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15226
15225
|
label: chip.label,
|
|
@@ -15433,7 +15432,7 @@ function TagSearchInput({
|
|
|
15433
15432
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "size-4 text-ods-text-secondary md:size-6" }) }),
|
|
15434
15433
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2", children: [
|
|
15435
15434
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15436
|
-
|
|
15435
|
+
_chunkVK743MVLcjs.Tag,
|
|
15437
15436
|
{
|
|
15438
15437
|
variant: "outline",
|
|
15439
15438
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -15521,7 +15520,7 @@ function TagSearchInput({
|
|
|
15521
15520
|
"aria-hidden": "true",
|
|
15522
15521
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
15523
15522
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15524
|
-
|
|
15523
|
+
_chunkVK743MVLcjs.Tag,
|
|
15525
15524
|
{
|
|
15526
15525
|
variant: "outline",
|
|
15527
15526
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -16410,20 +16409,20 @@ function ColorPresetSelect({
|
|
|
16410
16409
|
...presets.map((p) => ({
|
|
16411
16410
|
id: p.key,
|
|
16412
16411
|
label: p.label,
|
|
16413
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16412
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ColorSwatch, { color: p.color }),
|
|
16414
16413
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
16415
16414
|
})),
|
|
16416
16415
|
{
|
|
16417
16416
|
id: CUSTOM_PRESET_KEY,
|
|
16418
16417
|
label: "Custom",
|
|
16419
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16418
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
16420
16419
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
16421
16420
|
}
|
|
16422
16421
|
]
|
|
16423
16422
|
}
|
|
16424
16423
|
];
|
|
16425
16424
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16426
|
-
|
|
16425
|
+
_chunkVK743MVLcjs.ActionsMenuDropdown,
|
|
16427
16426
|
{
|
|
16428
16427
|
groups,
|
|
16429
16428
|
align: "start",
|
|
@@ -16433,7 +16432,7 @@ function ColorPresetSelect({
|
|
|
16433
16432
|
{
|
|
16434
16433
|
disabled,
|
|
16435
16434
|
"aria-label": `Color: ${displayLabel}`,
|
|
16436
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16435
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ColorSwatch, { color: displayColor }),
|
|
16437
16436
|
selectedLabel: displayLabel,
|
|
16438
16437
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16439
16438
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16454,7 +16453,7 @@ function HexInputs({ value, onChange }) {
|
|
|
16454
16453
|
}
|
|
16455
16454
|
const commit = () => {
|
|
16456
16455
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
16457
|
-
if (
|
|
16456
|
+
if (_chunkVK743MVLcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
16458
16457
|
else setDraft(value);
|
|
16459
16458
|
};
|
|
16460
16459
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16518,12 +16517,12 @@ function ChannelInput({
|
|
|
16518
16517
|
);
|
|
16519
16518
|
}
|
|
16520
16519
|
function RgbInputs({ value, onChange }) {
|
|
16521
|
-
const rgb = _nullishCoalesce(
|
|
16520
|
+
const rgb = _nullishCoalesce(_chunkVK743MVLcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16522
16521
|
const update = (next) => {
|
|
16523
16522
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
16524
16523
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
16525
16524
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
16526
|
-
onChange(
|
|
16525
|
+
onChange(_chunkVK743MVLcjs.rgbToHex.call(void 0, r, g, b));
|
|
16527
16526
|
};
|
|
16528
16527
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16529
16528
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -16532,14 +16531,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
16532
16531
|
] });
|
|
16533
16532
|
}
|
|
16534
16533
|
function HslInputs({ value, onChange }) {
|
|
16535
|
-
const rgb = _nullishCoalesce(
|
|
16536
|
-
const hsl =
|
|
16534
|
+
const rgb = _nullishCoalesce(_chunkVK743MVLcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16535
|
+
const hsl = _chunkVK743MVLcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
16537
16536
|
const update = (next) => {
|
|
16538
16537
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
16539
16538
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
16540
16539
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
16541
|
-
const out =
|
|
16542
|
-
onChange(
|
|
16540
|
+
const out = _chunkVK743MVLcjs.hslToRgb.call(void 0, h, s, l);
|
|
16541
|
+
onChange(_chunkVK743MVLcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
16543
16542
|
};
|
|
16544
16543
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16545
16544
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -16565,7 +16564,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16565
16564
|
{
|
|
16566
16565
|
disabled,
|
|
16567
16566
|
"aria-label": "Pick custom color",
|
|
16568
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16567
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ColorSwatch, { color: value }),
|
|
16569
16568
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
16570
16569
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16571
16570
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16581,7 +16580,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16581
16580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
16582
16581
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16583
16582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16584
|
-
|
|
16583
|
+
_chunkVK743MVLcjs.ActionsMenuDropdown,
|
|
16585
16584
|
{
|
|
16586
16585
|
groups: formatGroups,
|
|
16587
16586
|
align: "start",
|
|
@@ -16638,7 +16637,7 @@ function TicketStatusConfigRow({
|
|
|
16638
16637
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
16639
16638
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
16640
16639
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16641
|
-
|
|
16640
|
+
_chunkVK743MVLcjs.TicketStatusTag,
|
|
16642
16641
|
{
|
|
16643
16642
|
status: statusKey,
|
|
16644
16643
|
label: name || " ",
|
|
@@ -16790,7 +16789,7 @@ function formatTestRunDuration(ms) {
|
|
|
16790
16789
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
16791
16790
|
var SKELETON_COLUMNS = 6;
|
|
16792
16791
|
function TestResultsSkeleton() {
|
|
16793
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16792
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
16794
16793
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-[160px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-4 w-3/4 animate-pulse rounded-sm bg-ods-bg-surface" }) }, `skeleton-header-${i}`)) }),
|
|
16795
16794
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "animate-pulse overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-3/4 rounded-sm bg-ods-bg-surface" }) }, `skeleton-cell-${i}`)) }) })
|
|
16796
16795
|
] }) });
|
|
@@ -16825,7 +16824,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
16825
16824
|
if (loading) {
|
|
16826
16825
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
16827
16826
|
}
|
|
16828
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16827
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { minWidth: Math.max(1, columnKeys.length) * RESULT_COLUMN_MIN_WIDTH }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DataTable, { table, children: [
|
|
16829
16828
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
16830
16829
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
16831
16830
|
] }) }) });
|
|
@@ -16885,7 +16884,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
16885
16884
|
function TestRunStatusStat({ status, className }) {
|
|
16886
16885
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
16887
16886
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex min-w-0 flex-col items-start justify-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
16888
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16887
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Tag, { label: tag.label, variant: tag.variant, className: "pointer-events-none" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: "-" }),
|
|
16889
16888
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
16890
16889
|
] });
|
|
16891
16890
|
}
|
|
@@ -16928,7 +16927,7 @@ function useTestRunState(campaign) {
|
|
|
16928
16927
|
const firstError = isFinished && campaign.errors.length > 0 ? campaign.errors[0].error : null;
|
|
16929
16928
|
const status = isActive ? "running" : hasRun && isFinished ? firstError ? "error" : "success" : "idle";
|
|
16930
16929
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
16931
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
16930
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkVK743MVLcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
16932
16931
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
16933
16932
|
const displayRows = _react.useMemo.call(void 0,
|
|
16934
16933
|
() => campaign.results.map(
|
|
@@ -17266,7 +17265,7 @@ function TicketInfoSection({
|
|
|
17266
17265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _392 => _392.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _393 => _393.icon]), onClick: _optionalChain([device, 'optionalAccess', _394 => _394.onClick]) }),
|
|
17267
17266
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
17268
17267
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17269
|
-
|
|
17268
|
+
_chunkVK743MVLcjs.TicketStatusTag,
|
|
17270
17269
|
{
|
|
17271
17270
|
status: _nullishCoalesce(status, () => ( "")),
|
|
17272
17271
|
label: statusLabel,
|
|
@@ -17305,9 +17304,9 @@ function TicketInfoSection({
|
|
|
17305
17304
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17306
17305
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-bg px-4 py-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: createdAt, label: "Created" }) }),
|
|
17307
17306
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
17308
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17307
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.SimpleMarkdownRenderer, { content: description }),
|
|
17309
17308
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
17310
|
-
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17309
|
+
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
17311
17310
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17312
17311
|
TicketNotesSection,
|
|
17313
17312
|
{
|
|
@@ -17330,7 +17329,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
17330
17329
|
const { label, color } = option;
|
|
17331
17330
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
17332
17331
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17333
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17332
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ColorSwatch, { color }),
|
|
17334
17333
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17335
17334
|
] }),
|
|
17336
17335
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17375,9 +17374,9 @@ function TakeOverTicketModal({
|
|
|
17375
17374
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
17376
17375
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
17377
17376
|
};
|
|
17378
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17377
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17379
17378
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17380
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17379
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
17381
17380
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17382
17381
|
"The ticket ",
|
|
17383
17382
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17392,7 +17391,7 @@ function TakeOverTicketModal({
|
|
|
17392
17391
|
value: selectedStatusId,
|
|
17393
17392
|
onChange: setStatusId,
|
|
17394
17393
|
placeholder: "Select Status",
|
|
17395
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17394
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17396
17395
|
renderOption: renderTicketStatusOption
|
|
17397
17396
|
}
|
|
17398
17397
|
) }),
|
|
@@ -17419,7 +17418,7 @@ function TakeOverTicketModal({
|
|
|
17419
17418
|
}
|
|
17420
17419
|
) })
|
|
17421
17420
|
] }),
|
|
17422
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17421
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.ModalFooter, { children: [
|
|
17423
17422
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17424
17423
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17425
17424
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17478,9 +17477,9 @@ function ReopenTicketModal({
|
|
|
17478
17477
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
17479
17478
|
});
|
|
17480
17479
|
};
|
|
17481
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17480
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17482
17481
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17483
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17482
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17484
17483
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17485
17484
|
"The ticket ",
|
|
17486
17485
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17495,7 +17494,7 @@ function ReopenTicketModal({
|
|
|
17495
17494
|
value: selectedStatusId,
|
|
17496
17495
|
onChange: setStatusId,
|
|
17497
17496
|
placeholder: "Select Status",
|
|
17498
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17497
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17499
17498
|
renderOption: renderTicketStatusOption
|
|
17500
17499
|
}
|
|
17501
17500
|
) }),
|
|
@@ -17533,7 +17532,7 @@ function ReopenTicketModal({
|
|
|
17533
17532
|
disabled: isPending
|
|
17534
17533
|
}
|
|
17535
17534
|
) }),
|
|
17536
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17535
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.ModalFooter, { children: [
|
|
17537
17536
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17538
17537
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17539
17538
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17581,9 +17580,9 @@ function ReopenTicketRequestModal({
|
|
|
17581
17580
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
17582
17581
|
});
|
|
17583
17582
|
};
|
|
17584
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17583
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17585
17584
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17586
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17587
17586
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "This ticket will be reopened and the AI assistant will continue helping you." }),
|
|
17588
17587
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17589
17588
|
Textarea,
|
|
@@ -17607,7 +17606,7 @@ function ReopenTicketRequestModal({
|
|
|
17607
17606
|
disabled: isPending
|
|
17608
17607
|
}
|
|
17609
17608
|
),
|
|
17610
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17609
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.ModalFooter, { children: [
|
|
17611
17610
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
17612
17611
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
17613
17612
|
] })
|
|
@@ -19762,7 +19761,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
19762
19761
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
19763
19762
|
title: config.title,
|
|
19764
19763
|
loading: "eager",
|
|
19765
|
-
...
|
|
19764
|
+
..._chunkVK743MVLcjs.fetchPriorityProp.call(void 0, "high")
|
|
19766
19765
|
},
|
|
19767
19766
|
iframeKey
|
|
19768
19767
|
),
|
|
@@ -20612,7 +20611,7 @@ function MediaGalleryManager({
|
|
|
20612
20611
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: _chunkUQEOAPAIcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? (
|
|
20613
20612
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
20614
20613
|
// fit="cover" crops to the aspect-video cell.
|
|
20615
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20614
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
20616
20615
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20617
20616
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
20618
20617
|
{
|
|
@@ -22863,9 +22862,9 @@ function PushButtonSelector({
|
|
|
22863
22862
|
option.id
|
|
22864
22863
|
);
|
|
22865
22864
|
if (option.disabled && option.disabledReason) {
|
|
22866
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22867
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22868
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22865
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.Tooltip, { children: [
|
|
22866
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
22867
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
22869
22868
|
] }, option.id);
|
|
22870
22869
|
}
|
|
22871
22870
|
return optionEl;
|
|
@@ -22910,7 +22909,7 @@ function PushButtonSelector({
|
|
|
22910
22909
|
lazyLoad.isFetchingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-2 text-center text-ods-text-secondary text-h6", children: "Loading more\u2026" }) : null
|
|
22911
22910
|
] }) : null
|
|
22912
22911
|
] });
|
|
22913
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22912
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
22914
22913
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
22915
22914
|
searchInput,
|
|
22916
22915
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23083,7 +23082,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23083
23082
|
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children: _chunkUQEOAPAIcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo" ? (
|
|
23084
23083
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
23085
23084
|
// fit="cover" crops to the aspect-video cell.
|
|
23086
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23085
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23087
23086
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23088
23087
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
23089
23088
|
{
|
|
@@ -23216,7 +23215,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
23216
23215
|
}
|
|
23217
23216
|
)
|
|
23218
23217
|
] }),
|
|
23219
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23218
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
23220
23219
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
23221
23220
|
]
|
|
23222
23221
|
}
|
|
@@ -24078,7 +24077,7 @@ function VideoBitesDisplay({
|
|
|
24078
24077
|
filterPublished = true,
|
|
24079
24078
|
showTitle = true
|
|
24080
24079
|
}) {
|
|
24081
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24080
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24082
24081
|
}
|
|
24083
24082
|
|
|
24084
24083
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24147,7 +24146,7 @@ function WalkthroughVideo({
|
|
|
24147
24146
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24148
24147
|
};
|
|
24149
24148
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
24150
|
-
const hydrated =
|
|
24149
|
+
const hydrated = _chunkVK743MVLcjs.useIsHydrated.call(void 0, );
|
|
24151
24150
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24152
24151
|
if (!hydrated) return false;
|
|
24153
24152
|
try {
|
|
@@ -24544,7 +24543,7 @@ function WalkthroughVideo({
|
|
|
24544
24543
|
},
|
|
24545
24544
|
children: [
|
|
24546
24545
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24547
|
-
|
|
24546
|
+
_chunkVK743MVLcjs.VideoHoverPreviewSurface,
|
|
24548
24547
|
{
|
|
24549
24548
|
url: video.mainVideoUrl || "",
|
|
24550
24549
|
posterUrl: video.posterUrl,
|
|
@@ -24567,7 +24566,7 @@ function WalkthroughVideo({
|
|
|
24567
24566
|
`card-${embedUrlKey}`
|
|
24568
24567
|
) }),
|
|
24569
24568
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24570
|
-
|
|
24569
|
+
_chunkVK743MVLcjs.CardHitLayer,
|
|
24571
24570
|
{
|
|
24572
24571
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24573
24572
|
onPointerDown: pausePreviewNow,
|
|
@@ -24576,7 +24575,7 @@ function WalkthroughVideo({
|
|
|
24576
24575
|
}
|
|
24577
24576
|
),
|
|
24578
24577
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "pointer-events-none absolute bottom-[var(--spacing-system-xsf)] left-[var(--spacing-system-xsf)] z-20 flex max-w-[calc(100%-2*var(--spacing-system-xsf))] items-center gap-[var(--spacing-system-xsf)] rounded-full bg-ods-overlay py-[var(--spacing-system-xxs)] pl-[var(--spacing-system-xxs)] pr-[var(--spacing-system-sf)] text-ods-text-primary text-h6", children: [
|
|
24579
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUQEOAPAIcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24578
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUQEOAPAIcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
24580
24579
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
24581
24580
|
] }),
|
|
24582
24581
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24589,7 +24588,7 @@ function WalkthroughVideo({
|
|
|
24589
24588
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24590
24589
|
onClick: onUnmuteOrPlay,
|
|
24591
24590
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
24592
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24591
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.VideoUnmuteGlyph, {})
|
|
24593
24592
|
}
|
|
24594
24593
|
),
|
|
24595
24594
|
showPlaybackControls && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute left-[var(--spacing-system-xsf)] top-[var(--spacing-system-xsf)] z-30 flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -24682,7 +24681,7 @@ function WalkthroughVideo({
|
|
|
24682
24681
|
children: [
|
|
24683
24682
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
24684
24683
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24685
|
-
|
|
24684
|
+
_chunkVK743MVLcjs.Video,
|
|
24686
24685
|
{
|
|
24687
24686
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
24688
24687
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -24733,7 +24732,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
24733
24732
|
var _reactquery = require('@tanstack/react-query');
|
|
24734
24733
|
function useWalkthroughVideo(opts) {
|
|
24735
24734
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
24736
|
-
const captions =
|
|
24735
|
+
const captions = _chunkVK743MVLcjs.useCaptions.call(void 0, );
|
|
24737
24736
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24738
24737
|
queryKey: ["walkthrough-video", endpoint],
|
|
24739
24738
|
enabled,
|
|
@@ -24931,7 +24930,7 @@ function VideoSourceSelector({
|
|
|
24931
24930
|
}
|
|
24932
24931
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
24933
24932
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
24934
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24933
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
24935
24934
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24936
24935
|
"button",
|
|
24937
24936
|
{
|
|
@@ -25455,7 +25454,7 @@ function HighlightVideoSection({
|
|
|
25455
25454
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25456
25455
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25457
25456
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25458
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25457
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25459
25458
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25460
25459
|
"button",
|
|
25461
25460
|
{
|
|
@@ -26191,7 +26190,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26191
26190
|
] });
|
|
26192
26191
|
};
|
|
26193
26192
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
26194
|
-
const { innerRef, containerStyle } =
|
|
26193
|
+
const { innerRef, containerStyle } = _chunkVK743MVLcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
26195
26194
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
26196
26195
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26197
26196
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26359,7 +26358,7 @@ function WaitlistForm({
|
|
|
26359
26358
|
const { toast } = _chunkJJUV7Z4Lcjs.useToast.call(void 0, );
|
|
26360
26359
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkJJUV7Z4Lcjs.useHumanitySignals.call(void 0, );
|
|
26361
26360
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26362
|
-
const isClient =
|
|
26361
|
+
const isClient = _chunkVK743MVLcjs.useIsHydrated.call(void 0, );
|
|
26363
26362
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26364
26363
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26365
26364
|
const isMailDomainGeneric = hasGenericEmailDomain(email);
|
|
@@ -27139,7 +27138,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27139
27138
|
"data-state": open ? "open" : "closed",
|
|
27140
27139
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
27141
27140
|
"absolute inset-0 z-[102] outline-none data-[state=closed]:pointer-events-none data-[state=open]:pointer-events-auto data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
27142
|
-
|
|
27141
|
+
_chunkVK743MVLcjs.OVERLAY_BACKDROP_CLASS,
|
|
27143
27142
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
27144
27143
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
27145
27144
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -27215,11 +27214,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27215
27214
|
}
|
|
27216
27215
|
);
|
|
27217
27216
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
27218
|
-
var AppLayoutDrawerHeader =
|
|
27219
|
-
var AppLayoutDrawerTitle =
|
|
27220
|
-
var AppLayoutDrawerDescription =
|
|
27221
|
-
var AppLayoutDrawerBody =
|
|
27222
|
-
var AppLayoutDrawerFooter =
|
|
27217
|
+
var AppLayoutDrawerHeader = _chunkVK743MVLcjs.DrawerHeader;
|
|
27218
|
+
var AppLayoutDrawerTitle = _chunkVK743MVLcjs.DrawerTitle;
|
|
27219
|
+
var AppLayoutDrawerDescription = _chunkVK743MVLcjs.DrawerDescription;
|
|
27220
|
+
var AppLayoutDrawerBody = _chunkVK743MVLcjs.DrawerBody;
|
|
27221
|
+
var AppLayoutDrawerFooter = _chunkVK743MVLcjs.DrawerFooter;
|
|
27223
27222
|
|
|
27224
27223
|
// src/components/features/notifications/notification-tile.tsx
|
|
27225
27224
|
|
|
@@ -27307,7 +27306,7 @@ function NotificationTile({
|
|
|
27307
27306
|
}
|
|
27308
27307
|
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkJJUV7Z4Lcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27309
27308
|
type ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "min-w-0 flex-1 truncate text-h5", typeColorByVariant[accentVariant]), title: type, children: type }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1" }),
|
|
27310
|
-
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
27309
|
+
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkVK743MVLcjs.formatTicketRelativeTime.call(void 0, createdAtIso) }) : null,
|
|
27311
27310
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
27312
27311
|
{
|
|
27313
27312
|
active: isLive,
|
|
@@ -27404,7 +27403,7 @@ function NotificationDrawer({
|
|
|
27404
27403
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27405
27404
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27406
27405
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-m)] pt-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27407
|
-
|
|
27406
|
+
_chunkVK743MVLcjs.DrawerTitle,
|
|
27408
27407
|
{
|
|
27409
27408
|
hideClose: true,
|
|
27410
27409
|
className: "truncate",
|
|
@@ -27463,8 +27462,8 @@ function NotificationDrawer({
|
|
|
27463
27462
|
}
|
|
27464
27463
|
) });
|
|
27465
27464
|
}
|
|
27466
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27467
|
-
|
|
27465
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27466
|
+
_chunkVK743MVLcjs.DrawerContent,
|
|
27468
27467
|
{
|
|
27469
27468
|
side: "right",
|
|
27470
27469
|
"aria-describedby": void 0,
|
|
@@ -27739,13 +27738,13 @@ function getApprovalMeta(notification) {
|
|
|
27739
27738
|
function resolutionToStatus(resolution) {
|
|
27740
27739
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
27741
27740
|
case "APPROVED":
|
|
27742
|
-
return
|
|
27741
|
+
return _chunkVK743MVLcjs.APPROVAL_STATUS.APPROVED;
|
|
27743
27742
|
case "REJECTED":
|
|
27744
|
-
return
|
|
27743
|
+
return _chunkVK743MVLcjs.APPROVAL_STATUS.REJECTED;
|
|
27745
27744
|
case "CANCELLED":
|
|
27746
|
-
return
|
|
27745
|
+
return _chunkVK743MVLcjs.APPROVAL_STATUS.CANCELLED;
|
|
27747
27746
|
default:
|
|
27748
|
-
return
|
|
27747
|
+
return _chunkVK743MVLcjs.APPROVAL_STATUS.PENDING;
|
|
27749
27748
|
}
|
|
27750
27749
|
}
|
|
27751
27750
|
function approvalMetaToBatchData(approval) {
|
|
@@ -27785,7 +27784,7 @@ function ApprovalRequestNotificationTile({
|
|
|
27785
27784
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _582 => _582.resolution]));
|
|
27786
27785
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
27787
27786
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
27788
|
-
const { innerRef, containerStyle } =
|
|
27787
|
+
const { innerRef, containerStyle } = _chunkVK743MVLcjs.useCollapsible.call(void 0, { expanded });
|
|
27789
27788
|
if (!approval || !batchData) return null;
|
|
27790
27789
|
const tileNotification = {
|
|
27791
27790
|
...notification,
|
|
@@ -27838,7 +27837,7 @@ function ApprovalRequestNotificationTile({
|
|
|
27838
27837
|
}
|
|
27839
27838
|
)
|
|
27840
27839
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
27841
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27840
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ApprovalStatusTag, { status }),
|
|
27842
27841
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
27843
27842
|
"by ",
|
|
27844
27843
|
approval.resolvedByName
|
|
@@ -27856,12 +27855,12 @@ function ApprovalRequestNotificationTile({
|
|
|
27856
27855
|
"aria-expanded": expanded,
|
|
27857
27856
|
"aria-label": toggleLabel,
|
|
27858
27857
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
27859
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27858
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.ExpandChevron, { expanded })
|
|
27860
27859
|
}
|
|
27861
27860
|
)
|
|
27862
27861
|
] }),
|
|
27863
27862
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-t border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27864
|
-
|
|
27863
|
+
_chunkVK743MVLcjs.ApprovalBatchMessage,
|
|
27865
27864
|
{
|
|
27866
27865
|
data: batchData,
|
|
27867
27866
|
showExecutionStatus: false,
|
|
@@ -28197,7 +28196,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28197
28196
|
function StatusTag({ status }) {
|
|
28198
28197
|
if (status === "tracking") {
|
|
28199
28198
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28200
|
-
|
|
28199
|
+
_chunkVK743MVLcjs.Tag,
|
|
28201
28200
|
{
|
|
28202
28201
|
variant: "success",
|
|
28203
28202
|
className: STATUS_TAG_SKIN,
|
|
@@ -28207,9 +28206,9 @@ function StatusTag({ status }) {
|
|
|
28207
28206
|
);
|
|
28208
28207
|
}
|
|
28209
28208
|
if (status === "paused") {
|
|
28210
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28209
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
28211
28210
|
}
|
|
28212
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28211
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28213
28212
|
}
|
|
28214
28213
|
function LastEntryRow({ entry, onClick }) {
|
|
28215
28214
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0", children: [
|
|
@@ -28378,7 +28377,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28378
28377
|
"data-state": isOpen ? "open" : "closed",
|
|
28379
28378
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
28380
28379
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28381
|
-
|
|
28380
|
+
_chunkVK743MVLcjs.OVERLAY_BACKDROP_CLASS,
|
|
28382
28381
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28383
28382
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28384
28383
|
)
|
|
@@ -28532,7 +28531,7 @@ function BoardColumnHeader({
|
|
|
28532
28531
|
}) {
|
|
28533
28532
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
28534
28533
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
28535
|
-
const useStatusVariant =
|
|
28534
|
+
const useStatusVariant = _chunkVK743MVLcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
28536
28535
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
28537
28536
|
if (collapsed) {
|
|
28538
28537
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -28548,7 +28547,7 @@ function BoardColumnHeader({
|
|
|
28548
28547
|
}
|
|
28549
28548
|
),
|
|
28550
28549
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28551
|
-
|
|
28550
|
+
_chunkVK743MVLcjs.TicketStatusTag,
|
|
28552
28551
|
{
|
|
28553
28552
|
status: tagStatus,
|
|
28554
28553
|
label: column.label,
|
|
@@ -28561,7 +28560,7 @@ function BoardColumnHeader({
|
|
|
28561
28560
|
}
|
|
28562
28561
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28563
28562
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28564
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28563
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
28565
28564
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
28566
28565
|
] }),
|
|
28567
28566
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -28712,7 +28711,7 @@ function holdMoveDragEffect(element) {
|
|
|
28712
28711
|
|
|
28713
28712
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
28714
28713
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
28715
|
-
const { innerRef, containerStyle } =
|
|
28714
|
+
const { innerRef, containerStyle } = _chunkVK743MVLcjs.useCollapsible.call(void 0, { expanded });
|
|
28716
28715
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
28717
28716
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
28718
28717
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -28741,7 +28740,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
28741
28740
|
}
|
|
28742
28741
|
),
|
|
28743
28742
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: "pt-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28744
|
-
|
|
28743
|
+
_chunkVK743MVLcjs.ApprovalBatchMessage,
|
|
28745
28744
|
{
|
|
28746
28745
|
className: "mb-0",
|
|
28747
28746
|
data: {
|
|
@@ -28804,16 +28803,10 @@ var DRAGGED_CARD_OPACITY = 0.4;
|
|
|
28804
28803
|
var DRAG_PREVIEW_OPACITY = 0.9;
|
|
28805
28804
|
var MAX_VISIBLE_TAGS = 2;
|
|
28806
28805
|
var MAX_VISIBLE_ASSIGNEES = 3;
|
|
28807
|
-
var ACTIVITY_DEFAULT_LABEL = {
|
|
28808
|
-
"ai-working": "AI assistant is working",
|
|
28809
|
-
"user-typing": "User typing",
|
|
28810
|
-
"waiting-external": "Waiting for client response",
|
|
28811
|
-
stale: "No activity"
|
|
28812
|
-
};
|
|
28813
28806
|
var TICKET_CARD_SHELL = "relative flex flex-col gap-[var(--spacing-system-sf)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] select-none text-left";
|
|
28814
28807
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
28815
28808
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
28816
|
-
const newMessageTextColor = columnColor ?
|
|
28809
|
+
const newMessageTextColor = columnColor ? _chunkVK743MVLcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
28817
28810
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _618 => _618.deviceHostnames, 'optionalAccess', _619 => _619.length]) || ticket.organizationName);
|
|
28818
28811
|
const deviceText = [_optionalChain([ticket, 'access', _620 => _620.deviceHostnames, 'optionalAccess', _621 => _621.join, 'call', _622 => _622(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
28819
28812
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _623 => _623.assignees, 'optionalAccess', _624 => _624.length]) || renderAssignSlot);
|
|
@@ -28852,8 +28845,8 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
28852
28845
|
] })
|
|
28853
28846
|
] }) : null
|
|
28854
28847
|
] }) : null;
|
|
28855
|
-
const timestampLabel = ticket.createdAt ?
|
|
28856
|
-
const tooltipLabel = ticket.createdAt ?
|
|
28848
|
+
const timestampLabel = ticket.createdAt ? _chunkVK743MVLcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
28849
|
+
const tooltipLabel = ticket.createdAt ? _chunkVK743MVLcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
28857
28850
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28858
28851
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
28859
28852
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-zero)]", title: ticket.title, children: [
|
|
@@ -28866,29 +28859,16 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
28866
28859
|
rightSection
|
|
28867
28860
|
] }),
|
|
28868
28861
|
_optionalChain([ticket, 'access', _627 => _627.tags, 'optionalAccess', _628 => _628.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
28869
|
-
timestampLabel && tooltipLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28870
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28871
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28862
|
+
timestampLabel && tooltipLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVK743MVLcjs.Tooltip, { children: [
|
|
28863
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: timestampLabel }) }),
|
|
28864
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.TooltipContent, { children: tooltipLabel })
|
|
28872
28865
|
] }) }),
|
|
28873
28866
|
ticket.escalatedByUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] text-ods-open-yellow text-h6", children: [
|
|
28874
28867
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
28875
28868
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Escalated by User" })
|
|
28876
28869
|
] }),
|
|
28877
|
-
ticket.activity && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
28878
|
-
"div",
|
|
28879
|
-
{
|
|
28880
|
-
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
28881
|
-
"flex items-center gap-[var(--spacing-system-xxs)] text-h6",
|
|
28882
|
-
ticket.activity.kind === "stale" ? "text-ods-open-yellow" : "text-ods-text-secondary"
|
|
28883
|
-
),
|
|
28884
|
-
children: [
|
|
28885
|
-
ticket.activity.kind === "stale" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.ClockIcon, { className: "size-4 shrink-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.DotsLoaderIcon, { className: "size-4 shrink-0" }),
|
|
28886
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: _nullishCoalesce(ticket.activity.label, () => ( ACTIVITY_DEFAULT_LABEL[ticket.activity.kind])) })
|
|
28887
|
-
]
|
|
28888
|
-
}
|
|
28889
|
-
),
|
|
28890
28870
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28891
|
-
|
|
28871
|
+
_chunkVK743MVLcjs.Tag,
|
|
28892
28872
|
{
|
|
28893
28873
|
label: "New Message",
|
|
28894
28874
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -29103,8 +29083,8 @@ function TicketTagRow({ tags }) {
|
|
|
29103
29083
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
29104
29084
|
const hidden = tags.length - visible.length;
|
|
29105
29085
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
29106
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29107
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29086
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
29087
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVK743MVLcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
29108
29088
|
] });
|
|
29109
29089
|
}
|
|
29110
29090
|
|
|
@@ -30785,4 +30765,4 @@ function SortableRow({
|
|
|
30785
30765
|
|
|
30786
30766
|
|
|
30787
30767
|
exports.AllowedDomainsInput = AllowedDomainsInput; exports.AnnouncementBarView = AnnouncementBarView; exports.HiddenTagsPopup = HiddenTagsPopup; exports.TruncateText = TruncateText; exports.Autocomplete = Autocomplete; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePickerCalendar = DatePickerCalendar; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.InfoHint = InfoHint; exports.Field = Field; exports.HoneypotField = HoneypotField; exports.JsonDetailList = JsonDetailList; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.DeletedUserAvatar = DeletedUserAvatar; exports.SearchableSelect = SearchableSelect; exports.AssigneeDropdown = AssigneeDropdown; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoDataMessage = NoDataMessage; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.useConfirm = useConfirm; exports.useGuardedClose = useGuardedClose; exports.UnsavedChangesChip = UnsavedChangesChip; exports.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS = HUBSPOT_DO_NOT_COLLECT_FORM_PROPS; exports.AdminFormModal = AdminFormModal; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.FullscreenSwitchController = FullscreenSwitchController; exports.EmbedIframe = EmbedIframe; exports.EmbedViewerFrame = EmbedViewerFrame; exports.ClaudeEmbed = ClaudeEmbed; exports.FigmaEmbed = FigmaEmbed; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.MarkdownImage = MarkdownImage; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.MediaCarousel = MediaCarousel; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.SOCIAL_PLATFORM_ALIASES = SOCIAL_PLATFORM_ALIASES; exports.normalizeSocialPlatform = normalizeSocialPlatform; exports.hostMatches = hostMatches; exports.SOCIAL_PLATFORM_ALT_HOSTS = SOCIAL_PLATFORM_ALT_HOSTS; exports.socialPlatformHosts = socialPlatformHosts; exports.classifySocialHost = classifySocialHost; exports.pickSocialLink = pickSocialLink; exports.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.StatusIndicator = StatusIndicator; exports.BackButton = BackButton; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.TICKET_OPEN_PARAM = TICKET_OPEN_PARAM; exports.buildTicketOpenHref = buildTicketOpenHref; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.BITE_ID_RE = BITE_ID_RE; exports.generateBiteId = generateBiteId; exports.ensureBiteIds = ensureBiteIds; exports.matchBiteElement = matchBiteElement; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.isDismissedCookieValue = isDismissedCookieValue; exports.readDismissCookie = readDismissCookie; exports.writeDismissCookie = writeDismissCookie; exports.clearDismissCookie = clearDismissCookie; exports.announcementDismissCookieName = announcementDismissCookieName; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.WALKTHROUGH_VIDEO_DISMISS_KEY = WALKTHROUGH_VIDEO_DISMISS_KEY; exports.walkthroughDismissCookieName = walkthroughDismissCookieName; exports.isWalkthroughDismissed = isWalkthroughDismissed; exports.dismissWalkthrough = dismissWalkthrough; exports.clearWalkthroughDismissal = clearWalkthroughDismissal; exports.WALKTHROUGH_OPEN_QUERY_PARAM = WALKTHROUGH_OPEN_QUERY_PARAM; exports.withWalkthroughOpenParam = withWalkthroughOpenParam; exports.createSseSubscription = createSseSubscription; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.extractSections = extractSections; exports.SCHEDULING_SLUG_SHAPE = SCHEDULING_SLUG_SHAPE; exports.MAX_MONTH_OFFSET = MAX_MONTH_OFFSET; exports.normalizeSchedulingSlug = normalizeSchedulingSlug; exports.isValidSchedulingSlug = isValidSchedulingSlug; exports.parseSchedulingLinkName = parseSchedulingLinkName; exports.isListedSchedulingName = isListedSchedulingName; exports.schedulingAudienceKey = schedulingAudienceKey; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY; exports.sanitizeLandingUrl = sanitizeLandingUrl; exports.parseAttributionFromUrl = parseAttributionFromUrl; exports.captureFirstTouchAttribution = captureFirstTouchAttribution; exports.getFirstTouchAttribution = getFirstTouchAttribution; exports.withFirstTouchAttribution = withFirstTouchAttribution; exports.clearFirstTouchAttribution = clearFirstTouchAttribution; exports.ODS_SPACING_TOKENS = ODS_SPACING_TOKENS; exports.ODS_SPACING_TOKEN_PATTERN = ODS_SPACING_TOKEN_PATTERN; exports.ODS_SPACING_PROPS = ODS_SPACING_PROPS; exports.TAILWIND_STEP_TO_ODS_TOKEN = TAILWIND_STEP_TO_ODS_TOKEN; exports.CSV_CONTENT_TYPE = CSV_CONTENT_TYPE; exports.csvEscape = csvEscape; exports.toCsv = toCsv; exports.BenefitCard = BenefitCard; exports.benefitCardBorderClass = benefitCardBorderClass; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.SourceTooltip = SourceTooltip; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TitleContentBlock = TitleContentBlock; exports.TouchFriendlyTooltip = TouchFriendlyTooltip; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DataTableSkeleton = DataTableSkeleton; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.PasswordInput = PasswordInput; exports.AccountDetailsFields = AccountDetailsFields; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.CardSkeleton = CardSkeleton; exports.CardSkeletonGrid = CardSkeletonGrid; exports.AnnouncementBarSkeleton = AnnouncementBarSkeleton; exports.HeroSkeleton = HeroSkeleton; exports.SearchContainerSkeleton = SearchContainerSkeleton; exports.CategorySidebarSkeleton = CategorySidebarSkeleton; exports.BreadcrumbSkeleton = BreadcrumbSkeleton; exports.ResultsHeaderSkeleton = ResultsHeaderSkeleton; exports.TwoColumnLayoutSkeleton = TwoColumnLayoutSkeleton; exports.ArticleLayoutSkeleton = ArticleLayoutSkeleton; exports.VendorDetailLayoutSkeleton = VendorDetailLayoutSkeleton; exports.StatsSectionSkeleton = StatsSectionSkeleton; exports.BlogCardGridSkeleton = BlogCardGridSkeleton; exports.VendorGridSkeleton = VendorGridSkeleton; exports.SlackCommunitySkeleton = SlackCommunitySkeleton; exports.ContentLoadingContainer = ContentLoadingContainer; exports.useContentLoading = useContentLoading; exports.ParagraphSkeleton = ParagraphSkeleton; exports.ListSkeleton = ListSkeleton; exports.TableSkeleton = TableSkeleton; exports.FormSkeleton = FormSkeleton; exports.NavigationSkeleton = NavigationSkeleton; exports.ProfileSkeleton = ProfileSkeleton; exports.CommentSkeleton = CommentSkeleton; exports.FeatureListSkeleton = FeatureListSkeleton; exports.TimelineSkeleton = TimelineSkeleton; exports.PricingSkeleton = PricingSkeleton; exports.ProfileLoadingSkeleton = ProfileLoadingSkeleton; exports.MspProfileFormSkeleton = MspProfileFormSkeleton; exports.CategoryCardSkeleton = CategoryCardSkeleton; exports.CategoryVendorSelectorSkeleton = CategoryVendorSelectorSkeleton; exports.WizardLayoutSkeleton = WizardLayoutSkeleton; exports.MarginReportSkeleton = MarginReportSkeleton; exports.UsersGridSkeleton = UsersGridSkeleton; exports.DynamicSkeleton = DynamicSkeleton; exports.SkeletonPresets = SkeletonPresets; exports.PlatformSkeletonContainer = PlatformSkeletonContainer; exports.ProgressiveSkeleton = ProgressiveSkeleton; exports.OrganizationIconSkeleton = OrganizationIconSkeleton; exports.OrganizationCardSkeleton = OrganizationCardSkeleton; exports.OrganizationCardSkeletonGrid = OrganizationCardSkeletonGrid; exports.DeviceCardSkeleton = DeviceCardSkeleton; exports.DeviceCardSkeletonGrid = DeviceCardSkeletonGrid; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; exports.SOCIAL_ICON_COMPONENTS = SOCIAL_ICON_COMPONENTS; exports.SocialIconRow = SocialIconRow; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.FloatingWalkthroughVideo = FloatingWalkthroughVideo; exports.InlineWalkthroughVideo = InlineWalkthroughVideo; exports.useWalkthroughVideo = useWalkthroughVideo; exports.VideoSourceSelector = VideoSourceSelector; exports.SubtitlesEditor = SubtitlesEditor; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.AppLayoutDrawerContainerContext = AppLayoutDrawerContainerContext; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerCoordinationContext = AppLayoutDrawerCoordinationContext; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.UnreadDot = UnreadDot; exports.UnreadCountBadge = UnreadCountBadge; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCardBody = TicketCardBody; exports.TicketCardView = TicketCardView; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableList = SortableList; exports.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.DataTableEmpty = DataTableEmpty; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableHeader = DataTableHeader; exports.DATA_TABLE_HEADER_LABEL_CLASS = DATA_TABLE_HEADER_LABEL_CLASS; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.formatTestRunDuration = formatTestRunDuration; exports.TestResultsSkeleton = TestResultsSkeleton; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketDetailSection = TicketDetailSection; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.FilterPillRow = FilterPillRow; exports.LazyMount = LazyMount; exports.IconTile = IconTile;
|
|
30788
|
-
//# sourceMappingURL=chunk-
|
|
30768
|
+
//# sourceMappingURL=chunk-YUDYFA6H.cjs.map
|