@flamingo-stack/openframe-frontend-core 0.0.701-snapshot.20261005171139 → 0.0.701
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-CXDJUKC6.cjs → chunk-2CSYUMNM.cjs} +2 -2
- package/dist/{chunk-E3DH543A.cjs → chunk-4H5Q6MQG.cjs} +35 -35
- package/dist/{chunk-3WSFIV5G.cjs → chunk-65YVUYWJ.cjs} +32 -32
- package/dist/{chunk-UJJWTJ6S.js → chunk-6JG75WVO.js} +4 -4
- package/dist/{chunk-YGRHITPY.cjs → chunk-7ZDTAABP.cjs} +3 -3
- package/dist/{chunk-Z5HDCZAS.js → chunk-A5ZGKBN2.js} +1 -1
- package/dist/{chunk-CZ34HXDW.js → chunk-B7M6QEEM.js} +275 -661
- package/dist/{chunk-FHM7GD5B.cjs → chunk-BPS7JQCI.cjs} +2 -2
- package/dist/{chunk-LZNJH23A.cjs → chunk-BQ34PIFC.cjs} +3 -3
- package/dist/{chunk-AEQANLBW.cjs → chunk-BRQY2HKD.cjs} +17 -17
- package/dist/{chunk-ETFFEA3J.js → chunk-BZYMGI4L.js} +1 -1
- package/dist/{chunk-IZKOQVXO.js → chunk-CUPJCGLB.js} +1 -1
- package/dist/{chunk-QFW3RUZS.cjs → chunk-DG2I57UM.cjs} +16 -16
- package/dist/{chunk-HYFLTFFB.js → chunk-DJLZXJYB.js} +1 -1
- package/dist/{chunk-MWUBBBWZ.js → chunk-EONNPRAW.js} +1 -1
- package/dist/{chunk-446KS5BG.js → chunk-GD4JALTR.js} +1 -1
- package/dist/{chunk-3G76LRGL.cjs → chunk-GFXZMFDX.cjs} +9 -9
- package/dist/{chunk-BO5ZHDA4.js → chunk-JPVDJB27.js} +3 -3
- package/dist/{chunk-2V4Z44G6.js → chunk-MFORWVGD.js} +4 -4
- package/dist/{chunk-JOY6HVPV.js → chunk-N7DPIH57.js} +1 -1
- package/dist/{chunk-PLK6GHN7.js → chunk-N7HMUQRV.js} +1 -1
- package/dist/{chunk-L7KZA7ZD.cjs → chunk-NIT257DV.cjs} +2 -2
- package/dist/{chunk-SAA7B3DA.js → chunk-PNWIVND4.js} +2 -2
- package/dist/{chunk-FD4DBTFO.cjs → chunk-QDIX2ZRL.cjs} +44 -430
- package/dist/{chunk-CYYTD5ZK.cjs → chunk-QPNR4N7N.cjs} +16 -16
- package/dist/{chunk-HIXGAY2L.cjs → chunk-QZGFJBG5.cjs} +50 -50
- package/dist/{chunk-RS7HWAYX.js → chunk-S4ADN25W.js} +1 -1
- package/dist/{chunk-HPJ4XS2L.js → chunk-V5QNDOEL.js} +3 -3
- package/dist/{chunk-B3LZJ6J3.cjs → chunk-YBC346FY.cjs} +12 -12
- package/dist/{chunk-ASN65P3F.cjs → chunk-ZSPHOHOW.cjs} +2 -2
- 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/index.cjs +2 -22
- package/dist/components/features/index.js +1 -21
- package/dist/components/features/remote-session/index.d.ts +1 -9
- package/dist/components/features/remote-session/index.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-session-block.d.ts +2 -4
- package/dist/components/features/remote-session/remote-session-block.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-session-chat-panel.d.ts +2 -4
- package/dist/components/features/remote-session/remote-session-chat-panel.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-session-parts.d.ts +2 -13
- package/dist/components/features/remote-session/remote-session-parts.d.ts.map +1 -1
- package/dist/components/features/remote-session/types.d.ts +0 -22
- package/dist/components/features/remote-session/types.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +49 -49
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +33 -53
- package/dist/components/index.js +12 -32
- package/dist/components/meeting-scheduler/index.cjs +22 -22
- 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 -26
- package/dist/index.js +5 -25
- package/dist/tailwind.config.cjs +1 -7
- package/dist/tailwind.config.js +1 -7
- package/package.json +1 -1
- package/src/components/features/remote-session/index.ts +0 -28
- package/src/components/features/remote-session/remote-session-block.tsx +3 -6
- package/src/components/features/remote-session/remote-session-chat-panel.tsx +7 -11
- package/src/components/features/remote-session/remote-session-parts.tsx +3 -32
- package/src/components/features/remote-session/types.ts +0 -26
- package/tailwind.config.ts +0 -6
- package/dist/components/features/remote-session/remote-session-events.d.ts +0 -24
- package/dist/components/features/remote-session/remote-session-events.d.ts.map +0 -1
- package/dist/components/features/remote-session/remote-session-keep-modals.d.ts +0 -41
- package/dist/components/features/remote-session/remote-session-keep-modals.d.ts.map +0 -1
- package/dist/components/features/remote-session/remote-session-status.d.ts +0 -34
- package/dist/components/features/remote-session/remote-session-status.d.ts.map +0 -1
- package/dist/components/features/remote-session/remote-session-viewers.d.ts +0 -15
- package/dist/components/features/remote-session/remote-session-viewers.d.ts.map +0 -1
- package/src/components/features/remote-session/remote-session-events.tsx +0 -93
- package/src/components/features/remote-session/remote-session-keep-modals.tsx +0 -208
- package/src/components/features/remote-session/remote-session-status.tsx +0 -102
- package/src/components/features/remote-session/remote-session-viewers.tsx +0 -103
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkQDIX2ZRLcjs = require('./chunk-QDIX2ZRL.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkIIMICN7Lcjs = require('./chunk-IIMICN7L.cjs');
|
|
@@ -130,7 +130,7 @@ function useSectionNavigation(sections, options) {
|
|
|
130
130
|
// src/components/navigation/multi-level-navigation.tsx
|
|
131
131
|
var _lucidereact = require('lucide-react');
|
|
132
132
|
|
|
133
|
-
var DEFAULT_FOLDER_INDEX_FILE2 =
|
|
133
|
+
var DEFAULT_FOLDER_INDEX_FILE2 = _chunkQDIX2ZRLcjs.DEFAULT_FOLDER_INDEX_FILE;
|
|
134
134
|
function isNodeVisuallySelected(node, selectedPath, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE2) {
|
|
135
135
|
const FOLDER_INDEX_FILE = folderIndexFile.toLowerCase();
|
|
136
136
|
if (selectedPath === node.path) {
|
|
@@ -5,13 +5,13 @@ var _chunkUIBSSVONcjs = require('./chunk-UIBSSVON.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkGFXZMFDXcjs = require('./chunk-GFXZMFDX.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkHUOLB7ZNcjs = require('./chunk-HUOLB7ZN.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkBPS7JQCIcjs = require('./chunk-BPS7JQCI.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunkXCIFHW4Ecjs = require('./chunk-XCIFHW4E.cjs');
|
|
@@ -30,7 +30,7 @@ var _chunkXCIFHW4Ecjs = require('./chunk-XCIFHW4E.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunkQDIX2ZRLcjs = require('./chunk-QDIX2ZRL.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
@@ -90,8 +90,8 @@ var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
|
90
90
|
// src/components/shared/product-release/product-releases-view.tsx
|
|
91
91
|
var _jsxruntime = require('react/jsx-runtime');
|
|
92
92
|
var DEFAULT_ENDPOINT = "/api/releases";
|
|
93
|
-
var DEFAULT_SEARCH_PARAM_KEY =
|
|
94
|
-
var DEFAULT_STATUS_PARAM_KEY =
|
|
93
|
+
var DEFAULT_SEARCH_PARAM_KEY = _chunkQDIX2ZRLcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
94
|
+
var DEFAULT_STATUS_PARAM_KEY = _chunkQDIX2ZRLcjs.DEV_SECTION_PARAM_KEYS.releaseStatus;
|
|
95
95
|
var DEFAULT_PAGE_PARAM_KEY = "page";
|
|
96
96
|
function ReleaseRow({
|
|
97
97
|
release,
|
|
@@ -100,7 +100,7 @@ function ReleaseRow({
|
|
|
100
100
|
}) {
|
|
101
101
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
102
102
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
103
|
-
const cta =
|
|
103
|
+
const cta = _chunkQDIX2ZRLcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _2 => _2.composeContentUrl]), {
|
|
104
104
|
type: "product_release",
|
|
105
105
|
slug: release.slug,
|
|
106
106
|
basePath,
|
|
@@ -172,10 +172,10 @@ function ProductReleasesView({
|
|
|
172
172
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
173
173
|
};
|
|
174
174
|
if (error) {
|
|
175
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
175
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.LoadError, { message: "Failed to load releases.", onRetry: reload }) });
|
|
176
176
|
}
|
|
177
177
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex w-full flex-col gap-[40px]", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[600px]", children: showEmpty ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[600px] items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
178
|
-
|
|
178
|
+
_chunkGFXZMFDXcjs.ListEmptyState,
|
|
179
179
|
{
|
|
180
180
|
isFiltered: hasActiveFilters,
|
|
181
181
|
filtered: {
|
|
@@ -270,7 +270,7 @@ function MediaGalleryStrip({ items, className }) {
|
|
|
270
270
|
var _lucidereact = require('lucide-react');
|
|
271
271
|
|
|
272
272
|
|
|
273
|
-
var DefaultMarkdownRenderer =
|
|
273
|
+
var DefaultMarkdownRenderer = _chunkQDIX2ZRLcjs.RichMarkdownRenderer;
|
|
274
274
|
var DEFAULT_ENDPOINT2 = "/api/releases";
|
|
275
275
|
function ReleaseDetailPage({
|
|
276
276
|
authorHref,
|
|
@@ -289,7 +289,7 @@ function ReleaseDetailPage({
|
|
|
289
289
|
}) {
|
|
290
290
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
291
291
|
const captions = _chunkRTGPIHVOcjs.useCaptions.call(void 0, );
|
|
292
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
292
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
293
293
|
const seed = initialData == null ? void 0 : initialData;
|
|
294
294
|
const {
|
|
295
295
|
data: release,
|
|
@@ -348,7 +348,7 @@ function ReleaseDetailPage({
|
|
|
348
348
|
return renderShell(
|
|
349
349
|
// Match the loaded page's top offset (TitleBlock's
|
|
350
350
|
// `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
|
|
351
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
351
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBPS7JQCIcjs.DetailPageSkeleton, { bare: true, metadataColumns: 4, showImageGallery: true }) })
|
|
352
352
|
);
|
|
353
353
|
}
|
|
354
354
|
if (error || !release) {
|
|
@@ -387,7 +387,7 @@ function ReleaseDetailPage({
|
|
|
387
387
|
const improvements = release.improvements;
|
|
388
388
|
return renderShell(
|
|
389
389
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
390
|
-
|
|
390
|
+
_chunkQDIX2ZRLcjs.PageLayout,
|
|
391
391
|
{
|
|
392
392
|
title: releaseTitle,
|
|
393
393
|
subtitle: `Version: ${releaseVersion}`,
|
|
@@ -396,7 +396,7 @@ function ReleaseDetailPage({
|
|
|
396
396
|
backButton: showBackButton ? { label: backLabel, onClick: () => router.push(backHref) } : void 0,
|
|
397
397
|
children: [
|
|
398
398
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6 md:space-y-8", children: [
|
|
399
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
399
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.EntityTagBadges, { tags: release.product_release_tags }),
|
|
400
400
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border md:grid-cols-4", children: [
|
|
401
401
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col gap-3 border-b border-ods-border bg-ods-card p-4 md:border-b-0 md:border-r", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-0", children: [
|
|
402
402
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: releaseType.toLocaleUpperCase() }),
|
|
@@ -467,7 +467,7 @@ function ReleaseDetailPage({
|
|
|
467
467
|
] })
|
|
468
468
|
] }) }) }),
|
|
469
469
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
470
|
-
|
|
470
|
+
_chunkQDIX2ZRLcjs.ReleaseChangelogSection,
|
|
471
471
|
{
|
|
472
472
|
title: "Breaking Changes",
|
|
473
473
|
entries: breakingChanges || [],
|
|
@@ -478,7 +478,7 @@ function ReleaseDetailPage({
|
|
|
478
478
|
}
|
|
479
479
|
),
|
|
480
480
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
481
|
-
|
|
481
|
+
_chunkQDIX2ZRLcjs.ReleaseChangelogSection,
|
|
482
482
|
{
|
|
483
483
|
title: "Features Added",
|
|
484
484
|
entries: featuresAdded || [],
|
|
@@ -488,7 +488,7 @@ function ReleaseDetailPage({
|
|
|
488
488
|
}
|
|
489
489
|
),
|
|
490
490
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
491
|
-
|
|
491
|
+
_chunkQDIX2ZRLcjs.ReleaseChangelogSection,
|
|
492
492
|
{
|
|
493
493
|
title: "Bugs Fixed",
|
|
494
494
|
entries: bugFixed || [],
|
|
@@ -498,7 +498,7 @@ function ReleaseDetailPage({
|
|
|
498
498
|
}
|
|
499
499
|
),
|
|
500
500
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
501
|
-
|
|
501
|
+
_chunkQDIX2ZRLcjs.ReleaseChangelogSection,
|
|
502
502
|
{
|
|
503
503
|
title: "Improvements",
|
|
504
504
|
entries: improvements || [],
|
|
@@ -524,7 +524,7 @@ function ReleaseDetailPage({
|
|
|
524
524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "tracking-[-0.28px] text-ods-text-secondary text-h5", children: "Related Enhancements and Bug-fixes" }),
|
|
525
525
|
(() => {
|
|
526
526
|
const deliveryCount = deliveryData ? deliveryData.completed.length + deliveryData.inProgress.length : 0;
|
|
527
|
-
return deliveryLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
527
|
+
return deliveryLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: deliveryLoading }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.FadePreview, { hiddenCount: deliveryCount - 1, collapsedHeight: 300, resetKey: deliveryCount, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeliverySection, { data: deliveryData, isLoading: false }) }) });
|
|
528
528
|
})()
|
|
529
529
|
] }),
|
|
530
530
|
(_optionalChain([githubReleases, 'optionalAccess', _10 => _10.length]) || _optionalChain([knowledgeBaseLinks, 'optionalAccess', _11 => _11.length]) || migrationGuideUrl || documentationUrl) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full space-y-1", children: [
|
|
@@ -603,7 +603,7 @@ function ReleaseDetailPage({
|
|
|
603
603
|
// src/components/shared/product-release/release-detail-skeleton.tsx
|
|
604
604
|
|
|
605
605
|
function ReleaseDetailSkeleton() {
|
|
606
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
606
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBPS7JQCIcjs.DetailPageSkeleton, { metadataColumns: 4, showImageGallery: true });
|
|
607
607
|
}
|
|
608
608
|
|
|
609
609
|
// src/components/shared/roadmap/use-roadmap-voting.ts
|
|
@@ -778,7 +778,7 @@ function RoadmapGridSingle({
|
|
|
778
778
|
_chunkEMCQGFXDcjs.RoadmapCard,
|
|
779
779
|
{
|
|
780
780
|
item,
|
|
781
|
-
id:
|
|
781
|
+
id: _chunkQDIX2ZRLcjs.devSectionAnchorId.call(void 0, "roadmap", item.id),
|
|
782
782
|
userVote: getVote(item.id),
|
|
783
783
|
onVote: (voteType) => onVote(item.id, voteType),
|
|
784
784
|
isVoting: votingTasks.has(item.id)
|
|
@@ -894,7 +894,7 @@ function RoadmapGrid({
|
|
|
894
894
|
);
|
|
895
895
|
}
|
|
896
896
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
897
|
-
|
|
897
|
+
_chunkQDIX2ZRLcjs.Accordion,
|
|
898
898
|
{
|
|
899
899
|
type: "multiple",
|
|
900
900
|
value: expandedQuarters,
|
|
@@ -904,13 +904,13 @@ function RoadmapGrid({
|
|
|
904
904
|
const itemCount = _optionalChain([itemsByQuarter, 'access', _20 => _20[quarter], 'optionalAccess', _21 => _21.length]) || 0;
|
|
905
905
|
const isExpanded = expandedQuarters.includes(quarter);
|
|
906
906
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
907
|
-
|
|
907
|
+
_chunkQDIX2ZRLcjs.AccordionItem,
|
|
908
908
|
{
|
|
909
909
|
value: quarter,
|
|
910
910
|
id: `quarter-${quarter.replace(/\s+/g, "-").toLowerCase()}`,
|
|
911
911
|
className: "border-0",
|
|
912
912
|
children: [
|
|
913
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
913
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.AccordionTrigger, { className: "w-full p-0 hover:no-underline [&>svg]:ml-auto [&>svg]:h-5 [&>svg]:w-5 [&>svg]:shrink-0 [&>svg]:text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
914
914
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
915
915
|
"h3",
|
|
916
916
|
{
|
|
@@ -940,7 +940,7 @@ function RoadmapGrid({
|
|
|
940
940
|
}
|
|
941
941
|
)
|
|
942
942
|
] }) }),
|
|
943
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
943
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.AccordionContent, { className: "overflow-hidden pb-0 pt-4 data-[state=closed]:animate-none data-[state=open]:animate-none", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
944
944
|
RoadmapGridSingle,
|
|
945
945
|
{
|
|
946
946
|
items: itemsByQuarter[quarter],
|
|
@@ -992,8 +992,8 @@ function RoadmapGridSkeleton({ count = 4, showLeftMargin = true }) {
|
|
|
992
992
|
|
|
993
993
|
|
|
994
994
|
var DEFAULT_ENDPOINT3 = "/api/roadmap";
|
|
995
|
-
var DEFAULT_SEARCH_PARAM_KEY2 =
|
|
996
|
-
var DEFAULT_STATUS_PARAM_KEY2 =
|
|
995
|
+
var DEFAULT_SEARCH_PARAM_KEY2 = _chunkQDIX2ZRLcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
996
|
+
var DEFAULT_STATUS_PARAM_KEY2 = _chunkQDIX2ZRLcjs.DEV_SECTION_PARAM_KEYS.status;
|
|
997
997
|
function RoadmapView({
|
|
998
998
|
endpoint = DEFAULT_ENDPOINT3,
|
|
999
999
|
initialItems,
|
|
@@ -1016,7 +1016,7 @@ function RoadmapView({
|
|
|
1016
1016
|
const items = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _22 => _22.items]), () => ( []));
|
|
1017
1017
|
_chunk3L7KCOGOcjs.useScrollToHash.call(void 0, data, { headerOffset: _chunkIIMICN7Lcjs.STICKY_HEADER_OFFSET_PX });
|
|
1018
1018
|
if (error) {
|
|
1019
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1019
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.LoadError, { message: "Failed to load roadmap.", onRetry: reload });
|
|
1020
1020
|
}
|
|
1021
1021
|
if (isLoading && !data) {
|
|
1022
1022
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RoadmapGridSkeleton, { showLeftMargin });
|
|
@@ -1069,7 +1069,7 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1069
1069
|
// → `#delivery-<external_id>`; `useScrollToHash` in
|
|
1070
1070
|
// `delivery-lists.tsx` finds the row by id and scrolls. The
|
|
1071
1071
|
// outer wrapper here ONLY exists for the row separators.
|
|
1072
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border last:border-b-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1072
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border last:border-b-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGFXZMFDXcjs.DeliveryRow, { item, id: _chunkQDIX2ZRLcjs.devSectionAnchorId.call(void 0, "delivery", item.id) }) }, item.id)
|
|
1073
1073
|
)) }) });
|
|
1074
1074
|
}
|
|
1075
1075
|
|
|
@@ -1078,8 +1078,8 @@ function DeliveryTable({ items, isLoading = false }) {
|
|
|
1078
1078
|
|
|
1079
1079
|
var DEFAULT_COMPLETED_ENDPOINT = "/api/delivery/completed";
|
|
1080
1080
|
var DEFAULT_IN_PROGRESS_ENDPOINT = "/api/delivery/in-progress";
|
|
1081
|
-
var DEFAULT_SEARCH_PARAM_KEY3 =
|
|
1082
|
-
var DEFAULT_TASK_TYPE_PARAM_KEY =
|
|
1081
|
+
var DEFAULT_SEARCH_PARAM_KEY3 = _chunkQDIX2ZRLcjs.DEV_SECTION_PARAM_KEYS.search;
|
|
1082
|
+
var DEFAULT_TASK_TYPE_PARAM_KEY = _chunkQDIX2ZRLcjs.DEV_SECTION_PARAM_KEYS.deliveryTaskType;
|
|
1083
1083
|
function DeliveryLists({
|
|
1084
1084
|
completedApiEndpoint = DEFAULT_COMPLETED_ENDPOINT,
|
|
1085
1085
|
inProgressApiEndpoint = DEFAULT_IN_PROGRESS_ENDPOINT,
|
|
@@ -1146,11 +1146,11 @@ function DeliveryLists({
|
|
|
1146
1146
|
const hasActiveFilters = searchQuery !== "" || taskTypeFilter !== "all";
|
|
1147
1147
|
const hasResults = showCompleted && filteredCompleted.length > 0 || showInProgress && filteredInProgress.length > 0;
|
|
1148
1148
|
if (error) {
|
|
1149
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1149
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.LoadError, { message: error, onRetry: () => window.location.reload() }) });
|
|
1150
1150
|
}
|
|
1151
1151
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[40px]", children: [
|
|
1152
1152
|
!isLoading && !hasResults && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1153
|
-
|
|
1153
|
+
_chunkGFXZMFDXcjs.ListEmptyState,
|
|
1154
1154
|
{
|
|
1155
1155
|
isFiltered: hasActiveFilters,
|
|
1156
1156
|
filtered: {
|
|
@@ -1304,7 +1304,7 @@ function LegalDocumentPage({
|
|
|
1304
1304
|
initialData = null,
|
|
1305
1305
|
initialLastUpdatedLabel = null,
|
|
1306
1306
|
apiEndpoint,
|
|
1307
|
-
MarkdownRenderer =
|
|
1307
|
+
MarkdownRenderer = _chunkQDIX2ZRLcjs.RichMarkdownRenderer,
|
|
1308
1308
|
backButton,
|
|
1309
1309
|
shell = true
|
|
1310
1310
|
}) {
|
|
@@ -1317,7 +1317,7 @@ function LegalDocumentPage({
|
|
|
1317
1317
|
const fallbackLastUpdatedLabel = _optionalChain([data, 'optionalAccess', _27 => _27.lastSynced]) != null ? _chunkEMCQGFXDcjs.formatLegalDate.call(void 0, data.lastSynced) : null;
|
|
1318
1318
|
const effectiveLastUpdatedLabel = _nullishCoalesce(initialLastUpdatedLabel, () => ( fallbackLastUpdatedLabel));
|
|
1319
1319
|
const subtitle = effectiveLastUpdatedLabel ? `Last Updated: ${effectiveLastUpdatedLabel}` : fallbackDescription;
|
|
1320
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1320
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQDIX2ZRLcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: [
|
|
1321
1321
|
_optionalChain([data, 'optionalAccess', _28 => _28.sourceFile]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary opacity-75 text-h6", children: [
|
|
1322
1322
|
"Source: ",
|
|
1323
1323
|
data.sourceFile
|
|
@@ -1357,7 +1357,7 @@ function LegalDocumentPage({
|
|
|
1357
1357
|
] })
|
|
1358
1358
|
] }) }) }) }) })
|
|
1359
1359
|
] });
|
|
1360
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1360
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
1361
1361
|
}
|
|
1362
1362
|
|
|
1363
1363
|
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkBQ34PIFCcjs = require('./chunk-BQ34PIFC.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk2CSYUMNMcjs = require('./chunk-2CSYUMNM.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkZSPHOHOWcjs = require('./chunk-ZSPHOHOW.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -22,7 +22,7 @@ var _chunkASN65P3Fcjs = require('./chunk-ASN65P3F.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkQDIX2ZRLcjs = require('./chunk-QDIX2ZRL.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunk4OGAXAEGcjs = require('./chunk-4OGAXAEG.cjs');
|
|
@@ -325,8 +325,8 @@ function toDocContent(value, requestedPath) {
|
|
|
325
325
|
}
|
|
326
326
|
function useDocumentTree(config, initialPath) {
|
|
327
327
|
const { structureEndpoint, contentEndpoint, baseRoute } = config;
|
|
328
|
-
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => (
|
|
329
|
-
const cleanInitialPath =
|
|
328
|
+
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkQDIX2ZRLcjs.DEFAULT_FOLDER_INDEX_FILE));
|
|
329
|
+
const cleanInitialPath = _chunkQDIX2ZRLcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
|
|
330
330
|
const [structure, setStructure] = _react.useState.call(void 0, []);
|
|
331
331
|
const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
|
|
332
332
|
const [content, setContent] = _react.useState.call(void 0, null);
|
|
@@ -350,12 +350,12 @@ function useDocumentTree(config, initialPath) {
|
|
|
350
350
|
} else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
|
|
351
351
|
pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
|
|
352
352
|
}
|
|
353
|
-
pathFromUrl =
|
|
353
|
+
pathFromUrl = _chunkQDIX2ZRLcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
|
|
354
354
|
if (pathFromUrl !== selectedPathRef.current) {
|
|
355
355
|
setSelectedPath(pathFromUrl);
|
|
356
356
|
if (pathFromUrl) {
|
|
357
357
|
const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
|
|
358
|
-
setExpandedNodes(new Set(
|
|
358
|
+
setExpandedNodes(new Set(_chunkQDIX2ZRLcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
359
359
|
}
|
|
360
360
|
setTimeout(() => {
|
|
361
361
|
scrollToContent();
|
|
@@ -373,7 +373,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
373
373
|
setSelectedPath(cleanInitialPath);
|
|
374
374
|
if (cleanInitialPath) {
|
|
375
375
|
const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
376
|
-
setExpandedNodes(new Set(
|
|
376
|
+
setExpandedNodes(new Set(_chunkQDIX2ZRLcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
377
377
|
}
|
|
378
378
|
setExternalNavCount((n) => n + 1);
|
|
379
379
|
}
|
|
@@ -398,7 +398,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
398
398
|
if (cleanInitialPath) {
|
|
399
399
|
const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
400
400
|
if (pathForExpansion) {
|
|
401
|
-
setExpandedNodes(new Set(
|
|
401
|
+
setExpandedNodes(new Set(_chunkQDIX2ZRLcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
|
|
402
402
|
}
|
|
403
403
|
} else if (nodes.length > 0) {
|
|
404
404
|
const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
|
|
@@ -438,7 +438,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
438
438
|
setContent(null);
|
|
439
439
|
return;
|
|
440
440
|
}
|
|
441
|
-
const probe =
|
|
441
|
+
const probe = _chunkQDIX2ZRLcjs.findDocNodeByPath.call(void 0, _chunkQDIX2ZRLcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
|
|
442
442
|
const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
|
|
443
443
|
const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
|
|
444
444
|
if (probeIsNoReadmeFolder || preStructureFolderLike) {
|
|
@@ -495,7 +495,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
495
495
|
if (selectedPath === "") {
|
|
496
496
|
pathToFetch = folderIndexFile;
|
|
497
497
|
} else {
|
|
498
|
-
const node =
|
|
498
|
+
const node = _chunkQDIX2ZRLcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
499
499
|
if (node && node.type === "folder" && !node.hasReadme) {
|
|
500
500
|
const firstDocPath = findFirstDocPath(node);
|
|
501
501
|
if (!firstDocPath) {
|
|
@@ -536,16 +536,16 @@ function useDocumentTree(config, initialPath) {
|
|
|
536
536
|
if (node.type === "folder") {
|
|
537
537
|
setExpandedNodes((prev) => {
|
|
538
538
|
if (prev.has(node.id)) {
|
|
539
|
-
const ancestorIds =
|
|
539
|
+
const ancestorIds = _chunkQDIX2ZRLcjs.getDocAncestorNodeIds.call(void 0, node.path);
|
|
540
540
|
ancestorIds.pop();
|
|
541
541
|
return new Set(ancestorIds);
|
|
542
542
|
}
|
|
543
|
-
return new Set(
|
|
543
|
+
return new Set(_chunkQDIX2ZRLcjs.getDocAncestorNodeIds.call(void 0, node.path));
|
|
544
544
|
});
|
|
545
545
|
} else {
|
|
546
546
|
const lastSlash = node.path.lastIndexOf("/");
|
|
547
547
|
if (lastSlash > 0) {
|
|
548
|
-
setExpandedNodes(new Set(
|
|
548
|
+
setExpandedNodes(new Set(_chunkQDIX2ZRLcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
551
|
lastFetchedPath.current = null;
|
|
@@ -560,7 +560,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
560
560
|
const hashIndex = path.indexOf("#");
|
|
561
561
|
const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
|
|
562
562
|
const cleanPath = path.replace(/\/$/, "").split("#")[0];
|
|
563
|
-
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current :
|
|
563
|
+
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkQDIX2ZRLcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
|
|
564
564
|
if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
|
|
565
565
|
_chunkIIMICN7Lcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkIIMICN7Lcjs.HUB_HEADER_OFFSET_PX });
|
|
566
566
|
return;
|
|
@@ -624,15 +624,15 @@ function useDocumentTree(config, initialPath) {
|
|
|
624
624
|
return docNavigation.register({
|
|
625
625
|
baseRoute: normalizedBaseRoute,
|
|
626
626
|
findNodeByPath: (path) => {
|
|
627
|
-
const clean =
|
|
628
|
-
return _nullishCoalesce(
|
|
627
|
+
const clean = _chunkQDIX2ZRLcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
|
|
628
|
+
return _nullishCoalesce(_chunkQDIX2ZRLcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
|
|
629
629
|
},
|
|
630
630
|
selectNode
|
|
631
631
|
});
|
|
632
632
|
}, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
|
|
633
633
|
const isEmptyFolder = _react.useMemo.call(void 0, () => {
|
|
634
634
|
if (!selectedPath || structure.length === 0) return false;
|
|
635
|
-
const node =
|
|
635
|
+
const node = _chunkQDIX2ZRLcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
636
636
|
return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
|
|
637
637
|
}, [selectedPath, structure]);
|
|
638
638
|
return {
|
|
@@ -815,7 +815,7 @@ function DocViewerContent({
|
|
|
815
815
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _16 => _16.label]), () => ( "Back to home")),
|
|
816
816
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _17 => _17.href]), () => ( "/")))
|
|
817
817
|
};
|
|
818
|
-
const docSearch =
|
|
818
|
+
const docSearch = _chunkZSPHOHOWcjs.useDocSearch.call(void 0, {
|
|
819
819
|
source: chatSource,
|
|
820
820
|
baseRoute,
|
|
821
821
|
searchEndpoint,
|
|
@@ -839,7 +839,7 @@ function DocViewerContent({
|
|
|
839
839
|
onResolveLink: resolveLink
|
|
840
840
|
});
|
|
841
841
|
}, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
|
|
842
|
-
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([
|
|
842
|
+
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkQDIX2ZRLcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _18 => _18.documentType]) : void 0;
|
|
843
843
|
const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _19 => _19.documentType]), () => ( selectedNodeDocType));
|
|
844
844
|
const isMarkdownContent = !activeDocType || activeDocType === "markdown";
|
|
845
845
|
const showStickyNav = isMarkdownContent;
|
|
@@ -850,9 +850,9 @@ function DocViewerContent({
|
|
|
850
850
|
const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
|
|
851
851
|
const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
|
|
852
852
|
const resolvedEmptyText = emptyStateText || defaultEmptyText;
|
|
853
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
853
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.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: [
|
|
854
854
|
showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
855
|
-
|
|
855
|
+
_chunkZSPHOHOWcjs.DocSearchBar,
|
|
856
856
|
{
|
|
857
857
|
placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _23 => _23.toLowerCase, 'call', _24 => _24()]) || "documents"}...`,
|
|
858
858
|
query: docSearch.query,
|
|
@@ -871,9 +871,9 @@ function DocViewerContent({
|
|
|
871
871
|
] })
|
|
872
872
|
] }) }),
|
|
873
873
|
!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: [
|
|
874
|
-
/* @__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,
|
|
874
|
+
/* @__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, _chunkQDIX2ZRLcjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
875
875
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
876
|
-
|
|
876
|
+
_chunk2CSYUMNMcjs.MobileNavigationDropdown,
|
|
877
877
|
{
|
|
878
878
|
nodes: structure,
|
|
879
879
|
selectedPath,
|
|
@@ -887,7 +887,7 @@ function DocViewerContent({
|
|
|
887
887
|
/* @__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: [
|
|
888
888
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
|
|
889
889
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
890
|
-
|
|
890
|
+
_chunk2CSYUMNMcjs.MultiLevelNavigation,
|
|
891
891
|
{
|
|
892
892
|
nodes: structure,
|
|
893
893
|
selectedPath,
|
|
@@ -926,7 +926,7 @@ function DocViewerContent({
|
|
|
926
926
|
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: [
|
|
927
927
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "mb-4 font-semibold text-ods-text-secondary text-h5", children: "ON THIS PAGE" }),
|
|
928
928
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
929
|
-
|
|
929
|
+
_chunk2CSYUMNMcjs.StickySectionNav,
|
|
930
930
|
{
|
|
931
931
|
sections: stickyNavSections,
|
|
932
932
|
activeSection,
|
|
@@ -941,7 +941,7 @@ function DocViewerContent({
|
|
|
941
941
|
) })
|
|
942
942
|
] })
|
|
943
943
|
] }) }) });
|
|
944
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
944
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
|
|
945
945
|
}
|
|
946
946
|
|
|
947
947
|
// src/components/docs/skeletons.tsx
|
|
@@ -1031,11 +1031,11 @@ function EmbedSkeleton({ documentType } = {}) {
|
|
|
1031
1031
|
|
|
1032
1032
|
var DEFAULT_TITLE = "Documents";
|
|
1033
1033
|
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" }) });
|
|
1034
|
-
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1035
|
-
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1036
|
-
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1034
|
+
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBQ34PIFCcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
1035
|
+
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBQ34PIFCcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
1036
|
+
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
|
|
1037
1037
|
var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1038
|
-
|
|
1038
|
+
_chunkBQ34PIFCcjs.FileDownloadCard,
|
|
1039
1039
|
{
|
|
1040
1040
|
fileName: content.fileName,
|
|
1041
1041
|
mimeType: content.mimeType,
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
FileDownloadCard,
|
|
4
4
|
GoogleSheetsViewer,
|
|
5
5
|
PdfViewer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BZYMGI4L.js";
|
|
7
7
|
import {
|
|
8
8
|
MobileNavigationDropdown,
|
|
9
9
|
MultiLevelNavigation,
|
|
10
10
|
StickySectionNav
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DJLZXJYB.js";
|
|
12
12
|
import {
|
|
13
13
|
DocSearchBar,
|
|
14
14
|
useDocSearch
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GD4JALTR.js";
|
|
16
16
|
import {
|
|
17
17
|
CategorySidebarSkeleton,
|
|
18
18
|
DEFAULT_FOLDER_INDEX_FILE,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
findDocNodeByPath,
|
|
23
23
|
getDocAncestorNodeIds,
|
|
24
24
|
stripFolderIndexFromPath
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-B7M6QEEM.js";
|
|
26
26
|
import {
|
|
27
27
|
contentFetch
|
|
28
28
|
} from "./chunk-Q76ZTHNV.js";
|
|
@@ -5,7 +5,7 @@ var _chunkXCIFHW4Ecjs = require('./chunk-XCIFHW4E.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkQDIX2ZRLcjs = require('./chunk-QDIX2ZRL.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunk3L7KCOGOcjs = require('./chunk-3L7KCOGO.cjs');
|
|
@@ -336,7 +336,7 @@ function FaqDocumentPage({
|
|
|
336
336
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _16 => _16.label]), () => ( "Back to home")),
|
|
337
337
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _17 => _17.href]), () => ( "/")))
|
|
338
338
|
};
|
|
339
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
339
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
340
340
|
FaqSection,
|
|
341
341
|
{
|
|
342
342
|
initialFaqs,
|
|
@@ -349,7 +349,7 @@ function FaqDocumentPage({
|
|
|
349
349
|
minResults
|
|
350
350
|
}
|
|
351
351
|
) });
|
|
352
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
352
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
|