@flamingo-stack/openframe-frontend-core 0.0.704 → 0.0.705

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 (90) hide show
  1. package/dist/{chunk-MGGGBHYD.cjs → chunk-2QEUFXNS.cjs} +10 -10
  2. package/dist/{chunk-LDPEQGKT.cjs → chunk-3MX5S4CF.cjs} +132 -80
  3. package/dist/{chunk-UK62YTH6.cjs → chunk-4I45Y3DN.cjs} +2 -2
  4. package/dist/{chunk-AMYY3PNL.cjs → chunk-4KX6OED2.cjs} +42 -42
  5. package/dist/{chunk-4DQMTBMK.cjs → chunk-6NJKKO73.cjs} +11 -11
  6. package/dist/{chunk-JEYRXT5L.js → chunk-6SEANMOU.js} +7 -7
  7. package/dist/{chunk-C7XGRLT5.cjs → chunk-7LS22BZU.cjs} +6 -6
  8. package/dist/{chunk-2JDVL7UV.js → chunk-7VVFKJY5.js} +70 -18
  9. package/dist/{chunk-7JIL3WOH.cjs → chunk-A75QY6CD.cjs} +14 -14
  10. package/dist/{chunk-VTASHWER.js → chunk-AQWZNP6A.js} +3 -3
  11. package/dist/{chunk-ZQFZSFQI.js → chunk-DENB2XJC.js} +2 -2
  12. package/dist/{chunk-FXENTYE5.js → chunk-DW7G4KG3.js} +1 -1
  13. package/dist/{chunk-I7DFUQMN.js → chunk-F6AFPNDF.js} +5 -6
  14. package/dist/{chunk-5QJDM6UV.js → chunk-F6I6XZMN.js} +3 -3
  15. package/dist/{chunk-4KGXLVCF.js → chunk-FCGC42TS.js} +3 -3
  16. package/dist/{chunk-2G546OND.js → chunk-G5A3PSPV.js} +19 -7
  17. package/dist/{chunk-N3TO7JV3.cjs → chunk-HPWWNJE7.cjs} +49 -49
  18. package/dist/{chunk-MI3JUJ75.cjs → chunk-IHERL5V4.cjs} +21 -21
  19. package/dist/{chunk-XIFOBQRQ.cjs → chunk-IKTQ3ZAG.cjs} +4 -4
  20. package/dist/{chunk-262YQFOS.cjs → chunk-JEZKGCZI.cjs} +24 -24
  21. package/dist/{chunk-L3IC42IF.cjs → chunk-KOWVJD4V.cjs} +17 -18
  22. package/dist/{chunk-IHU5ANUY.js → chunk-MKXO4Q5P.js} +1 -1
  23. package/dist/{chunk-IZGDG5X6.cjs → chunk-OUY3HHW6.cjs} +57 -45
  24. package/dist/{chunk-WUJNYGO2.js → chunk-PDWVPI3S.js} +0 -4
  25. package/dist/{chunk-ERCV6HHJ.js → chunk-PN2RKPDF.js} +4 -4
  26. package/dist/{chunk-7LFIKJX2.js → chunk-QFXRPRFT.js} +2 -2
  27. package/dist/{chunk-NRLJUBCS.js → chunk-RBDP4WDE.js} +2 -2
  28. package/dist/{chunk-C3BWIU7R.cjs → chunk-TYWLNCNH.cjs} +1 -5
  29. package/dist/{chunk-XATTBO5X.js → chunk-VA5T32XA.js} +1 -1
  30. package/dist/{chunk-LTSTC3N5.cjs → chunk-VESKITRQ.cjs} +379 -379
  31. package/dist/{chunk-HFJW24JJ.cjs → chunk-WA6GUYQ4.cjs} +79 -79
  32. package/dist/{chunk-QVSFBSWV.js → chunk-X5MQ7JRP.js} +4 -4
  33. package/dist/{chunk-XJKZ4IKT.cjs → chunk-YFBM2K6X.cjs} +4 -4
  34. package/dist/{chunk-6WQIUQUC.js → chunk-YHM5AWTT.js} +5 -5
  35. package/dist/{chunk-SYXQLETR.cjs → chunk-ZSAGLQOD.cjs} +9 -9
  36. package/dist/{chunk-HJAYVKWQ.js → chunk-ZSAO2HBW.js} +6 -6
  37. package/dist/components/case-studies/index.cjs +17 -17
  38. package/dist/components/case-studies/index.js +5 -5
  39. package/dist/components/chat/chat-input.d.ts.map +1 -1
  40. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  41. package/dist/components/chat/embeddable-chat.d.ts +8 -0
  42. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  43. package/dist/components/chat/index.cjs +5 -3
  44. package/dist/components/chat/index.d.ts +1 -1
  45. package/dist/components/chat/index.d.ts.map +1 -1
  46. package/dist/components/chat/index.js +4 -2
  47. package/dist/components/chat/mingo-chat-rail.d.ts +3 -1
  48. package/dist/components/chat/mingo-chat-rail.d.ts.map +1 -1
  49. package/dist/components/contact/index.cjs +6 -6
  50. package/dist/components/contact/index.js +5 -5
  51. package/dist/components/docs/index.cjs +9 -9
  52. package/dist/components/docs/index.js +8 -8
  53. package/dist/components/embeds/index.cjs +6 -6
  54. package/dist/components/embeds/index.js +5 -5
  55. package/dist/components/faq/index.cjs +6 -6
  56. package/dist/components/faq/index.js +5 -5
  57. package/dist/components/features/index.cjs +5 -5
  58. package/dist/components/features/index.js +4 -4
  59. package/dist/components/help-center-pages/index.cjs +81 -81
  60. package/dist/components/help-center-pages/index.js +16 -16
  61. package/dist/components/index.cjs +51 -47
  62. package/dist/components/index.js +19 -15
  63. package/dist/components/meeting-scheduler/index.cjs +32 -32
  64. package/dist/components/meeting-scheduler/index.js +4 -4
  65. package/dist/components/navigation/app-layout-side-panel.d.ts +18 -1
  66. package/dist/components/navigation/app-layout-side-panel.d.ts.map +1 -1
  67. package/dist/components/navigation/index.cjs +10 -8
  68. package/dist/components/navigation/index.d.ts +1 -0
  69. package/dist/components/navigation/index.d.ts.map +1 -1
  70. package/dist/components/navigation/index.js +9 -7
  71. package/dist/components/onboarding-guides/index.cjs +8 -8
  72. package/dist/components/onboarding-guides/index.js +7 -7
  73. package/dist/components/tickets/index.cjs +9 -9
  74. package/dist/components/tickets/index.js +8 -8
  75. package/dist/components/ui/index.cjs +7 -5
  76. package/dist/components/ui/index.js +6 -4
  77. package/dist/hooks/index.cjs +3 -3
  78. package/dist/hooks/index.js +2 -2
  79. package/dist/index.cjs +14 -10
  80. package/dist/index.js +12 -8
  81. package/package.json +1 -1
  82. package/src/components/chat/chat-input.tsx +5 -1
  83. package/src/components/chat/chat-message-enhanced.tsx +4 -3
  84. package/src/components/chat/embeddable-chat.tsx +64 -6
  85. package/src/components/chat/index.ts +1 -0
  86. package/src/components/chat/mingo-chat-rail.tsx +24 -7
  87. package/src/components/navigation/app-layout-side-panel.tsx +30 -2
  88. package/src/components/navigation/index.ts +1 -0
  89. package/src/components/platform/SoftwareSourceBadge.tsx +1 -1
  90. package/src/styles/app-globals.css +13 -0
