@flamingo-stack/openframe-frontend-core 0.0.768 → 0.0.769
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-PFY23KN7.cjs → chunk-3AZZFTT6.cjs} +4 -4
- package/dist/{chunk-S4QS5E5A.cjs → chunk-5HWBW7WU.cjs} +2 -2
- package/dist/{chunk-NPVYID2L.cjs → chunk-BIHMMGRP.cjs} +35 -35
- package/dist/{chunk-VADRKMLE.cjs → chunk-D45Q3WEP.cjs} +3 -3
- package/dist/{chunk-DE7U72NZ.cjs → chunk-DEJB5WHZ.cjs} +7 -7
- package/dist/{chunk-OEVNX4OR.cjs → chunk-EZTHTSWZ.cjs} +16 -16
- package/dist/{chunk-U6UIG4OP.cjs → chunk-IEPWXEA6.cjs} +12 -12
- package/dist/{chunk-STHQJNND.cjs → chunk-L5WSNX4H.cjs} +195 -182
- package/dist/{chunk-XI2CHCOD.cjs → chunk-MZLWB5AH.cjs} +1 -1
- package/dist/{chunk-57KIBZFQ.cjs → chunk-QC47HVA4.cjs} +26 -26
- package/dist/{chunk-OGHLIUF4.cjs → chunk-SV6K7ZLA.cjs} +15 -15
- package/dist/{chunk-6EEE76VU.cjs → chunk-UIXWG2IW.cjs} +16 -16
- package/dist/{chunk-2ZYCYLPL.cjs → chunk-YTPEJIAO.cjs} +3 -3
- package/dist/{cloud-tenants-I5HABFNZ.cjs → cloud-tenants-3BEIT4LX.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +13 -13
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/remote-session/remote-session-keep-modals.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-session-keep-modals.js +1 -1
- package/dist/components/help-center-pages/index.cjs +55 -55
- package/dist/components/index.cjs +20 -20
- package/dist/components/meeting-scheduler/index.cjs +28 -28
- package/dist/components/navigation/index.cjs +4 -4
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/product-demo/index.cjs +13 -13
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +16 -3
- package/dist/components/ui/index.cjs +3 -3
- package/dist/{devices-OS26UG7Y.cjs → devices-ZCOK24D4.cjs} +4 -4
- package/dist/index.cjs +4 -4
- package/dist/{knowledge-JD2OFKEL.cjs → knowledge-W47QGTEK.cjs} +3 -3
- package/dist/{logs-KGKNFROP.cjs → logs-3DMPE2TM.cjs} +11 -11
- package/dist/{policies-J2XL6XQK.cjs → policies-UWHW765K.cjs} +7 -7
- package/dist/{remote-session-RHQ2K27H.cjs → remote-session-WVORQV7V.cjs} +4 -4
- package/dist/{scripts-MJONVIWL.cjs → scripts-BH7V2ZC4.cjs} +10 -10
- package/dist/{software-update-VSMTHJR4.cjs → software-update-W6AAGJ2H.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/features/remote-session/remote-session-keep-modals.tsx +2 -1
- package/src/components/ui/date-picker.tsx +41 -14
|
@@ -37,7 +37,7 @@ var _chunkRB7VLVMDcjs = require('./chunk-RB7VLVMD.cjs');
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkMZLWB5AHcjs = require('./chunk-MZLWB5AH.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
@@ -905,7 +905,7 @@ function TimezoneSelect({
|
|
|
905
905
|
}) {
|
|
906
906
|
const options = _react.useMemo.call(void 0, () => timezoneOptions(value), [value]);
|
|
907
907
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
908
|
-
|
|
908
|
+
_chunkMZLWB5AHcjs.Autocomplete,
|
|
909
909
|
{
|
|
910
910
|
className,
|
|
911
911
|
fieldLoading: loading,
|
|
@@ -1483,6 +1483,8 @@ var timeSelectTriggerStyles = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
|
1483
1483
|
"cursor-pointer transition-colors duration-200",
|
|
1484
1484
|
"text-ods-text-primary"
|
|
1485
1485
|
);
|
|
1486
|
+
var DATE_POPOVER_COLLISION_PADDING = 16;
|
|
1487
|
+
var datePopoverBounds = "max-h-[var(--radix-popover-content-available-height)]";
|
|
1486
1488
|
function DatePicker(props) {
|
|
1487
1489
|
const {
|
|
1488
1490
|
placeholder = "Select date",
|
|
@@ -1554,12 +1556,15 @@ function DatePicker(props) {
|
|
|
1554
1556
|
{
|
|
1555
1557
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1556
1558
|
"z-[9999]",
|
|
1559
|
+
datePopoverBounds,
|
|
1560
|
+
"overflow-y-auto",
|
|
1557
1561
|
"animate-in fade-in-0 zoom-in-95",
|
|
1558
1562
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
1559
1563
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
1560
1564
|
"data-[side=top]:slide-in-from-bottom-2"
|
|
1561
1565
|
),
|
|
1562
1566
|
sideOffset: 8,
|
|
1567
|
+
collisionPadding: DATE_POPOVER_COLLISION_PADDING,
|
|
1563
1568
|
align: "start",
|
|
1564
1569
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1565
1570
|
DatePickerCalendar,
|
|
@@ -1703,12 +1708,15 @@ function DatePickerInput(props) {
|
|
|
1703
1708
|
{
|
|
1704
1709
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1705
1710
|
"z-[9999]",
|
|
1711
|
+
datePopoverBounds,
|
|
1712
|
+
"overflow-y-auto",
|
|
1706
1713
|
"animate-in fade-in-0 zoom-in-95",
|
|
1707
1714
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
1708
1715
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
1709
1716
|
"data-[side=top]:slide-in-from-bottom-2"
|
|
1710
1717
|
),
|
|
1711
1718
|
sideOffset: 8,
|
|
1719
|
+
collisionPadding: DATE_POPOVER_COLLISION_PADDING,
|
|
1712
1720
|
align: "start",
|
|
1713
1721
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1714
1722
|
DatePickerCalendar,
|
|
@@ -1726,20 +1734,20 @@ function DatePickerInput(props) {
|
|
|
1726
1734
|
) })
|
|
1727
1735
|
] }),
|
|
1728
1736
|
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
1729
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1730
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1731
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1737
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.Select, { value: hour, onValueChange: handleHourChange, disabled, children: [
|
|
1738
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { className: _chunk65VVJSQZcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, { placeholder: "HH" }) }),
|
|
1739
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: hourOptions.map((h) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: h, children: h }, h)) })
|
|
1732
1740
|
] }),
|
|
1733
1741
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: ":" }),
|
|
1734
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1735
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1736
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1742
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.Select, { value: minute, onValueChange: handleMinuteChange, disabled, children: [
|
|
1743
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { className: _chunk65VVJSQZcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, { placeholder: "MM" }) }),
|
|
1744
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: minuteOptions.map((m) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: m, children: m }, m)) })
|
|
1737
1745
|
] }),
|
|
1738
|
-
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1739
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1740
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1741
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1742
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1746
|
+
!use24HourFormat && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.Select, { value: period, onValueChange: (val) => handlePeriodChange(val), disabled, children: [
|
|
1747
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { className: _chunk65VVJSQZcjs.cn.call(void 0, timeSelectTriggerStyles, "w-[80px]"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, { placeholder: "AM" }) }),
|
|
1748
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: [
|
|
1749
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "AM", children: "AM" }),
|
|
1750
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "PM", children: "PM" })
|
|
1743
1751
|
] })
|
|
1744
1752
|
] })
|
|
1745
1753
|
] })
|
|
@@ -1860,12 +1868,15 @@ function DatePickerInputSimple(props) {
|
|
|
1860
1868
|
{
|
|
1861
1869
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1862
1870
|
"z-[9999]",
|
|
1871
|
+
datePopoverBounds,
|
|
1872
|
+
"overflow-y-auto",
|
|
1863
1873
|
"animate-in fade-in-0 zoom-in-95",
|
|
1864
1874
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
1865
1875
|
"data-[side=bottom]:slide-in-from-top-2",
|
|
1866
1876
|
"data-[side=top]:slide-in-from-bottom-2"
|
|
1867
1877
|
),
|
|
1868
1878
|
sideOffset: 8,
|
|
1879
|
+
collisionPadding: DATE_POPOVER_COLLISION_PADDING,
|
|
1869
1880
|
align: "start",
|
|
1870
1881
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1871
1882
|
DatePickerCalendar,
|
|
@@ -1882,9 +1893,9 @@ function DatePickerInputSimple(props) {
|
|
|
1882
1893
|
}
|
|
1883
1894
|
) })
|
|
1884
1895
|
] }),
|
|
1885
|
-
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1886
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1887
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1896
|
+
showTime && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.Select, { value: timeValue, onValueChange: handleTimeChange, disabled, children: [
|
|
1897
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { className: _chunk65VVJSQZcjs.cn.call(void 0, timeSelectTriggerStyles, "flex-1"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, { placeholder: "Select time", children: timeDisplayLabel || "Select time" }) }),
|
|
1898
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
1888
1899
|
] })
|
|
1889
1900
|
] });
|
|
1890
1901
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXDHVHB2cjs.FieldWrapper, { label, error, errorSlot: "error" in props, className, children: content });
|
|
@@ -1903,14 +1914,14 @@ function DateFilterPanel({
|
|
|
1903
1914
|
className
|
|
1904
1915
|
}) {
|
|
1905
1916
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex flex-col gap-4", className), children: [
|
|
1906
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1907
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1917
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.Select, { value: sort, onValueChange: (value) => onSortChange(value), children: [
|
|
1918
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.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: [
|
|
1908
1919
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowUpDown, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
1909
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1920
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, {}) })
|
|
1910
1921
|
] }) }),
|
|
1911
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1912
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1913
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1922
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: [
|
|
1923
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "asc", children: ascLabel }),
|
|
1924
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "desc", children: descLabel })
|
|
1914
1925
|
] })
|
|
1915
1926
|
] }),
|
|
1916
1927
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1997,6 +2008,7 @@ function DateFilterMenu({
|
|
|
1997
2008
|
{
|
|
1998
2009
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1999
2010
|
"z-[9999] w-80 max-w-[calc(100vw-2rem)]",
|
|
2011
|
+
datePopoverBounds,
|
|
2000
2012
|
"flex flex-col gap-4 rounded-[6px] border border-ods-border bg-ods-bg p-4",
|
|
2001
2013
|
"animate-in fade-in-0 zoom-in-95",
|
|
2002
2014
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
@@ -2004,9 +2016,10 @@ function DateFilterMenu({
|
|
|
2004
2016
|
"data-[side=top]:slide-in-from-bottom-2"
|
|
2005
2017
|
),
|
|
2006
2018
|
sideOffset: 8,
|
|
2019
|
+
collisionPadding: DATE_POPOVER_COLLISION_PADDING,
|
|
2007
2020
|
align,
|
|
2008
2021
|
children: [
|
|
2009
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2022
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-0 overflow-y-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2010
2023
|
DateFilterPanel,
|
|
2011
2024
|
{
|
|
2012
2025
|
mode,
|
|
@@ -2020,8 +2033,8 @@ function DateFilterMenu({
|
|
|
2020
2033
|
ascLabel,
|
|
2021
2034
|
descLabel
|
|
2022
2035
|
}
|
|
2023
|
-
),
|
|
2024
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-stretch gap-4", children: [
|
|
2036
|
+
) }),
|
|
2037
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full shrink-0 items-stretch gap-4", children: [
|
|
2025
2038
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: hasChanges ? handleReset : handleClose, children: hasChanges ? "Reset" : "Close" }),
|
|
2026
2039
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { type: "button", variant: "accent", fullWidth: true, onClick: handleApply, children: "Apply" })
|
|
2027
2040
|
] })
|
|
@@ -2768,7 +2781,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
2768
2781
|
if (isEditing) {
|
|
2769
2782
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "min-w-0", className), children: [
|
|
2770
2783
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2771
|
-
|
|
2784
|
+
_chunkMZLWB5AHcjs.Autocomplete,
|
|
2772
2785
|
{
|
|
2773
2786
|
options,
|
|
2774
2787
|
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _35 => _35.id]), () => ( null)),
|
|
@@ -3004,7 +3017,7 @@ function MediaTypeSelector({
|
|
|
3004
3017
|
// changed) and cost an extra render pass on every change to say what the
|
|
3005
3018
|
// prop already said.
|
|
3006
3019
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3007
|
-
|
|
3020
|
+
_chunkMZLWB5AHcjs.Select,
|
|
3008
3021
|
{
|
|
3009
3022
|
value: value || void 0,
|
|
3010
3023
|
onValueChange: (next) => {
|
|
@@ -3014,8 +3027,8 @@ function MediaTypeSelector({
|
|
|
3014
3027
|
disabled,
|
|
3015
3028
|
defaultValue: value,
|
|
3016
3029
|
children: [
|
|
3017
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3018
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3030
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, { placeholder }) }),
|
|
3031
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: mediaTypeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: option.value, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
3019
3032
|
option.icon,
|
|
3020
3033
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: option.label })
|
|
3021
3034
|
] }) }, option.value)) })
|
|
@@ -6669,12 +6682,12 @@ var OGLinkPreview = ({
|
|
|
6669
6682
|
children: [
|
|
6670
6683
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TILE_SOURCE_ROW_CLASS, children: [
|
|
6671
6684
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Favicon, { src: `https://www.google.com/s2/favicons?domain=${domain}&sz=32`, size: "w-4 h-4" }),
|
|
6672
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6685
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: name }),
|
|
6673
6686
|
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 })
|
|
6674
6687
|
] }),
|
|
6675
6688
|
kicker != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden text-ods-accent text-h5", style: lineClamp(1), children: kicker }),
|
|
6676
6689
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6677
|
-
|
|
6690
|
+
_chunkMZLWB5AHcjs.TruncateText,
|
|
6678
6691
|
{
|
|
6679
6692
|
lines: 2,
|
|
6680
6693
|
variant: "h3",
|
|
@@ -6683,7 +6696,7 @@ var OGLinkPreview = ({
|
|
|
6683
6696
|
children: curatedTitle || domainToTitle(domain)
|
|
6684
6697
|
}
|
|
6685
6698
|
),
|
|
6686
|
-
curatedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6699
|
+
curatedDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", children: curatedDescription })
|
|
6687
6700
|
]
|
|
6688
6701
|
}
|
|
6689
6702
|
);
|
|
@@ -6819,8 +6832,8 @@ var OGLinkPreview = ({
|
|
|
6819
6832
|
children: [
|
|
6820
6833
|
/* @__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 }) }),
|
|
6821
6834
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6822
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6823
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6835
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { className: "font-semibold transition-colors group-hover:text-ods-accent", children: title }),
|
|
6836
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { tone: "secondary", children: description })
|
|
6824
6837
|
] }),
|
|
6825
6838
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExternalLinkIcon, {})
|
|
6826
6839
|
]
|
|
@@ -6867,7 +6880,7 @@ var OGLinkPreview = ({
|
|
|
6867
6880
|
),
|
|
6868
6881
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
6869
6882
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6870
|
-
|
|
6883
|
+
_chunkMZLWB5AHcjs.TruncateText,
|
|
6871
6884
|
{
|
|
6872
6885
|
lines: 2,
|
|
6873
6886
|
className: "min-h-[calc(var(--font-line-space-h4-body)*2)] font-semibold transition-colors group-hover:text-ods-accent",
|
|
@@ -6876,7 +6889,7 @@ var OGLinkPreview = ({
|
|
|
6876
6889
|
}
|
|
6877
6890
|
),
|
|
6878
6891
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6879
|
-
|
|
6892
|
+
_chunkMZLWB5AHcjs.TruncateText,
|
|
6880
6893
|
{
|
|
6881
6894
|
lines: 2,
|
|
6882
6895
|
tone: "secondary",
|
|
@@ -6886,9 +6899,9 @@ var OGLinkPreview = ({
|
|
|
6886
6899
|
}
|
|
6887
6900
|
),
|
|
6888
6901
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2 text-ods-text-secondary text-h6", children: [
|
|
6889
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6902
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: effectiveData.siteName }),
|
|
6890
6903
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "\u2022" }),
|
|
6891
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { as: "span", variant: "h6", className: "text-current", children: ogDomain }),
|
|
6892
6905
|
meta
|
|
6893
6906
|
] })
|
|
6894
6907
|
] })
|
|
@@ -9490,7 +9503,7 @@ function renderAdvancedPageContainer({
|
|
|
9490
9503
|
contentClassName,
|
|
9491
9504
|
showHeader = true
|
|
9492
9505
|
}, inScope = false) {
|
|
9493
|
-
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9506
|
+
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children: _chunk4EJU462Ocjs.accentSentenceMarks.call(void 0, title) }) : inScope && title === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerTitleSkeleton, {}) : null;
|
|
9494
9507
|
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;
|
|
9495
9508
|
const getActionsVariant = () => {
|
|
9496
9509
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9499,7 +9512,7 @@ function renderAdvancedPageContainer({
|
|
|
9499
9512
|
};
|
|
9500
9513
|
const renderActions = () => {
|
|
9501
9514
|
if (!actions || actions.length === 0) return null;
|
|
9502
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9515
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.PageActions, { variant: getActionsVariant(), actions, menuActions });
|
|
9503
9516
|
};
|
|
9504
9517
|
const needsBottomPadding = actions && actions.length > 0 && getActionsVariant() === "primary-buttons";
|
|
9505
9518
|
const paddingClasses = {
|
|
@@ -9522,7 +9535,7 @@ function renderAdvancedPageContainer({
|
|
|
9522
9535
|
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: [
|
|
9523
9536
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9524
9537
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9525
|
-
|
|
9538
|
+
_chunkMZLWB5AHcjs.BackButton,
|
|
9526
9539
|
{
|
|
9527
9540
|
onClick: backButton.onClick,
|
|
9528
9541
|
label: backButton.label,
|
|
@@ -9542,7 +9555,7 @@ function renderAdvancedPageContainer({
|
|
|
9542
9555
|
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: [
|
|
9543
9556
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
9544
9557
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9545
|
-
|
|
9558
|
+
_chunkMZLWB5AHcjs.BackButton,
|
|
9546
9559
|
{
|
|
9547
9560
|
onClick: backButton.onClick,
|
|
9548
9561
|
label: backButton.label,
|
|
@@ -9562,7 +9575,7 @@ function renderAdvancedPageContainer({
|
|
|
9562
9575
|
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: [
|
|
9563
9576
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
|
|
9564
9577
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9565
|
-
|
|
9578
|
+
_chunkMZLWB5AHcjs.BackButton,
|
|
9566
9579
|
{
|
|
9567
9580
|
onClick: backButton.onClick,
|
|
9568
9581
|
label: backButton.label,
|
|
@@ -11424,7 +11437,7 @@ function OrganizationCardSkeleton({
|
|
|
11424
11437
|
"aria-hidden": true,
|
|
11425
11438
|
children: [
|
|
11426
11439
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_HEADER_CLASS, children: [
|
|
11427
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11440
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.EntityImageSkeleton, {}),
|
|
11428
11441
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_TEXT_CLASS, children: [
|
|
11429
11442
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "h3", className: "w-3/4" }),
|
|
11430
11443
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "h6", className: "w-1/2" })
|
|
@@ -11527,7 +11540,7 @@ function OrganizationCard({
|
|
|
11527
11540
|
}
|
|
11528
11541
|
),
|
|
11529
11542
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_HEADER_CLASS, children: [
|
|
11530
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11543
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.EntityImage, { src: fetchedImageUrl || organization.imageUrl, alt: organization.name }),
|
|
11531
11544
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ORGANIZATION_CARD_TEXT_CLASS, children: [
|
|
11532
11545
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "truncate text-ods-text-primary transition-colors text-h3", title: organization.name, children: organization.name }),
|
|
11533
11546
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11577,8 +11590,8 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
11577
11590
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
11578
11591
|
/* @__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 }),
|
|
11579
11592
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
11580
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11581
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11593
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h3", children: title }),
|
|
11594
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: subtitle })
|
|
11582
11595
|
] })
|
|
11583
11596
|
] }),
|
|
11584
11597
|
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start whitespace-nowrap rounded-full border border-ods-border bg-ods-bg px-3 py-1 font-semibold text-ods-text-primary text-h6", children: tag.label })
|
|
@@ -11714,14 +11727,14 @@ function PersonCell({
|
|
|
11714
11727
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
11715
11728
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
11716
11729
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11717
|
-
|
|
11730
|
+
_chunkMZLWB5AHcjs.TruncateText,
|
|
11718
11731
|
{
|
|
11719
11732
|
variant: scale.primary,
|
|
11720
11733
|
className: onClick ? "text-ods-accent group-hover/person-cell:underline" : void 0,
|
|
11721
11734
|
children: displayName
|
|
11722
11735
|
}
|
|
11723
11736
|
),
|
|
11724
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11737
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: secondary === void 0 ? "\xA0" : secondary || "\xB7" })
|
|
11725
11738
|
] })
|
|
11726
11739
|
] });
|
|
11727
11740
|
if (!onClick) return row;
|
|
@@ -14137,7 +14150,7 @@ function PhoneInput({
|
|
|
14137
14150
|
}, []);
|
|
14138
14151
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 gap-2", children: [
|
|
14139
14152
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14140
|
-
|
|
14153
|
+
_chunkMZLWB5AHcjs.Select,
|
|
14141
14154
|
{
|
|
14142
14155
|
value: countryCode,
|
|
14143
14156
|
onValueChange: (val) => {
|
|
@@ -14148,14 +14161,14 @@ function PhoneInput({
|
|
|
14148
14161
|
},
|
|
14149
14162
|
disabled,
|
|
14150
14163
|
children: [
|
|
14151
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14164
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { className: "w-[130px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, { children: selectedCountry && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5", children: [
|
|
14152
14165
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.flag }),
|
|
14153
14166
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: selectedCountry.dialCode })
|
|
14154
14167
|
] }) }) }),
|
|
14155
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14156
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14157
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14158
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14168
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { className: "max-h-[300px] !w-[280px]", children: [
|
|
14169
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectGroup, { children: priority.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) }),
|
|
14170
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectSeparator, {}),
|
|
14171
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectGroup, { children: others.map((country) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CountryOption, { country }, country.code)) })
|
|
14159
14172
|
] })
|
|
14160
14173
|
]
|
|
14161
14174
|
}
|
|
@@ -14187,7 +14200,7 @@ function PhoneInput({
|
|
|
14187
14200
|
] });
|
|
14188
14201
|
}
|
|
14189
14202
|
function CountryOption({ country }) {
|
|
14190
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14203
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: country.code, textValue: country.name, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-2", children: [
|
|
14191
14204
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: country.flag }),
|
|
14192
14205
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary", children: country.dialCode }),
|
|
14193
14206
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-block max-w-[140px] overflow-hidden text-ellipsis whitespace-nowrap", children: country.name })
|
|
@@ -14572,7 +14585,7 @@ function SearchInput({
|
|
|
14572
14585
|
)
|
|
14573
14586
|
] }),
|
|
14574
14587
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14575
|
-
|
|
14588
|
+
_chunkMZLWB5AHcjs.HiddenTagsPopup,
|
|
14576
14589
|
{
|
|
14577
14590
|
ref: hiddenTagsPopupRef,
|
|
14578
14591
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
@@ -14866,7 +14879,7 @@ function TagSearchInput({
|
|
|
14866
14879
|
}
|
|
14867
14880
|
),
|
|
14868
14881
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14869
|
-
|
|
14882
|
+
_chunkMZLWB5AHcjs.HiddenTagsPopup,
|
|
14870
14883
|
{
|
|
14871
14884
|
ref: hiddenTagsPopupRef,
|
|
14872
14885
|
items: hiddenTags,
|
|
@@ -16939,7 +16952,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
16939
16952
|
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: [
|
|
16940
16953
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16941
16954
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHJE3UWZcjs.ColorSwatch, { color }),
|
|
16942
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16955
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
16943
16956
|
] }),
|
|
16944
16957
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
16945
16958
|
] });
|
|
@@ -16949,7 +16962,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
16949
16962
|
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: [
|
|
16950
16963
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16951
16964
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
16952
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16965
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { className: "text-inherit", children: label }) })
|
|
16953
16966
|
] }),
|
|
16954
16967
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
16955
16968
|
] });
|
|
@@ -16993,7 +17006,7 @@ function TakeOverTicketModal({
|
|
|
16993
17006
|
] }),
|
|
16994
17007
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
16995
17008
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16996
|
-
|
|
17009
|
+
_chunkMZLWB5AHcjs.Autocomplete,
|
|
16997
17010
|
{
|
|
16998
17011
|
label: "Status",
|
|
16999
17012
|
options: statusOptions,
|
|
@@ -17005,7 +17018,7 @@ function TakeOverTicketModal({
|
|
|
17005
17018
|
}
|
|
17006
17019
|
) }),
|
|
17007
17020
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17008
|
-
|
|
17021
|
+
_chunkMZLWB5AHcjs.Autocomplete,
|
|
17009
17022
|
{
|
|
17010
17023
|
label: "Assigned",
|
|
17011
17024
|
options: assigneeOptions,
|
|
@@ -17096,7 +17109,7 @@ function ReopenTicketModal({
|
|
|
17096
17109
|
] }),
|
|
17097
17110
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)] md:flex-row", children: [
|
|
17098
17111
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17099
|
-
|
|
17112
|
+
_chunkMZLWB5AHcjs.Autocomplete,
|
|
17100
17113
|
{
|
|
17101
17114
|
label: "Status",
|
|
17102
17115
|
options: statusOptions,
|
|
@@ -17108,7 +17121,7 @@ function ReopenTicketModal({
|
|
|
17108
17121
|
}
|
|
17109
17122
|
) }),
|
|
17110
17123
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17111
|
-
|
|
17124
|
+
_chunkMZLWB5AHcjs.Autocomplete,
|
|
17112
17125
|
{
|
|
17113
17126
|
label: "Assigned",
|
|
17114
17127
|
options: assigneeOptions,
|
|
@@ -17601,7 +17614,7 @@ function ProductScreenFrame({
|
|
|
17601
17614
|
style: { height },
|
|
17602
17615
|
children: [
|
|
17603
17616
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.CollisionBoundaryContext.Provider, { value: frame, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { inert: true, "aria-hidden": true, className: "ods-content-area", style: screenStyle, children: [
|
|
17604
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ods-content-scope", children: mode === "pending" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.LoadingScope, { bare: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17617
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ods-content-scope", children: mode === "pending" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.LoadingScope, { bare: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.PagePicture, { children }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.PagePicture, { children }) }),
|
|
17605
17618
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, style: { display: "contents" } })
|
|
17606
17619
|
] }) }) }),
|
|
17607
17620
|
fade && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17737,7 +17750,7 @@ function PhoneFrame({ dateLabel, timeLabel, children, className }) {
|
|
|
17737
17750
|
"div",
|
|
17738
17751
|
{
|
|
17739
17752
|
className: _chunk65VVJSQZcjs.cn.call(void 0, "h-[617px] w-[299px] shrink-0 rounded-[48px] border border-ods-border bg-black p-2.5", className),
|
|
17740
|
-
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "relative flex h-full flex-col overflow-hidden rounded-[38px]",
|
|
17753
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "relative flex h-full flex-col overflow-hidden rounded-[38px]", _chunkMZLWB5AHcjs.DEVICE_WALLPAPER_CLASS), children: [
|
|
17741
17754
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17742
17755
|
"div",
|
|
17743
17756
|
{
|
|
@@ -20086,9 +20099,9 @@ function ChangelogManager({
|
|
|
20086
20099
|
] }),
|
|
20087
20100
|
tagOptions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
20088
20101
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFL2RMEDXcjs.Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
20089
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20090
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20091
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20102
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.Select, { value: _nullishCoalesce(entry.tag, () => ( "")), onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
20103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, { placeholder: tagLabel }) }),
|
|
20104
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: tagOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
20092
20105
|
] })
|
|
20093
20106
|
] })
|
|
20094
20107
|
] })
|
|
@@ -21864,17 +21877,17 @@ function MediaGalleryManager({
|
|
|
21864
21877
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
21865
21878
|
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" }),
|
|
21866
21879
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21867
|
-
|
|
21880
|
+
_chunkMZLWB5AHcjs.Select,
|
|
21868
21881
|
{
|
|
21869
21882
|
value: item.media_type,
|
|
21870
21883
|
onValueChange: (value) => update(index, { media_type: value }),
|
|
21871
21884
|
children: [
|
|
21872
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21873
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21874
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21875
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21877
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21885
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { className: "h-8 bg-ods-bg text-h6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, {}) }),
|
|
21886
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { className: "bg-ods-card", children: [
|
|
21887
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "image", children: "Image" }),
|
|
21888
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "video", children: "Video" }),
|
|
21889
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "screenshot", children: "Screenshot" }),
|
|
21890
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "demo", children: "Demo" })
|
|
21878
21891
|
] })
|
|
21879
21892
|
]
|
|
21880
21893
|
}
|
|
@@ -22547,7 +22560,7 @@ function ModelTokenExchange({
|
|
|
22547
22560
|
}
|
|
22548
22561
|
),
|
|
22549
22562
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22550
|
-
|
|
22563
|
+
_chunkMZLWB5AHcjs.Autocomplete,
|
|
22551
22564
|
{
|
|
22552
22565
|
fieldLoading: loading,
|
|
22553
22566
|
label: copy.use.model,
|
|
@@ -23586,9 +23599,9 @@ function SocialLinksManager({
|
|
|
23586
23599
|
children: [
|
|
23587
23600
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 items-center justify-center", children: Icon }),
|
|
23588
23601
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid flex-1 grid-cols-2 gap-3", children: [
|
|
23589
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23590
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23591
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23602
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.Select, { value: link.platform, onValueChange: (value) => updateLink(index, "platform", value), children: [
|
|
23603
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, {}) }),
|
|
23604
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: platforms.map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: p.name, children: p.display_name }, p.name)) })
|
|
23592
23605
|
] }) }),
|
|
23593
23606
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23594
23607
|
_chunkYXDHVHB2cjs.Input,
|
|
@@ -23606,15 +23619,15 @@ function SocialLinksManager({
|
|
|
23606
23619
|
)
|
|
23607
23620
|
] }),
|
|
23608
23621
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23609
|
-
|
|
23622
|
+
_chunkMZLWB5AHcjs.Select,
|
|
23610
23623
|
{
|
|
23611
23624
|
value: _nullishCoalesce(link.visibility, () => ( "external")),
|
|
23612
23625
|
onValueChange: (value) => updateLink(index, "visibility", value),
|
|
23613
23626
|
children: [
|
|
23614
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23615
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23616
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23617
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23627
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { className: "w-[120px] shrink-0", "aria-label": "Social link visibility", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, {}) }),
|
|
23628
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: [
|
|
23629
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "external", children: "Public" }),
|
|
23630
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "internal", children: "Internal" })
|
|
23618
23631
|
] })
|
|
23619
23632
|
]
|
|
23620
23633
|
}
|
|
@@ -25382,19 +25395,19 @@ function HighlightVideoSection({
|
|
|
25382
25395
|
/* @__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: [
|
|
25383
25396
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFL2RMEDXcjs.Label, { children: "Target Duration" }),
|
|
25384
25397
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25385
|
-
|
|
25398
|
+
_chunkMZLWB5AHcjs.Select,
|
|
25386
25399
|
{
|
|
25387
25400
|
value: targetDurationSeconds.toString(),
|
|
25388
25401
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
25389
25402
|
disabled,
|
|
25390
25403
|
children: [
|
|
25391
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25392
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25393
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25394
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25395
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25396
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25397
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25404
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { className: "mt-1 bg-ods-bg-surface", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, {}) }),
|
|
25405
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { className: "bg-ods-card", children: [
|
|
25406
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
25407
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
25408
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
25409
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
25410
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
25398
25411
|
] })
|
|
25399
25412
|
]
|
|
25400
25413
|
}
|
|
@@ -25480,19 +25493,19 @@ function HighlightConfigSection({
|
|
|
25480
25493
|
className = ""
|
|
25481
25494
|
}) {
|
|
25482
25495
|
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, _chunkUBPSA3RMcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25483
|
-
|
|
25496
|
+
_chunkMZLWB5AHcjs.Select,
|
|
25484
25497
|
{
|
|
25485
25498
|
value: targetDurationSeconds.toString(),
|
|
25486
25499
|
onValueChange: (value) => onTargetDurationChange(parseInt(value)),
|
|
25487
25500
|
disabled,
|
|
25488
25501
|
children: [
|
|
25489
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25490
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25491
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25492
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25493
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25494
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25495
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25502
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { id: f.id, className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, {}) }),
|
|
25503
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { className: "bg-ods-card", children: [
|
|
25504
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "60", children: "1 minute" }),
|
|
25505
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "120", children: "2 minutes" }),
|
|
25506
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "180", children: "3 minutes (Recommended)" }),
|
|
25507
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "240", children: "4 minutes" }),
|
|
25508
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: "300", children: "5 minutes" })
|
|
25496
25509
|
] })
|
|
25497
25510
|
]
|
|
25498
25511
|
}
|
|
@@ -26480,8 +26493,8 @@ function PoliciesTable({
|
|
|
26480
26493
|
accessorKey: "name",
|
|
26481
26494
|
header: "Name",
|
|
26482
26495
|
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: [
|
|
26483
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26484
|
-
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26496
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: row.original.name }),
|
|
26497
|
+
row.original.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.description })
|
|
26485
26498
|
] }),
|
|
26486
26499
|
meta: { width: "flex-1 min-w-0" }
|
|
26487
26500
|
},
|
|
@@ -26764,7 +26777,7 @@ function usersCountLabel(count) {
|
|
|
26764
26777
|
function TenantAccessCell({ accessState, lastReadAt: lastReadAt2, now }) {
|
|
26765
26778
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26766
26779
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.Tag, { ...accessStateTag(accessState), className: "self-start" }),
|
|
26767
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26780
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: `Last read: ${formatLastRead(lastReadAt2, now)}` })
|
|
26768
26781
|
] });
|
|
26769
26782
|
}
|
|
26770
26783
|
|
|
@@ -26775,9 +26788,9 @@ function TenantCell({ provider, name, domain }) {
|
|
|
26775
26788
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26776
26789
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26777
26790
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Logo, { size: 24, role: "img", "aria-label": label, className: "shrink-0" }),
|
|
26778
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26791
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: name })
|
|
26779
26792
|
] }),
|
|
26780
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26793
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: _nullishCoalesce(domain, () => ( TENANT_EMPTY_VALUE)) })
|
|
26781
26794
|
] });
|
|
26782
26795
|
}
|
|
26783
26796
|
|
|
@@ -26787,9 +26800,9 @@ function TenantCustomerCell({ name, imageUrl, userCount }) {
|
|
|
26787
26800
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
26788
26801
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
26789
26802
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.SquareAvatar, { src: _nullishCoalesce(imageUrl, () => ( void 0)), alt: name, fallback: name, size: "xs", variant: "square" }),
|
|
26790
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26803
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: name })
|
|
26791
26804
|
] }),
|
|
26792
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26805
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: usersCountLabel(userCount) })
|
|
26793
26806
|
] });
|
|
26794
26807
|
}
|
|
26795
26808
|
|
|
@@ -28674,7 +28687,7 @@ function TimeTrackerPanel({
|
|
|
28674
28687
|
] }),
|
|
28675
28688
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "grid gap-[var(--spacing-system-m)]", showCustomer && "grid-cols-2"), children: [
|
|
28676
28689
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28677
|
-
|
|
28690
|
+
_chunkMZLWB5AHcjs.Autocomplete,
|
|
28678
28691
|
{
|
|
28679
28692
|
value: selectedTicketId,
|
|
28680
28693
|
onChange: onSelectedTicketChange,
|
|
@@ -28690,7 +28703,7 @@ function TimeTrackerPanel({
|
|
|
28690
28703
|
}
|
|
28691
28704
|
),
|
|
28692
28705
|
showCustomer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28693
|
-
|
|
28706
|
+
_chunkMZLWB5AHcjs.Autocomplete,
|
|
28694
28707
|
{
|
|
28695
28708
|
value: _nullishCoalesce(selectedCustomerId, () => ( null)),
|
|
28696
28709
|
onChange: onSelectedCustomerChange,
|
|
@@ -29414,7 +29427,7 @@ function DevicesTableBody({
|
|
|
29414
29427
|
function OrganizationCell({ device }) {
|
|
29415
29428
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
29416
29429
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
29417
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29430
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.EntityImage, { src: fullImageUrl, alt: device.organization || "Customer", className: "size-12 content-md:size-12" }),
|
|
29418
29431
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "break-words text-ods-text-primary text-h4", children: device.organization || "" }) })
|
|
29419
29432
|
] });
|
|
29420
29433
|
}
|
|
@@ -29458,7 +29471,7 @@ function getDeviceTableColumns(deviceFilters, filtersPending) {
|
|
|
29458
29471
|
const device = row.original;
|
|
29459
29472
|
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: [
|
|
29460
29473
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
29461
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29474
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: getDeviceName(device) }) })
|
|
29462
29475
|
] });
|
|
29463
29476
|
},
|
|
29464
29477
|
meta: { width: "flex-1 content-md:w-1/4" }
|
|
@@ -29629,7 +29642,7 @@ function CustomerCell({ device }) {
|
|
|
29629
29642
|
const fullImageUrl = useDeviceImageUrl(device.organizationImageUrl, device.organizationImageHash);
|
|
29630
29643
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
29631
29644
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29632
|
-
|
|
29645
|
+
_chunkMZLWB5AHcjs.EntityImage,
|
|
29633
29646
|
{
|
|
29634
29647
|
src: fullImageUrl,
|
|
29635
29648
|
alt: device.organization || "Customer",
|
|
@@ -29637,8 +29650,8 @@ function CustomerCell({ device }) {
|
|
|
29637
29650
|
}
|
|
29638
29651
|
),
|
|
29639
29652
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center", children: [
|
|
29640
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29641
|
-
device.organizationEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29653
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: device.organization || "" }),
|
|
29654
|
+
device.organizationEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: device.organizationEmail })
|
|
29642
29655
|
] })
|
|
29643
29656
|
] });
|
|
29644
29657
|
}
|
|
@@ -29933,8 +29946,8 @@ function DeviceSelector({
|
|
|
29933
29946
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 items-center gap-3", children: [
|
|
29934
29947
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeviceTypeTile, { type: device.type }),
|
|
29935
29948
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
|
|
29936
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29937
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29949
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: getDeviceName(device) }),
|
|
29950
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: formatLastOnline(lastSeen) })
|
|
29938
29951
|
] })
|
|
29939
29952
|
] });
|
|
29940
29953
|
},
|
|
@@ -30726,7 +30739,7 @@ function DevicesPanelView({
|
|
|
30726
30739
|
] })
|
|
30727
30740
|
] });
|
|
30728
30741
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30729
|
-
|
|
30742
|
+
_chunkMZLWB5AHcjs.PageLayout,
|
|
30730
30743
|
{
|
|
30731
30744
|
title,
|
|
30732
30745
|
backButton,
|
|
@@ -30800,7 +30813,7 @@ var PACKAGE_SEARCH_LABEL = "Software Name";
|
|
|
30800
30813
|
var PACKAGE_SEARCH_PLACEHOLDER = "Search for Software";
|
|
30801
30814
|
function PackageSearchFieldPlaceholder({ error }) {
|
|
30802
30815
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30803
|
-
|
|
30816
|
+
_chunkMZLWB5AHcjs.Autocomplete,
|
|
30804
30817
|
{
|
|
30805
30818
|
label: PACKAGE_SEARCH_LABEL,
|
|
30806
30819
|
labelVariant: "large",
|
|
@@ -30855,16 +30868,16 @@ function SoftwareScheduleFields({
|
|
|
30855
30868
|
] }),
|
|
30856
30869
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30857
30870
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFL2RMEDXcjs.Label, { className: "text-h4", children: "Time" }),
|
|
30858
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30859
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30860
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30871
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.Select, { value: time, onValueChange: onTimeChange, children: [
|
|
30872
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, { placeholder: "Select time" }) }),
|
|
30873
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: timeOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30861
30874
|
] })
|
|
30862
30875
|
] }),
|
|
30863
30876
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
30864
30877
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFL2RMEDXcjs.Label, { className: "text-h4", children: "Timezone" }),
|
|
30865
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30866
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30867
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30878
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.Select, { value: timeReference, onValueChange: (value) => onTimeReferenceChange(value), children: [
|
|
30879
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, {}) }),
|
|
30880
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: timing.timeReferenceOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
30868
30881
|
] })
|
|
30869
30882
|
] })
|
|
30870
30883
|
]
|
|
@@ -30930,22 +30943,22 @@ function newSoftwareRow(key) {
|
|
|
30930
30943
|
|
|
30931
30944
|
function InfoCell2({ value, label }) {
|
|
30932
30945
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
30933
|
-
/* @__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,
|
|
30946
|
+
/* @__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, _chunkMZLWB5AHcjs.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" }) }) }),
|
|
30934
30947
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: label })
|
|
30935
30948
|
] });
|
|
30936
30949
|
}
|
|
30937
30950
|
function SoftwareRowFields({ row, removable, onChange, onRemove, renderPackageSearch }) {
|
|
30938
30951
|
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: [
|
|
30939
30952
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30940
|
-
|
|
30953
|
+
_chunkMZLWB5AHcjs.Select,
|
|
30941
30954
|
{
|
|
30942
30955
|
value: row.packageManager,
|
|
30943
30956
|
onValueChange: (value) => onChange({ ...row, packageManager: value, pkg: null }),
|
|
30944
30957
|
children: [
|
|
30945
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30946
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30958
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { label: "Package Manager", labelVariant: "large", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, {}) }),
|
|
30959
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: PACKAGE_MANAGERS.map((manager) => {
|
|
30947
30960
|
const Icon = PACKAGE_MANAGER_ICON[manager];
|
|
30948
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30961
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: manager, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30949
30962
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 20, className: "shrink-0 text-ods-text-secondary" }),
|
|
30950
30963
|
PACKAGE_MANAGER_LABEL[manager]
|
|
30951
30964
|
] }) }, manager);
|
|
@@ -31043,7 +31056,7 @@ function SoftwareActionForm({
|
|
|
31043
31056
|
}
|
|
31044
31057
|
);
|
|
31045
31058
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31046
|
-
|
|
31059
|
+
_chunkMZLWB5AHcjs.PageLayout,
|
|
31047
31060
|
{
|
|
31048
31061
|
title: copy.formTitle,
|
|
31049
31062
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -31132,7 +31145,7 @@ function LogDrawer({
|
|
|
31132
31145
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 space-y-4 overflow-y-auto", children: [
|
|
31133
31146
|
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 }) }),
|
|
31134
31147
|
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: [
|
|
31135
|
-
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,
|
|
31148
|
+
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, _chunkMZLWB5AHcjs.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 }),
|
|
31136
31149
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: field.label })
|
|
31137
31150
|
] }, typeof field.label === "string" ? field.label : "")) }),
|
|
31138
31151
|
children
|
|
@@ -31180,7 +31193,7 @@ function LogsPageView({
|
|
|
31180
31193
|
],
|
|
31181
31194
|
[onRefresh]
|
|
31182
31195
|
);
|
|
31183
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31196
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.PageLayout, { title: "Logs", actions, showHeader, className, children: [
|
|
31184
31197
|
!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: [
|
|
31185
31198
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31186
31199
|
_chunkYXDHVHB2cjs.Input,
|
|
@@ -31355,8 +31368,8 @@ function LogsTableView({
|
|
|
31355
31368
|
accessorKey: "logId",
|
|
31356
31369
|
header: logIdHeader ? () => logIdHeader : "Log ID",
|
|
31357
31370
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col justify-center", children: [
|
|
31358
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31359
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31371
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: row.original.timestamp }),
|
|
31372
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: row.original.logId })
|
|
31360
31373
|
] }),
|
|
31361
31374
|
enableSorting: false,
|
|
31362
31375
|
meta: { width: LOG_COLUMN_WIDTHS.logId, alwaysShowHeader: true }
|
|
@@ -31408,8 +31421,8 @@ function LogsTableView({
|
|
|
31408
31421
|
cell: ({ row }) => {
|
|
31409
31422
|
const { deviceName, organization } = logSourceLabels(row.original.device);
|
|
31410
31423
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[60px] flex-col justify-center gap-1 py-2", children: [
|
|
31411
|
-
deviceName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31412
|
-
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31424
|
+
deviceName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: deviceName }),
|
|
31425
|
+
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: organization })
|
|
31413
31426
|
] });
|
|
31414
31427
|
},
|
|
31415
31428
|
enableSorting: false,
|
|
@@ -31423,7 +31436,7 @@ function LogsTableView({
|
|
|
31423
31436
|
{
|
|
31424
31437
|
accessorKey: "description",
|
|
31425
31438
|
header: "Log Details",
|
|
31426
|
-
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31439
|
+
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { lines: 3, className: "text-ods-text-secondary text-h6", children: row.original.description.title }),
|
|
31427
31440
|
enableSorting: false,
|
|
31428
31441
|
meta: { width: LOG_COLUMN_WIDTHS.description, hideAt: "lg" }
|
|
31429
31442
|
},
|
|
@@ -31683,8 +31696,8 @@ function ExecutionSourceBadge({ source, className }) {
|
|
|
31683
31696
|
}
|
|
31684
31697
|
function ExecutionTimestampCell({ timestamp, executionId }) {
|
|
31685
31698
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31686
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31687
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31699
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: timestamp }),
|
|
31700
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: executionId })
|
|
31688
31701
|
] });
|
|
31689
31702
|
}
|
|
31690
31703
|
function ExecutionStatusCell({ status }) {
|
|
@@ -31695,9 +31708,9 @@ function ExecutionDeviceCell({ name, organization }) {
|
|
|
31695
31708
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31696
31709
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-1", children: [
|
|
31697
31710
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPTK7GOIIcjs.MonitorIcon, { className: "size-6 shrink-0 text-ods-text-secondary" }),
|
|
31698
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31711
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: name }) : name })
|
|
31699
31712
|
] }),
|
|
31700
|
-
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31713
|
+
organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: organization })
|
|
31701
31714
|
] });
|
|
31702
31715
|
}
|
|
31703
31716
|
function ExecutionInitiatorCell({
|
|
@@ -31710,15 +31723,15 @@ function ExecutionInitiatorCell({
|
|
|
31710
31723
|
avatar,
|
|
31711
31724
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
31712
31725
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
31713
|
-
typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31726
|
+
typeof name === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: name }) : name,
|
|
31714
31727
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExecutionSourceBadge, { source })
|
|
31715
31728
|
] }),
|
|
31716
|
-
scriptName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31729
|
+
scriptName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: scriptName })
|
|
31717
31730
|
] })
|
|
31718
31731
|
] });
|
|
31719
31732
|
}
|
|
31720
31733
|
function ExecutionResultCell({ result, empty = null }) {
|
|
31721
|
-
return result ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31734
|
+
return result ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { lines: 2, children: result }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: empty });
|
|
31722
31735
|
}
|
|
31723
31736
|
function ScriptExecutionResult({
|
|
31724
31737
|
result,
|
|
@@ -31736,14 +31749,14 @@ function ScriptExecutionResult({
|
|
|
31736
31749
|
|
|
31737
31750
|
function ScriptNameCell({ name, description }) {
|
|
31738
31751
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31739
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31740
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31752
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: name }),
|
|
31753
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: description })
|
|
31741
31754
|
] });
|
|
31742
31755
|
}
|
|
31743
31756
|
function ScheduleDateTimeCell({ date, time }) {
|
|
31744
31757
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col justify-center gap-1", children: [
|
|
31745
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31746
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31758
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: date }),
|
|
31759
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: time })
|
|
31747
31760
|
] });
|
|
31748
31761
|
}
|
|
31749
31762
|
|
|
@@ -31942,7 +31955,7 @@ function ScriptSchedulesTable({
|
|
|
31942
31955
|
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" })),
|
|
31943
31956
|
cell(
|
|
31944
31957
|
SCHEDULE_COLUMNS.dateTime,
|
|
31945
|
-
(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,
|
|
31958
|
+
(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, _chunkMZLWB5AHcjs.TruncateText, { tone: "secondary", children: row.trigger }) : null
|
|
31946
31959
|
),
|
|
31947
31960
|
cell(SCHEDULE_COLUMNS.repeat, (row) => row.repeat ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: VALUE_CLASS, children: row.repeat }) : null),
|
|
31948
31961
|
cell(SCHEDULE_COLUMNS.deviceCount, (row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: VALUE_CLASS, children: row.deviceCount }))
|
|
@@ -32041,7 +32054,7 @@ function ScriptsTable({
|
|
|
32041
32054
|
initialsClassName: "text-ods-text-secondary"
|
|
32042
32055
|
}
|
|
32043
32056
|
),
|
|
32044
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32057
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: row.author.name }) })
|
|
32045
32058
|
] }) : null
|
|
32046
32059
|
)
|
|
32047
32060
|
];
|
|
@@ -32383,9 +32396,9 @@ function ReconnectWindowFields({
|
|
|
32383
32396
|
invalid
|
|
32384
32397
|
}
|
|
32385
32398
|
),
|
|
32386
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32387
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32388
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32399
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.Select, { value: unit, onValueChange: (next) => onUnitChange(next), disabled, children: [
|
|
32400
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { className: controlWidth, "aria-label": "Stop retry after unit", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, {}) }),
|
|
32401
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: DURATION_UNIT_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
32389
32402
|
] })
|
|
32390
32403
|
] });
|
|
32391
32404
|
}
|
|
@@ -32453,7 +32466,7 @@ function ScheduleOfflineFields({ showErrors, disabled = false }) {
|
|
|
32453
32466
|
options
|
|
32454
32467
|
}
|
|
32455
32468
|
),
|
|
32456
|
-
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,
|
|
32469
|
+
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, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", className: "text-ods-error", children: intervalError }) })
|
|
32457
32470
|
]
|
|
32458
32471
|
}
|
|
32459
32472
|
) }) })
|
|
@@ -33284,24 +33297,24 @@ function ScheduleTimingFields({
|
|
|
33284
33297
|
// `''` reads as "no selection" to Radix, so the placeholder shows
|
|
33285
33298
|
// until a slot is picked — a date at midnight no longer
|
|
33286
33299
|
// masquerades as a chosen 12:00 AM.
|
|
33287
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33300
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMZLWB5AHcjs.Select, { value: field.value, onValueChange: field.onChange, disabled: fieldsDisabled, children: [
|
|
33288
33301
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33289
|
-
|
|
33302
|
+
_chunkMZLWB5AHcjs.SelectTrigger,
|
|
33290
33303
|
{
|
|
33291
33304
|
className: "w-full",
|
|
33292
33305
|
error: _nullishCoalesce(pastTimeError, () => ( (showErrors ? _optionalChain([fieldState, 'access', _721 => _721.error, 'optionalAccess', _722 => _722.message]) : void 0))),
|
|
33293
33306
|
invalid: !!pastTimeError || showErrors && !!fieldState.error,
|
|
33294
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33307
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, { placeholder: "Select time" })
|
|
33295
33308
|
}
|
|
33296
33309
|
),
|
|
33297
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33310
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: timeSlots.length === 0 ? (
|
|
33298
33311
|
// Deliberately NOT a `SelectItem` — there is nothing here
|
|
33299
33312
|
// to select, and a selectable row would put a bogus value
|
|
33300
33313
|
// in the form. It replaces a popup that opened blank; the
|
|
33301
33314
|
// Date field carries the same sentence for whoever never
|
|
33302
33315
|
// opens this one.
|
|
33303
33316
|
/* @__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 })
|
|
33304
|
-
) : timeSlots.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33317
|
+
) : timeSlots.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33305
33318
|
] })
|
|
33306
33319
|
)
|
|
33307
33320
|
}
|
|
@@ -33315,14 +33328,14 @@ function ScheduleTimingFields({
|
|
|
33315
33328
|
name: "timeReference",
|
|
33316
33329
|
control,
|
|
33317
33330
|
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33318
|
-
|
|
33331
|
+
_chunkMZLWB5AHcjs.Select,
|
|
33319
33332
|
{
|
|
33320
33333
|
value: field.value,
|
|
33321
33334
|
onValueChange: (next) => handleTimeReferenceChange(field.onChange, next),
|
|
33322
33335
|
disabled: fieldsDisabled,
|
|
33323
33336
|
children: [
|
|
33324
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33337
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { className: "w-full", "aria-label": "Timezone", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, {}) }),
|
|
33338
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: SCHEDULE_TIME_REFERENCE_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33326
33339
|
]
|
|
33327
33340
|
}
|
|
33328
33341
|
)
|
|
@@ -33382,7 +33395,7 @@ function ScheduleTimingFields({
|
|
|
33382
33395
|
name: "repeatUnit",
|
|
33383
33396
|
control,
|
|
33384
33397
|
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33385
|
-
|
|
33398
|
+
_chunkMZLWB5AHcjs.Select,
|
|
33386
33399
|
{
|
|
33387
33400
|
value: field.value,
|
|
33388
33401
|
onValueChange: (next) => {
|
|
@@ -33393,8 +33406,8 @@ function ScheduleTimingFields({
|
|
|
33393
33406
|
},
|
|
33394
33407
|
disabled: fieldsDisabled || !repeatEnabled,
|
|
33395
33408
|
children: [
|
|
33396
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33397
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33409
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectTrigger, { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectValue, {}) }),
|
|
33410
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectContent, { children: DURATION_UNIT_OPTIONS.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
|
|
33398
33411
|
]
|
|
33399
33412
|
}
|
|
33400
33413
|
)
|
|
@@ -33483,7 +33496,7 @@ function ScheduleFormFields({
|
|
|
33483
33496
|
platform.id
|
|
33484
33497
|
);
|
|
33485
33498
|
}) }),
|
|
33486
|
-
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,
|
|
33499
|
+
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, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", className: "text-ods-error", children: _nullishCoalesce(formState.errors.supportedPlatforms.message, () => ( "")) }) })
|
|
33487
33500
|
]
|
|
33488
33501
|
}
|
|
33489
33502
|
);
|
|
@@ -33585,7 +33598,7 @@ function ScheduleScriptSearchField({
|
|
|
33585
33598
|
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: [
|
|
33586
33599
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFL2RMEDXcjs.Label, { className: "text-h4", children: "Select Script" }),
|
|
33587
33600
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33588
|
-
|
|
33601
|
+
_chunkMZLWB5AHcjs.Autocomplete,
|
|
33589
33602
|
{
|
|
33590
33603
|
options,
|
|
33591
33604
|
value: scriptId || null,
|
|
@@ -33600,7 +33613,7 @@ function ScheduleScriptSearchField({
|
|
|
33600
33613
|
error,
|
|
33601
33614
|
invalid,
|
|
33602
33615
|
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: [
|
|
33603
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33616
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { className: isSelected ? "text-ods-accent" : void 0, children: option.label }) }),
|
|
33604
33617
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScriptPlatformIcons, { platforms: _nullishCoalesce(_optionalChain([scripts, 'access', _728 => _728.find, 'call', _729 => _729((s) => s.id === option.value), 'optionalAccess', _730 => _730.supportedPlatforms]), () => ( [])) })
|
|
33605
33618
|
] })
|
|
33606
33619
|
}
|
|
@@ -33658,7 +33671,7 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
33658
33671
|
/* @__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" }) }),
|
|
33659
33672
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33660
33673
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33661
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33674
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: item.name }) }),
|
|
33662
33675
|
tagStatus && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33663
33676
|
_chunkHY6BCZH7cjs.Tag,
|
|
33664
33677
|
{
|
|
@@ -33668,7 +33681,7 @@ function getKnowledgeBaseColumns(mode) {
|
|
|
33668
33681
|
}
|
|
33669
33682
|
)
|
|
33670
33683
|
] }),
|
|
33671
|
-
item.type === "ARTICLE" && item.summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33684
|
+
item.type === "ARTICLE" && item.summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: item.summary })
|
|
33672
33685
|
] })
|
|
33673
33686
|
] });
|
|
33674
33687
|
},
|
|
@@ -33748,7 +33761,7 @@ function KnowledgeBaseArticleView({
|
|
|
33748
33761
|
className = "px-[var(--spacing-system-l)] pb-[var(--spacing-system-l)]"
|
|
33749
33762
|
}) {
|
|
33750
33763
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33751
|
-
|
|
33764
|
+
_chunkMZLWB5AHcjs.PageLayout,
|
|
33752
33765
|
{
|
|
33753
33766
|
title,
|
|
33754
33767
|
backButton: onBack ? { label: "Back", onClick: onBack } : void 0,
|
|
@@ -33771,12 +33784,12 @@ function KnowledgeBaseArticleView({
|
|
|
33771
33784
|
}
|
|
33772
33785
|
),
|
|
33773
33786
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
33774
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33787
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { className: author.deleted ? "text-ods-error" : void 0, children: _nullishCoalesce(author.name, () => ( "Unknown")) }),
|
|
33775
33788
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Author" })
|
|
33776
33789
|
] })
|
|
33777
33790
|
] }),
|
|
33778
33791
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 flex-col justify-center", children: [
|
|
33779
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33792
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { children: updatedLabel }),
|
|
33780
33793
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-heading-5 text-ods-text-secondary", children: "Updated" })
|
|
33781
33794
|
] }),
|
|
33782
33795
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -34052,7 +34065,7 @@ function Highlights({ items, className }) {
|
|
|
34052
34065
|
if (items.length === 0) return null;
|
|
34053
34066
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: _chunk65VVJSQZcjs.cn.call(void 0, "grid grid-cols-1 gap-2", className), children: items.slice(0, 3).map((text) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { className: "flex min-w-0 items-center gap-2.5", children: [
|
|
34054
34067
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: HIGHLIGHT_ICON_PX, className: "shrink-0 text-ods-flamingo-cyan" }),
|
|
34055
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34068
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", triggerClassName: "flex-1", children: text })
|
|
34056
34069
|
] }, text)) });
|
|
34057
34070
|
}
|
|
34058
34071
|
function Example({
|
|
@@ -34088,7 +34101,7 @@ function Example({
|
|
|
34088
34101
|
mark(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _741 => _741.mark]), () => ( requesterMark))),
|
|
34089
34102
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
34090
34103
|
who(_nullishCoalesce(_optionalChain([requester, 'optionalAccess', _742 => _742.name]), () => ( labels.requester)), _nullishCoalesce(_optionalChain([requester, 'optionalAccess', _743 => _743.note]), () => ( labels.requesterNote))),
|
|
34091
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34104
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { lines: 2, variant: "h4", className: "min-h-[2lh]", children: `\u201C${example.request}\u201D` })
|
|
34092
34105
|
] })
|
|
34093
34106
|
] }),
|
|
34094
34107
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 gap-2.5 border-t border-ods-border pt-3", children: [
|
|
@@ -34097,7 +34110,7 @@ function Example({
|
|
|
34097
34110
|
who(_nullishCoalesce(_optionalChain([responder, 'optionalAccess', _745 => _745.name]), () => ( labels.responder)), _nullishCoalesce(_optionalChain([responder, 'optionalAccess', _746 => _746.note]), () => ( labels.responderNote))),
|
|
34098
34111
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-start gap-2", children: [
|
|
34099
34112
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, { size: 16, className: "mt-0.5 shrink-0 text-ods-flamingo-cyan" }),
|
|
34100
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34113
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { lines: 2, variant: "h6", tone: "secondary", className: "min-h-[2lh]", triggerClassName: "flex-1", children: example.outcome })
|
|
34101
34114
|
] })
|
|
34102
34115
|
] })
|
|
34103
34116
|
] })
|
|
@@ -34249,13 +34262,13 @@ function CapabilityExplorer({
|
|
|
34249
34262
|
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk65VVJSQZcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, "text-ods-flamingo-cyan"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4EJU462Ocjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
34250
34263
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
34251
34264
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
34252
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34265
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
34253
34266
|
item.badge
|
|
34254
34267
|
] }),
|
|
34255
|
-
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34268
|
+
item.caption && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { variant: "h6", tone: "secondary", children: item.caption })
|
|
34256
34269
|
] })
|
|
34257
34270
|
] }),
|
|
34258
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34271
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { lines: 3, variant: "h6", tone: "secondary", className: "min-h-[3lh]", children: item.intro }),
|
|
34259
34272
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-lg border border-ods-border", children: renderScreen(item, { compact: true }) }),
|
|
34260
34273
|
item.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34261
34274
|
Example,
|
|
@@ -34380,8 +34393,8 @@ function CapabilityExplorer({
|
|
|
34380
34393
|
),
|
|
34381
34394
|
children: [
|
|
34382
34395
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col overflow-hidden", children: [
|
|
34383
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34384
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34396
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { lines: 2, variant: "h2", className: "mb-2", children: active.title }),
|
|
34397
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMZLWB5AHcjs.TruncateText, { lines: 3, variant: "h4", tone: "secondary", className: "min-h-[3lh]", children: active.intro }),
|
|
34385
34398
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Highlights, { items: _nullishCoalesce(active.highlights, () => ( [])), className: "mt-auto" })
|
|
34386
34399
|
] }),
|
|
34387
34400
|
active.example && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|