@flamingo-stack/openframe-frontend-core 0.0.721 → 0.0.722
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/assets/index.cjs +0 -6
- package/dist/assets/index.d.ts +0 -1
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +1 -5
- package/dist/{chunk-KFOAV77K.js → chunk-5D2K7TFT.js} +1 -1
- package/dist/{chunk-NMPVK53I.cjs → chunk-5K6YKRP5.cjs} +23 -23
- package/dist/{chunk-S63QBBT7.js → chunk-65C4WHG4.js} +5 -5
- package/dist/{chunk-XE2K53GH.cjs → chunk-6HRQLM6T.cjs} +17 -17
- package/dist/{chunk-NPSJE7J3.js → chunk-7UZ2JZJY.js} +2 -2
- package/dist/{chunk-7Z5FMQYR.cjs → chunk-ABSWD4PQ.cjs} +14 -14
- package/dist/{chunk-RCI3PALX.js → chunk-AWWLEYAU.js} +6 -6
- package/dist/{chunk-NJ5TBTJG.js → chunk-BCU6UUNQ.js} +5 -5
- package/dist/{chunk-3LY7V3RF.js → chunk-BUDZWXRG.js} +2 -2
- package/dist/{chunk-UZTOI6FJ.cjs → chunk-DWSBTGKT.cjs} +590 -598
- package/dist/{chunk-QQCFPMAA.js → chunk-DX3W7DPC.js} +1 -1
- package/dist/{chunk-HXB7SEYG.js → chunk-E7NIZXDT.js} +7 -16
- package/dist/{chunk-74N742ZG.js → chunk-ETQVXIYW.js} +4 -4
- package/dist/{chunk-742BGXNX.js → chunk-EWED6ISQ.js} +1 -1
- package/dist/{chunk-LAXKEBDD.js → chunk-F33RMJOL.js} +7 -7
- package/dist/{chunk-QLTXT562.cjs → chunk-FDWYBJYD.cjs} +6 -6
- package/dist/{chunk-6AJIOW3S.cjs → chunk-GAFK3WNT.cjs} +37 -37
- package/dist/{chunk-3R32ZNA2.cjs → chunk-GYSTZD6X.cjs} +35 -35
- package/dist/{chunk-57UTI7ZH.js → chunk-HA2ASGJM.js} +4 -4
- package/dist/{chunk-OKE5BIQH.cjs → chunk-HP4UUBJC.cjs} +8 -8
- package/dist/{chunk-CO3FOZIH.js → chunk-I3UUMRO7.js} +1 -1
- package/dist/{chunk-ZLUFEWZZ.js → chunk-IF72N4PE.js} +6 -6
- package/dist/{chunk-GCK75D7F.cjs → chunk-IITZ6JSC.cjs} +28 -28
- package/dist/{chunk-QYS4YVEP.cjs → chunk-JQ55FFIK.cjs} +31 -31
- package/dist/{chunk-2P2M27EW.js → chunk-KBPGSPXQ.js} +13 -21
- package/dist/{chunk-JDBZ4ZHU.js → chunk-KS3YLYVL.js} +2 -2
- package/dist/{chunk-RJMWJAJO.cjs → chunk-KWBH63GV.cjs} +19 -19
- package/dist/{chunk-IYVFSLWJ.js → chunk-KZQO5EJQ.js} +4 -0
- package/dist/{chunk-IMTY3GRR.cjs → chunk-LV6UJD2K.cjs} +2 -2
- package/dist/{chunk-XXO52RZR.cjs → chunk-MJ4SXOG2.cjs} +18 -18
- package/dist/{chunk-BYVVE7HP.cjs → chunk-NFABAOMD.cjs} +34 -36
- package/dist/{chunk-UXU7Y5BH.js → chunk-NMGWNUKB.js} +3 -3
- package/dist/{chunk-HJMSNOBT.cjs → chunk-P7Y626YJ.cjs} +258 -267
- package/dist/{chunk-RQZQHLNS.cjs → chunk-RVQV6J5K.cjs} +66 -66
- package/dist/{chunk-E6SMMMKV.js → chunk-SZ3CBFSH.js} +9 -9
- package/dist/{chunk-LGKMR7NZ.js → chunk-SZF7ENIW.js} +3 -3
- package/dist/{chunk-F5BPGWGT.cjs → chunk-TKFTWM3V.cjs} +5 -1
- package/dist/{chunk-GYAXV3MZ.js → chunk-UYMTAFHG.js} +4 -6
- package/dist/{chunk-F7ORKKEF.cjs → chunk-VC7COEWF.cjs} +83 -83
- package/dist/{chunk-44Q6MV7C.js → chunk-VSYQJCNR.js} +1 -1
- package/dist/{chunk-O5EHOJZD.cjs → chunk-VU7RU3LL.cjs} +7 -7
- package/dist/{chunk-D2DH6VZL.cjs → chunk-VV5INIQB.cjs} +3 -3
- package/dist/{chunk-I2254QN6.cjs → chunk-VYHCN5NU.cjs} +3 -3
- package/dist/{chunk-ZZEKXGFS.js → chunk-WY4SLTMZ.js} +2 -2
- package/dist/{chunk-LODMNSQY.cjs → chunk-XJYAUIOL.cjs} +11 -11
- package/dist/{chunk-GGBYZKMS.cjs → chunk-XR7NVJXS.cjs} +5 -5
- package/dist/{chunk-VFICDEYJ.cjs → chunk-ZHC6MDGF.cjs} +41 -41
- package/dist/{chunk-5QXE5HMV.js → chunk-ZMHP4Y6M.js} +3 -3
- package/dist/{cloud-tenants-Q4TCJS5Y.js → cloud-tenants-4Z36KWSX.js} +9 -9
- package/dist/{cloud-tenants-HZHKRUIW.cjs → cloud-tenants-5NIC5VXK.cjs} +10 -10
- package/dist/components/case-studies/index.cjs +23 -23
- package/dist/components/case-studies/index.js +10 -10
- package/dist/components/chat/index.cjs +7 -7
- package/dist/components/chat/index.js +6 -6
- package/dist/components/contact/index.cjs +11 -11
- package/dist/components/contact/index.js +10 -10
- package/dist/components/docs/index.cjs +14 -14
- package/dist/components/docs/index.js +13 -13
- package/dist/components/embeds/index.cjs +11 -11
- package/dist/components/embeds/index.js +10 -10
- package/dist/components/faq/index.cjs +11 -11
- package/dist/components/faq/index.js +10 -10
- package/dist/components/features/index.cjs +10 -10
- package/dist/components/features/index.js +9 -9
- package/dist/components/features/remote-session/remote-access-request-card.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.d.ts +19 -6
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +145 -130
- package/dist/components/help-center-pages/index.d.ts +1 -1
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +59 -44
- package/dist/components/index.cjs +64 -64
- package/dist/components/index.js +21 -21
- package/dist/components/meeting-scheduler/index.cjs +47 -47
- package/dist/components/meeting-scheduler/index.js +9 -9
- package/dist/components/navigation/index.cjs +13 -13
- package/dist/components/navigation/index.js +12 -12
- package/dist/components/onboarding-guides/index.cjs +13 -13
- package/dist/components/onboarding-guides/index.js +12 -12
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/index.js +8 -8
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/tickets/index.cjs +14 -14
- package/dist/components/tickets/index.js +13 -13
- package/dist/components/ui/index.cjs +10 -10
- package/dist/components/ui/index.js +9 -9
- package/dist/components/ui/mobile-app-qr.d.ts +13 -15
- package/dist/components/ui/mobile-app-qr.d.ts.map +1 -1
- package/dist/{devices-NOUGVTES.js → devices-2TK3LAKM.js} +9 -9
- package/dist/{devices-6XHUFIC6.cjs → devices-7IKT72DK.cjs} +11 -11
- package/dist/index.cjs +16 -24
- package/dist/index.js +15 -23
- package/dist/{knowledge-2YTUXQ2Z.js → knowledge-3GJ4MU3V.js} +9 -9
- package/dist/{knowledge-ANEKPMO2.cjs → knowledge-HYSEV35H.cjs} +11 -11
- package/dist/{logs-WVQIONUT.js → logs-TATVM62H.js} +9 -9
- package/dist/{logs-U3IB3HUM.cjs → logs-ZX3NADQC.cjs} +18 -18
- package/dist/{policies-UFRN2EQF.cjs → policies-J4FSDKPI.cjs} +14 -14
- package/dist/{policies-66EGDW2H.js → policies-MRRKLF4Q.js} +9 -9
- package/dist/{remote-session-6WEUJZDC.js → remote-session-WCLR47RN.js} +4 -4
- package/dist/{remote-session-A75X5NPC.cjs → remote-session-Z2YCUPHU.cjs} +6 -6
- package/dist/{software-update-2MHKL76D.cjs → software-update-CXUBWYD2.cjs} +14 -14
- package/dist/{software-update-3ZD3MXF3.js → software-update-KM46WUVQ.js} +9 -9
- package/dist/{tickets-board-IFWMIZ35.cjs → tickets-board-R5OQSEEC.cjs} +8 -8
- package/dist/{tickets-board-MYXG3V72.js → tickets-board-U3RF3AO4.js} +3 -3
- package/dist/types/downloads.d.ts +16 -0
- package/dist/types/downloads.d.ts.map +1 -1
- package/dist/utils/format.d.ts +11 -0
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/index.cjs +4 -9
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +4 -7
- package/dist/utils/mobile-app.cjs +0 -9
- package/dist/utils/mobile-app.d.ts +8 -25
- package/dist/utils/mobile-app.d.ts.map +1 -1
- package/dist/utils/mobile-app.js +1 -7
- package/package.json +1 -1
- package/src/assets/index.ts +0 -1
- package/src/components/features/remote-session/remote-access-request-card.tsx +6 -6
- package/src/components/help-center-pages/download-apps-page.tsx +53 -29
- package/src/components/help-center-pages/index.ts +1 -1
- package/src/components/ui/mobile-app-qr.tsx +17 -22
- package/src/types/downloads.ts +17 -0
- package/src/utils/format.ts +15 -0
- package/src/utils/index.ts +1 -1
- package/src/utils/mobile-app.ts +8 -31
- package/dist/assets/mobile-app-qr.d.ts +0 -17
- package/dist/assets/mobile-app-qr.d.ts.map +0 -1
- package/src/assets/mobile-app-qr.ts +0 -19
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkABSWD4PQcjs = require('./chunk-ABSWD4PQ.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
@@ -24,7 +24,7 @@ var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkNFABAOMDcjs = require('./chunk-NFABAOMD.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -114,8 +114,8 @@ var _chunkLX22Y43Bcjs = require('./chunk-LX22Y43B.cjs');
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
|
|
117
|
+
var _chunkP7Y626YJcjs = require('./chunk-P7Y626YJ.cjs');
|
|
117
118
|
|
|
118
|
-
var _chunkHJMSNOBTcjs = require('./chunk-HJMSNOBT.cjs');
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
|
|
@@ -131,8 +131,8 @@ var _chunkHJMSNOBTcjs = require('./chunk-HJMSNOBT.cjs');
|
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
134
|
+
var _chunkHP4UUBJCcjs = require('./chunk-HP4UUBJC.cjs');
|
|
134
135
|
|
|
135
|
-
var _chunkOKE5BIQHcjs = require('./chunk-OKE5BIQH.cjs');
|
|
136
136
|
|
|
137
137
|
|
|
138
138
|
|
|
@@ -143,8 +143,7 @@ var _chunkOKE5BIQHcjs = require('./chunk-OKE5BIQH.cjs');
|
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
|
|
146
|
-
|
|
147
|
-
var _chunkQLTXT562cjs = require('./chunk-QLTXT562.cjs');
|
|
146
|
+
var _chunkFDWYBJYDcjs = require('./chunk-FDWYBJYD.cjs');
|
|
148
147
|
|
|
149
148
|
|
|
150
149
|
|
|
@@ -187,10 +186,10 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
187
186
|
|
|
188
187
|
|
|
189
188
|
|
|
190
|
-
var
|
|
189
|
+
var _chunkIITZ6JSCcjs = require('./chunk-IITZ6JSC.cjs');
|
|
191
190
|
|
|
192
191
|
|
|
193
|
-
var
|
|
192
|
+
var _chunkLV6UJD2Kcjs = require('./chunk-LV6UJD2K.cjs');
|
|
194
193
|
|
|
195
194
|
|
|
196
195
|
|
|
@@ -201,7 +200,7 @@ var _chunkIMTY3GRRcjs = require('./chunk-IMTY3GRR.cjs');
|
|
|
201
200
|
|
|
202
201
|
|
|
203
202
|
|
|
204
|
-
var
|
|
203
|
+
var _chunkTKFTWM3Vcjs = require('./chunk-TKFTWM3V.cjs');
|
|
205
204
|
|
|
206
205
|
|
|
207
206
|
var _chunkMGHIV4L6cjs = require('./chunk-MGHIV4L6.cjs');
|
|
@@ -438,7 +437,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
438
437
|
var useTheme = _nextthemes.useTheme;
|
|
439
438
|
function useThemeToggle() {
|
|
440
439
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
441
|
-
const mounted =
|
|
440
|
+
const mounted = _chunkP7Y626YJcjs.useIsHydrated.call(void 0, );
|
|
442
441
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
443
442
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
444
443
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -646,7 +645,7 @@ function TimezoneSelect({
|
|
|
646
645
|
}) {
|
|
647
646
|
const options = _react.useMemo.call(void 0, () => timezoneOptions(value), [value]);
|
|
648
647
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
649
|
-
|
|
648
|
+
_chunkNFABAOMDcjs.Autocomplete,
|
|
650
649
|
{
|
|
651
650
|
className,
|
|
652
651
|
value: value || null,
|
|
@@ -826,7 +825,7 @@ var _reactpopover = require('@radix-ui/react-popover'); var Popover = _interopRe
|
|
|
826
825
|
|
|
827
826
|
var _reactdaypicker = require('react-day-picker');
|
|
828
827
|
|
|
829
|
-
var defaultFormatDate = (date) =>
|
|
828
|
+
var defaultFormatDate = (date) => _chunkTKFTWM3Vcjs.formatDateWithTimezone.call(void 0, date, _chunkTKFTWM3Vcjs.VIEWER_TIMEZONE, "numeric");
|
|
830
829
|
var formatDateRange = (range, formatFn) => {
|
|
831
830
|
if (!_optionalChain([range, 'optionalAccess', _5 => _5.from])) return "";
|
|
832
831
|
if (!range.to) return formatFn(range.from);
|
|
@@ -1027,7 +1026,7 @@ function DatePickerCalendar({
|
|
|
1027
1026
|
};
|
|
1028
1027
|
const handlePreviousMonth = () => shiftMonth(-1);
|
|
1029
1028
|
const handleNextMonth = () => shiftMonth(1);
|
|
1030
|
-
const formatMonthYear = (date) =>
|
|
1029
|
+
const formatMonthYear = (date) => _chunkTKFTWM3Vcjs.formatDateWithTimezone.call(void 0, date, _chunkTKFTWM3Vcjs.VIEWER_TIMEZONE, "monthYear");
|
|
1031
1030
|
const getSecondMonth = (date) => {
|
|
1032
1031
|
const next = new Date(date);
|
|
1033
1032
|
next.setMonth(next.getMonth() + 1);
|
|
@@ -1464,20 +1463,20 @@ function DatePickerInput(props) {
|
|
|
1464
1463
|
) })
|
|
1465
1464
|
] }),
|
|
1466
1465
|
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
1467
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1468
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1469
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1466
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.Select, { value: hour, onValueChange: handleHourChange, disabled, children: [
|
|
1467
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, { placeholder: "HH" }) }),
|
|
1468
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectContent, { children: hourOptions.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: h, children: h }, h)) })
|
|
1470
1469
|
] }),
|
|
1471
1470
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: ":" }),
|
|
1472
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1473
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1474
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1471
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.Select, { value: minute, onValueChange: handleMinuteChange, disabled, children: [
|
|
1472
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, { placeholder: "MM" }) }),
|
|
1473
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectContent, { children: minuteOptions.map((m) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: m, children: m }, m)) })
|
|
1475
1474
|
] }),
|
|
1476
|
-
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1477
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1478
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1479
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1480
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1475
|
+
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.Select, { value: period, onValueChange: (val) => handlePeriodChange(val), disabled, children: [
|
|
1476
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, { placeholder: "AM" }) }),
|
|
1477
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.SelectContent, { children: [
|
|
1478
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "AM", children: "AM" }),
|
|
1479
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "PM", children: "PM" })
|
|
1481
1480
|
] })
|
|
1482
1481
|
] })
|
|
1483
1482
|
] })
|
|
@@ -1619,9 +1618,9 @@ function DatePickerInputSimple(props) {
|
|
|
1619
1618
|
}
|
|
1620
1619
|
) })
|
|
1621
1620
|
] }),
|
|
1622
|
-
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1623
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1624
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1621
|
+
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.Select, { value: timeValue, onValueChange: handleTimeChange, disabled, children: [
|
|
1622
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { className: _chunk3ATAYP36cjs.cn.call(void 0, timeSelectTriggerStyles, "flex-1"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, { placeholder: "Select time", children: timeDisplayLabel || "Select time" }) }),
|
|
1623
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
1625
1624
|
] })
|
|
1626
1625
|
] });
|
|
1627
1626
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.FieldWrapper, { label, error, errorSlot: "error" in props, className, children: content });
|
|
@@ -1640,14 +1639,14 @@ function DateFilterPanel({
|
|
|
1640
1639
|
className
|
|
1641
1640
|
}) {
|
|
1642
1641
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col gap-4", className), children: [
|
|
1643
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1644
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1642
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.Select, { value: sort, onValueChange: (value) => onSortChange(value), children: [
|
|
1643
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.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: [
|
|
1645
1644
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowUpDown, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
1646
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1645
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, {}) })
|
|
1647
1646
|
] }) }),
|
|
1648
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1649
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1650
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1647
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.SelectContent, { children: [
|
|
1648
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "asc", children: ascLabel }),
|
|
1649
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "desc", children: descLabel })
|
|
1651
1650
|
] })
|
|
1652
1651
|
] }),
|
|
1653
1652
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1924,7 +1923,7 @@ function Value({ value, depth }) {
|
|
|
1924
1923
|
}
|
|
1925
1924
|
if (typeof value === "string") {
|
|
1926
1925
|
if (ISO_DATE.test(value)) {
|
|
1927
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
1926
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkHP4UUBJCcjs.formatRelativeTime.call(void 0, value) });
|
|
1928
1927
|
}
|
|
1929
1928
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
1930
1929
|
}
|
|
@@ -2291,7 +2290,7 @@ function CompactAssigneeDropdown({
|
|
|
2291
2290
|
value: o.value,
|
|
2292
2291
|
label: o.label,
|
|
2293
2292
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2294
|
-
|
|
2293
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
2295
2294
|
{
|
|
2296
2295
|
src: o.imageUrl,
|
|
2297
2296
|
alt: o.label,
|
|
@@ -2325,8 +2324,8 @@ function CompactAssigneeDropdown({
|
|
|
2325
2324
|
"shrink-0 rounded-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
2326
2325
|
className
|
|
2327
2326
|
),
|
|
2328
|
-
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2329
|
-
|
|
2327
|
+
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkABSWD4PQcjs.DeletedUserAvatar, { size: "sm", accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}` }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2328
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
2330
2329
|
{
|
|
2331
2330
|
src: currentAssignee.avatarSrc,
|
|
2332
2331
|
alt: currentAssignee.name,
|
|
@@ -2374,7 +2373,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2374
2373
|
const opt = option;
|
|
2375
2374
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-sf)]", children: [
|
|
2376
2375
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2377
|
-
|
|
2376
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
2378
2377
|
{
|
|
2379
2378
|
src: opt.imageUrl,
|
|
2380
2379
|
alt: opt.label,
|
|
@@ -2390,7 +2389,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2390
2389
|
if (isEditing) {
|
|
2391
2390
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "min-w-0", className), children: [
|
|
2392
2391
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2393
|
-
|
|
2392
|
+
_chunkNFABAOMDcjs.Autocomplete,
|
|
2394
2393
|
{
|
|
2395
2394
|
options,
|
|
2396
2395
|
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _34 => _34.id]), () => ( null)),
|
|
@@ -2402,14 +2401,14 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2402
2401
|
loading: isLoading,
|
|
2403
2402
|
showChevron: false,
|
|
2404
2403
|
startAdornment: hasAssignee ? currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2405
|
-
|
|
2404
|
+
_chunkABSWD4PQcjs.DeletedUserAvatar,
|
|
2406
2405
|
{
|
|
2407
2406
|
size: "sm",
|
|
2408
2407
|
className: "h-6 w-6",
|
|
2409
2408
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
2410
2409
|
}
|
|
2411
2410
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2412
|
-
|
|
2411
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
2413
2412
|
{
|
|
2414
2413
|
src: currentAssignee.avatarSrc,
|
|
2415
2414
|
alt: currentAssignee.name,
|
|
@@ -2428,13 +2427,13 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2428
2427
|
if (hasAssignee) {
|
|
2429
2428
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", className), children: [
|
|
2430
2429
|
currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2431
|
-
|
|
2430
|
+
_chunkABSWD4PQcjs.DeletedUserAvatar,
|
|
2432
2431
|
{
|
|
2433
2432
|
size: "md",
|
|
2434
2433
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
2435
2434
|
}
|
|
2436
2435
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2437
|
-
|
|
2436
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
2438
2437
|
{
|
|
2439
2438
|
src: currentAssignee.avatarSrc,
|
|
2440
2439
|
alt: currentAssignee.name,
|
|
@@ -2508,7 +2507,7 @@ function TextValue({ value }) {
|
|
|
2508
2507
|
}
|
|
2509
2508
|
) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick, title: text, className: interactiveClass, children: text }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: text, children: text }),
|
|
2510
2509
|
hasImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2511
|
-
|
|
2510
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
2512
2511
|
{
|
|
2513
2512
|
src: imageSrc,
|
|
2514
2513
|
alt: text,
|
|
@@ -2528,7 +2527,7 @@ function RowValue({ value }) {
|
|
|
2528
2527
|
}
|
|
2529
2528
|
case "status": {
|
|
2530
2529
|
const { type: _type, ...props } = value;
|
|
2531
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2530
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHP4UUBJCcjs.TicketStatusTag, { ...props });
|
|
2532
2531
|
}
|
|
2533
2532
|
case "custom":
|
|
2534
2533
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -2626,15 +2625,15 @@ function MediaTypeSelector({
|
|
|
2626
2625
|
// changed) and cost an extra render pass on every change to say what the
|
|
2627
2626
|
// prop already said.
|
|
2628
2627
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2629
|
-
|
|
2628
|
+
_chunkNFABAOMDcjs.Select,
|
|
2630
2629
|
{
|
|
2631
2630
|
value: value || void 0,
|
|
2632
2631
|
onValueChange,
|
|
2633
2632
|
disabled,
|
|
2634
2633
|
defaultValue: value,
|
|
2635
2634
|
children: [
|
|
2636
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2637
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2635
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, { placeholder }) }),
|
|
2636
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectContent, { children: mediaTypeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: option.value, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
2638
2637
|
option.icon,
|
|
2639
2638
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: option.label })
|
|
2640
2639
|
] }) }, option.value)) })
|
|
@@ -3447,7 +3446,7 @@ function TagsManager({
|
|
|
3447
3446
|
}
|
|
3448
3447
|
),
|
|
3449
3448
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3450
|
-
|
|
3449
|
+
_chunkTKFTWM3Vcjs.Tag,
|
|
3451
3450
|
{
|
|
3452
3451
|
label: tag.name,
|
|
3453
3452
|
variant: "outline",
|
|
@@ -3992,10 +3991,10 @@ function useConfirm() {
|
|
|
3992
3991
|
},
|
|
3993
3992
|
[]
|
|
3994
3993
|
);
|
|
3995
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3996
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3997
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3998
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3994
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFDWYBJYDcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
3995
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalTitle, { children: pending.title }) }),
|
|
3996
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
3997
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFDWYBJYDcjs.ModalFooter, { children: [
|
|
3999
3998
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4000
3999
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4001
4000
|
] })
|
|
@@ -4049,14 +4048,14 @@ function AdminFormDrawer({
|
|
|
4049
4048
|
else onClose();
|
|
4050
4049
|
};
|
|
4051
4050
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4052
|
-
|
|
4051
|
+
_chunkP7Y626YJcjs.Drawer,
|
|
4053
4052
|
{
|
|
4054
4053
|
open: isOpen,
|
|
4055
4054
|
onOpenChange: (open) => {
|
|
4056
4055
|
if (!open) requestClose();
|
|
4057
4056
|
},
|
|
4058
4057
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4059
|
-
|
|
4058
|
+
_chunkP7Y626YJcjs.DrawerContent,
|
|
4060
4059
|
{
|
|
4061
4060
|
side: "right",
|
|
4062
4061
|
resizable: true,
|
|
@@ -4065,15 +4064,15 @@ function AdminFormDrawer({
|
|
|
4065
4064
|
storageKey,
|
|
4066
4065
|
panelClassName: "max-md:w-[calc(100vw-1rem)]",
|
|
4067
4066
|
children: [
|
|
4068
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4069
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4070
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4067
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkP7Y626YJcjs.DrawerHeader, { children: [
|
|
4068
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.DrawerTitle, { children: title }),
|
|
4069
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.DrawerDescription, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: subtitle }) })
|
|
4071
4070
|
] }),
|
|
4072
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4071
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.DrawerBody, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4073
4072
|
"form",
|
|
4074
4073
|
{
|
|
4075
4074
|
id: formId,
|
|
4076
|
-
...
|
|
4075
|
+
..._chunkP7Y626YJcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4077
4076
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4078
4077
|
onSubmit: (e) => {
|
|
4079
4078
|
e.preventDefault();
|
|
@@ -4200,16 +4199,16 @@ function AdminFormModal({
|
|
|
4200
4199
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4201
4200
|
});
|
|
4202
4201
|
if (!isOpen) return null;
|
|
4203
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4204
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4205
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4202
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFDWYBJYDcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4203
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFDWYBJYDcjs.ModalHeader, { children: [
|
|
4204
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalTitle, { children: title }),
|
|
4206
4205
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4207
4206
|
] }),
|
|
4208
4207
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4209
4208
|
"form",
|
|
4210
4209
|
{
|
|
4211
4210
|
id: formId,
|
|
4212
|
-
...
|
|
4211
|
+
..._chunkP7Y626YJcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4213
4212
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4214
4213
|
onSubmit: (e) => {
|
|
4215
4214
|
e.preventDefault();
|
|
@@ -4227,7 +4226,7 @@ function AdminFormModal({
|
|
|
4227
4226
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4228
4227
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4229
4228
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4230
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4229
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4231
4230
|
"div",
|
|
4232
4231
|
{
|
|
4233
4232
|
"aria-busy": "true",
|
|
@@ -4248,12 +4247,12 @@ function AdminFormModal({
|
|
|
4248
4247
|
]
|
|
4249
4248
|
}
|
|
4250
4249
|
) })
|
|
4251
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4250
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalContent, { className: contentClassName, children }),
|
|
4252
4251
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4253
4252
|
]
|
|
4254
4253
|
}
|
|
4255
4254
|
),
|
|
4256
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4255
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4257
4256
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4258
4257
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4259
4258
|
footerStatus,
|
|
@@ -4963,7 +4962,7 @@ var TabBar = _react.memo.call(void 0, function TabBarImpl({
|
|
|
4963
4962
|
// as tall as its neighbours at every breakpoint. No hover shade:
|
|
4964
4963
|
// the tab is the target, and the cursor passes through to it.
|
|
4965
4964
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4966
|
-
|
|
4965
|
+
_chunkTKFTWM3Vcjs.Tag,
|
|
4967
4966
|
{
|
|
4968
4967
|
as: "span",
|
|
4969
4968
|
"aria-hidden": true,
|
|
@@ -5438,7 +5437,7 @@ function EmbedViewerFrame({
|
|
|
5438
5437
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
5439
5438
|
_react.useEffect.call(void 0, () => {
|
|
5440
5439
|
if (!fullscreenControl) return void 0;
|
|
5441
|
-
const controller = new (0,
|
|
5440
|
+
const controller = new (0, _chunkP7Y626YJcjs.FullscreenSwitchController)({
|
|
5442
5441
|
target: () => frameRef.current,
|
|
5443
5442
|
onFullscreenChange: setIsFullscreen
|
|
5444
5443
|
});
|
|
@@ -6388,7 +6387,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6388
6387
|
};
|
|
6389
6388
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6390
6389
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6391
|
-
|
|
6390
|
+
_chunkIITZ6JSCcjs.Video,
|
|
6392
6391
|
{
|
|
6393
6392
|
url: item.src,
|
|
6394
6393
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -6820,7 +6819,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
|
|
|
6820
6819
|
width: m.width,
|
|
6821
6820
|
height: m.height
|
|
6822
6821
|
}));
|
|
6823
|
-
const formatNumber =
|
|
6822
|
+
const formatNumber = _chunkTKFTWM3Vcjs.formatLargeNumber;
|
|
6824
6823
|
const truncateText = (text, maxLength = 600) => {
|
|
6825
6824
|
if (text.length <= maxLength) return text;
|
|
6826
6825
|
return text.slice(0, maxLength) + "...";
|
|
@@ -7112,7 +7111,7 @@ function buildRichEmbedOverrides({
|
|
|
7112
7111
|
ogEndpointPath,
|
|
7113
7112
|
textSizes
|
|
7114
7113
|
}) {
|
|
7115
|
-
const standard =
|
|
7114
|
+
const standard = _chunkP7Y626YJcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7116
7115
|
return {
|
|
7117
7116
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7118
7117
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7122,7 +7121,7 @@ function buildRichEmbedOverrides({
|
|
|
7122
7121
|
const language = match ? match[1] : "";
|
|
7123
7122
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7124
7123
|
if (language === "youtube-embed") {
|
|
7125
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7124
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7126
7125
|
}
|
|
7127
7126
|
if (language === "reddit-embed") {
|
|
7128
7127
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7163,7 +7162,7 @@ function buildRichEmbedOverrides({
|
|
|
7163
7162
|
"data-figma-url": figmaUrl
|
|
7164
7163
|
} = divProps;
|
|
7165
7164
|
if (className === "youtube-embed" && videoId) {
|
|
7166
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7165
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.Video, { kind: "youtube", url: videoId });
|
|
7167
7166
|
}
|
|
7168
7167
|
if (className === "reddit-embed" && postUrl) {
|
|
7169
7168
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7248,14 +7247,14 @@ function buildRichEmbedOverrides({
|
|
|
7248
7247
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7249
7248
|
// elsewhere). Guard against empty `![]()`.
|
|
7250
7249
|
img: ({ src, alt }) => {
|
|
7251
|
-
if (!
|
|
7250
|
+
if (!_chunkP7Y626YJcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7252
7251
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7253
7252
|
},
|
|
7254
7253
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7255
7254
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7256
7255
|
video: ({ src, poster, className }) => {
|
|
7257
|
-
if (!
|
|
7258
|
-
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,
|
|
7256
|
+
if (!_chunkP7Y626YJcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7257
|
+
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, _chunkIITZ6JSCcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7259
7258
|
}
|
|
7260
7259
|
};
|
|
7261
7260
|
}
|
|
@@ -7363,7 +7362,7 @@ var processShortcodes = (content) => {
|
|
|
7363
7362
|
try {
|
|
7364
7363
|
const urlObj = new URL(url);
|
|
7365
7364
|
const hostname = urlObj.hostname.toLowerCase();
|
|
7366
|
-
const hostIs = (domain) =>
|
|
7365
|
+
const hostIs = (domain) => _chunkP7Y626YJcjs.hostMatches.call(void 0, hostname, domain);
|
|
7367
7366
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
7368
7367
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
7369
7368
|
return match;
|
|
@@ -7438,13 +7437,13 @@ var RichMarkdownInner = ({
|
|
|
7438
7437
|
},
|
|
7439
7438
|
[resolveLinkEndpointUrl, resolveSource]
|
|
7440
7439
|
);
|
|
7441
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
7440
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkP7Y626YJcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
7442
7441
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
7443
7442
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
7444
7443
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
7445
7444
|
);
|
|
7446
7445
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7447
|
-
|
|
7446
|
+
_chunkP7Y626YJcjs.MarkdownEngine,
|
|
7448
7447
|
{
|
|
7449
7448
|
content,
|
|
7450
7449
|
className,
|
|
@@ -7466,7 +7465,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
7466
7465
|
className = "",
|
|
7467
7466
|
sectionIds,
|
|
7468
7467
|
onInternalLinkClick,
|
|
7469
|
-
brokenLinks =
|
|
7468
|
+
brokenLinks = _chunkP7Y626YJcjs.NO_BROKEN_LINKS,
|
|
7470
7469
|
currentPath,
|
|
7471
7470
|
resolveSource = "openframe-docs",
|
|
7472
7471
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8071,23 +8070,18 @@ function StoreBadgeLinks({ appStoreUrl, googlePlayUrl, openInNewTab: openInNewTa
|
|
|
8071
8070
|
] });
|
|
8072
8071
|
}
|
|
8073
8072
|
|
|
8074
|
-
// src/assets/mobile-app-qr.ts
|
|
8075
|
-
var MOBILE_APP_QR_VIEWBOX_SIZE = 37;
|
|
8076
|
-
var MOBILE_APP_QR_PATH = "M4 4.5h7m2 0h2m2 0h1m2 0h1m2 0h2m1 0h7M4 5.5h1m5 0h1m2 0h2m2 0h3m6 0h1m5 0h1M4 6.5h1m1 0h3m1 0h1m1 0h3m1 0h1m1 0h3m2 0h1m2 0h1m1 0h3m1 0h1M4 7.5h1m1 0h3m1 0h1m1 0h1m1 0h1m1 0h6m2 0h1m1 0h1m1 0h3m1 0h1M4 8.5h1m1 0h3m1 0h1m1 0h3m1 0h1m1 0h1m1 0h5m1 0h1m1 0h3m1 0h1M4 9.5h1m5 0h1m1 0h1m1 0h2m1 0h1m1 0h3m4 0h1m5 0h1M4 10.5h7m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h7M12 11.5h1m2 0h2m5 0h3M4 12.5h1m1 0h5m3 0h1m1 0h8m2 0h5M4 13.5h4m4 0h2m2 0h1m3 0h4m1 0h4m3 0h1M6 14.5h1m3 0h3m1 0h1m3 0h4m2 0h1M4 15.5h1m2 0h3m2 0h2m1 0h2m1 0h1m1 0h1m2 0h5m1 0h1m1 0h1M4 16.5h1m4 0h2m1 0h2m1 0h1m1 0h1m2 0h2m1 0h1m5 0h2M16 17.5h3m3 0h5m1 0h1m3 0h1M5 18.5h1m3 0h2m1 0h1m5 0h2m4 0h1m1 0h2m1 0h2M4 19.5h6m1 0h1m3 0h1m2 0h3m1 0h4m1 0h2m2 0h1M8 20.5h1m1 0h1m2 0h2m1 0h2m1 0h1m1 0h1m5 0h1m1 0h2M4 21.5h1m1 0h2m7 0h1m2 0h1m1 0h9m1 0h1m1 0h1M4 22.5h1m3 0h3m2 0h1m1 0h2m2 0h3m3 0h1m1 0h1m2 0h1M4 23.5h1m6 0h4m3 0h2m3 0h2m2 0h2m2 0h1M4 24.5h1m2 0h4m4 0h1m3 0h1m1 0h1m1 0h6m1 0h3M12 25.5h6m2 0h1m3 0h1m3 0h5M4 26.5h7m3 0h8m1 0h2m1 0h1m1 0h3M4 27.5h1m5 0h1m1 0h2m1 0h3m2 0h1m2 0h2m3 0h1M4 28.5h1m1 0h3m1 0h1m1 0h2m2 0h1m1 0h1m2 0h1m2 0h5m1 0h3M4 29.5h1m1 0h3m1 0h1m1 0h2m1 0h2m3 0h4m3 0h1m1 0h4M4 30.5h1m1 0h3m1 0h1m1 0h1m3 0h4m1 0h1m2 0h8M4 31.5h1m5 0h1m4 0h1m1 0h1m1 0h2m1 0h1m1 0h1m1 0h2m1 0h1m1 0h1M4 32.5h7m1 0h1m2 0h2m4 0h1m1 0h1m3 0h4";
|
|
8077
|
-
|
|
8078
8073
|
// src/components/ui/mobile-app-qr.tsx
|
|
8079
8074
|
|
|
8080
|
-
function MobileAppQr({ className }) {
|
|
8075
|
+
function MobileAppQr({ install, className }) {
|
|
8081
8076
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8082
8077
|
"svg",
|
|
8083
8078
|
{
|
|
8084
|
-
viewBox: `0 0 ${
|
|
8085
|
-
fill: "none",
|
|
8079
|
+
viewBox: `0 0 ${install.qrViewBoxSize} ${install.qrViewBoxSize}`,
|
|
8086
8080
|
shapeRendering: "crispEdges",
|
|
8087
8081
|
role: "img",
|
|
8088
|
-
"aria-label": `QR code for ${
|
|
8089
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0, "h-[120px] w-[120px] text-ods-
|
|
8090
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", {
|
|
8082
|
+
"aria-label": `QR code for ${install.url}`,
|
|
8083
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, "h-[120px] w-[120px] text-ods-accent", className),
|
|
8084
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { fill: "currentColor", d: install.qrPath })
|
|
8091
8085
|
}
|
|
8092
8086
|
);
|
|
8093
8087
|
}
|
|
@@ -8429,7 +8423,7 @@ function FilterModal({
|
|
|
8429
8423
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _141 => _141.defaultSort]), () => ( "desc"));
|
|
8430
8424
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _142 => _142.sort]), () => ( dateDefaultSort)));
|
|
8431
8425
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _143 => _143.range]));
|
|
8432
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8426
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkP7Y626YJcjs.useScrollFade.call(void 0, );
|
|
8433
8427
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8434
8428
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8435
8429
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8475,15 +8469,15 @@ function FilterModal({
|
|
|
8475
8469
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8476
8470
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8477
8471
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8478
|
-
|
|
8472
|
+
_chunkFDWYBJYDcjs.Modal,
|
|
8479
8473
|
{
|
|
8480
8474
|
isOpen,
|
|
8481
8475
|
onClose,
|
|
8482
8476
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "max-h-[90vh] max-w-none md:max-w-[min(42rem,calc(100vw-2rem))]", className),
|
|
8483
8477
|
children: [
|
|
8484
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8478
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalTitle, { children: title }) }),
|
|
8485
8479
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8486
|
-
|
|
8480
|
+
_chunkFDWYBJYDcjs.ModalContent,
|
|
8487
8481
|
{
|
|
8488
8482
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
8489
8483
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8575,12 +8569,12 @@ function FilterModal({
|
|
|
8575
8569
|
] })
|
|
8576
8570
|
}
|
|
8577
8571
|
),
|
|
8578
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8579
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8572
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8573
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8580
8574
|
] })
|
|
8581
8575
|
}
|
|
8582
8576
|
),
|
|
8583
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8577
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFDWYBJYDcjs.ModalFooter, { children: [
|
|
8584
8578
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8585
8579
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8586
8580
|
] })
|
|
@@ -8642,7 +8636,7 @@ function renderAdvancedPageContainer({
|
|
|
8642
8636
|
};
|
|
8643
8637
|
const renderActions = () => {
|
|
8644
8638
|
if (!actions || actions.length === 0) return null;
|
|
8645
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8639
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.PageActions, { variant: getActionsVariant(), actions, menuActions });
|
|
8646
8640
|
};
|
|
8647
8641
|
const needsBottomPadding = actions && actions.length > 0 && getActionsVariant() === "primary-buttons";
|
|
8648
8642
|
const paddingClasses = {
|
|
@@ -8665,14 +8659,14 @@ function renderAdvancedPageContainer({
|
|
|
8665
8659
|
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: [
|
|
8666
8660
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
8667
8661
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8668
|
-
|
|
8662
|
+
_chunkNFABAOMDcjs.BackButton,
|
|
8669
8663
|
{
|
|
8670
8664
|
onClick: backButton.onClick,
|
|
8671
8665
|
label: backButton.label,
|
|
8672
8666
|
className: "hidden content-md:inline-flex"
|
|
8673
8667
|
}
|
|
8674
8668
|
),
|
|
8675
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children:
|
|
8669
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children: _chunkIITZ6JSCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8676
8670
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8677
8671
|
] }),
|
|
8678
8672
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
@@ -8685,14 +8679,14 @@ function renderAdvancedPageContainer({
|
|
|
8685
8679
|
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: [
|
|
8686
8680
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
8687
8681
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8688
|
-
|
|
8682
|
+
_chunkNFABAOMDcjs.BackButton,
|
|
8689
8683
|
{
|
|
8690
8684
|
onClick: backButton.onClick,
|
|
8691
8685
|
label: backButton.label,
|
|
8692
8686
|
className: "hidden content-md:inline-flex"
|
|
8693
8687
|
}
|
|
8694
8688
|
),
|
|
8695
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children:
|
|
8689
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children: _chunkIITZ6JSCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8696
8690
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8697
8691
|
] }),
|
|
8698
8692
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
@@ -8705,14 +8699,14 @@ function renderAdvancedPageContainer({
|
|
|
8705
8699
|
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: [
|
|
8706
8700
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
8707
8701
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8708
|
-
|
|
8702
|
+
_chunkNFABAOMDcjs.BackButton,
|
|
8709
8703
|
{
|
|
8710
8704
|
onClick: backButton.onClick,
|
|
8711
8705
|
label: backButton.label,
|
|
8712
8706
|
className: "hidden content-md:inline-flex"
|
|
8713
8707
|
}
|
|
8714
8708
|
),
|
|
8715
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children:
|
|
8709
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children: _chunkIITZ6JSCcjs.accentSentenceMarks.call(void 0, title) })
|
|
8716
8710
|
] }),
|
|
8717
8711
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-4", children: [
|
|
8718
8712
|
headerActions,
|
|
@@ -8722,7 +8716,7 @@ function renderAdvancedPageContainer({
|
|
|
8722
8716
|
}
|
|
8723
8717
|
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: [
|
|
8724
8718
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
8725
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children:
|
|
8719
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-ods-text-primary text-h2", children: _chunkIITZ6JSCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
8726
8720
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
8727
8721
|
] }),
|
|
8728
8722
|
(headerActions || actions) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3", children: [
|
|
@@ -9045,7 +9039,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9045
9039
|
|
|
9046
9040
|
|
|
9047
9041
|
function PlatformBrowseButton({ item }) {
|
|
9048
|
-
const linkProps =
|
|
9042
|
+
const linkProps = _chunkP7Y626YJcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9049
9043
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9050
9044
|
"Browse ",
|
|
9051
9045
|
item.buttonText
|
|
@@ -9348,7 +9342,7 @@ function DashboardInfoCard({
|
|
|
9348
9342
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
9349
9343
|
if (asTag) {
|
|
9350
9344
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
9351
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9345
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
9352
9346
|
}
|
|
9353
9347
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
9354
9348
|
"(",
|
|
@@ -9406,7 +9400,7 @@ function DashboardInfoCard({
|
|
|
9406
9400
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk3ATAYP36cjs.cn.call(void 0, "truncate text-ods-text-primary text-h3 content-md:text-h2", valueClassName), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block h-[1lh] w-24 animate-pulse rounded bg-ods-border" }) : formattedValue }),
|
|
9407
9401
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
9408
9402
|
renderPercentage(),
|
|
9409
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9403
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.FloatingTooltip, { content: tooltip, side: "top", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "cursor-help text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
9410
9404
|
] }),
|
|
9411
9405
|
caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-2 min-h-[2lh] text-ods-text-secondary text-h6", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block h-[1lh] w-32 animate-pulse rounded bg-ods-border" }) : caption })
|
|
9412
9406
|
] }),
|
|
@@ -9493,10 +9487,10 @@ var OSTypeBadge = ({
|
|
|
9493
9487
|
if (!osType) {
|
|
9494
9488
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
9495
9489
|
}
|
|
9496
|
-
const normalized =
|
|
9490
|
+
const normalized = _chunkP7Y626YJcjs.normalizeOSType.call(void 0, osType);
|
|
9497
9491
|
if (!normalized && !labelOnly) return null;
|
|
9498
|
-
const label =
|
|
9499
|
-
const IconComponent =
|
|
9492
|
+
const label = _chunkP7Y626YJcjs.getOSLabel.call(void 0, osType);
|
|
9493
|
+
const IconComponent = _chunkP7Y626YJcjs.getOSIcon.call(void 0, osType);
|
|
9500
9494
|
if (iconOnly && IconComponent) {
|
|
9501
9495
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk3ATAYP36cjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
9502
9496
|
}
|
|
@@ -9533,7 +9527,7 @@ function DeviceCard({
|
|
|
9533
9527
|
}) {
|
|
9534
9528
|
const formatLastSeen = (lastSeen) => {
|
|
9535
9529
|
if (!lastSeen) return null;
|
|
9536
|
-
return
|
|
9530
|
+
return _chunkTKFTWM3Vcjs.formatDateTimeYmd.call(void 0, lastSeen, null) || null;
|
|
9537
9531
|
};
|
|
9538
9532
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9539
9533
|
"div",
|
|
@@ -9592,7 +9586,7 @@ function DeviceCard({
|
|
|
9592
9586
|
] }),
|
|
9593
9587
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
9594
9588
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9595
|
-
|
|
9589
|
+
_chunkTKFTWM3Vcjs.Tag,
|
|
9596
9590
|
{
|
|
9597
9591
|
variant: statusTag.variant,
|
|
9598
9592
|
icon: statusTag.icon,
|
|
@@ -9606,7 +9600,7 @@ function DeviceCard({
|
|
|
9606
9600
|
formatLastSeen(device.lastSeen)
|
|
9607
9601
|
] })
|
|
9608
9602
|
] }),
|
|
9609
|
-
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-wrap items-center gap-2", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9603
|
+
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-wrap items-center gap-2", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
9610
9604
|
]
|
|
9611
9605
|
}
|
|
9612
9606
|
);
|
|
@@ -9640,7 +9634,7 @@ function DataAttribution({ icon, source, lastUpdated }) {
|
|
|
9640
9634
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "hidden text-ods-text-secondary content-sm:inline", "aria-hidden": "true", children: "\xB7" }),
|
|
9641
9635
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
9642
9636
|
"Last updated: ",
|
|
9643
|
-
lastUpdated ?
|
|
9637
|
+
lastUpdated ? _chunkTKFTWM3Vcjs.formatDate.call(void 0, lastUpdated) : "Never"
|
|
9644
9638
|
] })
|
|
9645
9639
|
] });
|
|
9646
9640
|
}
|
|
@@ -9705,7 +9699,7 @@ function ComplianceLogo({
|
|
|
9705
9699
|
fallback = null,
|
|
9706
9700
|
className
|
|
9707
9701
|
}) {
|
|
9708
|
-
const standard =
|
|
9702
|
+
const standard = _chunkP7Y626YJcjs.complianceStandardForName.call(void 0, ...names);
|
|
9709
9703
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
9710
9704
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
9711
9705
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9786,7 +9780,7 @@ function FeatureCardGrid({
|
|
|
9786
9780
|
if (allCardsHaveNoBorders) {
|
|
9787
9781
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
9788
9782
|
}
|
|
9789
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9783
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
9790
9784
|
const startIndex = rowIndex * itemsPerRow;
|
|
9791
9785
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
9792
9786
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -9820,7 +9814,7 @@ function FeatureCardGrid({
|
|
|
9820
9814
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
9821
9815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
9822
9816
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9823
|
-
|
|
9817
|
+
_chunkIITZ6JSCcjs.StatusBadge,
|
|
9824
9818
|
{
|
|
9825
9819
|
text: item.badge.text,
|
|
9826
9820
|
variant: item.badge.variant || "card",
|
|
@@ -9829,7 +9823,7 @@ function FeatureCardGrid({
|
|
|
9829
9823
|
)
|
|
9830
9824
|
] }),
|
|
9831
9825
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9832
|
-
|
|
9826
|
+
_chunkIITZ6JSCcjs.StatusBadge,
|
|
9833
9827
|
{
|
|
9834
9828
|
text: item.badge.text,
|
|
9835
9829
|
variant: item.badge.variant || "card",
|
|
@@ -9942,7 +9936,7 @@ function FeatureList({
|
|
|
9942
9936
|
|
|
9943
9937
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
9944
9938
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9945
|
-
|
|
9939
|
+
_chunkTKFTWM3Vcjs.FloatingTooltip,
|
|
9946
9940
|
{
|
|
9947
9941
|
as: "span",
|
|
9948
9942
|
side: "top",
|
|
@@ -10281,7 +10275,7 @@ function OrganizationCard({
|
|
|
10281
10275
|
}
|
|
10282
10276
|
),
|
|
10283
10277
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
10284
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10278
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.EntityImage, { src: fetchedImageUrl || organization.imageUrl, alt: organization.name }),
|
|
10285
10279
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center py-2", children: [
|
|
10286
10280
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "truncate text-ods-text-primary transition-colors text-h3", title: organization.name, children: organization.name }),
|
|
10287
10281
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10331,8 +10325,8 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
10331
10325
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
10332
10326
|
/* @__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 }),
|
|
10333
10327
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
10334
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10335
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10328
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { variant: "h3", children: title }),
|
|
10329
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { variant: "h6", tone: "secondary", children: subtitle })
|
|
10336
10330
|
] })
|
|
10337
10331
|
] }),
|
|
10338
10332
|
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start whitespace-nowrap rounded-full border border-ods-border bg-ods-bg px-3 py-1 font-semibold text-ods-text-primary text-h6", children: tag.label })
|
|
@@ -10365,7 +10359,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
10365
10359
|
),
|
|
10366
10360
|
children: [
|
|
10367
10361
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10368
|
-
|
|
10362
|
+
_chunkTKFTWM3Vcjs.FloatingTooltip,
|
|
10369
10363
|
{
|
|
10370
10364
|
content: row.value,
|
|
10371
10365
|
side: "top",
|
|
@@ -10463,17 +10457,17 @@ function PersonCell({
|
|
|
10463
10457
|
const displayName = name || fallbackName;
|
|
10464
10458
|
const scale = PERSON_CELL_SIZE[size];
|
|
10465
10459
|
const row = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `group/person-cell flex min-w-0 items-center ${scale.gap}`, children: [
|
|
10466
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10460
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
10467
10461
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
10468
10462
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10469
|
-
|
|
10463
|
+
_chunkNFABAOMDcjs.TruncateText,
|
|
10470
10464
|
{
|
|
10471
10465
|
variant: scale.primary,
|
|
10472
10466
|
className: onClick ? "text-ods-accent group-hover/person-cell:underline" : void 0,
|
|
10473
10467
|
children: displayName
|
|
10474
10468
|
}
|
|
10475
10469
|
),
|
|
10476
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10470
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { variant: "h6", tone: "secondary", children: secondary === void 0 ? "\xA0" : secondary || "\xB7" })
|
|
10477
10471
|
] })
|
|
10478
10472
|
] });
|
|
10479
10473
|
if (!onClick) return row;
|
|
@@ -10503,9 +10497,9 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
10503
10497
|
);
|
|
10504
10498
|
}
|
|
10505
10499
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
10506
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10500
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.FloatingTooltip, { content: fullNames, triggerClassName: "min-w-0 max-w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
10507
10501
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10508
|
-
|
|
10502
|
+
_chunkLV6UJD2Kcjs.AvatarStack,
|
|
10509
10503
|
{
|
|
10510
10504
|
size: "sm",
|
|
10511
10505
|
slots: PEOPLE_CELL_STACK_SLOTS,
|
|
@@ -10513,7 +10507,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
10513
10507
|
}
|
|
10514
10508
|
) }),
|
|
10515
10509
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "line-clamp-2 min-w-0 flex-1 break-words text-ods-text-primary text-h6", children: [
|
|
10516
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) =>
|
|
10510
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) => _chunkTKFTWM3Vcjs.personFirstName.call(void 0, p.name, "Unknown")).join(" & ") }),
|
|
10517
10511
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: fullNames })
|
|
10518
10512
|
] })
|
|
10519
10513
|
] }) });
|
|
@@ -11213,7 +11207,7 @@ function TableHeader({
|
|
|
11213
11207
|
onFilterChange
|
|
11214
11208
|
}
|
|
11215
11209
|
),
|
|
11216
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11210
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
11217
11211
|
] })
|
|
11218
11212
|
) : (
|
|
11219
11213
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -11239,7 +11233,7 @@ function TableHeader({
|
|
|
11239
11233
|
hint exists, so a hint-less header keeps its DOM. */
|
|
11240
11234
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
11241
11235
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11242
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11236
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InfoHint, { label: column.label, children: column.hint })
|
|
11243
11237
|
] })
|
|
11244
11238
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11245
11239
|
getSortIcon(column)
|
|
@@ -11797,7 +11791,7 @@ function TableDescriptionCell({ text, className, maxLines = 3 }) {
|
|
|
11797
11791
|
|
|
11798
11792
|
// src/components/ui/table/table-timestamp-cell.tsx
|
|
11799
11793
|
|
|
11800
|
-
var formatLocalTimestamp = (date) =>
|
|
11794
|
+
var formatLocalTimestamp = (date) => _chunkTKFTWM3Vcjs.formatDateWithTimezone.call(void 0, date, _chunkTKFTWM3Vcjs.VIEWER_TIMEZONE, "localeDateTime", { viewerLocale: true });
|
|
11801
11795
|
function formatTimestampValue(timestamp) {
|
|
11802
11796
|
if (timestamp instanceof Date) {
|
|
11803
11797
|
return formatLocalTimestamp(timestamp);
|
|
@@ -12580,7 +12574,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
12580
12574
|
// child of the cell.
|
|
12581
12575
|
_optionalChain([meta, 'optionalAccess', _229 => _229.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12582
12576
|
filterTrigger,
|
|
12583
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12577
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
12584
12578
|
] }) : filterTrigger
|
|
12585
12579
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12586
12580
|
"div",
|
|
@@ -12605,7 +12599,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
12605
12599
|
// centred on the row.
|
|
12606
12600
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12607
12601
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
12608
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12602
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
12609
12603
|
] })
|
|
12610
12604
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
12611
12605
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -12824,7 +12818,7 @@ function PhoneInput({
|
|
|
12824
12818
|
placeholder = "Phone Number (optional)",
|
|
12825
12819
|
onKeyDown
|
|
12826
12820
|
}) {
|
|
12827
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
12821
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkP7Y626YJcjs.getCountryPhoneData.call(void 0, ), []);
|
|
12828
12822
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
12829
12823
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
12830
12824
|
[countryCode, priority, others]
|
|
@@ -12839,7 +12833,7 @@ function PhoneInput({
|
|
|
12839
12833
|
_optionalChain([onValidationChange, 'optionalCall', _242 => _242(false)]);
|
|
12840
12834
|
return;
|
|
12841
12835
|
}
|
|
12842
|
-
const invalid = !
|
|
12836
|
+
const invalid = !_chunkP7Y626YJcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
12843
12837
|
setIsInvalid(invalid);
|
|
12844
12838
|
_optionalChain([onValidationChange, 'optionalCall', _243 => _243(invalid)]);
|
|
12845
12839
|
},
|
|
@@ -12859,7 +12853,7 @@ function PhoneInput({
|
|
|
12859
12853
|
}, []);
|
|
12860
12854
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 gap-2", children: [
|
|
12861
12855
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12862
|
-
|
|
12856
|
+
_chunkNFABAOMDcjs.Select,
|
|
12863
12857
|
{
|
|
12864
12858
|
value: countryCode,
|
|
12865
12859
|
onValueChange: (val) => {
|
|
@@ -12870,14 +12864,14 @@ function PhoneInput({
|
|
|
12870
12864
|
},
|
|
12871
12865
|
disabled,
|
|
12872
12866
|
children: [
|
|
12873
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12867
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { className: "w-[130px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, { children: selectedCountry && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5", children: [
|
|
12874
12868
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.flag }),
|
|
12875
12869
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.dialCode })
|
|
12876
12870
|
] }) }) }),
|
|
12877
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12878
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12879
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12880
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12871
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.SelectContent, { className: "max-h-[300px] !w-[280px]", children: [
|
|
12872
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectGroup, { children: priority.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) }),
|
|
12873
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectSeparator, {}),
|
|
12874
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectGroup, { children: others.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) })
|
|
12881
12875
|
] })
|
|
12882
12876
|
]
|
|
12883
12877
|
}
|
|
@@ -12909,7 +12903,7 @@ function PhoneInput({
|
|
|
12909
12903
|
] });
|
|
12910
12904
|
}
|
|
12911
12905
|
function CountryOption({ country }) {
|
|
12912
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12906
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: country.code, textValue: country.name, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-2", children: [
|
|
12913
12907
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: country.flag }),
|
|
12914
12908
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary", children: country.dialCode }),
|
|
12915
12909
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-block max-w-[140px] overflow-hidden text-ellipsis whitespace-nowrap", children: country.name })
|
|
@@ -13192,7 +13186,7 @@ function SearchInput({
|
|
|
13192
13186
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-shrink-0 text-ods-text-secondary transition-colors duration-200 group-has-[:focus]:text-ods-accent [&_svg]:size-4 content-md:[&_svg]:size-6", children: startAdornment !== void 0 ? startAdornment : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4GFNWALLcjs.SearchIcon, {}) }),
|
|
13193
13187
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
13194
13188
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13195
|
-
|
|
13189
|
+
_chunkTKFTWM3Vcjs.Tag,
|
|
13196
13190
|
{
|
|
13197
13191
|
variant: chipVariantToTagVariant(chip.variant),
|
|
13198
13192
|
label: chip.label,
|
|
@@ -13288,7 +13282,7 @@ function SearchInput({
|
|
|
13288
13282
|
)
|
|
13289
13283
|
] }),
|
|
13290
13284
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13291
|
-
|
|
13285
|
+
_chunkNFABAOMDcjs.HiddenTagsPopup,
|
|
13292
13286
|
{
|
|
13293
13287
|
ref: hiddenTagsPopupRef,
|
|
13294
13288
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
@@ -13308,7 +13302,7 @@ function SearchInput({
|
|
|
13308
13302
|
}
|
|
13309
13303
|
),
|
|
13310
13304
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: measureRef, "aria-hidden": "true", className: "pointer-events-none fixed -left-[9999px] top-0 flex gap-2", children: filterChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13311
|
-
|
|
13305
|
+
_chunkTKFTWM3Vcjs.Tag,
|
|
13312
13306
|
{
|
|
13313
13307
|
variant: chipVariantToTagVariant(chip.variant),
|
|
13314
13308
|
label: chip.label,
|
|
@@ -13521,7 +13515,7 @@ function TagSearchInput({
|
|
|
13521
13515
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4GFNWALLcjs.SearchIcon, { className: "size-4 text-ods-text-secondary content-md:size-6" }) }),
|
|
13522
13516
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2", children: [
|
|
13523
13517
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13524
|
-
|
|
13518
|
+
_chunkTKFTWM3Vcjs.Tag,
|
|
13525
13519
|
{
|
|
13526
13520
|
variant: "outline",
|
|
13527
13521
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -13582,7 +13576,7 @@ function TagSearchInput({
|
|
|
13582
13576
|
}
|
|
13583
13577
|
),
|
|
13584
13578
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13585
|
-
|
|
13579
|
+
_chunkNFABAOMDcjs.HiddenTagsPopup,
|
|
13586
13580
|
{
|
|
13587
13581
|
ref: hiddenTagsPopupRef,
|
|
13588
13582
|
items: hiddenTags,
|
|
@@ -13609,7 +13603,7 @@ function TagSearchInput({
|
|
|
13609
13603
|
"aria-hidden": "true",
|
|
13610
13604
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
13611
13605
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13612
|
-
|
|
13606
|
+
_chunkTKFTWM3Vcjs.Tag,
|
|
13613
13607
|
{
|
|
13614
13608
|
variant: "outline",
|
|
13615
13609
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -13766,7 +13760,7 @@ function MarkdownEditor({
|
|
|
13766
13760
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
13767
13761
|
try {
|
|
13768
13762
|
const url = await onUploadFile(file);
|
|
13769
|
-
const isImage =
|
|
13763
|
+
const isImage = _chunkIITZ6JSCcjs.fileMediaType.call(void 0, file) === "image";
|
|
13770
13764
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
13771
13765
|
insertTextAtCursor(markdown);
|
|
13772
13766
|
_optionalChain([onFileUploaded, 'optionalCall', _294 => _294(url, file.name)]);
|
|
@@ -13896,7 +13890,7 @@ function MarkdownEditor({
|
|
|
13896
13890
|
type: "file",
|
|
13897
13891
|
className: "hidden",
|
|
13898
13892
|
onChange: handleFileInputChange,
|
|
13899
|
-
accept: `${
|
|
13893
|
+
accept: `${_chunkIITZ6JSCcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
13900
13894
|
}
|
|
13901
13895
|
),
|
|
13902
13896
|
!MDEditor && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-64 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin" }) }),
|
|
@@ -14296,7 +14290,7 @@ function matchesAccept2(file, accept) {
|
|
|
14296
14290
|
return patterns.some((pattern) => {
|
|
14297
14291
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
14298
14292
|
if (pattern.endsWith("/*"))
|
|
14299
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
14293
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunkIITZ6JSCcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
14300
14294
|
return fileType === pattern;
|
|
14301
14295
|
});
|
|
14302
14296
|
}
|
|
@@ -14304,7 +14298,7 @@ function ImageUploader({
|
|
|
14304
14298
|
value,
|
|
14305
14299
|
onChange,
|
|
14306
14300
|
onRemove,
|
|
14307
|
-
accept =
|
|
14301
|
+
accept = _chunkIITZ6JSCcjs.IMAGE_FILE_ACCEPT,
|
|
14308
14302
|
maxSize = DEFAULT_MAX_SIZE,
|
|
14309
14303
|
label = "Cover Image",
|
|
14310
14304
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -14541,13 +14535,13 @@ function ColorPresetSelect({
|
|
|
14541
14535
|
...presets.map((p) => ({
|
|
14542
14536
|
id: p.key,
|
|
14543
14537
|
label: p.label,
|
|
14544
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14538
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHP4UUBJCcjs.ColorSwatch, { color: p.color }),
|
|
14545
14539
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
14546
14540
|
})),
|
|
14547
14541
|
{
|
|
14548
14542
|
id: CUSTOM_PRESET_KEY,
|
|
14549
14543
|
label: "Custom",
|
|
14550
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14544
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHP4UUBJCcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
14551
14545
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
14552
14546
|
}
|
|
14553
14547
|
]
|
|
@@ -14564,7 +14558,7 @@ function ColorPresetSelect({
|
|
|
14564
14558
|
{
|
|
14565
14559
|
disabled,
|
|
14566
14560
|
"aria-label": `Color: ${displayLabel}`,
|
|
14567
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14561
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHP4UUBJCcjs.ColorSwatch, { color: displayColor }),
|
|
14568
14562
|
selectedLabel: displayLabel,
|
|
14569
14563
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
14570
14564
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "group", className)
|
|
@@ -14585,7 +14579,7 @@ function HexInputs({ value, onChange }) {
|
|
|
14585
14579
|
}
|
|
14586
14580
|
const commit = () => {
|
|
14587
14581
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
14588
|
-
if (
|
|
14582
|
+
if (_chunkHP4UUBJCcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
14589
14583
|
else setDraft(value);
|
|
14590
14584
|
};
|
|
14591
14585
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14649,12 +14643,12 @@ function ChannelInput({
|
|
|
14649
14643
|
);
|
|
14650
14644
|
}
|
|
14651
14645
|
function RgbInputs({ value, onChange }) {
|
|
14652
|
-
const rgb = _nullishCoalesce(
|
|
14646
|
+
const rgb = _nullishCoalesce(_chunkHP4UUBJCcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
14653
14647
|
const update = (next) => {
|
|
14654
14648
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
14655
14649
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
14656
14650
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
14657
|
-
onChange(
|
|
14651
|
+
onChange(_chunkHP4UUBJCcjs.rgbToHex.call(void 0, r, g, b));
|
|
14658
14652
|
};
|
|
14659
14653
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14660
14654
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -14663,14 +14657,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
14663
14657
|
] });
|
|
14664
14658
|
}
|
|
14665
14659
|
function HslInputs({ value, onChange }) {
|
|
14666
|
-
const rgb = _nullishCoalesce(
|
|
14667
|
-
const hsl =
|
|
14660
|
+
const rgb = _nullishCoalesce(_chunkHP4UUBJCcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
14661
|
+
const hsl = _chunkHP4UUBJCcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
14668
14662
|
const update = (next) => {
|
|
14669
14663
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
14670
14664
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
14671
14665
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
14672
|
-
const out =
|
|
14673
|
-
onChange(
|
|
14666
|
+
const out = _chunkHP4UUBJCcjs.hslToRgb.call(void 0, h, s, l);
|
|
14667
|
+
onChange(_chunkHP4UUBJCcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
14674
14668
|
};
|
|
14675
14669
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14676
14670
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -14696,7 +14690,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
14696
14690
|
{
|
|
14697
14691
|
disabled,
|
|
14698
14692
|
"aria-label": "Pick custom color",
|
|
14699
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14693
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHP4UUBJCcjs.ColorSwatch, { color: value }),
|
|
14700
14694
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
14701
14695
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
14702
14696
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "group", className)
|
|
@@ -14769,7 +14763,7 @@ function TicketStatusConfigRow({
|
|
|
14769
14763
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
14770
14764
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
14771
14765
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14772
|
-
|
|
14766
|
+
_chunkHP4UUBJCcjs.TicketStatusTag,
|
|
14773
14767
|
{
|
|
14774
14768
|
status: statusKey,
|
|
14775
14769
|
label: name || " ",
|
|
@@ -14876,7 +14870,7 @@ function TicketStatusConfigRow({
|
|
|
14876
14870
|
),
|
|
14877
14871
|
children: [
|
|
14878
14872
|
!isSystem && moveButtons,
|
|
14879
|
-
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,
|
|
14873
|
+
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, _chunkABSWD4PQcjs.TouchFriendlyTooltip, { content: systemTooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14880
14874
|
"button",
|
|
14881
14875
|
{
|
|
14882
14876
|
type: "button",
|
|
@@ -14884,7 +14878,7 @@ function TicketStatusConfigRow({
|
|
|
14884
14878
|
className: "flex size-6 items-center justify-center text-ods-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
14885
14879
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.InfoCircleIcon, { size: 24 })
|
|
14886
14880
|
}
|
|
14887
|
-
) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14881
|
+
) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkABSWD4PQcjs.TouchFriendlyTooltip, { content: deleteDisabled ? deleteDisabledReason : void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14888
14882
|
_chunkHQIOMFJHcjs.Button,
|
|
14889
14883
|
{
|
|
14890
14884
|
type: "button",
|
|
@@ -14921,7 +14915,7 @@ function formatTestRunDuration(ms) {
|
|
|
14921
14915
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
14922
14916
|
var SKELETON_COLUMNS = 6;
|
|
14923
14917
|
function TestResultsSkeleton() {
|
|
14924
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14918
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
14925
14919
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-[160px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-4 w-3/4 animate-pulse rounded-sm bg-ods-bg-surface" }) }, `skeleton-header-${i}`)) }),
|
|
14926
14920
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "animate-pulse overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] content-md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-3/4 rounded-sm bg-ods-bg-surface" }) }, `skeleton-cell-${i}`)) }) })
|
|
14927
14921
|
] }) });
|
|
@@ -14956,7 +14950,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
14956
14950
|
if (loading) {
|
|
14957
14951
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
14958
14952
|
}
|
|
14959
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14953
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.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: [
|
|
14960
14954
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
14961
14955
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
14962
14956
|
] }) }) });
|
|
@@ -15018,7 +15012,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
15018
15012
|
function TestRunStatusStat({ status, className }) {
|
|
15019
15013
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
15020
15014
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 flex-col items-start justify-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
15021
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15015
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { label: tag.label, variant: tag.variant, className: "pointer-events-none" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: "-" }),
|
|
15022
15016
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
15023
15017
|
] });
|
|
15024
15018
|
}
|
|
@@ -15062,7 +15056,7 @@ function useTestRunState(campaign) {
|
|
|
15062
15056
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
15063
15057
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
15064
15058
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
15065
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
15059
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkFDWYBJYDcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
15066
15060
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
15067
15061
|
const displayRows = _react.useMemo.call(void 0,
|
|
15068
15062
|
() => campaign.results.map(
|
|
@@ -15101,7 +15095,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
15101
15095
|
),
|
|
15102
15096
|
children: [
|
|
15103
15097
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15104
|
-
|
|
15098
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
15105
15099
|
{
|
|
15106
15100
|
src: attachment.thumbnailSrc,
|
|
15107
15101
|
alt: attachment.fileName,
|
|
@@ -15194,7 +15188,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
15194
15188
|
};
|
|
15195
15189
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-start gap-4 rounded-[6px] p-3", "border border-ods-border bg-ods-card", className), children: [
|
|
15196
15190
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15197
|
-
|
|
15191
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
15198
15192
|
{
|
|
15199
15193
|
src: note.authorAvatar,
|
|
15200
15194
|
alt: note.authorName,
|
|
@@ -15370,7 +15364,7 @@ function TicketInfoSection({
|
|
|
15370
15364
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-card px-4 py-3 content-lg:grid-cols-[1fr_1fr_1fr_auto]", children: [
|
|
15371
15365
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
15372
15366
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15373
|
-
|
|
15367
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
15374
15368
|
{
|
|
15375
15369
|
src: _optionalChain([organization, 'optionalAccess', _330 => _330.imageSrc]),
|
|
15376
15370
|
alt: _optionalChain([organization, 'optionalAccess', _331 => _331.name]),
|
|
@@ -15400,7 +15394,7 @@ function TicketInfoSection({
|
|
|
15400
15394
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _334 => _334.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _335 => _335.icon]), onClick: _optionalChain([device, 'optionalAccess', _336 => _336.onClick]) }),
|
|
15401
15395
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
15402
15396
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15403
|
-
|
|
15397
|
+
_chunkHP4UUBJCcjs.TicketStatusTag,
|
|
15404
15398
|
{
|
|
15405
15399
|
status: _nullishCoalesce(status, () => ( "")),
|
|
15406
15400
|
label: statusLabel,
|
|
@@ -15439,9 +15433,9 @@ function TicketInfoSection({
|
|
|
15439
15433
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15440
15434
|
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" }) }),
|
|
15441
15435
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
15442
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15436
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.SimpleMarkdownRenderer, { content: description }),
|
|
15443
15437
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
15444
|
-
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,
|
|
15438
|
+
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, _chunkTKFTWM3Vcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
15445
15439
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15446
15440
|
TicketNotesSection,
|
|
15447
15441
|
{
|
|
@@ -15464,8 +15458,8 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
15464
15458
|
const { label, color } = option;
|
|
15465
15459
|
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: [
|
|
15466
15460
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
15467
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15468
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15461
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHP4UUBJCcjs.ColorSwatch, { color }),
|
|
15462
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
15469
15463
|
] }),
|
|
15470
15464
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
15471
15465
|
] });
|
|
@@ -15474,8 +15468,8 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
15474
15468
|
const { label, imageUrl } = option;
|
|
15475
15469
|
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: [
|
|
15476
15470
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
15477
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15478
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15471
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
15472
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
15479
15473
|
] }),
|
|
15480
15474
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
15481
15475
|
] });
|
|
@@ -15509,9 +15503,9 @@ function TakeOverTicketModal({
|
|
|
15509
15503
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
15510
15504
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
15511
15505
|
};
|
|
15512
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15506
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFDWYBJYDcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
15513
15507
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
15514
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15508
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
15515
15509
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
15516
15510
|
"The ticket ",
|
|
15517
15511
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -15519,19 +15513,19 @@ function TakeOverTicketModal({
|
|
|
15519
15513
|
] }),
|
|
15520
15514
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
15521
15515
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15522
|
-
|
|
15516
|
+
_chunkNFABAOMDcjs.Autocomplete,
|
|
15523
15517
|
{
|
|
15524
15518
|
label: "Status",
|
|
15525
15519
|
options: statusOptions,
|
|
15526
15520
|
value: selectedStatusId,
|
|
15527
15521
|
onChange: setStatusId,
|
|
15528
15522
|
placeholder: "Select Status",
|
|
15529
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15523
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHP4UUBJCcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
15530
15524
|
renderOption: renderTicketStatusOption
|
|
15531
15525
|
}
|
|
15532
15526
|
) }),
|
|
15533
15527
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15534
|
-
|
|
15528
|
+
_chunkNFABAOMDcjs.Autocomplete,
|
|
15535
15529
|
{
|
|
15536
15530
|
label: "Assigned",
|
|
15537
15531
|
options: assigneeOptions,
|
|
@@ -15540,7 +15534,7 @@ function TakeOverTicketModal({
|
|
|
15540
15534
|
placeholder: "Select Technician",
|
|
15541
15535
|
loading: assigneesLoading,
|
|
15542
15536
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15543
|
-
|
|
15537
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
15544
15538
|
{
|
|
15545
15539
|
src: selectedAssignee.imageUrl,
|
|
15546
15540
|
alt: selectedAssignee.label,
|
|
@@ -15553,7 +15547,7 @@ function TakeOverTicketModal({
|
|
|
15553
15547
|
}
|
|
15554
15548
|
) })
|
|
15555
15549
|
] }),
|
|
15556
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15550
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFDWYBJYDcjs.ModalFooter, { children: [
|
|
15557
15551
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
15558
15552
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
15559
15553
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15612,9 +15606,9 @@ function ReopenTicketModal({
|
|
|
15612
15606
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
15613
15607
|
});
|
|
15614
15608
|
};
|
|
15615
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15609
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFDWYBJYDcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
15616
15610
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
15617
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15611
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
15618
15612
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
15619
15613
|
"The ticket ",
|
|
15620
15614
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -15622,19 +15616,19 @@ function ReopenTicketModal({
|
|
|
15622
15616
|
] }),
|
|
15623
15617
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
15624
15618
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15625
|
-
|
|
15619
|
+
_chunkNFABAOMDcjs.Autocomplete,
|
|
15626
15620
|
{
|
|
15627
15621
|
label: "Status",
|
|
15628
15622
|
options: statusOptions,
|
|
15629
15623
|
value: selectedStatusId,
|
|
15630
15624
|
onChange: setStatusId,
|
|
15631
15625
|
placeholder: "Select Status",
|
|
15632
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15626
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHP4UUBJCcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
15633
15627
|
renderOption: renderTicketStatusOption
|
|
15634
15628
|
}
|
|
15635
15629
|
) }),
|
|
15636
15630
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15637
|
-
|
|
15631
|
+
_chunkNFABAOMDcjs.Autocomplete,
|
|
15638
15632
|
{
|
|
15639
15633
|
label: "Assigned",
|
|
15640
15634
|
options: assigneeOptions,
|
|
@@ -15643,7 +15637,7 @@ function ReopenTicketModal({
|
|
|
15643
15637
|
placeholder: "Select Technician",
|
|
15644
15638
|
loading: assigneesLoading,
|
|
15645
15639
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15646
|
-
|
|
15640
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
15647
15641
|
{
|
|
15648
15642
|
src: selectedAssignee.imageUrl,
|
|
15649
15643
|
alt: selectedAssignee.label,
|
|
@@ -15667,7 +15661,7 @@ function ReopenTicketModal({
|
|
|
15667
15661
|
disabled: isPending
|
|
15668
15662
|
}
|
|
15669
15663
|
) }),
|
|
15670
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15664
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFDWYBJYDcjs.ModalFooter, { children: [
|
|
15671
15665
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
15672
15666
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
15673
15667
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15716,9 +15710,9 @@ function ReopenTicketRequestModal({
|
|
|
15716
15710
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
15717
15711
|
});
|
|
15718
15712
|
};
|
|
15719
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15713
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFDWYBJYDcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
15720
15714
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
15721
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15715
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
15722
15716
|
/* @__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." }),
|
|
15723
15717
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15724
15718
|
Textarea,
|
|
@@ -15742,7 +15736,7 @@ function ReopenTicketRequestModal({
|
|
|
15742
15736
|
disabled: isPending
|
|
15743
15737
|
}
|
|
15744
15738
|
),
|
|
15745
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15739
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFDWYBJYDcjs.ModalFooter, { children: [
|
|
15746
15740
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
15747
15741
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
15748
15742
|
] })
|
|
@@ -15884,7 +15878,7 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
15884
15878
|
gap: COLUMN_GAP_PX
|
|
15885
15879
|
};
|
|
15886
15880
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk3ATAYP36cjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15887
|
-
|
|
15881
|
+
_chunkP7Y626YJcjs.MarqueeWall,
|
|
15888
15882
|
{
|
|
15889
15883
|
axis: "y",
|
|
15890
15884
|
reverse: index % 2 === 1,
|
|
@@ -16051,7 +16045,7 @@ function AnalyzingState({ label, className }) {
|
|
|
16051
16045
|
}) }),
|
|
16052
16046
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 text-center text-ods-text-secondary text-h4", children: [
|
|
16053
16047
|
label,
|
|
16054
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16048
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFDWYBJYDcjs.ChatTypingIndicator, { "aria-hidden": true, size: "sm", dotClassName: "bg-ods-text-secondary motion-reduce:animate-none" })
|
|
16055
16049
|
] })
|
|
16056
16050
|
] });
|
|
16057
16051
|
}
|
|
@@ -16065,7 +16059,7 @@ var INCIDENT_TONE = {
|
|
|
16065
16059
|
approved: "success"
|
|
16066
16060
|
};
|
|
16067
16061
|
function IncidentStatusLine({ status, label, className }) {
|
|
16068
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16062
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHP4UUBJCcjs.StatusLine, { tone: INCIDENT_TONE[status], label, className });
|
|
16069
16063
|
}
|
|
16070
16064
|
function SourceTag({ children }) {
|
|
16071
16065
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 rounded-md border border-ods-border px-2 py-1 text-ods-text-secondary text-h5", children });
|
|
@@ -16667,10 +16661,10 @@ function AccountDetailsFields({
|
|
|
16667
16661
|
var DEFAULT_TITLE = "The All-in-One Open Platform for MSPs";
|
|
16668
16662
|
var DEFAULT_DESCRIPTION = "All your core ops in one place - built for MSPs who are done duct-taping tools together. Unified stack, AI-ready, no vendor tax. Just solid software that lets you run lean and fast.";
|
|
16669
16663
|
var DEFAULT_BENEFITS = [
|
|
16670
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CreditCardXmarkIcon, {}), label:
|
|
16671
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.XmarkAltIcon, {}), label:
|
|
16672
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FlaskVialIcon, {}), label:
|
|
16673
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FileOffIcon, {}), label:
|
|
16664
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CreditCardXmarkIcon, {}), label: _chunkP7Y626YJcjs.TRIAL_LABELS.noCard },
|
|
16665
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.XmarkAltIcon, {}), label: _chunkP7Y626YJcjs.TRIAL_LABELS.cancel },
|
|
16666
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FlaskVialIcon, {}), label: _chunkP7Y626YJcjs.TRIAL_LABELS.length },
|
|
16667
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FileOffIcon, {}), label: _chunkP7Y626YJcjs.TRIAL_LABELS.noContract }
|
|
16674
16668
|
];
|
|
16675
16669
|
function AuthBenefitsPanel({
|
|
16676
16670
|
title = DEFAULT_TITLE,
|
|
@@ -16898,7 +16892,7 @@ function CompleteAccountForm({
|
|
|
16898
16892
|
),
|
|
16899
16893
|
children: [
|
|
16900
16894
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
16901
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
16895
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkIITZ6JSCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
16902
16896
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
16903
16897
|
] }),
|
|
16904
16898
|
ssoProviders && ssoProviders.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -17046,7 +17040,7 @@ function CreateOrganizationForm({
|
|
|
17046
17040
|
),
|
|
17047
17041
|
children: [
|
|
17048
17042
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17049
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17043
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkIITZ6JSCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17050
17044
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17051
17045
|
] }),
|
|
17052
17046
|
email === void 0 ? null : emailReadOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Input, { type: "email", label: emailReadOnlyLabel, value: email, readOnly: true, disabled: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17187,7 +17181,7 @@ function InviteLinkInvalidModal({
|
|
|
17187
17181
|
),
|
|
17188
17182
|
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: [
|
|
17189
17183
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
17190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17184
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkIITZ6JSCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17191
17185
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17192
17186
|
"button",
|
|
17193
17187
|
{
|
|
@@ -17261,7 +17255,7 @@ function LoginForm({
|
|
|
17261
17255
|
),
|
|
17262
17256
|
children: [
|
|
17263
17257
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17258
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkIITZ6JSCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17265
17259
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17266
17260
|
] }),
|
|
17267
17261
|
ssoProviders.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17356,7 +17350,7 @@ function NoAccountNotice({
|
|
|
17356
17350
|
),
|
|
17357
17351
|
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: [
|
|
17358
17352
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17359
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17353
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkIITZ6JSCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17360
17354
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
17361
17355
|
] }),
|
|
17362
17356
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -17405,7 +17399,7 @@ function OpenFrameSsoLoginForm({
|
|
|
17405
17399
|
),
|
|
17406
17400
|
children: [
|
|
17407
17401
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
17408
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17402
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkIITZ6JSCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17409
17403
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17410
17404
|
] }),
|
|
17411
17405
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17510,7 +17504,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
17510
17504
|
),
|
|
17511
17505
|
children: [
|
|
17512
17506
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
17513
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17507
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkIITZ6JSCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17514
17508
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17515
17509
|
] }),
|
|
17516
17510
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17616,7 +17610,7 @@ function PasswordResetForm({
|
|
|
17616
17610
|
),
|
|
17617
17611
|
children: [
|
|
17618
17612
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17619
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17613
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkIITZ6JSCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17620
17614
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17621
17615
|
] }),
|
|
17622
17616
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17733,12 +17727,12 @@ function SsoJoinForm({
|
|
|
17733
17727
|
),
|
|
17734
17728
|
children: [
|
|
17735
17729
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
17736
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
17730
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkIITZ6JSCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
17737
17731
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
17738
17732
|
] }),
|
|
17739
17733
|
/* @__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: [
|
|
17740
17734
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17741
|
-
|
|
17735
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
17742
17736
|
{
|
|
17743
17737
|
size: "lg",
|
|
17744
17738
|
variant: "round",
|
|
@@ -17752,7 +17746,7 @@ function SsoJoinForm({
|
|
|
17752
17746
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
17753
17747
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
17754
17748
|
] }),
|
|
17755
|
-
roles.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xs)]", children: roles.map((role) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17749
|
+
roles.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xs)]", children: roles.map((role) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { variant: "grey", label: role }, role)) })
|
|
17756
17750
|
] }),
|
|
17757
17751
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17758
17752
|
CheckboxBlock,
|
|
@@ -17996,7 +17990,7 @@ function ChangelogManager({
|
|
|
17996
17990
|
),
|
|
17997
17991
|
/* @__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)" }) }),
|
|
17998
17992
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17999
|
-
|
|
17993
|
+
_chunkIITZ6JSCcjs.StatusBadge,
|
|
18000
17994
|
{
|
|
18001
17995
|
variant: "button",
|
|
18002
17996
|
singleLine: true,
|
|
@@ -18060,9 +18054,9 @@ function ChangelogManager({
|
|
|
18060
18054
|
] }),
|
|
18061
18055
|
tagOptions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
18062
18056
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
18063
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18064
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18065
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18057
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.Select, { value: _nullishCoalesce(entry.tag, () => ( "")), onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
18058
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, { placeholder: tagLabel }) }),
|
|
18059
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectContent, { children: tagOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
18066
18060
|
] })
|
|
18067
18061
|
] })
|
|
18068
18062
|
] })
|
|
@@ -18259,7 +18253,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
18259
18253
|
const label = (tag.name || "").toUpperCase();
|
|
18260
18254
|
if (basePath && tag.slug) {
|
|
18261
18255
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18262
|
-
|
|
18256
|
+
_chunkIITZ6JSCcjs.StatusBadge,
|
|
18263
18257
|
{
|
|
18264
18258
|
text: label,
|
|
18265
18259
|
variant: "card",
|
|
@@ -18267,9 +18261,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
18267
18261
|
}
|
|
18268
18262
|
) }, key);
|
|
18269
18263
|
}
|
|
18270
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18264
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
18271
18265
|
}),
|
|
18272
|
-
overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18266
|
+
overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.StatusBadge, { text: `+${overflow}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
18273
18267
|
] });
|
|
18274
18268
|
}
|
|
18275
18269
|
|
|
@@ -18365,7 +18359,7 @@ var SectionButton = ({
|
|
|
18365
18359
|
}
|
|
18366
18360
|
),
|
|
18367
18361
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18368
|
-
|
|
18362
|
+
_chunkIITZ6JSCcjs.StatusBadge,
|
|
18369
18363
|
{
|
|
18370
18364
|
text: section.badge.text,
|
|
18371
18365
|
variant: section.badge.variant || "button",
|
|
@@ -18384,7 +18378,7 @@ var SectionButton = ({
|
|
|
18384
18378
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
18385
18379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
18386
18380
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18387
|
-
|
|
18381
|
+
_chunkIITZ6JSCcjs.StatusBadge,
|
|
18388
18382
|
{
|
|
18389
18383
|
text: section.badge.text,
|
|
18390
18384
|
variant: section.badge.variant || "button",
|
|
@@ -18701,7 +18695,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
18701
18695
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
18702
18696
|
title: config.title,
|
|
18703
18697
|
loading: "eager",
|
|
18704
|
-
...
|
|
18698
|
+
..._chunkIITZ6JSCcjs.fetchPriorityProp.call(void 0, "high")
|
|
18705
18699
|
},
|
|
18706
18700
|
iframeKey
|
|
18707
18701
|
),
|
|
@@ -19455,15 +19449,15 @@ function useLoading() {
|
|
|
19455
19449
|
|
|
19456
19450
|
|
|
19457
19451
|
function isAlreadyThere(file, existing) {
|
|
19458
|
-
const key =
|
|
19452
|
+
const key = _chunkIITZ6JSCcjs.mediaNameKey.call(void 0, file.name);
|
|
19459
19453
|
if (!key) return false;
|
|
19460
19454
|
return existing.some(
|
|
19461
|
-
(item) => (item.title ?
|
|
19455
|
+
(item) => (item.title ? _chunkIITZ6JSCcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunkIITZ6JSCcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
19462
19456
|
);
|
|
19463
19457
|
}
|
|
19464
19458
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
19465
|
-
var isVideoItem = (item) =>
|
|
19466
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
19459
|
+
var isVideoItem = (item) => _chunkIITZ6JSCcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
19460
|
+
var MEDIA_KIND_ACCEPT = { image: _chunkIITZ6JSCcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunkIITZ6JSCcjs.MEDIA_FILE_ACCEPT };
|
|
19467
19461
|
var MEDIA_KIND_COPY = {
|
|
19468
19462
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
19469
19463
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -19487,12 +19481,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
19487
19481
|
const seen = /* @__PURE__ */ new Set();
|
|
19488
19482
|
const accepted = [];
|
|
19489
19483
|
for (const file of files) {
|
|
19490
|
-
const mediaType =
|
|
19484
|
+
const mediaType = _chunkIITZ6JSCcjs.fileMediaType.call(void 0, file);
|
|
19491
19485
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
19492
19486
|
unsupported.push(file.name);
|
|
19493
19487
|
continue;
|
|
19494
19488
|
}
|
|
19495
|
-
const contentKey = await
|
|
19489
|
+
const contentKey = await _chunkIITZ6JSCcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
19496
19490
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
19497
19491
|
duplicates.push(file.name);
|
|
19498
19492
|
continue;
|
|
@@ -19673,7 +19667,7 @@ function MediaGalleryManager({
|
|
|
19673
19667
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "grid grid-cols-1 gap-4 content-md:grid-cols-2", columns === 3 && "content-lg:grid-cols-3"),
|
|
19674
19668
|
children: [
|
|
19675
19669
|
media.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19676
|
-
|
|
19670
|
+
_chunkIITZ6JSCcjs.Card,
|
|
19677
19671
|
{
|
|
19678
19672
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
19679
19673
|
draggable: true,
|
|
@@ -19698,7 +19692,7 @@ function MediaGalleryManager({
|
|
|
19698
19692
|
) }),
|
|
19699
19693
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
19700
19694
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
19701
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19695
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
19702
19696
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19703
19697
|
_chunkMGHIV4L6cjs.next_image_default,
|
|
19704
19698
|
{
|
|
@@ -19713,17 +19707,17 @@ function MediaGalleryManager({
|
|
|
19713
19707
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
19714
19708
|
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" }),
|
|
19715
19709
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19716
|
-
|
|
19710
|
+
_chunkNFABAOMDcjs.Select,
|
|
19717
19711
|
{
|
|
19718
19712
|
value: item.media_type,
|
|
19719
19713
|
onValueChange: (value) => update(index, { media_type: value }),
|
|
19720
19714
|
children: [
|
|
19721
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19722
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19723
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19724
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19725
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19726
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19715
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { className: "h-8 bg-ods-bg text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, {}) }),
|
|
19716
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.SelectContent, { className: "bg-ods-card", children: [
|
|
19717
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "image", children: "Image" }),
|
|
19718
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "video", children: "Video" }),
|
|
19719
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "screenshot", children: "Screenshot" }),
|
|
19720
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "demo", children: "Demo" })
|
|
19727
19721
|
] })
|
|
19728
19722
|
]
|
|
19729
19723
|
}
|
|
@@ -19750,7 +19744,7 @@ function MediaGalleryManager({
|
|
|
19750
19744
|
},
|
|
19751
19745
|
_nullishCoalesce(item.id, () => ( `${item.media_url}-${index}`))
|
|
19752
19746
|
)),
|
|
19753
|
-
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19747
|
+
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIITZ6JSCcjs.Card, { className: "border-ods-border", "aria-busy": "true", children: [
|
|
19754
19748
|
/* @__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" }) }),
|
|
19755
19749
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate p-3 text-ods-text-secondary text-h6", children: name })
|
|
19756
19750
|
] }, `pending-${name}-${index}`))
|
|
@@ -20191,60 +20185,60 @@ function CardSkeleton({
|
|
|
20191
20185
|
function VendorCardContent({ showMetadata }) {
|
|
20192
20186
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 p-4", children: [
|
|
20193
20187
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
20194
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[60px] w-[60px] flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20188
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[60px] w-[60px] flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Avatar, { size: "sm", className: "h-11 w-11" }) }),
|
|
20195
20189
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
20196
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20197
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20190
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20191
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
20198
20192
|
] })
|
|
20199
20193
|
] }),
|
|
20200
20194
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-full items-center overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
20201
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20202
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20195
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20196
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20203
20197
|
] }) }),
|
|
20204
20198
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
20205
20199
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
20206
20200
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
20207
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20208
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20201
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
20202
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
20209
20203
|
] }),
|
|
20210
20204
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
20211
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
20206
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
20213
20207
|
] })
|
|
20214
20208
|
] }),
|
|
20215
20209
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 rounded border border-ods-border bg-ods-bg px-2.5 py-1.5", children: [
|
|
20216
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20217
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20210
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
20211
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20218
20212
|
] }) })
|
|
20219
20213
|
] })
|
|
20220
20214
|
] });
|
|
20221
20215
|
}
|
|
20222
20216
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
20223
20217
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
20224
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "blog-card-image-container relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20218
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "blog-card-image-container relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.CardImage, {}) }),
|
|
20225
20219
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col p-4", children: [
|
|
20226
20220
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[50.4px] items-center content-md:min-h-[56px] content-lg:min-h-[61.6px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
20227
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20228
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20221
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "w-full" }),
|
|
20222
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "w-3/4" })
|
|
20229
20223
|
] }) }),
|
|
20230
20224
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-3 flex h-[28px] items-center gap-2", children: [
|
|
20231
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20232
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20225
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
20226
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Chip, { className: "w-12" })
|
|
20233
20227
|
] }),
|
|
20234
20228
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[42px] items-center content-md:min-h-[45px] content-lg:min-h-[48px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
20235
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20236
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20229
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20230
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
20237
20231
|
] }) }),
|
|
20238
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20232
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Button, { className: "h-8 w-24" }) }),
|
|
20239
20233
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-auto", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 border-t border-ods-border pt-4", children: [
|
|
20240
20234
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
20241
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20242
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20235
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20236
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20243
20237
|
] }),
|
|
20244
20238
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3 text-ods-text-muted", children: [
|
|
20245
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20239
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
20246
20240
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-1 w-1 rounded-full bg-ods-skeleton" }),
|
|
20247
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20241
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20248
20242
|
] })
|
|
20249
20243
|
] }) })
|
|
20250
20244
|
] })
|
|
@@ -20252,35 +20246,35 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
20252
20246
|
}
|
|
20253
20247
|
function CategoryCardContent() {
|
|
20254
20248
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 p-4 content-md:p-6", children: [
|
|
20255
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 content-md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20249
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 content-md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Icon, { size: "lg", className: "flex-shrink-0" }, index)) }),
|
|
20256
20250
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20257
20251
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20258
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20259
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20252
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20253
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
20260
20254
|
] }),
|
|
20261
20255
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between gap-4 content-md:items-end content-md:gap-6", children: [
|
|
20262
20256
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20263
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20257
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20258
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20265
20259
|
] }),
|
|
20266
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20260
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Button, { className: "h-10 w-10 flex-shrink-0 content-md:h-12 content-md:w-12" })
|
|
20267
20261
|
] })
|
|
20268
20262
|
] })
|
|
20269
20263
|
] });
|
|
20270
20264
|
}
|
|
20271
20265
|
function AlternativeCardContent({ showActions }) {
|
|
20272
20266
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4 p-4", children: [
|
|
20273
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20267
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
20274
20268
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20275
20269
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
20276
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20277
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20270
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
20271
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20278
20272
|
] }),
|
|
20279
20273
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20280
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20281
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20274
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20275
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-5/6" })
|
|
20282
20276
|
] }),
|
|
20283
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20277
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Button, { className: "h-8 w-20" }) })
|
|
20284
20278
|
] })
|
|
20285
20279
|
] });
|
|
20286
20280
|
}
|
|
@@ -20331,12 +20325,12 @@ function HeroSkeleton() {
|
|
|
20331
20325
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
20332
20326
|
},
|
|
20333
20327
|
children: [
|
|
20334
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20328
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl content-md:mb-6 content-md:h-20 content-lg:h-24" }),
|
|
20335
20329
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-8 w-full max-w-4xl space-y-3 px-2 content-md:mb-10", children: [
|
|
20336
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20337
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20330
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "h-5 content-md:h-7" }),
|
|
20331
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 content-md:h-7" })
|
|
20338
20332
|
] }),
|
|
20339
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20333
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Button, { className: "h-12 w-full content-md:w-64" })
|
|
20340
20334
|
]
|
|
20341
20335
|
}
|
|
20342
20336
|
);
|
|
@@ -20347,14 +20341,14 @@ function SearchContainerSkeleton({
|
|
|
20347
20341
|
}) {
|
|
20348
20342
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className || ""), children: [
|
|
20349
20343
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 content-md:gap-4", children: [
|
|
20350
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20351
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20344
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
20345
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Button, { className: "w-32 content-md:w-40" })
|
|
20352
20346
|
] }),
|
|
20353
20347
|
showFilters && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-2", children: [
|
|
20354
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20355
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20356
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20357
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20348
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Chip, {}),
|
|
20349
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Chip, { className: "w-24" }),
|
|
20350
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
20351
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Chip, { className: "w-20" })
|
|
20358
20352
|
] })
|
|
20359
20353
|
] });
|
|
20360
20354
|
}
|
|
@@ -20373,7 +20367,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20373
20367
|
{ type: "file", width: "w-36" }
|
|
20374
20368
|
];
|
|
20375
20369
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full content-lg:w-[320px]", className), children: [
|
|
20376
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20370
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
20377
20371
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20378
20372
|
"div",
|
|
20379
20373
|
{
|
|
@@ -20383,12 +20377,12 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20383
20377
|
),
|
|
20384
20378
|
children: [
|
|
20385
20379
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2.5", children: [
|
|
20386
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20387
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20380
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-4 w-4 shrink-0 rounded" }),
|
|
20381
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
20388
20382
|
] }),
|
|
20389
20383
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[18px] items-center gap-2", children: [
|
|
20390
|
-
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20391
|
-
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20384
|
+
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
20385
|
+
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-4 w-4 rounded" })
|
|
20392
20386
|
] })
|
|
20393
20387
|
]
|
|
20394
20388
|
},
|
|
@@ -20398,13 +20392,13 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
20398
20392
|
}
|
|
20399
20393
|
function BreadcrumbSkeleton({ className }) {
|
|
20400
20394
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-6 flex items-center space-x-1", className), children: [
|
|
20401
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20402
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20403
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20404
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20405
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20406
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20407
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20395
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
20396
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20397
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-24" }),
|
|
20398
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20399
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-32" }),
|
|
20400
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
20401
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
20408
20402
|
] });
|
|
20409
20403
|
}
|
|
20410
20404
|
function ResultsHeaderSkeleton({ className }) {
|
|
@@ -20415,7 +20409,7 @@ function ResultsHeaderSkeleton({ className }) {
|
|
|
20415
20409
|
"mb-6 flex flex-col items-start justify-between gap-4 content-md:flex-row content-md:items-center",
|
|
20416
20410
|
className
|
|
20417
20411
|
),
|
|
20418
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20412
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-48" }) })
|
|
20419
20413
|
}
|
|
20420
20414
|
);
|
|
20421
20415
|
}
|
|
@@ -20449,35 +20443,35 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
20449
20443
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mx-auto max-w-4xl", className), children: [
|
|
20450
20444
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "mb-8 space-y-4 content-md:mb-12 content-md:space-y-6", children: [
|
|
20451
20445
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
20452
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20453
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20446
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Chip, {}),
|
|
20447
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Chip, { className: "w-16" })
|
|
20454
20448
|
] }),
|
|
20455
20449
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
20456
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20457
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20450
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Heading, { className: "w-full" }),
|
|
20451
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Heading, { className: "w-3/4" })
|
|
20458
20452
|
] }),
|
|
20459
20453
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 border-t border-ods-divider pt-4", children: [
|
|
20460
20454
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
20461
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20462
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20455
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20456
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
20463
20457
|
] }),
|
|
20464
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20465
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20458
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-20" }),
|
|
20459
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
20466
20460
|
] })
|
|
20467
20461
|
] }),
|
|
20468
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20462
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.CardImage, { className: "h-64 w-full content-md:h-96" }) }),
|
|
20469
20463
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
20470
20464
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20471
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20472
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20473
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20474
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20465
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20466
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20467
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-5/6" }),
|
|
20468
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20475
20469
|
] }, index)),
|
|
20476
20470
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "py-4", children: [
|
|
20477
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20471
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "mb-4 w-2/3" }),
|
|
20478
20472
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20479
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20480
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20473
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20474
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-4/5" })
|
|
20481
20475
|
] })
|
|
20482
20476
|
] })
|
|
20483
20477
|
] })
|
|
@@ -20703,11 +20697,11 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
20703
20697
|
className
|
|
20704
20698
|
),
|
|
20705
20699
|
children: Array.from({ length: columns }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
20706
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20707
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20700
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Icon, { size: "lg" }),
|
|
20701
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
20708
20702
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20709
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20710
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20703
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20704
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20711
20705
|
] })
|
|
20712
20706
|
] }) }, i))
|
|
20713
20707
|
}
|
|
@@ -20862,7 +20856,7 @@ function useContentLoading(isLoading) {
|
|
|
20862
20856
|
|
|
20863
20857
|
function ParagraphSkeleton({ className, lines = 4 }) {
|
|
20864
20858
|
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
20865
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20859
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: lineWidths[index % lineWidths.length] }, index)) });
|
|
20866
20860
|
}
|
|
20867
20861
|
function ListSkeleton({
|
|
20868
20862
|
className,
|
|
@@ -20872,12 +20866,12 @@ function ListSkeleton({
|
|
|
20872
20866
|
}) {
|
|
20873
20867
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
20874
20868
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20875
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20869
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
20870
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-32 content-md:w-48" })
|
|
20877
20871
|
] }),
|
|
20878
20872
|
showActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
20879
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20880
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20873
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-8" }),
|
|
20874
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4" })
|
|
20881
20875
|
] })
|
|
20882
20876
|
] }, index)) });
|
|
20883
20877
|
}
|
|
@@ -20887,13 +20881,13 @@ function TableSkeleton({
|
|
|
20887
20881
|
columns = 4
|
|
20888
20882
|
}) {
|
|
20889
20883
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
20890
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20884
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "w-3/4" }, index)) }),
|
|
20891
20885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20892
20886
|
"div",
|
|
20893
20887
|
{
|
|
20894
20888
|
className: "grid gap-4 border-b border-ods-divider py-2",
|
|
20895
20889
|
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
20896
|
-
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20890
|
+
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-2/3" }, colIndex))
|
|
20897
20891
|
},
|
|
20898
20892
|
rowIndex
|
|
20899
20893
|
)) })
|
|
@@ -20902,13 +20896,13 @@ function TableSkeleton({
|
|
|
20902
20896
|
function FormSkeleton({ className, fields = 4 }) {
|
|
20903
20897
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: [
|
|
20904
20898
|
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20905
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20906
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20907
|
-
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20899
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
20900
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Input, {}),
|
|
20901
|
+
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-48" })
|
|
20908
20902
|
] }, index)),
|
|
20909
20903
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 pt-4", children: [
|
|
20910
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20911
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Button, {}),
|
|
20905
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Button, { className: "bg-ods-border" })
|
|
20912
20906
|
] })
|
|
20913
20907
|
] });
|
|
20914
20908
|
}
|
|
@@ -20923,7 +20917,7 @@ function NavigationSkeleton({
|
|
|
20923
20917
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex gap-4 content-md:gap-6", !horizontal && "flex-col", className),
|
|
20924
20918
|
role: "status",
|
|
20925
20919
|
"aria-label": "Loading navigation",
|
|
20926
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20920
|
+
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-16 content-md:w-20" }, index))
|
|
20927
20921
|
}
|
|
20928
20922
|
);
|
|
20929
20923
|
}
|
|
@@ -20934,30 +20928,30 @@ function ProfileSkeleton({
|
|
|
20934
20928
|
}) {
|
|
20935
20929
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
20936
20930
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
20937
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20931
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Avatar, { size: "lg" }),
|
|
20938
20932
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
20939
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20940
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20941
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20933
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
20934
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-1/3" }),
|
|
20935
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20942
20936
|
] })
|
|
20943
20937
|
] }),
|
|
20944
20938
|
showBio && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20945
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20946
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20947
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20939
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20940
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-4/5" }),
|
|
20941
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
20948
20942
|
] }),
|
|
20949
20943
|
showStats && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-6", children: [
|
|
20950
20944
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
20951
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20952
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20945
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
20946
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "mx-auto w-12" })
|
|
20953
20947
|
] }),
|
|
20954
20948
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
20955
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20956
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20949
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
20950
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "mx-auto w-16" })
|
|
20957
20951
|
] }),
|
|
20958
20952
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
20959
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20960
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20953
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
20954
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "mx-auto w-14" })
|
|
20961
20955
|
] })
|
|
20962
20956
|
] })
|
|
20963
20957
|
] });
|
|
@@ -20969,32 +20963,32 @@ function CommentSkeleton({
|
|
|
20969
20963
|
}) {
|
|
20970
20964
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: [
|
|
20971
20965
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20972
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20966
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20973
20967
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center gap-4", children: [
|
|
20974
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20975
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20976
|
-
showRating && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-1", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20968
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
20969
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
20970
|
+
showRating && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-1", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Icon, { size: "sm" }, i)) })
|
|
20977
20971
|
] })
|
|
20978
20972
|
] }),
|
|
20979
20973
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 space-y-2", children: [
|
|
20980
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20981
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20982
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20974
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20975
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-3/4" }),
|
|
20976
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
20983
20977
|
] }),
|
|
20984
20978
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 flex gap-4", children: [
|
|
20985
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20986
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20987
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20979
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
20980
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
20981
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
20988
20982
|
] }),
|
|
20989
20983
|
showReplies && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ml-11 space-y-4 border-l border-ods-divider pl-4", children: Array.from({ length: 2 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
20990
20984
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
20991
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20992
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20993
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20985
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
20986
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-20" }),
|
|
20987
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-12" })
|
|
20994
20988
|
] }),
|
|
20995
20989
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11", children: [
|
|
20996
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20997
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20990
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
20991
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
20998
20992
|
] })
|
|
20999
20993
|
] }, index)) })
|
|
21000
20994
|
] });
|
|
@@ -21007,31 +21001,31 @@ function FeatureListSkeleton({
|
|
|
21007
21001
|
}) {
|
|
21008
21002
|
if (grouped) {
|
|
21009
21003
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: Array.from({ length: 3 }).map((_, groupIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
21010
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21004
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
21011
21005
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-2", children: Array.from({ length: features / 3 }).map((_feature, featureIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21012
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21013
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21006
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21007
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21014
21008
|
] }, featureIndex)) })
|
|
21015
21009
|
] }, groupIndex)) });
|
|
21016
21010
|
}
|
|
21017
21011
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: Array.from({ length: features }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21018
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21019
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21012
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21013
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21020
21014
|
] }, index)) });
|
|
21021
21015
|
}
|
|
21022
21016
|
function TimelineSkeleton({ className, items = 5 }) {
|
|
21023
21017
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4", children: [
|
|
21024
21018
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center", children: [
|
|
21025
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21019
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21026
21020
|
index < items - 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2 h-12 w-px bg-ods-border" })
|
|
21027
21021
|
] }),
|
|
21028
21022
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
21029
21023
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21030
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21031
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21024
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-1/3" }),
|
|
21025
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21032
21026
|
] }),
|
|
21033
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21034
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21027
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21028
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21035
21029
|
] })
|
|
21036
21030
|
] }, index)) });
|
|
21037
21031
|
}
|
|
@@ -21047,16 +21041,16 @@ function PricingSkeleton({ className, plans = 3 }) {
|
|
|
21047
21041
|
className
|
|
21048
21042
|
),
|
|
21049
21043
|
children: Array.from({ length: plans }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
21050
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21044
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
21051
21045
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
21052
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21053
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21046
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Heading, { className: "w-1/3" }),
|
|
21047
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-1/4" })
|
|
21054
21048
|
] }),
|
|
21055
21049
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3 py-4", children: Array.from({ length: 5 }).map((_feature, featureIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21056
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21057
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21050
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
21051
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21058
21052
|
] }, featureIndex)) }),
|
|
21059
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21053
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Button, { className: "w-full" })
|
|
21060
21054
|
] }) }, index))
|
|
21061
21055
|
}
|
|
21062
21056
|
);
|
|
@@ -21092,12 +21086,12 @@ function MspProfileFormSkeleton({ className, fields = 4 }) {
|
|
|
21092
21086
|
"aria-label": "Loading MSP profile form",
|
|
21093
21087
|
children: [
|
|
21094
21088
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col space-y-2", children: [
|
|
21095
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21096
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 content-md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21089
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-28" }),
|
|
21090
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 content-md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-full w-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
21097
21091
|
] }),
|
|
21098
21092
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2", children: Array.from({ length: fields }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col space-y-2", children: [
|
|
21099
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21100
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21093
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-40" }),
|
|
21094
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.InteractiveSkeleton.Input, {})
|
|
21101
21095
|
] }, idx)) })
|
|
21102
21096
|
]
|
|
21103
21097
|
}
|
|
@@ -21117,13 +21111,13 @@ function CategoryCardSkeleton({ className }) {
|
|
|
21117
21111
|
role: "status",
|
|
21118
21112
|
"aria-label": "Loading category card",
|
|
21119
21113
|
children: [
|
|
21120
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 flex items-center justify-center gap-6", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21114
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 flex items-center justify-center gap-6", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { variant: "circular", className: "h-10 w-10 flex-shrink-0", "aria-label": "Loading icon" }, i)) }),
|
|
21121
21115
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col space-y-3", children: [
|
|
21122
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21123
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21124
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21116
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Heading, { className: "w-3/4" }),
|
|
21117
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-1/2" }),
|
|
21118
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-full" })
|
|
21125
21119
|
] }),
|
|
21126
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21120
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-[6px]", "aria-label": "Loading button" }) })
|
|
21127
21121
|
]
|
|
21128
21122
|
}
|
|
21129
21123
|
);
|
|
@@ -21140,12 +21134,12 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
21140
21134
|
"aria-label": "Loading category section",
|
|
21141
21135
|
children: [
|
|
21142
21136
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 max-w-xl space-y-2", children: [
|
|
21143
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21144
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21137
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Heading, { className: "w-1/2" }),
|
|
21138
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
21145
21139
|
] }),
|
|
21146
21140
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-6", children: Array.from({ length: subcategories }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
21147
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21148
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 content-md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21141
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
21142
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 content-md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
21149
21143
|
] }, idx)) })
|
|
21150
21144
|
]
|
|
21151
21145
|
}
|
|
@@ -21156,14 +21150,14 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
21156
21150
|
|
|
21157
21151
|
function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
21158
21152
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), role: "status", "aria-label": "Loading wizard layout", children: [
|
|
21159
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: Array.from({ length: steps }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21153
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: Array.from({ length: steps }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-6 w-24 rounded" }, i)) }),
|
|
21160
21154
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-w-2xl space-y-2", children: [
|
|
21161
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21162
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21155
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Heading, { className: "w-2/3" }),
|
|
21156
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
21163
21157
|
] }),
|
|
21164
21158
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-10 flex justify-between", children: [
|
|
21165
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21166
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21159
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
|
|
21160
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-10 w-32 rounded" })
|
|
21167
21161
|
] })
|
|
21168
21162
|
] });
|
|
21169
21163
|
}
|
|
@@ -21555,28 +21549,28 @@ function OrganizationCardSkeleton({
|
|
|
21555
21549
|
}
|
|
21556
21550
|
),
|
|
21557
21551
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
21558
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21559
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21552
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
21553
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
21560
21554
|
] })
|
|
21561
21555
|
] }),
|
|
21562
21556
|
showDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-full items-center overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
21563
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21564
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21557
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
21558
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
21565
21559
|
] }) }),
|
|
21566
21560
|
showFooter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
21567
21561
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
21568
21562
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21569
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21570
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21563
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
21564
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
21571
21565
|
] }),
|
|
21572
21566
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
21573
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21574
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21567
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
21568
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
21575
21569
|
] })
|
|
21576
21570
|
] }),
|
|
21577
21571
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 rounded border border-ods-border bg-ods-bg px-2.5 py-1.5", children: [
|
|
21578
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21579
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21572
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
21573
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
21580
21574
|
] }) })
|
|
21581
21575
|
] })
|
|
21582
21576
|
] })
|
|
@@ -21653,16 +21647,16 @@ function DeviceCardSkeletonGrid({ count = 12, className }) {
|
|
|
21653
21647
|
|
|
21654
21648
|
function PushButtonSelectorSkeleton({ count = 3, hasTitle }) {
|
|
21655
21649
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", role: "status", "aria-label": "Loading options", children: [
|
|
21656
|
-
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21650
|
+
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-5 w-20", "aria-label": "Loading title" }),
|
|
21657
21651
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: count }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-bg p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4", children: [
|
|
21658
21652
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
21659
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21653
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-8 w-8", "aria-label": "Loading icon" }),
|
|
21660
21654
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
21661
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21662
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21655
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { variant: "text", className: "mb-2 h-4 w-24", "aria-label": "Loading name" }),
|
|
21656
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { variant: "text", className: "h-4 w-36", "aria-label": "Loading description" })
|
|
21663
21657
|
] })
|
|
21664
21658
|
] }),
|
|
21665
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21659
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.UnifiedSkeleton, { className: "h-6 w-6", "aria-label": "Loading selection state" })
|
|
21666
21660
|
] }) }, i)) })
|
|
21667
21661
|
] });
|
|
21668
21662
|
}
|
|
@@ -21933,7 +21927,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
21933
21927
|
}
|
|
21934
21928
|
)
|
|
21935
21929
|
] }),
|
|
21936
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21930
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
21937
21931
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent content-md:size-6" })
|
|
21938
21932
|
]
|
|
21939
21933
|
}
|
|
@@ -21960,14 +21954,14 @@ var ConfidenceBadge = ({
|
|
|
21960
21954
|
size = "sm",
|
|
21961
21955
|
className
|
|
21962
21956
|
}) => {
|
|
21963
|
-
const level =
|
|
21957
|
+
const level = _chunkP7Y626YJcjs.getConfidenceLevel.call(void 0, confidence);
|
|
21964
21958
|
if (level === "none") {
|
|
21965
21959
|
return null;
|
|
21966
21960
|
}
|
|
21967
|
-
const label =
|
|
21968
|
-
const borderClass =
|
|
21969
|
-
const textClass =
|
|
21970
|
-
const bgClass =
|
|
21961
|
+
const label = _chunkP7Y626YJcjs.getConfidenceLabel.call(void 0, confidence);
|
|
21962
|
+
const borderClass = _chunkP7Y626YJcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
21963
|
+
const textClass = _chunkP7Y626YJcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
21964
|
+
const bgClass = _chunkP7Y626YJcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
21971
21965
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21972
21966
|
"span",
|
|
21973
21967
|
{
|
|
@@ -22018,9 +22012,9 @@ function SEOEditorPreview({
|
|
|
22018
22012
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22019
22013
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22020
22014
|
const seoTitleLength = (seoTitle || "").length;
|
|
22021
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22015
|
+
const seoTitleTooLong = seoTitleLength > _chunkP7Y626YJcjs.SEO_TITLE_MAX_LENGTH;
|
|
22022
22016
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22023
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22017
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkP7Y626YJcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22024
22018
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22025
22019
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22026
22020
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22045,10 +22039,10 @@ function SEOEditorPreview({
|
|
|
22045
22039
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22046
22040
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22047
22041
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22048
|
-
|
|
22042
|
+
_chunkP7Y626YJcjs.Field,
|
|
22049
22043
|
{
|
|
22050
22044
|
label: "SEO Title",
|
|
22051
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22045
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkP7Y626YJcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22052
22046
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22053
22047
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22054
22048
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22063,7 +22057,7 @@ function SEOEditorPreview({
|
|
|
22063
22057
|
children: [
|
|
22064
22058
|
seoTitleLength,
|
|
22065
22059
|
"/",
|
|
22066
|
-
|
|
22060
|
+
_chunkP7Y626YJcjs.SEO_TITLE_MAX_LENGTH
|
|
22067
22061
|
]
|
|
22068
22062
|
}
|
|
22069
22063
|
),
|
|
@@ -22074,7 +22068,7 @@ function SEOEditorPreview({
|
|
|
22074
22068
|
value: seoTitle || "",
|
|
22075
22069
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22076
22070
|
disabled,
|
|
22077
|
-
maxLength:
|
|
22071
|
+
maxLength: _chunkP7Y626YJcjs.SEO_TITLE_MAX_LENGTH,
|
|
22078
22072
|
invalid: seoTitleTooLong,
|
|
22079
22073
|
placeholder: "Enter SEO meta title...",
|
|
22080
22074
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22085,7 +22079,7 @@ function SEOEditorPreview({
|
|
|
22085
22079
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22086
22080
|
] }),
|
|
22087
22081
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22088
|
-
|
|
22082
|
+
_chunkP7Y626YJcjs.Field,
|
|
22089
22083
|
{
|
|
22090
22084
|
label: "SEO Keywords",
|
|
22091
22085
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22117,10 +22111,10 @@ function SEOEditorPreview({
|
|
|
22117
22111
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22118
22112
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22119
22113
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22120
|
-
|
|
22114
|
+
_chunkP7Y626YJcjs.Field,
|
|
22121
22115
|
{
|
|
22122
22116
|
label: "SEO Description",
|
|
22123
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22117
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkP7Y626YJcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22124
22118
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22125
22119
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22126
22120
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22143,7 +22137,7 @@ function SEOEditorPreview({
|
|
|
22143
22137
|
children: [
|
|
22144
22138
|
seoDescriptionLength,
|
|
22145
22139
|
"/",
|
|
22146
|
-
|
|
22140
|
+
_chunkP7Y626YJcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22147
22141
|
]
|
|
22148
22142
|
}
|
|
22149
22143
|
),
|
|
@@ -22154,7 +22148,7 @@ function SEOEditorPreview({
|
|
|
22154
22148
|
value: seoDescription || "",
|
|
22155
22149
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22156
22150
|
disabled,
|
|
22157
|
-
maxLength:
|
|
22151
|
+
maxLength: _chunkP7Y626YJcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22158
22152
|
invalid: seoDescriptionTooLong,
|
|
22159
22153
|
placeholder: "Enter SEO meta description...",
|
|
22160
22154
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -22223,7 +22217,7 @@ function SEOEditorPreview({
|
|
|
22223
22217
|
{
|
|
22224
22218
|
ref: setFileInputRef,
|
|
22225
22219
|
type: "file",
|
|
22226
|
-
accept:
|
|
22220
|
+
accept: _chunkIITZ6JSCcjs.IMAGE_FILE_ACCEPT,
|
|
22227
22221
|
onChange: handleImageUpload,
|
|
22228
22222
|
className: "hidden",
|
|
22229
22223
|
disabled: disabled || isUploading
|
|
@@ -22302,7 +22296,7 @@ var SOCIAL_ICON_COMPONENTS = {
|
|
|
22302
22296
|
copy: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.CopyIcon, { ...props, color: "var(--color-text-primary)" })
|
|
22303
22297
|
};
|
|
22304
22298
|
function renderSocialIcon(platform) {
|
|
22305
|
-
const key = _nullishCoalesce(
|
|
22299
|
+
const key = _nullishCoalesce(_chunkP7Y626YJcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
22306
22300
|
const Icon = _nullishCoalesce(SOCIAL_ICON_COMPONENTS[key], () => ( SOCIAL_ICON_COMPONENTS.website));
|
|
22307
22301
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-5 w-5" });
|
|
22308
22302
|
}
|
|
@@ -22385,7 +22379,7 @@ function SocialLinksManager({
|
|
|
22385
22379
|
};
|
|
22386
22380
|
const getIcon = (link, platform) => {
|
|
22387
22381
|
const iconKey = _optionalChain([platform, 'optionalAccess', _433 => _433.icon_name]) || link.platform;
|
|
22388
|
-
const key =
|
|
22382
|
+
const key = _chunkP7Y626YJcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
22389
22383
|
if (!key) return null;
|
|
22390
22384
|
const IconComponent = SOCIAL_ICON_COMPONENTS[key];
|
|
22391
22385
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "h-5 w-5 text-ods-text-secondary" });
|
|
@@ -22401,9 +22395,9 @@ function SocialLinksManager({
|
|
|
22401
22395
|
children: [
|
|
22402
22396
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 items-center justify-center", children: Icon }),
|
|
22403
22397
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid flex-1 grid-cols-2 gap-3", children: [
|
|
22404
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22405
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22406
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22398
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.Select, { value: link.platform, onValueChange: (value) => updateLink(index, "platform", value), children: [
|
|
22399
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, {}) }),
|
|
22400
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectContent, { children: platforms.map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: p.name, children: p.display_name }, p.name)) })
|
|
22407
22401
|
] }) }),
|
|
22408
22402
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22409
22403
|
_chunkXXBLN4BPcjs.Input,
|
|
@@ -22421,15 +22415,15 @@ function SocialLinksManager({
|
|
|
22421
22415
|
)
|
|
22422
22416
|
] }),
|
|
22423
22417
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22424
|
-
|
|
22418
|
+
_chunkNFABAOMDcjs.Select,
|
|
22425
22419
|
{
|
|
22426
22420
|
value: _nullishCoalesce(link.visibility, () => ( "external")),
|
|
22427
22421
|
onValueChange: (value) => updateLink(index, "visibility", value),
|
|
22428
22422
|
children: [
|
|
22429
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22430
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22431
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22432
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22423
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { className: "w-[120px] shrink-0", "aria-label": "Social link visibility", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, {}) }),
|
|
22424
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.SelectContent, { children: [
|
|
22425
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "external", children: "Public" }),
|
|
22426
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "internal", children: "Internal" })
|
|
22433
22427
|
] })
|
|
22434
22428
|
]
|
|
22435
22429
|
}
|
|
@@ -22521,7 +22515,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
22521
22515
|
className: _chunk3ATAYP36cjs.cn.call(void 0, modeClassName, className),
|
|
22522
22516
|
style: customStyle,
|
|
22523
22517
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.OpenFrameLogo, { className: "h-5 w-5", lowerPathColor: iconLowerPath, upperPathColor: iconUpperPath }) : void 0,
|
|
22524
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22518
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
22525
22519
|
children
|
|
22526
22520
|
}
|
|
22527
22521
|
);
|
|
@@ -22791,11 +22785,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
22791
22785
|
|
|
22792
22786
|
function VideoBitesDisplay({
|
|
22793
22787
|
bites,
|
|
22794
|
-
title =
|
|
22788
|
+
title = _chunkIITZ6JSCcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
22795
22789
|
filterPublished = true,
|
|
22796
22790
|
showTitle = true
|
|
22797
22791
|
}) {
|
|
22798
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22792
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
22799
22793
|
}
|
|
22800
22794
|
|
|
22801
22795
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -22822,7 +22816,7 @@ function WalkthroughVideo({
|
|
|
22822
22816
|
onOpenChange,
|
|
22823
22817
|
defaultOpen,
|
|
22824
22818
|
defaultOpenPaused,
|
|
22825
|
-
deepLinkParam =
|
|
22819
|
+
deepLinkParam = _chunkP7Y626YJcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
22826
22820
|
autoPlayCard = false,
|
|
22827
22821
|
label = "Play Demo Video",
|
|
22828
22822
|
placement,
|
|
@@ -22837,7 +22831,7 @@ function WalkthroughVideo({
|
|
|
22837
22831
|
}) {
|
|
22838
22832
|
const inline = placement === "inline";
|
|
22839
22833
|
const dismissEnabled = dismissal !== false;
|
|
22840
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
22834
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkP7Y626YJcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
22841
22835
|
const dismissalId = _optionalChain([video, 'optionalAccess', _439 => _439.id]) != null ? String(video.id) : "dismissed";
|
|
22842
22836
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
22843
22837
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -22848,7 +22842,7 @@ function WalkthroughVideo({
|
|
|
22848
22842
|
if (!hasVideo) return void 0;
|
|
22849
22843
|
const timer = setTimeout(() => {
|
|
22850
22844
|
const reveal = () => {
|
|
22851
|
-
if (dismissEnabled &&
|
|
22845
|
+
if (dismissEnabled && _chunkP7Y626YJcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
22852
22846
|
setDismissed(true);
|
|
22853
22847
|
return;
|
|
22854
22848
|
}
|
|
@@ -22865,7 +22859,7 @@ function WalkthroughVideo({
|
|
|
22865
22859
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
22866
22860
|
};
|
|
22867
22861
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
22868
|
-
const hydrated =
|
|
22862
|
+
const hydrated = _chunkP7Y626YJcjs.useIsHydrated.call(void 0, );
|
|
22869
22863
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
22870
22864
|
if (!hydrated) return false;
|
|
22871
22865
|
try {
|
|
@@ -23115,7 +23109,7 @@ function WalkthroughVideo({
|
|
|
23115
23109
|
(e) => {
|
|
23116
23110
|
e.stopPropagation();
|
|
23117
23111
|
pausePreviewNow();
|
|
23118
|
-
if (dismissEnabled)
|
|
23112
|
+
if (dismissEnabled) _chunkP7Y626YJcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23119
23113
|
setDismissed(true);
|
|
23120
23114
|
},
|
|
23121
23115
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -23264,7 +23258,7 @@ function WalkthroughVideo({
|
|
|
23264
23258
|
},
|
|
23265
23259
|
children: [
|
|
23266
23260
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23267
|
-
|
|
23261
|
+
_chunkIITZ6JSCcjs.VideoHoverPreviewSurface,
|
|
23268
23262
|
{
|
|
23269
23263
|
url: video.mainVideoUrl || "",
|
|
23270
23264
|
posterUrl: video.posterUrl,
|
|
@@ -23287,7 +23281,7 @@ function WalkthroughVideo({
|
|
|
23287
23281
|
`card-${embedUrlKey}`
|
|
23288
23282
|
) }),
|
|
23289
23283
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23290
|
-
|
|
23284
|
+
_chunkP7Y626YJcjs.CardHitLayer,
|
|
23291
23285
|
{
|
|
23292
23286
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
23293
23287
|
onPointerDown: pausePreviewNow,
|
|
@@ -23296,7 +23290,7 @@ function WalkthroughVideo({
|
|
|
23296
23290
|
}
|
|
23297
23291
|
),
|
|
23298
23292
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "pointer-events-none absolute bottom-[var(--spacing-system-xsf)] left-[var(--spacing-system-xsf)] z-20 flex max-w-[calc(100%-2*var(--spacing-system-xsf))] items-center gap-[var(--spacing-system-xsf)] rounded-full bg-ods-overlay py-[var(--spacing-system-xxs)] pl-[var(--spacing-system-xxs)] pr-[var(--spacing-system-sf)] text-ods-text-primary text-h6", children: [
|
|
23299
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23293
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
23300
23294
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
23301
23295
|
] }),
|
|
23302
23296
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23309,7 +23303,7 @@ function WalkthroughVideo({
|
|
|
23309
23303
|
onPointerDown: (e) => e.stopPropagation(),
|
|
23310
23304
|
onClick: onUnmuteOrPlay,
|
|
23311
23305
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
23312
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23306
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.VideoUnmuteGlyph, {})
|
|
23313
23307
|
}
|
|
23314
23308
|
),
|
|
23315
23309
|
showPlaybackControls && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute left-[var(--spacing-system-xsf)] top-[var(--spacing-system-xsf)] z-30 flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -23402,7 +23396,7 @@ function WalkthroughVideo({
|
|
|
23402
23396
|
children: [
|
|
23403
23397
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
23404
23398
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23405
|
-
|
|
23399
|
+
_chunkIITZ6JSCcjs.Video,
|
|
23406
23400
|
{
|
|
23407
23401
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
23408
23402
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -23453,7 +23447,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
23453
23447
|
var _reactquery = require('@tanstack/react-query');
|
|
23454
23448
|
function useWalkthroughVideo(opts) {
|
|
23455
23449
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
23456
|
-
const captions =
|
|
23450
|
+
const captions = _chunkP7Y626YJcjs.useCaptions.call(void 0, );
|
|
23457
23451
|
const query = _reactquery.useQuery.call(void 0, {
|
|
23458
23452
|
queryKey: ["walkthrough-video", endpoint],
|
|
23459
23453
|
enabled,
|
|
@@ -23651,7 +23645,7 @@ function VideoSourceSelector({
|
|
|
23651
23645
|
}
|
|
23652
23646
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
23653
23647
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
23654
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23648
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
23655
23649
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23656
23650
|
"button",
|
|
23657
23651
|
{
|
|
@@ -24105,19 +24099,19 @@ function HighlightVideoSection({
|
|
|
24105
24099
|
/* @__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: [
|
|
24106
24100
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { children: "Target Duration" }),
|
|
24107
24101
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24108
|
-
|
|
24102
|
+
_chunkNFABAOMDcjs.Select,
|
|
24109
24103
|
{
|
|
24110
24104
|
value: targetDurationSeconds.toString(),
|
|
24111
24105
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
24112
24106
|
disabled,
|
|
24113
24107
|
children: [
|
|
24114
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24115
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24116
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24117
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24118
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24119
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24120
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24108
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { className: "mt-1 bg-ods-bg-surface", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, {}) }),
|
|
24109
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.SelectContent, { className: "bg-ods-card", children: [
|
|
24110
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
24111
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
24112
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
24113
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
24114
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
24121
24115
|
] })
|
|
24122
24116
|
]
|
|
24123
24117
|
}
|
|
@@ -24175,7 +24169,7 @@ function HighlightVideoSection({
|
|
|
24175
24169
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
24176
24170
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
24177
24171
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
24178
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24172
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
24179
24173
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24180
24174
|
"button",
|
|
24181
24175
|
{
|
|
@@ -24202,20 +24196,20 @@ function HighlightConfigSection({
|
|
|
24202
24196
|
disabled = false,
|
|
24203
24197
|
className = ""
|
|
24204
24198
|
}) {
|
|
24205
|
-
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,
|
|
24206
|
-
|
|
24199
|
+
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, _chunkP7Y626YJcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24200
|
+
_chunkNFABAOMDcjs.Select,
|
|
24207
24201
|
{
|
|
24208
24202
|
value: targetDurationSeconds.toString(),
|
|
24209
24203
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
24210
24204
|
disabled,
|
|
24211
24205
|
children: [
|
|
24212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24213
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24214
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24215
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24216
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24217
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24218
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24206
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { id: f.id, className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, {}) }),
|
|
24207
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.SelectContent, { className: "bg-ods-card", children: [
|
|
24208
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
24209
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
24210
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
24211
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
24212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
24219
24213
|
] })
|
|
24220
24214
|
]
|
|
24221
24215
|
}
|
|
@@ -24303,7 +24297,7 @@ var AIStatusIndicator = ({
|
|
|
24303
24297
|
}) => {
|
|
24304
24298
|
const config = statusConfig[status];
|
|
24305
24299
|
const displayText = message || config.label;
|
|
24306
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
24300
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkP7Y626YJcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
24307
24301
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
24308
24302
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24309
24303
|
_chunkLLSUVPQCcjs.SparklesIcon,
|
|
@@ -24311,7 +24305,7 @@ var AIStatusIndicator = ({
|
|
|
24311
24305
|
size: 16,
|
|
24312
24306
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
24313
24307
|
status === "loading" && "animate-pulse",
|
|
24314
|
-
confidence !== void 0 && status === "success" ?
|
|
24308
|
+
confidence !== void 0 && status === "success" ? _chunkP7Y626YJcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24315
24309
|
)
|
|
24316
24310
|
}
|
|
24317
24311
|
),
|
|
@@ -24320,7 +24314,7 @@ var AIStatusIndicator = ({
|
|
|
24320
24314
|
{
|
|
24321
24315
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
24322
24316
|
"text-h6",
|
|
24323
|
-
confidence !== void 0 && status === "success" ?
|
|
24317
|
+
confidence !== void 0 && status === "success" ? _chunkP7Y626YJcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24324
24318
|
),
|
|
24325
24319
|
children: displayText
|
|
24326
24320
|
}
|
|
@@ -24330,8 +24324,8 @@ var AIStatusIndicator = ({
|
|
|
24330
24324
|
{
|
|
24331
24325
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
24332
24326
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
24333
|
-
|
|
24334
|
-
|
|
24327
|
+
_chunkP7Y626YJcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
24328
|
+
_chunkP7Y626YJcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
24335
24329
|
),
|
|
24336
24330
|
children: confidenceLabel
|
|
24337
24331
|
}
|
|
@@ -24892,7 +24886,7 @@ function ApprovalLevelView({
|
|
|
24892
24886
|
] });
|
|
24893
24887
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
24894
24888
|
name,
|
|
24895
|
-
showLabel ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24889
|
+
showLabel ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkABSWD4PQcjs.TouchFriendlyTooltip, { content: `${current.label}: ${current.hint}`, side: "top", children: icon })
|
|
24896
24890
|
] });
|
|
24897
24891
|
}
|
|
24898
24892
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex shrink-0 items-center gap-[var(--spacing-system-sf)]", className), children: [
|
|
@@ -24995,7 +24989,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
24995
24989
|
] });
|
|
24996
24990
|
};
|
|
24997
24991
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
24998
|
-
const { innerRef, containerStyle } =
|
|
24992
|
+
const { innerRef, containerStyle } = _chunkHP4UUBJCcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
24999
24993
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
25000
24994
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
25001
24995
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -25168,8 +25162,8 @@ function PoliciesTable({
|
|
|
25168
25162
|
accessorKey: "name",
|
|
25169
25163
|
header: "Name",
|
|
25170
25164
|
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: [
|
|
25171
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25172
|
-
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25165
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { children: row.original.name }),
|
|
25166
|
+
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.description })
|
|
25173
25167
|
] }),
|
|
25174
25168
|
meta: { width: "flex-1 min-w-0" }
|
|
25175
25169
|
},
|
|
@@ -25201,7 +25195,7 @@ function PoliciesTable({
|
|
|
25201
25195
|
cell: ({ row }) => {
|
|
25202
25196
|
const { status } = row.original;
|
|
25203
25197
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start gap-1", children: [
|
|
25204
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25198
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { className: "self-start", label: status.label, variant: status.variant }),
|
|
25205
25199
|
status.note && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `text-h6 ${NOTE_TONE_CLASS[status.note.tone]}`, children: status.note.text })
|
|
25206
25200
|
] });
|
|
25207
25201
|
},
|
|
@@ -25223,7 +25217,7 @@ function PoliciesTable({
|
|
|
25223
25217
|
cell: ({ row }) => row.original.href ? /* @__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,
|
|
25224
25218
|
_chunkHQIOMFJHcjs.Button,
|
|
25225
25219
|
{
|
|
25226
|
-
onClick:
|
|
25220
|
+
onClick: _chunkP7Y626YJcjs.openInNewTab.call(void 0, row.original.href),
|
|
25227
25221
|
variant: "outline",
|
|
25228
25222
|
size: "icon",
|
|
25229
25223
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -25324,7 +25318,7 @@ function PolicySummaryCards({ summary, isLoading = false, hasData = true, now })
|
|
|
25324
25318
|
DashboardInfoCard,
|
|
25325
25319
|
{
|
|
25326
25320
|
title: "Updated",
|
|
25327
|
-
value: hasData && summary.lastUpdatedAt ?
|
|
25321
|
+
value: hasData && summary.lastUpdatedAt ? _chunkHP4UUBJCcjs.formatRelativeTimeFrom.call(void 0, summary.lastUpdatedAt, _nullishCoalesce(now, () => ( /* @__PURE__ */ new Date()))) : EMPTY_VALUE,
|
|
25328
25322
|
valueClassName: "!text-h3",
|
|
25329
25323
|
tooltip: "Policy compliance stats are updated hourly. View a policy's devices for real-time status."
|
|
25330
25324
|
}
|
|
@@ -25440,7 +25434,7 @@ function toValidInstant(iso) {
|
|
|
25440
25434
|
function formatLastRead(iso, now = /* @__PURE__ */ new Date()) {
|
|
25441
25435
|
const date = toValidInstant(iso);
|
|
25442
25436
|
if (!date) return TENANT_EMPTY_VALUE;
|
|
25443
|
-
return now.getTime() - date.getTime() < DAY_MS ?
|
|
25437
|
+
return now.getTime() - date.getTime() < DAY_MS ? _chunkHP4UUBJCcjs.formatRelativeTimeFrom.call(void 0, date, now) : _chunkFDWYBJYDcjs.formatDate.call(void 0, date);
|
|
25444
25438
|
}
|
|
25445
25439
|
function usersCountLabel(count) {
|
|
25446
25440
|
if (count == null) return TENANT_EMPTY_VALUE;
|
|
@@ -25451,8 +25445,8 @@ function usersCountLabel(count) {
|
|
|
25451
25445
|
|
|
25452
25446
|
function TenantAccessCell({ accessState, lastReadAt: lastReadAt2, now }) {
|
|
25453
25447
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-[var(--spacing-system-xxs)]", children: [
|
|
25454
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25455
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25448
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { ...accessStateTag(accessState), className: "self-start" }),
|
|
25449
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { variant: "h6", tone: "secondary", children: `Last read: ${formatLastRead(lastReadAt2, now)}` })
|
|
25456
25450
|
] });
|
|
25457
25451
|
}
|
|
25458
25452
|
|
|
@@ -25463,9 +25457,9 @@ function TenantCell({ provider, name, domain }) {
|
|
|
25463
25457
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
25464
25458
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
25465
25459
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Logo, { size: 24, role: "img", "aria-label": label, className: "shrink-0" }),
|
|
25466
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25460
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { children: name })
|
|
25467
25461
|
] }),
|
|
25468
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25462
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(domain, () => ( TENANT_EMPTY_VALUE)) })
|
|
25469
25463
|
] });
|
|
25470
25464
|
}
|
|
25471
25465
|
|
|
@@ -25474,10 +25468,10 @@ function TenantCell({ provider, name, domain }) {
|
|
|
25474
25468
|
function TenantCustomerCell({ name, imageUrl, userCount }) {
|
|
25475
25469
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
25476
25470
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
25477
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25478
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25471
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.SquareAvatar, { src: _nullishCoalesce(imageUrl, () => ( void 0)), alt: name, fallback: name, size: "xs", variant: "square" }),
|
|
25472
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { children: name })
|
|
25479
25473
|
] }),
|
|
25480
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25474
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { variant: "h6", tone: "secondary", children: usersCountLabel(userCount) })
|
|
25481
25475
|
] });
|
|
25482
25476
|
}
|
|
25483
25477
|
|
|
@@ -25549,7 +25543,7 @@ function TenantsTableView({
|
|
|
25549
25543
|
/* @__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,
|
|
25550
25544
|
_chunkHQIOMFJHcjs.Button,
|
|
25551
25545
|
{
|
|
25552
|
-
onClick:
|
|
25546
|
+
onClick: _chunkP7Y626YJcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
25553
25547
|
variant: "outline",
|
|
25554
25548
|
size: "icon",
|
|
25555
25549
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -25630,7 +25624,7 @@ function WaitlistForm({
|
|
|
25630
25624
|
const { toast } = _chunk4LY6R4TNcjs.useToast.call(void 0, );
|
|
25631
25625
|
const { honeypotInputProps, getSignals, resetSignals } = _chunk4LY6R4TNcjs.useHumanitySignals.call(void 0, );
|
|
25632
25626
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
25633
|
-
const isClient =
|
|
25627
|
+
const isClient = _chunkP7Y626YJcjs.useIsHydrated.call(void 0, );
|
|
25634
25628
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
25635
25629
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
25636
25630
|
const rescue = _chunk4LY6R4TNcjs.useFormRescue.call(void 0, {
|
|
@@ -25645,7 +25639,7 @@ function WaitlistForm({
|
|
|
25645
25639
|
_react.useEffect.call(void 0, () => {
|
|
25646
25640
|
rescue.track({ email, phone }, null);
|
|
25647
25641
|
}, [email, phone, rescue]);
|
|
25648
|
-
const isMailDomainGeneric =
|
|
25642
|
+
const isMailDomainGeneric = _chunkP7Y626YJcjs.hasGenericEmailDomain.call(void 0, email);
|
|
25649
25643
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
25650
25644
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
25651
25645
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -25679,7 +25673,7 @@ function WaitlistForm({
|
|
|
25679
25673
|
setShowConsentError(true);
|
|
25680
25674
|
return;
|
|
25681
25675
|
}
|
|
25682
|
-
const finalPhone = phone ?
|
|
25676
|
+
const finalPhone = phone ? _chunkP7Y626YJcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
25683
25677
|
try {
|
|
25684
25678
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
25685
25679
|
rescue.complete();
|
|
@@ -26276,7 +26270,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26276
26270
|
}, [mobileBreakpoint]);
|
|
26277
26271
|
const panelRef = _react.useRef.call(void 0, null);
|
|
26278
26272
|
const available = useContainerExtent(resizable, isHorizontal, portalContainer);
|
|
26279
|
-
const { size, setSize, clampSize } =
|
|
26273
|
+
const { size, setSize, clampSize } = _chunkP7Y626YJcjs.useResizablePanelSize.call(void 0, {
|
|
26280
26274
|
enabled: resizable,
|
|
26281
26275
|
minSize,
|
|
26282
26276
|
maxSize,
|
|
@@ -26296,7 +26290,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26296
26290
|
"data-state": open ? "open" : "closed",
|
|
26297
26291
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
26298
26292
|
"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",
|
|
26299
|
-
|
|
26293
|
+
_chunkP7Y626YJcjs.OVERLAY_BACKDROP_CLASS,
|
|
26300
26294
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
26301
26295
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
26302
26296
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -26337,7 +26331,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26337
26331
|
...props,
|
|
26338
26332
|
children: [
|
|
26339
26333
|
applyInlineSize && (!persist || open) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26340
|
-
|
|
26334
|
+
_chunkP7Y626YJcjs.PanelResizeHandle,
|
|
26341
26335
|
{
|
|
26342
26336
|
variant: "inLayout",
|
|
26343
26337
|
side: resolvedSide,
|
|
@@ -26376,11 +26370,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26376
26370
|
}
|
|
26377
26371
|
);
|
|
26378
26372
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
26379
|
-
var AppLayoutDrawerHeader =
|
|
26380
|
-
var AppLayoutDrawerTitle =
|
|
26381
|
-
var AppLayoutDrawerDescription =
|
|
26382
|
-
var AppLayoutDrawerBody =
|
|
26383
|
-
var AppLayoutDrawerFooter =
|
|
26373
|
+
var AppLayoutDrawerHeader = _chunkP7Y626YJcjs.DrawerHeader;
|
|
26374
|
+
var AppLayoutDrawerTitle = _chunkP7Y626YJcjs.DrawerTitle;
|
|
26375
|
+
var AppLayoutDrawerDescription = _chunkP7Y626YJcjs.DrawerDescription;
|
|
26376
|
+
var AppLayoutDrawerBody = _chunkP7Y626YJcjs.DrawerBody;
|
|
26377
|
+
var AppLayoutDrawerFooter = _chunkP7Y626YJcjs.DrawerFooter;
|
|
26384
26378
|
|
|
26385
26379
|
// src/components/features/notifications/notification-tile.tsx
|
|
26386
26380
|
|
|
@@ -26486,7 +26480,7 @@ function NotificationTile({
|
|
|
26486
26480
|
{
|
|
26487
26481
|
dateTime: createdAtIso,
|
|
26488
26482
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", lockscreen && "self-start"),
|
|
26489
|
-
children: _nullishCoalesce(timeLabel, () => (
|
|
26483
|
+
children: _nullishCoalesce(timeLabel, () => ( _chunkHP4UUBJCcjs.formatTicketRelativeTime.call(void 0, createdAtIso)))
|
|
26490
26484
|
}
|
|
26491
26485
|
) : null,
|
|
26492
26486
|
!lockscreen && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
@@ -26595,7 +26589,7 @@ function NotificationDrawer({
|
|
|
26595
26589
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
26596
26590
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26597
26591
|
/* @__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,
|
|
26598
|
-
|
|
26592
|
+
_chunkP7Y626YJcjs.DrawerTitle,
|
|
26599
26593
|
{
|
|
26600
26594
|
hideClose: true,
|
|
26601
26595
|
className: "truncate",
|
|
@@ -26654,8 +26648,8 @@ function NotificationDrawer({
|
|
|
26654
26648
|
}
|
|
26655
26649
|
) });
|
|
26656
26650
|
}
|
|
26657
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26658
|
-
|
|
26651
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP7Y626YJcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26652
|
+
_chunkP7Y626YJcjs.DrawerContent,
|
|
26659
26653
|
{
|
|
26660
26654
|
side: "right",
|
|
26661
26655
|
"aria-describedby": void 0,
|
|
@@ -26938,13 +26932,13 @@ function getApprovalMeta(notification) {
|
|
|
26938
26932
|
function resolutionToStatus(resolution) {
|
|
26939
26933
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
26940
26934
|
case "APPROVED":
|
|
26941
|
-
return
|
|
26935
|
+
return _chunkFDWYBJYDcjs.APPROVAL_STATUS.APPROVED;
|
|
26942
26936
|
case "REJECTED":
|
|
26943
|
-
return
|
|
26937
|
+
return _chunkFDWYBJYDcjs.APPROVAL_STATUS.REJECTED;
|
|
26944
26938
|
case "CANCELLED":
|
|
26945
|
-
return
|
|
26939
|
+
return _chunkFDWYBJYDcjs.APPROVAL_STATUS.CANCELLED;
|
|
26946
26940
|
default:
|
|
26947
|
-
return
|
|
26941
|
+
return _chunkFDWYBJYDcjs.APPROVAL_STATUS.PENDING;
|
|
26948
26942
|
}
|
|
26949
26943
|
}
|
|
26950
26944
|
function approvalMetaToBatchData(approval) {
|
|
@@ -26990,7 +26984,7 @@ function ApprovalRequestNotificationTile({
|
|
|
26990
26984
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _544 => _544.resolution]));
|
|
26991
26985
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
26992
26986
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
26993
|
-
const { innerRef, containerStyle } =
|
|
26987
|
+
const { innerRef, containerStyle } = _chunkHP4UUBJCcjs.useCollapsible.call(void 0, { expanded });
|
|
26994
26988
|
if (!approval || !batchData) return null;
|
|
26995
26989
|
const tileNotification = {
|
|
26996
26990
|
...notification,
|
|
@@ -27053,7 +27047,7 @@ function ApprovalRequestNotificationTile({
|
|
|
27053
27047
|
}
|
|
27054
27048
|
)
|
|
27055
27049
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
27056
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27050
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHP4UUBJCcjs.ApprovalStatusTag, { status }),
|
|
27057
27051
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
27058
27052
|
"by ",
|
|
27059
27053
|
approval.resolvedByName
|
|
@@ -27071,12 +27065,12 @@ function ApprovalRequestNotificationTile({
|
|
|
27071
27065
|
"aria-expanded": expanded,
|
|
27072
27066
|
"aria-label": toggleLabel,
|
|
27073
27067
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
27074
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27068
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHP4UUBJCcjs.ExpandChevron, { expanded })
|
|
27075
27069
|
}
|
|
27076
27070
|
)
|
|
27077
27071
|
] }),
|
|
27078
27072
|
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,
|
|
27079
|
-
|
|
27073
|
+
_chunkHP4UUBJCcjs.ApprovalBatchMessage,
|
|
27080
27074
|
{
|
|
27081
27075
|
data: batchData,
|
|
27082
27076
|
showExecutionStatus: false,
|
|
@@ -27149,7 +27143,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
27149
27143
|
const { label, imageUrl } = option;
|
|
27150
27144
|
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: [
|
|
27151
27145
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
27152
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27146
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
27153
27147
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
27154
27148
|
] }),
|
|
27155
27149
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -27233,7 +27227,7 @@ function TimeTrackerPanel({
|
|
|
27233
27227
|
}));
|
|
27234
27228
|
const selectedCustomer = customerAutocompleteOptions.find((o) => o.value === selectedCustomerId);
|
|
27235
27229
|
const customerStartAdornment = selectedCustomer ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27236
|
-
|
|
27230
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
27237
27231
|
{
|
|
27238
27232
|
src: selectedCustomer.imageUrl,
|
|
27239
27233
|
alt: selectedCustomer.label,
|
|
@@ -27313,7 +27307,7 @@ function TimeTrackerPanel({
|
|
|
27313
27307
|
] }),
|
|
27314
27308
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "grid gap-[var(--spacing-system-m)]", showCustomer && "grid-cols-2"), children: [
|
|
27315
27309
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27316
|
-
|
|
27310
|
+
_chunkNFABAOMDcjs.Autocomplete,
|
|
27317
27311
|
{
|
|
27318
27312
|
value: selectedTicketId,
|
|
27319
27313
|
onChange: onSelectedTicketChange,
|
|
@@ -27329,7 +27323,7 @@ function TimeTrackerPanel({
|
|
|
27329
27323
|
}
|
|
27330
27324
|
),
|
|
27331
27325
|
showCustomer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27332
|
-
|
|
27326
|
+
_chunkNFABAOMDcjs.Autocomplete,
|
|
27333
27327
|
{
|
|
27334
27328
|
value: _nullishCoalesce(selectedCustomerId, () => ( null)),
|
|
27335
27329
|
onChange: onSelectedCustomerChange,
|
|
@@ -27412,7 +27406,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
27412
27406
|
function StatusTag({ status }) {
|
|
27413
27407
|
if (status === "tracking") {
|
|
27414
27408
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27415
|
-
|
|
27409
|
+
_chunkTKFTWM3Vcjs.Tag,
|
|
27416
27410
|
{
|
|
27417
27411
|
variant: "success",
|
|
27418
27412
|
className: STATUS_TAG_SKIN,
|
|
@@ -27422,9 +27416,9 @@ function StatusTag({ status }) {
|
|
|
27422
27416
|
);
|
|
27423
27417
|
}
|
|
27424
27418
|
if (status === "paused") {
|
|
27425
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27419
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
27426
27420
|
}
|
|
27427
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27421
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
27428
27422
|
}
|
|
27429
27423
|
function LastEntryRow({ entry, onClick }) {
|
|
27430
27424
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0", children: [
|
|
@@ -27593,7 +27587,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
27593
27587
|
"data-state": isOpen ? "open" : "closed",
|
|
27594
27588
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
27595
27589
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
27596
|
-
|
|
27590
|
+
_chunkP7Y626YJcjs.OVERLAY_BACKDROP_CLASS,
|
|
27597
27591
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
27598
27592
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
27599
27593
|
)
|
|
@@ -27619,7 +27613,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
27619
27613
|
|
|
27620
27614
|
// src/components/features/devices/device-last-online.ts
|
|
27621
27615
|
function formatLastOnline(lastSeen) {
|
|
27622
|
-
return `Last Online: ${lastSeen ?
|
|
27616
|
+
return `Last Online: ${lastSeen ? _chunkHP4UUBJCcjs.formatRelativeTime.call(void 0, lastSeen) : "\u2014"}`;
|
|
27623
27617
|
}
|
|
27624
27618
|
|
|
27625
27619
|
// src/components/features/devices/device-name.ts
|
|
@@ -27663,7 +27657,7 @@ var SELECTION_MODE_OPTIONS = [
|
|
|
27663
27657
|
label: "Select Devices by Criteria",
|
|
27664
27658
|
description: CRITERIA_MODE_DESCRIPTION,
|
|
27665
27659
|
disabled: true,
|
|
27666
|
-
trailing: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27660
|
+
trailing: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { label: "Coming Soon", variant: "grey" })
|
|
27667
27661
|
}
|
|
27668
27662
|
];
|
|
27669
27663
|
var SELECTION_MODE_OPTIONS_ENABLED = [
|
|
@@ -27768,7 +27762,7 @@ function getDeviceStatusConfig(status) {
|
|
|
27768
27762
|
}
|
|
27769
27763
|
}
|
|
27770
27764
|
function getDeviceOperatingSystem(osType) {
|
|
27771
|
-
return
|
|
27765
|
+
return _chunkP7Y626YJcjs.getOSPlatformId.call(void 0, osType);
|
|
27772
27766
|
}
|
|
27773
27767
|
|
|
27774
27768
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -27944,8 +27938,8 @@ function DevicesFilterToolbar({
|
|
|
27944
27938
|
|
|
27945
27939
|
|
|
27946
27940
|
function formatDateTime(input) {
|
|
27947
|
-
const date =
|
|
27948
|
-
return date === "\u2014" ? date : `${date} ${
|
|
27941
|
+
const date = _chunkFDWYBJYDcjs.formatDate.call(void 0, input);
|
|
27942
|
+
return date === "\u2014" ? date : `${date} ${_chunkFDWYBJYDcjs.formatTime.call(void 0, input)}`;
|
|
27949
27943
|
}
|
|
27950
27944
|
function uniqueById(options) {
|
|
27951
27945
|
const seen = /* @__PURE__ */ new Map();
|
|
@@ -28050,7 +28044,7 @@ function DevicesTableBody({
|
|
|
28050
28044
|
function OrganizationCell({ device }) {
|
|
28051
28045
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
28052
28046
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
28053
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28047
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.EntityImage, { src: fullImageUrl, alt: device.organization || "Customer", className: "size-12 content-md:size-12" }),
|
|
28054
28048
|
/* @__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, "span", { className: "break-words text-ods-text-primary text-h4", children: device.organization || "" }) })
|
|
28055
28049
|
] });
|
|
28056
28050
|
}
|
|
@@ -28094,7 +28088,7 @@ function getDeviceTableColumns(deviceFilters, filtersPending) {
|
|
|
28094
28088
|
const device = row.original;
|
|
28095
28089
|
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: [
|
|
28096
28090
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
28097
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28091
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { children: getDeviceName(device) }) })
|
|
28098
28092
|
] });
|
|
28099
28093
|
},
|
|
28100
28094
|
meta: { width: "flex-1 content-md:w-1/4" }
|
|
@@ -28107,7 +28101,7 @@ function getDeviceTableColumns(deviceFilters, filtersPending) {
|
|
|
28107
28101
|
const device = row.original;
|
|
28108
28102
|
const statusConfig2 = getDeviceStatusConfig(device.status);
|
|
28109
28103
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col items-start gap-1", children: [
|
|
28110
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28104
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { label: statusConfig2.label, variant: statusConfig2.variant }) }),
|
|
28111
28105
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "hidden text-ods-text-secondary text-h6 content-md:flex", children: device.last_seen ? formatDateTime(device.last_seen) : "Never" })
|
|
28112
28106
|
] });
|
|
28113
28107
|
},
|
|
@@ -28265,7 +28259,7 @@ function CustomerCell({ device }) {
|
|
|
28265
28259
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
28266
28260
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
28267
28261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28268
|
-
|
|
28262
|
+
_chunkNFABAOMDcjs.EntityImage,
|
|
28269
28263
|
{
|
|
28270
28264
|
src: fullImageUrl,
|
|
28271
28265
|
alt: device.organization || "Customer",
|
|
@@ -28273,8 +28267,8 @@ function CustomerCell({ device }) {
|
|
|
28273
28267
|
}
|
|
28274
28268
|
),
|
|
28275
28269
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
28276
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28277
|
-
device.organizationEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28270
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { children: device.organization || "" }),
|
|
28271
|
+
device.organizationEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { variant: "h6", tone: "secondary", children: device.organizationEmail })
|
|
28278
28272
|
] })
|
|
28279
28273
|
] });
|
|
28280
28274
|
}
|
|
@@ -28568,8 +28562,8 @@ function DeviceSelector({
|
|
|
28568
28562
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 items-center gap-3", children: [
|
|
28569
28563
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
28570
28564
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
28571
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28572
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28565
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { children: getDeviceName(device) }),
|
|
28566
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { variant: "h6", tone: "secondary", children: formatLastOnline(lastSeen) })
|
|
28573
28567
|
] })
|
|
28574
28568
|
] });
|
|
28575
28569
|
},
|
|
@@ -28604,7 +28598,7 @@ function DeviceSelector({
|
|
|
28604
28598
|
header: "STATUS",
|
|
28605
28599
|
cell: ({ row }) => {
|
|
28606
28600
|
const config = getDeviceStatusConfig(row.original.status);
|
|
28607
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28601
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { label: config.label, variant: config.variant, className: "w-min" });
|
|
28608
28602
|
},
|
|
28609
28603
|
enableSorting: false,
|
|
28610
28604
|
meta: {
|
|
@@ -29307,7 +29301,7 @@ function DevicesPanelView({
|
|
|
29307
29301
|
] })
|
|
29308
29302
|
] });
|
|
29309
29303
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29310
|
-
|
|
29304
|
+
_chunkNFABAOMDcjs.PageLayout,
|
|
29311
29305
|
{
|
|
29312
29306
|
title,
|
|
29313
29307
|
backButton,
|
|
@@ -29315,7 +29309,7 @@ function DevicesPanelView({
|
|
|
29315
29309
|
actionsVariant: "icon-buttons",
|
|
29316
29310
|
className,
|
|
29317
29311
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29318
|
-
|
|
29312
|
+
_chunkP7Y626YJcjs.TabSelector,
|
|
29319
29313
|
{
|
|
29320
29314
|
value: viewMode,
|
|
29321
29315
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _620 => _620(value)]),
|
|
@@ -29381,7 +29375,7 @@ var PACKAGE_SEARCH_LABEL = "Software Name";
|
|
|
29381
29375
|
var PACKAGE_SEARCH_PLACEHOLDER = "Search for Software";
|
|
29382
29376
|
function PackageSearchFieldPlaceholder({ error }) {
|
|
29383
29377
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29384
|
-
|
|
29378
|
+
_chunkNFABAOMDcjs.Autocomplete,
|
|
29385
29379
|
{
|
|
29386
29380
|
label: PACKAGE_SEARCH_LABEL,
|
|
29387
29381
|
labelVariant: "large",
|
|
@@ -29436,16 +29430,16 @@ function SoftwareScheduleFields({
|
|
|
29436
29430
|
] }),
|
|
29437
29431
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
29438
29432
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { className: "text-h4", children: "Time" }),
|
|
29439
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29440
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29441
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29433
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.Select, { value: time, onValueChange: onTimeChange, children: [
|
|
29434
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, { placeholder: "Select time" }) }),
|
|
29435
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
29442
29436
|
] })
|
|
29443
29437
|
] }),
|
|
29444
29438
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
29445
29439
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { className: "text-h4", children: "Timezone" }),
|
|
29446
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29447
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29448
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29440
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.Select, { value: timeReference, onValueChange: (value) => onTimeReferenceChange(value), children: [
|
|
29441
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, {}) }),
|
|
29442
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectContent, { children: timing.timeReferenceOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
29449
29443
|
] })
|
|
29450
29444
|
] })
|
|
29451
29445
|
]
|
|
@@ -29511,22 +29505,22 @@ function newSoftwareRow(key) {
|
|
|
29511
29505
|
|
|
29512
29506
|
function InfoCell2({ value, label }) {
|
|
29513
29507
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
29514
|
-
/* @__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,
|
|
29508
|
+
/* @__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, _chunkNFABAOMDcjs.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" }) }) }),
|
|
29515
29509
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
29516
29510
|
] });
|
|
29517
29511
|
}
|
|
29518
29512
|
function SoftwareRowFields({ row, removable, onChange, onRemove, renderPackageSearch }) {
|
|
29519
29513
|
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: [
|
|
29520
29514
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29521
|
-
|
|
29515
|
+
_chunkNFABAOMDcjs.Select,
|
|
29522
29516
|
{
|
|
29523
29517
|
value: row.packageManager,
|
|
29524
29518
|
onValueChange: (value) => onChange({ ...row, packageManager: value, pkg: null }),
|
|
29525
29519
|
children: [
|
|
29526
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29527
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29520
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectTrigger, { label: "Package Manager", labelVariant: "large", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectValue, {}) }),
|
|
29521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectContent, { children: PACKAGE_MANAGERS.map((manager) => {
|
|
29528
29522
|
const Icon = PACKAGE_MANAGER_ICON[manager];
|
|
29529
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29523
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.SelectItem, { value: manager, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
29530
29524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 20, className: "shrink-0 text-ods-text-secondary" }),
|
|
29531
29525
|
PACKAGE_MANAGER_LABEL[manager]
|
|
29532
29526
|
] }) }, manager);
|
|
@@ -29624,7 +29618,7 @@ function SoftwareActionForm({
|
|
|
29624
29618
|
}
|
|
29625
29619
|
);
|
|
29626
29620
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29627
|
-
|
|
29621
|
+
_chunkNFABAOMDcjs.PageLayout,
|
|
29628
29622
|
{
|
|
29629
29623
|
title: copy.formTitle,
|
|
29630
29624
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -29705,7 +29699,7 @@ function LogDrawer({
|
|
|
29705
29699
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AppLayoutDrawerHeader, { children: [
|
|
29706
29700
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppLayoutDrawerTitle, { children: "Log Details" }),
|
|
29707
29701
|
(statusTag || timestamp) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
29708
|
-
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29702
|
+
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { label: statusTag.label, variant: statusTag.variant }),
|
|
29709
29703
|
timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: timestamp })
|
|
29710
29704
|
] })
|
|
29711
29705
|
] }),
|
|
@@ -29713,7 +29707,7 @@ function LogDrawer({
|
|
|
29713
29707
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 space-y-4 overflow-y-auto", children: [
|
|
29714
29708
|
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 }) }),
|
|
29715
29709
|
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: [
|
|
29716
|
-
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,
|
|
29710
|
+
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, _chunkNFABAOMDcjs.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 }),
|
|
29717
29711
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: field.label })
|
|
29718
29712
|
] }, typeof field.label === "string" ? field.label : "")) }),
|
|
29719
29713
|
children
|
|
@@ -29761,7 +29755,7 @@ function LogsPageView({
|
|
|
29761
29755
|
],
|
|
29762
29756
|
[onRefresh]
|
|
29763
29757
|
);
|
|
29764
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29758
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNFABAOMDcjs.PageLayout, { title: "Logs", actions, showHeader, className, children: [
|
|
29765
29759
|
!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: [
|
|
29766
29760
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29767
29761
|
_chunkXXBLN4BPcjs.Input,
|
|
@@ -29831,10 +29825,10 @@ var ToolBadge = ({
|
|
|
29831
29825
|
className,
|
|
29832
29826
|
iconClassName
|
|
29833
29827
|
}) => {
|
|
29834
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
29828
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkP7Y626YJcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
29835
29829
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWVOTC7HWcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
29836
29830
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29837
|
-
|
|
29831
|
+
_chunkP7Y626YJcjs.NavLinkAnchorViaRuntime,
|
|
29838
29832
|
{
|
|
29839
29833
|
href,
|
|
29840
29834
|
targetPlatform,
|
|
@@ -29911,8 +29905,8 @@ function LogsTableView({
|
|
|
29911
29905
|
accessorKey: "logId",
|
|
29912
29906
|
header: logIdHeader ? () => logIdHeader : "Log ID",
|
|
29913
29907
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col justify-center", children: [
|
|
29914
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29915
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { children: row.original.timestamp }),
|
|
29909
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.logId })
|
|
29916
29910
|
] }),
|
|
29917
29911
|
enableSorting: false,
|
|
29918
29912
|
meta: { width: LOG_COLUMN_WIDTHS.logId, alwaysShowHeader: true }
|
|
@@ -29920,7 +29914,7 @@ function LogsTableView({
|
|
|
29920
29914
|
{
|
|
29921
29915
|
accessorKey: "status",
|
|
29922
29916
|
header: "Status",
|
|
29923
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29917
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { label: row.original.status.label, variant: row.original.status.variant }) }),
|
|
29924
29918
|
enableSorting: false,
|
|
29925
29919
|
filterFn: multiSelect,
|
|
29926
29920
|
meta: {
|
|
@@ -29940,7 +29934,7 @@ function LogsTableView({
|
|
|
29940
29934
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29941
29935
|
ToolBadge,
|
|
29942
29936
|
{
|
|
29943
|
-
toolType:
|
|
29937
|
+
toolType: _chunkP7Y626YJcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
29944
29938
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
29945
29939
|
}
|
|
29946
29940
|
),
|
|
@@ -29952,7 +29946,7 @@ function LogsTableView({
|
|
|
29952
29946
|
filter: {
|
|
29953
29947
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _628 => _628.toolTypes, 'access', _629 => _629.map, 'call', _630 => _630((toolType) => ({
|
|
29954
29948
|
id: toolType,
|
|
29955
|
-
label:
|
|
29949
|
+
label: _chunkP7Y626YJcjs.toToolLabel.call(void 0, toolType),
|
|
29956
29950
|
value: toolType
|
|
29957
29951
|
}))]), () => ( []))
|
|
29958
29952
|
}
|
|
@@ -29964,8 +29958,8 @@ function LogsTableView({
|
|
|
29964
29958
|
cell: ({ row }) => {
|
|
29965
29959
|
const { deviceName, organization } = logSourceLabels(row.original.device);
|
|
29966
29960
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[60px] flex-col justify-center gap-1 py-2", children: [
|
|
29967
|
-
deviceName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29968
|
-
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29961
|
+
deviceName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { children: deviceName }),
|
|
29962
|
+
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { variant: "h6", tone: "secondary", children: organization })
|
|
29969
29963
|
] });
|
|
29970
29964
|
},
|
|
29971
29965
|
enableSorting: false,
|
|
@@ -29979,7 +29973,7 @@ function LogsTableView({
|
|
|
29979
29973
|
{
|
|
29980
29974
|
accessorKey: "description",
|
|
29981
29975
|
header: "Log Details",
|
|
29982
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29976
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { lines: 3, className: "text-ods-text-secondary text-h6", children: row.original.description.title }),
|
|
29983
29977
|
enableSorting: false,
|
|
29984
29978
|
meta: { width: LOG_COLUMN_WIDTHS.description, hideAt: "lg" }
|
|
29985
29979
|
},
|
|
@@ -30010,7 +30004,7 @@ function LogsTableView({
|
|
|
30010
30004
|
cell: ({ row }) => /* @__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,
|
|
30011
30005
|
_chunkHQIOMFJHcjs.Button,
|
|
30012
30006
|
{
|
|
30013
|
-
onClick: getLogHref ?
|
|
30007
|
+
onClick: getLogHref ? _chunkP7Y626YJcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
30014
30008
|
variant: "outline",
|
|
30015
30009
|
size: "icon",
|
|
30016
30010
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -30239,7 +30233,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
30239
30233
|
cell: ({ row }) => /* @__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,
|
|
30240
30234
|
_chunkHQIOMFJHcjs.Button,
|
|
30241
30235
|
{
|
|
30242
|
-
onClick:
|
|
30236
|
+
onClick: _chunkP7Y626YJcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
30243
30237
|
variant: "outline",
|
|
30244
30238
|
size: "icon",
|
|
30245
30239
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -30265,9 +30259,9 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
30265
30259
|
/* @__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" }) }),
|
|
30266
30260
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
30267
30261
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30268
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30262
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { children: item.name }) }),
|
|
30269
30263
|
tagStatus && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30270
|
-
|
|
30264
|
+
_chunkTKFTWM3Vcjs.Tag,
|
|
30271
30265
|
{
|
|
30272
30266
|
variant: KNOWLEDGE_BASE_STATUS_VARIANT[tagStatus],
|
|
30273
30267
|
label: tagStatus,
|
|
@@ -30275,7 +30269,7 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
30275
30269
|
}
|
|
30276
30270
|
)
|
|
30277
30271
|
] }),
|
|
30278
|
-
item.type === "ARTICLE" && item.summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30272
|
+
item.type === "ARTICLE" && item.summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { variant: "h6", tone: "secondary", children: item.summary })
|
|
30279
30273
|
] })
|
|
30280
30274
|
] });
|
|
30281
30275
|
},
|
|
@@ -30290,8 +30284,8 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
30290
30284
|
const ts = mode === "archive" ? _nullishCoalesce(row.original.updatedAt, () => ( row.original.createdAt)) : row.original.createdAt;
|
|
30291
30285
|
if (!ts) return null;
|
|
30292
30286
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col whitespace-nowrap", children: [
|
|
30293
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children:
|
|
30294
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children:
|
|
30287
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children: _chunkFDWYBJYDcjs.formatDate.call(void 0, ts) }),
|
|
30288
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children: _chunkFDWYBJYDcjs.formatTime.call(void 0, ts) })
|
|
30295
30289
|
] });
|
|
30296
30290
|
},
|
|
30297
30291
|
enableSorting: false,
|
|
@@ -30355,7 +30349,7 @@ function KnowledgeBaseArticleView({
|
|
|
30355
30349
|
className = "px-[var(--spacing-system-l)] pb-[var(--spacing-system-l)]"
|
|
30356
30350
|
}) {
|
|
30357
30351
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30358
|
-
|
|
30352
|
+
_chunkNFABAOMDcjs.PageLayout,
|
|
30359
30353
|
{
|
|
30360
30354
|
title,
|
|
30361
30355
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -30364,11 +30358,11 @@ function KnowledgeBaseArticleView({
|
|
|
30364
30358
|
menuActions,
|
|
30365
30359
|
className,
|
|
30366
30360
|
children: [
|
|
30367
|
-
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,
|
|
30368
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30361
|
+
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, _chunkTKFTWM3Vcjs.Tag, { label: tag.label, variant: "outline", className: "max-w-full" }, tag.id)) }),
|
|
30362
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.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: [
|
|
30369
30363
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30370
|
-
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30371
|
-
|
|
30364
|
+
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkABSWD4PQcjs.DeletedUserAvatar, { size: "md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30365
|
+
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
30372
30366
|
{
|
|
30373
30367
|
src: author.imageUrl,
|
|
30374
30368
|
fallback: _nullishCoalesce(author.name, () => ( "A")),
|
|
@@ -30378,12 +30372,12 @@ function KnowledgeBaseArticleView({
|
|
|
30378
30372
|
}
|
|
30379
30373
|
),
|
|
30380
30374
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
30381
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30375
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { className: author.deleted ? "text-ods-error" : void 0, children: _nullishCoalesce(author.name, () => ( "Unknown")) }),
|
|
30382
30376
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Author" })
|
|
30383
30377
|
] })
|
|
30384
30378
|
] }),
|
|
30385
30379
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 flex-col justify-center", children: [
|
|
30386
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30380
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { children: updatedLabel }),
|
|
30387
30381
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Updated" })
|
|
30388
30382
|
] }),
|
|
30389
30383
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30394,7 +30388,7 @@ function KnowledgeBaseArticleView({
|
|
|
30394
30388
|
}
|
|
30395
30389
|
),
|
|
30396
30390
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 flex-col items-start justify-center gap-[var(--spacing-system-xxs)]", children: [
|
|
30397
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30391
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTKFTWM3Vcjs.Tag, { variant: KNOWLEDGE_BASE_STATUS_VARIANT[status], label: status }),
|
|
30398
30392
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Status" })
|
|
30399
30393
|
] })
|
|
30400
30394
|
] }) }),
|
|
@@ -30519,8 +30513,8 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30519
30513
|
// Dragging towards the edge of the screen — or past it — scrolls whatever
|
|
30520
30514
|
// actually scrolls there: the page, the layout's `<main>`, or the list
|
|
30521
30515
|
// itself when it has its own overflow.
|
|
30522
|
-
|
|
30523
|
-
|
|
30516
|
+
_chunkABSWD4PQcjs.autoScrollAncestors.call(void 0, list),
|
|
30517
|
+
_chunkABSWD4PQcjs.autoScrollBothWays.call(void 0, list),
|
|
30524
30518
|
// One target for the whole list: which slot a drop lands in is answered by
|
|
30525
30519
|
// geometry, so this only has to say "inside the list, or outside it".
|
|
30526
30520
|
_adapter.dropTargetForElements.call(void 0, {
|
|
@@ -30687,7 +30681,7 @@ function useSortableItem() {
|
|
|
30687
30681
|
return _combine.combine.call(void 0,
|
|
30688
30682
|
// The drag has to start as a "move", or its first frame is drawn with the
|
|
30689
30683
|
// copy cursor — see `drag-effect.ts`.
|
|
30690
|
-
|
|
30684
|
+
_chunkABSWD4PQcjs.holdMoveDragEffect.call(void 0, item),
|
|
30691
30685
|
_adapter.draggable.call(void 0, {
|
|
30692
30686
|
element: item,
|
|
30693
30687
|
dragHandle: handle,
|
|
@@ -30834,7 +30828,7 @@ function Highlights({ items, className }) {
|
|
|
30834
30828
|
if (items.length === 0) return null;
|
|
30835
30829
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: _chunk3ATAYP36cjs.cn.call(void 0, "grid grid-cols-1 gap-2", className), children: items.slice(0, 3).map((text) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { className: "flex min-w-0 items-center gap-2.5", children: [
|
|
30836
30830
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { size: 16, className: "shrink-0 text-ods-flamingo-cyan" }),
|
|
30837
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30831
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { variant: "h6", triggerClassName: "flex-1", children: text })
|
|
30838
30832
|
] }, text)) });
|
|
30839
30833
|
}
|
|
30840
30834
|
function Example({
|
|
@@ -30863,7 +30857,7 @@ function Example({
|
|
|
30863
30857
|
mark(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _661 => _661.mark]), () => ( requesterMark))),
|
|
30864
30858
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
30865
30859
|
who(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _662 => _662.name]), () => ( labels.requester)), _nullishCoalesce(_optionalChain([requester, 'optionalAccess', _663 => _663.note]), () => ( labels.requesterNote))),
|
|
30866
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30860
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { lines: 2, variant: "h4", className: "min-h-[2lh]", children: `\u201C${example.request}\u201D` })
|
|
30867
30861
|
] })
|
|
30868
30862
|
] }),
|
|
30869
30863
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 gap-2.5 border-t border-ods-border pt-3", children: [
|
|
@@ -30872,7 +30866,7 @@ function Example({
|
|
|
30872
30866
|
who(_nullishCoalesce(_optionalChain([responder, 'optionalAccess', _665 => _665.name]), () => ( labels.responder)), _nullishCoalesce(_optionalChain([responder, 'optionalAccess', _666 => _666.note]), () => ( labels.responderNote))),
|
|
30873
30867
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-start gap-2", children: [
|
|
30874
30868
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { size: 16, className: "mt-0.5 shrink-0 text-ods-flamingo-cyan" }),
|
|
30875
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30869
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", className: "min-h-[2lh]", triggerClassName: "flex-1", children: example.outcome })
|
|
30876
30870
|
] })
|
|
30877
30871
|
] })
|
|
30878
30872
|
] })
|
|
@@ -30921,16 +30915,16 @@ function CapabilityExplorer({
|
|
|
30921
30915
|
),
|
|
30922
30916
|
children: [
|
|
30923
30917
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
30924
|
-
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-flamingo-cyan", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30918
|
+
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-flamingo-cyan", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
30925
30919
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
30926
30920
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
30927
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30921
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
30928
30922
|
item.badge
|
|
30929
30923
|
] }),
|
|
30930
|
-
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30924
|
+
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { variant: "h6", tone: "secondary", children: item.caption })
|
|
30931
30925
|
] })
|
|
30932
30926
|
] }),
|
|
30933
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30927
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { lines: 3, variant: "h6", tone: "secondary", className: "min-h-[3lh]", children: item.intro }),
|
|
30934
30928
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-lg border border-ods-border", children: renderScreen(item, { compact: true }) }),
|
|
30935
30929
|
item.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30936
30930
|
Example,
|
|
@@ -31005,7 +30999,7 @@ function CapabilityExplorer({
|
|
|
31005
30999
|
"flex size-9 shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg",
|
|
31006
31000
|
selected ? "text-ods-flamingo-cyan" : "text-ods-text-secondary"
|
|
31007
31001
|
),
|
|
31008
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31002
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITZ6JSCcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 })
|
|
31009
31003
|
}
|
|
31010
31004
|
),
|
|
31011
31005
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "min-w-0 flex-1", children: [
|
|
@@ -31058,8 +31052,8 @@ function CapabilityExplorer({
|
|
|
31058
31052
|
),
|
|
31059
31053
|
children: [
|
|
31060
31054
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col overflow-hidden", children: [
|
|
31061
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31062
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31055
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { lines: 2, variant: "h2", className: "mb-2", children: active.title }),
|
|
31056
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNFABAOMDcjs.TruncateText, { lines: 3, variant: "h4", tone: "secondary", className: "min-h-[3lh]", children: active.intro }),
|
|
31063
31057
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Highlights, { items: _nullishCoalesce(active.highlights, () => ( [])), className: "mt-auto" })
|
|
31064
31058
|
] }),
|
|
31065
31059
|
active.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -31673,6 +31667,4 @@ function CapabilityExplorer({
|
|
|
31673
31667
|
|
|
31674
31668
|
|
|
31675
31669
|
|
|
31676
|
-
|
|
31677
|
-
|
|
31678
|
-
exports.AllowedDomainsInput = AllowedDomainsInput; 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.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.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.useConfirm = useConfirm; exports.useGuardedClose = useGuardedClose; exports.UnsavedChangesChip = UnsavedChangesChip; exports.AdminFormDrawer = AdminFormDrawer; exports.PlaybackToggle = PlaybackToggle; 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.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.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.MOBILE_APP_QR_VIEWBOX_SIZE = MOBILE_APP_QR_VIEWBOX_SIZE; exports.MOBILE_APP_QR_PATH = MOBILE_APP_QR_PATH; exports.MobileAppQr = MobileAppQr; exports.StatusIndicator = StatusIndicator; 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.ArticleDetailLayout = ArticleDetailLayout; 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.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.ComplianceBadge = ComplianceBadge; exports.ComplianceLogo = ComplianceLogo; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.SourceTooltip = SourceTooltip; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.PersonCell = PersonCell; exports.PeopleCell = PeopleCell; exports.TitleContentBlock = TitleContentBlock; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DataTableSkeleton = DataTableSkeleton; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.PasswordInput = PasswordInput; exports.AccountDetailsFields = AccountDetailsFields; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.CompactAuthShell = CompactAuthShell; exports.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.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.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.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.CardSkeleton = CardSkeleton; exports.CardSkeletonGrid = CardSkeletonGrid; exports.AnnouncementBarSkeleton = AnnouncementBarSkeleton; exports.HeroSkeleton = HeroSkeleton; exports.SearchContainerSkeleton = SearchContainerSkeleton; exports.CategorySidebarSkeleton = CategorySidebarSkeleton; exports.BreadcrumbSkeleton = BreadcrumbSkeleton; exports.ResultsHeaderSkeleton = ResultsHeaderSkeleton; exports.TwoColumnLayoutSkeleton = TwoColumnLayoutSkeleton; exports.ArticleLayoutSkeleton = ArticleLayoutSkeleton; exports.VendorDetailLayoutSkeleton = VendorDetailLayoutSkeleton; exports.StatsSectionSkeleton = StatsSectionSkeleton; exports.BlogCardGridSkeleton = BlogCardGridSkeleton; exports.VendorGridSkeleton = VendorGridSkeleton; exports.SlackCommunitySkeleton = SlackCommunitySkeleton; exports.ContentLoadingContainer = ContentLoadingContainer; exports.useContentLoading = useContentLoading; exports.ParagraphSkeleton = ParagraphSkeleton; exports.ListSkeleton = ListSkeleton; exports.TableSkeleton = TableSkeleton; exports.FormSkeleton = FormSkeleton; exports.NavigationSkeleton = NavigationSkeleton; exports.ProfileSkeleton = ProfileSkeleton; exports.CommentSkeleton = CommentSkeleton; exports.FeatureListSkeleton = FeatureListSkeleton; exports.TimelineSkeleton = TimelineSkeleton; exports.PricingSkeleton = PricingSkeleton; exports.ProfileLoadingSkeleton = ProfileLoadingSkeleton; exports.MspProfileFormSkeleton = MspProfileFormSkeleton; exports.CategoryCardSkeleton = CategoryCardSkeleton; exports.CategoryVendorSelectorSkeleton = CategoryVendorSelectorSkeleton; exports.WizardLayoutSkeleton = WizardLayoutSkeleton; exports.MarginReportSkeleton = MarginReportSkeleton; exports.UsersGridSkeleton = UsersGridSkeleton; exports.DynamicSkeleton = DynamicSkeleton; exports.SkeletonPresets = SkeletonPresets; exports.PlatformSkeletonContainer = PlatformSkeletonContainer; exports.ProgressiveSkeleton = ProgressiveSkeleton; exports.OrganizationIconSkeleton = OrganizationIconSkeleton; exports.OrganizationCardSkeleton = OrganizationCardSkeleton; exports.OrganizationCardSkeletonGrid = OrganizationCardSkeletonGrid; exports.DeviceCardSkeleton = DeviceCardSkeleton; exports.DeviceCardSkeletonGrid = DeviceCardSkeletonGrid; exports.PushButtonSelector = PushButtonSelector; exports.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; exports.SOCIAL_ICON_COMPONENTS = SOCIAL_ICON_COMPONENTS; exports.SocialIconRow = SocialIconRow; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.FloatingWalkthroughVideo = FloatingWalkthroughVideo; exports.InlineWalkthroughVideo = InlineWalkthroughVideo; exports.useWalkthroughVideo = useWalkthroughVideo; exports.VideoSourceSelector = VideoSourceSelector; exports.SubtitlesEditor = SubtitlesEditor; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.APPROVAL_LEVELS = APPROVAL_LEVELS; exports.APPROVAL_LEVEL_META = APPROVAL_LEVEL_META; exports.ApprovalLevelView = ApprovalLevelView; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.DataTableEmpty = DataTableEmpty; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableHeader = DataTableHeader; exports.DATA_TABLE_HEADER_LABEL_CLASS = DATA_TABLE_HEADER_LABEL_CLASS; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.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 = providerMark; 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.AppLayoutDrawerContainerContext = AppLayoutDrawerContainerContext; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerCoordinationContext = AppLayoutDrawerCoordinationContext; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.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.DeviceSelectorSkeleton = DeviceSelectorSkeleton; 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.ToolBadge = ToolBadge; exports.LogsTableView = LogsTableView; exports.LogsTableSkeleton = LogsTableSkeleton; exports.logSeverityVariant = logSeverityVariant; 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.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableDragHandle = SortableDragHandle; exports.SortableList = SortableList; exports.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; exports.TicketStatusConfigList = TicketStatusConfigList; exports.ConversationCard = ConversationCard; exports.SnapCarouselControlsSkeleton = SnapCarouselControlsSkeleton; exports.SnapCarousel = SnapCarousel; exports.capabilityTabId = capabilityTabId; exports.CapabilityExplorerSkeleton = CapabilityExplorerSkeleton; exports.CapabilityExplorer = CapabilityExplorer; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.formatTestRunDuration = formatTestRunDuration; exports.TestResultsSkeleton = TestResultsSkeleton; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.PHOTO_WALL_FRAME = PHOTO_WALL_FRAME; exports.photoOrientation = photoOrientation; exports.arrangePhotoWall = arrangePhotoWall; exports.PhotoWall = PhotoWall; exports.FilterPillRow = FilterPillRow; exports.LazyMount = LazyMount; exports.AppWindowFrame = AppWindowFrame; exports.PhoneFrame = PhoneFrame; exports.AnalyzingState = AnalyzingState; exports.IncidentStatusLine = IncidentStatusLine; exports.IncidentFeed = IncidentFeed; exports.useBetweenAnchors = useBetweenAnchors; exports.StickyActionBar = StickyActionBar; exports.IconTile = IconTile;
|
|
31670
|
+
exports.AllowedDomainsInput = AllowedDomainsInput; 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.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.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.useConfirm = useConfirm; exports.useGuardedClose = useGuardedClose; exports.UnsavedChangesChip = UnsavedChangesChip; exports.AdminFormDrawer = AdminFormDrawer; exports.PlaybackToggle = PlaybackToggle; 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.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.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.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.ArticleDetailLayout = ArticleDetailLayout; 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.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.ComplianceBadge = ComplianceBadge; exports.ComplianceLogo = ComplianceLogo; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.SourceTooltip = SourceTooltip; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.PersonCell = PersonCell; exports.PeopleCell = PeopleCell; exports.TitleContentBlock = TitleContentBlock; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DataTableSkeleton = DataTableSkeleton; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.PasswordInput = PasswordInput; exports.AccountDetailsFields = AccountDetailsFields; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.CompactAuthShell = CompactAuthShell; exports.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.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.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.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.CardSkeleton = CardSkeleton; exports.CardSkeletonGrid = CardSkeletonGrid; exports.AnnouncementBarSkeleton = AnnouncementBarSkeleton; exports.HeroSkeleton = HeroSkeleton; exports.SearchContainerSkeleton = SearchContainerSkeleton; exports.CategorySidebarSkeleton = CategorySidebarSkeleton; exports.BreadcrumbSkeleton = BreadcrumbSkeleton; exports.ResultsHeaderSkeleton = ResultsHeaderSkeleton; exports.TwoColumnLayoutSkeleton = TwoColumnLayoutSkeleton; exports.ArticleLayoutSkeleton = ArticleLayoutSkeleton; exports.VendorDetailLayoutSkeleton = VendorDetailLayoutSkeleton; exports.StatsSectionSkeleton = StatsSectionSkeleton; exports.BlogCardGridSkeleton = BlogCardGridSkeleton; exports.VendorGridSkeleton = VendorGridSkeleton; exports.SlackCommunitySkeleton = SlackCommunitySkeleton; exports.ContentLoadingContainer = ContentLoadingContainer; exports.useContentLoading = useContentLoading; exports.ParagraphSkeleton = ParagraphSkeleton; exports.ListSkeleton = ListSkeleton; exports.TableSkeleton = TableSkeleton; exports.FormSkeleton = FormSkeleton; exports.NavigationSkeleton = NavigationSkeleton; exports.ProfileSkeleton = ProfileSkeleton; exports.CommentSkeleton = CommentSkeleton; exports.FeatureListSkeleton = FeatureListSkeleton; exports.TimelineSkeleton = TimelineSkeleton; exports.PricingSkeleton = PricingSkeleton; exports.ProfileLoadingSkeleton = ProfileLoadingSkeleton; exports.MspProfileFormSkeleton = MspProfileFormSkeleton; exports.CategoryCardSkeleton = CategoryCardSkeleton; exports.CategoryVendorSelectorSkeleton = CategoryVendorSelectorSkeleton; exports.WizardLayoutSkeleton = WizardLayoutSkeleton; exports.MarginReportSkeleton = MarginReportSkeleton; exports.UsersGridSkeleton = UsersGridSkeleton; exports.DynamicSkeleton = DynamicSkeleton; exports.SkeletonPresets = SkeletonPresets; exports.PlatformSkeletonContainer = PlatformSkeletonContainer; exports.ProgressiveSkeleton = ProgressiveSkeleton; exports.OrganizationIconSkeleton = OrganizationIconSkeleton; exports.OrganizationCardSkeleton = OrganizationCardSkeleton; exports.OrganizationCardSkeletonGrid = OrganizationCardSkeletonGrid; exports.DeviceCardSkeleton = DeviceCardSkeleton; exports.DeviceCardSkeletonGrid = DeviceCardSkeletonGrid; exports.PushButtonSelector = PushButtonSelector; exports.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; exports.SOCIAL_ICON_COMPONENTS = SOCIAL_ICON_COMPONENTS; exports.SocialIconRow = SocialIconRow; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.FloatingWalkthroughVideo = FloatingWalkthroughVideo; exports.InlineWalkthroughVideo = InlineWalkthroughVideo; exports.useWalkthroughVideo = useWalkthroughVideo; exports.VideoSourceSelector = VideoSourceSelector; exports.SubtitlesEditor = SubtitlesEditor; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.APPROVAL_LEVELS = APPROVAL_LEVELS; exports.APPROVAL_LEVEL_META = APPROVAL_LEVEL_META; exports.ApprovalLevelView = ApprovalLevelView; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.DataTableEmpty = DataTableEmpty; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableHeader = DataTableHeader; exports.DATA_TABLE_HEADER_LABEL_CLASS = DATA_TABLE_HEADER_LABEL_CLASS; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.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 = providerMark; 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.AppLayoutDrawerContainerContext = AppLayoutDrawerContainerContext; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerCoordinationContext = AppLayoutDrawerCoordinationContext; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.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.DeviceSelectorSkeleton = DeviceSelectorSkeleton; 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.ToolBadge = ToolBadge; exports.LogsTableView = LogsTableView; exports.LogsTableSkeleton = LogsTableSkeleton; exports.logSeverityVariant = logSeverityVariant; 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.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableDragHandle = SortableDragHandle; exports.SortableList = SortableList; exports.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; exports.TicketStatusConfigList = TicketStatusConfigList; exports.ConversationCard = ConversationCard; exports.SnapCarouselControlsSkeleton = SnapCarouselControlsSkeleton; exports.SnapCarousel = SnapCarousel; exports.capabilityTabId = capabilityTabId; exports.CapabilityExplorerSkeleton = CapabilityExplorerSkeleton; exports.CapabilityExplorer = CapabilityExplorer; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.formatTestRunDuration = formatTestRunDuration; exports.TestResultsSkeleton = TestResultsSkeleton; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.PHOTO_WALL_FRAME = PHOTO_WALL_FRAME; exports.photoOrientation = photoOrientation; exports.arrangePhotoWall = arrangePhotoWall; exports.PhotoWall = PhotoWall; exports.FilterPillRow = FilterPillRow; exports.LazyMount = LazyMount; exports.AppWindowFrame = AppWindowFrame; exports.PhoneFrame = PhoneFrame; exports.AnalyzingState = AnalyzingState; exports.IncidentStatusLine = IncidentStatusLine; exports.IncidentFeed = IncidentFeed; exports.useBetweenAnchors = useBetweenAnchors; exports.StickyActionBar = StickyActionBar; exports.IconTile = IconTile;
|