@flamingo-stack/openframe-frontend-core 0.0.597 → 0.0.598-2039.5702.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-PT54TJWD.js → chunk-26MKONC3.js} +5 -5
- package/dist/{chunk-NK6COZ3P.cjs → chunk-2TWJF4AB.cjs} +22 -22
- package/dist/{chunk-NK6COZ3P.cjs.map → chunk-2TWJF4AB.cjs.map} +1 -1
- package/dist/{chunk-E74GL4E3.cjs → chunk-3GLZDKWZ.cjs} +8 -8
- package/dist/{chunk-E74GL4E3.cjs.map → chunk-3GLZDKWZ.cjs.map} +1 -1
- package/dist/{chunk-STYNZ4QM.cjs → chunk-3IXDZI3R.cjs} +3 -3
- package/dist/{chunk-STYNZ4QM.cjs.map → chunk-3IXDZI3R.cjs.map} +1 -1
- package/dist/{chunk-DNQP4VPB.js → chunk-3XHNV6W7.js} +12 -12
- package/dist/{chunk-TVK7PQON.js → chunk-442V6CPU.js} +6 -6
- package/dist/{chunk-BZ4UEHNJ.js → chunk-5IMAIYID.js} +9 -9
- package/dist/{chunk-VQ6INRQ4.cjs → chunk-5VQKQIOG.cjs} +105 -105
- package/dist/{chunk-VQ6INRQ4.cjs.map → chunk-5VQKQIOG.cjs.map} +1 -1
- package/dist/{chunk-6QZNDPMV.cjs → chunk-7WTEFZP7.cjs} +9 -9
- package/dist/{chunk-6QZNDPMV.cjs.map → chunk-7WTEFZP7.cjs.map} +1 -1
- package/dist/{chunk-B4BZRBKC.js → chunk-7YMVB7GE.js} +4 -4
- package/dist/{chunk-BOILDHSY.js → chunk-AC2TI6UT.js} +12 -12
- package/dist/{chunk-YBPFIXV4.cjs → chunk-B6ZJV7L4.cjs} +746 -448
- package/dist/{chunk-YBPFIXV4.cjs.map → chunk-B6ZJV7L4.cjs.map} +1 -1
- package/dist/{chunk-RYZKWZBG.cjs → chunk-B72CD6YE.cjs} +15 -15
- package/dist/{chunk-RYZKWZBG.cjs.map → chunk-B72CD6YE.cjs.map} +1 -1
- package/dist/{chunk-EVMHJB6X.js → chunk-BLUL2TE3.js} +4 -4
- package/dist/{chunk-GGQZBSFN.js → chunk-BVQEU5JB.js} +2 -2
- package/dist/{chunk-H64ZHSYR.cjs → chunk-CCWI3622.cjs} +4 -4
- package/dist/{chunk-H64ZHSYR.cjs.map → chunk-CCWI3622.cjs.map} +1 -1
- package/dist/{chunk-ELG2QNW5.js → chunk-D7X33EAT.js} +7 -7
- package/dist/{chunk-L3L2ATFK.cjs → chunk-E2K2LYSM.cjs} +85 -85
- package/dist/{chunk-L3L2ATFK.cjs.map → chunk-E2K2LYSM.cjs.map} +1 -1
- package/dist/{chunk-YH6IQTPI.cjs → chunk-EHAYNUOL.cjs} +3 -3
- package/dist/{chunk-YH6IQTPI.cjs.map → chunk-EHAYNUOL.cjs.map} +1 -1
- package/dist/{chunk-WZJOILPU.js → chunk-F2KBCLUG.js} +2 -2
- package/dist/{chunk-MYBXCWEI.js → chunk-FKBM6U43.js} +2 -2
- package/dist/{chunk-FKOYQPMK.js → chunk-GQLYYZF4.js} +5 -5
- package/dist/{chunk-LRQCKSZC.js → chunk-IW746HJ7.js} +2 -2
- package/dist/{chunk-GKZUTZT3.cjs → chunk-JI2R4UW5.cjs} +15 -15
- package/dist/{chunk-GKZUTZT3.cjs.map → chunk-JI2R4UW5.cjs.map} +1 -1
- package/dist/{chunk-M4YQUHOR.cjs → chunk-JJUV7Z4L.cjs} +15 -15
- package/dist/{chunk-M4YQUHOR.cjs.map → chunk-JJUV7Z4L.cjs.map} +1 -1
- package/dist/{chunk-2JOIC34G.cjs → chunk-KJMXCDYI.cjs} +37 -37
- package/dist/{chunk-2JOIC34G.cjs.map → chunk-KJMXCDYI.cjs.map} +1 -1
- package/dist/{chunk-IRXLB6GV.js → chunk-KV24I5MD.js} +5 -5
- package/dist/{chunk-Z4QFA4BF.cjs → chunk-M7U3MT2Q.cjs} +14 -14
- package/dist/{chunk-Z4QFA4BF.cjs.map → chunk-M7U3MT2Q.cjs.map} +1 -1
- package/dist/{chunk-R2YJKREE.js → chunk-NJCVIERS.js} +4 -4
- package/dist/{chunk-VXEHG53O.js → chunk-OIUXJUMH.js} +6 -6
- package/dist/{chunk-SAEJGTCI.cjs → chunk-QPAPUIF3.cjs} +35 -35
- package/dist/{chunk-SAEJGTCI.cjs.map → chunk-QPAPUIF3.cjs.map} +1 -1
- package/dist/{chunk-CPJP7GKL.cjs → chunk-R6LFBCGC.cjs} +3 -3
- package/dist/{chunk-CPJP7GKL.cjs.map → chunk-R6LFBCGC.cjs.map} +1 -1
- package/dist/{chunk-FHWL7QFL.js → chunk-RTCKC6RH.js} +5 -5
- package/dist/{chunk-UAAXUFK6.js → chunk-RU3IKVY2.js} +3 -3
- package/dist/{chunk-EZM5DNII.js → chunk-S6WBBSII.js} +3 -3
- package/dist/{chunk-WWGSYT7R.js → chunk-SYFSVIGH.js} +2 -2
- package/dist/{chunk-R2MOCGZ7.cjs → chunk-SZRP4264.cjs} +34 -34
- package/dist/{chunk-R2MOCGZ7.cjs.map → chunk-SZRP4264.cjs.map} +1 -1
- package/dist/{chunk-2JNCZDJR.js → chunk-TSCIVH7T.js} +2 -2
- package/dist/{chunk-JJFYMYBJ.cjs → chunk-TYENRLNN.cjs} +39 -39
- package/dist/{chunk-JJFYMYBJ.cjs.map → chunk-TYENRLNN.cjs.map} +1 -1
- package/dist/{chunk-EGQ345IA.js → chunk-UHWDSVZI.js} +4 -4
- package/dist/{chunk-RDTOMWDN.cjs → chunk-UPKZU6QU.cjs} +1 -1
- package/dist/chunk-UPKZU6QU.cjs.map +1 -0
- package/dist/{chunk-WCBRZCU4.cjs → chunk-UQEOAPAI.cjs} +9 -9
- package/dist/{chunk-WCBRZCU4.cjs.map → chunk-UQEOAPAI.cjs.map} +1 -1
- package/dist/{chunk-O4VZOA2Q.cjs → chunk-UXOOVP77.cjs} +3 -3
- package/dist/{chunk-O4VZOA2Q.cjs.map → chunk-UXOOVP77.cjs.map} +1 -1
- package/dist/{chunk-BZEWPW5A.cjs → chunk-VIBREYUK.cjs} +3 -3
- package/dist/{chunk-BZEWPW5A.cjs.map → chunk-VIBREYUK.cjs.map} +1 -1
- package/dist/{chunk-E27AKT4A.cjs → chunk-WRZV3HGH.cjs} +9 -9
- package/dist/{chunk-E27AKT4A.cjs.map → chunk-WRZV3HGH.cjs.map} +1 -1
- package/dist/{chunk-PIQRGLTF.cjs → chunk-WU53IOY6.cjs} +25 -25
- package/dist/{chunk-PIQRGLTF.cjs.map → chunk-WU53IOY6.cjs.map} +1 -1
- package/dist/{chunk-VNSRNVPD.js → chunk-XAJZIDFH.js} +673 -375
- package/dist/chunk-XAJZIDFH.js.map +1 -0
- package/dist/{chunk-UIVLSMEZ.cjs → chunk-XRVFQQ7W.cjs} +242 -242
- package/dist/{chunk-UIVLSMEZ.cjs.map → chunk-XRVFQQ7W.cjs.map} +1 -1
- package/dist/{chunk-RYXIRVDC.js → chunk-YB6FI2G3.js} +1 -1
- package/dist/chunk-YB6FI2G3.js.map +1 -0
- package/dist/{chunk-V6KX4KO3.js → chunk-YPJB4LJD.js} +3 -3
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +8 -8
- package/dist/components/chat/hooks/index.d.ts +1 -0
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-chat-history-hydration.d.ts +5 -3
- package/dist/components/chat/hooks/use-chat-history-hydration.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-managed-dialog-list.d.ts +49 -0
- package/dist/components/chat/hooks/use-managed-dialog-list.d.ts.map +1 -0
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts +2 -16
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +9 -5
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +8 -4
- package/dist/components/chat/types/unified-chat-state.types.d.ts +55 -0
- package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
- package/dist/components/chat/utils/chat-conversations-api.d.ts +29 -0
- package/dist/components/chat/utils/chat-conversations-api.d.ts.map +1 -0
- package/dist/components/chat/utils/index.d.ts +1 -0
- package/dist/components/chat/utils/index.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/contact/index.js +8 -8
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/docs/index.js +11 -11
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/embeds/index.js +8 -8
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/faq/index.js +9 -9
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/features/index.js +7 -7
- package/dist/components/help-center-pages/index.cjs +31 -31
- package/dist/components/help-center-pages/index.js +22 -22
- package/dist/components/index.cjs +70 -66
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +26 -22
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +49 -49
- package/dist/components/meeting-scheduler/index.js +9 -9
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/navigation/index.js +10 -10
- package/dist/components/onboarding-guides/index.cjs +12 -12
- package/dist/components/onboarding-guides/index.js +11 -11
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/related-content/index.js +6 -6
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/tickets/index.js +12 -12
- package/dist/components/ui/index.cjs +12 -8
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +11 -7
- package/dist/contexts/chat-runtime-context.d.ts +12 -0
- package/dist/contexts/chat-runtime-context.d.ts.map +1 -1
- package/dist/contexts/index.cjs +2 -2
- package/dist/contexts/index.js +1 -1
- package/dist/hooks/index.cjs +5 -5
- package/dist/hooks/index.js +4 -4
- package/dist/index.cjs +16 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +15 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/.embeddable-chat.md +2 -1
- package/src/components/chat/embeddable-chat.tsx +69 -37
- package/src/components/chat/hooks/.use-managed-dialog-list.md +28 -0
- package/src/components/chat/hooks/.use-nats-chat-adapter.md +2 -0
- package/src/components/chat/hooks/.use-sse-chat-adapter.md +7 -0
- package/src/components/chat/hooks/.use-unified-chat.md +1 -1
- package/src/components/chat/hooks/__tests__/managed-dialog-list.test.ts +92 -0
- package/src/components/chat/hooks/__tests__/nats-adapter-managed-dialogs.test.ts +167 -0
- package/src/components/chat/hooks/__tests__/sse-managed-dialogs.test.ts +256 -0
- package/src/components/chat/hooks/index.ts +2 -0
- package/src/components/chat/hooks/use-chat-history-hydration.ts +8 -7
- package/src/components/chat/hooks/use-managed-dialog-list.ts +263 -0
- package/src/components/chat/hooks/use-nats-chat-adapter.ts +65 -150
- package/src/components/chat/hooks/use-sse-chat-adapter.ts +213 -39
- package/src/components/chat/hooks/use-unified-chat.ts +5 -0
- package/src/components/chat/types/unified-chat-state.types.ts +62 -0
- package/src/components/chat/utils/.chat-conversations-api.md +16 -0
- package/src/components/chat/utils/__tests__/chat-conversations-api-golden.test.ts +90 -0
- package/src/components/chat/utils/chat-conversations-api.ts +92 -0
- package/src/components/chat/utils/index.ts +7 -0
- package/src/contexts/.chat-runtime-context.md +2 -0
- package/src/contexts/chat-runtime-context.tsx +12 -0
- package/dist/chunk-RDTOMWDN.cjs.map +0 -1
- package/dist/chunk-RYXIRVDC.js.map +0 -1
- package/dist/chunk-VNSRNVPD.js.map +0 -1
- /package/dist/{chunk-PT54TJWD.js.map → chunk-26MKONC3.js.map} +0 -0
- /package/dist/{chunk-DNQP4VPB.js.map → chunk-3XHNV6W7.js.map} +0 -0
- /package/dist/{chunk-TVK7PQON.js.map → chunk-442V6CPU.js.map} +0 -0
- /package/dist/{chunk-BZ4UEHNJ.js.map → chunk-5IMAIYID.js.map} +0 -0
- /package/dist/{chunk-B4BZRBKC.js.map → chunk-7YMVB7GE.js.map} +0 -0
- /package/dist/{chunk-BOILDHSY.js.map → chunk-AC2TI6UT.js.map} +0 -0
- /package/dist/{chunk-EVMHJB6X.js.map → chunk-BLUL2TE3.js.map} +0 -0
- /package/dist/{chunk-GGQZBSFN.js.map → chunk-BVQEU5JB.js.map} +0 -0
- /package/dist/{chunk-ELG2QNW5.js.map → chunk-D7X33EAT.js.map} +0 -0
- /package/dist/{chunk-WZJOILPU.js.map → chunk-F2KBCLUG.js.map} +0 -0
- /package/dist/{chunk-MYBXCWEI.js.map → chunk-FKBM6U43.js.map} +0 -0
- /package/dist/{chunk-FKOYQPMK.js.map → chunk-GQLYYZF4.js.map} +0 -0
- /package/dist/{chunk-LRQCKSZC.js.map → chunk-IW746HJ7.js.map} +0 -0
- /package/dist/{chunk-IRXLB6GV.js.map → chunk-KV24I5MD.js.map} +0 -0
- /package/dist/{chunk-R2YJKREE.js.map → chunk-NJCVIERS.js.map} +0 -0
- /package/dist/{chunk-VXEHG53O.js.map → chunk-OIUXJUMH.js.map} +0 -0
- /package/dist/{chunk-FHWL7QFL.js.map → chunk-RTCKC6RH.js.map} +0 -0
- /package/dist/{chunk-UAAXUFK6.js.map → chunk-RU3IKVY2.js.map} +0 -0
- /package/dist/{chunk-EZM5DNII.js.map → chunk-S6WBBSII.js.map} +0 -0
- /package/dist/{chunk-WWGSYT7R.js.map → chunk-SYFSVIGH.js.map} +0 -0
- /package/dist/{chunk-2JNCZDJR.js.map → chunk-TSCIVH7T.js.map} +0 -0
- /package/dist/{chunk-EGQ345IA.js.map → chunk-UHWDSVZI.js.map} +0 -0
- /package/dist/{chunk-V6KX4KO3.js.map → chunk-YPJB4LJD.js.map} +0 -0
|
@@ -22,7 +22,7 @@ var _chunkTON3YCCWcjs = require('./chunk-TON3YCCW.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkJJUV7Z4Lcjs = require('./chunk-JJUV7Z4L.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkN6CULJYRcjs = require('./chunk-N6CULJYR.cjs');
|
|
@@ -91,7 +91,7 @@ var _chunkN6HNK25Acjs = require('./chunk-N6HNK25A.cjs');
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
var
|
|
94
|
+
var _chunkB6ZJV7L4cjs = require('./chunk-B6ZJV7L4.cjs');
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
@@ -229,7 +229,7 @@ var _chunkXQFFGR6Ucjs = require('./chunk-XQFFGR6U.cjs');
|
|
|
229
229
|
|
|
230
230
|
|
|
231
231
|
|
|
232
|
-
var
|
|
232
|
+
var _chunkUQEOAPAIcjs = require('./chunk-UQEOAPAI.cjs');
|
|
233
233
|
|
|
234
234
|
|
|
235
235
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -238,7 +238,7 @@ var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
|
238
238
|
|
|
239
239
|
|
|
240
240
|
|
|
241
|
-
var
|
|
241
|
+
var _chunkEHAYNUOLcjs = require('./chunk-EHAYNUOL.cjs');
|
|
242
242
|
|
|
243
243
|
|
|
244
244
|
var _chunk63QUMV72cjs = require('./chunk-63QUMV72.cjs');
|
|
@@ -344,7 +344,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
344
344
|
var useTheme = _nextthemes.useTheme;
|
|
345
345
|
function useThemeToggle() {
|
|
346
346
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
347
|
-
const mounted =
|
|
347
|
+
const mounted = _chunkB6ZJV7L4cjs.useIsHydrated.call(void 0, );
|
|
348
348
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
349
349
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
350
350
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -621,7 +621,7 @@ function TruncateText({
|
|
|
621
621
|
const { ref, isTruncated } = _chunkYXWGSDK4cjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
622
622
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
623
623
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
624
|
-
|
|
624
|
+
_chunkB6ZJV7L4cjs.FloatingTooltip,
|
|
625
625
|
{
|
|
626
626
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
627
627
|
side,
|
|
@@ -706,7 +706,7 @@ function AutocompleteInner(props, ref) {
|
|
|
706
706
|
};
|
|
707
707
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
708
708
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
709
|
-
const keyboardPadding =
|
|
709
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
710
710
|
const containerRef = _react.useRef.call(void 0, null);
|
|
711
711
|
const hiddenTagsPopupRef = _react.useRef.call(void 0, null);
|
|
712
712
|
const isInvalid = invalid || !!error;
|
|
@@ -724,7 +724,7 @@ function AutocompleteInner(props, ref) {
|
|
|
724
724
|
textMeasureRef,
|
|
725
725
|
badgeRef,
|
|
726
726
|
inputRef
|
|
727
|
-
} =
|
|
727
|
+
} = _chunkJJUV7Z4Lcjs.useAutoLimitTags.call(void 0, {
|
|
728
728
|
count: multiple ? selectedOptions.length : 0,
|
|
729
729
|
limitTags: multiple ? limitTagsProp : 0,
|
|
730
730
|
placeholder: inputPlaceholder
|
|
@@ -928,7 +928,7 @@ function AutocompleteInner(props, ref) {
|
|
|
928
928
|
),
|
|
929
929
|
/* @__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
930
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
931
|
-
|
|
931
|
+
_chunkB6ZJV7L4cjs.Tag,
|
|
932
932
|
{
|
|
933
933
|
variant: "outline",
|
|
934
934
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1142,7 +1142,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1142
1142
|
"aria-hidden": "true",
|
|
1143
1143
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
1144
1144
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1145
|
-
|
|
1145
|
+
_chunkB6ZJV7L4cjs.Tag,
|
|
1146
1146
|
{
|
|
1147
1147
|
variant: "outline",
|
|
1148
1148
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -2532,7 +2532,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
2532
2532
|
const describedById = _react.useId.call(void 0, );
|
|
2533
2533
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
2534
2534
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2535
|
-
|
|
2535
|
+
_chunkB6ZJV7L4cjs.FloatingTooltip,
|
|
2536
2536
|
{
|
|
2537
2537
|
content: children,
|
|
2538
2538
|
side,
|
|
@@ -2626,7 +2626,7 @@ function Value2({ value, depth }) {
|
|
|
2626
2626
|
}
|
|
2627
2627
|
if (typeof value === "string") {
|
|
2628
2628
|
if (ISO_DATE.test(value)) {
|
|
2629
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2629
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkB6ZJV7L4cjs.formatRelativeTime.call(void 0, value) });
|
|
2630
2630
|
}
|
|
2631
2631
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2632
2632
|
}
|
|
@@ -2808,7 +2808,7 @@ function InfoCardFooter({ footer }) {
|
|
|
2808
2808
|
] });
|
|
2809
2809
|
}
|
|
2810
2810
|
function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLabel }) {
|
|
2811
|
-
const { copy, copied } =
|
|
2811
|
+
const { copy, copied } = _chunkJJUV7Z4Lcjs.useCopyToClipboard.call(void 0, );
|
|
2812
2812
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 w-full items-center gap-[var(--spacing-system-xs)] self-stretch", children: [
|
|
2813
2813
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-primary text-h4", children: showLabel ? label : "" }),
|
|
2814
2814
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-px flex-1 bg-ods-divider" }),
|
|
@@ -2898,7 +2898,7 @@ function SearchableSelect({
|
|
|
2898
2898
|
}) {
|
|
2899
2899
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
2900
2900
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
2901
|
-
const keyboardPadding =
|
|
2901
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
2902
2902
|
if (!isOpen && search !== "") setSearch("");
|
|
2903
2903
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
2904
2904
|
const q = search.trim().toLowerCase();
|
|
@@ -3021,7 +3021,7 @@ function CompactAssigneeDropdown({
|
|
|
3021
3021
|
value: o.value,
|
|
3022
3022
|
label: o.label,
|
|
3023
3023
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3024
|
-
|
|
3024
|
+
_chunkUQEOAPAIcjs.SquareAvatar,
|
|
3025
3025
|
{
|
|
3026
3026
|
src: o.imageUrl,
|
|
3027
3027
|
alt: o.label,
|
|
@@ -3056,7 +3056,7 @@ function CompactAssigneeDropdown({
|
|
|
3056
3056
|
className
|
|
3057
3057
|
),
|
|
3058
3058
|
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeletedUserAvatar, { size: "sm", accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}` }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3059
|
-
|
|
3059
|
+
_chunkUQEOAPAIcjs.SquareAvatar,
|
|
3060
3060
|
{
|
|
3061
3061
|
src: currentAssignee.avatarSrc,
|
|
3062
3062
|
alt: currentAssignee.name,
|
|
@@ -3104,7 +3104,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3104
3104
|
const opt = option;
|
|
3105
3105
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-sf)]", children: [
|
|
3106
3106
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3107
|
-
|
|
3107
|
+
_chunkUQEOAPAIcjs.SquareAvatar,
|
|
3108
3108
|
{
|
|
3109
3109
|
src: opt.imageUrl,
|
|
3110
3110
|
alt: opt.label,
|
|
@@ -3139,7 +3139,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3139
3139
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3140
3140
|
}
|
|
3141
3141
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3142
|
-
|
|
3142
|
+
_chunkUQEOAPAIcjs.SquareAvatar,
|
|
3143
3143
|
{
|
|
3144
3144
|
src: currentAssignee.avatarSrc,
|
|
3145
3145
|
alt: currentAssignee.name,
|
|
@@ -3164,7 +3164,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3164
3164
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3165
3165
|
}
|
|
3166
3166
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3167
|
-
|
|
3167
|
+
_chunkUQEOAPAIcjs.SquareAvatar,
|
|
3168
3168
|
{
|
|
3169
3169
|
src: currentAssignee.avatarSrc,
|
|
3170
3170
|
alt: currentAssignee.name,
|
|
@@ -3238,7 +3238,7 @@ function TextValue({ value }) {
|
|
|
3238
3238
|
}
|
|
3239
3239
|
) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick, title: text, className: interactiveClass, children: text }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: text, children: text }),
|
|
3240
3240
|
hasImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3241
|
-
|
|
3241
|
+
_chunkUQEOAPAIcjs.SquareAvatar,
|
|
3242
3242
|
{
|
|
3243
3243
|
src: imageSrc,
|
|
3244
3244
|
alt: text,
|
|
@@ -3258,7 +3258,7 @@ function RowValue({ value }) {
|
|
|
3258
3258
|
}
|
|
3259
3259
|
case "status": {
|
|
3260
3260
|
const { type: _type, ...props } = value;
|
|
3261
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3261
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TicketStatusTag, { ...props });
|
|
3262
3262
|
}
|
|
3263
3263
|
case "custom":
|
|
3264
3264
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -3774,7 +3774,7 @@ function TagSelectDropdown({
|
|
|
3774
3774
|
}) {
|
|
3775
3775
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
3776
3776
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
3777
|
-
const keyboardPadding =
|
|
3777
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
3778
3778
|
if (!isOpen && search !== "") setSearch("");
|
|
3779
3779
|
const query = search.trim();
|
|
3780
3780
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
@@ -4066,7 +4066,7 @@ function TagsManager({
|
|
|
4066
4066
|
}) {
|
|
4067
4067
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
4068
4068
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
4069
|
-
const keyboardPadding =
|
|
4069
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
4070
4070
|
const [editingId, setEditingId] = _react.useState.call(void 0, null);
|
|
4071
4071
|
const [editingName, setEditingName] = _react.useState.call(void 0, "");
|
|
4072
4072
|
const editInputRef = _react.useRef.call(void 0, null);
|
|
@@ -4169,7 +4169,7 @@ function TagsManager({
|
|
|
4169
4169
|
}
|
|
4170
4170
|
),
|
|
4171
4171
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4172
|
-
|
|
4172
|
+
_chunkB6ZJV7L4cjs.Tag,
|
|
4173
4173
|
{
|
|
4174
4174
|
label: tag.name,
|
|
4175
4175
|
variant: "outline",
|
|
@@ -4714,10 +4714,10 @@ function useConfirm() {
|
|
|
4714
4714
|
},
|
|
4715
4715
|
[]
|
|
4716
4716
|
);
|
|
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,
|
|
4717
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4718
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalTitle, { children: pending.title }) }),
|
|
4719
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4720
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.ModalFooter, { children: [
|
|
4721
4721
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4722
4722
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4723
4723
|
] })
|
|
@@ -4780,9 +4780,9 @@ function AdminFormModal({
|
|
|
4780
4780
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4781
4781
|
});
|
|
4782
4782
|
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,
|
|
4783
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4784
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.ModalHeader, { children: [
|
|
4785
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalTitle, { children: title }),
|
|
4786
4786
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4787
4787
|
] }),
|
|
4788
4788
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4807,7 +4807,7 @@ function AdminFormModal({
|
|
|
4807
4807
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4808
4808
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4809
4809
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4810
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4810
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4811
4811
|
"div",
|
|
4812
4812
|
{
|
|
4813
4813
|
"aria-busy": "true",
|
|
@@ -4828,12 +4828,12 @@ function AdminFormModal({
|
|
|
4828
4828
|
]
|
|
4829
4829
|
}
|
|
4830
4830
|
) })
|
|
4831
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4831
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalContent, { className: contentClassName, children }),
|
|
4832
4832
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4833
4833
|
]
|
|
4834
4834
|
}
|
|
4835
4835
|
),
|
|
4836
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4836
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4837
4837
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4838
4838
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4839
4839
|
footerStatus,
|
|
@@ -6080,9 +6080,9 @@ var KIND_HEADING = {
|
|
|
6080
6080
|
design: "Claude Design"
|
|
6081
6081
|
};
|
|
6082
6082
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
6083
|
-
const { src: mirrorSrc, status } =
|
|
6083
|
+
const { src: mirrorSrc, status } = _chunkJJUV7Z4Lcjs.useClaudeMirrorSrc.call(void 0, url);
|
|
6084
6084
|
const isProbing = status === "probing";
|
|
6085
|
-
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => (
|
|
6085
|
+
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunkJJUV7Z4Lcjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
6086
6086
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6087
6087
|
EmbedViewerFrame,
|
|
6088
6088
|
{
|
|
@@ -6157,12 +6157,12 @@ function SlidesViewToggle({ view, onChange }) {
|
|
|
6157
6157
|
}
|
|
6158
6158
|
function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
6159
6159
|
const [view, setView] = _react.useState.call(void 0, "present");
|
|
6160
|
-
const isSlides = url ?
|
|
6161
|
-
const embedSrc = url ?
|
|
6160
|
+
const isSlides = url ? _chunkJJUV7Z4Lcjs.isFigmaSlidesUrl.call(void 0, url) : false;
|
|
6161
|
+
const embedSrc = url ? _chunkJJUV7Z4Lcjs.toFigmaEmbedUrl.call(void 0, url, { slidesView: view }) : null;
|
|
6162
6162
|
const originalUrl = (() => {
|
|
6163
6163
|
if (!url) return null;
|
|
6164
6164
|
try {
|
|
6165
|
-
const parsed = new URL(
|
|
6165
|
+
const parsed = new URL(_chunkJJUV7Z4Lcjs.toFigmaOriginalUrl.call(void 0, url));
|
|
6166
6166
|
const host = parsed.hostname.toLowerCase();
|
|
6167
6167
|
const okHost = host === "figma.com" || host.endsWith(".figma.com");
|
|
6168
6168
|
const okProtocol = parsed.protocol === "https:" || parsed.protocol === "http:";
|
|
@@ -6542,7 +6542,7 @@ var OGLinkPreview = ({
|
|
|
6542
6542
|
const hasImage = !!resolvedImageUrl;
|
|
6543
6543
|
const isFallbackImage = resolvedImageUrl === fallbackImage;
|
|
6544
6544
|
const isPlaceholder = resolvedImageUrl === placeholderImageUrl && !isFallbackImage;
|
|
6545
|
-
const bgColor =
|
|
6545
|
+
const bgColor = _chunkEHAYNUOLcjs.useImageEdgeColor.call(void 0, _nullishCoalesce(resolvedImageUrl, () => ( null)), "var(--color-bg-surface)");
|
|
6546
6546
|
const renderSkeleton = () => isCompact ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "my-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[120px] flex-row overflow-hidden rounded-lg border border-ods-border bg-ods-card", children: [
|
|
6547
6547
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full w-[200px] flex-shrink-0 animate-pulse bg-ods-border" }),
|
|
6548
6548
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col justify-center p-3", children: [
|
|
@@ -6931,7 +6931,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6931
6931
|
};
|
|
6932
6932
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6933
6933
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6934
|
-
|
|
6934
|
+
_chunkB6ZJV7L4cjs.Video,
|
|
6935
6935
|
{
|
|
6936
6936
|
url: item.src,
|
|
6937
6937
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7363,7 +7363,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
|
|
|
7363
7363
|
width: m.width,
|
|
7364
7364
|
height: m.height
|
|
7365
7365
|
}));
|
|
7366
|
-
const formatNumber2 =
|
|
7366
|
+
const formatNumber2 = _chunkUQEOAPAIcjs.formatLargeNumber;
|
|
7367
7367
|
const truncateText = (text, maxLength = 600) => {
|
|
7368
7368
|
if (text.length <= maxLength) return text;
|
|
7369
7369
|
return text.slice(0, maxLength) + "...";
|
|
@@ -7655,7 +7655,7 @@ function buildRichEmbedOverrides({
|
|
|
7655
7655
|
ogEndpointPath,
|
|
7656
7656
|
textSizes
|
|
7657
7657
|
}) {
|
|
7658
|
-
const standard =
|
|
7658
|
+
const standard = _chunkB6ZJV7L4cjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7659
7659
|
return {
|
|
7660
7660
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7661
7661
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7665,7 +7665,7 @@ function buildRichEmbedOverrides({
|
|
|
7665
7665
|
const language = match ? match[1] : "";
|
|
7666
7666
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7667
7667
|
if (language === "youtube-embed") {
|
|
7668
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7668
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.Video, { kind: "youtube", url: fenceText() });
|
|
7669
7669
|
}
|
|
7670
7670
|
if (language === "reddit-embed") {
|
|
7671
7671
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7706,7 +7706,7 @@ function buildRichEmbedOverrides({
|
|
|
7706
7706
|
"data-figma-url": figmaUrl
|
|
7707
7707
|
} = divProps;
|
|
7708
7708
|
if (className === "youtube-embed" && videoId) {
|
|
7709
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7709
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.Video, { kind: "youtube", url: videoId });
|
|
7710
7710
|
}
|
|
7711
7711
|
if (className === "reddit-embed" && postUrl) {
|
|
7712
7712
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7791,14 +7791,14 @@ function buildRichEmbedOverrides({
|
|
|
7791
7791
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7792
7792
|
// elsewhere). Guard against empty `![]()`.
|
|
7793
7793
|
img: ({ src, alt }) => {
|
|
7794
|
-
if (!
|
|
7794
|
+
if (!_chunkB6ZJV7L4cjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7795
7795
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7796
7796
|
},
|
|
7797
7797
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7798
7798
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7799
7799
|
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,
|
|
7800
|
+
if (!_chunkB6ZJV7L4cjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
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, _chunkB6ZJV7L4cjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7802
7802
|
}
|
|
7803
7803
|
};
|
|
7804
7804
|
}
|
|
@@ -8039,13 +8039,13 @@ var RichMarkdownInner = ({
|
|
|
8039
8039
|
},
|
|
8040
8040
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8041
8041
|
);
|
|
8042
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8042
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkB6ZJV7L4cjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8043
8043
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8044
8044
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8045
8045
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8046
8046
|
);
|
|
8047
8047
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8048
|
-
|
|
8048
|
+
_chunkB6ZJV7L4cjs.MarkdownEngine,
|
|
8049
8049
|
{
|
|
8050
8050
|
content,
|
|
8051
8051
|
className,
|
|
@@ -8067,7 +8067,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8067
8067
|
className = "",
|
|
8068
8068
|
sectionIds,
|
|
8069
8069
|
onInternalLinkClick,
|
|
8070
|
-
brokenLinks =
|
|
8070
|
+
brokenLinks = _chunkB6ZJV7L4cjs.NO_BROKEN_LINKS,
|
|
8071
8071
|
currentPath,
|
|
8072
8072
|
resolveSource = "openframe-docs",
|
|
8073
8073
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8640,7 +8640,7 @@ function FilterModal({
|
|
|
8640
8640
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _162 => _162.defaultSort]), () => ( "desc"));
|
|
8641
8641
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _163 => _163.sort]), () => ( dateDefaultSort)));
|
|
8642
8642
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _164 => _164.range]));
|
|
8643
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8643
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkB6ZJV7L4cjs.useScrollFade.call(void 0, );
|
|
8644
8644
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8645
8645
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8646
8646
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8685,10 +8685,10 @@ function FilterModal({
|
|
|
8685
8685
|
const hasFilterGroups = filterGroups.length > 0;
|
|
8686
8686
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8687
8687
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8688
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8689
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8688
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.Modal, { isOpen, onClose, className: _chunk23V5BSHDcjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
8689
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalTitle, { children: title }) }),
|
|
8690
8690
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8691
|
-
|
|
8691
|
+
_chunkB6ZJV7L4cjs.ModalContent,
|
|
8692
8692
|
{
|
|
8693
8693
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
8694
8694
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8780,12 +8780,12 @@ function FilterModal({
|
|
|
8780
8780
|
] })
|
|
8781
8781
|
}
|
|
8782
8782
|
),
|
|
8783
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8784
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8783
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8784
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8785
8785
|
] })
|
|
8786
8786
|
}
|
|
8787
8787
|
),
|
|
8788
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8788
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.ModalFooter, { children: [
|
|
8789
8789
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8790
8790
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8791
8791
|
] })
|
|
@@ -8829,9 +8829,9 @@ function actionToMenuItems(action, idx) {
|
|
|
8829
8829
|
function renderActionButton(action, opts = {}) {
|
|
8830
8830
|
const button = renderRawActionButton(action, opts);
|
|
8831
8831
|
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,
|
|
8832
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.Tooltip, { children: [
|
|
8833
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipTrigger, { asChild: true, children: button }),
|
|
8834
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipContent, { children: action.tooltip })
|
|
8835
8835
|
] }) });
|
|
8836
8836
|
}
|
|
8837
8837
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -8855,7 +8855,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
8855
8855
|
}
|
|
8856
8856
|
if (action.submenu && action.submenu.length > 0) {
|
|
8857
8857
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8858
|
-
|
|
8858
|
+
_chunkB6ZJV7L4cjs.ActionsMenuDropdown,
|
|
8859
8859
|
{
|
|
8860
8860
|
groups: [{ items: action.submenu }],
|
|
8861
8861
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -8990,10 +8990,10 @@ function IconButtonsVariant({
|
|
|
8990
8990
|
selector,
|
|
8991
8991
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
8992
8992
|
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,
|
|
8993
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ActionsMenuDropdown, { groups: menuActions })
|
|
8994
8994
|
] })
|
|
8995
8995
|
] }),
|
|
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,
|
|
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, _chunkB6ZJV7L4cjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
8997
8997
|
] });
|
|
8998
8998
|
}
|
|
8999
8999
|
function PrimaryButtonsVariant({
|
|
@@ -9031,7 +9031,7 @@ function MenuPrimaryVariant({
|
|
|
9031
9031
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9032
9032
|
selector,
|
|
9033
9033
|
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,
|
|
9034
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9035
9035
|
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
9036
|
] })
|
|
9037
9037
|
] }),
|
|
@@ -9039,7 +9039,7 @@ function MenuPrimaryVariant({
|
|
|
9039
9039
|
// The selector rides into the menu as its header row: on mobile the
|
|
9040
9040
|
// title row has no room for it, and hiding it entirely (what
|
|
9041
9041
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9042
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9042
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9043
9043
|
) : null })
|
|
9044
9044
|
] });
|
|
9045
9045
|
}
|
|
@@ -9330,11 +9330,11 @@ function ListPageLayout({
|
|
|
9330
9330
|
|
|
9331
9331
|
var ENTITY_IMAGE_SIZE = "size-[52px] md:size-[60px]";
|
|
9332
9332
|
function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
9333
|
-
const resolvedSrc =
|
|
9333
|
+
const resolvedSrc = _chunkEHAYNUOLcjs.useAuthedImageSrc.call(void 0, src);
|
|
9334
9334
|
const [failedSrc, setFailedSrc] = _react2.default.useState(null);
|
|
9335
9335
|
const imageFailed = resolvedSrc !== void 0 && failedSrc === resolvedSrc;
|
|
9336
9336
|
const showFallback = imageFailed || !resolvedSrc;
|
|
9337
|
-
const initials =
|
|
9337
|
+
const initials = _chunkUQEOAPAIcjs.personInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
9338
9338
|
if (showFallback) {
|
|
9339
9339
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9340
9340
|
"div",
|
|
@@ -9445,7 +9445,7 @@ function TitleBlock({
|
|
|
9445
9445
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
9446
9446
|
(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
9447
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9448
|
-
|
|
9448
|
+
_chunkB6ZJV7L4cjs.FloatingTooltip,
|
|
9449
9449
|
{
|
|
9450
9450
|
content: title,
|
|
9451
9451
|
side: "bottom",
|
|
@@ -9462,12 +9462,12 @@ function TitleBlock({
|
|
|
9462
9462
|
}
|
|
9463
9463
|
),
|
|
9464
9464
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9465
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9465
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.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
9466
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
9467
9467
|
empty `p` collapses to zero height (its only content would be
|
|
9468
9468
|
collapsible whitespace), which is exactly the shift that mode
|
|
9469
9469
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
9470
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9470
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9471
9471
|
"p",
|
|
9472
9472
|
{
|
|
9473
9473
|
ref: subtitleRef,
|
|
@@ -9478,7 +9478,7 @@ function TitleBlock({
|
|
|
9478
9478
|
) })
|
|
9479
9479
|
] })
|
|
9480
9480
|
] }) : 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,
|
|
9481
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.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
9482
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9483
9483
|
] }) : (
|
|
9484
9484
|
/* This branch never had the single-line clamp, so text already
|
|
@@ -10204,7 +10204,7 @@ function canUseCookies() {
|
|
|
10204
10204
|
return document.URL.startsWith("http:") || document.URL.startsWith("https:");
|
|
10205
10205
|
}
|
|
10206
10206
|
function fallbackStore(name) {
|
|
10207
|
-
return
|
|
10207
|
+
return _chunkEHAYNUOLcjs.createLocalStorageAdapter.call(void 0, {
|
|
10208
10208
|
key: name,
|
|
10209
10209
|
logTag: "[dismiss-cookie]",
|
|
10210
10210
|
validate: (parsed) => typeof parsed === "string"
|
|
@@ -10310,7 +10310,7 @@ var HIDDEN_GRACE_MS = 45e3;
|
|
|
10310
10310
|
function createSseSubscription(options) {
|
|
10311
10311
|
const {
|
|
10312
10312
|
url,
|
|
10313
|
-
fetchImpl =
|
|
10313
|
+
fetchImpl = _chunkEHAYNUOLcjs.embedAuthedFetch,
|
|
10314
10314
|
onEvent,
|
|
10315
10315
|
onStatusChange,
|
|
10316
10316
|
onConnectedChange,
|
|
@@ -10893,7 +10893,7 @@ function lastPathSegment(url) {
|
|
|
10893
10893
|
function makeComposeContentUrl(opts) {
|
|
10894
10894
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
10895
10895
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
10896
|
-
const type =
|
|
10896
|
+
const type = _chunkUQEOAPAIcjs.canonicalContentRefType.call(void 0, rawType);
|
|
10897
10897
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
10898
10898
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
10899
10899
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -11080,7 +11080,7 @@ function extractSections(markdown, options = {}) {
|
|
|
11080
11080
|
if (heading.level > opts.maxLevel) continue;
|
|
11081
11081
|
let title = heading.text;
|
|
11082
11082
|
if (opts.stripFormattingMarkers) {
|
|
11083
|
-
title =
|
|
11083
|
+
title = _chunkB6ZJV7L4cjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
11084
11084
|
}
|
|
11085
11085
|
const baseId = _chunkYXWGSDK4cjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkYXWGSDK4cjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
11086
11086
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -11139,7 +11139,7 @@ function sanitizeLandingUrl(url) {
|
|
|
11139
11139
|
}
|
|
11140
11140
|
}
|
|
11141
11141
|
function makeAdapter() {
|
|
11142
|
-
return
|
|
11142
|
+
return _chunkEHAYNUOLcjs.createLocalStorageAdapter.call(void 0, {
|
|
11143
11143
|
key: FIRST_TOUCH_ATTRIBUTION_KEY,
|
|
11144
11144
|
backend: "session",
|
|
11145
11145
|
logTag: "[first-touch-attribution]",
|
|
@@ -11653,7 +11653,7 @@ function DashboardInfoCard({
|
|
|
11653
11653
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
11654
11654
|
if (asTag) {
|
|
11655
11655
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
11656
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11656
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
11657
11657
|
}
|
|
11658
11658
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
11659
11659
|
"(",
|
|
@@ -11707,7 +11707,7 @@ function DashboardInfoCard({
|
|
|
11707
11707
|
/* @__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
11708
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
11709
11709
|
renderPercentage(),
|
|
11710
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11710
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.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
11711
|
] })
|
|
11712
11712
|
] }),
|
|
11713
11713
|
renderProgress()
|
|
@@ -11890,7 +11890,7 @@ function DeviceCard({
|
|
|
11890
11890
|
] }),
|
|
11891
11891
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
11892
11892
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11893
|
-
|
|
11893
|
+
_chunkB6ZJV7L4cjs.Tag,
|
|
11894
11894
|
{
|
|
11895
11895
|
variant: statusTag.variant,
|
|
11896
11896
|
icon: statusTag.icon,
|
|
@@ -11904,7 +11904,7 @@ function DeviceCard({
|
|
|
11904
11904
|
formatLastSeen(device.lastSeen)
|
|
11905
11905
|
] })
|
|
11906
11906
|
] }),
|
|
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,
|
|
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, _chunkB6ZJV7L4cjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
11908
11908
|
]
|
|
11909
11909
|
}
|
|
11910
11910
|
);
|
|
@@ -11965,7 +11965,7 @@ function FeatureCardGrid({
|
|
|
11965
11965
|
if (allCardsHaveNoBorders) {
|
|
11966
11966
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
11967
11967
|
}
|
|
11968
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11968
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUQEOAPAIcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
11969
11969
|
const startIndex = rowIndex * itemsPerRow;
|
|
11970
11970
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
11971
11971
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -11995,7 +11995,7 @@ function FeatureCardGrid({
|
|
|
11995
11995
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
11996
11996
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
11997
11997
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11998
|
-
|
|
11998
|
+
_chunkUQEOAPAIcjs.StatusBadge,
|
|
11999
11999
|
{
|
|
12000
12000
|
text: item.badge.text,
|
|
12001
12001
|
variant: item.badge.variant || "card",
|
|
@@ -12004,7 +12004,7 @@ function FeatureCardGrid({
|
|
|
12004
12004
|
)
|
|
12005
12005
|
] }),
|
|
12006
12006
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12007
|
-
|
|
12007
|
+
_chunkUQEOAPAIcjs.StatusBadge,
|
|
12008
12008
|
{
|
|
12009
12009
|
text: item.badge.text,
|
|
12010
12010
|
variant: item.badge.variant || "card",
|
|
@@ -12052,7 +12052,7 @@ function FeatureList({ items, className = "", iconBoxSize = 72 }) {
|
|
|
12052
12052
|
|
|
12053
12053
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
12054
12054
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12055
|
-
|
|
12055
|
+
_chunkB6ZJV7L4cjs.FloatingTooltip,
|
|
12056
12056
|
{
|
|
12057
12057
|
as: "span",
|
|
12058
12058
|
side: "top",
|
|
@@ -12236,7 +12236,7 @@ function DropdownButton({
|
|
|
12236
12236
|
)
|
|
12237
12237
|
);
|
|
12238
12238
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12239
|
-
|
|
12239
|
+
_chunkB6ZJV7L4cjs.ActionsMenuDropdown,
|
|
12240
12240
|
{
|
|
12241
12241
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
12242
12242
|
open,
|
|
@@ -12451,7 +12451,7 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
12451
12451
|
}
|
|
12452
12452
|
function ServiceCardRowItem({ row }) {
|
|
12453
12453
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
12454
|
-
const { copy, copied } =
|
|
12454
|
+
const { copy, copied } = _chunkJJUV7Z4Lcjs.useCopyToClipboard.call(void 0, );
|
|
12455
12455
|
const { ref: valueRef, isTruncated: valueTruncated } = _chunkYXWGSDK4cjs.useIsTruncated.call(void 0, row.value);
|
|
12456
12456
|
const actions = _react.useMemo.call(void 0,
|
|
12457
12457
|
() => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }),
|
|
@@ -12474,7 +12474,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12474
12474
|
),
|
|
12475
12475
|
children: [
|
|
12476
12476
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12477
|
-
|
|
12477
|
+
_chunkB6ZJV7L4cjs.FloatingTooltip,
|
|
12478
12478
|
{
|
|
12479
12479
|
content: row.value,
|
|
12480
12480
|
side: "top",
|
|
@@ -12600,9 +12600,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12600
12600
|
return next;
|
|
12601
12601
|
});
|
|
12602
12602
|
};
|
|
12603
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12603
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
12604
12604
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12605
|
-
|
|
12605
|
+
_chunkB6ZJV7L4cjs.TooltipTrigger,
|
|
12606
12606
|
{
|
|
12607
12607
|
asChild: true,
|
|
12608
12608
|
onPointerDown: (e) => {
|
|
@@ -12620,7 +12620,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12620
12620
|
children
|
|
12621
12621
|
}
|
|
12622
12622
|
),
|
|
12623
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12623
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
12624
12624
|
] }) });
|
|
12625
12625
|
}
|
|
12626
12626
|
|
|
@@ -13664,9 +13664,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
13664
13664
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
13665
13665
|
}
|
|
13666
13666
|
}, []);
|
|
13667
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13668
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13669
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13667
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
13668
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.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 }) }) }),
|
|
13669
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
13670
13670
|
] }) });
|
|
13671
13671
|
}
|
|
13672
13672
|
|
|
@@ -13719,9 +13719,9 @@ function TruncatedCell({ value, className }) {
|
|
|
13719
13719
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
13720
13720
|
}
|
|
13721
13721
|
}, []);
|
|
13722
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13723
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13724
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13722
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
13723
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.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 }) }),
|
|
13724
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
13725
13725
|
] }) });
|
|
13726
13726
|
}
|
|
13727
13727
|
|
|
@@ -13836,7 +13836,7 @@ function QueryReportTable({
|
|
|
13836
13836
|
onThumbPointerDown,
|
|
13837
13837
|
onThumbPointerMove,
|
|
13838
13838
|
onThumbPointerUp
|
|
13839
|
-
} =
|
|
13839
|
+
} = _chunkJJUV7Z4Lcjs.useHorizontalScrollbar.call(void 0, );
|
|
13840
13840
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex w-full flex-col", isCompact ? "gap-0" : "gap-[var(--spacing-system-l)]", className), children: [
|
|
13841
13841
|
!isCompact && (title || headerActions || showExport && data.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between pt-[var(--spacing-system-l)]", children: [
|
|
13842
13842
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -14879,7 +14879,7 @@ function SearchInput({
|
|
|
14879
14879
|
const debouncedValue = _chunkYXWGSDK4cjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
14880
14880
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
14881
14881
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
14882
|
-
const keyboardPadding =
|
|
14882
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
14883
14883
|
const containerRef = _react.useRef.call(void 0, null);
|
|
14884
14884
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
14885
14885
|
const {
|
|
@@ -14889,7 +14889,7 @@ function SearchInput({
|
|
|
14889
14889
|
textMeasureRef,
|
|
14890
14890
|
badgeRef,
|
|
14891
14891
|
inputRef
|
|
14892
|
-
} =
|
|
14892
|
+
} = _chunkJJUV7Z4Lcjs.useAutoLimitTags.call(void 0, {
|
|
14893
14893
|
count: filterChips.length,
|
|
14894
14894
|
limitTags,
|
|
14895
14895
|
// When chips exist, pass empty placeholder so the hook only reserves input minWidth,
|
|
@@ -15081,7 +15081,7 @@ function SearchInput({
|
|
|
15081
15081
|
/* @__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, {}) }),
|
|
15082
15082
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
15083
15083
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15084
|
-
|
|
15084
|
+
_chunkB6ZJV7L4cjs.Tag,
|
|
15085
15085
|
{
|
|
15086
15086
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15087
15087
|
label: chip.label,
|
|
@@ -15195,7 +15195,7 @@ function SearchInput({
|
|
|
15195
15195
|
}
|
|
15196
15196
|
),
|
|
15197
15197
|
/* @__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,
|
|
15198
|
-
|
|
15198
|
+
_chunkB6ZJV7L4cjs.Tag,
|
|
15199
15199
|
{
|
|
15200
15200
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15201
15201
|
label: chip.label,
|
|
@@ -15337,7 +15337,7 @@ function TagSearchInput({
|
|
|
15337
15337
|
limitTags = "auto"
|
|
15338
15338
|
}) {
|
|
15339
15339
|
const currentPlaceholder = tags.length === 0 ? placeholder : addMorePlaceholder;
|
|
15340
|
-
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } =
|
|
15340
|
+
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } = _chunkJJUV7Z4Lcjs.useAutoLimitTags.call(void 0, {
|
|
15341
15341
|
count: tags.length,
|
|
15342
15342
|
limitTags,
|
|
15343
15343
|
placeholder: currentPlaceholder
|
|
@@ -15408,7 +15408,7 @@ function TagSearchInput({
|
|
|
15408
15408
|
/* @__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" }) }),
|
|
15409
15409
|
/* @__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: [
|
|
15410
15410
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15411
|
-
|
|
15411
|
+
_chunkB6ZJV7L4cjs.Tag,
|
|
15412
15412
|
{
|
|
15413
15413
|
variant: "outline",
|
|
15414
15414
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -15496,7 +15496,7 @@ function TagSearchInput({
|
|
|
15496
15496
|
"aria-hidden": "true",
|
|
15497
15497
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
15498
15498
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15499
|
-
|
|
15499
|
+
_chunkB6ZJV7L4cjs.Tag,
|
|
15500
15500
|
{
|
|
15501
15501
|
variant: "outline",
|
|
15502
15502
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -16168,7 +16168,7 @@ function ImageUploader({
|
|
|
16168
16168
|
const [pressed, setPressed] = _react.useState.call(void 0, false);
|
|
16169
16169
|
const [validationError, setValidationError] = _react.useState.call(void 0, null);
|
|
16170
16170
|
const interactive = !disabled && !loading;
|
|
16171
|
-
const resolvedValue =
|
|
16171
|
+
const resolvedValue = _chunkEHAYNUOLcjs.useAuthedImageSrc.call(void 0, value);
|
|
16172
16172
|
const hasImage = Boolean(value);
|
|
16173
16173
|
const displayError = error || validationError || void 0;
|
|
16174
16174
|
const resolvedHint = hint === void 0 ? `Max. size: ${formatSize(maxSize)}` : hint;
|
|
@@ -16328,7 +16328,7 @@ var _reactcolorful = require('react-colorful');
|
|
|
16328
16328
|
var Popover2 = PopoverPrimitive6.Root;
|
|
16329
16329
|
var PopoverTrigger = PopoverPrimitive6.Trigger;
|
|
16330
16330
|
var PopoverContent = _react.forwardRef.call(void 0, ({ className, align = "center", sideOffset = 4, collisionPadding, ...props }, ref) => {
|
|
16331
|
-
const keyboardPadding =
|
|
16331
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
16332
16332
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive6.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16333
16333
|
PopoverPrimitive6.Content,
|
|
16334
16334
|
{
|
|
@@ -16385,20 +16385,20 @@ function ColorPresetSelect({
|
|
|
16385
16385
|
...presets.map((p) => ({
|
|
16386
16386
|
id: p.key,
|
|
16387
16387
|
label: p.label,
|
|
16388
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16388
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ColorSwatch, { color: p.color }),
|
|
16389
16389
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
16390
16390
|
})),
|
|
16391
16391
|
{
|
|
16392
16392
|
id: CUSTOM_PRESET_KEY,
|
|
16393
16393
|
label: "Custom",
|
|
16394
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16394
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
16395
16395
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
16396
16396
|
}
|
|
16397
16397
|
]
|
|
16398
16398
|
}
|
|
16399
16399
|
];
|
|
16400
16400
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16401
|
-
|
|
16401
|
+
_chunkB6ZJV7L4cjs.ActionsMenuDropdown,
|
|
16402
16402
|
{
|
|
16403
16403
|
groups,
|
|
16404
16404
|
align: "start",
|
|
@@ -16408,7 +16408,7 @@ function ColorPresetSelect({
|
|
|
16408
16408
|
{
|
|
16409
16409
|
disabled,
|
|
16410
16410
|
"aria-label": `Color: ${displayLabel}`,
|
|
16411
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16411
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ColorSwatch, { color: displayColor }),
|
|
16412
16412
|
selectedLabel: displayLabel,
|
|
16413
16413
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16414
16414
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16429,7 +16429,7 @@ function HexInputs({ value, onChange }) {
|
|
|
16429
16429
|
}
|
|
16430
16430
|
const commit = () => {
|
|
16431
16431
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
16432
|
-
if (
|
|
16432
|
+
if (_chunkB6ZJV7L4cjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
16433
16433
|
else setDraft(value);
|
|
16434
16434
|
};
|
|
16435
16435
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16493,12 +16493,12 @@ function ChannelInput({
|
|
|
16493
16493
|
);
|
|
16494
16494
|
}
|
|
16495
16495
|
function RgbInputs({ value, onChange }) {
|
|
16496
|
-
const rgb = _nullishCoalesce(
|
|
16496
|
+
const rgb = _nullishCoalesce(_chunkB6ZJV7L4cjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16497
16497
|
const update = (next) => {
|
|
16498
16498
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
16499
16499
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
16500
16500
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
16501
|
-
onChange(
|
|
16501
|
+
onChange(_chunkB6ZJV7L4cjs.rgbToHex.call(void 0, r, g, b));
|
|
16502
16502
|
};
|
|
16503
16503
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16504
16504
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -16507,14 +16507,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
16507
16507
|
] });
|
|
16508
16508
|
}
|
|
16509
16509
|
function HslInputs({ value, onChange }) {
|
|
16510
|
-
const rgb = _nullishCoalesce(
|
|
16511
|
-
const hsl =
|
|
16510
|
+
const rgb = _nullishCoalesce(_chunkB6ZJV7L4cjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16511
|
+
const hsl = _chunkB6ZJV7L4cjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
16512
16512
|
const update = (next) => {
|
|
16513
16513
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
16514
16514
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
16515
16515
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
16516
|
-
const out =
|
|
16517
|
-
onChange(
|
|
16516
|
+
const out = _chunkB6ZJV7L4cjs.hslToRgb.call(void 0, h, s, l);
|
|
16517
|
+
onChange(_chunkB6ZJV7L4cjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
16518
16518
|
};
|
|
16519
16519
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16520
16520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -16540,7 +16540,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16540
16540
|
{
|
|
16541
16541
|
disabled,
|
|
16542
16542
|
"aria-label": "Pick custom color",
|
|
16543
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16543
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ColorSwatch, { color: value }),
|
|
16544
16544
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
16545
16545
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16546
16546
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16556,7 +16556,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16556
16556
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
16557
16557
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16558
16558
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16559
|
-
|
|
16559
|
+
_chunkB6ZJV7L4cjs.ActionsMenuDropdown,
|
|
16560
16560
|
{
|
|
16561
16561
|
groups: formatGroups,
|
|
16562
16562
|
align: "start",
|
|
@@ -16604,7 +16604,7 @@ function TicketStatusConfigRow({
|
|
|
16604
16604
|
isDragging,
|
|
16605
16605
|
moveButtons
|
|
16606
16606
|
}) {
|
|
16607
|
-
const dragAndDropEnabled =
|
|
16607
|
+
const dragAndDropEnabled = _chunkJJUV7Z4Lcjs.useDragAndDropEnabled.call(void 0, );
|
|
16608
16608
|
const nameInputId = _react.useId.call(void 0, );
|
|
16609
16609
|
const isSystem = variant === "system";
|
|
16610
16610
|
const isCustomColor = !isSystem && presetKey === void 0;
|
|
@@ -16613,7 +16613,7 @@ function TicketStatusConfigRow({
|
|
|
16613
16613
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
16614
16614
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
16615
16615
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16616
|
-
|
|
16616
|
+
_chunkB6ZJV7L4cjs.TicketStatusTag,
|
|
16617
16617
|
{
|
|
16618
16618
|
status: statusKey,
|
|
16619
16619
|
label: name || " ",
|
|
@@ -16765,7 +16765,7 @@ function formatTestRunDuration(ms) {
|
|
|
16765
16765
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
16766
16766
|
var SKELETON_COLUMNS = 6;
|
|
16767
16767
|
function TestResultsSkeleton() {
|
|
16768
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16768
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
16769
16769
|
/* @__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}`)) }),
|
|
16770
16770
|
/* @__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}`)) }) })
|
|
16771
16771
|
] }) });
|
|
@@ -16800,13 +16800,13 @@ function TestResultsTable({ rows, loading }) {
|
|
|
16800
16800
|
if (loading) {
|
|
16801
16801
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
16802
16802
|
}
|
|
16803
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16803
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.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: [
|
|
16804
16804
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
16805
16805
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
16806
16806
|
] }) }) });
|
|
16807
16807
|
}
|
|
16808
16808
|
function TestRunErrorBanner({ error, className }) {
|
|
16809
|
-
const { copy } =
|
|
16809
|
+
const { copy } = _chunkJJUV7Z4Lcjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
16810
16810
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16811
16811
|
"div",
|
|
16812
16812
|
{
|
|
@@ -16860,7 +16860,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
16860
16860
|
function TestRunStatusStat({ status, className }) {
|
|
16861
16861
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
16862
16862
|
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: [
|
|
16863
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16863
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.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: "-" }),
|
|
16864
16864
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
16865
16865
|
] });
|
|
16866
16866
|
}
|
|
@@ -16903,7 +16903,7 @@ function useTestRunState(campaign) {
|
|
|
16903
16903
|
const firstError = isFinished && campaign.errors.length > 0 ? campaign.errors[0].error : null;
|
|
16904
16904
|
const status = isActive ? "running" : hasRun && isFinished ? firstError ? "error" : "success" : "idle";
|
|
16905
16905
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
16906
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
16906
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkB6ZJV7L4cjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
16907
16907
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
16908
16908
|
const displayRows = _react.useMemo.call(void 0,
|
|
16909
16909
|
() => campaign.results.map(
|
|
@@ -16942,7 +16942,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
16942
16942
|
),
|
|
16943
16943
|
children: [
|
|
16944
16944
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16945
|
-
|
|
16945
|
+
_chunkUQEOAPAIcjs.SquareAvatar,
|
|
16946
16946
|
{
|
|
16947
16947
|
src: attachment.thumbnailSrc,
|
|
16948
16948
|
alt: attachment.fileName,
|
|
@@ -17035,7 +17035,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17035
17035
|
};
|
|
17036
17036
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex items-start gap-4 rounded-[6px] p-3", "border border-ods-border bg-ods-card", className), children: [
|
|
17037
17037
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17038
|
-
|
|
17038
|
+
_chunkUQEOAPAIcjs.SquareAvatar,
|
|
17039
17039
|
{
|
|
17040
17040
|
src: note.authorAvatar,
|
|
17041
17041
|
alt: note.authorName,
|
|
@@ -17211,7 +17211,7 @@ function TicketInfoSection({
|
|
|
17211
17211
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-card px-4 py-3 lg:grid-cols-[1fr_1fr_1fr_auto]", children: [
|
|
17212
17212
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
17213
17213
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17214
|
-
|
|
17214
|
+
_chunkUQEOAPAIcjs.SquareAvatar,
|
|
17215
17215
|
{
|
|
17216
17216
|
src: _optionalChain([organization, 'optionalAccess', _388 => _388.imageSrc]),
|
|
17217
17217
|
alt: _optionalChain([organization, 'optionalAccess', _389 => _389.name]),
|
|
@@ -17241,7 +17241,7 @@ function TicketInfoSection({
|
|
|
17241
17241
|
/* @__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]) }),
|
|
17242
17242
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
17243
17243
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17244
|
-
|
|
17244
|
+
_chunkB6ZJV7L4cjs.TicketStatusTag,
|
|
17245
17245
|
{
|
|
17246
17246
|
status: _nullishCoalesce(status, () => ( "")),
|
|
17247
17247
|
label: statusLabel,
|
|
@@ -17280,9 +17280,9 @@ function TicketInfoSection({
|
|
|
17280
17280
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17281
17281
|
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" }) }),
|
|
17282
17282
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
17283
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17283
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.SimpleMarkdownRenderer, { content: description }),
|
|
17284
17284
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
17285
|
-
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,
|
|
17285
|
+
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, _chunkB6ZJV7L4cjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
17286
17286
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17287
17287
|
TicketNotesSection,
|
|
17288
17288
|
{
|
|
@@ -17305,7 +17305,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
17305
17305
|
const { label, color } = option;
|
|
17306
17306
|
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: [
|
|
17307
17307
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17308
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17308
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ColorSwatch, { color }),
|
|
17309
17309
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17310
17310
|
] }),
|
|
17311
17311
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17315,7 +17315,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
17315
17315
|
const { label, imageUrl } = option;
|
|
17316
17316
|
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: [
|
|
17317
17317
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17318
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17318
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUQEOAPAIcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
17319
17319
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17320
17320
|
] }),
|
|
17321
17321
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17350,9 +17350,9 @@ function TakeOverTicketModal({
|
|
|
17350
17350
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
17351
17351
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
17352
17352
|
};
|
|
17353
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17353
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17354
17354
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17355
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17355
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
17356
17356
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17357
17357
|
"The ticket ",
|
|
17358
17358
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17367,7 +17367,7 @@ function TakeOverTicketModal({
|
|
|
17367
17367
|
value: selectedStatusId,
|
|
17368
17368
|
onChange: setStatusId,
|
|
17369
17369
|
placeholder: "Select Status",
|
|
17370
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17370
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17371
17371
|
renderOption: renderTicketStatusOption
|
|
17372
17372
|
}
|
|
17373
17373
|
) }),
|
|
@@ -17381,7 +17381,7 @@ function TakeOverTicketModal({
|
|
|
17381
17381
|
placeholder: "Select Technician",
|
|
17382
17382
|
loading: assigneesLoading,
|
|
17383
17383
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17384
|
-
|
|
17384
|
+
_chunkUQEOAPAIcjs.SquareAvatar,
|
|
17385
17385
|
{
|
|
17386
17386
|
src: selectedAssignee.imageUrl,
|
|
17387
17387
|
alt: selectedAssignee.label,
|
|
@@ -17394,7 +17394,7 @@ function TakeOverTicketModal({
|
|
|
17394
17394
|
}
|
|
17395
17395
|
) })
|
|
17396
17396
|
] }),
|
|
17397
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17397
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.ModalFooter, { children: [
|
|
17398
17398
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17399
17399
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17400
17400
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17453,9 +17453,9 @@ function ReopenTicketModal({
|
|
|
17453
17453
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
17454
17454
|
});
|
|
17455
17455
|
};
|
|
17456
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17456
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17457
17457
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17458
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17458
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17459
17459
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17460
17460
|
"The ticket ",
|
|
17461
17461
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17470,7 +17470,7 @@ function ReopenTicketModal({
|
|
|
17470
17470
|
value: selectedStatusId,
|
|
17471
17471
|
onChange: setStatusId,
|
|
17472
17472
|
placeholder: "Select Status",
|
|
17473
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17473
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17474
17474
|
renderOption: renderTicketStatusOption
|
|
17475
17475
|
}
|
|
17476
17476
|
) }),
|
|
@@ -17484,7 +17484,7 @@ function ReopenTicketModal({
|
|
|
17484
17484
|
placeholder: "Select Technician",
|
|
17485
17485
|
loading: assigneesLoading,
|
|
17486
17486
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17487
|
-
|
|
17487
|
+
_chunkUQEOAPAIcjs.SquareAvatar,
|
|
17488
17488
|
{
|
|
17489
17489
|
src: selectedAssignee.imageUrl,
|
|
17490
17490
|
alt: selectedAssignee.label,
|
|
@@ -17508,7 +17508,7 @@ function ReopenTicketModal({
|
|
|
17508
17508
|
disabled: isPending
|
|
17509
17509
|
}
|
|
17510
17510
|
) }),
|
|
17511
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17511
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.ModalFooter, { children: [
|
|
17512
17512
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17513
17513
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17514
17514
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17556,9 +17556,9 @@ function ReopenTicketRequestModal({
|
|
|
17556
17556
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
17557
17557
|
});
|
|
17558
17558
|
};
|
|
17559
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17559
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17560
17560
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17561
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17561
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17562
17562
|
/* @__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." }),
|
|
17563
17563
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17564
17564
|
Textarea,
|
|
@@ -17582,7 +17582,7 @@ function ReopenTicketRequestModal({
|
|
|
17582
17582
|
disabled: isPending
|
|
17583
17583
|
}
|
|
17584
17584
|
),
|
|
17585
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17585
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.ModalFooter, { children: [
|
|
17586
17586
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
17587
17587
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
17588
17588
|
] })
|
|
@@ -17843,10 +17843,10 @@ function AccountDetailsFields({
|
|
|
17843
17843
|
onKeyDown,
|
|
17844
17844
|
layout = "stacked"
|
|
17845
17845
|
}) {
|
|
17846
|
-
const firstNameErr =
|
|
17847
|
-
const lastNameErr =
|
|
17848
|
-
const passwordErr =
|
|
17849
|
-
const confirmErr =
|
|
17846
|
+
const firstNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _399 => _399.firstName]), firstName);
|
|
17847
|
+
const lastNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _400 => _400.lastName]), lastName);
|
|
17848
|
+
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _401 => _401.password]), password);
|
|
17849
|
+
const confirmErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _402 => _402.confirmPassword]), confirmPassword);
|
|
17850
17850
|
const names = [
|
|
17851
17851
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17852
17852
|
_chunkN6HNK25Acjs.Input,
|
|
@@ -18264,9 +18264,9 @@ function CreateOrganizationForm({
|
|
|
18264
18264
|
}) {
|
|
18265
18265
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
18266
18266
|
const fieldsDisabled = disabled || loading;
|
|
18267
|
-
const emailErr =
|
|
18268
|
-
const orgNameErr =
|
|
18269
|
-
const domainErr =
|
|
18267
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _404 => _404.email]), _nullishCoalesce(email, () => ( "")));
|
|
18268
|
+
const orgNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _405 => _405.organizationName]), organizationName);
|
|
18269
|
+
const domainErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _406 => _406.domain]), domain);
|
|
18270
18270
|
const handleKeyDown = (event) => {
|
|
18271
18271
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18272
18272
|
onSubmit();
|
|
@@ -18470,7 +18470,7 @@ function LoginForm({
|
|
|
18470
18470
|
className
|
|
18471
18471
|
}) {
|
|
18472
18472
|
const fieldDisabled = disabled || loading;
|
|
18473
|
-
const emailErr =
|
|
18473
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _413 => _413.email]), email);
|
|
18474
18474
|
const handleKeyDown = (event) => {
|
|
18475
18475
|
if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
|
|
18476
18476
|
_optionalChain([onSubmitClick, 'optionalCall', _414 => _414()]);
|
|
@@ -18584,8 +18584,8 @@ function OpenFrameSsoLoginForm({
|
|
|
18584
18584
|
className
|
|
18585
18585
|
}) {
|
|
18586
18586
|
const fieldsDisabled = disabled || loading;
|
|
18587
|
-
const emailErr =
|
|
18588
|
-
const passwordErr =
|
|
18587
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _417 => _417.email]), email);
|
|
18588
|
+
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _418 => _418.password]), password);
|
|
18589
18589
|
const handleKeyDown = (event) => {
|
|
18590
18590
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18591
18591
|
onSubmit();
|
|
@@ -18690,7 +18690,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18690
18690
|
className
|
|
18691
18691
|
}) {
|
|
18692
18692
|
const fieldsDisabled = disabled || loading;
|
|
18693
|
-
const emailErr =
|
|
18693
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _419 => _419.email]), email);
|
|
18694
18694
|
const handleKeyDown = (event) => {
|
|
18695
18695
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18696
18696
|
onSubmit();
|
|
@@ -18795,8 +18795,8 @@ function PasswordResetForm({
|
|
|
18795
18795
|
className
|
|
18796
18796
|
}) {
|
|
18797
18797
|
const fieldsDisabled = disabled || loading;
|
|
18798
|
-
const passwordErr =
|
|
18799
|
-
const confirmErr =
|
|
18798
|
+
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _420 => _420.password]), password);
|
|
18799
|
+
const confirmErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _421 => _421.confirmPassword]), confirmPassword);
|
|
18800
18800
|
const handleKeyDown = (event) => {
|
|
18801
18801
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18802
18802
|
onSubmit();
|
|
@@ -19330,7 +19330,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19330
19330
|
const label = (tag.name || "").toUpperCase();
|
|
19331
19331
|
if (basePath && tag.slug) {
|
|
19332
19332
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19333
|
-
|
|
19333
|
+
_chunkUQEOAPAIcjs.StatusBadge,
|
|
19334
19334
|
{
|
|
19335
19335
|
text: label,
|
|
19336
19336
|
variant: "card",
|
|
@@ -19338,9 +19338,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19338
19338
|
}
|
|
19339
19339
|
) }, key);
|
|
19340
19340
|
}
|
|
19341
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19341
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUQEOAPAIcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
19342
19342
|
}),
|
|
19343
|
-
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19343
|
+
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUQEOAPAIcjs.StatusBadge, { text: `+${overflow2}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
19344
19344
|
] });
|
|
19345
19345
|
}
|
|
19346
19346
|
|
|
@@ -19417,7 +19417,7 @@ var SectionButton = ({
|
|
|
19417
19417
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
19418
19418
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "whitespace-normal break-words text-h4"), children: section.title }),
|
|
19419
19419
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19420
|
-
|
|
19420
|
+
_chunkUQEOAPAIcjs.StatusBadge,
|
|
19421
19421
|
{
|
|
19422
19422
|
text: section.badge.text,
|
|
19423
19423
|
variant: section.badge.variant || "button",
|
|
@@ -19436,7 +19436,7 @@ var SectionButton = ({
|
|
|
19436
19436
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
19437
19437
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
19438
19438
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19439
|
-
|
|
19439
|
+
_chunkUQEOAPAIcjs.StatusBadge,
|
|
19440
19440
|
{
|
|
19441
19441
|
text: section.badge.text,
|
|
19442
19442
|
variant: section.badge.variant || "button",
|
|
@@ -19724,7 +19724,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
19724
19724
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
19725
19725
|
title: config.title,
|
|
19726
19726
|
loading: "eager",
|
|
19727
|
-
...
|
|
19727
|
+
..._chunkB6ZJV7L4cjs.fetchPriorityProp.call(void 0, "high")
|
|
19728
19728
|
},
|
|
19729
19729
|
iframeKey
|
|
19730
19730
|
),
|
|
@@ -20550,7 +20550,7 @@ function MediaGalleryManager({
|
|
|
20550
20550
|
(mediaItem, index) => {
|
|
20551
20551
|
const isDeleting = deletingIndex === index;
|
|
20552
20552
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20553
|
-
|
|
20553
|
+
_chunkUQEOAPAIcjs.Card,
|
|
20554
20554
|
{
|
|
20555
20555
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
20556
20556
|
draggable: true,
|
|
@@ -20571,10 +20571,10 @@ function MediaGalleryManager({
|
|
|
20571
20571
|
children: isDeleting ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-4 w-4 animate-spin text-ods-text-on-dark" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
20572
20572
|
}
|
|
20573
20573
|
) }),
|
|
20574
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children:
|
|
20574
|
+
/* @__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" ? (
|
|
20575
20575
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
20576
20576
|
// fit="cover" crops to the aspect-video cell.
|
|
20577
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20577
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
20578
20578
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20579
20579
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
20580
20580
|
{
|
|
@@ -20587,7 +20587,7 @@ function MediaGalleryManager({
|
|
|
20587
20587
|
) }),
|
|
20588
20588
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
|
|
20589
20589
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex items-center gap-2", children: [
|
|
20590
|
-
|
|
20590
|
+
_chunkUQEOAPAIcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "h-4 w-4 text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Image, { className: "h-4 w-4 text-ods-text-secondary" }),
|
|
20591
20591
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "capitalize text-ods-text-primary text-h6", children: mediaItem.media_type })
|
|
20592
20592
|
] }),
|
|
20593
20593
|
mediaItem.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: mediaItem.title })
|
|
@@ -21023,7 +21023,7 @@ function PlatformFilterComponent({
|
|
|
21023
21023
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
21024
21024
|
size,
|
|
21025
21025
|
onClick: () => onPlatformChange(platform.value),
|
|
21026
|
-
leftIcon: showIcons ?
|
|
21026
|
+
leftIcon: showIcons ? _chunkJJUV7Z4Lcjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
21027
21027
|
className: "text-h3",
|
|
21028
21028
|
children: platform.label
|
|
21029
21029
|
},
|
|
@@ -22825,9 +22825,9 @@ function PushButtonSelector({
|
|
|
22825
22825
|
option.id
|
|
22826
22826
|
);
|
|
22827
22827
|
if (option.disabled && option.disabledReason) {
|
|
22828
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22829
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22830
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22828
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.Tooltip, { children: [
|
|
22829
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
22830
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
22831
22831
|
] }, option.id);
|
|
22832
22832
|
}
|
|
22833
22833
|
return optionEl;
|
|
@@ -22872,7 +22872,7 @@ function PushButtonSelector({
|
|
|
22872
22872
|
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
|
|
22873
22873
|
] }) : null
|
|
22874
22874
|
] });
|
|
22875
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22875
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
22876
22876
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
22877
22877
|
searchInput,
|
|
22878
22878
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23042,10 +23042,10 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23042
23042
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
23043
23043
|
}
|
|
23044
23044
|
) }),
|
|
23045
|
-
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children:
|
|
23045
|
+
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" ? (
|
|
23046
23046
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
23047
23047
|
// fit="cover" crops to the aspect-video cell.
|
|
23048
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23048
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23049
23049
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23050
23050
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
23051
23051
|
{
|
|
@@ -23178,7 +23178,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
23178
23178
|
}
|
|
23179
23179
|
)
|
|
23180
23180
|
] }),
|
|
23181
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23181
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
23182
23182
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
23183
23183
|
]
|
|
23184
23184
|
}
|
|
@@ -23766,7 +23766,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
23766
23766
|
className: _chunk23V5BSHDcjs.cn.call(void 0, modeClassName, className),
|
|
23767
23767
|
style: customStyle,
|
|
23768
23768
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63QUMV72cjs.OpenFrameLogo, { className: "h-5 w-5", lowerPathColor: iconLowerPath, upperPathColor: iconUpperPath }) : void 0,
|
|
23769
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23769
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUQEOAPAIcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
23770
23770
|
children
|
|
23771
23771
|
}
|
|
23772
23772
|
);
|
|
@@ -24036,11 +24036,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
24036
24036
|
|
|
24037
24037
|
function VideoBitesDisplay({
|
|
24038
24038
|
bites,
|
|
24039
|
-
title =
|
|
24039
|
+
title = _chunkUQEOAPAIcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
24040
24040
|
filterPublished = true,
|
|
24041
24041
|
showTitle = true
|
|
24042
24042
|
}) {
|
|
24043
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24043
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24044
24044
|
}
|
|
24045
24045
|
|
|
24046
24046
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24109,7 +24109,7 @@ function WalkthroughVideo({
|
|
|
24109
24109
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24110
24110
|
};
|
|
24111
24111
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
24112
|
-
const hydrated =
|
|
24112
|
+
const hydrated = _chunkB6ZJV7L4cjs.useIsHydrated.call(void 0, );
|
|
24113
24113
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24114
24114
|
if (!hydrated) return false;
|
|
24115
24115
|
try {
|
|
@@ -24506,7 +24506,7 @@ function WalkthroughVideo({
|
|
|
24506
24506
|
},
|
|
24507
24507
|
children: [
|
|
24508
24508
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24509
|
-
|
|
24509
|
+
_chunkB6ZJV7L4cjs.VideoHoverPreviewSurface,
|
|
24510
24510
|
{
|
|
24511
24511
|
url: video.mainVideoUrl || "",
|
|
24512
24512
|
posterUrl: video.posterUrl,
|
|
@@ -24529,7 +24529,7 @@ function WalkthroughVideo({
|
|
|
24529
24529
|
`card-${embedUrlKey}`
|
|
24530
24530
|
) }),
|
|
24531
24531
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24532
|
-
|
|
24532
|
+
_chunkB6ZJV7L4cjs.CardHitLayer,
|
|
24533
24533
|
{
|
|
24534
24534
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24535
24535
|
onPointerDown: pausePreviewNow,
|
|
@@ -24538,7 +24538,7 @@ function WalkthroughVideo({
|
|
|
24538
24538
|
}
|
|
24539
24539
|
),
|
|
24540
24540
|
/* @__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: [
|
|
24541
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24541
|
+
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, _chunkB6ZJV7L4cjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
24542
24542
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
24543
24543
|
] }),
|
|
24544
24544
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24551,7 +24551,7 @@ function WalkthroughVideo({
|
|
|
24551
24551
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24552
24552
|
onClick: onUnmuteOrPlay,
|
|
24553
24553
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
24554
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24554
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.VideoUnmuteGlyph, {})
|
|
24555
24555
|
}
|
|
24556
24556
|
),
|
|
24557
24557
|
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: [
|
|
@@ -24644,7 +24644,7 @@ function WalkthroughVideo({
|
|
|
24644
24644
|
children: [
|
|
24645
24645
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
24646
24646
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24647
|
-
|
|
24647
|
+
_chunkB6ZJV7L4cjs.Video,
|
|
24648
24648
|
{
|
|
24649
24649
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
24650
24650
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -24695,7 +24695,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
24695
24695
|
var _reactquery = require('@tanstack/react-query');
|
|
24696
24696
|
function useWalkthroughVideo(opts) {
|
|
24697
24697
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
24698
|
-
const captions =
|
|
24698
|
+
const captions = _chunkB6ZJV7L4cjs.useCaptions.call(void 0, );
|
|
24699
24699
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24700
24700
|
queryKey: ["walkthrough-video", endpoint],
|
|
24701
24701
|
enabled,
|
|
@@ -24893,7 +24893,7 @@ function VideoSourceSelector({
|
|
|
24893
24893
|
}
|
|
24894
24894
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
24895
24895
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
24896
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24896
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.Video, { kind: "file", url: videoUrl }) }),
|
|
24897
24897
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24898
24898
|
"button",
|
|
24899
24899
|
{
|
|
@@ -25417,7 +25417,7 @@ function HighlightVideoSection({
|
|
|
25417
25417
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25418
25418
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25419
25419
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25420
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25420
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25421
25421
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25422
25422
|
"button",
|
|
25423
25423
|
{
|
|
@@ -26153,7 +26153,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26153
26153
|
] });
|
|
26154
26154
|
};
|
|
26155
26155
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
26156
|
-
const { innerRef, containerStyle } =
|
|
26156
|
+
const { innerRef, containerStyle } = _chunkB6ZJV7L4cjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
26157
26157
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
26158
26158
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26159
26159
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26318,10 +26318,10 @@ function WaitlistForm({
|
|
|
26318
26318
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26319
26319
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
26320
26320
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
26321
|
-
const { toast } =
|
|
26322
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
26321
|
+
const { toast } = _chunkJJUV7Z4Lcjs.useToast.call(void 0, );
|
|
26322
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkJJUV7Z4Lcjs.useHumanitySignals.call(void 0, );
|
|
26323
26323
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26324
|
-
const isClient =
|
|
26324
|
+
const isClient = _chunkB6ZJV7L4cjs.useIsHydrated.call(void 0, );
|
|
26325
26325
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26326
26326
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26327
26327
|
const isMailDomainGeneric = hasGenericEmailDomain(email);
|
|
@@ -27101,7 +27101,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27101
27101
|
"data-state": open ? "open" : "closed",
|
|
27102
27102
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
27103
27103
|
"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",
|
|
27104
|
-
|
|
27104
|
+
_chunkB6ZJV7L4cjs.OVERLAY_BACKDROP_CLASS,
|
|
27105
27105
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
27106
27106
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
27107
27107
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -27177,11 +27177,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27177
27177
|
}
|
|
27178
27178
|
);
|
|
27179
27179
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
27180
|
-
var AppLayoutDrawerHeader =
|
|
27181
|
-
var AppLayoutDrawerTitle =
|
|
27182
|
-
var AppLayoutDrawerDescription =
|
|
27183
|
-
var AppLayoutDrawerBody =
|
|
27184
|
-
var AppLayoutDrawerFooter =
|
|
27180
|
+
var AppLayoutDrawerHeader = _chunkB6ZJV7L4cjs.DrawerHeader;
|
|
27181
|
+
var AppLayoutDrawerTitle = _chunkB6ZJV7L4cjs.DrawerTitle;
|
|
27182
|
+
var AppLayoutDrawerDescription = _chunkB6ZJV7L4cjs.DrawerDescription;
|
|
27183
|
+
var AppLayoutDrawerBody = _chunkB6ZJV7L4cjs.DrawerBody;
|
|
27184
|
+
var AppLayoutDrawerFooter = _chunkB6ZJV7L4cjs.DrawerFooter;
|
|
27185
27185
|
|
|
27186
27186
|
// src/components/features/notifications/notification-tile.tsx
|
|
27187
27187
|
|
|
@@ -27267,9 +27267,9 @@ function NotificationTile({
|
|
|
27267
27267
|
height: 16,
|
|
27268
27268
|
unoptimized: true
|
|
27269
27269
|
}
|
|
27270
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
27270
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkJJUV7Z4Lcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27271
27271
|
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" }),
|
|
27272
|
-
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
27272
|
+
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkB6ZJV7L4cjs.formatTicketRelativeTime.call(void 0, createdAtIso) }) : null,
|
|
27273
27273
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
27274
27274
|
{
|
|
27275
27275
|
active: isLive,
|
|
@@ -27314,7 +27314,7 @@ function NotificationTile({
|
|
|
27314
27314
|
"div",
|
|
27315
27315
|
{
|
|
27316
27316
|
"aria-hidden": true,
|
|
27317
|
-
className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left",
|
|
27317
|
+
className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left", _chunkJJUV7Z4Lcjs.progressColorByVariant[accentVariant]),
|
|
27318
27318
|
style: {
|
|
27319
27319
|
animation: `toast-progress ${liveDurationMs}ms linear forwards`,
|
|
27320
27320
|
animationDelay: `-${initialElapsed}ms`
|
|
@@ -27366,7 +27366,7 @@ function NotificationDrawer({
|
|
|
27366
27366
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27367
27367
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27368
27368
|
/* @__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,
|
|
27369
|
-
|
|
27369
|
+
_chunkB6ZJV7L4cjs.DrawerTitle,
|
|
27370
27370
|
{
|
|
27371
27371
|
hideClose: true,
|
|
27372
27372
|
className: "truncate",
|
|
@@ -27425,8 +27425,8 @@ function NotificationDrawer({
|
|
|
27425
27425
|
}
|
|
27426
27426
|
) });
|
|
27427
27427
|
}
|
|
27428
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27429
|
-
|
|
27428
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27429
|
+
_chunkB6ZJV7L4cjs.DrawerContent,
|
|
27430
27430
|
{
|
|
27431
27431
|
side: "right",
|
|
27432
27432
|
"aria-describedby": void 0,
|
|
@@ -27531,7 +27531,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
27531
27531
|
] });
|
|
27532
27532
|
}
|
|
27533
27533
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
27534
|
-
const { supported, permission, request } =
|
|
27534
|
+
const { supported, permission, request } = _chunkJJUV7Z4Lcjs.useNotificationPermission.call(void 0, );
|
|
27535
27535
|
if (!supported) return null;
|
|
27536
27536
|
const blocked = permission === "denied";
|
|
27537
27537
|
const handleChange = async (value) => {
|
|
@@ -27701,13 +27701,13 @@ function getApprovalMeta(notification) {
|
|
|
27701
27701
|
function resolutionToStatus(resolution) {
|
|
27702
27702
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
27703
27703
|
case "APPROVED":
|
|
27704
|
-
return
|
|
27704
|
+
return _chunkB6ZJV7L4cjs.APPROVAL_STATUS.APPROVED;
|
|
27705
27705
|
case "REJECTED":
|
|
27706
|
-
return
|
|
27706
|
+
return _chunkB6ZJV7L4cjs.APPROVAL_STATUS.REJECTED;
|
|
27707
27707
|
case "CANCELLED":
|
|
27708
|
-
return
|
|
27708
|
+
return _chunkB6ZJV7L4cjs.APPROVAL_STATUS.CANCELLED;
|
|
27709
27709
|
default:
|
|
27710
|
-
return
|
|
27710
|
+
return _chunkB6ZJV7L4cjs.APPROVAL_STATUS.PENDING;
|
|
27711
27711
|
}
|
|
27712
27712
|
}
|
|
27713
27713
|
function approvalMetaToBatchData(approval) {
|
|
@@ -27747,7 +27747,7 @@ function ApprovalRequestNotificationTile({
|
|
|
27747
27747
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _582 => _582.resolution]));
|
|
27748
27748
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
27749
27749
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
27750
|
-
const { innerRef, containerStyle } =
|
|
27750
|
+
const { innerRef, containerStyle } = _chunkB6ZJV7L4cjs.useCollapsible.call(void 0, { expanded });
|
|
27751
27751
|
if (!approval || !batchData) return null;
|
|
27752
27752
|
const tileNotification = {
|
|
27753
27753
|
...notification,
|
|
@@ -27800,7 +27800,7 @@ function ApprovalRequestNotificationTile({
|
|
|
27800
27800
|
}
|
|
27801
27801
|
)
|
|
27802
27802
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
27803
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27803
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ApprovalStatusTag, { status }),
|
|
27804
27804
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
27805
27805
|
"by ",
|
|
27806
27806
|
approval.resolvedByName
|
|
@@ -27818,12 +27818,12 @@ function ApprovalRequestNotificationTile({
|
|
|
27818
27818
|
"aria-expanded": expanded,
|
|
27819
27819
|
"aria-label": toggleLabel,
|
|
27820
27820
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
27821
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27821
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.ExpandChevron, { expanded })
|
|
27822
27822
|
}
|
|
27823
27823
|
)
|
|
27824
27824
|
] }),
|
|
27825
27825
|
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,
|
|
27826
|
-
|
|
27826
|
+
_chunkB6ZJV7L4cjs.ApprovalBatchMessage,
|
|
27827
27827
|
{
|
|
27828
27828
|
data: batchData,
|
|
27829
27829
|
showExecutionStatus: false,
|
|
@@ -27891,7 +27891,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
27891
27891
|
const { label, imageUrl } = option;
|
|
27892
27892
|
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: [
|
|
27893
27893
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
27894
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27894
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUQEOAPAIcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
27895
27895
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
27896
27896
|
] }),
|
|
27897
27897
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -27975,7 +27975,7 @@ function TimeTrackerPanel({
|
|
|
27975
27975
|
}));
|
|
27976
27976
|
const selectedCustomer = customerAutocompleteOptions.find((o) => o.value === selectedCustomerId);
|
|
27977
27977
|
const customerStartAdornment = selectedCustomer ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27978
|
-
|
|
27978
|
+
_chunkUQEOAPAIcjs.SquareAvatar,
|
|
27979
27979
|
{
|
|
27980
27980
|
src: selectedCustomer.imageUrl,
|
|
27981
27981
|
alt: selectedCustomer.label,
|
|
@@ -28154,7 +28154,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28154
28154
|
function StatusTag({ status }) {
|
|
28155
28155
|
if (status === "tracking") {
|
|
28156
28156
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28157
|
-
|
|
28157
|
+
_chunkB6ZJV7L4cjs.Tag,
|
|
28158
28158
|
{
|
|
28159
28159
|
variant: "success",
|
|
28160
28160
|
className: STATUS_TAG_SKIN,
|
|
@@ -28164,9 +28164,9 @@ function StatusTag({ status }) {
|
|
|
28164
28164
|
);
|
|
28165
28165
|
}
|
|
28166
28166
|
if (status === "paused") {
|
|
28167
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28167
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
28168
28168
|
}
|
|
28169
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28169
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28170
28170
|
}
|
|
28171
28171
|
function LastEntryRow({ entry, onClick }) {
|
|
28172
28172
|
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: [
|
|
@@ -28335,7 +28335,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28335
28335
|
"data-state": isOpen ? "open" : "closed",
|
|
28336
28336
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
28337
28337
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28338
|
-
|
|
28338
|
+
_chunkB6ZJV7L4cjs.OVERLAY_BACKDROP_CLASS,
|
|
28339
28339
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28340
28340
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28341
28341
|
)
|
|
@@ -28489,7 +28489,7 @@ function BoardColumnHeader({
|
|
|
28489
28489
|
}) {
|
|
28490
28490
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
28491
28491
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
28492
|
-
const useStatusVariant =
|
|
28492
|
+
const useStatusVariant = _chunkB6ZJV7L4cjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
28493
28493
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
28494
28494
|
if (collapsed) {
|
|
28495
28495
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -28505,7 +28505,7 @@ function BoardColumnHeader({
|
|
|
28505
28505
|
}
|
|
28506
28506
|
),
|
|
28507
28507
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28508
|
-
|
|
28508
|
+
_chunkB6ZJV7L4cjs.TicketStatusTag,
|
|
28509
28509
|
{
|
|
28510
28510
|
status: tagStatus,
|
|
28511
28511
|
label: column.label,
|
|
@@ -28518,7 +28518,7 @@ function BoardColumnHeader({
|
|
|
28518
28518
|
}
|
|
28519
28519
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28520
28520
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
28522
28522
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
28523
28523
|
] }),
|
|
28524
28524
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -28669,7 +28669,7 @@ function holdMoveDragEffect(element) {
|
|
|
28669
28669
|
|
|
28670
28670
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
28671
28671
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
28672
|
-
const { innerRef, containerStyle } =
|
|
28672
|
+
const { innerRef, containerStyle } = _chunkB6ZJV7L4cjs.useCollapsible.call(void 0, { expanded });
|
|
28673
28673
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
28674
28674
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
28675
28675
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -28698,7 +28698,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
28698
28698
|
}
|
|
28699
28699
|
),
|
|
28700
28700
|
/* @__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,
|
|
28701
|
-
|
|
28701
|
+
_chunkB6ZJV7L4cjs.ApprovalBatchMessage,
|
|
28702
28702
|
{
|
|
28703
28703
|
className: "mb-0",
|
|
28704
28704
|
data: {
|
|
@@ -28770,7 +28770,7 @@ var ACTIVITY_DEFAULT_LABEL = {
|
|
|
28770
28770
|
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";
|
|
28771
28771
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
28772
28772
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
28773
|
-
const newMessageTextColor = columnColor ?
|
|
28773
|
+
const newMessageTextColor = columnColor ? _chunkB6ZJV7L4cjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
28774
28774
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _618 => _618.deviceHostnames, 'optionalAccess', _619 => _619.length]) || ticket.organizationName);
|
|
28775
28775
|
const deviceText = [_optionalChain([ticket, 'access', _620 => _620.deviceHostnames, 'optionalAccess', _621 => _621.join, 'call', _622 => _622(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
28776
28776
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _623 => _623.assignees, 'optionalAccess', _624 => _624.length]) || renderAssignSlot);
|
|
@@ -28792,7 +28792,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
28792
28792
|
},
|
|
28793
28793
|
a.id
|
|
28794
28794
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28795
|
-
|
|
28795
|
+
_chunkUQEOAPAIcjs.SquareAvatar,
|
|
28796
28796
|
{
|
|
28797
28797
|
src: a.avatarUrl,
|
|
28798
28798
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -28809,8 +28809,8 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
28809
28809
|
] })
|
|
28810
28810
|
] }) : null
|
|
28811
28811
|
] }) : null;
|
|
28812
|
-
const timestampLabel = ticket.createdAt ?
|
|
28813
|
-
const tooltipLabel = ticket.createdAt ?
|
|
28812
|
+
const timestampLabel = ticket.createdAt ? _chunkB6ZJV7L4cjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
28813
|
+
const tooltipLabel = ticket.createdAt ? _chunkB6ZJV7L4cjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
28814
28814
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28815
28815
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
28816
28816
|
/* @__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: [
|
|
@@ -28823,9 +28823,9 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
28823
28823
|
rightSection
|
|
28824
28824
|
] }),
|
|
28825
28825
|
_optionalChain([ticket, 'access', _627 => _627.tags, 'optionalAccess', _628 => _628.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
28826
|
-
timestampLabel && tooltipLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28827
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28828
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28826
|
+
timestampLabel && tooltipLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB6ZJV7L4cjs.Tooltip, { children: [
|
|
28827
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: timestampLabel }) }),
|
|
28828
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.TooltipContent, { children: tooltipLabel })
|
|
28829
28829
|
] }) }),
|
|
28830
28830
|
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: [
|
|
28831
28831
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -28845,7 +28845,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
28845
28845
|
}
|
|
28846
28846
|
),
|
|
28847
28847
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28848
|
-
|
|
28848
|
+
_chunkB6ZJV7L4cjs.Tag,
|
|
28849
28849
|
{
|
|
28850
28850
|
label: "New Message",
|
|
28851
28851
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -29060,8 +29060,8 @@ function TicketTagRow({ tags }) {
|
|
|
29060
29060
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
29061
29061
|
const hidden = tags.length - visible.length;
|
|
29062
29062
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
29063
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29064
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29063
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
29064
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB6ZJV7L4cjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
29065
29065
|
] });
|
|
29066
29066
|
}
|
|
29067
29067
|
|
|
@@ -29303,7 +29303,7 @@ function resolveBoardDrop(columns, { source, target }) {
|
|
|
29303
29303
|
// src/components/features/board/use-board-collapse.ts
|
|
29304
29304
|
|
|
29305
29305
|
function useBoardCollapse(storageKey) {
|
|
29306
|
-
const [persisted, setPersisted] =
|
|
29306
|
+
const [persisted, setPersisted] = _chunkJJUV7Z4Lcjs.useLocalStorage.call(void 0, _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")), {});
|
|
29307
29307
|
const [memory, setMemory] = _react.useState.call(void 0, {});
|
|
29308
29308
|
const collapsed = storageKey ? persisted : memory;
|
|
29309
29309
|
const setMap = storageKey ? setPersisted : setMemory;
|
|
@@ -29374,7 +29374,7 @@ var DROP_EASING = "cubic-bezier(0.2, 0, 0, 1)";
|
|
|
29374
29374
|
var DRAG_PREVIEW_Z = 1400;
|
|
29375
29375
|
var ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"];
|
|
29376
29376
|
function Board(props) {
|
|
29377
|
-
const dragAndDropEnabled = _chunkYXWGSDK4cjs.useMediaQuery.call(void 0,
|
|
29377
|
+
const dragAndDropEnabled = _chunkYXWGSDK4cjs.useMediaQuery.call(void 0, _chunkJJUV7Z4Lcjs.DRAG_AND_DROP_MEDIA_QUERY);
|
|
29378
29378
|
if (dragAndDropEnabled === void 0) {
|
|
29379
29379
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: _chunk23V5BSHDcjs.cn.call(void 0, "flex h-full min-h-0 flex-col", props.className) });
|
|
29380
29380
|
}
|
|
@@ -29406,7 +29406,7 @@ function DragBoard({
|
|
|
29406
29406
|
onThumbPointerDown,
|
|
29407
29407
|
onThumbPointerMove,
|
|
29408
29408
|
onThumbPointerUp
|
|
29409
|
-
} =
|
|
29409
|
+
} = _chunkJJUV7Z4Lcjs.useHorizontalScrollbar.call(void 0, );
|
|
29410
29410
|
const columnsRef = _react.useRef.call(void 0, columns);
|
|
29411
29411
|
const onChangeRef = _react.useRef.call(void 0, onChange);
|
|
29412
29412
|
const boardRef = _react.useRef.call(void 0, null);
|
|
@@ -29836,7 +29836,7 @@ function useSortableListContext() {
|
|
|
29836
29836
|
}
|
|
29837
29837
|
function SortableList({ onReorder, getItemLabel, disabled = false, className, children }) {
|
|
29838
29838
|
const listRef = _react.useRef.call(void 0, null);
|
|
29839
|
-
const dragAndDropEnabled =
|
|
29839
|
+
const dragAndDropEnabled = _chunkJJUV7Z4Lcjs.useDragAndDropEnabled.call(void 0, );
|
|
29840
29840
|
const dragType = _react.useId.call(void 0, );
|
|
29841
29841
|
const [announcement, setAnnouncement] = _react.useState.call(void 0, "");
|
|
29842
29842
|
const onReorderRef = _react.useRef.call(void 0, onReorder);
|
|
@@ -30741,4 +30741,4 @@ function SortableRow({
|
|
|
30741
30741
|
|
|
30742
30742
|
|
|
30743
30743
|
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.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.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.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.DataTableEmpty = DataTableEmpty; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DataTableSkeleton = DataTableSkeleton; 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;
|
|
30744
|
-
//# sourceMappingURL=chunk-
|
|
30744
|
+
//# sourceMappingURL=chunk-XRVFQQ7W.cjs.map
|