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