@flamingo-stack/openframe-frontend-core 0.0.629-2171.6182.1 → 0.0.629
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-RAPPN6MN.cjs → chunk-2MMEPNSX.cjs} +3 -3
- package/dist/{chunk-RAPPN6MN.cjs.map → chunk-2MMEPNSX.cjs.map} +1 -1
- package/dist/{chunk-NBM7ZB6T.js → chunk-2MXKO5BN.js} +12 -12
- package/dist/{chunk-R46TW4LX.cjs → chunk-2ZSGDKZI.cjs} +9 -9
- package/dist/{chunk-R46TW4LX.cjs.map → chunk-2ZSGDKZI.cjs.map} +1 -1
- package/dist/{chunk-P7UT2YSC.cjs → chunk-3IXDZI3R.cjs} +3 -3
- package/dist/{chunk-P7UT2YSC.cjs.map → chunk-3IXDZI3R.cjs.map} +1 -1
- package/dist/{chunk-FYC3W72E.cjs → chunk-3ZY4CE7N.cjs} +6 -6
- package/dist/{chunk-FYC3W72E.cjs.map → chunk-3ZY4CE7N.cjs.map} +1 -1
- package/dist/{chunk-HRRKZWFF.js → chunk-4NMVDTHA.js} +8 -10
- package/dist/{chunk-HRRKZWFF.js.map → chunk-4NMVDTHA.js.map} +1 -1
- package/dist/{chunk-MIOE7FYN.js → chunk-4VPCIREO.js} +3 -3
- package/dist/{chunk-FTWVYXNP.cjs → chunk-5JAB5LVO.cjs} +34 -34
- package/dist/{chunk-FTWVYXNP.cjs.map → chunk-5JAB5LVO.cjs.map} +1 -1
- package/dist/{chunk-JRYS4VMV.js → chunk-5LIDR7HL.js} +79 -4
- package/dist/{chunk-JRYS4VMV.js.map → chunk-5LIDR7HL.js.map} +1 -1
- package/dist/{chunk-DDUG42FK.cjs → chunk-5OMBSMRI.cjs} +26 -28
- package/dist/chunk-5OMBSMRI.cjs.map +1 -0
- package/dist/{chunk-CHRPZ5PV.cjs → chunk-7P6M5G3W.cjs} +25 -25
- package/dist/{chunk-CHRPZ5PV.cjs.map → chunk-7P6M5G3W.cjs.map} +1 -1
- package/dist/{chunk-ZOMGXH7C.js → chunk-BVQEU5JB.js} +2 -2
- package/dist/{chunk-VOZZQ6HQ.cjs → chunk-CCWI3622.cjs} +4 -4
- package/dist/{chunk-VOZZQ6HQ.cjs.map → chunk-CCWI3622.cjs.map} +1 -1
- package/dist/{chunk-GUCKPOPQ.cjs → chunk-CKMJQ46H.cjs} +42 -42
- package/dist/{chunk-GUCKPOPQ.cjs.map → chunk-CKMJQ46H.cjs.map} +1 -1
- package/dist/{chunk-JQSN7D7X.cjs → chunk-CV2SESZT.cjs} +7 -7
- package/dist/{chunk-JQSN7D7X.cjs.map → chunk-CV2SESZT.cjs.map} +1 -1
- package/dist/{chunk-LZB2UZJY.js → chunk-D5CKXMMC.js} +4 -4
- package/dist/{chunk-FENZRLVO.js → chunk-DGY4NVIB.js} +8 -10
- package/dist/{chunk-FENZRLVO.js.map → chunk-DGY4NVIB.js.map} +1 -1
- package/dist/{chunk-BQ6QZUZ6.cjs → chunk-DLHGJYYA.cjs} +83 -83
- package/dist/{chunk-BQ6QZUZ6.cjs.map → chunk-DLHGJYYA.cjs.map} +1 -1
- package/dist/{chunk-4E7XCEV3.cjs → chunk-EHAYNUOL.cjs} +2 -77
- package/dist/chunk-EHAYNUOL.cjs.map +1 -0
- package/dist/{chunk-X5NN4NJM.js → chunk-F2KBCLUG.js} +2 -2
- package/dist/{chunk-USIRWQJ3.js → chunk-FKBM6U43.js} +1 -76
- package/dist/{chunk-USIRWQJ3.js.map → chunk-FKBM6U43.js.map} +1 -1
- package/dist/{chunk-5BUEB2WQ.js → chunk-GR3WOOM7.js} +12 -12
- package/dist/{chunk-TV6NXNKO.cjs → chunk-HVWNOPDV.cjs} +5 -5
- package/dist/{chunk-TV6NXNKO.cjs.map → chunk-HVWNOPDV.cjs.map} +1 -1
- package/dist/{chunk-QIVX7F3N.cjs → chunk-JJUV7Z4L.cjs} +27 -27
- package/dist/{chunk-QIVX7F3N.cjs.map → chunk-JJUV7Z4L.cjs.map} +1 -1
- package/dist/{chunk-53ARMJHM.cjs → chunk-JONR3BDJ.cjs} +37 -37
- package/dist/{chunk-53ARMJHM.cjs.map → chunk-JONR3BDJ.cjs.map} +1 -1
- package/dist/{chunk-G5FL4QTN.cjs → chunk-K7EJ7HYJ.cjs} +18 -18
- package/dist/{chunk-G5FL4QTN.cjs.map → chunk-K7EJ7HYJ.cjs.map} +1 -1
- package/dist/{chunk-KAG3SX3R.cjs → chunk-KO52PXL4.cjs} +20 -22
- package/dist/chunk-KO52PXL4.cjs.map +1 -0
- package/dist/{chunk-F4JGAGI3.cjs → chunk-LHYRLL64.cjs} +47 -49
- package/dist/chunk-LHYRLL64.cjs.map +1 -0
- package/dist/{chunk-65IVNHBS.js → chunk-LQLL4S4V.js} +4 -4
- package/dist/{chunk-CIRD5P4U.js → chunk-MOB5AA3X.js} +7 -7
- package/dist/{chunk-LUBIWC3N.js → chunk-MTLDYBXK.js} +8 -8
- package/dist/{chunk-L5FEAOGJ.js → chunk-ON7663OW.js} +354 -8
- package/dist/chunk-ON7663OW.js.map +1 -0
- package/dist/{chunk-55X46LKR.cjs → chunk-OQHFHKUG.cjs} +100 -450
- package/dist/chunk-OQHFHKUG.cjs.map +1 -0
- package/dist/{chunk-7ZDPJ6SW.js → chunk-OXTV63QO.js} +4 -4
- package/dist/{chunk-WYELOUP4.js → chunk-PFBMVQ5R.js} +6 -6
- package/dist/{chunk-SOUGXQJE.js → chunk-PJZYJDR7.js} +4 -4
- package/dist/{chunk-NDIPDU36.js → chunk-QGWBMPQY.js} +28 -16
- package/dist/{chunk-NDIPDU36.js.map → chunk-QGWBMPQY.js.map} +1 -1
- package/dist/{chunk-2J7EFH4V.js → chunk-QS2QCXBH.js} +30 -380
- package/dist/chunk-QS2QCXBH.js.map +1 -0
- package/dist/{chunk-76HB456V.js → chunk-S6WBBSII.js} +5 -5
- package/dist/{chunk-BS6ASI3D.js → chunk-SCPJ53CM.js} +3 -3
- package/dist/{chunk-D7VNHPJB.js → chunk-T46STYS2.js} +8 -10
- package/dist/{chunk-D7VNHPJB.js.map → chunk-T46STYS2.js.map} +1 -1
- package/dist/{chunk-6I3KNDBF.cjs → chunk-U7TTQV4N.cjs} +3 -3
- package/dist/{chunk-6I3KNDBF.cjs.map → chunk-U7TTQV4N.cjs.map} +1 -1
- package/dist/{chunk-ZYDNPUSH.cjs → chunk-UNI3POHU.cjs} +625 -279
- package/dist/chunk-UNI3POHU.cjs.map +1 -0
- package/dist/{chunk-Y2ZRUCYH.cjs → chunk-W523NIJ6.cjs} +15 -15
- package/dist/{chunk-Y2ZRUCYH.cjs.map → chunk-W523NIJ6.cjs.map} +1 -1
- package/dist/{chunk-J6ATJUEE.js → chunk-WBZ4HP7D.js} +4 -4
- package/dist/{chunk-CP3R4GRA.cjs → chunk-WR67VM2J.cjs} +293 -281
- package/dist/chunk-WR67VM2J.cjs.map +1 -0
- package/dist/{chunk-32P6KUZP.js → chunk-X3LC6R37.js} +2 -2
- package/dist/{chunk-ELKTBTGR.cjs → chunk-XNC37UQP.cjs} +105 -105
- package/dist/{chunk-ELKTBTGR.cjs.map → chunk-XNC37UQP.cjs.map} +1 -1
- package/dist/{chunk-CMUNJZWN.js → chunk-YQCA4ZEJ.js} +2 -2
- package/dist/{chunk-ZI27ALYX.cjs → chunk-YXWGSDK4.cjs} +80 -5
- package/dist/chunk-YXWGSDK4.cjs.map +1 -0
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +8 -8
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/index.js +4 -4
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/contact/index.js +8 -8
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/docs/index.js +11 -11
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/embeds/index.js +8 -8
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/faq/index.js +9 -9
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/features/index.js +7 -7
- package/dist/components/help-center-pages/index.cjs +31 -31
- package/dist/components/help-center-pages/index.js +22 -22
- package/dist/components/index.cjs +69 -71
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +24 -26
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +49 -49
- package/dist/components/meeting-scheduler/index.js +9 -9
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/navigation/index.js +10 -10
- package/dist/components/onboarding-guides/index.cjs +12 -12
- package/dist/components/onboarding-guides/index.js +11 -11
- package/dist/components/related-content/index.cjs +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/color-preset-select.d.ts +5 -4
- package/dist/components/ui/color-preset-select.d.ts.map +1 -1
- package/dist/components/ui/department-badge.d.ts +3 -3
- package/dist/components/ui/index.cjs +8 -10
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +7 -9
- package/dist/components/ui/palette-badge.d.ts +6 -8
- package/dist/components/ui/palette-badge.d.ts.map +1 -1
- package/dist/components/ui/status-badge.d.ts +1 -1
- package/dist/components/ui/status-badge.d.ts.map +1 -1
- package/dist/hooks/index.cjs +5 -5
- package/dist/hooks/index.js +4 -4
- package/dist/index.cjs +18 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +46 -46
- package/dist/types/department.d.ts +1 -1
- package/dist/types/department.d.ts.map +1 -1
- package/dist/utils/badge-palette.d.ts +18 -0
- package/dist/utils/badge-palette.d.ts.map +1 -0
- package/dist/utils/index.cjs +21 -24
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +19 -22
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ui/.department-badge.md +2 -2
- package/src/components/ui/.palette-badge.md +2 -2
- package/src/components/ui/.status-badge.md +2 -2
- package/src/components/ui/__tests__/department-badge.test.tsx +23 -21
- package/src/components/ui/color-preset-select.tsx +21 -5
- package/src/components/ui/department-badge.tsx +3 -3
- package/src/components/ui/palette-badge.tsx +8 -13
- package/src/components/ui/status-badge.tsx +5 -0
- package/src/types/department.ts +1 -1
- package/src/utils/.badge-palette.md +2 -0
- package/src/utils/badge-palette.ts +38 -0
- package/src/utils/index.ts +2 -1
- package/dist/chunk-2J7EFH4V.js.map +0 -1
- package/dist/chunk-4E7XCEV3.cjs.map +0 -1
- package/dist/chunk-55X46LKR.cjs.map +0 -1
- package/dist/chunk-CP3R4GRA.cjs.map +0 -1
- package/dist/chunk-DDUG42FK.cjs.map +0 -1
- package/dist/chunk-F4JGAGI3.cjs.map +0 -1
- package/dist/chunk-KAG3SX3R.cjs.map +0 -1
- package/dist/chunk-L5FEAOGJ.js.map +0 -1
- package/dist/chunk-ZI27ALYX.cjs.map +0 -1
- package/dist/chunk-ZYDNPUSH.cjs.map +0 -1
- package/dist/utils/color-presets.d.ts +0 -24
- package/dist/utils/color-presets.d.ts.map +0 -1
- package/src/utils/.color-presets.md +0 -2
- package/src/utils/color-presets.ts +0 -48
- /package/dist/{chunk-NBM7ZB6T.js.map → chunk-2MXKO5BN.js.map} +0 -0
- /package/dist/{chunk-MIOE7FYN.js.map → chunk-4VPCIREO.js.map} +0 -0
- /package/dist/{chunk-ZOMGXH7C.js.map → chunk-BVQEU5JB.js.map} +0 -0
- /package/dist/{chunk-LZB2UZJY.js.map → chunk-D5CKXMMC.js.map} +0 -0
- /package/dist/{chunk-X5NN4NJM.js.map → chunk-F2KBCLUG.js.map} +0 -0
- /package/dist/{chunk-5BUEB2WQ.js.map → chunk-GR3WOOM7.js.map} +0 -0
- /package/dist/{chunk-65IVNHBS.js.map → chunk-LQLL4S4V.js.map} +0 -0
- /package/dist/{chunk-CIRD5P4U.js.map → chunk-MOB5AA3X.js.map} +0 -0
- /package/dist/{chunk-LUBIWC3N.js.map → chunk-MTLDYBXK.js.map} +0 -0
- /package/dist/{chunk-7ZDPJ6SW.js.map → chunk-OXTV63QO.js.map} +0 -0
- /package/dist/{chunk-WYELOUP4.js.map → chunk-PFBMVQ5R.js.map} +0 -0
- /package/dist/{chunk-SOUGXQJE.js.map → chunk-PJZYJDR7.js.map} +0 -0
- /package/dist/{chunk-76HB456V.js.map → chunk-S6WBBSII.js.map} +0 -0
- /package/dist/{chunk-BS6ASI3D.js.map → chunk-SCPJ53CM.js.map} +0 -0
- /package/dist/{chunk-J6ATJUEE.js.map → chunk-WBZ4HP7D.js.map} +0 -0
- /package/dist/{chunk-32P6KUZP.js.map → chunk-X3LC6R37.js.map} +0 -0
- /package/dist/{chunk-CMUNJZWN.js.map → chunk-YQCA4ZEJ.js.map} +0 -0
|
@@ -22,7 +22,7 @@ var _chunkTON3YCCWcjs = require('./chunk-TON3YCCW.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkJJUV7Z4Lcjs = require('./chunk-JJUV7Z4L.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkYB6RCW77cjs = require('./chunk-YB6RCW77.cjs');
|
|
@@ -85,13 +85,13 @@ var _chunkN6HNK25Acjs = require('./chunk-N6HNK25A.cjs');
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
var _chunkZYDNPUSHcjs = require('./chunk-ZYDNPUSH.cjs');
|
|
89
88
|
|
|
90
89
|
|
|
91
90
|
|
|
92
91
|
|
|
93
92
|
|
|
94
93
|
|
|
94
|
+
var _chunkUNI3POHUcjs = require('./chunk-UNI3POHU.cjs');
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
@@ -101,19 +101,19 @@ var _chunkZYDNPUSHcjs = require('./chunk-ZYDNPUSH.cjs');
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
var _chunkZI27ALYXcjs = require('./chunk-ZI27ALYX.cjs');
|
|
105
104
|
|
|
106
105
|
|
|
107
106
|
|
|
108
107
|
|
|
109
|
-
var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
|
|
110
108
|
|
|
111
109
|
|
|
112
110
|
|
|
111
|
+
var _chunkYXWGSDK4cjs = require('./chunk-YXWGSDK4.cjs');
|
|
113
112
|
|
|
114
113
|
|
|
115
114
|
|
|
116
115
|
|
|
116
|
+
var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
|
|
@@ -139,7 +139,6 @@ var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
|
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
var _chunkKOQCA5X5cjs = require('./chunk-KOQCA5X5.cjs');
|
|
143
142
|
|
|
144
143
|
|
|
145
144
|
|
|
@@ -147,6 +146,7 @@ var _chunkKOQCA5X5cjs = require('./chunk-KOQCA5X5.cjs');
|
|
|
147
146
|
|
|
148
147
|
|
|
149
148
|
|
|
149
|
+
var _chunkKOQCA5X5cjs = require('./chunk-KOQCA5X5.cjs');
|
|
150
150
|
|
|
151
151
|
|
|
152
152
|
|
|
@@ -208,18 +208,18 @@ var _chunkKOQCA5X5cjs = require('./chunk-KOQCA5X5.cjs');
|
|
|
208
208
|
|
|
209
209
|
|
|
210
210
|
|
|
211
|
-
var _chunkGSQM4PDRcjs = require('./chunk-GSQM4PDR.cjs');
|
|
212
211
|
|
|
213
212
|
|
|
214
213
|
|
|
215
|
-
var _chunkXQFFGR6Ucjs = require('./chunk-XQFFGR6U.cjs');
|
|
216
214
|
|
|
217
215
|
|
|
218
216
|
|
|
219
217
|
|
|
218
|
+
var _chunkGSQM4PDRcjs = require('./chunk-GSQM4PDR.cjs');
|
|
220
219
|
|
|
221
220
|
|
|
222
221
|
|
|
222
|
+
var _chunkXQFFGR6Ucjs = require('./chunk-XQFFGR6U.cjs');
|
|
223
223
|
|
|
224
224
|
|
|
225
225
|
|
|
@@ -231,7 +231,7 @@ var _chunkXQFFGR6Ucjs = require('./chunk-XQFFGR6U.cjs');
|
|
|
231
231
|
|
|
232
232
|
|
|
233
233
|
|
|
234
|
-
var
|
|
234
|
+
var _chunkOQHFHKUGcjs = require('./chunk-OQHFHKUG.cjs');
|
|
235
235
|
|
|
236
236
|
|
|
237
237
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -240,8 +240,7 @@ var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
|
240
240
|
|
|
241
241
|
|
|
242
242
|
|
|
243
|
-
|
|
244
|
-
var _chunk4E7XCEV3cjs = require('./chunk-4E7XCEV3.cjs');
|
|
243
|
+
var _chunkEHAYNUOLcjs = require('./chunk-EHAYNUOL.cjs');
|
|
245
244
|
|
|
246
245
|
|
|
247
246
|
var _chunk63QUMV72cjs = require('./chunk-63QUMV72.cjs');
|
|
@@ -347,7 +346,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
347
346
|
var useTheme = _nextthemes.useTheme;
|
|
348
347
|
function useThemeToggle() {
|
|
349
348
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
350
|
-
const mounted =
|
|
349
|
+
const mounted = _chunkUNI3POHUcjs.useIsHydrated.call(void 0, );
|
|
351
350
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
352
351
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
353
352
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -621,10 +620,10 @@ function TruncateText({
|
|
|
621
620
|
as = "div"
|
|
622
621
|
}) {
|
|
623
622
|
const isMultiLine = lines > 1;
|
|
624
|
-
const { ref, isTruncated } =
|
|
623
|
+
const { ref, isTruncated } = _chunkYXWGSDK4cjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
625
624
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
626
625
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
627
|
-
|
|
626
|
+
_chunkUNI3POHUcjs.FloatingTooltip,
|
|
628
627
|
{
|
|
629
628
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
630
629
|
side,
|
|
@@ -709,7 +708,7 @@ function AutocompleteInner(props, ref) {
|
|
|
709
708
|
};
|
|
710
709
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
711
710
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
712
|
-
const keyboardPadding =
|
|
711
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
713
712
|
const containerRef = _react.useRef.call(void 0, null);
|
|
714
713
|
const hiddenTagsPopupRef = _react.useRef.call(void 0, null);
|
|
715
714
|
const isInvalid = invalid || !!error;
|
|
@@ -727,7 +726,7 @@ function AutocompleteInner(props, ref) {
|
|
|
727
726
|
textMeasureRef,
|
|
728
727
|
badgeRef,
|
|
729
728
|
inputRef
|
|
730
|
-
} =
|
|
729
|
+
} = _chunkJJUV7Z4Lcjs.useAutoLimitTags.call(void 0, {
|
|
731
730
|
count: multiple ? selectedOptions.length : 0,
|
|
732
731
|
limitTags: multiple ? limitTagsProp : 0,
|
|
733
732
|
placeholder: inputPlaceholder
|
|
@@ -931,7 +930,7 @@ function AutocompleteInner(props, ref) {
|
|
|
931
930
|
),
|
|
932
931
|
/* @__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: [
|
|
933
932
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
934
|
-
|
|
933
|
+
_chunkUNI3POHUcjs.Tag,
|
|
935
934
|
{
|
|
936
935
|
variant: "outline",
|
|
937
936
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1145,7 +1144,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1145
1144
|
"aria-hidden": "true",
|
|
1146
1145
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
1147
1146
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1148
|
-
|
|
1147
|
+
_chunkUNI3POHUcjs.Tag,
|
|
1149
1148
|
{
|
|
1150
1149
|
variant: "outline",
|
|
1151
1150
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1501,7 +1500,7 @@ function DatePickerCalendar({
|
|
|
1501
1500
|
onMonthChange
|
|
1502
1501
|
}) {
|
|
1503
1502
|
const today = /* @__PURE__ */ new Date();
|
|
1504
|
-
const isMdUp = _nullishCoalesce(
|
|
1503
|
+
const isMdUp = _nullishCoalesce(_chunkYXWGSDK4cjs.useMdUp.call(void 0, ), () => ( true));
|
|
1505
1504
|
const monthsToShow = isMdUp ? numberOfMonths : 1;
|
|
1506
1505
|
const [draftRange, setDraftRange] = _react.useState.call(void 0,
|
|
1507
1506
|
mode === "range" ? selected : void 0
|
|
@@ -2535,7 +2534,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
2535
2534
|
const describedById = _react.useId.call(void 0, );
|
|
2536
2535
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
2537
2536
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2538
|
-
|
|
2537
|
+
_chunkUNI3POHUcjs.FloatingTooltip,
|
|
2539
2538
|
{
|
|
2540
2539
|
content: children,
|
|
2541
2540
|
side,
|
|
@@ -2629,7 +2628,7 @@ function Value2({ value, depth }) {
|
|
|
2629
2628
|
}
|
|
2630
2629
|
if (typeof value === "string") {
|
|
2631
2630
|
if (ISO_DATE.test(value)) {
|
|
2632
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2631
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkUNI3POHUcjs.formatRelativeTime.call(void 0, value) });
|
|
2633
2632
|
}
|
|
2634
2633
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2635
2634
|
}
|
|
@@ -2695,7 +2694,7 @@ var ProgressBar = ({
|
|
|
2695
2694
|
mobileHeight = 8,
|
|
2696
2695
|
inverted = false
|
|
2697
2696
|
}) => {
|
|
2698
|
-
const isMdUp = _nullishCoalesce(
|
|
2697
|
+
const isMdUp = _nullishCoalesce(_chunkYXWGSDK4cjs.useMdUp.call(void 0, ), () => ( true));
|
|
2699
2698
|
const effectiveSegmentWidth = isMdUp ? segmentWidth : mobileSegmentWidth;
|
|
2700
2699
|
const effectiveHeight = isMdUp ? height : mobileHeight;
|
|
2701
2700
|
const containerRef = _react.useRef.call(void 0, null);
|
|
@@ -2811,7 +2810,7 @@ function InfoCardFooter({ footer }) {
|
|
|
2811
2810
|
] });
|
|
2812
2811
|
}
|
|
2813
2812
|
function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLabel }) {
|
|
2814
|
-
const { copy, copied } =
|
|
2813
|
+
const { copy, copied } = _chunkJJUV7Z4Lcjs.useCopyToClipboard.call(void 0, );
|
|
2815
2814
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 w-full items-center gap-[var(--spacing-system-xs)] self-stretch", children: [
|
|
2816
2815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-primary text-h4", children: showLabel ? label : "" }),
|
|
2817
2816
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-px flex-1 bg-ods-divider" }),
|
|
@@ -2901,7 +2900,7 @@ function SearchableSelect({
|
|
|
2901
2900
|
}) {
|
|
2902
2901
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
2903
2902
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
2904
|
-
const keyboardPadding =
|
|
2903
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
2905
2904
|
if (!isOpen && search !== "") setSearch("");
|
|
2906
2905
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
2907
2906
|
const q = search.trim().toLowerCase();
|
|
@@ -3024,7 +3023,7 @@ function CompactAssigneeDropdown({
|
|
|
3024
3023
|
value: o.value,
|
|
3025
3024
|
label: o.label,
|
|
3026
3025
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3027
|
-
|
|
3026
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
3028
3027
|
{
|
|
3029
3028
|
src: o.imageUrl,
|
|
3030
3029
|
alt: o.label,
|
|
@@ -3059,7 +3058,7 @@ function CompactAssigneeDropdown({
|
|
|
3059
3058
|
className
|
|
3060
3059
|
),
|
|
3061
3060
|
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,
|
|
3062
|
-
|
|
3061
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
3063
3062
|
{
|
|
3064
3063
|
src: currentAssignee.avatarSrc,
|
|
3065
3064
|
alt: currentAssignee.name,
|
|
@@ -3107,7 +3106,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3107
3106
|
const opt = option;
|
|
3108
3107
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-sf)]", children: [
|
|
3109
3108
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3110
|
-
|
|
3109
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
3111
3110
|
{
|
|
3112
3111
|
src: opt.imageUrl,
|
|
3113
3112
|
alt: opt.label,
|
|
@@ -3142,7 +3141,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3142
3141
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3143
3142
|
}
|
|
3144
3143
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3145
|
-
|
|
3144
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
3146
3145
|
{
|
|
3147
3146
|
src: currentAssignee.avatarSrc,
|
|
3148
3147
|
alt: currentAssignee.name,
|
|
@@ -3167,7 +3166,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3167
3166
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3168
3167
|
}
|
|
3169
3168
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3170
|
-
|
|
3169
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
3171
3170
|
{
|
|
3172
3171
|
src: currentAssignee.avatarSrc,
|
|
3173
3172
|
alt: currentAssignee.name,
|
|
@@ -3241,7 +3240,7 @@ function TextValue({ value }) {
|
|
|
3241
3240
|
}
|
|
3242
3241
|
) : 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 }),
|
|
3243
3242
|
hasImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3244
|
-
|
|
3243
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
3245
3244
|
{
|
|
3246
3245
|
src: imageSrc,
|
|
3247
3246
|
alt: text,
|
|
@@ -3261,7 +3260,7 @@ function RowValue({ value }) {
|
|
|
3261
3260
|
}
|
|
3262
3261
|
case "status": {
|
|
3263
3262
|
const { type: _type, ...props } = value;
|
|
3264
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3263
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TicketStatusTag, { ...props });
|
|
3265
3264
|
}
|
|
3266
3265
|
case "custom":
|
|
3267
3266
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -3777,7 +3776,7 @@ function TagSelectDropdown({
|
|
|
3777
3776
|
}) {
|
|
3778
3777
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
3779
3778
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
3780
|
-
const keyboardPadding =
|
|
3779
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
3781
3780
|
if (!isOpen && search !== "") setSearch("");
|
|
3782
3781
|
const query = search.trim();
|
|
3783
3782
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
@@ -4069,7 +4068,7 @@ function TagsManager({
|
|
|
4069
4068
|
}) {
|
|
4070
4069
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
4071
4070
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
4072
|
-
const keyboardPadding =
|
|
4071
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
4073
4072
|
const [editingId, setEditingId] = _react.useState.call(void 0, null);
|
|
4074
4073
|
const [editingName, setEditingName] = _react.useState.call(void 0, "");
|
|
4075
4074
|
const editInputRef = _react.useRef.call(void 0, null);
|
|
@@ -4172,7 +4171,7 @@ function TagsManager({
|
|
|
4172
4171
|
}
|
|
4173
4172
|
),
|
|
4174
4173
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4175
|
-
|
|
4174
|
+
_chunkUNI3POHUcjs.Tag,
|
|
4176
4175
|
{
|
|
4177
4176
|
label: tag.name,
|
|
4178
4177
|
variant: "outline",
|
|
@@ -4717,10 +4716,10 @@ function useConfirm() {
|
|
|
4717
4716
|
},
|
|
4718
4717
|
[]
|
|
4719
4718
|
);
|
|
4720
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4721
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4722
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4723
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4719
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4720
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalTitle, { children: pending.title }) }),
|
|
4721
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4722
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.ModalFooter, { children: [
|
|
4724
4723
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4725
4724
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4726
4725
|
] })
|
|
@@ -4783,9 +4782,9 @@ function AdminFormModal({
|
|
|
4783
4782
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4784
4783
|
});
|
|
4785
4784
|
if (!isOpen) return null;
|
|
4786
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4787
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4788
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4785
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4786
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.ModalHeader, { children: [
|
|
4787
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalTitle, { children: title }),
|
|
4789
4788
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4790
4789
|
] }),
|
|
4791
4790
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4810,7 +4809,7 @@ function AdminFormModal({
|
|
|
4810
4809
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4811
4810
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4812
4811
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4813
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4812
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4814
4813
|
"div",
|
|
4815
4814
|
{
|
|
4816
4815
|
"aria-busy": "true",
|
|
@@ -4831,12 +4830,12 @@ function AdminFormModal({
|
|
|
4831
4830
|
]
|
|
4832
4831
|
}
|
|
4833
4832
|
) })
|
|
4834
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4833
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalContent, { className: contentClassName, children }),
|
|
4835
4834
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4836
4835
|
]
|
|
4837
4836
|
}
|
|
4838
4837
|
),
|
|
4839
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4840
4839
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4841
4840
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4842
4841
|
footerStatus,
|
|
@@ -5709,7 +5708,7 @@ function FadePreview({
|
|
|
5709
5708
|
setCollapsedFor(resetKey);
|
|
5710
5709
|
setExpanded(false);
|
|
5711
5710
|
}
|
|
5712
|
-
|
|
5711
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
5713
5712
|
const el = contentRef.current;
|
|
5714
5713
|
if (!el) return;
|
|
5715
5714
|
if (!fixedHeight) {
|
|
@@ -6126,9 +6125,9 @@ var KIND_HEADING = {
|
|
|
6126
6125
|
design: "Claude Design"
|
|
6127
6126
|
};
|
|
6128
6127
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
6129
|
-
const { src: mirrorSrc, status } =
|
|
6128
|
+
const { src: mirrorSrc, status } = _chunkJJUV7Z4Lcjs.useClaudeMirrorSrc.call(void 0, url);
|
|
6130
6129
|
const isProbing = status === "probing";
|
|
6131
|
-
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => (
|
|
6130
|
+
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunkJJUV7Z4Lcjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
6132
6131
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6133
6132
|
EmbedViewerFrame,
|
|
6134
6133
|
{
|
|
@@ -6203,12 +6202,12 @@ function SlidesViewToggle({ view, onChange }) {
|
|
|
6203
6202
|
}
|
|
6204
6203
|
function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
6205
6204
|
const [view, setView] = _react.useState.call(void 0, "present");
|
|
6206
|
-
const isSlides = url ?
|
|
6207
|
-
const embedSrc = url ?
|
|
6205
|
+
const isSlides = url ? _chunkJJUV7Z4Lcjs.isFigmaSlidesUrl.call(void 0, url) : false;
|
|
6206
|
+
const embedSrc = url ? _chunkJJUV7Z4Lcjs.toFigmaEmbedUrl.call(void 0, url, { slidesView: view }) : null;
|
|
6208
6207
|
const originalUrl = (() => {
|
|
6209
6208
|
if (!url) return null;
|
|
6210
6209
|
try {
|
|
6211
|
-
const parsed = new URL(
|
|
6210
|
+
const parsed = new URL(_chunkJJUV7Z4Lcjs.toFigmaOriginalUrl.call(void 0, url));
|
|
6212
6211
|
const host = parsed.hostname.toLowerCase();
|
|
6213
6212
|
const okHost = host === "figma.com" || host.endsWith(".figma.com");
|
|
6214
6213
|
const okProtocol = parsed.protocol === "https:" || parsed.protocol === "http:";
|
|
@@ -6593,7 +6592,7 @@ var OGLinkPreview = ({
|
|
|
6593
6592
|
const hasImage = !!resolvedImageUrl;
|
|
6594
6593
|
const isCuratedImage = _optionalChain([resolvedImage, 'optionalAccess', _132 => _132.source]) === "curated";
|
|
6595
6594
|
const isPlaceholder = _optionalChain([resolvedImage, 'optionalAccess', _133 => _133.source]) === "placeholder";
|
|
6596
|
-
const bgColor =
|
|
6595
|
+
const bgColor = _chunkEHAYNUOLcjs.useImageEdgeColor.call(void 0, _nullishCoalesce(resolvedImageUrl, () => ( null)), "var(--color-bg-surface)");
|
|
6597
6596
|
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: [
|
|
6598
6597
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full w-[200px] flex-shrink-0 animate-pulse bg-ods-border" }),
|
|
6599
6598
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col justify-center p-3", children: [
|
|
@@ -6982,7 +6981,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6982
6981
|
};
|
|
6983
6982
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6984
6983
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6985
|
-
|
|
6984
|
+
_chunkUNI3POHUcjs.Video,
|
|
6986
6985
|
{
|
|
6987
6986
|
url: item.src,
|
|
6988
6987
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7414,7 +7413,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
|
|
|
7414
7413
|
width: m.width,
|
|
7415
7414
|
height: m.height
|
|
7416
7415
|
}));
|
|
7417
|
-
const formatNumber2 =
|
|
7416
|
+
const formatNumber2 = _chunkOQHFHKUGcjs.formatLargeNumber;
|
|
7418
7417
|
const truncateText = (text, maxLength = 600) => {
|
|
7419
7418
|
if (text.length <= maxLength) return text;
|
|
7420
7419
|
return text.slice(0, maxLength) + "...";
|
|
@@ -7706,7 +7705,7 @@ function buildRichEmbedOverrides({
|
|
|
7706
7705
|
ogEndpointPath,
|
|
7707
7706
|
textSizes
|
|
7708
7707
|
}) {
|
|
7709
|
-
const standard =
|
|
7708
|
+
const standard = _chunkUNI3POHUcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7710
7709
|
return {
|
|
7711
7710
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7712
7711
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7716,7 +7715,7 @@ function buildRichEmbedOverrides({
|
|
|
7716
7715
|
const language = match ? match[1] : "";
|
|
7717
7716
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7718
7717
|
if (language === "youtube-embed") {
|
|
7719
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7718
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7720
7719
|
}
|
|
7721
7720
|
if (language === "reddit-embed") {
|
|
7722
7721
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7757,7 +7756,7 @@ function buildRichEmbedOverrides({
|
|
|
7757
7756
|
"data-figma-url": figmaUrl
|
|
7758
7757
|
} = divProps;
|
|
7759
7758
|
if (className === "youtube-embed" && videoId) {
|
|
7760
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7759
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "youtube", url: videoId });
|
|
7761
7760
|
}
|
|
7762
7761
|
if (className === "reddit-embed" && postUrl) {
|
|
7763
7762
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7842,14 +7841,14 @@ function buildRichEmbedOverrides({
|
|
|
7842
7841
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7843
7842
|
// elsewhere). Guard against empty `![]()`.
|
|
7844
7843
|
img: ({ src, alt }) => {
|
|
7845
|
-
if (!
|
|
7844
|
+
if (!_chunkUNI3POHUcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7846
7845
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7847
7846
|
},
|
|
7848
7847
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7849
7848
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7850
7849
|
video: ({ src, poster, className }) => {
|
|
7851
|
-
if (!
|
|
7852
|
-
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,
|
|
7850
|
+
if (!_chunkUNI3POHUcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7851
|
+
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, _chunkUNI3POHUcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7853
7852
|
}
|
|
7854
7853
|
};
|
|
7855
7854
|
}
|
|
@@ -8090,13 +8089,13 @@ var RichMarkdownInner = ({
|
|
|
8090
8089
|
},
|
|
8091
8090
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8092
8091
|
);
|
|
8093
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8092
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkUNI3POHUcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8094
8093
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8095
8094
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8096
8095
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8097
8096
|
);
|
|
8098
8097
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8099
|
-
|
|
8098
|
+
_chunkUNI3POHUcjs.MarkdownEngine,
|
|
8100
8099
|
{
|
|
8101
8100
|
content,
|
|
8102
8101
|
className,
|
|
@@ -8118,7 +8117,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8118
8117
|
className = "",
|
|
8119
8118
|
sectionIds,
|
|
8120
8119
|
onInternalLinkClick,
|
|
8121
|
-
brokenLinks =
|
|
8120
|
+
brokenLinks = _chunkUNI3POHUcjs.NO_BROKEN_LINKS,
|
|
8122
8121
|
currentPath,
|
|
8123
8122
|
resolveSource = "openframe-docs",
|
|
8124
8123
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8691,7 +8690,7 @@ function FilterModal({
|
|
|
8691
8690
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _167 => _167.defaultSort]), () => ( "desc"));
|
|
8692
8691
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _168 => _168.sort]), () => ( dateDefaultSort)));
|
|
8693
8692
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _169 => _169.range]));
|
|
8694
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8693
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkUNI3POHUcjs.useScrollFade.call(void 0, );
|
|
8695
8694
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8696
8695
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8697
8696
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8736,10 +8735,10 @@ function FilterModal({
|
|
|
8736
8735
|
const hasFilterGroups = filterGroups.length > 0;
|
|
8737
8736
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8738
8737
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8739
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8740
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8738
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Modal, { isOpen, onClose, className: _chunk23V5BSHDcjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
8739
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalTitle, { children: title }) }),
|
|
8741
8740
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8742
|
-
|
|
8741
|
+
_chunkUNI3POHUcjs.ModalContent,
|
|
8743
8742
|
{
|
|
8744
8743
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
8745
8744
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8831,12 +8830,12 @@ function FilterModal({
|
|
|
8831
8830
|
] })
|
|
8832
8831
|
}
|
|
8833
8832
|
),
|
|
8834
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8835
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8833
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8834
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8836
8835
|
] })
|
|
8837
8836
|
}
|
|
8838
8837
|
),
|
|
8839
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8838
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.ModalFooter, { children: [
|
|
8840
8839
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8841
8840
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8842
8841
|
] })
|
|
@@ -8880,9 +8879,9 @@ function actionToMenuItems(action, idx) {
|
|
|
8880
8879
|
function renderActionButton(action, opts = {}) {
|
|
8881
8880
|
const button = renderRawActionButton(action, opts);
|
|
8882
8881
|
if (!action.tooltip) return button;
|
|
8883
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8884
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8885
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8882
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { children: [
|
|
8883
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
8884
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { children: action.tooltip })
|
|
8886
8885
|
] }) });
|
|
8887
8886
|
}
|
|
8888
8887
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -8906,7 +8905,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
8906
8905
|
}
|
|
8907
8906
|
if (action.submenu && action.submenu.length > 0) {
|
|
8908
8907
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8909
|
-
|
|
8908
|
+
_chunkUNI3POHUcjs.ActionsMenuDropdown,
|
|
8910
8909
|
{
|
|
8911
8910
|
groups: [{ items: action.submenu }],
|
|
8912
8911
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9041,10 +9040,10 @@ function IconButtonsVariant({
|
|
|
9041
9040
|
selector,
|
|
9042
9041
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9043
9042
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
9044
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9043
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
9045
9044
|
] })
|
|
9046
9045
|
] }),
|
|
9047
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9046
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9048
9047
|
] });
|
|
9049
9048
|
}
|
|
9050
9049
|
function PrimaryButtonsVariant({
|
|
@@ -9082,7 +9081,7 @@ function MenuPrimaryVariant({
|
|
|
9082
9081
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9083
9082
|
selector,
|
|
9084
9083
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9085
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9084
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9086
9085
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
9087
9086
|
] })
|
|
9088
9087
|
] }),
|
|
@@ -9090,7 +9089,7 @@ function MenuPrimaryVariant({
|
|
|
9090
9089
|
// The selector rides into the menu as its header row: on mobile the
|
|
9091
9090
|
// title row has no room for it, and hiding it entirely (what
|
|
9092
9091
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9093
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9092
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9094
9093
|
) : null })
|
|
9095
9094
|
] });
|
|
9096
9095
|
}
|
|
@@ -9298,7 +9297,7 @@ function ListPageLayout({
|
|
|
9298
9297
|
}) {
|
|
9299
9298
|
const [mobileFilterOpen, setMobileFilterOpen] = _react.useState.call(void 0, false);
|
|
9300
9299
|
const [localSearchValue, setLocalSearchValue] = _react.useState.call(void 0, searchValue);
|
|
9301
|
-
const debouncedSearchValue =
|
|
9300
|
+
const debouncedSearchValue = _chunkYXWGSDK4cjs.useDebounce.call(void 0, localSearchValue, 500);
|
|
9302
9301
|
const [syncedSearchValue, setSyncedSearchValue] = _react.useState.call(void 0, searchValue);
|
|
9303
9302
|
if (syncedSearchValue !== searchValue) {
|
|
9304
9303
|
setSyncedSearchValue(searchValue);
|
|
@@ -9381,11 +9380,11 @@ function ListPageLayout({
|
|
|
9381
9380
|
|
|
9382
9381
|
var ENTITY_IMAGE_SIZE = "size-[52px] md:size-[60px]";
|
|
9383
9382
|
function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
9384
|
-
const resolvedSrc =
|
|
9383
|
+
const resolvedSrc = _chunkEHAYNUOLcjs.useAuthedImageSrc.call(void 0, src);
|
|
9385
9384
|
const [failedSrc, setFailedSrc] = _react2.default.useState(null);
|
|
9386
9385
|
const imageFailed = resolvedSrc !== void 0 && failedSrc === resolvedSrc;
|
|
9387
9386
|
const showFallback = imageFailed || !resolvedSrc;
|
|
9388
|
-
const initials =
|
|
9387
|
+
const initials = _chunkOQHFHKUGcjs.personInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
9389
9388
|
if (showFallback) {
|
|
9390
9389
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9391
9390
|
"div",
|
|
@@ -9458,8 +9457,8 @@ function TitleBlock({
|
|
|
9458
9457
|
const titleClass = titleSize === "h1" ? "text-h1" : "text-h2";
|
|
9459
9458
|
const titleOverflowClass = titleWrap ? "break-words" : "truncate";
|
|
9460
9459
|
const skeletonSize = TITLE_SKELETON_SIZE[titleSize];
|
|
9461
|
-
const { ref: titleRef, isTruncated: titleTruncated } =
|
|
9462
|
-
const { ref: subtitleRef, isTruncated: subtitleTruncated } =
|
|
9460
|
+
const { ref: titleRef, isTruncated: titleTruncated } = _chunkYXWGSDK4cjs.useIsTruncated.call(void 0, loading ? null : title);
|
|
9461
|
+
const { ref: subtitleRef, isTruncated: subtitleTruncated } = _chunkYXWGSDK4cjs.useIsTruncated.call(void 0,
|
|
9463
9462
|
loading ? null : subtitle
|
|
9464
9463
|
);
|
|
9465
9464
|
const titleNode = loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TitleTextSkeleton, { widthClass: skeletonSize.width, heightClass: skeletonSize.height }) : title;
|
|
@@ -9496,7 +9495,7 @@ function TitleBlock({
|
|
|
9496
9495
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
9497
9496
|
(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: [
|
|
9498
9497
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9499
|
-
|
|
9498
|
+
_chunkUNI3POHUcjs.FloatingTooltip,
|
|
9500
9499
|
{
|
|
9501
9500
|
content: title,
|
|
9502
9501
|
side: "bottom",
|
|
@@ -9513,12 +9512,12 @@ function TitleBlock({
|
|
|
9513
9512
|
}
|
|
9514
9513
|
),
|
|
9515
9514
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9516
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9515
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunk23V5BSHDcjs.cn.call(void 0, titleClass, "text-ods-text-primary", titleOverflowClass), children: titleNode }) })),
|
|
9517
9516
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
9518
9517
|
empty `p` collapses to zero height (its only content would be
|
|
9519
9518
|
collapsible whitespace), which is exactly the shift that mode
|
|
9520
9519
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
9521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9520
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9522
9521
|
"p",
|
|
9523
9522
|
{
|
|
9524
9523
|
ref: subtitleRef,
|
|
@@ -9529,7 +9528,7 @@ function TitleBlock({
|
|
|
9529
9528
|
) })
|
|
9530
9529
|
] })
|
|
9531
9530
|
] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9532
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9531
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, triggerClassName: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunk23V5BSHDcjs.cn.call(void 0, titleClass, "min-w-0 text-ods-text-primary", titleOverflowClass), children: title }) }),
|
|
9533
9532
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9534
9533
|
] }) : (
|
|
9535
9534
|
/* This branch never had the single-line clamp, so text already
|
|
@@ -9973,7 +9972,7 @@ function toToolLabel(input) {
|
|
|
9973
9972
|
if (!input) return "";
|
|
9974
9973
|
const toolType = normalizeToolType(input);
|
|
9975
9974
|
if (toolType) {
|
|
9976
|
-
return
|
|
9975
|
+
return _chunkYXWGSDK4cjs.toolLabels[toolType];
|
|
9977
9976
|
}
|
|
9978
9977
|
return input;
|
|
9979
9978
|
}
|
|
@@ -9984,7 +9983,7 @@ function getToolTypeAliases(toolType) {
|
|
|
9984
9983
|
return Object.entries(toolAliasMap).filter(([_, value]) => value === toolType).map(([key]) => key);
|
|
9985
9984
|
}
|
|
9986
9985
|
function getToolLabel(toolType) {
|
|
9987
|
-
return
|
|
9986
|
+
return _chunkYXWGSDK4cjs.toolLabels[toolType] || toolType;
|
|
9988
9987
|
}
|
|
9989
9988
|
|
|
9990
9989
|
// src/types/shell.types.ts
|
|
@@ -10255,7 +10254,7 @@ function canUseCookies() {
|
|
|
10255
10254
|
return document.URL.startsWith("http:") || document.URL.startsWith("https:");
|
|
10256
10255
|
}
|
|
10257
10256
|
function fallbackStore(name) {
|
|
10258
|
-
return
|
|
10257
|
+
return _chunkEHAYNUOLcjs.createLocalStorageAdapter.call(void 0, {
|
|
10259
10258
|
key: name,
|
|
10260
10259
|
logTag: "[dismiss-cookie]",
|
|
10261
10260
|
validate: (parsed) => typeof parsed === "string"
|
|
@@ -10361,7 +10360,7 @@ var HIDDEN_GRACE_MS = 45e3;
|
|
|
10361
10360
|
function createSseSubscription(options) {
|
|
10362
10361
|
const {
|
|
10363
10362
|
url,
|
|
10364
|
-
fetchImpl =
|
|
10363
|
+
fetchImpl = _chunkEHAYNUOLcjs.embedAuthedFetch,
|
|
10365
10364
|
onEvent,
|
|
10366
10365
|
onStatusChange,
|
|
10367
10366
|
onConnectedChange,
|
|
@@ -10944,7 +10943,7 @@ function lastPathSegment(url) {
|
|
|
10944
10943
|
function makeComposeContentUrl(opts) {
|
|
10945
10944
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
10946
10945
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
10947
|
-
const type =
|
|
10946
|
+
const type = _chunkOQHFHKUGcjs.canonicalContentRefType.call(void 0, rawType);
|
|
10948
10947
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
10949
10948
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
10950
10949
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -11122,8 +11121,8 @@ var DEFAULT_OPTIONS = {
|
|
|
11122
11121
|
function extractSections(markdown, options = {}) {
|
|
11123
11122
|
const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
11124
11123
|
const sections = [];
|
|
11125
|
-
const dedupe =
|
|
11126
|
-
const scanned =
|
|
11124
|
+
const dedupe = _chunkYXWGSDK4cjs.createHeadingIdDeduper.call(void 0, );
|
|
11125
|
+
const scanned = _chunkYXWGSDK4cjs.scanHeadings.call(void 0, markdown, {
|
|
11127
11126
|
skipFrontmatter: opts.skipCodeAndYamlBlocks,
|
|
11128
11127
|
skipFences: opts.skipCodeAndYamlBlocks
|
|
11129
11128
|
});
|
|
@@ -11131,9 +11130,9 @@ function extractSections(markdown, options = {}) {
|
|
|
11131
11130
|
if (heading.level > opts.maxLevel) continue;
|
|
11132
11131
|
let title = heading.text;
|
|
11133
11132
|
if (opts.stripFormattingMarkers) {
|
|
11134
|
-
title =
|
|
11133
|
+
title = _chunkUNI3POHUcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
11135
11134
|
}
|
|
11136
|
-
const baseId =
|
|
11135
|
+
const baseId = _chunkYXWGSDK4cjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkYXWGSDK4cjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
11137
11136
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
11138
11137
|
sections.push({
|
|
11139
11138
|
id: opts.handleDuplicateIds ? dedupe(cleanId) : cleanId,
|
|
@@ -11190,7 +11189,7 @@ function sanitizeLandingUrl(url) {
|
|
|
11190
11189
|
}
|
|
11191
11190
|
}
|
|
11192
11191
|
function makeAdapter() {
|
|
11193
|
-
return
|
|
11192
|
+
return _chunkEHAYNUOLcjs.createLocalStorageAdapter.call(void 0, {
|
|
11194
11193
|
key: FIRST_TOUCH_ATTRIBUTION_KEY,
|
|
11195
11194
|
backend: "session",
|
|
11196
11195
|
logTag: "[first-touch-attribution]",
|
|
@@ -11704,7 +11703,7 @@ function DashboardInfoCard({
|
|
|
11704
11703
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
11705
11704
|
if (asTag) {
|
|
11706
11705
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
11707
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11706
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
11708
11707
|
}
|
|
11709
11708
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
11710
11709
|
"(",
|
|
@@ -11758,7 +11757,7 @@ function DashboardInfoCard({
|
|
|
11758
11757
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "truncate text-ods-text-primary text-h3 md:text-h2", valueClassName), children: formattedValue }),
|
|
11759
11758
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
11760
11759
|
renderPercentage(),
|
|
11761
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11760
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.FloatingTooltip, { content: tooltip, side: "top", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "cursor-help text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
11762
11761
|
] })
|
|
11763
11762
|
] }),
|
|
11764
11763
|
renderProgress()
|
|
@@ -11941,7 +11940,7 @@ function DeviceCard({
|
|
|
11941
11940
|
] }),
|
|
11942
11941
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
11943
11942
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11944
|
-
|
|
11943
|
+
_chunkUNI3POHUcjs.Tag,
|
|
11945
11944
|
{
|
|
11946
11945
|
variant: statusTag.variant,
|
|
11947
11946
|
icon: statusTag.icon,
|
|
@@ -11955,7 +11954,7 @@ function DeviceCard({
|
|
|
11955
11954
|
formatLastSeen(device.lastSeen)
|
|
11956
11955
|
] })
|
|
11957
11956
|
] }),
|
|
11958
|
-
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,
|
|
11957
|
+
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, _chunkUNI3POHUcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
11959
11958
|
]
|
|
11960
11959
|
}
|
|
11961
11960
|
);
|
|
@@ -12016,7 +12015,7 @@ function FeatureCardGrid({
|
|
|
12016
12015
|
if (allCardsHaveNoBorders) {
|
|
12017
12016
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
12018
12017
|
}
|
|
12019
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12018
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
12020
12019
|
const startIndex = rowIndex * itemsPerRow;
|
|
12021
12020
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
12022
12021
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -12046,7 +12045,7 @@ function FeatureCardGrid({
|
|
|
12046
12045
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
12047
12046
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
12048
12047
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12049
|
-
|
|
12048
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
12050
12049
|
{
|
|
12051
12050
|
text: item.badge.text,
|
|
12052
12051
|
variant: item.badge.variant || "card",
|
|
@@ -12055,7 +12054,7 @@ function FeatureCardGrid({
|
|
|
12055
12054
|
)
|
|
12056
12055
|
] }),
|
|
12057
12056
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12058
|
-
|
|
12057
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
12059
12058
|
{
|
|
12060
12059
|
text: item.badge.text,
|
|
12061
12060
|
variant: item.badge.variant || "card",
|
|
@@ -12103,7 +12102,7 @@ function FeatureList({ items, className = "", iconBoxSize = 72 }) {
|
|
|
12103
12102
|
|
|
12104
12103
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
12105
12104
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12106
|
-
|
|
12105
|
+
_chunkUNI3POHUcjs.FloatingTooltip,
|
|
12107
12106
|
{
|
|
12108
12107
|
as: "span",
|
|
12109
12108
|
side: "top",
|
|
@@ -12287,7 +12286,7 @@ function DropdownButton({
|
|
|
12287
12286
|
)
|
|
12288
12287
|
);
|
|
12289
12288
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12290
|
-
|
|
12289
|
+
_chunkUNI3POHUcjs.ActionsMenuDropdown,
|
|
12291
12290
|
{
|
|
12292
12291
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
12293
12292
|
open,
|
|
@@ -12502,8 +12501,8 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
12502
12501
|
}
|
|
12503
12502
|
function ServiceCardRowItem({ row }) {
|
|
12504
12503
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
12505
|
-
const { copy, copied } =
|
|
12506
|
-
const { ref: valueRef, isTruncated: valueTruncated } =
|
|
12504
|
+
const { copy, copied } = _chunkJJUV7Z4Lcjs.useCopyToClipboard.call(void 0, );
|
|
12505
|
+
const { ref: valueRef, isTruncated: valueTruncated } = _chunkYXWGSDK4cjs.useIsTruncated.call(void 0, row.value);
|
|
12507
12506
|
const actions = _react.useMemo.call(void 0,
|
|
12508
12507
|
() => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }),
|
|
12509
12508
|
[row]
|
|
@@ -12525,7 +12524,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12525
12524
|
),
|
|
12526
12525
|
children: [
|
|
12527
12526
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12528
|
-
|
|
12527
|
+
_chunkUNI3POHUcjs.FloatingTooltip,
|
|
12529
12528
|
{
|
|
12530
12529
|
content: row.value,
|
|
12531
12530
|
side: "top",
|
|
@@ -12617,7 +12616,7 @@ function PersonCell({
|
|
|
12617
12616
|
}) {
|
|
12618
12617
|
const displayName = name || fallbackName;
|
|
12619
12618
|
const row = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "group/person-cell flex min-w-0 items-center gap-3", children: [
|
|
12620
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12619
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { size: "sm", src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
12621
12620
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
12622
12621
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12623
12622
|
TruncateText,
|
|
@@ -12657,9 +12656,9 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12657
12656
|
);
|
|
12658
12657
|
}
|
|
12659
12658
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
12660
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12659
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.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: [
|
|
12661
12660
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12662
|
-
|
|
12661
|
+
_chunkOQHFHKUGcjs.AvatarStack,
|
|
12663
12662
|
{
|
|
12664
12663
|
size: "sm",
|
|
12665
12664
|
slots: PEOPLE_CELL_STACK_SLOTS,
|
|
@@ -12667,7 +12666,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12667
12666
|
}
|
|
12668
12667
|
) }),
|
|
12669
12668
|
/* @__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: [
|
|
12670
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) =>
|
|
12669
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) => _chunkOQHFHKUGcjs.personFirstName.call(void 0, p.name, "Unknown")).join(" & ") }),
|
|
12671
12670
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: fullNames })
|
|
12672
12671
|
] })
|
|
12673
12672
|
] }) });
|
|
@@ -12719,9 +12718,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12719
12718
|
return next;
|
|
12720
12719
|
});
|
|
12721
12720
|
};
|
|
12722
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12721
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
12723
12722
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12724
|
-
|
|
12723
|
+
_chunkUNI3POHUcjs.TooltipTrigger,
|
|
12725
12724
|
{
|
|
12726
12725
|
asChild: true,
|
|
12727
12726
|
onPointerDown: (e) => {
|
|
@@ -12739,7 +12738,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12739
12738
|
children
|
|
12740
12739
|
}
|
|
12741
12740
|
),
|
|
12742
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12741
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
12743
12742
|
] }) });
|
|
12744
12743
|
}
|
|
12745
12744
|
|
|
@@ -13300,7 +13299,7 @@ function TableHeader({
|
|
|
13300
13299
|
}
|
|
13301
13300
|
return sortDirection === "asc" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.Arrow01UpIcon, { className: "h-4 w-4 text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.Arrow01DownIcon, { className: "h-4 w-4 text-ods-accent" });
|
|
13302
13301
|
};
|
|
13303
|
-
const isLgUp = _nullishCoalesce(
|
|
13302
|
+
const isLgUp = _nullishCoalesce(_chunkYXWGSDK4cjs.useLgUp.call(void 0, ), () => ( false));
|
|
13304
13303
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13305
13304
|
"div",
|
|
13306
13305
|
{
|
|
@@ -13994,9 +13993,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
13994
13993
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
13995
13994
|
}
|
|
13996
13995
|
}, []);
|
|
13997
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13998
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13999
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13996
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
13997
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.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 }) }) }),
|
|
13998
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
14000
13999
|
] }) });
|
|
14001
14000
|
}
|
|
14002
14001
|
|
|
@@ -14049,9 +14048,9 @@ function TruncatedCell({ value, className }) {
|
|
|
14049
14048
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14050
14049
|
}
|
|
14051
14050
|
}, []);
|
|
14052
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14053
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14054
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14051
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14052
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { ref: textRef, className: _chunk23V5BSHDcjs.cn.call(void 0, "block truncate", className), children: value }) }),
|
|
14053
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
14055
14054
|
] }) });
|
|
14056
14055
|
}
|
|
14057
14056
|
|
|
@@ -14166,7 +14165,7 @@ function QueryReportTable({
|
|
|
14166
14165
|
onThumbPointerDown,
|
|
14167
14166
|
onThumbPointerMove,
|
|
14168
14167
|
onThumbPointerUp
|
|
14169
|
-
} =
|
|
14168
|
+
} = _chunkJJUV7Z4Lcjs.useHorizontalScrollbar.call(void 0, );
|
|
14170
14169
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex w-full flex-col", isCompact ? "gap-0" : "gap-[var(--spacing-system-l)]", className), children: [
|
|
14171
14170
|
!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: [
|
|
14172
14171
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -15057,10 +15056,10 @@ function SearchInput({
|
|
|
15057
15056
|
}) {
|
|
15058
15057
|
const [internalValue, setInternalValue] = _react.useState.call(void 0, defaultValue);
|
|
15059
15058
|
const currentValue = onChange ? _nullishCoalesce(value, () => ( "")) : internalValue;
|
|
15060
|
-
const debouncedValue =
|
|
15059
|
+
const debouncedValue = _chunkYXWGSDK4cjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
15061
15060
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
15062
15061
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
15063
|
-
const keyboardPadding =
|
|
15062
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
15064
15063
|
const containerRef = _react.useRef.call(void 0, null);
|
|
15065
15064
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
15066
15065
|
const {
|
|
@@ -15070,7 +15069,7 @@ function SearchInput({
|
|
|
15070
15069
|
textMeasureRef,
|
|
15071
15070
|
badgeRef,
|
|
15072
15071
|
inputRef
|
|
15073
|
-
} =
|
|
15072
|
+
} = _chunkJJUV7Z4Lcjs.useAutoLimitTags.call(void 0, {
|
|
15074
15073
|
count: filterChips.length,
|
|
15075
15074
|
limitTags,
|
|
15076
15075
|
// When chips exist, pass empty placeholder so the hook only reserves input minWidth,
|
|
@@ -15092,7 +15091,7 @@ function SearchInput({
|
|
|
15092
15091
|
document.addEventListener("mousedown", handleClick);
|
|
15093
15092
|
return () => document.removeEventListener("mousedown", handleClick);
|
|
15094
15093
|
}, [showHiddenTags]);
|
|
15095
|
-
|
|
15094
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
15096
15095
|
const popup = hiddenTagsPopupRef.current;
|
|
15097
15096
|
const badge = badgeRef.current;
|
|
15098
15097
|
if (!popup || !badge) return;
|
|
@@ -15263,7 +15262,7 @@ function SearchInput({
|
|
|
15263
15262
|
/* @__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, {}) }),
|
|
15264
15263
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
15265
15264
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15266
|
-
|
|
15265
|
+
_chunkUNI3POHUcjs.Tag,
|
|
15267
15266
|
{
|
|
15268
15267
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15269
15268
|
label: chip.label,
|
|
@@ -15379,7 +15378,7 @@ function SearchInput({
|
|
|
15379
15378
|
}
|
|
15380
15379
|
),
|
|
15381
15380
|
/* @__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,
|
|
15382
|
-
|
|
15381
|
+
_chunkUNI3POHUcjs.Tag,
|
|
15383
15382
|
{
|
|
15384
15383
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15385
15384
|
label: chip.label,
|
|
@@ -15521,7 +15520,7 @@ function TagSearchInput({
|
|
|
15521
15520
|
limitTags = "auto"
|
|
15522
15521
|
}) {
|
|
15523
15522
|
const currentPlaceholder = tags.length === 0 ? placeholder : addMorePlaceholder;
|
|
15524
|
-
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } =
|
|
15523
|
+
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } = _chunkJJUV7Z4Lcjs.useAutoLimitTags.call(void 0, {
|
|
15525
15524
|
count: tags.length,
|
|
15526
15525
|
limitTags,
|
|
15527
15526
|
placeholder: currentPlaceholder
|
|
@@ -15541,7 +15540,7 @@ function TagSearchInput({
|
|
|
15541
15540
|
document.addEventListener("mousedown", handleClick);
|
|
15542
15541
|
return () => document.removeEventListener("mousedown", handleClick);
|
|
15543
15542
|
}, [showHiddenTags]);
|
|
15544
|
-
|
|
15543
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
15545
15544
|
const popup = hiddenTagsPopupRef.current;
|
|
15546
15545
|
const badge = badgeRef.current;
|
|
15547
15546
|
if (!popup || !badge) return;
|
|
@@ -15592,7 +15591,7 @@ function TagSearchInput({
|
|
|
15592
15591
|
/* @__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" }) }),
|
|
15593
15592
|
/* @__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: [
|
|
15594
15593
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15595
|
-
|
|
15594
|
+
_chunkUNI3POHUcjs.Tag,
|
|
15596
15595
|
{
|
|
15597
15596
|
variant: "outline",
|
|
15598
15597
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -15680,7 +15679,7 @@ function TagSearchInput({
|
|
|
15680
15679
|
"aria-hidden": "true",
|
|
15681
15680
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
15682
15681
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15683
|
-
|
|
15682
|
+
_chunkUNI3POHUcjs.Tag,
|
|
15684
15683
|
{
|
|
15685
15684
|
variant: "outline",
|
|
15686
15685
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -16394,7 +16393,7 @@ function ImageUploader({
|
|
|
16394
16393
|
const [pressed, setPressed] = _react.useState.call(void 0, false);
|
|
16395
16394
|
const [validationError, setValidationError] = _react.useState.call(void 0, null);
|
|
16396
16395
|
const interactive = !disabled && !loading;
|
|
16397
|
-
const resolvedValue =
|
|
16396
|
+
const resolvedValue = _chunkEHAYNUOLcjs.useAuthedImageSrc.call(void 0, value);
|
|
16398
16397
|
const hasImage = Boolean(value);
|
|
16399
16398
|
const displayError = error || validationError || void 0;
|
|
16400
16399
|
const resolvedHint = hint === void 0 ? `Max. size: ${formatSize(maxSize)}` : hint;
|
|
@@ -16554,7 +16553,7 @@ var _reactcolorful = require('react-colorful');
|
|
|
16554
16553
|
var Popover2 = PopoverPrimitive6.Root;
|
|
16555
16554
|
var PopoverTrigger = PopoverPrimitive6.Trigger;
|
|
16556
16555
|
var PopoverContent = _react.forwardRef.call(void 0, ({ className, align = "center", sideOffset = 4, collisionPadding, ...props }, ref) => {
|
|
16557
|
-
const keyboardPadding =
|
|
16556
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
16558
16557
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive6.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16559
16558
|
PopoverPrimitive6.Content,
|
|
16560
16559
|
{
|
|
@@ -16574,7 +16573,20 @@ PopoverContent.displayName = PopoverPrimitive6.Content.displayName;
|
|
|
16574
16573
|
|
|
16575
16574
|
// src/components/ui/color-preset-select.tsx
|
|
16576
16575
|
|
|
16577
|
-
var TICKET_STATUS_COLOR_PRESETS =
|
|
16576
|
+
var TICKET_STATUS_COLOR_PRESETS = [
|
|
16577
|
+
{ key: "green", label: "Green", color: "#5ea62e" },
|
|
16578
|
+
{ key: "lime", label: "Lime", color: "#8bc34a" },
|
|
16579
|
+
{ key: "teal", label: "Teal", color: "#4db6ac" },
|
|
16580
|
+
{ key: "sky", label: "Sky", color: "#4fc3f7" },
|
|
16581
|
+
{ key: "periwinkle", label: "Periwinkle", color: "#7e9cd8" },
|
|
16582
|
+
{ key: "lavender", label: "Lavender", color: "#b39ddb" },
|
|
16583
|
+
{ key: "yellow", label: "Yellow", color: "#e1b32f" },
|
|
16584
|
+
{ key: "sand", label: "Sand", color: "#f0c674" },
|
|
16585
|
+
{ key: "peach", label: "Peach", color: "#f39c7a" },
|
|
16586
|
+
{ key: "red", label: "Red", color: "#f36666" },
|
|
16587
|
+
{ key: "pink", label: "Pink", color: "#e988a8" },
|
|
16588
|
+
{ key: "neutral", label: "Neutral", color: "#b0b0b0" }
|
|
16589
|
+
];
|
|
16578
16590
|
var CUSTOM_PRESET_KEY = "custom";
|
|
16579
16591
|
var DEFAULT_CUSTOM_STATUS_COLOR = "#888888";
|
|
16580
16592
|
function TriggerChevron() {
|
|
@@ -16598,20 +16610,20 @@ function ColorPresetSelect({
|
|
|
16598
16610
|
...presets.map((p) => ({
|
|
16599
16611
|
id: p.key,
|
|
16600
16612
|
label: p.label,
|
|
16601
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16613
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ColorSwatch, { color: p.color }),
|
|
16602
16614
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
16603
16615
|
})),
|
|
16604
16616
|
{
|
|
16605
16617
|
id: CUSTOM_PRESET_KEY,
|
|
16606
16618
|
label: "Custom",
|
|
16607
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16619
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
16608
16620
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
16609
16621
|
}
|
|
16610
16622
|
]
|
|
16611
16623
|
}
|
|
16612
16624
|
];
|
|
16613
16625
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16614
|
-
|
|
16626
|
+
_chunkUNI3POHUcjs.ActionsMenuDropdown,
|
|
16615
16627
|
{
|
|
16616
16628
|
groups,
|
|
16617
16629
|
align: "start",
|
|
@@ -16621,7 +16633,7 @@ function ColorPresetSelect({
|
|
|
16621
16633
|
{
|
|
16622
16634
|
disabled,
|
|
16623
16635
|
"aria-label": `Color: ${displayLabel}`,
|
|
16624
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16636
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ColorSwatch, { color: displayColor }),
|
|
16625
16637
|
selectedLabel: displayLabel,
|
|
16626
16638
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16627
16639
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16642,7 +16654,7 @@ function HexInputs({ value, onChange }) {
|
|
|
16642
16654
|
}
|
|
16643
16655
|
const commit = () => {
|
|
16644
16656
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
16645
|
-
if (
|
|
16657
|
+
if (_chunkUNI3POHUcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
16646
16658
|
else setDraft(value);
|
|
16647
16659
|
};
|
|
16648
16660
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16706,12 +16718,12 @@ function ChannelInput({
|
|
|
16706
16718
|
);
|
|
16707
16719
|
}
|
|
16708
16720
|
function RgbInputs({ value, onChange }) {
|
|
16709
|
-
const rgb = _nullishCoalesce(
|
|
16721
|
+
const rgb = _nullishCoalesce(_chunkUNI3POHUcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16710
16722
|
const update = (next) => {
|
|
16711
16723
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
16712
16724
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
16713
16725
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
16714
|
-
onChange(
|
|
16726
|
+
onChange(_chunkUNI3POHUcjs.rgbToHex.call(void 0, r, g, b));
|
|
16715
16727
|
};
|
|
16716
16728
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16717
16729
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -16720,14 +16732,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
16720
16732
|
] });
|
|
16721
16733
|
}
|
|
16722
16734
|
function HslInputs({ value, onChange }) {
|
|
16723
|
-
const rgb = _nullishCoalesce(
|
|
16724
|
-
const hsl =
|
|
16735
|
+
const rgb = _nullishCoalesce(_chunkUNI3POHUcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16736
|
+
const hsl = _chunkUNI3POHUcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
16725
16737
|
const update = (next) => {
|
|
16726
16738
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
16727
16739
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
16728
16740
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
16729
|
-
const out =
|
|
16730
|
-
onChange(
|
|
16741
|
+
const out = _chunkUNI3POHUcjs.hslToRgb.call(void 0, h, s, l);
|
|
16742
|
+
onChange(_chunkUNI3POHUcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
16731
16743
|
};
|
|
16732
16744
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16733
16745
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -16753,7 +16765,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16753
16765
|
{
|
|
16754
16766
|
disabled,
|
|
16755
16767
|
"aria-label": "Pick custom color",
|
|
16756
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16768
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ColorSwatch, { color: value }),
|
|
16757
16769
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
16758
16770
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16759
16771
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16769,7 +16781,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16769
16781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
16770
16782
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16771
16783
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16772
|
-
|
|
16784
|
+
_chunkUNI3POHUcjs.ActionsMenuDropdown,
|
|
16773
16785
|
{
|
|
16774
16786
|
groups: formatGroups,
|
|
16775
16787
|
align: "start",
|
|
@@ -16817,7 +16829,7 @@ function TicketStatusConfigRow({
|
|
|
16817
16829
|
isDragging,
|
|
16818
16830
|
moveButtons
|
|
16819
16831
|
}) {
|
|
16820
|
-
const dragAndDropEnabled =
|
|
16832
|
+
const dragAndDropEnabled = _chunkJJUV7Z4Lcjs.useDragAndDropEnabled.call(void 0, );
|
|
16821
16833
|
const nameInputId = _react.useId.call(void 0, );
|
|
16822
16834
|
const isSystem = variant === "system";
|
|
16823
16835
|
const isCustomColor = !isSystem && presetKey === void 0;
|
|
@@ -16826,7 +16838,7 @@ function TicketStatusConfigRow({
|
|
|
16826
16838
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
16827
16839
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
16828
16840
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16829
|
-
|
|
16841
|
+
_chunkUNI3POHUcjs.TicketStatusTag,
|
|
16830
16842
|
{
|
|
16831
16843
|
status: statusKey,
|
|
16832
16844
|
label: name || " ",
|
|
@@ -16978,7 +16990,7 @@ function formatTestRunDuration(ms) {
|
|
|
16978
16990
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
16979
16991
|
var SKELETON_COLUMNS = 6;
|
|
16980
16992
|
function TestResultsSkeleton() {
|
|
16981
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16993
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
16982
16994
|
/* @__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}`)) }),
|
|
16983
16995
|
/* @__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}`)) }) })
|
|
16984
16996
|
] }) });
|
|
@@ -17013,13 +17025,13 @@ function TestResultsTable({ rows, loading }) {
|
|
|
17013
17025
|
if (loading) {
|
|
17014
17026
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
17015
17027
|
}
|
|
17016
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17028
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.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: [
|
|
17017
17029
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
17018
17030
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
17019
17031
|
] }) }) });
|
|
17020
17032
|
}
|
|
17021
17033
|
function TestRunErrorBanner({ error, className }) {
|
|
17022
|
-
const { copy } =
|
|
17034
|
+
const { copy } = _chunkJJUV7Z4Lcjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
17023
17035
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17024
17036
|
"div",
|
|
17025
17037
|
{
|
|
@@ -17073,7 +17085,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
17073
17085
|
function TestRunStatusStat({ status, className }) {
|
|
17074
17086
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
17075
17087
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex min-w-0 flex-col items-start justify-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
17076
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17088
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.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: "-" }),
|
|
17077
17089
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
17078
17090
|
] });
|
|
17079
17091
|
}
|
|
@@ -17116,7 +17128,7 @@ function useTestRunState(campaign) {
|
|
|
17116
17128
|
const firstError = isFinished && campaign.errors.length > 0 ? campaign.errors[0].error : null;
|
|
17117
17129
|
const status = isActive ? "running" : hasRun && isFinished ? firstError ? "error" : "success" : "idle";
|
|
17118
17130
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
17119
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
17131
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkUNI3POHUcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
17120
17132
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
17121
17133
|
const displayRows = _react.useMemo.call(void 0,
|
|
17122
17134
|
() => campaign.results.map(
|
|
@@ -17155,7 +17167,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
17155
17167
|
),
|
|
17156
17168
|
children: [
|
|
17157
17169
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17158
|
-
|
|
17170
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
17159
17171
|
{
|
|
17160
17172
|
src: attachment.thumbnailSrc,
|
|
17161
17173
|
alt: attachment.fileName,
|
|
@@ -17248,7 +17260,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17248
17260
|
};
|
|
17249
17261
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex items-start gap-4 rounded-[6px] p-3", "border border-ods-border bg-ods-card", className), children: [
|
|
17250
17262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17251
|
-
|
|
17263
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
17252
17264
|
{
|
|
17253
17265
|
src: note.authorAvatar,
|
|
17254
17266
|
alt: note.authorName,
|
|
@@ -17424,7 +17436,7 @@ function TicketInfoSection({
|
|
|
17424
17436
|
/* @__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: [
|
|
17425
17437
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
17426
17438
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17427
|
-
|
|
17439
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
17428
17440
|
{
|
|
17429
17441
|
src: _optionalChain([organization, 'optionalAccess', _397 => _397.imageSrc]),
|
|
17430
17442
|
alt: _optionalChain([organization, 'optionalAccess', _398 => _398.name]),
|
|
@@ -17454,7 +17466,7 @@ function TicketInfoSection({
|
|
|
17454
17466
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _401 => _401.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _402 => _402.icon]), onClick: _optionalChain([device, 'optionalAccess', _403 => _403.onClick]) }),
|
|
17455
17467
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
17456
17468
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17457
|
-
|
|
17469
|
+
_chunkUNI3POHUcjs.TicketStatusTag,
|
|
17458
17470
|
{
|
|
17459
17471
|
status: _nullishCoalesce(status, () => ( "")),
|
|
17460
17472
|
label: statusLabel,
|
|
@@ -17493,9 +17505,9 @@ function TicketInfoSection({
|
|
|
17493
17505
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17494
17506
|
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" }) }),
|
|
17495
17507
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
17496
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17508
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.SimpleMarkdownRenderer, { content: description }),
|
|
17497
17509
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
17498
|
-
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,
|
|
17510
|
+
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, _chunkUNI3POHUcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
17499
17511
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17500
17512
|
TicketNotesSection,
|
|
17501
17513
|
{
|
|
@@ -17518,7 +17530,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
17518
17530
|
const { label, color } = option;
|
|
17519
17531
|
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: [
|
|
17520
17532
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17533
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ColorSwatch, { color }),
|
|
17522
17534
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17523
17535
|
] }),
|
|
17524
17536
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17528,7 +17540,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
17528
17540
|
const { label, imageUrl } = option;
|
|
17529
17541
|
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: [
|
|
17530
17542
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17531
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17543
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
17532
17544
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17533
17545
|
] }),
|
|
17534
17546
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17563,9 +17575,9 @@ function TakeOverTicketModal({
|
|
|
17563
17575
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
17564
17576
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
17565
17577
|
};
|
|
17566
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17578
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17567
17579
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17568
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17580
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
17569
17581
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17570
17582
|
"The ticket ",
|
|
17571
17583
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17580,7 +17592,7 @@ function TakeOverTicketModal({
|
|
|
17580
17592
|
value: selectedStatusId,
|
|
17581
17593
|
onChange: setStatusId,
|
|
17582
17594
|
placeholder: "Select Status",
|
|
17583
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17595
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17584
17596
|
renderOption: renderTicketStatusOption
|
|
17585
17597
|
}
|
|
17586
17598
|
) }),
|
|
@@ -17594,7 +17606,7 @@ function TakeOverTicketModal({
|
|
|
17594
17606
|
placeholder: "Select Technician",
|
|
17595
17607
|
loading: assigneesLoading,
|
|
17596
17608
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17597
|
-
|
|
17609
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
17598
17610
|
{
|
|
17599
17611
|
src: selectedAssignee.imageUrl,
|
|
17600
17612
|
alt: selectedAssignee.label,
|
|
@@ -17607,7 +17619,7 @@ function TakeOverTicketModal({
|
|
|
17607
17619
|
}
|
|
17608
17620
|
) })
|
|
17609
17621
|
] }),
|
|
17610
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17622
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.ModalFooter, { children: [
|
|
17611
17623
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17612
17624
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17613
17625
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17666,9 +17678,9 @@ function ReopenTicketModal({
|
|
|
17666
17678
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
17667
17679
|
});
|
|
17668
17680
|
};
|
|
17669
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17681
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17670
17682
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17671
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17683
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17672
17684
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17673
17685
|
"The ticket ",
|
|
17674
17686
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17683,7 +17695,7 @@ function ReopenTicketModal({
|
|
|
17683
17695
|
value: selectedStatusId,
|
|
17684
17696
|
onChange: setStatusId,
|
|
17685
17697
|
placeholder: "Select Status",
|
|
17686
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17698
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17687
17699
|
renderOption: renderTicketStatusOption
|
|
17688
17700
|
}
|
|
17689
17701
|
) }),
|
|
@@ -17697,7 +17709,7 @@ function ReopenTicketModal({
|
|
|
17697
17709
|
placeholder: "Select Technician",
|
|
17698
17710
|
loading: assigneesLoading,
|
|
17699
17711
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17700
|
-
|
|
17712
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
17701
17713
|
{
|
|
17702
17714
|
src: selectedAssignee.imageUrl,
|
|
17703
17715
|
alt: selectedAssignee.label,
|
|
@@ -17721,7 +17733,7 @@ function ReopenTicketModal({
|
|
|
17721
17733
|
disabled: isPending
|
|
17722
17734
|
}
|
|
17723
17735
|
) }),
|
|
17724
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17736
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.ModalFooter, { children: [
|
|
17725
17737
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17726
17738
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17727
17739
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17769,9 +17781,9 @@ function ReopenTicketRequestModal({
|
|
|
17769
17781
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
17770
17782
|
});
|
|
17771
17783
|
};
|
|
17772
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17784
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17773
17785
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17774
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17786
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17775
17787
|
/* @__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." }),
|
|
17776
17788
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17777
17789
|
Textarea,
|
|
@@ -17795,7 +17807,7 @@ function ReopenTicketRequestModal({
|
|
|
17795
17807
|
disabled: isPending
|
|
17796
17808
|
}
|
|
17797
17809
|
),
|
|
17798
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17810
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.ModalFooter, { children: [
|
|
17799
17811
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
17800
17812
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
17801
17813
|
] })
|
|
@@ -17841,9 +17853,9 @@ function LazyMount({
|
|
|
17841
17853
|
placeholder = null,
|
|
17842
17854
|
className,
|
|
17843
17855
|
style,
|
|
17844
|
-
rootMargin =
|
|
17856
|
+
rootMargin = _chunkYXWGSDK4cjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
17845
17857
|
}) {
|
|
17846
|
-
const { ref, isNear } =
|
|
17858
|
+
const { ref, isNear } = _chunkYXWGSDK4cjs.useNearViewport.call(void 0, rootMargin);
|
|
17847
17859
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className, style, children: isNear ? children : placeholder });
|
|
17848
17860
|
}
|
|
17849
17861
|
|
|
@@ -18056,10 +18068,10 @@ function AccountDetailsFields({
|
|
|
18056
18068
|
onKeyDown,
|
|
18057
18069
|
layout = "stacked"
|
|
18058
18070
|
}) {
|
|
18059
|
-
const firstNameErr =
|
|
18060
|
-
const lastNameErr =
|
|
18061
|
-
const passwordErr =
|
|
18062
|
-
const confirmErr =
|
|
18071
|
+
const firstNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _408 => _408.firstName]), firstName);
|
|
18072
|
+
const lastNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _409 => _409.lastName]), lastName);
|
|
18073
|
+
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _410 => _410.password]), password);
|
|
18074
|
+
const confirmErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _411 => _411.confirmPassword]), confirmPassword);
|
|
18063
18075
|
const names = [
|
|
18064
18076
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18065
18077
|
_chunkN6HNK25Acjs.Input,
|
|
@@ -18477,9 +18489,9 @@ function CreateOrganizationForm({
|
|
|
18477
18489
|
}) {
|
|
18478
18490
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
18479
18491
|
const fieldsDisabled = disabled || loading;
|
|
18480
|
-
const emailErr =
|
|
18481
|
-
const orgNameErr =
|
|
18482
|
-
const domainErr =
|
|
18492
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _413 => _413.email]), _nullishCoalesce(email, () => ( "")));
|
|
18493
|
+
const orgNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _414 => _414.organizationName]), organizationName);
|
|
18494
|
+
const domainErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _415 => _415.domain]), domain);
|
|
18483
18495
|
const handleKeyDown = (event) => {
|
|
18484
18496
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18485
18497
|
onSubmit();
|
|
@@ -18695,7 +18707,7 @@ function LoginForm({
|
|
|
18695
18707
|
className
|
|
18696
18708
|
}) {
|
|
18697
18709
|
const fieldDisabled = disabled || loading;
|
|
18698
|
-
const emailErr =
|
|
18710
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _422 => _422.email]), email);
|
|
18699
18711
|
const handleKeyDown = (event) => {
|
|
18700
18712
|
if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
|
|
18701
18713
|
_optionalChain([onSubmitClick, 'optionalCall', _423 => _423()]);
|
|
@@ -18810,8 +18822,8 @@ function OpenFrameSsoLoginForm({
|
|
|
18810
18822
|
className
|
|
18811
18823
|
}) {
|
|
18812
18824
|
const fieldsDisabled = disabled || loading;
|
|
18813
|
-
const emailErr =
|
|
18814
|
-
const passwordErr =
|
|
18825
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _426 => _426.email]), email);
|
|
18826
|
+
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _427 => _427.password]), password);
|
|
18815
18827
|
const handleKeyDown = (event) => {
|
|
18816
18828
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18817
18829
|
onSubmit();
|
|
@@ -18916,7 +18928,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18916
18928
|
className
|
|
18917
18929
|
}) {
|
|
18918
18930
|
const fieldsDisabled = disabled || loading;
|
|
18919
|
-
const emailErr =
|
|
18931
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _428 => _428.email]), email);
|
|
18920
18932
|
const handleKeyDown = (event) => {
|
|
18921
18933
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18922
18934
|
onSubmit();
|
|
@@ -19021,8 +19033,8 @@ function PasswordResetForm({
|
|
|
19021
19033
|
className
|
|
19022
19034
|
}) {
|
|
19023
19035
|
const fieldsDisabled = disabled || loading;
|
|
19024
|
-
const passwordErr =
|
|
19025
|
-
const confirmErr =
|
|
19036
|
+
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _429 => _429.password]), password);
|
|
19037
|
+
const confirmErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _430 => _430.confirmPassword]), confirmPassword);
|
|
19026
19038
|
const handleKeyDown = (event) => {
|
|
19027
19039
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19028
19040
|
onSubmit();
|
|
@@ -19158,7 +19170,7 @@ function SsoJoinForm({
|
|
|
19158
19170
|
] }),
|
|
19159
19171
|
/* @__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: [
|
|
19160
19172
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19161
|
-
|
|
19173
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
19162
19174
|
{
|
|
19163
19175
|
size: "lg",
|
|
19164
19176
|
variant: "round",
|
|
@@ -19172,7 +19184,7 @@ function SsoJoinForm({
|
|
|
19172
19184
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
19173
19185
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
19174
19186
|
] }),
|
|
19175
|
-
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,
|
|
19187
|
+
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, _chunkUNI3POHUcjs.Tag, { variant: "grey", label: role }, role)) })
|
|
19176
19188
|
] }),
|
|
19177
19189
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19178
19190
|
CheckboxBlock,
|
|
@@ -19416,7 +19428,7 @@ function ChangelogManager({
|
|
|
19416
19428
|
),
|
|
19417
19429
|
/* @__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)" }) }),
|
|
19418
19430
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19419
|
-
|
|
19431
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
19420
19432
|
{
|
|
19421
19433
|
variant: "button",
|
|
19422
19434
|
singleLine: true,
|
|
@@ -19679,7 +19691,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19679
19691
|
const label = (tag.name || "").toUpperCase();
|
|
19680
19692
|
if (basePath && tag.slug) {
|
|
19681
19693
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19682
|
-
|
|
19694
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
19683
19695
|
{
|
|
19684
19696
|
text: label,
|
|
19685
19697
|
variant: "card",
|
|
@@ -19687,9 +19699,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19687
19699
|
}
|
|
19688
19700
|
) }, key);
|
|
19689
19701
|
}
|
|
19690
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19702
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
19691
19703
|
}),
|
|
19692
|
-
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19704
|
+
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.StatusBadge, { text: `+${overflow2}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
19693
19705
|
] });
|
|
19694
19706
|
}
|
|
19695
19707
|
|
|
@@ -19766,7 +19778,7 @@ var SectionButton = ({
|
|
|
19766
19778
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
19767
19779
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "whitespace-normal break-words text-h4"), children: section.title }),
|
|
19768
19780
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19769
|
-
|
|
19781
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
19770
19782
|
{
|
|
19771
19783
|
text: section.badge.text,
|
|
19772
19784
|
variant: section.badge.variant || "button",
|
|
@@ -19785,7 +19797,7 @@ var SectionButton = ({
|
|
|
19785
19797
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
19786
19798
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
19787
19799
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19788
|
-
|
|
19800
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
19789
19801
|
{
|
|
19790
19802
|
text: section.badge.text,
|
|
19791
19803
|
variant: section.badge.variant || "button",
|
|
@@ -20073,7 +20085,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20073
20085
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
20074
20086
|
title: config.title,
|
|
20075
20087
|
loading: "eager",
|
|
20076
|
-
...
|
|
20088
|
+
..._chunkUNI3POHUcjs.fetchPriorityProp.call(void 0, "high")
|
|
20077
20089
|
},
|
|
20078
20090
|
iframeKey
|
|
20079
20091
|
),
|
|
@@ -20497,7 +20509,7 @@ var FiltersDropdown = ({
|
|
|
20497
20509
|
window.addEventListener("resize", calculateOptimalPlacement);
|
|
20498
20510
|
return () => window.removeEventListener("resize", calculateOptimalPlacement);
|
|
20499
20511
|
}, [isOpen, isMobile, placement]);
|
|
20500
|
-
|
|
20512
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
20501
20513
|
const dropdown = dropdownRef.current;
|
|
20502
20514
|
if (!dropdown) return;
|
|
20503
20515
|
if (!isMobile) {
|
|
@@ -20899,7 +20911,7 @@ function MediaGalleryManager({
|
|
|
20899
20911
|
(mediaItem, index) => {
|
|
20900
20912
|
const isDeleting = deletingIndex === index;
|
|
20901
20913
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20902
|
-
|
|
20914
|
+
_chunkOQHFHKUGcjs.Card,
|
|
20903
20915
|
{
|
|
20904
20916
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
20905
20917
|
draggable: true,
|
|
@@ -20920,10 +20932,10 @@ function MediaGalleryManager({
|
|
|
20920
20932
|
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" })
|
|
20921
20933
|
}
|
|
20922
20934
|
) }),
|
|
20923
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children:
|
|
20935
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: _chunkOQHFHKUGcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? (
|
|
20924
20936
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
20925
20937
|
// fit="cover" crops to the aspect-video cell.
|
|
20926
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20938
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
20927
20939
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20928
20940
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
20929
20941
|
{
|
|
@@ -20936,7 +20948,7 @@ function MediaGalleryManager({
|
|
|
20936
20948
|
) }),
|
|
20937
20949
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
|
|
20938
20950
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex items-center gap-2", children: [
|
|
20939
|
-
|
|
20951
|
+
_chunkOQHFHKUGcjs.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" }),
|
|
20940
20952
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "capitalize text-ods-text-primary text-h6", children: mediaItem.media_type })
|
|
20941
20953
|
] }),
|
|
20942
20954
|
mediaItem.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: mediaItem.title })
|
|
@@ -21372,7 +21384,7 @@ function PlatformFilterComponent({
|
|
|
21372
21384
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
21373
21385
|
size,
|
|
21374
21386
|
onClick: () => onPlatformChange(platform.value),
|
|
21375
|
-
leftIcon: showIcons ?
|
|
21387
|
+
leftIcon: showIcons ? _chunkJJUV7Z4Lcjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
21376
21388
|
className: "text-h3",
|
|
21377
21389
|
children: platform.label
|
|
21378
21390
|
},
|
|
@@ -23174,9 +23186,9 @@ function PushButtonSelector({
|
|
|
23174
23186
|
option.id
|
|
23175
23187
|
);
|
|
23176
23188
|
if (option.disabled && option.disabledReason) {
|
|
23177
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23178
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23179
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23189
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { children: [
|
|
23190
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
23191
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
23180
23192
|
] }, option.id);
|
|
23181
23193
|
}
|
|
23182
23194
|
return optionEl;
|
|
@@ -23221,7 +23233,7 @@ function PushButtonSelector({
|
|
|
23221
23233
|
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
|
|
23222
23234
|
] }) : null
|
|
23223
23235
|
] });
|
|
23224
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23236
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
23225
23237
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
23226
23238
|
searchInput,
|
|
23227
23239
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23391,10 +23403,10 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23391
23403
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
23392
23404
|
}
|
|
23393
23405
|
) }),
|
|
23394
|
-
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children:
|
|
23406
|
+
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children: _chunkOQHFHKUGcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo" ? (
|
|
23395
23407
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
23396
23408
|
// fit="cover" crops to the aspect-video cell.
|
|
23397
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23409
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23398
23410
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23399
23411
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
23400
23412
|
{
|
|
@@ -23527,7 +23539,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
23527
23539
|
}
|
|
23528
23540
|
)
|
|
23529
23541
|
] }),
|
|
23530
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23542
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
23531
23543
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
23532
23544
|
]
|
|
23533
23545
|
}
|
|
@@ -24115,7 +24127,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
24115
24127
|
className: _chunk23V5BSHDcjs.cn.call(void 0, modeClassName, className),
|
|
24116
24128
|
style: customStyle,
|
|
24117
24129
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63QUMV72cjs.OpenFrameLogo, { className: "h-5 w-5", lowerPathColor: iconLowerPath, upperPathColor: iconUpperPath }) : void 0,
|
|
24118
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24130
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
24119
24131
|
children
|
|
24120
24132
|
}
|
|
24121
24133
|
);
|
|
@@ -24385,11 +24397,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
24385
24397
|
|
|
24386
24398
|
function VideoBitesDisplay({
|
|
24387
24399
|
bites,
|
|
24388
|
-
title =
|
|
24400
|
+
title = _chunkOQHFHKUGcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
24389
24401
|
filterPublished = true,
|
|
24390
24402
|
showTitle = true
|
|
24391
24403
|
}) {
|
|
24392
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24404
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24393
24405
|
}
|
|
24394
24406
|
|
|
24395
24407
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24458,7 +24470,7 @@ function WalkthroughVideo({
|
|
|
24458
24470
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24459
24471
|
};
|
|
24460
24472
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
24461
|
-
const hydrated =
|
|
24473
|
+
const hydrated = _chunkUNI3POHUcjs.useIsHydrated.call(void 0, );
|
|
24462
24474
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24463
24475
|
if (!hydrated) return false;
|
|
24464
24476
|
try {
|
|
@@ -24855,7 +24867,7 @@ function WalkthroughVideo({
|
|
|
24855
24867
|
},
|
|
24856
24868
|
children: [
|
|
24857
24869
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24858
|
-
|
|
24870
|
+
_chunkUNI3POHUcjs.VideoHoverPreviewSurface,
|
|
24859
24871
|
{
|
|
24860
24872
|
url: video.mainVideoUrl || "",
|
|
24861
24873
|
posterUrl: video.posterUrl,
|
|
@@ -24878,7 +24890,7 @@ function WalkthroughVideo({
|
|
|
24878
24890
|
`card-${embedUrlKey}`
|
|
24879
24891
|
) }),
|
|
24880
24892
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24881
|
-
|
|
24893
|
+
_chunkUNI3POHUcjs.CardHitLayer,
|
|
24882
24894
|
{
|
|
24883
24895
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24884
24896
|
onPointerDown: pausePreviewNow,
|
|
@@ -24887,7 +24899,7 @@ function WalkthroughVideo({
|
|
|
24887
24899
|
}
|
|
24888
24900
|
),
|
|
24889
24901
|
/* @__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: [
|
|
24890
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24902
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
24891
24903
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
24892
24904
|
] }),
|
|
24893
24905
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24900,7 +24912,7 @@ function WalkthroughVideo({
|
|
|
24900
24912
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24901
24913
|
onClick: onUnmuteOrPlay,
|
|
24902
24914
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
24903
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24915
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.VideoUnmuteGlyph, {})
|
|
24904
24916
|
}
|
|
24905
24917
|
),
|
|
24906
24918
|
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: [
|
|
@@ -24993,7 +25005,7 @@ function WalkthroughVideo({
|
|
|
24993
25005
|
children: [
|
|
24994
25006
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
24995
25007
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24996
|
-
|
|
25008
|
+
_chunkUNI3POHUcjs.Video,
|
|
24997
25009
|
{
|
|
24998
25010
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
24999
25011
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -25044,7 +25056,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
25044
25056
|
var _reactquery = require('@tanstack/react-query');
|
|
25045
25057
|
function useWalkthroughVideo(opts) {
|
|
25046
25058
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
25047
|
-
const captions =
|
|
25059
|
+
const captions = _chunkUNI3POHUcjs.useCaptions.call(void 0, );
|
|
25048
25060
|
const query = _reactquery.useQuery.call(void 0, {
|
|
25049
25061
|
queryKey: ["walkthrough-video", endpoint],
|
|
25050
25062
|
enabled,
|
|
@@ -25242,7 +25254,7 @@ function VideoSourceSelector({
|
|
|
25242
25254
|
}
|
|
25243
25255
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
25244
25256
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
25245
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25257
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
25246
25258
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25247
25259
|
"button",
|
|
25248
25260
|
{
|
|
@@ -25766,7 +25778,7 @@ function HighlightVideoSection({
|
|
|
25766
25778
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25767
25779
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25768
25780
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25769
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25781
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25770
25782
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25771
25783
|
"button",
|
|
25772
25784
|
{
|
|
@@ -26476,7 +26488,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26476
26488
|
if (level) onPermissionChange(categoryId, policy.id, level);
|
|
26477
26489
|
};
|
|
26478
26490
|
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: [
|
|
26479
|
-
/* @__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,
|
|
26491
|
+
/* @__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, _chunkYXWGSDK4cjs.ToolIcon, { toolType: policy.toolName, size: 16 }) }),
|
|
26480
26492
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
26481
26493
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h4", title: policy.name, children: policy.name }),
|
|
26482
26494
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "break-all text-ods-text-secondary text-h6", children: policy.commandPattern }),
|
|
@@ -26502,7 +26514,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26502
26514
|
] });
|
|
26503
26515
|
};
|
|
26504
26516
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
26505
|
-
const { innerRef, containerStyle } =
|
|
26517
|
+
const { innerRef, containerStyle } = _chunkUNI3POHUcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
26506
26518
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
26507
26519
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26508
26520
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26667,10 +26679,10 @@ function WaitlistForm({
|
|
|
26667
26679
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26668
26680
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
26669
26681
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
26670
|
-
const { toast } =
|
|
26671
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
26682
|
+
const { toast } = _chunkJJUV7Z4Lcjs.useToast.call(void 0, );
|
|
26683
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkJJUV7Z4Lcjs.useHumanitySignals.call(void 0, );
|
|
26672
26684
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26673
|
-
const isClient =
|
|
26685
|
+
const isClient = _chunkUNI3POHUcjs.useIsHydrated.call(void 0, );
|
|
26674
26686
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26675
26687
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26676
26688
|
const isMailDomainGeneric = hasGenericEmailDomain(email);
|
|
@@ -27218,7 +27230,7 @@ function useContainedResizableSize({
|
|
|
27218
27230
|
const clampToContainer = _react.useCallback.call(void 0,
|
|
27219
27231
|
(value) => {
|
|
27220
27232
|
const effectiveMax = available > 0 ? Math.min(maxSize, available - 40) : maxSize;
|
|
27221
|
-
return
|
|
27233
|
+
return _chunkYXWGSDK4cjs.clamp.call(void 0, value, minSize, Math.max(minSize, effectiveMax));
|
|
27222
27234
|
},
|
|
27223
27235
|
[available, minSize, maxSize]
|
|
27224
27236
|
);
|
|
@@ -27450,7 +27462,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27450
27462
|
"data-state": open ? "open" : "closed",
|
|
27451
27463
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
27452
27464
|
"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",
|
|
27453
|
-
|
|
27465
|
+
_chunkUNI3POHUcjs.OVERLAY_BACKDROP_CLASS,
|
|
27454
27466
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
27455
27467
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
27456
27468
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -27526,11 +27538,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27526
27538
|
}
|
|
27527
27539
|
);
|
|
27528
27540
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
27529
|
-
var AppLayoutDrawerHeader =
|
|
27530
|
-
var AppLayoutDrawerTitle =
|
|
27531
|
-
var AppLayoutDrawerDescription =
|
|
27532
|
-
var AppLayoutDrawerBody =
|
|
27533
|
-
var AppLayoutDrawerFooter =
|
|
27541
|
+
var AppLayoutDrawerHeader = _chunkUNI3POHUcjs.DrawerHeader;
|
|
27542
|
+
var AppLayoutDrawerTitle = _chunkUNI3POHUcjs.DrawerTitle;
|
|
27543
|
+
var AppLayoutDrawerDescription = _chunkUNI3POHUcjs.DrawerDescription;
|
|
27544
|
+
var AppLayoutDrawerBody = _chunkUNI3POHUcjs.DrawerBody;
|
|
27545
|
+
var AppLayoutDrawerFooter = _chunkUNI3POHUcjs.DrawerFooter;
|
|
27534
27546
|
|
|
27535
27547
|
// src/components/features/notifications/notification-tile.tsx
|
|
27536
27548
|
|
|
@@ -27616,9 +27628,9 @@ function NotificationTile({
|
|
|
27616
27628
|
height: 16,
|
|
27617
27629
|
unoptimized: true
|
|
27618
27630
|
}
|
|
27619
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
27631
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkJJUV7Z4Lcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27620
27632
|
type ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "min-w-0 flex-1 truncate text-h5", typeColorByVariant[accentVariant]), title: type, children: type }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1" }),
|
|
27621
|
-
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
27633
|
+
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkUNI3POHUcjs.formatTicketRelativeTime.call(void 0, createdAtIso) }) : null,
|
|
27622
27634
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
27623
27635
|
{
|
|
27624
27636
|
active: isLive,
|
|
@@ -27663,7 +27675,7 @@ function NotificationTile({
|
|
|
27663
27675
|
"div",
|
|
27664
27676
|
{
|
|
27665
27677
|
"aria-hidden": true,
|
|
27666
|
-
className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left",
|
|
27678
|
+
className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left", _chunkJJUV7Z4Lcjs.progressColorByVariant[accentVariant]),
|
|
27667
27679
|
style: {
|
|
27668
27680
|
animation: `toast-progress ${liveDurationMs}ms linear forwards`,
|
|
27669
27681
|
animationDelay: `-${initialElapsed}ms`
|
|
@@ -27715,7 +27727,7 @@ function NotificationDrawer({
|
|
|
27715
27727
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27716
27728
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27717
27729
|
/* @__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,
|
|
27718
|
-
|
|
27730
|
+
_chunkUNI3POHUcjs.DrawerTitle,
|
|
27719
27731
|
{
|
|
27720
27732
|
hideClose: true,
|
|
27721
27733
|
className: "truncate",
|
|
@@ -27774,8 +27786,8 @@ function NotificationDrawer({
|
|
|
27774
27786
|
}
|
|
27775
27787
|
) });
|
|
27776
27788
|
}
|
|
27777
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27778
|
-
|
|
27789
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27790
|
+
_chunkUNI3POHUcjs.DrawerContent,
|
|
27779
27791
|
{
|
|
27780
27792
|
side: "right",
|
|
27781
27793
|
"aria-describedby": void 0,
|
|
@@ -27880,7 +27892,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
27880
27892
|
] });
|
|
27881
27893
|
}
|
|
27882
27894
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
27883
|
-
const { supported, permission, request } =
|
|
27895
|
+
const { supported, permission, request } = _chunkJJUV7Z4Lcjs.useNotificationPermission.call(void 0, );
|
|
27884
27896
|
if (!supported) return null;
|
|
27885
27897
|
const blocked = permission === "denied";
|
|
27886
27898
|
const handleChange = async (value) => {
|
|
@@ -28050,13 +28062,13 @@ function getApprovalMeta(notification) {
|
|
|
28050
28062
|
function resolutionToStatus(resolution) {
|
|
28051
28063
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
28052
28064
|
case "APPROVED":
|
|
28053
|
-
return
|
|
28065
|
+
return _chunkUNI3POHUcjs.APPROVAL_STATUS.APPROVED;
|
|
28054
28066
|
case "REJECTED":
|
|
28055
|
-
return
|
|
28067
|
+
return _chunkUNI3POHUcjs.APPROVAL_STATUS.REJECTED;
|
|
28056
28068
|
case "CANCELLED":
|
|
28057
|
-
return
|
|
28069
|
+
return _chunkUNI3POHUcjs.APPROVAL_STATUS.CANCELLED;
|
|
28058
28070
|
default:
|
|
28059
|
-
return
|
|
28071
|
+
return _chunkUNI3POHUcjs.APPROVAL_STATUS.PENDING;
|
|
28060
28072
|
}
|
|
28061
28073
|
}
|
|
28062
28074
|
function approvalMetaToBatchData(approval) {
|
|
@@ -28096,7 +28108,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28096
28108
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _599 => _599.resolution]));
|
|
28097
28109
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28098
28110
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28099
|
-
const { innerRef, containerStyle } =
|
|
28111
|
+
const { innerRef, containerStyle } = _chunkUNI3POHUcjs.useCollapsible.call(void 0, { expanded });
|
|
28100
28112
|
if (!approval || !batchData) return null;
|
|
28101
28113
|
const tileNotification = {
|
|
28102
28114
|
...notification,
|
|
@@ -28149,7 +28161,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28149
28161
|
}
|
|
28150
28162
|
)
|
|
28151
28163
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28152
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28164
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ApprovalStatusTag, { status }),
|
|
28153
28165
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
28154
28166
|
"by ",
|
|
28155
28167
|
approval.resolvedByName
|
|
@@ -28167,12 +28179,12 @@ function ApprovalRequestNotificationTile({
|
|
|
28167
28179
|
"aria-expanded": expanded,
|
|
28168
28180
|
"aria-label": toggleLabel,
|
|
28169
28181
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
28170
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28182
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ExpandChevron, { expanded })
|
|
28171
28183
|
}
|
|
28172
28184
|
)
|
|
28173
28185
|
] }),
|
|
28174
28186
|
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,
|
|
28175
|
-
|
|
28187
|
+
_chunkUNI3POHUcjs.ApprovalBatchMessage,
|
|
28176
28188
|
{
|
|
28177
28189
|
data: batchData,
|
|
28178
28190
|
showExecutionStatus: false,
|
|
@@ -28245,7 +28257,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
28245
28257
|
const { label, imageUrl } = option;
|
|
28246
28258
|
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: [
|
|
28247
28259
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
28248
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28260
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
28249
28261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
28250
28262
|
] }),
|
|
28251
28263
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -28329,7 +28341,7 @@ function TimeTrackerPanel({
|
|
|
28329
28341
|
}));
|
|
28330
28342
|
const selectedCustomer = customerAutocompleteOptions.find((o) => o.value === selectedCustomerId);
|
|
28331
28343
|
const customerStartAdornment = selectedCustomer ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28332
|
-
|
|
28344
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
28333
28345
|
{
|
|
28334
28346
|
src: selectedCustomer.imageUrl,
|
|
28335
28347
|
alt: selectedCustomer.label,
|
|
@@ -28508,7 +28520,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28508
28520
|
function StatusTag({ status }) {
|
|
28509
28521
|
if (status === "tracking") {
|
|
28510
28522
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28511
|
-
|
|
28523
|
+
_chunkUNI3POHUcjs.Tag,
|
|
28512
28524
|
{
|
|
28513
28525
|
variant: "success",
|
|
28514
28526
|
className: STATUS_TAG_SKIN,
|
|
@@ -28518,9 +28530,9 @@ function StatusTag({ status }) {
|
|
|
28518
28530
|
);
|
|
28519
28531
|
}
|
|
28520
28532
|
if (status === "paused") {
|
|
28521
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28533
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
28522
28534
|
}
|
|
28523
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28535
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28524
28536
|
}
|
|
28525
28537
|
function LastEntryRow({ entry, onClick }) {
|
|
28526
28538
|
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: [
|
|
@@ -28689,7 +28701,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28689
28701
|
"data-state": isOpen ? "open" : "closed",
|
|
28690
28702
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
28691
28703
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28692
|
-
|
|
28704
|
+
_chunkUNI3POHUcjs.OVERLAY_BACKDROP_CLASS,
|
|
28693
28705
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28694
28706
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28695
28707
|
)
|
|
@@ -28843,7 +28855,7 @@ function BoardColumnHeader({
|
|
|
28843
28855
|
}) {
|
|
28844
28856
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
28845
28857
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
28846
|
-
const useStatusVariant =
|
|
28858
|
+
const useStatusVariant = _chunkUNI3POHUcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
28847
28859
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
28848
28860
|
if (collapsed) {
|
|
28849
28861
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -28859,7 +28871,7 @@ function BoardColumnHeader({
|
|
|
28859
28871
|
}
|
|
28860
28872
|
),
|
|
28861
28873
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28862
|
-
|
|
28874
|
+
_chunkUNI3POHUcjs.TicketStatusTag,
|
|
28863
28875
|
{
|
|
28864
28876
|
status: tagStatus,
|
|
28865
28877
|
label: column.label,
|
|
@@ -28872,7 +28884,7 @@ function BoardColumnHeader({
|
|
|
28872
28884
|
}
|
|
28873
28885
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28874
28886
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28875
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28887
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
28876
28888
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
28877
28889
|
] }),
|
|
28878
28890
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -28952,7 +28964,7 @@ function cardPositions(root) {
|
|
|
28952
28964
|
}
|
|
28953
28965
|
function useLaneScrollAnchor(scrollRef, tickets) {
|
|
28954
28966
|
const positionsRef = _react.useRef.call(void 0, []);
|
|
28955
|
-
|
|
28967
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
28956
28968
|
const root = scrollRef.current;
|
|
28957
28969
|
if (!root) return;
|
|
28958
28970
|
const previous = positionsRef.current;
|
|
@@ -29023,7 +29035,7 @@ function holdMoveDragEffect(element) {
|
|
|
29023
29035
|
|
|
29024
29036
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
29025
29037
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
29026
|
-
const { innerRef, containerStyle } =
|
|
29038
|
+
const { innerRef, containerStyle } = _chunkUNI3POHUcjs.useCollapsible.call(void 0, { expanded });
|
|
29027
29039
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
29028
29040
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
29029
29041
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -29052,7 +29064,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
29052
29064
|
}
|
|
29053
29065
|
),
|
|
29054
29066
|
/* @__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,
|
|
29055
|
-
|
|
29067
|
+
_chunkUNI3POHUcjs.ApprovalBatchMessage,
|
|
29056
29068
|
{
|
|
29057
29069
|
className: "mb-0",
|
|
29058
29070
|
data: {
|
|
@@ -29124,7 +29136,7 @@ var ACTIVITY_DEFAULT_LABEL = {
|
|
|
29124
29136
|
var TICKET_CARD_SHELL = "relative flex flex-col gap-[var(--spacing-system-sf)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] select-none text-left";
|
|
29125
29137
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
29126
29138
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
29127
|
-
const newMessageTextColor = columnColor ?
|
|
29139
|
+
const newMessageTextColor = columnColor ? _chunkUNI3POHUcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29128
29140
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _635 => _635.deviceHostnames, 'optionalAccess', _636 => _636.length]) || ticket.organizationName);
|
|
29129
29141
|
const deviceText = [_optionalChain([ticket, 'access', _637 => _637.deviceHostnames, 'optionalAccess', _638 => _638.join, 'call', _639 => _639(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29130
29142
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _640 => _640.assignees, 'optionalAccess', _641 => _641.length]) || renderAssignSlot);
|
|
@@ -29146,7 +29158,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29146
29158
|
},
|
|
29147
29159
|
a.id
|
|
29148
29160
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29149
|
-
|
|
29161
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
29150
29162
|
{
|
|
29151
29163
|
src: a.avatarUrl,
|
|
29152
29164
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -29163,8 +29175,8 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29163
29175
|
] })
|
|
29164
29176
|
] }) : null
|
|
29165
29177
|
] }) : null;
|
|
29166
|
-
const timestampLabel = ticket.createdAt ?
|
|
29167
|
-
const tooltipLabel = ticket.createdAt ?
|
|
29178
|
+
const timestampLabel = ticket.createdAt ? _chunkUNI3POHUcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
29179
|
+
const tooltipLabel = ticket.createdAt ? _chunkUNI3POHUcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
29168
29180
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
29169
29181
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29170
29182
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
@@ -29178,9 +29190,9 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29178
29190
|
rightSection
|
|
29179
29191
|
] }),
|
|
29180
29192
|
_optionalChain([ticket, 'access', _644 => _644.tags, 'optionalAccess', _645 => _645.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29181
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29182
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29183
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29193
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { children: [
|
|
29194
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: metaLabel }) }),
|
|
29195
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { children: tooltipLabel })
|
|
29184
29196
|
] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: metaLabel })),
|
|
29185
29197
|
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: [
|
|
29186
29198
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -29200,7 +29212,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29200
29212
|
}
|
|
29201
29213
|
),
|
|
29202
29214
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29203
|
-
|
|
29215
|
+
_chunkUNI3POHUcjs.Tag,
|
|
29204
29216
|
{
|
|
29205
29217
|
label: "New Message",
|
|
29206
29218
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -29415,8 +29427,8 @@ function TicketTagRow({ tags }) {
|
|
|
29415
29427
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
29416
29428
|
const hidden = tags.length - visible.length;
|
|
29417
29429
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
29418
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29419
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29430
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
29431
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
29420
29432
|
] });
|
|
29421
29433
|
}
|
|
29422
29434
|
|
|
@@ -29658,7 +29670,7 @@ function resolveBoardDrop(columns, { source, target }) {
|
|
|
29658
29670
|
// src/components/features/board/use-board-collapse.ts
|
|
29659
29671
|
|
|
29660
29672
|
function useBoardCollapse(storageKey) {
|
|
29661
|
-
const [persisted, setPersisted] =
|
|
29673
|
+
const [persisted, setPersisted] = _chunkJJUV7Z4Lcjs.useLocalStorage.call(void 0, _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")), {});
|
|
29662
29674
|
const [memory, setMemory] = _react.useState.call(void 0, {});
|
|
29663
29675
|
const collapsed = storageKey ? persisted : memory;
|
|
29664
29676
|
const setMap = storageKey ? setPersisted : setMemory;
|
|
@@ -29729,7 +29741,7 @@ var DROP_EASING = "cubic-bezier(0.2, 0, 0, 1)";
|
|
|
29729
29741
|
var DRAG_PREVIEW_Z = 1200;
|
|
29730
29742
|
var ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"];
|
|
29731
29743
|
function Board(props) {
|
|
29732
|
-
const dragAndDropEnabled =
|
|
29744
|
+
const dragAndDropEnabled = _chunkYXWGSDK4cjs.useMediaQuery.call(void 0, _chunkJJUV7Z4Lcjs.DRAG_AND_DROP_MEDIA_QUERY);
|
|
29733
29745
|
if (dragAndDropEnabled === void 0) {
|
|
29734
29746
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: _chunk23V5BSHDcjs.cn.call(void 0, "flex h-full min-h-0 flex-col", props.className) });
|
|
29735
29747
|
}
|
|
@@ -29761,7 +29773,7 @@ function DragBoard({
|
|
|
29761
29773
|
onThumbPointerDown,
|
|
29762
29774
|
onThumbPointerMove,
|
|
29763
29775
|
onThumbPointerUp
|
|
29764
|
-
} =
|
|
29776
|
+
} = _chunkJJUV7Z4Lcjs.useHorizontalScrollbar.call(void 0, );
|
|
29765
29777
|
const columnsRef = _react.useRef.call(void 0, columns);
|
|
29766
29778
|
const onChangeRef = _react.useRef.call(void 0, onChange);
|
|
29767
29779
|
const boardRef = _react.useRef.call(void 0, null);
|
|
@@ -29950,7 +29962,7 @@ function DragBoard({
|
|
|
29950
29962
|
})
|
|
29951
29963
|
);
|
|
29952
29964
|
}, []);
|
|
29953
|
-
|
|
29965
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
29954
29966
|
if (!landing) return void 0;
|
|
29955
29967
|
const finish = () => {
|
|
29956
29968
|
landingTimer.current = null;
|
|
@@ -30191,7 +30203,7 @@ function useSortableListContext() {
|
|
|
30191
30203
|
}
|
|
30192
30204
|
function SortableList({ onReorder, getItemLabel, disabled = false, className, children }) {
|
|
30193
30205
|
const listRef = _react.useRef.call(void 0, null);
|
|
30194
|
-
const dragAndDropEnabled =
|
|
30206
|
+
const dragAndDropEnabled = _chunkJJUV7Z4Lcjs.useDragAndDropEnabled.call(void 0, );
|
|
30195
30207
|
const dragType = _react.useId.call(void 0, );
|
|
30196
30208
|
const [announcement, setAnnouncement] = _react.useState.call(void 0, "");
|
|
30197
30209
|
const onReorderRef = _react.useRef.call(void 0, onReorder);
|
|
@@ -30283,7 +30295,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30283
30295
|
})
|
|
30284
30296
|
);
|
|
30285
30297
|
}, [dragType, disabled, dragAndDropEnabled, readItems, reorder]);
|
|
30286
|
-
|
|
30298
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
30287
30299
|
const from = flipFrom.current;
|
|
30288
30300
|
flipFrom.current = null;
|
|
30289
30301
|
if (!from) return;
|
|
@@ -31100,4 +31112,4 @@ function SortableRow({
|
|
|
31100
31112
|
|
|
31101
31113
|
|
|
31102
31114
|
exports.AllowedDomainsInput = AllowedDomainsInput; exports.AnnouncementBarView = AnnouncementBarView; exports.HiddenTagsPopup = HiddenTagsPopup; exports.TruncateText = TruncateText; exports.Autocomplete = Autocomplete; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePickerCalendar = DatePickerCalendar; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.InfoHint = InfoHint; exports.Field = Field; exports.HoneypotField = HoneypotField; exports.JsonDetailList = JsonDetailList; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.DeletedUserAvatar = DeletedUserAvatar; exports.SearchableSelect = SearchableSelect; exports.AssigneeDropdown = AssigneeDropdown; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoDataMessage = NoDataMessage; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.useConfirm = useConfirm; exports.useGuardedClose = useGuardedClose; exports.UnsavedChangesChip = UnsavedChangesChip; exports.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS = HUBSPOT_DO_NOT_COLLECT_FORM_PROPS; exports.AdminFormModal = AdminFormModal; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.FullscreenSwitchController = FullscreenSwitchController; exports.EmbedIframe = EmbedIframe; exports.EmbedViewerFrame = EmbedViewerFrame; exports.ClaudeEmbed = ClaudeEmbed; exports.FigmaEmbed = FigmaEmbed; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.MarkdownImage = MarkdownImage; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.MediaCarousel = MediaCarousel; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.SOCIAL_PLATFORM_ALIASES = SOCIAL_PLATFORM_ALIASES; exports.normalizeSocialPlatform = normalizeSocialPlatform; exports.hostMatches = hostMatches; exports.SOCIAL_PLATFORM_ALT_HOSTS = SOCIAL_PLATFORM_ALT_HOSTS; exports.socialPlatformHosts = socialPlatformHosts; exports.classifySocialHost = classifySocialHost; exports.pickSocialLink = pickSocialLink; exports.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.StatusIndicator = StatusIndicator; exports.BackButton = BackButton; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.TICKET_OPEN_PARAM = TICKET_OPEN_PARAM; exports.buildTicketOpenHref = buildTicketOpenHref; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.BITE_ID_RE = BITE_ID_RE; exports.generateBiteId = generateBiteId; exports.ensureBiteIds = ensureBiteIds; exports.matchBiteElement = matchBiteElement; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.isDismissedCookieValue = isDismissedCookieValue; exports.readDismissCookie = readDismissCookie; exports.writeDismissCookie = writeDismissCookie; exports.clearDismissCookie = clearDismissCookie; exports.announcementDismissCookieName = announcementDismissCookieName; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.WALKTHROUGH_VIDEO_DISMISS_KEY = WALKTHROUGH_VIDEO_DISMISS_KEY; exports.walkthroughDismissCookieName = walkthroughDismissCookieName; exports.isWalkthroughDismissed = isWalkthroughDismissed; exports.dismissWalkthrough = dismissWalkthrough; exports.clearWalkthroughDismissal = clearWalkthroughDismissal; exports.WALKTHROUGH_OPEN_QUERY_PARAM = WALKTHROUGH_OPEN_QUERY_PARAM; exports.withWalkthroughOpenParam = withWalkthroughOpenParam; exports.createSseSubscription = createSseSubscription; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.extractSections = extractSections; exports.SCHEDULING_SLUG_SHAPE = SCHEDULING_SLUG_SHAPE; exports.MAX_MONTH_OFFSET = MAX_MONTH_OFFSET; exports.normalizeSchedulingSlug = normalizeSchedulingSlug; exports.isValidSchedulingSlug = isValidSchedulingSlug; exports.parseSchedulingLinkName = parseSchedulingLinkName; exports.isListedSchedulingName = isListedSchedulingName; exports.schedulingAudienceKey = schedulingAudienceKey; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY; exports.sanitizeLandingUrl = sanitizeLandingUrl; exports.parseAttributionFromUrl = parseAttributionFromUrl; exports.captureFirstTouchAttribution = captureFirstTouchAttribution; exports.getFirstTouchAttribution = getFirstTouchAttribution; exports.withFirstTouchAttribution = withFirstTouchAttribution; exports.clearFirstTouchAttribution = clearFirstTouchAttribution; exports.ODS_SPACING_TOKENS = ODS_SPACING_TOKENS; exports.ODS_SPACING_TOKEN_PATTERN = ODS_SPACING_TOKEN_PATTERN; exports.ODS_SPACING_PROPS = ODS_SPACING_PROPS; exports.TAILWIND_STEP_TO_ODS_TOKEN = TAILWIND_STEP_TO_ODS_TOKEN; exports.CSV_CONTENT_TYPE = CSV_CONTENT_TYPE; exports.csvEscape = csvEscape; exports.toCsv = toCsv; exports.BenefitCard = BenefitCard; exports.benefitCardBorderClass = benefitCardBorderClass; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.SourceTooltip = SourceTooltip; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.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.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.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.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.CardSkeleton = CardSkeleton; exports.CardSkeletonGrid = CardSkeletonGrid; exports.AnnouncementBarSkeleton = AnnouncementBarSkeleton; exports.HeroSkeleton = HeroSkeleton; exports.SearchContainerSkeleton = SearchContainerSkeleton; exports.CategorySidebarSkeleton = CategorySidebarSkeleton; exports.BreadcrumbSkeleton = BreadcrumbSkeleton; exports.ResultsHeaderSkeleton = ResultsHeaderSkeleton; exports.TwoColumnLayoutSkeleton = TwoColumnLayoutSkeleton; exports.ArticleLayoutSkeleton = ArticleLayoutSkeleton; exports.VendorDetailLayoutSkeleton = VendorDetailLayoutSkeleton; exports.StatsSectionSkeleton = StatsSectionSkeleton; exports.BlogCardGridSkeleton = BlogCardGridSkeleton; exports.VendorGridSkeleton = VendorGridSkeleton; exports.SlackCommunitySkeleton = SlackCommunitySkeleton; exports.ContentLoadingContainer = ContentLoadingContainer; exports.useContentLoading = useContentLoading; exports.ParagraphSkeleton = ParagraphSkeleton; exports.ListSkeleton = ListSkeleton; exports.TableSkeleton = TableSkeleton; exports.FormSkeleton = FormSkeleton; exports.NavigationSkeleton = NavigationSkeleton; exports.ProfileSkeleton = ProfileSkeleton; exports.CommentSkeleton = CommentSkeleton; exports.FeatureListSkeleton = FeatureListSkeleton; exports.TimelineSkeleton = TimelineSkeleton; exports.PricingSkeleton = PricingSkeleton; exports.ProfileLoadingSkeleton = ProfileLoadingSkeleton; exports.MspProfileFormSkeleton = MspProfileFormSkeleton; exports.CategoryCardSkeleton = CategoryCardSkeleton; exports.CategoryVendorSelectorSkeleton = CategoryVendorSelectorSkeleton; exports.WizardLayoutSkeleton = WizardLayoutSkeleton; exports.MarginReportSkeleton = MarginReportSkeleton; exports.UsersGridSkeleton = UsersGridSkeleton; exports.DynamicSkeleton = DynamicSkeleton; exports.SkeletonPresets = SkeletonPresets; exports.PlatformSkeletonContainer = PlatformSkeletonContainer; exports.ProgressiveSkeleton = ProgressiveSkeleton; exports.OrganizationIconSkeleton = OrganizationIconSkeleton; exports.OrganizationCardSkeleton = OrganizationCardSkeleton; exports.OrganizationCardSkeletonGrid = OrganizationCardSkeletonGrid; exports.DeviceCardSkeleton = DeviceCardSkeleton; exports.DeviceCardSkeletonGrid = DeviceCardSkeletonGrid; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; exports.SOCIAL_ICON_COMPONENTS = SOCIAL_ICON_COMPONENTS; exports.SocialIconRow = SocialIconRow; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.FloatingWalkthroughVideo = FloatingWalkthroughVideo; exports.InlineWalkthroughVideo = InlineWalkthroughVideo; exports.useWalkthroughVideo = useWalkthroughVideo; exports.VideoSourceSelector = VideoSourceSelector; exports.SubtitlesEditor = SubtitlesEditor; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.AppLayoutDrawerContainerContext = AppLayoutDrawerContainerContext; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerCoordinationContext = AppLayoutDrawerCoordinationContext; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.UnreadDot = UnreadDot; exports.UnreadCountBadge = UnreadCountBadge; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCardBody = TicketCardBody; exports.TicketCardView = TicketCardView; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableList = SortableList; exports.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.DataTableEmpty = DataTableEmpty; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableHeader = DataTableHeader; exports.DATA_TABLE_HEADER_LABEL_CLASS = DATA_TABLE_HEADER_LABEL_CLASS; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.formatTestRunDuration = formatTestRunDuration; exports.TestResultsSkeleton = TestResultsSkeleton; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketDetailSection = TicketDetailSection; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.FilterPillRow = FilterPillRow; exports.LazyMount = LazyMount; exports.IconTile = IconTile;
|
|
31103
|
-
//# sourceMappingURL=chunk-
|
|
31115
|
+
//# sourceMappingURL=chunk-WR67VM2J.cjs.map
|