@flamingo-stack/openframe-frontend-core 0.0.702-snapshot.20261005191338 → 0.0.702

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.
Files changed (76) hide show
  1. package/dist/{chunk-NMGX2ZTU.js → chunk-2V4Z44G6.js} +5 -5
  2. package/dist/{chunk-RLDAYA2A.cjs → chunk-3G76LRGL.cjs} +9 -9
  3. package/dist/{chunk-GX3OUTFO.cjs → chunk-3WSFIV5G.cjs} +32 -32
  4. package/dist/{chunk-BOUPNYUV.js → chunk-446KS5BG.js} +2 -2
  5. package/dist/{chunk-QGTDWFT6.js → chunk-6JPQDYYY.js} +345 -419
  6. package/dist/{chunk-67CXGPTW.cjs → chunk-AEQANLBW.cjs} +24 -24
  7. package/dist/{chunk-NYSYSKSH.cjs → chunk-ASN65P3F.cjs} +9 -9
  8. package/dist/{chunk-S6V7A5FS.cjs → chunk-B3LZJ6J3.cjs} +12 -12
  9. package/dist/{chunk-SL2FOFT2.js → chunk-BO5ZHDA4.js} +4 -4
  10. package/dist/{chunk-RTXTGLGB.cjs → chunk-CXDJUKC6.cjs} +2 -2
  11. package/dist/{chunk-BMJUKS6S.cjs → chunk-CYYTD5ZK.cjs} +20 -20
  12. package/dist/{chunk-ENGBNKUJ.js → chunk-CZ34HXDW.js} +157 -12
  13. package/dist/{chunk-KFDP3DUL.cjs → chunk-E3DH543A.cjs} +44 -44
  14. package/dist/{chunk-7632TNE7.js → chunk-ETFFEA3J.js} +1 -1
  15. package/dist/{chunk-MXHJROXJ.cjs → chunk-FD4DBTFO.cjs} +475 -330
  16. package/dist/{chunk-BSEIEWM5.cjs → chunk-FHM7GD5B.cjs} +2 -2
  17. package/dist/{chunk-NU724ZVN.cjs → chunk-HIXGAY2L.cjs} +70 -70
  18. package/dist/{chunk-53AC23ZN.js → chunk-HPJ4XS2L.js} +4 -4
  19. package/dist/{chunk-2NE3DNXY.js → chunk-HYFLTFFB.js} +1 -1
  20. package/dist/{chunk-NCTYD7HL.js → chunk-IZKOQVXO.js} +2 -2
  21. package/dist/{chunk-J4K5JOLI.js → chunk-JOY6HVPV.js} +1 -1
  22. package/dist/{chunk-YBGEPKC2.cjs → chunk-L7KZA7ZD.cjs} +4 -4
  23. package/dist/{chunk-5VPIC5MD.cjs → chunk-LZNJH23A.cjs} +3 -3
  24. package/dist/{chunk-UTW4SQDI.js → chunk-MWUBBBWZ.js} +2 -2
  25. package/dist/{chunk-G55W76S6.js → chunk-PLK6GHN7.js} +1 -1
  26. package/dist/{chunk-HYLIQMZH.cjs → chunk-QFW3RUZS.cjs} +21 -21
  27. package/dist/{chunk-GZYLZ4MB.js → chunk-RS7HWAYX.js} +2 -2
  28. package/dist/{chunk-HY5YL3U5.cjs → chunk-RTGPIHVO.cjs} +173 -247
  29. package/dist/{chunk-PJP5SMOU.js → chunk-SAA7B3DA.js} +3 -3
  30. package/dist/{chunk-DAW6TDZB.js → chunk-UJJWTJ6S.js} +4 -4
  31. package/dist/{chunk-SFGXIFYO.cjs → chunk-YGRHITPY.cjs} +7 -7
  32. package/dist/{chunk-HHFPQNP3.js → chunk-Z5HDCZAS.js} +1 -1
  33. package/dist/components/case-studies/index.cjs +14 -14
  34. package/dist/components/case-studies/index.js +3 -3
  35. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  36. package/dist/components/chat/index.cjs +2 -2
  37. package/dist/components/chat/index.js +1 -1
  38. package/dist/components/contact/index.cjs +4 -4
  39. package/dist/components/contact/index.js +3 -3
  40. package/dist/components/docs/index.cjs +7 -7
  41. package/dist/components/docs/index.js +6 -6
  42. package/dist/components/embeds/index.cjs +4 -4
  43. package/dist/components/embeds/index.js +3 -3
  44. package/dist/components/faq/index.cjs +4 -4
  45. package/dist/components/faq/index.js +3 -3
  46. package/dist/components/features/index.cjs +3 -3
  47. package/dist/components/features/index.js +2 -2
  48. package/dist/components/help-center-pages/index.cjs +71 -71
  49. package/dist/components/help-center-pages/index.js +14 -14
  50. package/dist/components/index.cjs +41 -41
  51. package/dist/components/index.js +13 -13
  52. package/dist/components/meeting-scheduler/index.cjs +25 -25
  53. package/dist/components/meeting-scheduler/index.js +2 -2
  54. package/dist/components/navigation/app-layout-drawer.d.ts.map +1 -1
  55. package/dist/components/navigation/index.cjs +6 -6
  56. package/dist/components/navigation/index.js +5 -5
  57. package/dist/components/onboarding-guides/index.cjs +6 -6
  58. package/dist/components/onboarding-guides/index.js +5 -5
  59. package/dist/components/tickets/index.cjs +7 -7
  60. package/dist/components/tickets/index.js +6 -6
  61. package/dist/components/ui/drawer.d.ts +3 -7
  62. package/dist/components/ui/drawer.d.ts.map +1 -1
  63. package/dist/components/ui/index.cjs +3 -3
  64. package/dist/components/ui/index.js +2 -2
  65. package/dist/index.cjs +7 -7
  66. package/dist/index.js +6 -6
  67. package/package.json +1 -1
  68. package/src/components/chat/embeddable-chat.tsx +9 -11
  69. package/src/components/navigation/app-layout-drawer.tsx +237 -14
  70. package/src/components/ui/drawer.tsx +188 -41
  71. package/dist/components/ui/panel-resize-handle.d.ts +0 -25
  72. package/dist/components/ui/panel-resize-handle.d.ts.map +0 -1
  73. package/dist/hooks/ui/use-resizable-panel-size.d.ts +0 -46
  74. package/dist/hooks/ui/use-resizable-panel-size.d.ts.map +0 -1
  75. package/src/components/ui/panel-resize-handle.tsx +0 -184
  76. package/src/hooks/ui/use-resizable-panel-size.ts +0 -114
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import {
3
3
  ContactForm
4
- } from "./chunk-NCTYD7HL.js";
4
+ } from "./chunk-IZKOQVXO.js";
5
5
  import {
6
6
  DeliveryRow,
7
7
  DevCardRowContent,
8
8
  DevCardRowSkeletonList,
9
9
  DevSectionPage,
10
10
  ListEmptyState
11
- } from "./chunk-HHFPQNP3.js";
11
+ } from "./chunk-Z5HDCZAS.js";
12
12
  import {
13
13
  EmptyState,
14
14
  UnifiedPagination
@@ -19,7 +19,7 @@ import {
19
19
  TOAST_COPY,
20
20
  isOptimistic,
21
21
  useOptionalTicketLive
22
- } from "./chunk-GZYLZ4MB.js";
22
+ } from "./chunk-RS7HWAYX.js";
23
23
  import {
24
24
  AlertDialog,
25
25
  AlertDialogAction,
@@ -35,7 +35,7 @@ import {
35
35
  Textarea,
36
36
  TicketAttachmentsList,
37
37
  devSectionAnchorId
38
- } from "./chunk-ENGBNKUJ.js";
38
+ } from "./chunk-CZ34HXDW.js";
39
39
  import {
40
40
  toast,
41
41
  useScrollToHash
@@ -55,7 +55,7 @@ import {
55
55
  formatRelativeTime,
56
56
  useChatAttachments,
57
57
  useChatIdentity
58
- } from "./chunk-QGTDWFT6.js";
58
+ } from "./chunk-6JPQDYYY.js";
59
59
  import {
60
60
  STICKY_HEADER_OFFSET_PX,
61
61
  scrollElementIntoView
@@ -10,7 +10,7 @@ var _chunkHUOLB7ZNcjs = require('./chunk-HUOLB7ZN.cjs');
10
10
 
11
11
 
12
12
 
13
- var _chunkMXHJROXJcjs = require('./chunk-MXHJROXJ.cjs');
13
+ var _chunkFD4DBTFOcjs = require('./chunk-FD4DBTFO.cjs');
14
14
 
15
15
 
16
16
 
@@ -63,7 +63,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
63
63
  var _react = require('react');
64
64
 
65
65
  function DevSectionView({ sectionKey, hero, preControls, children, showHeading = true }) {
66
- const section = _chunkMXHJROXJcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
66
+ const section = _chunkFD4DBTFOcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
67
67
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
68
68
  const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
69
69
  const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
@@ -114,7 +114,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
114
114
  preControls,
115
115
  (search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
116
116
  search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
117
- _chunkMXHJROXJcjs.SearchInput,
117
+ _chunkFD4DBTFOcjs.SearchInput,
118
118
  {
119
119
  showDropdown: false,
120
120
  placeholder: search.placeholder,
@@ -124,7 +124,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
124
124
  }
125
125
  ),
126
126
  filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
127
- _chunkMXHJROXJcjs.StatusFilterComponent,
127
+ _chunkFD4DBTFOcjs.StatusFilterComponent,
128
128
  {
129
129
  selectedStatus: currentFilterValue,
130
130
  onStatusChange: handleFilterChange,
@@ -148,7 +148,7 @@ function DevSectionPage({
148
148
  shell = true
149
149
  }) {
150
150
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
151
- const section = _chunkMXHJROXJcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
151
+ const section = _chunkFD4DBTFOcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
152
152
  const backCfg = backButton === false ? void 0 : {
153
153
  label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
154
154
  onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
@@ -161,7 +161,7 @@ function DevSectionPage({
161
161
  // duplicate title. (The hero icon is intentionally dropped: TitleBlock is
162
162
  // frozen and renders title-only.)
163
163
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
164
- _chunkMXHJROXJcjs.PageLayout,
164
+ _chunkFD4DBTFOcjs.PageLayout,
165
165
  {
166
166
  title: _nullishCoalesce(title, () => ( section.hero.title)),
167
167
  subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
@@ -172,7 +172,7 @@ function DevSectionPage({
172
172
  }
173
173
  )
174
174
  );
175
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
175
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
176
176
  }
177
177
 
178
178
  // src/components/shared/dev-section/dev-card-row.tsx
@@ -230,8 +230,8 @@ function getRelativeTime(timestamp) {
230
230
  }
231
231
  function DeliveryRow({ item, href, target, caption, id, className }) {
232
232
  const taskType = item.taskType;
233
- const typeBadgeLabel = _chunkMXHJROXJcjs.TASK_TYPE_LABELS[taskType] || "TASK";
234
- const typeBadgeTextColor = _chunkMXHJROXJcjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
233
+ const typeBadgeLabel = _chunkFD4DBTFOcjs.TASK_TYPE_LABELS[taskType] || "TASK";
234
+ const typeBadgeTextColor = _chunkFD4DBTFOcjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
235
235
  const statusBadgeScheme = _chunkEMCQGFXDcjs.getStatusColorScheme.call(void 0, item.status);
236
236
  const relativeTime = getRelativeTime(item.dateUpdated);
237
237
  const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
@@ -3,16 +3,16 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk5VPIC5MDcjs = require('./chunk-5VPIC5MD.cjs');
6
+ var _chunkLZNJH23Acjs = require('./chunk-LZNJH23A.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkRTXTGLGBcjs = require('./chunk-RTXTGLGB.cjs');
11
+ var _chunkCXDJUKC6cjs = require('./chunk-CXDJUKC6.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkNYSYSKSHcjs = require('./chunk-NYSYSKSH.cjs');
15
+ var _chunkASN65P3Fcjs = require('./chunk-ASN65P3F.cjs');
16
16
 
17
17
 
18
18
 
@@ -22,7 +22,7 @@ var _chunkNYSYSKSHcjs = require('./chunk-NYSYSKSH.cjs');
22
22
 
23
23
 
24
24
 
25
- var _chunkMXHJROXJcjs = require('./chunk-MXHJROXJ.cjs');
25
+ var _chunkFD4DBTFOcjs = require('./chunk-FD4DBTFO.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, () => ( _chunkMXHJROXJcjs.DEFAULT_FOLDER_INDEX_FILE));
329
- const cleanInitialPath = _chunkMXHJROXJcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
328
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkFD4DBTFOcjs.DEFAULT_FOLDER_INDEX_FILE));
329
+ const cleanInitialPath = _chunkFD4DBTFOcjs.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 = _chunkMXHJROXJcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
353
+ pathFromUrl = _chunkFD4DBTFOcjs.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(_chunkMXHJROXJcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
358
+ setExpandedNodes(new Set(_chunkFD4DBTFOcjs.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(_chunkMXHJROXJcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
376
+ setExpandedNodes(new Set(_chunkFD4DBTFOcjs.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(_chunkMXHJROXJcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
401
+ setExpandedNodes(new Set(_chunkFD4DBTFOcjs.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 = _chunkMXHJROXJcjs.findDocNodeByPath.call(void 0, _chunkMXHJROXJcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
441
+ const probe = _chunkFD4DBTFOcjs.findDocNodeByPath.call(void 0, _chunkFD4DBTFOcjs.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 = _chunkMXHJROXJcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
498
+ const node = _chunkFD4DBTFOcjs.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 = _chunkMXHJROXJcjs.getDocAncestorNodeIds.call(void 0, node.path);
539
+ const ancestorIds = _chunkFD4DBTFOcjs.getDocAncestorNodeIds.call(void 0, node.path);
540
540
  ancestorIds.pop();
541
541
  return new Set(ancestorIds);
542
542
  }
543
- return new Set(_chunkMXHJROXJcjs.getDocAncestorNodeIds.call(void 0, node.path));
543
+ return new Set(_chunkFD4DBTFOcjs.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(_chunkMXHJROXJcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
548
+ setExpandedNodes(new Set(_chunkFD4DBTFOcjs.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 : _chunkMXHJROXJcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
563
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkFD4DBTFOcjs.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 = _chunkMXHJROXJcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
628
- return _nullishCoalesce(_chunkMXHJROXJcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
627
+ const clean = _chunkFD4DBTFOcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
628
+ return _nullishCoalesce(_chunkFD4DBTFOcjs.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 = _chunkMXHJROXJcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
635
+ const node = _chunkFD4DBTFOcjs.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 = _chunkNYSYSKSHcjs.useDocSearch.call(void 0, {
818
+ const docSearch = _chunkASN65P3Fcjs.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([_chunkMXHJROXJcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _18 => _18.documentType]) : void 0;
842
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkFD4DBTFOcjs.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, _chunkMXHJROXJcjs.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: [
853
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.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
- _chunkNYSYSKSHcjs.DocSearchBar,
855
+ _chunkASN65P3Fcjs.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, _chunkMXHJROXJcjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { 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, _chunkFD4DBTFOcjs.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
- _chunkRTXTGLGBcjs.MobileNavigationDropdown,
876
+ _chunkCXDJUKC6cjs.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
- _chunkRTXTGLGBcjs.MultiLevelNavigation,
890
+ _chunkCXDJUKC6cjs.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
- _chunkRTXTGLGBcjs.StickySectionNav,
929
+ _chunkCXDJUKC6cjs.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, _chunkMXHJROXJcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
944
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.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, _chunk5VPIC5MDcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1035
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5VPIC5MDcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1036
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
1034
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLZNJH23Acjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1035
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLZNJH23Acjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1036
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
1037
1037
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1038
- _chunk5VPIC5MDcjs.FileDownloadCard,
1038
+ _chunkLZNJH23Acjs.FileDownloadCard,
1039
1039
  {
1040
1040
  fileName: content.fileName,
1041
1041
  mimeType: content.mimeType,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  SearchInput
4
- } from "./chunk-ENGBNKUJ.js";
4
+ } from "./chunk-CZ34HXDW.js";
5
5
  import {
6
6
  contentFetch
7
7
  } from "./chunk-Q76ZTHNV.js";
@@ -12,7 +12,7 @@ import {
12
12
  resolveExternalNavigation,
13
13
  resolveSourceIcon,
14
14
  stripSameOriginToPath
15
- } from "./chunk-QGTDWFT6.js";
15
+ } from "./chunk-6JPQDYYY.js";
16
16
  import {
17
17
  useDebounce
18
18
  } from "./chunk-64O4L7WN.js";