@flamingo-stack/openframe-frontend-core 0.0.581 → 0.0.582-1960.5386.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-R5JVRFSW.js → chunk-4KWAHIYA.js} +3 -3
- package/dist/{chunk-KAEVE7W2.js → chunk-646JEAY4.js} +2 -2
- package/dist/{chunk-GAHKWML7.js → chunk-6EUYXDV3.js} +6 -6
- package/dist/{chunk-HVSZYUGP.js → chunk-7HHRJTIY.js} +5 -5
- package/dist/{chunk-JW53WPB5.js → chunk-A3SVEK7A.js} +3 -3
- package/dist/{chunk-6U45VX5J.cjs → chunk-A5VD6R7N.cjs} +43 -43
- package/dist/{chunk-6U45VX5J.cjs.map → chunk-A5VD6R7N.cjs.map} +1 -1
- package/dist/{chunk-BTKMTVN5.cjs → chunk-ALSLHGBH.cjs} +4 -4
- package/dist/{chunk-BTKMTVN5.cjs.map → chunk-ALSLHGBH.cjs.map} +1 -1
- package/dist/{chunk-SEZ25E22.cjs → chunk-BQPCCBGO.cjs} +10 -10
- package/dist/{chunk-SEZ25E22.cjs.map → chunk-BQPCCBGO.cjs.map} +1 -1
- package/dist/{chunk-LWDIDSCF.js → chunk-BUOYMIFJ.js} +3 -3
- package/dist/{chunk-3GXNCJZI.js → chunk-CR7GPMCM.js} +3 -3
- package/dist/{chunk-U3W2ZVN4.cjs → chunk-DGZPX2G3.cjs} +159 -159
- package/dist/{chunk-U3W2ZVN4.cjs.map → chunk-DGZPX2G3.cjs.map} +1 -1
- package/dist/{chunk-PBRXT7TD.cjs → chunk-DQVM4FTL.cjs} +10 -10
- package/dist/{chunk-PBRXT7TD.cjs.map → chunk-DQVM4FTL.cjs.map} +1 -1
- package/dist/{chunk-HJVKPG55.js → chunk-F227VMPL.js} +125 -15
- package/dist/{chunk-HJVKPG55.js.map → chunk-F227VMPL.js.map} +1 -1
- package/dist/{chunk-EZVABFEO.js → chunk-FRWQ67UM.js} +2 -2
- package/dist/{chunk-DSPQVZFE.cjs → chunk-FYVL6A4Z.cjs} +24 -24
- package/dist/{chunk-DSPQVZFE.cjs.map → chunk-FYVL6A4Z.cjs.map} +1 -1
- package/dist/{chunk-VXUUSLD5.js → chunk-GD3OAM4T.js} +2 -2
- package/dist/{chunk-ESWXXWCL.js → chunk-HQF7VE7B.js} +2 -2
- package/dist/{chunk-VDRCKHML.cjs → chunk-J5I3TKAH.cjs} +3 -3
- package/dist/{chunk-VDRCKHML.cjs.map → chunk-J5I3TKAH.cjs.map} +1 -1
- package/dist/{chunk-GUC4JK6O.cjs → chunk-K5SCFOD5.cjs} +9 -9
- package/dist/{chunk-GUC4JK6O.cjs.map → chunk-K5SCFOD5.cjs.map} +1 -1
- package/dist/{chunk-UKHM2S6I.cjs → chunk-KAOXOYRT.cjs} +15 -15
- package/dist/{chunk-UKHM2S6I.cjs.map → chunk-KAOXOYRT.cjs.map} +1 -1
- package/dist/{chunk-IHFQ5VVR.js → chunk-KBOBPKMU.js} +5 -5
- package/dist/{chunk-GMQEHDN2.cjs → chunk-L4E2TOSF.cjs} +5 -5
- package/dist/{chunk-GMQEHDN2.cjs.map → chunk-L4E2TOSF.cjs.map} +1 -1
- package/dist/{chunk-YU2UJPAT.cjs → chunk-LOJ5KQ6B.cjs} +466 -356
- package/dist/chunk-LOJ5KQ6B.cjs.map +1 -0
- package/dist/{chunk-M4KQWGEL.cjs → chunk-ORQQZQBB.cjs} +32 -32
- package/dist/{chunk-M4KQWGEL.cjs.map → chunk-ORQQZQBB.cjs.map} +1 -1
- package/dist/{chunk-ZEZMGXYV.js → chunk-QDSVTIO5.js} +5 -5
- package/dist/{chunk-KNBXZ22O.cjs → chunk-R3J2ERH2.cjs} +3 -3
- package/dist/{chunk-KNBXZ22O.cjs.map → chunk-R3J2ERH2.cjs.map} +1 -1
- package/dist/{chunk-WHFEG6UU.cjs → chunk-RMOUILHT.cjs} +22 -22
- package/dist/{chunk-WHFEG6UU.cjs.map → chunk-RMOUILHT.cjs.map} +1 -1
- package/dist/{chunk-OKA3DJJ3.js → chunk-SKGMU7TZ.js} +2 -2
- package/dist/{chunk-7CP5KY5W.js → chunk-SVQVAGZK.js} +3 -3
- package/dist/{chunk-W2TXSZTM.cjs → chunk-T32XVOFP.cjs} +21 -21
- package/dist/{chunk-W2TXSZTM.cjs.map → chunk-T32XVOFP.cjs.map} +1 -1
- package/dist/{chunk-GVM37TRU.js → chunk-U2ZRM3YB.js} +4 -4
- package/dist/{chunk-AIALG25H.cjs → chunk-WQ236GO3.cjs} +69 -69
- package/dist/{chunk-AIALG25H.cjs.map → chunk-WQ236GO3.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +9 -9
- 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/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 +5 -3
- package/dist/components/features/index.cjs.map +1 -1
- package/dist/components/features/index.js +4 -2
- package/dist/components/features/video.d.ts +12 -0
- package/dist/components/features/video.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +23 -23
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +123 -121
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +15 -13
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +21 -21
- 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 +9 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/features/__tests__/video-playback-failure.test.tsx +250 -0
- package/src/components/features/video.tsx +198 -16
- package/dist/chunk-YU2UJPAT.cjs.map +0 -1
- /package/dist/{chunk-R5JVRFSW.js.map → chunk-4KWAHIYA.js.map} +0 -0
- /package/dist/{chunk-KAEVE7W2.js.map → chunk-646JEAY4.js.map} +0 -0
- /package/dist/{chunk-GAHKWML7.js.map → chunk-6EUYXDV3.js.map} +0 -0
- /package/dist/{chunk-HVSZYUGP.js.map → chunk-7HHRJTIY.js.map} +0 -0
- /package/dist/{chunk-JW53WPB5.js.map → chunk-A3SVEK7A.js.map} +0 -0
- /package/dist/{chunk-LWDIDSCF.js.map → chunk-BUOYMIFJ.js.map} +0 -0
- /package/dist/{chunk-3GXNCJZI.js.map → chunk-CR7GPMCM.js.map} +0 -0
- /package/dist/{chunk-EZVABFEO.js.map → chunk-FRWQ67UM.js.map} +0 -0
- /package/dist/{chunk-VXUUSLD5.js.map → chunk-GD3OAM4T.js.map} +0 -0
- /package/dist/{chunk-ESWXXWCL.js.map → chunk-HQF7VE7B.js.map} +0 -0
- /package/dist/{chunk-IHFQ5VVR.js.map → chunk-KBOBPKMU.js.map} +0 -0
- /package/dist/{chunk-ZEZMGXYV.js.map → chunk-QDSVTIO5.js.map} +0 -0
- /package/dist/{chunk-OKA3DJJ3.js.map → chunk-SKGMU7TZ.js.map} +0 -0
- /package/dist/{chunk-7CP5KY5W.js.map → chunk-SVQVAGZK.js.map} +0 -0
- /package/dist/{chunk-GVM37TRU.js.map → chunk-U2ZRM3YB.js.map} +0 -0
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkALSLHGBHcjs = require('./chunk-ALSLHGBH.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkJ5I3TKAHcjs = require('./chunk-J5I3TKAH.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkK5SCFOD5cjs = require('./chunk-K5SCFOD5.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -21,7 +21,7 @@ var _chunkGUC4JK6Ocjs = require('./chunk-GUC4JK6O.cjs');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkDGZPX2G3cjs = require('./chunk-DGZPX2G3.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunkLEISUAHFcjs = require('./chunk-LEISUAHF.cjs');
|
|
@@ -1119,8 +1119,8 @@ function toDocContent(value, requestedPath) {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
function useDocumentTree(config, initialPath) {
|
|
1121
1121
|
const { structureEndpoint, contentEndpoint, baseRoute } = config;
|
|
1122
|
-
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => (
|
|
1123
|
-
const cleanInitialPath =
|
|
1122
|
+
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkDGZPX2G3cjs.DEFAULT_FOLDER_INDEX_FILE));
|
|
1123
|
+
const cleanInitialPath = _chunkDGZPX2G3cjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
|
|
1124
1124
|
const [structure, setStructure] = _react.useState.call(void 0, []);
|
|
1125
1125
|
const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
|
|
1126
1126
|
const [content, setContent] = _react.useState.call(void 0, null);
|
|
@@ -1144,12 +1144,12 @@ function useDocumentTree(config, initialPath) {
|
|
|
1144
1144
|
} else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
|
|
1145
1145
|
pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
|
|
1146
1146
|
}
|
|
1147
|
-
pathFromUrl =
|
|
1147
|
+
pathFromUrl = _chunkDGZPX2G3cjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
|
|
1148
1148
|
if (pathFromUrl !== selectedPathRef.current) {
|
|
1149
1149
|
setSelectedPath(pathFromUrl);
|
|
1150
1150
|
if (pathFromUrl) {
|
|
1151
1151
|
const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
|
|
1152
|
-
setExpandedNodes(new Set(
|
|
1152
|
+
setExpandedNodes(new Set(_chunkDGZPX2G3cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
1153
1153
|
}
|
|
1154
1154
|
setTimeout(() => {
|
|
1155
1155
|
scrollToContent();
|
|
@@ -1167,7 +1167,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
1167
1167
|
setSelectedPath(cleanInitialPath);
|
|
1168
1168
|
if (cleanInitialPath) {
|
|
1169
1169
|
const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
1170
|
-
setExpandedNodes(new Set(
|
|
1170
|
+
setExpandedNodes(new Set(_chunkDGZPX2G3cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
1171
1171
|
}
|
|
1172
1172
|
setExternalNavCount((n) => n + 1);
|
|
1173
1173
|
}
|
|
@@ -1192,7 +1192,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
1192
1192
|
if (cleanInitialPath) {
|
|
1193
1193
|
const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
1194
1194
|
if (pathForExpansion) {
|
|
1195
|
-
setExpandedNodes(new Set(
|
|
1195
|
+
setExpandedNodes(new Set(_chunkDGZPX2G3cjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
|
|
1196
1196
|
}
|
|
1197
1197
|
} else if (nodes.length > 0) {
|
|
1198
1198
|
const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
|
|
@@ -1232,7 +1232,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
1232
1232
|
setContent(null);
|
|
1233
1233
|
return;
|
|
1234
1234
|
}
|
|
1235
|
-
const probe =
|
|
1235
|
+
const probe = _chunkDGZPX2G3cjs.findDocNodeByPath.call(void 0, _chunkDGZPX2G3cjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
|
|
1236
1236
|
const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
|
|
1237
1237
|
const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
|
|
1238
1238
|
if (probeIsNoReadmeFolder || preStructureFolderLike) {
|
|
@@ -1289,7 +1289,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
1289
1289
|
if (selectedPath === "") {
|
|
1290
1290
|
pathToFetch = folderIndexFile;
|
|
1291
1291
|
} else {
|
|
1292
|
-
const node =
|
|
1292
|
+
const node = _chunkDGZPX2G3cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
1293
1293
|
if (node && node.type === "folder" && !node.hasReadme) {
|
|
1294
1294
|
const firstDocPath = findFirstDocPath(node);
|
|
1295
1295
|
if (!firstDocPath) {
|
|
@@ -1330,16 +1330,16 @@ function useDocumentTree(config, initialPath) {
|
|
|
1330
1330
|
if (node.type === "folder") {
|
|
1331
1331
|
setExpandedNodes((prev) => {
|
|
1332
1332
|
if (prev.has(node.id)) {
|
|
1333
|
-
const ancestorIds =
|
|
1333
|
+
const ancestorIds = _chunkDGZPX2G3cjs.getDocAncestorNodeIds.call(void 0, node.path);
|
|
1334
1334
|
ancestorIds.pop();
|
|
1335
1335
|
return new Set(ancestorIds);
|
|
1336
1336
|
}
|
|
1337
|
-
return new Set(
|
|
1337
|
+
return new Set(_chunkDGZPX2G3cjs.getDocAncestorNodeIds.call(void 0, node.path));
|
|
1338
1338
|
});
|
|
1339
1339
|
} else {
|
|
1340
1340
|
const lastSlash = node.path.lastIndexOf("/");
|
|
1341
1341
|
if (lastSlash > 0) {
|
|
1342
|
-
setExpandedNodes(new Set(
|
|
1342
|
+
setExpandedNodes(new Set(_chunkDGZPX2G3cjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
lastFetchedPath.current = null;
|
|
@@ -1354,7 +1354,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
1354
1354
|
const hashIndex = path.indexOf("#");
|
|
1355
1355
|
const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
|
|
1356
1356
|
const cleanPath = path.replace(/\/$/, "").split("#")[0];
|
|
1357
|
-
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current :
|
|
1357
|
+
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkDGZPX2G3cjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
|
|
1358
1358
|
if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
|
|
1359
1359
|
_chunkZI27ALYXcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkZI27ALYXcjs.HUB_HEADER_OFFSET_PX });
|
|
1360
1360
|
return;
|
|
@@ -1418,15 +1418,15 @@ function useDocumentTree(config, initialPath) {
|
|
|
1418
1418
|
return docNavigation.register({
|
|
1419
1419
|
baseRoute: normalizedBaseRoute,
|
|
1420
1420
|
findNodeByPath: (path) => {
|
|
1421
|
-
const clean =
|
|
1422
|
-
return _nullishCoalesce(
|
|
1421
|
+
const clean = _chunkDGZPX2G3cjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
|
|
1422
|
+
return _nullishCoalesce(_chunkDGZPX2G3cjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
|
|
1423
1423
|
},
|
|
1424
1424
|
selectNode
|
|
1425
1425
|
});
|
|
1426
1426
|
}, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
|
|
1427
1427
|
const isEmptyFolder = _react.useMemo.call(void 0, () => {
|
|
1428
1428
|
if (!selectedPath || structure.length === 0) return false;
|
|
1429
|
-
const node =
|
|
1429
|
+
const node = _chunkDGZPX2G3cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
1430
1430
|
return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
|
|
1431
1431
|
}, [selectedPath, structure]);
|
|
1432
1432
|
return {
|
|
@@ -1562,7 +1562,7 @@ function DocViewerContent({
|
|
|
1562
1562
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _16 => _16.label]), () => ( "Back to home")),
|
|
1563
1563
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _17 => _17.href]), () => ( "/")))
|
|
1564
1564
|
};
|
|
1565
|
-
const docSearch =
|
|
1565
|
+
const docSearch = _chunkK5SCFOD5cjs.useDocSearch.call(void 0, {
|
|
1566
1566
|
source: chatSource,
|
|
1567
1567
|
baseRoute,
|
|
1568
1568
|
searchEndpoint,
|
|
@@ -1586,7 +1586,7 @@ function DocViewerContent({
|
|
|
1586
1586
|
onResolveLink: resolveLink
|
|
1587
1587
|
});
|
|
1588
1588
|
}, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
|
|
1589
|
-
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([
|
|
1589
|
+
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkDGZPX2G3cjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _18 => _18.documentType]) : void 0;
|
|
1590
1590
|
const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _19 => _19.documentType]), () => ( selectedNodeDocType));
|
|
1591
1591
|
const isMarkdownContent = !activeDocType || activeDocType === "markdown";
|
|
1592
1592
|
const showStickyNav = isMarkdownContent;
|
|
@@ -1597,9 +1597,9 @@ function DocViewerContent({
|
|
|
1597
1597
|
const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
|
|
1598
1598
|
const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
|
|
1599
1599
|
const resolvedEmptyText = emptyStateText || defaultEmptyText;
|
|
1600
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1600
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGZPX2G3cjs.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: [
|
|
1601
1601
|
showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1602
|
-
|
|
1602
|
+
_chunkK5SCFOD5cjs.DocSearchBar,
|
|
1603
1603
|
{
|
|
1604
1604
|
placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _23 => _23.toLowerCase, 'call', _24 => _24()]) || "documents"}...`,
|
|
1605
1605
|
query: docSearch.query,
|
|
@@ -1620,7 +1620,7 @@ function DocViewerContent({
|
|
|
1620
1620
|
!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: [
|
|
1621
1621
|
/* @__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, CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1622
1622
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1623
|
-
|
|
1623
|
+
_chunkJ5I3TKAHcjs.MobileNavigationDropdown,
|
|
1624
1624
|
{
|
|
1625
1625
|
nodes: structure,
|
|
1626
1626
|
selectedPath,
|
|
@@ -1634,7 +1634,7 @@ function DocViewerContent({
|
|
|
1634
1634
|
/* @__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: [
|
|
1635
1635
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
|
|
1636
1636
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1637
|
-
|
|
1637
|
+
_chunkJ5I3TKAHcjs.MultiLevelNavigation,
|
|
1638
1638
|
{
|
|
1639
1639
|
nodes: structure,
|
|
1640
1640
|
selectedPath,
|
|
@@ -1673,7 +1673,7 @@ function DocViewerContent({
|
|
|
1673
1673
|
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: [
|
|
1674
1674
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "mb-4 font-semibold text-ods-text-secondary text-h5", children: "ON THIS PAGE" }),
|
|
1675
1675
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1676
|
-
|
|
1676
|
+
_chunkJ5I3TKAHcjs.StickySectionNav,
|
|
1677
1677
|
{
|
|
1678
1678
|
sections: stickyNavSections,
|
|
1679
1679
|
activeSection,
|
|
@@ -1688,7 +1688,7 @@ function DocViewerContent({
|
|
|
1688
1688
|
) })
|
|
1689
1689
|
] })
|
|
1690
1690
|
] }) }) });
|
|
1691
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1691
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGZPX2G3cjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
|
|
1692
1692
|
}
|
|
1693
1693
|
|
|
1694
1694
|
// src/components/docs/skeletons.tsx
|
|
@@ -1778,11 +1778,11 @@ function EmbedSkeleton({ documentType } = {}) {
|
|
|
1778
1778
|
|
|
1779
1779
|
var DEFAULT_TITLE = "Documents";
|
|
1780
1780
|
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" }) });
|
|
1781
|
-
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1782
|
-
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1783
|
-
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1781
|
+
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALSLHGBHcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
1782
|
+
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALSLHGBHcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
1783
|
+
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGZPX2G3cjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
|
|
1784
1784
|
var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1785
|
-
|
|
1785
|
+
_chunkALSLHGBHcjs.FileDownloadCard,
|
|
1786
1786
|
{
|
|
1787
1787
|
fileName: content.fileName,
|
|
1788
1788
|
mimeType: content.mimeType,
|
|
@@ -1864,4 +1864,4 @@ function DocsHubPage({
|
|
|
1864
1864
|
|
|
1865
1865
|
|
|
1866
1866
|
exports.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.CardSkeleton = CardSkeleton; exports.CardSkeletonGrid = CardSkeletonGrid; exports.AnnouncementBarSkeleton = AnnouncementBarSkeleton; exports.HeroSkeleton = HeroSkeleton; exports.SearchContainerSkeleton = SearchContainerSkeleton; exports.CategorySidebarSkeleton = CategorySidebarSkeleton; exports.BreadcrumbSkeleton = BreadcrumbSkeleton; exports.ResultsHeaderSkeleton = ResultsHeaderSkeleton; exports.TwoColumnLayoutSkeleton = TwoColumnLayoutSkeleton; exports.ArticleLayoutSkeleton = ArticleLayoutSkeleton; exports.VendorDetailLayoutSkeleton = VendorDetailLayoutSkeleton; exports.StatsSectionSkeleton = StatsSectionSkeleton; exports.BlogCardGridSkeleton = BlogCardGridSkeleton; exports.VendorGridSkeleton = VendorGridSkeleton; exports.SlackCommunitySkeleton = SlackCommunitySkeleton; 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;
|
|
1867
|
-
//# sourceMappingURL=chunk-
|
|
1867
|
+
//# sourceMappingURL=chunk-ORQQZQBB.cjs.map
|