@flamingo-stack/openframe-frontend-core 0.0.628 → 0.0.629-2171.6182.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-QS2QCXBH.js → chunk-2J7EFH4V.js} +380 -30
- package/dist/chunk-2J7EFH4V.js.map +1 -0
- package/dist/{chunk-X3LC6R37.js → chunk-32P6KUZP.js} +2 -2
- package/dist/{chunk-EHAYNUOL.cjs → chunk-4E7XCEV3.cjs} +77 -2
- package/dist/chunk-4E7XCEV3.cjs.map +1 -0
- package/dist/{chunk-JONR3BDJ.cjs → chunk-53ARMJHM.cjs} +37 -37
- package/dist/{chunk-JONR3BDJ.cjs.map → chunk-53ARMJHM.cjs.map} +1 -1
- package/dist/{chunk-OQHFHKUG.cjs → chunk-55X46LKR.cjs} +450 -100
- package/dist/chunk-55X46LKR.cjs.map +1 -0
- package/dist/{chunk-U4UNC3RP.js → chunk-5BUEB2WQ.js} +12 -12
- package/dist/{chunk-6AFJQOT2.js → chunk-65IVNHBS.js} +4 -4
- package/dist/{chunk-U7TTQV4N.cjs → chunk-6I3KNDBF.cjs} +3 -3
- package/dist/{chunk-U7TTQV4N.cjs.map → chunk-6I3KNDBF.cjs.map} +1 -1
- package/dist/{chunk-S6WBBSII.js → chunk-76HB456V.js} +5 -5
- package/dist/{chunk-HLZKMYST.js → chunk-7ZDPJ6SW.js} +4 -4
- package/dist/{chunk-L6GJV7E7.cjs → chunk-BQ6QZUZ6.cjs} +83 -83
- package/dist/{chunk-L6GJV7E7.cjs.map → chunk-BQ6QZUZ6.cjs.map} +1 -1
- package/dist/{chunk-MB4IEWLH.js → chunk-BS6ASI3D.js} +3 -3
- package/dist/{chunk-Q544C4Z7.cjs → chunk-CHRPZ5PV.cjs} +25 -25
- package/dist/{chunk-Q544C4Z7.cjs.map → chunk-CHRPZ5PV.cjs.map} +1 -1
- package/dist/{chunk-LLSX5T7X.js → chunk-CIRD5P4U.js} +7 -7
- package/dist/{chunk-YQCA4ZEJ.js → chunk-CMUNJZWN.js} +2 -2
- package/dist/{chunk-UBX3ATG5.cjs → chunk-CP3R4GRA.cjs} +451 -436
- package/dist/chunk-CP3R4GRA.cjs.map +1 -0
- package/dist/{chunk-2E543KJD.js → chunk-D7VNHPJB.js} +10 -8
- package/dist/{chunk-2E543KJD.js.map → chunk-D7VNHPJB.js.map} +1 -1
- package/dist/{chunk-TDKOW2C5.cjs → chunk-DDUG42FK.cjs} +28 -26
- package/dist/chunk-DDUG42FK.cjs.map +1 -0
- package/dist/{chunk-SWJ6QLD7.cjs → chunk-ELKTBTGR.cjs} +105 -105
- package/dist/{chunk-SWJ6QLD7.cjs.map → chunk-ELKTBTGR.cjs.map} +1 -1
- package/dist/{chunk-6QLOSGE7.cjs → chunk-F4JGAGI3.cjs} +49 -47
- package/dist/chunk-F4JGAGI3.cjs.map +1 -0
- package/dist/{chunk-TUUSLED7.js → chunk-FENZRLVO.js} +10 -8
- package/dist/{chunk-TUUSLED7.js.map → chunk-FENZRLVO.js.map} +1 -1
- package/dist/{chunk-VCY2KHOE.cjs → chunk-FTWVYXNP.cjs} +34 -34
- package/dist/{chunk-VCY2KHOE.cjs.map → chunk-FTWVYXNP.cjs.map} +1 -1
- package/dist/{chunk-C3DDNRJG.cjs → chunk-FYC3W72E.cjs} +6 -6
- package/dist/{chunk-C3DDNRJG.cjs.map → chunk-FYC3W72E.cjs.map} +1 -1
- package/dist/{chunk-GH4WLDPS.cjs → chunk-G5FL4QTN.cjs} +18 -18
- package/dist/{chunk-GH4WLDPS.cjs.map → chunk-G5FL4QTN.cjs.map} +1 -1
- package/dist/{chunk-BND25SXU.cjs → chunk-GUCKPOPQ.cjs} +42 -42
- package/dist/{chunk-BND25SXU.cjs.map → chunk-GUCKPOPQ.cjs.map} +1 -1
- package/dist/{chunk-HNNR5CGX.js → chunk-HRRKZWFF.js} +10 -8
- package/dist/{chunk-HNNR5CGX.js.map → chunk-HRRKZWFF.js.map} +1 -1
- package/dist/{chunk-WBZ4HP7D.js → chunk-J6ATJUEE.js} +4 -4
- package/dist/{chunk-Y5QXDVPP.cjs → chunk-JQSN7D7X.cjs} +7 -7
- package/dist/{chunk-Y5QXDVPP.cjs.map → chunk-JQSN7D7X.cjs.map} +1 -1
- package/dist/{chunk-5LIDR7HL.js → chunk-JRYS4VMV.js} +4 -79
- package/dist/{chunk-5LIDR7HL.js.map → chunk-JRYS4VMV.js.map} +1 -1
- package/dist/{chunk-KTBZJP5J.cjs → chunk-KAG3SX3R.cjs} +22 -20
- package/dist/chunk-KAG3SX3R.cjs.map +1 -0
- package/dist/{chunk-ON7663OW.js → chunk-L5FEAOGJ.js} +8 -354
- package/dist/chunk-L5FEAOGJ.js.map +1 -0
- package/dist/{chunk-LCMXGM2P.js → chunk-LUBIWC3N.js} +8 -8
- package/dist/{chunk-ZRCWXJDW.js → chunk-LZB2UZJY.js} +4 -4
- package/dist/{chunk-JWXEEZKD.js → chunk-MIOE7FYN.js} +3 -3
- package/dist/{chunk-K43T7N7O.js → chunk-NBM7ZB6T.js} +12 -12
- package/dist/{chunk-YZJL6WGP.js → chunk-NDIPDU36.js} +49 -34
- package/dist/chunk-NDIPDU36.js.map +1 -0
- package/dist/{chunk-3IXDZI3R.cjs → chunk-P7UT2YSC.cjs} +3 -3
- package/dist/{chunk-3IXDZI3R.cjs.map → chunk-P7UT2YSC.cjs.map} +1 -1
- package/dist/{chunk-JJUV7Z4L.cjs → chunk-QIVX7F3N.cjs} +27 -27
- package/dist/{chunk-JJUV7Z4L.cjs.map → chunk-QIVX7F3N.cjs.map} +1 -1
- package/dist/{chunk-WIP5JO2O.cjs → chunk-R46TW4LX.cjs} +9 -9
- package/dist/{chunk-WIP5JO2O.cjs.map → chunk-R46TW4LX.cjs.map} +1 -1
- package/dist/{chunk-2MMEPNSX.cjs → chunk-RAPPN6MN.cjs} +3 -3
- package/dist/{chunk-2MMEPNSX.cjs.map → chunk-RAPPN6MN.cjs.map} +1 -1
- package/dist/{chunk-XQ4II4BK.js → chunk-SOUGXQJE.js} +4 -4
- package/dist/{chunk-E523WX5V.cjs → chunk-TV6NXNKO.cjs} +5 -5
- package/dist/{chunk-E523WX5V.cjs.map → chunk-TV6NXNKO.cjs.map} +1 -1
- package/dist/{chunk-FKBM6U43.js → chunk-USIRWQJ3.js} +76 -1
- package/dist/{chunk-FKBM6U43.js.map → chunk-USIRWQJ3.js.map} +1 -1
- package/dist/{chunk-CCWI3622.cjs → chunk-VOZZQ6HQ.cjs} +4 -4
- package/dist/{chunk-CCWI3622.cjs.map → chunk-VOZZQ6HQ.cjs.map} +1 -1
- package/dist/{chunk-JVLLA3Z7.js → chunk-WYELOUP4.js} +6 -6
- package/dist/{chunk-F2KBCLUG.js → chunk-X5NN4NJM.js} +2 -2
- package/dist/{chunk-KT47FRJC.cjs → chunk-Y2ZRUCYH.cjs} +15 -15
- package/dist/{chunk-KT47FRJC.cjs.map → chunk-Y2ZRUCYH.cjs.map} +1 -1
- package/dist/{chunk-YXWGSDK4.cjs → chunk-ZI27ALYX.cjs} +5 -80
- package/dist/chunk-ZI27ALYX.cjs.map +1 -0
- package/dist/{chunk-BVQEU5JB.js → chunk-ZOMGXH7C.js} +2 -2
- package/dist/{chunk-UNI3POHU.cjs → chunk-ZYDNPUSH.cjs} +279 -625
- package/dist/chunk-ZYDNPUSH.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 +71 -69
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +26 -24
- 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 +4 -5
- 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 +10 -8
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +9 -7
- package/dist/components/ui/palette-badge.d.ts +8 -6
- 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/color-presets.d.ts +24 -0
- package/dist/utils/color-presets.d.ts.map +1 -0
- package/dist/utils/index.cjs +24 -21
- 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 +22 -19
- 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 +21 -23
- package/src/components/ui/color-preset-select.tsx +5 -21
- package/src/components/ui/department-badge.tsx +3 -3
- package/src/components/ui/palette-badge.tsx +13 -8
- package/src/components/ui/status-badge.tsx +0 -5
- package/src/types/department.ts +1 -1
- package/src/types/product-release.ts +5 -0
- package/src/utils/.color-presets.md +2 -0
- package/src/utils/color-presets.ts +48 -0
- package/src/utils/index.ts +1 -2
- package/dist/chunk-6QLOSGE7.cjs.map +0 -1
- package/dist/chunk-EHAYNUOL.cjs.map +0 -1
- package/dist/chunk-KTBZJP5J.cjs.map +0 -1
- package/dist/chunk-ON7663OW.js.map +0 -1
- package/dist/chunk-OQHFHKUG.cjs.map +0 -1
- package/dist/chunk-QS2QCXBH.js.map +0 -1
- package/dist/chunk-TDKOW2C5.cjs.map +0 -1
- package/dist/chunk-UBX3ATG5.cjs.map +0 -1
- package/dist/chunk-UNI3POHU.cjs.map +0 -1
- package/dist/chunk-YXWGSDK4.cjs.map +0 -1
- package/dist/chunk-YZJL6WGP.js.map +0 -1
- package/dist/utils/badge-palette.d.ts +0 -18
- package/dist/utils/badge-palette.d.ts.map +0 -1
- package/src/utils/.badge-palette.md +0 -2
- package/src/utils/badge-palette.ts +0 -38
- /package/dist/{chunk-X3LC6R37.js.map → chunk-32P6KUZP.js.map} +0 -0
- /package/dist/{chunk-U4UNC3RP.js.map → chunk-5BUEB2WQ.js.map} +0 -0
- /package/dist/{chunk-6AFJQOT2.js.map → chunk-65IVNHBS.js.map} +0 -0
- /package/dist/{chunk-S6WBBSII.js.map → chunk-76HB456V.js.map} +0 -0
- /package/dist/{chunk-HLZKMYST.js.map → chunk-7ZDPJ6SW.js.map} +0 -0
- /package/dist/{chunk-MB4IEWLH.js.map → chunk-BS6ASI3D.js.map} +0 -0
- /package/dist/{chunk-LLSX5T7X.js.map → chunk-CIRD5P4U.js.map} +0 -0
- /package/dist/{chunk-YQCA4ZEJ.js.map → chunk-CMUNJZWN.js.map} +0 -0
- /package/dist/{chunk-WBZ4HP7D.js.map → chunk-J6ATJUEE.js.map} +0 -0
- /package/dist/{chunk-LCMXGM2P.js.map → chunk-LUBIWC3N.js.map} +0 -0
- /package/dist/{chunk-ZRCWXJDW.js.map → chunk-LZB2UZJY.js.map} +0 -0
- /package/dist/{chunk-JWXEEZKD.js.map → chunk-MIOE7FYN.js.map} +0 -0
- /package/dist/{chunk-K43T7N7O.js.map → chunk-NBM7ZB6T.js.map} +0 -0
- /package/dist/{chunk-XQ4II4BK.js.map → chunk-SOUGXQJE.js.map} +0 -0
- /package/dist/{chunk-JVLLA3Z7.js.map → chunk-WYELOUP4.js.map} +0 -0
- /package/dist/{chunk-F2KBCLUG.js.map → chunk-X5NN4NJM.js.map} +0 -0
- /package/dist/{chunk-BVQEU5JB.js.map → chunk-ZOMGXH7C.js.map} +0 -0
|
@@ -22,7 +22,7 @@ var _chunkTON3YCCWcjs = require('./chunk-TON3YCCW.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkQIVX7F3Ncjs = require('./chunk-QIVX7F3N.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');
|
|
88
89
|
|
|
89
90
|
|
|
90
91
|
|
|
91
92
|
|
|
92
93
|
|
|
93
94
|
|
|
94
|
-
var _chunkUNI3POHUcjs = require('./chunk-UNI3POHU.cjs');
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
@@ -101,19 +101,19 @@ var _chunkUNI3POHUcjs = require('./chunk-UNI3POHU.cjs');
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
|
|
104
|
+
var _chunkZI27ALYXcjs = require('./chunk-ZI27ALYX.cjs');
|
|
104
105
|
|
|
105
106
|
|
|
106
107
|
|
|
107
108
|
|
|
109
|
+
var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
|
|
108
110
|
|
|
109
111
|
|
|
110
112
|
|
|
111
|
-
var _chunkYXWGSDK4cjs = require('./chunk-YXWGSDK4.cjs');
|
|
112
113
|
|
|
113
114
|
|
|
114
115
|
|
|
115
116
|
|
|
116
|
-
var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
|
|
@@ -139,6 +139,7 @@ var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
|
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
|
|
142
|
+
var _chunkKOQCA5X5cjs = require('./chunk-KOQCA5X5.cjs');
|
|
142
143
|
|
|
143
144
|
|
|
144
145
|
|
|
@@ -146,7 +147,6 @@ var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
|
|
|
146
147
|
|
|
147
148
|
|
|
148
149
|
|
|
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');
|
|
211
212
|
|
|
212
213
|
|
|
213
214
|
|
|
215
|
+
var _chunkXQFFGR6Ucjs = require('./chunk-XQFFGR6U.cjs');
|
|
214
216
|
|
|
215
217
|
|
|
216
218
|
|
|
217
219
|
|
|
218
|
-
var _chunkGSQM4PDRcjs = require('./chunk-GSQM4PDR.cjs');
|
|
219
220
|
|
|
220
221
|
|
|
221
222
|
|
|
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 _chunk55X46LKRcjs = require('./chunk-55X46LKR.cjs');
|
|
235
235
|
|
|
236
236
|
|
|
237
237
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -240,7 +240,8 @@ var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
|
240
240
|
|
|
241
241
|
|
|
242
242
|
|
|
243
|
-
|
|
243
|
+
|
|
244
|
+
var _chunk4E7XCEV3cjs = require('./chunk-4E7XCEV3.cjs');
|
|
244
245
|
|
|
245
246
|
|
|
246
247
|
var _chunk63QUMV72cjs = require('./chunk-63QUMV72.cjs');
|
|
@@ -346,7 +347,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
346
347
|
var useTheme = _nextthemes.useTheme;
|
|
347
348
|
function useThemeToggle() {
|
|
348
349
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
349
|
-
const mounted =
|
|
350
|
+
const mounted = _chunkZYDNPUSHcjs.useIsHydrated.call(void 0, );
|
|
350
351
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
351
352
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
352
353
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -620,10 +621,10 @@ function TruncateText({
|
|
|
620
621
|
as = "div"
|
|
621
622
|
}) {
|
|
622
623
|
const isMultiLine = lines > 1;
|
|
623
|
-
const { ref, isTruncated } =
|
|
624
|
+
const { ref, isTruncated } = _chunkZI27ALYXcjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
624
625
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
625
626
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
-
|
|
627
|
+
_chunkZYDNPUSHcjs.FloatingTooltip,
|
|
627
628
|
{
|
|
628
629
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
629
630
|
side,
|
|
@@ -708,7 +709,7 @@ function AutocompleteInner(props, ref) {
|
|
|
708
709
|
};
|
|
709
710
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
710
711
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
711
|
-
const keyboardPadding =
|
|
712
|
+
const keyboardPadding = _chunkQIVX7F3Ncjs.useKeyboardCollisionPadding.call(void 0, );
|
|
712
713
|
const containerRef = _react.useRef.call(void 0, null);
|
|
713
714
|
const hiddenTagsPopupRef = _react.useRef.call(void 0, null);
|
|
714
715
|
const isInvalid = invalid || !!error;
|
|
@@ -726,7 +727,7 @@ function AutocompleteInner(props, ref) {
|
|
|
726
727
|
textMeasureRef,
|
|
727
728
|
badgeRef,
|
|
728
729
|
inputRef
|
|
729
|
-
} =
|
|
730
|
+
} = _chunkQIVX7F3Ncjs.useAutoLimitTags.call(void 0, {
|
|
730
731
|
count: multiple ? selectedOptions.length : 0,
|
|
731
732
|
limitTags: multiple ? limitTagsProp : 0,
|
|
732
733
|
placeholder: inputPlaceholder
|
|
@@ -930,7 +931,7 @@ function AutocompleteInner(props, ref) {
|
|
|
930
931
|
),
|
|
931
932
|
/* @__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: [
|
|
932
933
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
933
|
-
|
|
934
|
+
_chunkZYDNPUSHcjs.Tag,
|
|
934
935
|
{
|
|
935
936
|
variant: "outline",
|
|
936
937
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1144,7 +1145,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1144
1145
|
"aria-hidden": "true",
|
|
1145
1146
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
1146
1147
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1147
|
-
|
|
1148
|
+
_chunkZYDNPUSHcjs.Tag,
|
|
1148
1149
|
{
|
|
1149
1150
|
variant: "outline",
|
|
1150
1151
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1500,7 +1501,7 @@ function DatePickerCalendar({
|
|
|
1500
1501
|
onMonthChange
|
|
1501
1502
|
}) {
|
|
1502
1503
|
const today = /* @__PURE__ */ new Date();
|
|
1503
|
-
const isMdUp = _nullishCoalesce(
|
|
1504
|
+
const isMdUp = _nullishCoalesce(_chunkZI27ALYXcjs.useMdUp.call(void 0, ), () => ( true));
|
|
1504
1505
|
const monthsToShow = isMdUp ? numberOfMonths : 1;
|
|
1505
1506
|
const [draftRange, setDraftRange] = _react.useState.call(void 0,
|
|
1506
1507
|
mode === "range" ? selected : void 0
|
|
@@ -2534,7 +2535,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
2534
2535
|
const describedById = _react.useId.call(void 0, );
|
|
2535
2536
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
2536
2537
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2537
|
-
|
|
2538
|
+
_chunkZYDNPUSHcjs.FloatingTooltip,
|
|
2538
2539
|
{
|
|
2539
2540
|
content: children,
|
|
2540
2541
|
side,
|
|
@@ -2628,7 +2629,7 @@ function Value2({ value, depth }) {
|
|
|
2628
2629
|
}
|
|
2629
2630
|
if (typeof value === "string") {
|
|
2630
2631
|
if (ISO_DATE.test(value)) {
|
|
2631
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2632
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkZYDNPUSHcjs.formatRelativeTime.call(void 0, value) });
|
|
2632
2633
|
}
|
|
2633
2634
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2634
2635
|
}
|
|
@@ -2694,7 +2695,7 @@ var ProgressBar = ({
|
|
|
2694
2695
|
mobileHeight = 8,
|
|
2695
2696
|
inverted = false
|
|
2696
2697
|
}) => {
|
|
2697
|
-
const isMdUp = _nullishCoalesce(
|
|
2698
|
+
const isMdUp = _nullishCoalesce(_chunkZI27ALYXcjs.useMdUp.call(void 0, ), () => ( true));
|
|
2698
2699
|
const effectiveSegmentWidth = isMdUp ? segmentWidth : mobileSegmentWidth;
|
|
2699
2700
|
const effectiveHeight = isMdUp ? height : mobileHeight;
|
|
2700
2701
|
const containerRef = _react.useRef.call(void 0, null);
|
|
@@ -2810,7 +2811,7 @@ function InfoCardFooter({ footer }) {
|
|
|
2810
2811
|
] });
|
|
2811
2812
|
}
|
|
2812
2813
|
function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLabel }) {
|
|
2813
|
-
const { copy, copied } =
|
|
2814
|
+
const { copy, copied } = _chunkQIVX7F3Ncjs.useCopyToClipboard.call(void 0, );
|
|
2814
2815
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 w-full items-center gap-[var(--spacing-system-xs)] self-stretch", children: [
|
|
2815
2816
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-primary text-h4", children: showLabel ? label : "" }),
|
|
2816
2817
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-px flex-1 bg-ods-divider" }),
|
|
@@ -2900,7 +2901,7 @@ function SearchableSelect({
|
|
|
2900
2901
|
}) {
|
|
2901
2902
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
2902
2903
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
2903
|
-
const keyboardPadding =
|
|
2904
|
+
const keyboardPadding = _chunkQIVX7F3Ncjs.useKeyboardCollisionPadding.call(void 0, );
|
|
2904
2905
|
if (!isOpen && search !== "") setSearch("");
|
|
2905
2906
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
2906
2907
|
const q = search.trim().toLowerCase();
|
|
@@ -3023,7 +3024,7 @@ function CompactAssigneeDropdown({
|
|
|
3023
3024
|
value: o.value,
|
|
3024
3025
|
label: o.label,
|
|
3025
3026
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3026
|
-
|
|
3027
|
+
_chunk55X46LKRcjs.SquareAvatar,
|
|
3027
3028
|
{
|
|
3028
3029
|
src: o.imageUrl,
|
|
3029
3030
|
alt: o.label,
|
|
@@ -3058,7 +3059,7 @@ function CompactAssigneeDropdown({
|
|
|
3058
3059
|
className
|
|
3059
3060
|
),
|
|
3060
3061
|
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,
|
|
3061
|
-
|
|
3062
|
+
_chunk55X46LKRcjs.SquareAvatar,
|
|
3062
3063
|
{
|
|
3063
3064
|
src: currentAssignee.avatarSrc,
|
|
3064
3065
|
alt: currentAssignee.name,
|
|
@@ -3106,7 +3107,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3106
3107
|
const opt = option;
|
|
3107
3108
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-sf)]", children: [
|
|
3108
3109
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3109
|
-
|
|
3110
|
+
_chunk55X46LKRcjs.SquareAvatar,
|
|
3110
3111
|
{
|
|
3111
3112
|
src: opt.imageUrl,
|
|
3112
3113
|
alt: opt.label,
|
|
@@ -3141,7 +3142,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3141
3142
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3142
3143
|
}
|
|
3143
3144
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3144
|
-
|
|
3145
|
+
_chunk55X46LKRcjs.SquareAvatar,
|
|
3145
3146
|
{
|
|
3146
3147
|
src: currentAssignee.avatarSrc,
|
|
3147
3148
|
alt: currentAssignee.name,
|
|
@@ -3166,7 +3167,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3166
3167
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3167
3168
|
}
|
|
3168
3169
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3169
|
-
|
|
3170
|
+
_chunk55X46LKRcjs.SquareAvatar,
|
|
3170
3171
|
{
|
|
3171
3172
|
src: currentAssignee.avatarSrc,
|
|
3172
3173
|
alt: currentAssignee.name,
|
|
@@ -3240,7 +3241,7 @@ function TextValue({ value }) {
|
|
|
3240
3241
|
}
|
|
3241
3242
|
) : 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 }),
|
|
3242
3243
|
hasImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3243
|
-
|
|
3244
|
+
_chunk55X46LKRcjs.SquareAvatar,
|
|
3244
3245
|
{
|
|
3245
3246
|
src: imageSrc,
|
|
3246
3247
|
alt: text,
|
|
@@ -3260,7 +3261,7 @@ function RowValue({ value }) {
|
|
|
3260
3261
|
}
|
|
3261
3262
|
case "status": {
|
|
3262
3263
|
const { type: _type, ...props } = value;
|
|
3263
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3264
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TicketStatusTag, { ...props });
|
|
3264
3265
|
}
|
|
3265
3266
|
case "custom":
|
|
3266
3267
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -3776,7 +3777,7 @@ function TagSelectDropdown({
|
|
|
3776
3777
|
}) {
|
|
3777
3778
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
3778
3779
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
3779
|
-
const keyboardPadding =
|
|
3780
|
+
const keyboardPadding = _chunkQIVX7F3Ncjs.useKeyboardCollisionPadding.call(void 0, );
|
|
3780
3781
|
if (!isOpen && search !== "") setSearch("");
|
|
3781
3782
|
const query = search.trim();
|
|
3782
3783
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
@@ -4068,7 +4069,7 @@ function TagsManager({
|
|
|
4068
4069
|
}) {
|
|
4069
4070
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
4070
4071
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
4071
|
-
const keyboardPadding =
|
|
4072
|
+
const keyboardPadding = _chunkQIVX7F3Ncjs.useKeyboardCollisionPadding.call(void 0, );
|
|
4072
4073
|
const [editingId, setEditingId] = _react.useState.call(void 0, null);
|
|
4073
4074
|
const [editingName, setEditingName] = _react.useState.call(void 0, "");
|
|
4074
4075
|
const editInputRef = _react.useRef.call(void 0, null);
|
|
@@ -4171,7 +4172,7 @@ function TagsManager({
|
|
|
4171
4172
|
}
|
|
4172
4173
|
),
|
|
4173
4174
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4174
|
-
|
|
4175
|
+
_chunkZYDNPUSHcjs.Tag,
|
|
4175
4176
|
{
|
|
4176
4177
|
label: tag.name,
|
|
4177
4178
|
variant: "outline",
|
|
@@ -4716,10 +4717,10 @@ function useConfirm() {
|
|
|
4716
4717
|
},
|
|
4717
4718
|
[]
|
|
4718
4719
|
);
|
|
4719
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4720
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4721
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4722
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4720
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4721
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalTitle, { children: pending.title }) }),
|
|
4722
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4723
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.ModalFooter, { children: [
|
|
4723
4724
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4724
4725
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4725
4726
|
] })
|
|
@@ -4782,9 +4783,9 @@ function AdminFormModal({
|
|
|
4782
4783
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4783
4784
|
});
|
|
4784
4785
|
if (!isOpen) return null;
|
|
4785
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4786
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4787
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4786
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4787
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.ModalHeader, { children: [
|
|
4788
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalTitle, { children: title }),
|
|
4788
4789
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4789
4790
|
] }),
|
|
4790
4791
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4809,7 +4810,7 @@ function AdminFormModal({
|
|
|
4809
4810
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4810
4811
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4811
4812
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4812
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4813
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4813
4814
|
"div",
|
|
4814
4815
|
{
|
|
4815
4816
|
"aria-busy": "true",
|
|
@@ -4830,12 +4831,12 @@ function AdminFormModal({
|
|
|
4830
4831
|
]
|
|
4831
4832
|
}
|
|
4832
4833
|
) })
|
|
4833
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4834
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalContent, { className: contentClassName, children }),
|
|
4834
4835
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4835
4836
|
]
|
|
4836
4837
|
}
|
|
4837
4838
|
),
|
|
4838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4839
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4839
4840
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4840
4841
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4841
4842
|
footerStatus,
|
|
@@ -5708,7 +5709,7 @@ function FadePreview({
|
|
|
5708
5709
|
setCollapsedFor(resetKey);
|
|
5709
5710
|
setExpanded(false);
|
|
5710
5711
|
}
|
|
5711
|
-
|
|
5712
|
+
_chunkZI27ALYXcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
5712
5713
|
const el = contentRef.current;
|
|
5713
5714
|
if (!el) return;
|
|
5714
5715
|
if (!fixedHeight) {
|
|
@@ -6125,9 +6126,9 @@ var KIND_HEADING = {
|
|
|
6125
6126
|
design: "Claude Design"
|
|
6126
6127
|
};
|
|
6127
6128
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
6128
|
-
const { src: mirrorSrc, status } =
|
|
6129
|
+
const { src: mirrorSrc, status } = _chunkQIVX7F3Ncjs.useClaudeMirrorSrc.call(void 0, url);
|
|
6129
6130
|
const isProbing = status === "probing";
|
|
6130
|
-
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => (
|
|
6131
|
+
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunkQIVX7F3Ncjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
6131
6132
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6132
6133
|
EmbedViewerFrame,
|
|
6133
6134
|
{
|
|
@@ -6202,12 +6203,12 @@ function SlidesViewToggle({ view, onChange }) {
|
|
|
6202
6203
|
}
|
|
6203
6204
|
function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
6204
6205
|
const [view, setView] = _react.useState.call(void 0, "present");
|
|
6205
|
-
const isSlides = url ?
|
|
6206
|
-
const embedSrc = url ?
|
|
6206
|
+
const isSlides = url ? _chunkQIVX7F3Ncjs.isFigmaSlidesUrl.call(void 0, url) : false;
|
|
6207
|
+
const embedSrc = url ? _chunkQIVX7F3Ncjs.toFigmaEmbedUrl.call(void 0, url, { slidesView: view }) : null;
|
|
6207
6208
|
const originalUrl = (() => {
|
|
6208
6209
|
if (!url) return null;
|
|
6209
6210
|
try {
|
|
6210
|
-
const parsed = new URL(
|
|
6211
|
+
const parsed = new URL(_chunkQIVX7F3Ncjs.toFigmaOriginalUrl.call(void 0, url));
|
|
6211
6212
|
const host = parsed.hostname.toLowerCase();
|
|
6212
6213
|
const okHost = host === "figma.com" || host.endsWith(".figma.com");
|
|
6213
6214
|
const okProtocol = parsed.protocol === "https:" || parsed.protocol === "http:";
|
|
@@ -6592,7 +6593,7 @@ var OGLinkPreview = ({
|
|
|
6592
6593
|
const hasImage = !!resolvedImageUrl;
|
|
6593
6594
|
const isCuratedImage = _optionalChain([resolvedImage, 'optionalAccess', _132 => _132.source]) === "curated";
|
|
6594
6595
|
const isPlaceholder = _optionalChain([resolvedImage, 'optionalAccess', _133 => _133.source]) === "placeholder";
|
|
6595
|
-
const bgColor =
|
|
6596
|
+
const bgColor = _chunk4E7XCEV3cjs.useImageEdgeColor.call(void 0, _nullishCoalesce(resolvedImageUrl, () => ( null)), "var(--color-bg-surface)");
|
|
6596
6597
|
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: [
|
|
6597
6598
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full w-[200px] flex-shrink-0 animate-pulse bg-ods-border" }),
|
|
6598
6599
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col justify-center p-3", children: [
|
|
@@ -6981,7 +6982,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6981
6982
|
};
|
|
6982
6983
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6983
6984
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6984
|
-
|
|
6985
|
+
_chunkZYDNPUSHcjs.Video,
|
|
6985
6986
|
{
|
|
6986
6987
|
url: item.src,
|
|
6987
6988
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7413,7 +7414,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
|
|
|
7413
7414
|
width: m.width,
|
|
7414
7415
|
height: m.height
|
|
7415
7416
|
}));
|
|
7416
|
-
const formatNumber2 =
|
|
7417
|
+
const formatNumber2 = _chunk55X46LKRcjs.formatLargeNumber;
|
|
7417
7418
|
const truncateText = (text, maxLength = 600) => {
|
|
7418
7419
|
if (text.length <= maxLength) return text;
|
|
7419
7420
|
return text.slice(0, maxLength) + "...";
|
|
@@ -7705,7 +7706,7 @@ function buildRichEmbedOverrides({
|
|
|
7705
7706
|
ogEndpointPath,
|
|
7706
7707
|
textSizes
|
|
7707
7708
|
}) {
|
|
7708
|
-
const standard =
|
|
7709
|
+
const standard = _chunkZYDNPUSHcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7709
7710
|
return {
|
|
7710
7711
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7711
7712
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7715,7 +7716,7 @@ function buildRichEmbedOverrides({
|
|
|
7715
7716
|
const language = match ? match[1] : "";
|
|
7716
7717
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7717
7718
|
if (language === "youtube-embed") {
|
|
7718
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7719
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7719
7720
|
}
|
|
7720
7721
|
if (language === "reddit-embed") {
|
|
7721
7722
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7756,7 +7757,7 @@ function buildRichEmbedOverrides({
|
|
|
7756
7757
|
"data-figma-url": figmaUrl
|
|
7757
7758
|
} = divProps;
|
|
7758
7759
|
if (className === "youtube-embed" && videoId) {
|
|
7759
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7760
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.Video, { kind: "youtube", url: videoId });
|
|
7760
7761
|
}
|
|
7761
7762
|
if (className === "reddit-embed" && postUrl) {
|
|
7762
7763
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7841,14 +7842,14 @@ function buildRichEmbedOverrides({
|
|
|
7841
7842
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7842
7843
|
// elsewhere). Guard against empty `![]()`.
|
|
7843
7844
|
img: ({ src, alt }) => {
|
|
7844
|
-
if (!
|
|
7845
|
+
if (!_chunkZYDNPUSHcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7845
7846
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7846
7847
|
},
|
|
7847
7848
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7848
7849
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7849
7850
|
video: ({ src, poster, className }) => {
|
|
7850
|
-
if (!
|
|
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,
|
|
7851
|
+
if (!_chunkZYDNPUSHcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
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, _chunkZYDNPUSHcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7852
7853
|
}
|
|
7853
7854
|
};
|
|
7854
7855
|
}
|
|
@@ -8089,13 +8090,13 @@ var RichMarkdownInner = ({
|
|
|
8089
8090
|
},
|
|
8090
8091
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8091
8092
|
);
|
|
8092
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8093
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkZYDNPUSHcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8093
8094
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8094
8095
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8095
8096
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8096
8097
|
);
|
|
8097
8098
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8098
|
-
|
|
8099
|
+
_chunkZYDNPUSHcjs.MarkdownEngine,
|
|
8099
8100
|
{
|
|
8100
8101
|
content,
|
|
8101
8102
|
className,
|
|
@@ -8117,7 +8118,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8117
8118
|
className = "",
|
|
8118
8119
|
sectionIds,
|
|
8119
8120
|
onInternalLinkClick,
|
|
8120
|
-
brokenLinks =
|
|
8121
|
+
brokenLinks = _chunkZYDNPUSHcjs.NO_BROKEN_LINKS,
|
|
8121
8122
|
currentPath,
|
|
8122
8123
|
resolveSource = "openframe-docs",
|
|
8123
8124
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8690,7 +8691,7 @@ function FilterModal({
|
|
|
8690
8691
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _167 => _167.defaultSort]), () => ( "desc"));
|
|
8691
8692
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _168 => _168.sort]), () => ( dateDefaultSort)));
|
|
8692
8693
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _169 => _169.range]));
|
|
8693
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8694
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkZYDNPUSHcjs.useScrollFade.call(void 0, );
|
|
8694
8695
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8695
8696
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8696
8697
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8735,10 +8736,10 @@ function FilterModal({
|
|
|
8735
8736
|
const hasFilterGroups = filterGroups.length > 0;
|
|
8736
8737
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8737
8738
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8738
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8739
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8739
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.Modal, { isOpen, onClose, className: _chunk23V5BSHDcjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
8740
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalTitle, { children: title }) }),
|
|
8740
8741
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8741
|
-
|
|
8742
|
+
_chunkZYDNPUSHcjs.ModalContent,
|
|
8742
8743
|
{
|
|
8743
8744
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
8744
8745
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8830,12 +8831,12 @@ function FilterModal({
|
|
|
8830
8831
|
] })
|
|
8831
8832
|
}
|
|
8832
8833
|
),
|
|
8833
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8834
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8834
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8835
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8835
8836
|
] })
|
|
8836
8837
|
}
|
|
8837
8838
|
),
|
|
8838
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8839
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.ModalFooter, { children: [
|
|
8839
8840
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8840
8841
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8841
8842
|
] })
|
|
@@ -8879,9 +8880,9 @@ function actionToMenuItems(action, idx) {
|
|
|
8879
8880
|
function renderActionButton(action, opts = {}) {
|
|
8880
8881
|
const button = renderRawActionButton(action, opts);
|
|
8881
8882
|
if (!action.tooltip) return button;
|
|
8882
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8883
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8884
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8883
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.Tooltip, { children: [
|
|
8884
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
8885
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipContent, { children: action.tooltip })
|
|
8885
8886
|
] }) });
|
|
8886
8887
|
}
|
|
8887
8888
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -8905,7 +8906,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
8905
8906
|
}
|
|
8906
8907
|
if (action.submenu && action.submenu.length > 0) {
|
|
8907
8908
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8908
|
-
|
|
8909
|
+
_chunkZYDNPUSHcjs.ActionsMenuDropdown,
|
|
8909
8910
|
{
|
|
8910
8911
|
groups: [{ items: action.submenu }],
|
|
8911
8912
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9040,10 +9041,10 @@ function IconButtonsVariant({
|
|
|
9040
9041
|
selector,
|
|
9041
9042
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9042
9043
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
9043
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9044
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
9044
9045
|
] })
|
|
9045
9046
|
] }),
|
|
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,
|
|
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, _chunkZYDNPUSHcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9047
9048
|
] });
|
|
9048
9049
|
}
|
|
9049
9050
|
function PrimaryButtonsVariant({
|
|
@@ -9081,7 +9082,7 @@ function MenuPrimaryVariant({
|
|
|
9081
9082
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9082
9083
|
selector,
|
|
9083
9084
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9084
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9085
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9085
9086
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
9086
9087
|
] })
|
|
9087
9088
|
] }),
|
|
@@ -9089,7 +9090,7 @@ function MenuPrimaryVariant({
|
|
|
9089
9090
|
// The selector rides into the menu as its header row: on mobile the
|
|
9090
9091
|
// title row has no room for it, and hiding it entirely (what
|
|
9091
9092
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9092
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9093
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9093
9094
|
) : null })
|
|
9094
9095
|
] });
|
|
9095
9096
|
}
|
|
@@ -9297,7 +9298,7 @@ function ListPageLayout({
|
|
|
9297
9298
|
}) {
|
|
9298
9299
|
const [mobileFilterOpen, setMobileFilterOpen] = _react.useState.call(void 0, false);
|
|
9299
9300
|
const [localSearchValue, setLocalSearchValue] = _react.useState.call(void 0, searchValue);
|
|
9300
|
-
const debouncedSearchValue =
|
|
9301
|
+
const debouncedSearchValue = _chunkZI27ALYXcjs.useDebounce.call(void 0, localSearchValue, 500);
|
|
9301
9302
|
const [syncedSearchValue, setSyncedSearchValue] = _react.useState.call(void 0, searchValue);
|
|
9302
9303
|
if (syncedSearchValue !== searchValue) {
|
|
9303
9304
|
setSyncedSearchValue(searchValue);
|
|
@@ -9380,11 +9381,11 @@ function ListPageLayout({
|
|
|
9380
9381
|
|
|
9381
9382
|
var ENTITY_IMAGE_SIZE = "size-[52px] md:size-[60px]";
|
|
9382
9383
|
function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
9383
|
-
const resolvedSrc =
|
|
9384
|
+
const resolvedSrc = _chunk4E7XCEV3cjs.useAuthedImageSrc.call(void 0, src);
|
|
9384
9385
|
const [failedSrc, setFailedSrc] = _react2.default.useState(null);
|
|
9385
9386
|
const imageFailed = resolvedSrc !== void 0 && failedSrc === resolvedSrc;
|
|
9386
9387
|
const showFallback = imageFailed || !resolvedSrc;
|
|
9387
|
-
const initials =
|
|
9388
|
+
const initials = _chunk55X46LKRcjs.personInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
9388
9389
|
if (showFallback) {
|
|
9389
9390
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9390
9391
|
"div",
|
|
@@ -9457,8 +9458,8 @@ function TitleBlock({
|
|
|
9457
9458
|
const titleClass = titleSize === "h1" ? "text-h1" : "text-h2";
|
|
9458
9459
|
const titleOverflowClass = titleWrap ? "break-words" : "truncate";
|
|
9459
9460
|
const skeletonSize = TITLE_SKELETON_SIZE[titleSize];
|
|
9460
|
-
const { ref: titleRef, isTruncated: titleTruncated } =
|
|
9461
|
-
const { ref: subtitleRef, isTruncated: subtitleTruncated } =
|
|
9461
|
+
const { ref: titleRef, isTruncated: titleTruncated } = _chunkZI27ALYXcjs.useIsTruncated.call(void 0, loading ? null : title);
|
|
9462
|
+
const { ref: subtitleRef, isTruncated: subtitleTruncated } = _chunkZI27ALYXcjs.useIsTruncated.call(void 0,
|
|
9462
9463
|
loading ? null : subtitle
|
|
9463
9464
|
);
|
|
9464
9465
|
const titleNode = loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TitleTextSkeleton, { widthClass: skeletonSize.width, heightClass: skeletonSize.height }) : title;
|
|
@@ -9495,7 +9496,7 @@ function TitleBlock({
|
|
|
9495
9496
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
9496
9497
|
(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: [
|
|
9497
9498
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9498
|
-
|
|
9499
|
+
_chunkZYDNPUSHcjs.FloatingTooltip,
|
|
9499
9500
|
{
|
|
9500
9501
|
content: title,
|
|
9501
9502
|
side: "bottom",
|
|
@@ -9512,12 +9513,12 @@ function TitleBlock({
|
|
|
9512
9513
|
}
|
|
9513
9514
|
),
|
|
9514
9515
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9515
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9516
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.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 }) })),
|
|
9516
9517
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
9517
9518
|
empty `p` collapses to zero height (its only content would be
|
|
9518
9519
|
collapsible whitespace), which is exactly the shift that mode
|
|
9519
9520
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
9520
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9521
9522
|
"p",
|
|
9522
9523
|
{
|
|
9523
9524
|
ref: subtitleRef,
|
|
@@ -9528,7 +9529,7 @@ function TitleBlock({
|
|
|
9528
9529
|
) })
|
|
9529
9530
|
] })
|
|
9530
9531
|
] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9531
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9532
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.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 }) }),
|
|
9532
9533
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9533
9534
|
] }) : (
|
|
9534
9535
|
/* This branch never had the single-line clamp, so text already
|
|
@@ -9972,7 +9973,7 @@ function toToolLabel(input) {
|
|
|
9972
9973
|
if (!input) return "";
|
|
9973
9974
|
const toolType = normalizeToolType(input);
|
|
9974
9975
|
if (toolType) {
|
|
9975
|
-
return
|
|
9976
|
+
return _chunkZI27ALYXcjs.toolLabels[toolType];
|
|
9976
9977
|
}
|
|
9977
9978
|
return input;
|
|
9978
9979
|
}
|
|
@@ -9983,7 +9984,7 @@ function getToolTypeAliases(toolType) {
|
|
|
9983
9984
|
return Object.entries(toolAliasMap).filter(([_, value]) => value === toolType).map(([key]) => key);
|
|
9984
9985
|
}
|
|
9985
9986
|
function getToolLabel(toolType) {
|
|
9986
|
-
return
|
|
9987
|
+
return _chunkZI27ALYXcjs.toolLabels[toolType] || toolType;
|
|
9987
9988
|
}
|
|
9988
9989
|
|
|
9989
9990
|
// src/types/shell.types.ts
|
|
@@ -10254,7 +10255,7 @@ function canUseCookies() {
|
|
|
10254
10255
|
return document.URL.startsWith("http:") || document.URL.startsWith("https:");
|
|
10255
10256
|
}
|
|
10256
10257
|
function fallbackStore(name) {
|
|
10257
|
-
return
|
|
10258
|
+
return _chunk4E7XCEV3cjs.createLocalStorageAdapter.call(void 0, {
|
|
10258
10259
|
key: name,
|
|
10259
10260
|
logTag: "[dismiss-cookie]",
|
|
10260
10261
|
validate: (parsed) => typeof parsed === "string"
|
|
@@ -10360,7 +10361,7 @@ var HIDDEN_GRACE_MS = 45e3;
|
|
|
10360
10361
|
function createSseSubscription(options) {
|
|
10361
10362
|
const {
|
|
10362
10363
|
url,
|
|
10363
|
-
fetchImpl =
|
|
10364
|
+
fetchImpl = _chunk4E7XCEV3cjs.embedAuthedFetch,
|
|
10364
10365
|
onEvent,
|
|
10365
10366
|
onStatusChange,
|
|
10366
10367
|
onConnectedChange,
|
|
@@ -10943,7 +10944,7 @@ function lastPathSegment(url) {
|
|
|
10943
10944
|
function makeComposeContentUrl(opts) {
|
|
10944
10945
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
10945
10946
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
10946
|
-
const type =
|
|
10947
|
+
const type = _chunk55X46LKRcjs.canonicalContentRefType.call(void 0, rawType);
|
|
10947
10948
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
10948
10949
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
10949
10950
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -11121,8 +11122,8 @@ var DEFAULT_OPTIONS = {
|
|
|
11121
11122
|
function extractSections(markdown, options = {}) {
|
|
11122
11123
|
const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
11123
11124
|
const sections = [];
|
|
11124
|
-
const dedupe =
|
|
11125
|
-
const scanned =
|
|
11125
|
+
const dedupe = _chunkZI27ALYXcjs.createHeadingIdDeduper.call(void 0, );
|
|
11126
|
+
const scanned = _chunkZI27ALYXcjs.scanHeadings.call(void 0, markdown, {
|
|
11126
11127
|
skipFrontmatter: opts.skipCodeAndYamlBlocks,
|
|
11127
11128
|
skipFences: opts.skipCodeAndYamlBlocks
|
|
11128
11129
|
});
|
|
@@ -11130,9 +11131,9 @@ function extractSections(markdown, options = {}) {
|
|
|
11130
11131
|
if (heading.level > opts.maxLevel) continue;
|
|
11131
11132
|
let title = heading.text;
|
|
11132
11133
|
if (opts.stripFormattingMarkers) {
|
|
11133
|
-
title =
|
|
11134
|
+
title = _chunkZYDNPUSHcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
11134
11135
|
}
|
|
11135
|
-
const baseId =
|
|
11136
|
+
const baseId = _chunkZI27ALYXcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkZI27ALYXcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
11136
11137
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
11137
11138
|
sections.push({
|
|
11138
11139
|
id: opts.handleDuplicateIds ? dedupe(cleanId) : cleanId,
|
|
@@ -11189,7 +11190,7 @@ function sanitizeLandingUrl(url) {
|
|
|
11189
11190
|
}
|
|
11190
11191
|
}
|
|
11191
11192
|
function makeAdapter() {
|
|
11192
|
-
return
|
|
11193
|
+
return _chunk4E7XCEV3cjs.createLocalStorageAdapter.call(void 0, {
|
|
11193
11194
|
key: FIRST_TOUCH_ATTRIBUTION_KEY,
|
|
11194
11195
|
backend: "session",
|
|
11195
11196
|
logTag: "[first-touch-attribution]",
|
|
@@ -11703,7 +11704,7 @@ function DashboardInfoCard({
|
|
|
11703
11704
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
11704
11705
|
if (asTag) {
|
|
11705
11706
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
11706
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11707
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
11707
11708
|
}
|
|
11708
11709
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
11709
11710
|
"(",
|
|
@@ -11757,7 +11758,7 @@ function DashboardInfoCard({
|
|
|
11757
11758
|
/* @__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 }),
|
|
11758
11759
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
11759
11760
|
renderPercentage(),
|
|
11760
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11761
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.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 }) }) })
|
|
11761
11762
|
] })
|
|
11762
11763
|
] }),
|
|
11763
11764
|
renderProgress()
|
|
@@ -11940,7 +11941,7 @@ function DeviceCard({
|
|
|
11940
11941
|
] }),
|
|
11941
11942
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
11942
11943
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11943
|
-
|
|
11944
|
+
_chunkZYDNPUSHcjs.Tag,
|
|
11944
11945
|
{
|
|
11945
11946
|
variant: statusTag.variant,
|
|
11946
11947
|
icon: statusTag.icon,
|
|
@@ -11954,7 +11955,7 @@ function DeviceCard({
|
|
|
11954
11955
|
formatLastSeen(device.lastSeen)
|
|
11955
11956
|
] })
|
|
11956
11957
|
] }),
|
|
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,
|
|
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, _chunkZYDNPUSHcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
11958
11959
|
]
|
|
11959
11960
|
}
|
|
11960
11961
|
);
|
|
@@ -12015,7 +12016,7 @@ function FeatureCardGrid({
|
|
|
12015
12016
|
if (allCardsHaveNoBorders) {
|
|
12016
12017
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
12017
12018
|
}
|
|
12018
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12019
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55X46LKRcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
12019
12020
|
const startIndex = rowIndex * itemsPerRow;
|
|
12020
12021
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
12021
12022
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -12045,7 +12046,7 @@ function FeatureCardGrid({
|
|
|
12045
12046
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
12046
12047
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
12047
12048
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12048
|
-
|
|
12049
|
+
_chunk55X46LKRcjs.StatusBadge,
|
|
12049
12050
|
{
|
|
12050
12051
|
text: item.badge.text,
|
|
12051
12052
|
variant: item.badge.variant || "card",
|
|
@@ -12054,7 +12055,7 @@ function FeatureCardGrid({
|
|
|
12054
12055
|
)
|
|
12055
12056
|
] }),
|
|
12056
12057
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12057
|
-
|
|
12058
|
+
_chunk55X46LKRcjs.StatusBadge,
|
|
12058
12059
|
{
|
|
12059
12060
|
text: item.badge.text,
|
|
12060
12061
|
variant: item.badge.variant || "card",
|
|
@@ -12102,7 +12103,7 @@ function FeatureList({ items, className = "", iconBoxSize = 72 }) {
|
|
|
12102
12103
|
|
|
12103
12104
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
12104
12105
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12105
|
-
|
|
12106
|
+
_chunkZYDNPUSHcjs.FloatingTooltip,
|
|
12106
12107
|
{
|
|
12107
12108
|
as: "span",
|
|
12108
12109
|
side: "top",
|
|
@@ -12286,7 +12287,7 @@ function DropdownButton({
|
|
|
12286
12287
|
)
|
|
12287
12288
|
);
|
|
12288
12289
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12289
|
-
|
|
12290
|
+
_chunkZYDNPUSHcjs.ActionsMenuDropdown,
|
|
12290
12291
|
{
|
|
12291
12292
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
12292
12293
|
open,
|
|
@@ -12501,8 +12502,8 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
12501
12502
|
}
|
|
12502
12503
|
function ServiceCardRowItem({ row }) {
|
|
12503
12504
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
12504
|
-
const { copy, copied } =
|
|
12505
|
-
const { ref: valueRef, isTruncated: valueTruncated } =
|
|
12505
|
+
const { copy, copied } = _chunkQIVX7F3Ncjs.useCopyToClipboard.call(void 0, );
|
|
12506
|
+
const { ref: valueRef, isTruncated: valueTruncated } = _chunkZI27ALYXcjs.useIsTruncated.call(void 0, row.value);
|
|
12506
12507
|
const actions = _react.useMemo.call(void 0,
|
|
12507
12508
|
() => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }),
|
|
12508
12509
|
[row]
|
|
@@ -12524,7 +12525,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12524
12525
|
),
|
|
12525
12526
|
children: [
|
|
12526
12527
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12527
|
-
|
|
12528
|
+
_chunkZYDNPUSHcjs.FloatingTooltip,
|
|
12528
12529
|
{
|
|
12529
12530
|
content: row.value,
|
|
12530
12531
|
side: "top",
|
|
@@ -12616,7 +12617,7 @@ function PersonCell({
|
|
|
12616
12617
|
}) {
|
|
12617
12618
|
const displayName = name || fallbackName;
|
|
12618
12619
|
const row = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "group/person-cell flex min-w-0 items-center gap-3", children: [
|
|
12619
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12620
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55X46LKRcjs.SquareAvatar, { size: "sm", src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
12620
12621
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
12621
12622
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12622
12623
|
TruncateText,
|
|
@@ -12656,9 +12657,9 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12656
12657
|
);
|
|
12657
12658
|
}
|
|
12658
12659
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
12659
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12660
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.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: [
|
|
12660
12661
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12661
|
-
|
|
12662
|
+
_chunk55X46LKRcjs.AvatarStack,
|
|
12662
12663
|
{
|
|
12663
12664
|
size: "sm",
|
|
12664
12665
|
slots: PEOPLE_CELL_STACK_SLOTS,
|
|
@@ -12666,7 +12667,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12666
12667
|
}
|
|
12667
12668
|
) }),
|
|
12668
12669
|
/* @__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: [
|
|
12669
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) =>
|
|
12670
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) => _chunk55X46LKRcjs.personFirstName.call(void 0, p.name, "Unknown")).join(" & ") }),
|
|
12670
12671
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: fullNames })
|
|
12671
12672
|
] })
|
|
12672
12673
|
] }) });
|
|
@@ -12718,9 +12719,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12718
12719
|
return next;
|
|
12719
12720
|
});
|
|
12720
12721
|
};
|
|
12721
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12722
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
12722
12723
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12723
|
-
|
|
12724
|
+
_chunkZYDNPUSHcjs.TooltipTrigger,
|
|
12724
12725
|
{
|
|
12725
12726
|
asChild: true,
|
|
12726
12727
|
onPointerDown: (e) => {
|
|
@@ -12738,7 +12739,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12738
12739
|
children
|
|
12739
12740
|
}
|
|
12740
12741
|
),
|
|
12741
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12742
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
12742
12743
|
] }) });
|
|
12743
12744
|
}
|
|
12744
12745
|
|
|
@@ -13299,7 +13300,7 @@ function TableHeader({
|
|
|
13299
13300
|
}
|
|
13300
13301
|
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" });
|
|
13301
13302
|
};
|
|
13302
|
-
const isLgUp = _nullishCoalesce(
|
|
13303
|
+
const isLgUp = _nullishCoalesce(_chunkZI27ALYXcjs.useLgUp.call(void 0, ), () => ( false));
|
|
13303
13304
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13304
13305
|
"div",
|
|
13305
13306
|
{
|
|
@@ -13993,9 +13994,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
13993
13994
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
13994
13995
|
}
|
|
13995
13996
|
}, []);
|
|
13996
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13997
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13998
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13997
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
13998
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.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 }) }) }),
|
|
13999
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
13999
14000
|
] }) });
|
|
14000
14001
|
}
|
|
14001
14002
|
|
|
@@ -14048,9 +14049,9 @@ function TruncatedCell({ value, className }) {
|
|
|
14048
14049
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14049
14050
|
}
|
|
14050
14051
|
}, []);
|
|
14051
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14052
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14053
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14052
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14053
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.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 }) }),
|
|
14054
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
14054
14055
|
] }) });
|
|
14055
14056
|
}
|
|
14056
14057
|
|
|
@@ -14165,7 +14166,7 @@ function QueryReportTable({
|
|
|
14165
14166
|
onThumbPointerDown,
|
|
14166
14167
|
onThumbPointerMove,
|
|
14167
14168
|
onThumbPointerUp
|
|
14168
|
-
} =
|
|
14169
|
+
} = _chunkQIVX7F3Ncjs.useHorizontalScrollbar.call(void 0, );
|
|
14169
14170
|
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: [
|
|
14170
14171
|
!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: [
|
|
14171
14172
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -15056,10 +15057,10 @@ function SearchInput({
|
|
|
15056
15057
|
}) {
|
|
15057
15058
|
const [internalValue, setInternalValue] = _react.useState.call(void 0, defaultValue);
|
|
15058
15059
|
const currentValue = onChange ? _nullishCoalesce(value, () => ( "")) : internalValue;
|
|
15059
|
-
const debouncedValue =
|
|
15060
|
+
const debouncedValue = _chunkZI27ALYXcjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
15060
15061
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
15061
15062
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
15062
|
-
const keyboardPadding =
|
|
15063
|
+
const keyboardPadding = _chunkQIVX7F3Ncjs.useKeyboardCollisionPadding.call(void 0, );
|
|
15063
15064
|
const containerRef = _react.useRef.call(void 0, null);
|
|
15064
15065
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
15065
15066
|
const {
|
|
@@ -15069,7 +15070,7 @@ function SearchInput({
|
|
|
15069
15070
|
textMeasureRef,
|
|
15070
15071
|
badgeRef,
|
|
15071
15072
|
inputRef
|
|
15072
|
-
} =
|
|
15073
|
+
} = _chunkQIVX7F3Ncjs.useAutoLimitTags.call(void 0, {
|
|
15073
15074
|
count: filterChips.length,
|
|
15074
15075
|
limitTags,
|
|
15075
15076
|
// When chips exist, pass empty placeholder so the hook only reserves input minWidth,
|
|
@@ -15091,7 +15092,7 @@ function SearchInput({
|
|
|
15091
15092
|
document.addEventListener("mousedown", handleClick);
|
|
15092
15093
|
return () => document.removeEventListener("mousedown", handleClick);
|
|
15093
15094
|
}, [showHiddenTags]);
|
|
15094
|
-
|
|
15095
|
+
_chunkZI27ALYXcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
15095
15096
|
const popup = hiddenTagsPopupRef.current;
|
|
15096
15097
|
const badge = badgeRef.current;
|
|
15097
15098
|
if (!popup || !badge) return;
|
|
@@ -15262,7 +15263,7 @@ function SearchInput({
|
|
|
15262
15263
|
/* @__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, {}) }),
|
|
15263
15264
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
15264
15265
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15265
|
-
|
|
15266
|
+
_chunkZYDNPUSHcjs.Tag,
|
|
15266
15267
|
{
|
|
15267
15268
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15268
15269
|
label: chip.label,
|
|
@@ -15378,7 +15379,7 @@ function SearchInput({
|
|
|
15378
15379
|
}
|
|
15379
15380
|
),
|
|
15380
15381
|
/* @__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,
|
|
15381
|
-
|
|
15382
|
+
_chunkZYDNPUSHcjs.Tag,
|
|
15382
15383
|
{
|
|
15383
15384
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15384
15385
|
label: chip.label,
|
|
@@ -15520,7 +15521,7 @@ function TagSearchInput({
|
|
|
15520
15521
|
limitTags = "auto"
|
|
15521
15522
|
}) {
|
|
15522
15523
|
const currentPlaceholder = tags.length === 0 ? placeholder : addMorePlaceholder;
|
|
15523
|
-
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } =
|
|
15524
|
+
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } = _chunkQIVX7F3Ncjs.useAutoLimitTags.call(void 0, {
|
|
15524
15525
|
count: tags.length,
|
|
15525
15526
|
limitTags,
|
|
15526
15527
|
placeholder: currentPlaceholder
|
|
@@ -15540,7 +15541,7 @@ function TagSearchInput({
|
|
|
15540
15541
|
document.addEventListener("mousedown", handleClick);
|
|
15541
15542
|
return () => document.removeEventListener("mousedown", handleClick);
|
|
15542
15543
|
}, [showHiddenTags]);
|
|
15543
|
-
|
|
15544
|
+
_chunkZI27ALYXcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
15544
15545
|
const popup = hiddenTagsPopupRef.current;
|
|
15545
15546
|
const badge = badgeRef.current;
|
|
15546
15547
|
if (!popup || !badge) return;
|
|
@@ -15591,7 +15592,7 @@ function TagSearchInput({
|
|
|
15591
15592
|
/* @__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" }) }),
|
|
15592
15593
|
/* @__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: [
|
|
15593
15594
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15594
|
-
|
|
15595
|
+
_chunkZYDNPUSHcjs.Tag,
|
|
15595
15596
|
{
|
|
15596
15597
|
variant: "outline",
|
|
15597
15598
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -15679,7 +15680,7 @@ function TagSearchInput({
|
|
|
15679
15680
|
"aria-hidden": "true",
|
|
15680
15681
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
15681
15682
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15682
|
-
|
|
15683
|
+
_chunkZYDNPUSHcjs.Tag,
|
|
15683
15684
|
{
|
|
15684
15685
|
variant: "outline",
|
|
15685
15686
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -16393,7 +16394,7 @@ function ImageUploader({
|
|
|
16393
16394
|
const [pressed, setPressed] = _react.useState.call(void 0, false);
|
|
16394
16395
|
const [validationError, setValidationError] = _react.useState.call(void 0, null);
|
|
16395
16396
|
const interactive = !disabled && !loading;
|
|
16396
|
-
const resolvedValue =
|
|
16397
|
+
const resolvedValue = _chunk4E7XCEV3cjs.useAuthedImageSrc.call(void 0, value);
|
|
16397
16398
|
const hasImage = Boolean(value);
|
|
16398
16399
|
const displayError = error || validationError || void 0;
|
|
16399
16400
|
const resolvedHint = hint === void 0 ? `Max. size: ${formatSize(maxSize)}` : hint;
|
|
@@ -16553,7 +16554,7 @@ var _reactcolorful = require('react-colorful');
|
|
|
16553
16554
|
var Popover2 = PopoverPrimitive6.Root;
|
|
16554
16555
|
var PopoverTrigger = PopoverPrimitive6.Trigger;
|
|
16555
16556
|
var PopoverContent = _react.forwardRef.call(void 0, ({ className, align = "center", sideOffset = 4, collisionPadding, ...props }, ref) => {
|
|
16556
|
-
const keyboardPadding =
|
|
16557
|
+
const keyboardPadding = _chunkQIVX7F3Ncjs.useKeyboardCollisionPadding.call(void 0, );
|
|
16557
16558
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive6.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16558
16559
|
PopoverPrimitive6.Content,
|
|
16559
16560
|
{
|
|
@@ -16573,20 +16574,7 @@ PopoverContent.displayName = PopoverPrimitive6.Content.displayName;
|
|
|
16573
16574
|
|
|
16574
16575
|
// src/components/ui/color-preset-select.tsx
|
|
16575
16576
|
|
|
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
|
-
];
|
|
16577
|
+
var TICKET_STATUS_COLOR_PRESETS = _chunk55X46LKRcjs.COLOR_PRESETS;
|
|
16590
16578
|
var CUSTOM_PRESET_KEY = "custom";
|
|
16591
16579
|
var DEFAULT_CUSTOM_STATUS_COLOR = "#888888";
|
|
16592
16580
|
function TriggerChevron() {
|
|
@@ -16610,20 +16598,20 @@ function ColorPresetSelect({
|
|
|
16610
16598
|
...presets.map((p) => ({
|
|
16611
16599
|
id: p.key,
|
|
16612
16600
|
label: p.label,
|
|
16613
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16601
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ColorSwatch, { color: p.color }),
|
|
16614
16602
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
16615
16603
|
})),
|
|
16616
16604
|
{
|
|
16617
16605
|
id: CUSTOM_PRESET_KEY,
|
|
16618
16606
|
label: "Custom",
|
|
16619
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16607
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
16620
16608
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
16621
16609
|
}
|
|
16622
16610
|
]
|
|
16623
16611
|
}
|
|
16624
16612
|
];
|
|
16625
16613
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16626
|
-
|
|
16614
|
+
_chunkZYDNPUSHcjs.ActionsMenuDropdown,
|
|
16627
16615
|
{
|
|
16628
16616
|
groups,
|
|
16629
16617
|
align: "start",
|
|
@@ -16633,7 +16621,7 @@ function ColorPresetSelect({
|
|
|
16633
16621
|
{
|
|
16634
16622
|
disabled,
|
|
16635
16623
|
"aria-label": `Color: ${displayLabel}`,
|
|
16636
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16624
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ColorSwatch, { color: displayColor }),
|
|
16637
16625
|
selectedLabel: displayLabel,
|
|
16638
16626
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16639
16627
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16654,7 +16642,7 @@ function HexInputs({ value, onChange }) {
|
|
|
16654
16642
|
}
|
|
16655
16643
|
const commit = () => {
|
|
16656
16644
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
16657
|
-
if (
|
|
16645
|
+
if (_chunk55X46LKRcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
16658
16646
|
else setDraft(value);
|
|
16659
16647
|
};
|
|
16660
16648
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16718,12 +16706,12 @@ function ChannelInput({
|
|
|
16718
16706
|
);
|
|
16719
16707
|
}
|
|
16720
16708
|
function RgbInputs({ value, onChange }) {
|
|
16721
|
-
const rgb = _nullishCoalesce(
|
|
16709
|
+
const rgb = _nullishCoalesce(_chunk55X46LKRcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16722
16710
|
const update = (next) => {
|
|
16723
16711
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
16724
16712
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
16725
16713
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
16726
|
-
onChange(
|
|
16714
|
+
onChange(_chunk55X46LKRcjs.rgbToHex.call(void 0, r, g, b));
|
|
16727
16715
|
};
|
|
16728
16716
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16729
16717
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -16732,14 +16720,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
16732
16720
|
] });
|
|
16733
16721
|
}
|
|
16734
16722
|
function HslInputs({ value, onChange }) {
|
|
16735
|
-
const rgb = _nullishCoalesce(
|
|
16736
|
-
const hsl =
|
|
16723
|
+
const rgb = _nullishCoalesce(_chunk55X46LKRcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16724
|
+
const hsl = _chunk55X46LKRcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
16737
16725
|
const update = (next) => {
|
|
16738
16726
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
16739
16727
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
16740
16728
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
16741
|
-
const out =
|
|
16742
|
-
onChange(
|
|
16729
|
+
const out = _chunk55X46LKRcjs.hslToRgb.call(void 0, h, s, l);
|
|
16730
|
+
onChange(_chunk55X46LKRcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
16743
16731
|
};
|
|
16744
16732
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16745
16733
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -16765,7 +16753,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16765
16753
|
{
|
|
16766
16754
|
disabled,
|
|
16767
16755
|
"aria-label": "Pick custom color",
|
|
16768
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16756
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ColorSwatch, { color: value }),
|
|
16769
16757
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
16770
16758
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16771
16759
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16781,7 +16769,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16781
16769
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
16782
16770
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16783
16771
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16784
|
-
|
|
16772
|
+
_chunkZYDNPUSHcjs.ActionsMenuDropdown,
|
|
16785
16773
|
{
|
|
16786
16774
|
groups: formatGroups,
|
|
16787
16775
|
align: "start",
|
|
@@ -16829,7 +16817,7 @@ function TicketStatusConfigRow({
|
|
|
16829
16817
|
isDragging,
|
|
16830
16818
|
moveButtons
|
|
16831
16819
|
}) {
|
|
16832
|
-
const dragAndDropEnabled =
|
|
16820
|
+
const dragAndDropEnabled = _chunkQIVX7F3Ncjs.useDragAndDropEnabled.call(void 0, );
|
|
16833
16821
|
const nameInputId = _react.useId.call(void 0, );
|
|
16834
16822
|
const isSystem = variant === "system";
|
|
16835
16823
|
const isCustomColor = !isSystem && presetKey === void 0;
|
|
@@ -16838,7 +16826,7 @@ function TicketStatusConfigRow({
|
|
|
16838
16826
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
16839
16827
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
16840
16828
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16841
|
-
|
|
16829
|
+
_chunkZYDNPUSHcjs.TicketStatusTag,
|
|
16842
16830
|
{
|
|
16843
16831
|
status: statusKey,
|
|
16844
16832
|
label: name || " ",
|
|
@@ -16990,7 +16978,7 @@ function formatTestRunDuration(ms) {
|
|
|
16990
16978
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
16991
16979
|
var SKELETON_COLUMNS = 6;
|
|
16992
16980
|
function TestResultsSkeleton() {
|
|
16993
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16981
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
16994
16982
|
/* @__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}`)) }),
|
|
16995
16983
|
/* @__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}`)) }) })
|
|
16996
16984
|
] }) });
|
|
@@ -17025,13 +17013,13 @@ function TestResultsTable({ rows, loading }) {
|
|
|
17025
17013
|
if (loading) {
|
|
17026
17014
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
17027
17015
|
}
|
|
17028
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17016
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.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: [
|
|
17029
17017
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
17030
17018
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
17031
17019
|
] }) }) });
|
|
17032
17020
|
}
|
|
17033
17021
|
function TestRunErrorBanner({ error, className }) {
|
|
17034
|
-
const { copy } =
|
|
17022
|
+
const { copy } = _chunkQIVX7F3Ncjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
17035
17023
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17036
17024
|
"div",
|
|
17037
17025
|
{
|
|
@@ -17085,7 +17073,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
17085
17073
|
function TestRunStatusStat({ status, className }) {
|
|
17086
17074
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
17087
17075
|
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: [
|
|
17088
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17076
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.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: "-" }),
|
|
17089
17077
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
17090
17078
|
] });
|
|
17091
17079
|
}
|
|
@@ -17128,7 +17116,7 @@ function useTestRunState(campaign) {
|
|
|
17128
17116
|
const firstError = isFinished && campaign.errors.length > 0 ? campaign.errors[0].error : null;
|
|
17129
17117
|
const status = isActive ? "running" : hasRun && isFinished ? firstError ? "error" : "success" : "idle";
|
|
17130
17118
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
17131
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
17119
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkZYDNPUSHcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
17132
17120
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
17133
17121
|
const displayRows = _react.useMemo.call(void 0,
|
|
17134
17122
|
() => campaign.results.map(
|
|
@@ -17167,7 +17155,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
17167
17155
|
),
|
|
17168
17156
|
children: [
|
|
17169
17157
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17170
|
-
|
|
17158
|
+
_chunk55X46LKRcjs.SquareAvatar,
|
|
17171
17159
|
{
|
|
17172
17160
|
src: attachment.thumbnailSrc,
|
|
17173
17161
|
alt: attachment.fileName,
|
|
@@ -17260,7 +17248,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17260
17248
|
};
|
|
17261
17249
|
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: [
|
|
17262
17250
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17263
|
-
|
|
17251
|
+
_chunk55X46LKRcjs.SquareAvatar,
|
|
17264
17252
|
{
|
|
17265
17253
|
src: note.authorAvatar,
|
|
17266
17254
|
alt: note.authorName,
|
|
@@ -17436,7 +17424,7 @@ function TicketInfoSection({
|
|
|
17436
17424
|
/* @__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: [
|
|
17437
17425
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
17438
17426
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17439
|
-
|
|
17427
|
+
_chunk55X46LKRcjs.SquareAvatar,
|
|
17440
17428
|
{
|
|
17441
17429
|
src: _optionalChain([organization, 'optionalAccess', _397 => _397.imageSrc]),
|
|
17442
17430
|
alt: _optionalChain([organization, 'optionalAccess', _398 => _398.name]),
|
|
@@ -17466,7 +17454,7 @@ function TicketInfoSection({
|
|
|
17466
17454
|
/* @__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]) }),
|
|
17467
17455
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
17468
17456
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17469
|
-
|
|
17457
|
+
_chunkZYDNPUSHcjs.TicketStatusTag,
|
|
17470
17458
|
{
|
|
17471
17459
|
status: _nullishCoalesce(status, () => ( "")),
|
|
17472
17460
|
label: statusLabel,
|
|
@@ -17505,9 +17493,9 @@ function TicketInfoSection({
|
|
|
17505
17493
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17506
17494
|
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" }) }),
|
|
17507
17495
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
17508
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17496
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.SimpleMarkdownRenderer, { content: description }),
|
|
17509
17497
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
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,
|
|
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, _chunkZYDNPUSHcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
17511
17499
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17512
17500
|
TicketNotesSection,
|
|
17513
17501
|
{
|
|
@@ -17530,7 +17518,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
17530
17518
|
const { label, color } = option;
|
|
17531
17519
|
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: [
|
|
17532
17520
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17533
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ColorSwatch, { color }),
|
|
17534
17522
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17535
17523
|
] }),
|
|
17536
17524
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17540,7 +17528,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
17540
17528
|
const { label, imageUrl } = option;
|
|
17541
17529
|
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: [
|
|
17542
17530
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17543
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17531
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55X46LKRcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
17544
17532
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17545
17533
|
] }),
|
|
17546
17534
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17575,9 +17563,9 @@ function TakeOverTicketModal({
|
|
|
17575
17563
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
17576
17564
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
17577
17565
|
};
|
|
17578
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17566
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17579
17567
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17580
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17568
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
17581
17569
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17582
17570
|
"The ticket ",
|
|
17583
17571
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17592,7 +17580,7 @@ function TakeOverTicketModal({
|
|
|
17592
17580
|
value: selectedStatusId,
|
|
17593
17581
|
onChange: setStatusId,
|
|
17594
17582
|
placeholder: "Select Status",
|
|
17595
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17583
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17596
17584
|
renderOption: renderTicketStatusOption
|
|
17597
17585
|
}
|
|
17598
17586
|
) }),
|
|
@@ -17606,7 +17594,7 @@ function TakeOverTicketModal({
|
|
|
17606
17594
|
placeholder: "Select Technician",
|
|
17607
17595
|
loading: assigneesLoading,
|
|
17608
17596
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17609
|
-
|
|
17597
|
+
_chunk55X46LKRcjs.SquareAvatar,
|
|
17610
17598
|
{
|
|
17611
17599
|
src: selectedAssignee.imageUrl,
|
|
17612
17600
|
alt: selectedAssignee.label,
|
|
@@ -17619,7 +17607,7 @@ function TakeOverTicketModal({
|
|
|
17619
17607
|
}
|
|
17620
17608
|
) })
|
|
17621
17609
|
] }),
|
|
17622
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17610
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.ModalFooter, { children: [
|
|
17623
17611
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17624
17612
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17625
17613
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17678,9 +17666,9 @@ function ReopenTicketModal({
|
|
|
17678
17666
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
17679
17667
|
});
|
|
17680
17668
|
};
|
|
17681
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17669
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17682
17670
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17683
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17671
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17684
17672
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17685
17673
|
"The ticket ",
|
|
17686
17674
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17695,7 +17683,7 @@ function ReopenTicketModal({
|
|
|
17695
17683
|
value: selectedStatusId,
|
|
17696
17684
|
onChange: setStatusId,
|
|
17697
17685
|
placeholder: "Select Status",
|
|
17698
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17686
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17699
17687
|
renderOption: renderTicketStatusOption
|
|
17700
17688
|
}
|
|
17701
17689
|
) }),
|
|
@@ -17709,7 +17697,7 @@ function ReopenTicketModal({
|
|
|
17709
17697
|
placeholder: "Select Technician",
|
|
17710
17698
|
loading: assigneesLoading,
|
|
17711
17699
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17712
|
-
|
|
17700
|
+
_chunk55X46LKRcjs.SquareAvatar,
|
|
17713
17701
|
{
|
|
17714
17702
|
src: selectedAssignee.imageUrl,
|
|
17715
17703
|
alt: selectedAssignee.label,
|
|
@@ -17733,7 +17721,7 @@ function ReopenTicketModal({
|
|
|
17733
17721
|
disabled: isPending
|
|
17734
17722
|
}
|
|
17735
17723
|
) }),
|
|
17736
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17724
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.ModalFooter, { children: [
|
|
17737
17725
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17738
17726
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17739
17727
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17781,9 +17769,9 @@ function ReopenTicketRequestModal({
|
|
|
17781
17769
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
17782
17770
|
});
|
|
17783
17771
|
};
|
|
17784
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17772
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17785
17773
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17786
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17774
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17787
17775
|
/* @__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." }),
|
|
17788
17776
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17789
17777
|
Textarea,
|
|
@@ -17807,7 +17795,7 @@ function ReopenTicketRequestModal({
|
|
|
17807
17795
|
disabled: isPending
|
|
17808
17796
|
}
|
|
17809
17797
|
),
|
|
17810
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17798
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.ModalFooter, { children: [
|
|
17811
17799
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
17812
17800
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
17813
17801
|
] })
|
|
@@ -17853,9 +17841,9 @@ function LazyMount({
|
|
|
17853
17841
|
placeholder = null,
|
|
17854
17842
|
className,
|
|
17855
17843
|
style,
|
|
17856
|
-
rootMargin =
|
|
17844
|
+
rootMargin = _chunkZI27ALYXcjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
17857
17845
|
}) {
|
|
17858
|
-
const { ref, isNear } =
|
|
17846
|
+
const { ref, isNear } = _chunkZI27ALYXcjs.useNearViewport.call(void 0, rootMargin);
|
|
17859
17847
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className, style, children: isNear ? children : placeholder });
|
|
17860
17848
|
}
|
|
17861
17849
|
|
|
@@ -18068,10 +18056,10 @@ function AccountDetailsFields({
|
|
|
18068
18056
|
onKeyDown,
|
|
18069
18057
|
layout = "stacked"
|
|
18070
18058
|
}) {
|
|
18071
|
-
const firstNameErr =
|
|
18072
|
-
const lastNameErr =
|
|
18073
|
-
const passwordErr =
|
|
18074
|
-
const confirmErr =
|
|
18059
|
+
const firstNameErr = _chunkQIVX7F3Ncjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _408 => _408.firstName]), firstName);
|
|
18060
|
+
const lastNameErr = _chunkQIVX7F3Ncjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _409 => _409.lastName]), lastName);
|
|
18061
|
+
const passwordErr = _chunkQIVX7F3Ncjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _410 => _410.password]), password);
|
|
18062
|
+
const confirmErr = _chunkQIVX7F3Ncjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _411 => _411.confirmPassword]), confirmPassword);
|
|
18075
18063
|
const names = [
|
|
18076
18064
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18077
18065
|
_chunkN6HNK25Acjs.Input,
|
|
@@ -18489,9 +18477,9 @@ function CreateOrganizationForm({
|
|
|
18489
18477
|
}) {
|
|
18490
18478
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
18491
18479
|
const fieldsDisabled = disabled || loading;
|
|
18492
|
-
const emailErr =
|
|
18493
|
-
const orgNameErr =
|
|
18494
|
-
const domainErr =
|
|
18480
|
+
const emailErr = _chunkQIVX7F3Ncjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _413 => _413.email]), _nullishCoalesce(email, () => ( "")));
|
|
18481
|
+
const orgNameErr = _chunkQIVX7F3Ncjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _414 => _414.organizationName]), organizationName);
|
|
18482
|
+
const domainErr = _chunkQIVX7F3Ncjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _415 => _415.domain]), domain);
|
|
18495
18483
|
const handleKeyDown = (event) => {
|
|
18496
18484
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18497
18485
|
onSubmit();
|
|
@@ -18707,7 +18695,7 @@ function LoginForm({
|
|
|
18707
18695
|
className
|
|
18708
18696
|
}) {
|
|
18709
18697
|
const fieldDisabled = disabled || loading;
|
|
18710
|
-
const emailErr =
|
|
18698
|
+
const emailErr = _chunkQIVX7F3Ncjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _422 => _422.email]), email);
|
|
18711
18699
|
const handleKeyDown = (event) => {
|
|
18712
18700
|
if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
|
|
18713
18701
|
_optionalChain([onSubmitClick, 'optionalCall', _423 => _423()]);
|
|
@@ -18822,8 +18810,8 @@ function OpenFrameSsoLoginForm({
|
|
|
18822
18810
|
className
|
|
18823
18811
|
}) {
|
|
18824
18812
|
const fieldsDisabled = disabled || loading;
|
|
18825
|
-
const emailErr =
|
|
18826
|
-
const passwordErr =
|
|
18813
|
+
const emailErr = _chunkQIVX7F3Ncjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _426 => _426.email]), email);
|
|
18814
|
+
const passwordErr = _chunkQIVX7F3Ncjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _427 => _427.password]), password);
|
|
18827
18815
|
const handleKeyDown = (event) => {
|
|
18828
18816
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18829
18817
|
onSubmit();
|
|
@@ -18928,7 +18916,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18928
18916
|
className
|
|
18929
18917
|
}) {
|
|
18930
18918
|
const fieldsDisabled = disabled || loading;
|
|
18931
|
-
const emailErr =
|
|
18919
|
+
const emailErr = _chunkQIVX7F3Ncjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _428 => _428.email]), email);
|
|
18932
18920
|
const handleKeyDown = (event) => {
|
|
18933
18921
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18934
18922
|
onSubmit();
|
|
@@ -19033,8 +19021,8 @@ function PasswordResetForm({
|
|
|
19033
19021
|
className
|
|
19034
19022
|
}) {
|
|
19035
19023
|
const fieldsDisabled = disabled || loading;
|
|
19036
|
-
const passwordErr =
|
|
19037
|
-
const confirmErr =
|
|
19024
|
+
const passwordErr = _chunkQIVX7F3Ncjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _429 => _429.password]), password);
|
|
19025
|
+
const confirmErr = _chunkQIVX7F3Ncjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _430 => _430.confirmPassword]), confirmPassword);
|
|
19038
19026
|
const handleKeyDown = (event) => {
|
|
19039
19027
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19040
19028
|
onSubmit();
|
|
@@ -19170,7 +19158,7 @@ function SsoJoinForm({
|
|
|
19170
19158
|
] }),
|
|
19171
19159
|
/* @__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: [
|
|
19172
19160
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19173
|
-
|
|
19161
|
+
_chunk55X46LKRcjs.SquareAvatar,
|
|
19174
19162
|
{
|
|
19175
19163
|
size: "lg",
|
|
19176
19164
|
variant: "round",
|
|
@@ -19184,7 +19172,7 @@ function SsoJoinForm({
|
|
|
19184
19172
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
19185
19173
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
19186
19174
|
] }),
|
|
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,
|
|
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, _chunkZYDNPUSHcjs.Tag, { variant: "grey", label: role }, role)) })
|
|
19188
19176
|
] }),
|
|
19189
19177
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19190
19178
|
CheckboxBlock,
|
|
@@ -19330,8 +19318,15 @@ function ChangelogManager({
|
|
|
19330
19318
|
onChange,
|
|
19331
19319
|
className = "",
|
|
19332
19320
|
expandAll = false,
|
|
19333
|
-
showVisibilityToggle = false
|
|
19321
|
+
showVisibilityToggle = false,
|
|
19322
|
+
tagOptions,
|
|
19323
|
+
tagLabel = "Tag",
|
|
19324
|
+
titleLabel = "Title",
|
|
19325
|
+
titlePlaceholder = "e.g., New dark mode theme support",
|
|
19326
|
+
descriptionLabel = "Description",
|
|
19327
|
+
descriptionPlaceholder = "Detailed explanation of the change..."
|
|
19334
19328
|
}) {
|
|
19329
|
+
const tagLabelOf = (value) => _optionalChain([tagOptions, 'optionalAccess', _435 => _435.find, 'call', _436 => _436((o) => o.value === value), 'optionalAccess', _437 => _437.label]);
|
|
19335
19330
|
const entryCount = entries.length;
|
|
19336
19331
|
const allExpanded = () => new Set(Array.from({ length: entryCount }, (_, i) => i));
|
|
19337
19332
|
const [expandedIndices, setExpandedIndices] = _react.useState.call(void 0,
|
|
@@ -19348,7 +19343,8 @@ function ChangelogManager({
|
|
|
19348
19343
|
const newEntry = {
|
|
19349
19344
|
title: "",
|
|
19350
19345
|
description: "",
|
|
19351
|
-
...showVisibilityToggle && { visibility: "public" }
|
|
19346
|
+
...showVisibilityToggle && { visibility: "public" },
|
|
19347
|
+
..._optionalChain([tagOptions, 'optionalAccess', _438 => _438.length]) && { tag: tagOptions[0].value }
|
|
19352
19348
|
};
|
|
19353
19349
|
onChange([...entries, newEntry]);
|
|
19354
19350
|
setExpandedIndices((prev) => /* @__PURE__ */ new Set([...prev, entries.length]));
|
|
@@ -19419,6 +19415,15 @@ function ChangelogManager({
|
|
|
19419
19415
|
}
|
|
19420
19416
|
),
|
|
19421
19417
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: hasContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h6", children: entry.title }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "italic text-ods-text-secondary text-h6", children: "New entry (click to edit)" }) }),
|
|
19418
|
+
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19419
|
+
_chunk55X46LKRcjs.StatusBadge,
|
|
19420
|
+
{
|
|
19421
|
+
variant: "button",
|
|
19422
|
+
singleLine: true,
|
|
19423
|
+
text: tagLabelOf(entry.tag),
|
|
19424
|
+
className: "shrink-0 whitespace-nowrap"
|
|
19425
|
+
}
|
|
19426
|
+
),
|
|
19422
19427
|
showVisibilityToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19423
19428
|
_chunkWRJVEB2Jcjs.Button,
|
|
19424
19429
|
{
|
|
@@ -19445,11 +19450,14 @@ function ChangelogManager({
|
|
|
19445
19450
|
] }),
|
|
19446
19451
|
isExpanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3 border-t border-ods-border px-3 pb-3 pt-3", children: [
|
|
19447
19452
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19448
|
-
/* @__PURE__ */ _jsxruntime.
|
|
19453
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCHIHYC7Qcjs.Label, { className: "text-ods-text-secondary", children: [
|
|
19454
|
+
titleLabel,
|
|
19455
|
+
" *"
|
|
19456
|
+
] }),
|
|
19449
19457
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19450
19458
|
_chunkN6HNK25Acjs.Input,
|
|
19451
19459
|
{
|
|
19452
|
-
placeholder:
|
|
19460
|
+
placeholder: titlePlaceholder,
|
|
19453
19461
|
value: entry.title,
|
|
19454
19462
|
onChange: (e) => updateEntry(index, "title", e.target.value),
|
|
19455
19463
|
onKeyDown: (e) => e.key === "Enter" && e.preventDefault(),
|
|
@@ -19458,17 +19466,24 @@ function ChangelogManager({
|
|
|
19458
19466
|
)
|
|
19459
19467
|
] }),
|
|
19460
19468
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19461
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { className: "text-ods-text-secondary", children:
|
|
19469
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { className: "text-ods-text-secondary", children: descriptionLabel }),
|
|
19462
19470
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19463
19471
|
Textarea,
|
|
19464
19472
|
{
|
|
19465
|
-
placeholder:
|
|
19473
|
+
placeholder: descriptionPlaceholder,
|
|
19466
19474
|
value: entry.description || "",
|
|
19467
19475
|
onChange: (e) => updateEntry(index, "description", e.target.value),
|
|
19468
19476
|
rows: 2,
|
|
19469
19477
|
className: "bg-ods-bg"
|
|
19470
19478
|
}
|
|
19471
19479
|
)
|
|
19480
|
+
] }),
|
|
19481
|
+
tagOptions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19482
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
19483
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Select, { value: _nullishCoalesce(entry.tag, () => ( "")), onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
19484
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, { placeholder: tagLabel }) }),
|
|
19485
|
+
/* @__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)) })
|
|
19486
|
+
] })
|
|
19472
19487
|
] })
|
|
19473
19488
|
] })
|
|
19474
19489
|
] }, index);
|
|
@@ -19664,7 +19679,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19664
19679
|
const label = (tag.name || "").toUpperCase();
|
|
19665
19680
|
if (basePath && tag.slug) {
|
|
19666
19681
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19667
|
-
|
|
19682
|
+
_chunk55X46LKRcjs.StatusBadge,
|
|
19668
19683
|
{
|
|
19669
19684
|
text: label,
|
|
19670
19685
|
variant: "card",
|
|
@@ -19672,9 +19687,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19672
19687
|
}
|
|
19673
19688
|
) }, key);
|
|
19674
19689
|
}
|
|
19675
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19690
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55X46LKRcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
19676
19691
|
}),
|
|
19677
|
-
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19692
|
+
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55X46LKRcjs.StatusBadge, { text: `+${overflow2}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
19678
19693
|
] });
|
|
19679
19694
|
}
|
|
19680
19695
|
|
|
@@ -19751,7 +19766,7 @@ var SectionButton = ({
|
|
|
19751
19766
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
19752
19767
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "whitespace-normal break-words text-h4"), children: section.title }),
|
|
19753
19768
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19754
|
-
|
|
19769
|
+
_chunk55X46LKRcjs.StatusBadge,
|
|
19755
19770
|
{
|
|
19756
19771
|
text: section.badge.text,
|
|
19757
19772
|
variant: section.badge.variant || "button",
|
|
@@ -19770,7 +19785,7 @@ var SectionButton = ({
|
|
|
19770
19785
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
19771
19786
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
19772
19787
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19773
|
-
|
|
19788
|
+
_chunk55X46LKRcjs.StatusBadge,
|
|
19774
19789
|
{
|
|
19775
19790
|
text: section.badge.text,
|
|
19776
19791
|
variant: section.badge.variant || "button",
|
|
@@ -19841,10 +19856,10 @@ var getContentDimensions = (config) => {
|
|
|
19841
19856
|
const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
|
|
19842
19857
|
const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
|
|
19843
19858
|
const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
|
|
19844
|
-
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
19845
|
-
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
19846
|
-
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
19847
|
-
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
19859
|
+
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _439 => _439.mobileContentDimensions, 'optionalAccess', _440 => _440.width]))), () => ( defaultMobile.width));
|
|
19860
|
+
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _441 => _441.mobileContentDimensions, 'optionalAccess', _442 => _442.height]))), () => ( defaultMobile.height));
|
|
19861
|
+
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _443 => _443.desktopContentDimensions, 'optionalAccess', _444 => _444.width]))), () => ( defaultDesktop.width));
|
|
19862
|
+
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _445 => _445.desktopContentDimensions, 'optionalAccess', _446 => _446.height]))), () => ( defaultDesktop.height));
|
|
19848
19863
|
return {
|
|
19849
19864
|
mobile: { width: mobileWidth, height: mobileHeight },
|
|
19850
19865
|
desktop: { width: desktopWidth, height: desktopHeight }
|
|
@@ -20000,7 +20015,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20000
20015
|
const contentDimensions = getContentDimensions(config);
|
|
20001
20016
|
const mobileHeight = contentDimensions.mobile.height;
|
|
20002
20017
|
const calculatedHeight = Math.max(mobileHeight + 100, 400);
|
|
20003
|
-
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess',
|
|
20018
|
+
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _447 => _447.innerHeight]) * 0.85 || 650)}px`;
|
|
20004
20019
|
})(),
|
|
20005
20020
|
minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
|
|
20006
20021
|
const contentDimensions = getContentDimensions(config);
|
|
@@ -20058,7 +20073,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20058
20073
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
20059
20074
|
title: config.title,
|
|
20060
20075
|
loading: "eager",
|
|
20061
|
-
...
|
|
20076
|
+
..._chunkZYDNPUSHcjs.fetchPriorityProp.call(void 0, "high")
|
|
20062
20077
|
},
|
|
20063
20078
|
iframeKey
|
|
20064
20079
|
),
|
|
@@ -20103,7 +20118,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20103
20118
|
const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
|
|
20104
20119
|
const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
|
|
20105
20120
|
const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
|
|
20106
|
-
config.defaultSectionId || _optionalChain([config, 'access',
|
|
20121
|
+
config.defaultSectionId || _optionalChain([config, 'access', _448 => _448.sections, 'access', _449 => _449[0], 'optionalAccess', _450 => _450.id]) || ""
|
|
20107
20122
|
);
|
|
20108
20123
|
const activeSection = externalActiveSection || internalActiveSection;
|
|
20109
20124
|
const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
|
|
@@ -20201,19 +20216,19 @@ var FigmaPrototypeViewer = ({
|
|
|
20201
20216
|
setIframeState("READY");
|
|
20202
20217
|
break;
|
|
20203
20218
|
case "PRESENTED_NODE_CHANGED":
|
|
20204
|
-
if (_optionalChain([figmaEvent, 'access',
|
|
20219
|
+
if (_optionalChain([figmaEvent, 'access', _451 => _451.data, 'optionalAccess', _452 => _452.presentedNodeId])) {
|
|
20205
20220
|
setCurrentNodeId(figmaEvent.data.presentedNodeId);
|
|
20206
20221
|
if (!isNavigating) {
|
|
20207
20222
|
const matchingSection = configSections.find((s) => {
|
|
20208
|
-
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access',
|
|
20209
|
-
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access',
|
|
20223
|
+
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]);
|
|
20224
|
+
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]);
|
|
20210
20225
|
return desktopMatch || mobileMatch;
|
|
20211
20226
|
});
|
|
20212
20227
|
if (matchingSection && matchingSection.id !== activeSection) {
|
|
20213
20228
|
if (!externalActiveSection) {
|
|
20214
20229
|
setInternalActiveSection(matchingSection.id);
|
|
20215
20230
|
}
|
|
20216
|
-
_optionalChain([onSectionChange, 'optionalCall',
|
|
20231
|
+
_optionalChain([onSectionChange, 'optionalCall', _464 => _464(matchingSection.id)]);
|
|
20217
20232
|
}
|
|
20218
20233
|
}
|
|
20219
20234
|
}
|
|
@@ -20227,7 +20242,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20227
20242
|
const navigateToSection = _react.useCallback.call(void 0,
|
|
20228
20243
|
(sectionId) => {
|
|
20229
20244
|
const section = config.sections.find((s) => s.id === sectionId);
|
|
20230
|
-
if (!section || !_optionalChain([iframeRef, 'access',
|
|
20245
|
+
if (!section || !_optionalChain([iframeRef, 'access', _465 => _465.current, 'optionalAccess', _466 => _466.contentWindow]) || !isInitialized) {
|
|
20231
20246
|
return;
|
|
20232
20247
|
}
|
|
20233
20248
|
setIsNavigating(true);
|
|
@@ -20235,7 +20250,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20235
20250
|
if (!externalActiveSection) {
|
|
20236
20251
|
setInternalActiveSection(sectionId);
|
|
20237
20252
|
}
|
|
20238
|
-
_optionalChain([config, 'access',
|
|
20253
|
+
_optionalChain([config, 'access', _467 => _467.onSectionChange, 'optionalCall', _468 => _468(sectionId)]);
|
|
20239
20254
|
const command = {
|
|
20240
20255
|
type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
|
|
20241
20256
|
data: { nodeId }
|
|
@@ -20482,7 +20497,7 @@ var FiltersDropdown = ({
|
|
|
20482
20497
|
window.addEventListener("resize", calculateOptimalPlacement);
|
|
20483
20498
|
return () => window.removeEventListener("resize", calculateOptimalPlacement);
|
|
20484
20499
|
}, [isOpen, isMobile, placement]);
|
|
20485
|
-
|
|
20500
|
+
_chunkZI27ALYXcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
20486
20501
|
const dropdown = dropdownRef.current;
|
|
20487
20502
|
if (!dropdown) return;
|
|
20488
20503
|
if (!isMobile) {
|
|
@@ -20572,7 +20587,7 @@ var FiltersDropdown = ({
|
|
|
20572
20587
|
defaults[section.id] = section.defaultSelected || [];
|
|
20573
20588
|
});
|
|
20574
20589
|
setSelectedFilters(defaults);
|
|
20575
|
-
_optionalChain([onReset, 'optionalCall',
|
|
20590
|
+
_optionalChain([onReset, 'optionalCall', _469 => _469()]);
|
|
20576
20591
|
setIsOpen(false);
|
|
20577
20592
|
};
|
|
20578
20593
|
const handleApply = () => {
|
|
@@ -20821,7 +20836,7 @@ function MediaGalleryManager({
|
|
|
20821
20836
|
const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
|
|
20822
20837
|
const handleFileSelect = _react.useCallback.call(void 0,
|
|
20823
20838
|
async (event) => {
|
|
20824
|
-
const file = _optionalChain([event, 'access',
|
|
20839
|
+
const file = _optionalChain([event, 'access', _470 => _470.target, 'access', _471 => _471.files, 'optionalAccess', _472 => _472[0]]);
|
|
20825
20840
|
if (!file) return;
|
|
20826
20841
|
let mediaType;
|
|
20827
20842
|
if (file.type.startsWith("image/")) {
|
|
@@ -20884,7 +20899,7 @@ function MediaGalleryManager({
|
|
|
20884
20899
|
(mediaItem, index) => {
|
|
20885
20900
|
const isDeleting = deletingIndex === index;
|
|
20886
20901
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20887
|
-
|
|
20902
|
+
_chunk55X46LKRcjs.Card,
|
|
20888
20903
|
{
|
|
20889
20904
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
20890
20905
|
draggable: true,
|
|
@@ -20905,10 +20920,10 @@ function MediaGalleryManager({
|
|
|
20905
20920
|
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" })
|
|
20906
20921
|
}
|
|
20907
20922
|
) }),
|
|
20908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children:
|
|
20923
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: _chunk55X46LKRcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? (
|
|
20909
20924
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
20910
20925
|
// fit="cover" crops to the aspect-video cell.
|
|
20911
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20926
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
20912
20927
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20913
20928
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
20914
20929
|
{
|
|
@@ -20921,7 +20936,7 @@ function MediaGalleryManager({
|
|
|
20921
20936
|
) }),
|
|
20922
20937
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
|
|
20923
20938
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex items-center gap-2", children: [
|
|
20924
|
-
|
|
20939
|
+
_chunk55X46LKRcjs.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" }),
|
|
20925
20940
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "capitalize text-ods-text-primary text-h6", children: mediaItem.media_type })
|
|
20926
20941
|
] }),
|
|
20927
20942
|
mediaItem.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: mediaItem.title })
|
|
@@ -20946,7 +20961,7 @@ function MediaGalleryManager({
|
|
|
20946
20961
|
{
|
|
20947
20962
|
type: "button",
|
|
20948
20963
|
variant: "outline",
|
|
20949
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
20964
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _473 => _473.current, 'optionalAccess', _474 => _474.click, 'call', _475 => _475()]),
|
|
20950
20965
|
disabled: isUploading,
|
|
20951
20966
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
20952
20967
|
className: "font-bold text-h6",
|
|
@@ -21357,7 +21372,7 @@ function PlatformFilterComponent({
|
|
|
21357
21372
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
21358
21373
|
size,
|
|
21359
21374
|
onClick: () => onPlatformChange(platform.value),
|
|
21360
|
-
leftIcon: showIcons ?
|
|
21375
|
+
leftIcon: showIcons ? _chunkQIVX7F3Ncjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
21361
21376
|
className: "text-h3",
|
|
21362
21377
|
children: platform.label
|
|
21363
21378
|
},
|
|
@@ -23071,9 +23086,9 @@ function PushButtonSelector({
|
|
|
23071
23086
|
}) {
|
|
23072
23087
|
const scrollRef = _react.useRef.call(void 0, null);
|
|
23073
23088
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
23074
|
-
const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess',
|
|
23075
|
-
const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess',
|
|
23076
|
-
const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess',
|
|
23089
|
+
const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _476 => _476.hasMore]), () => ( false));
|
|
23090
|
+
const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _477 => _477.isFetchingMore]), () => ( false));
|
|
23091
|
+
const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess', _478 => _478.onLoadMore]);
|
|
23077
23092
|
const optionCount = options.length;
|
|
23078
23093
|
_react.useEffect.call(void 0, () => {
|
|
23079
23094
|
const sentinel = sentinelRef.current;
|
|
@@ -23159,9 +23174,9 @@ function PushButtonSelector({
|
|
|
23159
23174
|
option.id
|
|
23160
23175
|
);
|
|
23161
23176
|
if (option.disabled && option.disabledReason) {
|
|
23162
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23163
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23164
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23177
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.Tooltip, { children: [
|
|
23178
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
23179
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
23165
23180
|
] }, option.id);
|
|
23166
23181
|
}
|
|
23167
23182
|
return optionEl;
|
|
@@ -23206,7 +23221,7 @@ function PushButtonSelector({
|
|
|
23206
23221
|
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
|
|
23207
23222
|
] }) : null
|
|
23208
23223
|
] });
|
|
23209
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23224
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
23210
23225
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
23211
23226
|
searchInput,
|
|
23212
23227
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23244,7 +23259,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23244
23259
|
const fileInputRef = _react.useRef.call(void 0, null);
|
|
23245
23260
|
const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
|
|
23246
23261
|
const handleFileSelect = async (event) => {
|
|
23247
|
-
const file = _optionalChain([event, 'access',
|
|
23262
|
+
const file = _optionalChain([event, 'access', _479 => _479.target, 'access', _480 => _480.files, 'optionalAccess', _481 => _481[0]]);
|
|
23248
23263
|
if (!file) return;
|
|
23249
23264
|
let mediaType;
|
|
23250
23265
|
if (file.type.startsWith("image/")) {
|
|
@@ -23326,7 +23341,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23326
23341
|
{
|
|
23327
23342
|
type: "button",
|
|
23328
23343
|
variant: "outline",
|
|
23329
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
23344
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _482 => _482.current, 'optionalAccess', _483 => _483.click, 'call', _484 => _484()]),
|
|
23330
23345
|
disabled: uploadingIndex !== null,
|
|
23331
23346
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
23332
23347
|
className: "font-bold text-h6",
|
|
@@ -23376,10 +23391,10 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23376
23391
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
23377
23392
|
}
|
|
23378
23393
|
) }),
|
|
23379
|
-
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children:
|
|
23394
|
+
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children: _chunk55X46LKRcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo" ? (
|
|
23380
23395
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
23381
23396
|
// fit="cover" crops to the aspect-video cell.
|
|
23382
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23397
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23383
23398
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23384
23399
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
23385
23400
|
{
|
|
@@ -23512,7 +23527,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
23512
23527
|
}
|
|
23513
23528
|
)
|
|
23514
23529
|
] }),
|
|
23515
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23530
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
23516
23531
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
23517
23532
|
]
|
|
23518
23533
|
}
|
|
@@ -23607,7 +23622,7 @@ function SEOEditorPreview({
|
|
|
23607
23622
|
const displayImage = hasOgImage || hasFeaturedImage;
|
|
23608
23623
|
const handleImageUpload = async (event) => {
|
|
23609
23624
|
if (!onOgImageUpload) return;
|
|
23610
|
-
const file = _optionalChain([event, 'access',
|
|
23625
|
+
const file = _optionalChain([event, 'access', _485 => _485.target, 'access', _486 => _486.files, 'optionalAccess', _487 => _487[0]]);
|
|
23611
23626
|
if (!file) return;
|
|
23612
23627
|
setIsUploading(true);
|
|
23613
23628
|
try {
|
|
@@ -23764,7 +23779,7 @@ function SEOEditorPreview({
|
|
|
23764
23779
|
type: "button",
|
|
23765
23780
|
variant: "outline",
|
|
23766
23781
|
size: "icon",
|
|
23767
|
-
onClick: () => _optionalChain([fileInputRef, 'optionalAccess',
|
|
23782
|
+
onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _488 => _488.click, 'call', _489 => _489()]),
|
|
23768
23783
|
disabled: disabled || isUploading,
|
|
23769
23784
|
className: "rounded-full bg-white text-black opacity-0 hover:bg-gray-100 group-hover:opacity-100",
|
|
23770
23785
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
|
|
@@ -23790,7 +23805,7 @@ function SEOEditorPreview({
|
|
|
23790
23805
|
SEO_MEDIA_BOX_HEIGHT,
|
|
23791
23806
|
"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"
|
|
23792
23807
|
),
|
|
23793
|
-
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess',
|
|
23808
|
+
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _490 => _490.click, 'call', _491 => _491()]),
|
|
23794
23809
|
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: [
|
|
23795
23810
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "mb-2 h-8 w-8 text-ods-text-secondary" }),
|
|
23796
23811
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
|
|
@@ -23951,7 +23966,7 @@ function SocialLinksManager({
|
|
|
23951
23966
|
className = ""
|
|
23952
23967
|
}) {
|
|
23953
23968
|
const addLink = () => {
|
|
23954
|
-
const firstPlatform = _optionalChain([platforms, 'access',
|
|
23969
|
+
const firstPlatform = _optionalChain([platforms, 'access', _492 => _492[0], 'optionalAccess', _493 => _493.name]) || "website";
|
|
23955
23970
|
onChange([...links, { platform: firstPlatform, url: "" }]);
|
|
23956
23971
|
};
|
|
23957
23972
|
const removeLink = (index) => {
|
|
@@ -23963,7 +23978,7 @@ function SocialLinksManager({
|
|
|
23963
23978
|
onChange(updated);
|
|
23964
23979
|
};
|
|
23965
23980
|
const getIcon = (link, platform) => {
|
|
23966
|
-
const iconKey = _optionalChain([platform, 'optionalAccess',
|
|
23981
|
+
const iconKey = _optionalChain([platform, 'optionalAccess', _494 => _494.icon_name]) || link.platform;
|
|
23967
23982
|
const key = normalizeSocialPlatform(iconKey);
|
|
23968
23983
|
if (!key) return null;
|
|
23969
23984
|
const IconComponent = SOCIAL_ICON_COMPONENTS[key];
|
|
@@ -23987,7 +24002,7 @@ function SocialLinksManager({
|
|
|
23987
24002
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23988
24003
|
_chunkN6HNK25Acjs.Input,
|
|
23989
24004
|
{
|
|
23990
|
-
placeholder: _optionalChain([platform, 'optionalAccess',
|
|
24005
|
+
placeholder: _optionalChain([platform, 'optionalAccess', _495 => _495.placeholder]) || "Profile URL",
|
|
23991
24006
|
value: link.url,
|
|
23992
24007
|
onChange: (e) => updateLink(index, "url", e.target.value),
|
|
23993
24008
|
onKeyDown: (e) => {
|
|
@@ -24100,7 +24115,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
24100
24115
|
className: _chunk23V5BSHDcjs.cn.call(void 0, modeClassName, className),
|
|
24101
24116
|
style: customStyle,
|
|
24102
24117
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63QUMV72cjs.OpenFrameLogo, { className: "h-5 w-5", lowerPathColor: iconLowerPath, upperPathColor: iconUpperPath }) : void 0,
|
|
24103
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24118
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55X46LKRcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
24104
24119
|
children
|
|
24105
24120
|
}
|
|
24106
24121
|
);
|
|
@@ -24370,11 +24385,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
24370
24385
|
|
|
24371
24386
|
function VideoBitesDisplay({
|
|
24372
24387
|
bites,
|
|
24373
|
-
title =
|
|
24388
|
+
title = _chunk55X46LKRcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
24374
24389
|
filterPublished = true,
|
|
24375
24390
|
showTitle = true
|
|
24376
24391
|
}) {
|
|
24377
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24392
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24378
24393
|
}
|
|
24379
24394
|
|
|
24380
24395
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24383,8 +24398,8 @@ function VideoBitesDisplay({
|
|
|
24383
24398
|
|
|
24384
24399
|
var isAtEnd = (duration, time) => duration > 0 && duration - time < 1;
|
|
24385
24400
|
function theaterSeedFromLive(live, fallbackTime, fallbackMuted) {
|
|
24386
|
-
const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess',
|
|
24387
|
-
const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess',
|
|
24401
|
+
const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess', _496 => _496.getCurrentTime, 'call', _497 => _497()]), () => ( 0));
|
|
24402
|
+
const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess', _498 => _498.getDuration, 'call', _499 => _499()]), () => ( 0)), time);
|
|
24388
24403
|
return {
|
|
24389
24404
|
// At end -> start over, never rewind to an unrelated older anchor.
|
|
24390
24405
|
time: atEnd ? 0 : time > 0.5 ? time : fallbackTime,
|
|
@@ -24416,11 +24431,11 @@ function WalkthroughVideo({
|
|
|
24416
24431
|
const inline = placement === "inline";
|
|
24417
24432
|
const dismissEnabled = dismissal !== false;
|
|
24418
24433
|
const storageKey = dismissEnabled && dismissal.storageKey || WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24419
|
-
const dismissalId = _optionalChain([video, 'optionalAccess',
|
|
24434
|
+
const dismissalId = _optionalChain([video, 'optionalAccess', _500 => _500.id]) != null ? String(video.id) : "dismissed";
|
|
24420
24435
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24421
24436
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
24422
24437
|
const hasVideo = video != null;
|
|
24423
|
-
const videoId = _optionalChain([video, 'optionalAccess',
|
|
24438
|
+
const videoId = _optionalChain([video, 'optionalAccess', _501 => _501.id]);
|
|
24424
24439
|
_react.useEffect.call(void 0, () => {
|
|
24425
24440
|
let idleHandle = null;
|
|
24426
24441
|
if (!hasVideo) return void 0;
|
|
@@ -24443,13 +24458,13 @@ function WalkthroughVideo({
|
|
|
24443
24458
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24444
24459
|
};
|
|
24445
24460
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
24446
|
-
const hydrated =
|
|
24461
|
+
const hydrated = _chunkZYDNPUSHcjs.useIsHydrated.call(void 0, );
|
|
24447
24462
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24448
24463
|
if (!hydrated) return false;
|
|
24449
24464
|
try {
|
|
24450
|
-
const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access',
|
|
24465
|
+
const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access', _502 => _502.matchMedia, 'optionalCall', _503 => _503("(prefers-reduced-motion: reduce)"), 'access', _504 => _504.matches]), () => ( false));
|
|
24451
24466
|
const conn = navigator.connection;
|
|
24452
|
-
const saveData = _optionalChain([conn, 'optionalAccess',
|
|
24467
|
+
const saveData = _optionalChain([conn, 'optionalAccess', _505 => _505.saveData]) === true || _optionalChain([conn, 'optionalAccess', _506 => _506.effectiveType]) === "2g" || _optionalChain([conn, 'optionalAccess', _507 => _507.effectiveType]) === "slow-2g";
|
|
24453
24468
|
return Boolean(reducedMotion || saveData);
|
|
24454
24469
|
} catch (e28) {
|
|
24455
24470
|
return false;
|
|
@@ -24482,18 +24497,18 @@ function WalkthroughVideo({
|
|
|
24482
24497
|
const [cardMuted, setCardMuted] = _react.useState.call(void 0, false);
|
|
24483
24498
|
const [cardPaused, setCardPaused] = _react.useState.call(void 0, false);
|
|
24484
24499
|
const [userMuted, setUserMuted] = _react.useState.call(void 0, false);
|
|
24485
|
-
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess',
|
|
24500
|
+
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess', _508 => _508.youtubeUrl]));
|
|
24486
24501
|
const resumeMode = !open && handoff !== null && !isYouTube;
|
|
24487
24502
|
const previewAllowed = !previewSuppressed && !isYouTube;
|
|
24488
24503
|
const footerFadeKey = `${mounted ? 1 : 0}|${inline ? 1 : 0}|${hideNearSelector}|${pathname}`;
|
|
24489
|
-
const footerHidden = _optionalChain([footerObservation, 'optionalAccess',
|
|
24504
|
+
const footerHidden = _optionalChain([footerObservation, 'optionalAccess', _509 => _509.key]) === footerFadeKey && footerObservation.hidden;
|
|
24490
24505
|
_react.useEffect.call(void 0, () => {
|
|
24491
24506
|
if (!mounted) return void 0;
|
|
24492
24507
|
if (inline) return void 0;
|
|
24493
24508
|
const el = typeof document !== "undefined" ? document.querySelector(hideNearSelector) : null;
|
|
24494
24509
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
24495
24510
|
const io = new IntersectionObserver(
|
|
24496
|
-
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access',
|
|
24511
|
+
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access', _510 => _510[0], 'optionalAccess', _511 => _511.isIntersecting]), () => ( false)) }),
|
|
24497
24512
|
{ rootMargin: "0px 0px -40px 0px" }
|
|
24498
24513
|
);
|
|
24499
24514
|
io.observe(el);
|
|
@@ -24519,7 +24534,7 @@ function WalkthroughVideo({
|
|
|
24519
24534
|
if (!footerHidden) return;
|
|
24520
24535
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24521
24536
|
try {
|
|
24522
|
-
_optionalChain([h, 'optionalAccess',
|
|
24537
|
+
_optionalChain([h, 'optionalAccess', _512 => _512.pause, 'call', _513 => _513()]);
|
|
24523
24538
|
} catch (e30) {
|
|
24524
24539
|
}
|
|
24525
24540
|
}, [footerHidden, resumeMode, hovered]);
|
|
@@ -24538,30 +24553,30 @@ function WalkthroughVideo({
|
|
|
24538
24553
|
}, 400);
|
|
24539
24554
|
}
|
|
24540
24555
|
if (openProp === void 0) setOpenState(next);
|
|
24541
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
24556
|
+
_optionalChain([onOpenChange, 'optionalCall', _514 => _514(next)]);
|
|
24542
24557
|
},
|
|
24543
24558
|
[openProp, onOpenChange]
|
|
24544
24559
|
);
|
|
24545
24560
|
const pausePreviewNow = _react.useCallback.call(void 0, () => {
|
|
24546
24561
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24547
24562
|
try {
|
|
24548
|
-
_optionalChain([h, 'optionalAccess',
|
|
24563
|
+
_optionalChain([h, 'optionalAccess', _515 => _515.pause, 'call', _516 => _516()]);
|
|
24549
24564
|
} catch (e31) {
|
|
24550
24565
|
}
|
|
24551
24566
|
setCardPaused(true);
|
|
24552
24567
|
}, [setCardPaused]);
|
|
24553
24568
|
const openTheater = _react.useCallback.call(void 0, () => {
|
|
24554
24569
|
const handleBeforePause = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24555
|
-
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess',
|
|
24570
|
+
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess', _517 => _517.getPaused, 'call', _518 => _518()]) === false;
|
|
24556
24571
|
pausePreviewNow();
|
|
24557
24572
|
const liveHandle = _nullishCoalesce(resumeHandleRef.current, () => ( (cardModeRef.current === "preview" ? previewHandleRef.current : null)));
|
|
24558
|
-
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
24559
|
-
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
24573
|
+
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _519 => _519.getCurrentTime, 'call', _520 => _520()]), () => ( 0));
|
|
24574
|
+
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _521 => _521.getDuration, 'call', _522 => _522()]), () => ( 0));
|
|
24560
24575
|
const liveAtEnd = isAtEnd(liveDuration, liveTime);
|
|
24561
24576
|
const start = {
|
|
24562
24577
|
// At end -> start over. Falling back to `handoff.time` here would rewind
|
|
24563
24578
|
// to an unrelated older anchor (e.g. 3:20) instead of restarting.
|
|
24564
|
-
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
24579
|
+
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _523 => _523.time]), () => ( 0)),
|
|
24565
24580
|
// Live element wins over remembered intent (the theater's own chrome may
|
|
24566
24581
|
// have changed it) — EXCEPT when the element is muted only because
|
|
24567
24582
|
// autoplay policy forced it, which is not intent.
|
|
@@ -24589,7 +24604,7 @@ function WalkthroughVideo({
|
|
|
24589
24604
|
const selfDriven = selfDrivenFor === open;
|
|
24590
24605
|
if (openProp !== void 0 && !selfDriven) {
|
|
24591
24606
|
if (open) {
|
|
24592
|
-
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
24607
|
+
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _524 => _524.time]), () => ( 0)), userMuted));
|
|
24593
24608
|
setHovered(false);
|
|
24594
24609
|
setSuspended(false);
|
|
24595
24610
|
setHandoff(null);
|
|
@@ -24675,8 +24690,8 @@ function WalkthroughVideo({
|
|
|
24675
24690
|
});
|
|
24676
24691
|
_react.useEffect.call(void 0, () => {
|
|
24677
24692
|
if (resumeMode) {
|
|
24678
|
-
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access',
|
|
24679
|
-
setCardPaused(_optionalChain([handoffRef, 'access',
|
|
24693
|
+
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access', _525 => _525.current, 'optionalAccess', _526 => _526.muted]), () => ( false)));
|
|
24694
|
+
setCardPaused(_optionalChain([handoffRef, 'access', _527 => _527.current, 'optionalAccess', _528 => _528.playing]) === false);
|
|
24680
24695
|
}
|
|
24681
24696
|
}, [resumeMode]);
|
|
24682
24697
|
const [hoverSeeded, setHoverSeeded] = _react.useState.call(void 0, hovered);
|
|
@@ -24758,11 +24773,11 @@ function WalkthroughVideo({
|
|
|
24758
24773
|
},
|
|
24759
24774
|
[cardFallback.blocked, cardPaused, activeHandle, setCardPaused]
|
|
24760
24775
|
);
|
|
24761
|
-
const summaryTitle = _optionalChain([video, 'optionalAccess',
|
|
24762
|
-
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
24776
|
+
const summaryTitle = _optionalChain([video, 'optionalAccess', _529 => _529.title]) || void 0;
|
|
24777
|
+
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess', _530 => _530.presenterAvatarUrl]), () => ( null));
|
|
24763
24778
|
const embedUrlKey = _react.useMemo.call(void 0,
|
|
24764
|
-
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
24765
|
-
[_optionalChain([video, 'optionalAccess',
|
|
24779
|
+
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _531 => _531.mainVideoUrl]), () => ( ""))}|${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _532 => _532.youtubeUrl]), () => ( ""))}`,
|
|
24780
|
+
[_optionalChain([video, 'optionalAccess', _533 => _533.mainVideoUrl]), _optionalChain([video, 'optionalAccess', _534 => _534.youtubeUrl])]
|
|
24766
24781
|
);
|
|
24767
24782
|
const cardActive = !open && previewAllowed && hovered && !resumeMode;
|
|
24768
24783
|
const cardMode = resumeMode ? "resume" : cardActive ? "preview" : "poster";
|
|
@@ -24821,7 +24836,7 @@ function WalkthroughVideo({
|
|
|
24821
24836
|
const el = e.target;
|
|
24822
24837
|
let keyboard = false;
|
|
24823
24838
|
try {
|
|
24824
|
-
keyboard = _nullishCoalesce(_optionalChain([el, 'access',
|
|
24839
|
+
keyboard = _nullishCoalesce(_optionalChain([el, 'access', _535 => _535.matches, 'optionalCall', _536 => _536(":focus-visible")]), () => ( false));
|
|
24825
24840
|
} catch (e36) {
|
|
24826
24841
|
keyboard = false;
|
|
24827
24842
|
}
|
|
@@ -24840,7 +24855,7 @@ function WalkthroughVideo({
|
|
|
24840
24855
|
},
|
|
24841
24856
|
children: [
|
|
24842
24857
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24843
|
-
|
|
24858
|
+
_chunkZYDNPUSHcjs.VideoHoverPreviewSurface,
|
|
24844
24859
|
{
|
|
24845
24860
|
url: video.mainVideoUrl || "",
|
|
24846
24861
|
posterUrl: video.posterUrl,
|
|
@@ -24855,15 +24870,15 @@ function WalkthroughVideo({
|
|
|
24855
24870
|
previewHandleRef: cardMode === "resume" ? resumeHandleRef : previewHandleRef,
|
|
24856
24871
|
mutedIntent: userMuted,
|
|
24857
24872
|
continuation: cardMode === "resume",
|
|
24858
|
-
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess',
|
|
24859
|
-
startTime: _optionalChain([resumeHandoff, 'optionalAccess',
|
|
24860
|
-
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess',
|
|
24873
|
+
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess', _537 => _537.playing]) !== false && !footerHidden,
|
|
24874
|
+
startTime: _optionalChain([resumeHandoff, 'optionalAccess', _538 => _538.time]),
|
|
24875
|
+
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess', _539 => _539.muted]), () => ( false)),
|
|
24861
24876
|
onEnded: cardMode === "resume" ? () => setHandoff(null) : () => setCardPaused(true)
|
|
24862
24877
|
},
|
|
24863
24878
|
`card-${embedUrlKey}`
|
|
24864
24879
|
) }),
|
|
24865
24880
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24866
|
-
|
|
24881
|
+
_chunkZYDNPUSHcjs.CardHitLayer,
|
|
24867
24882
|
{
|
|
24868
24883
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24869
24884
|
onPointerDown: pausePreviewNow,
|
|
@@ -24872,7 +24887,7 @@ function WalkthroughVideo({
|
|
|
24872
24887
|
}
|
|
24873
24888
|
),
|
|
24874
24889
|
/* @__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: [
|
|
24875
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24890
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55X46LKRcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
24876
24891
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
24877
24892
|
] }),
|
|
24878
24893
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24885,7 +24900,7 @@ function WalkthroughVideo({
|
|
|
24885
24900
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24886
24901
|
onClick: onUnmuteOrPlay,
|
|
24887
24902
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
24888
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24903
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.VideoUnmuteGlyph, {})
|
|
24889
24904
|
}
|
|
24890
24905
|
),
|
|
24891
24906
|
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: [
|
|
@@ -24954,7 +24969,7 @@ function WalkthroughVideo({
|
|
|
24954
24969
|
{
|
|
24955
24970
|
onOpenAutoFocus: (e) => {
|
|
24956
24971
|
e.preventDefault();
|
|
24957
|
-
_optionalChain([closeButtonRef, 'access',
|
|
24972
|
+
_optionalChain([closeButtonRef, 'access', _540 => _540.current, 'optionalAccess', _541 => _541.focus, 'call', _542 => _542()]);
|
|
24958
24973
|
},
|
|
24959
24974
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
24960
24975
|
// PURE theater: just the video, centered on a dimmed backdrop.
|
|
@@ -24978,7 +24993,7 @@ function WalkthroughVideo({
|
|
|
24978
24993
|
children: [
|
|
24979
24994
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
24980
24995
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24981
|
-
|
|
24996
|
+
_chunkZYDNPUSHcjs.Video,
|
|
24982
24997
|
{
|
|
24983
24998
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
24984
24999
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -25029,7 +25044,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
25029
25044
|
var _reactquery = require('@tanstack/react-query');
|
|
25030
25045
|
function useWalkthroughVideo(opts) {
|
|
25031
25046
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
25032
|
-
const captions =
|
|
25047
|
+
const captions = _chunkZYDNPUSHcjs.useCaptions.call(void 0, );
|
|
25033
25048
|
const query = _reactquery.useQuery.call(void 0, {
|
|
25034
25049
|
queryKey: ["walkthrough-video", endpoint],
|
|
25035
25050
|
enabled,
|
|
@@ -25048,14 +25063,14 @@ function useWalkthroughVideo(opts) {
|
|
|
25048
25063
|
if (res.status === 404) return null;
|
|
25049
25064
|
if (!res.ok) throw new Error(`Walkthrough video request failed (${res.status})`);
|
|
25050
25065
|
const body = await res.json();
|
|
25051
|
-
return _nullishCoalesce(_optionalChain([body, 'optionalAccess',
|
|
25066
|
+
return _nullishCoalesce(_optionalChain([body, 'optionalAccess', _543 => _543.walkthroughVideo]), () => ( null));
|
|
25052
25067
|
},
|
|
25053
25068
|
// Per-observer transform — NEVER mutate the cached data. `select` also runs
|
|
25054
25069
|
// over `initialData`, so the SSR seed is rewritten too. Keeping the proxy
|
|
25055
25070
|
// rewrite here (not in queryFn) means a second consumer of the same
|
|
25056
25071
|
// endpoint can't inherit this observer's proxied captionsUrl from the cache.
|
|
25057
25072
|
select: (video) => {
|
|
25058
|
-
if (!_optionalChain([video, 'optionalAccess',
|
|
25073
|
+
if (!_optionalChain([video, 'optionalAccess', _544 => _544.captionsUrl])) return video;
|
|
25059
25074
|
if (transformCaptionsUrl && video.captionsUrl.startsWith("/")) {
|
|
25060
25075
|
return { ...video, captionsUrl: transformCaptionsUrl(video.captionsUrl) };
|
|
25061
25076
|
}
|
|
@@ -25102,7 +25117,7 @@ function VideoSourceSelector({
|
|
|
25102
25117
|
input.accept = "video/*";
|
|
25103
25118
|
input.onchange = async (e) => {
|
|
25104
25119
|
const target = e.target;
|
|
25105
|
-
const file = _optionalChain([target, 'access',
|
|
25120
|
+
const file = _optionalChain([target, 'access', _545 => _545.files, 'optionalAccess', _546 => _546[0]]);
|
|
25106
25121
|
if (!file) return;
|
|
25107
25122
|
setIsUploading(true);
|
|
25108
25123
|
setUploadProgress(0);
|
|
@@ -25227,7 +25242,7 @@ function VideoSourceSelector({
|
|
|
25227
25242
|
}
|
|
25228
25243
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
25229
25244
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
25230
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25245
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
25231
25246
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25232
25247
|
"button",
|
|
25233
25248
|
{
|
|
@@ -25278,7 +25293,7 @@ function SubtitlesEditor({
|
|
|
25278
25293
|
{
|
|
25279
25294
|
id,
|
|
25280
25295
|
value: subtitles || "",
|
|
25281
|
-
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall',
|
|
25296
|
+
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _547 => _547(e.target.value)]),
|
|
25282
25297
|
placeholder,
|
|
25283
25298
|
disabled: disabled || !onSubtitlesChange,
|
|
25284
25299
|
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",
|
|
@@ -25507,7 +25522,7 @@ var AIEnrichSection = ({
|
|
|
25507
25522
|
}) => {
|
|
25508
25523
|
const hasResults = status === "success" || status === "error";
|
|
25509
25524
|
const shouldDisable = disabled || !canEnrich;
|
|
25510
|
-
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess',
|
|
25525
|
+
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _548 => _548.filter, 'call', _549 => _549((f) => !f.isFilled)]) || [];
|
|
25511
25526
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25512
25527
|
"div",
|
|
25513
25528
|
{
|
|
@@ -25539,7 +25554,7 @@ var AIEnrichSection = ({
|
|
|
25539
25554
|
{
|
|
25540
25555
|
id: "ai-enrich-custom-instructions",
|
|
25541
25556
|
value: _nullishCoalesce(customInstructions, () => ( "")),
|
|
25542
|
-
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall',
|
|
25557
|
+
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _550 => _550(e.target.value)]),
|
|
25543
25558
|
placeholder: customInstructionsPlaceholder,
|
|
25544
25559
|
disabled: loading,
|
|
25545
25560
|
maxLength: customInstructionsMaxLength,
|
|
@@ -25661,7 +25676,7 @@ function HighlightVideoSection({
|
|
|
25661
25676
|
input.accept = "video/*";
|
|
25662
25677
|
input.onchange = async (e) => {
|
|
25663
25678
|
const target = e.target;
|
|
25664
|
-
const file = _optionalChain([target, 'access',
|
|
25679
|
+
const file = _optionalChain([target, 'access', _551 => _551.files, 'optionalAccess', _552 => _552[0]]);
|
|
25665
25680
|
if (!file) return;
|
|
25666
25681
|
setUploadError(null);
|
|
25667
25682
|
try {
|
|
@@ -25751,7 +25766,7 @@ function HighlightVideoSection({
|
|
|
25751
25766
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25752
25767
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25753
25768
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25754
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25769
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25755
25770
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25756
25771
|
"button",
|
|
25757
25772
|
{
|
|
@@ -26088,7 +26103,7 @@ function HighlightVideoPreview({
|
|
|
26088
26103
|
input.accept = "video/*";
|
|
26089
26104
|
input.onchange = async (e) => {
|
|
26090
26105
|
const target = e.target;
|
|
26091
|
-
const file = _optionalChain([target, 'access',
|
|
26106
|
+
const file = _optionalChain([target, 'access', _553 => _553.files, 'optionalAccess', _554 => _554[0]]);
|
|
26092
26107
|
if (!file) return;
|
|
26093
26108
|
await onUpload(file);
|
|
26094
26109
|
};
|
|
@@ -26272,7 +26287,7 @@ function HighlightVideoCombinedSection({
|
|
|
26272
26287
|
input.accept = "video/*";
|
|
26273
26288
|
input.onchange = async (e) => {
|
|
26274
26289
|
const target = e.target;
|
|
26275
|
-
const file = _optionalChain([target, 'access',
|
|
26290
|
+
const file = _optionalChain([target, 'access', _555 => _555.files, 'optionalAccess', _556 => _556[0]]);
|
|
26276
26291
|
if (!file) return;
|
|
26277
26292
|
await onUpload(file);
|
|
26278
26293
|
};
|
|
@@ -26461,7 +26476,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26461
26476
|
if (level) onPermissionChange(categoryId, policy.id, level);
|
|
26462
26477
|
};
|
|
26463
26478
|
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: [
|
|
26464
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26479
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZI27ALYXcjs.ToolIcon, { toolType: policy.toolName, size: 16 }) }),
|
|
26465
26480
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
26466
26481
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h4", title: policy.name, children: policy.name }),
|
|
26467
26482
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "break-all text-ods-text-secondary text-h6", children: policy.commandPattern }),
|
|
@@ -26487,7 +26502,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26487
26502
|
] });
|
|
26488
26503
|
};
|
|
26489
26504
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
26490
|
-
const { innerRef, containerStyle } =
|
|
26505
|
+
const { innerRef, containerStyle } = _chunkZYDNPUSHcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
26491
26506
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
26492
26507
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26493
26508
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26652,10 +26667,10 @@ function WaitlistForm({
|
|
|
26652
26667
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26653
26668
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
26654
26669
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
26655
|
-
const { toast } =
|
|
26656
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
26670
|
+
const { toast } = _chunkQIVX7F3Ncjs.useToast.call(void 0, );
|
|
26671
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkQIVX7F3Ncjs.useHumanitySignals.call(void 0, );
|
|
26657
26672
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26658
|
-
const isClient =
|
|
26673
|
+
const isClient = _chunkZYDNPUSHcjs.useIsHydrated.call(void 0, );
|
|
26659
26674
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26660
26675
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26661
26676
|
const isMailDomainGeneric = hasGenericEmailDomain(email);
|
|
@@ -26951,19 +26966,19 @@ function NotificationsProvider({
|
|
|
26951
26966
|
}, []);
|
|
26952
26967
|
const markRead = _react.useCallback.call(void 0, (id) => {
|
|
26953
26968
|
dispatch({ type: "markRead", id });
|
|
26954
|
-
void _optionalChain([actionsRef, 'access',
|
|
26969
|
+
void _optionalChain([actionsRef, 'access', _557 => _557.current, 'optionalAccess', _558 => _558.onMarkRead, 'optionalCall', _559 => _559(id)]);
|
|
26955
26970
|
}, []);
|
|
26956
26971
|
const markAllRead = _react.useCallback.call(void 0, () => {
|
|
26957
26972
|
dispatch({ type: "markAllRead" });
|
|
26958
|
-
void _optionalChain([actionsRef, 'access',
|
|
26973
|
+
void _optionalChain([actionsRef, 'access', _560 => _560.current, 'optionalAccess', _561 => _561.onMarkAllRead, 'optionalCall', _562 => _562()]);
|
|
26959
26974
|
}, []);
|
|
26960
26975
|
const markSettled = _react.useCallback.call(void 0, (id) => {
|
|
26961
26976
|
dispatch({ type: "markSettled", id });
|
|
26962
|
-
void _optionalChain([actionsRef, 'access',
|
|
26977
|
+
void _optionalChain([actionsRef, 'access', _563 => _563.current, 'optionalAccess', _564 => _564.onMarkSettled, 'optionalCall', _565 => _565(id)]);
|
|
26963
26978
|
}, []);
|
|
26964
26979
|
const remove = _react.useCallback.call(void 0, (id) => {
|
|
26965
26980
|
dispatch({ type: "remove", id });
|
|
26966
|
-
void _optionalChain([actionsRef, 'access',
|
|
26981
|
+
void _optionalChain([actionsRef, 'access', _566 => _566.current, 'optionalAccess', _567 => _567.onRemove, 'optionalCall', _568 => _568(id)]);
|
|
26967
26982
|
}, []);
|
|
26968
26983
|
const clear = _react.useCallback.call(void 0, () => dispatch({ type: "clear" }), []);
|
|
26969
26984
|
const open = _react.useCallback.call(void 0, () => setIsOpen(true), []);
|
|
@@ -26972,14 +26987,14 @@ function NotificationsProvider({
|
|
|
26972
26987
|
const setShowPopups = _react.useCallback.call(void 0,
|
|
26973
26988
|
(value2) => {
|
|
26974
26989
|
setShowPopupsState(value2);
|
|
26975
|
-
_optionalChain([onShowPopupsChange, 'optionalCall',
|
|
26990
|
+
_optionalChain([onShowPopupsChange, 'optionalCall', _569 => _569(value2)]);
|
|
26976
26991
|
},
|
|
26977
26992
|
[onShowPopupsChange]
|
|
26978
26993
|
);
|
|
26979
26994
|
const setShowDesktopPopups = _react.useCallback.call(void 0,
|
|
26980
26995
|
(value2) => {
|
|
26981
26996
|
setShowDesktopPopupsState(value2);
|
|
26982
|
-
_optionalChain([onShowDesktopPopupsChange, 'optionalCall',
|
|
26997
|
+
_optionalChain([onShowDesktopPopupsChange, 'optionalCall', _570 => _570(value2)]);
|
|
26983
26998
|
},
|
|
26984
26999
|
[onShowDesktopPopupsChange]
|
|
26985
27000
|
);
|
|
@@ -27095,7 +27110,7 @@ var AppLayoutDrawerRoot = ({
|
|
|
27095
27110
|
const handleOpenChange = _react.useCallback.call(void 0,
|
|
27096
27111
|
(next) => {
|
|
27097
27112
|
if (!isControlled) setInternalOpen(next);
|
|
27098
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
27113
|
+
_optionalChain([onOpenChange, 'optionalCall', _571 => _571(next)]);
|
|
27099
27114
|
},
|
|
27100
27115
|
[isControlled, onOpenChange]
|
|
27101
27116
|
);
|
|
@@ -27112,9 +27127,9 @@ var AppLayoutDrawerRoot = ({
|
|
|
27112
27127
|
}
|
|
27113
27128
|
}));
|
|
27114
27129
|
_react.useEffect.call(void 0, () => {
|
|
27115
|
-
if (open) _optionalChain([coordination, 'optionalAccess',
|
|
27130
|
+
if (open) _optionalChain([coordination, 'optionalAccess', _572 => _572.notifyDrawerDidOpen, 'call', _573 => _573(selfHandle)]);
|
|
27116
27131
|
}, [open, coordination, selfHandle]);
|
|
27117
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
27132
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _574 => _574.registerDrawer, 'call', _575 => _575(selfHandle)]), [coordination, selfHandle]);
|
|
27118
27133
|
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 }) });
|
|
27119
27134
|
};
|
|
27120
27135
|
AppLayoutDrawerRoot.displayName = "AppLayoutDrawer";
|
|
@@ -27203,7 +27218,7 @@ function useContainedResizableSize({
|
|
|
27203
27218
|
const clampToContainer = _react.useCallback.call(void 0,
|
|
27204
27219
|
(value) => {
|
|
27205
27220
|
const effectiveMax = available > 0 ? Math.min(maxSize, available - 40) : maxSize;
|
|
27206
|
-
return
|
|
27221
|
+
return _chunk4E7XCEV3cjs.clamp.call(void 0, value, minSize, Math.max(minSize, effectiveMax));
|
|
27207
27222
|
},
|
|
27208
27223
|
[available, minSize, maxSize]
|
|
27209
27224
|
);
|
|
@@ -27435,7 +27450,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27435
27450
|
"data-state": open ? "open" : "closed",
|
|
27436
27451
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
27437
27452
|
"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",
|
|
27438
|
-
|
|
27453
|
+
_chunkZYDNPUSHcjs.OVERLAY_BACKDROP_CLASS,
|
|
27439
27454
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
27440
27455
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
27441
27456
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -27463,10 +27478,10 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27463
27478
|
),
|
|
27464
27479
|
style,
|
|
27465
27480
|
onInteractOutside: (event) => {
|
|
27466
|
-
_optionalChain([onInteractOutside, 'optionalCall',
|
|
27481
|
+
_optionalChain([onInteractOutside, 'optionalCall', _576 => _576(event)]);
|
|
27467
27482
|
if (event.defaultPrevented) return;
|
|
27468
27483
|
const target = event.target;
|
|
27469
|
-
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess',
|
|
27484
|
+
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _577 => _577.contains, 'call', _578 => _578(target)]);
|
|
27470
27485
|
if (!isInsideContainer) {
|
|
27471
27486
|
event.preventDefault();
|
|
27472
27487
|
return;
|
|
@@ -27511,11 +27526,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27511
27526
|
}
|
|
27512
27527
|
);
|
|
27513
27528
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
27514
|
-
var AppLayoutDrawerHeader =
|
|
27515
|
-
var AppLayoutDrawerTitle =
|
|
27516
|
-
var AppLayoutDrawerDescription =
|
|
27517
|
-
var AppLayoutDrawerBody =
|
|
27518
|
-
var AppLayoutDrawerFooter =
|
|
27529
|
+
var AppLayoutDrawerHeader = _chunkZYDNPUSHcjs.DrawerHeader;
|
|
27530
|
+
var AppLayoutDrawerTitle = _chunkZYDNPUSHcjs.DrawerTitle;
|
|
27531
|
+
var AppLayoutDrawerDescription = _chunkZYDNPUSHcjs.DrawerDescription;
|
|
27532
|
+
var AppLayoutDrawerBody = _chunkZYDNPUSHcjs.DrawerBody;
|
|
27533
|
+
var AppLayoutDrawerFooter = _chunkZYDNPUSHcjs.DrawerFooter;
|
|
27519
27534
|
|
|
27520
27535
|
// src/components/features/notifications/notification-tile.tsx
|
|
27521
27536
|
|
|
@@ -27569,7 +27584,7 @@ function NotificationTile({
|
|
|
27569
27584
|
if (!counting) return void 0;
|
|
27570
27585
|
const remaining = Math.max(0, liveDurationMs - initialElapsed);
|
|
27571
27586
|
const timer = window.setTimeout(() => {
|
|
27572
|
-
_optionalChain([onSettle, 'optionalCall',
|
|
27587
|
+
_optionalChain([onSettle, 'optionalCall', _579 => _579(id)]);
|
|
27573
27588
|
}, remaining);
|
|
27574
27589
|
return () => window.clearTimeout(timer);
|
|
27575
27590
|
}, [id, counting, initialElapsed, liveDurationMs, onSettle]);
|
|
@@ -27601,15 +27616,15 @@ function NotificationTile({
|
|
|
27601
27616
|
height: 16,
|
|
27602
27617
|
unoptimized: true
|
|
27603
27618
|
}
|
|
27604
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
27619
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkQIVX7F3Ncjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27605
27620
|
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" }),
|
|
27606
|
-
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
27621
|
+
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkZYDNPUSHcjs.formatTicketRelativeTime.call(void 0, createdAtIso) }) : null,
|
|
27607
27622
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
27608
27623
|
{
|
|
27609
27624
|
active: isLive,
|
|
27610
27625
|
label: "Dismiss notification",
|
|
27611
27626
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.XmarkIcon, { size: 16 }),
|
|
27612
|
-
onClick: () => _optionalChain([onSettle, 'optionalCall',
|
|
27627
|
+
onClick: () => _optionalChain([onSettle, 'optionalCall', _580 => _580(id)])
|
|
27613
27628
|
},
|
|
27614
27629
|
{
|
|
27615
27630
|
active: !isLive,
|
|
@@ -27648,7 +27663,7 @@ function NotificationTile({
|
|
|
27648
27663
|
"div",
|
|
27649
27664
|
{
|
|
27650
27665
|
"aria-hidden": true,
|
|
27651
|
-
className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left",
|
|
27666
|
+
className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left", _chunkQIVX7F3Ncjs.progressColorByVariant[accentVariant]),
|
|
27652
27667
|
style: {
|
|
27653
27668
|
animation: `toast-progress ${liveDurationMs}ms linear forwards`,
|
|
27654
27669
|
animationDelay: `-${initialElapsed}ms`
|
|
@@ -27700,7 +27715,7 @@ function NotificationDrawer({
|
|
|
27700
27715
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27701
27716
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27702
27717
|
/* @__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,
|
|
27703
|
-
|
|
27718
|
+
_chunkZYDNPUSHcjs.DrawerTitle,
|
|
27704
27719
|
{
|
|
27705
27720
|
hideClose: true,
|
|
27706
27721
|
className: "truncate",
|
|
@@ -27759,8 +27774,8 @@ function NotificationDrawer({
|
|
|
27759
27774
|
}
|
|
27760
27775
|
) });
|
|
27761
27776
|
}
|
|
27762
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27763
|
-
|
|
27777
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27778
|
+
_chunkZYDNPUSHcjs.DrawerContent,
|
|
27764
27779
|
{
|
|
27765
27780
|
side: "right",
|
|
27766
27781
|
"aria-describedby": void 0,
|
|
@@ -27797,7 +27812,7 @@ function DrawerScrollList({
|
|
|
27797
27812
|
if (!sentinel || !root) return void 0;
|
|
27798
27813
|
const observer = new IntersectionObserver(
|
|
27799
27814
|
(entries) => {
|
|
27800
|
-
if (_optionalChain([entries, 'access',
|
|
27815
|
+
if (_optionalChain([entries, 'access', _581 => _581[0], 'optionalAccess', _582 => _582.isIntersecting])) _optionalChain([loadMoreRef, 'access', _583 => _583.current, 'optionalCall', _584 => _584()]);
|
|
27801
27816
|
},
|
|
27802
27817
|
{ root, rootMargin: loadMoreRootMargin }
|
|
27803
27818
|
);
|
|
@@ -27812,7 +27827,7 @@ function DrawerScrollList({
|
|
|
27812
27827
|
className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
|
|
27813
27828
|
children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27814
27829
|
unreadNotifications.map((n) => {
|
|
27815
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
27830
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _585 => _585(n, { onComplete, onSettle, liveDurationMs })]);
|
|
27816
27831
|
if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
|
|
27817
27832
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27818
27833
|
NotificationTile,
|
|
@@ -27865,7 +27880,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
27865
27880
|
] });
|
|
27866
27881
|
}
|
|
27867
27882
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
27868
|
-
const { supported, permission, request } =
|
|
27883
|
+
const { supported, permission, request } = _chunkQIVX7F3Ncjs.useNotificationPermission.call(void 0, );
|
|
27869
27884
|
if (!supported) return null;
|
|
27870
27885
|
const blocked = permission === "denied";
|
|
27871
27886
|
const handleChange = async (value) => {
|
|
@@ -27932,7 +27947,7 @@ function NotificationPopups({
|
|
|
27932
27947
|
}) {
|
|
27933
27948
|
const ctx = useOptionalNotifications();
|
|
27934
27949
|
const [now, setNow] = _react.useState.call(void 0, () => Date.now());
|
|
27935
|
-
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess',
|
|
27950
|
+
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess', _586 => _586.notifications, 'access', _587 => _587.some, 'call', _588 => _588((n) => !n.read && !n.settled)]));
|
|
27936
27951
|
_react.useEffect.call(void 0, () => {
|
|
27937
27952
|
if (!hasAgeingNotifications) return void 0;
|
|
27938
27953
|
const id = setInterval(() => setNow(Date.now()), 500);
|
|
@@ -27975,7 +27990,7 @@ function NotificationPopups({
|
|
|
27975
27990
|
className
|
|
27976
27991
|
),
|
|
27977
27992
|
children: live.map((n) => {
|
|
27978
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
27993
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _589 => _589(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
|
|
27979
27994
|
if (custom) {
|
|
27980
27995
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
|
|
27981
27996
|
}
|
|
@@ -28014,34 +28029,34 @@ function NotificationPopups({
|
|
|
28014
28029
|
// src/components/features/notifications/types.ts
|
|
28015
28030
|
var ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = "ADMIN_APPROVAL_REQUEST";
|
|
28016
28031
|
function isApprovalNotification(notification) {
|
|
28017
|
-
return _optionalChain([notification, 'access',
|
|
28032
|
+
return _optionalChain([notification, 'access', _590 => _590.meta, 'optionalAccess', _591 => _591.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
|
|
28018
28033
|
}
|
|
28019
28034
|
function getApprovalMeta(notification) {
|
|
28020
28035
|
if (!isApprovalNotification(notification)) return null;
|
|
28021
28036
|
const meta = notification.meta;
|
|
28022
|
-
const approvalRequestId = _optionalChain([meta, 'optionalAccess',
|
|
28023
|
-
const toolCalls = _optionalChain([meta, 'optionalAccess',
|
|
28037
|
+
const approvalRequestId = _optionalChain([meta, 'optionalAccess', _592 => _592.approvalRequestId]);
|
|
28038
|
+
const toolCalls = _optionalChain([meta, 'optionalAccess', _593 => _593.toolCalls]);
|
|
28024
28039
|
if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
|
|
28025
28040
|
return {
|
|
28026
28041
|
approvalRequestId,
|
|
28027
|
-
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28028
|
-
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28029
|
-
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28030
|
-
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28031
|
-
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28042
|
+
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _594 => _594.dialogId]), () => ( null)),
|
|
28043
|
+
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _595 => _595.ticketId]), () => ( null)),
|
|
28044
|
+
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _596 => _596.approvalType]), () => ( null)),
|
|
28045
|
+
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _597 => _597.resolution]), () => ( null)),
|
|
28046
|
+
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _598 => _598.resolvedByName]), () => ( null)),
|
|
28032
28047
|
toolCalls
|
|
28033
28048
|
};
|
|
28034
28049
|
}
|
|
28035
28050
|
function resolutionToStatus(resolution) {
|
|
28036
28051
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
28037
28052
|
case "APPROVED":
|
|
28038
|
-
return
|
|
28053
|
+
return _chunkZYDNPUSHcjs.APPROVAL_STATUS.APPROVED;
|
|
28039
28054
|
case "REJECTED":
|
|
28040
|
-
return
|
|
28055
|
+
return _chunkZYDNPUSHcjs.APPROVAL_STATUS.REJECTED;
|
|
28041
28056
|
case "CANCELLED":
|
|
28042
|
-
return
|
|
28057
|
+
return _chunkZYDNPUSHcjs.APPROVAL_STATUS.CANCELLED;
|
|
28043
28058
|
default:
|
|
28044
|
-
return
|
|
28059
|
+
return _chunkZYDNPUSHcjs.APPROVAL_STATUS.PENDING;
|
|
28045
28060
|
}
|
|
28046
28061
|
}
|
|
28047
28062
|
function approvalMetaToBatchData(approval) {
|
|
@@ -28078,10 +28093,10 @@ function ApprovalRequestNotificationTile({
|
|
|
28078
28093
|
const [processing, setProcessing] = _react.useState.call(void 0, false);
|
|
28079
28094
|
const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
|
|
28080
28095
|
const approval = getApprovalMeta(notification);
|
|
28081
|
-
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess',
|
|
28096
|
+
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _599 => _599.resolution]));
|
|
28082
28097
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28083
28098
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28084
|
-
const { innerRef, containerStyle } =
|
|
28099
|
+
const { innerRef, containerStyle } = _chunkZYDNPUSHcjs.useCollapsible.call(void 0, { expanded });
|
|
28085
28100
|
if (!approval || !batchData) return null;
|
|
28086
28101
|
const tileNotification = {
|
|
28087
28102
|
...notification,
|
|
@@ -28134,7 +28149,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28134
28149
|
}
|
|
28135
28150
|
)
|
|
28136
28151
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28137
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28152
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ApprovalStatusTag, { status }),
|
|
28138
28153
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
28139
28154
|
"by ",
|
|
28140
28155
|
approval.resolvedByName
|
|
@@ -28152,12 +28167,12 @@ function ApprovalRequestNotificationTile({
|
|
|
28152
28167
|
"aria-expanded": expanded,
|
|
28153
28168
|
"aria-label": toggleLabel,
|
|
28154
28169
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
28155
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28170
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.ExpandChevron, { expanded })
|
|
28156
28171
|
}
|
|
28157
28172
|
)
|
|
28158
28173
|
] }),
|
|
28159
28174
|
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,
|
|
28160
|
-
|
|
28175
|
+
_chunkZYDNPUSHcjs.ApprovalBatchMessage,
|
|
28161
28176
|
{
|
|
28162
28177
|
data: batchData,
|
|
28163
28178
|
showExecutionStatus: false,
|
|
@@ -28230,7 +28245,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
28230
28245
|
const { label, imageUrl } = option;
|
|
28231
28246
|
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: [
|
|
28232
28247
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
28233
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28248
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk55X46LKRcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
28234
28249
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
28235
28250
|
] }),
|
|
28236
28251
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -28314,7 +28329,7 @@ function TimeTrackerPanel({
|
|
|
28314
28329
|
}));
|
|
28315
28330
|
const selectedCustomer = customerAutocompleteOptions.find((o) => o.value === selectedCustomerId);
|
|
28316
28331
|
const customerStartAdornment = selectedCustomer ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28317
|
-
|
|
28332
|
+
_chunk55X46LKRcjs.SquareAvatar,
|
|
28318
28333
|
{
|
|
28319
28334
|
src: selectedCustomer.imageUrl,
|
|
28320
28335
|
alt: selectedCustomer.label,
|
|
@@ -28405,7 +28420,7 @@ function TimeTrackerPanel({
|
|
|
28405
28420
|
error: showFieldError ? "Required if no notes added" : void 0,
|
|
28406
28421
|
disableClientFilter: !!onTicketSearch,
|
|
28407
28422
|
onInputChange: (value, reason) => {
|
|
28408
|
-
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall',
|
|
28423
|
+
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _600 => _600(value)]);
|
|
28409
28424
|
}
|
|
28410
28425
|
}
|
|
28411
28426
|
),
|
|
@@ -28420,7 +28435,7 @@ function TimeTrackerPanel({
|
|
|
28420
28435
|
disabled: customerLocked,
|
|
28421
28436
|
disableClientFilter: !!onCustomerSearch,
|
|
28422
28437
|
onInputChange: (value, reason) => {
|
|
28423
|
-
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall',
|
|
28438
|
+
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _601 => _601(value)]);
|
|
28424
28439
|
},
|
|
28425
28440
|
startAdornment: customerStartAdornment,
|
|
28426
28441
|
renderOption: renderCustomerOption
|
|
@@ -28493,7 +28508,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28493
28508
|
function StatusTag({ status }) {
|
|
28494
28509
|
if (status === "tracking") {
|
|
28495
28510
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28496
|
-
|
|
28511
|
+
_chunkZYDNPUSHcjs.Tag,
|
|
28497
28512
|
{
|
|
28498
28513
|
variant: "success",
|
|
28499
28514
|
className: STATUS_TAG_SKIN,
|
|
@@ -28503,9 +28518,9 @@ function StatusTag({ status }) {
|
|
|
28503
28518
|
);
|
|
28504
28519
|
}
|
|
28505
28520
|
if (status === "paused") {
|
|
28506
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28521
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
28507
28522
|
}
|
|
28508
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28523
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28509
28524
|
}
|
|
28510
28525
|
function LastEntryRow({ entry, onClick }) {
|
|
28511
28526
|
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: [
|
|
@@ -28522,7 +28537,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
28522
28537
|
{
|
|
28523
28538
|
variant: "outline",
|
|
28524
28539
|
size: "icon",
|
|
28525
|
-
onClick: () => _optionalChain([onClick, 'optionalCall',
|
|
28540
|
+
onClick: () => _optionalChain([onClick, 'optionalCall', _602 => _602(entry)]),
|
|
28526
28541
|
disabled: !onClick,
|
|
28527
28542
|
"aria-label": `Open entry: ${entry.title}`,
|
|
28528
28543
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
@@ -28606,28 +28621,28 @@ function HeaderButton({
|
|
|
28606
28621
|
function TimeTrackerHeaderButton({ className, disabled }) {
|
|
28607
28622
|
const ctx = useOptionalTimeTracker();
|
|
28608
28623
|
const elapsedLabel = useTrackerClock({
|
|
28609
|
-
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
28610
|
-
runningSince: _optionalChain([ctx, 'optionalAccess',
|
|
28611
|
-
accumulatedMs: _optionalChain([ctx, 'optionalAccess',
|
|
28624
|
+
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _603 => _603.status]), () => ( "ready")),
|
|
28625
|
+
runningSince: _optionalChain([ctx, 'optionalAccess', _604 => _604.runningSince]),
|
|
28626
|
+
accumulatedMs: _optionalChain([ctx, 'optionalAccess', _605 => _605.accumulatedMs])
|
|
28612
28627
|
});
|
|
28613
28628
|
const layoutContainer = useAppLayoutDrawerContainer();
|
|
28614
28629
|
const coordination = useAppLayoutDrawerCoordination();
|
|
28615
|
-
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
28630
|
+
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _606 => _606.isOpen]), () => ( false));
|
|
28616
28631
|
const isOpenRef = _react.useRef.call(void 0, isOpen);
|
|
28617
|
-
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess',
|
|
28632
|
+
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _607 => _607.close]));
|
|
28618
28633
|
_react.useEffect.call(void 0, () => {
|
|
28619
28634
|
isOpenRef.current = isOpen;
|
|
28620
|
-
closeRef.current = _optionalChain([ctx, 'optionalAccess',
|
|
28635
|
+
closeRef.current = _optionalChain([ctx, 'optionalAccess', _608 => _608.close]);
|
|
28621
28636
|
});
|
|
28622
28637
|
const [selfHandle] = _react.useState.call(void 0, () => ({
|
|
28623
28638
|
close: () => {
|
|
28624
|
-
if (isOpenRef.current) _optionalChain([closeRef, 'access',
|
|
28639
|
+
if (isOpenRef.current) _optionalChain([closeRef, 'access', _609 => _609.current, 'optionalCall', _610 => _610()]);
|
|
28625
28640
|
}
|
|
28626
28641
|
}));
|
|
28627
28642
|
_react.useEffect.call(void 0, () => {
|
|
28628
|
-
if (isOpen) _optionalChain([coordination, 'optionalAccess',
|
|
28643
|
+
if (isOpen) _optionalChain([coordination, 'optionalAccess', _611 => _611.notifyDrawerDidOpen, 'call', _612 => _612(selfHandle)]);
|
|
28629
28644
|
}, [isOpen, coordination, selfHandle]);
|
|
28630
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
28645
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _613 => _613.registerDrawer, 'call', _614 => _614(selfHandle)]), [coordination, selfHandle]);
|
|
28631
28646
|
if (!ctx) return null;
|
|
28632
28647
|
const { open, close, status } = ctx;
|
|
28633
28648
|
const isPaused = status === "paused";
|
|
@@ -28674,7 +28689,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28674
28689
|
"data-state": isOpen ? "open" : "closed",
|
|
28675
28690
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
28676
28691
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28677
|
-
|
|
28692
|
+
_chunkZYDNPUSHcjs.OVERLAY_BACKDROP_CLASS,
|
|
28678
28693
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28679
28694
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28680
28695
|
)
|
|
@@ -28759,7 +28774,7 @@ function autoScrollAncestors(element) {
|
|
|
28759
28774
|
|
|
28760
28775
|
// src/components/features/board/aim.ts
|
|
28761
28776
|
var _closestedge = require('@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge');
|
|
28762
|
-
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access',
|
|
28777
|
+
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);
|
|
28763
28778
|
function laneOf(columns, ticketId) {
|
|
28764
28779
|
return _nullishCoalesce(columns.find((c) => c.tickets.some((t) => t.id === ticketId)), () => ( null));
|
|
28765
28780
|
}
|
|
@@ -28803,11 +28818,11 @@ function aimToChange(columns, ticketId, aim) {
|
|
|
28803
28818
|
const lane = laneOf(columns, ticketId);
|
|
28804
28819
|
if (!lane) return null;
|
|
28805
28820
|
const others = othersIn(columns, aim.columnId, ticketId);
|
|
28806
|
-
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
28807
|
-
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
28821
|
+
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access', _618 => _618[aim.index - 1], 'optionalAccess', _619 => _619.id]), () => ( null));
|
|
28822
|
+
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access', _620 => _620[aim.index], 'optionalAccess', _621 => _621.id]), () => ( null));
|
|
28808
28823
|
if (lane.id === aim.columnId) {
|
|
28809
28824
|
const currentIndex = lane.tickets.findIndex((t) => t.id === ticketId);
|
|
28810
|
-
if ((_nullishCoalesce(_optionalChain([lane, 'access',
|
|
28825
|
+
if ((_nullishCoalesce(_optionalChain([lane, 'access', _622 => _622.tickets, 'access', _623 => _623[currentIndex - 1], 'optionalAccess', _624 => _624.id]), () => ( null))) === afterTicketId) return null;
|
|
28811
28826
|
}
|
|
28812
28827
|
return { ticketId, fromColumnId: lane.id, toColumnId: aim.columnId, afterTicketId, beforeTicketId };
|
|
28813
28828
|
}
|
|
@@ -28828,7 +28843,7 @@ function BoardColumnHeader({
|
|
|
28828
28843
|
}) {
|
|
28829
28844
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
28830
28845
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
28831
|
-
const useStatusVariant =
|
|
28846
|
+
const useStatusVariant = _chunkZYDNPUSHcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
28832
28847
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
28833
28848
|
if (collapsed) {
|
|
28834
28849
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -28844,7 +28859,7 @@ function BoardColumnHeader({
|
|
|
28844
28859
|
}
|
|
28845
28860
|
),
|
|
28846
28861
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28847
|
-
|
|
28862
|
+
_chunkZYDNPUSHcjs.TicketStatusTag,
|
|
28848
28863
|
{
|
|
28849
28864
|
status: tagStatus,
|
|
28850
28865
|
label: column.label,
|
|
@@ -28857,7 +28872,7 @@ function BoardColumnHeader({
|
|
|
28857
28872
|
}
|
|
28858
28873
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28859
28874
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28860
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28875
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
28861
28876
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
28862
28877
|
] }),
|
|
28863
28878
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -28937,7 +28952,7 @@ function cardPositions(root) {
|
|
|
28937
28952
|
}
|
|
28938
28953
|
function useLaneScrollAnchor(scrollRef, tickets) {
|
|
28939
28954
|
const positionsRef = _react.useRef.call(void 0, []);
|
|
28940
|
-
|
|
28955
|
+
_chunkZI27ALYXcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
28941
28956
|
const root = scrollRef.current;
|
|
28942
28957
|
if (!root) return;
|
|
28943
28958
|
const previous = positionsRef.current;
|
|
@@ -29008,7 +29023,7 @@ function holdMoveDragEffect(element) {
|
|
|
29008
29023
|
|
|
29009
29024
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
29010
29025
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
29011
|
-
const { innerRef, containerStyle } =
|
|
29026
|
+
const { innerRef, containerStyle } = _chunkZYDNPUSHcjs.useCollapsible.call(void 0, { expanded });
|
|
29012
29027
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
29013
29028
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
29014
29029
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -29037,7 +29052,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
29037
29052
|
}
|
|
29038
29053
|
),
|
|
29039
29054
|
/* @__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,
|
|
29040
|
-
|
|
29055
|
+
_chunkZYDNPUSHcjs.ApprovalBatchMessage,
|
|
29041
29056
|
{
|
|
29042
29057
|
className: "mb-0",
|
|
29043
29058
|
data: {
|
|
@@ -29078,14 +29093,14 @@ function useIsLanding(ticketId) {
|
|
|
29078
29093
|
return _react.useContext.call(void 0, LandingCardContext) === ticketId;
|
|
29079
29094
|
}
|
|
29080
29095
|
function hasMoveSettled(columns, move) {
|
|
29081
|
-
const tickets = _optionalChain([columns, 'access',
|
|
29096
|
+
const tickets = _optionalChain([columns, 'access', _625 => _625.find, 'call', _626 => _626((c) => c.id === move.toColumnId), 'optionalAccess', _627 => _627.tickets]);
|
|
29082
29097
|
if (!tickets) return false;
|
|
29083
29098
|
const index = tickets.findIndex((t) => t.id === move.ticketId);
|
|
29084
29099
|
if (index < 0) return false;
|
|
29085
29100
|
if (move.fromColumnId === move.toColumnId) {
|
|
29086
|
-
return (_nullishCoalesce(_optionalChain([tickets, 'access',
|
|
29101
|
+
return (_nullishCoalesce(_optionalChain([tickets, 'access', _628 => _628[index - 1], 'optionalAccess', _629 => _629.id]), () => ( null))) === move.afterTicketId;
|
|
29087
29102
|
}
|
|
29088
|
-
return !_optionalChain([columns, 'access',
|
|
29103
|
+
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)]);
|
|
29089
29104
|
}
|
|
29090
29105
|
|
|
29091
29106
|
// src/components/features/board/ticket-card.tsx
|
|
@@ -29109,10 +29124,10 @@ var ACTIVITY_DEFAULT_LABEL = {
|
|
|
29109
29124
|
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";
|
|
29110
29125
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
29111
29126
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
29112
|
-
const newMessageTextColor = columnColor ?
|
|
29113
|
-
const showDeviceRow = !!(_optionalChain([ticket, 'access',
|
|
29114
|
-
const deviceText = [_optionalChain([ticket, 'access',
|
|
29115
|
-
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access',
|
|
29127
|
+
const newMessageTextColor = columnColor ? _chunk55X46LKRcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29128
|
+
const showDeviceRow = !!(_optionalChain([ticket, 'access', _635 => _635.deviceHostnames, 'optionalAccess', _636 => _636.length]) || ticket.organizationName);
|
|
29129
|
+
const deviceText = [_optionalChain([ticket, 'access', _637 => _637.deviceHostnames, 'optionalAccess', _638 => _638.join, 'call', _639 => _639(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29130
|
+
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _640 => _640.assignees, 'optionalAccess', _641 => _641.length]) || renderAssignSlot);
|
|
29116
29131
|
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: [
|
|
29117
29132
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29118
29133
|
_chunkGSQM4PDRcjs.Flag02Icon,
|
|
@@ -29121,7 +29136,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29121
29136
|
"aria-label": `Priority: ${ticket.priority}`
|
|
29122
29137
|
}
|
|
29123
29138
|
),
|
|
29124
|
-
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access',
|
|
29139
|
+
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: [
|
|
29125
29140
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map(
|
|
29126
29141
|
(a) => a.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29127
29142
|
DeletedUserAvatar,
|
|
@@ -29131,7 +29146,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29131
29146
|
},
|
|
29132
29147
|
a.id
|
|
29133
29148
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29134
|
-
|
|
29149
|
+
_chunk55X46LKRcjs.SquareAvatar,
|
|
29135
29150
|
{
|
|
29136
29151
|
src: a.avatarUrl,
|
|
29137
29152
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -29148,8 +29163,8 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29148
29163
|
] })
|
|
29149
29164
|
] }) : null
|
|
29150
29165
|
] }) : null;
|
|
29151
|
-
const timestampLabel = ticket.createdAt ?
|
|
29152
|
-
const tooltipLabel = ticket.createdAt ?
|
|
29166
|
+
const timestampLabel = ticket.createdAt ? _chunkZYDNPUSHcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
29167
|
+
const tooltipLabel = ticket.createdAt ? _chunkZYDNPUSHcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
29153
29168
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
29154
29169
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29155
29170
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
@@ -29162,10 +29177,10 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29162
29177
|
] }),
|
|
29163
29178
|
rightSection
|
|
29164
29179
|
] }),
|
|
29165
|
-
_optionalChain([ticket, 'access',
|
|
29166
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29167
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29168
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29180
|
+
_optionalChain([ticket, 'access', _644 => _644.tags, 'optionalAccess', _645 => _645.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29181
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkZYDNPUSHcjs.Tooltip, { children: [
|
|
29182
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: metaLabel }) }),
|
|
29183
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.TooltipContent, { children: tooltipLabel })
|
|
29169
29184
|
] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: metaLabel })),
|
|
29170
29185
|
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: [
|
|
29171
29186
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -29185,7 +29200,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29185
29200
|
}
|
|
29186
29201
|
),
|
|
29187
29202
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29188
|
-
|
|
29203
|
+
_chunkZYDNPUSHcjs.Tag,
|
|
29189
29204
|
{
|
|
29190
29205
|
label: "New Message",
|
|
29191
29206
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -29229,7 +29244,7 @@ var TicketCard = _react.memo.call(void 0, function TicketCardImpl({
|
|
|
29229
29244
|
const isLanding = useIsLanding(ticket.id);
|
|
29230
29245
|
const aim = useDropAim();
|
|
29231
29246
|
const closestEdge = aim && aim.columnId === columnId && aim.ticketId === ticket.id ? aim.edge : null;
|
|
29232
|
-
const isSource = isDragging || _optionalChain([aim, 'optionalAccess',
|
|
29247
|
+
const isSource = isDragging || _optionalChain([aim, 'optionalAccess', _646 => _646.ticket, 'access', _647 => _647.id]) === ticket.id;
|
|
29233
29248
|
const lift = useBoardLift();
|
|
29234
29249
|
const handleKeyDown = (e) => {
|
|
29235
29250
|
if (e.key !== " " || dragDisabled || !lift) return;
|
|
@@ -29400,8 +29415,8 @@ function TicketTagRow({ tags }) {
|
|
|
29400
29415
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
29401
29416
|
const hidden = tags.length - visible.length;
|
|
29402
29417
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
29403
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29404
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29418
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
29419
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZYDNPUSHcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
29405
29420
|
] });
|
|
29406
29421
|
}
|
|
29407
29422
|
|
|
@@ -29482,7 +29497,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
29482
29497
|
// large ones like the only thing that did.
|
|
29483
29498
|
getData: ({ input, element: lane, source }) => {
|
|
29484
29499
|
const nearest = nearestCardIn(lane, input.clientY, String(source.data.ticketId));
|
|
29485
|
-
const ticketId = _optionalChain([nearest, 'optionalAccess',
|
|
29500
|
+
const ticketId = _optionalChain([nearest, 'optionalAccess', _648 => _648.dataset, 'access', _649 => _649.ticketId]);
|
|
29486
29501
|
if (!nearest || !ticketId) return { type: "column", columnId: column.id };
|
|
29487
29502
|
return _closestedge.attachClosestEdge.call(void 0,
|
|
29488
29503
|
{ type: "ticket", ticketId, columnId: column.id },
|
|
@@ -29494,7 +29509,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
29494
29509
|
onDrop: () => setIsOver(false)
|
|
29495
29510
|
});
|
|
29496
29511
|
}, [column.id, column.dropDisabled, column.allowedFromColumns, collapsed, touchMode]);
|
|
29497
|
-
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall',
|
|
29512
|
+
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall', _650 => _650(column.id)]), [onToggleCollapse, column.id]);
|
|
29498
29513
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29499
29514
|
"div",
|
|
29500
29515
|
{
|
|
@@ -29573,7 +29588,7 @@ function ColumnBody({
|
|
|
29573
29588
|
const observer = new IntersectionObserver(
|
|
29574
29589
|
(entries) => {
|
|
29575
29590
|
if (entries.some((e) => e.isIntersecting)) {
|
|
29576
|
-
_optionalChain([loadMoreRef, 'access',
|
|
29591
|
+
_optionalChain([loadMoreRef, 'access', _651 => _651.current, 'optionalCall', _652 => _652(columnIdRef.current)]);
|
|
29577
29592
|
}
|
|
29578
29593
|
},
|
|
29579
29594
|
{ root, rootMargin: loadMoreRootMargin }
|
|
@@ -29598,7 +29613,7 @@ function ColumnBody({
|
|
|
29598
29613
|
ticket: t,
|
|
29599
29614
|
columnId: column.id,
|
|
29600
29615
|
columnColor: column.color,
|
|
29601
|
-
href: _optionalChain([getTicketHref, 'optionalCall',
|
|
29616
|
+
href: _optionalChain([getTicketHref, 'optionalCall', _653 => _653(t.id)]),
|
|
29602
29617
|
renderAssignSlot,
|
|
29603
29618
|
onApprove,
|
|
29604
29619
|
onReject,
|
|
@@ -29643,7 +29658,7 @@ function resolveBoardDrop(columns, { source, target }) {
|
|
|
29643
29658
|
// src/components/features/board/use-board-collapse.ts
|
|
29644
29659
|
|
|
29645
29660
|
function useBoardCollapse(storageKey) {
|
|
29646
|
-
const [persisted, setPersisted] =
|
|
29661
|
+
const [persisted, setPersisted] = _chunkQIVX7F3Ncjs.useLocalStorage.call(void 0, _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")), {});
|
|
29647
29662
|
const [memory, setMemory] = _react.useState.call(void 0, {});
|
|
29648
29663
|
const collapsed = storageKey ? persisted : memory;
|
|
29649
29664
|
const setMap = storageKey ? setPersisted : setMemory;
|
|
@@ -29714,7 +29729,7 @@ var DROP_EASING = "cubic-bezier(0.2, 0, 0, 1)";
|
|
|
29714
29729
|
var DRAG_PREVIEW_Z = 1200;
|
|
29715
29730
|
var ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"];
|
|
29716
29731
|
function Board(props) {
|
|
29717
|
-
const dragAndDropEnabled =
|
|
29732
|
+
const dragAndDropEnabled = _chunkZI27ALYXcjs.useMediaQuery.call(void 0, _chunkQIVX7F3Ncjs.DRAG_AND_DROP_MEDIA_QUERY);
|
|
29718
29733
|
if (dragAndDropEnabled === void 0) {
|
|
29719
29734
|
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) });
|
|
29720
29735
|
}
|
|
@@ -29746,7 +29761,7 @@ function DragBoard({
|
|
|
29746
29761
|
onThumbPointerDown,
|
|
29747
29762
|
onThumbPointerMove,
|
|
29748
29763
|
onThumbPointerUp
|
|
29749
|
-
} =
|
|
29764
|
+
} = _chunkQIVX7F3Ncjs.useHorizontalScrollbar.call(void 0, );
|
|
29750
29765
|
const columnsRef = _react.useRef.call(void 0, columns);
|
|
29751
29766
|
const onChangeRef = _react.useRef.call(void 0, onChange);
|
|
29752
29767
|
const boardRef = _react.useRef.call(void 0, null);
|
|
@@ -29774,7 +29789,7 @@ function DragBoard({
|
|
|
29774
29789
|
const [landing, setLanding] = _react.useState.call(void 0, null);
|
|
29775
29790
|
const landingTimer = _react.useRef.call(void 0, null);
|
|
29776
29791
|
const pointRef = _react.useRef.call(void 0, { x: 0, y: 0 });
|
|
29777
|
-
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access',
|
|
29792
|
+
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]);
|
|
29778
29793
|
const acceptsLifted = _react.useCallback.call(void 0,
|
|
29779
29794
|
(fromColumnId) => (column) => {
|
|
29780
29795
|
if (column.dropDisabled || collapsed[column.id]) return false;
|
|
@@ -29788,7 +29803,7 @@ function DragBoard({
|
|
|
29788
29803
|
const start = initialAim(view, ticketId);
|
|
29789
29804
|
if (!start) return;
|
|
29790
29805
|
setLifted({ ticketId, aim: start });
|
|
29791
|
-
const title = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
29806
|
+
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"));
|
|
29792
29807
|
setAnnouncement(`${title} lifted. Use the arrow keys to move it, space to drop it, escape to put it back.`);
|
|
29793
29808
|
},
|
|
29794
29809
|
[view]
|
|
@@ -29813,11 +29828,11 @@ function DragBoard({
|
|
|
29813
29828
|
const walk = _react.useCallback.call(void 0,
|
|
29814
29829
|
(key) => {
|
|
29815
29830
|
if (!lifted) return;
|
|
29816
|
-
const from = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
29831
|
+
const from = _nullishCoalesce(_optionalChain([laneOf, 'call', _662 => _662(view, lifted.ticketId), 'optionalAccess', _663 => _663.id]), () => ( lifted.aim.columnId));
|
|
29817
29832
|
const next = moveAim(view, lifted.ticketId, lifted.aim, key, acceptsLifted(from));
|
|
29818
29833
|
if (next === lifted.aim) return;
|
|
29819
29834
|
setLifted({ ...lifted, aim: next });
|
|
29820
|
-
const total = (_nullishCoalesce(_optionalChain([view, 'access',
|
|
29835
|
+
const total = (_nullishCoalesce(_optionalChain([view, 'access', _664 => _664.find, 'call', _665 => _665((c) => c.id === next.columnId), 'optionalAccess', _666 => _666.tickets]), () => ( []))).filter(
|
|
29821
29836
|
(t) => t.id !== lifted.ticketId
|
|
29822
29837
|
).length;
|
|
29823
29838
|
setAnnouncement(`${laneLabel(next.columnId)}, position ${next.index + 1} of ${total + 1}.`);
|
|
@@ -29844,11 +29859,11 @@ function DragBoard({
|
|
|
29844
29859
|
}, [lifted, drop, walk]);
|
|
29845
29860
|
_react.useEffect.call(void 0, () => {
|
|
29846
29861
|
if (!lifted) return;
|
|
29847
|
-
_optionalChain([boardRef, 'access',
|
|
29862
|
+
_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" })]);
|
|
29848
29863
|
}, [lifted]);
|
|
29849
29864
|
const keyboardAim = _react.useMemo.call(void 0, () => {
|
|
29850
29865
|
if (!lifted) return null;
|
|
29851
|
-
const ticket = _optionalChain([laneOf, 'call',
|
|
29866
|
+
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)]);
|
|
29852
29867
|
if (!ticket) return null;
|
|
29853
29868
|
const anchor = aimToChange(view, lifted.ticketId, lifted.aim) ? aimAnchor(view, lifted.ticketId, lifted.aim) : { ticketId: null, edge: null };
|
|
29854
29869
|
return { columnId: lifted.aim.columnId, ...anchor, ticket };
|
|
@@ -29870,7 +29885,7 @@ function DragBoard({
|
|
|
29870
29885
|
return { columnId: slot.columnId, ...anchor, ticket };
|
|
29871
29886
|
};
|
|
29872
29887
|
const aimAt = (source, targets) => {
|
|
29873
|
-
const next = readAim(source, _optionalChain([targets, 'access',
|
|
29888
|
+
const next = readAim(source, _optionalChain([targets, 'access', _676 => _676[0], 'optionalAccess', _677 => _677.data]));
|
|
29874
29889
|
setAim((prev) => isSameAim(prev, next) ? prev : next);
|
|
29875
29890
|
};
|
|
29876
29891
|
return _combine.combine.call(void 0,
|
|
@@ -29899,7 +29914,7 @@ function DragBoard({
|
|
|
29899
29914
|
setLanding(null);
|
|
29900
29915
|
dragGeometry.current = {
|
|
29901
29916
|
ticket,
|
|
29902
|
-
columnColor: _optionalChain([columnsRef, 'access',
|
|
29917
|
+
columnColor: _optionalChain([columnsRef, 'access', _678 => _678.current, 'access', _679 => _679.find, 'call', _680 => _680((c) => c.id === source.data.columnId), 'optionalAccess', _681 => _681.color]),
|
|
29903
29918
|
width: rect.width,
|
|
29904
29919
|
grabX: clientX - rect.left,
|
|
29905
29920
|
grabY: clientY - rect.top
|
|
@@ -29916,7 +29931,7 @@ function DragBoard({
|
|
|
29916
29931
|
setAim(null);
|
|
29917
29932
|
const change = resolveBoardDrop(columnsRef.current, {
|
|
29918
29933
|
source: source.data,
|
|
29919
|
-
target: _optionalChain([location, 'access',
|
|
29934
|
+
target: _optionalChain([location, 'access', _682 => _682.current, 'access', _683 => _683.dropTargets, 'access', _684 => _684[0], 'optionalAccess', _685 => _685.data])
|
|
29920
29935
|
});
|
|
29921
29936
|
if (!change) return;
|
|
29922
29937
|
setPendingMove({
|
|
@@ -29935,7 +29950,7 @@ function DragBoard({
|
|
|
29935
29950
|
})
|
|
29936
29951
|
);
|
|
29937
29952
|
}, []);
|
|
29938
|
-
|
|
29953
|
+
_chunkZI27ALYXcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
29939
29954
|
if (!landing) return void 0;
|
|
29940
29955
|
const finish = () => {
|
|
29941
29956
|
landingTimer.current = null;
|
|
@@ -29949,7 +29964,7 @@ function DragBoard({
|
|
|
29949
29964
|
return void 0;
|
|
29950
29965
|
}
|
|
29951
29966
|
const to = card.getBoundingClientRect();
|
|
29952
|
-
const lane = _optionalChain([nearestScrollableAncestor, 'call',
|
|
29967
|
+
const lane = _optionalChain([nearestScrollableAncestor, 'call', _686 => _686(card), 'optionalAccess', _687 => _687.getBoundingClientRect, 'call', _688 => _688()]);
|
|
29953
29968
|
if (lane && (to.top < lane.top || to.bottom > lane.bottom)) {
|
|
29954
29969
|
finish();
|
|
29955
29970
|
return void 0;
|
|
@@ -30008,8 +30023,8 @@ function DragBoard({
|
|
|
30008
30023
|
children: view.map((column, i) => {
|
|
30009
30024
|
const prev = view[i - 1];
|
|
30010
30025
|
const next = view[i + 1];
|
|
30011
|
-
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess',
|
|
30012
|
-
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess',
|
|
30026
|
+
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _689 => _689.system]));
|
|
30027
|
+
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _690 => _690.system]));
|
|
30013
30028
|
const showGap = i > 0 && !joinLeft;
|
|
30014
30029
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
30015
30030
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
@@ -30176,7 +30191,7 @@ function useSortableListContext() {
|
|
|
30176
30191
|
}
|
|
30177
30192
|
function SortableList({ onReorder, getItemLabel, disabled = false, className, children }) {
|
|
30178
30193
|
const listRef = _react.useRef.call(void 0, null);
|
|
30179
|
-
const dragAndDropEnabled =
|
|
30194
|
+
const dragAndDropEnabled = _chunkQIVX7F3Ncjs.useDragAndDropEnabled.call(void 0, );
|
|
30180
30195
|
const dragType = _react.useId.call(void 0, );
|
|
30181
30196
|
const [announcement, setAnnouncement] = _react.useState.call(void 0, "");
|
|
30182
30197
|
const onReorderRef = _react.useRef.call(void 0, onReorder);
|
|
@@ -30189,13 +30204,13 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30189
30204
|
const [flipTick, setFlipTick] = _react.useState.call(void 0, 0);
|
|
30190
30205
|
const flipTimer = _react.useRef.call(void 0, null);
|
|
30191
30206
|
const readItems = _react.useCallback.call(void 0,
|
|
30192
|
-
() => [..._nullishCoalesce(_optionalChain([listRef, 'access',
|
|
30207
|
+
() => [..._nullishCoalesce(_optionalChain([listRef, 'access', _691 => _691.current, 'optionalAccess', _692 => _692.querySelectorAll, 'call', _693 => _693(`[${SORTABLE_ITEM_ATTRIBUTE}]`)]), () => ( []))],
|
|
30193
30208
|
[]
|
|
30194
30209
|
);
|
|
30195
30210
|
const reorder = _react.useCallback.call(void 0,
|
|
30196
30211
|
(from, to) => {
|
|
30197
30212
|
if (from === to) return;
|
|
30198
|
-
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access',
|
|
30213
|
+
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access', _694 => _694.current, 'optionalCall', _695 => _695(from)]), () => ( "Item"));
|
|
30199
30214
|
setAnnouncement(`${label} moved to position ${to + 1} of ${readItems().length}.`);
|
|
30200
30215
|
onReorderRef.current(from, to);
|
|
30201
30216
|
},
|
|
@@ -30268,7 +30283,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30268
30283
|
})
|
|
30269
30284
|
);
|
|
30270
30285
|
}, [dragType, disabled, dragAndDropEnabled, readItems, reorder]);
|
|
30271
|
-
|
|
30286
|
+
_chunkZI27ALYXcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
30272
30287
|
const from = flipFrom.current;
|
|
30273
30288
|
flipFrom.current = null;
|
|
30274
30289
|
if (!from) return;
|
|
@@ -30283,7 +30298,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30283
30298
|
moving.push(item);
|
|
30284
30299
|
}
|
|
30285
30300
|
if (moving.length === 0) return;
|
|
30286
|
-
void _optionalChain([listRef, 'access',
|
|
30301
|
+
void _optionalChain([listRef, 'access', _696 => _696.current, 'optionalAccess', _697 => _697.offsetHeight]);
|
|
30287
30302
|
for (const item of moving) {
|
|
30288
30303
|
item.style.transition = `transform ${DROP_MS2}ms ${EASING}`;
|
|
30289
30304
|
item.style.transform = "";
|
|
@@ -30320,8 +30335,8 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
30320
30335
|
if (to < 0 || to >= count) return;
|
|
30321
30336
|
reorder(index, to);
|
|
30322
30337
|
requestAnimationFrame(() => {
|
|
30323
|
-
if (step === -1 && to === 0) _optionalChain([downRef, 'access',
|
|
30324
|
-
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access',
|
|
30338
|
+
if (step === -1 && to === 0) _optionalChain([downRef, 'access', _698 => _698.current, 'optionalAccess', _699 => _699.focus, 'call', _700 => _700()]);
|
|
30339
|
+
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access', _701 => _701.current, 'optionalAccess', _702 => _702.focus, 'call', _703 => _703()]);
|
|
30325
30340
|
});
|
|
30326
30341
|
};
|
|
30327
30342
|
const subject = _nullishCoalesce(label, () => ( "item"));
|
|
@@ -30369,7 +30384,7 @@ function useSortableItem() {
|
|
|
30369
30384
|
const [handle, setHandle] = _react.useState.call(void 0, null);
|
|
30370
30385
|
const [isDragging, setIsDragging] = _react.useState.call(void 0, false);
|
|
30371
30386
|
const itemRef = _react.useCallback.call(void 0, (node) => {
|
|
30372
|
-
_optionalChain([node, 'optionalAccess',
|
|
30387
|
+
_optionalChain([node, 'optionalAccess', _704 => _704.setAttribute, 'call', _705 => _705(SORTABLE_ITEM_ATTRIBUTE, "")]);
|
|
30373
30388
|
setItem(node);
|
|
30374
30389
|
}, []);
|
|
30375
30390
|
_react.useEffect.call(void 0, () => {
|
|
@@ -30399,7 +30414,7 @@ function useSortableItem() {
|
|
|
30399
30414
|
if (from < 0 || to < 0 || to >= items.length) return;
|
|
30400
30415
|
event.preventDefault();
|
|
30401
30416
|
reorder(from, to);
|
|
30402
|
-
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess',
|
|
30417
|
+
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess', _706 => _706.focus, 'call', _707 => _707()]));
|
|
30403
30418
|
},
|
|
30404
30419
|
[inert, readItems, reorder, handle]
|
|
30405
30420
|
);
|
|
@@ -30421,7 +30436,7 @@ function TicketStatusConfigList({
|
|
|
30421
30436
|
onReorder,
|
|
30422
30437
|
getItemLabel,
|
|
30423
30438
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xs)]", className),
|
|
30424
|
-
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall',
|
|
30439
|
+
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))
|
|
30425
30440
|
}
|
|
30426
30441
|
);
|
|
30427
30442
|
}
|
|
@@ -31085,4 +31100,4 @@ function SortableRow({
|
|
|
31085
31100
|
|
|
31086
31101
|
|
|
31087
31102
|
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;
|
|
31088
|
-
//# sourceMappingURL=chunk-
|
|
31103
|
+
//# sourceMappingURL=chunk-CP3R4GRA.cjs.map
|