@flamingo-stack/openframe-frontend-core 0.0.671 → 0.0.672-snapshot.20260928032919
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/chat-protocol/card-marker.d.ts +12 -0
- package/dist/chat-protocol/card-marker.d.ts.map +1 -1
- package/dist/chat-protocol/index.cjs +17 -0
- package/dist/chat-protocol/index.cjs.map +1 -1
- package/dist/chat-protocol/index.d.ts +1 -0
- package/dist/chat-protocol/index.d.ts.map +1 -1
- package/dist/chat-protocol/index.js +15 -1
- package/dist/chat-protocol/index.js.map +1 -1
- package/dist/{chunk-4PVY4JJN.js → chunk-2TQ64TG3.js} +3 -3
- package/dist/{chunk-FAJUQKWQ.cjs → chunk-3EIB5PNM.cjs} +76 -75
- package/dist/chunk-3EIB5PNM.cjs.map +1 -0
- package/dist/{chunk-FUXUJSPP.cjs → chunk-3UDBK2YG.cjs} +1 -1
- package/dist/chunk-3UDBK2YG.cjs.map +1 -0
- package/dist/{chunk-G64BNLDO.js → chunk-3X6WFYSV.js} +2 -2
- package/dist/{chunk-DUZEFACP.js → chunk-4UAIOXYC.js} +3 -3
- package/dist/{chunk-SNNE34OP.js → chunk-5KD5SSP6.js} +5 -5
- package/dist/{chunk-RKUCK6MN.js → chunk-6NGIPAQ6.js} +2 -2
- package/dist/{chunk-OG2BNJ2Q.cjs → chunk-6PPEG2N4.cjs} +389 -375
- package/dist/chunk-6PPEG2N4.cjs.map +1 -0
- package/dist/{chunk-NIYIK32F.js → chunk-6ZX6TFSS.js} +18 -4
- package/dist/{chunk-NIYIK32F.js.map → chunk-6ZX6TFSS.js.map} +1 -1
- package/dist/{chunk-6C6UUOH4.js → chunk-A77HP3N6.js} +8 -7
- package/dist/{chunk-6C6UUOH4.js.map → chunk-A77HP3N6.js.map} +1 -1
- package/dist/{chunk-YNGAJGYB.cjs → chunk-AXMNWMAU.cjs} +340 -6
- package/dist/chunk-AXMNWMAU.cjs.map +1 -0
- package/dist/{chunk-PLG6LP7E.cjs → chunk-BAEHCDPI.cjs} +49 -49
- package/dist/{chunk-PLG6LP7E.cjs.map → chunk-BAEHCDPI.cjs.map} +1 -1
- package/dist/{chunk-R22IA7MP.js → chunk-BBDEIE56.js} +4 -4
- package/dist/{chunk-PQ7YC5Y6.js → chunk-D5HO3RNF.js} +3 -3
- package/dist/{chunk-II66XWU5.cjs → chunk-D6IOMPAH.cjs} +3 -3
- package/dist/{chunk-II66XWU5.cjs.map → chunk-D6IOMPAH.cjs.map} +1 -1
- package/dist/{chunk-DAGKBFZN.cjs → chunk-EQIBWG5U.cjs} +33 -33
- package/dist/{chunk-DAGKBFZN.cjs.map → chunk-EQIBWG5U.cjs.map} +1 -1
- package/dist/{chunk-3PVOF3IB.js → chunk-EVB3EO5S.js} +337 -3
- package/dist/{chunk-3PVOF3IB.js.map → chunk-EVB3EO5S.js.map} +1 -1
- package/dist/{chunk-SJZPKIW6.cjs → chunk-G64BDYU5.cjs} +12 -12
- package/dist/{chunk-SJZPKIW6.cjs.map → chunk-G64BDYU5.cjs.map} +1 -1
- package/dist/{chunk-BP542DGQ.cjs → chunk-GLPGYU6H.cjs} +55 -28
- package/dist/chunk-GLPGYU6H.cjs.map +1 -0
- package/dist/{chunk-TLLTL6LB.js → chunk-JD4U7QMG.js} +1 -1
- package/dist/chunk-JD4U7QMG.js.map +1 -0
- package/dist/{chunk-ZRIVCLPR.js → chunk-JD5TKRCU.js} +1 -1
- package/dist/chunk-JD5TKRCU.js.map +1 -0
- package/dist/{chunk-YJWR7D6O.cjs → chunk-JKIM7U7N.cjs} +3 -3
- package/dist/{chunk-YJWR7D6O.cjs.map → chunk-JKIM7U7N.cjs.map} +1 -1
- package/dist/{chunk-K3O4D7LW.js → chunk-KUASHD7Z.js} +4 -4
- package/dist/{chunk-GF5TSQ6C.cjs → chunk-KXL534EV.cjs} +10 -10
- package/dist/{chunk-GF5TSQ6C.cjs.map → chunk-KXL534EV.cjs.map} +1 -1
- package/dist/{chunk-FHTNCWIP.js → chunk-KYVFU7VQ.js} +5 -5
- package/dist/{chunk-OYMOG544.js → chunk-KZAT6VWE.js} +5 -5
- package/dist/{chunk-D55IENZJ.cjs → chunk-LCMT2GZK.cjs} +1 -1
- package/dist/chunk-LCMT2GZK.cjs.map +1 -0
- package/dist/{chunk-IJIIL6WU.js → chunk-MVU7HF5A.js} +6 -6
- package/dist/{chunk-XGXHHSDU.cjs → chunk-NYDFVUMH.cjs} +22 -22
- package/dist/{chunk-XGXHHSDU.cjs.map → chunk-NYDFVUMH.cjs.map} +1 -1
- package/dist/{chunk-STLBB6PF.js → chunk-O75Y5O3U.js} +35 -8
- package/dist/chunk-O75Y5O3U.js.map +1 -0
- package/dist/{chunk-DAWYS25M.cjs → chunk-PDNGWDJF.cjs} +17 -17
- package/dist/{chunk-DAWYS25M.cjs.map → chunk-PDNGWDJF.cjs.map} +1 -1
- package/dist/{chunk-T3ACDOVD.cjs → chunk-VRZZCL4R.cjs} +7 -7
- package/dist/{chunk-T3ACDOVD.cjs.map → chunk-VRZZCL4R.cjs.map} +1 -1
- package/dist/{chunk-XH4MRTZM.cjs → chunk-WQFT7GOC.cjs} +5 -5
- package/dist/{chunk-XH4MRTZM.cjs.map → chunk-WQFT7GOC.cjs.map} +1 -1
- package/dist/{chunk-YIDNSRPL.cjs → chunk-XGBFQ3YV.cjs} +31 -31
- package/dist/{chunk-YIDNSRPL.cjs.map → chunk-XGBFQ3YV.cjs.map} +1 -1
- package/dist/{chunk-UH3BL2OT.js → chunk-Y7TZHPS2.js} +2 -2
- package/dist/{chunk-EIAVE6SE.cjs → chunk-YKKW67A3.cjs} +10 -10
- package/dist/{chunk-EIAVE6SE.cjs.map → chunk-YKKW67A3.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +18 -17
- package/dist/components/case-studies/index.cjs.map +1 -1
- package/dist/components/case-studies/index.js +7 -6
- package/dist/components/case-studies/index.js.map +1 -1
- package/dist/components/case-studies/share-experience-section.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/contact-form.d.ts +6 -1
- package/dist/components/contact/contact-form.d.ts.map +1 -1
- 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/features/waitlist-form.d.ts +3 -1
- package/dist/components/features/waitlist-form.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +77 -76
- package/dist/components/help-center-pages/index.cjs.map +1 -1
- package/dist/components/help-center-pages/index.js +17 -16
- package/dist/components/help-center-pages/index.js.map +1 -1
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/index.cjs +43 -43
- package/dist/components/index.js +15 -15
- package/dist/components/meeting-scheduler/booking-form.d.ts +4 -1
- package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +73 -39
- package/dist/components/meeting-scheduler/index.cjs.map +1 -1
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +44 -10
- package/dist/components/meeting-scheduler/index.js.map +1 -1
- 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/help-center-create-form.d.ts.map +1 -1
- 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/contexts/endpoints-runtime-context.d.ts +5 -0
- package/dist/contexts/endpoints-runtime-context.d.ts.map +1 -1
- package/dist/contexts/index.cjs +2 -2
- package/dist/contexts/index.js +1 -1
- package/dist/hooks/index.cjs +5 -3
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +4 -2
- package/dist/hooks/use-form-rescue.d.ts +37 -0
- package/dist/hooks/use-form-rescue.d.ts.map +1 -0
- package/dist/index.cjs +51 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +50 -8
- package/dist/index.js.map +1 -1
- package/dist/utils/form-rescue.cjs +117 -0
- package/dist/utils/form-rescue.cjs.map +1 -0
- package/dist/utils/form-rescue.d.ts +98 -0
- package/dist/utils/form-rescue.d.ts.map +1 -0
- package/dist/utils/form-rescue.js +96 -0
- package/dist/utils/form-rescue.js.map +1 -0
- package/dist/utils/index.cjs +113 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +94 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +7 -1
- package/src/chat-protocol/__tests__/card-marker.test.ts +27 -1
- package/src/chat-protocol/card-marker.ts +24 -0
- package/src/chat-protocol/index.ts +3 -0
- package/src/components/case-studies/share-experience-section.tsx +1 -0
- package/src/components/contact/contact-form.tsx +38 -2
- package/src/components/features/waitlist-form.tsx +23 -2
- package/src/components/help-center-pages/trust-center-sections.tsx +1 -0
- package/src/components/meeting-scheduler/booking-form.tsx +14 -0
- package/src/components/meeting-scheduler/index.tsx +33 -3
- package/src/components/tickets/help-center-create-form.tsx +2 -0
- package/src/contexts/endpoints-runtime-context.tsx +5 -0
- package/src/hooks/__tests__/use-form-rescue.test.tsx +182 -0
- package/src/hooks/index.ts +3 -0
- package/src/hooks/use-form-rescue.ts +315 -0
- package/src/utils/__tests__/form-rescue.test.ts +106 -0
- package/src/utils/form-rescue.ts +190 -0
- package/src/utils/index.ts +5 -0
- package/dist/chunk-BP542DGQ.cjs.map +0 -1
- package/dist/chunk-D55IENZJ.cjs.map +0 -1
- package/dist/chunk-FAJUQKWQ.cjs.map +0 -1
- package/dist/chunk-FUXUJSPP.cjs.map +0 -1
- package/dist/chunk-OG2BNJ2Q.cjs.map +0 -1
- package/dist/chunk-STLBB6PF.js.map +0 -1
- package/dist/chunk-TLLTL6LB.js.map +0 -1
- package/dist/chunk-YNGAJGYB.cjs.map +0 -1
- package/dist/chunk-ZRIVCLPR.js.map +0 -1
- /package/dist/{chunk-4PVY4JJN.js.map → chunk-2TQ64TG3.js.map} +0 -0
- /package/dist/{chunk-G64BNLDO.js.map → chunk-3X6WFYSV.js.map} +0 -0
- /package/dist/{chunk-DUZEFACP.js.map → chunk-4UAIOXYC.js.map} +0 -0
- /package/dist/{chunk-SNNE34OP.js.map → chunk-5KD5SSP6.js.map} +0 -0
- /package/dist/{chunk-RKUCK6MN.js.map → chunk-6NGIPAQ6.js.map} +0 -0
- /package/dist/{chunk-R22IA7MP.js.map → chunk-BBDEIE56.js.map} +0 -0
- /package/dist/{chunk-PQ7YC5Y6.js.map → chunk-D5HO3RNF.js.map} +0 -0
- /package/dist/{chunk-K3O4D7LW.js.map → chunk-KUASHD7Z.js.map} +0 -0
- /package/dist/{chunk-FHTNCWIP.js.map → chunk-KYVFU7VQ.js.map} +0 -0
- /package/dist/{chunk-OYMOG544.js.map → chunk-KZAT6VWE.js.map} +0 -0
- /package/dist/{chunk-IJIIL6WU.js.map → chunk-MVU7HF5A.js.map} +0 -0
- /package/dist/{chunk-UH3BL2OT.js.map → chunk-Y7TZHPS2.js.map} +0 -0
|
@@ -22,7 +22,8 @@ var _chunkTON3YCCWcjs = require('./chunk-TON3YCCW.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
|
|
26
|
+
var _chunkAXMNWMAUcjs = require('./chunk-AXMNWMAU.cjs');
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
var _chunkJU6SBF3Ccjs = require('./chunk-JU6SBF3C.cjs');
|
|
@@ -97,7 +98,7 @@ var _chunkQVSVRG7Icjs = require('./chunk-QVSVRG7I.cjs');
|
|
|
97
98
|
|
|
98
99
|
|
|
99
100
|
|
|
100
|
-
var
|
|
101
|
+
var _chunk3UDBK2YGcjs = require('./chunk-3UDBK2YG.cjs');
|
|
101
102
|
|
|
102
103
|
|
|
103
104
|
|
|
@@ -361,7 +362,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
361
362
|
var useTheme = _nextthemes.useTheme;
|
|
362
363
|
function useThemeToggle() {
|
|
363
364
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
364
|
-
const mounted =
|
|
365
|
+
const mounted = _chunk3UDBK2YGcjs.useIsHydrated.call(void 0, );
|
|
365
366
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
366
367
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
367
368
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -638,7 +639,7 @@ function TruncateText({
|
|
|
638
639
|
const { ref, isTruncated } = _chunkV2A4MAALcjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
639
640
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
640
641
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
641
|
-
|
|
642
|
+
_chunk3UDBK2YGcjs.FloatingTooltip,
|
|
642
643
|
{
|
|
643
644
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
644
645
|
side,
|
|
@@ -723,7 +724,7 @@ function AutocompleteInner(props, ref) {
|
|
|
723
724
|
};
|
|
724
725
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
725
726
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
726
|
-
const keyboardPadding =
|
|
727
|
+
const keyboardPadding = _chunkAXMNWMAUcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
727
728
|
const containerRef = _react.useRef.call(void 0, null);
|
|
728
729
|
const hiddenTagsPopupRef = _react.useRef.call(void 0, null);
|
|
729
730
|
const isInvalid = invalid || !!error;
|
|
@@ -741,7 +742,7 @@ function AutocompleteInner(props, ref) {
|
|
|
741
742
|
textMeasureRef,
|
|
742
743
|
badgeRef,
|
|
743
744
|
inputRef
|
|
744
|
-
} =
|
|
745
|
+
} = _chunkAXMNWMAUcjs.useAutoLimitTags.call(void 0, {
|
|
745
746
|
count: multiple ? selectedOptions.length : 0,
|
|
746
747
|
limitTags: multiple ? limitTagsProp : 0,
|
|
747
748
|
placeholder: inputPlaceholder
|
|
@@ -945,7 +946,7 @@ function AutocompleteInner(props, ref) {
|
|
|
945
946
|
),
|
|
946
947
|
/* @__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: [
|
|
947
948
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
948
|
-
|
|
949
|
+
_chunk3UDBK2YGcjs.Tag,
|
|
949
950
|
{
|
|
950
951
|
variant: "outline",
|
|
951
952
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1167,7 +1168,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1167
1168
|
"aria-hidden": "true",
|
|
1168
1169
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
1169
1170
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1170
|
-
|
|
1171
|
+
_chunk3UDBK2YGcjs.Tag,
|
|
1171
1172
|
{
|
|
1172
1173
|
variant: "outline",
|
|
1173
1174
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -2552,7 +2553,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
2552
2553
|
const describedById = _react.useId.call(void 0, );
|
|
2553
2554
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
2554
2555
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2555
|
-
|
|
2556
|
+
_chunk3UDBK2YGcjs.FloatingTooltip,
|
|
2556
2557
|
{
|
|
2557
2558
|
content: children,
|
|
2558
2559
|
side,
|
|
@@ -2646,7 +2647,7 @@ function Value2({ value, depth }) {
|
|
|
2646
2647
|
}
|
|
2647
2648
|
if (typeof value === "string") {
|
|
2648
2649
|
if (ISO_DATE.test(value)) {
|
|
2649
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2650
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunk3UDBK2YGcjs.formatRelativeTime.call(void 0, value) });
|
|
2650
2651
|
}
|
|
2651
2652
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2652
2653
|
}
|
|
@@ -2828,7 +2829,7 @@ function InfoCardFooter({ footer }) {
|
|
|
2828
2829
|
] });
|
|
2829
2830
|
}
|
|
2830
2831
|
function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLabel }) {
|
|
2831
|
-
const { copy, copied } =
|
|
2832
|
+
const { copy, copied } = _chunkAXMNWMAUcjs.useCopyToClipboard.call(void 0, );
|
|
2832
2833
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 w-full items-center gap-[var(--spacing-system-xs)] self-stretch", children: [
|
|
2833
2834
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-primary text-h4", children: showLabel ? label : "" }),
|
|
2834
2835
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-px flex-1 bg-ods-divider" }),
|
|
@@ -2918,7 +2919,7 @@ function SearchableSelect({
|
|
|
2918
2919
|
}) {
|
|
2919
2920
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
2920
2921
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
2921
|
-
const keyboardPadding =
|
|
2922
|
+
const keyboardPadding = _chunkAXMNWMAUcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
2922
2923
|
if (!isOpen && search !== "") setSearch("");
|
|
2923
2924
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
2924
2925
|
const q = search.trim().toLowerCase();
|
|
@@ -3278,7 +3279,7 @@ function RowValue({ value }) {
|
|
|
3278
3279
|
}
|
|
3279
3280
|
case "status": {
|
|
3280
3281
|
const { type: _type, ...props } = value;
|
|
3281
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3282
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TicketStatusTag, { ...props });
|
|
3282
3283
|
}
|
|
3283
3284
|
case "custom":
|
|
3284
3285
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -3794,7 +3795,7 @@ function TagSelectDropdown({
|
|
|
3794
3795
|
}) {
|
|
3795
3796
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
3796
3797
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
3797
|
-
const keyboardPadding =
|
|
3798
|
+
const keyboardPadding = _chunkAXMNWMAUcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
3798
3799
|
if (!isOpen && search !== "") setSearch("");
|
|
3799
3800
|
const query = search.trim();
|
|
3800
3801
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
@@ -4086,7 +4087,7 @@ function TagsManager({
|
|
|
4086
4087
|
}) {
|
|
4087
4088
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
4088
4089
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
4089
|
-
const keyboardPadding =
|
|
4090
|
+
const keyboardPadding = _chunkAXMNWMAUcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
4090
4091
|
const [editingId, setEditingId] = _react.useState.call(void 0, null);
|
|
4091
4092
|
const [editingName, setEditingName] = _react.useState.call(void 0, "");
|
|
4092
4093
|
const editInputRef = _react.useRef.call(void 0, null);
|
|
@@ -4189,7 +4190,7 @@ function TagsManager({
|
|
|
4189
4190
|
}
|
|
4190
4191
|
),
|
|
4191
4192
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4192
|
-
|
|
4193
|
+
_chunk3UDBK2YGcjs.Tag,
|
|
4193
4194
|
{
|
|
4194
4195
|
label: tag.name,
|
|
4195
4196
|
variant: "outline",
|
|
@@ -4734,10 +4735,10 @@ function useConfirm() {
|
|
|
4734
4735
|
},
|
|
4735
4736
|
[]
|
|
4736
4737
|
);
|
|
4737
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4738
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4739
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4740
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4738
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4739
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalTitle, { children: pending.title }) }),
|
|
4740
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4741
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.ModalFooter, { children: [
|
|
4741
4742
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4742
4743
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4743
4744
|
] })
|
|
@@ -4800,9 +4801,9 @@ function AdminFormModal({
|
|
|
4800
4801
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4801
4802
|
});
|
|
4802
4803
|
if (!isOpen) return null;
|
|
4803
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4804
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4805
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4804
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4805
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.ModalHeader, { children: [
|
|
4806
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalTitle, { children: title }),
|
|
4806
4807
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4807
4808
|
] }),
|
|
4808
4809
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4827,7 +4828,7 @@ function AdminFormModal({
|
|
|
4827
4828
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4828
4829
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4829
4830
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4830
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4831
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4831
4832
|
"div",
|
|
4832
4833
|
{
|
|
4833
4834
|
"aria-busy": "true",
|
|
@@ -4848,12 +4849,12 @@ function AdminFormModal({
|
|
|
4848
4849
|
]
|
|
4849
4850
|
}
|
|
4850
4851
|
) })
|
|
4851
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4852
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalContent, { className: contentClassName, children }),
|
|
4852
4853
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4853
4854
|
]
|
|
4854
4855
|
}
|
|
4855
4856
|
),
|
|
4856
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4857
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4857
4858
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4858
4859
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4859
4860
|
footerStatus,
|
|
@@ -6143,9 +6144,9 @@ var KIND_HEADING = {
|
|
|
6143
6144
|
design: "Claude Design"
|
|
6144
6145
|
};
|
|
6145
6146
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
6146
|
-
const { src: mirrorSrc, status } =
|
|
6147
|
+
const { src: mirrorSrc, status } = _chunkAXMNWMAUcjs.useClaudeMirrorSrc.call(void 0, url);
|
|
6147
6148
|
const isProbing = status === "probing";
|
|
6148
|
-
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => (
|
|
6149
|
+
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunkAXMNWMAUcjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
6149
6150
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6150
6151
|
EmbedViewerFrame,
|
|
6151
6152
|
{
|
|
@@ -6220,12 +6221,12 @@ function SlidesViewToggle({ view, onChange }) {
|
|
|
6220
6221
|
}
|
|
6221
6222
|
function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
6222
6223
|
const [view, setView] = _react.useState.call(void 0, "present");
|
|
6223
|
-
const isSlides = url ?
|
|
6224
|
-
const embedSrc = url ?
|
|
6224
|
+
const isSlides = url ? _chunkAXMNWMAUcjs.isFigmaSlidesUrl.call(void 0, url) : false;
|
|
6225
|
+
const embedSrc = url ? _chunkAXMNWMAUcjs.toFigmaEmbedUrl.call(void 0, url, { slidesView: view }) : null;
|
|
6225
6226
|
const originalUrl = (() => {
|
|
6226
6227
|
if (!url) return null;
|
|
6227
6228
|
try {
|
|
6228
|
-
const parsed = new URL(
|
|
6229
|
+
const parsed = new URL(_chunkAXMNWMAUcjs.toFigmaOriginalUrl.call(void 0, url));
|
|
6229
6230
|
const host = parsed.hostname.toLowerCase();
|
|
6230
6231
|
const okHost = host === "figma.com" || host.endsWith(".figma.com");
|
|
6231
6232
|
const okProtocol = parsed.protocol === "https:" || parsed.protocol === "http:";
|
|
@@ -6999,7 +7000,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6999
7000
|
};
|
|
7000
7001
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
7001
7002
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7002
|
-
|
|
7003
|
+
_chunk3UDBK2YGcjs.Video,
|
|
7003
7004
|
{
|
|
7004
7005
|
url: item.src,
|
|
7005
7006
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7723,7 +7724,7 @@ function buildRichEmbedOverrides({
|
|
|
7723
7724
|
ogEndpointPath,
|
|
7724
7725
|
textSizes
|
|
7725
7726
|
}) {
|
|
7726
|
-
const standard =
|
|
7727
|
+
const standard = _chunk3UDBK2YGcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7727
7728
|
return {
|
|
7728
7729
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7729
7730
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7733,7 +7734,7 @@ function buildRichEmbedOverrides({
|
|
|
7733
7734
|
const language = match ? match[1] : "";
|
|
7734
7735
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7735
7736
|
if (language === "youtube-embed") {
|
|
7736
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7737
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7737
7738
|
}
|
|
7738
7739
|
if (language === "reddit-embed") {
|
|
7739
7740
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7774,7 +7775,7 @@ function buildRichEmbedOverrides({
|
|
|
7774
7775
|
"data-figma-url": figmaUrl
|
|
7775
7776
|
} = divProps;
|
|
7776
7777
|
if (className === "youtube-embed" && videoId) {
|
|
7777
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7778
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.Video, { kind: "youtube", url: videoId });
|
|
7778
7779
|
}
|
|
7779
7780
|
if (className === "reddit-embed" && postUrl) {
|
|
7780
7781
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7859,14 +7860,14 @@ function buildRichEmbedOverrides({
|
|
|
7859
7860
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7860
7861
|
// elsewhere). Guard against empty `![]()`.
|
|
7861
7862
|
img: ({ src, alt }) => {
|
|
7862
|
-
if (!
|
|
7863
|
+
if (!_chunk3UDBK2YGcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7863
7864
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7864
7865
|
},
|
|
7865
7866
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7866
7867
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7867
7868
|
video: ({ src, poster, className }) => {
|
|
7868
|
-
if (!
|
|
7869
|
-
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,
|
|
7869
|
+
if (!_chunk3UDBK2YGcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7870
|
+
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, _chunk3UDBK2YGcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7870
7871
|
}
|
|
7871
7872
|
};
|
|
7872
7873
|
}
|
|
@@ -8107,13 +8108,13 @@ var RichMarkdownInner = ({
|
|
|
8107
8108
|
},
|
|
8108
8109
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8109
8110
|
);
|
|
8110
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8111
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunk3UDBK2YGcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8111
8112
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8112
8113
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8113
8114
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8114
8115
|
);
|
|
8115
8116
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8116
|
-
|
|
8117
|
+
_chunk3UDBK2YGcjs.MarkdownEngine,
|
|
8117
8118
|
{
|
|
8118
8119
|
content,
|
|
8119
8120
|
className,
|
|
@@ -8135,7 +8136,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8135
8136
|
className = "",
|
|
8136
8137
|
sectionIds,
|
|
8137
8138
|
onInternalLinkClick,
|
|
8138
|
-
brokenLinks =
|
|
8139
|
+
brokenLinks = _chunk3UDBK2YGcjs.NO_BROKEN_LINKS,
|
|
8139
8140
|
currentPath,
|
|
8140
8141
|
resolveSource = "openframe-docs",
|
|
8141
8142
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9100,7 +9101,7 @@ function FilterModal({
|
|
|
9100
9101
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _167 => _167.defaultSort]), () => ( "desc"));
|
|
9101
9102
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _168 => _168.sort]), () => ( dateDefaultSort)));
|
|
9102
9103
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _169 => _169.range]));
|
|
9103
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
9104
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunk3UDBK2YGcjs.useScrollFade.call(void 0, );
|
|
9104
9105
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
9105
9106
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
9106
9107
|
_react.useEffect.call(void 0, () => {
|
|
@@ -9145,10 +9146,10 @@ function FilterModal({
|
|
|
9145
9146
|
const hasFilterGroups = filterGroups.length > 0;
|
|
9146
9147
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
9147
9148
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
9148
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9149
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9149
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.Modal, { isOpen, onClose, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
9150
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalTitle, { children: title }) }),
|
|
9150
9151
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9151
|
-
|
|
9152
|
+
_chunk3UDBK2YGcjs.ModalContent,
|
|
9152
9153
|
{
|
|
9153
9154
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
9154
9155
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -9240,12 +9241,12 @@ function FilterModal({
|
|
|
9240
9241
|
] })
|
|
9241
9242
|
}
|
|
9242
9243
|
),
|
|
9243
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9244
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9244
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
9245
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
9245
9246
|
] })
|
|
9246
9247
|
}
|
|
9247
9248
|
),
|
|
9248
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9249
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.ModalFooter, { children: [
|
|
9249
9250
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
9250
9251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
9251
9252
|
] })
|
|
@@ -9289,9 +9290,9 @@ function actionToMenuItems(action, idx) {
|
|
|
9289
9290
|
function renderActionButton(action, opts = {}) {
|
|
9290
9291
|
const button = renderRawActionButton(action, opts);
|
|
9291
9292
|
if (!action.tooltip) return button;
|
|
9292
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9293
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9294
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9293
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.Tooltip, { children: [
|
|
9294
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
9295
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipContent, { children: action.tooltip })
|
|
9295
9296
|
] }) });
|
|
9296
9297
|
}
|
|
9297
9298
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -9315,7 +9316,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
9315
9316
|
}
|
|
9316
9317
|
if (action.submenu && action.submenu.length > 0) {
|
|
9317
9318
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9318
|
-
|
|
9319
|
+
_chunk3UDBK2YGcjs.ActionsMenuDropdown,
|
|
9319
9320
|
{
|
|
9320
9321
|
groups: [{ items: action.submenu }],
|
|
9321
9322
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9450,10 +9451,10 @@ function IconButtonsVariant({
|
|
|
9450
9451
|
selector,
|
|
9451
9452
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9452
9453
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
9453
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9454
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
9454
9455
|
] })
|
|
9455
9456
|
] }),
|
|
9456
|
-
/* @__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,
|
|
9457
|
+
/* @__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, _chunk3UDBK2YGcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9457
9458
|
] });
|
|
9458
9459
|
}
|
|
9459
9460
|
function PrimaryButtonsVariant({
|
|
@@ -9491,7 +9492,7 @@ function MenuPrimaryVariant({
|
|
|
9491
9492
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9492
9493
|
selector,
|
|
9493
9494
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9494
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9495
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9495
9496
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
9496
9497
|
] })
|
|
9497
9498
|
] }),
|
|
@@ -9499,7 +9500,7 @@ function MenuPrimaryVariant({
|
|
|
9499
9500
|
// The selector rides into the menu as its header row: on mobile the
|
|
9500
9501
|
// title row has no room for it, and hiding it entirely (what
|
|
9501
9502
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9502
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9503
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9503
9504
|
) : null })
|
|
9504
9505
|
] });
|
|
9505
9506
|
}
|
|
@@ -9905,7 +9906,7 @@ function TitleBlock({
|
|
|
9905
9906
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
9906
9907
|
(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: [
|
|
9907
9908
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9908
|
-
|
|
9909
|
+
_chunk3UDBK2YGcjs.FloatingTooltip,
|
|
9909
9910
|
{
|
|
9910
9911
|
content: title,
|
|
9911
9912
|
side: "bottom",
|
|
@@ -9922,12 +9923,12 @@ function TitleBlock({
|
|
|
9922
9923
|
}
|
|
9923
9924
|
),
|
|
9924
9925
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9925
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9926
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.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 }) })),
|
|
9926
9927
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
9927
9928
|
empty `p` collapses to zero height (its only content would be
|
|
9928
9929
|
collapsible whitespace), which is exactly the shift that mode
|
|
9929
9930
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
9930
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9931
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9931
9932
|
"p",
|
|
9932
9933
|
{
|
|
9933
9934
|
ref: subtitleRef,
|
|
@@ -9938,7 +9939,7 @@ function TitleBlock({
|
|
|
9938
9939
|
) })
|
|
9939
9940
|
] })
|
|
9940
9941
|
] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9941
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9942
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.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 }) }),
|
|
9942
9943
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9943
9944
|
] }) : (
|
|
9944
9945
|
/* This branch never had the single-line clamp, so text already
|
|
@@ -11537,8 +11538,8 @@ function makeComposeContentUrl(opts) {
|
|
|
11537
11538
|
}
|
|
11538
11539
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
11539
11540
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
11540
|
-
const owner = claimedOwner &&
|
|
11541
|
-
const origin = owner ?
|
|
11541
|
+
const owner = claimedOwner && _chunk3UDBK2YGcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
11542
|
+
const origin = owner ? _chunk3UDBK2YGcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
11542
11543
|
return {
|
|
11543
11544
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _228 => _228.trim, 'call', _229 => _229()]) || identifier}`,
|
|
11544
11545
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -11713,7 +11714,7 @@ function extractSections(markdown, options = {}) {
|
|
|
11713
11714
|
if (heading.level > opts.maxLevel) continue;
|
|
11714
11715
|
let title = heading.text;
|
|
11715
11716
|
if (opts.stripFormattingMarkers) {
|
|
11716
|
-
title =
|
|
11717
|
+
title = _chunk3UDBK2YGcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
11717
11718
|
}
|
|
11718
11719
|
const baseId = _chunkV2A4MAALcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkV2A4MAALcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
11719
11720
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -12286,7 +12287,7 @@ function DashboardInfoCard({
|
|
|
12286
12287
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
12287
12288
|
if (asTag) {
|
|
12288
12289
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
12289
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12290
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
12290
12291
|
}
|
|
12291
12292
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
12292
12293
|
"(",
|
|
@@ -12340,7 +12341,7 @@ function DashboardInfoCard({
|
|
|
12340
12341
|
/* @__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 }),
|
|
12341
12342
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
12342
12343
|
renderPercentage(),
|
|
12343
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12344
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.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, _chunkOIDKQ77Rcjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
12344
12345
|
] })
|
|
12345
12346
|
] }),
|
|
12346
12347
|
renderProgress()
|
|
@@ -12517,7 +12518,7 @@ function DeviceCard({
|
|
|
12517
12518
|
] }),
|
|
12518
12519
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
12519
12520
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12520
|
-
|
|
12521
|
+
_chunk3UDBK2YGcjs.Tag,
|
|
12521
12522
|
{
|
|
12522
12523
|
variant: statusTag.variant,
|
|
12523
12524
|
icon: statusTag.icon,
|
|
@@ -12531,7 +12532,7 @@ function DeviceCard({
|
|
|
12531
12532
|
formatLastSeen(device.lastSeen)
|
|
12532
12533
|
] })
|
|
12533
12534
|
] }),
|
|
12534
|
-
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,
|
|
12535
|
+
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, _chunk3UDBK2YGcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
12535
12536
|
]
|
|
12536
12537
|
}
|
|
12537
12538
|
);
|
|
@@ -12772,7 +12773,7 @@ function FeatureList({ items, className = "", iconBoxSize = 72 }) {
|
|
|
12772
12773
|
|
|
12773
12774
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
12774
12775
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12775
|
-
|
|
12776
|
+
_chunk3UDBK2YGcjs.FloatingTooltip,
|
|
12776
12777
|
{
|
|
12777
12778
|
as: "span",
|
|
12778
12779
|
side: "top",
|
|
@@ -12957,7 +12958,7 @@ function DropdownButton({
|
|
|
12957
12958
|
)
|
|
12958
12959
|
);
|
|
12959
12960
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12960
|
-
|
|
12961
|
+
_chunk3UDBK2YGcjs.ActionsMenuDropdown,
|
|
12961
12962
|
{
|
|
12962
12963
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
12963
12964
|
open,
|
|
@@ -13172,7 +13173,7 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
13172
13173
|
}
|
|
13173
13174
|
function ServiceCardRowItem({ row }) {
|
|
13174
13175
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
13175
|
-
const { copy, copied } =
|
|
13176
|
+
const { copy, copied } = _chunkAXMNWMAUcjs.useCopyToClipboard.call(void 0, );
|
|
13176
13177
|
const { ref: valueRef, isTruncated: valueTruncated } = _chunkV2A4MAALcjs.useIsTruncated.call(void 0, row.value);
|
|
13177
13178
|
const actions = _react.useMemo.call(void 0,
|
|
13178
13179
|
() => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }),
|
|
@@ -13195,7 +13196,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
13195
13196
|
),
|
|
13196
13197
|
children: [
|
|
13197
13198
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13198
|
-
|
|
13199
|
+
_chunk3UDBK2YGcjs.FloatingTooltip,
|
|
13199
13200
|
{
|
|
13200
13201
|
content: row.value,
|
|
13201
13202
|
side: "top",
|
|
@@ -13333,7 +13334,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
13333
13334
|
);
|
|
13334
13335
|
}
|
|
13335
13336
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
13336
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13337
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.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: [
|
|
13337
13338
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13338
13339
|
_chunkQRUW4UXBcjs.AvatarStack,
|
|
13339
13340
|
{
|
|
@@ -13395,9 +13396,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
13395
13396
|
return next;
|
|
13396
13397
|
});
|
|
13397
13398
|
};
|
|
13398
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13399
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
13399
13400
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13400
|
-
|
|
13401
|
+
_chunk3UDBK2YGcjs.TooltipTrigger,
|
|
13401
13402
|
{
|
|
13402
13403
|
asChild: true,
|
|
13403
13404
|
onPointerDown: (e) => {
|
|
@@ -13415,7 +13416,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
13415
13416
|
children
|
|
13416
13417
|
}
|
|
13417
13418
|
),
|
|
13418
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13419
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
13419
13420
|
] }) });
|
|
13420
13421
|
}
|
|
13421
13422
|
|
|
@@ -14726,9 +14727,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
14726
14727
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14727
14728
|
}
|
|
14728
14729
|
}, []);
|
|
14729
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14730
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14731
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14730
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14731
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.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 }) }) }),
|
|
14732
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
14732
14733
|
] }) });
|
|
14733
14734
|
}
|
|
14734
14735
|
|
|
@@ -14781,9 +14782,9 @@ function TruncatedCell({ value, className }) {
|
|
|
14781
14782
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14782
14783
|
}
|
|
14783
14784
|
}, []);
|
|
14784
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14785
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14786
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14785
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14786
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.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 }) }),
|
|
14787
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
14787
14788
|
] }) });
|
|
14788
14789
|
}
|
|
14789
14790
|
|
|
@@ -14899,7 +14900,7 @@ function QueryReportTable({
|
|
|
14899
14900
|
onThumbPointerMove,
|
|
14900
14901
|
onThumbPointerUp,
|
|
14901
14902
|
onThumbPointerCancel
|
|
14902
|
-
} =
|
|
14903
|
+
} = _chunkAXMNWMAUcjs.useHorizontalScrollbar.call(void 0, );
|
|
14903
14904
|
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: [
|
|
14904
14905
|
!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: [
|
|
14905
14906
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -15862,7 +15863,7 @@ function SearchInput({
|
|
|
15862
15863
|
const debouncedValue = _chunkV2A4MAALcjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
15863
15864
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
15864
15865
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
15865
|
-
const keyboardPadding =
|
|
15866
|
+
const keyboardPadding = _chunkAXMNWMAUcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
15866
15867
|
const containerRef = _react.useRef.call(void 0, null);
|
|
15867
15868
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
15868
15869
|
const {
|
|
@@ -15872,7 +15873,7 @@ function SearchInput({
|
|
|
15872
15873
|
textMeasureRef,
|
|
15873
15874
|
badgeRef,
|
|
15874
15875
|
inputRef
|
|
15875
|
-
} =
|
|
15876
|
+
} = _chunkAXMNWMAUcjs.useAutoLimitTags.call(void 0, {
|
|
15876
15877
|
count: filterChips.length,
|
|
15877
15878
|
limitTags,
|
|
15878
15879
|
// When chips exist, pass empty placeholder so the hook only reserves input minWidth,
|
|
@@ -16067,7 +16068,7 @@ function SearchInput({
|
|
|
16067
16068
|
/* @__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, {}) }),
|
|
16068
16069
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
16069
16070
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16070
|
-
|
|
16071
|
+
_chunk3UDBK2YGcjs.Tag,
|
|
16071
16072
|
{
|
|
16072
16073
|
variant: chipVariantToTagVariant(chip.variant),
|
|
16073
16074
|
label: chip.label,
|
|
@@ -16183,7 +16184,7 @@ function SearchInput({
|
|
|
16183
16184
|
}
|
|
16184
16185
|
),
|
|
16185
16186
|
/* @__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,
|
|
16186
|
-
|
|
16187
|
+
_chunk3UDBK2YGcjs.Tag,
|
|
16187
16188
|
{
|
|
16188
16189
|
variant: chipVariantToTagVariant(chip.variant),
|
|
16189
16190
|
label: chip.label,
|
|
@@ -16325,7 +16326,7 @@ function TagSearchInput({
|
|
|
16325
16326
|
limitTags = "auto"
|
|
16326
16327
|
}) {
|
|
16327
16328
|
const currentPlaceholder = tags.length === 0 ? placeholder : addMorePlaceholder;
|
|
16328
|
-
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } =
|
|
16329
|
+
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } = _chunkAXMNWMAUcjs.useAutoLimitTags.call(void 0, {
|
|
16329
16330
|
count: tags.length,
|
|
16330
16331
|
limitTags,
|
|
16331
16332
|
placeholder: currentPlaceholder
|
|
@@ -16396,7 +16397,7 @@ function TagSearchInput({
|
|
|
16396
16397
|
/* @__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" }) }),
|
|
16397
16398
|
/* @__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: [
|
|
16398
16399
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16399
|
-
|
|
16400
|
+
_chunk3UDBK2YGcjs.Tag,
|
|
16400
16401
|
{
|
|
16401
16402
|
variant: "outline",
|
|
16402
16403
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -16484,7 +16485,7 @@ function TagSearchInput({
|
|
|
16484
16485
|
"aria-hidden": "true",
|
|
16485
16486
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
16486
16487
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16487
|
-
|
|
16488
|
+
_chunk3UDBK2YGcjs.Tag,
|
|
16488
16489
|
{
|
|
16489
16490
|
variant: "outline",
|
|
16490
16491
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -17358,7 +17359,7 @@ var _reactcolorful = require('react-colorful');
|
|
|
17358
17359
|
var Popover2 = PopoverPrimitive6.Root;
|
|
17359
17360
|
var PopoverTrigger = PopoverPrimitive6.Trigger;
|
|
17360
17361
|
var PopoverContent = _react.forwardRef.call(void 0, ({ className, align = "center", sideOffset = 4, collisionPadding, ...props }, ref) => {
|
|
17361
|
-
const keyboardPadding =
|
|
17362
|
+
const keyboardPadding = _chunkAXMNWMAUcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
17362
17363
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive6.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17363
17364
|
PopoverPrimitive6.Content,
|
|
17364
17365
|
{
|
|
@@ -17415,20 +17416,20 @@ function ColorPresetSelect({
|
|
|
17415
17416
|
...presets.map((p) => ({
|
|
17416
17417
|
id: p.key,
|
|
17417
17418
|
label: p.label,
|
|
17418
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17419
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ColorSwatch, { color: p.color }),
|
|
17419
17420
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
17420
17421
|
})),
|
|
17421
17422
|
{
|
|
17422
17423
|
id: CUSTOM_PRESET_KEY,
|
|
17423
17424
|
label: "Custom",
|
|
17424
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17425
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
17425
17426
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
17426
17427
|
}
|
|
17427
17428
|
]
|
|
17428
17429
|
}
|
|
17429
17430
|
];
|
|
17430
17431
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17431
|
-
|
|
17432
|
+
_chunk3UDBK2YGcjs.ActionsMenuDropdown,
|
|
17432
17433
|
{
|
|
17433
17434
|
groups,
|
|
17434
17435
|
align: "start",
|
|
@@ -17438,7 +17439,7 @@ function ColorPresetSelect({
|
|
|
17438
17439
|
{
|
|
17439
17440
|
disabled,
|
|
17440
17441
|
"aria-label": `Color: ${displayLabel}`,
|
|
17441
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17442
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ColorSwatch, { color: displayColor }),
|
|
17442
17443
|
selectedLabel: displayLabel,
|
|
17443
17444
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
17444
17445
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "group", className)
|
|
@@ -17459,7 +17460,7 @@ function HexInputs({ value, onChange }) {
|
|
|
17459
17460
|
}
|
|
17460
17461
|
const commit = () => {
|
|
17461
17462
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
17462
|
-
if (
|
|
17463
|
+
if (_chunk3UDBK2YGcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
17463
17464
|
else setDraft(value);
|
|
17464
17465
|
};
|
|
17465
17466
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17523,12 +17524,12 @@ function ChannelInput({
|
|
|
17523
17524
|
);
|
|
17524
17525
|
}
|
|
17525
17526
|
function RgbInputs({ value, onChange }) {
|
|
17526
|
-
const rgb = _nullishCoalesce(
|
|
17527
|
+
const rgb = _nullishCoalesce(_chunk3UDBK2YGcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
17527
17528
|
const update = (next) => {
|
|
17528
17529
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
17529
17530
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
17530
17531
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
17531
|
-
onChange(
|
|
17532
|
+
onChange(_chunk3UDBK2YGcjs.rgbToHex.call(void 0, r, g, b));
|
|
17532
17533
|
};
|
|
17533
17534
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17534
17535
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -17537,14 +17538,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
17537
17538
|
] });
|
|
17538
17539
|
}
|
|
17539
17540
|
function HslInputs({ value, onChange }) {
|
|
17540
|
-
const rgb = _nullishCoalesce(
|
|
17541
|
-
const hsl =
|
|
17541
|
+
const rgb = _nullishCoalesce(_chunk3UDBK2YGcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
17542
|
+
const hsl = _chunk3UDBK2YGcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
17542
17543
|
const update = (next) => {
|
|
17543
17544
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
17544
17545
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
17545
17546
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
17546
|
-
const out =
|
|
17547
|
-
onChange(
|
|
17547
|
+
const out = _chunk3UDBK2YGcjs.hslToRgb.call(void 0, h, s, l);
|
|
17548
|
+
onChange(_chunk3UDBK2YGcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
17548
17549
|
};
|
|
17549
17550
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17550
17551
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -17570,7 +17571,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
17570
17571
|
{
|
|
17571
17572
|
disabled,
|
|
17572
17573
|
"aria-label": "Pick custom color",
|
|
17573
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17574
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ColorSwatch, { color: value }),
|
|
17574
17575
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
17575
17576
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
17576
17577
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "group", className)
|
|
@@ -17586,7 +17587,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
17586
17587
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
17587
17588
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17588
17589
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17589
|
-
|
|
17590
|
+
_chunk3UDBK2YGcjs.ActionsMenuDropdown,
|
|
17590
17591
|
{
|
|
17591
17592
|
groups: formatGroups,
|
|
17592
17593
|
align: "start",
|
|
@@ -17634,7 +17635,7 @@ function TicketStatusConfigRow({
|
|
|
17634
17635
|
isDragging,
|
|
17635
17636
|
moveButtons
|
|
17636
17637
|
}) {
|
|
17637
|
-
const dragAndDropEnabled =
|
|
17638
|
+
const dragAndDropEnabled = _chunkAXMNWMAUcjs.useDragAndDropEnabled.call(void 0, );
|
|
17638
17639
|
const nameInputId = _react.useId.call(void 0, );
|
|
17639
17640
|
const isSystem = variant === "system";
|
|
17640
17641
|
const isCustomColor = !isSystem && presetKey === void 0;
|
|
@@ -17643,7 +17644,7 @@ function TicketStatusConfigRow({
|
|
|
17643
17644
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
17644
17645
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
17645
17646
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17646
|
-
|
|
17647
|
+
_chunk3UDBK2YGcjs.TicketStatusTag,
|
|
17647
17648
|
{
|
|
17648
17649
|
status: statusKey,
|
|
17649
17650
|
label: name || " ",
|
|
@@ -17795,7 +17796,7 @@ function formatTestRunDuration(ms) {
|
|
|
17795
17796
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
17796
17797
|
var SKELETON_COLUMNS = 6;
|
|
17797
17798
|
function TestResultsSkeleton() {
|
|
17798
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17799
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
17799
17800
|
/* @__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}`)) }),
|
|
17800
17801
|
/* @__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}`)) }) })
|
|
17801
17802
|
] }) });
|
|
@@ -17830,13 +17831,13 @@ function TestResultsTable({ rows, loading }) {
|
|
|
17830
17831
|
if (loading) {
|
|
17831
17832
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
17832
17833
|
}
|
|
17833
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17834
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.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: [
|
|
17834
17835
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
17835
17836
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
17836
17837
|
] }) }) });
|
|
17837
17838
|
}
|
|
17838
17839
|
function TestRunErrorBanner({ error, className }) {
|
|
17839
|
-
const { copy } =
|
|
17840
|
+
const { copy } = _chunkAXMNWMAUcjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
17840
17841
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17841
17842
|
"div",
|
|
17842
17843
|
{
|
|
@@ -17892,7 +17893,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
17892
17893
|
function TestRunStatusStat({ status, className }) {
|
|
17893
17894
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
17894
17895
|
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: [
|
|
17895
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17896
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.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: "-" }),
|
|
17896
17897
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
17897
17898
|
] });
|
|
17898
17899
|
}
|
|
@@ -17936,7 +17937,7 @@ function useTestRunState(campaign) {
|
|
|
17936
17937
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
17937
17938
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
17938
17939
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
17939
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
17940
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunk3UDBK2YGcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
17940
17941
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
17941
17942
|
const displayRows = _react.useMemo.call(void 0,
|
|
17942
17943
|
() => campaign.results.map(
|
|
@@ -18274,7 +18275,7 @@ function TicketInfoSection({
|
|
|
18274
18275
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _411 => _411.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _412 => _412.icon]), onClick: _optionalChain([device, 'optionalAccess', _413 => _413.onClick]) }),
|
|
18275
18276
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
18276
18277
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18277
|
-
|
|
18278
|
+
_chunk3UDBK2YGcjs.TicketStatusTag,
|
|
18278
18279
|
{
|
|
18279
18280
|
status: _nullishCoalesce(status, () => ( "")),
|
|
18280
18281
|
label: statusLabel,
|
|
@@ -18313,9 +18314,9 @@ function TicketInfoSection({
|
|
|
18313
18314
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
18314
18315
|
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" }) }),
|
|
18315
18316
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
18316
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18317
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.SimpleMarkdownRenderer, { content: description }),
|
|
18317
18318
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
18318
|
-
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,
|
|
18319
|
+
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, _chunk3UDBK2YGcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
18319
18320
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18320
18321
|
TicketNotesSection,
|
|
18321
18322
|
{
|
|
@@ -18338,7 +18339,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
18338
18339
|
const { label, color } = option;
|
|
18339
18340
|
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: [
|
|
18340
18341
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
18341
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18342
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ColorSwatch, { color }),
|
|
18342
18343
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
18343
18344
|
] }),
|
|
18344
18345
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOIDKQ77Rcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -18383,9 +18384,9 @@ function TakeOverTicketModal({
|
|
|
18383
18384
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
18384
18385
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
18385
18386
|
};
|
|
18386
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18387
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
18387
18388
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
18388
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18389
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
18389
18390
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
18390
18391
|
"The ticket ",
|
|
18391
18392
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -18400,7 +18401,7 @@ function TakeOverTicketModal({
|
|
|
18400
18401
|
value: selectedStatusId,
|
|
18401
18402
|
onChange: setStatusId,
|
|
18402
18403
|
placeholder: "Select Status",
|
|
18403
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18404
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
18404
18405
|
renderOption: renderTicketStatusOption
|
|
18405
18406
|
}
|
|
18406
18407
|
) }),
|
|
@@ -18427,7 +18428,7 @@ function TakeOverTicketModal({
|
|
|
18427
18428
|
}
|
|
18428
18429
|
) })
|
|
18429
18430
|
] }),
|
|
18430
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18431
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.ModalFooter, { children: [
|
|
18431
18432
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
18432
18433
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
18433
18434
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18486,9 +18487,9 @@ function ReopenTicketModal({
|
|
|
18486
18487
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
18487
18488
|
});
|
|
18488
18489
|
};
|
|
18489
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18490
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
18490
18491
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
18491
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18492
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
18492
18493
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
18493
18494
|
"The ticket ",
|
|
18494
18495
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -18503,7 +18504,7 @@ function ReopenTicketModal({
|
|
|
18503
18504
|
value: selectedStatusId,
|
|
18504
18505
|
onChange: setStatusId,
|
|
18505
18506
|
placeholder: "Select Status",
|
|
18506
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18507
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
18507
18508
|
renderOption: renderTicketStatusOption
|
|
18508
18509
|
}
|
|
18509
18510
|
) }),
|
|
@@ -18541,7 +18542,7 @@ function ReopenTicketModal({
|
|
|
18541
18542
|
disabled: isPending
|
|
18542
18543
|
}
|
|
18543
18544
|
) }),
|
|
18544
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18545
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.ModalFooter, { children: [
|
|
18545
18546
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
18546
18547
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
18547
18548
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18589,9 +18590,9 @@ function ReopenTicketRequestModal({
|
|
|
18589
18590
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
18590
18591
|
});
|
|
18591
18592
|
};
|
|
18592
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18593
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
18593
18594
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
18594
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18595
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
18595
18596
|
/* @__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." }),
|
|
18596
18597
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18597
18598
|
Textarea,
|
|
@@ -18615,7 +18616,7 @@ function ReopenTicketRequestModal({
|
|
|
18615
18616
|
disabled: isPending
|
|
18616
18617
|
}
|
|
18617
18618
|
),
|
|
18618
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18619
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.ModalFooter, { children: [
|
|
18619
18620
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
18620
18621
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
18621
18622
|
] })
|
|
@@ -18876,10 +18877,10 @@ function AccountDetailsFields({
|
|
|
18876
18877
|
onKeyDown,
|
|
18877
18878
|
layout = "stacked"
|
|
18878
18879
|
}) {
|
|
18879
|
-
const firstNameErr =
|
|
18880
|
-
const lastNameErr =
|
|
18881
|
-
const passwordErr =
|
|
18882
|
-
const confirmErr =
|
|
18880
|
+
const firstNameErr = _chunkAXMNWMAUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _418 => _418.firstName]), firstName);
|
|
18881
|
+
const lastNameErr = _chunkAXMNWMAUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _419 => _419.lastName]), lastName);
|
|
18882
|
+
const passwordErr = _chunkAXMNWMAUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _420 => _420.password]), password);
|
|
18883
|
+
const confirmErr = _chunkAXMNWMAUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _421 => _421.confirmPassword]), confirmPassword);
|
|
18883
18884
|
const names = [
|
|
18884
18885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18885
18886
|
_chunkQVSVRG7Icjs.Input,
|
|
@@ -19319,9 +19320,9 @@ function CreateOrganizationForm({
|
|
|
19319
19320
|
}) {
|
|
19320
19321
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
19321
19322
|
const fieldsDisabled = disabled || loading;
|
|
19322
|
-
const emailErr =
|
|
19323
|
-
const orgNameErr =
|
|
19324
|
-
const domainErr =
|
|
19323
|
+
const emailErr = _chunkAXMNWMAUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _423 => _423.email]), _nullishCoalesce(email, () => ( "")));
|
|
19324
|
+
const orgNameErr = _chunkAXMNWMAUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _424 => _424.organizationName]), organizationName);
|
|
19325
|
+
const domainErr = _chunkAXMNWMAUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _425 => _425.domain]), domain);
|
|
19325
19326
|
const handleKeyDown = (event) => {
|
|
19326
19327
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19327
19328
|
onSubmit();
|
|
@@ -19537,7 +19538,7 @@ function LoginForm({
|
|
|
19537
19538
|
className
|
|
19538
19539
|
}) {
|
|
19539
19540
|
const fieldDisabled = disabled || loading;
|
|
19540
|
-
const emailErr =
|
|
19541
|
+
const emailErr = _chunkAXMNWMAUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _432 => _432.email]), email);
|
|
19541
19542
|
const handleKeyDown = (event) => {
|
|
19542
19543
|
if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
|
|
19543
19544
|
_optionalChain([onSubmitClick, 'optionalCall', _433 => _433()]);
|
|
@@ -19679,8 +19680,8 @@ function OpenFrameSsoLoginForm({
|
|
|
19679
19680
|
className
|
|
19680
19681
|
}) {
|
|
19681
19682
|
const fieldsDisabled = disabled || loading;
|
|
19682
|
-
const emailErr =
|
|
19683
|
-
const passwordErr =
|
|
19683
|
+
const emailErr = _chunkAXMNWMAUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _436 => _436.email]), email);
|
|
19684
|
+
const passwordErr = _chunkAXMNWMAUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _437 => _437.password]), password);
|
|
19684
19685
|
const handleKeyDown = (event) => {
|
|
19685
19686
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19686
19687
|
onSubmit();
|
|
@@ -19785,7 +19786,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
19785
19786
|
className
|
|
19786
19787
|
}) {
|
|
19787
19788
|
const fieldsDisabled = disabled || loading;
|
|
19788
|
-
const emailErr =
|
|
19789
|
+
const emailErr = _chunkAXMNWMAUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _438 => _438.email]), email);
|
|
19789
19790
|
const handleKeyDown = (event) => {
|
|
19790
19791
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19791
19792
|
onSubmit();
|
|
@@ -19890,8 +19891,8 @@ function PasswordResetForm({
|
|
|
19890
19891
|
className
|
|
19891
19892
|
}) {
|
|
19892
19893
|
const fieldsDisabled = disabled || loading;
|
|
19893
|
-
const passwordErr =
|
|
19894
|
-
const confirmErr =
|
|
19894
|
+
const passwordErr = _chunkAXMNWMAUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _439 => _439.password]), password);
|
|
19895
|
+
const confirmErr = _chunkAXMNWMAUcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _440 => _440.confirmPassword]), confirmPassword);
|
|
19895
19896
|
const handleKeyDown = (event) => {
|
|
19896
19897
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
19897
19898
|
onSubmit();
|
|
@@ -20042,7 +20043,7 @@ function SsoJoinForm({
|
|
|
20042
20043
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
20043
20044
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
20044
20045
|
] }),
|
|
20045
|
-
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,
|
|
20046
|
+
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, _chunk3UDBK2YGcjs.Tag, { variant: "grey", label: role }, role)) })
|
|
20046
20047
|
] }),
|
|
20047
20048
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20048
20049
|
CheckboxBlock,
|
|
@@ -20979,7 +20980,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20979
20980
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
20980
20981
|
title: config.title,
|
|
20981
20982
|
loading: "eager",
|
|
20982
|
-
...
|
|
20983
|
+
..._chunk3UDBK2YGcjs.fetchPriorityProp.call(void 0, "high")
|
|
20983
20984
|
},
|
|
20984
20985
|
iframeKey
|
|
20985
20986
|
),
|
|
@@ -21831,7 +21832,7 @@ function MediaGalleryManager({
|
|
|
21831
21832
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: _chunkQRUW4UXBcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? (
|
|
21832
21833
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
21833
21834
|
// fit="cover" crops to the aspect-video cell.
|
|
21834
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21835
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
21835
21836
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21836
21837
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
21837
21838
|
{
|
|
@@ -22280,7 +22281,7 @@ function PlatformFilterComponent({
|
|
|
22280
22281
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
22281
22282
|
size,
|
|
22282
22283
|
onClick: () => onPlatformChange(platform.value),
|
|
22283
|
-
leftIcon: showIcons ?
|
|
22284
|
+
leftIcon: showIcons ? _chunkAXMNWMAUcjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
22284
22285
|
className: "text-h3",
|
|
22285
22286
|
children: platform.label
|
|
22286
22287
|
},
|
|
@@ -22330,60 +22331,60 @@ function CardSkeleton({
|
|
|
22330
22331
|
function VendorCardContent({ showMetadata }) {
|
|
22331
22332
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 p-4", children: [
|
|
22332
22333
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
22333
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[60px] w-[60px] flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22334
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[60px] w-[60px] flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Avatar, { size: "sm", className: "h-11 w-11" }) }),
|
|
22334
22335
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
22335
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22336
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22336
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
22337
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
22337
22338
|
] })
|
|
22338
22339
|
] }),
|
|
22339
22340
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-full items-center overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
22340
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22341
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22341
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22342
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
22342
22343
|
] }) }),
|
|
22343
22344
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
22344
22345
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 md:gap-4", children: [
|
|
22345
22346
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
22346
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22347
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22347
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
22348
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
22348
22349
|
] }),
|
|
22349
22350
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
22350
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22351
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22351
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
22352
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
22352
22353
|
] })
|
|
22353
22354
|
] }),
|
|
22354
22355
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 rounded border border-ods-border bg-ods-bg px-2.5 py-1.5", children: [
|
|
22355
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22356
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22356
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
22357
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
22357
22358
|
] }) })
|
|
22358
22359
|
] })
|
|
22359
22360
|
] });
|
|
22360
22361
|
}
|
|
22361
22362
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
22362
22363
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22363
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "blog-card-image-container relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22364
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "blog-card-image-container relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.CardImage, {}) }),
|
|
22364
22365
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col p-4", children: [
|
|
22365
22366
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[50.4px] items-center md:min-h-[56px] lg:min-h-[61.6px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
22366
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22367
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22367
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "w-full" }),
|
|
22368
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "w-3/4" })
|
|
22368
22369
|
] }) }),
|
|
22369
22370
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-3 flex h-[28px] items-center gap-2", children: [
|
|
22370
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22371
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22371
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
22372
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Chip, { className: "w-12" })
|
|
22372
22373
|
] }),
|
|
22373
22374
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[42px] items-center md:min-h-[45px] lg:min-h-[48px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
22374
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22375
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22375
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22376
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
22376
22377
|
] }) }),
|
|
22377
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22378
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Button, { className: "h-8 w-24" }) }),
|
|
22378
22379
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-auto", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 border-t border-ods-border pt-4", children: [
|
|
22379
22380
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
22380
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22381
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22381
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
22382
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
22382
22383
|
] }),
|
|
22383
22384
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3 text-ods-text-muted", children: [
|
|
22384
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22385
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
22385
22386
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-1 w-1 rounded-full bg-ods-skeleton" }),
|
|
22386
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22387
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
22387
22388
|
] })
|
|
22388
22389
|
] }) })
|
|
22389
22390
|
] })
|
|
@@ -22391,35 +22392,35 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
22391
22392
|
}
|
|
22392
22393
|
function CategoryCardContent() {
|
|
22393
22394
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 p-4 md:p-6", children: [
|
|
22394
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22395
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Icon, { size: "lg", className: "flex-shrink-0" }, index)) }),
|
|
22395
22396
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22396
22397
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
22397
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22398
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22398
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
22399
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
22399
22400
|
] }),
|
|
22400
22401
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between gap-4 md:items-end md:gap-6", children: [
|
|
22401
22402
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
22402
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22403
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22403
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22404
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
22404
22405
|
] }),
|
|
22405
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22406
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Button, { className: "h-10 w-10 flex-shrink-0 md:h-12 md:w-12" })
|
|
22406
22407
|
] })
|
|
22407
22408
|
] })
|
|
22408
22409
|
] });
|
|
22409
22410
|
}
|
|
22410
22411
|
function AlternativeCardContent({ showActions }) {
|
|
22411
22412
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4 p-4", children: [
|
|
22412
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22413
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
22413
22414
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
22414
22415
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
22415
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22416
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22416
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
22417
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
22417
22418
|
] }),
|
|
22418
22419
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
22419
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22420
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22420
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22421
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-5/6" })
|
|
22421
22422
|
] }),
|
|
22422
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22423
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Button, { className: "h-8 w-20" }) })
|
|
22423
22424
|
] })
|
|
22424
22425
|
] });
|
|
22425
22426
|
}
|
|
@@ -22470,12 +22471,12 @@ function HeroSkeleton() {
|
|
|
22470
22471
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
22471
22472
|
},
|
|
22472
22473
|
children: [
|
|
22473
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22474
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl md:mb-6 md:h-20 lg:h-24" }),
|
|
22474
22475
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-8 w-full max-w-4xl space-y-3 px-2 md:mb-10", children: [
|
|
22475
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22476
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22476
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "h-5 md:h-7" }),
|
|
22477
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 md:h-7" })
|
|
22477
22478
|
] }),
|
|
22478
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22479
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Button, { className: "h-12 w-full md:w-64" })
|
|
22479
22480
|
]
|
|
22480
22481
|
}
|
|
22481
22482
|
);
|
|
@@ -22486,14 +22487,14 @@ function SearchContainerSkeleton({
|
|
|
22486
22487
|
}) {
|
|
22487
22488
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-4", className || ""), children: [
|
|
22488
22489
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 md:gap-4", children: [
|
|
22489
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22490
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22490
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
22491
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Button, { className: "w-32 md:w-40" })
|
|
22491
22492
|
] }),
|
|
22492
22493
|
showFilters && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-2", children: [
|
|
22493
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22494
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22495
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22496
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22494
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Chip, {}),
|
|
22495
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Chip, { className: "w-24" }),
|
|
22496
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
22497
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Chip, { className: "w-20" })
|
|
22497
22498
|
] })
|
|
22498
22499
|
] });
|
|
22499
22500
|
}
|
|
@@ -22512,7 +22513,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
22512
22513
|
{ type: "file", width: "w-36" }
|
|
22513
22514
|
];
|
|
22514
22515
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "w-full lg:w-[320px]", className), children: [
|
|
22515
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22516
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
22516
22517
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22517
22518
|
"div",
|
|
22518
22519
|
{
|
|
@@ -22522,12 +22523,12 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
22522
22523
|
),
|
|
22523
22524
|
children: [
|
|
22524
22525
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2.5", children: [
|
|
22525
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22526
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22526
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-4 w-4 shrink-0 rounded" }),
|
|
22527
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
22527
22528
|
] }),
|
|
22528
22529
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[18px] items-center gap-2", children: [
|
|
22529
|
-
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22530
|
-
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22530
|
+
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
22531
|
+
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-4 w-4 rounded" })
|
|
22531
22532
|
] })
|
|
22532
22533
|
]
|
|
22533
22534
|
},
|
|
@@ -22537,17 +22538,17 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
22537
22538
|
}
|
|
22538
22539
|
function BreadcrumbSkeleton({ className }) {
|
|
22539
22540
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "mb-6 flex items-center space-x-1", className), children: [
|
|
22540
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22541
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22542
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22543
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22544
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22545
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22546
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22541
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
22542
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
22543
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-24" }),
|
|
22544
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
22545
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-32" }),
|
|
22546
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
22547
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
22547
22548
|
] });
|
|
22548
22549
|
}
|
|
22549
22550
|
function ResultsHeaderSkeleton({ className }) {
|
|
22550
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "mb-6 flex flex-col items-start justify-between gap-4 md:flex-row md:items-center", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22551
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "mb-6 flex flex-col items-start justify-between gap-4 md:flex-row md:items-center", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-48" }) }) });
|
|
22551
22552
|
}
|
|
22552
22553
|
function TwoColumnLayoutSkeleton({
|
|
22553
22554
|
className,
|
|
@@ -22579,35 +22580,35 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
22579
22580
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "mx-auto max-w-4xl", className), children: [
|
|
22580
22581
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "mb-8 space-y-4 md:mb-12 md:space-y-6", children: [
|
|
22581
22582
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
22582
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22583
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22583
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Chip, {}),
|
|
22584
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Chip, { className: "w-16" })
|
|
22584
22585
|
] }),
|
|
22585
22586
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
22586
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22587
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22587
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Heading, { className: "w-full" }),
|
|
22588
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Heading, { className: "w-3/4" })
|
|
22588
22589
|
] }),
|
|
22589
22590
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 border-t border-ods-divider pt-4", children: [
|
|
22590
22591
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
22591
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22592
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22592
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
22593
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
22593
22594
|
] }),
|
|
22594
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22595
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22595
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-20" }),
|
|
22596
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
22596
22597
|
] })
|
|
22597
22598
|
] }),
|
|
22598
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22599
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.CardImage, { className: "h-64 w-full md:h-96" }) }),
|
|
22599
22600
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
22600
22601
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22601
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22602
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22603
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22604
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22602
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22603
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22604
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-5/6" }),
|
|
22605
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
22605
22606
|
] }, index)),
|
|
22606
22607
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "py-4", children: [
|
|
22607
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22608
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "mb-4 w-2/3" }),
|
|
22608
22609
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22609
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22610
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22610
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22611
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-4/5" })
|
|
22611
22612
|
] })
|
|
22612
22613
|
] })
|
|
22613
22614
|
] })
|
|
@@ -22833,11 +22834,11 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
22833
22834
|
className
|
|
22834
22835
|
),
|
|
22835
22836
|
children: Array.from({ length: columns }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
22836
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22837
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22837
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Icon, { size: "lg" }),
|
|
22838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
22838
22839
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22839
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22840
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22840
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
22841
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
22841
22842
|
] })
|
|
22842
22843
|
] }) }, i))
|
|
22843
22844
|
}
|
|
@@ -22978,7 +22979,7 @@ function useContentLoading(isLoading) {
|
|
|
22978
22979
|
|
|
22979
22980
|
function ParagraphSkeleton({ className, lines = 4 }) {
|
|
22980
22981
|
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
22981
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22982
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: lineWidths[index % lineWidths.length] }, index)) });
|
|
22982
22983
|
}
|
|
22983
22984
|
function ListSkeleton({
|
|
22984
22985
|
className,
|
|
@@ -22988,12 +22989,12 @@ function ListSkeleton({
|
|
|
22988
22989
|
}) {
|
|
22989
22990
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-3", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
22990
22991
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
22991
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22992
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22992
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
22993
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-32 md:w-48" })
|
|
22993
22994
|
] }),
|
|
22994
22995
|
showActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
22995
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22996
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22996
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-8" }),
|
|
22997
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4" })
|
|
22997
22998
|
] })
|
|
22998
22999
|
] }, index)) });
|
|
22999
23000
|
}
|
|
@@ -23003,13 +23004,13 @@ function TableSkeleton({
|
|
|
23003
23004
|
columns = 4
|
|
23004
23005
|
}) {
|
|
23005
23006
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-4", className), children: [
|
|
23006
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23007
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid gap-4", style: { gridTemplateColumns: `repeat(${columns}, 1fr)` }, children: Array.from({ length: columns }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "w-3/4" }, index)) }),
|
|
23007
23008
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23008
23009
|
"div",
|
|
23009
23010
|
{
|
|
23010
23011
|
className: "grid gap-4 border-b border-ods-divider py-2",
|
|
23011
23012
|
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
23012
|
-
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23013
|
+
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-2/3" }, colIndex))
|
|
23013
23014
|
},
|
|
23014
23015
|
rowIndex
|
|
23015
23016
|
)) })
|
|
@@ -23018,13 +23019,13 @@ function TableSkeleton({
|
|
|
23018
23019
|
function FormSkeleton({ className, fields = 4 }) {
|
|
23019
23020
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-6", className), children: [
|
|
23020
23021
|
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23021
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23022
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23023
|
-
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23022
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
23023
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Input, {}),
|
|
23024
|
+
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-48" })
|
|
23024
23025
|
] }, index)),
|
|
23025
23026
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 pt-4", children: [
|
|
23026
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23027
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23027
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Button, {}),
|
|
23028
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Button, { className: "bg-ods-border" })
|
|
23028
23029
|
] })
|
|
23029
23030
|
] });
|
|
23030
23031
|
}
|
|
@@ -23039,7 +23040,7 @@ function NavigationSkeleton({
|
|
|
23039
23040
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex gap-4 md:gap-6", !horizontal && "flex-col", className),
|
|
23040
23041
|
role: "status",
|
|
23041
23042
|
"aria-label": "Loading navigation",
|
|
23042
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23043
|
+
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-16 md:w-20" }, index))
|
|
23043
23044
|
}
|
|
23044
23045
|
);
|
|
23045
23046
|
}
|
|
@@ -23050,30 +23051,30 @@ function ProfileSkeleton({
|
|
|
23050
23051
|
}) {
|
|
23051
23052
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-4", className), children: [
|
|
23052
23053
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
23053
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23054
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Avatar, { size: "lg" }),
|
|
23054
23055
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
23055
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23056
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23057
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23056
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
23057
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-1/3" }),
|
|
23058
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23058
23059
|
] })
|
|
23059
23060
|
] }),
|
|
23060
23061
|
showBio && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23061
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23062
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23063
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23062
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23063
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-4/5" }),
|
|
23064
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
23064
23065
|
] }),
|
|
23065
23066
|
showStats && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-6", children: [
|
|
23066
23067
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
23067
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23068
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23068
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
23069
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "mx-auto w-12" })
|
|
23069
23070
|
] }),
|
|
23070
23071
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
23071
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23072
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23072
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
23073
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "mx-auto w-16" })
|
|
23073
23074
|
] }),
|
|
23074
23075
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
23075
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23076
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23076
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
23077
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "mx-auto w-14" })
|
|
23077
23078
|
] })
|
|
23078
23079
|
] })
|
|
23079
23080
|
] });
|
|
@@ -23085,32 +23086,32 @@ function CommentSkeleton({
|
|
|
23085
23086
|
}) {
|
|
23086
23087
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-3", className), children: [
|
|
23087
23088
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
23088
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23089
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
23089
23090
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center gap-4", children: [
|
|
23090
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23091
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23092
|
-
showRating && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-1", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23091
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
23092
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
23093
|
+
showRating && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-1", children: Array.from({ length: 5 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Icon, { size: "sm" }, i)) })
|
|
23093
23094
|
] })
|
|
23094
23095
|
] }),
|
|
23095
23096
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 space-y-2", children: [
|
|
23096
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23097
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23098
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23097
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23098
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-3/4" }),
|
|
23099
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
23099
23100
|
] }),
|
|
23100
23101
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 flex gap-4", children: [
|
|
23101
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23102
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23103
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23102
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
23103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
23104
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
23104
23105
|
] }),
|
|
23105
23106
|
showReplies && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ml-11 space-y-4 border-l border-ods-divider pl-4", children: Array.from({ length: 2 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23106
23107
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
23107
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23108
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23109
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23108
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
23109
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-20" }),
|
|
23110
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-12" })
|
|
23110
23111
|
] }),
|
|
23111
23112
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11", children: [
|
|
23112
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23113
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23113
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23114
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23114
23115
|
] })
|
|
23115
23116
|
] }, index)) })
|
|
23116
23117
|
] });
|
|
@@ -23123,31 +23124,31 @@ function FeatureListSkeleton({
|
|
|
23123
23124
|
}) {
|
|
23124
23125
|
if (grouped) {
|
|
23125
23126
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-6", className), children: Array.from({ length: 3 }).map((_, groupIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
23126
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23127
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
23127
23128
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-2", children: Array.from({ length: features / 3 }).map((_feature, featureIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
23128
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23129
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
23130
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23130
23131
|
] }, featureIndex)) })
|
|
23131
23132
|
] }, groupIndex)) });
|
|
23132
23133
|
}
|
|
23133
23134
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-3", className), children: Array.from({ length: features }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
23134
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23135
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23135
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
23136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23136
23137
|
] }, index)) });
|
|
23137
23138
|
}
|
|
23138
23139
|
function TimelineSkeleton({ className, items = 5 }) {
|
|
23139
23140
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-6", className), children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4", children: [
|
|
23140
23141
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center", children: [
|
|
23141
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23142
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
23142
23143
|
index < items - 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2 h-12 w-px bg-ods-border" })
|
|
23143
23144
|
] }),
|
|
23144
23145
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
23145
23146
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
23146
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23147
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23147
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-1/3" }),
|
|
23148
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23148
23149
|
] }),
|
|
23149
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23150
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23150
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23151
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
23151
23152
|
] })
|
|
23152
23153
|
] }, index)) });
|
|
23153
23154
|
}
|
|
@@ -23163,16 +23164,16 @@ function PricingSkeleton({ className, plans = 3 }) {
|
|
|
23163
23164
|
className
|
|
23164
23165
|
),
|
|
23165
23166
|
children: Array.from({ length: plans }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-card p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
23166
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23167
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
23167
23168
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
23168
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23169
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23169
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Heading, { className: "w-1/3" }),
|
|
23170
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-1/4" })
|
|
23170
23171
|
] }),
|
|
23171
23172
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3 py-4", children: Array.from({ length: 5 }).map((_feature, featureIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
23172
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23173
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23173
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
23174
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
23174
23175
|
] }, featureIndex)) }),
|
|
23175
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23176
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Button, { className: "w-full" })
|
|
23176
23177
|
] }) }, index))
|
|
23177
23178
|
}
|
|
23178
23179
|
);
|
|
@@ -23208,12 +23209,12 @@ function MspProfileFormSkeleton({ className, fields = 4 }) {
|
|
|
23208
23209
|
"aria-label": "Loading MSP profile form",
|
|
23209
23210
|
children: [
|
|
23210
23211
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col space-y-2", children: [
|
|
23211
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-28" }),
|
|
23213
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-full w-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
23213
23214
|
] }),
|
|
23214
23215
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2", children: Array.from({ length: fields }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col space-y-2", children: [
|
|
23215
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23216
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23216
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-40" }),
|
|
23217
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.InteractiveSkeleton.Input, {})
|
|
23217
23218
|
] }, idx)) })
|
|
23218
23219
|
]
|
|
23219
23220
|
}
|
|
@@ -23233,13 +23234,13 @@ function CategoryCardSkeleton({ className }) {
|
|
|
23233
23234
|
role: "status",
|
|
23234
23235
|
"aria-label": "Loading category card",
|
|
23235
23236
|
children: [
|
|
23236
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 flex items-center justify-center gap-6", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23237
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 flex items-center justify-center gap-6", children: Array.from({ length: 10 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { variant: "circular", className: "h-10 w-10 flex-shrink-0", "aria-label": "Loading icon" }, i)) }),
|
|
23237
23238
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col space-y-3", children: [
|
|
23238
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23239
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23240
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23239
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Heading, { className: "w-3/4" }),
|
|
23240
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-1/2" }),
|
|
23241
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-full" })
|
|
23241
23242
|
] }),
|
|
23242
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23243
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-[6px]", "aria-label": "Loading button" }) })
|
|
23243
23244
|
]
|
|
23244
23245
|
}
|
|
23245
23246
|
);
|
|
@@ -23256,12 +23257,12 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
23256
23257
|
"aria-label": "Loading category section",
|
|
23257
23258
|
children: [
|
|
23258
23259
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 max-w-xl space-y-2", children: [
|
|
23259
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23260
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23260
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Heading, { className: "w-1/2" }),
|
|
23261
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
23261
23262
|
] }),
|
|
23262
23263
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-6", children: Array.from({ length: subcategories }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23263
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23264
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
23265
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
23265
23266
|
] }, idx)) })
|
|
23266
23267
|
]
|
|
23267
23268
|
}
|
|
@@ -23272,14 +23273,14 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
23272
23273
|
|
|
23273
23274
|
function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
23274
23275
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "space-y-6", className), role: "status", "aria-label": "Loading wizard layout", children: [
|
|
23275
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: Array.from({ length: steps }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23276
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: Array.from({ length: steps }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-6 w-24 rounded" }, i)) }),
|
|
23276
23277
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-w-2xl space-y-2", children: [
|
|
23277
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23278
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23278
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Heading, { className: "w-2/3" }),
|
|
23279
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
23279
23280
|
] }),
|
|
23280
23281
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-10 flex justify-between", children: [
|
|
23281
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23282
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23282
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
|
|
23283
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-10 w-32 rounded" })
|
|
23283
23284
|
] })
|
|
23284
23285
|
] });
|
|
23285
23286
|
}
|
|
@@ -23671,28 +23672,28 @@ function OrganizationCardSkeleton({
|
|
|
23671
23672
|
}
|
|
23672
23673
|
),
|
|
23673
23674
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
23674
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23675
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23675
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
23676
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
23676
23677
|
] })
|
|
23677
23678
|
] }),
|
|
23678
23679
|
showDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-full items-center overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
23679
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23680
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23680
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23681
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23681
23682
|
] }) }),
|
|
23682
23683
|
showFooter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
23683
23684
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 md:gap-4", children: [
|
|
23684
23685
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
23685
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23686
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23686
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
23687
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
23687
23688
|
] }),
|
|
23688
23689
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
23689
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23690
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23690
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
23691
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
23691
23692
|
] })
|
|
23692
23693
|
] }),
|
|
23693
23694
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5 rounded border border-ods-border bg-ods-bg px-2.5 py-1.5", children: [
|
|
23694
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23695
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23695
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-sm bg-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
23696
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23696
23697
|
] }) })
|
|
23697
23698
|
] })
|
|
23698
23699
|
] })
|
|
@@ -23769,16 +23770,16 @@ function DeviceCardSkeletonGrid({ count = 12, className }) {
|
|
|
23769
23770
|
|
|
23770
23771
|
function PushButtonSelectorSkeleton({ count = 3, hasTitle }) {
|
|
23771
23772
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", role: "status", "aria-label": "Loading options", children: [
|
|
23772
|
-
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23773
|
+
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-5 w-20", "aria-label": "Loading title" }),
|
|
23773
23774
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: count }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-lg border border-ods-border bg-ods-bg p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4", children: [
|
|
23774
23775
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
23775
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23776
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-8 w-8", "aria-label": "Loading icon" }),
|
|
23776
23777
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
23777
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23778
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23778
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { variant: "text", className: "mb-2 h-4 w-24", "aria-label": "Loading name" }),
|
|
23779
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { variant: "text", className: "h-4 w-36", "aria-label": "Loading description" })
|
|
23779
23780
|
] })
|
|
23780
23781
|
] }),
|
|
23781
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23782
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-6 w-6", "aria-label": "Loading selection state" })
|
|
23782
23783
|
] }) }, i)) })
|
|
23783
23784
|
] });
|
|
23784
23785
|
}
|
|
@@ -23900,9 +23901,9 @@ function PushButtonSelector({
|
|
|
23900
23901
|
option.id
|
|
23901
23902
|
);
|
|
23902
23903
|
if (option.disabled && option.disabledReason) {
|
|
23903
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23905
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23904
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.Tooltip, { children: [
|
|
23905
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
23906
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
23906
23907
|
] }, option.id);
|
|
23907
23908
|
}
|
|
23908
23909
|
return optionEl;
|
|
@@ -23947,7 +23948,7 @@ function PushButtonSelector({
|
|
|
23947
23948
|
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
|
|
23948
23949
|
] }) : null
|
|
23949
23950
|
] });
|
|
23950
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23951
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
23951
23952
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
23952
23953
|
searchInput,
|
|
23953
23954
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24120,7 +24121,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
24120
24121
|
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children: _chunkQRUW4UXBcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo" ? (
|
|
24121
24122
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
24122
24123
|
// fit="cover" crops to the aspect-video cell.
|
|
24123
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24124
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
24124
24125
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24125
24126
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
24126
24127
|
{
|
|
@@ -24253,7 +24254,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
24253
24254
|
}
|
|
24254
24255
|
)
|
|
24255
24256
|
] }),
|
|
24256
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24257
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
24257
24258
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOIDKQ77Rcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
24258
24259
|
]
|
|
24259
24260
|
}
|
|
@@ -25115,7 +25116,7 @@ function VideoBitesDisplay({
|
|
|
25115
25116
|
filterPublished = true,
|
|
25116
25117
|
showTitle = true
|
|
25117
25118
|
}) {
|
|
25118
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25119
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
25119
25120
|
}
|
|
25120
25121
|
|
|
25121
25122
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -25184,7 +25185,7 @@ function WalkthroughVideo({
|
|
|
25184
25185
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
25185
25186
|
};
|
|
25186
25187
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
25187
|
-
const hydrated =
|
|
25188
|
+
const hydrated = _chunk3UDBK2YGcjs.useIsHydrated.call(void 0, );
|
|
25188
25189
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
25189
25190
|
if (!hydrated) return false;
|
|
25190
25191
|
try {
|
|
@@ -25581,7 +25582,7 @@ function WalkthroughVideo({
|
|
|
25581
25582
|
},
|
|
25582
25583
|
children: [
|
|
25583
25584
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25584
|
-
|
|
25585
|
+
_chunk3UDBK2YGcjs.VideoHoverPreviewSurface,
|
|
25585
25586
|
{
|
|
25586
25587
|
url: video.mainVideoUrl || "",
|
|
25587
25588
|
posterUrl: video.posterUrl,
|
|
@@ -25604,7 +25605,7 @@ function WalkthroughVideo({
|
|
|
25604
25605
|
`card-${embedUrlKey}`
|
|
25605
25606
|
) }),
|
|
25606
25607
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25607
|
-
|
|
25608
|
+
_chunk3UDBK2YGcjs.CardHitLayer,
|
|
25608
25609
|
{
|
|
25609
25610
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
25610
25611
|
onPointerDown: pausePreviewNow,
|
|
@@ -25613,7 +25614,7 @@ function WalkthroughVideo({
|
|
|
25613
25614
|
}
|
|
25614
25615
|
),
|
|
25615
25616
|
/* @__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: [
|
|
25616
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQRUW4UXBcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25617
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQRUW4UXBcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
25617
25618
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
25618
25619
|
] }),
|
|
25619
25620
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -25626,7 +25627,7 @@ function WalkthroughVideo({
|
|
|
25626
25627
|
onPointerDown: (e) => e.stopPropagation(),
|
|
25627
25628
|
onClick: onUnmuteOrPlay,
|
|
25628
25629
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
25629
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25630
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.VideoUnmuteGlyph, {})
|
|
25630
25631
|
}
|
|
25631
25632
|
),
|
|
25632
25633
|
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: [
|
|
@@ -25719,7 +25720,7 @@ function WalkthroughVideo({
|
|
|
25719
25720
|
children: [
|
|
25720
25721
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
25721
25722
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25722
|
-
|
|
25723
|
+
_chunk3UDBK2YGcjs.Video,
|
|
25723
25724
|
{
|
|
25724
25725
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
25725
25726
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -25770,7 +25771,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
25770
25771
|
var _reactquery = require('@tanstack/react-query');
|
|
25771
25772
|
function useWalkthroughVideo(opts) {
|
|
25772
25773
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
25773
|
-
const captions =
|
|
25774
|
+
const captions = _chunk3UDBK2YGcjs.useCaptions.call(void 0, );
|
|
25774
25775
|
const query = _reactquery.useQuery.call(void 0, {
|
|
25775
25776
|
queryKey: ["walkthrough-video", endpoint],
|
|
25776
25777
|
enabled,
|
|
@@ -25968,7 +25969,7 @@ function VideoSourceSelector({
|
|
|
25968
25969
|
}
|
|
25969
25970
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
25970
25971
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
25971
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25972
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
25972
25973
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25973
25974
|
"button",
|
|
25974
25975
|
{
|
|
@@ -26492,7 +26493,7 @@ function HighlightVideoSection({
|
|
|
26492
26493
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
26493
26494
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
26494
26495
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
26495
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26496
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
26496
26497
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26497
26498
|
"button",
|
|
26498
26499
|
{
|
|
@@ -27232,7 +27233,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
27232
27233
|
] });
|
|
27233
27234
|
};
|
|
27234
27235
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
27235
|
-
const { innerRef, containerStyle } =
|
|
27236
|
+
const { innerRef, containerStyle } = _chunk3UDBK2YGcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
27236
27237
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
27237
27238
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27238
27239
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -27397,12 +27398,24 @@ function WaitlistForm({
|
|
|
27397
27398
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
27398
27399
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
27399
27400
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
27400
|
-
const { toast } =
|
|
27401
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
27401
|
+
const { toast } = _chunkAXMNWMAUcjs.useToast.call(void 0, );
|
|
27402
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkAXMNWMAUcjs.useHumanitySignals.call(void 0, );
|
|
27402
27403
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
27403
|
-
const isClient =
|
|
27404
|
+
const isClient = _chunk3UDBK2YGcjs.useIsHydrated.call(void 0, );
|
|
27404
27405
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
27405
27406
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
27407
|
+
const rescue = _chunkAXMNWMAUcjs.useFormRescue.call(void 0, {
|
|
27408
|
+
formId: "waitlist",
|
|
27409
|
+
// The phone is reported as filled only; its value never leaves the form early.
|
|
27410
|
+
fieldNames: ["email", "phone"],
|
|
27411
|
+
getSignals,
|
|
27412
|
+
onRestore: (values) => {
|
|
27413
|
+
if (values.email) setEmail((current) => current || values.email);
|
|
27414
|
+
}
|
|
27415
|
+
});
|
|
27416
|
+
_react.useEffect.call(void 0, () => {
|
|
27417
|
+
rescue.track({ email, phone }, null);
|
|
27418
|
+
}, [email, phone, rescue]);
|
|
27406
27419
|
const isMailDomainGeneric = hasGenericEmailDomain(email);
|
|
27407
27420
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
27408
27421
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
@@ -27439,7 +27452,8 @@ function WaitlistForm({
|
|
|
27439
27452
|
}
|
|
27440
27453
|
const finalPhone = phone ? formatPhoneE164(phone, countryCode) : void 0;
|
|
27441
27454
|
try {
|
|
27442
|
-
await onRegister(email, finalPhone, getSignals());
|
|
27455
|
+
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
27456
|
+
rescue.complete();
|
|
27443
27457
|
resetSignals();
|
|
27444
27458
|
} catch (e37) {
|
|
27445
27459
|
}
|
|
@@ -28180,7 +28194,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
28180
28194
|
"data-state": open ? "open" : "closed",
|
|
28181
28195
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
28182
28196
|
"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",
|
|
28183
|
-
|
|
28197
|
+
_chunk3UDBK2YGcjs.OVERLAY_BACKDROP_CLASS,
|
|
28184
28198
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
28185
28199
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
28186
28200
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -28256,11 +28270,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
28256
28270
|
}
|
|
28257
28271
|
);
|
|
28258
28272
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
28259
|
-
var AppLayoutDrawerHeader =
|
|
28260
|
-
var AppLayoutDrawerTitle =
|
|
28261
|
-
var AppLayoutDrawerDescription =
|
|
28262
|
-
var AppLayoutDrawerBody =
|
|
28263
|
-
var AppLayoutDrawerFooter =
|
|
28273
|
+
var AppLayoutDrawerHeader = _chunk3UDBK2YGcjs.DrawerHeader;
|
|
28274
|
+
var AppLayoutDrawerTitle = _chunk3UDBK2YGcjs.DrawerTitle;
|
|
28275
|
+
var AppLayoutDrawerDescription = _chunk3UDBK2YGcjs.DrawerDescription;
|
|
28276
|
+
var AppLayoutDrawerBody = _chunk3UDBK2YGcjs.DrawerBody;
|
|
28277
|
+
var AppLayoutDrawerFooter = _chunk3UDBK2YGcjs.DrawerFooter;
|
|
28264
28278
|
|
|
28265
28279
|
// src/components/features/notifications/notification-tile.tsx
|
|
28266
28280
|
|
|
@@ -28347,9 +28361,9 @@ function NotificationTile({
|
|
|
28347
28361
|
height: 16,
|
|
28348
28362
|
unoptimized: true
|
|
28349
28363
|
}
|
|
28350
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
28364
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkAXMNWMAUcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
28351
28365
|
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" }),
|
|
28352
|
-
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
28366
|
+
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: _chunk3UDBK2YGcjs.formatTicketRelativeTime.call(void 0, createdAtIso) }) : null,
|
|
28353
28367
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
28354
28368
|
{
|
|
28355
28369
|
active: isLive,
|
|
@@ -28404,7 +28418,7 @@ function NotificationTile({
|
|
|
28404
28418
|
"div",
|
|
28405
28419
|
{
|
|
28406
28420
|
"aria-hidden": true,
|
|
28407
|
-
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left",
|
|
28421
|
+
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "absolute inset-x-0 -bottom-px h-1 origin-left", _chunkAXMNWMAUcjs.progressColorByVariant[accentVariant]),
|
|
28408
28422
|
style: {
|
|
28409
28423
|
animation: `toast-progress ${liveDurationMs}ms linear forwards`,
|
|
28410
28424
|
animationDelay: `-${initialElapsed}ms`
|
|
@@ -28456,7 +28470,7 @@ function NotificationDrawer({
|
|
|
28456
28470
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
28457
28471
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28458
28472
|
/* @__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,
|
|
28459
|
-
|
|
28473
|
+
_chunk3UDBK2YGcjs.DrawerTitle,
|
|
28460
28474
|
{
|
|
28461
28475
|
hideClose: true,
|
|
28462
28476
|
className: "truncate",
|
|
@@ -28515,8 +28529,8 @@ function NotificationDrawer({
|
|
|
28515
28529
|
}
|
|
28516
28530
|
) });
|
|
28517
28531
|
}
|
|
28518
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28519
|
-
|
|
28532
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28533
|
+
_chunk3UDBK2YGcjs.DrawerContent,
|
|
28520
28534
|
{
|
|
28521
28535
|
side: "right",
|
|
28522
28536
|
"aria-describedby": void 0,
|
|
@@ -28621,7 +28635,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
28621
28635
|
] });
|
|
28622
28636
|
}
|
|
28623
28637
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
28624
|
-
const { supported, permission, request } =
|
|
28638
|
+
const { supported, permission, request } = _chunkAXMNWMAUcjs.useNotificationPermission.call(void 0, );
|
|
28625
28639
|
if (!supported) return null;
|
|
28626
28640
|
const blocked = permission === "denied";
|
|
28627
28641
|
const handleChange = async (value) => {
|
|
@@ -28799,13 +28813,13 @@ function getApprovalMeta(notification) {
|
|
|
28799
28813
|
function resolutionToStatus(resolution) {
|
|
28800
28814
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
28801
28815
|
case "APPROVED":
|
|
28802
|
-
return
|
|
28816
|
+
return _chunk3UDBK2YGcjs.APPROVAL_STATUS.APPROVED;
|
|
28803
28817
|
case "REJECTED":
|
|
28804
|
-
return
|
|
28818
|
+
return _chunk3UDBK2YGcjs.APPROVAL_STATUS.REJECTED;
|
|
28805
28819
|
case "CANCELLED":
|
|
28806
|
-
return
|
|
28820
|
+
return _chunk3UDBK2YGcjs.APPROVAL_STATUS.CANCELLED;
|
|
28807
28821
|
default:
|
|
28808
|
-
return
|
|
28822
|
+
return _chunk3UDBK2YGcjs.APPROVAL_STATUS.PENDING;
|
|
28809
28823
|
}
|
|
28810
28824
|
}
|
|
28811
28825
|
function approvalMetaToBatchData(approval) {
|
|
@@ -28846,7 +28860,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28846
28860
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _618 => _618.resolution]));
|
|
28847
28861
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28848
28862
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28849
|
-
const { innerRef, containerStyle } =
|
|
28863
|
+
const { innerRef, containerStyle } = _chunk3UDBK2YGcjs.useCollapsible.call(void 0, { expanded });
|
|
28850
28864
|
if (!approval || !batchData) return null;
|
|
28851
28865
|
const tileNotification = {
|
|
28852
28866
|
...notification,
|
|
@@ -28900,7 +28914,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28900
28914
|
}
|
|
28901
28915
|
)
|
|
28902
28916
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28903
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ApprovalStatusTag, { status }),
|
|
28904
28918
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
28905
28919
|
"by ",
|
|
28906
28920
|
approval.resolvedByName
|
|
@@ -28918,12 +28932,12 @@ function ApprovalRequestNotificationTile({
|
|
|
28918
28932
|
"aria-expanded": expanded,
|
|
28919
28933
|
"aria-label": toggleLabel,
|
|
28920
28934
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
28921
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28935
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ExpandChevron, { expanded })
|
|
28922
28936
|
}
|
|
28923
28937
|
)
|
|
28924
28938
|
] }),
|
|
28925
28939
|
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,
|
|
28926
|
-
|
|
28940
|
+
_chunk3UDBK2YGcjs.ApprovalBatchMessage,
|
|
28927
28941
|
{
|
|
28928
28942
|
data: batchData,
|
|
28929
28943
|
showExecutionStatus: false,
|
|
@@ -29259,7 +29273,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
29259
29273
|
function StatusTag({ status }) {
|
|
29260
29274
|
if (status === "tracking") {
|
|
29261
29275
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29262
|
-
|
|
29276
|
+
_chunk3UDBK2YGcjs.Tag,
|
|
29263
29277
|
{
|
|
29264
29278
|
variant: "success",
|
|
29265
29279
|
className: STATUS_TAG_SKIN,
|
|
@@ -29269,9 +29283,9 @@ function StatusTag({ status }) {
|
|
|
29269
29283
|
);
|
|
29270
29284
|
}
|
|
29271
29285
|
if (status === "paused") {
|
|
29272
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29286
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOIDKQ77Rcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
29273
29287
|
}
|
|
29274
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29288
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
29275
29289
|
}
|
|
29276
29290
|
function LastEntryRow({ entry, onClick }) {
|
|
29277
29291
|
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: [
|
|
@@ -29440,7 +29454,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
29440
29454
|
"data-state": isOpen ? "open" : "closed",
|
|
29441
29455
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
29442
29456
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
29443
|
-
|
|
29457
|
+
_chunk3UDBK2YGcjs.OVERLAY_BACKDROP_CLASS,
|
|
29444
29458
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
29445
29459
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
29446
29460
|
)
|
|
@@ -29594,7 +29608,7 @@ function BoardColumnHeader({
|
|
|
29594
29608
|
}) {
|
|
29595
29609
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
29596
29610
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
29597
|
-
const useStatusVariant =
|
|
29611
|
+
const useStatusVariant = _chunk3UDBK2YGcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
29598
29612
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
29599
29613
|
if (collapsed) {
|
|
29600
29614
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -29610,7 +29624,7 @@ function BoardColumnHeader({
|
|
|
29610
29624
|
}
|
|
29611
29625
|
),
|
|
29612
29626
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29613
|
-
|
|
29627
|
+
_chunk3UDBK2YGcjs.TicketStatusTag,
|
|
29614
29628
|
{
|
|
29615
29629
|
status: tagStatus,
|
|
29616
29630
|
label: column.label,
|
|
@@ -29623,7 +29637,7 @@ function BoardColumnHeader({
|
|
|
29623
29637
|
}
|
|
29624
29638
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
29625
29639
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
29626
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29640
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
29627
29641
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
29628
29642
|
] }),
|
|
29629
29643
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -29775,7 +29789,7 @@ function holdMoveDragEffect(element) {
|
|
|
29775
29789
|
|
|
29776
29790
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
29777
29791
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
29778
|
-
const { innerRef, containerStyle } =
|
|
29792
|
+
const { innerRef, containerStyle } = _chunk3UDBK2YGcjs.useCollapsible.call(void 0, { expanded });
|
|
29779
29793
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
29780
29794
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
29781
29795
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -29804,7 +29818,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
29804
29818
|
}
|
|
29805
29819
|
),
|
|
29806
29820
|
/* @__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,
|
|
29807
|
-
|
|
29821
|
+
_chunk3UDBK2YGcjs.ApprovalBatchMessage,
|
|
29808
29822
|
{
|
|
29809
29823
|
className: "mb-0",
|
|
29810
29824
|
data: {
|
|
@@ -29884,7 +29898,7 @@ function TicketCardBody({
|
|
|
29884
29898
|
onLinkClick
|
|
29885
29899
|
}) {
|
|
29886
29900
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
29887
|
-
const newMessageTextColor = columnColor ?
|
|
29901
|
+
const newMessageTextColor = columnColor ? _chunk3UDBK2YGcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29888
29902
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _654 => _654.deviceHostnames, 'optionalAccess', _655 => _655.length]) || ticket.organizationName);
|
|
29889
29903
|
const deviceText = [_optionalChain([ticket, 'access', _656 => _656.deviceHostnames, 'optionalAccess', _657 => _657.join, 'call', _658 => _658(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29890
29904
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _659 => _659.assignees, 'optionalAccess', _660 => _660.length]) || renderAssignSlot);
|
|
@@ -29923,8 +29937,8 @@ function TicketCardBody({
|
|
|
29923
29937
|
] })
|
|
29924
29938
|
] }) : null
|
|
29925
29939
|
] }) : null;
|
|
29926
|
-
const timestampLabel = ticket.createdAt ?
|
|
29927
|
-
const tooltipLabel = ticket.createdAt ?
|
|
29940
|
+
const timestampLabel = ticket.createdAt ? _chunk3UDBK2YGcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
29941
|
+
const tooltipLabel = ticket.createdAt ? _chunk3UDBK2YGcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
29928
29942
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
29929
29943
|
const metaClass = "truncate text-ods-text-secondary text-h6";
|
|
29930
29944
|
const meta = href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -29951,9 +29965,9 @@ function TicketCardBody({
|
|
|
29951
29965
|
rightSection
|
|
29952
29966
|
] }),
|
|
29953
29967
|
_optionalChain([ticket, 'access', _663 => _663.tags, 'optionalAccess', _664 => _664.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29954
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29955
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29956
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29968
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.Tooltip, { children: [
|
|
29969
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipTrigger, { asChild: true, children: meta }),
|
|
29970
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TooltipContent, { children: tooltipLabel })
|
|
29957
29971
|
] }) }) : meta),
|
|
29958
29972
|
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: [
|
|
29959
29973
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOIDKQ77Rcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -29973,7 +29987,7 @@ function TicketCardBody({
|
|
|
29973
29987
|
}
|
|
29974
29988
|
),
|
|
29975
29989
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29976
|
-
|
|
29990
|
+
_chunk3UDBK2YGcjs.Tag,
|
|
29977
29991
|
{
|
|
29978
29992
|
label: "New Message",
|
|
29979
29993
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOIDKQ77Rcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -30193,8 +30207,8 @@ function TicketTagRow({ tags }) {
|
|
|
30193
30207
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
30194
30208
|
const hidden = tags.length - visible.length;
|
|
30195
30209
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
30196
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30197
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30210
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
30211
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
30198
30212
|
] });
|
|
30199
30213
|
}
|
|
30200
30214
|
|
|
@@ -30436,7 +30450,7 @@ function resolveBoardDrop(columns, { source, target }) {
|
|
|
30436
30450
|
// src/components/features/board/use-board-collapse.ts
|
|
30437
30451
|
|
|
30438
30452
|
function useBoardCollapse(storageKey) {
|
|
30439
|
-
const [persisted, setPersisted] =
|
|
30453
|
+
const [persisted, setPersisted] = _chunkAXMNWMAUcjs.useLocalStorage.call(void 0, _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")), {});
|
|
30440
30454
|
const [memory, setMemory] = _react.useState.call(void 0, {});
|
|
30441
30455
|
const collapsed = storageKey ? persisted : memory;
|
|
30442
30456
|
const setMap = storageKey ? setPersisted : setMemory;
|
|
@@ -30507,7 +30521,7 @@ var DROP_EASING = "cubic-bezier(0.2, 0, 0, 1)";
|
|
|
30507
30521
|
var DRAG_PREVIEW_Z = 1200;
|
|
30508
30522
|
var ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"];
|
|
30509
30523
|
function Board(props) {
|
|
30510
|
-
const dragAndDropEnabled = _chunkV2A4MAALcjs.useMediaQuery.call(void 0,
|
|
30524
|
+
const dragAndDropEnabled = _chunkV2A4MAALcjs.useMediaQuery.call(void 0, _chunkAXMNWMAUcjs.DRAG_AND_DROP_MEDIA_QUERY);
|
|
30511
30525
|
if (dragAndDropEnabled === void 0) {
|
|
30512
30526
|
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) });
|
|
30513
30527
|
}
|
|
@@ -30540,7 +30554,7 @@ function DragBoard({
|
|
|
30540
30554
|
onThumbPointerMove,
|
|
30541
30555
|
onThumbPointerUp,
|
|
30542
30556
|
onThumbPointerCancel
|
|
30543
|
-
} =
|
|
30557
|
+
} = _chunkAXMNWMAUcjs.useHorizontalScrollbar.call(void 0, );
|
|
30544
30558
|
const columnsRef = _react.useRef.call(void 0, columns);
|
|
30545
30559
|
const onChangeRef = _react.useRef.call(void 0, onChange);
|
|
30546
30560
|
const boardRef = _react.useRef.call(void 0, null);
|
|
@@ -30971,7 +30985,7 @@ function useSortableListContext() {
|
|
|
30971
30985
|
}
|
|
30972
30986
|
function SortableList({ onReorder, getItemLabel, disabled = false, className, children }) {
|
|
30973
30987
|
const listRef = _react.useRef.call(void 0, null);
|
|
30974
|
-
const dragAndDropEnabled =
|
|
30988
|
+
const dragAndDropEnabled = _chunkAXMNWMAUcjs.useDragAndDropEnabled.call(void 0, );
|
|
30975
30989
|
const dragType = _react.useId.call(void 0, );
|
|
30976
30990
|
const [announcement, setAnnouncement] = _react.useState.call(void 0, "");
|
|
30977
30991
|
const onReorderRef = _react.useRef.call(void 0, onReorder);
|
|
@@ -31891,4 +31905,4 @@ function SortableRow({
|
|
|
31891
31905
|
|
|
31892
31906
|
|
|
31893
31907
|
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.AppStoreBadge = AppStoreBadge; exports.GooglePlayBadge = GooglePlayBadge; exports.StoreBadgeLinks = StoreBadgeLinks; 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.getCountryByName = getCountryByName; exports.getFlagFromCountryName = getFlagFromCountryName; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.COMPLIANCE_STANDARDS = COMPLIANCE_STANDARDS; exports.complianceStandardForName = complianceStandardForName; 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.DataAttribution = DataAttribution; exports.ComplianceBadge = ComplianceBadge; exports.ComplianceLogo = ComplianceLogo; 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.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;
|
|
31894
|
-
//# sourceMappingURL=chunk-
|
|
31908
|
+
//# sourceMappingURL=chunk-6PPEG2N4.cjs.map
|