@flamingo-stack/openframe-frontend-core 0.0.666 → 0.0.667-2387.7140.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-ZDGEJFDG.js → chunk-46Q75EJ6.js} +2 -2
- package/dist/{chunk-HQHZZ3SL.js → chunk-4GNH6Z7N.js} +2 -2
- package/dist/{chunk-7H7LYI4M.cjs → chunk-4PXVQEUJ.cjs} +4 -4
- package/dist/{chunk-7H7LYI4M.cjs.map → chunk-4PXVQEUJ.cjs.map} +1 -1
- package/dist/{chunk-XMY2XTHG.cjs → chunk-6QS3P3WR.cjs} +3 -3
- package/dist/{chunk-XMY2XTHG.cjs.map → chunk-6QS3P3WR.cjs.map} +1 -1
- package/dist/{chunk-DDW7G6U7.js → chunk-6VT4TY34.js} +4 -4
- package/dist/{chunk-IUNCGKFP.cjs → chunk-7HWZMCQE.cjs} +3 -3
- package/dist/{chunk-IUNCGKFP.cjs.map → chunk-7HWZMCQE.cjs.map} +1 -1
- package/dist/{chunk-JBRNIUYC.js → chunk-7OBHWW3T.js} +2 -2
- package/dist/{chunk-KDFSFVNX.cjs → chunk-BLB5X3XR.cjs} +10 -10
- package/dist/{chunk-KDFSFVNX.cjs.map → chunk-BLB5X3XR.cjs.map} +1 -1
- package/dist/{chunk-V3B37LQY.js → chunk-CU5BDIAL.js} +4 -4
- package/dist/{chunk-YVMSA7LR.js → chunk-DGG6ORNT.js} +5 -5
- package/dist/{chunk-2S44CUCH.cjs → chunk-DZ4W2JMA.cjs} +4 -4
- package/dist/{chunk-2S44CUCH.cjs.map → chunk-DZ4W2JMA.cjs.map} +1 -1
- package/dist/{chunk-L7QXTWI7.cjs → chunk-EJTVYJP7.cjs} +17 -17
- package/dist/{chunk-L7QXTWI7.cjs.map → chunk-EJTVYJP7.cjs.map} +1 -1
- package/dist/{chunk-VUYRTI3Z.cjs → chunk-FINX7OPD.cjs} +18 -18
- package/dist/{chunk-VUYRTI3Z.cjs.map → chunk-FINX7OPD.cjs.map} +1 -1
- package/dist/{chunk-WI5LLFA6.cjs → chunk-GJ4PJJYG.cjs} +13 -13
- package/dist/{chunk-WI5LLFA6.cjs.map → chunk-GJ4PJJYG.cjs.map} +1 -1
- package/dist/{chunk-EYCF3GGM.js → chunk-GLTY7JGI.js} +5 -5
- package/dist/{chunk-VI35TSB2.js → chunk-I4WW7UOA.js} +3 -3
- package/dist/{chunk-SCRVQY42.js → chunk-L7XUR55A.js} +2 -2
- package/dist/{chunk-R6NU4QFR.js → chunk-MCRVTJOK.js} +2 -2
- package/dist/{chunk-O5GV3WQO.js → chunk-QADD2X7I.js} +2 -2
- package/dist/{chunk-YAF2JKAK.cjs → chunk-SCQORRX5.cjs} +51 -51
- package/dist/{chunk-YAF2JKAK.cjs.map → chunk-SCQORRX5.cjs.map} +1 -1
- package/dist/{chunk-OPY4JNY2.cjs → chunk-SHC4DU2E.cjs} +36 -36
- package/dist/{chunk-OPY4JNY2.cjs.map → chunk-SHC4DU2E.cjs.map} +1 -1
- package/dist/{chunk-QSYYYL55.cjs → chunk-STF6ITNW.cjs} +3 -3
- package/dist/{chunk-QSYYYL55.cjs.map → chunk-STF6ITNW.cjs.map} +1 -1
- package/dist/{chunk-W2WEIVHT.cjs → chunk-UPTG32KO.cjs} +36 -9
- package/dist/chunk-UPTG32KO.cjs.map +1 -0
- package/dist/{chunk-VN2U4EBP.cjs → chunk-V3UVCAJM.cjs} +33 -33
- package/dist/{chunk-VN2U4EBP.cjs.map → chunk-V3UVCAJM.cjs.map} +1 -1
- package/dist/{chunk-NIVLGQKS.js → chunk-WISMH2ER.js} +2 -2
- package/dist/{chunk-CYPLD5F3.js → chunk-WL2NCWYK.js} +2 -2
- package/dist/{chunk-ILAEMVAI.js → chunk-WMCJWEJX.js} +54 -27
- package/dist/{chunk-ILAEMVAI.js.map → chunk-WMCJWEJX.js.map} +1 -1
- package/dist/{chunk-CRDKQMTP.js → chunk-X6XAQDDM.js} +2 -2
- package/dist/{chunk-AAIL6J56.cjs → chunk-YLQZTPZF.cjs} +3 -3
- package/dist/{chunk-AAIL6J56.cjs.map → chunk-YLQZTPZF.cjs.map} +1 -1
- package/dist/{chunk-XSRIPH6U.cjs → chunk-ZLATHAXJ.cjs} +17 -17
- package/dist/{chunk-XSRIPH6U.cjs.map → chunk-ZLATHAXJ.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +11 -11
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/board/ticket-card.d.ts +8 -2
- package/dist/components/features/board/ticket-card.d.ts.map +1 -1
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +22 -22
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +31 -31
- package/dist/components/index.js +12 -12
- package/dist/components/meeting-scheduler/index.cjs +21 -21
- package/dist/components/meeting-scheduler/index.js +1 -1
- package/dist/components/navigation/index.cjs +5 -5
- package/dist/components/navigation/index.js +4 -4
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.js +5 -5
- package/package.json +1 -1
- package/src/__tests__/ticket-card-meta.test.tsx +39 -1
- package/src/components/features/board/.ticket-card.md +2 -2
- package/src/components/features/board/ticket-card.tsx +44 -9
- package/dist/chunk-W2WEIVHT.cjs.map +0 -1
- /package/dist/{chunk-ZDGEJFDG.js.map → chunk-46Q75EJ6.js.map} +0 -0
- /package/dist/{chunk-HQHZZ3SL.js.map → chunk-4GNH6Z7N.js.map} +0 -0
- /package/dist/{chunk-DDW7G6U7.js.map → chunk-6VT4TY34.js.map} +0 -0
- /package/dist/{chunk-JBRNIUYC.js.map → chunk-7OBHWW3T.js.map} +0 -0
- /package/dist/{chunk-V3B37LQY.js.map → chunk-CU5BDIAL.js.map} +0 -0
- /package/dist/{chunk-YVMSA7LR.js.map → chunk-DGG6ORNT.js.map} +0 -0
- /package/dist/{chunk-EYCF3GGM.js.map → chunk-GLTY7JGI.js.map} +0 -0
- /package/dist/{chunk-VI35TSB2.js.map → chunk-I4WW7UOA.js.map} +0 -0
- /package/dist/{chunk-SCRVQY42.js.map → chunk-L7XUR55A.js.map} +0 -0
- /package/dist/{chunk-R6NU4QFR.js.map → chunk-MCRVTJOK.js.map} +0 -0
- /package/dist/{chunk-O5GV3WQO.js.map → chunk-QADD2X7I.js.map} +0 -0
- /package/dist/{chunk-NIVLGQKS.js.map → chunk-WISMH2ER.js.map} +0 -0
- /package/dist/{chunk-CYPLD5F3.js.map → chunk-WL2NCWYK.js.map} +0 -0
- /package/dist/{chunk-CRDKQMTP.js.map → chunk-X6XAQDDM.js.map} +0 -0
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkDZ4W2JMAcjs = require('./chunk-DZ4W2JMA.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkSTF6ITNWcjs = require('./chunk-STF6ITNW.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk7HWZMCQEcjs = require('./chunk-7HWZMCQE.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -22,7 +22,7 @@ var _chunkIUNCGKFPcjs = require('./chunk-IUNCGKFP.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkUPTG32KOcjs = require('./chunk-UPTG32KO.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkVTYP25OWcjs = require('./chunk-VTYP25OW.cjs');
|
|
@@ -324,8 +324,8 @@ function toDocContent(value, requestedPath) {
|
|
|
324
324
|
}
|
|
325
325
|
function useDocumentTree(config, initialPath) {
|
|
326
326
|
const { structureEndpoint, contentEndpoint, baseRoute } = config;
|
|
327
|
-
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => (
|
|
328
|
-
const cleanInitialPath =
|
|
327
|
+
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkUPTG32KOcjs.DEFAULT_FOLDER_INDEX_FILE));
|
|
328
|
+
const cleanInitialPath = _chunkUPTG32KOcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
|
|
329
329
|
const [structure, setStructure] = _react.useState.call(void 0, []);
|
|
330
330
|
const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
|
|
331
331
|
const [content, setContent] = _react.useState.call(void 0, null);
|
|
@@ -349,12 +349,12 @@ function useDocumentTree(config, initialPath) {
|
|
|
349
349
|
} else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
|
|
350
350
|
pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
|
|
351
351
|
}
|
|
352
|
-
pathFromUrl =
|
|
352
|
+
pathFromUrl = _chunkUPTG32KOcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
|
|
353
353
|
if (pathFromUrl !== selectedPathRef.current) {
|
|
354
354
|
setSelectedPath(pathFromUrl);
|
|
355
355
|
if (pathFromUrl) {
|
|
356
356
|
const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
|
|
357
|
-
setExpandedNodes(new Set(
|
|
357
|
+
setExpandedNodes(new Set(_chunkUPTG32KOcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
358
358
|
}
|
|
359
359
|
setTimeout(() => {
|
|
360
360
|
scrollToContent();
|
|
@@ -372,7 +372,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
372
372
|
setSelectedPath(cleanInitialPath);
|
|
373
373
|
if (cleanInitialPath) {
|
|
374
374
|
const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
375
|
-
setExpandedNodes(new Set(
|
|
375
|
+
setExpandedNodes(new Set(_chunkUPTG32KOcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
376
376
|
}
|
|
377
377
|
setExternalNavCount((n) => n + 1);
|
|
378
378
|
}
|
|
@@ -397,7 +397,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
397
397
|
if (cleanInitialPath) {
|
|
398
398
|
const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
399
399
|
if (pathForExpansion) {
|
|
400
|
-
setExpandedNodes(new Set(
|
|
400
|
+
setExpandedNodes(new Set(_chunkUPTG32KOcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
|
|
401
401
|
}
|
|
402
402
|
} else if (nodes.length > 0) {
|
|
403
403
|
const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
|
|
@@ -437,7 +437,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
437
437
|
setContent(null);
|
|
438
438
|
return;
|
|
439
439
|
}
|
|
440
|
-
const probe =
|
|
440
|
+
const probe = _chunkUPTG32KOcjs.findDocNodeByPath.call(void 0, _chunkUPTG32KOcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
|
|
441
441
|
const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
|
|
442
442
|
const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
|
|
443
443
|
if (probeIsNoReadmeFolder || preStructureFolderLike) {
|
|
@@ -494,7 +494,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
494
494
|
if (selectedPath === "") {
|
|
495
495
|
pathToFetch = folderIndexFile;
|
|
496
496
|
} else {
|
|
497
|
-
const node =
|
|
497
|
+
const node = _chunkUPTG32KOcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
498
498
|
if (node && node.type === "folder" && !node.hasReadme) {
|
|
499
499
|
const firstDocPath = findFirstDocPath(node);
|
|
500
500
|
if (!firstDocPath) {
|
|
@@ -535,16 +535,16 @@ function useDocumentTree(config, initialPath) {
|
|
|
535
535
|
if (node.type === "folder") {
|
|
536
536
|
setExpandedNodes((prev) => {
|
|
537
537
|
if (prev.has(node.id)) {
|
|
538
|
-
const ancestorIds =
|
|
538
|
+
const ancestorIds = _chunkUPTG32KOcjs.getDocAncestorNodeIds.call(void 0, node.path);
|
|
539
539
|
ancestorIds.pop();
|
|
540
540
|
return new Set(ancestorIds);
|
|
541
541
|
}
|
|
542
|
-
return new Set(
|
|
542
|
+
return new Set(_chunkUPTG32KOcjs.getDocAncestorNodeIds.call(void 0, node.path));
|
|
543
543
|
});
|
|
544
544
|
} else {
|
|
545
545
|
const lastSlash = node.path.lastIndexOf("/");
|
|
546
546
|
if (lastSlash > 0) {
|
|
547
|
-
setExpandedNodes(new Set(
|
|
547
|
+
setExpandedNodes(new Set(_chunkUPTG32KOcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
lastFetchedPath.current = null;
|
|
@@ -559,7 +559,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
559
559
|
const hashIndex = path.indexOf("#");
|
|
560
560
|
const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
|
|
561
561
|
const cleanPath = path.replace(/\/$/, "").split("#")[0];
|
|
562
|
-
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current :
|
|
562
|
+
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkUPTG32KOcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
|
|
563
563
|
if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
|
|
564
564
|
_chunkTLLJIGTPcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkTLLJIGTPcjs.HUB_HEADER_OFFSET_PX });
|
|
565
565
|
return;
|
|
@@ -623,15 +623,15 @@ function useDocumentTree(config, initialPath) {
|
|
|
623
623
|
return docNavigation.register({
|
|
624
624
|
baseRoute: normalizedBaseRoute,
|
|
625
625
|
findNodeByPath: (path) => {
|
|
626
|
-
const clean =
|
|
627
|
-
return _nullishCoalesce(
|
|
626
|
+
const clean = _chunkUPTG32KOcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
|
|
627
|
+
return _nullishCoalesce(_chunkUPTG32KOcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
|
|
628
628
|
},
|
|
629
629
|
selectNode
|
|
630
630
|
});
|
|
631
631
|
}, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
|
|
632
632
|
const isEmptyFolder = _react.useMemo.call(void 0, () => {
|
|
633
633
|
if (!selectedPath || structure.length === 0) return false;
|
|
634
|
-
const node =
|
|
634
|
+
const node = _chunkUPTG32KOcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
635
635
|
return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
|
|
636
636
|
}, [selectedPath, structure]);
|
|
637
637
|
return {
|
|
@@ -767,7 +767,7 @@ function DocViewerContent({
|
|
|
767
767
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _16 => _16.label]), () => ( "Back to home")),
|
|
768
768
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _17 => _17.href]), () => ( "/")))
|
|
769
769
|
};
|
|
770
|
-
const docSearch =
|
|
770
|
+
const docSearch = _chunk7HWZMCQEcjs.useDocSearch.call(void 0, {
|
|
771
771
|
source: chatSource,
|
|
772
772
|
baseRoute,
|
|
773
773
|
searchEndpoint,
|
|
@@ -791,7 +791,7 @@ function DocViewerContent({
|
|
|
791
791
|
onResolveLink: resolveLink
|
|
792
792
|
});
|
|
793
793
|
}, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
|
|
794
|
-
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([
|
|
794
|
+
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkUPTG32KOcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _18 => _18.documentType]) : void 0;
|
|
795
795
|
const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _19 => _19.documentType]), () => ( selectedNodeDocType));
|
|
796
796
|
const isMarkdownContent = !activeDocType || activeDocType === "markdown";
|
|
797
797
|
const showStickyNav = isMarkdownContent;
|
|
@@ -802,9 +802,9 @@ function DocViewerContent({
|
|
|
802
802
|
const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
|
|
803
803
|
const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
|
|
804
804
|
const resolvedEmptyText = emptyStateText || defaultEmptyText;
|
|
805
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
805
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUPTG32KOcjs.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: [
|
|
806
806
|
showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
807
|
-
|
|
807
|
+
_chunk7HWZMCQEcjs.DocSearchBar,
|
|
808
808
|
{
|
|
809
809
|
placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _23 => _23.toLowerCase, 'call', _24 => _24()]) || "documents"}...`,
|
|
810
810
|
query: docSearch.query,
|
|
@@ -823,9 +823,9 @@ function DocViewerContent({
|
|
|
823
823
|
] })
|
|
824
824
|
] }) }),
|
|
825
825
|
!error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-start gap-6 lg:flex-row lg:gap-10", children: [
|
|
826
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full lg:w-[320px] lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "lg:sticky lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
826
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full lg:w-[320px] lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "lg:sticky lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUPTG32KOcjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
827
827
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
828
|
-
|
|
828
|
+
_chunkSTF6ITNWcjs.MobileNavigationDropdown,
|
|
829
829
|
{
|
|
830
830
|
nodes: structure,
|
|
831
831
|
selectedPath,
|
|
@@ -839,7 +839,7 @@ function DocViewerContent({
|
|
|
839
839
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentSidebar, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
840
840
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
|
|
841
841
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
842
|
-
|
|
842
|
+
_chunkSTF6ITNWcjs.MultiLevelNavigation,
|
|
843
843
|
{
|
|
844
844
|
nodes: structure,
|
|
845
845
|
selectedPath,
|
|
@@ -878,7 +878,7 @@ function DocViewerContent({
|
|
|
878
878
|
showStickyNav && content && stickyNavSections.length > 0 && !isLoadingContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-24", children: [
|
|
879
879
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "mb-4 font-semibold text-ods-text-secondary text-h5", children: "ON THIS PAGE" }),
|
|
880
880
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
881
|
-
|
|
881
|
+
_chunkSTF6ITNWcjs.StickySectionNav,
|
|
882
882
|
{
|
|
883
883
|
sections: stickyNavSections,
|
|
884
884
|
activeSection,
|
|
@@ -893,7 +893,7 @@ function DocViewerContent({
|
|
|
893
893
|
) })
|
|
894
894
|
] })
|
|
895
895
|
] }) }) });
|
|
896
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
896
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUPTG32KOcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
|
|
897
897
|
}
|
|
898
898
|
|
|
899
899
|
// src/components/docs/skeletons.tsx
|
|
@@ -983,11 +983,11 @@ function EmbedSkeleton({ documentType } = {}) {
|
|
|
983
983
|
|
|
984
984
|
var DEFAULT_TITLE = "Documents";
|
|
985
985
|
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" }) });
|
|
986
|
-
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
987
|
-
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
988
|
-
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
986
|
+
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDZ4W2JMAcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
987
|
+
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDZ4W2JMAcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
988
|
+
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUPTG32KOcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
|
|
989
989
|
var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
990
|
-
|
|
990
|
+
_chunkDZ4W2JMAcjs.FileDownloadCard,
|
|
991
991
|
{
|
|
992
992
|
fileName: content.fileName,
|
|
993
993
|
mimeType: content.mimeType,
|
|
@@ -1050,4 +1050,4 @@ function DocsHubPage({
|
|
|
1050
1050
|
|
|
1051
1051
|
|
|
1052
1052
|
exports.PersistentFilterControls = PersistentFilterControls; exports.PersistentSearchContainer = PersistentSearchContainer; exports.PersistentSidebar = PersistentSidebar; exports.PersistentMobileDropdown = PersistentMobileDropdown; exports.DocNavigationProvider = DocNavigationProvider; exports.useDocNavigation = useDocNavigation; exports.useDocumentTree = useDocumentTree; exports.useScrollSpy = useScrollSpy; exports.DocViewer = DocViewer; exports.MarkdownSkeleton = MarkdownSkeleton; exports.EmbedSkeleton = EmbedSkeleton; exports.DocsHubPage = DocsHubPage;
|
|
1053
|
-
//# sourceMappingURL=chunk-
|
|
1053
|
+
//# sourceMappingURL=chunk-V3UVCAJM.cjs.map
|