@flamingo-stack/openframe-frontend-core 0.0.795 → 0.0.796
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-FYHXMHY6.cjs → chunk-6JCTKXHX.cjs} +13 -13
- package/dist/{chunk-HXL7AUPG.cjs → chunk-6WXP5IKR.cjs} +16 -16
- package/dist/{chunk-6VP5UWZG.cjs → chunk-7SEY3FDF.cjs} +2 -2
- package/dist/{chunk-BFCGOHQG.cjs → chunk-7VU4HHUR.cjs} +32 -32
- package/dist/{chunk-43ZVXQJK.cjs → chunk-CC7NRWRF.cjs} +48 -48
- package/dist/{chunk-72NE4G63.cjs → chunk-CFXCCQ6T.cjs} +2 -2
- package/dist/{chunk-RPC4P7GY.cjs → chunk-F64GLU75.cjs} +33 -33
- package/dist/{chunk-PQIWR4Q2.cjs → chunk-G24OX7AC.cjs} +16 -16
- package/dist/{chunk-7VXMO4XJ.cjs → chunk-GP7NV6BK.cjs} +3 -1
- package/dist/{chunk-6TUI5KQS.cjs → chunk-II4A2RUG.cjs} +41 -41
- package/dist/{chunk-ZCMXBX4Z.cjs → chunk-IONS6HDF.cjs} +5 -5
- package/dist/{chunk-4BYNNQBC.cjs → chunk-JC43ULIC.cjs} +71 -71
- package/dist/{chunk-FYPVCCCV.cjs → chunk-JGURZROB.cjs} +27 -27
- package/dist/{chunk-FOWQ4XTB.cjs → chunk-N3J4U7ML.cjs} +2 -2
- package/dist/{chunk-IJ23KNYI.cjs → chunk-NAJ24ODA.cjs} +4 -4
- package/dist/{chunk-F73DM65J.cjs → chunk-NRAH3M66.cjs} +46 -46
- package/dist/{chunk-3XAFK4WH.cjs → chunk-OKAHKZP2.cjs} +8 -8
- package/dist/{chunk-2KLYMAHF.cjs → chunk-PALMLL5T.cjs} +4 -4
- package/dist/{chunk-CLEZ6TWZ.cjs → chunk-QCN46LDL.cjs} +69 -69
- package/dist/{chunk-YPKAMHYA.cjs → chunk-QMDXG3VF.cjs} +574 -457
- package/dist/{chunk-BIYLAAFI.cjs → chunk-TUD7BV6O.cjs} +9 -9
- package/dist/{chunk-OK467OQJ.cjs → chunk-UYOGZJPE.cjs} +4 -4
- package/dist/{chunk-IQTVKPRG.cjs → chunk-VUP7ZGZS.cjs} +20 -20
- package/dist/{chunk-YYKXX5NA.cjs → chunk-VYXNGADV.cjs} +24 -24
- package/dist/{chunk-A6E5ZNQR.cjs → chunk-W4QITOT7.cjs} +5 -5
- package/dist/{chunk-NGGEYE5R.cjs → chunk-XFJ7BZDJ.cjs} +5 -5
- package/dist/{chunk-U4D4ABXK.cjs → chunk-XVVQJXOA.cjs} +39 -39
- package/dist/{chunk-QDW64E6T.cjs → chunk-Y3IMXLLL.cjs} +143 -143
- package/dist/{chunk-NIW4ETGC.cjs → chunk-YFHKBIZT.cjs} +6 -6
- package/dist/{chunk-KQPU5N7T.cjs → chunk-ZMWSN2BD.cjs} +11 -11
- package/dist/{chunk-ZIMPE7D5.cjs → chunk-ZRME3A2D.cjs} +3 -3
- package/dist/{cloud-tenants-Z3AYAXF5.cjs → cloud-tenants-BQUWLMYY.cjs} +12 -12
- package/dist/components/case-studies/index.cjs +26 -26
- package/dist/components/chat/index.cjs +9 -9
- package/dist/components/contact/index.cjs +13 -13
- package/dist/components/docs/index.cjs +16 -16
- package/dist/components/embeds/index.cjs +13 -13
- package/dist/components/faq/index.cjs +14 -14
- package/dist/components/features/index.cjs +12 -12
- package/dist/components/help-center-pages/index.cjs +98 -98
- package/dist/components/index.cjs +82 -68
- package/dist/components/meeting-scheduler/index.cjs +72 -72
- package/dist/components/navigation/index.cjs +15 -15
- package/dist/components/onboarding-guides/index.cjs +15 -15
- package/dist/components/product-demo/index.cjs +23 -23
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +19 -19
- package/dist/components/ui/floating-tooltip.d.ts.map +1 -1
- package/dist/components/ui/floating-tooltip.js +3 -1
- package/dist/components/ui/index.cjs +26 -12
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +9 -1
- package/dist/components/ui/trendline.d.ts +60 -0
- package/dist/components/ui/trendline.d.ts.map +1 -0
- package/dist/components/ui/trendline.js +121 -0
- package/dist/{devices-P6XQL23S.cjs → devices-BFQOLI3D.cjs} +13 -13
- package/dist/{embeddable-chat-6BNLOSBB.cjs → embeddable-chat-INYF23ST.cjs} +74 -74
- package/dist/index.cjs +31 -17
- package/dist/{knowledge-IU5ORU7U.cjs → knowledge-GGYWTYTP.cjs} +13 -13
- package/dist/{logs-DCFTQVKA.cjs → logs-NO55PTIO.cjs} +20 -20
- package/dist/{policies-ESC6XCVH.cjs → policies-AAFYTVOJ.cjs} +16 -16
- package/dist/{remote-session-4ZNTOLOQ.cjs → remote-session-2CNWLF3P.cjs} +7 -7
- package/dist/{scripts-24PIP2VO.cjs → scripts-H4ECJ65X.cjs} +19 -19
- package/dist/{software-update-47GDTKMI.cjs → software-update-NEEGQBK3.cjs} +16 -16
- package/dist/{tickets-board-X4GHEKPB.cjs → tickets-board-CXYRAMDL.cjs} +8 -8
- package/package.json +1 -1
- package/src/components/ui/floating-tooltip.tsx +4 -1
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/trendline.tsx +221 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkG24OX7ACcjs = require('./chunk-G24OX7AC.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -36,7 +36,7 @@ var _chunkHJBJHQKEcjs = require('./chunk-HJBJHQKE.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkF64GLU75cjs = require('./chunk-F64GLU75.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
@@ -107,7 +107,7 @@ var _chunkRFIBRGXGcjs = require('./chunk-RFIBRGXG.cjs');
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _chunkNRAH3M66cjs = require('./chunk-NRAH3M66.cjs');
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
|
|
@@ -127,7 +127,7 @@ var _chunkF73DM65Jcjs = require('./chunk-F73DM65J.cjs');
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
var
|
|
130
|
+
var _chunkY3IMXLLLcjs = require('./chunk-Y3IMXLLL.cjs');
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
@@ -141,7 +141,7 @@ var _chunkQDW64E6Tcjs = require('./chunk-QDW64E6T.cjs');
|
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
var
|
|
144
|
+
var _chunkTUD7BV6Ocjs = require('./chunk-TUD7BV6O.cjs');
|
|
145
145
|
|
|
146
146
|
|
|
147
147
|
|
|
@@ -156,7 +156,7 @@ var _chunkBIYLAAFIcjs = require('./chunk-BIYLAAFI.cjs');
|
|
|
156
156
|
|
|
157
157
|
|
|
158
158
|
|
|
159
|
-
var
|
|
159
|
+
var _chunkIONS6HDFcjs = require('./chunk-IONS6HDF.cjs');
|
|
160
160
|
|
|
161
161
|
|
|
162
162
|
|
|
@@ -486,7 +486,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
486
486
|
|
|
487
487
|
|
|
488
488
|
|
|
489
|
-
var
|
|
489
|
+
var _chunkJGURZROBcjs = require('./chunk-JGURZROB.cjs');
|
|
490
490
|
|
|
491
491
|
|
|
492
492
|
|
|
@@ -510,7 +510,7 @@ var _chunkQVC5CMC5cjs = require('./chunk-QVC5CMC5.cjs');
|
|
|
510
510
|
var _chunkJXQNECXMcjs = require('./chunk-JXQNECXM.cjs');
|
|
511
511
|
|
|
512
512
|
|
|
513
|
-
var
|
|
513
|
+
var _chunkCFXCCQ6Tcjs = require('./chunk-CFXCCQ6T.cjs');
|
|
514
514
|
|
|
515
515
|
|
|
516
516
|
|
|
@@ -521,7 +521,8 @@ var _chunk72NE4G63cjs = require('./chunk-72NE4G63.cjs');
|
|
|
521
521
|
|
|
522
522
|
|
|
523
523
|
|
|
524
|
-
|
|
524
|
+
|
|
525
|
+
var _chunkGP7NV6BKcjs = require('./chunk-GP7NV6BK.cjs');
|
|
525
526
|
|
|
526
527
|
|
|
527
528
|
var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
@@ -694,7 +695,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
694
695
|
var useTheme = _nextthemes.useTheme;
|
|
695
696
|
function useThemeToggle() {
|
|
696
697
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
697
|
-
const mounted =
|
|
698
|
+
const mounted = _chunkY3IMXLLLcjs.useIsHydrated.call(void 0, );
|
|
698
699
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
699
700
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
700
701
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -903,7 +904,7 @@ function TimezoneSelect({
|
|
|
903
904
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
904
905
|
const options = _react.useMemo.call(void 0, () => timezoneOptions(value), [value]);
|
|
905
906
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
906
|
-
|
|
907
|
+
_chunkF64GLU75cjs.Autocomplete,
|
|
907
908
|
{
|
|
908
909
|
className,
|
|
909
910
|
fieldLoading: loading,
|
|
@@ -1100,7 +1101,7 @@ var _reactpopover = require('@radix-ui/react-popover'); var Popover = _interopRe
|
|
|
1100
1101
|
|
|
1101
1102
|
var _reactdaypicker = require('react-day-picker');
|
|
1102
1103
|
|
|
1103
|
-
var defaultFormatDate = (date) =>
|
|
1104
|
+
var defaultFormatDate = (date) => _chunkGP7NV6BKcjs.formatDateWithTimezone.call(void 0, date, _chunkGP7NV6BKcjs.VIEWER_TIMEZONE, "numeric", { viewerLocale: true });
|
|
1104
1105
|
var formatDateRange = (range, formatFn) => {
|
|
1105
1106
|
if (!_optionalChain([range, 'optionalAccess', _5 => _5.from])) return "";
|
|
1106
1107
|
if (!range.to) return formatFn(range.from);
|
|
@@ -1301,7 +1302,7 @@ function DatePickerCalendar({
|
|
|
1301
1302
|
};
|
|
1302
1303
|
const handlePreviousMonth = () => shiftMonth(-1);
|
|
1303
1304
|
const handleNextMonth = () => shiftMonth(1);
|
|
1304
|
-
const formatMonthYear = (date) =>
|
|
1305
|
+
const formatMonthYear = (date) => _chunkGP7NV6BKcjs.formatDateWithTimezone.call(void 0, date, _chunkGP7NV6BKcjs.VIEWER_TIMEZONE, "monthYear", { viewerLocale: true });
|
|
1305
1306
|
const getSecondMonth = (date) => {
|
|
1306
1307
|
const next = new Date(date);
|
|
1307
1308
|
next.setMonth(next.getMonth() + 1);
|
|
@@ -1718,20 +1719,20 @@ function DatePickerInput(props) {
|
|
|
1718
1719
|
) })
|
|
1719
1720
|
] }),
|
|
1720
1721
|
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
1721
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1722
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1723
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1722
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.Select, { value: hour, onValueChange: handleHourChange, disabled, children: [
|
|
1723
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { className: _chunk6YZNUHXTcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, { placeholder: "HH" }) }),
|
|
1724
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: hourOptions.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: h, children: h }, h)) })
|
|
1724
1725
|
] }),
|
|
1725
1726
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: ":" }),
|
|
1726
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1727
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1728
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1727
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.Select, { value: minute, onValueChange: handleMinuteChange, disabled, children: [
|
|
1728
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { className: _chunk6YZNUHXTcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, { placeholder: "MM" }) }),
|
|
1729
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: minuteOptions.map((m) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: m, children: m }, m)) })
|
|
1729
1730
|
] }),
|
|
1730
|
-
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1731
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1732
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1733
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1734
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1731
|
+
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.Select, { value: period, onValueChange: (val) => handlePeriodChange(val), disabled, children: [
|
|
1732
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { className: _chunk6YZNUHXTcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, { placeholder: "AM" }) }),
|
|
1733
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: [
|
|
1734
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "AM", children: "AM" }),
|
|
1735
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "PM", children: "PM" })
|
|
1735
1736
|
] })
|
|
1736
1737
|
] })
|
|
1737
1738
|
] })
|
|
@@ -1872,9 +1873,9 @@ function DatePickerInputSimple(props) {
|
|
|
1872
1873
|
}
|
|
1873
1874
|
) })
|
|
1874
1875
|
] }),
|
|
1875
|
-
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1877
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1876
|
+
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.Select, { value: timeValue, onValueChange: handleTimeChange, disabled, children: [
|
|
1877
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { className: _chunk6YZNUHXTcjs.cn.call(void 0, timeSelectTriggerStyles, "flex-1"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, { placeholder: "Select time", children: timeDisplayLabel || "Select time" }) }),
|
|
1878
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
1878
1879
|
] })
|
|
1879
1880
|
] });
|
|
1880
1881
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHCXNFMLOcjs.FieldWrapper, { label, error, errorSlot: "error" in props, className, children: content });
|
|
@@ -1893,14 +1894,14 @@ function DateFilterPanel({
|
|
|
1893
1894
|
className
|
|
1894
1895
|
}) {
|
|
1895
1896
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex flex-col gap-4", className), children: [
|
|
1896
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1897
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1897
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.Select, { value: sort, onValueChange: (value) => onSortChange(value), children: [
|
|
1898
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.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: [
|
|
1898
1899
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowUpDown, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
1899
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1900
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, {}) })
|
|
1900
1901
|
] }) }),
|
|
1901
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1902
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1903
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1902
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: [
|
|
1903
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "asc", children: ascLabel }),
|
|
1904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "desc", children: descLabel })
|
|
1904
1905
|
] })
|
|
1905
1906
|
] }),
|
|
1906
1907
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2180,7 +2181,7 @@ function Value({ value, depth }) {
|
|
|
2180
2181
|
}
|
|
2181
2182
|
if (typeof value === "string") {
|
|
2182
2183
|
if (ISO_DATE.test(value)) {
|
|
2183
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2184
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkTUD7BV6Ocjs.formatRelativeTime.call(void 0, value) });
|
|
2184
2185
|
}
|
|
2185
2186
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2186
2187
|
}
|
|
@@ -2677,7 +2678,7 @@ function CompactAssigneeDropdown({
|
|
|
2677
2678
|
value: o.value,
|
|
2678
2679
|
label: o.label,
|
|
2679
2680
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2680
|
-
|
|
2681
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
2681
2682
|
{
|
|
2682
2683
|
src: o.imageUrl,
|
|
2683
2684
|
alt: o.label,
|
|
@@ -2709,8 +2710,8 @@ function CompactAssigneeDropdown({
|
|
|
2709
2710
|
onClick: handleTriggerClick,
|
|
2710
2711
|
"aria-label": "Change assignee",
|
|
2711
2712
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "w-auto shrink-0", className),
|
|
2712
|
-
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2713
|
-
|
|
2713
|
+
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG24OX7ACcjs.DeletedUserAvatar, { size: "sm", accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}` }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2714
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
2714
2715
|
{
|
|
2715
2716
|
src: currentAssignee.avatarSrc,
|
|
2716
2717
|
alt: currentAssignee.name,
|
|
@@ -2755,7 +2756,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2755
2756
|
const opt = option;
|
|
2756
2757
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-sf)]", children: [
|
|
2757
2758
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2758
|
-
|
|
2759
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
2759
2760
|
{
|
|
2760
2761
|
src: opt.imageUrl,
|
|
2761
2762
|
alt: opt.label,
|
|
@@ -2771,7 +2772,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2771
2772
|
if (isEditing) {
|
|
2772
2773
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "min-w-0", className), children: [
|
|
2773
2774
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2774
|
-
|
|
2775
|
+
_chunkF64GLU75cjs.Autocomplete,
|
|
2775
2776
|
{
|
|
2776
2777
|
options,
|
|
2777
2778
|
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _43 => _43.id]), () => ( null)),
|
|
@@ -2783,14 +2784,14 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2783
2784
|
loading: isLoading,
|
|
2784
2785
|
showChevron: false,
|
|
2785
2786
|
startAdornment: hasAssignee ? currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2786
|
-
|
|
2787
|
+
_chunkG24OX7ACcjs.DeletedUserAvatar,
|
|
2787
2788
|
{
|
|
2788
2789
|
size: "sm",
|
|
2789
2790
|
className: "h-6 w-6",
|
|
2790
2791
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
2791
2792
|
}
|
|
2792
2793
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2793
|
-
|
|
2794
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
2794
2795
|
{
|
|
2795
2796
|
src: currentAssignee.avatarSrc,
|
|
2796
2797
|
alt: currentAssignee.name,
|
|
@@ -2809,13 +2810,13 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2809
2810
|
if (hasAssignee) {
|
|
2810
2811
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", className), children: [
|
|
2811
2812
|
currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2812
|
-
|
|
2813
|
+
_chunkG24OX7ACcjs.DeletedUserAvatar,
|
|
2813
2814
|
{
|
|
2814
2815
|
size: "md",
|
|
2815
2816
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
2816
2817
|
}
|
|
2817
2818
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2818
|
-
|
|
2819
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
2819
2820
|
{
|
|
2820
2821
|
src: currentAssignee.avatarSrc,
|
|
2821
2822
|
alt: currentAssignee.name,
|
|
@@ -2900,7 +2901,7 @@ function TextValue({ value }) {
|
|
|
2900
2901
|
}
|
|
2901
2902
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: text, children: text }),
|
|
2902
2903
|
hasImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2903
|
-
|
|
2904
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
2904
2905
|
{
|
|
2905
2906
|
src: imageSrc,
|
|
2906
2907
|
alt: text,
|
|
@@ -2920,7 +2921,7 @@ function RowValue({ value }) {
|
|
|
2920
2921
|
}
|
|
2921
2922
|
case "status": {
|
|
2922
2923
|
const { type: _type, ...props } = value;
|
|
2923
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2924
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.TicketStatusTag, { ...props });
|
|
2924
2925
|
}
|
|
2925
2926
|
case "custom":
|
|
2926
2927
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CustomValue, { content: value.content });
|
|
@@ -3020,7 +3021,7 @@ function MediaTypeSelector({
|
|
|
3020
3021
|
// changed) and cost an extra render pass on every change to say what the
|
|
3021
3022
|
// prop already said.
|
|
3022
3023
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3023
|
-
|
|
3024
|
+
_chunkF64GLU75cjs.Select,
|
|
3024
3025
|
{
|
|
3025
3026
|
value: value || void 0,
|
|
3026
3027
|
onValueChange: (next) => {
|
|
@@ -3030,8 +3031,8 @@ function MediaTypeSelector({
|
|
|
3030
3031
|
disabled,
|
|
3031
3032
|
defaultValue: value,
|
|
3032
3033
|
children: [
|
|
3033
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3034
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3034
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, { placeholder }) }),
|
|
3035
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: mediaTypeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: option.value, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
3035
3036
|
option.icon,
|
|
3036
3037
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: option.label })
|
|
3037
3038
|
] }) }, option.value)) })
|
|
@@ -3893,7 +3894,7 @@ function TagsManager({
|
|
|
3893
3894
|
}
|
|
3894
3895
|
),
|
|
3895
3896
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3896
|
-
|
|
3897
|
+
_chunkGP7NV6BKcjs.Tag,
|
|
3897
3898
|
{
|
|
3898
3899
|
label: tag.name,
|
|
3899
3900
|
variant: "outline",
|
|
@@ -4457,10 +4458,10 @@ function useConfirm() {
|
|
|
4457
4458
|
},
|
|
4458
4459
|
[]
|
|
4459
4460
|
);
|
|
4460
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4461
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4462
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4463
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4461
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4462
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalTitle, { children: pending.title }) }),
|
|
4463
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4464
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.ModalFooter, { children: [
|
|
4464
4465
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4465
4466
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4466
4467
|
] })
|
|
@@ -4538,7 +4539,7 @@ function AdminFormDrawer({
|
|
|
4538
4539
|
"form",
|
|
4539
4540
|
{
|
|
4540
4541
|
id: formId,
|
|
4541
|
-
...
|
|
4542
|
+
..._chunkNRAH3M66cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4542
4543
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4543
4544
|
onSubmit: (e) => {
|
|
4544
4545
|
e.preventDefault();
|
|
@@ -4636,16 +4637,16 @@ function AdminFormModal({
|
|
|
4636
4637
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4637
4638
|
});
|
|
4638
4639
|
if (!isOpen) return null;
|
|
4639
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4640
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4641
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4640
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4641
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.ModalHeader, { children: [
|
|
4642
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalTitle, { children: title }),
|
|
4642
4643
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4643
4644
|
] }),
|
|
4644
4645
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4645
4646
|
"form",
|
|
4646
4647
|
{
|
|
4647
4648
|
id: formId,
|
|
4648
|
-
...
|
|
4649
|
+
..._chunkNRAH3M66cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4649
4650
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4650
4651
|
onSubmit: (e) => {
|
|
4651
4652
|
e.preventDefault();
|
|
@@ -4663,7 +4664,7 @@ function AdminFormModal({
|
|
|
4663
4664
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4664
4665
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4665
4666
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4666
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4667
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalContent, { children: loadingContent ? (
|
|
4667
4668
|
// The one announcement: a `loadingContent` with a region of its own takes `region={false}`.
|
|
4668
4669
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD6RPLHXcjs.LoadingRegion, { label: "Loading", children: loadingContent })
|
|
4669
4670
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4684,12 +4685,12 @@ function AdminFormModal({
|
|
|
4684
4685
|
] }, i)) }, col))
|
|
4685
4686
|
}
|
|
4686
4687
|
) })
|
|
4687
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4688
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalContent, { className: contentClassName, children }),
|
|
4688
4689
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4689
4690
|
]
|
|
4690
4691
|
}
|
|
4691
4692
|
),
|
|
4692
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4693
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4693
4694
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4694
4695
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4695
4696
|
footerStatus,
|
|
@@ -5428,7 +5429,7 @@ var TabBar = _react.memo.call(void 0, function TabBarImpl({
|
|
|
5428
5429
|
// as tall as its neighbours at every breakpoint. No hover shade:
|
|
5429
5430
|
// the tab is the target, and the cursor passes through to it.
|
|
5430
5431
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5431
|
-
|
|
5432
|
+
_chunkGP7NV6BKcjs.Tag,
|
|
5432
5433
|
{
|
|
5433
5434
|
as: "span",
|
|
5434
5435
|
"aria-hidden": true,
|
|
@@ -6039,7 +6040,7 @@ function EmbedViewerFrame({
|
|
|
6039
6040
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6040
6041
|
_react.useEffect.call(void 0, () => {
|
|
6041
6042
|
if (!fullscreenControl) return void 0;
|
|
6042
|
-
const controller = new (0,
|
|
6043
|
+
const controller = new (0, _chunkNRAH3M66cjs.FullscreenSwitchController)({
|
|
6043
6044
|
target: () => frameRef.current,
|
|
6044
6045
|
onFullscreenChange: setIsFullscreen
|
|
6045
6046
|
});
|
|
@@ -6703,12 +6704,12 @@ var OGLinkPreview = ({
|
|
|
6703
6704
|
children: [
|
|
6704
6705
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TILE_SOURCE_ROW_CLASS, children: [
|
|
6705
6706
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Favicon, { src: `https://www.google.com/s2/favicons?domain=${domain}&sz=32`, size: "w-4 h-4" }),
|
|
6706
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6707
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: name }),
|
|
6707
6708
|
meta != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "ml-auto flex flex-none items-center gap-1.5 text-ods-text-secondary", children: meta })
|
|
6708
6709
|
] }),
|
|
6709
6710
|
kicker != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden text-ods-accent text-h5", style: lineClamp(1), children: kicker }),
|
|
6710
6711
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6711
|
-
|
|
6712
|
+
_chunkF64GLU75cjs.TruncateText,
|
|
6712
6713
|
{
|
|
6713
6714
|
lines: 2,
|
|
6714
6715
|
variant: "h3",
|
|
@@ -6717,7 +6718,7 @@ var OGLinkPreview = ({
|
|
|
6717
6718
|
children: curatedTitle || domainToTitle(domain)
|
|
6718
6719
|
}
|
|
6719
6720
|
),
|
|
6720
|
-
curatedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6721
|
+
curatedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", children: curatedDescription })
|
|
6721
6722
|
]
|
|
6722
6723
|
}
|
|
6723
6724
|
);
|
|
@@ -6853,8 +6854,8 @@ var OGLinkPreview = ({
|
|
|
6853
6854
|
children: [
|
|
6854
6855
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg bg-ods-bg-surface", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Favicon, { src: faviconSrc }) }),
|
|
6855
6856
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6856
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6857
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6857
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { className: "font-semibold transition-colors group-hover:text-ods-accent", children: title }),
|
|
6858
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { tone: "secondary", children: description })
|
|
6858
6859
|
] }),
|
|
6859
6860
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExternalLinkIcon, {})
|
|
6860
6861
|
]
|
|
@@ -6901,7 +6902,7 @@ var OGLinkPreview = ({
|
|
|
6901
6902
|
),
|
|
6902
6903
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6903
6904
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6904
|
-
|
|
6905
|
+
_chunkF64GLU75cjs.TruncateText,
|
|
6905
6906
|
{
|
|
6906
6907
|
lines: 2,
|
|
6907
6908
|
className: "min-h-[calc(var(--font-line-space-h4-body)*2)] font-semibold transition-colors group-hover:text-ods-accent",
|
|
@@ -6910,7 +6911,7 @@ var OGLinkPreview = ({
|
|
|
6910
6911
|
}
|
|
6911
6912
|
),
|
|
6912
6913
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6913
|
-
|
|
6914
|
+
_chunkF64GLU75cjs.TruncateText,
|
|
6914
6915
|
{
|
|
6915
6916
|
lines: 2,
|
|
6916
6917
|
tone: "secondary",
|
|
@@ -6920,9 +6921,9 @@ var OGLinkPreview = ({
|
|
|
6920
6921
|
}
|
|
6921
6922
|
),
|
|
6922
6923
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2 text-ods-text-secondary text-h6", children: [
|
|
6923
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6924
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: effectiveData.siteName }),
|
|
6924
6925
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "\u2022" }),
|
|
6925
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6926
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: ogDomain }),
|
|
6926
6927
|
meta
|
|
6927
6928
|
] })
|
|
6928
6929
|
] })
|
|
@@ -7278,7 +7279,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7278
7279
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7279
7280
|
};
|
|
7280
7281
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7281
|
-
const postLinkRel =
|
|
7282
|
+
const postLinkRel = _chunkY3IMXLLLcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7282
7283
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7283
7284
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7284
7285
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7516,7 +7517,7 @@ function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
|
7516
7517
|
width: m.width,
|
|
7517
7518
|
height: m.height
|
|
7518
7519
|
}));
|
|
7519
|
-
const
|
|
7520
|
+
const formatNumber2 = _chunkGP7NV6BKcjs.formatLargeNumber;
|
|
7520
7521
|
const truncateText = (text, maxLength = 600) => {
|
|
7521
7522
|
if (text.length <= maxLength) return text;
|
|
7522
7523
|
return text.slice(0, maxLength) + "...";
|
|
@@ -7555,14 +7556,14 @@ function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
|
7555
7556
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center space-x-1", children: [
|
|
7556
7557
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ArrowUpIcon, {}),
|
|
7557
7558
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { children: [
|
|
7558
|
-
|
|
7559
|
+
formatNumber2(redditData.ups),
|
|
7559
7560
|
" upvotes"
|
|
7560
7561
|
] })
|
|
7561
7562
|
] }),
|
|
7562
7563
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center space-x-1", children: [
|
|
7563
7564
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MessageCircleIcon, {}),
|
|
7564
7565
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { children: [
|
|
7565
|
-
|
|
7566
|
+
formatNumber2(redditData.num_comments),
|
|
7566
7567
|
" comments"
|
|
7567
7568
|
] })
|
|
7568
7569
|
] })
|
|
@@ -7610,7 +7611,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7610
7611
|
] });
|
|
7611
7612
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7612
7613
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7613
|
-
const postLinkRel =
|
|
7614
|
+
const postLinkRel = _chunkY3IMXLLLcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7614
7615
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7615
7616
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7616
7617
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7812,7 +7813,7 @@ function buildRichEmbedOverrides({
|
|
|
7812
7813
|
ogEndpointPath,
|
|
7813
7814
|
textSizes
|
|
7814
7815
|
}) {
|
|
7815
|
-
const standard =
|
|
7816
|
+
const standard = _chunkY3IMXLLLcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7816
7817
|
return {
|
|
7817
7818
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7818
7819
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7948,14 +7949,14 @@ function buildRichEmbedOverrides({
|
|
|
7948
7949
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7949
7950
|
// elsewhere). Guard against empty `![]()`.
|
|
7950
7951
|
img: ({ src, alt }) => {
|
|
7951
|
-
if (!
|
|
7952
|
+
if (!_chunkY3IMXLLLcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7952
7953
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7953
7954
|
},
|
|
7954
7955
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7955
7956
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7956
7957
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7957
7958
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7958
|
-
if (!
|
|
7959
|
+
if (!_chunkY3IMXLLLcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7959
7960
|
const url = src.trim();
|
|
7960
7961
|
if (_chunkUN6LC5PKcjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { kind: "youtube", url });
|
|
7961
7962
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
@@ -7963,7 +7964,7 @@ function buildRichEmbedOverrides({
|
|
|
7963
7964
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7964
7965
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7965
7966
|
video: ({ src, poster, className }) => {
|
|
7966
|
-
if (!
|
|
7967
|
+
if (!_chunkY3IMXLLLcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7967
7968
|
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, _chunkUN6LC5PKcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7968
7969
|
}
|
|
7969
7970
|
};
|
|
@@ -8072,7 +8073,7 @@ var processShortcodes = (content) => {
|
|
|
8072
8073
|
try {
|
|
8073
8074
|
const urlObj = new URL(url);
|
|
8074
8075
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8075
|
-
const hostIs = (domain) =>
|
|
8076
|
+
const hostIs = (domain) => _chunkNRAH3M66cjs.hostMatches.call(void 0, hostname, domain);
|
|
8076
8077
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8077
8078
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8078
8079
|
return match;
|
|
@@ -8149,13 +8150,13 @@ var RichMarkdownInner = ({
|
|
|
8149
8150
|
},
|
|
8150
8151
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8151
8152
|
);
|
|
8152
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8153
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkY3IMXLLLcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8153
8154
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8154
8155
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8155
8156
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8156
8157
|
);
|
|
8157
8158
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8158
|
-
|
|
8159
|
+
_chunkY3IMXLLLcjs.MarkdownEngine,
|
|
8159
8160
|
{
|
|
8160
8161
|
content,
|
|
8161
8162
|
className,
|
|
@@ -8179,7 +8180,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8179
8180
|
className = "",
|
|
8180
8181
|
sectionIds,
|
|
8181
8182
|
onInternalLinkClick,
|
|
8182
|
-
brokenLinks =
|
|
8183
|
+
brokenLinks = _chunkY3IMXLLLcjs.NO_BROKEN_LINKS,
|
|
8183
8184
|
currentPath,
|
|
8184
8185
|
resolveSource = "openframe-docs",
|
|
8185
8186
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9305,7 +9306,7 @@ function FilterModal({
|
|
|
9305
9306
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _165 => _165.defaultSort]), () => ( "desc"));
|
|
9306
9307
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _166 => _166.sort]), () => ( dateDefaultSort)));
|
|
9307
9308
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _167 => _167.range]));
|
|
9308
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
9309
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkIONS6HDFcjs.useScrollFade.call(void 0, );
|
|
9309
9310
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
9310
9311
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
9311
9312
|
_react.useEffect.call(void 0, () => {
|
|
@@ -9351,15 +9352,15 @@ function FilterModal({
|
|
|
9351
9352
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
9352
9353
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
9353
9354
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9354
|
-
|
|
9355
|
+
_chunkIONS6HDFcjs.Modal,
|
|
9355
9356
|
{
|
|
9356
9357
|
isOpen,
|
|
9357
9358
|
onClose,
|
|
9358
9359
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "max-h-[90vh] max-w-none md:max-w-[min(42rem,calc(100vw-2rem))]", className),
|
|
9359
9360
|
children: [
|
|
9360
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9361
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalTitle, { children: title }) }),
|
|
9361
9362
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9362
|
-
|
|
9363
|
+
_chunkIONS6HDFcjs.ModalContent,
|
|
9363
9364
|
{
|
|
9364
9365
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
9365
9366
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -9455,12 +9456,12 @@ function FilterModal({
|
|
|
9455
9456
|
)
|
|
9456
9457
|
}
|
|
9457
9458
|
),
|
|
9458
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9459
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9459
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
9460
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
9460
9461
|
] })
|
|
9461
9462
|
}
|
|
9462
9463
|
),
|
|
9463
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9464
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.ModalFooter, { children: [
|
|
9464
9465
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
9465
9466
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
9466
9467
|
] })
|
|
@@ -9524,7 +9525,7 @@ function renderAdvancedPageContainer({
|
|
|
9524
9525
|
contentClassName,
|
|
9525
9526
|
showHeader = true
|
|
9526
9527
|
}, inScope = false) {
|
|
9527
|
-
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9528
|
+
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children: _chunkJGURZROBcjs.accentSentenceMarks.call(void 0, title) }) : inScope && title === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerTitleSkeleton, {}) : null;
|
|
9528
9529
|
const subtitleNode = subtitle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: PAGE_CONTAINER_SUBTITLE_CLASS, children: subtitle }) : inScope && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerSubtitleSkeleton, {}) : null;
|
|
9529
9530
|
const getActionsVariant = () => {
|
|
9530
9531
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9533,7 +9534,7 @@ function renderAdvancedPageContainer({
|
|
|
9533
9534
|
};
|
|
9534
9535
|
const renderActions = () => {
|
|
9535
9536
|
if (!actions || actions.length === 0) return null;
|
|
9536
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9537
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.PageActions, { variant: getActionsVariant(), actions, menuActions });
|
|
9537
9538
|
};
|
|
9538
9539
|
const needsBottomPadding = actions && actions.length > 0 && getActionsVariant() === "primary-buttons";
|
|
9539
9540
|
const paddingClasses = {
|
|
@@ -9556,7 +9557,7 @@ function renderAdvancedPageContainer({
|
|
|
9556
9557
|
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: [
|
|
9557
9558
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9558
9559
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9559
|
-
|
|
9560
|
+
_chunkF64GLU75cjs.BackButton,
|
|
9560
9561
|
{
|
|
9561
9562
|
onClick: backButton.onClick,
|
|
9562
9563
|
label: backButton.label,
|
|
@@ -9576,7 +9577,7 @@ function renderAdvancedPageContainer({
|
|
|
9576
9577
|
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: [
|
|
9577
9578
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
9578
9579
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9579
|
-
|
|
9580
|
+
_chunkF64GLU75cjs.BackButton,
|
|
9580
9581
|
{
|
|
9581
9582
|
onClick: backButton.onClick,
|
|
9582
9583
|
label: backButton.label,
|
|
@@ -9596,7 +9597,7 @@ function renderAdvancedPageContainer({
|
|
|
9596
9597
|
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: [
|
|
9597
9598
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9598
9599
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9599
|
-
|
|
9600
|
+
_chunkF64GLU75cjs.BackButton,
|
|
9600
9601
|
{
|
|
9601
9602
|
onClick: backButton.onClick,
|
|
9602
9603
|
label: backButton.label,
|
|
@@ -9951,7 +9952,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9951
9952
|
|
|
9952
9953
|
|
|
9953
9954
|
function PlatformBrowseButton({ item }) {
|
|
9954
|
-
const linkProps =
|
|
9955
|
+
const linkProps = _chunkY3IMXLLLcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9955
9956
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9956
9957
|
"Browse ",
|
|
9957
9958
|
item.buttonText
|
|
@@ -10266,12 +10267,12 @@ function DashboardInfoCard({
|
|
|
10266
10267
|
const renderPercentage = () => {
|
|
10267
10268
|
if (loading) {
|
|
10268
10269
|
if (!loadingShowsPercentage) return null;
|
|
10269
|
-
return percentageAsTag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10270
|
+
return percentageAsTag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { loading: true, label: "", className: "w-12" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-12" }) });
|
|
10270
10271
|
}
|
|
10271
10272
|
if (percentage === void 0) return null;
|
|
10272
10273
|
if (percentageAsTag) {
|
|
10273
10274
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
10274
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10275
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
10275
10276
|
}
|
|
10276
10277
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
10277
10278
|
"(",
|
|
@@ -10351,7 +10352,7 @@ function DashboardInfoCard({
|
|
|
10351
10352
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "truncate text-ods-text-primary text-h3 content-md:text-h2", valueClassName), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-24" }) : formattedValue }),
|
|
10352
10353
|
loading ? loadingShowsSubValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-16" }) }) : subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
10353
10354
|
renderPercentage(),
|
|
10354
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10355
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.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, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
10355
10356
|
] }),
|
|
10356
10357
|
hasCaption && /* @__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, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-32" }) : caption })
|
|
10357
10358
|
] }),
|
|
@@ -10470,10 +10471,10 @@ var OSTypeBadge = ({
|
|
|
10470
10471
|
if (!osType) {
|
|
10471
10472
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10472
10473
|
}
|
|
10473
|
-
const normalized =
|
|
10474
|
+
const normalized = _chunkNRAH3M66cjs.normalizeOSType.call(void 0, osType);
|
|
10474
10475
|
if (!normalized && !labelOnly) return null;
|
|
10475
|
-
const label =
|
|
10476
|
-
const IconComponent =
|
|
10476
|
+
const label = _chunkNRAH3M66cjs.getOSLabel.call(void 0, osType);
|
|
10477
|
+
const IconComponent = _chunkNRAH3M66cjs.getOSIcon.call(void 0, osType);
|
|
10477
10478
|
if (iconOnly && IconComponent) {
|
|
10478
10479
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk6YZNUHXTcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10479
10480
|
}
|
|
@@ -10520,8 +10521,8 @@ function DeviceCard({
|
|
|
10520
10521
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || !!loadingProp;
|
|
10521
10522
|
const formatLastSeen = (lastSeen) => {
|
|
10522
10523
|
if (!lastSeen) return null;
|
|
10523
|
-
const date =
|
|
10524
|
-
return date === "\u2014" ? null : `${date} ${
|
|
10524
|
+
const date = _chunkIONS6HDFcjs.formatDate.call(void 0, lastSeen);
|
|
10525
|
+
return date === "\u2014" ? null : `${date} ${_chunkIONS6HDFcjs.formatTime.call(void 0, lastSeen)}`;
|
|
10525
10526
|
};
|
|
10526
10527
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
10527
10528
|
"div",
|
|
@@ -10580,7 +10581,7 @@ function DeviceCard({
|
|
|
10580
10581
|
] }),
|
|
10581
10582
|
(loading || statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DEVICE_CARD_STATUS_ROW_CLASS, children: [
|
|
10582
10583
|
(loading || statusTag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10583
|
-
|
|
10584
|
+
_chunkGP7NV6BKcjs.Tag,
|
|
10584
10585
|
{
|
|
10585
10586
|
loading,
|
|
10586
10587
|
variant: _optionalChain([statusTag, 'optionalAccess', _194 => _194.variant]),
|
|
@@ -10595,7 +10596,7 @@ function DeviceCard({
|
|
|
10595
10596
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-28 max-w-full" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: formatLastSeen(device.lastSeen) })
|
|
10596
10597
|
] })
|
|
10597
10598
|
] }),
|
|
10598
|
-
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEVICE_CARD_TAGS_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10599
|
+
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEVICE_CARD_TAGS_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { loading: true, label: "", variant: "outline", "data-loading-item": true }) }) : device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DEVICE_CARD_TAGS_ROW_CLASS, children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { variant: "outline", label: tag, "data-loading-item": true }, index)) })
|
|
10599
10600
|
]
|
|
10600
10601
|
}
|
|
10601
10602
|
);
|
|
@@ -10641,7 +10642,7 @@ function DataAttribution({ icon, source, lastUpdated, action }) {
|
|
|
10641
10642
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator3, {}),
|
|
10642
10643
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: UPDATED_CLASS, children: [
|
|
10643
10644
|
"Last updated: ",
|
|
10644
|
-
lastUpdated ?
|
|
10645
|
+
lastUpdated ? _chunkGP7NV6BKcjs.formatDate.call(void 0, lastUpdated) : "Never"
|
|
10645
10646
|
] }),
|
|
10646
10647
|
action ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ACTION_CLASS, children: action }) : null
|
|
10647
10648
|
] });
|
|
@@ -10769,7 +10770,7 @@ function ComplianceLogo({
|
|
|
10769
10770
|
fallback = null,
|
|
10770
10771
|
className
|
|
10771
10772
|
}) {
|
|
10772
|
-
const standard =
|
|
10773
|
+
const standard = _chunkNRAH3M66cjs.complianceStandardForName.call(void 0, ...names);
|
|
10773
10774
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10774
10775
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10775
10776
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11114,12 +11115,121 @@ function FeatureListSkeleton({
|
|
|
11114
11115
|
] }, index)) });
|
|
11115
11116
|
}
|
|
11116
11117
|
|
|
11118
|
+
// src/components/ui/trendline.tsx
|
|
11119
|
+
|
|
11120
|
+
var SPARK_W = 56;
|
|
11121
|
+
var SPARK_H = 16;
|
|
11122
|
+
var SPARK_CLASS = "h-4 w-14";
|
|
11123
|
+
var CHANGE_CLASS = "w-8 text-right text-h6 tabular-nums";
|
|
11124
|
+
var BOX_CLASS = "inline-flex shrink-0 items-center gap-[var(--spacing-system-xxs)]";
|
|
11125
|
+
var FOCUS_CLASS = "rounded-sm outline-none focus-visible:ring-1 focus-visible:ring-ods-accent";
|
|
11126
|
+
function formatTrendChange(change) {
|
|
11127
|
+
return change === 0 ? "0" : `${change > 0 ? "+" : "\u2212"}${_chunkGP7NV6BKcjs.formatNumber.call(void 0, Math.abs(change))}`;
|
|
11128
|
+
}
|
|
11129
|
+
var TREND_TONES = {
|
|
11130
|
+
positive: "text-ods-success",
|
|
11131
|
+
negative: "text-ods-error",
|
|
11132
|
+
neutral: "text-ods-text-secondary"
|
|
11133
|
+
};
|
|
11134
|
+
function trendTone(change, higherIsBetter = false) {
|
|
11135
|
+
if (change === null || change === 0) return "neutral";
|
|
11136
|
+
return change > 0 === higherIsBetter ? "positive" : "negative";
|
|
11137
|
+
}
|
|
11138
|
+
function trendToneClass(change, higherIsBetter = false, tones = {}) {
|
|
11139
|
+
const tone = trendTone(change, higherIsBetter);
|
|
11140
|
+
return _nullishCoalesce(tones[tone], () => ( TREND_TONES[tone]));
|
|
11141
|
+
}
|
|
11142
|
+
function trendlinePoints(values) {
|
|
11143
|
+
const known = values.map((v, i) => [i, v]).filter((p) => p[1] !== null);
|
|
11144
|
+
if (known.length === 0) return [];
|
|
11145
|
+
const min = Math.min(...known.map(([, v]) => v));
|
|
11146
|
+
const range = Math.max(...known.map(([, v]) => v)) - min;
|
|
11147
|
+
const x = (i) => values.length === 1 ? SPARK_W / 2 : i / (values.length - 1) * (SPARK_W - 4) + 2;
|
|
11148
|
+
const y = (v) => range === 0 ? SPARK_H / 2 : SPARK_H - 2 - (v - min) / range * (SPARK_H - 4);
|
|
11149
|
+
return known.map(([i, v]) => ({ x: x(i), y: y(v) }));
|
|
11150
|
+
}
|
|
11151
|
+
function Spark({ values, toneClass }) {
|
|
11152
|
+
const points = trendlinePoints(values);
|
|
11153
|
+
if (points.length === 0) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { className: SPARK_CLASS, "aria-hidden": "true" });
|
|
11154
|
+
const last = points[points.length - 1];
|
|
11155
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { className: `${SPARK_CLASS} ${toneClass}`, viewBox: `0 0 ${SPARK_W} ${SPARK_H}`, "aria-hidden": "true", children: [
|
|
11156
|
+
points.length > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11157
|
+
"polyline",
|
|
11158
|
+
{
|
|
11159
|
+
points: points.map((p) => `${p.x},${p.y}`).join(" "),
|
|
11160
|
+
fill: "none",
|
|
11161
|
+
stroke: "currentColor",
|
|
11162
|
+
strokeWidth: 1.5,
|
|
11163
|
+
strokeLinejoin: "round",
|
|
11164
|
+
strokeLinecap: "round"
|
|
11165
|
+
}
|
|
11166
|
+
),
|
|
11167
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: last.x, cy: last.y, r: 2, fill: "currentColor" })
|
|
11168
|
+
] });
|
|
11169
|
+
}
|
|
11170
|
+
function Trendline({ values, label, change, higherIsBetter = false, tones, details, side = "top" }) {
|
|
11171
|
+
if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, )) {
|
|
11172
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: BOX_CLASS, "aria-hidden": "true", children: [
|
|
11173
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { as: "span", className: `${SPARK_CLASS} rounded-sm` }),
|
|
11174
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CHANGE_CLASS })
|
|
11175
|
+
] });
|
|
11176
|
+
}
|
|
11177
|
+
if (values.length === 0) {
|
|
11178
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: BOX_CLASS, "aria-hidden": "true", children: [
|
|
11179
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: SPARK_CLASS }),
|
|
11180
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CHANGE_CLASS })
|
|
11181
|
+
] });
|
|
11182
|
+
}
|
|
11183
|
+
const last = _nullishCoalesce(values[values.length - 1], () => ( null));
|
|
11184
|
+
const before = values.length > 1 ? _nullishCoalesce(values[values.length - 2], () => ( null)) : null;
|
|
11185
|
+
const delta = change !== void 0 ? change : last !== null && before !== null ? last - before : null;
|
|
11186
|
+
const toneClass = trendToneClass(delta, higherIsBetter, tones);
|
|
11187
|
+
const line = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11188
|
+
"span",
|
|
11189
|
+
{
|
|
11190
|
+
className: details ? `${BOX_CLASS} ${FOCUS_CLASS}` : BOX_CLASS,
|
|
11191
|
+
onClick: (e) => e.stopPropagation(),
|
|
11192
|
+
"aria-label": `${label}: last ${values.length} values${delta === null ? "" : `, ${formatTrendChange(delta)}`}`,
|
|
11193
|
+
role: details ? "button" : "img",
|
|
11194
|
+
tabIndex: details ? 0 : void 0,
|
|
11195
|
+
"aria-haspopup": details ? "dialog" : void 0,
|
|
11196
|
+
children: [
|
|
11197
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Spark, { values, toneClass }),
|
|
11198
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${CHANGE_CLASS} ${toneClass}`, children: delta === null ? "" : formatTrendChange(delta) })
|
|
11199
|
+
]
|
|
11200
|
+
}
|
|
11201
|
+
);
|
|
11202
|
+
if (!details) return line;
|
|
11203
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.FloatingTooltip, { as: "span", side, triggerClassName: BOX_CLASS, content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrendDetails, { render: details }), children: line });
|
|
11204
|
+
}
|
|
11205
|
+
function TrendDetails({ render }) {
|
|
11206
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: render() });
|
|
11207
|
+
}
|
|
11208
|
+
function TrendHistory({ title, columns, rows, loadingRows, error, children }) {
|
|
11209
|
+
const grid = { gridTemplateColumns: `1fr ${"auto ".repeat(Math.max(0, columns.length - 1)).trim()}` };
|
|
11210
|
+
const alignClass = (c) => c.align === "right" ? "text-right tabular-nums" : "text-left";
|
|
11211
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-72 flex-col gap-[var(--spacing-system-sf)] whitespace-normal text-h6", children: [
|
|
11212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary", children: title }),
|
|
11213
|
+
error ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary", children: error }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingWhen, { loading: rows === null, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid gap-x-[var(--spacing-system-mf)] gap-y-[var(--spacing-system-xxs)]", style: grid, children: [
|
|
11214
|
+
columns.map((c) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${alignClass(c)} text-ods-text-secondary`, children: c.label }, c.label)),
|
|
11215
|
+
(_nullishCoalesce(rows, () => ( Array.from({ length: loadingRows }, () => null)))).map(
|
|
11216
|
+
(row, r) => columns.map((c, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrendHistoryCell, { column: c, value: row ? row[i] : null }, `${r}:${c.label}`))
|
|
11217
|
+
)
|
|
11218
|
+
] }) }),
|
|
11219
|
+
children
|
|
11220
|
+
] });
|
|
11221
|
+
}
|
|
11222
|
+
function TrendHistoryCell({ column, value }) {
|
|
11223
|
+
if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: column.align === "right" ? "ml-auto w-8" : "w-12" });
|
|
11224
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${column.align === "right" ? "text-right tabular-nums" : "text-left"} text-ods-text-primary`, children: value });
|
|
11225
|
+
}
|
|
11226
|
+
|
|
11117
11227
|
// src/components/ui/source-tooltip.tsx
|
|
11118
11228
|
|
|
11119
11229
|
|
|
11120
11230
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
11121
11231
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11122
|
-
|
|
11232
|
+
_chunkGP7NV6BKcjs.FloatingTooltip,
|
|
11123
11233
|
{
|
|
11124
11234
|
as: "span",
|
|
11125
11235
|
side: "top",
|
|
@@ -11507,7 +11617,7 @@ function OrganizationCardSkeleton({
|
|
|
11507
11617
|
..._chunk6YZNUHXTcjs.loadingItemProps.call(void 0, props),
|
|
11508
11618
|
children: [
|
|
11509
11619
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_HEADER_CLASS, children: [
|
|
11510
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11620
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.EntityImage, { src: null }),
|
|
11511
11621
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_TEXT_CLASS, children: [
|
|
11512
11622
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h3", className: "w-3/4" }),
|
|
11513
11623
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "w-1/2" })
|
|
@@ -11579,7 +11689,7 @@ function OrganizationCard({
|
|
|
11579
11689
|
}
|
|
11580
11690
|
),
|
|
11581
11691
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_HEADER_CLASS, children: [
|
|
11582
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11692
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.EntityImage, { src: fetchedImageUrl || organization.imageUrl, alt: organization.name }),
|
|
11583
11693
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_TEXT_CLASS, children: [
|
|
11584
11694
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "truncate text-ods-text-primary transition-colors text-h3", title: organization.name, children: organization.name }),
|
|
11585
11695
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11646,11 +11756,11 @@ function ServiceCard({
|
|
|
11646
11756
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
11647
11757
|
/* @__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 }),
|
|
11648
11758
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
11649
|
-
loading && !title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h3", className: "w-40 max-w-full" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11650
|
-
loading && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "w-56 max-w-full" }) : subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11759
|
+
loading && !title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h3", className: "w-40 max-w-full" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h3", children: title }),
|
|
11760
|
+
loading && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "w-56 max-w-full" }) : subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", children: subtitle })
|
|
11651
11761
|
] })
|
|
11652
11762
|
] }),
|
|
11653
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11763
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { label: tag.label, variant: "outline", className: "shrink-0 self-start", loading })
|
|
11654
11764
|
] }),
|
|
11655
11765
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: rows.map((row, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ServiceCardRowItem, { row, loading }, idx)) })
|
|
11656
11766
|
] });
|
|
@@ -11674,7 +11784,7 @@ function ServiceCardRowItem({ row, loading: loadingProp }) {
|
|
|
11674
11784
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", className: "w-40 max-w-full" }) : (
|
|
11675
11785
|
// No tooltip while a secret is masked — the old native `title` leaked the raw value on hover.
|
|
11676
11786
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11677
|
-
|
|
11787
|
+
_chunkGP7NV6BKcjs.FloatingTooltip,
|
|
11678
11788
|
{
|
|
11679
11789
|
content: row.value,
|
|
11680
11790
|
side: "top",
|
|
@@ -11783,17 +11893,17 @@ function PersonCell({
|
|
|
11783
11893
|
const displayName = name || fallbackName;
|
|
11784
11894
|
const scale = PERSON_CELL_SIZE[size];
|
|
11785
11895
|
const row = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `group/person-cell ${PERSON_ROW_CLASS} ${scale.gap}`, children: [
|
|
11786
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11896
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
11787
11897
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
11788
11898
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11789
|
-
|
|
11899
|
+
_chunkF64GLU75cjs.TruncateText,
|
|
11790
11900
|
{
|
|
11791
11901
|
variant: scale.primary,
|
|
11792
11902
|
className: onClick ? "text-ods-accent group-hover/person-cell:underline" : void 0,
|
|
11793
11903
|
children: displayName
|
|
11794
11904
|
}
|
|
11795
11905
|
),
|
|
11796
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11906
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", children: secondary === void 0 ? "\xA0" : secondary || "\xB7" })
|
|
11797
11907
|
] })
|
|
11798
11908
|
] });
|
|
11799
11909
|
if (!onClick) return row;
|
|
@@ -11811,7 +11921,7 @@ function PersonCell({
|
|
|
11811
11921
|
function PersonCellSkeleton({ size = "sm" }) {
|
|
11812
11922
|
const scale = PERSON_CELL_SIZE[size];
|
|
11813
11923
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${PERSON_ROW_CLASS} ${scale.gap}`, "aria-hidden": true, children: [
|
|
11814
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11924
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.SquareAvatar, { loading: true, size: scale.avatar }),
|
|
11815
11925
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
11816
11926
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: scale.primary, className: "w-3/4" }),
|
|
11817
11927
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "w-1/2" })
|
|
@@ -11834,9 +11944,9 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
11834
11944
|
);
|
|
11835
11945
|
}
|
|
11836
11946
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
11837
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11947
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.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: [
|
|
11838
11948
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11839
|
-
|
|
11949
|
+
_chunkCFXCCQ6Tcjs.AvatarStack,
|
|
11840
11950
|
{
|
|
11841
11951
|
size: "sm",
|
|
11842
11952
|
slots: PEOPLE_CELL_STACK_SLOTS,
|
|
@@ -11844,7 +11954,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
11844
11954
|
}
|
|
11845
11955
|
) }),
|
|
11846
11956
|
/* @__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: [
|
|
11847
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) =>
|
|
11957
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) => _chunkGP7NV6BKcjs.personFirstName.call(void 0, p.name, "Unknown")).join(" & ") }),
|
|
11848
11958
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: fullNames })
|
|
11849
11959
|
] })
|
|
11850
11960
|
] }) });
|
|
@@ -12691,7 +12801,7 @@ function DataTableRowImpl({
|
|
|
12691
12801
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12692
12802
|
const handleClick = _react.useCallback.call(void 0,
|
|
12693
12803
|
(e) => {
|
|
12694
|
-
if (!
|
|
12804
|
+
if (!_chunkNRAH3M66cjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12695
12805
|
if (isLinkMode) e.preventDefault();
|
|
12696
12806
|
return;
|
|
12697
12807
|
}
|
|
@@ -12705,7 +12815,7 @@ function DataTableRowImpl({
|
|
|
12705
12815
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _222 => _222.contains, 'call', _223 => _223(target)])) return;
|
|
12706
12816
|
const nestedLink = target.closest("a");
|
|
12707
12817
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12708
|
-
if (!
|
|
12818
|
+
if (!_chunkNRAH3M66cjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12709
12819
|
}, []);
|
|
12710
12820
|
const containerClassName = _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
12711
12821
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12834,7 +12944,7 @@ function DataTableBody({
|
|
|
12834
12944
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12835
12945
|
if (loading && loadingCells && hasRows) {
|
|
12836
12946
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12837
|
-
|
|
12947
|
+
_chunkY3IMXLLLcjs.LoadingFallback,
|
|
12838
12948
|
{
|
|
12839
12949
|
label: "Loading results",
|
|
12840
12950
|
status: loadingRegion && !inScope,
|
|
@@ -13182,7 +13292,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13182
13292
|
// child of the cell.
|
|
13183
13293
|
_optionalChain([meta, 'optionalAccess', _241 => _241.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13184
13294
|
filterTrigger,
|
|
13185
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13295
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNRAH3M66cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13186
13296
|
] }) : filterTrigger
|
|
13187
13297
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13188
13298
|
"div",
|
|
@@ -13207,7 +13317,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13207
13317
|
// centred on the row.
|
|
13208
13318
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13209
13319
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13210
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13320
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNRAH3M66cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13211
13321
|
] })
|
|
13212
13322
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13213
13323
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13446,7 +13556,7 @@ function PhoneInput({
|
|
|
13446
13556
|
placeholder = "Phone Number (optional)",
|
|
13447
13557
|
onKeyDown
|
|
13448
13558
|
}) {
|
|
13449
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13559
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkNRAH3M66cjs.getCountryPhoneData.call(void 0, ), []);
|
|
13450
13560
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13451
13561
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13452
13562
|
[countryCode, priority, others]
|
|
@@ -13461,7 +13571,7 @@ function PhoneInput({
|
|
|
13461
13571
|
_optionalChain([onValidationChange, 'optionalCall', _258 => _258(false)]);
|
|
13462
13572
|
return;
|
|
13463
13573
|
}
|
|
13464
|
-
const invalid = !
|
|
13574
|
+
const invalid = !_chunkNRAH3M66cjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13465
13575
|
setIsInvalid(invalid);
|
|
13466
13576
|
_optionalChain([onValidationChange, 'optionalCall', _259 => _259(invalid)]);
|
|
13467
13577
|
},
|
|
@@ -13481,7 +13591,7 @@ function PhoneInput({
|
|
|
13481
13591
|
}, []);
|
|
13482
13592
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 gap-2", children: [
|
|
13483
13593
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13484
|
-
|
|
13594
|
+
_chunkF64GLU75cjs.Select,
|
|
13485
13595
|
{
|
|
13486
13596
|
value: countryCode,
|
|
13487
13597
|
onValueChange: (val) => {
|
|
@@ -13492,14 +13602,14 @@ function PhoneInput({
|
|
|
13492
13602
|
},
|
|
13493
13603
|
disabled,
|
|
13494
13604
|
children: [
|
|
13495
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13605
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { className: "w-[130px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, { children: selectedCountry && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5", children: [
|
|
13496
13606
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.flag }),
|
|
13497
13607
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.dialCode })
|
|
13498
13608
|
] }) }) }),
|
|
13499
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13500
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13501
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13502
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13609
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.SelectContent, { className: "max-h-[300px] !w-[280px]", children: [
|
|
13610
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectGroup, { children: priority.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) }),
|
|
13611
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectSeparator, {}),
|
|
13612
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectGroup, { children: others.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) })
|
|
13503
13613
|
] })
|
|
13504
13614
|
]
|
|
13505
13615
|
}
|
|
@@ -13531,7 +13641,7 @@ function PhoneInput({
|
|
|
13531
13641
|
] });
|
|
13532
13642
|
}
|
|
13533
13643
|
function CountryOption({ country }) {
|
|
13534
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13644
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: country.code, textValue: country.name, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-2", children: [
|
|
13535
13645
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: country.flag }),
|
|
13536
13646
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary", children: country.dialCode }),
|
|
13537
13647
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-block max-w-[140px] overflow-hidden text-ellipsis whitespace-nowrap", children: country.name })
|
|
@@ -13819,7 +13929,7 @@ function SearchInput({
|
|
|
13819
13929
|
/* @__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, _chunkZ74QE57Tcjs.SearchIcon, {}) }),
|
|
13820
13930
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
13821
13931
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13822
|
-
|
|
13932
|
+
_chunkGP7NV6BKcjs.Tag,
|
|
13823
13933
|
{
|
|
13824
13934
|
variant: chipVariantToTagVariant(chip.variant),
|
|
13825
13935
|
label: chip.label,
|
|
@@ -13912,7 +14022,7 @@ function SearchInput({
|
|
|
13912
14022
|
)
|
|
13913
14023
|
] }),
|
|
13914
14024
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13915
|
-
|
|
14025
|
+
_chunkF64GLU75cjs.HiddenTagsPopup,
|
|
13916
14026
|
{
|
|
13917
14027
|
ref: hiddenTagsPopupRef,
|
|
13918
14028
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
@@ -13932,7 +14042,7 @@ function SearchInput({
|
|
|
13932
14042
|
}
|
|
13933
14043
|
),
|
|
13934
14044
|
/* @__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,
|
|
13935
|
-
|
|
14045
|
+
_chunkGP7NV6BKcjs.Tag,
|
|
13936
14046
|
{
|
|
13937
14047
|
variant: chipVariantToTagVariant(chip.variant),
|
|
13938
14048
|
label: chip.label,
|
|
@@ -14145,7 +14255,7 @@ function TagSearchInput({
|
|
|
14145
14255
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "size-4 text-ods-text-secondary content-md:size-6" }) }),
|
|
14146
14256
|
/* @__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: [
|
|
14147
14257
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14148
|
-
|
|
14258
|
+
_chunkGP7NV6BKcjs.Tag,
|
|
14149
14259
|
{
|
|
14150
14260
|
variant: "outline",
|
|
14151
14261
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -14204,7 +14314,7 @@ function TagSearchInput({
|
|
|
14204
14314
|
}
|
|
14205
14315
|
),
|
|
14206
14316
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14207
|
-
|
|
14317
|
+
_chunkF64GLU75cjs.HiddenTagsPopup,
|
|
14208
14318
|
{
|
|
14209
14319
|
ref: hiddenTagsPopupRef,
|
|
14210
14320
|
items: hiddenTags,
|
|
@@ -14231,7 +14341,7 @@ function TagSearchInput({
|
|
|
14231
14341
|
"aria-hidden": "true",
|
|
14232
14342
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
14233
14343
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14234
|
-
|
|
14344
|
+
_chunkGP7NV6BKcjs.Tag,
|
|
14235
14345
|
{
|
|
14236
14346
|
variant: "outline",
|
|
14237
14347
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -14294,8 +14404,8 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14294
14404
|
if (!trimmedUrl) return;
|
|
14295
14405
|
onSubmit({ text: text.trim(), url: trimmedUrl, rel });
|
|
14296
14406
|
};
|
|
14297
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14298
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14407
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.Modal, { isOpen, onClose, className: "text-left md:max-w-[560px]", children: [
|
|
14408
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalTitle, { children: editing ? "Edit link" : "Add link" }) }),
|
|
14299
14409
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14300
14410
|
"form",
|
|
14301
14411
|
{
|
|
@@ -14320,7 +14430,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14320
14430
|
),
|
|
14321
14431
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14322
14432
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14323
|
-
|
|
14433
|
+
_chunkY3IMXLLLcjs.TabSelector,
|
|
14324
14434
|
{
|
|
14325
14435
|
label: "Search engines",
|
|
14326
14436
|
value: choice,
|
|
@@ -14337,7 +14447,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14337
14447
|
]
|
|
14338
14448
|
}
|
|
14339
14449
|
),
|
|
14340
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14450
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.ModalFooter, { children: [
|
|
14341
14451
|
editing ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { type: "button", variant: "outline", onClick: onRemove, className: "flex-1", children: "Remove link" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { type: "button", variant: "outline", onClick: onClose, className: "flex-1", children: "Cancel" }),
|
|
14342
14452
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { type: "submit", form: formId, variant: "accent", disabled: !trimmedUrl, className: "flex-1", children: editing ? "Save" : "Add link" })
|
|
14343
14453
|
] })
|
|
@@ -14377,7 +14487,7 @@ function useMarkdownLinkCommand() {
|
|
|
14377
14487
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14378
14488
|
icon: command.icon,
|
|
14379
14489
|
execute: (state, api) => {
|
|
14380
|
-
const existing =
|
|
14490
|
+
const existing = _chunkY3IMXLLLcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14381
14491
|
setPending(
|
|
14382
14492
|
existing ? {
|
|
14383
14493
|
api,
|
|
@@ -14408,7 +14518,7 @@ function useMarkdownLinkCommand() {
|
|
|
14408
14518
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _316 => _316.initial]), () => ( EMPTY_LINK)),
|
|
14409
14519
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _317 => _317.editing]), () => ( false)),
|
|
14410
14520
|
onSubmit: (link) => {
|
|
14411
|
-
if (pending) write(pending,
|
|
14521
|
+
if (pending) write(pending, _chunkY3IMXLLLcjs.formatMarkdownLink.call(void 0, link));
|
|
14412
14522
|
},
|
|
14413
14523
|
onRemove: () => {
|
|
14414
14524
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -14574,7 +14684,7 @@ function MarkdownEditor({
|
|
|
14574
14684
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
14575
14685
|
try {
|
|
14576
14686
|
const url = await onUploadFile(file);
|
|
14577
|
-
const isImage =
|
|
14687
|
+
const isImage = _chunkJGURZROBcjs.fileMediaType.call(void 0, file) === "image";
|
|
14578
14688
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
14579
14689
|
insertTextAtCursor(markdown);
|
|
14580
14690
|
_optionalChain([onFileUploaded, 'optionalCall', _320 => _320(url, file.name)]);
|
|
@@ -14704,7 +14814,7 @@ function MarkdownEditor({
|
|
|
14704
14814
|
type: "file",
|
|
14705
14815
|
className: "hidden",
|
|
14706
14816
|
onChange: handleFileInputChange,
|
|
14707
|
-
accept: `${
|
|
14817
|
+
accept: `${_chunkJGURZROBcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
14708
14818
|
}
|
|
14709
14819
|
),
|
|
14710
14820
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownEditorHeightContext.Provider, { value: height, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownEditorFieldSkeleton, { height }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15118,7 +15228,7 @@ function matchesAccept2(file, accept) {
|
|
|
15118
15228
|
return patterns.some((pattern) => {
|
|
15119
15229
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
15120
15230
|
if (pattern.endsWith("/*"))
|
|
15121
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
15231
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunkJGURZROBcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
15122
15232
|
return fileType === pattern;
|
|
15123
15233
|
});
|
|
15124
15234
|
}
|
|
@@ -15126,7 +15236,7 @@ function ImageUploader({
|
|
|
15126
15236
|
value,
|
|
15127
15237
|
onChange,
|
|
15128
15238
|
onRemove,
|
|
15129
|
-
accept =
|
|
15239
|
+
accept = _chunkJGURZROBcjs.IMAGE_FILE_ACCEPT,
|
|
15130
15240
|
maxSize = DEFAULT_MAX_SIZE,
|
|
15131
15241
|
label = "Cover Image",
|
|
15132
15242
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -15358,13 +15468,13 @@ function ColorPresetSelect({
|
|
|
15358
15468
|
...presets.map((p) => ({
|
|
15359
15469
|
id: p.key,
|
|
15360
15470
|
label: p.label,
|
|
15361
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15471
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ColorSwatch, { color: p.color }),
|
|
15362
15472
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
15363
15473
|
})),
|
|
15364
15474
|
{
|
|
15365
15475
|
id: CUSTOM_PRESET_KEY,
|
|
15366
15476
|
label: "Custom",
|
|
15367
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15477
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
15368
15478
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
15369
15479
|
}
|
|
15370
15480
|
]
|
|
@@ -15381,7 +15491,7 @@ function ColorPresetSelect({
|
|
|
15381
15491
|
{
|
|
15382
15492
|
disabled,
|
|
15383
15493
|
"aria-label": `Color: ${displayLabel}`,
|
|
15384
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15494
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ColorSwatch, { color: displayColor }),
|
|
15385
15495
|
selectedLabel: displayLabel,
|
|
15386
15496
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
15387
15497
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "group", className)
|
|
@@ -15519,7 +15629,7 @@ function ColorPickerInput({
|
|
|
15519
15629
|
{
|
|
15520
15630
|
disabled,
|
|
15521
15631
|
"aria-label": "Pick custom color",
|
|
15522
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15632
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ColorSwatch, { color: value }),
|
|
15523
15633
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
15524
15634
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
15525
15635
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "group", className)
|
|
@@ -15600,7 +15710,7 @@ function TicketStatusConfigRow({
|
|
|
15600
15710
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
15601
15711
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
15602
15712
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15603
|
-
|
|
15713
|
+
_chunkTUD7BV6Ocjs.TicketStatusTag,
|
|
15604
15714
|
{
|
|
15605
15715
|
loading,
|
|
15606
15716
|
status: statusKey,
|
|
@@ -15717,9 +15827,9 @@ function TicketStatusConfigRow({
|
|
|
15717
15827
|
),
|
|
15718
15828
|
children: [
|
|
15719
15829
|
!isSystem && moveButtons,
|
|
15720
|
-
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,
|
|
15830
|
+
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, _chunkG24OX7ACcjs.TouchFriendlyTooltip, { content: systemTooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "bare", size: "icon-sm", type: "button", "aria-label": _nullishCoalesce(systemTooltip, () => ( "System status")), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRHC2FRVEcjs.InfoCircleIcon, { size: 24 }) }) }) }) : (
|
|
15721
15831
|
// The delete button is a static control: drawn for real in both forms, inert while the status is read.
|
|
15722
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.InertWhileLoading, { loading, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15832
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.InertWhileLoading, { loading, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG24OX7ACcjs.TouchFriendlyTooltip, { content: deleteDisabled && !loading ? deleteDisabledReason : void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15723
15833
|
_chunkK7I3YYYUcjs.Button,
|
|
15724
15834
|
{
|
|
15725
15835
|
type: "button",
|
|
@@ -15760,7 +15870,7 @@ var TEST_RESULTS_SKELETON_COLUMNS = 6;
|
|
|
15760
15870
|
function TestResultsSkeleton({
|
|
15761
15871
|
region = true
|
|
15762
15872
|
} = {}) {
|
|
15763
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD6RPLHXcjs.LoadingRegion, { label: "Loading the test results", announce: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15873
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD6RPLHXcjs.LoadingRegion, { label: "Loading the test results", announce: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
15764
15874
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex", ROW_SHELL_CLASSES), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count: TEST_RESULTS_SKELETON_COLUMNS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 shrink-0 items-center", style: { width: RESULT_COLUMN_MIN_WIDTH }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h5", className: "w-3/4" }) }) }) }),
|
|
15765
15875
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DATA_TABLE_ROW_FRAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex", ROW_SHELL_CLASSES, ROW_HEIGHT_DESKTOP), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count: TEST_RESULTS_SKELETON_COLUMNS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, className: "shrink-0", style: { width: RESULT_COLUMN_MIN_WIDTH }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h4", className: "w-3/4" }) }) }) }) })
|
|
15766
15876
|
] }) }) });
|
|
@@ -15796,7 +15906,7 @@ function TestResultsTable({ rows, loading: loadingProp }) {
|
|
|
15796
15906
|
if (loading) {
|
|
15797
15907
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
15798
15908
|
}
|
|
15799
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15909
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.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: [
|
|
15800
15910
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
15801
15911
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
15802
15912
|
] }) }) });
|
|
@@ -15861,7 +15971,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
15861
15971
|
function TestRunStatusStat({ status, className }) {
|
|
15862
15972
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
15863
15973
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex min-w-0 flex-col items-start justify-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
15864
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15974
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.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: "-" }),
|
|
15865
15975
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
15866
15976
|
] });
|
|
15867
15977
|
}
|
|
@@ -15905,7 +16015,7 @@ function useTestRunState(campaign) {
|
|
|
15905
16015
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
15906
16016
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
15907
16017
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
15908
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
16018
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkIONS6HDFcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
15909
16019
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
15910
16020
|
const displayRows = _react.useMemo.call(void 0,
|
|
15911
16021
|
() => campaign.results.map(
|
|
@@ -15944,7 +16054,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
15944
16054
|
),
|
|
15945
16055
|
children: [
|
|
15946
16056
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15947
|
-
|
|
16057
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
15948
16058
|
{
|
|
15949
16059
|
src: attachment.thumbnailSrc,
|
|
15950
16060
|
alt: attachment.fileName,
|
|
@@ -16042,7 +16152,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
16042
16152
|
};
|
|
16043
16153
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex items-start gap-4 rounded-[6px] p-3", "border border-ods-border bg-ods-card", className), children: [
|
|
16044
16154
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16045
|
-
|
|
16155
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
16046
16156
|
{
|
|
16047
16157
|
src: note.authorAvatar,
|
|
16048
16158
|
alt: note.authorName,
|
|
@@ -16227,7 +16337,7 @@ function TicketInfoSection({
|
|
|
16227
16337
|
/* @__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: [
|
|
16228
16338
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
16229
16339
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16230
|
-
|
|
16340
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
16231
16341
|
{
|
|
16232
16342
|
src: _optionalChain([organization, 'optionalAccess', _356 => _356.imageSrc]),
|
|
16233
16343
|
alt: _optionalChain([organization, 'optionalAccess', _357 => _357.name]),
|
|
@@ -16257,7 +16367,7 @@ function TicketInfoSection({
|
|
|
16257
16367
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _360 => _360.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _361 => _361.icon]), onClick: _optionalChain([device, 'optionalAccess', _362 => _362.onClick]) }),
|
|
16258
16368
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
16259
16369
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16260
|
-
|
|
16370
|
+
_chunkTUD7BV6Ocjs.TicketStatusTag,
|
|
16261
16371
|
{
|
|
16262
16372
|
status: _nullishCoalesce(status, () => ( "")),
|
|
16263
16373
|
label: statusLabel,
|
|
@@ -16287,9 +16397,9 @@ function TicketInfoSection({
|
|
|
16287
16397
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16288
16398
|
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" }) }),
|
|
16289
16399
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16290
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16400
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY3IMXLLLcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16291
16401
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16292
|
-
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,
|
|
16402
|
+
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, _chunkGP7NV6BKcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16293
16403
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16294
16404
|
TicketNotesSection,
|
|
16295
16405
|
{
|
|
@@ -16312,8 +16422,8 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
16312
16422
|
const { label, color } = option;
|
|
16313
16423
|
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: [
|
|
16314
16424
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16315
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16316
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16425
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ColorSwatch, { color }),
|
|
16426
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
16317
16427
|
] }),
|
|
16318
16428
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
16319
16429
|
] });
|
|
@@ -16322,8 +16432,8 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
16322
16432
|
const { label, imageUrl } = option;
|
|
16323
16433
|
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: [
|
|
16324
16434
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16326
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16435
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
16436
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
16327
16437
|
] }),
|
|
16328
16438
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
16329
16439
|
] });
|
|
@@ -16357,9 +16467,9 @@ function TakeOverTicketModal({
|
|
|
16357
16467
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
16358
16468
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
16359
16469
|
};
|
|
16360
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16470
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
16361
16471
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
16362
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16472
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
16363
16473
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
16364
16474
|
"The ticket ",
|
|
16365
16475
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -16367,19 +16477,19 @@ function TakeOverTicketModal({
|
|
|
16367
16477
|
] }),
|
|
16368
16478
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
16369
16479
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16370
|
-
|
|
16480
|
+
_chunkF64GLU75cjs.Autocomplete,
|
|
16371
16481
|
{
|
|
16372
16482
|
label: "Status",
|
|
16373
16483
|
options: statusOptions,
|
|
16374
16484
|
value: selectedStatusId,
|
|
16375
16485
|
onChange: setStatusId,
|
|
16376
16486
|
placeholder: "Select Status",
|
|
16377
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16487
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
16378
16488
|
renderOption: renderTicketStatusOption
|
|
16379
16489
|
}
|
|
16380
16490
|
) }),
|
|
16381
16491
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16382
|
-
|
|
16492
|
+
_chunkF64GLU75cjs.Autocomplete,
|
|
16383
16493
|
{
|
|
16384
16494
|
label: "Assigned",
|
|
16385
16495
|
options: assigneeOptions,
|
|
@@ -16388,7 +16498,7 @@ function TakeOverTicketModal({
|
|
|
16388
16498
|
placeholder: "Select Technician",
|
|
16389
16499
|
loading: assigneesLoading,
|
|
16390
16500
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16391
|
-
|
|
16501
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
16392
16502
|
{
|
|
16393
16503
|
src: selectedAssignee.imageUrl,
|
|
16394
16504
|
alt: selectedAssignee.label,
|
|
@@ -16401,7 +16511,7 @@ function TakeOverTicketModal({
|
|
|
16401
16511
|
}
|
|
16402
16512
|
) })
|
|
16403
16513
|
] }),
|
|
16404
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16514
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.ModalFooter, { children: [
|
|
16405
16515
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
16406
16516
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
16407
16517
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16460,9 +16570,9 @@ function ReopenTicketModal({
|
|
|
16460
16570
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
16461
16571
|
});
|
|
16462
16572
|
};
|
|
16463
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16573
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
16464
16574
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
16465
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16575
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
16466
16576
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
16467
16577
|
"The ticket ",
|
|
16468
16578
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -16470,19 +16580,19 @@ function ReopenTicketModal({
|
|
|
16470
16580
|
] }),
|
|
16471
16581
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
16472
16582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16473
|
-
|
|
16583
|
+
_chunkF64GLU75cjs.Autocomplete,
|
|
16474
16584
|
{
|
|
16475
16585
|
label: "Status",
|
|
16476
16586
|
options: statusOptions,
|
|
16477
16587
|
value: selectedStatusId,
|
|
16478
16588
|
onChange: setStatusId,
|
|
16479
16589
|
placeholder: "Select Status",
|
|
16480
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16590
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
16481
16591
|
renderOption: renderTicketStatusOption
|
|
16482
16592
|
}
|
|
16483
16593
|
) }),
|
|
16484
16594
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16485
|
-
|
|
16595
|
+
_chunkF64GLU75cjs.Autocomplete,
|
|
16486
16596
|
{
|
|
16487
16597
|
label: "Assigned",
|
|
16488
16598
|
options: assigneeOptions,
|
|
@@ -16491,7 +16601,7 @@ function ReopenTicketModal({
|
|
|
16491
16601
|
placeholder: "Select Technician",
|
|
16492
16602
|
loading: assigneesLoading,
|
|
16493
16603
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16494
|
-
|
|
16604
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
16495
16605
|
{
|
|
16496
16606
|
src: selectedAssignee.imageUrl,
|
|
16497
16607
|
alt: selectedAssignee.label,
|
|
@@ -16515,7 +16625,7 @@ function ReopenTicketModal({
|
|
|
16515
16625
|
disabled: isPending
|
|
16516
16626
|
}
|
|
16517
16627
|
) }),
|
|
16518
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16628
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.ModalFooter, { children: [
|
|
16519
16629
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
16520
16630
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
16521
16631
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16564,9 +16674,9 @@ function ReopenTicketRequestModal({
|
|
|
16564
16674
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
16565
16675
|
});
|
|
16566
16676
|
};
|
|
16567
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16677
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
16568
16678
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
16569
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16679
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
16570
16680
|
/* @__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." }),
|
|
16571
16681
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16572
16682
|
Textarea,
|
|
@@ -16590,7 +16700,7 @@ function ReopenTicketRequestModal({
|
|
|
16590
16700
|
disabled: isPending
|
|
16591
16701
|
}
|
|
16592
16702
|
),
|
|
16593
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16703
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.ModalFooter, { children: [
|
|
16594
16704
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
16595
16705
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
16596
16706
|
] })
|
|
@@ -16772,7 +16882,7 @@ function PhotoWall({
|
|
|
16772
16882
|
gap: COLUMN_GAP_PX
|
|
16773
16883
|
};
|
|
16774
16884
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk6YZNUHXTcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16775
|
-
|
|
16885
|
+
_chunkY3IMXLLLcjs.MarqueeWall,
|
|
16776
16886
|
{
|
|
16777
16887
|
axis: "y",
|
|
16778
16888
|
reverse: index % 2 === 1,
|
|
@@ -17002,7 +17112,7 @@ function ProductScreenFrame({
|
|
|
17002
17112
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "ods-content-area", pending && "product-screen-pending"),
|
|
17003
17113
|
style: screenStyle,
|
|
17004
17114
|
children: [
|
|
17005
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ods-content-scope", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingScope, { bare: true, active: pending, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17115
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ods-content-scope", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingScope, { bare: true, active: pending, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.PagePicture, { children }) }) }),
|
|
17006
17116
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, style: { display: "contents" } })
|
|
17007
17117
|
]
|
|
17008
17118
|
}
|
|
@@ -17140,7 +17250,7 @@ function PhoneFrame({ dateLabel, timeLabel, children, className }) {
|
|
|
17140
17250
|
"div",
|
|
17141
17251
|
{
|
|
17142
17252
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "h-[617px] w-[299px] shrink-0 rounded-[48px] border border-ods-border bg-black p-2.5", className),
|
|
17143
|
-
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "relative flex h-full flex-col overflow-hidden rounded-[38px]",
|
|
17253
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "relative flex h-full flex-col overflow-hidden rounded-[38px]", _chunkF64GLU75cjs.DEVICE_WALLPAPER_CLASS), children: [
|
|
17144
17254
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17145
17255
|
"div",
|
|
17146
17256
|
{
|
|
@@ -17332,7 +17442,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17332
17442
|
};
|
|
17333
17443
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17334
17444
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17335
|
-
const labels =
|
|
17445
|
+
const labels = _chunkNRAH3M66cjs.trialLabels.call(void 0, trialDays);
|
|
17336
17446
|
return terms.flatMap((term) => {
|
|
17337
17447
|
const label = labels[term];
|
|
17338
17448
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -17439,7 +17549,7 @@ function AnalyzingState({ label, className }) {
|
|
|
17439
17549
|
}) }),
|
|
17440
17550
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 text-center text-ods-text-secondary text-h4", children: [
|
|
17441
17551
|
label,
|
|
17442
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17552
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ChatTypingIndicator, { "aria-hidden": true, size: "sm", dotClassName: "bg-ods-text-secondary motion-reduce:animate-none" })
|
|
17443
17553
|
] })
|
|
17444
17554
|
] });
|
|
17445
17555
|
}
|
|
@@ -17453,7 +17563,7 @@ var INCIDENT_TONE = {
|
|
|
17453
17563
|
approved: "success"
|
|
17454
17564
|
};
|
|
17455
17565
|
function IncidentStatusLine({ status, label, className }) {
|
|
17456
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17566
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.StatusLine, { tone: INCIDENT_TONE[status], label, className });
|
|
17457
17567
|
}
|
|
17458
17568
|
var FEED_CLASS = "flex min-h-0 flex-1 flex-col gap-3 overflow-hidden p-4 md:px-5";
|
|
17459
17569
|
var FEED_BOTTOM_CLASS = "justify-end [mask-image:linear-gradient(180deg,transparent_0,#000_48px)]";
|
|
@@ -17818,7 +17928,7 @@ function SuperUserBannerView({
|
|
|
17818
17928
|
endAdornment: (
|
|
17819
17929
|
// Below `md` the chip would take the width the tenant name needs, and
|
|
17820
17930
|
// the name is the point of the strip: the chip waits for `md`.
|
|
17821
|
-
environmentLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17931
|
+
environmentLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { variant: "critical", label: environmentLabel, className: "uppercase max-md:hidden" }) : void 0
|
|
17822
17932
|
)
|
|
17823
17933
|
}
|
|
17824
17934
|
);
|
|
@@ -18366,7 +18476,7 @@ function CompleteAccountForm({
|
|
|
18366
18476
|
),
|
|
18367
18477
|
children: [
|
|
18368
18478
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18369
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18479
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkJGURZROBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18370
18480
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18371
18481
|
] }),
|
|
18372
18482
|
(ssoProvidersLoading || ssoProviders && ssoProviders.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -18517,7 +18627,7 @@ function CreateOrganizationForm({
|
|
|
18517
18627
|
),
|
|
18518
18628
|
children: [
|
|
18519
18629
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18520
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18630
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkJGURZROBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18521
18631
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle === null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: CREATE_ORGANIZATION_SUBTITLE_BAR_CLASS }) : subtitle })
|
|
18522
18632
|
] }),
|
|
18523
18633
|
email === void 0 ? null : emailReadOnly && emailReadOnlyLabel === null ? (
|
|
@@ -18664,7 +18774,7 @@ function InviteLinkInvalidModal({
|
|
|
18664
18774
|
),
|
|
18665
18775
|
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: [
|
|
18666
18776
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
18667
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18777
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkJGURZROBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18668
18778
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18669
18779
|
_chunkK7I3YYYUcjs.Button,
|
|
18670
18780
|
{
|
|
@@ -18748,7 +18858,7 @@ function LoginForm({
|
|
|
18748
18858
|
),
|
|
18749
18859
|
children: [
|
|
18750
18860
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18751
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18861
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkJGURZROBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18752
18862
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18753
18863
|
] }),
|
|
18754
18864
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18875,7 +18985,7 @@ function NoAccountNotice({
|
|
|
18875
18985
|
),
|
|
18876
18986
|
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: [
|
|
18877
18987
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18878
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18988
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkJGURZROBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18879
18989
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
18880
18990
|
] }),
|
|
18881
18991
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -18924,7 +19034,7 @@ function OpenFrameSsoLoginForm({
|
|
|
18924
19034
|
),
|
|
18925
19035
|
children: [
|
|
18926
19036
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18927
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19037
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkJGURZROBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18928
19038
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18929
19039
|
] }),
|
|
18930
19040
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19029,7 +19139,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
19029
19139
|
),
|
|
19030
19140
|
children: [
|
|
19031
19141
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
19032
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19142
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkJGURZROBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19033
19143
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19034
19144
|
] }),
|
|
19035
19145
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19135,7 +19245,7 @@ function PasswordResetForm({
|
|
|
19135
19245
|
),
|
|
19136
19246
|
children: [
|
|
19137
19247
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19138
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19248
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkJGURZROBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19139
19249
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19140
19250
|
] }),
|
|
19141
19251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19256,12 +19366,12 @@ function SsoJoinForm({
|
|
|
19256
19366
|
),
|
|
19257
19367
|
children: [
|
|
19258
19368
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19259
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19369
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkJGURZROBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19260
19370
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19261
19371
|
] }),
|
|
19262
19372
|
/* @__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: [
|
|
19263
19373
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19264
|
-
|
|
19374
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
19265
19375
|
{
|
|
19266
19376
|
loading: identityLoading,
|
|
19267
19377
|
size: "lg",
|
|
@@ -19279,7 +19389,7 @@ function SsoJoinForm({
|
|
|
19279
19389
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
19280
19390
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
19281
19391
|
] }) }),
|
|
19282
|
-
shownRoles.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROLES_CLASS, children: shownRoles.map((role, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19392
|
+
shownRoles.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROLES_CLASS, children: shownRoles.map((role, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { loading: readingIdentity, variant: "grey", label: role }, `${role}-${i}`)) })
|
|
19283
19393
|
] }),
|
|
19284
19394
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19285
19395
|
CheckboxBlock,
|
|
@@ -19586,9 +19696,9 @@ function ChangelogManager({
|
|
|
19586
19696
|
] }),
|
|
19587
19697
|
tagOptions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19588
19698
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJRTDBPJTcjs.Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
19589
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19590
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19591
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19699
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.Select, { value: _nullishCoalesce(entry.tag, () => ( "")), onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
19700
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, { placeholder: tagLabel }) }),
|
|
19701
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: tagOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
19592
19702
|
] })
|
|
19593
19703
|
] })
|
|
19594
19704
|
] })
|
|
@@ -21111,15 +21221,15 @@ function useLoading() {
|
|
|
21111
21221
|
|
|
21112
21222
|
|
|
21113
21223
|
function isAlreadyThere(file, existing) {
|
|
21114
|
-
const key =
|
|
21224
|
+
const key = _chunkJGURZROBcjs.mediaNameKey.call(void 0, file.name);
|
|
21115
21225
|
if (!key) return false;
|
|
21116
21226
|
return existing.some(
|
|
21117
|
-
(item) => (item.title ?
|
|
21227
|
+
(item) => (item.title ? _chunkJGURZROBcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunkJGURZROBcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
21118
21228
|
);
|
|
21119
21229
|
}
|
|
21120
21230
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
21121
|
-
var isVideoItem = (item) =>
|
|
21122
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
21231
|
+
var isVideoItem = (item) => _chunkJGURZROBcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
21232
|
+
var MEDIA_KIND_ACCEPT = { image: _chunkJGURZROBcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunkJGURZROBcjs.MEDIA_FILE_ACCEPT };
|
|
21123
21233
|
var MEDIA_KIND_COPY = {
|
|
21124
21234
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
21125
21235
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -21143,12 +21253,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
21143
21253
|
const seen = /* @__PURE__ */ new Set();
|
|
21144
21254
|
const accepted = [];
|
|
21145
21255
|
for (const file of files) {
|
|
21146
|
-
const mediaType =
|
|
21256
|
+
const mediaType = _chunkJGURZROBcjs.fileMediaType.call(void 0, file);
|
|
21147
21257
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
21148
21258
|
unsupported.push(file.name);
|
|
21149
21259
|
continue;
|
|
21150
21260
|
}
|
|
21151
|
-
const contentKey = await
|
|
21261
|
+
const contentKey = await _chunkJGURZROBcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
21152
21262
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
21153
21263
|
duplicates.push(file.name);
|
|
21154
21264
|
continue;
|
|
@@ -21369,17 +21479,17 @@ function MediaGalleryManager({
|
|
|
21369
21479
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21370
21480
|
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" }),
|
|
21371
21481
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21372
|
-
|
|
21482
|
+
_chunkF64GLU75cjs.Select,
|
|
21373
21483
|
{
|
|
21374
21484
|
value: item.media_type,
|
|
21375
21485
|
onValueChange: (value) => update(index, { media_type: value }),
|
|
21376
21486
|
children: [
|
|
21377
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21378
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21379
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21380
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21381
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21382
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21487
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { className: "h-8 bg-ods-bg text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, {}) }),
|
|
21488
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
21489
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "image", children: "Image" }),
|
|
21490
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "video", children: "Video" }),
|
|
21491
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "screenshot", children: "Screenshot" }),
|
|
21492
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "demo", children: "Demo" })
|
|
21383
21493
|
] })
|
|
21384
21494
|
]
|
|
21385
21495
|
}
|
|
@@ -21763,7 +21873,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21763
21873
|
empty: "No token rates are in effect right now."
|
|
21764
21874
|
};
|
|
21765
21875
|
function providerMark(providerType, stated, className) {
|
|
21766
|
-
const Mark = _chunk75PJ2SAZcjs.findIcon.call(void 0,
|
|
21876
|
+
const Mark = _chunk75PJ2SAZcjs.findIcon.call(void 0, _chunkNRAH3M66cjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21767
21877
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21768
21878
|
}
|
|
21769
21879
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21781,7 +21891,7 @@ var UNIT_LINE_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
|
21781
21891
|
var TABS_ROW_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21782
21892
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21783
21893
|
function useProviderGroup(rates) {
|
|
21784
|
-
const groups =
|
|
21894
|
+
const groups = _chunkNRAH3M66cjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21785
21895
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21786
21896
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21787
21897
|
}
|
|
@@ -21792,7 +21902,7 @@ function ProviderTabs({
|
|
|
21792
21902
|
className
|
|
21793
21903
|
}) {
|
|
21794
21904
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21795
|
-
|
|
21905
|
+
_chunkY3IMXLLLcjs.TabSelector,
|
|
21796
21906
|
{
|
|
21797
21907
|
variant: "secondary",
|
|
21798
21908
|
scrollable: true,
|
|
@@ -21800,7 +21910,7 @@ function ProviderTabs({
|
|
|
21800
21910
|
onValueChange,
|
|
21801
21911
|
items: groups.map((candidate) => ({
|
|
21802
21912
|
id: candidate.providerType,
|
|
21803
|
-
label:
|
|
21913
|
+
label: _chunkNRAH3M66cjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _459 => _459.rates, 'access', _460 => _460[0], 'optionalAccess', _461 => _461.providerLabel])),
|
|
21804
21914
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _462 => _462.rates, 'access', _463 => _463[0], 'optionalAccess', _464 => _464.providerIcon]), "size-full")
|
|
21805
21915
|
})),
|
|
21806
21916
|
className
|
|
@@ -21877,8 +21987,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21877
21987
|
] }),
|
|
21878
21988
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "rowgroup", className: "min-h-0 flex-1 overflow-y-auto", children: group.rates.map((rate) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-loading-item": true, role: "row", className: BODY_ROW_CLASS, children: [
|
|
21879
21989
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21880
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21881
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21990
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkNRAH3M66cjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
21991
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkNRAH3M66cjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21882
21992
|
] }, rate.modelName)) })
|
|
21883
21993
|
] }),
|
|
21884
21994
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -21925,7 +22035,7 @@ function modelOption(rate) {
|
|
|
21925
22035
|
return {
|
|
21926
22036
|
label: rate.displayName || rate.modelName,
|
|
21927
22037
|
value: rate.modelName,
|
|
21928
|
-
description:
|
|
22038
|
+
description: _chunkNRAH3M66cjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
21929
22039
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
21930
22040
|
};
|
|
21931
22041
|
}
|
|
@@ -21980,9 +22090,9 @@ function ModelTokenExchange({
|
|
|
21980
22090
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
21981
22091
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _465 => _465.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
21982
22092
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
21983
|
-
const tokens =
|
|
21984
|
-
const cost =
|
|
21985
|
-
const balancePrice = cost === null ? null :
|
|
22093
|
+
const tokens = _chunkNRAH3M66cjs.formatTokenAmount.call(void 0, balance);
|
|
22094
|
+
const cost = _chunkNRAH3M66cjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22095
|
+
const balancePrice = cost === null ? null : _chunkGP7NV6BKcjs.formatPrice.call(void 0, cost);
|
|
21986
22096
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
21987
22097
|
const options = models.map(modelOption);
|
|
21988
22098
|
if (rate && !models.some((candidate) => candidate.modelName === rate.modelName)) options.unshift(modelOption(rate));
|
|
@@ -22024,7 +22134,7 @@ function ModelTokenExchange({
|
|
|
22024
22134
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22025
22135
|
size: "small",
|
|
22026
22136
|
onClick: () => setChosen(preset.tokens),
|
|
22027
|
-
children: copy.buy.preset(
|
|
22137
|
+
children: copy.buy.preset(_chunkNRAH3M66cjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22028
22138
|
},
|
|
22029
22139
|
preset.label
|
|
22030
22140
|
)) })
|
|
@@ -22041,7 +22151,7 @@ function ModelTokenExchange({
|
|
|
22041
22151
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _466 => _466.providerType]) === providerType ? rate : null)));
|
|
22042
22152
|
return {
|
|
22043
22153
|
id: providerType,
|
|
22044
|
-
name:
|
|
22154
|
+
name: _chunkNRAH3M66cjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _467 => _467.providerLabel])),
|
|
22045
22155
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _468 => _468.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22046
22156
|
};
|
|
22047
22157
|
}),
|
|
@@ -22053,7 +22163,7 @@ function ModelTokenExchange({
|
|
|
22053
22163
|
}
|
|
22054
22164
|
),
|
|
22055
22165
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22056
|
-
|
|
22166
|
+
_chunkF64GLU75cjs.Autocomplete,
|
|
22057
22167
|
{
|
|
22058
22168
|
fieldLoading: loading,
|
|
22059
22169
|
label: copy.use.model,
|
|
@@ -22080,7 +22190,7 @@ function ModelTokenExchange({
|
|
|
22080
22190
|
{
|
|
22081
22191
|
size: "plain",
|
|
22082
22192
|
loading,
|
|
22083
|
-
figure:
|
|
22193
|
+
figure: _chunkNRAH3M66cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _473 => _473.inputTokenRate])),
|
|
22084
22194
|
words: copy.charge.input
|
|
22085
22195
|
}
|
|
22086
22196
|
),
|
|
@@ -22089,7 +22199,7 @@ function ModelTokenExchange({
|
|
|
22089
22199
|
{
|
|
22090
22200
|
size: "plain",
|
|
22091
22201
|
loading,
|
|
22092
|
-
figure:
|
|
22202
|
+
figure: _chunkNRAH3M66cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _474 => _474.outputTokenRate])),
|
|
22093
22203
|
words: copy.charge.output
|
|
22094
22204
|
}
|
|
22095
22205
|
)
|
|
@@ -22101,9 +22211,9 @@ function ModelTokenExchange({
|
|
|
22101
22211
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22102
22212
|
children: [
|
|
22103
22213
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22104
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22214
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkNRAH3M66cjs.formatTokenAmount.call(void 0, _chunkNRAH3M66cjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22105
22215
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22106
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22216
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkNRAH3M66cjs.formatTokenAmount.call(void 0, _chunkNRAH3M66cjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22107
22217
|
]
|
|
22108
22218
|
}
|
|
22109
22219
|
)
|
|
@@ -22623,7 +22733,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
22623
22733
|
}
|
|
22624
22734
|
)
|
|
22625
22735
|
] }),
|
|
22626
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22736
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
22627
22737
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHFNBMV5Mcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent content-md:size-6" })
|
|
22628
22738
|
]
|
|
22629
22739
|
}
|
|
@@ -22650,14 +22760,14 @@ var ConfidenceBadge = ({
|
|
|
22650
22760
|
size = "sm",
|
|
22651
22761
|
className
|
|
22652
22762
|
}) => {
|
|
22653
|
-
const level =
|
|
22763
|
+
const level = _chunkNRAH3M66cjs.getConfidenceLevel.call(void 0, confidence);
|
|
22654
22764
|
if (level === "none") {
|
|
22655
22765
|
return null;
|
|
22656
22766
|
}
|
|
22657
|
-
const label =
|
|
22658
|
-
const borderClass =
|
|
22659
|
-
const textClass =
|
|
22660
|
-
const bgClass =
|
|
22767
|
+
const label = _chunkNRAH3M66cjs.getConfidenceLabel.call(void 0, confidence);
|
|
22768
|
+
const borderClass = _chunkNRAH3M66cjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22769
|
+
const textClass = _chunkNRAH3M66cjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22770
|
+
const bgClass = _chunkNRAH3M66cjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22661
22771
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22662
22772
|
"span",
|
|
22663
22773
|
{
|
|
@@ -22708,9 +22818,9 @@ function SEOEditorPreview({
|
|
|
22708
22818
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22709
22819
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22710
22820
|
const seoTitleLength = (seoTitle || "").length;
|
|
22711
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22821
|
+
const seoTitleTooLong = seoTitleLength > _chunkNRAH3M66cjs.SEO_TITLE_MAX_LENGTH;
|
|
22712
22822
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22713
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22823
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkNRAH3M66cjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22714
22824
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22715
22825
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22716
22826
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22735,10 +22845,10 @@ function SEOEditorPreview({
|
|
|
22735
22845
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22736
22846
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22737
22847
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22738
|
-
|
|
22848
|
+
_chunkNRAH3M66cjs.Field,
|
|
22739
22849
|
{
|
|
22740
22850
|
label: "SEO Title",
|
|
22741
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22851
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkNRAH3M66cjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22742
22852
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22743
22853
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22744
22854
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22753,7 +22863,7 @@ function SEOEditorPreview({
|
|
|
22753
22863
|
children: [
|
|
22754
22864
|
seoTitleLength,
|
|
22755
22865
|
"/",
|
|
22756
|
-
|
|
22866
|
+
_chunkNRAH3M66cjs.SEO_TITLE_MAX_LENGTH
|
|
22757
22867
|
]
|
|
22758
22868
|
}
|
|
22759
22869
|
),
|
|
@@ -22764,7 +22874,7 @@ function SEOEditorPreview({
|
|
|
22764
22874
|
value: seoTitle || "",
|
|
22765
22875
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22766
22876
|
disabled,
|
|
22767
|
-
maxLength:
|
|
22877
|
+
maxLength: _chunkNRAH3M66cjs.SEO_TITLE_MAX_LENGTH,
|
|
22768
22878
|
invalid: seoTitleTooLong,
|
|
22769
22879
|
placeholder: "Enter SEO meta title...",
|
|
22770
22880
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22775,7 +22885,7 @@ function SEOEditorPreview({
|
|
|
22775
22885
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22776
22886
|
] }),
|
|
22777
22887
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22778
|
-
|
|
22888
|
+
_chunkNRAH3M66cjs.Field,
|
|
22779
22889
|
{
|
|
22780
22890
|
label: "SEO Keywords",
|
|
22781
22891
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22807,10 +22917,10 @@ function SEOEditorPreview({
|
|
|
22807
22917
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22808
22918
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22809
22919
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22810
|
-
|
|
22920
|
+
_chunkNRAH3M66cjs.Field,
|
|
22811
22921
|
{
|
|
22812
22922
|
label: "SEO Description",
|
|
22813
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22923
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkNRAH3M66cjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22814
22924
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22815
22925
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22816
22926
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22833,7 +22943,7 @@ function SEOEditorPreview({
|
|
|
22833
22943
|
children: [
|
|
22834
22944
|
seoDescriptionLength,
|
|
22835
22945
|
"/",
|
|
22836
|
-
|
|
22946
|
+
_chunkNRAH3M66cjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22837
22947
|
]
|
|
22838
22948
|
}
|
|
22839
22949
|
),
|
|
@@ -22844,7 +22954,7 @@ function SEOEditorPreview({
|
|
|
22844
22954
|
value: seoDescription || "",
|
|
22845
22955
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22846
22956
|
disabled,
|
|
22847
|
-
maxLength:
|
|
22957
|
+
maxLength: _chunkNRAH3M66cjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22848
22958
|
invalid: seoDescriptionTooLong,
|
|
22849
22959
|
placeholder: "Enter SEO meta description...",
|
|
22850
22960
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -22913,7 +23023,7 @@ function SEOEditorPreview({
|
|
|
22913
23023
|
{
|
|
22914
23024
|
ref: setFileInputRef,
|
|
22915
23025
|
type: "file",
|
|
22916
|
-
accept:
|
|
23026
|
+
accept: _chunkJGURZROBcjs.IMAGE_FILE_ACCEPT,
|
|
22917
23027
|
onChange: handleImageUpload,
|
|
22918
23028
|
className: "hidden",
|
|
22919
23029
|
disabled: disabled || isUploading
|
|
@@ -22997,7 +23107,7 @@ function socialIcon(platform) {
|
|
|
22997
23107
|
return _nullishCoalesce(_chunk75PJ2SAZcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
22998
23108
|
}
|
|
22999
23109
|
function renderSocialIcon(platform) {
|
|
23000
|
-
const key = _nullishCoalesce(
|
|
23110
|
+
const key = _nullishCoalesce(_chunkNRAH3M66cjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23001
23111
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23002
23112
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23003
23113
|
}
|
|
@@ -23088,7 +23198,7 @@ function SocialLinksManager({
|
|
|
23088
23198
|
};
|
|
23089
23199
|
const getIcon = (link, platform) => {
|
|
23090
23200
|
const iconKey = _optionalChain([platform, 'optionalAccess', _484 => _484.icon_name]) || link.platform;
|
|
23091
|
-
const key =
|
|
23201
|
+
const key = _chunkNRAH3M66cjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23092
23202
|
if (!key) return null;
|
|
23093
23203
|
const icon = socialIcon(key);
|
|
23094
23204
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23104,9 +23214,9 @@ function SocialLinksManager({
|
|
|
23104
23214
|
children: [
|
|
23105
23215
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 items-center justify-center", children: Icon }),
|
|
23106
23216
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid flex-1 grid-cols-2 gap-3", children: [
|
|
23107
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23108
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23109
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23217
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.Select, { value: link.platform, onValueChange: (value) => updateLink(index, "platform", value), children: [
|
|
23218
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, {}) }),
|
|
23219
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: platforms.map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: p.name, children: p.display_name }, p.name)) })
|
|
23110
23220
|
] }) }),
|
|
23111
23221
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23112
23222
|
_chunkHCXNFMLOcjs.Input,
|
|
@@ -23124,15 +23234,15 @@ function SocialLinksManager({
|
|
|
23124
23234
|
)
|
|
23125
23235
|
] }),
|
|
23126
23236
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23127
|
-
|
|
23237
|
+
_chunkF64GLU75cjs.Select,
|
|
23128
23238
|
{
|
|
23129
23239
|
value: _nullishCoalesce(link.visibility, () => ( "external")),
|
|
23130
23240
|
onValueChange: (value) => updateLink(index, "visibility", value),
|
|
23131
23241
|
children: [
|
|
23132
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23133
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23134
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23135
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23242
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { className: "w-[120px] shrink-0", "aria-label": "Social link visibility", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, {}) }),
|
|
23243
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: [
|
|
23244
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "external", children: "Public" }),
|
|
23245
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "internal", children: "Internal" })
|
|
23136
23246
|
] })
|
|
23137
23247
|
]
|
|
23138
23248
|
}
|
|
@@ -23556,7 +23666,7 @@ function VideoBitesDisplay({
|
|
|
23556
23666
|
filterPublished = true,
|
|
23557
23667
|
showTitle = true
|
|
23558
23668
|
}) {
|
|
23559
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23669
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkY3IMXLLLcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23560
23670
|
}
|
|
23561
23671
|
|
|
23562
23672
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23586,7 +23696,7 @@ function WalkthroughVideo({
|
|
|
23586
23696
|
onOpenChange,
|
|
23587
23697
|
defaultOpen,
|
|
23588
23698
|
defaultOpenPaused,
|
|
23589
|
-
deepLinkParam =
|
|
23699
|
+
deepLinkParam = _chunkNRAH3M66cjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23590
23700
|
autoPlayCard = false,
|
|
23591
23701
|
label = "Play Demo Video",
|
|
23592
23702
|
placement,
|
|
@@ -23603,7 +23713,7 @@ function WalkthroughVideo({
|
|
|
23603
23713
|
const inline = placement === "inline";
|
|
23604
23714
|
const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
23605
23715
|
const dismissEnabled = dismissal !== false;
|
|
23606
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23716
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkNRAH3M66cjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23607
23717
|
const dismissalId = _optionalChain([video, 'optionalAccess', _490 => _490.id]) != null ? String(video.id) : "dismissed";
|
|
23608
23718
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23609
23719
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23615,7 +23725,7 @@ function WalkthroughVideo({
|
|
|
23615
23725
|
let delayElapsed = false;
|
|
23616
23726
|
let interacted = inline;
|
|
23617
23727
|
const reveal = () => {
|
|
23618
|
-
if (dismissEnabled &&
|
|
23728
|
+
if (dismissEnabled && _chunkNRAH3M66cjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23619
23729
|
setDismissed(true);
|
|
23620
23730
|
return;
|
|
23621
23731
|
}
|
|
@@ -23652,7 +23762,7 @@ function WalkthroughVideo({
|
|
|
23652
23762
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23653
23763
|
};
|
|
23654
23764
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23655
|
-
const hydrated =
|
|
23765
|
+
const hydrated = _chunkY3IMXLLLcjs.useIsHydrated.call(void 0, );
|
|
23656
23766
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23657
23767
|
if (!hydrated) return false;
|
|
23658
23768
|
try {
|
|
@@ -23902,7 +24012,7 @@ function WalkthroughVideo({
|
|
|
23902
24012
|
(e) => {
|
|
23903
24013
|
e.stopPropagation();
|
|
23904
24014
|
pausePreviewNow();
|
|
23905
|
-
if (dismissEnabled)
|
|
24015
|
+
if (dismissEnabled) _chunkNRAH3M66cjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23906
24016
|
setDismissed(true);
|
|
23907
24017
|
},
|
|
23908
24018
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24077,7 +24187,7 @@ function WalkthroughVideo({
|
|
|
24077
24187
|
`card-${embedUrlKey}`
|
|
24078
24188
|
) }),
|
|
24079
24189
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24080
|
-
|
|
24190
|
+
_chunkY3IMXLLLcjs.CardHitLayer,
|
|
24081
24191
|
{
|
|
24082
24192
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24083
24193
|
onPointerDown: pausePreviewNow,
|
|
@@ -24086,7 +24196,7 @@ function WalkthroughVideo({
|
|
|
24086
24196
|
}
|
|
24087
24197
|
),
|
|
24088
24198
|
/* @__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: [
|
|
24089
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24199
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJXQNECXMcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
24090
24200
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
24091
24201
|
] }),
|
|
24092
24202
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24249,7 +24359,7 @@ function useWalkthroughVideo(opts) {
|
|
|
24249
24359
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
24250
24360
|
const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
24251
24361
|
const enabled = enabledGiven && !inScope;
|
|
24252
|
-
const captions =
|
|
24362
|
+
const captions = _chunkY3IMXLLLcjs.useCaptions.call(void 0, );
|
|
24253
24363
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24254
24364
|
queryKey: ["walkthrough-video", endpoint],
|
|
24255
24365
|
enabled,
|
|
@@ -24903,19 +25013,19 @@ function HighlightVideoSection({
|
|
|
24903
25013
|
/* @__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: [
|
|
24904
25014
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJRTDBPJTcjs.Label, { children: "Target Duration" }),
|
|
24905
25015
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24906
|
-
|
|
25016
|
+
_chunkF64GLU75cjs.Select,
|
|
24907
25017
|
{
|
|
24908
25018
|
value: targetDurationSeconds.toString(),
|
|
24909
25019
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
24910
25020
|
disabled,
|
|
24911
25021
|
children: [
|
|
24912
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24913
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24914
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24915
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24916
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24917
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24918
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25022
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { className: "mt-1 bg-ods-bg-surface", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, {}) }),
|
|
25023
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
25024
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
25025
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
25026
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
25027
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
25028
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
24919
25029
|
] })
|
|
24920
25030
|
]
|
|
24921
25031
|
}
|
|
@@ -25000,20 +25110,20 @@ function HighlightConfigSection({
|
|
|
25000
25110
|
disabled = false,
|
|
25001
25111
|
className = ""
|
|
25002
25112
|
}) {
|
|
25003
|
-
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,
|
|
25004
|
-
|
|
25113
|
+
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, _chunkNRAH3M66cjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25114
|
+
_chunkF64GLU75cjs.Select,
|
|
25005
25115
|
{
|
|
25006
25116
|
value: targetDurationSeconds.toString(),
|
|
25007
25117
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
25008
25118
|
disabled,
|
|
25009
25119
|
children: [
|
|
25010
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25011
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25012
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25013
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25014
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25015
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25016
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25120
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { id: f.id, className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, {}) }),
|
|
25121
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
25122
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
25123
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
25124
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
25125
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
25126
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
25017
25127
|
] })
|
|
25018
25128
|
]
|
|
25019
25129
|
}
|
|
@@ -25101,7 +25211,7 @@ var AIStatusIndicator = ({
|
|
|
25101
25211
|
}) => {
|
|
25102
25212
|
const config = statusConfig[status];
|
|
25103
25213
|
const displayText = message || config.label;
|
|
25104
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25214
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkNRAH3M66cjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25105
25215
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25106
25216
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25107
25217
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25109,7 +25219,7 @@ var AIStatusIndicator = ({
|
|
|
25109
25219
|
size: 16,
|
|
25110
25220
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
25111
25221
|
status === "loading" && _chunkAT4C2YMAcjs.LIVE_PULSE_CLASS,
|
|
25112
|
-
confidence !== void 0 && status === "success" ?
|
|
25222
|
+
confidence !== void 0 && status === "success" ? _chunkNRAH3M66cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25113
25223
|
)
|
|
25114
25224
|
}
|
|
25115
25225
|
),
|
|
@@ -25118,7 +25228,7 @@ var AIStatusIndicator = ({
|
|
|
25118
25228
|
{
|
|
25119
25229
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
25120
25230
|
"text-h6",
|
|
25121
|
-
confidence !== void 0 && status === "success" ?
|
|
25231
|
+
confidence !== void 0 && status === "success" ? _chunkNRAH3M66cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25122
25232
|
),
|
|
25123
25233
|
children: displayText
|
|
25124
25234
|
}
|
|
@@ -25128,8 +25238,8 @@ var AIStatusIndicator = ({
|
|
|
25128
25238
|
{
|
|
25129
25239
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
25130
25240
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25131
|
-
|
|
25132
|
-
|
|
25241
|
+
_chunkNRAH3M66cjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25242
|
+
_chunkNRAH3M66cjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25133
25243
|
),
|
|
25134
25244
|
children: confidenceLabel
|
|
25135
25245
|
}
|
|
@@ -25705,7 +25815,7 @@ function ApprovalLevelView({
|
|
|
25705
25815
|
] });
|
|
25706
25816
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, READ_ONLY_ROW_CLASS, className), children: [
|
|
25707
25817
|
name,
|
|
25708
|
-
showLabel ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25818
|
+
showLabel ? icon : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG24OX7ACcjs.TouchFriendlyTooltip, { content: `${current.label}: ${current.hint}`, side: "top", children: icon })
|
|
25709
25819
|
] });
|
|
25710
25820
|
}
|
|
25711
25821
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, EDITABLE_ROW_CLASS, className), children: [
|
|
@@ -25852,7 +25962,7 @@ var CategorySection = ({
|
|
|
25852
25962
|
}) => {
|
|
25853
25963
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || loadingGiven;
|
|
25854
25964
|
const isExpanded = isExpandedProp && !loading;
|
|
25855
|
-
const { innerRef, containerStyle } =
|
|
25965
|
+
const { innerRef, containerStyle } = _chunkTUD7BV6Ocjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
25856
25966
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
25857
25967
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
25858
25968
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26009,7 +26119,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
26009
26119
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26010
26120
|
_chunkK7I3YYYUcjs.Button,
|
|
26011
26121
|
{
|
|
26012
|
-
onClick: loading ? void 0 :
|
|
26122
|
+
onClick: loading ? void 0 : _chunkNRAH3M66cjs.openInNewTab.call(void 0, href),
|
|
26013
26123
|
disabled: loading,
|
|
26014
26124
|
variant: "outline",
|
|
26015
26125
|
size: "icon",
|
|
@@ -26048,8 +26158,8 @@ function PoliciesTable({
|
|
|
26048
26158
|
accessorKey: "name",
|
|
26049
26159
|
header: "Name",
|
|
26050
26160
|
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: [
|
|
26051
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26052
|
-
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26161
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: row.original.name }),
|
|
26162
|
+
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.description })
|
|
26053
26163
|
] }),
|
|
26054
26164
|
meta: { width: "flex-1 min-w-0" }
|
|
26055
26165
|
},
|
|
@@ -26081,7 +26191,7 @@ function PoliciesTable({
|
|
|
26081
26191
|
cell: ({ row }) => {
|
|
26082
26192
|
const { status } = row.original;
|
|
26083
26193
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start gap-1", children: [
|
|
26084
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26194
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { className: "self-start", label: status.label, variant: status.variant }),
|
|
26085
26195
|
status.note && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `text-h6 ${NOTE_TONE_CLASS[status.note.tone]}`, children: status.note.text })
|
|
26086
26196
|
] });
|
|
26087
26197
|
},
|
|
@@ -26191,7 +26301,7 @@ function PolicySummaryCards({ summary, isLoading = false, hasData = true, now })
|
|
|
26191
26301
|
DashboardInfoCard,
|
|
26192
26302
|
{
|
|
26193
26303
|
title: "Updated",
|
|
26194
|
-
value: hasData && summary.lastUpdatedAt ?
|
|
26304
|
+
value: hasData && summary.lastUpdatedAt ? _chunkTUD7BV6Ocjs.formatRelativeTimeFrom.call(void 0, summary.lastUpdatedAt, _nullishCoalesce(now, () => ( /* @__PURE__ */ new Date()))) : EMPTY_VALUE,
|
|
26195
26305
|
valueClassName: "!text-h3",
|
|
26196
26306
|
tooltip: "Policy compliance stats are updated hourly. View a policy's devices for real-time status."
|
|
26197
26307
|
}
|
|
@@ -26307,7 +26417,7 @@ function toValidInstant(iso) {
|
|
|
26307
26417
|
function formatLastRead(iso, now = /* @__PURE__ */ new Date()) {
|
|
26308
26418
|
const date = toValidInstant(iso);
|
|
26309
26419
|
if (!date) return TENANT_EMPTY_VALUE;
|
|
26310
|
-
return now.getTime() - date.getTime() < DAY_MS ?
|
|
26420
|
+
return now.getTime() - date.getTime() < DAY_MS ? _chunkTUD7BV6Ocjs.formatRelativeTimeFrom.call(void 0, date, now) : _chunkIONS6HDFcjs.formatDate.call(void 0, date);
|
|
26311
26421
|
}
|
|
26312
26422
|
function usersCountLabel(count) {
|
|
26313
26423
|
if (count == null) return TENANT_EMPTY_VALUE;
|
|
@@ -26319,8 +26429,8 @@ function usersCountLabel(count) {
|
|
|
26319
26429
|
function TenantAccessCell({ accessState, lastReadAt: lastReadAt2, now }) {
|
|
26320
26430
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
26321
26431
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26322
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26323
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26432
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { ...accessStateTag(accessState), loading, className: "self-start" }),
|
|
26433
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: `Last read: ${formatLastRead(lastReadAt2, now)}` })
|
|
26324
26434
|
] });
|
|
26325
26435
|
}
|
|
26326
26436
|
|
|
@@ -26332,9 +26442,9 @@ function TenantCell({ provider, name, domain }) {
|
|
|
26332
26442
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26333
26443
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26334
26444
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.MediaSkeleton.Icon, { size: "md", className: "shrink-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Logo, { size: 24, role: "img", "aria-label": label, className: "shrink-0" }),
|
|
26335
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26445
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: name })
|
|
26336
26446
|
] }),
|
|
26337
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26447
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: _nullishCoalesce(domain, () => ( TENANT_EMPTY_VALUE)) })
|
|
26338
26448
|
] });
|
|
26339
26449
|
}
|
|
26340
26450
|
|
|
@@ -26344,10 +26454,10 @@ function TenantCustomerCell({ name, imageUrl, userCount }) {
|
|
|
26344
26454
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
26345
26455
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26346
26456
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26347
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26348
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26457
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.SquareAvatar, { src: _nullishCoalesce(imageUrl, () => ( void 0)), alt: name, fallback: name, size: "xs", variant: "square" }),
|
|
26458
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: name })
|
|
26349
26459
|
] }),
|
|
26350
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26460
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: usersCountLabel(userCount) })
|
|
26351
26461
|
] });
|
|
26352
26462
|
}
|
|
26353
26463
|
|
|
@@ -26383,7 +26493,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26383
26493
|
/* @__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,
|
|
26384
26494
|
_chunkK7I3YYYUcjs.Button,
|
|
26385
26495
|
{
|
|
26386
|
-
onClick: loading ? void 0 :
|
|
26496
|
+
onClick: loading ? void 0 : _chunkNRAH3M66cjs.openInNewTab.call(void 0, href),
|
|
26387
26497
|
disabled: loading,
|
|
26388
26498
|
variant: "outline",
|
|
26389
26499
|
size: "icon",
|
|
@@ -26518,7 +26628,7 @@ function WaitlistForm({
|
|
|
26518
26628
|
const { toast } = _chunkCWA6J7KCcjs.useToast.call(void 0, );
|
|
26519
26629
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkCWA6J7KCcjs.useHumanitySignals.call(void 0, );
|
|
26520
26630
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26521
|
-
const isClient =
|
|
26631
|
+
const isClient = _chunkY3IMXLLLcjs.useIsHydrated.call(void 0, );
|
|
26522
26632
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26523
26633
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26524
26634
|
const rescue = _chunkCWA6J7KCcjs.useFormRescue.call(void 0, {
|
|
@@ -26533,7 +26643,7 @@ function WaitlistForm({
|
|
|
26533
26643
|
_react.useEffect.call(void 0, () => {
|
|
26534
26644
|
rescue.track({ email, phone }, null);
|
|
26535
26645
|
}, [email, phone, rescue]);
|
|
26536
|
-
const isMailDomainGeneric =
|
|
26646
|
+
const isMailDomainGeneric = _chunkNRAH3M66cjs.hasGenericEmailDomain.call(void 0, email);
|
|
26537
26647
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26538
26648
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26539
26649
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26567,7 +26677,7 @@ function WaitlistForm({
|
|
|
26567
26677
|
setShowConsentError(true);
|
|
26568
26678
|
return;
|
|
26569
26679
|
}
|
|
26570
|
-
const finalPhone = phone ?
|
|
26680
|
+
const finalPhone = phone ? _chunkNRAH3M66cjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26571
26681
|
try {
|
|
26572
26682
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26573
26683
|
rescue.complete();
|
|
@@ -27394,7 +27504,7 @@ function LoadedNotificationTile({
|
|
|
27394
27504
|
{
|
|
27395
27505
|
dateTime: createdAtIso,
|
|
27396
27506
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", lockscreen && "self-start"),
|
|
27397
|
-
children: _nullishCoalesce(timeLabel, () => (
|
|
27507
|
+
children: _nullishCoalesce(timeLabel, () => ( _chunkTUD7BV6Ocjs.formatTicketRelativeTime.call(void 0, createdAtIso)))
|
|
27398
27508
|
}
|
|
27399
27509
|
) : null,
|
|
27400
27510
|
!lockscreen && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TILE_CONTROL_BOX_CLASS, children: [
|
|
@@ -27897,13 +28007,13 @@ function getApprovalMeta(notification) {
|
|
|
27897
28007
|
function resolutionToStatus(resolution) {
|
|
27898
28008
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
27899
28009
|
case "APPROVED":
|
|
27900
|
-
return
|
|
28010
|
+
return _chunkIONS6HDFcjs.APPROVAL_STATUS.APPROVED;
|
|
27901
28011
|
case "REJECTED":
|
|
27902
|
-
return
|
|
28012
|
+
return _chunkIONS6HDFcjs.APPROVAL_STATUS.REJECTED;
|
|
27903
28013
|
case "CANCELLED":
|
|
27904
|
-
return
|
|
28014
|
+
return _chunkIONS6HDFcjs.APPROVAL_STATUS.CANCELLED;
|
|
27905
28015
|
default:
|
|
27906
|
-
return
|
|
28016
|
+
return _chunkIONS6HDFcjs.APPROVAL_STATUS.PENDING;
|
|
27907
28017
|
}
|
|
27908
28018
|
}
|
|
27909
28019
|
function approvalMetaToBatchData(approval) {
|
|
@@ -27948,7 +28058,7 @@ function ApprovalRequestNotificationTile({
|
|
|
27948
28058
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _595 => _595.resolution]));
|
|
27949
28059
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
27950
28060
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
27951
|
-
const { innerRef, containerStyle } =
|
|
28061
|
+
const { innerRef, containerStyle } = _chunkTUD7BV6Ocjs.useCollapsible.call(void 0, { expanded });
|
|
27952
28062
|
if (!approval || !batchData) return null;
|
|
27953
28063
|
const tileNotification = {
|
|
27954
28064
|
...notification,
|
|
@@ -28011,7 +28121,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28011
28121
|
}
|
|
28012
28122
|
)
|
|
28013
28123
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28014
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28124
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ApprovalStatusTag, { status }),
|
|
28015
28125
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
28016
28126
|
"by ",
|
|
28017
28127
|
approval.resolvedByName
|
|
@@ -28029,12 +28139,12 @@ function ApprovalRequestNotificationTile({
|
|
|
28029
28139
|
"aria-expanded": expanded,
|
|
28030
28140
|
"aria-label": toggleLabel,
|
|
28031
28141
|
className: APPROVAL_TOGGLE_BUTTON_CLASS,
|
|
28032
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28142
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ExpandChevron, { expanded })
|
|
28033
28143
|
}
|
|
28034
28144
|
)
|
|
28035
28145
|
] }),
|
|
28036
28146
|
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,
|
|
28037
|
-
|
|
28147
|
+
_chunkTUD7BV6Ocjs.ApprovalBatchMessage,
|
|
28038
28148
|
{
|
|
28039
28149
|
data: batchData,
|
|
28040
28150
|
showExecutionStatus: false,
|
|
@@ -28107,7 +28217,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
28107
28217
|
const { label, imageUrl } = option;
|
|
28108
28218
|
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: [
|
|
28109
28219
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
28110
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28220
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
28111
28221
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
28112
28222
|
] }),
|
|
28113
28223
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -28191,7 +28301,7 @@ function TimeTrackerPanel({
|
|
|
28191
28301
|
}));
|
|
28192
28302
|
const selectedCustomer = customerAutocompleteOptions.find((o) => o.value === selectedCustomerId);
|
|
28193
28303
|
const customerStartAdornment = selectedCustomer ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28194
|
-
|
|
28304
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
28195
28305
|
{
|
|
28196
28306
|
src: selectedCustomer.imageUrl,
|
|
28197
28307
|
alt: selectedCustomer.label,
|
|
@@ -28271,7 +28381,7 @@ function TimeTrackerPanel({
|
|
|
28271
28381
|
] }),
|
|
28272
28382
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "grid gap-[var(--spacing-system-m)]", showCustomer && "grid-cols-2"), children: [
|
|
28273
28383
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28274
|
-
|
|
28384
|
+
_chunkF64GLU75cjs.Autocomplete,
|
|
28275
28385
|
{
|
|
28276
28386
|
value: selectedTicketId,
|
|
28277
28387
|
onChange: onSelectedTicketChange,
|
|
@@ -28287,7 +28397,7 @@ function TimeTrackerPanel({
|
|
|
28287
28397
|
}
|
|
28288
28398
|
),
|
|
28289
28399
|
showCustomer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28290
|
-
|
|
28400
|
+
_chunkF64GLU75cjs.Autocomplete,
|
|
28291
28401
|
{
|
|
28292
28402
|
value: _nullishCoalesce(selectedCustomerId, () => ( null)),
|
|
28293
28403
|
onChange: onSelectedCustomerChange,
|
|
@@ -28370,7 +28480,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28370
28480
|
function StatusTag({ status }) {
|
|
28371
28481
|
if (status === "tracking") {
|
|
28372
28482
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28373
|
-
|
|
28483
|
+
_chunkGP7NV6BKcjs.Tag,
|
|
28374
28484
|
{
|
|
28375
28485
|
variant: "success",
|
|
28376
28486
|
className: STATUS_TAG_SKIN,
|
|
@@ -28380,9 +28490,9 @@ function StatusTag({ status }) {
|
|
|
28380
28490
|
);
|
|
28381
28491
|
}
|
|
28382
28492
|
if (status === "paused") {
|
|
28383
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28493
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4D25RXYZcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
28384
28494
|
}
|
|
28385
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28495
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28386
28496
|
}
|
|
28387
28497
|
function LastEntryRow({ entry, onClick }) {
|
|
28388
28498
|
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: [
|
|
@@ -28573,7 +28683,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28573
28683
|
|
|
28574
28684
|
// src/components/features/devices/device-last-online.ts
|
|
28575
28685
|
function formatLastOnline(lastSeen) {
|
|
28576
|
-
return `Last Online: ${lastSeen ?
|
|
28686
|
+
return `Last Online: ${lastSeen ? _chunkTUD7BV6Ocjs.formatRelativeTime.call(void 0, lastSeen) : "\u2014"}`;
|
|
28577
28687
|
}
|
|
28578
28688
|
|
|
28579
28689
|
// src/components/features/devices/device-name.ts
|
|
@@ -28617,7 +28727,7 @@ var SELECTION_MODE_OPTIONS = [
|
|
|
28617
28727
|
label: "Select Devices by Criteria",
|
|
28618
28728
|
description: CRITERIA_MODE_DESCRIPTION,
|
|
28619
28729
|
disabled: true,
|
|
28620
|
-
trailing: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28730
|
+
trailing: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { label: "Coming Soon", variant: "grey" })
|
|
28621
28731
|
}
|
|
28622
28732
|
];
|
|
28623
28733
|
var SELECTION_MODE_OPTIONS_ENABLED = [
|
|
@@ -28722,7 +28832,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28722
28832
|
}
|
|
28723
28833
|
}
|
|
28724
28834
|
function getDeviceOperatingSystem(osType) {
|
|
28725
|
-
return
|
|
28835
|
+
return _chunkNRAH3M66cjs.getOSPlatformId.call(void 0, osType);
|
|
28726
28836
|
}
|
|
28727
28837
|
|
|
28728
28838
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -28899,8 +29009,8 @@ function DevicesFilterToolbar({
|
|
|
28899
29009
|
|
|
28900
29010
|
|
|
28901
29011
|
function formatDateTime(input) {
|
|
28902
|
-
const date =
|
|
28903
|
-
return date === "\u2014" ? date : `${date} ${
|
|
29012
|
+
const date = _chunkIONS6HDFcjs.formatDate.call(void 0, input);
|
|
29013
|
+
return date === "\u2014" ? date : `${date} ${_chunkIONS6HDFcjs.formatTime.call(void 0, input)}`;
|
|
28904
29014
|
}
|
|
28905
29015
|
function uniqueById(options) {
|
|
28906
29016
|
const seen = /* @__PURE__ */ new Map();
|
|
@@ -29017,7 +29127,7 @@ function DevicesTableBody({
|
|
|
29017
29127
|
function OrganizationCell({ device }) {
|
|
29018
29128
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
29019
29129
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
29020
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29130
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.EntityImage, { src: fullImageUrl, alt: device.organization || "Customer", className: "size-12 content-md:size-12" }),
|
|
29021
29131
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OrganizationName, { name: device.organization }) })
|
|
29022
29132
|
] });
|
|
29023
29133
|
}
|
|
@@ -29069,7 +29179,7 @@ function getDeviceTableColumns(deviceFilters, filtersPending) {
|
|
|
29069
29179
|
const device = row.original;
|
|
29070
29180
|
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: [
|
|
29071
29181
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
29072
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29182
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: getDeviceName(device) }) })
|
|
29073
29183
|
] });
|
|
29074
29184
|
},
|
|
29075
29185
|
meta: { width: "flex-1 content-md:w-1/4" }
|
|
@@ -29082,7 +29192,7 @@ function getDeviceTableColumns(deviceFilters, filtersPending) {
|
|
|
29082
29192
|
const device = row.original;
|
|
29083
29193
|
const statusConfig2 = getDeviceStatusConfig(device.status);
|
|
29084
29194
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col items-start gap-1", children: [
|
|
29085
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29195
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { label: statusConfig2.label, variant: statusConfig2.variant }) }),
|
|
29086
29196
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceLastSeen, { lastSeen: device.last_seen })
|
|
29087
29197
|
] });
|
|
29088
29198
|
},
|
|
@@ -29241,7 +29351,7 @@ function CustomerCell({ device }) {
|
|
|
29241
29351
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
29242
29352
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
29243
29353
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29244
|
-
|
|
29354
|
+
_chunkF64GLU75cjs.EntityImage,
|
|
29245
29355
|
{
|
|
29246
29356
|
src: fullImageUrl,
|
|
29247
29357
|
alt: device.organization || "Customer",
|
|
@@ -29249,8 +29359,8 @@ function CustomerCell({ device }) {
|
|
|
29249
29359
|
}
|
|
29250
29360
|
),
|
|
29251
29361
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
29252
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29253
|
-
(device.organizationEmail || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29362
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: device.organization || "" }),
|
|
29363
|
+
(device.organizationEmail || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(device.organizationEmail, () => ( "")) })
|
|
29254
29364
|
] })
|
|
29255
29365
|
] });
|
|
29256
29366
|
}
|
|
@@ -29259,15 +29369,15 @@ function DeviceCell({ device }) {
|
|
|
29259
29369
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 items-center gap-3", children: [
|
|
29260
29370
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
29261
29371
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
29262
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29263
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29372
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: getDeviceName(device) }),
|
|
29373
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: formatLastOnline(device.last_seen || device.lastSeen) })
|
|
29264
29374
|
] })
|
|
29265
29375
|
] });
|
|
29266
29376
|
}
|
|
29267
29377
|
function StatusCell({ status }) {
|
|
29268
|
-
if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29378
|
+
if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { loading: true, label: "", className: "w-min" });
|
|
29269
29379
|
const config = getDeviceStatusConfig(status);
|
|
29270
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29380
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { label: config.label, variant: config.variant, className: "w-min" });
|
|
29271
29381
|
}
|
|
29272
29382
|
function InertInScope({ children }) {
|
|
29273
29383
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.InertWhileLoading, { loading: _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ), className: "contents", children });
|
|
@@ -30289,7 +30399,7 @@ function DevicesPanelView({
|
|
|
30289
30399
|
] })
|
|
30290
30400
|
] });
|
|
30291
30401
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30292
|
-
|
|
30402
|
+
_chunkF64GLU75cjs.PageLayout,
|
|
30293
30403
|
{
|
|
30294
30404
|
title,
|
|
30295
30405
|
backButton,
|
|
@@ -30297,7 +30407,7 @@ function DevicesPanelView({
|
|
|
30297
30407
|
actionsVariant: "icon-buttons",
|
|
30298
30408
|
className,
|
|
30299
30409
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30300
|
-
|
|
30410
|
+
_chunkY3IMXLLLcjs.TabSelector,
|
|
30301
30411
|
{
|
|
30302
30412
|
value: viewMode,
|
|
30303
30413
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _671 => _671(value)]),
|
|
@@ -30363,7 +30473,7 @@ var PACKAGE_SEARCH_LABEL = "Software Name";
|
|
|
30363
30473
|
var PACKAGE_SEARCH_PLACEHOLDER = "Search for Software";
|
|
30364
30474
|
function PackageSearchFieldPlaceholder({ error }) {
|
|
30365
30475
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30366
|
-
|
|
30476
|
+
_chunkF64GLU75cjs.Autocomplete,
|
|
30367
30477
|
{
|
|
30368
30478
|
label: PACKAGE_SEARCH_LABEL,
|
|
30369
30479
|
labelVariant: "large",
|
|
@@ -30418,16 +30528,16 @@ function SoftwareScheduleFields({
|
|
|
30418
30528
|
] }),
|
|
30419
30529
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30420
30530
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJRTDBPJTcjs.Label, { className: "text-h4", children: "Time" }),
|
|
30421
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30422
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30423
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30531
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.Select, { value: time, onValueChange: onTimeChange, children: [
|
|
30532
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, { placeholder: "Select time" }) }),
|
|
30533
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30424
30534
|
] })
|
|
30425
30535
|
] }),
|
|
30426
30536
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30427
30537
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJRTDBPJTcjs.Label, { className: "text-h4", children: "Timezone" }),
|
|
30428
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30429
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30430
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30538
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.Select, { value: timeReference, onValueChange: (value) => onTimeReferenceChange(value), children: [
|
|
30539
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, {}) }),
|
|
30540
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: timing.timeReferenceOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30431
30541
|
] })
|
|
30432
30542
|
] })
|
|
30433
30543
|
]
|
|
@@ -30493,22 +30603,22 @@ function newSoftwareRow(key) {
|
|
|
30493
30603
|
|
|
30494
30604
|
function InfoCell2({ value, label }) {
|
|
30495
30605
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
30496
|
-
/* @__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,
|
|
30606
|
+
/* @__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, _chunkF64GLU75cjs.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" }) }) }),
|
|
30497
30607
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
30498
30608
|
] });
|
|
30499
30609
|
}
|
|
30500
30610
|
function SoftwareRowFields({ row, removable, onChange, onRemove, renderPackageSearch }) {
|
|
30501
30611
|
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: [
|
|
30502
30612
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30503
|
-
|
|
30613
|
+
_chunkF64GLU75cjs.Select,
|
|
30504
30614
|
{
|
|
30505
30615
|
value: row.packageManager,
|
|
30506
30616
|
onValueChange: (value) => onChange({ ...row, packageManager: value, pkg: null }),
|
|
30507
30617
|
children: [
|
|
30508
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30509
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30618
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { label: "Package Manager", labelVariant: "large", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, {}) }),
|
|
30619
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: PACKAGE_MANAGERS.map((manager) => {
|
|
30510
30620
|
const Icon = PACKAGE_MANAGER_ICON[manager];
|
|
30511
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30621
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: manager, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30512
30622
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 20, className: "shrink-0 text-ods-text-secondary" }),
|
|
30513
30623
|
PACKAGE_MANAGER_LABEL[manager]
|
|
30514
30624
|
] }) }, manager);
|
|
@@ -30606,7 +30716,7 @@ function SoftwareActionForm({
|
|
|
30606
30716
|
}
|
|
30607
30717
|
);
|
|
30608
30718
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30609
|
-
|
|
30719
|
+
_chunkF64GLU75cjs.PageLayout,
|
|
30610
30720
|
{
|
|
30611
30721
|
title: copy.formTitle,
|
|
30612
30722
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -30687,7 +30797,7 @@ function LogDrawer({
|
|
|
30687
30797
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AppLayoutDrawerHeader, { children: [
|
|
30688
30798
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AppLayoutDrawerTitle, { children: "Log Details" }),
|
|
30689
30799
|
(statusTag || timestamp) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
30690
|
-
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30800
|
+
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { label: statusTag.label, variant: statusTag.variant }),
|
|
30691
30801
|
timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: timestamp })
|
|
30692
30802
|
] })
|
|
30693
30803
|
] }),
|
|
@@ -30695,7 +30805,7 @@ function LogDrawer({
|
|
|
30695
30805
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 space-y-4 overflow-y-auto", children: [
|
|
30696
30806
|
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 }) }),
|
|
30697
30807
|
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: [
|
|
30698
|
-
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,
|
|
30808
|
+
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, _chunkF64GLU75cjs.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 }),
|
|
30699
30809
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: field.label })
|
|
30700
30810
|
] }, typeof field.label === "string" ? field.label : "")) }),
|
|
30701
30811
|
children
|
|
@@ -30743,7 +30853,7 @@ function LogsPageView({
|
|
|
30743
30853
|
],
|
|
30744
30854
|
[onRefresh]
|
|
30745
30855
|
);
|
|
30746
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30856
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.PageLayout, { title: "Logs", actions, showHeader, className, children: [
|
|
30747
30857
|
!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: [
|
|
30748
30858
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30749
30859
|
_chunkHCXNFMLOcjs.Input,
|
|
@@ -30832,11 +30942,11 @@ var ToolBadge = ({
|
|
|
30832
30942
|
iconClassName
|
|
30833
30943
|
}) => {
|
|
30834
30944
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
30835
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30945
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkNRAH3M66cjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30836
30946
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHBAVHYXOcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30837
30947
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30838
30948
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30839
|
-
|
|
30949
|
+
_chunkY3IMXLLLcjs.NavLinkAnchorViaRuntime,
|
|
30840
30950
|
{
|
|
30841
30951
|
href,
|
|
30842
30952
|
targetPlatform,
|
|
@@ -30901,8 +31011,8 @@ function LogSourceCell({ device }) {
|
|
|
30901
31011
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
30902
31012
|
const { deviceName, organization } = logSourceLabels(device);
|
|
30903
31013
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[60px] flex-col justify-center gap-1 py-2", children: [
|
|
30904
|
-
(deviceName || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30905
|
-
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31014
|
+
(deviceName || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: deviceName }),
|
|
31015
|
+
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(organization, () => ( "")) })
|
|
30906
31016
|
] });
|
|
30907
31017
|
}
|
|
30908
31018
|
function LogRowButton({
|
|
@@ -30957,8 +31067,8 @@ function LogsTableView({
|
|
|
30957
31067
|
accessorKey: "logId",
|
|
30958
31068
|
header: logIdHeader ? () => logIdHeader : "Log ID",
|
|
30959
31069
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col justify-center", children: [
|
|
30960
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30961
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31070
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: row.original.timestamp }),
|
|
31071
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.logId })
|
|
30962
31072
|
] }),
|
|
30963
31073
|
enableSorting: false,
|
|
30964
31074
|
meta: { width: LOG_COLUMN_WIDTHS.logId, alwaysShowHeader: true }
|
|
@@ -30966,7 +31076,7 @@ function LogsTableView({
|
|
|
30966
31076
|
{
|
|
30967
31077
|
accessorKey: "status",
|
|
30968
31078
|
header: "Status",
|
|
30969
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31079
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { label: row.original.status.label, variant: row.original.status.variant }) }),
|
|
30970
31080
|
enableSorting: false,
|
|
30971
31081
|
filterFn: multiSelect,
|
|
30972
31082
|
meta: {
|
|
@@ -30986,7 +31096,7 @@ function LogsTableView({
|
|
|
30986
31096
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30987
31097
|
ToolBadge,
|
|
30988
31098
|
{
|
|
30989
|
-
toolType:
|
|
31099
|
+
toolType: _chunkNRAH3M66cjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30990
31100
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30991
31101
|
}
|
|
30992
31102
|
),
|
|
@@ -30998,7 +31108,7 @@ function LogsTableView({
|
|
|
30998
31108
|
filter: {
|
|
30999
31109
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _679 => _679.toolTypes, 'access', _680 => _680.map, 'call', _681 => _681((toolType) => ({
|
|
31000
31110
|
id: toolType,
|
|
31001
|
-
label:
|
|
31111
|
+
label: _chunkNRAH3M66cjs.toToolLabel.call(void 0, toolType),
|
|
31002
31112
|
value: toolType
|
|
31003
31113
|
}))]), () => ( []))
|
|
31004
31114
|
}
|
|
@@ -31019,7 +31129,7 @@ function LogsTableView({
|
|
|
31019
31129
|
{
|
|
31020
31130
|
accessorKey: "description",
|
|
31021
31131
|
header: "Log Details",
|
|
31022
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31132
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { lines: 3, className: "text-ods-text-secondary text-h6", children: row.original.description.title }),
|
|
31023
31133
|
enableSorting: false,
|
|
31024
31134
|
meta: { width: LOG_COLUMN_WIDTHS.description, hideAt: "lg" }
|
|
31025
31135
|
},
|
|
@@ -31047,7 +31157,7 @@ function LogsTableView({
|
|
|
31047
31157
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31048
31158
|
LogRowButton,
|
|
31049
31159
|
{
|
|
31050
|
-
onClick: getLogHref ?
|
|
31160
|
+
onClick: getLogHref ? _chunkNRAH3M66cjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31051
31161
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
31052
31162
|
label: "Open in new tab"
|
|
31053
31163
|
}
|
|
@@ -31210,30 +31320,30 @@ function scriptExecutionStatus(status) {
|
|
|
31210
31320
|
|
|
31211
31321
|
function ExecutionSourceBadge({ source, className }) {
|
|
31212
31322
|
const tagProps = { as: "span", variant: "outline", className: _chunk6YZNUHXTcjs.cn.call(void 0, "shrink-0", className) };
|
|
31213
|
-
if (source === "SCHEDULED") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31323
|
+
if (source === "SCHEDULED") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { ...tagProps, label: "Scheduled" });
|
|
31214
31324
|
if (source === "AI_ASSISTANT") {
|
|
31215
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31325
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { ...tagProps, label: "Mingo", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.AgentMark, { agent: "mingo", className: "size-4" }) });
|
|
31216
31326
|
}
|
|
31217
31327
|
return null;
|
|
31218
31328
|
}
|
|
31219
31329
|
function ExecutionTimestampCell({ timestamp, executionId }) {
|
|
31220
31330
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31221
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31222
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31331
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: timestamp }),
|
|
31332
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", children: executionId })
|
|
31223
31333
|
] });
|
|
31224
31334
|
}
|
|
31225
31335
|
function ExecutionStatusCell({ status }) {
|
|
31226
31336
|
const presentation = scriptExecutionStatus(status);
|
|
31227
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31337
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { label: _nullishCoalesce(_optionalChain([presentation, 'optionalAccess', _694 => _694.label]), () => ( String(_nullishCoalesce(status, () => ( ""))))), variant: _nullishCoalesce(_optionalChain([presentation, 'optionalAccess', _695 => _695.variant]), () => ( "grey")) }) });
|
|
31228
31338
|
}
|
|
31229
31339
|
function ExecutionDeviceCell({ name, organization }) {
|
|
31230
31340
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
31231
31341
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31232
31342
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-1", children: [
|
|
31233
31343
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPTK7GOIIcjs.MonitorIcon, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
31234
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31344
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: name }) : name })
|
|
31235
31345
|
] }),
|
|
31236
|
-
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31346
|
+
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(organization, () => ( "")) })
|
|
31237
31347
|
] });
|
|
31238
31348
|
}
|
|
31239
31349
|
function ExecutionInitiatorCell({
|
|
@@ -31246,16 +31356,16 @@ function ExecutionInitiatorCell({
|
|
|
31246
31356
|
avatar,
|
|
31247
31357
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
31248
31358
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
31249
|
-
typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31359
|
+
typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: name }) : name,
|
|
31250
31360
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExecutionSourceBadge, { source })
|
|
31251
31361
|
] }),
|
|
31252
|
-
scriptName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31362
|
+
scriptName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", children: scriptName })
|
|
31253
31363
|
] })
|
|
31254
31364
|
] });
|
|
31255
31365
|
}
|
|
31256
31366
|
function ExecutionResultCell({ result, empty = null }) {
|
|
31257
31367
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
31258
|
-
return result || loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31368
|
+
return result || loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { lines: 2, children: _nullishCoalesce(result, () => ( "")) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: empty });
|
|
31259
31369
|
}
|
|
31260
31370
|
function ScriptExecutionResult({
|
|
31261
31371
|
result,
|
|
@@ -31275,14 +31385,14 @@ function ScriptExecutionResult({
|
|
|
31275
31385
|
|
|
31276
31386
|
function ScriptNameCell({ name, description }) {
|
|
31277
31387
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31278
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31279
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31388
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: name }),
|
|
31389
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", children: description })
|
|
31280
31390
|
] });
|
|
31281
31391
|
}
|
|
31282
31392
|
function ScheduleDateTimeCell({ date, time }) {
|
|
31283
31393
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31284
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31285
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31394
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: date }),
|
|
31395
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", children: time })
|
|
31286
31396
|
] });
|
|
31287
31397
|
}
|
|
31288
31398
|
|
|
@@ -31369,7 +31479,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31369
31479
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31370
31480
|
_chunkK7I3YYYUcjs.Button,
|
|
31371
31481
|
{
|
|
31372
|
-
onClick: loading ? void 0 :
|
|
31482
|
+
onClick: loading ? void 0 : _chunkNRAH3M66cjs.openInNewTab.call(void 0, href),
|
|
31373
31483
|
disabled: loading,
|
|
31374
31484
|
variant: "outline",
|
|
31375
31485
|
size: "icon",
|
|
@@ -31413,7 +31523,7 @@ function ScriptExecutionsTable({
|
|
|
31413
31523
|
ExecutionInitiatorCell,
|
|
31414
31524
|
{
|
|
31415
31525
|
avatar: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31416
|
-
|
|
31526
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
31417
31527
|
{
|
|
31418
31528
|
variant: "round",
|
|
31419
31529
|
size: "md",
|
|
@@ -31512,7 +31622,7 @@ function ScriptSchedulesTable({
|
|
|
31512
31622
|
cell(SCHEDULE_COLUMNS.supportedPlatforms, (row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OSTypeBadgeGroup, { osTypes: row.supportedPlatforms, iconSize: "w-4 h-4 content-md:w-6 content-md:h-6" })),
|
|
31513
31623
|
cell(
|
|
31514
31624
|
SCHEDULE_COLUMNS.dateTime,
|
|
31515
|
-
(row) => row.startsAt ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScheduleDateTimeCell, { date: row.startsAt.date, time: row.startsAt.time }) : row.trigger ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31625
|
+
(row) => row.startsAt ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScheduleDateTimeCell, { date: row.startsAt.date, time: row.startsAt.time }) : row.trigger ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { tone: "secondary", children: row.trigger }) : null
|
|
31516
31626
|
),
|
|
31517
31627
|
cell(
|
|
31518
31628
|
SCHEDULE_COLUMNS.repeat,
|
|
@@ -31558,9 +31668,9 @@ function ScriptSchedulesTable({
|
|
|
31558
31668
|
|
|
31559
31669
|
// src/components/features/scripts/shell-types.ts
|
|
31560
31670
|
var SCRIPT_SHELL_TYPES = [
|
|
31561
|
-
{ id:
|
|
31562
|
-
{ id:
|
|
31563
|
-
{ id:
|
|
31671
|
+
{ id: _chunkNRAH3M66cjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31672
|
+
{ id: _chunkNRAH3M66cjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31673
|
+
{ id: _chunkNRAH3M66cjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31564
31674
|
];
|
|
31565
31675
|
function scriptShellType(value) {
|
|
31566
31676
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -31626,7 +31736,7 @@ function ScriptsTable({
|
|
|
31626
31736
|
SCRIPT_COLUMNS.authorId,
|
|
31627
31737
|
(row) => row.author ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
31628
31738
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31629
|
-
|
|
31739
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
31630
31740
|
{
|
|
31631
31741
|
variant: "round",
|
|
31632
31742
|
size: "sm",
|
|
@@ -31636,7 +31746,7 @@ function ScriptsTable({
|
|
|
31636
31746
|
initialsClassName: "text-ods-text-secondary"
|
|
31637
31747
|
}
|
|
31638
31748
|
),
|
|
31639
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31749
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: row.author.name }) })
|
|
31640
31750
|
] }) : null
|
|
31641
31751
|
)
|
|
31642
31752
|
];
|
|
@@ -31762,7 +31872,7 @@ function slotValue(minutesOfDay) {
|
|
|
31762
31872
|
return `${String(hours).padStart(2, "0")}:${String(minutes).padStart(2, "0")}`;
|
|
31763
31873
|
}
|
|
31764
31874
|
function slotLabel(minutesOfDay) {
|
|
31765
|
-
return
|
|
31875
|
+
return _chunkIONS6HDFcjs.formatTime.call(void 0, new Date(1970, 0, 1, Math.floor(minutesOfDay / 60), minutesOfDay % 60));
|
|
31766
31876
|
}
|
|
31767
31877
|
function getTimeSlotOptions(forDate, timeReference) {
|
|
31768
31878
|
const base = slotBaseMinutes(timeReference);
|
|
@@ -31983,9 +32093,9 @@ function ReconnectWindowFields({
|
|
|
31983
32093
|
invalid
|
|
31984
32094
|
}
|
|
31985
32095
|
),
|
|
31986
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31987
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31988
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32096
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.Select, { value: unit, onValueChange: (next) => onUnitChange(next), disabled, children: [
|
|
32097
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { className: controlWidth, "aria-label": "Stop retry after unit", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, {}) }),
|
|
32098
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: DURATION_UNIT_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
31989
32099
|
] })
|
|
31990
32100
|
] });
|
|
31991
32101
|
}
|
|
@@ -32053,7 +32163,7 @@ function ScheduleOfflineFields({ showErrors, disabled = false }) {
|
|
|
32053
32163
|
options
|
|
32054
32164
|
}
|
|
32055
32165
|
),
|
|
32056
|
-
intervalError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-0 left-0 right-0 translate-y-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32166
|
+
intervalError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-0 left-0 right-0 translate-y-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", className: "text-ods-error", children: intervalError }) })
|
|
32057
32167
|
]
|
|
32058
32168
|
}
|
|
32059
32169
|
) }) })
|
|
@@ -32162,8 +32272,8 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
32162
32272
|
// Dragging towards the edge of the screen — or past it — scrolls whatever
|
|
32163
32273
|
// actually scrolls there: the page, the layout's `<main>`, or the list
|
|
32164
32274
|
// itself when it has its own overflow.
|
|
32165
|
-
|
|
32166
|
-
|
|
32275
|
+
_chunkG24OX7ACcjs.autoScrollAncestors.call(void 0, list),
|
|
32276
|
+
_chunkG24OX7ACcjs.autoScrollBothWays.call(void 0, list),
|
|
32167
32277
|
// One target for the whole list: which slot a drop lands in is answered by
|
|
32168
32278
|
// geometry, so this only has to say "inside the list, or outside it".
|
|
32169
32279
|
_adapter.dropTargetForElements.call(void 0, {
|
|
@@ -32460,7 +32570,7 @@ function useSortableItem() {
|
|
|
32460
32570
|
return _combine.combine.call(void 0,
|
|
32461
32571
|
// The drag has to start as a "move", or its first frame is drawn with the
|
|
32462
32572
|
// copy cursor — see `drag-effect.ts`.
|
|
32463
|
-
|
|
32573
|
+
_chunkG24OX7ACcjs.holdMoveDragEffect.call(void 0, item),
|
|
32464
32574
|
_adapter.draggable.call(void 0, {
|
|
32465
32575
|
element: item,
|
|
32466
32576
|
dragHandle: handle,
|
|
@@ -32888,24 +32998,24 @@ function ScheduleTimingFields({
|
|
|
32888
32998
|
// `''` reads as "no selection" to Radix, so the placeholder shows
|
|
32889
32999
|
// until a slot is picked — a date at midnight no longer
|
|
32890
33000
|
// masquerades as a chosen 12:00 AM.
|
|
32891
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33001
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkF64GLU75cjs.Select, { value: field.value, onValueChange: field.onChange, disabled: fieldsDisabled, children: [
|
|
32892
33002
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32893
|
-
|
|
33003
|
+
_chunkF64GLU75cjs.SelectTrigger,
|
|
32894
33004
|
{
|
|
32895
33005
|
className: "w-full",
|
|
32896
33006
|
error: _nullishCoalesce(pastTimeError, () => ( (showErrors ? _optionalChain([fieldState, 'access', _733 => _733.error, 'optionalAccess', _734 => _734.message]) : void 0))),
|
|
32897
33007
|
invalid: !!pastTimeError || showErrors && !!fieldState.error,
|
|
32898
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33008
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, { placeholder: "Select time" })
|
|
32899
33009
|
}
|
|
32900
33010
|
),
|
|
32901
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33011
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: timeSlots.length === 0 ? (
|
|
32902
33012
|
// Deliberately NOT a `SelectItem` — there is nothing here
|
|
32903
33013
|
// to select, and a selectable row would put a bogus value
|
|
32904
33014
|
// in the form. It replaces a popup that opened blank; the
|
|
32905
33015
|
// Date field carries the same sentence for whoever never
|
|
32906
33016
|
// opens this one.
|
|
32907
33017
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "px-4 py-[var(--spacing-system-sf)] text-ods-text-secondary text-h6", children: NO_SLOTS_TODAY_MESSAGE })
|
|
32908
|
-
) : timeSlots.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33018
|
+
) : timeSlots.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
32909
33019
|
] })
|
|
32910
33020
|
)
|
|
32911
33021
|
}
|
|
@@ -32919,14 +33029,14 @@ function ScheduleTimingFields({
|
|
|
32919
33029
|
name: "timeReference",
|
|
32920
33030
|
control,
|
|
32921
33031
|
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32922
|
-
|
|
33032
|
+
_chunkF64GLU75cjs.Select,
|
|
32923
33033
|
{
|
|
32924
33034
|
value: field.value,
|
|
32925
33035
|
onValueChange: (next) => handleTimeReferenceChange(field.onChange, next),
|
|
32926
33036
|
disabled: fieldsDisabled,
|
|
32927
33037
|
children: [
|
|
32928
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32929
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33038
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { className: "w-full", "aria-label": "Timezone", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, {}) }),
|
|
33039
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: SCHEDULE_TIME_REFERENCE_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
32930
33040
|
]
|
|
32931
33041
|
}
|
|
32932
33042
|
)
|
|
@@ -32986,7 +33096,7 @@ function ScheduleTimingFields({
|
|
|
32986
33096
|
name: "repeatUnit",
|
|
32987
33097
|
control,
|
|
32988
33098
|
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32989
|
-
|
|
33099
|
+
_chunkF64GLU75cjs.Select,
|
|
32990
33100
|
{
|
|
32991
33101
|
value: field.value,
|
|
32992
33102
|
onValueChange: (next) => {
|
|
@@ -32997,8 +33107,8 @@ function ScheduleTimingFields({
|
|
|
32997
33107
|
},
|
|
32998
33108
|
disabled: fieldsDisabled || !repeatEnabled,
|
|
32999
33109
|
children: [
|
|
33000
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33001
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33110
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectValue, {}) }),
|
|
33111
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectContent, { children: DURATION_UNIT_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33002
33112
|
]
|
|
33003
33113
|
}
|
|
33004
33114
|
)
|
|
@@ -33017,7 +33127,7 @@ function ScheduleFormFields({
|
|
|
33017
33127
|
disabled = false,
|
|
33018
33128
|
renderScriptSearch,
|
|
33019
33129
|
timeReferenceGate = "off",
|
|
33020
|
-
platforms =
|
|
33130
|
+
platforms = _chunkNRAH3M66cjs.OS_PLATFORMS,
|
|
33021
33131
|
comingSoonPlatforms = [],
|
|
33022
33132
|
getTimeSlots,
|
|
33023
33133
|
nameLayout = "stacked",
|
|
@@ -33087,7 +33197,7 @@ function ScheduleFormFields({
|
|
|
33087
33197
|
platform.id
|
|
33088
33198
|
);
|
|
33089
33199
|
}) }),
|
|
33090
|
-
showErrors && formState.errors.supportedPlatforms && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-0 left-0 right-0 translate-y-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33200
|
+
showErrors && formState.errors.supportedPlatforms && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-0 left-0 right-0 translate-y-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", className: "text-ods-error", children: _nullishCoalesce(formState.errors.supportedPlatforms.message, () => ( "")) }) })
|
|
33091
33201
|
]
|
|
33092
33202
|
}
|
|
33093
33203
|
);
|
|
@@ -33163,7 +33273,7 @@ function ScheduleFormFields({
|
|
|
33163
33273
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33164
33274
|
|
|
33165
33275
|
function ScriptPlatformIcons({ platforms }) {
|
|
33166
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33276
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkNRAH3M66cjs.OS_PLATFORMS.filter((p) => platforms.includes(p.id)).map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, p.icon, { className: "h-3.5 w-3.5 text-ods-text-secondary opacity-60" }, p.id)) });
|
|
33167
33277
|
}
|
|
33168
33278
|
function ScheduleScriptSearchField({
|
|
33169
33279
|
scriptId,
|
|
@@ -33189,7 +33299,7 @@ function ScheduleScriptSearchField({
|
|
|
33189
33299
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", onFocus: onOpen, onBlur: handleBlur, children: [
|
|
33190
33300
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJRTDBPJTcjs.Label, { className: "text-h4", children: "Select Script" }),
|
|
33191
33301
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33192
|
-
|
|
33302
|
+
_chunkF64GLU75cjs.Autocomplete,
|
|
33193
33303
|
{
|
|
33194
33304
|
options,
|
|
33195
33305
|
value: scriptId || null,
|
|
@@ -33204,7 +33314,7 @@ function ScheduleScriptSearchField({
|
|
|
33204
33314
|
error,
|
|
33205
33315
|
invalid,
|
|
33206
33316
|
renderOption: (option, isSelected) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33207
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33317
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { className: isSelected ? "text-ods-accent" : void 0, children: option.label }) }),
|
|
33208
33318
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScriptPlatformIcons, { platforms: _nullishCoalesce(_optionalChain([scripts, 'access', _740 => _740.find, 'call', _741 => _741((s) => s.id === option.value), 'optionalAccess', _742 => _742.supportedPlatforms]), () => ( [])) })
|
|
33209
33319
|
] })
|
|
33210
33320
|
}
|
|
@@ -33236,7 +33346,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33236
33346
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33237
33347
|
_chunkK7I3YYYUcjs.Button,
|
|
33238
33348
|
{
|
|
33239
|
-
onClick: loading ? void 0 :
|
|
33349
|
+
onClick: loading ? void 0 : _chunkNRAH3M66cjs.openInNewTab.call(void 0, href),
|
|
33240
33350
|
disabled: loading,
|
|
33241
33351
|
variant: "outline",
|
|
33242
33352
|
size: "icon",
|
|
@@ -33255,10 +33365,10 @@ function KnowledgeBaseNameCell({ item }) {
|
|
|
33255
33365
|
/* @__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" }) }),
|
|
33256
33366
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33257
33367
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33258
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33259
|
-
tagStatus && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33368
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: item.name }) }),
|
|
33369
|
+
tagStatus && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { variant: KNOWLEDGE_BASE_STATUS_VARIANT[tagStatus], label: tagStatus, className: "shrink-0" })
|
|
33260
33370
|
] }),
|
|
33261
|
-
item.type === "ARTICLE" && (item.summary || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33371
|
+
item.type === "ARTICLE" && (item.summary || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(item.summary, () => ( "")) })
|
|
33262
33372
|
] })
|
|
33263
33373
|
] });
|
|
33264
33374
|
}
|
|
@@ -33273,8 +33383,8 @@ function KnowledgeBaseDateCell({ item, mode }) {
|
|
|
33273
33383
|
const ts = mode === "archive" ? _nullishCoalesce(item.updatedAt, () => ( item.createdAt)) : item.createdAt;
|
|
33274
33384
|
if (!ts) return null;
|
|
33275
33385
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col whitespace-nowrap", children: [
|
|
33276
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children:
|
|
33277
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children:
|
|
33386
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children: _chunkIONS6HDFcjs.formatDate.call(void 0, ts) }),
|
|
33387
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children: _chunkIONS6HDFcjs.formatTime.call(void 0, ts) })
|
|
33278
33388
|
] });
|
|
33279
33389
|
}
|
|
33280
33390
|
function getKnowledgeBaseOpenColumn(getHref) {
|
|
@@ -33380,7 +33490,7 @@ function KnowledgeBaseArticleView({
|
|
|
33380
33490
|
className = "px-[var(--spacing-system-l)] pb-[var(--spacing-system-l)]"
|
|
33381
33491
|
}) {
|
|
33382
33492
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33383
|
-
|
|
33493
|
+
_chunkF64GLU75cjs.PageLayout,
|
|
33384
33494
|
{
|
|
33385
33495
|
title,
|
|
33386
33496
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -33389,11 +33499,11 @@ function KnowledgeBaseArticleView({
|
|
|
33389
33499
|
menuActions,
|
|
33390
33500
|
className,
|
|
33391
33501
|
children: [
|
|
33392
|
-
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,
|
|
33502
|
+
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, _chunkGP7NV6BKcjs.Tag, { label: tag.label, variant: "outline", className: "max-w-full" }, tag.id)) }),
|
|
33393
33503
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.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: [
|
|
33394
33504
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33395
|
-
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33396
|
-
|
|
33505
|
+
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG24OX7ACcjs.DeletedUserAvatar, { size: "md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33506
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
33397
33507
|
{
|
|
33398
33508
|
src: author.imageUrl,
|
|
33399
33509
|
fallback: _nullishCoalesce(author.name, () => ( "A")),
|
|
@@ -33403,12 +33513,12 @@ function KnowledgeBaseArticleView({
|
|
|
33403
33513
|
}
|
|
33404
33514
|
),
|
|
33405
33515
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33406
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33516
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { className: author.deleted ? "text-ods-error" : void 0, children: _nullishCoalesce(author.name, () => ( "Unknown")) }),
|
|
33407
33517
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Author" })
|
|
33408
33518
|
] })
|
|
33409
33519
|
] }),
|
|
33410
33520
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 flex-col justify-center", children: [
|
|
33411
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { children: updatedLabel }),
|
|
33412
33522
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Updated" })
|
|
33413
33523
|
] }),
|
|
33414
33524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -33419,7 +33529,7 @@ function KnowledgeBaseArticleView({
|
|
|
33419
33529
|
}
|
|
33420
33530
|
),
|
|
33421
33531
|
/* @__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: [
|
|
33422
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33532
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { variant: KNOWLEDGE_BASE_STATUS_VARIANT[status], label: status }),
|
|
33423
33533
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Status" })
|
|
33424
33534
|
] })
|
|
33425
33535
|
] }) }),
|
|
@@ -33587,7 +33697,7 @@ function ConversationCard({
|
|
|
33587
33697
|
style: tint,
|
|
33588
33698
|
onClick: selection && ((event) => {
|
|
33589
33699
|
if (event.button !== 0 || _optionalChain([window, 'access', _745 => _745.getSelection, 'call', _746 => _746(), 'optionalAccess', _747 => _747.toString, 'call', _748 => _748()])) return;
|
|
33590
|
-
if (!
|
|
33700
|
+
if (!_chunkNRAH3M66cjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33591
33701
|
selection.onToggle();
|
|
33592
33702
|
}),
|
|
33593
33703
|
children: [
|
|
@@ -33610,7 +33720,7 @@ function ConversationCard({
|
|
|
33610
33720
|
)
|
|
33611
33721
|
),
|
|
33612
33722
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33613
|
-
|
|
33723
|
+
_chunkNRAH3M66cjs.ChatTurn,
|
|
33614
33724
|
{
|
|
33615
33725
|
avatar: requester.avatar,
|
|
33616
33726
|
name: requester.name,
|
|
@@ -33631,7 +33741,7 @@ function ConversationCard({
|
|
|
33631
33741
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _749 => _749.context])), children: context.text })
|
|
33632
33742
|
] }),
|
|
33633
33743
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33634
|
-
|
|
33744
|
+
_chunkNRAH3M66cjs.ChatTurn,
|
|
33635
33745
|
{
|
|
33636
33746
|
avatar: responder.avatar,
|
|
33637
33747
|
name: responder.name,
|
|
@@ -33647,7 +33757,7 @@ function ConversationCard({
|
|
|
33647
33757
|
),
|
|
33648
33758
|
footerLabel && footerValue && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, FOOTER_ROW_CLASS, "text-ods-text-secondary text-h6"), children: [
|
|
33649
33759
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: footerLabel }),
|
|
33650
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33760
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { as: "span", label: footerValue, variant: footerTone === "attention" ? "warning" : "badge" })
|
|
33651
33761
|
] })
|
|
33652
33762
|
]
|
|
33653
33763
|
}
|
|
@@ -33676,7 +33786,7 @@ function ConversationCardSkeleton({
|
|
|
33676
33786
|
{
|
|
33677
33787
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33678
33788
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33679
|
-
|
|
33789
|
+
_chunkNRAH3M66cjs.ChatTurn,
|
|
33680
33790
|
{
|
|
33681
33791
|
loading: true,
|
|
33682
33792
|
name: "",
|
|
@@ -33700,7 +33810,7 @@ function ConversationCardSkeleton({
|
|
|
33700
33810
|
] })
|
|
33701
33811
|
] }),
|
|
33702
33812
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33703
|
-
|
|
33813
|
+
_chunkNRAH3M66cjs.ChatTurn,
|
|
33704
33814
|
{
|
|
33705
33815
|
loading: true,
|
|
33706
33816
|
name: "",
|
|
@@ -33723,7 +33833,7 @@ function ConversationCardSkeleton({
|
|
|
33723
33833
|
),
|
|
33724
33834
|
footer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, FOOTER_ROW_CLASS, "text-ods-text-secondary text-h6"), children: [
|
|
33725
33835
|
footerLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: footerLabel }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { lines: 1, type: "h6", className: "w-1/4" }),
|
|
33726
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33836
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.Tag, { as: "span", label: "\xA0", variant: "badge", className: "invisible" })
|
|
33727
33837
|
] })
|
|
33728
33838
|
] });
|
|
33729
33839
|
}
|
|
@@ -33781,7 +33891,7 @@ function Highlights({ items, className }) {
|
|
|
33781
33891
|
if (items.length === 0) return null;
|
|
33782
33892
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "grid grid-cols-1 gap-2", className), children: items.slice(0, HIGHLIGHTS_LIMIT).map((text) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { "data-loading-item": true, className: HIGHLIGHT_ROW_CLASS, children: [
|
|
33783
33893
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: HIGHLIGHT_ICON_PX, className: "shrink-0 text-ods-flamingo-cyan" }),
|
|
33784
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33894
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", triggerClassName: "flex-1", children: text })
|
|
33785
33895
|
] }, text)) });
|
|
33786
33896
|
}
|
|
33787
33897
|
function Example({
|
|
@@ -33817,7 +33927,7 @@ function Example({
|
|
|
33817
33927
|
mark(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _753 => _753.mark]), () => ( requesterMark))),
|
|
33818
33928
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
33819
33929
|
who(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _754 => _754.name]), () => ( labels.requester)), _nullishCoalesce(_optionalChain([requester, 'optionalAccess', _755 => _755.note]), () => ( labels.requesterNote))),
|
|
33820
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33930
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { lines: 2, variant: "h4", className: "min-h-[2lh]", children: `\u201C${example.request}\u201D` })
|
|
33821
33931
|
] })
|
|
33822
33932
|
] }),
|
|
33823
33933
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 gap-2.5 border-t border-ods-border pt-3", children: [
|
|
@@ -33826,7 +33936,7 @@ function Example({
|
|
|
33826
33936
|
who(_nullishCoalesce(_optionalChain([responder, 'optionalAccess', _757 => _757.name]), () => ( labels.responder)), _nullishCoalesce(_optionalChain([responder, 'optionalAccess', _758 => _758.note]), () => ( labels.responderNote))),
|
|
33827
33937
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-start gap-2", children: [
|
|
33828
33938
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: 16, className: "mt-0.5 shrink-0 text-ods-flamingo-cyan" }),
|
|
33829
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33939
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", className: "min-h-[2lh]", triggerClassName: "flex-1", children: example.outcome })
|
|
33830
33940
|
] })
|
|
33831
33941
|
] })
|
|
33832
33942
|
] })
|
|
@@ -33836,7 +33946,7 @@ function Example({
|
|
|
33836
33946
|
}
|
|
33837
33947
|
function ExampleSkeleton({ className }) {
|
|
33838
33948
|
const turn = (first) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex min-w-0 gap-2.5", !first && "border-t border-ods-border pt-3"), children: [
|
|
33839
|
-
first ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33949
|
+
first ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.SquareAvatar, { loading: true, variant: "round", sizePx: EXAMPLE_MARK_PX, className: "shrink-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.AgentAvatar, { loading: true, agent: "", size: EXAMPLE_MARK_PX }),
|
|
33840
33950
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
33841
33951
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "w-28" }),
|
|
33842
33952
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-[2lh] text-h4", children: [
|
|
@@ -33965,13 +34075,13 @@ function CapabilityExplorer({
|
|
|
33965
34075
|
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, "text-ods-flamingo-cyan"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
33966
34076
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
33967
34077
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
33968
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34078
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
33969
34079
|
item.badge
|
|
33970
34080
|
] }),
|
|
33971
|
-
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34081
|
+
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { variant: "h6", tone: "secondary", children: item.caption })
|
|
33972
34082
|
] })
|
|
33973
34083
|
] }),
|
|
33974
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34084
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { lines: 3, variant: "h6", tone: "secondary", className: "min-h-[3lh]", children: item.intro }),
|
|
33975
34085
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-lg border border-ods-border", children: renderScreen(item, { compact: true }) }),
|
|
33976
34086
|
item.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33977
34087
|
Example,
|
|
@@ -34088,8 +34198,8 @@ function CapabilityExplorer({
|
|
|
34088
34198
|
),
|
|
34089
34199
|
children: [
|
|
34090
34200
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: PANEL_INTRO_CLASS, children: [
|
|
34091
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34092
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34201
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { lines: 2, variant: "h2", className: "mb-2", children: active.title }),
|
|
34202
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF64GLU75cjs.TruncateText, { lines: 3, variant: "h4", tone: "secondary", className: "min-h-[3lh]", children: active.intro }),
|
|
34093
34203
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Highlights, { items: _nullishCoalesce(active.highlights, () => ( [])), className: "mt-auto" })
|
|
34094
34204
|
] }),
|
|
34095
34205
|
active.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -34793,4 +34903,11 @@ function CapabilityExplorer({
|
|
|
34793
34903
|
|
|
34794
34904
|
|
|
34795
34905
|
|
|
34796
|
-
exports.AllowedDomainsInput = AllowedDomainsInput; exports.ANNOUNCEMENT_BAR_HEIGHT_CLASS = ANNOUNCEMENT_BAR_HEIGHT_CLASS; exports.AnnouncementBarView = AnnouncementBarView; exports.timezoneLabel = timezoneLabel; exports.timezoneOptions = timezoneOptions; exports.TimezoneSelect = TimezoneSelect; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.DatePickerCalendar = DatePickerCalendar; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.HoneypotField = HoneypotField; exports.JsonDetailList = JsonDetailList; exports.PROGRESS_BAR_HEIGHT = PROGRESS_BAR_HEIGHT; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.SearchableSelect = SearchableSelect; exports.AssigneeDropdown = AssigneeDropdown; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoDataMessage = NoDataMessage; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RADIO_GROUP_BLOCK_SKELETON_OPTIONS = RADIO_GROUP_BLOCK_SKELETON_OPTIONS; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TAGS_INPUT_CLASS = TAGS_INPUT_CLASS; exports.TAGS_INPUT_ROW_CLASS = TAGS_INPUT_ROW_CLASS; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.TEXTAREA_BOX_CLASS = TEXTAREA_BOX_CLASS; exports.textareaBoxHeight = textareaBoxHeight; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.useConfirm = useConfirm; exports.useGuardedClose = useGuardedClose; exports.UnsavedChangesChip = UnsavedChangesChip; exports.AdminFormDrawer = AdminFormDrawer; exports.AdminFormModal = AdminFormModal; exports.Separator = Separator; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigationVariantProvider = TabNavigationVariantProvider; exports.TAB_AVATAR_PX = TAB_AVATAR_PX; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FADE_PREVIEW_MAX_UNMEASURED_ITEMS = FADE_PREVIEW_MAX_UNMEASURED_ITEMS; exports.FadePreview = FadePreview; exports.TextHold = TextHold; exports.LayoutHold = LayoutHold; exports.Progress = Progress; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.EmbedLoadingSkeleton = EmbedLoadingSkeleton; exports.EmbedIframe = EmbedIframe; exports.EmbedViewerFrame = EmbedViewerFrame; exports.ClaudeEmbed = ClaudeEmbed; exports.FigmaEmbed = FigmaEmbed; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.MarkdownImage = MarkdownImage; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.MediaCarousel = MediaCarousel; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.AppStoreBadge = AppStoreBadge; exports.GooglePlayBadge = GooglePlayBadge; exports.StoreBadgeLinks = StoreBadgeLinks; exports.MobileAppQr = MobileAppQr; exports.StatusIndicator = StatusIndicator; exports.DATA_SYNC_SOURCES = DATA_SYNC_SOURCES; exports.isDataSyncSource = isDataSyncSource; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.PageShell = PageShell; exports.PageMain = PageMain; exports.ArticleDetailLayout = ArticleDetailLayout; exports.TOGGLE_SIZE_CLASS = TOGGLE_SIZE_CLASS; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.BenefitCard = BenefitCard; exports.benefitCardBorderClass = benefitCardBorderClass; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.StepArrowButton = StepArrowButton; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.DataAttribution = DataAttribution; exports.DataSyncLine = DataSyncLine; exports.DownloadButton = DownloadButton; exports.COMPLIANCE_LOGO_SIZE_CLASS = COMPLIANCE_LOGO_SIZE_CLASS; exports.ComplianceBadge = ComplianceBadge; exports.ComplianceLogo = ComplianceLogo; exports.FeatureCardGrid = FeatureCardGrid; exports.StepNumber = StepNumber; exports.NumberedStep = NumberedStep; exports.FEATURE_LIST_SKELETON_COUNT = FEATURE_LIST_SKELETON_COUNT; exports.FeatureList = FeatureList; exports.SourceTooltip = SourceTooltip; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.ORGANIZATION_CARD_RADIUS_CLASS = ORGANIZATION_CARD_RADIUS_CLASS; exports.ORGANIZATION_CARD_LAYOUT_CLASS = ORGANIZATION_CARD_LAYOUT_CLASS; exports.ORGANIZATION_CARD_SURFACE_CLASS = ORGANIZATION_CARD_SURFACE_CLASS; exports.ORGANIZATION_CARD_HEADER_CLASS = ORGANIZATION_CARD_HEADER_CLASS; exports.ORGANIZATION_CARD_TEXT_CLASS = ORGANIZATION_CARD_TEXT_CLASS; exports.ORGANIZATION_CARD_DESCRIPTION_CLASS = ORGANIZATION_CARD_DESCRIPTION_CLASS; exports.ORGANIZATION_CARD_FOOTER_CLASS = ORGANIZATION_CARD_FOOTER_CLASS; exports.ORGANIZATION_CARD_STATS_CLASS = ORGANIZATION_CARD_STATS_CLASS; exports.ORGANIZATION_CARD_STAT_CLASS = ORGANIZATION_CARD_STAT_CLASS; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.PersonCell = PersonCell; exports.PeopleCell = PeopleCell; exports.TitleContentBlock = TitleContentBlock; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DATA_TABLE_ROW_FRAME_CLASS = DATA_TABLE_ROW_FRAME_CLASS; exports.ROW_STACK_CLASSES = ROW_STACK_CLASSES; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableHeader = QueryReportTableHeader; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.dataTableLoadingRows = dataTableLoadingRows; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.PasswordInput = PasswordInput; exports.AccountDetailsFields = AccountDetailsFields; exports.TRIAL_TERM_ICONS = TRIAL_TERM_ICONS; exports.DEFAULT_TRIAL_TERMS = DEFAULT_TRIAL_TERMS; exports.trialBenefits = trialBenefits; exports.BenefitList = BenefitList; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.CompactAuthShell = CompactAuthShell; exports.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SSO_PROVIDERS_SKELETON_COUNT = SSO_PROVIDERS_SKELETON_COUNT; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.NoAccountNotice = NoAccountNotice; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.SsoJoinForm = SsoJoinForm; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.ENTITY_TAG_BADGES_SKELETON_COUNT = ENTITY_TAG_BADGES_SKELETON_COUNT; exports.ENTITY_TAG_BADGES_PHONE_CAP = ENTITY_TAG_BADGES_PHONE_CAP; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.useMediaIntake = useMediaIntake; exports.MediaUploadArea = MediaUploadArea; exports.MediaGalleryManager = MediaGalleryManager; exports.PushButtonSelector = PushButtonSelector; exports.MODEL_TOKEN_RATES_COPY = MODEL_TOKEN_RATES_COPY; exports.ModelTokenRates = ModelTokenRates; exports.ModelTokenRatesPopover = ModelTokenRatesPopover; exports.ModelTokenRatesUnavailable = ModelTokenRatesUnavailable; exports.MODEL_TOKEN_EXCHANGE_BALANCE = MODEL_TOKEN_EXCHANGE_BALANCE; exports.MODEL_TOKEN_EXCHANGE_RANGE = MODEL_TOKEN_EXCHANGE_RANGE; exports.ModelTokenExchange = ModelTokenExchange; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PATHS_DISPLAY_SKELETON_ROWS = PATHS_DISPLAY_SKELETON_ROWS; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; exports.socialIcon = socialIcon; exports.socialIconRowClass = socialIconRowClass; exports.socialIconButtonProps = socialIconButtonProps; exports.SocialIconRow = SocialIconRow; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.STATUS_FILTER_SKELETON_PILLS = STATUS_FILTER_SKELETON_PILLS; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.FloatingWalkthroughVideo = FloatingWalkthroughVideo; exports.InlineWalkthroughVideo = InlineWalkthroughVideo; exports.useWalkthroughVideo = useWalkthroughVideo; exports.VideoSourceSelector = VideoSourceSelector; exports.SubtitlesEditor = SubtitlesEditor; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.APPROVAL_LEVELS = APPROVAL_LEVELS; exports.APPROVAL_LEVEL_META = APPROVAL_LEVEL_META; exports.ApprovalLevelView = ApprovalLevelView; exports.POLICY_CONFIGURATION_PANEL_SKELETON_CATEGORIES = POLICY_CONFIGURATION_PANEL_SKELETON_CATEGORIES; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PoliciesTable = PoliciesTable; exports.PolicySummaryCards = PolicySummaryCards; exports.POLICY_STATUS_CONFIG = POLICY_STATUS_CONFIG; exports.getPolicyStatus = getPolicyStatus; exports.getPolicyTableStatus = getPolicyTableStatus; exports.computePolicySummary = computePolicySummary; exports.TENANT_EMPTY_VALUE = TENANT_EMPTY_VALUE; exports.accessStateTag = accessStateTag; exports.providerMark = providerMark2; exports.lastReadAt = lastReadAt; exports.formatLastRead = formatLastRead; exports.usersCountLabel = usersCountLabel; exports.TenantAccessCell = TenantAccessCell; exports.TenantCell = TenantCell; exports.TenantCustomerCell = TenantCustomerCell; exports.TENANT_COLUMNS = TENANT_COLUMNS; exports.TENANTS_TABLE_COLUMNS = TENANTS_TABLE_COLUMNS; exports.TenantsTableView = TenantsTableView; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.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.EMPTY_NARROWING = EMPTY_NARROWING; exports.narrowingToFilter = narrowingToFilter; exports.DevicesGrid = DevicesGrid; exports.DevicesGridFilters = DevicesGridFilters; exports.EMPTY_DEVICES_NARROWING = EMPTY_DEVICES_NARROWING; exports.isNarrowed = isNarrowed; exports.DevicesList = DevicesList; exports.DEVICE_VIEW_MODE_ITEMS = DEVICE_VIEW_MODE_ITEMS; exports.buildDevicePanelActions = buildDevicePanelActions; exports.IDLE_DEVICES_TOOLBAR = IDLE_DEVICES_TOOLBAR; exports.DevicesPanelView = DevicesPanelView; exports.PACKAGE_MANAGERS = PACKAGE_MANAGERS; exports.PACKAGE_MANAGER_LABEL = PACKAGE_MANAGER_LABEL; exports.PACKAGE_MANAGER_ICON = PACKAGE_MANAGER_ICON; exports.PACKAGE_MANAGER_OS = PACKAGE_MANAGER_OS; exports.packageManagerLabel = packageManagerLabel; exports.SOFTWARE_SOURCE_LABEL = SOFTWARE_SOURCE_LABEL; exports.PACKAGE_SEARCH_LABEL = PACKAGE_SEARCH_LABEL; exports.PACKAGE_SEARCH_PLACEHOLDER = PACKAGE_SEARCH_PLACEHOLDER; exports.PackageSearchFieldPlaceholder = PackageSearchFieldPlaceholder; exports.SoftwareScheduleFields = SoftwareScheduleFields; exports.SOFTWARE_ACTION_COPY = SOFTWARE_ACTION_COPY; exports.SOFTWARE_ACTION_DETAIL_TITLE = SOFTWARE_ACTION_DETAIL_TITLE; exports.softwareActionCopy = softwareActionCopy; exports.newSoftwareRow = newSoftwareRow; exports.SoftwareRowFields = SoftwareRowFields; exports.SoftwareActionForm = SoftwareActionForm; exports.LogDrawer = LogDrawer; exports.SYSTEM_SOURCE_LABEL = SYSTEM_SOURCE_LABEL; exports.logSourceLabels = logSourceLabels; exports.LogsPageView = LogsPageView; exports.LogCopyIconButton = LogCopyIconButton; exports.LOG_COLUMN_WIDTHS = LOG_COLUMN_WIDTHS; exports.TOOL_CHIP_HEIGHT = TOOL_CHIP_HEIGHT; exports.ToolBadge = ToolBadge; exports.LogsTableView = LogsTableView; exports.logSeverityVariant = logSeverityVariant; exports.SCRIPT_EXECUTION_STATUS_PRESENTATION = SCRIPT_EXECUTION_STATUS_PRESENTATION; exports.scriptExecutionStatus = scriptExecutionStatus; exports.ExecutionSourceBadge = ExecutionSourceBadge; exports.ExecutionTimestampCell = ExecutionTimestampCell; exports.ExecutionStatusCell = ExecutionStatusCell; exports.ExecutionDeviceCell = ExecutionDeviceCell; exports.ExecutionInitiatorCell = ExecutionInitiatorCell; exports.ExecutionResultCell = ExecutionResultCell; exports.ScriptExecutionResult = ScriptExecutionResult; exports.ScriptNameCell = ScriptNameCell; exports.ScheduleDateTimeCell = ScheduleDateTimeCell; exports.SCRIPT_COLUMNS = SCRIPT_COLUMNS; exports.SCHEDULE_COLUMNS = SCHEDULE_COLUMNS; exports.EXECUTION_COLUMNS = EXECUTION_COLUMNS; exports.SCRIPTS_TAB_WIDTHS = SCRIPTS_TAB_WIDTHS; exports.SCRIPTS_TABLE_COLUMNS = SCRIPTS_TABLE_COLUMNS; exports.SCHEDULES_TABLE_COLUMNS = SCHEDULES_TABLE_COLUMNS; exports.EXECUTIONS_TABLE_COLUMNS = EXECUTIONS_TABLE_COLUMNS; exports.scriptsColumnMeta = scriptsColumnMeta; exports.RowActionsCell = RowActionsCell; exports.OpenInNewTabCell = OpenInNewTabCell; exports.ScriptExecutionsTable = ScriptExecutionsTable; exports.ScriptSchedulesTable = ScriptSchedulesTable; exports.SCRIPT_SHELL_TYPES = SCRIPT_SHELL_TYPES; exports.scriptShellType = scriptShellType; exports.scriptShellLabel = scriptShellLabel; exports.ScriptShellBadge = ScriptShellBadge; exports.ScriptsTable = ScriptsTable; exports.SCRIPTS_TABS = SCRIPTS_TABS; exports.SCRIPT_SCHEDULE_TRIGGER = SCRIPT_SCHEDULE_TRIGGER; exports.SCHEDULE_TIME_REFERENCE = SCHEDULE_TIME_REFERENCE; exports.SCHEDULE_OFFLINE_BEHAVIOR = SCHEDULE_OFFLINE_BEHAVIOR; exports.isEventTrigger = isEventTrigger; exports.isDeviceLocalTime = isDeviceLocalTime; exports.DURATION_UNIT_VALUES = DURATION_UNIT_VALUES; exports.DURATION_UNIT_SECONDS = DURATION_UNIT_SECONDS; exports.DURATION_UNIT_LABELS = DURATION_UNIT_LABELS; exports.MIN_REPEAT_MINUTES = MIN_REPEAT_MINUTES; exports.DURATION_UNIT_OPTIONS = DURATION_UNIT_OPTIONS; exports.snapRepeatInterval = snapRepeatInterval; exports.isRetryOnReconnect = isRetryOnReconnect; exports.MIN_RECONNECT_MINUTES = MIN_RECONNECT_MINUTES; exports.snapReconnectInterval = snapReconnectInterval; exports.DEFAULT_RECONNECT_WINDOW = DEFAULT_RECONNECT_WINDOW; exports.isSlotOnGrid = isSlotOnGrid; exports.getTimeSlotOptions = getTimeSlotOptions; exports.slotToLabel = slotToLabel; exports.startOfToday = startOfToday; exports.earliestDeviceLocalDay = earliestDeviceLocalDay; exports.earliestScheduleDay = earliestScheduleDay; exports.isScheduleStartInPast = isScheduleStartInPast; exports.PAST_START_MESSAGE = PAST_START_MESSAGE; exports.NO_SLOTS_TODAY_MESSAGE = NO_SLOTS_TODAY_MESSAGE; exports.isStartInPastAndChanged = isStartInPastAndChanged; exports.dateToTimeSlot = dateToTimeSlot; exports.applyTimeSlot = applyTimeSlot; exports.fromScheduleInstant = fromScheduleInstant; exports.EMPTY_SCHEDULE_SCRIPT_ROW = EMPTY_SCHEDULE_SCRIPT_ROW; exports.SCHEDULE_TRIGGER_OPTIONS = SCHEDULE_TRIGGER_OPTIONS; exports.SCHEDULE_TIME_REFERENCE_OPTIONS = SCHEDULE_TIME_REFERENCE_OPTIONS; exports.SCHEDULE_OFFLINE_BEHAVIOR_OPTIONS = SCHEDULE_OFFLINE_BEHAVIOR_OPTIONS; exports.DEFAULT_SCHEDULE_FORM_VALUES = DEFAULT_SCHEDULE_FORM_VALUES; exports.ScheduleIntervalInput = ScheduleIntervalInput; exports.ScheduleOfflineFields = ScheduleOfflineFields; exports.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableList = SortableList; exports.ScriptArguments = ScriptArguments; exports.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; exports.ScheduleScriptPickerCard = ScheduleScriptPickerCard; exports.ScheduleScriptsField = ScheduleScriptsField; exports.ScheduleTimingFields = ScheduleTimingFields; exports.ScheduleFormFields = ScheduleFormFields; exports.ScheduleScriptSearchField = ScheduleScriptSearchField; exports.KNOWLEDGE_BASE_ITEM_ICON = KNOWLEDGE_BASE_ITEM_ICON; exports.getKnowledgeBaseOpenColumn = getKnowledgeBaseOpenColumn; exports.getKnowledgeBaseColumns = getKnowledgeBaseColumns; exports.KnowledgeBaseTableBody = KnowledgeBaseTableBody; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketDetailSection = TicketDetailSection; exports.KnowledgeBaseArticleView = KnowledgeBaseArticleView; exports.SortableDragHandle = SortableDragHandle; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.TICKET_STATUS_CONFIG_LIST_SKELETON_ROWS = TICKET_STATUS_CONFIG_LIST_SKELETON_ROWS; exports.TicketStatusConfigList = TicketStatusConfigList; exports.CONVERSATION_CARD_AVATAR_PX = CONVERSATION_CARD_AVATAR_PX; exports.ConversationCard = ConversationCard; exports.SNAP_CAROUSEL_GAP_PX = SNAP_CAROUSEL_GAP_PX; exports.SNAP_CAROUSEL_TRACK_CLASS = SNAP_CAROUSEL_TRACK_CLASS; exports.SnapCarouselSlide = SnapCarouselSlide; exports.SnapCarouselControls = SnapCarouselControls; exports.SnapCarousel = SnapCarousel; exports.capabilityTabId = capabilityTabId; exports.CapabilityExplorer = CapabilityExplorer; exports.DataTableHeader = DataTableHeader; exports.DATA_TABLE_HEADER_LABEL_CLASS = DATA_TABLE_HEADER_LABEL_CLASS; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownLinkDialog = MarkdownLinkDialog; exports.useMarkdownLinkCommand = useMarkdownLinkCommand; exports.MarkdownEditorFieldSkeleton = MarkdownEditorFieldSkeleton; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.formatTestRunDuration = formatTestRunDuration; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.PHOTO_WALL_FRAME = PHOTO_WALL_FRAME; exports.photoWallRequestWidth = photoWallRequestWidth; exports.photoOrientation = photoOrientation; exports.arrangePhotoWall = arrangePhotoWall; exports.PhotoWall = PhotoWall; exports.FilterPillRow = FilterPillRow; exports.LazyMount = LazyMount; exports.AppWindowFrame = AppWindowFrame; exports.PRODUCT_SCREEN_DESIGN_WIDTH = PRODUCT_SCREEN_DESIGN_WIDTH; exports.PRODUCT_SCREEN_READABLE_WIDTH = PRODUCT_SCREEN_READABLE_WIDTH; exports.PRODUCT_SCREEN_SCALE_FROM = PRODUCT_SCREEN_SCALE_FROM; exports.ProductScreenFrame = ProductScreenFrame; exports.PhoneFrame = PhoneFrame; exports.NotificationStack = NotificationStack; exports.StripCard = StripCard; exports.LeaderRow = LeaderRow; exports.AnalyzingState = AnalyzingState; exports.IncidentStatusLine = IncidentStatusLine; exports.IncidentFeed = IncidentFeed; exports.useBetweenAnchors = useBetweenAnchors; exports.StickyActionBar = StickyActionBar; exports.SuperUserBannerView = SuperUserBannerView; exports.IconTile = IconTile;
|
|
34906
|
+
|
|
34907
|
+
|
|
34908
|
+
|
|
34909
|
+
|
|
34910
|
+
|
|
34911
|
+
|
|
34912
|
+
|
|
34913
|
+
exports.AllowedDomainsInput = AllowedDomainsInput; exports.ANNOUNCEMENT_BAR_HEIGHT_CLASS = ANNOUNCEMENT_BAR_HEIGHT_CLASS; exports.AnnouncementBarView = AnnouncementBarView; exports.timezoneLabel = timezoneLabel; exports.timezoneOptions = timezoneOptions; exports.TimezoneSelect = TimezoneSelect; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.DatePickerCalendar = DatePickerCalendar; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.HoneypotField = HoneypotField; exports.JsonDetailList = JsonDetailList; exports.PROGRESS_BAR_HEIGHT = PROGRESS_BAR_HEIGHT; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.SearchableSelect = SearchableSelect; exports.AssigneeDropdown = AssigneeDropdown; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoDataMessage = NoDataMessage; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RADIO_GROUP_BLOCK_SKELETON_OPTIONS = RADIO_GROUP_BLOCK_SKELETON_OPTIONS; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TAGS_INPUT_CLASS = TAGS_INPUT_CLASS; exports.TAGS_INPUT_ROW_CLASS = TAGS_INPUT_ROW_CLASS; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.TEXTAREA_BOX_CLASS = TEXTAREA_BOX_CLASS; exports.textareaBoxHeight = textareaBoxHeight; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.useConfirm = useConfirm; exports.useGuardedClose = useGuardedClose; exports.UnsavedChangesChip = UnsavedChangesChip; exports.AdminFormDrawer = AdminFormDrawer; exports.AdminFormModal = AdminFormModal; exports.Separator = Separator; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigationVariantProvider = TabNavigationVariantProvider; exports.TAB_AVATAR_PX = TAB_AVATAR_PX; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FADE_PREVIEW_MAX_UNMEASURED_ITEMS = FADE_PREVIEW_MAX_UNMEASURED_ITEMS; exports.FadePreview = FadePreview; exports.TextHold = TextHold; exports.LayoutHold = LayoutHold; exports.Progress = Progress; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.EmbedLoadingSkeleton = EmbedLoadingSkeleton; exports.EmbedIframe = EmbedIframe; exports.EmbedViewerFrame = EmbedViewerFrame; exports.ClaudeEmbed = ClaudeEmbed; exports.FigmaEmbed = FigmaEmbed; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.MarkdownImage = MarkdownImage; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.MediaCarousel = MediaCarousel; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.AppStoreBadge = AppStoreBadge; exports.GooglePlayBadge = GooglePlayBadge; exports.StoreBadgeLinks = StoreBadgeLinks; exports.MobileAppQr = MobileAppQr; exports.StatusIndicator = StatusIndicator; exports.DATA_SYNC_SOURCES = DATA_SYNC_SOURCES; exports.isDataSyncSource = isDataSyncSource; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.PageShell = PageShell; exports.PageMain = PageMain; exports.ArticleDetailLayout = ArticleDetailLayout; exports.TOGGLE_SIZE_CLASS = TOGGLE_SIZE_CLASS; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.BenefitCard = BenefitCard; exports.benefitCardBorderClass = benefitCardBorderClass; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.StepArrowButton = StepArrowButton; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.DataAttribution = DataAttribution; exports.DataSyncLine = DataSyncLine; exports.DownloadButton = DownloadButton; exports.COMPLIANCE_LOGO_SIZE_CLASS = COMPLIANCE_LOGO_SIZE_CLASS; exports.ComplianceBadge = ComplianceBadge; exports.ComplianceLogo = ComplianceLogo; exports.FeatureCardGrid = FeatureCardGrid; exports.StepNumber = StepNumber; exports.NumberedStep = NumberedStep; exports.FEATURE_LIST_SKELETON_COUNT = FEATURE_LIST_SKELETON_COUNT; exports.FeatureList = FeatureList; exports.formatTrendChange = formatTrendChange; exports.TREND_TONES = TREND_TONES; exports.trendTone = trendTone; exports.trendToneClass = trendToneClass; exports.trendlinePoints = trendlinePoints; exports.Trendline = Trendline; exports.TrendHistory = TrendHistory; exports.SourceTooltip = SourceTooltip; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.ORGANIZATION_CARD_RADIUS_CLASS = ORGANIZATION_CARD_RADIUS_CLASS; exports.ORGANIZATION_CARD_LAYOUT_CLASS = ORGANIZATION_CARD_LAYOUT_CLASS; exports.ORGANIZATION_CARD_SURFACE_CLASS = ORGANIZATION_CARD_SURFACE_CLASS; exports.ORGANIZATION_CARD_HEADER_CLASS = ORGANIZATION_CARD_HEADER_CLASS; exports.ORGANIZATION_CARD_TEXT_CLASS = ORGANIZATION_CARD_TEXT_CLASS; exports.ORGANIZATION_CARD_DESCRIPTION_CLASS = ORGANIZATION_CARD_DESCRIPTION_CLASS; exports.ORGANIZATION_CARD_FOOTER_CLASS = ORGANIZATION_CARD_FOOTER_CLASS; exports.ORGANIZATION_CARD_STATS_CLASS = ORGANIZATION_CARD_STATS_CLASS; exports.ORGANIZATION_CARD_STAT_CLASS = ORGANIZATION_CARD_STAT_CLASS; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.PersonCell = PersonCell; exports.PeopleCell = PeopleCell; exports.TitleContentBlock = TitleContentBlock; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DATA_TABLE_ROW_FRAME_CLASS = DATA_TABLE_ROW_FRAME_CLASS; exports.ROW_STACK_CLASSES = ROW_STACK_CLASSES; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableHeader = QueryReportTableHeader; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.dataTableLoadingRows = dataTableLoadingRows; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.PasswordInput = PasswordInput; exports.AccountDetailsFields = AccountDetailsFields; exports.TRIAL_TERM_ICONS = TRIAL_TERM_ICONS; exports.DEFAULT_TRIAL_TERMS = DEFAULT_TRIAL_TERMS; exports.trialBenefits = trialBenefits; exports.BenefitList = BenefitList; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.CompactAuthShell = CompactAuthShell; exports.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SSO_PROVIDERS_SKELETON_COUNT = SSO_PROVIDERS_SKELETON_COUNT; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.NoAccountNotice = NoAccountNotice; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.SsoJoinForm = SsoJoinForm; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.ENTITY_TAG_BADGES_SKELETON_COUNT = ENTITY_TAG_BADGES_SKELETON_COUNT; exports.ENTITY_TAG_BADGES_PHONE_CAP = ENTITY_TAG_BADGES_PHONE_CAP; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.useMediaIntake = useMediaIntake; exports.MediaUploadArea = MediaUploadArea; exports.MediaGalleryManager = MediaGalleryManager; exports.PushButtonSelector = PushButtonSelector; exports.MODEL_TOKEN_RATES_COPY = MODEL_TOKEN_RATES_COPY; exports.ModelTokenRates = ModelTokenRates; exports.ModelTokenRatesPopover = ModelTokenRatesPopover; exports.ModelTokenRatesUnavailable = ModelTokenRatesUnavailable; exports.MODEL_TOKEN_EXCHANGE_BALANCE = MODEL_TOKEN_EXCHANGE_BALANCE; exports.MODEL_TOKEN_EXCHANGE_RANGE = MODEL_TOKEN_EXCHANGE_RANGE; exports.ModelTokenExchange = ModelTokenExchange; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PATHS_DISPLAY_SKELETON_ROWS = PATHS_DISPLAY_SKELETON_ROWS; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; exports.socialIcon = socialIcon; exports.socialIconRowClass = socialIconRowClass; exports.socialIconButtonProps = socialIconButtonProps; exports.SocialIconRow = SocialIconRow; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.STATUS_FILTER_SKELETON_PILLS = STATUS_FILTER_SKELETON_PILLS; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.FloatingWalkthroughVideo = FloatingWalkthroughVideo; exports.InlineWalkthroughVideo = InlineWalkthroughVideo; exports.useWalkthroughVideo = useWalkthroughVideo; exports.VideoSourceSelector = VideoSourceSelector; exports.SubtitlesEditor = SubtitlesEditor; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.APPROVAL_LEVELS = APPROVAL_LEVELS; exports.APPROVAL_LEVEL_META = APPROVAL_LEVEL_META; exports.ApprovalLevelView = ApprovalLevelView; exports.POLICY_CONFIGURATION_PANEL_SKELETON_CATEGORIES = POLICY_CONFIGURATION_PANEL_SKELETON_CATEGORIES; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PoliciesTable = PoliciesTable; exports.PolicySummaryCards = PolicySummaryCards; exports.POLICY_STATUS_CONFIG = POLICY_STATUS_CONFIG; exports.getPolicyStatus = getPolicyStatus; exports.getPolicyTableStatus = getPolicyTableStatus; exports.computePolicySummary = computePolicySummary; exports.TENANT_EMPTY_VALUE = TENANT_EMPTY_VALUE; exports.accessStateTag = accessStateTag; exports.providerMark = providerMark2; exports.lastReadAt = lastReadAt; exports.formatLastRead = formatLastRead; exports.usersCountLabel = usersCountLabel; exports.TenantAccessCell = TenantAccessCell; exports.TenantCell = TenantCell; exports.TenantCustomerCell = TenantCustomerCell; exports.TENANT_COLUMNS = TENANT_COLUMNS; exports.TENANTS_TABLE_COLUMNS = TENANTS_TABLE_COLUMNS; exports.TenantsTableView = TenantsTableView; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.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.EMPTY_NARROWING = EMPTY_NARROWING; exports.narrowingToFilter = narrowingToFilter; exports.DevicesGrid = DevicesGrid; exports.DevicesGridFilters = DevicesGridFilters; exports.EMPTY_DEVICES_NARROWING = EMPTY_DEVICES_NARROWING; exports.isNarrowed = isNarrowed; exports.DevicesList = DevicesList; exports.DEVICE_VIEW_MODE_ITEMS = DEVICE_VIEW_MODE_ITEMS; exports.buildDevicePanelActions = buildDevicePanelActions; exports.IDLE_DEVICES_TOOLBAR = IDLE_DEVICES_TOOLBAR; exports.DevicesPanelView = DevicesPanelView; exports.PACKAGE_MANAGERS = PACKAGE_MANAGERS; exports.PACKAGE_MANAGER_LABEL = PACKAGE_MANAGER_LABEL; exports.PACKAGE_MANAGER_ICON = PACKAGE_MANAGER_ICON; exports.PACKAGE_MANAGER_OS = PACKAGE_MANAGER_OS; exports.packageManagerLabel = packageManagerLabel; exports.SOFTWARE_SOURCE_LABEL = SOFTWARE_SOURCE_LABEL; exports.PACKAGE_SEARCH_LABEL = PACKAGE_SEARCH_LABEL; exports.PACKAGE_SEARCH_PLACEHOLDER = PACKAGE_SEARCH_PLACEHOLDER; exports.PackageSearchFieldPlaceholder = PackageSearchFieldPlaceholder; exports.SoftwareScheduleFields = SoftwareScheduleFields; exports.SOFTWARE_ACTION_COPY = SOFTWARE_ACTION_COPY; exports.SOFTWARE_ACTION_DETAIL_TITLE = SOFTWARE_ACTION_DETAIL_TITLE; exports.softwareActionCopy = softwareActionCopy; exports.newSoftwareRow = newSoftwareRow; exports.SoftwareRowFields = SoftwareRowFields; exports.SoftwareActionForm = SoftwareActionForm; exports.LogDrawer = LogDrawer; exports.SYSTEM_SOURCE_LABEL = SYSTEM_SOURCE_LABEL; exports.logSourceLabels = logSourceLabels; exports.LogsPageView = LogsPageView; exports.LogCopyIconButton = LogCopyIconButton; exports.LOG_COLUMN_WIDTHS = LOG_COLUMN_WIDTHS; exports.TOOL_CHIP_HEIGHT = TOOL_CHIP_HEIGHT; exports.ToolBadge = ToolBadge; exports.LogsTableView = LogsTableView; exports.logSeverityVariant = logSeverityVariant; exports.SCRIPT_EXECUTION_STATUS_PRESENTATION = SCRIPT_EXECUTION_STATUS_PRESENTATION; exports.scriptExecutionStatus = scriptExecutionStatus; exports.ExecutionSourceBadge = ExecutionSourceBadge; exports.ExecutionTimestampCell = ExecutionTimestampCell; exports.ExecutionStatusCell = ExecutionStatusCell; exports.ExecutionDeviceCell = ExecutionDeviceCell; exports.ExecutionInitiatorCell = ExecutionInitiatorCell; exports.ExecutionResultCell = ExecutionResultCell; exports.ScriptExecutionResult = ScriptExecutionResult; exports.ScriptNameCell = ScriptNameCell; exports.ScheduleDateTimeCell = ScheduleDateTimeCell; exports.SCRIPT_COLUMNS = SCRIPT_COLUMNS; exports.SCHEDULE_COLUMNS = SCHEDULE_COLUMNS; exports.EXECUTION_COLUMNS = EXECUTION_COLUMNS; exports.SCRIPTS_TAB_WIDTHS = SCRIPTS_TAB_WIDTHS; exports.SCRIPTS_TABLE_COLUMNS = SCRIPTS_TABLE_COLUMNS; exports.SCHEDULES_TABLE_COLUMNS = SCHEDULES_TABLE_COLUMNS; exports.EXECUTIONS_TABLE_COLUMNS = EXECUTIONS_TABLE_COLUMNS; exports.scriptsColumnMeta = scriptsColumnMeta; exports.RowActionsCell = RowActionsCell; exports.OpenInNewTabCell = OpenInNewTabCell; exports.ScriptExecutionsTable = ScriptExecutionsTable; exports.ScriptSchedulesTable = ScriptSchedulesTable; exports.SCRIPT_SHELL_TYPES = SCRIPT_SHELL_TYPES; exports.scriptShellType = scriptShellType; exports.scriptShellLabel = scriptShellLabel; exports.ScriptShellBadge = ScriptShellBadge; exports.ScriptsTable = ScriptsTable; exports.SCRIPTS_TABS = SCRIPTS_TABS; exports.SCRIPT_SCHEDULE_TRIGGER = SCRIPT_SCHEDULE_TRIGGER; exports.SCHEDULE_TIME_REFERENCE = SCHEDULE_TIME_REFERENCE; exports.SCHEDULE_OFFLINE_BEHAVIOR = SCHEDULE_OFFLINE_BEHAVIOR; exports.isEventTrigger = isEventTrigger; exports.isDeviceLocalTime = isDeviceLocalTime; exports.DURATION_UNIT_VALUES = DURATION_UNIT_VALUES; exports.DURATION_UNIT_SECONDS = DURATION_UNIT_SECONDS; exports.DURATION_UNIT_LABELS = DURATION_UNIT_LABELS; exports.MIN_REPEAT_MINUTES = MIN_REPEAT_MINUTES; exports.DURATION_UNIT_OPTIONS = DURATION_UNIT_OPTIONS; exports.snapRepeatInterval = snapRepeatInterval; exports.isRetryOnReconnect = isRetryOnReconnect; exports.MIN_RECONNECT_MINUTES = MIN_RECONNECT_MINUTES; exports.snapReconnectInterval = snapReconnectInterval; exports.DEFAULT_RECONNECT_WINDOW = DEFAULT_RECONNECT_WINDOW; exports.isSlotOnGrid = isSlotOnGrid; exports.getTimeSlotOptions = getTimeSlotOptions; exports.slotToLabel = slotToLabel; exports.startOfToday = startOfToday; exports.earliestDeviceLocalDay = earliestDeviceLocalDay; exports.earliestScheduleDay = earliestScheduleDay; exports.isScheduleStartInPast = isScheduleStartInPast; exports.PAST_START_MESSAGE = PAST_START_MESSAGE; exports.NO_SLOTS_TODAY_MESSAGE = NO_SLOTS_TODAY_MESSAGE; exports.isStartInPastAndChanged = isStartInPastAndChanged; exports.dateToTimeSlot = dateToTimeSlot; exports.applyTimeSlot = applyTimeSlot; exports.fromScheduleInstant = fromScheduleInstant; exports.EMPTY_SCHEDULE_SCRIPT_ROW = EMPTY_SCHEDULE_SCRIPT_ROW; exports.SCHEDULE_TRIGGER_OPTIONS = SCHEDULE_TRIGGER_OPTIONS; exports.SCHEDULE_TIME_REFERENCE_OPTIONS = SCHEDULE_TIME_REFERENCE_OPTIONS; exports.SCHEDULE_OFFLINE_BEHAVIOR_OPTIONS = SCHEDULE_OFFLINE_BEHAVIOR_OPTIONS; exports.DEFAULT_SCHEDULE_FORM_VALUES = DEFAULT_SCHEDULE_FORM_VALUES; exports.ScheduleIntervalInput = ScheduleIntervalInput; exports.ScheduleOfflineFields = ScheduleOfflineFields; exports.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableList = SortableList; exports.ScriptArguments = ScriptArguments; exports.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; exports.ScheduleScriptPickerCard = ScheduleScriptPickerCard; exports.ScheduleScriptsField = ScheduleScriptsField; exports.ScheduleTimingFields = ScheduleTimingFields; exports.ScheduleFormFields = ScheduleFormFields; exports.ScheduleScriptSearchField = ScheduleScriptSearchField; exports.KNOWLEDGE_BASE_ITEM_ICON = KNOWLEDGE_BASE_ITEM_ICON; exports.getKnowledgeBaseOpenColumn = getKnowledgeBaseOpenColumn; exports.getKnowledgeBaseColumns = getKnowledgeBaseColumns; exports.KnowledgeBaseTableBody = KnowledgeBaseTableBody; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketDetailSection = TicketDetailSection; exports.KnowledgeBaseArticleView = KnowledgeBaseArticleView; exports.SortableDragHandle = SortableDragHandle; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.TICKET_STATUS_CONFIG_LIST_SKELETON_ROWS = TICKET_STATUS_CONFIG_LIST_SKELETON_ROWS; exports.TicketStatusConfigList = TicketStatusConfigList; exports.CONVERSATION_CARD_AVATAR_PX = CONVERSATION_CARD_AVATAR_PX; exports.ConversationCard = ConversationCard; exports.SNAP_CAROUSEL_GAP_PX = SNAP_CAROUSEL_GAP_PX; exports.SNAP_CAROUSEL_TRACK_CLASS = SNAP_CAROUSEL_TRACK_CLASS; exports.SnapCarouselSlide = SnapCarouselSlide; exports.SnapCarouselControls = SnapCarouselControls; exports.SnapCarousel = SnapCarousel; exports.capabilityTabId = capabilityTabId; exports.CapabilityExplorer = CapabilityExplorer; exports.DataTableHeader = DataTableHeader; exports.DATA_TABLE_HEADER_LABEL_CLASS = DATA_TABLE_HEADER_LABEL_CLASS; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownLinkDialog = MarkdownLinkDialog; exports.useMarkdownLinkCommand = useMarkdownLinkCommand; exports.MarkdownEditorFieldSkeleton = MarkdownEditorFieldSkeleton; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.formatTestRunDuration = formatTestRunDuration; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.PHOTO_WALL_FRAME = PHOTO_WALL_FRAME; exports.photoWallRequestWidth = photoWallRequestWidth; exports.photoOrientation = photoOrientation; exports.arrangePhotoWall = arrangePhotoWall; exports.PhotoWall = PhotoWall; exports.FilterPillRow = FilterPillRow; exports.LazyMount = LazyMount; exports.AppWindowFrame = AppWindowFrame; exports.PRODUCT_SCREEN_DESIGN_WIDTH = PRODUCT_SCREEN_DESIGN_WIDTH; exports.PRODUCT_SCREEN_READABLE_WIDTH = PRODUCT_SCREEN_READABLE_WIDTH; exports.PRODUCT_SCREEN_SCALE_FROM = PRODUCT_SCREEN_SCALE_FROM; exports.ProductScreenFrame = ProductScreenFrame; exports.PhoneFrame = PhoneFrame; exports.NotificationStack = NotificationStack; exports.StripCard = StripCard; exports.LeaderRow = LeaderRow; exports.AnalyzingState = AnalyzingState; exports.IncidentStatusLine = IncidentStatusLine; exports.IncidentFeed = IncidentFeed; exports.useBetweenAnchors = useBetweenAnchors; exports.StickyActionBar = StickyActionBar; exports.SuperUserBannerView = SuperUserBannerView; exports.IconTile = IconTile;
|