@flamingo-stack/openframe-frontend-core 0.0.704-snapshot.20261006152423 → 0.0.704
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-JEZKGCZI.cjs → chunk-262YQFOS.cjs} +24 -24
- package/dist/{chunk-G5A3PSPV.js → chunk-2G546OND.js} +7 -19
- package/dist/{chunk-7VVFKJY5.js → chunk-2JDVL7UV.js} +18 -70
- package/dist/{chunk-6NJKKO73.cjs → chunk-4DQMTBMK.cjs} +11 -11
- package/dist/{chunk-FCGC42TS.js → chunk-4KGXLVCF.js} +3 -3
- package/dist/{chunk-F6I6XZMN.js → chunk-5QJDM6UV.js} +3 -3
- package/dist/{chunk-YHM5AWTT.js → chunk-6WQIUQUC.js} +5 -5
- package/dist/{chunk-A75QY6CD.cjs → chunk-7JIL3WOH.cjs} +14 -14
- package/dist/{chunk-QFXRPRFT.js → chunk-7LFIKJX2.js} +2 -2
- package/dist/{chunk-4KX6OED2.cjs → chunk-AMYY3PNL.cjs} +42 -42
- package/dist/{chunk-TYWLNCNH.cjs → chunk-C3BWIU7R.cjs} +5 -1
- package/dist/{chunk-7LS22BZU.cjs → chunk-C7XGRLT5.cjs} +6 -6
- package/dist/{chunk-PN2RKPDF.js → chunk-ERCV6HHJ.js} +4 -4
- package/dist/{chunk-DW7G4KG3.js → chunk-FXENTYE5.js} +1 -1
- package/dist/{chunk-WA6GUYQ4.cjs → chunk-HFJW24JJ.cjs} +79 -79
- package/dist/{chunk-ZSAO2HBW.js → chunk-HJAYVKWQ.js} +6 -6
- package/dist/{chunk-F6AFPNDF.js → chunk-I7DFUQMN.js} +6 -5
- package/dist/{chunk-MKXO4Q5P.js → chunk-IHU5ANUY.js} +1 -1
- package/dist/{chunk-OUY3HHW6.cjs → chunk-IZGDG5X6.cjs} +45 -57
- package/dist/{chunk-6SEANMOU.js → chunk-JEYRXT5L.js} +7 -7
- package/dist/{chunk-KOWVJD4V.cjs → chunk-L3IC42IF.cjs} +18 -17
- package/dist/{chunk-3MX5S4CF.cjs → chunk-LDPEQGKT.cjs} +80 -132
- package/dist/{chunk-VESKITRQ.cjs → chunk-LTSTC3N5.cjs} +379 -379
- package/dist/{chunk-2QEUFXNS.cjs → chunk-MGGGBHYD.cjs} +10 -10
- package/dist/{chunk-IHERL5V4.cjs → chunk-MI3JUJ75.cjs} +21 -21
- package/dist/{chunk-HPWWNJE7.cjs → chunk-N3TO7JV3.cjs} +49 -49
- package/dist/{chunk-RBDP4WDE.js → chunk-NRLJUBCS.js} +2 -2
- package/dist/{chunk-X5MQ7JRP.js → chunk-QVSFBSWV.js} +4 -4
- package/dist/{chunk-ZSAGLQOD.cjs → chunk-SYXQLETR.cjs} +9 -9
- package/dist/{chunk-4I45Y3DN.cjs → chunk-UK62YTH6.cjs} +2 -2
- package/dist/{chunk-AQWZNP6A.js → chunk-VTASHWER.js} +3 -3
- package/dist/{chunk-PDWVPI3S.js → chunk-WUJNYGO2.js} +4 -0
- package/dist/{chunk-VA5T32XA.js → chunk-XATTBO5X.js} +1 -1
- package/dist/{chunk-IKTQ3ZAG.cjs → chunk-XIFOBQRQ.cjs} +4 -4
- package/dist/{chunk-YFBM2K6X.cjs → chunk-XJKZ4IKT.cjs} +4 -4
- package/dist/{chunk-DENB2XJC.js → chunk-ZQFZSFQI.js} +2 -2
- package/dist/components/case-studies/index.cjs +17 -17
- package/dist/components/case-studies/index.js +5 -5
- package/dist/components/chat/chat-input.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.d.ts +0 -8
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +3 -5
- package/dist/components/chat/index.d.ts +1 -1
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +2 -4
- package/dist/components/chat/mingo-chat-rail.d.ts +1 -3
- package/dist/components/chat/mingo-chat-rail.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/help-center-pages/index.cjs +81 -81
- package/dist/components/help-center-pages/index.js +16 -16
- package/dist/components/index.cjs +47 -51
- package/dist/components/index.js +15 -19
- package/dist/components/meeting-scheduler/index.cjs +32 -32
- package/dist/components/meeting-scheduler/index.js +4 -4
- package/dist/components/navigation/app-layout-side-panel.d.ts +1 -18
- package/dist/components/navigation/app-layout-side-panel.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +8 -10
- package/dist/components/navigation/index.d.ts +0 -1
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +7 -9
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.js +7 -7
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/tickets/index.js +8 -8
- package/dist/components/ui/index.cjs +5 -7
- package/dist/components/ui/index.js +4 -6
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +10 -14
- package/dist/index.js +8 -12
- package/package.json +1 -1
- package/src/components/chat/chat-input.tsx +1 -5
- package/src/components/chat/chat-message-enhanced.tsx +3 -4
- package/src/components/chat/embeddable-chat.tsx +6 -64
- package/src/components/chat/index.ts +0 -1
- package/src/components/chat/mingo-chat-rail.tsx +7 -24
- package/src/components/navigation/app-layout-side-panel.tsx +2 -30
- package/src/components/navigation/index.ts +0 -1
- package/src/components/platform/SoftwareSourceBadge.tsx +1 -1
- package/src/styles/app-globals.css +0 -13
|
@@ -23,7 +23,7 @@ var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkMGGGBHYDcjs = require('./chunk-MGGGBHYD.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _chunkBIZNSF3Ucjs = require('./chunk-BIZNSF3U.cjs');
|
|
@@ -97,7 +97,7 @@ var _chunkLX22Y43Bcjs = require('./chunk-LX22Y43B.cjs');
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
|
|
100
|
-
var
|
|
100
|
+
var _chunkLDPEQGKTcjs = require('./chunk-LDPEQGKT.cjs');
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
|
|
@@ -110,7 +110,7 @@ var _chunk3MX5S4CFcjs = require('./chunk-3MX5S4CF.cjs');
|
|
|
110
110
|
|
|
111
111
|
|
|
112
112
|
|
|
113
|
-
var
|
|
113
|
+
var _chunkC3BWIU7Rcjs = require('./chunk-C3BWIU7R.cjs');
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
|
|
@@ -390,7 +390,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
390
390
|
var useTheme = _nextthemes.useTheme;
|
|
391
391
|
function useThemeToggle() {
|
|
392
392
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
393
|
-
const mounted =
|
|
393
|
+
const mounted = _chunkLDPEQGKTcjs.useIsHydrated.call(void 0, );
|
|
394
394
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
395
395
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
396
396
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -751,7 +751,7 @@ function AutocompleteInner(props, ref) {
|
|
|
751
751
|
};
|
|
752
752
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
753
753
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
754
|
-
const keyboardPadding =
|
|
754
|
+
const keyboardPadding = _chunkMGGGBHYDcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
755
755
|
const containerRef = _react.useRef.call(void 0, null);
|
|
756
756
|
const hiddenTagsPopupRef = _react.useRef.call(void 0, null);
|
|
757
757
|
const isInvalid = invalid || !!error;
|
|
@@ -769,7 +769,7 @@ function AutocompleteInner(props, ref) {
|
|
|
769
769
|
textMeasureRef,
|
|
770
770
|
badgeRef,
|
|
771
771
|
inputRef
|
|
772
|
-
} =
|
|
772
|
+
} = _chunkMGGGBHYDcjs.useAutoLimitTags.call(void 0, {
|
|
773
773
|
count: multiple ? selectedOptions.length : 0,
|
|
774
774
|
limitTags: multiple ? limitTagsProp : 0,
|
|
775
775
|
placeholder: inputPlaceholder
|
|
@@ -2664,7 +2664,7 @@ function Value2({ value, depth }) {
|
|
|
2664
2664
|
}
|
|
2665
2665
|
if (typeof value === "string") {
|
|
2666
2666
|
if (ISO_DATE.test(value)) {
|
|
2667
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2667
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkLDPEQGKTcjs.formatRelativeTime.call(void 0, value) });
|
|
2668
2668
|
}
|
|
2669
2669
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2670
2670
|
}
|
|
@@ -2846,7 +2846,7 @@ function InfoCardFooter({ footer }) {
|
|
|
2846
2846
|
] });
|
|
2847
2847
|
}
|
|
2848
2848
|
function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLabel }) {
|
|
2849
|
-
const { copy, copied } =
|
|
2849
|
+
const { copy, copied } = _chunkMGGGBHYDcjs.useCopyToClipboard.call(void 0, );
|
|
2850
2850
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 w-full items-center gap-[var(--spacing-system-xs)] self-stretch", children: [
|
|
2851
2851
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-primary text-h4", children: showLabel ? label : "" }),
|
|
2852
2852
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-px flex-1 bg-ods-divider" }),
|
|
@@ -2936,7 +2936,7 @@ function SearchableSelect({
|
|
|
2936
2936
|
}) {
|
|
2937
2937
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
2938
2938
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
2939
|
-
const keyboardPadding =
|
|
2939
|
+
const keyboardPadding = _chunkMGGGBHYDcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
2940
2940
|
if (!isOpen && search !== "") setSearch("");
|
|
2941
2941
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
2942
2942
|
const q = search.trim().toLowerCase();
|
|
@@ -3296,7 +3296,7 @@ function RowValue({ value }) {
|
|
|
3296
3296
|
}
|
|
3297
3297
|
case "status": {
|
|
3298
3298
|
const { type: _type, ...props } = value;
|
|
3299
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3299
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TicketStatusTag, { ...props });
|
|
3300
3300
|
}
|
|
3301
3301
|
case "custom":
|
|
3302
3302
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -3816,7 +3816,7 @@ function TagSelectDropdown({
|
|
|
3816
3816
|
}) {
|
|
3817
3817
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
3818
3818
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
3819
|
-
const keyboardPadding =
|
|
3819
|
+
const keyboardPadding = _chunkMGGGBHYDcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
3820
3820
|
if (!isOpen && search !== "") setSearch("");
|
|
3821
3821
|
const query = search.trim();
|
|
3822
3822
|
const filtered = _react.useMemo.call(void 0, () => {
|
|
@@ -4108,7 +4108,7 @@ function TagsManager({
|
|
|
4108
4108
|
}) {
|
|
4109
4109
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
4110
4110
|
const [search, setSearch] = _react.useState.call(void 0, "");
|
|
4111
|
-
const keyboardPadding =
|
|
4111
|
+
const keyboardPadding = _chunkMGGGBHYDcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
4112
4112
|
const [editingId, setEditingId] = _react.useState.call(void 0, null);
|
|
4113
4113
|
const [editingName, setEditingName] = _react.useState.call(void 0, "");
|
|
4114
4114
|
const editInputRef = _react.useRef.call(void 0, null);
|
|
@@ -4756,10 +4756,10 @@ function useConfirm() {
|
|
|
4756
4756
|
},
|
|
4757
4757
|
[]
|
|
4758
4758
|
);
|
|
4759
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4760
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4761
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4762
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4759
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4760
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalTitle, { children: pending.title }) }),
|
|
4761
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4762
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.ModalFooter, { children: [
|
|
4763
4763
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4764
4764
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4765
4765
|
] })
|
|
@@ -4818,14 +4818,14 @@ function AdminFormDrawer({
|
|
|
4818
4818
|
else onClose();
|
|
4819
4819
|
};
|
|
4820
4820
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4821
|
-
|
|
4821
|
+
_chunkLDPEQGKTcjs.Drawer,
|
|
4822
4822
|
{
|
|
4823
4823
|
open: isOpen,
|
|
4824
4824
|
onOpenChange: (open) => {
|
|
4825
4825
|
if (!open) requestClose();
|
|
4826
4826
|
},
|
|
4827
4827
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4828
|
-
|
|
4828
|
+
_chunkLDPEQGKTcjs.DrawerContent,
|
|
4829
4829
|
{
|
|
4830
4830
|
side: "right",
|
|
4831
4831
|
resizable: true,
|
|
@@ -4834,11 +4834,11 @@ function AdminFormDrawer({
|
|
|
4834
4834
|
storageKey,
|
|
4835
4835
|
panelClassName: "max-md:w-[calc(100vw-1rem)]",
|
|
4836
4836
|
children: [
|
|
4837
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4839
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4837
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.DrawerHeader, { children: [
|
|
4838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.DrawerTitle, { children: title }),
|
|
4839
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.DrawerDescription, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: subtitle }) })
|
|
4840
4840
|
] }),
|
|
4841
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4841
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.DrawerBody, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4842
4842
|
"form",
|
|
4843
4843
|
{
|
|
4844
4844
|
id: formId,
|
|
@@ -4969,9 +4969,9 @@ function AdminFormModal({
|
|
|
4969
4969
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4970
4970
|
});
|
|
4971
4971
|
if (!isOpen) return null;
|
|
4972
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4973
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4974
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4972
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4973
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.ModalHeader, { children: [
|
|
4974
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalTitle, { children: title }),
|
|
4975
4975
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4976
4976
|
] }),
|
|
4977
4977
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4996,7 +4996,7 @@ function AdminFormModal({
|
|
|
4996
4996
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4997
4997
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4998
4998
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4999
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4999
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5000
5000
|
"div",
|
|
5001
5001
|
{
|
|
5002
5002
|
"aria-busy": "true",
|
|
@@ -5017,12 +5017,12 @@ function AdminFormModal({
|
|
|
5017
5017
|
]
|
|
5018
5018
|
}
|
|
5019
5019
|
) })
|
|
5020
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5020
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalContent, { className: contentClassName, children }),
|
|
5021
5021
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
5022
5022
|
]
|
|
5023
5023
|
}
|
|
5024
5024
|
),
|
|
5025
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5025
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
5026
5026
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
5027
5027
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
5028
5028
|
footerStatus,
|
|
@@ -6394,9 +6394,9 @@ var KIND_HEADING = {
|
|
|
6394
6394
|
design: "Claude Design"
|
|
6395
6395
|
};
|
|
6396
6396
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
6397
|
-
const { src: mirrorSrc, status } =
|
|
6397
|
+
const { src: mirrorSrc, status } = _chunkMGGGBHYDcjs.useClaudeMirrorSrc.call(void 0, url);
|
|
6398
6398
|
const isProbing = status === "probing";
|
|
6399
|
-
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => (
|
|
6399
|
+
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunkMGGGBHYDcjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
6400
6400
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6401
6401
|
EmbedViewerFrame,
|
|
6402
6402
|
{
|
|
@@ -6471,12 +6471,12 @@ function SlidesViewToggle({ view, onChange }) {
|
|
|
6471
6471
|
}
|
|
6472
6472
|
function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
6473
6473
|
const [view, setView] = _react.useState.call(void 0, "present");
|
|
6474
|
-
const isSlides = url ?
|
|
6475
|
-
const embedSrc = url ?
|
|
6474
|
+
const isSlides = url ? _chunkMGGGBHYDcjs.isFigmaSlidesUrl.call(void 0, url) : false;
|
|
6475
|
+
const embedSrc = url ? _chunkMGGGBHYDcjs.toFigmaEmbedUrl.call(void 0, url, { slidesView: view }) : null;
|
|
6476
6476
|
const originalUrl = (() => {
|
|
6477
6477
|
if (!url) return null;
|
|
6478
6478
|
try {
|
|
6479
|
-
const parsed = new URL(
|
|
6479
|
+
const parsed = new URL(_chunkMGGGBHYDcjs.toFigmaOriginalUrl.call(void 0, url));
|
|
6480
6480
|
const host = parsed.hostname.toLowerCase();
|
|
6481
6481
|
const okHost = host === "figma.com" || host.endsWith(".figma.com");
|
|
6482
6482
|
const okProtocol = parsed.protocol === "https:" || parsed.protocol === "http:";
|
|
@@ -7250,7 +7250,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
7250
7250
|
};
|
|
7251
7251
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
7252
7252
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7253
|
-
|
|
7253
|
+
_chunkLDPEQGKTcjs.Video,
|
|
7254
7254
|
{
|
|
7255
7255
|
url: item.src,
|
|
7256
7256
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7974,7 +7974,7 @@ function buildRichEmbedOverrides({
|
|
|
7974
7974
|
ogEndpointPath,
|
|
7975
7975
|
textSizes
|
|
7976
7976
|
}) {
|
|
7977
|
-
const standard =
|
|
7977
|
+
const standard = _chunkLDPEQGKTcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7978
7978
|
return {
|
|
7979
7979
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7980
7980
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7984,7 +7984,7 @@ function buildRichEmbedOverrides({
|
|
|
7984
7984
|
const language = match ? match[1] : "";
|
|
7985
7985
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7986
7986
|
if (language === "youtube-embed") {
|
|
7987
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7987
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7988
7988
|
}
|
|
7989
7989
|
if (language === "reddit-embed") {
|
|
7990
7990
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -8025,7 +8025,7 @@ function buildRichEmbedOverrides({
|
|
|
8025
8025
|
"data-figma-url": figmaUrl
|
|
8026
8026
|
} = divProps;
|
|
8027
8027
|
if (className === "youtube-embed" && videoId) {
|
|
8028
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8028
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.Video, { kind: "youtube", url: videoId });
|
|
8029
8029
|
}
|
|
8030
8030
|
if (className === "reddit-embed" && postUrl) {
|
|
8031
8031
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -8110,14 +8110,14 @@ function buildRichEmbedOverrides({
|
|
|
8110
8110
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
8111
8111
|
// elsewhere). Guard against empty `![]()`.
|
|
8112
8112
|
img: ({ src, alt }) => {
|
|
8113
|
-
if (!
|
|
8113
|
+
if (!_chunkLDPEQGKTcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
8114
8114
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
8115
8115
|
},
|
|
8116
8116
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
8117
8117
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
8118
8118
|
video: ({ src, poster, className }) => {
|
|
8119
|
-
if (!
|
|
8120
|
-
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,
|
|
8119
|
+
if (!_chunkLDPEQGKTcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
8120
|
+
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, _chunkLDPEQGKTcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
8121
8121
|
}
|
|
8122
8122
|
};
|
|
8123
8123
|
}
|
|
@@ -8358,13 +8358,13 @@ var RichMarkdownInner = ({
|
|
|
8358
8358
|
},
|
|
8359
8359
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8360
8360
|
);
|
|
8361
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8361
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkLDPEQGKTcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8362
8362
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8363
8363
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8364
8364
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8365
8365
|
);
|
|
8366
8366
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8367
|
-
|
|
8367
|
+
_chunkLDPEQGKTcjs.MarkdownEngine,
|
|
8368
8368
|
{
|
|
8369
8369
|
content,
|
|
8370
8370
|
className,
|
|
@@ -8386,7 +8386,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8386
8386
|
className = "",
|
|
8387
8387
|
sectionIds,
|
|
8388
8388
|
onInternalLinkClick,
|
|
8389
|
-
brokenLinks =
|
|
8389
|
+
brokenLinks = _chunkLDPEQGKTcjs.NO_BROKEN_LINKS,
|
|
8390
8390
|
currentPath,
|
|
8391
8391
|
resolveSource = "openframe-docs",
|
|
8392
8392
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9368,7 +9368,7 @@ function FilterModal({
|
|
|
9368
9368
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _182 => _182.defaultSort]), () => ( "desc"));
|
|
9369
9369
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _183 => _183.sort]), () => ( dateDefaultSort)));
|
|
9370
9370
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _184 => _184.range]));
|
|
9371
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
9371
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkLDPEQGKTcjs.useScrollFade.call(void 0, );
|
|
9372
9372
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
9373
9373
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
9374
9374
|
_react.useEffect.call(void 0, () => {
|
|
@@ -9414,15 +9414,15 @@ function FilterModal({
|
|
|
9414
9414
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
9415
9415
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
9416
9416
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9417
|
-
|
|
9417
|
+
_chunkLDPEQGKTcjs.Modal,
|
|
9418
9418
|
{
|
|
9419
9419
|
isOpen,
|
|
9420
9420
|
onClose,
|
|
9421
9421
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "max-h-[90vh] max-w-none md:max-w-[min(42rem,calc(100vw-2rem))]", className),
|
|
9422
9422
|
children: [
|
|
9423
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9423
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalTitle, { children: title }) }),
|
|
9424
9424
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9425
|
-
|
|
9425
|
+
_chunkLDPEQGKTcjs.ModalContent,
|
|
9426
9426
|
{
|
|
9427
9427
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
9428
9428
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -9514,12 +9514,12 @@ function FilterModal({
|
|
|
9514
9514
|
] })
|
|
9515
9515
|
}
|
|
9516
9516
|
),
|
|
9517
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9518
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9517
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
9518
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
9519
9519
|
] })
|
|
9520
9520
|
}
|
|
9521
9521
|
),
|
|
9522
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9522
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.ModalFooter, { children: [
|
|
9523
9523
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
9524
9524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
9525
9525
|
] })
|
|
@@ -9565,9 +9565,9 @@ function actionToMenuItems(action, idx) {
|
|
|
9565
9565
|
function renderActionButton(action, opts = {}) {
|
|
9566
9566
|
const button = renderRawActionButton(action, opts);
|
|
9567
9567
|
if (!action.tooltip) return button;
|
|
9568
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9569
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9570
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9568
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.Tooltip, { children: [
|
|
9569
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
9570
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipContent, { children: action.tooltip })
|
|
9571
9571
|
] }) });
|
|
9572
9572
|
}
|
|
9573
9573
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -9591,7 +9591,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
9591
9591
|
}
|
|
9592
9592
|
if (action.submenu && action.submenu.length > 0) {
|
|
9593
9593
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9594
|
-
|
|
9594
|
+
_chunkLDPEQGKTcjs.ActionsMenuDropdown,
|
|
9595
9595
|
{
|
|
9596
9596
|
groups: [{ items: action.submenu }],
|
|
9597
9597
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9726,10 +9726,10 @@ function IconButtonsVariant({
|
|
|
9726
9726
|
selector,
|
|
9727
9727
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9728
9728
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
9729
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9729
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
9730
9730
|
] })
|
|
9731
9731
|
] }),
|
|
9732
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex content-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,
|
|
9732
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex content-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, _chunkLDPEQGKTcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9733
9733
|
] });
|
|
9734
9734
|
}
|
|
9735
9735
|
function PrimaryButtonsVariant({
|
|
@@ -9768,7 +9768,7 @@ function MenuPrimaryVariant({
|
|
|
9768
9768
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "hidden items-center content-md:flex", ACTIONS_GAP, className), children: [
|
|
9769
9769
|
selector,
|
|
9770
9770
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9771
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9771
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9772
9772
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
9773
9773
|
] })
|
|
9774
9774
|
] }),
|
|
@@ -9776,7 +9776,7 @@ function MenuPrimaryVariant({
|
|
|
9776
9776
|
// The selector rides into the menu as its header row: on mobile the
|
|
9777
9777
|
// title row has no room for it, and hiding it entirely (what
|
|
9778
9778
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9779
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9779
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9780
9780
|
) : null })
|
|
9781
9781
|
] });
|
|
9782
9782
|
}
|
|
@@ -9785,7 +9785,7 @@ function CompactPrimaryActions({ actions }) {
|
|
|
9785
9785
|
const fold = foldable.length > 1;
|
|
9786
9786
|
const inline = fold ? actions.filter((action) => !foldable.includes(action)) : actions;
|
|
9787
9787
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9788
|
-
fold && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9788
|
+
fold && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ActionsMenuDropdown, { groups: [{ items: foldable.flatMap(actionToMenuItems) }] }),
|
|
9789
9789
|
inline.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, `compact-${actionKey(action, idx)}`))
|
|
9790
9790
|
] });
|
|
9791
9791
|
}
|
|
@@ -10014,7 +10014,7 @@ function ListPageLayout({
|
|
|
10014
10014
|
}) {
|
|
10015
10015
|
const [mobileFilterOpen, setMobileFilterOpen] = _react.useState.call(void 0, false);
|
|
10016
10016
|
const [localSearchValue, setLocalSearchValue] = _react.useState.call(void 0, searchValue);
|
|
10017
|
-
const debouncedSearchValue =
|
|
10017
|
+
const debouncedSearchValue = _chunkC3BWIU7Rcjs.useDebounce.call(void 0, localSearchValue, 500);
|
|
10018
10018
|
const [syncedSearchValue, setSyncedSearchValue] = _react.useState.call(void 0, searchValue);
|
|
10019
10019
|
if (syncedSearchValue !== searchValue) {
|
|
10020
10020
|
setSyncedSearchValue(searchValue);
|
|
@@ -10705,7 +10705,7 @@ function toToolLabel(input) {
|
|
|
10705
10705
|
if (!input) return "";
|
|
10706
10706
|
const toolType = normalizeToolType(input);
|
|
10707
10707
|
if (toolType) {
|
|
10708
|
-
return
|
|
10708
|
+
return _chunkC3BWIU7Rcjs.toolLabels[toolType];
|
|
10709
10709
|
}
|
|
10710
10710
|
return input;
|
|
10711
10711
|
}
|
|
@@ -10716,7 +10716,7 @@ function getToolTypeAliases(toolType) {
|
|
|
10716
10716
|
return Object.entries(toolAliasMap).filter(([_, value]) => value === toolType).map(([key]) => key);
|
|
10717
10717
|
}
|
|
10718
10718
|
function getToolLabel(toolType) {
|
|
10719
|
-
return
|
|
10719
|
+
return _chunkC3BWIU7Rcjs.toolLabels[toolType] || toolType;
|
|
10720
10720
|
}
|
|
10721
10721
|
|
|
10722
10722
|
// src/types/shell.types.ts
|
|
@@ -11900,8 +11900,8 @@ function makeComposeContentUrl(opts) {
|
|
|
11900
11900
|
}
|
|
11901
11901
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
11902
11902
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
11903
|
-
const owner = claimedOwner &&
|
|
11904
|
-
const origin = owner ?
|
|
11903
|
+
const owner = claimedOwner && _chunkLDPEQGKTcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
11904
|
+
const origin = owner ? _chunkLDPEQGKTcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
11905
11905
|
return {
|
|
11906
11906
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _244 => _244.trim, 'call', _245 => _245()]) || identifier}`,
|
|
11907
11907
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -12067,8 +12067,8 @@ var DEFAULT_OPTIONS = {
|
|
|
12067
12067
|
function extractSections(markdown, options = {}) {
|
|
12068
12068
|
const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
12069
12069
|
const sections = [];
|
|
12070
|
-
const dedupe =
|
|
12071
|
-
const scanned =
|
|
12070
|
+
const dedupe = _chunkC3BWIU7Rcjs.createHeadingIdDeduper.call(void 0, );
|
|
12071
|
+
const scanned = _chunkC3BWIU7Rcjs.scanHeadings.call(void 0, markdown, {
|
|
12072
12072
|
skipFrontmatter: opts.skipCodeAndYamlBlocks,
|
|
12073
12073
|
skipFences: opts.skipCodeAndYamlBlocks
|
|
12074
12074
|
});
|
|
@@ -12076,9 +12076,9 @@ function extractSections(markdown, options = {}) {
|
|
|
12076
12076
|
if (heading.level > opts.maxLevel) continue;
|
|
12077
12077
|
let title = heading.text;
|
|
12078
12078
|
if (opts.stripFormattingMarkers) {
|
|
12079
|
-
title =
|
|
12079
|
+
title = _chunkLDPEQGKTcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
12080
12080
|
}
|
|
12081
|
-
const baseId =
|
|
12081
|
+
const baseId = _chunkC3BWIU7Rcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkC3BWIU7Rcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
12082
12082
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
12083
12083
|
sections.push({
|
|
12084
12084
|
id: opts.handleDuplicateIds ? dedupe(cleanId) : cleanId,
|
|
@@ -13443,7 +13443,7 @@ function DropdownButton({
|
|
|
13443
13443
|
)
|
|
13444
13444
|
);
|
|
13445
13445
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13446
|
-
|
|
13446
|
+
_chunkLDPEQGKTcjs.ActionsMenuDropdown,
|
|
13447
13447
|
{
|
|
13448
13448
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
13449
13449
|
open,
|
|
@@ -13658,7 +13658,7 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
13658
13658
|
}
|
|
13659
13659
|
function ServiceCardRowItem({ row }) {
|
|
13660
13660
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
13661
|
-
const { copy, copied } =
|
|
13661
|
+
const { copy, copied } = _chunkMGGGBHYDcjs.useCopyToClipboard.call(void 0, );
|
|
13662
13662
|
const { ref: valueRef, isTruncated: valueTruncated } = _chunkRKV5B7EUcjs.useIsTruncated.call(void 0, row.value);
|
|
13663
13663
|
const actions = _react.useMemo.call(void 0,
|
|
13664
13664
|
() => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }),
|
|
@@ -13881,9 +13881,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
13881
13881
|
return next;
|
|
13882
13882
|
});
|
|
13883
13883
|
};
|
|
13884
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13884
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
13885
13885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13886
|
-
|
|
13886
|
+
_chunkLDPEQGKTcjs.TooltipTrigger,
|
|
13887
13887
|
{
|
|
13888
13888
|
asChild: true,
|
|
13889
13889
|
onPointerDown: (e) => {
|
|
@@ -13901,7 +13901,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
13901
13901
|
children
|
|
13902
13902
|
}
|
|
13903
13903
|
),
|
|
13904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
13905
13905
|
] }) });
|
|
13906
13906
|
}
|
|
13907
13907
|
|
|
@@ -14574,7 +14574,7 @@ function TableHeader({
|
|
|
14574
14574
|
onFilterChange
|
|
14575
14575
|
}
|
|
14576
14576
|
),
|
|
14577
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14577
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
14578
14578
|
] })
|
|
14579
14579
|
) : (
|
|
14580
14580
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -14600,7 +14600,7 @@ function TableHeader({
|
|
|
14600
14600
|
hint exists, so a hint-less header keeps its DOM. */
|
|
14601
14601
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
14602
14602
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
14603
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14603
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InfoHint, { label: column.label, children: column.hint })
|
|
14604
14604
|
] })
|
|
14605
14605
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
14606
14606
|
getSortIcon(column)
|
|
@@ -15212,9 +15212,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
15212
15212
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
15213
15213
|
}
|
|
15214
15214
|
}, []);
|
|
15215
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15216
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15217
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15215
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
15216
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.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 }) }) }),
|
|
15217
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
15218
15218
|
] }) });
|
|
15219
15219
|
}
|
|
15220
15220
|
|
|
@@ -15267,9 +15267,9 @@ function TruncatedCell({ value, className }) {
|
|
|
15267
15267
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
15268
15268
|
}
|
|
15269
15269
|
}, []);
|
|
15270
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15271
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15272
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15270
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
15271
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { ref: textRef, className: _chunk3ATAYP36cjs.cn.call(void 0, "block truncate", className), children: value }) }),
|
|
15272
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
15273
15273
|
] }) });
|
|
15274
15274
|
}
|
|
15275
15275
|
|
|
@@ -15385,7 +15385,7 @@ function QueryReportTable({
|
|
|
15385
15385
|
onThumbPointerMove,
|
|
15386
15386
|
onThumbPointerUp,
|
|
15387
15387
|
onThumbPointerCancel
|
|
15388
|
-
} =
|
|
15388
|
+
} = _chunkMGGGBHYDcjs.useHorizontalScrollbar.call(void 0, );
|
|
15389
15389
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex w-full flex-col", isCompact ? "gap-0" : "gap-[var(--spacing-system-l)]", className), children: [
|
|
15390
15390
|
!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: [
|
|
15391
15391
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -15941,7 +15941,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
15941
15941
|
// child of the cell.
|
|
15942
15942
|
_optionalChain([meta, 'optionalAccess', _325 => _325.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
15943
15943
|
filterTrigger,
|
|
15944
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15944
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
15945
15945
|
] }) : filterTrigger
|
|
15946
15946
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15947
15947
|
"div",
|
|
@@ -15966,7 +15966,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
15966
15966
|
// centred on the row.
|
|
15967
15967
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
15968
15968
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
15969
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15969
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
15970
15970
|
] })
|
|
15971
15971
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
15972
15972
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -16345,10 +16345,10 @@ function SearchInput({
|
|
|
16345
16345
|
}) {
|
|
16346
16346
|
const [internalValue, setInternalValue] = _react.useState.call(void 0, defaultValue);
|
|
16347
16347
|
const currentValue = onChange ? _nullishCoalesce(value, () => ( "")) : internalValue;
|
|
16348
|
-
const debouncedValue =
|
|
16348
|
+
const debouncedValue = _chunkC3BWIU7Rcjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
16349
16349
|
const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
|
|
16350
16350
|
const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
|
|
16351
|
-
const keyboardPadding =
|
|
16351
|
+
const keyboardPadding = _chunkMGGGBHYDcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
16352
16352
|
const containerRef = _react.useRef.call(void 0, null);
|
|
16353
16353
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
16354
16354
|
const {
|
|
@@ -16358,7 +16358,7 @@ function SearchInput({
|
|
|
16358
16358
|
textMeasureRef,
|
|
16359
16359
|
badgeRef,
|
|
16360
16360
|
inputRef
|
|
16361
|
-
} =
|
|
16361
|
+
} = _chunkMGGGBHYDcjs.useAutoLimitTags.call(void 0, {
|
|
16362
16362
|
count: filterChips.length,
|
|
16363
16363
|
limitTags,
|
|
16364
16364
|
// When chips exist, pass empty placeholder so the hook only reserves input minWidth,
|
|
@@ -16811,7 +16811,7 @@ function TagSearchInput({
|
|
|
16811
16811
|
limitTags = "auto"
|
|
16812
16812
|
}) {
|
|
16813
16813
|
const currentPlaceholder = tags.length === 0 ? placeholder : addMorePlaceholder;
|
|
16814
|
-
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } =
|
|
16814
|
+
const { visibleCount, middleRef, measureRef, textMeasureRef, badgeRef, inputRef } = _chunkMGGGBHYDcjs.useAutoLimitTags.call(void 0, {
|
|
16815
16815
|
count: tags.length,
|
|
16816
16816
|
limitTags,
|
|
16817
16817
|
placeholder: currentPlaceholder
|
|
@@ -17845,7 +17845,7 @@ var _reactcolorful = require('react-colorful');
|
|
|
17845
17845
|
var Popover2 = PopoverPrimitive6.Root;
|
|
17846
17846
|
var PopoverTrigger = PopoverPrimitive6.Trigger;
|
|
17847
17847
|
var PopoverContent = _react.forwardRef.call(void 0, ({ className, align = "center", sideOffset = 4, collisionPadding, ...props }, ref) => {
|
|
17848
|
-
const keyboardPadding =
|
|
17848
|
+
const keyboardPadding = _chunkMGGGBHYDcjs.useKeyboardCollisionPadding.call(void 0, );
|
|
17849
17849
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive6.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17850
17850
|
PopoverPrimitive6.Content,
|
|
17851
17851
|
{
|
|
@@ -17902,20 +17902,20 @@ function ColorPresetSelect({
|
|
|
17902
17902
|
...presets.map((p) => ({
|
|
17903
17903
|
id: p.key,
|
|
17904
17904
|
label: p.label,
|
|
17905
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17905
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ColorSwatch, { color: p.color }),
|
|
17906
17906
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
17907
17907
|
})),
|
|
17908
17908
|
{
|
|
17909
17909
|
id: CUSTOM_PRESET_KEY,
|
|
17910
17910
|
label: "Custom",
|
|
17911
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17911
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
17912
17912
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
17913
17913
|
}
|
|
17914
17914
|
]
|
|
17915
17915
|
}
|
|
17916
17916
|
];
|
|
17917
17917
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17918
|
-
|
|
17918
|
+
_chunkLDPEQGKTcjs.ActionsMenuDropdown,
|
|
17919
17919
|
{
|
|
17920
17920
|
groups,
|
|
17921
17921
|
align: "start",
|
|
@@ -17925,7 +17925,7 @@ function ColorPresetSelect({
|
|
|
17925
17925
|
{
|
|
17926
17926
|
disabled,
|
|
17927
17927
|
"aria-label": `Color: ${displayLabel}`,
|
|
17928
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17928
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ColorSwatch, { color: displayColor }),
|
|
17929
17929
|
selectedLabel: displayLabel,
|
|
17930
17930
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
17931
17931
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "group", className)
|
|
@@ -17946,7 +17946,7 @@ function HexInputs({ value, onChange }) {
|
|
|
17946
17946
|
}
|
|
17947
17947
|
const commit = () => {
|
|
17948
17948
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
17949
|
-
if (
|
|
17949
|
+
if (_chunkLDPEQGKTcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
17950
17950
|
else setDraft(value);
|
|
17951
17951
|
};
|
|
17952
17952
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18010,12 +18010,12 @@ function ChannelInput({
|
|
|
18010
18010
|
);
|
|
18011
18011
|
}
|
|
18012
18012
|
function RgbInputs({ value, onChange }) {
|
|
18013
|
-
const rgb = _nullishCoalesce(
|
|
18013
|
+
const rgb = _nullishCoalesce(_chunkLDPEQGKTcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
18014
18014
|
const update = (next) => {
|
|
18015
18015
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
18016
18016
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
18017
18017
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
18018
|
-
onChange(
|
|
18018
|
+
onChange(_chunkLDPEQGKTcjs.rgbToHex.call(void 0, r, g, b));
|
|
18019
18019
|
};
|
|
18020
18020
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
18021
18021
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -18024,14 +18024,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
18024
18024
|
] });
|
|
18025
18025
|
}
|
|
18026
18026
|
function HslInputs({ value, onChange }) {
|
|
18027
|
-
const rgb = _nullishCoalesce(
|
|
18028
|
-
const hsl =
|
|
18027
|
+
const rgb = _nullishCoalesce(_chunkLDPEQGKTcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
18028
|
+
const hsl = _chunkLDPEQGKTcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
18029
18029
|
const update = (next) => {
|
|
18030
18030
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
18031
18031
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
18032
18032
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
18033
|
-
const out =
|
|
18034
|
-
onChange(
|
|
18033
|
+
const out = _chunkLDPEQGKTcjs.hslToRgb.call(void 0, h, s, l);
|
|
18034
|
+
onChange(_chunkLDPEQGKTcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
18035
18035
|
};
|
|
18036
18036
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
18037
18037
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -18057,7 +18057,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
18057
18057
|
{
|
|
18058
18058
|
disabled,
|
|
18059
18059
|
"aria-label": "Pick custom color",
|
|
18060
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18060
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ColorSwatch, { color: value }),
|
|
18061
18061
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
18062
18062
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
18063
18063
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "group", className)
|
|
@@ -18073,7 +18073,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
18073
18073
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
18074
18074
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
18075
18075
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18076
|
-
|
|
18076
|
+
_chunkLDPEQGKTcjs.ActionsMenuDropdown,
|
|
18077
18077
|
{
|
|
18078
18078
|
groups: formatGroups,
|
|
18079
18079
|
align: "start",
|
|
@@ -18121,7 +18121,7 @@ function TicketStatusConfigRow({
|
|
|
18121
18121
|
isDragging,
|
|
18122
18122
|
moveButtons
|
|
18123
18123
|
}) {
|
|
18124
|
-
const dragAndDropEnabled =
|
|
18124
|
+
const dragAndDropEnabled = _chunkMGGGBHYDcjs.useDragAndDropEnabled.call(void 0, );
|
|
18125
18125
|
const nameInputId = _react.useId.call(void 0, );
|
|
18126
18126
|
const isSystem = variant === "system";
|
|
18127
18127
|
const isCustomColor = !isSystem && presetKey === void 0;
|
|
@@ -18130,7 +18130,7 @@ function TicketStatusConfigRow({
|
|
|
18130
18130
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
18131
18131
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
18132
18132
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18133
|
-
|
|
18133
|
+
_chunkLDPEQGKTcjs.TicketStatusTag,
|
|
18134
18134
|
{
|
|
18135
18135
|
status: statusKey,
|
|
18136
18136
|
label: name || " ",
|
|
@@ -18282,7 +18282,7 @@ function formatTestRunDuration(ms) {
|
|
|
18282
18282
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
18283
18283
|
var SKELETON_COLUMNS = 6;
|
|
18284
18284
|
function TestResultsSkeleton() {
|
|
18285
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18285
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
18286
18286
|
/* @__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}`)) }),
|
|
18287
18287
|
/* @__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)] content-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}`)) }) })
|
|
18288
18288
|
] }) });
|
|
@@ -18317,13 +18317,13 @@ function TestResultsTable({ rows, loading }) {
|
|
|
18317
18317
|
if (loading) {
|
|
18318
18318
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
18319
18319
|
}
|
|
18320
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18320
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.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: [
|
|
18321
18321
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
18322
18322
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
18323
18323
|
] }) }) });
|
|
18324
18324
|
}
|
|
18325
18325
|
function TestRunErrorBanner({ error, className }) {
|
|
18326
|
-
const { copy } =
|
|
18326
|
+
const { copy } = _chunkMGGGBHYDcjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
18327
18327
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18328
18328
|
"div",
|
|
18329
18329
|
{
|
|
@@ -18423,7 +18423,7 @@ function useTestRunState(campaign) {
|
|
|
18423
18423
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
18424
18424
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
18425
18425
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
18426
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
18426
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkLDPEQGKTcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
18427
18427
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
18428
18428
|
const displayRows = _react.useMemo.call(void 0,
|
|
18429
18429
|
() => campaign.results.map(
|
|
@@ -18761,7 +18761,7 @@ function TicketInfoSection({
|
|
|
18761
18761
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _430 => _430.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _431 => _431.icon]), onClick: _optionalChain([device, 'optionalAccess', _432 => _432.onClick]) }),
|
|
18762
18762
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
18763
18763
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18764
|
-
|
|
18764
|
+
_chunkLDPEQGKTcjs.TicketStatusTag,
|
|
18765
18765
|
{
|
|
18766
18766
|
status: _nullishCoalesce(status, () => ( "")),
|
|
18767
18767
|
label: statusLabel,
|
|
@@ -18800,7 +18800,7 @@ function TicketInfoSection({
|
|
|
18800
18800
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
18801
18801
|
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" }) }),
|
|
18802
18802
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
18803
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18803
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.SimpleMarkdownRenderer, { content: description }),
|
|
18804
18804
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
18805
18805
|
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, _chunkMMOODW57cjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
18806
18806
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18825,7 +18825,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
18825
18825
|
const { label, color } = option;
|
|
18826
18826
|
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: [
|
|
18827
18827
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
18828
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18828
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ColorSwatch, { color }),
|
|
18829
18829
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
18830
18830
|
] }),
|
|
18831
18831
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -18870,9 +18870,9 @@ function TakeOverTicketModal({
|
|
|
18870
18870
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
18871
18871
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
18872
18872
|
};
|
|
18873
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18873
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
18874
18874
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
18875
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18875
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
18876
18876
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
18877
18877
|
"The ticket ",
|
|
18878
18878
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -18887,7 +18887,7 @@ function TakeOverTicketModal({
|
|
|
18887
18887
|
value: selectedStatusId,
|
|
18888
18888
|
onChange: setStatusId,
|
|
18889
18889
|
placeholder: "Select Status",
|
|
18890
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18890
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
18891
18891
|
renderOption: renderTicketStatusOption
|
|
18892
18892
|
}
|
|
18893
18893
|
) }),
|
|
@@ -18914,7 +18914,7 @@ function TakeOverTicketModal({
|
|
|
18914
18914
|
}
|
|
18915
18915
|
) })
|
|
18916
18916
|
] }),
|
|
18917
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18917
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.ModalFooter, { children: [
|
|
18918
18918
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
18919
18919
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
18920
18920
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18973,9 +18973,9 @@ function ReopenTicketModal({
|
|
|
18973
18973
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
18974
18974
|
});
|
|
18975
18975
|
};
|
|
18976
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18976
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
18977
18977
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
18978
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18978
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
18979
18979
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
18980
18980
|
"The ticket ",
|
|
18981
18981
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -18990,7 +18990,7 @@ function ReopenTicketModal({
|
|
|
18990
18990
|
value: selectedStatusId,
|
|
18991
18991
|
onChange: setStatusId,
|
|
18992
18992
|
placeholder: "Select Status",
|
|
18993
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18993
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
18994
18994
|
renderOption: renderTicketStatusOption
|
|
18995
18995
|
}
|
|
18996
18996
|
) }),
|
|
@@ -19028,7 +19028,7 @@ function ReopenTicketModal({
|
|
|
19028
19028
|
disabled: isPending
|
|
19029
19029
|
}
|
|
19030
19030
|
) }),
|
|
19031
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19031
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.ModalFooter, { children: [
|
|
19032
19032
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
19033
19033
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
19034
19034
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19077,9 +19077,9 @@ function ReopenTicketRequestModal({
|
|
|
19077
19077
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
19078
19078
|
});
|
|
19079
19079
|
};
|
|
19080
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19080
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
19081
19081
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
19082
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19082
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
19083
19083
|
/* @__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." }),
|
|
19084
19084
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19085
19085
|
Textarea,
|
|
@@ -19103,7 +19103,7 @@ function ReopenTicketRequestModal({
|
|
|
19103
19103
|
disabled: isPending
|
|
19104
19104
|
}
|
|
19105
19105
|
),
|
|
19106
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19106
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.ModalFooter, { children: [
|
|
19107
19107
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
19108
19108
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
19109
19109
|
] })
|
|
@@ -19245,7 +19245,7 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
19245
19245
|
gap: COLUMN_GAP_PX
|
|
19246
19246
|
};
|
|
19247
19247
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk3ATAYP36cjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19248
|
-
|
|
19248
|
+
_chunkLDPEQGKTcjs.MarqueeWall,
|
|
19249
19249
|
{
|
|
19250
19250
|
axis: "y",
|
|
19251
19251
|
reverse: index % 2 === 1,
|
|
@@ -19336,9 +19336,9 @@ function LazyMount({
|
|
|
19336
19336
|
placeholder = null,
|
|
19337
19337
|
className,
|
|
19338
19338
|
style,
|
|
19339
|
-
rootMargin =
|
|
19339
|
+
rootMargin = _chunkC3BWIU7Rcjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
19340
19340
|
}) {
|
|
19341
|
-
const { ref, isNear } =
|
|
19341
|
+
const { ref, isNear } = _chunkC3BWIU7Rcjs.useNearViewport.call(void 0, rootMargin);
|
|
19342
19342
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className, style, children: isNear ? children : placeholder });
|
|
19343
19343
|
}
|
|
19344
19344
|
|
|
@@ -19389,7 +19389,7 @@ var INCIDENT_TONE = {
|
|
|
19389
19389
|
approved: "success"
|
|
19390
19390
|
};
|
|
19391
19391
|
function IncidentStatusLine({ status, label, className }) {
|
|
19392
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19392
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.StatusLine, { tone: INCIDENT_TONE[status], label, className });
|
|
19393
19393
|
}
|
|
19394
19394
|
function SourceTag({ children }) {
|
|
19395
19395
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 rounded-md border border-ods-border px-2 py-1 text-ods-text-secondary text-h5", children });
|
|
@@ -19494,8 +19494,8 @@ function SnapCarousel({
|
|
|
19494
19494
|
const trackRef = _react.useRef.call(void 0, null);
|
|
19495
19495
|
const [index, setIndex] = _react.useState.call(void 0, 0);
|
|
19496
19496
|
const [pressed, setPressed] = _react.useState.call(void 0, false);
|
|
19497
|
-
const { ref: viewRef, inView } =
|
|
19498
|
-
const auto =
|
|
19497
|
+
const { ref: viewRef, inView } = _chunkC3BWIU7Rcjs.useInView.call(void 0, { threshold: 0.5 });
|
|
19498
|
+
const auto = _chunkC3BWIU7Rcjs.useAutoplay.call(void 0, inView);
|
|
19499
19499
|
const count = items.length;
|
|
19500
19500
|
const slideStep = _react.useCallback.call(void 0, () => {
|
|
19501
19501
|
const first = _optionalChain([trackRef, 'access', _440 => _440.current, 'optionalAccess', _441 => _441.firstElementChild]);
|
|
@@ -19894,10 +19894,10 @@ function AccountDetailsFields({
|
|
|
19894
19894
|
onKeyDown,
|
|
19895
19895
|
layout = "stacked"
|
|
19896
19896
|
}) {
|
|
19897
|
-
const firstNameErr =
|
|
19898
|
-
const lastNameErr =
|
|
19899
|
-
const passwordErr =
|
|
19900
|
-
const confirmErr =
|
|
19897
|
+
const firstNameErr = _chunkMGGGBHYDcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _442 => _442.firstName]), firstName);
|
|
19898
|
+
const lastNameErr = _chunkMGGGBHYDcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _443 => _443.lastName]), lastName);
|
|
19899
|
+
const passwordErr = _chunkMGGGBHYDcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _444 => _444.password]), password);
|
|
19900
|
+
const confirmErr = _chunkMGGGBHYDcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _445 => _445.confirmPassword]), confirmPassword);
|
|
19901
19901
|
const names = [
|
|
19902
19902
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19903
19903
|
_chunkBM5MVGH3cjs.Input,
|
|
@@ -20337,9 +20337,9 @@ function CreateOrganizationForm({
|
|
|
20337
20337
|
}) {
|
|
20338
20338
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
20339
20339
|
const fieldsDisabled = disabled || loading;
|
|
20340
|
-
const emailErr =
|
|
20341
|
-
const orgNameErr =
|
|
20342
|
-
const domainErr =
|
|
20340
|
+
const emailErr = _chunkMGGGBHYDcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _447 => _447.email]), _nullishCoalesce(email, () => ( "")));
|
|
20341
|
+
const orgNameErr = _chunkMGGGBHYDcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _448 => _448.organizationName]), organizationName);
|
|
20342
|
+
const domainErr = _chunkMGGGBHYDcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _449 => _449.domain]), domain);
|
|
20343
20343
|
const handleKeyDown = (event) => {
|
|
20344
20344
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
20345
20345
|
onSubmit();
|
|
@@ -20555,7 +20555,7 @@ function LoginForm({
|
|
|
20555
20555
|
className
|
|
20556
20556
|
}) {
|
|
20557
20557
|
const fieldDisabled = disabled || loading;
|
|
20558
|
-
const emailErr =
|
|
20558
|
+
const emailErr = _chunkMGGGBHYDcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _456 => _456.email]), email);
|
|
20559
20559
|
const handleKeyDown = (event) => {
|
|
20560
20560
|
if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
|
|
20561
20561
|
_optionalChain([onSubmitClick, 'optionalCall', _457 => _457()]);
|
|
@@ -20697,8 +20697,8 @@ function OpenFrameSsoLoginForm({
|
|
|
20697
20697
|
className
|
|
20698
20698
|
}) {
|
|
20699
20699
|
const fieldsDisabled = disabled || loading;
|
|
20700
|
-
const emailErr =
|
|
20701
|
-
const passwordErr =
|
|
20700
|
+
const emailErr = _chunkMGGGBHYDcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _460 => _460.email]), email);
|
|
20701
|
+
const passwordErr = _chunkMGGGBHYDcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _461 => _461.password]), password);
|
|
20702
20702
|
const handleKeyDown = (event) => {
|
|
20703
20703
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
20704
20704
|
onSubmit();
|
|
@@ -20803,7 +20803,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
20803
20803
|
className
|
|
20804
20804
|
}) {
|
|
20805
20805
|
const fieldsDisabled = disabled || loading;
|
|
20806
|
-
const emailErr =
|
|
20806
|
+
const emailErr = _chunkMGGGBHYDcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _462 => _462.email]), email);
|
|
20807
20807
|
const handleKeyDown = (event) => {
|
|
20808
20808
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
20809
20809
|
onSubmit();
|
|
@@ -20908,8 +20908,8 @@ function PasswordResetForm({
|
|
|
20908
20908
|
className
|
|
20909
20909
|
}) {
|
|
20910
20910
|
const fieldsDisabled = disabled || loading;
|
|
20911
|
-
const passwordErr =
|
|
20912
|
-
const confirmErr =
|
|
20911
|
+
const passwordErr = _chunkMGGGBHYDcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _463 => _463.password]), password);
|
|
20912
|
+
const confirmErr = _chunkMGGGBHYDcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _464 => _464.confirmPassword]), confirmPassword);
|
|
20913
20913
|
const handleKeyDown = (event) => {
|
|
20914
20914
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
20915
20915
|
onSubmit();
|
|
@@ -22009,7 +22009,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
22009
22009
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
22010
22010
|
title: config.title,
|
|
22011
22011
|
loading: "eager",
|
|
22012
|
-
...
|
|
22012
|
+
..._chunkLDPEQGKTcjs.fetchPriorityProp.call(void 0, "high")
|
|
22013
22013
|
},
|
|
22014
22014
|
iframeKey
|
|
22015
22015
|
),
|
|
@@ -23006,7 +23006,7 @@ function MediaGalleryManager({
|
|
|
23006
23006
|
) }),
|
|
23007
23007
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
23008
23008
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
23009
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23009
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23010
23010
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23011
23011
|
_chunkMGHIV4L6cjs.next_image_default,
|
|
23012
23012
|
{
|
|
@@ -23449,7 +23449,7 @@ function PlatformFilterComponent({
|
|
|
23449
23449
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
23450
23450
|
size,
|
|
23451
23451
|
onClick: () => onPlatformChange(platform.value),
|
|
23452
|
-
leftIcon: showIcons ?
|
|
23452
|
+
leftIcon: showIcons ? _chunkMGGGBHYDcjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
23453
23453
|
className: "text-h3",
|
|
23454
23454
|
children: platform.label
|
|
23455
23455
|
},
|
|
@@ -23499,60 +23499,60 @@ function CardSkeleton({
|
|
|
23499
23499
|
function VendorCardContent({ showMetadata }) {
|
|
23500
23500
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 p-4", children: [
|
|
23501
23501
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
23502
|
-
/* @__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,
|
|
23502
|
+
/* @__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, _chunkLDPEQGKTcjs.MediaSkeleton.Avatar, { size: "sm", className: "h-11 w-11" }) }),
|
|
23503
23503
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
23504
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23505
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23504
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
23505
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
23506
23506
|
] })
|
|
23507
23507
|
] }),
|
|
23508
23508
|
/* @__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: [
|
|
23509
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23510
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23509
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23510
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23511
23511
|
] }) }),
|
|
23512
23512
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
23513
23513
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
23514
23514
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
23515
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23516
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23515
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
23516
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
23517
23517
|
] }),
|
|
23518
23518
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
23519
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23520
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23519
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
23520
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
23521
23521
|
] })
|
|
23522
23522
|
] }),
|
|
23523
23523
|
/* @__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: [
|
|
23524
|
-
/* @__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,
|
|
23525
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23524
|
+
/* @__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, _chunkLDPEQGKTcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
23525
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23526
23526
|
] }) })
|
|
23527
23527
|
] })
|
|
23528
23528
|
] });
|
|
23529
23529
|
}
|
|
23530
23530
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
23531
23531
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23532
|
-
/* @__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,
|
|
23532
|
+
/* @__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, _chunkLDPEQGKTcjs.MediaSkeleton.CardImage, {}) }),
|
|
23533
23533
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col p-4", children: [
|
|
23534
23534
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[50.4px] items-center content-md:min-h-[56px] content-lg:min-h-[61.6px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
23535
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23536
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23535
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "w-full" }),
|
|
23536
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "w-3/4" })
|
|
23537
23537
|
] }) }),
|
|
23538
23538
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-3 flex h-[28px] items-center gap-2", children: [
|
|
23539
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23540
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23539
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
23540
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Chip, { className: "w-12" })
|
|
23541
23541
|
] }),
|
|
23542
23542
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[42px] items-center content-md:min-h-[45px] content-lg:min-h-[48px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
23543
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23544
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23543
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23544
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
23545
23545
|
] }) }),
|
|
23546
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23546
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Button, { className: "h-8 w-24" }) }),
|
|
23547
23547
|
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: [
|
|
23548
23548
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
23549
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23550
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23549
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
23550
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23551
23551
|
] }),
|
|
23552
23552
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3 text-ods-text-muted", children: [
|
|
23553
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23553
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
23554
23554
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-1 w-1 rounded-full bg-ods-skeleton" }),
|
|
23555
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23555
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23556
23556
|
] })
|
|
23557
23557
|
] }) })
|
|
23558
23558
|
] })
|
|
@@ -23560,35 +23560,35 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
23560
23560
|
}
|
|
23561
23561
|
function CategoryCardContent() {
|
|
23562
23562
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 p-4 content-md:p-6", children: [
|
|
23563
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 content-md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23563
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 content-md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Icon, { size: "lg", className: "flex-shrink-0" }, index)) }),
|
|
23564
23564
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23565
23565
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
23566
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23567
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23566
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
23567
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
23568
23568
|
] }),
|
|
23569
23569
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between gap-4 content-md:items-end content-md:gap-6", children: [
|
|
23570
23570
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
23571
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23572
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23571
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23572
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23573
23573
|
] }),
|
|
23574
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23574
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Button, { className: "h-10 w-10 flex-shrink-0 content-md:h-12 content-md:w-12" })
|
|
23575
23575
|
] })
|
|
23576
23576
|
] })
|
|
23577
23577
|
] });
|
|
23578
23578
|
}
|
|
23579
23579
|
function AlternativeCardContent({ showActions }) {
|
|
23580
23580
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4 p-4", children: [
|
|
23581
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23581
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
23582
23582
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
23583
23583
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
23584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23585
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23584
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
23585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23586
23586
|
] }),
|
|
23587
23587
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
23588
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23589
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23588
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23589
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-5/6" })
|
|
23590
23590
|
] }),
|
|
23591
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23591
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Button, { className: "h-8 w-20" }) })
|
|
23592
23592
|
] })
|
|
23593
23593
|
] });
|
|
23594
23594
|
}
|
|
@@ -23639,12 +23639,12 @@ function HeroSkeleton() {
|
|
|
23639
23639
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
23640
23640
|
},
|
|
23641
23641
|
children: [
|
|
23642
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23642
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl content-md:mb-6 content-md:h-20 content-lg:h-24" }),
|
|
23643
23643
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-8 w-full max-w-4xl space-y-3 px-2 content-md:mb-10", children: [
|
|
23644
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23645
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23644
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "h-5 content-md:h-7" }),
|
|
23645
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 content-md:h-7" })
|
|
23646
23646
|
] }),
|
|
23647
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23647
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Button, { className: "h-12 w-full content-md:w-64" })
|
|
23648
23648
|
]
|
|
23649
23649
|
}
|
|
23650
23650
|
);
|
|
@@ -23655,14 +23655,14 @@ function SearchContainerSkeleton({
|
|
|
23655
23655
|
}) {
|
|
23656
23656
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className || ""), children: [
|
|
23657
23657
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 content-md:gap-4", children: [
|
|
23658
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23659
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23658
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
23659
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Button, { className: "w-32 content-md:w-40" })
|
|
23660
23660
|
] }),
|
|
23661
23661
|
showFilters && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-2", children: [
|
|
23662
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23663
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23664
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23665
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23662
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Chip, {}),
|
|
23663
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Chip, { className: "w-24" }),
|
|
23664
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
23665
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Chip, { className: "w-20" })
|
|
23666
23666
|
] })
|
|
23667
23667
|
] });
|
|
23668
23668
|
}
|
|
@@ -23681,7 +23681,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
23681
23681
|
{ type: "file", width: "w-36" }
|
|
23682
23682
|
];
|
|
23683
23683
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full content-lg:w-[320px]", className), children: [
|
|
23684
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23684
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
23685
23685
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23686
23686
|
"div",
|
|
23687
23687
|
{
|
|
@@ -23691,12 +23691,12 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
23691
23691
|
),
|
|
23692
23692
|
children: [
|
|
23693
23693
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2.5", children: [
|
|
23694
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23695
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23694
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { className: "h-4 w-4 shrink-0 rounded" }),
|
|
23695
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
23696
23696
|
] }),
|
|
23697
23697
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[18px] items-center gap-2", children: [
|
|
23698
|
-
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23699
|
-
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23698
|
+
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
23699
|
+
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { className: "h-4 w-4 rounded" })
|
|
23700
23700
|
] })
|
|
23701
23701
|
]
|
|
23702
23702
|
},
|
|
@@ -23706,13 +23706,13 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
23706
23706
|
}
|
|
23707
23707
|
function BreadcrumbSkeleton({ className }) {
|
|
23708
23708
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-6 flex items-center space-x-1", className), children: [
|
|
23709
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23710
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23711
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23712
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23713
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23714
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23715
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23709
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
23710
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
23711
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-24" }),
|
|
23712
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
23713
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-32" }),
|
|
23714
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
23715
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
23716
23716
|
] });
|
|
23717
23717
|
}
|
|
23718
23718
|
function ResultsHeaderSkeleton({ className }) {
|
|
@@ -23723,7 +23723,7 @@ function ResultsHeaderSkeleton({ className }) {
|
|
|
23723
23723
|
"mb-6 flex flex-col items-start justify-between gap-4 content-md:flex-row content-md:items-center",
|
|
23724
23724
|
className
|
|
23725
23725
|
),
|
|
23726
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23726
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-48" }) })
|
|
23727
23727
|
}
|
|
23728
23728
|
);
|
|
23729
23729
|
}
|
|
@@ -23757,35 +23757,35 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
23757
23757
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mx-auto max-w-4xl", className), children: [
|
|
23758
23758
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "mb-8 space-y-4 content-md:mb-12 content-md:space-y-6", children: [
|
|
23759
23759
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
23760
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23761
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23760
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Chip, {}),
|
|
23761
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Chip, { className: "w-16" })
|
|
23762
23762
|
] }),
|
|
23763
23763
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
23764
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23765
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23764
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Heading, { className: "w-full" }),
|
|
23765
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Heading, { className: "w-3/4" })
|
|
23766
23766
|
] }),
|
|
23767
23767
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 border-t border-ods-divider pt-4", children: [
|
|
23768
23768
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
23769
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23770
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23769
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
23770
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
23771
23771
|
] }),
|
|
23772
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23773
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23772
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-20" }),
|
|
23773
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23774
23774
|
] })
|
|
23775
23775
|
] }),
|
|
23776
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23776
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.CardImage, { className: "h-64 w-full content-md:h-96" }) }),
|
|
23777
23777
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
23778
23778
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23779
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23780
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23781
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23782
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23779
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23780
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23781
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-5/6" }),
|
|
23782
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
23783
23783
|
] }, index)),
|
|
23784
23784
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "py-4", children: [
|
|
23785
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23785
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "mb-4 w-2/3" }),
|
|
23786
23786
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23787
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23788
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23787
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23788
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-4/5" })
|
|
23789
23789
|
] })
|
|
23790
23790
|
] })
|
|
23791
23791
|
] })
|
|
@@ -24011,11 +24011,11 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
24011
24011
|
className
|
|
24012
24012
|
),
|
|
24013
24013
|
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: [
|
|
24014
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24015
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24014
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Icon, { size: "lg" }),
|
|
24015
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
24016
24016
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
24017
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24018
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24017
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24018
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
24019
24019
|
] })
|
|
24020
24020
|
] }) }, i))
|
|
24021
24021
|
}
|
|
@@ -24170,7 +24170,7 @@ function useContentLoading(isLoading) {
|
|
|
24170
24170
|
|
|
24171
24171
|
function ParagraphSkeleton({ className, lines = 4 }) {
|
|
24172
24172
|
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
24173
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24173
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-2", className), children: Array.from({ length: lines }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: lineWidths[index % lineWidths.length] }, index)) });
|
|
24174
24174
|
}
|
|
24175
24175
|
function ListSkeleton({
|
|
24176
24176
|
className,
|
|
@@ -24180,12 +24180,12 @@ function ListSkeleton({
|
|
|
24180
24180
|
}) {
|
|
24181
24181
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.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: [
|
|
24182
24182
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24183
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24184
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24183
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24184
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-32 content-md:w-48" })
|
|
24185
24185
|
] }),
|
|
24186
24186
|
showActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
24187
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24188
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24187
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-8" }),
|
|
24188
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4" })
|
|
24189
24189
|
] })
|
|
24190
24190
|
] }, index)) });
|
|
24191
24191
|
}
|
|
@@ -24195,13 +24195,13 @@ function TableSkeleton({
|
|
|
24195
24195
|
columns = 4
|
|
24196
24196
|
}) {
|
|
24197
24197
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
24198
|
-
/* @__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,
|
|
24198
|
+
/* @__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, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "w-3/4" }, index)) }),
|
|
24199
24199
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24200
24200
|
"div",
|
|
24201
24201
|
{
|
|
24202
24202
|
className: "grid gap-4 border-b border-ods-divider py-2",
|
|
24203
24203
|
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
24204
|
-
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24204
|
+
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-2/3" }, colIndex))
|
|
24205
24205
|
},
|
|
24206
24206
|
rowIndex
|
|
24207
24207
|
)) })
|
|
@@ -24210,13 +24210,13 @@ function TableSkeleton({
|
|
|
24210
24210
|
function FormSkeleton({ className, fields = 4 }) {
|
|
24211
24211
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: [
|
|
24212
24212
|
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
24213
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24214
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24215
|
-
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24213
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
24214
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Input, {}),
|
|
24215
|
+
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-48" })
|
|
24216
24216
|
] }, index)),
|
|
24217
24217
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 pt-4", children: [
|
|
24218
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24219
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24218
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Button, {}),
|
|
24219
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Button, { className: "bg-ods-border" })
|
|
24220
24220
|
] })
|
|
24221
24221
|
] });
|
|
24222
24222
|
}
|
|
@@ -24231,7 +24231,7 @@ function NavigationSkeleton({
|
|
|
24231
24231
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex gap-4 content-md:gap-6", !horizontal && "flex-col", className),
|
|
24232
24232
|
role: "status",
|
|
24233
24233
|
"aria-label": "Loading navigation",
|
|
24234
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24234
|
+
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-16 content-md:w-20" }, index))
|
|
24235
24235
|
}
|
|
24236
24236
|
);
|
|
24237
24237
|
}
|
|
@@ -24242,30 +24242,30 @@ function ProfileSkeleton({
|
|
|
24242
24242
|
}) {
|
|
24243
24243
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
24244
24244
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
24245
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24245
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Avatar, { size: "lg" }),
|
|
24246
24246
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
24247
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24248
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24249
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24247
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
24248
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-1/3" }),
|
|
24249
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24250
24250
|
] })
|
|
24251
24251
|
] }),
|
|
24252
24252
|
showBio && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
24253
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24254
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24255
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24253
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24254
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-4/5" }),
|
|
24255
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
24256
24256
|
] }),
|
|
24257
24257
|
showStats && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-6", children: [
|
|
24258
24258
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
24259
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24260
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24259
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
24260
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "mx-auto w-12" })
|
|
24261
24261
|
] }),
|
|
24262
24262
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
24263
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24263
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
24264
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "mx-auto w-16" })
|
|
24265
24265
|
] }),
|
|
24266
24266
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
24267
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24268
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24267
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
24268
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "mx-auto w-14" })
|
|
24269
24269
|
] })
|
|
24270
24270
|
] })
|
|
24271
24271
|
] });
|
|
@@ -24277,32 +24277,32 @@ function CommentSkeleton({
|
|
|
24277
24277
|
}) {
|
|
24278
24278
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: [
|
|
24279
24279
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24280
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24280
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
24281
24281
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center gap-4", children: [
|
|
24282
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24283
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24284
|
-
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,
|
|
24282
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
24283
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
24284
|
+
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, _chunkLDPEQGKTcjs.MediaSkeleton.Icon, { size: "sm" }, i)) })
|
|
24285
24285
|
] })
|
|
24286
24286
|
] }),
|
|
24287
24287
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 space-y-2", children: [
|
|
24288
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24289
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24290
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24288
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24289
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-3/4" }),
|
|
24290
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
24291
24291
|
] }),
|
|
24292
24292
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 flex gap-4", children: [
|
|
24293
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24294
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24295
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24293
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
24294
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
24295
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
24296
24296
|
] }),
|
|
24297
24297
|
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: [
|
|
24298
24298
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24299
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24300
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24301
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24299
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
24300
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-20" }),
|
|
24301
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-12" })
|
|
24302
24302
|
] }),
|
|
24303
24303
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11", children: [
|
|
24304
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24305
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24304
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24305
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24306
24306
|
] })
|
|
24307
24307
|
] }, index)) })
|
|
24308
24308
|
] });
|
|
@@ -24315,31 +24315,31 @@ function FeatureListSkeleton({
|
|
|
24315
24315
|
}) {
|
|
24316
24316
|
if (grouped) {
|
|
24317
24317
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.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: [
|
|
24318
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24318
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
24319
24319
|
/* @__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: [
|
|
24320
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24321
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24320
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24322
24322
|
] }, featureIndex)) })
|
|
24323
24323
|
] }, groupIndex)) });
|
|
24324
24324
|
}
|
|
24325
24325
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.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: [
|
|
24326
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24327
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24326
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24327
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24328
24328
|
] }, index)) });
|
|
24329
24329
|
}
|
|
24330
24330
|
function TimelineSkeleton({ className, items = 5 }) {
|
|
24331
24331
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.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: [
|
|
24332
24332
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center", children: [
|
|
24333
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24333
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24334
24334
|
index < items - 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2 h-12 w-px bg-ods-border" })
|
|
24335
24335
|
] }),
|
|
24336
24336
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
24337
24337
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24338
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24339
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24338
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-1/3" }),
|
|
24339
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
24340
24340
|
] }),
|
|
24341
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24342
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24341
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24342
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
24343
24343
|
] })
|
|
24344
24344
|
] }, index)) });
|
|
24345
24345
|
}
|
|
@@ -24355,16 +24355,16 @@ function PricingSkeleton({ className, plans = 3 }) {
|
|
|
24355
24355
|
className
|
|
24356
24356
|
),
|
|
24357
24357
|
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: [
|
|
24358
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24358
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
24359
24359
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
24360
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24361
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24360
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Heading, { className: "w-1/3" }),
|
|
24361
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-1/4" })
|
|
24362
24362
|
] }),
|
|
24363
24363
|
/* @__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: [
|
|
24364
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24365
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24364
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24365
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
24366
24366
|
] }, featureIndex)) }),
|
|
24367
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24367
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Button, { className: "w-full" })
|
|
24368
24368
|
] }) }, index))
|
|
24369
24369
|
}
|
|
24370
24370
|
);
|
|
@@ -24400,12 +24400,12 @@ function MspProfileFormSkeleton({ className, fields = 4 }) {
|
|
|
24400
24400
|
"aria-label": "Loading MSP profile form",
|
|
24401
24401
|
children: [
|
|
24402
24402
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col space-y-2", children: [
|
|
24403
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24404
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 content-md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24403
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-28" }),
|
|
24404
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 content-md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { className: "h-full w-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
24405
24405
|
] }),
|
|
24406
24406
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-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: [
|
|
24407
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24408
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24407
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-40" }),
|
|
24408
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.InteractiveSkeleton.Input, {})
|
|
24409
24409
|
] }, idx)) })
|
|
24410
24410
|
]
|
|
24411
24411
|
}
|
|
@@ -24425,13 +24425,13 @@ function CategoryCardSkeleton({ className }) {
|
|
|
24425
24425
|
role: "status",
|
|
24426
24426
|
"aria-label": "Loading category card",
|
|
24427
24427
|
children: [
|
|
24428
|
-
/* @__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,
|
|
24428
|
+
/* @__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, _chunkLDPEQGKTcjs.UnifiedSkeleton, { variant: "circular", className: "h-10 w-10 flex-shrink-0", "aria-label": "Loading icon" }, i)) }),
|
|
24429
24429
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col space-y-3", children: [
|
|
24430
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24431
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24432
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24430
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Heading, { className: "w-3/4" }),
|
|
24431
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-1/2" }),
|
|
24432
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-full" })
|
|
24433
24433
|
] }),
|
|
24434
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24434
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-[6px]", "aria-label": "Loading button" }) })
|
|
24435
24435
|
]
|
|
24436
24436
|
}
|
|
24437
24437
|
);
|
|
@@ -24448,12 +24448,12 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
24448
24448
|
"aria-label": "Loading category section",
|
|
24449
24449
|
children: [
|
|
24450
24450
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 max-w-xl space-y-2", children: [
|
|
24451
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24452
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24451
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Heading, { className: "w-1/2" }),
|
|
24452
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
24453
24453
|
] }),
|
|
24454
24454
|
/* @__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: [
|
|
24455
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24456
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 content-md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24455
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
24456
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 content-md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
24457
24457
|
] }, idx)) })
|
|
24458
24458
|
]
|
|
24459
24459
|
}
|
|
@@ -24464,14 +24464,14 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
24464
24464
|
|
|
24465
24465
|
function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
24466
24466
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), role: "status", "aria-label": "Loading wizard layout", children: [
|
|
24467
|
-
/* @__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,
|
|
24467
|
+
/* @__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, _chunkLDPEQGKTcjs.UnifiedSkeleton, { className: "h-6 w-24 rounded" }, i)) }),
|
|
24468
24468
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-w-2xl space-y-2", children: [
|
|
24469
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24470
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24469
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Heading, { className: "w-2/3" }),
|
|
24470
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
24471
24471
|
] }),
|
|
24472
24472
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-10 flex justify-between", children: [
|
|
24473
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24474
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24473
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
|
|
24474
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { className: "h-10 w-32 rounded" })
|
|
24475
24475
|
] })
|
|
24476
24476
|
] });
|
|
24477
24477
|
}
|
|
@@ -24863,28 +24863,28 @@ function OrganizationCardSkeleton({
|
|
|
24863
24863
|
}
|
|
24864
24864
|
),
|
|
24865
24865
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
24866
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24867
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24866
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
24867
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
24868
24868
|
] })
|
|
24869
24869
|
] }),
|
|
24870
24870
|
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: [
|
|
24871
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24872
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24871
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24872
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24873
24873
|
] }) }),
|
|
24874
24874
|
showFooter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
24875
24875
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
24876
24876
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
24877
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24878
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24877
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
24878
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
24879
24879
|
] }),
|
|
24880
24880
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
24881
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24882
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24881
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
24882
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
24883
24883
|
] })
|
|
24884
24884
|
] }),
|
|
24885
24885
|
/* @__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: [
|
|
24886
|
-
/* @__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,
|
|
24887
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24886
|
+
/* @__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, _chunkLDPEQGKTcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
24887
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
24888
24888
|
] }) })
|
|
24889
24889
|
] })
|
|
24890
24890
|
] })
|
|
@@ -24961,16 +24961,16 @@ function DeviceCardSkeletonGrid({ count = 12, className }) {
|
|
|
24961
24961
|
|
|
24962
24962
|
function PushButtonSelectorSkeleton({ count = 3, hasTitle }) {
|
|
24963
24963
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", role: "status", "aria-label": "Loading options", children: [
|
|
24964
|
-
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24964
|
+
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { className: "h-5 w-20", "aria-label": "Loading title" }),
|
|
24965
24965
|
/* @__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: [
|
|
24966
24966
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24967
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24967
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { className: "h-8 w-8", "aria-label": "Loading icon" }),
|
|
24968
24968
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
24969
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24970
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24969
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { variant: "text", className: "mb-2 h-4 w-24", "aria-label": "Loading name" }),
|
|
24970
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { variant: "text", className: "h-4 w-36", "aria-label": "Loading description" })
|
|
24971
24971
|
] })
|
|
24972
24972
|
] }),
|
|
24973
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24973
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.UnifiedSkeleton, { className: "h-6 w-6", "aria-label": "Loading selection state" })
|
|
24974
24974
|
] }) }, i)) })
|
|
24975
24975
|
] });
|
|
24976
24976
|
}
|
|
@@ -25092,9 +25092,9 @@ function PushButtonSelector({
|
|
|
25092
25092
|
option.id
|
|
25093
25093
|
);
|
|
25094
25094
|
if (option.disabled && option.disabledReason) {
|
|
25095
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25096
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25097
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25095
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.Tooltip, { children: [
|
|
25096
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
25097
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
25098
25098
|
] }, option.id);
|
|
25099
25099
|
}
|
|
25100
25100
|
return optionEl;
|
|
@@ -25139,7 +25139,7 @@ function PushButtonSelector({
|
|
|
25139
25139
|
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
|
|
25140
25140
|
] }) : null
|
|
25141
25141
|
] });
|
|
25142
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25142
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
25143
25143
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
25144
25144
|
searchInput,
|
|
25145
25145
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -25353,7 +25353,7 @@ function SEOEditorPreview({
|
|
|
25353
25353
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
25354
25354
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
25355
25355
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25356
|
-
|
|
25356
|
+
_chunkLDPEQGKTcjs.Field,
|
|
25357
25357
|
{
|
|
25358
25358
|
label: "SEO Title",
|
|
25359
25359
|
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${SEO_TITLE_MAX_LENGTH})` : null,
|
|
@@ -25393,7 +25393,7 @@ function SEOEditorPreview({
|
|
|
25393
25393
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
25394
25394
|
] }),
|
|
25395
25395
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25396
|
-
|
|
25396
|
+
_chunkLDPEQGKTcjs.Field,
|
|
25397
25397
|
{
|
|
25398
25398
|
label: "SEO Keywords",
|
|
25399
25399
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -25425,7 +25425,7 @@ function SEOEditorPreview({
|
|
|
25425
25425
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
25426
25426
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
25427
25427
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25428
|
-
|
|
25428
|
+
_chunkLDPEQGKTcjs.Field,
|
|
25429
25429
|
{
|
|
25430
25430
|
label: "SEO Description",
|
|
25431
25431
|
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
@@ -26103,7 +26103,7 @@ function VideoBitesDisplay({
|
|
|
26103
26103
|
filterPublished = true,
|
|
26104
26104
|
showTitle = true
|
|
26105
26105
|
}) {
|
|
26106
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26106
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
26107
26107
|
}
|
|
26108
26108
|
|
|
26109
26109
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -26173,7 +26173,7 @@ function WalkthroughVideo({
|
|
|
26173
26173
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
26174
26174
|
};
|
|
26175
26175
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
26176
|
-
const hydrated =
|
|
26176
|
+
const hydrated = _chunkLDPEQGKTcjs.useIsHydrated.call(void 0, );
|
|
26177
26177
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
26178
26178
|
if (!hydrated) return false;
|
|
26179
26179
|
try {
|
|
@@ -26572,7 +26572,7 @@ function WalkthroughVideo({
|
|
|
26572
26572
|
},
|
|
26573
26573
|
children: [
|
|
26574
26574
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26575
|
-
|
|
26575
|
+
_chunkLDPEQGKTcjs.VideoHoverPreviewSurface,
|
|
26576
26576
|
{
|
|
26577
26577
|
url: video.mainVideoUrl || "",
|
|
26578
26578
|
posterUrl: video.posterUrl,
|
|
@@ -26595,7 +26595,7 @@ function WalkthroughVideo({
|
|
|
26595
26595
|
`card-${embedUrlKey}`
|
|
26596
26596
|
) }),
|
|
26597
26597
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26598
|
-
|
|
26598
|
+
_chunkLDPEQGKTcjs.CardHitLayer,
|
|
26599
26599
|
{
|
|
26600
26600
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
26601
26601
|
onPointerDown: pausePreviewNow,
|
|
@@ -26710,7 +26710,7 @@ function WalkthroughVideo({
|
|
|
26710
26710
|
children: [
|
|
26711
26711
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
26712
26712
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26713
|
-
|
|
26713
|
+
_chunkLDPEQGKTcjs.Video,
|
|
26714
26714
|
{
|
|
26715
26715
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
26716
26716
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -26761,7 +26761,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
26761
26761
|
var _reactquery = require('@tanstack/react-query');
|
|
26762
26762
|
function useWalkthroughVideo(opts) {
|
|
26763
26763
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
26764
|
-
const captions =
|
|
26764
|
+
const captions = _chunkLDPEQGKTcjs.useCaptions.call(void 0, );
|
|
26765
26765
|
const query = _reactquery.useQuery.call(void 0, {
|
|
26766
26766
|
queryKey: ["walkthrough-video", endpoint],
|
|
26767
26767
|
enabled,
|
|
@@ -26959,7 +26959,7 @@ function VideoSourceSelector({
|
|
|
26959
26959
|
}
|
|
26960
26960
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
26961
26961
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
26962
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26962
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
26963
26963
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26964
26964
|
"button",
|
|
26965
26965
|
{
|
|
@@ -27483,7 +27483,7 @@ function HighlightVideoSection({
|
|
|
27483
27483
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
27484
27484
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
27485
27485
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
27486
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27486
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
27487
27487
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
27488
27488
|
"button",
|
|
27489
27489
|
{
|
|
@@ -27510,7 +27510,7 @@ function HighlightConfigSection({
|
|
|
27510
27510
|
disabled = false,
|
|
27511
27511
|
className = ""
|
|
27512
27512
|
}) {
|
|
27513
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27513
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
27514
27514
|
Select,
|
|
27515
27515
|
{
|
|
27516
27516
|
value: targetDurationSeconds.toString(),
|
|
@@ -28197,7 +28197,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
28197
28197
|
if (level) onPermissionChange(categoryId, policy.id, level);
|
|
28198
28198
|
};
|
|
28199
28199
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0 content-md:items-center", children: [
|
|
28200
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28200
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-md border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC3BWIU7Rcjs.ToolIcon, { toolType: policy.toolName, size: 16 }) }),
|
|
28201
28201
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
28202
28202
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h4", title: policy.name, children: policy.name }),
|
|
28203
28203
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "break-all text-ods-text-secondary text-h6", children: policy.commandPattern }),
|
|
@@ -28223,7 +28223,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
28223
28223
|
] });
|
|
28224
28224
|
};
|
|
28225
28225
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
28226
|
-
const { innerRef, containerStyle } =
|
|
28226
|
+
const { innerRef, containerStyle } = _chunkLDPEQGKTcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
28227
28227
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
28228
28228
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28229
28229
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -28389,13 +28389,13 @@ function WaitlistForm({
|
|
|
28389
28389
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
28390
28390
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
28391
28391
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
28392
|
-
const { toast } =
|
|
28393
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
28392
|
+
const { toast } = _chunkMGGGBHYDcjs.useToast.call(void 0, );
|
|
28393
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkMGGGBHYDcjs.useHumanitySignals.call(void 0, );
|
|
28394
28394
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
28395
|
-
const isClient =
|
|
28395
|
+
const isClient = _chunkLDPEQGKTcjs.useIsHydrated.call(void 0, );
|
|
28396
28396
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
28397
28397
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
28398
|
-
const rescue =
|
|
28398
|
+
const rescue = _chunkMGGGBHYDcjs.useFormRescue.call(void 0, {
|
|
28399
28399
|
form: rescueForm,
|
|
28400
28400
|
// The phone is reported as filled only; its value never leaves the form early.
|
|
28401
28401
|
fieldNames: ["email", "phone"],
|
|
@@ -29038,7 +29038,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
29038
29038
|
}, [mobileBreakpoint]);
|
|
29039
29039
|
const panelRef = _react.useRef.call(void 0, null);
|
|
29040
29040
|
const available = useContainerExtent(resizable, isHorizontal, portalContainer);
|
|
29041
|
-
const { size, setSize, clampSize } =
|
|
29041
|
+
const { size, setSize, clampSize } = _chunkLDPEQGKTcjs.useResizablePanelSize.call(void 0, {
|
|
29042
29042
|
enabled: resizable,
|
|
29043
29043
|
minSize,
|
|
29044
29044
|
maxSize,
|
|
@@ -29058,7 +29058,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
29058
29058
|
"data-state": open ? "open" : "closed",
|
|
29059
29059
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
29060
29060
|
"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",
|
|
29061
|
-
|
|
29061
|
+
_chunkLDPEQGKTcjs.OVERLAY_BACKDROP_CLASS,
|
|
29062
29062
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
29063
29063
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
29064
29064
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -29099,7 +29099,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
29099
29099
|
...props,
|
|
29100
29100
|
children: [
|
|
29101
29101
|
applyInlineSize && (!persist || open) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29102
|
-
|
|
29102
|
+
_chunkLDPEQGKTcjs.PanelResizeHandle,
|
|
29103
29103
|
{
|
|
29104
29104
|
variant: "inLayout",
|
|
29105
29105
|
side: resolvedSide,
|
|
@@ -29138,11 +29138,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
29138
29138
|
}
|
|
29139
29139
|
);
|
|
29140
29140
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
29141
|
-
var AppLayoutDrawerHeader =
|
|
29142
|
-
var AppLayoutDrawerTitle =
|
|
29143
|
-
var AppLayoutDrawerDescription =
|
|
29144
|
-
var AppLayoutDrawerBody =
|
|
29145
|
-
var AppLayoutDrawerFooter =
|
|
29141
|
+
var AppLayoutDrawerHeader = _chunkLDPEQGKTcjs.DrawerHeader;
|
|
29142
|
+
var AppLayoutDrawerTitle = _chunkLDPEQGKTcjs.DrawerTitle;
|
|
29143
|
+
var AppLayoutDrawerDescription = _chunkLDPEQGKTcjs.DrawerDescription;
|
|
29144
|
+
var AppLayoutDrawerBody = _chunkLDPEQGKTcjs.DrawerBody;
|
|
29145
|
+
var AppLayoutDrawerFooter = _chunkLDPEQGKTcjs.DrawerFooter;
|
|
29146
29146
|
|
|
29147
29147
|
// src/components/features/notifications/notification-tile.tsx
|
|
29148
29148
|
|
|
@@ -29161,7 +29161,7 @@ var typeColorByVariant = {
|
|
|
29161
29161
|
error: "text-ods-error"
|
|
29162
29162
|
};
|
|
29163
29163
|
var progressColorByVariant2 = {
|
|
29164
|
-
...
|
|
29164
|
+
..._chunkMGGGBHYDcjs.progressColorByVariant,
|
|
29165
29165
|
default: "bg-ods-accent",
|
|
29166
29166
|
info: "bg-ods-accent"
|
|
29167
29167
|
};
|
|
@@ -29238,7 +29238,7 @@ function NotificationTile({
|
|
|
29238
29238
|
height: 16,
|
|
29239
29239
|
unoptimized: true
|
|
29240
29240
|
}
|
|
29241
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
29241
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "size-1.5 rounded-full", _chunkMGGGBHYDcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
29242
29242
|
type ? lockscreen ? (
|
|
29243
29243
|
// A phone names the sender in plain words and never cuts them.
|
|
29244
29244
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 break-words text-ods-text-secondary text-h6", children: type })
|
|
@@ -29248,7 +29248,7 @@ function NotificationTile({
|
|
|
29248
29248
|
{
|
|
29249
29249
|
dateTime: createdAtIso,
|
|
29250
29250
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", lockscreen && "self-start"),
|
|
29251
|
-
children: _nullishCoalesce(timeLabel, () => (
|
|
29251
|
+
children: _nullishCoalesce(timeLabel, () => ( _chunkLDPEQGKTcjs.formatTicketRelativeTime.call(void 0, createdAtIso)))
|
|
29252
29252
|
}
|
|
29253
29253
|
) : null,
|
|
29254
29254
|
!lockscreen && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
@@ -29357,7 +29357,7 @@ function NotificationDrawer({
|
|
|
29357
29357
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
29358
29358
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29359
29359
|
/* @__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,
|
|
29360
|
-
|
|
29360
|
+
_chunkLDPEQGKTcjs.DrawerTitle,
|
|
29361
29361
|
{
|
|
29362
29362
|
hideClose: true,
|
|
29363
29363
|
className: "truncate",
|
|
@@ -29416,8 +29416,8 @@ function NotificationDrawer({
|
|
|
29416
29416
|
}
|
|
29417
29417
|
) });
|
|
29418
29418
|
}
|
|
29419
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29420
|
-
|
|
29419
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29420
|
+
_chunkLDPEQGKTcjs.DrawerContent,
|
|
29421
29421
|
{
|
|
29422
29422
|
side: "right",
|
|
29423
29423
|
"aria-describedby": void 0,
|
|
@@ -29522,7 +29522,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
29522
29522
|
] });
|
|
29523
29523
|
}
|
|
29524
29524
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
29525
|
-
const { supported, permission, request } =
|
|
29525
|
+
const { supported, permission, request } = _chunkMGGGBHYDcjs.useNotificationPermission.call(void 0, );
|
|
29526
29526
|
if (!supported) return null;
|
|
29527
29527
|
const blocked = permission === "denied";
|
|
29528
29528
|
const handleChange = async (value) => {
|
|
@@ -29700,13 +29700,13 @@ function getApprovalMeta(notification) {
|
|
|
29700
29700
|
function resolutionToStatus(resolution) {
|
|
29701
29701
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
29702
29702
|
case "APPROVED":
|
|
29703
|
-
return
|
|
29703
|
+
return _chunkLDPEQGKTcjs.APPROVAL_STATUS.APPROVED;
|
|
29704
29704
|
case "REJECTED":
|
|
29705
|
-
return
|
|
29705
|
+
return _chunkLDPEQGKTcjs.APPROVAL_STATUS.REJECTED;
|
|
29706
29706
|
case "CANCELLED":
|
|
29707
|
-
return
|
|
29707
|
+
return _chunkLDPEQGKTcjs.APPROVAL_STATUS.CANCELLED;
|
|
29708
29708
|
default:
|
|
29709
|
-
return
|
|
29709
|
+
return _chunkLDPEQGKTcjs.APPROVAL_STATUS.PENDING;
|
|
29710
29710
|
}
|
|
29711
29711
|
}
|
|
29712
29712
|
function approvalMetaToBatchData(approval) {
|
|
@@ -29752,7 +29752,7 @@ function ApprovalRequestNotificationTile({
|
|
|
29752
29752
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _635 => _635.resolution]));
|
|
29753
29753
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
29754
29754
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
29755
|
-
const { innerRef, containerStyle } =
|
|
29755
|
+
const { innerRef, containerStyle } = _chunkLDPEQGKTcjs.useCollapsible.call(void 0, { expanded });
|
|
29756
29756
|
if (!approval || !batchData) return null;
|
|
29757
29757
|
const tileNotification = {
|
|
29758
29758
|
...notification,
|
|
@@ -29815,7 +29815,7 @@ function ApprovalRequestNotificationTile({
|
|
|
29815
29815
|
}
|
|
29816
29816
|
)
|
|
29817
29817
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
29818
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29818
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ApprovalStatusTag, { status }),
|
|
29819
29819
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
29820
29820
|
"by ",
|
|
29821
29821
|
approval.resolvedByName
|
|
@@ -29833,12 +29833,12 @@ function ApprovalRequestNotificationTile({
|
|
|
29833
29833
|
"aria-expanded": expanded,
|
|
29834
29834
|
"aria-label": toggleLabel,
|
|
29835
29835
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
29836
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29836
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ExpandChevron, { expanded })
|
|
29837
29837
|
}
|
|
29838
29838
|
)
|
|
29839
29839
|
] }),
|
|
29840
29840
|
children: !lockscreen && /* @__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,
|
|
29841
|
-
|
|
29841
|
+
_chunkLDPEQGKTcjs.ApprovalBatchMessage,
|
|
29842
29842
|
{
|
|
29843
29843
|
data: batchData,
|
|
29844
29844
|
showExecutionStatus: false,
|
|
@@ -30355,7 +30355,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
30355
30355
|
"data-state": isOpen ? "open" : "closed",
|
|
30356
30356
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
30357
30357
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
30358
|
-
|
|
30358
|
+
_chunkLDPEQGKTcjs.OVERLAY_BACKDROP_CLASS,
|
|
30359
30359
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
30360
30360
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
30361
30361
|
)
|
|
@@ -31045,9 +31045,9 @@ function KeepRecordingModal({
|
|
|
31045
31045
|
if (!canKeep || isPending) return;
|
|
31046
31046
|
onConfirm({ reason, description: reason === "OTHER" ? trimmed : null });
|
|
31047
31047
|
};
|
|
31048
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31048
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
31049
31049
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
31050
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31050
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalTitle, { children: "Keep this recording" }) }),
|
|
31051
31051
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31052
31052
|
KeepNotice,
|
|
31053
31053
|
{
|
|
@@ -31085,7 +31085,7 @@ function KeepRecordingModal({
|
|
|
31085
31085
|
}
|
|
31086
31086
|
)
|
|
31087
31087
|
] }),
|
|
31088
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31088
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.ModalFooter, { children: [
|
|
31089
31089
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
31090
31090
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
31091
31091
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -31115,9 +31115,9 @@ function ReleaseKeepingModal({
|
|
|
31115
31115
|
isPending = false,
|
|
31116
31116
|
onConfirm
|
|
31117
31117
|
}) {
|
|
31118
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31118
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
31119
31119
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
31120
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31120
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.ModalTitle, { children: "Release Keeping" }) }),
|
|
31121
31121
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xsf)] text-ods-text-primary text-h4", children: [
|
|
31122
31122
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { children: [
|
|
31123
31123
|
"Kept by ",
|
|
@@ -31134,7 +31134,7 @@ function ReleaseKeepingModal({
|
|
|
31134
31134
|
] })
|
|
31135
31135
|
] }),
|
|
31136
31136
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, KeepNotice, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.HourglassIcon, { size: 24, color: "currentColor" }), title: `It will expire on ${expiresOn}`, children: dueOn ? `It was due to expire on ${dueOn}. Releasing gives it 3 days' grace, and it shows amber until then. Whoever placed the Keep is reminded the day before it goes. Nothing is deleted now.` : "Nothing is deleted now." }),
|
|
31137
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31137
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.ModalFooter, { children: [
|
|
31138
31138
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
31139
31139
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
31140
31140
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "accent", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Release Keeping" })
|
|
@@ -31398,7 +31398,7 @@ function BoardColumnHeader({
|
|
|
31398
31398
|
}) {
|
|
31399
31399
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
31400
31400
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
31401
|
-
const useStatusVariant =
|
|
31401
|
+
const useStatusVariant = _chunkLDPEQGKTcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
31402
31402
|
const actionClass = "h-8 w-8 p-0 content-md:h-8 content-md:w-8";
|
|
31403
31403
|
if (collapsed) {
|
|
31404
31404
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -31414,7 +31414,7 @@ function BoardColumnHeader({
|
|
|
31414
31414
|
}
|
|
31415
31415
|
),
|
|
31416
31416
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31417
|
-
|
|
31417
|
+
_chunkLDPEQGKTcjs.TicketStatusTag,
|
|
31418
31418
|
{
|
|
31419
31419
|
status: tagStatus,
|
|
31420
31420
|
label: column.label,
|
|
@@ -31427,7 +31427,7 @@ function BoardColumnHeader({
|
|
|
31427
31427
|
}
|
|
31428
31428
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
31429
31429
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
31430
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31430
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
31431
31431
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
31432
31432
|
] }),
|
|
31433
31433
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -31579,7 +31579,7 @@ function holdMoveDragEffect(element) {
|
|
|
31579
31579
|
|
|
31580
31580
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
31581
31581
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
31582
|
-
const { innerRef, containerStyle } =
|
|
31582
|
+
const { innerRef, containerStyle } = _chunkLDPEQGKTcjs.useCollapsible.call(void 0, { expanded });
|
|
31583
31583
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
31584
31584
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
31585
31585
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -31608,7 +31608,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
31608
31608
|
}
|
|
31609
31609
|
),
|
|
31610
31610
|
/* @__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,
|
|
31611
|
-
|
|
31611
|
+
_chunkLDPEQGKTcjs.ApprovalBatchMessage,
|
|
31612
31612
|
{
|
|
31613
31613
|
className: "mb-0",
|
|
31614
31614
|
data: {
|
|
@@ -31688,7 +31688,7 @@ function TicketCardBody({
|
|
|
31688
31688
|
onLinkClick
|
|
31689
31689
|
}) {
|
|
31690
31690
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
31691
|
-
const newMessageTextColor = columnColor ?
|
|
31691
|
+
const newMessageTextColor = columnColor ? _chunkLDPEQGKTcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
31692
31692
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _675 => _675.deviceHostnames, 'optionalAccess', _676 => _676.length]) || ticket.organizationName);
|
|
31693
31693
|
const deviceText = [_optionalChain([ticket, 'access', _677 => _677.deviceHostnames, 'optionalAccess', _678 => _678.join, 'call', _679 => _679(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
31694
31694
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _680 => _680.assignees, 'optionalAccess', _681 => _681.length]) || renderAssignSlot);
|
|
@@ -31727,8 +31727,8 @@ function TicketCardBody({
|
|
|
31727
31727
|
] })
|
|
31728
31728
|
] }) : null
|
|
31729
31729
|
] }) : null;
|
|
31730
|
-
const timestampLabel = ticket.createdAt ?
|
|
31731
|
-
const tooltipLabel = ticket.createdAt ?
|
|
31730
|
+
const timestampLabel = ticket.createdAt ? _chunkLDPEQGKTcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
31731
|
+
const tooltipLabel = ticket.createdAt ? _chunkLDPEQGKTcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
31732
31732
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
31733
31733
|
const metaClass = "truncate text-ods-text-secondary text-h6";
|
|
31734
31734
|
const meta = href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -31755,9 +31755,9 @@ function TicketCardBody({
|
|
|
31755
31755
|
rightSection
|
|
31756
31756
|
] }),
|
|
31757
31757
|
_optionalChain([ticket, 'access', _684 => _684.tags, 'optionalAccess', _685 => _685.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
31758
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31759
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31760
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31758
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLDPEQGKTcjs.Tooltip, { children: [
|
|
31759
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipTrigger, { asChild: true, children: meta }),
|
|
31760
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLDPEQGKTcjs.TooltipContent, { children: tooltipLabel })
|
|
31761
31761
|
] }) }) : meta),
|
|
31762
31762
|
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: [
|
|
31763
31763
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -32240,7 +32240,7 @@ function resolveBoardDrop(columns, { source, target }) {
|
|
|
32240
32240
|
// src/components/features/board/use-board-collapse.ts
|
|
32241
32241
|
|
|
32242
32242
|
function useBoardCollapse(storageKey) {
|
|
32243
|
-
const [persisted, setPersisted] =
|
|
32243
|
+
const [persisted, setPersisted] = _chunkMGGGBHYDcjs.useLocalStorage.call(void 0, _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")), {});
|
|
32244
32244
|
const [memory, setMemory] = _react.useState.call(void 0, {});
|
|
32245
32245
|
const collapsed = storageKey ? persisted : memory;
|
|
32246
32246
|
const setMap = storageKey ? setPersisted : setMemory;
|
|
@@ -32311,7 +32311,7 @@ var DROP_EASING = "cubic-bezier(0.2, 0, 0, 1)";
|
|
|
32311
32311
|
var DRAG_PREVIEW_Z = 1200;
|
|
32312
32312
|
var ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"];
|
|
32313
32313
|
function Board(props) {
|
|
32314
|
-
const dragAndDropEnabled = _chunkRKV5B7EUcjs.useMediaQuery.call(void 0,
|
|
32314
|
+
const dragAndDropEnabled = _chunkRKV5B7EUcjs.useMediaQuery.call(void 0, _chunkMGGGBHYDcjs.DRAG_AND_DROP_MEDIA_QUERY);
|
|
32315
32315
|
if (dragAndDropEnabled === void 0) {
|
|
32316
32316
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-full min-h-0 flex-col", props.className) });
|
|
32317
32317
|
}
|
|
@@ -32344,7 +32344,7 @@ function DragBoard({
|
|
|
32344
32344
|
onThumbPointerMove,
|
|
32345
32345
|
onThumbPointerUp,
|
|
32346
32346
|
onThumbPointerCancel
|
|
32347
|
-
} =
|
|
32347
|
+
} = _chunkMGGGBHYDcjs.useHorizontalScrollbar.call(void 0, );
|
|
32348
32348
|
const columnsRef = _react.useRef.call(void 0, columns);
|
|
32349
32349
|
const onChangeRef = _react.useRef.call(void 0, onChange);
|
|
32350
32350
|
const boardRef = _react.useRef.call(void 0, null);
|
|
@@ -32775,7 +32775,7 @@ function useSortableListContext() {
|
|
|
32775
32775
|
}
|
|
32776
32776
|
function SortableList({ onReorder, getItemLabel, disabled = false, className, children }) {
|
|
32777
32777
|
const listRef = _react.useRef.call(void 0, null);
|
|
32778
|
-
const dragAndDropEnabled =
|
|
32778
|
+
const dragAndDropEnabled = _chunkMGGGBHYDcjs.useDragAndDropEnabled.call(void 0, );
|
|
32779
32779
|
const dragType = _react.useId.call(void 0, );
|
|
32780
32780
|
const [announcement, setAnnouncement] = _react.useState.call(void 0, "");
|
|
32781
32781
|
const onReorderRef = _react.useRef.call(void 0, onReorder);
|