@flamingo-stack/openframe-frontend-core 0.0.627 → 0.0.628-2170.6181.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-25UWKNII.js → chunk-2E543KJD.js} +8 -10
- package/dist/{chunk-25UWKNII.js.map → chunk-2E543KJD.js.map} +1 -1
- 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-P7UT2YSC.cjs → chunk-3IXDZI3R.cjs} +3 -3
- package/dist/{chunk-P7UT2YSC.cjs.map → chunk-3IXDZI3R.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-4PIHIFJM.js → chunk-6AFJQOT2.js} +4 -4
- package/dist/{chunk-BC726XIQ.cjs → chunk-6QLOSGE7.cjs} +47 -49
- package/dist/chunk-6QLOSGE7.cjs.map +1 -0
- package/dist/{chunk-BJGAFPG5.cjs → chunk-BND25SXU.cjs} +42 -42
- package/dist/{chunk-BJGAFPG5.cjs.map → chunk-BND25SXU.cjs.map} +1 -1
- package/dist/{chunk-ZOMGXH7C.js → chunk-BVQEU5JB.js} +2 -2
- package/dist/{chunk-VUAEDAUN.cjs → chunk-C3DDNRJG.cjs} +6 -6
- package/dist/{chunk-VUAEDAUN.cjs.map → chunk-C3DDNRJG.cjs.map} +1 -1
- 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-GQ7267OV.cjs → chunk-E523WX5V.cjs} +5 -5
- package/dist/{chunk-GQ7267OV.cjs.map → chunk-E523WX5V.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-ZCQVUIPH.cjs → chunk-GH4WLDPS.cjs} +18 -18
- package/dist/{chunk-ZCQVUIPH.cjs.map → chunk-GH4WLDPS.cjs.map} +1 -1
- package/dist/{chunk-WZ6CUZMM.js → chunk-HLZKMYST.js} +4 -4
- package/dist/{chunk-PKSH6PAK.js → chunk-HNNR5CGX.js} +8 -10
- package/dist/{chunk-PKSH6PAK.js.map → chunk-HNNR5CGX.js.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-NLADJ4IX.js → chunk-JVLLA3Z7.js} +6 -6
- package/dist/{chunk-CAQ5MNLJ.js → chunk-JWXEEZKD.js} +3 -3
- package/dist/{chunk-HIZAMJPT.js → chunk-K43T7N7O.js} +12 -12
- package/dist/{chunk-N6XNJX25.cjs → chunk-KT47FRJC.cjs} +15 -15
- package/dist/{chunk-N6XNJX25.cjs.map → chunk-KT47FRJC.cjs.map} +1 -1
- package/dist/{chunk-VZQ3VVFH.cjs → chunk-KTBZJP5J.cjs} +20 -22
- package/dist/chunk-KTBZJP5J.cjs.map +1 -0
- package/dist/{chunk-4SXZT7JP.cjs → chunk-L6GJV7E7.cjs} +83 -83
- package/dist/{chunk-4SXZT7JP.cjs.map → chunk-L6GJV7E7.cjs.map} +1 -1
- package/dist/{chunk-DH3YH3TV.js → chunk-LCMXGM2P.js} +8 -8
- package/dist/{chunk-KXDYBRRR.js → chunk-LLSX5T7X.js} +7 -7
- package/dist/{chunk-G47XRVZA.js → chunk-MB4IEWLH.js} +3 -3
- 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-SLT5C3PQ.cjs → chunk-Q544C4Z7.cjs} +25 -25
- package/dist/{chunk-SLT5C3PQ.cjs.map → chunk-Q544C4Z7.cjs.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-FR6EDA3P.cjs → chunk-SWJ6QLD7.cjs} +105 -105
- package/dist/{chunk-FR6EDA3P.cjs.map → chunk-SWJ6QLD7.cjs.map} +1 -1
- package/dist/{chunk-G46NJNTL.cjs → chunk-TDKOW2C5.cjs} +26 -28
- package/dist/chunk-TDKOW2C5.cjs.map +1 -0
- package/dist/{chunk-ZGZ7YAJH.js → chunk-TUUSLED7.js} +8 -10
- package/dist/{chunk-ZGZ7YAJH.js.map → chunk-TUUSLED7.js.map} +1 -1
- package/dist/{chunk-CK2CPZXB.js → chunk-U4UNC3RP.js} +12 -12
- 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-R3SJ6PMI.cjs → chunk-UBX3ATG5.cjs} +292 -280
- package/dist/chunk-UBX3ATG5.cjs.map +1 -0
- package/dist/{chunk-ZYDNPUSH.cjs → chunk-UNI3POHU.cjs} +625 -279
- package/dist/chunk-UNI3POHU.cjs.map +1 -0
- package/dist/{chunk-4E3UZZ2J.cjs → chunk-VCY2KHOE.cjs} +34 -34
- package/dist/{chunk-4E3UZZ2J.cjs.map → chunk-VCY2KHOE.cjs.map} +1 -1
- package/dist/{chunk-J6ATJUEE.js → chunk-WBZ4HP7D.js} +4 -4
- package/dist/{chunk-QCSWM3VU.cjs → chunk-WIP5JO2O.cjs} +9 -9
- package/dist/{chunk-QCSWM3VU.cjs.map → chunk-WIP5JO2O.cjs.map} +1 -1
- package/dist/{chunk-32P6KUZP.js → chunk-X3LC6R37.js} +2 -2
- package/dist/{chunk-5E55S5SI.js → chunk-XQ4II4BK.js} +4 -4
- package/dist/{chunk-OAXASIVG.cjs → chunk-Y5QXDVPP.cjs} +7 -7
- package/dist/{chunk-OAXASIVG.cjs.map → chunk-Y5QXDVPP.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/{chunk-PTP5LSYM.js → chunk-YZJL6WGP.js} +28 -16
- package/dist/{chunk-PTP5LSYM.js.map → chunk-YZJL6WGP.js.map} +1 -1
- package/dist/{chunk-Y3MIFC5M.js → chunk-ZRCWXJDW.js} +4 -4
- 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-BC726XIQ.cjs.map +0 -1
- package/dist/chunk-G46NJNTL.cjs.map +0 -1
- package/dist/chunk-L5FEAOGJ.js.map +0 -1
- package/dist/chunk-R3SJ6PMI.cjs.map +0 -1
- package/dist/chunk-VZQ3VVFH.cjs.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-4PIHIFJM.js.map → chunk-6AFJQOT2.js.map} +0 -0
- /package/dist/{chunk-ZOMGXH7C.js.map → chunk-BVQEU5JB.js.map} +0 -0
- /package/dist/{chunk-X5NN4NJM.js.map → chunk-F2KBCLUG.js.map} +0 -0
- /package/dist/{chunk-WZ6CUZMM.js.map → chunk-HLZKMYST.js.map} +0 -0
- /package/dist/{chunk-NLADJ4IX.js.map → chunk-JVLLA3Z7.js.map} +0 -0
- /package/dist/{chunk-CAQ5MNLJ.js.map → chunk-JWXEEZKD.js.map} +0 -0
- /package/dist/{chunk-HIZAMJPT.js.map → chunk-K43T7N7O.js.map} +0 -0
- /package/dist/{chunk-DH3YH3TV.js.map → chunk-LCMXGM2P.js.map} +0 -0
- /package/dist/{chunk-KXDYBRRR.js.map → chunk-LLSX5T7X.js.map} +0 -0
- /package/dist/{chunk-G47XRVZA.js.map → chunk-MB4IEWLH.js.map} +0 -0
- /package/dist/{chunk-76HB456V.js.map → chunk-S6WBBSII.js.map} +0 -0
- /package/dist/{chunk-CK2CPZXB.js.map → chunk-U4UNC3RP.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-5E55S5SI.js.map → chunk-XQ4II4BK.js.map} +0 -0
- /package/dist/{chunk-CMUNJZWN.js.map → chunk-YQCA4ZEJ.js.map} +0 -0
- /package/dist/{chunk-Y3MIFC5M.js.map → chunk-ZRCWXJDW.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,
|
|
@@ -19652,7 +19664,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19652
19664
|
const label = (tag.name || "").toUpperCase();
|
|
19653
19665
|
if (basePath && tag.slug) {
|
|
19654
19666
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19655
|
-
|
|
19667
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
19656
19668
|
{
|
|
19657
19669
|
text: label,
|
|
19658
19670
|
variant: "card",
|
|
@@ -19660,9 +19672,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19660
19672
|
}
|
|
19661
19673
|
) }, key);
|
|
19662
19674
|
}
|
|
19663
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19675
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
19664
19676
|
}),
|
|
19665
|
-
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19677
|
+
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.StatusBadge, { text: `+${overflow2}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
19666
19678
|
] });
|
|
19667
19679
|
}
|
|
19668
19680
|
|
|
@@ -19739,7 +19751,7 @@ var SectionButton = ({
|
|
|
19739
19751
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
19740
19752
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "whitespace-normal break-words text-h4"), children: section.title }),
|
|
19741
19753
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19742
|
-
|
|
19754
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
19743
19755
|
{
|
|
19744
19756
|
text: section.badge.text,
|
|
19745
19757
|
variant: section.badge.variant || "button",
|
|
@@ -19758,7 +19770,7 @@ var SectionButton = ({
|
|
|
19758
19770
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
19759
19771
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
19760
19772
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19761
|
-
|
|
19773
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
19762
19774
|
{
|
|
19763
19775
|
text: section.badge.text,
|
|
19764
19776
|
variant: section.badge.variant || "button",
|
|
@@ -20046,7 +20058,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20046
20058
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
20047
20059
|
title: config.title,
|
|
20048
20060
|
loading: "eager",
|
|
20049
|
-
...
|
|
20061
|
+
..._chunkUNI3POHUcjs.fetchPriorityProp.call(void 0, "high")
|
|
20050
20062
|
},
|
|
20051
20063
|
iframeKey
|
|
20052
20064
|
),
|
|
@@ -20470,7 +20482,7 @@ var FiltersDropdown = ({
|
|
|
20470
20482
|
window.addEventListener("resize", calculateOptimalPlacement);
|
|
20471
20483
|
return () => window.removeEventListener("resize", calculateOptimalPlacement);
|
|
20472
20484
|
}, [isOpen, isMobile, placement]);
|
|
20473
|
-
|
|
20485
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
20474
20486
|
const dropdown = dropdownRef.current;
|
|
20475
20487
|
if (!dropdown) return;
|
|
20476
20488
|
if (!isMobile) {
|
|
@@ -20872,7 +20884,7 @@ function MediaGalleryManager({
|
|
|
20872
20884
|
(mediaItem, index) => {
|
|
20873
20885
|
const isDeleting = deletingIndex === index;
|
|
20874
20886
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20875
|
-
|
|
20887
|
+
_chunkOQHFHKUGcjs.Card,
|
|
20876
20888
|
{
|
|
20877
20889
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
20878
20890
|
draggable: true,
|
|
@@ -20893,10 +20905,10 @@ function MediaGalleryManager({
|
|
|
20893
20905
|
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" })
|
|
20894
20906
|
}
|
|
20895
20907
|
) }),
|
|
20896
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children:
|
|
20908
|
+
/* @__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" ? (
|
|
20897
20909
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
20898
20910
|
// fit="cover" crops to the aspect-video cell.
|
|
20899
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20911
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
20900
20912
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20901
20913
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
20902
20914
|
{
|
|
@@ -20909,7 +20921,7 @@ function MediaGalleryManager({
|
|
|
20909
20921
|
) }),
|
|
20910
20922
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
|
|
20911
20923
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex items-center gap-2", children: [
|
|
20912
|
-
|
|
20924
|
+
_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" }),
|
|
20913
20925
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "capitalize text-ods-text-primary text-h6", children: mediaItem.media_type })
|
|
20914
20926
|
] }),
|
|
20915
20927
|
mediaItem.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: mediaItem.title })
|
|
@@ -21345,7 +21357,7 @@ function PlatformFilterComponent({
|
|
|
21345
21357
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
21346
21358
|
size,
|
|
21347
21359
|
onClick: () => onPlatformChange(platform.value),
|
|
21348
|
-
leftIcon: showIcons ?
|
|
21360
|
+
leftIcon: showIcons ? _chunkJJUV7Z4Lcjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
21349
21361
|
className: "text-h3",
|
|
21350
21362
|
children: platform.label
|
|
21351
21363
|
},
|
|
@@ -23147,9 +23159,9 @@ function PushButtonSelector({
|
|
|
23147
23159
|
option.id
|
|
23148
23160
|
);
|
|
23149
23161
|
if (option.disabled && option.disabledReason) {
|
|
23150
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23151
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23152
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23162
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { children: [
|
|
23163
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
23164
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
23153
23165
|
] }, option.id);
|
|
23154
23166
|
}
|
|
23155
23167
|
return optionEl;
|
|
@@ -23194,7 +23206,7 @@ function PushButtonSelector({
|
|
|
23194
23206
|
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
|
|
23195
23207
|
] }) : null
|
|
23196
23208
|
] });
|
|
23197
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23209
|
+
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: [
|
|
23198
23210
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
23199
23211
|
searchInput,
|
|
23200
23212
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23364,10 +23376,10 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23364
23376
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
23365
23377
|
}
|
|
23366
23378
|
) }),
|
|
23367
|
-
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children:
|
|
23379
|
+
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" ? (
|
|
23368
23380
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
23369
23381
|
// fit="cover" crops to the aspect-video cell.
|
|
23370
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23382
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23371
23383
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23372
23384
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
23373
23385
|
{
|
|
@@ -23500,7 +23512,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
23500
23512
|
}
|
|
23501
23513
|
)
|
|
23502
23514
|
] }),
|
|
23503
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23515
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
23504
23516
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
23505
23517
|
]
|
|
23506
23518
|
}
|
|
@@ -24088,7 +24100,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
24088
24100
|
className: _chunk23V5BSHDcjs.cn.call(void 0, modeClassName, className),
|
|
24089
24101
|
style: customStyle,
|
|
24090
24102
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63QUMV72cjs.OpenFrameLogo, { className: "h-5 w-5", lowerPathColor: iconLowerPath, upperPathColor: iconUpperPath }) : void 0,
|
|
24091
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24103
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
24092
24104
|
children
|
|
24093
24105
|
}
|
|
24094
24106
|
);
|
|
@@ -24358,11 +24370,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
24358
24370
|
|
|
24359
24371
|
function VideoBitesDisplay({
|
|
24360
24372
|
bites,
|
|
24361
|
-
title =
|
|
24373
|
+
title = _chunkOQHFHKUGcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
24362
24374
|
filterPublished = true,
|
|
24363
24375
|
showTitle = true
|
|
24364
24376
|
}) {
|
|
24365
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24377
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24366
24378
|
}
|
|
24367
24379
|
|
|
24368
24380
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24431,7 +24443,7 @@ function WalkthroughVideo({
|
|
|
24431
24443
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24432
24444
|
};
|
|
24433
24445
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
24434
|
-
const hydrated =
|
|
24446
|
+
const hydrated = _chunkUNI3POHUcjs.useIsHydrated.call(void 0, );
|
|
24435
24447
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24436
24448
|
if (!hydrated) return false;
|
|
24437
24449
|
try {
|
|
@@ -24828,7 +24840,7 @@ function WalkthroughVideo({
|
|
|
24828
24840
|
},
|
|
24829
24841
|
children: [
|
|
24830
24842
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24831
|
-
|
|
24843
|
+
_chunkUNI3POHUcjs.VideoHoverPreviewSurface,
|
|
24832
24844
|
{
|
|
24833
24845
|
url: video.mainVideoUrl || "",
|
|
24834
24846
|
posterUrl: video.posterUrl,
|
|
@@ -24851,7 +24863,7 @@ function WalkthroughVideo({
|
|
|
24851
24863
|
`card-${embedUrlKey}`
|
|
24852
24864
|
) }),
|
|
24853
24865
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24854
|
-
|
|
24866
|
+
_chunkUNI3POHUcjs.CardHitLayer,
|
|
24855
24867
|
{
|
|
24856
24868
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24857
24869
|
onPointerDown: pausePreviewNow,
|
|
@@ -24860,7 +24872,7 @@ function WalkthroughVideo({
|
|
|
24860
24872
|
}
|
|
24861
24873
|
),
|
|
24862
24874
|
/* @__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: [
|
|
24863
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24875
|
+
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" }),
|
|
24864
24876
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
24865
24877
|
] }),
|
|
24866
24878
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24873,7 +24885,7 @@ function WalkthroughVideo({
|
|
|
24873
24885
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24874
24886
|
onClick: onUnmuteOrPlay,
|
|
24875
24887
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
24876
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24888
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.VideoUnmuteGlyph, {})
|
|
24877
24889
|
}
|
|
24878
24890
|
),
|
|
24879
24891
|
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: [
|
|
@@ -24966,7 +24978,7 @@ function WalkthroughVideo({
|
|
|
24966
24978
|
children: [
|
|
24967
24979
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
24968
24980
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24969
|
-
|
|
24981
|
+
_chunkUNI3POHUcjs.Video,
|
|
24970
24982
|
{
|
|
24971
24983
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
24972
24984
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -25017,7 +25029,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
25017
25029
|
var _reactquery = require('@tanstack/react-query');
|
|
25018
25030
|
function useWalkthroughVideo(opts) {
|
|
25019
25031
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
25020
|
-
const captions =
|
|
25032
|
+
const captions = _chunkUNI3POHUcjs.useCaptions.call(void 0, );
|
|
25021
25033
|
const query = _reactquery.useQuery.call(void 0, {
|
|
25022
25034
|
queryKey: ["walkthrough-video", endpoint],
|
|
25023
25035
|
enabled,
|
|
@@ -25215,7 +25227,7 @@ function VideoSourceSelector({
|
|
|
25215
25227
|
}
|
|
25216
25228
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
25217
25229
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
25218
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25230
|
+
/* @__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 }) }),
|
|
25219
25231
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25220
25232
|
"button",
|
|
25221
25233
|
{
|
|
@@ -25739,7 +25751,7 @@ function HighlightVideoSection({
|
|
|
25739
25751
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25740
25752
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25741
25753
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25742
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25754
|
+
/* @__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 }) }),
|
|
25743
25755
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25744
25756
|
"button",
|
|
25745
25757
|
{
|
|
@@ -26449,7 +26461,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26449
26461
|
if (level) onPermissionChange(categoryId, policy.id, level);
|
|
26450
26462
|
};
|
|
26451
26463
|
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: [
|
|
26452
|
-
/* @__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,
|
|
26464
|
+
/* @__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 }) }),
|
|
26453
26465
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
26454
26466
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h4", title: policy.name, children: policy.name }),
|
|
26455
26467
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "break-all text-ods-text-secondary text-h6", children: policy.commandPattern }),
|
|
@@ -26475,7 +26487,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26475
26487
|
] });
|
|
26476
26488
|
};
|
|
26477
26489
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
26478
|
-
const { innerRef, containerStyle } =
|
|
26490
|
+
const { innerRef, containerStyle } = _chunkUNI3POHUcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
26479
26491
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
26480
26492
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26481
26493
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26640,10 +26652,10 @@ function WaitlistForm({
|
|
|
26640
26652
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26641
26653
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
26642
26654
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
26643
|
-
const { toast } =
|
|
26644
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
26655
|
+
const { toast } = _chunkJJUV7Z4Lcjs.useToast.call(void 0, );
|
|
26656
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkJJUV7Z4Lcjs.useHumanitySignals.call(void 0, );
|
|
26645
26657
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26646
|
-
const isClient =
|
|
26658
|
+
const isClient = _chunkUNI3POHUcjs.useIsHydrated.call(void 0, );
|
|
26647
26659
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26648
26660
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26649
26661
|
const isMailDomainGeneric = hasGenericEmailDomain(email);
|
|
@@ -27191,7 +27203,7 @@ function useContainedResizableSize({
|
|
|
27191
27203
|
const clampToContainer = _react.useCallback.call(void 0,
|
|
27192
27204
|
(value) => {
|
|
27193
27205
|
const effectiveMax = available > 0 ? Math.min(maxSize, available - 40) : maxSize;
|
|
27194
|
-
return
|
|
27206
|
+
return _chunkYXWGSDK4cjs.clamp.call(void 0, value, minSize, Math.max(minSize, effectiveMax));
|
|
27195
27207
|
},
|
|
27196
27208
|
[available, minSize, maxSize]
|
|
27197
27209
|
);
|
|
@@ -27423,7 +27435,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27423
27435
|
"data-state": open ? "open" : "closed",
|
|
27424
27436
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
27425
27437
|
"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",
|
|
27426
|
-
|
|
27438
|
+
_chunkUNI3POHUcjs.OVERLAY_BACKDROP_CLASS,
|
|
27427
27439
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
27428
27440
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
27429
27441
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -27499,11 +27511,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27499
27511
|
}
|
|
27500
27512
|
);
|
|
27501
27513
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
27502
|
-
var AppLayoutDrawerHeader =
|
|
27503
|
-
var AppLayoutDrawerTitle =
|
|
27504
|
-
var AppLayoutDrawerDescription =
|
|
27505
|
-
var AppLayoutDrawerBody =
|
|
27506
|
-
var AppLayoutDrawerFooter =
|
|
27514
|
+
var AppLayoutDrawerHeader = _chunkUNI3POHUcjs.DrawerHeader;
|
|
27515
|
+
var AppLayoutDrawerTitle = _chunkUNI3POHUcjs.DrawerTitle;
|
|
27516
|
+
var AppLayoutDrawerDescription = _chunkUNI3POHUcjs.DrawerDescription;
|
|
27517
|
+
var AppLayoutDrawerBody = _chunkUNI3POHUcjs.DrawerBody;
|
|
27518
|
+
var AppLayoutDrawerFooter = _chunkUNI3POHUcjs.DrawerFooter;
|
|
27507
27519
|
|
|
27508
27520
|
// src/components/features/notifications/notification-tile.tsx
|
|
27509
27521
|
|
|
@@ -27589,9 +27601,9 @@ function NotificationTile({
|
|
|
27589
27601
|
height: 16,
|
|
27590
27602
|
unoptimized: true
|
|
27591
27603
|
}
|
|
27592
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
27604
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkJJUV7Z4Lcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27593
27605
|
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" }),
|
|
27594
|
-
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
27606
|
+
!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,
|
|
27595
27607
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
27596
27608
|
{
|
|
27597
27609
|
active: isLive,
|
|
@@ -27636,7 +27648,7 @@ function NotificationTile({
|
|
|
27636
27648
|
"div",
|
|
27637
27649
|
{
|
|
27638
27650
|
"aria-hidden": true,
|
|
27639
|
-
className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left",
|
|
27651
|
+
className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left", _chunkJJUV7Z4Lcjs.progressColorByVariant[accentVariant]),
|
|
27640
27652
|
style: {
|
|
27641
27653
|
animation: `toast-progress ${liveDurationMs}ms linear forwards`,
|
|
27642
27654
|
animationDelay: `-${initialElapsed}ms`
|
|
@@ -27688,7 +27700,7 @@ function NotificationDrawer({
|
|
|
27688
27700
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27689
27701
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27690
27702
|
/* @__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,
|
|
27691
|
-
|
|
27703
|
+
_chunkUNI3POHUcjs.DrawerTitle,
|
|
27692
27704
|
{
|
|
27693
27705
|
hideClose: true,
|
|
27694
27706
|
className: "truncate",
|
|
@@ -27747,8 +27759,8 @@ function NotificationDrawer({
|
|
|
27747
27759
|
}
|
|
27748
27760
|
) });
|
|
27749
27761
|
}
|
|
27750
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27751
|
-
|
|
27762
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27763
|
+
_chunkUNI3POHUcjs.DrawerContent,
|
|
27752
27764
|
{
|
|
27753
27765
|
side: "right",
|
|
27754
27766
|
"aria-describedby": void 0,
|
|
@@ -27853,7 +27865,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
27853
27865
|
] });
|
|
27854
27866
|
}
|
|
27855
27867
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
27856
|
-
const { supported, permission, request } =
|
|
27868
|
+
const { supported, permission, request } = _chunkJJUV7Z4Lcjs.useNotificationPermission.call(void 0, );
|
|
27857
27869
|
if (!supported) return null;
|
|
27858
27870
|
const blocked = permission === "denied";
|
|
27859
27871
|
const handleChange = async (value) => {
|
|
@@ -28023,13 +28035,13 @@ function getApprovalMeta(notification) {
|
|
|
28023
28035
|
function resolutionToStatus(resolution) {
|
|
28024
28036
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
28025
28037
|
case "APPROVED":
|
|
28026
|
-
return
|
|
28038
|
+
return _chunkUNI3POHUcjs.APPROVAL_STATUS.APPROVED;
|
|
28027
28039
|
case "REJECTED":
|
|
28028
|
-
return
|
|
28040
|
+
return _chunkUNI3POHUcjs.APPROVAL_STATUS.REJECTED;
|
|
28029
28041
|
case "CANCELLED":
|
|
28030
|
-
return
|
|
28042
|
+
return _chunkUNI3POHUcjs.APPROVAL_STATUS.CANCELLED;
|
|
28031
28043
|
default:
|
|
28032
|
-
return
|
|
28044
|
+
return _chunkUNI3POHUcjs.APPROVAL_STATUS.PENDING;
|
|
28033
28045
|
}
|
|
28034
28046
|
}
|
|
28035
28047
|
function approvalMetaToBatchData(approval) {
|
|
@@ -28069,7 +28081,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28069
28081
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _595 => _595.resolution]));
|
|
28070
28082
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28071
28083
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28072
|
-
const { innerRef, containerStyle } =
|
|
28084
|
+
const { innerRef, containerStyle } = _chunkUNI3POHUcjs.useCollapsible.call(void 0, { expanded });
|
|
28073
28085
|
if (!approval || !batchData) return null;
|
|
28074
28086
|
const tileNotification = {
|
|
28075
28087
|
...notification,
|
|
@@ -28122,7 +28134,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28122
28134
|
}
|
|
28123
28135
|
)
|
|
28124
28136
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28125
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28137
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ApprovalStatusTag, { status }),
|
|
28126
28138
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
28127
28139
|
"by ",
|
|
28128
28140
|
approval.resolvedByName
|
|
@@ -28140,12 +28152,12 @@ function ApprovalRequestNotificationTile({
|
|
|
28140
28152
|
"aria-expanded": expanded,
|
|
28141
28153
|
"aria-label": toggleLabel,
|
|
28142
28154
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
28143
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28155
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ExpandChevron, { expanded })
|
|
28144
28156
|
}
|
|
28145
28157
|
)
|
|
28146
28158
|
] }),
|
|
28147
28159
|
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,
|
|
28148
|
-
|
|
28160
|
+
_chunkUNI3POHUcjs.ApprovalBatchMessage,
|
|
28149
28161
|
{
|
|
28150
28162
|
data: batchData,
|
|
28151
28163
|
showExecutionStatus: false,
|
|
@@ -28218,7 +28230,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
28218
28230
|
const { label, imageUrl } = option;
|
|
28219
28231
|
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: [
|
|
28220
28232
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
28221
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28233
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
28222
28234
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
28223
28235
|
] }),
|
|
28224
28236
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -28302,7 +28314,7 @@ function TimeTrackerPanel({
|
|
|
28302
28314
|
}));
|
|
28303
28315
|
const selectedCustomer = customerAutocompleteOptions.find((o) => o.value === selectedCustomerId);
|
|
28304
28316
|
const customerStartAdornment = selectedCustomer ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28305
|
-
|
|
28317
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
28306
28318
|
{
|
|
28307
28319
|
src: selectedCustomer.imageUrl,
|
|
28308
28320
|
alt: selectedCustomer.label,
|
|
@@ -28481,7 +28493,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28481
28493
|
function StatusTag({ status }) {
|
|
28482
28494
|
if (status === "tracking") {
|
|
28483
28495
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28484
|
-
|
|
28496
|
+
_chunkUNI3POHUcjs.Tag,
|
|
28485
28497
|
{
|
|
28486
28498
|
variant: "success",
|
|
28487
28499
|
className: STATUS_TAG_SKIN,
|
|
@@ -28491,9 +28503,9 @@ function StatusTag({ status }) {
|
|
|
28491
28503
|
);
|
|
28492
28504
|
}
|
|
28493
28505
|
if (status === "paused") {
|
|
28494
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28506
|
+
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" });
|
|
28495
28507
|
}
|
|
28496
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28508
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28497
28509
|
}
|
|
28498
28510
|
function LastEntryRow({ entry, onClick }) {
|
|
28499
28511
|
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: [
|
|
@@ -28662,7 +28674,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28662
28674
|
"data-state": isOpen ? "open" : "closed",
|
|
28663
28675
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
28664
28676
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28665
|
-
|
|
28677
|
+
_chunkUNI3POHUcjs.OVERLAY_BACKDROP_CLASS,
|
|
28666
28678
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28667
28679
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28668
28680
|
)
|
|
@@ -28816,7 +28828,7 @@ function BoardColumnHeader({
|
|
|
28816
28828
|
}) {
|
|
28817
28829
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
28818
28830
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
28819
|
-
const useStatusVariant =
|
|
28831
|
+
const useStatusVariant = _chunkUNI3POHUcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
28820
28832
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
28821
28833
|
if (collapsed) {
|
|
28822
28834
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -28832,7 +28844,7 @@ function BoardColumnHeader({
|
|
|
28832
28844
|
}
|
|
28833
28845
|
),
|
|
28834
28846
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28835
|
-
|
|
28847
|
+
_chunkUNI3POHUcjs.TicketStatusTag,
|
|
28836
28848
|
{
|
|
28837
28849
|
status: tagStatus,
|
|
28838
28850
|
label: column.label,
|
|
@@ -28845,7 +28857,7 @@ function BoardColumnHeader({
|
|
|
28845
28857
|
}
|
|
28846
28858
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28847
28859
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28848
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28860
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
28849
28861
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
28850
28862
|
] }),
|
|
28851
28863
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -28925,7 +28937,7 @@ function cardPositions(root) {
|
|
|
28925
28937
|
}
|
|
28926
28938
|
function useLaneScrollAnchor(scrollRef, tickets) {
|
|
28927
28939
|
const positionsRef = _react.useRef.call(void 0, []);
|
|
28928
|
-
|
|
28940
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
28929
28941
|
const root = scrollRef.current;
|
|
28930
28942
|
if (!root) return;
|
|
28931
28943
|
const previous = positionsRef.current;
|
|
@@ -28996,7 +29008,7 @@ function holdMoveDragEffect(element) {
|
|
|
28996
29008
|
|
|
28997
29009
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
28998
29010
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
28999
|
-
const { innerRef, containerStyle } =
|
|
29011
|
+
const { innerRef, containerStyle } = _chunkUNI3POHUcjs.useCollapsible.call(void 0, { expanded });
|
|
29000
29012
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
29001
29013
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
29002
29014
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -29025,7 +29037,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
29025
29037
|
}
|
|
29026
29038
|
),
|
|
29027
29039
|
/* @__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,
|
|
29028
|
-
|
|
29040
|
+
_chunkUNI3POHUcjs.ApprovalBatchMessage,
|
|
29029
29041
|
{
|
|
29030
29042
|
className: "mb-0",
|
|
29031
29043
|
data: {
|
|
@@ -29097,7 +29109,7 @@ var ACTIVITY_DEFAULT_LABEL = {
|
|
|
29097
29109
|
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";
|
|
29098
29110
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
29099
29111
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
29100
|
-
const newMessageTextColor = columnColor ?
|
|
29112
|
+
const newMessageTextColor = columnColor ? _chunkUNI3POHUcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29101
29113
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _631 => _631.deviceHostnames, 'optionalAccess', _632 => _632.length]) || ticket.organizationName);
|
|
29102
29114
|
const deviceText = [_optionalChain([ticket, 'access', _633 => _633.deviceHostnames, 'optionalAccess', _634 => _634.join, 'call', _635 => _635(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29103
29115
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _636 => _636.assignees, 'optionalAccess', _637 => _637.length]) || renderAssignSlot);
|
|
@@ -29119,7 +29131,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29119
29131
|
},
|
|
29120
29132
|
a.id
|
|
29121
29133
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29122
|
-
|
|
29134
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
29123
29135
|
{
|
|
29124
29136
|
src: a.avatarUrl,
|
|
29125
29137
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -29136,8 +29148,8 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29136
29148
|
] })
|
|
29137
29149
|
] }) : null
|
|
29138
29150
|
] }) : null;
|
|
29139
|
-
const timestampLabel = ticket.createdAt ?
|
|
29140
|
-
const tooltipLabel = ticket.createdAt ?
|
|
29151
|
+
const timestampLabel = ticket.createdAt ? _chunkUNI3POHUcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
29152
|
+
const tooltipLabel = ticket.createdAt ? _chunkUNI3POHUcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
29141
29153
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
29142
29154
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29143
29155
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
@@ -29151,9 +29163,9 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29151
29163
|
rightSection
|
|
29152
29164
|
] }),
|
|
29153
29165
|
_optionalChain([ticket, 'access', _640 => _640.tags, 'optionalAccess', _641 => _641.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29154
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29155
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29156
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29166
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { children: [
|
|
29167
|
+
/* @__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 }) }),
|
|
29168
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { children: tooltipLabel })
|
|
29157
29169
|
] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: metaLabel })),
|
|
29158
29170
|
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: [
|
|
29159
29171
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -29173,7 +29185,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29173
29185
|
}
|
|
29174
29186
|
),
|
|
29175
29187
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29176
|
-
|
|
29188
|
+
_chunkUNI3POHUcjs.Tag,
|
|
29177
29189
|
{
|
|
29178
29190
|
label: "New Message",
|
|
29179
29191
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -29388,8 +29400,8 @@ function TicketTagRow({ tags }) {
|
|
|
29388
29400
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
29389
29401
|
const hidden = tags.length - visible.length;
|
|
29390
29402
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
29391
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29392
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29403
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
29404
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
29393
29405
|
] });
|
|
29394
29406
|
}
|
|
29395
29407
|
|
|
@@ -29631,7 +29643,7 @@ function resolveBoardDrop(columns, { source, target }) {
|
|
|
29631
29643
|
// src/components/features/board/use-board-collapse.ts
|
|
29632
29644
|
|
|
29633
29645
|
function useBoardCollapse(storageKey) {
|
|
29634
|
-
const [persisted, setPersisted] =
|
|
29646
|
+
const [persisted, setPersisted] = _chunkJJUV7Z4Lcjs.useLocalStorage.call(void 0, _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")), {});
|
|
29635
29647
|
const [memory, setMemory] = _react.useState.call(void 0, {});
|
|
29636
29648
|
const collapsed = storageKey ? persisted : memory;
|
|
29637
29649
|
const setMap = storageKey ? setPersisted : setMemory;
|
|
@@ -29702,7 +29714,7 @@ var DROP_EASING = "cubic-bezier(0.2, 0, 0, 1)";
|
|
|
29702
29714
|
var DRAG_PREVIEW_Z = 1200;
|
|
29703
29715
|
var ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"];
|
|
29704
29716
|
function Board(props) {
|
|
29705
|
-
const dragAndDropEnabled =
|
|
29717
|
+
const dragAndDropEnabled = _chunkYXWGSDK4cjs.useMediaQuery.call(void 0, _chunkJJUV7Z4Lcjs.DRAG_AND_DROP_MEDIA_QUERY);
|
|
29706
29718
|
if (dragAndDropEnabled === void 0) {
|
|
29707
29719
|
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) });
|
|
29708
29720
|
}
|
|
@@ -29734,7 +29746,7 @@ function DragBoard({
|
|
|
29734
29746
|
onThumbPointerDown,
|
|
29735
29747
|
onThumbPointerMove,
|
|
29736
29748
|
onThumbPointerUp
|
|
29737
|
-
} =
|
|
29749
|
+
} = _chunkJJUV7Z4Lcjs.useHorizontalScrollbar.call(void 0, );
|
|
29738
29750
|
const columnsRef = _react.useRef.call(void 0, columns);
|
|
29739
29751
|
const onChangeRef = _react.useRef.call(void 0, onChange);
|
|
29740
29752
|
const boardRef = _react.useRef.call(void 0, null);
|
|
@@ -29923,7 +29935,7 @@ function DragBoard({
|
|
|
29923
29935
|
})
|
|
29924
29936
|
);
|
|
29925
29937
|
}, []);
|
|
29926
|
-
|
|
29938
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
29927
29939
|
if (!landing) return void 0;
|
|
29928
29940
|
const finish = () => {
|
|
29929
29941
|
landingTimer.current = null;
|
|
@@ -30164,7 +30176,7 @@ function useSortableListContext() {
|
|
|
30164
30176
|
}
|
|
30165
30177
|
function SortableList({ onReorder, getItemLabel, disabled = false, className, children }) {
|
|
30166
30178
|
const listRef = _react.useRef.call(void 0, null);
|
|
30167
|
-
const dragAndDropEnabled =
|
|
30179
|
+
const dragAndDropEnabled = _chunkJJUV7Z4Lcjs.useDragAndDropEnabled.call(void 0, );
|
|
30168
30180
|
const dragType = _react.useId.call(void 0, );
|
|
30169
30181
|
const [announcement, setAnnouncement] = _react.useState.call(void 0, "");
|
|
30170
30182
|
const onReorderRef = _react.useRef.call(void 0, onReorder);
|
|
@@ -30256,7 +30268,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30256
30268
|
})
|
|
30257
30269
|
);
|
|
30258
30270
|
}, [dragType, disabled, dragAndDropEnabled, readItems, reorder]);
|
|
30259
|
-
|
|
30271
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
30260
30272
|
const from = flipFrom.current;
|
|
30261
30273
|
flipFrom.current = null;
|
|
30262
30274
|
if (!from) return;
|
|
@@ -31073,4 +31085,4 @@ function SortableRow({
|
|
|
31073
31085
|
|
|
31074
31086
|
|
|
31075
31087
|
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;
|
|
31076
|
-
//# sourceMappingURL=chunk-
|
|
31088
|
+
//# sourceMappingURL=chunk-UBX3ATG5.cjs.map
|