@flamingo-stack/openframe-frontend-core 0.0.706-snapshot.20261006190707 → 0.0.706
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-6YKAT7NV.js → chunk-3EZ4HHAP.js} +2 -2
- package/dist/{chunk-LFFB6EMB.js → chunk-3NCM4ZQB.js} +2 -15
- package/dist/{chunk-6I4ZAFO2.cjs → chunk-3PLDQDE6.cjs} +9 -9
- package/dist/{chunk-SS5MBHDP.js → chunk-4CJMQLB5.js} +2 -2
- package/dist/{chunk-CNWOMQQJ.js → chunk-4ILM7W2R.js} +1 -1
- package/dist/{chunk-MR3A4MZV.js → chunk-6232S532.js} +1 -1
- package/dist/{chunk-PO33GZVY.js → chunk-7GEBFJT2.js} +4 -24
- package/dist/{chunk-SEXWHIMS.cjs → chunk-7OFPU7WE.cjs} +331 -351
- package/dist/{chunk-2KXTOP6G.cjs → chunk-7SCNMP2B.cjs} +13 -26
- package/dist/{chunk-HDOYSEOJ.js → chunk-BHI6GVC4.js} +3 -3
- package/dist/{chunk-2RNB5DTN.cjs → chunk-DDVBX42E.cjs} +7 -7
- package/dist/{chunk-CZSZSDD4.js → chunk-DWPAAWMR.js} +4 -4
- package/dist/{chunk-4L6XCMOU.js → chunk-G6UMNAVI.js} +2 -10
- package/dist/{chunk-P42V6N34.cjs → chunk-GWQEYPYM.cjs} +313 -321
- package/dist/{chunk-AOWDNSTM.cjs → chunk-HZ7CBXPL.cjs} +40 -40
- package/dist/{chunk-I3ST4PLM.js → chunk-IKJA3Y7Z.js} +1 -1
- package/dist/{chunk-2G7UYK35.cjs → chunk-K6O43WDL.cjs} +32 -32
- package/dist/{chunk-JRU2CXLB.cjs → chunk-LVSFKENJ.cjs} +2 -2
- package/dist/{chunk-LRQTJOF2.cjs → chunk-M75XEEGT.cjs} +24 -24
- package/dist/{chunk-YBUT4AMG.cjs → chunk-MB4PNY7C.cjs} +2 -2
- package/dist/{chunk-LNW45N2C.js → chunk-O2RSAA5M.js} +5 -5
- package/dist/{chunk-DA5UDTLG.js → chunk-PXOQIA5K.js} +2 -2
- package/dist/{chunk-NSGXARGJ.cjs → chunk-RTIPR53L.cjs} +70 -70
- package/dist/{chunk-L6Y6OOKG.cjs → chunk-SEKYEWQG.cjs} +20 -20
- package/dist/{chunk-3AHTOSXJ.cjs → chunk-STHZBOQI.cjs} +9 -9
- package/dist/{chunk-B73373AG.cjs → chunk-SW5ZV2BN.cjs} +20 -20
- package/dist/{chunk-4UM2ETLM.js → chunk-T5TMCHWM.js} +2 -2
- package/dist/{chunk-36BCTE7D.js → chunk-TE773HEH.js} +4 -4
- package/dist/{chunk-QAOFMK2A.cjs → chunk-TQ4LB2DS.cjs} +3 -3
- package/dist/{chunk-OJLR5MEO.cjs → chunk-UJ33ZXDT.cjs} +4 -4
- package/dist/{chunk-TDYIREDJ.js → chunk-VZICIQW2.js} +4 -4
- package/dist/{chunk-6IW7TWPV.js → chunk-YGJKKDDM.js} +1 -1
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/index.cjs +2 -4
- package/dist/components/chat/index.d.ts +1 -1
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +1 -3
- package/dist/components/chat/nav-link-anchor-via-runtime.d.ts +5 -34
- package/dist/components/chat/nav-link-anchor-via-runtime.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 +70 -70
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +36 -38
- package/dist/components/index.js +13 -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/platform/ToolBadge.d.ts +0 -6
- package/dist/components/platform/ToolBadge.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/brand-association-card.d.ts +0 -7
- package/dist/components/ui/brand-association-card.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +3 -5
- package/dist/components/ui/index.js +2 -4
- package/dist/index.cjs +7 -9
- package/dist/index.js +6 -8
- package/package.json +1 -1
- package/src/components/chat/index.ts +1 -7
- package/src/components/chat/nav-link-anchor-via-runtime.tsx +9 -62
- package/src/components/platform/ToolBadge.tsx +1 -18
- package/src/components/ui/brand-association-card.tsx +3 -25
|
@@ -94,8 +94,7 @@ var _chunkLX22Y43Bcjs = require('./chunk-LX22Y43B.cjs');
|
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
|
|
98
|
-
var _chunkSEXWHIMScjs = require('./chunk-SEXWHIMS.cjs');
|
|
97
|
+
var _chunk7OFPU7WEcjs = require('./chunk-7OFPU7WE.cjs');
|
|
99
98
|
|
|
100
99
|
|
|
101
100
|
|
|
@@ -387,7 +386,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
387
386
|
var useTheme = _nextthemes.useTheme;
|
|
388
387
|
function useThemeToggle() {
|
|
389
388
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
390
|
-
const mounted =
|
|
389
|
+
const mounted = _chunk7OFPU7WEcjs.useIsHydrated.call(void 0, );
|
|
391
390
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
392
391
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
393
392
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -2661,7 +2660,7 @@ function Value2({ value, depth }) {
|
|
|
2661
2660
|
}
|
|
2662
2661
|
if (typeof value === "string") {
|
|
2663
2662
|
if (ISO_DATE.test(value)) {
|
|
2664
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2663
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunk7OFPU7WEcjs.formatRelativeTime.call(void 0, value) });
|
|
2665
2664
|
}
|
|
2666
2665
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2667
2666
|
}
|
|
@@ -3293,7 +3292,7 @@ function RowValue({ value }) {
|
|
|
3293
3292
|
}
|
|
3294
3293
|
case "status": {
|
|
3295
3294
|
const { type: _type, ...props } = value;
|
|
3296
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3295
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TicketStatusTag, { ...props });
|
|
3297
3296
|
}
|
|
3298
3297
|
case "custom":
|
|
3299
3298
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -4753,10 +4752,10 @@ function useConfirm() {
|
|
|
4753
4752
|
},
|
|
4754
4753
|
[]
|
|
4755
4754
|
);
|
|
4756
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4757
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4758
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4759
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4755
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4756
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalTitle, { children: pending.title }) }),
|
|
4757
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4758
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.ModalFooter, { children: [
|
|
4760
4759
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4761
4760
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4762
4761
|
] })
|
|
@@ -4815,14 +4814,14 @@ function AdminFormDrawer({
|
|
|
4815
4814
|
else onClose();
|
|
4816
4815
|
};
|
|
4817
4816
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4818
|
-
|
|
4817
|
+
_chunk7OFPU7WEcjs.Drawer,
|
|
4819
4818
|
{
|
|
4820
4819
|
open: isOpen,
|
|
4821
4820
|
onOpenChange: (open) => {
|
|
4822
4821
|
if (!open) requestClose();
|
|
4823
4822
|
},
|
|
4824
4823
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4825
|
-
|
|
4824
|
+
_chunk7OFPU7WEcjs.DrawerContent,
|
|
4826
4825
|
{
|
|
4827
4826
|
side: "right",
|
|
4828
4827
|
resizable: true,
|
|
@@ -4831,11 +4830,11 @@ function AdminFormDrawer({
|
|
|
4831
4830
|
storageKey,
|
|
4832
4831
|
panelClassName: "max-md:w-[calc(100vw-1rem)]",
|
|
4833
4832
|
children: [
|
|
4834
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4835
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4836
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4833
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.DrawerHeader, { children: [
|
|
4834
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.DrawerTitle, { children: title }),
|
|
4835
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.DrawerDescription, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: subtitle }) })
|
|
4837
4836
|
] }),
|
|
4838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4837
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.DrawerBody, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4839
4838
|
"form",
|
|
4840
4839
|
{
|
|
4841
4840
|
id: formId,
|
|
@@ -4966,9 +4965,9 @@ function AdminFormModal({
|
|
|
4966
4965
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4967
4966
|
});
|
|
4968
4967
|
if (!isOpen) return null;
|
|
4969
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4970
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4971
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4968
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4969
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.ModalHeader, { children: [
|
|
4970
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalTitle, { children: title }),
|
|
4972
4971
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4973
4972
|
] }),
|
|
4974
4973
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4993,7 +4992,7 @@ function AdminFormModal({
|
|
|
4993
4992
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4994
4993
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4995
4994
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4996
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4995
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4997
4996
|
"div",
|
|
4998
4997
|
{
|
|
4999
4998
|
"aria-busy": "true",
|
|
@@ -5014,12 +5013,12 @@ function AdminFormModal({
|
|
|
5014
5013
|
]
|
|
5015
5014
|
}
|
|
5016
5015
|
) })
|
|
5017
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5016
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalContent, { className: contentClassName, children }),
|
|
5018
5017
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
5019
5018
|
]
|
|
5020
5019
|
}
|
|
5021
5020
|
),
|
|
5022
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5021
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
5023
5022
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
5024
5023
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
5025
5024
|
footerStatus,
|
|
@@ -7971,7 +7970,7 @@ function buildRichEmbedOverrides({
|
|
|
7971
7970
|
ogEndpointPath,
|
|
7972
7971
|
textSizes
|
|
7973
7972
|
}) {
|
|
7974
|
-
const standard =
|
|
7973
|
+
const standard = _chunk7OFPU7WEcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7975
7974
|
return {
|
|
7976
7975
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7977
7976
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -8107,13 +8106,13 @@ function buildRichEmbedOverrides({
|
|
|
8107
8106
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
8108
8107
|
// elsewhere). Guard against empty `![]()`.
|
|
8109
8108
|
img: ({ src, alt }) => {
|
|
8110
|
-
if (!
|
|
8109
|
+
if (!_chunk7OFPU7WEcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
8111
8110
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
8112
8111
|
},
|
|
8113
8112
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
8114
8113
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
8115
8114
|
video: ({ src, poster, className }) => {
|
|
8116
|
-
if (!
|
|
8115
|
+
if (!_chunk7OFPU7WEcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
8117
8116
|
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, _chunk6NTPY5QAcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
8118
8117
|
}
|
|
8119
8118
|
};
|
|
@@ -8355,13 +8354,13 @@ var RichMarkdownInner = ({
|
|
|
8355
8354
|
},
|
|
8356
8355
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8357
8356
|
);
|
|
8358
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8357
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunk7OFPU7WEcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8359
8358
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8360
8359
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8361
8360
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8362
8361
|
);
|
|
8363
8362
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8364
|
-
|
|
8363
|
+
_chunk7OFPU7WEcjs.MarkdownEngine,
|
|
8365
8364
|
{
|
|
8366
8365
|
content,
|
|
8367
8366
|
className,
|
|
@@ -8383,7 +8382,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8383
8382
|
className = "",
|
|
8384
8383
|
sectionIds,
|
|
8385
8384
|
onInternalLinkClick,
|
|
8386
|
-
brokenLinks =
|
|
8385
|
+
brokenLinks = _chunk7OFPU7WEcjs.NO_BROKEN_LINKS,
|
|
8387
8386
|
currentPath,
|
|
8388
8387
|
resolveSource = "openframe-docs",
|
|
8389
8388
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9365,7 +9364,7 @@ function FilterModal({
|
|
|
9365
9364
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _182 => _182.defaultSort]), () => ( "desc"));
|
|
9366
9365
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _183 => _183.sort]), () => ( dateDefaultSort)));
|
|
9367
9366
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _184 => _184.range]));
|
|
9368
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
9367
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunk7OFPU7WEcjs.useScrollFade.call(void 0, );
|
|
9369
9368
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
9370
9369
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
9371
9370
|
_react.useEffect.call(void 0, () => {
|
|
@@ -9411,15 +9410,15 @@ function FilterModal({
|
|
|
9411
9410
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
9412
9411
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
9413
9412
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9414
|
-
|
|
9413
|
+
_chunk7OFPU7WEcjs.Modal,
|
|
9415
9414
|
{
|
|
9416
9415
|
isOpen,
|
|
9417
9416
|
onClose,
|
|
9418
9417
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "max-h-[90vh] max-w-none md:max-w-[min(42rem,calc(100vw-2rem))]", className),
|
|
9419
9418
|
children: [
|
|
9420
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9419
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalTitle, { children: title }) }),
|
|
9421
9420
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9422
|
-
|
|
9421
|
+
_chunk7OFPU7WEcjs.ModalContent,
|
|
9423
9422
|
{
|
|
9424
9423
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
9425
9424
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -9511,12 +9510,12 @@ function FilterModal({
|
|
|
9511
9510
|
] })
|
|
9512
9511
|
}
|
|
9513
9512
|
),
|
|
9514
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9515
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9513
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
9514
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
9516
9515
|
] })
|
|
9517
9516
|
}
|
|
9518
9517
|
),
|
|
9519
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9518
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.ModalFooter, { children: [
|
|
9520
9519
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
9521
9520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
9522
9521
|
] })
|
|
@@ -9562,9 +9561,9 @@ function actionToMenuItems(action, idx) {
|
|
|
9562
9561
|
function renderActionButton(action, opts = {}) {
|
|
9563
9562
|
const button = renderRawActionButton(action, opts);
|
|
9564
9563
|
if (!action.tooltip) return button;
|
|
9565
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9566
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9567
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9564
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Tooltip, { children: [
|
|
9565
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
9566
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipContent, { children: action.tooltip })
|
|
9568
9567
|
] }) });
|
|
9569
9568
|
}
|
|
9570
9569
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -9588,7 +9587,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
9588
9587
|
}
|
|
9589
9588
|
if (action.submenu && action.submenu.length > 0) {
|
|
9590
9589
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9591
|
-
|
|
9590
|
+
_chunk7OFPU7WEcjs.ActionsMenuDropdown,
|
|
9592
9591
|
{
|
|
9593
9592
|
groups: [{ items: action.submenu }],
|
|
9594
9593
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9723,10 +9722,10 @@ function IconButtonsVariant({
|
|
|
9723
9722
|
selector,
|
|
9724
9723
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9725
9724
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
9726
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9725
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
9727
9726
|
] })
|
|
9728
9727
|
] }),
|
|
9729
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex content-md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9728
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex content-md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9730
9729
|
] });
|
|
9731
9730
|
}
|
|
9732
9731
|
function PrimaryButtonsVariant({
|
|
@@ -9765,7 +9764,7 @@ function MenuPrimaryVariant({
|
|
|
9765
9764
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "hidden items-center content-md:flex", ACTIONS_GAP, className), children: [
|
|
9766
9765
|
selector,
|
|
9767
9766
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9768
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9767
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9769
9768
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
9770
9769
|
] })
|
|
9771
9770
|
] }),
|
|
@@ -9773,7 +9772,7 @@ function MenuPrimaryVariant({
|
|
|
9773
9772
|
// The selector rides into the menu as its header row: on mobile the
|
|
9774
9773
|
// title row has no room for it, and hiding it entirely (what
|
|
9775
9774
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9776
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9775
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9777
9776
|
) : null })
|
|
9778
9777
|
] });
|
|
9779
9778
|
}
|
|
@@ -9782,7 +9781,7 @@ function CompactPrimaryActions({ actions }) {
|
|
|
9782
9781
|
const fold = foldable.length > 1;
|
|
9783
9782
|
const inline = fold ? actions.filter((action) => !foldable.includes(action)) : actions;
|
|
9784
9783
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9785
|
-
fold && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9784
|
+
fold && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ActionsMenuDropdown, { groups: [{ items: foldable.flatMap(actionToMenuItems) }] }),
|
|
9786
9785
|
inline.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, `compact-${actionKey(action, idx)}`))
|
|
9787
9786
|
] });
|
|
9788
9787
|
}
|
|
@@ -11897,8 +11896,8 @@ function makeComposeContentUrl(opts) {
|
|
|
11897
11896
|
}
|
|
11898
11897
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
11899
11898
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
11900
|
-
const owner = claimedOwner &&
|
|
11901
|
-
const origin = owner ?
|
|
11899
|
+
const owner = claimedOwner && _chunk7OFPU7WEcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
11900
|
+
const origin = owner ? _chunk7OFPU7WEcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
11902
11901
|
return {
|
|
11903
11902
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _244 => _244.trim, 'call', _245 => _245()]) || identifier}`,
|
|
11904
11903
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -12073,7 +12072,7 @@ function extractSections(markdown, options = {}) {
|
|
|
12073
12072
|
if (heading.level > opts.maxLevel) continue;
|
|
12074
12073
|
let title = heading.text;
|
|
12075
12074
|
if (opts.stripFormattingMarkers) {
|
|
12076
|
-
title =
|
|
12075
|
+
title = _chunk7OFPU7WEcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
12077
12076
|
}
|
|
12078
12077
|
const baseId = _chunkUVTD52MDcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkUVTD52MDcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
12079
12078
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -12376,13 +12375,6 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
12376
12375
|
|
|
12377
12376
|
|
|
12378
12377
|
|
|
12379
|
-
function PlatformBrowseButton({ item }) {
|
|
12380
|
-
const linkProps = _chunkSEXWHIMScjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
12381
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
12382
|
-
"Browse ",
|
|
12383
|
-
item.buttonText
|
|
12384
|
-
] });
|
|
12385
|
-
}
|
|
12386
12378
|
function BrandAssociationCard({ item, className = "" }) {
|
|
12387
12379
|
const renderIcon = () => {
|
|
12388
12380
|
if (_react2.default.isValidElement(item.icon)) {
|
|
@@ -12395,7 +12387,7 @@ function BrandAssociationCard({ item, className = "" }) {
|
|
|
12395
12387
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-20 w-20 items-center justify-center", children: renderIcon() }),
|
|
12396
12388
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h2", children: item.title }),
|
|
12397
12389
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: item.description }),
|
|
12398
|
-
|
|
12390
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", href: item.link, openInNewTab: true, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
12399
12391
|
"Browse ",
|
|
12400
12392
|
item.buttonText
|
|
12401
12393
|
] })
|
|
@@ -13447,7 +13439,7 @@ function DropdownButton({
|
|
|
13447
13439
|
)
|
|
13448
13440
|
);
|
|
13449
13441
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13450
|
-
|
|
13442
|
+
_chunk7OFPU7WEcjs.ActionsMenuDropdown,
|
|
13451
13443
|
{
|
|
13452
13444
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
13453
13445
|
open,
|
|
@@ -13885,9 +13877,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
13885
13877
|
return next;
|
|
13886
13878
|
});
|
|
13887
13879
|
};
|
|
13888
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13880
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
13889
13881
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13890
|
-
|
|
13882
|
+
_chunk7OFPU7WEcjs.TooltipTrigger,
|
|
13891
13883
|
{
|
|
13892
13884
|
asChild: true,
|
|
13893
13885
|
onPointerDown: (e) => {
|
|
@@ -13905,7 +13897,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
13905
13897
|
children
|
|
13906
13898
|
}
|
|
13907
13899
|
),
|
|
13908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13900
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
13909
13901
|
] }) });
|
|
13910
13902
|
}
|
|
13911
13903
|
|
|
@@ -14578,7 +14570,7 @@ function TableHeader({
|
|
|
14578
14570
|
onFilterChange
|
|
14579
14571
|
}
|
|
14580
14572
|
),
|
|
14581
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14573
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
14582
14574
|
] })
|
|
14583
14575
|
) : (
|
|
14584
14576
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -14604,7 +14596,7 @@ function TableHeader({
|
|
|
14604
14596
|
hint exists, so a hint-less header keeps its DOM. */
|
|
14605
14597
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
14606
14598
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
14607
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14599
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InfoHint, { label: column.label, children: column.hint })
|
|
14608
14600
|
] })
|
|
14609
14601
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
14610
14602
|
getSortIcon(column)
|
|
@@ -15216,9 +15208,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
15216
15208
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
15217
15209
|
}
|
|
15218
15210
|
}, []);
|
|
15219
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15220
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15221
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15211
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
15212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.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 }) }) }),
|
|
15213
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
15222
15214
|
] }) });
|
|
15223
15215
|
}
|
|
15224
15216
|
|
|
@@ -15271,9 +15263,9 @@ function TruncatedCell({ value, className }) {
|
|
|
15271
15263
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
15272
15264
|
}
|
|
15273
15265
|
}, []);
|
|
15274
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15275
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15276
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15266
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
15267
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.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 }) }),
|
|
15268
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
15277
15269
|
] }) });
|
|
15278
15270
|
}
|
|
15279
15271
|
|
|
@@ -15945,7 +15937,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
15945
15937
|
// child of the cell.
|
|
15946
15938
|
_optionalChain([meta, 'optionalAccess', _325 => _325.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
15947
15939
|
filterTrigger,
|
|
15948
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15940
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
15949
15941
|
] }) : filterTrigger
|
|
15950
15942
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15951
15943
|
"div",
|
|
@@ -15970,7 +15962,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
15970
15962
|
// centred on the row.
|
|
15971
15963
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
15972
15964
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
15973
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15965
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
15974
15966
|
] })
|
|
15975
15967
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
15976
15968
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -17906,20 +17898,20 @@ function ColorPresetSelect({
|
|
|
17906
17898
|
...presets.map((p) => ({
|
|
17907
17899
|
id: p.key,
|
|
17908
17900
|
label: p.label,
|
|
17909
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17901
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ColorSwatch, { color: p.color }),
|
|
17910
17902
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
17911
17903
|
})),
|
|
17912
17904
|
{
|
|
17913
17905
|
id: CUSTOM_PRESET_KEY,
|
|
17914
17906
|
label: "Custom",
|
|
17915
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17907
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
17916
17908
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
17917
17909
|
}
|
|
17918
17910
|
]
|
|
17919
17911
|
}
|
|
17920
17912
|
];
|
|
17921
17913
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17922
|
-
|
|
17914
|
+
_chunk7OFPU7WEcjs.ActionsMenuDropdown,
|
|
17923
17915
|
{
|
|
17924
17916
|
groups,
|
|
17925
17917
|
align: "start",
|
|
@@ -17929,7 +17921,7 @@ function ColorPresetSelect({
|
|
|
17929
17921
|
{
|
|
17930
17922
|
disabled,
|
|
17931
17923
|
"aria-label": `Color: ${displayLabel}`,
|
|
17932
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17924
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ColorSwatch, { color: displayColor }),
|
|
17933
17925
|
selectedLabel: displayLabel,
|
|
17934
17926
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
17935
17927
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "group", className)
|
|
@@ -17950,7 +17942,7 @@ function HexInputs({ value, onChange }) {
|
|
|
17950
17942
|
}
|
|
17951
17943
|
const commit = () => {
|
|
17952
17944
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
17953
|
-
if (
|
|
17945
|
+
if (_chunk7OFPU7WEcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
17954
17946
|
else setDraft(value);
|
|
17955
17947
|
};
|
|
17956
17948
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18014,12 +18006,12 @@ function ChannelInput({
|
|
|
18014
18006
|
);
|
|
18015
18007
|
}
|
|
18016
18008
|
function RgbInputs({ value, onChange }) {
|
|
18017
|
-
const rgb = _nullishCoalesce(
|
|
18009
|
+
const rgb = _nullishCoalesce(_chunk7OFPU7WEcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
18018
18010
|
const update = (next) => {
|
|
18019
18011
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
18020
18012
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
18021
18013
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
18022
|
-
onChange(
|
|
18014
|
+
onChange(_chunk7OFPU7WEcjs.rgbToHex.call(void 0, r, g, b));
|
|
18023
18015
|
};
|
|
18024
18016
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
18025
18017
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -18028,14 +18020,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
18028
18020
|
] });
|
|
18029
18021
|
}
|
|
18030
18022
|
function HslInputs({ value, onChange }) {
|
|
18031
|
-
const rgb = _nullishCoalesce(
|
|
18032
|
-
const hsl =
|
|
18023
|
+
const rgb = _nullishCoalesce(_chunk7OFPU7WEcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
18024
|
+
const hsl = _chunk7OFPU7WEcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
18033
18025
|
const update = (next) => {
|
|
18034
18026
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
18035
18027
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
18036
18028
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
18037
|
-
const out =
|
|
18038
|
-
onChange(
|
|
18029
|
+
const out = _chunk7OFPU7WEcjs.hslToRgb.call(void 0, h, s, l);
|
|
18030
|
+
onChange(_chunk7OFPU7WEcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
18039
18031
|
};
|
|
18040
18032
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
18041
18033
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -18061,7 +18053,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
18061
18053
|
{
|
|
18062
18054
|
disabled,
|
|
18063
18055
|
"aria-label": "Pick custom color",
|
|
18064
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18056
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ColorSwatch, { color: value }),
|
|
18065
18057
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
18066
18058
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
18067
18059
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "group", className)
|
|
@@ -18077,7 +18069,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
18077
18069
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
18078
18070
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
18079
18071
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18080
|
-
|
|
18072
|
+
_chunk7OFPU7WEcjs.ActionsMenuDropdown,
|
|
18081
18073
|
{
|
|
18082
18074
|
groups: formatGroups,
|
|
18083
18075
|
align: "start",
|
|
@@ -18134,7 +18126,7 @@ function TicketStatusConfigRow({
|
|
|
18134
18126
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
18135
18127
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
18136
18128
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18137
|
-
|
|
18129
|
+
_chunk7OFPU7WEcjs.TicketStatusTag,
|
|
18138
18130
|
{
|
|
18139
18131
|
status: statusKey,
|
|
18140
18132
|
label: name || " ",
|
|
@@ -18286,7 +18278,7 @@ function formatTestRunDuration(ms) {
|
|
|
18286
18278
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
18287
18279
|
var SKELETON_COLUMNS = 6;
|
|
18288
18280
|
function TestResultsSkeleton() {
|
|
18289
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18281
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
18290
18282
|
/* @__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}`)) }),
|
|
18291
18283
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "animate-pulse overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] content-md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-3/4 rounded-sm bg-ods-bg-surface" }) }, `skeleton-cell-${i}`)) }) })
|
|
18292
18284
|
] }) });
|
|
@@ -18321,7 +18313,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
18321
18313
|
if (loading) {
|
|
18322
18314
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
18323
18315
|
}
|
|
18324
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18316
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.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: [
|
|
18325
18317
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
18326
18318
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
18327
18319
|
] }) }) });
|
|
@@ -18427,7 +18419,7 @@ function useTestRunState(campaign) {
|
|
|
18427
18419
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
18428
18420
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
18429
18421
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
18430
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
18422
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunk7OFPU7WEcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
18431
18423
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
18432
18424
|
const displayRows = _react.useMemo.call(void 0,
|
|
18433
18425
|
() => campaign.results.map(
|
|
@@ -18765,7 +18757,7 @@ function TicketInfoSection({
|
|
|
18765
18757
|
/* @__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]) }),
|
|
18766
18758
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
18767
18759
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18768
|
-
|
|
18760
|
+
_chunk7OFPU7WEcjs.TicketStatusTag,
|
|
18769
18761
|
{
|
|
18770
18762
|
status: _nullishCoalesce(status, () => ( "")),
|
|
18771
18763
|
label: statusLabel,
|
|
@@ -18804,7 +18796,7 @@ function TicketInfoSection({
|
|
|
18804
18796
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
18805
18797
|
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" }) }),
|
|
18806
18798
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
18807
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18799
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.SimpleMarkdownRenderer, { content: description }),
|
|
18808
18800
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
18809
18801
|
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, _chunk6NTPY5QAcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
18810
18802
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18829,7 +18821,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
18829
18821
|
const { label, color } = option;
|
|
18830
18822
|
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: [
|
|
18831
18823
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
18832
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18824
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ColorSwatch, { color }),
|
|
18833
18825
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
18834
18826
|
] }),
|
|
18835
18827
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -18874,9 +18866,9 @@ function TakeOverTicketModal({
|
|
|
18874
18866
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
18875
18867
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
18876
18868
|
};
|
|
18877
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18869
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
18878
18870
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
18879
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18871
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
18880
18872
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
18881
18873
|
"The ticket ",
|
|
18882
18874
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -18891,7 +18883,7 @@ function TakeOverTicketModal({
|
|
|
18891
18883
|
value: selectedStatusId,
|
|
18892
18884
|
onChange: setStatusId,
|
|
18893
18885
|
placeholder: "Select Status",
|
|
18894
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18886
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
18895
18887
|
renderOption: renderTicketStatusOption
|
|
18896
18888
|
}
|
|
18897
18889
|
) }),
|
|
@@ -18918,7 +18910,7 @@ function TakeOverTicketModal({
|
|
|
18918
18910
|
}
|
|
18919
18911
|
) })
|
|
18920
18912
|
] }),
|
|
18921
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18913
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.ModalFooter, { children: [
|
|
18922
18914
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
18923
18915
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
18924
18916
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18977,9 +18969,9 @@ function ReopenTicketModal({
|
|
|
18977
18969
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
18978
18970
|
});
|
|
18979
18971
|
};
|
|
18980
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18972
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
18981
18973
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
18982
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18974
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
18983
18975
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
18984
18976
|
"The ticket ",
|
|
18985
18977
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -18994,7 +18986,7 @@ function ReopenTicketModal({
|
|
|
18994
18986
|
value: selectedStatusId,
|
|
18995
18987
|
onChange: setStatusId,
|
|
18996
18988
|
placeholder: "Select Status",
|
|
18997
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18989
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
18998
18990
|
renderOption: renderTicketStatusOption
|
|
18999
18991
|
}
|
|
19000
18992
|
) }),
|
|
@@ -19032,7 +19024,7 @@ function ReopenTicketModal({
|
|
|
19032
19024
|
disabled: isPending
|
|
19033
19025
|
}
|
|
19034
19026
|
) }),
|
|
19035
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19027
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.ModalFooter, { children: [
|
|
19036
19028
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
19037
19029
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
19038
19030
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19081,9 +19073,9 @@ function ReopenTicketRequestModal({
|
|
|
19081
19073
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
19082
19074
|
});
|
|
19083
19075
|
};
|
|
19084
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19076
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
19085
19077
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
19086
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19078
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
19087
19079
|
/* @__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." }),
|
|
19088
19080
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19089
19081
|
Textarea,
|
|
@@ -19107,7 +19099,7 @@ function ReopenTicketRequestModal({
|
|
|
19107
19099
|
disabled: isPending
|
|
19108
19100
|
}
|
|
19109
19101
|
),
|
|
19110
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19102
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.ModalFooter, { children: [
|
|
19111
19103
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
19112
19104
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
19113
19105
|
] })
|
|
@@ -19249,7 +19241,7 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
19249
19241
|
gap: COLUMN_GAP_PX
|
|
19250
19242
|
};
|
|
19251
19243
|
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,
|
|
19252
|
-
|
|
19244
|
+
_chunk7OFPU7WEcjs.MarqueeWall,
|
|
19253
19245
|
{
|
|
19254
19246
|
axis: "y",
|
|
19255
19247
|
reverse: index % 2 === 1,
|
|
@@ -19393,7 +19385,7 @@ var INCIDENT_TONE = {
|
|
|
19393
19385
|
approved: "success"
|
|
19394
19386
|
};
|
|
19395
19387
|
function IncidentStatusLine({ status, label, className }) {
|
|
19396
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19388
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.StatusLine, { tone: INCIDENT_TONE[status], label, className });
|
|
19397
19389
|
}
|
|
19398
19390
|
function SourceTag({ children }) {
|
|
19399
19391
|
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 });
|
|
@@ -23503,60 +23495,60 @@ function CardSkeleton({
|
|
|
23503
23495
|
function VendorCardContent({ showMetadata }) {
|
|
23504
23496
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 p-4", children: [
|
|
23505
23497
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
23506
|
-
/* @__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,
|
|
23498
|
+
/* @__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, _chunk7OFPU7WEcjs.MediaSkeleton.Avatar, { size: "sm", className: "h-11 w-11" }) }),
|
|
23507
23499
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
23508
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23509
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23500
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
23501
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
23510
23502
|
] })
|
|
23511
23503
|
] }),
|
|
23512
23504
|
/* @__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: [
|
|
23513
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23514
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23505
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23506
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23515
23507
|
] }) }),
|
|
23516
23508
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
23517
23509
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
23518
23510
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
23519
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23520
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23511
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
23512
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
23521
23513
|
] }),
|
|
23522
23514
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
23523
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23524
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23515
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
23516
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
23525
23517
|
] })
|
|
23526
23518
|
] }),
|
|
23527
23519
|
/* @__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: [
|
|
23528
|
-
/* @__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,
|
|
23529
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23520
|
+
/* @__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, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
23521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23530
23522
|
] }) })
|
|
23531
23523
|
] })
|
|
23532
23524
|
] });
|
|
23533
23525
|
}
|
|
23534
23526
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
23535
23527
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23536
|
-
/* @__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,
|
|
23528
|
+
/* @__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, _chunk7OFPU7WEcjs.MediaSkeleton.CardImage, {}) }),
|
|
23537
23529
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col p-4", children: [
|
|
23538
23530
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[50.4px] items-center content-md:min-h-[56px] content-lg:min-h-[61.6px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
23539
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23540
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23531
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "w-full" }),
|
|
23532
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "w-3/4" })
|
|
23541
23533
|
] }) }),
|
|
23542
23534
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-3 flex h-[28px] items-center gap-2", children: [
|
|
23543
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23544
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23535
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
23536
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Chip, { className: "w-12" })
|
|
23545
23537
|
] }),
|
|
23546
23538
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex min-h-[42px] items-center content-md:min-h-[45px] content-lg:min-h-[48px]", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
23547
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23548
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23539
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23540
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
23549
23541
|
] }) }),
|
|
23550
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23542
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Button, { className: "h-8 w-24" }) }),
|
|
23551
23543
|
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: [
|
|
23552
23544
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
23553
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23554
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23545
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
23546
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23555
23547
|
] }),
|
|
23556
23548
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3 text-ods-text-muted", children: [
|
|
23557
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23549
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
23558
23550
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-1 w-1 rounded-full bg-ods-skeleton" }),
|
|
23559
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23551
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23560
23552
|
] })
|
|
23561
23553
|
] }) })
|
|
23562
23554
|
] })
|
|
@@ -23564,35 +23556,35 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
23564
23556
|
}
|
|
23565
23557
|
function CategoryCardContent() {
|
|
23566
23558
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 p-4 content-md:p-6", children: [
|
|
23567
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 content-md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23559
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 content-md:gap-3", children: Array.from({ length: 6 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "lg", className: "flex-shrink-0" }, index)) }),
|
|
23568
23560
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23569
23561
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
23570
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23571
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23562
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
23563
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
23572
23564
|
] }),
|
|
23573
23565
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between gap-4 content-md:items-end content-md:gap-6", children: [
|
|
23574
23566
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
23575
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23576
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23567
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23568
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
23577
23569
|
] }),
|
|
23578
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23570
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Button, { className: "h-10 w-10 flex-shrink-0 content-md:h-12 content-md:w-12" })
|
|
23579
23571
|
] })
|
|
23580
23572
|
] })
|
|
23581
23573
|
] });
|
|
23582
23574
|
}
|
|
23583
23575
|
function AlternativeCardContent({ showActions }) {
|
|
23584
23576
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4 p-4", children: [
|
|
23585
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23577
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
23586
23578
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
23587
23579
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
23588
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23589
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23580
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
23581
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23590
23582
|
] }),
|
|
23591
23583
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
23592
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23593
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23584
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-5/6" })
|
|
23594
23586
|
] }),
|
|
23595
|
-
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23587
|
+
showActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Button, { className: "h-8 w-20" }) })
|
|
23596
23588
|
] })
|
|
23597
23589
|
] });
|
|
23598
23590
|
}
|
|
@@ -23643,12 +23635,12 @@ function HeroSkeleton() {
|
|
|
23643
23635
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
23644
23636
|
},
|
|
23645
23637
|
children: [
|
|
23646
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23638
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Heading, { className: "mb-4 h-12 w-full max-w-4xl content-md:mb-6 content-md:h-20 content-lg:h-24" }),
|
|
23647
23639
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-8 w-full max-w-4xl space-y-3 px-2 content-md:mb-10", children: [
|
|
23648
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23649
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23640
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "h-5 content-md:h-7" }),
|
|
23641
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "mx-auto h-5 w-3/4 content-md:h-7" })
|
|
23650
23642
|
] }),
|
|
23651
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23643
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Button, { className: "h-12 w-full content-md:w-64" })
|
|
23652
23644
|
]
|
|
23653
23645
|
}
|
|
23654
23646
|
);
|
|
@@ -23659,14 +23651,14 @@ function SearchContainerSkeleton({
|
|
|
23659
23651
|
}) {
|
|
23660
23652
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className || ""), children: [
|
|
23661
23653
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 content-md:gap-4", children: [
|
|
23662
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23663
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23654
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Input, { className: "flex-1" }),
|
|
23655
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Button, { className: "w-32 content-md:w-40" })
|
|
23664
23656
|
] }),
|
|
23665
23657
|
showFilters && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-2", children: [
|
|
23666
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23667
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23668
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23669
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23658
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Chip, {}),
|
|
23659
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Chip, { className: "w-24" }),
|
|
23660
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Chip, { className: "w-16" }),
|
|
23661
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Chip, { className: "w-20" })
|
|
23670
23662
|
] })
|
|
23671
23663
|
] });
|
|
23672
23664
|
}
|
|
@@ -23685,7 +23677,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
23685
23677
|
{ type: "file", width: "w-36" }
|
|
23686
23678
|
];
|
|
23687
23679
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full content-lg:w-[320px]", className), children: [
|
|
23688
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23680
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
23689
23681
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23690
23682
|
"div",
|
|
23691
23683
|
{
|
|
@@ -23695,12 +23687,12 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
23695
23687
|
),
|
|
23696
23688
|
children: [
|
|
23697
23689
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2.5", children: [
|
|
23698
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23699
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23690
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "h-4 w-4 shrink-0 rounded" }),
|
|
23691
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
23700
23692
|
] }),
|
|
23701
23693
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[18px] items-center gap-2", children: [
|
|
23702
|
-
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23703
|
-
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23694
|
+
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
23695
|
+
item.type === "folder" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "h-4 w-4 rounded" })
|
|
23704
23696
|
] })
|
|
23705
23697
|
]
|
|
23706
23698
|
},
|
|
@@ -23710,13 +23702,13 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
23710
23702
|
}
|
|
23711
23703
|
function BreadcrumbSkeleton({ className }) {
|
|
23712
23704
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-6 flex items-center space-x-1", className), children: [
|
|
23713
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23714
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23715
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23716
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23717
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23718
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23719
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23705
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
23706
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
23707
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-24" }),
|
|
23708
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
23709
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-32" }),
|
|
23710
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4 rounded-full" }),
|
|
23711
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
23720
23712
|
] });
|
|
23721
23713
|
}
|
|
23722
23714
|
function ResultsHeaderSkeleton({ className }) {
|
|
@@ -23727,7 +23719,7 @@ function ResultsHeaderSkeleton({ className }) {
|
|
|
23727
23719
|
"mb-6 flex flex-col items-start justify-between gap-4 content-md:flex-row content-md:items-center",
|
|
23728
23720
|
className
|
|
23729
23721
|
),
|
|
23730
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23722
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-48" }) })
|
|
23731
23723
|
}
|
|
23732
23724
|
);
|
|
23733
23725
|
}
|
|
@@ -23761,35 +23753,35 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
23761
23753
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mx-auto max-w-4xl", className), children: [
|
|
23762
23754
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "mb-8 space-y-4 content-md:mb-12 content-md:space-y-6", children: [
|
|
23763
23755
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
23764
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23765
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23756
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Chip, {}),
|
|
23757
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Chip, { className: "w-16" })
|
|
23766
23758
|
] }),
|
|
23767
23759
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
23768
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23769
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23760
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Heading, { className: "w-full" }),
|
|
23761
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Heading, { className: "w-3/4" })
|
|
23770
23762
|
] }),
|
|
23771
23763
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 border-t border-ods-divider pt-4", children: [
|
|
23772
23764
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
23773
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23774
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23765
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
23766
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-24" })
|
|
23775
23767
|
] }),
|
|
23776
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23777
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23768
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-20" }),
|
|
23769
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23778
23770
|
] })
|
|
23779
23771
|
] }),
|
|
23780
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23772
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-8 content-md:mb-12", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.CardImage, { className: "h-64 w-full content-md:h-96" }) }),
|
|
23781
23773
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
23782
23774
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23783
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23784
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23785
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23786
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23775
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23776
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23777
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-5/6" }),
|
|
23778
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
23787
23779
|
] }, index)),
|
|
23788
23780
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "py-4", children: [
|
|
23789
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23781
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "mb-4 w-2/3" }),
|
|
23790
23782
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23791
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23792
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23783
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
23784
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-4/5" })
|
|
23793
23785
|
] })
|
|
23794
23786
|
] })
|
|
23795
23787
|
] })
|
|
@@ -24015,11 +24007,11 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
24015
24007
|
className
|
|
24016
24008
|
),
|
|
24017
24009
|
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: [
|
|
24018
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24019
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24010
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "lg" }),
|
|
24011
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
24020
24012
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
24021
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24022
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24013
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24014
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
24023
24015
|
] })
|
|
24024
24016
|
] }) }, i))
|
|
24025
24017
|
}
|
|
@@ -24174,7 +24166,7 @@ function useContentLoading(isLoading) {
|
|
|
24174
24166
|
|
|
24175
24167
|
function ParagraphSkeleton({ className, lines = 4 }) {
|
|
24176
24168
|
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
24177
|
-
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,
|
|
24169
|
+
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, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: lineWidths[index % lineWidths.length] }, index)) });
|
|
24178
24170
|
}
|
|
24179
24171
|
function ListSkeleton({
|
|
24180
24172
|
className,
|
|
@@ -24184,12 +24176,12 @@ function ListSkeleton({
|
|
|
24184
24176
|
}) {
|
|
24185
24177
|
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: [
|
|
24186
24178
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24187
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24188
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24179
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24180
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-32 content-md:w-48" })
|
|
24189
24181
|
] }),
|
|
24190
24182
|
showActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
24191
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24192
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24183
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-8" }),
|
|
24184
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { variant: "default", className: "h-4 w-4" })
|
|
24193
24185
|
] })
|
|
24194
24186
|
] }, index)) });
|
|
24195
24187
|
}
|
|
@@ -24199,13 +24191,13 @@ function TableSkeleton({
|
|
|
24199
24191
|
columns = 4
|
|
24200
24192
|
}) {
|
|
24201
24193
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
24202
|
-
/* @__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,
|
|
24194
|
+
/* @__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, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "w-3/4" }, index)) }),
|
|
24203
24195
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-3", children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24204
24196
|
"div",
|
|
24205
24197
|
{
|
|
24206
24198
|
className: "grid gap-4 border-b border-ods-divider py-2",
|
|
24207
24199
|
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
24208
|
-
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24200
|
+
children: Array.from({ length: columns }).map((_cell, colIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-2/3" }, colIndex))
|
|
24209
24201
|
},
|
|
24210
24202
|
rowIndex
|
|
24211
24203
|
)) })
|
|
@@ -24214,13 +24206,13 @@ function TableSkeleton({
|
|
|
24214
24206
|
function FormSkeleton({ className, fields = 4 }) {
|
|
24215
24207
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: [
|
|
24216
24208
|
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
24217
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24218
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24219
|
-
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24209
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
24210
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Input, {}),
|
|
24211
|
+
index % 3 === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-48" })
|
|
24220
24212
|
] }, index)),
|
|
24221
24213
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 pt-4", children: [
|
|
24222
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24223
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24214
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Button, {}),
|
|
24215
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Button, { className: "bg-ods-border" })
|
|
24224
24216
|
] })
|
|
24225
24217
|
] });
|
|
24226
24218
|
}
|
|
@@ -24235,7 +24227,7 @@ function NavigationSkeleton({
|
|
|
24235
24227
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex gap-4 content-md:gap-6", !horizontal && "flex-col", className),
|
|
24236
24228
|
role: "status",
|
|
24237
24229
|
"aria-label": "Loading navigation",
|
|
24238
|
-
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24230
|
+
children: Array.from({ length: items }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-16 content-md:w-20" }, index))
|
|
24239
24231
|
}
|
|
24240
24232
|
);
|
|
24241
24233
|
}
|
|
@@ -24246,30 +24238,30 @@ function ProfileSkeleton({
|
|
|
24246
24238
|
}) {
|
|
24247
24239
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
24248
24240
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
24249
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24241
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Avatar, { size: "lg" }),
|
|
24250
24242
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
24251
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24252
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24253
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24243
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
24244
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-1/3" }),
|
|
24245
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24254
24246
|
] })
|
|
24255
24247
|
] }),
|
|
24256
24248
|
showBio && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
24257
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24258
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24259
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24249
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24250
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-4/5" }),
|
|
24251
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
24260
24252
|
] }),
|
|
24261
24253
|
showStats && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-6", children: [
|
|
24262
24254
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
24263
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24255
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
24256
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "mx-auto w-12" })
|
|
24265
24257
|
] }),
|
|
24266
24258
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
24267
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24268
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24259
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
24260
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "mx-auto w-16" })
|
|
24269
24261
|
] }),
|
|
24270
24262
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
24271
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24272
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24263
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
24264
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "mx-auto w-14" })
|
|
24273
24265
|
] })
|
|
24274
24266
|
] })
|
|
24275
24267
|
] });
|
|
@@ -24281,32 +24273,32 @@ function CommentSkeleton({
|
|
|
24281
24273
|
}) {
|
|
24282
24274
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: [
|
|
24283
24275
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24284
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24276
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
24285
24277
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center gap-4", children: [
|
|
24286
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24287
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24288
|
-
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,
|
|
24278
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-24" }),
|
|
24279
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
24280
|
+
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, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm" }, i)) })
|
|
24289
24281
|
] })
|
|
24290
24282
|
] }),
|
|
24291
24283
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 space-y-2", children: [
|
|
24292
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24293
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24294
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24284
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24285
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-3/4" }),
|
|
24286
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
24295
24287
|
] }),
|
|
24296
24288
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 flex gap-4", children: [
|
|
24297
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24298
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24299
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24289
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
24290
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-16" }),
|
|
24291
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
24300
24292
|
] }),
|
|
24301
24293
|
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: [
|
|
24302
24294
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24303
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24304
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24305
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24295
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
24296
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-20" }),
|
|
24297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-12" })
|
|
24306
24298
|
] }),
|
|
24307
24299
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11", children: [
|
|
24308
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24309
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24300
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24301
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24310
24302
|
] })
|
|
24311
24303
|
] }, index)) })
|
|
24312
24304
|
] });
|
|
@@ -24319,31 +24311,31 @@ function FeatureListSkeleton({
|
|
|
24319
24311
|
}) {
|
|
24320
24312
|
if (grouped) {
|
|
24321
24313
|
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: [
|
|
24322
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24314
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
24323
24315
|
/* @__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: [
|
|
24324
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24316
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24317
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24326
24318
|
] }, featureIndex)) })
|
|
24327
24319
|
] }, groupIndex)) });
|
|
24328
24320
|
}
|
|
24329
24321
|
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: [
|
|
24330
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24331
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24322
|
+
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24323
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24332
24324
|
] }, index)) });
|
|
24333
24325
|
}
|
|
24334
24326
|
function TimelineSkeleton({ className, items = 5 }) {
|
|
24335
24327
|
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: [
|
|
24336
24328
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center", children: [
|
|
24337
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24329
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24338
24330
|
index < items - 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2 h-12 w-px bg-ods-border" })
|
|
24339
24331
|
] }),
|
|
24340
24332
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
24341
24333
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24342
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24343
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24334
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-1/3" }),
|
|
24335
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
24344
24336
|
] }),
|
|
24345
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24346
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24337
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24338
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
24347
24339
|
] })
|
|
24348
24340
|
] }, index)) });
|
|
24349
24341
|
}
|
|
@@ -24359,16 +24351,16 @@ function PricingSkeleton({ className, plans = 3 }) {
|
|
|
24359
24351
|
className
|
|
24360
24352
|
),
|
|
24361
24353
|
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: [
|
|
24362
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24354
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
24363
24355
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
24364
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24365
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24356
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Heading, { className: "w-1/3" }),
|
|
24357
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-1/4" })
|
|
24366
24358
|
] }),
|
|
24367
24359
|
/* @__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: [
|
|
24368
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24369
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24360
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24361
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
24370
24362
|
] }, featureIndex)) }),
|
|
24371
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24363
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Button, { className: "w-full" })
|
|
24372
24364
|
] }) }, index))
|
|
24373
24365
|
}
|
|
24374
24366
|
);
|
|
@@ -24404,12 +24396,12 @@ function MspProfileFormSkeleton({ className, fields = 4 }) {
|
|
|
24404
24396
|
"aria-label": "Loading MSP profile form",
|
|
24405
24397
|
children: [
|
|
24406
24398
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col space-y-2", children: [
|
|
24407
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24408
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 content-md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24399
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-28" }),
|
|
24400
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[180px] flex-1 content-md:min-h-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "h-full w-full rounded-lg", "aria-label": "Loading company logo" }) })
|
|
24409
24401
|
] }),
|
|
24410
24402
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2", children: Array.from({ length: fields }).map((_, idx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col space-y-2", children: [
|
|
24411
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24412
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24403
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-40" }),
|
|
24404
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Input, {})
|
|
24413
24405
|
] }, idx)) })
|
|
24414
24406
|
]
|
|
24415
24407
|
}
|
|
@@ -24429,13 +24421,13 @@ function CategoryCardSkeleton({ className }) {
|
|
|
24429
24421
|
role: "status",
|
|
24430
24422
|
"aria-label": "Loading category card",
|
|
24431
24423
|
children: [
|
|
24432
|
-
/* @__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,
|
|
24424
|
+
/* @__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, _chunk7OFPU7WEcjs.UnifiedSkeleton, { variant: "circular", className: "h-10 w-10 flex-shrink-0", "aria-label": "Loading icon" }, i)) }),
|
|
24433
24425
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col space-y-3", children: [
|
|
24434
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24435
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24436
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24426
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Heading, { className: "w-3/4" }),
|
|
24427
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-1/2" }),
|
|
24428
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-full" })
|
|
24437
24429
|
] }),
|
|
24438
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24430
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-4 flex justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "h-12 w-12 rounded-[6px]", "aria-label": "Loading button" }) })
|
|
24439
24431
|
]
|
|
24440
24432
|
}
|
|
24441
24433
|
);
|
|
@@ -24452,12 +24444,12 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
24452
24444
|
"aria-label": "Loading category section",
|
|
24453
24445
|
children: [
|
|
24454
24446
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 max-w-xl space-y-2", children: [
|
|
24455
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24456
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24447
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Heading, { className: "w-1/2" }),
|
|
24448
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-3/4" })
|
|
24457
24449
|
] }),
|
|
24458
24450
|
/* @__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: [
|
|
24459
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24460
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 content-md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24451
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
24452
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 content-md:grid-cols-3", children: Array.from({ length: 2 }).map((__, j) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "h-20 rounded-lg" }, j)) })
|
|
24461
24453
|
] }, idx)) })
|
|
24462
24454
|
]
|
|
24463
24455
|
}
|
|
@@ -24468,14 +24460,14 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
24468
24460
|
|
|
24469
24461
|
function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
24470
24462
|
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: [
|
|
24471
|
-
/* @__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,
|
|
24463
|
+
/* @__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, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "h-6 w-24 rounded" }, i)) }),
|
|
24472
24464
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-w-2xl space-y-2", children: [
|
|
24473
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24474
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24465
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Heading, { className: "w-2/3" }),
|
|
24466
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
24475
24467
|
] }),
|
|
24476
24468
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-10 flex justify-between", children: [
|
|
24477
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24478
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24469
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded" }),
|
|
24470
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "h-10 w-32 rounded" })
|
|
24479
24471
|
] })
|
|
24480
24472
|
] });
|
|
24481
24473
|
}
|
|
@@ -24867,28 +24859,28 @@ function OrganizationCardSkeleton({
|
|
|
24867
24859
|
}
|
|
24868
24860
|
),
|
|
24869
24861
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center space-y-1 py-2", children: [
|
|
24870
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24871
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24862
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "w-3/4" }),
|
|
24863
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-1/2" })
|
|
24872
24864
|
] })
|
|
24873
24865
|
] }),
|
|
24874
24866
|
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: [
|
|
24875
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24867
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-full" }),
|
|
24868
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Body, { className: "w-2/3" })
|
|
24877
24869
|
] }) }),
|
|
24878
24870
|
showFooter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
24879
24871
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
24880
24872
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
24881
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24882
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24873
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
24874
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-8" })
|
|
24883
24875
|
] }),
|
|
24884
24876
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
24885
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24886
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24877
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
24878
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
24887
24879
|
] })
|
|
24888
24880
|
] }),
|
|
24889
24881
|
/* @__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: [
|
|
24890
|
-
/* @__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,
|
|
24891
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24882
|
+
/* @__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, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm", className: "h-2.5 w-2.5" }) }),
|
|
24883
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
24892
24884
|
] }) })
|
|
24893
24885
|
] })
|
|
24894
24886
|
] })
|
|
@@ -24965,16 +24957,16 @@ function DeviceCardSkeletonGrid({ count = 12, className }) {
|
|
|
24965
24957
|
|
|
24966
24958
|
function PushButtonSelectorSkeleton({ count = 3, hasTitle }) {
|
|
24967
24959
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", role: "status", "aria-label": "Loading options", children: [
|
|
24968
|
-
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24960
|
+
hasTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "h-5 w-20", "aria-label": "Loading title" }),
|
|
24969
24961
|
/* @__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: [
|
|
24970
24962
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24971
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24963
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "h-8 w-8", "aria-label": "Loading icon" }),
|
|
24972
24964
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
24973
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24974
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24965
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { variant: "text", className: "mb-2 h-4 w-24", "aria-label": "Loading name" }),
|
|
24966
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { variant: "text", className: "h-4 w-36", "aria-label": "Loading description" })
|
|
24975
24967
|
] })
|
|
24976
24968
|
] }),
|
|
24977
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24969
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "h-6 w-6", "aria-label": "Loading selection state" })
|
|
24978
24970
|
] }) }, i)) })
|
|
24979
24971
|
] });
|
|
24980
24972
|
}
|
|
@@ -25096,9 +25088,9 @@ function PushButtonSelector({
|
|
|
25096
25088
|
option.id
|
|
25097
25089
|
);
|
|
25098
25090
|
if (option.disabled && option.disabledReason) {
|
|
25099
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25100
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25101
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25091
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Tooltip, { children: [
|
|
25092
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
25093
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
25102
25094
|
] }, option.id);
|
|
25103
25095
|
}
|
|
25104
25096
|
return optionEl;
|
|
@@ -25143,7 +25135,7 @@ function PushButtonSelector({
|
|
|
25143
25135
|
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
|
|
25144
25136
|
] }) : null
|
|
25145
25137
|
] });
|
|
25146
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25138
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
25147
25139
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
25148
25140
|
searchInput,
|
|
25149
25141
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -25357,7 +25349,7 @@ function SEOEditorPreview({
|
|
|
25357
25349
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
25358
25350
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
25359
25351
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25360
|
-
|
|
25352
|
+
_chunk7OFPU7WEcjs.Field,
|
|
25361
25353
|
{
|
|
25362
25354
|
label: "SEO Title",
|
|
25363
25355
|
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${SEO_TITLE_MAX_LENGTH})` : null,
|
|
@@ -25397,7 +25389,7 @@ function SEOEditorPreview({
|
|
|
25397
25389
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
25398
25390
|
] }),
|
|
25399
25391
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25400
|
-
|
|
25392
|
+
_chunk7OFPU7WEcjs.Field,
|
|
25401
25393
|
{
|
|
25402
25394
|
label: "SEO Keywords",
|
|
25403
25395
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -25429,7 +25421,7 @@ function SEOEditorPreview({
|
|
|
25429
25421
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
25430
25422
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
25431
25423
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25432
|
-
|
|
25424
|
+
_chunk7OFPU7WEcjs.Field,
|
|
25433
25425
|
{
|
|
25434
25426
|
label: "SEO Description",
|
|
25435
25427
|
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
@@ -26107,7 +26099,7 @@ function VideoBitesDisplay({
|
|
|
26107
26099
|
filterPublished = true,
|
|
26108
26100
|
showTitle = true
|
|
26109
26101
|
}) {
|
|
26110
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26102
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
26111
26103
|
}
|
|
26112
26104
|
|
|
26113
26105
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -26177,7 +26169,7 @@ function WalkthroughVideo({
|
|
|
26177
26169
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
26178
26170
|
};
|
|
26179
26171
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
26180
|
-
const hydrated =
|
|
26172
|
+
const hydrated = _chunk7OFPU7WEcjs.useIsHydrated.call(void 0, );
|
|
26181
26173
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
26182
26174
|
if (!hydrated) return false;
|
|
26183
26175
|
try {
|
|
@@ -26599,7 +26591,7 @@ function WalkthroughVideo({
|
|
|
26599
26591
|
`card-${embedUrlKey}`
|
|
26600
26592
|
) }),
|
|
26601
26593
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26602
|
-
|
|
26594
|
+
_chunk7OFPU7WEcjs.CardHitLayer,
|
|
26603
26595
|
{
|
|
26604
26596
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
26605
26597
|
onPointerDown: pausePreviewNow,
|
|
@@ -26765,7 +26757,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
26765
26757
|
var _reactquery = require('@tanstack/react-query');
|
|
26766
26758
|
function useWalkthroughVideo(opts) {
|
|
26767
26759
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
26768
|
-
const captions =
|
|
26760
|
+
const captions = _chunk7OFPU7WEcjs.useCaptions.call(void 0, );
|
|
26769
26761
|
const query = _reactquery.useQuery.call(void 0, {
|
|
26770
26762
|
queryKey: ["walkthrough-video", endpoint],
|
|
26771
26763
|
enabled,
|
|
@@ -27514,7 +27506,7 @@ function HighlightConfigSection({
|
|
|
27514
27506
|
disabled = false,
|
|
27515
27507
|
className = ""
|
|
27516
27508
|
}) {
|
|
27517
|
-
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,
|
|
27509
|
+
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, _chunk7OFPU7WEcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
27518
27510
|
Select,
|
|
27519
27511
|
{
|
|
27520
27512
|
value: targetDurationSeconds.toString(),
|
|
@@ -28227,7 +28219,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
28227
28219
|
] });
|
|
28228
28220
|
};
|
|
28229
28221
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
28230
|
-
const { innerRef, containerStyle } =
|
|
28222
|
+
const { innerRef, containerStyle } = _chunk7OFPU7WEcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
28231
28223
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
28232
28224
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28233
28225
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -28396,7 +28388,7 @@ function WaitlistForm({
|
|
|
28396
28388
|
const { toast } = _chunkWCVZCGK5cjs.useToast.call(void 0, );
|
|
28397
28389
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkWCVZCGK5cjs.useHumanitySignals.call(void 0, );
|
|
28398
28390
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
28399
|
-
const isClient =
|
|
28391
|
+
const isClient = _chunk7OFPU7WEcjs.useIsHydrated.call(void 0, );
|
|
28400
28392
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
28401
28393
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
28402
28394
|
const rescue = _chunkWCVZCGK5cjs.useFormRescue.call(void 0, {
|
|
@@ -29042,7 +29034,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
29042
29034
|
}, [mobileBreakpoint]);
|
|
29043
29035
|
const panelRef = _react.useRef.call(void 0, null);
|
|
29044
29036
|
const available = useContainerExtent(resizable, isHorizontal, portalContainer);
|
|
29045
|
-
const { size, setSize, clampSize } =
|
|
29037
|
+
const { size, setSize, clampSize } = _chunk7OFPU7WEcjs.useResizablePanelSize.call(void 0, {
|
|
29046
29038
|
enabled: resizable,
|
|
29047
29039
|
minSize,
|
|
29048
29040
|
maxSize,
|
|
@@ -29062,7 +29054,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
29062
29054
|
"data-state": open ? "open" : "closed",
|
|
29063
29055
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
29064
29056
|
"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",
|
|
29065
|
-
|
|
29057
|
+
_chunk7OFPU7WEcjs.OVERLAY_BACKDROP_CLASS,
|
|
29066
29058
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
29067
29059
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
29068
29060
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -29103,7 +29095,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
29103
29095
|
...props,
|
|
29104
29096
|
children: [
|
|
29105
29097
|
applyInlineSize && (!persist || open) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29106
|
-
|
|
29098
|
+
_chunk7OFPU7WEcjs.PanelResizeHandle,
|
|
29107
29099
|
{
|
|
29108
29100
|
variant: "inLayout",
|
|
29109
29101
|
side: resolvedSide,
|
|
@@ -29142,11 +29134,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
29142
29134
|
}
|
|
29143
29135
|
);
|
|
29144
29136
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
29145
|
-
var AppLayoutDrawerHeader =
|
|
29146
|
-
var AppLayoutDrawerTitle =
|
|
29147
|
-
var AppLayoutDrawerDescription =
|
|
29148
|
-
var AppLayoutDrawerBody =
|
|
29149
|
-
var AppLayoutDrawerFooter =
|
|
29137
|
+
var AppLayoutDrawerHeader = _chunk7OFPU7WEcjs.DrawerHeader;
|
|
29138
|
+
var AppLayoutDrawerTitle = _chunk7OFPU7WEcjs.DrawerTitle;
|
|
29139
|
+
var AppLayoutDrawerDescription = _chunk7OFPU7WEcjs.DrawerDescription;
|
|
29140
|
+
var AppLayoutDrawerBody = _chunk7OFPU7WEcjs.DrawerBody;
|
|
29141
|
+
var AppLayoutDrawerFooter = _chunk7OFPU7WEcjs.DrawerFooter;
|
|
29150
29142
|
|
|
29151
29143
|
// src/components/features/notifications/notification-tile.tsx
|
|
29152
29144
|
|
|
@@ -29252,7 +29244,7 @@ function NotificationTile({
|
|
|
29252
29244
|
{
|
|
29253
29245
|
dateTime: createdAtIso,
|
|
29254
29246
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", lockscreen && "self-start"),
|
|
29255
|
-
children: _nullishCoalesce(timeLabel, () => (
|
|
29247
|
+
children: _nullishCoalesce(timeLabel, () => ( _chunk7OFPU7WEcjs.formatTicketRelativeTime.call(void 0, createdAtIso)))
|
|
29256
29248
|
}
|
|
29257
29249
|
) : null,
|
|
29258
29250
|
!lockscreen && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
@@ -29361,7 +29353,7 @@ function NotificationDrawer({
|
|
|
29361
29353
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
29362
29354
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29363
29355
|
/* @__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,
|
|
29364
|
-
|
|
29356
|
+
_chunk7OFPU7WEcjs.DrawerTitle,
|
|
29365
29357
|
{
|
|
29366
29358
|
hideClose: true,
|
|
29367
29359
|
className: "truncate",
|
|
@@ -29420,8 +29412,8 @@ function NotificationDrawer({
|
|
|
29420
29412
|
}
|
|
29421
29413
|
) });
|
|
29422
29414
|
}
|
|
29423
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29424
|
-
|
|
29415
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29416
|
+
_chunk7OFPU7WEcjs.DrawerContent,
|
|
29425
29417
|
{
|
|
29426
29418
|
side: "right",
|
|
29427
29419
|
"aria-describedby": void 0,
|
|
@@ -29704,13 +29696,13 @@ function getApprovalMeta(notification) {
|
|
|
29704
29696
|
function resolutionToStatus(resolution) {
|
|
29705
29697
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
29706
29698
|
case "APPROVED":
|
|
29707
|
-
return
|
|
29699
|
+
return _chunk7OFPU7WEcjs.APPROVAL_STATUS.APPROVED;
|
|
29708
29700
|
case "REJECTED":
|
|
29709
|
-
return
|
|
29701
|
+
return _chunk7OFPU7WEcjs.APPROVAL_STATUS.REJECTED;
|
|
29710
29702
|
case "CANCELLED":
|
|
29711
|
-
return
|
|
29703
|
+
return _chunk7OFPU7WEcjs.APPROVAL_STATUS.CANCELLED;
|
|
29712
29704
|
default:
|
|
29713
|
-
return
|
|
29705
|
+
return _chunk7OFPU7WEcjs.APPROVAL_STATUS.PENDING;
|
|
29714
29706
|
}
|
|
29715
29707
|
}
|
|
29716
29708
|
function approvalMetaToBatchData(approval) {
|
|
@@ -29756,7 +29748,7 @@ function ApprovalRequestNotificationTile({
|
|
|
29756
29748
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _635 => _635.resolution]));
|
|
29757
29749
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
29758
29750
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
29759
|
-
const { innerRef, containerStyle } =
|
|
29751
|
+
const { innerRef, containerStyle } = _chunk7OFPU7WEcjs.useCollapsible.call(void 0, { expanded });
|
|
29760
29752
|
if (!approval || !batchData) return null;
|
|
29761
29753
|
const tileNotification = {
|
|
29762
29754
|
...notification,
|
|
@@ -29819,7 +29811,7 @@ function ApprovalRequestNotificationTile({
|
|
|
29819
29811
|
}
|
|
29820
29812
|
)
|
|
29821
29813
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
29822
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29814
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ApprovalStatusTag, { status }),
|
|
29823
29815
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
29824
29816
|
"by ",
|
|
29825
29817
|
approval.resolvedByName
|
|
@@ -29837,12 +29829,12 @@ function ApprovalRequestNotificationTile({
|
|
|
29837
29829
|
"aria-expanded": expanded,
|
|
29838
29830
|
"aria-label": toggleLabel,
|
|
29839
29831
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
29840
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29832
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ExpandChevron, { expanded })
|
|
29841
29833
|
}
|
|
29842
29834
|
)
|
|
29843
29835
|
] }),
|
|
29844
29836
|
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,
|
|
29845
|
-
|
|
29837
|
+
_chunk7OFPU7WEcjs.ApprovalBatchMessage,
|
|
29846
29838
|
{
|
|
29847
29839
|
data: batchData,
|
|
29848
29840
|
showExecutionStatus: false,
|
|
@@ -30359,7 +30351,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
30359
30351
|
"data-state": isOpen ? "open" : "closed",
|
|
30360
30352
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
30361
30353
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
30362
|
-
|
|
30354
|
+
_chunk7OFPU7WEcjs.OVERLAY_BACKDROP_CLASS,
|
|
30363
30355
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
30364
30356
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
30365
30357
|
)
|
|
@@ -31049,9 +31041,9 @@ function KeepRecordingModal({
|
|
|
31049
31041
|
if (!canKeep || isPending) return;
|
|
31050
31042
|
onConfirm({ reason, description: reason === "OTHER" ? trimmed : null });
|
|
31051
31043
|
};
|
|
31052
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31044
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
31053
31045
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
31054
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31046
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalTitle, { children: "Keep this recording" }) }),
|
|
31055
31047
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31056
31048
|
KeepNotice,
|
|
31057
31049
|
{
|
|
@@ -31089,7 +31081,7 @@ function KeepRecordingModal({
|
|
|
31089
31081
|
}
|
|
31090
31082
|
)
|
|
31091
31083
|
] }),
|
|
31092
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31084
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.ModalFooter, { children: [
|
|
31093
31085
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
31094
31086
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
31095
31087
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -31119,9 +31111,9 @@ function ReleaseKeepingModal({
|
|
|
31119
31111
|
isPending = false,
|
|
31120
31112
|
onConfirm
|
|
31121
31113
|
}) {
|
|
31122
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31114
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
31123
31115
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
31124
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31116
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ModalTitle, { children: "Release Keeping" }) }),
|
|
31125
31117
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xsf)] text-ods-text-primary text-h4", children: [
|
|
31126
31118
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { children: [
|
|
31127
31119
|
"Kept by ",
|
|
@@ -31138,7 +31130,7 @@ function ReleaseKeepingModal({
|
|
|
31138
31130
|
] })
|
|
31139
31131
|
] }),
|
|
31140
31132
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, KeepNotice, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.HourglassIcon, { size: 24, color: "currentColor" }), title: `It will expire on ${expiresOn}`, children: dueOn ? `It was due to expire on ${dueOn}. Releasing gives it 3 days' grace, and it shows amber until then. Whoever placed the Keep is reminded the day before it goes. Nothing is deleted now.` : "Nothing is deleted now." }),
|
|
31141
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31133
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.ModalFooter, { children: [
|
|
31142
31134
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
31143
31135
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
31144
31136
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "accent", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Release Keeping" })
|
|
@@ -31402,7 +31394,7 @@ function BoardColumnHeader({
|
|
|
31402
31394
|
}) {
|
|
31403
31395
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
31404
31396
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
31405
|
-
const useStatusVariant =
|
|
31397
|
+
const useStatusVariant = _chunk7OFPU7WEcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
31406
31398
|
const actionClass = "h-8 w-8 p-0 content-md:h-8 content-md:w-8";
|
|
31407
31399
|
if (collapsed) {
|
|
31408
31400
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -31418,7 +31410,7 @@ function BoardColumnHeader({
|
|
|
31418
31410
|
}
|
|
31419
31411
|
),
|
|
31420
31412
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31421
|
-
|
|
31413
|
+
_chunk7OFPU7WEcjs.TicketStatusTag,
|
|
31422
31414
|
{
|
|
31423
31415
|
status: tagStatus,
|
|
31424
31416
|
label: column.label,
|
|
@@ -31431,7 +31423,7 @@ function BoardColumnHeader({
|
|
|
31431
31423
|
}
|
|
31432
31424
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
31433
31425
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
31434
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31426
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
31435
31427
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
31436
31428
|
] }),
|
|
31437
31429
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -31583,7 +31575,7 @@ function holdMoveDragEffect(element) {
|
|
|
31583
31575
|
|
|
31584
31576
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
31585
31577
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
31586
|
-
const { innerRef, containerStyle } =
|
|
31578
|
+
const { innerRef, containerStyle } = _chunk7OFPU7WEcjs.useCollapsible.call(void 0, { expanded });
|
|
31587
31579
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
31588
31580
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
31589
31581
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -31612,7 +31604,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
31612
31604
|
}
|
|
31613
31605
|
),
|
|
31614
31606
|
/* @__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,
|
|
31615
|
-
|
|
31607
|
+
_chunk7OFPU7WEcjs.ApprovalBatchMessage,
|
|
31616
31608
|
{
|
|
31617
31609
|
className: "mb-0",
|
|
31618
31610
|
data: {
|
|
@@ -31692,7 +31684,7 @@ function TicketCardBody({
|
|
|
31692
31684
|
onLinkClick
|
|
31693
31685
|
}) {
|
|
31694
31686
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
31695
|
-
const newMessageTextColor = columnColor ?
|
|
31687
|
+
const newMessageTextColor = columnColor ? _chunk7OFPU7WEcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
31696
31688
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _675 => _675.deviceHostnames, 'optionalAccess', _676 => _676.length]) || ticket.organizationName);
|
|
31697
31689
|
const deviceText = [_optionalChain([ticket, 'access', _677 => _677.deviceHostnames, 'optionalAccess', _678 => _678.join, 'call', _679 => _679(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
31698
31690
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _680 => _680.assignees, 'optionalAccess', _681 => _681.length]) || renderAssignSlot);
|
|
@@ -31731,8 +31723,8 @@ function TicketCardBody({
|
|
|
31731
31723
|
] })
|
|
31732
31724
|
] }) : null
|
|
31733
31725
|
] }) : null;
|
|
31734
|
-
const timestampLabel = ticket.createdAt ?
|
|
31735
|
-
const tooltipLabel = ticket.createdAt ?
|
|
31726
|
+
const timestampLabel = ticket.createdAt ? _chunk7OFPU7WEcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
31727
|
+
const tooltipLabel = ticket.createdAt ? _chunk7OFPU7WEcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
31736
31728
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
31737
31729
|
const metaClass = "truncate text-ods-text-secondary text-h6";
|
|
31738
31730
|
const meta = href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -31759,9 +31751,9 @@ function TicketCardBody({
|
|
|
31759
31751
|
rightSection
|
|
31760
31752
|
] }),
|
|
31761
31753
|
_optionalChain([ticket, 'access', _684 => _684.tags, 'optionalAccess', _685 => _685.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
31762
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31763
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31764
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31754
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Tooltip, { children: [
|
|
31755
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipTrigger, { asChild: true, children: meta }),
|
|
31756
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipContent, { children: tooltipLabel })
|
|
31765
31757
|
] }) }) : meta),
|
|
31766
31758
|
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: [
|
|
31767
31759
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|