@flamingo-stack/openframe-frontend-core 0.0.771 → 0.0.773
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-ZYGC2A7G.cjs → chunk-2A56MLLL.cjs} +2 -2
- package/dist/{chunk-UG263H4A.cjs → chunk-3FREBLAJ.cjs} +27 -27
- package/dist/{chunk-WT5XF66W.cjs → chunk-42YLIZFD.cjs} +12 -12
- package/dist/{chunk-SETDVBMW.cjs → chunk-6LLF2QCS.cjs} +37 -37
- package/dist/{chunk-4AF5E6E5.cjs → chunk-7J4YWDT6.cjs} +3 -3
- package/dist/{chunk-ALNP25TX.cjs → chunk-7P2QXBWE.cjs} +261 -261
- package/dist/{chunk-JPOIEEFO.cjs → chunk-BMFU2CUL.cjs} +6 -6
- package/dist/{chunk-YI3CDGKM.cjs → chunk-BPAYT72L.cjs} +1 -1
- package/dist/{chunk-GX3JUXYX.cjs → chunk-HEEK42BL.cjs} +46 -46
- package/dist/{chunk-TGPHB7PC.cjs → chunk-I4ZVMNHO.cjs} +3 -3
- package/dist/{chunk-REFL3YNE.cjs → chunk-KDMWXXLE.cjs} +3 -3
- package/dist/{chunk-62P4Q4Q3.cjs → chunk-MT5Z2LSV.cjs} +43 -43
- package/dist/{chunk-L5QJZBZK.cjs → chunk-NPCFVTA2.cjs} +15 -15
- package/dist/{chunk-FT5NPAZY.cjs → chunk-NRFNZ35Z.cjs} +11 -11
- package/dist/{chunk-HFNWBNLE.cjs → chunk-SE76YGR3.cjs} +2 -2
- package/dist/{chunk-2LTJ4457.cjs → chunk-V3W56L2D.cjs} +13 -5
- package/dist/{chunk-4DMYDHCD.cjs → chunk-VW2QQKQ6.cjs} +18 -18
- package/dist/{chunk-NQ4WRB3Y.cjs → chunk-YSKX42LW.cjs} +2 -2
- package/dist/{cloud-tenants-XRXWTUGP.cjs → cloud-tenants-EE5ULFOK.cjs} +4 -4
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/chat/embeddable-chat.d.ts +3 -3
- package/dist/components/chat/embeddable-chat.js +7 -17
- package/dist/components/chat/hooks/use-what-to-ask.d.ts +2 -2
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/help-center-pages/index.cjs +64 -64
- package/dist/components/index.cjs +35 -35
- package/dist/components/meeting-scheduler/index.cjs +34 -34
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/product-demo/index.cjs +14 -14
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/select.d.ts +11 -1
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +13 -5
- package/dist/{devices-L4ER34X7.cjs → devices-EBGGHEGR.cjs} +5 -5
- package/dist/{embeddable-chat-CEAP424I.cjs → embeddable-chat-HCT4QV35.cjs} +7 -17
- package/dist/index.cjs +8 -8
- package/dist/{knowledge-PZYA65GL.cjs → knowledge-5ZSMKKTL.cjs} +4 -4
- package/dist/{logs-GYTZWHDP.cjs → logs-GUV3BMGC.cjs} +12 -12
- package/dist/{policies-OIK7NWJ7.cjs → policies-HPMTDOAS.cjs} +8 -8
- package/dist/{remote-session-3HFVODOT.cjs → remote-session-TC3BZDBZ.cjs} +4 -4
- package/dist/{scripts-K4L3STNZ.cjs → scripts-QYYKCIUW.cjs} +11 -11
- package/dist/{software-update-RWV2RI5C.cjs → software-update-NC2KZKEI.cjs} +8 -8
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +15 -28
- package/src/components/chat/hooks/use-what-to-ask.ts +2 -2
- package/src/components/ui/select.tsx +28 -7
|
@@ -37,7 +37,7 @@ var _chunkRB7VLVMDcjs = require('./chunk-RB7VLVMD.cjs');
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkV3W56L2Dcjs = require('./chunk-V3W56L2D.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
@@ -116,7 +116,7 @@ var _chunkC42WIUH6cjs = require('./chunk-C42WIUH6.cjs');
|
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
var
|
|
119
|
+
var _chunkBPAYT72Lcjs = require('./chunk-BPAYT72L.cjs');
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
@@ -905,7 +905,7 @@ function TimezoneSelect({
|
|
|
905
905
|
}) {
|
|
906
906
|
const options = _react.useMemo.call(void 0, () => timezoneOptions(value), [value]);
|
|
907
907
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
908
|
-
|
|
908
|
+
_chunkV3W56L2Dcjs.Autocomplete,
|
|
909
909
|
{
|
|
910
910
|
className,
|
|
911
911
|
fieldLoading: loading,
|
|
@@ -1734,20 +1734,20 @@ function DatePickerInput(props) {
|
|
|
1734
1734
|
) })
|
|
1735
1735
|
] }),
|
|
1736
1736
|
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
1737
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1738
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1739
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1737
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.Select, { value: hour, onValueChange: handleHourChange, disabled, children: [
|
|
1738
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className: _chunk65VVJSQZcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, { placeholder: "HH" }) }),
|
|
1739
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: hourOptions.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: h, children: h }, h)) })
|
|
1740
1740
|
] }),
|
|
1741
1741
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: ":" }),
|
|
1742
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1743
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1744
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1742
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.Select, { value: minute, onValueChange: handleMinuteChange, disabled, children: [
|
|
1743
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className: _chunk65VVJSQZcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, { placeholder: "MM" }) }),
|
|
1744
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: minuteOptions.map((m) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: m, children: m }, m)) })
|
|
1745
1745
|
] }),
|
|
1746
|
-
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1747
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1748
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1749
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1750
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1746
|
+
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.Select, { value: period, onValueChange: (val) => handlePeriodChange(val), disabled, children: [
|
|
1747
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className: _chunk65VVJSQZcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, { placeholder: "AM" }) }),
|
|
1748
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: [
|
|
1749
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "AM", children: "AM" }),
|
|
1750
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "PM", children: "PM" })
|
|
1751
1751
|
] })
|
|
1752
1752
|
] })
|
|
1753
1753
|
] })
|
|
@@ -1893,9 +1893,9 @@ function DatePickerInputSimple(props) {
|
|
|
1893
1893
|
}
|
|
1894
1894
|
) })
|
|
1895
1895
|
] }),
|
|
1896
|
-
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1897
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1898
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1896
|
+
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.Select, { value: timeValue, onValueChange: handleTimeChange, disabled, children: [
|
|
1897
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className: _chunk65VVJSQZcjs.cn.call(void 0, timeSelectTriggerStyles, "flex-1"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, { placeholder: "Select time", children: timeDisplayLabel || "Select time" }) }),
|
|
1898
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
1899
1899
|
] })
|
|
1900
1900
|
] });
|
|
1901
1901
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXDHVHB2cjs.FieldWrapper, { label, error, errorSlot: "error" in props, className, children: content });
|
|
@@ -1914,14 +1914,14 @@ function DateFilterPanel({
|
|
|
1914
1914
|
className
|
|
1915
1915
|
}) {
|
|
1916
1916
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex flex-col gap-4", className), children: [
|
|
1917
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1918
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1917
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.Select, { value: sort, onValueChange: (value) => onSortChange(value), children: [
|
|
1918
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className: "gap-2", "aria-label": "Sort direction", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
1919
1919
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowUpDown, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
1920
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1920
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, {}) })
|
|
1921
1921
|
] }) }),
|
|
1922
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1923
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1924
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1922
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: [
|
|
1923
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "asc", children: ascLabel }),
|
|
1924
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "desc", children: descLabel })
|
|
1925
1925
|
] })
|
|
1926
1926
|
] }),
|
|
1927
1927
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2785,7 +2785,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2785
2785
|
if (isEditing) {
|
|
2786
2786
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "min-w-0", className), children: [
|
|
2787
2787
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2788
|
-
|
|
2788
|
+
_chunkV3W56L2Dcjs.Autocomplete,
|
|
2789
2789
|
{
|
|
2790
2790
|
options,
|
|
2791
2791
|
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _35 => _35.id]), () => ( null)),
|
|
@@ -3021,7 +3021,7 @@ function MediaTypeSelector({
|
|
|
3021
3021
|
// changed) and cost an extra render pass on every change to say what the
|
|
3022
3022
|
// prop already said.
|
|
3023
3023
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3024
|
-
|
|
3024
|
+
_chunkV3W56L2Dcjs.Select,
|
|
3025
3025
|
{
|
|
3026
3026
|
value: value || void 0,
|
|
3027
3027
|
onValueChange: (next) => {
|
|
@@ -3031,8 +3031,8 @@ function MediaTypeSelector({
|
|
|
3031
3031
|
disabled,
|
|
3032
3032
|
defaultValue: value,
|
|
3033
3033
|
children: [
|
|
3034
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3035
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3034
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, { placeholder }) }),
|
|
3035
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: mediaTypeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: option.value, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
3036
3036
|
option.icon,
|
|
3037
3037
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: option.label })
|
|
3038
3038
|
] }) }, option.value)) })
|
|
@@ -4525,7 +4525,7 @@ function AdminFormDrawer({
|
|
|
4525
4525
|
"form",
|
|
4526
4526
|
{
|
|
4527
4527
|
id: formId,
|
|
4528
|
-
...
|
|
4528
|
+
..._chunkBPAYT72Lcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4529
4529
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4530
4530
|
onSubmit: (e) => {
|
|
4531
4531
|
e.preventDefault();
|
|
@@ -4632,7 +4632,7 @@ function AdminFormModal({
|
|
|
4632
4632
|
"form",
|
|
4633
4633
|
{
|
|
4634
4634
|
id: formId,
|
|
4635
|
-
...
|
|
4635
|
+
..._chunkBPAYT72Lcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4636
4636
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4637
4637
|
onSubmit: (e) => {
|
|
4638
4638
|
e.preventDefault();
|
|
@@ -6022,7 +6022,7 @@ function EmbedViewerFrame({
|
|
|
6022
6022
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6023
6023
|
_react.useEffect.call(void 0, () => {
|
|
6024
6024
|
if (!fullscreenControl) return void 0;
|
|
6025
|
-
const controller = new (0,
|
|
6025
|
+
const controller = new (0, _chunkBPAYT72Lcjs.FullscreenSwitchController)({
|
|
6026
6026
|
target: () => frameRef.current,
|
|
6027
6027
|
onFullscreenChange: setIsFullscreen
|
|
6028
6028
|
});
|
|
@@ -6686,12 +6686,12 @@ var OGLinkPreview = ({
|
|
|
6686
6686
|
children: [
|
|
6687
6687
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TILE_SOURCE_ROW_CLASS, children: [
|
|
6688
6688
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Favicon, { src: `https://www.google.com/s2/favicons?domain=${domain}&sz=32`, size: "w-4 h-4" }),
|
|
6689
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6689
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: name }),
|
|
6690
6690
|
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 })
|
|
6691
6691
|
] }),
|
|
6692
6692
|
kicker != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden text-ods-accent text-h5", style: lineClamp(1), children: kicker }),
|
|
6693
6693
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6694
|
-
|
|
6694
|
+
_chunkV3W56L2Dcjs.TruncateText,
|
|
6695
6695
|
{
|
|
6696
6696
|
lines: 2,
|
|
6697
6697
|
variant: "h3",
|
|
@@ -6700,7 +6700,7 @@ var OGLinkPreview = ({
|
|
|
6700
6700
|
children: curatedTitle || domainToTitle(domain)
|
|
6701
6701
|
}
|
|
6702
6702
|
),
|
|
6703
|
-
curatedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6703
|
+
curatedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", children: curatedDescription })
|
|
6704
6704
|
]
|
|
6705
6705
|
}
|
|
6706
6706
|
);
|
|
@@ -6836,8 +6836,8 @@ var OGLinkPreview = ({
|
|
|
6836
6836
|
children: [
|
|
6837
6837
|
/* @__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 }) }),
|
|
6838
6838
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6839
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6840
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6839
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { className: "font-semibold transition-colors group-hover:text-ods-accent", children: title }),
|
|
6840
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { tone: "secondary", children: description })
|
|
6841
6841
|
] }),
|
|
6842
6842
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExternalLinkIcon, {})
|
|
6843
6843
|
]
|
|
@@ -6884,7 +6884,7 @@ var OGLinkPreview = ({
|
|
|
6884
6884
|
),
|
|
6885
6885
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6886
6886
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6887
|
-
|
|
6887
|
+
_chunkV3W56L2Dcjs.TruncateText,
|
|
6888
6888
|
{
|
|
6889
6889
|
lines: 2,
|
|
6890
6890
|
className: "min-h-[calc(var(--font-line-space-h4-body)*2)] font-semibold transition-colors group-hover:text-ods-accent",
|
|
@@ -6893,7 +6893,7 @@ var OGLinkPreview = ({
|
|
|
6893
6893
|
}
|
|
6894
6894
|
),
|
|
6895
6895
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6896
|
-
|
|
6896
|
+
_chunkV3W56L2Dcjs.TruncateText,
|
|
6897
6897
|
{
|
|
6898
6898
|
lines: 2,
|
|
6899
6899
|
tone: "secondary",
|
|
@@ -6903,9 +6903,9 @@ var OGLinkPreview = ({
|
|
|
6903
6903
|
}
|
|
6904
6904
|
),
|
|
6905
6905
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2 text-ods-text-secondary text-h6", children: [
|
|
6906
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6906
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: effectiveData.siteName }),
|
|
6907
6907
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "\u2022" }),
|
|
6908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: ogDomain }),
|
|
6909
6909
|
meta
|
|
6910
6910
|
] })
|
|
6911
6911
|
] })
|
|
@@ -8055,7 +8055,7 @@ var processShortcodes = (content) => {
|
|
|
8055
8055
|
try {
|
|
8056
8056
|
const urlObj = new URL(url);
|
|
8057
8057
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8058
|
-
const hostIs = (domain) =>
|
|
8058
|
+
const hostIs = (domain) => _chunkBPAYT72Lcjs.hostMatches.call(void 0, hostname, domain);
|
|
8059
8059
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8060
8060
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8061
8061
|
return match;
|
|
@@ -9507,7 +9507,7 @@ function renderAdvancedPageContainer({
|
|
|
9507
9507
|
contentClassName,
|
|
9508
9508
|
showHeader = true
|
|
9509
9509
|
}, inScope = false) {
|
|
9510
|
-
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9510
|
+
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children: _chunk5V7BIUGAcjs.accentSentenceMarks.call(void 0, title) }) : inScope && title === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerTitleSkeleton, {}) : null;
|
|
9511
9511
|
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;
|
|
9512
9512
|
const getActionsVariant = () => {
|
|
9513
9513
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9516,7 +9516,7 @@ function renderAdvancedPageContainer({
|
|
|
9516
9516
|
};
|
|
9517
9517
|
const renderActions = () => {
|
|
9518
9518
|
if (!actions || actions.length === 0) return null;
|
|
9519
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9519
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.PageActions, { variant: getActionsVariant(), actions, menuActions });
|
|
9520
9520
|
};
|
|
9521
9521
|
const needsBottomPadding = actions && actions.length > 0 && getActionsVariant() === "primary-buttons";
|
|
9522
9522
|
const paddingClasses = {
|
|
@@ -9539,7 +9539,7 @@ function renderAdvancedPageContainer({
|
|
|
9539
9539
|
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: [
|
|
9540
9540
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9541
9541
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9542
|
-
|
|
9542
|
+
_chunkV3W56L2Dcjs.BackButton,
|
|
9543
9543
|
{
|
|
9544
9544
|
onClick: backButton.onClick,
|
|
9545
9545
|
label: backButton.label,
|
|
@@ -9559,7 +9559,7 @@ function renderAdvancedPageContainer({
|
|
|
9559
9559
|
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: [
|
|
9560
9560
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
9561
9561
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9562
|
-
|
|
9562
|
+
_chunkV3W56L2Dcjs.BackButton,
|
|
9563
9563
|
{
|
|
9564
9564
|
onClick: backButton.onClick,
|
|
9565
9565
|
label: backButton.label,
|
|
@@ -9579,7 +9579,7 @@ function renderAdvancedPageContainer({
|
|
|
9579
9579
|
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: [
|
|
9580
9580
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9581
9581
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9582
|
-
|
|
9582
|
+
_chunkV3W56L2Dcjs.BackButton,
|
|
9583
9583
|
{
|
|
9584
9584
|
onClick: backButton.onClick,
|
|
9585
9585
|
label: backButton.label,
|
|
@@ -10430,10 +10430,10 @@ var OSTypeBadge = ({
|
|
|
10430
10430
|
if (!osType) {
|
|
10431
10431
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk65VVJSQZcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10432
10432
|
}
|
|
10433
|
-
const normalized =
|
|
10433
|
+
const normalized = _chunkBPAYT72Lcjs.normalizeOSType.call(void 0, osType);
|
|
10434
10434
|
if (!normalized && !labelOnly) return null;
|
|
10435
|
-
const label =
|
|
10436
|
-
const IconComponent =
|
|
10435
|
+
const label = _chunkBPAYT72Lcjs.getOSLabel.call(void 0, osType);
|
|
10436
|
+
const IconComponent = _chunkBPAYT72Lcjs.getOSIcon.call(void 0, osType);
|
|
10437
10437
|
if (iconOnly && IconComponent) {
|
|
10438
10438
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk65VVJSQZcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10439
10439
|
}
|
|
@@ -10718,7 +10718,7 @@ function ComplianceLogo({
|
|
|
10718
10718
|
fallback = null,
|
|
10719
10719
|
className
|
|
10720
10720
|
}) {
|
|
10721
|
-
const standard =
|
|
10721
|
+
const standard = _chunkBPAYT72Lcjs.complianceStandardForName.call(void 0, ...names);
|
|
10722
10722
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10723
10723
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10724
10724
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11441,7 +11441,7 @@ function OrganizationCardSkeleton({
|
|
|
11441
11441
|
"aria-hidden": true,
|
|
11442
11442
|
children: [
|
|
11443
11443
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_HEADER_CLASS, children: [
|
|
11444
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11444
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.EntityImageSkeleton, {}),
|
|
11445
11445
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_TEXT_CLASS, children: [
|
|
11446
11446
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "h3", className: "w-3/4" }),
|
|
11447
11447
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "h6", className: "w-1/2" })
|
|
@@ -11544,7 +11544,7 @@ function OrganizationCard({
|
|
|
11544
11544
|
}
|
|
11545
11545
|
),
|
|
11546
11546
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_HEADER_CLASS, children: [
|
|
11547
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11547
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.EntityImage, { src: fetchedImageUrl || organization.imageUrl, alt: organization.name }),
|
|
11548
11548
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_TEXT_CLASS, children: [
|
|
11549
11549
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "truncate text-ods-text-primary transition-colors text-h3", title: organization.name, children: organization.name }),
|
|
11550
11550
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11594,8 +11594,8 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
11594
11594
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
11595
11595
|
/* @__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 }),
|
|
11596
11596
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
11597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11598
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h3", children: title }),
|
|
11598
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: subtitle })
|
|
11599
11599
|
] })
|
|
11600
11600
|
] }),
|
|
11601
11601
|
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start whitespace-nowrap rounded-full border border-ods-border bg-ods-bg px-3 py-1 font-semibold text-ods-text-primary text-h6", children: tag.label })
|
|
@@ -11731,14 +11731,14 @@ function PersonCell({
|
|
|
11731
11731
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
11732
11732
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
11733
11733
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11734
|
-
|
|
11734
|
+
_chunkV3W56L2Dcjs.TruncateText,
|
|
11735
11735
|
{
|
|
11736
11736
|
variant: scale.primary,
|
|
11737
11737
|
className: onClick ? "text-ods-accent group-hover/person-cell:underline" : void 0,
|
|
11738
11738
|
children: displayName
|
|
11739
11739
|
}
|
|
11740
11740
|
),
|
|
11741
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11741
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: secondary === void 0 ? "\xA0" : secondary || "\xB7" })
|
|
11742
11742
|
] })
|
|
11743
11743
|
] });
|
|
11744
11744
|
if (!onClick) return row;
|
|
@@ -12503,7 +12503,7 @@ function TableHeader({
|
|
|
12503
12503
|
onFilterChange
|
|
12504
12504
|
}
|
|
12505
12505
|
),
|
|
12506
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12506
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBPAYT72Lcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
12507
12507
|
] })
|
|
12508
12508
|
) : (
|
|
12509
12509
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -12529,7 +12529,7 @@ function TableHeader({
|
|
|
12529
12529
|
hint exists, so a hint-less header keeps its DOM. */
|
|
12530
12530
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12531
12531
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
12532
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12532
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBPAYT72Lcjs.InfoHint, { label: column.label, children: column.hint })
|
|
12533
12533
|
] })
|
|
12534
12534
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
12535
12535
|
getSortIcon(column)
|
|
@@ -12639,7 +12639,7 @@ function TableRow({
|
|
|
12639
12639
|
const Row = animate && motionDiv ? motionDiv : "div";
|
|
12640
12640
|
const motionProps = animate ? { layout: "position", transition: { layout: { duration: 0.35, ease: [0.22, 1, 0.36, 1] } } } : {};
|
|
12641
12641
|
const handleRowClick = (e) => {
|
|
12642
|
-
if (!
|
|
12642
|
+
if (!_chunkBPAYT72Lcjs.isOwnClick.call(void 0, e.target, e.currentTarget)) return;
|
|
12643
12643
|
if (onClick) {
|
|
12644
12644
|
onClick(item);
|
|
12645
12645
|
}
|
|
@@ -13418,7 +13418,7 @@ function DataTableRowImpl({
|
|
|
13418
13418
|
const containerRef = _react.useRef.call(void 0, null);
|
|
13419
13419
|
const handleClick = _react.useCallback.call(void 0,
|
|
13420
13420
|
(e) => {
|
|
13421
|
-
if (!
|
|
13421
|
+
if (!_chunkBPAYT72Lcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
13422
13422
|
if (isLinkMode) e.preventDefault();
|
|
13423
13423
|
return;
|
|
13424
13424
|
}
|
|
@@ -13869,7 +13869,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13869
13869
|
// child of the cell.
|
|
13870
13870
|
_optionalChain([meta, 'optionalAccess', _241 => _241.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13871
13871
|
filterTrigger,
|
|
13872
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13872
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBPAYT72Lcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13873
13873
|
] }) : filterTrigger
|
|
13874
13874
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13875
13875
|
"div",
|
|
@@ -13894,7 +13894,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13894
13894
|
// centred on the row.
|
|
13895
13895
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13896
13896
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13897
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13897
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBPAYT72Lcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13898
13898
|
] })
|
|
13899
13899
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13900
13900
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -14128,7 +14128,7 @@ function PhoneInput({
|
|
|
14128
14128
|
placeholder = "Phone Number (optional)",
|
|
14129
14129
|
onKeyDown
|
|
14130
14130
|
}) {
|
|
14131
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
14131
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkBPAYT72Lcjs.getCountryPhoneData.call(void 0, ), []);
|
|
14132
14132
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
14133
14133
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
14134
14134
|
[countryCode, priority, others]
|
|
@@ -14143,7 +14143,7 @@ function PhoneInput({
|
|
|
14143
14143
|
_optionalChain([onValidationChange, 'optionalCall', _254 => _254(false)]);
|
|
14144
14144
|
return;
|
|
14145
14145
|
}
|
|
14146
|
-
const invalid = !
|
|
14146
|
+
const invalid = !_chunkBPAYT72Lcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
14147
14147
|
setIsInvalid(invalid);
|
|
14148
14148
|
_optionalChain([onValidationChange, 'optionalCall', _255 => _255(invalid)]);
|
|
14149
14149
|
},
|
|
@@ -14163,7 +14163,7 @@ function PhoneInput({
|
|
|
14163
14163
|
}, []);
|
|
14164
14164
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 gap-2", children: [
|
|
14165
14165
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14166
|
-
|
|
14166
|
+
_chunkV3W56L2Dcjs.Select,
|
|
14167
14167
|
{
|
|
14168
14168
|
value: countryCode,
|
|
14169
14169
|
onValueChange: (val) => {
|
|
@@ -14174,14 +14174,14 @@ function PhoneInput({
|
|
|
14174
14174
|
},
|
|
14175
14175
|
disabled,
|
|
14176
14176
|
children: [
|
|
14177
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14177
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className: "w-[130px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, { children: selectedCountry && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5", children: [
|
|
14178
14178
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.flag }),
|
|
14179
14179
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.dialCode })
|
|
14180
14180
|
] }) }) }),
|
|
14181
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14182
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14183
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14184
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14181
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { className: "max-h-[300px] !w-[280px]", children: [
|
|
14182
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectGroup, { children: priority.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) }),
|
|
14183
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectSeparator, {}),
|
|
14184
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectGroup, { children: others.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) })
|
|
14185
14185
|
] })
|
|
14186
14186
|
]
|
|
14187
14187
|
}
|
|
@@ -14213,7 +14213,7 @@ function PhoneInput({
|
|
|
14213
14213
|
] });
|
|
14214
14214
|
}
|
|
14215
14215
|
function CountryOption({ country }) {
|
|
14216
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14216
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: country.code, textValue: country.name, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-2", children: [
|
|
14217
14217
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: country.flag }),
|
|
14218
14218
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary", children: country.dialCode }),
|
|
14219
14219
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-block max-w-[140px] overflow-hidden text-ellipsis whitespace-nowrap", children: country.name })
|
|
@@ -14599,7 +14599,7 @@ function SearchInput({
|
|
|
14599
14599
|
)
|
|
14600
14600
|
] }),
|
|
14601
14601
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14602
|
-
|
|
14602
|
+
_chunkV3W56L2Dcjs.HiddenTagsPopup,
|
|
14603
14603
|
{
|
|
14604
14604
|
ref: hiddenTagsPopupRef,
|
|
14605
14605
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
@@ -14893,7 +14893,7 @@ function TagSearchInput({
|
|
|
14893
14893
|
}
|
|
14894
14894
|
),
|
|
14895
14895
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14896
|
-
|
|
14896
|
+
_chunkV3W56L2Dcjs.HiddenTagsPopup,
|
|
14897
14897
|
{
|
|
14898
14898
|
ref: hiddenTagsPopupRef,
|
|
14899
14899
|
items: hiddenTags,
|
|
@@ -16966,7 +16966,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
16966
16966
|
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: [
|
|
16967
16967
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16968
16968
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHJE3UWZcjs.ColorSwatch, { color }),
|
|
16969
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16969
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
16970
16970
|
] }),
|
|
16971
16971
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
16972
16972
|
] });
|
|
@@ -16976,7 +16976,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
16976
16976
|
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: [
|
|
16977
16977
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16978
16978
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
16979
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16979
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
16980
16980
|
] }),
|
|
16981
16981
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
16982
16982
|
] });
|
|
@@ -17020,7 +17020,7 @@ function TakeOverTicketModal({
|
|
|
17020
17020
|
] }),
|
|
17021
17021
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
17022
17022
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17023
|
-
|
|
17023
|
+
_chunkV3W56L2Dcjs.Autocomplete,
|
|
17024
17024
|
{
|
|
17025
17025
|
label: "Status",
|
|
17026
17026
|
options: statusOptions,
|
|
@@ -17032,7 +17032,7 @@ function TakeOverTicketModal({
|
|
|
17032
17032
|
}
|
|
17033
17033
|
) }),
|
|
17034
17034
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17035
|
-
|
|
17035
|
+
_chunkV3W56L2Dcjs.Autocomplete,
|
|
17036
17036
|
{
|
|
17037
17037
|
label: "Assigned",
|
|
17038
17038
|
options: assigneeOptions,
|
|
@@ -17123,7 +17123,7 @@ function ReopenTicketModal({
|
|
|
17123
17123
|
] }),
|
|
17124
17124
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
17125
17125
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17126
|
-
|
|
17126
|
+
_chunkV3W56L2Dcjs.Autocomplete,
|
|
17127
17127
|
{
|
|
17128
17128
|
label: "Status",
|
|
17129
17129
|
options: statusOptions,
|
|
@@ -17135,7 +17135,7 @@ function ReopenTicketModal({
|
|
|
17135
17135
|
}
|
|
17136
17136
|
) }),
|
|
17137
17137
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17138
|
-
|
|
17138
|
+
_chunkV3W56L2Dcjs.Autocomplete,
|
|
17139
17139
|
{
|
|
17140
17140
|
label: "Assigned",
|
|
17141
17141
|
options: assigneeOptions,
|
|
@@ -17628,7 +17628,7 @@ function ProductScreenFrame({
|
|
|
17628
17628
|
style: { height },
|
|
17629
17629
|
children: [
|
|
17630
17630
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.CollisionBoundaryContext.Provider, { value: frame, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { inert: true, "aria-hidden": true, className: "ods-content-area", style: screenStyle, children: [
|
|
17631
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ods-content-scope", children: mode === "pending" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.LoadingScope, { bare: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17631
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ods-content-scope", children: mode === "pending" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.LoadingScope, { bare: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.PagePicture, { children }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.PagePicture, { children }) }),
|
|
17632
17632
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, style: { display: "contents" } })
|
|
17633
17633
|
] }) }) }),
|
|
17634
17634
|
fade && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17764,7 +17764,7 @@ function PhoneFrame({ dateLabel, timeLabel, children, className }) {
|
|
|
17764
17764
|
"div",
|
|
17765
17765
|
{
|
|
17766
17766
|
className: _chunk65VVJSQZcjs.cn.call(void 0, "h-[617px] w-[299px] shrink-0 rounded-[48px] border border-ods-border bg-black p-2.5", className),
|
|
17767
|
-
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "relative flex h-full flex-col overflow-hidden rounded-[38px]",
|
|
17767
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "relative flex h-full flex-col overflow-hidden rounded-[38px]", _chunkV3W56L2Dcjs.DEVICE_WALLPAPER_CLASS), children: [
|
|
17768
17768
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17769
17769
|
"div",
|
|
17770
17770
|
{
|
|
@@ -17956,7 +17956,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17956
17956
|
};
|
|
17957
17957
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17958
17958
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17959
|
-
const labels =
|
|
17959
|
+
const labels = _chunkBPAYT72Lcjs.trialLabels.call(void 0, trialDays);
|
|
17960
17960
|
return terms.flatMap((term) => {
|
|
17961
17961
|
const label = labels[term];
|
|
17962
17962
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -20113,9 +20113,9 @@ function ChangelogManager({
|
|
|
20113
20113
|
] }),
|
|
20114
20114
|
tagOptions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20115
20115
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFL2RMEDXcjs.Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
20116
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20117
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20118
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20116
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.Select, { value: _nullishCoalesce(entry.tag, () => ( "")), onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
20117
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, { placeholder: tagLabel }) }),
|
|
20118
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: tagOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
20119
20119
|
] })
|
|
20120
20120
|
] })
|
|
20121
20121
|
] })
|
|
@@ -21891,17 +21891,17 @@ function MediaGalleryManager({
|
|
|
21891
21891
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21892
21892
|
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" }),
|
|
21893
21893
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21894
|
-
|
|
21894
|
+
_chunkV3W56L2Dcjs.Select,
|
|
21895
21895
|
{
|
|
21896
21896
|
value: item.media_type,
|
|
21897
21897
|
onValueChange: (value) => update(index, { media_type: value }),
|
|
21898
21898
|
children: [
|
|
21899
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21900
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21901
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21902
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21903
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21899
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className: "h-8 bg-ods-bg text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, {}) }),
|
|
21900
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { className: "bg-ods-card", children: [
|
|
21901
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "image", children: "Image" }),
|
|
21902
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "video", children: "Video" }),
|
|
21903
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "screenshot", children: "Screenshot" }),
|
|
21904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "demo", children: "Demo" })
|
|
21905
21905
|
] })
|
|
21906
21906
|
]
|
|
21907
21907
|
}
|
|
@@ -22282,7 +22282,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
22282
22282
|
empty: "No token rates are in effect right now."
|
|
22283
22283
|
};
|
|
22284
22284
|
function providerMark(providerType, stated, className) {
|
|
22285
|
-
const Mark = _chunk5P4TDV7Vcjs.findIcon.call(void 0,
|
|
22285
|
+
const Mark = _chunk5P4TDV7Vcjs.findIcon.call(void 0, _chunkBPAYT72Lcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
22286
22286
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
22287
22287
|
}
|
|
22288
22288
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -22300,7 +22300,7 @@ var UNIT_LINE_CLASS = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
|
22300
22300
|
var TABS_ROW_CLASS = _chunk65VVJSQZcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
22301
22301
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
22302
22302
|
function useProviderGroup(rates) {
|
|
22303
|
-
const groups =
|
|
22303
|
+
const groups = _chunkBPAYT72Lcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
22304
22304
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
22305
22305
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
22306
22306
|
}
|
|
@@ -22319,7 +22319,7 @@ function ProviderTabs({
|
|
|
22319
22319
|
onValueChange,
|
|
22320
22320
|
items: groups.map((candidate) => ({
|
|
22321
22321
|
id: candidate.providerType,
|
|
22322
|
-
label:
|
|
22322
|
+
label: _chunkBPAYT72Lcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _455 => _455.rates, 'access', _456 => _456[0], 'optionalAccess', _457 => _457.providerLabel])),
|
|
22323
22323
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _458 => _458.rates, 'access', _459 => _459[0], 'optionalAccess', _460 => _460.providerIcon]), "size-full")
|
|
22324
22324
|
})),
|
|
22325
22325
|
className
|
|
@@ -22397,8 +22397,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22397
22397
|
] }),
|
|
22398
22398
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "rowgroup", className: "min-h-0 flex-1 overflow-y-auto", children: group.rates.map((rate) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { role: "row", className: BODY_ROW_CLASS, children: [
|
|
22399
22399
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22400
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22401
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22400
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkBPAYT72Lcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22401
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkBPAYT72Lcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22402
22402
|
] }, rate.modelName)) })
|
|
22403
22403
|
] }),
|
|
22404
22404
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -22448,7 +22448,7 @@ function modelOption(rate) {
|
|
|
22448
22448
|
return {
|
|
22449
22449
|
label: rate.displayName || rate.modelName,
|
|
22450
22450
|
value: rate.modelName,
|
|
22451
|
-
description:
|
|
22451
|
+
description: _chunkBPAYT72Lcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22452
22452
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22453
22453
|
};
|
|
22454
22454
|
}
|
|
@@ -22502,8 +22502,8 @@ function ModelTokenExchange({
|
|
|
22502
22502
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22503
22503
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _461 => _461.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22504
22504
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22505
|
-
const tokens =
|
|
22506
|
-
const cost =
|
|
22505
|
+
const tokens = _chunkBPAYT72Lcjs.formatTokenAmount.call(void 0, balance);
|
|
22506
|
+
const cost = _chunkBPAYT72Lcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22507
22507
|
const balancePrice = cost === null ? null : _chunkHY6BCZH7cjs.formatPrice.call(void 0, cost);
|
|
22508
22508
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22509
22509
|
const options = models.map(modelOption);
|
|
@@ -22545,7 +22545,7 @@ function ModelTokenExchange({
|
|
|
22545
22545
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22546
22546
|
size: "small",
|
|
22547
22547
|
onClick: () => setChosen(preset.tokens),
|
|
22548
|
-
children: copy.buy.preset(
|
|
22548
|
+
children: copy.buy.preset(_chunkBPAYT72Lcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22549
22549
|
},
|
|
22550
22550
|
preset.label
|
|
22551
22551
|
)) })
|
|
@@ -22562,7 +22562,7 @@ function ModelTokenExchange({
|
|
|
22562
22562
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _462 => _462.providerType]) === providerType ? rate : null)));
|
|
22563
22563
|
return {
|
|
22564
22564
|
id: providerType,
|
|
22565
|
-
name:
|
|
22565
|
+
name: _chunkBPAYT72Lcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _463 => _463.providerLabel])),
|
|
22566
22566
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _464 => _464.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22567
22567
|
};
|
|
22568
22568
|
}),
|
|
@@ -22574,7 +22574,7 @@ function ModelTokenExchange({
|
|
|
22574
22574
|
}
|
|
22575
22575
|
),
|
|
22576
22576
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22577
|
-
|
|
22577
|
+
_chunkV3W56L2Dcjs.Autocomplete,
|
|
22578
22578
|
{
|
|
22579
22579
|
fieldLoading: loading,
|
|
22580
22580
|
label: copy.use.model,
|
|
@@ -22601,7 +22601,7 @@ function ModelTokenExchange({
|
|
|
22601
22601
|
{
|
|
22602
22602
|
size: "plain",
|
|
22603
22603
|
loading,
|
|
22604
|
-
figure:
|
|
22604
|
+
figure: _chunkBPAYT72Lcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _469 => _469.inputTokenRate])),
|
|
22605
22605
|
words: copy.charge.input
|
|
22606
22606
|
}
|
|
22607
22607
|
),
|
|
@@ -22610,7 +22610,7 @@ function ModelTokenExchange({
|
|
|
22610
22610
|
{
|
|
22611
22611
|
size: "plain",
|
|
22612
22612
|
loading,
|
|
22613
|
-
figure:
|
|
22613
|
+
figure: _chunkBPAYT72Lcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _470 => _470.outputTokenRate])),
|
|
22614
22614
|
words: copy.charge.output
|
|
22615
22615
|
}
|
|
22616
22616
|
)
|
|
@@ -22622,9 +22622,9 @@ function ModelTokenExchange({
|
|
|
22622
22622
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22623
22623
|
children: [
|
|
22624
22624
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22625
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22625
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkBPAYT72Lcjs.formatTokenAmount.call(void 0, _chunkBPAYT72Lcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22626
22626
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22627
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22627
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkBPAYT72Lcjs.formatTokenAmount.call(void 0, _chunkBPAYT72Lcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22628
22628
|
]
|
|
22629
22629
|
}
|
|
22630
22630
|
)
|
|
@@ -23163,14 +23163,14 @@ var ConfidenceBadge = ({
|
|
|
23163
23163
|
size = "sm",
|
|
23164
23164
|
className
|
|
23165
23165
|
}) => {
|
|
23166
|
-
const level =
|
|
23166
|
+
const level = _chunkBPAYT72Lcjs.getConfidenceLevel.call(void 0, confidence);
|
|
23167
23167
|
if (level === "none") {
|
|
23168
23168
|
return null;
|
|
23169
23169
|
}
|
|
23170
|
-
const label =
|
|
23171
|
-
const borderClass =
|
|
23172
|
-
const textClass =
|
|
23173
|
-
const bgClass =
|
|
23170
|
+
const label = _chunkBPAYT72Lcjs.getConfidenceLabel.call(void 0, confidence);
|
|
23171
|
+
const borderClass = _chunkBPAYT72Lcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
23172
|
+
const textClass = _chunkBPAYT72Lcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
23173
|
+
const bgClass = _chunkBPAYT72Lcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
23174
23174
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23175
23175
|
"span",
|
|
23176
23176
|
{
|
|
@@ -23221,9 +23221,9 @@ function SEOEditorPreview({
|
|
|
23221
23221
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
23222
23222
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
23223
23223
|
const seoTitleLength = (seoTitle || "").length;
|
|
23224
|
-
const seoTitleTooLong = seoTitleLength >
|
|
23224
|
+
const seoTitleTooLong = seoTitleLength > _chunkBPAYT72Lcjs.SEO_TITLE_MAX_LENGTH;
|
|
23225
23225
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
23226
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
23226
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkBPAYT72Lcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
23227
23227
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
23228
23228
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
23229
23229
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -23248,10 +23248,10 @@ function SEOEditorPreview({
|
|
|
23248
23248
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23249
23249
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23250
23250
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23251
|
-
|
|
23251
|
+
_chunkBPAYT72Lcjs.Field,
|
|
23252
23252
|
{
|
|
23253
23253
|
label: "SEO Title",
|
|
23254
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
23254
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkBPAYT72Lcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
23255
23255
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23256
23256
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23257
23257
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -23266,7 +23266,7 @@ function SEOEditorPreview({
|
|
|
23266
23266
|
children: [
|
|
23267
23267
|
seoTitleLength,
|
|
23268
23268
|
"/",
|
|
23269
|
-
|
|
23269
|
+
_chunkBPAYT72Lcjs.SEO_TITLE_MAX_LENGTH
|
|
23270
23270
|
]
|
|
23271
23271
|
}
|
|
23272
23272
|
),
|
|
@@ -23277,7 +23277,7 @@ function SEOEditorPreview({
|
|
|
23277
23277
|
value: seoTitle || "",
|
|
23278
23278
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
23279
23279
|
disabled,
|
|
23280
|
-
maxLength:
|
|
23280
|
+
maxLength: _chunkBPAYT72Lcjs.SEO_TITLE_MAX_LENGTH,
|
|
23281
23281
|
invalid: seoTitleTooLong,
|
|
23282
23282
|
placeholder: "Enter SEO meta title...",
|
|
23283
23283
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -23288,7 +23288,7 @@ function SEOEditorPreview({
|
|
|
23288
23288
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
23289
23289
|
] }),
|
|
23290
23290
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23291
|
-
|
|
23291
|
+
_chunkBPAYT72Lcjs.Field,
|
|
23292
23292
|
{
|
|
23293
23293
|
label: "SEO Keywords",
|
|
23294
23294
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -23320,10 +23320,10 @@ function SEOEditorPreview({
|
|
|
23320
23320
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23321
23321
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23322
23322
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23323
|
-
|
|
23323
|
+
_chunkBPAYT72Lcjs.Field,
|
|
23324
23324
|
{
|
|
23325
23325
|
label: "SEO Description",
|
|
23326
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
23326
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkBPAYT72Lcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
23327
23327
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23328
23328
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23329
23329
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23346,7 +23346,7 @@ function SEOEditorPreview({
|
|
|
23346
23346
|
children: [
|
|
23347
23347
|
seoDescriptionLength,
|
|
23348
23348
|
"/",
|
|
23349
|
-
|
|
23349
|
+
_chunkBPAYT72Lcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
23350
23350
|
]
|
|
23351
23351
|
}
|
|
23352
23352
|
),
|
|
@@ -23357,7 +23357,7 @@ function SEOEditorPreview({
|
|
|
23357
23357
|
value: seoDescription || "",
|
|
23358
23358
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
23359
23359
|
disabled,
|
|
23360
|
-
maxLength:
|
|
23360
|
+
maxLength: _chunkBPAYT72Lcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
23361
23361
|
invalid: seoDescriptionTooLong,
|
|
23362
23362
|
placeholder: "Enter SEO meta description...",
|
|
23363
23363
|
className: _chunk65VVJSQZcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23510,7 +23510,7 @@ function socialIcon(platform) {
|
|
|
23510
23510
|
return _nullishCoalesce(_chunk5P4TDV7Vcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23511
23511
|
}
|
|
23512
23512
|
function renderSocialIcon(platform) {
|
|
23513
|
-
const key = _nullishCoalesce(
|
|
23513
|
+
const key = _nullishCoalesce(_chunkBPAYT72Lcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23514
23514
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23515
23515
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23516
23516
|
}
|
|
@@ -23597,7 +23597,7 @@ function SocialLinksManager({
|
|
|
23597
23597
|
};
|
|
23598
23598
|
const getIcon = (link, platform) => {
|
|
23599
23599
|
const iconKey = _optionalChain([platform, 'optionalAccess', _480 => _480.icon_name]) || link.platform;
|
|
23600
|
-
const key =
|
|
23600
|
+
const key = _chunkBPAYT72Lcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23601
23601
|
if (!key) return null;
|
|
23602
23602
|
const icon = socialIcon(key);
|
|
23603
23603
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23613,9 +23613,9 @@ function SocialLinksManager({
|
|
|
23613
23613
|
children: [
|
|
23614
23614
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 items-center justify-center", children: Icon }),
|
|
23615
23615
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid flex-1 grid-cols-2 gap-3", children: [
|
|
23616
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23617
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23618
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23616
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.Select, { value: link.platform, onValueChange: (value) => updateLink(index, "platform", value), children: [
|
|
23617
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, {}) }),
|
|
23618
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: platforms.map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: p.name, children: p.display_name }, p.name)) })
|
|
23619
23619
|
] }) }),
|
|
23620
23620
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23621
23621
|
_chunkYXDHVHB2cjs.Input,
|
|
@@ -23633,15 +23633,15 @@ function SocialLinksManager({
|
|
|
23633
23633
|
)
|
|
23634
23634
|
] }),
|
|
23635
23635
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23636
|
-
|
|
23636
|
+
_chunkV3W56L2Dcjs.Select,
|
|
23637
23637
|
{
|
|
23638
23638
|
value: _nullishCoalesce(link.visibility, () => ( "external")),
|
|
23639
23639
|
onValueChange: (value) => updateLink(index, "visibility", value),
|
|
23640
23640
|
children: [
|
|
23641
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23642
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23643
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23644
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23641
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className: "w-[120px] shrink-0", "aria-label": "Social link visibility", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, {}) }),
|
|
23642
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: [
|
|
23643
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "external", children: "Public" }),
|
|
23644
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "internal", children: "Internal" })
|
|
23645
23645
|
] })
|
|
23646
23646
|
]
|
|
23647
23647
|
}
|
|
@@ -24094,7 +24094,7 @@ function WalkthroughVideo({
|
|
|
24094
24094
|
onOpenChange,
|
|
24095
24095
|
defaultOpen,
|
|
24096
24096
|
defaultOpenPaused,
|
|
24097
|
-
deepLinkParam =
|
|
24097
|
+
deepLinkParam = _chunkBPAYT72Lcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
24098
24098
|
autoPlayCard = false,
|
|
24099
24099
|
label = "Play Demo Video",
|
|
24100
24100
|
placement,
|
|
@@ -24111,7 +24111,7 @@ function WalkthroughVideo({
|
|
|
24111
24111
|
const inline = placement === "inline";
|
|
24112
24112
|
const inScope = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
24113
24113
|
const dismissEnabled = dismissal !== false;
|
|
24114
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
24114
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkBPAYT72Lcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24115
24115
|
const dismissalId = _optionalChain([video, 'optionalAccess', _486 => _486.id]) != null ? String(video.id) : "dismissed";
|
|
24116
24116
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24117
24117
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -24123,7 +24123,7 @@ function WalkthroughVideo({
|
|
|
24123
24123
|
let delayElapsed = false;
|
|
24124
24124
|
let interacted = inline;
|
|
24125
24125
|
const reveal = () => {
|
|
24126
|
-
if (dismissEnabled &&
|
|
24126
|
+
if (dismissEnabled && _chunkBPAYT72Lcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
24127
24127
|
setDismissed(true);
|
|
24128
24128
|
return;
|
|
24129
24129
|
}
|
|
@@ -24410,7 +24410,7 @@ function WalkthroughVideo({
|
|
|
24410
24410
|
(e) => {
|
|
24411
24411
|
e.stopPropagation();
|
|
24412
24412
|
pausePreviewNow();
|
|
24413
|
-
if (dismissEnabled)
|
|
24413
|
+
if (dismissEnabled) _chunkBPAYT72Lcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24414
24414
|
setDismissed(true);
|
|
24415
24415
|
},
|
|
24416
24416
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -25409,19 +25409,19 @@ function HighlightVideoSection({
|
|
|
25409
25409
|
/* @__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: [
|
|
25410
25410
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFL2RMEDXcjs.Label, { children: "Target Duration" }),
|
|
25411
25411
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25412
|
-
|
|
25412
|
+
_chunkV3W56L2Dcjs.Select,
|
|
25413
25413
|
{
|
|
25414
25414
|
value: targetDurationSeconds.toString(),
|
|
25415
25415
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
25416
25416
|
disabled,
|
|
25417
25417
|
children: [
|
|
25418
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25419
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25420
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25421
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25422
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25423
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25424
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25418
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className: "mt-1 bg-ods-bg-surface", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, {}) }),
|
|
25419
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { className: "bg-ods-card", children: [
|
|
25420
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
25421
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
25422
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
25423
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
25424
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
25425
25425
|
] })
|
|
25426
25426
|
]
|
|
25427
25427
|
}
|
|
@@ -25506,20 +25506,20 @@ function HighlightConfigSection({
|
|
|
25506
25506
|
disabled = false,
|
|
25507
25507
|
className = ""
|
|
25508
25508
|
}) {
|
|
25509
|
-
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,
|
|
25510
|
-
|
|
25509
|
+
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, _chunkBPAYT72Lcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25510
|
+
_chunkV3W56L2Dcjs.Select,
|
|
25511
25511
|
{
|
|
25512
25512
|
value: targetDurationSeconds.toString(),
|
|
25513
25513
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
25514
25514
|
disabled,
|
|
25515
25515
|
children: [
|
|
25516
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25517
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25518
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25519
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25520
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25522
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25516
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { id: f.id, className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, {}) }),
|
|
25517
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { className: "bg-ods-card", children: [
|
|
25518
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
25519
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
25520
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
25521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
25522
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
25523
25523
|
] })
|
|
25524
25524
|
]
|
|
25525
25525
|
}
|
|
@@ -25607,7 +25607,7 @@ var AIStatusIndicator = ({
|
|
|
25607
25607
|
}) => {
|
|
25608
25608
|
const config = statusConfig[status];
|
|
25609
25609
|
const displayText = message || config.label;
|
|
25610
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25610
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkBPAYT72Lcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25611
25611
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25612
25612
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25613
25613
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25615,7 +25615,7 @@ var AIStatusIndicator = ({
|
|
|
25615
25615
|
size: 16,
|
|
25616
25616
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
25617
25617
|
status === "loading" && _chunkXFRBEXQNcjs.LIVE_PULSE_CLASS,
|
|
25618
|
-
confidence !== void 0 && status === "success" ?
|
|
25618
|
+
confidence !== void 0 && status === "success" ? _chunkBPAYT72Lcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25619
25619
|
)
|
|
25620
25620
|
}
|
|
25621
25621
|
),
|
|
@@ -25624,7 +25624,7 @@ var AIStatusIndicator = ({
|
|
|
25624
25624
|
{
|
|
25625
25625
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
25626
25626
|
"text-h6",
|
|
25627
|
-
confidence !== void 0 && status === "success" ?
|
|
25627
|
+
confidence !== void 0 && status === "success" ? _chunkBPAYT72Lcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25628
25628
|
),
|
|
25629
25629
|
children: displayText
|
|
25630
25630
|
}
|
|
@@ -25634,8 +25634,8 @@ var AIStatusIndicator = ({
|
|
|
25634
25634
|
{
|
|
25635
25635
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
25636
25636
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25637
|
-
|
|
25638
|
-
|
|
25637
|
+
_chunkBPAYT72Lcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25638
|
+
_chunkBPAYT72Lcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25639
25639
|
),
|
|
25640
25640
|
children: confidenceLabel
|
|
25641
25641
|
}
|
|
@@ -26507,8 +26507,8 @@ function PoliciesTable({
|
|
|
26507
26507
|
accessorKey: "name",
|
|
26508
26508
|
header: "Name",
|
|
26509
26509
|
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: [
|
|
26510
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26511
|
-
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26510
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: row.original.name }),
|
|
26511
|
+
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.description })
|
|
26512
26512
|
] }),
|
|
26513
26513
|
meta: { width: "flex-1 min-w-0" }
|
|
26514
26514
|
},
|
|
@@ -26562,7 +26562,7 @@ function PoliciesTable({
|
|
|
26562
26562
|
cell: ({ row }) => row.original.href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26563
26563
|
_chunkTF5D5MNOcjs.Button,
|
|
26564
26564
|
{
|
|
26565
|
-
onClick:
|
|
26565
|
+
onClick: _chunkBPAYT72Lcjs.openInNewTab.call(void 0, row.original.href),
|
|
26566
26566
|
variant: "outline",
|
|
26567
26567
|
size: "icon",
|
|
26568
26568
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26791,7 +26791,7 @@ function usersCountLabel(count) {
|
|
|
26791
26791
|
function TenantAccessCell({ accessState, lastReadAt: lastReadAt2, now }) {
|
|
26792
26792
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26793
26793
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.Tag, { ...accessStateTag(accessState), className: "self-start" }),
|
|
26794
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26794
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: `Last read: ${formatLastRead(lastReadAt2, now)}` })
|
|
26795
26795
|
] });
|
|
26796
26796
|
}
|
|
26797
26797
|
|
|
@@ -26802,9 +26802,9 @@ function TenantCell({ provider, name, domain }) {
|
|
|
26802
26802
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26803
26803
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26804
26804
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Logo, { size: 24, role: "img", "aria-label": label, className: "shrink-0" }),
|
|
26805
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26805
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: name })
|
|
26806
26806
|
] }),
|
|
26807
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26807
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(domain, () => ( TENANT_EMPTY_VALUE)) })
|
|
26808
26808
|
] });
|
|
26809
26809
|
}
|
|
26810
26810
|
|
|
@@ -26814,9 +26814,9 @@ function TenantCustomerCell({ name, imageUrl, userCount }) {
|
|
|
26814
26814
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26815
26815
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26816
26816
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.SquareAvatar, { src: _nullishCoalesce(imageUrl, () => ( void 0)), alt: name, fallback: name, size: "xs", variant: "square" }),
|
|
26817
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26817
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: name })
|
|
26818
26818
|
] }),
|
|
26819
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26819
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: usersCountLabel(userCount) })
|
|
26820
26820
|
] });
|
|
26821
26821
|
}
|
|
26822
26822
|
|
|
@@ -26888,7 +26888,7 @@ function TenantsTableView({
|
|
|
26888
26888
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26889
26889
|
_chunkTF5D5MNOcjs.Button,
|
|
26890
26890
|
{
|
|
26891
|
-
onClick:
|
|
26891
|
+
onClick: _chunkBPAYT72Lcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
26892
26892
|
variant: "outline",
|
|
26893
26893
|
size: "icon",
|
|
26894
26894
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26984,7 +26984,7 @@ function WaitlistForm({
|
|
|
26984
26984
|
_react.useEffect.call(void 0, () => {
|
|
26985
26985
|
rescue.track({ email, phone }, null);
|
|
26986
26986
|
}, [email, phone, rescue]);
|
|
26987
|
-
const isMailDomainGeneric =
|
|
26987
|
+
const isMailDomainGeneric = _chunkBPAYT72Lcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26988
26988
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26989
26989
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26990
26990
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -27018,7 +27018,7 @@ function WaitlistForm({
|
|
|
27018
27018
|
setShowConsentError(true);
|
|
27019
27019
|
return;
|
|
27020
27020
|
}
|
|
27021
|
-
const finalPhone = phone ?
|
|
27021
|
+
const finalPhone = phone ? _chunkBPAYT72Lcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
27022
27022
|
try {
|
|
27023
27023
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
27024
27024
|
rescue.complete();
|
|
@@ -28701,7 +28701,7 @@ function TimeTrackerPanel({
|
|
|
28701
28701
|
] }),
|
|
28702
28702
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "grid gap-[var(--spacing-system-m)]", showCustomer && "grid-cols-2"), children: [
|
|
28703
28703
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28704
|
-
|
|
28704
|
+
_chunkV3W56L2Dcjs.Autocomplete,
|
|
28705
28705
|
{
|
|
28706
28706
|
value: selectedTicketId,
|
|
28707
28707
|
onChange: onSelectedTicketChange,
|
|
@@ -28717,7 +28717,7 @@ function TimeTrackerPanel({
|
|
|
28717
28717
|
}
|
|
28718
28718
|
),
|
|
28719
28719
|
showCustomer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28720
|
-
|
|
28720
|
+
_chunkV3W56L2Dcjs.Autocomplete,
|
|
28721
28721
|
{
|
|
28722
28722
|
value: _nullishCoalesce(selectedCustomerId, () => ( null)),
|
|
28723
28723
|
onChange: onSelectedCustomerChange,
|
|
@@ -29157,7 +29157,7 @@ function getDeviceStatusConfig(status) {
|
|
|
29157
29157
|
}
|
|
29158
29158
|
}
|
|
29159
29159
|
function getDeviceOperatingSystem(osType) {
|
|
29160
|
-
return
|
|
29160
|
+
return _chunkBPAYT72Lcjs.getOSPlatformId.call(void 0, osType);
|
|
29161
29161
|
}
|
|
29162
29162
|
|
|
29163
29163
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -29441,7 +29441,7 @@ function DevicesTableBody({
|
|
|
29441
29441
|
function OrganizationCell({ device }) {
|
|
29442
29442
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
29443
29443
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
29444
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29444
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.EntityImage, { src: fullImageUrl, alt: device.organization || "Customer", className: "size-12 content-md:size-12" }),
|
|
29445
29445
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "break-words text-ods-text-primary text-h4", children: device.organization || "" }) })
|
|
29446
29446
|
] });
|
|
29447
29447
|
}
|
|
@@ -29485,7 +29485,7 @@ function getDeviceTableColumns(deviceFilters, filtersPending) {
|
|
|
29485
29485
|
const device = row.original;
|
|
29486
29486
|
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: [
|
|
29487
29487
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
29488
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29488
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: getDeviceName(device) }) })
|
|
29489
29489
|
] });
|
|
29490
29490
|
},
|
|
29491
29491
|
meta: { width: "flex-1 content-md:w-1/4" }
|
|
@@ -29656,7 +29656,7 @@ function CustomerCell({ device }) {
|
|
|
29656
29656
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
29657
29657
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
29658
29658
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29659
|
-
|
|
29659
|
+
_chunkV3W56L2Dcjs.EntityImage,
|
|
29660
29660
|
{
|
|
29661
29661
|
src: fullImageUrl,
|
|
29662
29662
|
alt: device.organization || "Customer",
|
|
@@ -29664,8 +29664,8 @@ function CustomerCell({ device }) {
|
|
|
29664
29664
|
}
|
|
29665
29665
|
),
|
|
29666
29666
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
29667
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29668
|
-
device.organizationEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29667
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: device.organization || "" }),
|
|
29668
|
+
device.organizationEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: device.organizationEmail })
|
|
29669
29669
|
] })
|
|
29670
29670
|
] });
|
|
29671
29671
|
}
|
|
@@ -29960,8 +29960,8 @@ function DeviceSelector({
|
|
|
29960
29960
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 items-center gap-3", children: [
|
|
29961
29961
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
29962
29962
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
29963
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29964
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29963
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: getDeviceName(device) }),
|
|
29964
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: formatLastOnline(lastSeen) })
|
|
29965
29965
|
] })
|
|
29966
29966
|
] });
|
|
29967
29967
|
},
|
|
@@ -30753,7 +30753,7 @@ function DevicesPanelView({
|
|
|
30753
30753
|
] })
|
|
30754
30754
|
] });
|
|
30755
30755
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30756
|
-
|
|
30756
|
+
_chunkV3W56L2Dcjs.PageLayout,
|
|
30757
30757
|
{
|
|
30758
30758
|
title,
|
|
30759
30759
|
backButton,
|
|
@@ -30827,7 +30827,7 @@ var PACKAGE_SEARCH_LABEL = "Software Name";
|
|
|
30827
30827
|
var PACKAGE_SEARCH_PLACEHOLDER = "Search for Software";
|
|
30828
30828
|
function PackageSearchFieldPlaceholder({ error }) {
|
|
30829
30829
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30830
|
-
|
|
30830
|
+
_chunkV3W56L2Dcjs.Autocomplete,
|
|
30831
30831
|
{
|
|
30832
30832
|
label: PACKAGE_SEARCH_LABEL,
|
|
30833
30833
|
labelVariant: "large",
|
|
@@ -30882,16 +30882,16 @@ function SoftwareScheduleFields({
|
|
|
30882
30882
|
] }),
|
|
30883
30883
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30884
30884
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFL2RMEDXcjs.Label, { className: "text-h4", children: "Time" }),
|
|
30885
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30886
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30887
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30885
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.Select, { value: time, onValueChange: onTimeChange, children: [
|
|
30886
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, { placeholder: "Select time" }) }),
|
|
30887
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30888
30888
|
] })
|
|
30889
30889
|
] }),
|
|
30890
30890
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30891
30891
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFL2RMEDXcjs.Label, { className: "text-h4", children: "Timezone" }),
|
|
30892
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30893
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30894
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30892
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.Select, { value: timeReference, onValueChange: (value) => onTimeReferenceChange(value), children: [
|
|
30893
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, {}) }),
|
|
30894
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: timing.timeReferenceOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30895
30895
|
] })
|
|
30896
30896
|
] })
|
|
30897
30897
|
]
|
|
@@ -30957,22 +30957,22 @@ function newSoftwareRow(key) {
|
|
|
30957
30957
|
|
|
30958
30958
|
function InfoCell2({ value, label }) {
|
|
30959
30959
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
30960
|
-
/* @__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,
|
|
30960
|
+
/* @__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, _chunkV3W56L2Dcjs.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" }) }) }),
|
|
30961
30961
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
30962
30962
|
] });
|
|
30963
30963
|
}
|
|
30964
30964
|
function SoftwareRowFields({ row, removable, onChange, onRemove, renderPackageSearch }) {
|
|
30965
30965
|
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: [
|
|
30966
30966
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30967
|
-
|
|
30967
|
+
_chunkV3W56L2Dcjs.Select,
|
|
30968
30968
|
{
|
|
30969
30969
|
value: row.packageManager,
|
|
30970
30970
|
onValueChange: (value) => onChange({ ...row, packageManager: value, pkg: null }),
|
|
30971
30971
|
children: [
|
|
30972
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30973
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30972
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { label: "Package Manager", labelVariant: "large", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, {}) }),
|
|
30973
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: PACKAGE_MANAGERS.map((manager) => {
|
|
30974
30974
|
const Icon = PACKAGE_MANAGER_ICON[manager];
|
|
30975
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30975
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: manager, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30976
30976
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 20, className: "shrink-0 text-ods-text-secondary" }),
|
|
30977
30977
|
PACKAGE_MANAGER_LABEL[manager]
|
|
30978
30978
|
] }) }, manager);
|
|
@@ -31070,7 +31070,7 @@ function SoftwareActionForm({
|
|
|
31070
31070
|
}
|
|
31071
31071
|
);
|
|
31072
31072
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31073
|
-
|
|
31073
|
+
_chunkV3W56L2Dcjs.PageLayout,
|
|
31074
31074
|
{
|
|
31075
31075
|
title: copy.formTitle,
|
|
31076
31076
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -31159,7 +31159,7 @@ function LogDrawer({
|
|
|
31159
31159
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 space-y-4 overflow-y-auto", children: [
|
|
31160
31160
|
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 }) }),
|
|
31161
31161
|
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: [
|
|
31162
|
-
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,
|
|
31162
|
+
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, _chunkV3W56L2Dcjs.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 }),
|
|
31163
31163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: field.label })
|
|
31164
31164
|
] }, typeof field.label === "string" ? field.label : "")) }),
|
|
31165
31165
|
children
|
|
@@ -31207,7 +31207,7 @@ function LogsPageView({
|
|
|
31207
31207
|
],
|
|
31208
31208
|
[onRefresh]
|
|
31209
31209
|
);
|
|
31210
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31210
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.PageLayout, { title: "Logs", actions, showHeader, className, children: [
|
|
31211
31211
|
!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: [
|
|
31212
31212
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31213
31213
|
_chunkYXDHVHB2cjs.Input,
|
|
@@ -31295,7 +31295,7 @@ var ToolBadge = ({
|
|
|
31295
31295
|
iconClassName
|
|
31296
31296
|
}) => {
|
|
31297
31297
|
const loading = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
31298
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
31298
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkBPAYT72Lcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
31299
31299
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk57B5RUYDcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
31300
31300
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
31301
31301
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -31382,8 +31382,8 @@ function LogsTableView({
|
|
|
31382
31382
|
accessorKey: "logId",
|
|
31383
31383
|
header: logIdHeader ? () => logIdHeader : "Log ID",
|
|
31384
31384
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col justify-center", children: [
|
|
31385
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31386
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31385
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: row.original.timestamp }),
|
|
31386
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.logId })
|
|
31387
31387
|
] }),
|
|
31388
31388
|
enableSorting: false,
|
|
31389
31389
|
meta: { width: LOG_COLUMN_WIDTHS.logId, alwaysShowHeader: true }
|
|
@@ -31411,7 +31411,7 @@ function LogsTableView({
|
|
|
31411
31411
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31412
31412
|
ToolBadge,
|
|
31413
31413
|
{
|
|
31414
|
-
toolType:
|
|
31414
|
+
toolType: _chunkBPAYT72Lcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31415
31415
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31416
31416
|
}
|
|
31417
31417
|
),
|
|
@@ -31423,7 +31423,7 @@ function LogsTableView({
|
|
|
31423
31423
|
filter: {
|
|
31424
31424
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _675 => _675.toolTypes, 'access', _676 => _676.map, 'call', _677 => _677((toolType) => ({
|
|
31425
31425
|
id: toolType,
|
|
31426
|
-
label:
|
|
31426
|
+
label: _chunkBPAYT72Lcjs.toToolLabel.call(void 0, toolType),
|
|
31427
31427
|
value: toolType
|
|
31428
31428
|
}))]), () => ( []))
|
|
31429
31429
|
}
|
|
@@ -31435,8 +31435,8 @@ function LogsTableView({
|
|
|
31435
31435
|
cell: ({ row }) => {
|
|
31436
31436
|
const { deviceName, organization } = logSourceLabels(row.original.device);
|
|
31437
31437
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[60px] flex-col justify-center gap-1 py-2", children: [
|
|
31438
|
-
deviceName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31439
|
-
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31438
|
+
deviceName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: deviceName }),
|
|
31439
|
+
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: organization })
|
|
31440
31440
|
] });
|
|
31441
31441
|
},
|
|
31442
31442
|
enableSorting: false,
|
|
@@ -31450,7 +31450,7 @@ function LogsTableView({
|
|
|
31450
31450
|
{
|
|
31451
31451
|
accessorKey: "description",
|
|
31452
31452
|
header: "Log Details",
|
|
31453
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31453
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { lines: 3, className: "text-ods-text-secondary text-h6", children: row.original.description.title }),
|
|
31454
31454
|
enableSorting: false,
|
|
31455
31455
|
meta: { width: LOG_COLUMN_WIDTHS.description, hideAt: "lg" }
|
|
31456
31456
|
},
|
|
@@ -31481,7 +31481,7 @@ function LogsTableView({
|
|
|
31481
31481
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31482
31482
|
_chunkTF5D5MNOcjs.Button,
|
|
31483
31483
|
{
|
|
31484
|
-
onClick: getLogHref ?
|
|
31484
|
+
onClick: getLogHref ? _chunkBPAYT72Lcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31485
31485
|
variant: "outline",
|
|
31486
31486
|
size: "icon",
|
|
31487
31487
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31710,8 +31710,8 @@ function ExecutionSourceBadge({ source, className }) {
|
|
|
31710
31710
|
}
|
|
31711
31711
|
function ExecutionTimestampCell({ timestamp, executionId }) {
|
|
31712
31712
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31713
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31714
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31713
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: timestamp }),
|
|
31714
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: executionId })
|
|
31715
31715
|
] });
|
|
31716
31716
|
}
|
|
31717
31717
|
function ExecutionStatusCell({ status }) {
|
|
@@ -31722,9 +31722,9 @@ function ExecutionDeviceCell({ name, organization }) {
|
|
|
31722
31722
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31723
31723
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-1", children: [
|
|
31724
31724
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPTK7GOIIcjs.MonitorIcon, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
31725
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31725
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: name }) : name })
|
|
31726
31726
|
] }),
|
|
31727
|
-
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31727
|
+
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: organization })
|
|
31728
31728
|
] });
|
|
31729
31729
|
}
|
|
31730
31730
|
function ExecutionInitiatorCell({
|
|
@@ -31737,15 +31737,15 @@ function ExecutionInitiatorCell({
|
|
|
31737
31737
|
avatar,
|
|
31738
31738
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
31739
31739
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
31740
|
-
typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31740
|
+
typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: name }) : name,
|
|
31741
31741
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExecutionSourceBadge, { source })
|
|
31742
31742
|
] }),
|
|
31743
|
-
scriptName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31743
|
+
scriptName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: scriptName })
|
|
31744
31744
|
] })
|
|
31745
31745
|
] });
|
|
31746
31746
|
}
|
|
31747
31747
|
function ExecutionResultCell({ result, empty = null }) {
|
|
31748
|
-
return result ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31748
|
+
return result ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { lines: 2, children: result }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: empty });
|
|
31749
31749
|
}
|
|
31750
31750
|
function ScriptExecutionResult({
|
|
31751
31751
|
result,
|
|
@@ -31763,14 +31763,14 @@ function ScriptExecutionResult({
|
|
|
31763
31763
|
|
|
31764
31764
|
function ScriptNameCell({ name, description }) {
|
|
31765
31765
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31766
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31767
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31766
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: name }),
|
|
31767
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: description })
|
|
31768
31768
|
] });
|
|
31769
31769
|
}
|
|
31770
31770
|
function ScheduleDateTimeCell({ date, time }) {
|
|
31771
31771
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31772
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31773
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31772
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: date }),
|
|
31773
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: time })
|
|
31774
31774
|
] });
|
|
31775
31775
|
}
|
|
31776
31776
|
|
|
@@ -31856,7 +31856,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31856
31856
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31857
31857
|
_chunkTF5D5MNOcjs.Button,
|
|
31858
31858
|
{
|
|
31859
|
-
onClick:
|
|
31859
|
+
onClick: _chunkBPAYT72Lcjs.openInNewTab.call(void 0, href),
|
|
31860
31860
|
variant: "outline",
|
|
31861
31861
|
size: "icon",
|
|
31862
31862
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31969,7 +31969,7 @@ function ScriptSchedulesTable({
|
|
|
31969
31969
|
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" })),
|
|
31970
31970
|
cell(
|
|
31971
31971
|
SCHEDULE_COLUMNS.dateTime,
|
|
31972
|
-
(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,
|
|
31972
|
+
(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, _chunkV3W56L2Dcjs.TruncateText, { tone: "secondary", children: row.trigger }) : null
|
|
31973
31973
|
),
|
|
31974
31974
|
cell(SCHEDULE_COLUMNS.repeat, (row) => row.repeat ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: VALUE_CLASS, children: row.repeat }) : null),
|
|
31975
31975
|
cell(SCHEDULE_COLUMNS.deviceCount, (row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: VALUE_CLASS, children: row.deviceCount }))
|
|
@@ -32005,9 +32005,9 @@ function ScriptSchedulesTable({
|
|
|
32005
32005
|
|
|
32006
32006
|
// src/components/features/scripts/shell-types.ts
|
|
32007
32007
|
var SCRIPT_SHELL_TYPES = [
|
|
32008
|
-
{ id:
|
|
32009
|
-
{ id:
|
|
32010
|
-
{ id:
|
|
32008
|
+
{ id: _chunkBPAYT72Lcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
32009
|
+
{ id: _chunkBPAYT72Lcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
32010
|
+
{ id: _chunkBPAYT72Lcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
32011
32011
|
];
|
|
32012
32012
|
function scriptShellType(value) {
|
|
32013
32013
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -32068,7 +32068,7 @@ function ScriptsTable({
|
|
|
32068
32068
|
initialsClassName: "text-ods-text-secondary"
|
|
32069
32069
|
}
|
|
32070
32070
|
),
|
|
32071
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32071
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: row.author.name }) })
|
|
32072
32072
|
] }) : null
|
|
32073
32073
|
)
|
|
32074
32074
|
];
|
|
@@ -32410,9 +32410,9 @@ function ReconnectWindowFields({
|
|
|
32410
32410
|
invalid
|
|
32411
32411
|
}
|
|
32412
32412
|
),
|
|
32413
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32414
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32415
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32413
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.Select, { value: unit, onValueChange: (next) => onUnitChange(next), disabled, children: [
|
|
32414
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className: controlWidth, "aria-label": "Stop retry after unit", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, {}) }),
|
|
32415
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: DURATION_UNIT_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
32416
32416
|
] })
|
|
32417
32417
|
] });
|
|
32418
32418
|
}
|
|
@@ -32480,7 +32480,7 @@ function ScheduleOfflineFields({ showErrors, disabled = false }) {
|
|
|
32480
32480
|
options
|
|
32481
32481
|
}
|
|
32482
32482
|
),
|
|
32483
|
-
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,
|
|
32483
|
+
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, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", className: "text-ods-error", children: intervalError }) })
|
|
32484
32484
|
]
|
|
32485
32485
|
}
|
|
32486
32486
|
) }) })
|
|
@@ -33311,24 +33311,24 @@ function ScheduleTimingFields({
|
|
|
33311
33311
|
// `''` reads as "no selection" to Radix, so the placeholder shows
|
|
33312
33312
|
// until a slot is picked — a date at midnight no longer
|
|
33313
33313
|
// masquerades as a chosen 12:00 AM.
|
|
33314
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33314
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV3W56L2Dcjs.Select, { value: field.value, onValueChange: field.onChange, disabled: fieldsDisabled, children: [
|
|
33315
33315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33316
|
-
|
|
33316
|
+
_chunkV3W56L2Dcjs.SelectTrigger,
|
|
33317
33317
|
{
|
|
33318
33318
|
className: "w-full",
|
|
33319
33319
|
error: _nullishCoalesce(pastTimeError, () => ( (showErrors ? _optionalChain([fieldState, 'access', _729 => _729.error, 'optionalAccess', _730 => _730.message]) : void 0))),
|
|
33320
33320
|
invalid: !!pastTimeError || showErrors && !!fieldState.error,
|
|
33321
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33321
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, { placeholder: "Select time" })
|
|
33322
33322
|
}
|
|
33323
33323
|
),
|
|
33324
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33324
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: timeSlots.length === 0 ? (
|
|
33325
33325
|
// Deliberately NOT a `SelectItem` — there is nothing here
|
|
33326
33326
|
// to select, and a selectable row would put a bogus value
|
|
33327
33327
|
// in the form. It replaces a popup that opened blank; the
|
|
33328
33328
|
// Date field carries the same sentence for whoever never
|
|
33329
33329
|
// opens this one.
|
|
33330
33330
|
/* @__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 })
|
|
33331
|
-
) : timeSlots.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33331
|
+
) : timeSlots.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33332
33332
|
] })
|
|
33333
33333
|
)
|
|
33334
33334
|
}
|
|
@@ -33342,14 +33342,14 @@ function ScheduleTimingFields({
|
|
|
33342
33342
|
name: "timeReference",
|
|
33343
33343
|
control,
|
|
33344
33344
|
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33345
|
-
|
|
33345
|
+
_chunkV3W56L2Dcjs.Select,
|
|
33346
33346
|
{
|
|
33347
33347
|
value: field.value,
|
|
33348
33348
|
onValueChange: (next) => handleTimeReferenceChange(field.onChange, next),
|
|
33349
33349
|
disabled: fieldsDisabled,
|
|
33350
33350
|
children: [
|
|
33351
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33352
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33351
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className: "w-full", "aria-label": "Timezone", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, {}) }),
|
|
33352
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: SCHEDULE_TIME_REFERENCE_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33353
33353
|
]
|
|
33354
33354
|
}
|
|
33355
33355
|
)
|
|
@@ -33409,7 +33409,7 @@ function ScheduleTimingFields({
|
|
|
33409
33409
|
name: "repeatUnit",
|
|
33410
33410
|
control,
|
|
33411
33411
|
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33412
|
-
|
|
33412
|
+
_chunkV3W56L2Dcjs.Select,
|
|
33413
33413
|
{
|
|
33414
33414
|
value: field.value,
|
|
33415
33415
|
onValueChange: (next) => {
|
|
@@ -33420,8 +33420,8 @@ function ScheduleTimingFields({
|
|
|
33420
33420
|
},
|
|
33421
33421
|
disabled: fieldsDisabled || !repeatEnabled,
|
|
33422
33422
|
children: [
|
|
33423
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33424
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33423
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectValue, {}) }),
|
|
33424
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectContent, { children: DURATION_UNIT_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33425
33425
|
]
|
|
33426
33426
|
}
|
|
33427
33427
|
)
|
|
@@ -33440,7 +33440,7 @@ function ScheduleFormFields({
|
|
|
33440
33440
|
disabled = false,
|
|
33441
33441
|
renderScriptSearch,
|
|
33442
33442
|
timeReferenceGate = "off",
|
|
33443
|
-
platforms =
|
|
33443
|
+
platforms = _chunkBPAYT72Lcjs.OS_PLATFORMS,
|
|
33444
33444
|
comingSoonPlatforms = [],
|
|
33445
33445
|
getTimeSlots,
|
|
33446
33446
|
nameLayout = "stacked",
|
|
@@ -33510,7 +33510,7 @@ function ScheduleFormFields({
|
|
|
33510
33510
|
platform.id
|
|
33511
33511
|
);
|
|
33512
33512
|
}) }),
|
|
33513
|
-
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,
|
|
33513
|
+
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, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", className: "text-ods-error", children: _nullishCoalesce(formState.errors.supportedPlatforms.message, () => ( "")) }) })
|
|
33514
33514
|
]
|
|
33515
33515
|
}
|
|
33516
33516
|
);
|
|
@@ -33586,7 +33586,7 @@ function ScheduleFormFields({
|
|
|
33586
33586
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33587
33587
|
|
|
33588
33588
|
function ScriptPlatformIcons({ platforms }) {
|
|
33589
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33589
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkBPAYT72Lcjs.OS_PLATFORMS.filter((p) => platforms.includes(p.id)).map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, p.icon, { className: "h-3.5 w-3.5 text-ods-text-secondary opacity-60" }, p.id)) });
|
|
33590
33590
|
}
|
|
33591
33591
|
function ScheduleScriptSearchField({
|
|
33592
33592
|
scriptId,
|
|
@@ -33612,7 +33612,7 @@ function ScheduleScriptSearchField({
|
|
|
33612
33612
|
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: [
|
|
33613
33613
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFL2RMEDXcjs.Label, { className: "text-h4", children: "Select Script" }),
|
|
33614
33614
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33615
|
-
|
|
33615
|
+
_chunkV3W56L2Dcjs.Autocomplete,
|
|
33616
33616
|
{
|
|
33617
33617
|
options,
|
|
33618
33618
|
value: scriptId || null,
|
|
@@ -33627,7 +33627,7 @@ function ScheduleScriptSearchField({
|
|
|
33627
33627
|
error,
|
|
33628
33628
|
invalid,
|
|
33629
33629
|
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: [
|
|
33630
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33630
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { className: isSelected ? "text-ods-accent" : void 0, children: option.label }) }),
|
|
33631
33631
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScriptPlatformIcons, { platforms: _nullishCoalesce(_optionalChain([scripts, 'access', _736 => _736.find, 'call', _737 => _737((s) => s.id === option.value), 'optionalAccess', _738 => _738.supportedPlatforms]), () => ( [])) })
|
|
33632
33632
|
] })
|
|
33633
33633
|
}
|
|
@@ -33659,7 +33659,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
33659
33659
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33660
33660
|
_chunkTF5D5MNOcjs.Button,
|
|
33661
33661
|
{
|
|
33662
|
-
onClick:
|
|
33662
|
+
onClick: _chunkBPAYT72Lcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
33663
33663
|
variant: "outline",
|
|
33664
33664
|
size: "icon",
|
|
33665
33665
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -33685,7 +33685,7 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
33685
33685
|
/* @__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" }) }),
|
|
33686
33686
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33687
33687
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33688
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33688
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: item.name }) }),
|
|
33689
33689
|
tagStatus && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33690
33690
|
_chunkHY6BCZH7cjs.Tag,
|
|
33691
33691
|
{
|
|
@@ -33695,7 +33695,7 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
33695
33695
|
}
|
|
33696
33696
|
)
|
|
33697
33697
|
] }),
|
|
33698
|
-
item.type === "ARTICLE" && item.summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33698
|
+
item.type === "ARTICLE" && item.summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: item.summary })
|
|
33699
33699
|
] })
|
|
33700
33700
|
] });
|
|
33701
33701
|
},
|
|
@@ -33775,7 +33775,7 @@ function KnowledgeBaseArticleView({
|
|
|
33775
33775
|
className = "px-[var(--spacing-system-l)] pb-[var(--spacing-system-l)]"
|
|
33776
33776
|
}) {
|
|
33777
33777
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33778
|
-
|
|
33778
|
+
_chunkV3W56L2Dcjs.PageLayout,
|
|
33779
33779
|
{
|
|
33780
33780
|
title,
|
|
33781
33781
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -33798,12 +33798,12 @@ function KnowledgeBaseArticleView({
|
|
|
33798
33798
|
}
|
|
33799
33799
|
),
|
|
33800
33800
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33801
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33801
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { className: author.deleted ? "text-ods-error" : void 0, children: _nullishCoalesce(author.name, () => ( "Unknown")) }),
|
|
33802
33802
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Author" })
|
|
33803
33803
|
] })
|
|
33804
33804
|
] }),
|
|
33805
33805
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 flex-col justify-center", children: [
|
|
33806
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33806
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { children: updatedLabel }),
|
|
33807
33807
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Updated" })
|
|
33808
33808
|
] }),
|
|
33809
33809
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -33949,7 +33949,7 @@ function ConversationCard({
|
|
|
33949
33949
|
style: tint,
|
|
33950
33950
|
onClick: selection && ((event) => {
|
|
33951
33951
|
if (event.button !== 0 || _optionalChain([window, 'access', _741 => _741.getSelection, 'call', _742 => _742(), 'optionalAccess', _743 => _743.toString, 'call', _744 => _744()])) return;
|
|
33952
|
-
if (!
|
|
33952
|
+
if (!_chunkBPAYT72Lcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33953
33953
|
selection.onToggle();
|
|
33954
33954
|
}),
|
|
33955
33955
|
children: [
|
|
@@ -33972,7 +33972,7 @@ function ConversationCard({
|
|
|
33972
33972
|
children: selection.pressed ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX4UZ62MYcjs.PlusIcon, {})
|
|
33973
33973
|
}
|
|
33974
33974
|
),
|
|
33975
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33975
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBPAYT72Lcjs.ChatTurn, { avatar: requester.avatar, name: requester.name, meta: requester.meta, time: requester.time, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33976
33976
|
"p",
|
|
33977
33977
|
{
|
|
33978
33978
|
id: requestId,
|
|
@@ -33991,7 +33991,7 @@ function ConversationCard({
|
|
|
33991
33991
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _745 => _745.context])), children: context.text })
|
|
33992
33992
|
] }),
|
|
33993
33993
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33994
|
-
|
|
33994
|
+
_chunkBPAYT72Lcjs.ChatTurn,
|
|
33995
33995
|
{
|
|
33996
33996
|
avatar: responder.avatar,
|
|
33997
33997
|
name: responder.name,
|
|
@@ -34014,10 +34014,10 @@ function ConversationCard({
|
|
|
34014
34014
|
);
|
|
34015
34015
|
}
|
|
34016
34016
|
function TurnSkeleton({ avatarPx, meta, children }) {
|
|
34017
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
34017
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkBPAYT72Lcjs.TURN_ROW_CLASS, children: [
|
|
34018
34018
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.SquareAvatarSkeleton, { sizePx: avatarPx }),
|
|
34019
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
34020
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34019
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkBPAYT72Lcjs.TURN_BODY_CLASS, children: [
|
|
34020
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBPAYT72Lcjs.ChatTurnNameSkeleton, { meta, time: true }),
|
|
34021
34021
|
children
|
|
34022
34022
|
] })
|
|
34023
34023
|
] });
|
|
@@ -34079,7 +34079,7 @@ function Highlights({ items, className }) {
|
|
|
34079
34079
|
if (items.length === 0) return null;
|
|
34080
34080
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: _chunk65VVJSQZcjs.cn.call(void 0, "grid grid-cols-1 gap-2", className), children: items.slice(0, 3).map((text) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { className: "flex min-w-0 items-center gap-2.5", children: [
|
|
34081
34081
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: HIGHLIGHT_ICON_PX, className: "shrink-0 text-ods-flamingo-cyan" }),
|
|
34082
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34082
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", triggerClassName: "flex-1", children: text })
|
|
34083
34083
|
] }, text)) });
|
|
34084
34084
|
}
|
|
34085
34085
|
function Example({
|
|
@@ -34115,7 +34115,7 @@ function Example({
|
|
|
34115
34115
|
mark(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _749 => _749.mark]), () => ( requesterMark))),
|
|
34116
34116
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
34117
34117
|
who(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _750 => _750.name]), () => ( labels.requester)), _nullishCoalesce(_optionalChain([requester, 'optionalAccess', _751 => _751.note]), () => ( labels.requesterNote))),
|
|
34118
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34118
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { lines: 2, variant: "h4", className: "min-h-[2lh]", children: `\u201C${example.request}\u201D` })
|
|
34119
34119
|
] })
|
|
34120
34120
|
] }),
|
|
34121
34121
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 gap-2.5 border-t border-ods-border pt-3", children: [
|
|
@@ -34124,7 +34124,7 @@ function Example({
|
|
|
34124
34124
|
who(_nullishCoalesce(_optionalChain([responder, 'optionalAccess', _753 => _753.name]), () => ( labels.responder)), _nullishCoalesce(_optionalChain([responder, 'optionalAccess', _754 => _754.note]), () => ( labels.responderNote))),
|
|
34125
34125
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-start gap-2", children: [
|
|
34126
34126
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: 16, className: "mt-0.5 shrink-0 text-ods-flamingo-cyan" }),
|
|
34127
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34127
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", className: "min-h-[2lh]", triggerClassName: "flex-1", children: example.outcome })
|
|
34128
34128
|
] })
|
|
34129
34129
|
] })
|
|
34130
34130
|
] })
|
|
@@ -34280,13 +34280,13 @@ function CapabilityExplorer({
|
|
|
34280
34280
|
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk65VVJSQZcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, "text-ods-flamingo-cyan"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
34281
34281
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
34282
34282
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
34283
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34283
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
34284
34284
|
item.badge
|
|
34285
34285
|
] }),
|
|
34286
|
-
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34286
|
+
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { variant: "h6", tone: "secondary", children: item.caption })
|
|
34287
34287
|
] })
|
|
34288
34288
|
] }),
|
|
34289
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34289
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { lines: 3, variant: "h6", tone: "secondary", className: "min-h-[3lh]", children: item.intro }),
|
|
34290
34290
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-lg border border-ods-border", children: renderScreen(item, { compact: true }) }),
|
|
34291
34291
|
item.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34292
34292
|
Example,
|
|
@@ -34411,8 +34411,8 @@ function CapabilityExplorer({
|
|
|
34411
34411
|
),
|
|
34412
34412
|
children: [
|
|
34413
34413
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col overflow-hidden", children: [
|
|
34414
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34415
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34414
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { lines: 2, variant: "h2", className: "mb-2", children: active.title }),
|
|
34415
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV3W56L2Dcjs.TruncateText, { lines: 3, variant: "h4", tone: "secondary", className: "min-h-[3lh]", children: active.intro }),
|
|
34416
34416
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Highlights, { items: _nullishCoalesce(active.highlights, () => ( [])), className: "mt-auto" })
|
|
34417
34417
|
] }),
|
|
34418
34418
|
active.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|