@flamingo-stack/openframe-frontend-core 0.0.699 → 0.0.700-snapshot.20261005145107
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-HVY6MU33.cjs → chunk-2CSYUMNM.cjs} +2 -2
- package/dist/{chunk-Q2QS562J.cjs → chunk-4H5Q6MQG.cjs} +44 -44
- package/dist/{chunk-ERC2PVUG.cjs → chunk-65YVUYWJ.cjs} +32 -32
- package/dist/{chunk-SUXB6YSP.js → chunk-6JG75WVO.js} +4 -4
- package/dist/{chunk-Z6R7GE5L.js → chunk-6JPQDYYY.js} +261 -232
- package/dist/{chunk-SCUPTMLG.cjs → chunk-7ZDTAABP.cjs} +7 -7
- package/dist/{chunk-UDJPRMLP.js → chunk-A5ZGKBN2.js} +1 -1
- package/dist/{chunk-U473T27Y.js → chunk-B7M6QEEM.js} +1 -1
- package/dist/{chunk-GRTLCRZA.cjs → chunk-BPS7JQCI.cjs} +2 -2
- package/dist/{chunk-YJNJINXN.cjs → chunk-BQ34PIFC.cjs} +3 -3
- package/dist/{chunk-GZLE67PF.cjs → chunk-BRQY2HKD.cjs} +24 -24
- package/dist/{chunk-4CZC5NFR.js → chunk-BZYMGI4L.js} +1 -1
- package/dist/{chunk-SNFL3B73.js → chunk-CUPJCGLB.js} +2 -2
- package/dist/{chunk-5RYXQ4TX.cjs → chunk-DG2I57UM.cjs} +21 -21
- package/dist/{chunk-WYLVP5OC.js → chunk-DJLZXJYB.js} +1 -1
- package/dist/{chunk-WTR2GHID.js → chunk-EONNPRAW.js} +2 -2
- package/dist/{chunk-36S7W4AD.js → chunk-GD4JALTR.js} +2 -2
- package/dist/{chunk-UM44DDPC.cjs → chunk-GFXZMFDX.cjs} +9 -9
- package/dist/{chunk-6THYLHRF.js → chunk-JPVDJB27.js} +4 -4
- package/dist/{chunk-6ARCZ2VH.js → chunk-MFORWVGD.js} +5 -5
- package/dist/{chunk-Z4W4XDDZ.js → chunk-N7DPIH57.js} +1 -1
- package/dist/{chunk-SWXXLZLZ.js → chunk-N7HMUQRV.js} +1 -1
- package/dist/{chunk-JN7IKMMJ.cjs → chunk-NIT257DV.cjs} +4 -4
- package/dist/{chunk-KXRUQCHZ.js → chunk-PNWIVND4.js} +3 -3
- package/dist/{chunk-EKPOIGYI.cjs → chunk-QDIX2ZRL.cjs} +313 -313
- package/dist/{chunk-ANOZ7Z4A.cjs → chunk-QPNR4N7N.cjs} +20 -20
- package/dist/{chunk-QTLRRPDO.cjs → chunk-QZGFJBG5.cjs} +70 -70
- package/dist/{chunk-2MVAILI4.cjs → chunk-RTGPIHVO.cjs} +334 -305
- package/dist/{chunk-LGEGOCU7.js → chunk-S4ADN25W.js} +2 -2
- package/dist/{chunk-IAMMZHYE.js → chunk-V5QNDOEL.js} +4 -4
- package/dist/{chunk-K7SNFTIX.cjs → chunk-YBC346FY.cjs} +12 -12
- package/dist/{chunk-RD3WWENS.cjs → chunk-ZSPHOHOW.cjs} +9 -9
- package/dist/components/announcement-bar.d.ts +1 -1
- package/dist/components/announcement-bar.d.ts.map +1 -1
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/entity-cards/dispatch.d.ts +50 -1
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +6 -2
- package/dist/components/chat/index.js +5 -1
- package/dist/components/chat/utils/card-destination.d.ts +48 -0
- package/dist/components/chat/utils/card-destination.d.ts.map +1 -0
- package/dist/components/chat/utils/index.d.ts +2 -1
- package/dist/components/chat/utils/index.d.ts.map +1 -1
- package/dist/components/chat/utils/resolve-fetched-card-href.d.ts +10 -0
- package/dist/components/chat/utils/resolve-fetched-card-href.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +71 -71
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +47 -42
- package/dist/components/index.js +20 -15
- package/dist/components/meeting-scheduler/index.cjs +25 -25
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/index.cjs +7 -3
- package/dist/components/ui/index.js +6 -2
- package/dist/index.cjs +11 -7
- package/dist/index.js +10 -6
- package/dist/types/announcement.d.ts +1 -6
- package/dist/types/announcement.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/announcement-bar.tsx +7 -2
- package/src/components/chat/entity-cards/dispatch.tsx +29 -73
- package/src/components/chat/utils/card-destination.ts +103 -0
- package/src/components/chat/utils/index.ts +13 -1
- package/src/components/chat/utils/resolve-fetched-card-href.ts +17 -0
- package/src/types/announcement.ts +1 -6
|
@@ -95,7 +95,7 @@ var _chunkLX22Y43Bcjs = require('./chunk-LX22Y43B.cjs');
|
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
98
|
-
var
|
|
98
|
+
var _chunkRTGPIHVOcjs = require('./chunk-RTGPIHVO.cjs');
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
|
|
@@ -384,7 +384,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
384
384
|
var useTheme = _nextthemes.useTheme;
|
|
385
385
|
function useThemeToggle() {
|
|
386
386
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
387
|
-
const mounted =
|
|
387
|
+
const mounted = _chunkRTGPIHVOcjs.useIsHydrated.call(void 0, );
|
|
388
388
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
389
389
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
390
390
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -2659,7 +2659,7 @@ function Value2({ value, depth }) {
|
|
|
2659
2659
|
}
|
|
2660
2660
|
if (typeof value === "string") {
|
|
2661
2661
|
if (ISO_DATE.test(value)) {
|
|
2662
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2662
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkRTGPIHVOcjs.formatRelativeTime.call(void 0, value) });
|
|
2663
2663
|
}
|
|
2664
2664
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2665
2665
|
}
|
|
@@ -3291,7 +3291,7 @@ function RowValue({ value }) {
|
|
|
3291
3291
|
}
|
|
3292
3292
|
case "status": {
|
|
3293
3293
|
const { type: _type, ...props } = value;
|
|
3294
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3294
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TicketStatusTag, { ...props });
|
|
3295
3295
|
}
|
|
3296
3296
|
case "custom":
|
|
3297
3297
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -4747,10 +4747,10 @@ function useConfirm() {
|
|
|
4747
4747
|
},
|
|
4748
4748
|
[]
|
|
4749
4749
|
);
|
|
4750
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4751
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4752
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4753
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4750
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4751
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalTitle, { children: pending.title }) }),
|
|
4752
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4753
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.ModalFooter, { children: [
|
|
4754
4754
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4755
4755
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4756
4756
|
] })
|
|
@@ -4809,14 +4809,14 @@ function AdminFormDrawer({
|
|
|
4809
4809
|
else onClose();
|
|
4810
4810
|
};
|
|
4811
4811
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4812
|
-
|
|
4812
|
+
_chunkRTGPIHVOcjs.Drawer,
|
|
4813
4813
|
{
|
|
4814
4814
|
open: isOpen,
|
|
4815
4815
|
onOpenChange: (open) => {
|
|
4816
4816
|
if (!open) requestClose();
|
|
4817
4817
|
},
|
|
4818
4818
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4819
|
-
|
|
4819
|
+
_chunkRTGPIHVOcjs.DrawerContent,
|
|
4820
4820
|
{
|
|
4821
4821
|
side: "right",
|
|
4822
4822
|
resizable: true,
|
|
@@ -4825,11 +4825,11 @@ function AdminFormDrawer({
|
|
|
4825
4825
|
storageKey,
|
|
4826
4826
|
panelClassName: "max-md:w-[calc(100vw-1rem)]",
|
|
4827
4827
|
children: [
|
|
4828
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4829
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4830
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4828
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.DrawerHeader, { children: [
|
|
4829
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.DrawerTitle, { children: title }),
|
|
4830
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.DrawerDescription, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: subtitle }) })
|
|
4831
4831
|
] }),
|
|
4832
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4832
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.DrawerBody, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4833
4833
|
"form",
|
|
4834
4834
|
{
|
|
4835
4835
|
id: formId,
|
|
@@ -4960,9 +4960,9 @@ function AdminFormModal({
|
|
|
4960
4960
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4961
4961
|
});
|
|
4962
4962
|
if (!isOpen) return null;
|
|
4963
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4964
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4965
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4963
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4964
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.ModalHeader, { children: [
|
|
4965
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalTitle, { children: title }),
|
|
4966
4966
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4967
4967
|
] }),
|
|
4968
4968
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4987,7 +4987,7 @@ function AdminFormModal({
|
|
|
4987
4987
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4988
4988
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4989
4989
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4990
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4990
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4991
4991
|
"div",
|
|
4992
4992
|
{
|
|
4993
4993
|
"aria-busy": "true",
|
|
@@ -5008,12 +5008,12 @@ function AdminFormModal({
|
|
|
5008
5008
|
]
|
|
5009
5009
|
}
|
|
5010
5010
|
) })
|
|
5011
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5011
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalContent, { className: contentClassName, children }),
|
|
5012
5012
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
5013
5013
|
]
|
|
5014
5014
|
}
|
|
5015
5015
|
),
|
|
5016
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5016
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
5017
5017
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
5018
5018
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
5019
5019
|
footerStatus,
|
|
@@ -7238,7 +7238,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
7238
7238
|
};
|
|
7239
7239
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
7240
7240
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7241
|
-
|
|
7241
|
+
_chunkRTGPIHVOcjs.Video,
|
|
7242
7242
|
{
|
|
7243
7243
|
url: item.src,
|
|
7244
7244
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7962,7 +7962,7 @@ function buildRichEmbedOverrides({
|
|
|
7962
7962
|
ogEndpointPath,
|
|
7963
7963
|
textSizes
|
|
7964
7964
|
}) {
|
|
7965
|
-
const standard =
|
|
7965
|
+
const standard = _chunkRTGPIHVOcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7966
7966
|
return {
|
|
7967
7967
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7968
7968
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7972,7 +7972,7 @@ function buildRichEmbedOverrides({
|
|
|
7972
7972
|
const language = match ? match[1] : "";
|
|
7973
7973
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7974
7974
|
if (language === "youtube-embed") {
|
|
7975
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7975
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7976
7976
|
}
|
|
7977
7977
|
if (language === "reddit-embed") {
|
|
7978
7978
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -8013,7 +8013,7 @@ function buildRichEmbedOverrides({
|
|
|
8013
8013
|
"data-figma-url": figmaUrl
|
|
8014
8014
|
} = divProps;
|
|
8015
8015
|
if (className === "youtube-embed" && videoId) {
|
|
8016
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8016
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.Video, { kind: "youtube", url: videoId });
|
|
8017
8017
|
}
|
|
8018
8018
|
if (className === "reddit-embed" && postUrl) {
|
|
8019
8019
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -8098,14 +8098,14 @@ function buildRichEmbedOverrides({
|
|
|
8098
8098
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
8099
8099
|
// elsewhere). Guard against empty `![]()`.
|
|
8100
8100
|
img: ({ src, alt }) => {
|
|
8101
|
-
if (!
|
|
8101
|
+
if (!_chunkRTGPIHVOcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
8102
8102
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
8103
8103
|
},
|
|
8104
8104
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
8105
8105
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
8106
8106
|
video: ({ src, poster, className }) => {
|
|
8107
|
-
if (!
|
|
8108
|
-
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,
|
|
8107
|
+
if (!_chunkRTGPIHVOcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
8108
|
+
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, _chunkRTGPIHVOcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
8109
8109
|
}
|
|
8110
8110
|
};
|
|
8111
8111
|
}
|
|
@@ -8346,13 +8346,13 @@ var RichMarkdownInner = ({
|
|
|
8346
8346
|
},
|
|
8347
8347
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8348
8348
|
);
|
|
8349
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8349
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkRTGPIHVOcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8350
8350
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8351
8351
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8352
8352
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8353
8353
|
);
|
|
8354
8354
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8355
|
-
|
|
8355
|
+
_chunkRTGPIHVOcjs.MarkdownEngine,
|
|
8356
8356
|
{
|
|
8357
8357
|
content,
|
|
8358
8358
|
className,
|
|
@@ -8374,7 +8374,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8374
8374
|
className = "",
|
|
8375
8375
|
sectionIds,
|
|
8376
8376
|
onInternalLinkClick,
|
|
8377
|
-
brokenLinks =
|
|
8377
|
+
brokenLinks = _chunkRTGPIHVOcjs.NO_BROKEN_LINKS,
|
|
8378
8378
|
currentPath,
|
|
8379
8379
|
resolveSource = "openframe-docs",
|
|
8380
8380
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9356,7 +9356,7 @@ function FilterModal({
|
|
|
9356
9356
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _182 => _182.defaultSort]), () => ( "desc"));
|
|
9357
9357
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _183 => _183.sort]), () => ( dateDefaultSort)));
|
|
9358
9358
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _184 => _184.range]));
|
|
9359
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
9359
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkRTGPIHVOcjs.useScrollFade.call(void 0, );
|
|
9360
9360
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
9361
9361
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
9362
9362
|
_react.useEffect.call(void 0, () => {
|
|
@@ -9401,10 +9401,10 @@ function FilterModal({
|
|
|
9401
9401
|
const hasFilterGroups = filterGroups.length > 0;
|
|
9402
9402
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
9403
9403
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
9404
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9405
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9404
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.Modal, { isOpen, onClose, className: _chunk3ATAYP36cjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
9405
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalTitle, { children: title }) }),
|
|
9406
9406
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9407
|
-
|
|
9407
|
+
_chunkRTGPIHVOcjs.ModalContent,
|
|
9408
9408
|
{
|
|
9409
9409
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
9410
9410
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -9496,12 +9496,12 @@ function FilterModal({
|
|
|
9496
9496
|
] })
|
|
9497
9497
|
}
|
|
9498
9498
|
),
|
|
9499
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9500
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9499
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
9500
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
9501
9501
|
] })
|
|
9502
9502
|
}
|
|
9503
9503
|
),
|
|
9504
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9504
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.ModalFooter, { children: [
|
|
9505
9505
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
9506
9506
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
9507
9507
|
] })
|
|
@@ -9545,9 +9545,9 @@ function actionToMenuItems(action, idx) {
|
|
|
9545
9545
|
function renderActionButton(action, opts = {}) {
|
|
9546
9546
|
const button = renderRawActionButton(action, opts);
|
|
9547
9547
|
if (!action.tooltip) return button;
|
|
9548
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9549
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9550
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9548
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.Tooltip, { children: [
|
|
9549
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
9550
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipContent, { children: action.tooltip })
|
|
9551
9551
|
] }) });
|
|
9552
9552
|
}
|
|
9553
9553
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -9571,7 +9571,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
9571
9571
|
}
|
|
9572
9572
|
if (action.submenu && action.submenu.length > 0) {
|
|
9573
9573
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9574
|
-
|
|
9574
|
+
_chunkRTGPIHVOcjs.ActionsMenuDropdown,
|
|
9575
9575
|
{
|
|
9576
9576
|
groups: [{ items: action.submenu }],
|
|
9577
9577
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9706,10 +9706,10 @@ function IconButtonsVariant({
|
|
|
9706
9706
|
selector,
|
|
9707
9707
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9708
9708
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
9709
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9709
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
9710
9710
|
] })
|
|
9711
9711
|
] }),
|
|
9712
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9712
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9713
9713
|
] });
|
|
9714
9714
|
}
|
|
9715
9715
|
function PrimaryButtonsVariant({
|
|
@@ -9747,7 +9747,7 @@ function MenuPrimaryVariant({
|
|
|
9747
9747
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9748
9748
|
selector,
|
|
9749
9749
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9750
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9750
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9751
9751
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
9752
9752
|
] })
|
|
9753
9753
|
] }),
|
|
@@ -9755,7 +9755,7 @@ function MenuPrimaryVariant({
|
|
|
9755
9755
|
// The selector rides into the menu as its header row: on mobile the
|
|
9756
9756
|
// title row has no room for it, and hiding it entirely (what
|
|
9757
9757
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9758
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9758
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9759
9759
|
) : null })
|
|
9760
9760
|
] });
|
|
9761
9761
|
}
|
|
@@ -11849,8 +11849,8 @@ function makeComposeContentUrl(opts) {
|
|
|
11849
11849
|
}
|
|
11850
11850
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
11851
11851
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
11852
|
-
const owner = claimedOwner &&
|
|
11853
|
-
const origin = owner ?
|
|
11852
|
+
const owner = claimedOwner && _chunkRTGPIHVOcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
11853
|
+
const origin = owner ? _chunkRTGPIHVOcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
11854
11854
|
return {
|
|
11855
11855
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _244 => _244.trim, 'call', _245 => _245()]) || identifier}`,
|
|
11856
11856
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -12025,7 +12025,7 @@ function extractSections(markdown, options = {}) {
|
|
|
12025
12025
|
if (heading.level > opts.maxLevel) continue;
|
|
12026
12026
|
let title = heading.text;
|
|
12027
12027
|
if (opts.stripFormattingMarkers) {
|
|
12028
|
-
title =
|
|
12028
|
+
title = _chunkRTGPIHVOcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
12029
12029
|
}
|
|
12030
12030
|
const baseId = _chunkIIMICN7Lcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkIIMICN7Lcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
12031
12031
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -13382,7 +13382,7 @@ function DropdownButton({
|
|
|
13382
13382
|
)
|
|
13383
13383
|
);
|
|
13384
13384
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13385
|
-
|
|
13385
|
+
_chunkRTGPIHVOcjs.ActionsMenuDropdown,
|
|
13386
13386
|
{
|
|
13387
13387
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
13388
13388
|
open,
|
|
@@ -13820,9 +13820,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
13820
13820
|
return next;
|
|
13821
13821
|
});
|
|
13822
13822
|
};
|
|
13823
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13823
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
13824
13824
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13825
|
-
|
|
13825
|
+
_chunkRTGPIHVOcjs.TooltipTrigger,
|
|
13826
13826
|
{
|
|
13827
13827
|
asChild: true,
|
|
13828
13828
|
onPointerDown: (e) => {
|
|
@@ -13840,7 +13840,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
13840
13840
|
children
|
|
13841
13841
|
}
|
|
13842
13842
|
),
|
|
13843
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13843
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
13844
13844
|
] }) });
|
|
13845
13845
|
}
|
|
13846
13846
|
|
|
@@ -14513,7 +14513,7 @@ function TableHeader({
|
|
|
14513
14513
|
onFilterChange
|
|
14514
14514
|
}
|
|
14515
14515
|
),
|
|
14516
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14516
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
14517
14517
|
] })
|
|
14518
14518
|
) : (
|
|
14519
14519
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -14539,7 +14539,7 @@ function TableHeader({
|
|
|
14539
14539
|
hint exists, so a hint-less header keeps its DOM. */
|
|
14540
14540
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
14541
14541
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
14542
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14542
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InfoHint, { label: column.label, children: column.hint })
|
|
14543
14543
|
] })
|
|
14544
14544
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
14545
14545
|
getSortIcon(column)
|
|
@@ -15151,9 +15151,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
15151
15151
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
15152
15152
|
}
|
|
15153
15153
|
}, []);
|
|
15154
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15155
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15156
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15154
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
15155
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.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 }) }) }),
|
|
15156
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
15157
15157
|
] }) });
|
|
15158
15158
|
}
|
|
15159
15159
|
|
|
@@ -15206,9 +15206,9 @@ function TruncatedCell({ value, className }) {
|
|
|
15206
15206
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
15207
15207
|
}
|
|
15208
15208
|
}, []);
|
|
15209
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15210
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15211
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15209
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
15210
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.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 }) }),
|
|
15211
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
15212
15212
|
] }) });
|
|
15213
15213
|
}
|
|
15214
15214
|
|
|
@@ -15880,7 +15880,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
15880
15880
|
// child of the cell.
|
|
15881
15881
|
_optionalChain([meta, 'optionalAccess', _325 => _325.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
15882
15882
|
filterTrigger,
|
|
15883
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15883
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
15884
15884
|
] }) : filterTrigger
|
|
15885
15885
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15886
15886
|
"div",
|
|
@@ -15905,7 +15905,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
15905
15905
|
// centred on the row.
|
|
15906
15906
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
15907
15907
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
15908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
15909
15909
|
] })
|
|
15910
15910
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
15911
15911
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -17841,20 +17841,20 @@ function ColorPresetSelect({
|
|
|
17841
17841
|
...presets.map((p) => ({
|
|
17842
17842
|
id: p.key,
|
|
17843
17843
|
label: p.label,
|
|
17844
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17844
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ColorSwatch, { color: p.color }),
|
|
17845
17845
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
17846
17846
|
})),
|
|
17847
17847
|
{
|
|
17848
17848
|
id: CUSTOM_PRESET_KEY,
|
|
17849
17849
|
label: "Custom",
|
|
17850
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17850
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
17851
17851
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
17852
17852
|
}
|
|
17853
17853
|
]
|
|
17854
17854
|
}
|
|
17855
17855
|
];
|
|
17856
17856
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17857
|
-
|
|
17857
|
+
_chunkRTGPIHVOcjs.ActionsMenuDropdown,
|
|
17858
17858
|
{
|
|
17859
17859
|
groups,
|
|
17860
17860
|
align: "start",
|
|
@@ -17864,7 +17864,7 @@ function ColorPresetSelect({
|
|
|
17864
17864
|
{
|
|
17865
17865
|
disabled,
|
|
17866
17866
|
"aria-label": `Color: ${displayLabel}`,
|
|
17867
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17867
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ColorSwatch, { color: displayColor }),
|
|
17868
17868
|
selectedLabel: displayLabel,
|
|
17869
17869
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
17870
17870
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "group", className)
|
|
@@ -17885,7 +17885,7 @@ function HexInputs({ value, onChange }) {
|
|
|
17885
17885
|
}
|
|
17886
17886
|
const commit = () => {
|
|
17887
17887
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
17888
|
-
if (
|
|
17888
|
+
if (_chunkRTGPIHVOcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
17889
17889
|
else setDraft(value);
|
|
17890
17890
|
};
|
|
17891
17891
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17949,12 +17949,12 @@ function ChannelInput({
|
|
|
17949
17949
|
);
|
|
17950
17950
|
}
|
|
17951
17951
|
function RgbInputs({ value, onChange }) {
|
|
17952
|
-
const rgb = _nullishCoalesce(
|
|
17952
|
+
const rgb = _nullishCoalesce(_chunkRTGPIHVOcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
17953
17953
|
const update = (next) => {
|
|
17954
17954
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
17955
17955
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
17956
17956
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
17957
|
-
onChange(
|
|
17957
|
+
onChange(_chunkRTGPIHVOcjs.rgbToHex.call(void 0, r, g, b));
|
|
17958
17958
|
};
|
|
17959
17959
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17960
17960
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -17963,14 +17963,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
17963
17963
|
] });
|
|
17964
17964
|
}
|
|
17965
17965
|
function HslInputs({ value, onChange }) {
|
|
17966
|
-
const rgb = _nullishCoalesce(
|
|
17967
|
-
const hsl =
|
|
17966
|
+
const rgb = _nullishCoalesce(_chunkRTGPIHVOcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
17967
|
+
const hsl = _chunkRTGPIHVOcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
17968
17968
|
const update = (next) => {
|
|
17969
17969
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
17970
17970
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
17971
17971
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
17972
|
-
const out =
|
|
17973
|
-
onChange(
|
|
17972
|
+
const out = _chunkRTGPIHVOcjs.hslToRgb.call(void 0, h, s, l);
|
|
17973
|
+
onChange(_chunkRTGPIHVOcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
17974
17974
|
};
|
|
17975
17975
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17976
17976
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -17996,7 +17996,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
17996
17996
|
{
|
|
17997
17997
|
disabled,
|
|
17998
17998
|
"aria-label": "Pick custom color",
|
|
17999
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17999
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ColorSwatch, { color: value }),
|
|
18000
18000
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
18001
18001
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
18002
18002
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "group", className)
|
|
@@ -18012,7 +18012,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
18012
18012
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
18013
18013
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
18014
18014
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18015
|
-
|
|
18015
|
+
_chunkRTGPIHVOcjs.ActionsMenuDropdown,
|
|
18016
18016
|
{
|
|
18017
18017
|
groups: formatGroups,
|
|
18018
18018
|
align: "start",
|
|
@@ -18069,7 +18069,7 @@ function TicketStatusConfigRow({
|
|
|
18069
18069
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
18070
18070
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
18071
18071
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18072
|
-
|
|
18072
|
+
_chunkRTGPIHVOcjs.TicketStatusTag,
|
|
18073
18073
|
{
|
|
18074
18074
|
status: statusKey,
|
|
18075
18075
|
label: name || " ",
|
|
@@ -18221,7 +18221,7 @@ function formatTestRunDuration(ms) {
|
|
|
18221
18221
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
18222
18222
|
var SKELETON_COLUMNS = 6;
|
|
18223
18223
|
function TestResultsSkeleton() {
|
|
18224
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18224
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
18225
18225
|
/* @__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}`)) }),
|
|
18226
18226
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "animate-pulse overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-3/4 rounded-sm bg-ods-bg-surface" }) }, `skeleton-cell-${i}`)) }) })
|
|
18227
18227
|
] }) });
|
|
@@ -18256,7 +18256,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
18256
18256
|
if (loading) {
|
|
18257
18257
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
18258
18258
|
}
|
|
18259
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18259
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.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: [
|
|
18260
18260
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
18261
18261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
18262
18262
|
] }) }) });
|
|
@@ -18362,7 +18362,7 @@ function useTestRunState(campaign) {
|
|
|
18362
18362
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
18363
18363
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
18364
18364
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
18365
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
18365
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkRTGPIHVOcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
18366
18366
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
18367
18367
|
const displayRows = _react.useMemo.call(void 0,
|
|
18368
18368
|
() => campaign.results.map(
|
|
@@ -18700,7 +18700,7 @@ function TicketInfoSection({
|
|
|
18700
18700
|
/* @__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]) }),
|
|
18701
18701
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
18702
18702
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18703
|
-
|
|
18703
|
+
_chunkRTGPIHVOcjs.TicketStatusTag,
|
|
18704
18704
|
{
|
|
18705
18705
|
status: _nullishCoalesce(status, () => ( "")),
|
|
18706
18706
|
label: statusLabel,
|
|
@@ -18739,7 +18739,7 @@ function TicketInfoSection({
|
|
|
18739
18739
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
18740
18740
|
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" }) }),
|
|
18741
18741
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
18742
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18742
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.SimpleMarkdownRenderer, { content: description }),
|
|
18743
18743
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
18744
18744
|
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, _chunkEMCQGFXDcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
18745
18745
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18764,7 +18764,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
18764
18764
|
const { label, color } = option;
|
|
18765
18765
|
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: [
|
|
18766
18766
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
18767
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18767
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ColorSwatch, { color }),
|
|
18768
18768
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
18769
18769
|
] }),
|
|
18770
18770
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -18809,9 +18809,9 @@ function TakeOverTicketModal({
|
|
|
18809
18809
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
18810
18810
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
18811
18811
|
};
|
|
18812
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18812
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
18813
18813
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
18814
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18814
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
18815
18815
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
18816
18816
|
"The ticket ",
|
|
18817
18817
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -18826,7 +18826,7 @@ function TakeOverTicketModal({
|
|
|
18826
18826
|
value: selectedStatusId,
|
|
18827
18827
|
onChange: setStatusId,
|
|
18828
18828
|
placeholder: "Select Status",
|
|
18829
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18829
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
18830
18830
|
renderOption: renderTicketStatusOption
|
|
18831
18831
|
}
|
|
18832
18832
|
) }),
|
|
@@ -18853,7 +18853,7 @@ function TakeOverTicketModal({
|
|
|
18853
18853
|
}
|
|
18854
18854
|
) })
|
|
18855
18855
|
] }),
|
|
18856
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18856
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.ModalFooter, { children: [
|
|
18857
18857
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
18858
18858
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
18859
18859
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18912,9 +18912,9 @@ function ReopenTicketModal({
|
|
|
18912
18912
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
18913
18913
|
});
|
|
18914
18914
|
};
|
|
18915
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18915
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
18916
18916
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
18917
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
18918
18918
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
18919
18919
|
"The ticket ",
|
|
18920
18920
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -18929,7 +18929,7 @@ function ReopenTicketModal({
|
|
|
18929
18929
|
value: selectedStatusId,
|
|
18930
18930
|
onChange: setStatusId,
|
|
18931
18931
|
placeholder: "Select Status",
|
|
18932
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18932
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
18933
18933
|
renderOption: renderTicketStatusOption
|
|
18934
18934
|
}
|
|
18935
18935
|
) }),
|
|
@@ -18967,7 +18967,7 @@ function ReopenTicketModal({
|
|
|
18967
18967
|
disabled: isPending
|
|
18968
18968
|
}
|
|
18969
18969
|
) }),
|
|
18970
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18970
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.ModalFooter, { children: [
|
|
18971
18971
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
18972
18972
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
18973
18973
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19016,9 +19016,9 @@ function ReopenTicketRequestModal({
|
|
|
19016
19016
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
19017
19017
|
});
|
|
19018
19018
|
};
|
|
19019
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19019
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
19020
19020
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
19021
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19021
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
19022
19022
|
/* @__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." }),
|
|
19023
19023
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19024
19024
|
Textarea,
|
|
@@ -19042,7 +19042,7 @@ function ReopenTicketRequestModal({
|
|
|
19042
19042
|
disabled: isPending
|
|
19043
19043
|
}
|
|
19044
19044
|
),
|
|
19045
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19045
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.ModalFooter, { children: [
|
|
19046
19046
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
19047
19047
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
19048
19048
|
] })
|
|
@@ -19184,7 +19184,7 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
19184
19184
|
gap: COLUMN_GAP_PX
|
|
19185
19185
|
};
|
|
19186
19186
|
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,
|
|
19187
|
-
|
|
19187
|
+
_chunkRTGPIHVOcjs.MarqueeWall,
|
|
19188
19188
|
{
|
|
19189
19189
|
axis: "y",
|
|
19190
19190
|
reverse: index % 2 === 1,
|
|
@@ -19328,7 +19328,7 @@ var INCIDENT_TONE = {
|
|
|
19328
19328
|
approved: "success"
|
|
19329
19329
|
};
|
|
19330
19330
|
function IncidentStatusLine({ status, label, className }) {
|
|
19331
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19331
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.StatusLine, { tone: INCIDENT_TONE[status], label, className });
|
|
19332
19332
|
}
|
|
19333
19333
|
function SourceTag({ children }) {
|
|
19334
19334
|
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 });
|
|
@@ -21936,7 +21936,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
21936
21936
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
21937
21937
|
title: config.title,
|
|
21938
21938
|
loading: "eager",
|
|
21939
|
-
...
|
|
21939
|
+
..._chunkRTGPIHVOcjs.fetchPriorityProp.call(void 0, "high")
|
|
21940
21940
|
},
|
|
21941
21941
|
iframeKey
|
|
21942
21942
|
),
|
|
@@ -22929,7 +22929,7 @@ function MediaGalleryManager({
|
|
|
22929
22929
|
) }),
|
|
22930
22930
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
22931
22931
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
22932
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22932
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
22933
22933
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22934
22934
|
_chunkMGHIV4L6cjs.next_image_default,
|
|
22935
22935
|
{
|
|
@@ -23413,60 +23413,60 @@ function CardSkeleton({
|
|
|
23413
23413
|
function VendorCardContent({ showMetadata }) {
|
|
23414
23414
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 p-4", children: [
|
|
23415
23415
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
23416
|
-
/* @__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,
|
|
23416
|
+
/* @__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, _chunkRTGPIHVOcjs.MediaSkeleton.Avatar, { size: "sm", className: "h-11 w-11" }) }),
|
|
23417
23417
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
23418
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23419
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23418
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
23419
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
23420
23420
|
] })
|
|
23421
23421
|
] }),
|
|
23422
23422
|
/* @__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: [
|
|
23423
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23424
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23423
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23424
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23425
23425
|
] }) }),
|
|
23426
23426
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
23427
23427
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 md:gap-4", children: [
|
|
23428
23428
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
23429
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23430
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23429
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
23430
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
23431
23431
|
] }),
|
|
23432
23432
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
23433
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23434
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23433
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
23434
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
23435
23435
|
] })
|
|
23436
23436
|
] }),
|
|
23437
23437
|
/* @__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: [
|
|
23438
|
-
/* @__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,
|
|
23439
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23438
|
+
/* @__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, _chunkRTGPIHVOcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
23439
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23440
23440
|
] }) })
|
|
23441
23441
|
] })
|
|
23442
23442
|
] });
|
|
23443
23443
|
}
|
|
23444
23444
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
23445
23445
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23446
|
-
/* @__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,
|
|
23446
|
+
/* @__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, _chunkRTGPIHVOcjs.MediaSkeleton.CardImage, {}) }),
|
|
23447
23447
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col p-4", children: [
|
|
23448
23448
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[50.4px] items-center md:min-h-[56px] lg:min-h-[61.6px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
23449
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23450
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23449
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "w-full" }),
|
|
23450
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "w-3/4" })
|
|
23451
23451
|
] }) }),
|
|
23452
23452
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-3 flex h-[28px] items-center gap-2", children: [
|
|
23453
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23454
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23453
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
23454
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Chip, { className: "w-12" })
|
|
23455
23455
|
] }),
|
|
23456
23456
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[42px] items-center md:min-h-[45px] lg:min-h-[48px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
23457
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23458
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23457
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23458
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
23459
23459
|
] }) }),
|
|
23460
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23460
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Button, { className: "h-8 w-24" }) }),
|
|
23461
23461
|
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: [
|
|
23462
23462
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
23463
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23464
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23463
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
23464
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23465
23465
|
] }),
|
|
23466
23466
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3 text-ods-text-muted", children: [
|
|
23467
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23467
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
23468
23468
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-1 w-1 rounded-full bg-ods-skeleton" }),
|
|
23469
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23469
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23470
23470
|
] })
|
|
23471
23471
|
] }) })
|
|
23472
23472
|
] })
|
|
@@ -23474,35 +23474,35 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
23474
23474
|
}
|
|
23475
23475
|
function CategoryCardContent() {
|
|
23476
23476
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 p-4 md:p-6", children: [
|
|
23477
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23477
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Icon, { size: "lg", className: "flex-shrink-0" }, index)) }),
|
|
23478
23478
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23479
23479
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
23480
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23481
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23480
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
23481
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
23482
23482
|
] }),
|
|
23483
23483
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between gap-4 md:items-end md:gap-6", children: [
|
|
23484
23484
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
23485
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23486
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23485
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23486
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23487
23487
|
] }),
|
|
23488
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23488
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Button, { className: "h-10 w-10 flex-shrink-0 md:h-12 md:w-12" })
|
|
23489
23489
|
] })
|
|
23490
23490
|
] })
|
|
23491
23491
|
] });
|
|
23492
23492
|
}
|
|
23493
23493
|
function AlternativeCardContent({ showActions }) {
|
|
23494
23494
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4 p-4", children: [
|
|
23495
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23495
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
23496
23496
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
23497
23497
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
23498
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23499
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23498
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
23499
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23500
23500
|
] }),
|
|
23501
23501
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
23502
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23503
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23502
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23503
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-5/6" })
|
|
23504
23504
|
] }),
|
|
23505
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23505
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Button, { className: "h-8 w-20" }) })
|
|
23506
23506
|
] })
|
|
23507
23507
|
] });
|
|
23508
23508
|
}
|
|
@@ -23553,12 +23553,12 @@ function HeroSkeleton() {
|
|
|
23553
23553
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
23554
23554
|
},
|
|
23555
23555
|
children: [
|
|
23556
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23556
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl md:mb-6 md:h-20 lg:h-24" }),
|
|
23557
23557
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-8 w-full max-w-4xl space-y-3 px-2 md:mb-10", children: [
|
|
23558
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23559
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23558
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "h-5 md:h-7" }),
|
|
23559
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 md:h-7" })
|
|
23560
23560
|
] }),
|
|
23561
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23561
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Button, { className: "h-12 w-full md:w-64" })
|
|
23562
23562
|
]
|
|
23563
23563
|
}
|
|
23564
23564
|
);
|
|
@@ -23569,14 +23569,14 @@ function SearchContainerSkeleton({
|
|
|
23569
23569
|
}) {
|
|
23570
23570
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className || ""), children: [
|
|
23571
23571
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 md:gap-4", children: [
|
|
23572
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23573
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23572
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
23573
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Button, { className: "w-32 md:w-40" })
|
|
23574
23574
|
] }),
|
|
23575
23575
|
showFilters && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-2", children: [
|
|
23576
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23577
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23578
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23579
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23576
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Chip, {}),
|
|
23577
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Chip, { className: "w-24" }),
|
|
23578
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
23579
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Chip, { className: "w-20" })
|
|
23580
23580
|
] })
|
|
23581
23581
|
] });
|
|
23582
23582
|
}
|
|
@@ -23595,7 +23595,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
23595
23595
|
{ type: "file", width: "w-36" }
|
|
23596
23596
|
];
|
|
23597
23597
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full lg:w-[320px]", className), children: [
|
|
23598
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23598
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
23599
23599
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23600
23600
|
"div",
|
|
23601
23601
|
{
|
|
@@ -23605,12 +23605,12 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
23605
23605
|
),
|
|
23606
23606
|
children: [
|
|
23607
23607
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2.5", children: [
|
|
23608
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23609
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23608
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { className: "h-4 w-4 shrink-0 rounded" }),
|
|
23609
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
23610
23610
|
] }),
|
|
23611
23611
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[18px] items-center gap-2", children: [
|
|
23612
|
-
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23613
|
-
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23612
|
+
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
23613
|
+
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { className: "h-4 w-4 rounded" })
|
|
23614
23614
|
] })
|
|
23615
23615
|
]
|
|
23616
23616
|
},
|
|
@@ -23620,17 +23620,17 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
23620
23620
|
}
|
|
23621
23621
|
function BreadcrumbSkeleton({ className }) {
|
|
23622
23622
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-6 flex items-center space-x-1", className), children: [
|
|
23623
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23624
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23625
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23626
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23627
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23628
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23629
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23623
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
23624
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
23625
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-24" }),
|
|
23626
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
23627
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-32" }),
|
|
23628
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
23629
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
23630
23630
|
] });
|
|
23631
23631
|
}
|
|
23632
23632
|
function ResultsHeaderSkeleton({ className }) {
|
|
23633
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-6 flex flex-col items-start justify-between gap-4 md:flex-row md:items-center", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23633
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-6 flex flex-col items-start justify-between gap-4 md:flex-row md:items-center", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-48" }) }) });
|
|
23634
23634
|
}
|
|
23635
23635
|
function TwoColumnLayoutSkeleton({
|
|
23636
23636
|
className,
|
|
@@ -23662,35 +23662,35 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
23662
23662
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mx-auto max-w-4xl", className), children: [
|
|
23663
23663
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "mb-8 space-y-4 md:mb-12 md:space-y-6", children: [
|
|
23664
23664
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
23665
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23666
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23665
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Chip, {}),
|
|
23666
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Chip, { className: "w-16" })
|
|
23667
23667
|
] }),
|
|
23668
23668
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
23669
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23670
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23669
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Heading, { className: "w-full" }),
|
|
23670
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Heading, { className: "w-3/4" })
|
|
23671
23671
|
] }),
|
|
23672
23672
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 border-t border-ods-divider pt-4", children: [
|
|
23673
23673
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
23674
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23675
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23674
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
23675
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
23676
23676
|
] }),
|
|
23677
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23678
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23677
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-20" }),
|
|
23678
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23679
23679
|
] })
|
|
23680
23680
|
] }),
|
|
23681
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23681
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.CardImage, { className: "h-64 w-full md:h-96" }) }),
|
|
23682
23682
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
23683
23683
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23684
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23685
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23686
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23687
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23684
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23685
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23686
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-5/6" }),
|
|
23687
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
23688
23688
|
] }, index)),
|
|
23689
23689
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "py-4", children: [
|
|
23690
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23690
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "mb-4 w-2/3" }),
|
|
23691
23691
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23692
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23693
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23692
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23693
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-4/5" })
|
|
23694
23694
|
] })
|
|
23695
23695
|
] })
|
|
23696
23696
|
] })
|
|
@@ -23916,11 +23916,11 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
23916
23916
|
className
|
|
23917
23917
|
),
|
|
23918
23918
|
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: [
|
|
23919
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23920
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23919
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Icon, { size: "lg" }),
|
|
23920
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
23921
23921
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23922
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23923
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23922
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23923
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
23924
23924
|
] })
|
|
23925
23925
|
] }) }, i))
|
|
23926
23926
|
}
|
|
@@ -24061,7 +24061,7 @@ function useContentLoading(isLoading) {
|
|
|
24061
24061
|
|
|
24062
24062
|
function ParagraphSkeleton({ className, lines = 4 }) {
|
|
24063
24063
|
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
24064
|
-
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,
|
|
24064
|
+
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, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: lineWidths[index % lineWidths.length] }, index)) });
|
|
24065
24065
|
}
|
|
24066
24066
|
function ListSkeleton({
|
|
24067
24067
|
className,
|
|
@@ -24071,12 +24071,12 @@ function ListSkeleton({
|
|
|
24071
24071
|
}) {
|
|
24072
24072
|
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: [
|
|
24073
24073
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24074
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24075
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24074
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24075
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-32 md:w-48" })
|
|
24076
24076
|
] }),
|
|
24077
24077
|
showActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
24078
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24079
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24078
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-8" }),
|
|
24079
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4" })
|
|
24080
24080
|
] })
|
|
24081
24081
|
] }, index)) });
|
|
24082
24082
|
}
|
|
@@ -24086,13 +24086,13 @@ function TableSkeleton({
|
|
|
24086
24086
|
columns = 4
|
|
24087
24087
|
}) {
|
|
24088
24088
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
24089
|
-
/* @__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,
|
|
24089
|
+
/* @__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, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "w-3/4" }, index)) }),
|
|
24090
24090
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24091
24091
|
"div",
|
|
24092
24092
|
{
|
|
24093
24093
|
className: "grid gap-4 border-b border-ods-divider py-2",
|
|
24094
24094
|
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
24095
|
-
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24095
|
+
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-2/3" }, colIndex))
|
|
24096
24096
|
},
|
|
24097
24097
|
rowIndex
|
|
24098
24098
|
)) })
|
|
@@ -24101,13 +24101,13 @@ function TableSkeleton({
|
|
|
24101
24101
|
function FormSkeleton({ className, fields = 4 }) {
|
|
24102
24102
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: [
|
|
24103
24103
|
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
24104
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24105
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24106
|
-
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24104
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
24105
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Input, {}),
|
|
24106
|
+
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-48" })
|
|
24107
24107
|
] }, index)),
|
|
24108
24108
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 pt-4", children: [
|
|
24109
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24110
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24109
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Button, {}),
|
|
24110
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Button, { className: "bg-ods-border" })
|
|
24111
24111
|
] })
|
|
24112
24112
|
] });
|
|
24113
24113
|
}
|
|
@@ -24122,7 +24122,7 @@ function NavigationSkeleton({
|
|
|
24122
24122
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex gap-4 md:gap-6", !horizontal && "flex-col", className),
|
|
24123
24123
|
role: "status",
|
|
24124
24124
|
"aria-label": "Loading navigation",
|
|
24125
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24125
|
+
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-16 md:w-20" }, index))
|
|
24126
24126
|
}
|
|
24127
24127
|
);
|
|
24128
24128
|
}
|
|
@@ -24133,30 +24133,30 @@ function ProfileSkeleton({
|
|
|
24133
24133
|
}) {
|
|
24134
24134
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
24135
24135
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
24136
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Avatar, { size: "lg" }),
|
|
24137
24137
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
24138
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24139
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24140
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24138
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
24139
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-1/3" }),
|
|
24140
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24141
24141
|
] })
|
|
24142
24142
|
] }),
|
|
24143
24143
|
showBio && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
24144
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24145
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24146
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24144
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24145
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-4/5" }),
|
|
24146
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
24147
24147
|
] }),
|
|
24148
24148
|
showStats && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-6", children: [
|
|
24149
24149
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
24150
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24151
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24150
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
24151
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "mx-auto w-12" })
|
|
24152
24152
|
] }),
|
|
24153
24153
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
24154
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24155
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24154
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
24155
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "mx-auto w-16" })
|
|
24156
24156
|
] }),
|
|
24157
24157
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
24158
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24159
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24158
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
24159
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "mx-auto w-14" })
|
|
24160
24160
|
] })
|
|
24161
24161
|
] })
|
|
24162
24162
|
] });
|
|
@@ -24168,32 +24168,32 @@ function CommentSkeleton({
|
|
|
24168
24168
|
}) {
|
|
24169
24169
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: [
|
|
24170
24170
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24171
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24171
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
24172
24172
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center gap-4", children: [
|
|
24173
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24174
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24175
|
-
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,
|
|
24173
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
24174
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
24175
|
+
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, _chunkRTGPIHVOcjs.MediaSkeleton.Icon, { size: "sm" }, i)) })
|
|
24176
24176
|
] })
|
|
24177
24177
|
] }),
|
|
24178
24178
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 space-y-2", children: [
|
|
24179
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24180
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24181
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24179
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24180
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-3/4" }),
|
|
24181
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
24182
24182
|
] }),
|
|
24183
24183
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 flex gap-4", children: [
|
|
24184
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24185
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24186
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24184
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
24185
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
24186
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
24187
24187
|
] }),
|
|
24188
24188
|
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: [
|
|
24189
24189
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24191
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24192
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24190
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
24191
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-20" }),
|
|
24192
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-12" })
|
|
24193
24193
|
] }),
|
|
24194
24194
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11", children: [
|
|
24195
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24196
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24195
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24196
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24197
24197
|
] })
|
|
24198
24198
|
] }, index)) })
|
|
24199
24199
|
] });
|
|
@@ -24206,31 +24206,31 @@ function FeatureListSkeleton({
|
|
|
24206
24206
|
}) {
|
|
24207
24207
|
if (grouped) {
|
|
24208
24208
|
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: [
|
|
24209
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24209
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
24210
24210
|
/* @__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: [
|
|
24211
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24211
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24213
24213
|
] }, featureIndex)) })
|
|
24214
24214
|
] }, groupIndex)) });
|
|
24215
24215
|
}
|
|
24216
24216
|
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: [
|
|
24217
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24218
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24217
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24218
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24219
24219
|
] }, index)) });
|
|
24220
24220
|
}
|
|
24221
24221
|
function TimelineSkeleton({ className, items = 5 }) {
|
|
24222
24222
|
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: [
|
|
24223
24223
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center", children: [
|
|
24224
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24224
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24225
24225
|
index < items - 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2 h-12 w-px bg-ods-border" })
|
|
24226
24226
|
] }),
|
|
24227
24227
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
24228
24228
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24229
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24230
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24229
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-1/3" }),
|
|
24230
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
24231
24231
|
] }),
|
|
24232
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24233
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24232
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24233
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
24234
24234
|
] })
|
|
24235
24235
|
] }, index)) });
|
|
24236
24236
|
}
|
|
@@ -24246,16 +24246,16 @@ function PricingSkeleton({ className, plans = 3 }) {
|
|
|
24246
24246
|
className
|
|
24247
24247
|
),
|
|
24248
24248
|
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: [
|
|
24249
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24249
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
24250
24250
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
24251
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24252
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24251
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Heading, { className: "w-1/3" }),
|
|
24252
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-1/4" })
|
|
24253
24253
|
] }),
|
|
24254
24254
|
/* @__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: [
|
|
24255
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24256
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24255
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24256
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
24257
24257
|
] }, featureIndex)) }),
|
|
24258
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24258
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Button, { className: "w-full" })
|
|
24259
24259
|
] }) }, index))
|
|
24260
24260
|
}
|
|
24261
24261
|
);
|
|
@@ -24291,12 +24291,12 @@ function MspProfileFormSkeleton({ className, fields = 4 }) {
|
|
|
24291
24291
|
"aria-label": "Loading MSP profile form",
|
|
24292
24292
|
children: [
|
|
24293
24293
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col space-y-2", children: [
|
|
24294
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24295
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24294
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-28" }),
|
|
24295
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { className: "h-full w-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
24296
24296
|
] }),
|
|
24297
24297
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2", children: Array.from({ length: fields }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col space-y-2", children: [
|
|
24298
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24299
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24298
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-40" }),
|
|
24299
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.InteractiveSkeleton.Input, {})
|
|
24300
24300
|
] }, idx)) })
|
|
24301
24301
|
]
|
|
24302
24302
|
}
|
|
@@ -24316,13 +24316,13 @@ function CategoryCardSkeleton({ className }) {
|
|
|
24316
24316
|
role: "status",
|
|
24317
24317
|
"aria-label": "Loading category card",
|
|
24318
24318
|
children: [
|
|
24319
|
-
/* @__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,
|
|
24319
|
+
/* @__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, _chunkRTGPIHVOcjs.UnifiedSkeleton, { variant: "circular", className: "h-10 w-10 flex-shrink-0", "aria-label": "Loading icon" }, i)) }),
|
|
24320
24320
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col space-y-3", children: [
|
|
24321
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24322
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24323
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Heading, { className: "w-3/4" }),
|
|
24322
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-1/2" }),
|
|
24323
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-full" })
|
|
24324
24324
|
] }),
|
|
24325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-[6px]", "aria-label": "Loading button" }) })
|
|
24326
24326
|
]
|
|
24327
24327
|
}
|
|
24328
24328
|
);
|
|
@@ -24339,12 +24339,12 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
24339
24339
|
"aria-label": "Loading category section",
|
|
24340
24340
|
children: [
|
|
24341
24341
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 max-w-xl space-y-2", children: [
|
|
24342
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24343
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24342
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Heading, { className: "w-1/2" }),
|
|
24343
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
24344
24344
|
] }),
|
|
24345
24345
|
/* @__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: [
|
|
24346
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24347
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24346
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
24347
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
24348
24348
|
] }, idx)) })
|
|
24349
24349
|
]
|
|
24350
24350
|
}
|
|
@@ -24355,14 +24355,14 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
24355
24355
|
|
|
24356
24356
|
function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
24357
24357
|
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: [
|
|
24358
|
-
/* @__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,
|
|
24358
|
+
/* @__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, _chunkRTGPIHVOcjs.UnifiedSkeleton, { className: "h-6 w-24 rounded" }, i)) }),
|
|
24359
24359
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-w-2xl space-y-2", children: [
|
|
24360
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24361
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24360
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Heading, { className: "w-2/3" }),
|
|
24361
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
24362
24362
|
] }),
|
|
24363
24363
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-10 flex justify-between", children: [
|
|
24364
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24365
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24364
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
|
|
24365
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { className: "h-10 w-32 rounded" })
|
|
24366
24366
|
] })
|
|
24367
24367
|
] });
|
|
24368
24368
|
}
|
|
@@ -24754,28 +24754,28 @@ function OrganizationCardSkeleton({
|
|
|
24754
24754
|
}
|
|
24755
24755
|
),
|
|
24756
24756
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
24757
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24758
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24757
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
24758
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
24759
24759
|
] })
|
|
24760
24760
|
] }),
|
|
24761
24761
|
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: [
|
|
24762
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24763
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24762
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24763
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24764
24764
|
] }) }),
|
|
24765
24765
|
showFooter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
24766
24766
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 md:gap-4", children: [
|
|
24767
24767
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
24768
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24769
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24768
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
24769
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
24770
24770
|
] }),
|
|
24771
24771
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
24772
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24773
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24772
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
24773
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
24774
24774
|
] })
|
|
24775
24775
|
] }),
|
|
24776
24776
|
/* @__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: [
|
|
24777
|
-
/* @__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,
|
|
24778
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24777
|
+
/* @__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, _chunkRTGPIHVOcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
24778
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
24779
24779
|
] }) })
|
|
24780
24780
|
] })
|
|
24781
24781
|
] })
|
|
@@ -24852,16 +24852,16 @@ function DeviceCardSkeletonGrid({ count = 12, className }) {
|
|
|
24852
24852
|
|
|
24853
24853
|
function PushButtonSelectorSkeleton({ count = 3, hasTitle }) {
|
|
24854
24854
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", role: "status", "aria-label": "Loading options", children: [
|
|
24855
|
-
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24855
|
+
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { className: "h-5 w-20", "aria-label": "Loading title" }),
|
|
24856
24856
|
/* @__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: [
|
|
24857
24857
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24858
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { className: "h-8 w-8", "aria-label": "Loading icon" }),
|
|
24859
24859
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
24860
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24861
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24860
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { variant: "text", className: "mb-2 h-4 w-24", "aria-label": "Loading name" }),
|
|
24861
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { variant: "text", className: "h-4 w-36", "aria-label": "Loading description" })
|
|
24862
24862
|
] })
|
|
24863
24863
|
] }),
|
|
24864
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24864
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.UnifiedSkeleton, { className: "h-6 w-6", "aria-label": "Loading selection state" })
|
|
24865
24865
|
] }) }, i)) })
|
|
24866
24866
|
] });
|
|
24867
24867
|
}
|
|
@@ -24983,9 +24983,9 @@ function PushButtonSelector({
|
|
|
24983
24983
|
option.id
|
|
24984
24984
|
);
|
|
24985
24985
|
if (option.disabled && option.disabledReason) {
|
|
24986
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24987
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24988
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24986
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.Tooltip, { children: [
|
|
24987
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
24988
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
24989
24989
|
] }, option.id);
|
|
24990
24990
|
}
|
|
24991
24991
|
return optionEl;
|
|
@@ -25030,7 +25030,7 @@ function PushButtonSelector({
|
|
|
25030
25030
|
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
|
|
25031
25031
|
] }) : null
|
|
25032
25032
|
] });
|
|
25033
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25033
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
25034
25034
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
25035
25035
|
searchInput,
|
|
25036
25036
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -25244,7 +25244,7 @@ function SEOEditorPreview({
|
|
|
25244
25244
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-2", children: [
|
|
25245
25245
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
25246
25246
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25247
|
-
|
|
25247
|
+
_chunkRTGPIHVOcjs.Field,
|
|
25248
25248
|
{
|
|
25249
25249
|
label: "SEO Title",
|
|
25250
25250
|
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${SEO_TITLE_MAX_LENGTH})` : null,
|
|
@@ -25284,7 +25284,7 @@ function SEOEditorPreview({
|
|
|
25284
25284
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
25285
25285
|
] }),
|
|
25286
25286
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25287
|
-
|
|
25287
|
+
_chunkRTGPIHVOcjs.Field,
|
|
25288
25288
|
{
|
|
25289
25289
|
label: "SEO Keywords",
|
|
25290
25290
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -25316,7 +25316,7 @@ function SEOEditorPreview({
|
|
|
25316
25316
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-2", children: [
|
|
25317
25317
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
25318
25318
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25319
|
-
|
|
25319
|
+
_chunkRTGPIHVOcjs.Field,
|
|
25320
25320
|
{
|
|
25321
25321
|
label: "SEO Description",
|
|
25322
25322
|
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
@@ -25994,7 +25994,7 @@ function VideoBitesDisplay({
|
|
|
25994
25994
|
filterPublished = true,
|
|
25995
25995
|
showTitle = true
|
|
25996
25996
|
}) {
|
|
25997
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25997
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
25998
25998
|
}
|
|
25999
25999
|
|
|
26000
26000
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -26064,7 +26064,7 @@ function WalkthroughVideo({
|
|
|
26064
26064
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
26065
26065
|
};
|
|
26066
26066
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
26067
|
-
const hydrated =
|
|
26067
|
+
const hydrated = _chunkRTGPIHVOcjs.useIsHydrated.call(void 0, );
|
|
26068
26068
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
26069
26069
|
if (!hydrated) return false;
|
|
26070
26070
|
try {
|
|
@@ -26463,7 +26463,7 @@ function WalkthroughVideo({
|
|
|
26463
26463
|
},
|
|
26464
26464
|
children: [
|
|
26465
26465
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26466
|
-
|
|
26466
|
+
_chunkRTGPIHVOcjs.VideoHoverPreviewSurface,
|
|
26467
26467
|
{
|
|
26468
26468
|
url: video.mainVideoUrl || "",
|
|
26469
26469
|
posterUrl: video.posterUrl,
|
|
@@ -26486,7 +26486,7 @@ function WalkthroughVideo({
|
|
|
26486
26486
|
`card-${embedUrlKey}`
|
|
26487
26487
|
) }),
|
|
26488
26488
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26489
|
-
|
|
26489
|
+
_chunkRTGPIHVOcjs.CardHitLayer,
|
|
26490
26490
|
{
|
|
26491
26491
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
26492
26492
|
onPointerDown: pausePreviewNow,
|
|
@@ -26601,7 +26601,7 @@ function WalkthroughVideo({
|
|
|
26601
26601
|
children: [
|
|
26602
26602
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
26603
26603
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26604
|
-
|
|
26604
|
+
_chunkRTGPIHVOcjs.Video,
|
|
26605
26605
|
{
|
|
26606
26606
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
26607
26607
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -26652,7 +26652,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
26652
26652
|
var _reactquery = require('@tanstack/react-query');
|
|
26653
26653
|
function useWalkthroughVideo(opts) {
|
|
26654
26654
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
26655
|
-
const captions =
|
|
26655
|
+
const captions = _chunkRTGPIHVOcjs.useCaptions.call(void 0, );
|
|
26656
26656
|
const query = _reactquery.useQuery.call(void 0, {
|
|
26657
26657
|
queryKey: ["walkthrough-video", endpoint],
|
|
26658
26658
|
enabled,
|
|
@@ -26850,7 +26850,7 @@ function VideoSourceSelector({
|
|
|
26850
26850
|
}
|
|
26851
26851
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
26852
26852
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
26853
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26853
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
26854
26854
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26855
26855
|
"button",
|
|
26856
26856
|
{
|
|
@@ -27374,7 +27374,7 @@ function HighlightVideoSection({
|
|
|
27374
27374
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
27375
27375
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
27376
27376
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
27377
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27377
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
27378
27378
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
27379
27379
|
"button",
|
|
27380
27380
|
{
|
|
@@ -27401,7 +27401,7 @@ function HighlightConfigSection({
|
|
|
27401
27401
|
disabled = false,
|
|
27402
27402
|
className = ""
|
|
27403
27403
|
}) {
|
|
27404
|
-
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,
|
|
27404
|
+
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, _chunkRTGPIHVOcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
27405
27405
|
Select,
|
|
27406
27406
|
{
|
|
27407
27407
|
value: targetDurationSeconds.toString(),
|
|
@@ -28114,7 +28114,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
28114
28114
|
] });
|
|
28115
28115
|
};
|
|
28116
28116
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
28117
|
-
const { innerRef, containerStyle } =
|
|
28117
|
+
const { innerRef, containerStyle } = _chunkRTGPIHVOcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
28118
28118
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
28119
28119
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28120
28120
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -28283,7 +28283,7 @@ function WaitlistForm({
|
|
|
28283
28283
|
const { toast } = _chunk3L7KCOGOcjs.useToast.call(void 0, );
|
|
28284
28284
|
const { honeypotInputProps, getSignals, resetSignals } = _chunk3L7KCOGOcjs.useHumanitySignals.call(void 0, );
|
|
28285
28285
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
28286
|
-
const isClient =
|
|
28286
|
+
const isClient = _chunkRTGPIHVOcjs.useIsHydrated.call(void 0, );
|
|
28287
28287
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
28288
28288
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
28289
28289
|
const rescue = _chunk3L7KCOGOcjs.useFormRescue.call(void 0, {
|
|
@@ -29096,7 +29096,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
29096
29096
|
"data-state": open ? "open" : "closed",
|
|
29097
29097
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
29098
29098
|
"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",
|
|
29099
|
-
|
|
29099
|
+
_chunkRTGPIHVOcjs.OVERLAY_BACKDROP_CLASS,
|
|
29100
29100
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
29101
29101
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
29102
29102
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -29175,11 +29175,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
29175
29175
|
}
|
|
29176
29176
|
);
|
|
29177
29177
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
29178
|
-
var AppLayoutDrawerHeader =
|
|
29179
|
-
var AppLayoutDrawerTitle =
|
|
29180
|
-
var AppLayoutDrawerDescription =
|
|
29181
|
-
var AppLayoutDrawerBody =
|
|
29182
|
-
var AppLayoutDrawerFooter =
|
|
29178
|
+
var AppLayoutDrawerHeader = _chunkRTGPIHVOcjs.DrawerHeader;
|
|
29179
|
+
var AppLayoutDrawerTitle = _chunkRTGPIHVOcjs.DrawerTitle;
|
|
29180
|
+
var AppLayoutDrawerDescription = _chunkRTGPIHVOcjs.DrawerDescription;
|
|
29181
|
+
var AppLayoutDrawerBody = _chunkRTGPIHVOcjs.DrawerBody;
|
|
29182
|
+
var AppLayoutDrawerFooter = _chunkRTGPIHVOcjs.DrawerFooter;
|
|
29183
29183
|
|
|
29184
29184
|
// src/components/features/notifications/notification-tile.tsx
|
|
29185
29185
|
|
|
@@ -29285,7 +29285,7 @@ function NotificationTile({
|
|
|
29285
29285
|
{
|
|
29286
29286
|
dateTime: createdAtIso,
|
|
29287
29287
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", lockscreen && "self-start"),
|
|
29288
|
-
children: _nullishCoalesce(timeLabel, () => (
|
|
29288
|
+
children: _nullishCoalesce(timeLabel, () => ( _chunkRTGPIHVOcjs.formatTicketRelativeTime.call(void 0, createdAtIso)))
|
|
29289
29289
|
}
|
|
29290
29290
|
) : null,
|
|
29291
29291
|
!lockscreen && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
@@ -29394,7 +29394,7 @@ function NotificationDrawer({
|
|
|
29394
29394
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
29395
29395
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29396
29396
|
/* @__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,
|
|
29397
|
-
|
|
29397
|
+
_chunkRTGPIHVOcjs.DrawerTitle,
|
|
29398
29398
|
{
|
|
29399
29399
|
hideClose: true,
|
|
29400
29400
|
className: "truncate",
|
|
@@ -29453,8 +29453,8 @@ function NotificationDrawer({
|
|
|
29453
29453
|
}
|
|
29454
29454
|
) });
|
|
29455
29455
|
}
|
|
29456
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29457
|
-
|
|
29456
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29457
|
+
_chunkRTGPIHVOcjs.DrawerContent,
|
|
29458
29458
|
{
|
|
29459
29459
|
side: "right",
|
|
29460
29460
|
"aria-describedby": void 0,
|
|
@@ -29737,13 +29737,13 @@ function getApprovalMeta(notification) {
|
|
|
29737
29737
|
function resolutionToStatus(resolution) {
|
|
29738
29738
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
29739
29739
|
case "APPROVED":
|
|
29740
|
-
return
|
|
29740
|
+
return _chunkRTGPIHVOcjs.APPROVAL_STATUS.APPROVED;
|
|
29741
29741
|
case "REJECTED":
|
|
29742
|
-
return
|
|
29742
|
+
return _chunkRTGPIHVOcjs.APPROVAL_STATUS.REJECTED;
|
|
29743
29743
|
case "CANCELLED":
|
|
29744
|
-
return
|
|
29744
|
+
return _chunkRTGPIHVOcjs.APPROVAL_STATUS.CANCELLED;
|
|
29745
29745
|
default:
|
|
29746
|
-
return
|
|
29746
|
+
return _chunkRTGPIHVOcjs.APPROVAL_STATUS.PENDING;
|
|
29747
29747
|
}
|
|
29748
29748
|
}
|
|
29749
29749
|
function approvalMetaToBatchData(approval) {
|
|
@@ -29789,7 +29789,7 @@ function ApprovalRequestNotificationTile({
|
|
|
29789
29789
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _635 => _635.resolution]));
|
|
29790
29790
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
29791
29791
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
29792
|
-
const { innerRef, containerStyle } =
|
|
29792
|
+
const { innerRef, containerStyle } = _chunkRTGPIHVOcjs.useCollapsible.call(void 0, { expanded });
|
|
29793
29793
|
if (!approval || !batchData) return null;
|
|
29794
29794
|
const tileNotification = {
|
|
29795
29795
|
...notification,
|
|
@@ -29852,7 +29852,7 @@ function ApprovalRequestNotificationTile({
|
|
|
29852
29852
|
}
|
|
29853
29853
|
)
|
|
29854
29854
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
29855
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29855
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ApprovalStatusTag, { status }),
|
|
29856
29856
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
29857
29857
|
"by ",
|
|
29858
29858
|
approval.resolvedByName
|
|
@@ -29870,12 +29870,12 @@ function ApprovalRequestNotificationTile({
|
|
|
29870
29870
|
"aria-expanded": expanded,
|
|
29871
29871
|
"aria-label": toggleLabel,
|
|
29872
29872
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
29873
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29873
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.ExpandChevron, { expanded })
|
|
29874
29874
|
}
|
|
29875
29875
|
)
|
|
29876
29876
|
] }),
|
|
29877
29877
|
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,
|
|
29878
|
-
|
|
29878
|
+
_chunkRTGPIHVOcjs.ApprovalBatchMessage,
|
|
29879
29879
|
{
|
|
29880
29880
|
data: batchData,
|
|
29881
29881
|
showExecutionStatus: false,
|
|
@@ -30392,7 +30392,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
30392
30392
|
"data-state": isOpen ? "open" : "closed",
|
|
30393
30393
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
30394
30394
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
30395
|
-
|
|
30395
|
+
_chunkRTGPIHVOcjs.OVERLAY_BACKDROP_CLASS,
|
|
30396
30396
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
30397
30397
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
30398
30398
|
)
|
|
@@ -31061,7 +31061,7 @@ function BoardColumnHeader({
|
|
|
31061
31061
|
}) {
|
|
31062
31062
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
31063
31063
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
31064
|
-
const useStatusVariant =
|
|
31064
|
+
const useStatusVariant = _chunkRTGPIHVOcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
31065
31065
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
31066
31066
|
if (collapsed) {
|
|
31067
31067
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -31077,7 +31077,7 @@ function BoardColumnHeader({
|
|
|
31077
31077
|
}
|
|
31078
31078
|
),
|
|
31079
31079
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31080
|
-
|
|
31080
|
+
_chunkRTGPIHVOcjs.TicketStatusTag,
|
|
31081
31081
|
{
|
|
31082
31082
|
status: tagStatus,
|
|
31083
31083
|
label: column.label,
|
|
@@ -31090,7 +31090,7 @@ function BoardColumnHeader({
|
|
|
31090
31090
|
}
|
|
31091
31091
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
31092
31092
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
31093
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31093
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
31094
31094
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
31095
31095
|
] }),
|
|
31096
31096
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -31242,7 +31242,7 @@ function holdMoveDragEffect(element) {
|
|
|
31242
31242
|
|
|
31243
31243
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
31244
31244
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
31245
|
-
const { innerRef, containerStyle } =
|
|
31245
|
+
const { innerRef, containerStyle } = _chunkRTGPIHVOcjs.useCollapsible.call(void 0, { expanded });
|
|
31246
31246
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
31247
31247
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
31248
31248
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -31271,7 +31271,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
31271
31271
|
}
|
|
31272
31272
|
),
|
|
31273
31273
|
/* @__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,
|
|
31274
|
-
|
|
31274
|
+
_chunkRTGPIHVOcjs.ApprovalBatchMessage,
|
|
31275
31275
|
{
|
|
31276
31276
|
className: "mb-0",
|
|
31277
31277
|
data: {
|
|
@@ -31351,7 +31351,7 @@ function TicketCardBody({
|
|
|
31351
31351
|
onLinkClick
|
|
31352
31352
|
}) {
|
|
31353
31353
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
31354
|
-
const newMessageTextColor = columnColor ?
|
|
31354
|
+
const newMessageTextColor = columnColor ? _chunkRTGPIHVOcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
31355
31355
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _673 => _673.deviceHostnames, 'optionalAccess', _674 => _674.length]) || ticket.organizationName);
|
|
31356
31356
|
const deviceText = [_optionalChain([ticket, 'access', _675 => _675.deviceHostnames, 'optionalAccess', _676 => _676.join, 'call', _677 => _677(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
31357
31357
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _678 => _678.assignees, 'optionalAccess', _679 => _679.length]) || renderAssignSlot);
|
|
@@ -31390,8 +31390,8 @@ function TicketCardBody({
|
|
|
31390
31390
|
] })
|
|
31391
31391
|
] }) : null
|
|
31392
31392
|
] }) : null;
|
|
31393
|
-
const timestampLabel = ticket.createdAt ?
|
|
31394
|
-
const tooltipLabel = ticket.createdAt ?
|
|
31393
|
+
const timestampLabel = ticket.createdAt ? _chunkRTGPIHVOcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
31394
|
+
const tooltipLabel = ticket.createdAt ? _chunkRTGPIHVOcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
31395
31395
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
31396
31396
|
const metaClass = "truncate text-ods-text-secondary text-h6";
|
|
31397
31397
|
const meta = href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -31418,9 +31418,9 @@ function TicketCardBody({
|
|
|
31418
31418
|
rightSection
|
|
31419
31419
|
] }),
|
|
31420
31420
|
_optionalChain([ticket, 'access', _682 => _682.tags, 'optionalAccess', _683 => _683.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
31421
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31422
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31423
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31421
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRTGPIHVOcjs.Tooltip, { children: [
|
|
31422
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipTrigger, { asChild: true, children: meta }),
|
|
31423
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRTGPIHVOcjs.TooltipContent, { children: tooltipLabel })
|
|
31424
31424
|
] }) }) : meta),
|
|
31425
31425
|
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: [
|
|
31426
31426
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|