@flamingo-stack/openframe-frontend-core 0.0.751 → 0.0.753
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/build/export-map.json +1 -1
- package/dist/{chunk-FHT7SMA7.cjs → chunk-35BJY5RR.cjs} +47 -47
- package/dist/{chunk-ALPRQ3ZX.cjs → chunk-3GG3QAPT.cjs} +15 -15
- package/dist/{chunk-34TWK3JE.cjs → chunk-5E6JHOGX.cjs} +3 -3
- package/dist/{chunk-OFO75R2O.cjs → chunk-7Z4EQOIX.cjs} +174 -174
- package/dist/{chunk-C6LPOYDM.cjs → chunk-AG4HR6Z6.cjs} +8 -8
- package/dist/{chunk-XJ3J4UIS.cjs → chunk-B27XV2TC.cjs} +19 -19
- package/dist/{chunk-MJFTWHV6.cjs → chunk-C6JHDRK3.cjs} +6 -6
- package/dist/{chunk-2YXOD2KL.cjs → chunk-H3RYUTND.cjs} +5 -0
- package/dist/{chunk-53I4YHRT.cjs → chunk-ITQZK3UT.cjs} +3 -3
- package/dist/{chunk-H52GKJ36.cjs → chunk-J3E5UN2O.cjs} +19 -19
- package/dist/{chunk-5WC535NJ.cjs → chunk-JLAYELWS.cjs} +40 -40
- package/dist/{chunk-UGCRLRCT.cjs → chunk-NO5UJLLQ.cjs} +2 -5
- package/dist/{chunk-5P7WBA2U.cjs → chunk-QXQHCX2R.cjs} +4 -4
- package/dist/{chunk-ESRA7NUI.cjs → chunk-R45NJ5ZA.cjs} +90 -90
- package/dist/{chunk-CVBHB4OZ.cjs → chunk-RGYLC3US.cjs} +7 -7
- package/dist/{chunk-TPH4SRR2.cjs → chunk-SDF5UUTE.cjs} +800 -659
- package/dist/{chunk-3TELPOVH.cjs → chunk-T4BBZ5ST.cjs} +2 -2
- package/dist/{chunk-CLAJIQ7E.cjs → chunk-UNRNLSG4.cjs} +19 -19
- package/dist/{chunk-NOUROZYH.cjs → chunk-UVTJT5BK.cjs} +24 -24
- package/dist/{chunk-77IKUBSH.cjs → chunk-W77VPNBJ.cjs} +12 -12
- package/dist/{chunk-DGEB5GUZ.cjs → chunk-WBOHLXFC.cjs} +2 -2
- package/dist/{chunk-X4LAMJHD.cjs → chunk-WIT36ZTN.cjs} +113 -113
- package/dist/{chunk-QOONZMSQ.cjs → chunk-XSOGT6DF.cjs} +28 -28
- package/dist/{chunk-LIGDPFDM.cjs → chunk-XW6WSW36.cjs} +771 -771
- package/dist/{chunk-4WNBVNGP.cjs → chunk-Y7AZCDLZ.cjs} +20 -20
- package/dist/{chunk-SDOCZTST.cjs → chunk-Z6TUOE6L.cjs} +41 -41
- package/dist/{chunk-RVLQHSID.cjs → chunk-ZGADZHLD.cjs} +101 -101
- package/dist/{chunk-MU7FFN6M.cjs → chunk-ZJ77IOMY.cjs} +83 -83
- package/dist/{cloud-tenants-JDPC2DYF.cjs → cloud-tenants-7LTS4DAP.cjs} +11 -11
- package/dist/components/case-studies/index.cjs +24 -24
- package/dist/components/chat/chat-dialog-menu-items.js +6 -6
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.js +3 -0
- package/dist/components/chat/chat-panel-context.d.ts +3 -0
- package/dist/components/chat/chat-panel-context.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.d.ts +20 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +78 -8
- package/dist/components/chat/hooks/index.d.ts +1 -0
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.js +1 -0
- package/dist/components/chat/hooks/use-what-to-ask.d.ts +69 -0
- package/dist/components/chat/hooks/use-what-to-ask.d.ts.map +1 -0
- package/dist/components/chat/hooks/use-what-to-ask.js +106 -0
- package/dist/components/chat/index.cjs +15 -7
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +1 -0
- package/dist/components/chat/mingo-chat-header.d.ts +4 -2
- package/dist/components/chat/mingo-chat-header.d.ts.map +1 -1
- package/dist/components/chat/mingo-chat-header.js +7 -2
- package/dist/components/chat/suggestions-display.d.ts +11 -0
- package/dist/components/chat/suggestions-display.d.ts.map +1 -0
- package/dist/components/chat/suggestions-display.js +27 -0
- package/dist/components/chat/types/message.types.d.ts +27 -1
- package/dist/components/chat/types/message.types.d.ts.map +1 -1
- package/dist/components/chat/utils/extract-incomplete-message-state.d.ts.map +1 -1
- package/dist/components/chat/utils/extract-incomplete-message-state.js +2 -0
- package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
- package/dist/components/chat/utils/message-segment-accumulator.js +3 -0
- package/dist/components/contact/index.cjs +12 -12
- package/dist/components/docs/index.cjs +15 -15
- package/dist/components/embeds/index.cjs +12 -12
- package/dist/components/faq/index.cjs +13 -13
- package/dist/components/features/index.cjs +11 -11
- package/dist/components/help-center-pages/index.cjs +112 -112
- package/dist/components/index.cjs +69 -61
- package/dist/components/loading/loading-region.d.ts.map +1 -1
- package/dist/components/loading/loading-region.js +2 -5
- package/dist/components/loading/unified-skeleton.d.ts +2 -0
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/loading/unified-skeleton.js +5 -0
- package/dist/components/meeting-scheduler/index.cjs +72 -72
- package/dist/components/navigation/index.cjs +14 -14
- package/dist/components/onboarding-guides/index.cjs +14 -14
- package/dist/components/product-demo/index.cjs +12 -12
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +17 -17
- package/dist/components/ui/file-manager/index.cjs +30 -30
- package/dist/components/ui/index.cjs +19 -11
- package/dist/{devices-ADQWD37J.cjs → devices-CGDJAYRB.cjs} +12 -12
- package/dist/{embeddable-chat-7YF2JMPS.cjs → embeddable-chat-CMEHSDV7.cjs} +165 -93
- package/dist/index.cjs +23 -15
- package/dist/{knowledge-TNS64EGK.cjs → knowledge-X5I4QJKV.cjs} +12 -12
- package/dist/{logs-754MDDE4.cjs → logs-GDGIRJFI.cjs} +19 -19
- package/dist/{policies-Q23DPIH6.cjs → policies-2UOCENDX.cjs} +15 -15
- package/dist/{remote-session-ZKP2W3IS.cjs → remote-session-57DGC4X3.cjs} +6 -6
- package/dist/{scripts-DCYLK2RZ.cjs → scripts-AS4GEG6L.cjs} +18 -18
- package/dist/{software-update-XCMGUIER.cjs → software-update-ADPUFMFY.cjs} +15 -15
- package/dist/{tickets-board-BNW4AYFL.cjs → tickets-board-EP6L3BSV.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/chat/chat-dialog-menu-items.tsx +6 -6
- package/src/components/chat/chat-message-enhanced.tsx +3 -0
- package/src/components/chat/chat-panel-context.tsx +3 -0
- package/src/components/chat/embeddable-chat.tsx +132 -9
- package/src/components/chat/hooks/index.ts +1 -0
- package/src/components/chat/hooks/use-what-to-ask.ts +203 -0
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/mingo-chat-header.tsx +11 -4
- package/src/components/chat/suggestions-display.tsx +41 -0
- package/src/components/chat/types/message.types.ts +31 -1
- package/src/components/chat/utils/extract-incomplete-message-state.ts +2 -0
- package/src/components/chat/utils/message-segment-accumulator.ts +4 -0
- package/src/components/loading/loading-region.tsx +4 -9
- package/src/components/loading/unified-skeleton.tsx +13 -0
|
@@ -3,32 +3,32 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkITQZK3UTcjs = require('./chunk-ITQZK3UT.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkRGYLC3UScjs = require('./chunk-RGYLC3US.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkW77VPNBJcjs = require('./chunk-W77VPNBJ.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkXW6WSW36cjs = require('./chunk-XW6WSW36.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunk3GG3QAPTcjs = require('./chunk-3GG3QAPT.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkWIT36ZTNcjs = require('./chunk-WIT36ZTN.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -46,10 +46,10 @@ var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
|
|
|
46
46
|
var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
var
|
|
49
|
+
var _chunkNO5UJLLQcjs = require('./chunk-NO5UJLLQ.cjs');
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
var
|
|
52
|
+
var _chunkH3RYUTNDcjs = require('./chunk-H3RYUTND.cjs');
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -344,8 +344,8 @@ function toDocContent(value, requestedPath) {
|
|
|
344
344
|
}
|
|
345
345
|
function useDocumentTree(config, initialPath) {
|
|
346
346
|
const { structureEndpoint, contentEndpoint, baseRoute } = config;
|
|
347
|
-
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => (
|
|
348
|
-
const cleanInitialPath =
|
|
347
|
+
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkWIT36ZTNcjs.DEFAULT_FOLDER_INDEX_FILE));
|
|
348
|
+
const cleanInitialPath = _chunkWIT36ZTNcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
|
|
349
349
|
const [structure, setStructure] = _react.useState.call(void 0, []);
|
|
350
350
|
const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
|
|
351
351
|
const [content, setContent] = _react.useState.call(void 0, null);
|
|
@@ -369,12 +369,12 @@ function useDocumentTree(config, initialPath) {
|
|
|
369
369
|
} else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
|
|
370
370
|
pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
|
|
371
371
|
}
|
|
372
|
-
pathFromUrl =
|
|
372
|
+
pathFromUrl = _chunkWIT36ZTNcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
|
|
373
373
|
if (pathFromUrl !== selectedPathRef.current) {
|
|
374
374
|
setSelectedPath(pathFromUrl);
|
|
375
375
|
if (pathFromUrl) {
|
|
376
376
|
const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
|
|
377
|
-
setExpandedNodes(new Set(
|
|
377
|
+
setExpandedNodes(new Set(_chunkWIT36ZTNcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
378
378
|
}
|
|
379
379
|
setTimeout(() => {
|
|
380
380
|
scrollToContent();
|
|
@@ -392,7 +392,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
392
392
|
setSelectedPath(cleanInitialPath);
|
|
393
393
|
if (cleanInitialPath) {
|
|
394
394
|
const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
395
|
-
setExpandedNodes(new Set(
|
|
395
|
+
setExpandedNodes(new Set(_chunkWIT36ZTNcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
396
396
|
}
|
|
397
397
|
setExternalNavCount((n) => n + 1);
|
|
398
398
|
}
|
|
@@ -417,7 +417,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
417
417
|
if (cleanInitialPath) {
|
|
418
418
|
const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
419
419
|
if (pathForExpansion) {
|
|
420
|
-
setExpandedNodes(new Set(
|
|
420
|
+
setExpandedNodes(new Set(_chunkWIT36ZTNcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
|
|
421
421
|
}
|
|
422
422
|
} else if (nodes.length > 0) {
|
|
423
423
|
const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
|
|
@@ -457,7 +457,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
457
457
|
setContent(null);
|
|
458
458
|
return;
|
|
459
459
|
}
|
|
460
|
-
const probe =
|
|
460
|
+
const probe = _chunkWIT36ZTNcjs.findDocNodeByPath.call(void 0, _chunkWIT36ZTNcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
|
|
461
461
|
const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
|
|
462
462
|
const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
|
|
463
463
|
if (probeIsNoReadmeFolder || preStructureFolderLike) {
|
|
@@ -514,7 +514,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
514
514
|
if (selectedPath === "") {
|
|
515
515
|
pathToFetch = folderIndexFile;
|
|
516
516
|
} else {
|
|
517
|
-
const node =
|
|
517
|
+
const node = _chunkWIT36ZTNcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
518
518
|
if (node && node.type === "folder" && !node.hasReadme) {
|
|
519
519
|
const firstDocPath = findFirstDocPath(node);
|
|
520
520
|
if (!firstDocPath) {
|
|
@@ -555,16 +555,16 @@ function useDocumentTree(config, initialPath) {
|
|
|
555
555
|
if (node.type === "folder") {
|
|
556
556
|
setExpandedNodes((prev) => {
|
|
557
557
|
if (prev.has(node.id)) {
|
|
558
|
-
const ancestorIds =
|
|
558
|
+
const ancestorIds = _chunkWIT36ZTNcjs.getDocAncestorNodeIds.call(void 0, node.path);
|
|
559
559
|
ancestorIds.pop();
|
|
560
560
|
return new Set(ancestorIds);
|
|
561
561
|
}
|
|
562
|
-
return new Set(
|
|
562
|
+
return new Set(_chunkWIT36ZTNcjs.getDocAncestorNodeIds.call(void 0, node.path));
|
|
563
563
|
});
|
|
564
564
|
} else {
|
|
565
565
|
const lastSlash = node.path.lastIndexOf("/");
|
|
566
566
|
if (lastSlash > 0) {
|
|
567
|
-
setExpandedNodes(new Set(
|
|
567
|
+
setExpandedNodes(new Set(_chunkWIT36ZTNcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
lastFetchedPath.current = null;
|
|
@@ -579,7 +579,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
579
579
|
const hashIndex = path.indexOf("#");
|
|
580
580
|
const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
|
|
581
581
|
const cleanPath = path.replace(/\/$/, "").split("#")[0];
|
|
582
|
-
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current :
|
|
582
|
+
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkWIT36ZTNcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
|
|
583
583
|
if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
|
|
584
584
|
_chunkCSJO7ZGNcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkCSJO7ZGNcjs.HUB_HEADER_OFFSET_PX });
|
|
585
585
|
return;
|
|
@@ -643,15 +643,15 @@ function useDocumentTree(config, initialPath) {
|
|
|
643
643
|
return docNavigation.register({
|
|
644
644
|
baseRoute: normalizedBaseRoute,
|
|
645
645
|
findNodeByPath: (path) => {
|
|
646
|
-
const clean =
|
|
647
|
-
return _nullishCoalesce(
|
|
646
|
+
const clean = _chunkWIT36ZTNcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
|
|
647
|
+
return _nullishCoalesce(_chunkWIT36ZTNcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
|
|
648
648
|
},
|
|
649
649
|
selectNode
|
|
650
650
|
});
|
|
651
651
|
}, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
|
|
652
652
|
const isEmptyFolder = _react.useMemo.call(void 0, () => {
|
|
653
653
|
if (!selectedPath || structure.length === 0) return false;
|
|
654
|
-
const node =
|
|
654
|
+
const node = _chunkWIT36ZTNcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
655
655
|
return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
|
|
656
656
|
}, [selectedPath, structure]);
|
|
657
657
|
return {
|
|
@@ -731,14 +731,14 @@ function DocViewerContent({
|
|
|
731
731
|
},
|
|
732
732
|
docPath
|
|
733
733
|
);
|
|
734
|
-
const { activeSection, handleSectionClick } =
|
|
734
|
+
const { activeSection, handleSectionClick } = _chunkRGYLC3UScjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
|
|
735
735
|
const docNav = useDocNavigation();
|
|
736
736
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
737
737
|
const backCfg = backButton === false ? null : {
|
|
738
738
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
|
|
739
739
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
|
|
740
740
|
};
|
|
741
|
-
const docSearch =
|
|
741
|
+
const docSearch = _chunkW77VPNBJcjs.useDocSearch.call(void 0, {
|
|
742
742
|
source: chatSource,
|
|
743
743
|
baseRoute,
|
|
744
744
|
searchEndpoint,
|
|
@@ -762,7 +762,7 @@ function DocViewerContent({
|
|
|
762
762
|
onResolveLink: resolveLink
|
|
763
763
|
});
|
|
764
764
|
}, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
|
|
765
|
-
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([
|
|
765
|
+
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkWIT36ZTNcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
|
|
766
766
|
const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _15 => _15.documentType]), () => ( selectedNodeDocType));
|
|
767
767
|
const isMarkdownContent = !activeDocType || activeDocType === "markdown";
|
|
768
768
|
const showStickyNav = isMarkdownContent;
|
|
@@ -773,9 +773,9 @@ function DocViewerContent({
|
|
|
773
773
|
const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
|
|
774
774
|
const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
|
|
775
775
|
const resolvedEmptyText = emptyStateText || defaultEmptyText;
|
|
776
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
776
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.PageLayout, { title, subtitle, titleSize: "h1", titleWrap: true, backButton: _nullishCoalesce(backCfg, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
|
|
777
777
|
showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
778
|
-
|
|
778
|
+
_chunkW77VPNBJcjs.DocSearchBar,
|
|
779
779
|
{
|
|
780
780
|
placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _19 => _19.toLowerCase, 'call', _20 => _20()]) || "documents"}...`,
|
|
781
781
|
query: docSearch.query,
|
|
@@ -794,9 +794,9 @@ function DocViewerContent({
|
|
|
794
794
|
] })
|
|
795
795
|
] }) }),
|
|
796
796
|
!error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-start gap-6 content-lg:flex-row content-lg:gap-10", children: [
|
|
797
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
797
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXW6WSW36cjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
798
798
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
799
|
-
|
|
799
|
+
_chunkRGYLC3UScjs.MobileNavigationDropdown,
|
|
800
800
|
{
|
|
801
801
|
nodes: structure,
|
|
802
802
|
selectedPath,
|
|
@@ -810,7 +810,7 @@ function DocViewerContent({
|
|
|
810
810
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentSidebar, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
811
811
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
|
|
812
812
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
813
|
-
|
|
813
|
+
_chunkRGYLC3UScjs.MultiLevelNavigation,
|
|
814
814
|
{
|
|
815
815
|
nodes: structure,
|
|
816
816
|
selectedPath,
|
|
@@ -836,12 +836,12 @@ function DocViewerContent({
|
|
|
836
836
|
children: [
|
|
837
837
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `w-full min-w-0 ${isMarkdownContent ? "mx-auto max-w-4xl" : ""}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "article", { className: "space-y-2", children: isLoadingContent || isLoadingStructure ? renderSkeleton(selectedNodeDocType) : !content ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-16 text-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: resolvedEmptyText }) }) : renderedContent }) }),
|
|
838
838
|
isMarkdownContent && (isLoadingContent || isLoadingStructure) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-24", children: [
|
|
839
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
839
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-5 h-[14px] w-28 rounded" }),
|
|
840
840
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-0", children: [130, 170, 190, 220, 110, 200, 80, 100, 120, 140, 90].map((w, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
841
841
|
"div",
|
|
842
842
|
{
|
|
843
843
|
className: `border-l-2 py-[13px] pl-3 ${i === 0 ? "border-ods-accent" : "border-transparent"}`,
|
|
844
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
844
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[13px] rounded", width: w })
|
|
845
845
|
},
|
|
846
846
|
i
|
|
847
847
|
)) })
|
|
@@ -849,7 +849,7 @@ function DocViewerContent({
|
|
|
849
849
|
showStickyNav && content && stickyNavSections.length > 0 && !isLoadingContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-24", children: [
|
|
850
850
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "mb-4 font-semibold text-ods-text-secondary text-h5", children: "ON THIS PAGE" }),
|
|
851
851
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
852
|
-
|
|
852
|
+
_chunkRGYLC3UScjs.StickySectionNav,
|
|
853
853
|
{
|
|
854
854
|
sections: stickyNavSections,
|
|
855
855
|
activeSection,
|
|
@@ -864,7 +864,7 @@ function DocViewerContent({
|
|
|
864
864
|
) })
|
|
865
865
|
] })
|
|
866
866
|
] }) }) });
|
|
867
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
867
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXW6WSW36cjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
|
|
868
868
|
}
|
|
869
869
|
|
|
870
870
|
// src/components/docs/skeletons.tsx
|
|
@@ -872,85 +872,85 @@ function DocViewerContent({
|
|
|
872
872
|
function MarkdownSkeleton({
|
|
873
873
|
region = true
|
|
874
874
|
} = {}) {
|
|
875
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
875
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading the document", announce: region, className: "mt-6 space-y-7", children: [
|
|
876
876
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-[14px]", children: [
|
|
877
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
878
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
879
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
880
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
877
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
878
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
879
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
880
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-3/4 rounded" })
|
|
881
881
|
] }),
|
|
882
882
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-[14px]", children: [
|
|
883
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
884
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
885
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
886
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
883
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
884
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
885
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
886
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-5/6 rounded" })
|
|
887
887
|
] }),
|
|
888
888
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-[14px]", children: [
|
|
889
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
890
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
891
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
892
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
893
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
889
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
890
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
891
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
892
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
893
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-2/3 rounded" })
|
|
894
894
|
] }),
|
|
895
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
896
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
895
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[88px] rounded-lg border border-ods-border" }),
|
|
896
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-7 w-1/3 rounded" }),
|
|
897
897
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-[14px]", children: [
|
|
898
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
899
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
900
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
901
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
898
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
899
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
900
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
901
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-[72%] rounded" })
|
|
902
902
|
] }),
|
|
903
903
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-[14px]", children: [
|
|
904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
905
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
906
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
907
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
904
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
905
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
906
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
907
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-[58%] rounded" })
|
|
909
909
|
] }),
|
|
910
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
910
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-7 w-2/5 rounded" }),
|
|
911
911
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-[14px]", children: [
|
|
912
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
913
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
914
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
912
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
913
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
914
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-[90%] rounded" })
|
|
915
915
|
] }),
|
|
916
916
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-[14px]", children: [
|
|
917
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
918
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
919
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
920
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
918
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
919
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-full rounded" }),
|
|
920
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[16px] w-[70%] rounded" })
|
|
921
921
|
] }),
|
|
922
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
922
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[88px] rounded-lg border border-ods-border" })
|
|
923
923
|
] });
|
|
924
924
|
}
|
|
925
925
|
function EmbedSkeleton({ documentType, region = true } = {}) {
|
|
926
926
|
if (documentType === "file") {
|
|
927
927
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
928
|
-
|
|
928
|
+
_chunkNO5UJLLQcjs.LoadingRegion,
|
|
929
929
|
{
|
|
930
930
|
label: "Loading the document",
|
|
931
931
|
announce: region,
|
|
932
932
|
className: "flex flex-col items-center justify-center py-16",
|
|
933
933
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full max-w-md space-y-4 rounded-xl border border-ods-border bg-ods-card p-8 text-center", children: [
|
|
934
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
934
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mx-auto h-16 w-16 rounded" }),
|
|
935
935
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
936
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
937
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
936
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mx-auto h-5 w-2/3 rounded" }),
|
|
937
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mx-auto h-4 w-1/2 rounded" })
|
|
938
938
|
] }),
|
|
939
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
939
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-full rounded" })
|
|
940
940
|
] })
|
|
941
941
|
}
|
|
942
942
|
);
|
|
943
943
|
}
|
|
944
944
|
const buttonCount = documentType === "pdf" ? 2 : 1;
|
|
945
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
945
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading the document", announce: region, className: "space-y-4", children: [
|
|
946
946
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 content-sm:flex-row content-sm:items-center content-sm:justify-between", children: [
|
|
947
947
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
948
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
949
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
948
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-5 shrink-0 rounded" }),
|
|
949
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-2/3 rounded" })
|
|
950
950
|
] }),
|
|
951
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
951
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-full flex-1 rounded content-sm:w-32 content-sm:flex-initial" }, i)) })
|
|
952
952
|
] }),
|
|
953
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
953
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXW6WSW36cjs.EmbedLoadingSkeleton, { region: false })
|
|
954
954
|
] });
|
|
955
955
|
}
|
|
956
956
|
|
|
@@ -958,11 +958,11 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
|
|
|
958
958
|
|
|
959
959
|
var DEFAULT_TITLE = "Documents";
|
|
960
960
|
var defaultFallbackRenderer = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-16 text-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: "Unsupported document type" }) });
|
|
961
|
-
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
962
|
-
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
963
|
-
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
961
|
+
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkITQZK3UTcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
962
|
+
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkITQZK3UTcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
963
|
+
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXW6WSW36cjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
|
|
964
964
|
var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
965
|
-
|
|
965
|
+
_chunkITQZK3UTcjs.FileDownloadCard,
|
|
966
966
|
{
|
|
967
967
|
fileName: content.fileName,
|
|
968
968
|
mimeType: content.mimeType,
|
|
@@ -9,10 +9,10 @@ var _chunkSTEJZPIOcjs = require('./chunk-STEJZPIO.cjs');
|
|
|
9
9
|
var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
12
|
+
var _chunkXW6WSW36cjs = require('./chunk-XW6WSW36.cjs');
|
|
13
|
+
require('./chunk-AG4HR6Z6.cjs');
|
|
14
14
|
require('./chunk-NTGIQP7O.cjs');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-3GG3QAPT.cjs');
|
|
16
16
|
require('./chunk-HQQE74RO.cjs');
|
|
17
17
|
require('./chunk-DEY6XXGO.cjs');
|
|
18
18
|
require('./chunk-VUWPLQBY.cjs');
|
|
@@ -20,10 +20,10 @@ require('./chunk-LU7TD6QS.cjs');
|
|
|
20
20
|
require('./chunk-24I6RFVU.cjs');
|
|
21
21
|
require('./chunk-A6P6DHEZ.cjs');
|
|
22
22
|
require('./chunk-MZ4KBSH7.cjs');
|
|
23
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-T4BBZ5ST.cjs');
|
|
24
24
|
require('./chunk-YUMFVQIN.cjs');
|
|
25
|
-
require('./chunk-
|
|
26
|
-
require('./chunk-
|
|
25
|
+
require('./chunk-WIT36ZTN.cjs');
|
|
26
|
+
require('./chunk-SDF5UUTE.cjs');
|
|
27
27
|
require('./chunk-LVO7FALW.cjs');
|
|
28
28
|
require('./chunk-3RFQPQ7Z.cjs');
|
|
29
29
|
require('./chunk-YRULLK7N.cjs');
|
|
@@ -1824,8 +1824,8 @@ require('./chunk-7DNL734S.cjs');
|
|
|
1824
1824
|
require('./chunk-WWUSFOJ7.cjs');
|
|
1825
1825
|
require('./chunk-SKI6NKOE.cjs');
|
|
1826
1826
|
require('./chunk-EWPR7662.cjs');
|
|
1827
|
-
require('./chunk-
|
|
1828
|
-
require('./chunk-
|
|
1827
|
+
require('./chunk-B27XV2TC.cjs');
|
|
1828
|
+
require('./chunk-7Z4EQOIX.cjs');
|
|
1829
1829
|
require('./chunk-QYLIHZKZ.cjs');
|
|
1830
1830
|
require('./chunk-63N4FN5V.cjs');
|
|
1831
1831
|
require('./chunk-L2IQESTQ.cjs');
|
|
@@ -1851,7 +1851,7 @@ require('./chunk-K6VWTUCH.cjs');
|
|
|
1851
1851
|
require('./chunk-MGF3FUKD.cjs');
|
|
1852
1852
|
require('./chunk-Z74QE57T.cjs');
|
|
1853
1853
|
require('./chunk-XZJCBIYR.cjs');
|
|
1854
|
-
require('./chunk-
|
|
1854
|
+
require('./chunk-NO5UJLLQ.cjs');
|
|
1855
1855
|
require('./chunk-2QMBXGMQ.cjs');
|
|
1856
1856
|
require('./chunk-V45KLJQP.cjs');
|
|
1857
1857
|
require('./chunk-KHKPLOU4.cjs');
|
|
@@ -1859,7 +1859,7 @@ require('./chunk-L4UI63K6.cjs');
|
|
|
1859
1859
|
require('./chunk-OF336YWG.cjs');
|
|
1860
1860
|
require('./chunk-3LU4UFPS.cjs');
|
|
1861
1861
|
require('./chunk-RB6BSE3O.cjs');
|
|
1862
|
-
require('./chunk-
|
|
1862
|
+
require('./chunk-H3RYUTND.cjs');
|
|
1863
1863
|
require('./chunk-3ATAYP36.cjs');
|
|
1864
1864
|
|
|
1865
1865
|
// src/components/product-demo/screens/cloud-tenants.tsx
|
|
@@ -1920,7 +1920,7 @@ var getHref = () => "#";
|
|
|
1920
1920
|
function CloudTenantsScreen(_props) {
|
|
1921
1921
|
const cast = _chunkSTEJZPIOcjs.useProductDemoCast.call(void 0, );
|
|
1922
1922
|
const fixture = _react.useMemo.call(void 0, () => buildCloudTenantsFixture(cast), [cast]);
|
|
1923
|
-
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1923
|
+
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXW6WSW36cjs.TenantsTableView, { rows: fixture.rows, getHref, now: fixture.now });
|
|
1924
1924
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg p-[var(--spacing-system-l)]", children: table });
|
|
1925
1925
|
}
|
|
1926
1926
|
|