@flamingo-stack/openframe-frontend-core 0.0.639 → 0.0.640-2177.6279.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-FS3SPEOM.cjs → chunk-2TSVC3WA.cjs} +13 -13
- package/dist/{chunk-FS3SPEOM.cjs.map → chunk-2TSVC3WA.cjs.map} +1 -1
- package/dist/{chunk-HLNQEI37.js → chunk-3TDQW73P.js} +7 -7
- package/dist/{chunk-55A6UDFX.cjs → chunk-554L55DK.cjs} +80 -80
- package/dist/{chunk-55A6UDFX.cjs.map → chunk-554L55DK.cjs.map} +1 -1
- package/dist/{chunk-ROW65NXE.cjs → chunk-5DQEPZTV.cjs} +5 -5
- package/dist/{chunk-ROW65NXE.cjs.map → chunk-5DQEPZTV.cjs.map} +1 -1
- package/dist/{chunk-HTAYXKO3.cjs → chunk-5LMLEKLO.cjs} +50 -50
- package/dist/{chunk-HTAYXKO3.cjs.map → chunk-5LMLEKLO.cjs.map} +1 -1
- package/dist/{chunk-KMYM7GR4.js → chunk-AIUMGF4J.js} +6 -6
- package/dist/{chunk-W3FQLTHC.cjs → chunk-BSWD3FAX.cjs} +207 -207
- package/dist/{chunk-W3FQLTHC.cjs.map → chunk-BSWD3FAX.cjs.map} +1 -1
- package/dist/{chunk-5LIDR7HL.js → chunk-C3GXRBJD.js} +2 -2
- package/dist/{chunk-MN52OLWN.js → chunk-CRL3LR6Z.js} +7 -7
- package/dist/{chunk-TJHNLK4R.cjs → chunk-CSHOX2IA.cjs} +22 -22
- package/dist/{chunk-TJHNLK4R.cjs.map → chunk-CSHOX2IA.cjs.map} +1 -1
- package/dist/{chunk-B2VVPSXS.js → chunk-D4TYGJ5U.js} +5 -5
- package/dist/{chunk-7TSKDO2N.js → chunk-ECNZCOJD.js} +8 -8
- package/dist/{chunk-PMEFDI2N.cjs → chunk-GKB5GAUK.cjs} +24 -24
- package/dist/{chunk-PMEFDI2N.cjs.map → chunk-GKB5GAUK.cjs.map} +1 -1
- package/dist/{chunk-NG4HZLBM.cjs → chunk-GLEU3DKT.cjs} +49 -49
- package/dist/{chunk-NG4HZLBM.cjs.map → chunk-GLEU3DKT.cjs.map} +1 -1
- package/dist/{chunk-JJUV7Z4L.cjs → chunk-GNKM6R55.cjs} +15 -15
- package/dist/{chunk-JJUV7Z4L.cjs.map → chunk-GNKM6R55.cjs.map} +1 -1
- package/dist/{chunk-HQ7Z42JB.js → chunk-HYBPTBX7.js} +3 -3
- package/dist/{chunk-S6WBBSII.js → chunk-KEKN76JR.js} +3 -3
- package/dist/{chunk-MMPH67SQ.js → chunk-KN3EJP4D.js} +4 -4
- package/dist/{chunk-B7FT6Q4P.js → chunk-LMEIB7LK.js} +6 -6
- package/dist/{chunk-D3X2PABP.cjs → chunk-LQ7DJCA2.cjs} +11 -11
- package/dist/{chunk-D3X2PABP.cjs.map → chunk-LQ7DJCA2.cjs.map} +1 -1
- package/dist/{chunk-K3KSWFL3.js → chunk-NADSM5NR.js} +2 -2
- package/dist/{chunk-ZO4GGIHT.js → chunk-NWE2XGSC.js} +4 -4
- package/dist/{chunk-W6YWMZ7F.cjs → chunk-O5SHSHGK.cjs} +3 -3
- package/dist/{chunk-W6YWMZ7F.cjs.map → chunk-O5SHSHGK.cjs.map} +1 -1
- package/dist/{chunk-NLFN734Q.js → chunk-P3GL3PQN.js} +2 -2
- package/dist/{chunk-IOHZ7UFW.js → chunk-PRJSLQP7.js} +3 -3
- package/dist/{chunk-AFJMR4SJ.js → chunk-QGY5QUYO.js} +6 -6
- package/dist/{chunk-7N2BT6R4.cjs → chunk-QHRLJLWE.cjs} +25 -25
- package/dist/{chunk-7N2BT6R4.cjs.map → chunk-QHRLJLWE.cjs.map} +1 -1
- package/dist/{chunk-RCKFQEOS.cjs → chunk-RDCHCMEO.cjs} +5 -5
- package/dist/{chunk-RCKFQEOS.cjs.map → chunk-RDCHCMEO.cjs.map} +1 -1
- package/dist/{chunk-NE2PRU2L.js → chunk-SB4ZIYQF.js} +5 -5
- package/dist/{chunk-BPFE222Q.cjs → chunk-SDDTMSNK.cjs} +10 -10
- package/dist/{chunk-BPFE222Q.cjs.map → chunk-SDDTMSNK.cjs.map} +1 -1
- package/dist/{chunk-YXWGSDK4.cjs → chunk-TLLJIGTP.cjs} +6 -6
- package/dist/{chunk-YXWGSDK4.cjs.map → chunk-TLLJIGTP.cjs.map} +1 -1
- package/dist/{chunk-RLGALJHG.cjs → chunk-UEQ7ZS62.cjs} +19 -19
- package/dist/{chunk-RLGALJHG.cjs.map → chunk-UEQ7ZS62.cjs.map} +1 -1
- package/dist/{chunk-YK4TOURB.cjs → chunk-VI7PRLUJ.cjs} +42 -42
- package/dist/{chunk-YK4TOURB.cjs.map → chunk-VI7PRLUJ.cjs.map} +1 -1
- package/dist/{chunk-VNXFRBLF.cjs → chunk-WGY4VVB3.cjs} +366 -366
- package/dist/{chunk-VNXFRBLF.cjs.map → chunk-WGY4VVB3.cjs.map} +1 -1
- package/dist/{chunk-RPRKBGEW.js → chunk-X64VTFIS.js} +4 -4
- package/dist/{chunk-IMDG23LW.js → chunk-YQPPHBGE.js} +3891 -3820
- package/dist/chunk-YQPPHBGE.js.map +1 -0
- package/dist/{chunk-GSQM4PDR.cjs → chunk-YRTMAXLE.cjs} +73 -2
- package/dist/{chunk-GSQM4PDR.cjs.map → chunk-YRTMAXLE.cjs.map} +1 -1
- package/dist/{chunk-757P3SWA.js → chunk-Z23ZRP6A.js} +3 -3
- package/dist/components/case-studies/index.cjs +17 -17
- 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 +6 -2
- package/dist/components/icons-v2-generated/index.cjs.map +1 -1
- package/dist/components/icons-v2-generated/index.js +5 -1
- package/dist/components/icons-v2-generated/security/index.d.ts +1 -0
- package/dist/components/icons-v2-generated/security/index.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/security/scan-xmark-icon.d.ts +8 -0
- package/dist/components/icons-v2-generated/security/scan-xmark-icon.d.ts.map +1 -0
- 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/security/scan-xmark.svg +4 -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/src/components/icons-v2-generated/security/index.ts +1 -0
- package/src/components/icons-v2-generated/security/scan-xmark-icon.tsx +30 -0
- package/dist/chunk-IMDG23LW.js.map +0 -1
- /package/dist/{chunk-HLNQEI37.js.map → chunk-3TDQW73P.js.map} +0 -0
- /package/dist/{chunk-KMYM7GR4.js.map → chunk-AIUMGF4J.js.map} +0 -0
- /package/dist/{chunk-5LIDR7HL.js.map → chunk-C3GXRBJD.js.map} +0 -0
- /package/dist/{chunk-MN52OLWN.js.map → chunk-CRL3LR6Z.js.map} +0 -0
- /package/dist/{chunk-B2VVPSXS.js.map → chunk-D4TYGJ5U.js.map} +0 -0
- /package/dist/{chunk-7TSKDO2N.js.map → chunk-ECNZCOJD.js.map} +0 -0
- /package/dist/{chunk-HQ7Z42JB.js.map → chunk-HYBPTBX7.js.map} +0 -0
- /package/dist/{chunk-S6WBBSII.js.map → chunk-KEKN76JR.js.map} +0 -0
- /package/dist/{chunk-MMPH67SQ.js.map → chunk-KN3EJP4D.js.map} +0 -0
- /package/dist/{chunk-B7FT6Q4P.js.map → chunk-LMEIB7LK.js.map} +0 -0
- /package/dist/{chunk-K3KSWFL3.js.map → chunk-NADSM5NR.js.map} +0 -0
- /package/dist/{chunk-ZO4GGIHT.js.map → chunk-NWE2XGSC.js.map} +0 -0
- /package/dist/{chunk-NLFN734Q.js.map → chunk-P3GL3PQN.js.map} +0 -0
- /package/dist/{chunk-IOHZ7UFW.js.map → chunk-PRJSLQP7.js.map} +0 -0
- /package/dist/{chunk-AFJMR4SJ.js.map → chunk-QGY5QUYO.js.map} +0 -0
- /package/dist/{chunk-NE2PRU2L.js.map → chunk-SB4ZIYQF.js.map} +0 -0
- /package/dist/{chunk-RPRKBGEW.js.map → chunk-X64VTFIS.js.map} +0 -0
- /package/dist/{chunk-757P3SWA.js.map → chunk-Z23ZRP6A.js.map} +0 -0
|
@@ -22,7 +22,7 @@ var _chunkTON3YCCWcjs = require('./chunk-TON3YCCW.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkGNKM6R55cjs = require('./chunk-GNKM6R55.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 _chunkBSWD3FAXcjs = require('./chunk-BSWD3FAX.cjs');
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
@@ -108,7 +108,7 @@ var _chunkW3FQLTHCcjs = require('./chunk-W3FQLTHC.cjs');
|
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
|
|
111
|
-
var
|
|
111
|
+
var _chunkTLLJIGTPcjs = require('./chunk-TLLJIGTP.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 _chunkYRTMAXLEcjs = require('./chunk-YRTMAXLE.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 = _chunkBSWD3FAXcjs.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, _chunkYRTMAXLEcjs.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 } = _chunkTLLJIGTPcjs.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
|
+
_chunkBSWD3FAXcjs.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 = _chunkGNKM6R55cjs.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
|
+
} = _chunkGNKM6R55cjs.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
|
+
_chunkBSWD3FAXcjs.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, _chunkYRTMAXLEcjs.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
|
+
_chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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
|
+
_chunkBSWD3FAXcjs.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
|
+
_chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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(_chunkTLLJIGTPcjs.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
|
+
_chunkBSWD3FAXcjs.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: _chunkBSWD3FAXcjs.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(_chunkTLLJIGTPcjs.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 } = _chunkGNKM6R55cjs.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, _chunkYRTMAXLEcjs.CheckIcon, { size: 16 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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 = _chunkGNKM6R55cjs.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
|
+
_chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkBSWD3FAXcjs.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 = _chunkGNKM6R55cjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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 = _chunkGNKM6R55cjs.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
|
+
_chunkBSWD3FAXcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkBSWD3FAXcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4720
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ModalTitle, { children: pending.title }) }),
|
|
4721
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4786
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBSWD3FAXcjs.ModalHeader, { children: [
|
|
4787
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.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
|
+
_chunkTLLJIGTPcjs.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 } = _chunkGNKM6R55cjs.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, () => ( _chunkGNKM6R55cjs.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 ? _chunkGNKM6R55cjs.isFigmaSlidesUrl.call(void 0, url) : false;
|
|
6206
|
+
const embedSrc = url ? _chunkGNKM6R55cjs.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(_chunkGNKM6R55cjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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
|
+
_chunkBSWD3FAXcjs.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, _chunkYRTMAXLEcjs.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 = _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.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 (!_chunkBSWD3FAXcjs.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 (!_chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.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, () => _chunkBSWD3FAXcjs.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
|
+
_chunkBSWD3FAXcjs.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 = _chunkBSWD3FAXcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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, _chunkYRTMAXLEcjs.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 } = _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.Modal, { isOpen, onClose, className: _chunk23V5BSHDcjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
8739
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ModalTitle, { children: title }) }),
|
|
8740
8740
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8741
|
-
|
|
8741
|
+
_chunkBSWD3FAXcjs.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, _chunkYRTMAXLEcjs.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, _chunkBSWD3FAXcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8834
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBSWD3FAXcjs.Tooltip, { children: [
|
|
8883
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
8884
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.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
|
+
_chunkBSWD3FAXcjs.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, _chunkYRTMAXLEcjs.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, _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.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 = _chunkTLLJIGTPcjs.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, _chunkYRTMAXLEcjs.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 } = _chunkTLLJIGTPcjs.useIsTruncated.call(void 0, loading ? null : title);
|
|
9461
|
+
const { ref: subtitleRef, isTruncated: subtitleTruncated } = _chunkTLLJIGTPcjs.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
|
+
_chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.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, _chunkBSWD3FAXcjs.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 _chunkTLLJIGTPcjs.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 _chunkTLLJIGTPcjs.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: _chunkYRTMAXLEcjs.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: _chunkYRTMAXLEcjs.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: _chunkYRTMAXLEcjs.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: _chunkYRTMAXLEcjs.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: _chunkYRTMAXLEcjs.LinuxLogoIcon,
|
|
10090
10090
|
platformId: "linux",
|
|
10091
10091
|
aliases: ["linux", "ubuntu", "debian", "centos", "redhat", "fedora", "pop", "pop!_os", "arch", "manjaro"]
|
|
10092
10092
|
}
|
|
@@ -11124,8 +11124,8 @@ var DEFAULT_OPTIONS = {
|
|
|
11124
11124
|
function extractSections(markdown, options = {}) {
|
|
11125
11125
|
const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
11126
11126
|
const sections = [];
|
|
11127
|
-
const dedupe =
|
|
11128
|
-
const scanned =
|
|
11127
|
+
const dedupe = _chunkTLLJIGTPcjs.createHeadingIdDeduper.call(void 0, );
|
|
11128
|
+
const scanned = _chunkTLLJIGTPcjs.scanHeadings.call(void 0, markdown, {
|
|
11129
11129
|
skipFrontmatter: opts.skipCodeAndYamlBlocks,
|
|
11130
11130
|
skipFences: opts.skipCodeAndYamlBlocks
|
|
11131
11131
|
});
|
|
@@ -11133,9 +11133,9 @@ function extractSections(markdown, options = {}) {
|
|
|
11133
11133
|
if (heading.level > opts.maxLevel) continue;
|
|
11134
11134
|
let title = heading.text;
|
|
11135
11135
|
if (opts.stripFormattingMarkers) {
|
|
11136
|
-
title =
|
|
11136
|
+
title = _chunkBSWD3FAXcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
11137
11137
|
}
|
|
11138
|
-
const baseId =
|
|
11138
|
+
const baseId = _chunkTLLJIGTPcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkTLLJIGTPcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
11139
11139
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
11140
11140
|
sections.push({
|
|
11141
11141
|
id: opts.handleDuplicateIds ? dedupe(cleanId) : cleanId,
|
|
@@ -11706,7 +11706,7 @@ function DashboardInfoCard({
|
|
|
11706
11706
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
11707
11707
|
if (asTag) {
|
|
11708
11708
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
11709
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11709
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
11710
11710
|
}
|
|
11711
11711
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
11712
11712
|
"(",
|
|
@@ -11760,7 +11760,7 @@ function DashboardInfoCard({
|
|
|
11760
11760
|
/* @__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 }),
|
|
11761
11761
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
11762
11762
|
renderPercentage(),
|
|
11763
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11763
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.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, _chunkYRTMAXLEcjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
11764
11764
|
] })
|
|
11765
11765
|
] }),
|
|
11766
11766
|
renderProgress()
|
|
@@ -11922,7 +11922,7 @@ function DeviceCard({
|
|
|
11922
11922
|
e.stopPropagation();
|
|
11923
11923
|
_optionalChain([actions, 'access', _234 => _234.moreButton, 'optionalAccess', _235 => _235.onClick, 'optionalCall', _236 => _236()]);
|
|
11924
11924
|
},
|
|
11925
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11925
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Ellipsis01Icon, { className: "text-ods-text-primary" })
|
|
11926
11926
|
}
|
|
11927
11927
|
),
|
|
11928
11928
|
_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 }),
|
|
@@ -11943,7 +11943,7 @@ function DeviceCard({
|
|
|
11943
11943
|
] }),
|
|
11944
11944
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
11945
11945
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11946
|
-
|
|
11946
|
+
_chunkBSWD3FAXcjs.Tag,
|
|
11947
11947
|
{
|
|
11948
11948
|
variant: statusTag.variant,
|
|
11949
11949
|
icon: statusTag.icon,
|
|
@@ -11957,7 +11957,7 @@ function DeviceCard({
|
|
|
11957
11957
|
formatLastSeen(device.lastSeen)
|
|
11958
11958
|
] })
|
|
11959
11959
|
] }),
|
|
11960
|
-
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,
|
|
11960
|
+
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, _chunkBSWD3FAXcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
11961
11961
|
]
|
|
11962
11962
|
}
|
|
11963
11963
|
);
|
|
@@ -12105,7 +12105,7 @@ function FeatureList({ items, className = "", iconBoxSize = 72 }) {
|
|
|
12105
12105
|
|
|
12106
12106
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
12107
12107
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12108
|
-
|
|
12108
|
+
_chunkBSWD3FAXcjs.FloatingTooltip,
|
|
12109
12109
|
{
|
|
12110
12110
|
as: "span",
|
|
12111
12111
|
side: "top",
|
|
@@ -12264,7 +12264,7 @@ function DropdownButton({
|
|
|
12264
12264
|
fullWidth,
|
|
12265
12265
|
"aria-label": resolvedAriaLabel,
|
|
12266
12266
|
leftIcon: icon,
|
|
12267
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12267
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02DownIcon, { className: _chunk23V5BSHDcjs.cn.call(void 0, "h-4 w-4 transition-transform duration-fast", open && "rotate-180") }),
|
|
12268
12268
|
className,
|
|
12269
12269
|
children: label
|
|
12270
12270
|
}
|
|
@@ -12282,14 +12282,14 @@ function DropdownButton({
|
|
|
12282
12282
|
fullWidth,
|
|
12283
12283
|
"aria-label": resolvedAriaLabel,
|
|
12284
12284
|
leftIcon: icon,
|
|
12285
|
-
splitIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12285
|
+
splitIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02DownIcon, { className: _chunk23V5BSHDcjs.cn.call(void 0, "transition-transform duration-fast", open && "rotate-180") }),
|
|
12286
12286
|
className: _chunk23V5BSHDcjs.cn.call(void 0, open && "bg-ods-bg-hover", className),
|
|
12287
12287
|
children: label
|
|
12288
12288
|
}
|
|
12289
12289
|
)
|
|
12290
12290
|
);
|
|
12291
12291
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12292
|
-
|
|
12292
|
+
_chunkBSWD3FAXcjs.ActionsMenuDropdown,
|
|
12293
12293
|
{
|
|
12294
12294
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
12295
12295
|
open,
|
|
@@ -12326,7 +12326,7 @@ function MoreActionsMenu({
|
|
|
12326
12326
|
size: "icon",
|
|
12327
12327
|
className: className || "flex items-center justify-center border-ods-border bg-ods-card hover:bg-ods-bg-hover",
|
|
12328
12328
|
"aria-label": ariaLabel,
|
|
12329
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12329
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Ellipsis01Icon, { size: 24, className: "text-ods-text-primary" })
|
|
12330
12330
|
}
|
|
12331
12331
|
) }),
|
|
12332
12332
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12504,8 +12504,8 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
12504
12504
|
}
|
|
12505
12505
|
function ServiceCardRowItem({ row }) {
|
|
12506
12506
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
12507
|
-
const { copy, copied } =
|
|
12508
|
-
const { ref: valueRef, isTruncated: valueTruncated } =
|
|
12507
|
+
const { copy, copied } = _chunkGNKM6R55cjs.useCopyToClipboard.call(void 0, );
|
|
12508
|
+
const { ref: valueRef, isTruncated: valueTruncated } = _chunkTLLJIGTPcjs.useIsTruncated.call(void 0, row.value);
|
|
12509
12509
|
const actions = _react.useMemo.call(void 0,
|
|
12510
12510
|
() => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }),
|
|
12511
12511
|
[row]
|
|
@@ -12527,7 +12527,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12527
12527
|
),
|
|
12528
12528
|
children: [
|
|
12529
12529
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12530
|
-
|
|
12530
|
+
_chunkBSWD3FAXcjs.FloatingTooltip,
|
|
12531
12531
|
{
|
|
12532
12532
|
content: row.value,
|
|
12533
12533
|
side: "top",
|
|
@@ -12556,7 +12556,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12556
12556
|
copied ? "text-ods-success" : "text-ods-text-secondary"
|
|
12557
12557
|
),
|
|
12558
12558
|
"aria-label": `Copy ${_nullishCoalesce(row.label, () => ( "value"))}`,
|
|
12559
|
-
children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12559
|
+
children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Copy01Icon, { size: 20 })
|
|
12560
12560
|
}
|
|
12561
12561
|
),
|
|
12562
12562
|
actions.open && row.href && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12665,7 +12665,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12665
12665
|
);
|
|
12666
12666
|
}
|
|
12667
12667
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
12668
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12668
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.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: [
|
|
12669
12669
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12670
12670
|
_chunkOQHFHKUGcjs.AvatarStack,
|
|
12671
12671
|
{
|
|
@@ -12727,9 +12727,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12727
12727
|
return next;
|
|
12728
12728
|
});
|
|
12729
12729
|
};
|
|
12730
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12730
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBSWD3FAXcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
12731
12731
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12732
|
-
|
|
12732
|
+
_chunkBSWD3FAXcjs.TooltipTrigger,
|
|
12733
12733
|
{
|
|
12734
12734
|
asChild: true,
|
|
12735
12735
|
onPointerDown: (e) => {
|
|
@@ -12747,7 +12747,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12747
12747
|
children
|
|
12748
12748
|
}
|
|
12749
12749
|
),
|
|
12750
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12750
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
12751
12751
|
] }) });
|
|
12752
12752
|
}
|
|
12753
12753
|
|
|
@@ -13206,7 +13206,7 @@ function TableColumnFilterDropdown({
|
|
|
13206
13206
|
children: [
|
|
13207
13207
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "select-none text-ods-text-secondary text-h5", children: columnLabel }),
|
|
13208
13208
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13209
|
-
|
|
13209
|
+
_chunkYRTMAXLEcjs.Filter02Icon,
|
|
13210
13210
|
{
|
|
13211
13211
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "h-4 w-4 transition-colors", activeCount > 0 ? "text-ods-accent" : "text-ods-text-secondary")
|
|
13212
13212
|
}
|
|
@@ -13304,11 +13304,11 @@ function TableHeader({
|
|
|
13304
13304
|
const columnKey = column.sortKey || column.key;
|
|
13305
13305
|
const isActive = sortBy === columnKey;
|
|
13306
13306
|
if (!isActive) {
|
|
13307
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13307
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.SwitchVrIcon, { className: "h-4 w-4 text-ods-text-secondary" });
|
|
13308
13308
|
}
|
|
13309
|
-
return sortDirection === "asc" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13309
|
+
return sortDirection === "asc" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Arrow01UpIcon, { className: "h-4 w-4 text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Arrow01DownIcon, { className: "h-4 w-4 text-ods-accent" });
|
|
13310
13310
|
};
|
|
13311
|
-
const isLgUp = _nullishCoalesce(
|
|
13311
|
+
const isLgUp = _nullishCoalesce(_chunkTLLJIGTPcjs.useLgUp.call(void 0, ), () => ( false));
|
|
13312
13312
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13313
13313
|
"div",
|
|
13314
13314
|
{
|
|
@@ -13668,7 +13668,7 @@ function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref,
|
|
|
13668
13668
|
prefetch: false,
|
|
13669
13669
|
variant: "outline",
|
|
13670
13670
|
size: "icon",
|
|
13671
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13671
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02RightIcon, { className: "h-6 w-6" }),
|
|
13672
13672
|
"aria-label": "View details"
|
|
13673
13673
|
}
|
|
13674
13674
|
) });
|
|
@@ -14002,9 +14002,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
14002
14002
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14003
14003
|
}
|
|
14004
14004
|
}, []);
|
|
14005
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14006
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14007
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14005
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBSWD3FAXcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14006
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.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 }) }) }),
|
|
14007
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
14008
14008
|
] }) });
|
|
14009
14009
|
}
|
|
14010
14010
|
|
|
@@ -14057,9 +14057,9 @@ function TruncatedCell({ value, className }) {
|
|
|
14057
14057
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14058
14058
|
}
|
|
14059
14059
|
}, []);
|
|
14060
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14061
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14062
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14060
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBSWD3FAXcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14061
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.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 }) }),
|
|
14062
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
14063
14063
|
] }) });
|
|
14064
14064
|
}
|
|
14065
14065
|
|
|
@@ -14174,7 +14174,7 @@ function QueryReportTable({
|
|
|
14174
14174
|
onThumbPointerDown,
|
|
14175
14175
|
onThumbPointerMove,
|
|
14176
14176
|
onThumbPointerUp
|
|
14177
|
-
} =
|
|
14177
|
+
} = _chunkGNKM6R55cjs.useHorizontalScrollbar.call(void 0, );
|
|
14178
14178
|
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: [
|
|
14179
14179
|
!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: [
|
|
14180
14180
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -14185,7 +14185,7 @@ function QueryReportTable({
|
|
|
14185
14185
|
{
|
|
14186
14186
|
className: "bg-ods-card max-md:hidden",
|
|
14187
14187
|
variant: "outline",
|
|
14188
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14188
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Download02Icon, { size: 18, className: "text-ods-text-secondary" }),
|
|
14189
14189
|
onClick: handleExport,
|
|
14190
14190
|
children: "Export CSV"
|
|
14191
14191
|
}
|
|
@@ -14529,7 +14529,7 @@ function DataTableColumnFilter({
|
|
|
14529
14529
|
}
|
|
14530
14530
|
),
|
|
14531
14531
|
(!isEmpty || pending) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14532
|
-
|
|
14532
|
+
_chunkYRTMAXLEcjs.Filter02Icon,
|
|
14533
14533
|
{
|
|
14534
14534
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
14535
14535
|
"h-4 w-4 transition-colors",
|
|
@@ -14743,9 +14743,9 @@ function HeaderLabel({ header }) {
|
|
|
14743
14743
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: _reacttable.flexRender.call(void 0, headerDef, header.getContext()) });
|
|
14744
14744
|
}
|
|
14745
14745
|
function SortIcon({ sorted }) {
|
|
14746
|
-
if (sorted === "asc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14747
|
-
if (sorted === "desc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14748
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14746
|
+
if (sorted === "asc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Arrow01UpIcon, { className: "h-4 w-4 text-ods-accent" });
|
|
14747
|
+
if (sorted === "desc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Arrow01DownIcon, { className: "h-4 w-4 text-ods-accent" });
|
|
14748
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.SwitchVrIcon, { className: "h-4 w-4 text-ods-text-secondary transition-colors duration-200 group-hover:text-ods-text-primary" });
|
|
14749
14749
|
}
|
|
14750
14750
|
function resolveHeaderLabel(header) {
|
|
14751
14751
|
const h = header.column.columnDef.header;
|
|
@@ -14866,7 +14866,7 @@ var DataTable = Object.assign(DataTableRoot, {
|
|
|
14866
14866
|
|
|
14867
14867
|
var PasswordInput = _react.forwardRef.call(void 0, ({ disabled, className, ...props }, ref) => {
|
|
14868
14868
|
const [visible, setVisible] = _react.useState.call(void 0, false);
|
|
14869
|
-
const Icon2 = visible ?
|
|
14869
|
+
const Icon2 = visible ? _chunkYRTMAXLEcjs.EyeOffIcon : _chunkYRTMAXLEcjs.EyeIcon;
|
|
14870
14870
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14871
14871
|
_chunkN6HNK25Acjs.Input,
|
|
14872
14872
|
{
|
|
@@ -15065,10 +15065,10 @@ function SearchInput({
|
|
|
15065
15065
|
}) {
|
|
15066
15066
|
const [internalValue, setInternalValue] = _react.useState.call(void 0, defaultValue);
|
|
15067
15067
|
const currentValue = onChange ? _nullishCoalesce(value, () => ( "")) : internalValue;
|
|
15068
|
-
const debouncedValue =
|
|
15068
|
+
const debouncedValue = _chunkTLLJIGTPcjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
15069
15069
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
15070
15070
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
15071
|
-
const keyboardPadding =
|
|
15071
|
+
const keyboardPadding = _chunkGNKM6R55cjs.useKeyboardCollisionPadding.call(void 0, );
|
|
15072
15072
|
const containerRef = _react.useRef.call(void 0, null);
|
|
15073
15073
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
15074
15074
|
const {
|
|
@@ -15078,7 +15078,7 @@ function SearchInput({
|
|
|
15078
15078
|
textMeasureRef,
|
|
15079
15079
|
badgeRef,
|
|
15080
15080
|
inputRef
|
|
15081
|
-
} =
|
|
15081
|
+
} = _chunkGNKM6R55cjs.useAutoLimitTags.call(void 0, {
|
|
15082
15082
|
count: filterChips.length,
|
|
15083
15083
|
limitTags,
|
|
15084
15084
|
// When chips exist, pass empty placeholder so the hook only reserves input minWidth,
|
|
@@ -15100,7 +15100,7 @@ function SearchInput({
|
|
|
15100
15100
|
document.addEventListener("mousedown", handleClick);
|
|
15101
15101
|
return () => document.removeEventListener("mousedown", handleClick);
|
|
15102
15102
|
}, [showHiddenTags]);
|
|
15103
|
-
|
|
15103
|
+
_chunkTLLJIGTPcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
15104
15104
|
const popup = hiddenTagsPopupRef.current;
|
|
15105
15105
|
const badge = badgeRef.current;
|
|
15106
15106
|
if (!popup || !badge) return;
|
|
@@ -15271,7 +15271,7 @@ function SearchInput({
|
|
|
15271
15271
|
/* @__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, {}) }),
|
|
15272
15272
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
15273
15273
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15274
|
-
|
|
15274
|
+
_chunkBSWD3FAXcjs.Tag,
|
|
15275
15275
|
{
|
|
15276
15276
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15277
15277
|
label: chip.label,
|
|
@@ -15326,7 +15326,7 @@ function SearchInput({
|
|
|
15326
15326
|
onClick: handleClear,
|
|
15327
15327
|
className: "flex items-center justify-center transition-opacity hover:opacity-70",
|
|
15328
15328
|
"aria-label": "Clear search",
|
|
15329
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15329
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkCircleIcon, { className: "text-ods-text-secondary", size: 24 })
|
|
15330
15330
|
}
|
|
15331
15331
|
),
|
|
15332
15332
|
endAdornment
|
|
@@ -15387,7 +15387,7 @@ function SearchInput({
|
|
|
15387
15387
|
}
|
|
15388
15388
|
),
|
|
15389
15389
|
/* @__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,
|
|
15390
|
-
|
|
15390
|
+
_chunkBSWD3FAXcjs.Tag,
|
|
15391
15391
|
{
|
|
15392
15392
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15393
15393
|
label: chip.label,
|
|
@@ -15529,7 +15529,7 @@ function TagSearchInput({
|
|
|
15529
15529
|
limitTags = "auto"
|
|
15530
15530
|
}) {
|
|
15531
15531
|
const currentPlaceholder = tags.length === 0 ? placeholder : addMorePlaceholder;
|
|
15532
|
-
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } =
|
|
15532
|
+
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } = _chunkGNKM6R55cjs.useAutoLimitTags.call(void 0, {
|
|
15533
15533
|
count: tags.length,
|
|
15534
15534
|
limitTags,
|
|
15535
15535
|
placeholder: currentPlaceholder
|
|
@@ -15549,7 +15549,7 @@ function TagSearchInput({
|
|
|
15549
15549
|
document.addEventListener("mousedown", handleClick);
|
|
15550
15550
|
return () => document.removeEventListener("mousedown", handleClick);
|
|
15551
15551
|
}, [showHiddenTags]);
|
|
15552
|
-
|
|
15552
|
+
_chunkTLLJIGTPcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
15553
15553
|
const popup = hiddenTagsPopupRef.current;
|
|
15554
15554
|
const badge = badgeRef.current;
|
|
15555
15555
|
if (!popup || !badge) return;
|
|
@@ -15600,7 +15600,7 @@ function TagSearchInput({
|
|
|
15600
15600
|
/* @__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" }) }),
|
|
15601
15601
|
/* @__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: [
|
|
15602
15602
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15603
|
-
|
|
15603
|
+
_chunkBSWD3FAXcjs.Tag,
|
|
15604
15604
|
{
|
|
15605
15605
|
variant: "outline",
|
|
15606
15606
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -15654,7 +15654,7 @@ function TagSearchInput({
|
|
|
15654
15654
|
onClick: handleClearAll,
|
|
15655
15655
|
className: "flex shrink-0 cursor-pointer items-center justify-center pr-3 transition-opacity hover:opacity-70",
|
|
15656
15656
|
"aria-label": "Clear all",
|
|
15657
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15657
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkCircleIcon, { className: "size-4 text-ods-text-secondary md:size-6" })
|
|
15658
15658
|
}
|
|
15659
15659
|
)
|
|
15660
15660
|
]
|
|
@@ -15688,7 +15688,7 @@ function TagSearchInput({
|
|
|
15688
15688
|
"aria-hidden": "true",
|
|
15689
15689
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
15690
15690
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15691
|
-
|
|
15691
|
+
_chunkBSWD3FAXcjs.Tag,
|
|
15692
15692
|
{
|
|
15693
15693
|
variant: "outline",
|
|
15694
15694
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -16263,7 +16263,7 @@ function FileUpload({
|
|
|
16263
16263
|
entry.status === "error" && "bg-ods-error/5"
|
|
16264
16264
|
),
|
|
16265
16265
|
children: [
|
|
16266
|
-
/* @__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,
|
|
16266
|
+
/* @__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, _chunkYRTMAXLEcjs.FileIcon, { className: "size-6 text-ods-text-secondary" }) }),
|
|
16267
16267
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
16268
16268
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h4", title: entry.fileName, children: entry.fileName }),
|
|
16269
16269
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -16282,7 +16282,7 @@ function FileUpload({
|
|
|
16282
16282
|
onClick: () => onDownloadManagedFile(entry.id),
|
|
16283
16283
|
className: "shrink-0 text-ods-text-secondary transition-colors hover:text-ods-text-primary",
|
|
16284
16284
|
"aria-label": `Download ${entry.fileName}`,
|
|
16285
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16285
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Download02Icon, { className: "size-6" })
|
|
16286
16286
|
}
|
|
16287
16287
|
),
|
|
16288
16288
|
!disabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16292,7 +16292,7 @@ function FileUpload({
|
|
|
16292
16292
|
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _384 => _384(entry.id)]),
|
|
16293
16293
|
className: "shrink-0 text-ods-error transition-opacity hover:opacity-80",
|
|
16294
16294
|
"aria-label": `Remove ${entry.fileName}`,
|
|
16295
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16295
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TrashIcon, { className: "size-6" })
|
|
16296
16296
|
}
|
|
16297
16297
|
)
|
|
16298
16298
|
]
|
|
@@ -16303,7 +16303,7 @@ function FileUpload({
|
|
|
16303
16303
|
{
|
|
16304
16304
|
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",
|
|
16305
16305
|
children: [
|
|
16306
|
-
/* @__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,
|
|
16306
|
+
/* @__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, _chunkYRTMAXLEcjs.FileIcon, { className: "size-6 text-ods-text-secondary" }) }),
|
|
16307
16307
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
16308
16308
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h4", title: file.name, children: file.name }),
|
|
16309
16309
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: formatFileSize2(file.size) })
|
|
@@ -16315,7 +16315,7 @@ function FileUpload({
|
|
|
16315
16315
|
onClick: () => handleRemoveFile(index),
|
|
16316
16316
|
className: "shrink-0 text-ods-error transition-opacity hover:opacity-80",
|
|
16317
16317
|
"aria-label": `Remove ${file.name}`,
|
|
16318
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16318
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TrashIcon, { className: "size-6" })
|
|
16319
16319
|
}
|
|
16320
16320
|
)
|
|
16321
16321
|
]
|
|
@@ -16343,7 +16343,7 @@ function FileUpload({
|
|
|
16343
16343
|
disabled && "cursor-not-allowed opacity-50 hover:border-ods-border"
|
|
16344
16344
|
),
|
|
16345
16345
|
children: [
|
|
16346
|
-
/* @__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,
|
|
16346
|
+
/* @__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, _chunkYRTMAXLEcjs.ImagePlusIcon, { className: "size-6 text-ods-text-primary" }) }),
|
|
16347
16347
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
16348
16348
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children: label }),
|
|
16349
16349
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: description })
|
|
@@ -16507,12 +16507,12 @@ function ImageUploader({
|
|
|
16507
16507
|
}
|
|
16508
16508
|
) }),
|
|
16509
16509
|
/* @__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: [
|
|
16510
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionIconButton, { onClick: openDialog, disabled: !interactive, ariaLabel: "Replace image", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16511
|
-
onRemove && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionIconButton, { onClick: onRemove, disabled: !interactive, ariaLabel: "Remove image", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16510
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionIconButton, { onClick: openDialog, disabled: !interactive, ariaLabel: "Replace image", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Refresh02VrIcon, { className: "size-6" }) }),
|
|
16511
|
+
onRemove && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionIconButton, { onClick: onRemove, disabled: !interactive, ariaLabel: "Remove image", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TrashIcon, { className: "size-6" }) })
|
|
16512
16512
|
] }),
|
|
16513
16513
|
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" }) })
|
|
16514
16514
|
] }) : 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: [
|
|
16515
|
-
/* @__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,
|
|
16515
|
+
/* @__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, _chunkYRTMAXLEcjs.ImagePlusIcon, { className: "size-6 text-ods-text-primary" }) }),
|
|
16516
16516
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-center text-center", children: [
|
|
16517
16517
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: label }),
|
|
16518
16518
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description }),
|
|
@@ -16562,7 +16562,7 @@ var _reactcolorful = require('react-colorful');
|
|
|
16562
16562
|
var Popover2 = PopoverPrimitive6.Root;
|
|
16563
16563
|
var PopoverTrigger = PopoverPrimitive6.Trigger;
|
|
16564
16564
|
var PopoverContent = _react.forwardRef.call(void 0, ({ className, align = "center", sideOffset = 4, collisionPadding, ...props }, ref) => {
|
|
16565
|
-
const keyboardPadding =
|
|
16565
|
+
const keyboardPadding = _chunkGNKM6R55cjs.useKeyboardCollisionPadding.call(void 0, );
|
|
16566
16566
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive6.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16567
16567
|
PopoverPrimitive6.Content,
|
|
16568
16568
|
{
|
|
@@ -16599,7 +16599,7 @@ var TICKET_STATUS_COLOR_PRESETS = [
|
|
|
16599
16599
|
var CUSTOM_PRESET_KEY = "custom";
|
|
16600
16600
|
var DEFAULT_CUSTOM_STATUS_COLOR = "#888888";
|
|
16601
16601
|
function TriggerChevron() {
|
|
16602
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16602
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02DownIcon, { size: 24, className: "transition-transform duration-200 group-data-[state=open]:rotate-180" });
|
|
16603
16603
|
}
|
|
16604
16604
|
function ColorPresetSelect({
|
|
16605
16605
|
value,
|
|
@@ -16619,20 +16619,20 @@ function ColorPresetSelect({
|
|
|
16619
16619
|
...presets.map((p) => ({
|
|
16620
16620
|
id: p.key,
|
|
16621
16621
|
label: p.label,
|
|
16622
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16622
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ColorSwatch, { color: p.color }),
|
|
16623
16623
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
16624
16624
|
})),
|
|
16625
16625
|
{
|
|
16626
16626
|
id: CUSTOM_PRESET_KEY,
|
|
16627
16627
|
label: "Custom",
|
|
16628
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16628
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
16629
16629
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
16630
16630
|
}
|
|
16631
16631
|
]
|
|
16632
16632
|
}
|
|
16633
16633
|
];
|
|
16634
16634
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16635
|
-
|
|
16635
|
+
_chunkBSWD3FAXcjs.ActionsMenuDropdown,
|
|
16636
16636
|
{
|
|
16637
16637
|
groups,
|
|
16638
16638
|
align: "start",
|
|
@@ -16642,7 +16642,7 @@ function ColorPresetSelect({
|
|
|
16642
16642
|
{
|
|
16643
16643
|
disabled,
|
|
16644
16644
|
"aria-label": `Color: ${displayLabel}`,
|
|
16645
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16645
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ColorSwatch, { color: displayColor }),
|
|
16646
16646
|
selectedLabel: displayLabel,
|
|
16647
16647
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16648
16648
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16663,7 +16663,7 @@ function HexInputs({ value, onChange }) {
|
|
|
16663
16663
|
}
|
|
16664
16664
|
const commit = () => {
|
|
16665
16665
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
16666
|
-
if (
|
|
16666
|
+
if (_chunkBSWD3FAXcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
16667
16667
|
else setDraft(value);
|
|
16668
16668
|
};
|
|
16669
16669
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16727,12 +16727,12 @@ function ChannelInput({
|
|
|
16727
16727
|
);
|
|
16728
16728
|
}
|
|
16729
16729
|
function RgbInputs({ value, onChange }) {
|
|
16730
|
-
const rgb = _nullishCoalesce(
|
|
16730
|
+
const rgb = _nullishCoalesce(_chunkBSWD3FAXcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16731
16731
|
const update = (next) => {
|
|
16732
16732
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
16733
16733
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
16734
16734
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
16735
|
-
onChange(
|
|
16735
|
+
onChange(_chunkBSWD3FAXcjs.rgbToHex.call(void 0, r, g, b));
|
|
16736
16736
|
};
|
|
16737
16737
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16738
16738
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -16741,14 +16741,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
16741
16741
|
] });
|
|
16742
16742
|
}
|
|
16743
16743
|
function HslInputs({ value, onChange }) {
|
|
16744
|
-
const rgb = _nullishCoalesce(
|
|
16745
|
-
const hsl =
|
|
16744
|
+
const rgb = _nullishCoalesce(_chunkBSWD3FAXcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16745
|
+
const hsl = _chunkBSWD3FAXcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
16746
16746
|
const update = (next) => {
|
|
16747
16747
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
16748
16748
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
16749
16749
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
16750
|
-
const out =
|
|
16751
|
-
onChange(
|
|
16750
|
+
const out = _chunkBSWD3FAXcjs.hslToRgb.call(void 0, h, s, l);
|
|
16751
|
+
onChange(_chunkBSWD3FAXcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
16752
16752
|
};
|
|
16753
16753
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16754
16754
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -16774,7 +16774,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16774
16774
|
{
|
|
16775
16775
|
disabled,
|
|
16776
16776
|
"aria-label": "Pick custom color",
|
|
16777
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16777
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ColorSwatch, { color: value }),
|
|
16778
16778
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
16779
16779
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16780
16780
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16790,7 +16790,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16790
16790
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
16791
16791
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16792
16792
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16793
|
-
|
|
16793
|
+
_chunkBSWD3FAXcjs.ActionsMenuDropdown,
|
|
16794
16794
|
{
|
|
16795
16795
|
groups: formatGroups,
|
|
16796
16796
|
align: "start",
|
|
@@ -16838,7 +16838,7 @@ function TicketStatusConfigRow({
|
|
|
16838
16838
|
isDragging,
|
|
16839
16839
|
moveButtons
|
|
16840
16840
|
}) {
|
|
16841
|
-
const dragAndDropEnabled =
|
|
16841
|
+
const dragAndDropEnabled = _chunkGNKM6R55cjs.useDragAndDropEnabled.call(void 0, );
|
|
16842
16842
|
const nameInputId = _react.useId.call(void 0, );
|
|
16843
16843
|
const isSystem = variant === "system";
|
|
16844
16844
|
const isCustomColor = !isSystem && presetKey === void 0;
|
|
@@ -16847,7 +16847,7 @@ function TicketStatusConfigRow({
|
|
|
16847
16847
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
16848
16848
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
16849
16849
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16850
|
-
|
|
16850
|
+
_chunkBSWD3FAXcjs.TicketStatusTag,
|
|
16851
16851
|
{
|
|
16852
16852
|
status: statusKey,
|
|
16853
16853
|
label: name || " ",
|
|
@@ -16875,14 +16875,14 @@ function TicketStatusConfigRow({
|
|
|
16875
16875
|
"flex h-11 w-8 shrink-0 items-center justify-center text-ods-text-secondary md:h-12",
|
|
16876
16876
|
fieldRowOffset
|
|
16877
16877
|
),
|
|
16878
|
-
children: isSystem ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16878
|
+
children: isSystem ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.DraggerIcon, { size: 24, "aria-hidden": true, className: "opacity-40" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16879
16879
|
"button",
|
|
16880
16880
|
{
|
|
16881
16881
|
type: "button",
|
|
16882
16882
|
"aria-label": "Drag to reorder",
|
|
16883
16883
|
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",
|
|
16884
16884
|
...dragHandleProps,
|
|
16885
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16885
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.DraggerIcon, { size: 24 })
|
|
16886
16886
|
}
|
|
16887
16887
|
)
|
|
16888
16888
|
}
|
|
@@ -16960,7 +16960,7 @@ function TicketStatusConfigRow({
|
|
|
16960
16960
|
type: "button",
|
|
16961
16961
|
"aria-label": _nullishCoalesce(systemTooltip, () => ( "System status")),
|
|
16962
16962
|
className: "flex size-6 items-center justify-center text-ods-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
16963
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16963
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.InfoCircleIcon, { size: 24 })
|
|
16964
16964
|
}
|
|
16965
16965
|
) }) }) : /* @__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,
|
|
16966
16966
|
_chunkWRJVEB2Jcjs.Button,
|
|
@@ -16972,7 +16972,7 @@ function TicketStatusConfigRow({
|
|
|
16972
16972
|
disabled: deleteDisabled,
|
|
16973
16973
|
onClick: deleteDisabled ? void 0 : onDelete,
|
|
16974
16974
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "size-11 md:size-12", deleteDisabled && "pointer-events-none"),
|
|
16975
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16975
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TrashIcon, { className: "text-ods-error" })
|
|
16976
16976
|
}
|
|
16977
16977
|
) }) })
|
|
16978
16978
|
]
|
|
@@ -16999,7 +16999,7 @@ function formatTestRunDuration(ms) {
|
|
|
16999
16999
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
17000
17000
|
var SKELETON_COLUMNS = 6;
|
|
17001
17001
|
function TestResultsSkeleton() {
|
|
17002
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17002
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
17003
17003
|
/* @__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}`)) }),
|
|
17004
17004
|
/* @__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}`)) }) })
|
|
17005
17005
|
] }) });
|
|
@@ -17034,13 +17034,13 @@ function TestResultsTable({ rows, loading }) {
|
|
|
17034
17034
|
if (loading) {
|
|
17035
17035
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
17036
17036
|
}
|
|
17037
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17037
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.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: [
|
|
17038
17038
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
17039
17039
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
17040
17040
|
] }) }) });
|
|
17041
17041
|
}
|
|
17042
17042
|
function TestRunErrorBanner({ error, className }) {
|
|
17043
|
-
const { copy } =
|
|
17043
|
+
const { copy } = _chunkGNKM6R55cjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
17044
17044
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17045
17045
|
"div",
|
|
17046
17046
|
{
|
|
@@ -17060,7 +17060,7 @@ function TestRunErrorBanner({ error, className }) {
|
|
|
17060
17060
|
"aria-label": "Copy error message",
|
|
17061
17061
|
onClick: () => copy(error),
|
|
17062
17062
|
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",
|
|
17063
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17063
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Copy02Icon, { className: "size-5" })
|
|
17064
17064
|
}
|
|
17065
17065
|
)
|
|
17066
17066
|
]
|
|
@@ -17096,7 +17096,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
17096
17096
|
function TestRunStatusStat({ status, className }) {
|
|
17097
17097
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
17098
17098
|
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: [
|
|
17099
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17099
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.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: "-" }),
|
|
17100
17100
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
17101
17101
|
] });
|
|
17102
17102
|
}
|
|
@@ -17140,7 +17140,7 @@ function useTestRunState(campaign) {
|
|
|
17140
17140
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
17141
17141
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
17142
17142
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
17143
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
17143
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkBSWD3FAXcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
17144
17144
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
17145
17145
|
const displayRows = _react.useMemo.call(void 0,
|
|
17146
17146
|
() => campaign.results.map(
|
|
@@ -17193,7 +17193,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
17193
17193
|
"flex shrink-0 items-center justify-center rounded-[6px] border border-ods-border bg-ods-card",
|
|
17194
17194
|
compact ? "size-8" : "size-10"
|
|
17195
17195
|
),
|
|
17196
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17196
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.FileIcon, { className: _chunk23V5BSHDcjs.cn.call(void 0, "text-ods-text-secondary", compact ? "size-4" : "size-6") })
|
|
17197
17197
|
}
|
|
17198
17198
|
),
|
|
17199
17199
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1 overflow-hidden", children: [
|
|
@@ -17214,7 +17214,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
17214
17214
|
onClick: attachment.onDelete,
|
|
17215
17215
|
className: "shrink-0 text-ods-text-secondary transition-colors hover:text-ods-error",
|
|
17216
17216
|
"aria-label": `Delete ${attachment.fileName}`,
|
|
17217
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17217
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TrashIcon, { className: compact ? "size-4" : "size-5" })
|
|
17218
17218
|
}
|
|
17219
17219
|
),
|
|
17220
17220
|
attachment.onDownload && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17224,7 +17224,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
17224
17224
|
onClick: attachment.onDownload,
|
|
17225
17225
|
className: "shrink-0 text-ods-text-secondary transition-colors hover:text-ods-text-primary",
|
|
17226
17226
|
"aria-label": `Download ${attachment.fileName}`,
|
|
17227
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17227
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Download02Icon, { className: compact ? "size-4" : "size-6" })
|
|
17228
17228
|
}
|
|
17229
17229
|
)
|
|
17230
17230
|
]
|
|
@@ -17292,7 +17292,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17292
17292
|
disabled: !editText.trim(),
|
|
17293
17293
|
className: "shrink-0 text-ods-success transition-colors hover:text-ods-success/80 disabled:opacity-50",
|
|
17294
17294
|
"aria-label": "Save note",
|
|
17295
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17295
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "size-5" })
|
|
17296
17296
|
}
|
|
17297
17297
|
),
|
|
17298
17298
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17302,7 +17302,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17302
17302
|
onClick: handleCancel,
|
|
17303
17303
|
className: "shrink-0 text-ods-text-secondary transition-colors hover:text-ods-text-primary",
|
|
17304
17304
|
"aria-label": "Cancel editing",
|
|
17305
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17305
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { className: "size-5" })
|
|
17306
17306
|
}
|
|
17307
17307
|
)
|
|
17308
17308
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -17321,7 +17321,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17321
17321
|
onClick: () => onDelete(note.id),
|
|
17322
17322
|
className: "text-ods-text-secondary transition-colors hover:text-ods-error",
|
|
17323
17323
|
"aria-label": "Delete note",
|
|
17324
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17324
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TrashIcon, { className: "size-6" })
|
|
17325
17325
|
}
|
|
17326
17326
|
),
|
|
17327
17327
|
onEdit && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17331,7 +17331,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17331
17331
|
onClick: () => setIsEditing(true),
|
|
17332
17332
|
className: "text-ods-text-secondary transition-colors hover:text-ods-text-primary",
|
|
17333
17333
|
"aria-label": "Edit note",
|
|
17334
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17334
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PenEditIcon, { className: "size-6" })
|
|
17335
17335
|
}
|
|
17336
17336
|
)
|
|
17337
17337
|
] })
|
|
@@ -17387,7 +17387,7 @@ function TicketNotesSection({
|
|
|
17387
17387
|
"disabled:cursor-not-allowed disabled:opacity-50"
|
|
17388
17388
|
),
|
|
17389
17389
|
"aria-label": "Send note",
|
|
17390
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17390
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Send03Icon, { className: "size-6 text-ods-text-secondary" })
|
|
17391
17391
|
}
|
|
17392
17392
|
)
|
|
17393
17393
|
] })
|
|
@@ -17470,7 +17470,7 @@ function TicketInfoSection({
|
|
|
17470
17470
|
}
|
|
17471
17471
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
17472
17472
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1 text-ods-text-secondary text-h4", children: [
|
|
17473
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17473
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.UserIcon, { className: "size-4 shrink-0" }),
|
|
17474
17474
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Unassigned" })
|
|
17475
17475
|
] }),
|
|
17476
17476
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block truncate text-ods-text-secondary text-h6", children: "Assigned" })
|
|
@@ -17478,7 +17478,7 @@ function TicketInfoSection({
|
|
|
17478
17478
|
/* @__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]) }),
|
|
17479
17479
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
17480
17480
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17481
|
-
|
|
17481
|
+
_chunkBSWD3FAXcjs.TicketStatusTag,
|
|
17482
17482
|
{
|
|
17483
17483
|
status: _nullishCoalesce(status, () => ( "")),
|
|
17484
17484
|
label: statusLabel,
|
|
@@ -17502,7 +17502,7 @@ function TicketInfoSection({
|
|
|
17502
17502
|
),
|
|
17503
17503
|
"aria-label": expanded ? "Collapse" : "Expand",
|
|
17504
17504
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17505
|
-
|
|
17505
|
+
_chunkYRTMAXLEcjs.Chevron02DownIcon,
|
|
17506
17506
|
{
|
|
17507
17507
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
17508
17508
|
"size-6 text-ods-text-primary transition-transform duration-200",
|
|
@@ -17517,9 +17517,9 @@ function TicketInfoSection({
|
|
|
17517
17517
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17518
17518
|
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" }) }),
|
|
17519
17519
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
17520
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17520
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.SimpleMarkdownRenderer, { content: description }),
|
|
17521
17521
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
17522
|
-
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,
|
|
17522
|
+
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, _chunkBSWD3FAXcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
17523
17523
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17524
17524
|
TicketNotesSection,
|
|
17525
17525
|
{
|
|
@@ -17542,10 +17542,10 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
17542
17542
|
const { label, color } = option;
|
|
17543
17543
|
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: [
|
|
17544
17544
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17545
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17545
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ColorSwatch, { color }),
|
|
17546
17546
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17547
17547
|
] }),
|
|
17548
|
-
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17548
|
+
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
17549
17549
|
] });
|
|
17550
17550
|
}
|
|
17551
17551
|
function renderTicketAssigneeOption(option, isSelected) {
|
|
@@ -17555,7 +17555,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
17555
17555
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
17556
17556
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17557
17557
|
] }),
|
|
17558
|
-
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17558
|
+
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
17559
17559
|
] });
|
|
17560
17560
|
}
|
|
17561
17561
|
function TakeOverTicketModal({
|
|
@@ -17587,9 +17587,9 @@ function TakeOverTicketModal({
|
|
|
17587
17587
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
17588
17588
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
17589
17589
|
};
|
|
17590
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17590
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBSWD3FAXcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17591
17591
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17592
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17592
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
17593
17593
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17594
17594
|
"The ticket ",
|
|
17595
17595
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17604,7 +17604,7 @@ function TakeOverTicketModal({
|
|
|
17604
17604
|
value: selectedStatusId,
|
|
17605
17605
|
onChange: setStatusId,
|
|
17606
17606
|
placeholder: "Select Status",
|
|
17607
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17607
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17608
17608
|
renderOption: renderTicketStatusOption
|
|
17609
17609
|
}
|
|
17610
17610
|
) }),
|
|
@@ -17631,7 +17631,7 @@ function TakeOverTicketModal({
|
|
|
17631
17631
|
}
|
|
17632
17632
|
) })
|
|
17633
17633
|
] }),
|
|
17634
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17634
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBSWD3FAXcjs.ModalFooter, { children: [
|
|
17635
17635
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17636
17636
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17637
17637
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17690,9 +17690,9 @@ function ReopenTicketModal({
|
|
|
17690
17690
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
17691
17691
|
});
|
|
17692
17692
|
};
|
|
17693
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17693
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBSWD3FAXcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17694
17694
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17695
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17695
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17696
17696
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17697
17697
|
"The ticket ",
|
|
17698
17698
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17707,7 +17707,7 @@ function ReopenTicketModal({
|
|
|
17707
17707
|
value: selectedStatusId,
|
|
17708
17708
|
onChange: setStatusId,
|
|
17709
17709
|
placeholder: "Select Status",
|
|
17710
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17710
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17711
17711
|
renderOption: renderTicketStatusOption
|
|
17712
17712
|
}
|
|
17713
17713
|
) }),
|
|
@@ -17745,7 +17745,7 @@ function ReopenTicketModal({
|
|
|
17745
17745
|
disabled: isPending
|
|
17746
17746
|
}
|
|
17747
17747
|
) }),
|
|
17748
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17748
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBSWD3FAXcjs.ModalFooter, { children: [
|
|
17749
17749
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17750
17750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17751
17751
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17793,9 +17793,9 @@ function ReopenTicketRequestModal({
|
|
|
17793
17793
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
17794
17794
|
});
|
|
17795
17795
|
};
|
|
17796
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17796
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBSWD3FAXcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17797
17797
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17798
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17798
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17799
17799
|
/* @__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." }),
|
|
17800
17800
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17801
17801
|
Textarea,
|
|
@@ -17819,7 +17819,7 @@ function ReopenTicketRequestModal({
|
|
|
17819
17819
|
disabled: isPending
|
|
17820
17820
|
}
|
|
17821
17821
|
),
|
|
17822
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17822
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBSWD3FAXcjs.ModalFooter, { children: [
|
|
17823
17823
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
17824
17824
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
17825
17825
|
] })
|
|
@@ -17865,9 +17865,9 @@ function LazyMount({
|
|
|
17865
17865
|
placeholder = null,
|
|
17866
17866
|
className,
|
|
17867
17867
|
style,
|
|
17868
|
-
rootMargin =
|
|
17868
|
+
rootMargin = _chunkTLLJIGTPcjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
17869
17869
|
}) {
|
|
17870
|
-
const { ref, isNear } =
|
|
17870
|
+
const { ref, isNear } = _chunkTLLJIGTPcjs.useNearViewport.call(void 0, rootMargin);
|
|
17871
17871
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className, style, children: isNear ? children : placeholder });
|
|
17872
17872
|
}
|
|
17873
17873
|
|
|
@@ -18080,10 +18080,10 @@ function AccountDetailsFields({
|
|
|
18080
18080
|
onKeyDown,
|
|
18081
18081
|
layout = "stacked"
|
|
18082
18082
|
}) {
|
|
18083
|
-
const firstNameErr =
|
|
18084
|
-
const lastNameErr =
|
|
18085
|
-
const passwordErr =
|
|
18086
|
-
const confirmErr =
|
|
18083
|
+
const firstNameErr = _chunkGNKM6R55cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _408 => _408.firstName]), firstName);
|
|
18084
|
+
const lastNameErr = _chunkGNKM6R55cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _409 => _409.lastName]), lastName);
|
|
18085
|
+
const passwordErr = _chunkGNKM6R55cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _410 => _410.password]), password);
|
|
18086
|
+
const confirmErr = _chunkGNKM6R55cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _411 => _411.confirmPassword]), confirmPassword);
|
|
18087
18087
|
const names = [
|
|
18088
18088
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18089
18089
|
_chunkN6HNK25Acjs.Input,
|
|
@@ -18161,10 +18161,10 @@ function AccountDetailsFields({
|
|
|
18161
18161
|
var DEFAULT_TITLE = "The All-in-One Open Platform for MSPs";
|
|
18162
18162
|
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.";
|
|
18163
18163
|
var DEFAULT_BENEFITS = [
|
|
18164
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18165
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18166
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18167
|
-
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18164
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CreditCardXmarkIcon, {}), label: "No card required" },
|
|
18165
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkAltIcon, {}), label: "Cancel Anytime" },
|
|
18166
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.FlaskVialIcon, {}), label: "14 day free trial" },
|
|
18167
|
+
{ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.FileOffIcon, {}), label: "No Contract" }
|
|
18168
18168
|
];
|
|
18169
18169
|
function AuthBenefitsPanel({
|
|
18170
18170
|
title = DEFAULT_TITLE,
|
|
@@ -18229,7 +18229,7 @@ function OpenFrameWordmark() {
|
|
|
18229
18229
|
function PoweredByFlamingo({ compact = false }) {
|
|
18230
18230
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)] text-ods-text-secondary", children: [
|
|
18231
18231
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h6", children: "Powered by" }),
|
|
18232
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18232
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.FlamingoLogoIcon, { className: compact ? "h-4 w-14" : "h-4 w-14 md:h-6 md:w-[83px]" })
|
|
18233
18233
|
] });
|
|
18234
18234
|
}
|
|
18235
18235
|
|
|
@@ -18318,9 +18318,9 @@ var PROVIDER_META = {
|
|
|
18318
18318
|
}
|
|
18319
18319
|
)
|
|
18320
18320
|
},
|
|
18321
|
-
google: { name: "Google", Icon:
|
|
18322
|
-
microsoft: { name: "Microsoft", Icon:
|
|
18323
|
-
apple: { name: "Apple", Icon:
|
|
18321
|
+
google: { name: "Google", Icon: _chunkYRTMAXLEcjs.GoogleLogoIcon },
|
|
18322
|
+
microsoft: { name: "Microsoft", Icon: _chunkYRTMAXLEcjs.MicrosoftLogoIcon },
|
|
18323
|
+
apple: { name: "Apple", Icon: _chunkYRTMAXLEcjs.AppleLogoIcon }
|
|
18324
18324
|
};
|
|
18325
18325
|
function SsoProviderButtons({
|
|
18326
18326
|
providers,
|
|
@@ -18523,9 +18523,9 @@ function CreateOrganizationForm({
|
|
|
18523
18523
|
}) {
|
|
18524
18524
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
18525
18525
|
const fieldsDisabled = disabled || loading;
|
|
18526
|
-
const emailErr =
|
|
18527
|
-
const orgNameErr =
|
|
18528
|
-
const domainErr =
|
|
18526
|
+
const emailErr = _chunkGNKM6R55cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _413 => _413.email]), _nullishCoalesce(email, () => ( "")));
|
|
18527
|
+
const orgNameErr = _chunkGNKM6R55cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _414 => _414.organizationName]), organizationName);
|
|
18528
|
+
const domainErr = _chunkGNKM6R55cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _415 => _415.domain]), domain);
|
|
18529
18529
|
const handleKeyDown = (event) => {
|
|
18530
18530
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18531
18531
|
onSubmit();
|
|
@@ -18689,7 +18689,7 @@ function InviteLinkInvalidModal({
|
|
|
18689
18689
|
"aria-label": "Close",
|
|
18690
18690
|
onClick: _nullishCoalesce(onClose, () => ( onBackToLogin)),
|
|
18691
18691
|
className: "hidden shrink-0 text-ods-text-primary md:block",
|
|
18692
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18692
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { className: "h-6 w-6" })
|
|
18693
18693
|
}
|
|
18694
18694
|
)
|
|
18695
18695
|
] }),
|
|
@@ -18741,7 +18741,7 @@ function LoginForm({
|
|
|
18741
18741
|
className
|
|
18742
18742
|
}) {
|
|
18743
18743
|
const fieldDisabled = disabled || loading;
|
|
18744
|
-
const emailErr =
|
|
18744
|
+
const emailErr = _chunkGNKM6R55cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _422 => _422.email]), email);
|
|
18745
18745
|
const handleKeyDown = (event) => {
|
|
18746
18746
|
if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
|
|
18747
18747
|
_optionalChain([onSubmitClick, 'optionalCall', _423 => _423()]);
|
|
@@ -18802,7 +18802,7 @@ function LoginForm({
|
|
|
18802
18802
|
role: "status",
|
|
18803
18803
|
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",
|
|
18804
18804
|
children: [
|
|
18805
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18805
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.AlertTriangleIcon, { className: "h-6 w-6 shrink-0" }),
|
|
18806
18806
|
noCustomSsoLabel
|
|
18807
18807
|
]
|
|
18808
18808
|
}
|
|
@@ -18883,8 +18883,8 @@ function OpenFrameSsoLoginForm({
|
|
|
18883
18883
|
className
|
|
18884
18884
|
}) {
|
|
18885
18885
|
const fieldsDisabled = disabled || loading;
|
|
18886
|
-
const emailErr =
|
|
18887
|
-
const passwordErr =
|
|
18886
|
+
const emailErr = _chunkGNKM6R55cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _426 => _426.email]), email);
|
|
18887
|
+
const passwordErr = _chunkGNKM6R55cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _427 => _427.password]), password);
|
|
18888
18888
|
const handleKeyDown = (event) => {
|
|
18889
18889
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18890
18890
|
onSubmit();
|
|
@@ -18989,7 +18989,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18989
18989
|
className
|
|
18990
18990
|
}) {
|
|
18991
18991
|
const fieldsDisabled = disabled || loading;
|
|
18992
|
-
const emailErr =
|
|
18992
|
+
const emailErr = _chunkGNKM6R55cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _428 => _428.email]), email);
|
|
18993
18993
|
const handleKeyDown = (event) => {
|
|
18994
18994
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18995
18995
|
onSubmit();
|
|
@@ -19094,8 +19094,8 @@ function PasswordResetForm({
|
|
|
19094
19094
|
className
|
|
19095
19095
|
}) {
|
|
19096
19096
|
const fieldsDisabled = disabled || loading;
|
|
19097
|
-
const passwordErr =
|
|
19098
|
-
const confirmErr =
|
|
19097
|
+
const passwordErr = _chunkGNKM6R55cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _429 => _429.password]), password);
|
|
19098
|
+
const confirmErr = _chunkGNKM6R55cjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _430 => _430.confirmPassword]), confirmPassword);
|
|
19099
19099
|
const handleKeyDown = (event) => {
|
|
19100
19100
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19101
19101
|
onSubmit();
|
|
@@ -19246,7 +19246,7 @@ function SsoJoinForm({
|
|
|
19246
19246
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
19247
19247
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
19248
19248
|
] }),
|
|
19249
|
-
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,
|
|
19249
|
+
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, _chunkBSWD3FAXcjs.Tag, { variant: "grey", label: role }, role)) })
|
|
19250
19250
|
] }),
|
|
19251
19251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19252
19252
|
CheckboxBlock,
|
|
@@ -19702,7 +19702,7 @@ function CommandBox({
|
|
|
19702
19702
|
onClick: onCopy,
|
|
19703
19703
|
"aria-label": copyAriaLabel,
|
|
19704
19704
|
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",
|
|
19705
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19705
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Copy02Icon, { className: "h-5 w-5" })
|
|
19706
19706
|
}
|
|
19707
19707
|
)
|
|
19708
19708
|
] }) : commandText,
|
|
@@ -20147,7 +20147,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20147
20147
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
20148
20148
|
title: config.title,
|
|
20149
20149
|
loading: "eager",
|
|
20150
|
-
...
|
|
20150
|
+
..._chunkBSWD3FAXcjs.fetchPriorityProp.call(void 0, "high")
|
|
20151
20151
|
},
|
|
20152
20152
|
iframeKey
|
|
20153
20153
|
),
|
|
@@ -20571,7 +20571,7 @@ var FiltersDropdown = ({
|
|
|
20571
20571
|
window.addEventListener("resize", calculateOptimalPlacement);
|
|
20572
20572
|
return () => window.removeEventListener("resize", calculateOptimalPlacement);
|
|
20573
20573
|
}, [isOpen, isMobile, placement]);
|
|
20574
|
-
|
|
20574
|
+
_chunkTLLJIGTPcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
20575
20575
|
const dropdown = dropdownRef.current;
|
|
20576
20576
|
if (!dropdown) return;
|
|
20577
20577
|
if (!isMobile) {
|
|
@@ -20997,7 +20997,7 @@ function MediaGalleryManager({
|
|
|
20997
20997
|
/* @__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" ? (
|
|
20998
20998
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
20999
20999
|
// fit="cover" crops to the aspect-video cell.
|
|
21000
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21000
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
21001
21001
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21002
21002
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
21003
21003
|
{
|
|
@@ -21384,7 +21384,7 @@ function PathsDisplay({
|
|
|
21384
21384
|
onClick: () => onCopyPath(path),
|
|
21385
21385
|
"aria-label": `Copy ${path}`,
|
|
21386
21386
|
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",
|
|
21387
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21387
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Copy02Icon, { className: copyIconSize })
|
|
21388
21388
|
}
|
|
21389
21389
|
)
|
|
21390
21390
|
] }, path)) })
|
|
@@ -21446,7 +21446,7 @@ function PlatformFilterComponent({
|
|
|
21446
21446
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
21447
21447
|
size,
|
|
21448
21448
|
onClick: () => onPlatformChange(platform.value),
|
|
21449
|
-
leftIcon: showIcons ?
|
|
21449
|
+
leftIcon: showIcons ? _chunkGNKM6R55cjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
21450
21450
|
className: "text-h3",
|
|
21451
21451
|
children: platform.label
|
|
21452
21452
|
},
|
|
@@ -23248,9 +23248,9 @@ function PushButtonSelector({
|
|
|
23248
23248
|
option.id
|
|
23249
23249
|
);
|
|
23250
23250
|
if (option.disabled && option.disabledReason) {
|
|
23251
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23252
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23253
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23251
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBSWD3FAXcjs.Tooltip, { children: [
|
|
23252
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
23253
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
23254
23254
|
] }, option.id);
|
|
23255
23255
|
}
|
|
23256
23256
|
return optionEl;
|
|
@@ -23295,7 +23295,7 @@ function PushButtonSelector({
|
|
|
23295
23295
|
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
|
|
23296
23296
|
] }) : null
|
|
23297
23297
|
] });
|
|
23298
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23298
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
23299
23299
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
23300
23300
|
searchInput,
|
|
23301
23301
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23468,7 +23468,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23468
23468
|
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" ? (
|
|
23469
23469
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
23470
23470
|
// fit="cover" crops to the aspect-video cell.
|
|
23471
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23471
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23472
23472
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23473
23473
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
23474
23474
|
{
|
|
@@ -23601,8 +23601,8 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
23601
23601
|
}
|
|
23602
23602
|
)
|
|
23603
23603
|
] }),
|
|
23604
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23605
|
-
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23604
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
23605
|
+
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
23606
23606
|
]
|
|
23607
23607
|
}
|
|
23608
23608
|
);
|
|
@@ -24463,7 +24463,7 @@ function VideoBitesDisplay({
|
|
|
24463
24463
|
filterPublished = true,
|
|
24464
24464
|
showTitle = true
|
|
24465
24465
|
}) {
|
|
24466
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24466
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24467
24467
|
}
|
|
24468
24468
|
|
|
24469
24469
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24532,7 +24532,7 @@ function WalkthroughVideo({
|
|
|
24532
24532
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24533
24533
|
};
|
|
24534
24534
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
24535
|
-
const hydrated =
|
|
24535
|
+
const hydrated = _chunkBSWD3FAXcjs.useIsHydrated.call(void 0, );
|
|
24536
24536
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24537
24537
|
if (!hydrated) return false;
|
|
24538
24538
|
try {
|
|
@@ -24929,7 +24929,7 @@ function WalkthroughVideo({
|
|
|
24929
24929
|
},
|
|
24930
24930
|
children: [
|
|
24931
24931
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24932
|
-
|
|
24932
|
+
_chunkBSWD3FAXcjs.VideoHoverPreviewSurface,
|
|
24933
24933
|
{
|
|
24934
24934
|
url: video.mainVideoUrl || "",
|
|
24935
24935
|
posterUrl: video.posterUrl,
|
|
@@ -24952,7 +24952,7 @@ function WalkthroughVideo({
|
|
|
24952
24952
|
`card-${embedUrlKey}`
|
|
24953
24953
|
) }),
|
|
24954
24954
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24955
|
-
|
|
24955
|
+
_chunkBSWD3FAXcjs.CardHitLayer,
|
|
24956
24956
|
{
|
|
24957
24957
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24958
24958
|
onPointerDown: pausePreviewNow,
|
|
@@ -24961,7 +24961,7 @@ function WalkthroughVideo({
|
|
|
24961
24961
|
}
|
|
24962
24962
|
),
|
|
24963
24963
|
/* @__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: [
|
|
24964
|
-
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,
|
|
24964
|
+
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, _chunkBSWD3FAXcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
24965
24965
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
24966
24966
|
] }),
|
|
24967
24967
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24974,7 +24974,7 @@ function WalkthroughVideo({
|
|
|
24974
24974
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24975
24975
|
onClick: onUnmuteOrPlay,
|
|
24976
24976
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
24977
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24977
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.VideoUnmuteGlyph, {})
|
|
24978
24978
|
}
|
|
24979
24979
|
),
|
|
24980
24980
|
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: [
|
|
@@ -24988,7 +24988,7 @@ function WalkthroughVideo({
|
|
|
24988
24988
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24989
24989
|
onClick: onToggleMute,
|
|
24990
24990
|
className: _chunk23V5BSHDcjs.cn.call(void 0, showBigUnmute && !controlIsPlay && "sm:hidden"),
|
|
24991
|
-
children: cardMuted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24991
|
+
children: cardMuted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.VolumeXmarkIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.VolumeUpIcon, {})
|
|
24992
24992
|
}
|
|
24993
24993
|
),
|
|
24994
24994
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -25000,7 +25000,7 @@ function WalkthroughVideo({
|
|
|
25000
25000
|
title: controlIsPlay ? "Play" : "Pause",
|
|
25001
25001
|
onPointerDown: (e) => e.stopPropagation(),
|
|
25002
25002
|
onClick: onTogglePlay,
|
|
25003
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25003
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PlayIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PauseIcon, {})
|
|
25004
25004
|
}
|
|
25005
25005
|
)
|
|
25006
25006
|
] }),
|
|
@@ -25013,7 +25013,7 @@ function WalkthroughVideo({
|
|
|
25013
25013
|
onPointerDown: pausePreviewNow,
|
|
25014
25014
|
onClick: dismiss,
|
|
25015
25015
|
className: "absolute right-[var(--spacing-system-xsf)] top-[var(--spacing-system-xsf)] z-40",
|
|
25016
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25016
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, {})
|
|
25017
25017
|
}
|
|
25018
25018
|
)
|
|
25019
25019
|
]
|
|
@@ -25067,7 +25067,7 @@ function WalkthroughVideo({
|
|
|
25067
25067
|
children: [
|
|
25068
25068
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
25069
25069
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25070
|
-
|
|
25070
|
+
_chunkBSWD3FAXcjs.Video,
|
|
25071
25071
|
{
|
|
25072
25072
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
25073
25073
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -25098,7 +25098,7 @@ function WalkthroughVideo({
|
|
|
25098
25098
|
size: "icon-sm",
|
|
25099
25099
|
"aria-label": "Close",
|
|
25100
25100
|
className: "absolute right-[var(--spacing-system-sf)] top-[var(--spacing-system-sf)] z-10",
|
|
25101
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25101
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, {})
|
|
25102
25102
|
}
|
|
25103
25103
|
) })
|
|
25104
25104
|
]
|
|
@@ -25118,7 +25118,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
25118
25118
|
var _reactquery = require('@tanstack/react-query');
|
|
25119
25119
|
function useWalkthroughVideo(opts) {
|
|
25120
25120
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
25121
|
-
const captions =
|
|
25121
|
+
const captions = _chunkBSWD3FAXcjs.useCaptions.call(void 0, );
|
|
25122
25122
|
const query = _reactquery.useQuery.call(void 0, {
|
|
25123
25123
|
queryKey: ["walkthrough-video", endpoint],
|
|
25124
25124
|
enabled,
|
|
@@ -25316,7 +25316,7 @@ function VideoSourceSelector({
|
|
|
25316
25316
|
}
|
|
25317
25317
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
25318
25318
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
25319
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25319
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
25320
25320
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25321
25321
|
"button",
|
|
25322
25322
|
{
|
|
@@ -25351,7 +25351,7 @@ function SubtitlesEditor({
|
|
|
25351
25351
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
25352
25352
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { htmlFor: id, children: label }),
|
|
25353
25353
|
isAIGenerated && subtitles && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
|
|
25354
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25354
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.StandardCcIcon, { size: 12 }),
|
|
25355
25355
|
"AI Generated"
|
|
25356
25356
|
] })
|
|
25357
25357
|
] }),
|
|
@@ -25840,7 +25840,7 @@ function HighlightVideoSection({
|
|
|
25840
25840
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25841
25841
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25842
25842
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25843
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25843
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25844
25844
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25845
25845
|
"button",
|
|
25846
25846
|
{
|
|
@@ -26550,7 +26550,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26550
26550
|
if (level) onPermissionChange(categoryId, policy.id, level);
|
|
26551
26551
|
};
|
|
26552
26552
|
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: [
|
|
26553
|
-
/* @__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,
|
|
26553
|
+
/* @__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, _chunkTLLJIGTPcjs.ToolIcon, { toolType: policy.toolName, size: 16 }) }),
|
|
26554
26554
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
26555
26555
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h4", title: policy.name, children: policy.name }),
|
|
26556
26556
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "break-all text-ods-text-secondary text-h6", children: policy.commandPattern }),
|
|
@@ -26576,7 +26576,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26576
26576
|
] });
|
|
26577
26577
|
};
|
|
26578
26578
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
26579
|
-
const { innerRef, containerStyle } =
|
|
26579
|
+
const { innerRef, containerStyle } = _chunkBSWD3FAXcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
26580
26580
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
26581
26581
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26582
26582
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26741,10 +26741,10 @@ function WaitlistForm({
|
|
|
26741
26741
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26742
26742
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
26743
26743
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
26744
|
-
const { toast } =
|
|
26745
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
26744
|
+
const { toast } = _chunkGNKM6R55cjs.useToast.call(void 0, );
|
|
26745
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkGNKM6R55cjs.useHumanitySignals.call(void 0, );
|
|
26746
26746
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26747
|
-
const isClient =
|
|
26747
|
+
const isClient = _chunkBSWD3FAXcjs.useIsHydrated.call(void 0, );
|
|
26748
26748
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26749
26749
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26750
26750
|
const isMailDomainGeneric = hasGenericEmailDomain(email);
|
|
@@ -27292,7 +27292,7 @@ function useContainedResizableSize({
|
|
|
27292
27292
|
const clampToContainer = _react.useCallback.call(void 0,
|
|
27293
27293
|
(value) => {
|
|
27294
27294
|
const effectiveMax = available > 0 ? Math.min(maxSize, available - 40) : maxSize;
|
|
27295
|
-
return
|
|
27295
|
+
return _chunkTLLJIGTPcjs.clamp.call(void 0, value, minSize, Math.max(minSize, effectiveMax));
|
|
27296
27296
|
},
|
|
27297
27297
|
[available, minSize, maxSize]
|
|
27298
27298
|
);
|
|
@@ -27524,7 +27524,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27524
27524
|
"data-state": open ? "open" : "closed",
|
|
27525
27525
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
27526
27526
|
"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",
|
|
27527
|
-
|
|
27527
|
+
_chunkBSWD3FAXcjs.OVERLAY_BACKDROP_CLASS,
|
|
27528
27528
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
27529
27529
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
27530
27530
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -27600,11 +27600,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27600
27600
|
}
|
|
27601
27601
|
);
|
|
27602
27602
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
27603
|
-
var AppLayoutDrawerHeader =
|
|
27604
|
-
var AppLayoutDrawerTitle =
|
|
27605
|
-
var AppLayoutDrawerDescription =
|
|
27606
|
-
var AppLayoutDrawerBody =
|
|
27607
|
-
var AppLayoutDrawerFooter =
|
|
27603
|
+
var AppLayoutDrawerHeader = _chunkBSWD3FAXcjs.DrawerHeader;
|
|
27604
|
+
var AppLayoutDrawerTitle = _chunkBSWD3FAXcjs.DrawerTitle;
|
|
27605
|
+
var AppLayoutDrawerDescription = _chunkBSWD3FAXcjs.DrawerDescription;
|
|
27606
|
+
var AppLayoutDrawerBody = _chunkBSWD3FAXcjs.DrawerBody;
|
|
27607
|
+
var AppLayoutDrawerFooter = _chunkBSWD3FAXcjs.DrawerFooter;
|
|
27608
27608
|
|
|
27609
27609
|
// src/components/features/notifications/notification-tile.tsx
|
|
27610
27610
|
|
|
@@ -27690,20 +27690,20 @@ function NotificationTile({
|
|
|
27690
27690
|
height: 16,
|
|
27691
27691
|
unoptimized: true
|
|
27692
27692
|
}
|
|
27693
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
27693
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkGNKM6R55cjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27694
27694
|
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" }),
|
|
27695
|
-
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
27695
|
+
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkBSWD3FAXcjs.formatTicketRelativeTime.call(void 0, createdAtIso) }) : null,
|
|
27696
27696
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
27697
27697
|
{
|
|
27698
27698
|
active: isLive,
|
|
27699
27699
|
label: "Dismiss notification",
|
|
27700
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27700
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { size: 16 }),
|
|
27701
27701
|
onClick: () => _optionalChain([onSettle, 'optionalCall', _580 => _580(id)])
|
|
27702
27702
|
},
|
|
27703
27703
|
{
|
|
27704
27704
|
active: !isLive,
|
|
27705
27705
|
label: "Mark notification complete",
|
|
27706
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27706
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckCircleIcon, { size: 16 }),
|
|
27707
27707
|
onClick: () => onComplete(id)
|
|
27708
27708
|
}
|
|
27709
27709
|
].map(({ active, label, icon: actionIcon, onClick }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -27737,7 +27737,7 @@ function NotificationTile({
|
|
|
27737
27737
|
"div",
|
|
27738
27738
|
{
|
|
27739
27739
|
"aria-hidden": true,
|
|
27740
|
-
className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left",
|
|
27740
|
+
className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left", _chunkGNKM6R55cjs.progressColorByVariant[accentVariant]),
|
|
27741
27741
|
style: {
|
|
27742
27742
|
animation: `toast-progress ${liveDurationMs}ms linear forwards`,
|
|
27743
27743
|
animationDelay: `-${initialElapsed}ms`
|
|
@@ -27789,7 +27789,7 @@ function NotificationDrawer({
|
|
|
27789
27789
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27790
27790
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27791
27791
|
/* @__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,
|
|
27792
|
-
|
|
27792
|
+
_chunkBSWD3FAXcjs.DrawerTitle,
|
|
27793
27793
|
{
|
|
27794
27794
|
hideClose: true,
|
|
27795
27795
|
className: "truncate",
|
|
@@ -27848,8 +27848,8 @@ function NotificationDrawer({
|
|
|
27848
27848
|
}
|
|
27849
27849
|
) });
|
|
27850
27850
|
}
|
|
27851
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27852
|
-
|
|
27851
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27852
|
+
_chunkBSWD3FAXcjs.DrawerContent,
|
|
27853
27853
|
{
|
|
27854
27854
|
side: "right",
|
|
27855
27855
|
"aria-describedby": void 0,
|
|
@@ -27940,7 +27940,7 @@ function DrawerLoadingTiles() {
|
|
|
27940
27940
|
}
|
|
27941
27941
|
function EmptyState() {
|
|
27942
27942
|
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: [
|
|
27943
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27943
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.BellOffIcon, { size: 24, className: "text-ods-text-secondary" }),
|
|
27944
27944
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "No new notifications" })
|
|
27945
27945
|
] });
|
|
27946
27946
|
}
|
|
@@ -27954,7 +27954,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
27954
27954
|
] });
|
|
27955
27955
|
}
|
|
27956
27956
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
27957
|
-
const { supported, permission, request } =
|
|
27957
|
+
const { supported, permission, request } = _chunkGNKM6R55cjs.useNotificationPermission.call(void 0, );
|
|
27958
27958
|
if (!supported) return null;
|
|
27959
27959
|
const blocked = permission === "denied";
|
|
27960
27960
|
const handleChange = async (value) => {
|
|
@@ -27988,10 +27988,10 @@ function NotificationsHistoryButton({ onClick, historyHref }) {
|
|
|
27988
27988
|
fullWidth: true,
|
|
27989
27989
|
onClick,
|
|
27990
27990
|
mainDisabled: !onClick,
|
|
27991
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27991
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ClockHistoryIcon, { className: "text-ods-text-secondary" }),
|
|
27992
27992
|
groupAriaLabel: "Notifications history",
|
|
27993
27993
|
iconAction: {
|
|
27994
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27994
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ArrowRightUpIcon, { className: "text-ods-text-secondary" }),
|
|
27995
27995
|
"aria-label": "Open notifications history in a new tab",
|
|
27996
27996
|
href: historyHref,
|
|
27997
27997
|
openInNewTab: true,
|
|
@@ -28132,13 +28132,13 @@ function getApprovalMeta(notification) {
|
|
|
28132
28132
|
function resolutionToStatus(resolution) {
|
|
28133
28133
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
28134
28134
|
case "APPROVED":
|
|
28135
|
-
return
|
|
28135
|
+
return _chunkBSWD3FAXcjs.APPROVAL_STATUS.APPROVED;
|
|
28136
28136
|
case "REJECTED":
|
|
28137
|
-
return
|
|
28137
|
+
return _chunkBSWD3FAXcjs.APPROVAL_STATUS.REJECTED;
|
|
28138
28138
|
case "CANCELLED":
|
|
28139
|
-
return
|
|
28139
|
+
return _chunkBSWD3FAXcjs.APPROVAL_STATUS.CANCELLED;
|
|
28140
28140
|
default:
|
|
28141
|
-
return
|
|
28141
|
+
return _chunkBSWD3FAXcjs.APPROVAL_STATUS.PENDING;
|
|
28142
28142
|
}
|
|
28143
28143
|
}
|
|
28144
28144
|
function approvalMetaToBatchData(approval) {
|
|
@@ -28178,7 +28178,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28178
28178
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _599 => _599.resolution]));
|
|
28179
28179
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28180
28180
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28181
|
-
const { innerRef, containerStyle } =
|
|
28181
|
+
const { innerRef, containerStyle } = _chunkBSWD3FAXcjs.useCollapsible.call(void 0, { expanded });
|
|
28182
28182
|
if (!approval || !batchData) return null;
|
|
28183
28183
|
const tileNotification = {
|
|
28184
28184
|
...notification,
|
|
@@ -28231,7 +28231,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28231
28231
|
}
|
|
28232
28232
|
)
|
|
28233
28233
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28234
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28234
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ApprovalStatusTag, { status }),
|
|
28235
28235
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
28236
28236
|
"by ",
|
|
28237
28237
|
approval.resolvedByName
|
|
@@ -28249,12 +28249,12 @@ function ApprovalRequestNotificationTile({
|
|
|
28249
28249
|
"aria-expanded": expanded,
|
|
28250
28250
|
"aria-label": toggleLabel,
|
|
28251
28251
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
28252
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28252
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.ExpandChevron, { expanded })
|
|
28253
28253
|
}
|
|
28254
28254
|
)
|
|
28255
28255
|
] }),
|
|
28256
28256
|
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,
|
|
28257
|
-
|
|
28257
|
+
_chunkBSWD3FAXcjs.ApprovalBatchMessage,
|
|
28258
28258
|
{
|
|
28259
28259
|
data: batchData,
|
|
28260
28260
|
showExecutionStatus: false,
|
|
@@ -28330,7 +28330,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
28330
28330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
28331
28331
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
28332
28332
|
] }),
|
|
28333
|
-
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28333
|
+
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
28334
28334
|
] });
|
|
28335
28335
|
}
|
|
28336
28336
|
function TimeTrackerPanel({
|
|
@@ -28437,7 +28437,7 @@ function TimeTrackerPanel({
|
|
|
28437
28437
|
onClick: onClose,
|
|
28438
28438
|
"aria-label": "Close time tracker",
|
|
28439
28439
|
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",
|
|
28440
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28440
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, {})
|
|
28441
28441
|
}
|
|
28442
28442
|
),
|
|
28443
28443
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
@@ -28473,7 +28473,7 @@ function TimeTrackerPanel({
|
|
|
28473
28473
|
disabled: isStarting,
|
|
28474
28474
|
"aria-label": isRunning ? "Pause tracking" : isActive ? "Resume tracking" : "Start tracking",
|
|
28475
28475
|
className: "h-auto w-auto rounded-none transition-none [&_svg]:!size-6",
|
|
28476
|
-
children: isRunning ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28476
|
+
children: isRunning ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PauseIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PlayIcon, {})
|
|
28477
28477
|
}
|
|
28478
28478
|
),
|
|
28479
28479
|
isActive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -28485,7 +28485,7 @@ function TimeTrackerPanel({
|
|
|
28485
28485
|
disabled: isSubmitting,
|
|
28486
28486
|
"aria-label": "Finish and save tracking",
|
|
28487
28487
|
className: "h-auto w-auto rounded-none border-l border-ods-border [&_svg]:!size-6",
|
|
28488
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28488
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckCircleIcon, {})
|
|
28489
28489
|
}
|
|
28490
28490
|
)
|
|
28491
28491
|
] }),
|
|
@@ -28538,7 +28538,7 @@ function TimeTrackerPanel({
|
|
|
28538
28538
|
),
|
|
28539
28539
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
28540
28540
|
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: [
|
|
28541
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28541
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ClockHistoryIcon, { className: "size-6" }),
|
|
28542
28542
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
28543
28543
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-medium text-h4", children: "No time logged" }),
|
|
28544
28544
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6", children: "Last entries will appear here" })
|
|
@@ -28555,7 +28555,7 @@ function TimeTrackerPanel({
|
|
|
28555
28555
|
className: "min-w-0",
|
|
28556
28556
|
onClick: handleManualEntry,
|
|
28557
28557
|
disabled: !onManualEntry,
|
|
28558
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28558
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PlusCircleIcon, { className: "text-ods-text-secondary" }),
|
|
28559
28559
|
children: "Manual Entry"
|
|
28560
28560
|
}
|
|
28561
28561
|
),
|
|
@@ -28570,7 +28570,7 @@ function TimeTrackerPanel({
|
|
|
28570
28570
|
mainDisabled: !onOpenMyTime,
|
|
28571
28571
|
groupAriaLabel: "Open my time",
|
|
28572
28572
|
iconAction: {
|
|
28573
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28573
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ArrowRightUpIcon, { size: 24 }),
|
|
28574
28574
|
"aria-label": "Open my time in a new view",
|
|
28575
28575
|
onClick: onOpenMyTimeMenu,
|
|
28576
28576
|
disabled: !onOpenMyTimeMenu,
|
|
@@ -28590,19 +28590,19 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28590
28590
|
function StatusTag({ status }) {
|
|
28591
28591
|
if (status === "tracking") {
|
|
28592
28592
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28593
|
-
|
|
28593
|
+
_chunkBSWD3FAXcjs.Tag,
|
|
28594
28594
|
{
|
|
28595
28595
|
variant: "success",
|
|
28596
28596
|
className: STATUS_TAG_SKIN,
|
|
28597
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28597
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.DotsLoaderIcon, { className: "h-4 w-4" }),
|
|
28598
28598
|
label: "Tracking"
|
|
28599
28599
|
}
|
|
28600
28600
|
);
|
|
28601
28601
|
}
|
|
28602
28602
|
if (status === "paused") {
|
|
28603
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28603
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
28604
28604
|
}
|
|
28605
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28605
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28606
28606
|
}
|
|
28607
28607
|
function LastEntryRow({ entry, onClick }) {
|
|
28608
28608
|
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: [
|
|
@@ -28623,7 +28623,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
28623
28623
|
disabled: !onClick,
|
|
28624
28624
|
"aria-label": `Open entry: ${entry.title}`,
|
|
28625
28625
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
28626
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28626
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02RightIcon, {})
|
|
28627
28627
|
}
|
|
28628
28628
|
)
|
|
28629
28629
|
] });
|
|
@@ -28746,7 +28746,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28746
28746
|
),
|
|
28747
28747
|
icon: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28748
28748
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28749
|
-
|
|
28749
|
+
_chunkYRTMAXLEcjs.ClockHistoryIcon,
|
|
28750
28750
|
{
|
|
28751
28751
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "h-6 w-6", isPaused ? "text-ods-text-secondary" : isActive && "text-ods-accent")
|
|
28752
28752
|
}
|
|
@@ -28771,7 +28771,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28771
28771
|
"data-state": isOpen ? "open" : "closed",
|
|
28772
28772
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
28773
28773
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28774
|
-
|
|
28774
|
+
_chunkBSWD3FAXcjs.OVERLAY_BACKDROP_CLASS,
|
|
28775
28775
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28776
28776
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28777
28777
|
)
|
|
@@ -28925,7 +28925,7 @@ function BoardColumnHeader({
|
|
|
28925
28925
|
}) {
|
|
28926
28926
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
28927
28927
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
28928
|
-
const useStatusVariant =
|
|
28928
|
+
const useStatusVariant = _chunkBSWD3FAXcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
28929
28929
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
28930
28930
|
if (collapsed) {
|
|
28931
28931
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -28937,11 +28937,11 @@ function BoardColumnHeader({
|
|
|
28937
28937
|
className: actionClass,
|
|
28938
28938
|
onClick: onToggleCollapse,
|
|
28939
28939
|
"aria-label": "Expand column",
|
|
28940
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28940
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Arrow02RightIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
28941
28941
|
}
|
|
28942
28942
|
),
|
|
28943
28943
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28944
|
-
|
|
28944
|
+
_chunkBSWD3FAXcjs.TicketStatusTag,
|
|
28945
28945
|
{
|
|
28946
28946
|
status: tagStatus,
|
|
28947
28947
|
label: column.label,
|
|
@@ -28954,11 +28954,11 @@ function BoardColumnHeader({
|
|
|
28954
28954
|
}
|
|
28955
28955
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28956
28956
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28957
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28957
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
28958
28958
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
28959
28959
|
] }),
|
|
28960
28960
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
28961
|
-
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,
|
|
28961
|
+
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, _chunkYRTMAXLEcjs.InfoCircleIcon, { className: "h-6 w-6 text-ods-text-secondary" }) }) }),
|
|
28962
28962
|
onToggleCollapse && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28963
28963
|
_chunkWRJVEB2Jcjs.Button,
|
|
28964
28964
|
{
|
|
@@ -28967,7 +28967,7 @@ function BoardColumnHeader({
|
|
|
28967
28967
|
className: actionClass,
|
|
28968
28968
|
onClick: onToggleCollapse,
|
|
28969
28969
|
"aria-label": "Collapse column",
|
|
28970
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28970
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Arrow02LeftIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
28971
28971
|
}
|
|
28972
28972
|
),
|
|
28973
28973
|
onArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -28978,7 +28978,7 @@ function BoardColumnHeader({
|
|
|
28978
28978
|
className: actionClass,
|
|
28979
28979
|
onClick: onArchive,
|
|
28980
28980
|
"aria-label": "Archive resolved tickets",
|
|
28981
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28981
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.BoxArchiveIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
28982
28982
|
}
|
|
28983
28983
|
),
|
|
28984
28984
|
onAddTicket && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -28989,7 +28989,7 @@ function BoardColumnHeader({
|
|
|
28989
28989
|
className: actionClass,
|
|
28990
28990
|
onClick: onAddTicket,
|
|
28991
28991
|
"aria-label": "Add ticket",
|
|
28992
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28992
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PlusIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
28993
28993
|
}
|
|
28994
28994
|
)
|
|
28995
28995
|
] })
|
|
@@ -29034,7 +29034,7 @@ function cardPositions(root) {
|
|
|
29034
29034
|
}
|
|
29035
29035
|
function useLaneScrollAnchor(scrollRef, tickets) {
|
|
29036
29036
|
const positionsRef = _react.useRef.call(void 0, []);
|
|
29037
|
-
|
|
29037
|
+
_chunkTLLJIGTPcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
29038
29038
|
const root = scrollRef.current;
|
|
29039
29039
|
if (!root) return;
|
|
29040
29040
|
const previous = positionsRef.current;
|
|
@@ -29105,7 +29105,7 @@ function holdMoveDragEffect(element) {
|
|
|
29105
29105
|
|
|
29106
29106
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
29107
29107
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
29108
|
-
const { innerRef, containerStyle } =
|
|
29108
|
+
const { innerRef, containerStyle } = _chunkBSWD3FAXcjs.useCollapsible.call(void 0, { expanded });
|
|
29109
29109
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
29110
29110
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
29111
29111
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -29124,17 +29124,17 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
29124
29124
|
isAdmin ? "text-ods-open-yellow" : "text-ods-text-secondary"
|
|
29125
29125
|
),
|
|
29126
29126
|
children: [
|
|
29127
|
-
isAdmin ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29127
|
+
isAdmin ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ShieldCheckIcon, { className: "size-4 shrink-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.DotsLoaderIcon, { size: 16, className: "shrink-0" }),
|
|
29128
29128
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-1 truncate text-left", children: isAdmin ? "Technician approval required" : "Pending client approval" })
|
|
29129
29129
|
]
|
|
29130
29130
|
}
|
|
29131
29131
|
),
|
|
29132
|
-
expanded ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29132
|
+
expanded ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02UpIcon, { className: "size-4 shrink-0 text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02DownIcon, { className: "size-4 shrink-0 text-ods-text-secondary" })
|
|
29133
29133
|
]
|
|
29134
29134
|
}
|
|
29135
29135
|
),
|
|
29136
29136
|
/* @__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,
|
|
29137
|
-
|
|
29137
|
+
_chunkBSWD3FAXcjs.ApprovalBatchMessage,
|
|
29138
29138
|
{
|
|
29139
29139
|
className: "mb-0",
|
|
29140
29140
|
data: {
|
|
@@ -29206,13 +29206,13 @@ var ACTIVITY_DEFAULT_LABEL = {
|
|
|
29206
29206
|
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";
|
|
29207
29207
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
29208
29208
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
29209
|
-
const newMessageTextColor = columnColor ?
|
|
29209
|
+
const newMessageTextColor = columnColor ? _chunkBSWD3FAXcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29210
29210
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _635 => _635.deviceHostnames, 'optionalAccess', _636 => _636.length]) || ticket.organizationName);
|
|
29211
29211
|
const deviceText = [_optionalChain([ticket, 'access', _637 => _637.deviceHostnames, 'optionalAccess', _638 => _638.join, 'call', _639 => _639(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29212
29212
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _640 => _640.assignees, 'optionalAccess', _641 => _641.length]) || renderAssignSlot);
|
|
29213
29213
|
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: [
|
|
29214
29214
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29215
|
-
|
|
29215
|
+
_chunkYRTMAXLEcjs.Flag02Icon,
|
|
29216
29216
|
{
|
|
29217
29217
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "size-4", PRIORITY_COLOR_CLASS[ticket.priority]),
|
|
29218
29218
|
"aria-label": `Priority: ${ticket.priority}`
|
|
@@ -29245,8 +29245,8 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29245
29245
|
] })
|
|
29246
29246
|
] }) : null
|
|
29247
29247
|
] }) : null;
|
|
29248
|
-
const timestampLabel = ticket.createdAt ?
|
|
29249
|
-
const tooltipLabel = ticket.createdAt ?
|
|
29248
|
+
const timestampLabel = ticket.createdAt ? _chunkBSWD3FAXcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
29249
|
+
const tooltipLabel = ticket.createdAt ? _chunkBSWD3FAXcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
29250
29250
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
29251
29251
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29252
29252
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
@@ -29260,12 +29260,12 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29260
29260
|
rightSection
|
|
29261
29261
|
] }),
|
|
29262
29262
|
_optionalChain([ticket, 'access', _644 => _644.tags, 'optionalAccess', _645 => _645.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29263
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29265
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29263
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBSWD3FAXcjs.Tooltip, { children: [
|
|
29264
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: metaLabel }) }),
|
|
29265
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.TooltipContent, { children: tooltipLabel })
|
|
29266
29266
|
] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: metaLabel })),
|
|
29267
29267
|
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: [
|
|
29268
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29268
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
29269
29269
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Escalated by User" })
|
|
29270
29270
|
] }),
|
|
29271
29271
|
ticket.activity && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -29276,16 +29276,16 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29276
29276
|
ticket.activity.kind === "stale" ? "text-ods-open-yellow" : "text-ods-text-secondary"
|
|
29277
29277
|
),
|
|
29278
29278
|
children: [
|
|
29279
|
-
ticket.activity.kind === "stale" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29279
|
+
ticket.activity.kind === "stale" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ClockIcon, { className: "size-4 shrink-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.DotsLoaderIcon, { className: "size-4 shrink-0" }),
|
|
29280
29280
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: _nullishCoalesce(ticket.activity.label, () => ( ACTIVITY_DEFAULT_LABEL[ticket.activity.kind])) })
|
|
29281
29281
|
]
|
|
29282
29282
|
}
|
|
29283
29283
|
),
|
|
29284
29284
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29285
|
-
|
|
29285
|
+
_chunkBSWD3FAXcjs.Tag,
|
|
29286
29286
|
{
|
|
29287
29287
|
label: "New Message",
|
|
29288
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29288
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
29289
29289
|
className: "w-fit shrink-0",
|
|
29290
29290
|
style: { backgroundColor: columnColor, color: newMessageTextColor }
|
|
29291
29291
|
}
|
|
@@ -29497,8 +29497,8 @@ function TicketTagRow({ tags }) {
|
|
|
29497
29497
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
29498
29498
|
const hidden = tags.length - visible.length;
|
|
29499
29499
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
29500
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29501
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29500
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
29501
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBSWD3FAXcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
29502
29502
|
] });
|
|
29503
29503
|
}
|
|
29504
29504
|
|
|
@@ -29721,7 +29721,7 @@ function EmptyState2({ columnId, touchMode }) {
|
|
|
29721
29721
|
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" });
|
|
29722
29722
|
}
|
|
29723
29723
|
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: [
|
|
29724
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29724
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TagIcon, { className: "h-6 w-6 shrink-0" }),
|
|
29725
29725
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
29726
29726
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: "No tickets here" }),
|
|
29727
29727
|
/* @__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" })
|
|
@@ -29740,7 +29740,7 @@ function resolveBoardDrop(columns, { source, target }) {
|
|
|
29740
29740
|
// src/components/features/board/use-board-collapse.ts
|
|
29741
29741
|
|
|
29742
29742
|
function useBoardCollapse(storageKey) {
|
|
29743
|
-
const [persisted, setPersisted] =
|
|
29743
|
+
const [persisted, setPersisted] = _chunkGNKM6R55cjs.useLocalStorage.call(void 0, _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")), {});
|
|
29744
29744
|
const [memory, setMemory] = _react.useState.call(void 0, {});
|
|
29745
29745
|
const collapsed = storageKey ? persisted : memory;
|
|
29746
29746
|
const setMap = storageKey ? setPersisted : setMemory;
|
|
@@ -29811,7 +29811,7 @@ var DROP_EASING = "cubic-bezier(0.2, 0, 0, 1)";
|
|
|
29811
29811
|
var DRAG_PREVIEW_Z = 1200;
|
|
29812
29812
|
var ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"];
|
|
29813
29813
|
function Board(props) {
|
|
29814
|
-
const dragAndDropEnabled =
|
|
29814
|
+
const dragAndDropEnabled = _chunkTLLJIGTPcjs.useMediaQuery.call(void 0, _chunkGNKM6R55cjs.DRAG_AND_DROP_MEDIA_QUERY);
|
|
29815
29815
|
if (dragAndDropEnabled === void 0) {
|
|
29816
29816
|
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) });
|
|
29817
29817
|
}
|
|
@@ -29843,7 +29843,7 @@ function DragBoard({
|
|
|
29843
29843
|
onThumbPointerDown,
|
|
29844
29844
|
onThumbPointerMove,
|
|
29845
29845
|
onThumbPointerUp
|
|
29846
|
-
} =
|
|
29846
|
+
} = _chunkGNKM6R55cjs.useHorizontalScrollbar.call(void 0, );
|
|
29847
29847
|
const columnsRef = _react.useRef.call(void 0, columns);
|
|
29848
29848
|
const onChangeRef = _react.useRef.call(void 0, onChange);
|
|
29849
29849
|
const boardRef = _react.useRef.call(void 0, null);
|
|
@@ -30032,7 +30032,7 @@ function DragBoard({
|
|
|
30032
30032
|
})
|
|
30033
30033
|
);
|
|
30034
30034
|
}, []);
|
|
30035
|
-
|
|
30035
|
+
_chunkTLLJIGTPcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
30036
30036
|
if (!landing) return void 0;
|
|
30037
30037
|
const finish = () => {
|
|
30038
30038
|
landingTimer.current = null;
|
|
@@ -30273,7 +30273,7 @@ function useSortableListContext() {
|
|
|
30273
30273
|
}
|
|
30274
30274
|
function SortableList({ onReorder, getItemLabel, disabled = false, className, children }) {
|
|
30275
30275
|
const listRef = _react.useRef.call(void 0, null);
|
|
30276
|
-
const dragAndDropEnabled =
|
|
30276
|
+
const dragAndDropEnabled = _chunkGNKM6R55cjs.useDragAndDropEnabled.call(void 0, );
|
|
30277
30277
|
const dragType = _react.useId.call(void 0, );
|
|
30278
30278
|
const [announcement, setAnnouncement] = _react.useState.call(void 0, "");
|
|
30279
30279
|
const onReorderRef = _react.useRef.call(void 0, onReorder);
|
|
@@ -30365,7 +30365,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30365
30365
|
})
|
|
30366
30366
|
);
|
|
30367
30367
|
}, [dragType, disabled, dragAndDropEnabled, readItems, reorder]);
|
|
30368
|
-
|
|
30368
|
+
_chunkTLLJIGTPcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
30369
30369
|
const from = flipFrom.current;
|
|
30370
30370
|
flipFrom.current = null;
|
|
30371
30371
|
if (!from) return;
|
|
@@ -30434,7 +30434,7 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
30434
30434
|
disabled: disabled || index <= 0,
|
|
30435
30435
|
onClick: () => move(-1),
|
|
30436
30436
|
className: "rounded-r-none border-r-0",
|
|
30437
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30437
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Arrow01UpIcon, {})
|
|
30438
30438
|
}
|
|
30439
30439
|
),
|
|
30440
30440
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30448,7 +30448,7 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
30448
30448
|
disabled: disabled || index >= count - 1,
|
|
30449
30449
|
onClick: () => move(1),
|
|
30450
30450
|
className: "rounded-l-none",
|
|
30451
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30451
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Arrow01DownIcon, {})
|
|
30452
30452
|
}
|
|
30453
30453
|
)
|
|
30454
30454
|
] });
|
|
@@ -31187,4 +31187,4 @@ function SortableRow({
|
|
|
31187
31187
|
|
|
31188
31188
|
|
|
31189
31189
|
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.ENTITY_QUOTES_TITLE = ENTITY_QUOTES_TITLE; 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.TICKET_APPROVAL_REQUEST_TYPE = TICKET_APPROVAL_REQUEST_TYPE; exports.MINGO_APPROVAL_REQUEST_TYPE = MINGO_APPROVAL_REQUEST_TYPE; exports.isApprovalNotificationType = isApprovalNotificationType; 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;
|
|
31190
|
-
//# sourceMappingURL=chunk-
|
|
31190
|
+
//# sourceMappingURL=chunk-WGY4VVB3.cjs.map
|