@flamingo-stack/openframe-frontend-core 0.0.674 → 0.0.675-2435.7306.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-RSOBME56.js → chunk-2GL6DFLV.js} +2 -2
- package/dist/{chunk-PP3N5MN4.cjs → chunk-42GR6UIH.cjs} +3 -3
- package/dist/{chunk-PP3N5MN4.cjs.map → chunk-42GR6UIH.cjs.map} +1 -1
- package/dist/{chunk-N6CI2E7D.cjs → chunk-5X4JS67G.cjs} +3 -3
- package/dist/{chunk-N6CI2E7D.cjs.map → chunk-5X4JS67G.cjs.map} +1 -1
- package/dist/{chunk-EGQOPBXC.cjs → chunk-BVYZHKF6.cjs} +3 -3
- package/dist/{chunk-EGQOPBXC.cjs.map → chunk-BVYZHKF6.cjs.map} +1 -1
- package/dist/{chunk-FUEAXTZE.cjs → chunk-C4YD5MZV.cjs} +4 -4
- package/dist/{chunk-FUEAXTZE.cjs.map → chunk-C4YD5MZV.cjs.map} +1 -1
- package/dist/{chunk-YVJDVVHY.js → chunk-CXE6WTBZ.js} +5 -2
- package/dist/{chunk-YVJDVVHY.js.map → chunk-CXE6WTBZ.js.map} +1 -1
- package/dist/{chunk-QZMKKQQN.cjs → chunk-D3LFYXUM.cjs} +13 -13
- package/dist/{chunk-QZMKKQQN.cjs.map → chunk-D3LFYXUM.cjs.map} +1 -1
- package/dist/{chunk-MRT6DZG5.cjs → chunk-GU5JW5MX.cjs} +36 -36
- package/dist/{chunk-MRT6DZG5.cjs.map → chunk-GU5JW5MX.cjs.map} +1 -1
- package/dist/{chunk-XBNO42PI.js → chunk-HDNMMUGV.js} +2 -2
- package/dist/{chunk-7F73YNDS.cjs → chunk-HQ2ZYL3V.cjs} +4 -4
- package/dist/{chunk-7F73YNDS.cjs.map → chunk-HQ2ZYL3V.cjs.map} +1 -1
- package/dist/{chunk-UIQQBZLU.cjs → chunk-I3QQALKQ.cjs} +33 -33
- package/dist/{chunk-UIQQBZLU.cjs.map → chunk-I3QQALKQ.cjs.map} +1 -1
- package/dist/{chunk-XYZQXHAX.js → chunk-J24SZNH4.js} +4 -4
- package/dist/{chunk-CHKIZRUP.cjs → chunk-JB4ZALJS.cjs} +18 -18
- package/dist/{chunk-CHKIZRUP.cjs.map → chunk-JB4ZALJS.cjs.map} +1 -1
- package/dist/{chunk-M76D6OJZ.js → chunk-KB7YLZAC.js} +5 -5
- package/dist/{chunk-OAQROGFN.cjs → chunk-KFWDLZGL.cjs} +51 -51
- package/dist/{chunk-OAQROGFN.cjs.map → chunk-KFWDLZGL.cjs.map} +1 -1
- package/dist/{chunk-GJTLUW2H.js → chunk-LD76LMKM.js} +2 -2
- package/dist/{chunk-UYPICURQ.js → chunk-LPEFFJXX.js} +2 -2
- package/dist/{chunk-TWQWCOJ7.cjs → chunk-N24SOKQI.cjs} +17 -17
- package/dist/{chunk-TWQWCOJ7.cjs.map → chunk-N24SOKQI.cjs.map} +1 -1
- package/dist/{chunk-PXWMRXVI.js → chunk-OS3NLEV5.js} +5 -5
- package/dist/{chunk-BQICLH4C.js → chunk-PARUDSVT.js} +4 -4
- package/dist/{chunk-QO4RASGC.js → chunk-PSF37OWZ.js} +2 -2
- package/dist/{chunk-TECYEWVQ.js → chunk-Q3MTPDK4.js} +2 -2
- package/dist/{chunk-MMOXFVQN.js → chunk-SYTU64CK.js} +2 -2
- package/dist/{chunk-G7HMYIDN.js → chunk-TS4HBJNA.js} +2 -2
- package/dist/{chunk-EJZV4QGU.cjs → chunk-VZMST7BD.cjs} +111 -108
- package/dist/chunk-VZMST7BD.cjs.map +1 -0
- package/dist/{chunk-HN7KNVKL.cjs → chunk-WYACK3N7.cjs} +3 -3
- package/dist/{chunk-HN7KNVKL.cjs.map → chunk-WYACK3N7.cjs.map} +1 -1
- package/dist/{chunk-L7PO6NSD.cjs → chunk-XJMADFIK.cjs} +10 -10
- package/dist/{chunk-L7PO6NSD.cjs.map → chunk-XJMADFIK.cjs.map} +1 -1
- package/dist/{chunk-NRHEKFPG.js → chunk-ZI3E5SSW.js} +2 -2
- package/dist/{chunk-4Q6P3VHS.cjs → chunk-ZYVMSJFU.cjs} +17 -17
- package/dist/{chunk-4Q6P3VHS.cjs.map → chunk-ZYVMSJFU.cjs.map} +1 -1
- package/dist/{chunk-EPKQTPNJ.js → chunk-ZZOZZJPK.js} +3 -3
- package/dist/components/case-studies/index.cjs +11 -11
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/features/walkthrough-video.d.ts +6 -0
- package/dist/components/features/walkthrough-video.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +49 -49
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +31 -31
- package/dist/components/index.js +12 -12
- package/dist/components/meeting-scheduler/index.cjs +21 -21
- package/dist/components/meeting-scheduler/index.js +1 -1
- package/dist/components/navigation/index.cjs +5 -5
- package/dist/components/navigation/index.js +4 -4
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.js +5 -5
- package/package.json +1 -1
- package/src/components/features/__tests__/walkthrough-video-autoplay-card.test.tsx +89 -0
- package/src/components/features/walkthrough-video.tsx +12 -1
- package/dist/chunk-EJZV4QGU.cjs.map +0 -1
- /package/dist/{chunk-RSOBME56.js.map → chunk-2GL6DFLV.js.map} +0 -0
- /package/dist/{chunk-XBNO42PI.js.map → chunk-HDNMMUGV.js.map} +0 -0
- /package/dist/{chunk-XYZQXHAX.js.map → chunk-J24SZNH4.js.map} +0 -0
- /package/dist/{chunk-M76D6OJZ.js.map → chunk-KB7YLZAC.js.map} +0 -0
- /package/dist/{chunk-GJTLUW2H.js.map → chunk-LD76LMKM.js.map} +0 -0
- /package/dist/{chunk-UYPICURQ.js.map → chunk-LPEFFJXX.js.map} +0 -0
- /package/dist/{chunk-PXWMRXVI.js.map → chunk-OS3NLEV5.js.map} +0 -0
- /package/dist/{chunk-BQICLH4C.js.map → chunk-PARUDSVT.js.map} +0 -0
- /package/dist/{chunk-QO4RASGC.js.map → chunk-PSF37OWZ.js.map} +0 -0
- /package/dist/{chunk-TECYEWVQ.js.map → chunk-Q3MTPDK4.js.map} +0 -0
- /package/dist/{chunk-MMOXFVQN.js.map → chunk-SYTU64CK.js.map} +0 -0
- /package/dist/{chunk-G7HMYIDN.js.map → chunk-TS4HBJNA.js.map} +0 -0
- /package/dist/{chunk-NRHEKFPG.js.map → chunk-ZI3E5SSW.js.map} +0 -0
- /package/dist/{chunk-EPKQTPNJ.js.map → chunk-ZZOZZJPK.js.map} +0 -0
|
@@ -25144,6 +25144,7 @@ function WalkthroughVideo({
|
|
|
25144
25144
|
defaultOpen,
|
|
25145
25145
|
defaultOpenPaused,
|
|
25146
25146
|
deepLinkParam = WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
25147
|
+
autoPlayCard = false,
|
|
25147
25148
|
label = "Play Demo Video",
|
|
25148
25149
|
placement,
|
|
25149
25150
|
// Keeps the FLOATING card off the critical path. The inline preset passes 0:
|
|
@@ -25216,7 +25217,9 @@ function WalkthroughVideo({
|
|
|
25216
25217
|
const userMutedRef = _react.useRef.call(void 0, false);
|
|
25217
25218
|
const endedLatchRef = _react.useRef.call(void 0, false);
|
|
25218
25219
|
const [hovered, setHovered] = _react.useState.call(void 0, false);
|
|
25219
|
-
const [handoff, setHandoff] = _react.useState.call(void 0,
|
|
25220
|
+
const [handoff, setHandoff] = _react.useState.call(void 0,
|
|
25221
|
+
() => autoPlayCard && !_optionalChain([video, 'optionalAccess', _527 => _527.youtubeUrl]) ? { time: 0, muted: true, playing: true } : null
|
|
25222
|
+
);
|
|
25220
25223
|
const [suspended, setSuspended] = _react.useState.call(void 0, false);
|
|
25221
25224
|
const [theaterStart, setTheaterStart] = _react.useState.call(void 0, { time: 0, muted: false });
|
|
25222
25225
|
const [footerObservation, setFooterObservation] = _react.useState.call(void 0, null);
|
|
@@ -25224,18 +25227,18 @@ function WalkthroughVideo({
|
|
|
25224
25227
|
const [cardMuted, setCardMuted] = _react.useState.call(void 0, false);
|
|
25225
25228
|
const [cardPaused, setCardPaused] = _react.useState.call(void 0, false);
|
|
25226
25229
|
const [userMuted, setUserMuted] = _react.useState.call(void 0, false);
|
|
25227
|
-
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess',
|
|
25230
|
+
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess', _528 => _528.youtubeUrl]));
|
|
25228
25231
|
const resumeMode = !open && handoff !== null && !isYouTube;
|
|
25229
25232
|
const previewAllowed = !previewSuppressed && !isYouTube;
|
|
25230
25233
|
const footerFadeKey = `${mounted ? 1 : 0}|${inline ? 1 : 0}|${hideNearSelector}|${pathname}`;
|
|
25231
|
-
const footerHidden = _optionalChain([footerObservation, 'optionalAccess',
|
|
25234
|
+
const footerHidden = _optionalChain([footerObservation, 'optionalAccess', _529 => _529.key]) === footerFadeKey && footerObservation.hidden;
|
|
25232
25235
|
_react.useEffect.call(void 0, () => {
|
|
25233
25236
|
if (!mounted) return void 0;
|
|
25234
25237
|
if (inline) return void 0;
|
|
25235
25238
|
const el = typeof document !== "undefined" ? document.querySelector(hideNearSelector) : null;
|
|
25236
25239
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
25237
25240
|
const io = new IntersectionObserver(
|
|
25238
|
-
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access',
|
|
25241
|
+
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access', _530 => _530[0], 'optionalAccess', _531 => _531.isIntersecting]), () => ( false)) }),
|
|
25239
25242
|
{ rootMargin: "0px 0px -40px 0px" }
|
|
25240
25243
|
);
|
|
25241
25244
|
io.observe(el);
|
|
@@ -25261,7 +25264,7 @@ function WalkthroughVideo({
|
|
|
25261
25264
|
if (!footerHidden) return;
|
|
25262
25265
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
25263
25266
|
try {
|
|
25264
|
-
_optionalChain([h, 'optionalAccess',
|
|
25267
|
+
_optionalChain([h, 'optionalAccess', _532 => _532.pause, 'call', _533 => _533()]);
|
|
25265
25268
|
} catch (e30) {
|
|
25266
25269
|
}
|
|
25267
25270
|
}, [footerHidden, resumeMode, hovered]);
|
|
@@ -25280,30 +25283,30 @@ function WalkthroughVideo({
|
|
|
25280
25283
|
}, 400);
|
|
25281
25284
|
}
|
|
25282
25285
|
if (openProp === void 0) setOpenState(next);
|
|
25283
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
25286
|
+
_optionalChain([onOpenChange, 'optionalCall', _534 => _534(next)]);
|
|
25284
25287
|
},
|
|
25285
25288
|
[openProp, onOpenChange]
|
|
25286
25289
|
);
|
|
25287
25290
|
const pausePreviewNow = _react.useCallback.call(void 0, () => {
|
|
25288
25291
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
25289
25292
|
try {
|
|
25290
|
-
_optionalChain([h, 'optionalAccess',
|
|
25293
|
+
_optionalChain([h, 'optionalAccess', _535 => _535.pause, 'call', _536 => _536()]);
|
|
25291
25294
|
} catch (e31) {
|
|
25292
25295
|
}
|
|
25293
25296
|
setCardPaused(true);
|
|
25294
25297
|
}, [setCardPaused]);
|
|
25295
25298
|
const openTheater = _react.useCallback.call(void 0, () => {
|
|
25296
25299
|
const handleBeforePause = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
25297
|
-
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess',
|
|
25300
|
+
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess', _537 => _537.getPaused, 'call', _538 => _538()]) === false;
|
|
25298
25301
|
pausePreviewNow();
|
|
25299
25302
|
const liveHandle = _nullishCoalesce(resumeHandleRef.current, () => ( (cardModeRef.current === "preview" ? previewHandleRef.current : null)));
|
|
25300
|
-
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
25301
|
-
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
25303
|
+
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _539 => _539.getCurrentTime, 'call', _540 => _540()]), () => ( 0));
|
|
25304
|
+
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _541 => _541.getDuration, 'call', _542 => _542()]), () => ( 0));
|
|
25302
25305
|
const liveAtEnd = isAtEnd(liveDuration, liveTime);
|
|
25303
25306
|
const start = {
|
|
25304
25307
|
// At end -> start over. Falling back to `handoff.time` here would rewind
|
|
25305
25308
|
// to an unrelated older anchor (e.g. 3:20) instead of restarting.
|
|
25306
|
-
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
25309
|
+
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _543 => _543.time]), () => ( 0)),
|
|
25307
25310
|
// Live element wins over remembered intent (the theater's own chrome may
|
|
25308
25311
|
// have changed it) — EXCEPT when the element is muted only because
|
|
25309
25312
|
// autoplay policy forced it, which is not intent.
|
|
@@ -25331,7 +25334,7 @@ function WalkthroughVideo({
|
|
|
25331
25334
|
const selfDriven = selfDrivenFor === open;
|
|
25332
25335
|
if (openProp !== void 0 && !selfDriven) {
|
|
25333
25336
|
if (open) {
|
|
25334
|
-
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
25337
|
+
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _544 => _544.time]), () => ( 0)), userMuted));
|
|
25335
25338
|
setHovered(false);
|
|
25336
25339
|
setSuspended(false);
|
|
25337
25340
|
setHandoff(null);
|
|
@@ -25417,8 +25420,8 @@ function WalkthroughVideo({
|
|
|
25417
25420
|
});
|
|
25418
25421
|
_react.useEffect.call(void 0, () => {
|
|
25419
25422
|
if (resumeMode) {
|
|
25420
|
-
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access',
|
|
25421
|
-
setCardPaused(_optionalChain([handoffRef, 'access',
|
|
25423
|
+
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access', _545 => _545.current, 'optionalAccess', _546 => _546.muted]), () => ( false)));
|
|
25424
|
+
setCardPaused(_optionalChain([handoffRef, 'access', _547 => _547.current, 'optionalAccess', _548 => _548.playing]) === false);
|
|
25422
25425
|
}
|
|
25423
25426
|
}, [resumeMode]);
|
|
25424
25427
|
const [hoverSeeded, setHoverSeeded] = _react.useState.call(void 0, hovered);
|
|
@@ -25500,11 +25503,11 @@ function WalkthroughVideo({
|
|
|
25500
25503
|
},
|
|
25501
25504
|
[cardFallback.blocked, cardPaused, activeHandle, setCardPaused]
|
|
25502
25505
|
);
|
|
25503
|
-
const summaryTitle = _optionalChain([video, 'optionalAccess',
|
|
25504
|
-
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
25506
|
+
const summaryTitle = _optionalChain([video, 'optionalAccess', _549 => _549.title]) || void 0;
|
|
25507
|
+
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess', _550 => _550.presenterAvatarUrl]), () => ( null));
|
|
25505
25508
|
const embedUrlKey = _react.useMemo.call(void 0,
|
|
25506
|
-
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
25507
|
-
[_optionalChain([video, 'optionalAccess',
|
|
25509
|
+
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _551 => _551.mainVideoUrl]), () => ( ""))}|${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _552 => _552.youtubeUrl]), () => ( ""))}`,
|
|
25510
|
+
[_optionalChain([video, 'optionalAccess', _553 => _553.mainVideoUrl]), _optionalChain([video, 'optionalAccess', _554 => _554.youtubeUrl])]
|
|
25508
25511
|
);
|
|
25509
25512
|
const cardActive = !open && previewAllowed && hovered && !resumeMode;
|
|
25510
25513
|
const cardMode = resumeMode ? "resume" : cardActive ? "preview" : "poster";
|
|
@@ -25563,7 +25566,7 @@ function WalkthroughVideo({
|
|
|
25563
25566
|
const el = e.target;
|
|
25564
25567
|
let keyboard = false;
|
|
25565
25568
|
try {
|
|
25566
|
-
keyboard = _nullishCoalesce(_optionalChain([el, 'access',
|
|
25569
|
+
keyboard = _nullishCoalesce(_optionalChain([el, 'access', _555 => _555.matches, 'optionalCall', _556 => _556(":focus-visible")]), () => ( false));
|
|
25567
25570
|
} catch (e36) {
|
|
25568
25571
|
keyboard = false;
|
|
25569
25572
|
}
|
|
@@ -25597,9 +25600,9 @@ function WalkthroughVideo({
|
|
|
25597
25600
|
previewHandleRef: cardMode === "resume" ? resumeHandleRef : previewHandleRef,
|
|
25598
25601
|
mutedIntent: userMuted,
|
|
25599
25602
|
continuation: cardMode === "resume",
|
|
25600
|
-
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess',
|
|
25601
|
-
startTime: _optionalChain([resumeHandoff, 'optionalAccess',
|
|
25602
|
-
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess',
|
|
25603
|
+
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess', _557 => _557.playing]) !== false && !footerHidden,
|
|
25604
|
+
startTime: _optionalChain([resumeHandoff, 'optionalAccess', _558 => _558.time]),
|
|
25605
|
+
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess', _559 => _559.muted]), () => ( false)),
|
|
25603
25606
|
onEnded: cardMode === "resume" ? () => setHandoff(null) : () => setCardPaused(true)
|
|
25604
25607
|
},
|
|
25605
25608
|
`card-${embedUrlKey}`
|
|
@@ -25696,7 +25699,7 @@ function WalkthroughVideo({
|
|
|
25696
25699
|
{
|
|
25697
25700
|
onOpenAutoFocus: (e) => {
|
|
25698
25701
|
e.preventDefault();
|
|
25699
|
-
_optionalChain([closeButtonRef, 'access',
|
|
25702
|
+
_optionalChain([closeButtonRef, 'access', _560 => _560.current, 'optionalAccess', _561 => _561.focus, 'call', _562 => _562()]);
|
|
25700
25703
|
},
|
|
25701
25704
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
25702
25705
|
// PURE theater: just the video, centered on a dimmed backdrop.
|
|
@@ -25790,14 +25793,14 @@ function useWalkthroughVideo(opts) {
|
|
|
25790
25793
|
if (res.status === 404) return null;
|
|
25791
25794
|
if (!res.ok) throw new Error(`Walkthrough video request failed (${res.status})`);
|
|
25792
25795
|
const body = await res.json();
|
|
25793
|
-
return _nullishCoalesce(_optionalChain([body, 'optionalAccess',
|
|
25796
|
+
return _nullishCoalesce(_optionalChain([body, 'optionalAccess', _563 => _563.walkthroughVideo]), () => ( null));
|
|
25794
25797
|
},
|
|
25795
25798
|
// Per-observer transform — NEVER mutate the cached data. `select` also runs
|
|
25796
25799
|
// over `initialData`, so the SSR seed is rewritten too. Keeping the proxy
|
|
25797
25800
|
// rewrite here (not in queryFn) means a second consumer of the same
|
|
25798
25801
|
// endpoint can't inherit this observer's proxied captionsUrl from the cache.
|
|
25799
25802
|
select: (video) => {
|
|
25800
|
-
if (!_optionalChain([video, 'optionalAccess',
|
|
25803
|
+
if (!_optionalChain([video, 'optionalAccess', _564 => _564.captionsUrl])) return video;
|
|
25801
25804
|
if (transformCaptionsUrl && video.captionsUrl.startsWith("/")) {
|
|
25802
25805
|
return { ...video, captionsUrl: transformCaptionsUrl(video.captionsUrl) };
|
|
25803
25806
|
}
|
|
@@ -25844,7 +25847,7 @@ function VideoSourceSelector({
|
|
|
25844
25847
|
input.accept = "video/*";
|
|
25845
25848
|
input.onchange = async (e) => {
|
|
25846
25849
|
const target = e.target;
|
|
25847
|
-
const file = _optionalChain([target, 'access',
|
|
25850
|
+
const file = _optionalChain([target, 'access', _565 => _565.files, 'optionalAccess', _566 => _566[0]]);
|
|
25848
25851
|
if (!file) return;
|
|
25849
25852
|
setIsUploading(true);
|
|
25850
25853
|
setUploadProgress(0);
|
|
@@ -26020,7 +26023,7 @@ function SubtitlesEditor({
|
|
|
26020
26023
|
{
|
|
26021
26024
|
id,
|
|
26022
26025
|
value: subtitles || "",
|
|
26023
|
-
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall',
|
|
26026
|
+
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _567 => _567(e.target.value)]),
|
|
26024
26027
|
placeholder,
|
|
26025
26028
|
disabled: disabled || !onSubtitlesChange,
|
|
26026
26029
|
className: "h-full w-full resize-none border-0 bg-transparent p-4 text-ods-text-primary text-code placeholder:text-ods-text-secondary/50 focus:outline-none focus:ring-0",
|
|
@@ -26249,7 +26252,7 @@ var AIEnrichSection = ({
|
|
|
26249
26252
|
}) => {
|
|
26250
26253
|
const hasResults = status === "success" || status === "error";
|
|
26251
26254
|
const shouldDisable = disabled || !canEnrich;
|
|
26252
|
-
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess',
|
|
26255
|
+
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _568 => _568.filter, 'call', _569 => _569((f) => !f.isFilled)]) || [];
|
|
26253
26256
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26254
26257
|
"div",
|
|
26255
26258
|
{
|
|
@@ -26281,7 +26284,7 @@ var AIEnrichSection = ({
|
|
|
26281
26284
|
{
|
|
26282
26285
|
id: "ai-enrich-custom-instructions",
|
|
26283
26286
|
value: _nullishCoalesce(customInstructions, () => ( "")),
|
|
26284
|
-
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall',
|
|
26287
|
+
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _570 => _570(e.target.value)]),
|
|
26285
26288
|
placeholder: customInstructionsPlaceholder,
|
|
26286
26289
|
disabled: loading,
|
|
26287
26290
|
maxLength: customInstructionsMaxLength,
|
|
@@ -26403,7 +26406,7 @@ function HighlightVideoSection({
|
|
|
26403
26406
|
input.accept = "video/*";
|
|
26404
26407
|
input.onchange = async (e) => {
|
|
26405
26408
|
const target = e.target;
|
|
26406
|
-
const file = _optionalChain([target, 'access',
|
|
26409
|
+
const file = _optionalChain([target, 'access', _571 => _571.files, 'optionalAccess', _572 => _572[0]]);
|
|
26407
26410
|
if (!file) return;
|
|
26408
26411
|
setUploadError(null);
|
|
26409
26412
|
try {
|
|
@@ -26839,7 +26842,7 @@ function HighlightVideoPreview({
|
|
|
26839
26842
|
input.accept = "video/*";
|
|
26840
26843
|
input.onchange = async (e) => {
|
|
26841
26844
|
const target = e.target;
|
|
26842
|
-
const file = _optionalChain([target, 'access',
|
|
26845
|
+
const file = _optionalChain([target, 'access', _573 => _573.files, 'optionalAccess', _574 => _574[0]]);
|
|
26843
26846
|
if (!file) return;
|
|
26844
26847
|
await onUpload(file);
|
|
26845
26848
|
};
|
|
@@ -27018,7 +27021,7 @@ function HighlightVideoCombinedSection({
|
|
|
27018
27021
|
input.accept = "video/*";
|
|
27019
27022
|
input.onchange = async (e) => {
|
|
27020
27023
|
const target = e.target;
|
|
27021
|
-
const file = _optionalChain([target, 'access',
|
|
27024
|
+
const file = _optionalChain([target, 'access', _575 => _575.files, 'optionalAccess', _576 => _576[0]]);
|
|
27022
27025
|
if (!file) return;
|
|
27023
27026
|
await onUpload(file);
|
|
27024
27027
|
};
|
|
@@ -27711,19 +27714,19 @@ function NotificationsProvider({
|
|
|
27711
27714
|
}, []);
|
|
27712
27715
|
const markRead = _react.useCallback.call(void 0, (id) => {
|
|
27713
27716
|
dispatch({ type: "markRead", id });
|
|
27714
|
-
void _optionalChain([actionsRef, 'access',
|
|
27717
|
+
void _optionalChain([actionsRef, 'access', _577 => _577.current, 'optionalAccess', _578 => _578.onMarkRead, 'optionalCall', _579 => _579(id)]);
|
|
27715
27718
|
}, []);
|
|
27716
27719
|
const markAllRead = _react.useCallback.call(void 0, () => {
|
|
27717
27720
|
dispatch({ type: "markAllRead" });
|
|
27718
|
-
void _optionalChain([actionsRef, 'access',
|
|
27721
|
+
void _optionalChain([actionsRef, 'access', _580 => _580.current, 'optionalAccess', _581 => _581.onMarkAllRead, 'optionalCall', _582 => _582()]);
|
|
27719
27722
|
}, []);
|
|
27720
27723
|
const markSettled = _react.useCallback.call(void 0, (id) => {
|
|
27721
27724
|
dispatch({ type: "markSettled", id });
|
|
27722
|
-
void _optionalChain([actionsRef, 'access',
|
|
27725
|
+
void _optionalChain([actionsRef, 'access', _583 => _583.current, 'optionalAccess', _584 => _584.onMarkSettled, 'optionalCall', _585 => _585(id)]);
|
|
27723
27726
|
}, []);
|
|
27724
27727
|
const remove = _react.useCallback.call(void 0, (id) => {
|
|
27725
27728
|
dispatch({ type: "remove", id });
|
|
27726
|
-
void _optionalChain([actionsRef, 'access',
|
|
27729
|
+
void _optionalChain([actionsRef, 'access', _586 => _586.current, 'optionalAccess', _587 => _587.onRemove, 'optionalCall', _588 => _588(id)]);
|
|
27727
27730
|
}, []);
|
|
27728
27731
|
const clear = _react.useCallback.call(void 0, () => dispatch({ type: "clear" }), []);
|
|
27729
27732
|
const open = _react.useCallback.call(void 0, () => setIsOpen(true), []);
|
|
@@ -27732,14 +27735,14 @@ function NotificationsProvider({
|
|
|
27732
27735
|
const setShowPopups = _react.useCallback.call(void 0,
|
|
27733
27736
|
(value2) => {
|
|
27734
27737
|
setShowPopupsState(value2);
|
|
27735
|
-
_optionalChain([onShowPopupsChange, 'optionalCall',
|
|
27738
|
+
_optionalChain([onShowPopupsChange, 'optionalCall', _589 => _589(value2)]);
|
|
27736
27739
|
},
|
|
27737
27740
|
[onShowPopupsChange]
|
|
27738
27741
|
);
|
|
27739
27742
|
const setShowDesktopPopups = _react.useCallback.call(void 0,
|
|
27740
27743
|
(value2) => {
|
|
27741
27744
|
setShowDesktopPopupsState(value2);
|
|
27742
|
-
_optionalChain([onShowDesktopPopupsChange, 'optionalCall',
|
|
27745
|
+
_optionalChain([onShowDesktopPopupsChange, 'optionalCall', _590 => _590(value2)]);
|
|
27743
27746
|
},
|
|
27744
27747
|
[onShowDesktopPopupsChange]
|
|
27745
27748
|
);
|
|
@@ -27855,7 +27858,7 @@ var AppLayoutDrawerRoot = ({
|
|
|
27855
27858
|
const handleOpenChange = _react.useCallback.call(void 0,
|
|
27856
27859
|
(next) => {
|
|
27857
27860
|
if (!isControlled) setInternalOpen(next);
|
|
27858
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
27861
|
+
_optionalChain([onOpenChange, 'optionalCall', _591 => _591(next)]);
|
|
27859
27862
|
},
|
|
27860
27863
|
[isControlled, onOpenChange]
|
|
27861
27864
|
);
|
|
@@ -27872,9 +27875,9 @@ var AppLayoutDrawerRoot = ({
|
|
|
27872
27875
|
}
|
|
27873
27876
|
}));
|
|
27874
27877
|
_react.useEffect.call(void 0, () => {
|
|
27875
|
-
if (open) _optionalChain([coordination, 'optionalAccess',
|
|
27878
|
+
if (open) _optionalChain([coordination, 'optionalAccess', _592 => _592.notifyDrawerDidOpen, 'call', _593 => _593(selfHandle)]);
|
|
27876
27879
|
}, [open, coordination, selfHandle]);
|
|
27877
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
27880
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _594 => _594.registerDrawer, 'call', _595 => _595(selfHandle)]), [coordination, selfHandle]);
|
|
27878
27881
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DrawerOpenContext.Provider, { value: open, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive3.Root, { ...rest, open, onOpenChange: handleOpenChange, modal, children }) });
|
|
27879
27882
|
};
|
|
27880
27883
|
AppLayoutDrawerRoot.displayName = "AppLayoutDrawer";
|
|
@@ -28223,10 +28226,10 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
28223
28226
|
),
|
|
28224
28227
|
style,
|
|
28225
28228
|
onInteractOutside: (event) => {
|
|
28226
|
-
_optionalChain([onInteractOutside, 'optionalCall',
|
|
28229
|
+
_optionalChain([onInteractOutside, 'optionalCall', _596 => _596(event)]);
|
|
28227
28230
|
if (event.defaultPrevented) return;
|
|
28228
28231
|
const target = event.target;
|
|
28229
|
-
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess',
|
|
28232
|
+
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _597 => _597.contains, 'call', _598 => _598(target)]);
|
|
28230
28233
|
if (!isInsideContainer) {
|
|
28231
28234
|
event.preventDefault();
|
|
28232
28235
|
return;
|
|
@@ -28330,7 +28333,7 @@ function NotificationTile({
|
|
|
28330
28333
|
if (!counting) return void 0;
|
|
28331
28334
|
const remaining = Math.max(0, liveDurationMs - initialElapsed);
|
|
28332
28335
|
const timer = window.setTimeout(() => {
|
|
28333
|
-
_optionalChain([onSettle, 'optionalCall',
|
|
28336
|
+
_optionalChain([onSettle, 'optionalCall', _599 => _599(id)]);
|
|
28334
28337
|
}, remaining);
|
|
28335
28338
|
return () => window.clearTimeout(timer);
|
|
28336
28339
|
}, [id, counting, initialElapsed, liveDurationMs, onSettle]);
|
|
@@ -28370,7 +28373,7 @@ function NotificationTile({
|
|
|
28370
28373
|
active: isLive,
|
|
28371
28374
|
label: "Dismiss notification",
|
|
28372
28375
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOIDKQ77Rcjs.XmarkIcon, { size: 16 }),
|
|
28373
|
-
onClick: () => _optionalChain([onSettle, 'optionalCall',
|
|
28376
|
+
onClick: () => _optionalChain([onSettle, 'optionalCall', _600 => _600(id)])
|
|
28374
28377
|
},
|
|
28375
28378
|
{
|
|
28376
28379
|
active: !isLive,
|
|
@@ -28568,7 +28571,7 @@ function DrawerScrollList({
|
|
|
28568
28571
|
if (!sentinel || !root) return void 0;
|
|
28569
28572
|
const observer = new IntersectionObserver(
|
|
28570
28573
|
(entries) => {
|
|
28571
|
-
if (_optionalChain([entries, 'access',
|
|
28574
|
+
if (_optionalChain([entries, 'access', _601 => _601[0], 'optionalAccess', _602 => _602.isIntersecting])) _optionalChain([loadMoreRef, 'access', _603 => _603.current, 'optionalCall', _604 => _604()]);
|
|
28572
28575
|
},
|
|
28573
28576
|
{ root, rootMargin: loadMoreRootMargin }
|
|
28574
28577
|
);
|
|
@@ -28583,7 +28586,7 @@ function DrawerScrollList({
|
|
|
28583
28586
|
className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
|
|
28584
28587
|
children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28585
28588
|
unreadNotifications.map((n) => {
|
|
28586
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
28589
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _605 => _605(n, { onComplete, onSettle, liveDurationMs })]);
|
|
28587
28590
|
if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
|
|
28588
28591
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28589
28592
|
NotificationTile,
|
|
@@ -28703,7 +28706,7 @@ function NotificationPopups({
|
|
|
28703
28706
|
}) {
|
|
28704
28707
|
const ctx = useOptionalNotifications();
|
|
28705
28708
|
const [now, setNow] = _react.useState.call(void 0, () => Date.now());
|
|
28706
|
-
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess',
|
|
28709
|
+
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess', _606 => _606.notifications, 'access', _607 => _607.some, 'call', _608 => _608((n) => !n.read && !n.settled)]));
|
|
28707
28710
|
_react.useEffect.call(void 0, () => {
|
|
28708
28711
|
if (!hasAgeingNotifications) return void 0;
|
|
28709
28712
|
const id = setInterval(() => setNow(Date.now()), 500);
|
|
@@ -28746,7 +28749,7 @@ function NotificationPopups({
|
|
|
28746
28749
|
className
|
|
28747
28750
|
),
|
|
28748
28751
|
children: live.map((n) => {
|
|
28749
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
28752
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _609 => _609(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
|
|
28750
28753
|
if (custom) {
|
|
28751
28754
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
|
|
28752
28755
|
}
|
|
@@ -28793,21 +28796,21 @@ function isApprovalNotificationType(type) {
|
|
|
28793
28796
|
return typeof type === "string" && APPROVAL_REQUEST_TYPES.has(type);
|
|
28794
28797
|
}
|
|
28795
28798
|
function isApprovalNotification(notification) {
|
|
28796
|
-
return isApprovalNotificationType(_optionalChain([notification, 'access',
|
|
28799
|
+
return isApprovalNotificationType(_optionalChain([notification, 'access', _610 => _610.meta, 'optionalAccess', _611 => _611.notificationType]));
|
|
28797
28800
|
}
|
|
28798
28801
|
function getApprovalMeta(notification) {
|
|
28799
28802
|
if (!isApprovalNotification(notification)) return null;
|
|
28800
28803
|
const meta = notification.meta;
|
|
28801
|
-
const approvalRequestId = _optionalChain([meta, 'optionalAccess',
|
|
28802
|
-
const toolCalls = _optionalChain([meta, 'optionalAccess',
|
|
28804
|
+
const approvalRequestId = _optionalChain([meta, 'optionalAccess', _612 => _612.approvalRequestId]);
|
|
28805
|
+
const toolCalls = _optionalChain([meta, 'optionalAccess', _613 => _613.toolCalls]);
|
|
28803
28806
|
if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
|
|
28804
28807
|
return {
|
|
28805
28808
|
approvalRequestId,
|
|
28806
|
-
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28807
|
-
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28808
|
-
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28809
|
-
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28810
|
-
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28809
|
+
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _614 => _614.dialogId]), () => ( null)),
|
|
28810
|
+
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _615 => _615.ticketId]), () => ( null)),
|
|
28811
|
+
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _616 => _616.approvalType]), () => ( null)),
|
|
28812
|
+
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _617 => _617.resolution]), () => ( null)),
|
|
28813
|
+
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _618 => _618.resolvedByName]), () => ( null)),
|
|
28811
28814
|
toolCalls
|
|
28812
28815
|
};
|
|
28813
28816
|
}
|
|
@@ -28858,7 +28861,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28858
28861
|
const [processing, setProcessing] = _react.useState.call(void 0, false);
|
|
28859
28862
|
const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
|
|
28860
28863
|
const approval = getApprovalMeta(notification);
|
|
28861
|
-
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess',
|
|
28864
|
+
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _619 => _619.resolution]));
|
|
28862
28865
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28863
28866
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28864
28867
|
const { innerRef, containerStyle } = _chunk4J7CFT6Dcjs.useCollapsible.call(void 0, { expanded });
|
|
@@ -29186,7 +29189,7 @@ function TimeTrackerPanel({
|
|
|
29186
29189
|
error: showFieldError ? "Required if no notes added" : void 0,
|
|
29187
29190
|
disableClientFilter: !!onTicketSearch,
|
|
29188
29191
|
onInputChange: (value, reason) => {
|
|
29189
|
-
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall',
|
|
29192
|
+
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _620 => _620(value)]);
|
|
29190
29193
|
}
|
|
29191
29194
|
}
|
|
29192
29195
|
),
|
|
@@ -29201,7 +29204,7 @@ function TimeTrackerPanel({
|
|
|
29201
29204
|
disabled: customerLocked,
|
|
29202
29205
|
disableClientFilter: !!onCustomerSearch,
|
|
29203
29206
|
onInputChange: (value, reason) => {
|
|
29204
|
-
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall',
|
|
29207
|
+
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _621 => _621(value)]);
|
|
29205
29208
|
},
|
|
29206
29209
|
startAdornment: customerStartAdornment,
|
|
29207
29210
|
renderOption: renderCustomerOption
|
|
@@ -29303,7 +29306,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
29303
29306
|
{
|
|
29304
29307
|
variant: "outline",
|
|
29305
29308
|
size: "icon",
|
|
29306
|
-
onClick: () => _optionalChain([onClick, 'optionalCall',
|
|
29309
|
+
onClick: () => _optionalChain([onClick, 'optionalCall', _622 => _622(entry)]),
|
|
29307
29310
|
disabled: !onClick,
|
|
29308
29311
|
"aria-label": `Open entry: ${entry.title}`,
|
|
29309
29312
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
@@ -29387,28 +29390,28 @@ function HeaderButton({
|
|
|
29387
29390
|
function TimeTrackerHeaderButton({ className, disabled }) {
|
|
29388
29391
|
const ctx = useOptionalTimeTracker();
|
|
29389
29392
|
const elapsedLabel = useTrackerClock({
|
|
29390
|
-
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
29391
|
-
runningSince: _optionalChain([ctx, 'optionalAccess',
|
|
29392
|
-
accumulatedMs: _optionalChain([ctx, 'optionalAccess',
|
|
29393
|
+
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _623 => _623.status]), () => ( "ready")),
|
|
29394
|
+
runningSince: _optionalChain([ctx, 'optionalAccess', _624 => _624.runningSince]),
|
|
29395
|
+
accumulatedMs: _optionalChain([ctx, 'optionalAccess', _625 => _625.accumulatedMs])
|
|
29393
29396
|
});
|
|
29394
29397
|
const layoutContainer = useAppLayoutDrawerContainer();
|
|
29395
29398
|
const coordination = useAppLayoutDrawerCoordination();
|
|
29396
|
-
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
29399
|
+
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _626 => _626.isOpen]), () => ( false));
|
|
29397
29400
|
const isOpenRef = _react.useRef.call(void 0, isOpen);
|
|
29398
|
-
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess',
|
|
29401
|
+
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _627 => _627.close]));
|
|
29399
29402
|
_react.useEffect.call(void 0, () => {
|
|
29400
29403
|
isOpenRef.current = isOpen;
|
|
29401
|
-
closeRef.current = _optionalChain([ctx, 'optionalAccess',
|
|
29404
|
+
closeRef.current = _optionalChain([ctx, 'optionalAccess', _628 => _628.close]);
|
|
29402
29405
|
});
|
|
29403
29406
|
const [selfHandle] = _react.useState.call(void 0, () => ({
|
|
29404
29407
|
close: () => {
|
|
29405
|
-
if (isOpenRef.current) _optionalChain([closeRef, 'access',
|
|
29408
|
+
if (isOpenRef.current) _optionalChain([closeRef, 'access', _629 => _629.current, 'optionalCall', _630 => _630()]);
|
|
29406
29409
|
}
|
|
29407
29410
|
}));
|
|
29408
29411
|
_react.useEffect.call(void 0, () => {
|
|
29409
|
-
if (isOpen) _optionalChain([coordination, 'optionalAccess',
|
|
29412
|
+
if (isOpen) _optionalChain([coordination, 'optionalAccess', _631 => _631.notifyDrawerDidOpen, 'call', _632 => _632(selfHandle)]);
|
|
29410
29413
|
}, [isOpen, coordination, selfHandle]);
|
|
29411
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
29414
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _633 => _633.registerDrawer, 'call', _634 => _634(selfHandle)]), [coordination, selfHandle]);
|
|
29412
29415
|
if (!ctx) return null;
|
|
29413
29416
|
const { open, close, status } = ctx;
|
|
29414
29417
|
const isPaused = status === "paused";
|
|
@@ -29540,7 +29543,7 @@ function autoScrollAncestors(element) {
|
|
|
29540
29543
|
|
|
29541
29544
|
// src/components/features/board/aim.ts
|
|
29542
29545
|
var _closestedge = require('@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge');
|
|
29543
|
-
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access',
|
|
29546
|
+
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access', _635 => _635.find, 'call', _636 => _636((c) => c.id === columnId), 'optionalAccess', _637 => _637.tickets]), () => ( []))).filter((t) => t.id !== ticketId);
|
|
29544
29547
|
function laneOf(columns, ticketId) {
|
|
29545
29548
|
return _nullishCoalesce(columns.find((c) => c.tickets.some((t) => t.id === ticketId)), () => ( null));
|
|
29546
29549
|
}
|
|
@@ -29584,11 +29587,11 @@ function aimToChange(columns, ticketId, aim) {
|
|
|
29584
29587
|
const lane = laneOf(columns, ticketId);
|
|
29585
29588
|
if (!lane) return null;
|
|
29586
29589
|
const others = othersIn(columns, aim.columnId, ticketId);
|
|
29587
|
-
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
29588
|
-
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
29590
|
+
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access', _638 => _638[aim.index - 1], 'optionalAccess', _639 => _639.id]), () => ( null));
|
|
29591
|
+
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access', _640 => _640[aim.index], 'optionalAccess', _641 => _641.id]), () => ( null));
|
|
29589
29592
|
if (lane.id === aim.columnId) {
|
|
29590
29593
|
const currentIndex = lane.tickets.findIndex((t) => t.id === ticketId);
|
|
29591
|
-
if ((_nullishCoalesce(_optionalChain([lane, 'access',
|
|
29594
|
+
if ((_nullishCoalesce(_optionalChain([lane, 'access', _642 => _642.tickets, 'access', _643 => _643[currentIndex - 1], 'optionalAccess', _644 => _644.id]), () => ( null))) === afterTicketId) return null;
|
|
29592
29595
|
}
|
|
29593
29596
|
return { ticketId, fromColumnId: lane.id, toColumnId: aim.columnId, afterTicketId, beforeTicketId };
|
|
29594
29597
|
}
|
|
@@ -29860,14 +29863,14 @@ function useIsLanding(ticketId) {
|
|
|
29860
29863
|
return _react.useContext.call(void 0, LandingCardContext) === ticketId;
|
|
29861
29864
|
}
|
|
29862
29865
|
function hasMoveSettled(columns, move) {
|
|
29863
|
-
const tickets = _optionalChain([columns, 'access',
|
|
29866
|
+
const tickets = _optionalChain([columns, 'access', _645 => _645.find, 'call', _646 => _646((c) => c.id === move.toColumnId), 'optionalAccess', _647 => _647.tickets]);
|
|
29864
29867
|
if (!tickets) return false;
|
|
29865
29868
|
const index = tickets.findIndex((t) => t.id === move.ticketId);
|
|
29866
29869
|
if (index < 0) return false;
|
|
29867
29870
|
if (move.fromColumnId === move.toColumnId) {
|
|
29868
|
-
return (_nullishCoalesce(_optionalChain([tickets, 'access',
|
|
29871
|
+
return (_nullishCoalesce(_optionalChain([tickets, 'access', _648 => _648[index - 1], 'optionalAccess', _649 => _649.id]), () => ( null))) === move.afterTicketId;
|
|
29869
29872
|
}
|
|
29870
|
-
return !_optionalChain([columns, 'access',
|
|
29873
|
+
return !_optionalChain([columns, 'access', _650 => _650.find, 'call', _651 => _651((c) => c.id === move.fromColumnId), 'optionalAccess', _652 => _652.tickets, 'access', _653 => _653.some, 'call', _654 => _654((t) => t.id === move.ticketId)]);
|
|
29871
29874
|
}
|
|
29872
29875
|
|
|
29873
29876
|
// src/components/features/board/ticket-card.tsx
|
|
@@ -29900,9 +29903,9 @@ function TicketCardBody({
|
|
|
29900
29903
|
}) {
|
|
29901
29904
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
29902
29905
|
const newMessageTextColor = columnColor ? _chunk4J7CFT6Dcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29903
|
-
const showDeviceRow = !!(_optionalChain([ticket, 'access',
|
|
29904
|
-
const deviceText = [_optionalChain([ticket, 'access',
|
|
29905
|
-
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access',
|
|
29906
|
+
const showDeviceRow = !!(_optionalChain([ticket, 'access', _655 => _655.deviceHostnames, 'optionalAccess', _656 => _656.length]) || ticket.organizationName);
|
|
29907
|
+
const deviceText = [_optionalChain([ticket, 'access', _657 => _657.deviceHostnames, 'optionalAccess', _658 => _658.join, 'call', _659 => _659(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29908
|
+
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _660 => _660.assignees, 'optionalAccess', _661 => _661.length]) || renderAssignSlot);
|
|
29906
29909
|
const rightSection = hasRightSection ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
29907
29910
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29908
29911
|
_chunkOIDKQ77Rcjs.Flag02Icon,
|
|
@@ -29911,7 +29914,7 @@ function TicketCardBody({
|
|
|
29911
29914
|
"aria-label": `Priority: ${ticket.priority}`
|
|
29912
29915
|
}
|
|
29913
29916
|
),
|
|
29914
|
-
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access',
|
|
29917
|
+
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _662 => _662.assignees, 'optionalAccess', _663 => _663.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
29915
29918
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map(
|
|
29916
29919
|
(a) => a.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29917
29920
|
DeletedUserAvatar,
|
|
@@ -29965,7 +29968,7 @@ function TicketCardBody({
|
|
|
29965
29968
|
] }),
|
|
29966
29969
|
rightSection
|
|
29967
29970
|
] }),
|
|
29968
|
-
_optionalChain([ticket, 'access',
|
|
29971
|
+
_optionalChain([ticket, 'access', _664 => _664.tags, 'optionalAccess', _665 => _665.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29969
29972
|
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4J7CFT6Dcjs.Tooltip, { children: [
|
|
29970
29973
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.TooltipTrigger, { asChild: true, children: meta }),
|
|
29971
29974
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.TooltipContent, { children: tooltipLabel })
|
|
@@ -30032,7 +30035,7 @@ var TicketCard = _react.memo.call(void 0, function TicketCardImpl({
|
|
|
30032
30035
|
const isLanding = useIsLanding(ticket.id);
|
|
30033
30036
|
const aim = useDropAim();
|
|
30034
30037
|
const closestEdge = aim && aim.columnId === columnId && aim.ticketId === ticket.id ? aim.edge : null;
|
|
30035
|
-
const isSource = isDragging || _optionalChain([aim, 'optionalAccess',
|
|
30038
|
+
const isSource = isDragging || _optionalChain([aim, 'optionalAccess', _666 => _666.ticket, 'access', _667 => _667.id]) === ticket.id;
|
|
30036
30039
|
const lift = useBoardLift();
|
|
30037
30040
|
const handleKeyDown = (e) => {
|
|
30038
30041
|
if (e.key !== " " || dragDisabled || !lift) return;
|
|
@@ -30290,7 +30293,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
30290
30293
|
// large ones like the only thing that did.
|
|
30291
30294
|
getData: ({ input, element: lane, source }) => {
|
|
30292
30295
|
const nearest = nearestCardIn(lane, input.clientY, String(source.data.ticketId));
|
|
30293
|
-
const ticketId = _optionalChain([nearest, 'optionalAccess',
|
|
30296
|
+
const ticketId = _optionalChain([nearest, 'optionalAccess', _668 => _668.dataset, 'access', _669 => _669.ticketId]);
|
|
30294
30297
|
if (!nearest || !ticketId) return { type: "column", columnId: column.id };
|
|
30295
30298
|
return _closestedge.attachClosestEdge.call(void 0,
|
|
30296
30299
|
{ type: "ticket", ticketId, columnId: column.id },
|
|
@@ -30302,7 +30305,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
30302
30305
|
onDrop: () => setIsOver(false)
|
|
30303
30306
|
});
|
|
30304
30307
|
}, [column.id, column.dropDisabled, column.allowedFromColumns, collapsed, touchMode]);
|
|
30305
|
-
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall',
|
|
30308
|
+
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall', _670 => _670(column.id)]), [onToggleCollapse, column.id]);
|
|
30306
30309
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30307
30310
|
"div",
|
|
30308
30311
|
{
|
|
@@ -30381,7 +30384,7 @@ function ColumnBody({
|
|
|
30381
30384
|
const observer = new IntersectionObserver(
|
|
30382
30385
|
(entries) => {
|
|
30383
30386
|
if (entries.some((e) => e.isIntersecting)) {
|
|
30384
|
-
_optionalChain([loadMoreRef, 'access',
|
|
30387
|
+
_optionalChain([loadMoreRef, 'access', _671 => _671.current, 'optionalCall', _672 => _672(columnIdRef.current)]);
|
|
30385
30388
|
}
|
|
30386
30389
|
},
|
|
30387
30390
|
{ root, rootMargin: loadMoreRootMargin }
|
|
@@ -30406,7 +30409,7 @@ function ColumnBody({
|
|
|
30406
30409
|
ticket: t,
|
|
30407
30410
|
columnId: column.id,
|
|
30408
30411
|
columnColor: column.color,
|
|
30409
|
-
href: _optionalChain([getTicketHref, 'optionalCall',
|
|
30412
|
+
href: _optionalChain([getTicketHref, 'optionalCall', _673 => _673(t.id)]),
|
|
30410
30413
|
renderAssignSlot,
|
|
30411
30414
|
onApprove,
|
|
30412
30415
|
onReject,
|
|
@@ -30583,7 +30586,7 @@ function DragBoard({
|
|
|
30583
30586
|
const [landing, setLanding] = _react.useState.call(void 0, null);
|
|
30584
30587
|
const landingTimer = _react.useRef.call(void 0, null);
|
|
30585
30588
|
const pointRef = _react.useRef.call(void 0, { x: 0, y: 0 });
|
|
30586
|
-
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access',
|
|
30589
|
+
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access', _674 => _674.find, 'call', _675 => _675((c) => c.id === columnId), 'optionalAccess', _676 => _676.label]), () => ( columnId)), [view]);
|
|
30587
30590
|
const acceptsLifted = _react.useCallback.call(void 0,
|
|
30588
30591
|
(fromColumnId) => (column) => {
|
|
30589
30592
|
if (column.dropDisabled || collapsed[column.id]) return false;
|
|
@@ -30597,7 +30600,7 @@ function DragBoard({
|
|
|
30597
30600
|
const start = initialAim(view, ticketId);
|
|
30598
30601
|
if (!start) return;
|
|
30599
30602
|
setLifted({ ticketId, aim: start });
|
|
30600
|
-
const title = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
30603
|
+
const title = _nullishCoalesce(_optionalChain([laneOf, 'call', _677 => _677(view, ticketId), 'optionalAccess', _678 => _678.tickets, 'access', _679 => _679.find, 'call', _680 => _680((t) => t.id === ticketId), 'optionalAccess', _681 => _681.title]), () => ( "Ticket"));
|
|
30601
30604
|
setAnnouncement(`${title} lifted. Use the arrow keys to move it, space to drop it, escape to put it back.`);
|
|
30602
30605
|
},
|
|
30603
30606
|
[view]
|
|
@@ -30622,11 +30625,11 @@ function DragBoard({
|
|
|
30622
30625
|
const walk = _react.useCallback.call(void 0,
|
|
30623
30626
|
(key) => {
|
|
30624
30627
|
if (!lifted) return;
|
|
30625
|
-
const from = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
30628
|
+
const from = _nullishCoalesce(_optionalChain([laneOf, 'call', _682 => _682(view, lifted.ticketId), 'optionalAccess', _683 => _683.id]), () => ( lifted.aim.columnId));
|
|
30626
30629
|
const next = moveAim(view, lifted.ticketId, lifted.aim, key, acceptsLifted(from));
|
|
30627
30630
|
if (next === lifted.aim) return;
|
|
30628
30631
|
setLifted({ ...lifted, aim: next });
|
|
30629
|
-
const total = (_nullishCoalesce(_optionalChain([view, 'access',
|
|
30632
|
+
const total = (_nullishCoalesce(_optionalChain([view, 'access', _684 => _684.find, 'call', _685 => _685((c) => c.id === next.columnId), 'optionalAccess', _686 => _686.tickets]), () => ( []))).filter(
|
|
30630
30633
|
(t) => t.id !== lifted.ticketId
|
|
30631
30634
|
).length;
|
|
30632
30635
|
setAnnouncement(`${laneLabel(next.columnId)}, position ${next.index + 1} of ${total + 1}.`);
|
|
@@ -30653,11 +30656,11 @@ function DragBoard({
|
|
|
30653
30656
|
}, [lifted, drop, walk]);
|
|
30654
30657
|
_react.useEffect.call(void 0, () => {
|
|
30655
30658
|
if (!lifted) return;
|
|
30656
|
-
_optionalChain([boardRef, 'access',
|
|
30659
|
+
_optionalChain([boardRef, 'access', _687 => _687.current, 'optionalAccess', _688 => _688.querySelector, 'call', _689 => _689(`[${DROP_LINE_ATTRIBUTE}]`), 'optionalAccess', _690 => _690.scrollIntoView, 'call', _691 => _691({ block: "nearest", inline: "nearest" })]);
|
|
30657
30660
|
}, [lifted]);
|
|
30658
30661
|
const keyboardAim = _react.useMemo.call(void 0, () => {
|
|
30659
30662
|
if (!lifted) return null;
|
|
30660
|
-
const ticket = _optionalChain([laneOf, 'call',
|
|
30663
|
+
const ticket = _optionalChain([laneOf, 'call', _692 => _692(view, lifted.ticketId), 'optionalAccess', _693 => _693.tickets, 'access', _694 => _694.find, 'call', _695 => _695((t) => t.id === lifted.ticketId)]);
|
|
30661
30664
|
if (!ticket) return null;
|
|
30662
30665
|
const anchor = aimToChange(view, lifted.ticketId, lifted.aim) ? aimAnchor(view, lifted.ticketId, lifted.aim) : { ticketId: null, edge: null };
|
|
30663
30666
|
return { columnId: lifted.aim.columnId, ...anchor, ticket };
|
|
@@ -30679,7 +30682,7 @@ function DragBoard({
|
|
|
30679
30682
|
return { columnId: slot.columnId, ...anchor, ticket };
|
|
30680
30683
|
};
|
|
30681
30684
|
const aimAt = (source, targets) => {
|
|
30682
|
-
const next = readAim(source, _optionalChain([targets, 'access',
|
|
30685
|
+
const next = readAim(source, _optionalChain([targets, 'access', _696 => _696[0], 'optionalAccess', _697 => _697.data]));
|
|
30683
30686
|
setAim((prev) => isSameAim(prev, next) ? prev : next);
|
|
30684
30687
|
};
|
|
30685
30688
|
return _combine.combine.call(void 0,
|
|
@@ -30708,7 +30711,7 @@ function DragBoard({
|
|
|
30708
30711
|
setLanding(null);
|
|
30709
30712
|
dragGeometry.current = {
|
|
30710
30713
|
ticket,
|
|
30711
|
-
columnColor: _optionalChain([columnsRef, 'access',
|
|
30714
|
+
columnColor: _optionalChain([columnsRef, 'access', _698 => _698.current, 'access', _699 => _699.find, 'call', _700 => _700((c) => c.id === source.data.columnId), 'optionalAccess', _701 => _701.color]),
|
|
30712
30715
|
width: rect.width,
|
|
30713
30716
|
grabX: clientX - rect.left,
|
|
30714
30717
|
grabY: clientY - rect.top
|
|
@@ -30725,7 +30728,7 @@ function DragBoard({
|
|
|
30725
30728
|
setAim(null);
|
|
30726
30729
|
const change = resolveBoardDrop(columnsRef.current, {
|
|
30727
30730
|
source: source.data,
|
|
30728
|
-
target: _optionalChain([location, 'access',
|
|
30731
|
+
target: _optionalChain([location, 'access', _702 => _702.current, 'access', _703 => _703.dropTargets, 'access', _704 => _704[0], 'optionalAccess', _705 => _705.data])
|
|
30729
30732
|
});
|
|
30730
30733
|
if (!change) return;
|
|
30731
30734
|
setPendingMove({
|
|
@@ -30758,7 +30761,7 @@ function DragBoard({
|
|
|
30758
30761
|
return void 0;
|
|
30759
30762
|
}
|
|
30760
30763
|
const to = card.getBoundingClientRect();
|
|
30761
|
-
const lane = _optionalChain([nearestScrollableAncestor, 'call',
|
|
30764
|
+
const lane = _optionalChain([nearestScrollableAncestor, 'call', _706 => _706(card), 'optionalAccess', _707 => _707.getBoundingClientRect, 'call', _708 => _708()]);
|
|
30762
30765
|
if (lane && (to.top < lane.top || to.bottom > lane.bottom)) {
|
|
30763
30766
|
finish();
|
|
30764
30767
|
return void 0;
|
|
@@ -30817,8 +30820,8 @@ function DragBoard({
|
|
|
30817
30820
|
children: view.map((column, i) => {
|
|
30818
30821
|
const prev = view[i - 1];
|
|
30819
30822
|
const next = view[i + 1];
|
|
30820
|
-
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess',
|
|
30821
|
-
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess',
|
|
30823
|
+
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _709 => _709.system]));
|
|
30824
|
+
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _710 => _710.system]));
|
|
30822
30825
|
const showGap = i > 0 && !joinLeft;
|
|
30823
30826
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
30824
30827
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
@@ -30999,13 +31002,13 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30999
31002
|
const [flipTick, setFlipTick] = _react.useState.call(void 0, 0);
|
|
31000
31003
|
const flipTimer = _react.useRef.call(void 0, null);
|
|
31001
31004
|
const readItems = _react.useCallback.call(void 0,
|
|
31002
|
-
() => [..._nullishCoalesce(_optionalChain([listRef, 'access',
|
|
31005
|
+
() => [..._nullishCoalesce(_optionalChain([listRef, 'access', _711 => _711.current, 'optionalAccess', _712 => _712.querySelectorAll, 'call', _713 => _713(`[${SORTABLE_ITEM_ATTRIBUTE}]`)]), () => ( []))],
|
|
31003
31006
|
[]
|
|
31004
31007
|
);
|
|
31005
31008
|
const reorder = _react.useCallback.call(void 0,
|
|
31006
31009
|
(from, to) => {
|
|
31007
31010
|
if (from === to) return;
|
|
31008
|
-
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access',
|
|
31011
|
+
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access', _714 => _714.current, 'optionalCall', _715 => _715(from)]), () => ( "Item"));
|
|
31009
31012
|
setAnnouncement(`${label} moved to position ${to + 1} of ${readItems().length}.`);
|
|
31010
31013
|
onReorderRef.current(from, to);
|
|
31011
31014
|
},
|
|
@@ -31093,7 +31096,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
31093
31096
|
moving.push(item);
|
|
31094
31097
|
}
|
|
31095
31098
|
if (moving.length === 0) return;
|
|
31096
|
-
void _optionalChain([listRef, 'access',
|
|
31099
|
+
void _optionalChain([listRef, 'access', _716 => _716.current, 'optionalAccess', _717 => _717.offsetHeight]);
|
|
31097
31100
|
for (const item of moving) {
|
|
31098
31101
|
item.style.transition = `transform ${DROP_MS2}ms ${EASING}`;
|
|
31099
31102
|
item.style.transform = "";
|
|
@@ -31130,8 +31133,8 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
31130
31133
|
if (to < 0 || to >= count) return;
|
|
31131
31134
|
reorder(index, to);
|
|
31132
31135
|
requestAnimationFrame(() => {
|
|
31133
|
-
if (step === -1 && to === 0) _optionalChain([downRef, 'access',
|
|
31134
|
-
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access',
|
|
31136
|
+
if (step === -1 && to === 0) _optionalChain([downRef, 'access', _718 => _718.current, 'optionalAccess', _719 => _719.focus, 'call', _720 => _720()]);
|
|
31137
|
+
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access', _721 => _721.current, 'optionalAccess', _722 => _722.focus, 'call', _723 => _723()]);
|
|
31135
31138
|
});
|
|
31136
31139
|
};
|
|
31137
31140
|
const subject = _nullishCoalesce(label, () => ( "item"));
|
|
@@ -31179,7 +31182,7 @@ function useSortableItem() {
|
|
|
31179
31182
|
const [handle, setHandle] = _react.useState.call(void 0, null);
|
|
31180
31183
|
const [isDragging, setIsDragging] = _react.useState.call(void 0, false);
|
|
31181
31184
|
const itemRef = _react.useCallback.call(void 0, (node) => {
|
|
31182
|
-
_optionalChain([node, 'optionalAccess',
|
|
31185
|
+
_optionalChain([node, 'optionalAccess', _724 => _724.setAttribute, 'call', _725 => _725(SORTABLE_ITEM_ATTRIBUTE, "")]);
|
|
31183
31186
|
setItem(node);
|
|
31184
31187
|
}, []);
|
|
31185
31188
|
_react.useEffect.call(void 0, () => {
|
|
@@ -31209,7 +31212,7 @@ function useSortableItem() {
|
|
|
31209
31212
|
if (from < 0 || to < 0 || to >= items.length) return;
|
|
31210
31213
|
event.preventDefault();
|
|
31211
31214
|
reorder(from, to);
|
|
31212
|
-
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess',
|
|
31215
|
+
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess', _726 => _726.focus, 'call', _727 => _727()]));
|
|
31213
31216
|
},
|
|
31214
31217
|
[inert, readItems, reorder, handle]
|
|
31215
31218
|
);
|
|
@@ -31231,7 +31234,7 @@ function TicketStatusConfigList({
|
|
|
31231
31234
|
onReorder,
|
|
31232
31235
|
getItemLabel,
|
|
31233
31236
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xs)]", className),
|
|
31234
|
-
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall',
|
|
31237
|
+
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall', _728 => _728(index)]), children: (args) => renderRow(item, args) }, item.id))
|
|
31235
31238
|
}
|
|
31236
31239
|
);
|
|
31237
31240
|
}
|
|
@@ -31906,4 +31909,4 @@ function SortableRow({
|
|
|
31906
31909
|
|
|
31907
31910
|
|
|
31908
31911
|
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.AppStoreBadge = AppStoreBadge; exports.GooglePlayBadge = GooglePlayBadge; exports.StoreBadgeLinks = StoreBadgeLinks; 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.getCountryByName = getCountryByName; exports.getFlagFromCountryName = getFlagFromCountryName; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.COMPLIANCE_STANDARDS = COMPLIANCE_STANDARDS; exports.complianceStandardForName = complianceStandardForName; 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.ENTITY_QUOTES_TITLE = ENTITY_QUOTES_TITLE; 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.DataAttribution = DataAttribution; exports.ComplianceBadge = ComplianceBadge; exports.ComplianceLogo = ComplianceLogo; 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.PersonCell = PersonCell; exports.PeopleCell = PeopleCell; exports.TitleContentBlock = TitleContentBlock; exports.TouchFriendlyTooltip = TouchFriendlyTooltip; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DataTableSkeleton = DataTableSkeleton; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.PasswordInput = PasswordInput; exports.AccountDetailsFields = AccountDetailsFields; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.CompactAuthShell = CompactAuthShell; exports.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.NoAccountNotice = NoAccountNotice; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.SsoJoinForm = SsoJoinForm; 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.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.TICKET_APPROVAL_REQUEST_TYPE = TICKET_APPROVAL_REQUEST_TYPE; exports.MINGO_APPROVAL_REQUEST_TYPE = MINGO_APPROVAL_REQUEST_TYPE; exports.isApprovalNotificationType = isApprovalNotificationType; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.UnreadDot = UnreadDot; exports.UnreadCountBadge = UnreadCountBadge; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCardBody = TicketCardBody; exports.TicketCardView = TicketCardView; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableList = SortableList; exports.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.DataTableEmpty = DataTableEmpty; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableHeader = DataTableHeader; exports.DATA_TABLE_HEADER_LABEL_CLASS = DATA_TABLE_HEADER_LABEL_CLASS; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.formatTestRunDuration = formatTestRunDuration; exports.TestResultsSkeleton = TestResultsSkeleton; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketDetailSection = TicketDetailSection; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.FilterPillRow = FilterPillRow; exports.LazyMount = LazyMount; exports.IconTile = IconTile;
|
|
31909
|
-
//# sourceMappingURL=chunk-
|
|
31912
|
+
//# sourceMappingURL=chunk-VZMST7BD.cjs.map
|