@flamingo-stack/openframe-frontend-core 0.0.627 → 0.0.628-snapshot.20260914045040
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-RAPPN6MN.cjs → chunk-2MMEPNSX.cjs} +3 -3
- package/dist/{chunk-RAPPN6MN.cjs.map → chunk-2MMEPNSX.cjs.map} +1 -1
- package/dist/{chunk-HIZAMJPT.js → chunk-2MXKO5BN.js} +12 -12
- package/dist/{chunk-QCSWM3VU.cjs → chunk-2ZSGDKZI.cjs} +9 -9
- package/dist/{chunk-QCSWM3VU.cjs.map → chunk-2ZSGDKZI.cjs.map} +1 -1
- package/dist/{chunk-P7UT2YSC.cjs → chunk-3IXDZI3R.cjs} +3 -3
- package/dist/{chunk-P7UT2YSC.cjs.map → chunk-3IXDZI3R.cjs.map} +1 -1
- package/dist/{chunk-VUAEDAUN.cjs → chunk-3ZY4CE7N.cjs} +6 -6
- package/dist/{chunk-VUAEDAUN.cjs.map → chunk-3ZY4CE7N.cjs.map} +1 -1
- package/dist/{chunk-PKSH6PAK.js → chunk-4NMVDTHA.js} +8 -10
- package/dist/{chunk-PKSH6PAK.js.map → chunk-4NMVDTHA.js.map} +1 -1
- package/dist/{chunk-CAQ5MNLJ.js → chunk-4VPCIREO.js} +3 -3
- package/dist/{chunk-4E3UZZ2J.cjs → chunk-5JAB5LVO.cjs} +34 -34
- package/dist/{chunk-4E3UZZ2J.cjs.map → chunk-5JAB5LVO.cjs.map} +1 -1
- package/dist/{chunk-JRYS4VMV.js → chunk-5LIDR7HL.js} +79 -4
- package/dist/{chunk-JRYS4VMV.js.map → chunk-5LIDR7HL.js.map} +1 -1
- package/dist/{chunk-G46NJNTL.cjs → chunk-5OMBSMRI.cjs} +26 -28
- package/dist/chunk-5OMBSMRI.cjs.map +1 -0
- package/dist/{chunk-SLT5C3PQ.cjs → chunk-7P6M5G3W.cjs} +25 -25
- package/dist/{chunk-SLT5C3PQ.cjs.map → chunk-7P6M5G3W.cjs.map} +1 -1
- package/dist/{chunk-ZOMGXH7C.js → chunk-BVQEU5JB.js} +2 -2
- package/dist/{chunk-VOZZQ6HQ.cjs → chunk-CCWI3622.cjs} +4 -4
- package/dist/{chunk-VOZZQ6HQ.cjs.map → chunk-CCWI3622.cjs.map} +1 -1
- package/dist/{chunk-BJGAFPG5.cjs → chunk-CKMJQ46H.cjs} +42 -42
- package/dist/{chunk-BJGAFPG5.cjs.map → chunk-CKMJQ46H.cjs.map} +1 -1
- package/dist/{chunk-OAXASIVG.cjs → chunk-CV2SESZT.cjs} +7 -7
- package/dist/{chunk-OAXASIVG.cjs.map → chunk-CV2SESZT.cjs.map} +1 -1
- package/dist/{chunk-Y3MIFC5M.js → chunk-D5CKXMMC.js} +4 -4
- package/dist/{chunk-ZGZ7YAJH.js → chunk-DGY4NVIB.js} +8 -10
- package/dist/{chunk-ZGZ7YAJH.js.map → chunk-DGY4NVIB.js.map} +1 -1
- package/dist/{chunk-4SXZT7JP.cjs → chunk-DLHGJYYA.cjs} +83 -83
- package/dist/{chunk-4SXZT7JP.cjs.map → chunk-DLHGJYYA.cjs.map} +1 -1
- package/dist/{chunk-4E7XCEV3.cjs → chunk-EHAYNUOL.cjs} +2 -77
- package/dist/chunk-EHAYNUOL.cjs.map +1 -0
- package/dist/{chunk-X5NN4NJM.js → chunk-F2KBCLUG.js} +2 -2
- package/dist/{chunk-USIRWQJ3.js → chunk-FKBM6U43.js} +1 -76
- package/dist/{chunk-USIRWQJ3.js.map → chunk-FKBM6U43.js.map} +1 -1
- package/dist/{chunk-CK2CPZXB.js → chunk-GR3WOOM7.js} +12 -12
- package/dist/{chunk-GQ7267OV.cjs → chunk-HVWNOPDV.cjs} +5 -5
- package/dist/{chunk-GQ7267OV.cjs.map → chunk-HVWNOPDV.cjs.map} +1 -1
- package/dist/{chunk-QIVX7F3N.cjs → chunk-JJUV7Z4L.cjs} +27 -27
- package/dist/{chunk-QIVX7F3N.cjs.map → chunk-JJUV7Z4L.cjs.map} +1 -1
- package/dist/{chunk-53ARMJHM.cjs → chunk-JONR3BDJ.cjs} +37 -37
- package/dist/{chunk-53ARMJHM.cjs.map → chunk-JONR3BDJ.cjs.map} +1 -1
- package/dist/{chunk-ZCQVUIPH.cjs → chunk-K7EJ7HYJ.cjs} +18 -18
- package/dist/{chunk-ZCQVUIPH.cjs.map → chunk-K7EJ7HYJ.cjs.map} +1 -1
- package/dist/{chunk-VZQ3VVFH.cjs → chunk-KO52PXL4.cjs} +20 -22
- package/dist/chunk-KO52PXL4.cjs.map +1 -0
- package/dist/{chunk-BC726XIQ.cjs → chunk-LHYRLL64.cjs} +47 -49
- package/dist/chunk-LHYRLL64.cjs.map +1 -0
- package/dist/{chunk-4PIHIFJM.js → chunk-LQLL4S4V.js} +4 -4
- package/dist/{chunk-KXDYBRRR.js → chunk-MOB5AA3X.js} +7 -7
- package/dist/{chunk-DH3YH3TV.js → chunk-MTLDYBXK.js} +8 -8
- package/dist/{chunk-L5FEAOGJ.js → chunk-ON7663OW.js} +354 -8
- package/dist/chunk-ON7663OW.js.map +1 -0
- package/dist/{chunk-55X46LKR.cjs → chunk-OQHFHKUG.cjs} +100 -450
- package/dist/chunk-OQHFHKUG.cjs.map +1 -0
- package/dist/{chunk-WZ6CUZMM.js → chunk-OXTV63QO.js} +4 -4
- package/dist/{chunk-NLADJ4IX.js → chunk-PFBMVQ5R.js} +6 -6
- package/dist/{chunk-5E55S5SI.js → chunk-PJZYJDR7.js} +4 -4
- package/dist/{chunk-PTP5LSYM.js → chunk-QGWBMPQY.js} +61 -22
- package/dist/chunk-QGWBMPQY.js.map +1 -0
- 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-G47XRVZA.js → chunk-SCPJ53CM.js} +3 -3
- package/dist/{chunk-25UWKNII.js → chunk-T46STYS2.js} +8 -10
- package/dist/{chunk-25UWKNII.js.map → chunk-T46STYS2.js.map} +1 -1
- package/dist/{chunk-6I3KNDBF.cjs → chunk-U7TTQV4N.cjs} +3 -3
- package/dist/{chunk-6I3KNDBF.cjs.map → chunk-U7TTQV4N.cjs.map} +1 -1
- package/dist/{chunk-ZYDNPUSH.cjs → chunk-UNI3POHU.cjs} +625 -279
- package/dist/chunk-UNI3POHU.cjs.map +1 -0
- package/dist/{chunk-N6XNJX25.cjs → chunk-W523NIJ6.cjs} +15 -15
- package/dist/{chunk-N6XNJX25.cjs.map → chunk-W523NIJ6.cjs.map} +1 -1
- package/dist/{chunk-J6ATJUEE.js → chunk-WBZ4HP7D.js} +4 -4
- package/dist/{chunk-R3SJ6PMI.cjs → chunk-WR67VM2J.cjs} +463 -424
- package/dist/chunk-WR67VM2J.cjs.map +1 -0
- package/dist/{chunk-32P6KUZP.js → chunk-X3LC6R37.js} +2 -2
- package/dist/{chunk-FR6EDA3P.cjs → chunk-XNC37UQP.cjs} +105 -105
- package/dist/{chunk-FR6EDA3P.cjs.map → chunk-XNC37UQP.cjs.map} +1 -1
- package/dist/{chunk-CMUNJZWN.js → chunk-YQCA4ZEJ.js} +2 -2
- package/dist/{chunk-ZI27ALYX.cjs → chunk-YXWGSDK4.cjs} +80 -5
- package/dist/chunk-YXWGSDK4.cjs.map +1 -0
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +8 -8
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/index.js +4 -4
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/contact/index.js +8 -8
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/docs/index.js +11 -11
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/embeds/index.js +8 -8
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/faq/index.js +9 -9
- package/dist/components/features/changelog-manager.d.ts +17 -1
- package/dist/components/features/changelog-manager.d.ts.map +1 -1
- 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/types/index.cjs.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/product-release.d.ts +5 -0
- package/dist/types/product-release.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/features/__tests__/changelog-manager-tags.test.tsx +57 -0
- package/src/components/features/changelog-manager.tsx +69 -5
- 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/types/product-release.ts +5 -0
- 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-PTP5LSYM.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-HIZAMJPT.js.map → chunk-2MXKO5BN.js.map} +0 -0
- /package/dist/{chunk-CAQ5MNLJ.js.map → chunk-4VPCIREO.js.map} +0 -0
- /package/dist/{chunk-ZOMGXH7C.js.map → chunk-BVQEU5JB.js.map} +0 -0
- /package/dist/{chunk-Y3MIFC5M.js.map → chunk-D5CKXMMC.js.map} +0 -0
- /package/dist/{chunk-X5NN4NJM.js.map → chunk-F2KBCLUG.js.map} +0 -0
- /package/dist/{chunk-CK2CPZXB.js.map → chunk-GR3WOOM7.js.map} +0 -0
- /package/dist/{chunk-4PIHIFJM.js.map → chunk-LQLL4S4V.js.map} +0 -0
- /package/dist/{chunk-KXDYBRRR.js.map → chunk-MOB5AA3X.js.map} +0 -0
- /package/dist/{chunk-DH3YH3TV.js.map → chunk-MTLDYBXK.js.map} +0 -0
- /package/dist/{chunk-WZ6CUZMM.js.map → chunk-OXTV63QO.js.map} +0 -0
- /package/dist/{chunk-NLADJ4IX.js.map → chunk-PFBMVQ5R.js.map} +0 -0
- /package/dist/{chunk-5E55S5SI.js.map → chunk-PJZYJDR7.js.map} +0 -0
- /package/dist/{chunk-76HB456V.js.map → chunk-S6WBBSII.js.map} +0 -0
- /package/dist/{chunk-G47XRVZA.js.map → chunk-SCPJ53CM.js.map} +0 -0
- /package/dist/{chunk-J6ATJUEE.js.map → chunk-WBZ4HP7D.js.map} +0 -0
- /package/dist/{chunk-32P6KUZP.js.map → chunk-X3LC6R37.js.map} +0 -0
- /package/dist/{chunk-CMUNJZWN.js.map → chunk-YQCA4ZEJ.js.map} +0 -0
|
@@ -22,7 +22,7 @@ var _chunkTON3YCCWcjs = require('./chunk-TON3YCCW.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkJJUV7Z4Lcjs = require('./chunk-JJUV7Z4L.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkYB6RCW77cjs = require('./chunk-YB6RCW77.cjs');
|
|
@@ -85,13 +85,13 @@ var _chunkN6HNK25Acjs = require('./chunk-N6HNK25A.cjs');
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
var _chunkZYDNPUSHcjs = require('./chunk-ZYDNPUSH.cjs');
|
|
89
88
|
|
|
90
89
|
|
|
91
90
|
|
|
92
91
|
|
|
93
92
|
|
|
94
93
|
|
|
94
|
+
var _chunkUNI3POHUcjs = require('./chunk-UNI3POHU.cjs');
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
@@ -101,19 +101,19 @@ var _chunkZYDNPUSHcjs = require('./chunk-ZYDNPUSH.cjs');
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
var _chunkZI27ALYXcjs = require('./chunk-ZI27ALYX.cjs');
|
|
105
104
|
|
|
106
105
|
|
|
107
106
|
|
|
108
107
|
|
|
109
|
-
var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
|
|
110
108
|
|
|
111
109
|
|
|
112
110
|
|
|
111
|
+
var _chunkYXWGSDK4cjs = require('./chunk-YXWGSDK4.cjs');
|
|
113
112
|
|
|
114
113
|
|
|
115
114
|
|
|
116
115
|
|
|
116
|
+
var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
|
|
@@ -139,7 +139,6 @@ var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
|
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
var _chunkKOQCA5X5cjs = require('./chunk-KOQCA5X5.cjs');
|
|
143
142
|
|
|
144
143
|
|
|
145
144
|
|
|
@@ -147,6 +146,7 @@ var _chunkKOQCA5X5cjs = require('./chunk-KOQCA5X5.cjs');
|
|
|
147
146
|
|
|
148
147
|
|
|
149
148
|
|
|
149
|
+
var _chunkKOQCA5X5cjs = require('./chunk-KOQCA5X5.cjs');
|
|
150
150
|
|
|
151
151
|
|
|
152
152
|
|
|
@@ -208,18 +208,18 @@ var _chunkKOQCA5X5cjs = require('./chunk-KOQCA5X5.cjs');
|
|
|
208
208
|
|
|
209
209
|
|
|
210
210
|
|
|
211
|
-
var _chunkGSQM4PDRcjs = require('./chunk-GSQM4PDR.cjs');
|
|
212
211
|
|
|
213
212
|
|
|
214
213
|
|
|
215
|
-
var _chunkXQFFGR6Ucjs = require('./chunk-XQFFGR6U.cjs');
|
|
216
214
|
|
|
217
215
|
|
|
218
216
|
|
|
219
217
|
|
|
218
|
+
var _chunkGSQM4PDRcjs = require('./chunk-GSQM4PDR.cjs');
|
|
220
219
|
|
|
221
220
|
|
|
222
221
|
|
|
222
|
+
var _chunkXQFFGR6Ucjs = require('./chunk-XQFFGR6U.cjs');
|
|
223
223
|
|
|
224
224
|
|
|
225
225
|
|
|
@@ -231,7 +231,7 @@ var _chunkXQFFGR6Ucjs = require('./chunk-XQFFGR6U.cjs');
|
|
|
231
231
|
|
|
232
232
|
|
|
233
233
|
|
|
234
|
-
var
|
|
234
|
+
var _chunkOQHFHKUGcjs = require('./chunk-OQHFHKUG.cjs');
|
|
235
235
|
|
|
236
236
|
|
|
237
237
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -240,8 +240,7 @@ var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
|
240
240
|
|
|
241
241
|
|
|
242
242
|
|
|
243
|
-
|
|
244
|
-
var _chunk4E7XCEV3cjs = require('./chunk-4E7XCEV3.cjs');
|
|
243
|
+
var _chunkEHAYNUOLcjs = require('./chunk-EHAYNUOL.cjs');
|
|
245
244
|
|
|
246
245
|
|
|
247
246
|
var _chunk63QUMV72cjs = require('./chunk-63QUMV72.cjs');
|
|
@@ -347,7 +346,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
347
346
|
var useTheme = _nextthemes.useTheme;
|
|
348
347
|
function useThemeToggle() {
|
|
349
348
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
350
|
-
const mounted =
|
|
349
|
+
const mounted = _chunkUNI3POHUcjs.useIsHydrated.call(void 0, );
|
|
351
350
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
352
351
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
353
352
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -621,10 +620,10 @@ function TruncateText({
|
|
|
621
620
|
as = "div"
|
|
622
621
|
}) {
|
|
623
622
|
const isMultiLine = lines > 1;
|
|
624
|
-
const { ref, isTruncated } =
|
|
623
|
+
const { ref, isTruncated } = _chunkYXWGSDK4cjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
625
624
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
626
625
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
627
|
-
|
|
626
|
+
_chunkUNI3POHUcjs.FloatingTooltip,
|
|
628
627
|
{
|
|
629
628
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
630
629
|
side,
|
|
@@ -709,7 +708,7 @@ function AutocompleteInner(props, ref) {
|
|
|
709
708
|
};
|
|
710
709
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
711
710
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
712
|
-
const keyboardPadding =
|
|
711
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
713
712
|
const containerRef = _react.useRef.call(void 0, null);
|
|
714
713
|
const hiddenTagsPopupRef = _react.useRef.call(void 0, null);
|
|
715
714
|
const isInvalid = invalid || !!error;
|
|
@@ -727,7 +726,7 @@ function AutocompleteInner(props, ref) {
|
|
|
727
726
|
textMeasureRef,
|
|
728
727
|
badgeRef,
|
|
729
728
|
inputRef
|
|
730
|
-
} =
|
|
729
|
+
} = _chunkJJUV7Z4Lcjs.useAutoLimitTags.call(void 0, {
|
|
731
730
|
count: multiple ? selectedOptions.length : 0,
|
|
732
731
|
limitTags: multiple ? limitTagsProp : 0,
|
|
733
732
|
placeholder: inputPlaceholder
|
|
@@ -931,7 +930,7 @@ function AutocompleteInner(props, ref) {
|
|
|
931
930
|
),
|
|
932
931
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2", children: [
|
|
933
932
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
934
|
-
|
|
933
|
+
_chunkUNI3POHUcjs.Tag,
|
|
935
934
|
{
|
|
936
935
|
variant: "outline",
|
|
937
936
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1145,7 +1144,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1145
1144
|
"aria-hidden": "true",
|
|
1146
1145
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
1147
1146
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1148
|
-
|
|
1147
|
+
_chunkUNI3POHUcjs.Tag,
|
|
1149
1148
|
{
|
|
1150
1149
|
variant: "outline",
|
|
1151
1150
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1501,7 +1500,7 @@ function DatePickerCalendar({
|
|
|
1501
1500
|
onMonthChange
|
|
1502
1501
|
}) {
|
|
1503
1502
|
const today = /* @__PURE__ */ new Date();
|
|
1504
|
-
const isMdUp = _nullishCoalesce(
|
|
1503
|
+
const isMdUp = _nullishCoalesce(_chunkYXWGSDK4cjs.useMdUp.call(void 0, ), () => ( true));
|
|
1505
1504
|
const monthsToShow = isMdUp ? numberOfMonths : 1;
|
|
1506
1505
|
const [draftRange, setDraftRange] = _react.useState.call(void 0,
|
|
1507
1506
|
mode === "range" ? selected : void 0
|
|
@@ -2535,7 +2534,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
2535
2534
|
const describedById = _react.useId.call(void 0, );
|
|
2536
2535
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
2537
2536
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2538
|
-
|
|
2537
|
+
_chunkUNI3POHUcjs.FloatingTooltip,
|
|
2539
2538
|
{
|
|
2540
2539
|
content: children,
|
|
2541
2540
|
side,
|
|
@@ -2629,7 +2628,7 @@ function Value2({ value, depth }) {
|
|
|
2629
2628
|
}
|
|
2630
2629
|
if (typeof value === "string") {
|
|
2631
2630
|
if (ISO_DATE.test(value)) {
|
|
2632
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2631
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkUNI3POHUcjs.formatRelativeTime.call(void 0, value) });
|
|
2633
2632
|
}
|
|
2634
2633
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2635
2634
|
}
|
|
@@ -2695,7 +2694,7 @@ var ProgressBar = ({
|
|
|
2695
2694
|
mobileHeight = 8,
|
|
2696
2695
|
inverted = false
|
|
2697
2696
|
}) => {
|
|
2698
|
-
const isMdUp = _nullishCoalesce(
|
|
2697
|
+
const isMdUp = _nullishCoalesce(_chunkYXWGSDK4cjs.useMdUp.call(void 0, ), () => ( true));
|
|
2699
2698
|
const effectiveSegmentWidth = isMdUp ? segmentWidth : mobileSegmentWidth;
|
|
2700
2699
|
const effectiveHeight = isMdUp ? height : mobileHeight;
|
|
2701
2700
|
const containerRef = _react.useRef.call(void 0, null);
|
|
@@ -2811,7 +2810,7 @@ function InfoCardFooter({ footer }) {
|
|
|
2811
2810
|
] });
|
|
2812
2811
|
}
|
|
2813
2812
|
function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLabel }) {
|
|
2814
|
-
const { copy, copied } =
|
|
2813
|
+
const { copy, copied } = _chunkJJUV7Z4Lcjs.useCopyToClipboard.call(void 0, );
|
|
2815
2814
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 w-full items-center gap-[var(--spacing-system-xs)] self-stretch", children: [
|
|
2816
2815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-primary text-h4", children: showLabel ? label : "" }),
|
|
2817
2816
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-px flex-1 bg-ods-divider" }),
|
|
@@ -2901,7 +2900,7 @@ function SearchableSelect({
|
|
|
2901
2900
|
}) {
|
|
2902
2901
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
2903
2902
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
2904
|
-
const keyboardPadding =
|
|
2903
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
2905
2904
|
if (!isOpen && search !== "") setSearch("");
|
|
2906
2905
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
2907
2906
|
const q = search.trim().toLowerCase();
|
|
@@ -3024,7 +3023,7 @@ function CompactAssigneeDropdown({
|
|
|
3024
3023
|
value: o.value,
|
|
3025
3024
|
label: o.label,
|
|
3026
3025
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3027
|
-
|
|
3026
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
3028
3027
|
{
|
|
3029
3028
|
src: o.imageUrl,
|
|
3030
3029
|
alt: o.label,
|
|
@@ -3059,7 +3058,7 @@ function CompactAssigneeDropdown({
|
|
|
3059
3058
|
className
|
|
3060
3059
|
),
|
|
3061
3060
|
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeletedUserAvatar, { size: "sm", accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}` }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3062
|
-
|
|
3061
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
3063
3062
|
{
|
|
3064
3063
|
src: currentAssignee.avatarSrc,
|
|
3065
3064
|
alt: currentAssignee.name,
|
|
@@ -3107,7 +3106,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3107
3106
|
const opt = option;
|
|
3108
3107
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-sf)]", children: [
|
|
3109
3108
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3110
|
-
|
|
3109
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
3111
3110
|
{
|
|
3112
3111
|
src: opt.imageUrl,
|
|
3113
3112
|
alt: opt.label,
|
|
@@ -3142,7 +3141,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3142
3141
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3143
3142
|
}
|
|
3144
3143
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3145
|
-
|
|
3144
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
3146
3145
|
{
|
|
3147
3146
|
src: currentAssignee.avatarSrc,
|
|
3148
3147
|
alt: currentAssignee.name,
|
|
@@ -3167,7 +3166,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3167
3166
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3168
3167
|
}
|
|
3169
3168
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3170
|
-
|
|
3169
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
3171
3170
|
{
|
|
3172
3171
|
src: currentAssignee.avatarSrc,
|
|
3173
3172
|
alt: currentAssignee.name,
|
|
@@ -3241,7 +3240,7 @@ function TextValue({ value }) {
|
|
|
3241
3240
|
}
|
|
3242
3241
|
) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick, title: text, className: interactiveClass, children: text }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: text, children: text }),
|
|
3243
3242
|
hasImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3244
|
-
|
|
3243
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
3245
3244
|
{
|
|
3246
3245
|
src: imageSrc,
|
|
3247
3246
|
alt: text,
|
|
@@ -3261,7 +3260,7 @@ function RowValue({ value }) {
|
|
|
3261
3260
|
}
|
|
3262
3261
|
case "status": {
|
|
3263
3262
|
const { type: _type, ...props } = value;
|
|
3264
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3263
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TicketStatusTag, { ...props });
|
|
3265
3264
|
}
|
|
3266
3265
|
case "custom":
|
|
3267
3266
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -3777,7 +3776,7 @@ function TagSelectDropdown({
|
|
|
3777
3776
|
}) {
|
|
3778
3777
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
3779
3778
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
3780
|
-
const keyboardPadding =
|
|
3779
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
3781
3780
|
if (!isOpen && search !== "") setSearch("");
|
|
3782
3781
|
const query = search.trim();
|
|
3783
3782
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
@@ -4069,7 +4068,7 @@ function TagsManager({
|
|
|
4069
4068
|
}) {
|
|
4070
4069
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
4071
4070
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
4072
|
-
const keyboardPadding =
|
|
4071
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
4073
4072
|
const [editingId, setEditingId] = _react.useState.call(void 0, null);
|
|
4074
4073
|
const [editingName, setEditingName] = _react.useState.call(void 0, "");
|
|
4075
4074
|
const editInputRef = _react.useRef.call(void 0, null);
|
|
@@ -4172,7 +4171,7 @@ function TagsManager({
|
|
|
4172
4171
|
}
|
|
4173
4172
|
),
|
|
4174
4173
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4175
|
-
|
|
4174
|
+
_chunkUNI3POHUcjs.Tag,
|
|
4176
4175
|
{
|
|
4177
4176
|
label: tag.name,
|
|
4178
4177
|
variant: "outline",
|
|
@@ -4717,10 +4716,10 @@ function useConfirm() {
|
|
|
4717
4716
|
},
|
|
4718
4717
|
[]
|
|
4719
4718
|
);
|
|
4720
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4721
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4722
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4723
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4719
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4720
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalTitle, { children: pending.title }) }),
|
|
4721
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4722
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.ModalFooter, { children: [
|
|
4724
4723
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4725
4724
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4726
4725
|
] })
|
|
@@ -4783,9 +4782,9 @@ function AdminFormModal({
|
|
|
4783
4782
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4784
4783
|
});
|
|
4785
4784
|
if (!isOpen) return null;
|
|
4786
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4787
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4788
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4785
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4786
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.ModalHeader, { children: [
|
|
4787
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalTitle, { children: title }),
|
|
4789
4788
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4790
4789
|
] }),
|
|
4791
4790
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4810,7 +4809,7 @@ function AdminFormModal({
|
|
|
4810
4809
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4811
4810
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4812
4811
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4813
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4812
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4814
4813
|
"div",
|
|
4815
4814
|
{
|
|
4816
4815
|
"aria-busy": "true",
|
|
@@ -4831,12 +4830,12 @@ function AdminFormModal({
|
|
|
4831
4830
|
]
|
|
4832
4831
|
}
|
|
4833
4832
|
) })
|
|
4834
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4833
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalContent, { className: contentClassName, children }),
|
|
4835
4834
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4836
4835
|
]
|
|
4837
4836
|
}
|
|
4838
4837
|
),
|
|
4839
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4840
4839
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4841
4840
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4842
4841
|
footerStatus,
|
|
@@ -5709,7 +5708,7 @@ function FadePreview({
|
|
|
5709
5708
|
setCollapsedFor(resetKey);
|
|
5710
5709
|
setExpanded(false);
|
|
5711
5710
|
}
|
|
5712
|
-
|
|
5711
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
5713
5712
|
const el = contentRef.current;
|
|
5714
5713
|
if (!el) return;
|
|
5715
5714
|
if (!fixedHeight) {
|
|
@@ -6126,9 +6125,9 @@ var KIND_HEADING = {
|
|
|
6126
6125
|
design: "Claude Design"
|
|
6127
6126
|
};
|
|
6128
6127
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
6129
|
-
const { src: mirrorSrc, status } =
|
|
6128
|
+
const { src: mirrorSrc, status } = _chunkJJUV7Z4Lcjs.useClaudeMirrorSrc.call(void 0, url);
|
|
6130
6129
|
const isProbing = status === "probing";
|
|
6131
|
-
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => (
|
|
6130
|
+
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunkJJUV7Z4Lcjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
6132
6131
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6133
6132
|
EmbedViewerFrame,
|
|
6134
6133
|
{
|
|
@@ -6203,12 +6202,12 @@ function SlidesViewToggle({ view, onChange }) {
|
|
|
6203
6202
|
}
|
|
6204
6203
|
function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
6205
6204
|
const [view, setView] = _react.useState.call(void 0, "present");
|
|
6206
|
-
const isSlides = url ?
|
|
6207
|
-
const embedSrc = url ?
|
|
6205
|
+
const isSlides = url ? _chunkJJUV7Z4Lcjs.isFigmaSlidesUrl.call(void 0, url) : false;
|
|
6206
|
+
const embedSrc = url ? _chunkJJUV7Z4Lcjs.toFigmaEmbedUrl.call(void 0, url, { slidesView: view }) : null;
|
|
6208
6207
|
const originalUrl = (() => {
|
|
6209
6208
|
if (!url) return null;
|
|
6210
6209
|
try {
|
|
6211
|
-
const parsed = new URL(
|
|
6210
|
+
const parsed = new URL(_chunkJJUV7Z4Lcjs.toFigmaOriginalUrl.call(void 0, url));
|
|
6212
6211
|
const host = parsed.hostname.toLowerCase();
|
|
6213
6212
|
const okHost = host === "figma.com" || host.endsWith(".figma.com");
|
|
6214
6213
|
const okProtocol = parsed.protocol === "https:" || parsed.protocol === "http:";
|
|
@@ -6593,7 +6592,7 @@ var OGLinkPreview = ({
|
|
|
6593
6592
|
const hasImage = !!resolvedImageUrl;
|
|
6594
6593
|
const isCuratedImage = _optionalChain([resolvedImage, 'optionalAccess', _132 => _132.source]) === "curated";
|
|
6595
6594
|
const isPlaceholder = _optionalChain([resolvedImage, 'optionalAccess', _133 => _133.source]) === "placeholder";
|
|
6596
|
-
const bgColor =
|
|
6595
|
+
const bgColor = _chunkEHAYNUOLcjs.useImageEdgeColor.call(void 0, _nullishCoalesce(resolvedImageUrl, () => ( null)), "var(--color-bg-surface)");
|
|
6597
6596
|
const renderSkeleton = () => isCompact ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "my-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[120px] flex-row overflow-hidden rounded-lg border border-ods-border bg-ods-card", children: [
|
|
6598
6597
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full w-[200px] flex-shrink-0 animate-pulse bg-ods-border" }),
|
|
6599
6598
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col justify-center p-3", children: [
|
|
@@ -6982,7 +6981,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6982
6981
|
};
|
|
6983
6982
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6984
6983
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6985
|
-
|
|
6984
|
+
_chunkUNI3POHUcjs.Video,
|
|
6986
6985
|
{
|
|
6987
6986
|
url: item.src,
|
|
6988
6987
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7414,7 +7413,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
|
|
|
7414
7413
|
width: m.width,
|
|
7415
7414
|
height: m.height
|
|
7416
7415
|
}));
|
|
7417
|
-
const formatNumber2 =
|
|
7416
|
+
const formatNumber2 = _chunkOQHFHKUGcjs.formatLargeNumber;
|
|
7418
7417
|
const truncateText = (text, maxLength = 600) => {
|
|
7419
7418
|
if (text.length <= maxLength) return text;
|
|
7420
7419
|
return text.slice(0, maxLength) + "...";
|
|
@@ -7706,7 +7705,7 @@ function buildRichEmbedOverrides({
|
|
|
7706
7705
|
ogEndpointPath,
|
|
7707
7706
|
textSizes
|
|
7708
7707
|
}) {
|
|
7709
|
-
const standard =
|
|
7708
|
+
const standard = _chunkUNI3POHUcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7710
7709
|
return {
|
|
7711
7710
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7712
7711
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7716,7 +7715,7 @@ function buildRichEmbedOverrides({
|
|
|
7716
7715
|
const language = match ? match[1] : "";
|
|
7717
7716
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7718
7717
|
if (language === "youtube-embed") {
|
|
7719
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7718
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7720
7719
|
}
|
|
7721
7720
|
if (language === "reddit-embed") {
|
|
7722
7721
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7757,7 +7756,7 @@ function buildRichEmbedOverrides({
|
|
|
7757
7756
|
"data-figma-url": figmaUrl
|
|
7758
7757
|
} = divProps;
|
|
7759
7758
|
if (className === "youtube-embed" && videoId) {
|
|
7760
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7759
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "youtube", url: videoId });
|
|
7761
7760
|
}
|
|
7762
7761
|
if (className === "reddit-embed" && postUrl) {
|
|
7763
7762
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7842,14 +7841,14 @@ function buildRichEmbedOverrides({
|
|
|
7842
7841
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7843
7842
|
// elsewhere). Guard against empty `![]()`.
|
|
7844
7843
|
img: ({ src, alt }) => {
|
|
7845
|
-
if (!
|
|
7844
|
+
if (!_chunkUNI3POHUcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7846
7845
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7847
7846
|
},
|
|
7848
7847
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7849
7848
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7850
7849
|
video: ({ src, poster, className }) => {
|
|
7851
|
-
if (!
|
|
7852
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7850
|
+
if (!_chunkUNI3POHUcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7851
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7853
7852
|
}
|
|
7854
7853
|
};
|
|
7855
7854
|
}
|
|
@@ -8090,13 +8089,13 @@ var RichMarkdownInner = ({
|
|
|
8090
8089
|
},
|
|
8091
8090
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8092
8091
|
);
|
|
8093
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8092
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkUNI3POHUcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8094
8093
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8095
8094
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8096
8095
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8097
8096
|
);
|
|
8098
8097
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8099
|
-
|
|
8098
|
+
_chunkUNI3POHUcjs.MarkdownEngine,
|
|
8100
8099
|
{
|
|
8101
8100
|
content,
|
|
8102
8101
|
className,
|
|
@@ -8118,7 +8117,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8118
8117
|
className = "",
|
|
8119
8118
|
sectionIds,
|
|
8120
8119
|
onInternalLinkClick,
|
|
8121
|
-
brokenLinks =
|
|
8120
|
+
brokenLinks = _chunkUNI3POHUcjs.NO_BROKEN_LINKS,
|
|
8122
8121
|
currentPath,
|
|
8123
8122
|
resolveSource = "openframe-docs",
|
|
8124
8123
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8691,7 +8690,7 @@ function FilterModal({
|
|
|
8691
8690
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _167 => _167.defaultSort]), () => ( "desc"));
|
|
8692
8691
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _168 => _168.sort]), () => ( dateDefaultSort)));
|
|
8693
8692
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _169 => _169.range]));
|
|
8694
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8693
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkUNI3POHUcjs.useScrollFade.call(void 0, );
|
|
8695
8694
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8696
8695
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8697
8696
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8736,10 +8735,10 @@ function FilterModal({
|
|
|
8736
8735
|
const hasFilterGroups = filterGroups.length > 0;
|
|
8737
8736
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8738
8737
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8739
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8740
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8738
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Modal, { isOpen, onClose, className: _chunk23V5BSHDcjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
8739
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalTitle, { children: title }) }),
|
|
8741
8740
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8742
|
-
|
|
8741
|
+
_chunkUNI3POHUcjs.ModalContent,
|
|
8743
8742
|
{
|
|
8744
8743
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
8745
8744
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8831,12 +8830,12 @@ function FilterModal({
|
|
|
8831
8830
|
] })
|
|
8832
8831
|
}
|
|
8833
8832
|
),
|
|
8834
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8835
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8833
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8834
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8836
8835
|
] })
|
|
8837
8836
|
}
|
|
8838
8837
|
),
|
|
8839
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8838
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.ModalFooter, { children: [
|
|
8840
8839
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8841
8840
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8842
8841
|
] })
|
|
@@ -8880,9 +8879,9 @@ function actionToMenuItems(action, idx) {
|
|
|
8880
8879
|
function renderActionButton(action, opts = {}) {
|
|
8881
8880
|
const button = renderRawActionButton(action, opts);
|
|
8882
8881
|
if (!action.tooltip) return button;
|
|
8883
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8884
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8885
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8882
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { children: [
|
|
8883
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
8884
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { children: action.tooltip })
|
|
8886
8885
|
] }) });
|
|
8887
8886
|
}
|
|
8888
8887
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -8906,7 +8905,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
8906
8905
|
}
|
|
8907
8906
|
if (action.submenu && action.submenu.length > 0) {
|
|
8908
8907
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8909
|
-
|
|
8908
|
+
_chunkUNI3POHUcjs.ActionsMenuDropdown,
|
|
8910
8909
|
{
|
|
8911
8910
|
groups: [{ items: action.submenu }],
|
|
8912
8911
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9041,10 +9040,10 @@ function IconButtonsVariant({
|
|
|
9041
9040
|
selector,
|
|
9042
9041
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9043
9042
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
9044
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9043
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
9045
9044
|
] })
|
|
9046
9045
|
] }),
|
|
9047
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9046
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9048
9047
|
] });
|
|
9049
9048
|
}
|
|
9050
9049
|
function PrimaryButtonsVariant({
|
|
@@ -9082,7 +9081,7 @@ function MenuPrimaryVariant({
|
|
|
9082
9081
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9083
9082
|
selector,
|
|
9084
9083
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9085
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9084
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9086
9085
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
9087
9086
|
] })
|
|
9088
9087
|
] }),
|
|
@@ -9090,7 +9089,7 @@ function MenuPrimaryVariant({
|
|
|
9090
9089
|
// The selector rides into the menu as its header row: on mobile the
|
|
9091
9090
|
// title row has no room for it, and hiding it entirely (what
|
|
9092
9091
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9093
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9092
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9094
9093
|
) : null })
|
|
9095
9094
|
] });
|
|
9096
9095
|
}
|
|
@@ -9298,7 +9297,7 @@ function ListPageLayout({
|
|
|
9298
9297
|
}) {
|
|
9299
9298
|
const [mobileFilterOpen, setMobileFilterOpen] = _react.useState.call(void 0, false);
|
|
9300
9299
|
const [localSearchValue, setLocalSearchValue] = _react.useState.call(void 0, searchValue);
|
|
9301
|
-
const debouncedSearchValue =
|
|
9300
|
+
const debouncedSearchValue = _chunkYXWGSDK4cjs.useDebounce.call(void 0, localSearchValue, 500);
|
|
9302
9301
|
const [syncedSearchValue, setSyncedSearchValue] = _react.useState.call(void 0, searchValue);
|
|
9303
9302
|
if (syncedSearchValue !== searchValue) {
|
|
9304
9303
|
setSyncedSearchValue(searchValue);
|
|
@@ -9381,11 +9380,11 @@ function ListPageLayout({
|
|
|
9381
9380
|
|
|
9382
9381
|
var ENTITY_IMAGE_SIZE = "size-[52px] md:size-[60px]";
|
|
9383
9382
|
function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
9384
|
-
const resolvedSrc =
|
|
9383
|
+
const resolvedSrc = _chunkEHAYNUOLcjs.useAuthedImageSrc.call(void 0, src);
|
|
9385
9384
|
const [failedSrc, setFailedSrc] = _react2.default.useState(null);
|
|
9386
9385
|
const imageFailed = resolvedSrc !== void 0 && failedSrc === resolvedSrc;
|
|
9387
9386
|
const showFallback = imageFailed || !resolvedSrc;
|
|
9388
|
-
const initials =
|
|
9387
|
+
const initials = _chunkOQHFHKUGcjs.personInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
9389
9388
|
if (showFallback) {
|
|
9390
9389
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9391
9390
|
"div",
|
|
@@ -9458,8 +9457,8 @@ function TitleBlock({
|
|
|
9458
9457
|
const titleClass = titleSize === "h1" ? "text-h1" : "text-h2";
|
|
9459
9458
|
const titleOverflowClass = titleWrap ? "break-words" : "truncate";
|
|
9460
9459
|
const skeletonSize = TITLE_SKELETON_SIZE[titleSize];
|
|
9461
|
-
const { ref: titleRef, isTruncated: titleTruncated } =
|
|
9462
|
-
const { ref: subtitleRef, isTruncated: subtitleTruncated } =
|
|
9460
|
+
const { ref: titleRef, isTruncated: titleTruncated } = _chunkYXWGSDK4cjs.useIsTruncated.call(void 0, loading ? null : title);
|
|
9461
|
+
const { ref: subtitleRef, isTruncated: subtitleTruncated } = _chunkYXWGSDK4cjs.useIsTruncated.call(void 0,
|
|
9463
9462
|
loading ? null : subtitle
|
|
9464
9463
|
);
|
|
9465
9464
|
const titleNode = loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TitleTextSkeleton, { widthClass: skeletonSize.width, heightClass: skeletonSize.height }) : title;
|
|
@@ -9496,7 +9495,7 @@ function TitleBlock({
|
|
|
9496
9495
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
9497
9496
|
(loading || title) && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9498
9497
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9499
|
-
|
|
9498
|
+
_chunkUNI3POHUcjs.FloatingTooltip,
|
|
9500
9499
|
{
|
|
9501
9500
|
content: title,
|
|
9502
9501
|
side: "bottom",
|
|
@@ -9513,12 +9512,12 @@ function TitleBlock({
|
|
|
9513
9512
|
}
|
|
9514
9513
|
),
|
|
9515
9514
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9516
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9515
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunk23V5BSHDcjs.cn.call(void 0, titleClass, "text-ods-text-primary", titleOverflowClass), children: titleNode }) })),
|
|
9517
9516
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
9518
9517
|
empty `p` collapses to zero height (its only content would be
|
|
9519
9518
|
collapsible whitespace), which is exactly the shift that mode
|
|
9520
9519
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
9521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9520
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9522
9521
|
"p",
|
|
9523
9522
|
{
|
|
9524
9523
|
ref: subtitleRef,
|
|
@@ -9529,7 +9528,7 @@ function TitleBlock({
|
|
|
9529
9528
|
) })
|
|
9530
9529
|
] })
|
|
9531
9530
|
] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9532
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9531
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, triggerClassName: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunk23V5BSHDcjs.cn.call(void 0, titleClass, "min-w-0 text-ods-text-primary", titleOverflowClass), children: title }) }),
|
|
9533
9532
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9534
9533
|
] }) : (
|
|
9535
9534
|
/* This branch never had the single-line clamp, so text already
|
|
@@ -9973,7 +9972,7 @@ function toToolLabel(input) {
|
|
|
9973
9972
|
if (!input) return "";
|
|
9974
9973
|
const toolType = normalizeToolType(input);
|
|
9975
9974
|
if (toolType) {
|
|
9976
|
-
return
|
|
9975
|
+
return _chunkYXWGSDK4cjs.toolLabels[toolType];
|
|
9977
9976
|
}
|
|
9978
9977
|
return input;
|
|
9979
9978
|
}
|
|
@@ -9984,7 +9983,7 @@ function getToolTypeAliases(toolType) {
|
|
|
9984
9983
|
return Object.entries(toolAliasMap).filter(([_, value]) => value === toolType).map(([key]) => key);
|
|
9985
9984
|
}
|
|
9986
9985
|
function getToolLabel(toolType) {
|
|
9987
|
-
return
|
|
9986
|
+
return _chunkYXWGSDK4cjs.toolLabels[toolType] || toolType;
|
|
9988
9987
|
}
|
|
9989
9988
|
|
|
9990
9989
|
// src/types/shell.types.ts
|
|
@@ -10255,7 +10254,7 @@ function canUseCookies() {
|
|
|
10255
10254
|
return document.URL.startsWith("http:") || document.URL.startsWith("https:");
|
|
10256
10255
|
}
|
|
10257
10256
|
function fallbackStore(name) {
|
|
10258
|
-
return
|
|
10257
|
+
return _chunkEHAYNUOLcjs.createLocalStorageAdapter.call(void 0, {
|
|
10259
10258
|
key: name,
|
|
10260
10259
|
logTag: "[dismiss-cookie]",
|
|
10261
10260
|
validate: (parsed) => typeof parsed === "string"
|
|
@@ -10361,7 +10360,7 @@ var HIDDEN_GRACE_MS = 45e3;
|
|
|
10361
10360
|
function createSseSubscription(options) {
|
|
10362
10361
|
const {
|
|
10363
10362
|
url,
|
|
10364
|
-
fetchImpl =
|
|
10363
|
+
fetchImpl = _chunkEHAYNUOLcjs.embedAuthedFetch,
|
|
10365
10364
|
onEvent,
|
|
10366
10365
|
onStatusChange,
|
|
10367
10366
|
onConnectedChange,
|
|
@@ -10944,7 +10943,7 @@ function lastPathSegment(url) {
|
|
|
10944
10943
|
function makeComposeContentUrl(opts) {
|
|
10945
10944
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
10946
10945
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
10947
|
-
const type =
|
|
10946
|
+
const type = _chunkOQHFHKUGcjs.canonicalContentRefType.call(void 0, rawType);
|
|
10948
10947
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
10949
10948
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
10950
10949
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -11122,8 +11121,8 @@ var DEFAULT_OPTIONS = {
|
|
|
11122
11121
|
function extractSections(markdown, options = {}) {
|
|
11123
11122
|
const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
11124
11123
|
const sections = [];
|
|
11125
|
-
const dedupe =
|
|
11126
|
-
const scanned =
|
|
11124
|
+
const dedupe = _chunkYXWGSDK4cjs.createHeadingIdDeduper.call(void 0, );
|
|
11125
|
+
const scanned = _chunkYXWGSDK4cjs.scanHeadings.call(void 0, markdown, {
|
|
11127
11126
|
skipFrontmatter: opts.skipCodeAndYamlBlocks,
|
|
11128
11127
|
skipFences: opts.skipCodeAndYamlBlocks
|
|
11129
11128
|
});
|
|
@@ -11131,9 +11130,9 @@ function extractSections(markdown, options = {}) {
|
|
|
11131
11130
|
if (heading.level > opts.maxLevel) continue;
|
|
11132
11131
|
let title = heading.text;
|
|
11133
11132
|
if (opts.stripFormattingMarkers) {
|
|
11134
|
-
title =
|
|
11133
|
+
title = _chunkUNI3POHUcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
11135
11134
|
}
|
|
11136
|
-
const baseId =
|
|
11135
|
+
const baseId = _chunkYXWGSDK4cjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkYXWGSDK4cjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
11137
11136
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
11138
11137
|
sections.push({
|
|
11139
11138
|
id: opts.handleDuplicateIds ? dedupe(cleanId) : cleanId,
|
|
@@ -11190,7 +11189,7 @@ function sanitizeLandingUrl(url) {
|
|
|
11190
11189
|
}
|
|
11191
11190
|
}
|
|
11192
11191
|
function makeAdapter() {
|
|
11193
|
-
return
|
|
11192
|
+
return _chunkEHAYNUOLcjs.createLocalStorageAdapter.call(void 0, {
|
|
11194
11193
|
key: FIRST_TOUCH_ATTRIBUTION_KEY,
|
|
11195
11194
|
backend: "session",
|
|
11196
11195
|
logTag: "[first-touch-attribution]",
|
|
@@ -11704,7 +11703,7 @@ function DashboardInfoCard({
|
|
|
11704
11703
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
11705
11704
|
if (asTag) {
|
|
11706
11705
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
11707
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11706
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
11708
11707
|
}
|
|
11709
11708
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
11710
11709
|
"(",
|
|
@@ -11758,7 +11757,7 @@ function DashboardInfoCard({
|
|
|
11758
11757
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "truncate text-ods-text-primary text-h3 md:text-h2", valueClassName), children: formattedValue }),
|
|
11759
11758
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
11760
11759
|
renderPercentage(),
|
|
11761
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11760
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.FloatingTooltip, { content: tooltip, side: "top", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "cursor-help text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
11762
11761
|
] })
|
|
11763
11762
|
] }),
|
|
11764
11763
|
renderProgress()
|
|
@@ -11941,7 +11940,7 @@ function DeviceCard({
|
|
|
11941
11940
|
] }),
|
|
11942
11941
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
11943
11942
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11944
|
-
|
|
11943
|
+
_chunkUNI3POHUcjs.Tag,
|
|
11945
11944
|
{
|
|
11946
11945
|
variant: statusTag.variant,
|
|
11947
11946
|
icon: statusTag.icon,
|
|
@@ -11955,7 +11954,7 @@ function DeviceCard({
|
|
|
11955
11954
|
formatLastSeen(device.lastSeen)
|
|
11956
11955
|
] })
|
|
11957
11956
|
] }),
|
|
11958
|
-
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-wrap items-center gap-2", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11957
|
+
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-wrap items-center gap-2", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
11959
11958
|
]
|
|
11960
11959
|
}
|
|
11961
11960
|
);
|
|
@@ -12016,7 +12015,7 @@ function FeatureCardGrid({
|
|
|
12016
12015
|
if (allCardsHaveNoBorders) {
|
|
12017
12016
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
12018
12017
|
}
|
|
12019
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12018
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
12020
12019
|
const startIndex = rowIndex * itemsPerRow;
|
|
12021
12020
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
12022
12021
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -12046,7 +12045,7 @@ function FeatureCardGrid({
|
|
|
12046
12045
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
12047
12046
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
12048
12047
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12049
|
-
|
|
12048
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
12050
12049
|
{
|
|
12051
12050
|
text: item.badge.text,
|
|
12052
12051
|
variant: item.badge.variant || "card",
|
|
@@ -12055,7 +12054,7 @@ function FeatureCardGrid({
|
|
|
12055
12054
|
)
|
|
12056
12055
|
] }),
|
|
12057
12056
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12058
|
-
|
|
12057
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
12059
12058
|
{
|
|
12060
12059
|
text: item.badge.text,
|
|
12061
12060
|
variant: item.badge.variant || "card",
|
|
@@ -12103,7 +12102,7 @@ function FeatureList({ items, className = "", iconBoxSize = 72 }) {
|
|
|
12103
12102
|
|
|
12104
12103
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
12105
12104
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12106
|
-
|
|
12105
|
+
_chunkUNI3POHUcjs.FloatingTooltip,
|
|
12107
12106
|
{
|
|
12108
12107
|
as: "span",
|
|
12109
12108
|
side: "top",
|
|
@@ -12287,7 +12286,7 @@ function DropdownButton({
|
|
|
12287
12286
|
)
|
|
12288
12287
|
);
|
|
12289
12288
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12290
|
-
|
|
12289
|
+
_chunkUNI3POHUcjs.ActionsMenuDropdown,
|
|
12291
12290
|
{
|
|
12292
12291
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
12293
12292
|
open,
|
|
@@ -12502,8 +12501,8 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
12502
12501
|
}
|
|
12503
12502
|
function ServiceCardRowItem({ row }) {
|
|
12504
12503
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
12505
|
-
const { copy, copied } =
|
|
12506
|
-
const { ref: valueRef, isTruncated: valueTruncated } =
|
|
12504
|
+
const { copy, copied } = _chunkJJUV7Z4Lcjs.useCopyToClipboard.call(void 0, );
|
|
12505
|
+
const { ref: valueRef, isTruncated: valueTruncated } = _chunkYXWGSDK4cjs.useIsTruncated.call(void 0, row.value);
|
|
12507
12506
|
const actions = _react.useMemo.call(void 0,
|
|
12508
12507
|
() => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }),
|
|
12509
12508
|
[row]
|
|
@@ -12525,7 +12524,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12525
12524
|
),
|
|
12526
12525
|
children: [
|
|
12527
12526
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12528
|
-
|
|
12527
|
+
_chunkUNI3POHUcjs.FloatingTooltip,
|
|
12529
12528
|
{
|
|
12530
12529
|
content: row.value,
|
|
12531
12530
|
side: "top",
|
|
@@ -12617,7 +12616,7 @@ function PersonCell({
|
|
|
12617
12616
|
}) {
|
|
12618
12617
|
const displayName = name || fallbackName;
|
|
12619
12618
|
const row = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "group/person-cell flex min-w-0 items-center gap-3", children: [
|
|
12620
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12619
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { size: "sm", src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
12621
12620
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
12622
12621
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12623
12622
|
TruncateText,
|
|
@@ -12657,9 +12656,9 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12657
12656
|
);
|
|
12658
12657
|
}
|
|
12659
12658
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
12660
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12659
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.FloatingTooltip, { content: fullNames, triggerClassName: "min-w-0 max-w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
12661
12660
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12662
|
-
|
|
12661
|
+
_chunkOQHFHKUGcjs.AvatarStack,
|
|
12663
12662
|
{
|
|
12664
12663
|
size: "sm",
|
|
12665
12664
|
slots: PEOPLE_CELL_STACK_SLOTS,
|
|
@@ -12667,7 +12666,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12667
12666
|
}
|
|
12668
12667
|
) }),
|
|
12669
12668
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "line-clamp-2 min-w-0 flex-1 break-words text-ods-text-primary text-h6", children: [
|
|
12670
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) =>
|
|
12669
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) => _chunkOQHFHKUGcjs.personFirstName.call(void 0, p.name, "Unknown")).join(" & ") }),
|
|
12671
12670
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: fullNames })
|
|
12672
12671
|
] })
|
|
12673
12672
|
] }) });
|
|
@@ -12719,9 +12718,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12719
12718
|
return next;
|
|
12720
12719
|
});
|
|
12721
12720
|
};
|
|
12722
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12721
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
12723
12722
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12724
|
-
|
|
12723
|
+
_chunkUNI3POHUcjs.TooltipTrigger,
|
|
12725
12724
|
{
|
|
12726
12725
|
asChild: true,
|
|
12727
12726
|
onPointerDown: (e) => {
|
|
@@ -12739,7 +12738,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12739
12738
|
children
|
|
12740
12739
|
}
|
|
12741
12740
|
),
|
|
12742
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12741
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
12743
12742
|
] }) });
|
|
12744
12743
|
}
|
|
12745
12744
|
|
|
@@ -13300,7 +13299,7 @@ function TableHeader({
|
|
|
13300
13299
|
}
|
|
13301
13300
|
return sortDirection === "asc" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.Arrow01UpIcon, { className: "h-4 w-4 text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.Arrow01DownIcon, { className: "h-4 w-4 text-ods-accent" });
|
|
13302
13301
|
};
|
|
13303
|
-
const isLgUp = _nullishCoalesce(
|
|
13302
|
+
const isLgUp = _nullishCoalesce(_chunkYXWGSDK4cjs.useLgUp.call(void 0, ), () => ( false));
|
|
13304
13303
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13305
13304
|
"div",
|
|
13306
13305
|
{
|
|
@@ -13994,9 +13993,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
13994
13993
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
13995
13994
|
}
|
|
13996
13995
|
}, []);
|
|
13997
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13998
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13999
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13996
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
13997
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center", style: { width, height: 48 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: textRef, className: "truncate text-ods-text-secondary text-h5", children: value }) }) }),
|
|
13998
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
14000
13999
|
] }) });
|
|
14001
14000
|
}
|
|
14002
14001
|
|
|
@@ -14049,9 +14048,9 @@ function TruncatedCell({ value, className }) {
|
|
|
14049
14048
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14050
14049
|
}
|
|
14051
14050
|
}, []);
|
|
14052
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14053
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14054
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14051
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14052
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { ref: textRef, className: _chunk23V5BSHDcjs.cn.call(void 0, "block truncate", className), children: value }) }),
|
|
14053
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
14055
14054
|
] }) });
|
|
14056
14055
|
}
|
|
14057
14056
|
|
|
@@ -14166,7 +14165,7 @@ function QueryReportTable({
|
|
|
14166
14165
|
onThumbPointerDown,
|
|
14167
14166
|
onThumbPointerMove,
|
|
14168
14167
|
onThumbPointerUp
|
|
14169
|
-
} =
|
|
14168
|
+
} = _chunkJJUV7Z4Lcjs.useHorizontalScrollbar.call(void 0, );
|
|
14170
14169
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex w-full flex-col", isCompact ? "gap-0" : "gap-[var(--spacing-system-l)]", className), children: [
|
|
14171
14170
|
!isCompact && (title || headerActions || showExport && data.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between pt-[var(--spacing-system-l)]", children: [
|
|
14172
14171
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -15057,10 +15056,10 @@ function SearchInput({
|
|
|
15057
15056
|
}) {
|
|
15058
15057
|
const [internalValue, setInternalValue] = _react.useState.call(void 0, defaultValue);
|
|
15059
15058
|
const currentValue = onChange ? _nullishCoalesce(value, () => ( "")) : internalValue;
|
|
15060
|
-
const debouncedValue =
|
|
15059
|
+
const debouncedValue = _chunkYXWGSDK4cjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
15061
15060
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
15062
15061
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
15063
|
-
const keyboardPadding =
|
|
15062
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
15064
15063
|
const containerRef = _react.useRef.call(void 0, null);
|
|
15065
15064
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
15066
15065
|
const {
|
|
@@ -15070,7 +15069,7 @@ function SearchInput({
|
|
|
15070
15069
|
textMeasureRef,
|
|
15071
15070
|
badgeRef,
|
|
15072
15071
|
inputRef
|
|
15073
|
-
} =
|
|
15072
|
+
} = _chunkJJUV7Z4Lcjs.useAutoLimitTags.call(void 0, {
|
|
15074
15073
|
count: filterChips.length,
|
|
15075
15074
|
limitTags,
|
|
15076
15075
|
// When chips exist, pass empty placeholder so the hook only reserves input minWidth,
|
|
@@ -15092,7 +15091,7 @@ function SearchInput({
|
|
|
15092
15091
|
document.addEventListener("mousedown", handleClick);
|
|
15093
15092
|
return () => document.removeEventListener("mousedown", handleClick);
|
|
15094
15093
|
}, [showHiddenTags]);
|
|
15095
|
-
|
|
15094
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
15096
15095
|
const popup = hiddenTagsPopupRef.current;
|
|
15097
15096
|
const badge = badgeRef.current;
|
|
15098
15097
|
if (!popup || !badge) return;
|
|
@@ -15263,7 +15262,7 @@ function SearchInput({
|
|
|
15263
15262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-shrink-0 text-ods-text-secondary transition-colors duration-200 group-has-[:focus]:text-ods-accent [&_svg]:size-4 md:[&_svg]:size-6", children: startAdornment !== void 0 ? startAdornment : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}) }),
|
|
15264
15263
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
15265
15264
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15266
|
-
|
|
15265
|
+
_chunkUNI3POHUcjs.Tag,
|
|
15267
15266
|
{
|
|
15268
15267
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15269
15268
|
label: chip.label,
|
|
@@ -15379,7 +15378,7 @@ function SearchInput({
|
|
|
15379
15378
|
}
|
|
15380
15379
|
),
|
|
15381
15380
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: measureRef, "aria-hidden": "true", className: "pointer-events-none fixed -left-[9999px] top-0 flex gap-2", children: filterChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15382
|
-
|
|
15381
|
+
_chunkUNI3POHUcjs.Tag,
|
|
15383
15382
|
{
|
|
15384
15383
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15385
15384
|
label: chip.label,
|
|
@@ -15521,7 +15520,7 @@ function TagSearchInput({
|
|
|
15521
15520
|
limitTags = "auto"
|
|
15522
15521
|
}) {
|
|
15523
15522
|
const currentPlaceholder = tags.length === 0 ? placeholder : addMorePlaceholder;
|
|
15524
|
-
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } =
|
|
15523
|
+
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } = _chunkJJUV7Z4Lcjs.useAutoLimitTags.call(void 0, {
|
|
15525
15524
|
count: tags.length,
|
|
15526
15525
|
limitTags,
|
|
15527
15526
|
placeholder: currentPlaceholder
|
|
@@ -15541,7 +15540,7 @@ function TagSearchInput({
|
|
|
15541
15540
|
document.addEventListener("mousedown", handleClick);
|
|
15542
15541
|
return () => document.removeEventListener("mousedown", handleClick);
|
|
15543
15542
|
}, [showHiddenTags]);
|
|
15544
|
-
|
|
15543
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
15545
15544
|
const popup = hiddenTagsPopupRef.current;
|
|
15546
15545
|
const badge = badgeRef.current;
|
|
15547
15546
|
if (!popup || !badge) return;
|
|
@@ -15592,7 +15591,7 @@ function TagSearchInput({
|
|
|
15592
15591
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "size-4 text-ods-text-secondary md:size-6" }) }),
|
|
15593
15592
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2", children: [
|
|
15594
15593
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15595
|
-
|
|
15594
|
+
_chunkUNI3POHUcjs.Tag,
|
|
15596
15595
|
{
|
|
15597
15596
|
variant: "outline",
|
|
15598
15597
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -15680,7 +15679,7 @@ function TagSearchInput({
|
|
|
15680
15679
|
"aria-hidden": "true",
|
|
15681
15680
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
15682
15681
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15683
|
-
|
|
15682
|
+
_chunkUNI3POHUcjs.Tag,
|
|
15684
15683
|
{
|
|
15685
15684
|
variant: "outline",
|
|
15686
15685
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -16394,7 +16393,7 @@ function ImageUploader({
|
|
|
16394
16393
|
const [pressed, setPressed] = _react.useState.call(void 0, false);
|
|
16395
16394
|
const [validationError, setValidationError] = _react.useState.call(void 0, null);
|
|
16396
16395
|
const interactive = !disabled && !loading;
|
|
16397
|
-
const resolvedValue =
|
|
16396
|
+
const resolvedValue = _chunkEHAYNUOLcjs.useAuthedImageSrc.call(void 0, value);
|
|
16398
16397
|
const hasImage = Boolean(value);
|
|
16399
16398
|
const displayError = error || validationError || void 0;
|
|
16400
16399
|
const resolvedHint = hint === void 0 ? `Max. size: ${formatSize(maxSize)}` : hint;
|
|
@@ -16554,7 +16553,7 @@ var _reactcolorful = require('react-colorful');
|
|
|
16554
16553
|
var Popover2 = PopoverPrimitive6.Root;
|
|
16555
16554
|
var PopoverTrigger = PopoverPrimitive6.Trigger;
|
|
16556
16555
|
var PopoverContent = _react.forwardRef.call(void 0, ({ className, align = "center", sideOffset = 4, collisionPadding, ...props }, ref) => {
|
|
16557
|
-
const keyboardPadding =
|
|
16556
|
+
const keyboardPadding = _chunkJJUV7Z4Lcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
16558
16557
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive6.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16559
16558
|
PopoverPrimitive6.Content,
|
|
16560
16559
|
{
|
|
@@ -16574,7 +16573,20 @@ PopoverContent.displayName = PopoverPrimitive6.Content.displayName;
|
|
|
16574
16573
|
|
|
16575
16574
|
// src/components/ui/color-preset-select.tsx
|
|
16576
16575
|
|
|
16577
|
-
var TICKET_STATUS_COLOR_PRESETS =
|
|
16576
|
+
var TICKET_STATUS_COLOR_PRESETS = [
|
|
16577
|
+
{ key: "green", label: "Green", color: "#5ea62e" },
|
|
16578
|
+
{ key: "lime", label: "Lime", color: "#8bc34a" },
|
|
16579
|
+
{ key: "teal", label: "Teal", color: "#4db6ac" },
|
|
16580
|
+
{ key: "sky", label: "Sky", color: "#4fc3f7" },
|
|
16581
|
+
{ key: "periwinkle", label: "Periwinkle", color: "#7e9cd8" },
|
|
16582
|
+
{ key: "lavender", label: "Lavender", color: "#b39ddb" },
|
|
16583
|
+
{ key: "yellow", label: "Yellow", color: "#e1b32f" },
|
|
16584
|
+
{ key: "sand", label: "Sand", color: "#f0c674" },
|
|
16585
|
+
{ key: "peach", label: "Peach", color: "#f39c7a" },
|
|
16586
|
+
{ key: "red", label: "Red", color: "#f36666" },
|
|
16587
|
+
{ key: "pink", label: "Pink", color: "#e988a8" },
|
|
16588
|
+
{ key: "neutral", label: "Neutral", color: "#b0b0b0" }
|
|
16589
|
+
];
|
|
16578
16590
|
var CUSTOM_PRESET_KEY = "custom";
|
|
16579
16591
|
var DEFAULT_CUSTOM_STATUS_COLOR = "#888888";
|
|
16580
16592
|
function TriggerChevron() {
|
|
@@ -16598,20 +16610,20 @@ function ColorPresetSelect({
|
|
|
16598
16610
|
...presets.map((p) => ({
|
|
16599
16611
|
id: p.key,
|
|
16600
16612
|
label: p.label,
|
|
16601
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16613
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ColorSwatch, { color: p.color }),
|
|
16602
16614
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
16603
16615
|
})),
|
|
16604
16616
|
{
|
|
16605
16617
|
id: CUSTOM_PRESET_KEY,
|
|
16606
16618
|
label: "Custom",
|
|
16607
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16619
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
16608
16620
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
16609
16621
|
}
|
|
16610
16622
|
]
|
|
16611
16623
|
}
|
|
16612
16624
|
];
|
|
16613
16625
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16614
|
-
|
|
16626
|
+
_chunkUNI3POHUcjs.ActionsMenuDropdown,
|
|
16615
16627
|
{
|
|
16616
16628
|
groups,
|
|
16617
16629
|
align: "start",
|
|
@@ -16621,7 +16633,7 @@ function ColorPresetSelect({
|
|
|
16621
16633
|
{
|
|
16622
16634
|
disabled,
|
|
16623
16635
|
"aria-label": `Color: ${displayLabel}`,
|
|
16624
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16636
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ColorSwatch, { color: displayColor }),
|
|
16625
16637
|
selectedLabel: displayLabel,
|
|
16626
16638
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16627
16639
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16642,7 +16654,7 @@ function HexInputs({ value, onChange }) {
|
|
|
16642
16654
|
}
|
|
16643
16655
|
const commit = () => {
|
|
16644
16656
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
16645
|
-
if (
|
|
16657
|
+
if (_chunkUNI3POHUcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
16646
16658
|
else setDraft(value);
|
|
16647
16659
|
};
|
|
16648
16660
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16706,12 +16718,12 @@ function ChannelInput({
|
|
|
16706
16718
|
);
|
|
16707
16719
|
}
|
|
16708
16720
|
function RgbInputs({ value, onChange }) {
|
|
16709
|
-
const rgb = _nullishCoalesce(
|
|
16721
|
+
const rgb = _nullishCoalesce(_chunkUNI3POHUcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16710
16722
|
const update = (next) => {
|
|
16711
16723
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
16712
16724
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
16713
16725
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
16714
|
-
onChange(
|
|
16726
|
+
onChange(_chunkUNI3POHUcjs.rgbToHex.call(void 0, r, g, b));
|
|
16715
16727
|
};
|
|
16716
16728
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16717
16729
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -16720,14 +16732,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
16720
16732
|
] });
|
|
16721
16733
|
}
|
|
16722
16734
|
function HslInputs({ value, onChange }) {
|
|
16723
|
-
const rgb = _nullishCoalesce(
|
|
16724
|
-
const hsl =
|
|
16735
|
+
const rgb = _nullishCoalesce(_chunkUNI3POHUcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16736
|
+
const hsl = _chunkUNI3POHUcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
16725
16737
|
const update = (next) => {
|
|
16726
16738
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
16727
16739
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
16728
16740
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
16729
|
-
const out =
|
|
16730
|
-
onChange(
|
|
16741
|
+
const out = _chunkUNI3POHUcjs.hslToRgb.call(void 0, h, s, l);
|
|
16742
|
+
onChange(_chunkUNI3POHUcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
16731
16743
|
};
|
|
16732
16744
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16733
16745
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -16753,7 +16765,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16753
16765
|
{
|
|
16754
16766
|
disabled,
|
|
16755
16767
|
"aria-label": "Pick custom color",
|
|
16756
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16768
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ColorSwatch, { color: value }),
|
|
16757
16769
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
16758
16770
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16759
16771
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16769,7 +16781,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16769
16781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
16770
16782
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16771
16783
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16772
|
-
|
|
16784
|
+
_chunkUNI3POHUcjs.ActionsMenuDropdown,
|
|
16773
16785
|
{
|
|
16774
16786
|
groups: formatGroups,
|
|
16775
16787
|
align: "start",
|
|
@@ -16817,7 +16829,7 @@ function TicketStatusConfigRow({
|
|
|
16817
16829
|
isDragging,
|
|
16818
16830
|
moveButtons
|
|
16819
16831
|
}) {
|
|
16820
|
-
const dragAndDropEnabled =
|
|
16832
|
+
const dragAndDropEnabled = _chunkJJUV7Z4Lcjs.useDragAndDropEnabled.call(void 0, );
|
|
16821
16833
|
const nameInputId = _react.useId.call(void 0, );
|
|
16822
16834
|
const isSystem = variant === "system";
|
|
16823
16835
|
const isCustomColor = !isSystem && presetKey === void 0;
|
|
@@ -16826,7 +16838,7 @@ function TicketStatusConfigRow({
|
|
|
16826
16838
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
16827
16839
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
16828
16840
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16829
|
-
|
|
16841
|
+
_chunkUNI3POHUcjs.TicketStatusTag,
|
|
16830
16842
|
{
|
|
16831
16843
|
status: statusKey,
|
|
16832
16844
|
label: name || " ",
|
|
@@ -16978,7 +16990,7 @@ function formatTestRunDuration(ms) {
|
|
|
16978
16990
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
16979
16991
|
var SKELETON_COLUMNS = 6;
|
|
16980
16992
|
function TestResultsSkeleton() {
|
|
16981
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16993
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
16982
16994
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-[160px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-4 w-3/4 animate-pulse rounded-sm bg-ods-bg-surface" }) }, `skeleton-header-${i}`)) }),
|
|
16983
16995
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "animate-pulse overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-3/4 rounded-sm bg-ods-bg-surface" }) }, `skeleton-cell-${i}`)) }) })
|
|
16984
16996
|
] }) });
|
|
@@ -17013,13 +17025,13 @@ function TestResultsTable({ rows, loading }) {
|
|
|
17013
17025
|
if (loading) {
|
|
17014
17026
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
17015
17027
|
}
|
|
17016
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17028
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { minWidth: Math.max(1, columnKeys.length) * RESULT_COLUMN_MIN_WIDTH }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DataTable, { table, children: [
|
|
17017
17029
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
17018
17030
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
17019
17031
|
] }) }) });
|
|
17020
17032
|
}
|
|
17021
17033
|
function TestRunErrorBanner({ error, className }) {
|
|
17022
|
-
const { copy } =
|
|
17034
|
+
const { copy } = _chunkJJUV7Z4Lcjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
17023
17035
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17024
17036
|
"div",
|
|
17025
17037
|
{
|
|
@@ -17073,7 +17085,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
17073
17085
|
function TestRunStatusStat({ status, className }) {
|
|
17074
17086
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
17075
17087
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex min-w-0 flex-col items-start justify-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
17076
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17088
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { label: tag.label, variant: tag.variant, className: "pointer-events-none" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: "-" }),
|
|
17077
17089
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
17078
17090
|
] });
|
|
17079
17091
|
}
|
|
@@ -17116,7 +17128,7 @@ function useTestRunState(campaign) {
|
|
|
17116
17128
|
const firstError = isFinished && campaign.errors.length > 0 ? campaign.errors[0].error : null;
|
|
17117
17129
|
const status = isActive ? "running" : hasRun && isFinished ? firstError ? "error" : "success" : "idle";
|
|
17118
17130
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
17119
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
17131
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkUNI3POHUcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
17120
17132
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
17121
17133
|
const displayRows = _react.useMemo.call(void 0,
|
|
17122
17134
|
() => campaign.results.map(
|
|
@@ -17155,7 +17167,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
17155
17167
|
),
|
|
17156
17168
|
children: [
|
|
17157
17169
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17158
|
-
|
|
17170
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
17159
17171
|
{
|
|
17160
17172
|
src: attachment.thumbnailSrc,
|
|
17161
17173
|
alt: attachment.fileName,
|
|
@@ -17248,7 +17260,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17248
17260
|
};
|
|
17249
17261
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex items-start gap-4 rounded-[6px] p-3", "border border-ods-border bg-ods-card", className), children: [
|
|
17250
17262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17251
|
-
|
|
17263
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
17252
17264
|
{
|
|
17253
17265
|
src: note.authorAvatar,
|
|
17254
17266
|
alt: note.authorName,
|
|
@@ -17424,7 +17436,7 @@ function TicketInfoSection({
|
|
|
17424
17436
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-card px-4 py-3 lg:grid-cols-[1fr_1fr_1fr_auto]", children: [
|
|
17425
17437
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
17426
17438
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17427
|
-
|
|
17439
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
17428
17440
|
{
|
|
17429
17441
|
src: _optionalChain([organization, 'optionalAccess', _397 => _397.imageSrc]),
|
|
17430
17442
|
alt: _optionalChain([organization, 'optionalAccess', _398 => _398.name]),
|
|
@@ -17454,7 +17466,7 @@ function TicketInfoSection({
|
|
|
17454
17466
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _401 => _401.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _402 => _402.icon]), onClick: _optionalChain([device, 'optionalAccess', _403 => _403.onClick]) }),
|
|
17455
17467
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
17456
17468
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17457
|
-
|
|
17469
|
+
_chunkUNI3POHUcjs.TicketStatusTag,
|
|
17458
17470
|
{
|
|
17459
17471
|
status: _nullishCoalesce(status, () => ( "")),
|
|
17460
17472
|
label: statusLabel,
|
|
@@ -17493,9 +17505,9 @@ function TicketInfoSection({
|
|
|
17493
17505
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17494
17506
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-bg px-4 py-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: createdAt, label: "Created" }) }),
|
|
17495
17507
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
17496
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17508
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.SimpleMarkdownRenderer, { content: description }),
|
|
17497
17509
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
17498
|
-
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17510
|
+
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
17499
17511
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17500
17512
|
TicketNotesSection,
|
|
17501
17513
|
{
|
|
@@ -17518,7 +17530,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
17518
17530
|
const { label, color } = option;
|
|
17519
17531
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
17520
17532
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17533
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ColorSwatch, { color }),
|
|
17522
17534
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17523
17535
|
] }),
|
|
17524
17536
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17528,7 +17540,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
17528
17540
|
const { label, imageUrl } = option;
|
|
17529
17541
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
17530
17542
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17531
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17543
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
17532
17544
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17533
17545
|
] }),
|
|
17534
17546
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17563,9 +17575,9 @@ function TakeOverTicketModal({
|
|
|
17563
17575
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
17564
17576
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
17565
17577
|
};
|
|
17566
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17578
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17567
17579
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17568
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17580
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
17569
17581
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17570
17582
|
"The ticket ",
|
|
17571
17583
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17580,7 +17592,7 @@ function TakeOverTicketModal({
|
|
|
17580
17592
|
value: selectedStatusId,
|
|
17581
17593
|
onChange: setStatusId,
|
|
17582
17594
|
placeholder: "Select Status",
|
|
17583
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17595
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17584
17596
|
renderOption: renderTicketStatusOption
|
|
17585
17597
|
}
|
|
17586
17598
|
) }),
|
|
@@ -17594,7 +17606,7 @@ function TakeOverTicketModal({
|
|
|
17594
17606
|
placeholder: "Select Technician",
|
|
17595
17607
|
loading: assigneesLoading,
|
|
17596
17608
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17597
|
-
|
|
17609
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
17598
17610
|
{
|
|
17599
17611
|
src: selectedAssignee.imageUrl,
|
|
17600
17612
|
alt: selectedAssignee.label,
|
|
@@ -17607,7 +17619,7 @@ function TakeOverTicketModal({
|
|
|
17607
17619
|
}
|
|
17608
17620
|
) })
|
|
17609
17621
|
] }),
|
|
17610
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17622
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.ModalFooter, { children: [
|
|
17611
17623
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17612
17624
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17613
17625
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17666,9 +17678,9 @@ function ReopenTicketModal({
|
|
|
17666
17678
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
17667
17679
|
});
|
|
17668
17680
|
};
|
|
17669
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17681
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17670
17682
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17671
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17683
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17672
17684
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17673
17685
|
"The ticket ",
|
|
17674
17686
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17683,7 +17695,7 @@ function ReopenTicketModal({
|
|
|
17683
17695
|
value: selectedStatusId,
|
|
17684
17696
|
onChange: setStatusId,
|
|
17685
17697
|
placeholder: "Select Status",
|
|
17686
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17698
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17687
17699
|
renderOption: renderTicketStatusOption
|
|
17688
17700
|
}
|
|
17689
17701
|
) }),
|
|
@@ -17697,7 +17709,7 @@ function ReopenTicketModal({
|
|
|
17697
17709
|
placeholder: "Select Technician",
|
|
17698
17710
|
loading: assigneesLoading,
|
|
17699
17711
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17700
|
-
|
|
17712
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
17701
17713
|
{
|
|
17702
17714
|
src: selectedAssignee.imageUrl,
|
|
17703
17715
|
alt: selectedAssignee.label,
|
|
@@ -17721,7 +17733,7 @@ function ReopenTicketModal({
|
|
|
17721
17733
|
disabled: isPending
|
|
17722
17734
|
}
|
|
17723
17735
|
) }),
|
|
17724
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17736
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.ModalFooter, { children: [
|
|
17725
17737
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17726
17738
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17727
17739
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17769,9 +17781,9 @@ function ReopenTicketRequestModal({
|
|
|
17769
17781
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
17770
17782
|
});
|
|
17771
17783
|
};
|
|
17772
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17784
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17773
17785
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17774
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17786
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17775
17787
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "This ticket will be reopened and the AI assistant will continue helping you." }),
|
|
17776
17788
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17777
17789
|
Textarea,
|
|
@@ -17795,7 +17807,7 @@ function ReopenTicketRequestModal({
|
|
|
17795
17807
|
disabled: isPending
|
|
17796
17808
|
}
|
|
17797
17809
|
),
|
|
17798
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17810
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.ModalFooter, { children: [
|
|
17799
17811
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
17800
17812
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
17801
17813
|
] })
|
|
@@ -17841,9 +17853,9 @@ function LazyMount({
|
|
|
17841
17853
|
placeholder = null,
|
|
17842
17854
|
className,
|
|
17843
17855
|
style,
|
|
17844
|
-
rootMargin =
|
|
17856
|
+
rootMargin = _chunkYXWGSDK4cjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
17845
17857
|
}) {
|
|
17846
|
-
const { ref, isNear } =
|
|
17858
|
+
const { ref, isNear } = _chunkYXWGSDK4cjs.useNearViewport.call(void 0, rootMargin);
|
|
17847
17859
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className, style, children: isNear ? children : placeholder });
|
|
17848
17860
|
}
|
|
17849
17861
|
|
|
@@ -18056,10 +18068,10 @@ function AccountDetailsFields({
|
|
|
18056
18068
|
onKeyDown,
|
|
18057
18069
|
layout = "stacked"
|
|
18058
18070
|
}) {
|
|
18059
|
-
const firstNameErr =
|
|
18060
|
-
const lastNameErr =
|
|
18061
|
-
const passwordErr =
|
|
18062
|
-
const confirmErr =
|
|
18071
|
+
const firstNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _408 => _408.firstName]), firstName);
|
|
18072
|
+
const lastNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _409 => _409.lastName]), lastName);
|
|
18073
|
+
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _410 => _410.password]), password);
|
|
18074
|
+
const confirmErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _411 => _411.confirmPassword]), confirmPassword);
|
|
18063
18075
|
const names = [
|
|
18064
18076
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18065
18077
|
_chunkN6HNK25Acjs.Input,
|
|
@@ -18477,9 +18489,9 @@ function CreateOrganizationForm({
|
|
|
18477
18489
|
}) {
|
|
18478
18490
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
18479
18491
|
const fieldsDisabled = disabled || loading;
|
|
18480
|
-
const emailErr =
|
|
18481
|
-
const orgNameErr =
|
|
18482
|
-
const domainErr =
|
|
18492
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _413 => _413.email]), _nullishCoalesce(email, () => ( "")));
|
|
18493
|
+
const orgNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _414 => _414.organizationName]), organizationName);
|
|
18494
|
+
const domainErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _415 => _415.domain]), domain);
|
|
18483
18495
|
const handleKeyDown = (event) => {
|
|
18484
18496
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18485
18497
|
onSubmit();
|
|
@@ -18695,7 +18707,7 @@ function LoginForm({
|
|
|
18695
18707
|
className
|
|
18696
18708
|
}) {
|
|
18697
18709
|
const fieldDisabled = disabled || loading;
|
|
18698
|
-
const emailErr =
|
|
18710
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _422 => _422.email]), email);
|
|
18699
18711
|
const handleKeyDown = (event) => {
|
|
18700
18712
|
if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
|
|
18701
18713
|
_optionalChain([onSubmitClick, 'optionalCall', _423 => _423()]);
|
|
@@ -18810,8 +18822,8 @@ function OpenFrameSsoLoginForm({
|
|
|
18810
18822
|
className
|
|
18811
18823
|
}) {
|
|
18812
18824
|
const fieldsDisabled = disabled || loading;
|
|
18813
|
-
const emailErr =
|
|
18814
|
-
const passwordErr =
|
|
18825
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _426 => _426.email]), email);
|
|
18826
|
+
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _427 => _427.password]), password);
|
|
18815
18827
|
const handleKeyDown = (event) => {
|
|
18816
18828
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18817
18829
|
onSubmit();
|
|
@@ -18916,7 +18928,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18916
18928
|
className
|
|
18917
18929
|
}) {
|
|
18918
18930
|
const fieldsDisabled = disabled || loading;
|
|
18919
|
-
const emailErr =
|
|
18931
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _428 => _428.email]), email);
|
|
18920
18932
|
const handleKeyDown = (event) => {
|
|
18921
18933
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18922
18934
|
onSubmit();
|
|
@@ -19021,8 +19033,8 @@ function PasswordResetForm({
|
|
|
19021
19033
|
className
|
|
19022
19034
|
}) {
|
|
19023
19035
|
const fieldsDisabled = disabled || loading;
|
|
19024
|
-
const passwordErr =
|
|
19025
|
-
const confirmErr =
|
|
19036
|
+
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _429 => _429.password]), password);
|
|
19037
|
+
const confirmErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _430 => _430.confirmPassword]), confirmPassword);
|
|
19026
19038
|
const handleKeyDown = (event) => {
|
|
19027
19039
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19028
19040
|
onSubmit();
|
|
@@ -19158,7 +19170,7 @@ function SsoJoinForm({
|
|
|
19158
19170
|
] }),
|
|
19159
19171
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-s)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)]", children: [
|
|
19160
19172
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19161
|
-
|
|
19173
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
19162
19174
|
{
|
|
19163
19175
|
size: "lg",
|
|
19164
19176
|
variant: "round",
|
|
@@ -19172,7 +19184,7 @@ function SsoJoinForm({
|
|
|
19172
19184
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
19173
19185
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
19174
19186
|
] }),
|
|
19175
|
-
roles.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xs)]", children: roles.map((role) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19187
|
+
roles.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xs)]", children: roles.map((role) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: "grey", label: role }, role)) })
|
|
19176
19188
|
] }),
|
|
19177
19189
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19178
19190
|
CheckboxBlock,
|
|
@@ -19318,8 +19330,15 @@ function ChangelogManager({
|
|
|
19318
19330
|
onChange,
|
|
19319
19331
|
className = "",
|
|
19320
19332
|
expandAll = false,
|
|
19321
|
-
showVisibilityToggle = false
|
|
19333
|
+
showVisibilityToggle = false,
|
|
19334
|
+
tagOptions,
|
|
19335
|
+
tagLabel = "Tag",
|
|
19336
|
+
titleLabel = "Title",
|
|
19337
|
+
titlePlaceholder = "e.g., New dark mode theme support",
|
|
19338
|
+
descriptionLabel = "Description",
|
|
19339
|
+
descriptionPlaceholder = "Detailed explanation of the change..."
|
|
19322
19340
|
}) {
|
|
19341
|
+
const tagLabelOf = (value) => _optionalChain([tagOptions, 'optionalAccess', _435 => _435.find, 'call', _436 => _436((o) => o.value === value), 'optionalAccess', _437 => _437.label]);
|
|
19323
19342
|
const entryCount = entries.length;
|
|
19324
19343
|
const allExpanded = () => new Set(Array.from({ length: entryCount }, (_, i) => i));
|
|
19325
19344
|
const [expandedIndices, setExpandedIndices] = _react.useState.call(void 0,
|
|
@@ -19336,7 +19355,8 @@ function ChangelogManager({
|
|
|
19336
19355
|
const newEntry = {
|
|
19337
19356
|
title: "",
|
|
19338
19357
|
description: "",
|
|
19339
|
-
...showVisibilityToggle && { visibility: "public" }
|
|
19358
|
+
...showVisibilityToggle && { visibility: "public" },
|
|
19359
|
+
..._optionalChain([tagOptions, 'optionalAccess', _438 => _438.length]) && { tag: tagOptions[0].value }
|
|
19340
19360
|
};
|
|
19341
19361
|
onChange([...entries, newEntry]);
|
|
19342
19362
|
setExpandedIndices((prev) => /* @__PURE__ */ new Set([...prev, entries.length]));
|
|
@@ -19407,6 +19427,15 @@ function ChangelogManager({
|
|
|
19407
19427
|
}
|
|
19408
19428
|
),
|
|
19409
19429
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: hasContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h6", children: entry.title }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "italic text-ods-text-secondary text-h6", children: "New entry (click to edit)" }) }),
|
|
19430
|
+
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19431
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
19432
|
+
{
|
|
19433
|
+
variant: "button",
|
|
19434
|
+
singleLine: true,
|
|
19435
|
+
text: tagLabelOf(entry.tag),
|
|
19436
|
+
className: "shrink-0 whitespace-nowrap"
|
|
19437
|
+
}
|
|
19438
|
+
),
|
|
19410
19439
|
showVisibilityToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19411
19440
|
_chunkWRJVEB2Jcjs.Button,
|
|
19412
19441
|
{
|
|
@@ -19433,11 +19462,14 @@ function ChangelogManager({
|
|
|
19433
19462
|
] }),
|
|
19434
19463
|
isExpanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3 border-t border-ods-border px-3 pb-3 pt-3", children: [
|
|
19435
19464
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19436
|
-
/* @__PURE__ */ _jsxruntime.
|
|
19465
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCHIHYC7Qcjs.Label, { className: "text-ods-text-secondary", children: [
|
|
19466
|
+
titleLabel,
|
|
19467
|
+
" *"
|
|
19468
|
+
] }),
|
|
19437
19469
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19438
19470
|
_chunkN6HNK25Acjs.Input,
|
|
19439
19471
|
{
|
|
19440
|
-
placeholder:
|
|
19472
|
+
placeholder: titlePlaceholder,
|
|
19441
19473
|
value: entry.title,
|
|
19442
19474
|
onChange: (e) => updateEntry(index, "title", e.target.value),
|
|
19443
19475
|
onKeyDown: (e) => e.key === "Enter" && e.preventDefault(),
|
|
@@ -19446,17 +19478,24 @@ function ChangelogManager({
|
|
|
19446
19478
|
)
|
|
19447
19479
|
] }),
|
|
19448
19480
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19449
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { className: "text-ods-text-secondary", children:
|
|
19481
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { className: "text-ods-text-secondary", children: descriptionLabel }),
|
|
19450
19482
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19451
19483
|
Textarea,
|
|
19452
19484
|
{
|
|
19453
|
-
placeholder:
|
|
19485
|
+
placeholder: descriptionPlaceholder,
|
|
19454
19486
|
value: entry.description || "",
|
|
19455
19487
|
onChange: (e) => updateEntry(index, "description", e.target.value),
|
|
19456
19488
|
rows: 2,
|
|
19457
19489
|
className: "bg-ods-bg"
|
|
19458
19490
|
}
|
|
19459
19491
|
)
|
|
19492
|
+
] }),
|
|
19493
|
+
tagOptions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19494
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
19495
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Select, { value: _nullishCoalesce(entry.tag, () => ( "")), onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
19496
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, { placeholder: tagLabel }) }),
|
|
19497
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectContent, { children: tagOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
19498
|
+
] })
|
|
19460
19499
|
] })
|
|
19461
19500
|
] })
|
|
19462
19501
|
] }, index);
|
|
@@ -19652,7 +19691,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19652
19691
|
const label = (tag.name || "").toUpperCase();
|
|
19653
19692
|
if (basePath && tag.slug) {
|
|
19654
19693
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19655
|
-
|
|
19694
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
19656
19695
|
{
|
|
19657
19696
|
text: label,
|
|
19658
19697
|
variant: "card",
|
|
@@ -19660,9 +19699,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19660
19699
|
}
|
|
19661
19700
|
) }, key);
|
|
19662
19701
|
}
|
|
19663
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19702
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
19664
19703
|
}),
|
|
19665
|
-
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19704
|
+
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.StatusBadge, { text: `+${overflow2}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
19666
19705
|
] });
|
|
19667
19706
|
}
|
|
19668
19707
|
|
|
@@ -19739,7 +19778,7 @@ var SectionButton = ({
|
|
|
19739
19778
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
19740
19779
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "whitespace-normal break-words text-h4"), children: section.title }),
|
|
19741
19780
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19742
|
-
|
|
19781
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
19743
19782
|
{
|
|
19744
19783
|
text: section.badge.text,
|
|
19745
19784
|
variant: section.badge.variant || "button",
|
|
@@ -19758,7 +19797,7 @@ var SectionButton = ({
|
|
|
19758
19797
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
19759
19798
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
19760
19799
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19761
|
-
|
|
19800
|
+
_chunkOQHFHKUGcjs.StatusBadge,
|
|
19762
19801
|
{
|
|
19763
19802
|
text: section.badge.text,
|
|
19764
19803
|
variant: section.badge.variant || "button",
|
|
@@ -19829,10 +19868,10 @@ var getContentDimensions = (config) => {
|
|
|
19829
19868
|
const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
|
|
19830
19869
|
const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
|
|
19831
19870
|
const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
|
|
19832
|
-
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
19833
|
-
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
19834
|
-
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
19835
|
-
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
19871
|
+
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _439 => _439.mobileContentDimensions, 'optionalAccess', _440 => _440.width]))), () => ( defaultMobile.width));
|
|
19872
|
+
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _441 => _441.mobileContentDimensions, 'optionalAccess', _442 => _442.height]))), () => ( defaultMobile.height));
|
|
19873
|
+
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _443 => _443.desktopContentDimensions, 'optionalAccess', _444 => _444.width]))), () => ( defaultDesktop.width));
|
|
19874
|
+
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _445 => _445.desktopContentDimensions, 'optionalAccess', _446 => _446.height]))), () => ( defaultDesktop.height));
|
|
19836
19875
|
return {
|
|
19837
19876
|
mobile: { width: mobileWidth, height: mobileHeight },
|
|
19838
19877
|
desktop: { width: desktopWidth, height: desktopHeight }
|
|
@@ -19988,7 +20027,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
19988
20027
|
const contentDimensions = getContentDimensions(config);
|
|
19989
20028
|
const mobileHeight = contentDimensions.mobile.height;
|
|
19990
20029
|
const calculatedHeight = Math.max(mobileHeight + 100, 400);
|
|
19991
|
-
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess',
|
|
20030
|
+
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _447 => _447.innerHeight]) * 0.85 || 650)}px`;
|
|
19992
20031
|
})(),
|
|
19993
20032
|
minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
|
|
19994
20033
|
const contentDimensions = getContentDimensions(config);
|
|
@@ -20046,7 +20085,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20046
20085
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
20047
20086
|
title: config.title,
|
|
20048
20087
|
loading: "eager",
|
|
20049
|
-
...
|
|
20088
|
+
..._chunkUNI3POHUcjs.fetchPriorityProp.call(void 0, "high")
|
|
20050
20089
|
},
|
|
20051
20090
|
iframeKey
|
|
20052
20091
|
),
|
|
@@ -20091,7 +20130,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20091
20130
|
const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
|
|
20092
20131
|
const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
|
|
20093
20132
|
const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
|
|
20094
|
-
config.defaultSectionId || _optionalChain([config, 'access',
|
|
20133
|
+
config.defaultSectionId || _optionalChain([config, 'access', _448 => _448.sections, 'access', _449 => _449[0], 'optionalAccess', _450 => _450.id]) || ""
|
|
20095
20134
|
);
|
|
20096
20135
|
const activeSection = externalActiveSection || internalActiveSection;
|
|
20097
20136
|
const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
|
|
@@ -20189,19 +20228,19 @@ var FigmaPrototypeViewer = ({
|
|
|
20189
20228
|
setIframeState("READY");
|
|
20190
20229
|
break;
|
|
20191
20230
|
case "PRESENTED_NODE_CHANGED":
|
|
20192
|
-
if (_optionalChain([figmaEvent, 'access',
|
|
20231
|
+
if (_optionalChain([figmaEvent, 'access', _451 => _451.data, 'optionalAccess', _452 => _452.presentedNodeId])) {
|
|
20193
20232
|
setCurrentNodeId(figmaEvent.data.presentedNodeId);
|
|
20194
20233
|
if (!isNavigating) {
|
|
20195
20234
|
const matchingSection = configSections.find((s) => {
|
|
20196
|
-
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access',
|
|
20197
|
-
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access',
|
|
20235
|
+
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _453 => _453.data, 'optionalAccess', _454 => _454.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _455 => _455.data, 'optionalAccess', _456 => _456.presentedNodeId]);
|
|
20236
|
+
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _457 => _457.data, 'optionalAccess', _458 => _458.presentedNodeId]) || _optionalChain([s, 'access', _459 => _459.mobileStartingNodeId, 'optionalAccess', _460 => _460.replace, 'call', _461 => _461(":", "-")]) === _optionalChain([figmaEvent, 'access', _462 => _462.data, 'optionalAccess', _463 => _463.presentedNodeId]);
|
|
20198
20237
|
return desktopMatch || mobileMatch;
|
|
20199
20238
|
});
|
|
20200
20239
|
if (matchingSection && matchingSection.id !== activeSection) {
|
|
20201
20240
|
if (!externalActiveSection) {
|
|
20202
20241
|
setInternalActiveSection(matchingSection.id);
|
|
20203
20242
|
}
|
|
20204
|
-
_optionalChain([onSectionChange, 'optionalCall',
|
|
20243
|
+
_optionalChain([onSectionChange, 'optionalCall', _464 => _464(matchingSection.id)]);
|
|
20205
20244
|
}
|
|
20206
20245
|
}
|
|
20207
20246
|
}
|
|
@@ -20215,7 +20254,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20215
20254
|
const navigateToSection = _react.useCallback.call(void 0,
|
|
20216
20255
|
(sectionId) => {
|
|
20217
20256
|
const section = config.sections.find((s) => s.id === sectionId);
|
|
20218
|
-
if (!section || !_optionalChain([iframeRef, 'access',
|
|
20257
|
+
if (!section || !_optionalChain([iframeRef, 'access', _465 => _465.current, 'optionalAccess', _466 => _466.contentWindow]) || !isInitialized) {
|
|
20219
20258
|
return;
|
|
20220
20259
|
}
|
|
20221
20260
|
setIsNavigating(true);
|
|
@@ -20223,7 +20262,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20223
20262
|
if (!externalActiveSection) {
|
|
20224
20263
|
setInternalActiveSection(sectionId);
|
|
20225
20264
|
}
|
|
20226
|
-
_optionalChain([config, 'access',
|
|
20265
|
+
_optionalChain([config, 'access', _467 => _467.onSectionChange, 'optionalCall', _468 => _468(sectionId)]);
|
|
20227
20266
|
const command = {
|
|
20228
20267
|
type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
|
|
20229
20268
|
data: { nodeId }
|
|
@@ -20470,7 +20509,7 @@ var FiltersDropdown = ({
|
|
|
20470
20509
|
window.addEventListener("resize", calculateOptimalPlacement);
|
|
20471
20510
|
return () => window.removeEventListener("resize", calculateOptimalPlacement);
|
|
20472
20511
|
}, [isOpen, isMobile, placement]);
|
|
20473
|
-
|
|
20512
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
20474
20513
|
const dropdown = dropdownRef.current;
|
|
20475
20514
|
if (!dropdown) return;
|
|
20476
20515
|
if (!isMobile) {
|
|
@@ -20560,7 +20599,7 @@ var FiltersDropdown = ({
|
|
|
20560
20599
|
defaults[section.id] = section.defaultSelected || [];
|
|
20561
20600
|
});
|
|
20562
20601
|
setSelectedFilters(defaults);
|
|
20563
|
-
_optionalChain([onReset, 'optionalCall',
|
|
20602
|
+
_optionalChain([onReset, 'optionalCall', _469 => _469()]);
|
|
20564
20603
|
setIsOpen(false);
|
|
20565
20604
|
};
|
|
20566
20605
|
const handleApply = () => {
|
|
@@ -20809,7 +20848,7 @@ function MediaGalleryManager({
|
|
|
20809
20848
|
const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
|
|
20810
20849
|
const handleFileSelect = _react.useCallback.call(void 0,
|
|
20811
20850
|
async (event) => {
|
|
20812
|
-
const file = _optionalChain([event, 'access',
|
|
20851
|
+
const file = _optionalChain([event, 'access', _470 => _470.target, 'access', _471 => _471.files, 'optionalAccess', _472 => _472[0]]);
|
|
20813
20852
|
if (!file) return;
|
|
20814
20853
|
let mediaType;
|
|
20815
20854
|
if (file.type.startsWith("image/")) {
|
|
@@ -20872,7 +20911,7 @@ function MediaGalleryManager({
|
|
|
20872
20911
|
(mediaItem, index) => {
|
|
20873
20912
|
const isDeleting = deletingIndex === index;
|
|
20874
20913
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20875
|
-
|
|
20914
|
+
_chunkOQHFHKUGcjs.Card,
|
|
20876
20915
|
{
|
|
20877
20916
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
20878
20917
|
draggable: true,
|
|
@@ -20893,10 +20932,10 @@ function MediaGalleryManager({
|
|
|
20893
20932
|
children: isDeleting ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-4 w-4 animate-spin text-ods-text-on-dark" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
20894
20933
|
}
|
|
20895
20934
|
) }),
|
|
20896
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children:
|
|
20935
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: _chunkOQHFHKUGcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? (
|
|
20897
20936
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
20898
20937
|
// fit="cover" crops to the aspect-video cell.
|
|
20899
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20938
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
20900
20939
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20901
20940
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
20902
20941
|
{
|
|
@@ -20909,7 +20948,7 @@ function MediaGalleryManager({
|
|
|
20909
20948
|
) }),
|
|
20910
20949
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
|
|
20911
20950
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex items-center gap-2", children: [
|
|
20912
|
-
|
|
20951
|
+
_chunkOQHFHKUGcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "h-4 w-4 text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Image, { className: "h-4 w-4 text-ods-text-secondary" }),
|
|
20913
20952
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "capitalize text-ods-text-primary text-h6", children: mediaItem.media_type })
|
|
20914
20953
|
] }),
|
|
20915
20954
|
mediaItem.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: mediaItem.title })
|
|
@@ -20934,7 +20973,7 @@ function MediaGalleryManager({
|
|
|
20934
20973
|
{
|
|
20935
20974
|
type: "button",
|
|
20936
20975
|
variant: "outline",
|
|
20937
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
20976
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _473 => _473.current, 'optionalAccess', _474 => _474.click, 'call', _475 => _475()]),
|
|
20938
20977
|
disabled: isUploading,
|
|
20939
20978
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
20940
20979
|
className: "font-bold text-h6",
|
|
@@ -21345,7 +21384,7 @@ function PlatformFilterComponent({
|
|
|
21345
21384
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
21346
21385
|
size,
|
|
21347
21386
|
onClick: () => onPlatformChange(platform.value),
|
|
21348
|
-
leftIcon: showIcons ?
|
|
21387
|
+
leftIcon: showIcons ? _chunkJJUV7Z4Lcjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
21349
21388
|
className: "text-h3",
|
|
21350
21389
|
children: platform.label
|
|
21351
21390
|
},
|
|
@@ -23059,9 +23098,9 @@ function PushButtonSelector({
|
|
|
23059
23098
|
}) {
|
|
23060
23099
|
const scrollRef = _react.useRef.call(void 0, null);
|
|
23061
23100
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
23062
|
-
const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess',
|
|
23063
|
-
const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess',
|
|
23064
|
-
const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess',
|
|
23101
|
+
const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _476 => _476.hasMore]), () => ( false));
|
|
23102
|
+
const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _477 => _477.isFetchingMore]), () => ( false));
|
|
23103
|
+
const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess', _478 => _478.onLoadMore]);
|
|
23065
23104
|
const optionCount = options.length;
|
|
23066
23105
|
_react.useEffect.call(void 0, () => {
|
|
23067
23106
|
const sentinel = sentinelRef.current;
|
|
@@ -23147,9 +23186,9 @@ function PushButtonSelector({
|
|
|
23147
23186
|
option.id
|
|
23148
23187
|
);
|
|
23149
23188
|
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,
|
|
23189
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { children: [
|
|
23190
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
23191
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
23153
23192
|
] }, option.id);
|
|
23154
23193
|
}
|
|
23155
23194
|
return optionEl;
|
|
@@ -23194,7 +23233,7 @@ function PushButtonSelector({
|
|
|
23194
23233
|
lazyLoad.isFetchingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-2 text-center text-ods-text-secondary text-h6", children: "Loading more\u2026" }) : null
|
|
23195
23234
|
] }) : null
|
|
23196
23235
|
] });
|
|
23197
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23236
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
23198
23237
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
23199
23238
|
searchInput,
|
|
23200
23239
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23232,7 +23271,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23232
23271
|
const fileInputRef = _react.useRef.call(void 0, null);
|
|
23233
23272
|
const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
|
|
23234
23273
|
const handleFileSelect = async (event) => {
|
|
23235
|
-
const file = _optionalChain([event, 'access',
|
|
23274
|
+
const file = _optionalChain([event, 'access', _479 => _479.target, 'access', _480 => _480.files, 'optionalAccess', _481 => _481[0]]);
|
|
23236
23275
|
if (!file) return;
|
|
23237
23276
|
let mediaType;
|
|
23238
23277
|
if (file.type.startsWith("image/")) {
|
|
@@ -23314,7 +23353,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23314
23353
|
{
|
|
23315
23354
|
type: "button",
|
|
23316
23355
|
variant: "outline",
|
|
23317
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
23356
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _482 => _482.current, 'optionalAccess', _483 => _483.click, 'call', _484 => _484()]),
|
|
23318
23357
|
disabled: uploadingIndex !== null,
|
|
23319
23358
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
23320
23359
|
className: "font-bold text-h6",
|
|
@@ -23364,10 +23403,10 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23364
23403
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
23365
23404
|
}
|
|
23366
23405
|
) }),
|
|
23367
|
-
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children:
|
|
23406
|
+
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children: _chunkOQHFHKUGcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo" ? (
|
|
23368
23407
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
23369
23408
|
// fit="cover" crops to the aspect-video cell.
|
|
23370
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23409
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23371
23410
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23372
23411
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
23373
23412
|
{
|
|
@@ -23500,7 +23539,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
23500
23539
|
}
|
|
23501
23540
|
)
|
|
23502
23541
|
] }),
|
|
23503
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23542
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
23504
23543
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
23505
23544
|
]
|
|
23506
23545
|
}
|
|
@@ -23595,7 +23634,7 @@ function SEOEditorPreview({
|
|
|
23595
23634
|
const displayImage = hasOgImage || hasFeaturedImage;
|
|
23596
23635
|
const handleImageUpload = async (event) => {
|
|
23597
23636
|
if (!onOgImageUpload) return;
|
|
23598
|
-
const file = _optionalChain([event, 'access',
|
|
23637
|
+
const file = _optionalChain([event, 'access', _485 => _485.target, 'access', _486 => _486.files, 'optionalAccess', _487 => _487[0]]);
|
|
23599
23638
|
if (!file) return;
|
|
23600
23639
|
setIsUploading(true);
|
|
23601
23640
|
try {
|
|
@@ -23752,7 +23791,7 @@ function SEOEditorPreview({
|
|
|
23752
23791
|
type: "button",
|
|
23753
23792
|
variant: "outline",
|
|
23754
23793
|
size: "icon",
|
|
23755
|
-
onClick: () => _optionalChain([fileInputRef, 'optionalAccess',
|
|
23794
|
+
onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _488 => _488.click, 'call', _489 => _489()]),
|
|
23756
23795
|
disabled: disabled || isUploading,
|
|
23757
23796
|
className: "rounded-full bg-white text-black opacity-0 hover:bg-gray-100 group-hover:opacity-100",
|
|
23758
23797
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
|
|
@@ -23778,7 +23817,7 @@ function SEOEditorPreview({
|
|
|
23778
23817
|
SEO_MEDIA_BOX_HEIGHT,
|
|
23779
23818
|
"flex cursor-pointer flex-col items-center justify-center rounded-lg border-2 border-dashed border-ods-border bg-ods-bg-hover transition-colors hover:border-ods-accent"
|
|
23780
23819
|
),
|
|
23781
|
-
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess',
|
|
23820
|
+
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _490 => _490.click, 'call', _491 => _491()]),
|
|
23782
23821
|
children: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23783
23822
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "mb-2 h-8 w-8 text-ods-text-secondary" }),
|
|
23784
23823
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
|
|
@@ -23939,7 +23978,7 @@ function SocialLinksManager({
|
|
|
23939
23978
|
className = ""
|
|
23940
23979
|
}) {
|
|
23941
23980
|
const addLink = () => {
|
|
23942
|
-
const firstPlatform = _optionalChain([platforms, 'access',
|
|
23981
|
+
const firstPlatform = _optionalChain([platforms, 'access', _492 => _492[0], 'optionalAccess', _493 => _493.name]) || "website";
|
|
23943
23982
|
onChange([...links, { platform: firstPlatform, url: "" }]);
|
|
23944
23983
|
};
|
|
23945
23984
|
const removeLink = (index) => {
|
|
@@ -23951,7 +23990,7 @@ function SocialLinksManager({
|
|
|
23951
23990
|
onChange(updated);
|
|
23952
23991
|
};
|
|
23953
23992
|
const getIcon = (link, platform) => {
|
|
23954
|
-
const iconKey = _optionalChain([platform, 'optionalAccess',
|
|
23993
|
+
const iconKey = _optionalChain([platform, 'optionalAccess', _494 => _494.icon_name]) || link.platform;
|
|
23955
23994
|
const key = normalizeSocialPlatform(iconKey);
|
|
23956
23995
|
if (!key) return null;
|
|
23957
23996
|
const IconComponent = SOCIAL_ICON_COMPONENTS[key];
|
|
@@ -23975,7 +24014,7 @@ function SocialLinksManager({
|
|
|
23975
24014
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23976
24015
|
_chunkN6HNK25Acjs.Input,
|
|
23977
24016
|
{
|
|
23978
|
-
placeholder: _optionalChain([platform, 'optionalAccess',
|
|
24017
|
+
placeholder: _optionalChain([platform, 'optionalAccess', _495 => _495.placeholder]) || "Profile URL",
|
|
23979
24018
|
value: link.url,
|
|
23980
24019
|
onChange: (e) => updateLink(index, "url", e.target.value),
|
|
23981
24020
|
onKeyDown: (e) => {
|
|
@@ -24088,7 +24127,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
24088
24127
|
className: _chunk23V5BSHDcjs.cn.call(void 0, modeClassName, className),
|
|
24089
24128
|
style: customStyle,
|
|
24090
24129
|
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,
|
|
24130
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
24092
24131
|
children
|
|
24093
24132
|
}
|
|
24094
24133
|
);
|
|
@@ -24358,11 +24397,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
24358
24397
|
|
|
24359
24398
|
function VideoBitesDisplay({
|
|
24360
24399
|
bites,
|
|
24361
|
-
title =
|
|
24400
|
+
title = _chunkOQHFHKUGcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
24362
24401
|
filterPublished = true,
|
|
24363
24402
|
showTitle = true
|
|
24364
24403
|
}) {
|
|
24365
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24404
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24366
24405
|
}
|
|
24367
24406
|
|
|
24368
24407
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24371,8 +24410,8 @@ function VideoBitesDisplay({
|
|
|
24371
24410
|
|
|
24372
24411
|
var isAtEnd = (duration, time) => duration > 0 && duration - time < 1;
|
|
24373
24412
|
function theaterSeedFromLive(live, fallbackTime, fallbackMuted) {
|
|
24374
|
-
const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess',
|
|
24375
|
-
const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess',
|
|
24413
|
+
const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess', _496 => _496.getCurrentTime, 'call', _497 => _497()]), () => ( 0));
|
|
24414
|
+
const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess', _498 => _498.getDuration, 'call', _499 => _499()]), () => ( 0)), time);
|
|
24376
24415
|
return {
|
|
24377
24416
|
// At end -> start over, never rewind to an unrelated older anchor.
|
|
24378
24417
|
time: atEnd ? 0 : time > 0.5 ? time : fallbackTime,
|
|
@@ -24404,11 +24443,11 @@ function WalkthroughVideo({
|
|
|
24404
24443
|
const inline = placement === "inline";
|
|
24405
24444
|
const dismissEnabled = dismissal !== false;
|
|
24406
24445
|
const storageKey = dismissEnabled && dismissal.storageKey || WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24407
|
-
const dismissalId = _optionalChain([video, 'optionalAccess',
|
|
24446
|
+
const dismissalId = _optionalChain([video, 'optionalAccess', _500 => _500.id]) != null ? String(video.id) : "dismissed";
|
|
24408
24447
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24409
24448
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
24410
24449
|
const hasVideo = video != null;
|
|
24411
|
-
const videoId = _optionalChain([video, 'optionalAccess',
|
|
24450
|
+
const videoId = _optionalChain([video, 'optionalAccess', _501 => _501.id]);
|
|
24412
24451
|
_react.useEffect.call(void 0, () => {
|
|
24413
24452
|
let idleHandle = null;
|
|
24414
24453
|
if (!hasVideo) return void 0;
|
|
@@ -24431,13 +24470,13 @@ function WalkthroughVideo({
|
|
|
24431
24470
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24432
24471
|
};
|
|
24433
24472
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
24434
|
-
const hydrated =
|
|
24473
|
+
const hydrated = _chunkUNI3POHUcjs.useIsHydrated.call(void 0, );
|
|
24435
24474
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24436
24475
|
if (!hydrated) return false;
|
|
24437
24476
|
try {
|
|
24438
|
-
const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access',
|
|
24477
|
+
const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access', _502 => _502.matchMedia, 'optionalCall', _503 => _503("(prefers-reduced-motion: reduce)"), 'access', _504 => _504.matches]), () => ( false));
|
|
24439
24478
|
const conn = navigator.connection;
|
|
24440
|
-
const saveData = _optionalChain([conn, 'optionalAccess',
|
|
24479
|
+
const saveData = _optionalChain([conn, 'optionalAccess', _505 => _505.saveData]) === true || _optionalChain([conn, 'optionalAccess', _506 => _506.effectiveType]) === "2g" || _optionalChain([conn, 'optionalAccess', _507 => _507.effectiveType]) === "slow-2g";
|
|
24441
24480
|
return Boolean(reducedMotion || saveData);
|
|
24442
24481
|
} catch (e28) {
|
|
24443
24482
|
return false;
|
|
@@ -24470,18 +24509,18 @@ function WalkthroughVideo({
|
|
|
24470
24509
|
const [cardMuted, setCardMuted] = _react.useState.call(void 0, false);
|
|
24471
24510
|
const [cardPaused, setCardPaused] = _react.useState.call(void 0, false);
|
|
24472
24511
|
const [userMuted, setUserMuted] = _react.useState.call(void 0, false);
|
|
24473
|
-
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess',
|
|
24512
|
+
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess', _508 => _508.youtubeUrl]));
|
|
24474
24513
|
const resumeMode = !open && handoff !== null && !isYouTube;
|
|
24475
24514
|
const previewAllowed = !previewSuppressed && !isYouTube;
|
|
24476
24515
|
const footerFadeKey = `${mounted ? 1 : 0}|${inline ? 1 : 0}|${hideNearSelector}|${pathname}`;
|
|
24477
|
-
const footerHidden = _optionalChain([footerObservation, 'optionalAccess',
|
|
24516
|
+
const footerHidden = _optionalChain([footerObservation, 'optionalAccess', _509 => _509.key]) === footerFadeKey && footerObservation.hidden;
|
|
24478
24517
|
_react.useEffect.call(void 0, () => {
|
|
24479
24518
|
if (!mounted) return void 0;
|
|
24480
24519
|
if (inline) return void 0;
|
|
24481
24520
|
const el = typeof document !== "undefined" ? document.querySelector(hideNearSelector) : null;
|
|
24482
24521
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
24483
24522
|
const io = new IntersectionObserver(
|
|
24484
|
-
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access',
|
|
24523
|
+
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access', _510 => _510[0], 'optionalAccess', _511 => _511.isIntersecting]), () => ( false)) }),
|
|
24485
24524
|
{ rootMargin: "0px 0px -40px 0px" }
|
|
24486
24525
|
);
|
|
24487
24526
|
io.observe(el);
|
|
@@ -24507,7 +24546,7 @@ function WalkthroughVideo({
|
|
|
24507
24546
|
if (!footerHidden) return;
|
|
24508
24547
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24509
24548
|
try {
|
|
24510
|
-
_optionalChain([h, 'optionalAccess',
|
|
24549
|
+
_optionalChain([h, 'optionalAccess', _512 => _512.pause, 'call', _513 => _513()]);
|
|
24511
24550
|
} catch (e30) {
|
|
24512
24551
|
}
|
|
24513
24552
|
}, [footerHidden, resumeMode, hovered]);
|
|
@@ -24526,30 +24565,30 @@ function WalkthroughVideo({
|
|
|
24526
24565
|
}, 400);
|
|
24527
24566
|
}
|
|
24528
24567
|
if (openProp === void 0) setOpenState(next);
|
|
24529
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
24568
|
+
_optionalChain([onOpenChange, 'optionalCall', _514 => _514(next)]);
|
|
24530
24569
|
},
|
|
24531
24570
|
[openProp, onOpenChange]
|
|
24532
24571
|
);
|
|
24533
24572
|
const pausePreviewNow = _react.useCallback.call(void 0, () => {
|
|
24534
24573
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24535
24574
|
try {
|
|
24536
|
-
_optionalChain([h, 'optionalAccess',
|
|
24575
|
+
_optionalChain([h, 'optionalAccess', _515 => _515.pause, 'call', _516 => _516()]);
|
|
24537
24576
|
} catch (e31) {
|
|
24538
24577
|
}
|
|
24539
24578
|
setCardPaused(true);
|
|
24540
24579
|
}, [setCardPaused]);
|
|
24541
24580
|
const openTheater = _react.useCallback.call(void 0, () => {
|
|
24542
24581
|
const handleBeforePause = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24543
|
-
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess',
|
|
24582
|
+
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess', _517 => _517.getPaused, 'call', _518 => _518()]) === false;
|
|
24544
24583
|
pausePreviewNow();
|
|
24545
24584
|
const liveHandle = _nullishCoalesce(resumeHandleRef.current, () => ( (cardModeRef.current === "preview" ? previewHandleRef.current : null)));
|
|
24546
|
-
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
24547
|
-
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
24585
|
+
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _519 => _519.getCurrentTime, 'call', _520 => _520()]), () => ( 0));
|
|
24586
|
+
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _521 => _521.getDuration, 'call', _522 => _522()]), () => ( 0));
|
|
24548
24587
|
const liveAtEnd = isAtEnd(liveDuration, liveTime);
|
|
24549
24588
|
const start = {
|
|
24550
24589
|
// At end -> start over. Falling back to `handoff.time` here would rewind
|
|
24551
24590
|
// to an unrelated older anchor (e.g. 3:20) instead of restarting.
|
|
24552
|
-
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
24591
|
+
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _523 => _523.time]), () => ( 0)),
|
|
24553
24592
|
// Live element wins over remembered intent (the theater's own chrome may
|
|
24554
24593
|
// have changed it) — EXCEPT when the element is muted only because
|
|
24555
24594
|
// autoplay policy forced it, which is not intent.
|
|
@@ -24577,7 +24616,7 @@ function WalkthroughVideo({
|
|
|
24577
24616
|
const selfDriven = selfDrivenFor === open;
|
|
24578
24617
|
if (openProp !== void 0 && !selfDriven) {
|
|
24579
24618
|
if (open) {
|
|
24580
|
-
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
24619
|
+
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _524 => _524.time]), () => ( 0)), userMuted));
|
|
24581
24620
|
setHovered(false);
|
|
24582
24621
|
setSuspended(false);
|
|
24583
24622
|
setHandoff(null);
|
|
@@ -24663,8 +24702,8 @@ function WalkthroughVideo({
|
|
|
24663
24702
|
});
|
|
24664
24703
|
_react.useEffect.call(void 0, () => {
|
|
24665
24704
|
if (resumeMode) {
|
|
24666
|
-
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access',
|
|
24667
|
-
setCardPaused(_optionalChain([handoffRef, 'access',
|
|
24705
|
+
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access', _525 => _525.current, 'optionalAccess', _526 => _526.muted]), () => ( false)));
|
|
24706
|
+
setCardPaused(_optionalChain([handoffRef, 'access', _527 => _527.current, 'optionalAccess', _528 => _528.playing]) === false);
|
|
24668
24707
|
}
|
|
24669
24708
|
}, [resumeMode]);
|
|
24670
24709
|
const [hoverSeeded, setHoverSeeded] = _react.useState.call(void 0, hovered);
|
|
@@ -24746,11 +24785,11 @@ function WalkthroughVideo({
|
|
|
24746
24785
|
},
|
|
24747
24786
|
[cardFallback.blocked, cardPaused, activeHandle, setCardPaused]
|
|
24748
24787
|
);
|
|
24749
|
-
const summaryTitle = _optionalChain([video, 'optionalAccess',
|
|
24750
|
-
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
24788
|
+
const summaryTitle = _optionalChain([video, 'optionalAccess', _529 => _529.title]) || void 0;
|
|
24789
|
+
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess', _530 => _530.presenterAvatarUrl]), () => ( null));
|
|
24751
24790
|
const embedUrlKey = _react.useMemo.call(void 0,
|
|
24752
|
-
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
24753
|
-
[_optionalChain([video, 'optionalAccess',
|
|
24791
|
+
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _531 => _531.mainVideoUrl]), () => ( ""))}|${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _532 => _532.youtubeUrl]), () => ( ""))}`,
|
|
24792
|
+
[_optionalChain([video, 'optionalAccess', _533 => _533.mainVideoUrl]), _optionalChain([video, 'optionalAccess', _534 => _534.youtubeUrl])]
|
|
24754
24793
|
);
|
|
24755
24794
|
const cardActive = !open && previewAllowed && hovered && !resumeMode;
|
|
24756
24795
|
const cardMode = resumeMode ? "resume" : cardActive ? "preview" : "poster";
|
|
@@ -24809,7 +24848,7 @@ function WalkthroughVideo({
|
|
|
24809
24848
|
const el = e.target;
|
|
24810
24849
|
let keyboard = false;
|
|
24811
24850
|
try {
|
|
24812
|
-
keyboard = _nullishCoalesce(_optionalChain([el, 'access',
|
|
24851
|
+
keyboard = _nullishCoalesce(_optionalChain([el, 'access', _535 => _535.matches, 'optionalCall', _536 => _536(":focus-visible")]), () => ( false));
|
|
24813
24852
|
} catch (e36) {
|
|
24814
24853
|
keyboard = false;
|
|
24815
24854
|
}
|
|
@@ -24828,7 +24867,7 @@ function WalkthroughVideo({
|
|
|
24828
24867
|
},
|
|
24829
24868
|
children: [
|
|
24830
24869
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24831
|
-
|
|
24870
|
+
_chunkUNI3POHUcjs.VideoHoverPreviewSurface,
|
|
24832
24871
|
{
|
|
24833
24872
|
url: video.mainVideoUrl || "",
|
|
24834
24873
|
posterUrl: video.posterUrl,
|
|
@@ -24843,15 +24882,15 @@ function WalkthroughVideo({
|
|
|
24843
24882
|
previewHandleRef: cardMode === "resume" ? resumeHandleRef : previewHandleRef,
|
|
24844
24883
|
mutedIntent: userMuted,
|
|
24845
24884
|
continuation: cardMode === "resume",
|
|
24846
|
-
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess',
|
|
24847
|
-
startTime: _optionalChain([resumeHandoff, 'optionalAccess',
|
|
24848
|
-
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess',
|
|
24885
|
+
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess', _537 => _537.playing]) !== false && !footerHidden,
|
|
24886
|
+
startTime: _optionalChain([resumeHandoff, 'optionalAccess', _538 => _538.time]),
|
|
24887
|
+
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess', _539 => _539.muted]), () => ( false)),
|
|
24849
24888
|
onEnded: cardMode === "resume" ? () => setHandoff(null) : () => setCardPaused(true)
|
|
24850
24889
|
},
|
|
24851
24890
|
`card-${embedUrlKey}`
|
|
24852
24891
|
) }),
|
|
24853
24892
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24854
|
-
|
|
24893
|
+
_chunkUNI3POHUcjs.CardHitLayer,
|
|
24855
24894
|
{
|
|
24856
24895
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24857
24896
|
onPointerDown: pausePreviewNow,
|
|
@@ -24860,7 +24899,7 @@ function WalkthroughVideo({
|
|
|
24860
24899
|
}
|
|
24861
24900
|
),
|
|
24862
24901
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "pointer-events-none absolute bottom-[var(--spacing-system-xsf)] left-[var(--spacing-system-xsf)] z-20 flex max-w-[calc(100%-2*var(--spacing-system-xsf))] items-center gap-[var(--spacing-system-xsf)] rounded-full bg-ods-overlay py-[var(--spacing-system-xxs)] pl-[var(--spacing-system-xxs)] pr-[var(--spacing-system-sf)] text-ods-text-primary text-h6", children: [
|
|
24863
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24902
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
24864
24903
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
24865
24904
|
] }),
|
|
24866
24905
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24873,7 +24912,7 @@ function WalkthroughVideo({
|
|
|
24873
24912
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24874
24913
|
onClick: onUnmuteOrPlay,
|
|
24875
24914
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
24876
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24915
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.VideoUnmuteGlyph, {})
|
|
24877
24916
|
}
|
|
24878
24917
|
),
|
|
24879
24918
|
showPlaybackControls && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute left-[var(--spacing-system-xsf)] top-[var(--spacing-system-xsf)] z-30 flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -24942,7 +24981,7 @@ function WalkthroughVideo({
|
|
|
24942
24981
|
{
|
|
24943
24982
|
onOpenAutoFocus: (e) => {
|
|
24944
24983
|
e.preventDefault();
|
|
24945
|
-
_optionalChain([closeButtonRef, 'access',
|
|
24984
|
+
_optionalChain([closeButtonRef, 'access', _540 => _540.current, 'optionalAccess', _541 => _541.focus, 'call', _542 => _542()]);
|
|
24946
24985
|
},
|
|
24947
24986
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
24948
24987
|
// PURE theater: just the video, centered on a dimmed backdrop.
|
|
@@ -24966,7 +25005,7 @@ function WalkthroughVideo({
|
|
|
24966
25005
|
children: [
|
|
24967
25006
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
24968
25007
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24969
|
-
|
|
25008
|
+
_chunkUNI3POHUcjs.Video,
|
|
24970
25009
|
{
|
|
24971
25010
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
24972
25011
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -25017,7 +25056,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
25017
25056
|
var _reactquery = require('@tanstack/react-query');
|
|
25018
25057
|
function useWalkthroughVideo(opts) {
|
|
25019
25058
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
25020
|
-
const captions =
|
|
25059
|
+
const captions = _chunkUNI3POHUcjs.useCaptions.call(void 0, );
|
|
25021
25060
|
const query = _reactquery.useQuery.call(void 0, {
|
|
25022
25061
|
queryKey: ["walkthrough-video", endpoint],
|
|
25023
25062
|
enabled,
|
|
@@ -25036,14 +25075,14 @@ function useWalkthroughVideo(opts) {
|
|
|
25036
25075
|
if (res.status === 404) return null;
|
|
25037
25076
|
if (!res.ok) throw new Error(`Walkthrough video request failed (${res.status})`);
|
|
25038
25077
|
const body = await res.json();
|
|
25039
|
-
return _nullishCoalesce(_optionalChain([body, 'optionalAccess',
|
|
25078
|
+
return _nullishCoalesce(_optionalChain([body, 'optionalAccess', _543 => _543.walkthroughVideo]), () => ( null));
|
|
25040
25079
|
},
|
|
25041
25080
|
// Per-observer transform — NEVER mutate the cached data. `select` also runs
|
|
25042
25081
|
// over `initialData`, so the SSR seed is rewritten too. Keeping the proxy
|
|
25043
25082
|
// rewrite here (not in queryFn) means a second consumer of the same
|
|
25044
25083
|
// endpoint can't inherit this observer's proxied captionsUrl from the cache.
|
|
25045
25084
|
select: (video) => {
|
|
25046
|
-
if (!_optionalChain([video, 'optionalAccess',
|
|
25085
|
+
if (!_optionalChain([video, 'optionalAccess', _544 => _544.captionsUrl])) return video;
|
|
25047
25086
|
if (transformCaptionsUrl && video.captionsUrl.startsWith("/")) {
|
|
25048
25087
|
return { ...video, captionsUrl: transformCaptionsUrl(video.captionsUrl) };
|
|
25049
25088
|
}
|
|
@@ -25090,7 +25129,7 @@ function VideoSourceSelector({
|
|
|
25090
25129
|
input.accept = "video/*";
|
|
25091
25130
|
input.onchange = async (e) => {
|
|
25092
25131
|
const target = e.target;
|
|
25093
|
-
const file = _optionalChain([target, 'access',
|
|
25132
|
+
const file = _optionalChain([target, 'access', _545 => _545.files, 'optionalAccess', _546 => _546[0]]);
|
|
25094
25133
|
if (!file) return;
|
|
25095
25134
|
setIsUploading(true);
|
|
25096
25135
|
setUploadProgress(0);
|
|
@@ -25215,7 +25254,7 @@ function VideoSourceSelector({
|
|
|
25215
25254
|
}
|
|
25216
25255
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
25217
25256
|
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,
|
|
25257
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
25219
25258
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25220
25259
|
"button",
|
|
25221
25260
|
{
|
|
@@ -25266,7 +25305,7 @@ function SubtitlesEditor({
|
|
|
25266
25305
|
{
|
|
25267
25306
|
id,
|
|
25268
25307
|
value: subtitles || "",
|
|
25269
|
-
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall',
|
|
25308
|
+
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _547 => _547(e.target.value)]),
|
|
25270
25309
|
placeholder,
|
|
25271
25310
|
disabled: disabled || !onSubtitlesChange,
|
|
25272
25311
|
className: "h-full w-full resize-none border-0 bg-transparent p-4 text-ods-text-primary text-code placeholder:text-ods-text-secondary/50 focus:outline-none focus:ring-0",
|
|
@@ -25495,7 +25534,7 @@ var AIEnrichSection = ({
|
|
|
25495
25534
|
}) => {
|
|
25496
25535
|
const hasResults = status === "success" || status === "error";
|
|
25497
25536
|
const shouldDisable = disabled || !canEnrich;
|
|
25498
|
-
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess',
|
|
25537
|
+
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _548 => _548.filter, 'call', _549 => _549((f) => !f.isFilled)]) || [];
|
|
25499
25538
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25500
25539
|
"div",
|
|
25501
25540
|
{
|
|
@@ -25527,7 +25566,7 @@ var AIEnrichSection = ({
|
|
|
25527
25566
|
{
|
|
25528
25567
|
id: "ai-enrich-custom-instructions",
|
|
25529
25568
|
value: _nullishCoalesce(customInstructions, () => ( "")),
|
|
25530
|
-
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall',
|
|
25569
|
+
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _550 => _550(e.target.value)]),
|
|
25531
25570
|
placeholder: customInstructionsPlaceholder,
|
|
25532
25571
|
disabled: loading,
|
|
25533
25572
|
maxLength: customInstructionsMaxLength,
|
|
@@ -25649,7 +25688,7 @@ function HighlightVideoSection({
|
|
|
25649
25688
|
input.accept = "video/*";
|
|
25650
25689
|
input.onchange = async (e) => {
|
|
25651
25690
|
const target = e.target;
|
|
25652
|
-
const file = _optionalChain([target, 'access',
|
|
25691
|
+
const file = _optionalChain([target, 'access', _551 => _551.files, 'optionalAccess', _552 => _552[0]]);
|
|
25653
25692
|
if (!file) return;
|
|
25654
25693
|
setUploadError(null);
|
|
25655
25694
|
try {
|
|
@@ -25739,7 +25778,7 @@ function HighlightVideoSection({
|
|
|
25739
25778
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25740
25779
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25741
25780
|
/* @__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,
|
|
25781
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25743
25782
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25744
25783
|
"button",
|
|
25745
25784
|
{
|
|
@@ -26076,7 +26115,7 @@ function HighlightVideoPreview({
|
|
|
26076
26115
|
input.accept = "video/*";
|
|
26077
26116
|
input.onchange = async (e) => {
|
|
26078
26117
|
const target = e.target;
|
|
26079
|
-
const file = _optionalChain([target, 'access',
|
|
26118
|
+
const file = _optionalChain([target, 'access', _553 => _553.files, 'optionalAccess', _554 => _554[0]]);
|
|
26080
26119
|
if (!file) return;
|
|
26081
26120
|
await onUpload(file);
|
|
26082
26121
|
};
|
|
@@ -26260,7 +26299,7 @@ function HighlightVideoCombinedSection({
|
|
|
26260
26299
|
input.accept = "video/*";
|
|
26261
26300
|
input.onchange = async (e) => {
|
|
26262
26301
|
const target = e.target;
|
|
26263
|
-
const file = _optionalChain([target, 'access',
|
|
26302
|
+
const file = _optionalChain([target, 'access', _555 => _555.files, 'optionalAccess', _556 => _556[0]]);
|
|
26264
26303
|
if (!file) return;
|
|
26265
26304
|
await onUpload(file);
|
|
26266
26305
|
};
|
|
@@ -26449,7 +26488,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26449
26488
|
if (level) onPermissionChange(categoryId, policy.id, level);
|
|
26450
26489
|
};
|
|
26451
26490
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0 md:items-center", children: [
|
|
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,
|
|
26491
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXWGSDK4cjs.ToolIcon, { toolType: policy.toolName, size: 16 }) }),
|
|
26453
26492
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
26454
26493
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h4", title: policy.name, children: policy.name }),
|
|
26455
26494
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "break-all text-ods-text-secondary text-h6", children: policy.commandPattern }),
|
|
@@ -26475,7 +26514,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26475
26514
|
] });
|
|
26476
26515
|
};
|
|
26477
26516
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
26478
|
-
const { innerRef, containerStyle } =
|
|
26517
|
+
const { innerRef, containerStyle } = _chunkUNI3POHUcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
26479
26518
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
26480
26519
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26481
26520
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26640,10 +26679,10 @@ function WaitlistForm({
|
|
|
26640
26679
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26641
26680
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
26642
26681
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
26643
|
-
const { toast } =
|
|
26644
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
26682
|
+
const { toast } = _chunkJJUV7Z4Lcjs.useToast.call(void 0, );
|
|
26683
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkJJUV7Z4Lcjs.useHumanitySignals.call(void 0, );
|
|
26645
26684
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26646
|
-
const isClient =
|
|
26685
|
+
const isClient = _chunkUNI3POHUcjs.useIsHydrated.call(void 0, );
|
|
26647
26686
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26648
26687
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26649
26688
|
const isMailDomainGeneric = hasGenericEmailDomain(email);
|
|
@@ -26939,19 +26978,19 @@ function NotificationsProvider({
|
|
|
26939
26978
|
}, []);
|
|
26940
26979
|
const markRead = _react.useCallback.call(void 0, (id) => {
|
|
26941
26980
|
dispatch({ type: "markRead", id });
|
|
26942
|
-
void _optionalChain([actionsRef, 'access',
|
|
26981
|
+
void _optionalChain([actionsRef, 'access', _557 => _557.current, 'optionalAccess', _558 => _558.onMarkRead, 'optionalCall', _559 => _559(id)]);
|
|
26943
26982
|
}, []);
|
|
26944
26983
|
const markAllRead = _react.useCallback.call(void 0, () => {
|
|
26945
26984
|
dispatch({ type: "markAllRead" });
|
|
26946
|
-
void _optionalChain([actionsRef, 'access',
|
|
26985
|
+
void _optionalChain([actionsRef, 'access', _560 => _560.current, 'optionalAccess', _561 => _561.onMarkAllRead, 'optionalCall', _562 => _562()]);
|
|
26947
26986
|
}, []);
|
|
26948
26987
|
const markSettled = _react.useCallback.call(void 0, (id) => {
|
|
26949
26988
|
dispatch({ type: "markSettled", id });
|
|
26950
|
-
void _optionalChain([actionsRef, 'access',
|
|
26989
|
+
void _optionalChain([actionsRef, 'access', _563 => _563.current, 'optionalAccess', _564 => _564.onMarkSettled, 'optionalCall', _565 => _565(id)]);
|
|
26951
26990
|
}, []);
|
|
26952
26991
|
const remove = _react.useCallback.call(void 0, (id) => {
|
|
26953
26992
|
dispatch({ type: "remove", id });
|
|
26954
|
-
void _optionalChain([actionsRef, 'access',
|
|
26993
|
+
void _optionalChain([actionsRef, 'access', _566 => _566.current, 'optionalAccess', _567 => _567.onRemove, 'optionalCall', _568 => _568(id)]);
|
|
26955
26994
|
}, []);
|
|
26956
26995
|
const clear = _react.useCallback.call(void 0, () => dispatch({ type: "clear" }), []);
|
|
26957
26996
|
const open = _react.useCallback.call(void 0, () => setIsOpen(true), []);
|
|
@@ -26960,14 +26999,14 @@ function NotificationsProvider({
|
|
|
26960
26999
|
const setShowPopups = _react.useCallback.call(void 0,
|
|
26961
27000
|
(value2) => {
|
|
26962
27001
|
setShowPopupsState(value2);
|
|
26963
|
-
_optionalChain([onShowPopupsChange, 'optionalCall',
|
|
27002
|
+
_optionalChain([onShowPopupsChange, 'optionalCall', _569 => _569(value2)]);
|
|
26964
27003
|
},
|
|
26965
27004
|
[onShowPopupsChange]
|
|
26966
27005
|
);
|
|
26967
27006
|
const setShowDesktopPopups = _react.useCallback.call(void 0,
|
|
26968
27007
|
(value2) => {
|
|
26969
27008
|
setShowDesktopPopupsState(value2);
|
|
26970
|
-
_optionalChain([onShowDesktopPopupsChange, 'optionalCall',
|
|
27009
|
+
_optionalChain([onShowDesktopPopupsChange, 'optionalCall', _570 => _570(value2)]);
|
|
26971
27010
|
},
|
|
26972
27011
|
[onShowDesktopPopupsChange]
|
|
26973
27012
|
);
|
|
@@ -27083,7 +27122,7 @@ var AppLayoutDrawerRoot = ({
|
|
|
27083
27122
|
const handleOpenChange = _react.useCallback.call(void 0,
|
|
27084
27123
|
(next) => {
|
|
27085
27124
|
if (!isControlled) setInternalOpen(next);
|
|
27086
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
27125
|
+
_optionalChain([onOpenChange, 'optionalCall', _571 => _571(next)]);
|
|
27087
27126
|
},
|
|
27088
27127
|
[isControlled, onOpenChange]
|
|
27089
27128
|
);
|
|
@@ -27100,9 +27139,9 @@ var AppLayoutDrawerRoot = ({
|
|
|
27100
27139
|
}
|
|
27101
27140
|
}));
|
|
27102
27141
|
_react.useEffect.call(void 0, () => {
|
|
27103
|
-
if (open) _optionalChain([coordination, 'optionalAccess',
|
|
27142
|
+
if (open) _optionalChain([coordination, 'optionalAccess', _572 => _572.notifyDrawerDidOpen, 'call', _573 => _573(selfHandle)]);
|
|
27104
27143
|
}, [open, coordination, selfHandle]);
|
|
27105
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
27144
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _574 => _574.registerDrawer, 'call', _575 => _575(selfHandle)]), [coordination, selfHandle]);
|
|
27106
27145
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DrawerOpenContext.Provider, { value: open, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive3.Root, { ...rest, open, onOpenChange: handleOpenChange, modal, children }) });
|
|
27107
27146
|
};
|
|
27108
27147
|
AppLayoutDrawerRoot.displayName = "AppLayoutDrawer";
|
|
@@ -27191,7 +27230,7 @@ function useContainedResizableSize({
|
|
|
27191
27230
|
const clampToContainer = _react.useCallback.call(void 0,
|
|
27192
27231
|
(value) => {
|
|
27193
27232
|
const effectiveMax = available > 0 ? Math.min(maxSize, available - 40) : maxSize;
|
|
27194
|
-
return
|
|
27233
|
+
return _chunkYXWGSDK4cjs.clamp.call(void 0, value, minSize, Math.max(minSize, effectiveMax));
|
|
27195
27234
|
},
|
|
27196
27235
|
[available, minSize, maxSize]
|
|
27197
27236
|
);
|
|
@@ -27423,7 +27462,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27423
27462
|
"data-state": open ? "open" : "closed",
|
|
27424
27463
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
27425
27464
|
"absolute inset-0 z-[102] outline-none data-[state=closed]:pointer-events-none data-[state=open]:pointer-events-auto data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
27426
|
-
|
|
27465
|
+
_chunkUNI3POHUcjs.OVERLAY_BACKDROP_CLASS,
|
|
27427
27466
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
27428
27467
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
27429
27468
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -27451,10 +27490,10 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27451
27490
|
),
|
|
27452
27491
|
style,
|
|
27453
27492
|
onInteractOutside: (event) => {
|
|
27454
|
-
_optionalChain([onInteractOutside, 'optionalCall',
|
|
27493
|
+
_optionalChain([onInteractOutside, 'optionalCall', _576 => _576(event)]);
|
|
27455
27494
|
if (event.defaultPrevented) return;
|
|
27456
27495
|
const target = event.target;
|
|
27457
|
-
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess',
|
|
27496
|
+
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _577 => _577.contains, 'call', _578 => _578(target)]);
|
|
27458
27497
|
if (!isInsideContainer) {
|
|
27459
27498
|
event.preventDefault();
|
|
27460
27499
|
return;
|
|
@@ -27499,11 +27538,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27499
27538
|
}
|
|
27500
27539
|
);
|
|
27501
27540
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
27502
|
-
var AppLayoutDrawerHeader =
|
|
27503
|
-
var AppLayoutDrawerTitle =
|
|
27504
|
-
var AppLayoutDrawerDescription =
|
|
27505
|
-
var AppLayoutDrawerBody =
|
|
27506
|
-
var AppLayoutDrawerFooter =
|
|
27541
|
+
var AppLayoutDrawerHeader = _chunkUNI3POHUcjs.DrawerHeader;
|
|
27542
|
+
var AppLayoutDrawerTitle = _chunkUNI3POHUcjs.DrawerTitle;
|
|
27543
|
+
var AppLayoutDrawerDescription = _chunkUNI3POHUcjs.DrawerDescription;
|
|
27544
|
+
var AppLayoutDrawerBody = _chunkUNI3POHUcjs.DrawerBody;
|
|
27545
|
+
var AppLayoutDrawerFooter = _chunkUNI3POHUcjs.DrawerFooter;
|
|
27507
27546
|
|
|
27508
27547
|
// src/components/features/notifications/notification-tile.tsx
|
|
27509
27548
|
|
|
@@ -27557,7 +27596,7 @@ function NotificationTile({
|
|
|
27557
27596
|
if (!counting) return void 0;
|
|
27558
27597
|
const remaining = Math.max(0, liveDurationMs - initialElapsed);
|
|
27559
27598
|
const timer = window.setTimeout(() => {
|
|
27560
|
-
_optionalChain([onSettle, 'optionalCall',
|
|
27599
|
+
_optionalChain([onSettle, 'optionalCall', _579 => _579(id)]);
|
|
27561
27600
|
}, remaining);
|
|
27562
27601
|
return () => window.clearTimeout(timer);
|
|
27563
27602
|
}, [id, counting, initialElapsed, liveDurationMs, onSettle]);
|
|
@@ -27589,15 +27628,15 @@ function NotificationTile({
|
|
|
27589
27628
|
height: 16,
|
|
27590
27629
|
unoptimized: true
|
|
27591
27630
|
}
|
|
27592
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
27631
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkJJUV7Z4Lcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27593
27632
|
type ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "min-w-0 flex-1 truncate text-h5", typeColorByVariant[accentVariant]), title: type, children: type }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1" }),
|
|
27594
|
-
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
27633
|
+
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkUNI3POHUcjs.formatTicketRelativeTime.call(void 0, createdAtIso) }) : null,
|
|
27595
27634
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
27596
27635
|
{
|
|
27597
27636
|
active: isLive,
|
|
27598
27637
|
label: "Dismiss notification",
|
|
27599
27638
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.XmarkIcon, { size: 16 }),
|
|
27600
|
-
onClick: () => _optionalChain([onSettle, 'optionalCall',
|
|
27639
|
+
onClick: () => _optionalChain([onSettle, 'optionalCall', _580 => _580(id)])
|
|
27601
27640
|
},
|
|
27602
27641
|
{
|
|
27603
27642
|
active: !isLive,
|
|
@@ -27636,7 +27675,7 @@ function NotificationTile({
|
|
|
27636
27675
|
"div",
|
|
27637
27676
|
{
|
|
27638
27677
|
"aria-hidden": true,
|
|
27639
|
-
className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left",
|
|
27678
|
+
className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left", _chunkJJUV7Z4Lcjs.progressColorByVariant[accentVariant]),
|
|
27640
27679
|
style: {
|
|
27641
27680
|
animation: `toast-progress ${liveDurationMs}ms linear forwards`,
|
|
27642
27681
|
animationDelay: `-${initialElapsed}ms`
|
|
@@ -27688,7 +27727,7 @@ function NotificationDrawer({
|
|
|
27688
27727
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27689
27728
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27690
27729
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-m)] pt-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27691
|
-
|
|
27730
|
+
_chunkUNI3POHUcjs.DrawerTitle,
|
|
27692
27731
|
{
|
|
27693
27732
|
hideClose: true,
|
|
27694
27733
|
className: "truncate",
|
|
@@ -27747,8 +27786,8 @@ function NotificationDrawer({
|
|
|
27747
27786
|
}
|
|
27748
27787
|
) });
|
|
27749
27788
|
}
|
|
27750
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27751
|
-
|
|
27789
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27790
|
+
_chunkUNI3POHUcjs.DrawerContent,
|
|
27752
27791
|
{
|
|
27753
27792
|
side: "right",
|
|
27754
27793
|
"aria-describedby": void 0,
|
|
@@ -27785,7 +27824,7 @@ function DrawerScrollList({
|
|
|
27785
27824
|
if (!sentinel || !root) return void 0;
|
|
27786
27825
|
const observer = new IntersectionObserver(
|
|
27787
27826
|
(entries) => {
|
|
27788
|
-
if (_optionalChain([entries, 'access',
|
|
27827
|
+
if (_optionalChain([entries, 'access', _581 => _581[0], 'optionalAccess', _582 => _582.isIntersecting])) _optionalChain([loadMoreRef, 'access', _583 => _583.current, 'optionalCall', _584 => _584()]);
|
|
27789
27828
|
},
|
|
27790
27829
|
{ root, rootMargin: loadMoreRootMargin }
|
|
27791
27830
|
);
|
|
@@ -27800,7 +27839,7 @@ function DrawerScrollList({
|
|
|
27800
27839
|
className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
|
|
27801
27840
|
children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27802
27841
|
unreadNotifications.map((n) => {
|
|
27803
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
27842
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _585 => _585(n, { onComplete, onSettle, liveDurationMs })]);
|
|
27804
27843
|
if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
|
|
27805
27844
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27806
27845
|
NotificationTile,
|
|
@@ -27853,7 +27892,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
27853
27892
|
] });
|
|
27854
27893
|
}
|
|
27855
27894
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
27856
|
-
const { supported, permission, request } =
|
|
27895
|
+
const { supported, permission, request } = _chunkJJUV7Z4Lcjs.useNotificationPermission.call(void 0, );
|
|
27857
27896
|
if (!supported) return null;
|
|
27858
27897
|
const blocked = permission === "denied";
|
|
27859
27898
|
const handleChange = async (value) => {
|
|
@@ -27920,7 +27959,7 @@ function NotificationPopups({
|
|
|
27920
27959
|
}) {
|
|
27921
27960
|
const ctx = useOptionalNotifications();
|
|
27922
27961
|
const [now, setNow] = _react.useState.call(void 0, () => Date.now());
|
|
27923
|
-
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess',
|
|
27962
|
+
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess', _586 => _586.notifications, 'access', _587 => _587.some, 'call', _588 => _588((n) => !n.read && !n.settled)]));
|
|
27924
27963
|
_react.useEffect.call(void 0, () => {
|
|
27925
27964
|
if (!hasAgeingNotifications) return void 0;
|
|
27926
27965
|
const id = setInterval(() => setNow(Date.now()), 500);
|
|
@@ -27963,7 +28002,7 @@ function NotificationPopups({
|
|
|
27963
28002
|
className
|
|
27964
28003
|
),
|
|
27965
28004
|
children: live.map((n) => {
|
|
27966
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
28005
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _589 => _589(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
|
|
27967
28006
|
if (custom) {
|
|
27968
28007
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
|
|
27969
28008
|
}
|
|
@@ -28002,34 +28041,34 @@ function NotificationPopups({
|
|
|
28002
28041
|
// src/components/features/notifications/types.ts
|
|
28003
28042
|
var ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = "ADMIN_APPROVAL_REQUEST";
|
|
28004
28043
|
function isApprovalNotification(notification) {
|
|
28005
|
-
return _optionalChain([notification, 'access',
|
|
28044
|
+
return _optionalChain([notification, 'access', _590 => _590.meta, 'optionalAccess', _591 => _591.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
|
|
28006
28045
|
}
|
|
28007
28046
|
function getApprovalMeta(notification) {
|
|
28008
28047
|
if (!isApprovalNotification(notification)) return null;
|
|
28009
28048
|
const meta = notification.meta;
|
|
28010
|
-
const approvalRequestId = _optionalChain([meta, 'optionalAccess',
|
|
28011
|
-
const toolCalls = _optionalChain([meta, 'optionalAccess',
|
|
28049
|
+
const approvalRequestId = _optionalChain([meta, 'optionalAccess', _592 => _592.approvalRequestId]);
|
|
28050
|
+
const toolCalls = _optionalChain([meta, 'optionalAccess', _593 => _593.toolCalls]);
|
|
28012
28051
|
if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
|
|
28013
28052
|
return {
|
|
28014
28053
|
approvalRequestId,
|
|
28015
|
-
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28016
|
-
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28017
|
-
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28018
|
-
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28019
|
-
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28054
|
+
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _594 => _594.dialogId]), () => ( null)),
|
|
28055
|
+
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _595 => _595.ticketId]), () => ( null)),
|
|
28056
|
+
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _596 => _596.approvalType]), () => ( null)),
|
|
28057
|
+
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _597 => _597.resolution]), () => ( null)),
|
|
28058
|
+
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _598 => _598.resolvedByName]), () => ( null)),
|
|
28020
28059
|
toolCalls
|
|
28021
28060
|
};
|
|
28022
28061
|
}
|
|
28023
28062
|
function resolutionToStatus(resolution) {
|
|
28024
28063
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
28025
28064
|
case "APPROVED":
|
|
28026
|
-
return
|
|
28065
|
+
return _chunkUNI3POHUcjs.APPROVAL_STATUS.APPROVED;
|
|
28027
28066
|
case "REJECTED":
|
|
28028
|
-
return
|
|
28067
|
+
return _chunkUNI3POHUcjs.APPROVAL_STATUS.REJECTED;
|
|
28029
28068
|
case "CANCELLED":
|
|
28030
|
-
return
|
|
28069
|
+
return _chunkUNI3POHUcjs.APPROVAL_STATUS.CANCELLED;
|
|
28031
28070
|
default:
|
|
28032
|
-
return
|
|
28071
|
+
return _chunkUNI3POHUcjs.APPROVAL_STATUS.PENDING;
|
|
28033
28072
|
}
|
|
28034
28073
|
}
|
|
28035
28074
|
function approvalMetaToBatchData(approval) {
|
|
@@ -28066,10 +28105,10 @@ function ApprovalRequestNotificationTile({
|
|
|
28066
28105
|
const [processing, setProcessing] = _react.useState.call(void 0, false);
|
|
28067
28106
|
const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
|
|
28068
28107
|
const approval = getApprovalMeta(notification);
|
|
28069
|
-
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess',
|
|
28108
|
+
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _599 => _599.resolution]));
|
|
28070
28109
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28071
28110
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28072
|
-
const { innerRef, containerStyle } =
|
|
28111
|
+
const { innerRef, containerStyle } = _chunkUNI3POHUcjs.useCollapsible.call(void 0, { expanded });
|
|
28073
28112
|
if (!approval || !batchData) return null;
|
|
28074
28113
|
const tileNotification = {
|
|
28075
28114
|
...notification,
|
|
@@ -28122,7 +28161,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28122
28161
|
}
|
|
28123
28162
|
)
|
|
28124
28163
|
] }) : /* @__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,
|
|
28164
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ApprovalStatusTag, { status }),
|
|
28126
28165
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
28127
28166
|
"by ",
|
|
28128
28167
|
approval.resolvedByName
|
|
@@ -28140,12 +28179,12 @@ function ApprovalRequestNotificationTile({
|
|
|
28140
28179
|
"aria-expanded": expanded,
|
|
28141
28180
|
"aria-label": toggleLabel,
|
|
28142
28181
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
28143
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28182
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.ExpandChevron, { expanded })
|
|
28144
28183
|
}
|
|
28145
28184
|
)
|
|
28146
28185
|
] }),
|
|
28147
28186
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-t border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28148
|
-
|
|
28187
|
+
_chunkUNI3POHUcjs.ApprovalBatchMessage,
|
|
28149
28188
|
{
|
|
28150
28189
|
data: batchData,
|
|
28151
28190
|
showExecutionStatus: false,
|
|
@@ -28218,7 +28257,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
28218
28257
|
const { label, imageUrl } = option;
|
|
28219
28258
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
28220
28259
|
/* @__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,
|
|
28260
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
28222
28261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
28223
28262
|
] }),
|
|
28224
28263
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -28302,7 +28341,7 @@ function TimeTrackerPanel({
|
|
|
28302
28341
|
}));
|
|
28303
28342
|
const selectedCustomer = customerAutocompleteOptions.find((o) => o.value === selectedCustomerId);
|
|
28304
28343
|
const customerStartAdornment = selectedCustomer ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28305
|
-
|
|
28344
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
28306
28345
|
{
|
|
28307
28346
|
src: selectedCustomer.imageUrl,
|
|
28308
28347
|
alt: selectedCustomer.label,
|
|
@@ -28393,7 +28432,7 @@ function TimeTrackerPanel({
|
|
|
28393
28432
|
error: showFieldError ? "Required if no notes added" : void 0,
|
|
28394
28433
|
disableClientFilter: !!onTicketSearch,
|
|
28395
28434
|
onInputChange: (value, reason) => {
|
|
28396
|
-
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall',
|
|
28435
|
+
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _600 => _600(value)]);
|
|
28397
28436
|
}
|
|
28398
28437
|
}
|
|
28399
28438
|
),
|
|
@@ -28408,7 +28447,7 @@ function TimeTrackerPanel({
|
|
|
28408
28447
|
disabled: customerLocked,
|
|
28409
28448
|
disableClientFilter: !!onCustomerSearch,
|
|
28410
28449
|
onInputChange: (value, reason) => {
|
|
28411
|
-
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall',
|
|
28450
|
+
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _601 => _601(value)]);
|
|
28412
28451
|
},
|
|
28413
28452
|
startAdornment: customerStartAdornment,
|
|
28414
28453
|
renderOption: renderCustomerOption
|
|
@@ -28481,7 +28520,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28481
28520
|
function StatusTag({ status }) {
|
|
28482
28521
|
if (status === "tracking") {
|
|
28483
28522
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28484
|
-
|
|
28523
|
+
_chunkUNI3POHUcjs.Tag,
|
|
28485
28524
|
{
|
|
28486
28525
|
variant: "success",
|
|
28487
28526
|
className: STATUS_TAG_SKIN,
|
|
@@ -28491,9 +28530,9 @@ function StatusTag({ status }) {
|
|
|
28491
28530
|
);
|
|
28492
28531
|
}
|
|
28493
28532
|
if (status === "paused") {
|
|
28494
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28533
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
28495
28534
|
}
|
|
28496
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28535
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28497
28536
|
}
|
|
28498
28537
|
function LastEntryRow({ entry, onClick }) {
|
|
28499
28538
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0", children: [
|
|
@@ -28510,7 +28549,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
28510
28549
|
{
|
|
28511
28550
|
variant: "outline",
|
|
28512
28551
|
size: "icon",
|
|
28513
|
-
onClick: () => _optionalChain([onClick, 'optionalCall',
|
|
28552
|
+
onClick: () => _optionalChain([onClick, 'optionalCall', _602 => _602(entry)]),
|
|
28514
28553
|
disabled: !onClick,
|
|
28515
28554
|
"aria-label": `Open entry: ${entry.title}`,
|
|
28516
28555
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
@@ -28594,28 +28633,28 @@ function HeaderButton({
|
|
|
28594
28633
|
function TimeTrackerHeaderButton({ className, disabled }) {
|
|
28595
28634
|
const ctx = useOptionalTimeTracker();
|
|
28596
28635
|
const elapsedLabel = useTrackerClock({
|
|
28597
|
-
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
28598
|
-
runningSince: _optionalChain([ctx, 'optionalAccess',
|
|
28599
|
-
accumulatedMs: _optionalChain([ctx, 'optionalAccess',
|
|
28636
|
+
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _603 => _603.status]), () => ( "ready")),
|
|
28637
|
+
runningSince: _optionalChain([ctx, 'optionalAccess', _604 => _604.runningSince]),
|
|
28638
|
+
accumulatedMs: _optionalChain([ctx, 'optionalAccess', _605 => _605.accumulatedMs])
|
|
28600
28639
|
});
|
|
28601
28640
|
const layoutContainer = useAppLayoutDrawerContainer();
|
|
28602
28641
|
const coordination = useAppLayoutDrawerCoordination();
|
|
28603
|
-
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
28642
|
+
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _606 => _606.isOpen]), () => ( false));
|
|
28604
28643
|
const isOpenRef = _react.useRef.call(void 0, isOpen);
|
|
28605
|
-
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess',
|
|
28644
|
+
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _607 => _607.close]));
|
|
28606
28645
|
_react.useEffect.call(void 0, () => {
|
|
28607
28646
|
isOpenRef.current = isOpen;
|
|
28608
|
-
closeRef.current = _optionalChain([ctx, 'optionalAccess',
|
|
28647
|
+
closeRef.current = _optionalChain([ctx, 'optionalAccess', _608 => _608.close]);
|
|
28609
28648
|
});
|
|
28610
28649
|
const [selfHandle] = _react.useState.call(void 0, () => ({
|
|
28611
28650
|
close: () => {
|
|
28612
|
-
if (isOpenRef.current) _optionalChain([closeRef, 'access',
|
|
28651
|
+
if (isOpenRef.current) _optionalChain([closeRef, 'access', _609 => _609.current, 'optionalCall', _610 => _610()]);
|
|
28613
28652
|
}
|
|
28614
28653
|
}));
|
|
28615
28654
|
_react.useEffect.call(void 0, () => {
|
|
28616
|
-
if (isOpen) _optionalChain([coordination, 'optionalAccess',
|
|
28655
|
+
if (isOpen) _optionalChain([coordination, 'optionalAccess', _611 => _611.notifyDrawerDidOpen, 'call', _612 => _612(selfHandle)]);
|
|
28617
28656
|
}, [isOpen, coordination, selfHandle]);
|
|
28618
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
28657
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _613 => _613.registerDrawer, 'call', _614 => _614(selfHandle)]), [coordination, selfHandle]);
|
|
28619
28658
|
if (!ctx) return null;
|
|
28620
28659
|
const { open, close, status } = ctx;
|
|
28621
28660
|
const isPaused = status === "paused";
|
|
@@ -28662,7 +28701,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28662
28701
|
"data-state": isOpen ? "open" : "closed",
|
|
28663
28702
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
28664
28703
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28665
|
-
|
|
28704
|
+
_chunkUNI3POHUcjs.OVERLAY_BACKDROP_CLASS,
|
|
28666
28705
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28667
28706
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28668
28707
|
)
|
|
@@ -28747,7 +28786,7 @@ function autoScrollAncestors(element) {
|
|
|
28747
28786
|
|
|
28748
28787
|
// src/components/features/board/aim.ts
|
|
28749
28788
|
var _closestedge = require('@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge');
|
|
28750
|
-
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access',
|
|
28789
|
+
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access', _615 => _615.find, 'call', _616 => _616((c) => c.id === columnId), 'optionalAccess', _617 => _617.tickets]), () => ( []))).filter((t) => t.id !== ticketId);
|
|
28751
28790
|
function laneOf(columns, ticketId) {
|
|
28752
28791
|
return _nullishCoalesce(columns.find((c) => c.tickets.some((t) => t.id === ticketId)), () => ( null));
|
|
28753
28792
|
}
|
|
@@ -28791,11 +28830,11 @@ function aimToChange(columns, ticketId, aim) {
|
|
|
28791
28830
|
const lane = laneOf(columns, ticketId);
|
|
28792
28831
|
if (!lane) return null;
|
|
28793
28832
|
const others = othersIn(columns, aim.columnId, ticketId);
|
|
28794
|
-
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
28795
|
-
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
28833
|
+
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access', _618 => _618[aim.index - 1], 'optionalAccess', _619 => _619.id]), () => ( null));
|
|
28834
|
+
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access', _620 => _620[aim.index], 'optionalAccess', _621 => _621.id]), () => ( null));
|
|
28796
28835
|
if (lane.id === aim.columnId) {
|
|
28797
28836
|
const currentIndex = lane.tickets.findIndex((t) => t.id === ticketId);
|
|
28798
|
-
if ((_nullishCoalesce(_optionalChain([lane, 'access',
|
|
28837
|
+
if ((_nullishCoalesce(_optionalChain([lane, 'access', _622 => _622.tickets, 'access', _623 => _623[currentIndex - 1], 'optionalAccess', _624 => _624.id]), () => ( null))) === afterTicketId) return null;
|
|
28799
28838
|
}
|
|
28800
28839
|
return { ticketId, fromColumnId: lane.id, toColumnId: aim.columnId, afterTicketId, beforeTicketId };
|
|
28801
28840
|
}
|
|
@@ -28816,7 +28855,7 @@ function BoardColumnHeader({
|
|
|
28816
28855
|
}) {
|
|
28817
28856
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
28818
28857
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
28819
|
-
const useStatusVariant =
|
|
28858
|
+
const useStatusVariant = _chunkUNI3POHUcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
28820
28859
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
28821
28860
|
if (collapsed) {
|
|
28822
28861
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -28832,7 +28871,7 @@ function BoardColumnHeader({
|
|
|
28832
28871
|
}
|
|
28833
28872
|
),
|
|
28834
28873
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28835
|
-
|
|
28874
|
+
_chunkUNI3POHUcjs.TicketStatusTag,
|
|
28836
28875
|
{
|
|
28837
28876
|
status: tagStatus,
|
|
28838
28877
|
label: column.label,
|
|
@@ -28845,7 +28884,7 @@ function BoardColumnHeader({
|
|
|
28845
28884
|
}
|
|
28846
28885
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28847
28886
|
/* @__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,
|
|
28887
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
28849
28888
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
28850
28889
|
] }),
|
|
28851
28890
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -28925,7 +28964,7 @@ function cardPositions(root) {
|
|
|
28925
28964
|
}
|
|
28926
28965
|
function useLaneScrollAnchor(scrollRef, tickets) {
|
|
28927
28966
|
const positionsRef = _react.useRef.call(void 0, []);
|
|
28928
|
-
|
|
28967
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
28929
28968
|
const root = scrollRef.current;
|
|
28930
28969
|
if (!root) return;
|
|
28931
28970
|
const previous = positionsRef.current;
|
|
@@ -28996,7 +29035,7 @@ function holdMoveDragEffect(element) {
|
|
|
28996
29035
|
|
|
28997
29036
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
28998
29037
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
28999
|
-
const { innerRef, containerStyle } =
|
|
29038
|
+
const { innerRef, containerStyle } = _chunkUNI3POHUcjs.useCollapsible.call(void 0, { expanded });
|
|
29000
29039
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
29001
29040
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
29002
29041
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -29025,7 +29064,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
29025
29064
|
}
|
|
29026
29065
|
),
|
|
29027
29066
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: "pt-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29028
|
-
|
|
29067
|
+
_chunkUNI3POHUcjs.ApprovalBatchMessage,
|
|
29029
29068
|
{
|
|
29030
29069
|
className: "mb-0",
|
|
29031
29070
|
data: {
|
|
@@ -29066,14 +29105,14 @@ function useIsLanding(ticketId) {
|
|
|
29066
29105
|
return _react.useContext.call(void 0, LandingCardContext) === ticketId;
|
|
29067
29106
|
}
|
|
29068
29107
|
function hasMoveSettled(columns, move) {
|
|
29069
|
-
const tickets = _optionalChain([columns, 'access',
|
|
29108
|
+
const tickets = _optionalChain([columns, 'access', _625 => _625.find, 'call', _626 => _626((c) => c.id === move.toColumnId), 'optionalAccess', _627 => _627.tickets]);
|
|
29070
29109
|
if (!tickets) return false;
|
|
29071
29110
|
const index = tickets.findIndex((t) => t.id === move.ticketId);
|
|
29072
29111
|
if (index < 0) return false;
|
|
29073
29112
|
if (move.fromColumnId === move.toColumnId) {
|
|
29074
|
-
return (_nullishCoalesce(_optionalChain([tickets, 'access',
|
|
29113
|
+
return (_nullishCoalesce(_optionalChain([tickets, 'access', _628 => _628[index - 1], 'optionalAccess', _629 => _629.id]), () => ( null))) === move.afterTicketId;
|
|
29075
29114
|
}
|
|
29076
|
-
return !_optionalChain([columns, 'access',
|
|
29115
|
+
return !_optionalChain([columns, 'access', _630 => _630.find, 'call', _631 => _631((c) => c.id === move.fromColumnId), 'optionalAccess', _632 => _632.tickets, 'access', _633 => _633.some, 'call', _634 => _634((t) => t.id === move.ticketId)]);
|
|
29077
29116
|
}
|
|
29078
29117
|
|
|
29079
29118
|
// src/components/features/board/ticket-card.tsx
|
|
@@ -29097,10 +29136,10 @@ var ACTIVITY_DEFAULT_LABEL = {
|
|
|
29097
29136
|
var TICKET_CARD_SHELL = "relative flex flex-col gap-[var(--spacing-system-sf)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] select-none text-left";
|
|
29098
29137
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
29099
29138
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
29100
|
-
const newMessageTextColor = columnColor ?
|
|
29101
|
-
const showDeviceRow = !!(_optionalChain([ticket, 'access',
|
|
29102
|
-
const deviceText = [_optionalChain([ticket, 'access',
|
|
29103
|
-
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access',
|
|
29139
|
+
const newMessageTextColor = columnColor ? _chunkUNI3POHUcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29140
|
+
const showDeviceRow = !!(_optionalChain([ticket, 'access', _635 => _635.deviceHostnames, 'optionalAccess', _636 => _636.length]) || ticket.organizationName);
|
|
29141
|
+
const deviceText = [_optionalChain([ticket, 'access', _637 => _637.deviceHostnames, 'optionalAccess', _638 => _638.join, 'call', _639 => _639(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29142
|
+
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _640 => _640.assignees, 'optionalAccess', _641 => _641.length]) || renderAssignSlot);
|
|
29104
29143
|
const rightSection = hasRightSection ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
29105
29144
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29106
29145
|
_chunkGSQM4PDRcjs.Flag02Icon,
|
|
@@ -29109,7 +29148,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29109
29148
|
"aria-label": `Priority: ${ticket.priority}`
|
|
29110
29149
|
}
|
|
29111
29150
|
),
|
|
29112
|
-
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access',
|
|
29151
|
+
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _642 => _642.assignees, 'optionalAccess', _643 => _643.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
29113
29152
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map(
|
|
29114
29153
|
(a) => a.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29115
29154
|
DeletedUserAvatar,
|
|
@@ -29119,7 +29158,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29119
29158
|
},
|
|
29120
29159
|
a.id
|
|
29121
29160
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29122
|
-
|
|
29161
|
+
_chunkOQHFHKUGcjs.SquareAvatar,
|
|
29123
29162
|
{
|
|
29124
29163
|
src: a.avatarUrl,
|
|
29125
29164
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -29136,8 +29175,8 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29136
29175
|
] })
|
|
29137
29176
|
] }) : null
|
|
29138
29177
|
] }) : null;
|
|
29139
|
-
const timestampLabel = ticket.createdAt ?
|
|
29140
|
-
const tooltipLabel = ticket.createdAt ?
|
|
29178
|
+
const timestampLabel = ticket.createdAt ? _chunkUNI3POHUcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
29179
|
+
const tooltipLabel = ticket.createdAt ? _chunkUNI3POHUcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
29141
29180
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
29142
29181
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29143
29182
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
@@ -29150,10 +29189,10 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29150
29189
|
] }),
|
|
29151
29190
|
rightSection
|
|
29152
29191
|
] }),
|
|
29153
|
-
_optionalChain([ticket, 'access',
|
|
29154
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29155
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29156
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29192
|
+
_optionalChain([ticket, 'access', _644 => _644.tags, 'optionalAccess', _645 => _645.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29193
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { children: [
|
|
29194
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: metaLabel }) }),
|
|
29195
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { children: tooltipLabel })
|
|
29157
29196
|
] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: metaLabel })),
|
|
29158
29197
|
ticket.escalatedByUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] text-ods-open-yellow text-h6", children: [
|
|
29159
29198
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -29173,7 +29212,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29173
29212
|
}
|
|
29174
29213
|
),
|
|
29175
29214
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29176
|
-
|
|
29215
|
+
_chunkUNI3POHUcjs.Tag,
|
|
29177
29216
|
{
|
|
29178
29217
|
label: "New Message",
|
|
29179
29218
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -29217,7 +29256,7 @@ var TicketCard = _react.memo.call(void 0, function TicketCardImpl({
|
|
|
29217
29256
|
const isLanding = useIsLanding(ticket.id);
|
|
29218
29257
|
const aim = useDropAim();
|
|
29219
29258
|
const closestEdge = aim && aim.columnId === columnId && aim.ticketId === ticket.id ? aim.edge : null;
|
|
29220
|
-
const isSource = isDragging || _optionalChain([aim, 'optionalAccess',
|
|
29259
|
+
const isSource = isDragging || _optionalChain([aim, 'optionalAccess', _646 => _646.ticket, 'access', _647 => _647.id]) === ticket.id;
|
|
29221
29260
|
const lift = useBoardLift();
|
|
29222
29261
|
const handleKeyDown = (e) => {
|
|
29223
29262
|
if (e.key !== " " || dragDisabled || !lift) return;
|
|
@@ -29388,8 +29427,8 @@ function TicketTagRow({ tags }) {
|
|
|
29388
29427
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
29389
29428
|
const hidden = tags.length - visible.length;
|
|
29390
29429
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
29391
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29392
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29430
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
29431
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
29393
29432
|
] });
|
|
29394
29433
|
}
|
|
29395
29434
|
|
|
@@ -29470,7 +29509,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
29470
29509
|
// large ones like the only thing that did.
|
|
29471
29510
|
getData: ({ input, element: lane, source }) => {
|
|
29472
29511
|
const nearest = nearestCardIn(lane, input.clientY, String(source.data.ticketId));
|
|
29473
|
-
const ticketId = _optionalChain([nearest, 'optionalAccess',
|
|
29512
|
+
const ticketId = _optionalChain([nearest, 'optionalAccess', _648 => _648.dataset, 'access', _649 => _649.ticketId]);
|
|
29474
29513
|
if (!nearest || !ticketId) return { type: "column", columnId: column.id };
|
|
29475
29514
|
return _closestedge.attachClosestEdge.call(void 0,
|
|
29476
29515
|
{ type: "ticket", ticketId, columnId: column.id },
|
|
@@ -29482,7 +29521,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
29482
29521
|
onDrop: () => setIsOver(false)
|
|
29483
29522
|
});
|
|
29484
29523
|
}, [column.id, column.dropDisabled, column.allowedFromColumns, collapsed, touchMode]);
|
|
29485
|
-
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall',
|
|
29524
|
+
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall', _650 => _650(column.id)]), [onToggleCollapse, column.id]);
|
|
29486
29525
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29487
29526
|
"div",
|
|
29488
29527
|
{
|
|
@@ -29561,7 +29600,7 @@ function ColumnBody({
|
|
|
29561
29600
|
const observer = new IntersectionObserver(
|
|
29562
29601
|
(entries) => {
|
|
29563
29602
|
if (entries.some((e) => e.isIntersecting)) {
|
|
29564
|
-
_optionalChain([loadMoreRef, 'access',
|
|
29603
|
+
_optionalChain([loadMoreRef, 'access', _651 => _651.current, 'optionalCall', _652 => _652(columnIdRef.current)]);
|
|
29565
29604
|
}
|
|
29566
29605
|
},
|
|
29567
29606
|
{ root, rootMargin: loadMoreRootMargin }
|
|
@@ -29586,7 +29625,7 @@ function ColumnBody({
|
|
|
29586
29625
|
ticket: t,
|
|
29587
29626
|
columnId: column.id,
|
|
29588
29627
|
columnColor: column.color,
|
|
29589
|
-
href: _optionalChain([getTicketHref, 'optionalCall',
|
|
29628
|
+
href: _optionalChain([getTicketHref, 'optionalCall', _653 => _653(t.id)]),
|
|
29590
29629
|
renderAssignSlot,
|
|
29591
29630
|
onApprove,
|
|
29592
29631
|
onReject,
|
|
@@ -29631,7 +29670,7 @@ function resolveBoardDrop(columns, { source, target }) {
|
|
|
29631
29670
|
// src/components/features/board/use-board-collapse.ts
|
|
29632
29671
|
|
|
29633
29672
|
function useBoardCollapse(storageKey) {
|
|
29634
|
-
const [persisted, setPersisted] =
|
|
29673
|
+
const [persisted, setPersisted] = _chunkJJUV7Z4Lcjs.useLocalStorage.call(void 0, _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")), {});
|
|
29635
29674
|
const [memory, setMemory] = _react.useState.call(void 0, {});
|
|
29636
29675
|
const collapsed = storageKey ? persisted : memory;
|
|
29637
29676
|
const setMap = storageKey ? setPersisted : setMemory;
|
|
@@ -29702,7 +29741,7 @@ var DROP_EASING = "cubic-bezier(0.2, 0, 0, 1)";
|
|
|
29702
29741
|
var DRAG_PREVIEW_Z = 1200;
|
|
29703
29742
|
var ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"];
|
|
29704
29743
|
function Board(props) {
|
|
29705
|
-
const dragAndDropEnabled =
|
|
29744
|
+
const dragAndDropEnabled = _chunkYXWGSDK4cjs.useMediaQuery.call(void 0, _chunkJJUV7Z4Lcjs.DRAG_AND_DROP_MEDIA_QUERY);
|
|
29706
29745
|
if (dragAndDropEnabled === void 0) {
|
|
29707
29746
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: _chunk23V5BSHDcjs.cn.call(void 0, "flex h-full min-h-0 flex-col", props.className) });
|
|
29708
29747
|
}
|
|
@@ -29734,7 +29773,7 @@ function DragBoard({
|
|
|
29734
29773
|
onThumbPointerDown,
|
|
29735
29774
|
onThumbPointerMove,
|
|
29736
29775
|
onThumbPointerUp
|
|
29737
|
-
} =
|
|
29776
|
+
} = _chunkJJUV7Z4Lcjs.useHorizontalScrollbar.call(void 0, );
|
|
29738
29777
|
const columnsRef = _react.useRef.call(void 0, columns);
|
|
29739
29778
|
const onChangeRef = _react.useRef.call(void 0, onChange);
|
|
29740
29779
|
const boardRef = _react.useRef.call(void 0, null);
|
|
@@ -29762,7 +29801,7 @@ function DragBoard({
|
|
|
29762
29801
|
const [landing, setLanding] = _react.useState.call(void 0, null);
|
|
29763
29802
|
const landingTimer = _react.useRef.call(void 0, null);
|
|
29764
29803
|
const pointRef = _react.useRef.call(void 0, { x: 0, y: 0 });
|
|
29765
|
-
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access',
|
|
29804
|
+
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access', _654 => _654.find, 'call', _655 => _655((c) => c.id === columnId), 'optionalAccess', _656 => _656.label]), () => ( columnId)), [view]);
|
|
29766
29805
|
const acceptsLifted = _react.useCallback.call(void 0,
|
|
29767
29806
|
(fromColumnId) => (column) => {
|
|
29768
29807
|
if (column.dropDisabled || collapsed[column.id]) return false;
|
|
@@ -29776,7 +29815,7 @@ function DragBoard({
|
|
|
29776
29815
|
const start = initialAim(view, ticketId);
|
|
29777
29816
|
if (!start) return;
|
|
29778
29817
|
setLifted({ ticketId, aim: start });
|
|
29779
|
-
const title = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
29818
|
+
const title = _nullishCoalesce(_optionalChain([laneOf, 'call', _657 => _657(view, ticketId), 'optionalAccess', _658 => _658.tickets, 'access', _659 => _659.find, 'call', _660 => _660((t) => t.id === ticketId), 'optionalAccess', _661 => _661.title]), () => ( "Ticket"));
|
|
29780
29819
|
setAnnouncement(`${title} lifted. Use the arrow keys to move it, space to drop it, escape to put it back.`);
|
|
29781
29820
|
},
|
|
29782
29821
|
[view]
|
|
@@ -29801,11 +29840,11 @@ function DragBoard({
|
|
|
29801
29840
|
const walk = _react.useCallback.call(void 0,
|
|
29802
29841
|
(key) => {
|
|
29803
29842
|
if (!lifted) return;
|
|
29804
|
-
const from = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
29843
|
+
const from = _nullishCoalesce(_optionalChain([laneOf, 'call', _662 => _662(view, lifted.ticketId), 'optionalAccess', _663 => _663.id]), () => ( lifted.aim.columnId));
|
|
29805
29844
|
const next = moveAim(view, lifted.ticketId, lifted.aim, key, acceptsLifted(from));
|
|
29806
29845
|
if (next === lifted.aim) return;
|
|
29807
29846
|
setLifted({ ...lifted, aim: next });
|
|
29808
|
-
const total = (_nullishCoalesce(_optionalChain([view, 'access',
|
|
29847
|
+
const total = (_nullishCoalesce(_optionalChain([view, 'access', _664 => _664.find, 'call', _665 => _665((c) => c.id === next.columnId), 'optionalAccess', _666 => _666.tickets]), () => ( []))).filter(
|
|
29809
29848
|
(t) => t.id !== lifted.ticketId
|
|
29810
29849
|
).length;
|
|
29811
29850
|
setAnnouncement(`${laneLabel(next.columnId)}, position ${next.index + 1} of ${total + 1}.`);
|
|
@@ -29832,11 +29871,11 @@ function DragBoard({
|
|
|
29832
29871
|
}, [lifted, drop, walk]);
|
|
29833
29872
|
_react.useEffect.call(void 0, () => {
|
|
29834
29873
|
if (!lifted) return;
|
|
29835
|
-
_optionalChain([boardRef, 'access',
|
|
29874
|
+
_optionalChain([boardRef, 'access', _667 => _667.current, 'optionalAccess', _668 => _668.querySelector, 'call', _669 => _669(`[${DROP_LINE_ATTRIBUTE}]`), 'optionalAccess', _670 => _670.scrollIntoView, 'call', _671 => _671({ block: "nearest", inline: "nearest" })]);
|
|
29836
29875
|
}, [lifted]);
|
|
29837
29876
|
const keyboardAim = _react.useMemo.call(void 0, () => {
|
|
29838
29877
|
if (!lifted) return null;
|
|
29839
|
-
const ticket = _optionalChain([laneOf, 'call',
|
|
29878
|
+
const ticket = _optionalChain([laneOf, 'call', _672 => _672(view, lifted.ticketId), 'optionalAccess', _673 => _673.tickets, 'access', _674 => _674.find, 'call', _675 => _675((t) => t.id === lifted.ticketId)]);
|
|
29840
29879
|
if (!ticket) return null;
|
|
29841
29880
|
const anchor = aimToChange(view, lifted.ticketId, lifted.aim) ? aimAnchor(view, lifted.ticketId, lifted.aim) : { ticketId: null, edge: null };
|
|
29842
29881
|
return { columnId: lifted.aim.columnId, ...anchor, ticket };
|
|
@@ -29858,7 +29897,7 @@ function DragBoard({
|
|
|
29858
29897
|
return { columnId: slot.columnId, ...anchor, ticket };
|
|
29859
29898
|
};
|
|
29860
29899
|
const aimAt = (source, targets) => {
|
|
29861
|
-
const next = readAim(source, _optionalChain([targets, 'access',
|
|
29900
|
+
const next = readAim(source, _optionalChain([targets, 'access', _676 => _676[0], 'optionalAccess', _677 => _677.data]));
|
|
29862
29901
|
setAim((prev) => isSameAim(prev, next) ? prev : next);
|
|
29863
29902
|
};
|
|
29864
29903
|
return _combine.combine.call(void 0,
|
|
@@ -29887,7 +29926,7 @@ function DragBoard({
|
|
|
29887
29926
|
setLanding(null);
|
|
29888
29927
|
dragGeometry.current = {
|
|
29889
29928
|
ticket,
|
|
29890
|
-
columnColor: _optionalChain([columnsRef, 'access',
|
|
29929
|
+
columnColor: _optionalChain([columnsRef, 'access', _678 => _678.current, 'access', _679 => _679.find, 'call', _680 => _680((c) => c.id === source.data.columnId), 'optionalAccess', _681 => _681.color]),
|
|
29891
29930
|
width: rect.width,
|
|
29892
29931
|
grabX: clientX - rect.left,
|
|
29893
29932
|
grabY: clientY - rect.top
|
|
@@ -29904,7 +29943,7 @@ function DragBoard({
|
|
|
29904
29943
|
setAim(null);
|
|
29905
29944
|
const change = resolveBoardDrop(columnsRef.current, {
|
|
29906
29945
|
source: source.data,
|
|
29907
|
-
target: _optionalChain([location, 'access',
|
|
29946
|
+
target: _optionalChain([location, 'access', _682 => _682.current, 'access', _683 => _683.dropTargets, 'access', _684 => _684[0], 'optionalAccess', _685 => _685.data])
|
|
29908
29947
|
});
|
|
29909
29948
|
if (!change) return;
|
|
29910
29949
|
setPendingMove({
|
|
@@ -29923,7 +29962,7 @@ function DragBoard({
|
|
|
29923
29962
|
})
|
|
29924
29963
|
);
|
|
29925
29964
|
}, []);
|
|
29926
|
-
|
|
29965
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
29927
29966
|
if (!landing) return void 0;
|
|
29928
29967
|
const finish = () => {
|
|
29929
29968
|
landingTimer.current = null;
|
|
@@ -29937,7 +29976,7 @@ function DragBoard({
|
|
|
29937
29976
|
return void 0;
|
|
29938
29977
|
}
|
|
29939
29978
|
const to = card.getBoundingClientRect();
|
|
29940
|
-
const lane = _optionalChain([nearestScrollableAncestor, 'call',
|
|
29979
|
+
const lane = _optionalChain([nearestScrollableAncestor, 'call', _686 => _686(card), 'optionalAccess', _687 => _687.getBoundingClientRect, 'call', _688 => _688()]);
|
|
29941
29980
|
if (lane && (to.top < lane.top || to.bottom > lane.bottom)) {
|
|
29942
29981
|
finish();
|
|
29943
29982
|
return void 0;
|
|
@@ -29996,8 +30035,8 @@ function DragBoard({
|
|
|
29996
30035
|
children: view.map((column, i) => {
|
|
29997
30036
|
const prev = view[i - 1];
|
|
29998
30037
|
const next = view[i + 1];
|
|
29999
|
-
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess',
|
|
30000
|
-
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess',
|
|
30038
|
+
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _689 => _689.system]));
|
|
30039
|
+
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _690 => _690.system]));
|
|
30001
30040
|
const showGap = i > 0 && !joinLeft;
|
|
30002
30041
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
30003
30042
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
@@ -30164,7 +30203,7 @@ function useSortableListContext() {
|
|
|
30164
30203
|
}
|
|
30165
30204
|
function SortableList({ onReorder, getItemLabel, disabled = false, className, children }) {
|
|
30166
30205
|
const listRef = _react.useRef.call(void 0, null);
|
|
30167
|
-
const dragAndDropEnabled =
|
|
30206
|
+
const dragAndDropEnabled = _chunkJJUV7Z4Lcjs.useDragAndDropEnabled.call(void 0, );
|
|
30168
30207
|
const dragType = _react.useId.call(void 0, );
|
|
30169
30208
|
const [announcement, setAnnouncement] = _react.useState.call(void 0, "");
|
|
30170
30209
|
const onReorderRef = _react.useRef.call(void 0, onReorder);
|
|
@@ -30177,13 +30216,13 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30177
30216
|
const [flipTick, setFlipTick] = _react.useState.call(void 0, 0);
|
|
30178
30217
|
const flipTimer = _react.useRef.call(void 0, null);
|
|
30179
30218
|
const readItems = _react.useCallback.call(void 0,
|
|
30180
|
-
() => [..._nullishCoalesce(_optionalChain([listRef, 'access',
|
|
30219
|
+
() => [..._nullishCoalesce(_optionalChain([listRef, 'access', _691 => _691.current, 'optionalAccess', _692 => _692.querySelectorAll, 'call', _693 => _693(`[${SORTABLE_ITEM_ATTRIBUTE}]`)]), () => ( []))],
|
|
30181
30220
|
[]
|
|
30182
30221
|
);
|
|
30183
30222
|
const reorder = _react.useCallback.call(void 0,
|
|
30184
30223
|
(from, to) => {
|
|
30185
30224
|
if (from === to) return;
|
|
30186
|
-
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access',
|
|
30225
|
+
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access', _694 => _694.current, 'optionalCall', _695 => _695(from)]), () => ( "Item"));
|
|
30187
30226
|
setAnnouncement(`${label} moved to position ${to + 1} of ${readItems().length}.`);
|
|
30188
30227
|
onReorderRef.current(from, to);
|
|
30189
30228
|
},
|
|
@@ -30256,7 +30295,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30256
30295
|
})
|
|
30257
30296
|
);
|
|
30258
30297
|
}, [dragType, disabled, dragAndDropEnabled, readItems, reorder]);
|
|
30259
|
-
|
|
30298
|
+
_chunkYXWGSDK4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
30260
30299
|
const from = flipFrom.current;
|
|
30261
30300
|
flipFrom.current = null;
|
|
30262
30301
|
if (!from) return;
|
|
@@ -30271,7 +30310,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30271
30310
|
moving.push(item);
|
|
30272
30311
|
}
|
|
30273
30312
|
if (moving.length === 0) return;
|
|
30274
|
-
void _optionalChain([listRef, 'access',
|
|
30313
|
+
void _optionalChain([listRef, 'access', _696 => _696.current, 'optionalAccess', _697 => _697.offsetHeight]);
|
|
30275
30314
|
for (const item of moving) {
|
|
30276
30315
|
item.style.transition = `transform ${DROP_MS2}ms ${EASING}`;
|
|
30277
30316
|
item.style.transform = "";
|
|
@@ -30308,8 +30347,8 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
30308
30347
|
if (to < 0 || to >= count) return;
|
|
30309
30348
|
reorder(index, to);
|
|
30310
30349
|
requestAnimationFrame(() => {
|
|
30311
|
-
if (step === -1 && to === 0) _optionalChain([downRef, 'access',
|
|
30312
|
-
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access',
|
|
30350
|
+
if (step === -1 && to === 0) _optionalChain([downRef, 'access', _698 => _698.current, 'optionalAccess', _699 => _699.focus, 'call', _700 => _700()]);
|
|
30351
|
+
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access', _701 => _701.current, 'optionalAccess', _702 => _702.focus, 'call', _703 => _703()]);
|
|
30313
30352
|
});
|
|
30314
30353
|
};
|
|
30315
30354
|
const subject = _nullishCoalesce(label, () => ( "item"));
|
|
@@ -30357,7 +30396,7 @@ function useSortableItem() {
|
|
|
30357
30396
|
const [handle, setHandle] = _react.useState.call(void 0, null);
|
|
30358
30397
|
const [isDragging, setIsDragging] = _react.useState.call(void 0, false);
|
|
30359
30398
|
const itemRef = _react.useCallback.call(void 0, (node) => {
|
|
30360
|
-
_optionalChain([node, 'optionalAccess',
|
|
30399
|
+
_optionalChain([node, 'optionalAccess', _704 => _704.setAttribute, 'call', _705 => _705(SORTABLE_ITEM_ATTRIBUTE, "")]);
|
|
30361
30400
|
setItem(node);
|
|
30362
30401
|
}, []);
|
|
30363
30402
|
_react.useEffect.call(void 0, () => {
|
|
@@ -30387,7 +30426,7 @@ function useSortableItem() {
|
|
|
30387
30426
|
if (from < 0 || to < 0 || to >= items.length) return;
|
|
30388
30427
|
event.preventDefault();
|
|
30389
30428
|
reorder(from, to);
|
|
30390
|
-
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess',
|
|
30429
|
+
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess', _706 => _706.focus, 'call', _707 => _707()]));
|
|
30391
30430
|
},
|
|
30392
30431
|
[inert, readItems, reorder, handle]
|
|
30393
30432
|
);
|
|
@@ -30409,7 +30448,7 @@ function TicketStatusConfigList({
|
|
|
30409
30448
|
onReorder,
|
|
30410
30449
|
getItemLabel,
|
|
30411
30450
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xs)]", className),
|
|
30412
|
-
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall',
|
|
30451
|
+
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall', _708 => _708(index)]), children: (args) => renderRow(item, args) }, item.id))
|
|
30413
30452
|
}
|
|
30414
30453
|
);
|
|
30415
30454
|
}
|
|
@@ -31073,4 +31112,4 @@ function SortableRow({
|
|
|
31073
31112
|
|
|
31074
31113
|
|
|
31075
31114
|
exports.AllowedDomainsInput = AllowedDomainsInput; exports.AnnouncementBarView = AnnouncementBarView; exports.HiddenTagsPopup = HiddenTagsPopup; exports.TruncateText = TruncateText; exports.Autocomplete = Autocomplete; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePickerCalendar = DatePickerCalendar; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.InfoHint = InfoHint; exports.Field = Field; exports.HoneypotField = HoneypotField; exports.JsonDetailList = JsonDetailList; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.DeletedUserAvatar = DeletedUserAvatar; exports.SearchableSelect = SearchableSelect; exports.AssigneeDropdown = AssigneeDropdown; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoDataMessage = NoDataMessage; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.useConfirm = useConfirm; exports.useGuardedClose = useGuardedClose; exports.UnsavedChangesChip = UnsavedChangesChip; exports.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS = HUBSPOT_DO_NOT_COLLECT_FORM_PROPS; exports.AdminFormModal = AdminFormModal; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.FullscreenSwitchController = FullscreenSwitchController; exports.EmbedIframe = EmbedIframe; exports.EmbedViewerFrame = EmbedViewerFrame; exports.ClaudeEmbed = ClaudeEmbed; exports.FigmaEmbed = FigmaEmbed; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.MarkdownImage = MarkdownImage; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.MediaCarousel = MediaCarousel; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.SOCIAL_PLATFORM_ALIASES = SOCIAL_PLATFORM_ALIASES; exports.normalizeSocialPlatform = normalizeSocialPlatform; exports.hostMatches = hostMatches; exports.SOCIAL_PLATFORM_ALT_HOSTS = SOCIAL_PLATFORM_ALT_HOSTS; exports.socialPlatformHosts = socialPlatformHosts; exports.classifySocialHost = classifySocialHost; exports.pickSocialLink = pickSocialLink; exports.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.StatusIndicator = StatusIndicator; exports.BackButton = BackButton; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.TICKET_OPEN_PARAM = TICKET_OPEN_PARAM; exports.buildTicketOpenHref = buildTicketOpenHref; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.BITE_ID_RE = BITE_ID_RE; exports.generateBiteId = generateBiteId; exports.ensureBiteIds = ensureBiteIds; exports.matchBiteElement = matchBiteElement; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.isDismissedCookieValue = isDismissedCookieValue; exports.readDismissCookie = readDismissCookie; exports.writeDismissCookie = writeDismissCookie; exports.clearDismissCookie = clearDismissCookie; exports.announcementDismissCookieName = announcementDismissCookieName; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.WALKTHROUGH_VIDEO_DISMISS_KEY = WALKTHROUGH_VIDEO_DISMISS_KEY; exports.walkthroughDismissCookieName = walkthroughDismissCookieName; exports.isWalkthroughDismissed = isWalkthroughDismissed; exports.dismissWalkthrough = dismissWalkthrough; exports.clearWalkthroughDismissal = clearWalkthroughDismissal; exports.WALKTHROUGH_OPEN_QUERY_PARAM = WALKTHROUGH_OPEN_QUERY_PARAM; exports.withWalkthroughOpenParam = withWalkthroughOpenParam; exports.createSseSubscription = createSseSubscription; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.extractSections = extractSections; exports.SCHEDULING_SLUG_SHAPE = SCHEDULING_SLUG_SHAPE; exports.MAX_MONTH_OFFSET = MAX_MONTH_OFFSET; exports.normalizeSchedulingSlug = normalizeSchedulingSlug; exports.isValidSchedulingSlug = isValidSchedulingSlug; exports.parseSchedulingLinkName = parseSchedulingLinkName; exports.isListedSchedulingName = isListedSchedulingName; exports.schedulingAudienceKey = schedulingAudienceKey; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY; exports.sanitizeLandingUrl = sanitizeLandingUrl; exports.parseAttributionFromUrl = parseAttributionFromUrl; exports.captureFirstTouchAttribution = captureFirstTouchAttribution; exports.getFirstTouchAttribution = getFirstTouchAttribution; exports.withFirstTouchAttribution = withFirstTouchAttribution; exports.clearFirstTouchAttribution = clearFirstTouchAttribution; exports.ODS_SPACING_TOKENS = ODS_SPACING_TOKENS; exports.ODS_SPACING_TOKEN_PATTERN = ODS_SPACING_TOKEN_PATTERN; exports.ODS_SPACING_PROPS = ODS_SPACING_PROPS; exports.TAILWIND_STEP_TO_ODS_TOKEN = TAILWIND_STEP_TO_ODS_TOKEN; exports.CSV_CONTENT_TYPE = CSV_CONTENT_TYPE; exports.csvEscape = csvEscape; exports.toCsv = toCsv; exports.BenefitCard = BenefitCard; exports.benefitCardBorderClass = benefitCardBorderClass; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.SourceTooltip = SourceTooltip; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.PersonCell = PersonCell; exports.PeopleCell = PeopleCell; exports.TitleContentBlock = TitleContentBlock; exports.TouchFriendlyTooltip = TouchFriendlyTooltip; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DataTableSkeleton = DataTableSkeleton; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.PasswordInput = PasswordInput; exports.AccountDetailsFields = AccountDetailsFields; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.SsoJoinForm = SsoJoinForm; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.CardSkeleton = CardSkeleton; exports.CardSkeletonGrid = CardSkeletonGrid; exports.AnnouncementBarSkeleton = AnnouncementBarSkeleton; exports.HeroSkeleton = HeroSkeleton; exports.SearchContainerSkeleton = SearchContainerSkeleton; exports.CategorySidebarSkeleton = CategorySidebarSkeleton; exports.BreadcrumbSkeleton = BreadcrumbSkeleton; exports.ResultsHeaderSkeleton = ResultsHeaderSkeleton; exports.TwoColumnLayoutSkeleton = TwoColumnLayoutSkeleton; exports.ArticleLayoutSkeleton = ArticleLayoutSkeleton; exports.VendorDetailLayoutSkeleton = VendorDetailLayoutSkeleton; exports.StatsSectionSkeleton = StatsSectionSkeleton; exports.BlogCardGridSkeleton = BlogCardGridSkeleton; exports.VendorGridSkeleton = VendorGridSkeleton; exports.SlackCommunitySkeleton = SlackCommunitySkeleton; exports.ContentLoadingContainer = ContentLoadingContainer; exports.useContentLoading = useContentLoading; exports.ParagraphSkeleton = ParagraphSkeleton; exports.ListSkeleton = ListSkeleton; exports.TableSkeleton = TableSkeleton; exports.FormSkeleton = FormSkeleton; exports.NavigationSkeleton = NavigationSkeleton; exports.ProfileSkeleton = ProfileSkeleton; exports.CommentSkeleton = CommentSkeleton; exports.FeatureListSkeleton = FeatureListSkeleton; exports.TimelineSkeleton = TimelineSkeleton; exports.PricingSkeleton = PricingSkeleton; exports.ProfileLoadingSkeleton = ProfileLoadingSkeleton; exports.MspProfileFormSkeleton = MspProfileFormSkeleton; exports.CategoryCardSkeleton = CategoryCardSkeleton; exports.CategoryVendorSelectorSkeleton = CategoryVendorSelectorSkeleton; exports.WizardLayoutSkeleton = WizardLayoutSkeleton; exports.MarginReportSkeleton = MarginReportSkeleton; exports.UsersGridSkeleton = UsersGridSkeleton; exports.DynamicSkeleton = DynamicSkeleton; exports.SkeletonPresets = SkeletonPresets; exports.PlatformSkeletonContainer = PlatformSkeletonContainer; exports.ProgressiveSkeleton = ProgressiveSkeleton; exports.OrganizationIconSkeleton = OrganizationIconSkeleton; exports.OrganizationCardSkeleton = OrganizationCardSkeleton; exports.OrganizationCardSkeletonGrid = OrganizationCardSkeletonGrid; exports.DeviceCardSkeleton = DeviceCardSkeleton; exports.DeviceCardSkeletonGrid = DeviceCardSkeletonGrid; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; exports.SOCIAL_ICON_COMPONENTS = SOCIAL_ICON_COMPONENTS; exports.SocialIconRow = SocialIconRow; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.FloatingWalkthroughVideo = FloatingWalkthroughVideo; exports.InlineWalkthroughVideo = InlineWalkthroughVideo; exports.useWalkthroughVideo = useWalkthroughVideo; exports.VideoSourceSelector = VideoSourceSelector; exports.SubtitlesEditor = SubtitlesEditor; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.AppLayoutDrawerContainerContext = AppLayoutDrawerContainerContext; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerCoordinationContext = AppLayoutDrawerCoordinationContext; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.UnreadDot = UnreadDot; exports.UnreadCountBadge = UnreadCountBadge; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCardBody = TicketCardBody; exports.TicketCardView = TicketCardView; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableList = SortableList; exports.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.DataTableEmpty = DataTableEmpty; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableHeader = DataTableHeader; exports.DATA_TABLE_HEADER_LABEL_CLASS = DATA_TABLE_HEADER_LABEL_CLASS; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.formatTestRunDuration = formatTestRunDuration; exports.TestResultsSkeleton = TestResultsSkeleton; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketDetailSection = TicketDetailSection; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.FilterPillRow = FilterPillRow; exports.LazyMount = LazyMount; exports.IconTile = IconTile;
|
|
31076
|
-
//# sourceMappingURL=chunk-
|
|
31115
|
+
//# sourceMappingURL=chunk-WR67VM2J.cjs.map
|