@flamingo-stack/openframe-frontend-core 0.0.648 → 0.0.649
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-IUHU5BC2.js → chunk-4OAG7752.js} +5 -5
- package/dist/{chunk-RM5MF2N3.cjs → chunk-742HTNAE.cjs} +3 -3
- package/dist/{chunk-RM5MF2N3.cjs.map → chunk-742HTNAE.cjs.map} +1 -1
- package/dist/{chunk-HXQWGZYG.cjs → chunk-C3CJJC2A.cjs} +7 -7
- package/dist/{chunk-HXQWGZYG.cjs.map → chunk-C3CJJC2A.cjs.map} +1 -1
- package/dist/{chunk-2A4RLR7R.js → chunk-C4VPCRSI.js} +4 -4
- package/dist/{chunk-VTLDEZ5D.js → chunk-CZVFFD3P.js} +5 -5
- package/dist/{chunk-OLPU5IVF.js → chunk-DVD4CMKB.js} +3 -3
- package/dist/{chunk-2ENDIKKP.cjs → chunk-EDDAU2BP.cjs} +44 -44
- package/dist/{chunk-2ENDIKKP.cjs.map → chunk-EDDAU2BP.cjs.map} +1 -1
- package/dist/{chunk-ODXVLFAQ.cjs → chunk-EUGIXBAC.cjs} +10 -10
- package/dist/{chunk-ODXVLFAQ.cjs.map → chunk-EUGIXBAC.cjs.map} +1 -1
- package/dist/{chunk-XE5DNWOR.js → chunk-H6ND7FKB.js} +5 -5
- package/dist/{chunk-H3EJDISW.js → chunk-IEM2Z6K6.js} +10 -2
- package/dist/chunk-IEM2Z6K6.js.map +1 -0
- package/dist/{chunk-UW7XUQFP.js → chunk-J2T3XDZX.js} +4 -4
- package/dist/{chunk-WBRO3MX2.js → chunk-J5VVA2KW.js} +2 -2
- package/dist/{chunk-N7AJUG4C.cjs → chunk-JYFCKQ2K.cjs} +22 -22
- package/dist/{chunk-N7AJUG4C.cjs.map → chunk-JYFCKQ2K.cjs.map} +1 -1
- package/dist/{chunk-SNQ5KWLP.js → chunk-KQGTQXG2.js} +2 -2
- package/dist/{chunk-VPEETTUS.cjs → chunk-KUCBDDQB.cjs} +248 -248
- package/dist/{chunk-VPEETTUS.cjs.map → chunk-KUCBDDQB.cjs.map} +1 -1
- package/dist/{chunk-XI3QJD3N.cjs → chunk-M2FFL6OG.cjs} +25 -25
- package/dist/{chunk-XI3QJD3N.cjs.map → chunk-M2FFL6OG.cjs.map} +1 -1
- package/dist/{chunk-FQ4TZP6K.js → chunk-MAFPT6GS.js} +6 -6
- package/dist/{chunk-LFCMKMHR.cjs → chunk-MB33V5S6.cjs} +51 -51
- package/dist/{chunk-LFCMKMHR.cjs.map → chunk-MB33V5S6.cjs.map} +1 -1
- package/dist/{chunk-EKLOXVG2.js → chunk-MXGGYW2R.js} +7 -7
- package/dist/{chunk-WMKXHOOD.cjs → chunk-N72F2XWZ.cjs} +10 -10
- package/dist/{chunk-WMKXHOOD.cjs.map → chunk-N72F2XWZ.cjs.map} +1 -1
- package/dist/{chunk-2ULLNHL3.js → chunk-O3B34KLC.js} +4 -4
- package/dist/{chunk-EFPAKLT5.cjs → chunk-OE6KUWRA.cjs} +25 -25
- package/dist/{chunk-EFPAKLT5.cjs.map → chunk-OE6KUWRA.cjs.map} +1 -1
- package/dist/{chunk-PYAFHT6B.js → chunk-OHNBWBZH.js} +3 -3
- package/dist/{chunk-VIAMEQM2.cjs → chunk-OWPMODYT.cjs} +5 -5
- package/dist/{chunk-VIAMEQM2.cjs.map → chunk-OWPMODYT.cjs.map} +1 -1
- package/dist/{chunk-DWJREJRA.cjs → chunk-PSXUY4K5.cjs} +10 -2
- package/dist/chunk-PSXUY4K5.cjs.map +1 -0
- package/dist/{chunk-HN4DLGKP.cjs → chunk-QFWZIXJ3.cjs} +75 -75
- package/dist/{chunk-HN4DLGKP.cjs.map → chunk-QFWZIXJ3.cjs.map} +1 -1
- package/dist/{chunk-GB2RYIVM.js → chunk-QG3ZNNKG.js} +2 -2
- package/dist/{chunk-M6QCADAT.js → chunk-QVAFZGCF.js} +7 -7
- package/dist/{chunk-3ORBE27K.js → chunk-QVKRSUGB.js} +2 -2
- package/dist/{chunk-SBKNMSQR.js → chunk-RHJ4NU3W.js} +2 -2
- package/dist/{chunk-IWEJCDCB.js → chunk-UOOXFD74.js} +3 -3
- package/dist/{chunk-YUXFHVC2.cjs → chunk-W554ING6.cjs} +12 -12
- package/dist/{chunk-YUXFHVC2.cjs.map → chunk-W554ING6.cjs.map} +1 -1
- package/dist/{chunk-4JRBRMKO.cjs → chunk-W7KFDHIU.cjs} +37 -37
- package/dist/{chunk-4JRBRMKO.cjs.map → chunk-W7KFDHIU.cjs.map} +1 -1
- package/dist/{chunk-EW3EIPT5.cjs → chunk-XIBBDYJK.cjs} +5 -5
- package/dist/{chunk-EW3EIPT5.cjs.map → chunk-XIBBDYJK.cjs.map} +1 -1
- package/dist/{chunk-YTOUGDPY.cjs → chunk-Y5EEPXT3.cjs} +33 -33
- package/dist/{chunk-YTOUGDPY.cjs.map → chunk-Y5EEPXT3.cjs.map} +1 -1
- package/dist/{chunk-WPNY4XEL.cjs → chunk-YCBGEHWC.cjs} +3 -3
- package/dist/{chunk-WPNY4XEL.cjs.map → chunk-YCBGEHWC.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/case-studies/index.js +5 -5
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +6 -6
- package/dist/components/contact/index.js +5 -5
- package/dist/components/docs/index.cjs +9 -9
- package/dist/components/docs/index.js +8 -8
- package/dist/components/embeds/index.cjs +6 -6
- package/dist/components/embeds/index.js +5 -5
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/faq/index.js +5 -5
- package/dist/components/features/index.cjs +5 -5
- package/dist/components/features/index.js +4 -4
- package/dist/components/help-center-pages/index.cjs +25 -25
- package/dist/components/help-center-pages/index.js +16 -16
- package/dist/components/icons/index.cjs +4 -2
- package/dist/components/icons/index.cjs.map +1 -1
- package/dist/components/icons/index.d.ts +1 -0
- package/dist/components/icons/index.d.ts.map +1 -1
- package/dist/components/icons/index.js +3 -1
- package/dist/components/icons/quickbooks-icon.d.ts +7 -0
- package/dist/components/icons/quickbooks-icon.d.ts.map +1 -0
- package/dist/components/index.cjs +44 -42
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +17 -15
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +28 -28
- package/dist/components/meeting-scheduler/index.js +4 -4
- package/dist/components/navigation/index.cjs +8 -8
- package/dist/components/navigation/index.js +7 -7
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.js +7 -7
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/tickets/index.js +8 -8
- package/dist/components/ui/index.cjs +5 -5
- package/dist/components/ui/index.js +4 -4
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +11 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/icons/index.ts +1 -0
- package/src/components/icons/quickbooks-icon.tsx +13 -0
- package/dist/chunk-DWJREJRA.cjs.map +0 -1
- package/dist/chunk-H3EJDISW.js.map +0 -1
- /package/dist/{chunk-IUHU5BC2.js.map → chunk-4OAG7752.js.map} +0 -0
- /package/dist/{chunk-2A4RLR7R.js.map → chunk-C4VPCRSI.js.map} +0 -0
- /package/dist/{chunk-VTLDEZ5D.js.map → chunk-CZVFFD3P.js.map} +0 -0
- /package/dist/{chunk-OLPU5IVF.js.map → chunk-DVD4CMKB.js.map} +0 -0
- /package/dist/{chunk-XE5DNWOR.js.map → chunk-H6ND7FKB.js.map} +0 -0
- /package/dist/{chunk-UW7XUQFP.js.map → chunk-J2T3XDZX.js.map} +0 -0
- /package/dist/{chunk-WBRO3MX2.js.map → chunk-J5VVA2KW.js.map} +0 -0
- /package/dist/{chunk-SNQ5KWLP.js.map → chunk-KQGTQXG2.js.map} +0 -0
- /package/dist/{chunk-FQ4TZP6K.js.map → chunk-MAFPT6GS.js.map} +0 -0
- /package/dist/{chunk-EKLOXVG2.js.map → chunk-MXGGYW2R.js.map} +0 -0
- /package/dist/{chunk-2ULLNHL3.js.map → chunk-O3B34KLC.js.map} +0 -0
- /package/dist/{chunk-PYAFHT6B.js.map → chunk-OHNBWBZH.js.map} +0 -0
- /package/dist/{chunk-GB2RYIVM.js.map → chunk-QG3ZNNKG.js.map} +0 -0
- /package/dist/{chunk-M6QCADAT.js.map → chunk-QVAFZGCF.js.map} +0 -0
- /package/dist/{chunk-3ORBE27K.js.map → chunk-QVKRSUGB.js.map} +0 -0
- /package/dist/{chunk-SBKNMSQR.js.map → chunk-RHJ4NU3W.js.map} +0 -0
- /package/dist/{chunk-IWEJCDCB.js.map → chunk-UOOXFD74.js.map} +0 -0
|
@@ -22,7 +22,7 @@ var _chunkTON3YCCWcjs = require('./chunk-TON3YCCW.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkOWPMODYTcjs = require('./chunk-OWPMODYT.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkJU6SBF3Ccjs = require('./chunk-JU6SBF3C.cjs');
|
|
@@ -93,7 +93,7 @@ var _chunkYWUZL3RTcjs = require('./chunk-YWUZL3RT.cjs');
|
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
|
|
96
|
-
var
|
|
96
|
+
var _chunkOE6KUWRAcjs = require('./chunk-OE6KUWRA.cjs');
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
|
|
@@ -148,7 +148,7 @@ var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
|
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
var
|
|
151
|
+
var _chunkPSXUY4K5cjs = require('./chunk-PSXUY4K5.cjs');
|
|
152
152
|
|
|
153
153
|
|
|
154
154
|
|
|
@@ -349,7 +349,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
349
349
|
var useTheme = _nextthemes.useTheme;
|
|
350
350
|
function useThemeToggle() {
|
|
351
351
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
352
|
-
const mounted =
|
|
352
|
+
const mounted = _chunkOE6KUWRAcjs.useIsHydrated.call(void 0, );
|
|
353
353
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
354
354
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
355
355
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -626,7 +626,7 @@ function TruncateText({
|
|
|
626
626
|
const { ref, isTruncated } = _chunkTLLJIGTPcjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
627
627
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
628
628
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
629
|
-
|
|
629
|
+
_chunkOE6KUWRAcjs.FloatingTooltip,
|
|
630
630
|
{
|
|
631
631
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
632
632
|
side,
|
|
@@ -711,7 +711,7 @@ function AutocompleteInner(props, ref) {
|
|
|
711
711
|
};
|
|
712
712
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
713
713
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
714
|
-
const keyboardPadding =
|
|
714
|
+
const keyboardPadding = _chunkOWPMODYTcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
715
715
|
const containerRef = _react.useRef.call(void 0, null);
|
|
716
716
|
const hiddenTagsPopupRef = _react.useRef.call(void 0, null);
|
|
717
717
|
const isInvalid = invalid || !!error;
|
|
@@ -729,7 +729,7 @@ function AutocompleteInner(props, ref) {
|
|
|
729
729
|
textMeasureRef,
|
|
730
730
|
badgeRef,
|
|
731
731
|
inputRef
|
|
732
|
-
} =
|
|
732
|
+
} = _chunkOWPMODYTcjs.useAutoLimitTags.call(void 0, {
|
|
733
733
|
count: multiple ? selectedOptions.length : 0,
|
|
734
734
|
limitTags: multiple ? limitTagsProp : 0,
|
|
735
735
|
placeholder: inputPlaceholder
|
|
@@ -933,7 +933,7 @@ function AutocompleteInner(props, ref) {
|
|
|
933
933
|
),
|
|
934
934
|
/* @__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: [
|
|
935
935
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
936
|
-
|
|
936
|
+
_chunkOE6KUWRAcjs.Tag,
|
|
937
937
|
{
|
|
938
938
|
variant: "outline",
|
|
939
939
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1147,7 +1147,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1147
1147
|
"aria-hidden": "true",
|
|
1148
1148
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
1149
1149
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1150
|
-
|
|
1150
|
+
_chunkOE6KUWRAcjs.Tag,
|
|
1151
1151
|
{
|
|
1152
1152
|
variant: "outline",
|
|
1153
1153
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -2526,7 +2526,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
2526
2526
|
const describedById = _react.useId.call(void 0, );
|
|
2527
2527
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
2528
2528
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2529
|
-
|
|
2529
|
+
_chunkOE6KUWRAcjs.FloatingTooltip,
|
|
2530
2530
|
{
|
|
2531
2531
|
content: children,
|
|
2532
2532
|
side,
|
|
@@ -2620,7 +2620,7 @@ function Value2({ value, depth }) {
|
|
|
2620
2620
|
}
|
|
2621
2621
|
if (typeof value === "string") {
|
|
2622
2622
|
if (ISO_DATE.test(value)) {
|
|
2623
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2623
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkOE6KUWRAcjs.formatRelativeTime.call(void 0, value) });
|
|
2624
2624
|
}
|
|
2625
2625
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2626
2626
|
}
|
|
@@ -2802,7 +2802,7 @@ function InfoCardFooter({ footer }) {
|
|
|
2802
2802
|
] });
|
|
2803
2803
|
}
|
|
2804
2804
|
function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLabel }) {
|
|
2805
|
-
const { copy, copied } =
|
|
2805
|
+
const { copy, copied } = _chunkOWPMODYTcjs.useCopyToClipboard.call(void 0, );
|
|
2806
2806
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 w-full items-center gap-[var(--spacing-system-xs)] self-stretch", children: [
|
|
2807
2807
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-primary text-h4", children: showLabel ? label : "" }),
|
|
2808
2808
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-px flex-1 bg-ods-divider" }),
|
|
@@ -2892,7 +2892,7 @@ function SearchableSelect({
|
|
|
2892
2892
|
}) {
|
|
2893
2893
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
2894
2894
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
2895
|
-
const keyboardPadding =
|
|
2895
|
+
const keyboardPadding = _chunkOWPMODYTcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
2896
2896
|
if (!isOpen && search !== "") setSearch("");
|
|
2897
2897
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
2898
2898
|
const q = search.trim().toLowerCase();
|
|
@@ -3252,7 +3252,7 @@ function RowValue({ value }) {
|
|
|
3252
3252
|
}
|
|
3253
3253
|
case "status": {
|
|
3254
3254
|
const { type: _type, ...props } = value;
|
|
3255
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3255
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TicketStatusTag, { ...props });
|
|
3256
3256
|
}
|
|
3257
3257
|
case "custom":
|
|
3258
3258
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -3768,7 +3768,7 @@ function TagSelectDropdown({
|
|
|
3768
3768
|
}) {
|
|
3769
3769
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
3770
3770
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
3771
|
-
const keyboardPadding =
|
|
3771
|
+
const keyboardPadding = _chunkOWPMODYTcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
3772
3772
|
if (!isOpen && search !== "") setSearch("");
|
|
3773
3773
|
const query = search.trim();
|
|
3774
3774
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
@@ -4060,7 +4060,7 @@ function TagsManager({
|
|
|
4060
4060
|
}) {
|
|
4061
4061
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
4062
4062
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
4063
|
-
const keyboardPadding =
|
|
4063
|
+
const keyboardPadding = _chunkOWPMODYTcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
4064
4064
|
const [editingId, setEditingId] = _react.useState.call(void 0, null);
|
|
4065
4065
|
const [editingName, setEditingName] = _react.useState.call(void 0, "");
|
|
4066
4066
|
const editInputRef = _react.useRef.call(void 0, null);
|
|
@@ -4163,7 +4163,7 @@ function TagsManager({
|
|
|
4163
4163
|
}
|
|
4164
4164
|
),
|
|
4165
4165
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4166
|
-
|
|
4166
|
+
_chunkOE6KUWRAcjs.Tag,
|
|
4167
4167
|
{
|
|
4168
4168
|
label: tag.name,
|
|
4169
4169
|
variant: "outline",
|
|
@@ -4708,10 +4708,10 @@ function useConfirm() {
|
|
|
4708
4708
|
},
|
|
4709
4709
|
[]
|
|
4710
4710
|
);
|
|
4711
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4712
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4713
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4714
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4711
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4712
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalTitle, { children: pending.title }) }),
|
|
4713
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4714
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.ModalFooter, { children: [
|
|
4715
4715
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4716
4716
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4717
4717
|
] })
|
|
@@ -4774,9 +4774,9 @@ function AdminFormModal({
|
|
|
4774
4774
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4775
4775
|
});
|
|
4776
4776
|
if (!isOpen) return null;
|
|
4777
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4778
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4779
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4777
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4778
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.ModalHeader, { children: [
|
|
4779
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalTitle, { children: title }),
|
|
4780
4780
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4781
4781
|
] }),
|
|
4782
4782
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4801,7 +4801,7 @@ function AdminFormModal({
|
|
|
4801
4801
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4802
4802
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4803
4803
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4804
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4804
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4805
4805
|
"div",
|
|
4806
4806
|
{
|
|
4807
4807
|
"aria-busy": "true",
|
|
@@ -4822,12 +4822,12 @@ function AdminFormModal({
|
|
|
4822
4822
|
]
|
|
4823
4823
|
}
|
|
4824
4824
|
) })
|
|
4825
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4825
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalContent, { className: contentClassName, children }),
|
|
4826
4826
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4827
4827
|
]
|
|
4828
4828
|
}
|
|
4829
4829
|
),
|
|
4830
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4830
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4831
4831
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4832
4832
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4833
4833
|
footerStatus,
|
|
@@ -6117,14 +6117,14 @@ var KIND_HEADING = {
|
|
|
6117
6117
|
design: "Claude Design"
|
|
6118
6118
|
};
|
|
6119
6119
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
6120
|
-
const { src: mirrorSrc, status } =
|
|
6120
|
+
const { src: mirrorSrc, status } = _chunkOWPMODYTcjs.useClaudeMirrorSrc.call(void 0, url);
|
|
6121
6121
|
const isProbing = status === "probing";
|
|
6122
|
-
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => (
|
|
6122
|
+
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunkOWPMODYTcjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
6123
6123
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6124
6124
|
EmbedViewerFrame,
|
|
6125
6125
|
{
|
|
6126
6126
|
className: "my-6 space-y-3",
|
|
6127
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6127
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.ClaudeIcon, { className: "h-5 w-5 shrink-0" }),
|
|
6128
6128
|
title: _optionalChain([title, 'optionalAccess', _124 => _124.trim, 'call', _125 => _125()]) || KIND_HEADING[kind],
|
|
6129
6129
|
titleVariant: "h6",
|
|
6130
6130
|
isLoading: isProbing,
|
|
@@ -6135,7 +6135,7 @@ function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }
|
|
|
6135
6135
|
size: "small-legacy",
|
|
6136
6136
|
href: url,
|
|
6137
6137
|
openInNewTab: true,
|
|
6138
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6138
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.ClaudeIcon, { className: "h-4 w-4" }),
|
|
6139
6139
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }),
|
|
6140
6140
|
className: "w-full sm:w-auto",
|
|
6141
6141
|
children: "Open in Claude"
|
|
@@ -6148,7 +6148,7 @@ function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }
|
|
|
6148
6148
|
allow: "clipboard-write; clipboard-read; fullscreen",
|
|
6149
6149
|
sandbox: mirrorSrc ? "allow-scripts allow-popups allow-forms" : "allow-scripts allow-same-origin allow-popups allow-forms",
|
|
6150
6150
|
allowFullScreen: true,
|
|
6151
|
-
emptyIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6151
|
+
emptyIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.ClaudeIcon, { className: "mb-4 h-16 w-16" }),
|
|
6152
6152
|
emptyMessage: "Open this one in Claude \xB7 it has no embeddable view"
|
|
6153
6153
|
}
|
|
6154
6154
|
);
|
|
@@ -6194,12 +6194,12 @@ function SlidesViewToggle({ view, onChange }) {
|
|
|
6194
6194
|
}
|
|
6195
6195
|
function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
6196
6196
|
const [view, setView] = _react.useState.call(void 0, "present");
|
|
6197
|
-
const isSlides = url ?
|
|
6198
|
-
const embedSrc = url ?
|
|
6197
|
+
const isSlides = url ? _chunkOWPMODYTcjs.isFigmaSlidesUrl.call(void 0, url) : false;
|
|
6198
|
+
const embedSrc = url ? _chunkOWPMODYTcjs.toFigmaEmbedUrl.call(void 0, url, { slidesView: view }) : null;
|
|
6199
6199
|
const originalUrl = (() => {
|
|
6200
6200
|
if (!url) return null;
|
|
6201
6201
|
try {
|
|
6202
|
-
const parsed = new URL(
|
|
6202
|
+
const parsed = new URL(_chunkOWPMODYTcjs.toFigmaOriginalUrl.call(void 0, url));
|
|
6203
6203
|
const host = parsed.hostname.toLowerCase();
|
|
6204
6204
|
const okHost = host === "figma.com" || host.endsWith(".figma.com");
|
|
6205
6205
|
const okProtocol = parsed.protocol === "https:" || parsed.protocol === "http:";
|
|
@@ -6973,7 +6973,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6973
6973
|
};
|
|
6974
6974
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6975
6975
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6976
|
-
|
|
6976
|
+
_chunkOE6KUWRAcjs.Video,
|
|
6977
6977
|
{
|
|
6978
6978
|
url: item.src,
|
|
6979
6979
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7497,7 +7497,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7497
7497
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2" }),
|
|
7498
7498
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "12", cy: "7", r: "4" })
|
|
7499
7499
|
] });
|
|
7500
|
-
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7500
|
+
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.XLogo, { className: "h-5 w-5", color: "currentColor" });
|
|
7501
7501
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700 }) {
|
|
7502
7502
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7503
7503
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
@@ -7697,7 +7697,7 @@ function buildRichEmbedOverrides({
|
|
|
7697
7697
|
ogEndpointPath,
|
|
7698
7698
|
textSizes
|
|
7699
7699
|
}) {
|
|
7700
|
-
const standard =
|
|
7700
|
+
const standard = _chunkOE6KUWRAcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7701
7701
|
return {
|
|
7702
7702
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7703
7703
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7707,7 +7707,7 @@ function buildRichEmbedOverrides({
|
|
|
7707
7707
|
const language = match ? match[1] : "";
|
|
7708
7708
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7709
7709
|
if (language === "youtube-embed") {
|
|
7710
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7710
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7711
7711
|
}
|
|
7712
7712
|
if (language === "reddit-embed") {
|
|
7713
7713
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7748,7 +7748,7 @@ function buildRichEmbedOverrides({
|
|
|
7748
7748
|
"data-figma-url": figmaUrl
|
|
7749
7749
|
} = divProps;
|
|
7750
7750
|
if (className === "youtube-embed" && videoId) {
|
|
7751
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7751
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.Video, { kind: "youtube", url: videoId });
|
|
7752
7752
|
}
|
|
7753
7753
|
if (className === "reddit-embed" && postUrl) {
|
|
7754
7754
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7833,14 +7833,14 @@ function buildRichEmbedOverrides({
|
|
|
7833
7833
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7834
7834
|
// elsewhere). Guard against empty `![]()`.
|
|
7835
7835
|
img: ({ src, alt }) => {
|
|
7836
|
-
if (!
|
|
7836
|
+
if (!_chunkOE6KUWRAcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7837
7837
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7838
7838
|
},
|
|
7839
7839
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7840
7840
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7841
7841
|
video: ({ src, poster, className }) => {
|
|
7842
|
-
if (!
|
|
7843
|
-
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,
|
|
7842
|
+
if (!_chunkOE6KUWRAcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7843
|
+
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, _chunkOE6KUWRAcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7844
7844
|
}
|
|
7845
7845
|
};
|
|
7846
7846
|
}
|
|
@@ -8081,13 +8081,13 @@ var RichMarkdownInner = ({
|
|
|
8081
8081
|
},
|
|
8082
8082
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8083
8083
|
);
|
|
8084
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8084
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkOE6KUWRAcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8085
8085
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8086
8086
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8087
8087
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8088
8088
|
);
|
|
8089
8089
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8090
|
-
|
|
8090
|
+
_chunkOE6KUWRAcjs.MarkdownEngine,
|
|
8091
8091
|
{
|
|
8092
8092
|
content,
|
|
8093
8093
|
className,
|
|
@@ -8109,7 +8109,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8109
8109
|
className = "",
|
|
8110
8110
|
sectionIds,
|
|
8111
8111
|
onInternalLinkClick,
|
|
8112
|
-
brokenLinks =
|
|
8112
|
+
brokenLinks = _chunkOE6KUWRAcjs.NO_BROKEN_LINKS,
|
|
8113
8113
|
currentPath,
|
|
8114
8114
|
resolveSource = "openframe-docs",
|
|
8115
8115
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8314,7 +8314,7 @@ function StackedRowsPanel({ rows, title, className }) {
|
|
|
8314
8314
|
|
|
8315
8315
|
function SlackChannelChip({ name, href, className }) {
|
|
8316
8316
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "inline-flex items-center gap-1 align-baseline text-ods-text-primary", className), children: [
|
|
8317
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8317
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.SlackIcon, { className: "h-4 w-4 flex-shrink-0" }),
|
|
8318
8318
|
name ? `#${name}` : "Slack"
|
|
8319
8319
|
] });
|
|
8320
8320
|
if (!href) return inner;
|
|
@@ -8682,7 +8682,7 @@ function FilterModal({
|
|
|
8682
8682
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _167 => _167.defaultSort]), () => ( "desc"));
|
|
8683
8683
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _168 => _168.sort]), () => ( dateDefaultSort)));
|
|
8684
8684
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _169 => _169.range]));
|
|
8685
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8685
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkOE6KUWRAcjs.useScrollFade.call(void 0, );
|
|
8686
8686
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8687
8687
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8688
8688
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8727,10 +8727,10 @@ function FilterModal({
|
|
|
8727
8727
|
const hasFilterGroups = filterGroups.length > 0;
|
|
8728
8728
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8729
8729
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8730
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8731
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8730
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.Modal, { isOpen, onClose, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
8731
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalTitle, { children: title }) }),
|
|
8732
8732
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8733
|
-
|
|
8733
|
+
_chunkOE6KUWRAcjs.ModalContent,
|
|
8734
8734
|
{
|
|
8735
8735
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
8736
8736
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8822,12 +8822,12 @@ function FilterModal({
|
|
|
8822
8822
|
] })
|
|
8823
8823
|
}
|
|
8824
8824
|
),
|
|
8825
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8826
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8825
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8826
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8827
8827
|
] })
|
|
8828
8828
|
}
|
|
8829
8829
|
),
|
|
8830
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8830
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.ModalFooter, { children: [
|
|
8831
8831
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8832
8832
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8833
8833
|
] })
|
|
@@ -8871,9 +8871,9 @@ function actionToMenuItems(action, idx) {
|
|
|
8871
8871
|
function renderActionButton(action, opts = {}) {
|
|
8872
8872
|
const button = renderRawActionButton(action, opts);
|
|
8873
8873
|
if (!action.tooltip) return button;
|
|
8874
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8875
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8874
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.Tooltip, { children: [
|
|
8875
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
8876
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipContent, { children: action.tooltip })
|
|
8877
8877
|
] }) });
|
|
8878
8878
|
}
|
|
8879
8879
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -8897,7 +8897,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
8897
8897
|
}
|
|
8898
8898
|
if (action.submenu && action.submenu.length > 0) {
|
|
8899
8899
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8900
|
-
|
|
8900
|
+
_chunkOE6KUWRAcjs.ActionsMenuDropdown,
|
|
8901
8901
|
{
|
|
8902
8902
|
groups: [{ items: action.submenu }],
|
|
8903
8903
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9032,10 +9032,10 @@ function IconButtonsVariant({
|
|
|
9032
9032
|
selector,
|
|
9033
9033
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9034
9034
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
9035
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9035
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
9036
9036
|
] })
|
|
9037
9037
|
] }),
|
|
9038
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.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,
|
|
9038
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.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, _chunkOE6KUWRAcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9039
9039
|
] });
|
|
9040
9040
|
}
|
|
9041
9041
|
function PrimaryButtonsVariant({
|
|
@@ -9073,7 +9073,7 @@ function MenuPrimaryVariant({
|
|
|
9073
9073
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9074
9074
|
selector,
|
|
9075
9075
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9076
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9076
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9077
9077
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
9078
9078
|
] })
|
|
9079
9079
|
] }),
|
|
@@ -9081,7 +9081,7 @@ function MenuPrimaryVariant({
|
|
|
9081
9081
|
// The selector rides into the menu as its header row: on mobile the
|
|
9082
9082
|
// title row has no room for it, and hiding it entirely (what
|
|
9083
9083
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9084
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9084
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9085
9085
|
) : null })
|
|
9086
9086
|
] });
|
|
9087
9087
|
}
|
|
@@ -9487,7 +9487,7 @@ function TitleBlock({
|
|
|
9487
9487
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
9488
9488
|
(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: [
|
|
9489
9489
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9490
|
-
|
|
9490
|
+
_chunkOE6KUWRAcjs.FloatingTooltip,
|
|
9491
9491
|
{
|
|
9492
9492
|
content: title,
|
|
9493
9493
|
side: "bottom",
|
|
@@ -9504,12 +9504,12 @@ function TitleBlock({
|
|
|
9504
9504
|
}
|
|
9505
9505
|
),
|
|
9506
9506
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9507
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9507
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunkX7CEWD6Vcjs.cn.call(void 0, titleClass, "text-ods-text-primary", titleOverflowClass), children: titleNode }) })),
|
|
9508
9508
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
9509
9509
|
empty `p` collapses to zero height (its only content would be
|
|
9510
9510
|
collapsible whitespace), which is exactly the shift that mode
|
|
9511
9511
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
9512
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9512
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9513
9513
|
"p",
|
|
9514
9514
|
{
|
|
9515
9515
|
ref: subtitleRef,
|
|
@@ -9520,7 +9520,7 @@ function TitleBlock({
|
|
|
9520
9520
|
) })
|
|
9521
9521
|
] })
|
|
9522
9522
|
] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9523
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9523
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, triggerClassName: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunkX7CEWD6Vcjs.cn.call(void 0, titleClass, "min-w-0 text-ods-text-primary", titleOverflowClass), children: title }) }),
|
|
9524
9524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9525
9525
|
] }) : (
|
|
9526
9526
|
/* This branch never had the single-line clamp, so text already
|
|
@@ -9743,9 +9743,9 @@ function brandMarkDataUri(name) {
|
|
|
9743
9743
|
|
|
9744
9744
|
// src/utils/os-platforms.ts
|
|
9745
9745
|
var OS_PLATFORMS = [
|
|
9746
|
-
{ id: "windows", name: "Windows", icon:
|
|
9747
|
-
{ id: "linux", name: "Linux", icon:
|
|
9748
|
-
{ id: "darwin", name: "MacOS", icon:
|
|
9746
|
+
{ id: "windows", name: "Windows", icon: _chunkPSXUY4K5cjs.WindowsIcon },
|
|
9747
|
+
{ id: "linux", name: "Linux", icon: _chunkPSXUY4K5cjs.LinuxIcon },
|
|
9748
|
+
{ id: "darwin", name: "MacOS", icon: _chunkPSXUY4K5cjs.MacOSIcon }
|
|
9749
9749
|
];
|
|
9750
9750
|
var DEFAULT_OS_PLATFORM = "windows";
|
|
9751
9751
|
|
|
@@ -9990,12 +9990,12 @@ var ShellTypeValues = {
|
|
|
9990
9990
|
};
|
|
9991
9991
|
var SHELL_TYPES = [
|
|
9992
9992
|
{ id: ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkYRTMAXLEcjs.PowershellLogoIcon },
|
|
9993
|
-
{ id: ShellTypeValues.CMD, label: "Batch", value: "cmd", icon:
|
|
9994
|
-
{ id: ShellTypeValues.BASH, label: "Bash", value: "bash", icon:
|
|
9993
|
+
{ id: ShellTypeValues.CMD, label: "Batch", value: "cmd", icon: _chunkPSXUY4K5cjs.CmdIcon },
|
|
9994
|
+
{ id: ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkPSXUY4K5cjs.BashIcon },
|
|
9995
9995
|
{ id: ShellTypeValues.PYTHON, label: "Python", value: "python", icon: _chunkYRTMAXLEcjs.PythonLogoIcon },
|
|
9996
|
-
{ id: ShellTypeValues.NUSHELL, label: "Nu", value: "nushell", icon:
|
|
9997
|
-
{ id: ShellTypeValues.DENO, label: "Deno", value: "deno", icon:
|
|
9998
|
-
{ id: ShellTypeValues.SHELL, label: "Shell", value: "shell", icon:
|
|
9996
|
+
{ id: ShellTypeValues.NUSHELL, label: "Nu", value: "nushell", icon: _chunkPSXUY4K5cjs.NushellIcon },
|
|
9997
|
+
{ id: ShellTypeValues.DENO, label: "Deno", value: "deno", icon: _chunkPSXUY4K5cjs.DenoIcon },
|
|
9998
|
+
{ id: ShellTypeValues.SHELL, label: "Shell", value: "shell", icon: _chunkPSXUY4K5cjs.ShellIcon }
|
|
9999
9999
|
];
|
|
10000
10000
|
var shellLabels = {
|
|
10001
10001
|
[ShellTypeValues.POWERSHELL]: "PowerShell",
|
|
@@ -10949,8 +10949,8 @@ function makeComposeContentUrl(opts) {
|
|
|
10949
10949
|
}
|
|
10950
10950
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
10951
10951
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
10952
|
-
const owner = claimedOwner &&
|
|
10953
|
-
const origin = owner ?
|
|
10952
|
+
const owner = claimedOwner && _chunkOE6KUWRAcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
10953
|
+
const origin = owner ? _chunkOE6KUWRAcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
10954
10954
|
return {
|
|
10955
10955
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _227 => _227.trim, 'call', _228 => _228()]) || identifier}`,
|
|
10956
10956
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -11125,7 +11125,7 @@ function extractSections(markdown, options = {}) {
|
|
|
11125
11125
|
if (heading.level > opts.maxLevel) continue;
|
|
11126
11126
|
let title = heading.text;
|
|
11127
11127
|
if (opts.stripFormattingMarkers) {
|
|
11128
|
-
title =
|
|
11128
|
+
title = _chunkOE6KUWRAcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
11129
11129
|
}
|
|
11130
11130
|
const baseId = _chunkTLLJIGTPcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkTLLJIGTPcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
11131
11131
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -11472,7 +11472,7 @@ var spacingMap = {
|
|
|
11472
11472
|
function BulletList({
|
|
11473
11473
|
items,
|
|
11474
11474
|
bulletColor = "var(--color-text-primary)",
|
|
11475
|
-
bulletIcon: BulletIcon =
|
|
11475
|
+
bulletIcon: BulletIcon = _chunkPSXUY4K5cjs.ShapeCircleDashIcon,
|
|
11476
11476
|
bulletSize = 16,
|
|
11477
11477
|
textClassName = "text-h4 text-ods-text-primary",
|
|
11478
11478
|
itemClassName = "flex items-start gap-3",
|
|
@@ -11698,7 +11698,7 @@ function DashboardInfoCard({
|
|
|
11698
11698
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
11699
11699
|
if (asTag) {
|
|
11700
11700
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
11701
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11701
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
11702
11702
|
}
|
|
11703
11703
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
11704
11704
|
"(",
|
|
@@ -11752,7 +11752,7 @@ function DashboardInfoCard({
|
|
|
11752
11752
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "truncate text-ods-text-primary text-h3 md:text-h2", valueClassName), children: formattedValue }),
|
|
11753
11753
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
11754
11754
|
renderPercentage(),
|
|
11755
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11755
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.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 }) }) })
|
|
11756
11756
|
] })
|
|
11757
11757
|
] }),
|
|
11758
11758
|
renderProgress()
|
|
@@ -11929,7 +11929,7 @@ function DeviceCard({
|
|
|
11929
11929
|
] }),
|
|
11930
11930
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
11931
11931
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11932
|
-
|
|
11932
|
+
_chunkOE6KUWRAcjs.Tag,
|
|
11933
11933
|
{
|
|
11934
11934
|
variant: statusTag.variant,
|
|
11935
11935
|
icon: statusTag.icon,
|
|
@@ -11943,7 +11943,7 @@ function DeviceCard({
|
|
|
11943
11943
|
formatLastSeen(device.lastSeen)
|
|
11944
11944
|
] })
|
|
11945
11945
|
] }),
|
|
11946
|
-
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,
|
|
11946
|
+
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, _chunkOE6KUWRAcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
11947
11947
|
]
|
|
11948
11948
|
}
|
|
11949
11949
|
);
|
|
@@ -12091,7 +12091,7 @@ function FeatureList({ items, className = "", iconBoxSize = 72 }) {
|
|
|
12091
12091
|
|
|
12092
12092
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
12093
12093
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12094
|
-
|
|
12094
|
+
_chunkOE6KUWRAcjs.FloatingTooltip,
|
|
12095
12095
|
{
|
|
12096
12096
|
as: "span",
|
|
12097
12097
|
side: "top",
|
|
@@ -12275,7 +12275,7 @@ function DropdownButton({
|
|
|
12275
12275
|
)
|
|
12276
12276
|
);
|
|
12277
12277
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12278
|
-
|
|
12278
|
+
_chunkOE6KUWRAcjs.ActionsMenuDropdown,
|
|
12279
12279
|
{
|
|
12280
12280
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
12281
12281
|
open,
|
|
@@ -12490,7 +12490,7 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
12490
12490
|
}
|
|
12491
12491
|
function ServiceCardRowItem({ row }) {
|
|
12492
12492
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
12493
|
-
const { copy, copied } =
|
|
12493
|
+
const { copy, copied } = _chunkOWPMODYTcjs.useCopyToClipboard.call(void 0, );
|
|
12494
12494
|
const { ref: valueRef, isTruncated: valueTruncated } = _chunkTLLJIGTPcjs.useIsTruncated.call(void 0, row.value);
|
|
12495
12495
|
const actions = _react.useMemo.call(void 0,
|
|
12496
12496
|
() => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }),
|
|
@@ -12513,7 +12513,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12513
12513
|
),
|
|
12514
12514
|
children: [
|
|
12515
12515
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12516
|
-
|
|
12516
|
+
_chunkOE6KUWRAcjs.FloatingTooltip,
|
|
12517
12517
|
{
|
|
12518
12518
|
content: row.value,
|
|
12519
12519
|
side: "top",
|
|
@@ -12530,7 +12530,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12530
12530
|
onClick: () => setRevealed((v) => !v),
|
|
12531
12531
|
className: "rounded p-2 text-ods-text-secondary hover:bg-ods-card",
|
|
12532
12532
|
"aria-label": revealed ? "Hide" : "Reveal",
|
|
12533
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12533
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.EyeIcon, { className: "h-5 w-5", off: revealed })
|
|
12534
12534
|
}
|
|
12535
12535
|
),
|
|
12536
12536
|
actions.copy && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12651,7 +12651,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12651
12651
|
);
|
|
12652
12652
|
}
|
|
12653
12653
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
12654
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12654
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.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: [
|
|
12655
12655
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12656
12656
|
_chunkEX5PJGVAcjs.AvatarStack,
|
|
12657
12657
|
{
|
|
@@ -12713,9 +12713,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12713
12713
|
return next;
|
|
12714
12714
|
});
|
|
12715
12715
|
};
|
|
12716
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12716
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
12717
12717
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12718
|
-
|
|
12718
|
+
_chunkOE6KUWRAcjs.TooltipTrigger,
|
|
12719
12719
|
{
|
|
12720
12720
|
asChild: true,
|
|
12721
12721
|
onPointerDown: (e) => {
|
|
@@ -12733,7 +12733,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12733
12733
|
children
|
|
12734
12734
|
}
|
|
12735
12735
|
),
|
|
12736
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12736
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
12737
12737
|
] }) });
|
|
12738
12738
|
}
|
|
12739
12739
|
|
|
@@ -13989,9 +13989,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
13989
13989
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
13990
13990
|
}
|
|
13991
13991
|
}, []);
|
|
13992
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13993
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13994
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13992
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
13993
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.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 }) }) }),
|
|
13994
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
13995
13995
|
] }) });
|
|
13996
13996
|
}
|
|
13997
13997
|
|
|
@@ -14044,9 +14044,9 @@ function TruncatedCell({ value, className }) {
|
|
|
14044
14044
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14045
14045
|
}
|
|
14046
14046
|
}, []);
|
|
14047
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14048
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14049
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14047
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14048
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { ref: textRef, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "block truncate", className), children: value }) }),
|
|
14049
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
14050
14050
|
] }) });
|
|
14051
14051
|
}
|
|
14052
14052
|
|
|
@@ -14162,7 +14162,7 @@ function QueryReportTable({
|
|
|
14162
14162
|
onThumbPointerMove,
|
|
14163
14163
|
onThumbPointerUp,
|
|
14164
14164
|
onThumbPointerCancel
|
|
14165
|
-
} =
|
|
14165
|
+
} = _chunkOWPMODYTcjs.useHorizontalScrollbar.call(void 0, );
|
|
14166
14166
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex w-full flex-col", isCompact ? "gap-0" : "gap-[var(--spacing-system-l)]", className), children: [
|
|
14167
14167
|
!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: [
|
|
14168
14168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -15057,7 +15057,7 @@ function SearchInput({
|
|
|
15057
15057
|
const debouncedValue = _chunkTLLJIGTPcjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
15058
15058
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
15059
15059
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
15060
|
-
const keyboardPadding =
|
|
15060
|
+
const keyboardPadding = _chunkOWPMODYTcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
15061
15061
|
const containerRef = _react.useRef.call(void 0, null);
|
|
15062
15062
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
15063
15063
|
const {
|
|
@@ -15067,7 +15067,7 @@ function SearchInput({
|
|
|
15067
15067
|
textMeasureRef,
|
|
15068
15068
|
badgeRef,
|
|
15069
15069
|
inputRef
|
|
15070
|
-
} =
|
|
15070
|
+
} = _chunkOWPMODYTcjs.useAutoLimitTags.call(void 0, {
|
|
15071
15071
|
count: filterChips.length,
|
|
15072
15072
|
limitTags,
|
|
15073
15073
|
// When chips exist, pass empty placeholder so the hook only reserves input minWidth,
|
|
@@ -15260,7 +15260,7 @@ function SearchInput({
|
|
|
15260
15260
|
/* @__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, {}) }),
|
|
15261
15261
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
15262
15262
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15263
|
-
|
|
15263
|
+
_chunkOE6KUWRAcjs.Tag,
|
|
15264
15264
|
{
|
|
15265
15265
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15266
15266
|
label: chip.label,
|
|
@@ -15376,7 +15376,7 @@ function SearchInput({
|
|
|
15376
15376
|
}
|
|
15377
15377
|
),
|
|
15378
15378
|
/* @__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,
|
|
15379
|
-
|
|
15379
|
+
_chunkOE6KUWRAcjs.Tag,
|
|
15380
15380
|
{
|
|
15381
15381
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15382
15382
|
label: chip.label,
|
|
@@ -15518,7 +15518,7 @@ function TagSearchInput({
|
|
|
15518
15518
|
limitTags = "auto"
|
|
15519
15519
|
}) {
|
|
15520
15520
|
const currentPlaceholder = tags.length === 0 ? placeholder : addMorePlaceholder;
|
|
15521
|
-
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } =
|
|
15521
|
+
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } = _chunkOWPMODYTcjs.useAutoLimitTags.call(void 0, {
|
|
15522
15522
|
count: tags.length,
|
|
15523
15523
|
limitTags,
|
|
15524
15524
|
placeholder: currentPlaceholder
|
|
@@ -15589,7 +15589,7 @@ function TagSearchInput({
|
|
|
15589
15589
|
/* @__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" }) }),
|
|
15590
15590
|
/* @__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: [
|
|
15591
15591
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15592
|
-
|
|
15592
|
+
_chunkOE6KUWRAcjs.Tag,
|
|
15593
15593
|
{
|
|
15594
15594
|
variant: "outline",
|
|
15595
15595
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -15677,7 +15677,7 @@ function TagSearchInput({
|
|
|
15677
15677
|
"aria-hidden": "true",
|
|
15678
15678
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
15679
15679
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15680
|
-
|
|
15680
|
+
_chunkOE6KUWRAcjs.Tag,
|
|
15681
15681
|
{
|
|
15682
15682
|
variant: "outline",
|
|
15683
15683
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -16551,7 +16551,7 @@ var _reactcolorful = require('react-colorful');
|
|
|
16551
16551
|
var Popover2 = PopoverPrimitive6.Root;
|
|
16552
16552
|
var PopoverTrigger = PopoverPrimitive6.Trigger;
|
|
16553
16553
|
var PopoverContent = _react.forwardRef.call(void 0, ({ className, align = "center", sideOffset = 4, collisionPadding, ...props }, ref) => {
|
|
16554
|
-
const keyboardPadding =
|
|
16554
|
+
const keyboardPadding = _chunkOWPMODYTcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
16555
16555
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive6.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16556
16556
|
PopoverPrimitive6.Content,
|
|
16557
16557
|
{
|
|
@@ -16608,20 +16608,20 @@ function ColorPresetSelect({
|
|
|
16608
16608
|
...presets.map((p) => ({
|
|
16609
16609
|
id: p.key,
|
|
16610
16610
|
label: p.label,
|
|
16611
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16611
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ColorSwatch, { color: p.color }),
|
|
16612
16612
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
16613
16613
|
})),
|
|
16614
16614
|
{
|
|
16615
16615
|
id: CUSTOM_PRESET_KEY,
|
|
16616
16616
|
label: "Custom",
|
|
16617
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16617
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
16618
16618
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
16619
16619
|
}
|
|
16620
16620
|
]
|
|
16621
16621
|
}
|
|
16622
16622
|
];
|
|
16623
16623
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16624
|
-
|
|
16624
|
+
_chunkOE6KUWRAcjs.ActionsMenuDropdown,
|
|
16625
16625
|
{
|
|
16626
16626
|
groups,
|
|
16627
16627
|
align: "start",
|
|
@@ -16631,7 +16631,7 @@ function ColorPresetSelect({
|
|
|
16631
16631
|
{
|
|
16632
16632
|
disabled,
|
|
16633
16633
|
"aria-label": `Color: ${displayLabel}`,
|
|
16634
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16634
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ColorSwatch, { color: displayColor }),
|
|
16635
16635
|
selectedLabel: displayLabel,
|
|
16636
16636
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16637
16637
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "group", className)
|
|
@@ -16652,7 +16652,7 @@ function HexInputs({ value, onChange }) {
|
|
|
16652
16652
|
}
|
|
16653
16653
|
const commit = () => {
|
|
16654
16654
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
16655
|
-
if (
|
|
16655
|
+
if (_chunkOE6KUWRAcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
16656
16656
|
else setDraft(value);
|
|
16657
16657
|
};
|
|
16658
16658
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16716,12 +16716,12 @@ function ChannelInput({
|
|
|
16716
16716
|
);
|
|
16717
16717
|
}
|
|
16718
16718
|
function RgbInputs({ value, onChange }) {
|
|
16719
|
-
const rgb = _nullishCoalesce(
|
|
16719
|
+
const rgb = _nullishCoalesce(_chunkOE6KUWRAcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16720
16720
|
const update = (next) => {
|
|
16721
16721
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
16722
16722
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
16723
16723
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
16724
|
-
onChange(
|
|
16724
|
+
onChange(_chunkOE6KUWRAcjs.rgbToHex.call(void 0, r, g, b));
|
|
16725
16725
|
};
|
|
16726
16726
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16727
16727
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -16730,14 +16730,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
16730
16730
|
] });
|
|
16731
16731
|
}
|
|
16732
16732
|
function HslInputs({ value, onChange }) {
|
|
16733
|
-
const rgb = _nullishCoalesce(
|
|
16734
|
-
const hsl =
|
|
16733
|
+
const rgb = _nullishCoalesce(_chunkOE6KUWRAcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16734
|
+
const hsl = _chunkOE6KUWRAcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
16735
16735
|
const update = (next) => {
|
|
16736
16736
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
16737
16737
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
16738
16738
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
16739
|
-
const out =
|
|
16740
|
-
onChange(
|
|
16739
|
+
const out = _chunkOE6KUWRAcjs.hslToRgb.call(void 0, h, s, l);
|
|
16740
|
+
onChange(_chunkOE6KUWRAcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
16741
16741
|
};
|
|
16742
16742
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16743
16743
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -16763,7 +16763,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16763
16763
|
{
|
|
16764
16764
|
disabled,
|
|
16765
16765
|
"aria-label": "Pick custom color",
|
|
16766
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16766
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ColorSwatch, { color: value }),
|
|
16767
16767
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
16768
16768
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16769
16769
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "group", className)
|
|
@@ -16779,7 +16779,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16779
16779
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
16780
16780
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16781
16781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16782
|
-
|
|
16782
|
+
_chunkOE6KUWRAcjs.ActionsMenuDropdown,
|
|
16783
16783
|
{
|
|
16784
16784
|
groups: formatGroups,
|
|
16785
16785
|
align: "start",
|
|
@@ -16827,7 +16827,7 @@ function TicketStatusConfigRow({
|
|
|
16827
16827
|
isDragging,
|
|
16828
16828
|
moveButtons
|
|
16829
16829
|
}) {
|
|
16830
|
-
const dragAndDropEnabled =
|
|
16830
|
+
const dragAndDropEnabled = _chunkOWPMODYTcjs.useDragAndDropEnabled.call(void 0, );
|
|
16831
16831
|
const nameInputId = _react.useId.call(void 0, );
|
|
16832
16832
|
const isSystem = variant === "system";
|
|
16833
16833
|
const isCustomColor = !isSystem && presetKey === void 0;
|
|
@@ -16836,7 +16836,7 @@ function TicketStatusConfigRow({
|
|
|
16836
16836
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
16837
16837
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
16838
16838
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16839
|
-
|
|
16839
|
+
_chunkOE6KUWRAcjs.TicketStatusTag,
|
|
16840
16840
|
{
|
|
16841
16841
|
status: statusKey,
|
|
16842
16842
|
label: name || " ",
|
|
@@ -16988,7 +16988,7 @@ function formatTestRunDuration(ms) {
|
|
|
16988
16988
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
16989
16989
|
var SKELETON_COLUMNS = 6;
|
|
16990
16990
|
function TestResultsSkeleton() {
|
|
16991
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16991
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
16992
16992
|
/* @__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}`)) }),
|
|
16993
16993
|
/* @__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}`)) }) })
|
|
16994
16994
|
] }) });
|
|
@@ -17023,13 +17023,13 @@ function TestResultsTable({ rows, loading }) {
|
|
|
17023
17023
|
if (loading) {
|
|
17024
17024
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
17025
17025
|
}
|
|
17026
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17026
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.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: [
|
|
17027
17027
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
17028
17028
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
17029
17029
|
] }) }) });
|
|
17030
17030
|
}
|
|
17031
17031
|
function TestRunErrorBanner({ error, className }) {
|
|
17032
|
-
const { copy } =
|
|
17032
|
+
const { copy } = _chunkOWPMODYTcjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
17033
17033
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17034
17034
|
"div",
|
|
17035
17035
|
{
|
|
@@ -17085,7 +17085,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
17085
17085
|
function TestRunStatusStat({ status, className }) {
|
|
17086
17086
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
17087
17087
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex min-w-0 flex-col items-start justify-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
17088
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17088
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.Tag, { label: tag.label, variant: tag.variant, className: "pointer-events-none" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: "-" }),
|
|
17089
17089
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
17090
17090
|
] });
|
|
17091
17091
|
}
|
|
@@ -17129,7 +17129,7 @@ function useTestRunState(campaign) {
|
|
|
17129
17129
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
17130
17130
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
17131
17131
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
17132
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
17132
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkOE6KUWRAcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
17133
17133
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
17134
17134
|
const displayRows = _react.useMemo.call(void 0,
|
|
17135
17135
|
() => campaign.results.map(
|
|
@@ -17467,7 +17467,7 @@ function TicketInfoSection({
|
|
|
17467
17467
|
/* @__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]) }),
|
|
17468
17468
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
17469
17469
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17470
|
-
|
|
17470
|
+
_chunkOE6KUWRAcjs.TicketStatusTag,
|
|
17471
17471
|
{
|
|
17472
17472
|
status: _nullishCoalesce(status, () => ( "")),
|
|
17473
17473
|
label: statusLabel,
|
|
@@ -17506,9 +17506,9 @@ function TicketInfoSection({
|
|
|
17506
17506
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17507
17507
|
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" }) }),
|
|
17508
17508
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
17509
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17509
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.SimpleMarkdownRenderer, { content: description }),
|
|
17510
17510
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
17511
|
-
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,
|
|
17511
|
+
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, _chunkOE6KUWRAcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
17512
17512
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17513
17513
|
TicketNotesSection,
|
|
17514
17514
|
{
|
|
@@ -17531,7 +17531,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
17531
17531
|
const { label, color } = option;
|
|
17532
17532
|
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: [
|
|
17533
17533
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17534
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17534
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ColorSwatch, { color }),
|
|
17535
17535
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17536
17536
|
] }),
|
|
17537
17537
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17576,9 +17576,9 @@ function TakeOverTicketModal({
|
|
|
17576
17576
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
17577
17577
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
17578
17578
|
};
|
|
17579
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17579
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17580
17580
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17581
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17581
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
17582
17582
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17583
17583
|
"The ticket ",
|
|
17584
17584
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17593,7 +17593,7 @@ function TakeOverTicketModal({
|
|
|
17593
17593
|
value: selectedStatusId,
|
|
17594
17594
|
onChange: setStatusId,
|
|
17595
17595
|
placeholder: "Select Status",
|
|
17596
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17596
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17597
17597
|
renderOption: renderTicketStatusOption
|
|
17598
17598
|
}
|
|
17599
17599
|
) }),
|
|
@@ -17620,7 +17620,7 @@ function TakeOverTicketModal({
|
|
|
17620
17620
|
}
|
|
17621
17621
|
) })
|
|
17622
17622
|
] }),
|
|
17623
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17623
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.ModalFooter, { children: [
|
|
17624
17624
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17625
17625
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17626
17626
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17679,9 +17679,9 @@ function ReopenTicketModal({
|
|
|
17679
17679
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
17680
17680
|
});
|
|
17681
17681
|
};
|
|
17682
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17682
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17683
17683
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17684
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17684
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17685
17685
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17686
17686
|
"The ticket ",
|
|
17687
17687
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17696,7 +17696,7 @@ function ReopenTicketModal({
|
|
|
17696
17696
|
value: selectedStatusId,
|
|
17697
17697
|
onChange: setStatusId,
|
|
17698
17698
|
placeholder: "Select Status",
|
|
17699
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17699
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17700
17700
|
renderOption: renderTicketStatusOption
|
|
17701
17701
|
}
|
|
17702
17702
|
) }),
|
|
@@ -17734,7 +17734,7 @@ function ReopenTicketModal({
|
|
|
17734
17734
|
disabled: isPending
|
|
17735
17735
|
}
|
|
17736
17736
|
) }),
|
|
17737
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17737
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.ModalFooter, { children: [
|
|
17738
17738
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17739
17739
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17740
17740
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17782,9 +17782,9 @@ function ReopenTicketRequestModal({
|
|
|
17782
17782
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
17783
17783
|
});
|
|
17784
17784
|
};
|
|
17785
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17785
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17786
17786
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17787
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17787
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17788
17788
|
/* @__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." }),
|
|
17789
17789
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17790
17790
|
Textarea,
|
|
@@ -17808,7 +17808,7 @@ function ReopenTicketRequestModal({
|
|
|
17808
17808
|
disabled: isPending
|
|
17809
17809
|
}
|
|
17810
17810
|
),
|
|
17811
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17811
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.ModalFooter, { children: [
|
|
17812
17812
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
17813
17813
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
17814
17814
|
] })
|
|
@@ -18069,10 +18069,10 @@ function AccountDetailsFields({
|
|
|
18069
18069
|
onKeyDown,
|
|
18070
18070
|
layout = "stacked"
|
|
18071
18071
|
}) {
|
|
18072
|
-
const firstNameErr =
|
|
18073
|
-
const lastNameErr =
|
|
18074
|
-
const passwordErr =
|
|
18075
|
-
const confirmErr =
|
|
18072
|
+
const firstNameErr = _chunkOWPMODYTcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _408 => _408.firstName]), firstName);
|
|
18073
|
+
const lastNameErr = _chunkOWPMODYTcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _409 => _409.lastName]), lastName);
|
|
18074
|
+
const passwordErr = _chunkOWPMODYTcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _410 => _410.password]), password);
|
|
18075
|
+
const confirmErr = _chunkOWPMODYTcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _411 => _411.confirmPassword]), confirmPassword);
|
|
18076
18076
|
const names = [
|
|
18077
18077
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18078
18078
|
_chunkYWUZL3RTcjs.Input,
|
|
@@ -18512,9 +18512,9 @@ function CreateOrganizationForm({
|
|
|
18512
18512
|
}) {
|
|
18513
18513
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
18514
18514
|
const fieldsDisabled = disabled || loading;
|
|
18515
|
-
const emailErr =
|
|
18516
|
-
const orgNameErr =
|
|
18517
|
-
const domainErr =
|
|
18515
|
+
const emailErr = _chunkOWPMODYTcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _413 => _413.email]), _nullishCoalesce(email, () => ( "")));
|
|
18516
|
+
const orgNameErr = _chunkOWPMODYTcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _414 => _414.organizationName]), organizationName);
|
|
18517
|
+
const domainErr = _chunkOWPMODYTcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _415 => _415.domain]), domain);
|
|
18518
18518
|
const handleKeyDown = (event) => {
|
|
18519
18519
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18520
18520
|
onSubmit();
|
|
@@ -18730,7 +18730,7 @@ function LoginForm({
|
|
|
18730
18730
|
className
|
|
18731
18731
|
}) {
|
|
18732
18732
|
const fieldDisabled = disabled || loading;
|
|
18733
|
-
const emailErr =
|
|
18733
|
+
const emailErr = _chunkOWPMODYTcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _422 => _422.email]), email);
|
|
18734
18734
|
const handleKeyDown = (event) => {
|
|
18735
18735
|
if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
|
|
18736
18736
|
_optionalChain([onSubmitClick, 'optionalCall', _423 => _423()]);
|
|
@@ -18872,8 +18872,8 @@ function OpenFrameSsoLoginForm({
|
|
|
18872
18872
|
className
|
|
18873
18873
|
}) {
|
|
18874
18874
|
const fieldsDisabled = disabled || loading;
|
|
18875
|
-
const emailErr =
|
|
18876
|
-
const passwordErr =
|
|
18875
|
+
const emailErr = _chunkOWPMODYTcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _426 => _426.email]), email);
|
|
18876
|
+
const passwordErr = _chunkOWPMODYTcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _427 => _427.password]), password);
|
|
18877
18877
|
const handleKeyDown = (event) => {
|
|
18878
18878
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18879
18879
|
onSubmit();
|
|
@@ -18978,7 +18978,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18978
18978
|
className
|
|
18979
18979
|
}) {
|
|
18980
18980
|
const fieldsDisabled = disabled || loading;
|
|
18981
|
-
const emailErr =
|
|
18981
|
+
const emailErr = _chunkOWPMODYTcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _428 => _428.email]), email);
|
|
18982
18982
|
const handleKeyDown = (event) => {
|
|
18983
18983
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18984
18984
|
onSubmit();
|
|
@@ -19083,8 +19083,8 @@ function PasswordResetForm({
|
|
|
19083
19083
|
className
|
|
19084
19084
|
}) {
|
|
19085
19085
|
const fieldsDisabled = disabled || loading;
|
|
19086
|
-
const passwordErr =
|
|
19087
|
-
const confirmErr =
|
|
19086
|
+
const passwordErr = _chunkOWPMODYTcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _429 => _429.password]), password);
|
|
19087
|
+
const confirmErr = _chunkOWPMODYTcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _430 => _430.confirmPassword]), confirmPassword);
|
|
19088
19088
|
const handleKeyDown = (event) => {
|
|
19089
19089
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19090
19090
|
onSubmit();
|
|
@@ -19235,7 +19235,7 @@ function SsoJoinForm({
|
|
|
19235
19235
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
19236
19236
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
19237
19237
|
] }),
|
|
19238
|
-
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,
|
|
19238
|
+
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, _chunkOE6KUWRAcjs.Tag, { variant: "grey", label: role }, role)) })
|
|
19239
19239
|
] }),
|
|
19240
19240
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19241
19241
|
CheckboxBlock,
|
|
@@ -19274,23 +19274,23 @@ function SsoJoinForm({
|
|
|
19274
19274
|
var PROVIDER_CONFIG = {
|
|
19275
19275
|
microsoft: {
|
|
19276
19276
|
displayName: "Continue with Microsoft",
|
|
19277
|
-
icon:
|
|
19277
|
+
icon: _chunkPSXUY4K5cjs.MicrosoftIcon
|
|
19278
19278
|
},
|
|
19279
19279
|
google: {
|
|
19280
19280
|
displayName: "Continue with Google",
|
|
19281
|
-
icon:
|
|
19281
|
+
icon: _chunkPSXUY4K5cjs.GoogleLogo
|
|
19282
19282
|
},
|
|
19283
19283
|
slack: {
|
|
19284
19284
|
displayName: "Continue with Slack",
|
|
19285
|
-
icon:
|
|
19285
|
+
icon: _chunkPSXUY4K5cjs.SlackIcon
|
|
19286
19286
|
},
|
|
19287
19287
|
github: {
|
|
19288
19288
|
displayName: "Continue with GitHub",
|
|
19289
|
-
icon:
|
|
19289
|
+
icon: _chunkPSXUY4K5cjs.GitHubIcon
|
|
19290
19290
|
},
|
|
19291
19291
|
apple: {
|
|
19292
19292
|
displayName: "Continue with Apple",
|
|
19293
|
-
icon:
|
|
19293
|
+
icon: _chunkPSXUY4K5cjs.AppleIcon
|
|
19294
19294
|
}
|
|
19295
19295
|
};
|
|
19296
19296
|
function ProviderButton({ provider, onClick, disabled = false, loading = false }) {
|
|
@@ -20136,7 +20136,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20136
20136
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
20137
20137
|
title: config.title,
|
|
20138
20138
|
loading: "eager",
|
|
20139
|
-
...
|
|
20139
|
+
..._chunkOE6KUWRAcjs.fetchPriorityProp.call(void 0, "high")
|
|
20140
20140
|
},
|
|
20141
20141
|
iframeKey
|
|
20142
20142
|
),
|
|
@@ -20986,7 +20986,7 @@ function MediaGalleryManager({
|
|
|
20986
20986
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: _chunkEX5PJGVAcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? (
|
|
20987
20987
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
20988
20988
|
// fit="cover" crops to the aspect-video cell.
|
|
20989
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20989
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
20990
20990
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20991
20991
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
20992
20992
|
{
|
|
@@ -21435,7 +21435,7 @@ function PlatformFilterComponent({
|
|
|
21435
21435
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
21436
21436
|
size,
|
|
21437
21437
|
onClick: () => onPlatformChange(platform.value),
|
|
21438
|
-
leftIcon: showIcons ?
|
|
21438
|
+
leftIcon: showIcons ? _chunkOWPMODYTcjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
21439
21439
|
className: "text-h3",
|
|
21440
21440
|
children: platform.label
|
|
21441
21441
|
},
|
|
@@ -23237,9 +23237,9 @@ function PushButtonSelector({
|
|
|
23237
23237
|
option.id
|
|
23238
23238
|
);
|
|
23239
23239
|
if (option.disabled && option.disabledReason) {
|
|
23240
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23241
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23242
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23240
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.Tooltip, { children: [
|
|
23241
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
23242
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
23243
23243
|
] }, option.id);
|
|
23244
23244
|
}
|
|
23245
23245
|
return optionEl;
|
|
@@ -23284,7 +23284,7 @@ function PushButtonSelector({
|
|
|
23284
23284
|
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
|
|
23285
23285
|
] }) : null
|
|
23286
23286
|
] });
|
|
23287
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23287
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
23288
23288
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
23289
23289
|
searchInput,
|
|
23290
23290
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23457,7 +23457,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23457
23457
|
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children: _chunkEX5PJGVAcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo" ? (
|
|
23458
23458
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
23459
23459
|
// fit="cover" crops to the aspect-video cell.
|
|
23460
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23460
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23461
23461
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23462
23462
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
23463
23463
|
{
|
|
@@ -23590,7 +23590,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
23590
23590
|
}
|
|
23591
23591
|
)
|
|
23592
23592
|
] }),
|
|
23593
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23593
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
23594
23594
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
23595
23595
|
]
|
|
23596
23596
|
}
|
|
@@ -23939,24 +23939,24 @@ var defaultLinks = [
|
|
|
23939
23939
|
{ platform: "facebook", href: "https://www.facebook.com/flamingoai.msp", label: "Facebook" }
|
|
23940
23940
|
];
|
|
23941
23941
|
var SOCIAL_ICON_COMPONENTS = {
|
|
23942
|
-
github: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23943
|
-
twitter: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23944
|
-
reddit: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23945
|
-
linkedin: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23946
|
-
luma: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23947
|
-
whatsapp: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23942
|
+
github: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.GitHubIcon, { ...props }),
|
|
23943
|
+
twitter: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.XLogo, { ...props }),
|
|
23944
|
+
reddit: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.RedditIcon, { ...props, variant: "white" }),
|
|
23945
|
+
linkedin: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.LinkedInIcon, { ...props }),
|
|
23946
|
+
luma: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.LumaIcon, { ...props }),
|
|
23947
|
+
whatsapp: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.WhatsAppIcon, { ...props }),
|
|
23948
23948
|
email: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Mail, { ...props }),
|
|
23949
|
-
website: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23950
|
-
slack: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23951
|
-
discord: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23952
|
-
telegram: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23953
|
-
youtube: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23954
|
-
instagram: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23955
|
-
facebook: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23949
|
+
website: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.GlobeIcon, { ...props }),
|
|
23950
|
+
slack: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.SlackIcon, { ...props, injectedColor: "white" }),
|
|
23951
|
+
discord: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.MessageCircleIcon, { ...props }),
|
|
23952
|
+
telegram: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.TelegramIcon, { ...props }),
|
|
23953
|
+
youtube: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.YouTubeIcon, { ...props }),
|
|
23954
|
+
instagram: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.InstagramIcon, { ...props }),
|
|
23955
|
+
facebook: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.FacebookIcon, { ...props }),
|
|
23956
23956
|
tiktok: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Music, { ...props }),
|
|
23957
23957
|
// CopyIcon's default fill is grey and would mismatch its row-mates — force the
|
|
23958
23958
|
// themed foreground via the ODS token (tracks the theme).
|
|
23959
|
-
copy: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23959
|
+
copy: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.CopyIcon, { ...props, color: "var(--color-text-primary)" })
|
|
23960
23960
|
};
|
|
23961
23961
|
function renderSocialIcon(platform) {
|
|
23962
23962
|
const key = _nullishCoalesce(normalizeSocialPlatform(platform), () => ( "website"));
|
|
@@ -24452,7 +24452,7 @@ function VideoBitesDisplay({
|
|
|
24452
24452
|
filterPublished = true,
|
|
24453
24453
|
showTitle = true
|
|
24454
24454
|
}) {
|
|
24455
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24455
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24456
24456
|
}
|
|
24457
24457
|
|
|
24458
24458
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24521,7 +24521,7 @@ function WalkthroughVideo({
|
|
|
24521
24521
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24522
24522
|
};
|
|
24523
24523
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
24524
|
-
const hydrated =
|
|
24524
|
+
const hydrated = _chunkOE6KUWRAcjs.useIsHydrated.call(void 0, );
|
|
24525
24525
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24526
24526
|
if (!hydrated) return false;
|
|
24527
24527
|
try {
|
|
@@ -24918,7 +24918,7 @@ function WalkthroughVideo({
|
|
|
24918
24918
|
},
|
|
24919
24919
|
children: [
|
|
24920
24920
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24921
|
-
|
|
24921
|
+
_chunkOE6KUWRAcjs.VideoHoverPreviewSurface,
|
|
24922
24922
|
{
|
|
24923
24923
|
url: video.mainVideoUrl || "",
|
|
24924
24924
|
posterUrl: video.posterUrl,
|
|
@@ -24941,7 +24941,7 @@ function WalkthroughVideo({
|
|
|
24941
24941
|
`card-${embedUrlKey}`
|
|
24942
24942
|
) }),
|
|
24943
24943
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24944
|
-
|
|
24944
|
+
_chunkOE6KUWRAcjs.CardHitLayer,
|
|
24945
24945
|
{
|
|
24946
24946
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24947
24947
|
onPointerDown: pausePreviewNow,
|
|
@@ -24950,7 +24950,7 @@ function WalkthroughVideo({
|
|
|
24950
24950
|
}
|
|
24951
24951
|
),
|
|
24952
24952
|
/* @__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: [
|
|
24953
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24953
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
24954
24954
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
24955
24955
|
] }),
|
|
24956
24956
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24963,7 +24963,7 @@ function WalkthroughVideo({
|
|
|
24963
24963
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24964
24964
|
onClick: onUnmuteOrPlay,
|
|
24965
24965
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
24966
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24966
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.VideoUnmuteGlyph, {})
|
|
24967
24967
|
}
|
|
24968
24968
|
),
|
|
24969
24969
|
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: [
|
|
@@ -25056,7 +25056,7 @@ function WalkthroughVideo({
|
|
|
25056
25056
|
children: [
|
|
25057
25057
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
25058
25058
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25059
|
-
|
|
25059
|
+
_chunkOE6KUWRAcjs.Video,
|
|
25060
25060
|
{
|
|
25061
25061
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
25062
25062
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -25107,7 +25107,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
25107
25107
|
var _reactquery = require('@tanstack/react-query');
|
|
25108
25108
|
function useWalkthroughVideo(opts) {
|
|
25109
25109
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
25110
|
-
const captions =
|
|
25110
|
+
const captions = _chunkOE6KUWRAcjs.useCaptions.call(void 0, );
|
|
25111
25111
|
const query = _reactquery.useQuery.call(void 0, {
|
|
25112
25112
|
queryKey: ["walkthrough-video", endpoint],
|
|
25113
25113
|
enabled,
|
|
@@ -25224,7 +25224,7 @@ function VideoSourceSelector({
|
|
|
25224
25224
|
type: "button",
|
|
25225
25225
|
variant: videoSourceType === "youtube" ? "accent" : "outline",
|
|
25226
25226
|
onClick: () => onVideoSourceTypeChange("youtube"),
|
|
25227
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25227
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.YouTubeIcon, { className: "h-4 w-4", color: "currentColor" }),
|
|
25228
25228
|
disabled,
|
|
25229
25229
|
children: "YouTube URL"
|
|
25230
25230
|
}
|
|
@@ -25305,7 +25305,7 @@ function VideoSourceSelector({
|
|
|
25305
25305
|
}
|
|
25306
25306
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
25307
25307
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
25308
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25308
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
25309
25309
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25310
25310
|
"button",
|
|
25311
25311
|
{
|
|
@@ -25509,7 +25509,7 @@ var AIEnrichButton = ({
|
|
|
25509
25509
|
loading,
|
|
25510
25510
|
size: sizeMap[size],
|
|
25511
25511
|
variant: variantMap[variant],
|
|
25512
|
-
leftIcon: !loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25512
|
+
leftIcon: !loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.SparklesIcon, { size: 18, color: "currentColor" }),
|
|
25513
25513
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "gap-2", className),
|
|
25514
25514
|
children: loading ? loadingLabel : label
|
|
25515
25515
|
}
|
|
@@ -25596,7 +25596,7 @@ var AIEnrichSection = ({
|
|
|
25596
25596
|
),
|
|
25597
25597
|
children: [
|
|
25598
25598
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
25599
|
-
icon || /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25599
|
+
icon || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.SparklesIcon, { size: 20, className: "text-ods-text-secondary" }),
|
|
25600
25600
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1", children: [
|
|
25601
25601
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
25602
25602
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mt-1 text-ods-text-secondary text-h6", children: description })
|
|
@@ -25829,7 +25829,7 @@ function HighlightVideoSection({
|
|
|
25829
25829
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25830
25830
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25831
25831
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25832
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25832
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25833
25833
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25834
25834
|
"button",
|
|
25835
25835
|
{
|
|
@@ -25960,7 +25960,7 @@ var AIStatusIndicator = ({
|
|
|
25960
25960
|
const confidenceLabel = showConfidence && confidence !== void 0 ? `${getConfidenceLabel(confidence)} (${confidence}%)` : null;
|
|
25961
25961
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25962
25962
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25963
|
-
|
|
25963
|
+
_chunkPSXUY4K5cjs.SparklesIcon,
|
|
25964
25964
|
{
|
|
25965
25965
|
size: 16,
|
|
25966
25966
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
@@ -26007,7 +26007,7 @@ var AIRequiredBadge = ({ className, size = "sm" }) => {
|
|
|
26007
26007
|
className
|
|
26008
26008
|
),
|
|
26009
26009
|
children: [
|
|
26010
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26010
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSXUY4K5cjs.SparklesIcon, { size: size === "sm" ? 12 : 14, color: "var(--ods-flamingo-cyan-base)" }),
|
|
26011
26011
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-body", children: "AI-required" })
|
|
26012
26012
|
]
|
|
26013
26013
|
}
|
|
@@ -26464,7 +26464,7 @@ function ViewToggle({
|
|
|
26464
26464
|
"aria-label": "Grid view",
|
|
26465
26465
|
disabled,
|
|
26466
26466
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26467
|
-
|
|
26467
|
+
_chunkPSXUY4K5cjs.GridViewIcon,
|
|
26468
26468
|
{
|
|
26469
26469
|
className: "h-5 w-5",
|
|
26470
26470
|
color: disabled ? "var(--ods-system-greys-grey)" : value === "grid" ? "var(--ods-system-greys-black)" : "var(--ods-system-greys-grey)"
|
|
@@ -26485,7 +26485,7 @@ function ViewToggle({
|
|
|
26485
26485
|
"aria-label": "Table view",
|
|
26486
26486
|
disabled,
|
|
26487
26487
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26488
|
-
|
|
26488
|
+
_chunkPSXUY4K5cjs.TableViewIcon,
|
|
26489
26489
|
{
|
|
26490
26490
|
className: "h-5 w-5",
|
|
26491
26491
|
color: disabled ? "var(--ods-system-greys-grey)" : value === "table" ? "var(--ods-system-greys-black)" : "var(--ods-system-greys-grey)"
|
|
@@ -26565,7 +26565,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26565
26565
|
] });
|
|
26566
26566
|
};
|
|
26567
26567
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
26568
|
-
const { innerRef, containerStyle } =
|
|
26568
|
+
const { innerRef, containerStyle } = _chunkOE6KUWRAcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
26569
26569
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
26570
26570
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26571
26571
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26730,10 +26730,10 @@ function WaitlistForm({
|
|
|
26730
26730
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26731
26731
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
26732
26732
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
26733
|
-
const { toast } =
|
|
26734
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
26733
|
+
const { toast } = _chunkOWPMODYTcjs.useToast.call(void 0, );
|
|
26734
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkOWPMODYTcjs.useHumanitySignals.call(void 0, );
|
|
26735
26735
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26736
|
-
const isClient =
|
|
26736
|
+
const isClient = _chunkOE6KUWRAcjs.useIsHydrated.call(void 0, );
|
|
26737
26737
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26738
26738
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26739
26739
|
const isMailDomainGeneric = hasGenericEmailDomain(email);
|
|
@@ -27513,7 +27513,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27513
27513
|
"data-state": open ? "open" : "closed",
|
|
27514
27514
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
27515
27515
|
"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",
|
|
27516
|
-
|
|
27516
|
+
_chunkOE6KUWRAcjs.OVERLAY_BACKDROP_CLASS,
|
|
27517
27517
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
27518
27518
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
27519
27519
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -27589,11 +27589,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27589
27589
|
}
|
|
27590
27590
|
);
|
|
27591
27591
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
27592
|
-
var AppLayoutDrawerHeader =
|
|
27593
|
-
var AppLayoutDrawerTitle =
|
|
27594
|
-
var AppLayoutDrawerDescription =
|
|
27595
|
-
var AppLayoutDrawerBody =
|
|
27596
|
-
var AppLayoutDrawerFooter =
|
|
27592
|
+
var AppLayoutDrawerHeader = _chunkOE6KUWRAcjs.DrawerHeader;
|
|
27593
|
+
var AppLayoutDrawerTitle = _chunkOE6KUWRAcjs.DrawerTitle;
|
|
27594
|
+
var AppLayoutDrawerDescription = _chunkOE6KUWRAcjs.DrawerDescription;
|
|
27595
|
+
var AppLayoutDrawerBody = _chunkOE6KUWRAcjs.DrawerBody;
|
|
27596
|
+
var AppLayoutDrawerFooter = _chunkOE6KUWRAcjs.DrawerFooter;
|
|
27597
27597
|
|
|
27598
27598
|
// src/components/features/notifications/notification-tile.tsx
|
|
27599
27599
|
|
|
@@ -27679,9 +27679,9 @@ function NotificationTile({
|
|
|
27679
27679
|
height: 16,
|
|
27680
27680
|
unoptimized: true
|
|
27681
27681
|
}
|
|
27682
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
27682
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkOWPMODYTcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27683
27683
|
type ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.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" }),
|
|
27684
|
-
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
27684
|
+
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkOE6KUWRAcjs.formatTicketRelativeTime.call(void 0, createdAtIso) }) : null,
|
|
27685
27685
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
27686
27686
|
{
|
|
27687
27687
|
active: isLive,
|
|
@@ -27726,7 +27726,7 @@ function NotificationTile({
|
|
|
27726
27726
|
"div",
|
|
27727
27727
|
{
|
|
27728
27728
|
"aria-hidden": true,
|
|
27729
|
-
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left",
|
|
27729
|
+
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left", _chunkOWPMODYTcjs.progressColorByVariant[accentVariant]),
|
|
27730
27730
|
style: {
|
|
27731
27731
|
animation: `toast-progress ${liveDurationMs}ms linear forwards`,
|
|
27732
27732
|
animationDelay: `-${initialElapsed}ms`
|
|
@@ -27778,7 +27778,7 @@ function NotificationDrawer({
|
|
|
27778
27778
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27779
27779
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27780
27780
|
/* @__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,
|
|
27781
|
-
|
|
27781
|
+
_chunkOE6KUWRAcjs.DrawerTitle,
|
|
27782
27782
|
{
|
|
27783
27783
|
hideClose: true,
|
|
27784
27784
|
className: "truncate",
|
|
@@ -27837,8 +27837,8 @@ function NotificationDrawer({
|
|
|
27837
27837
|
}
|
|
27838
27838
|
) });
|
|
27839
27839
|
}
|
|
27840
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27841
|
-
|
|
27840
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27841
|
+
_chunkOE6KUWRAcjs.DrawerContent,
|
|
27842
27842
|
{
|
|
27843
27843
|
side: "right",
|
|
27844
27844
|
"aria-describedby": void 0,
|
|
@@ -27943,7 +27943,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
27943
27943
|
] });
|
|
27944
27944
|
}
|
|
27945
27945
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
27946
|
-
const { supported, permission, request } =
|
|
27946
|
+
const { supported, permission, request } = _chunkOWPMODYTcjs.useNotificationPermission.call(void 0, );
|
|
27947
27947
|
if (!supported) return null;
|
|
27948
27948
|
const blocked = permission === "denied";
|
|
27949
27949
|
const handleChange = async (value) => {
|
|
@@ -28121,13 +28121,13 @@ function getApprovalMeta(notification) {
|
|
|
28121
28121
|
function resolutionToStatus(resolution) {
|
|
28122
28122
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
28123
28123
|
case "APPROVED":
|
|
28124
|
-
return
|
|
28124
|
+
return _chunkOE6KUWRAcjs.APPROVAL_STATUS.APPROVED;
|
|
28125
28125
|
case "REJECTED":
|
|
28126
|
-
return
|
|
28126
|
+
return _chunkOE6KUWRAcjs.APPROVAL_STATUS.REJECTED;
|
|
28127
28127
|
case "CANCELLED":
|
|
28128
|
-
return
|
|
28128
|
+
return _chunkOE6KUWRAcjs.APPROVAL_STATUS.CANCELLED;
|
|
28129
28129
|
default:
|
|
28130
|
-
return
|
|
28130
|
+
return _chunkOE6KUWRAcjs.APPROVAL_STATUS.PENDING;
|
|
28131
28131
|
}
|
|
28132
28132
|
}
|
|
28133
28133
|
function approvalMetaToBatchData(approval) {
|
|
@@ -28167,7 +28167,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28167
28167
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _599 => _599.resolution]));
|
|
28168
28168
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28169
28169
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28170
|
-
const { innerRef, containerStyle } =
|
|
28170
|
+
const { innerRef, containerStyle } = _chunkOE6KUWRAcjs.useCollapsible.call(void 0, { expanded });
|
|
28171
28171
|
if (!approval || !batchData) return null;
|
|
28172
28172
|
const tileNotification = {
|
|
28173
28173
|
...notification,
|
|
@@ -28220,7 +28220,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28220
28220
|
}
|
|
28221
28221
|
)
|
|
28222
28222
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28223
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28223
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ApprovalStatusTag, { status }),
|
|
28224
28224
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
28225
28225
|
"by ",
|
|
28226
28226
|
approval.resolvedByName
|
|
@@ -28238,12 +28238,12 @@ function ApprovalRequestNotificationTile({
|
|
|
28238
28238
|
"aria-expanded": expanded,
|
|
28239
28239
|
"aria-label": toggleLabel,
|
|
28240
28240
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
28241
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28241
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.ExpandChevron, { expanded })
|
|
28242
28242
|
}
|
|
28243
28243
|
)
|
|
28244
28244
|
] }),
|
|
28245
28245
|
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,
|
|
28246
|
-
|
|
28246
|
+
_chunkOE6KUWRAcjs.ApprovalBatchMessage,
|
|
28247
28247
|
{
|
|
28248
28248
|
data: batchData,
|
|
28249
28249
|
showExecutionStatus: false,
|
|
@@ -28579,7 +28579,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28579
28579
|
function StatusTag({ status }) {
|
|
28580
28580
|
if (status === "tracking") {
|
|
28581
28581
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28582
|
-
|
|
28582
|
+
_chunkOE6KUWRAcjs.Tag,
|
|
28583
28583
|
{
|
|
28584
28584
|
variant: "success",
|
|
28585
28585
|
className: STATUS_TAG_SKIN,
|
|
@@ -28589,9 +28589,9 @@ function StatusTag({ status }) {
|
|
|
28589
28589
|
);
|
|
28590
28590
|
}
|
|
28591
28591
|
if (status === "paused") {
|
|
28592
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28592
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
28593
28593
|
}
|
|
28594
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28594
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28595
28595
|
}
|
|
28596
28596
|
function LastEntryRow({ entry, onClick }) {
|
|
28597
28597
|
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: [
|
|
@@ -28760,7 +28760,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28760
28760
|
"data-state": isOpen ? "open" : "closed",
|
|
28761
28761
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
28762
28762
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28763
|
-
|
|
28763
|
+
_chunkOE6KUWRAcjs.OVERLAY_BACKDROP_CLASS,
|
|
28764
28764
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28765
28765
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28766
28766
|
)
|
|
@@ -28914,7 +28914,7 @@ function BoardColumnHeader({
|
|
|
28914
28914
|
}) {
|
|
28915
28915
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
28916
28916
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
28917
|
-
const useStatusVariant =
|
|
28917
|
+
const useStatusVariant = _chunkOE6KUWRAcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
28918
28918
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
28919
28919
|
if (collapsed) {
|
|
28920
28920
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -28930,7 +28930,7 @@ function BoardColumnHeader({
|
|
|
28930
28930
|
}
|
|
28931
28931
|
),
|
|
28932
28932
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28933
|
-
|
|
28933
|
+
_chunkOE6KUWRAcjs.TicketStatusTag,
|
|
28934
28934
|
{
|
|
28935
28935
|
status: tagStatus,
|
|
28936
28936
|
label: column.label,
|
|
@@ -28943,7 +28943,7 @@ function BoardColumnHeader({
|
|
|
28943
28943
|
}
|
|
28944
28944
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28945
28945
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28946
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28946
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
28947
28947
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
28948
28948
|
] }),
|
|
28949
28949
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -29094,7 +29094,7 @@ function holdMoveDragEffect(element) {
|
|
|
29094
29094
|
|
|
29095
29095
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
29096
29096
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
29097
|
-
const { innerRef, containerStyle } =
|
|
29097
|
+
const { innerRef, containerStyle } = _chunkOE6KUWRAcjs.useCollapsible.call(void 0, { expanded });
|
|
29098
29098
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
29099
29099
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
29100
29100
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -29123,7 +29123,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
29123
29123
|
}
|
|
29124
29124
|
),
|
|
29125
29125
|
/* @__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,
|
|
29126
|
-
|
|
29126
|
+
_chunkOE6KUWRAcjs.ApprovalBatchMessage,
|
|
29127
29127
|
{
|
|
29128
29128
|
className: "mb-0",
|
|
29129
29129
|
data: {
|
|
@@ -29195,7 +29195,7 @@ var ACTIVITY_DEFAULT_LABEL = {
|
|
|
29195
29195
|
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";
|
|
29196
29196
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
29197
29197
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
29198
|
-
const newMessageTextColor = columnColor ?
|
|
29198
|
+
const newMessageTextColor = columnColor ? _chunkOE6KUWRAcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29199
29199
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _635 => _635.deviceHostnames, 'optionalAccess', _636 => _636.length]) || ticket.organizationName);
|
|
29200
29200
|
const deviceText = [_optionalChain([ticket, 'access', _637 => _637.deviceHostnames, 'optionalAccess', _638 => _638.join, 'call', _639 => _639(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29201
29201
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _640 => _640.assignees, 'optionalAccess', _641 => _641.length]) || renderAssignSlot);
|
|
@@ -29234,8 +29234,8 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29234
29234
|
] })
|
|
29235
29235
|
] }) : null
|
|
29236
29236
|
] }) : null;
|
|
29237
|
-
const timestampLabel = ticket.createdAt ?
|
|
29238
|
-
const tooltipLabel = ticket.createdAt ?
|
|
29237
|
+
const timestampLabel = ticket.createdAt ? _chunkOE6KUWRAcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
29238
|
+
const tooltipLabel = ticket.createdAt ? _chunkOE6KUWRAcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
29239
29239
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
29240
29240
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29241
29241
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
@@ -29249,9 +29249,9 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29249
29249
|
rightSection
|
|
29250
29250
|
] }),
|
|
29251
29251
|
_optionalChain([ticket, 'access', _644 => _644.tags, 'optionalAccess', _645 => _645.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29252
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29253
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29254
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29252
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOE6KUWRAcjs.Tooltip, { children: [
|
|
29253
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: metaLabel }) }),
|
|
29254
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.TooltipContent, { children: tooltipLabel })
|
|
29255
29255
|
] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: metaLabel })),
|
|
29256
29256
|
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: [
|
|
29257
29257
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -29271,7 +29271,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29271
29271
|
}
|
|
29272
29272
|
),
|
|
29273
29273
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29274
|
-
|
|
29274
|
+
_chunkOE6KUWRAcjs.Tag,
|
|
29275
29275
|
{
|
|
29276
29276
|
label: "New Message",
|
|
29277
29277
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -29486,8 +29486,8 @@ function TicketTagRow({ tags }) {
|
|
|
29486
29486
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
29487
29487
|
const hidden = tags.length - visible.length;
|
|
29488
29488
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
29489
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29490
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29489
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
29490
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOE6KUWRAcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
29491
29491
|
] });
|
|
29492
29492
|
}
|
|
29493
29493
|
|
|
@@ -29729,7 +29729,7 @@ function resolveBoardDrop(columns, { source, target }) {
|
|
|
29729
29729
|
// src/components/features/board/use-board-collapse.ts
|
|
29730
29730
|
|
|
29731
29731
|
function useBoardCollapse(storageKey) {
|
|
29732
|
-
const [persisted, setPersisted] =
|
|
29732
|
+
const [persisted, setPersisted] = _chunkOWPMODYTcjs.useLocalStorage.call(void 0, _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")), {});
|
|
29733
29733
|
const [memory, setMemory] = _react.useState.call(void 0, {});
|
|
29734
29734
|
const collapsed = storageKey ? persisted : memory;
|
|
29735
29735
|
const setMap = storageKey ? setPersisted : setMemory;
|
|
@@ -29800,7 +29800,7 @@ var DROP_EASING = "cubic-bezier(0.2, 0, 0, 1)";
|
|
|
29800
29800
|
var DRAG_PREVIEW_Z = 1200;
|
|
29801
29801
|
var ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"];
|
|
29802
29802
|
function Board(props) {
|
|
29803
|
-
const dragAndDropEnabled = _chunkTLLJIGTPcjs.useMediaQuery.call(void 0,
|
|
29803
|
+
const dragAndDropEnabled = _chunkTLLJIGTPcjs.useMediaQuery.call(void 0, _chunkOWPMODYTcjs.DRAG_AND_DROP_MEDIA_QUERY);
|
|
29804
29804
|
if (dragAndDropEnabled === void 0) {
|
|
29805
29805
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex h-full min-h-0 flex-col", props.className) });
|
|
29806
29806
|
}
|
|
@@ -29833,7 +29833,7 @@ function DragBoard({
|
|
|
29833
29833
|
onThumbPointerMove,
|
|
29834
29834
|
onThumbPointerUp,
|
|
29835
29835
|
onThumbPointerCancel
|
|
29836
|
-
} =
|
|
29836
|
+
} = _chunkOWPMODYTcjs.useHorizontalScrollbar.call(void 0, );
|
|
29837
29837
|
const columnsRef = _react.useRef.call(void 0, columns);
|
|
29838
29838
|
const onChangeRef = _react.useRef.call(void 0, onChange);
|
|
29839
29839
|
const boardRef = _react.useRef.call(void 0, null);
|
|
@@ -30264,7 +30264,7 @@ function useSortableListContext() {
|
|
|
30264
30264
|
}
|
|
30265
30265
|
function SortableList({ onReorder, getItemLabel, disabled = false, className, children }) {
|
|
30266
30266
|
const listRef = _react.useRef.call(void 0, null);
|
|
30267
|
-
const dragAndDropEnabled =
|
|
30267
|
+
const dragAndDropEnabled = _chunkOWPMODYTcjs.useDragAndDropEnabled.call(void 0, );
|
|
30268
30268
|
const dragType = _react.useId.call(void 0, );
|
|
30269
30269
|
const [announcement, setAnnouncement] = _react.useState.call(void 0, "");
|
|
30270
30270
|
const onReorderRef = _react.useRef.call(void 0, onReorder);
|
|
@@ -31178,4 +31178,4 @@ function SortableRow({
|
|
|
31178
31178
|
|
|
31179
31179
|
|
|
31180
31180
|
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;
|
|
31181
|
-
//# sourceMappingURL=chunk-
|
|
31181
|
+
//# sourceMappingURL=chunk-KUCBDDQB.cjs.map
|