@flamingo-stack/openframe-frontend-core 0.0.692 → 0.0.693-snapshot.20261002120603
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/chat-protocol/events.d.ts +3 -0
- package/dist/chat-protocol/events.d.ts.map +1 -1
- package/dist/chat-protocol/frames.d.ts +6 -0
- package/dist/chat-protocol/frames.d.ts.map +1 -1
- package/dist/chat-protocol/index.cjs +26 -1
- package/dist/chat-protocol/index.cjs.map +1 -1
- package/dist/chat-protocol/index.d.ts +1 -0
- package/dist/chat-protocol/index.d.ts.map +1 -1
- package/dist/chat-protocol/index.js +23 -2
- package/dist/chat-protocol/index.js.map +1 -1
- package/dist/chat-protocol/leading-frames.d.ts.map +1 -1
- package/dist/chat-protocol/progress.d.ts +35 -0
- package/dist/chat-protocol/progress.d.ts.map +1 -0
- package/dist/{chunk-GDZ7IC5B.js → chunk-234IIQIS.js} +2 -2
- package/dist/{chunk-KDCIYRZV.cjs → chunk-2EQED5SZ.cjs} +34 -34
- package/dist/{chunk-KDCIYRZV.cjs.map → chunk-2EQED5SZ.cjs.map} +1 -1
- package/dist/{chunk-JUNOY5HK.js → chunk-2HX6AADM.js} +15 -17
- package/dist/chunk-2HX6AADM.js.map +1 -0
- package/dist/{chunk-X5XFKI6N.js → chunk-33L2IR62.js} +3 -3
- package/dist/{chunk-A5NHAHV6.js → chunk-42LIHMRA.js} +4 -4
- package/dist/{chunk-MIZU2OTO.cjs → chunk-63BLVGXZ.cjs} +4 -4
- package/dist/{chunk-MIZU2OTO.cjs.map → chunk-63BLVGXZ.cjs.map} +1 -1
- package/dist/{chunk-TEIHEFXP.js → chunk-6ZSDKDOV.js} +8 -8
- package/dist/{chunk-UVUNBXS6.js → chunk-7IINE3MK.js} +48 -5
- package/dist/chunk-7IINE3MK.js.map +1 -0
- package/dist/{chunk-N3526CTH.cjs → chunk-7TO3CWPM.cjs} +3 -3
- package/dist/{chunk-N3526CTH.cjs.map → chunk-7TO3CWPM.cjs.map} +1 -1
- package/dist/{chunk-TXFGG47A.js → chunk-7VO6NC67.js} +4 -4
- package/dist/{chunk-SC44YJCF.js → chunk-A7RKT5SO.js} +2 -2
- package/dist/{chunk-Y7ZEVTLC.js → chunk-BW6YBATM.js} +141 -71
- package/dist/chunk-BW6YBATM.js.map +1 -0
- package/dist/{chunk-GZRU2A4L.cjs → chunk-C27F6GBZ.cjs} +790 -720
- package/dist/chunk-C27F6GBZ.cjs.map +1 -0
- package/dist/{chunk-DVSPRY2V.cjs → chunk-ESMDIJIN.cjs} +3 -3
- package/dist/{chunk-DVSPRY2V.cjs.map → chunk-ESMDIJIN.cjs.map} +1 -1
- package/dist/{chunk-EXWS2QSD.cjs → chunk-FNGX5WZM.cjs} +497 -474
- package/dist/chunk-FNGX5WZM.cjs.map +1 -0
- package/dist/{chunk-RK47E3PP.js → chunk-GWQCUC53.js} +4 -4
- package/dist/{chunk-AVAZ6BD6.js → chunk-HBMGSGZY.js} +6 -6
- package/dist/{chunk-HM7ZGABI.js → chunk-HEBLLLLD.js} +2 -2
- package/dist/{chunk-7BNWMOPM.cjs → chunk-HJZ3UTUE.cjs} +83 -83
- package/dist/{chunk-7BNWMOPM.cjs.map → chunk-HJZ3UTUE.cjs.map} +1 -1
- package/dist/{chunk-ATREVNIN.cjs → chunk-JB25CCOB.cjs} +47 -47
- package/dist/{chunk-ATREVNIN.cjs.map → chunk-JB25CCOB.cjs.map} +1 -1
- package/dist/{chunk-Q25VYAEL.cjs → chunk-JISKS7RJ.cjs} +26 -26
- package/dist/{chunk-Q25VYAEL.cjs.map → chunk-JISKS7RJ.cjs.map} +1 -1
- package/dist/{chunk-WTYQCT4A.cjs → chunk-K5GSLGV2.cjs} +18 -18
- package/dist/{chunk-WTYQCT4A.cjs.map → chunk-K5GSLGV2.cjs.map} +1 -1
- package/dist/{chunk-CG7OWW7X.cjs → chunk-K5K2FRQK.cjs} +19 -19
- package/dist/{chunk-CG7OWW7X.cjs.map → chunk-K5K2FRQK.cjs.map} +1 -1
- package/dist/{chunk-CKUPANVU.cjs → chunk-KBSL4FCL.cjs} +9 -9
- package/dist/{chunk-CKUPANVU.cjs.map → chunk-KBSL4FCL.cjs.map} +1 -1
- package/dist/{chunk-SDORFSFK.cjs → chunk-KDUDL4PB.cjs} +37 -37
- package/dist/{chunk-SDORFSFK.cjs.map → chunk-KDUDL4PB.cjs.map} +1 -1
- package/dist/{chunk-5XPK2QGU.cjs → chunk-KJHIFF6H.cjs} +16 -16
- package/dist/{chunk-5XPK2QGU.cjs.map → chunk-KJHIFF6H.cjs.map} +1 -1
- package/dist/{chunk-MCNQKS6I.js → chunk-LHYOESIQ.js} +4 -4
- package/dist/{chunk-DUURFYGS.cjs → chunk-LPFU6U7O.cjs} +5 -5
- package/dist/{chunk-DUURFYGS.cjs.map → chunk-LPFU6U7O.cjs.map} +1 -1
- package/dist/{chunk-ZAV2F4VX.js → chunk-N7HFUBOV.js} +3 -3
- package/dist/{chunk-53O6PQ3F.cjs → chunk-NDLFK57D.cjs} +7 -7
- package/dist/{chunk-53O6PQ3F.cjs.map → chunk-NDLFK57D.cjs.map} +1 -1
- package/dist/{chunk-Z7QCNCBN.js → chunk-O4RDXDVS.js} +12 -12
- package/dist/{chunk-F6LXGP6S.cjs → chunk-Q2B2MGFU.cjs} +7 -7
- package/dist/{chunk-F6LXGP6S.cjs.map → chunk-Q2B2MGFU.cjs.map} +1 -1
- package/dist/{chunk-CKO6NKNE.js → chunk-QP54LMXJ.js} +38 -15
- package/dist/{chunk-CKO6NKNE.js.map → chunk-QP54LMXJ.js.map} +1 -1
- package/dist/{chunk-QRA2JXE4.cjs → chunk-RE6PGOSS.cjs} +6 -8
- package/dist/chunk-RE6PGOSS.cjs.map +1 -0
- package/dist/{chunk-C2SVJVEB.js → chunk-SH5GPYSV.js} +2 -2
- package/dist/{chunk-KQZMM3QJ.cjs → chunk-SJFB4Z4L.cjs} +105 -105
- package/dist/{chunk-KQZMM3QJ.cjs.map → chunk-SJFB4Z4L.cjs.map} +1 -1
- package/dist/{chunk-7EPGJOKN.js → chunk-TA3JJFEO.js} +4 -4
- package/dist/{chunk-LYJJH4D6.js → chunk-TBR3UTFY.js} +6 -6
- package/dist/{chunk-USKQURNF.cjs → chunk-TG3VBMDG.cjs} +3 -3
- package/dist/{chunk-USKQURNF.cjs.map → chunk-TG3VBMDG.cjs.map} +1 -1
- package/dist/{chunk-IQTQIBZ3.js → chunk-TV5SZJ3N.js} +12 -12
- package/dist/{chunk-RLNNV46K.js → chunk-TXSQLORA.js} +6 -6
- package/dist/{chunk-LYQULSK4.js → chunk-UCXZRJIE.js} +7 -7
- package/dist/{chunk-I27PWVWE.cjs → chunk-WT4HURQN.cjs} +46 -3
- package/dist/chunk-WT4HURQN.cjs.map +1 -0
- package/dist/{chunk-XAOAYDGR.js → chunk-WZJWIZVH.js} +4 -4
- package/dist/{chunk-PKZGXRU2.js → chunk-XKNKGBUX.js} +10 -8
- package/dist/{chunk-PKZGXRU2.js.map → chunk-XKNKGBUX.js.map} +1 -1
- package/dist/{chunk-LNKLB7GM.cjs → chunk-XNTQHC26.cjs} +28 -28
- package/dist/{chunk-LNKLB7GM.cjs.map → chunk-XNTQHC26.cjs.map} +1 -1
- package/dist/{chunk-2YVTGPM7.js → chunk-XZILGCXJ.js} +2 -2
- package/dist/{chunk-DKJDO7YM.cjs → chunk-Y5AFMYYN.cjs} +46 -44
- package/dist/chunk-Y5AFMYYN.cjs.map +1 -0
- package/dist/{chunk-FTK3S57R.cjs → chunk-ZCPMWXIB.cjs} +25 -25
- package/dist/{chunk-FTK3S57R.cjs.map → chunk-ZCPMWXIB.cjs.map} +1 -1
- package/dist/{chunk-RTKF5AYA.cjs → chunk-ZUGAHQDB.cjs} +7 -7
- package/dist/{chunk-RTKF5AYA.cjs.map → chunk-ZUGAHQDB.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +21 -21
- package/dist/components/case-studies/index.js +8 -8
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/chat-typing-indicator.d.ts.map +1 -1
- package/dist/components/chat/cycling-phrase.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/index.js +4 -4
- package/dist/components/chat/stream/chat-dialog-store.d.ts.map +1 -1
- package/dist/components/chat/stream/chat-stream-reducer.d.ts +4 -0
- package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -1
- package/dist/components/chat/types/component.types.d.ts +2 -0
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/chat/types/unified-chat-state.types.d.ts +5 -0
- package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/contact/index.js +8 -8
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/docs/index.js +11 -11
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/embeds/index.js +8 -8
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/faq/index.js +9 -9
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/features/index.js +7 -7
- package/dist/components/help-center-pages/index.cjs +107 -107
- package/dist/components/help-center-pages/index.js +22 -22
- package/dist/components/index.cjs +69 -69
- package/dist/components/index.js +22 -22
- package/dist/components/meeting-scheduler/index.cjs +59 -59
- package/dist/components/meeting-scheduler/index.js +9 -9
- package/dist/components/navigation/app-layout-drawer.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/navigation/index.js +10 -10
- package/dist/components/onboarding-guides/index.cjs +12 -12
- package/dist/components/onboarding-guides/index.js +11 -11
- package/dist/components/related-content/index.cjs +6 -6
- package/dist/components/related-content/index.js +5 -5
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/tickets/index.js +12 -12
- package/dist/components/ui/index.cjs +8 -8
- package/dist/components/ui/index.js +7 -7
- package/dist/components/ui/markdown/engine.d.ts +0 -21
- package/dist/components/ui/markdown/engine.d.ts.map +1 -1
- package/dist/hooks/index.cjs +6 -6
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.js +5 -5
- package/dist/hooks/use-authed-asset-src.d.ts.map +1 -1
- package/dist/index.cjs +15 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -12
- package/dist/tailwind.config.cjs +14 -1
- package/dist/tailwind.config.cjs.map +1 -1
- package/dist/tailwind.config.js +14 -1
- package/dist/tailwind.config.js.map +1 -1
- package/eslint-config/README.md +13 -0
- package/eslint-config/base.js +15 -0
- package/eslint-config/webview-performance.js +75 -0
- package/package.json +1 -1
- package/src/chat-protocol/__tests__/progress.test.ts +39 -0
- package/src/chat-protocol/events.ts +3 -0
- package/src/chat-protocol/frames.ts +7 -0
- package/src/chat-protocol/index.ts +2 -0
- package/src/chat-protocol/leading-frames.ts +4 -1
- package/src/chat-protocol/progress.ts +55 -0
- package/src/components/chat/chat-message-enhanced.tsx +1 -1
- package/src/components/chat/chat-message-list.tsx +65 -15
- package/src/components/chat/chat-typing-indicator.tsx +18 -29
- package/src/components/chat/cycling-phrase.tsx +1 -11
- package/src/components/chat/embeddable-chat.tsx +14 -6
- package/src/components/chat/hooks/use-sse-chat-adapter.ts +2 -0
- package/src/components/chat/hooks/use-unified-chat.ts +1 -0
- package/src/components/chat/stream/__tests__/chat-stream-reducer-progress.test.ts +40 -0
- package/src/components/chat/stream/chat-dialog-store.ts +1 -0
- package/src/components/chat/stream/chat-stream-reducer.ts +13 -0
- package/src/components/chat/types/component.types.ts +2 -0
- package/src/components/chat/types/unified-chat-state.types.ts +6 -0
- package/src/components/navigation/app-layout-drawer.tsx +53 -7
- package/src/components/ui/__tests__/__snapshots__/markdown-parity.test.tsx.snap +29 -29
- package/src/components/ui/markdown/engine.tsx +56 -12
- package/src/hooks/use-authed-asset-src.ts +58 -6
- package/tailwind.config.ts +13 -0
- package/dist/chunk-DKJDO7YM.cjs.map +0 -1
- package/dist/chunk-EXWS2QSD.cjs.map +0 -1
- package/dist/chunk-GZRU2A4L.cjs.map +0 -1
- package/dist/chunk-I27PWVWE.cjs.map +0 -1
- package/dist/chunk-JUNOY5HK.js.map +0 -1
- package/dist/chunk-QRA2JXE4.cjs.map +0 -1
- package/dist/chunk-UVUNBXS6.js.map +0 -1
- package/dist/chunk-Y7ZEVTLC.js.map +0 -1
- /package/dist/{chunk-GDZ7IC5B.js.map → chunk-234IIQIS.js.map} +0 -0
- /package/dist/{chunk-X5XFKI6N.js.map → chunk-33L2IR62.js.map} +0 -0
- /package/dist/{chunk-A5NHAHV6.js.map → chunk-42LIHMRA.js.map} +0 -0
- /package/dist/{chunk-TEIHEFXP.js.map → chunk-6ZSDKDOV.js.map} +0 -0
- /package/dist/{chunk-TXFGG47A.js.map → chunk-7VO6NC67.js.map} +0 -0
- /package/dist/{chunk-SC44YJCF.js.map → chunk-A7RKT5SO.js.map} +0 -0
- /package/dist/{chunk-RK47E3PP.js.map → chunk-GWQCUC53.js.map} +0 -0
- /package/dist/{chunk-AVAZ6BD6.js.map → chunk-HBMGSGZY.js.map} +0 -0
- /package/dist/{chunk-HM7ZGABI.js.map → chunk-HEBLLLLD.js.map} +0 -0
- /package/dist/{chunk-MCNQKS6I.js.map → chunk-LHYOESIQ.js.map} +0 -0
- /package/dist/{chunk-ZAV2F4VX.js.map → chunk-N7HFUBOV.js.map} +0 -0
- /package/dist/{chunk-Z7QCNCBN.js.map → chunk-O4RDXDVS.js.map} +0 -0
- /package/dist/{chunk-C2SVJVEB.js.map → chunk-SH5GPYSV.js.map} +0 -0
- /package/dist/{chunk-7EPGJOKN.js.map → chunk-TA3JJFEO.js.map} +0 -0
- /package/dist/{chunk-LYJJH4D6.js.map → chunk-TBR3UTFY.js.map} +0 -0
- /package/dist/{chunk-IQTQIBZ3.js.map → chunk-TV5SZJ3N.js.map} +0 -0
- /package/dist/{chunk-RLNNV46K.js.map → chunk-TXSQLORA.js.map} +0 -0
- /package/dist/{chunk-LYQULSK4.js.map → chunk-UCXZRJIE.js.map} +0 -0
- /package/dist/{chunk-XAOAYDGR.js.map → chunk-WZJWIZVH.js.map} +0 -0
- /package/dist/{chunk-2YVTGPM7.js.map → chunk-XZILGCXJ.js.map} +0 -0
|
@@ -23,7 +23,7 @@ var _chunkTON3YCCWcjs = require('./chunk-TON3YCCW.cjs');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkXNTQHC26cjs = require('./chunk-XNTQHC26.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _chunkJU6SBF3Ccjs = require('./chunk-JU6SBF3C.cjs');
|
|
@@ -97,7 +97,7 @@ var _chunkPTFE5WKPcjs = require('./chunk-PTFE5WKP.cjs');
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
|
|
100
|
-
var
|
|
100
|
+
var _chunkC27F6GBZcjs = require('./chunk-C27F6GBZ.cjs');
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
|
|
@@ -113,8 +113,7 @@ var _chunkGZRU2A4Lcjs = require('./chunk-GZRU2A4L.cjs');
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
|
|
117
|
-
var _chunkQRA2JXE4cjs = require('./chunk-QRA2JXE4.cjs');
|
|
116
|
+
var _chunkRE6PGOSScjs = require('./chunk-RE6PGOSS.cjs');
|
|
118
117
|
|
|
119
118
|
|
|
120
119
|
|
|
@@ -255,7 +254,7 @@ var _chunkXQFFGR6Ucjs = require('./chunk-XQFFGR6U.cjs');
|
|
|
255
254
|
|
|
256
255
|
|
|
257
256
|
|
|
258
|
-
var
|
|
257
|
+
var _chunkNDLFK57Dcjs = require('./chunk-NDLFK57D.cjs');
|
|
259
258
|
|
|
260
259
|
|
|
261
260
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -265,7 +264,8 @@ var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
|
265
264
|
|
|
266
265
|
|
|
267
266
|
|
|
268
|
-
|
|
267
|
+
|
|
268
|
+
var _chunkWT4HURQNcjs = require('./chunk-WT4HURQN.cjs');
|
|
269
269
|
|
|
270
270
|
|
|
271
271
|
var _chunk63QUMV72cjs = require('./chunk-63QUMV72.cjs');
|
|
@@ -372,7 +372,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
372
372
|
var useTheme = _nextthemes.useTheme;
|
|
373
373
|
function useThemeToggle() {
|
|
374
374
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
375
|
-
const mounted =
|
|
375
|
+
const mounted = _chunkC27F6GBZcjs.useIsHydrated.call(void 0, );
|
|
376
376
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
377
377
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
378
378
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -646,10 +646,10 @@ function TruncateText({
|
|
|
646
646
|
as = "div"
|
|
647
647
|
}) {
|
|
648
648
|
const isMultiLine = lines > 1;
|
|
649
|
-
const { ref, isTruncated } =
|
|
649
|
+
const { ref, isTruncated } = _chunkRE6PGOSScjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
650
650
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
651
651
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
652
|
-
|
|
652
|
+
_chunkC27F6GBZcjs.FloatingTooltip,
|
|
653
653
|
{
|
|
654
654
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
655
655
|
side,
|
|
@@ -734,7 +734,7 @@ function AutocompleteInner(props, ref) {
|
|
|
734
734
|
};
|
|
735
735
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
736
736
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
737
|
-
const keyboardPadding =
|
|
737
|
+
const keyboardPadding = _chunkXNTQHC26cjs.useKeyboardCollisionPadding.call(void 0, );
|
|
738
738
|
const containerRef = _react.useRef.call(void 0, null);
|
|
739
739
|
const hiddenTagsPopupRef = _react.useRef.call(void 0, null);
|
|
740
740
|
const isInvalid = invalid || !!error;
|
|
@@ -752,7 +752,7 @@ function AutocompleteInner(props, ref) {
|
|
|
752
752
|
textMeasureRef,
|
|
753
753
|
badgeRef,
|
|
754
754
|
inputRef
|
|
755
|
-
} =
|
|
755
|
+
} = _chunkXNTQHC26cjs.useAutoLimitTags.call(void 0, {
|
|
756
756
|
count: multiple ? selectedOptions.length : 0,
|
|
757
757
|
limitTags: multiple ? limitTagsProp : 0,
|
|
758
758
|
placeholder: inputPlaceholder
|
|
@@ -956,7 +956,7 @@ function AutocompleteInner(props, ref) {
|
|
|
956
956
|
),
|
|
957
957
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2", children: [
|
|
958
958
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
959
|
-
|
|
959
|
+
_chunkC27F6GBZcjs.Tag,
|
|
960
960
|
{
|
|
961
961
|
variant: "outline",
|
|
962
962
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1178,7 +1178,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1178
1178
|
"aria-hidden": "true",
|
|
1179
1179
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
1180
1180
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1181
|
-
|
|
1181
|
+
_chunkC27F6GBZcjs.Tag,
|
|
1182
1182
|
{
|
|
1183
1183
|
variant: "outline",
|
|
1184
1184
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1496,7 +1496,7 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
1496
1496
|
|
|
1497
1497
|
// src/components/ui/date-picker.tsx
|
|
1498
1498
|
|
|
1499
|
-
var defaultFormatDate = (date) =>
|
|
1499
|
+
var defaultFormatDate = (date) => _chunkNDLFK57Dcjs.formatDateWithTimezone.call(void 0, date, _chunkNDLFK57Dcjs.VIEWER_TIMEZONE, "numeric");
|
|
1500
1500
|
var formatDateRange = (range, formatFn) => {
|
|
1501
1501
|
if (!_optionalChain([range, 'optionalAccess', _24 => _24.from])) return "";
|
|
1502
1502
|
if (!range.to) return formatFn(range.from);
|
|
@@ -1532,7 +1532,7 @@ function DatePickerCalendar({
|
|
|
1532
1532
|
onMonthChange
|
|
1533
1533
|
}) {
|
|
1534
1534
|
const today = /* @__PURE__ */ new Date();
|
|
1535
|
-
const isMdUp = _nullishCoalesce(
|
|
1535
|
+
const isMdUp = _nullishCoalesce(_chunkRE6PGOSScjs.useMdUp.call(void 0, ), () => ( true));
|
|
1536
1536
|
const monthsToShow = isMdUp ? numberOfMonths : 1;
|
|
1537
1537
|
const [draftRange, setDraftRange] = _react.useState.call(void 0,
|
|
1538
1538
|
mode === "range" ? selected : void 0
|
|
@@ -1697,7 +1697,7 @@ function DatePickerCalendar({
|
|
|
1697
1697
|
};
|
|
1698
1698
|
const handlePreviousMonth = () => shiftMonth(-1);
|
|
1699
1699
|
const handleNextMonth = () => shiftMonth(1);
|
|
1700
|
-
const formatMonthYear = (date) =>
|
|
1700
|
+
const formatMonthYear = (date) => _chunkNDLFK57Dcjs.formatDateWithTimezone.call(void 0, date, _chunkNDLFK57Dcjs.VIEWER_TIMEZONE, "monthYear");
|
|
1701
1701
|
const getSecondMonth = (date) => {
|
|
1702
1702
|
const next = new Date(date);
|
|
1703
1703
|
next.setMonth(next.getMonth() + 1);
|
|
@@ -2594,7 +2594,7 @@ function Value2({ value, depth }) {
|
|
|
2594
2594
|
}
|
|
2595
2595
|
if (typeof value === "string") {
|
|
2596
2596
|
if (ISO_DATE.test(value)) {
|
|
2597
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2597
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkC27F6GBZcjs.formatRelativeTime.call(void 0, value) });
|
|
2598
2598
|
}
|
|
2599
2599
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2600
2600
|
}
|
|
@@ -2660,7 +2660,7 @@ var ProgressBar = ({
|
|
|
2660
2660
|
mobileHeight = 8,
|
|
2661
2661
|
inverted = false
|
|
2662
2662
|
}) => {
|
|
2663
|
-
const isMdUp = _nullishCoalesce(
|
|
2663
|
+
const isMdUp = _nullishCoalesce(_chunkRE6PGOSScjs.useMdUp.call(void 0, ), () => ( true));
|
|
2664
2664
|
const effectiveSegmentWidth = isMdUp ? segmentWidth : mobileSegmentWidth;
|
|
2665
2665
|
const effectiveHeight = isMdUp ? height : mobileHeight;
|
|
2666
2666
|
const containerRef = _react.useRef.call(void 0, null);
|
|
@@ -2776,7 +2776,7 @@ function InfoCardFooter({ footer }) {
|
|
|
2776
2776
|
] });
|
|
2777
2777
|
}
|
|
2778
2778
|
function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLabel }) {
|
|
2779
|
-
const { copy, copied } =
|
|
2779
|
+
const { copy, copied } = _chunkXNTQHC26cjs.useCopyToClipboard.call(void 0, );
|
|
2780
2780
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 w-full items-center gap-[var(--spacing-system-xs)] self-stretch", children: [
|
|
2781
2781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-primary text-h4", children: showLabel ? label : "" }),
|
|
2782
2782
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-px flex-1 bg-ods-divider" }),
|
|
@@ -2866,7 +2866,7 @@ function SearchableSelect({
|
|
|
2866
2866
|
}) {
|
|
2867
2867
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
2868
2868
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
2869
|
-
const keyboardPadding =
|
|
2869
|
+
const keyboardPadding = _chunkXNTQHC26cjs.useKeyboardCollisionPadding.call(void 0, );
|
|
2870
2870
|
if (!isOpen && search !== "") setSearch("");
|
|
2871
2871
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
2872
2872
|
const q = search.trim().toLowerCase();
|
|
@@ -2989,7 +2989,7 @@ function CompactAssigneeDropdown({
|
|
|
2989
2989
|
value: o.value,
|
|
2990
2990
|
label: o.label,
|
|
2991
2991
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2992
|
-
|
|
2992
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
2993
2993
|
{
|
|
2994
2994
|
src: o.imageUrl,
|
|
2995
2995
|
alt: o.label,
|
|
@@ -3024,7 +3024,7 @@ function CompactAssigneeDropdown({
|
|
|
3024
3024
|
className
|
|
3025
3025
|
),
|
|
3026
3026
|
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeletedUserAvatar, { size: "sm", accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}` }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3027
|
-
|
|
3027
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
3028
3028
|
{
|
|
3029
3029
|
src: currentAssignee.avatarSrc,
|
|
3030
3030
|
alt: currentAssignee.name,
|
|
@@ -3072,7 +3072,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3072
3072
|
const opt = option;
|
|
3073
3073
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-sf)]", children: [
|
|
3074
3074
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3075
|
-
|
|
3075
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
3076
3076
|
{
|
|
3077
3077
|
src: opt.imageUrl,
|
|
3078
3078
|
alt: opt.label,
|
|
@@ -3107,7 +3107,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3107
3107
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3108
3108
|
}
|
|
3109
3109
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3110
|
-
|
|
3110
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
3111
3111
|
{
|
|
3112
3112
|
src: currentAssignee.avatarSrc,
|
|
3113
3113
|
alt: currentAssignee.name,
|
|
@@ -3132,7 +3132,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3132
3132
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3133
3133
|
}
|
|
3134
3134
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3135
|
-
|
|
3135
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
3136
3136
|
{
|
|
3137
3137
|
src: currentAssignee.avatarSrc,
|
|
3138
3138
|
alt: currentAssignee.name,
|
|
@@ -3206,7 +3206,7 @@ function TextValue({ value }) {
|
|
|
3206
3206
|
}
|
|
3207
3207
|
) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick, title: text, className: interactiveClass, children: text }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: text, children: text }),
|
|
3208
3208
|
hasImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3209
|
-
|
|
3209
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
3210
3210
|
{
|
|
3211
3211
|
src: imageSrc,
|
|
3212
3212
|
alt: text,
|
|
@@ -3226,7 +3226,7 @@ function RowValue({ value }) {
|
|
|
3226
3226
|
}
|
|
3227
3227
|
case "status": {
|
|
3228
3228
|
const { type: _type, ...props } = value;
|
|
3229
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3229
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TicketStatusTag, { ...props });
|
|
3230
3230
|
}
|
|
3231
3231
|
case "custom":
|
|
3232
3232
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -3742,7 +3742,7 @@ function TagSelectDropdown({
|
|
|
3742
3742
|
}) {
|
|
3743
3743
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
3744
3744
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
3745
|
-
const keyboardPadding =
|
|
3745
|
+
const keyboardPadding = _chunkXNTQHC26cjs.useKeyboardCollisionPadding.call(void 0, );
|
|
3746
3746
|
if (!isOpen && search !== "") setSearch("");
|
|
3747
3747
|
const query = search.trim();
|
|
3748
3748
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
@@ -4034,7 +4034,7 @@ function TagsManager({
|
|
|
4034
4034
|
}) {
|
|
4035
4035
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
4036
4036
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
4037
|
-
const keyboardPadding =
|
|
4037
|
+
const keyboardPadding = _chunkXNTQHC26cjs.useKeyboardCollisionPadding.call(void 0, );
|
|
4038
4038
|
const [editingId, setEditingId] = _react.useState.call(void 0, null);
|
|
4039
4039
|
const [editingName, setEditingName] = _react.useState.call(void 0, "");
|
|
4040
4040
|
const editInputRef = _react.useRef.call(void 0, null);
|
|
@@ -4137,7 +4137,7 @@ function TagsManager({
|
|
|
4137
4137
|
}
|
|
4138
4138
|
),
|
|
4139
4139
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4140
|
-
|
|
4140
|
+
_chunkC27F6GBZcjs.Tag,
|
|
4141
4141
|
{
|
|
4142
4142
|
label: tag.name,
|
|
4143
4143
|
variant: "outline",
|
|
@@ -4682,10 +4682,10 @@ function useConfirm() {
|
|
|
4682
4682
|
},
|
|
4683
4683
|
[]
|
|
4684
4684
|
);
|
|
4685
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4686
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4687
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4688
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4685
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4686
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalTitle, { children: pending.title }) }),
|
|
4687
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4688
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.ModalFooter, { children: [
|
|
4689
4689
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4690
4690
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4691
4691
|
] })
|
|
@@ -4748,9 +4748,9 @@ function AdminFormModal({
|
|
|
4748
4748
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4749
4749
|
});
|
|
4750
4750
|
if (!isOpen) return null;
|
|
4751
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4752
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4753
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4751
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4752
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.ModalHeader, { children: [
|
|
4753
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalTitle, { children: title }),
|
|
4754
4754
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4755
4755
|
] }),
|
|
4756
4756
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4775,7 +4775,7 @@ function AdminFormModal({
|
|
|
4775
4775
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4776
4776
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4777
4777
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4778
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4778
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4779
4779
|
"div",
|
|
4780
4780
|
{
|
|
4781
4781
|
"aria-busy": "true",
|
|
@@ -4796,12 +4796,12 @@ function AdminFormModal({
|
|
|
4796
4796
|
]
|
|
4797
4797
|
}
|
|
4798
4798
|
) })
|
|
4799
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4799
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalContent, { className: contentClassName, children }),
|
|
4800
4800
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4801
4801
|
]
|
|
4802
4802
|
}
|
|
4803
4803
|
),
|
|
4804
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4804
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4805
4805
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4806
4806
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4807
4807
|
footerStatus,
|
|
@@ -5479,7 +5479,7 @@ var TabBar = _react.memo.call(void 0, function TabBarImpl({
|
|
|
5479
5479
|
// as tall as its neighbours at every breakpoint. No hover shade:
|
|
5480
5480
|
// the tab is the target, and the cursor passes through to it.
|
|
5481
5481
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5482
|
-
|
|
5482
|
+
_chunkC27F6GBZcjs.Tag,
|
|
5483
5483
|
{
|
|
5484
5484
|
as: "span",
|
|
5485
5485
|
"aria-hidden": true,
|
|
@@ -5689,7 +5689,7 @@ function FadePreview({
|
|
|
5689
5689
|
setCollapsedFor(resetKey);
|
|
5690
5690
|
setExpanded(false);
|
|
5691
5691
|
}
|
|
5692
|
-
|
|
5692
|
+
_chunkWT4HURQNcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
5693
5693
|
const el = contentRef.current;
|
|
5694
5694
|
if (!el) return;
|
|
5695
5695
|
if (!fixedHeight) {
|
|
@@ -6106,9 +6106,9 @@ var KIND_HEADING = {
|
|
|
6106
6106
|
design: "Claude Design"
|
|
6107
6107
|
};
|
|
6108
6108
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
6109
|
-
const { src: mirrorSrc, status } =
|
|
6109
|
+
const { src: mirrorSrc, status } = _chunkXNTQHC26cjs.useClaudeMirrorSrc.call(void 0, url);
|
|
6110
6110
|
const isProbing = status === "probing";
|
|
6111
|
-
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => (
|
|
6111
|
+
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunkXNTQHC26cjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
6112
6112
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6113
6113
|
EmbedViewerFrame,
|
|
6114
6114
|
{
|
|
@@ -6183,12 +6183,12 @@ function SlidesViewToggle({ view, onChange }) {
|
|
|
6183
6183
|
}
|
|
6184
6184
|
function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
6185
6185
|
const [view, setView] = _react.useState.call(void 0, "present");
|
|
6186
|
-
const isSlides = url ?
|
|
6187
|
-
const embedSrc = url ?
|
|
6186
|
+
const isSlides = url ? _chunkXNTQHC26cjs.isFigmaSlidesUrl.call(void 0, url) : false;
|
|
6187
|
+
const embedSrc = url ? _chunkXNTQHC26cjs.toFigmaEmbedUrl.call(void 0, url, { slidesView: view }) : null;
|
|
6188
6188
|
const originalUrl = (() => {
|
|
6189
6189
|
if (!url) return null;
|
|
6190
6190
|
try {
|
|
6191
|
-
const parsed = new URL(
|
|
6191
|
+
const parsed = new URL(_chunkXNTQHC26cjs.toFigmaOriginalUrl.call(void 0, url));
|
|
6192
6192
|
const host = parsed.hostname.toLowerCase();
|
|
6193
6193
|
const okHost = host === "figma.com" || host.endsWith(".figma.com");
|
|
6194
6194
|
const okProtocol = parsed.protocol === "https:" || parsed.protocol === "http:";
|
|
@@ -6573,7 +6573,7 @@ var OGLinkPreview = ({
|
|
|
6573
6573
|
const hasImage = !!resolvedImageUrl;
|
|
6574
6574
|
const isCuratedImage = _optionalChain([resolvedImage, 'optionalAccess', _132 => _132.source]) === "curated";
|
|
6575
6575
|
const isPlaceholder = _optionalChain([resolvedImage, 'optionalAccess', _133 => _133.source]) === "placeholder";
|
|
6576
|
-
const bgColor =
|
|
6576
|
+
const bgColor = _chunkWT4HURQNcjs.useImageEdgeColor.call(void 0, _nullishCoalesce(resolvedImageUrl, () => ( null)), "var(--color-bg-surface)");
|
|
6577
6577
|
const renderSkeleton = () => isCompact ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "my-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[120px] flex-row overflow-hidden rounded-lg border border-ods-border bg-ods-card", children: [
|
|
6578
6578
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full w-[200px] flex-shrink-0 animate-pulse bg-ods-border" }),
|
|
6579
6579
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col justify-center p-3", children: [
|
|
@@ -6962,7 +6962,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6962
6962
|
};
|
|
6963
6963
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6964
6964
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6965
|
-
|
|
6965
|
+
_chunkC27F6GBZcjs.Video,
|
|
6966
6966
|
{
|
|
6967
6967
|
url: item.src,
|
|
6968
6968
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7394,7 +7394,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
|
|
|
7394
7394
|
width: m.width,
|
|
7395
7395
|
height: m.height
|
|
7396
7396
|
}));
|
|
7397
|
-
const formatNumber2 =
|
|
7397
|
+
const formatNumber2 = _chunkNDLFK57Dcjs.formatLargeNumber;
|
|
7398
7398
|
const truncateText = (text, maxLength = 600) => {
|
|
7399
7399
|
if (text.length <= maxLength) return text;
|
|
7400
7400
|
return text.slice(0, maxLength) + "...";
|
|
@@ -7686,7 +7686,7 @@ function buildRichEmbedOverrides({
|
|
|
7686
7686
|
ogEndpointPath,
|
|
7687
7687
|
textSizes
|
|
7688
7688
|
}) {
|
|
7689
|
-
const standard =
|
|
7689
|
+
const standard = _chunkC27F6GBZcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7690
7690
|
return {
|
|
7691
7691
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7692
7692
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7696,7 +7696,7 @@ function buildRichEmbedOverrides({
|
|
|
7696
7696
|
const language = match ? match[1] : "";
|
|
7697
7697
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7698
7698
|
if (language === "youtube-embed") {
|
|
7699
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7699
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7700
7700
|
}
|
|
7701
7701
|
if (language === "reddit-embed") {
|
|
7702
7702
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7737,7 +7737,7 @@ function buildRichEmbedOverrides({
|
|
|
7737
7737
|
"data-figma-url": figmaUrl
|
|
7738
7738
|
} = divProps;
|
|
7739
7739
|
if (className === "youtube-embed" && videoId) {
|
|
7740
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7740
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Video, { kind: "youtube", url: videoId });
|
|
7741
7741
|
}
|
|
7742
7742
|
if (className === "reddit-embed" && postUrl) {
|
|
7743
7743
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7822,14 +7822,14 @@ function buildRichEmbedOverrides({
|
|
|
7822
7822
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7823
7823
|
// elsewhere). Guard against empty `![]()`.
|
|
7824
7824
|
img: ({ src, alt }) => {
|
|
7825
|
-
if (!
|
|
7825
|
+
if (!_chunkC27F6GBZcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7826
7826
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7827
7827
|
},
|
|
7828
7828
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7829
7829
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7830
7830
|
video: ({ src, poster, className }) => {
|
|
7831
|
-
if (!
|
|
7832
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7831
|
+
if (!_chunkC27F6GBZcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7832
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7833
7833
|
}
|
|
7834
7834
|
};
|
|
7835
7835
|
}
|
|
@@ -8070,13 +8070,13 @@ var RichMarkdownInner = ({
|
|
|
8070
8070
|
},
|
|
8071
8071
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8072
8072
|
);
|
|
8073
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8073
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkC27F6GBZcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8074
8074
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8075
8075
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8076
8076
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8077
8077
|
);
|
|
8078
8078
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8079
|
-
|
|
8079
|
+
_chunkC27F6GBZcjs.MarkdownEngine,
|
|
8080
8080
|
{
|
|
8081
8081
|
content,
|
|
8082
8082
|
className,
|
|
@@ -8098,7 +8098,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8098
8098
|
className = "",
|
|
8099
8099
|
sectionIds,
|
|
8100
8100
|
onInternalLinkClick,
|
|
8101
|
-
brokenLinks =
|
|
8101
|
+
brokenLinks = _chunkC27F6GBZcjs.NO_BROKEN_LINKS,
|
|
8102
8102
|
currentPath,
|
|
8103
8103
|
resolveSource = "openframe-docs",
|
|
8104
8104
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9063,7 +9063,7 @@ function FilterModal({
|
|
|
9063
9063
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _167 => _167.defaultSort]), () => ( "desc"));
|
|
9064
9064
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _168 => _168.sort]), () => ( dateDefaultSort)));
|
|
9065
9065
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _169 => _169.range]));
|
|
9066
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
9066
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkC27F6GBZcjs.useScrollFade.call(void 0, );
|
|
9067
9067
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
9068
9068
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
9069
9069
|
_react.useEffect.call(void 0, () => {
|
|
@@ -9108,10 +9108,10 @@ function FilterModal({
|
|
|
9108
9108
|
const hasFilterGroups = filterGroups.length > 0;
|
|
9109
9109
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
9110
9110
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
9111
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9112
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9111
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.Modal, { isOpen, onClose, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
9112
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalTitle, { children: title }) }),
|
|
9113
9113
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9114
|
-
|
|
9114
|
+
_chunkC27F6GBZcjs.ModalContent,
|
|
9115
9115
|
{
|
|
9116
9116
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
9117
9117
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -9203,12 +9203,12 @@ function FilterModal({
|
|
|
9203
9203
|
] })
|
|
9204
9204
|
}
|
|
9205
9205
|
),
|
|
9206
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9207
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9206
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
9207
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
9208
9208
|
] })
|
|
9209
9209
|
}
|
|
9210
9210
|
),
|
|
9211
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9211
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.ModalFooter, { children: [
|
|
9212
9212
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
9213
9213
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
9214
9214
|
] })
|
|
@@ -9252,9 +9252,9 @@ function actionToMenuItems(action, idx) {
|
|
|
9252
9252
|
function renderActionButton(action, opts = {}) {
|
|
9253
9253
|
const button = renderRawActionButton(action, opts);
|
|
9254
9254
|
if (!action.tooltip) return button;
|
|
9255
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9256
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9257
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9255
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.Tooltip, { children: [
|
|
9256
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
9257
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipContent, { children: action.tooltip })
|
|
9258
9258
|
] }) });
|
|
9259
9259
|
}
|
|
9260
9260
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -9278,7 +9278,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
9278
9278
|
}
|
|
9279
9279
|
if (action.submenu && action.submenu.length > 0) {
|
|
9280
9280
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9281
|
-
|
|
9281
|
+
_chunkC27F6GBZcjs.ActionsMenuDropdown,
|
|
9282
9282
|
{
|
|
9283
9283
|
groups: [{ items: action.submenu }],
|
|
9284
9284
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9413,10 +9413,10 @@ function IconButtonsVariant({
|
|
|
9413
9413
|
selector,
|
|
9414
9414
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9415
9415
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
9416
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9416
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
9417
9417
|
] })
|
|
9418
9418
|
] }),
|
|
9419
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9419
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9420
9420
|
] });
|
|
9421
9421
|
}
|
|
9422
9422
|
function PrimaryButtonsVariant({
|
|
@@ -9454,7 +9454,7 @@ function MenuPrimaryVariant({
|
|
|
9454
9454
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9455
9455
|
selector,
|
|
9456
9456
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9457
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9457
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9458
9458
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
9459
9459
|
] })
|
|
9460
9460
|
] }),
|
|
@@ -9462,7 +9462,7 @@ function MenuPrimaryVariant({
|
|
|
9462
9462
|
// The selector rides into the menu as its header row: on mobile the
|
|
9463
9463
|
// title row has no room for it, and hiding it entirely (what
|
|
9464
9464
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9465
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9465
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9466
9466
|
) : null })
|
|
9467
9467
|
] });
|
|
9468
9468
|
}
|
|
@@ -9670,7 +9670,7 @@ function ListPageLayout({
|
|
|
9670
9670
|
}) {
|
|
9671
9671
|
const [mobileFilterOpen, setMobileFilterOpen] = _react.useState.call(void 0, false);
|
|
9672
9672
|
const [localSearchValue, setLocalSearchValue] = _react.useState.call(void 0, searchValue);
|
|
9673
|
-
const debouncedSearchValue =
|
|
9673
|
+
const debouncedSearchValue = _chunkRE6PGOSScjs.useDebounce.call(void 0, localSearchValue, 500);
|
|
9674
9674
|
const [syncedSearchValue, setSyncedSearchValue] = _react.useState.call(void 0, searchValue);
|
|
9675
9675
|
if (syncedSearchValue !== searchValue) {
|
|
9676
9676
|
setSyncedSearchValue(searchValue);
|
|
@@ -9753,11 +9753,11 @@ function ListPageLayout({
|
|
|
9753
9753
|
|
|
9754
9754
|
var ENTITY_IMAGE_SIZE = "size-[52px] md:size-[60px]";
|
|
9755
9755
|
function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
9756
|
-
const resolvedSrc =
|
|
9756
|
+
const resolvedSrc = _chunkWT4HURQNcjs.useAuthedImageSrc.call(void 0, src);
|
|
9757
9757
|
const [failedSrc, setFailedSrc] = _react2.default.useState(null);
|
|
9758
9758
|
const imageFailed = resolvedSrc !== void 0 && failedSrc === resolvedSrc;
|
|
9759
9759
|
const showFallback = imageFailed || !resolvedSrc;
|
|
9760
|
-
const initials =
|
|
9760
|
+
const initials = _chunkNDLFK57Dcjs.personInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
9761
9761
|
if (showFallback) {
|
|
9762
9762
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9763
9763
|
"div",
|
|
@@ -9830,8 +9830,8 @@ function TitleBlock({
|
|
|
9830
9830
|
const titleClass = titleSize === "h1" ? "text-h1" : "text-h2";
|
|
9831
9831
|
const titleOverflowClass = titleWrap ? "break-words" : "truncate";
|
|
9832
9832
|
const skeletonSize = TITLE_SKELETON_SIZE[titleSize];
|
|
9833
|
-
const { ref: titleRef, isTruncated: titleTruncated } =
|
|
9834
|
-
const { ref: subtitleRef, isTruncated: subtitleTruncated } =
|
|
9833
|
+
const { ref: titleRef, isTruncated: titleTruncated } = _chunkRE6PGOSScjs.useIsTruncated.call(void 0, loading ? null : title);
|
|
9834
|
+
const { ref: subtitleRef, isTruncated: subtitleTruncated } = _chunkRE6PGOSScjs.useIsTruncated.call(void 0,
|
|
9835
9835
|
loading ? null : subtitle
|
|
9836
9836
|
);
|
|
9837
9837
|
const titleNode = loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TitleTextSkeleton, { widthClass: skeletonSize.width, heightClass: skeletonSize.height }) : title;
|
|
@@ -9868,7 +9868,7 @@ function TitleBlock({
|
|
|
9868
9868
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
9869
9869
|
(loading || title) && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9870
9870
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9871
|
-
|
|
9871
|
+
_chunkC27F6GBZcjs.FloatingTooltip,
|
|
9872
9872
|
{
|
|
9873
9873
|
content: title,
|
|
9874
9874
|
side: "bottom",
|
|
@@ -9885,12 +9885,12 @@ function TitleBlock({
|
|
|
9885
9885
|
}
|
|
9886
9886
|
),
|
|
9887
9887
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9888
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9888
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunkX7CEWD6Vcjs.cn.call(void 0, titleClass, "text-ods-text-primary", titleOverflowClass), children: titleNode }) })),
|
|
9889
9889
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
9890
9890
|
empty `p` collapses to zero height (its only content would be
|
|
9891
9891
|
collapsible whitespace), which is exactly the shift that mode
|
|
9892
9892
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
9893
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9893
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9894
9894
|
"p",
|
|
9895
9895
|
{
|
|
9896
9896
|
ref: subtitleRef,
|
|
@@ -9901,7 +9901,7 @@ function TitleBlock({
|
|
|
9901
9901
|
) })
|
|
9902
9902
|
] })
|
|
9903
9903
|
] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, triggerClassName: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunkX7CEWD6Vcjs.cn.call(void 0, titleClass, "min-w-0 text-ods-text-primary", titleOverflowClass), children: title }) }),
|
|
9905
9905
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9906
9906
|
] }) : (
|
|
9907
9907
|
/* This branch never had the single-line clamp, so text already
|
|
@@ -10361,7 +10361,7 @@ function toToolLabel(input) {
|
|
|
10361
10361
|
if (!input) return "";
|
|
10362
10362
|
const toolType = normalizeToolType(input);
|
|
10363
10363
|
if (toolType) {
|
|
10364
|
-
return
|
|
10364
|
+
return _chunkRE6PGOSScjs.toolLabels[toolType];
|
|
10365
10365
|
}
|
|
10366
10366
|
return input;
|
|
10367
10367
|
}
|
|
@@ -10372,7 +10372,7 @@ function getToolTypeAliases(toolType) {
|
|
|
10372
10372
|
return Object.entries(toolAliasMap).filter(([_, value]) => value === toolType).map(([key]) => key);
|
|
10373
10373
|
}
|
|
10374
10374
|
function getToolLabel(toolType) {
|
|
10375
|
-
return
|
|
10375
|
+
return _chunkRE6PGOSScjs.toolLabels[toolType] || toolType;
|
|
10376
10376
|
}
|
|
10377
10377
|
|
|
10378
10378
|
// src/types/shell.types.ts
|
|
@@ -10813,7 +10813,7 @@ function canUseCookies() {
|
|
|
10813
10813
|
return document.URL.startsWith("http:") || document.URL.startsWith("https:");
|
|
10814
10814
|
}
|
|
10815
10815
|
function fallbackStore(name) {
|
|
10816
|
-
return
|
|
10816
|
+
return _chunkWT4HURQNcjs.createLocalStorageAdapter.call(void 0, {
|
|
10817
10817
|
key: name,
|
|
10818
10818
|
logTag: "[dismiss-cookie]",
|
|
10819
10819
|
validate: (parsed) => typeof parsed === "string"
|
|
@@ -10922,7 +10922,7 @@ var PRESENCE_RETRY_MIN_INTERVAL_MS = 3e4;
|
|
|
10922
10922
|
function createSseSubscription(options) {
|
|
10923
10923
|
const {
|
|
10924
10924
|
url,
|
|
10925
|
-
fetchImpl =
|
|
10925
|
+
fetchImpl = _chunkWT4HURQNcjs.embedAuthedFetch,
|
|
10926
10926
|
onEvent,
|
|
10927
10927
|
onStatusChange,
|
|
10928
10928
|
onConnectedChange,
|
|
@@ -11211,7 +11211,7 @@ function createSseSubscription(options) {
|
|
|
11211
11211
|
const onOnline = () => {
|
|
11212
11212
|
if (!suspended) doReconnect();
|
|
11213
11213
|
};
|
|
11214
|
-
const unsubscribeCredentials = pauseWhenHidden && fetchImpl ===
|
|
11214
|
+
const unsubscribeCredentials = pauseWhenHidden && fetchImpl === _chunkWT4HURQNcjs.embedAuthedFetch ? _chunkWT4HURQNcjs.subscribeEmbedCredentialChange.call(void 0, () => {
|
|
11215
11215
|
if (awaitingAuth) doReconnect();
|
|
11216
11216
|
}) : null;
|
|
11217
11217
|
const listenersActive = pauseWhenHidden && typeof document !== "undefined" && typeof window !== "undefined";
|
|
@@ -11545,7 +11545,7 @@ function lastPathSegment(url) {
|
|
|
11545
11545
|
function makeComposeContentUrl(opts) {
|
|
11546
11546
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
11547
11547
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
11548
|
-
const type =
|
|
11548
|
+
const type = _chunkNDLFK57Dcjs.canonicalContentRefType.call(void 0, rawType);
|
|
11549
11549
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
11550
11550
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
11551
11551
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -11556,8 +11556,8 @@ function makeComposeContentUrl(opts) {
|
|
|
11556
11556
|
}
|
|
11557
11557
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
11558
11558
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
11559
|
-
const owner = claimedOwner &&
|
|
11560
|
-
const origin = owner ?
|
|
11559
|
+
const owner = claimedOwner && _chunkC27F6GBZcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
11560
|
+
const origin = owner ? _chunkC27F6GBZcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
11561
11561
|
return {
|
|
11562
11562
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _229 => _229.trim, 'call', _230 => _230()]) || identifier}`,
|
|
11563
11563
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -11723,8 +11723,8 @@ var DEFAULT_OPTIONS = {
|
|
|
11723
11723
|
function extractSections(markdown, options = {}) {
|
|
11724
11724
|
const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
11725
11725
|
const sections = [];
|
|
11726
|
-
const dedupe =
|
|
11727
|
-
const scanned =
|
|
11726
|
+
const dedupe = _chunkRE6PGOSScjs.createHeadingIdDeduper.call(void 0, );
|
|
11727
|
+
const scanned = _chunkRE6PGOSScjs.scanHeadings.call(void 0, markdown, {
|
|
11728
11728
|
skipFrontmatter: opts.skipCodeAndYamlBlocks,
|
|
11729
11729
|
skipFences: opts.skipCodeAndYamlBlocks
|
|
11730
11730
|
});
|
|
@@ -11732,9 +11732,9 @@ function extractSections(markdown, options = {}) {
|
|
|
11732
11732
|
if (heading.level > opts.maxLevel) continue;
|
|
11733
11733
|
let title = heading.text;
|
|
11734
11734
|
if (opts.stripFormattingMarkers) {
|
|
11735
|
-
title =
|
|
11735
|
+
title = _chunkC27F6GBZcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
11736
11736
|
}
|
|
11737
|
-
const baseId =
|
|
11737
|
+
const baseId = _chunkRE6PGOSScjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkRE6PGOSScjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
11738
11738
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
11739
11739
|
sections.push({
|
|
11740
11740
|
id: opts.handleDuplicateIds ? dedupe(cleanId) : cleanId,
|
|
@@ -11791,7 +11791,7 @@ function sanitizeLandingUrl(url) {
|
|
|
11791
11791
|
}
|
|
11792
11792
|
}
|
|
11793
11793
|
function makeAdapter() {
|
|
11794
|
-
return
|
|
11794
|
+
return _chunkWT4HURQNcjs.createLocalStorageAdapter.call(void 0, {
|
|
11795
11795
|
key: FIRST_TOUCH_ATTRIBUTION_KEY,
|
|
11796
11796
|
backend: "session",
|
|
11797
11797
|
logTag: "[first-touch-attribution]",
|
|
@@ -12312,7 +12312,7 @@ function DashboardInfoCard({
|
|
|
12312
12312
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
12313
12313
|
if (asTag) {
|
|
12314
12314
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
12315
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12315
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
12316
12316
|
}
|
|
12317
12317
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
12318
12318
|
"(",
|
|
@@ -12366,7 +12366,7 @@ function DashboardInfoCard({
|
|
|
12366
12366
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "truncate text-ods-text-primary text-h3 md:text-h2", valueClassName), children: formattedValue }),
|
|
12367
12367
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
12368
12368
|
renderPercentage(),
|
|
12369
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12369
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.FloatingTooltip, { content: tooltip, side: "top", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "cursor-help text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
12370
12370
|
] })
|
|
12371
12371
|
] }),
|
|
12372
12372
|
renderProgress()
|
|
@@ -12484,7 +12484,7 @@ function DeviceCard({
|
|
|
12484
12484
|
}) {
|
|
12485
12485
|
const formatLastSeen = (lastSeen) => {
|
|
12486
12486
|
if (!lastSeen) return null;
|
|
12487
|
-
return
|
|
12487
|
+
return _chunkNDLFK57Dcjs.formatDateTimeYmd.call(void 0, lastSeen, null) || null;
|
|
12488
12488
|
};
|
|
12489
12489
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12490
12490
|
"div",
|
|
@@ -12543,7 +12543,7 @@ function DeviceCard({
|
|
|
12543
12543
|
] }),
|
|
12544
12544
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
12545
12545
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12546
|
-
|
|
12546
|
+
_chunkC27F6GBZcjs.Tag,
|
|
12547
12547
|
{
|
|
12548
12548
|
variant: statusTag.variant,
|
|
12549
12549
|
icon: statusTag.icon,
|
|
@@ -12557,7 +12557,7 @@ function DeviceCard({
|
|
|
12557
12557
|
formatLastSeen(device.lastSeen)
|
|
12558
12558
|
] })
|
|
12559
12559
|
] }),
|
|
12560
|
-
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-wrap items-center gap-2", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12560
|
+
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-wrap items-center gap-2", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
12561
12561
|
]
|
|
12562
12562
|
}
|
|
12563
12563
|
);
|
|
@@ -12591,7 +12591,7 @@ function DataAttribution({ icon, source, lastUpdated }) {
|
|
|
12591
12591
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "hidden text-ods-text-secondary sm:inline", "aria-hidden": "true", children: "\xB7" }),
|
|
12592
12592
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
12593
12593
|
"Last updated: ",
|
|
12594
|
-
lastUpdated ?
|
|
12594
|
+
lastUpdated ? _chunkNDLFK57Dcjs.formatDate.call(void 0, lastUpdated) : "Never"
|
|
12595
12595
|
] })
|
|
12596
12596
|
] });
|
|
12597
12597
|
}
|
|
@@ -12711,7 +12711,7 @@ function FeatureCardGrid({
|
|
|
12711
12711
|
if (allCardsHaveNoBorders) {
|
|
12712
12712
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
12713
12713
|
}
|
|
12714
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12714
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNDLFK57Dcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
12715
12715
|
const startIndex = rowIndex * itemsPerRow;
|
|
12716
12716
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
12717
12717
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -12741,7 +12741,7 @@ function FeatureCardGrid({
|
|
|
12741
12741
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
12742
12742
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
12743
12743
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12744
|
-
|
|
12744
|
+
_chunkNDLFK57Dcjs.StatusBadge,
|
|
12745
12745
|
{
|
|
12746
12746
|
text: item.badge.text,
|
|
12747
12747
|
variant: item.badge.variant || "card",
|
|
@@ -12750,7 +12750,7 @@ function FeatureCardGrid({
|
|
|
12750
12750
|
)
|
|
12751
12751
|
] }),
|
|
12752
12752
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12753
|
-
|
|
12753
|
+
_chunkNDLFK57Dcjs.StatusBadge,
|
|
12754
12754
|
{
|
|
12755
12755
|
text: item.badge.text,
|
|
12756
12756
|
variant: item.badge.variant || "card",
|
|
@@ -12798,7 +12798,7 @@ function FeatureList({ items, className = "", iconBoxSize = 72 }) {
|
|
|
12798
12798
|
|
|
12799
12799
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
12800
12800
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12801
|
-
|
|
12801
|
+
_chunkC27F6GBZcjs.FloatingTooltip,
|
|
12802
12802
|
{
|
|
12803
12803
|
as: "span",
|
|
12804
12804
|
side: "top",
|
|
@@ -12983,7 +12983,7 @@ function DropdownButton({
|
|
|
12983
12983
|
)
|
|
12984
12984
|
);
|
|
12985
12985
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12986
|
-
|
|
12986
|
+
_chunkC27F6GBZcjs.ActionsMenuDropdown,
|
|
12987
12987
|
{
|
|
12988
12988
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
12989
12989
|
open,
|
|
@@ -13198,8 +13198,8 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
13198
13198
|
}
|
|
13199
13199
|
function ServiceCardRowItem({ row }) {
|
|
13200
13200
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
13201
|
-
const { copy, copied } =
|
|
13202
|
-
const { ref: valueRef, isTruncated: valueTruncated } =
|
|
13201
|
+
const { copy, copied } = _chunkXNTQHC26cjs.useCopyToClipboard.call(void 0, );
|
|
13202
|
+
const { ref: valueRef, isTruncated: valueTruncated } = _chunkRE6PGOSScjs.useIsTruncated.call(void 0, row.value);
|
|
13203
13203
|
const actions = _react.useMemo.call(void 0,
|
|
13204
13204
|
() => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }),
|
|
13205
13205
|
[row]
|
|
@@ -13221,7 +13221,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
13221
13221
|
),
|
|
13222
13222
|
children: [
|
|
13223
13223
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13224
|
-
|
|
13224
|
+
_chunkC27F6GBZcjs.FloatingTooltip,
|
|
13225
13225
|
{
|
|
13226
13226
|
content: row.value,
|
|
13227
13227
|
side: "top",
|
|
@@ -13319,7 +13319,7 @@ function PersonCell({
|
|
|
13319
13319
|
const displayName = name || fallbackName;
|
|
13320
13320
|
const scale = PERSON_CELL_SIZE[size];
|
|
13321
13321
|
const row = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `group/person-cell flex min-w-0 items-center ${scale.gap}`, children: [
|
|
13322
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13322
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNDLFK57Dcjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
13323
13323
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
13324
13324
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13325
13325
|
TruncateText,
|
|
@@ -13359,9 +13359,9 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
13359
13359
|
);
|
|
13360
13360
|
}
|
|
13361
13361
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
13362
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13362
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.FloatingTooltip, { content: fullNames, triggerClassName: "min-w-0 max-w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
13363
13363
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13364
|
-
|
|
13364
|
+
_chunkNDLFK57Dcjs.AvatarStack,
|
|
13365
13365
|
{
|
|
13366
13366
|
size: "sm",
|
|
13367
13367
|
slots: PEOPLE_CELL_STACK_SLOTS,
|
|
@@ -13369,7 +13369,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
13369
13369
|
}
|
|
13370
13370
|
) }),
|
|
13371
13371
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "line-clamp-2 min-w-0 flex-1 break-words text-ods-text-primary text-h6", children: [
|
|
13372
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) =>
|
|
13372
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) => _chunkNDLFK57Dcjs.personFirstName.call(void 0, p.name, "Unknown")).join(" & ") }),
|
|
13373
13373
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: fullNames })
|
|
13374
13374
|
] })
|
|
13375
13375
|
] }) });
|
|
@@ -13421,9 +13421,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
13421
13421
|
return next;
|
|
13422
13422
|
});
|
|
13423
13423
|
};
|
|
13424
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13424
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
13425
13425
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13426
|
-
|
|
13426
|
+
_chunkC27F6GBZcjs.TooltipTrigger,
|
|
13427
13427
|
{
|
|
13428
13428
|
asChild: true,
|
|
13429
13429
|
onPointerDown: (e) => {
|
|
@@ -13441,7 +13441,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
13441
13441
|
children
|
|
13442
13442
|
}
|
|
13443
13443
|
),
|
|
13444
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13444
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
13445
13445
|
] }) });
|
|
13446
13446
|
}
|
|
13447
13447
|
|
|
@@ -14057,7 +14057,7 @@ function TableHeader({
|
|
|
14057
14057
|
}
|
|
14058
14058
|
return sortDirection === "asc" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Arrow01UpIcon, { className: "h-4 w-4 text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Arrow01DownIcon, { className: "h-4 w-4 text-ods-accent" });
|
|
14059
14059
|
};
|
|
14060
|
-
const isLgUp = _nullishCoalesce(
|
|
14060
|
+
const isLgUp = _nullishCoalesce(_chunkRE6PGOSScjs.useLgUp.call(void 0, ), () => ( false));
|
|
14061
14061
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14062
14062
|
"div",
|
|
14063
14063
|
{
|
|
@@ -14114,7 +14114,7 @@ function TableHeader({
|
|
|
14114
14114
|
onFilterChange
|
|
14115
14115
|
}
|
|
14116
14116
|
),
|
|
14117
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14117
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
14118
14118
|
] })
|
|
14119
14119
|
) : (
|
|
14120
14120
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -14140,7 +14140,7 @@ function TableHeader({
|
|
|
14140
14140
|
hint exists, so a hint-less header keeps its DOM. */
|
|
14141
14141
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
14142
14142
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
14143
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14143
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InfoHint, { label: column.label, children: column.hint })
|
|
14144
14144
|
] })
|
|
14145
14145
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
14146
14146
|
getSortIcon(column)
|
|
@@ -14698,7 +14698,7 @@ function TableDescriptionCell({ text, className, maxLines = 3 }) {
|
|
|
14698
14698
|
|
|
14699
14699
|
// src/components/ui/table/table-timestamp-cell.tsx
|
|
14700
14700
|
|
|
14701
|
-
var formatLocalTimestamp = (date) =>
|
|
14701
|
+
var formatLocalTimestamp = (date) => _chunkNDLFK57Dcjs.formatDateWithTimezone.call(void 0, date, _chunkNDLFK57Dcjs.VIEWER_TIMEZONE, "localeDateTime", { viewerLocale: true });
|
|
14702
14702
|
function formatTimestampValue(timestamp) {
|
|
14703
14703
|
if (timestamp instanceof Date) {
|
|
14704
14704
|
return formatLocalTimestamp(timestamp);
|
|
@@ -14752,9 +14752,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
14752
14752
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14753
14753
|
}
|
|
14754
14754
|
}, []);
|
|
14755
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14756
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14757
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14755
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14756
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center", style: { width, height: 48 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: textRef, className: "truncate text-ods-text-secondary text-h5", children: value }) }) }),
|
|
14757
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
14758
14758
|
] }) });
|
|
14759
14759
|
}
|
|
14760
14760
|
|
|
@@ -14807,9 +14807,9 @@ function TruncatedCell({ value, className }) {
|
|
|
14807
14807
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14808
14808
|
}
|
|
14809
14809
|
}, []);
|
|
14810
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14811
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14812
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14810
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14811
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { ref: textRef, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "block truncate", className), children: value }) }),
|
|
14812
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
14813
14813
|
] }) });
|
|
14814
14814
|
}
|
|
14815
14815
|
|
|
@@ -14925,7 +14925,7 @@ function QueryReportTable({
|
|
|
14925
14925
|
onThumbPointerMove,
|
|
14926
14926
|
onThumbPointerUp,
|
|
14927
14927
|
onThumbPointerCancel
|
|
14928
|
-
} =
|
|
14928
|
+
} = _chunkXNTQHC26cjs.useHorizontalScrollbar.call(void 0, );
|
|
14929
14929
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex w-full flex-col", isCompact ? "gap-0" : "gap-[var(--spacing-system-l)]", className), children: [
|
|
14930
14930
|
!isCompact && (title || headerActions || showExport && data.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between pt-[var(--spacing-system-l)]", children: [
|
|
14931
14931
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -15166,7 +15166,7 @@ function DataTableBody({
|
|
|
15166
15166
|
const hasRows = rows.length > 0;
|
|
15167
15167
|
const loadMore = useDataTableLoadMoreStore();
|
|
15168
15168
|
const loadMoreRows = _react.useSyncExternalStore.call(void 0, loadMore.subscribe, loadMore.getSkeletonRows, getNoRows);
|
|
15169
|
-
|
|
15169
|
+
_chunkWT4HURQNcjs.useIsomorphicLayoutEffect.call(void 0, () => hasRows ? loadMore.registerRowsBody() : void 0, [loadMore, hasRows]);
|
|
15170
15170
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
15171
15171
|
if (loading && !hasRows) {
|
|
15172
15172
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, ROW_STACK_CLASSES, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15481,7 +15481,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
15481
15481
|
// child of the cell.
|
|
15482
15482
|
_optionalChain([meta, 'optionalAccess', _307 => _307.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
15483
15483
|
filterTrigger,
|
|
15484
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15484
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
15485
15485
|
] }) : filterTrigger
|
|
15486
15486
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15487
15487
|
"div",
|
|
@@ -15506,7 +15506,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
15506
15506
|
// centred on the row.
|
|
15507
15507
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
15508
15508
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
15509
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15509
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
15510
15510
|
] })
|
|
15511
15511
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
15512
15512
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -15564,7 +15564,7 @@ function DataTableInfiniteFooter({
|
|
|
15564
15564
|
const loadMore = useDataTableLoadMoreStore();
|
|
15565
15565
|
const bodyDrawsRows = _react.useSyncExternalStore.call(void 0, loadMore.subscribe, loadMore.getHasRowsBody, getNoBody);
|
|
15566
15566
|
const requestedRows = isFetchingNextPage ? skeletonRows : 0;
|
|
15567
|
-
|
|
15567
|
+
_chunkWT4HURQNcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
15568
15568
|
loadMore.setSkeletonRows(requestedRows);
|
|
15569
15569
|
return () => loadMore.setSkeletonRows(0);
|
|
15570
15570
|
}, [loadMore, requestedRows]);
|
|
@@ -15885,10 +15885,10 @@ function SearchInput({
|
|
|
15885
15885
|
}) {
|
|
15886
15886
|
const [internalValue, setInternalValue] = _react.useState.call(void 0, defaultValue);
|
|
15887
15887
|
const currentValue = onChange ? _nullishCoalesce(value, () => ( "")) : internalValue;
|
|
15888
|
-
const debouncedValue =
|
|
15888
|
+
const debouncedValue = _chunkRE6PGOSScjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
15889
15889
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
15890
15890
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
15891
|
-
const keyboardPadding =
|
|
15891
|
+
const keyboardPadding = _chunkXNTQHC26cjs.useKeyboardCollisionPadding.call(void 0, );
|
|
15892
15892
|
const containerRef = _react.useRef.call(void 0, null);
|
|
15893
15893
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
15894
15894
|
const {
|
|
@@ -15898,7 +15898,7 @@ function SearchInput({
|
|
|
15898
15898
|
textMeasureRef,
|
|
15899
15899
|
badgeRef,
|
|
15900
15900
|
inputRef
|
|
15901
|
-
} =
|
|
15901
|
+
} = _chunkXNTQHC26cjs.useAutoLimitTags.call(void 0, {
|
|
15902
15902
|
count: filterChips.length,
|
|
15903
15903
|
limitTags,
|
|
15904
15904
|
// When chips exist, pass empty placeholder so the hook only reserves input minWidth,
|
|
@@ -15920,7 +15920,7 @@ function SearchInput({
|
|
|
15920
15920
|
document.addEventListener("mousedown", handleClick);
|
|
15921
15921
|
return () => document.removeEventListener("mousedown", handleClick);
|
|
15922
15922
|
}, [showHiddenTags]);
|
|
15923
|
-
|
|
15923
|
+
_chunkWT4HURQNcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
15924
15924
|
const popup = hiddenTagsPopupRef.current;
|
|
15925
15925
|
const badge = badgeRef.current;
|
|
15926
15926
|
if (!popup || !badge) return;
|
|
@@ -16093,7 +16093,7 @@ function SearchInput({
|
|
|
16093
16093
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-shrink-0 text-ods-text-secondary transition-colors duration-200 group-has-[:focus]:text-ods-accent [&_svg]:size-4 md:[&_svg]:size-6", children: startAdornment !== void 0 ? startAdornment : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}) }),
|
|
16094
16094
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
16095
16095
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16096
|
-
|
|
16096
|
+
_chunkC27F6GBZcjs.Tag,
|
|
16097
16097
|
{
|
|
16098
16098
|
variant: chipVariantToTagVariant(chip.variant),
|
|
16099
16099
|
label: chip.label,
|
|
@@ -16209,7 +16209,7 @@ function SearchInput({
|
|
|
16209
16209
|
}
|
|
16210
16210
|
),
|
|
16211
16211
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: measureRef, "aria-hidden": "true", className: "pointer-events-none fixed -left-[9999px] top-0 flex gap-2", children: filterChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16212
|
-
|
|
16212
|
+
_chunkC27F6GBZcjs.Tag,
|
|
16213
16213
|
{
|
|
16214
16214
|
variant: chipVariantToTagVariant(chip.variant),
|
|
16215
16215
|
label: chip.label,
|
|
@@ -16351,7 +16351,7 @@ function TagSearchInput({
|
|
|
16351
16351
|
limitTags = "auto"
|
|
16352
16352
|
}) {
|
|
16353
16353
|
const currentPlaceholder = tags.length === 0 ? placeholder : addMorePlaceholder;
|
|
16354
|
-
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } =
|
|
16354
|
+
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } = _chunkXNTQHC26cjs.useAutoLimitTags.call(void 0, {
|
|
16355
16355
|
count: tags.length,
|
|
16356
16356
|
limitTags,
|
|
16357
16357
|
placeholder: currentPlaceholder
|
|
@@ -16371,7 +16371,7 @@ function TagSearchInput({
|
|
|
16371
16371
|
document.addEventListener("mousedown", handleClick);
|
|
16372
16372
|
return () => document.removeEventListener("mousedown", handleClick);
|
|
16373
16373
|
}, [showHiddenTags]);
|
|
16374
|
-
|
|
16374
|
+
_chunkWT4HURQNcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
16375
16375
|
const popup = hiddenTagsPopupRef.current;
|
|
16376
16376
|
const badge = badgeRef.current;
|
|
16377
16377
|
if (!popup || !badge) return;
|
|
@@ -16422,7 +16422,7 @@ function TagSearchInput({
|
|
|
16422
16422
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "size-4 text-ods-text-secondary md:size-6" }) }),
|
|
16423
16423
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2", children: [
|
|
16424
16424
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16425
|
-
|
|
16425
|
+
_chunkC27F6GBZcjs.Tag,
|
|
16426
16426
|
{
|
|
16427
16427
|
variant: "outline",
|
|
16428
16428
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -16510,7 +16510,7 @@ function TagSearchInput({
|
|
|
16510
16510
|
"aria-hidden": "true",
|
|
16511
16511
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
16512
16512
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16513
|
-
|
|
16513
|
+
_chunkC27F6GBZcjs.Tag,
|
|
16514
16514
|
{
|
|
16515
16515
|
variant: "outline",
|
|
16516
16516
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -17224,7 +17224,7 @@ function ImageUploader({
|
|
|
17224
17224
|
const [pressed, setPressed] = _react.useState.call(void 0, false);
|
|
17225
17225
|
const [validationError, setValidationError] = _react.useState.call(void 0, null);
|
|
17226
17226
|
const interactive = !disabled && !loading;
|
|
17227
|
-
const resolvedValue =
|
|
17227
|
+
const resolvedValue = _chunkWT4HURQNcjs.useAuthedImageSrc.call(void 0, value);
|
|
17228
17228
|
const hasImage = Boolean(value);
|
|
17229
17229
|
const displayError = error || validationError || void 0;
|
|
17230
17230
|
const resolvedHint = hint === void 0 ? `Max. size: ${formatSize(maxSize)}` : hint;
|
|
@@ -17384,7 +17384,7 @@ var _reactcolorful = require('react-colorful');
|
|
|
17384
17384
|
var Popover2 = PopoverPrimitive6.Root;
|
|
17385
17385
|
var PopoverTrigger = PopoverPrimitive6.Trigger;
|
|
17386
17386
|
var PopoverContent = _react.forwardRef.call(void 0, ({ className, align = "center", sideOffset = 4, collisionPadding, ...props }, ref) => {
|
|
17387
|
-
const keyboardPadding =
|
|
17387
|
+
const keyboardPadding = _chunkXNTQHC26cjs.useKeyboardCollisionPadding.call(void 0, );
|
|
17388
17388
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive6.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17389
17389
|
PopoverPrimitive6.Content,
|
|
17390
17390
|
{
|
|
@@ -17441,20 +17441,20 @@ function ColorPresetSelect({
|
|
|
17441
17441
|
...presets.map((p) => ({
|
|
17442
17442
|
id: p.key,
|
|
17443
17443
|
label: p.label,
|
|
17444
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17444
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ColorSwatch, { color: p.color }),
|
|
17445
17445
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
17446
17446
|
})),
|
|
17447
17447
|
{
|
|
17448
17448
|
id: CUSTOM_PRESET_KEY,
|
|
17449
17449
|
label: "Custom",
|
|
17450
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17450
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
17451
17451
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
17452
17452
|
}
|
|
17453
17453
|
]
|
|
17454
17454
|
}
|
|
17455
17455
|
];
|
|
17456
17456
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17457
|
-
|
|
17457
|
+
_chunkC27F6GBZcjs.ActionsMenuDropdown,
|
|
17458
17458
|
{
|
|
17459
17459
|
groups,
|
|
17460
17460
|
align: "start",
|
|
@@ -17464,7 +17464,7 @@ function ColorPresetSelect({
|
|
|
17464
17464
|
{
|
|
17465
17465
|
disabled,
|
|
17466
17466
|
"aria-label": `Color: ${displayLabel}`,
|
|
17467
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17467
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ColorSwatch, { color: displayColor }),
|
|
17468
17468
|
selectedLabel: displayLabel,
|
|
17469
17469
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
17470
17470
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "group", className)
|
|
@@ -17485,7 +17485,7 @@ function HexInputs({ value, onChange }) {
|
|
|
17485
17485
|
}
|
|
17486
17486
|
const commit = () => {
|
|
17487
17487
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
17488
|
-
if (
|
|
17488
|
+
if (_chunkC27F6GBZcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
17489
17489
|
else setDraft(value);
|
|
17490
17490
|
};
|
|
17491
17491
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17549,12 +17549,12 @@ function ChannelInput({
|
|
|
17549
17549
|
);
|
|
17550
17550
|
}
|
|
17551
17551
|
function RgbInputs({ value, onChange }) {
|
|
17552
|
-
const rgb = _nullishCoalesce(
|
|
17552
|
+
const rgb = _nullishCoalesce(_chunkC27F6GBZcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
17553
17553
|
const update = (next) => {
|
|
17554
17554
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
17555
17555
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
17556
17556
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
17557
|
-
onChange(
|
|
17557
|
+
onChange(_chunkC27F6GBZcjs.rgbToHex.call(void 0, r, g, b));
|
|
17558
17558
|
};
|
|
17559
17559
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17560
17560
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -17563,14 +17563,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
17563
17563
|
] });
|
|
17564
17564
|
}
|
|
17565
17565
|
function HslInputs({ value, onChange }) {
|
|
17566
|
-
const rgb = _nullishCoalesce(
|
|
17567
|
-
const hsl =
|
|
17566
|
+
const rgb = _nullishCoalesce(_chunkC27F6GBZcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
17567
|
+
const hsl = _chunkC27F6GBZcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
17568
17568
|
const update = (next) => {
|
|
17569
17569
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
17570
17570
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
17571
17571
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
17572
|
-
const out =
|
|
17573
|
-
onChange(
|
|
17572
|
+
const out = _chunkC27F6GBZcjs.hslToRgb.call(void 0, h, s, l);
|
|
17573
|
+
onChange(_chunkC27F6GBZcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
17574
17574
|
};
|
|
17575
17575
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17576
17576
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -17596,7 +17596,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
17596
17596
|
{
|
|
17597
17597
|
disabled,
|
|
17598
17598
|
"aria-label": "Pick custom color",
|
|
17599
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17599
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ColorSwatch, { color: value }),
|
|
17600
17600
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
17601
17601
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
17602
17602
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "group", className)
|
|
@@ -17612,7 +17612,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
17612
17612
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
17613
17613
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17614
17614
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17615
|
-
|
|
17615
|
+
_chunkC27F6GBZcjs.ActionsMenuDropdown,
|
|
17616
17616
|
{
|
|
17617
17617
|
groups: formatGroups,
|
|
17618
17618
|
align: "start",
|
|
@@ -17660,7 +17660,7 @@ function TicketStatusConfigRow({
|
|
|
17660
17660
|
isDragging,
|
|
17661
17661
|
moveButtons
|
|
17662
17662
|
}) {
|
|
17663
|
-
const dragAndDropEnabled =
|
|
17663
|
+
const dragAndDropEnabled = _chunkXNTQHC26cjs.useDragAndDropEnabled.call(void 0, );
|
|
17664
17664
|
const nameInputId = _react.useId.call(void 0, );
|
|
17665
17665
|
const isSystem = variant === "system";
|
|
17666
17666
|
const isCustomColor = !isSystem && presetKey === void 0;
|
|
@@ -17669,7 +17669,7 @@ function TicketStatusConfigRow({
|
|
|
17669
17669
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
17670
17670
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
17671
17671
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17672
|
-
|
|
17672
|
+
_chunkC27F6GBZcjs.TicketStatusTag,
|
|
17673
17673
|
{
|
|
17674
17674
|
status: statusKey,
|
|
17675
17675
|
label: name || " ",
|
|
@@ -17821,7 +17821,7 @@ function formatTestRunDuration(ms) {
|
|
|
17821
17821
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
17822
17822
|
var SKELETON_COLUMNS = 6;
|
|
17823
17823
|
function TestResultsSkeleton() {
|
|
17824
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17824
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
17825
17825
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-[160px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-4 w-3/4 animate-pulse rounded-sm bg-ods-bg-surface" }) }, `skeleton-header-${i}`)) }),
|
|
17826
17826
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "animate-pulse overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-3/4 rounded-sm bg-ods-bg-surface" }) }, `skeleton-cell-${i}`)) }) })
|
|
17827
17827
|
] }) });
|
|
@@ -17856,13 +17856,13 @@ function TestResultsTable({ rows, loading }) {
|
|
|
17856
17856
|
if (loading) {
|
|
17857
17857
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
17858
17858
|
}
|
|
17859
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17859
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { minWidth: Math.max(1, columnKeys.length) * RESULT_COLUMN_MIN_WIDTH }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DataTable, { table, children: [
|
|
17860
17860
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
17861
17861
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
17862
17862
|
] }) }) });
|
|
17863
17863
|
}
|
|
17864
17864
|
function TestRunErrorBanner({ error, className }) {
|
|
17865
|
-
const { copy } =
|
|
17865
|
+
const { copy } = _chunkXNTQHC26cjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
17866
17866
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17867
17867
|
"div",
|
|
17868
17868
|
{
|
|
@@ -17918,7 +17918,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
17918
17918
|
function TestRunStatusStat({ status, className }) {
|
|
17919
17919
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
17920
17920
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex min-w-0 flex-col items-start justify-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
17921
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17921
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Tag, { label: tag.label, variant: tag.variant, className: "pointer-events-none" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: "-" }),
|
|
17922
17922
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
17923
17923
|
] });
|
|
17924
17924
|
}
|
|
@@ -17962,7 +17962,7 @@ function useTestRunState(campaign) {
|
|
|
17962
17962
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
17963
17963
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
17964
17964
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
17965
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
17965
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkC27F6GBZcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
17966
17966
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
17967
17967
|
const displayRows = _react.useMemo.call(void 0,
|
|
17968
17968
|
() => campaign.results.map(
|
|
@@ -18001,7 +18001,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
18001
18001
|
),
|
|
18002
18002
|
children: [
|
|
18003
18003
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18004
|
-
|
|
18004
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
18005
18005
|
{
|
|
18006
18006
|
src: attachment.thumbnailSrc,
|
|
18007
18007
|
alt: attachment.fileName,
|
|
@@ -18094,7 +18094,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
18094
18094
|
};
|
|
18095
18095
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex items-start gap-4 rounded-[6px] p-3", "border border-ods-border bg-ods-card", className), children: [
|
|
18096
18096
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18097
|
-
|
|
18097
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
18098
18098
|
{
|
|
18099
18099
|
src: note.authorAvatar,
|
|
18100
18100
|
alt: note.authorName,
|
|
@@ -18270,7 +18270,7 @@ function TicketInfoSection({
|
|
|
18270
18270
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-card px-4 py-3 lg:grid-cols-[1fr_1fr_1fr_auto]", children: [
|
|
18271
18271
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
18272
18272
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18273
|
-
|
|
18273
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
18274
18274
|
{
|
|
18275
18275
|
src: _optionalChain([organization, 'optionalAccess', _408 => _408.imageSrc]),
|
|
18276
18276
|
alt: _optionalChain([organization, 'optionalAccess', _409 => _409.name]),
|
|
@@ -18300,7 +18300,7 @@ function TicketInfoSection({
|
|
|
18300
18300
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _412 => _412.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _413 => _413.icon]), onClick: _optionalChain([device, 'optionalAccess', _414 => _414.onClick]) }),
|
|
18301
18301
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
18302
18302
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18303
|
-
|
|
18303
|
+
_chunkC27F6GBZcjs.TicketStatusTag,
|
|
18304
18304
|
{
|
|
18305
18305
|
status: _nullishCoalesce(status, () => ( "")),
|
|
18306
18306
|
label: statusLabel,
|
|
@@ -18339,9 +18339,9 @@ function TicketInfoSection({
|
|
|
18339
18339
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
18340
18340
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-bg px-4 py-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: createdAt, label: "Created" }) }),
|
|
18341
18341
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
18342
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18342
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.SimpleMarkdownRenderer, { content: description }),
|
|
18343
18343
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
18344
|
-
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18344
|
+
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
18345
18345
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18346
18346
|
TicketNotesSection,
|
|
18347
18347
|
{
|
|
@@ -18364,7 +18364,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
18364
18364
|
const { label, color } = option;
|
|
18365
18365
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
18366
18366
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
18367
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18367
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ColorSwatch, { color }),
|
|
18368
18368
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
18369
18369
|
] }),
|
|
18370
18370
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -18374,7 +18374,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
18374
18374
|
const { label, imageUrl } = option;
|
|
18375
18375
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
18376
18376
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
18377
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18377
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNDLFK57Dcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
18378
18378
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
18379
18379
|
] }),
|
|
18380
18380
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -18409,9 +18409,9 @@ function TakeOverTicketModal({
|
|
|
18409
18409
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
18410
18410
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
18411
18411
|
};
|
|
18412
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18412
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
18413
18413
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
18414
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18414
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
18415
18415
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
18416
18416
|
"The ticket ",
|
|
18417
18417
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -18426,7 +18426,7 @@ function TakeOverTicketModal({
|
|
|
18426
18426
|
value: selectedStatusId,
|
|
18427
18427
|
onChange: setStatusId,
|
|
18428
18428
|
placeholder: "Select Status",
|
|
18429
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18429
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
18430
18430
|
renderOption: renderTicketStatusOption
|
|
18431
18431
|
}
|
|
18432
18432
|
) }),
|
|
@@ -18440,7 +18440,7 @@ function TakeOverTicketModal({
|
|
|
18440
18440
|
placeholder: "Select Technician",
|
|
18441
18441
|
loading: assigneesLoading,
|
|
18442
18442
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18443
|
-
|
|
18443
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
18444
18444
|
{
|
|
18445
18445
|
src: selectedAssignee.imageUrl,
|
|
18446
18446
|
alt: selectedAssignee.label,
|
|
@@ -18453,7 +18453,7 @@ function TakeOverTicketModal({
|
|
|
18453
18453
|
}
|
|
18454
18454
|
) })
|
|
18455
18455
|
] }),
|
|
18456
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18456
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.ModalFooter, { children: [
|
|
18457
18457
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
18458
18458
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
18459
18459
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18512,9 +18512,9 @@ function ReopenTicketModal({
|
|
|
18512
18512
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
18513
18513
|
});
|
|
18514
18514
|
};
|
|
18515
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18515
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
18516
18516
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
18517
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18517
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
18518
18518
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
18519
18519
|
"The ticket ",
|
|
18520
18520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -18529,7 +18529,7 @@ function ReopenTicketModal({
|
|
|
18529
18529
|
value: selectedStatusId,
|
|
18530
18530
|
onChange: setStatusId,
|
|
18531
18531
|
placeholder: "Select Status",
|
|
18532
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18532
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
18533
18533
|
renderOption: renderTicketStatusOption
|
|
18534
18534
|
}
|
|
18535
18535
|
) }),
|
|
@@ -18543,7 +18543,7 @@ function ReopenTicketModal({
|
|
|
18543
18543
|
placeholder: "Select Technician",
|
|
18544
18544
|
loading: assigneesLoading,
|
|
18545
18545
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18546
|
-
|
|
18546
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
18547
18547
|
{
|
|
18548
18548
|
src: selectedAssignee.imageUrl,
|
|
18549
18549
|
alt: selectedAssignee.label,
|
|
@@ -18567,7 +18567,7 @@ function ReopenTicketModal({
|
|
|
18567
18567
|
disabled: isPending
|
|
18568
18568
|
}
|
|
18569
18569
|
) }),
|
|
18570
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18570
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.ModalFooter, { children: [
|
|
18571
18571
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
18572
18572
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
18573
18573
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18616,9 +18616,9 @@ function ReopenTicketRequestModal({
|
|
|
18616
18616
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
18617
18617
|
});
|
|
18618
18618
|
};
|
|
18619
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18619
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
18620
18620
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
18621
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18621
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
18622
18622
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "This ticket will be reopened and the AI assistant will continue helping you." }),
|
|
18623
18623
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18624
18624
|
Textarea,
|
|
@@ -18642,7 +18642,7 @@ function ReopenTicketRequestModal({
|
|
|
18642
18642
|
disabled: isPending
|
|
18643
18643
|
}
|
|
18644
18644
|
),
|
|
18645
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18645
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.ModalFooter, { children: [
|
|
18646
18646
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
18647
18647
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
18648
18648
|
] })
|
|
@@ -18688,9 +18688,9 @@ function LazyMount({
|
|
|
18688
18688
|
placeholder = null,
|
|
18689
18689
|
className,
|
|
18690
18690
|
style,
|
|
18691
|
-
rootMargin =
|
|
18691
|
+
rootMargin = _chunkRE6PGOSScjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
18692
18692
|
}) {
|
|
18693
|
-
const { ref, isNear } =
|
|
18693
|
+
const { ref, isNear } = _chunkRE6PGOSScjs.useNearViewport.call(void 0, rootMargin);
|
|
18694
18694
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className, style, children: isNear ? children : placeholder });
|
|
18695
18695
|
}
|
|
18696
18696
|
|
|
@@ -18903,10 +18903,10 @@ function AccountDetailsFields({
|
|
|
18903
18903
|
onKeyDown,
|
|
18904
18904
|
layout = "stacked"
|
|
18905
18905
|
}) {
|
|
18906
|
-
const firstNameErr =
|
|
18907
|
-
const lastNameErr =
|
|
18908
|
-
const passwordErr =
|
|
18909
|
-
const confirmErr =
|
|
18906
|
+
const firstNameErr = _chunkXNTQHC26cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _419 => _419.firstName]), firstName);
|
|
18907
|
+
const lastNameErr = _chunkXNTQHC26cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _420 => _420.lastName]), lastName);
|
|
18908
|
+
const passwordErr = _chunkXNTQHC26cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _421 => _421.password]), password);
|
|
18909
|
+
const confirmErr = _chunkXNTQHC26cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _422 => _422.confirmPassword]), confirmPassword);
|
|
18910
18910
|
const names = [
|
|
18911
18911
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18912
18912
|
_chunkKWX65373cjs.Input,
|
|
@@ -19346,9 +19346,9 @@ function CreateOrganizationForm({
|
|
|
19346
19346
|
}) {
|
|
19347
19347
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
19348
19348
|
const fieldsDisabled = disabled || loading;
|
|
19349
|
-
const emailErr =
|
|
19350
|
-
const orgNameErr =
|
|
19351
|
-
const domainErr =
|
|
19349
|
+
const emailErr = _chunkXNTQHC26cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _424 => _424.email]), _nullishCoalesce(email, () => ( "")));
|
|
19350
|
+
const orgNameErr = _chunkXNTQHC26cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _425 => _425.organizationName]), organizationName);
|
|
19351
|
+
const domainErr = _chunkXNTQHC26cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _426 => _426.domain]), domain);
|
|
19352
19352
|
const handleKeyDown = (event) => {
|
|
19353
19353
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19354
19354
|
onSubmit();
|
|
@@ -19564,7 +19564,7 @@ function LoginForm({
|
|
|
19564
19564
|
className
|
|
19565
19565
|
}) {
|
|
19566
19566
|
const fieldDisabled = disabled || loading;
|
|
19567
|
-
const emailErr =
|
|
19567
|
+
const emailErr = _chunkXNTQHC26cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _433 => _433.email]), email);
|
|
19568
19568
|
const handleKeyDown = (event) => {
|
|
19569
19569
|
if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
|
|
19570
19570
|
_optionalChain([onSubmitClick, 'optionalCall', _434 => _434()]);
|
|
@@ -19706,8 +19706,8 @@ function OpenFrameSsoLoginForm({
|
|
|
19706
19706
|
className
|
|
19707
19707
|
}) {
|
|
19708
19708
|
const fieldsDisabled = disabled || loading;
|
|
19709
|
-
const emailErr =
|
|
19710
|
-
const passwordErr =
|
|
19709
|
+
const emailErr = _chunkXNTQHC26cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _437 => _437.email]), email);
|
|
19710
|
+
const passwordErr = _chunkXNTQHC26cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _438 => _438.password]), password);
|
|
19711
19711
|
const handleKeyDown = (event) => {
|
|
19712
19712
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19713
19713
|
onSubmit();
|
|
@@ -19812,7 +19812,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
19812
19812
|
className
|
|
19813
19813
|
}) {
|
|
19814
19814
|
const fieldsDisabled = disabled || loading;
|
|
19815
|
-
const emailErr =
|
|
19815
|
+
const emailErr = _chunkXNTQHC26cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _439 => _439.email]), email);
|
|
19816
19816
|
const handleKeyDown = (event) => {
|
|
19817
19817
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19818
19818
|
onSubmit();
|
|
@@ -19917,8 +19917,8 @@ function PasswordResetForm({
|
|
|
19917
19917
|
className
|
|
19918
19918
|
}) {
|
|
19919
19919
|
const fieldsDisabled = disabled || loading;
|
|
19920
|
-
const passwordErr =
|
|
19921
|
-
const confirmErr =
|
|
19920
|
+
const passwordErr = _chunkXNTQHC26cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _440 => _440.password]), password);
|
|
19921
|
+
const confirmErr = _chunkXNTQHC26cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _441 => _441.confirmPassword]), confirmPassword);
|
|
19922
19922
|
const handleKeyDown = (event) => {
|
|
19923
19923
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19924
19924
|
onSubmit();
|
|
@@ -20055,7 +20055,7 @@ function SsoJoinForm({
|
|
|
20055
20055
|
] }),
|
|
20056
20056
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-s)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)]", children: [
|
|
20057
20057
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20058
|
-
|
|
20058
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
20059
20059
|
{
|
|
20060
20060
|
size: "lg",
|
|
20061
20061
|
variant: "round",
|
|
@@ -20069,7 +20069,7 @@ function SsoJoinForm({
|
|
|
20069
20069
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
20070
20070
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
20071
20071
|
] }),
|
|
20072
|
-
roles.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xs)]", children: roles.map((role) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20072
|
+
roles.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xs)]", children: roles.map((role) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Tag, { variant: "grey", label: role }, role)) })
|
|
20073
20073
|
] }),
|
|
20074
20074
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20075
20075
|
CheckboxBlock,
|
|
@@ -20313,7 +20313,7 @@ function ChangelogManager({
|
|
|
20313
20313
|
),
|
|
20314
20314
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: hasContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h6", children: entry.title }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "italic text-ods-text-secondary text-h6", children: "New entry (click to edit)" }) }),
|
|
20315
20315
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20316
|
-
|
|
20316
|
+
_chunkNDLFK57Dcjs.StatusBadge,
|
|
20317
20317
|
{
|
|
20318
20318
|
variant: "button",
|
|
20319
20319
|
singleLine: true,
|
|
@@ -20576,7 +20576,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
20576
20576
|
const label = (tag.name || "").toUpperCase();
|
|
20577
20577
|
if (basePath && tag.slug) {
|
|
20578
20578
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20579
|
-
|
|
20579
|
+
_chunkNDLFK57Dcjs.StatusBadge,
|
|
20580
20580
|
{
|
|
20581
20581
|
text: label,
|
|
20582
20582
|
variant: "card",
|
|
@@ -20584,9 +20584,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
20584
20584
|
}
|
|
20585
20585
|
) }, key);
|
|
20586
20586
|
}
|
|
20587
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20587
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNDLFK57Dcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
20588
20588
|
}),
|
|
20589
|
-
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20589
|
+
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNDLFK57Dcjs.StatusBadge, { text: `+${overflow2}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
20590
20590
|
] });
|
|
20591
20591
|
}
|
|
20592
20592
|
|
|
@@ -20673,7 +20673,7 @@ var SectionButton = ({
|
|
|
20673
20673
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
20674
20674
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, titleClasses, "whitespace-nowrap text-h4 lg:whitespace-normal lg:break-words"), children: section.title }),
|
|
20675
20675
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20676
|
-
|
|
20676
|
+
_chunkNDLFK57Dcjs.StatusBadge,
|
|
20677
20677
|
{
|
|
20678
20678
|
text: section.badge.text,
|
|
20679
20679
|
variant: section.badge.variant || "button",
|
|
@@ -20692,7 +20692,7 @@ var SectionButton = ({
|
|
|
20692
20692
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
20693
20693
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
20694
20694
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20695
|
-
|
|
20695
|
+
_chunkNDLFK57Dcjs.StatusBadge,
|
|
20696
20696
|
{
|
|
20697
20697
|
text: section.badge.text,
|
|
20698
20698
|
variant: section.badge.variant || "button",
|
|
@@ -21006,7 +21006,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
21006
21006
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
21007
21007
|
title: config.title,
|
|
21008
21008
|
loading: "eager",
|
|
21009
|
-
...
|
|
21009
|
+
..._chunkC27F6GBZcjs.fetchPriorityProp.call(void 0, "high")
|
|
21010
21010
|
},
|
|
21011
21011
|
iframeKey
|
|
21012
21012
|
),
|
|
@@ -21432,7 +21432,7 @@ var FiltersDropdown = ({
|
|
|
21432
21432
|
window.addEventListener("resize", calculateOptimalPlacement);
|
|
21433
21433
|
return () => window.removeEventListener("resize", calculateOptimalPlacement);
|
|
21434
21434
|
}, [isOpen, isMobile, placement]);
|
|
21435
|
-
|
|
21435
|
+
_chunkWT4HURQNcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
21436
21436
|
const dropdown = dropdownRef.current;
|
|
21437
21437
|
if (!dropdown) return;
|
|
21438
21438
|
if (!isMobile) {
|
|
@@ -21834,7 +21834,7 @@ function MediaGalleryManager({
|
|
|
21834
21834
|
(mediaItem, index) => {
|
|
21835
21835
|
const isDeleting = deletingIndex === index;
|
|
21836
21836
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21837
|
-
|
|
21837
|
+
_chunkNDLFK57Dcjs.Card,
|
|
21838
21838
|
{
|
|
21839
21839
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
21840
21840
|
draggable: true,
|
|
@@ -21855,10 +21855,10 @@ function MediaGalleryManager({
|
|
|
21855
21855
|
children: isDeleting ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-4 w-4 animate-spin text-ods-text-on-dark" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
21856
21856
|
}
|
|
21857
21857
|
) }),
|
|
21858
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children:
|
|
21858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: _chunkNDLFK57Dcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? (
|
|
21859
21859
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
21860
21860
|
// fit="cover" crops to the aspect-video cell.
|
|
21861
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21861
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
21862
21862
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21863
21863
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
21864
21864
|
{
|
|
@@ -21871,7 +21871,7 @@ function MediaGalleryManager({
|
|
|
21871
21871
|
) }),
|
|
21872
21872
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
|
|
21873
21873
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex items-center gap-2", children: [
|
|
21874
|
-
|
|
21874
|
+
_chunkNDLFK57Dcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "h-4 w-4 text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Image, { className: "h-4 w-4 text-ods-text-secondary" }),
|
|
21875
21875
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "capitalize text-ods-text-primary text-h6", children: mediaItem.media_type })
|
|
21876
21876
|
] }),
|
|
21877
21877
|
mediaItem.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: mediaItem.title })
|
|
@@ -22307,7 +22307,7 @@ function PlatformFilterComponent({
|
|
|
22307
22307
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
22308
22308
|
size,
|
|
22309
22309
|
onClick: () => onPlatformChange(platform.value),
|
|
22310
|
-
leftIcon: showIcons ?
|
|
22310
|
+
leftIcon: showIcons ? _chunkXNTQHC26cjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
22311
22311
|
className: "text-h3",
|
|
22312
22312
|
children: platform.label
|
|
22313
22313
|
},
|
|
@@ -22357,60 +22357,60 @@ function CardSkeleton({
|
|
|
22357
22357
|
function VendorCardContent({ showMetadata }) {
|
|
22358
22358
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 p-4", children: [
|
|
22359
22359
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
22360
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[60px] w-[60px] flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22360
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[60px] w-[60px] flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Avatar, { size: "sm", className: "h-11 w-11" }) }),
|
|
22361
22361
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
22362
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22363
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22362
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
22363
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
22364
22364
|
] })
|
|
22365
22365
|
] }),
|
|
22366
22366
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-full items-center overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
22367
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22368
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22367
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22368
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
22369
22369
|
] }) }),
|
|
22370
22370
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
22371
22371
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 md:gap-4", children: [
|
|
22372
22372
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
22373
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22374
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22373
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
22374
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
22375
22375
|
] }),
|
|
22376
22376
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
22377
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22378
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22377
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
22378
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
22379
22379
|
] })
|
|
22380
22380
|
] }),
|
|
22381
22381
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 rounded border border-ods-border bg-ods-bg px-2.5 py-1.5", children: [
|
|
22382
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22383
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22382
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
22383
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
22384
22384
|
] }) })
|
|
22385
22385
|
] })
|
|
22386
22386
|
] });
|
|
22387
22387
|
}
|
|
22388
22388
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
22389
22389
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22390
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "blog-card-image-container relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22390
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "blog-card-image-container relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.CardImage, {}) }),
|
|
22391
22391
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col p-4", children: [
|
|
22392
22392
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[50.4px] items-center md:min-h-[56px] lg:min-h-[61.6px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
22393
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22394
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22393
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "w-full" }),
|
|
22394
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "w-3/4" })
|
|
22395
22395
|
] }) }),
|
|
22396
22396
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-3 flex h-[28px] items-center gap-2", children: [
|
|
22397
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22398
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22397
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
22398
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Chip, { className: "w-12" })
|
|
22399
22399
|
] }),
|
|
22400
22400
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[42px] items-center md:min-h-[45px] lg:min-h-[48px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
22401
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22402
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22401
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22402
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
22403
22403
|
] }) }),
|
|
22404
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22404
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Button, { className: "h-8 w-24" }) }),
|
|
22405
22405
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-auto", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 border-t border-ods-border pt-4", children: [
|
|
22406
22406
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
22407
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22408
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22407
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
22408
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
22409
22409
|
] }),
|
|
22410
22410
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3 text-ods-text-muted", children: [
|
|
22411
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22411
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
22412
22412
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-1 w-1 rounded-full bg-ods-skeleton" }),
|
|
22413
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22413
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
22414
22414
|
] })
|
|
22415
22415
|
] }) })
|
|
22416
22416
|
] })
|
|
@@ -22418,35 +22418,35 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
22418
22418
|
}
|
|
22419
22419
|
function CategoryCardContent() {
|
|
22420
22420
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 p-4 md:p-6", children: [
|
|
22421
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22421
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Icon, { size: "lg", className: "flex-shrink-0" }, index)) }),
|
|
22422
22422
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22423
22423
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
22424
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22425
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22424
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
22425
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
22426
22426
|
] }),
|
|
22427
22427
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between gap-4 md:items-end md:gap-6", children: [
|
|
22428
22428
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
22429
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22430
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22429
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22430
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
22431
22431
|
] }),
|
|
22432
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22432
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Button, { className: "h-10 w-10 flex-shrink-0 md:h-12 md:w-12" })
|
|
22433
22433
|
] })
|
|
22434
22434
|
] })
|
|
22435
22435
|
] });
|
|
22436
22436
|
}
|
|
22437
22437
|
function AlternativeCardContent({ showActions }) {
|
|
22438
22438
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4 p-4", children: [
|
|
22439
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22439
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
22440
22440
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
22441
22441
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
22442
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22443
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22442
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
22443
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
22444
22444
|
] }),
|
|
22445
22445
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
22446
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22447
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22446
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22447
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-5/6" })
|
|
22448
22448
|
] }),
|
|
22449
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22449
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Button, { className: "h-8 w-20" }) })
|
|
22450
22450
|
] })
|
|
22451
22451
|
] });
|
|
22452
22452
|
}
|
|
@@ -22497,12 +22497,12 @@ function HeroSkeleton() {
|
|
|
22497
22497
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
22498
22498
|
},
|
|
22499
22499
|
children: [
|
|
22500
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22500
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl md:mb-6 md:h-20 lg:h-24" }),
|
|
22501
22501
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-8 w-full max-w-4xl space-y-3 px-2 md:mb-10", children: [
|
|
22502
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22503
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22502
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "h-5 md:h-7" }),
|
|
22503
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 md:h-7" })
|
|
22504
22504
|
] }),
|
|
22505
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22505
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Button, { className: "h-12 w-full md:w-64" })
|
|
22506
22506
|
]
|
|
22507
22507
|
}
|
|
22508
22508
|
);
|
|
@@ -22513,14 +22513,14 @@ function SearchContainerSkeleton({
|
|
|
22513
22513
|
}) {
|
|
22514
22514
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-4", className || ""), children: [
|
|
22515
22515
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 md:gap-4", children: [
|
|
22516
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22517
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22516
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
22517
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Button, { className: "w-32 md:w-40" })
|
|
22518
22518
|
] }),
|
|
22519
22519
|
showFilters && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-2", children: [
|
|
22520
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22522
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22523
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22520
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Chip, {}),
|
|
22521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Chip, { className: "w-24" }),
|
|
22522
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
22523
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Chip, { className: "w-20" })
|
|
22524
22524
|
] })
|
|
22525
22525
|
] });
|
|
22526
22526
|
}
|
|
@@ -22539,7 +22539,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
22539
22539
|
{ type: "file", width: "w-36" }
|
|
22540
22540
|
];
|
|
22541
22541
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "w-full lg:w-[320px]", className), children: [
|
|
22542
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22542
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
22543
22543
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22544
22544
|
"div",
|
|
22545
22545
|
{
|
|
@@ -22549,12 +22549,12 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
22549
22549
|
),
|
|
22550
22550
|
children: [
|
|
22551
22551
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2.5", children: [
|
|
22552
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22553
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22552
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { className: "h-4 w-4 shrink-0 rounded" }),
|
|
22553
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
22554
22554
|
] }),
|
|
22555
22555
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[18px] items-center gap-2", children: [
|
|
22556
|
-
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22557
|
-
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22556
|
+
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
22557
|
+
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { className: "h-4 w-4 rounded" })
|
|
22558
22558
|
] })
|
|
22559
22559
|
]
|
|
22560
22560
|
},
|
|
@@ -22564,17 +22564,17 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
22564
22564
|
}
|
|
22565
22565
|
function BreadcrumbSkeleton({ className }) {
|
|
22566
22566
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "mb-6 flex items-center space-x-1", className), children: [
|
|
22567
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22568
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22569
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22570
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22571
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22572
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22573
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22567
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
22568
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
22569
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-24" }),
|
|
22570
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
22571
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-32" }),
|
|
22572
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
22573
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
22574
22574
|
] });
|
|
22575
22575
|
}
|
|
22576
22576
|
function ResultsHeaderSkeleton({ className }) {
|
|
22577
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "mb-6 flex flex-col items-start justify-between gap-4 md:flex-row md:items-center", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22577
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "mb-6 flex flex-col items-start justify-between gap-4 md:flex-row md:items-center", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-48" }) }) });
|
|
22578
22578
|
}
|
|
22579
22579
|
function TwoColumnLayoutSkeleton({
|
|
22580
22580
|
className,
|
|
@@ -22606,35 +22606,35 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
22606
22606
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "mx-auto max-w-4xl", className), children: [
|
|
22607
22607
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "mb-8 space-y-4 md:mb-12 md:space-y-6", children: [
|
|
22608
22608
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
22609
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22610
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22609
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Chip, {}),
|
|
22610
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Chip, { className: "w-16" })
|
|
22611
22611
|
] }),
|
|
22612
22612
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
22613
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22614
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22613
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Heading, { className: "w-full" }),
|
|
22614
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Heading, { className: "w-3/4" })
|
|
22615
22615
|
] }),
|
|
22616
22616
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 border-t border-ods-divider pt-4", children: [
|
|
22617
22617
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
22618
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22619
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22618
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
22619
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
22620
22620
|
] }),
|
|
22621
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22622
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22621
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-20" }),
|
|
22622
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
22623
22623
|
] })
|
|
22624
22624
|
] }),
|
|
22625
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22625
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.CardImage, { className: "h-64 w-full md:h-96" }) }),
|
|
22626
22626
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
22627
22627
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22628
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22629
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22630
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22631
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22628
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22629
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22630
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-5/6" }),
|
|
22631
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
22632
22632
|
] }, index)),
|
|
22633
22633
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "py-4", children: [
|
|
22634
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22634
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "mb-4 w-2/3" }),
|
|
22635
22635
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22636
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22637
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22636
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22637
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-4/5" })
|
|
22638
22638
|
] })
|
|
22639
22639
|
] })
|
|
22640
22640
|
] })
|
|
@@ -22860,11 +22860,11 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
22860
22860
|
className
|
|
22861
22861
|
),
|
|
22862
22862
|
children: Array.from({ length: columns }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
22863
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22864
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22863
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Icon, { size: "lg" }),
|
|
22864
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
22865
22865
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22866
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22867
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22866
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22867
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
22868
22868
|
] })
|
|
22869
22869
|
] }) }, i))
|
|
22870
22870
|
}
|
|
@@ -23005,7 +23005,7 @@ function useContentLoading(isLoading) {
|
|
|
23005
23005
|
|
|
23006
23006
|
function ParagraphSkeleton({ className, lines = 4 }) {
|
|
23007
23007
|
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
23008
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23008
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: lineWidths[index % lineWidths.length] }, index)) });
|
|
23009
23009
|
}
|
|
23010
23010
|
function ListSkeleton({
|
|
23011
23011
|
className,
|
|
@@ -23015,12 +23015,12 @@ function ListSkeleton({
|
|
|
23015
23015
|
}) {
|
|
23016
23016
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-3", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
23017
23017
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
23018
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23019
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23018
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
23019
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-32 md:w-48" })
|
|
23020
23020
|
] }),
|
|
23021
23021
|
showActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
23022
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23023
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23022
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-8" }),
|
|
23023
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4" })
|
|
23024
23024
|
] })
|
|
23025
23025
|
] }, index)) });
|
|
23026
23026
|
}
|
|
@@ -23030,13 +23030,13 @@ function TableSkeleton({
|
|
|
23030
23030
|
columns = 4
|
|
23031
23031
|
}) {
|
|
23032
23032
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-4", className), children: [
|
|
23033
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23033
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "w-3/4" }, index)) }),
|
|
23034
23034
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23035
23035
|
"div",
|
|
23036
23036
|
{
|
|
23037
23037
|
className: "grid gap-4 border-b border-ods-divider py-2",
|
|
23038
23038
|
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
23039
|
-
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23039
|
+
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-2/3" }, colIndex))
|
|
23040
23040
|
},
|
|
23041
23041
|
rowIndex
|
|
23042
23042
|
)) })
|
|
@@ -23045,13 +23045,13 @@ function TableSkeleton({
|
|
|
23045
23045
|
function FormSkeleton({ className, fields = 4 }) {
|
|
23046
23046
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-6", className), children: [
|
|
23047
23047
|
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23048
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23049
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23050
|
-
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23048
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
23049
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Input, {}),
|
|
23050
|
+
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-48" })
|
|
23051
23051
|
] }, index)),
|
|
23052
23052
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 pt-4", children: [
|
|
23053
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23054
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23053
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Button, {}),
|
|
23054
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Button, { className: "bg-ods-border" })
|
|
23055
23055
|
] })
|
|
23056
23056
|
] });
|
|
23057
23057
|
}
|
|
@@ -23066,7 +23066,7 @@ function NavigationSkeleton({
|
|
|
23066
23066
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex gap-4 md:gap-6", !horizontal && "flex-col", className),
|
|
23067
23067
|
role: "status",
|
|
23068
23068
|
"aria-label": "Loading navigation",
|
|
23069
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23069
|
+
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-16 md:w-20" }, index))
|
|
23070
23070
|
}
|
|
23071
23071
|
);
|
|
23072
23072
|
}
|
|
@@ -23077,30 +23077,30 @@ function ProfileSkeleton({
|
|
|
23077
23077
|
}) {
|
|
23078
23078
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-4", className), children: [
|
|
23079
23079
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
23080
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23080
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Avatar, { size: "lg" }),
|
|
23081
23081
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
23082
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23083
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23084
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23082
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
23083
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-1/3" }),
|
|
23084
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23085
23085
|
] })
|
|
23086
23086
|
] }),
|
|
23087
23087
|
showBio && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23088
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23089
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23090
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23088
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23089
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-4/5" }),
|
|
23090
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
23091
23091
|
] }),
|
|
23092
23092
|
showStats && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-6", children: [
|
|
23093
23093
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
23094
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23095
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23094
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
23095
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "mx-auto w-12" })
|
|
23096
23096
|
] }),
|
|
23097
23097
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
23098
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23099
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23098
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
23099
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "mx-auto w-16" })
|
|
23100
23100
|
] }),
|
|
23101
23101
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
23102
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23103
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23102
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
23103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "mx-auto w-14" })
|
|
23104
23104
|
] })
|
|
23105
23105
|
] })
|
|
23106
23106
|
] });
|
|
@@ -23112,32 +23112,32 @@ function CommentSkeleton({
|
|
|
23112
23112
|
}) {
|
|
23113
23113
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-3", className), children: [
|
|
23114
23114
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
23115
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23115
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
23116
23116
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center gap-4", children: [
|
|
23117
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23118
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23119
|
-
showRating && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-1", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23117
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
23118
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
23119
|
+
showRating && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-1", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Icon, { size: "sm" }, i)) })
|
|
23120
23120
|
] })
|
|
23121
23121
|
] }),
|
|
23122
23122
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 space-y-2", children: [
|
|
23123
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23124
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23125
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23123
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23124
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-3/4" }),
|
|
23125
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
23126
23126
|
] }),
|
|
23127
23127
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 flex gap-4", children: [
|
|
23128
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23130
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23128
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
23129
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
23130
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
23131
23131
|
] }),
|
|
23132
23132
|
showReplies && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ml-11 space-y-4 border-l border-ods-divider pl-4", children: Array.from({ length: 2 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23133
23133
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
23134
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23135
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23136
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23134
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
23135
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-20" }),
|
|
23136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-12" })
|
|
23137
23137
|
] }),
|
|
23138
23138
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11", children: [
|
|
23139
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23140
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23139
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23140
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23141
23141
|
] })
|
|
23142
23142
|
] }, index)) })
|
|
23143
23143
|
] });
|
|
@@ -23150,31 +23150,31 @@ function FeatureListSkeleton({
|
|
|
23150
23150
|
}) {
|
|
23151
23151
|
if (grouped) {
|
|
23152
23152
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-6", className), children: Array.from({ length: 3 }).map((_, groupIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
23153
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23153
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
23154
23154
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-2", children: Array.from({ length: features / 3 }).map((_feature, featureIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
23155
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23156
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23155
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
23156
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23157
23157
|
] }, featureIndex)) })
|
|
23158
23158
|
] }, groupIndex)) });
|
|
23159
23159
|
}
|
|
23160
23160
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-3", className), children: Array.from({ length: features }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
23161
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23162
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23161
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
23162
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23163
23163
|
] }, index)) });
|
|
23164
23164
|
}
|
|
23165
23165
|
function TimelineSkeleton({ className, items = 5 }) {
|
|
23166
23166
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-6", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4", children: [
|
|
23167
23167
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center", children: [
|
|
23168
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23168
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
23169
23169
|
index < items - 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2 h-12 w-px bg-ods-border" })
|
|
23170
23170
|
] }),
|
|
23171
23171
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
23172
23172
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
23173
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23174
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23173
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-1/3" }),
|
|
23174
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23175
23175
|
] }),
|
|
23176
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23177
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23176
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23177
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
23178
23178
|
] })
|
|
23179
23179
|
] }, index)) });
|
|
23180
23180
|
}
|
|
@@ -23190,16 +23190,16 @@ function PricingSkeleton({ className, plans = 3 }) {
|
|
|
23190
23190
|
className
|
|
23191
23191
|
),
|
|
23192
23192
|
children: Array.from({ length: plans }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
23193
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23193
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
23194
23194
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
23195
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23196
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23195
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Heading, { className: "w-1/3" }),
|
|
23196
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-1/4" })
|
|
23197
23197
|
] }),
|
|
23198
23198
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3 py-4", children: Array.from({ length: 5 }).map((_feature, featureIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
23199
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23200
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23199
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
23200
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
23201
23201
|
] }, featureIndex)) }),
|
|
23202
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23202
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Button, { className: "w-full" })
|
|
23203
23203
|
] }) }, index))
|
|
23204
23204
|
}
|
|
23205
23205
|
);
|
|
@@ -23235,12 +23235,12 @@ function MspProfileFormSkeleton({ className, fields = 4 }) {
|
|
|
23235
23235
|
"aria-label": "Loading MSP profile form",
|
|
23236
23236
|
children: [
|
|
23237
23237
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col space-y-2", children: [
|
|
23238
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23239
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23238
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-28" }),
|
|
23239
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { className: "h-full w-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
23240
23240
|
] }),
|
|
23241
23241
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2", children: Array.from({ length: fields }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col space-y-2", children: [
|
|
23242
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23243
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23242
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-40" }),
|
|
23243
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.InteractiveSkeleton.Input, {})
|
|
23244
23244
|
] }, idx)) })
|
|
23245
23245
|
]
|
|
23246
23246
|
}
|
|
@@ -23260,13 +23260,13 @@ function CategoryCardSkeleton({ className }) {
|
|
|
23260
23260
|
role: "status",
|
|
23261
23261
|
"aria-label": "Loading category card",
|
|
23262
23262
|
children: [
|
|
23263
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 flex items-center justify-center gap-6", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23263
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 flex items-center justify-center gap-6", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { variant: "circular", className: "h-10 w-10 flex-shrink-0", "aria-label": "Loading icon" }, i)) }),
|
|
23264
23264
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col space-y-3", children: [
|
|
23265
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23266
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23267
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23265
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Heading, { className: "w-3/4" }),
|
|
23266
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-1/2" }),
|
|
23267
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-full" })
|
|
23268
23268
|
] }),
|
|
23269
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23269
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-[6px]", "aria-label": "Loading button" }) })
|
|
23270
23270
|
]
|
|
23271
23271
|
}
|
|
23272
23272
|
);
|
|
@@ -23283,12 +23283,12 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
23283
23283
|
"aria-label": "Loading category section",
|
|
23284
23284
|
children: [
|
|
23285
23285
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 max-w-xl space-y-2", children: [
|
|
23286
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23287
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23286
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Heading, { className: "w-1/2" }),
|
|
23287
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
23288
23288
|
] }),
|
|
23289
23289
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-6", children: Array.from({ length: subcategories }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23290
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23291
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23290
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
23291
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
23292
23292
|
] }, idx)) })
|
|
23293
23293
|
]
|
|
23294
23294
|
}
|
|
@@ -23299,14 +23299,14 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
23299
23299
|
|
|
23300
23300
|
function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
23301
23301
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-6", className), role: "status", "aria-label": "Loading wizard layout", children: [
|
|
23302
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: Array.from({ length: steps }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23302
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: Array.from({ length: steps }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { className: "h-6 w-24 rounded" }, i)) }),
|
|
23303
23303
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-w-2xl space-y-2", children: [
|
|
23304
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23305
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23304
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Heading, { className: "w-2/3" }),
|
|
23305
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
23306
23306
|
] }),
|
|
23307
23307
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-10 flex justify-between", children: [
|
|
23308
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23309
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23308
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
|
|
23309
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { className: "h-10 w-32 rounded" })
|
|
23310
23310
|
] })
|
|
23311
23311
|
] });
|
|
23312
23312
|
}
|
|
@@ -23698,28 +23698,28 @@ function OrganizationCardSkeleton({
|
|
|
23698
23698
|
}
|
|
23699
23699
|
),
|
|
23700
23700
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
23701
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23702
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23701
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
23702
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
23703
23703
|
] })
|
|
23704
23704
|
] }),
|
|
23705
23705
|
showDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-full items-center overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
23706
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23707
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23706
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23707
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23708
23708
|
] }) }),
|
|
23709
23709
|
showFooter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
23710
23710
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 md:gap-4", children: [
|
|
23711
23711
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
23712
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23713
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23712
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
23713
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
23714
23714
|
] }),
|
|
23715
23715
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
23716
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23717
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23716
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
23717
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
23718
23718
|
] })
|
|
23719
23719
|
] }),
|
|
23720
23720
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 rounded border border-ods-border bg-ods-bg px-2.5 py-1.5", children: [
|
|
23721
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23722
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23721
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
23722
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23723
23723
|
] }) })
|
|
23724
23724
|
] })
|
|
23725
23725
|
] })
|
|
@@ -23796,16 +23796,16 @@ function DeviceCardSkeletonGrid({ count = 12, className }) {
|
|
|
23796
23796
|
|
|
23797
23797
|
function PushButtonSelectorSkeleton({ count = 3, hasTitle }) {
|
|
23798
23798
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", role: "status", "aria-label": "Loading options", children: [
|
|
23799
|
-
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23799
|
+
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { className: "h-5 w-20", "aria-label": "Loading title" }),
|
|
23800
23800
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: count }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-bg p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4", children: [
|
|
23801
23801
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
23802
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23802
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { className: "h-8 w-8", "aria-label": "Loading icon" }),
|
|
23803
23803
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
23804
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23805
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23804
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { variant: "text", className: "mb-2 h-4 w-24", "aria-label": "Loading name" }),
|
|
23805
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { variant: "text", className: "h-4 w-36", "aria-label": "Loading description" })
|
|
23806
23806
|
] })
|
|
23807
23807
|
] }),
|
|
23808
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23808
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.UnifiedSkeleton, { className: "h-6 w-6", "aria-label": "Loading selection state" })
|
|
23809
23809
|
] }) }, i)) })
|
|
23810
23810
|
] });
|
|
23811
23811
|
}
|
|
@@ -23927,9 +23927,9 @@ function PushButtonSelector({
|
|
|
23927
23927
|
option.id
|
|
23928
23928
|
);
|
|
23929
23929
|
if (option.disabled && option.disabledReason) {
|
|
23930
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23931
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23932
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23930
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.Tooltip, { children: [
|
|
23931
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
23932
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
23933
23933
|
] }, option.id);
|
|
23934
23934
|
}
|
|
23935
23935
|
return optionEl;
|
|
@@ -23974,7 +23974,7 @@ function PushButtonSelector({
|
|
|
23974
23974
|
lazyLoad.isFetchingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-2 text-center text-ods-text-secondary text-h6", children: "Loading more\u2026" }) : null
|
|
23975
23975
|
] }) : null
|
|
23976
23976
|
] });
|
|
23977
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23977
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
23978
23978
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
23979
23979
|
searchInput,
|
|
23980
23980
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24144,10 +24144,10 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
24144
24144
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
24145
24145
|
}
|
|
24146
24146
|
) }),
|
|
24147
|
-
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children:
|
|
24147
|
+
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children: _chunkNDLFK57Dcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo" ? (
|
|
24148
24148
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
24149
24149
|
// fit="cover" crops to the aspect-video cell.
|
|
24150
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24150
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
24151
24151
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24152
24152
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
24153
24153
|
{
|
|
@@ -24280,7 +24280,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
24280
24280
|
}
|
|
24281
24281
|
)
|
|
24282
24282
|
] }),
|
|
24283
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24283
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
24284
24284
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
24285
24285
|
]
|
|
24286
24286
|
}
|
|
@@ -24392,7 +24392,7 @@ function SEOEditorPreview({
|
|
|
24392
24392
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-2", children: [
|
|
24393
24393
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
24394
24394
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24395
|
-
|
|
24395
|
+
_chunkC27F6GBZcjs.Field,
|
|
24396
24396
|
{
|
|
24397
24397
|
label: "SEO Title",
|
|
24398
24398
|
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${SEO_TITLE_MAX_LENGTH})` : null,
|
|
@@ -24432,7 +24432,7 @@ function SEOEditorPreview({
|
|
|
24432
24432
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
24433
24433
|
] }),
|
|
24434
24434
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24435
|
-
|
|
24435
|
+
_chunkC27F6GBZcjs.Field,
|
|
24436
24436
|
{
|
|
24437
24437
|
label: "SEO Keywords",
|
|
24438
24438
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -24464,7 +24464,7 @@ function SEOEditorPreview({
|
|
|
24464
24464
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-2", children: [
|
|
24465
24465
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
24466
24466
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24467
|
-
|
|
24467
|
+
_chunkC27F6GBZcjs.Field,
|
|
24468
24468
|
{
|
|
24469
24469
|
label: "SEO Description",
|
|
24470
24470
|
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
@@ -24868,7 +24868,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
24868
24868
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, modeClassName, className),
|
|
24869
24869
|
style: customStyle,
|
|
24870
24870
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63QUMV72cjs.OpenFrameLogo, { className: "h-5 w-5", lowerPathColor: iconLowerPath, upperPathColor: iconUpperPath }) : void 0,
|
|
24871
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24871
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNDLFK57Dcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
24872
24872
|
children
|
|
24873
24873
|
}
|
|
24874
24874
|
);
|
|
@@ -25138,11 +25138,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
25138
25138
|
|
|
25139
25139
|
function VideoBitesDisplay({
|
|
25140
25140
|
bites,
|
|
25141
|
-
title =
|
|
25141
|
+
title = _chunkNDLFK57Dcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
25142
25142
|
filterPublished = true,
|
|
25143
25143
|
showTitle = true
|
|
25144
25144
|
}) {
|
|
25145
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25145
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
25146
25146
|
}
|
|
25147
25147
|
|
|
25148
25148
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -25212,7 +25212,7 @@ function WalkthroughVideo({
|
|
|
25212
25212
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
25213
25213
|
};
|
|
25214
25214
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
25215
|
-
const hydrated =
|
|
25215
|
+
const hydrated = _chunkC27F6GBZcjs.useIsHydrated.call(void 0, );
|
|
25216
25216
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
25217
25217
|
if (!hydrated) return false;
|
|
25218
25218
|
try {
|
|
@@ -25611,7 +25611,7 @@ function WalkthroughVideo({
|
|
|
25611
25611
|
},
|
|
25612
25612
|
children: [
|
|
25613
25613
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25614
|
-
|
|
25614
|
+
_chunkC27F6GBZcjs.VideoHoverPreviewSurface,
|
|
25615
25615
|
{
|
|
25616
25616
|
url: video.mainVideoUrl || "",
|
|
25617
25617
|
posterUrl: video.posterUrl,
|
|
@@ -25634,7 +25634,7 @@ function WalkthroughVideo({
|
|
|
25634
25634
|
`card-${embedUrlKey}`
|
|
25635
25635
|
) }),
|
|
25636
25636
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25637
|
-
|
|
25637
|
+
_chunkC27F6GBZcjs.CardHitLayer,
|
|
25638
25638
|
{
|
|
25639
25639
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
25640
25640
|
onPointerDown: pausePreviewNow,
|
|
@@ -25643,7 +25643,7 @@ function WalkthroughVideo({
|
|
|
25643
25643
|
}
|
|
25644
25644
|
),
|
|
25645
25645
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "pointer-events-none absolute bottom-[var(--spacing-system-xsf)] left-[var(--spacing-system-xsf)] z-20 flex max-w-[calc(100%-2*var(--spacing-system-xsf))] items-center gap-[var(--spacing-system-xsf)] rounded-full bg-ods-overlay py-[var(--spacing-system-xxs)] pl-[var(--spacing-system-xxs)] pr-[var(--spacing-system-sf)] text-ods-text-primary text-h6", children: [
|
|
25646
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25646
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNDLFK57Dcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
25647
25647
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
25648
25648
|
] }),
|
|
25649
25649
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -25656,7 +25656,7 @@ function WalkthroughVideo({
|
|
|
25656
25656
|
onPointerDown: (e) => e.stopPropagation(),
|
|
25657
25657
|
onClick: onUnmuteOrPlay,
|
|
25658
25658
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
25659
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25659
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.VideoUnmuteGlyph, {})
|
|
25660
25660
|
}
|
|
25661
25661
|
),
|
|
25662
25662
|
showPlaybackControls && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute left-[var(--spacing-system-xsf)] top-[var(--spacing-system-xsf)] z-30 flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -25749,7 +25749,7 @@ function WalkthroughVideo({
|
|
|
25749
25749
|
children: [
|
|
25750
25750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
25751
25751
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25752
|
-
|
|
25752
|
+
_chunkC27F6GBZcjs.Video,
|
|
25753
25753
|
{
|
|
25754
25754
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
25755
25755
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -25800,7 +25800,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
25800
25800
|
var _reactquery = require('@tanstack/react-query');
|
|
25801
25801
|
function useWalkthroughVideo(opts) {
|
|
25802
25802
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
25803
|
-
const captions =
|
|
25803
|
+
const captions = _chunkC27F6GBZcjs.useCaptions.call(void 0, );
|
|
25804
25804
|
const query = _reactquery.useQuery.call(void 0, {
|
|
25805
25805
|
queryKey: ["walkthrough-video", endpoint],
|
|
25806
25806
|
enabled,
|
|
@@ -25998,7 +25998,7 @@ function VideoSourceSelector({
|
|
|
25998
25998
|
}
|
|
25999
25999
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
26000
26000
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
26001
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26001
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
26002
26002
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26003
26003
|
"button",
|
|
26004
26004
|
{
|
|
@@ -26522,7 +26522,7 @@ function HighlightVideoSection({
|
|
|
26522
26522
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
26523
26523
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
26524
26524
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
26525
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26525
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
26526
26526
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26527
26527
|
"button",
|
|
26528
26528
|
{
|
|
@@ -26549,7 +26549,7 @@ function HighlightConfigSection({
|
|
|
26549
26549
|
disabled = false,
|
|
26550
26550
|
className = ""
|
|
26551
26551
|
}) {
|
|
26552
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26552
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26553
26553
|
Select,
|
|
26554
26554
|
{
|
|
26555
26555
|
value: targetDurationSeconds.toString(),
|
|
@@ -27236,7 +27236,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
27236
27236
|
if (level) onPermissionChange(categoryId, policy.id, level);
|
|
27237
27237
|
};
|
|
27238
27238
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0 md:items-center", children: [
|
|
27239
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27239
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRE6PGOSScjs.ToolIcon, { toolType: policy.toolName, size: 16 }) }),
|
|
27240
27240
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
27241
27241
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h4", title: policy.name, children: policy.name }),
|
|
27242
27242
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "break-all text-ods-text-secondary text-h6", children: policy.commandPattern }),
|
|
@@ -27262,7 +27262,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
27262
27262
|
] });
|
|
27263
27263
|
};
|
|
27264
27264
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
27265
|
-
const { innerRef, containerStyle } =
|
|
27265
|
+
const { innerRef, containerStyle } = _chunkC27F6GBZcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
27266
27266
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
27267
27267
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27268
27268
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -27428,13 +27428,13 @@ function WaitlistForm({
|
|
|
27428
27428
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
27429
27429
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
27430
27430
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
27431
|
-
const { toast } =
|
|
27432
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
27431
|
+
const { toast } = _chunkXNTQHC26cjs.useToast.call(void 0, );
|
|
27432
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkXNTQHC26cjs.useHumanitySignals.call(void 0, );
|
|
27433
27433
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
27434
|
-
const isClient =
|
|
27434
|
+
const isClient = _chunkC27F6GBZcjs.useIsHydrated.call(void 0, );
|
|
27435
27435
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
27436
27436
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
27437
|
-
const rescue =
|
|
27437
|
+
const rescue = _chunkXNTQHC26cjs.useFormRescue.call(void 0, {
|
|
27438
27438
|
form: rescueForm,
|
|
27439
27439
|
// The phone is reported as filled only; its value never leaves the form early.
|
|
27440
27440
|
fieldNames: ["email", "phone"],
|
|
@@ -27992,7 +27992,7 @@ function useContainedResizableSize({
|
|
|
27992
27992
|
const clampToContainer = _react.useCallback.call(void 0,
|
|
27993
27993
|
(value) => {
|
|
27994
27994
|
const effectiveMax = available > 0 ? Math.min(maxSize, available - 40) : maxSize;
|
|
27995
|
-
return
|
|
27995
|
+
return _chunkRE6PGOSScjs.clamp.call(void 0, value, minSize, Math.max(minSize, effectiveMax));
|
|
27996
27996
|
},
|
|
27997
27997
|
[available, minSize, maxSize]
|
|
27998
27998
|
);
|
|
@@ -28020,7 +28020,15 @@ function useContainedResizableSize({
|
|
|
28020
28020
|
} catch (e39) {
|
|
28021
28021
|
}
|
|
28022
28022
|
}, [enabled, size, storageKey]);
|
|
28023
|
-
return { size, setSize };
|
|
28023
|
+
return { size, setSize, clampSize: clampToContainer };
|
|
28024
|
+
}
|
|
28025
|
+
function finishDrag(startRef, dragSizeRef, commit) {
|
|
28026
|
+
if (!startRef.current) return;
|
|
28027
|
+
startRef.current = null;
|
|
28028
|
+
if (dragSizeRef.current !== null) commit(dragSizeRef.current);
|
|
28029
|
+
dragSizeRef.current = null;
|
|
28030
|
+
document.body.style.cursor = "";
|
|
28031
|
+
document.body.style.userSelect = "";
|
|
28024
28032
|
}
|
|
28025
28033
|
function AppLayoutDrawerResizeHandle({
|
|
28026
28034
|
side,
|
|
@@ -28028,10 +28036,18 @@ function AppLayoutDrawerResizeHandle({
|
|
|
28028
28036
|
minSize,
|
|
28029
28037
|
maxSize,
|
|
28030
28038
|
onSize,
|
|
28039
|
+
clampSize,
|
|
28040
|
+
panelRef,
|
|
28031
28041
|
ariaLabel
|
|
28032
28042
|
}) {
|
|
28033
28043
|
const isHorizontal = HORIZONTAL_SIDES.has(side);
|
|
28034
28044
|
const startRef = _react.useRef.call(void 0, null);
|
|
28045
|
+
const dragSizeRef = _react.useRef.call(void 0, null);
|
|
28046
|
+
const onSizeRef = _react.useRef.call(void 0, onSize);
|
|
28047
|
+
_react.useEffect.call(void 0, () => {
|
|
28048
|
+
onSizeRef.current = onSize;
|
|
28049
|
+
}, [onSize]);
|
|
28050
|
+
_react.useEffect.call(void 0, () => () => finishDrag(startRef, dragSizeRef, onSizeRef.current), []);
|
|
28035
28051
|
const direction = side === "right" || side === "bottom" ? -1 : 1;
|
|
28036
28052
|
const handlePointerDown = (e) => {
|
|
28037
28053
|
if (e.button !== 0 && e.pointerType === "mouse") return;
|
|
@@ -28043,19 +28059,21 @@ function AppLayoutDrawerResizeHandle({
|
|
|
28043
28059
|
};
|
|
28044
28060
|
const handlePointerMove = (e) => {
|
|
28045
28061
|
const start = startRef.current;
|
|
28046
|
-
|
|
28062
|
+
const panel = panelRef.current;
|
|
28063
|
+
if (!start || !panel) return;
|
|
28047
28064
|
const delta = isHorizontal ? e.clientX - start.x : e.clientY - start.y;
|
|
28048
|
-
|
|
28065
|
+
const next = clampSize(start.size + delta * direction);
|
|
28066
|
+
dragSizeRef.current = next;
|
|
28067
|
+
panel.style[isHorizontal ? "width" : "height"] = `${next}px`;
|
|
28068
|
+
e.currentTarget.setAttribute("aria-valuenow", String(Math.round(next)));
|
|
28049
28069
|
};
|
|
28050
28070
|
const endDrag = (e) => {
|
|
28051
28071
|
if (!startRef.current) return;
|
|
28052
|
-
startRef
|
|
28072
|
+
finishDrag(startRef, dragSizeRef, onSize);
|
|
28053
28073
|
try {
|
|
28054
28074
|
e.currentTarget.releasePointerCapture(e.pointerId);
|
|
28055
28075
|
} catch (e40) {
|
|
28056
28076
|
}
|
|
28057
|
-
document.body.style.cursor = "";
|
|
28058
|
-
document.body.style.userSelect = "";
|
|
28059
28077
|
};
|
|
28060
28078
|
const handleKeyDown = (e) => {
|
|
28061
28079
|
const step = e.shiftKey ? 40 : 16;
|
|
@@ -28101,6 +28119,7 @@ function AppLayoutDrawerResizeHandle({
|
|
|
28101
28119
|
onPointerMove: handlePointerMove,
|
|
28102
28120
|
onPointerUp: endDrag,
|
|
28103
28121
|
onPointerCancel: endDrag,
|
|
28122
|
+
onLostPointerCapture: endDrag,
|
|
28104
28123
|
onKeyDown: handleKeyDown,
|
|
28105
28124
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
28106
28125
|
"group absolute z-20 flex touch-none select-none",
|
|
@@ -28204,7 +28223,8 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
28204
28223
|
mq.addEventListener("change", update);
|
|
28205
28224
|
return () => mq.removeEventListener("change", update);
|
|
28206
28225
|
}, [mobileBreakpoint]);
|
|
28207
|
-
const
|
|
28226
|
+
const panelRef = _react.useRef.call(void 0, null);
|
|
28227
|
+
const { size, setSize, clampSize } = useContainedResizableSize({
|
|
28208
28228
|
enabled: resizable,
|
|
28209
28229
|
isHorizontal,
|
|
28210
28230
|
minSize,
|
|
@@ -28224,7 +28244,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
28224
28244
|
"data-state": open ? "open" : "closed",
|
|
28225
28245
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
28226
28246
|
"absolute inset-0 z-[102] outline-none data-[state=closed]:pointer-events-none data-[state=open]:pointer-events-auto data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
28227
|
-
|
|
28247
|
+
_chunkC27F6GBZcjs.OVERLAY_BACKDROP_CLASS,
|
|
28228
28248
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
28229
28249
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
28230
28250
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -28272,12 +28292,15 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
28272
28292
|
minSize,
|
|
28273
28293
|
maxSize,
|
|
28274
28294
|
onSize: setSize,
|
|
28295
|
+
clampSize,
|
|
28296
|
+
panelRef,
|
|
28275
28297
|
ariaLabel: resizeAriaLabel
|
|
28276
28298
|
}
|
|
28277
28299
|
) : null,
|
|
28278
28300
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28279
28301
|
"div",
|
|
28280
28302
|
{
|
|
28303
|
+
ref: panelRef,
|
|
28281
28304
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
28282
28305
|
appLayoutDrawerPanelVariants({ side, flush }),
|
|
28283
28306
|
// Mobile: fill the container (the side already pins one axis) and
|
|
@@ -28300,11 +28323,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
28300
28323
|
}
|
|
28301
28324
|
);
|
|
28302
28325
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
28303
|
-
var AppLayoutDrawerHeader =
|
|
28304
|
-
var AppLayoutDrawerTitle =
|
|
28305
|
-
var AppLayoutDrawerDescription =
|
|
28306
|
-
var AppLayoutDrawerBody =
|
|
28307
|
-
var AppLayoutDrawerFooter =
|
|
28326
|
+
var AppLayoutDrawerHeader = _chunkC27F6GBZcjs.DrawerHeader;
|
|
28327
|
+
var AppLayoutDrawerTitle = _chunkC27F6GBZcjs.DrawerTitle;
|
|
28328
|
+
var AppLayoutDrawerDescription = _chunkC27F6GBZcjs.DrawerDescription;
|
|
28329
|
+
var AppLayoutDrawerBody = _chunkC27F6GBZcjs.DrawerBody;
|
|
28330
|
+
var AppLayoutDrawerFooter = _chunkC27F6GBZcjs.DrawerFooter;
|
|
28308
28331
|
|
|
28309
28332
|
// src/components/features/notifications/notification-tile.tsx
|
|
28310
28333
|
|
|
@@ -28323,7 +28346,7 @@ var typeColorByVariant = {
|
|
|
28323
28346
|
error: "text-ods-error"
|
|
28324
28347
|
};
|
|
28325
28348
|
var progressColorByVariant2 = {
|
|
28326
|
-
...
|
|
28349
|
+
..._chunkXNTQHC26cjs.progressColorByVariant,
|
|
28327
28350
|
default: "bg-ods-accent",
|
|
28328
28351
|
info: "bg-ods-accent"
|
|
28329
28352
|
};
|
|
@@ -28396,9 +28419,9 @@ function NotificationTile({
|
|
|
28396
28419
|
height: 16,
|
|
28397
28420
|
unoptimized: true
|
|
28398
28421
|
}
|
|
28399
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
28422
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkXNTQHC26cjs.dotColorByVariant[accentVariant]) }))) }),
|
|
28400
28423
|
type ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "min-w-0 flex-1 truncate text-h5", typeColorByVariant[accentVariant]), title: type, children: type }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1" }),
|
|
28401
|
-
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
28424
|
+
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkC27F6GBZcjs.formatTicketRelativeTime.call(void 0, createdAtIso) }) : null,
|
|
28402
28425
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
28403
28426
|
{
|
|
28404
28427
|
active: isLive,
|
|
@@ -28505,7 +28528,7 @@ function NotificationDrawer({
|
|
|
28505
28528
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
28506
28529
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28507
28530
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-m)] pt-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28508
|
-
|
|
28531
|
+
_chunkC27F6GBZcjs.DrawerTitle,
|
|
28509
28532
|
{
|
|
28510
28533
|
hideClose: true,
|
|
28511
28534
|
className: "truncate",
|
|
@@ -28564,8 +28587,8 @@ function NotificationDrawer({
|
|
|
28564
28587
|
}
|
|
28565
28588
|
) });
|
|
28566
28589
|
}
|
|
28567
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28568
|
-
|
|
28590
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28591
|
+
_chunkC27F6GBZcjs.DrawerContent,
|
|
28569
28592
|
{
|
|
28570
28593
|
side: "right",
|
|
28571
28594
|
"aria-describedby": void 0,
|
|
@@ -28670,7 +28693,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
28670
28693
|
] });
|
|
28671
28694
|
}
|
|
28672
28695
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
28673
|
-
const { supported, permission, request } =
|
|
28696
|
+
const { supported, permission, request } = _chunkXNTQHC26cjs.useNotificationPermission.call(void 0, );
|
|
28674
28697
|
if (!supported) return null;
|
|
28675
28698
|
const blocked = permission === "denied";
|
|
28676
28699
|
const handleChange = async (value) => {
|
|
@@ -28848,13 +28871,13 @@ function getApprovalMeta(notification) {
|
|
|
28848
28871
|
function resolutionToStatus(resolution) {
|
|
28849
28872
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
28850
28873
|
case "APPROVED":
|
|
28851
|
-
return
|
|
28874
|
+
return _chunkC27F6GBZcjs.APPROVAL_STATUS.APPROVED;
|
|
28852
28875
|
case "REJECTED":
|
|
28853
|
-
return
|
|
28876
|
+
return _chunkC27F6GBZcjs.APPROVAL_STATUS.REJECTED;
|
|
28854
28877
|
case "CANCELLED":
|
|
28855
|
-
return
|
|
28878
|
+
return _chunkC27F6GBZcjs.APPROVAL_STATUS.CANCELLED;
|
|
28856
28879
|
default:
|
|
28857
|
-
return
|
|
28880
|
+
return _chunkC27F6GBZcjs.APPROVAL_STATUS.PENDING;
|
|
28858
28881
|
}
|
|
28859
28882
|
}
|
|
28860
28883
|
function approvalMetaToBatchData(approval) {
|
|
@@ -28895,7 +28918,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28895
28918
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _620 => _620.resolution]));
|
|
28896
28919
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28897
28920
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28898
|
-
const { innerRef, containerStyle } =
|
|
28921
|
+
const { innerRef, containerStyle } = _chunkC27F6GBZcjs.useCollapsible.call(void 0, { expanded });
|
|
28899
28922
|
if (!approval || !batchData) return null;
|
|
28900
28923
|
const tileNotification = {
|
|
28901
28924
|
...notification,
|
|
@@ -28949,7 +28972,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28949
28972
|
}
|
|
28950
28973
|
)
|
|
28951
28974
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28952
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28975
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ApprovalStatusTag, { status }),
|
|
28953
28976
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
28954
28977
|
"by ",
|
|
28955
28978
|
approval.resolvedByName
|
|
@@ -28967,12 +28990,12 @@ function ApprovalRequestNotificationTile({
|
|
|
28967
28990
|
"aria-expanded": expanded,
|
|
28968
28991
|
"aria-label": toggleLabel,
|
|
28969
28992
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
28970
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28993
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.ExpandChevron, { expanded })
|
|
28971
28994
|
}
|
|
28972
28995
|
)
|
|
28973
28996
|
] }),
|
|
28974
28997
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-t border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28975
|
-
|
|
28998
|
+
_chunkC27F6GBZcjs.ApprovalBatchMessage,
|
|
28976
28999
|
{
|
|
28977
29000
|
data: batchData,
|
|
28978
29001
|
showExecutionStatus: false,
|
|
@@ -29045,7 +29068,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
29045
29068
|
const { label, imageUrl } = option;
|
|
29046
29069
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
29047
29070
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
29048
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29071
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNDLFK57Dcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
29049
29072
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
29050
29073
|
] }),
|
|
29051
29074
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -29129,7 +29152,7 @@ function TimeTrackerPanel({
|
|
|
29129
29152
|
}));
|
|
29130
29153
|
const selectedCustomer = customerAutocompleteOptions.find((o) => o.value === selectedCustomerId);
|
|
29131
29154
|
const customerStartAdornment = selectedCustomer ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29132
|
-
|
|
29155
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
29133
29156
|
{
|
|
29134
29157
|
src: selectedCustomer.imageUrl,
|
|
29135
29158
|
alt: selectedCustomer.label,
|
|
@@ -29308,7 +29331,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
29308
29331
|
function StatusTag({ status }) {
|
|
29309
29332
|
if (status === "tracking") {
|
|
29310
29333
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29311
|
-
|
|
29334
|
+
_chunkC27F6GBZcjs.Tag,
|
|
29312
29335
|
{
|
|
29313
29336
|
variant: "success",
|
|
29314
29337
|
className: STATUS_TAG_SKIN,
|
|
@@ -29318,9 +29341,9 @@ function StatusTag({ status }) {
|
|
|
29318
29341
|
);
|
|
29319
29342
|
}
|
|
29320
29343
|
if (status === "paused") {
|
|
29321
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29344
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
29322
29345
|
}
|
|
29323
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29346
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
29324
29347
|
}
|
|
29325
29348
|
function LastEntryRow({ entry, onClick }) {
|
|
29326
29349
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0", children: [
|
|
@@ -29489,7 +29512,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
29489
29512
|
"data-state": isOpen ? "open" : "closed",
|
|
29490
29513
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
29491
29514
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
29492
|
-
|
|
29515
|
+
_chunkC27F6GBZcjs.OVERLAY_BACKDROP_CLASS,
|
|
29493
29516
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
29494
29517
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
29495
29518
|
)
|
|
@@ -29541,7 +29564,7 @@ function RemoteSessionScope({ children, className }) {
|
|
|
29541
29564
|
function RemoteSessionOrgLogo({ name, logoUrl, sizePx, className }) {
|
|
29542
29565
|
if (logoUrl) {
|
|
29543
29566
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29544
|
-
|
|
29567
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
29545
29568
|
{
|
|
29546
29569
|
variant: "square",
|
|
29547
29570
|
fit: "contain",
|
|
@@ -29737,7 +29760,7 @@ function RemoteSessionSummary({
|
|
|
29737
29760
|
...dragHandlers,
|
|
29738
29761
|
children: [
|
|
29739
29762
|
technician ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29740
|
-
|
|
29763
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
29741
29764
|
{
|
|
29742
29765
|
variant: "round",
|
|
29743
29766
|
sizePx: 48,
|
|
@@ -29793,7 +29816,7 @@ var RemoteSessionMinimizedChip = _react.forwardRef.call(void 0,
|
|
|
29793
29816
|
...dragHandlers,
|
|
29794
29817
|
children: [
|
|
29795
29818
|
technician ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29796
|
-
|
|
29819
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
29797
29820
|
{
|
|
29798
29821
|
sizePx: 48,
|
|
29799
29822
|
src: _nullishCoalesce(party.technicianAvatarUrl, () => ( void 0)),
|
|
@@ -29942,7 +29965,7 @@ function RemoteSessionChatMessageRow({
|
|
|
29942
29965
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
29943
29966
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-xs)]", children: [
|
|
29944
29967
|
isTechnician && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29945
|
-
|
|
29968
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
29946
29969
|
{
|
|
29947
29970
|
variant: "round",
|
|
29948
29971
|
sizePx: 16,
|
|
@@ -30158,7 +30181,7 @@ function BoardColumnHeader({
|
|
|
30158
30181
|
}) {
|
|
30159
30182
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
30160
30183
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
30161
|
-
const useStatusVariant =
|
|
30184
|
+
const useStatusVariant = _chunkC27F6GBZcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
30162
30185
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
30163
30186
|
if (collapsed) {
|
|
30164
30187
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -30174,7 +30197,7 @@ function BoardColumnHeader({
|
|
|
30174
30197
|
}
|
|
30175
30198
|
),
|
|
30176
30199
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30177
|
-
|
|
30200
|
+
_chunkC27F6GBZcjs.TicketStatusTag,
|
|
30178
30201
|
{
|
|
30179
30202
|
status: tagStatus,
|
|
30180
30203
|
label: column.label,
|
|
@@ -30187,7 +30210,7 @@ function BoardColumnHeader({
|
|
|
30187
30210
|
}
|
|
30188
30211
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30189
30212
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30213
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
30191
30214
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
30192
30215
|
] }),
|
|
30193
30216
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -30267,7 +30290,7 @@ function cardPositions(root) {
|
|
|
30267
30290
|
}
|
|
30268
30291
|
function useLaneScrollAnchor(scrollRef, tickets) {
|
|
30269
30292
|
const positionsRef = _react.useRef.call(void 0, []);
|
|
30270
|
-
|
|
30293
|
+
_chunkWT4HURQNcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
30271
30294
|
const root = scrollRef.current;
|
|
30272
30295
|
if (!root) return;
|
|
30273
30296
|
const previous = positionsRef.current;
|
|
@@ -30339,7 +30362,7 @@ function holdMoveDragEffect(element) {
|
|
|
30339
30362
|
|
|
30340
30363
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
30341
30364
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
30342
|
-
const { innerRef, containerStyle } =
|
|
30365
|
+
const { innerRef, containerStyle } = _chunkC27F6GBZcjs.useCollapsible.call(void 0, { expanded });
|
|
30343
30366
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
30344
30367
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
30345
30368
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -30368,7 +30391,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
30368
30391
|
}
|
|
30369
30392
|
),
|
|
30370
30393
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: "pt-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30371
|
-
|
|
30394
|
+
_chunkC27F6GBZcjs.ApprovalBatchMessage,
|
|
30372
30395
|
{
|
|
30373
30396
|
className: "mb-0",
|
|
30374
30397
|
data: {
|
|
@@ -30448,7 +30471,7 @@ function TicketCardBody({
|
|
|
30448
30471
|
onLinkClick
|
|
30449
30472
|
}) {
|
|
30450
30473
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
30451
|
-
const newMessageTextColor = columnColor ?
|
|
30474
|
+
const newMessageTextColor = columnColor ? _chunkC27F6GBZcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
30452
30475
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _658 => _658.deviceHostnames, 'optionalAccess', _659 => _659.length]) || ticket.organizationName);
|
|
30453
30476
|
const deviceText = [_optionalChain([ticket, 'access', _660 => _660.deviceHostnames, 'optionalAccess', _661 => _661.join, 'call', _662 => _662(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
30454
30477
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _663 => _663.assignees, 'optionalAccess', _664 => _664.length]) || renderAssignSlot);
|
|
@@ -30470,7 +30493,7 @@ function TicketCardBody({
|
|
|
30470
30493
|
},
|
|
30471
30494
|
a.id
|
|
30472
30495
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30473
|
-
|
|
30496
|
+
_chunkNDLFK57Dcjs.SquareAvatar,
|
|
30474
30497
|
{
|
|
30475
30498
|
src: a.avatarUrl,
|
|
30476
30499
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -30487,8 +30510,8 @@ function TicketCardBody({
|
|
|
30487
30510
|
] })
|
|
30488
30511
|
] }) : null
|
|
30489
30512
|
] }) : null;
|
|
30490
|
-
const timestampLabel = ticket.createdAt ?
|
|
30491
|
-
const tooltipLabel = ticket.createdAt ?
|
|
30513
|
+
const timestampLabel = ticket.createdAt ? _chunkC27F6GBZcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
30514
|
+
const tooltipLabel = ticket.createdAt ? _chunkC27F6GBZcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
30492
30515
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
30493
30516
|
const metaClass = "truncate text-ods-text-secondary text-h6";
|
|
30494
30517
|
const meta = href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30515,9 +30538,9 @@ function TicketCardBody({
|
|
|
30515
30538
|
rightSection
|
|
30516
30539
|
] }),
|
|
30517
30540
|
_optionalChain([ticket, 'access', _667 => _667.tags, 'optionalAccess', _668 => _668.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
30518
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30519
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30520
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30541
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkC27F6GBZcjs.Tooltip, { children: [
|
|
30542
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipTrigger, { asChild: true, children: meta }),
|
|
30543
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.TooltipContent, { children: tooltipLabel })
|
|
30521
30544
|
] }) }) : meta),
|
|
30522
30545
|
ticket.escalatedByUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] text-ods-open-yellow text-h6", children: [
|
|
30523
30546
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -30537,7 +30560,7 @@ function TicketCardBody({
|
|
|
30537
30560
|
}
|
|
30538
30561
|
),
|
|
30539
30562
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30540
|
-
|
|
30563
|
+
_chunkC27F6GBZcjs.Tag,
|
|
30541
30564
|
{
|
|
30542
30565
|
label: "New Message",
|
|
30543
30566
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -30757,8 +30780,8 @@ function TicketTagRow({ tags }) {
|
|
|
30757
30780
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
30758
30781
|
const hidden = tags.length - visible.length;
|
|
30759
30782
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
30760
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30761
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30783
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
30784
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC27F6GBZcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
30762
30785
|
] });
|
|
30763
30786
|
}
|
|
30764
30787
|
|
|
@@ -31000,7 +31023,7 @@ function resolveBoardDrop(columns, { source, target }) {
|
|
|
31000
31023
|
// src/components/features/board/use-board-collapse.ts
|
|
31001
31024
|
|
|
31002
31025
|
function useBoardCollapse(storageKey) {
|
|
31003
|
-
const [persisted, setPersisted] =
|
|
31026
|
+
const [persisted, setPersisted] = _chunkXNTQHC26cjs.useLocalStorage.call(void 0, _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")), {});
|
|
31004
31027
|
const [memory, setMemory] = _react.useState.call(void 0, {});
|
|
31005
31028
|
const collapsed = storageKey ? persisted : memory;
|
|
31006
31029
|
const setMap = storageKey ? setPersisted : setMemory;
|
|
@@ -31071,7 +31094,7 @@ var DROP_EASING = "cubic-bezier(0.2, 0, 0, 1)";
|
|
|
31071
31094
|
var DRAG_PREVIEW_Z = 1200;
|
|
31072
31095
|
var ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"];
|
|
31073
31096
|
function Board(props) {
|
|
31074
|
-
const dragAndDropEnabled =
|
|
31097
|
+
const dragAndDropEnabled = _chunkRE6PGOSScjs.useMediaQuery.call(void 0, _chunkXNTQHC26cjs.DRAG_AND_DROP_MEDIA_QUERY);
|
|
31075
31098
|
if (dragAndDropEnabled === void 0) {
|
|
31076
31099
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex h-full min-h-0 flex-col", props.className) });
|
|
31077
31100
|
}
|
|
@@ -31104,7 +31127,7 @@ function DragBoard({
|
|
|
31104
31127
|
onThumbPointerMove,
|
|
31105
31128
|
onThumbPointerUp,
|
|
31106
31129
|
onThumbPointerCancel
|
|
31107
|
-
} =
|
|
31130
|
+
} = _chunkXNTQHC26cjs.useHorizontalScrollbar.call(void 0, );
|
|
31108
31131
|
const columnsRef = _react.useRef.call(void 0, columns);
|
|
31109
31132
|
const onChangeRef = _react.useRef.call(void 0, onChange);
|
|
31110
31133
|
const boardRef = _react.useRef.call(void 0, null);
|
|
@@ -31293,7 +31316,7 @@ function DragBoard({
|
|
|
31293
31316
|
})
|
|
31294
31317
|
);
|
|
31295
31318
|
}, []);
|
|
31296
|
-
|
|
31319
|
+
_chunkWT4HURQNcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
31297
31320
|
if (!landing) return void 0;
|
|
31298
31321
|
const finish = () => {
|
|
31299
31322
|
landingTimer.current = null;
|
|
@@ -31535,7 +31558,7 @@ function useSortableListContext() {
|
|
|
31535
31558
|
}
|
|
31536
31559
|
function SortableList({ onReorder, getItemLabel, disabled = false, className, children }) {
|
|
31537
31560
|
const listRef = _react.useRef.call(void 0, null);
|
|
31538
|
-
const dragAndDropEnabled =
|
|
31561
|
+
const dragAndDropEnabled = _chunkXNTQHC26cjs.useDragAndDropEnabled.call(void 0, );
|
|
31539
31562
|
const dragType = _react.useId.call(void 0, );
|
|
31540
31563
|
const [announcement, setAnnouncement] = _react.useState.call(void 0, "");
|
|
31541
31564
|
const onReorderRef = _react.useRef.call(void 0, onReorder);
|
|
@@ -31627,7 +31650,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
31627
31650
|
})
|
|
31628
31651
|
);
|
|
31629
31652
|
}, [dragType, disabled, dragAndDropEnabled, readItems, reorder]);
|
|
31630
|
-
|
|
31653
|
+
_chunkWT4HURQNcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
31631
31654
|
const from = flipFrom.current;
|
|
31632
31655
|
flipFrom.current = null;
|
|
31633
31656
|
if (!from) return;
|
|
@@ -32470,4 +32493,4 @@ function SortableRow({
|
|
|
32470
32493
|
|
|
32471
32494
|
|
|
32472
32495
|
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.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.copyrightLine = copyrightLine; 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.RemoteSessionScope = RemoteSessionScope; exports.RemoteSessionOrgLogo = RemoteSessionOrgLogo; exports.RemoteSessionRecordingTag = RemoteSessionRecordingTag; exports.REMOTE_SESSION_DRAG_HANDLE_CLASS = REMOTE_SESSION_DRAG_HANDLE_CLASS; exports.RemoteSessionDragger = RemoteSessionDragger; exports.formatRemoteSessionElapsed = formatRemoteSessionElapsed; exports.useRemoteSessionTimer = useRemoteSessionTimer; exports.RemoteAccessRequestCard = RemoteAccessRequestCard; exports.RemoteSessionBlockFrame = RemoteSessionBlockFrame; exports.RemoteSessionEndButton = RemoteSessionEndButton; exports.RemoteSessionSummary = RemoteSessionSummary; exports.RemoteSessionMinimizedChip = RemoteSessionMinimizedChip; exports.RemoteSessionChatPanel = RemoteSessionChatPanel; exports.RemoteSessionDialog = RemoteSessionDialog; exports.RemoteSessionBorder = RemoteSessionBorder; exports.RemoteSessionPill = RemoteSessionPill; 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;
|
|
32473
|
-
//# sourceMappingURL=chunk-
|
|
32496
|
+
//# sourceMappingURL=chunk-FNGX5WZM.cjs.map
|