@flamingo-stack/openframe-frontend-core 0.0.706-snapshot.20261006181108 → 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/chat-protocol/index.cjs +14 -23
- package/dist/chat-protocol/index.js +14 -23
- package/dist/chat-protocol/nats-decoder.d.ts.map +1 -1
- package/dist/chat-protocol/source-metadata.d.ts +2 -11
- package/dist/chat-protocol/source-metadata.d.ts.map +1 -1
- package/dist/{chunk-2YHNQAMU.js → chunk-3EZ4HHAP.js} +2 -2
- package/dist/{chunk-FBY4V3YS.js → chunk-3NCM4ZQB.js} +1 -1
- package/dist/{chunk-F4E3L3KV.cjs → chunk-3PLDQDE6.cjs} +9 -9
- package/dist/{chunk-4RVC6TCE.js → chunk-4CJMQLB5.js} +2 -2
- package/dist/{chunk-YQWTGQG5.js → chunk-4ILM7W2R.js} +1 -1
- package/dist/{chunk-RZNRVXHH.js → chunk-6232S532.js} +1 -1
- package/dist/{chunk-IBQZMRWO.js → chunk-7GEBFJT2.js} +17 -28
- package/dist/{chunk-AGNG62O2.cjs → chunk-7OFPU7WE.cjs} +17 -28
- package/dist/{chunk-O6WNIA6W.cjs → chunk-7SCNMP2B.cjs} +12 -12
- package/dist/{chunk-SGJP2WKD.js → chunk-BHI6GVC4.js} +3 -3
- package/dist/{chunk-56LOCS37.cjs → chunk-DDVBX42E.cjs} +7 -7
- package/dist/{chunk-3FZP73R4.js → chunk-DWPAAWMR.js} +4 -4
- package/dist/{chunk-HTBN3XYF.js → chunk-G6UMNAVI.js} +1 -1
- package/dist/{chunk-7XVBJDH7.cjs → chunk-GWQEYPYM.cjs} +312 -312
- package/dist/{chunk-MY3JYZQY.cjs → chunk-HZ7CBXPL.cjs} +40 -40
- package/dist/{chunk-632NGOIH.js → chunk-IKJA3Y7Z.js} +1 -1
- package/dist/{chunk-JFSLQ2XS.cjs → chunk-K6O43WDL.cjs} +32 -32
- package/dist/{chunk-TB5EDWRC.cjs → chunk-LVSFKENJ.cjs} +2 -2
- package/dist/{chunk-4UMOD5NU.cjs → chunk-M75XEEGT.cjs} +24 -24
- package/dist/{chunk-L3Q7R7CQ.cjs → chunk-MB4PNY7C.cjs} +2 -2
- package/dist/{chunk-Y5VSOYPS.js → chunk-O2RSAA5M.js} +5 -5
- package/dist/{chunk-E2TQZIOJ.js → chunk-PXOQIA5K.js} +2 -2
- package/dist/{chunk-5CMYEGHE.cjs → chunk-RTIPR53L.cjs} +70 -70
- package/dist/{chunk-EUSDLX5W.cjs → chunk-SEKYEWQG.cjs} +20 -20
- package/dist/{chunk-I43ZVJRL.cjs → chunk-STHZBOQI.cjs} +9 -9
- package/dist/{chunk-WXAT5C4C.cjs → chunk-SW5ZV2BN.cjs} +20 -20
- package/dist/{chunk-ECXW3RIH.js → chunk-T5TMCHWM.js} +2 -2
- package/dist/{chunk-LSQPH73L.js → chunk-TE773HEH.js} +4 -4
- package/dist/{chunk-STXYW25T.cjs → chunk-TQ4LB2DS.cjs} +3 -3
- package/dist/{chunk-54L6NMKQ.cjs → chunk-UJ33ZXDT.cjs} +4 -4
- package/dist/{chunk-BETJB7UV.js → chunk-VZICIQW2.js} +4 -4
- package/dist/{chunk-U6BWEKJC.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 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/chat/types/message.types.d.ts +16 -20
- package/dist/components/chat/types/message.types.d.ts.map +1 -1
- package/dist/components/chat/types/unified-chat-state.types.d.ts +1 -1
- package/dist/components/chat/utils/process-historical-messages.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 -36
- package/dist/components/index.js +13 -13
- package/dist/components/meeting-scheduler/index.cjs +25 -25
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.js +6 -6
- package/package.json +1 -1
- package/src/chat-protocol/nats-decoder.ts +8 -10
- package/src/chat-protocol/source-metadata.ts +2 -25
- package/src/components/chat/types/message.types.ts +15 -21
- package/src/components/chat/types/unified-chat-state.types.ts +1 -1
- package/src/components/chat/utils/process-historical-messages.ts +4 -12
|
@@ -94,7 +94,7 @@ var _chunkLX22Y43Bcjs = require('./chunk-LX22Y43B.cjs');
|
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
var
|
|
97
|
+
var _chunk7OFPU7WEcjs = require('./chunk-7OFPU7WE.cjs');
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
|
|
@@ -386,7 +386,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
386
386
|
var useTheme = _nextthemes.useTheme;
|
|
387
387
|
function useThemeToggle() {
|
|
388
388
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
389
|
-
const mounted =
|
|
389
|
+
const mounted = _chunk7OFPU7WEcjs.useIsHydrated.call(void 0, );
|
|
390
390
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
391
391
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
392
392
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -2660,7 +2660,7 @@ function Value2({ value, depth }) {
|
|
|
2660
2660
|
}
|
|
2661
2661
|
if (typeof value === "string") {
|
|
2662
2662
|
if (ISO_DATE.test(value)) {
|
|
2663
|
-
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) });
|
|
2664
2664
|
}
|
|
2665
2665
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2666
2666
|
}
|
|
@@ -3292,7 +3292,7 @@ function RowValue({ value }) {
|
|
|
3292
3292
|
}
|
|
3293
3293
|
case "status": {
|
|
3294
3294
|
const { type: _type, ...props } = value;
|
|
3295
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3295
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TicketStatusTag, { ...props });
|
|
3296
3296
|
}
|
|
3297
3297
|
case "custom":
|
|
3298
3298
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -4752,10 +4752,10 @@ function useConfirm() {
|
|
|
4752
4752
|
},
|
|
4753
4753
|
[]
|
|
4754
4754
|
);
|
|
4755
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4756
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4757
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4758
|
-
/* @__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: [
|
|
4759
4759
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4760
4760
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4761
4761
|
] })
|
|
@@ -4814,14 +4814,14 @@ function AdminFormDrawer({
|
|
|
4814
4814
|
else onClose();
|
|
4815
4815
|
};
|
|
4816
4816
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4817
|
-
|
|
4817
|
+
_chunk7OFPU7WEcjs.Drawer,
|
|
4818
4818
|
{
|
|
4819
4819
|
open: isOpen,
|
|
4820
4820
|
onOpenChange: (open) => {
|
|
4821
4821
|
if (!open) requestClose();
|
|
4822
4822
|
},
|
|
4823
4823
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4824
|
-
|
|
4824
|
+
_chunk7OFPU7WEcjs.DrawerContent,
|
|
4825
4825
|
{
|
|
4826
4826
|
side: "right",
|
|
4827
4827
|
resizable: true,
|
|
@@ -4830,11 +4830,11 @@ function AdminFormDrawer({
|
|
|
4830
4830
|
storageKey,
|
|
4831
4831
|
panelClassName: "max-md:w-[calc(100vw-1rem)]",
|
|
4832
4832
|
children: [
|
|
4833
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4834
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4835
|
-
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 }) })
|
|
4836
4836
|
] }),
|
|
4837
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4837
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.DrawerBody, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4838
4838
|
"form",
|
|
4839
4839
|
{
|
|
4840
4840
|
id: formId,
|
|
@@ -4965,9 +4965,9 @@ function AdminFormModal({
|
|
|
4965
4965
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4966
4966
|
});
|
|
4967
4967
|
if (!isOpen) return null;
|
|
4968
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4969
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4970
|
-
/* @__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 }),
|
|
4971
4971
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4972
4972
|
] }),
|
|
4973
4973
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4992,7 +4992,7 @@ function AdminFormModal({
|
|
|
4992
4992
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4993
4993
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4994
4994
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4995
|
-
/* @__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,
|
|
4996
4996
|
"div",
|
|
4997
4997
|
{
|
|
4998
4998
|
"aria-busy": "true",
|
|
@@ -5013,12 +5013,12 @@ function AdminFormModal({
|
|
|
5013
5013
|
]
|
|
5014
5014
|
}
|
|
5015
5015
|
) })
|
|
5016
|
-
) : 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 }),
|
|
5017
5017
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
5018
5018
|
]
|
|
5019
5019
|
}
|
|
5020
5020
|
),
|
|
5021
|
-
/* @__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: [
|
|
5022
5022
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
5023
5023
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
5024
5024
|
footerStatus,
|
|
@@ -7970,7 +7970,7 @@ function buildRichEmbedOverrides({
|
|
|
7970
7970
|
ogEndpointPath,
|
|
7971
7971
|
textSizes
|
|
7972
7972
|
}) {
|
|
7973
|
-
const standard =
|
|
7973
|
+
const standard = _chunk7OFPU7WEcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7974
7974
|
return {
|
|
7975
7975
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7976
7976
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -8106,13 +8106,13 @@ function buildRichEmbedOverrides({
|
|
|
8106
8106
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
8107
8107
|
// elsewhere). Guard against empty `![]()`.
|
|
8108
8108
|
img: ({ src, alt }) => {
|
|
8109
|
-
if (!
|
|
8109
|
+
if (!_chunk7OFPU7WEcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
8110
8110
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
8111
8111
|
},
|
|
8112
8112
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
8113
8113
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
8114
8114
|
video: ({ src, poster, className }) => {
|
|
8115
|
-
if (!
|
|
8115
|
+
if (!_chunk7OFPU7WEcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
8116
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 }) }) });
|
|
8117
8117
|
}
|
|
8118
8118
|
};
|
|
@@ -8354,13 +8354,13 @@ var RichMarkdownInner = ({
|
|
|
8354
8354
|
},
|
|
8355
8355
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8356
8356
|
);
|
|
8357
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8357
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunk7OFPU7WEcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8358
8358
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8359
8359
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8360
8360
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8361
8361
|
);
|
|
8362
8362
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8363
|
-
|
|
8363
|
+
_chunk7OFPU7WEcjs.MarkdownEngine,
|
|
8364
8364
|
{
|
|
8365
8365
|
content,
|
|
8366
8366
|
className,
|
|
@@ -8382,7 +8382,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8382
8382
|
className = "",
|
|
8383
8383
|
sectionIds,
|
|
8384
8384
|
onInternalLinkClick,
|
|
8385
|
-
brokenLinks =
|
|
8385
|
+
brokenLinks = _chunk7OFPU7WEcjs.NO_BROKEN_LINKS,
|
|
8386
8386
|
currentPath,
|
|
8387
8387
|
resolveSource = "openframe-docs",
|
|
8388
8388
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9364,7 +9364,7 @@ function FilterModal({
|
|
|
9364
9364
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _182 => _182.defaultSort]), () => ( "desc"));
|
|
9365
9365
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _183 => _183.sort]), () => ( dateDefaultSort)));
|
|
9366
9366
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _184 => _184.range]));
|
|
9367
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
9367
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunk7OFPU7WEcjs.useScrollFade.call(void 0, );
|
|
9368
9368
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
9369
9369
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
9370
9370
|
_react.useEffect.call(void 0, () => {
|
|
@@ -9410,15 +9410,15 @@ function FilterModal({
|
|
|
9410
9410
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
9411
9411
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
9412
9412
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9413
|
-
|
|
9413
|
+
_chunk7OFPU7WEcjs.Modal,
|
|
9414
9414
|
{
|
|
9415
9415
|
isOpen,
|
|
9416
9416
|
onClose,
|
|
9417
9417
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "max-h-[90vh] max-w-none md:max-w-[min(42rem,calc(100vw-2rem))]", className),
|
|
9418
9418
|
children: [
|
|
9419
|
-
/* @__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 }) }),
|
|
9420
9420
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9421
|
-
|
|
9421
|
+
_chunk7OFPU7WEcjs.ModalContent,
|
|
9422
9422
|
{
|
|
9423
9423
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
9424
9424
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -9510,12 +9510,12 @@ function FilterModal({
|
|
|
9510
9510
|
] })
|
|
9511
9511
|
}
|
|
9512
9512
|
),
|
|
9513
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9514
|
-
/* @__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 })
|
|
9515
9515
|
] })
|
|
9516
9516
|
}
|
|
9517
9517
|
),
|
|
9518
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9518
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.ModalFooter, { children: [
|
|
9519
9519
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
9520
9520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
9521
9521
|
] })
|
|
@@ -9561,9 +9561,9 @@ function actionToMenuItems(action, idx) {
|
|
|
9561
9561
|
function renderActionButton(action, opts = {}) {
|
|
9562
9562
|
const button = renderRawActionButton(action, opts);
|
|
9563
9563
|
if (!action.tooltip) return button;
|
|
9564
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9565
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9566
|
-
/* @__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 })
|
|
9567
9567
|
] }) });
|
|
9568
9568
|
}
|
|
9569
9569
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -9587,7 +9587,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
9587
9587
|
}
|
|
9588
9588
|
if (action.submenu && action.submenu.length > 0) {
|
|
9589
9589
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9590
|
-
|
|
9590
|
+
_chunk7OFPU7WEcjs.ActionsMenuDropdown,
|
|
9591
9591
|
{
|
|
9592
9592
|
groups: [{ items: action.submenu }],
|
|
9593
9593
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9722,10 +9722,10 @@ function IconButtonsVariant({
|
|
|
9722
9722
|
selector,
|
|
9723
9723
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9724
9724
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
9725
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9725
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
9726
9726
|
] })
|
|
9727
9727
|
] }),
|
|
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,
|
|
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 })
|
|
9729
9729
|
] });
|
|
9730
9730
|
}
|
|
9731
9731
|
function PrimaryButtonsVariant({
|
|
@@ -9764,7 +9764,7 @@ function MenuPrimaryVariant({
|
|
|
9764
9764
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "hidden items-center content-md:flex", ACTIONS_GAP, className), children: [
|
|
9765
9765
|
selector,
|
|
9766
9766
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9767
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9767
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9768
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)}`))
|
|
9769
9769
|
] })
|
|
9770
9770
|
] }),
|
|
@@ -9772,7 +9772,7 @@ function MenuPrimaryVariant({
|
|
|
9772
9772
|
// The selector rides into the menu as its header row: on mobile the
|
|
9773
9773
|
// title row has no room for it, and hiding it entirely (what
|
|
9774
9774
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9775
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9775
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9776
9776
|
) : null })
|
|
9777
9777
|
] });
|
|
9778
9778
|
}
|
|
@@ -9781,7 +9781,7 @@ function CompactPrimaryActions({ actions }) {
|
|
|
9781
9781
|
const fold = foldable.length > 1;
|
|
9782
9782
|
const inline = fold ? actions.filter((action) => !foldable.includes(action)) : actions;
|
|
9783
9783
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9784
|
-
fold && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9784
|
+
fold && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ActionsMenuDropdown, { groups: [{ items: foldable.flatMap(actionToMenuItems) }] }),
|
|
9785
9785
|
inline.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, `compact-${actionKey(action, idx)}`))
|
|
9786
9786
|
] });
|
|
9787
9787
|
}
|
|
@@ -11896,8 +11896,8 @@ function makeComposeContentUrl(opts) {
|
|
|
11896
11896
|
}
|
|
11897
11897
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
11898
11898
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
11899
|
-
const owner = claimedOwner &&
|
|
11900
|
-
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;
|
|
11901
11901
|
return {
|
|
11902
11902
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _244 => _244.trim, 'call', _245 => _245()]) || identifier}`,
|
|
11903
11903
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -12072,7 +12072,7 @@ function extractSections(markdown, options = {}) {
|
|
|
12072
12072
|
if (heading.level > opts.maxLevel) continue;
|
|
12073
12073
|
let title = heading.text;
|
|
12074
12074
|
if (opts.stripFormattingMarkers) {
|
|
12075
|
-
title =
|
|
12075
|
+
title = _chunk7OFPU7WEcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
12076
12076
|
}
|
|
12077
12077
|
const baseId = _chunkUVTD52MDcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkUVTD52MDcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
12078
12078
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -13439,7 +13439,7 @@ function DropdownButton({
|
|
|
13439
13439
|
)
|
|
13440
13440
|
);
|
|
13441
13441
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13442
|
-
|
|
13442
|
+
_chunk7OFPU7WEcjs.ActionsMenuDropdown,
|
|
13443
13443
|
{
|
|
13444
13444
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
13445
13445
|
open,
|
|
@@ -13877,9 +13877,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
13877
13877
|
return next;
|
|
13878
13878
|
});
|
|
13879
13879
|
};
|
|
13880
|
-
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: [
|
|
13881
13881
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13882
|
-
|
|
13882
|
+
_chunk7OFPU7WEcjs.TooltipTrigger,
|
|
13883
13883
|
{
|
|
13884
13884
|
asChild: true,
|
|
13885
13885
|
onPointerDown: (e) => {
|
|
@@ -13897,7 +13897,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
13897
13897
|
children
|
|
13898
13898
|
}
|
|
13899
13899
|
),
|
|
13900
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13900
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
13901
13901
|
] }) });
|
|
13902
13902
|
}
|
|
13903
13903
|
|
|
@@ -14570,7 +14570,7 @@ function TableHeader({
|
|
|
14570
14570
|
onFilterChange
|
|
14571
14571
|
}
|
|
14572
14572
|
),
|
|
14573
|
-
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
|
|
14574
14574
|
] })
|
|
14575
14575
|
) : (
|
|
14576
14576
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -14596,7 +14596,7 @@ function TableHeader({
|
|
|
14596
14596
|
hint exists, so a hint-less header keeps its DOM. */
|
|
14597
14597
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
14598
14598
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
14599
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14599
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InfoHint, { label: column.label, children: column.hint })
|
|
14600
14600
|
] })
|
|
14601
14601
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
14602
14602
|
getSortIcon(column)
|
|
@@ -15208,9 +15208,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
15208
15208
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
15209
15209
|
}
|
|
15210
15210
|
}, []);
|
|
15211
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15213
|
-
/* @__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 })
|
|
15214
15214
|
] }) });
|
|
15215
15215
|
}
|
|
15216
15216
|
|
|
@@ -15263,9 +15263,9 @@ function TruncatedCell({ value, className }) {
|
|
|
15263
15263
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
15264
15264
|
}
|
|
15265
15265
|
}, []);
|
|
15266
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15267
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15268
|
-
/* @__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 })
|
|
15269
15269
|
] }) });
|
|
15270
15270
|
}
|
|
15271
15271
|
|
|
@@ -15937,7 +15937,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
15937
15937
|
// child of the cell.
|
|
15938
15938
|
_optionalChain([meta, 'optionalAccess', _325 => _325.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
15939
15939
|
filterTrigger,
|
|
15940
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15940
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
15941
15941
|
] }) : filterTrigger
|
|
15942
15942
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15943
15943
|
"div",
|
|
@@ -15962,7 +15962,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
15962
15962
|
// centred on the row.
|
|
15963
15963
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
15964
15964
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
15965
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15965
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
15966
15966
|
] })
|
|
15967
15967
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
15968
15968
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -17898,20 +17898,20 @@ function ColorPresetSelect({
|
|
|
17898
17898
|
...presets.map((p) => ({
|
|
17899
17899
|
id: p.key,
|
|
17900
17900
|
label: p.label,
|
|
17901
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17901
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ColorSwatch, { color: p.color }),
|
|
17902
17902
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
17903
17903
|
})),
|
|
17904
17904
|
{
|
|
17905
17905
|
id: CUSTOM_PRESET_KEY,
|
|
17906
17906
|
label: "Custom",
|
|
17907
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17907
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
17908
17908
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
17909
17909
|
}
|
|
17910
17910
|
]
|
|
17911
17911
|
}
|
|
17912
17912
|
];
|
|
17913
17913
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17914
|
-
|
|
17914
|
+
_chunk7OFPU7WEcjs.ActionsMenuDropdown,
|
|
17915
17915
|
{
|
|
17916
17916
|
groups,
|
|
17917
17917
|
align: "start",
|
|
@@ -17921,7 +17921,7 @@ function ColorPresetSelect({
|
|
|
17921
17921
|
{
|
|
17922
17922
|
disabled,
|
|
17923
17923
|
"aria-label": `Color: ${displayLabel}`,
|
|
17924
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17924
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ColorSwatch, { color: displayColor }),
|
|
17925
17925
|
selectedLabel: displayLabel,
|
|
17926
17926
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
17927
17927
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "group", className)
|
|
@@ -17942,7 +17942,7 @@ function HexInputs({ value, onChange }) {
|
|
|
17942
17942
|
}
|
|
17943
17943
|
const commit = () => {
|
|
17944
17944
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
17945
|
-
if (
|
|
17945
|
+
if (_chunk7OFPU7WEcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
17946
17946
|
else setDraft(value);
|
|
17947
17947
|
};
|
|
17948
17948
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18006,12 +18006,12 @@ function ChannelInput({
|
|
|
18006
18006
|
);
|
|
18007
18007
|
}
|
|
18008
18008
|
function RgbInputs({ value, onChange }) {
|
|
18009
|
-
const rgb = _nullishCoalesce(
|
|
18009
|
+
const rgb = _nullishCoalesce(_chunk7OFPU7WEcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
18010
18010
|
const update = (next) => {
|
|
18011
18011
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
18012
18012
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
18013
18013
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
18014
|
-
onChange(
|
|
18014
|
+
onChange(_chunk7OFPU7WEcjs.rgbToHex.call(void 0, r, g, b));
|
|
18015
18015
|
};
|
|
18016
18016
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
18017
18017
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -18020,14 +18020,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
18020
18020
|
] });
|
|
18021
18021
|
}
|
|
18022
18022
|
function HslInputs({ value, onChange }) {
|
|
18023
|
-
const rgb = _nullishCoalesce(
|
|
18024
|
-
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);
|
|
18025
18025
|
const update = (next) => {
|
|
18026
18026
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
18027
18027
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
18028
18028
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
18029
|
-
const out =
|
|
18030
|
-
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));
|
|
18031
18031
|
};
|
|
18032
18032
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
18033
18033
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -18053,7 +18053,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
18053
18053
|
{
|
|
18054
18054
|
disabled,
|
|
18055
18055
|
"aria-label": "Pick custom color",
|
|
18056
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18056
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ColorSwatch, { color: value }),
|
|
18057
18057
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
18058
18058
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
18059
18059
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "group", className)
|
|
@@ -18069,7 +18069,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
18069
18069
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
18070
18070
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
18071
18071
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18072
|
-
|
|
18072
|
+
_chunk7OFPU7WEcjs.ActionsMenuDropdown,
|
|
18073
18073
|
{
|
|
18074
18074
|
groups: formatGroups,
|
|
18075
18075
|
align: "start",
|
|
@@ -18126,7 +18126,7 @@ function TicketStatusConfigRow({
|
|
|
18126
18126
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
18127
18127
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
18128
18128
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18129
|
-
|
|
18129
|
+
_chunk7OFPU7WEcjs.TicketStatusTag,
|
|
18130
18130
|
{
|
|
18131
18131
|
status: statusKey,
|
|
18132
18132
|
label: name || " ",
|
|
@@ -18278,7 +18278,7 @@ function formatTestRunDuration(ms) {
|
|
|
18278
18278
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
18279
18279
|
var SKELETON_COLUMNS = 6;
|
|
18280
18280
|
function TestResultsSkeleton() {
|
|
18281
|
-
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: [
|
|
18282
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}`)) }),
|
|
18283
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}`)) }) })
|
|
18284
18284
|
] }) });
|
|
@@ -18313,7 +18313,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
18313
18313
|
if (loading) {
|
|
18314
18314
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
18315
18315
|
}
|
|
18316
|
-
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: [
|
|
18317
18317
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
18318
18318
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
18319
18319
|
] }) }) });
|
|
@@ -18419,7 +18419,7 @@ function useTestRunState(campaign) {
|
|
|
18419
18419
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
18420
18420
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
18421
18421
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
18422
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
18422
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunk7OFPU7WEcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
18423
18423
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
18424
18424
|
const displayRows = _react.useMemo.call(void 0,
|
|
18425
18425
|
() => campaign.results.map(
|
|
@@ -18757,7 +18757,7 @@ function TicketInfoSection({
|
|
|
18757
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]) }),
|
|
18758
18758
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
18759
18759
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18760
|
-
|
|
18760
|
+
_chunk7OFPU7WEcjs.TicketStatusTag,
|
|
18761
18761
|
{
|
|
18762
18762
|
status: _nullishCoalesce(status, () => ( "")),
|
|
18763
18763
|
label: statusLabel,
|
|
@@ -18796,7 +18796,7 @@ function TicketInfoSection({
|
|
|
18796
18796
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
18797
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" }) }),
|
|
18798
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: [
|
|
18799
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18799
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.SimpleMarkdownRenderer, { content: description }),
|
|
18800
18800
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
18801
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)) }) }),
|
|
18802
18802
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18821,7 +18821,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
18821
18821
|
const { label, color } = option;
|
|
18822
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: [
|
|
18823
18823
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
18824
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18824
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ColorSwatch, { color }),
|
|
18825
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 }) })
|
|
18826
18826
|
] }),
|
|
18827
18827
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -18866,9 +18866,9 @@ function TakeOverTicketModal({
|
|
|
18866
18866
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
18867
18867
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
18868
18868
|
};
|
|
18869
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18869
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
18870
18870
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
18871
|
-
/* @__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" }) }),
|
|
18872
18872
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
18873
18873
|
"The ticket ",
|
|
18874
18874
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -18883,7 +18883,7 @@ function TakeOverTicketModal({
|
|
|
18883
18883
|
value: selectedStatusId,
|
|
18884
18884
|
onChange: setStatusId,
|
|
18885
18885
|
placeholder: "Select Status",
|
|
18886
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18886
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
18887
18887
|
renderOption: renderTicketStatusOption
|
|
18888
18888
|
}
|
|
18889
18889
|
) }),
|
|
@@ -18910,7 +18910,7 @@ function TakeOverTicketModal({
|
|
|
18910
18910
|
}
|
|
18911
18911
|
) })
|
|
18912
18912
|
] }),
|
|
18913
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18913
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.ModalFooter, { children: [
|
|
18914
18914
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
18915
18915
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
18916
18916
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18969,9 +18969,9 @@ function ReopenTicketModal({
|
|
|
18969
18969
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
18970
18970
|
});
|
|
18971
18971
|
};
|
|
18972
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18972
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
18973
18973
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
18974
|
-
/* @__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" }) }),
|
|
18975
18975
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
18976
18976
|
"The ticket ",
|
|
18977
18977
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -18986,7 +18986,7 @@ function ReopenTicketModal({
|
|
|
18986
18986
|
value: selectedStatusId,
|
|
18987
18987
|
onChange: setStatusId,
|
|
18988
18988
|
placeholder: "Select Status",
|
|
18989
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18989
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
18990
18990
|
renderOption: renderTicketStatusOption
|
|
18991
18991
|
}
|
|
18992
18992
|
) }),
|
|
@@ -19024,7 +19024,7 @@ function ReopenTicketModal({
|
|
|
19024
19024
|
disabled: isPending
|
|
19025
19025
|
}
|
|
19026
19026
|
) }),
|
|
19027
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19027
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.ModalFooter, { children: [
|
|
19028
19028
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
19029
19029
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
19030
19030
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19073,9 +19073,9 @@ function ReopenTicketRequestModal({
|
|
|
19073
19073
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
19074
19074
|
});
|
|
19075
19075
|
};
|
|
19076
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19076
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
19077
19077
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
19078
|
-
/* @__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" }) }),
|
|
19079
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." }),
|
|
19080
19080
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19081
19081
|
Textarea,
|
|
@@ -19099,7 +19099,7 @@ function ReopenTicketRequestModal({
|
|
|
19099
19099
|
disabled: isPending
|
|
19100
19100
|
}
|
|
19101
19101
|
),
|
|
19102
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19102
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.ModalFooter, { children: [
|
|
19103
19103
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
19104
19104
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
19105
19105
|
] })
|
|
@@ -19241,7 +19241,7 @@ function PhotoWall({ images, columns = 2, speed = 24, fadeColor, className, load
|
|
|
19241
19241
|
gap: COLUMN_GAP_PX
|
|
19242
19242
|
};
|
|
19243
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,
|
|
19244
|
-
|
|
19244
|
+
_chunk7OFPU7WEcjs.MarqueeWall,
|
|
19245
19245
|
{
|
|
19246
19246
|
axis: "y",
|
|
19247
19247
|
reverse: index % 2 === 1,
|
|
@@ -19385,7 +19385,7 @@ var INCIDENT_TONE = {
|
|
|
19385
19385
|
approved: "success"
|
|
19386
19386
|
};
|
|
19387
19387
|
function IncidentStatusLine({ status, label, className }) {
|
|
19388
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19388
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.StatusLine, { tone: INCIDENT_TONE[status], label, className });
|
|
19389
19389
|
}
|
|
19390
19390
|
function SourceTag({ children }) {
|
|
19391
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 });
|
|
@@ -23495,60 +23495,60 @@ function CardSkeleton({
|
|
|
23495
23495
|
function VendorCardContent({ showMetadata }) {
|
|
23496
23496
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 p-4", children: [
|
|
23497
23497
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start gap-3", children: [
|
|
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,
|
|
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" }) }),
|
|
23499
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: [
|
|
23500
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23501
|
-
/* @__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" })
|
|
23502
23502
|
] })
|
|
23503
23503
|
] }),
|
|
23504
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: [
|
|
23505
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23506
|
-
/* @__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" })
|
|
23507
23507
|
] }) }),
|
|
23508
23508
|
showMetadata && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
23509
23509
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
23510
23510
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
23511
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23512
|
-
/* @__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" })
|
|
23513
23513
|
] }),
|
|
23514
23514
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
23515
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23516
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23515
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
23516
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
23517
23517
|
] })
|
|
23518
23518
|
] }),
|
|
23519
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: [
|
|
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,
|
|
23521
|
-
/* @__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" })
|
|
23522
23522
|
] }) })
|
|
23523
23523
|
] })
|
|
23524
23524
|
] });
|
|
23525
23525
|
}
|
|
23526
23526
|
function BlogCardContent({ showActions, showMetadata }) {
|
|
23527
23527
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
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,
|
|
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, {}) }),
|
|
23529
23529
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col p-4", children: [
|
|
23530
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: [
|
|
23531
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23532
|
-
/* @__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" })
|
|
23533
23533
|
] }) }),
|
|
23534
23534
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-3 flex h-[28px] items-center gap-2", children: [
|
|
23535
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23536
|
-
/* @__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" })
|
|
23537
23537
|
] }),
|
|
23538
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: [
|
|
23539
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23540
|
-
/* @__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" })
|
|
23541
23541
|
] }) }),
|
|
23542
|
-
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" }) }),
|
|
23543
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: [
|
|
23544
23544
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
23545
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23546
|
-
/* @__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" })
|
|
23547
23547
|
] }),
|
|
23548
23548
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-3 text-ods-text-muted", children: [
|
|
23549
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23549
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-12" }),
|
|
23550
23550
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-1 w-1 rounded-full bg-ods-skeleton" }),
|
|
23551
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23551
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-16" })
|
|
23552
23552
|
] })
|
|
23553
23553
|
] }) })
|
|
23554
23554
|
] })
|
|
@@ -23556,35 +23556,35 @@ function BlogCardContent({ showActions, showMetadata }) {
|
|
|
23556
23556
|
}
|
|
23557
23557
|
function CategoryCardContent() {
|
|
23558
23558
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 p-4 content-md:p-6", children: [
|
|
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,
|
|
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)) }),
|
|
23560
23560
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23561
23561
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
23562
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23563
|
-
/* @__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" })
|
|
23564
23564
|
] }),
|
|
23565
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: [
|
|
23566
23566
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
23567
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23568
|
-
/* @__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" })
|
|
23569
23569
|
] }),
|
|
23570
|
-
/* @__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" })
|
|
23571
23571
|
] })
|
|
23572
23572
|
] })
|
|
23573
23573
|
] });
|
|
23574
23574
|
}
|
|
23575
23575
|
function AlternativeCardContent({ showActions }) {
|
|
23576
23576
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4 p-4", children: [
|
|
23577
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23577
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Avatar, { size: "md", className: "flex-shrink-0" }),
|
|
23578
23578
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
23579
23579
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
23580
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23581
|
-
/* @__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" })
|
|
23582
23582
|
] }),
|
|
23583
23583
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
23584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23585
|
-
/* @__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" })
|
|
23586
23586
|
] }),
|
|
23587
|
-
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" }) })
|
|
23588
23588
|
] })
|
|
23589
23589
|
] });
|
|
23590
23590
|
}
|
|
@@ -23635,12 +23635,12 @@ function HeroSkeleton() {
|
|
|
23635
23635
|
background: "radial-gradient(circle at 50% 0%, #242323 0%, #1A1A1A 100%)"
|
|
23636
23636
|
},
|
|
23637
23637
|
children: [
|
|
23638
|
-
/* @__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" }),
|
|
23639
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: [
|
|
23640
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23641
|
-
/* @__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" })
|
|
23642
23642
|
] }),
|
|
23643
|
-
/* @__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" })
|
|
23644
23644
|
]
|
|
23645
23645
|
}
|
|
23646
23646
|
);
|
|
@@ -23651,14 +23651,14 @@ function SearchContainerSkeleton({
|
|
|
23651
23651
|
}) {
|
|
23652
23652
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className || ""), children: [
|
|
23653
23653
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 content-md:gap-4", children: [
|
|
23654
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23655
|
-
/* @__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" })
|
|
23656
23656
|
] }),
|
|
23657
23657
|
showFilters && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap gap-2", children: [
|
|
23658
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23659
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23660
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23661
|
-
/* @__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" })
|
|
23662
23662
|
] })
|
|
23663
23663
|
] });
|
|
23664
23664
|
}
|
|
@@ -23677,7 +23677,7 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
23677
23677
|
{ type: "file", width: "w-36" }
|
|
23678
23678
|
];
|
|
23679
23679
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full content-lg:w-[320px]", className), children: [
|
|
23680
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23680
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "mb-4 h-[14px] w-24 rounded" }),
|
|
23681
23681
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23682
23682
|
"div",
|
|
23683
23683
|
{
|
|
@@ -23687,12 +23687,12 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
23687
23687
|
),
|
|
23688
23688
|
children: [
|
|
23689
23689
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2.5", children: [
|
|
23690
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23691
|
-
/* @__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` })
|
|
23692
23692
|
] }),
|
|
23693
23693
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[18px] items-center gap-2", children: [
|
|
23694
|
-
item.hasBadge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23695
|
-
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" })
|
|
23696
23696
|
] })
|
|
23697
23697
|
]
|
|
23698
23698
|
},
|
|
@@ -23702,13 +23702,13 @@ function CategorySidebarSkeleton({ className }) {
|
|
|
23702
23702
|
}
|
|
23703
23703
|
function BreadcrumbSkeleton({ className }) {
|
|
23704
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: [
|
|
23705
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23706
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23707
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23708
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23709
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23710
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23711
|
-
/* @__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" })
|
|
23712
23712
|
] });
|
|
23713
23713
|
}
|
|
23714
23714
|
function ResultsHeaderSkeleton({ className }) {
|
|
@@ -23719,7 +23719,7 @@ function ResultsHeaderSkeleton({ className }) {
|
|
|
23719
23719
|
"mb-6 flex flex-col items-start justify-between gap-4 content-md:flex-row content-md:items-center",
|
|
23720
23720
|
className
|
|
23721
23721
|
),
|
|
23722
|
-
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" }) })
|
|
23723
23723
|
}
|
|
23724
23724
|
);
|
|
23725
23725
|
}
|
|
@@ -23753,35 +23753,35 @@ function ArticleLayoutSkeleton({ className }) {
|
|
|
23753
23753
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mx-auto max-w-4xl", className), children: [
|
|
23754
23754
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "mb-8 space-y-4 content-md:mb-12 content-md:space-y-6", children: [
|
|
23755
23755
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
23756
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23757
|
-
/* @__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" })
|
|
23758
23758
|
] }),
|
|
23759
23759
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
|
|
23760
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23761
|
-
/* @__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" })
|
|
23762
23762
|
] }),
|
|
23763
23763
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 border-t border-ods-divider pt-4", children: [
|
|
23764
23764
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
23765
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23766
|
-
/* @__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" })
|
|
23767
23767
|
] }),
|
|
23768
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23769
|
-
/* @__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" })
|
|
23770
23770
|
] })
|
|
23771
23771
|
] }),
|
|
23772
|
-
/* @__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" }) }),
|
|
23773
23773
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "prose prose-invert max-w-none space-y-6", children: [
|
|
23774
23774
|
Array.from({ length: 12 }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23775
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23776
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23777
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23778
|
-
/* @__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" })
|
|
23779
23779
|
] }, index)),
|
|
23780
23780
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "py-4", children: [
|
|
23781
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23781
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "mb-4 w-2/3" }),
|
|
23782
23782
|
/* @__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,
|
|
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" })
|
|
23785
23785
|
] })
|
|
23786
23786
|
] })
|
|
23787
23787
|
] })
|
|
@@ -24007,11 +24007,11 @@ function StatsSectionSkeleton({ className, columns = 3 }) {
|
|
|
24007
24007
|
className
|
|
24008
24008
|
),
|
|
24009
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: [
|
|
24010
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24011
|
-
/* @__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" }),
|
|
24012
24012
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
24013
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24014
|
-
/* @__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" })
|
|
24015
24015
|
] })
|
|
24016
24016
|
] }) }, i))
|
|
24017
24017
|
}
|
|
@@ -24166,7 +24166,7 @@ function useContentLoading(isLoading) {
|
|
|
24166
24166
|
|
|
24167
24167
|
function ParagraphSkeleton({ className, lines = 4 }) {
|
|
24168
24168
|
const lineWidths = ["w-full", "w-full", "w-5/6", "w-3/4", "w-4/5", "w-2/3"];
|
|
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,
|
|
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)) });
|
|
24170
24170
|
}
|
|
24171
24171
|
function ListSkeleton({
|
|
24172
24172
|
className,
|
|
@@ -24176,12 +24176,12 @@ function ListSkeleton({
|
|
|
24176
24176
|
}) {
|
|
24177
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: [
|
|
24178
24178
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24179
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24180
|
-
/* @__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" })
|
|
24181
24181
|
] }),
|
|
24182
24182
|
showActions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
24183
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24184
|
-
/* @__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" })
|
|
24185
24185
|
] })
|
|
24186
24186
|
] }, index)) });
|
|
24187
24187
|
}
|
|
@@ -24191,13 +24191,13 @@ function TableSkeleton({
|
|
|
24191
24191
|
columns = 4
|
|
24192
24192
|
}) {
|
|
24193
24193
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
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,
|
|
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)) }),
|
|
24195
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,
|
|
24196
24196
|
"div",
|
|
24197
24197
|
{
|
|
24198
24198
|
className: "grid gap-4 border-b border-ods-divider py-2",
|
|
24199
24199
|
style: { gridTemplateColumns: `repeat(${columns}, 1fr)` },
|
|
24200
|
-
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))
|
|
24201
24201
|
},
|
|
24202
24202
|
rowIndex
|
|
24203
24203
|
)) })
|
|
@@ -24206,13 +24206,13 @@ function TableSkeleton({
|
|
|
24206
24206
|
function FormSkeleton({ className, fields = 4 }) {
|
|
24207
24207
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-6", className), children: [
|
|
24208
24208
|
Array.from({ length: fields }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
24209
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24210
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24211
|
-
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" })
|
|
24212
24212
|
] }, index)),
|
|
24213
24213
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 pt-4", children: [
|
|
24214
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24215
|
-
/* @__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" })
|
|
24216
24216
|
] })
|
|
24217
24217
|
] });
|
|
24218
24218
|
}
|
|
@@ -24227,7 +24227,7 @@ function NavigationSkeleton({
|
|
|
24227
24227
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex gap-4 content-md:gap-6", !horizontal && "flex-col", className),
|
|
24228
24228
|
role: "status",
|
|
24229
24229
|
"aria-label": "Loading navigation",
|
|
24230
|
-
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))
|
|
24231
24231
|
}
|
|
24232
24232
|
);
|
|
24233
24233
|
}
|
|
@@ -24238,30 +24238,30 @@ function ProfileSkeleton({
|
|
|
24238
24238
|
}) {
|
|
24239
24239
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-4", className), children: [
|
|
24240
24240
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
24241
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24241
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Avatar, { size: "lg" }),
|
|
24242
24242
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
24243
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24244
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24245
|
-
/* @__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" })
|
|
24246
24246
|
] })
|
|
24247
24247
|
] }),
|
|
24248
24248
|
showBio && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
24249
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24250
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24251
|
-
/* @__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" })
|
|
24252
24252
|
] }),
|
|
24253
24253
|
showStats && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-6", children: [
|
|
24254
24254
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
24255
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24256
|
-
/* @__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" })
|
|
24257
24257
|
] }),
|
|
24258
24258
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
24259
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24260
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24259
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
24260
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "mx-auto w-16" })
|
|
24261
24261
|
] }),
|
|
24262
24262
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center", children: [
|
|
24263
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24263
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "mx-auto w-8" }),
|
|
24264
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "mx-auto w-14" })
|
|
24265
24265
|
] })
|
|
24266
24266
|
] })
|
|
24267
24267
|
] });
|
|
@@ -24273,32 +24273,32 @@ function CommentSkeleton({
|
|
|
24273
24273
|
}) {
|
|
24274
24274
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "space-y-3", className), children: [
|
|
24275
24275
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24276
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24276
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Avatar, { size: "sm" }),
|
|
24277
24277
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center gap-4", children: [
|
|
24278
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24279
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
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,
|
|
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)) })
|
|
24281
24281
|
] })
|
|
24282
24282
|
] }),
|
|
24283
24283
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 space-y-2", children: [
|
|
24284
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24285
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24286
|
-
/* @__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" })
|
|
24287
24287
|
] }),
|
|
24288
24288
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11 flex gap-4", children: [
|
|
24289
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24290
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24291
|
-
/* @__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" })
|
|
24292
24292
|
] }),
|
|
24293
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: [
|
|
24294
24294
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24295
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24296
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24297
|
-
/* @__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" })
|
|
24298
24298
|
] }),
|
|
24299
24299
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ml-11", children: [
|
|
24300
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24301
|
-
/* @__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" })
|
|
24302
24302
|
] })
|
|
24303
24303
|
] }, index)) })
|
|
24304
24304
|
] });
|
|
@@ -24311,31 +24311,31 @@ function FeatureListSkeleton({
|
|
|
24311
24311
|
}) {
|
|
24312
24312
|
if (grouped) {
|
|
24313
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: [
|
|
24314
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24314
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "w-1/3" }),
|
|
24315
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: [
|
|
24316
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24317
|
-
/* @__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" })
|
|
24318
24318
|
] }, featureIndex)) })
|
|
24319
24319
|
] }, groupIndex)) });
|
|
24320
24320
|
}
|
|
24321
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: [
|
|
24322
|
-
showIcons && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24323
|
-
/* @__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" })
|
|
24324
24324
|
] }, index)) });
|
|
24325
24325
|
}
|
|
24326
24326
|
function TimelineSkeleton({ className, items = 5 }) {
|
|
24327
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: [
|
|
24328
24328
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center", children: [
|
|
24329
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24329
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm" }),
|
|
24330
24330
|
index < items - 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2 h-12 w-px bg-ods-border" })
|
|
24331
24331
|
] }),
|
|
24332
24332
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
24333
24333
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24334
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24335
|
-
/* @__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" })
|
|
24336
24336
|
] }),
|
|
24337
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24338
|
-
/* @__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" })
|
|
24339
24339
|
] })
|
|
24340
24340
|
] }, index)) });
|
|
24341
24341
|
}
|
|
@@ -24351,16 +24351,16 @@ function PricingSkeleton({ className, plans = 3 }) {
|
|
|
24351
24351
|
className
|
|
24352
24352
|
),
|
|
24353
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: [
|
|
24354
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24354
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Subheading, { className: "w-1/2" }),
|
|
24355
24355
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
24356
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24357
|
-
/* @__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" })
|
|
24358
24358
|
] }),
|
|
24359
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: [
|
|
24360
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24361
|
-
/* @__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" })
|
|
24362
24362
|
] }, featureIndex)) }),
|
|
24363
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24363
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.InteractiveSkeleton.Button, { className: "w-full" })
|
|
24364
24364
|
] }) }, index))
|
|
24365
24365
|
}
|
|
24366
24366
|
);
|
|
@@ -24396,12 +24396,12 @@ function MspProfileFormSkeleton({ className, fields = 4 }) {
|
|
|
24396
24396
|
"aria-label": "Loading MSP profile form",
|
|
24397
24397
|
children: [
|
|
24398
24398
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col space-y-2", children: [
|
|
24399
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
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,
|
|
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" }) })
|
|
24401
24401
|
] }),
|
|
24402
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: [
|
|
24403
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24404
|
-
/* @__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, {})
|
|
24405
24405
|
] }, idx)) })
|
|
24406
24406
|
]
|
|
24407
24407
|
}
|
|
@@ -24421,13 +24421,13 @@ function CategoryCardSkeleton({ className }) {
|
|
|
24421
24421
|
role: "status",
|
|
24422
24422
|
"aria-label": "Loading category card",
|
|
24423
24423
|
children: [
|
|
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,
|
|
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)) }),
|
|
24425
24425
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col space-y-3", children: [
|
|
24426
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24427
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24428
|
-
/* @__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" })
|
|
24429
24429
|
] }),
|
|
24430
|
-
/* @__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" }) })
|
|
24431
24431
|
]
|
|
24432
24432
|
}
|
|
24433
24433
|
);
|
|
@@ -24444,12 +24444,12 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
24444
24444
|
"aria-label": "Loading category section",
|
|
24445
24445
|
children: [
|
|
24446
24446
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 max-w-xl space-y-2", children: [
|
|
24447
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24448
|
-
/* @__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" })
|
|
24449
24449
|
] }),
|
|
24450
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: [
|
|
24451
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
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,
|
|
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)) })
|
|
24453
24453
|
] }, idx)) })
|
|
24454
24454
|
]
|
|
24455
24455
|
}
|
|
@@ -24460,14 +24460,14 @@ function CategoryVendorSelectorSkeleton({ subcategories = 3, className }) {
|
|
|
24460
24460
|
|
|
24461
24461
|
function WizardLayoutSkeleton({ steps = 6, className }) {
|
|
24462
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: [
|
|
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,
|
|
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)) }),
|
|
24464
24464
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-w-2xl space-y-2", children: [
|
|
24465
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24466
|
-
/* @__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" })
|
|
24467
24467
|
] }),
|
|
24468
24468
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-10 flex justify-between", children: [
|
|
24469
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24470
|
-
/* @__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" })
|
|
24471
24471
|
] })
|
|
24472
24472
|
] });
|
|
24473
24473
|
}
|
|
@@ -24859,28 +24859,28 @@ function OrganizationCardSkeleton({
|
|
|
24859
24859
|
}
|
|
24860
24860
|
),
|
|
24861
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: [
|
|
24862
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24863
|
-
/* @__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" })
|
|
24864
24864
|
] })
|
|
24865
24865
|
] }),
|
|
24866
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: [
|
|
24867
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24868
|
-
/* @__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" })
|
|
24869
24869
|
] }) }),
|
|
24870
24870
|
showFooter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-2", children: [
|
|
24871
24871
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-shrink items-center gap-3 content-md:gap-4", children: [
|
|
24872
24872
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
24873
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24874
|
-
/* @__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" })
|
|
24875
24875
|
] }),
|
|
24876
24876
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-shrink-0 items-center gap-1", children: [
|
|
24877
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24878
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24877
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.MediaSkeleton.Icon, { size: "sm", className: "h-5 w-5" }),
|
|
24878
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.TextSkeleton.Caption, { className: "w-10" })
|
|
24879
24879
|
] })
|
|
24880
24880
|
] }),
|
|
24881
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: [
|
|
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,
|
|
24883
|
-
/* @__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" })
|
|
24884
24884
|
] }) })
|
|
24885
24885
|
] })
|
|
24886
24886
|
] })
|
|
@@ -24957,16 +24957,16 @@ function DeviceCardSkeletonGrid({ count = 12, className }) {
|
|
|
24957
24957
|
|
|
24958
24958
|
function PushButtonSelectorSkeleton({ count = 3, hasTitle }) {
|
|
24959
24959
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", role: "status", "aria-label": "Loading options", children: [
|
|
24960
|
-
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" }),
|
|
24961
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: [
|
|
24962
24962
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24963
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24963
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.UnifiedSkeleton, { className: "h-8 w-8", "aria-label": "Loading icon" }),
|
|
24964
24964
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
24965
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24966
|
-
/* @__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" })
|
|
24967
24967
|
] })
|
|
24968
24968
|
] }),
|
|
24969
|
-
/* @__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" })
|
|
24970
24970
|
] }) }, i)) })
|
|
24971
24971
|
] });
|
|
24972
24972
|
}
|
|
@@ -25088,9 +25088,9 @@ function PushButtonSelector({
|
|
|
25088
25088
|
option.id
|
|
25089
25089
|
);
|
|
25090
25090
|
if (option.disabled && option.disabledReason) {
|
|
25091
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25092
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25093
|
-
/* @__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 })
|
|
25094
25094
|
] }, option.id);
|
|
25095
25095
|
}
|
|
25096
25096
|
return optionEl;
|
|
@@ -25135,7 +25135,7 @@ function PushButtonSelector({
|
|
|
25135
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
|
|
25136
25136
|
] }) : null
|
|
25137
25137
|
] });
|
|
25138
|
-
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: [
|
|
25139
25139
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
25140
25140
|
searchInput,
|
|
25141
25141
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -25349,7 +25349,7 @@ function SEOEditorPreview({
|
|
|
25349
25349
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
25350
25350
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
25351
25351
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25352
|
-
|
|
25352
|
+
_chunk7OFPU7WEcjs.Field,
|
|
25353
25353
|
{
|
|
25354
25354
|
label: "SEO Title",
|
|
25355
25355
|
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${SEO_TITLE_MAX_LENGTH})` : null,
|
|
@@ -25389,7 +25389,7 @@ function SEOEditorPreview({
|
|
|
25389
25389
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
25390
25390
|
] }),
|
|
25391
25391
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25392
|
-
|
|
25392
|
+
_chunk7OFPU7WEcjs.Field,
|
|
25393
25393
|
{
|
|
25394
25394
|
label: "SEO Keywords",
|
|
25395
25395
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -25421,7 +25421,7 @@ function SEOEditorPreview({
|
|
|
25421
25421
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
25422
25422
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
25423
25423
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25424
|
-
|
|
25424
|
+
_chunk7OFPU7WEcjs.Field,
|
|
25425
25425
|
{
|
|
25426
25426
|
label: "SEO Description",
|
|
25427
25427
|
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
@@ -26099,7 +26099,7 @@ function VideoBitesDisplay({
|
|
|
26099
26099
|
filterPublished = true,
|
|
26100
26100
|
showTitle = true
|
|
26101
26101
|
}) {
|
|
26102
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26102
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
26103
26103
|
}
|
|
26104
26104
|
|
|
26105
26105
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -26169,7 +26169,7 @@ function WalkthroughVideo({
|
|
|
26169
26169
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
26170
26170
|
};
|
|
26171
26171
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
26172
|
-
const hydrated =
|
|
26172
|
+
const hydrated = _chunk7OFPU7WEcjs.useIsHydrated.call(void 0, );
|
|
26173
26173
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
26174
26174
|
if (!hydrated) return false;
|
|
26175
26175
|
try {
|
|
@@ -26591,7 +26591,7 @@ function WalkthroughVideo({
|
|
|
26591
26591
|
`card-${embedUrlKey}`
|
|
26592
26592
|
) }),
|
|
26593
26593
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26594
|
-
|
|
26594
|
+
_chunk7OFPU7WEcjs.CardHitLayer,
|
|
26595
26595
|
{
|
|
26596
26596
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
26597
26597
|
onPointerDown: pausePreviewNow,
|
|
@@ -26757,7 +26757,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
26757
26757
|
var _reactquery = require('@tanstack/react-query');
|
|
26758
26758
|
function useWalkthroughVideo(opts) {
|
|
26759
26759
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
26760
|
-
const captions =
|
|
26760
|
+
const captions = _chunk7OFPU7WEcjs.useCaptions.call(void 0, );
|
|
26761
26761
|
const query = _reactquery.useQuery.call(void 0, {
|
|
26762
26762
|
queryKey: ["walkthrough-video", endpoint],
|
|
26763
26763
|
enabled,
|
|
@@ -27506,7 +27506,7 @@ function HighlightConfigSection({
|
|
|
27506
27506
|
disabled = false,
|
|
27507
27507
|
className = ""
|
|
27508
27508
|
}) {
|
|
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,
|
|
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,
|
|
27510
27510
|
Select,
|
|
27511
27511
|
{
|
|
27512
27512
|
value: targetDurationSeconds.toString(),
|
|
@@ -28219,7 +28219,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
28219
28219
|
] });
|
|
28220
28220
|
};
|
|
28221
28221
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
28222
|
-
const { innerRef, containerStyle } =
|
|
28222
|
+
const { innerRef, containerStyle } = _chunk7OFPU7WEcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
28223
28223
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
28224
28224
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28225
28225
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -28388,7 +28388,7 @@ function WaitlistForm({
|
|
|
28388
28388
|
const { toast } = _chunkWCVZCGK5cjs.useToast.call(void 0, );
|
|
28389
28389
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkWCVZCGK5cjs.useHumanitySignals.call(void 0, );
|
|
28390
28390
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
28391
|
-
const isClient =
|
|
28391
|
+
const isClient = _chunk7OFPU7WEcjs.useIsHydrated.call(void 0, );
|
|
28392
28392
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
28393
28393
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
28394
28394
|
const rescue = _chunkWCVZCGK5cjs.useFormRescue.call(void 0, {
|
|
@@ -29034,7 +29034,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
29034
29034
|
}, [mobileBreakpoint]);
|
|
29035
29035
|
const panelRef = _react.useRef.call(void 0, null);
|
|
29036
29036
|
const available = useContainerExtent(resizable, isHorizontal, portalContainer);
|
|
29037
|
-
const { size, setSize, clampSize } =
|
|
29037
|
+
const { size, setSize, clampSize } = _chunk7OFPU7WEcjs.useResizablePanelSize.call(void 0, {
|
|
29038
29038
|
enabled: resizable,
|
|
29039
29039
|
minSize,
|
|
29040
29040
|
maxSize,
|
|
@@ -29054,7 +29054,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
29054
29054
|
"data-state": open ? "open" : "closed",
|
|
29055
29055
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
29056
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",
|
|
29057
|
-
|
|
29057
|
+
_chunk7OFPU7WEcjs.OVERLAY_BACKDROP_CLASS,
|
|
29058
29058
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
29059
29059
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
29060
29060
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -29095,7 +29095,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
29095
29095
|
...props,
|
|
29096
29096
|
children: [
|
|
29097
29097
|
applyInlineSize && (!persist || open) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29098
|
-
|
|
29098
|
+
_chunk7OFPU7WEcjs.PanelResizeHandle,
|
|
29099
29099
|
{
|
|
29100
29100
|
variant: "inLayout",
|
|
29101
29101
|
side: resolvedSide,
|
|
@@ -29134,11 +29134,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
29134
29134
|
}
|
|
29135
29135
|
);
|
|
29136
29136
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
29137
|
-
var AppLayoutDrawerHeader =
|
|
29138
|
-
var AppLayoutDrawerTitle =
|
|
29139
|
-
var AppLayoutDrawerDescription =
|
|
29140
|
-
var AppLayoutDrawerBody =
|
|
29141
|
-
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;
|
|
29142
29142
|
|
|
29143
29143
|
// src/components/features/notifications/notification-tile.tsx
|
|
29144
29144
|
|
|
@@ -29244,7 +29244,7 @@ function NotificationTile({
|
|
|
29244
29244
|
{
|
|
29245
29245
|
dateTime: createdAtIso,
|
|
29246
29246
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", lockscreen && "self-start"),
|
|
29247
|
-
children: _nullishCoalesce(timeLabel, () => (
|
|
29247
|
+
children: _nullishCoalesce(timeLabel, () => ( _chunk7OFPU7WEcjs.formatTicketRelativeTime.call(void 0, createdAtIso)))
|
|
29248
29248
|
}
|
|
29249
29249
|
) : null,
|
|
29250
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: [
|
|
@@ -29353,7 +29353,7 @@ function NotificationDrawer({
|
|
|
29353
29353
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
29354
29354
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29355
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,
|
|
29356
|
-
|
|
29356
|
+
_chunk7OFPU7WEcjs.DrawerTitle,
|
|
29357
29357
|
{
|
|
29358
29358
|
hideClose: true,
|
|
29359
29359
|
className: "truncate",
|
|
@@ -29412,8 +29412,8 @@ function NotificationDrawer({
|
|
|
29412
29412
|
}
|
|
29413
29413
|
) });
|
|
29414
29414
|
}
|
|
29415
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29416
|
-
|
|
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,
|
|
29417
29417
|
{
|
|
29418
29418
|
side: "right",
|
|
29419
29419
|
"aria-describedby": void 0,
|
|
@@ -29696,13 +29696,13 @@ function getApprovalMeta(notification) {
|
|
|
29696
29696
|
function resolutionToStatus(resolution) {
|
|
29697
29697
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
29698
29698
|
case "APPROVED":
|
|
29699
|
-
return
|
|
29699
|
+
return _chunk7OFPU7WEcjs.APPROVAL_STATUS.APPROVED;
|
|
29700
29700
|
case "REJECTED":
|
|
29701
|
-
return
|
|
29701
|
+
return _chunk7OFPU7WEcjs.APPROVAL_STATUS.REJECTED;
|
|
29702
29702
|
case "CANCELLED":
|
|
29703
|
-
return
|
|
29703
|
+
return _chunk7OFPU7WEcjs.APPROVAL_STATUS.CANCELLED;
|
|
29704
29704
|
default:
|
|
29705
|
-
return
|
|
29705
|
+
return _chunk7OFPU7WEcjs.APPROVAL_STATUS.PENDING;
|
|
29706
29706
|
}
|
|
29707
29707
|
}
|
|
29708
29708
|
function approvalMetaToBatchData(approval) {
|
|
@@ -29748,7 +29748,7 @@ function ApprovalRequestNotificationTile({
|
|
|
29748
29748
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _635 => _635.resolution]));
|
|
29749
29749
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
29750
29750
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
29751
|
-
const { innerRef, containerStyle } =
|
|
29751
|
+
const { innerRef, containerStyle } = _chunk7OFPU7WEcjs.useCollapsible.call(void 0, { expanded });
|
|
29752
29752
|
if (!approval || !batchData) return null;
|
|
29753
29753
|
const tileNotification = {
|
|
29754
29754
|
...notification,
|
|
@@ -29811,7 +29811,7 @@ function ApprovalRequestNotificationTile({
|
|
|
29811
29811
|
}
|
|
29812
29812
|
)
|
|
29813
29813
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
29814
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29814
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ApprovalStatusTag, { status }),
|
|
29815
29815
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
29816
29816
|
"by ",
|
|
29817
29817
|
approval.resolvedByName
|
|
@@ -29829,12 +29829,12 @@ function ApprovalRequestNotificationTile({
|
|
|
29829
29829
|
"aria-expanded": expanded,
|
|
29830
29830
|
"aria-label": toggleLabel,
|
|
29831
29831
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
29832
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29832
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7OFPU7WEcjs.ExpandChevron, { expanded })
|
|
29833
29833
|
}
|
|
29834
29834
|
)
|
|
29835
29835
|
] }),
|
|
29836
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,
|
|
29837
|
-
|
|
29837
|
+
_chunk7OFPU7WEcjs.ApprovalBatchMessage,
|
|
29838
29838
|
{
|
|
29839
29839
|
data: batchData,
|
|
29840
29840
|
showExecutionStatus: false,
|
|
@@ -30351,7 +30351,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
30351
30351
|
"data-state": isOpen ? "open" : "closed",
|
|
30352
30352
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
30353
30353
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
30354
|
-
|
|
30354
|
+
_chunk7OFPU7WEcjs.OVERLAY_BACKDROP_CLASS,
|
|
30355
30355
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
30356
30356
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
30357
30357
|
)
|
|
@@ -31041,9 +31041,9 @@ function KeepRecordingModal({
|
|
|
31041
31041
|
if (!canKeep || isPending) return;
|
|
31042
31042
|
onConfirm({ reason, description: reason === "OTHER" ? trimmed : null });
|
|
31043
31043
|
};
|
|
31044
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31044
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
31045
31045
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
31046
|
-
/* @__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" }) }),
|
|
31047
31047
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31048
31048
|
KeepNotice,
|
|
31049
31049
|
{
|
|
@@ -31081,7 +31081,7 @@ function KeepRecordingModal({
|
|
|
31081
31081
|
}
|
|
31082
31082
|
)
|
|
31083
31083
|
] }),
|
|
31084
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31084
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.ModalFooter, { children: [
|
|
31085
31085
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
31086
31086
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
31087
31087
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -31111,9 +31111,9 @@ function ReleaseKeepingModal({
|
|
|
31111
31111
|
isPending = false,
|
|
31112
31112
|
onConfirm
|
|
31113
31113
|
}) {
|
|
31114
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31114
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
31115
31115
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
31116
|
-
/* @__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" }) }),
|
|
31117
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: [
|
|
31118
31118
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { children: [
|
|
31119
31119
|
"Kept by ",
|
|
@@ -31130,7 +31130,7 @@ function ReleaseKeepingModal({
|
|
|
31130
31130
|
] })
|
|
31131
31131
|
] }),
|
|
31132
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." }),
|
|
31133
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31133
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7OFPU7WEcjs.ModalFooter, { children: [
|
|
31134
31134
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
31135
31135
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
31136
31136
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "accent", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Release Keeping" })
|
|
@@ -31394,7 +31394,7 @@ function BoardColumnHeader({
|
|
|
31394
31394
|
}) {
|
|
31395
31395
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
31396
31396
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
31397
|
-
const useStatusVariant =
|
|
31397
|
+
const useStatusVariant = _chunk7OFPU7WEcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
31398
31398
|
const actionClass = "h-8 w-8 p-0 content-md:h-8 content-md:w-8";
|
|
31399
31399
|
if (collapsed) {
|
|
31400
31400
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -31410,7 +31410,7 @@ function BoardColumnHeader({
|
|
|
31410
31410
|
}
|
|
31411
31411
|
),
|
|
31412
31412
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31413
|
-
|
|
31413
|
+
_chunk7OFPU7WEcjs.TicketStatusTag,
|
|
31414
31414
|
{
|
|
31415
31415
|
status: tagStatus,
|
|
31416
31416
|
label: column.label,
|
|
@@ -31423,7 +31423,7 @@ function BoardColumnHeader({
|
|
|
31423
31423
|
}
|
|
31424
31424
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
31425
31425
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
31426
|
-
/* @__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 }),
|
|
31427
31427
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
31428
31428
|
] }),
|
|
31429
31429
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -31575,7 +31575,7 @@ function holdMoveDragEffect(element) {
|
|
|
31575
31575
|
|
|
31576
31576
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
31577
31577
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
31578
|
-
const { innerRef, containerStyle } =
|
|
31578
|
+
const { innerRef, containerStyle } = _chunk7OFPU7WEcjs.useCollapsible.call(void 0, { expanded });
|
|
31579
31579
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
31580
31580
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
31581
31581
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -31604,7 +31604,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
31604
31604
|
}
|
|
31605
31605
|
),
|
|
31606
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,
|
|
31607
|
-
|
|
31607
|
+
_chunk7OFPU7WEcjs.ApprovalBatchMessage,
|
|
31608
31608
|
{
|
|
31609
31609
|
className: "mb-0",
|
|
31610
31610
|
data: {
|
|
@@ -31684,7 +31684,7 @@ function TicketCardBody({
|
|
|
31684
31684
|
onLinkClick
|
|
31685
31685
|
}) {
|
|
31686
31686
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
31687
|
-
const newMessageTextColor = columnColor ?
|
|
31687
|
+
const newMessageTextColor = columnColor ? _chunk7OFPU7WEcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
31688
31688
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _675 => _675.deviceHostnames, 'optionalAccess', _676 => _676.length]) || ticket.organizationName);
|
|
31689
31689
|
const deviceText = [_optionalChain([ticket, 'access', _677 => _677.deviceHostnames, 'optionalAccess', _678 => _678.join, 'call', _679 => _679(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
31690
31690
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _680 => _680.assignees, 'optionalAccess', _681 => _681.length]) || renderAssignSlot);
|
|
@@ -31723,8 +31723,8 @@ function TicketCardBody({
|
|
|
31723
31723
|
] })
|
|
31724
31724
|
] }) : null
|
|
31725
31725
|
] }) : null;
|
|
31726
|
-
const timestampLabel = ticket.createdAt ?
|
|
31727
|
-
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;
|
|
31728
31728
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
31729
31729
|
const metaClass = "truncate text-ods-text-secondary text-h6";
|
|
31730
31730
|
const meta = href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -31751,9 +31751,9 @@ function TicketCardBody({
|
|
|
31751
31751
|
rightSection
|
|
31752
31752
|
] }),
|
|
31753
31753
|
_optionalChain([ticket, 'access', _684 => _684.tags, 'optionalAccess', _685 => _685.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
31754
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31755
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31756
|
-
/* @__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 })
|
|
31757
31757
|
] }) }) : meta),
|
|
31758
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: [
|
|
31759
31759
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|