@flamingo-stack/openframe-frontend-core 0.0.630 → 0.0.631-2177.6201.1
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-T2EURL77.cjs → chunk-3IB3IIS7.cjs} +42 -42
- package/dist/{chunk-T2EURL77.cjs.map → chunk-3IB3IIS7.cjs.map} +1 -1
- package/dist/{chunk-S6WBBSII.js → chunk-4HSOEKGB.js} +3 -3
- package/dist/{chunk-3XL5OEOP.js → chunk-4MGH6QCV.js} +2 -2
- package/dist/{chunk-I7XWPQ75.cjs → chunk-54L6IP5T.cjs} +366 -366
- package/dist/{chunk-I7XWPQ75.cjs.map → chunk-54L6IP5T.cjs.map} +1 -1
- package/dist/{chunk-SPERLWTK.js → chunk-56UDUR6B.js} +5 -5
- package/dist/{chunk-6JXTEMD7.cjs → chunk-5MRGKLFP.cjs} +10 -10
- package/dist/{chunk-6JXTEMD7.cjs.map → chunk-5MRGKLFP.cjs.map} +1 -1
- package/dist/{chunk-5LIDR7HL.js → chunk-64VD26OA.js} +2 -2
- package/dist/{chunk-NLA2EC2F.cjs → chunk-72JIQN74.cjs} +19 -19
- package/dist/{chunk-NLA2EC2F.cjs.map → chunk-72JIQN74.cjs.map} +1 -1
- package/dist/{chunk-IJJZIJNB.cjs → chunk-7RZSF7DC.cjs} +5 -5
- package/dist/{chunk-IJJZIJNB.cjs.map → chunk-7RZSF7DC.cjs.map} +1 -1
- package/dist/{chunk-JVGTKFK6.js → chunk-A6GVZXAQ.js} +4 -4
- package/dist/{chunk-ZJZVPYWG.js → chunk-AAMJY4CN.js} +6 -6
- package/dist/{chunk-7OBVB4NA.js → chunk-ACFG3VPO.js} +3 -3
- package/dist/{chunk-XSXKXUC6.cjs → chunk-AYQOJAST.cjs} +22 -22
- package/dist/{chunk-XSXKXUC6.cjs.map → chunk-AYQOJAST.cjs.map} +1 -1
- package/dist/{chunk-NJEGB5LF.js → chunk-CTQMSHZ7.js} +3 -3
- package/dist/{chunk-35RGVTMO.cjs → chunk-CXVIGYJ4.cjs} +5 -5
- package/dist/{chunk-35RGVTMO.cjs.map → chunk-CXVIGYJ4.cjs.map} +1 -1
- package/dist/{chunk-XTPYUKVY.js → chunk-G5MEU3IE.js} +7 -7
- package/dist/{chunk-QAHDOT4A.js → chunk-GXG3CPNH.js} +5 -5
- package/dist/{chunk-GSQM4PDR.cjs → chunk-H7PSOPWM.cjs} +42 -2
- package/dist/{chunk-GSQM4PDR.cjs.map → chunk-H7PSOPWM.cjs.map} +1 -1
- package/dist/{chunk-RECNGZQR.js → chunk-HJ52VKFQ.js} +8 -8
- package/dist/{chunk-ON7663OW.js → chunk-HNLU3A7B.js} +3 -3
- package/dist/{chunk-RT2I62SA.js → chunk-IAFV33NI.js} +4 -4
- package/dist/{chunk-5WUXQJPZ.cjs → chunk-JIVCFYVY.cjs} +49 -49
- package/dist/{chunk-5WUXQJPZ.cjs.map → chunk-JIVCFYVY.cjs.map} +1 -1
- package/dist/{chunk-KP2XOOVS.cjs → chunk-KFXZXO2U.cjs} +3 -3
- package/dist/{chunk-KP2XOOVS.cjs.map → chunk-KFXZXO2U.cjs.map} +1 -1
- package/dist/{chunk-JJUV7Z4L.cjs → chunk-LJG7HOZU.cjs} +15 -15
- package/dist/{chunk-JJUV7Z4L.cjs.map → chunk-LJG7HOZU.cjs.map} +1 -1
- package/dist/{chunk-K2TMNVZ5.js → chunk-LRZZ2YFD.js} +2 -2
- package/dist/{chunk-OKAFXLZL.js → chunk-OLJ5BGLY.js} +6 -6
- package/dist/{chunk-C7KCLYDP.cjs → chunk-PIDPKS7X.cjs} +24 -24
- package/dist/{chunk-C7KCLYDP.cjs.map → chunk-PIDPKS7X.cjs.map} +1 -1
- package/dist/{chunk-3VBFO7CA.cjs → chunk-QYSNY7D5.cjs} +25 -25
- package/dist/{chunk-3VBFO7CA.cjs.map → chunk-QYSNY7D5.cjs.map} +1 -1
- package/dist/{chunk-GK67JRSQ.cjs → chunk-RSYTC2MO.cjs} +11 -11
- package/dist/{chunk-GK67JRSQ.cjs.map → chunk-RSYTC2MO.cjs.map} +1 -1
- package/dist/{chunk-DS5PA33B.js → chunk-U56DTKNW.js} +6 -6
- package/dist/{chunk-F5DZDBNU.cjs → chunk-U6TXCA3B.cjs} +80 -80
- package/dist/{chunk-F5DZDBNU.cjs.map → chunk-U6TXCA3B.cjs.map} +1 -1
- package/dist/{chunk-KEJGUDKB.cjs → chunk-UA6JWJRU.cjs} +13 -13
- package/dist/{chunk-KEJGUDKB.cjs.map → chunk-UA6JWJRU.cjs.map} +1 -1
- package/dist/{chunk-26J76HRN.js → chunk-VFEAOEJ4.js} +7 -7
- package/dist/{chunk-YXWGSDK4.cjs → chunk-WJ3NCHI6.cjs} +6 -6
- package/dist/{chunk-YXWGSDK4.cjs.map → chunk-WJ3NCHI6.cjs.map} +1 -1
- package/dist/{chunk-UNI3POHU.cjs → chunk-WNRXPOOH.cjs} +207 -207
- package/dist/{chunk-UNI3POHU.cjs.map → chunk-WNRXPOOH.cjs.map} +1 -1
- package/dist/{chunk-KN5OVAWR.cjs → chunk-XCVAYRD7.cjs} +50 -50
- package/dist/{chunk-KN5OVAWR.cjs.map → chunk-XCVAYRD7.cjs.map} +1 -1
- package/dist/{chunk-KTCBXJKX.js → chunk-XHJGZZYT.js} +4 -4
- package/dist/{chunk-IMDG23LW.js → chunk-ZGOERF2S.js} +3981 -3941
- package/dist/chunk-ZGOERF2S.js.map +1 -0
- package/dist/components/case-studies/index.cjs +12 -12
- package/dist/components/case-studies/index.js +6 -6
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/chat/index.js +3 -3
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/contact/index.js +6 -6
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/docs/index.js +9 -9
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/embeds/index.js +6 -6
- package/dist/components/faq/index.cjs +7 -7
- package/dist/components/faq/index.js +6 -6
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/features/index.js +5 -5
- package/dist/components/help-center-pages/index.cjs +26 -26
- package/dist/components/help-center-pages/index.js +17 -17
- package/dist/components/icons-v2-generated/devices/index.d.ts +1 -0
- package/dist/components/icons-v2-generated/devices/index.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/devices/monitor-shield-icon.d.ts +8 -0
- package/dist/components/icons-v2-generated/devices/monitor-shield-icon.d.ts.map +1 -0
- package/dist/components/icons-v2-generated/index.cjs +4 -2
- package/dist/components/icons-v2-generated/index.cjs.map +1 -1
- package/dist/components/icons-v2-generated/index.js +3 -1
- package/dist/components/index.cjs +45 -45
- package/dist/components/index.js +16 -16
- package/dist/components/meeting-scheduler/index.cjs +29 -29
- package/dist/components/meeting-scheduler/index.js +5 -5
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/navigation/index.js +8 -8
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.js +8 -8
- package/dist/components/tickets/index.cjs +10 -10
- package/dist/components/tickets/index.js +9 -9
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/index.js +5 -5
- package/dist/hooks/index.cjs +4 -4
- package/dist/hooks/index.js +3 -3
- package/dist/index.cjs +11 -11
- package/dist/index.js +9 -9
- package/package.json +1 -1
- package/src/components/icons-v2/devices/monitor-shield.svg +5 -0
- package/src/components/icons-v2-generated/devices/index.ts +1 -0
- package/src/components/icons-v2-generated/devices/monitor-shield-icon.tsx +34 -0
- package/dist/chunk-IMDG23LW.js.map +0 -1
- /package/dist/{chunk-S6WBBSII.js.map → chunk-4HSOEKGB.js.map} +0 -0
- /package/dist/{chunk-3XL5OEOP.js.map → chunk-4MGH6QCV.js.map} +0 -0
- /package/dist/{chunk-SPERLWTK.js.map → chunk-56UDUR6B.js.map} +0 -0
- /package/dist/{chunk-5LIDR7HL.js.map → chunk-64VD26OA.js.map} +0 -0
- /package/dist/{chunk-JVGTKFK6.js.map → chunk-A6GVZXAQ.js.map} +0 -0
- /package/dist/{chunk-ZJZVPYWG.js.map → chunk-AAMJY4CN.js.map} +0 -0
- /package/dist/{chunk-7OBVB4NA.js.map → chunk-ACFG3VPO.js.map} +0 -0
- /package/dist/{chunk-NJEGB5LF.js.map → chunk-CTQMSHZ7.js.map} +0 -0
- /package/dist/{chunk-XTPYUKVY.js.map → chunk-G5MEU3IE.js.map} +0 -0
- /package/dist/{chunk-QAHDOT4A.js.map → chunk-GXG3CPNH.js.map} +0 -0
- /package/dist/{chunk-RECNGZQR.js.map → chunk-HJ52VKFQ.js.map} +0 -0
- /package/dist/{chunk-ON7663OW.js.map → chunk-HNLU3A7B.js.map} +0 -0
- /package/dist/{chunk-RT2I62SA.js.map → chunk-IAFV33NI.js.map} +0 -0
- /package/dist/{chunk-K2TMNVZ5.js.map → chunk-LRZZ2YFD.js.map} +0 -0
- /package/dist/{chunk-OKAFXLZL.js.map → chunk-OLJ5BGLY.js.map} +0 -0
- /package/dist/{chunk-DS5PA33B.js.map → chunk-U56DTKNW.js.map} +0 -0
- /package/dist/{chunk-26J76HRN.js.map → chunk-VFEAOEJ4.js.map} +0 -0
- /package/dist/{chunk-KTCBXJKX.js.map → chunk-XHJGZZYT.js.map} +0 -0
|
@@ -22,7 +22,7 @@ var _chunkTON3YCCWcjs = require('./chunk-TON3YCCW.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkLJG7HOZUcjs = require('./chunk-LJG7HOZU.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkYB6RCW77cjs = require('./chunk-YB6RCW77.cjs');
|
|
@@ -91,7 +91,7 @@ var _chunkN6HNK25Acjs = require('./chunk-N6HNK25A.cjs');
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
var
|
|
94
|
+
var _chunkWNRXPOOHcjs = require('./chunk-WNRXPOOH.cjs');
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
@@ -108,7 +108,7 @@ var _chunkUNI3POHUcjs = require('./chunk-UNI3POHU.cjs');
|
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
|
|
111
|
-
var
|
|
111
|
+
var _chunkWJ3NCHI6cjs = require('./chunk-WJ3NCHI6.cjs');
|
|
112
112
|
|
|
113
113
|
|
|
114
114
|
|
|
@@ -215,7 +215,7 @@ var _chunkKOQCA5X5cjs = require('./chunk-KOQCA5X5.cjs');
|
|
|
215
215
|
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
var
|
|
218
|
+
var _chunkH7PSOPWMcjs = require('./chunk-H7PSOPWM.cjs');
|
|
219
219
|
|
|
220
220
|
|
|
221
221
|
|
|
@@ -346,7 +346,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
346
346
|
var useTheme = _nextthemes.useTheme;
|
|
347
347
|
function useThemeToggle() {
|
|
348
348
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
349
|
-
const mounted =
|
|
349
|
+
const mounted = _chunkWNRXPOOHcjs.useIsHydrated.call(void 0, );
|
|
350
350
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
351
351
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
352
352
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -574,7 +574,7 @@ var HiddenTagsPopup = _react.forwardRef.call(void 0, function HiddenTagsPopupImp
|
|
|
574
574
|
},
|
|
575
575
|
className: "shrink-0 text-ods-text-secondary transition-colors hover:text-ods-text-primary",
|
|
576
576
|
"aria-label": `Remove ${String(item.label)}`,
|
|
577
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
577
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkCircleIcon, { size: 20 })
|
|
578
578
|
}
|
|
579
579
|
)
|
|
580
580
|
]
|
|
@@ -620,10 +620,10 @@ function TruncateText({
|
|
|
620
620
|
as = "div"
|
|
621
621
|
}) {
|
|
622
622
|
const isMultiLine = lines > 1;
|
|
623
|
-
const { ref, isTruncated } =
|
|
623
|
+
const { ref, isTruncated } = _chunkWJ3NCHI6cjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
624
624
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
625
625
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
-
|
|
626
|
+
_chunkWNRXPOOHcjs.FloatingTooltip,
|
|
627
627
|
{
|
|
628
628
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
629
629
|
side,
|
|
@@ -708,7 +708,7 @@ function AutocompleteInner(props, ref) {
|
|
|
708
708
|
};
|
|
709
709
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
710
710
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
711
|
-
const keyboardPadding =
|
|
711
|
+
const keyboardPadding = _chunkLJG7HOZUcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
712
712
|
const containerRef = _react.useRef.call(void 0, null);
|
|
713
713
|
const hiddenTagsPopupRef = _react.useRef.call(void 0, null);
|
|
714
714
|
const isInvalid = invalid || !!error;
|
|
@@ -726,7 +726,7 @@ function AutocompleteInner(props, ref) {
|
|
|
726
726
|
textMeasureRef,
|
|
727
727
|
badgeRef,
|
|
728
728
|
inputRef
|
|
729
|
-
} =
|
|
729
|
+
} = _chunkLJG7HOZUcjs.useAutoLimitTags.call(void 0, {
|
|
730
730
|
count: multiple ? selectedOptions.length : 0,
|
|
731
731
|
limitTags: multiple ? limitTagsProp : 0,
|
|
732
732
|
placeholder: inputPlaceholder
|
|
@@ -930,7 +930,7 @@ function AutocompleteInner(props, ref) {
|
|
|
930
930
|
),
|
|
931
931
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2", children: [
|
|
932
932
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
933
|
-
|
|
933
|
+
_chunkWNRXPOOHcjs.Tag,
|
|
934
934
|
{
|
|
935
935
|
variant: "outline",
|
|
936
936
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -985,7 +985,7 @@ function AutocompleteInner(props, ref) {
|
|
|
985
985
|
onClick: handleClearAll,
|
|
986
986
|
className: "flex items-center justify-center transition-opacity hover:opacity-70",
|
|
987
987
|
"aria-label": "Clear all",
|
|
988
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
988
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkCircleIcon, { className: "size-4 text-ods-text-secondary md:size-6" })
|
|
989
989
|
}
|
|
990
990
|
),
|
|
991
991
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -997,7 +997,7 @@ function AutocompleteInner(props, ref) {
|
|
|
997
997
|
)
|
|
998
998
|
}
|
|
999
999
|
) : showChevron && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1000
|
-
|
|
1000
|
+
_chunkH7PSOPWMcjs.Chevron02DownIcon,
|
|
1001
1001
|
{
|
|
1002
1002
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
1003
1003
|
"size-4 transition-all duration-200 md:size-6",
|
|
@@ -1085,7 +1085,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1085
1085
|
] })
|
|
1086
1086
|
] }),
|
|
1087
1087
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
1088
|
-
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1088
|
+
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckIcon, { className: "text-ods-accent", size: 20 }),
|
|
1089
1089
|
onDeleteOption && !isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1090
1090
|
"button",
|
|
1091
1091
|
{
|
|
@@ -1097,7 +1097,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1097
1097
|
},
|
|
1098
1098
|
disabled: isDeletingOption,
|
|
1099
1099
|
className: "opacity-0 transition-opacity focus-visible:opacity-100 disabled:pointer-events-none disabled:opacity-50 group-hover/item:opacity-100",
|
|
1100
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1100
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.TrashIcon, { className: "size-4 text-ods-error" })
|
|
1101
1101
|
}
|
|
1102
1102
|
)
|
|
1103
1103
|
] })
|
|
@@ -1144,7 +1144,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1144
1144
|
"aria-hidden": "true",
|
|
1145
1145
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
1146
1146
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1147
|
-
|
|
1147
|
+
_chunkWNRXPOOHcjs.Tag,
|
|
1148
1148
|
{
|
|
1149
1149
|
variant: "outline",
|
|
1150
1150
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1370,7 +1370,7 @@ var SelectTrigger = _react.forwardRef.call(void 0, ({ className, children, inval
|
|
|
1370
1370
|
children: [
|
|
1371
1371
|
children,
|
|
1372
1372
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1373
|
-
|
|
1373
|
+
_chunkH7PSOPWMcjs.Chevron02DownIcon,
|
|
1374
1374
|
{
|
|
1375
1375
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
1376
1376
|
"shrink-0 text-ods-text-secondary transition-all duration-200 group-data-[state=open]:rotate-180",
|
|
@@ -1448,7 +1448,7 @@ var SelectItem = _react.forwardRef.call(void 0, ({ className, children, ...props
|
|
|
1448
1448
|
...props,
|
|
1449
1449
|
children: [
|
|
1450
1450
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemText, { children }),
|
|
1451
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1451
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckIcon, { className: "text-ods-accent", size: 20 }) })
|
|
1452
1452
|
]
|
|
1453
1453
|
}
|
|
1454
1454
|
));
|
|
@@ -1500,7 +1500,7 @@ function DatePickerCalendar({
|
|
|
1500
1500
|
onMonthChange
|
|
1501
1501
|
}) {
|
|
1502
1502
|
const today = /* @__PURE__ */ new Date();
|
|
1503
|
-
const isMdUp = _nullishCoalesce(
|
|
1503
|
+
const isMdUp = _nullishCoalesce(_chunkWJ3NCHI6cjs.useMdUp.call(void 0, ), () => ( true));
|
|
1504
1504
|
const monthsToShow = isMdUp ? numberOfMonths : 1;
|
|
1505
1505
|
const [draftRange, setDraftRange] = _react.useState.call(void 0,
|
|
1506
1506
|
mode === "range" ? selected : void 0
|
|
@@ -2534,7 +2534,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
2534
2534
|
const describedById = _react.useId.call(void 0, );
|
|
2535
2535
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
2536
2536
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2537
|
-
|
|
2537
|
+
_chunkWNRXPOOHcjs.FloatingTooltip,
|
|
2538
2538
|
{
|
|
2539
2539
|
content: children,
|
|
2540
2540
|
side,
|
|
@@ -2628,7 +2628,7 @@ function Value2({ value, depth }) {
|
|
|
2628
2628
|
}
|
|
2629
2629
|
if (typeof value === "string") {
|
|
2630
2630
|
if (ISO_DATE.test(value)) {
|
|
2631
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2631
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkWNRXPOOHcjs.formatRelativeTime.call(void 0, value) });
|
|
2632
2632
|
}
|
|
2633
2633
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2634
2634
|
}
|
|
@@ -2694,7 +2694,7 @@ var ProgressBar = ({
|
|
|
2694
2694
|
mobileHeight = 8,
|
|
2695
2695
|
inverted = false
|
|
2696
2696
|
}) => {
|
|
2697
|
-
const isMdUp = _nullishCoalesce(
|
|
2697
|
+
const isMdUp = _nullishCoalesce(_chunkWJ3NCHI6cjs.useMdUp.call(void 0, ), () => ( true));
|
|
2698
2698
|
const effectiveSegmentWidth = isMdUp ? segmentWidth : mobileSegmentWidth;
|
|
2699
2699
|
const effectiveHeight = isMdUp ? height : mobileHeight;
|
|
2700
2700
|
const containerRef = _react.useRef.call(void 0, null);
|
|
@@ -2810,7 +2810,7 @@ function InfoCardFooter({ footer }) {
|
|
|
2810
2810
|
] });
|
|
2811
2811
|
}
|
|
2812
2812
|
function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLabel }) {
|
|
2813
|
-
const { copy, copied } =
|
|
2813
|
+
const { copy, copied } = _chunkLJG7HOZUcjs.useCopyToClipboard.call(void 0, );
|
|
2814
2814
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 w-full items-center gap-[var(--spacing-system-xs)] self-stretch", children: [
|
|
2815
2815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-primary text-h4", children: showLabel ? label : "" }),
|
|
2816
2816
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-px flex-1 bg-ods-divider" }),
|
|
@@ -2827,7 +2827,7 @@ function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLab
|
|
|
2827
2827
|
copied ? "text-ods-success" : "text-ods-text-secondary hover:text-ods-text-primary"
|
|
2828
2828
|
),
|
|
2829
2829
|
"aria-label": copyAriaLabel,
|
|
2830
|
-
children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2830
|
+
children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckIcon, { size: 16 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Copy01Icon, { size: 16 })
|
|
2831
2831
|
}
|
|
2832
2832
|
)
|
|
2833
2833
|
] })
|
|
@@ -2873,7 +2873,7 @@ function DeletedUserAvatar({ size = "md", className, accessibleLabel }) {
|
|
|
2873
2873
|
SIZE_CLASSES[size],
|
|
2874
2874
|
className
|
|
2875
2875
|
),
|
|
2876
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2876
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.UserXmarkIcon, { className: _chunk23V5BSHDcjs.cn.call(void 0, "text-ods-error", ICON_CLASSES[size]) })
|
|
2877
2877
|
}
|
|
2878
2878
|
);
|
|
2879
2879
|
}
|
|
@@ -2900,7 +2900,7 @@ function SearchableSelect({
|
|
|
2900
2900
|
}) {
|
|
2901
2901
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
2902
2902
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
2903
|
-
const keyboardPadding =
|
|
2903
|
+
const keyboardPadding = _chunkLJG7HOZUcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
2904
2904
|
if (!isOpen && search !== "") setSearch("");
|
|
2905
2905
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
2906
2906
|
const q = search.trim().toLowerCase();
|
|
@@ -2934,7 +2934,7 @@ function SearchableSelect({
|
|
|
2934
2934
|
children: [
|
|
2935
2935
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-1", children: selectedOption ? selectedOption.label : placeholder }),
|
|
2936
2936
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2937
|
-
|
|
2937
|
+
_chunkH7PSOPWMcjs.Chevron02DownIcon,
|
|
2938
2938
|
{
|
|
2939
2939
|
className: "shrink-0 text-ods-text-secondary transition-all duration-200 group-data-[state=open]:rotate-180 group-data-[state=open]:text-ods-accent",
|
|
2940
2940
|
size: 24
|
|
@@ -2989,7 +2989,7 @@ function SearchableSelect({
|
|
|
2989
2989
|
children: renderOption ? renderOption(opt, isSelected) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
2990
2990
|
opt.icon,
|
|
2991
2991
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-1 truncate text-ods-text-primary text-h4", title: opt.label, children: opt.label }),
|
|
2992
|
-
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2992
|
+
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckIcon, { className: "size-4 shrink-0 text-ods-accent" })
|
|
2993
2993
|
] })
|
|
2994
2994
|
},
|
|
2995
2995
|
opt.value
|
|
@@ -3080,7 +3080,7 @@ function CompactAssigneeDropdown({
|
|
|
3080
3080
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
3081
3081
|
className
|
|
3082
3082
|
),
|
|
3083
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3083
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.UserPlusIcon, { className: "size-4" })
|
|
3084
3084
|
}
|
|
3085
3085
|
);
|
|
3086
3086
|
if (onTriggerClick) return trigger;
|
|
@@ -3150,7 +3150,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3150
3150
|
variant: "round",
|
|
3151
3151
|
className: "h-6 w-6"
|
|
3152
3152
|
}
|
|
3153
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3153
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.UserIcon, { className: "size-5 text-ods-text-secondary" }),
|
|
3154
3154
|
renderOption
|
|
3155
3155
|
}
|
|
3156
3156
|
),
|
|
@@ -3184,7 +3184,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3184
3184
|
onClick: () => setIsEditing(true),
|
|
3185
3185
|
className: "group flex cursor-pointer items-center gap-[var(--spacing-system-xxs)] text-left",
|
|
3186
3186
|
children: [
|
|
3187
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3187
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PenEditIcon, { className: "size-4 shrink-0 text-ods-text-secondary transition-colors group-hover:text-ods-accent" }),
|
|
3188
3188
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3189
3189
|
"span",
|
|
3190
3190
|
{
|
|
@@ -3211,7 +3211,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3211
3211
|
onClick: () => setIsEditing(true),
|
|
3212
3212
|
className: "flex cursor-pointer items-center gap-[var(--spacing-system-xxs)] truncate text-left text-ods-accent underline transition-opacity text-h4 hover:opacity-80",
|
|
3213
3213
|
children: [
|
|
3214
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3214
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.UserIcon, { className: "size-4 shrink-0" }),
|
|
3215
3215
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Assign User" })
|
|
3216
3216
|
]
|
|
3217
3217
|
}
|
|
@@ -3260,7 +3260,7 @@ function RowValue({ value }) {
|
|
|
3260
3260
|
}
|
|
3261
3261
|
case "status": {
|
|
3262
3262
|
const { type: _type, ...props } = value;
|
|
3263
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3263
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TicketStatusTag, { ...props });
|
|
3264
3264
|
}
|
|
3265
3265
|
case "custom":
|
|
3266
3266
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -3776,7 +3776,7 @@ function TagSelectDropdown({
|
|
|
3776
3776
|
}) {
|
|
3777
3777
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
3778
3778
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
3779
|
-
const keyboardPadding =
|
|
3779
|
+
const keyboardPadding = _chunkLJG7HOZUcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
3780
3780
|
if (!isOpen && search !== "") setSearch("");
|
|
3781
3781
|
const query = search.trim();
|
|
3782
3782
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
@@ -3807,7 +3807,7 @@ function TagSelectDropdown({
|
|
|
3807
3807
|
type: "button",
|
|
3808
3808
|
variant: "outline",
|
|
3809
3809
|
size: "small",
|
|
3810
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3810
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PlusIcon, {}),
|
|
3811
3811
|
disabled,
|
|
3812
3812
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "w-fit focus-visible:ring-0", className),
|
|
3813
3813
|
children: triggerLabel
|
|
@@ -3876,7 +3876,7 @@ function TagSelectDropdown({
|
|
|
3876
3876
|
children: opt.label
|
|
3877
3877
|
}
|
|
3878
3878
|
),
|
|
3879
|
-
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3879
|
+
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckIcon, { className: "size-4 shrink-0 text-ods-accent" }),
|
|
3880
3880
|
onDelete && !isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3881
3881
|
"button",
|
|
3882
3882
|
{
|
|
@@ -3891,7 +3891,7 @@ function TagSelectDropdown({
|
|
|
3891
3891
|
"shrink-0 opacity-0 transition-opacity focus-visible:opacity-100 group-hover/item:opacity-100",
|
|
3892
3892
|
"disabled:pointer-events-none disabled:opacity-50"
|
|
3893
3893
|
),
|
|
3894
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3894
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.TrashIcon, { className: "size-4 text-ods-error" })
|
|
3895
3895
|
}
|
|
3896
3896
|
)
|
|
3897
3897
|
]
|
|
@@ -3914,7 +3914,7 @@ function TagSelectDropdown({
|
|
|
3914
3914
|
"transition-colors hover:bg-ods-bg-hover disabled:pointer-events-none disabled:opacity-50"
|
|
3915
3915
|
),
|
|
3916
3916
|
children: [
|
|
3917
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PlusIcon, { className: "size-4 shrink-0 text-ods-accent" }),
|
|
3918
3918
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex-1 truncate text-ods-accent text-h4", title: `Create "${query}"`, children: [
|
|
3919
3919
|
"Create \u201C",
|
|
3920
3920
|
query,
|
|
@@ -4068,7 +4068,7 @@ function TagsManager({
|
|
|
4068
4068
|
}) {
|
|
4069
4069
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
4070
4070
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
4071
|
-
const keyboardPadding =
|
|
4071
|
+
const keyboardPadding = _chunkLJG7HOZUcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
4072
4072
|
const [editingId, setEditingId] = _react.useState.call(void 0, null);
|
|
4073
4073
|
const [editingName, setEditingName] = _react.useState.call(void 0, "");
|
|
4074
4074
|
const editInputRef = _react.useRef.call(void 0, null);
|
|
@@ -4171,7 +4171,7 @@ function TagsManager({
|
|
|
4171
4171
|
}
|
|
4172
4172
|
),
|
|
4173
4173
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4174
|
-
|
|
4174
|
+
_chunkWNRXPOOHcjs.Tag,
|
|
4175
4175
|
{
|
|
4176
4176
|
label: tag.name,
|
|
4177
4177
|
variant: "outline",
|
|
@@ -4217,7 +4217,7 @@ function TagsManager({
|
|
|
4217
4217
|
onClick: handleClearAll,
|
|
4218
4218
|
className: "flex flex-shrink-0 items-center justify-center transition-opacity hover:opacity-70 [&_svg]:size-4 md:[&_svg]:size-6",
|
|
4219
4219
|
"aria-label": "Clear all tags",
|
|
4220
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4220
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkCircleIcon, { className: "text-ods-text-secondary" })
|
|
4221
4221
|
}
|
|
4222
4222
|
)
|
|
4223
4223
|
]
|
|
@@ -4279,10 +4279,10 @@ function TagsManager({
|
|
|
4279
4279
|
size: "icon",
|
|
4280
4280
|
onClick: confirmEdit,
|
|
4281
4281
|
disabled: isUpdating,
|
|
4282
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4282
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckIcon, { size: 14, className: "text-ods-success" })
|
|
4283
4283
|
}
|
|
4284
4284
|
),
|
|
4285
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "transparent", size: "icon", onClick: cancelEdit, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4285
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "transparent", size: "icon", onClick: cancelEdit, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkIcon, { size: 14, className: "text-ods-text-secondary" }) })
|
|
4286
4286
|
]
|
|
4287
4287
|
},
|
|
4288
4288
|
tag.id
|
|
@@ -4310,7 +4310,7 @@ function TagsManager({
|
|
|
4310
4310
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between", children: [
|
|
4311
4311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: tag.name, children: tag.name }),
|
|
4312
4312
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-1", children: [
|
|
4313
|
-
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4313
|
+
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckIcon, { className: "text-ods-accent", size: 20 }),
|
|
4314
4314
|
(onUpdateTag || onDeleteTag) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-0.5 opacity-0 transition-opacity group-hover/item:opacity-100", children: [
|
|
4315
4315
|
onUpdateTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4316
4316
|
_chunkWRJVEB2Jcjs.Button,
|
|
@@ -4322,7 +4322,7 @@ function TagsManager({
|
|
|
4322
4322
|
e.stopPropagation();
|
|
4323
4323
|
startEdit(tag.id, tag.name);
|
|
4324
4324
|
},
|
|
4325
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4325
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PencilIcon, { size: 14, className: "text-ods-text-secondary" })
|
|
4326
4326
|
}
|
|
4327
4327
|
),
|
|
4328
4328
|
onDeleteTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4336,7 +4336,7 @@ function TagsManager({
|
|
|
4336
4336
|
void handleDelete(tag.id);
|
|
4337
4337
|
},
|
|
4338
4338
|
disabled: isDeleting,
|
|
4339
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4339
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.TrashIcon, { size: 14, className: "text-ods-error" })
|
|
4340
4340
|
}
|
|
4341
4341
|
)
|
|
4342
4342
|
] })
|
|
@@ -4365,7 +4365,7 @@ function TagsManager({
|
|
|
4365
4365
|
}
|
|
4366
4366
|
},
|
|
4367
4367
|
children: [
|
|
4368
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4368
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PlusIcon, { size: 16, className: "shrink-0 text-ods-accent" }),
|
|
4369
4369
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-accent", title: `Create "${search.trim()}"`, children: [
|
|
4370
4370
|
"Create \u201C",
|
|
4371
4371
|
search.trim(),
|
|
@@ -4716,10 +4716,10 @@ function useConfirm() {
|
|
|
4716
4716
|
},
|
|
4717
4717
|
[]
|
|
4718
4718
|
);
|
|
4719
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4720
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4721
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4722
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4719
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4720
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalTitle, { children: pending.title }) }),
|
|
4721
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4722
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.ModalFooter, { children: [
|
|
4723
4723
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4724
4724
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4725
4725
|
] })
|
|
@@ -4782,9 +4782,9 @@ function AdminFormModal({
|
|
|
4782
4782
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4783
4783
|
});
|
|
4784
4784
|
if (!isOpen) return null;
|
|
4785
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4786
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4787
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4785
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4786
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.ModalHeader, { children: [
|
|
4787
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalTitle, { children: title }),
|
|
4788
4788
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4789
4789
|
] }),
|
|
4790
4790
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4809,7 +4809,7 @@ function AdminFormModal({
|
|
|
4809
4809
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4810
4810
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4811
4811
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4812
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4812
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4813
4813
|
"div",
|
|
4814
4814
|
{
|
|
4815
4815
|
"aria-busy": "true",
|
|
@@ -4830,12 +4830,12 @@ function AdminFormModal({
|
|
|
4830
4830
|
]
|
|
4831
4831
|
}
|
|
4832
4832
|
) })
|
|
4833
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4833
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalContent, { className: contentClassName, children }),
|
|
4834
4834
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4835
4835
|
]
|
|
4836
4836
|
}
|
|
4837
4837
|
),
|
|
4838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4839
4839
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4840
4840
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4841
4841
|
footerStatus,
|
|
@@ -5708,7 +5708,7 @@ function FadePreview({
|
|
|
5708
5708
|
setCollapsedFor(resetKey);
|
|
5709
5709
|
setExpanded(false);
|
|
5710
5710
|
}
|
|
5711
|
-
|
|
5711
|
+
_chunkWJ3NCHI6cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
5712
5712
|
const el = contentRef.current;
|
|
5713
5713
|
if (!el) return;
|
|
5714
5714
|
if (!fixedHeight) {
|
|
@@ -6125,9 +6125,9 @@ var KIND_HEADING = {
|
|
|
6125
6125
|
design: "Claude Design"
|
|
6126
6126
|
};
|
|
6127
6127
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
6128
|
-
const { src: mirrorSrc, status } =
|
|
6128
|
+
const { src: mirrorSrc, status } = _chunkLJG7HOZUcjs.useClaudeMirrorSrc.call(void 0, url);
|
|
6129
6129
|
const isProbing = status === "probing";
|
|
6130
|
-
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => (
|
|
6130
|
+
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunkLJG7HOZUcjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
6131
6131
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6132
6132
|
EmbedViewerFrame,
|
|
6133
6133
|
{
|
|
@@ -6202,12 +6202,12 @@ function SlidesViewToggle({ view, onChange }) {
|
|
|
6202
6202
|
}
|
|
6203
6203
|
function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
6204
6204
|
const [view, setView] = _react.useState.call(void 0, "present");
|
|
6205
|
-
const isSlides = url ?
|
|
6206
|
-
const embedSrc = url ?
|
|
6205
|
+
const isSlides = url ? _chunkLJG7HOZUcjs.isFigmaSlidesUrl.call(void 0, url) : false;
|
|
6206
|
+
const embedSrc = url ? _chunkLJG7HOZUcjs.toFigmaEmbedUrl.call(void 0, url, { slidesView: view }) : null;
|
|
6207
6207
|
const originalUrl = (() => {
|
|
6208
6208
|
if (!url) return null;
|
|
6209
6209
|
try {
|
|
6210
|
-
const parsed = new URL(
|
|
6210
|
+
const parsed = new URL(_chunkLJG7HOZUcjs.toFigmaOriginalUrl.call(void 0, url));
|
|
6211
6211
|
const host = parsed.hostname.toLowerCase();
|
|
6212
6212
|
const okHost = host === "figma.com" || host.endsWith(".figma.com");
|
|
6213
6213
|
const okProtocol = parsed.protocol === "https:" || parsed.protocol === "http:";
|
|
@@ -6221,7 +6221,7 @@ function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
|
6221
6221
|
EmbedViewerFrame,
|
|
6222
6222
|
{
|
|
6223
6223
|
className: "my-6 space-y-3",
|
|
6224
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6224
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.FigmaIcon, { className: "h-5 w-5 shrink-0" }),
|
|
6225
6225
|
title: heading,
|
|
6226
6226
|
titleVariant: "h6",
|
|
6227
6227
|
actions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2 sm:flex-row sm:items-center", children: [
|
|
@@ -6233,7 +6233,7 @@ function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
|
6233
6233
|
size: "small-legacy",
|
|
6234
6234
|
href: originalUrl,
|
|
6235
6235
|
openInNewTab: true,
|
|
6236
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6236
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.FigmaIcon, { className: "h-4 w-4" }),
|
|
6237
6237
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }),
|
|
6238
6238
|
className: "w-full sm:w-auto",
|
|
6239
6239
|
children: "Open in Figma"
|
|
@@ -6245,7 +6245,7 @@ function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
|
6245
6245
|
loading,
|
|
6246
6246
|
height,
|
|
6247
6247
|
allowFullScreen: true,
|
|
6248
|
-
emptyIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6248
|
+
emptyIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.FigmaIcon, { className: "mb-4 h-16 w-16 text-ods-text-secondary" }),
|
|
6249
6249
|
emptyMessage: "Figma URL not configured"
|
|
6250
6250
|
}
|
|
6251
6251
|
);
|
|
@@ -6320,7 +6320,7 @@ function LinkedInEmbedClient({ url, height = 600 }) {
|
|
|
6320
6320
|
if (!embedUrl) {
|
|
6321
6321
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LinkedInContainer, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-6", children: [
|
|
6322
6322
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-4 flex items-center space-x-3 text-ods-text-secondary", children: [
|
|
6323
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6323
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.LinkedinIcon, { className: "h-5 w-5 shrink-0" }),
|
|
6324
6324
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "LinkedIn post" })
|
|
6325
6325
|
] }),
|
|
6326
6326
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -6331,7 +6331,7 @@ function LinkedInEmbedClient({ url, height = 600 }) {
|
|
|
6331
6331
|
rel: "noopener noreferrer",
|
|
6332
6332
|
className: "inline-flex items-center space-x-2 rounded-md border border-ods-border bg-ods-card px-4 py-2 text-ods-text-primary transition-colors text-h6 hover:bg-ods-bg-hover",
|
|
6333
6333
|
children: [
|
|
6334
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6334
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.LinkedinIcon, { className: "h-4 w-4" }),
|
|
6335
6335
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "View on LinkedIn" })
|
|
6336
6336
|
]
|
|
6337
6337
|
}
|
|
@@ -6981,7 +6981,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6981
6981
|
};
|
|
6982
6982
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6983
6983
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6984
|
-
|
|
6984
|
+
_chunkWNRXPOOHcjs.Video,
|
|
6985
6985
|
{
|
|
6986
6986
|
url: item.src,
|
|
6987
6987
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -6994,7 +6994,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6994
6994
|
`video-${index}-${item.src}`
|
|
6995
6995
|
);
|
|
6996
6996
|
const renderImageUnavailable = (failedUrl) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute inset-0 flex flex-col items-center justify-center gap-3 bg-ods-card px-6 text-center", children: [
|
|
6997
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6997
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ImageOffIcon, { className: "size-8 text-ods-text-secondary" }),
|
|
6998
6998
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "max-w-md text-ods-text-secondary text-h6", children: "This image is no longer available at the original URL." }),
|
|
6999
6999
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7000
7000
|
_chunkFCUTPPX5cjs.next_link_default,
|
|
@@ -7705,7 +7705,7 @@ function buildRichEmbedOverrides({
|
|
|
7705
7705
|
ogEndpointPath,
|
|
7706
7706
|
textSizes
|
|
7707
7707
|
}) {
|
|
7708
|
-
const standard =
|
|
7708
|
+
const standard = _chunkWNRXPOOHcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7709
7709
|
return {
|
|
7710
7710
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7711
7711
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7715,7 +7715,7 @@ function buildRichEmbedOverrides({
|
|
|
7715
7715
|
const language = match ? match[1] : "";
|
|
7716
7716
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7717
7717
|
if (language === "youtube-embed") {
|
|
7718
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7718
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7719
7719
|
}
|
|
7720
7720
|
if (language === "reddit-embed") {
|
|
7721
7721
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7756,7 +7756,7 @@ function buildRichEmbedOverrides({
|
|
|
7756
7756
|
"data-figma-url": figmaUrl
|
|
7757
7757
|
} = divProps;
|
|
7758
7758
|
if (className === "youtube-embed" && videoId) {
|
|
7759
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7759
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Video, { kind: "youtube", url: videoId });
|
|
7760
7760
|
}
|
|
7761
7761
|
if (className === "reddit-embed" && postUrl) {
|
|
7762
7762
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7841,14 +7841,14 @@ function buildRichEmbedOverrides({
|
|
|
7841
7841
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7842
7842
|
// elsewhere). Guard against empty `![]()`.
|
|
7843
7843
|
img: ({ src, alt }) => {
|
|
7844
|
-
if (!
|
|
7844
|
+
if (!_chunkWNRXPOOHcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7845
7845
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7846
7846
|
},
|
|
7847
7847
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7848
7848
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7849
7849
|
video: ({ src, poster, className }) => {
|
|
7850
|
-
if (!
|
|
7851
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7850
|
+
if (!_chunkWNRXPOOHcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7851
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7852
7852
|
}
|
|
7853
7853
|
};
|
|
7854
7854
|
}
|
|
@@ -8089,13 +8089,13 @@ var RichMarkdownInner = ({
|
|
|
8089
8089
|
},
|
|
8090
8090
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8091
8091
|
);
|
|
8092
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8092
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkWNRXPOOHcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8093
8093
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8094
8094
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8095
8095
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8096
8096
|
);
|
|
8097
8097
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8098
|
-
|
|
8098
|
+
_chunkWNRXPOOHcjs.MarkdownEngine,
|
|
8099
8099
|
{
|
|
8100
8100
|
content,
|
|
8101
8101
|
className,
|
|
@@ -8117,7 +8117,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8117
8117
|
className = "",
|
|
8118
8118
|
sectionIds,
|
|
8119
8119
|
onInternalLinkClick,
|
|
8120
|
-
brokenLinks =
|
|
8120
|
+
brokenLinks = _chunkWNRXPOOHcjs.NO_BROKEN_LINKS,
|
|
8121
8121
|
currentPath,
|
|
8122
8122
|
resolveSource = "openframe-docs",
|
|
8123
8123
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8375,7 +8375,7 @@ function BackButton({ label = "Back", className, type = "button", ...props }) {
|
|
|
8375
8375
|
),
|
|
8376
8376
|
...props,
|
|
8377
8377
|
children: [
|
|
8378
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8378
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02LeftIcon, { className: "size-6 shrink-0" }),
|
|
8379
8379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4", children: label })
|
|
8380
8380
|
]
|
|
8381
8381
|
}
|
|
@@ -8551,12 +8551,12 @@ function SortColumnItem({ column, currentDirection, onSort, onClear }) {
|
|
|
8551
8551
|
};
|
|
8552
8552
|
const getSortIcon = () => {
|
|
8553
8553
|
if (currentDirection === "asc") {
|
|
8554
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8554
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Arrow01UpIcon, { className: "h-4 w-4 text-ods-accent" });
|
|
8555
8555
|
}
|
|
8556
8556
|
if (currentDirection === "desc") {
|
|
8557
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8557
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Arrow01DownIcon, { className: "h-4 w-4 text-ods-accent" });
|
|
8558
8558
|
}
|
|
8559
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8559
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.SwitchVrIcon, { className: "h-4 w-4 text-ods-text-secondary" });
|
|
8560
8560
|
};
|
|
8561
8561
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8562
8562
|
"div",
|
|
@@ -8690,7 +8690,7 @@ function FilterModal({
|
|
|
8690
8690
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _167 => _167.defaultSort]), () => ( "desc"));
|
|
8691
8691
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _168 => _168.sort]), () => ( dateDefaultSort)));
|
|
8692
8692
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _169 => _169.range]));
|
|
8693
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8693
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkWNRXPOOHcjs.useScrollFade.call(void 0, );
|
|
8694
8694
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8695
8695
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8696
8696
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8735,10 +8735,10 @@ function FilterModal({
|
|
|
8735
8735
|
const hasFilterGroups = filterGroups.length > 0;
|
|
8736
8736
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8737
8737
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8738
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8739
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8738
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.Modal, { isOpen, onClose, className: _chunk23V5BSHDcjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
8739
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalTitle, { children: title }) }),
|
|
8740
8740
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8741
|
-
|
|
8741
|
+
_chunkWNRXPOOHcjs.ModalContent,
|
|
8742
8742
|
{
|
|
8743
8743
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
8744
8744
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8766,7 +8766,7 @@ function FilterModal({
|
|
|
8766
8766
|
row
|
|
8767
8767
|
)) })
|
|
8768
8768
|
] }, group)) }) : isEmpty ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[240px] flex-col items-center justify-center gap-6 p-6", children: [
|
|
8769
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8769
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Filter02Icon, { className: "text-ods-text-secondary", size: 24 }),
|
|
8770
8770
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center text-center text-ods-text-secondary", children: [
|
|
8771
8771
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: emptyStateTitle }),
|
|
8772
8772
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6", children: emptyStateDescription })
|
|
@@ -8830,12 +8830,12 @@ function FilterModal({
|
|
|
8830
8830
|
] })
|
|
8831
8831
|
}
|
|
8832
8832
|
),
|
|
8833
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8834
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8833
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8834
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8835
8835
|
] })
|
|
8836
8836
|
}
|
|
8837
8837
|
),
|
|
8838
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8838
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.ModalFooter, { children: [
|
|
8839
8839
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8840
8840
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8841
8841
|
] })
|
|
@@ -8879,9 +8879,9 @@ function actionToMenuItems(action, idx) {
|
|
|
8879
8879
|
function renderActionButton(action, opts = {}) {
|
|
8880
8880
|
const button = renderRawActionButton(action, opts);
|
|
8881
8881
|
if (!action.tooltip) return button;
|
|
8882
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8883
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8884
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8882
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.Tooltip, { children: [
|
|
8883
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
8884
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipContent, { children: action.tooltip })
|
|
8885
8885
|
] }) });
|
|
8886
8886
|
}
|
|
8887
8887
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -8905,7 +8905,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
8905
8905
|
}
|
|
8906
8906
|
if (action.submenu && action.submenu.length > 0) {
|
|
8907
8907
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8908
|
-
|
|
8908
|
+
_chunkWNRXPOOHcjs.ActionsMenuDropdown,
|
|
8909
8909
|
{
|
|
8910
8910
|
groups: [{ items: action.submenu }],
|
|
8911
8911
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -8915,7 +8915,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
8915
8915
|
disabled: action.disabled,
|
|
8916
8916
|
loading: action.loading,
|
|
8917
8917
|
leftIcon: action.icon,
|
|
8918
|
-
splitIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8918
|
+
splitIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02DownIcon, { className: "h-4 w-4" }),
|
|
8919
8919
|
className: opts.fullWidth ? "flex-1" : void 0,
|
|
8920
8920
|
children: action.label
|
|
8921
8921
|
}
|
|
@@ -9040,10 +9040,10 @@ function IconButtonsVariant({
|
|
|
9040
9040
|
selector,
|
|
9041
9041
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9042
9042
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
9043
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9043
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
9044
9044
|
] })
|
|
9045
9045
|
] }),
|
|
9046
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9046
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9047
9047
|
] });
|
|
9048
9048
|
}
|
|
9049
9049
|
function PrimaryButtonsVariant({
|
|
@@ -9081,7 +9081,7 @@ function MenuPrimaryVariant({
|
|
|
9081
9081
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9082
9082
|
selector,
|
|
9083
9083
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9084
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9084
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9085
9085
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
9086
9086
|
] })
|
|
9087
9087
|
] }),
|
|
@@ -9089,7 +9089,7 @@ function MenuPrimaryVariant({
|
|
|
9089
9089
|
// The selector rides into the menu as its header row: on mobile the
|
|
9090
9090
|
// title row has no room for it, and hiding it entirely (what
|
|
9091
9091
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9092
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9092
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9093
9093
|
) : null })
|
|
9094
9094
|
] });
|
|
9095
9095
|
}
|
|
@@ -9297,7 +9297,7 @@ function ListPageLayout({
|
|
|
9297
9297
|
}) {
|
|
9298
9298
|
const [mobileFilterOpen, setMobileFilterOpen] = _react.useState.call(void 0, false);
|
|
9299
9299
|
const [localSearchValue, setLocalSearchValue] = _react.useState.call(void 0, searchValue);
|
|
9300
|
-
const debouncedSearchValue =
|
|
9300
|
+
const debouncedSearchValue = _chunkWJ3NCHI6cjs.useDebounce.call(void 0, localSearchValue, 500);
|
|
9301
9301
|
const [syncedSearchValue, setSyncedSearchValue] = _react.useState.call(void 0, searchValue);
|
|
9302
9302
|
if (syncedSearchValue !== searchValue) {
|
|
9303
9303
|
setSyncedSearchValue(searchValue);
|
|
@@ -9349,7 +9349,7 @@ function ListPageLayout({
|
|
|
9349
9349
|
className: "md:hidden",
|
|
9350
9350
|
onClick: () => setMobileFilterOpen(true),
|
|
9351
9351
|
"aria-label": "Open filters",
|
|
9352
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9352
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Filter02Icon, {})
|
|
9353
9353
|
}
|
|
9354
9354
|
)
|
|
9355
9355
|
]
|
|
@@ -9457,8 +9457,8 @@ function TitleBlock({
|
|
|
9457
9457
|
const titleClass = titleSize === "h1" ? "text-h1" : "text-h2";
|
|
9458
9458
|
const titleOverflowClass = titleWrap ? "break-words" : "truncate";
|
|
9459
9459
|
const skeletonSize = TITLE_SKELETON_SIZE[titleSize];
|
|
9460
|
-
const { ref: titleRef, isTruncated: titleTruncated } =
|
|
9461
|
-
const { ref: subtitleRef, isTruncated: subtitleTruncated } =
|
|
9460
|
+
const { ref: titleRef, isTruncated: titleTruncated } = _chunkWJ3NCHI6cjs.useIsTruncated.call(void 0, loading ? null : title);
|
|
9461
|
+
const { ref: subtitleRef, isTruncated: subtitleTruncated } = _chunkWJ3NCHI6cjs.useIsTruncated.call(void 0,
|
|
9462
9462
|
loading ? null : subtitle
|
|
9463
9463
|
);
|
|
9464
9464
|
const titleNode = loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TitleTextSkeleton, { widthClass: skeletonSize.width, heightClass: skeletonSize.height }) : title;
|
|
@@ -9495,7 +9495,7 @@ function TitleBlock({
|
|
|
9495
9495
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
9496
9496
|
(loading || title) && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9497
9497
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9498
|
-
|
|
9498
|
+
_chunkWNRXPOOHcjs.FloatingTooltip,
|
|
9499
9499
|
{
|
|
9500
9500
|
content: title,
|
|
9501
9501
|
side: "bottom",
|
|
@@ -9512,12 +9512,12 @@ function TitleBlock({
|
|
|
9512
9512
|
}
|
|
9513
9513
|
),
|
|
9514
9514
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9515
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9515
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunk23V5BSHDcjs.cn.call(void 0, titleClass, "text-ods-text-primary", titleOverflowClass), children: titleNode }) })),
|
|
9516
9516
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
9517
9517
|
empty `p` collapses to zero height (its only content would be
|
|
9518
9518
|
collapsible whitespace), which is exactly the shift that mode
|
|
9519
9519
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
9520
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9520
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9521
9521
|
"p",
|
|
9522
9522
|
{
|
|
9523
9523
|
ref: subtitleRef,
|
|
@@ -9528,7 +9528,7 @@ function TitleBlock({
|
|
|
9528
9528
|
) })
|
|
9529
9529
|
] })
|
|
9530
9530
|
] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9531
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9531
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, triggerClassName: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunk23V5BSHDcjs.cn.call(void 0, titleClass, "min-w-0 text-ods-text-primary", titleOverflowClass), children: title }) }),
|
|
9532
9532
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9533
9533
|
] }) : (
|
|
9534
9534
|
/* This branch never had the single-line clamp, so text already
|
|
@@ -9972,7 +9972,7 @@ function toToolLabel(input) {
|
|
|
9972
9972
|
if (!input) return "";
|
|
9973
9973
|
const toolType = normalizeToolType(input);
|
|
9974
9974
|
if (toolType) {
|
|
9975
|
-
return
|
|
9975
|
+
return _chunkWJ3NCHI6cjs.toolLabels[toolType];
|
|
9976
9976
|
}
|
|
9977
9977
|
return input;
|
|
9978
9978
|
}
|
|
@@ -9983,7 +9983,7 @@ function getToolTypeAliases(toolType) {
|
|
|
9983
9983
|
return Object.entries(toolAliasMap).filter(([_, value]) => value === toolType).map(([key]) => key);
|
|
9984
9984
|
}
|
|
9985
9985
|
function getToolLabel(toolType) {
|
|
9986
|
-
return
|
|
9986
|
+
return _chunkWJ3NCHI6cjs.toolLabels[toolType] || toolType;
|
|
9987
9987
|
}
|
|
9988
9988
|
|
|
9989
9989
|
// src/types/shell.types.ts
|
|
@@ -9997,10 +9997,10 @@ var ShellTypeValues = {
|
|
|
9997
9997
|
SHELL: "SHELL"
|
|
9998
9998
|
};
|
|
9999
9999
|
var SHELL_TYPES = [
|
|
10000
|
-
{ id: ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon:
|
|
10000
|
+
{ id: ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkH7PSOPWMcjs.PowershellLogoIcon },
|
|
10001
10001
|
{ id: ShellTypeValues.CMD, label: "Batch", value: "cmd", icon: _chunkKOQCA5X5cjs.CmdIcon },
|
|
10002
10002
|
{ id: ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkKOQCA5X5cjs.BashIcon },
|
|
10003
|
-
{ id: ShellTypeValues.PYTHON, label: "Python", value: "python", icon:
|
|
10003
|
+
{ id: ShellTypeValues.PYTHON, label: "Python", value: "python", icon: _chunkH7PSOPWMcjs.PythonLogoIcon },
|
|
10004
10004
|
{ id: ShellTypeValues.NUSHELL, label: "Nu", value: "nushell", icon: _chunkKOQCA5X5cjs.NushellIcon },
|
|
10005
10005
|
{ id: ShellTypeValues.DENO, label: "Deno", value: "deno", icon: _chunkKOQCA5X5cjs.DenoIcon },
|
|
10006
10006
|
{ id: ShellTypeValues.SHELL, label: "Shell", value: "shell", icon: _chunkKOQCA5X5cjs.ShellIcon }
|
|
@@ -10068,7 +10068,7 @@ var OS_TYPES = [
|
|
|
10068
10068
|
id: OSTypeValues.MACOS,
|
|
10069
10069
|
label: "macOS",
|
|
10070
10070
|
value: OSTypeValues.MACOS,
|
|
10071
|
-
icon:
|
|
10071
|
+
icon: _chunkH7PSOPWMcjs.AppleLogoIcon,
|
|
10072
10072
|
platformId: "darwin",
|
|
10073
10073
|
aliases: ["darwin", "macos", "mac os", "osx", "os x", "mac"]
|
|
10074
10074
|
// Put more specific ones first, 'mac' last to avoid false matches
|
|
@@ -10077,7 +10077,7 @@ var OS_TYPES = [
|
|
|
10077
10077
|
id: OSTypeValues.WINDOWS,
|
|
10078
10078
|
label: "Windows",
|
|
10079
10079
|
value: OSTypeValues.WINDOWS,
|
|
10080
|
-
icon:
|
|
10080
|
+
icon: _chunkH7PSOPWMcjs.WindowsLogoGreyIcon,
|
|
10081
10081
|
platformId: "windows",
|
|
10082
10082
|
aliases: ["windows", "win32", "win64", "win"]
|
|
10083
10083
|
// 'win' last since it's shortest
|
|
@@ -10086,7 +10086,7 @@ var OS_TYPES = [
|
|
|
10086
10086
|
id: OSTypeValues.LINUX,
|
|
10087
10087
|
label: "Linux",
|
|
10088
10088
|
value: OSTypeValues.LINUX,
|
|
10089
|
-
icon:
|
|
10089
|
+
icon: _chunkH7PSOPWMcjs.LinuxLogoIcon,
|
|
10090
10090
|
platformId: "linux",
|
|
10091
10091
|
aliases: ["linux", "ubuntu", "debian", "centos", "redhat", "fedora", "pop", "pop!_os", "arch", "manjaro"]
|
|
10092
10092
|
}
|
|
@@ -11121,8 +11121,8 @@ var DEFAULT_OPTIONS = {
|
|
|
11121
11121
|
function extractSections(markdown, options = {}) {
|
|
11122
11122
|
const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
11123
11123
|
const sections = [];
|
|
11124
|
-
const dedupe =
|
|
11125
|
-
const scanned =
|
|
11124
|
+
const dedupe = _chunkWJ3NCHI6cjs.createHeadingIdDeduper.call(void 0, );
|
|
11125
|
+
const scanned = _chunkWJ3NCHI6cjs.scanHeadings.call(void 0, markdown, {
|
|
11126
11126
|
skipFrontmatter: opts.skipCodeAndYamlBlocks,
|
|
11127
11127
|
skipFences: opts.skipCodeAndYamlBlocks
|
|
11128
11128
|
});
|
|
@@ -11130,9 +11130,9 @@ function extractSections(markdown, options = {}) {
|
|
|
11130
11130
|
if (heading.level > opts.maxLevel) continue;
|
|
11131
11131
|
let title = heading.text;
|
|
11132
11132
|
if (opts.stripFormattingMarkers) {
|
|
11133
|
-
title =
|
|
11133
|
+
title = _chunkWNRXPOOHcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
11134
11134
|
}
|
|
11135
|
-
const baseId =
|
|
11135
|
+
const baseId = _chunkWJ3NCHI6cjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkWJ3NCHI6cjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
11136
11136
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
11137
11137
|
sections.push({
|
|
11138
11138
|
id: opts.handleDuplicateIds ? dedupe(cleanId) : cleanId,
|
|
@@ -11703,7 +11703,7 @@ function DashboardInfoCard({
|
|
|
11703
11703
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
11704
11704
|
if (asTag) {
|
|
11705
11705
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
11706
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11706
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
11707
11707
|
}
|
|
11708
11708
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
11709
11709
|
"(",
|
|
@@ -11757,7 +11757,7 @@ function DashboardInfoCard({
|
|
|
11757
11757
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "truncate text-ods-text-primary text-h3 md:text-h2", valueClassName), children: formattedValue }),
|
|
11758
11758
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
11759
11759
|
renderPercentage(),
|
|
11760
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11760
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.FloatingTooltip, { content: tooltip, side: "top", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "cursor-help text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
11761
11761
|
] })
|
|
11762
11762
|
] }),
|
|
11763
11763
|
renderProgress()
|
|
@@ -11919,7 +11919,7 @@ function DeviceCard({
|
|
|
11919
11919
|
e.stopPropagation();
|
|
11920
11920
|
_optionalChain([actions, 'access', _234 => _234.moreButton, 'optionalAccess', _235 => _235.onClick, 'optionalCall', _236 => _236()]);
|
|
11921
11921
|
},
|
|
11922
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11922
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Ellipsis01Icon, { className: "text-ods-text-primary" })
|
|
11923
11923
|
}
|
|
11924
11924
|
),
|
|
11925
11925
|
_optionalChain([actions, 'access', _237 => _237.detailsButton, 'optionalAccess', _238 => _238.visible]) !== false && _optionalChain([actions, 'access', _239 => _239.detailsButton, 'optionalAccess', _240 => _240.component]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", onClick: (e) => e.stopPropagation(), children: actions.detailsButton.component }),
|
|
@@ -11940,7 +11940,7 @@ function DeviceCard({
|
|
|
11940
11940
|
] }),
|
|
11941
11941
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
11942
11942
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11943
|
-
|
|
11943
|
+
_chunkWNRXPOOHcjs.Tag,
|
|
11944
11944
|
{
|
|
11945
11945
|
variant: statusTag.variant,
|
|
11946
11946
|
icon: statusTag.icon,
|
|
@@ -11954,7 +11954,7 @@ function DeviceCard({
|
|
|
11954
11954
|
formatLastSeen(device.lastSeen)
|
|
11955
11955
|
] })
|
|
11956
11956
|
] }),
|
|
11957
|
-
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-wrap items-center gap-2", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11957
|
+
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-wrap items-center gap-2", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
11958
11958
|
]
|
|
11959
11959
|
}
|
|
11960
11960
|
);
|
|
@@ -12102,7 +12102,7 @@ function FeatureList({ items, className = "", iconBoxSize = 72 }) {
|
|
|
12102
12102
|
|
|
12103
12103
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
12104
12104
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12105
|
-
|
|
12105
|
+
_chunkWNRXPOOHcjs.FloatingTooltip,
|
|
12106
12106
|
{
|
|
12107
12107
|
as: "span",
|
|
12108
12108
|
side: "top",
|
|
@@ -12261,7 +12261,7 @@ function DropdownButton({
|
|
|
12261
12261
|
fullWidth,
|
|
12262
12262
|
"aria-label": resolvedAriaLabel,
|
|
12263
12263
|
leftIcon: icon,
|
|
12264
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12264
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02DownIcon, { className: _chunk23V5BSHDcjs.cn.call(void 0, "h-4 w-4 transition-transform duration-fast", open && "rotate-180") }),
|
|
12265
12265
|
className,
|
|
12266
12266
|
children: label
|
|
12267
12267
|
}
|
|
@@ -12279,14 +12279,14 @@ function DropdownButton({
|
|
|
12279
12279
|
fullWidth,
|
|
12280
12280
|
"aria-label": resolvedAriaLabel,
|
|
12281
12281
|
leftIcon: icon,
|
|
12282
|
-
splitIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12282
|
+
splitIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02DownIcon, { className: _chunk23V5BSHDcjs.cn.call(void 0, "transition-transform duration-fast", open && "rotate-180") }),
|
|
12283
12283
|
className: _chunk23V5BSHDcjs.cn.call(void 0, open && "bg-ods-bg-hover", className),
|
|
12284
12284
|
children: label
|
|
12285
12285
|
}
|
|
12286
12286
|
)
|
|
12287
12287
|
);
|
|
12288
12288
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12289
|
-
|
|
12289
|
+
_chunkWNRXPOOHcjs.ActionsMenuDropdown,
|
|
12290
12290
|
{
|
|
12291
12291
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
12292
12292
|
open,
|
|
@@ -12323,7 +12323,7 @@ function MoreActionsMenu({
|
|
|
12323
12323
|
size: "icon",
|
|
12324
12324
|
className: className || "flex items-center justify-center border-ods-border bg-ods-card hover:bg-ods-bg-hover",
|
|
12325
12325
|
"aria-label": ariaLabel,
|
|
12326
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12326
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Ellipsis01Icon, { size: 24, className: "text-ods-text-primary" })
|
|
12327
12327
|
}
|
|
12328
12328
|
) }),
|
|
12329
12329
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12501,8 +12501,8 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
12501
12501
|
}
|
|
12502
12502
|
function ServiceCardRowItem({ row }) {
|
|
12503
12503
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
12504
|
-
const { copy, copied } =
|
|
12505
|
-
const { ref: valueRef, isTruncated: valueTruncated } =
|
|
12504
|
+
const { copy, copied } = _chunkLJG7HOZUcjs.useCopyToClipboard.call(void 0, );
|
|
12505
|
+
const { ref: valueRef, isTruncated: valueTruncated } = _chunkWJ3NCHI6cjs.useIsTruncated.call(void 0, row.value);
|
|
12506
12506
|
const actions = _react.useMemo.call(void 0,
|
|
12507
12507
|
() => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }),
|
|
12508
12508
|
[row]
|
|
@@ -12524,7 +12524,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12524
12524
|
),
|
|
12525
12525
|
children: [
|
|
12526
12526
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12527
|
-
|
|
12527
|
+
_chunkWNRXPOOHcjs.FloatingTooltip,
|
|
12528
12528
|
{
|
|
12529
12529
|
content: row.value,
|
|
12530
12530
|
side: "top",
|
|
@@ -12553,7 +12553,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12553
12553
|
copied ? "text-ods-success" : "text-ods-text-secondary"
|
|
12554
12554
|
),
|
|
12555
12555
|
"aria-label": `Copy ${_nullishCoalesce(row.label, () => ( "value"))}`,
|
|
12556
|
-
children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12556
|
+
children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Copy01Icon, { size: 20 })
|
|
12557
12557
|
}
|
|
12558
12558
|
),
|
|
12559
12559
|
actions.open && row.href && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12656,7 +12656,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12656
12656
|
);
|
|
12657
12657
|
}
|
|
12658
12658
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
12659
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12659
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.FloatingTooltip, { content: fullNames, triggerClassName: "min-w-0 max-w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
12660
12660
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12661
12661
|
_chunkOQHFHKUGcjs.AvatarStack,
|
|
12662
12662
|
{
|
|
@@ -12718,9 +12718,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12718
12718
|
return next;
|
|
12719
12719
|
});
|
|
12720
12720
|
};
|
|
12721
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12721
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
12722
12722
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12723
|
-
|
|
12723
|
+
_chunkWNRXPOOHcjs.TooltipTrigger,
|
|
12724
12724
|
{
|
|
12725
12725
|
asChild: true,
|
|
12726
12726
|
onPointerDown: (e) => {
|
|
@@ -12738,7 +12738,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12738
12738
|
children
|
|
12739
12739
|
}
|
|
12740
12740
|
),
|
|
12741
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12741
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
12742
12742
|
] }) });
|
|
12743
12743
|
}
|
|
12744
12744
|
|
|
@@ -13197,7 +13197,7 @@ function TableColumnFilterDropdown({
|
|
|
13197
13197
|
children: [
|
|
13198
13198
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "select-none text-ods-text-secondary text-h5", children: columnLabel }),
|
|
13199
13199
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13200
|
-
|
|
13200
|
+
_chunkH7PSOPWMcjs.Filter02Icon,
|
|
13201
13201
|
{
|
|
13202
13202
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "h-4 w-4 transition-colors", activeCount > 0 ? "text-ods-accent" : "text-ods-text-secondary")
|
|
13203
13203
|
}
|
|
@@ -13295,11 +13295,11 @@ function TableHeader({
|
|
|
13295
13295
|
const columnKey = column.sortKey || column.key;
|
|
13296
13296
|
const isActive = sortBy === columnKey;
|
|
13297
13297
|
if (!isActive) {
|
|
13298
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13298
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.SwitchVrIcon, { className: "h-4 w-4 text-ods-text-secondary" });
|
|
13299
13299
|
}
|
|
13300
|
-
return sortDirection === "asc" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13300
|
+
return sortDirection === "asc" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Arrow01UpIcon, { className: "h-4 w-4 text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Arrow01DownIcon, { className: "h-4 w-4 text-ods-accent" });
|
|
13301
13301
|
};
|
|
13302
|
-
const isLgUp = _nullishCoalesce(
|
|
13302
|
+
const isLgUp = _nullishCoalesce(_chunkWJ3NCHI6cjs.useLgUp.call(void 0, ), () => ( false));
|
|
13303
13303
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13304
13304
|
"div",
|
|
13305
13305
|
{
|
|
@@ -13659,7 +13659,7 @@ function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref,
|
|
|
13659
13659
|
prefetch: false,
|
|
13660
13660
|
variant: "outline",
|
|
13661
13661
|
size: "icon",
|
|
13662
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13662
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02RightIcon, { className: "h-6 w-6" }),
|
|
13663
13663
|
"aria-label": "View details"
|
|
13664
13664
|
}
|
|
13665
13665
|
) });
|
|
@@ -13993,9 +13993,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
13993
13993
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
13994
13994
|
}
|
|
13995
13995
|
}, []);
|
|
13996
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13997
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13998
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13996
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
13997
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center", style: { width, height: 48 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: textRef, className: "truncate text-ods-text-secondary text-h5", children: value }) }) }),
|
|
13998
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
13999
13999
|
] }) });
|
|
14000
14000
|
}
|
|
14001
14001
|
|
|
@@ -14048,9 +14048,9 @@ function TruncatedCell({ value, className }) {
|
|
|
14048
14048
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14049
14049
|
}
|
|
14050
14050
|
}, []);
|
|
14051
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14052
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14053
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14051
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14052
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { ref: textRef, className: _chunk23V5BSHDcjs.cn.call(void 0, "block truncate", className), children: value }) }),
|
|
14053
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
14054
14054
|
] }) });
|
|
14055
14055
|
}
|
|
14056
14056
|
|
|
@@ -14165,7 +14165,7 @@ function QueryReportTable({
|
|
|
14165
14165
|
onThumbPointerDown,
|
|
14166
14166
|
onThumbPointerMove,
|
|
14167
14167
|
onThumbPointerUp
|
|
14168
|
-
} =
|
|
14168
|
+
} = _chunkLJG7HOZUcjs.useHorizontalScrollbar.call(void 0, );
|
|
14169
14169
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex w-full flex-col", isCompact ? "gap-0" : "gap-[var(--spacing-system-l)]", className), children: [
|
|
14170
14170
|
!isCompact && (title || headerActions || showExport && data.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between pt-[var(--spacing-system-l)]", children: [
|
|
14171
14171
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -14176,7 +14176,7 @@ function QueryReportTable({
|
|
|
14176
14176
|
{
|
|
14177
14177
|
className: "bg-ods-card max-md:hidden",
|
|
14178
14178
|
variant: "outline",
|
|
14179
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14179
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Download02Icon, { size: 18, className: "text-ods-text-secondary" }),
|
|
14180
14180
|
onClick: handleExport,
|
|
14181
14181
|
children: "Export CSV"
|
|
14182
14182
|
}
|
|
@@ -14520,7 +14520,7 @@ function DataTableColumnFilter({
|
|
|
14520
14520
|
}
|
|
14521
14521
|
),
|
|
14522
14522
|
(!isEmpty || pending) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14523
|
-
|
|
14523
|
+
_chunkH7PSOPWMcjs.Filter02Icon,
|
|
14524
14524
|
{
|
|
14525
14525
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
14526
14526
|
"h-4 w-4 transition-colors",
|
|
@@ -14734,9 +14734,9 @@ function HeaderLabel({ header }) {
|
|
|
14734
14734
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: _reacttable.flexRender.call(void 0, headerDef, header.getContext()) });
|
|
14735
14735
|
}
|
|
14736
14736
|
function SortIcon({ sorted }) {
|
|
14737
|
-
if (sorted === "asc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14738
|
-
if (sorted === "desc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14739
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14737
|
+
if (sorted === "asc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Arrow01UpIcon, { className: "h-4 w-4 text-ods-accent" });
|
|
14738
|
+
if (sorted === "desc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Arrow01DownIcon, { className: "h-4 w-4 text-ods-accent" });
|
|
14739
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.SwitchVrIcon, { className: "h-4 w-4 text-ods-text-secondary transition-colors duration-200 group-hover:text-ods-text-primary" });
|
|
14740
14740
|
}
|
|
14741
14741
|
function resolveHeaderLabel(header) {
|
|
14742
14742
|
const h = header.column.columnDef.header;
|
|
@@ -14857,7 +14857,7 @@ var DataTable = Object.assign(DataTableRoot, {
|
|
|
14857
14857
|
|
|
14858
14858
|
var PasswordInput = _react.forwardRef.call(void 0, ({ disabled, className, ...props }, ref) => {
|
|
14859
14859
|
const [visible, setVisible] = _react.useState.call(void 0, false);
|
|
14860
|
-
const Icon2 = visible ?
|
|
14860
|
+
const Icon2 = visible ? _chunkH7PSOPWMcjs.EyeOffIcon : _chunkH7PSOPWMcjs.EyeIcon;
|
|
14861
14861
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14862
14862
|
_chunkN6HNK25Acjs.Input,
|
|
14863
14863
|
{
|
|
@@ -15056,10 +15056,10 @@ function SearchInput({
|
|
|
15056
15056
|
}) {
|
|
15057
15057
|
const [internalValue, setInternalValue] = _react.useState.call(void 0, defaultValue);
|
|
15058
15058
|
const currentValue = onChange ? _nullishCoalesce(value, () => ( "")) : internalValue;
|
|
15059
|
-
const debouncedValue =
|
|
15059
|
+
const debouncedValue = _chunkWJ3NCHI6cjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
15060
15060
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
15061
15061
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
15062
|
-
const keyboardPadding =
|
|
15062
|
+
const keyboardPadding = _chunkLJG7HOZUcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
15063
15063
|
const containerRef = _react.useRef.call(void 0, null);
|
|
15064
15064
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
15065
15065
|
const {
|
|
@@ -15069,7 +15069,7 @@ function SearchInput({
|
|
|
15069
15069
|
textMeasureRef,
|
|
15070
15070
|
badgeRef,
|
|
15071
15071
|
inputRef
|
|
15072
|
-
} =
|
|
15072
|
+
} = _chunkLJG7HOZUcjs.useAutoLimitTags.call(void 0, {
|
|
15073
15073
|
count: filterChips.length,
|
|
15074
15074
|
limitTags,
|
|
15075
15075
|
// When chips exist, pass empty placeholder so the hook only reserves input minWidth,
|
|
@@ -15091,7 +15091,7 @@ function SearchInput({
|
|
|
15091
15091
|
document.addEventListener("mousedown", handleClick);
|
|
15092
15092
|
return () => document.removeEventListener("mousedown", handleClick);
|
|
15093
15093
|
}, [showHiddenTags]);
|
|
15094
|
-
|
|
15094
|
+
_chunkWJ3NCHI6cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
15095
15095
|
const popup = hiddenTagsPopupRef.current;
|
|
15096
15096
|
const badge = badgeRef.current;
|
|
15097
15097
|
if (!popup || !badge) return;
|
|
@@ -15262,7 +15262,7 @@ function SearchInput({
|
|
|
15262
15262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-shrink-0 text-ods-text-secondary transition-colors duration-200 group-has-[:focus]:text-ods-accent [&_svg]:size-4 md:[&_svg]:size-6", children: startAdornment !== void 0 ? startAdornment : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}) }),
|
|
15263
15263
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
15264
15264
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15265
|
-
|
|
15265
|
+
_chunkWNRXPOOHcjs.Tag,
|
|
15266
15266
|
{
|
|
15267
15267
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15268
15268
|
label: chip.label,
|
|
@@ -15317,7 +15317,7 @@ function SearchInput({
|
|
|
15317
15317
|
onClick: handleClear,
|
|
15318
15318
|
className: "flex items-center justify-center transition-opacity hover:opacity-70",
|
|
15319
15319
|
"aria-label": "Clear search",
|
|
15320
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15320
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkCircleIcon, { className: "text-ods-text-secondary", size: 24 })
|
|
15321
15321
|
}
|
|
15322
15322
|
),
|
|
15323
15323
|
endAdornment
|
|
@@ -15378,7 +15378,7 @@ function SearchInput({
|
|
|
15378
15378
|
}
|
|
15379
15379
|
),
|
|
15380
15380
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: measureRef, "aria-hidden": "true", className: "pointer-events-none fixed -left-[9999px] top-0 flex gap-2", children: filterChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15381
|
-
|
|
15381
|
+
_chunkWNRXPOOHcjs.Tag,
|
|
15382
15382
|
{
|
|
15383
15383
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15384
15384
|
label: chip.label,
|
|
@@ -15520,7 +15520,7 @@ function TagSearchInput({
|
|
|
15520
15520
|
limitTags = "auto"
|
|
15521
15521
|
}) {
|
|
15522
15522
|
const currentPlaceholder = tags.length === 0 ? placeholder : addMorePlaceholder;
|
|
15523
|
-
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } =
|
|
15523
|
+
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } = _chunkLJG7HOZUcjs.useAutoLimitTags.call(void 0, {
|
|
15524
15524
|
count: tags.length,
|
|
15525
15525
|
limitTags,
|
|
15526
15526
|
placeholder: currentPlaceholder
|
|
@@ -15540,7 +15540,7 @@ function TagSearchInput({
|
|
|
15540
15540
|
document.addEventListener("mousedown", handleClick);
|
|
15541
15541
|
return () => document.removeEventListener("mousedown", handleClick);
|
|
15542
15542
|
}, [showHiddenTags]);
|
|
15543
|
-
|
|
15543
|
+
_chunkWJ3NCHI6cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
15544
15544
|
const popup = hiddenTagsPopupRef.current;
|
|
15545
15545
|
const badge = badgeRef.current;
|
|
15546
15546
|
if (!popup || !badge) return;
|
|
@@ -15591,7 +15591,7 @@ function TagSearchInput({
|
|
|
15591
15591
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "size-4 text-ods-text-secondary md:size-6" }) }),
|
|
15592
15592
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2", children: [
|
|
15593
15593
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15594
|
-
|
|
15594
|
+
_chunkWNRXPOOHcjs.Tag,
|
|
15595
15595
|
{
|
|
15596
15596
|
variant: "outline",
|
|
15597
15597
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -15645,7 +15645,7 @@ function TagSearchInput({
|
|
|
15645
15645
|
onClick: handleClearAll,
|
|
15646
15646
|
className: "flex shrink-0 cursor-pointer items-center justify-center pr-3 transition-opacity hover:opacity-70",
|
|
15647
15647
|
"aria-label": "Clear all",
|
|
15648
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15648
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkCircleIcon, { className: "size-4 text-ods-text-secondary md:size-6" })
|
|
15649
15649
|
}
|
|
15650
15650
|
)
|
|
15651
15651
|
]
|
|
@@ -15679,7 +15679,7 @@ function TagSearchInput({
|
|
|
15679
15679
|
"aria-hidden": "true",
|
|
15680
15680
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
15681
15681
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15682
|
-
|
|
15682
|
+
_chunkWNRXPOOHcjs.Tag,
|
|
15683
15683
|
{
|
|
15684
15684
|
variant: "outline",
|
|
15685
15685
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -16254,7 +16254,7 @@ function FileUpload({
|
|
|
16254
16254
|
entry.status === "error" && "bg-ods-error/5"
|
|
16255
16255
|
),
|
|
16256
16256
|
children: [
|
|
16257
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-10 shrink-0 items-center justify-center rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16257
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-10 shrink-0 items-center justify-center rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.FileIcon, { className: "size-6 text-ods-text-secondary" }) }),
|
|
16258
16258
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
16259
16259
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h4", title: entry.fileName, children: entry.fileName }),
|
|
16260
16260
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -16273,7 +16273,7 @@ function FileUpload({
|
|
|
16273
16273
|
onClick: () => onDownloadManagedFile(entry.id),
|
|
16274
16274
|
className: "shrink-0 text-ods-text-secondary transition-colors hover:text-ods-text-primary",
|
|
16275
16275
|
"aria-label": `Download ${entry.fileName}`,
|
|
16276
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16276
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Download02Icon, { className: "size-6" })
|
|
16277
16277
|
}
|
|
16278
16278
|
),
|
|
16279
16279
|
!disabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16283,7 +16283,7 @@ function FileUpload({
|
|
|
16283
16283
|
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _384 => _384(entry.id)]),
|
|
16284
16284
|
className: "shrink-0 text-ods-error transition-opacity hover:opacity-80",
|
|
16285
16285
|
"aria-label": `Remove ${entry.fileName}`,
|
|
16286
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16286
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.TrashIcon, { className: "size-6" })
|
|
16287
16287
|
}
|
|
16288
16288
|
)
|
|
16289
16289
|
]
|
|
@@ -16294,7 +16294,7 @@ function FileUpload({
|
|
|
16294
16294
|
{
|
|
16295
16295
|
className: "flex items-center gap-[var(--spacing-system-mf)] border-b border-ods-border px-[var(--spacing-system-mf)] py-[var(--spacing-system-sf)] last:border-b-0",
|
|
16296
16296
|
children: [
|
|
16297
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-10 shrink-0 items-center justify-center rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-10 shrink-0 items-center justify-center rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.FileIcon, { className: "size-6 text-ods-text-secondary" }) }),
|
|
16298
16298
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
16299
16299
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h4", title: file.name, children: file.name }),
|
|
16300
16300
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: formatFileSize2(file.size) })
|
|
@@ -16306,7 +16306,7 @@ function FileUpload({
|
|
|
16306
16306
|
onClick: () => handleRemoveFile(index),
|
|
16307
16307
|
className: "shrink-0 text-ods-error transition-opacity hover:opacity-80",
|
|
16308
16308
|
"aria-label": `Remove ${file.name}`,
|
|
16309
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16309
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.TrashIcon, { className: "size-6" })
|
|
16310
16310
|
}
|
|
16311
16311
|
)
|
|
16312
16312
|
]
|
|
@@ -16334,7 +16334,7 @@ function FileUpload({
|
|
|
16334
16334
|
disabled && "cursor-not-allowed opacity-50 hover:border-ods-border"
|
|
16335
16335
|
),
|
|
16336
16336
|
children: [
|
|
16337
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center rounded-full border border-ods-border bg-ods-card p-[var(--spacing-system-sf)]", children: icon || /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16337
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center rounded-full border border-ods-border bg-ods-card p-[var(--spacing-system-sf)]", children: icon || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ImagePlusIcon, { className: "size-6 text-ods-text-primary" }) }),
|
|
16338
16338
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
16339
16339
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children: label }),
|
|
16340
16340
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: description })
|
|
@@ -16498,12 +16498,12 @@ function ImageUploader({
|
|
|
16498
16498
|
}
|
|
16499
16499
|
) }),
|
|
16500
16500
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center gap-4", children: [
|
|
16501
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionIconButton, { onClick: openDialog, disabled: !interactive, ariaLabel: "Replace image", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16502
|
-
onRemove && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionIconButton, { onClick: onRemove, disabled: !interactive, ariaLabel: "Remove image", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16501
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionIconButton, { onClick: openDialog, disabled: !interactive, ariaLabel: "Replace image", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Refresh02VrIcon, { className: "size-6" }) }),
|
|
16502
|
+
onRemove && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionIconButton, { onClick: onRemove, disabled: !interactive, ariaLabel: "Remove image", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.TrashIcon, { className: "size-6" }) })
|
|
16503
16503
|
] }),
|
|
16504
16504
|
loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 flex items-center justify-center rounded-md bg-ods-overlay", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "size-8 animate-spin text-ods-text-on-dark" }) })
|
|
16505
16505
|
] }) : loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "size-8 animate-spin text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16506
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center justify-center rounded-full border border-ods-border bg-ods-card p-[var(--spacing-system-s)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16506
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center justify-center rounded-full border border-ods-border bg-ods-card p-[var(--spacing-system-s)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ImagePlusIcon, { className: "size-6 text-ods-text-primary" }) }),
|
|
16507
16507
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-center text-center", children: [
|
|
16508
16508
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: label }),
|
|
16509
16509
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description }),
|
|
@@ -16553,7 +16553,7 @@ var _reactcolorful = require('react-colorful');
|
|
|
16553
16553
|
var Popover2 = PopoverPrimitive6.Root;
|
|
16554
16554
|
var PopoverTrigger = PopoverPrimitive6.Trigger;
|
|
16555
16555
|
var PopoverContent = _react.forwardRef.call(void 0, ({ className, align = "center", sideOffset = 4, collisionPadding, ...props }, ref) => {
|
|
16556
|
-
const keyboardPadding =
|
|
16556
|
+
const keyboardPadding = _chunkLJG7HOZUcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
16557
16557
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive6.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16558
16558
|
PopoverPrimitive6.Content,
|
|
16559
16559
|
{
|
|
@@ -16590,7 +16590,7 @@ var TICKET_STATUS_COLOR_PRESETS = [
|
|
|
16590
16590
|
var CUSTOM_PRESET_KEY = "custom";
|
|
16591
16591
|
var DEFAULT_CUSTOM_STATUS_COLOR = "#888888";
|
|
16592
16592
|
function TriggerChevron() {
|
|
16593
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16593
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02DownIcon, { size: 24, className: "transition-transform duration-200 group-data-[state=open]:rotate-180" });
|
|
16594
16594
|
}
|
|
16595
16595
|
function ColorPresetSelect({
|
|
16596
16596
|
value,
|
|
@@ -16610,20 +16610,20 @@ function ColorPresetSelect({
|
|
|
16610
16610
|
...presets.map((p) => ({
|
|
16611
16611
|
id: p.key,
|
|
16612
16612
|
label: p.label,
|
|
16613
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16613
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ColorSwatch, { color: p.color }),
|
|
16614
16614
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
16615
16615
|
})),
|
|
16616
16616
|
{
|
|
16617
16617
|
id: CUSTOM_PRESET_KEY,
|
|
16618
16618
|
label: "Custom",
|
|
16619
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16619
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
16620
16620
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
16621
16621
|
}
|
|
16622
16622
|
]
|
|
16623
16623
|
}
|
|
16624
16624
|
];
|
|
16625
16625
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16626
|
-
|
|
16626
|
+
_chunkWNRXPOOHcjs.ActionsMenuDropdown,
|
|
16627
16627
|
{
|
|
16628
16628
|
groups,
|
|
16629
16629
|
align: "start",
|
|
@@ -16633,7 +16633,7 @@ function ColorPresetSelect({
|
|
|
16633
16633
|
{
|
|
16634
16634
|
disabled,
|
|
16635
16635
|
"aria-label": `Color: ${displayLabel}`,
|
|
16636
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16636
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ColorSwatch, { color: displayColor }),
|
|
16637
16637
|
selectedLabel: displayLabel,
|
|
16638
16638
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16639
16639
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16654,7 +16654,7 @@ function HexInputs({ value, onChange }) {
|
|
|
16654
16654
|
}
|
|
16655
16655
|
const commit = () => {
|
|
16656
16656
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
16657
|
-
if (
|
|
16657
|
+
if (_chunkWNRXPOOHcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
16658
16658
|
else setDraft(value);
|
|
16659
16659
|
};
|
|
16660
16660
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16718,12 +16718,12 @@ function ChannelInput({
|
|
|
16718
16718
|
);
|
|
16719
16719
|
}
|
|
16720
16720
|
function RgbInputs({ value, onChange }) {
|
|
16721
|
-
const rgb = _nullishCoalesce(
|
|
16721
|
+
const rgb = _nullishCoalesce(_chunkWNRXPOOHcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16722
16722
|
const update = (next) => {
|
|
16723
16723
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
16724
16724
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
16725
16725
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
16726
|
-
onChange(
|
|
16726
|
+
onChange(_chunkWNRXPOOHcjs.rgbToHex.call(void 0, r, g, b));
|
|
16727
16727
|
};
|
|
16728
16728
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16729
16729
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -16732,14 +16732,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
16732
16732
|
] });
|
|
16733
16733
|
}
|
|
16734
16734
|
function HslInputs({ value, onChange }) {
|
|
16735
|
-
const rgb = _nullishCoalesce(
|
|
16736
|
-
const hsl =
|
|
16735
|
+
const rgb = _nullishCoalesce(_chunkWNRXPOOHcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16736
|
+
const hsl = _chunkWNRXPOOHcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
16737
16737
|
const update = (next) => {
|
|
16738
16738
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
16739
16739
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
16740
16740
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
16741
|
-
const out =
|
|
16742
|
-
onChange(
|
|
16741
|
+
const out = _chunkWNRXPOOHcjs.hslToRgb.call(void 0, h, s, l);
|
|
16742
|
+
onChange(_chunkWNRXPOOHcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
16743
16743
|
};
|
|
16744
16744
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16745
16745
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -16765,7 +16765,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16765
16765
|
{
|
|
16766
16766
|
disabled,
|
|
16767
16767
|
"aria-label": "Pick custom color",
|
|
16768
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16768
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ColorSwatch, { color: value }),
|
|
16769
16769
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
16770
16770
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16771
16771
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16781,7 +16781,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16781
16781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
16782
16782
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16783
16783
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16784
|
-
|
|
16784
|
+
_chunkWNRXPOOHcjs.ActionsMenuDropdown,
|
|
16785
16785
|
{
|
|
16786
16786
|
groups: formatGroups,
|
|
16787
16787
|
align: "start",
|
|
@@ -16829,7 +16829,7 @@ function TicketStatusConfigRow({
|
|
|
16829
16829
|
isDragging,
|
|
16830
16830
|
moveButtons
|
|
16831
16831
|
}) {
|
|
16832
|
-
const dragAndDropEnabled =
|
|
16832
|
+
const dragAndDropEnabled = _chunkLJG7HOZUcjs.useDragAndDropEnabled.call(void 0, );
|
|
16833
16833
|
const nameInputId = _react.useId.call(void 0, );
|
|
16834
16834
|
const isSystem = variant === "system";
|
|
16835
16835
|
const isCustomColor = !isSystem && presetKey === void 0;
|
|
@@ -16838,7 +16838,7 @@ function TicketStatusConfigRow({
|
|
|
16838
16838
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
16839
16839
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
16840
16840
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16841
|
-
|
|
16841
|
+
_chunkWNRXPOOHcjs.TicketStatusTag,
|
|
16842
16842
|
{
|
|
16843
16843
|
status: statusKey,
|
|
16844
16844
|
label: name || " ",
|
|
@@ -16866,14 +16866,14 @@ function TicketStatusConfigRow({
|
|
|
16866
16866
|
"flex h-11 w-8 shrink-0 items-center justify-center text-ods-text-secondary md:h-12",
|
|
16867
16867
|
fieldRowOffset
|
|
16868
16868
|
),
|
|
16869
|
-
children: isSystem ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16869
|
+
children: isSystem ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.DraggerIcon, { size: 24, "aria-hidden": true, className: "opacity-40" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16870
16870
|
"button",
|
|
16871
16871
|
{
|
|
16872
16872
|
type: "button",
|
|
16873
16873
|
"aria-label": "Drag to reorder",
|
|
16874
16874
|
className: "flex size-6 cursor-grab items-center justify-center rounded-sm outline-none focus-visible:ring-2 focus-visible:ring-ods-focus active:cursor-grabbing",
|
|
16875
16875
|
...dragHandleProps,
|
|
16876
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16876
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.DraggerIcon, { size: 24 })
|
|
16877
16877
|
}
|
|
16878
16878
|
)
|
|
16879
16879
|
}
|
|
@@ -16951,7 +16951,7 @@ function TicketStatusConfigRow({
|
|
|
16951
16951
|
type: "button",
|
|
16952
16952
|
"aria-label": _nullishCoalesce(systemTooltip, () => ( "System status")),
|
|
16953
16953
|
className: "flex size-6 items-center justify-center text-ods-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
16954
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16954
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.InfoCircleIcon, { size: 24 })
|
|
16955
16955
|
}
|
|
16956
16956
|
) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TouchFriendlyTooltip, { content: deleteDisabled ? deleteDisabledReason : void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16957
16957
|
_chunkWRJVEB2Jcjs.Button,
|
|
@@ -16963,7 +16963,7 @@ function TicketStatusConfigRow({
|
|
|
16963
16963
|
disabled: deleteDisabled,
|
|
16964
16964
|
onClick: deleteDisabled ? void 0 : onDelete,
|
|
16965
16965
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "size-11 md:size-12", deleteDisabled && "pointer-events-none"),
|
|
16966
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16966
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.TrashIcon, { className: "text-ods-error" })
|
|
16967
16967
|
}
|
|
16968
16968
|
) }) })
|
|
16969
16969
|
]
|
|
@@ -16990,7 +16990,7 @@ function formatTestRunDuration(ms) {
|
|
|
16990
16990
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
16991
16991
|
var SKELETON_COLUMNS = 6;
|
|
16992
16992
|
function TestResultsSkeleton() {
|
|
16993
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16993
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
16994
16994
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-[160px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-4 w-3/4 animate-pulse rounded-sm bg-ods-bg-surface" }) }, `skeleton-header-${i}`)) }),
|
|
16995
16995
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "animate-pulse overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-3/4 rounded-sm bg-ods-bg-surface" }) }, `skeleton-cell-${i}`)) }) })
|
|
16996
16996
|
] }) });
|
|
@@ -17025,13 +17025,13 @@ function TestResultsTable({ rows, loading }) {
|
|
|
17025
17025
|
if (loading) {
|
|
17026
17026
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
17027
17027
|
}
|
|
17028
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17028
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { minWidth: Math.max(1, columnKeys.length) * RESULT_COLUMN_MIN_WIDTH }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DataTable, { table, children: [
|
|
17029
17029
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
17030
17030
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
17031
17031
|
] }) }) });
|
|
17032
17032
|
}
|
|
17033
17033
|
function TestRunErrorBanner({ error, className }) {
|
|
17034
|
-
const { copy } =
|
|
17034
|
+
const { copy } = _chunkLJG7HOZUcjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
17035
17035
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17036
17036
|
"div",
|
|
17037
17037
|
{
|
|
@@ -17051,7 +17051,7 @@ function TestRunErrorBanner({ error, className }) {
|
|
|
17051
17051
|
"aria-label": "Copy error message",
|
|
17052
17052
|
onClick: () => copy(error),
|
|
17053
17053
|
className: "shrink-0 rounded-sm text-ods-error transition-opacity hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
17054
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17054
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Copy02Icon, { className: "size-5" })
|
|
17055
17055
|
}
|
|
17056
17056
|
)
|
|
17057
17057
|
]
|
|
@@ -17085,7 +17085,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
17085
17085
|
function TestRunStatusStat({ status, className }) {
|
|
17086
17086
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
17087
17087
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex min-w-0 flex-col items-start justify-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
17088
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17088
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Tag, { label: tag.label, variant: tag.variant, className: "pointer-events-none" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: "-" }),
|
|
17089
17089
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
17090
17090
|
] });
|
|
17091
17091
|
}
|
|
@@ -17128,7 +17128,7 @@ function useTestRunState(campaign) {
|
|
|
17128
17128
|
const firstError = isFinished && campaign.errors.length > 0 ? campaign.errors[0].error : null;
|
|
17129
17129
|
const status = isActive ? "running" : hasRun && isFinished ? firstError ? "error" : "success" : "idle";
|
|
17130
17130
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
17131
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
17131
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkWNRXPOOHcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
17132
17132
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
17133
17133
|
const displayRows = _react.useMemo.call(void 0,
|
|
17134
17134
|
() => campaign.results.map(
|
|
@@ -17181,7 +17181,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
17181
17181
|
"flex shrink-0 items-center justify-center rounded-[6px] border border-ods-border bg-ods-card",
|
|
17182
17182
|
compact ? "size-8" : "size-10"
|
|
17183
17183
|
),
|
|
17184
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17184
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.FileIcon, { className: _chunk23V5BSHDcjs.cn.call(void 0, "text-ods-text-secondary", compact ? "size-4" : "size-6") })
|
|
17185
17185
|
}
|
|
17186
17186
|
),
|
|
17187
17187
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1 overflow-hidden", children: [
|
|
@@ -17202,7 +17202,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
17202
17202
|
onClick: attachment.onDelete,
|
|
17203
17203
|
className: "shrink-0 text-ods-text-secondary transition-colors hover:text-ods-error",
|
|
17204
17204
|
"aria-label": `Delete ${attachment.fileName}`,
|
|
17205
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17205
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.TrashIcon, { className: compact ? "size-4" : "size-5" })
|
|
17206
17206
|
}
|
|
17207
17207
|
),
|
|
17208
17208
|
attachment.onDownload && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17212,7 +17212,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
17212
17212
|
onClick: attachment.onDownload,
|
|
17213
17213
|
className: "shrink-0 text-ods-text-secondary transition-colors hover:text-ods-text-primary",
|
|
17214
17214
|
"aria-label": `Download ${attachment.fileName}`,
|
|
17215
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17215
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Download02Icon, { className: compact ? "size-4" : "size-6" })
|
|
17216
17216
|
}
|
|
17217
17217
|
)
|
|
17218
17218
|
]
|
|
@@ -17280,7 +17280,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17280
17280
|
disabled: !editText.trim(),
|
|
17281
17281
|
className: "shrink-0 text-ods-success transition-colors hover:text-ods-success/80 disabled:opacity-50",
|
|
17282
17282
|
"aria-label": "Save note",
|
|
17283
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17283
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckIcon, { className: "size-5" })
|
|
17284
17284
|
}
|
|
17285
17285
|
),
|
|
17286
17286
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17290,7 +17290,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17290
17290
|
onClick: handleCancel,
|
|
17291
17291
|
className: "shrink-0 text-ods-text-secondary transition-colors hover:text-ods-text-primary",
|
|
17292
17292
|
"aria-label": "Cancel editing",
|
|
17293
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17293
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkIcon, { className: "size-5" })
|
|
17294
17294
|
}
|
|
17295
17295
|
)
|
|
17296
17296
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -17309,7 +17309,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17309
17309
|
onClick: () => onDelete(note.id),
|
|
17310
17310
|
className: "text-ods-text-secondary transition-colors hover:text-ods-error",
|
|
17311
17311
|
"aria-label": "Delete note",
|
|
17312
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17312
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.TrashIcon, { className: "size-6" })
|
|
17313
17313
|
}
|
|
17314
17314
|
),
|
|
17315
17315
|
onEdit && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17319,7 +17319,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17319
17319
|
onClick: () => setIsEditing(true),
|
|
17320
17320
|
className: "text-ods-text-secondary transition-colors hover:text-ods-text-primary",
|
|
17321
17321
|
"aria-label": "Edit note",
|
|
17322
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17322
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PenEditIcon, { className: "size-6" })
|
|
17323
17323
|
}
|
|
17324
17324
|
)
|
|
17325
17325
|
] })
|
|
@@ -17375,7 +17375,7 @@ function TicketNotesSection({
|
|
|
17375
17375
|
"disabled:cursor-not-allowed disabled:opacity-50"
|
|
17376
17376
|
),
|
|
17377
17377
|
"aria-label": "Send note",
|
|
17378
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17378
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Send03Icon, { className: "size-6 text-ods-text-secondary" })
|
|
17379
17379
|
}
|
|
17380
17380
|
)
|
|
17381
17381
|
] })
|
|
@@ -17458,7 +17458,7 @@ function TicketInfoSection({
|
|
|
17458
17458
|
}
|
|
17459
17459
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
17460
17460
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1 text-ods-text-secondary text-h4", children: [
|
|
17461
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17461
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.UserIcon, { className: "size-4 shrink-0" }),
|
|
17462
17462
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Unassigned" })
|
|
17463
17463
|
] }),
|
|
17464
17464
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block truncate text-ods-text-secondary text-h6", children: "Assigned" })
|
|
@@ -17466,7 +17466,7 @@ function TicketInfoSection({
|
|
|
17466
17466
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _401 => _401.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _402 => _402.icon]), onClick: _optionalChain([device, 'optionalAccess', _403 => _403.onClick]) }),
|
|
17467
17467
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
17468
17468
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17469
|
-
|
|
17469
|
+
_chunkWNRXPOOHcjs.TicketStatusTag,
|
|
17470
17470
|
{
|
|
17471
17471
|
status: _nullishCoalesce(status, () => ( "")),
|
|
17472
17472
|
label: statusLabel,
|
|
@@ -17490,7 +17490,7 @@ function TicketInfoSection({
|
|
|
17490
17490
|
),
|
|
17491
17491
|
"aria-label": expanded ? "Collapse" : "Expand",
|
|
17492
17492
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17493
|
-
|
|
17493
|
+
_chunkH7PSOPWMcjs.Chevron02DownIcon,
|
|
17494
17494
|
{
|
|
17495
17495
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
17496
17496
|
"size-6 text-ods-text-primary transition-transform duration-200",
|
|
@@ -17505,9 +17505,9 @@ function TicketInfoSection({
|
|
|
17505
17505
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17506
17506
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-bg px-4 py-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: createdAt, label: "Created" }) }),
|
|
17507
17507
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
17508
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17508
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.SimpleMarkdownRenderer, { content: description }),
|
|
17509
17509
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
17510
|
-
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17510
|
+
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
17511
17511
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17512
17512
|
TicketNotesSection,
|
|
17513
17513
|
{
|
|
@@ -17530,10 +17530,10 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
17530
17530
|
const { label, color } = option;
|
|
17531
17531
|
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: [
|
|
17532
17532
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17533
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17533
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ColorSwatch, { color }),
|
|
17534
17534
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17535
17535
|
] }),
|
|
17536
|
-
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17536
|
+
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
17537
17537
|
] });
|
|
17538
17538
|
}
|
|
17539
17539
|
function renderTicketAssigneeOption(option, isSelected) {
|
|
@@ -17543,7 +17543,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
17543
17543
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
17544
17544
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17545
17545
|
] }),
|
|
17546
|
-
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17546
|
+
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
17547
17547
|
] });
|
|
17548
17548
|
}
|
|
17549
17549
|
function TakeOverTicketModal({
|
|
@@ -17575,9 +17575,9 @@ function TakeOverTicketModal({
|
|
|
17575
17575
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
17576
17576
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
17577
17577
|
};
|
|
17578
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17578
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17579
17579
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17580
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17580
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
17581
17581
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17582
17582
|
"The ticket ",
|
|
17583
17583
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17592,7 +17592,7 @@ function TakeOverTicketModal({
|
|
|
17592
17592
|
value: selectedStatusId,
|
|
17593
17593
|
onChange: setStatusId,
|
|
17594
17594
|
placeholder: "Select Status",
|
|
17595
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17595
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17596
17596
|
renderOption: renderTicketStatusOption
|
|
17597
17597
|
}
|
|
17598
17598
|
) }),
|
|
@@ -17619,7 +17619,7 @@ function TakeOverTicketModal({
|
|
|
17619
17619
|
}
|
|
17620
17620
|
) })
|
|
17621
17621
|
] }),
|
|
17622
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17622
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.ModalFooter, { children: [
|
|
17623
17623
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17624
17624
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17625
17625
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17678,9 +17678,9 @@ function ReopenTicketModal({
|
|
|
17678
17678
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
17679
17679
|
});
|
|
17680
17680
|
};
|
|
17681
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17681
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17682
17682
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17683
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17683
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17684
17684
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17685
17685
|
"The ticket ",
|
|
17686
17686
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17695,7 +17695,7 @@ function ReopenTicketModal({
|
|
|
17695
17695
|
value: selectedStatusId,
|
|
17696
17696
|
onChange: setStatusId,
|
|
17697
17697
|
placeholder: "Select Status",
|
|
17698
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17698
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17699
17699
|
renderOption: renderTicketStatusOption
|
|
17700
17700
|
}
|
|
17701
17701
|
) }),
|
|
@@ -17733,7 +17733,7 @@ function ReopenTicketModal({
|
|
|
17733
17733
|
disabled: isPending
|
|
17734
17734
|
}
|
|
17735
17735
|
) }),
|
|
17736
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17736
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.ModalFooter, { children: [
|
|
17737
17737
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17738
17738
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17739
17739
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17781,9 +17781,9 @@ function ReopenTicketRequestModal({
|
|
|
17781
17781
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
17782
17782
|
});
|
|
17783
17783
|
};
|
|
17784
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17784
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17785
17785
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17786
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17786
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17787
17787
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "This ticket will be reopened and the AI assistant will continue helping you." }),
|
|
17788
17788
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17789
17789
|
Textarea,
|
|
@@ -17807,7 +17807,7 @@ function ReopenTicketRequestModal({
|
|
|
17807
17807
|
disabled: isPending
|
|
17808
17808
|
}
|
|
17809
17809
|
),
|
|
17810
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17810
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.ModalFooter, { children: [
|
|
17811
17811
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
17812
17812
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
17813
17813
|
] })
|
|
@@ -17853,9 +17853,9 @@ function LazyMount({
|
|
|
17853
17853
|
placeholder = null,
|
|
17854
17854
|
className,
|
|
17855
17855
|
style,
|
|
17856
|
-
rootMargin =
|
|
17856
|
+
rootMargin = _chunkWJ3NCHI6cjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
17857
17857
|
}) {
|
|
17858
|
-
const { ref, isNear } =
|
|
17858
|
+
const { ref, isNear } = _chunkWJ3NCHI6cjs.useNearViewport.call(void 0, rootMargin);
|
|
17859
17859
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className, style, children: isNear ? children : placeholder });
|
|
17860
17860
|
}
|
|
17861
17861
|
|
|
@@ -18068,10 +18068,10 @@ function AccountDetailsFields({
|
|
|
18068
18068
|
onKeyDown,
|
|
18069
18069
|
layout = "stacked"
|
|
18070
18070
|
}) {
|
|
18071
|
-
const firstNameErr =
|
|
18072
|
-
const lastNameErr =
|
|
18073
|
-
const passwordErr =
|
|
18074
|
-
const confirmErr =
|
|
18071
|
+
const firstNameErr = _chunkLJG7HOZUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _408 => _408.firstName]), firstName);
|
|
18072
|
+
const lastNameErr = _chunkLJG7HOZUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _409 => _409.lastName]), lastName);
|
|
18073
|
+
const passwordErr = _chunkLJG7HOZUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _410 => _410.password]), password);
|
|
18074
|
+
const confirmErr = _chunkLJG7HOZUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _411 => _411.confirmPassword]), confirmPassword);
|
|
18075
18075
|
const names = [
|
|
18076
18076
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18077
18077
|
_chunkN6HNK25Acjs.Input,
|
|
@@ -18149,10 +18149,10 @@ function AccountDetailsFields({
|
|
|
18149
18149
|
var DEFAULT_TITLE = "The All-in-One Open Platform for MSPs";
|
|
18150
18150
|
var DEFAULT_DESCRIPTION = "All your core ops in one place - built for MSPs who are done duct-taping tools together. Unified stack, AI-ready, no vendor tax. Just solid software that lets you run lean and fast.";
|
|
18151
18151
|
var DEFAULT_BENEFITS = [
|
|
18152
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18153
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18154
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18155
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18152
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CreditCardXmarkIcon, {}), label: "No card required" },
|
|
18153
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkAltIcon, {}), label: "Cancel Anytime" },
|
|
18154
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.FlaskVialIcon, {}), label: "14 day free trial" },
|
|
18155
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.FileOffIcon, {}), label: "No Contract" }
|
|
18156
18156
|
];
|
|
18157
18157
|
function AuthBenefitsPanel({
|
|
18158
18158
|
title = DEFAULT_TITLE,
|
|
@@ -18217,7 +18217,7 @@ function OpenFrameWordmark() {
|
|
|
18217
18217
|
function PoweredByFlamingo({ compact = false }) {
|
|
18218
18218
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)] text-ods-text-secondary", children: [
|
|
18219
18219
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h6", children: "Powered by" }),
|
|
18220
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18220
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.FlamingoLogoIcon, { className: compact ? "h-4 w-14" : "h-4 w-14 md:h-6 md:w-[83px]" })
|
|
18221
18221
|
] });
|
|
18222
18222
|
}
|
|
18223
18223
|
|
|
@@ -18306,9 +18306,9 @@ var PROVIDER_META = {
|
|
|
18306
18306
|
}
|
|
18307
18307
|
)
|
|
18308
18308
|
},
|
|
18309
|
-
google: { name: "Google", Icon:
|
|
18310
|
-
microsoft: { name: "Microsoft", Icon:
|
|
18311
|
-
apple: { name: "Apple", Icon:
|
|
18309
|
+
google: { name: "Google", Icon: _chunkH7PSOPWMcjs.GoogleLogoIcon },
|
|
18310
|
+
microsoft: { name: "Microsoft", Icon: _chunkH7PSOPWMcjs.MicrosoftLogoIcon },
|
|
18311
|
+
apple: { name: "Apple", Icon: _chunkH7PSOPWMcjs.AppleLogoIcon }
|
|
18312
18312
|
};
|
|
18313
18313
|
function SsoProviderButtons({
|
|
18314
18314
|
providers,
|
|
@@ -18511,9 +18511,9 @@ function CreateOrganizationForm({
|
|
|
18511
18511
|
}) {
|
|
18512
18512
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
18513
18513
|
const fieldsDisabled = disabled || loading;
|
|
18514
|
-
const emailErr =
|
|
18515
|
-
const orgNameErr =
|
|
18516
|
-
const domainErr =
|
|
18514
|
+
const emailErr = _chunkLJG7HOZUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _413 => _413.email]), _nullishCoalesce(email, () => ( "")));
|
|
18515
|
+
const orgNameErr = _chunkLJG7HOZUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _414 => _414.organizationName]), organizationName);
|
|
18516
|
+
const domainErr = _chunkLJG7HOZUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _415 => _415.domain]), domain);
|
|
18517
18517
|
const handleKeyDown = (event) => {
|
|
18518
18518
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18519
18519
|
onSubmit();
|
|
@@ -18677,7 +18677,7 @@ function InviteLinkInvalidModal({
|
|
|
18677
18677
|
"aria-label": "Close",
|
|
18678
18678
|
onClick: _nullishCoalesce(onClose, () => ( onBackToLogin)),
|
|
18679
18679
|
className: "hidden shrink-0 text-ods-text-primary md:block",
|
|
18680
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18680
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkIcon, { className: "h-6 w-6" })
|
|
18681
18681
|
}
|
|
18682
18682
|
)
|
|
18683
18683
|
] }),
|
|
@@ -18729,7 +18729,7 @@ function LoginForm({
|
|
|
18729
18729
|
className
|
|
18730
18730
|
}) {
|
|
18731
18731
|
const fieldDisabled = disabled || loading;
|
|
18732
|
-
const emailErr =
|
|
18732
|
+
const emailErr = _chunkLJG7HOZUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _422 => _422.email]), email);
|
|
18733
18733
|
const handleKeyDown = (event) => {
|
|
18734
18734
|
if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
|
|
18735
18735
|
_optionalChain([onSubmitClick, 'optionalCall', _423 => _423()]);
|
|
@@ -18790,7 +18790,7 @@ function LoginForm({
|
|
|
18790
18790
|
role: "status",
|
|
18791
18791
|
className: "flex min-h-11 w-full items-center gap-[var(--spacing-system-m)] rounded-md bg-ods-bg-surface px-[var(--spacing-system-s)] py-[var(--spacing-system-s)] text-ods-text-secondary text-h3 md:min-h-12",
|
|
18792
18792
|
children: [
|
|
18793
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18793
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.AlertTriangleIcon, { className: "h-6 w-6 shrink-0" }),
|
|
18794
18794
|
noCustomSsoLabel
|
|
18795
18795
|
]
|
|
18796
18796
|
}
|
|
@@ -18871,8 +18871,8 @@ function OpenFrameSsoLoginForm({
|
|
|
18871
18871
|
className
|
|
18872
18872
|
}) {
|
|
18873
18873
|
const fieldsDisabled = disabled || loading;
|
|
18874
|
-
const emailErr =
|
|
18875
|
-
const passwordErr =
|
|
18874
|
+
const emailErr = _chunkLJG7HOZUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _426 => _426.email]), email);
|
|
18875
|
+
const passwordErr = _chunkLJG7HOZUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _427 => _427.password]), password);
|
|
18876
18876
|
const handleKeyDown = (event) => {
|
|
18877
18877
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18878
18878
|
onSubmit();
|
|
@@ -18977,7 +18977,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18977
18977
|
className
|
|
18978
18978
|
}) {
|
|
18979
18979
|
const fieldsDisabled = disabled || loading;
|
|
18980
|
-
const emailErr =
|
|
18980
|
+
const emailErr = _chunkLJG7HOZUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _428 => _428.email]), email);
|
|
18981
18981
|
const handleKeyDown = (event) => {
|
|
18982
18982
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18983
18983
|
onSubmit();
|
|
@@ -19082,8 +19082,8 @@ function PasswordResetForm({
|
|
|
19082
19082
|
className
|
|
19083
19083
|
}) {
|
|
19084
19084
|
const fieldsDisabled = disabled || loading;
|
|
19085
|
-
const passwordErr =
|
|
19086
|
-
const confirmErr =
|
|
19085
|
+
const passwordErr = _chunkLJG7HOZUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _429 => _429.password]), password);
|
|
19086
|
+
const confirmErr = _chunkLJG7HOZUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _430 => _430.confirmPassword]), confirmPassword);
|
|
19087
19087
|
const handleKeyDown = (event) => {
|
|
19088
19088
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19089
19089
|
onSubmit();
|
|
@@ -19234,7 +19234,7 @@ function SsoJoinForm({
|
|
|
19234
19234
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
19235
19235
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
19236
19236
|
] }),
|
|
19237
|
-
roles.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xs)]", children: roles.map((role) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19237
|
+
roles.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xs)]", children: roles.map((role) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Tag, { variant: "grey", label: role }, role)) })
|
|
19238
19238
|
] }),
|
|
19239
19239
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19240
19240
|
CheckboxBlock,
|
|
@@ -19690,7 +19690,7 @@ function CommandBox({
|
|
|
19690
19690
|
onClick: onCopy,
|
|
19691
19691
|
"aria-label": copyAriaLabel,
|
|
19692
19692
|
className: "shrink-0 rounded-md text-ods-text-secondary transition-colors hover:text-ods-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
19693
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19693
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Copy02Icon, { className: "h-5 w-5" })
|
|
19694
19694
|
}
|
|
19695
19695
|
)
|
|
19696
19696
|
] }) : commandText,
|
|
@@ -20135,7 +20135,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20135
20135
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
20136
20136
|
title: config.title,
|
|
20137
20137
|
loading: "eager",
|
|
20138
|
-
...
|
|
20138
|
+
..._chunkWNRXPOOHcjs.fetchPriorityProp.call(void 0, "high")
|
|
20139
20139
|
},
|
|
20140
20140
|
iframeKey
|
|
20141
20141
|
),
|
|
@@ -20559,7 +20559,7 @@ var FiltersDropdown = ({
|
|
|
20559
20559
|
window.addEventListener("resize", calculateOptimalPlacement);
|
|
20560
20560
|
return () => window.removeEventListener("resize", calculateOptimalPlacement);
|
|
20561
20561
|
}, [isOpen, isMobile, placement]);
|
|
20562
|
-
|
|
20562
|
+
_chunkWJ3NCHI6cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
20563
20563
|
const dropdown = dropdownRef.current;
|
|
20564
20564
|
if (!dropdown) return;
|
|
20565
20565
|
if (!isMobile) {
|
|
@@ -20985,7 +20985,7 @@ function MediaGalleryManager({
|
|
|
20985
20985
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: _chunkOQHFHKUGcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? (
|
|
20986
20986
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
20987
20987
|
// fit="cover" crops to the aspect-video cell.
|
|
20988
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20988
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
20989
20989
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20990
20990
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
20991
20991
|
{
|
|
@@ -21372,7 +21372,7 @@ function PathsDisplay({
|
|
|
21372
21372
|
onClick: () => onCopyPath(path),
|
|
21373
21373
|
"aria-label": `Copy ${path}`,
|
|
21374
21374
|
className: "shrink-0 rounded-md text-ods-text-secondary transition-colors hover:text-ods-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
21375
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21375
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Copy02Icon, { className: copyIconSize })
|
|
21376
21376
|
}
|
|
21377
21377
|
)
|
|
21378
21378
|
] }, path)) })
|
|
@@ -21434,7 +21434,7 @@ function PlatformFilterComponent({
|
|
|
21434
21434
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
21435
21435
|
size,
|
|
21436
21436
|
onClick: () => onPlatformChange(platform.value),
|
|
21437
|
-
leftIcon: showIcons ?
|
|
21437
|
+
leftIcon: showIcons ? _chunkLJG7HOZUcjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
21438
21438
|
className: "text-h3",
|
|
21439
21439
|
children: platform.label
|
|
21440
21440
|
},
|
|
@@ -23236,9 +23236,9 @@ function PushButtonSelector({
|
|
|
23236
23236
|
option.id
|
|
23237
23237
|
);
|
|
23238
23238
|
if (option.disabled && option.disabledReason) {
|
|
23239
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23240
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23241
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23239
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.Tooltip, { children: [
|
|
23240
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
23241
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
23242
23242
|
] }, option.id);
|
|
23243
23243
|
}
|
|
23244
23244
|
return optionEl;
|
|
@@ -23283,7 +23283,7 @@ function PushButtonSelector({
|
|
|
23283
23283
|
lazyLoad.isFetchingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-2 text-center text-ods-text-secondary text-h6", children: "Loading more\u2026" }) : null
|
|
23284
23284
|
] }) : null
|
|
23285
23285
|
] });
|
|
23286
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23286
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
23287
23287
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
23288
23288
|
searchInput,
|
|
23289
23289
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23456,7 +23456,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23456
23456
|
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children: _chunkOQHFHKUGcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo" ? (
|
|
23457
23457
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
23458
23458
|
// fit="cover" crops to the aspect-video cell.
|
|
23459
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23459
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23460
23460
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23461
23461
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
23462
23462
|
{
|
|
@@ -23589,8 +23589,8 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
23589
23589
|
}
|
|
23590
23590
|
)
|
|
23591
23591
|
] }),
|
|
23592
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23593
|
-
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23592
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
23593
|
+
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
23594
23594
|
]
|
|
23595
23595
|
}
|
|
23596
23596
|
);
|
|
@@ -24451,7 +24451,7 @@ function VideoBitesDisplay({
|
|
|
24451
24451
|
filterPublished = true,
|
|
24452
24452
|
showTitle = true
|
|
24453
24453
|
}) {
|
|
24454
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24454
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24455
24455
|
}
|
|
24456
24456
|
|
|
24457
24457
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24520,7 +24520,7 @@ function WalkthroughVideo({
|
|
|
24520
24520
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24521
24521
|
};
|
|
24522
24522
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
24523
|
-
const hydrated =
|
|
24523
|
+
const hydrated = _chunkWNRXPOOHcjs.useIsHydrated.call(void 0, );
|
|
24524
24524
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24525
24525
|
if (!hydrated) return false;
|
|
24526
24526
|
try {
|
|
@@ -24917,7 +24917,7 @@ function WalkthroughVideo({
|
|
|
24917
24917
|
},
|
|
24918
24918
|
children: [
|
|
24919
24919
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24920
|
-
|
|
24920
|
+
_chunkWNRXPOOHcjs.VideoHoverPreviewSurface,
|
|
24921
24921
|
{
|
|
24922
24922
|
url: video.mainVideoUrl || "",
|
|
24923
24923
|
posterUrl: video.posterUrl,
|
|
@@ -24940,7 +24940,7 @@ function WalkthroughVideo({
|
|
|
24940
24940
|
`card-${embedUrlKey}`
|
|
24941
24941
|
) }),
|
|
24942
24942
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24943
|
-
|
|
24943
|
+
_chunkWNRXPOOHcjs.CardHitLayer,
|
|
24944
24944
|
{
|
|
24945
24945
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24946
24946
|
onPointerDown: pausePreviewNow,
|
|
@@ -24949,7 +24949,7 @@ function WalkthroughVideo({
|
|
|
24949
24949
|
}
|
|
24950
24950
|
),
|
|
24951
24951
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "pointer-events-none absolute bottom-[var(--spacing-system-xsf)] left-[var(--spacing-system-xsf)] z-20 flex max-w-[calc(100%-2*var(--spacing-system-xsf))] items-center gap-[var(--spacing-system-xsf)] rounded-full bg-ods-overlay py-[var(--spacing-system-xxs)] pl-[var(--spacing-system-xxs)] pr-[var(--spacing-system-sf)] text-ods-text-primary text-h6", children: [
|
|
24952
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24952
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
24953
24953
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
24954
24954
|
] }),
|
|
24955
24955
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24962,7 +24962,7 @@ function WalkthroughVideo({
|
|
|
24962
24962
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24963
24963
|
onClick: onUnmuteOrPlay,
|
|
24964
24964
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
24965
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24965
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.VideoUnmuteGlyph, {})
|
|
24966
24966
|
}
|
|
24967
24967
|
),
|
|
24968
24968
|
showPlaybackControls && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute left-[var(--spacing-system-xsf)] top-[var(--spacing-system-xsf)] z-30 flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -24976,7 +24976,7 @@ function WalkthroughVideo({
|
|
|
24976
24976
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24977
24977
|
onClick: onToggleMute,
|
|
24978
24978
|
className: _chunk23V5BSHDcjs.cn.call(void 0, showBigUnmute && !controlIsPlay && "sm:hidden"),
|
|
24979
|
-
children: cardMuted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24979
|
+
children: cardMuted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.VolumeXmarkIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.VolumeUpIcon, {})
|
|
24980
24980
|
}
|
|
24981
24981
|
),
|
|
24982
24982
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24988,7 +24988,7 @@ function WalkthroughVideo({
|
|
|
24988
24988
|
title: controlIsPlay ? "Play" : "Pause",
|
|
24989
24989
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24990
24990
|
onClick: onTogglePlay,
|
|
24991
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24991
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PlayIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PauseIcon, {})
|
|
24992
24992
|
}
|
|
24993
24993
|
)
|
|
24994
24994
|
] }),
|
|
@@ -25001,7 +25001,7 @@ function WalkthroughVideo({
|
|
|
25001
25001
|
onPointerDown: pausePreviewNow,
|
|
25002
25002
|
onClick: dismiss,
|
|
25003
25003
|
className: "absolute right-[var(--spacing-system-xsf)] top-[var(--spacing-system-xsf)] z-40",
|
|
25004
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25004
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkIcon, {})
|
|
25005
25005
|
}
|
|
25006
25006
|
)
|
|
25007
25007
|
]
|
|
@@ -25055,7 +25055,7 @@ function WalkthroughVideo({
|
|
|
25055
25055
|
children: [
|
|
25056
25056
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
25057
25057
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25058
|
-
|
|
25058
|
+
_chunkWNRXPOOHcjs.Video,
|
|
25059
25059
|
{
|
|
25060
25060
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
25061
25061
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -25086,7 +25086,7 @@ function WalkthroughVideo({
|
|
|
25086
25086
|
size: "icon-sm",
|
|
25087
25087
|
"aria-label": "Close",
|
|
25088
25088
|
className: "absolute right-[var(--spacing-system-sf)] top-[var(--spacing-system-sf)] z-10",
|
|
25089
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25089
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkIcon, {})
|
|
25090
25090
|
}
|
|
25091
25091
|
) })
|
|
25092
25092
|
]
|
|
@@ -25106,7 +25106,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
25106
25106
|
var _reactquery = require('@tanstack/react-query');
|
|
25107
25107
|
function useWalkthroughVideo(opts) {
|
|
25108
25108
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
25109
|
-
const captions =
|
|
25109
|
+
const captions = _chunkWNRXPOOHcjs.useCaptions.call(void 0, );
|
|
25110
25110
|
const query = _reactquery.useQuery.call(void 0, {
|
|
25111
25111
|
queryKey: ["walkthrough-video", endpoint],
|
|
25112
25112
|
enabled,
|
|
@@ -25304,7 +25304,7 @@ function VideoSourceSelector({
|
|
|
25304
25304
|
}
|
|
25305
25305
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
25306
25306
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
25307
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25307
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
25308
25308
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25309
25309
|
"button",
|
|
25310
25310
|
{
|
|
@@ -25339,7 +25339,7 @@ function SubtitlesEditor({
|
|
|
25339
25339
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
25340
25340
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { htmlFor: id, children: label }),
|
|
25341
25341
|
isAIGenerated && subtitles && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
|
|
25342
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25342
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.StandardCcIcon, { size: 12 }),
|
|
25343
25343
|
"AI Generated"
|
|
25344
25344
|
] })
|
|
25345
25345
|
] }),
|
|
@@ -25828,7 +25828,7 @@ function HighlightVideoSection({
|
|
|
25828
25828
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25829
25829
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25830
25830
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25831
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25831
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25832
25832
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25833
25833
|
"button",
|
|
25834
25834
|
{
|
|
@@ -26538,7 +26538,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26538
26538
|
if (level) onPermissionChange(categoryId, policy.id, level);
|
|
26539
26539
|
};
|
|
26540
26540
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0 md:items-center", children: [
|
|
26541
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26541
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWJ3NCHI6cjs.ToolIcon, { toolType: policy.toolName, size: 16 }) }),
|
|
26542
26542
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
26543
26543
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h4", title: policy.name, children: policy.name }),
|
|
26544
26544
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "break-all text-ods-text-secondary text-h6", children: policy.commandPattern }),
|
|
@@ -26564,7 +26564,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26564
26564
|
] });
|
|
26565
26565
|
};
|
|
26566
26566
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
26567
|
-
const { innerRef, containerStyle } =
|
|
26567
|
+
const { innerRef, containerStyle } = _chunkWNRXPOOHcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
26568
26568
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
26569
26569
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26570
26570
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26729,10 +26729,10 @@ function WaitlistForm({
|
|
|
26729
26729
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26730
26730
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
26731
26731
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
26732
|
-
const { toast } =
|
|
26733
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
26732
|
+
const { toast } = _chunkLJG7HOZUcjs.useToast.call(void 0, );
|
|
26733
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkLJG7HOZUcjs.useHumanitySignals.call(void 0, );
|
|
26734
26734
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26735
|
-
const isClient =
|
|
26735
|
+
const isClient = _chunkWNRXPOOHcjs.useIsHydrated.call(void 0, );
|
|
26736
26736
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26737
26737
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26738
26738
|
const isMailDomainGeneric = hasGenericEmailDomain(email);
|
|
@@ -27280,7 +27280,7 @@ function useContainedResizableSize({
|
|
|
27280
27280
|
const clampToContainer = _react.useCallback.call(void 0,
|
|
27281
27281
|
(value) => {
|
|
27282
27282
|
const effectiveMax = available > 0 ? Math.min(maxSize, available - 40) : maxSize;
|
|
27283
|
-
return
|
|
27283
|
+
return _chunkWJ3NCHI6cjs.clamp.call(void 0, value, minSize, Math.max(minSize, effectiveMax));
|
|
27284
27284
|
},
|
|
27285
27285
|
[available, minSize, maxSize]
|
|
27286
27286
|
);
|
|
@@ -27512,7 +27512,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27512
27512
|
"data-state": open ? "open" : "closed",
|
|
27513
27513
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
27514
27514
|
"absolute inset-0 z-[102] outline-none data-[state=closed]:pointer-events-none data-[state=open]:pointer-events-auto data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
27515
|
-
|
|
27515
|
+
_chunkWNRXPOOHcjs.OVERLAY_BACKDROP_CLASS,
|
|
27516
27516
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
27517
27517
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
27518
27518
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -27588,11 +27588,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27588
27588
|
}
|
|
27589
27589
|
);
|
|
27590
27590
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
27591
|
-
var AppLayoutDrawerHeader =
|
|
27592
|
-
var AppLayoutDrawerTitle =
|
|
27593
|
-
var AppLayoutDrawerDescription =
|
|
27594
|
-
var AppLayoutDrawerBody =
|
|
27595
|
-
var AppLayoutDrawerFooter =
|
|
27591
|
+
var AppLayoutDrawerHeader = _chunkWNRXPOOHcjs.DrawerHeader;
|
|
27592
|
+
var AppLayoutDrawerTitle = _chunkWNRXPOOHcjs.DrawerTitle;
|
|
27593
|
+
var AppLayoutDrawerDescription = _chunkWNRXPOOHcjs.DrawerDescription;
|
|
27594
|
+
var AppLayoutDrawerBody = _chunkWNRXPOOHcjs.DrawerBody;
|
|
27595
|
+
var AppLayoutDrawerFooter = _chunkWNRXPOOHcjs.DrawerFooter;
|
|
27596
27596
|
|
|
27597
27597
|
// src/components/features/notifications/notification-tile.tsx
|
|
27598
27598
|
|
|
@@ -27678,20 +27678,20 @@ function NotificationTile({
|
|
|
27678
27678
|
height: 16,
|
|
27679
27679
|
unoptimized: true
|
|
27680
27680
|
}
|
|
27681
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
27681
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkLJG7HOZUcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27682
27682
|
type ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "min-w-0 flex-1 truncate text-h5", typeColorByVariant[accentVariant]), title: type, children: type }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1" }),
|
|
27683
|
-
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
27683
|
+
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkWNRXPOOHcjs.formatTicketRelativeTime.call(void 0, createdAtIso) }) : null,
|
|
27684
27684
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
27685
27685
|
{
|
|
27686
27686
|
active: isLive,
|
|
27687
27687
|
label: "Dismiss notification",
|
|
27688
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27688
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkIcon, { size: 16 }),
|
|
27689
27689
|
onClick: () => _optionalChain([onSettle, 'optionalCall', _580 => _580(id)])
|
|
27690
27690
|
},
|
|
27691
27691
|
{
|
|
27692
27692
|
active: !isLive,
|
|
27693
27693
|
label: "Mark notification complete",
|
|
27694
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27694
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckCircleIcon, { size: 16 }),
|
|
27695
27695
|
onClick: () => onComplete(id)
|
|
27696
27696
|
}
|
|
27697
27697
|
].map(({ active, label, icon: actionIcon, onClick }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -27725,7 +27725,7 @@ function NotificationTile({
|
|
|
27725
27725
|
"div",
|
|
27726
27726
|
{
|
|
27727
27727
|
"aria-hidden": true,
|
|
27728
|
-
className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left",
|
|
27728
|
+
className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left", _chunkLJG7HOZUcjs.progressColorByVariant[accentVariant]),
|
|
27729
27729
|
style: {
|
|
27730
27730
|
animation: `toast-progress ${liveDurationMs}ms linear forwards`,
|
|
27731
27731
|
animationDelay: `-${initialElapsed}ms`
|
|
@@ -27777,7 +27777,7 @@ function NotificationDrawer({
|
|
|
27777
27777
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27778
27778
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27779
27779
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-m)] pt-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27780
|
-
|
|
27780
|
+
_chunkWNRXPOOHcjs.DrawerTitle,
|
|
27781
27781
|
{
|
|
27782
27782
|
hideClose: true,
|
|
27783
27783
|
className: "truncate",
|
|
@@ -27836,8 +27836,8 @@ function NotificationDrawer({
|
|
|
27836
27836
|
}
|
|
27837
27837
|
) });
|
|
27838
27838
|
}
|
|
27839
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27840
|
-
|
|
27839
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27840
|
+
_chunkWNRXPOOHcjs.DrawerContent,
|
|
27841
27841
|
{
|
|
27842
27842
|
side: "right",
|
|
27843
27843
|
"aria-describedby": void 0,
|
|
@@ -27928,7 +27928,7 @@ function DrawerLoadingTiles() {
|
|
|
27928
27928
|
}
|
|
27929
27929
|
function EmptyState() {
|
|
27930
27930
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-center justify-center gap-[var(--spacing-system-xs)] py-[var(--spacing-system-l)]", children: [
|
|
27931
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27931
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.BellOffIcon, { size: 24, className: "text-ods-text-secondary" }),
|
|
27932
27932
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "No new notifications" })
|
|
27933
27933
|
] });
|
|
27934
27934
|
}
|
|
@@ -27942,7 +27942,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
27942
27942
|
] });
|
|
27943
27943
|
}
|
|
27944
27944
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
27945
|
-
const { supported, permission, request } =
|
|
27945
|
+
const { supported, permission, request } = _chunkLJG7HOZUcjs.useNotificationPermission.call(void 0, );
|
|
27946
27946
|
if (!supported) return null;
|
|
27947
27947
|
const blocked = permission === "denied";
|
|
27948
27948
|
const handleChange = async (value) => {
|
|
@@ -27976,10 +27976,10 @@ function NotificationsHistoryButton({ onClick, historyHref }) {
|
|
|
27976
27976
|
fullWidth: true,
|
|
27977
27977
|
onClick,
|
|
27978
27978
|
mainDisabled: !onClick,
|
|
27979
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27979
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ClockHistoryIcon, { className: "text-ods-text-secondary" }),
|
|
27980
27980
|
groupAriaLabel: "Notifications history",
|
|
27981
27981
|
iconAction: {
|
|
27982
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27982
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ArrowRightUpIcon, { className: "text-ods-text-secondary" }),
|
|
27983
27983
|
"aria-label": "Open notifications history in a new tab",
|
|
27984
27984
|
href: historyHref,
|
|
27985
27985
|
openInNewTab: true,
|
|
@@ -28112,13 +28112,13 @@ function getApprovalMeta(notification) {
|
|
|
28112
28112
|
function resolutionToStatus(resolution) {
|
|
28113
28113
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
28114
28114
|
case "APPROVED":
|
|
28115
|
-
return
|
|
28115
|
+
return _chunkWNRXPOOHcjs.APPROVAL_STATUS.APPROVED;
|
|
28116
28116
|
case "REJECTED":
|
|
28117
|
-
return
|
|
28117
|
+
return _chunkWNRXPOOHcjs.APPROVAL_STATUS.REJECTED;
|
|
28118
28118
|
case "CANCELLED":
|
|
28119
|
-
return
|
|
28119
|
+
return _chunkWNRXPOOHcjs.APPROVAL_STATUS.CANCELLED;
|
|
28120
28120
|
default:
|
|
28121
|
-
return
|
|
28121
|
+
return _chunkWNRXPOOHcjs.APPROVAL_STATUS.PENDING;
|
|
28122
28122
|
}
|
|
28123
28123
|
}
|
|
28124
28124
|
function approvalMetaToBatchData(approval) {
|
|
@@ -28158,7 +28158,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28158
28158
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _599 => _599.resolution]));
|
|
28159
28159
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28160
28160
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28161
|
-
const { innerRef, containerStyle } =
|
|
28161
|
+
const { innerRef, containerStyle } = _chunkWNRXPOOHcjs.useCollapsible.call(void 0, { expanded });
|
|
28162
28162
|
if (!approval || !batchData) return null;
|
|
28163
28163
|
const tileNotification = {
|
|
28164
28164
|
...notification,
|
|
@@ -28211,7 +28211,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28211
28211
|
}
|
|
28212
28212
|
)
|
|
28213
28213
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28214
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28214
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ApprovalStatusTag, { status }),
|
|
28215
28215
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
28216
28216
|
"by ",
|
|
28217
28217
|
approval.resolvedByName
|
|
@@ -28229,12 +28229,12 @@ function ApprovalRequestNotificationTile({
|
|
|
28229
28229
|
"aria-expanded": expanded,
|
|
28230
28230
|
"aria-label": toggleLabel,
|
|
28231
28231
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
28232
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28232
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.ExpandChevron, { expanded })
|
|
28233
28233
|
}
|
|
28234
28234
|
)
|
|
28235
28235
|
] }),
|
|
28236
28236
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-t border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28237
|
-
|
|
28237
|
+
_chunkWNRXPOOHcjs.ApprovalBatchMessage,
|
|
28238
28238
|
{
|
|
28239
28239
|
data: batchData,
|
|
28240
28240
|
showExecutionStatus: false,
|
|
@@ -28310,7 +28310,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
28310
28310
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
28311
28311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
28312
28312
|
] }),
|
|
28313
|
-
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28313
|
+
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
28314
28314
|
] });
|
|
28315
28315
|
}
|
|
28316
28316
|
function TimeTrackerPanel({
|
|
@@ -28417,7 +28417,7 @@ function TimeTrackerPanel({
|
|
|
28417
28417
|
onClick: onClose,
|
|
28418
28418
|
"aria-label": "Close time tracker",
|
|
28419
28419
|
className: "absolute right-[var(--spacing-system-sf)] top-[var(--spacing-system-sf)] hidden text-ods-text-secondary hover:text-ods-text-primary md:inline-flex [&_svg]:!size-6",
|
|
28420
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28420
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkIcon, {})
|
|
28421
28421
|
}
|
|
28422
28422
|
),
|
|
28423
28423
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
@@ -28453,7 +28453,7 @@ function TimeTrackerPanel({
|
|
|
28453
28453
|
disabled: isStarting,
|
|
28454
28454
|
"aria-label": isRunning ? "Pause tracking" : isActive ? "Resume tracking" : "Start tracking",
|
|
28455
28455
|
className: "h-auto w-auto rounded-none transition-none [&_svg]:!size-6",
|
|
28456
|
-
children: isRunning ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28456
|
+
children: isRunning ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PauseIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PlayIcon, {})
|
|
28457
28457
|
}
|
|
28458
28458
|
),
|
|
28459
28459
|
isActive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -28465,7 +28465,7 @@ function TimeTrackerPanel({
|
|
|
28465
28465
|
disabled: isSubmitting,
|
|
28466
28466
|
"aria-label": "Finish and save tracking",
|
|
28467
28467
|
className: "h-auto w-auto rounded-none border-l border-ods-border [&_svg]:!size-6",
|
|
28468
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28468
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckCircleIcon, {})
|
|
28469
28469
|
}
|
|
28470
28470
|
)
|
|
28471
28471
|
] }),
|
|
@@ -28518,7 +28518,7 @@ function TimeTrackerPanel({
|
|
|
28518
28518
|
),
|
|
28519
28519
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
28520
28520
|
visibleEntries.length === 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[268px] flex-col items-center justify-center gap-[var(--spacing-system-l)] p-[var(--spacing-system-l)] text-center text-ods-text-secondary", children: [
|
|
28521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ClockHistoryIcon, { className: "size-6" }),
|
|
28522
28522
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
28523
28523
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-medium text-h4", children: "No time logged" }),
|
|
28524
28524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6", children: "Last entries will appear here" })
|
|
@@ -28535,7 +28535,7 @@ function TimeTrackerPanel({
|
|
|
28535
28535
|
className: "min-w-0",
|
|
28536
28536
|
onClick: handleManualEntry,
|
|
28537
28537
|
disabled: !onManualEntry,
|
|
28538
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28538
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PlusCircleIcon, { className: "text-ods-text-secondary" }),
|
|
28539
28539
|
children: "Manual Entry"
|
|
28540
28540
|
}
|
|
28541
28541
|
),
|
|
@@ -28550,7 +28550,7 @@ function TimeTrackerPanel({
|
|
|
28550
28550
|
mainDisabled: !onOpenMyTime,
|
|
28551
28551
|
groupAriaLabel: "Open my time",
|
|
28552
28552
|
iconAction: {
|
|
28553
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28553
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ArrowRightUpIcon, { size: 24 }),
|
|
28554
28554
|
"aria-label": "Open my time in a new view",
|
|
28555
28555
|
onClick: onOpenMyTimeMenu,
|
|
28556
28556
|
disabled: !onOpenMyTimeMenu,
|
|
@@ -28570,19 +28570,19 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28570
28570
|
function StatusTag({ status }) {
|
|
28571
28571
|
if (status === "tracking") {
|
|
28572
28572
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28573
|
-
|
|
28573
|
+
_chunkWNRXPOOHcjs.Tag,
|
|
28574
28574
|
{
|
|
28575
28575
|
variant: "success",
|
|
28576
28576
|
className: STATUS_TAG_SKIN,
|
|
28577
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28577
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.DotsLoaderIcon, { className: "h-4 w-4" }),
|
|
28578
28578
|
label: "Tracking"
|
|
28579
28579
|
}
|
|
28580
28580
|
);
|
|
28581
28581
|
}
|
|
28582
28582
|
if (status === "paused") {
|
|
28583
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28583
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
28584
28584
|
}
|
|
28585
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28585
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28586
28586
|
}
|
|
28587
28587
|
function LastEntryRow({ entry, onClick }) {
|
|
28588
28588
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0", children: [
|
|
@@ -28603,7 +28603,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
28603
28603
|
disabled: !onClick,
|
|
28604
28604
|
"aria-label": `Open entry: ${entry.title}`,
|
|
28605
28605
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
28606
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28606
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02RightIcon, {})
|
|
28607
28607
|
}
|
|
28608
28608
|
)
|
|
28609
28609
|
] });
|
|
@@ -28726,7 +28726,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28726
28726
|
),
|
|
28727
28727
|
icon: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28728
28728
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28729
|
-
|
|
28729
|
+
_chunkH7PSOPWMcjs.ClockHistoryIcon,
|
|
28730
28730
|
{
|
|
28731
28731
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "h-6 w-6", isPaused ? "text-ods-text-secondary" : isActive && "text-ods-accent")
|
|
28732
28732
|
}
|
|
@@ -28751,7 +28751,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28751
28751
|
"data-state": isOpen ? "open" : "closed",
|
|
28752
28752
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
28753
28753
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28754
|
-
|
|
28754
|
+
_chunkWNRXPOOHcjs.OVERLAY_BACKDROP_CLASS,
|
|
28755
28755
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28756
28756
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28757
28757
|
)
|
|
@@ -28905,7 +28905,7 @@ function BoardColumnHeader({
|
|
|
28905
28905
|
}) {
|
|
28906
28906
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
28907
28907
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
28908
|
-
const useStatusVariant =
|
|
28908
|
+
const useStatusVariant = _chunkWNRXPOOHcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
28909
28909
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
28910
28910
|
if (collapsed) {
|
|
28911
28911
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -28917,11 +28917,11 @@ function BoardColumnHeader({
|
|
|
28917
28917
|
className: actionClass,
|
|
28918
28918
|
onClick: onToggleCollapse,
|
|
28919
28919
|
"aria-label": "Expand column",
|
|
28920
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28920
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Arrow02RightIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
28921
28921
|
}
|
|
28922
28922
|
),
|
|
28923
28923
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28924
|
-
|
|
28924
|
+
_chunkWNRXPOOHcjs.TicketStatusTag,
|
|
28925
28925
|
{
|
|
28926
28926
|
status: tagStatus,
|
|
28927
28927
|
label: column.label,
|
|
@@ -28934,11 +28934,11 @@ function BoardColumnHeader({
|
|
|
28934
28934
|
}
|
|
28935
28935
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28936
28936
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28937
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28937
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
28938
28938
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
28939
28939
|
] }),
|
|
28940
28940
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
28941
|
-
column.tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TouchFriendlyTooltip, { content: column.tooltip, side: "bottom", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "transparent", size: "icon", className: actionClass, "aria-label": column.tooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28941
|
+
column.tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TouchFriendlyTooltip, { content: column.tooltip, side: "bottom", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "transparent", size: "icon", className: actionClass, "aria-label": column.tooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.InfoCircleIcon, { className: "h-6 w-6 text-ods-text-secondary" }) }) }),
|
|
28942
28942
|
onToggleCollapse && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28943
28943
|
_chunkWRJVEB2Jcjs.Button,
|
|
28944
28944
|
{
|
|
@@ -28947,7 +28947,7 @@ function BoardColumnHeader({
|
|
|
28947
28947
|
className: actionClass,
|
|
28948
28948
|
onClick: onToggleCollapse,
|
|
28949
28949
|
"aria-label": "Collapse column",
|
|
28950
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28950
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Arrow02LeftIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
28951
28951
|
}
|
|
28952
28952
|
),
|
|
28953
28953
|
onArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -28958,7 +28958,7 @@ function BoardColumnHeader({
|
|
|
28958
28958
|
className: actionClass,
|
|
28959
28959
|
onClick: onArchive,
|
|
28960
28960
|
"aria-label": "Archive resolved tickets",
|
|
28961
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28961
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.BoxArchiveIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
28962
28962
|
}
|
|
28963
28963
|
),
|
|
28964
28964
|
onAddTicket && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -28969,7 +28969,7 @@ function BoardColumnHeader({
|
|
|
28969
28969
|
className: actionClass,
|
|
28970
28970
|
onClick: onAddTicket,
|
|
28971
28971
|
"aria-label": "Add ticket",
|
|
28972
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28972
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PlusIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
28973
28973
|
}
|
|
28974
28974
|
)
|
|
28975
28975
|
] })
|
|
@@ -29014,7 +29014,7 @@ function cardPositions(root) {
|
|
|
29014
29014
|
}
|
|
29015
29015
|
function useLaneScrollAnchor(scrollRef, tickets) {
|
|
29016
29016
|
const positionsRef = _react.useRef.call(void 0, []);
|
|
29017
|
-
|
|
29017
|
+
_chunkWJ3NCHI6cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
29018
29018
|
const root = scrollRef.current;
|
|
29019
29019
|
if (!root) return;
|
|
29020
29020
|
const previous = positionsRef.current;
|
|
@@ -29085,7 +29085,7 @@ function holdMoveDragEffect(element) {
|
|
|
29085
29085
|
|
|
29086
29086
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
29087
29087
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
29088
|
-
const { innerRef, containerStyle } =
|
|
29088
|
+
const { innerRef, containerStyle } = _chunkWNRXPOOHcjs.useCollapsible.call(void 0, { expanded });
|
|
29089
29089
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
29090
29090
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
29091
29091
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -29104,17 +29104,17 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
29104
29104
|
isAdmin ? "text-ods-open-yellow" : "text-ods-text-secondary"
|
|
29105
29105
|
),
|
|
29106
29106
|
children: [
|
|
29107
|
-
isAdmin ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29107
|
+
isAdmin ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ShieldCheckIcon, { className: "size-4 shrink-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.DotsLoaderIcon, { size: 16, className: "shrink-0" }),
|
|
29108
29108
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-1 truncate text-left", children: isAdmin ? "Technician approval required" : "Pending client approval" })
|
|
29109
29109
|
]
|
|
29110
29110
|
}
|
|
29111
29111
|
),
|
|
29112
|
-
expanded ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29112
|
+
expanded ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02UpIcon, { className: "size-4 shrink-0 text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02DownIcon, { className: "size-4 shrink-0 text-ods-text-secondary" })
|
|
29113
29113
|
]
|
|
29114
29114
|
}
|
|
29115
29115
|
),
|
|
29116
29116
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: "pt-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29117
|
-
|
|
29117
|
+
_chunkWNRXPOOHcjs.ApprovalBatchMessage,
|
|
29118
29118
|
{
|
|
29119
29119
|
className: "mb-0",
|
|
29120
29120
|
data: {
|
|
@@ -29186,13 +29186,13 @@ var ACTIVITY_DEFAULT_LABEL = {
|
|
|
29186
29186
|
var TICKET_CARD_SHELL = "relative flex flex-col gap-[var(--spacing-system-sf)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] select-none text-left";
|
|
29187
29187
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
29188
29188
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
29189
|
-
const newMessageTextColor = columnColor ?
|
|
29189
|
+
const newMessageTextColor = columnColor ? _chunkWNRXPOOHcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29190
29190
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _635 => _635.deviceHostnames, 'optionalAccess', _636 => _636.length]) || ticket.organizationName);
|
|
29191
29191
|
const deviceText = [_optionalChain([ticket, 'access', _637 => _637.deviceHostnames, 'optionalAccess', _638 => _638.join, 'call', _639 => _639(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29192
29192
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _640 => _640.assignees, 'optionalAccess', _641 => _641.length]) || renderAssignSlot);
|
|
29193
29193
|
const rightSection = hasRightSection ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
29194
29194
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29195
|
-
|
|
29195
|
+
_chunkH7PSOPWMcjs.Flag02Icon,
|
|
29196
29196
|
{
|
|
29197
29197
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "size-4", PRIORITY_COLOR_CLASS[ticket.priority]),
|
|
29198
29198
|
"aria-label": `Priority: ${ticket.priority}`
|
|
@@ -29225,8 +29225,8 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29225
29225
|
] })
|
|
29226
29226
|
] }) : null
|
|
29227
29227
|
] }) : null;
|
|
29228
|
-
const timestampLabel = ticket.createdAt ?
|
|
29229
|
-
const tooltipLabel = ticket.createdAt ?
|
|
29228
|
+
const timestampLabel = ticket.createdAt ? _chunkWNRXPOOHcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
29229
|
+
const tooltipLabel = ticket.createdAt ? _chunkWNRXPOOHcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
29230
29230
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
29231
29231
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29232
29232
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
@@ -29240,12 +29240,12 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29240
29240
|
rightSection
|
|
29241
29241
|
] }),
|
|
29242
29242
|
_optionalChain([ticket, 'access', _644 => _644.tags, 'optionalAccess', _645 => _645.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29243
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29244
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29245
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29243
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWNRXPOOHcjs.Tooltip, { children: [
|
|
29244
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: metaLabel }) }),
|
|
29245
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.TooltipContent, { children: tooltipLabel })
|
|
29246
29246
|
] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: metaLabel })),
|
|
29247
29247
|
ticket.escalatedByUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] text-ods-open-yellow text-h6", children: [
|
|
29248
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29248
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
29249
29249
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Escalated by User" })
|
|
29250
29250
|
] }),
|
|
29251
29251
|
ticket.activity && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -29256,16 +29256,16 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29256
29256
|
ticket.activity.kind === "stale" ? "text-ods-open-yellow" : "text-ods-text-secondary"
|
|
29257
29257
|
),
|
|
29258
29258
|
children: [
|
|
29259
|
-
ticket.activity.kind === "stale" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29259
|
+
ticket.activity.kind === "stale" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ClockIcon, { className: "size-4 shrink-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.DotsLoaderIcon, { className: "size-4 shrink-0" }),
|
|
29260
29260
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: _nullishCoalesce(ticket.activity.label, () => ( ACTIVITY_DEFAULT_LABEL[ticket.activity.kind])) })
|
|
29261
29261
|
]
|
|
29262
29262
|
}
|
|
29263
29263
|
),
|
|
29264
29264
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29265
|
-
|
|
29265
|
+
_chunkWNRXPOOHcjs.Tag,
|
|
29266
29266
|
{
|
|
29267
29267
|
label: "New Message",
|
|
29268
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29268
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
29269
29269
|
className: "w-fit shrink-0",
|
|
29270
29270
|
style: { backgroundColor: columnColor, color: newMessageTextColor }
|
|
29271
29271
|
}
|
|
@@ -29477,8 +29477,8 @@ function TicketTagRow({ tags }) {
|
|
|
29477
29477
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
29478
29478
|
const hidden = tags.length - visible.length;
|
|
29479
29479
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
29480
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29481
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29480
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
29481
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWNRXPOOHcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
29482
29482
|
] });
|
|
29483
29483
|
}
|
|
29484
29484
|
|
|
@@ -29701,7 +29701,7 @@ function EmptyState2({ columnId, touchMode }) {
|
|
|
29701
29701
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, ...{ [DROP_LINE_ATTRIBUTE]: "" }, className: "h-0.5 shrink-0 rounded-full bg-ods-accent" });
|
|
29702
29702
|
}
|
|
29703
29703
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-center justify-center gap-[var(--spacing-system-lf)] p-[var(--spacing-system-lf)] text-center text-ods-text-secondary", children: [
|
|
29704
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29704
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.TagIcon, { className: "h-6 w-6 shrink-0" }),
|
|
29705
29705
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
29706
29706
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: "No tickets here" }),
|
|
29707
29707
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6", children: touchMode ? "Change a ticket's status to move it to this column" : "Drag a ticket here or change its status to move it to this column" })
|
|
@@ -29720,7 +29720,7 @@ function resolveBoardDrop(columns, { source, target }) {
|
|
|
29720
29720
|
// src/components/features/board/use-board-collapse.ts
|
|
29721
29721
|
|
|
29722
29722
|
function useBoardCollapse(storageKey) {
|
|
29723
|
-
const [persisted, setPersisted] =
|
|
29723
|
+
const [persisted, setPersisted] = _chunkLJG7HOZUcjs.useLocalStorage.call(void 0, _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")), {});
|
|
29724
29724
|
const [memory, setMemory] = _react.useState.call(void 0, {});
|
|
29725
29725
|
const collapsed = storageKey ? persisted : memory;
|
|
29726
29726
|
const setMap = storageKey ? setPersisted : setMemory;
|
|
@@ -29791,7 +29791,7 @@ var DROP_EASING = "cubic-bezier(0.2, 0, 0, 1)";
|
|
|
29791
29791
|
var DRAG_PREVIEW_Z = 1200;
|
|
29792
29792
|
var ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"];
|
|
29793
29793
|
function Board(props) {
|
|
29794
|
-
const dragAndDropEnabled =
|
|
29794
|
+
const dragAndDropEnabled = _chunkWJ3NCHI6cjs.useMediaQuery.call(void 0, _chunkLJG7HOZUcjs.DRAG_AND_DROP_MEDIA_QUERY);
|
|
29795
29795
|
if (dragAndDropEnabled === void 0) {
|
|
29796
29796
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: _chunk23V5BSHDcjs.cn.call(void 0, "flex h-full min-h-0 flex-col", props.className) });
|
|
29797
29797
|
}
|
|
@@ -29823,7 +29823,7 @@ function DragBoard({
|
|
|
29823
29823
|
onThumbPointerDown,
|
|
29824
29824
|
onThumbPointerMove,
|
|
29825
29825
|
onThumbPointerUp
|
|
29826
|
-
} =
|
|
29826
|
+
} = _chunkLJG7HOZUcjs.useHorizontalScrollbar.call(void 0, );
|
|
29827
29827
|
const columnsRef = _react.useRef.call(void 0, columns);
|
|
29828
29828
|
const onChangeRef = _react.useRef.call(void 0, onChange);
|
|
29829
29829
|
const boardRef = _react.useRef.call(void 0, null);
|
|
@@ -30012,7 +30012,7 @@ function DragBoard({
|
|
|
30012
30012
|
})
|
|
30013
30013
|
);
|
|
30014
30014
|
}, []);
|
|
30015
|
-
|
|
30015
|
+
_chunkWJ3NCHI6cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
30016
30016
|
if (!landing) return void 0;
|
|
30017
30017
|
const finish = () => {
|
|
30018
30018
|
landingTimer.current = null;
|
|
@@ -30253,7 +30253,7 @@ function useSortableListContext() {
|
|
|
30253
30253
|
}
|
|
30254
30254
|
function SortableList({ onReorder, getItemLabel, disabled = false, className, children }) {
|
|
30255
30255
|
const listRef = _react.useRef.call(void 0, null);
|
|
30256
|
-
const dragAndDropEnabled =
|
|
30256
|
+
const dragAndDropEnabled = _chunkLJG7HOZUcjs.useDragAndDropEnabled.call(void 0, );
|
|
30257
30257
|
const dragType = _react.useId.call(void 0, );
|
|
30258
30258
|
const [announcement, setAnnouncement] = _react.useState.call(void 0, "");
|
|
30259
30259
|
const onReorderRef = _react.useRef.call(void 0, onReorder);
|
|
@@ -30345,7 +30345,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30345
30345
|
})
|
|
30346
30346
|
);
|
|
30347
30347
|
}, [dragType, disabled, dragAndDropEnabled, readItems, reorder]);
|
|
30348
|
-
|
|
30348
|
+
_chunkWJ3NCHI6cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
30349
30349
|
const from = flipFrom.current;
|
|
30350
30350
|
flipFrom.current = null;
|
|
30351
30351
|
if (!from) return;
|
|
@@ -30414,7 +30414,7 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
30414
30414
|
disabled: disabled || index <= 0,
|
|
30415
30415
|
onClick: () => move(-1),
|
|
30416
30416
|
className: "rounded-r-none border-r-0",
|
|
30417
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30417
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Arrow01UpIcon, {})
|
|
30418
30418
|
}
|
|
30419
30419
|
),
|
|
30420
30420
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30428,7 +30428,7 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
30428
30428
|
disabled: disabled || index >= count - 1,
|
|
30429
30429
|
onClick: () => move(1),
|
|
30430
30430
|
className: "rounded-l-none",
|
|
30431
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30431
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Arrow01DownIcon, {})
|
|
30432
30432
|
}
|
|
30433
30433
|
)
|
|
30434
30434
|
] });
|
|
@@ -31164,4 +31164,4 @@ function SortableRow({
|
|
|
31164
31164
|
|
|
31165
31165
|
|
|
31166
31166
|
exports.AllowedDomainsInput = AllowedDomainsInput; exports.AnnouncementBarView = AnnouncementBarView; exports.HiddenTagsPopup = HiddenTagsPopup; exports.TruncateText = TruncateText; exports.Autocomplete = Autocomplete; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePickerCalendar = DatePickerCalendar; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.InfoHint = InfoHint; exports.Field = Field; exports.HoneypotField = HoneypotField; exports.JsonDetailList = JsonDetailList; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.DeletedUserAvatar = DeletedUserAvatar; exports.SearchableSelect = SearchableSelect; exports.AssigneeDropdown = AssigneeDropdown; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoDataMessage = NoDataMessage; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.useConfirm = useConfirm; exports.useGuardedClose = useGuardedClose; exports.UnsavedChangesChip = UnsavedChangesChip; exports.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS = HUBSPOT_DO_NOT_COLLECT_FORM_PROPS; exports.AdminFormModal = AdminFormModal; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.FullscreenSwitchController = FullscreenSwitchController; exports.EmbedIframe = EmbedIframe; exports.EmbedViewerFrame = EmbedViewerFrame; exports.ClaudeEmbed = ClaudeEmbed; exports.FigmaEmbed = FigmaEmbed; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.MarkdownImage = MarkdownImage; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.MediaCarousel = MediaCarousel; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.SOCIAL_PLATFORM_ALIASES = SOCIAL_PLATFORM_ALIASES; exports.normalizeSocialPlatform = normalizeSocialPlatform; exports.hostMatches = hostMatches; exports.SOCIAL_PLATFORM_ALT_HOSTS = SOCIAL_PLATFORM_ALT_HOSTS; exports.socialPlatformHosts = socialPlatformHosts; exports.classifySocialHost = classifySocialHost; exports.pickSocialLink = pickSocialLink; exports.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.StatusIndicator = StatusIndicator; exports.BackButton = BackButton; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.TICKET_OPEN_PARAM = TICKET_OPEN_PARAM; exports.buildTicketOpenHref = buildTicketOpenHref; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.BITE_ID_RE = BITE_ID_RE; exports.generateBiteId = generateBiteId; exports.ensureBiteIds = ensureBiteIds; exports.matchBiteElement = matchBiteElement; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.isDismissedCookieValue = isDismissedCookieValue; exports.readDismissCookie = readDismissCookie; exports.writeDismissCookie = writeDismissCookie; exports.clearDismissCookie = clearDismissCookie; exports.announcementDismissCookieName = announcementDismissCookieName; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.WALKTHROUGH_VIDEO_DISMISS_KEY = WALKTHROUGH_VIDEO_DISMISS_KEY; exports.walkthroughDismissCookieName = walkthroughDismissCookieName; exports.isWalkthroughDismissed = isWalkthroughDismissed; exports.dismissWalkthrough = dismissWalkthrough; exports.clearWalkthroughDismissal = clearWalkthroughDismissal; exports.WALKTHROUGH_OPEN_QUERY_PARAM = WALKTHROUGH_OPEN_QUERY_PARAM; exports.withWalkthroughOpenParam = withWalkthroughOpenParam; exports.createSseSubscription = createSseSubscription; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.extractSections = extractSections; exports.SCHEDULING_SLUG_SHAPE = SCHEDULING_SLUG_SHAPE; exports.MAX_MONTH_OFFSET = MAX_MONTH_OFFSET; exports.normalizeSchedulingSlug = normalizeSchedulingSlug; exports.isValidSchedulingSlug = isValidSchedulingSlug; exports.parseSchedulingLinkName = parseSchedulingLinkName; exports.isListedSchedulingName = isListedSchedulingName; exports.schedulingAudienceKey = schedulingAudienceKey; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY; exports.sanitizeLandingUrl = sanitizeLandingUrl; exports.parseAttributionFromUrl = parseAttributionFromUrl; exports.captureFirstTouchAttribution = captureFirstTouchAttribution; exports.getFirstTouchAttribution = getFirstTouchAttribution; exports.withFirstTouchAttribution = withFirstTouchAttribution; exports.clearFirstTouchAttribution = clearFirstTouchAttribution; exports.ODS_SPACING_TOKENS = ODS_SPACING_TOKENS; exports.ODS_SPACING_TOKEN_PATTERN = ODS_SPACING_TOKEN_PATTERN; exports.ODS_SPACING_PROPS = ODS_SPACING_PROPS; exports.TAILWIND_STEP_TO_ODS_TOKEN = TAILWIND_STEP_TO_ODS_TOKEN; exports.CSV_CONTENT_TYPE = CSV_CONTENT_TYPE; exports.csvEscape = csvEscape; exports.toCsv = toCsv; exports.BenefitCard = BenefitCard; exports.benefitCardBorderClass = benefitCardBorderClass; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.SourceTooltip = SourceTooltip; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.PersonCell = PersonCell; exports.PeopleCell = PeopleCell; exports.TitleContentBlock = TitleContentBlock; exports.TouchFriendlyTooltip = TouchFriendlyTooltip; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DataTableSkeleton = DataTableSkeleton; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.PasswordInput = PasswordInput; exports.AccountDetailsFields = AccountDetailsFields; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.CompactAuthShell = CompactAuthShell; exports.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.NoAccountNotice = NoAccountNotice; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.SsoJoinForm = SsoJoinForm; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.CardSkeleton = CardSkeleton; exports.CardSkeletonGrid = CardSkeletonGrid; exports.AnnouncementBarSkeleton = AnnouncementBarSkeleton; exports.HeroSkeleton = HeroSkeleton; exports.SearchContainerSkeleton = SearchContainerSkeleton; exports.CategorySidebarSkeleton = CategorySidebarSkeleton; exports.BreadcrumbSkeleton = BreadcrumbSkeleton; exports.ResultsHeaderSkeleton = ResultsHeaderSkeleton; exports.TwoColumnLayoutSkeleton = TwoColumnLayoutSkeleton; exports.ArticleLayoutSkeleton = ArticleLayoutSkeleton; exports.VendorDetailLayoutSkeleton = VendorDetailLayoutSkeleton; exports.StatsSectionSkeleton = StatsSectionSkeleton; exports.BlogCardGridSkeleton = BlogCardGridSkeleton; exports.VendorGridSkeleton = VendorGridSkeleton; exports.SlackCommunitySkeleton = SlackCommunitySkeleton; exports.ContentLoadingContainer = ContentLoadingContainer; exports.useContentLoading = useContentLoading; exports.ParagraphSkeleton = ParagraphSkeleton; exports.ListSkeleton = ListSkeleton; exports.TableSkeleton = TableSkeleton; exports.FormSkeleton = FormSkeleton; exports.NavigationSkeleton = NavigationSkeleton; exports.ProfileSkeleton = ProfileSkeleton; exports.CommentSkeleton = CommentSkeleton; exports.FeatureListSkeleton = FeatureListSkeleton; exports.TimelineSkeleton = TimelineSkeleton; exports.PricingSkeleton = PricingSkeleton; exports.ProfileLoadingSkeleton = ProfileLoadingSkeleton; exports.MspProfileFormSkeleton = MspProfileFormSkeleton; exports.CategoryCardSkeleton = CategoryCardSkeleton; exports.CategoryVendorSelectorSkeleton = CategoryVendorSelectorSkeleton; exports.WizardLayoutSkeleton = WizardLayoutSkeleton; exports.MarginReportSkeleton = MarginReportSkeleton; exports.UsersGridSkeleton = UsersGridSkeleton; exports.DynamicSkeleton = DynamicSkeleton; exports.SkeletonPresets = SkeletonPresets; exports.PlatformSkeletonContainer = PlatformSkeletonContainer; exports.ProgressiveSkeleton = ProgressiveSkeleton; exports.OrganizationIconSkeleton = OrganizationIconSkeleton; exports.OrganizationCardSkeleton = OrganizationCardSkeleton; exports.OrganizationCardSkeletonGrid = OrganizationCardSkeletonGrid; exports.DeviceCardSkeleton = DeviceCardSkeleton; exports.DeviceCardSkeletonGrid = DeviceCardSkeletonGrid; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; exports.SOCIAL_ICON_COMPONENTS = SOCIAL_ICON_COMPONENTS; exports.SocialIconRow = SocialIconRow; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.FloatingWalkthroughVideo = FloatingWalkthroughVideo; exports.InlineWalkthroughVideo = InlineWalkthroughVideo; exports.useWalkthroughVideo = useWalkthroughVideo; exports.VideoSourceSelector = VideoSourceSelector; exports.SubtitlesEditor = SubtitlesEditor; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.AppLayoutDrawerContainerContext = AppLayoutDrawerContainerContext; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerCoordinationContext = AppLayoutDrawerCoordinationContext; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.UnreadDot = UnreadDot; exports.UnreadCountBadge = UnreadCountBadge; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCardBody = TicketCardBody; exports.TicketCardView = TicketCardView; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableList = SortableList; exports.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.DataTableEmpty = DataTableEmpty; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableHeader = DataTableHeader; exports.DATA_TABLE_HEADER_LABEL_CLASS = DATA_TABLE_HEADER_LABEL_CLASS; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.formatTestRunDuration = formatTestRunDuration; exports.TestResultsSkeleton = TestResultsSkeleton; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketDetailSection = TicketDetailSection; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.FilterPillRow = FilterPillRow; exports.LazyMount = LazyMount; exports.IconTile = IconTile;
|
|
31167
|
-
//# sourceMappingURL=chunk-
|
|
31167
|
+
//# sourceMappingURL=chunk-54L6IP5T.cjs.map
|