@flamingo-stack/openframe-frontend-core 0.0.766 → 0.0.767
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-NJMZ3N7Q.cjs → chunk-7TJVYRHR.cjs} +5 -5
- package/dist/{chunk-X7ECVSVN.cjs → chunk-7ZU3AVEX.cjs} +11 -11
- package/dist/{chunk-F7R3U5EN.cjs → chunk-BXMDLQUA.cjs} +2 -2
- package/dist/{chunk-VRDHAR3X.cjs → chunk-FVH53QZJ.cjs} +100 -88
- package/dist/{chunk-7XFVUUVZ.cjs → chunk-GJ5DHDFQ.cjs} +2 -2
- package/dist/{chunk-JKQVKWLB.cjs → chunk-GQ7RGD4Y.cjs} +43 -43
- package/dist/{chunk-K3IHNXR4.cjs → chunk-I7A5MPXA.cjs} +3 -3
- package/dist/{chunk-VYYLYZUC.cjs → chunk-IKXUJUXC.cjs} +2 -2
- package/dist/{chunk-7VI7TOGI.cjs → chunk-JBJVUQVH.cjs} +134 -96
- package/dist/{chunk-JGWN6GH5.cjs → chunk-KHISVNNH.cjs} +4 -4
- package/dist/{chunk-WO3XO27C.cjs → chunk-M2UU3CWX.cjs} +3 -3
- package/dist/{chunk-INI4ADPT.cjs → chunk-MNIMYGFR.cjs} +13 -13
- package/dist/{chunk-NF3PBWDJ.cjs → chunk-NO2DEFAP.cjs} +43 -43
- package/dist/{chunk-UW7UWUZU.cjs → chunk-TPOLNGOW.cjs} +35 -35
- package/dist/{chunk-HNQRY6RU.cjs → chunk-UHDBMKJB.cjs} +3 -3
- package/dist/{chunk-7U3ELNGC.cjs → chunk-WEPIWJGR.cjs} +10 -10
- package/dist/{chunk-RTBYQWAV.cjs → chunk-XIXR6BHI.cjs} +27 -27
- package/dist/{cloud-tenants-U2KMEIO7.cjs → cloud-tenants-WXK5RDSY.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +13 -13
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +18 -4
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/rich-markdown-runtime.d.ts +4 -1
- package/dist/components/embeds/rich-markdown-runtime.d.ts.map +1 -1
- package/dist/components/embeds/rich-markdown-runtime.js +6 -5
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/walkthrough-video.d.ts.map +1 -1
- package/dist/components/features/walkthrough-video.js +3 -1
- package/dist/components/help-center-pages/index.cjs +58 -58
- package/dist/components/index.cjs +33 -33
- package/dist/components/meeting-scheduler/index.cjs +24 -24
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/product-demo/index.cjs +12 -12
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/markdown/rich/embed-overrides.d.ts.map +1 -1
- package/dist/components/ui/markdown/rich/embed-overrides.js +10 -1
- package/dist/{devices-2D3XSIIE.cjs → devices-UHHHTCJF.cjs} +4 -4
- package/dist/index.cjs +9 -7
- package/dist/{knowledge-AJ36PMK2.cjs → knowledge-TJKHM7W4.cjs} +3 -3
- package/dist/{logs-DNE44ACE.cjs → logs-B3KCCMPE.cjs} +11 -11
- package/dist/{policies-AJHSP6ZY.cjs → policies-ZTUIXSYZ.cjs} +7 -7
- package/dist/{scripts-4YO2QL36.cjs → scripts-FIFAHBS6.cjs} +8 -8
- package/dist/{software-update-KMI2EOO3.cjs → software-update-62PLASQU.cjs} +6 -6
- package/dist/utils/after-page-load.d.ts +8 -0
- package/dist/utils/after-page-load.d.ts.map +1 -0
- package/dist/utils/after-page-load.js +24 -0
- package/dist/utils/index.cjs +24 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/package.json +1 -1
- package/src/components/chat/index.ts +22 -5
- package/src/components/embeds/rich-markdown-runtime.tsx +10 -6
- package/src/components/features/walkthrough-video.tsx +8 -1
- package/src/components/ui/markdown/rich/embed-overrides.tsx +11 -1
- package/src/utils/after-page-load.ts +30 -0
- package/src/utils/index.ts +1 -0
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkM2UU3CWXcjs = require('./chunk-M2UU3CWX.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkIKXUJUXCcjs = require('./chunk-IKXUJUXC.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkGJ5DHDFQcjs = require('./chunk-GJ5DHDFQ.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkFVH53QZJcjs = require('./chunk-FVH53QZJ.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunkZV45VS6Kcjs = require('./chunk-ZV45VS6K.cjs');
|
|
@@ -29,7 +29,7 @@ var _chunkZV45VS6Kcjs = require('./chunk-ZV45VS6K.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkJBJVUQVHcjs = require('./chunk-JBJVUQVH.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
@@ -354,13 +354,13 @@ function toDocContent(value, requestedPath) {
|
|
|
354
354
|
function toDataSync(value) {
|
|
355
355
|
if (!isRecord(value)) return void 0;
|
|
356
356
|
const source = readString(value, "source");
|
|
357
|
-
if (!
|
|
357
|
+
if (!_chunkFVH53QZJcjs.isDataSyncSource.call(void 0, source)) return void 0;
|
|
358
358
|
return { source, syncedAt: _nullishCoalesce(readString(value, "syncedAt"), () => ( null)) };
|
|
359
359
|
}
|
|
360
360
|
function useDocumentTree(config, initialPath) {
|
|
361
361
|
const { structureEndpoint, contentEndpoint, baseRoute } = config;
|
|
362
|
-
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => (
|
|
363
|
-
const cleanInitialPath =
|
|
362
|
+
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkJBJVUQVHcjs.DEFAULT_FOLDER_INDEX_FILE));
|
|
363
|
+
const cleanInitialPath = _chunkJBJVUQVHcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
|
|
364
364
|
const [structure, setStructure] = _react.useState.call(void 0, []);
|
|
365
365
|
const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
|
|
366
366
|
const [content, setContent] = _react.useState.call(void 0, null);
|
|
@@ -386,12 +386,12 @@ function useDocumentTree(config, initialPath) {
|
|
|
386
386
|
} else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
|
|
387
387
|
pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
|
|
388
388
|
}
|
|
389
|
-
pathFromUrl =
|
|
389
|
+
pathFromUrl = _chunkJBJVUQVHcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
|
|
390
390
|
if (pathFromUrl !== selectedPathRef.current) {
|
|
391
391
|
setSelectedPath(pathFromUrl);
|
|
392
392
|
if (pathFromUrl) {
|
|
393
393
|
const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
|
|
394
|
-
setExpandedNodes(new Set(
|
|
394
|
+
setExpandedNodes(new Set(_chunkJBJVUQVHcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
395
395
|
}
|
|
396
396
|
setTimeout(() => {
|
|
397
397
|
scrollToContent();
|
|
@@ -409,7 +409,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
409
409
|
setSelectedPath(cleanInitialPath);
|
|
410
410
|
if (cleanInitialPath) {
|
|
411
411
|
const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
412
|
-
setExpandedNodes(new Set(
|
|
412
|
+
setExpandedNodes(new Set(_chunkJBJVUQVHcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
413
413
|
}
|
|
414
414
|
setExternalNavCount((n) => n + 1);
|
|
415
415
|
}
|
|
@@ -434,7 +434,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
434
434
|
if (cleanInitialPath) {
|
|
435
435
|
const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
436
436
|
if (pathForExpansion) {
|
|
437
|
-
setExpandedNodes(new Set(
|
|
437
|
+
setExpandedNodes(new Set(_chunkJBJVUQVHcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
|
|
438
438
|
}
|
|
439
439
|
} else if (nodes.length > 0) {
|
|
440
440
|
const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
|
|
@@ -474,7 +474,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
474
474
|
setContent(null);
|
|
475
475
|
return;
|
|
476
476
|
}
|
|
477
|
-
const probe =
|
|
477
|
+
const probe = _chunkJBJVUQVHcjs.findDocNodeByPath.call(void 0, _chunkJBJVUQVHcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
|
|
478
478
|
const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
|
|
479
479
|
const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
|
|
480
480
|
if (probeIsNoReadmeFolder || preStructureFolderLike) {
|
|
@@ -533,7 +533,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
533
533
|
if (selectedPath === "") {
|
|
534
534
|
pathToFetch = folderIndexFile;
|
|
535
535
|
} else {
|
|
536
|
-
const node =
|
|
536
|
+
const node = _chunkJBJVUQVHcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
537
537
|
if (node && node.type === "folder" && !node.hasReadme) {
|
|
538
538
|
const firstDocPath = findFirstDocPath(node);
|
|
539
539
|
if (!firstDocPath) {
|
|
@@ -574,16 +574,16 @@ function useDocumentTree(config, initialPath) {
|
|
|
574
574
|
if (node.type === "folder") {
|
|
575
575
|
setExpandedNodes((prev) => {
|
|
576
576
|
if (prev.has(node.id)) {
|
|
577
|
-
const ancestorIds =
|
|
577
|
+
const ancestorIds = _chunkJBJVUQVHcjs.getDocAncestorNodeIds.call(void 0, node.path);
|
|
578
578
|
ancestorIds.pop();
|
|
579
579
|
return new Set(ancestorIds);
|
|
580
580
|
}
|
|
581
|
-
return new Set(
|
|
581
|
+
return new Set(_chunkJBJVUQVHcjs.getDocAncestorNodeIds.call(void 0, node.path));
|
|
582
582
|
});
|
|
583
583
|
} else {
|
|
584
584
|
const lastSlash = node.path.lastIndexOf("/");
|
|
585
585
|
if (lastSlash > 0) {
|
|
586
|
-
setExpandedNodes(new Set(
|
|
586
|
+
setExpandedNodes(new Set(_chunkJBJVUQVHcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
lastFetchedPath.current = null;
|
|
@@ -598,7 +598,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
598
598
|
const hashIndex = path.indexOf("#");
|
|
599
599
|
const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
|
|
600
600
|
const cleanPath = path.replace(/\/$/, "").split("#")[0];
|
|
601
|
-
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current :
|
|
601
|
+
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkJBJVUQVHcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
|
|
602
602
|
if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
|
|
603
603
|
_chunkXXJL5GY3cjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkXXJL5GY3cjs.HUB_HEADER_OFFSET_PX });
|
|
604
604
|
return;
|
|
@@ -662,15 +662,15 @@ function useDocumentTree(config, initialPath) {
|
|
|
662
662
|
return docNavigation.register({
|
|
663
663
|
baseRoute: normalizedBaseRoute,
|
|
664
664
|
findNodeByPath: (path) => {
|
|
665
|
-
const clean =
|
|
666
|
-
return _nullishCoalesce(
|
|
665
|
+
const clean = _chunkJBJVUQVHcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
|
|
666
|
+
return _nullishCoalesce(_chunkJBJVUQVHcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
|
|
667
667
|
},
|
|
668
668
|
selectNode
|
|
669
669
|
});
|
|
670
670
|
}, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
|
|
671
671
|
const isEmptyFolder = _react.useMemo.call(void 0, () => {
|
|
672
672
|
if (!selectedPath || structure.length === 0) return false;
|
|
673
|
-
const node =
|
|
673
|
+
const node = _chunkJBJVUQVHcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
674
674
|
return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
|
|
675
675
|
}, [selectedPath, structure]);
|
|
676
676
|
return {
|
|
@@ -753,14 +753,14 @@ function DocViewerContent({
|
|
|
753
753
|
},
|
|
754
754
|
docPath
|
|
755
755
|
);
|
|
756
|
-
const { activeSection, handleSectionClick } =
|
|
756
|
+
const { activeSection, handleSectionClick } = _chunkIKXUJUXCcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
|
|
757
757
|
const docNav = useDocNavigation();
|
|
758
758
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
759
759
|
const backCfg = backButton === false ? null : {
|
|
760
760
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
|
|
761
761
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
|
|
762
762
|
};
|
|
763
|
-
const docSearch =
|
|
763
|
+
const docSearch = _chunkGJ5DHDFQcjs.useDocSearch.call(void 0, {
|
|
764
764
|
source: chatSource,
|
|
765
765
|
baseRoute,
|
|
766
766
|
searchEndpoint,
|
|
@@ -784,7 +784,7 @@ function DocViewerContent({
|
|
|
784
784
|
onResolveLink: resolveLink
|
|
785
785
|
});
|
|
786
786
|
}, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
|
|
787
|
-
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([
|
|
787
|
+
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkJBJVUQVHcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
|
|
788
788
|
const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _15 => _15.documentType]), () => ( selectedNodeDocType));
|
|
789
789
|
const isMarkdownContent = !activeDocType || activeDocType === "markdown";
|
|
790
790
|
const showStickyNav = isMarkdownContent;
|
|
@@ -796,9 +796,9 @@ function DocViewerContent({
|
|
|
796
796
|
const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
|
|
797
797
|
const resolvedEmptyText = emptyStateText || defaultEmptyText;
|
|
798
798
|
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZV45VS6Kcjs.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: [
|
|
799
|
-
synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
799
|
+
synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
|
|
800
800
|
showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
801
|
-
|
|
801
|
+
_chunkGJ5DHDFQcjs.DocSearchBar,
|
|
802
802
|
{
|
|
803
803
|
placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _20 => _20.toLowerCase, 'call', _21 => _21()]) || "documents"}...`,
|
|
804
804
|
query: docSearch.query,
|
|
@@ -819,7 +819,7 @@ function DocViewerContent({
|
|
|
819
819
|
!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: [
|
|
820
820
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: [
|
|
821
821
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
822
|
-
|
|
822
|
+
_chunkIKXUJUXCcjs.MobileNavigationDropdown,
|
|
823
823
|
{
|
|
824
824
|
nodes: structure,
|
|
825
825
|
selectedPath,
|
|
@@ -833,7 +833,7 @@ function DocViewerContent({
|
|
|
833
833
|
/* @__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: [
|
|
834
834
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
|
|
835
835
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
836
|
-
|
|
836
|
+
_chunkIKXUJUXCcjs.MultiLevelNavigation,
|
|
837
837
|
{
|
|
838
838
|
nodes: structure,
|
|
839
839
|
selectedPath,
|
|
@@ -872,7 +872,7 @@ function DocViewerContent({
|
|
|
872
872
|
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: [
|
|
873
873
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: ON_THIS_PAGE_HEADING_CLASS, children: ON_THIS_PAGE_LABEL }),
|
|
874
874
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
875
|
-
|
|
875
|
+
_chunkIKXUJUXCcjs.StickySectionNav,
|
|
876
876
|
{
|
|
877
877
|
sections: stickyNavSections,
|
|
878
878
|
activeSection,
|
|
@@ -887,7 +887,7 @@ function DocViewerContent({
|
|
|
887
887
|
) })
|
|
888
888
|
] })
|
|
889
889
|
] }) }) });
|
|
890
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
890
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
|
|
891
891
|
}
|
|
892
892
|
|
|
893
893
|
// src/components/docs/skeletons.tsx
|
|
@@ -949,7 +949,7 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
|
|
|
949
949
|
] }),
|
|
950
950
|
/* @__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, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-10 w-full flex-1 rounded content-sm:w-32 content-sm:flex-initial" }, i)) })
|
|
951
951
|
] }),
|
|
952
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
952
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.EmbedLoadingSkeleton, { region: false })
|
|
953
953
|
] });
|
|
954
954
|
}
|
|
955
955
|
|
|
@@ -957,11 +957,11 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
|
|
|
957
957
|
|
|
958
958
|
var DEFAULT_TITLE = "Documents";
|
|
959
959
|
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" }) });
|
|
960
|
-
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
961
|
-
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
962
|
-
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
960
|
+
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM2UU3CWXcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
961
|
+
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM2UU3CWXcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
962
|
+
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
|
|
963
963
|
var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
964
|
-
|
|
964
|
+
_chunkM2UU3CWXcjs.FileDownloadCard,
|
|
965
965
|
{
|
|
966
966
|
fileName: content.fileName,
|
|
967
967
|
mimeType: content.mimeType,
|
|
@@ -5,7 +5,7 @@ var _chunkXVFM6SJAcjs = require('./chunk-XVFM6SJA.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkJBJVUQVHcjs = require('./chunk-JBJVUQVH.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -141,14 +141,14 @@ function FaqAccordionSkeleton({
|
|
|
141
141
|
|
|
142
142
|
var PICK_ROOT_MARGIN = "600px";
|
|
143
143
|
function faqAskCardShown(assistant) {
|
|
144
|
-
return
|
|
144
|
+
return _chunkJBJVUQVHcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
|
|
145
145
|
}
|
|
146
146
|
function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
|
|
147
147
|
const { ref, inView } = _chunkXXJL5GY3cjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
|
|
148
148
|
const [reached, setReached] = _react.useState.call(void 0, false);
|
|
149
149
|
if (inView && !reached) setReached(true);
|
|
150
150
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
151
|
-
|
|
151
|
+
_chunkJBJVUQVHcjs.AssistantAskPrompts,
|
|
152
152
|
{
|
|
153
153
|
variant: "card",
|
|
154
154
|
topic,
|
|
@@ -5,7 +5,7 @@ var _chunkYRFWOJF4cjs = require('./chunk-YRFWOJF4.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkUHDBMKJBcjs = require('./chunk-UHDBMKJB.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -15,13 +15,13 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkFVH53QZJcjs = require('./chunk-FVH53QZJ.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkZV45VS6Kcjs = require('./chunk-ZV45VS6K.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkJBJVUQVHcjs = require('./chunk-JBJVUQVH.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -106,7 +106,7 @@ function PageDataSyncProvider({
|
|
|
106
106
|
function PageDataSyncRow({ inline = false }) {
|
|
107
107
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
108
108
|
if (!context) return null;
|
|
109
|
-
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
109
|
+
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
|
|
110
110
|
return context.stated ? line : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: line });
|
|
111
111
|
}
|
|
112
112
|
function usePageDataSync(sync, loading) {
|
|
@@ -125,7 +125,7 @@ function usePageDataSync(sync, loading) {
|
|
|
125
125
|
// src/components/shared/dev-section/dev-section-view.tsx
|
|
126
126
|
|
|
127
127
|
function DevSectionView({ sectionKey, preControls, children, showHeading = true }) {
|
|
128
|
-
const section =
|
|
128
|
+
const section = _chunkJBJVUQVHcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
129
129
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
130
130
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
131
131
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -167,7 +167,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
167
167
|
preControls,
|
|
168
168
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
169
169
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
170
|
-
|
|
170
|
+
_chunkFVH53QZJcjs.SearchInput,
|
|
171
171
|
{
|
|
172
172
|
showDropdown: false,
|
|
173
173
|
placeholder: search.placeholder,
|
|
@@ -177,7 +177,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
177
177
|
}
|
|
178
178
|
),
|
|
179
179
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
180
|
-
|
|
180
|
+
_chunkFVH53QZJcjs.StatusFilterComponent,
|
|
181
181
|
{
|
|
182
182
|
selectedStatus: currentFilterValue,
|
|
183
183
|
onStatusChange: handleFilterChange,
|
|
@@ -202,7 +202,7 @@ function DevSectionPage({
|
|
|
202
202
|
shell = true
|
|
203
203
|
}) {
|
|
204
204
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
205
|
-
const section =
|
|
205
|
+
const section = _chunkJBJVUQVHcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
206
206
|
const backCfg = backButton === false ? void 0 : {
|
|
207
207
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
208
208
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -224,12 +224,12 @@ function DevSectionPage({
|
|
|
224
224
|
backButton: backCfg,
|
|
225
225
|
children: [
|
|
226
226
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
227
|
-
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
227
|
+
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUHDBMKJBcjs.FaqSection, { ..._chunkUHDBMKJBcjs.pageFaqProps.call(void 0, faq) })
|
|
228
228
|
]
|
|
229
229
|
}
|
|
230
230
|
)
|
|
231
231
|
);
|
|
232
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
232
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkIKXUJUXCcjs = require('./chunk-IKXUJUXC.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkBXMDLQUAcjs = require('./chunk-BXMDLQUA.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ var _chunkF7R3U5ENcjs = require('./chunk-F7R3U5EN.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkFVH53QZJcjs = require('./chunk-FVH53QZJ.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkRB7VLVMDcjs = require('./chunk-RB7VLVMD.cjs');
|
|
@@ -38,7 +38,7 @@ var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkJBJVUQVHcjs = require('./chunk-JBJVUQVH.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
@@ -192,7 +192,7 @@ function NavItemRow({
|
|
|
192
192
|
className
|
|
193
193
|
}) {
|
|
194
194
|
const label = navLinkLabel(link);
|
|
195
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
195
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
196
196
|
const singleLine = !link.description && !link.builtOn;
|
|
197
197
|
const rowClassName = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
198
198
|
ROW_CLASSES[variant],
|
|
@@ -580,7 +580,7 @@ function SiteHeader({
|
|
|
580
580
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
581
581
|
leading,
|
|
582
582
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
583
|
-
|
|
583
|
+
_chunkFVH53QZJcjs.HeaderButton,
|
|
584
584
|
{
|
|
585
585
|
className: "border-r border-ods-border lg:hidden",
|
|
586
586
|
onClick: mobile.onToggle,
|
|
@@ -606,7 +606,7 @@ function SiteHeader({
|
|
|
606
606
|
centerClassName: "justify-start pl-[var(--spacing-system-xlf)]",
|
|
607
607
|
cta: hasRight ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
608
608
|
mingo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
609
|
-
|
|
609
|
+
_chunkJBJVUQVHcjs.MingoAiButton,
|
|
610
610
|
{
|
|
611
611
|
source: mingo.source,
|
|
612
612
|
icon: mingo.icon,
|
|
@@ -708,7 +708,7 @@ function MobileNavSheetBody({
|
|
|
708
708
|
] }),
|
|
709
709
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-5", children: [
|
|
710
710
|
askAI && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
711
|
-
|
|
711
|
+
_chunkJBJVUQVHcjs.MingoAiButton,
|
|
712
712
|
{
|
|
713
713
|
variant: "field",
|
|
714
714
|
source: askAI.source,
|
|
@@ -886,7 +886,7 @@ function SiteFooter({
|
|
|
886
886
|
const columns = nav.footerColumns;
|
|
887
887
|
const accordion = columns.length > ACCORDION_OVER;
|
|
888
888
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
889
|
-
|
|
889
|
+
_chunkFVH53QZJcjs.SocialIconRow,
|
|
890
890
|
{
|
|
891
891
|
compact: true,
|
|
892
892
|
links: nav.brand.social.map((link) => ({
|
|
@@ -1164,7 +1164,7 @@ function SlidingSidebar({ config }) {
|
|
|
1164
1164
|
// src/components/navigation/page-section-bar.tsx
|
|
1165
1165
|
|
|
1166
1166
|
|
|
1167
|
-
var SECTION_BAR_HEIGHT_PX =
|
|
1167
|
+
var SECTION_BAR_HEIGHT_PX = _chunkIKXUJUXCcjs.STICKY_SECTION_NAV_HEIGHT_PX;
|
|
1168
1168
|
var PAGE_ANCHOR_SCROLL_MARGIN_CLASS = "scroll-mt-36";
|
|
1169
1169
|
var PAGE_ANCHOR_SCOPE_CLASS = "[&_[id]]:scroll-mt-36";
|
|
1170
1170
|
var PAGE_ANCHOR_GAP_PX = 16;
|
|
@@ -1192,21 +1192,21 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1192
1192
|
const sections = useRenderedSections(listed);
|
|
1193
1193
|
const inScope = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
1194
1194
|
const headerBottom = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, void 0, { stuckOnly: true });
|
|
1195
|
-
const { activeSection, handleSectionClick } =
|
|
1195
|
+
const { activeSection, handleSectionClick } = _chunkIKXUJUXCcjs.useScrollSpy.call(void 0, sections, {
|
|
1196
1196
|
syncHash: true,
|
|
1197
1197
|
aboveFirst: "none",
|
|
1198
1198
|
headerOffset: headerBottom + SECTION_BAR_HEIGHT_PX + PAGE_ANCHOR_GAP_PX
|
|
1199
1199
|
});
|
|
1200
1200
|
if (sections.length === 0 && !inScope) return null;
|
|
1201
1201
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1202
|
-
|
|
1202
|
+
_chunkFVH53QZJcjs.PageContainer,
|
|
1203
1203
|
{
|
|
1204
1204
|
as: "div",
|
|
1205
1205
|
backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
|
|
1206
1206
|
backgroundStyle: { top: headerBottom },
|
|
1207
1207
|
contentPadding: SECTION_BAR_INSET_CLASS,
|
|
1208
1208
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1209
|
-
|
|
1209
|
+
_chunkIKXUJUXCcjs.StickySectionNav,
|
|
1210
1210
|
{
|
|
1211
1211
|
orientation: "horizontal",
|
|
1212
1212
|
label,
|
|
@@ -1334,7 +1334,7 @@ var NavigationSidebarItemButton = _react.memo.call(void 0, function NavigationSi
|
|
|
1334
1334
|
_react.cloneElement.call(void 0, item.icon, {
|
|
1335
1335
|
color: isActive && !disabled ? "text-ods-accent" : "text-ods-text-secondary"
|
|
1336
1336
|
}),
|
|
1337
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1337
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.UnreadDot, { size: "fixed" })
|
|
1338
1338
|
] }),
|
|
1339
1339
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1340
1340
|
"span",
|
|
@@ -1627,7 +1627,7 @@ function HeaderGlobalSearch({
|
|
|
1627
1627
|
"form",
|
|
1628
1628
|
{
|
|
1629
1629
|
onSubmit: handleSubmit,
|
|
1630
|
-
...
|
|
1630
|
+
..._chunkJBJVUQVHcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
1631
1631
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
1632
1632
|
"flex h-full flex-1 items-center gap-2 px-3",
|
|
1633
1633
|
// Transparent so the cell inherits the bar's background
|
|
@@ -1752,16 +1752,16 @@ function HeaderOrganizationFilter({
|
|
|
1752
1752
|
// src/components/navigation/ticket-alerts-button.tsx
|
|
1753
1753
|
|
|
1754
1754
|
function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
1755
|
-
const live =
|
|
1755
|
+
const live = _chunkBXMDLQUAcjs.useOptionalTicketLive.call(void 0, );
|
|
1756
1756
|
if (!live || !live.authed || live.unreadTotal === 0) return null;
|
|
1757
1757
|
const targetId = live.nextUnreadTicketId;
|
|
1758
|
-
const target = targetId ?
|
|
1758
|
+
const target = targetId ? _chunkJBJVUQVHcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
1759
1759
|
const handleClick = () => {
|
|
1760
1760
|
if (onNavigate) onNavigate(target);
|
|
1761
1761
|
else window.location.assign(target);
|
|
1762
1762
|
};
|
|
1763
1763
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1764
|
-
|
|
1764
|
+
_chunkFVH53QZJcjs.HeaderButton,
|
|
1765
1765
|
{
|
|
1766
1766
|
icon: (
|
|
1767
1767
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -1771,7 +1771,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1771
1771
|
// existing while updates are unread — never by tinting the glyph.
|
|
1772
1772
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
1773
1773
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
1774
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1774
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
1775
1775
|
] })
|
|
1776
1776
|
),
|
|
1777
1777
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -1847,7 +1847,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1847
1847
|
leading: (
|
|
1848
1848
|
// Mobile: Burger Menu Button
|
|
1849
1849
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1850
|
-
|
|
1850
|
+
_chunkFVH53QZJcjs.HeaderButton,
|
|
1851
1851
|
{
|
|
1852
1852
|
onClick: onToggleMobileMenu,
|
|
1853
1853
|
isActive: isMobileMenuOpen,
|
|
@@ -1873,7 +1873,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1873
1873
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk65VVJSQZcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1874
1874
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1875
1875
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1876
|
-
|
|
1876
|
+
_chunkFVH53QZJcjs.HeaderButton,
|
|
1877
1877
|
{
|
|
1878
1878
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1879
1879
|
"aria-label": "Search",
|
|
@@ -1890,7 +1890,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1890
1890
|
className: _chunk65VVJSQZcjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1891
1891
|
}
|
|
1892
1892
|
),
|
|
1893
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1893
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.TimeTrackerHeaderButton, { disabled, className: _chunk65VVJSQZcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1894
1894
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1895
1895
|
NotificationsHeaderButton,
|
|
1896
1896
|
{
|
|
@@ -1910,7 +1910,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1910
1910
|
),
|
|
1911
1911
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkXIFEZ2JTcjs.DropdownMenu, { children: [
|
|
1912
1912
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIFEZ2JTcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1913
|
-
|
|
1913
|
+
_chunkFVH53QZJcjs.HeaderButton,
|
|
1914
1914
|
{
|
|
1915
1915
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1916
1916
|
_chunkJTSUAHDLcjs.SquareAvatar,
|
|
@@ -1995,12 +1995,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1995
1995
|
);
|
|
1996
1996
|
});
|
|
1997
1997
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1998
|
-
const ctx =
|
|
1998
|
+
const ctx = _chunkFVH53QZJcjs.useOptionalNotifications.call(void 0, );
|
|
1999
1999
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _56 => _56.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
2000
2000
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _57 => _57.isOpen]), () => ( false));
|
|
2001
2001
|
const onClick = _optionalChain([ctx, 'optionalAccess', _58 => _58.toggle]);
|
|
2002
2002
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2003
|
-
|
|
2003
|
+
_chunkFVH53QZJcjs.HeaderButton,
|
|
2004
2004
|
{
|
|
2005
2005
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCON36SEJcjs.BellIcon, { className: "h-6 w-6" }),
|
|
2006
2006
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2673,7 +2673,7 @@ function AppLayout({
|
|
|
2673
2673
|
}),
|
|
2674
2674
|
[]
|
|
2675
2675
|
);
|
|
2676
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2676
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
2677
2677
|
topBar,
|
|
2678
2678
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
2679
2679
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
|
|
@@ -2697,7 +2697,7 @@ function AppLayout({
|
|
|
2697
2697
|
disabled
|
|
2698
2698
|
}
|
|
2699
2699
|
),
|
|
2700
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2700
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.NotificationDrawer, {}),
|
|
2701
2701
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2702
2702
|
"div",
|
|
2703
2703
|
{
|
|
@@ -9,7 +9,7 @@ var _chunkSTEJZPIOcjs = require('./chunk-STEJZPIO.cjs');
|
|
|
9
9
|
var _chunkDKOLQPE7cjs = require('./chunk-DKOLQPE7.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkFVH53QZJcjs = require('./chunk-FVH53QZJ.cjs');
|
|
13
13
|
require('./chunk-MPTMT773.cjs');
|
|
14
14
|
require('./chunk-RB7VLVMD.cjs');
|
|
15
15
|
require('./chunk-ZV45VS6K.cjs');
|
|
@@ -22,7 +22,7 @@ require('./chunk-A6P6DHEZ.cjs');
|
|
|
22
22
|
require('./chunk-MZ4KBSH7.cjs');
|
|
23
23
|
require('./chunk-ZRDMGMY7.cjs');
|
|
24
24
|
require('./chunk-C42WIUH6.cjs');
|
|
25
|
-
require('./chunk-
|
|
25
|
+
require('./chunk-JBJVUQVH.cjs');
|
|
26
26
|
require('./chunk-YL6ZB2SR.cjs');
|
|
27
27
|
require('./chunk-GTONIRJU.cjs');
|
|
28
28
|
require('./chunk-RNLRS4ID.cjs');
|
|
@@ -1916,7 +1916,7 @@ var getHref = () => "#";
|
|
|
1916
1916
|
function CloudTenantsScreen(_props) {
|
|
1917
1917
|
const cast = _chunkSTEJZPIOcjs.useProductDemoCast.call(void 0, );
|
|
1918
1918
|
const fixture = _react.useMemo.call(void 0, () => buildCloudTenantsFixture(cast), [cast]);
|
|
1919
|
-
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1919
|
+
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.TenantsTableView, { rows: fixture.rows, getHref, now: fixture.now });
|
|
1920
1920
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg p-[var(--spacing-system-l)]", children: table });
|
|
1921
1921
|
}
|
|
1922
1922
|
|