@@ -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 _chunkLTSTC3N5cjs = require('./chunk-LTSTC3N5.cjs');
4
+ var _chunkVESKITRQcjs = require('./chunk-VESKITRQ.cjs');
5
5
 
6
6
 
7
7
 
@@ -64,7 +64,7 @@ function DetailPageSkeleton({
64
64
  ] });
65
65
  if (bare) return content;
66
66
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
67
- _chunkLTSTC3N5cjs.PageLayout,
67
+ _chunkVESKITRQcjs.PageLayout,
68
68
  {
69
69
  showHeader: false,
70
70
  className: "mx-auto max-w-[1280px] bg-ods-bg px-6 py-6 content-md:px-20 content-md:py-10",
@@ -3,16 +3,16 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkC7XGRLT5cjs = require('./chunk-C7XGRLT5.cjs');
6
+ var _chunk7LS22BZUcjs = require('./chunk-7LS22BZU.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkXJKZ4IKTcjs = require('./chunk-XJKZ4IKT.cjs');
11
+ var _chunkYFBM2K6Xcjs = require('./chunk-YFBM2K6X.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunk4DQMTBMKcjs = require('./chunk-4DQMTBMK.cjs');
15
+ var _chunk6NJKKO73cjs = require('./chunk-6NJKKO73.cjs');
16
16
 
17
17
 
18
18
 
@@ -22,7 +22,7 @@ var _chunk4DQMTBMKcjs = require('./chunk-4DQMTBMK.cjs');
22
22
 
23
23
 
24
24
 
25
- var _chunkLTSTC3N5cjs = require('./chunk-LTSTC3N5.cjs');
25
+ var _chunkVESKITRQcjs = require('./chunk-VESKITRQ.cjs');
26
26
 
27
27
 
28
28
  var _chunkABU3TGXAcjs = require('./chunk-ABU3TGXA.cjs');
@@ -32,7 +32,7 @@ var _chunkABU3TGXAcjs = require('./chunk-ABU3TGXA.cjs');
32
32
 
33
33
 
34
34
 
35
- var _chunkC3BWIU7Rcjs = require('./chunk-C3BWIU7R.cjs');
35
+ var _chunkTYWLNCNHcjs = require('./chunk-TYWLNCNH.cjs');
36
36
 
37
37
 
38
38
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
@@ -232,9 +232,9 @@ function useDocsResolveLink(sourceId, resolveLinkEndpoint) {
232
232
  function scrollToContent() {
233
233
  const article = document.querySelector("article");
234
234
  if (article) {
235
- _chunkC3BWIU7Rcjs.scrollElementIntoView.call(void 0, article, { headerOffset: _chunkC3BWIU7Rcjs.HUB_HEADER_OFFSET_PX });
235
+ _chunkTYWLNCNHcjs.scrollElementIntoView.call(void 0, article, { headerOffset: _chunkTYWLNCNHcjs.HUB_HEADER_OFFSET_PX });
236
236
  } else {
237
- _chunkC3BWIU7Rcjs.scrollElementIntoView.call(void 0, document.documentElement);
237
+ _chunkTYWLNCNHcjs.scrollElementIntoView.call(void 0, document.documentElement);
238
238
  }
239
239
  }
240
240
  function findFirstDocPath(folder) {
@@ -333,8 +333,8 @@ function toDocContent(value, requestedPath) {
333
333
  }
334
334
  function useDocumentTree(config, initialPath) {
335
335
  const { structureEndpoint, contentEndpoint, baseRoute } = config;
336
- const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkLTSTC3N5cjs.DEFAULT_FOLDER_INDEX_FILE));
337
- const cleanInitialPath = _chunkLTSTC3N5cjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
336
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkVESKITRQcjs.DEFAULT_FOLDER_INDEX_FILE));
337
+ const cleanInitialPath = _chunkVESKITRQcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
338
338
  const [structure, setStructure] = _react.useState.call(void 0, []);
339
339
  const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
340
340
  const [content, setContent] = _react.useState.call(void 0, null);
@@ -358,12 +358,12 @@ function useDocumentTree(config, initialPath) {
358
358
  } else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
359
359
  pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
360
360
  }
361
- pathFromUrl = _chunkLTSTC3N5cjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
361
+ pathFromUrl = _chunkVESKITRQcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
362
362
  if (pathFromUrl !== selectedPathRef.current) {
363
363
  setSelectedPath(pathFromUrl);
364
364
  if (pathFromUrl) {
365
365
  const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
366
- setExpandedNodes(new Set(_chunkLTSTC3N5cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
366
+ setExpandedNodes(new Set(_chunkVESKITRQcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
367
367
  }
368
368
  setTimeout(() => {
369
369
  scrollToContent();
@@ -381,7 +381,7 @@ function useDocumentTree(config, initialPath) {
381
381
  setSelectedPath(cleanInitialPath);
382
382
  if (cleanInitialPath) {
383
383
  const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
384
- setExpandedNodes(new Set(_chunkLTSTC3N5cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
384
+ setExpandedNodes(new Set(_chunkVESKITRQcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
385
385
  }
386
386
  setExternalNavCount((n) => n + 1);
387
387
  }
@@ -406,7 +406,7 @@ function useDocumentTree(config, initialPath) {
406
406
  if (cleanInitialPath) {
407
407
  const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
408
408
  if (pathForExpansion) {
409
- setExpandedNodes(new Set(_chunkLTSTC3N5cjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
409
+ setExpandedNodes(new Set(_chunkVESKITRQcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
410
410
  }
411
411
  } else if (nodes.length > 0) {
412
412
  const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
@@ -422,7 +422,7 @@ function useDocumentTree(config, initialPath) {
422
422
  }
423
423
  }
424
424
  } else {
425
- setError(_chunkC3BWIU7Rcjs.apiErrorMessage.call(void 0, payload, "Failed to load documentation structure"));
425
+ setError(_chunkTYWLNCNHcjs.apiErrorMessage.call(void 0, payload, "Failed to load documentation structure"));
426
426
  }
427
427
  } catch (err) {
428
428
  console.error("Error fetching documentation structure:", err);
@@ -446,7 +446,7 @@ function useDocumentTree(config, initialPath) {
446
446
  setContent(null);
447
447
  return;
448
448
  }
449
- const probe = _chunkLTSTC3N5cjs.findDocNodeByPath.call(void 0, _chunkLTSTC3N5cjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
449
+ const probe = _chunkVESKITRQcjs.findDocNodeByPath.call(void 0, _chunkVESKITRQcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
450
450
  const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
451
451
  const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
452
452
  if (probeIsNoReadmeFolder || preStructureFolderLike) {
@@ -455,7 +455,7 @@ function useDocumentTree(config, initialPath) {
455
455
  setContent(null);
456
456
  return;
457
457
  }
458
- setError(_chunkC3BWIU7Rcjs.apiErrorMessage.call(void 0, errorPayload, "Documentation file not found"));
458
+ setError(_chunkTYWLNCNHcjs.apiErrorMessage.call(void 0, errorPayload, "Documentation file not found"));
459
459
  setContent(null);
460
460
  return;
461
461
  }
@@ -473,7 +473,7 @@ function useDocumentTree(config, initialPath) {
473
473
  }
474
474
  setContent(doc);
475
475
  } else {
476
- setError(_chunkC3BWIU7Rcjs.apiErrorMessage.call(void 0, payload, "Failed to load content"));
476
+ setError(_chunkTYWLNCNHcjs.apiErrorMessage.call(void 0, payload, "Failed to load content"));
477
477
  setContent(null);
478
478
  }
479
479
  } catch (err) {
@@ -503,7 +503,7 @@ function useDocumentTree(config, initialPath) {
503
503
  if (selectedPath === "") {
504
504
  pathToFetch = folderIndexFile;
505
505
  } else {
506
- const node = _chunkLTSTC3N5cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
506
+ const node = _chunkVESKITRQcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
507
507
  if (node && node.type === "folder" && !node.hasReadme) {
508
508
  const firstDocPath = findFirstDocPath(node);
509
509
  if (!firstDocPath) {
@@ -544,16 +544,16 @@ function useDocumentTree(config, initialPath) {
544
544
  if (node.type === "folder") {
545
545
  setExpandedNodes((prev) => {
546
546
  if (prev.has(node.id)) {
547
- const ancestorIds = _chunkLTSTC3N5cjs.getDocAncestorNodeIds.call(void 0, node.path);
547
+ const ancestorIds = _chunkVESKITRQcjs.getDocAncestorNodeIds.call(void 0, node.path);
548
548
  ancestorIds.pop();
549
549
  return new Set(ancestorIds);
550
550
  }
551
- return new Set(_chunkLTSTC3N5cjs.getDocAncestorNodeIds.call(void 0, node.path));
551
+ return new Set(_chunkVESKITRQcjs.getDocAncestorNodeIds.call(void 0, node.path));
552
552
  });
553
553
  } else {
554
554
  const lastSlash = node.path.lastIndexOf("/");
555
555
  if (lastSlash > 0) {
556
- setExpandedNodes(new Set(_chunkLTSTC3N5cjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
556
+ setExpandedNodes(new Set(_chunkVESKITRQcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
557
557
  }
558
558
  }
559
559
  lastFetchedPath.current = null;
@@ -568,9 +568,9 @@ function useDocumentTree(config, initialPath) {
568
568
  const hashIndex = path.indexOf("#");
569
569
  const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
570
570
  const cleanPath = path.replace(/\/$/, "").split("#")[0];
571
- const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkLTSTC3N5cjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
571
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkVESKITRQcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
572
572
  if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
573
- _chunkC3BWIU7Rcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkC3BWIU7Rcjs.HUB_HEADER_OFFSET_PX });
573
+ _chunkTYWLNCNHcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkTYWLNCNHcjs.HUB_HEADER_OFFSET_PX });
574
574
  return;
575
575
  }
576
576
  const scrollAfterNav = () => {
@@ -578,7 +578,7 @@ function useDocumentTree(config, initialPath) {
578
578
  setTimeout(() => {
579
579
  const el = document.getElementById(anchor.substring(1));
580
580
  if (el) {
581
- _chunkC3BWIU7Rcjs.scrollElementIntoView.call(void 0, el, { headerOffset: _chunkC3BWIU7Rcjs.HUB_HEADER_OFFSET_PX });
581
+ _chunkTYWLNCNHcjs.scrollElementIntoView.call(void 0, el, { headerOffset: _chunkTYWLNCNHcjs.HUB_HEADER_OFFSET_PX });
582
582
  } else {
583
583
  scrollToContent();
584
584
  }
@@ -632,15 +632,15 @@ function useDocumentTree(config, initialPath) {
632
632
  return docNavigation.register({
633
633
  baseRoute: normalizedBaseRoute,
634
634
  findNodeByPath: (path) => {
635
- const clean = _chunkLTSTC3N5cjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
636
- return _nullishCoalesce(_chunkLTSTC3N5cjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
635
+ const clean = _chunkVESKITRQcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
636
+ return _nullishCoalesce(_chunkVESKITRQcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
637
637
  },
638
638
  selectNode
639
639
  });
640
640
  }, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
641
641
  const isEmptyFolder = _react.useMemo.call(void 0, () => {
642
642
  if (!selectedPath || structure.length === 0) return false;
643
- const node = _chunkLTSTC3N5cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
643
+ const node = _chunkVESKITRQcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
644
644
  return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
645
645
  }, [selectedPath, structure]);
646
646
  return {
@@ -671,7 +671,7 @@ function replaceHash(sectionId) {
671
671
  window.history.replaceState(window.history.state, "", `${pathname}${search}${next}`);
672
672
  }
673
673
  function resolveScroller(firstSection) {
674
- const container = firstSection ? _chunkC3BWIU7Rcjs.getScrollableAncestor.call(void 0, firstSection) : null;
674
+ const container = firstSection ? _chunkTYWLNCNHcjs.getScrollableAncestor.call(void 0, firstSection) : null;
675
675
  if (container) {
676
676
  return {
677
677
  target: container,
@@ -701,7 +701,7 @@ function useScrollSpy(sections, options = {}) {
701
701
  isScrollingFromClick.current = true;
702
702
  setActiveSection(sectionId);
703
703
  if (syncHash) replaceHash(sectionId);
704
- _chunkC3BWIU7Rcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
704
+ _chunkTYWLNCNHcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
705
705
  setTimeout(() => {
706
706
  isScrollingFromClick.current = false;
707
707
  }, 800);
@@ -823,7 +823,7 @@ function DocViewerContent({
823
823
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _16 => _16.label]), () => ( "Back to home")),
824
824
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _17 => _17.href]), () => ( "/")))
825
825
  };
826
- const docSearch = _chunk4DQMTBMKcjs.useDocSearch.call(void 0, {
826
+ const docSearch = _chunk6NJKKO73cjs.useDocSearch.call(void 0, {
827
827
  source: chatSource,
828
828
  baseRoute,
829
829
  searchEndpoint,
@@ -847,7 +847,7 @@ function DocViewerContent({
847
847
  onResolveLink: resolveLink
848
848
  });
849
849
  }, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
850
- const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkLTSTC3N5cjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _18 => _18.documentType]) : void 0;
850
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkVESKITRQcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _18 => _18.documentType]) : void 0;
851
851
  const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _19 => _19.documentType]), () => ( selectedNodeDocType));
852
852
  const isMarkdownContent = !activeDocType || activeDocType === "markdown";
853
853
  const showStickyNav = isMarkdownContent;
@@ -858,9 +858,9 @@ function DocViewerContent({
858
858
  const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
859
859
  const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
860
860
  const resolvedEmptyText = emptyStateText || defaultEmptyText;
861
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.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: [
861
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVESKITRQcjs.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: [
862
862
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
863
- _chunk4DQMTBMKcjs.DocSearchBar,
863
+ _chunk6NJKKO73cjs.DocSearchBar,
864
864
  {
865
865
  placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _23 => _23.toLowerCase, 'call', _24 => _24()]) || "documents"}...`,
866
866
  query: docSearch.query,
@@ -879,9 +879,9 @@ function DocViewerContent({
879
879
  ] })
880
880
  ] }) }),
881
881
  !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: [
882
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
882
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVESKITRQcjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
883
883
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
884
- _chunkXJKZ4IKTcjs.MobileNavigationDropdown,
884
+ _chunkYFBM2K6Xcjs.MobileNavigationDropdown,
885
885
  {
886
886
  nodes: structure,
887
887
  selectedPath,
@@ -895,7 +895,7 @@ function DocViewerContent({
895
895
  /* @__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: [
896
896
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
897
897
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
898
- _chunkXJKZ4IKTcjs.MultiLevelNavigation,
898
+ _chunkYFBM2K6Xcjs.MultiLevelNavigation,
899
899
  {
900
900
  nodes: structure,
901
901
  selectedPath,
@@ -934,7 +934,7 @@ function DocViewerContent({
934
934
  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: [
935
935
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "mb-4 font-semibold text-ods-text-secondary text-h5", children: "ON THIS PAGE" }),
936
936
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
937
- _chunkXJKZ4IKTcjs.StickySectionNav,
937
+ _chunkYFBM2K6Xcjs.StickySectionNav,
938
938
  {
939
939
  sections: stickyNavSections,
940
940
  activeSection,
@@ -949,7 +949,7 @@ function DocViewerContent({
949
949
  ) })
950
950
  ] })
951
951
  ] }) }) });
952
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
952
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVESKITRQcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
953
953
  }
954
954
 
955
955
  // src/components/docs/skeletons.tsx
@@ -1045,11 +1045,11 @@ function EmbedSkeleton({ documentType } = {}) {
1045
1045
 
1046
1046
  var DEFAULT_TITLE = "Documents";
1047
1047
  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" }) });
1048
- var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC7XGRLT5cjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1049
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC7XGRLT5cjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1050
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
1048
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7LS22BZUcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1049
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7LS22BZUcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1050
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVESKITRQcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
1051
1051
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1052
- _chunkC7XGRLT5cjs.FileDownloadCard,
1052
+ _chunk7LS22BZUcjs.FileDownloadCard,
1053
1053
  {
1054
1054
  fileName: content.fileName,
1055
1055
  mimeType: content.mimeType,
@@ -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 _chunkLTSTC3N5cjs = require('./chunk-LTSTC3N5.cjs');
4
+ var _chunkVESKITRQcjs = require('./chunk-VESKITRQ.cjs');
5
5
 
6
6
 
7
7
  var _chunkABU3TGXAcjs = require('./chunk-ABU3TGXA.cjs');
@@ -12,10 +12,10 @@ var _chunkABU3TGXAcjs = require('./chunk-ABU3TGXA.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkLDPEQGKTcjs = require('./chunk-LDPEQGKT.cjs');
15
+ var _chunk3MX5S4CFcjs = require('./chunk-3MX5S4CF.cjs');
16
16
 
17
17
 
18
- var _chunkC3BWIU7Rcjs = require('./chunk-C3BWIU7R.cjs');
18
+ var _chunkTYWLNCNHcjs = require('./chunk-TYWLNCNH.cjs');
19
19
 
20
20
 
21
21
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
@@ -39,7 +39,7 @@ var _jsxruntime = require('react/jsx-runtime');
39
39
  function DocSearchResultRow({ result, isHighlighted }) {
40
40
  const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
41
41
  const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
42
- const { Icon: SourceIcon, label: iconLabel } = _chunkLDPEQGKTcjs.resolveSourceIcon.call(void 0, {
42
+ const { Icon: SourceIcon, label: iconLabel } = _chunk3MX5S4CFcjs.resolveSourceIcon.call(void 0, {
43
43
  sourceRepo,
44
44
  documentType: docType
45
45
  });
@@ -69,7 +69,7 @@ function DocSearchBar({
69
69
  renderResult
70
70
  }) {
71
71
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
72
- _chunkLTSTC3N5cjs.SearchInput,
72
+ _chunkVESKITRQcjs.SearchInput,
73
73
  {
74
74
  placeholder,
75
75
  value: query,
@@ -119,7 +119,7 @@ function mapDocSearchResults(docs) {
119
119
  results.push({
120
120
  id: `group-${entry.repo}`,
121
121
  // Same table label and count as the chat's grouped chip: one owner each.
122
- title: `${_chunkLDPEQGKTcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkLDPEQGKTcjs.recordCountLabel.call(void 0, rows.length)}`,
122
+ title: `${_chunk3MX5S4CFcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunk3MX5S4CFcjs.recordCountLabel.call(void 0, rows.length)}`,
123
123
  path: rows[0].path,
124
124
  type: "file",
125
125
  metadata: {
@@ -254,7 +254,7 @@ function useDocSearch(config) {
254
254
  const [query, setQuery] = _react.useState.call(void 0, "");
255
255
  const [results, setResults] = _react.useState.call(void 0, NO_RESULTS);
256
256
  const [isFetching, setIsFetching] = _react.useState.call(void 0, false);
257
- const debouncedQuery = _chunkC3BWIU7Rcjs.useDebounce.call(void 0, query, 300);
257
+ const debouncedQuery = _chunkTYWLNCNHcjs.useDebounce.call(void 0, query, 300);
258
258
  const searchable = debouncedQuery.trim().length >= 2;
259
259
  const [wasSearchable, setWasSearchable] = _react.useState.call(void 0, searchable);
260
260
  if (wasSearchable !== searchable) {
@@ -311,27 +311,27 @@ function useDocSearch(config) {
311
311
  case "navigate-same-tab": {
312
312
  if (wantsNewTab) {
313
313
  setKeepOpen(true);
314
- window.open(action.href, "_blank", _chunkLDPEQGKTcjs.NEW_TAB_FEATURES);
314
+ window.open(action.href, "_blank", _chunk3MX5S4CFcjs.NEW_TAB_FEATURES);
315
315
  return;
316
316
  }
317
317
  setKeepOpen(false);
318
318
  const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
319
319
  if (path && _optionalChain([onInPageSwap, 'optionalCall', _16 => _16(path)])) return;
320
- router.push(_chunkLDPEQGKTcjs.stripSameOriginToPath.call(void 0, action.href));
320
+ router.push(_chunk3MX5S4CFcjs.stripSameOriginToPath.call(void 0, action.href));
321
321
  return;
322
322
  }
323
323
  case "navigate-new-tab":
324
324
  setKeepOpen(true);
325
325
  if (_optionalChain([runtime, 'optionalAccess', _17 => _17.navigation, 'access', _18 => _18.mode]) === "embed") {
326
326
  const targetPlatform = _nullishCoalesce(_optionalChain([result, 'access', _19 => _19.metadata, 'optionalAccess', _20 => _20.targetPlatform]), () => ( null));
327
- _chunkLDPEQGKTcjs.resolveExternalNavigation.call(void 0, {
327
+ _chunk3MX5S4CFcjs.resolveExternalNavigation.call(void 0, {
328
328
  href: action.href,
329
329
  targetPlatform,
330
330
  runtime
331
331
  }).open();
332
332
  return;
333
333
  }
334
- window.open(action.href, "_blank", _chunkLDPEQGKTcjs.NEW_TAB_FEATURES);
334
+ window.open(action.href, "_blank", _chunk3MX5S4CFcjs.NEW_TAB_FEATURES);
335
335
  return;
336
336
  case "ask-ai":
337
337
  setKeepOpen(false);
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import {
3
3
  ContactForm
4
- } from "./chunk-VTASHWER.js";
4
+ } from "./chunk-AQWZNP6A.js";
5
5
  import {
6
6
  DeliveryRow,
7
7
  DevCardRowContent,
8
8
  DevCardRowSkeletonList,
9
9
  DevSectionPage,
10
10
  ListEmptyState
11
- } from "./chunk-FXENTYE5.js";
11
+ } from "./chunk-DW7G4KG3.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-7LFIKJX2.js";
22
+ } from "./chunk-QFXRPRFT.js";
23
23
  import {
24
24
  AlertDialog,
25
25
  AlertDialogAction,
@@ -35,11 +35,11 @@ import {
35
35
  Textarea,
36
36
  TicketAttachmentsList,
37
37
  devSectionAnchorId
38
- } from "./chunk-4KGXLVCF.js";
38
+ } from "./chunk-FCGC42TS.js";
39
39
  import {
40
40
  toast,
41
41
  useScrollToHash
42
- } from "./chunk-IHU5ANUY.js";
42
+ } from "./chunk-MKXO4Q5P.js";
43
43
  import {
44
44
  PAGE_PARAM_LIMITS,
45
45
  pageCount,
@@ -55,11 +55,11 @@ import {
55
55
  formatRelativeTime,
56
56
  useChatAttachments,
57
57
  useChatIdentity
58
- } from "./chunk-2JDVL7UV.js";
58
+ } from "./chunk-7VVFKJY5.js";
59
59
  import {
60
60
  STICKY_HEADER_OFFSET_PX,
61
61
  scrollElementIntoView
62
- } from "./chunk-WUJNYGO2.js";
62
+ } from "./chunk-PDWVPI3S.js";
63
63
  import {
64
64
  usePathname,
65
65
  useRouter,
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkLTSTC3N5cjs = require('./chunk-LTSTC3N5.cjs');
4
+ var _chunkVESKITRQcjs = require('./chunk-VESKITRQ.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkMGGGBHYDcjs = require('./chunk-MGGGBHYD.cjs');
8
+ var _chunk2QEUFXNScjs = require('./chunk-2QEUFXNS.cjs');
9
9
 
10
10
 
11
11
 
@@ -46,7 +46,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
46
46
  ] });
47
47
  }
48
48
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
49
- _chunkLTSTC3N5cjs.EmbedViewerFrame,
49
+ _chunkVESKITRQcjs.EmbedViewerFrame,
50
50
  {
51
51
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
52
52
  title: displayName,
@@ -55,7 +55,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
55
55
  {
56
56
  variant: "outline",
57
57
  size: "small-legacy",
58
- href: _chunkMGGGBHYDcjs.toGoogleSheetsOriginalUrl.call(void 0, externalUrl),
58
+ href: _chunk2QEUFXNScjs.toGoogleSheetsOriginalUrl.call(void 0, externalUrl),
59
59
  openInNewTab: true,
60
60
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.GoogleSheetsIcon, { className: "h-4 w-4" }),
61
61
  rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }),
@@ -63,7 +63,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
63
63
  children: "Open in Google Sheets"
64
64
  }
65
65
  ),
66
- src: _chunkMGGGBHYDcjs.toGoogleSheetsEmbedUrl.call(void 0, externalUrl),
66
+ src: _chunk2QEUFXNScjs.toGoogleSheetsEmbedUrl.call(void 0, externalUrl),
67
67
  height
68
68
  }
69
69
  );
@@ -81,7 +81,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
81
81
  ] });
82
82
  }
83
83
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
84
- _chunkLTSTC3N5cjs.EmbedViewerFrame,
84
+ _chunkVESKITRQcjs.EmbedViewerFrame,
85
85
  {
86
86
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
87
87
  title: displayName,