@flamingo-stack/openframe-frontend-core 0.0.855 → 0.0.856
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-OTHQ2KQW.cjs → chunk-2BTEERLH.cjs} +3 -3
- package/dist/{chunk-6VVQJU76.cjs → chunk-E5OQHFM6.cjs} +11 -11
- package/dist/{chunk-MINFN3IG.cjs → chunk-GTUQGVXH.cjs} +3 -3
- package/dist/{chunk-2MCPK6AX.cjs → chunk-HGM7WDJT.cjs} +16 -16
- package/dist/{chunk-GZYRDLJW.cjs → chunk-OW5MQKCI.cjs} +34 -34
- package/dist/{chunk-AOOHJLXS.cjs → chunk-QLFNMWBP.cjs} +24 -24
- package/dist/{chunk-ZUGJLCYP.cjs → chunk-SJZWVMBF.cjs} +191 -191
- package/dist/{chunk-QPHXYE5P.cjs → chunk-UHGARY3S.cjs} +6 -6
- package/dist/{chunk-DPNFI5XM.cjs → chunk-UZIGMLTH.cjs} +21 -21
- package/dist/{chunk-RIJU4HZ2.cjs → chunk-XI3AMOW6.cjs} +14 -7
- package/dist/{chunk-DTZ6KASI.cjs → chunk-XTLMWLFB.cjs} +4 -4
- package/dist/{chunk-BSPIGZCC.cjs → chunk-YB244RRB.cjs} +9 -9
- package/dist/{cloud-tenants-2XFIDDGU.cjs → cloud-tenants-J5T4YL2P.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +12 -12
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/remote-session/remote-session-viewers.d.ts +6 -1
- package/dist/components/features/remote-session/remote-session-viewers.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-session-viewers.js +10 -3
- package/dist/components/help-center-pages/index.cjs +52 -52
- package/dist/components/index.cjs +18 -18
- package/dist/components/meeting-scheduler/index.cjs +25 -25
- package/dist/components/navigation/index.cjs +4 -4
- package/dist/components/onboarding-guides/index.cjs +4 -4
- package/dist/components/product-demo/index.cjs +13 -13
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/ui/index.cjs +3 -3
- package/dist/{devices-O3DYGIZB.cjs → devices-IJDF7SSK.cjs} +4 -4
- package/dist/index.cjs +4 -4
- package/dist/{knowledge-K7AFNZNO.cjs → knowledge-5LIK6Q4E.cjs} +3 -3
- package/dist/{logs-MZ3BR2FR.cjs → logs-FMENCAXT.cjs} +10 -10
- package/dist/{policies-XVKQ2W7S.cjs → policies-DKQEEKB4.cjs} +7 -7
- package/dist/{remote-session-VOZJXDM4.cjs → remote-session-6X7CAHBC.cjs} +4 -4
- package/dist/{scripts-IBPMBS6G.cjs → scripts-4EPUIFHF.cjs} +10 -10
- package/dist/{software-update-PXTANMAO.cjs → software-update-IMNRXBAI.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/features/remote-session/remote-session-viewers.tsx +16 -3
|
@@ -29,7 +29,7 @@ var _chunkKZAQPRTAcjs = require('./chunk-KZAQPRTA.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkXI3AMOW6cjs = require('./chunk-XI3AMOW6.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
@@ -943,7 +943,7 @@ function TimezoneSelect({
|
|
|
943
943
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
944
944
|
const options = _react.useMemo.call(void 0, () => timezoneOptions(value), [value]);
|
|
945
945
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
946
|
-
|
|
946
|
+
_chunkXI3AMOW6cjs.Autocomplete,
|
|
947
947
|
{
|
|
948
948
|
className,
|
|
949
949
|
fieldLoading: loading,
|
|
@@ -1768,20 +1768,20 @@ function DatePickerInput(props) {
|
|
|
1768
1768
|
) })
|
|
1769
1769
|
] }),
|
|
1770
1770
|
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
1771
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1772
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1773
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1771
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.Select, { value: hour, onValueChange: handleHourChange, disabled, children: [
|
|
1772
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { className: _chunk63A4GZMBcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, { placeholder: "HH" }) }),
|
|
1773
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: hourOptions.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: h, children: h }, h)) })
|
|
1774
1774
|
] }),
|
|
1775
1775
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: ":" }),
|
|
1776
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1777
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1778
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1776
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.Select, { value: minute, onValueChange: handleMinuteChange, disabled, children: [
|
|
1777
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { className: _chunk63A4GZMBcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, { placeholder: "MM" }) }),
|
|
1778
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: minuteOptions.map((m) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: m, children: m }, m)) })
|
|
1779
1779
|
] }),
|
|
1780
|
-
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1781
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1782
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1783
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1784
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1780
|
+
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.Select, { value: period, onValueChange: (val) => handlePeriodChange(val), disabled, children: [
|
|
1781
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { className: _chunk63A4GZMBcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, { placeholder: "AM" }) }),
|
|
1782
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: [
|
|
1783
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "AM", children: "AM" }),
|
|
1784
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "PM", children: "PM" })
|
|
1785
1785
|
] })
|
|
1786
1786
|
] })
|
|
1787
1787
|
] })
|
|
@@ -1926,9 +1926,9 @@ function DatePickerInputSimple(props) {
|
|
|
1926
1926
|
}
|
|
1927
1927
|
) })
|
|
1928
1928
|
] }),
|
|
1929
|
-
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1930
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1931
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1929
|
+
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.Select, { value: timeValue, onValueChange: handleTimeChange, disabled, children: [
|
|
1930
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { className: _chunk63A4GZMBcjs.cn.call(void 0, timeSelectTriggerStyles, "flex-1"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, { placeholder: "Select time", children: timeDisplayLabel || "Select time" }) }),
|
|
1931
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
1932
1932
|
] })
|
|
1933
1933
|
] });
|
|
1934
1934
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHXURNKXIcjs.FieldWrapper, { label, htmlFor: id, error, errorSlot: "error" in props, className, children: content });
|
|
@@ -1947,14 +1947,14 @@ function DateFilterPanel({
|
|
|
1947
1947
|
className
|
|
1948
1948
|
}) {
|
|
1949
1949
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex flex-col gap-4", className), children: [
|
|
1950
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1951
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1950
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.Select, { value: sort, onValueChange: (value) => onSortChange(value), children: [
|
|
1951
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.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: [
|
|
1952
1952
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowUpDown, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
1953
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1953
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, {}) })
|
|
1954
1954
|
] }) }),
|
|
1955
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1956
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1957
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1955
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: [
|
|
1956
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "asc", children: ascLabel }),
|
|
1957
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "desc", children: descLabel })
|
|
1958
1958
|
] })
|
|
1959
1959
|
] }),
|
|
1960
1960
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2566,8 +2566,8 @@ function SearchableSelect(allProps) {
|
|
|
2566
2566
|
const keyboardPadding = _chunkD6GEMVHDcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
2567
2567
|
const portalContainer = _chunkVCFQHPOOcjs.usePortalContainer.call(void 0, );
|
|
2568
2568
|
if (!isOpen && search !== "") setSearch("");
|
|
2569
|
-
const listedOptions =
|
|
2570
|
-
const rememberedSelection =
|
|
2569
|
+
const listedOptions = _chunkXI3AMOW6cjs.useSettledOptions.call(void 0, options, isLoading, serverSearch);
|
|
2570
|
+
const rememberedSelection = _chunkXI3AMOW6cjs.useRememberedSelection.call(void 0, listedOptions, value != null ? [value] : [], serverSearch);
|
|
2571
2571
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
2572
2572
|
if (serverSearch) return listedOptions;
|
|
2573
2573
|
const q = search.trim().toLowerCase();
|
|
@@ -2851,7 +2851,7 @@ function DefaultAssigneeDropdown({
|
|
|
2851
2851
|
if (isEditing) {
|
|
2852
2852
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "min-w-0", className), children: [
|
|
2853
2853
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2854
|
-
|
|
2854
|
+
_chunkXI3AMOW6cjs.Autocomplete,
|
|
2855
2855
|
{
|
|
2856
2856
|
options,
|
|
2857
2857
|
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _45 => _45.id]), () => ( null)),
|
|
@@ -3102,7 +3102,7 @@ function MediaTypeSelector({
|
|
|
3102
3102
|
// changed) and cost an extra render pass on every change to say what the
|
|
3103
3103
|
// prop already said.
|
|
3104
3104
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3105
|
-
|
|
3105
|
+
_chunkXI3AMOW6cjs.Select,
|
|
3106
3106
|
{
|
|
3107
3107
|
value: value || void 0,
|
|
3108
3108
|
onValueChange: (next) => {
|
|
@@ -3112,8 +3112,8 @@ function MediaTypeSelector({
|
|
|
3112
3112
|
disabled,
|
|
3113
3113
|
defaultValue: value,
|
|
3114
3114
|
children: [
|
|
3115
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3116
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3115
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, { placeholder }) }),
|
|
3116
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: mediaTypeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: option.value, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
3117
3117
|
option.icon,
|
|
3118
3118
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: option.label })
|
|
3119
3119
|
] }) }, option.value)) })
|
|
@@ -6759,12 +6759,12 @@ var OGLinkPreview = ({
|
|
|
6759
6759
|
children: [
|
|
6760
6760
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TILE_SOURCE_ROW_CLASS, children: [
|
|
6761
6761
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Favicon, { src: `https://www.google.com/s2/favicons?domain=${domain}&sz=32`, size: "w-4 h-4" }),
|
|
6762
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6762
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: name }),
|
|
6763
6763
|
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 })
|
|
6764
6764
|
] }),
|
|
6765
6765
|
kicker != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden text-ods-accent text-h5", style: lineClamp(1), children: kicker }),
|
|
6766
6766
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6767
|
-
|
|
6767
|
+
_chunkXI3AMOW6cjs.TruncateText,
|
|
6768
6768
|
{
|
|
6769
6769
|
lines: 2,
|
|
6770
6770
|
variant: "h3",
|
|
@@ -6773,7 +6773,7 @@ var OGLinkPreview = ({
|
|
|
6773
6773
|
children: curatedTitle || domainToTitle(domain)
|
|
6774
6774
|
}
|
|
6775
6775
|
),
|
|
6776
|
-
curatedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6776
|
+
curatedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", children: curatedDescription })
|
|
6777
6777
|
]
|
|
6778
6778
|
}
|
|
6779
6779
|
);
|
|
@@ -6919,8 +6919,8 @@ var OGLinkPreview = ({
|
|
|
6919
6919
|
children: [
|
|
6920
6920
|
/* @__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 }) }),
|
|
6921
6921
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6922
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6923
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6922
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { className: "font-semibold transition-colors group-hover:text-ods-accent", children: title }),
|
|
6923
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { tone: "secondary", children: description })
|
|
6924
6924
|
] }),
|
|
6925
6925
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExternalLinkIcon, {})
|
|
6926
6926
|
]
|
|
@@ -6967,7 +6967,7 @@ var OGLinkPreview = ({
|
|
|
6967
6967
|
),
|
|
6968
6968
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6969
6969
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6970
|
-
|
|
6970
|
+
_chunkXI3AMOW6cjs.TruncateText,
|
|
6971
6971
|
{
|
|
6972
6972
|
lines: 2,
|
|
6973
6973
|
className: "min-h-[calc(var(--font-line-space-h4-body)*2)] font-semibold transition-colors group-hover:text-ods-accent",
|
|
@@ -6976,7 +6976,7 @@ var OGLinkPreview = ({
|
|
|
6976
6976
|
}
|
|
6977
6977
|
),
|
|
6978
6978
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6979
|
-
|
|
6979
|
+
_chunkXI3AMOW6cjs.TruncateText,
|
|
6980
6980
|
{
|
|
6981
6981
|
lines: 2,
|
|
6982
6982
|
tone: "secondary",
|
|
@@ -6986,9 +6986,9 @@ var OGLinkPreview = ({
|
|
|
6986
6986
|
}
|
|
6987
6987
|
),
|
|
6988
6988
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2 text-ods-text-secondary text-h6", children: [
|
|
6989
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6989
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: effectiveData.siteName }),
|
|
6990
6990
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "\u2022" }),
|
|
6991
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6991
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: ogDomain }),
|
|
6992
6992
|
meta
|
|
6993
6993
|
] })
|
|
6994
6994
|
] })
|
|
@@ -9598,7 +9598,7 @@ function renderAdvancedPageContainer({
|
|
|
9598
9598
|
contentClassName,
|
|
9599
9599
|
showHeader = true
|
|
9600
9600
|
}, inScope = false) {
|
|
9601
|
-
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9601
|
+
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children: _chunk3GJ75OULcjs.accentSentenceMarks.call(void 0, title) }) : inScope && title === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerTitleSkeleton, {}) : null;
|
|
9602
9602
|
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;
|
|
9603
9603
|
const getActionsVariant = () => {
|
|
9604
9604
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9607,7 +9607,7 @@ function renderAdvancedPageContainer({
|
|
|
9607
9607
|
};
|
|
9608
9608
|
const renderActions = () => {
|
|
9609
9609
|
if (!actions || actions.length === 0) return null;
|
|
9610
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9610
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.PageActions, { variant: getActionsVariant(), actions, menuActions });
|
|
9611
9611
|
};
|
|
9612
9612
|
const needsBottomPadding = actions && actions.length > 0 && getActionsVariant() === "primary-buttons";
|
|
9613
9613
|
const paddingClasses = {
|
|
@@ -9630,7 +9630,7 @@ function renderAdvancedPageContainer({
|
|
|
9630
9630
|
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: [
|
|
9631
9631
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9632
9632
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9633
|
-
|
|
9633
|
+
_chunkXI3AMOW6cjs.BackButton,
|
|
9634
9634
|
{
|
|
9635
9635
|
onClick: backButton.onClick,
|
|
9636
9636
|
label: backButton.label,
|
|
@@ -9650,7 +9650,7 @@ function renderAdvancedPageContainer({
|
|
|
9650
9650
|
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: [
|
|
9651
9651
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
9652
9652
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9653
|
-
|
|
9653
|
+
_chunkXI3AMOW6cjs.BackButton,
|
|
9654
9654
|
{
|
|
9655
9655
|
onClick: backButton.onClick,
|
|
9656
9656
|
label: backButton.label,
|
|
@@ -9670,7 +9670,7 @@ function renderAdvancedPageContainer({
|
|
|
9670
9670
|
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: [
|
|
9671
9671
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9672
9672
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9673
|
-
|
|
9673
|
+
_chunkXI3AMOW6cjs.BackButton,
|
|
9674
9674
|
{
|
|
9675
9675
|
onClick: backButton.onClick,
|
|
9676
9676
|
label: backButton.label,
|
|
@@ -11708,7 +11708,7 @@ function OrganizationCardSkeleton({
|
|
|
11708
11708
|
..._chunk63A4GZMBcjs.loadingItemProps.call(void 0, props),
|
|
11709
11709
|
children: [
|
|
11710
11710
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_HEADER_CLASS, children: [
|
|
11711
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11711
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.EntityImage, { src: null }),
|
|
11712
11712
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_TEXT_CLASS, children: [
|
|
11713
11713
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "h3", className: "w-3/4" }),
|
|
11714
11714
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "h6", className: "w-1/2" })
|
|
@@ -11780,7 +11780,7 @@ function OrganizationCard({
|
|
|
11780
11780
|
}
|
|
11781
11781
|
),
|
|
11782
11782
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_HEADER_CLASS, children: [
|
|
11783
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11783
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.EntityImage, { src: fetchedImageUrl || organization.imageUrl, alt: organization.name }),
|
|
11784
11784
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_TEXT_CLASS, children: [
|
|
11785
11785
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "truncate text-ods-text-primary transition-colors text-h3", title: organization.name, children: organization.name }),
|
|
11786
11786
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11847,8 +11847,8 @@ function ServiceCard({
|
|
|
11847
11847
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
11848
11848
|
/* @__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 }),
|
|
11849
11849
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
11850
|
-
loading && !title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "h3", className: "w-40 max-w-full" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11851
|
-
loading && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "h6", className: "w-56 max-w-full" }) : subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11850
|
+
loading && !title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "h3", className: "w-40 max-w-full" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h3", children: title }),
|
|
11851
|
+
loading && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "h6", className: "w-56 max-w-full" }) : subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", children: subtitle })
|
|
11852
11852
|
] })
|
|
11853
11853
|
] }),
|
|
11854
11854
|
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYSXVRTGTcjs.Tag, { label: tag.label, variant: "outline", className: "shrink-0 self-start", loading })
|
|
@@ -11986,7 +11986,7 @@ function PersonCell({
|
|
|
11986
11986
|
const displayName = name || fallbackName;
|
|
11987
11987
|
const scale = PERSON_CELL_SIZE[size];
|
|
11988
11988
|
const nameLine = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11989
|
-
|
|
11989
|
+
_chunkXI3AMOW6cjs.TruncateText,
|
|
11990
11990
|
{
|
|
11991
11991
|
variant: scale.primary,
|
|
11992
11992
|
className: onClick ? "text-ods-accent group-hover/person-cell:underline" : void 0,
|
|
@@ -11997,7 +11997,7 @@ function PersonCell({
|
|
|
11997
11997
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYSXVRTGTcjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
11998
11998
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
11999
11999
|
nameLine,
|
|
12000
|
-
lines === 2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12000
|
+
lines === 2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", children: secondary === void 0 ? " " : secondary || "\xB7" }) : null
|
|
12001
12001
|
] })
|
|
12002
12002
|
] });
|
|
12003
12003
|
const cell = onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13700,7 +13700,7 @@ function PhoneInput({
|
|
|
13700
13700
|
}, []);
|
|
13701
13701
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 gap-2", children: [
|
|
13702
13702
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13703
|
-
|
|
13703
|
+
_chunkXI3AMOW6cjs.Select,
|
|
13704
13704
|
{
|
|
13705
13705
|
value: countryCode,
|
|
13706
13706
|
onValueChange: (val) => {
|
|
@@ -13711,14 +13711,14 @@ function PhoneInput({
|
|
|
13711
13711
|
},
|
|
13712
13712
|
disabled,
|
|
13713
13713
|
children: [
|
|
13714
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13714
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { className: "w-[130px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, { children: selectedCountry && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5", children: [
|
|
13715
13715
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.flag }),
|
|
13716
13716
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.dialCode })
|
|
13717
13717
|
] }) }) }),
|
|
13718
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13719
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13720
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13721
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13718
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { className: "max-h-[300px] !w-[280px]", children: [
|
|
13719
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectGroup, { children: priority.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) }),
|
|
13720
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectSeparator, {}),
|
|
13721
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectGroup, { children: others.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) })
|
|
13722
13722
|
] })
|
|
13723
13723
|
]
|
|
13724
13724
|
}
|
|
@@ -13750,7 +13750,7 @@ function PhoneInput({
|
|
|
13750
13750
|
] });
|
|
13751
13751
|
}
|
|
13752
13752
|
function CountryOption({ country }) {
|
|
13753
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13753
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: country.code, textValue: country.name, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-2", children: [
|
|
13754
13754
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: country.flag }),
|
|
13755
13755
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary", children: country.dialCode }),
|
|
13756
13756
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-block max-w-[140px] overflow-hidden text-ellipsis whitespace-nowrap", children: country.name })
|
|
@@ -16114,7 +16114,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
16114
16114
|
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: [
|
|
16115
16115
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16116
16116
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSTV6VJ3Ucjs.ColorSwatch, { color }),
|
|
16117
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16117
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
16118
16118
|
] }),
|
|
16119
16119
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
16120
16120
|
] });
|
|
@@ -16124,7 +16124,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
16124
16124
|
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: [
|
|
16125
16125
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16126
16126
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYSXVRTGTcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
16127
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16127
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
16128
16128
|
] }),
|
|
16129
16129
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
16130
16130
|
] });
|
|
@@ -16175,7 +16175,7 @@ function TakeOverTicketModal({
|
|
|
16175
16175
|
] }),
|
|
16176
16176
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
16177
16177
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16178
|
-
|
|
16178
|
+
_chunkXI3AMOW6cjs.Autocomplete,
|
|
16179
16179
|
{
|
|
16180
16180
|
label: "Status",
|
|
16181
16181
|
options: statusOptions,
|
|
@@ -16187,7 +16187,7 @@ function TakeOverTicketModal({
|
|
|
16187
16187
|
}
|
|
16188
16188
|
) }),
|
|
16189
16189
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16190
|
-
|
|
16190
|
+
_chunkXI3AMOW6cjs.Autocomplete,
|
|
16191
16191
|
{
|
|
16192
16192
|
label: "Assigned",
|
|
16193
16193
|
options: withTicketAssigneeAvatars(assigneeOptions),
|
|
@@ -16271,7 +16271,7 @@ function ReopenTicketModal({
|
|
|
16271
16271
|
] }),
|
|
16272
16272
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
16273
16273
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16274
|
-
|
|
16274
|
+
_chunkXI3AMOW6cjs.Autocomplete,
|
|
16275
16275
|
{
|
|
16276
16276
|
label: "Status",
|
|
16277
16277
|
options: statusOptions,
|
|
@@ -16283,7 +16283,7 @@ function ReopenTicketModal({
|
|
|
16283
16283
|
}
|
|
16284
16284
|
) }),
|
|
16285
16285
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16286
|
-
|
|
16286
|
+
_chunkXI3AMOW6cjs.Autocomplete,
|
|
16287
16287
|
{
|
|
16288
16288
|
label: "Assigned",
|
|
16289
16289
|
options: withTicketAssigneeAvatars(assigneeOptions),
|
|
@@ -16793,7 +16793,7 @@ function ProductScreenFrame({
|
|
|
16793
16793
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "ods-content-area", pending && "product-screen-pending"),
|
|
16794
16794
|
style: screenStyle,
|
|
16795
16795
|
children: [
|
|
16796
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ods-content-scope", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingScope, { bare: true, active: pending, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16796
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ods-content-scope", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingScope, { bare: true, active: pending, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.PagePicture, { children }) }) }),
|
|
16797
16797
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, style: { display: "contents" } })
|
|
16798
16798
|
]
|
|
16799
16799
|
}
|
|
@@ -16931,7 +16931,7 @@ function PhoneFrame({ dateLabel, timeLabel, children, className }) {
|
|
|
16931
16931
|
"div",
|
|
16932
16932
|
{
|
|
16933
16933
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "h-[617px] w-[299px] shrink-0 rounded-[48px] border border-ods-border bg-black p-2.5", className),
|
|
16934
|
-
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "relative flex h-full flex-col overflow-hidden rounded-[38px]",
|
|
16934
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "relative flex h-full flex-col overflow-hidden rounded-[38px]", _chunkXI3AMOW6cjs.DEVICE_WALLPAPER_CLASS), children: [
|
|
16935
16935
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16936
16936
|
"div",
|
|
16937
16937
|
{
|
|
@@ -19377,9 +19377,9 @@ function ChangelogManager({
|
|
|
19377
19377
|
] }),
|
|
19378
19378
|
tagOptions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19379
19379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCFQHPOOcjs.Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
19380
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19381
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19382
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19380
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.Select, { value: _nullishCoalesce(entry.tag, () => ( "")), onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
19381
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, { placeholder: tagLabel }) }),
|
|
19382
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: tagOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
19383
19383
|
] })
|
|
19384
19384
|
] })
|
|
19385
19385
|
] })
|
|
@@ -21140,17 +21140,17 @@ function MediaGalleryManager({
|
|
|
21140
21140
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21141
21141
|
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" }),
|
|
21142
21142
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21143
|
-
|
|
21143
|
+
_chunkXI3AMOW6cjs.Select,
|
|
21144
21144
|
{
|
|
21145
21145
|
value: item.media_type,
|
|
21146
21146
|
onValueChange: (value) => update(index, { media_type: value }),
|
|
21147
21147
|
children: [
|
|
21148
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21149
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21150
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21151
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21152
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21153
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21148
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { className: "h-8 bg-ods-bg text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, {}) }),
|
|
21149
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
21150
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "image", children: "Image" }),
|
|
21151
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "video", children: "Video" }),
|
|
21152
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "screenshot", children: "Screenshot" }),
|
|
21153
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "demo", children: "Demo" })
|
|
21154
21154
|
] })
|
|
21155
21155
|
]
|
|
21156
21156
|
}
|
|
@@ -21824,7 +21824,7 @@ function ModelTokenExchange({
|
|
|
21824
21824
|
}
|
|
21825
21825
|
),
|
|
21826
21826
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21827
|
-
|
|
21827
|
+
_chunkXI3AMOW6cjs.Autocomplete,
|
|
21828
21828
|
{
|
|
21829
21829
|
fieldLoading: loading,
|
|
21830
21830
|
label: copy.use.model,
|
|
@@ -22848,9 +22848,9 @@ function SocialLinksManager({
|
|
|
22848
22848
|
children: [
|
|
22849
22849
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 items-center justify-center", children: Icon }),
|
|
22850
22850
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid flex-1 grid-cols-2 gap-3", children: [
|
|
22851
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22852
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22853
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22851
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.Select, { value: link.platform, onValueChange: (value) => updateLink(index, "platform", value), children: [
|
|
22852
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, {}) }),
|
|
22853
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: platforms.map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: p.name, children: p.display_name }, p.name)) })
|
|
22854
22854
|
] }) }),
|
|
22855
22855
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22856
22856
|
_chunkHXURNKXIcjs.Input,
|
|
@@ -22868,15 +22868,15 @@ function SocialLinksManager({
|
|
|
22868
22868
|
)
|
|
22869
22869
|
] }),
|
|
22870
22870
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22871
|
-
|
|
22871
|
+
_chunkXI3AMOW6cjs.Select,
|
|
22872
22872
|
{
|
|
22873
22873
|
value: _nullishCoalesce(link.visibility, () => ( "external")),
|
|
22874
22874
|
onValueChange: (value) => updateLink(index, "visibility", value),
|
|
22875
22875
|
children: [
|
|
22876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22877
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22878
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22879
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22876
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { className: "w-[120px] shrink-0", "aria-label": "Social link visibility", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, {}) }),
|
|
22877
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: [
|
|
22878
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "external", children: "Public" }),
|
|
22879
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "internal", children: "Internal" })
|
|
22880
22880
|
] })
|
|
22881
22881
|
]
|
|
22882
22882
|
}
|
|
@@ -24652,19 +24652,19 @@ function HighlightVideoSection({
|
|
|
24652
24652
|
/* @__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: [
|
|
24653
24653
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCFQHPOOcjs.Label, { children: "Target Duration" }),
|
|
24654
24654
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24655
|
-
|
|
24655
|
+
_chunkXI3AMOW6cjs.Select,
|
|
24656
24656
|
{
|
|
24657
24657
|
value: targetDurationSeconds.toString(),
|
|
24658
24658
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
24659
24659
|
disabled,
|
|
24660
24660
|
children: [
|
|
24661
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24662
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24663
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24664
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24665
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24666
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24667
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24661
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { className: "mt-1 bg-ods-bg-surface", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, {}) }),
|
|
24662
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
24663
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
24664
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
24665
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
24666
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
24667
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
24668
24668
|
] })
|
|
24669
24669
|
]
|
|
24670
24670
|
}
|
|
@@ -24750,19 +24750,19 @@ function HighlightConfigSection({
|
|
|
24750
24750
|
className = ""
|
|
24751
24751
|
}) {
|
|
24752
24752
|
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, _chunkF33EAPD2cjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24753
|
-
|
|
24753
|
+
_chunkXI3AMOW6cjs.Select,
|
|
24754
24754
|
{
|
|
24755
24755
|
value: targetDurationSeconds.toString(),
|
|
24756
24756
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
24757
24757
|
disabled,
|
|
24758
24758
|
children: [
|
|
24759
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24760
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24761
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24762
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24763
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24764
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24765
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24759
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { id: f.id, className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, {}) }),
|
|
24760
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
24761
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
24762
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
24763
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
24764
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
24765
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
24766
24766
|
] })
|
|
24767
24767
|
]
|
|
24768
24768
|
}
|
|
@@ -25681,8 +25681,8 @@ function PoliciesTable({
|
|
|
25681
25681
|
accessorKey: "name",
|
|
25682
25682
|
header: "Name",
|
|
25683
25683
|
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: [
|
|
25684
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25685
|
-
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25684
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: row.original.name }),
|
|
25685
|
+
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.description })
|
|
25686
25686
|
] }),
|
|
25687
25687
|
meta: { width: "flex-1 min-w-0" }
|
|
25688
25688
|
},
|
|
@@ -25980,9 +25980,9 @@ function TenantCell({ provider, name, domain }) {
|
|
|
25980
25980
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
25981
25981
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
25982
25982
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.MediaSkeleton.Icon, { size: "md", className: "shrink-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Logo, { size: 24, role: "img", "aria-label": label, className: "shrink-0" }),
|
|
25983
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25983
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: name })
|
|
25984
25984
|
] }),
|
|
25985
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25985
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: _nullishCoalesce(domain, () => ( TENANT_EMPTY_VALUE)) })
|
|
25986
25986
|
] });
|
|
25987
25987
|
}
|
|
25988
25988
|
|
|
@@ -26012,9 +26012,9 @@ function SingleCustomerTenantCustomerCell({
|
|
|
26012
26012
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26013
26013
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26014
26014
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYSXVRTGTcjs.SquareAvatar, { src: _nullishCoalesce(imageUrl, () => ( void 0)), alt: name, fallback: name, size: "xs", variant: "square" }),
|
|
26015
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26015
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: name })
|
|
26016
26016
|
] }),
|
|
26017
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26017
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: usersCountLabel(userCount) })
|
|
26018
26018
|
] });
|
|
26019
26019
|
}
|
|
26020
26020
|
function SingleCustomerTenantAccessCell({
|
|
@@ -26025,7 +26025,7 @@ function SingleCustomerTenantAccessCell({
|
|
|
26025
26025
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
26026
26026
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26027
26027
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYSXVRTGTcjs.Tag, { ...accessStateTag(accessState), loading, className: "self-start" }),
|
|
26028
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26028
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: `Last read: ${formatLastRead(lastReadAt2, now)}` })
|
|
26029
26029
|
] });
|
|
26030
26030
|
}
|
|
26031
26031
|
function OpenTenantButton({ href, name }) {
|
|
@@ -26155,7 +26155,7 @@ function TenantAccessCell({ accessState, lastReadAt: lastReadAt2, syncPaused = f
|
|
|
26155
26155
|
const line = syncPaused ? "Sync paused" : lastReadAt2 ? `Last read: ${formatLastRead(lastReadAt2, now)}` : null;
|
|
26156
26156
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26157
26157
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYSXVRTGTcjs.Tag, { ...accessStateTag(accessState), loading, className: "self-start" }),
|
|
26158
|
-
(loading || line) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden min-w-0 content-md:block", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26158
|
+
(loading || line) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden min-w-0 content-md:block", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: _nullishCoalesce(line, () => ( "")) }) })
|
|
26159
26159
|
] });
|
|
26160
26160
|
}
|
|
26161
26161
|
|
|
@@ -26183,15 +26183,15 @@ function TenantCustomerCell({
|
|
|
26183
26183
|
variant: "square"
|
|
26184
26184
|
}
|
|
26185
26185
|
),
|
|
26186
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26186
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: first.name }),
|
|
26187
26187
|
more > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary text-h4", children: [
|
|
26188
26188
|
"+",
|
|
26189
26189
|
more,
|
|
26190
26190
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: more === 1 ? " more customer" : " more customers" })
|
|
26191
26191
|
] })
|
|
26192
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26192
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: TENANT_EMPTY_VALUE }),
|
|
26193
26193
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26194
|
-
|
|
26194
|
+
_chunkXI3AMOW6cjs.TruncateText,
|
|
26195
26195
|
{
|
|
26196
26196
|
variant: "h6",
|
|
26197
26197
|
tone: "secondary",
|
|
@@ -26209,8 +26209,8 @@ function TenantLicensesCell({ licenses }) {
|
|
|
26209
26209
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
26210
26210
|
const { value, detail, warning } = licenseSummaryLines(licenses);
|
|
26211
26211
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26213
|
-
(loading || detail) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { loading, children: value }),
|
|
26213
|
+
(loading || detail) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", loading, className: _chunk63A4GZMBcjs.cn.call(void 0, warning && "text-ods-warning"), children: _nullishCoalesce(detail, () => ( "")) })
|
|
26214
26214
|
] });
|
|
26215
26215
|
}
|
|
26216
26216
|
|
|
@@ -28221,7 +28221,7 @@ function TimeTrackerPanel({
|
|
|
28221
28221
|
] }),
|
|
28222
28222
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "grid gap-[var(--spacing-system-m)]", showCustomer && "grid-cols-2"), children: [
|
|
28223
28223
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28224
|
-
|
|
28224
|
+
_chunkXI3AMOW6cjs.Autocomplete,
|
|
28225
28225
|
{
|
|
28226
28226
|
value: selectedTicketId,
|
|
28227
28227
|
onChange: onSelectedTicketChange,
|
|
@@ -28237,7 +28237,7 @@ function TimeTrackerPanel({
|
|
|
28237
28237
|
}
|
|
28238
28238
|
),
|
|
28239
28239
|
showCustomer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28240
|
-
|
|
28240
|
+
_chunkXI3AMOW6cjs.Autocomplete,
|
|
28241
28241
|
{
|
|
28242
28242
|
value: _nullishCoalesce(selectedCustomerId, () => ( null)),
|
|
28243
28243
|
onChange: onSelectedCustomerChange,
|
|
@@ -29098,13 +29098,13 @@ function DevicesTableBody({
|
|
|
29098
29098
|
function OrganizationCell({ device }) {
|
|
29099
29099
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
29100
29100
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
29101
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29101
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.EntityImage, { src: fullImageUrl, alt: device.organization || "Customer", className: "size-12 content-md:size-12" }),
|
|
29102
29102
|
/* @__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 }) })
|
|
29103
29103
|
] });
|
|
29104
29104
|
}
|
|
29105
29105
|
function OrganizationName({ name }) {
|
|
29106
29106
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) && !name) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "h4", className: "w-3/4" });
|
|
29107
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29107
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { lines: 2, children: _nullishCoalesce(name, () => ( "")) });
|
|
29108
29108
|
}
|
|
29109
29109
|
function DeviceLastSeen({ lastSeen }) {
|
|
29110
29110
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) && !lastSeen) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPMUCEUFQcjs.TextLineSkeleton, { type: "h6", className: "hidden w-24 content-md:block" });
|
|
@@ -29117,8 +29117,8 @@ function DirectoryUserCell({ device }) {
|
|
|
29117
29117
|
}
|
|
29118
29118
|
const { name, detail } = directoryUserLines(device);
|
|
29119
29119
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
29120
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29121
|
-
detail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29120
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: name }),
|
|
29121
|
+
detail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", children: detail })
|
|
29122
29122
|
] });
|
|
29123
29123
|
}
|
|
29124
29124
|
function DirectorySourcesCell({ sources }) {
|
|
@@ -29212,7 +29212,7 @@ function getDeviceTableColumns(deviceFilters, filtersPending, { directoryColumns
|
|
|
29212
29212
|
const device = row.original;
|
|
29213
29213
|
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: [
|
|
29214
29214
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
29215
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29215
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: getDeviceName(device) }) }),
|
|
29216
29216
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceUnreadIndicator, { device })
|
|
29217
29217
|
] });
|
|
29218
29218
|
},
|
|
@@ -29392,7 +29392,7 @@ function CustomerCell({ device }) {
|
|
|
29392
29392
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
29393
29393
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
29394
29394
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29395
|
-
|
|
29395
|
+
_chunkXI3AMOW6cjs.EntityImage,
|
|
29396
29396
|
{
|
|
29397
29397
|
src: fullImageUrl,
|
|
29398
29398
|
alt: device.organization || "Customer",
|
|
@@ -29400,8 +29400,8 @@ function CustomerCell({ device }) {
|
|
|
29400
29400
|
}
|
|
29401
29401
|
),
|
|
29402
29402
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
29403
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29404
|
-
(device.organizationEmail || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29403
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: device.organization || "" }),
|
|
29404
|
+
(device.organizationEmail || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(device.organizationEmail, () => ( "")) })
|
|
29405
29405
|
] })
|
|
29406
29406
|
] });
|
|
29407
29407
|
}
|
|
@@ -29410,8 +29410,8 @@ function DeviceCell({ device }) {
|
|
|
29410
29410
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 items-center gap-3", children: [
|
|
29411
29411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
29412
29412
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
29413
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29414
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29413
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: getDeviceName(device) }),
|
|
29414
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: formatLastOnline(device.last_seen || device.lastSeen) })
|
|
29415
29415
|
] })
|
|
29416
29416
|
] });
|
|
29417
29417
|
}
|
|
@@ -30432,7 +30432,7 @@ function DevicesPanelView({
|
|
|
30432
30432
|
] })
|
|
30433
30433
|
] });
|
|
30434
30434
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30435
|
-
|
|
30435
|
+
_chunkXI3AMOW6cjs.PageLayout,
|
|
30436
30436
|
{
|
|
30437
30437
|
title,
|
|
30438
30438
|
backButton,
|
|
@@ -30506,7 +30506,7 @@ var PACKAGE_SEARCH_LABEL = "Software Name";
|
|
|
30506
30506
|
var PACKAGE_SEARCH_PLACEHOLDER = "Search for Software";
|
|
30507
30507
|
function PackageSearchFieldPlaceholder({ error }) {
|
|
30508
30508
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30509
|
-
|
|
30509
|
+
_chunkXI3AMOW6cjs.Autocomplete,
|
|
30510
30510
|
{
|
|
30511
30511
|
label: PACKAGE_SEARCH_LABEL,
|
|
30512
30512
|
labelVariant: "large",
|
|
@@ -30561,16 +30561,16 @@ function SoftwareScheduleFields({
|
|
|
30561
30561
|
] }),
|
|
30562
30562
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30563
30563
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCFQHPOOcjs.Label, { className: "text-h4", children: "Time" }),
|
|
30564
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30565
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30566
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30564
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.Select, { value: time, onValueChange: onTimeChange, children: [
|
|
30565
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, { placeholder: "Select time" }) }),
|
|
30566
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30567
30567
|
] })
|
|
30568
30568
|
] }),
|
|
30569
30569
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30570
30570
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCFQHPOOcjs.Label, { className: "text-h4", children: "Timezone" }),
|
|
30571
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30572
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30573
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30571
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.Select, { value: timeReference, onValueChange: (value) => onTimeReferenceChange(value), children: [
|
|
30572
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, {}) }),
|
|
30573
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: timing.timeReferenceOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30574
30574
|
] })
|
|
30575
30575
|
] })
|
|
30576
30576
|
]
|
|
@@ -30630,22 +30630,22 @@ function newSoftwareRow(key) {
|
|
|
30630
30630
|
|
|
30631
30631
|
function InfoCell2({ value, label }) {
|
|
30632
30632
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
30633
|
-
/* @__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,
|
|
30633
|
+
/* @__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, _chunkXI3AMOW6cjs.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" }) }) }),
|
|
30634
30634
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
30635
30635
|
] });
|
|
30636
30636
|
}
|
|
30637
30637
|
function SoftwareRowFields({ row, removable, onChange, onRemove, renderPackageSearch }) {
|
|
30638
30638
|
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: [
|
|
30639
30639
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30640
|
-
|
|
30640
|
+
_chunkXI3AMOW6cjs.Select,
|
|
30641
30641
|
{
|
|
30642
30642
|
value: row.packageManager,
|
|
30643
30643
|
onValueChange: (value) => onChange({ ...row, packageManager: value, pkg: null }),
|
|
30644
30644
|
children: [
|
|
30645
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30646
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30645
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { label: "Package Manager", labelVariant: "large", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, {}) }),
|
|
30646
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: PACKAGE_MANAGERS.map((manager) => {
|
|
30647
30647
|
const Icon = PACKAGE_MANAGER_ICON[manager];
|
|
30648
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30648
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: manager, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30649
30649
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 20, className: "shrink-0 text-ods-text-secondary" }),
|
|
30650
30650
|
PACKAGE_MANAGER_LABEL[manager]
|
|
30651
30651
|
] }) }, manager);
|
|
@@ -30766,9 +30766,9 @@ function SecondsSelect({
|
|
|
30766
30766
|
}) {
|
|
30767
30767
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30768
30768
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCFQHPOOcjs.Label, { className: "text-h4", children: label }),
|
|
30769
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30770
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30771
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30769
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.Select, { value: String(value), onValueChange: (next) => onChange(Number(next)), children: [
|
|
30770
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { "aria-label": label, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, {}) }),
|
|
30771
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: options.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: String(option.seconds), children: option.label }, option.seconds)) })
|
|
30772
30772
|
] })
|
|
30773
30773
|
] });
|
|
30774
30774
|
}
|
|
@@ -30969,7 +30969,7 @@ function SoftwareActionForm({
|
|
|
30969
30969
|
}
|
|
30970
30970
|
);
|
|
30971
30971
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30972
|
-
|
|
30972
|
+
_chunkXI3AMOW6cjs.PageLayout,
|
|
30973
30973
|
{
|
|
30974
30974
|
title: copy.formTitle,
|
|
30975
30975
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -31066,7 +31066,7 @@ function LogDrawer({
|
|
|
31066
31066
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 space-y-4 overflow-y-auto", children: [
|
|
31067
31067
|
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 }) }),
|
|
31068
31068
|
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: [
|
|
31069
|
-
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,
|
|
31069
|
+
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, _chunkXI3AMOW6cjs.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 }),
|
|
31070
31070
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: field.label })
|
|
31071
31071
|
] }, typeof field.label === "string" ? field.label : "")) }),
|
|
31072
31072
|
children
|
|
@@ -31114,7 +31114,7 @@ function LogsPageView({
|
|
|
31114
31114
|
],
|
|
31115
31115
|
[onRefresh]
|
|
31116
31116
|
);
|
|
31117
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31117
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.PageLayout, { title: "Logs", actions, showHeader, className, children: [
|
|
31118
31118
|
!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: [
|
|
31119
31119
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31120
31120
|
_chunkHXURNKXIcjs.Input,
|
|
@@ -31272,8 +31272,8 @@ function LogSourceCell({ device }) {
|
|
|
31272
31272
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
31273
31273
|
const { deviceName, organization } = logSourceLabels(device);
|
|
31274
31274
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[60px] flex-col justify-center gap-1 py-2", children: [
|
|
31275
|
-
(deviceName || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31276
|
-
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31275
|
+
(deviceName || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: deviceName }),
|
|
31276
|
+
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(organization, () => ( "")) })
|
|
31277
31277
|
] });
|
|
31278
31278
|
}
|
|
31279
31279
|
function LogRowButton({
|
|
@@ -31328,8 +31328,8 @@ function LogsTableView({
|
|
|
31328
31328
|
accessorKey: "logId",
|
|
31329
31329
|
header: logIdHeader ? () => logIdHeader : "Log ID",
|
|
31330
31330
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col justify-center", children: [
|
|
31331
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31332
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31331
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: row.original.timestamp }),
|
|
31332
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.logId })
|
|
31333
31333
|
] }),
|
|
31334
31334
|
enableSorting: false,
|
|
31335
31335
|
meta: { width: LOG_COLUMN_WIDTHS.logId, alwaysShowHeader: true }
|
|
@@ -31390,7 +31390,7 @@ function LogsTableView({
|
|
|
31390
31390
|
{
|
|
31391
31391
|
accessorKey: "description",
|
|
31392
31392
|
header: "Log Details",
|
|
31393
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31393
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { lines: 3, className: "text-ods-text-secondary text-h6", children: row.original.description.title }),
|
|
31394
31394
|
enableSorting: false,
|
|
31395
31395
|
meta: { width: LOG_COLUMN_WIDTHS.description, hideAt: "lg" }
|
|
31396
31396
|
},
|
|
@@ -31589,8 +31589,8 @@ function ExecutionSourceBadge({ source, className }) {
|
|
|
31589
31589
|
}
|
|
31590
31590
|
function ExecutionTimestampCell({ timestamp, executionId }) {
|
|
31591
31591
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31592
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31593
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31592
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: timestamp }),
|
|
31593
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", children: executionId })
|
|
31594
31594
|
] });
|
|
31595
31595
|
}
|
|
31596
31596
|
function ExecutionStatusCell({ status }) {
|
|
@@ -31602,9 +31602,9 @@ function ExecutionDeviceCell({ name, organization }) {
|
|
|
31602
31602
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31603
31603
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-1", children: [
|
|
31604
31604
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPTK7GOIIcjs.MonitorIcon, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
31605
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31605
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: name }) : name })
|
|
31606
31606
|
] }),
|
|
31607
|
-
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31607
|
+
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(organization, () => ( "")) })
|
|
31608
31608
|
] });
|
|
31609
31609
|
}
|
|
31610
31610
|
function ExecutionInitiatorCell({
|
|
@@ -31617,16 +31617,16 @@ function ExecutionInitiatorCell({
|
|
|
31617
31617
|
avatar,
|
|
31618
31618
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
31619
31619
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
31620
|
-
typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31620
|
+
typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: name }) : name,
|
|
31621
31621
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExecutionSourceBadge, { source })
|
|
31622
31622
|
] }),
|
|
31623
|
-
scriptName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31623
|
+
scriptName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", children: scriptName })
|
|
31624
31624
|
] })
|
|
31625
31625
|
] });
|
|
31626
31626
|
}
|
|
31627
31627
|
function ExecutionResultCell({ result, empty = null }) {
|
|
31628
31628
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
31629
|
-
return result || loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31629
|
+
return result || loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { lines: 2, children: _nullishCoalesce(result, () => ( "")) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: empty });
|
|
31630
31630
|
}
|
|
31631
31631
|
function ScriptExecutionResult({
|
|
31632
31632
|
result,
|
|
@@ -31646,14 +31646,14 @@ function ScriptExecutionResult({
|
|
|
31646
31646
|
|
|
31647
31647
|
function ScriptNameCell({ name, description }) {
|
|
31648
31648
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31649
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31650
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31649
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: name }),
|
|
31650
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", children: description })
|
|
31651
31651
|
] });
|
|
31652
31652
|
}
|
|
31653
31653
|
function ScheduleDateTimeCell({ date, time }) {
|
|
31654
31654
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31655
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31656
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31655
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: date }),
|
|
31656
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", children: time })
|
|
31657
31657
|
] });
|
|
31658
31658
|
}
|
|
31659
31659
|
|
|
@@ -31883,7 +31883,7 @@ function ScriptSchedulesTable({
|
|
|
31883
31883
|
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" })),
|
|
31884
31884
|
cell(
|
|
31885
31885
|
SCHEDULE_COLUMNS.dateTime,
|
|
31886
|
-
(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,
|
|
31886
|
+
(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, _chunkXI3AMOW6cjs.TruncateText, { tone: "secondary", children: row.trigger }) : null
|
|
31887
31887
|
),
|
|
31888
31888
|
cell(
|
|
31889
31889
|
SCHEDULE_COLUMNS.repeat,
|
|
@@ -32007,7 +32007,7 @@ function ScriptsTable({
|
|
|
32007
32007
|
initialsClassName: "text-ods-text-secondary"
|
|
32008
32008
|
}
|
|
32009
32009
|
),
|
|
32010
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32010
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: row.author.name }) })
|
|
32011
32011
|
] }) : null
|
|
32012
32012
|
)
|
|
32013
32013
|
];
|
|
@@ -32355,7 +32355,7 @@ function ReconnectWindowFields({
|
|
|
32355
32355
|
}
|
|
32356
32356
|
),
|
|
32357
32357
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32358
|
-
|
|
32358
|
+
_chunkXI3AMOW6cjs.Select,
|
|
32359
32359
|
{
|
|
32360
32360
|
value: unit,
|
|
32361
32361
|
onValueChange: (value) => {
|
|
@@ -32364,8 +32364,8 @@ function ReconnectWindowFields({
|
|
|
32364
32364
|
},
|
|
32365
32365
|
disabled,
|
|
32366
32366
|
children: [
|
|
32367
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32368
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32367
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { className: controlWidth, "aria-label": "Stop retry after unit", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, {}) }),
|
|
32368
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: DURATION_UNIT_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
32369
32369
|
]
|
|
32370
32370
|
}
|
|
32371
32371
|
)
|
|
@@ -32435,7 +32435,7 @@ function ScheduleOfflineFields({ showErrors, disabled = false }) {
|
|
|
32435
32435
|
options
|
|
32436
32436
|
}
|
|
32437
32437
|
),
|
|
32438
|
-
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,
|
|
32438
|
+
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, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", className: "text-ods-error", children: intervalError }) })
|
|
32439
32439
|
]
|
|
32440
32440
|
}
|
|
32441
32441
|
) }) })
|
|
@@ -33273,24 +33273,24 @@ function ScheduleTimingFields({
|
|
|
33273
33273
|
// `''` reads as "no selection" to Radix, so the placeholder shows
|
|
33274
33274
|
// until a slot is picked — a date at midnight no longer
|
|
33275
33275
|
// masquerades as a chosen 12:00 AM.
|
|
33276
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33276
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXI3AMOW6cjs.Select, { value: field.value, onValueChange: field.onChange, disabled: fieldsDisabled, children: [
|
|
33277
33277
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33278
|
-
|
|
33278
|
+
_chunkXI3AMOW6cjs.SelectTrigger,
|
|
33279
33279
|
{
|
|
33280
33280
|
className: "w-full",
|
|
33281
33281
|
error: _nullishCoalesce(pastTimeError, () => ( (showErrors ? _optionalChain([fieldState, 'access', _727 => _727.error, 'optionalAccess', _728 => _728.message]) : void 0))),
|
|
33282
33282
|
invalid: !!pastTimeError || showErrors && !!fieldState.error,
|
|
33283
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33283
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, { placeholder: "Select time" })
|
|
33284
33284
|
}
|
|
33285
33285
|
),
|
|
33286
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33286
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: timeSlots.length === 0 ? (
|
|
33287
33287
|
// Deliberately NOT a `SelectItem` — there is nothing here
|
|
33288
33288
|
// to select, and a selectable row would put a bogus value
|
|
33289
33289
|
// in the form. It replaces a popup that opened blank; the
|
|
33290
33290
|
// Date field carries the same sentence for whoever never
|
|
33291
33291
|
// opens this one.
|
|
33292
33292
|
/* @__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 })
|
|
33293
|
-
) : timeSlots.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33293
|
+
) : timeSlots.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33294
33294
|
] })
|
|
33295
33295
|
)
|
|
33296
33296
|
}
|
|
@@ -33304,7 +33304,7 @@ function ScheduleTimingFields({
|
|
|
33304
33304
|
name: "timeReference",
|
|
33305
33305
|
control,
|
|
33306
33306
|
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33307
|
-
|
|
33307
|
+
_chunkXI3AMOW6cjs.Select,
|
|
33308
33308
|
{
|
|
33309
33309
|
value: field.value,
|
|
33310
33310
|
onValueChange: (value) => {
|
|
@@ -33313,8 +33313,8 @@ function ScheduleTimingFields({
|
|
|
33313
33313
|
},
|
|
33314
33314
|
disabled: fieldsDisabled,
|
|
33315
33315
|
children: [
|
|
33316
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33317
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33316
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { className: "w-full", "aria-label": "Timezone", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, {}) }),
|
|
33317
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: SCHEDULE_TIME_REFERENCE_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33318
33318
|
]
|
|
33319
33319
|
}
|
|
33320
33320
|
)
|
|
@@ -33374,7 +33374,7 @@ function ScheduleTimingFields({
|
|
|
33374
33374
|
name: "repeatUnit",
|
|
33375
33375
|
control,
|
|
33376
33376
|
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33377
|
-
|
|
33377
|
+
_chunkXI3AMOW6cjs.Select,
|
|
33378
33378
|
{
|
|
33379
33379
|
value: field.value,
|
|
33380
33380
|
onValueChange: (value) => {
|
|
@@ -33387,8 +33387,8 @@ function ScheduleTimingFields({
|
|
|
33387
33387
|
},
|
|
33388
33388
|
disabled: fieldsDisabled || !repeatEnabled,
|
|
33389
33389
|
children: [
|
|
33390
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33391
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33390
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectValue, {}) }),
|
|
33391
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectContent, { children: DURATION_UNIT_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33392
33392
|
]
|
|
33393
33393
|
}
|
|
33394
33394
|
)
|
|
@@ -33477,7 +33477,7 @@ function ScheduleFormFields({
|
|
|
33477
33477
|
platform.id
|
|
33478
33478
|
);
|
|
33479
33479
|
}) }),
|
|
33480
|
-
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,
|
|
33480
|
+
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, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", className: "text-ods-error", children: _nullishCoalesce(formState.errors.supportedPlatforms.message, () => ( "")) }) })
|
|
33481
33481
|
]
|
|
33482
33482
|
}
|
|
33483
33483
|
);
|
|
@@ -33579,7 +33579,7 @@ function ScheduleScriptSearchField({
|
|
|
33579
33579
|
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: [
|
|
33580
33580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCFQHPOOcjs.Label, { className: "text-h4", children: "Select Script" }),
|
|
33581
33581
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33582
|
-
|
|
33582
|
+
_chunkXI3AMOW6cjs.Autocomplete,
|
|
33583
33583
|
{
|
|
33584
33584
|
options,
|
|
33585
33585
|
value: scriptId || null,
|
|
@@ -33594,7 +33594,7 @@ function ScheduleScriptSearchField({
|
|
|
33594
33594
|
error,
|
|
33595
33595
|
invalid,
|
|
33596
33596
|
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: [
|
|
33597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { className: isSelected ? "text-ods-accent" : void 0, children: option.label }) }),
|
|
33598
33598
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScriptPlatformIcons, { platforms: _nullishCoalesce(_optionalChain([scripts, 'access', _734 => _734.find, 'call', _735 => _735((s) => s.id === option.value), 'optionalAccess', _736 => _736.supportedPlatforms]), () => ( [])) })
|
|
33599
33599
|
] })
|
|
33600
33600
|
}
|
|
@@ -33645,10 +33645,10 @@ function KnowledgeBaseNameCell({ item }) {
|
|
|
33645
33645
|
/* @__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" }) }),
|
|
33646
33646
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33647
33647
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33648
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33648
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: item.name }) }),
|
|
33649
33649
|
tagStatus && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYSXVRTGTcjs.Tag, { variant: KNOWLEDGE_BASE_STATUS_VARIANT[tagStatus], label: tagStatus, className: "shrink-0" })
|
|
33650
33650
|
] }),
|
|
33651
|
-
item.type === "ARTICLE" && (item.summary || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33651
|
+
item.type === "ARTICLE" && (item.summary || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(item.summary, () => ( "")) })
|
|
33652
33652
|
] })
|
|
33653
33653
|
] });
|
|
33654
33654
|
}
|
|
@@ -33770,7 +33770,7 @@ function KnowledgeBaseArticleView({
|
|
|
33770
33770
|
className = "px-[var(--spacing-system-l)] pb-[var(--spacing-system-l)]"
|
|
33771
33771
|
}) {
|
|
33772
33772
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33773
|
-
|
|
33773
|
+
_chunkXI3AMOW6cjs.PageLayout,
|
|
33774
33774
|
{
|
|
33775
33775
|
title,
|
|
33776
33776
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -33793,12 +33793,12 @@ function KnowledgeBaseArticleView({
|
|
|
33793
33793
|
}
|
|
33794
33794
|
),
|
|
33795
33795
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33796
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33796
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { className: author.deleted ? "text-ods-error" : void 0, children: _nullishCoalesce(author.name, () => ( "Unknown")) }),
|
|
33797
33797
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Author" })
|
|
33798
33798
|
] })
|
|
33799
33799
|
] }),
|
|
33800
33800
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 flex-col justify-center", children: [
|
|
33801
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33801
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { children: updatedLabel }),
|
|
33802
33802
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Updated" })
|
|
33803
33803
|
] }),
|
|
33804
33804
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -34171,7 +34171,7 @@ function Highlights({ items, className }) {
|
|
|
34171
34171
|
if (items.length === 0) return null;
|
|
34172
34172
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: _chunk63A4GZMBcjs.cn.call(void 0, "grid grid-cols-1 gap-2", className), children: items.slice(0, HIGHLIGHTS_LIMIT).map((text) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { "data-loading-item": true, className: HIGHLIGHT_ROW_CLASS, children: [
|
|
34173
34173
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: HIGHLIGHT_ICON_PX, className: "shrink-0 text-ods-flamingo-cyan" }),
|
|
34174
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34174
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", triggerClassName: "flex-1", children: text })
|
|
34175
34175
|
] }, text)) });
|
|
34176
34176
|
}
|
|
34177
34177
|
function Example({
|
|
@@ -34207,7 +34207,7 @@ function Example({
|
|
|
34207
34207
|
mark(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _747 => _747.mark]), () => ( requesterMark))),
|
|
34208
34208
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
34209
34209
|
who(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _748 => _748.name]), () => ( labels.requester)), _nullishCoalesce(_optionalChain([requester, 'optionalAccess', _749 => _749.note]), () => ( labels.requesterNote))),
|
|
34210
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34210
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { lines: 2, variant: "h4", className: "min-h-[2lh]", children: `\u201C${example.request}\u201D` })
|
|
34211
34211
|
] })
|
|
34212
34212
|
] }),
|
|
34213
34213
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 gap-2.5 border-t border-ods-border pt-3", children: [
|
|
@@ -34216,7 +34216,7 @@ function Example({
|
|
|
34216
34216
|
who(_nullishCoalesce(_optionalChain([responder, 'optionalAccess', _751 => _751.name]), () => ( labels.responder)), _nullishCoalesce(_optionalChain([responder, 'optionalAccess', _752 => _752.note]), () => ( labels.responderNote))),
|
|
34217
34217
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-start gap-2", children: [
|
|
34218
34218
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: 16, className: "mt-0.5 shrink-0 text-ods-flamingo-cyan" }),
|
|
34219
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34219
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", className: "min-h-[2lh]", triggerClassName: "flex-1", children: example.outcome })
|
|
34220
34220
|
] })
|
|
34221
34221
|
] })
|
|
34222
34222
|
] })
|
|
@@ -34355,13 +34355,13 @@ function CapabilityExplorer({
|
|
|
34355
34355
|
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, "text-ods-flamingo-cyan"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAYMY2VNBcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
34356
34356
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
34357
34357
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
34358
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34358
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
34359
34359
|
item.badge
|
|
34360
34360
|
] }),
|
|
34361
|
-
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34361
|
+
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { variant: "h6", tone: "secondary", children: item.caption })
|
|
34362
34362
|
] })
|
|
34363
34363
|
] }),
|
|
34364
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34364
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { lines: 3, variant: "h6", tone: "secondary", className: "min-h-[3lh]", children: item.intro }),
|
|
34365
34365
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-lg border border-ods-border", children: renderScreen(item, { compact: true }) }),
|
|
34366
34366
|
item.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34367
34367
|
Example,
|
|
@@ -34478,8 +34478,8 @@ function CapabilityExplorer({
|
|
|
34478
34478
|
),
|
|
34479
34479
|
children: [
|
|
34480
34480
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: PANEL_INTRO_CLASS, children: [
|
|
34481
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34482
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34481
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { lines: 2, variant: "h2", className: "mb-2", children: active.title }),
|
|
34482
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXI3AMOW6cjs.TruncateText, { lines: 3, variant: "h4", tone: "secondary", className: "min-h-[3lh]", children: active.intro }),
|
|
34483
34483
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Highlights, { items: _nullishCoalesce(active.highlights, () => ( [])), className: "mt-auto" })
|
|
34484
34484
|
] }),
|
|
34485
34485
|
active.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|