@flamingo-stack/openframe-frontend-core 0.0.830 → 0.0.832
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/build/export-map.json +1 -1
- package/dist/build/next-styles.cjs +93 -3
- package/dist/build/next-styles.d.ts +8 -0
- package/dist/build/route-styles-client.mjs +67 -0
- package/dist/build/route-styles-markers.cjs +18 -0
- package/dist/build/route-styles-server.mjs +102 -0
- package/dist/build/route-styles.cjs +415 -0
- package/dist/build/route-styles.d.ts +11 -0
- package/dist/build/style-sources.cjs +14 -1
- package/dist/build/style-sources.d.ts +3 -0
- package/dist/{case-study-card-QMFGPABF.cjs → case-study-card-TK7ZCNLM.cjs} +5 -5
- package/dist/{chunk-LKP5R3EQ.cjs → chunk-46LATWQR.cjs} +2 -2
- package/dist/{chunk-IBD2FPSX.cjs → chunk-4JHO2NVI.cjs} +2 -2
- package/dist/{chunk-QTLWU6FY.cjs → chunk-5L3UKDC6.cjs} +11 -11
- package/dist/{chunk-HYCMMECU.cjs → chunk-7COZUANC.cjs} +58 -67
- package/dist/{chunk-ULF4ZOUM.cjs → chunk-7WQD3R5J.cjs} +84 -84
- package/dist/{chunk-DAKGX2WF.cjs → chunk-APNONOHY.cjs} +2 -2
- package/dist/{chunk-KPGKTEEB.cjs → chunk-BUEEQD3G.cjs} +2 -2
- package/dist/{chunk-YMLRDVPO.cjs → chunk-C4OQIYGW.cjs} +11 -11
- package/dist/{chunk-WCCE4WF3.cjs → chunk-CP46CVUC.cjs} +91 -91
- package/dist/{chunk-5LED4QHZ.cjs → chunk-D6ZSRGH2.cjs} +237 -237
- package/dist/{chunk-HYGWRUEM.cjs → chunk-DAQMCWCK.cjs} +3 -3
- package/dist/{chunk-56EP4QM2.cjs → chunk-EYSIQORA.cjs} +94 -94
- package/dist/{chunk-2BGLALP5.cjs → chunk-FNNDGOR3.cjs} +19 -19
- package/dist/{chunk-OKTNRGM5.cjs → chunk-GPXKG34G.cjs} +54 -54
- package/dist/{chunk-FMSAN6SR.cjs → chunk-H3WTYAVR.cjs} +129 -129
- package/dist/{chunk-RRPID7Z7.cjs → chunk-HDLY6OMQ.cjs} +6 -6
- package/dist/{chunk-2VLPXUQK.cjs → chunk-HLJXCOMA.cjs} +4 -4
- package/dist/{chunk-PBHP3FHO.cjs → chunk-JBTH3O2C.cjs} +4 -4
- package/dist/{chunk-2HQNXX2K.cjs → chunk-JQCQCE6U.cjs} +2 -2
- package/dist/{chunk-AY6XJOIN.cjs → chunk-LWMWY3JO.cjs} +45 -45
- package/dist/{chunk-E6W4YDPS.cjs → chunk-OGPAVRNF.cjs} +17 -17
- package/dist/{chunk-D2LXFMZI.cjs → chunk-P5DWAVWK.cjs} +28 -28
- package/dist/{chunk-TUMSVFVS.cjs → chunk-QHBKZJ6A.cjs} +4 -4
- package/dist/{chunk-WZYBUJJG.cjs → chunk-R6QZHOJB.cjs} +46 -46
- package/dist/{chunk-F2J5WN6U.cjs → chunk-SOCCHWDK.cjs} +2 -2
- package/dist/{chunk-CAGQAMJ6.cjs → chunk-SRHHLDBP.cjs} +36 -36
- package/dist/{chunk-WWDNLMB7.cjs → chunk-SWMUW3RR.cjs} +11 -11
- package/dist/{chunk-6GPMVHJN.cjs → chunk-TD4CC4KV.cjs} +20 -20
- package/dist/{chunk-SAW7V7CU.cjs → chunk-UGM3YDCK.cjs} +25 -25
- package/dist/{chunk-FFFN4IY2.cjs → chunk-UQS2RI5Y.cjs} +12 -12
- package/dist/{chunk-5KSPG3TV.cjs → chunk-VBGBKRDO.cjs} +665 -642
- package/dist/{chunk-X425BGXS.cjs → chunk-VQG2A7GA.cjs} +2 -2
- package/dist/{chunk-S6UJEW4G.cjs → chunk-WCOSGDGA.cjs} +2 -2
- package/dist/{chunk-ENMPSEEQ.cjs → chunk-WVNUCKB7.cjs} +4 -4
- package/dist/{chunk-DUGOOTER.cjs → chunk-X76TZ5YR.cjs} +21 -21
- package/dist/{chunk-PUXYAHH3.cjs → chunk-X7VQM5TU.cjs} +6 -6
- package/dist/{chunk-W4VEDSAX.cjs → chunk-ZABZIM2Y.cjs} +6 -6
- package/dist/{chunk-M75723HD.cjs → chunk-ZJ5K6XHW.cjs} +21 -21
- package/dist/{cloud-tenants-4KQQPXPM.cjs → cloud-tenants-E2AC4WEJ.cjs} +19 -19
- package/dist/components/case-studies/index.cjs +35 -35
- package/dist/components/chat/index.cjs +14 -14
- package/dist/components/chat/utils/icon-registry.d.ts +2 -2
- package/dist/components/chat/utils/icon-registry.js +2 -2
- package/dist/components/contact/index.cjs +20 -20
- package/dist/components/docs/index.cjs +23 -23
- package/dist/components/embeds/index.cjs +20 -20
- package/dist/components/faq/index.cjs +21 -21
- package/dist/components/features/index.cjs +21 -19
- package/dist/components/features/notifications/index.d.ts +3 -1
- package/dist/components/features/notifications/index.d.ts.map +1 -1
- package/dist/components/features/notifications/index.js +2 -0
- package/dist/components/features/notifications/notification-category-icon.d.ts +7 -0
- package/dist/components/features/notifications/notification-category-icon.d.ts.map +1 -0
- package/dist/components/features/notifications/notification-category-icon.js +26 -0
- package/dist/components/features/notifications/notification-tile.d.ts.map +1 -1
- package/dist/components/features/notifications/types.d.ts +1 -1
- package/dist/components/features/notifications/types.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +124 -124
- package/dist/components/index.cjs +85 -81
- package/dist/components/meeting-scheduler/index.cjs +68 -68
- package/dist/components/navigation/index.cjs +22 -22
- package/dist/components/navigation/site-footer.d.ts.map +1 -1
- package/dist/components/navigation/site-footer.js +2 -12
- package/dist/components/onboarding-guides/index.cjs +22 -22
- package/dist/components/product-demo/index.cjs +30 -30
- package/dist/components/related-content/index.cjs +9 -9
- package/dist/components/social-icon-row.d.ts +6 -2
- package/dist/components/social-icon-row.d.ts.map +1 -1
- package/dist/components/social-icon-row.js +5 -6
- package/dist/components/tickets/index.cjs +26 -26
- package/dist/components/ui/index.cjs +19 -19
- package/dist/{devices-H6C4NMIY.cjs → devices-CAYUGD2N.cjs} +20 -20
- package/dist/{embeddable-chat-KUESE7P6.cjs → embeddable-chat-FYHMR66R.cjs} +91 -91
- package/dist/hooks/index.cjs +7 -7
- package/dist/index.cjs +26 -24
- package/dist/{knowledge-O6IBO5Y5.cjs → knowledge-OI4OPEVL.cjs} +20 -20
- package/dist/{logs-Y2UCF24Z.cjs → logs-B3XV2NHV.cjs} +26 -26
- package/dist/platform-domains.cjs +4 -0
- package/dist/platform-domains.d.ts +2 -0
- package/dist/platform-domains.d.ts.map +1 -1
- package/dist/platform-domains.js +4 -0
- package/dist/{policies-J6O3RLJT.cjs → policies-ZB4Z42DV.cjs} +23 -23
- package/dist/{remote-session-RVTFWSU4.cjs → remote-session-CN3G7JNR.cjs} +6 -6
- package/dist/{scripts-N67MM4T2.cjs → scripts-I4DNUOQC.cjs} +26 -26
- package/dist/{software-update-HB7F6KNG.cjs → software-update-AWH4WXOH.cjs} +23 -23
- package/dist/{tickets-board-2K3PBCNW.cjs → tickets-board-PLYD2NSY.cjs} +10 -10
- package/dist/types/marketing.d.ts +61 -216
- package/dist/types/marketing.d.ts.map +1 -1
- package/dist/utils/index.cjs +2 -2
- package/dist/utils/notifications.cjs +55 -0
- package/dist/utils/notifications.d.ts +29 -0
- package/dist/utils/notifications.d.ts.map +1 -0
- package/dist/utils/notifications.js +53 -0
- package/dist/utils/social-platforms.d.ts +9 -9
- package/dist/utils/social-platforms.d.ts.map +1 -1
- package/package.json +12 -1
- package/src/components/chat/utils/icon-registry.ts +5 -5
- package/src/components/chat/utils/index.ts +1 -1
- package/src/components/features/notifications/index.ts +2 -1
- package/src/components/features/notifications/notification-category-icon.tsx +38 -0
- package/src/components/features/notifications/notification-tile.tsx +2 -1
- package/src/components/features/notifications/types.ts +1 -2
- package/src/components/navigation/site-footer.tsx +2 -11
- package/src/components/social-icon-row.tsx +11 -10
- package/src/platform-domains.ts +5 -0
- package/src/styles/index.css +2 -0
- package/src/types/marketing.ts +90 -268
- package/src/utils/index.ts +1 -1
- package/src/utils/notifications.ts +71 -0
- package/src/utils/social-platforms.ts +9 -9
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkFNNDGOR3cjs = require('./chunk-FNNDGOR3.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkSWMUW3RRcjs = require('./chunk-SWMUW3RR.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
@@ -36,7 +36,7 @@ var _chunkWWDNLMB7cjs = require('./chunk-WWDNLMB7.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkVQG2A7GAcjs = require('./chunk-VQG2A7GA.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
@@ -52,7 +52,7 @@ var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
var
|
|
55
|
+
var _chunkLWMWY3JOcjs = require('./chunk-LWMWY3JO.cjs');
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
|
|
@@ -101,7 +101,7 @@ var _chunk5SZ4ILU3cjs = require('./chunk-5SZ4ILU3.cjs');
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
var
|
|
104
|
+
var _chunkEYSIQORAcjs = require('./chunk-EYSIQORA.cjs');
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
|
|
@@ -128,7 +128,7 @@ var _chunkOT6P57ZScjs = require('./chunk-OT6P57ZS.cjs');
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
var
|
|
131
|
+
var _chunkD6ZSRGH2cjs = require('./chunk-D6ZSRGH2.cjs');
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
|
|
@@ -144,7 +144,7 @@ var _chunk5LED4QHZcjs = require('./chunk-5LED4QHZ.cjs');
|
|
|
144
144
|
|
|
145
145
|
|
|
146
146
|
|
|
147
|
-
var
|
|
147
|
+
var _chunk4JHO2NVIcjs = require('./chunk-4JHO2NVI.cjs');
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
@@ -158,7 +158,7 @@ var _chunkIBD2FPSXcjs = require('./chunk-IBD2FPSX.cjs');
|
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
var
|
|
161
|
+
var _chunk5L3UKDC6cjs = require('./chunk-5L3UKDC6.cjs');
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
|
|
@@ -457,13 +457,13 @@ var _chunkXIBCMGBWcjs = require('./chunk-XIBCMGBW.cjs');
|
|
|
457
457
|
|
|
458
458
|
|
|
459
459
|
|
|
460
|
-
var
|
|
460
|
+
var _chunkHLJXCOMAcjs = require('./chunk-HLJXCOMA.cjs');
|
|
461
461
|
|
|
462
462
|
|
|
463
463
|
|
|
464
464
|
|
|
465
465
|
|
|
466
|
-
var
|
|
466
|
+
var _chunkZABZIM2Ycjs = require('./chunk-ZABZIM2Y.cjs');
|
|
467
467
|
|
|
468
468
|
|
|
469
469
|
|
|
@@ -471,7 +471,7 @@ var _chunkW4VEDSAXcjs = require('./chunk-W4VEDSAX.cjs');
|
|
|
471
471
|
var _chunk7Z536SPRcjs = require('./chunk-7Z536SPR.cjs');
|
|
472
472
|
|
|
473
473
|
|
|
474
|
-
var
|
|
474
|
+
var _chunkBUEEQD3Gcjs = require('./chunk-BUEEQD3G.cjs');
|
|
475
475
|
|
|
476
476
|
|
|
477
477
|
var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
|
|
@@ -496,7 +496,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
496
496
|
|
|
497
497
|
|
|
498
498
|
|
|
499
|
-
var
|
|
499
|
+
var _chunkH3WTYAVRcjs = require('./chunk-H3WTYAVR.cjs');
|
|
500
500
|
|
|
501
501
|
|
|
502
502
|
var _chunk5BM7X4GAcjs = require('./chunk-5BM7X4GA.cjs');
|
|
@@ -520,7 +520,7 @@ var _chunkGRHF5SWLcjs = require('./chunk-GRHF5SWL.cjs');
|
|
|
520
520
|
|
|
521
521
|
|
|
522
522
|
|
|
523
|
-
var
|
|
523
|
+
var _chunkTD4CC4KVcjs = require('./chunk-TD4CC4KV.cjs');
|
|
524
524
|
|
|
525
525
|
|
|
526
526
|
|
|
@@ -528,7 +528,7 @@ var _chunk6GPMVHJNcjs = require('./chunk-6GPMVHJN.cjs');
|
|
|
528
528
|
|
|
529
529
|
|
|
530
530
|
|
|
531
|
-
var
|
|
531
|
+
var _chunkJBTH3O2Ccjs = require('./chunk-JBTH3O2C.cjs');
|
|
532
532
|
|
|
533
533
|
|
|
534
534
|
|
|
@@ -554,7 +554,7 @@ var _chunkYSDB6HGQcjs = require('./chunk-YSDB6HGQ.cjs');
|
|
|
554
554
|
|
|
555
555
|
|
|
556
556
|
|
|
557
|
-
var
|
|
557
|
+
var _chunkAPNONOHYcjs = require('./chunk-APNONOHY.cjs');
|
|
558
558
|
|
|
559
559
|
|
|
560
560
|
|
|
@@ -564,7 +564,8 @@ var _chunkDAKGX2WFcjs = require('./chunk-DAKGX2WF.cjs');
|
|
|
564
564
|
|
|
565
565
|
|
|
566
566
|
|
|
567
|
-
|
|
567
|
+
|
|
568
|
+
var _chunkJQCQCE6Ucjs = require('./chunk-JQCQCE6U.cjs');
|
|
568
569
|
|
|
569
570
|
|
|
570
571
|
|
|
@@ -714,7 +715,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
714
715
|
var useTheme = _nextthemes.useTheme;
|
|
715
716
|
function useThemeToggle() {
|
|
716
717
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
717
|
-
const mounted =
|
|
718
|
+
const mounted = _chunkD6ZSRGH2cjs.useIsHydrated.call(void 0, );
|
|
718
719
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
719
720
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
720
721
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -923,7 +924,7 @@ function TimezoneSelect({
|
|
|
923
924
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
924
925
|
const options = _react.useMemo.call(void 0, () => timezoneOptions(value), [value]);
|
|
925
926
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
926
|
-
|
|
927
|
+
_chunkFNNDGOR3cjs.Autocomplete,
|
|
927
928
|
{
|
|
928
929
|
className,
|
|
929
930
|
fieldLoading: loading,
|
|
@@ -1739,20 +1740,20 @@ function DatePickerInput(props) {
|
|
|
1739
1740
|
) })
|
|
1740
1741
|
] }),
|
|
1741
1742
|
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
1742
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1743
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1744
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1743
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.Select, { value: hour, onValueChange: handleHourChange, disabled, children: [
|
|
1744
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className: _chunk63A4GZMBcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, { placeholder: "HH" }) }),
|
|
1745
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: hourOptions.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: h, children: h }, h)) })
|
|
1745
1746
|
] }),
|
|
1746
1747
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: ":" }),
|
|
1747
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1748
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1749
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1748
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.Select, { value: minute, onValueChange: handleMinuteChange, disabled, children: [
|
|
1749
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className: _chunk63A4GZMBcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, { placeholder: "MM" }) }),
|
|
1750
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: minuteOptions.map((m) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: m, children: m }, m)) })
|
|
1750
1751
|
] }),
|
|
1751
|
-
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1752
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1753
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1754
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1755
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1752
|
+
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.Select, { value: period, onValueChange: (val) => handlePeriodChange(val), disabled, children: [
|
|
1753
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className: _chunk63A4GZMBcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, { placeholder: "AM" }) }),
|
|
1754
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: [
|
|
1755
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "AM", children: "AM" }),
|
|
1756
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "PM", children: "PM" })
|
|
1756
1757
|
] })
|
|
1757
1758
|
] })
|
|
1758
1759
|
] })
|
|
@@ -1893,9 +1894,9 @@ function DatePickerInputSimple(props) {
|
|
|
1893
1894
|
}
|
|
1894
1895
|
) })
|
|
1895
1896
|
] }),
|
|
1896
|
-
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1897
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1898
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1897
|
+
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.Select, { value: timeValue, onValueChange: handleTimeChange, disabled, children: [
|
|
1898
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className: _chunk63A4GZMBcjs.cn.call(void 0, timeSelectTriggerStyles, "flex-1"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, { placeholder: "Select time", children: timeDisplayLabel || "Select time" }) }),
|
|
1899
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
1899
1900
|
] })
|
|
1900
1901
|
] });
|
|
1901
1902
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWF6TNZ3cjs.FieldWrapper, { label, error, errorSlot: "error" in props, className, children: content });
|
|
@@ -1914,14 +1915,14 @@ function DateFilterPanel({
|
|
|
1914
1915
|
className
|
|
1915
1916
|
}) {
|
|
1916
1917
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex flex-col gap-4", className), children: [
|
|
1917
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1918
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1918
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.Select, { value: sort, onValueChange: (value) => onSortChange(value), children: [
|
|
1919
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className: "gap-2", "aria-label": "Sort direction", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
1919
1920
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowUpDown, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
1920
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1921
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, {}) })
|
|
1921
1922
|
] }) }),
|
|
1922
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1923
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1924
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1923
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: [
|
|
1924
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "asc", children: ascLabel }),
|
|
1925
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "desc", children: descLabel })
|
|
1925
1926
|
] })
|
|
1926
1927
|
] }),
|
|
1927
1928
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2201,7 +2202,7 @@ function Value({ value, depth }) {
|
|
|
2201
2202
|
}
|
|
2202
2203
|
if (typeof value === "string") {
|
|
2203
2204
|
if (ISO_DATE.test(value)) {
|
|
2204
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2205
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunk5L3UKDC6cjs.formatRelativeTime.call(void 0, value) });
|
|
2205
2206
|
}
|
|
2206
2207
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2207
2208
|
}
|
|
@@ -2448,7 +2449,7 @@ function InfoCardValueRow({
|
|
|
2448
2449
|
copyAriaLabel,
|
|
2449
2450
|
loading: loadingProp
|
|
2450
2451
|
}) {
|
|
2451
|
-
const { copy, copied } =
|
|
2452
|
+
const { copy, copied } = _chunkLWMWY3JOcjs.useCopyToClipboard.call(void 0, );
|
|
2452
2453
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
2453
2454
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: VALUE_ROW_CLASS, children: [
|
|
2454
2455
|
loading && label === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h4", className: "w-20" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: ROW_LABEL_CLASS, children: showLabel ? _nullishCoalesce(label, () => ( "")) : "" }),
|
|
@@ -2531,8 +2532,8 @@ function SearchableSelect(allProps) {
|
|
|
2531
2532
|
const keyboardPadding = _chunk7Z536SPRcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
2532
2533
|
const portalContainer = _chunkS3QXLD4Xcjs.usePortalContainer.call(void 0, );
|
|
2533
2534
|
if (!isOpen && search !== "") setSearch("");
|
|
2534
|
-
const listedOptions =
|
|
2535
|
-
const rememberedSelection =
|
|
2535
|
+
const listedOptions = _chunkFNNDGOR3cjs.useSettledOptions.call(void 0, options, isLoading, serverSearch);
|
|
2536
|
+
const rememberedSelection = _chunkFNNDGOR3cjs.useRememberedSelection.call(void 0, listedOptions, value != null ? [value] : [], serverSearch);
|
|
2536
2537
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
2537
2538
|
if (serverSearch) return listedOptions;
|
|
2538
2539
|
const q = search.trim().toLowerCase();
|
|
@@ -2745,7 +2746,7 @@ function CompactAssigneeDropdown({
|
|
|
2745
2746
|
onClick: handleTriggerClick,
|
|
2746
2747
|
"aria-label": "Change assignee",
|
|
2747
2748
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "w-auto shrink-0", className),
|
|
2748
|
-
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2749
|
+
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWMUW3RRcjs.DeletedUserAvatar, { size: "sm", accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}` }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2749
2750
|
_chunkGRHF5SWLcjs.SquareAvatar,
|
|
2750
2751
|
{
|
|
2751
2752
|
src: currentAssignee.avatarSrc,
|
|
@@ -2816,7 +2817,7 @@ function DefaultAssigneeDropdown({
|
|
|
2816
2817
|
if (isEditing) {
|
|
2817
2818
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "min-w-0", className), children: [
|
|
2818
2819
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2819
|
-
|
|
2820
|
+
_chunkFNNDGOR3cjs.Autocomplete,
|
|
2820
2821
|
{
|
|
2821
2822
|
options,
|
|
2822
2823
|
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _45 => _45.id]), () => ( null)),
|
|
@@ -2830,7 +2831,7 @@ function DefaultAssigneeDropdown({
|
|
|
2830
2831
|
selectedOptions,
|
|
2831
2832
|
showChevron: false,
|
|
2832
2833
|
startAdornment: hasAssignee ? currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2833
|
-
|
|
2834
|
+
_chunkSWMUW3RRcjs.DeletedUserAvatar,
|
|
2834
2835
|
{
|
|
2835
2836
|
size: "sm",
|
|
2836
2837
|
className: "h-6 w-6",
|
|
@@ -2856,7 +2857,7 @@ function DefaultAssigneeDropdown({
|
|
|
2856
2857
|
if (hasAssignee) {
|
|
2857
2858
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", className), children: [
|
|
2858
2859
|
currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2859
|
-
|
|
2860
|
+
_chunkSWMUW3RRcjs.DeletedUserAvatar,
|
|
2860
2861
|
{
|
|
2861
2862
|
size: "md",
|
|
2862
2863
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
@@ -2967,7 +2968,7 @@ function RowValue({ value }) {
|
|
|
2967
2968
|
}
|
|
2968
2969
|
case "status": {
|
|
2969
2970
|
const { type: _type, ...props } = value;
|
|
2970
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2971
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.TicketStatusTag, { ...props });
|
|
2971
2972
|
}
|
|
2972
2973
|
case "custom":
|
|
2973
2974
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CustomValue, { content: value.content });
|
|
@@ -3067,7 +3068,7 @@ function MediaTypeSelector({
|
|
|
3067
3068
|
// changed) and cost an extra render pass on every change to say what the
|
|
3068
3069
|
// prop already said.
|
|
3069
3070
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3070
|
-
|
|
3071
|
+
_chunkFNNDGOR3cjs.Select,
|
|
3071
3072
|
{
|
|
3072
3073
|
value: value || void 0,
|
|
3073
3074
|
onValueChange: (next) => {
|
|
@@ -3077,8 +3078,8 @@ function MediaTypeSelector({
|
|
|
3077
3078
|
disabled,
|
|
3078
3079
|
defaultValue: value,
|
|
3079
3080
|
children: [
|
|
3080
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3081
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3081
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, { placeholder }) }),
|
|
3082
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: mediaTypeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: option.value, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
3082
3083
|
option.icon,
|
|
3083
3084
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: option.label })
|
|
3084
3085
|
] }) }, option.value)) })
|
|
@@ -4504,10 +4505,10 @@ function useConfirm() {
|
|
|
4504
4505
|
},
|
|
4505
4506
|
[]
|
|
4506
4507
|
);
|
|
4507
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4508
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4509
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4510
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4508
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JHO2NVIcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4509
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalTitle, { children: pending.title }) }),
|
|
4510
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4511
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JHO2NVIcjs.ModalFooter, { children: [
|
|
4511
4512
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4512
4513
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4513
4514
|
] })
|
|
@@ -4561,14 +4562,14 @@ function AdminFormDrawer({
|
|
|
4561
4562
|
else onClose();
|
|
4562
4563
|
};
|
|
4563
4564
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4564
|
-
|
|
4565
|
+
_chunkVQG2A7GAcjs.Drawer,
|
|
4565
4566
|
{
|
|
4566
4567
|
open: isOpen,
|
|
4567
4568
|
onOpenChange: (open) => {
|
|
4568
4569
|
if (!open) requestClose();
|
|
4569
4570
|
},
|
|
4570
4571
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4571
|
-
|
|
4572
|
+
_chunkVQG2A7GAcjs.DrawerContent,
|
|
4572
4573
|
{
|
|
4573
4574
|
side: "right",
|
|
4574
4575
|
resizable: true,
|
|
@@ -4577,15 +4578,15 @@ function AdminFormDrawer({
|
|
|
4577
4578
|
storageKey,
|
|
4578
4579
|
panelClassName: "max-md:w-[calc(100vw-1rem)]",
|
|
4579
4580
|
children: [
|
|
4580
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4581
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4582
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4581
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVQG2A7GAcjs.DrawerHeader, { children: [
|
|
4582
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVQG2A7GAcjs.DrawerTitle, { children: title }),
|
|
4583
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVQG2A7GAcjs.DrawerDescription, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: subtitle }) })
|
|
4583
4584
|
] }),
|
|
4584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVQG2A7GAcjs.DrawerBody, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4585
4586
|
"form",
|
|
4586
4587
|
{
|
|
4587
4588
|
id: formId,
|
|
4588
|
-
...
|
|
4589
|
+
..._chunkEYSIQORAcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4589
4590
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4590
4591
|
onSubmit: (e) => {
|
|
4591
4592
|
e.preventDefault();
|
|
@@ -4683,16 +4684,16 @@ function AdminFormModal({
|
|
|
4683
4684
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4684
4685
|
});
|
|
4685
4686
|
if (!isOpen) return null;
|
|
4686
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4687
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4688
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4687
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JHO2NVIcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4688
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JHO2NVIcjs.ModalHeader, { children: [
|
|
4689
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalTitle, { children: title }),
|
|
4689
4690
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4690
4691
|
] }),
|
|
4691
4692
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4692
4693
|
"form",
|
|
4693
4694
|
{
|
|
4694
4695
|
id: formId,
|
|
4695
|
-
...
|
|
4696
|
+
..._chunkEYSIQORAcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4696
4697
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4697
4698
|
onSubmit: (e) => {
|
|
4698
4699
|
e.preventDefault();
|
|
@@ -4710,7 +4711,7 @@ function AdminFormModal({
|
|
|
4710
4711
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4711
4712
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4712
4713
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4713
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4714
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalContent, { children: loadingContent ? (
|
|
4714
4715
|
// The one announcement: a `loadingContent` with a region of its own takes `region={false}`.
|
|
4715
4716
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading", children: loadingContent })
|
|
4716
4717
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4731,12 +4732,12 @@ function AdminFormModal({
|
|
|
4731
4732
|
] }, i)) }, col))
|
|
4732
4733
|
}
|
|
4733
4734
|
) })
|
|
4734
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4735
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalContent, { className: contentClassName, children }),
|
|
4735
4736
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4736
4737
|
]
|
|
4737
4738
|
}
|
|
4738
4739
|
),
|
|
4739
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4740
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4740
4741
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4741
4742
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4742
4743
|
footerStatus,
|
|
@@ -6063,7 +6064,7 @@ function EmbedViewerFrame({
|
|
|
6063
6064
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6064
6065
|
_react.useEffect.call(void 0, () => {
|
|
6065
6066
|
if (!fullscreenControl) return void 0;
|
|
6066
|
-
const controller = new (0,
|
|
6067
|
+
const controller = new (0, _chunkEYSIQORAcjs.FullscreenSwitchController)({
|
|
6067
6068
|
target: () => frameRef.current,
|
|
6068
6069
|
onFullscreenChange: setIsFullscreen
|
|
6069
6070
|
});
|
|
@@ -6157,9 +6158,9 @@ var KIND_HEADING = {
|
|
|
6157
6158
|
design: "Claude Design"
|
|
6158
6159
|
};
|
|
6159
6160
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
6160
|
-
const { src: mirrorSrc, status } =
|
|
6161
|
+
const { src: mirrorSrc, status } = _chunkLWMWY3JOcjs.useClaudeMirrorSrc.call(void 0, url);
|
|
6161
6162
|
const isProbing = status === "probing";
|
|
6162
|
-
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => (
|
|
6163
|
+
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunkHLJXCOMAcjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
6163
6164
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6164
6165
|
EmbedViewerFrame,
|
|
6165
6166
|
{
|
|
@@ -6234,12 +6235,12 @@ function SlidesViewToggle({ view, onChange }) {
|
|
|
6234
6235
|
}
|
|
6235
6236
|
function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
6236
6237
|
const [view, setView] = _react.useState.call(void 0, "present");
|
|
6237
|
-
const isSlides = url ?
|
|
6238
|
-
const embedSrc = url ?
|
|
6238
|
+
const isSlides = url ? _chunkHLJXCOMAcjs.isFigmaSlidesUrl.call(void 0, url) : false;
|
|
6239
|
+
const embedSrc = url ? _chunkHLJXCOMAcjs.toFigmaEmbedUrl.call(void 0, url, { slidesView: view }) : null;
|
|
6239
6240
|
const originalUrl = (() => {
|
|
6240
6241
|
if (!url) return null;
|
|
6241
6242
|
try {
|
|
6242
|
-
const parsed = new URL(
|
|
6243
|
+
const parsed = new URL(_chunkHLJXCOMAcjs.toFigmaOriginalUrl.call(void 0, url));
|
|
6243
6244
|
const host = parsed.hostname.toLowerCase();
|
|
6244
6245
|
const okHost = host === "figma.com" || host.endsWith(".figma.com");
|
|
6245
6246
|
const okProtocol = parsed.protocol === "https:" || parsed.protocol === "http:";
|
|
@@ -6460,7 +6461,7 @@ function MarkdownImage({ src, alt }) {
|
|
|
6460
6461
|
alt: _nullishCoalesce(alt, () => ( "No image available")),
|
|
6461
6462
|
width: DISPLAY_W,
|
|
6462
6463
|
height: Math.round(DISPLAY_W / ratio),
|
|
6463
|
-
sizes:
|
|
6464
|
+
sizes: _chunkJQCQCE6Ucjs.IMAGE_SLOT.column,
|
|
6464
6465
|
loading: "lazy",
|
|
6465
6466
|
className: "mx-auto my-2 block h-auto w-full rounded-lg object-contain",
|
|
6466
6467
|
style: { maxWidth: `calc(${MAX_H_REM}rem * ${ratio})`, maxHeight: `${MAX_H_REM}rem` }
|
|
@@ -6528,8 +6529,8 @@ var Favicon = ({ src, size = "w-6 h-6" }) => /* @__PURE__ */ _jsxruntime.jsx.cal
|
|
|
6528
6529
|
src,
|
|
6529
6530
|
alt: "",
|
|
6530
6531
|
className: size,
|
|
6531
|
-
width:
|
|
6532
|
-
height:
|
|
6532
|
+
width: _chunkJQCQCE6Ucjs.IMAGE_FIXED_PX.glyph,
|
|
6533
|
+
height: _chunkJQCQCE6Ucjs.IMAGE_FIXED_PX.glyph,
|
|
6533
6534
|
unoptimized: true,
|
|
6534
6535
|
onError: (e) => {
|
|
6535
6536
|
const img = e.target;
|
|
@@ -6690,7 +6691,7 @@ var OGLinkPreview = ({
|
|
|
6690
6691
|
type: "website",
|
|
6691
6692
|
favicon: `https://www.google.com/s2/favicons?domain=${domain}&sz=32`
|
|
6692
6693
|
} : null)));
|
|
6693
|
-
const placeholderImageUrl =
|
|
6694
|
+
const placeholderImageUrl = _chunkAPNONOHYcjs.useOgPlaceholderUrl.call(void 0, {
|
|
6694
6695
|
title: _optionalChain([effectiveData, 'optionalAccess', _124 => _124.title]),
|
|
6695
6696
|
siteName: _optionalChain([effectiveData, 'optionalAccess', _125 => _125.siteName]) || domain,
|
|
6696
6697
|
enabled: enablePlaceholder && !isTile
|
|
@@ -6706,7 +6707,7 @@ var OGLinkPreview = ({
|
|
|
6706
6707
|
const hasImage = !!resolvedImageUrl;
|
|
6707
6708
|
const isCuratedImage = _optionalChain([resolvedImage, 'optionalAccess', _129 => _129.source]) === "curated";
|
|
6708
6709
|
const isPlaceholder = _optionalChain([resolvedImage, 'optionalAccess', _130 => _130.source]) === "placeholder";
|
|
6709
|
-
const bgColor =
|
|
6710
|
+
const bgColor = _chunkAPNONOHYcjs.useImageEdgeColor.call(void 0, _nullishCoalesce(resolvedImageUrl, () => ( null)), "var(--color-bg-surface)");
|
|
6710
6711
|
const renderSkeleton = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6711
6712
|
OGLinkPreviewSkeleton,
|
|
6712
6713
|
{
|
|
@@ -6727,12 +6728,12 @@ var OGLinkPreview = ({
|
|
|
6727
6728
|
children: [
|
|
6728
6729
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TILE_SOURCE_ROW_CLASS, children: [
|
|
6729
6730
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Favicon, { src: `https://www.google.com/s2/favicons?domain=${domain}&sz=32`, size: "w-4 h-4" }),
|
|
6730
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6731
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: name }),
|
|
6731
6732
|
meta != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "ml-auto flex flex-none items-center gap-1.5 text-ods-text-secondary", children: meta })
|
|
6732
6733
|
] }),
|
|
6733
6734
|
kicker != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden text-ods-accent text-h5", style: lineClamp(1), children: kicker }),
|
|
6734
6735
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6735
|
-
|
|
6736
|
+
_chunkFNNDGOR3cjs.TruncateText,
|
|
6736
6737
|
{
|
|
6737
6738
|
lines: 2,
|
|
6738
6739
|
variant: "h3",
|
|
@@ -6741,7 +6742,7 @@ var OGLinkPreview = ({
|
|
|
6741
6742
|
children: curatedTitle || domainToTitle(domain)
|
|
6742
6743
|
}
|
|
6743
6744
|
),
|
|
6744
|
-
curatedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6745
|
+
curatedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", children: curatedDescription })
|
|
6745
6746
|
]
|
|
6746
6747
|
}
|
|
6747
6748
|
);
|
|
@@ -6783,7 +6784,7 @@ var OGLinkPreview = ({
|
|
|
6783
6784
|
alt: title,
|
|
6784
6785
|
className: "rounded-md object-cover",
|
|
6785
6786
|
fill: true,
|
|
6786
|
-
sizes:
|
|
6787
|
+
sizes: _chunkJQCQCE6Ucjs.IMAGE_SLOT.full,
|
|
6787
6788
|
unoptimized: true
|
|
6788
6789
|
}
|
|
6789
6790
|
);
|
|
@@ -6808,7 +6809,7 @@ var OGLinkPreview = ({
|
|
|
6808
6809
|
alt: title,
|
|
6809
6810
|
className: "rounded-md object-contain transition-transform duration-300 group-hover:scale-105",
|
|
6810
6811
|
fill: true,
|
|
6811
|
-
sizes:
|
|
6812
|
+
sizes: _chunkJQCQCE6Ucjs.IMAGE_SLOT.full,
|
|
6812
6813
|
unoptimized: true,
|
|
6813
6814
|
onError: handleImageError
|
|
6814
6815
|
}
|
|
@@ -6887,8 +6888,8 @@ var OGLinkPreview = ({
|
|
|
6887
6888
|
children: [
|
|
6888
6889
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg bg-ods-bg-surface", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Favicon, { src: faviconSrc }) }),
|
|
6889
6890
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6890
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6891
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6891
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { className: "font-semibold transition-colors group-hover:text-ods-accent", children: title }),
|
|
6892
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { tone: "secondary", children: description })
|
|
6892
6893
|
] }),
|
|
6893
6894
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExternalLinkIcon, {})
|
|
6894
6895
|
]
|
|
@@ -6924,8 +6925,8 @@ var OGLinkPreview = ({
|
|
|
6924
6925
|
src: logoSrc,
|
|
6925
6926
|
alt: publicationName || "",
|
|
6926
6927
|
className: _chunk63A4GZMBcjs.cn.call(void 0, DEFAULT_LOGO_CLASS, "object-contain"),
|
|
6927
|
-
width:
|
|
6928
|
-
height:
|
|
6928
|
+
width: _chunkJQCQCE6Ucjs.IMAGE_FIXED_PX.glyph,
|
|
6929
|
+
height: _chunkJQCQCE6Ucjs.IMAGE_FIXED_PX.glyph,
|
|
6929
6930
|
unoptimized: true,
|
|
6930
6931
|
onError: (e) => {
|
|
6931
6932
|
const img = e.target;
|
|
@@ -6935,7 +6936,7 @@ var OGLinkPreview = ({
|
|
|
6935
6936
|
),
|
|
6936
6937
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6937
6938
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6938
|
-
|
|
6939
|
+
_chunkFNNDGOR3cjs.TruncateText,
|
|
6939
6940
|
{
|
|
6940
6941
|
lines: 2,
|
|
6941
6942
|
className: "min-h-[calc(var(--font-line-space-h4-body)*2)] font-semibold transition-colors group-hover:text-ods-accent",
|
|
@@ -6944,7 +6945,7 @@ var OGLinkPreview = ({
|
|
|
6944
6945
|
}
|
|
6945
6946
|
),
|
|
6946
6947
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6947
|
-
|
|
6948
|
+
_chunkFNNDGOR3cjs.TruncateText,
|
|
6948
6949
|
{
|
|
6949
6950
|
lines: 2,
|
|
6950
6951
|
tone: "secondary",
|
|
@@ -6954,9 +6955,9 @@ var OGLinkPreview = ({
|
|
|
6954
6955
|
}
|
|
6955
6956
|
),
|
|
6956
6957
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2 text-ods-text-secondary text-h6", children: [
|
|
6957
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6958
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: effectiveData.siteName }),
|
|
6958
6959
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "\u2022" }),
|
|
6959
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6960
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: ogDomain }),
|
|
6960
6961
|
meta
|
|
6961
6962
|
] })
|
|
6962
6963
|
] })
|
|
@@ -7117,7 +7118,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
7117
7118
|
};
|
|
7118
7119
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
7119
7120
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7120
|
-
|
|
7121
|
+
_chunkTD4CC4KVcjs.Video,
|
|
7121
7122
|
{
|
|
7122
7123
|
url: item.src,
|
|
7123
7124
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7167,7 +7168,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
7167
7168
|
),
|
|
7168
7169
|
priority: mainImagePriority,
|
|
7169
7170
|
loading: mainImagePriority ? "eager" : "lazy",
|
|
7170
|
-
sizes:
|
|
7171
|
+
sizes: _chunkJQCQCE6Ucjs.IMAGE_SLOT.full,
|
|
7171
7172
|
width: 1428,
|
|
7172
7173
|
height: 802,
|
|
7173
7174
|
unoptimized: true,
|
|
@@ -7312,7 +7313,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7312
7313
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7313
7314
|
};
|
|
7314
7315
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7315
|
-
const postLinkRel =
|
|
7316
|
+
const postLinkRel = _chunkD6ZSRGH2cjs.renderedLinkRel.call(void 0, rel, true);
|
|
7316
7317
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7317
7318
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7318
7319
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7644,7 +7645,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7644
7645
|
] });
|
|
7645
7646
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7646
7647
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7647
|
-
const postLinkRel =
|
|
7648
|
+
const postLinkRel = _chunkD6ZSRGH2cjs.renderedLinkRel.call(void 0, rel, true);
|
|
7648
7649
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7649
7650
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7650
7651
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7846,7 +7847,7 @@ function buildRichEmbedOverrides({
|
|
|
7846
7847
|
ogEndpointPath,
|
|
7847
7848
|
textSizes
|
|
7848
7849
|
}) {
|
|
7849
|
-
const standard =
|
|
7850
|
+
const standard = _chunkD6ZSRGH2cjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7850
7851
|
return {
|
|
7851
7852
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7852
7853
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7856,7 +7857,7 @@ function buildRichEmbedOverrides({
|
|
|
7856
7857
|
const language = match ? match[1] : "";
|
|
7857
7858
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7858
7859
|
if (language === "youtube-embed") {
|
|
7859
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7860
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7860
7861
|
}
|
|
7861
7862
|
if (language === "reddit-embed") {
|
|
7862
7863
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7897,7 +7898,7 @@ function buildRichEmbedOverrides({
|
|
|
7897
7898
|
"data-figma-url": figmaUrl
|
|
7898
7899
|
} = divProps;
|
|
7899
7900
|
if (className === "youtube-embed" && videoId) {
|
|
7900
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7901
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.Video, { kind: "youtube", url: videoId });
|
|
7901
7902
|
}
|
|
7902
7903
|
if (className === "reddit-embed" && postUrl) {
|
|
7903
7904
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7982,23 +7983,23 @@ function buildRichEmbedOverrides({
|
|
|
7982
7983
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7983
7984
|
// elsewhere). Guard against empty `![]()`.
|
|
7984
7985
|
img: ({ src, alt }) => {
|
|
7985
|
-
if (!
|
|
7986
|
+
if (!_chunkD6ZSRGH2cjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7986
7987
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7987
7988
|
},
|
|
7988
7989
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7989
7990
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7990
7991
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7991
7992
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7992
|
-
if (!
|
|
7993
|
+
if (!_chunkD6ZSRGH2cjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7993
7994
|
const url = src.trim();
|
|
7994
|
-
if (
|
|
7995
|
+
if (_chunkTD4CC4KVcjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.Video, { kind: "youtube", url });
|
|
7995
7996
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
7996
7997
|
},
|
|
7997
7998
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7998
7999
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7999
8000
|
video: ({ src, poster, className }) => {
|
|
8000
|
-
if (!
|
|
8001
|
-
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,
|
|
8001
|
+
if (!_chunkD6ZSRGH2cjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
8002
|
+
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, _chunkTD4CC4KVcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
8002
8003
|
}
|
|
8003
8004
|
};
|
|
8004
8005
|
}
|
|
@@ -8106,7 +8107,7 @@ var processShortcodes = (content) => {
|
|
|
8106
8107
|
try {
|
|
8107
8108
|
const urlObj = new URL(url);
|
|
8108
8109
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8109
|
-
const hostIs = (domain) =>
|
|
8110
|
+
const hostIs = (domain) => _chunkH3WTYAVRcjs.hostMatches.call(void 0, hostname, domain);
|
|
8110
8111
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8111
8112
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8112
8113
|
return match;
|
|
@@ -8183,13 +8184,13 @@ var RichMarkdownInner = ({
|
|
|
8183
8184
|
},
|
|
8184
8185
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8185
8186
|
);
|
|
8186
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8187
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkD6ZSRGH2cjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8187
8188
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8188
8189
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8189
8190
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8190
8191
|
);
|
|
8191
8192
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8192
|
-
|
|
8193
|
+
_chunkD6ZSRGH2cjs.MarkdownEngine,
|
|
8193
8194
|
{
|
|
8194
8195
|
content,
|
|
8195
8196
|
className,
|
|
@@ -8214,7 +8215,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8214
8215
|
className = "",
|
|
8215
8216
|
sectionIds,
|
|
8216
8217
|
onInternalLinkClick,
|
|
8217
|
-
brokenLinks =
|
|
8218
|
+
brokenLinks = _chunkD6ZSRGH2cjs.NO_BROKEN_LINKS,
|
|
8218
8219
|
currentPath,
|
|
8219
8220
|
resolveSource = "openframe-docs",
|
|
8220
8221
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9340,7 +9341,7 @@ function FilterModal({
|
|
|
9340
9341
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _167 => _167.defaultSort]), () => ( "desc"));
|
|
9341
9342
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _168 => _168.sort]), () => ( dateDefaultSort)));
|
|
9342
9343
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _169 => _169.range]));
|
|
9343
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
9344
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunk4JHO2NVIcjs.useScrollFade.call(void 0, );
|
|
9344
9345
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
9345
9346
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
9346
9347
|
_react.useEffect.call(void 0, () => {
|
|
@@ -9386,15 +9387,15 @@ function FilterModal({
|
|
|
9386
9387
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
9387
9388
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
9388
9389
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9389
|
-
|
|
9390
|
+
_chunk4JHO2NVIcjs.Modal,
|
|
9390
9391
|
{
|
|
9391
9392
|
isOpen,
|
|
9392
9393
|
onClose,
|
|
9393
9394
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "max-h-[90vh] max-w-none md:max-w-[min(42rem,calc(100vw-2rem))]", className),
|
|
9394
9395
|
children: [
|
|
9395
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9396
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalTitle, { children: title }) }),
|
|
9396
9397
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9397
|
-
|
|
9398
|
+
_chunk4JHO2NVIcjs.ModalContent,
|
|
9398
9399
|
{
|
|
9399
9400
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
9400
9401
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -9490,12 +9491,12 @@ function FilterModal({
|
|
|
9490
9491
|
)
|
|
9491
9492
|
}
|
|
9492
9493
|
),
|
|
9493
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9494
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9494
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
9495
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
9495
9496
|
] })
|
|
9496
9497
|
}
|
|
9497
9498
|
),
|
|
9498
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9499
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JHO2NVIcjs.ModalFooter, { children: [
|
|
9499
9500
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
9500
9501
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
9501
9502
|
] })
|
|
@@ -9559,7 +9560,7 @@ function renderAdvancedPageContainer({
|
|
|
9559
9560
|
contentClassName,
|
|
9560
9561
|
showHeader = true
|
|
9561
9562
|
}, inScope = false) {
|
|
9562
|
-
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9563
|
+
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children: _chunkH3WTYAVRcjs.accentSentenceMarks.call(void 0, title) }) : inScope && title === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerTitleSkeleton, {}) : null;
|
|
9563
9564
|
const subtitleNode = subtitle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: PAGE_CONTAINER_SUBTITLE_CLASS, children: subtitle }) : inScope && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerSubtitleSkeleton, {}) : null;
|
|
9564
9565
|
const getActionsVariant = () => {
|
|
9565
9566
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9568,7 +9569,7 @@ function renderAdvancedPageContainer({
|
|
|
9568
9569
|
};
|
|
9569
9570
|
const renderActions = () => {
|
|
9570
9571
|
if (!actions || actions.length === 0) return null;
|
|
9571
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9572
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.PageActions, { variant: getActionsVariant(), actions, menuActions });
|
|
9572
9573
|
};
|
|
9573
9574
|
const needsBottomPadding = actions && actions.length > 0 && getActionsVariant() === "primary-buttons";
|
|
9574
9575
|
const paddingClasses = {
|
|
@@ -9591,7 +9592,7 @@ function renderAdvancedPageContainer({
|
|
|
9591
9592
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-end content-lg:justify-between", children: [
|
|
9592
9593
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9593
9594
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9594
|
-
|
|
9595
|
+
_chunkFNNDGOR3cjs.BackButton,
|
|
9595
9596
|
{
|
|
9596
9597
|
onClick: backButton.onClick,
|
|
9597
9598
|
label: backButton.label,
|
|
@@ -9611,7 +9612,7 @@ function renderAdvancedPageContainer({
|
|
|
9611
9612
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-center content-lg:justify-between", children: [
|
|
9612
9613
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
9613
9614
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9614
|
-
|
|
9615
|
+
_chunkFNNDGOR3cjs.BackButton,
|
|
9615
9616
|
{
|
|
9616
9617
|
onClick: backButton.onClick,
|
|
9617
9618
|
label: backButton.label,
|
|
@@ -9631,7 +9632,7 @@ function renderAdvancedPageContainer({
|
|
|
9631
9632
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between gap-4 content-md:flex-col content-md:items-start content-md:justify-start content-lg:flex-row content-lg:items-end content-lg:justify-between", children: [
|
|
9632
9633
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9633
9634
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9634
|
-
|
|
9635
|
+
_chunkFNNDGOR3cjs.BackButton,
|
|
9635
9636
|
{
|
|
9636
9637
|
onClick: backButton.onClick,
|
|
9637
9638
|
label: backButton.label,
|
|
@@ -9719,7 +9720,7 @@ function ListPageLayout({
|
|
|
9719
9720
|
}) {
|
|
9720
9721
|
const [mobileFilterOpen, setMobileFilterOpen] = _react.useState.call(void 0, false);
|
|
9721
9722
|
const [localSearchValue, setLocalSearchValue] = _react.useState.call(void 0, searchValue);
|
|
9722
|
-
const debouncedSearchValue =
|
|
9723
|
+
const debouncedSearchValue = _chunkZABZIM2Ycjs.useDebounce.call(void 0, localSearchValue, 500);
|
|
9723
9724
|
const [syncedSearchValue, setSyncedSearchValue] = _react.useState.call(void 0, searchValue);
|
|
9724
9725
|
if (syncedSearchValue !== searchValue) {
|
|
9725
9726
|
setSyncedSearchValue(searchValue);
|
|
@@ -9986,7 +9987,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9986
9987
|
|
|
9987
9988
|
|
|
9988
9989
|
function PlatformBrowseButton({ item }) {
|
|
9989
|
-
const linkProps =
|
|
9990
|
+
const linkProps = _chunkD6ZSRGH2cjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9990
9991
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9991
9992
|
"Browse ",
|
|
9992
9993
|
item.buttonText
|
|
@@ -10505,10 +10506,10 @@ var OSTypeBadge = ({
|
|
|
10505
10506
|
if (!osType) {
|
|
10506
10507
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10507
10508
|
}
|
|
10508
|
-
const normalized =
|
|
10509
|
+
const normalized = _chunkEYSIQORAcjs.normalizeOSType.call(void 0, osType);
|
|
10509
10510
|
if (!normalized && !labelOnly) return null;
|
|
10510
|
-
const label =
|
|
10511
|
-
const IconComponent =
|
|
10511
|
+
const label = _chunkEYSIQORAcjs.getOSLabel.call(void 0, osType);
|
|
10512
|
+
const IconComponent = _chunkEYSIQORAcjs.getOSIcon.call(void 0, osType);
|
|
10512
10513
|
if (iconOnly && IconComponent) {
|
|
10513
10514
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk63A4GZMBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10514
10515
|
}
|
|
@@ -10556,8 +10557,8 @@ function DeviceCard({
|
|
|
10556
10557
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || !!loadingProp;
|
|
10557
10558
|
const formatLastSeen = (lastSeen) => {
|
|
10558
10559
|
if (!lastSeen) return null;
|
|
10559
|
-
const date =
|
|
10560
|
-
return date === "\u2014" ? null : `${date} ${
|
|
10560
|
+
const date = _chunk4JHO2NVIcjs.formatDate.call(void 0, lastSeen);
|
|
10561
|
+
return date === "\u2014" ? null : `${date} ${_chunk4JHO2NVIcjs.formatTime.call(void 0, lastSeen)}`;
|
|
10561
10562
|
};
|
|
10562
10563
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
10563
10564
|
"div",
|
|
@@ -10805,7 +10806,7 @@ function ComplianceLogo({
|
|
|
10805
10806
|
fallback = null,
|
|
10806
10807
|
className
|
|
10807
10808
|
}) {
|
|
10808
|
-
const standard =
|
|
10809
|
+
const standard = _chunkEYSIQORAcjs.complianceStandardForName.call(void 0, ...names);
|
|
10809
10810
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10810
10811
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10811
10812
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10886,7 +10887,7 @@ function FeatureCardGridView({
|
|
|
10886
10887
|
if (allCardsHaveNoBorders) {
|
|
10887
10888
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
10888
10889
|
}
|
|
10889
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10890
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
10890
10891
|
const startIndex = rowIndex * itemsPerRow;
|
|
10891
10892
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
10892
10893
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -10920,7 +10921,7 @@ function FeatureCardGridView({
|
|
|
10920
10921
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
10921
10922
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
10922
10923
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10923
|
-
|
|
10924
|
+
_chunkTD4CC4KVcjs.StatusBadge,
|
|
10924
10925
|
{
|
|
10925
10926
|
text: item.badge.text,
|
|
10926
10927
|
variant: item.badge.variant || "card",
|
|
@@ -10929,7 +10930,7 @@ function FeatureCardGridView({
|
|
|
10929
10930
|
)
|
|
10930
10931
|
] }),
|
|
10931
10932
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10932
|
-
|
|
10933
|
+
_chunkTD4CC4KVcjs.StatusBadge,
|
|
10933
10934
|
{
|
|
10934
10935
|
text: item.badge.text,
|
|
10935
10936
|
variant: item.badge.variant || "card",
|
|
@@ -11662,7 +11663,7 @@ function OrganizationCardSkeleton({
|
|
|
11662
11663
|
..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props),
|
|
11663
11664
|
children: [
|
|
11664
11665
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_HEADER_CLASS, children: [
|
|
11665
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11666
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.EntityImage, { src: null }),
|
|
11666
11667
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_TEXT_CLASS, children: [
|
|
11667
11668
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h3", className: "w-3/4" }),
|
|
11668
11669
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-1/2" })
|
|
@@ -11734,7 +11735,7 @@ function OrganizationCard({
|
|
|
11734
11735
|
}
|
|
11735
11736
|
),
|
|
11736
11737
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_HEADER_CLASS, children: [
|
|
11737
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11738
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.EntityImage, { src: fetchedImageUrl || organization.imageUrl, alt: organization.name }),
|
|
11738
11739
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_TEXT_CLASS, children: [
|
|
11739
11740
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "truncate text-ods-text-primary transition-colors text-h3", title: organization.name, children: organization.name }),
|
|
11740
11741
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11801,8 +11802,8 @@ function ServiceCard({
|
|
|
11801
11802
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
11802
11803
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: resolvedIcon }),
|
|
11803
11804
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
11804
|
-
loading && !title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h3", className: "w-40 max-w-full" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11805
|
-
loading && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-56 max-w-full" }) : subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11805
|
+
loading && !title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h3", className: "w-40 max-w-full" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h3", children: title }),
|
|
11806
|
+
loading && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-56 max-w-full" }) : subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", children: subtitle })
|
|
11806
11807
|
] })
|
|
11807
11808
|
] }),
|
|
11808
11809
|
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.Tag, { label: tag.label, variant: "outline", className: "shrink-0 self-start", loading })
|
|
@@ -11813,7 +11814,7 @@ function ServiceCard({
|
|
|
11813
11814
|
function ServiceCardRowItem({ row, loading: loadingProp }) {
|
|
11814
11815
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
11815
11816
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
11816
|
-
const { copy, copied } =
|
|
11817
|
+
const { copy, copied } = _chunkLWMWY3JOcjs.useCopyToClipboard.call(void 0, );
|
|
11817
11818
|
const { ref: valueRef, isTruncated: valueTruncated } = _chunkLC65AC6Mcjs.useIsTruncated.call(void 0, row.value);
|
|
11818
11819
|
const actions = _react.useMemo.call(void 0, () => rowActions(row), [row]);
|
|
11819
11820
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
@@ -11821,7 +11822,7 @@ function ServiceCardRowItem({ row, loading: loadingProp }) {
|
|
|
11821
11822
|
const handleCopy = () => copy(_nullishCoalesce(row.copyValue, () => ( row.value)));
|
|
11822
11823
|
const openInNewTab2 = () => {
|
|
11823
11824
|
if (!row.href) return;
|
|
11824
|
-
|
|
11825
|
+
_chunkZABZIM2Ycjs.executeNewTabNavigation.call(void 0, { runtime, href: row.href });
|
|
11825
11826
|
};
|
|
11826
11827
|
const labelColumn = loading ? row.label !== void 0 : !!row.label;
|
|
11827
11828
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: SERVICE_CARD_ROW_CLASS, children: [
|
|
@@ -11942,14 +11943,14 @@ function PersonCell({
|
|
|
11942
11943
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
11943
11944
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
11944
11945
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11945
|
-
|
|
11946
|
+
_chunkFNNDGOR3cjs.TruncateText,
|
|
11946
11947
|
{
|
|
11947
11948
|
variant: scale.primary,
|
|
11948
11949
|
className: onClick ? "text-ods-accent group-hover/person-cell:underline" : void 0,
|
|
11949
11950
|
children: displayName
|
|
11950
11951
|
}
|
|
11951
11952
|
),
|
|
11952
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11953
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", children: secondary === void 0 ? "\xA0" : secondary || "\xB7" })
|
|
11953
11954
|
] })
|
|
11954
11955
|
] });
|
|
11955
11956
|
if (!onClick) return row;
|
|
@@ -12847,7 +12848,7 @@ function DataTableRowImpl({
|
|
|
12847
12848
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12848
12849
|
const handleClick = _react.useCallback.call(void 0,
|
|
12849
12850
|
(e) => {
|
|
12850
|
-
if (!
|
|
12851
|
+
if (!_chunkEYSIQORAcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12851
12852
|
if (isLinkMode) e.preventDefault();
|
|
12852
12853
|
return;
|
|
12853
12854
|
}
|
|
@@ -12861,7 +12862,7 @@ function DataTableRowImpl({
|
|
|
12861
12862
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _224 => _224.contains, 'call', _225 => _225(target)])) return;
|
|
12862
12863
|
const nestedLink = target.closest("a");
|
|
12863
12864
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12864
|
-
if (!
|
|
12865
|
+
if (!_chunkEYSIQORAcjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12865
12866
|
}, []);
|
|
12866
12867
|
const containerClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
12867
12868
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12991,7 +12992,7 @@ function DataTableBody({
|
|
|
12991
12992
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12992
12993
|
if (loading && loadingCells && hasRows) {
|
|
12993
12994
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12994
|
-
|
|
12995
|
+
_chunkD6ZSRGH2cjs.LoadingFallback,
|
|
12995
12996
|
{
|
|
12996
12997
|
label: "Loading results",
|
|
12997
12998
|
status: loadingRegion && !inScope,
|
|
@@ -13340,7 +13341,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13340
13341
|
// child of the cell.
|
|
13341
13342
|
_optionalChain([meta, 'optionalAccess', _244 => _244.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13342
13343
|
filterTrigger,
|
|
13343
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13344
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEYSIQORAcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13344
13345
|
] }) : filterTrigger
|
|
13345
13346
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13346
13347
|
"div",
|
|
@@ -13365,7 +13366,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13365
13366
|
// centred on the row.
|
|
13366
13367
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13367
13368
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13368
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13369
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEYSIQORAcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13369
13370
|
] })
|
|
13370
13371
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13371
13372
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13604,7 +13605,7 @@ function PhoneInput({
|
|
|
13604
13605
|
placeholder = "Phone Number (optional)",
|
|
13605
13606
|
onKeyDown
|
|
13606
13607
|
}) {
|
|
13607
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13608
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkEYSIQORAcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13608
13609
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13609
13610
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13610
13611
|
[countryCode, priority, others]
|
|
@@ -13619,7 +13620,7 @@ function PhoneInput({
|
|
|
13619
13620
|
_optionalChain([onValidationChange, 'optionalCall', _261 => _261(false)]);
|
|
13620
13621
|
return;
|
|
13621
13622
|
}
|
|
13622
|
-
const invalid = !
|
|
13623
|
+
const invalid = !_chunkEYSIQORAcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13623
13624
|
setIsInvalid(invalid);
|
|
13624
13625
|
_optionalChain([onValidationChange, 'optionalCall', _262 => _262(invalid)]);
|
|
13625
13626
|
},
|
|
@@ -13639,7 +13640,7 @@ function PhoneInput({
|
|
|
13639
13640
|
}, []);
|
|
13640
13641
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 gap-2", children: [
|
|
13641
13642
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13642
|
-
|
|
13643
|
+
_chunkFNNDGOR3cjs.Select,
|
|
13643
13644
|
{
|
|
13644
13645
|
value: countryCode,
|
|
13645
13646
|
onValueChange: (val) => {
|
|
@@ -13650,14 +13651,14 @@ function PhoneInput({
|
|
|
13650
13651
|
},
|
|
13651
13652
|
disabled,
|
|
13652
13653
|
children: [
|
|
13653
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13654
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className: "w-[130px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, { children: selectedCountry && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5", children: [
|
|
13654
13655
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.flag }),
|
|
13655
13656
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.dialCode })
|
|
13656
13657
|
] }) }) }),
|
|
13657
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13658
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13659
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13660
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13658
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { className: "max-h-[300px] !w-[280px]", children: [
|
|
13659
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectGroup, { children: priority.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) }),
|
|
13660
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectSeparator, {}),
|
|
13661
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectGroup, { children: others.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) })
|
|
13661
13662
|
] })
|
|
13662
13663
|
]
|
|
13663
13664
|
}
|
|
@@ -13689,7 +13690,7 @@ function PhoneInput({
|
|
|
13689
13690
|
] });
|
|
13690
13691
|
}
|
|
13691
13692
|
function CountryOption({ country }) {
|
|
13692
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13693
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: country.code, textValue: country.name, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-2", children: [
|
|
13693
13694
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: country.flag }),
|
|
13694
13695
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary", children: country.dialCode }),
|
|
13695
13696
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-block max-w-[140px] overflow-hidden text-ellipsis whitespace-nowrap", children: country.name })
|
|
@@ -13955,7 +13956,7 @@ function TagSearchInput({
|
|
|
13955
13956
|
}
|
|
13956
13957
|
),
|
|
13957
13958
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13958
|
-
|
|
13959
|
+
_chunk4JHO2NVIcjs.HiddenTagsPopup,
|
|
13959
13960
|
{
|
|
13960
13961
|
ref: hiddenTagsPopupRef,
|
|
13961
13962
|
items: hiddenTags,
|
|
@@ -14031,8 +14032,8 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14031
14032
|
if (!trimmedUrl) return;
|
|
14032
14033
|
onSubmit({ text: text.trim(), url: trimmedUrl, rel });
|
|
14033
14034
|
};
|
|
14034
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14035
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14035
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JHO2NVIcjs.Modal, { isOpen, onClose, className: "text-left md:max-w-[560px]", children: [
|
|
14036
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalTitle, { children: editing ? "Edit link" : "Add link" }) }),
|
|
14036
14037
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14037
14038
|
"form",
|
|
14038
14039
|
{
|
|
@@ -14057,7 +14058,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14057
14058
|
),
|
|
14058
14059
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14059
14060
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14060
|
-
|
|
14061
|
+
_chunkD6ZSRGH2cjs.TabSelector,
|
|
14061
14062
|
{
|
|
14062
14063
|
label: "Search engines",
|
|
14063
14064
|
value: choice,
|
|
@@ -14074,7 +14075,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14074
14075
|
]
|
|
14075
14076
|
}
|
|
14076
14077
|
),
|
|
14077
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14078
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JHO2NVIcjs.ModalFooter, { children: [
|
|
14078
14079
|
editing ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "outline", onClick: onRemove, className: "flex-1", children: "Remove link" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "outline", onClick: onClose, className: "flex-1", children: "Cancel" }),
|
|
14079
14080
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "submit", form: formId, variant: "accent", disabled: !trimmedUrl, className: "flex-1", children: editing ? "Save" : "Add link" })
|
|
14080
14081
|
] })
|
|
@@ -14114,7 +14115,7 @@ function useMarkdownLinkCommand() {
|
|
|
14114
14115
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14115
14116
|
icon: command.icon,
|
|
14116
14117
|
execute: (state, api) => {
|
|
14117
|
-
const existing =
|
|
14118
|
+
const existing = _chunkD6ZSRGH2cjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14118
14119
|
setPending(
|
|
14119
14120
|
existing ? {
|
|
14120
14121
|
api,
|
|
@@ -14145,7 +14146,7 @@ function useMarkdownLinkCommand() {
|
|
|
14145
14146
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _292 => _292.initial]), () => ( EMPTY_LINK)),
|
|
14146
14147
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _293 => _293.editing]), () => ( false)),
|
|
14147
14148
|
onSubmit: (link) => {
|
|
14148
|
-
if (pending) write(pending,
|
|
14149
|
+
if (pending) write(pending, _chunkD6ZSRGH2cjs.formatMarkdownLink.call(void 0, link));
|
|
14149
14150
|
},
|
|
14150
14151
|
onRemove: () => {
|
|
14151
14152
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -14311,7 +14312,7 @@ function MarkdownEditor({
|
|
|
14311
14312
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
14312
14313
|
try {
|
|
14313
14314
|
const url = await onUploadFile(file);
|
|
14314
|
-
const isImage =
|
|
14315
|
+
const isImage = _chunkH3WTYAVRcjs.fileMediaType.call(void 0, file) === "image";
|
|
14315
14316
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
14316
14317
|
insertTextAtCursor(markdown);
|
|
14317
14318
|
_optionalChain([onFileUploaded, 'optionalCall', _296 => _296(url, file.name)]);
|
|
@@ -14441,7 +14442,7 @@ function MarkdownEditor({
|
|
|
14441
14442
|
type: "file",
|
|
14442
14443
|
className: "hidden",
|
|
14443
14444
|
onChange: handleFileInputChange,
|
|
14444
|
-
accept: `${
|
|
14445
|
+
accept: `${_chunkH3WTYAVRcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
14445
14446
|
}
|
|
14446
14447
|
),
|
|
14447
14448
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownEditorHeightContext.Provider, { value: height, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownEditorFieldSkeleton, { height }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14856,7 +14857,7 @@ function matchesAccept2(file, accept) {
|
|
|
14856
14857
|
return patterns.some((pattern) => {
|
|
14857
14858
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
14858
14859
|
if (pattern.endsWith("/*"))
|
|
14859
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
14860
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunkH3WTYAVRcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
14860
14861
|
return fileType === pattern;
|
|
14861
14862
|
});
|
|
14862
14863
|
}
|
|
@@ -14864,7 +14865,7 @@ function ImageUploader({
|
|
|
14864
14865
|
value,
|
|
14865
14866
|
onChange,
|
|
14866
14867
|
onRemove,
|
|
14867
|
-
accept =
|
|
14868
|
+
accept = _chunkH3WTYAVRcjs.IMAGE_FILE_ACCEPT,
|
|
14868
14869
|
maxSize = DEFAULT_MAX_SIZE,
|
|
14869
14870
|
label = "Cover Image",
|
|
14870
14871
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -14977,7 +14978,7 @@ function ImageUploader({
|
|
|
14977
14978
|
src: resolvedValue,
|
|
14978
14979
|
alt,
|
|
14979
14980
|
fill: true,
|
|
14980
|
-
sizes:
|
|
14981
|
+
sizes: _chunkJQCQCE6Ucjs.IMAGE_SLOT.full,
|
|
14981
14982
|
unoptimized: true,
|
|
14982
14983
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
14983
14984
|
"pointer-events-none",
|
|
@@ -15097,13 +15098,13 @@ function ColorPresetSelect({
|
|
|
15097
15098
|
...presets.map((p) => ({
|
|
15098
15099
|
id: p.key,
|
|
15099
15100
|
label: p.label,
|
|
15100
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15101
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.ColorSwatch, { color: p.color }),
|
|
15101
15102
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
15102
15103
|
})),
|
|
15103
15104
|
{
|
|
15104
15105
|
id: CUSTOM_PRESET_KEY,
|
|
15105
15106
|
label: "Custom",
|
|
15106
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15107
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
15107
15108
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
15108
15109
|
}
|
|
15109
15110
|
]
|
|
@@ -15120,7 +15121,7 @@ function ColorPresetSelect({
|
|
|
15120
15121
|
{
|
|
15121
15122
|
disabled,
|
|
15122
15123
|
"aria-label": `Color: ${displayLabel}`,
|
|
15123
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15124
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.ColorSwatch, { color: displayColor }),
|
|
15124
15125
|
selectedLabel: displayLabel,
|
|
15125
15126
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
15126
15127
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "group", className)
|
|
@@ -15141,7 +15142,7 @@ function HexInputs({ value, onChange }) {
|
|
|
15141
15142
|
}
|
|
15142
15143
|
const commit = () => {
|
|
15143
15144
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
15144
|
-
if (
|
|
15145
|
+
if (_chunkJBTH3O2Ccjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
15145
15146
|
else setDraft(value);
|
|
15146
15147
|
};
|
|
15147
15148
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15205,12 +15206,12 @@ function ChannelInput({
|
|
|
15205
15206
|
);
|
|
15206
15207
|
}
|
|
15207
15208
|
function RgbInputs({ value, onChange }) {
|
|
15208
|
-
const rgb = _nullishCoalesce(
|
|
15209
|
+
const rgb = _nullishCoalesce(_chunkJBTH3O2Ccjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
15209
15210
|
const update = (next) => {
|
|
15210
15211
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
15211
15212
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
15212
15213
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
15213
|
-
onChange(
|
|
15214
|
+
onChange(_chunkJBTH3O2Ccjs.rgbToHex.call(void 0, r, g, b));
|
|
15214
15215
|
};
|
|
15215
15216
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15216
15217
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -15219,14 +15220,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
15219
15220
|
] });
|
|
15220
15221
|
}
|
|
15221
15222
|
function HslInputs({ value, onChange }) {
|
|
15222
|
-
const rgb = _nullishCoalesce(
|
|
15223
|
-
const hsl =
|
|
15223
|
+
const rgb = _nullishCoalesce(_chunkJBTH3O2Ccjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
15224
|
+
const hsl = _chunkJBTH3O2Ccjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
15224
15225
|
const update = (next) => {
|
|
15225
15226
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
15226
15227
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
15227
15228
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
15228
|
-
const out =
|
|
15229
|
-
onChange(
|
|
15229
|
+
const out = _chunkJBTH3O2Ccjs.hslToRgb.call(void 0, h, s, l);
|
|
15230
|
+
onChange(_chunkJBTH3O2Ccjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
15230
15231
|
};
|
|
15231
15232
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15232
15233
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -15258,7 +15259,7 @@ function ColorPickerInput({
|
|
|
15258
15259
|
{
|
|
15259
15260
|
disabled,
|
|
15260
15261
|
"aria-label": "Pick custom color",
|
|
15261
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15262
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.ColorSwatch, { color: value }),
|
|
15262
15263
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
15263
15264
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
15264
15265
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "group", className)
|
|
@@ -15339,7 +15340,7 @@ function TicketStatusConfigRow({
|
|
|
15339
15340
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
15340
15341
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
15341
15342
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15342
|
-
|
|
15343
|
+
_chunk5L3UKDC6cjs.TicketStatusTag,
|
|
15343
15344
|
{
|
|
15344
15345
|
loading,
|
|
15345
15346
|
status: statusKey,
|
|
@@ -15456,9 +15457,9 @@ function TicketStatusConfigRow({
|
|
|
15456
15457
|
),
|
|
15457
15458
|
children: [
|
|
15458
15459
|
!isSystem && moveButtons,
|
|
15459
|
-
isSystem ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-11 justify-center content-md:w-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15460
|
+
isSystem ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-11 justify-center content-md:w-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWMUW3RRcjs.TouchFriendlyTooltip, { content: systemTooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "bare", size: "icon-sm", type: "button", "aria-label": _nullishCoalesce(systemTooltip, () => ( "System status")), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRHC2FRVEcjs.InfoCircleIcon, { size: 24 }) }) }) }) : (
|
|
15460
15461
|
// The delete button is a static control: drawn for real in both forms, inert while the status is read.
|
|
15461
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.InertWhileLoading, { loading, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15462
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.InertWhileLoading, { loading, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWMUW3RRcjs.TouchFriendlyTooltip, { content: deleteDisabled && !loading ? deleteDisabledReason : void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15462
15463
|
_chunkFCZAUK4Dcjs.Button,
|
|
15463
15464
|
{
|
|
15464
15465
|
type: "button",
|
|
@@ -15499,7 +15500,7 @@ var TEST_RESULTS_SKELETON_COLUMNS = 6;
|
|
|
15499
15500
|
function TestResultsSkeleton({
|
|
15500
15501
|
region = true
|
|
15501
15502
|
} = {}) {
|
|
15502
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading the test results", announce: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15503
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading the test results", announce: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
15503
15504
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex", ROW_SHELL_CLASSES), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: TEST_RESULTS_SKELETON_COLUMNS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 shrink-0 items-center", style: { width: RESULT_COLUMN_MIN_WIDTH }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h5", className: "w-3/4" }) }) }) }),
|
|
15504
15505
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DATA_TABLE_ROW_FRAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex", ROW_SHELL_CLASSES, ROW_HEIGHT_DESKTOP), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count: TEST_RESULTS_SKELETON_COLUMNS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: "shrink-0", style: { width: RESULT_COLUMN_MIN_WIDTH }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h4", className: "w-3/4" }) }) }) }) })
|
|
15505
15506
|
] }) }) });
|
|
@@ -15535,13 +15536,13 @@ function TestResultsTable({ rows, loading: loadingProp }) {
|
|
|
15535
15536
|
if (loading) {
|
|
15536
15537
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
15537
15538
|
}
|
|
15538
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15539
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.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: [
|
|
15539
15540
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
15540
15541
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
15541
15542
|
] }) }) });
|
|
15542
15543
|
}
|
|
15543
15544
|
function TestRunErrorBanner({ error, className }) {
|
|
15544
|
-
const { copy } =
|
|
15545
|
+
const { copy } = _chunkLWMWY3JOcjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
15545
15546
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15546
15547
|
"div",
|
|
15547
15548
|
{
|
|
@@ -15644,7 +15645,7 @@ function useTestRunState(campaign) {
|
|
|
15644
15645
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
15645
15646
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
15646
15647
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
15647
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
15648
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunk4JHO2NVIcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
15648
15649
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
15649
15650
|
const displayRows = _react.useMemo.call(void 0,
|
|
15650
15651
|
() => campaign.results.map(
|
|
@@ -15997,7 +15998,7 @@ function TicketInfoSection({
|
|
|
15997
15998
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _336 => _336.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _337 => _337.icon]), onClick: _optionalChain([device, 'optionalAccess', _338 => _338.onClick]) }),
|
|
15998
15999
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
15999
16000
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16000
|
-
|
|
16001
|
+
_chunk5L3UKDC6cjs.TicketStatusTag,
|
|
16001
16002
|
{
|
|
16002
16003
|
status: _nullishCoalesce(status, () => ( "")),
|
|
16003
16004
|
label: statusLabel,
|
|
@@ -16027,7 +16028,7 @@ function TicketInfoSection({
|
|
|
16027
16028
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16028
16029
|
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" }) }),
|
|
16029
16030
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16030
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16031
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD6ZSRGH2cjs.SimpleMarkdownRenderer, { content: description }),
|
|
16031
16032
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16032
16033
|
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, _chunkGRHF5SWLcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16033
16034
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16052,8 +16053,8 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
16052
16053
|
const { label, color } = option;
|
|
16053
16054
|
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: [
|
|
16054
16055
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16055
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16056
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16056
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.ColorSwatch, { color }),
|
|
16057
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
16057
16058
|
] }),
|
|
16058
16059
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
16059
16060
|
] });
|
|
@@ -16063,7 +16064,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
16063
16064
|
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: [
|
|
16064
16065
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16065
16066
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
16066
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16067
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
16067
16068
|
] }),
|
|
16068
16069
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
16069
16070
|
] });
|
|
@@ -16104,9 +16105,9 @@ function TakeOverTicketModal({
|
|
|
16104
16105
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
16105
16106
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
16106
16107
|
};
|
|
16107
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16108
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JHO2NVIcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
16108
16109
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
16109
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16110
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
16110
16111
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
16111
16112
|
"The ticket ",
|
|
16112
16113
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -16114,19 +16115,19 @@ function TakeOverTicketModal({
|
|
|
16114
16115
|
] }),
|
|
16115
16116
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
16116
16117
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16117
|
-
|
|
16118
|
+
_chunkFNNDGOR3cjs.Autocomplete,
|
|
16118
16119
|
{
|
|
16119
16120
|
label: "Status",
|
|
16120
16121
|
options: statusOptions,
|
|
16121
16122
|
value: selectedStatusId,
|
|
16122
16123
|
onChange: setStatusId,
|
|
16123
16124
|
placeholder: "Select Status",
|
|
16124
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16125
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
16125
16126
|
renderOption: renderTicketStatusOption
|
|
16126
16127
|
}
|
|
16127
16128
|
) }),
|
|
16128
16129
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16129
|
-
|
|
16130
|
+
_chunkFNNDGOR3cjs.Autocomplete,
|
|
16130
16131
|
{
|
|
16131
16132
|
label: "Assigned",
|
|
16132
16133
|
options: withTicketAssigneeAvatars(assigneeOptions),
|
|
@@ -16140,7 +16141,7 @@ function TakeOverTicketModal({
|
|
|
16140
16141
|
}
|
|
16141
16142
|
) })
|
|
16142
16143
|
] }),
|
|
16143
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16144
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JHO2NVIcjs.ModalFooter, { children: [
|
|
16144
16145
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
16145
16146
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
16146
16147
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16200,9 +16201,9 @@ function ReopenTicketModal({
|
|
|
16200
16201
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
16201
16202
|
});
|
|
16202
16203
|
};
|
|
16203
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16204
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JHO2NVIcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
16204
16205
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
16205
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16206
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
16206
16207
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
16207
16208
|
"The ticket ",
|
|
16208
16209
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -16210,19 +16211,19 @@ function ReopenTicketModal({
|
|
|
16210
16211
|
] }),
|
|
16211
16212
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
16212
16213
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16213
|
-
|
|
16214
|
+
_chunkFNNDGOR3cjs.Autocomplete,
|
|
16214
16215
|
{
|
|
16215
16216
|
label: "Status",
|
|
16216
16217
|
options: statusOptions,
|
|
16217
16218
|
value: selectedStatusId,
|
|
16218
16219
|
onChange: setStatusId,
|
|
16219
16220
|
placeholder: "Select Status",
|
|
16220
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16221
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
16221
16222
|
renderOption: renderTicketStatusOption
|
|
16222
16223
|
}
|
|
16223
16224
|
) }),
|
|
16224
16225
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16225
|
-
|
|
16226
|
+
_chunkFNNDGOR3cjs.Autocomplete,
|
|
16226
16227
|
{
|
|
16227
16228
|
label: "Assigned",
|
|
16228
16229
|
options: withTicketAssigneeAvatars(assigneeOptions),
|
|
@@ -16247,7 +16248,7 @@ function ReopenTicketModal({
|
|
|
16247
16248
|
disabled: isPending
|
|
16248
16249
|
}
|
|
16249
16250
|
) }),
|
|
16250
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16251
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JHO2NVIcjs.ModalFooter, { children: [
|
|
16251
16252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
16252
16253
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
16253
16254
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16296,9 +16297,9 @@ function ReopenTicketRequestModal({
|
|
|
16296
16297
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
16297
16298
|
});
|
|
16298
16299
|
};
|
|
16299
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16300
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JHO2NVIcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
16300
16301
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
16301
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16302
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
16302
16303
|
/* @__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." }),
|
|
16303
16304
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16304
16305
|
Textarea,
|
|
@@ -16322,7 +16323,7 @@ function ReopenTicketRequestModal({
|
|
|
16322
16323
|
disabled: isPending
|
|
16323
16324
|
}
|
|
16324
16325
|
),
|
|
16325
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16326
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4JHO2NVIcjs.ModalFooter, { children: [
|
|
16326
16327
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
16327
16328
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
16328
16329
|
] })
|
|
@@ -16346,7 +16347,7 @@ var FILL_FACTOR = 1.25;
|
|
|
16346
16347
|
var MAX_REPEATS = 8;
|
|
16347
16348
|
var MAX_PIXEL_DENSITY = 2;
|
|
16348
16349
|
function photoWallRequestWidth(columnWidth, pixelDensity) {
|
|
16349
|
-
return
|
|
16350
|
+
return _chunkJQCQCE6Ucjs.imageWidthFor.call(void 0, columnWidth * Math.min(Math.max(1, pixelDensity), MAX_PIXEL_DENSITY));
|
|
16350
16351
|
}
|
|
16351
16352
|
function photoOrientation(naturalWidth, naturalHeight) {
|
|
16352
16353
|
if (!(naturalWidth > 0) || !(naturalHeight > 0)) return "wide";
|
|
@@ -16502,7 +16503,7 @@ function PhotoWall({
|
|
|
16502
16503
|
gap: COLUMN_GAP_PX
|
|
16503
16504
|
};
|
|
16504
16505
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk63A4GZMBcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16505
|
-
|
|
16506
|
+
_chunkD6ZSRGH2cjs.MarqueeWall,
|
|
16506
16507
|
{
|
|
16507
16508
|
axis: "y",
|
|
16508
16509
|
reverse: index % 2 === 1,
|
|
@@ -16638,7 +16639,7 @@ function LazyMount({
|
|
|
16638
16639
|
// src/components/ui/app-window-frame.tsx
|
|
16639
16640
|
|
|
16640
16641
|
function AppWindowFrame({ title, children, footer, agent, className, bodyClassName }) {
|
|
16641
|
-
const tint =
|
|
16642
|
+
const tint = _chunkJBTH3O2Ccjs.useAgentTint.call(void 0, agent);
|
|
16642
16643
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16643
16644
|
"div",
|
|
16644
16645
|
{
|
|
@@ -16732,7 +16733,7 @@ function ProductScreenFrame({
|
|
|
16732
16733
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "ods-content-area", pending && "product-screen-pending"),
|
|
16733
16734
|
style: screenStyle,
|
|
16734
16735
|
children: [
|
|
16735
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ods-content-scope", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingScope, { bare: true, active: pending, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16736
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ods-content-scope", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingScope, { bare: true, active: pending, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.PagePicture, { children }) }) }),
|
|
16736
16737
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, style: { display: "contents" } })
|
|
16737
16738
|
]
|
|
16738
16739
|
}
|
|
@@ -16870,7 +16871,7 @@ function PhoneFrame({ dateLabel, timeLabel, children, className }) {
|
|
|
16870
16871
|
"div",
|
|
16871
16872
|
{
|
|
16872
16873
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "h-[617px] w-[299px] shrink-0 rounded-[48px] border border-ods-border bg-black p-2.5", className),
|
|
16873
|
-
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "relative flex h-full flex-col overflow-hidden rounded-[38px]",
|
|
16874
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "relative flex h-full flex-col overflow-hidden rounded-[38px]", _chunkFNNDGOR3cjs.DEVICE_WALLPAPER_CLASS), children: [
|
|
16874
16875
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16875
16876
|
"div",
|
|
16876
16877
|
{
|
|
@@ -17047,7 +17048,7 @@ function LoadingLabel({ label, typical }) {
|
|
|
17047
17048
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: label.split(/(\{\w+\})/).map(
|
|
17048
17049
|
(part, index) => /^\{\w+\}$/.test(part) ? (
|
|
17049
17050
|
// biome-ignore lint/suspicious/noArrayIndexKey: the parts of one fixed string never reorder
|
|
17050
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17051
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD6ZSRGH2cjs.TextHold, { children: typical }, index)
|
|
17051
17052
|
) : part
|
|
17052
17053
|
) });
|
|
17053
17054
|
}
|
|
@@ -17062,7 +17063,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17062
17063
|
};
|
|
17063
17064
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17064
17065
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17065
|
-
const labels =
|
|
17066
|
+
const labels = _chunkEYSIQORAcjs.trialLabels.call(void 0, trialDays);
|
|
17066
17067
|
return terms.flatMap((term) => {
|
|
17067
17068
|
const label = labels[term];
|
|
17068
17069
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -17169,7 +17170,7 @@ function AnalyzingState({ label, className }) {
|
|
|
17169
17170
|
}) }),
|
|
17170
17171
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 text-center text-ods-text-secondary text-h4", children: [
|
|
17171
17172
|
label,
|
|
17172
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17173
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4JHO2NVIcjs.ChatTypingIndicator, { "aria-hidden": true, size: "sm", dotClassName: "bg-ods-text-secondary motion-reduce:animate-none" })
|
|
17173
17174
|
] })
|
|
17174
17175
|
] });
|
|
17175
17176
|
}
|
|
@@ -17183,7 +17184,7 @@ var INCIDENT_TONE = {
|
|
|
17183
17184
|
approved: "success"
|
|
17184
17185
|
};
|
|
17185
17186
|
function IncidentStatusLine({ status, label, className }) {
|
|
17186
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17187
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.StatusLine, { tone: INCIDENT_TONE[status], label, className });
|
|
17187
17188
|
}
|
|
17188
17189
|
var FEED_CLASS = "flex min-h-0 flex-1 flex-col gap-3 overflow-hidden p-4 md:px-5";
|
|
17189
17190
|
var FEED_BOTTOM_CLASS = "justify-end [mask-image:linear-gradient(180deg,transparent_0,#000_48px)]";
|
|
@@ -17371,8 +17372,8 @@ function SnapCarousel({
|
|
|
17371
17372
|
}) {
|
|
17372
17373
|
const trackRef = _react.useRef.call(void 0, null);
|
|
17373
17374
|
const [index, setIndex] = _react.useState.call(void 0, 0);
|
|
17374
|
-
const { ref: viewRef, inView } =
|
|
17375
|
-
const auto =
|
|
17375
|
+
const { ref: viewRef, inView } = _chunkZABZIM2Ycjs.useInView.call(void 0, { threshold: 0.5 });
|
|
17376
|
+
const auto = _chunkZABZIM2Ycjs.useAutoplay.call(void 0, inView);
|
|
17376
17377
|
const count = items.length;
|
|
17377
17378
|
const slideStep = _react.useCallback.call(void 0, () => {
|
|
17378
17379
|
const first = _optionalChain([trackRef, 'access', _349 => _349.current, 'optionalAccess', _350 => _350.firstElementChild]);
|
|
@@ -17416,7 +17417,7 @@ function SnapCarousel({
|
|
|
17416
17417
|
const goNext = _react.useCallback.call(void 0, () => goTo(index >= count - 1 ? 0 : index + 1), [count, goTo, index]);
|
|
17417
17418
|
const canAutoAdvance = autoAdvanceMs > 0 && count > 1;
|
|
17418
17419
|
const playing = auto.playing && canAutoAdvance;
|
|
17419
|
-
const ranMs =
|
|
17420
|
+
const ranMs = _chunkLWMWY3JOcjs.useResumableTimeout.call(void 0, {
|
|
17420
17421
|
running: playing,
|
|
17421
17422
|
durationMs: autoAdvanceMs,
|
|
17422
17423
|
resetKey: index,
|
|
@@ -17767,10 +17768,10 @@ function AccountDetailsFields({
|
|
|
17767
17768
|
onKeyDown,
|
|
17768
17769
|
layout = "stacked"
|
|
17769
17770
|
}) {
|
|
17770
|
-
const firstNameErr =
|
|
17771
|
-
const lastNameErr =
|
|
17772
|
-
const passwordErr =
|
|
17773
|
-
const confirmErr =
|
|
17771
|
+
const firstNameErr = _chunkLWMWY3JOcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _351 => _351.firstName]), firstName);
|
|
17772
|
+
const lastNameErr = _chunkLWMWY3JOcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _352 => _352.lastName]), lastName);
|
|
17773
|
+
const passwordErr = _chunkLWMWY3JOcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _353 => _353.password]), password);
|
|
17774
|
+
const confirmErr = _chunkLWMWY3JOcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _354 => _354.confirmPassword]), confirmPassword);
|
|
17774
17775
|
const names = [
|
|
17775
17776
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17776
17777
|
_chunkSWF6TNZ3cjs.Input,
|
|
@@ -17988,16 +17989,16 @@ function LabeledDivider({ label }) {
|
|
|
17988
17989
|
var PROVIDER_META = {
|
|
17989
17990
|
openframe: {
|
|
17990
17991
|
name: "OpenFrame",
|
|
17991
|
-
Icon:
|
|
17992
|
+
Icon: _chunkJQCQCE6Ucjs.requireIcon.call(void 0, {
|
|
17992
17993
|
set: "OpenframeLogoIcon",
|
|
17993
17994
|
color: "var(--color-text-primary)",
|
|
17994
17995
|
secondaryColor: "var(--color-accent-primary)",
|
|
17995
17996
|
ownColor: true
|
|
17996
17997
|
})
|
|
17997
17998
|
},
|
|
17998
|
-
google: { name: "Google", Icon:
|
|
17999
|
-
microsoft: { name: "Microsoft", Icon:
|
|
18000
|
-
apple: { name: "Apple", Icon:
|
|
17999
|
+
google: { name: "Google", Icon: _chunkJQCQCE6Ucjs.requireIcon.call(void 0, { set: "GoogleLogoIcon" }) },
|
|
18000
|
+
microsoft: { name: "Microsoft", Icon: _chunkJQCQCE6Ucjs.requireIcon.call(void 0, { set: "MicrosoftLogoIcon" }) },
|
|
18001
|
+
apple: { name: "Apple", Icon: _chunkJQCQCE6Ucjs.requireIcon.call(void 0, { set: "AppleLogoIcon" }) }
|
|
18001
18002
|
};
|
|
18002
18003
|
var SSO_PROVIDER_BUTTONS_CLASS = "flex flex-col gap-[var(--spacing-system-l)]";
|
|
18003
18004
|
var SSO_PROVIDERS_SKELETON_COUNT = 3;
|
|
@@ -18036,7 +18037,7 @@ function SsoProviderButtons({
|
|
|
18036
18037
|
// where a long organization name would otherwise push the label out of a phone-width
|
|
18037
18038
|
// button. `block` over its inline-flex, because an ellipsis only renders on a block box.
|
|
18038
18039
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18039
|
-
|
|
18040
|
+
_chunkTD4CC4KVcjs.StatusBadge,
|
|
18040
18041
|
{
|
|
18041
18042
|
text: tag,
|
|
18042
18043
|
variant: "button",
|
|
@@ -18096,7 +18097,7 @@ function CompleteAccountForm({
|
|
|
18096
18097
|
),
|
|
18097
18098
|
children: [
|
|
18098
18099
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18099
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18100
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkH3WTYAVRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18100
18101
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18101
18102
|
] }),
|
|
18102
18103
|
(ssoProvidersLoading || ssoProviders && ssoProviders.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -18230,9 +18231,9 @@ function CreateOrganizationForm({
|
|
|
18230
18231
|
}) {
|
|
18231
18232
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
18232
18233
|
const fieldsDisabled = disabled || loading;
|
|
18233
|
-
const emailErr =
|
|
18234
|
-
const orgNameErr =
|
|
18235
|
-
const domainErr =
|
|
18234
|
+
const emailErr = _chunkLWMWY3JOcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _356 => _356.email]), _nullishCoalesce(email, () => ( "")));
|
|
18235
|
+
const orgNameErr = _chunkLWMWY3JOcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _357 => _357.organizationName]), organizationName);
|
|
18236
|
+
const domainErr = _chunkLWMWY3JOcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _358 => _358.domain]), domain);
|
|
18236
18237
|
const handleKeyDown = (event) => {
|
|
18237
18238
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18238
18239
|
onSubmit();
|
|
@@ -18247,7 +18248,7 @@ function CreateOrganizationForm({
|
|
|
18247
18248
|
),
|
|
18248
18249
|
children: [
|
|
18249
18250
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18250
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18251
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkH3WTYAVRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18251
18252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle === null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: CREATE_ORGANIZATION_SUBTITLE_BAR_CLASS }) : subtitle })
|
|
18252
18253
|
] }),
|
|
18253
18254
|
email === void 0 ? null : emailReadOnly && emailReadOnlyLabel === null ? (
|
|
@@ -18394,7 +18395,7 @@ function InviteLinkInvalidModal({
|
|
|
18394
18395
|
),
|
|
18395
18396
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
18396
18397
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
18397
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18398
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkH3WTYAVRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18398
18399
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18399
18400
|
_chunkFCZAUK4Dcjs.Button,
|
|
18400
18401
|
{
|
|
@@ -18460,7 +18461,7 @@ function LoginForm({
|
|
|
18460
18461
|
}) {
|
|
18461
18462
|
const fieldDisabled = disabled || loading;
|
|
18462
18463
|
const providersDisabled = fieldDisabled || ssoDisabled;
|
|
18463
|
-
const emailErr =
|
|
18464
|
+
const emailErr = _chunkLWMWY3JOcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _365 => _365.email]), email);
|
|
18464
18465
|
const handleKeyDown = (event) => {
|
|
18465
18466
|
if (event.key !== "Enter" || event.repeat || fieldDisabled) return;
|
|
18466
18467
|
if (onSubmitClick) {
|
|
@@ -18478,7 +18479,7 @@ function LoginForm({
|
|
|
18478
18479
|
),
|
|
18479
18480
|
children: [
|
|
18480
18481
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18481
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18482
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkH3WTYAVRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18482
18483
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18483
18484
|
] }),
|
|
18484
18485
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18605,7 +18606,7 @@ function NoAccountNotice({
|
|
|
18605
18606
|
),
|
|
18606
18607
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
18607
18608
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18608
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18609
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkH3WTYAVRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18609
18610
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
18610
18611
|
] }),
|
|
18611
18612
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -18638,8 +18639,8 @@ function OpenFrameSsoLoginForm({
|
|
|
18638
18639
|
className
|
|
18639
18640
|
}) {
|
|
18640
18641
|
const fieldsDisabled = disabled || loading;
|
|
18641
|
-
const emailErr =
|
|
18642
|
-
const passwordErr =
|
|
18642
|
+
const emailErr = _chunkLWMWY3JOcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _369 => _369.email]), email);
|
|
18643
|
+
const passwordErr = _chunkLWMWY3JOcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _370 => _370.password]), password);
|
|
18643
18644
|
const handleKeyDown = (event) => {
|
|
18644
18645
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18645
18646
|
onSubmit();
|
|
@@ -18654,7 +18655,7 @@ function OpenFrameSsoLoginForm({
|
|
|
18654
18655
|
),
|
|
18655
18656
|
children: [
|
|
18656
18657
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18657
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18658
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkH3WTYAVRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18658
18659
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18659
18660
|
] }),
|
|
18660
18661
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18744,7 +18745,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18744
18745
|
className
|
|
18745
18746
|
}) {
|
|
18746
18747
|
const fieldsDisabled = disabled || loading;
|
|
18747
|
-
const emailErr =
|
|
18748
|
+
const emailErr = _chunkLWMWY3JOcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _371 => _371.email]), email);
|
|
18748
18749
|
const handleKeyDown = (event) => {
|
|
18749
18750
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18750
18751
|
onSubmit();
|
|
@@ -18759,7 +18760,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18759
18760
|
),
|
|
18760
18761
|
children: [
|
|
18761
18762
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18762
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18763
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkH3WTYAVRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18763
18764
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18764
18765
|
] }),
|
|
18765
18766
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18849,8 +18850,8 @@ function PasswordResetForm({
|
|
|
18849
18850
|
className
|
|
18850
18851
|
}) {
|
|
18851
18852
|
const fieldsDisabled = disabled || loading;
|
|
18852
|
-
const passwordErr =
|
|
18853
|
-
const confirmErr =
|
|
18853
|
+
const passwordErr = _chunkLWMWY3JOcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _372 => _372.password]), password);
|
|
18854
|
+
const confirmErr = _chunkLWMWY3JOcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _373 => _373.confirmPassword]), confirmPassword);
|
|
18854
18855
|
const handleKeyDown = (event) => {
|
|
18855
18856
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18856
18857
|
onSubmit();
|
|
@@ -18865,7 +18866,7 @@ function PasswordResetForm({
|
|
|
18865
18866
|
),
|
|
18866
18867
|
children: [
|
|
18867
18868
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18868
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18869
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkH3WTYAVRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18869
18870
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18870
18871
|
] }),
|
|
18871
18872
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18986,7 +18987,7 @@ function SsoJoinForm({
|
|
|
18986
18987
|
),
|
|
18987
18988
|
children: [
|
|
18988
18989
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18989
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18990
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkH3WTYAVRcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18990
18991
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18991
18992
|
] }),
|
|
18992
18993
|
/* @__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: [
|
|
@@ -19098,7 +19099,7 @@ function ProviderButton({ provider, onClick, disabled = false, loading = false }
|
|
|
19098
19099
|
disabled: disabled || isLoading,
|
|
19099
19100
|
variant: "outline",
|
|
19100
19101
|
size: "default",
|
|
19101
|
-
leftIcon: isLoading ? null : _react.createElement.call(void 0,
|
|
19102
|
+
leftIcon: isLoading ? null : _react.createElement.call(void 0, _chunkJQCQCE6Ucjs.requireIcon.call(void 0, config.icon), { className: "h-5 w-5" }),
|
|
19102
19103
|
className: `h-[56px] w-full !font-bold !text-h6 hover:bg-ods-bg-hover content-md:!w-full ${isLoading ? "cursor-wait" : "cursor-pointer"} `,
|
|
19103
19104
|
"aria-label": config.displayName,
|
|
19104
19105
|
children: isLoading ? "Signing in..." : config.displayName
|
|
@@ -19252,7 +19253,7 @@ function ChangelogManager({
|
|
|
19252
19253
|
),
|
|
19253
19254
|
/* @__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)" }) }),
|
|
19254
19255
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19255
|
-
|
|
19256
|
+
_chunkTD4CC4KVcjs.StatusBadge,
|
|
19256
19257
|
{
|
|
19257
19258
|
variant: "button",
|
|
19258
19259
|
singleLine: true,
|
|
@@ -19316,9 +19317,9 @@ function ChangelogManager({
|
|
|
19316
19317
|
] }),
|
|
19317
19318
|
tagOptions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19318
19319
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3MBQRCQcjs.Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
19319
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19320
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19321
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19320
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.Select, { value: _nullishCoalesce(entry.tag, () => ( "")), onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
19321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, { placeholder: tagLabel }) }),
|
|
19322
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: tagOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
19322
19323
|
] })
|
|
19323
19324
|
] })
|
|
19324
19325
|
] })
|
|
@@ -19611,7 +19612,7 @@ function EntityTagBadgesSkeleton({
|
|
|
19611
19612
|
}) {
|
|
19612
19613
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "aria-hidden": true, className: _chunk63A4GZMBcjs.cn.call(void 0, TAG_ROW_CLASS, className), children: [
|
|
19613
19614
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TAG_ITEM_CLASS, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19614
|
-
|
|
19615
|
+
_chunkTD4CC4KVcjs.StatusBadge,
|
|
19615
19616
|
{
|
|
19616
19617
|
loading: true,
|
|
19617
19618
|
text: "",
|
|
@@ -19619,7 +19620,7 @@ function EntityTagBadgesSkeleton({
|
|
|
19619
19620
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "border", _nullishCoalesce(itemClassName, () => ( TAG_SKELETON_WIDTH_CLASS)))
|
|
19620
19621
|
}
|
|
19621
19622
|
) }) }),
|
|
19622
|
-
overflow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TAG_ITEM_CLASS, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19623
|
+
overflow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TAG_ITEM_CLASS, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.StatusBadge, { loading: true, text: "", variant: "card", className: _chunk63A4GZMBcjs.cn.call(void 0, "border", OVERFLOW_BADGE_SKELETON_CLASS) }) })
|
|
19623
19624
|
] });
|
|
19624
19625
|
}
|
|
19625
19626
|
function EntityTagBadges({
|
|
@@ -19647,7 +19648,7 @@ function EntityTagBadges({
|
|
|
19647
19648
|
const label = (tag.name || "").toUpperCase();
|
|
19648
19649
|
if (basePath && tag.slug) {
|
|
19649
19650
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: itemClass(index), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19650
|
-
|
|
19651
|
+
_chunkTD4CC4KVcjs.StatusBadge,
|
|
19651
19652
|
{
|
|
19652
19653
|
text: label,
|
|
19653
19654
|
variant: "card",
|
|
@@ -19655,7 +19656,7 @@ function EntityTagBadges({
|
|
|
19655
19656
|
}
|
|
19656
19657
|
) }, key);
|
|
19657
19658
|
}
|
|
19658
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: itemClass(index), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19659
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: itemClass(index), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }) }, key);
|
|
19659
19660
|
}),
|
|
19660
19661
|
phoneOverflow === overflow ? overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OverflowBadge, { count: overflow }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
19661
19662
|
phoneOverflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OverflowBadge, { count: phoneOverflow, className: "content-md:hidden" }),
|
|
@@ -19664,7 +19665,7 @@ function EntityTagBadges({
|
|
|
19664
19665
|
] });
|
|
19665
19666
|
}
|
|
19666
19667
|
function OverflowBadge({ count, className }) {
|
|
19667
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, TAG_ITEM_CLASS, className), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19668
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, TAG_ITEM_CLASS, className), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.StatusBadge, { text: `+${count}`, variant: "card", className: _chunk63A4GZMBcjs.cn.call(void 0, BADGE_CLASS, "text-ods-text-secondary") }) });
|
|
19668
19669
|
}
|
|
19669
19670
|
|
|
19670
19671
|
// src/components/features/error-boundary.tsx
|
|
@@ -19759,7 +19760,7 @@ var SectionButton = ({
|
|
|
19759
19760
|
}
|
|
19760
19761
|
),
|
|
19761
19762
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19762
|
-
|
|
19763
|
+
_chunkTD4CC4KVcjs.StatusBadge,
|
|
19763
19764
|
{
|
|
19764
19765
|
text: section.badge.text,
|
|
19765
19766
|
variant: section.badge.variant || "button",
|
|
@@ -19778,7 +19779,7 @@ var SectionButton = ({
|
|
|
19778
19779
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
19779
19780
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
19780
19781
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19781
|
-
|
|
19782
|
+
_chunkTD4CC4KVcjs.StatusBadge,
|
|
19782
19783
|
{
|
|
19783
19784
|
text: section.badge.text,
|
|
19784
19785
|
variant: section.badge.variant || "button",
|
|
@@ -20841,15 +20842,15 @@ function useLoading() {
|
|
|
20841
20842
|
|
|
20842
20843
|
|
|
20843
20844
|
function isAlreadyThere(file, existing) {
|
|
20844
|
-
const key =
|
|
20845
|
+
const key = _chunkH3WTYAVRcjs.mediaNameKey.call(void 0, file.name);
|
|
20845
20846
|
if (!key) return false;
|
|
20846
20847
|
return existing.some(
|
|
20847
|
-
(item) => (item.title ?
|
|
20848
|
+
(item) => (item.title ? _chunkH3WTYAVRcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunkH3WTYAVRcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
20848
20849
|
);
|
|
20849
20850
|
}
|
|
20850
20851
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
20851
|
-
var isVideoItem = (item) =>
|
|
20852
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
20852
|
+
var isVideoItem = (item) => _chunkH3WTYAVRcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
20853
|
+
var MEDIA_KIND_ACCEPT = { image: _chunkH3WTYAVRcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunkH3WTYAVRcjs.MEDIA_FILE_ACCEPT };
|
|
20853
20854
|
var MEDIA_KIND_COPY = {
|
|
20854
20855
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
20855
20856
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -20873,12 +20874,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
20873
20874
|
const seen = /* @__PURE__ */ new Set();
|
|
20874
20875
|
const accepted = [];
|
|
20875
20876
|
for (const file of files) {
|
|
20876
|
-
const mediaType =
|
|
20877
|
+
const mediaType = _chunkH3WTYAVRcjs.fileMediaType.call(void 0, file);
|
|
20877
20878
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
20878
20879
|
unsupported.push(file.name);
|
|
20879
20880
|
continue;
|
|
20880
20881
|
}
|
|
20881
|
-
const contentKey = await
|
|
20882
|
+
const contentKey = await _chunkH3WTYAVRcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
20882
20883
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
20883
20884
|
duplicates.push(file.name);
|
|
20884
20885
|
continue;
|
|
@@ -21059,7 +21060,7 @@ function MediaGalleryManager({
|
|
|
21059
21060
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "grid grid-cols-1 gap-4 content-md:grid-cols-2", columns === 3 && "content-lg:grid-cols-3"),
|
|
21060
21061
|
children: [
|
|
21061
21062
|
media.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21062
|
-
|
|
21063
|
+
_chunkTD4CC4KVcjs.Card,
|
|
21063
21064
|
{
|
|
21064
21065
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
21065
21066
|
draggable: true,
|
|
@@ -21084,7 +21085,7 @@ function MediaGalleryManager({
|
|
|
21084
21085
|
) }),
|
|
21085
21086
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
21086
21087
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
21087
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21088
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
21088
21089
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21089
21090
|
_chunk3V5JWG27cjs.next_image_default,
|
|
21090
21091
|
{
|
|
@@ -21092,24 +21093,24 @@ function MediaGalleryManager({
|
|
|
21092
21093
|
alt: item.title || "Media",
|
|
21093
21094
|
fill: true,
|
|
21094
21095
|
className: "object-cover",
|
|
21095
|
-
sizes:
|
|
21096
|
+
sizes: _chunkJQCQCE6Ucjs.IMAGE_SLOT.card
|
|
21096
21097
|
}
|
|
21097
21098
|
) }),
|
|
21098
21099
|
editableDetails ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2 p-3", children: [
|
|
21099
21100
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21100
21101
|
isVideoItem(item) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "h-5 w-5 text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Image, { className: "h-5 w-5 text-ods-text-secondary" }),
|
|
21101
21102
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21102
|
-
|
|
21103
|
+
_chunkFNNDGOR3cjs.Select,
|
|
21103
21104
|
{
|
|
21104
21105
|
value: item.media_type,
|
|
21105
21106
|
onValueChange: (value) => update(index, { media_type: value }),
|
|
21106
21107
|
children: [
|
|
21107
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21108
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21109
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21110
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21111
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21112
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21108
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className: "h-8 bg-ods-bg text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, {}) }),
|
|
21109
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
21110
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "image", children: "Image" }),
|
|
21111
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "video", children: "Video" }),
|
|
21112
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "screenshot", children: "Screenshot" }),
|
|
21113
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "demo", children: "Demo" })
|
|
21113
21114
|
] })
|
|
21114
21115
|
]
|
|
21115
21116
|
}
|
|
@@ -21136,7 +21137,7 @@ function MediaGalleryManager({
|
|
|
21136
21137
|
},
|
|
21137
21138
|
_nullishCoalesce(item.id, () => ( `${item.media_url}-${index}`))
|
|
21138
21139
|
)),
|
|
21139
|
-
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21140
|
+
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkTD4CC4KVcjs.Card, { className: "border-ods-border", "aria-busy": "true", children: [
|
|
21140
21141
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex aspect-video items-center justify-center rounded-lg bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-ods-accent" }) }),
|
|
21141
21142
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate p-3 text-ods-text-secondary text-h6", children: name })
|
|
21142
21143
|
] }, `pending-${name}-${index}`))
|
|
@@ -21493,7 +21494,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21493
21494
|
empty: "No token rates are in effect right now."
|
|
21494
21495
|
};
|
|
21495
21496
|
function providerMark(providerType, stated, className) {
|
|
21496
|
-
const Mark =
|
|
21497
|
+
const Mark = _chunkJQCQCE6Ucjs.findIcon.call(void 0, _chunkEYSIQORAcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21497
21498
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21498
21499
|
}
|
|
21499
21500
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21511,7 +21512,7 @@ var UNIT_LINE_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
|
21511
21512
|
var TABS_ROW_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21512
21513
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21513
21514
|
function useProviderGroup(rates) {
|
|
21514
|
-
const groups =
|
|
21515
|
+
const groups = _chunkEYSIQORAcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21515
21516
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21516
21517
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21517
21518
|
}
|
|
@@ -21522,7 +21523,7 @@ function ProviderTabs({
|
|
|
21522
21523
|
className
|
|
21523
21524
|
}) {
|
|
21524
21525
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21525
|
-
|
|
21526
|
+
_chunkD6ZSRGH2cjs.TabSelector,
|
|
21526
21527
|
{
|
|
21527
21528
|
variant: "secondary",
|
|
21528
21529
|
scrollable: true,
|
|
@@ -21530,7 +21531,7 @@ function ProviderTabs({
|
|
|
21530
21531
|
onValueChange,
|
|
21531
21532
|
items: groups.map((candidate) => ({
|
|
21532
21533
|
id: candidate.providerType,
|
|
21533
|
-
label:
|
|
21534
|
+
label: _chunkEYSIQORAcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _435 => _435.rates, 'access', _436 => _436[0], 'optionalAccess', _437 => _437.providerLabel])),
|
|
21534
21535
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _438 => _438.rates, 'access', _439 => _439[0], 'optionalAccess', _440 => _440.providerIcon]), "size-full")
|
|
21535
21536
|
})),
|
|
21536
21537
|
className
|
|
@@ -21607,8 +21608,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21607
21608
|
] }),
|
|
21608
21609
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "rowgroup", className: "min-h-0 flex-1 overflow-y-auto", children: group.rates.map((rate) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-loading-item": true, role: "row", className: BODY_ROW_CLASS, children: [
|
|
21609
21610
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21610
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21611
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21611
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkEYSIQORAcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
21612
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkEYSIQORAcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21612
21613
|
] }, rate.modelName)) })
|
|
21613
21614
|
] }),
|
|
21614
21615
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -21655,7 +21656,7 @@ function modelOption(rate) {
|
|
|
21655
21656
|
return {
|
|
21656
21657
|
label: rate.displayName || rate.modelName,
|
|
21657
21658
|
value: rate.modelName,
|
|
21658
|
-
description:
|
|
21659
|
+
description: _chunkEYSIQORAcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
21659
21660
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
21660
21661
|
};
|
|
21661
21662
|
}
|
|
@@ -21710,8 +21711,8 @@ function ModelTokenExchange({
|
|
|
21710
21711
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
21711
21712
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _441 => _441.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
21712
21713
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
21713
|
-
const tokens =
|
|
21714
|
-
const cost =
|
|
21714
|
+
const tokens = _chunkEYSIQORAcjs.formatTokenAmount.call(void 0, balance);
|
|
21715
|
+
const cost = _chunkEYSIQORAcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
21715
21716
|
const balancePrice = cost === null ? null : _chunkGRHF5SWLcjs.formatPrice.call(void 0, cost);
|
|
21716
21717
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
21717
21718
|
const options = models.map(modelOption);
|
|
@@ -21754,7 +21755,7 @@ function ModelTokenExchange({
|
|
|
21754
21755
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
21755
21756
|
size: "small",
|
|
21756
21757
|
onClick: () => setChosen(preset.tokens),
|
|
21757
|
-
children: copy.buy.preset(
|
|
21758
|
+
children: copy.buy.preset(_chunkEYSIQORAcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
21758
21759
|
},
|
|
21759
21760
|
preset.label
|
|
21760
21761
|
)) })
|
|
@@ -21771,7 +21772,7 @@ function ModelTokenExchange({
|
|
|
21771
21772
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _442 => _442.providerType]) === providerType ? rate : null)));
|
|
21772
21773
|
return {
|
|
21773
21774
|
id: providerType,
|
|
21774
|
-
name:
|
|
21775
|
+
name: _chunkEYSIQORAcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _443 => _443.providerLabel])),
|
|
21775
21776
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _444 => _444.providerIcon]), "size-8 text-ods-text-secondary")
|
|
21776
21777
|
};
|
|
21777
21778
|
}),
|
|
@@ -21783,7 +21784,7 @@ function ModelTokenExchange({
|
|
|
21783
21784
|
}
|
|
21784
21785
|
),
|
|
21785
21786
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21786
|
-
|
|
21787
|
+
_chunkFNNDGOR3cjs.Autocomplete,
|
|
21787
21788
|
{
|
|
21788
21789
|
fieldLoading: loading,
|
|
21789
21790
|
label: copy.use.model,
|
|
@@ -21810,7 +21811,7 @@ function ModelTokenExchange({
|
|
|
21810
21811
|
{
|
|
21811
21812
|
size: "plain",
|
|
21812
21813
|
loading,
|
|
21813
|
-
figure:
|
|
21814
|
+
figure: _chunkEYSIQORAcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _449 => _449.inputTokenRate])),
|
|
21814
21815
|
words: copy.charge.input
|
|
21815
21816
|
}
|
|
21816
21817
|
),
|
|
@@ -21819,7 +21820,7 @@ function ModelTokenExchange({
|
|
|
21819
21820
|
{
|
|
21820
21821
|
size: "plain",
|
|
21821
21822
|
loading,
|
|
21822
|
-
figure:
|
|
21823
|
+
figure: _chunkEYSIQORAcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _450 => _450.outputTokenRate])),
|
|
21823
21824
|
words: copy.charge.output
|
|
21824
21825
|
}
|
|
21825
21826
|
)
|
|
@@ -21831,9 +21832,9 @@ function ModelTokenExchange({
|
|
|
21831
21832
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
21832
21833
|
children: [
|
|
21833
21834
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
21834
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
21835
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkEYSIQORAcjs.formatTokenAmount.call(void 0, _chunkEYSIQORAcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
21835
21836
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
21836
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
21837
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkEYSIQORAcjs.formatTokenAmount.call(void 0, _chunkEYSIQORAcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
21837
21838
|
]
|
|
21838
21839
|
}
|
|
21839
21840
|
)
|
|
@@ -21975,7 +21976,7 @@ var ParallaxImageShowcase = ({
|
|
|
21975
21976
|
alt: leftImage.alt,
|
|
21976
21977
|
width: 800,
|
|
21977
21978
|
height: 500,
|
|
21978
|
-
sizes:
|
|
21979
|
+
sizes: _chunkJQCQCE6Ucjs.IMAGE_SLOT.card,
|
|
21979
21980
|
className: "h-auto w-full object-contain",
|
|
21980
21981
|
style: shadow ? { boxShadow: "0 20px 40px rgba(0, 0, 0, 0.3)" } : {}
|
|
21981
21982
|
}
|
|
@@ -21997,7 +21998,7 @@ var ParallaxImageShowcase = ({
|
|
|
21997
21998
|
alt: centerImage.alt,
|
|
21998
21999
|
width: 800,
|
|
21999
22000
|
height: 500,
|
|
22000
|
-
sizes:
|
|
22001
|
+
sizes: _chunkJQCQCE6Ucjs.IMAGE_SLOT.card,
|
|
22001
22002
|
className: "h-auto w-full object-contain",
|
|
22002
22003
|
style: shadow ? { boxShadow: "0 20px 40px rgba(0, 0, 0, 0.3)" } : {}
|
|
22003
22004
|
}
|
|
@@ -22019,7 +22020,7 @@ var ParallaxImageShowcase = ({
|
|
|
22019
22020
|
alt: rightImage.alt,
|
|
22020
22021
|
width: 800,
|
|
22021
22022
|
height: 500,
|
|
22022
|
-
sizes:
|
|
22023
|
+
sizes: _chunkJQCQCE6Ucjs.IMAGE_SLOT.card,
|
|
22023
22024
|
className: "h-auto w-full object-contain",
|
|
22024
22025
|
style: shadow ? { boxShadow: "0 20px 40px rgba(0, 0, 0, 0.3)" } : {}
|
|
22025
22026
|
}
|
|
@@ -22044,7 +22045,7 @@ var ParallaxImageShowcase = ({
|
|
|
22044
22045
|
src: leftImage.src,
|
|
22045
22046
|
alt: leftImage.alt,
|
|
22046
22047
|
fill: true,
|
|
22047
|
-
sizes:
|
|
22048
|
+
sizes: _chunkJQCQCE6Ucjs.IMAGE_SLOT.half,
|
|
22048
22049
|
className: "ods-card/50 border border-ods-border object-cover object-[left_top]"
|
|
22049
22050
|
}
|
|
22050
22051
|
),
|
|
@@ -22064,7 +22065,7 @@ var ParallaxImageShowcase = ({
|
|
|
22064
22065
|
src: centerImage.src,
|
|
22065
22066
|
alt: centerImage.alt,
|
|
22066
22067
|
fill: true,
|
|
22067
|
-
sizes:
|
|
22068
|
+
sizes: _chunkJQCQCE6Ucjs.IMAGE_SLOT.half,
|
|
22068
22069
|
className: "ods-card/50 border border-ods-border object-cover object-[left_top]"
|
|
22069
22070
|
}
|
|
22070
22071
|
),
|
|
@@ -22085,7 +22086,7 @@ var ParallaxImageShowcase = ({
|
|
|
22085
22086
|
y,
|
|
22086
22087
|
rotate
|
|
22087
22088
|
},
|
|
22088
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3V5JWG27cjs.next_image_default, { src: rightImage.src, alt: rightImage.alt, fill: true, sizes:
|
|
22089
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3V5JWG27cjs.next_image_default, { src: rightImage.src, alt: rightImage.alt, fill: true, sizes: _chunkJQCQCE6Ucjs.IMAGE_SLOT.full, className: "object-contain" })
|
|
22089
22090
|
}
|
|
22090
22091
|
),
|
|
22091
22092
|
centerImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22097,7 +22098,7 @@ var ParallaxImageShowcase = ({
|
|
|
22097
22098
|
y,
|
|
22098
22099
|
rotate
|
|
22099
22100
|
},
|
|
22100
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3V5JWG27cjs.next_image_default, { src: centerImage.src, alt: centerImage.alt, fill: true, sizes:
|
|
22101
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3V5JWG27cjs.next_image_default, { src: centerImage.src, alt: centerImage.alt, fill: true, sizes: _chunkJQCQCE6Ucjs.IMAGE_SLOT.full, className: "object-contain" })
|
|
22101
22102
|
}
|
|
22102
22103
|
),
|
|
22103
22104
|
leftImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22109,7 +22110,7 @@ var ParallaxImageShowcase = ({
|
|
|
22109
22110
|
y,
|
|
22110
22111
|
rotate
|
|
22111
22112
|
},
|
|
22112
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3V5JWG27cjs.next_image_default, { src: leftImage.src, alt: leftImage.alt, fill: true, sizes:
|
|
22113
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3V5JWG27cjs.next_image_default, { src: leftImage.src, alt: leftImage.alt, fill: true, sizes: _chunkJQCQCE6Ucjs.IMAGE_SLOT.full, className: "object-contain" })
|
|
22113
22114
|
}
|
|
22114
22115
|
)
|
|
22115
22116
|
] });
|
|
@@ -22254,7 +22255,7 @@ function PlatformFilterComponent({
|
|
|
22254
22255
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
22255
22256
|
size,
|
|
22256
22257
|
onClick: () => onPlatformChange(platform.value),
|
|
22257
|
-
leftIcon: showIcons ?
|
|
22258
|
+
leftIcon: showIcons ? _chunkHLJXCOMAcjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
22258
22259
|
className: "text-h3",
|
|
22259
22260
|
children: platform.label
|
|
22260
22261
|
},
|
|
@@ -22307,8 +22308,8 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
22307
22308
|
src: image.src,
|
|
22308
22309
|
alt: image.alt,
|
|
22309
22310
|
className: "size-full object-cover",
|
|
22310
|
-
width:
|
|
22311
|
-
height:
|
|
22311
|
+
width: _chunkJQCQCE6Ucjs.IMAGE_FIXED_PX.logoLg,
|
|
22312
|
+
height: _chunkJQCQCE6Ucjs.IMAGE_FIXED_PX.logoLg,
|
|
22312
22313
|
unoptimized: true
|
|
22313
22314
|
}
|
|
22314
22315
|
) }),
|
|
@@ -22353,14 +22354,14 @@ var ConfidenceBadge = ({
|
|
|
22353
22354
|
size = "sm",
|
|
22354
22355
|
className
|
|
22355
22356
|
}) => {
|
|
22356
|
-
const level =
|
|
22357
|
+
const level = _chunkEYSIQORAcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22357
22358
|
if (level === "none") {
|
|
22358
22359
|
return null;
|
|
22359
22360
|
}
|
|
22360
|
-
const label =
|
|
22361
|
-
const borderClass =
|
|
22362
|
-
const textClass =
|
|
22363
|
-
const bgClass =
|
|
22361
|
+
const label = _chunkEYSIQORAcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22362
|
+
const borderClass = _chunkEYSIQORAcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22363
|
+
const textClass = _chunkEYSIQORAcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22364
|
+
const bgClass = _chunkEYSIQORAcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22364
22365
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22365
22366
|
"span",
|
|
22366
22367
|
{
|
|
@@ -22411,9 +22412,9 @@ function SEOEditorPreview({
|
|
|
22411
22412
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22412
22413
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22413
22414
|
const seoTitleLength = (seoTitle || "").length;
|
|
22414
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22415
|
+
const seoTitleTooLong = seoTitleLength > _chunkEYSIQORAcjs.SEO_TITLE_MAX_LENGTH;
|
|
22415
22416
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22416
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22417
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkEYSIQORAcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22417
22418
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22418
22419
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22419
22420
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22438,10 +22439,10 @@ function SEOEditorPreview({
|
|
|
22438
22439
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22439
22440
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22440
22441
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22441
|
-
|
|
22442
|
+
_chunkEYSIQORAcjs.Field,
|
|
22442
22443
|
{
|
|
22443
22444
|
label: "SEO Title",
|
|
22444
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22445
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkEYSIQORAcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22445
22446
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22446
22447
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22447
22448
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22456,7 +22457,7 @@ function SEOEditorPreview({
|
|
|
22456
22457
|
children: [
|
|
22457
22458
|
seoTitleLength,
|
|
22458
22459
|
"/",
|
|
22459
|
-
|
|
22460
|
+
_chunkEYSIQORAcjs.SEO_TITLE_MAX_LENGTH
|
|
22460
22461
|
]
|
|
22461
22462
|
}
|
|
22462
22463
|
),
|
|
@@ -22467,7 +22468,7 @@ function SEOEditorPreview({
|
|
|
22467
22468
|
value: seoTitle || "",
|
|
22468
22469
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22469
22470
|
disabled,
|
|
22470
|
-
maxLength:
|
|
22471
|
+
maxLength: _chunkEYSIQORAcjs.SEO_TITLE_MAX_LENGTH,
|
|
22471
22472
|
invalid: seoTitleTooLong,
|
|
22472
22473
|
placeholder: "Enter SEO meta title...",
|
|
22473
22474
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22478,7 +22479,7 @@ function SEOEditorPreview({
|
|
|
22478
22479
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22479
22480
|
] }),
|
|
22480
22481
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22481
|
-
|
|
22482
|
+
_chunkEYSIQORAcjs.Field,
|
|
22482
22483
|
{
|
|
22483
22484
|
label: "SEO Keywords",
|
|
22484
22485
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22510,10 +22511,10 @@ function SEOEditorPreview({
|
|
|
22510
22511
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22511
22512
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22512
22513
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22513
|
-
|
|
22514
|
+
_chunkEYSIQORAcjs.Field,
|
|
22514
22515
|
{
|
|
22515
22516
|
label: "SEO Description",
|
|
22516
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22517
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkEYSIQORAcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22517
22518
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22518
22519
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22519
22520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22536,7 +22537,7 @@ function SEOEditorPreview({
|
|
|
22536
22537
|
children: [
|
|
22537
22538
|
seoDescriptionLength,
|
|
22538
22539
|
"/",
|
|
22539
|
-
|
|
22540
|
+
_chunkEYSIQORAcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22540
22541
|
]
|
|
22541
22542
|
}
|
|
22542
22543
|
),
|
|
@@ -22547,7 +22548,7 @@ function SEOEditorPreview({
|
|
|
22547
22548
|
value: seoDescription || "",
|
|
22548
22549
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22549
22550
|
disabled,
|
|
22550
|
-
maxLength:
|
|
22551
|
+
maxLength: _chunkEYSIQORAcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22551
22552
|
invalid: seoDescriptionTooLong,
|
|
22552
22553
|
placeholder: "Enter SEO meta description...",
|
|
22553
22554
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -22616,7 +22617,7 @@ function SEOEditorPreview({
|
|
|
22616
22617
|
{
|
|
22617
22618
|
ref: setFileInputRef,
|
|
22618
22619
|
type: "file",
|
|
22619
|
-
accept:
|
|
22620
|
+
accept: _chunkH3WTYAVRcjs.IMAGE_FILE_ACCEPT,
|
|
22620
22621
|
onChange: handleImageUpload,
|
|
22621
22622
|
className: "hidden",
|
|
22622
22623
|
disabled: disabled || isUploading
|
|
@@ -22670,11 +22671,9 @@ function SEOEditorPreview({
|
|
|
22670
22671
|
// src/components/social-icon-row.tsx
|
|
22671
22672
|
|
|
22672
22673
|
|
|
22673
|
-
|
|
22674
|
-
{ platform:
|
|
22675
|
-
|
|
22676
|
-
{ platform: "facebook", href: "https://www.facebook.com/flamingoai.msp", label: "Facebook" }
|
|
22677
|
-
];
|
|
22674
|
+
function siteNavSocialLinks(social) {
|
|
22675
|
+
return social.map((link) => ({ platform: _nullishCoalesce(link.iconName, () => ( link.id)), href: link.href, label: link.label }));
|
|
22676
|
+
}
|
|
22678
22677
|
var MARK = "var(--color-text-primary)";
|
|
22679
22678
|
var SOCIAL_ICONS = {
|
|
22680
22679
|
github: { set: "GithubClassicIcon" },
|
|
@@ -22697,10 +22696,10 @@ var SOCIAL_ICONS = {
|
|
|
22697
22696
|
};
|
|
22698
22697
|
function socialIcon(platform) {
|
|
22699
22698
|
if (!Object.prototype.hasOwnProperty.call(SOCIAL_ICONS, platform)) return void 0;
|
|
22700
|
-
return _nullishCoalesce(
|
|
22699
|
+
return _nullishCoalesce(_chunkJQCQCE6Ucjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
22701
22700
|
}
|
|
22702
22701
|
function renderSocialIcon(platform) {
|
|
22703
|
-
const key = _nullishCoalesce(
|
|
22702
|
+
const key = _nullishCoalesce(_chunkH3WTYAVRcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
22704
22703
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
22705
22704
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
22706
22705
|
}
|
|
@@ -22712,7 +22711,7 @@ function socialIconButtonProps(compact = false) {
|
|
|
22712
22711
|
}
|
|
22713
22712
|
function SocialIconRow({
|
|
22714
22713
|
className = "",
|
|
22715
|
-
links
|
|
22714
|
+
links,
|
|
22716
22715
|
variant,
|
|
22717
22716
|
compact = false,
|
|
22718
22717
|
groupByVisibility = false,
|
|
@@ -22791,7 +22790,7 @@ function SocialLinksManager({
|
|
|
22791
22790
|
};
|
|
22792
22791
|
const getIcon = (link, platform) => {
|
|
22793
22792
|
const iconKey = _optionalChain([platform, 'optionalAccess', _460 => _460.icon_name]) || link.platform;
|
|
22794
|
-
const key =
|
|
22793
|
+
const key = _chunkH3WTYAVRcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
22795
22794
|
if (!key) return null;
|
|
22796
22795
|
const icon = socialIcon(key);
|
|
22797
22796
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -22807,9 +22806,9 @@ function SocialLinksManager({
|
|
|
22807
22806
|
children: [
|
|
22808
22807
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 items-center justify-center", children: Icon }),
|
|
22809
22808
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid flex-1 grid-cols-2 gap-3", children: [
|
|
22810
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22811
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22812
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22809
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.Select, { value: link.platform, onValueChange: (value) => updateLink(index, "platform", value), children: [
|
|
22810
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, {}) }),
|
|
22811
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: platforms.map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: p.name, children: p.display_name }, p.name)) })
|
|
22813
22812
|
] }) }),
|
|
22814
22813
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22815
22814
|
_chunkSWF6TNZ3cjs.Input,
|
|
@@ -22827,15 +22826,15 @@ function SocialLinksManager({
|
|
|
22827
22826
|
)
|
|
22828
22827
|
] }),
|
|
22829
22828
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22830
|
-
|
|
22829
|
+
_chunkFNNDGOR3cjs.Select,
|
|
22831
22830
|
{
|
|
22832
22831
|
value: _nullishCoalesce(link.visibility, () => ( "external")),
|
|
22833
22832
|
onValueChange: (value) => updateLink(index, "visibility", value),
|
|
22834
22833
|
children: [
|
|
22835
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22836
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22837
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22834
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className: "w-[120px] shrink-0", "aria-label": "Social link visibility", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, {}) }),
|
|
22835
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: [
|
|
22836
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "external", children: "Public" }),
|
|
22837
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "internal", children: "Internal" })
|
|
22839
22838
|
] })
|
|
22840
22839
|
]
|
|
22841
22840
|
}
|
|
@@ -22927,7 +22926,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
22927
22926
|
className: _chunk63A4GZMBcjs.cn.call(void 0, modeClassName, className),
|
|
22928
22927
|
style: customStyle,
|
|
22929
22928
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJZLKYOBcjs.OpenframeLogoIcon, { secondaryColor: iconLowerPath, className: "h-5 w-5", color: iconUpperPath }) : void 0,
|
|
22930
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22929
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
22931
22930
|
children
|
|
22932
22931
|
}
|
|
22933
22932
|
);
|
|
@@ -23255,11 +23254,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
23255
23254
|
|
|
23256
23255
|
function VideoBitesDisplay({
|
|
23257
23256
|
bites,
|
|
23258
|
-
title =
|
|
23257
|
+
title = _chunkTD4CC4KVcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
23259
23258
|
filterPublished = true,
|
|
23260
23259
|
showTitle = true
|
|
23261
23260
|
}) {
|
|
23262
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23261
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD6ZSRGH2cjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23263
23262
|
}
|
|
23264
23263
|
|
|
23265
23264
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23288,7 +23287,7 @@ function WalkthroughVideo({
|
|
|
23288
23287
|
onOpenChange,
|
|
23289
23288
|
defaultOpen,
|
|
23290
23289
|
defaultOpenPaused,
|
|
23291
|
-
deepLinkParam =
|
|
23290
|
+
deepLinkParam = _chunkEYSIQORAcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23292
23291
|
autoPlayCard = false,
|
|
23293
23292
|
label = "Play Demo Video",
|
|
23294
23293
|
placement,
|
|
@@ -23305,7 +23304,7 @@ function WalkthroughVideo({
|
|
|
23305
23304
|
const inline = placement === "inline";
|
|
23306
23305
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
23307
23306
|
const dismissEnabled = dismissal !== false;
|
|
23308
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23307
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkEYSIQORAcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23309
23308
|
const dismissalId = _optionalChain([video, 'optionalAccess', _466 => _466.id]) != null ? String(video.id) : "dismissed";
|
|
23310
23309
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23311
23310
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23317,7 +23316,7 @@ function WalkthroughVideo({
|
|
|
23317
23316
|
let delayElapsed = false;
|
|
23318
23317
|
let interacted = inline;
|
|
23319
23318
|
const reveal = () => {
|
|
23320
|
-
if (dismissEnabled &&
|
|
23319
|
+
if (dismissEnabled && _chunkEYSIQORAcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23321
23320
|
setDismissed(true);
|
|
23322
23321
|
return;
|
|
23323
23322
|
}
|
|
@@ -23354,7 +23353,7 @@ function WalkthroughVideo({
|
|
|
23354
23353
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23355
23354
|
};
|
|
23356
23355
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23357
|
-
const hydrated =
|
|
23356
|
+
const hydrated = _chunkD6ZSRGH2cjs.useIsHydrated.call(void 0, );
|
|
23358
23357
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23359
23358
|
if (!hydrated) return false;
|
|
23360
23359
|
try {
|
|
@@ -23604,7 +23603,7 @@ function WalkthroughVideo({
|
|
|
23604
23603
|
(e) => {
|
|
23605
23604
|
e.stopPropagation();
|
|
23606
23605
|
pausePreviewNow();
|
|
23607
|
-
if (dismissEnabled)
|
|
23606
|
+
if (dismissEnabled) _chunkEYSIQORAcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23608
23607
|
setDismissed(true);
|
|
23609
23608
|
},
|
|
23610
23609
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -23755,15 +23754,15 @@ function WalkthroughVideo({
|
|
|
23755
23754
|
},
|
|
23756
23755
|
children: [
|
|
23757
23756
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23758
|
-
|
|
23757
|
+
_chunkTD4CC4KVcjs.VideoHoverPreviewSurface,
|
|
23759
23758
|
{
|
|
23760
23759
|
url: video.mainVideoUrl || "",
|
|
23761
|
-
posterUrl: video.posterUrl ? _chunk3V5JWG27cjs.resizedImageUrl.call(void 0, video.posterUrl,
|
|
23760
|
+
posterUrl: video.posterUrl ? _chunk3V5JWG27cjs.resizedImageUrl.call(void 0, video.posterUrl, _chunkJQCQCE6Ucjs.IMAGE_WIDTHS[0]) : video.posterUrl,
|
|
23762
23761
|
active: cardActive,
|
|
23763
23762
|
isClone: false,
|
|
23764
23763
|
badge: "play",
|
|
23765
23764
|
fit: "cover",
|
|
23766
|
-
posterSizes:
|
|
23765
|
+
posterSizes: _chunkJQCQCE6Ucjs.fixedImageSlot.call(void 0, "cover"),
|
|
23767
23766
|
posterInView: true,
|
|
23768
23767
|
preload: "none",
|
|
23769
23768
|
hideMutedBadge: true,
|
|
@@ -23779,7 +23778,7 @@ function WalkthroughVideo({
|
|
|
23779
23778
|
`card-${embedUrlKey}`
|
|
23780
23779
|
) }),
|
|
23781
23780
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23782
|
-
|
|
23781
|
+
_chunkD6ZSRGH2cjs.CardHitLayer,
|
|
23783
23782
|
{
|
|
23784
23783
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
23785
23784
|
onPointerDown: pausePreviewNow,
|
|
@@ -23895,7 +23894,7 @@ function WalkthroughVideo({
|
|
|
23895
23894
|
children: [
|
|
23896
23895
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
23897
23896
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23898
|
-
|
|
23897
|
+
_chunkTD4CC4KVcjs.Video,
|
|
23899
23898
|
{
|
|
23900
23899
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
23901
23900
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -23951,7 +23950,7 @@ function useWalkthroughVideo(opts) {
|
|
|
23951
23950
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
23952
23951
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
23953
23952
|
const enabled = enabledGiven && !inScope;
|
|
23954
|
-
const captions =
|
|
23953
|
+
const captions = _chunkD6ZSRGH2cjs.useCaptions.call(void 0, );
|
|
23955
23954
|
const query = _reactquery.useQuery.call(void 0, {
|
|
23956
23955
|
queryKey: ["walkthrough-video", endpoint],
|
|
23957
23956
|
enabled,
|
|
@@ -24149,7 +24148,7 @@ function VideoSourceSelector({
|
|
|
24149
24148
|
}
|
|
24150
24149
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
24151
24150
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
24152
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24151
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
24153
24152
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24154
24153
|
_chunkFCZAUK4Dcjs.Button,
|
|
24155
24154
|
{
|
|
@@ -24605,19 +24604,19 @@ function HighlightVideoSection({
|
|
|
24605
24604
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3 rounded-lg border border-ods-border bg-ods-card p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1", children: [
|
|
24606
24605
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3MBQRCQcjs.Label, { children: "Target Duration" }),
|
|
24607
24606
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24608
|
-
|
|
24607
|
+
_chunkFNNDGOR3cjs.Select,
|
|
24609
24608
|
{
|
|
24610
24609
|
value: targetDurationSeconds.toString(),
|
|
24611
24610
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
24612
24611
|
disabled,
|
|
24613
24612
|
children: [
|
|
24614
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24615
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24616
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24617
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24618
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24619
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24620
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24613
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className: "mt-1 bg-ods-bg-surface", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, {}) }),
|
|
24614
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
24615
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
24616
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
24617
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
24618
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
24619
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
24621
24620
|
] })
|
|
24622
24621
|
]
|
|
24623
24622
|
}
|
|
@@ -24675,7 +24674,7 @@ function HighlightVideoSection({
|
|
|
24675
24674
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
24676
24675
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
24677
24676
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
24678
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24677
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
24679
24678
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24680
24679
|
_chunkFCZAUK4Dcjs.Button,
|
|
24681
24680
|
{
|
|
@@ -24702,20 +24701,20 @@ function HighlightConfigSection({
|
|
|
24702
24701
|
disabled = false,
|
|
24703
24702
|
className = ""
|
|
24704
24703
|
}) {
|
|
24705
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24706
|
-
|
|
24704
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEYSIQORAcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24705
|
+
_chunkFNNDGOR3cjs.Select,
|
|
24707
24706
|
{
|
|
24708
24707
|
value: targetDurationSeconds.toString(),
|
|
24709
24708
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
24710
24709
|
disabled,
|
|
24711
24710
|
children: [
|
|
24712
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24713
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24714
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24715
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24716
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24717
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24718
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24711
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { id: f.id, className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, {}) }),
|
|
24712
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
24713
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
24714
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
24715
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
24716
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
24717
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
24719
24718
|
] })
|
|
24720
24719
|
]
|
|
24721
24720
|
}
|
|
@@ -24803,7 +24802,7 @@ var AIStatusIndicator = ({
|
|
|
24803
24802
|
}) => {
|
|
24804
24803
|
const config = statusConfig[status];
|
|
24805
24804
|
const displayText = message || config.label;
|
|
24806
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
24805
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkEYSIQORAcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
24807
24806
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
24808
24807
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24809
24808
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -24811,7 +24810,7 @@ var AIStatusIndicator = ({
|
|
|
24811
24810
|
size: 16,
|
|
24812
24811
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24813
24812
|
status === "loading" && _chunk3TOWCFIKcjs.LIVE_PULSE_CLASS,
|
|
24814
|
-
confidence !== void 0 && status === "success" ?
|
|
24813
|
+
confidence !== void 0 && status === "success" ? _chunkEYSIQORAcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24815
24814
|
)
|
|
24816
24815
|
}
|
|
24817
24816
|
),
|
|
@@ -24820,7 +24819,7 @@ var AIStatusIndicator = ({
|
|
|
24820
24819
|
{
|
|
24821
24820
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24822
24821
|
"text-h6",
|
|
24823
|
-
confidence !== void 0 && status === "success" ?
|
|
24822
|
+
confidence !== void 0 && status === "success" ? _chunkEYSIQORAcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24824
24823
|
),
|
|
24825
24824
|
children: displayText
|
|
24826
24825
|
}
|
|
@@ -24830,8 +24829,8 @@ var AIStatusIndicator = ({
|
|
|
24830
24829
|
{
|
|
24831
24830
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24832
24831
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
24833
|
-
|
|
24834
|
-
|
|
24832
|
+
_chunkEYSIQORAcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
24833
|
+
_chunkEYSIQORAcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
24835
24834
|
),
|
|
24836
24835
|
children: confidenceLabel
|
|
24837
24836
|
}
|
|
@@ -25407,7 +25406,7 @@ function ApprovalLevelView({
|
|
|
25407
25406
|
] });
|
|
25408
25407
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, READ_ONLY_ROW_CLASS, className), children: [
|
|
25409
25408
|
name,
|
|
25410
|
-
showLabel ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25409
|
+
showLabel ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWMUW3RRcjs.TouchFriendlyTooltip, { content: `${current.label}: ${current.hint}`, side: "top", children: icon })
|
|
25411
25410
|
] });
|
|
25412
25411
|
}
|
|
25413
25412
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, EDITABLE_ROW_CLASS, className), children: [
|
|
@@ -25452,7 +25451,7 @@ function ApprovalLevelView({
|
|
|
25452
25451
|
] });
|
|
25453
25452
|
}
|
|
25454
25453
|
function ApprovalLevelSkeleton({ editable = false, showLabel = true, className }) {
|
|
25455
|
-
const name = showLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: LEVEL_NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25454
|
+
const name = showLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: LEVEL_NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD6ZSRGH2cjs.TextHold, { children: LONGEST_LEVEL_LABEL }) }) : null;
|
|
25456
25455
|
if (!editable) {
|
|
25457
25456
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "aria-hidden": true, className: _chunk63A4GZMBcjs.cn.call(void 0, READ_ONLY_ROW_CLASS, className), children: [
|
|
25458
25457
|
name,
|
|
@@ -25515,7 +25514,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
25515
25514
|
if (level) onPermissionChange(categoryId, policy.id, level);
|
|
25516
25515
|
};
|
|
25517
25516
|
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 content-md:items-center", children: [
|
|
25518
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ICON_TILE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25517
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ICON_TILE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBUEEQD3Gcjs.ToolIcon, { toolType: policy.toolName, size: 16 }) }),
|
|
25519
25518
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
25520
25519
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h4", title: policy.name, children: policy.name }),
|
|
25521
25520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "break-all text-ods-text-secondary text-h6", children: policy.commandPattern }),
|
|
@@ -25554,7 +25553,7 @@ var CategorySection = ({
|
|
|
25554
25553
|
}) => {
|
|
25555
25554
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loadingGiven;
|
|
25556
25555
|
const isExpanded = isExpandedProp && !loading;
|
|
25557
|
-
const { innerRef, containerStyle } =
|
|
25556
|
+
const { innerRef, containerStyle } = _chunk5L3UKDC6cjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
25558
25557
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
25559
25558
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
25560
25559
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -25711,7 +25710,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
25711
25710
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25712
25711
|
_chunkFCZAUK4Dcjs.Button,
|
|
25713
25712
|
{
|
|
25714
|
-
onClick: loading ? void 0 :
|
|
25713
|
+
onClick: loading ? void 0 : _chunkEYSIQORAcjs.openInNewTab.call(void 0, href),
|
|
25715
25714
|
disabled: loading,
|
|
25716
25715
|
variant: "outline",
|
|
25717
25716
|
size: "icon",
|
|
@@ -25750,8 +25749,8 @@ function PoliciesTable({
|
|
|
25750
25749
|
accessorKey: "name",
|
|
25751
25750
|
header: "Name",
|
|
25752
25751
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[60px] min-w-0 flex-col justify-center gap-1 py-2", children: [
|
|
25753
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25754
|
-
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25752
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: row.original.name }),
|
|
25753
|
+
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.description })
|
|
25755
25754
|
] }),
|
|
25756
25755
|
meta: { width: "flex-1 min-w-0" }
|
|
25757
25756
|
},
|
|
@@ -25893,7 +25892,7 @@ function PolicySummaryCards({ summary, isLoading = false, hasData = true, now })
|
|
|
25893
25892
|
DashboardInfoCard,
|
|
25894
25893
|
{
|
|
25895
25894
|
title: "Updated",
|
|
25896
|
-
value: hasData && summary.lastUpdatedAt ?
|
|
25895
|
+
value: hasData && summary.lastUpdatedAt ? _chunk5L3UKDC6cjs.formatRelativeTimeFrom.call(void 0, summary.lastUpdatedAt, _nullishCoalesce(now, () => ( /* @__PURE__ */ new Date()))) : EMPTY_VALUE,
|
|
25897
25896
|
valueClassName: "!text-h3",
|
|
25898
25897
|
tooltip: "Policy compliance stats are updated hourly. View a policy's devices for real-time status."
|
|
25899
25898
|
}
|
|
@@ -26009,7 +26008,7 @@ function toValidInstant(iso) {
|
|
|
26009
26008
|
function formatLastRead(iso, now = /* @__PURE__ */ new Date()) {
|
|
26010
26009
|
const date = toValidInstant(iso);
|
|
26011
26010
|
if (!date) return TENANT_EMPTY_VALUE;
|
|
26012
|
-
return now.getTime() - date.getTime() < DAY_MS ?
|
|
26011
|
+
return now.getTime() - date.getTime() < DAY_MS ? _chunk5L3UKDC6cjs.formatRelativeTimeFrom.call(void 0, date, now) : _chunk4JHO2NVIcjs.formatDate.call(void 0, date);
|
|
26013
26012
|
}
|
|
26014
26013
|
function usersCountLabel(count) {
|
|
26015
26014
|
if (count == null) return TENANT_EMPTY_VALUE;
|
|
@@ -26022,7 +26021,7 @@ function TenantAccessCell({ accessState, lastReadAt: lastReadAt2, now }) {
|
|
|
26022
26021
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
26023
26022
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26024
26023
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.Tag, { ...accessStateTag(accessState), loading, className: "self-start" }),
|
|
26025
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26024
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: `Last read: ${formatLastRead(lastReadAt2, now)}` })
|
|
26026
26025
|
] });
|
|
26027
26026
|
}
|
|
26028
26027
|
|
|
@@ -26034,9 +26033,9 @@ function TenantCell({ provider, name, domain }) {
|
|
|
26034
26033
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26035
26034
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26036
26035
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.MediaSkeleton.Icon, { size: "md", className: "shrink-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Logo, { size: 24, role: "img", "aria-label": label, className: "shrink-0" }),
|
|
26037
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26036
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: name })
|
|
26038
26037
|
] }),
|
|
26039
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26038
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: _nullishCoalesce(domain, () => ( TENANT_EMPTY_VALUE)) })
|
|
26040
26039
|
] });
|
|
26041
26040
|
}
|
|
26042
26041
|
|
|
@@ -26047,9 +26046,9 @@ function TenantCustomerCell({ name, imageUrl, userCount }) {
|
|
|
26047
26046
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26048
26047
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26049
26048
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.SquareAvatar, { src: _nullishCoalesce(imageUrl, () => ( void 0)), alt: name, fallback: name, size: "xs", variant: "square" }),
|
|
26050
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26049
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: name })
|
|
26051
26050
|
] }),
|
|
26052
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26051
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: usersCountLabel(userCount) })
|
|
26053
26052
|
] });
|
|
26054
26053
|
}
|
|
26055
26054
|
|
|
@@ -26085,7 +26084,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26085
26084
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26086
26085
|
_chunkFCZAUK4Dcjs.Button,
|
|
26087
26086
|
{
|
|
26088
|
-
onClick: loading ? void 0 :
|
|
26087
|
+
onClick: loading ? void 0 : _chunkEYSIQORAcjs.openInNewTab.call(void 0, href),
|
|
26089
26088
|
disabled: loading,
|
|
26090
26089
|
variant: "outline",
|
|
26091
26090
|
size: "icon",
|
|
@@ -26217,13 +26216,13 @@ function WaitlistForm({
|
|
|
26217
26216
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26218
26217
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
26219
26218
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
26220
|
-
const { toast } =
|
|
26221
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
26219
|
+
const { toast } = _chunkLWMWY3JOcjs.useToast.call(void 0, );
|
|
26220
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkLWMWY3JOcjs.useHumanitySignals.call(void 0, );
|
|
26222
26221
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26223
|
-
const isClient =
|
|
26222
|
+
const isClient = _chunkD6ZSRGH2cjs.useIsHydrated.call(void 0, );
|
|
26224
26223
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26225
26224
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26226
|
-
const rescue =
|
|
26225
|
+
const rescue = _chunkLWMWY3JOcjs.useFormRescue.call(void 0, {
|
|
26227
26226
|
form: rescueForm,
|
|
26228
26227
|
// The phone is reported as filled only; its value never leaves the form early.
|
|
26229
26228
|
fieldNames: ["email", "phone"],
|
|
@@ -26235,7 +26234,7 @@ function WaitlistForm({
|
|
|
26235
26234
|
_react.useEffect.call(void 0, () => {
|
|
26236
26235
|
rescue.track({ email, phone }, null);
|
|
26237
26236
|
}, [email, phone, rescue]);
|
|
26238
|
-
const isMailDomainGeneric =
|
|
26237
|
+
const isMailDomainGeneric = _chunkEYSIQORAcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26239
26238
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26240
26239
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26241
26240
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26269,7 +26268,7 @@ function WaitlistForm({
|
|
|
26269
26268
|
setShowConsentError(true);
|
|
26270
26269
|
return;
|
|
26271
26270
|
}
|
|
26272
|
-
const finalPhone = phone ?
|
|
26271
|
+
const finalPhone = phone ? _chunkEYSIQORAcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26273
26272
|
try {
|
|
26274
26273
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26275
26274
|
rescue.complete();
|
|
@@ -26856,7 +26855,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26856
26855
|
}, [mobileBreakpoint]);
|
|
26857
26856
|
const panelRef = _react.useRef.call(void 0, null);
|
|
26858
26857
|
const available = useContainerExtent(resizable, isHorizontal, portalContainer);
|
|
26859
|
-
const { size, setSize, clampSize } =
|
|
26858
|
+
const { size, setSize, clampSize } = _chunkVQG2A7GAcjs.useResizablePanelSize.call(void 0, {
|
|
26860
26859
|
enabled: resizable,
|
|
26861
26860
|
minSize,
|
|
26862
26861
|
maxSize,
|
|
@@ -26876,7 +26875,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26876
26875
|
"data-state": open ? "open" : "closed",
|
|
26877
26876
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
26878
26877
|
"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",
|
|
26879
|
-
|
|
26878
|
+
_chunkVQG2A7GAcjs.OVERLAY_BACKDROP_CLASS,
|
|
26880
26879
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
26881
26880
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
26882
26881
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -26919,7 +26918,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26919
26918
|
children: [
|
|
26920
26919
|
props["aria-label"] ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive3.Title, { className: "sr-only", children: props["aria-label"] }) : null,
|
|
26921
26920
|
applyInlineSize && (!persist || open) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26922
|
-
|
|
26921
|
+
_chunkD6ZSRGH2cjs.PanelResizeHandle,
|
|
26923
26922
|
{
|
|
26924
26923
|
variant: "inLayout",
|
|
26925
26924
|
side: resolvedSide,
|
|
@@ -26958,11 +26957,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26958
26957
|
}
|
|
26959
26958
|
);
|
|
26960
26959
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
26961
|
-
var AppLayoutDrawerHeader =
|
|
26962
|
-
var AppLayoutDrawerTitle =
|
|
26963
|
-
var AppLayoutDrawerDescription =
|
|
26964
|
-
var AppLayoutDrawerBody =
|
|
26965
|
-
var AppLayoutDrawerFooter =
|
|
26960
|
+
var AppLayoutDrawerHeader = _chunkVQG2A7GAcjs.DrawerHeader;
|
|
26961
|
+
var AppLayoutDrawerTitle = _chunkVQG2A7GAcjs.DrawerTitle;
|
|
26962
|
+
var AppLayoutDrawerDescription = _chunkVQG2A7GAcjs.DrawerDescription;
|
|
26963
|
+
var AppLayoutDrawerBody = _chunkVQG2A7GAcjs.DrawerBody;
|
|
26964
|
+
var AppLayoutDrawerFooter = _chunkVQG2A7GAcjs.DrawerFooter;
|
|
26966
26965
|
|
|
26967
26966
|
// src/components/features/notifications/notification-tile.tsx
|
|
26968
26967
|
|
|
@@ -26981,7 +26980,7 @@ var typeColorByVariant = {
|
|
|
26981
26980
|
error: "text-ods-error"
|
|
26982
26981
|
};
|
|
26983
26982
|
var progressColorByVariant2 = {
|
|
26984
|
-
...
|
|
26983
|
+
..._chunkLWMWY3JOcjs.progressColorByVariant,
|
|
26985
26984
|
default: "bg-ods-accent",
|
|
26986
26985
|
info: "bg-ods-accent"
|
|
26987
26986
|
};
|
|
@@ -27071,11 +27070,11 @@ function LoadedNotificationTile({
|
|
|
27071
27070
|
alt: "",
|
|
27072
27071
|
onError: () => setFailedImageUrl(image),
|
|
27073
27072
|
className: "size-4 rounded-[2px] object-cover",
|
|
27074
|
-
width:
|
|
27075
|
-
height:
|
|
27073
|
+
width: _chunkJQCQCE6Ucjs.IMAGE_FIXED_PX.icon,
|
|
27074
|
+
height: _chunkJQCQCE6Ucjs.IMAGE_FIXED_PX.icon,
|
|
27076
27075
|
unoptimized: true
|
|
27077
27076
|
}
|
|
27078
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
27077
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkLWMWY3JOcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27079
27078
|
type ? lockscreen ? (
|
|
27080
27079
|
// A phone names the sender in plain words and never cuts them.
|
|
27081
27080
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 break-words text-ods-text-secondary text-h6", children: type })
|
|
@@ -27085,7 +27084,7 @@ function LoadedNotificationTile({
|
|
|
27085
27084
|
{
|
|
27086
27085
|
dateTime: createdAtIso,
|
|
27087
27086
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", lockscreen && "self-start"),
|
|
27088
|
-
children: _nullishCoalesce(timeLabel, () => (
|
|
27087
|
+
children: _nullishCoalesce(timeLabel, () => ( _chunk5L3UKDC6cjs.formatTicketRelativeTime.call(void 0, createdAtIso)))
|
|
27089
27088
|
}
|
|
27090
27089
|
) : null,
|
|
27091
27090
|
!lockscreen && (isLive || onComplete) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TILE_CONTROL_BOX_CLASS, children: [
|
|
@@ -27253,7 +27252,7 @@ function NotificationDrawer({
|
|
|
27253
27252
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27254
27253
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27255
27254
|
/* @__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,
|
|
27256
|
-
|
|
27255
|
+
_chunkVQG2A7GAcjs.DrawerTitle,
|
|
27257
27256
|
{
|
|
27258
27257
|
hideClose: !showClose,
|
|
27259
27258
|
className: "truncate",
|
|
@@ -27316,8 +27315,8 @@ function NotificationDrawer({
|
|
|
27316
27315
|
}
|
|
27317
27316
|
) });
|
|
27318
27317
|
}
|
|
27319
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27320
|
-
|
|
27318
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVQG2A7GAcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27319
|
+
_chunkVQG2A7GAcjs.DrawerContent,
|
|
27321
27320
|
{
|
|
27322
27321
|
side: "right",
|
|
27323
27322
|
"aria-describedby": void 0,
|
|
@@ -27413,7 +27412,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
27413
27412
|
] });
|
|
27414
27413
|
}
|
|
27415
27414
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
27416
|
-
const { supported, permission, request } =
|
|
27415
|
+
const { supported, permission, request } = _chunkLWMWY3JOcjs.useNotificationPermission.call(void 0, );
|
|
27417
27416
|
if (!supported) return null;
|
|
27418
27417
|
const blocked = permission === "denied";
|
|
27419
27418
|
const handleChange = async (value) => {
|
|
@@ -27461,6 +27460,28 @@ function NotificationsHistoryButton({ onClick, historyHref }) {
|
|
|
27461
27460
|
);
|
|
27462
27461
|
}
|
|
27463
27462
|
|
|
27463
|
+
// src/components/features/notifications/notification-category-icon.tsx
|
|
27464
|
+
|
|
27465
|
+
var ICON_BY_CATEGORY = {
|
|
27466
|
+
DASHBOARD: { set: "ChartDonutIcon" },
|
|
27467
|
+
CUSTOMERS: { set: "IdCardIcon" },
|
|
27468
|
+
DEVICES: { set: "MonitorIcon" },
|
|
27469
|
+
SCRIPTS: { set: "BracketCurlyIcon" },
|
|
27470
|
+
MONITORING: { set: "RadarIcon" },
|
|
27471
|
+
SOFTWARE: { set: "PackageIcon" },
|
|
27472
|
+
LOGS: { set: "ClipboardListIcon" },
|
|
27473
|
+
TICKETS: { set: "TagIcon" },
|
|
27474
|
+
INSIGHTS: { set: "AlertTriangleIcon" }
|
|
27475
|
+
};
|
|
27476
|
+
var ASSISTANT_CATEGORY = "MINGO";
|
|
27477
|
+
function notificationCategoryIcon(category) {
|
|
27478
|
+
const key = _optionalChain([category, 'optionalAccess', _558 => _558.toUpperCase, 'call', _559 => _559()]);
|
|
27479
|
+
if (!key) return void 0;
|
|
27480
|
+
if (key === ASSISTANT_CATEGORY) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.AgentMark, { agent: "mingo", className: "size-4", color: "currentColor" });
|
|
27481
|
+
const icon = Object.prototype.hasOwnProperty.call(ICON_BY_CATEGORY, key) ? ICON_BY_CATEGORY[key] : void 0;
|
|
27482
|
+
return icon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJQCQCE6Ucjs.NamedIcon, { icon, size: 16 }) : void 0;
|
|
27483
|
+
}
|
|
27484
|
+
|
|
27464
27485
|
// src/components/features/notifications/notification-popups.tsx
|
|
27465
27486
|
|
|
27466
27487
|
|
|
@@ -27480,7 +27501,7 @@ function NotificationPopups({
|
|
|
27480
27501
|
}) {
|
|
27481
27502
|
const ctx = useOptionalNotifications();
|
|
27482
27503
|
const [now, setNow] = _react.useState.call(void 0, () => Date.now());
|
|
27483
|
-
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess',
|
|
27504
|
+
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess', _560 => _560.notifications, 'access', _561 => _561.some, 'call', _562 => _562((n) => !n.read && !n.settled)]));
|
|
27484
27505
|
_react.useEffect.call(void 0, () => {
|
|
27485
27506
|
if (!hasAgeingNotifications) return void 0;
|
|
27486
27507
|
const id = setInterval(() => setNow(Date.now()), 500);
|
|
@@ -27523,7 +27544,7 @@ function NotificationPopups({
|
|
|
27523
27544
|
className
|
|
27524
27545
|
),
|
|
27525
27546
|
children: live.map((n) => {
|
|
27526
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
27547
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _563 => _563(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
|
|
27527
27548
|
if (custom) {
|
|
27528
27549
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
|
|
27529
27550
|
}
|
|
@@ -27570,34 +27591,34 @@ function isApprovalNotificationType(type) {
|
|
|
27570
27591
|
return typeof type === "string" && APPROVAL_REQUEST_TYPES.has(type);
|
|
27571
27592
|
}
|
|
27572
27593
|
function isApprovalNotification(notification) {
|
|
27573
|
-
return isApprovalNotificationType(_optionalChain([notification, 'access',
|
|
27594
|
+
return isApprovalNotificationType(_optionalChain([notification, 'access', _564 => _564.meta, 'optionalAccess', _565 => _565.notificationType]));
|
|
27574
27595
|
}
|
|
27575
27596
|
function getApprovalMeta(notification) {
|
|
27576
27597
|
if (!isApprovalNotification(notification)) return null;
|
|
27577
27598
|
const meta = notification.meta;
|
|
27578
|
-
const approvalRequestId = _optionalChain([meta, 'optionalAccess',
|
|
27579
|
-
const toolCalls = _optionalChain([meta, 'optionalAccess',
|
|
27599
|
+
const approvalRequestId = _optionalChain([meta, 'optionalAccess', _566 => _566.approvalRequestId]);
|
|
27600
|
+
const toolCalls = _optionalChain([meta, 'optionalAccess', _567 => _567.toolCalls]);
|
|
27580
27601
|
if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
|
|
27581
27602
|
return {
|
|
27582
27603
|
approvalRequestId,
|
|
27583
|
-
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
27584
|
-
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
27585
|
-
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
27586
|
-
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
27587
|
-
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
27604
|
+
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _568 => _568.dialogId]), () => ( null)),
|
|
27605
|
+
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _569 => _569.ticketId]), () => ( null)),
|
|
27606
|
+
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _570 => _570.approvalType]), () => ( null)),
|
|
27607
|
+
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _571 => _571.resolution]), () => ( null)),
|
|
27608
|
+
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _572 => _572.resolvedByName]), () => ( null)),
|
|
27588
27609
|
toolCalls
|
|
27589
27610
|
};
|
|
27590
27611
|
}
|
|
27591
27612
|
function resolutionToStatus(resolution) {
|
|
27592
27613
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
27593
27614
|
case "APPROVED":
|
|
27594
|
-
return
|
|
27615
|
+
return _chunk4JHO2NVIcjs.APPROVAL_STATUS.APPROVED;
|
|
27595
27616
|
case "REJECTED":
|
|
27596
|
-
return
|
|
27617
|
+
return _chunk4JHO2NVIcjs.APPROVAL_STATUS.REJECTED;
|
|
27597
27618
|
case "CANCELLED":
|
|
27598
|
-
return
|
|
27619
|
+
return _chunk4JHO2NVIcjs.APPROVAL_STATUS.CANCELLED;
|
|
27599
27620
|
default:
|
|
27600
|
-
return
|
|
27621
|
+
return _chunk4JHO2NVIcjs.APPROVAL_STATUS.PENDING;
|
|
27601
27622
|
}
|
|
27602
27623
|
}
|
|
27603
27624
|
function approvalMetaToBatchData(approval) {
|
|
@@ -27639,10 +27660,10 @@ function ApprovalRequestNotificationTile({
|
|
|
27639
27660
|
const [processing, setProcessing] = _react.useState.call(void 0, false);
|
|
27640
27661
|
const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
|
|
27641
27662
|
const approval = getApprovalMeta(notification);
|
|
27642
|
-
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess',
|
|
27663
|
+
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _573 => _573.resolution]));
|
|
27643
27664
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
27644
27665
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
27645
|
-
const { innerRef, containerStyle } =
|
|
27666
|
+
const { innerRef, containerStyle } = _chunk5L3UKDC6cjs.useCollapsible.call(void 0, { expanded });
|
|
27646
27667
|
if (!approval || !batchData) return null;
|
|
27647
27668
|
const tileNotification = {
|
|
27648
27669
|
...notification,
|
|
@@ -27661,7 +27682,7 @@ function ApprovalRequestNotificationTile({
|
|
|
27661
27682
|
} finally {
|
|
27662
27683
|
setProcessing(false);
|
|
27663
27684
|
}
|
|
27664
|
-
_optionalChain([onComplete, 'optionalCall',
|
|
27685
|
+
_optionalChain([onComplete, 'optionalCall', _574 => _574(notification.id)]);
|
|
27665
27686
|
};
|
|
27666
27687
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27667
27688
|
NotificationTile,
|
|
@@ -27705,7 +27726,7 @@ function ApprovalRequestNotificationTile({
|
|
|
27705
27726
|
}
|
|
27706
27727
|
)
|
|
27707
27728
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
27708
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27729
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.ApprovalStatusTag, { status }),
|
|
27709
27730
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
27710
27731
|
"by ",
|
|
27711
27732
|
approval.resolvedByName
|
|
@@ -27723,12 +27744,12 @@ function ApprovalRequestNotificationTile({
|
|
|
27723
27744
|
"aria-expanded": expanded,
|
|
27724
27745
|
"aria-label": toggleLabel,
|
|
27725
27746
|
className: APPROVAL_TOGGLE_BUTTON_CLASS,
|
|
27726
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27747
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.ExpandChevron, { expanded })
|
|
27727
27748
|
}
|
|
27728
27749
|
)
|
|
27729
27750
|
] }),
|
|
27730
27751
|
children: !lockscreen && /* @__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,
|
|
27731
|
-
|
|
27752
|
+
_chunk5L3UKDC6cjs.ApprovalBatchMessage,
|
|
27732
27753
|
{
|
|
27733
27754
|
data: batchData,
|
|
27734
27755
|
showExecutionStatus: false,
|
|
@@ -27965,7 +27986,7 @@ function TimeTrackerPanel({
|
|
|
27965
27986
|
] }),
|
|
27966
27987
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "grid gap-[var(--spacing-system-m)]", showCustomer && "grid-cols-2"), children: [
|
|
27967
27988
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27968
|
-
|
|
27989
|
+
_chunkFNNDGOR3cjs.Autocomplete,
|
|
27969
27990
|
{
|
|
27970
27991
|
value: selectedTicketId,
|
|
27971
27992
|
onChange: onSelectedTicketChange,
|
|
@@ -27976,12 +27997,12 @@ function TimeTrackerPanel({
|
|
|
27976
27997
|
error: showFieldError ? "Required if no notes added" : void 0,
|
|
27977
27998
|
disableClientFilter: !!onTicketSearch,
|
|
27978
27999
|
onInputChange: (value, reason) => {
|
|
27979
|
-
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall',
|
|
28000
|
+
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _575 => _575(value)]);
|
|
27980
28001
|
}
|
|
27981
28002
|
}
|
|
27982
28003
|
),
|
|
27983
28004
|
showCustomer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27984
|
-
|
|
28005
|
+
_chunkFNNDGOR3cjs.Autocomplete,
|
|
27985
28006
|
{
|
|
27986
28007
|
value: _nullishCoalesce(selectedCustomerId, () => ( null)),
|
|
27987
28008
|
onChange: onSelectedCustomerChange,
|
|
@@ -27991,7 +28012,7 @@ function TimeTrackerPanel({
|
|
|
27991
28012
|
disabled: customerLocked,
|
|
27992
28013
|
disableClientFilter: !!onCustomerSearch,
|
|
27993
28014
|
onInputChange: (value, reason) => {
|
|
27994
|
-
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall',
|
|
28015
|
+
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _576 => _576(value)]);
|
|
27995
28016
|
},
|
|
27996
28017
|
startAdornment: customerStartAdornment,
|
|
27997
28018
|
renderOption: renderCustomerOption
|
|
@@ -28093,7 +28114,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
28093
28114
|
{
|
|
28094
28115
|
variant: "outline",
|
|
28095
28116
|
size: "icon",
|
|
28096
|
-
onClick: () => _optionalChain([onClick, 'optionalCall',
|
|
28117
|
+
onClick: () => _optionalChain([onClick, 'optionalCall', _577 => _577(entry)]),
|
|
28097
28118
|
disabled: !onClick,
|
|
28098
28119
|
"aria-label": `Open entry: ${entry.title}`,
|
|
28099
28120
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
@@ -28190,38 +28211,38 @@ function TimeTrackerHeaderButton({
|
|
|
28190
28211
|
const compact = variant === "compact";
|
|
28191
28212
|
const ctx = useOptionalTimeTracker();
|
|
28192
28213
|
const elapsedLabel = useTrackerClock({
|
|
28193
|
-
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
28194
|
-
runningSince: _optionalChain([ctx, 'optionalAccess',
|
|
28195
|
-
accumulatedMs: _optionalChain([ctx, 'optionalAccess',
|
|
28214
|
+
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _578 => _578.status]), () => ( "ready")),
|
|
28215
|
+
runningSince: _optionalChain([ctx, 'optionalAccess', _579 => _579.runningSince]),
|
|
28216
|
+
accumulatedMs: _optionalChain([ctx, 'optionalAccess', _580 => _580.accumulatedMs])
|
|
28196
28217
|
});
|
|
28197
28218
|
const layoutContainer = _chunkOT6P57ZScjs.useAppLayoutDrawerContainer.call(void 0, );
|
|
28198
28219
|
const portalContainer = _chunkS3QXLD4Xcjs.usePortalContainer.call(void 0, );
|
|
28199
28220
|
const coordination = _chunkOT6P57ZScjs.useAppLayoutDrawerCoordination.call(void 0, );
|
|
28200
|
-
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
28221
|
+
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _581 => _581.isOpen]), () => ( false));
|
|
28201
28222
|
const triggerRef = _react.useRef.call(void 0, null);
|
|
28202
28223
|
const sidebarEdgeRef = _react.useRef.call(void 0, {
|
|
28203
28224
|
getBoundingClientRect: () => {
|
|
28204
28225
|
const trigger = triggerRef.current;
|
|
28205
|
-
const rect = _nullishCoalesce(_optionalChain([trigger, 'optionalAccess',
|
|
28206
|
-
const sidebar = _optionalChain([trigger, 'optionalAccess',
|
|
28226
|
+
const rect = _nullishCoalesce(_optionalChain([trigger, 'optionalAccess', _582 => _582.getBoundingClientRect, 'call', _583 => _583()]), () => ( new DOMRect()));
|
|
28227
|
+
const sidebar = _optionalChain([trigger, 'optionalAccess', _584 => _584.closest, 'call', _585 => _585(`[${_chunkOT6P57ZScjs.NAVIGATION_SIDEBAR_ATTRIBUTE}]`), 'optionalAccess', _586 => _586.getBoundingClientRect, 'call', _587 => _587()]);
|
|
28207
28228
|
return sidebar ? new DOMRect(sidebar.right, rect.y, 0, rect.height) : rect;
|
|
28208
28229
|
}
|
|
28209
28230
|
});
|
|
28210
28231
|
const isOpenRef = _react.useRef.call(void 0, isOpen);
|
|
28211
|
-
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess',
|
|
28232
|
+
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _588 => _588.close]));
|
|
28212
28233
|
_react.useEffect.call(void 0, () => {
|
|
28213
28234
|
isOpenRef.current = isOpen;
|
|
28214
|
-
closeRef.current = _optionalChain([ctx, 'optionalAccess',
|
|
28235
|
+
closeRef.current = _optionalChain([ctx, 'optionalAccess', _589 => _589.close]);
|
|
28215
28236
|
});
|
|
28216
28237
|
const [selfHandle] = _react.useState.call(void 0, () => ({
|
|
28217
28238
|
close: () => {
|
|
28218
|
-
if (isOpenRef.current) _optionalChain([closeRef, 'access',
|
|
28239
|
+
if (isOpenRef.current) _optionalChain([closeRef, 'access', _590 => _590.current, 'optionalCall', _591 => _591()]);
|
|
28219
28240
|
}
|
|
28220
28241
|
}));
|
|
28221
28242
|
_react.useEffect.call(void 0, () => {
|
|
28222
|
-
if (isOpen) _optionalChain([coordination, 'optionalAccess',
|
|
28243
|
+
if (isOpen) _optionalChain([coordination, 'optionalAccess', _592 => _592.notifyDrawerDidOpen, 'call', _593 => _593(selfHandle)]);
|
|
28223
28244
|
}, [isOpen, coordination, selfHandle]);
|
|
28224
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
28245
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _594 => _594.registerDrawer, 'call', _595 => _595(selfHandle)]), [coordination, selfHandle]);
|
|
28225
28246
|
if (!ctx) return null;
|
|
28226
28247
|
const { open, close, status } = ctx;
|
|
28227
28248
|
const isPaused = status === "paused";
|
|
@@ -28274,7 +28295,7 @@ function TimeTrackerHeaderButton({
|
|
|
28274
28295
|
"data-state": isOpen ? "open" : "closed",
|
|
28275
28296
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
28276
28297
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28277
|
-
|
|
28298
|
+
_chunkVQG2A7GAcjs.OVERLAY_BACKDROP_CLASS,
|
|
28278
28299
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28279
28300
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28280
28301
|
)
|
|
@@ -28301,17 +28322,17 @@ function TimeTrackerHeaderButton({
|
|
|
28301
28322
|
|
|
28302
28323
|
// src/components/features/devices/device-last-online.ts
|
|
28303
28324
|
function formatLastOnline(lastSeen) {
|
|
28304
|
-
return `Last Online: ${lastSeen ?
|
|
28325
|
+
return `Last Online: ${lastSeen ? _chunk5L3UKDC6cjs.formatRelativeTime.call(void 0, lastSeen) : "\u2014"}`;
|
|
28305
28326
|
}
|
|
28306
28327
|
|
|
28307
28328
|
// src/components/features/devices/device-name.ts
|
|
28308
28329
|
function getDeviceName(device) {
|
|
28309
|
-
return _optionalChain([device, 'optionalAccess',
|
|
28330
|
+
return _optionalChain([device, 'optionalAccess', _596 => _596.nickname]) || _optionalChain([device, 'optionalAccess', _597 => _597.displayName]) || _optionalChain([device, 'optionalAccess', _598 => _598.hostname]) || "";
|
|
28310
28331
|
}
|
|
28311
28332
|
function matchesDeviceName(device, search = "") {
|
|
28312
28333
|
const needle = search.trim().toLowerCase();
|
|
28313
28334
|
if (!needle) return true;
|
|
28314
|
-
return getDeviceName(device).toLowerCase().includes(needle) || (_nullishCoalesce(_optionalChain([device, 'optionalAccess',
|
|
28335
|
+
return getDeviceName(device).toLowerCase().includes(needle) || (_nullishCoalesce(_optionalChain([device, 'optionalAccess', _599 => _599.hostname]), () => ( ""))).toLowerCase().includes(needle);
|
|
28315
28336
|
}
|
|
28316
28337
|
|
|
28317
28338
|
// src/components/features/devices/devices-view-config.tsx
|
|
@@ -28450,7 +28471,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28450
28471
|
}
|
|
28451
28472
|
}
|
|
28452
28473
|
function getDeviceOperatingSystem(osType) {
|
|
28453
|
-
return
|
|
28474
|
+
return _chunkEYSIQORAcjs.getOSPlatformId.call(void 0, osType);
|
|
28454
28475
|
}
|
|
28455
28476
|
|
|
28456
28477
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -28504,7 +28525,7 @@ var HIDDEN_DEVICE_STATUSES = [DEVICE_STATUS.ARCHIVED, DEVICE_STATUS.DELETED];
|
|
|
28504
28525
|
|
|
28505
28526
|
var DEFAULT_CLASS_NAME = "w-6 h-6 text-ods-text-secondary";
|
|
28506
28527
|
function renderDeviceTypeIcon(type, className = DEFAULT_CLASS_NAME) {
|
|
28507
|
-
switch (_optionalChain([type, 'optionalAccess',
|
|
28528
|
+
switch (_optionalChain([type, 'optionalAccess', _600 => _600.toLowerCase, 'call', _601 => _601()])) {
|
|
28508
28529
|
case "desktop":
|
|
28509
28530
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPTK7GOIIcjs.MonitorIcon, { className });
|
|
28510
28531
|
case "laptop":
|
|
@@ -28627,8 +28648,8 @@ function DevicesFilterToolbar({
|
|
|
28627
28648
|
|
|
28628
28649
|
|
|
28629
28650
|
function formatDateTime(input) {
|
|
28630
|
-
const date =
|
|
28631
|
-
return date === "\u2014" ? date : `${date} ${
|
|
28651
|
+
const date = _chunk4JHO2NVIcjs.formatDate.call(void 0, input);
|
|
28652
|
+
return date === "\u2014" ? date : `${date} ${_chunk4JHO2NVIcjs.formatTime.call(void 0, input)}`;
|
|
28632
28653
|
}
|
|
28633
28654
|
function uniqueById(options) {
|
|
28634
28655
|
const seen = /* @__PURE__ */ new Map();
|
|
@@ -28649,10 +28670,10 @@ function OpenDeviceButton({ device }) {
|
|
|
28649
28670
|
const { getDeviceHref } = useDevicesViewConfig();
|
|
28650
28671
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
28651
28672
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
28652
|
-
const href = loading ? void 0 : _optionalChain([getDeviceHref, 'optionalCall',
|
|
28673
|
+
const href = loading ? void 0 : _optionalChain([getDeviceHref, 'optionalCall', _602 => _602(device)]);
|
|
28653
28674
|
const open = (event) => {
|
|
28654
28675
|
event.preventDefault();
|
|
28655
|
-
if (href)
|
|
28676
|
+
if (href) _chunkZABZIM2Ycjs.executeNewTabNavigation.call(void 0, { runtime, href });
|
|
28656
28677
|
};
|
|
28657
28678
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28658
28679
|
_chunkFCZAUK4Dcjs.Button,
|
|
@@ -28746,23 +28767,23 @@ function DevicesTableBody({
|
|
|
28746
28767
|
function OrganizationCell({ device }) {
|
|
28747
28768
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
28748
28769
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
28749
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28770
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.EntityImage, { src: fullImageUrl, alt: device.organization || "Customer", className: "size-12 content-md:size-12" }),
|
|
28750
28771
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OrganizationName, { name: device.organization }) })
|
|
28751
28772
|
] });
|
|
28752
28773
|
}
|
|
28753
28774
|
function OrganizationName({ name }) {
|
|
28754
28775
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) && !name) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h4", className: "w-3/4" });
|
|
28755
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28776
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { lines: 2, children: _nullishCoalesce(name, () => ( "")) });
|
|
28756
28777
|
}
|
|
28757
28778
|
function DeviceLastSeen({ lastSeen }) {
|
|
28758
28779
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) && !lastSeen) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "hidden w-24 content-md:block" });
|
|
28759
28780
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "hidden text-ods-text-secondary text-h6 content-md:flex", children: lastSeen ? formatDateTime(lastSeen) : "Never" });
|
|
28760
28781
|
}
|
|
28761
28782
|
function buildDeviceFilterOptions(deviceFilters) {
|
|
28762
|
-
const status = (_nullishCoalesce(_optionalChain([deviceFilters, 'optionalAccess',
|
|
28763
|
-
const os = (_nullishCoalesce(_optionalChain([deviceFilters, 'optionalAccess',
|
|
28783
|
+
const status = (_nullishCoalesce(_optionalChain([deviceFilters, 'optionalAccess', _603 => _603.statuses]), () => ( []))).filter((s) => DEFAULT_VISIBLE_STATUSES.includes(s.value)).map((s) => ({ id: s.value, label: getDeviceStatusConfig(s.value).label, value: s.value, count: s.count }));
|
|
28784
|
+
const os = (_nullishCoalesce(_optionalChain([deviceFilters, 'optionalAccess', _604 => _604.osTypes]), () => ( []))).map((o) => ({ id: o.value, label: o.value, value: o.value, count: o.count }));
|
|
28764
28785
|
const organization = uniqueById(
|
|
28765
|
-
(_nullishCoalesce(_optionalChain([deviceFilters, 'optionalAccess',
|
|
28786
|
+
(_nullishCoalesce(_optionalChain([deviceFilters, 'optionalAccess', _605 => _605.organizationIds]), () => ( []))).map((org) => ({
|
|
28766
28787
|
id: org.value,
|
|
28767
28788
|
label: org.label,
|
|
28768
28789
|
value: org.value,
|
|
@@ -28798,7 +28819,7 @@ function getDeviceTableColumns(deviceFilters, filtersPending) {
|
|
|
28798
28819
|
const device = row.original;
|
|
28799
28820
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative box-border flex h-20 w-full shrink-0 content-stretch items-center justify-start gap-4 py-0", children: [
|
|
28800
28821
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
28801
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28822
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: getDeviceName(device) }) })
|
|
28802
28823
|
] });
|
|
28803
28824
|
},
|
|
28804
28825
|
meta: { width: "flex-1 content-md:w-1/4" }
|
|
@@ -28856,7 +28877,7 @@ function isCompleteTag(tag) {
|
|
|
28856
28877
|
const i = tag.indexOf(":");
|
|
28857
28878
|
return i > 0 && i < tag.length - 1;
|
|
28858
28879
|
}
|
|
28859
|
-
var scrollMainToTop = () => _optionalChain([document, 'access',
|
|
28880
|
+
var scrollMainToTop = () => _optionalChain([document, 'access', _606 => _606.querySelector, 'call', _607 => _607("main"), 'optionalAccess', _608 => _608.scrollTo, 'call', _609 => _609({ top: 0, behavior: "instant" })]);
|
|
28860
28881
|
function useTagFilterModal({
|
|
28861
28882
|
tags,
|
|
28862
28883
|
deviceFilters,
|
|
@@ -28878,7 +28899,7 @@ function useTagFilterModal({
|
|
|
28878
28899
|
}));
|
|
28879
28900
|
}, [columns, isMdUp]);
|
|
28880
28901
|
const tagFilterKeys = _react.useMemo.call(void 0, () => {
|
|
28881
|
-
if (!_optionalChain([deviceFilters, 'optionalAccess',
|
|
28902
|
+
if (!_optionalChain([deviceFilters, 'optionalAccess', _610 => _610.tagKeys])) return [];
|
|
28882
28903
|
const grouped = /* @__PURE__ */ new Map();
|
|
28883
28904
|
for (const tag of deviceFilters.tagKeys) {
|
|
28884
28905
|
if (tag.key === "null") continue;
|
|
@@ -28970,7 +28991,7 @@ function CustomerCell({ device }) {
|
|
|
28970
28991
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
28971
28992
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
28972
28993
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28973
|
-
|
|
28994
|
+
_chunkFNNDGOR3cjs.EntityImage,
|
|
28974
28995
|
{
|
|
28975
28996
|
src: fullImageUrl,
|
|
28976
28997
|
alt: device.organization || "Customer",
|
|
@@ -28978,8 +28999,8 @@ function CustomerCell({ device }) {
|
|
|
28978
28999
|
}
|
|
28979
29000
|
),
|
|
28980
29001
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
28981
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28982
|
-
(device.organizationEmail || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29002
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: device.organization || "" }),
|
|
29003
|
+
(device.organizationEmail || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(device.organizationEmail, () => ( "")) })
|
|
28983
29004
|
] })
|
|
28984
29005
|
] });
|
|
28985
29006
|
}
|
|
@@ -28988,8 +29009,8 @@ function DeviceCell({ device }) {
|
|
|
28988
29009
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 items-center gap-3", children: [
|
|
28989
29010
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
28990
29011
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
28991
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28992
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29012
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: getDeviceName(device) }),
|
|
29013
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: formatLastOnline(device.last_seen || device.lastSeen) })
|
|
28993
29014
|
] })
|
|
28994
29015
|
] });
|
|
28995
29016
|
}
|
|
@@ -29071,7 +29092,7 @@ function DeviceSelector({
|
|
|
29071
29092
|
const clientToggleDevice = _react.useCallback.call(void 0,
|
|
29072
29093
|
(device) => {
|
|
29073
29094
|
if (disabled) return;
|
|
29074
|
-
if (_optionalChain([isDeviceDisabled, 'optionalCall',
|
|
29095
|
+
if (_optionalChain([isDeviceDisabled, 'optionalCall', _611 => _611(device)])) return;
|
|
29075
29096
|
const key = getDeviceKey(device);
|
|
29076
29097
|
if (key === void 0) return;
|
|
29077
29098
|
const current = selectedIdsRef.current;
|
|
@@ -29096,7 +29117,7 @@ function DeviceSelector({
|
|
|
29096
29117
|
return;
|
|
29097
29118
|
}
|
|
29098
29119
|
if (disabled) return;
|
|
29099
|
-
if (_optionalChain([isDeviceDisabled, 'optionalCall',
|
|
29120
|
+
if (_optionalChain([isDeviceDisabled, 'optionalCall', _612 => _612(device)])) return;
|
|
29100
29121
|
if (server.activeTab === "selected") {
|
|
29101
29122
|
server.onRemove(device);
|
|
29102
29123
|
return;
|
|
@@ -29157,7 +29178,7 @@ function DeviceSelector({
|
|
|
29157
29178
|
const base = addAllBehavior === "replace" ? /* @__PURE__ */ new Set() : new Set(selectedIds);
|
|
29158
29179
|
for (const d of client.filteredDevices) {
|
|
29159
29180
|
if (!matchesVisibleFilters(d)) continue;
|
|
29160
|
-
if (_optionalChain([isDeviceDisabled, 'optionalCall',
|
|
29181
|
+
if (_optionalChain([isDeviceDisabled, 'optionalCall', _613 => _613(d)])) continue;
|
|
29161
29182
|
const key = getDeviceKey(d);
|
|
29162
29183
|
if (key !== void 0) {
|
|
29163
29184
|
base.add(key);
|
|
@@ -29186,7 +29207,7 @@ function DeviceSelector({
|
|
|
29186
29207
|
const orgKey = _nullishCoalesce(d.organizationId, () => ( d.organization));
|
|
29187
29208
|
if (orgKey) {
|
|
29188
29209
|
const existing = orgCounts.get(orgKey);
|
|
29189
|
-
orgCounts.set(orgKey, { label: _nullishCoalesce(d.organization, () => ( orgKey)), count: (_nullishCoalesce(_optionalChain([existing, 'optionalAccess',
|
|
29210
|
+
orgCounts.set(orgKey, { label: _nullishCoalesce(d.organization, () => ( orgKey)), count: (_nullishCoalesce(_optionalChain([existing, 'optionalAccess', _614 => _614.count]), () => ( 0))) + 1 });
|
|
29190
29211
|
}
|
|
29191
29212
|
for (const tag of _nullishCoalesce(d.tags, () => ( []))) {
|
|
29192
29213
|
const vc = _nullishCoalesce(tagSeen.get(tag.key), () => ( /* @__PURE__ */ new Map()));
|
|
@@ -29209,18 +29230,18 @@ function DeviceSelector({
|
|
|
29209
29230
|
filteredCount: devices.length
|
|
29210
29231
|
};
|
|
29211
29232
|
}, [devices]);
|
|
29212
|
-
const deviceFilters = _nullishCoalesce(_optionalChain([server, 'optionalAccess',
|
|
29213
|
-
const serverFaceted = Boolean(_optionalChain([server, 'optionalAccess',
|
|
29233
|
+
const deviceFilters = _nullishCoalesce(_optionalChain([server, 'optionalAccess', _615 => _615.filterOptions]), () => ( clientDeviceFilters));
|
|
29234
|
+
const serverFaceted = Boolean(_optionalChain([server, 'optionalAccess', _616 => _616.filterOptions]));
|
|
29214
29235
|
const filterColumns = _react.useMemo.call(void 0, () => {
|
|
29215
29236
|
const columns2 = getDeviceFilterColumns(deviceFilters);
|
|
29216
29237
|
if (serverFaceted) return columns2;
|
|
29217
29238
|
return columns2.map((column) => ({
|
|
29218
29239
|
...column,
|
|
29219
|
-
filterOptions: _optionalChain([column, 'access',
|
|
29240
|
+
filterOptions: _optionalChain([column, 'access', _617 => _617.filterOptions, 'optionalAccess', _618 => _618.map, 'call', _619 => _619(({ count: _count, ...option }) => option)])
|
|
29220
29241
|
}));
|
|
29221
29242
|
}, [deviceFilters, serverFaceted]);
|
|
29222
29243
|
const statusFilterOptions = _react.useMemo.call(void 0, () => {
|
|
29223
|
-
const options = _nullishCoalesce(_optionalChain([filterColumns, 'access',
|
|
29244
|
+
const options = _nullishCoalesce(_optionalChain([filterColumns, 'access', _620 => _620.find, 'call', _621 => _621((column) => column.key === "status"), 'optionalAccess', _622 => _622.filterOptions]), () => ( []));
|
|
29224
29245
|
return [...options].sort((a, b) => {
|
|
29225
29246
|
if (a.value === DEVICE_STATUS.ARCHIVED) return 1;
|
|
29226
29247
|
if (b.value === DEVICE_STATUS.ARCHIVED) return -1;
|
|
@@ -29228,15 +29249,15 @@ function DeviceSelector({
|
|
|
29228
29249
|
});
|
|
29229
29250
|
}, [filterColumns]);
|
|
29230
29251
|
const orgFilterOptions = _react.useMemo.call(void 0,
|
|
29231
|
-
() => _nullishCoalesce(_optionalChain([filterColumns, 'access',
|
|
29252
|
+
() => _nullishCoalesce(_optionalChain([filterColumns, 'access', _623 => _623.find, 'call', _624 => _624((column) => column.key === "organization"), 'optionalAccess', _625 => _625.filterOptions]), () => ( [])),
|
|
29232
29253
|
[filterColumns]
|
|
29233
29254
|
);
|
|
29234
29255
|
const handleSetParams = _react.useCallback.call(void 0,
|
|
29235
29256
|
(params) => {
|
|
29236
29257
|
setColumnFilters([
|
|
29237
|
-
..._optionalChain([params, 'access',
|
|
29238
|
-
..._optionalChain([params, 'access',
|
|
29239
|
-
..._optionalChain([params, 'access',
|
|
29258
|
+
..._optionalChain([params, 'access', _626 => _626.statuses, 'optionalAccess', _627 => _627.length]) ? [{ id: "status", value: params.statuses }] : [],
|
|
29259
|
+
..._optionalChain([params, 'access', _628 => _628.osTypes, 'optionalAccess', _629 => _629.length]) ? [{ id: "os", value: params.osTypes }] : [],
|
|
29260
|
+
..._optionalChain([params, 'access', _630 => _630.organizationIds, 'optionalAccess', _631 => _631.length]) ? [{ id: "organization", value: params.organizationIds }] : []
|
|
29240
29261
|
]);
|
|
29241
29262
|
setSelectedTags(_nullishCoalesce(params.tags, () => ( [])));
|
|
29242
29263
|
},
|
|
@@ -29260,9 +29281,9 @@ function DeviceSelector({
|
|
|
29260
29281
|
const tagOptions = _react.useMemo.call(void 0, () => selectedTags.map((t) => ({ label: t, value: t })), [selectedTags]);
|
|
29261
29282
|
const tableFilters = _react.useMemo.call(void 0,
|
|
29262
29283
|
() => ({
|
|
29263
|
-
status: _nullishCoalesce(_optionalChain([columnFilters, 'access',
|
|
29264
|
-
os: _nullishCoalesce(_optionalChain([columnFilters, 'access',
|
|
29265
|
-
organization: _nullishCoalesce(_optionalChain([columnFilters, 'access',
|
|
29284
|
+
status: _nullishCoalesce(_optionalChain([columnFilters, 'access', _632 => _632.find, 'call', _633 => _633((f) => f.id === "status"), 'optionalAccess', _634 => _634.value]), () => ( [])),
|
|
29285
|
+
os: _nullishCoalesce(_optionalChain([columnFilters, 'access', _635 => _635.find, 'call', _636 => _636((f) => f.id === "os"), 'optionalAccess', _637 => _637.value]), () => ( [])),
|
|
29286
|
+
organization: _nullishCoalesce(_optionalChain([columnFilters, 'access', _638 => _638.find, 'call', _639 => _639((f) => f.id === "organization"), 'optionalAccess', _640 => _640.value]), () => ( []))
|
|
29266
29287
|
}),
|
|
29267
29288
|
[columnFilters]
|
|
29268
29289
|
);
|
|
@@ -29332,7 +29353,7 @@ function DeviceSelector({
|
|
|
29332
29353
|
id: "actions",
|
|
29333
29354
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InertInScope, { children: (() => {
|
|
29334
29355
|
const device = row.original;
|
|
29335
|
-
const disabledReason = _optionalChain([isDeviceDisabled, 'optionalCall',
|
|
29356
|
+
const disabledReason = _optionalChain([isDeviceDisabled, 'optionalCall', _641 => _641(device)]);
|
|
29336
29357
|
if (disabledReason) {
|
|
29337
29358
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex w-full items-center justify-end gap-2", children: [
|
|
29338
29359
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-line text-right text-ods-text-secondary text-h6 content-max-md:hidden", children: disabledReason }),
|
|
@@ -29449,7 +29470,7 @@ function DeviceSelector({
|
|
|
29449
29470
|
showHeader && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29450
29471
|
DataTable.Header,
|
|
29451
29472
|
{
|
|
29452
|
-
rightSlot: _nullishCoalesce(bulkAction, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.RowCount, { itemName: "device", totalCount: _nullishCoalesce(totalCount, () => ( _optionalChain([server, 'optionalAccess',
|
|
29473
|
+
rightSlot: _nullishCoalesce(bulkAction, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.RowCount, { itemName: "device", totalCount: _nullishCoalesce(totalCount, () => ( _optionalChain([server, 'optionalAccess', _642 => _642.totalCount]))), loading })))
|
|
29453
29474
|
}
|
|
29454
29475
|
),
|
|
29455
29476
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -29536,7 +29557,7 @@ function DeviceSelector({
|
|
|
29536
29557
|
// src/components/features/devices/device-selector/narrowing.ts
|
|
29537
29558
|
var EMPTY_NARROWING = { columnFilters: [], tags: [] };
|
|
29538
29559
|
function narrowingToFilter(narrowing) {
|
|
29539
|
-
const column = (id) => _optionalChain([narrowing, 'access',
|
|
29560
|
+
const column = (id) => _optionalChain([narrowing, 'access', _643 => _643.columnFilters, 'access', _644 => _644.find, 'call', _645 => _645((f) => f.id === id), 'optionalAccess', _646 => _646.value]);
|
|
29540
29561
|
const tagPairs = narrowing.tags.flatMap((t) => {
|
|
29541
29562
|
const i = t.indexOf(":");
|
|
29542
29563
|
return i > 0 ? [{ key: t.slice(0, i), value: t.slice(i + 1) }] : [];
|
|
@@ -29545,9 +29566,9 @@ function narrowingToFilter(narrowing) {
|
|
|
29545
29566
|
const statuses = column("status");
|
|
29546
29567
|
const osTypes = column("os");
|
|
29547
29568
|
const organizationIds = column("organization");
|
|
29548
|
-
if (_optionalChain([statuses, 'optionalAccess',
|
|
29549
|
-
if (_optionalChain([osTypes, 'optionalAccess',
|
|
29550
|
-
if (_optionalChain([organizationIds, 'optionalAccess',
|
|
29569
|
+
if (_optionalChain([statuses, 'optionalAccess', _647 => _647.length])) filter.statuses = statuses;
|
|
29570
|
+
if (_optionalChain([osTypes, 'optionalAccess', _648 => _648.length])) filter.osTypes = osTypes;
|
|
29571
|
+
if (_optionalChain([organizationIds, 'optionalAccess', _649 => _649.length])) filter.organizationIds = organizationIds;
|
|
29551
29572
|
if (tagPairs.length) {
|
|
29552
29573
|
filter.tagKeys = tagPairs.map((t) => t.key);
|
|
29553
29574
|
filter.tagValues = tagPairs.map((t) => t.value);
|
|
@@ -29577,7 +29598,7 @@ function DevicesGrid({
|
|
|
29577
29598
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
29578
29599
|
const { getDeviceHref } = useDevicesViewConfig();
|
|
29579
29600
|
const handleDeviceClick = (device) => {
|
|
29580
|
-
const href = device.machineId || device.id ? _optionalChain([getDeviceHref, 'optionalCall',
|
|
29601
|
+
const href = device.machineId || device.id ? _optionalChain([getDeviceHref, 'optionalCall', _650 => _650(device)]) : void 0;
|
|
29581
29602
|
if (href) router.push(href);
|
|
29582
29603
|
};
|
|
29583
29604
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: isLoading && devices.length === 0 ? (
|
|
@@ -29737,7 +29758,7 @@ function DevicesList({
|
|
|
29737
29758
|
const onColumnFiltersChange = _react.useCallback.call(void 0,
|
|
29738
29759
|
(updater) => {
|
|
29739
29760
|
const next = typeof updater === "function" ? updater(columnFilters) : updater;
|
|
29740
|
-
const pick = (id) => _nullishCoalesce(_optionalChain([next, 'access',
|
|
29761
|
+
const pick = (id) => _nullishCoalesce(_optionalChain([next, 'access', _651 => _651.find, 'call', _652 => _652((f) => f.id === id), 'optionalAccess', _653 => _653.value]), () => ( []));
|
|
29741
29762
|
patch({ statuses: pick("status"), osTypes: pick("os"), organizationIds: pick("organization") });
|
|
29742
29763
|
},
|
|
29743
29764
|
[columnFilters, patch]
|
|
@@ -29789,7 +29810,7 @@ function DevicesList({
|
|
|
29789
29810
|
const handleClearAll = _react.useCallback.call(void 0, () => patch({ search: "", tags: [] }), [patch]);
|
|
29790
29811
|
const narrowed = isNarrowed(narrowing);
|
|
29791
29812
|
const isEmptyState = !isLoading && !isPending && !narrowed && devices.length === 0;
|
|
29792
|
-
const { toolbarRef, containerStyle, stickyHeaderOffset: measuredOffset } =
|
|
29813
|
+
const { toolbarRef, containerStyle, stickyHeaderOffset: measuredOffset } = _chunkLWMWY3JOcjs.useStickyToolbar.call(void 0, );
|
|
29793
29814
|
const headerOffset = _nullishCoalesce(stickyHeaderOffset, () => ( (stickyToolbar ? measuredOffset : void 0)));
|
|
29794
29815
|
const actionsColumn = _react.useMemo.call(void 0, () => rowActions2 ? getDeviceActionsColumn(rowActions2) : void 0, [rowActions2]);
|
|
29795
29816
|
return (
|
|
@@ -29961,7 +29982,7 @@ function DevicesPanelView({
|
|
|
29961
29982
|
}) {
|
|
29962
29983
|
const scoped = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
29963
29984
|
const loading = scoped || loadingGiven;
|
|
29964
|
-
const gridColumns = _nullishCoalesce(filterColumns, () => ( getDeviceFilterColumns(deviceFilters).filter((column) => !_optionalChain([hideFilters, 'optionalAccess',
|
|
29985
|
+
const gridColumns = _nullishCoalesce(filterColumns, () => ( getDeviceFilterColumns(deviceFilters).filter((column) => !_optionalChain([hideFilters, 'optionalAccess', _654 => _654.includes, 'call', _655 => _655(column.key)]))));
|
|
29965
29986
|
const list = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29966
29987
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevicesFilterToolbar, { ...toolbar, isLoading: loading }),
|
|
29967
29988
|
viewMode === "table" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30018,7 +30039,7 @@ function DevicesPanelView({
|
|
|
30018
30039
|
] })
|
|
30019
30040
|
] });
|
|
30020
30041
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30021
|
-
|
|
30042
|
+
_chunkFNNDGOR3cjs.PageLayout,
|
|
30022
30043
|
{
|
|
30023
30044
|
title,
|
|
30024
30045
|
backButton,
|
|
@@ -30026,10 +30047,10 @@ function DevicesPanelView({
|
|
|
30026
30047
|
actionsVariant: "icon-buttons",
|
|
30027
30048
|
className,
|
|
30028
30049
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30029
|
-
|
|
30050
|
+
_chunkD6ZSRGH2cjs.TabSelector,
|
|
30030
30051
|
{
|
|
30031
30052
|
value: viewMode,
|
|
30032
|
-
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall',
|
|
30053
|
+
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _656 => _656(value)]),
|
|
30033
30054
|
items: DEVICE_VIEW_MODE_ITEMS,
|
|
30034
30055
|
disabled: loading
|
|
30035
30056
|
}
|
|
@@ -30092,7 +30113,7 @@ var PACKAGE_SEARCH_LABEL = "Software Name";
|
|
|
30092
30113
|
var PACKAGE_SEARCH_PLACEHOLDER = "Search for Software";
|
|
30093
30114
|
function PackageSearchFieldPlaceholder({ error }) {
|
|
30094
30115
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30095
|
-
|
|
30116
|
+
_chunkFNNDGOR3cjs.Autocomplete,
|
|
30096
30117
|
{
|
|
30097
30118
|
label: PACKAGE_SEARCH_LABEL,
|
|
30098
30119
|
labelVariant: "large",
|
|
@@ -30147,16 +30168,16 @@ function SoftwareScheduleFields({
|
|
|
30147
30168
|
] }),
|
|
30148
30169
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30149
30170
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3MBQRCQcjs.Label, { className: "text-h4", children: "Time" }),
|
|
30150
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30151
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30152
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30171
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.Select, { value: time, onValueChange: onTimeChange, children: [
|
|
30172
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, { placeholder: "Select time" }) }),
|
|
30173
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30153
30174
|
] })
|
|
30154
30175
|
] }),
|
|
30155
30176
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30156
30177
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3MBQRCQcjs.Label, { className: "text-h4", children: "Timezone" }),
|
|
30157
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30158
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30159
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30178
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.Select, { value: timeReference, onValueChange: (value) => onTimeReferenceChange(value), children: [
|
|
30179
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, {}) }),
|
|
30180
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: timing.timeReferenceOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30160
30181
|
] })
|
|
30161
30182
|
] })
|
|
30162
30183
|
]
|
|
@@ -30222,22 +30243,22 @@ function newSoftwareRow(key) {
|
|
|
30222
30243
|
|
|
30223
30244
|
function InfoCell2({ value, label }) {
|
|
30224
30245
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
30225
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30246
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: value ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: value }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1 text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary", children: "\u2014" }) }) }),
|
|
30226
30247
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
30227
30248
|
] });
|
|
30228
30249
|
}
|
|
30229
30250
|
function SoftwareRowFields({ row, removable, onChange, onRemove, renderPackageSearch }) {
|
|
30230
30251
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-l)] content-lg:flex-row content-lg:items-end", children: [
|
|
30231
30252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30232
|
-
|
|
30253
|
+
_chunkFNNDGOR3cjs.Select,
|
|
30233
30254
|
{
|
|
30234
30255
|
value: row.packageManager,
|
|
30235
30256
|
onValueChange: (value) => onChange({ ...row, packageManager: value, pkg: null }),
|
|
30236
30257
|
children: [
|
|
30237
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30238
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30258
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { label: "Package Manager", labelVariant: "large", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, {}) }),
|
|
30259
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: PACKAGE_MANAGERS.map((manager) => {
|
|
30239
30260
|
const Icon = PACKAGE_MANAGER_ICON[manager];
|
|
30240
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30261
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: manager, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30241
30262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 20, className: "shrink-0 text-ods-text-secondary" }),
|
|
30242
30263
|
PACKAGE_MANAGER_LABEL[manager]
|
|
30243
30264
|
] }) }, manager);
|
|
@@ -30250,9 +30271,9 @@ function SoftwareRowFields({ row, removable, onChange, onRemove, renderPackageSe
|
|
|
30250
30271
|
value: row.pkg,
|
|
30251
30272
|
onChange: (pkg) => onChange({ ...row, pkg })
|
|
30252
30273
|
}) }),
|
|
30253
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([row, 'access',
|
|
30274
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([row, 'access', _657 => _657.pkg, 'optionalAccess', _658 => _658.description]), label: "Description" }),
|
|
30254
30275
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-end gap-[var(--spacing-system-lf)]", children: [
|
|
30255
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([row, 'access',
|
|
30276
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([row, 'access', _659 => _659.pkg, 'optionalAccess', _660 => _660.version]), label: "Current Version" }),
|
|
30256
30277
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30257
30278
|
_chunkFCZAUK4Dcjs.Button,
|
|
30258
30279
|
{
|
|
@@ -30335,7 +30356,7 @@ function SoftwareActionForm({
|
|
|
30335
30356
|
}
|
|
30336
30357
|
);
|
|
30337
30358
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30338
|
-
|
|
30359
|
+
_chunkFNNDGOR3cjs.PageLayout,
|
|
30339
30360
|
{
|
|
30340
30361
|
title: copy.formTitle,
|
|
30341
30362
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -30424,7 +30445,7 @@ function LogDrawer({
|
|
|
30424
30445
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 space-y-4 overflow-y-auto", children: [
|
|
30425
30446
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppLayoutDrawerDescription, { asChild: true, className: "leading-6 text-ods-text-primary text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: description }) }),
|
|
30426
30447
|
infoFields && infoFields.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-3 rounded-[6px] border border-ods-border bg-ods-card p-4", children: infoFields.map((field) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-0.5", children: [
|
|
30427
|
-
typeof field.value === "string" ? field.value === "" || field.value === EMPTY_MARK ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyMark, {}) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30448
|
+
typeof field.value === "string" ? field.value === "" || field.value === EMPTY_MARK ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyMark, {}) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: field.value }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: field.value === null || field.value === void 0 || field.value === false ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyMark, {}) : field.value }),
|
|
30428
30449
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: field.label })
|
|
30429
30450
|
] }, typeof field.label === "string" ? field.label : "")) }),
|
|
30430
30451
|
children
|
|
@@ -30472,7 +30493,7 @@ function LogsPageView({
|
|
|
30472
30493
|
],
|
|
30473
30494
|
[onRefresh]
|
|
30474
30495
|
);
|
|
30475
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30496
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.PageLayout, { title: "Logs", actions, showHeader, className, children: [
|
|
30476
30497
|
!hideSearch && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-0 z-20 -my-[var(--spacing-system-l)] flex items-center gap-[var(--spacing-system-m)] bg-ods-bg py-[var(--spacing-system-l)]", children: [
|
|
30477
30498
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30478
30499
|
_chunkSWF6TNZ3cjs.Input,
|
|
@@ -30561,11 +30582,11 @@ var ToolBadge = ({
|
|
|
30561
30582
|
iconClassName
|
|
30562
30583
|
}) => {
|
|
30563
30584
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
30564
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30565
|
-
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30585
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkEYSIQORAcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30586
|
+
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBUEEQD3Gcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30566
30587
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30567
30588
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30568
|
-
|
|
30589
|
+
_chunkD6ZSRGH2cjs.NavLinkAnchorViaRuntime,
|
|
30569
30590
|
{
|
|
30570
30591
|
href,
|
|
30571
30592
|
targetPlatform,
|
|
@@ -30630,8 +30651,8 @@ function LogSourceCell({ device }) {
|
|
|
30630
30651
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
30631
30652
|
const { deviceName, organization } = logSourceLabels(device);
|
|
30632
30653
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[60px] flex-col justify-center gap-1 py-2", children: [
|
|
30633
|
-
(deviceName || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30634
|
-
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30654
|
+
(deviceName || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: deviceName }),
|
|
30655
|
+
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(organization, () => ( "")) })
|
|
30635
30656
|
] });
|
|
30636
30657
|
}
|
|
30637
30658
|
function LogRowButton({
|
|
@@ -30686,8 +30707,8 @@ function LogsTableView({
|
|
|
30686
30707
|
accessorKey: "logId",
|
|
30687
30708
|
header: logIdHeader ? () => logIdHeader : "Log ID",
|
|
30688
30709
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col justify-center", children: [
|
|
30689
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30690
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30710
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: row.original.timestamp }),
|
|
30711
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.logId })
|
|
30691
30712
|
] }),
|
|
30692
30713
|
enableSorting: false,
|
|
30693
30714
|
meta: { width: LOG_COLUMN_WIDTHS.logId, alwaysShowHeader: true }
|
|
@@ -30701,7 +30722,7 @@ function LogsTableView({
|
|
|
30701
30722
|
meta: {
|
|
30702
30723
|
width: LOG_COLUMN_WIDTHS.status,
|
|
30703
30724
|
filter: {
|
|
30704
|
-
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess',
|
|
30725
|
+
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _661 => _661.severities, 'access', _662 => _662.map, 'call', _663 => _663((severity) => ({
|
|
30705
30726
|
id: severity,
|
|
30706
30727
|
label: severity.charAt(0).toUpperCase() + severity.slice(1).toLowerCase(),
|
|
30707
30728
|
value: severity
|
|
@@ -30715,7 +30736,7 @@ function LogsTableView({
|
|
|
30715
30736
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30716
30737
|
ToolBadge,
|
|
30717
30738
|
{
|
|
30718
|
-
toolType:
|
|
30739
|
+
toolType: _chunkEYSIQORAcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30719
30740
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30720
30741
|
}
|
|
30721
30742
|
),
|
|
@@ -30725,9 +30746,9 @@ function LogsTableView({
|
|
|
30725
30746
|
width: LOG_COLUMN_WIDTHS.tool,
|
|
30726
30747
|
hideAt: "md",
|
|
30727
30748
|
filter: {
|
|
30728
|
-
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess',
|
|
30749
|
+
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _664 => _664.toolTypes, 'access', _665 => _665.map, 'call', _666 => _666((toolType) => ({
|
|
30729
30750
|
id: toolType,
|
|
30730
|
-
label:
|
|
30751
|
+
label: _chunkEYSIQORAcjs.toToolLabel.call(void 0, toolType),
|
|
30731
30752
|
value: toolType
|
|
30732
30753
|
}))]), () => ( []))
|
|
30733
30754
|
}
|
|
@@ -30742,19 +30763,19 @@ function LogsTableView({
|
|
|
30742
30763
|
meta: {
|
|
30743
30764
|
width: LOG_COLUMN_WIDTHS.source,
|
|
30744
30765
|
hideAt: "md",
|
|
30745
|
-
filter: organizationLocked ? void 0 : { options: [..._nullishCoalesce(_optionalChain([facets, 'optionalAccess',
|
|
30766
|
+
filter: organizationLocked ? void 0 : { options: [..._nullishCoalesce(_optionalChain([facets, 'optionalAccess', _667 => _667.organizations]), () => ( []))] }
|
|
30746
30767
|
}
|
|
30747
30768
|
},
|
|
30748
30769
|
{
|
|
30749
30770
|
accessorKey: "description",
|
|
30750
30771
|
header: "Log Details",
|
|
30751
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30772
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { lines: 3, className: "text-ods-text-secondary text-h6", children: row.original.description.title }),
|
|
30752
30773
|
enableSorting: false,
|
|
30753
30774
|
meta: { width: LOG_COLUMN_WIDTHS.description, hideAt: "lg" }
|
|
30754
30775
|
},
|
|
30755
30776
|
{
|
|
30756
30777
|
id: "copy",
|
|
30757
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: _optionalChain([renderCopyAction, 'optionalCall',
|
|
30778
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: _optionalChain([renderCopyAction, 'optionalCall', _668 => _668(row.original)]) }),
|
|
30758
30779
|
enableSorting: false,
|
|
30759
30780
|
meta: { width: `${LOG_COLUMN_WIDTHS.action} ml-auto`, align: "right" }
|
|
30760
30781
|
},
|
|
@@ -30763,7 +30784,7 @@ function LogsTableView({
|
|
|
30763
30784
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30764
30785
|
LogRowButton,
|
|
30765
30786
|
{
|
|
30766
|
-
onClick: () => _optionalChain([onQuickView, 'optionalCall',
|
|
30787
|
+
onClick: () => _optionalChain([onQuickView, 'optionalCall', _669 => _669(row.original)]),
|
|
30767
30788
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMLT7ASAcjs.EyeIcon, { className: "h-5 w-5" }),
|
|
30768
30789
|
label: "Quick view"
|
|
30769
30790
|
}
|
|
@@ -30776,7 +30797,7 @@ function LogsTableView({
|
|
|
30776
30797
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30777
30798
|
LogRowButton,
|
|
30778
30799
|
{
|
|
30779
|
-
onClick: getLogHref ?
|
|
30800
|
+
onClick: getLogHref ? _chunkEYSIQORAcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
30780
30801
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
30781
30802
|
label: "Open in new tab"
|
|
30782
30803
|
}
|
|
@@ -30785,14 +30806,14 @@ function LogsTableView({
|
|
|
30785
30806
|
meta: { width: LOG_COLUMN_WIDTHS.action, hideAt: "md", align: "right" }
|
|
30786
30807
|
}
|
|
30787
30808
|
];
|
|
30788
|
-
if (!_optionalChain([hiddenColumns, 'optionalAccess',
|
|
30809
|
+
if (!_optionalChain([hiddenColumns, 'optionalAccess', _670 => _670.length])) return all;
|
|
30789
30810
|
return all.filter((column) => !hiddenColumns.includes(columnId(column)));
|
|
30790
30811
|
}, [facets, getLogHref, organizationLocked, logIdHeader, renderCopyAction, onQuickView, hiddenColumns]);
|
|
30791
30812
|
const filterGroups = _react.useMemo.call(void 0,
|
|
30792
|
-
() => columns.filter((column) => _optionalChain([column, 'access',
|
|
30813
|
+
() => columns.filter((column) => _optionalChain([column, 'access', _671 => _671.meta, 'optionalAccess', _672 => _672.filter, 'optionalAccess', _673 => _673.options])).map((column) => ({
|
|
30793
30814
|
id: columnId(column),
|
|
30794
30815
|
title: typeof column.header === "string" ? column.header : "",
|
|
30795
|
-
options: _optionalChain([column, 'access',
|
|
30816
|
+
options: _optionalChain([column, 'access', _674 => _674.meta, 'optionalAccess', _675 => _675.filter, 'optionalAccess', _676 => _676.options]) || []
|
|
30796
30817
|
})),
|
|
30797
30818
|
[columns]
|
|
30798
30819
|
);
|
|
@@ -30825,14 +30846,14 @@ function LogsTableView({
|
|
|
30825
30846
|
onColumnFiltersChange: handleColumnFiltersChange
|
|
30826
30847
|
});
|
|
30827
30848
|
const hasActiveFilters = Object.values(filters).some((values) => values.length > 0);
|
|
30828
|
-
const hasQuery = Boolean(search) || hasActiveFilters || Boolean(_optionalChain([dateFilter, 'optionalAccess',
|
|
30849
|
+
const hasQuery = Boolean(search) || hasActiveFilters || Boolean(_optionalChain([dateFilter, 'optionalAccess', _677 => _677.range]));
|
|
30829
30850
|
const noRows = !loading && logs.length === 0;
|
|
30830
30851
|
const showEmptyState = !organizationLocked && !hasQuery && noRows;
|
|
30831
30852
|
const scoped = deviceScoped || organizationLocked;
|
|
30832
30853
|
const scopedEmpty = scoped && noRows;
|
|
30833
30854
|
const hideSearch = showEmptyState || scopedEmpty && !hasQuery;
|
|
30834
30855
|
_react.useEffect.call(void 0, () => {
|
|
30835
|
-
_optionalChain([onHideSearchChange, 'optionalCall',
|
|
30856
|
+
_optionalChain([onHideSearchChange, 'optionalCall', _678 => _678(hideSearch)]);
|
|
30836
30857
|
}, [hideSearch, onHideSearchChange]);
|
|
30837
30858
|
if (showEmptyState) {
|
|
30838
30859
|
const emptyProps = deviceScoped ? { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIK3ZQW3Dcjs.ClipboardListIcon, {}), title: EMPTY_TITLE, description: EMPTY_DESCRIPTION } : {
|
|
@@ -30941,28 +30962,28 @@ function ExecutionSourceBadge({ source, className }) {
|
|
|
30941
30962
|
const tagProps = { as: "span", variant: "outline", className: _chunk63A4GZMBcjs.cn.call(void 0, "shrink-0", className) };
|
|
30942
30963
|
if (source === "SCHEDULED") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.Tag, { ...tagProps, label: "Scheduled" });
|
|
30943
30964
|
if (source === "AI_ASSISTANT") {
|
|
30944
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.Tag, { ...tagProps, label: "Mingo", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30965
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.Tag, { ...tagProps, label: "Mingo", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.AgentMark, { agent: "mingo", className: "size-4" }) });
|
|
30945
30966
|
}
|
|
30946
30967
|
return null;
|
|
30947
30968
|
}
|
|
30948
30969
|
function ExecutionTimestampCell({ timestamp, executionId }) {
|
|
30949
30970
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
30950
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30951
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30971
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: timestamp }),
|
|
30972
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", children: executionId })
|
|
30952
30973
|
] });
|
|
30953
30974
|
}
|
|
30954
30975
|
function ExecutionStatusCell({ status }) {
|
|
30955
30976
|
const presentation = scriptExecutionStatus(status);
|
|
30956
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.Tag, { label: _nullishCoalesce(_optionalChain([presentation, 'optionalAccess',
|
|
30977
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.Tag, { label: _nullishCoalesce(_optionalChain([presentation, 'optionalAccess', _679 => _679.label]), () => ( String(_nullishCoalesce(status, () => ( ""))))), variant: _nullishCoalesce(_optionalChain([presentation, 'optionalAccess', _680 => _680.variant]), () => ( "grey")) }) });
|
|
30957
30978
|
}
|
|
30958
30979
|
function ExecutionDeviceCell({ name, organization }) {
|
|
30959
30980
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
30960
30981
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
30961
30982
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-1", children: [
|
|
30962
30983
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPTK7GOIIcjs.MonitorIcon, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
30963
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30984
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: name }) : name })
|
|
30964
30985
|
] }),
|
|
30965
|
-
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30986
|
+
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(organization, () => ( "")) })
|
|
30966
30987
|
] });
|
|
30967
30988
|
}
|
|
30968
30989
|
function ExecutionInitiatorCell({
|
|
@@ -30975,16 +30996,16 @@ function ExecutionInitiatorCell({
|
|
|
30975
30996
|
avatar,
|
|
30976
30997
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
30977
30998
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
30978
|
-
typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30999
|
+
typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: name }) : name,
|
|
30979
31000
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExecutionSourceBadge, { source })
|
|
30980
31001
|
] }),
|
|
30981
|
-
scriptName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31002
|
+
scriptName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", children: scriptName })
|
|
30982
31003
|
] })
|
|
30983
31004
|
] });
|
|
30984
31005
|
}
|
|
30985
31006
|
function ExecutionResultCell({ result, empty = null }) {
|
|
30986
31007
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
30987
|
-
return result || loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31008
|
+
return result || loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { lines: 2, children: _nullishCoalesce(result, () => ( "")) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: empty });
|
|
30988
31009
|
}
|
|
30989
31010
|
function ScriptExecutionResult({
|
|
30990
31011
|
result,
|
|
@@ -31004,14 +31025,14 @@ function ScriptExecutionResult({
|
|
|
31004
31025
|
|
|
31005
31026
|
function ScriptNameCell({ name, description }) {
|
|
31006
31027
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31007
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31008
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31028
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: name }),
|
|
31029
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", children: description })
|
|
31009
31030
|
] });
|
|
31010
31031
|
}
|
|
31011
31032
|
function ScheduleDateTimeCell({ date, time }) {
|
|
31012
31033
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31013
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31014
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31034
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: date }),
|
|
31035
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", children: time })
|
|
31015
31036
|
] });
|
|
31016
31037
|
}
|
|
31017
31038
|
|
|
@@ -31098,7 +31119,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31098
31119
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31099
31120
|
_chunkFCZAUK4Dcjs.Button,
|
|
31100
31121
|
{
|
|
31101
|
-
onClick: loading ? void 0 :
|
|
31122
|
+
onClick: loading ? void 0 : _chunkEYSIQORAcjs.openInNewTab.call(void 0, href),
|
|
31102
31123
|
disabled: loading,
|
|
31103
31124
|
variant: "outline",
|
|
31104
31125
|
size: "icon",
|
|
@@ -31160,7 +31181,7 @@ function ScriptExecutionsTable({
|
|
|
31160
31181
|
[EXECUTION_COLUMNS.result.id]: (row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExecutionResultCell, { result: row.result }),
|
|
31161
31182
|
[EXECUTION_COLUMNS.open.id]: (row) => row.href !== void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OpenInNewTabCell, { href: row.href }) : null
|
|
31162
31183
|
};
|
|
31163
|
-
return layout.filter((column) => renderers[column.id] && !_optionalChain([hideColumns, 'optionalAccess',
|
|
31184
|
+
return layout.filter((column) => renderers[column.id] && !_optionalChain([hideColumns, 'optionalAccess', _681 => _681.includes, 'call', _682 => _682(column.id)])).map((column) => ({
|
|
31164
31185
|
id: column.id,
|
|
31165
31186
|
header: _nullishCoalesce(column.header, () => ( "")),
|
|
31166
31187
|
cell: ({ row }) => renderers[column.id](row.original),
|
|
@@ -31241,7 +31262,7 @@ function ScriptSchedulesTable({
|
|
|
31241
31262
|
cell(SCHEDULE_COLUMNS.supportedPlatforms, (row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OSTypeBadgeGroup, { osTypes: row.supportedPlatforms, iconSize: "w-4 h-4 content-md:w-6 content-md:h-6" })),
|
|
31242
31263
|
cell(
|
|
31243
31264
|
SCHEDULE_COLUMNS.dateTime,
|
|
31244
|
-
(row) => row.startsAt ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScheduleDateTimeCell, { date: row.startsAt.date, time: row.startsAt.time }) : row.trigger ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31265
|
+
(row) => row.startsAt ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScheduleDateTimeCell, { date: row.startsAt.date, time: row.startsAt.time }) : row.trigger ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { tone: "secondary", children: row.trigger }) : null
|
|
31245
31266
|
),
|
|
31246
31267
|
cell(
|
|
31247
31268
|
SCHEDULE_COLUMNS.repeat,
|
|
@@ -31287,15 +31308,15 @@ function ScriptSchedulesTable({
|
|
|
31287
31308
|
|
|
31288
31309
|
// src/components/features/scripts/shell-types.ts
|
|
31289
31310
|
var SCRIPT_SHELL_TYPES = [
|
|
31290
|
-
{ id:
|
|
31291
|
-
{ id:
|
|
31292
|
-
{ id:
|
|
31311
|
+
{ id: _chunkEYSIQORAcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31312
|
+
{ id: _chunkEYSIQORAcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31313
|
+
{ id: _chunkEYSIQORAcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31293
31314
|
];
|
|
31294
31315
|
function scriptShellType(value) {
|
|
31295
31316
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
31296
31317
|
}
|
|
31297
31318
|
function scriptShellLabel(value) {
|
|
31298
|
-
return _nullishCoalesce(_optionalChain([scriptShellType, 'call',
|
|
31319
|
+
return _nullishCoalesce(_optionalChain([scriptShellType, 'call', _683 => _683(value), 'optionalAccess', _684 => _684.label]), () => ( value));
|
|
31299
31320
|
}
|
|
31300
31321
|
|
|
31301
31322
|
// src/components/features/scripts/script-shell-badge.tsx
|
|
@@ -31308,10 +31329,10 @@ function ScriptShellBadge({ value, className, iconClassName }) {
|
|
|
31308
31329
|
] });
|
|
31309
31330
|
}
|
|
31310
31331
|
const shell = scriptShellType(value);
|
|
31311
|
-
const Icon = _optionalChain([shell, 'optionalAccess',
|
|
31332
|
+
const Icon = _optionalChain([shell, 'optionalAccess', _685 => _685.icon]);
|
|
31312
31333
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex items-center gap-2", className), children: [
|
|
31313
31334
|
Icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: _chunk63A4GZMBcjs.cn.call(void 0, "h-5 w-5 text-ods-text-secondary", iconClassName) }),
|
|
31314
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _nullishCoalesce(_optionalChain([shell, 'optionalAccess',
|
|
31335
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _nullishCoalesce(_optionalChain([shell, 'optionalAccess', _686 => _686.label]), () => ( value)) })
|
|
31315
31336
|
] });
|
|
31316
31337
|
}
|
|
31317
31338
|
|
|
@@ -31365,7 +31386,7 @@ function ScriptsTable({
|
|
|
31365
31386
|
initialsClassName: "text-ods-text-secondary"
|
|
31366
31387
|
}
|
|
31367
31388
|
),
|
|
31368
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31389
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: row.author.name }) })
|
|
31369
31390
|
] }) : null
|
|
31370
31391
|
)
|
|
31371
31392
|
];
|
|
@@ -31491,7 +31512,7 @@ function slotValue(minutesOfDay) {
|
|
|
31491
31512
|
return `${String(hours).padStart(2, "0")}:${String(minutes).padStart(2, "0")}`;
|
|
31492
31513
|
}
|
|
31493
31514
|
function slotLabel(minutesOfDay) {
|
|
31494
|
-
return
|
|
31515
|
+
return _chunk4JHO2NVIcjs.formatTime.call(void 0, new Date(1970, 0, 1, Math.floor(minutesOfDay / 60), minutesOfDay % 60));
|
|
31495
31516
|
}
|
|
31496
31517
|
function getTimeSlotOptions(forDate, timeReference) {
|
|
31497
31518
|
const base = slotBaseMinutes(timeReference);
|
|
@@ -31663,7 +31684,7 @@ function ScheduleIntervalInput(props) {
|
|
|
31663
31684
|
onBlur: () => {
|
|
31664
31685
|
focused.current = false;
|
|
31665
31686
|
setText(value === null ? "" : String(value));
|
|
31666
|
-
_optionalChain([onBlur, 'optionalCall',
|
|
31687
|
+
_optionalChain([onBlur, 'optionalCall', _687 => _687()]);
|
|
31667
31688
|
},
|
|
31668
31689
|
onChange: (e) => {
|
|
31669
31690
|
const raw = e.target.value;
|
|
@@ -31713,7 +31734,7 @@ function ReconnectWindowFields({
|
|
|
31713
31734
|
}
|
|
31714
31735
|
),
|
|
31715
31736
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31716
|
-
|
|
31737
|
+
_chunkFNNDGOR3cjs.Select,
|
|
31717
31738
|
{
|
|
31718
31739
|
value: unit,
|
|
31719
31740
|
onValueChange: (value) => {
|
|
@@ -31722,8 +31743,8 @@ function ReconnectWindowFields({
|
|
|
31722
31743
|
},
|
|
31723
31744
|
disabled,
|
|
31724
31745
|
children: [
|
|
31725
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31726
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31746
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className: controlWidth, "aria-label": "Stop retry after unit", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, {}) }),
|
|
31747
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: DURATION_UNIT_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
31727
31748
|
]
|
|
31728
31749
|
}
|
|
31729
31750
|
)
|
|
@@ -31737,7 +31758,7 @@ function ScheduleOfflineFields({ showErrors, disabled = false }) {
|
|
|
31737
31758
|
const { field: intervalField, fieldState: intervalState } = _reacthookform.useController.call(void 0, { control, name: "reconnectInterval" });
|
|
31738
31759
|
const { field: unitField } = _reacthookform.useController.call(void 0, { control, name: "reconnectUnit" });
|
|
31739
31760
|
const windowDisabled = disabled || !isRetryOnReconnect(behaviorField.value);
|
|
31740
|
-
const intervalError = showErrors ? _optionalChain([intervalState, 'access',
|
|
31761
|
+
const intervalError = showErrors ? _optionalChain([intervalState, 'access', _688 => _688.error, 'optionalAccess', _689 => _689.message]) : void 0;
|
|
31741
31762
|
const handleUnitChange = (next) => {
|
|
31742
31763
|
unitField.onChange(next);
|
|
31743
31764
|
const snapped = snapReconnectInterval(intervalField.value, next);
|
|
@@ -31793,7 +31814,7 @@ function ScheduleOfflineFields({ showErrors, disabled = false }) {
|
|
|
31793
31814
|
options
|
|
31794
31815
|
}
|
|
31795
31816
|
),
|
|
31796
|
-
intervalError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-0 left-0 right-0 translate-y-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31817
|
+
intervalError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-0 left-0 right-0 translate-y-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", className: "text-ods-error", children: intervalError }) })
|
|
31797
31818
|
]
|
|
31798
31819
|
}
|
|
31799
31820
|
) }) })
|
|
@@ -31882,13 +31903,13 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
31882
31903
|
const [flipTick, setFlipTick] = _react.useState.call(void 0, 0);
|
|
31883
31904
|
const flipTimer = _react.useRef.call(void 0, null);
|
|
31884
31905
|
const readItems = _react.useCallback.call(void 0,
|
|
31885
|
-
() => [..._nullishCoalesce(_optionalChain([listRef, 'access',
|
|
31906
|
+
() => [..._nullishCoalesce(_optionalChain([listRef, 'access', _690 => _690.current, 'optionalAccess', _691 => _691.querySelectorAll, 'call', _692 => _692(`[${SORTABLE_ITEM_ATTRIBUTE}]`)]), () => ( []))],
|
|
31886
31907
|
[]
|
|
31887
31908
|
);
|
|
31888
31909
|
const reorder = _react.useCallback.call(void 0,
|
|
31889
31910
|
(from, to) => {
|
|
31890
31911
|
if (from === to) return;
|
|
31891
|
-
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access',
|
|
31912
|
+
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access', _693 => _693.current, 'optionalCall', _694 => _694(from)]), () => ( "Item"));
|
|
31892
31913
|
setAnnouncement(`${label} moved to position ${to + 1} of ${readItems().length}.`);
|
|
31893
31914
|
onReorderRef.current(from, to);
|
|
31894
31915
|
},
|
|
@@ -31902,8 +31923,8 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
31902
31923
|
// Dragging towards the edge of the screen — or past it — scrolls whatever
|
|
31903
31924
|
// actually scrolls there: the page, the layout's `<main>`, or the list
|
|
31904
31925
|
// itself when it has its own overflow.
|
|
31905
|
-
|
|
31906
|
-
|
|
31926
|
+
_chunkSWMUW3RRcjs.autoScrollAncestors.call(void 0, list),
|
|
31927
|
+
_chunkSWMUW3RRcjs.autoScrollBothWays.call(void 0, list),
|
|
31907
31928
|
// One target for the whole list: which slot a drop lands in is answered by
|
|
31908
31929
|
// geometry, so this only has to say "inside the list, or outside it".
|
|
31909
31930
|
_adapter.dropTargetForElements.call(void 0, {
|
|
@@ -31976,7 +31997,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
31976
31997
|
moving.push(item);
|
|
31977
31998
|
}
|
|
31978
31999
|
if (moving.length === 0) return;
|
|
31979
|
-
void _optionalChain([listRef, 'access',
|
|
32000
|
+
void _optionalChain([listRef, 'access', _695 => _695.current, 'optionalAccess', _696 => _696.offsetHeight]);
|
|
31980
32001
|
for (const item of moving) {
|
|
31981
32002
|
item.style.transition = `transform ${DROP_MS}ms ${EASING}`;
|
|
31982
32003
|
item.style.transform = "";
|
|
@@ -32144,8 +32165,8 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
32144
32165
|
if (to < 0 || to >= count) return;
|
|
32145
32166
|
reorder(index, to);
|
|
32146
32167
|
requestAnimationFrame(() => {
|
|
32147
|
-
if (step === -1 && to === 0) _optionalChain([downRef, 'access',
|
|
32148
|
-
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access',
|
|
32168
|
+
if (step === -1 && to === 0) _optionalChain([downRef, 'access', _697 => _697.current, 'optionalAccess', _698 => _698.focus, 'call', _699 => _699()]);
|
|
32169
|
+
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access', _700 => _700.current, 'optionalAccess', _701 => _701.focus, 'call', _702 => _702()]);
|
|
32149
32170
|
});
|
|
32150
32171
|
};
|
|
32151
32172
|
const subject = _nullishCoalesce(label, () => ( "item"));
|
|
@@ -32193,7 +32214,7 @@ function useSortableItem() {
|
|
|
32193
32214
|
const [handle, setHandle] = _react.useState.call(void 0, null);
|
|
32194
32215
|
const [isDragging, setIsDragging] = _react.useState.call(void 0, false);
|
|
32195
32216
|
const itemRef = _react.useCallback.call(void 0, (node) => {
|
|
32196
|
-
_optionalChain([node, 'optionalAccess',
|
|
32217
|
+
_optionalChain([node, 'optionalAccess', _703 => _703.setAttribute, 'call', _704 => _704(SORTABLE_ITEM_ATTRIBUTE, "")]);
|
|
32197
32218
|
setItem(node);
|
|
32198
32219
|
}, []);
|
|
32199
32220
|
_react.useEffect.call(void 0, () => {
|
|
@@ -32201,7 +32222,7 @@ function useSortableItem() {
|
|
|
32201
32222
|
return _combine.combine.call(void 0,
|
|
32202
32223
|
// The drag has to start as a "move", or its first frame is drawn with the
|
|
32203
32224
|
// copy cursor — see `drag-effect.ts`.
|
|
32204
|
-
|
|
32225
|
+
_chunkSWMUW3RRcjs.holdMoveDragEffect.call(void 0, item),
|
|
32205
32226
|
_adapter.draggable.call(void 0, {
|
|
32206
32227
|
element: item,
|
|
32207
32228
|
dragHandle: handle,
|
|
@@ -32223,7 +32244,7 @@ function useSortableItem() {
|
|
|
32223
32244
|
if (from < 0 || to < 0 || to >= items.length) return;
|
|
32224
32245
|
event.preventDefault();
|
|
32225
32246
|
reorder(from, to);
|
|
32226
|
-
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess',
|
|
32247
|
+
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess', _705 => _705.focus, 'call', _706 => _706()]));
|
|
32227
32248
|
},
|
|
32228
32249
|
[inert, readItems, reorder, handle]
|
|
32229
32250
|
);
|
|
@@ -32246,7 +32267,7 @@ function ScheduleScriptPickerCard({
|
|
|
32246
32267
|
}) {
|
|
32247
32268
|
const { control, setValue, watch } = _reacthookform.useFormContext.call(void 0, );
|
|
32248
32269
|
const selected = watch(`scripts.${index}`);
|
|
32249
|
-
const runParamsLocked = disabled || !_optionalChain([selected, 'optionalAccess',
|
|
32270
|
+
const runParamsLocked = disabled || !_optionalChain([selected, 'optionalAccess', _707 => _707.scriptId]);
|
|
32250
32271
|
const { itemRef, dragHandleProps, isDragging, dragAndDropEnabled } = useSortableItem();
|
|
32251
32272
|
const isMdUp = _chunkMG3HJIGGcjs.useContentMdUp.call(void 0, );
|
|
32252
32273
|
const handleScriptPick = (row) => {
|
|
@@ -32280,7 +32301,7 @@ function ScheduleScriptPickerCard({
|
|
|
32280
32301
|
type: "button",
|
|
32281
32302
|
...dragHandleProps,
|
|
32282
32303
|
disabled,
|
|
32283
|
-
"aria-label": `Reorder ${_optionalChain([selected, 'optionalAccess',
|
|
32304
|
+
"aria-label": `Reorder ${_optionalChain([selected, 'optionalAccess', _708 => _708.name]) || `script ${index + 1}`}`,
|
|
32284
32305
|
className: `shrink-0 ${isDragging ? "cursor-grabbing" : "cursor-grab"}`,
|
|
32285
32306
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJAWIFYB2cjs.DraggerIcon, { size: 24 })
|
|
32286
32307
|
}
|
|
@@ -32291,18 +32312,18 @@ function ScheduleScriptPickerCard({
|
|
|
32291
32312
|
name: `scripts.${index}.scriptId`,
|
|
32292
32313
|
control,
|
|
32293
32314
|
render: ({ fieldState }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: renderScriptSearch({
|
|
32294
|
-
scriptId: _nullishCoalesce(_optionalChain([selected, 'optionalAccess',
|
|
32295
|
-
name: _nullishCoalesce(_optionalChain([selected, 'optionalAccess',
|
|
32315
|
+
scriptId: _nullishCoalesce(_optionalChain([selected, 'optionalAccess', _709 => _709.scriptId]), () => ( "")),
|
|
32316
|
+
name: _nullishCoalesce(_optionalChain([selected, 'optionalAccess', _710 => _710.name]), () => ( "")),
|
|
32296
32317
|
supportedPlatforms,
|
|
32297
32318
|
onPick: handleScriptPick,
|
|
32298
32319
|
disabled,
|
|
32299
|
-
error: showErrors ? _optionalChain([fieldState, 'access',
|
|
32320
|
+
error: showErrors ? _optionalChain([fieldState, 'access', _711 => _711.error, 'optionalAccess', _712 => _712.message]) : void 0,
|
|
32300
32321
|
invalid: showErrors && !!fieldState.error
|
|
32301
32322
|
}) })
|
|
32302
32323
|
}
|
|
32303
32324
|
),
|
|
32304
32325
|
!dragAndDropEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
32305
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableMoveButtons, { index, count, label: _optionalChain([selected, 'optionalAccess',
|
|
32326
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableMoveButtons, { index, count, label: _optionalChain([selected, 'optionalAccess', _713 => _713.name]) || `script ${index + 1}` }),
|
|
32306
32327
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32307
32328
|
_chunkFCZAUK4Dcjs.Button,
|
|
32308
32329
|
{
|
|
@@ -32343,7 +32364,7 @@ function ScheduleScriptPickerCard({
|
|
|
32343
32364
|
onChange: (e) => field.onChange(e.target.value ? Number(e.target.value) : UNSET_TIMEOUT),
|
|
32344
32365
|
disabled: runParamsLocked,
|
|
32345
32366
|
endAdornment: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: "Seconds" }),
|
|
32346
|
-
error: showErrors ? _optionalChain([fieldState, 'access',
|
|
32367
|
+
error: showErrors ? _optionalChain([fieldState, 'access', _714 => _714.error, 'optionalAccess', _715 => _715.message]) : void 0,
|
|
32347
32368
|
invalid: showErrors && !!fieldState.error
|
|
32348
32369
|
}
|
|
32349
32370
|
)
|
|
@@ -32599,7 +32620,7 @@ function ScheduleTimingFields({
|
|
|
32599
32620
|
fromDate: minDate,
|
|
32600
32621
|
disabled: fieldsDisabled,
|
|
32601
32622
|
className: "w-full",
|
|
32602
|
-
error: _nullishCoalesce(dateError, () => ( (showErrors ? _optionalChain([fieldState, 'access',
|
|
32623
|
+
error: _nullishCoalesce(dateError, () => ( (showErrors ? _optionalChain([fieldState, 'access', _716 => _716.error, 'optionalAccess', _717 => _717.message]) : void 0))),
|
|
32603
32624
|
invalid: !!dateError || showErrors && !!fieldState.error
|
|
32604
32625
|
}
|
|
32605
32626
|
),
|
|
@@ -32631,24 +32652,24 @@ function ScheduleTimingFields({
|
|
|
32631
32652
|
// `''` reads as "no selection" to Radix, so the placeholder shows
|
|
32632
32653
|
// until a slot is picked — a date at midnight no longer
|
|
32633
32654
|
// masquerades as a chosen 12:00 AM.
|
|
32634
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32655
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFNNDGOR3cjs.Select, { value: field.value, onValueChange: field.onChange, disabled: fieldsDisabled, children: [
|
|
32635
32656
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32636
|
-
|
|
32657
|
+
_chunkFNNDGOR3cjs.SelectTrigger,
|
|
32637
32658
|
{
|
|
32638
32659
|
className: "w-full",
|
|
32639
|
-
error: _nullishCoalesce(pastTimeError, () => ( (showErrors ? _optionalChain([fieldState, 'access',
|
|
32660
|
+
error: _nullishCoalesce(pastTimeError, () => ( (showErrors ? _optionalChain([fieldState, 'access', _718 => _718.error, 'optionalAccess', _719 => _719.message]) : void 0))),
|
|
32640
32661
|
invalid: !!pastTimeError || showErrors && !!fieldState.error,
|
|
32641
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32662
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, { placeholder: "Select time" })
|
|
32642
32663
|
}
|
|
32643
32664
|
),
|
|
32644
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32665
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: timeSlots.length === 0 ? (
|
|
32645
32666
|
// Deliberately NOT a `SelectItem` — there is nothing here
|
|
32646
32667
|
// to select, and a selectable row would put a bogus value
|
|
32647
32668
|
// in the form. It replaces a popup that opened blank; the
|
|
32648
32669
|
// Date field carries the same sentence for whoever never
|
|
32649
32670
|
// opens this one.
|
|
32650
32671
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "px-4 py-[var(--spacing-system-sf)] text-ods-text-secondary text-h6", children: NO_SLOTS_TODAY_MESSAGE })
|
|
32651
|
-
) : timeSlots.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32672
|
+
) : timeSlots.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
32652
32673
|
] })
|
|
32653
32674
|
)
|
|
32654
32675
|
}
|
|
@@ -32662,7 +32683,7 @@ function ScheduleTimingFields({
|
|
|
32662
32683
|
name: "timeReference",
|
|
32663
32684
|
control,
|
|
32664
32685
|
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32665
|
-
|
|
32686
|
+
_chunkFNNDGOR3cjs.Select,
|
|
32666
32687
|
{
|
|
32667
32688
|
value: field.value,
|
|
32668
32689
|
onValueChange: (value) => {
|
|
@@ -32671,8 +32692,8 @@ function ScheduleTimingFields({
|
|
|
32671
32692
|
},
|
|
32672
32693
|
disabled: fieldsDisabled,
|
|
32673
32694
|
children: [
|
|
32674
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32675
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32695
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className: "w-full", "aria-label": "Timezone", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, {}) }),
|
|
32696
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: SCHEDULE_TIME_REFERENCE_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
32676
32697
|
]
|
|
32677
32698
|
}
|
|
32678
32699
|
)
|
|
@@ -32719,7 +32740,7 @@ function ScheduleTimingFields({
|
|
|
32719
32740
|
recheckReconnectWindow();
|
|
32720
32741
|
},
|
|
32721
32742
|
disabled: fieldsDisabled || !repeatEnabled,
|
|
32722
|
-
error: showErrors ? _optionalChain([fieldState, 'access',
|
|
32743
|
+
error: showErrors ? _optionalChain([fieldState, 'access', _720 => _720.error, 'optionalAccess', _721 => _721.message]) : void 0,
|
|
32723
32744
|
invalid: showErrors && !!fieldState.error
|
|
32724
32745
|
}
|
|
32725
32746
|
)
|
|
@@ -32732,7 +32753,7 @@ function ScheduleTimingFields({
|
|
|
32732
32753
|
name: "repeatUnit",
|
|
32733
32754
|
control,
|
|
32734
32755
|
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32735
|
-
|
|
32756
|
+
_chunkFNNDGOR3cjs.Select,
|
|
32736
32757
|
{
|
|
32737
32758
|
value: field.value,
|
|
32738
32759
|
onValueChange: (value) => {
|
|
@@ -32745,8 +32766,8 @@ function ScheduleTimingFields({
|
|
|
32745
32766
|
},
|
|
32746
32767
|
disabled: fieldsDisabled || !repeatEnabled,
|
|
32747
32768
|
children: [
|
|
32748
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32749
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32769
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectValue, {}) }),
|
|
32770
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectContent, { children: DURATION_UNIT_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
32750
32771
|
]
|
|
32751
32772
|
}
|
|
32752
32773
|
)
|
|
@@ -32765,7 +32786,7 @@ function ScheduleFormFields({
|
|
|
32765
32786
|
disabled = false,
|
|
32766
32787
|
renderScriptSearch,
|
|
32767
32788
|
timeReferenceGate = "off",
|
|
32768
|
-
platforms =
|
|
32789
|
+
platforms = _chunkEYSIQORAcjs.OS_PLATFORMS,
|
|
32769
32790
|
comingSoonPlatforms = [],
|
|
32770
32791
|
getTimeSlots,
|
|
32771
32792
|
nameLayout = "stacked",
|
|
@@ -32806,7 +32827,7 @@ function ScheduleFormFields({
|
|
|
32806
32827
|
onChange: field.onChange,
|
|
32807
32828
|
disabled,
|
|
32808
32829
|
className: "w-full",
|
|
32809
|
-
error: showErrors ? _optionalChain([fieldState, 'access',
|
|
32830
|
+
error: showErrors ? _optionalChain([fieldState, 'access', _722 => _722.error, 'optionalAccess', _723 => _723.message]) : void 0,
|
|
32810
32831
|
invalid: showErrors && !!fieldState.error
|
|
32811
32832
|
}
|
|
32812
32833
|
)
|
|
@@ -32835,7 +32856,7 @@ function ScheduleFormFields({
|
|
|
32835
32856
|
platform.id
|
|
32836
32857
|
);
|
|
32837
32858
|
}) }),
|
|
32838
|
-
showErrors && formState.errors.supportedPlatforms && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-0 left-0 right-0 translate-y-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32859
|
+
showErrors && formState.errors.supportedPlatforms && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-0 left-0 right-0 translate-y-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", className: "text-ods-error", children: _nullishCoalesce(formState.errors.supportedPlatforms.message, () => ( "")) }) })
|
|
32839
32860
|
]
|
|
32840
32861
|
}
|
|
32841
32862
|
);
|
|
@@ -32911,7 +32932,7 @@ function ScheduleFormFields({
|
|
|
32911
32932
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
32912
32933
|
|
|
32913
32934
|
function ScriptPlatformIcons({ platforms }) {
|
|
32914
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
32935
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkEYSIQORAcjs.OS_PLATFORMS.filter((p) => platforms.includes(p.id)).map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, p.icon, { className: "h-3.5 w-3.5 text-ods-text-secondary opacity-60" }, p.id)) });
|
|
32915
32936
|
}
|
|
32916
32937
|
function ScheduleScriptSearchField({
|
|
32917
32938
|
scriptId,
|
|
@@ -32928,7 +32949,7 @@ function ScheduleScriptSearchField({
|
|
|
32928
32949
|
invalid = false
|
|
32929
32950
|
}) {
|
|
32930
32951
|
const handleBlur = (e) => {
|
|
32931
|
-
if (!e.currentTarget.contains(e.relatedTarget)) _optionalChain([onClose, 'optionalCall',
|
|
32952
|
+
if (!e.currentTarget.contains(e.relatedTarget)) _optionalChain([onClose, 'optionalCall', _724 => _724()]);
|
|
32932
32953
|
};
|
|
32933
32954
|
const options = scripts.map((s) => ({ label: s.name, value: s.id }));
|
|
32934
32955
|
if (scriptId && !options.some((o) => o.value === scriptId)) {
|
|
@@ -32937,7 +32958,7 @@ function ScheduleScriptSearchField({
|
|
|
32937
32958
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", onFocus: onOpen, onBlur: handleBlur, children: [
|
|
32938
32959
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3MBQRCQcjs.Label, { className: "text-h4", children: "Select Script" }),
|
|
32939
32960
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32940
|
-
|
|
32961
|
+
_chunkFNNDGOR3cjs.Autocomplete,
|
|
32941
32962
|
{
|
|
32942
32963
|
options,
|
|
32943
32964
|
value: scriptId || null,
|
|
@@ -32952,8 +32973,8 @@ function ScheduleScriptSearchField({
|
|
|
32952
32973
|
error,
|
|
32953
32974
|
invalid,
|
|
32954
32975
|
renderOption: (option, isSelected) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
32955
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32956
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScriptPlatformIcons, { platforms: _nullishCoalesce(_optionalChain([scripts, 'access',
|
|
32976
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { className: isSelected ? "text-ods-accent" : void 0, children: option.label }) }),
|
|
32977
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScriptPlatformIcons, { platforms: _nullishCoalesce(_optionalChain([scripts, 'access', _725 => _725.find, 'call', _726 => _726((s) => s.id === option.value), 'optionalAccess', _727 => _727.supportedPlatforms]), () => ( [])) })
|
|
32957
32978
|
] })
|
|
32958
32979
|
}
|
|
32959
32980
|
)
|
|
@@ -32984,7 +33005,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
32984
33005
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32985
33006
|
_chunkFCZAUK4Dcjs.Button,
|
|
32986
33007
|
{
|
|
32987
|
-
onClick: loading ? void 0 :
|
|
33008
|
+
onClick: loading ? void 0 : _chunkEYSIQORAcjs.openInNewTab.call(void 0, href),
|
|
32988
33009
|
disabled: loading,
|
|
32989
33010
|
variant: "outline",
|
|
32990
33011
|
size: "icon",
|
|
@@ -33003,10 +33024,10 @@ function KnowledgeBaseNameCell({ item }) {
|
|
|
33003
33024
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative flex h-8 w-8 shrink-0 items-center justify-center rounded-[6px] border border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 16, className: "shrink-0 text-ods-text-secondary" }) }),
|
|
33004
33025
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33005
33026
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33006
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33027
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: item.name }) }),
|
|
33007
33028
|
tagStatus && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.Tag, { variant: KNOWLEDGE_BASE_STATUS_VARIANT[tagStatus], label: tagStatus, className: "shrink-0" })
|
|
33008
33029
|
] }),
|
|
33009
|
-
item.type === "ARTICLE" && (item.summary || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33030
|
+
item.type === "ARTICLE" && (item.summary || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(item.summary, () => ( "")) })
|
|
33010
33031
|
] })
|
|
33011
33032
|
] });
|
|
33012
33033
|
}
|
|
@@ -33021,8 +33042,8 @@ function KnowledgeBaseDateCell({ item, mode }) {
|
|
|
33021
33042
|
const ts = mode === "archive" ? _nullishCoalesce(item.updatedAt, () => ( item.createdAt)) : item.createdAt;
|
|
33022
33043
|
if (!ts) return null;
|
|
33023
33044
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col whitespace-nowrap", children: [
|
|
33024
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children:
|
|
33025
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children:
|
|
33045
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children: _chunk4JHO2NVIcjs.formatDate.call(void 0, ts) }),
|
|
33046
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children: _chunk4JHO2NVIcjs.formatTime.call(void 0, ts) })
|
|
33026
33047
|
] });
|
|
33027
33048
|
}
|
|
33028
33049
|
function getKnowledgeBaseOpenColumn(getHref) {
|
|
@@ -33128,7 +33149,7 @@ function KnowledgeBaseArticleView({
|
|
|
33128
33149
|
className = "px-[var(--spacing-system-l)] pb-[var(--spacing-system-l)]"
|
|
33129
33150
|
}) {
|
|
33130
33151
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33131
|
-
|
|
33152
|
+
_chunkFNNDGOR3cjs.PageLayout,
|
|
33132
33153
|
{
|
|
33133
33154
|
title,
|
|
33134
33155
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -33138,9 +33159,9 @@ function KnowledgeBaseArticleView({
|
|
|
33138
33159
|
className,
|
|
33139
33160
|
children: [
|
|
33140
33161
|
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-[var(--spacing-system-xsf)]", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.Tag, { label: tag.label, variant: "outline", className: "max-w-full" }, tag.id)) }),
|
|
33141
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33162
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.Card, { className: "border-ods-border px-[var(--spacing-system-mf)] py-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 gap-x-[var(--spacing-system-mf)] content-lg:grid-cols-3", children: [
|
|
33142
33163
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33143
|
-
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33164
|
+
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWMUW3RRcjs.DeletedUserAvatar, { size: "md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33144
33165
|
_chunkGRHF5SWLcjs.SquareAvatar,
|
|
33145
33166
|
{
|
|
33146
33167
|
src: author.imageUrl,
|
|
@@ -33151,12 +33172,12 @@ function KnowledgeBaseArticleView({
|
|
|
33151
33172
|
}
|
|
33152
33173
|
),
|
|
33153
33174
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33154
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33175
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { className: author.deleted ? "text-ods-error" : void 0, children: _nullishCoalesce(author.name, () => ( "Unknown")) }),
|
|
33155
33176
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Author" })
|
|
33156
33177
|
] })
|
|
33157
33178
|
] }),
|
|
33158
33179
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 flex-col justify-center", children: [
|
|
33159
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33180
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { children: updatedLabel }),
|
|
33160
33181
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Updated" })
|
|
33161
33182
|
] }),
|
|
33162
33183
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -33234,7 +33255,7 @@ function TicketStatusConfigList({
|
|
|
33234
33255
|
) }) }) }) })
|
|
33235
33256
|
);
|
|
33236
33257
|
}
|
|
33237
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableList, { onReorder, getItemLabel, className: _chunk63A4GZMBcjs.cn.call(void 0, LIST_CLASS, className), children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall',
|
|
33258
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableList, { onReorder, getItemLabel, className: _chunk63A4GZMBcjs.cn.call(void 0, LIST_CLASS, className), children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall', _728 => _728(index)]), children: (args) => renderRow(item, args) }, item.id)) });
|
|
33238
33259
|
}
|
|
33239
33260
|
function SortableRow({
|
|
33240
33261
|
index,
|
|
@@ -33302,7 +33323,7 @@ function ConversationCard({
|
|
|
33302
33323
|
className,
|
|
33303
33324
|
loading: loadingProp
|
|
33304
33325
|
}) {
|
|
33305
|
-
const tint =
|
|
33326
|
+
const tint = _chunkJBTH3O2Ccjs.useAgentTint.call(void 0, agent);
|
|
33306
33327
|
const requestId = _react.useId.call(void 0, );
|
|
33307
33328
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
33308
33329
|
if (loading) {
|
|
@@ -33329,13 +33350,13 @@ function ConversationCard({
|
|
|
33329
33350
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
33330
33351
|
CARD_FRAME_CLASS,
|
|
33331
33352
|
selection && "cursor-pointer transition-colors hover:border-ods-border-hover",
|
|
33332
|
-
_optionalChain([selection, 'optionalAccess',
|
|
33353
|
+
_optionalChain([selection, 'optionalAccess', _729 => _729.pressed]) && "border-ods-accent ring-1 ring-ods-accent",
|
|
33333
33354
|
className
|
|
33334
33355
|
),
|
|
33335
33356
|
style: tint,
|
|
33336
33357
|
onClick: selection && ((event) => {
|
|
33337
|
-
if (event.button !== 0 || _optionalChain([window, 'access',
|
|
33338
|
-
if (!
|
|
33358
|
+
if (event.button !== 0 || _optionalChain([window, 'access', _730 => _730.getSelection, 'call', _731 => _731(), 'optionalAccess', _732 => _732.toString, 'call', _733 => _733()])) return;
|
|
33359
|
+
if (!_chunkEYSIQORAcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33339
33360
|
selection.onToggle();
|
|
33340
33361
|
}),
|
|
33341
33362
|
children: [
|
|
@@ -33358,7 +33379,7 @@ function ConversationCard({
|
|
|
33358
33379
|
)
|
|
33359
33380
|
),
|
|
33360
33381
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33361
|
-
|
|
33382
|
+
_chunkEYSIQORAcjs.ChatTurn,
|
|
33362
33383
|
{
|
|
33363
33384
|
avatar: requester.avatar,
|
|
33364
33385
|
name: requester.name,
|
|
@@ -33376,10 +33397,10 @@ function ConversationCard({
|
|
|
33376
33397
|
),
|
|
33377
33398
|
context && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTEXT_BLOCK_CLASS, children: [
|
|
33378
33399
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CONTEXT_LABEL_CLASS, children: context.label }),
|
|
33379
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess',
|
|
33400
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _734 => _734.context])), children: context.text })
|
|
33380
33401
|
] }),
|
|
33381
33402
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33382
|
-
|
|
33403
|
+
_chunkEYSIQORAcjs.ChatTurn,
|
|
33383
33404
|
{
|
|
33384
33405
|
avatar: responder.avatar,
|
|
33385
33406
|
name: responder.name,
|
|
@@ -33387,7 +33408,7 @@ function ConversationCard({
|
|
|
33387
33408
|
time: responder.time,
|
|
33388
33409
|
className: ANSWER_BLOCK_CLASS,
|
|
33389
33410
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: OUTCOME_ROW_CLASS, children: [
|
|
33390
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: OUTCOME_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess',
|
|
33411
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: OUTCOME_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _735 => _735.outcome])), children: outcome }),
|
|
33391
33412
|
outcomeAside,
|
|
33392
33413
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: OUTCOME_CHECK_CLASS, style: OUTCOME_CHECK_STYLE, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHFNBMV5Mcjs.CheckCircleIcon, { size: 16, className: "text-ods-success", "aria-hidden": true }) })
|
|
33393
33414
|
] })
|
|
@@ -33416,15 +33437,15 @@ function ConversationCardSkeleton({
|
|
|
33416
33437
|
announce = true,
|
|
33417
33438
|
className
|
|
33418
33439
|
}) {
|
|
33419
|
-
const contextLines = partLines(_optionalChain([lines, 'optionalAccess',
|
|
33420
|
-
const outcomeLines = partLines(_optionalChain([lines, 'optionalAccess',
|
|
33440
|
+
const contextLines = partLines(_optionalChain([lines, 'optionalAccess', _736 => _736.context]));
|
|
33441
|
+
const outcomeLines = partLines(_optionalChain([lines, 'optionalAccess', _737 => _737.outcome]));
|
|
33421
33442
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label, announce, className: _chunk63A4GZMBcjs.cn.call(void 0, CARD_FRAME_CLASS, className), children: [
|
|
33422
33443
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33423
33444
|
RequesterRow,
|
|
33424
33445
|
{
|
|
33425
33446
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33426
33447
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33427
|
-
|
|
33448
|
+
_chunkEYSIQORAcjs.ChatTurn,
|
|
33428
33449
|
{
|
|
33429
33450
|
loading: true,
|
|
33430
33451
|
name: "",
|
|
@@ -33448,7 +33469,7 @@ function ConversationCardSkeleton({
|
|
|
33448
33469
|
] })
|
|
33449
33470
|
] }),
|
|
33450
33471
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33451
|
-
|
|
33472
|
+
_chunkEYSIQORAcjs.ChatTurn,
|
|
33452
33473
|
{
|
|
33453
33474
|
loading: true,
|
|
33454
33475
|
name: "",
|
|
@@ -33529,7 +33550,7 @@ function Highlights({ items, className }) {
|
|
|
33529
33550
|
if (items.length === 0) return null;
|
|
33530
33551
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: _chunk63A4GZMBcjs.cn.call(void 0, "grid grid-cols-1 gap-2", className), children: items.slice(0, HIGHLIGHTS_LIMIT).map((text) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { "data-loading-item": true, className: HIGHLIGHT_ROW_CLASS, children: [
|
|
33531
33552
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: HIGHLIGHT_ICON_PX, className: "shrink-0 text-ods-flamingo-cyan" }),
|
|
33532
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33553
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", triggerClassName: "flex-1", children: text })
|
|
33533
33554
|
] }, text)) });
|
|
33534
33555
|
}
|
|
33535
33556
|
function Example({
|
|
@@ -33562,19 +33583,19 @@ function Example({
|
|
|
33562
33583
|
),
|
|
33563
33584
|
children: [
|
|
33564
33585
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 gap-2.5", children: [
|
|
33565
|
-
mark(_nullishCoalesce(_optionalChain([requester, 'optionalAccess',
|
|
33586
|
+
mark(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _738 => _738.mark]), () => ( requesterMark))),
|
|
33566
33587
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
33567
|
-
who(_nullishCoalesce(_optionalChain([requester, 'optionalAccess',
|
|
33568
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33588
|
+
who(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _739 => _739.name]), () => ( labels.requester)), _nullishCoalesce(_optionalChain([requester, 'optionalAccess', _740 => _740.note]), () => ( labels.requesterNote))),
|
|
33589
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { lines: 2, variant: "h4", className: "min-h-[2lh]", children: `\u201C${example.request}\u201D` })
|
|
33569
33590
|
] })
|
|
33570
33591
|
] }),
|
|
33571
33592
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 gap-2.5 border-t border-ods-border pt-3", children: [
|
|
33572
|
-
mark(_nullishCoalesce(_optionalChain([responder, 'optionalAccess',
|
|
33593
|
+
mark(_nullishCoalesce(_optionalChain([responder, 'optionalAccess', _741 => _741.mark]), () => ( responderMark))),
|
|
33573
33594
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
33574
|
-
who(_nullishCoalesce(_optionalChain([responder, 'optionalAccess',
|
|
33595
|
+
who(_nullishCoalesce(_optionalChain([responder, 'optionalAccess', _742 => _742.name]), () => ( labels.responder)), _nullishCoalesce(_optionalChain([responder, 'optionalAccess', _743 => _743.note]), () => ( labels.responderNote))),
|
|
33575
33596
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-start gap-2", children: [
|
|
33576
33597
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: 16, className: "mt-0.5 shrink-0 text-ods-flamingo-cyan" }),
|
|
33577
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33598
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", className: "min-h-[2lh]", triggerClassName: "flex-1", children: example.outcome })
|
|
33578
33599
|
] })
|
|
33579
33600
|
] })
|
|
33580
33601
|
] })
|
|
@@ -33584,7 +33605,7 @@ function Example({
|
|
|
33584
33605
|
}
|
|
33585
33606
|
function ExampleSkeleton({ className }) {
|
|
33586
33607
|
const turn = (first) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex min-w-0 gap-2.5", !first && "border-t border-ods-border pt-3"), children: [
|
|
33587
|
-
first ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.SquareAvatar, { loading: true, variant: "round", sizePx: EXAMPLE_MARK_PX, className: "shrink-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33608
|
+
first ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.SquareAvatar, { loading: true, variant: "round", sizePx: EXAMPLE_MARK_PX, className: "shrink-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5L3UKDC6cjs.AgentAvatar, { loading: true, agent: "", size: EXAMPLE_MARK_PX }),
|
|
33588
33609
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
33589
33610
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h6", className: "w-28" }),
|
|
33590
33611
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-[2lh] text-h4", children: [
|
|
@@ -33710,16 +33731,16 @@ function CapabilityExplorer({
|
|
|
33710
33731
|
readItems: true,
|
|
33711
33732
|
renderItem: (item) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk63A4GZMBcjs.cn.call(void 0, CARD_CLASS2, CARD_HEIGHT_CLASS), children: [
|
|
33712
33733
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_HEAD_ROW_CLASS, children: [
|
|
33713
|
-
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, "text-ods-flamingo-cyan"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33734
|
+
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, "text-ods-flamingo-cyan"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
33714
33735
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
33715
33736
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
33716
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33737
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
33717
33738
|
item.badge
|
|
33718
33739
|
] }),
|
|
33719
|
-
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33740
|
+
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { variant: "h6", tone: "secondary", children: item.caption })
|
|
33720
33741
|
] })
|
|
33721
33742
|
] }),
|
|
33722
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33743
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { lines: 3, variant: "h6", tone: "secondary", className: "min-h-[3lh]", children: item.intro }),
|
|
33723
33744
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-lg border border-ods-border", children: renderScreen(item, { compact: true }) }),
|
|
33724
33745
|
item.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33725
33746
|
Example,
|
|
@@ -33748,7 +33769,7 @@ function CapabilityExplorer({
|
|
|
33748
33769
|
if (next === null) return;
|
|
33749
33770
|
event.preventDefault();
|
|
33750
33771
|
onActiveChange(items[next].id);
|
|
33751
|
-
_optionalChain([listRef, 'access',
|
|
33772
|
+
_optionalChain([listRef, 'access', _744 => _744.current, 'optionalAccess', _745 => _745.querySelectorAll, 'call', _746 => _746('[role="tab"]'), 'access', _747 => _747[next], 'optionalAccess', _748 => _748.focus, 'call', _749 => _749()]);
|
|
33752
33773
|
};
|
|
33753
33774
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33754
33775
|
"div",
|
|
@@ -33790,7 +33811,7 @@ function CapabilityExplorer({
|
|
|
33790
33811
|
"span",
|
|
33791
33812
|
{
|
|
33792
33813
|
className: _chunk63A4GZMBcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, selected ? "text-ods-flamingo-cyan" : "text-ods-text-secondary"),
|
|
33793
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33814
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 })
|
|
33794
33815
|
}
|
|
33795
33816
|
),
|
|
33796
33817
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "min-w-0 flex-1", children: [
|
|
@@ -33836,8 +33857,8 @@ function CapabilityExplorer({
|
|
|
33836
33857
|
),
|
|
33837
33858
|
children: [
|
|
33838
33859
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: PANEL_INTRO_CLASS, children: [
|
|
33839
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33840
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33860
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { lines: 2, variant: "h2", className: "mb-2", children: active.title }),
|
|
33861
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFNNDGOR3cjs.TruncateText, { lines: 3, variant: "h4", tone: "secondary", className: "min-h-[3lh]", children: active.intro }),
|
|
33841
33862
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Highlights, { items: _nullishCoalesce(active.highlights, () => ( [])), className: "mt-auto" })
|
|
33842
33863
|
] }),
|
|
33843
33864
|
active.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -34544,4 +34565,6 @@ function CapabilityExplorer({
|
|
|
34544
34565
|
|
|
34545
34566
|
|
|
34546
34567
|
|
|
34547
|
-
exports.AllowedDomainsInput = AllowedDomainsInput; exports.ANNOUNCEMENT_BAR_HEIGHT_CLASS = ANNOUNCEMENT_BAR_HEIGHT_CLASS; exports.AnnouncementBarView = AnnouncementBarView; exports.timezoneLabel = timezoneLabel; exports.timezoneOptions = timezoneOptions; exports.TimezoneSelect = TimezoneSelect; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.DatePickerCalendar = DatePickerCalendar; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.HoneypotField = HoneypotField; exports.JsonDetailList = JsonDetailList; exports.PROGRESS_BAR_HEIGHT = PROGRESS_BAR_HEIGHT; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; 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.RADIO_GROUP_BLOCK_SKELETON_OPTIONS = RADIO_GROUP_BLOCK_SKELETON_OPTIONS; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TAGS_INPUT_CLASS = TAGS_INPUT_CLASS; exports.TAGS_INPUT_ROW_CLASS = TAGS_INPUT_ROW_CLASS; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.TEXTAREA_BOX_CLASS = TEXTAREA_BOX_CLASS; exports.textareaBoxHeight = textareaBoxHeight; 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.AdminFormDrawer = AdminFormDrawer; exports.AdminFormModal = AdminFormModal; exports.Separator = Separator; 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.TabNavigationVariantProvider = TabNavigationVariantProvider; exports.TAB_AVATAR_PX = TAB_AVATAR_PX; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.previewFadeMask = previewFadeMask; exports.FADE_PREVIEW_MAX_UNMEASURED_ITEMS = FADE_PREVIEW_MAX_UNMEASURED_ITEMS; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.EmbedLoadingSkeleton = EmbedLoadingSkeleton; 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.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.AppStoreBadge = AppStoreBadge; exports.GooglePlayBadge = GooglePlayBadge; exports.StoreBadgeLinks = StoreBadgeLinks; exports.MobileAppQr = MobileAppQr; exports.StatusIndicator = StatusIndicator; exports.DATA_SYNC_SOURCES = DATA_SYNC_SOURCES; exports.isDataSyncSource = isDataSyncSource; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.PageShell = PageShell; exports.PageMain = PageMain; exports.ArticleDetailLayout = ArticleDetailLayout; exports.TOGGLE_SIZE_CLASS = TOGGLE_SIZE_CLASS; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.BenefitCard = BenefitCard; exports.benefitCardBorderClass = benefitCardBorderClass; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.StepArrowButton = StepArrowButton; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.DataAttribution = DataAttribution; exports.DataSyncLine = DataSyncLine; exports.DownloadButton = DownloadButton; exports.COMPLIANCE_LOGO_SIZE_CLASS = COMPLIANCE_LOGO_SIZE_CLASS; exports.ComplianceBadge = ComplianceBadge; exports.ComplianceLogo = ComplianceLogo; exports.FeatureCardGrid = FeatureCardGrid; exports.StepNumber = StepNumber; exports.NumberedStep = NumberedStep; exports.FEATURE_LIST_SKELETON_COUNT = FEATURE_LIST_SKELETON_COUNT; exports.FeatureList = FeatureList; exports.formatTrendChange = formatTrendChange; exports.TREND_TONES = TREND_TONES; exports.trendTone = trendTone; exports.trendToneClass = trendToneClass; exports.trendlinePoints = trendlinePoints; exports.Trendline = Trendline; exports.TrendHistory = TrendHistory; exports.SourceTooltip = SourceTooltip; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.ORGANIZATION_CARD_RADIUS_CLASS = ORGANIZATION_CARD_RADIUS_CLASS; exports.ORGANIZATION_CARD_LAYOUT_CLASS = ORGANIZATION_CARD_LAYOUT_CLASS; exports.ORGANIZATION_CARD_SURFACE_CLASS = ORGANIZATION_CARD_SURFACE_CLASS; exports.ORGANIZATION_CARD_HEADER_CLASS = ORGANIZATION_CARD_HEADER_CLASS; exports.ORGANIZATION_CARD_TEXT_CLASS = ORGANIZATION_CARD_TEXT_CLASS; exports.ORGANIZATION_CARD_DESCRIPTION_CLASS = ORGANIZATION_CARD_DESCRIPTION_CLASS; exports.ORGANIZATION_CARD_FOOTER_CLASS = ORGANIZATION_CARD_FOOTER_CLASS; exports.ORGANIZATION_CARD_STATS_CLASS = ORGANIZATION_CARD_STATS_CLASS; exports.ORGANIZATION_CARD_STAT_CLASS = ORGANIZATION_CARD_STAT_CLASS; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.PersonCell = PersonCell; exports.PeopleCell = PeopleCell; exports.TitleContentBlock = TitleContentBlock; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DATA_TABLE_ROW_FRAME_CLASS = DATA_TABLE_ROW_FRAME_CLASS; exports.ROW_STACK_CLASSES = ROW_STACK_CLASSES; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableHeader = QueryReportTableHeader; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.dataTableLoadingRows = dataTableLoadingRows; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; 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.TRIAL_TERM_ICONS = TRIAL_TERM_ICONS; exports.DEFAULT_TRIAL_TERMS = DEFAULT_TRIAL_TERMS; exports.trialBenefits = trialBenefits; exports.BenefitList = BenefitList; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.CompactAuthShell = CompactAuthShell; exports.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SSO_PROVIDERS_SKELETON_COUNT = SSO_PROVIDERS_SKELETON_COUNT; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.NoAccountNotice = NoAccountNotice; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.SsoJoinForm = SsoJoinForm; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.ENTITY_TAG_BADGES_SKELETON_COUNT = ENTITY_TAG_BADGES_SKELETON_COUNT; exports.ENTITY_TAG_BADGES_PHONE_CAP = ENTITY_TAG_BADGES_PHONE_CAP; 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.useMediaIntake = useMediaIntake; exports.MediaUploadArea = MediaUploadArea; exports.MediaGalleryManager = MediaGalleryManager; exports.PushButtonSelector = PushButtonSelector; exports.MODEL_TOKEN_RATES_COPY = MODEL_TOKEN_RATES_COPY; exports.ModelTokenRates = ModelTokenRates; exports.ModelTokenRatesPopover = ModelTokenRatesPopover; exports.ModelTokenRatesUnavailable = ModelTokenRatesUnavailable; exports.MODEL_TOKEN_EXCHANGE_BALANCE = MODEL_TOKEN_EXCHANGE_BALANCE; exports.MODEL_TOKEN_EXCHANGE_RANGE = MODEL_TOKEN_EXCHANGE_RANGE; exports.ModelTokenExchange = ModelTokenExchange; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PATHS_DISPLAY_SKELETON_ROWS = PATHS_DISPLAY_SKELETON_ROWS; 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.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; exports.socialIcon = socialIcon; exports.socialIconRowClass = socialIconRowClass; exports.socialIconButtonProps = socialIconButtonProps; exports.SocialIconRow = SocialIconRow; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.STATUS_FILTER_SKELETON_PILLS = STATUS_FILTER_SKELETON_PILLS; 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.APPROVAL_LEVELS = APPROVAL_LEVELS; exports.APPROVAL_LEVEL_META = APPROVAL_LEVEL_META; exports.ApprovalLevelView = ApprovalLevelView; exports.POLICY_CONFIGURATION_PANEL_SKELETON_CATEGORIES = POLICY_CONFIGURATION_PANEL_SKELETON_CATEGORIES; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PoliciesTable = PoliciesTable; exports.PolicySummaryCards = PolicySummaryCards; exports.POLICY_STATUS_CONFIG = POLICY_STATUS_CONFIG; exports.getPolicyStatus = getPolicyStatus; exports.getPolicyTableStatus = getPolicyTableStatus; exports.computePolicySummary = computePolicySummary; exports.TENANT_EMPTY_VALUE = TENANT_EMPTY_VALUE; exports.accessStateTag = accessStateTag; exports.providerMark = providerMark2; exports.lastReadAt = lastReadAt; exports.formatLastRead = formatLastRead; exports.usersCountLabel = usersCountLabel; exports.TenantAccessCell = TenantAccessCell; exports.TenantCell = TenantCell; exports.TenantCustomerCell = TenantCustomerCell; exports.TENANT_COLUMNS = TENANT_COLUMNS; exports.TENANTS_TABLE_COLUMNS = TENANTS_TABLE_COLUMNS; exports.TenantsTableView = TenantsTableView; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.TICKET_APPROVAL_REQUEST_TYPE = TICKET_APPROVAL_REQUEST_TYPE; exports.MINGO_APPROVAL_REQUEST_TYPE = MINGO_APPROVAL_REQUEST_TYPE; exports.isApprovalNotificationType = isApprovalNotificationType; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.UnreadDot = UnreadDot; exports.UnreadCountBadge = UnreadCountBadge; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.formatLastOnline = formatLastOnline; exports.getDeviceName = getDeviceName; exports.matchesDeviceName = matchesDeviceName; exports.DevicesViewConfigProvider = DevicesViewConfigProvider; exports.useDevicesViewConfig = useDevicesViewConfig; exports.useDeviceImageUrl = useDeviceImageUrl; exports.DeviceSelectionModeRadio = DeviceSelectionModeRadio; exports.getDeviceStatusConfig = getDeviceStatusConfig; exports.getDeviceOperatingSystem = getDeviceOperatingSystem; exports.DEVICE_STATUS = DEVICE_STATUS; exports.DEFAULT_VISIBLE_STATUSES = DEFAULT_VISIBLE_STATUSES; exports.DEFAULT_DASHBOARD_STATUSES = DEFAULT_DASHBOARD_STATUSES; exports.DEFAULT_DEVICES_LIST_STATUSES = DEFAULT_DEVICES_LIST_STATUSES; exports.DEVICE_ENRICHMENT_STATUSES = DEVICE_ENRICHMENT_STATUSES; exports.DEVICE_ENRICHMENT_FILTER = DEVICE_ENRICHMENT_FILTER; exports.HIDDEN_DEVICE_STATUSES = HIDDEN_DEVICE_STATUSES; exports.renderDeviceTypeIcon = renderDeviceTypeIcon; exports.DeviceTypeTile = DeviceTypeTile; exports.DeviceTagsFilterButton = DeviceTagsFilterButton; exports.DevicesFilterToolbar = DevicesFilterToolbar; exports.getDeviceActionsColumn = getDeviceActionsColumn; exports.getDeviceOpenColumn = getDeviceOpenColumn; exports.DevicesTableBody = DevicesTableBody; exports.getDeviceFilterColumns = getDeviceFilterColumns; exports.getDeviceTableColumns = getDeviceTableColumns; exports.useTagFilterModal = useTagFilterModal; exports.DeviceSelector = DeviceSelector; exports.EMPTY_NARROWING = EMPTY_NARROWING; exports.narrowingToFilter = narrowingToFilter; exports.DevicesGrid = DevicesGrid; exports.DevicesGridFilters = DevicesGridFilters; exports.EMPTY_DEVICES_NARROWING = EMPTY_DEVICES_NARROWING; exports.isNarrowed = isNarrowed; exports.DevicesList = DevicesList; exports.DEVICE_VIEW_MODE_ITEMS = DEVICE_VIEW_MODE_ITEMS; exports.buildDevicePanelActions = buildDevicePanelActions; exports.IDLE_DEVICES_TOOLBAR = IDLE_DEVICES_TOOLBAR; exports.DevicesPanelView = DevicesPanelView; exports.PACKAGE_MANAGERS = PACKAGE_MANAGERS; exports.PACKAGE_MANAGER_LABEL = PACKAGE_MANAGER_LABEL; exports.PACKAGE_MANAGER_ICON = PACKAGE_MANAGER_ICON; exports.PACKAGE_MANAGER_OS = PACKAGE_MANAGER_OS; exports.packageManagerLabel = packageManagerLabel; exports.SOFTWARE_SOURCE_LABEL = SOFTWARE_SOURCE_LABEL; exports.PACKAGE_SEARCH_LABEL = PACKAGE_SEARCH_LABEL; exports.PACKAGE_SEARCH_PLACEHOLDER = PACKAGE_SEARCH_PLACEHOLDER; exports.PackageSearchFieldPlaceholder = PackageSearchFieldPlaceholder; exports.SoftwareScheduleFields = SoftwareScheduleFields; exports.SOFTWARE_ACTION_COPY = SOFTWARE_ACTION_COPY; exports.SOFTWARE_ACTION_DETAIL_TITLE = SOFTWARE_ACTION_DETAIL_TITLE; exports.softwareActionCopy = softwareActionCopy; exports.newSoftwareRow = newSoftwareRow; exports.SoftwareRowFields = SoftwareRowFields; exports.SoftwareActionForm = SoftwareActionForm; exports.LogDrawer = LogDrawer; exports.SYSTEM_SOURCE_LABEL = SYSTEM_SOURCE_LABEL; exports.logSourceLabels = logSourceLabels; exports.LogsPageView = LogsPageView; exports.LogCopyIconButton = LogCopyIconButton; exports.LOG_COLUMN_WIDTHS = LOG_COLUMN_WIDTHS; exports.TOOL_CHIP_HEIGHT = TOOL_CHIP_HEIGHT; exports.ToolBadge = ToolBadge; exports.LogsTableView = LogsTableView; exports.logSeverityVariant = logSeverityVariant; exports.SCRIPT_EXECUTION_STATUS_PRESENTATION = SCRIPT_EXECUTION_STATUS_PRESENTATION; exports.scriptExecutionStatus = scriptExecutionStatus; exports.ExecutionSourceBadge = ExecutionSourceBadge; exports.ExecutionTimestampCell = ExecutionTimestampCell; exports.ExecutionStatusCell = ExecutionStatusCell; exports.ExecutionDeviceCell = ExecutionDeviceCell; exports.ExecutionInitiatorCell = ExecutionInitiatorCell; exports.ExecutionResultCell = ExecutionResultCell; exports.ScriptExecutionResult = ScriptExecutionResult; exports.ScriptNameCell = ScriptNameCell; exports.ScheduleDateTimeCell = ScheduleDateTimeCell; exports.SCRIPT_COLUMNS = SCRIPT_COLUMNS; exports.SCHEDULE_COLUMNS = SCHEDULE_COLUMNS; exports.EXECUTION_COLUMNS = EXECUTION_COLUMNS; exports.SCRIPTS_TAB_WIDTHS = SCRIPTS_TAB_WIDTHS; exports.SCRIPTS_TABLE_COLUMNS = SCRIPTS_TABLE_COLUMNS; exports.SCHEDULES_TABLE_COLUMNS = SCHEDULES_TABLE_COLUMNS; exports.EXECUTIONS_TABLE_COLUMNS = EXECUTIONS_TABLE_COLUMNS; exports.scriptsColumnMeta = scriptsColumnMeta; exports.RowActionsCell = RowActionsCell; exports.OpenInNewTabCell = OpenInNewTabCell; exports.ScriptExecutionsTable = ScriptExecutionsTable; exports.ScriptSchedulesTable = ScriptSchedulesTable; exports.SCRIPT_SHELL_TYPES = SCRIPT_SHELL_TYPES; exports.scriptShellType = scriptShellType; exports.scriptShellLabel = scriptShellLabel; exports.ScriptShellBadge = ScriptShellBadge; exports.ScriptsTable = ScriptsTable; exports.SCRIPTS_TABS = SCRIPTS_TABS; exports.SCRIPT_SCHEDULE_TRIGGER = SCRIPT_SCHEDULE_TRIGGER; exports.SCHEDULE_TIME_REFERENCE = SCHEDULE_TIME_REFERENCE; exports.SCHEDULE_OFFLINE_BEHAVIOR = SCHEDULE_OFFLINE_BEHAVIOR; exports.isEventTrigger = isEventTrigger; exports.isDeviceLocalTime = isDeviceLocalTime; exports.DURATION_UNIT_VALUES = DURATION_UNIT_VALUES; exports.DURATION_UNIT_SECONDS = DURATION_UNIT_SECONDS; exports.DURATION_UNIT_LABELS = DURATION_UNIT_LABELS; exports.MIN_REPEAT_MINUTES = MIN_REPEAT_MINUTES; exports.DURATION_UNIT_OPTIONS = DURATION_UNIT_OPTIONS; exports.snapRepeatInterval = snapRepeatInterval; exports.isRetryOnReconnect = isRetryOnReconnect; exports.MIN_RECONNECT_MINUTES = MIN_RECONNECT_MINUTES; exports.snapReconnectInterval = snapReconnectInterval; exports.DEFAULT_RECONNECT_WINDOW = DEFAULT_RECONNECT_WINDOW; exports.isSlotOnGrid = isSlotOnGrid; exports.getTimeSlotOptions = getTimeSlotOptions; exports.slotToLabel = slotToLabel; exports.startOfToday = startOfToday; exports.earliestDeviceLocalDay = earliestDeviceLocalDay; exports.earliestScheduleDay = earliestScheduleDay; exports.isScheduleStartInPast = isScheduleStartInPast; exports.PAST_START_MESSAGE = PAST_START_MESSAGE; exports.NO_SLOTS_TODAY_MESSAGE = NO_SLOTS_TODAY_MESSAGE; exports.isStartInPastAndChanged = isStartInPastAndChanged; exports.dateToTimeSlot = dateToTimeSlot; exports.applyTimeSlot = applyTimeSlot; exports.fromScheduleInstant = fromScheduleInstant; exports.EMPTY_SCHEDULE_SCRIPT_ROW = EMPTY_SCHEDULE_SCRIPT_ROW; exports.SCHEDULE_TRIGGER_OPTIONS = SCHEDULE_TRIGGER_OPTIONS; exports.SCHEDULE_TIME_REFERENCE_OPTIONS = SCHEDULE_TIME_REFERENCE_OPTIONS; exports.SCHEDULE_OFFLINE_BEHAVIOR_OPTIONS = SCHEDULE_OFFLINE_BEHAVIOR_OPTIONS; exports.DEFAULT_SCHEDULE_FORM_VALUES = DEFAULT_SCHEDULE_FORM_VALUES; exports.ScheduleIntervalInput = ScheduleIntervalInput; exports.ScheduleOfflineFields = ScheduleOfflineFields; exports.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableList = SortableList; exports.ScriptArguments = ScriptArguments; exports.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; exports.ScheduleScriptPickerCard = ScheduleScriptPickerCard; exports.ScheduleScriptsField = ScheduleScriptsField; exports.ScheduleTimingFields = ScheduleTimingFields; exports.ScheduleFormFields = ScheduleFormFields; exports.ScheduleScriptSearchField = ScheduleScriptSearchField; exports.KNOWLEDGE_BASE_ITEM_ICON = KNOWLEDGE_BASE_ITEM_ICON; exports.getKnowledgeBaseOpenColumn = getKnowledgeBaseOpenColumn; exports.getKnowledgeBaseColumns = getKnowledgeBaseColumns; exports.KnowledgeBaseTableBody = KnowledgeBaseTableBody; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketDetailSection = TicketDetailSection; exports.KnowledgeBaseArticleView = KnowledgeBaseArticleView; exports.SortableDragHandle = SortableDragHandle; 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.TICKET_STATUS_CONFIG_LIST_SKELETON_ROWS = TICKET_STATUS_CONFIG_LIST_SKELETON_ROWS; exports.TicketStatusConfigList = TicketStatusConfigList; exports.CONVERSATION_CARD_AVATAR_PX = CONVERSATION_CARD_AVATAR_PX; exports.ConversationCard = ConversationCard; exports.SNAP_CAROUSEL_GAP_PX = SNAP_CAROUSEL_GAP_PX; exports.SNAP_CAROUSEL_TRACK_CLASS = SNAP_CAROUSEL_TRACK_CLASS; exports.SnapCarouselSlide = SnapCarouselSlide; exports.SnapCarouselControls = SnapCarouselControls; exports.SnapCarousel = SnapCarousel; exports.capabilityTabId = capabilityTabId; exports.CapabilityExplorer = CapabilityExplorer; 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.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownLinkDialog = MarkdownLinkDialog; exports.useMarkdownLinkCommand = useMarkdownLinkCommand; exports.MarkdownEditorFieldSkeleton = MarkdownEditorFieldSkeleton; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.formatTestRunDuration = formatTestRunDuration; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.withTicketAssigneeAvatars = withTicketAssigneeAvatars; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.PHOTO_WALL_FRAME = PHOTO_WALL_FRAME; exports.photoWallRequestWidth = photoWallRequestWidth; exports.photoOrientation = photoOrientation; exports.arrangePhotoWall = arrangePhotoWall; exports.PhotoWall = PhotoWall; exports.FilterPillRow = FilterPillRow; exports.LazyMount = LazyMount; exports.AppWindowFrame = AppWindowFrame; exports.PRODUCT_SCREEN_DESIGN_WIDTH = PRODUCT_SCREEN_DESIGN_WIDTH; exports.PRODUCT_SCREEN_READABLE_WIDTH = PRODUCT_SCREEN_READABLE_WIDTH; exports.PRODUCT_SCREEN_SCALE_FROM = PRODUCT_SCREEN_SCALE_FROM; exports.ProductScreenFrame = ProductScreenFrame; exports.PhoneFrame = PhoneFrame; exports.NotificationStack = NotificationStack; exports.StripCard = StripCard; exports.LeaderRow = LeaderRow; exports.AnalyzingState = AnalyzingState; exports.IncidentStatusLine = IncidentStatusLine; exports.IncidentFeed = IncidentFeed; exports.useBetweenAnchors = useBetweenAnchors; exports.StickyActionBar = StickyActionBar; exports.SuperUserBannerView = SuperUserBannerView; exports.IconTile = IconTile;
|
|
34568
|
+
|
|
34569
|
+
|
|
34570
|
+
exports.AllowedDomainsInput = AllowedDomainsInput; exports.ANNOUNCEMENT_BAR_HEIGHT_CLASS = ANNOUNCEMENT_BAR_HEIGHT_CLASS; exports.AnnouncementBarView = AnnouncementBarView; exports.timezoneLabel = timezoneLabel; exports.timezoneOptions = timezoneOptions; exports.TimezoneSelect = TimezoneSelect; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.DatePickerCalendar = DatePickerCalendar; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.HoneypotField = HoneypotField; exports.JsonDetailList = JsonDetailList; exports.PROGRESS_BAR_HEIGHT = PROGRESS_BAR_HEIGHT; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; 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.RADIO_GROUP_BLOCK_SKELETON_OPTIONS = RADIO_GROUP_BLOCK_SKELETON_OPTIONS; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TAGS_INPUT_CLASS = TAGS_INPUT_CLASS; exports.TAGS_INPUT_ROW_CLASS = TAGS_INPUT_ROW_CLASS; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.TEXTAREA_BOX_CLASS = TEXTAREA_BOX_CLASS; exports.textareaBoxHeight = textareaBoxHeight; 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.AdminFormDrawer = AdminFormDrawer; exports.AdminFormModal = AdminFormModal; exports.Separator = Separator; 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.TabNavigationVariantProvider = TabNavigationVariantProvider; exports.TAB_AVATAR_PX = TAB_AVATAR_PX; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.previewFadeMask = previewFadeMask; exports.FADE_PREVIEW_MAX_UNMEASURED_ITEMS = FADE_PREVIEW_MAX_UNMEASURED_ITEMS; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.EmbedLoadingSkeleton = EmbedLoadingSkeleton; 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.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.AppStoreBadge = AppStoreBadge; exports.GooglePlayBadge = GooglePlayBadge; exports.StoreBadgeLinks = StoreBadgeLinks; exports.MobileAppQr = MobileAppQr; exports.StatusIndicator = StatusIndicator; exports.DATA_SYNC_SOURCES = DATA_SYNC_SOURCES; exports.isDataSyncSource = isDataSyncSource; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.PageShell = PageShell; exports.PageMain = PageMain; exports.ArticleDetailLayout = ArticleDetailLayout; exports.TOGGLE_SIZE_CLASS = TOGGLE_SIZE_CLASS; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.BenefitCard = BenefitCard; exports.benefitCardBorderClass = benefitCardBorderClass; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.StepArrowButton = StepArrowButton; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.DataAttribution = DataAttribution; exports.DataSyncLine = DataSyncLine; exports.DownloadButton = DownloadButton; exports.COMPLIANCE_LOGO_SIZE_CLASS = COMPLIANCE_LOGO_SIZE_CLASS; exports.ComplianceBadge = ComplianceBadge; exports.ComplianceLogo = ComplianceLogo; exports.FeatureCardGrid = FeatureCardGrid; exports.StepNumber = StepNumber; exports.NumberedStep = NumberedStep; exports.FEATURE_LIST_SKELETON_COUNT = FEATURE_LIST_SKELETON_COUNT; exports.FeatureList = FeatureList; exports.formatTrendChange = formatTrendChange; exports.TREND_TONES = TREND_TONES; exports.trendTone = trendTone; exports.trendToneClass = trendToneClass; exports.trendlinePoints = trendlinePoints; exports.Trendline = Trendline; exports.TrendHistory = TrendHistory; exports.SourceTooltip = SourceTooltip; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.ORGANIZATION_CARD_RADIUS_CLASS = ORGANIZATION_CARD_RADIUS_CLASS; exports.ORGANIZATION_CARD_LAYOUT_CLASS = ORGANIZATION_CARD_LAYOUT_CLASS; exports.ORGANIZATION_CARD_SURFACE_CLASS = ORGANIZATION_CARD_SURFACE_CLASS; exports.ORGANIZATION_CARD_HEADER_CLASS = ORGANIZATION_CARD_HEADER_CLASS; exports.ORGANIZATION_CARD_TEXT_CLASS = ORGANIZATION_CARD_TEXT_CLASS; exports.ORGANIZATION_CARD_DESCRIPTION_CLASS = ORGANIZATION_CARD_DESCRIPTION_CLASS; exports.ORGANIZATION_CARD_FOOTER_CLASS = ORGANIZATION_CARD_FOOTER_CLASS; exports.ORGANIZATION_CARD_STATS_CLASS = ORGANIZATION_CARD_STATS_CLASS; exports.ORGANIZATION_CARD_STAT_CLASS = ORGANIZATION_CARD_STAT_CLASS; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.PersonCell = PersonCell; exports.PeopleCell = PeopleCell; exports.TitleContentBlock = TitleContentBlock; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DATA_TABLE_ROW_FRAME_CLASS = DATA_TABLE_ROW_FRAME_CLASS; exports.ROW_STACK_CLASSES = ROW_STACK_CLASSES; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableHeader = QueryReportTableHeader; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.dataTableLoadingRows = dataTableLoadingRows; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; 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.TRIAL_TERM_ICONS = TRIAL_TERM_ICONS; exports.DEFAULT_TRIAL_TERMS = DEFAULT_TRIAL_TERMS; exports.trialBenefits = trialBenefits; exports.BenefitList = BenefitList; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.CompactAuthShell = CompactAuthShell; exports.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SSO_PROVIDERS_SKELETON_COUNT = SSO_PROVIDERS_SKELETON_COUNT; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.NoAccountNotice = NoAccountNotice; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.SsoJoinForm = SsoJoinForm; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.ENTITY_TAG_BADGES_SKELETON_COUNT = ENTITY_TAG_BADGES_SKELETON_COUNT; exports.ENTITY_TAG_BADGES_PHONE_CAP = ENTITY_TAG_BADGES_PHONE_CAP; 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.useMediaIntake = useMediaIntake; exports.MediaUploadArea = MediaUploadArea; exports.MediaGalleryManager = MediaGalleryManager; exports.PushButtonSelector = PushButtonSelector; exports.MODEL_TOKEN_RATES_COPY = MODEL_TOKEN_RATES_COPY; exports.ModelTokenRates = ModelTokenRates; exports.ModelTokenRatesPopover = ModelTokenRatesPopover; exports.ModelTokenRatesUnavailable = ModelTokenRatesUnavailable; exports.MODEL_TOKEN_EXCHANGE_BALANCE = MODEL_TOKEN_EXCHANGE_BALANCE; exports.MODEL_TOKEN_EXCHANGE_RANGE = MODEL_TOKEN_EXCHANGE_RANGE; exports.ModelTokenExchange = ModelTokenExchange; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PATHS_DISPLAY_SKELETON_ROWS = PATHS_DISPLAY_SKELETON_ROWS; 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.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; exports.siteNavSocialLinks = siteNavSocialLinks; exports.socialIcon = socialIcon; exports.socialIconRowClass = socialIconRowClass; exports.socialIconButtonProps = socialIconButtonProps; exports.SocialIconRow = SocialIconRow; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.STATUS_FILTER_SKELETON_PILLS = STATUS_FILTER_SKELETON_PILLS; 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.APPROVAL_LEVELS = APPROVAL_LEVELS; exports.APPROVAL_LEVEL_META = APPROVAL_LEVEL_META; exports.ApprovalLevelView = ApprovalLevelView; exports.POLICY_CONFIGURATION_PANEL_SKELETON_CATEGORIES = POLICY_CONFIGURATION_PANEL_SKELETON_CATEGORIES; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PoliciesTable = PoliciesTable; exports.PolicySummaryCards = PolicySummaryCards; exports.POLICY_STATUS_CONFIG = POLICY_STATUS_CONFIG; exports.getPolicyStatus = getPolicyStatus; exports.getPolicyTableStatus = getPolicyTableStatus; exports.computePolicySummary = computePolicySummary; exports.TENANT_EMPTY_VALUE = TENANT_EMPTY_VALUE; exports.accessStateTag = accessStateTag; exports.providerMark = providerMark2; exports.lastReadAt = lastReadAt; exports.formatLastRead = formatLastRead; exports.usersCountLabel = usersCountLabel; exports.TenantAccessCell = TenantAccessCell; exports.TenantCell = TenantCell; exports.TenantCustomerCell = TenantCustomerCell; exports.TENANT_COLUMNS = TENANT_COLUMNS; exports.TENANTS_TABLE_COLUMNS = TENANTS_TABLE_COLUMNS; exports.TenantsTableView = TenantsTableView; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; 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.notificationCategoryIcon = notificationCategoryIcon; exports.NotificationPopups = NotificationPopups; exports.TICKET_APPROVAL_REQUEST_TYPE = TICKET_APPROVAL_REQUEST_TYPE; exports.MINGO_APPROVAL_REQUEST_TYPE = MINGO_APPROVAL_REQUEST_TYPE; exports.isApprovalNotificationType = isApprovalNotificationType; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.UnreadDot = UnreadDot; exports.UnreadCountBadge = UnreadCountBadge; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.formatLastOnline = formatLastOnline; exports.getDeviceName = getDeviceName; exports.matchesDeviceName = matchesDeviceName; exports.DevicesViewConfigProvider = DevicesViewConfigProvider; exports.useDevicesViewConfig = useDevicesViewConfig; exports.useDeviceImageUrl = useDeviceImageUrl; exports.DeviceSelectionModeRadio = DeviceSelectionModeRadio; exports.getDeviceStatusConfig = getDeviceStatusConfig; exports.getDeviceOperatingSystem = getDeviceOperatingSystem; exports.DEVICE_STATUS = DEVICE_STATUS; exports.DEFAULT_VISIBLE_STATUSES = DEFAULT_VISIBLE_STATUSES; exports.DEFAULT_DASHBOARD_STATUSES = DEFAULT_DASHBOARD_STATUSES; exports.DEFAULT_DEVICES_LIST_STATUSES = DEFAULT_DEVICES_LIST_STATUSES; exports.DEVICE_ENRICHMENT_STATUSES = DEVICE_ENRICHMENT_STATUSES; exports.DEVICE_ENRICHMENT_FILTER = DEVICE_ENRICHMENT_FILTER; exports.HIDDEN_DEVICE_STATUSES = HIDDEN_DEVICE_STATUSES; exports.renderDeviceTypeIcon = renderDeviceTypeIcon; exports.DeviceTypeTile = DeviceTypeTile; exports.DeviceTagsFilterButton = DeviceTagsFilterButton; exports.DevicesFilterToolbar = DevicesFilterToolbar; exports.getDeviceActionsColumn = getDeviceActionsColumn; exports.getDeviceOpenColumn = getDeviceOpenColumn; exports.DevicesTableBody = DevicesTableBody; exports.getDeviceFilterColumns = getDeviceFilterColumns; exports.getDeviceTableColumns = getDeviceTableColumns; exports.useTagFilterModal = useTagFilterModal; exports.DeviceSelector = DeviceSelector; exports.EMPTY_NARROWING = EMPTY_NARROWING; exports.narrowingToFilter = narrowingToFilter; exports.DevicesGrid = DevicesGrid; exports.DevicesGridFilters = DevicesGridFilters; exports.EMPTY_DEVICES_NARROWING = EMPTY_DEVICES_NARROWING; exports.isNarrowed = isNarrowed; exports.DevicesList = DevicesList; exports.DEVICE_VIEW_MODE_ITEMS = DEVICE_VIEW_MODE_ITEMS; exports.buildDevicePanelActions = buildDevicePanelActions; exports.IDLE_DEVICES_TOOLBAR = IDLE_DEVICES_TOOLBAR; exports.DevicesPanelView = DevicesPanelView; exports.PACKAGE_MANAGERS = PACKAGE_MANAGERS; exports.PACKAGE_MANAGER_LABEL = PACKAGE_MANAGER_LABEL; exports.PACKAGE_MANAGER_ICON = PACKAGE_MANAGER_ICON; exports.PACKAGE_MANAGER_OS = PACKAGE_MANAGER_OS; exports.packageManagerLabel = packageManagerLabel; exports.SOFTWARE_SOURCE_LABEL = SOFTWARE_SOURCE_LABEL; exports.PACKAGE_SEARCH_LABEL = PACKAGE_SEARCH_LABEL; exports.PACKAGE_SEARCH_PLACEHOLDER = PACKAGE_SEARCH_PLACEHOLDER; exports.PackageSearchFieldPlaceholder = PackageSearchFieldPlaceholder; exports.SoftwareScheduleFields = SoftwareScheduleFields; exports.SOFTWARE_ACTION_COPY = SOFTWARE_ACTION_COPY; exports.SOFTWARE_ACTION_DETAIL_TITLE = SOFTWARE_ACTION_DETAIL_TITLE; exports.softwareActionCopy = softwareActionCopy; exports.newSoftwareRow = newSoftwareRow; exports.SoftwareRowFields = SoftwareRowFields; exports.SoftwareActionForm = SoftwareActionForm; exports.LogDrawer = LogDrawer; exports.SYSTEM_SOURCE_LABEL = SYSTEM_SOURCE_LABEL; exports.logSourceLabels = logSourceLabels; exports.LogsPageView = LogsPageView; exports.LogCopyIconButton = LogCopyIconButton; exports.LOG_COLUMN_WIDTHS = LOG_COLUMN_WIDTHS; exports.TOOL_CHIP_HEIGHT = TOOL_CHIP_HEIGHT; exports.ToolBadge = ToolBadge; exports.LogsTableView = LogsTableView; exports.logSeverityVariant = logSeverityVariant; exports.SCRIPT_EXECUTION_STATUS_PRESENTATION = SCRIPT_EXECUTION_STATUS_PRESENTATION; exports.scriptExecutionStatus = scriptExecutionStatus; exports.ExecutionSourceBadge = ExecutionSourceBadge; exports.ExecutionTimestampCell = ExecutionTimestampCell; exports.ExecutionStatusCell = ExecutionStatusCell; exports.ExecutionDeviceCell = ExecutionDeviceCell; exports.ExecutionInitiatorCell = ExecutionInitiatorCell; exports.ExecutionResultCell = ExecutionResultCell; exports.ScriptExecutionResult = ScriptExecutionResult; exports.ScriptNameCell = ScriptNameCell; exports.ScheduleDateTimeCell = ScheduleDateTimeCell; exports.SCRIPT_COLUMNS = SCRIPT_COLUMNS; exports.SCHEDULE_COLUMNS = SCHEDULE_COLUMNS; exports.EXECUTION_COLUMNS = EXECUTION_COLUMNS; exports.SCRIPTS_TAB_WIDTHS = SCRIPTS_TAB_WIDTHS; exports.SCRIPTS_TABLE_COLUMNS = SCRIPTS_TABLE_COLUMNS; exports.SCHEDULES_TABLE_COLUMNS = SCHEDULES_TABLE_COLUMNS; exports.EXECUTIONS_TABLE_COLUMNS = EXECUTIONS_TABLE_COLUMNS; exports.scriptsColumnMeta = scriptsColumnMeta; exports.RowActionsCell = RowActionsCell; exports.OpenInNewTabCell = OpenInNewTabCell; exports.ScriptExecutionsTable = ScriptExecutionsTable; exports.ScriptSchedulesTable = ScriptSchedulesTable; exports.SCRIPT_SHELL_TYPES = SCRIPT_SHELL_TYPES; exports.scriptShellType = scriptShellType; exports.scriptShellLabel = scriptShellLabel; exports.ScriptShellBadge = ScriptShellBadge; exports.ScriptsTable = ScriptsTable; exports.SCRIPTS_TABS = SCRIPTS_TABS; exports.SCRIPT_SCHEDULE_TRIGGER = SCRIPT_SCHEDULE_TRIGGER; exports.SCHEDULE_TIME_REFERENCE = SCHEDULE_TIME_REFERENCE; exports.SCHEDULE_OFFLINE_BEHAVIOR = SCHEDULE_OFFLINE_BEHAVIOR; exports.isEventTrigger = isEventTrigger; exports.isDeviceLocalTime = isDeviceLocalTime; exports.DURATION_UNIT_VALUES = DURATION_UNIT_VALUES; exports.DURATION_UNIT_SECONDS = DURATION_UNIT_SECONDS; exports.DURATION_UNIT_LABELS = DURATION_UNIT_LABELS; exports.MIN_REPEAT_MINUTES = MIN_REPEAT_MINUTES; exports.DURATION_UNIT_OPTIONS = DURATION_UNIT_OPTIONS; exports.snapRepeatInterval = snapRepeatInterval; exports.isRetryOnReconnect = isRetryOnReconnect; exports.MIN_RECONNECT_MINUTES = MIN_RECONNECT_MINUTES; exports.snapReconnectInterval = snapReconnectInterval; exports.DEFAULT_RECONNECT_WINDOW = DEFAULT_RECONNECT_WINDOW; exports.isSlotOnGrid = isSlotOnGrid; exports.getTimeSlotOptions = getTimeSlotOptions; exports.slotToLabel = slotToLabel; exports.startOfToday = startOfToday; exports.earliestDeviceLocalDay = earliestDeviceLocalDay; exports.earliestScheduleDay = earliestScheduleDay; exports.isScheduleStartInPast = isScheduleStartInPast; exports.PAST_START_MESSAGE = PAST_START_MESSAGE; exports.NO_SLOTS_TODAY_MESSAGE = NO_SLOTS_TODAY_MESSAGE; exports.isStartInPastAndChanged = isStartInPastAndChanged; exports.dateToTimeSlot = dateToTimeSlot; exports.applyTimeSlot = applyTimeSlot; exports.fromScheduleInstant = fromScheduleInstant; exports.EMPTY_SCHEDULE_SCRIPT_ROW = EMPTY_SCHEDULE_SCRIPT_ROW; exports.SCHEDULE_TRIGGER_OPTIONS = SCHEDULE_TRIGGER_OPTIONS; exports.SCHEDULE_TIME_REFERENCE_OPTIONS = SCHEDULE_TIME_REFERENCE_OPTIONS; exports.SCHEDULE_OFFLINE_BEHAVIOR_OPTIONS = SCHEDULE_OFFLINE_BEHAVIOR_OPTIONS; exports.DEFAULT_SCHEDULE_FORM_VALUES = DEFAULT_SCHEDULE_FORM_VALUES; exports.ScheduleIntervalInput = ScheduleIntervalInput; exports.ScheduleOfflineFields = ScheduleOfflineFields; exports.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableList = SortableList; exports.ScriptArguments = ScriptArguments; exports.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; exports.ScheduleScriptPickerCard = ScheduleScriptPickerCard; exports.ScheduleScriptsField = ScheduleScriptsField; exports.ScheduleTimingFields = ScheduleTimingFields; exports.ScheduleFormFields = ScheduleFormFields; exports.ScheduleScriptSearchField = ScheduleScriptSearchField; exports.KNOWLEDGE_BASE_ITEM_ICON = KNOWLEDGE_BASE_ITEM_ICON; exports.getKnowledgeBaseOpenColumn = getKnowledgeBaseOpenColumn; exports.getKnowledgeBaseColumns = getKnowledgeBaseColumns; exports.KnowledgeBaseTableBody = KnowledgeBaseTableBody; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketDetailSection = TicketDetailSection; exports.KnowledgeBaseArticleView = KnowledgeBaseArticleView; exports.SortableDragHandle = SortableDragHandle; 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.TICKET_STATUS_CONFIG_LIST_SKELETON_ROWS = TICKET_STATUS_CONFIG_LIST_SKELETON_ROWS; exports.TicketStatusConfigList = TicketStatusConfigList; exports.CONVERSATION_CARD_AVATAR_PX = CONVERSATION_CARD_AVATAR_PX; exports.ConversationCard = ConversationCard; exports.SNAP_CAROUSEL_GAP_PX = SNAP_CAROUSEL_GAP_PX; exports.SNAP_CAROUSEL_TRACK_CLASS = SNAP_CAROUSEL_TRACK_CLASS; exports.SnapCarouselSlide = SnapCarouselSlide; exports.SnapCarouselControls = SnapCarouselControls; exports.SnapCarousel = SnapCarousel; exports.capabilityTabId = capabilityTabId; exports.CapabilityExplorer = CapabilityExplorer; 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.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownLinkDialog = MarkdownLinkDialog; exports.useMarkdownLinkCommand = useMarkdownLinkCommand; exports.MarkdownEditorFieldSkeleton = MarkdownEditorFieldSkeleton; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.formatTestRunDuration = formatTestRunDuration; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.withTicketAssigneeAvatars = withTicketAssigneeAvatars; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.PHOTO_WALL_FRAME = PHOTO_WALL_FRAME; exports.photoWallRequestWidth = photoWallRequestWidth; exports.photoOrientation = photoOrientation; exports.arrangePhotoWall = arrangePhotoWall; exports.PhotoWall = PhotoWall; exports.FilterPillRow = FilterPillRow; exports.LazyMount = LazyMount; exports.AppWindowFrame = AppWindowFrame; exports.PRODUCT_SCREEN_DESIGN_WIDTH = PRODUCT_SCREEN_DESIGN_WIDTH; exports.PRODUCT_SCREEN_READABLE_WIDTH = PRODUCT_SCREEN_READABLE_WIDTH; exports.PRODUCT_SCREEN_SCALE_FROM = PRODUCT_SCREEN_SCALE_FROM; exports.ProductScreenFrame = ProductScreenFrame; exports.PhoneFrame = PhoneFrame; exports.NotificationStack = NotificationStack; exports.StripCard = StripCard; exports.LeaderRow = LeaderRow; exports.AnalyzingState = AnalyzingState; exports.IncidentStatusLine = IncidentStatusLine; exports.IncidentFeed = IncidentFeed; exports.useBetweenAnchors = useBetweenAnchors; exports.StickyActionBar = StickyActionBar; exports.SuperUserBannerView = SuperUserBannerView; exports.IconTile = IconTile;
|