@flamingo-stack/openframe-frontend-core 0.0.804 → 0.0.806
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-66ZQ7LDR.cjs → chunk-3B6PFUL3.cjs} +22 -37
- package/dist/{chunk-NXJ3O4WO.cjs → chunk-5OFEH673.cjs} +3 -3
- package/dist/{chunk-6UGNFMZB.cjs → chunk-7NCNJXMK.cjs} +15 -15
- package/dist/{chunk-TTZEDDR5.cjs → chunk-7RM4NM2C.cjs} +1 -0
- package/dist/{chunk-A6P6DHEZ.cjs → chunk-7Z536SPR.cjs} +3 -1
- package/dist/{chunk-6JRQ57DU.cjs → chunk-CRBG5HXA.cjs} +338 -351
- package/dist/{chunk-MEDSJCEX.cjs → chunk-DN5YBJGC.cjs} +2 -2
- package/dist/{chunk-BVSZTKI3.cjs → chunk-DTKHEHIQ.cjs} +11 -11
- package/dist/{chunk-3EPG56RK.cjs → chunk-FZSL4KSW.cjs} +3 -3
- package/dist/{chunk-TTERV57X.cjs → chunk-IMDOKSEG.cjs} +2 -2
- package/dist/{chunk-Z6Y5X5SF.cjs → chunk-IN6SPMCB.cjs} +37 -37
- package/dist/{chunk-55TGW6BF.cjs → chunk-MR3LQUOW.cjs} +6 -6
- package/dist/{chunk-WSKMV2QS.cjs → chunk-OETG7KV6.cjs} +3 -3
- package/dist/{chunk-LZIQXGAW.cjs → chunk-PCHNBV73.cjs} +45 -45
- package/dist/{chunk-NBLQFJ4I.cjs → chunk-PYZTG3T5.cjs} +5 -5
- package/dist/{chunk-AC5EBHAX.cjs → chunk-QE7H4Y3F.cjs} +25 -25
- package/dist/{chunk-XXARXK62.cjs → chunk-RTUSHW7S.cjs} +12 -12
- package/dist/{chunk-2NVIGBJC.cjs → chunk-SC4RKSMW.cjs} +45 -45
- package/dist/{chunk-UCBR27JM.cjs → chunk-URZOWIR3.cjs} +2 -2
- package/dist/{chunk-QPBP7FKI.cjs → chunk-XAG7ABPI.cjs} +28 -28
- package/dist/{cloud-tenants-LRXMISV4.cjs → cloud-tenants-6E27I6AY.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +15 -15
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/help-center-pages/index.cjs +66 -66
- package/dist/components/index.cjs +37 -37
- package/dist/components/meeting-scheduler/index.cjs +45 -45
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/product-demo/index.cjs +16 -16
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/ui/autocomplete.d.ts.map +1 -1
- package/dist/components/ui/autocomplete.js +14 -30
- package/dist/components/ui/field-wrapper.d.ts.map +1 -1
- package/dist/components/ui/field-wrapper.js +2 -1
- package/dist/components/ui/file-manager/index.cjs +2 -2
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/tag-search-input.d.ts.map +1 -1
- package/dist/components/ui/tag-search-input.js +15 -29
- package/dist/{devices-CETR72XY.cjs → devices-HZVRGH3A.cjs} +7 -7
- package/dist/hooks/index.cjs +4 -2
- package/dist/hooks/ui/use-auto-limit-tags.d.ts +6 -0
- package/dist/hooks/ui/use-auto-limit-tags.d.ts.map +1 -1
- package/dist/hooks/ui/use-auto-limit-tags.js +2 -0
- package/dist/index.cjs +12 -10
- package/dist/{knowledge-A2MWEF23.cjs → knowledge-EJG7YG7C.cjs} +6 -6
- package/dist/{logs-47JODA6C.cjs → logs-6N3ANKZK.cjs} +14 -14
- package/dist/{policies-OPIDR6XF.cjs → policies-CE7A66D7.cjs} +10 -10
- package/dist/{remote-session-IQTPEG63.cjs → remote-session-HLGLKOGW.cjs} +6 -6
- package/dist/{scripts-4MQGJWFP.cjs → scripts-NREM2Y6Z.cjs} +13 -13
- package/dist/{software-update-MQIGPBZ6.cjs → software-update-CI4F3IRV.cjs} +10 -10
- package/package.json +5 -6
- package/src/components/ui/autocomplete.tsx +5 -13
- package/src/components/ui/field-wrapper.tsx +5 -0
- package/src/components/ui/tag-search-input.tsx +16 -22
- package/src/hooks/ui/use-auto-limit-tags.ts +7 -0
- /package/dist/{image-sizes.cjs → styles/image-sizes.cjs} +0 -0
|
@@ -36,7 +36,7 @@ var _chunkNG3RKTQUcjs = require('./chunk-NG3RKTQU.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunk3B6PFUL3cjs = require('./chunk-3B6PFUL3.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
@@ -60,7 +60,8 @@ var _chunkVXAKQRV7cjs = require('./chunk-VXAKQRV7.cjs');
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
|
|
64
|
+
var _chunk7Z536SPRcjs = require('./chunk-7Z536SPR.cjs');
|
|
64
65
|
|
|
65
66
|
|
|
66
67
|
var _chunkYR74H7Z3cjs = require('./chunk-YR74H7Z3.cjs');
|
|
@@ -107,7 +108,7 @@ var _chunkYR74H7Z3cjs = require('./chunk-YR74H7Z3.cjs');
|
|
|
107
108
|
|
|
108
109
|
|
|
109
110
|
|
|
110
|
-
var
|
|
111
|
+
var _chunkPYZTG3T5cjs = require('./chunk-PYZTG3T5.cjs');
|
|
111
112
|
|
|
112
113
|
|
|
113
114
|
|
|
@@ -569,7 +570,7 @@ var _chunkKUXHXLJQcjs = require('./chunk-KUXHXLJQ.cjs');
|
|
|
569
570
|
|
|
570
571
|
|
|
571
572
|
|
|
572
|
-
var
|
|
573
|
+
var _chunk7RM4NM2Ccjs = require('./chunk-7RM4NM2C.cjs');
|
|
573
574
|
|
|
574
575
|
|
|
575
576
|
var _chunkGD47ZGOUcjs = require('./chunk-GD47ZGOU.cjs');
|
|
@@ -773,7 +774,7 @@ var AllowedDomainsInput = _react.forwardRef.call(void 0,
|
|
|
773
774
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, "space-y-3", className), children: [
|
|
774
775
|
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { children: label }),
|
|
775
776
|
value.map((domain, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
776
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
777
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.Input, { value: domain, disabled: true, className: "flex-1 rounded-[6px] border-ods-border bg-ods-card" }),
|
|
777
778
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
778
779
|
_chunkAHBTZ7DNcjs.Button,
|
|
779
780
|
{
|
|
@@ -788,7 +789,7 @@ var AllowedDomainsInput = _react.forwardRef.call(void 0,
|
|
|
788
789
|
)
|
|
789
790
|
] }, index)),
|
|
790
791
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
791
|
-
|
|
792
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
792
793
|
{
|
|
793
794
|
ref: inputRef,
|
|
794
795
|
value: inputValue,
|
|
@@ -910,7 +911,7 @@ function TimezoneSelect({
|
|
|
910
911
|
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
911
912
|
const options = _react.useMemo.call(void 0, () => timezoneOptions(value), [value]);
|
|
912
913
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
913
|
-
|
|
914
|
+
_chunk3B6PFUL3cjs.Autocomplete,
|
|
914
915
|
{
|
|
915
916
|
className,
|
|
916
917
|
fieldLoading: loading,
|
|
@@ -1029,7 +1030,7 @@ var CheckboxBlock = _react.forwardRef.call(void 0,
|
|
|
1029
1030
|
),
|
|
1030
1031
|
children: [
|
|
1031
1032
|
loading && label === null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: CHECKBOX_BLOCK_LABEL_BAR_CLASS }) : label,
|
|
1032
|
-
required && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1033
|
+
required && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.RequiredMark, {})
|
|
1033
1034
|
]
|
|
1034
1035
|
}
|
|
1035
1036
|
),
|
|
@@ -1577,7 +1578,7 @@ function DatePicker(props) {
|
|
|
1577
1578
|
}
|
|
1578
1579
|
) })
|
|
1579
1580
|
] });
|
|
1580
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1581
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.FieldWrapper, { label, error, errorSlot: "error" in props, children: picker });
|
|
1581
1582
|
}
|
|
1582
1583
|
var generateHourOptions = (use24Hour) => {
|
|
1583
1584
|
if (use24Hour) {
|
|
@@ -1725,25 +1726,25 @@ function DatePickerInput(props) {
|
|
|
1725
1726
|
) })
|
|
1726
1727
|
] }),
|
|
1727
1728
|
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
1728
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1729
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1730
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1729
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.Select, { value: hour, onValueChange: handleHourChange, disabled, children: [
|
|
1730
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { className: _chunk7JWFMAQBcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, { placeholder: "HH" }) }),
|
|
1731
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: hourOptions.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: h, children: h }, h)) })
|
|
1731
1732
|
] }),
|
|
1732
1733
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: ":" }),
|
|
1733
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1734
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1735
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1734
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.Select, { value: minute, onValueChange: handleMinuteChange, disabled, children: [
|
|
1735
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { className: _chunk7JWFMAQBcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, { placeholder: "MM" }) }),
|
|
1736
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: minuteOptions.map((m) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: m, children: m }, m)) })
|
|
1736
1737
|
] }),
|
|
1737
|
-
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1738
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1739
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1740
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1741
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1738
|
+
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.Select, { value: period, onValueChange: (val) => handlePeriodChange(val), disabled, children: [
|
|
1739
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { className: _chunk7JWFMAQBcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, { placeholder: "AM" }) }),
|
|
1740
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: [
|
|
1741
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "AM", children: "AM" }),
|
|
1742
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "PM", children: "PM" })
|
|
1742
1743
|
] })
|
|
1743
1744
|
] })
|
|
1744
1745
|
] })
|
|
1745
1746
|
] });
|
|
1746
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1747
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.FieldWrapper, { label, error, errorSlot: "error" in props, className, children: content });
|
|
1747
1748
|
}
|
|
1748
1749
|
var generateTimeOptions = (intervalMinutes, use24Hour) => {
|
|
1749
1750
|
const options = [];
|
|
@@ -1879,12 +1880,12 @@ function DatePickerInputSimple(props) {
|
|
|
1879
1880
|
}
|
|
1880
1881
|
) })
|
|
1881
1882
|
] }),
|
|
1882
|
-
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1883
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1884
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1883
|
+
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.Select, { value: timeValue, onValueChange: handleTimeChange, disabled, children: [
|
|
1884
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { className: _chunk7JWFMAQBcjs.cn.call(void 0, timeSelectTriggerStyles, "flex-1"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, { placeholder: "Select time", children: timeDisplayLabel || "Select time" }) }),
|
|
1885
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
1885
1886
|
] })
|
|
1886
1887
|
] });
|
|
1887
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1888
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.FieldWrapper, { label, error, errorSlot: "error" in props, className, children: content });
|
|
1888
1889
|
}
|
|
1889
1890
|
function DateFilterPanel({
|
|
1890
1891
|
mode = "range",
|
|
@@ -1900,14 +1901,14 @@ function DateFilterPanel({
|
|
|
1900
1901
|
className
|
|
1901
1902
|
}) {
|
|
1902
1903
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex flex-col gap-4", className), children: [
|
|
1903
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1904
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.Select, { value: sort, onValueChange: (value) => onSortChange(value), children: [
|
|
1905
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.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: [
|
|
1905
1906
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowUpDown, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
1906
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1907
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, {}) })
|
|
1907
1908
|
] }) }),
|
|
1908
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1909
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1910
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1909
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: [
|
|
1910
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "asc", children: ascLabel }),
|
|
1911
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "desc", children: descLabel })
|
|
1911
1912
|
] })
|
|
1912
1913
|
] }),
|
|
1913
1914
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2512,7 +2513,7 @@ function SearchableSelect(allProps) {
|
|
|
2512
2513
|
const triggerId = _nullishCoalesce(id, () => ( generatedId));
|
|
2513
2514
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
2514
2515
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
2515
|
-
const keyboardPadding =
|
|
2516
|
+
const keyboardPadding = _chunk7Z536SPRcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
2516
2517
|
const portalContainer = _chunkNL3G642Ucjs.usePortalContainer.call(void 0, );
|
|
2517
2518
|
if (!isOpen && search !== "") setSearch("");
|
|
2518
2519
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
@@ -2573,7 +2574,7 @@ function SearchableSelect(allProps) {
|
|
|
2573
2574
|
isGrid && "col-span-full"
|
|
2574
2575
|
);
|
|
2575
2576
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PopoverPrimitive.Root, { open: isOpen, onOpenChange: disabled ? void 0 : setIsOpen, modal: false, children: [
|
|
2576
|
-
!trigger && (label !== void 0 || errorSlot) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2577
|
+
!trigger && (label !== void 0 || errorSlot) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.FieldWrapper, { label, htmlFor: triggerId, labelVariant, error, errorSlot, children: triggerElement }) : triggerElement,
|
|
2577
2578
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive.Portal, { container: _nullishCoalesce(portalContainer, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2578
2579
|
PopoverPrimitive.Content,
|
|
2579
2580
|
{
|
|
@@ -2591,7 +2592,7 @@ function SearchableSelect(allProps) {
|
|
|
2591
2592
|
),
|
|
2592
2593
|
children: [
|
|
2593
2594
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 border-b border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2594
|
-
|
|
2595
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
2595
2596
|
{
|
|
2596
2597
|
userValue: true,
|
|
2597
2598
|
autoFocus: true,
|
|
@@ -2778,7 +2779,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2778
2779
|
if (isEditing) {
|
|
2779
2780
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "min-w-0", className), children: [
|
|
2780
2781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2781
|
-
|
|
2782
|
+
_chunk3B6PFUL3cjs.Autocomplete,
|
|
2782
2783
|
{
|
|
2783
2784
|
options,
|
|
2784
2785
|
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _43 => _43.id]), () => ( null)),
|
|
@@ -2979,7 +2980,7 @@ var InputTrigger = _react.forwardRef.call(void 0,
|
|
|
2979
2980
|
className,
|
|
2980
2981
|
children: [
|
|
2981
2982
|
startIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center text-ods-text-secondary", children: startIcon }),
|
|
2982
|
-
inScope ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2983
|
+
inScope ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.FieldValueSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2983
2984
|
"span",
|
|
2984
2985
|
{
|
|
2985
2986
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
@@ -3027,7 +3028,7 @@ function MediaTypeSelector({
|
|
|
3027
3028
|
// changed) and cost an extra render pass on every change to say what the
|
|
3028
3029
|
// prop already said.
|
|
3029
3030
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3030
|
-
|
|
3031
|
+
_chunk3B6PFUL3cjs.Select,
|
|
3031
3032
|
{
|
|
3032
3033
|
value: value || void 0,
|
|
3033
3034
|
onValueChange: (next) => {
|
|
@@ -3037,8 +3038,8 @@ function MediaTypeSelector({
|
|
|
3037
3038
|
disabled,
|
|
3038
3039
|
defaultValue: value,
|
|
3039
3040
|
children: [
|
|
3040
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3041
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3041
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, { placeholder }) }),
|
|
3042
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: mediaTypeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: option.value, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
3042
3043
|
option.icon,
|
|
3043
3044
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: option.label })
|
|
3044
3045
|
] }) }, option.value)) })
|
|
@@ -3475,7 +3476,7 @@ function TagSelectDropdown({
|
|
|
3475
3476
|
}) {
|
|
3476
3477
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
3477
3478
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
3478
|
-
const keyboardPadding =
|
|
3479
|
+
const keyboardPadding = _chunk7Z536SPRcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
3479
3480
|
const portalContainer = _chunkNL3G642Ucjs.usePortalContainer.call(void 0, );
|
|
3480
3481
|
if (!isOpen && search !== "") setSearch("");
|
|
3481
3482
|
const query = search.trim();
|
|
@@ -3529,7 +3530,7 @@ function TagSelectDropdown({
|
|
|
3529
3530
|
),
|
|
3530
3531
|
children: [
|
|
3531
3532
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 border-b border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3532
|
-
|
|
3533
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
3533
3534
|
{
|
|
3534
3535
|
userValue: true,
|
|
3535
3536
|
autoFocus: true,
|
|
@@ -3723,7 +3724,7 @@ function LoadedTagsInput({
|
|
|
3723
3724
|
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { children: label }),
|
|
3724
3725
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TAGS_INPUT_ROW_CLASS, children: [
|
|
3725
3726
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3726
|
-
|
|
3727
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
3727
3728
|
{
|
|
3728
3729
|
value: inputValue,
|
|
3729
3730
|
onChange: (e) => setInputValue(e.target.value),
|
|
@@ -3796,7 +3797,7 @@ function TagsManager({
|
|
|
3796
3797
|
}) {
|
|
3797
3798
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
3798
3799
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
3799
|
-
const keyboardPadding =
|
|
3800
|
+
const keyboardPadding = _chunk7Z536SPRcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
3800
3801
|
const [editingId, setEditingId] = _react.useState.call(void 0, null);
|
|
3801
3802
|
const [editingName, setEditingName] = _react.useState.call(void 0, "");
|
|
3802
3803
|
const editInputRef = _react.useRef.call(void 0, null);
|
|
@@ -3871,7 +3872,7 @@ function TagsManager({
|
|
|
3871
3872
|
},
|
|
3872
3873
|
[onChange]
|
|
3873
3874
|
);
|
|
3874
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3875
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.FieldWrapper, { label, className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative", ref: containerRef, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PopoverPrimitive3.Root, { open, onOpenChange: setOpen, children: [
|
|
3875
3876
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive3.Anchor, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3876
3877
|
_chunkGD47ZGOUcjs.Label,
|
|
3877
3878
|
{
|
|
@@ -3990,7 +3991,7 @@ function TagsManager({
|
|
|
3990
3991
|
className: "flex items-center gap-1 border-b border-ods-border px-2 py-1 last:border-b-0",
|
|
3991
3992
|
children: [
|
|
3992
3993
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3993
|
-
|
|
3994
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
3994
3995
|
{
|
|
3995
3996
|
userValue: true,
|
|
3996
3997
|
ref: editInputRef,
|
|
@@ -4145,7 +4146,7 @@ var Textarea = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
4145
4146
|
const fieldId = _nullishCoalesce(props.id, () => ( reactId));
|
|
4146
4147
|
const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
4147
4148
|
if (!hasAdornment) {
|
|
4148
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4149
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7RM4NM2Ccjs.FieldWrapper, { label, labelVariant, error, errorSlot, children: [
|
|
4149
4150
|
inScope && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TextareaSkeleton, { rows: props.rows, className }),
|
|
4150
4151
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4151
4152
|
"textarea",
|
|
@@ -4273,7 +4274,7 @@ var Textarea = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
4273
4274
|
]
|
|
4274
4275
|
}
|
|
4275
4276
|
);
|
|
4276
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4277
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.FieldWrapper, { label, labelVariant, error, errorSlot, children: content });
|
|
4277
4278
|
});
|
|
4278
4279
|
Textarea.displayName = "Textarea";
|
|
4279
4280
|
function TextareaSkeleton({ rows, className }) {
|
|
@@ -4545,7 +4546,7 @@ function AdminFormDrawer({
|
|
|
4545
4546
|
"form",
|
|
4546
4547
|
{
|
|
4547
4548
|
id: formId,
|
|
4548
|
-
...
|
|
4549
|
+
..._chunkPYZTG3T5cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4549
4550
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4550
4551
|
onSubmit: (e) => {
|
|
4551
4552
|
e.preventDefault();
|
|
@@ -4652,7 +4653,7 @@ function AdminFormModal({
|
|
|
4652
4653
|
"form",
|
|
4653
4654
|
{
|
|
4654
4655
|
id: formId,
|
|
4655
|
-
...
|
|
4656
|
+
..._chunkPYZTG3T5cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4656
4657
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4657
4658
|
onSubmit: (e) => {
|
|
4658
4659
|
e.preventDefault();
|
|
@@ -6053,7 +6054,7 @@ function EmbedViewerFrame({
|
|
|
6053
6054
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6054
6055
|
_react.useEffect.call(void 0, () => {
|
|
6055
6056
|
if (!fullscreenControl) return void 0;
|
|
6056
|
-
const controller = new (0,
|
|
6057
|
+
const controller = new (0, _chunkPYZTG3T5cjs.FullscreenSwitchController)({
|
|
6057
6058
|
target: () => frameRef.current,
|
|
6058
6059
|
onFullscreenChange: setIsFullscreen
|
|
6059
6060
|
});
|
|
@@ -6717,12 +6718,12 @@ var OGLinkPreview = ({
|
|
|
6717
6718
|
children: [
|
|
6718
6719
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TILE_SOURCE_ROW_CLASS, children: [
|
|
6719
6720
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Favicon, { src: `https://www.google.com/s2/favicons?domain=${domain}&sz=32`, size: "w-4 h-4" }),
|
|
6720
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6721
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: name }),
|
|
6721
6722
|
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 })
|
|
6722
6723
|
] }),
|
|
6723
6724
|
kicker != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden text-ods-accent text-h5", style: lineClamp(1), children: kicker }),
|
|
6724
6725
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6725
|
-
|
|
6726
|
+
_chunk3B6PFUL3cjs.TruncateText,
|
|
6726
6727
|
{
|
|
6727
6728
|
lines: 2,
|
|
6728
6729
|
variant: "h3",
|
|
@@ -6731,7 +6732,7 @@ var OGLinkPreview = ({
|
|
|
6731
6732
|
children: curatedTitle || domainToTitle(domain)
|
|
6732
6733
|
}
|
|
6733
6734
|
),
|
|
6734
|
-
curatedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6735
|
+
curatedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", children: curatedDescription })
|
|
6735
6736
|
]
|
|
6736
6737
|
}
|
|
6737
6738
|
);
|
|
@@ -6877,8 +6878,8 @@ var OGLinkPreview = ({
|
|
|
6877
6878
|
children: [
|
|
6878
6879
|
/* @__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 }) }),
|
|
6879
6880
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6880
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6881
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6881
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { className: "font-semibold transition-colors group-hover:text-ods-accent", children: title }),
|
|
6882
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { tone: "secondary", children: description })
|
|
6882
6883
|
] }),
|
|
6883
6884
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExternalLinkIcon, {})
|
|
6884
6885
|
]
|
|
@@ -6925,7 +6926,7 @@ var OGLinkPreview = ({
|
|
|
6925
6926
|
),
|
|
6926
6927
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6927
6928
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6928
|
-
|
|
6929
|
+
_chunk3B6PFUL3cjs.TruncateText,
|
|
6929
6930
|
{
|
|
6930
6931
|
lines: 2,
|
|
6931
6932
|
className: "min-h-[calc(var(--font-line-space-h4-body)*2)] font-semibold transition-colors group-hover:text-ods-accent",
|
|
@@ -6934,7 +6935,7 @@ var OGLinkPreview = ({
|
|
|
6934
6935
|
}
|
|
6935
6936
|
),
|
|
6936
6937
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6937
|
-
|
|
6938
|
+
_chunk3B6PFUL3cjs.TruncateText,
|
|
6938
6939
|
{
|
|
6939
6940
|
lines: 2,
|
|
6940
6941
|
tone: "secondary",
|
|
@@ -6944,9 +6945,9 @@ var OGLinkPreview = ({
|
|
|
6944
6945
|
}
|
|
6945
6946
|
),
|
|
6946
6947
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2 text-ods-text-secondary text-h6", children: [
|
|
6947
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6948
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: effectiveData.siteName }),
|
|
6948
6949
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "\u2022" }),
|
|
6949
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6950
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: ogDomain }),
|
|
6950
6951
|
meta
|
|
6951
6952
|
] })
|
|
6952
6953
|
] })
|
|
@@ -8096,7 +8097,7 @@ var processShortcodes = (content) => {
|
|
|
8096
8097
|
try {
|
|
8097
8098
|
const urlObj = new URL(url);
|
|
8098
8099
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8099
|
-
const hostIs = (domain) =>
|
|
8100
|
+
const hostIs = (domain) => _chunkPYZTG3T5cjs.hostMatches.call(void 0, hostname, domain);
|
|
8100
8101
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8101
8102
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8102
8103
|
return match;
|
|
@@ -9548,7 +9549,7 @@ function renderAdvancedPageContainer({
|
|
|
9548
9549
|
contentClassName,
|
|
9549
9550
|
showHeader = true
|
|
9550
9551
|
}, inScope = false) {
|
|
9551
|
-
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9552
|
+
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children: _chunkTHY2XVGYcjs.accentSentenceMarks.call(void 0, title) }) : inScope && title === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerTitleSkeleton, {}) : null;
|
|
9552
9553
|
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;
|
|
9553
9554
|
const getActionsVariant = () => {
|
|
9554
9555
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9557,7 +9558,7 @@ function renderAdvancedPageContainer({
|
|
|
9557
9558
|
};
|
|
9558
9559
|
const renderActions = () => {
|
|
9559
9560
|
if (!actions || actions.length === 0) return null;
|
|
9560
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9561
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.PageActions, { variant: getActionsVariant(), actions, menuActions });
|
|
9561
9562
|
};
|
|
9562
9563
|
const needsBottomPadding = actions && actions.length > 0 && getActionsVariant() === "primary-buttons";
|
|
9563
9564
|
const paddingClasses = {
|
|
@@ -9580,7 +9581,7 @@ function renderAdvancedPageContainer({
|
|
|
9580
9581
|
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: [
|
|
9581
9582
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9582
9583
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9583
|
-
|
|
9584
|
+
_chunk3B6PFUL3cjs.BackButton,
|
|
9584
9585
|
{
|
|
9585
9586
|
onClick: backButton.onClick,
|
|
9586
9587
|
label: backButton.label,
|
|
@@ -9600,7 +9601,7 @@ function renderAdvancedPageContainer({
|
|
|
9600
9601
|
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: [
|
|
9601
9602
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
9602
9603
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9603
|
-
|
|
9604
|
+
_chunk3B6PFUL3cjs.BackButton,
|
|
9604
9605
|
{
|
|
9605
9606
|
onClick: backButton.onClick,
|
|
9606
9607
|
label: backButton.label,
|
|
@@ -9620,7 +9621,7 @@ function renderAdvancedPageContainer({
|
|
|
9620
9621
|
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: [
|
|
9621
9622
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9622
9623
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9623
|
-
|
|
9624
|
+
_chunk3B6PFUL3cjs.BackButton,
|
|
9624
9625
|
{
|
|
9625
9626
|
onClick: backButton.onClick,
|
|
9626
9627
|
label: backButton.label,
|
|
@@ -9743,7 +9744,7 @@ function ListPageLayout({
|
|
|
9743
9744
|
),
|
|
9744
9745
|
children: [
|
|
9745
9746
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9746
|
-
|
|
9747
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
9747
9748
|
{
|
|
9748
9749
|
userValue: true,
|
|
9749
9750
|
placeholder: searchPlaceholder,
|
|
@@ -10494,10 +10495,10 @@ var OSTypeBadge = ({
|
|
|
10494
10495
|
if (!osType) {
|
|
10495
10496
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10496
10497
|
}
|
|
10497
|
-
const normalized =
|
|
10498
|
+
const normalized = _chunkPYZTG3T5cjs.normalizeOSType.call(void 0, osType);
|
|
10498
10499
|
if (!normalized && !labelOnly) return null;
|
|
10499
|
-
const label =
|
|
10500
|
-
const IconComponent =
|
|
10500
|
+
const label = _chunkPYZTG3T5cjs.getOSLabel.call(void 0, osType);
|
|
10501
|
+
const IconComponent = _chunkPYZTG3T5cjs.getOSIcon.call(void 0, osType);
|
|
10501
10502
|
if (iconOnly && IconComponent) {
|
|
10502
10503
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk7JWFMAQBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10503
10504
|
}
|
|
@@ -10794,7 +10795,7 @@ function ComplianceLogo({
|
|
|
10794
10795
|
fallback = null,
|
|
10795
10796
|
className
|
|
10796
10797
|
}) {
|
|
10797
|
-
const standard =
|
|
10798
|
+
const standard = _chunkPYZTG3T5cjs.complianceStandardForName.call(void 0, ...names);
|
|
10798
10799
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10799
10800
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10800
10801
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11651,7 +11652,7 @@ function OrganizationCardSkeleton({
|
|
|
11651
11652
|
..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props),
|
|
11652
11653
|
children: [
|
|
11653
11654
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_HEADER_CLASS, children: [
|
|
11654
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11655
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.EntityImage, { src: null }),
|
|
11655
11656
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_TEXT_CLASS, children: [
|
|
11656
11657
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h3", className: "w-3/4" }),
|
|
11657
11658
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-1/2" })
|
|
@@ -11723,7 +11724,7 @@ function OrganizationCard({
|
|
|
11723
11724
|
}
|
|
11724
11725
|
),
|
|
11725
11726
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_HEADER_CLASS, children: [
|
|
11726
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11727
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.EntityImage, { src: fetchedImageUrl || organization.imageUrl, alt: organization.name }),
|
|
11727
11728
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_TEXT_CLASS, children: [
|
|
11728
11729
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "truncate text-ods-text-primary transition-colors text-h3", title: organization.name, children: organization.name }),
|
|
11729
11730
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11790,8 +11791,8 @@ function ServiceCard({
|
|
|
11790
11791
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
11791
11792
|
/* @__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 }),
|
|
11792
11793
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
11793
|
-
loading && !title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h3", className: "w-40 max-w-full" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11794
|
-
loading && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-56 max-w-full" }) : subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11794
|
+
loading && !title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h3", className: "w-40 max-w-full" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h3", children: title }),
|
|
11795
|
+
loading && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-56 max-w-full" }) : subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", children: subtitle })
|
|
11795
11796
|
] })
|
|
11796
11797
|
] }),
|
|
11797
11798
|
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTGOJHOQRcjs.Tag, { label: tag.label, variant: "outline", className: "shrink-0 self-start", loading })
|
|
@@ -11930,14 +11931,14 @@ function PersonCell({
|
|
|
11930
11931
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTGOJHOQRcjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
11931
11932
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
11932
11933
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11933
|
-
|
|
11934
|
+
_chunk3B6PFUL3cjs.TruncateText,
|
|
11934
11935
|
{
|
|
11935
11936
|
variant: scale.primary,
|
|
11936
11937
|
className: onClick ? "text-ods-accent group-hover/person-cell:underline" : void 0,
|
|
11937
11938
|
children: displayName
|
|
11938
11939
|
}
|
|
11939
11940
|
),
|
|
11940
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11941
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", children: secondary === void 0 ? "\xA0" : secondary || "\xB7" })
|
|
11941
11942
|
] })
|
|
11942
11943
|
] });
|
|
11943
11944
|
if (!onClick) return row;
|
|
@@ -12835,7 +12836,7 @@ function DataTableRowImpl({
|
|
|
12835
12836
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12836
12837
|
const handleClick = _react.useCallback.call(void 0,
|
|
12837
12838
|
(e) => {
|
|
12838
|
-
if (!
|
|
12839
|
+
if (!_chunkPYZTG3T5cjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12839
12840
|
if (isLinkMode) e.preventDefault();
|
|
12840
12841
|
return;
|
|
12841
12842
|
}
|
|
@@ -12849,7 +12850,7 @@ function DataTableRowImpl({
|
|
|
12849
12850
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _222 => _222.contains, 'call', _223 => _223(target)])) return;
|
|
12850
12851
|
const nestedLink = target.closest("a");
|
|
12851
12852
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12852
|
-
if (!
|
|
12853
|
+
if (!_chunkPYZTG3T5cjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12853
12854
|
}, []);
|
|
12854
12855
|
const containerClassName = _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
12855
12856
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -13328,7 +13329,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13328
13329
|
// child of the cell.
|
|
13329
13330
|
_optionalChain([meta, 'optionalAccess', _242 => _242.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13330
13331
|
filterTrigger,
|
|
13331
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13332
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPYZTG3T5cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13332
13333
|
] }) : filterTrigger
|
|
13333
13334
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13334
13335
|
"div",
|
|
@@ -13353,7 +13354,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13353
13354
|
// centred on the row.
|
|
13354
13355
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13355
13356
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13356
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13357
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPYZTG3T5cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13357
13358
|
] })
|
|
13358
13359
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13359
13360
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13554,7 +13555,7 @@ var PasswordInput = _react.forwardRef.call(void 0, ({ disabled, className, ...pr
|
|
|
13554
13555
|
const [visible, setVisible] = _react.useState.call(void 0, false);
|
|
13555
13556
|
const Icon = visible ? _chunkSFO4QWPAcjs.EyeOffIcon : _chunkMMLT7ASAcjs.EyeIcon;
|
|
13556
13557
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13557
|
-
|
|
13558
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
13558
13559
|
{
|
|
13559
13560
|
ref,
|
|
13560
13561
|
type: visible ? "text" : "password",
|
|
@@ -13592,7 +13593,7 @@ function PhoneInput({
|
|
|
13592
13593
|
placeholder = "Phone Number (optional)",
|
|
13593
13594
|
onKeyDown
|
|
13594
13595
|
}) {
|
|
13595
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13596
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkPYZTG3T5cjs.getCountryPhoneData.call(void 0, ), []);
|
|
13596
13597
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13597
13598
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13598
13599
|
[countryCode, priority, others]
|
|
@@ -13607,7 +13608,7 @@ function PhoneInput({
|
|
|
13607
13608
|
_optionalChain([onValidationChange, 'optionalCall', _259 => _259(false)]);
|
|
13608
13609
|
return;
|
|
13609
13610
|
}
|
|
13610
|
-
const invalid = !
|
|
13611
|
+
const invalid = !_chunkPYZTG3T5cjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13611
13612
|
setIsInvalid(invalid);
|
|
13612
13613
|
_optionalChain([onValidationChange, 'optionalCall', _260 => _260(invalid)]);
|
|
13613
13614
|
},
|
|
@@ -13627,7 +13628,7 @@ function PhoneInput({
|
|
|
13627
13628
|
}, []);
|
|
13628
13629
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 gap-2", children: [
|
|
13629
13630
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13630
|
-
|
|
13631
|
+
_chunk3B6PFUL3cjs.Select,
|
|
13631
13632
|
{
|
|
13632
13633
|
value: countryCode,
|
|
13633
13634
|
onValueChange: (val) => {
|
|
@@ -13638,20 +13639,20 @@ function PhoneInput({
|
|
|
13638
13639
|
},
|
|
13639
13640
|
disabled,
|
|
13640
13641
|
children: [
|
|
13641
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13642
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { className: "w-[130px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, { children: selectedCountry && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5", children: [
|
|
13642
13643
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.flag }),
|
|
13643
13644
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.dialCode })
|
|
13644
13645
|
] }) }) }),
|
|
13645
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13646
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13647
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13648
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13646
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { className: "max-h-[300px] !w-[280px]", children: [
|
|
13647
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectGroup, { children: priority.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) }),
|
|
13648
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectSeparator, {}),
|
|
13649
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectGroup, { children: others.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) })
|
|
13649
13650
|
] })
|
|
13650
13651
|
]
|
|
13651
13652
|
}
|
|
13652
13653
|
),
|
|
13653
13654
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13654
|
-
|
|
13655
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
13655
13656
|
{
|
|
13656
13657
|
type: "tel",
|
|
13657
13658
|
value,
|
|
@@ -13677,7 +13678,7 @@ function PhoneInput({
|
|
|
13677
13678
|
] });
|
|
13678
13679
|
}
|
|
13679
13680
|
function CountryOption({ country }) {
|
|
13680
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13681
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: country.code, textValue: country.name, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-2", children: [
|
|
13681
13682
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: country.flag }),
|
|
13682
13683
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary", children: country.dialCode }),
|
|
13683
13684
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-block max-w-[140px] overflow-hidden text-ellipsis whitespace-nowrap", children: country.name })
|
|
@@ -13758,7 +13759,7 @@ function SearchInput({
|
|
|
13758
13759
|
const debouncedValue = _chunkOJZBZH56cjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
13759
13760
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
13760
13761
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
13761
|
-
const keyboardPadding =
|
|
13762
|
+
const keyboardPadding = _chunk7Z536SPRcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
13762
13763
|
const containerRef = _react.useRef.call(void 0, null);
|
|
13763
13764
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
13764
13765
|
const {
|
|
@@ -13768,7 +13769,7 @@ function SearchInput({
|
|
|
13768
13769
|
textMeasureRef,
|
|
13769
13770
|
badgeRef,
|
|
13770
13771
|
inputRef
|
|
13771
|
-
} =
|
|
13772
|
+
} = _chunk7Z536SPRcjs.useAutoLimitTags.call(void 0, {
|
|
13772
13773
|
count: filterChips.length,
|
|
13773
13774
|
limitTags,
|
|
13774
13775
|
// When chips exist, pass empty placeholder so the hook only reserves input minWidth,
|
|
@@ -14058,7 +14059,7 @@ function SearchInput({
|
|
|
14058
14059
|
)
|
|
14059
14060
|
] }),
|
|
14060
14061
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14061
|
-
|
|
14062
|
+
_chunk3B6PFUL3cjs.HiddenTagsPopup,
|
|
14062
14063
|
{
|
|
14063
14064
|
ref: hiddenTagsPopupRef,
|
|
14064
14065
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
@@ -14220,7 +14221,7 @@ function TagSearchInput({
|
|
|
14220
14221
|
limitTags = "auto"
|
|
14221
14222
|
}) {
|
|
14222
14223
|
const currentPlaceholder = tags.length === 0 ? placeholder : addMorePlaceholder;
|
|
14223
|
-
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } =
|
|
14224
|
+
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } = _chunk7Z536SPRcjs.useAutoLimitTags.call(void 0, {
|
|
14224
14225
|
count: tags.length,
|
|
14225
14226
|
limitTags,
|
|
14226
14227
|
placeholder: currentPlaceholder
|
|
@@ -14350,7 +14351,7 @@ function TagSearchInput({
|
|
|
14350
14351
|
}
|
|
14351
14352
|
),
|
|
14352
14353
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14353
|
-
|
|
14354
|
+
_chunk3B6PFUL3cjs.HiddenTagsPopup,
|
|
14354
14355
|
{
|
|
14355
14356
|
ref: hiddenTagsPopupRef,
|
|
14356
14357
|
items: hiddenTags,
|
|
@@ -14361,34 +14362,20 @@ function TagSearchInput({
|
|
|
14361
14362
|
}
|
|
14362
14363
|
}
|
|
14363
14364
|
),
|
|
14364
|
-
/* @__PURE__ */ _jsxruntime.
|
|
14365
|
-
"span",
|
|
14366
|
-
{
|
|
14367
|
-
|
|
14368
|
-
|
|
14369
|
-
|
|
14370
|
-
|
|
14371
|
-
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
-
|
|
14375
|
-
|
|
14376
|
-
|
|
14377
|
-
|
|
14378
|
-
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
14379
|
-
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14380
|
-
_chunkTGOJHOQRcjs.Tag,
|
|
14381
|
-
{
|
|
14382
|
-
variant: "outline",
|
|
14383
|
-
label: renderTag ? renderTag(tag) : tag.label,
|
|
14384
|
-
labelClassName: "max-w-[120px] truncate",
|
|
14385
|
-
onClose: () => {
|
|
14386
|
-
}
|
|
14387
|
-
},
|
|
14388
|
-
`m-${String(tag.value)}`
|
|
14389
|
-
))
|
|
14390
|
-
}
|
|
14391
|
-
)
|
|
14365
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "aria-hidden": "true", className: _chunk7Z536SPRcjs.MEASURE_LAYER_CLASS, children: [
|
|
14366
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { ref: textMeasureRef, "aria-hidden": "true", className: "whitespace-nowrap text-h4", children: currentPlaceholder }),
|
|
14367
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: measureRef, "aria-hidden": "true", className: "flex w-max gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14368
|
+
_chunkTGOJHOQRcjs.Tag,
|
|
14369
|
+
{
|
|
14370
|
+
variant: "outline",
|
|
14371
|
+
label: renderTag ? renderTag(tag) : tag.label,
|
|
14372
|
+
labelClassName: "max-w-[120px] truncate",
|
|
14373
|
+
onClose: () => {
|
|
14374
|
+
}
|
|
14375
|
+
},
|
|
14376
|
+
`m-${String(tag.value)}`
|
|
14377
|
+
)) })
|
|
14378
|
+
] })
|
|
14392
14379
|
] });
|
|
14393
14380
|
}
|
|
14394
14381
|
|
|
@@ -14452,9 +14439,9 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14452
14439
|
submit();
|
|
14453
14440
|
},
|
|
14454
14441
|
children: [
|
|
14455
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14442
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.Input, { label: "Text", value: text, onChange: (event) => setText(event.target.value), placeholder: "Link text" }),
|
|
14456
14443
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14457
|
-
|
|
14444
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
14458
14445
|
{
|
|
14459
14446
|
label: "URL",
|
|
14460
14447
|
value: url,
|
|
@@ -15105,7 +15092,7 @@ function FileUpload({
|
|
|
15105
15092
|
const displayError = error || validationError || void 0;
|
|
15106
15093
|
const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
|
|
15107
15094
|
const showDropzone = multiple || !hasFiles;
|
|
15108
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15095
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7RM4NM2Ccjs.FieldWrapper, { label: fieldLabel, error: displayError, className, children: [
|
|
15109
15096
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15110
15097
|
"input",
|
|
15111
15098
|
{
|
|
@@ -15339,7 +15326,7 @@ function ImageUploader({
|
|
|
15339
15326
|
}
|
|
15340
15327
|
};
|
|
15341
15328
|
const isActionState = dragActive || pressed && !hasImage;
|
|
15342
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15329
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7RM4NM2Ccjs.FieldWrapper, { label: fieldLabel, error: displayError, className, children: [
|
|
15343
15330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15344
15331
|
"input",
|
|
15345
15332
|
{
|
|
@@ -15446,7 +15433,7 @@ var _reactcolorful = require('react-colorful');
|
|
|
15446
15433
|
var Popover2 = PopoverPrimitive5.Root;
|
|
15447
15434
|
var PopoverTrigger = PopoverPrimitive5.Trigger;
|
|
15448
15435
|
var PopoverContent = _react.forwardRef.call(void 0, ({ className, align = "center", sideOffset = 4, collisionPadding, ...props }, ref) => {
|
|
15449
|
-
const keyboardPadding =
|
|
15436
|
+
const keyboardPadding = _chunk7Z536SPRcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
15450
15437
|
const container = _chunkNL3G642Ucjs.usePortalContainer.call(void 0, );
|
|
15451
15438
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive5.Portal, { container: _nullishCoalesce(container, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15452
15439
|
PopoverPrimitive5.Content,
|
|
@@ -15552,7 +15539,7 @@ function HexInputs({ value, onChange }) {
|
|
|
15552
15539
|
else setDraft(value);
|
|
15553
15540
|
};
|
|
15554
15541
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15555
|
-
|
|
15542
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
15556
15543
|
{
|
|
15557
15544
|
type: "text",
|
|
15558
15545
|
value: draft,
|
|
@@ -15592,7 +15579,7 @@ function ChannelInput({
|
|
|
15592
15579
|
onCommit(Math.max(min, Math.min(max, parsed)));
|
|
15593
15580
|
};
|
|
15594
15581
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15595
|
-
|
|
15582
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
15596
15583
|
{
|
|
15597
15584
|
type: "text",
|
|
15598
15585
|
inputMode: "numeric",
|
|
@@ -15806,7 +15793,7 @@ function TicketStatusConfigRow({
|
|
|
15806
15793
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "order-1 flex min-w-0 grow basis-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
15807
15794
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { variant: "large", htmlFor: nameInputId, children: "Status Name" }),
|
|
15808
15795
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingWhen, { loading, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15809
|
-
|
|
15796
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
15810
15797
|
{
|
|
15811
15798
|
id: nameInputId,
|
|
15812
15799
|
value: name,
|
|
@@ -16199,7 +16186,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
16199
16186
|
}
|
|
16200
16187
|
),
|
|
16201
16188
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1 overflow-hidden", children: isEditing ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
16202
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16189
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.Input, { value: editText, onChange: (e) => setEditText(e.target.value), onKeyDown: handleKeyDown, autoFocus: true }) }),
|
|
16203
16190
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16204
16191
|
_chunkAHBTZ7DNcjs.Button,
|
|
16205
16192
|
{
|
|
@@ -16289,7 +16276,7 @@ function TicketNotesSection({
|
|
|
16289
16276
|
notes.map((note) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketNoteCard, { note, onEdit: onEditNote, onDelete: onDeleteNote }, note.id)),
|
|
16290
16277
|
onAddNote && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
16291
16278
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16292
|
-
|
|
16279
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
16293
16280
|
{
|
|
16294
16281
|
value: noteText,
|
|
16295
16282
|
onChange: (e) => setNoteText(e.target.value),
|
|
@@ -16459,7 +16446,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
16459
16446
|
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: [
|
|
16460
16447
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16461
16448
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.ColorSwatch, { color }),
|
|
16462
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16449
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
16463
16450
|
] }),
|
|
16464
16451
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
16465
16452
|
] });
|
|
@@ -16469,7 +16456,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
16469
16456
|
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: [
|
|
16470
16457
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16471
16458
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTGOJHOQRcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
16472
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16459
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
16473
16460
|
] }),
|
|
16474
16461
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
16475
16462
|
] });
|
|
@@ -16513,7 +16500,7 @@ function TakeOverTicketModal({
|
|
|
16513
16500
|
] }),
|
|
16514
16501
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
16515
16502
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16516
|
-
|
|
16503
|
+
_chunk3B6PFUL3cjs.Autocomplete,
|
|
16517
16504
|
{
|
|
16518
16505
|
label: "Status",
|
|
16519
16506
|
options: statusOptions,
|
|
@@ -16525,7 +16512,7 @@ function TakeOverTicketModal({
|
|
|
16525
16512
|
}
|
|
16526
16513
|
) }),
|
|
16527
16514
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16528
|
-
|
|
16515
|
+
_chunk3B6PFUL3cjs.Autocomplete,
|
|
16529
16516
|
{
|
|
16530
16517
|
label: "Assigned",
|
|
16531
16518
|
options: assigneeOptions,
|
|
@@ -16616,7 +16603,7 @@ function ReopenTicketModal({
|
|
|
16616
16603
|
] }),
|
|
16617
16604
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
16618
16605
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16619
|
-
|
|
16606
|
+
_chunk3B6PFUL3cjs.Autocomplete,
|
|
16620
16607
|
{
|
|
16621
16608
|
label: "Status",
|
|
16622
16609
|
options: statusOptions,
|
|
@@ -16628,7 +16615,7 @@ function ReopenTicketModal({
|
|
|
16628
16615
|
}
|
|
16629
16616
|
) }),
|
|
16630
16617
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16631
|
-
|
|
16618
|
+
_chunk3B6PFUL3cjs.Autocomplete,
|
|
16632
16619
|
{
|
|
16633
16620
|
label: "Assigned",
|
|
16634
16621
|
options: assigneeOptions,
|
|
@@ -17146,7 +17133,7 @@ function ProductScreenFrame({
|
|
|
17146
17133
|
className: _chunk7JWFMAQBcjs.cn.call(void 0, "ods-content-area", pending && "product-screen-pending"),
|
|
17147
17134
|
style: screenStyle,
|
|
17148
17135
|
children: [
|
|
17149
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ods-content-scope", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingScope, { bare: true, active: pending, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ods-content-scope", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingScope, { bare: true, active: pending, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.PagePicture, { children }) }) }),
|
|
17150
17137
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, style: { display: "contents" } })
|
|
17151
17138
|
]
|
|
17152
17139
|
}
|
|
@@ -17284,7 +17271,7 @@ function PhoneFrame({ dateLabel, timeLabel, children, className }) {
|
|
|
17284
17271
|
"div",
|
|
17285
17272
|
{
|
|
17286
17273
|
className: _chunk7JWFMAQBcjs.cn.call(void 0, "h-[617px] w-[299px] shrink-0 rounded-[48px] border border-ods-border bg-black p-2.5", className),
|
|
17287
|
-
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative flex h-full flex-col overflow-hidden rounded-[38px]",
|
|
17274
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative flex h-full flex-col overflow-hidden rounded-[38px]", _chunk3B6PFUL3cjs.DEVICE_WALLPAPER_CLASS), children: [
|
|
17288
17275
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17289
17276
|
"div",
|
|
17290
17277
|
{
|
|
@@ -17476,7 +17463,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17476
17463
|
};
|
|
17477
17464
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17478
17465
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17479
|
-
const labels =
|
|
17466
|
+
const labels = _chunkPYZTG3T5cjs.trialLabels.call(void 0, trialDays);
|
|
17480
17467
|
return terms.flatMap((term) => {
|
|
17481
17468
|
const label = labels[term];
|
|
17482
17469
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -18128,7 +18115,7 @@ function ArrayEntryManager({
|
|
|
18128
18115
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1 space-y-2", children: [
|
|
18129
18116
|
renderLabel && renderLabel(item, index),
|
|
18130
18117
|
titleFieldKey ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18131
|
-
|
|
18118
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
18132
18119
|
{
|
|
18133
18120
|
placeholder: _nullishCoalesce(titlePlaceholder, () => ( "Name")),
|
|
18134
18121
|
value: _nullishCoalesce(item[titleFieldKey], () => ( "")),
|
|
@@ -18138,7 +18125,7 @@ function ArrayEntryManager({
|
|
|
18138
18125
|
}
|
|
18139
18126
|
) : null,
|
|
18140
18127
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18141
|
-
|
|
18128
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
18142
18129
|
{
|
|
18143
18130
|
placeholder,
|
|
18144
18131
|
value: item[fieldKey],
|
|
@@ -18187,7 +18174,7 @@ function AccountDetailsFields({
|
|
|
18187
18174
|
const confirmErr = _chunkAZJYMTBScjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _379 => _379.confirmPassword]), confirmPassword);
|
|
18188
18175
|
const names = [
|
|
18189
18176
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18190
|
-
|
|
18177
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
18191
18178
|
{
|
|
18192
18179
|
label: "First Name",
|
|
18193
18180
|
placeholder: "Enter First Name",
|
|
@@ -18201,7 +18188,7 @@ function AccountDetailsFields({
|
|
|
18201
18188
|
"firstName"
|
|
18202
18189
|
),
|
|
18203
18190
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18204
|
-
|
|
18191
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
18205
18192
|
{
|
|
18206
18193
|
label: "Last Name",
|
|
18207
18194
|
placeholder: "Enter Last Name",
|
|
@@ -18666,12 +18653,12 @@ function CreateOrganizationForm({
|
|
|
18666
18653
|
] }),
|
|
18667
18654
|
email === void 0 ? null : emailReadOnly && emailReadOnlyLabel === null ? (
|
|
18668
18655
|
// An empty label keeps the field's own frame (`FieldWrapper` draws no label for it); the bar stands for it.
|
|
18669
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18656
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7RM4NM2Ccjs.FieldWrapper, { label: "", children: [
|
|
18670
18657
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: CREATE_ORGANIZATION_EMAIL_LABEL_BAR_CLASS }),
|
|
18671
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18658
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.Input, { type: "email", value: email, readOnly: true, disabled: true })
|
|
18672
18659
|
] })
|
|
18673
|
-
) : emailReadOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18674
|
-
|
|
18660
|
+
) : emailReadOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.Input, { type: "email", label: _nullishCoalesce(emailReadOnlyLabel, () => ( void 0)), value: email, readOnly: true, disabled: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18661
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
18675
18662
|
{
|
|
18676
18663
|
type: "email",
|
|
18677
18664
|
label: "Email",
|
|
@@ -18686,7 +18673,7 @@ function CreateOrganizationForm({
|
|
|
18686
18673
|
}
|
|
18687
18674
|
),
|
|
18688
18675
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18689
|
-
|
|
18676
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
18690
18677
|
{
|
|
18691
18678
|
label: "Organization Name",
|
|
18692
18679
|
placeholder: "Your Company Name",
|
|
@@ -18700,7 +18687,7 @@ function CreateOrganizationForm({
|
|
|
18700
18687
|
),
|
|
18701
18688
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18702
18689
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18703
|
-
|
|
18690
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
18704
18691
|
{
|
|
18705
18692
|
label: "Domain",
|
|
18706
18693
|
placeholder: domainPlaceholder,
|
|
@@ -18896,7 +18883,7 @@ function LoginForm({
|
|
|
18896
18883
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18897
18884
|
] }),
|
|
18898
18885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18899
|
-
|
|
18886
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
18900
18887
|
{
|
|
18901
18888
|
type: "email",
|
|
18902
18889
|
label: "Email",
|
|
@@ -19072,7 +19059,7 @@ function OpenFrameSsoLoginForm({
|
|
|
19072
19059
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19073
19060
|
] }),
|
|
19074
19061
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19075
|
-
|
|
19062
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
19076
19063
|
{
|
|
19077
19064
|
type: "email",
|
|
19078
19065
|
label: emailLabel,
|
|
@@ -19177,7 +19164,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
19177
19164
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19178
19165
|
] }),
|
|
19179
19166
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19180
|
-
|
|
19167
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
19181
19168
|
{
|
|
19182
19169
|
type: "email",
|
|
19183
19170
|
label: emailLabel,
|
|
@@ -19283,7 +19270,7 @@ function PasswordResetForm({
|
|
|
19283
19270
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19284
19271
|
] }),
|
|
19285
19272
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19286
|
-
|
|
19273
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
19287
19274
|
{
|
|
19288
19275
|
type: "password",
|
|
19289
19276
|
label: newPasswordLabel,
|
|
@@ -19297,7 +19284,7 @@ function PasswordResetForm({
|
|
|
19297
19284
|
}
|
|
19298
19285
|
),
|
|
19299
19286
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19300
|
-
|
|
19287
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
19301
19288
|
{
|
|
19302
19289
|
type: "password",
|
|
19303
19290
|
label: confirmPasswordLabel,
|
|
@@ -19705,7 +19692,7 @@ function ChangelogManager({
|
|
|
19705
19692
|
" *"
|
|
19706
19693
|
] }),
|
|
19707
19694
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19708
|
-
|
|
19695
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
19709
19696
|
{
|
|
19710
19697
|
placeholder: titlePlaceholder,
|
|
19711
19698
|
value: entry.title,
|
|
@@ -19730,9 +19717,9 @@ function ChangelogManager({
|
|
|
19730
19717
|
] }),
|
|
19731
19718
|
tagOptions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19732
19719
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
19733
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19734
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19735
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19720
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.Select, { value: _nullishCoalesce(entry.tag, () => ( "")), onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
19721
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, { placeholder: tagLabel }) }),
|
|
19722
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: tagOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
19736
19723
|
] })
|
|
19737
19724
|
] })
|
|
19738
19725
|
] })
|
|
@@ -21513,24 +21500,24 @@ function MediaGalleryManager({
|
|
|
21513
21500
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21514
21501
|
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" }),
|
|
21515
21502
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21516
|
-
|
|
21503
|
+
_chunk3B6PFUL3cjs.Select,
|
|
21517
21504
|
{
|
|
21518
21505
|
value: item.media_type,
|
|
21519
21506
|
onValueChange: (value) => update(index, { media_type: value }),
|
|
21520
21507
|
children: [
|
|
21521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21522
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21523
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21524
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21525
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21526
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21508
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { className: "h-8 bg-ods-bg text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, {}) }),
|
|
21509
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
21510
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "image", children: "Image" }),
|
|
21511
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "video", children: "Video" }),
|
|
21512
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "screenshot", children: "Screenshot" }),
|
|
21513
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "demo", children: "Demo" })
|
|
21527
21514
|
] })
|
|
21528
21515
|
]
|
|
21529
21516
|
}
|
|
21530
21517
|
)
|
|
21531
21518
|
] }),
|
|
21532
21519
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21533
|
-
|
|
21520
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
21534
21521
|
{
|
|
21535
21522
|
placeholder: "Title (optional)",
|
|
21536
21523
|
value: _nullishCoalesce(item.title, () => ( "")),
|
|
@@ -21693,7 +21680,7 @@ function PushButtonSelector({
|
|
|
21693
21680
|
};
|
|
21694
21681
|
}, [lazyHasMore, lazyFetching, onLoadMore, optionCount]);
|
|
21695
21682
|
const searchInput = search ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21696
|
-
|
|
21683
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
21697
21684
|
{
|
|
21698
21685
|
userValue: true,
|
|
21699
21686
|
value: search.value,
|
|
@@ -21907,7 +21894,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21907
21894
|
empty: "No token rates are in effect right now."
|
|
21908
21895
|
};
|
|
21909
21896
|
function providerMark(providerType, stated, className) {
|
|
21910
|
-
const Mark = _chunkVXXOUM2Kcjs.findIcon.call(void 0,
|
|
21897
|
+
const Mark = _chunkVXXOUM2Kcjs.findIcon.call(void 0, _chunkPYZTG3T5cjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21911
21898
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21912
21899
|
}
|
|
21913
21900
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21925,7 +21912,7 @@ var UNIT_LINE_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
|
21925
21912
|
var TABS_ROW_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21926
21913
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21927
21914
|
function useProviderGroup(rates) {
|
|
21928
|
-
const groups =
|
|
21915
|
+
const groups = _chunkPYZTG3T5cjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21929
21916
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21930
21917
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21931
21918
|
}
|
|
@@ -21944,7 +21931,7 @@ function ProviderTabs({
|
|
|
21944
21931
|
onValueChange,
|
|
21945
21932
|
items: groups.map((candidate) => ({
|
|
21946
21933
|
id: candidate.providerType,
|
|
21947
|
-
label:
|
|
21934
|
+
label: _chunkPYZTG3T5cjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _460 => _460.rates, 'access', _461 => _461[0], 'optionalAccess', _462 => _462.providerLabel])),
|
|
21948
21935
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _463 => _463.rates, 'access', _464 => _464[0], 'optionalAccess', _465 => _465.providerIcon]), "size-full")
|
|
21949
21936
|
})),
|
|
21950
21937
|
className
|
|
@@ -22021,8 +22008,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22021
22008
|
] }),
|
|
22022
22009
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "rowgroup", className: "min-h-0 flex-1 overflow-y-auto", children: group.rates.map((rate) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-loading-item": true, role: "row", className: BODY_ROW_CLASS, children: [
|
|
22023
22010
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22024
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22025
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22011
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkPYZTG3T5cjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22012
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkPYZTG3T5cjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22026
22013
|
] }, rate.modelName)) })
|
|
22027
22014
|
] }),
|
|
22028
22015
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -22069,7 +22056,7 @@ function modelOption(rate) {
|
|
|
22069
22056
|
return {
|
|
22070
22057
|
label: rate.displayName || rate.modelName,
|
|
22071
22058
|
value: rate.modelName,
|
|
22072
|
-
description:
|
|
22059
|
+
description: _chunkPYZTG3T5cjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22073
22060
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22074
22061
|
};
|
|
22075
22062
|
}
|
|
@@ -22124,8 +22111,8 @@ function ModelTokenExchange({
|
|
|
22124
22111
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22125
22112
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _466 => _466.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22126
22113
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22127
|
-
const tokens =
|
|
22128
|
-
const cost =
|
|
22114
|
+
const tokens = _chunkPYZTG3T5cjs.formatTokenAmount.call(void 0, balance);
|
|
22115
|
+
const cost = _chunkPYZTG3T5cjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22129
22116
|
const balancePrice = cost === null ? null : _chunkTGOJHOQRcjs.formatPrice.call(void 0, cost);
|
|
22130
22117
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22131
22118
|
const options = models.map(modelOption);
|
|
@@ -22168,7 +22155,7 @@ function ModelTokenExchange({
|
|
|
22168
22155
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22169
22156
|
size: "small",
|
|
22170
22157
|
onClick: () => setChosen(preset.tokens),
|
|
22171
|
-
children: copy.buy.preset(
|
|
22158
|
+
children: copy.buy.preset(_chunkPYZTG3T5cjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22172
22159
|
},
|
|
22173
22160
|
preset.label
|
|
22174
22161
|
)) })
|
|
@@ -22185,7 +22172,7 @@ function ModelTokenExchange({
|
|
|
22185
22172
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _467 => _467.providerType]) === providerType ? rate : null)));
|
|
22186
22173
|
return {
|
|
22187
22174
|
id: providerType,
|
|
22188
|
-
name:
|
|
22175
|
+
name: _chunkPYZTG3T5cjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _468 => _468.providerLabel])),
|
|
22189
22176
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _469 => _469.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22190
22177
|
};
|
|
22191
22178
|
}),
|
|
@@ -22197,7 +22184,7 @@ function ModelTokenExchange({
|
|
|
22197
22184
|
}
|
|
22198
22185
|
),
|
|
22199
22186
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22200
|
-
|
|
22187
|
+
_chunk3B6PFUL3cjs.Autocomplete,
|
|
22201
22188
|
{
|
|
22202
22189
|
fieldLoading: loading,
|
|
22203
22190
|
label: copy.use.model,
|
|
@@ -22224,7 +22211,7 @@ function ModelTokenExchange({
|
|
|
22224
22211
|
{
|
|
22225
22212
|
size: "plain",
|
|
22226
22213
|
loading,
|
|
22227
|
-
figure:
|
|
22214
|
+
figure: _chunkPYZTG3T5cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _474 => _474.inputTokenRate])),
|
|
22228
22215
|
words: copy.charge.input
|
|
22229
22216
|
}
|
|
22230
22217
|
),
|
|
@@ -22233,7 +22220,7 @@ function ModelTokenExchange({
|
|
|
22233
22220
|
{
|
|
22234
22221
|
size: "plain",
|
|
22235
22222
|
loading,
|
|
22236
|
-
figure:
|
|
22223
|
+
figure: _chunkPYZTG3T5cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _475 => _475.outputTokenRate])),
|
|
22237
22224
|
words: copy.charge.output
|
|
22238
22225
|
}
|
|
22239
22226
|
)
|
|
@@ -22245,9 +22232,9 @@ function ModelTokenExchange({
|
|
|
22245
22232
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22246
22233
|
children: [
|
|
22247
22234
|
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22248
|
-
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22235
|
+
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkPYZTG3T5cjs.formatTokenAmount.call(void 0, _chunkPYZTG3T5cjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22249
22236
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22250
|
-
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22237
|
+
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkPYZTG3T5cjs.formatTokenAmount.call(void 0, _chunkPYZTG3T5cjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22251
22238
|
]
|
|
22252
22239
|
}
|
|
22253
22240
|
)
|
|
@@ -22767,14 +22754,14 @@ var ConfidenceBadge = ({
|
|
|
22767
22754
|
size = "sm",
|
|
22768
22755
|
className
|
|
22769
22756
|
}) => {
|
|
22770
|
-
const level =
|
|
22757
|
+
const level = _chunkPYZTG3T5cjs.getConfidenceLevel.call(void 0, confidence);
|
|
22771
22758
|
if (level === "none") {
|
|
22772
22759
|
return null;
|
|
22773
22760
|
}
|
|
22774
|
-
const label =
|
|
22775
|
-
const borderClass =
|
|
22776
|
-
const textClass =
|
|
22777
|
-
const bgClass =
|
|
22761
|
+
const label = _chunkPYZTG3T5cjs.getConfidenceLabel.call(void 0, confidence);
|
|
22762
|
+
const borderClass = _chunkPYZTG3T5cjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22763
|
+
const textClass = _chunkPYZTG3T5cjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22764
|
+
const bgClass = _chunkPYZTG3T5cjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22778
22765
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22779
22766
|
"span",
|
|
22780
22767
|
{
|
|
@@ -22825,9 +22812,9 @@ function SEOEditorPreview({
|
|
|
22825
22812
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22826
22813
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22827
22814
|
const seoTitleLength = (seoTitle || "").length;
|
|
22828
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22815
|
+
const seoTitleTooLong = seoTitleLength > _chunkPYZTG3T5cjs.SEO_TITLE_MAX_LENGTH;
|
|
22829
22816
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22830
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22817
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkPYZTG3T5cjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22831
22818
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22832
22819
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22833
22820
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22852,10 +22839,10 @@ function SEOEditorPreview({
|
|
|
22852
22839
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22853
22840
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22854
22841
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22855
|
-
|
|
22842
|
+
_chunkPYZTG3T5cjs.Field,
|
|
22856
22843
|
{
|
|
22857
22844
|
label: "SEO Title",
|
|
22858
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22845
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkPYZTG3T5cjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22859
22846
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22860
22847
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22861
22848
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22870,18 +22857,18 @@ function SEOEditorPreview({
|
|
|
22870
22857
|
children: [
|
|
22871
22858
|
seoTitleLength,
|
|
22872
22859
|
"/",
|
|
22873
|
-
|
|
22860
|
+
_chunkPYZTG3T5cjs.SEO_TITLE_MAX_LENGTH
|
|
22874
22861
|
]
|
|
22875
22862
|
}
|
|
22876
22863
|
),
|
|
22877
22864
|
children: (f) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22878
|
-
|
|
22865
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
22879
22866
|
{
|
|
22880
22867
|
...f,
|
|
22881
22868
|
value: seoTitle || "",
|
|
22882
22869
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22883
22870
|
disabled,
|
|
22884
|
-
maxLength:
|
|
22871
|
+
maxLength: _chunkPYZTG3T5cjs.SEO_TITLE_MAX_LENGTH,
|
|
22885
22872
|
invalid: seoTitleTooLong,
|
|
22886
22873
|
placeholder: "Enter SEO meta title...",
|
|
22887
22874
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22892,7 +22879,7 @@ function SEOEditorPreview({
|
|
|
22892
22879
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22893
22880
|
] }),
|
|
22894
22881
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22895
|
-
|
|
22882
|
+
_chunkPYZTG3T5cjs.Field,
|
|
22896
22883
|
{
|
|
22897
22884
|
label: "SEO Keywords",
|
|
22898
22885
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22908,7 +22895,7 @@ function SEOEditorPreview({
|
|
|
22908
22895
|
)
|
|
22909
22896
|
] }) : void 0,
|
|
22910
22897
|
children: (f) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22911
|
-
|
|
22898
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
22912
22899
|
{
|
|
22913
22900
|
...f,
|
|
22914
22901
|
value: seoKeywords || "",
|
|
@@ -22924,10 +22911,10 @@ function SEOEditorPreview({
|
|
|
22924
22911
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22925
22912
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22926
22913
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22927
|
-
|
|
22914
|
+
_chunkPYZTG3T5cjs.Field,
|
|
22928
22915
|
{
|
|
22929
22916
|
label: "SEO Description",
|
|
22930
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22917
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkPYZTG3T5cjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22931
22918
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22932
22919
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22933
22920
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22950,7 +22937,7 @@ function SEOEditorPreview({
|
|
|
22950
22937
|
children: [
|
|
22951
22938
|
seoDescriptionLength,
|
|
22952
22939
|
"/",
|
|
22953
|
-
|
|
22940
|
+
_chunkPYZTG3T5cjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22954
22941
|
]
|
|
22955
22942
|
}
|
|
22956
22943
|
),
|
|
@@ -22961,7 +22948,7 @@ function SEOEditorPreview({
|
|
|
22961
22948
|
value: seoDescription || "",
|
|
22962
22949
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22963
22950
|
disabled,
|
|
22964
|
-
maxLength:
|
|
22951
|
+
maxLength: _chunkPYZTG3T5cjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22965
22952
|
invalid: seoDescriptionTooLong,
|
|
22966
22953
|
placeholder: "Enter SEO meta description...",
|
|
22967
22954
|
className: _chunk7JWFMAQBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23114,7 +23101,7 @@ function socialIcon(platform) {
|
|
|
23114
23101
|
return _nullishCoalesce(_chunkVXXOUM2Kcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23115
23102
|
}
|
|
23116
23103
|
function renderSocialIcon(platform) {
|
|
23117
|
-
const key = _nullishCoalesce(
|
|
23104
|
+
const key = _nullishCoalesce(_chunkPYZTG3T5cjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23118
23105
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23119
23106
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23120
23107
|
}
|
|
@@ -23205,7 +23192,7 @@ function SocialLinksManager({
|
|
|
23205
23192
|
};
|
|
23206
23193
|
const getIcon = (link, platform) => {
|
|
23207
23194
|
const iconKey = _optionalChain([platform, 'optionalAccess', _485 => _485.icon_name]) || link.platform;
|
|
23208
|
-
const key =
|
|
23195
|
+
const key = _chunkPYZTG3T5cjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23209
23196
|
if (!key) return null;
|
|
23210
23197
|
const icon = socialIcon(key);
|
|
23211
23198
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23221,12 +23208,12 @@ function SocialLinksManager({
|
|
|
23221
23208
|
children: [
|
|
23222
23209
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 items-center justify-center", children: Icon }),
|
|
23223
23210
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid flex-1 grid-cols-2 gap-3", children: [
|
|
23224
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23225
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23226
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23211
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.Select, { value: link.platform, onValueChange: (value) => updateLink(index, "platform", value), children: [
|
|
23212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, {}) }),
|
|
23213
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: platforms.map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: p.name, children: p.display_name }, p.name)) })
|
|
23227
23214
|
] }) }),
|
|
23228
23215
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23229
|
-
|
|
23216
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
23230
23217
|
{
|
|
23231
23218
|
placeholder: _optionalChain([platform, 'optionalAccess', _486 => _486.placeholder]) || "Profile URL",
|
|
23232
23219
|
value: link.url,
|
|
@@ -23241,15 +23228,15 @@ function SocialLinksManager({
|
|
|
23241
23228
|
)
|
|
23242
23229
|
] }),
|
|
23243
23230
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23244
|
-
|
|
23231
|
+
_chunk3B6PFUL3cjs.Select,
|
|
23245
23232
|
{
|
|
23246
23233
|
value: _nullishCoalesce(link.visibility, () => ( "external")),
|
|
23247
23234
|
onValueChange: (value) => updateLink(index, "visibility", value),
|
|
23248
23235
|
children: [
|
|
23249
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23250
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23251
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23252
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23236
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { className: "w-[120px] shrink-0", "aria-label": "Social link visibility", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, {}) }),
|
|
23237
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: [
|
|
23238
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "external", children: "Public" }),
|
|
23239
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "internal", children: "Internal" })
|
|
23253
23240
|
] })
|
|
23254
23241
|
]
|
|
23255
23242
|
}
|
|
@@ -23702,7 +23689,7 @@ function WalkthroughVideo({
|
|
|
23702
23689
|
onOpenChange,
|
|
23703
23690
|
defaultOpen,
|
|
23704
23691
|
defaultOpenPaused,
|
|
23705
|
-
deepLinkParam =
|
|
23692
|
+
deepLinkParam = _chunkPYZTG3T5cjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23706
23693
|
autoPlayCard = false,
|
|
23707
23694
|
label = "Play Demo Video",
|
|
23708
23695
|
placement,
|
|
@@ -23719,7 +23706,7 @@ function WalkthroughVideo({
|
|
|
23719
23706
|
const inline = placement === "inline";
|
|
23720
23707
|
const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
23721
23708
|
const dismissEnabled = dismissal !== false;
|
|
23722
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23709
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkPYZTG3T5cjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23723
23710
|
const dismissalId = _optionalChain([video, 'optionalAccess', _491 => _491.id]) != null ? String(video.id) : "dismissed";
|
|
23724
23711
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23725
23712
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23731,7 +23718,7 @@ function WalkthroughVideo({
|
|
|
23731
23718
|
let delayElapsed = false;
|
|
23732
23719
|
let interacted = inline;
|
|
23733
23720
|
const reveal = () => {
|
|
23734
|
-
if (dismissEnabled &&
|
|
23721
|
+
if (dismissEnabled && _chunkPYZTG3T5cjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23735
23722
|
setDismissed(true);
|
|
23736
23723
|
return;
|
|
23737
23724
|
}
|
|
@@ -24018,7 +24005,7 @@ function WalkthroughVideo({
|
|
|
24018
24005
|
(e) => {
|
|
24019
24006
|
e.stopPropagation();
|
|
24020
24007
|
pausePreviewNow();
|
|
24021
|
-
if (dismissEnabled)
|
|
24008
|
+
if (dismissEnabled) _chunkPYZTG3T5cjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24022
24009
|
setDismissed(true);
|
|
24023
24010
|
},
|
|
24024
24011
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24502,7 +24489,7 @@ function VideoSourceSelector({
|
|
|
24502
24489
|
videoSourceType === "youtube" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
24503
24490
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { children: youtubeLabel }),
|
|
24504
24491
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24505
|
-
|
|
24492
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
24506
24493
|
{
|
|
24507
24494
|
value: youtubeUrl,
|
|
24508
24495
|
onChange: (e) => onYoutubeUrlChange(e.target.value),
|
|
@@ -25019,19 +25006,19 @@ function HighlightVideoSection({
|
|
|
25019
25006
|
/* @__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: [
|
|
25020
25007
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { children: "Target Duration" }),
|
|
25021
25008
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25022
|
-
|
|
25009
|
+
_chunk3B6PFUL3cjs.Select,
|
|
25023
25010
|
{
|
|
25024
25011
|
value: targetDurationSeconds.toString(),
|
|
25025
25012
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
25026
25013
|
disabled,
|
|
25027
25014
|
children: [
|
|
25028
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25029
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25030
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25031
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25032
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25033
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25034
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25015
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { className: "mt-1 bg-ods-bg-surface", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, {}) }),
|
|
25016
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
25017
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
25018
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
25019
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
25020
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
25021
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
25035
25022
|
] })
|
|
25036
25023
|
]
|
|
25037
25024
|
}
|
|
@@ -25116,20 +25103,20 @@ function HighlightConfigSection({
|
|
|
25116
25103
|
disabled = false,
|
|
25117
25104
|
className = ""
|
|
25118
25105
|
}) {
|
|
25119
|
-
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,
|
|
25120
|
-
|
|
25106
|
+
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, _chunkPYZTG3T5cjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25107
|
+
_chunk3B6PFUL3cjs.Select,
|
|
25121
25108
|
{
|
|
25122
25109
|
value: targetDurationSeconds.toString(),
|
|
25123
25110
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
25124
25111
|
disabled,
|
|
25125
25112
|
children: [
|
|
25126
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25127
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25128
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25130
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25131
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25132
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25113
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { id: f.id, className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, {}) }),
|
|
25114
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { className: "bg-ods-card", children: [
|
|
25115
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
25116
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
25117
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
25118
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
25119
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
25133
25120
|
] })
|
|
25134
25121
|
]
|
|
25135
25122
|
}
|
|
@@ -25217,7 +25204,7 @@ var AIStatusIndicator = ({
|
|
|
25217
25204
|
}) => {
|
|
25218
25205
|
const config = statusConfig[status];
|
|
25219
25206
|
const displayText = message || config.label;
|
|
25220
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25207
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkPYZTG3T5cjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25221
25208
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25222
25209
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25223
25210
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25225,7 +25212,7 @@ var AIStatusIndicator = ({
|
|
|
25225
25212
|
size: 16,
|
|
25226
25213
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25227
25214
|
status === "loading" && _chunk4WIJI4AKcjs.LIVE_PULSE_CLASS,
|
|
25228
|
-
confidence !== void 0 && status === "success" ?
|
|
25215
|
+
confidence !== void 0 && status === "success" ? _chunkPYZTG3T5cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25229
25216
|
)
|
|
25230
25217
|
}
|
|
25231
25218
|
),
|
|
@@ -25234,7 +25221,7 @@ var AIStatusIndicator = ({
|
|
|
25234
25221
|
{
|
|
25235
25222
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25236
25223
|
"text-h6",
|
|
25237
|
-
confidence !== void 0 && status === "success" ?
|
|
25224
|
+
confidence !== void 0 && status === "success" ? _chunkPYZTG3T5cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25238
25225
|
),
|
|
25239
25226
|
children: displayText
|
|
25240
25227
|
}
|
|
@@ -25244,8 +25231,8 @@ var AIStatusIndicator = ({
|
|
|
25244
25231
|
{
|
|
25245
25232
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25246
25233
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25247
|
-
|
|
25248
|
-
|
|
25234
|
+
_chunkPYZTG3T5cjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25235
|
+
_chunkPYZTG3T5cjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25249
25236
|
),
|
|
25250
25237
|
children: confidenceLabel
|
|
25251
25238
|
}
|
|
@@ -26125,7 +26112,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
26125
26112
|
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,
|
|
26126
26113
|
_chunkAHBTZ7DNcjs.Button,
|
|
26127
26114
|
{
|
|
26128
|
-
onClick: loading ? void 0 :
|
|
26115
|
+
onClick: loading ? void 0 : _chunkPYZTG3T5cjs.openInNewTab.call(void 0, href),
|
|
26129
26116
|
disabled: loading,
|
|
26130
26117
|
variant: "outline",
|
|
26131
26118
|
size: "icon",
|
|
@@ -26164,8 +26151,8 @@ function PoliciesTable({
|
|
|
26164
26151
|
accessorKey: "name",
|
|
26165
26152
|
header: "Name",
|
|
26166
26153
|
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: [
|
|
26167
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26168
|
-
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26154
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: row.original.name }),
|
|
26155
|
+
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.description })
|
|
26169
26156
|
] }),
|
|
26170
26157
|
meta: { width: "flex-1 min-w-0" }
|
|
26171
26158
|
},
|
|
@@ -26436,7 +26423,7 @@ function TenantAccessCell({ accessState, lastReadAt: lastReadAt2, now }) {
|
|
|
26436
26423
|
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
26437
26424
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26438
26425
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTGOJHOQRcjs.Tag, { ...accessStateTag(accessState), loading, className: "self-start" }),
|
|
26439
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26426
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: `Last read: ${formatLastRead(lastReadAt2, now)}` })
|
|
26440
26427
|
] });
|
|
26441
26428
|
}
|
|
26442
26429
|
|
|
@@ -26448,9 +26435,9 @@ function TenantCell({ provider, name, domain }) {
|
|
|
26448
26435
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26449
26436
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26450
26437
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.MediaSkeleton.Icon, { size: "md", className: "shrink-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Logo, { size: 24, role: "img", "aria-label": label, className: "shrink-0" }),
|
|
26451
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26438
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: name })
|
|
26452
26439
|
] }),
|
|
26453
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26440
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: _nullishCoalesce(domain, () => ( TENANT_EMPTY_VALUE)) })
|
|
26454
26441
|
] });
|
|
26455
26442
|
}
|
|
26456
26443
|
|
|
@@ -26461,9 +26448,9 @@ function TenantCustomerCell({ name, imageUrl, userCount }) {
|
|
|
26461
26448
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26462
26449
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26463
26450
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTGOJHOQRcjs.SquareAvatar, { src: _nullishCoalesce(imageUrl, () => ( void 0)), alt: name, fallback: name, size: "xs", variant: "square" }),
|
|
26464
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26451
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: name })
|
|
26465
26452
|
] }),
|
|
26466
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26453
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: usersCountLabel(userCount) })
|
|
26467
26454
|
] });
|
|
26468
26455
|
}
|
|
26469
26456
|
|
|
@@ -26499,7 +26486,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26499
26486
|
/* @__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,
|
|
26500
26487
|
_chunkAHBTZ7DNcjs.Button,
|
|
26501
26488
|
{
|
|
26502
|
-
onClick: loading ? void 0 :
|
|
26489
|
+
onClick: loading ? void 0 : _chunkPYZTG3T5cjs.openInNewTab.call(void 0, href),
|
|
26503
26490
|
disabled: loading,
|
|
26504
26491
|
variant: "outline",
|
|
26505
26492
|
size: "icon",
|
|
@@ -26649,7 +26636,7 @@ function WaitlistForm({
|
|
|
26649
26636
|
_react.useEffect.call(void 0, () => {
|
|
26650
26637
|
rescue.track({ email, phone }, null);
|
|
26651
26638
|
}, [email, phone, rescue]);
|
|
26652
|
-
const isMailDomainGeneric =
|
|
26639
|
+
const isMailDomainGeneric = _chunkPYZTG3T5cjs.hasGenericEmailDomain.call(void 0, email);
|
|
26653
26640
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26654
26641
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26655
26642
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26683,7 +26670,7 @@ function WaitlistForm({
|
|
|
26683
26670
|
setShowConsentError(true);
|
|
26684
26671
|
return;
|
|
26685
26672
|
}
|
|
26686
|
-
const finalPhone = phone ?
|
|
26673
|
+
const finalPhone = phone ? _chunkPYZTG3T5cjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26687
26674
|
try {
|
|
26688
26675
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26689
26676
|
rescue.complete();
|
|
@@ -26732,7 +26719,7 @@ function WaitlistForm({
|
|
|
26732
26719
|
children: [
|
|
26733
26720
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HoneypotField, { ...honeypotInputProps }),
|
|
26734
26721
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26735
|
-
|
|
26722
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
26736
26723
|
{
|
|
26737
26724
|
type: "email",
|
|
26738
26725
|
value: email,
|
|
@@ -28387,7 +28374,7 @@ function TimeTrackerPanel({
|
|
|
28387
28374
|
] }),
|
|
28388
28375
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "grid gap-[var(--spacing-system-m)]", showCustomer && "grid-cols-2"), children: [
|
|
28389
28376
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28390
|
-
|
|
28377
|
+
_chunk3B6PFUL3cjs.Autocomplete,
|
|
28391
28378
|
{
|
|
28392
28379
|
value: selectedTicketId,
|
|
28393
28380
|
onChange: onSelectedTicketChange,
|
|
@@ -28403,7 +28390,7 @@ function TimeTrackerPanel({
|
|
|
28403
28390
|
}
|
|
28404
28391
|
),
|
|
28405
28392
|
showCustomer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28406
|
-
|
|
28393
|
+
_chunk3B6PFUL3cjs.Autocomplete,
|
|
28407
28394
|
{
|
|
28408
28395
|
value: _nullishCoalesce(selectedCustomerId, () => ( null)),
|
|
28409
28396
|
onChange: onSelectedCustomerChange,
|
|
@@ -28838,7 +28825,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28838
28825
|
}
|
|
28839
28826
|
}
|
|
28840
28827
|
function getDeviceOperatingSystem(osType) {
|
|
28841
|
-
return
|
|
28828
|
+
return _chunkPYZTG3T5cjs.getOSPlatformId.call(void 0, osType);
|
|
28842
28829
|
}
|
|
28843
28830
|
|
|
28844
28831
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -29133,7 +29120,7 @@ function DevicesTableBody({
|
|
|
29133
29120
|
function OrganizationCell({ device }) {
|
|
29134
29121
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
29135
29122
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
29136
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29123
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.EntityImage, { src: fullImageUrl, alt: device.organization || "Customer", className: "size-12 content-md:size-12" }),
|
|
29137
29124
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OrganizationName, { name: device.organization }) })
|
|
29138
29125
|
] });
|
|
29139
29126
|
}
|
|
@@ -29185,7 +29172,7 @@ function getDeviceTableColumns(deviceFilters, filtersPending) {
|
|
|
29185
29172
|
const device = row.original;
|
|
29186
29173
|
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: [
|
|
29187
29174
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
29188
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29175
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: getDeviceName(device) }) })
|
|
29189
29176
|
] });
|
|
29190
29177
|
},
|
|
29191
29178
|
meta: { width: "flex-1 content-md:w-1/4" }
|
|
@@ -29357,7 +29344,7 @@ function CustomerCell({ device }) {
|
|
|
29357
29344
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
29358
29345
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
29359
29346
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29360
|
-
|
|
29347
|
+
_chunk3B6PFUL3cjs.EntityImage,
|
|
29361
29348
|
{
|
|
29362
29349
|
src: fullImageUrl,
|
|
29363
29350
|
alt: device.organization || "Customer",
|
|
@@ -29365,8 +29352,8 @@ function CustomerCell({ device }) {
|
|
|
29365
29352
|
}
|
|
29366
29353
|
),
|
|
29367
29354
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
29368
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29369
|
-
(device.organizationEmail || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29355
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: device.organization || "" }),
|
|
29356
|
+
(device.organizationEmail || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(device.organizationEmail, () => ( "")) })
|
|
29370
29357
|
] })
|
|
29371
29358
|
] });
|
|
29372
29359
|
}
|
|
@@ -29375,8 +29362,8 @@ function DeviceCell({ device }) {
|
|
|
29375
29362
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 items-center gap-3", children: [
|
|
29376
29363
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
29377
29364
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
29378
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29379
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29365
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: getDeviceName(device) }),
|
|
29366
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", loading, children: formatLastOnline(device.last_seen || device.lastSeen) })
|
|
29380
29367
|
] })
|
|
29381
29368
|
] });
|
|
29382
29369
|
}
|
|
@@ -30405,7 +30392,7 @@ function DevicesPanelView({
|
|
|
30405
30392
|
] })
|
|
30406
30393
|
] });
|
|
30407
30394
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30408
|
-
|
|
30395
|
+
_chunk3B6PFUL3cjs.PageLayout,
|
|
30409
30396
|
{
|
|
30410
30397
|
title,
|
|
30411
30398
|
backButton,
|
|
@@ -30479,7 +30466,7 @@ var PACKAGE_SEARCH_LABEL = "Software Name";
|
|
|
30479
30466
|
var PACKAGE_SEARCH_PLACEHOLDER = "Search for Software";
|
|
30480
30467
|
function PackageSearchFieldPlaceholder({ error }) {
|
|
30481
30468
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30482
|
-
|
|
30469
|
+
_chunk3B6PFUL3cjs.Autocomplete,
|
|
30483
30470
|
{
|
|
30484
30471
|
label: PACKAGE_SEARCH_LABEL,
|
|
30485
30472
|
labelVariant: "large",
|
|
@@ -30534,16 +30521,16 @@ function SoftwareScheduleFields({
|
|
|
30534
30521
|
] }),
|
|
30535
30522
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30536
30523
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { className: "text-h4", children: "Time" }),
|
|
30537
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30538
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30539
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30524
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.Select, { value: time, onValueChange: onTimeChange, children: [
|
|
30525
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, { placeholder: "Select time" }) }),
|
|
30526
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30540
30527
|
] })
|
|
30541
30528
|
] }),
|
|
30542
30529
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30543
30530
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { className: "text-h4", children: "Timezone" }),
|
|
30544
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30545
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30546
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30531
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.Select, { value: timeReference, onValueChange: (value) => onTimeReferenceChange(value), children: [
|
|
30532
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, {}) }),
|
|
30533
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: timing.timeReferenceOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30547
30534
|
] })
|
|
30548
30535
|
] })
|
|
30549
30536
|
]
|
|
@@ -30609,22 +30596,22 @@ function newSoftwareRow(key) {
|
|
|
30609
30596
|
|
|
30610
30597
|
function InfoCell2({ value, label }) {
|
|
30611
30598
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
30612
|
-
/* @__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,
|
|
30599
|
+
/* @__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, _chunk3B6PFUL3cjs.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" }) }) }),
|
|
30613
30600
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
30614
30601
|
] });
|
|
30615
30602
|
}
|
|
30616
30603
|
function SoftwareRowFields({ row, removable, onChange, onRemove, renderPackageSearch }) {
|
|
30617
30604
|
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: [
|
|
30618
30605
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30619
|
-
|
|
30606
|
+
_chunk3B6PFUL3cjs.Select,
|
|
30620
30607
|
{
|
|
30621
30608
|
value: row.packageManager,
|
|
30622
30609
|
onValueChange: (value) => onChange({ ...row, packageManager: value, pkg: null }),
|
|
30623
30610
|
children: [
|
|
30624
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30625
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30611
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { label: "Package Manager", labelVariant: "large", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, {}) }),
|
|
30612
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: PACKAGE_MANAGERS.map((manager) => {
|
|
30626
30613
|
const Icon = PACKAGE_MANAGER_ICON[manager];
|
|
30627
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30614
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: manager, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30628
30615
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 20, className: "shrink-0 text-ods-text-secondary" }),
|
|
30629
30616
|
PACKAGE_MANAGER_LABEL[manager]
|
|
30630
30617
|
] }) }, manager);
|
|
@@ -30722,7 +30709,7 @@ function SoftwareActionForm({
|
|
|
30722
30709
|
}
|
|
30723
30710
|
);
|
|
30724
30711
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30725
|
-
|
|
30712
|
+
_chunk3B6PFUL3cjs.PageLayout,
|
|
30726
30713
|
{
|
|
30727
30714
|
title: copy.formTitle,
|
|
30728
30715
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -30811,7 +30798,7 @@ function LogDrawer({
|
|
|
30811
30798
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 space-y-4 overflow-y-auto", children: [
|
|
30812
30799
|
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 }) }),
|
|
30813
30800
|
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: [
|
|
30814
|
-
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,
|
|
30801
|
+
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, _chunk3B6PFUL3cjs.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 }),
|
|
30815
30802
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: field.label })
|
|
30816
30803
|
] }, typeof field.label === "string" ? field.label : "")) }),
|
|
30817
30804
|
children
|
|
@@ -30859,10 +30846,10 @@ function LogsPageView({
|
|
|
30859
30846
|
],
|
|
30860
30847
|
[onRefresh]
|
|
30861
30848
|
);
|
|
30862
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30849
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.PageLayout, { title: "Logs", actions, showHeader, className, children: [
|
|
30863
30850
|
!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: [
|
|
30864
30851
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30865
|
-
|
|
30852
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
30866
30853
|
{
|
|
30867
30854
|
userValue: true,
|
|
30868
30855
|
placeholder: "Search for Logs",
|
|
@@ -30948,7 +30935,7 @@ var ToolBadge = ({
|
|
|
30948
30935
|
iconClassName
|
|
30949
30936
|
}) => {
|
|
30950
30937
|
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
30951
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30938
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkPYZTG3T5cjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30952
30939
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXYZBN6D7cjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30953
30940
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30954
30941
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -31017,8 +31004,8 @@ function LogSourceCell({ device }) {
|
|
|
31017
31004
|
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
31018
31005
|
const { deviceName, organization } = logSourceLabels(device);
|
|
31019
31006
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[60px] flex-col justify-center gap-1 py-2", children: [
|
|
31020
|
-
(deviceName || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31021
|
-
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31007
|
+
(deviceName || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: deviceName }),
|
|
31008
|
+
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(organization, () => ( "")) })
|
|
31022
31009
|
] });
|
|
31023
31010
|
}
|
|
31024
31011
|
function LogRowButton({
|
|
@@ -31073,8 +31060,8 @@ function LogsTableView({
|
|
|
31073
31060
|
accessorKey: "logId",
|
|
31074
31061
|
header: logIdHeader ? () => logIdHeader : "Log ID",
|
|
31075
31062
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col justify-center", children: [
|
|
31076
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31077
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31063
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: row.original.timestamp }),
|
|
31064
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.logId })
|
|
31078
31065
|
] }),
|
|
31079
31066
|
enableSorting: false,
|
|
31080
31067
|
meta: { width: LOG_COLUMN_WIDTHS.logId, alwaysShowHeader: true }
|
|
@@ -31102,7 +31089,7 @@ function LogsTableView({
|
|
|
31102
31089
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31103
31090
|
ToolBadge,
|
|
31104
31091
|
{
|
|
31105
|
-
toolType:
|
|
31092
|
+
toolType: _chunkPYZTG3T5cjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31106
31093
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31107
31094
|
}
|
|
31108
31095
|
),
|
|
@@ -31114,7 +31101,7 @@ function LogsTableView({
|
|
|
31114
31101
|
filter: {
|
|
31115
31102
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _680 => _680.toolTypes, 'access', _681 => _681.map, 'call', _682 => _682((toolType) => ({
|
|
31116
31103
|
id: toolType,
|
|
31117
|
-
label:
|
|
31104
|
+
label: _chunkPYZTG3T5cjs.toToolLabel.call(void 0, toolType),
|
|
31118
31105
|
value: toolType
|
|
31119
31106
|
}))]), () => ( []))
|
|
31120
31107
|
}
|
|
@@ -31135,7 +31122,7 @@ function LogsTableView({
|
|
|
31135
31122
|
{
|
|
31136
31123
|
accessorKey: "description",
|
|
31137
31124
|
header: "Log Details",
|
|
31138
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31125
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { lines: 3, className: "text-ods-text-secondary text-h6", children: row.original.description.title }),
|
|
31139
31126
|
enableSorting: false,
|
|
31140
31127
|
meta: { width: LOG_COLUMN_WIDTHS.description, hideAt: "lg" }
|
|
31141
31128
|
},
|
|
@@ -31163,7 +31150,7 @@ function LogsTableView({
|
|
|
31163
31150
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31164
31151
|
LogRowButton,
|
|
31165
31152
|
{
|
|
31166
|
-
onClick: getLogHref ?
|
|
31153
|
+
onClick: getLogHref ? _chunkPYZTG3T5cjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31167
31154
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
31168
31155
|
label: "Open in new tab"
|
|
31169
31156
|
}
|
|
@@ -31334,8 +31321,8 @@ function ExecutionSourceBadge({ source, className }) {
|
|
|
31334
31321
|
}
|
|
31335
31322
|
function ExecutionTimestampCell({ timestamp, executionId }) {
|
|
31336
31323
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31337
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31338
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31324
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: timestamp }),
|
|
31325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", children: executionId })
|
|
31339
31326
|
] });
|
|
31340
31327
|
}
|
|
31341
31328
|
function ExecutionStatusCell({ status }) {
|
|
@@ -31347,9 +31334,9 @@ function ExecutionDeviceCell({ name, organization }) {
|
|
|
31347
31334
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31348
31335
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-1", children: [
|
|
31349
31336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPTK7GOIIcjs.MonitorIcon, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
31350
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31337
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: name }) : name })
|
|
31351
31338
|
] }),
|
|
31352
|
-
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31339
|
+
(organization || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(organization, () => ( "")) })
|
|
31353
31340
|
] });
|
|
31354
31341
|
}
|
|
31355
31342
|
function ExecutionInitiatorCell({
|
|
@@ -31362,16 +31349,16 @@ function ExecutionInitiatorCell({
|
|
|
31362
31349
|
avatar,
|
|
31363
31350
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
31364
31351
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
31365
|
-
typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31352
|
+
typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: name }) : name,
|
|
31366
31353
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExecutionSourceBadge, { source })
|
|
31367
31354
|
] }),
|
|
31368
|
-
scriptName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31355
|
+
scriptName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", children: scriptName })
|
|
31369
31356
|
] })
|
|
31370
31357
|
] });
|
|
31371
31358
|
}
|
|
31372
31359
|
function ExecutionResultCell({ result, empty = null }) {
|
|
31373
31360
|
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
31374
|
-
return result || loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31361
|
+
return result || loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { lines: 2, children: _nullishCoalesce(result, () => ( "")) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: empty });
|
|
31375
31362
|
}
|
|
31376
31363
|
function ScriptExecutionResult({
|
|
31377
31364
|
result,
|
|
@@ -31391,14 +31378,14 @@ function ScriptExecutionResult({
|
|
|
31391
31378
|
|
|
31392
31379
|
function ScriptNameCell({ name, description }) {
|
|
31393
31380
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31394
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31395
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31381
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: name }),
|
|
31382
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", children: description })
|
|
31396
31383
|
] });
|
|
31397
31384
|
}
|
|
31398
31385
|
function ScheduleDateTimeCell({ date, time }) {
|
|
31399
31386
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31400
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31401
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31387
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: date }),
|
|
31388
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", children: time })
|
|
31402
31389
|
] });
|
|
31403
31390
|
}
|
|
31404
31391
|
|
|
@@ -31485,7 +31472,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31485
31472
|
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,
|
|
31486
31473
|
_chunkAHBTZ7DNcjs.Button,
|
|
31487
31474
|
{
|
|
31488
|
-
onClick: loading ? void 0 :
|
|
31475
|
+
onClick: loading ? void 0 : _chunkPYZTG3T5cjs.openInNewTab.call(void 0, href),
|
|
31489
31476
|
disabled: loading,
|
|
31490
31477
|
variant: "outline",
|
|
31491
31478
|
size: "icon",
|
|
@@ -31628,7 +31615,7 @@ function ScriptSchedulesTable({
|
|
|
31628
31615
|
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" })),
|
|
31629
31616
|
cell(
|
|
31630
31617
|
SCHEDULE_COLUMNS.dateTime,
|
|
31631
|
-
(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,
|
|
31618
|
+
(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, _chunk3B6PFUL3cjs.TruncateText, { tone: "secondary", children: row.trigger }) : null
|
|
31632
31619
|
),
|
|
31633
31620
|
cell(
|
|
31634
31621
|
SCHEDULE_COLUMNS.repeat,
|
|
@@ -31674,9 +31661,9 @@ function ScriptSchedulesTable({
|
|
|
31674
31661
|
|
|
31675
31662
|
// src/components/features/scripts/shell-types.ts
|
|
31676
31663
|
var SCRIPT_SHELL_TYPES = [
|
|
31677
|
-
{ id:
|
|
31678
|
-
{ id:
|
|
31679
|
-
{ id:
|
|
31664
|
+
{ id: _chunkPYZTG3T5cjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31665
|
+
{ id: _chunkPYZTG3T5cjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31666
|
+
{ id: _chunkPYZTG3T5cjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31680
31667
|
];
|
|
31681
31668
|
function scriptShellType(value) {
|
|
31682
31669
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -31752,7 +31739,7 @@ function ScriptsTable({
|
|
|
31752
31739
|
initialsClassName: "text-ods-text-secondary"
|
|
31753
31740
|
}
|
|
31754
31741
|
),
|
|
31755
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31742
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: row.author.name }) })
|
|
31756
31743
|
] }) : null
|
|
31757
31744
|
)
|
|
31758
31745
|
];
|
|
@@ -32035,7 +32022,7 @@ function ScheduleIntervalInput(props) {
|
|
|
32035
32022
|
setText((current) => current === next ? current : next);
|
|
32036
32023
|
}, [value]);
|
|
32037
32024
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32038
|
-
|
|
32025
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
32039
32026
|
{
|
|
32040
32027
|
type: "number",
|
|
32041
32028
|
min,
|
|
@@ -32099,9 +32086,9 @@ function ReconnectWindowFields({
|
|
|
32099
32086
|
invalid
|
|
32100
32087
|
}
|
|
32101
32088
|
),
|
|
32102
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32103
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32104
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32089
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.Select, { value: unit, onValueChange: (next) => onUnitChange(next), disabled, children: [
|
|
32090
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { className: controlWidth, "aria-label": "Stop retry after unit", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, {}) }),
|
|
32091
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: DURATION_UNIT_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
32105
32092
|
] })
|
|
32106
32093
|
] });
|
|
32107
32094
|
}
|
|
@@ -32169,7 +32156,7 @@ function ScheduleOfflineFields({ showErrors, disabled = false }) {
|
|
|
32169
32156
|
options
|
|
32170
32157
|
}
|
|
32171
32158
|
),
|
|
32172
|
-
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,
|
|
32159
|
+
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, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", className: "text-ods-error", children: intervalError }) })
|
|
32173
32160
|
]
|
|
32174
32161
|
}
|
|
32175
32162
|
) }) })
|
|
@@ -32431,7 +32418,7 @@ var ScriptArguments = ({
|
|
|
32431
32418
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
32432
32419
|
isFirstRow(index) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { spacing: "tight", children: titleLabel }),
|
|
32433
32420
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32434
|
-
|
|
32421
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
32435
32422
|
{
|
|
32436
32423
|
value: arg.key,
|
|
32437
32424
|
onChange: (e) => handleKeyChange(arg.id, e.target.value),
|
|
@@ -32445,7 +32432,7 @@ var ScriptArguments = ({
|
|
|
32445
32432
|
] }),
|
|
32446
32433
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
32447
32434
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32448
|
-
|
|
32435
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
32449
32436
|
{
|
|
32450
32437
|
type: arg.secret ? "password" : void 0,
|
|
32451
32438
|
autoComplete: arg.secret ? "new-password" : void 0,
|
|
@@ -32709,7 +32696,7 @@ function ScheduleScriptPickerCard({
|
|
|
32709
32696
|
// a literal 0 would read as a real (and invalid) timeout.
|
|
32710
32697
|
// Picking a script writes its own timeout in.
|
|
32711
32698
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32712
|
-
|
|
32699
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
32713
32700
|
{
|
|
32714
32701
|
type: "number",
|
|
32715
32702
|
min: 1,
|
|
@@ -33004,24 +32991,24 @@ function ScheduleTimingFields({
|
|
|
33004
32991
|
// `''` reads as "no selection" to Radix, so the placeholder shows
|
|
33005
32992
|
// until a slot is picked — a date at midnight no longer
|
|
33006
32993
|
// masquerades as a chosen 12:00 AM.
|
|
33007
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32994
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B6PFUL3cjs.Select, { value: field.value, onValueChange: field.onChange, disabled: fieldsDisabled, children: [
|
|
33008
32995
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33009
|
-
|
|
32996
|
+
_chunk3B6PFUL3cjs.SelectTrigger,
|
|
33010
32997
|
{
|
|
33011
32998
|
className: "w-full",
|
|
33012
32999
|
error: _nullishCoalesce(pastTimeError, () => ( (showErrors ? _optionalChain([fieldState, 'access', _734 => _734.error, 'optionalAccess', _735 => _735.message]) : void 0))),
|
|
33013
33000
|
invalid: !!pastTimeError || showErrors && !!fieldState.error,
|
|
33014
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33001
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, { placeholder: "Select time" })
|
|
33015
33002
|
}
|
|
33016
33003
|
),
|
|
33017
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33004
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: timeSlots.length === 0 ? (
|
|
33018
33005
|
// Deliberately NOT a `SelectItem` — there is nothing here
|
|
33019
33006
|
// to select, and a selectable row would put a bogus value
|
|
33020
33007
|
// in the form. It replaces a popup that opened blank; the
|
|
33021
33008
|
// Date field carries the same sentence for whoever never
|
|
33022
33009
|
// opens this one.
|
|
33023
33010
|
/* @__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 })
|
|
33024
|
-
) : timeSlots.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33011
|
+
) : timeSlots.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33025
33012
|
] })
|
|
33026
33013
|
)
|
|
33027
33014
|
}
|
|
@@ -33035,14 +33022,14 @@ function ScheduleTimingFields({
|
|
|
33035
33022
|
name: "timeReference",
|
|
33036
33023
|
control,
|
|
33037
33024
|
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33038
|
-
|
|
33025
|
+
_chunk3B6PFUL3cjs.Select,
|
|
33039
33026
|
{
|
|
33040
33027
|
value: field.value,
|
|
33041
33028
|
onValueChange: (next) => handleTimeReferenceChange(field.onChange, next),
|
|
33042
33029
|
disabled: fieldsDisabled,
|
|
33043
33030
|
children: [
|
|
33044
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33045
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33031
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { className: "w-full", "aria-label": "Timezone", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, {}) }),
|
|
33032
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: SCHEDULE_TIME_REFERENCE_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33046
33033
|
]
|
|
33047
33034
|
}
|
|
33048
33035
|
)
|
|
@@ -33102,7 +33089,7 @@ function ScheduleTimingFields({
|
|
|
33102
33089
|
name: "repeatUnit",
|
|
33103
33090
|
control,
|
|
33104
33091
|
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33105
|
-
|
|
33092
|
+
_chunk3B6PFUL3cjs.Select,
|
|
33106
33093
|
{
|
|
33107
33094
|
value: field.value,
|
|
33108
33095
|
onValueChange: (next) => {
|
|
@@ -33113,8 +33100,8 @@ function ScheduleTimingFields({
|
|
|
33113
33100
|
},
|
|
33114
33101
|
disabled: fieldsDisabled || !repeatEnabled,
|
|
33115
33102
|
children: [
|
|
33116
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33117
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectValue, {}) }),
|
|
33104
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectContent, { children: DURATION_UNIT_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33118
33105
|
]
|
|
33119
33106
|
}
|
|
33120
33107
|
)
|
|
@@ -33133,7 +33120,7 @@ function ScheduleFormFields({
|
|
|
33133
33120
|
disabled = false,
|
|
33134
33121
|
renderScriptSearch,
|
|
33135
33122
|
timeReferenceGate = "off",
|
|
33136
|
-
platforms =
|
|
33123
|
+
platforms = _chunkPYZTG3T5cjs.OS_PLATFORMS,
|
|
33137
33124
|
comingSoonPlatforms = [],
|
|
33138
33125
|
getTimeSlots,
|
|
33139
33126
|
nameLayout = "stacked",
|
|
@@ -33167,7 +33154,7 @@ function ScheduleFormFields({
|
|
|
33167
33154
|
name: "name",
|
|
33168
33155
|
control,
|
|
33169
33156
|
render: ({ field, fieldState }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33170
|
-
|
|
33157
|
+
_chunk7RM4NM2Ccjs.Input,
|
|
33171
33158
|
{
|
|
33172
33159
|
placeholder: "Enter schedule name",
|
|
33173
33160
|
value: field.value,
|
|
@@ -33203,7 +33190,7 @@ function ScheduleFormFields({
|
|
|
33203
33190
|
platform.id
|
|
33204
33191
|
);
|
|
33205
33192
|
}) }),
|
|
33206
|
-
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,
|
|
33193
|
+
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, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", className: "text-ods-error", children: _nullishCoalesce(formState.errors.supportedPlatforms.message, () => ( "")) }) })
|
|
33207
33194
|
]
|
|
33208
33195
|
}
|
|
33209
33196
|
);
|
|
@@ -33279,7 +33266,7 @@ function ScheduleFormFields({
|
|
|
33279
33266
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33280
33267
|
|
|
33281
33268
|
function ScriptPlatformIcons({ platforms }) {
|
|
33282
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33269
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkPYZTG3T5cjs.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)) });
|
|
33283
33270
|
}
|
|
33284
33271
|
function ScheduleScriptSearchField({
|
|
33285
33272
|
scriptId,
|
|
@@ -33305,7 +33292,7 @@ function ScheduleScriptSearchField({
|
|
|
33305
33292
|
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: [
|
|
33306
33293
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { className: "text-h4", children: "Select Script" }),
|
|
33307
33294
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33308
|
-
|
|
33295
|
+
_chunk3B6PFUL3cjs.Autocomplete,
|
|
33309
33296
|
{
|
|
33310
33297
|
options,
|
|
33311
33298
|
value: scriptId || null,
|
|
@@ -33320,7 +33307,7 @@ function ScheduleScriptSearchField({
|
|
|
33320
33307
|
error,
|
|
33321
33308
|
invalid,
|
|
33322
33309
|
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: [
|
|
33323
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33310
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { className: isSelected ? "text-ods-accent" : void 0, children: option.label }) }),
|
|
33324
33311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScriptPlatformIcons, { platforms: _nullishCoalesce(_optionalChain([scripts, 'access', _741 => _741.find, 'call', _742 => _742((s) => s.id === option.value), 'optionalAccess', _743 => _743.supportedPlatforms]), () => ( [])) })
|
|
33325
33312
|
] })
|
|
33326
33313
|
}
|
|
@@ -33352,7 +33339,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33352
33339
|
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,
|
|
33353
33340
|
_chunkAHBTZ7DNcjs.Button,
|
|
33354
33341
|
{
|
|
33355
|
-
onClick: loading ? void 0 :
|
|
33342
|
+
onClick: loading ? void 0 : _chunkPYZTG3T5cjs.openInNewTab.call(void 0, href),
|
|
33356
33343
|
disabled: loading,
|
|
33357
33344
|
variant: "outline",
|
|
33358
33345
|
size: "icon",
|
|
@@ -33371,10 +33358,10 @@ function KnowledgeBaseNameCell({ item }) {
|
|
|
33371
33358
|
/* @__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" }) }),
|
|
33372
33359
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33373
33360
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33374
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33361
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: item.name }) }),
|
|
33375
33362
|
tagStatus && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTGOJHOQRcjs.Tag, { variant: KNOWLEDGE_BASE_STATUS_VARIANT[tagStatus], label: tagStatus, className: "shrink-0" })
|
|
33376
33363
|
] }),
|
|
33377
|
-
item.type === "ARTICLE" && (item.summary || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33364
|
+
item.type === "ARTICLE" && (item.summary || loading) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(item.summary, () => ( "")) })
|
|
33378
33365
|
] })
|
|
33379
33366
|
] });
|
|
33380
33367
|
}
|
|
@@ -33496,7 +33483,7 @@ function KnowledgeBaseArticleView({
|
|
|
33496
33483
|
className = "px-[var(--spacing-system-l)] pb-[var(--spacing-system-l)]"
|
|
33497
33484
|
}) {
|
|
33498
33485
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33499
|
-
|
|
33486
|
+
_chunk3B6PFUL3cjs.PageLayout,
|
|
33500
33487
|
{
|
|
33501
33488
|
title,
|
|
33502
33489
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -33519,12 +33506,12 @@ function KnowledgeBaseArticleView({
|
|
|
33519
33506
|
}
|
|
33520
33507
|
),
|
|
33521
33508
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33522
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33509
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { className: author.deleted ? "text-ods-error" : void 0, children: _nullishCoalesce(author.name, () => ( "Unknown")) }),
|
|
33523
33510
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Author" })
|
|
33524
33511
|
] })
|
|
33525
33512
|
] }),
|
|
33526
33513
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 flex-col justify-center", children: [
|
|
33527
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33514
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { children: updatedLabel }),
|
|
33528
33515
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Updated" })
|
|
33529
33516
|
] }),
|
|
33530
33517
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -33703,7 +33690,7 @@ function ConversationCard({
|
|
|
33703
33690
|
style: tint,
|
|
33704
33691
|
onClick: selection && ((event) => {
|
|
33705
33692
|
if (event.button !== 0 || _optionalChain([window, 'access', _746 => _746.getSelection, 'call', _747 => _747(), 'optionalAccess', _748 => _748.toString, 'call', _749 => _749()])) return;
|
|
33706
|
-
if (!
|
|
33693
|
+
if (!_chunkPYZTG3T5cjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33707
33694
|
selection.onToggle();
|
|
33708
33695
|
}),
|
|
33709
33696
|
children: [
|
|
@@ -33726,7 +33713,7 @@ function ConversationCard({
|
|
|
33726
33713
|
)
|
|
33727
33714
|
),
|
|
33728
33715
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33729
|
-
|
|
33716
|
+
_chunkPYZTG3T5cjs.ChatTurn,
|
|
33730
33717
|
{
|
|
33731
33718
|
avatar: requester.avatar,
|
|
33732
33719
|
name: requester.name,
|
|
@@ -33747,7 +33734,7 @@ function ConversationCard({
|
|
|
33747
33734
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _750 => _750.context])), children: context.text })
|
|
33748
33735
|
] }),
|
|
33749
33736
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33750
|
-
|
|
33737
|
+
_chunkPYZTG3T5cjs.ChatTurn,
|
|
33751
33738
|
{
|
|
33752
33739
|
avatar: responder.avatar,
|
|
33753
33740
|
name: responder.name,
|
|
@@ -33792,7 +33779,7 @@ function ConversationCardSkeleton({
|
|
|
33792
33779
|
{
|
|
33793
33780
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33794
33781
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33795
|
-
|
|
33782
|
+
_chunkPYZTG3T5cjs.ChatTurn,
|
|
33796
33783
|
{
|
|
33797
33784
|
loading: true,
|
|
33798
33785
|
name: "",
|
|
@@ -33816,7 +33803,7 @@ function ConversationCardSkeleton({
|
|
|
33816
33803
|
] })
|
|
33817
33804
|
] }),
|
|
33818
33805
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33819
|
-
|
|
33806
|
+
_chunkPYZTG3T5cjs.ChatTurn,
|
|
33820
33807
|
{
|
|
33821
33808
|
loading: true,
|
|
33822
33809
|
name: "",
|
|
@@ -33897,7 +33884,7 @@ function Highlights({ items, className }) {
|
|
|
33897
33884
|
if (items.length === 0) return null;
|
|
33898
33885
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "grid grid-cols-1 gap-2", className), children: items.slice(0, HIGHLIGHTS_LIMIT).map((text) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { "data-loading-item": true, className: HIGHLIGHT_ROW_CLASS, children: [
|
|
33899
33886
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: HIGHLIGHT_ICON_PX, className: "shrink-0 text-ods-flamingo-cyan" }),
|
|
33900
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33887
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", triggerClassName: "flex-1", children: text })
|
|
33901
33888
|
] }, text)) });
|
|
33902
33889
|
}
|
|
33903
33890
|
function Example({
|
|
@@ -33933,7 +33920,7 @@ function Example({
|
|
|
33933
33920
|
mark(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _754 => _754.mark]), () => ( requesterMark))),
|
|
33934
33921
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
33935
33922
|
who(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _755 => _755.name]), () => ( labels.requester)), _nullishCoalesce(_optionalChain([requester, 'optionalAccess', _756 => _756.note]), () => ( labels.requesterNote))),
|
|
33936
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33923
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { lines: 2, variant: "h4", className: "min-h-[2lh]", children: `\u201C${example.request}\u201D` })
|
|
33937
33924
|
] })
|
|
33938
33925
|
] }),
|
|
33939
33926
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 gap-2.5 border-t border-ods-border pt-3", children: [
|
|
@@ -33942,7 +33929,7 @@ function Example({
|
|
|
33942
33929
|
who(_nullishCoalesce(_optionalChain([responder, 'optionalAccess', _758 => _758.name]), () => ( labels.responder)), _nullishCoalesce(_optionalChain([responder, 'optionalAccess', _759 => _759.note]), () => ( labels.responderNote))),
|
|
33943
33930
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-start gap-2", children: [
|
|
33944
33931
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: 16, className: "mt-0.5 shrink-0 text-ods-flamingo-cyan" }),
|
|
33945
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33932
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", className: "min-h-[2lh]", triggerClassName: "flex-1", children: example.outcome })
|
|
33946
33933
|
] })
|
|
33947
33934
|
] })
|
|
33948
33935
|
] })
|
|
@@ -34081,13 +34068,13 @@ function CapabilityExplorer({
|
|
|
34081
34068
|
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, "text-ods-flamingo-cyan"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
34082
34069
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
34083
34070
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
34084
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34071
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
34085
34072
|
item.badge
|
|
34086
34073
|
] }),
|
|
34087
|
-
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34074
|
+
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { variant: "h6", tone: "secondary", children: item.caption })
|
|
34088
34075
|
] })
|
|
34089
34076
|
] }),
|
|
34090
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34077
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { lines: 3, variant: "h6", tone: "secondary", className: "min-h-[3lh]", children: item.intro }),
|
|
34091
34078
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-lg border border-ods-border", children: renderScreen(item, { compact: true }) }),
|
|
34092
34079
|
item.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34093
34080
|
Example,
|
|
@@ -34204,8 +34191,8 @@ function CapabilityExplorer({
|
|
|
34204
34191
|
),
|
|
34205
34192
|
children: [
|
|
34206
34193
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: PANEL_INTRO_CLASS, children: [
|
|
34207
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34208
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34194
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { lines: 2, variant: "h2", className: "mb-2", children: active.title }),
|
|
34195
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B6PFUL3cjs.TruncateText, { lines: 3, variant: "h4", tone: "secondary", className: "min-h-[3lh]", children: active.intro }),
|
|
34209
34196
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Highlights, { items: _nullishCoalesce(active.highlights, () => ( [])), className: "mt-auto" })
|
|
34210
34197
|
] }),
|
|
34211
34198
|
active.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|