@flamingo-stack/openframe-frontend-core 0.0.764 → 0.0.765

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 (41) hide show
  1. package/dist/{chunk-RYSNH2VY.cjs → chunk-2OPYWMAV.cjs} +25 -25
  2. package/dist/{chunk-JD7CL2I6.cjs → chunk-2Y36SQSZ.cjs} +4 -4
  3. package/dist/{chunk-JJ2S6C5U.cjs → chunk-B3W7RCQF.cjs} +16 -16
  4. package/dist/{chunk-7GUWPGB4.cjs → chunk-BVA7YX4P.cjs} +16 -16
  5. package/dist/{chunk-VL6IXTAI.cjs → chunk-FMH2DYBC.cjs} +178 -178
  6. package/dist/{chunk-FQWBIKF4.cjs → chunk-JB424IQK.cjs} +15 -15
  7. package/dist/{chunk-ZG6F5A3A.cjs → chunk-MDB65HQC.cjs} +15 -15
  8. package/dist/{chunk-5AV5R5RC.cjs → chunk-PYK4ZSEZ.cjs} +2 -2
  9. package/dist/{chunk-XFNWHCRM.cjs → chunk-QQ7LKNNP.cjs} +3 -3
  10. package/dist/{chunk-IDGOMHTC.cjs → chunk-RQQVN7LC.cjs} +33 -33
  11. package/dist/{chunk-RM6AHNM4.cjs → chunk-UI2TLQWA.cjs} +2 -2
  12. package/dist/{chunk-LNGR4DXA.cjs → chunk-VLJFAGMR.cjs} +7 -7
  13. package/dist/{chunk-2IFCRPNP.cjs → chunk-WA4X55XY.cjs} +10 -1
  14. package/dist/{cloud-tenants-N5CLYDPU.cjs → cloud-tenants-6PSTDE3F.cjs} +3 -3
  15. package/dist/components/case-studies/index.cjs +11 -11
  16. package/dist/components/contact/index.cjs +4 -4
  17. package/dist/components/docs/index.cjs +6 -6
  18. package/dist/components/embeds/index.cjs +4 -4
  19. package/dist/components/faq/index.cjs +4 -4
  20. package/dist/components/features/index.cjs +3 -3
  21. package/dist/components/help-center-pages/index.cjs +51 -51
  22. package/dist/components/index.cjs +19 -19
  23. package/dist/components/meeting-scheduler/index.cjs +21 -21
  24. package/dist/components/navigation/index.cjs +4 -4
  25. package/dist/components/onboarding-guides/index.cjs +6 -6
  26. package/dist/components/product-demo/index.cjs +8 -8
  27. package/dist/components/tickets/index.cjs +6 -6
  28. package/dist/components/ui/index.cjs +3 -3
  29. package/dist/components/ui/page-actions.d.ts +2 -1
  30. package/dist/components/ui/page-actions.d.ts.map +1 -1
  31. package/dist/components/ui/page-actions.js +10 -1
  32. package/dist/{devices-557PMFDC.cjs → devices-O5PZ4IR6.cjs} +4 -4
  33. package/dist/index.cjs +4 -4
  34. package/dist/{knowledge-4JTOUDAR.cjs → knowledge-4OU73KTO.cjs} +3 -3
  35. package/dist/{logs-7YWAOPZ2.cjs → logs-R6ZH32UU.cjs} +11 -11
  36. package/dist/{policies-W5JEPQTA.cjs → policies-XN4TDX3G.cjs} +7 -7
  37. package/dist/{remote-session-F72S6I7J.cjs → remote-session-7NSC7DI5.cjs} +4 -4
  38. package/dist/{scripts-FY5IPOIM.cjs → scripts-53VHKMY3.cjs} +10 -10
  39. package/dist/{software-update-5BOGZOHG.cjs → software-update-KLJSMAUM.cjs} +7 -7
  40. package/package.json +1 -1
  41. package/src/components/ui/page-actions.tsx +26 -2
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunk7GUWPGB4cjs = require('./chunk-7GUWPGB4.cjs');
4
+ var _chunkBVA7YX4Pcjs = require('./chunk-BVA7YX4P.cjs');
5
5
 
6
6
 
7
7
 
@@ -9,7 +9,7 @@ var _chunk7GUWPGB4cjs = require('./chunk-7GUWPGB4.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkLNGR4DXAcjs = require('./chunk-LNGR4DXA.cjs');
12
+ var _chunkVLJFAGMRcjs = require('./chunk-VLJFAGMR.cjs');
13
13
 
14
14
 
15
15
 
@@ -33,7 +33,7 @@ var _chunkPERN37KOcjs = require('./chunk-PERN37KO.cjs');
33
33
 
34
34
 
35
35
 
36
- var _chunkVL6IXTAIcjs = require('./chunk-VL6IXTAI.cjs');
36
+ var _chunkFMH2DYBCcjs = require('./chunk-FMH2DYBC.cjs');
37
37
 
38
38
 
39
39
 
@@ -672,7 +672,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
672
672
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
673
673
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "ticket-content", className: "mb-1 block text-ods-text-primary text-h6", children: "Your Message" }),
674
674
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
675
- _chunkVL6IXTAIcjs.Textarea,
675
+ _chunkFMH2DYBCcjs.Textarea,
676
676
  {
677
677
  id: "ticket-content",
678
678
  placeholder: "Describe your issue or question in detail...",
@@ -802,7 +802,7 @@ function TicketLinkedDeliveryCard({ clickup, className }) {
802
802
  dateClosed: clickup.date_closed,
803
803
  clickupUrl: _nullishCoalesce(clickup.clickup_url, () => ( ""))
804
804
  };
805
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunk22XAPV6Ncjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLNGR4DXAcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
805
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunk22XAPV6Ncjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVLJFAGMRcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
806
806
  }
807
807
 
808
808
  // src/components/tickets/ticket-reply-composer.tsx
@@ -884,13 +884,13 @@ function TicketReplyComposer({
884
884
  }
885
885
  )
886
886
  ] }),
887
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL6IXTAIcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVL6IXTAIcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
888
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVL6IXTAIcjs.AlertDialogHeader, { children: [
889
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL6IXTAIcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
890
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL6IXTAIcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
887
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFMH2DYBCcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
888
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFMH2DYBCcjs.AlertDialogHeader, { children: [
889
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
890
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
891
891
  ] }),
892
892
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
893
- _chunkVL6IXTAIcjs.Textarea,
893
+ _chunkFMH2DYBCcjs.Textarea,
894
894
  {
895
895
  value: resolution,
896
896
  onChange: (e) => setResolution(e.target.value),
@@ -900,9 +900,9 @@ function TicketReplyComposer({
900
900
  className: "mt-2"
901
901
  }
902
902
  ),
903
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVL6IXTAIcjs.AlertDialogFooter, { children: [
903
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFMH2DYBCcjs.AlertDialogFooter, { children: [
904
904
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
905
- _chunkVL6IXTAIcjs.AlertDialogCancel,
905
+ _chunkFMH2DYBCcjs.AlertDialogCancel,
906
906
  {
907
907
  disabled: busy,
908
908
  className: "border-ods-border bg-transparent text-ods-text-primary hover:bg-ods-border",
@@ -910,7 +910,7 @@ function TicketReplyComposer({
910
910
  }
911
911
  ),
912
912
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
913
- _chunkVL6IXTAIcjs.AlertDialogAction,
913
+ _chunkFMH2DYBCcjs.AlertDialogAction,
914
914
  {
915
915
  onClick: () => void confirmClose(),
916
916
  disabled: busy,
@@ -1068,7 +1068,7 @@ function TicketTimelinePanel({ ticket }) {
1068
1068
  avatarUrl: avatarSrc,
1069
1069
  timeLabel: eng.createdAt ? _chunkBIA77I6Bcjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
1070
1070
  body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
1071
- footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL6IXTAIcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
1071
+ footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
1072
1072
  },
1073
1073
  eng.id
1074
1074
  );
@@ -1307,7 +1307,7 @@ function TicketCenterAuthed({
1307
1307
  const toggleRow = _react.useCallback.call(void 0, (id) => {
1308
1308
  setExpandedTicketId((prev) => prev === id ? null : id);
1309
1309
  }, []);
1310
- const syncInPage = _chunkLNGR4DXAcjs.usePageDataSync.call(void 0, sync, isLoading);
1310
+ const syncInPage = _chunkVLJFAGMRcjs.usePageDataSync.call(void 0, sync, isLoading);
1311
1311
  const merged = [...optimisticTickets, ...tickets];
1312
1312
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-6", children: [
1313
1313
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1322,7 +1322,7 @@ function TicketCenterAuthed({
1322
1322
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-3", children: [
1323
1323
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h5", children: "Your Current Tickets" }),
1324
1324
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 text-ods-text-secondary text-h6", children: [
1325
- !syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL6IXTAIcjs.DataSyncLine, { sync, inline: true }),
1325
+ !syncInPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.DataSyncLine, { sync, inline: true }),
1326
1326
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1327
1327
  _chunk2QMBXGMQcjs.Button,
1328
1328
  {
@@ -1480,7 +1480,7 @@ function HelpCenterCard({
1480
1480
  "aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
1481
1481
  className: "w-full p-[12px] text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent disabled:cursor-default content-md:p-[16px]",
1482
1482
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1483
- _chunkLNGR4DXAcjs.DevCardRowContent,
1483
+ _chunkVLJFAGMRcjs.DevCardRowContent,
1484
1484
  {
1485
1485
  title,
1486
1486
  subtitle,
@@ -1591,7 +1591,7 @@ function HelpCenterCreateForm({
1591
1591
  subjectError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "help-center-subject-error", className: "mt-1 text-ods-error text-h6", children: subjectError })
1592
1592
  ] });
1593
1593
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1594
- _chunk7GUWPGB4cjs.ContactForm,
1594
+ _chunkBVA7YX4Pcjs.ContactForm,
1595
1595
  {
1596
1596
  rescue: null,
1597
1597
  title: "Open a new ticket",
@@ -1640,19 +1640,19 @@ function HelpCenterList({ toast: toast2 = _chunkXCH7SPGIcjs.toast, backButton, t
1640
1640
  const page = _chunkBLH2SFOOcjs.positiveInt.call(void 0, searchParams.get("page"), 1);
1641
1641
  if (identity.isLoading) {
1642
1642
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1643
- _chunkLNGR4DXAcjs.DevSectionPage,
1643
+ _chunkVLJFAGMRcjs.DevSectionPage,
1644
1644
  {
1645
1645
  sectionKey: "tickets",
1646
1646
  backButton,
1647
1647
  title,
1648
1648
  shell,
1649
1649
  preControls: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCreateFormSkeleton, {}),
1650
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLNGR4DXAcjs.DevCardRowSkeletonList, {})
1650
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVLJFAGMRcjs.DevCardRowSkeletonList, {})
1651
1651
  }
1652
1652
  );
1653
1653
  }
1654
1654
  if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _67 => _67.user, 'optionalAccess', _68 => _68.email])) {
1655
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLNGR4DXAcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1655
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVLJFAGMRcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1656
1656
  _chunkTSJUL6IHcjs.EmptyState,
1657
1657
  {
1658
1658
  type: "generic",
@@ -1782,15 +1782,15 @@ function HelpCenterListAuthed({
1782
1782
  ] }),
1783
1783
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
1784
1784
  ] }),
1785
- !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLNGR4DXAcjs.DevCardRowSkeletonList, {}) : !hasResults && isFetching ? (
1785
+ !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVLJFAGMRcjs.DevCardRowSkeletonList, {}) : !hasResults && isFetching ? (
1786
1786
  // Bridge state — background refetch in flight and the
1787
1787
  // optimistic placeholder was just removed by the mutation
1788
1788
  // callback. Without this branch "No tickets yet" would flash
1789
1789
  // for ~50ms between `removeOptimistic` and the server
1790
1790
  // response landing.
1791
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLNGR4DXAcjs.DevCardRowSkeletonList, { rows: 1 })
1791
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVLJFAGMRcjs.DevCardRowSkeletonList, { rows: 1 })
1792
1792
  ) : !hasResults ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1793
- _chunkLNGR4DXAcjs.ListEmptyState,
1793
+ _chunkVLJFAGMRcjs.ListEmptyState,
1794
1794
  {
1795
1795
  isFiltered: hasActiveFilters,
1796
1796
  filtered: {
@@ -1839,7 +1839,7 @@ function HelpCenterListAuthed({
1839
1839
  ) }),
1840
1840
  !error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTSJUL6IHcjs.UnifiedPagination, { currentPage: page, totalPages })
1841
1841
  ] });
1842
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLNGR4DXAcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
1842
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVLJFAGMRcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
1843
1843
  }
1844
1844
 
1845
1845
 
@@ -4,10 +4,10 @@
4
4
  var _chunk3FC6AKEJcjs = require('./chunk-3FC6AKEJ.cjs');
5
5
 
6
6
 
7
- var _chunkVL6IXTAIcjs = require('./chunk-VL6IXTAI.cjs');
7
+ var _chunkFMH2DYBCcjs = require('./chunk-FMH2DYBC.cjs');
8
8
 
9
9
 
10
- var _chunk2IFCRPNPcjs = require('./chunk-2IFCRPNP.cjs');
10
+ var _chunkWA4X55XYcjs = require('./chunk-WA4X55XY.cjs');
11
11
 
12
12
 
13
13
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
@@ -34,7 +34,7 @@ function FaqDocumentPage({
34
34
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _ => _.label]), () => ( "Back to home")),
35
35
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
36
36
  };
37
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
37
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWA4X55XYcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38
38
  _chunk3FC6AKEJcjs.FaqSection,
39
39
  {
40
40
  initialFaqs,
@@ -49,7 +49,7 @@ function FaqDocumentPage({
49
49
  ask
50
50
  }
51
51
  ) });
52
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL6IXTAIcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
52
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
53
53
  }
54
54
 
55
55
 
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkXFNWHCRMcjs = require('./chunk-XFNWHCRM.cjs');
6
+ var _chunkQQ7LKNNPcjs = require('./chunk-QQ7LKNNP.cjs');
7
7
 
8
8
 
9
9
 
@@ -13,7 +13,7 @@ var _chunkNJS7FQRWcjs = require('./chunk-NJS7FQRW.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunk5AV5R5RCcjs = require('./chunk-5AV5R5RC.cjs');
16
+ var _chunkPYK4ZSEZcjs = require('./chunk-PYK4ZSEZ.cjs');
17
17
 
18
18
 
19
19
 
@@ -21,10 +21,10 @@ var _chunk5AV5R5RCcjs = require('./chunk-5AV5R5RC.cjs');
21
21
 
22
22
 
23
23
 
24
- var _chunkVL6IXTAIcjs = require('./chunk-VL6IXTAI.cjs');
24
+ var _chunkFMH2DYBCcjs = require('./chunk-FMH2DYBC.cjs');
25
25
 
26
26
 
27
- var _chunk2IFCRPNPcjs = require('./chunk-2IFCRPNP.cjs');
27
+ var _chunkWA4X55XYcjs = require('./chunk-WA4X55XY.cjs');
28
28
 
29
29
 
30
30
 
@@ -348,7 +348,7 @@ function toDocContent(value, requestedPath) {
348
348
  function toDataSync(value) {
349
349
  if (!isRecord(value)) return void 0;
350
350
  const source = readString(value, "source");
351
- if (!_chunkVL6IXTAIcjs.isDataSyncSource.call(void 0, source)) return void 0;
351
+ if (!_chunkFMH2DYBCcjs.isDataSyncSource.call(void 0, source)) return void 0;
352
352
  return { source, syncedAt: _nullishCoalesce(readString(value, "syncedAt"), () => ( null)) };
353
353
  }
354
354
  function useDocumentTree(config, initialPath) {
@@ -748,7 +748,7 @@ function DocViewerContent({
748
748
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
749
749
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
750
750
  };
751
- const docSearch = _chunk5AV5R5RCcjs.useDocSearch.call(void 0, {
751
+ const docSearch = _chunkPYK4ZSEZcjs.useDocSearch.call(void 0, {
752
752
  source: chatSource,
753
753
  baseRoute,
754
754
  searchEndpoint,
@@ -783,10 +783,10 @@ function DocViewerContent({
783
783
  const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
784
784
  const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
785
785
  const resolvedEmptyText = emptyStateText || defaultEmptyText;
786
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.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: [
787
- synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL6IXTAIcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: isLoadingContent && !content }),
786
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWA4X55XYcjs.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: [
787
+ synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: isLoadingContent && !content }),
788
788
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
789
- _chunk5AV5R5RCcjs.DocSearchBar,
789
+ _chunkPYK4ZSEZcjs.DocSearchBar,
790
790
  {
791
791
  placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _20 => _20.toLowerCase, 'call', _21 => _21()]) || "documents"}...`,
792
792
  query: docSearch.query,
@@ -805,7 +805,7 @@ function DocViewerContent({
805
805
  ] })
806
806
  ] }) }),
807
807
  !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: [
808
- /* @__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, _chunkVL6IXTAIcjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
808
+ /* @__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, _chunkFMH2DYBCcjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
809
809
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
810
810
  _chunkNJS7FQRWcjs.MobileNavigationDropdown,
811
811
  {
@@ -875,7 +875,7 @@ function DocViewerContent({
875
875
  ) })
876
876
  ] })
877
877
  ] }) }) });
878
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL6IXTAIcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
878
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
879
879
  }
880
880
 
881
881
  // src/components/docs/skeletons.tsx
@@ -961,7 +961,7 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
961
961
  ] }),
962
962
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-full flex-1 rounded content-sm:w-32 content-sm:flex-initial" }, i)) })
963
963
  ] }),
964
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL6IXTAIcjs.EmbedLoadingSkeleton, { region: false })
964
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.EmbedLoadingSkeleton, { region: false })
965
965
  ] });
966
966
  }
967
967
 
@@ -969,11 +969,11 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
969
969
 
970
970
  var DEFAULT_TITLE = "Documents";
971
971
  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" }) });
972
- var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFNWHCRMcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
973
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFNWHCRMcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
974
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL6IXTAIcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
972
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQQ7LKNNPcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
973
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQQ7LKNNPcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
974
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
975
975
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
976
- _chunkXFNWHCRMcjs.FileDownloadCard,
976
+ _chunkQQ7LKNNPcjs.FileDownloadCard,
977
977
  {
978
978
  fileName: content.fileName,
979
979
  mimeType: content.mimeType,
@@ -2,14 +2,14 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkVL6IXTAIcjs = require('./chunk-VL6IXTAI.cjs');
5
+ var _chunkFMH2DYBCcjs = require('./chunk-FMH2DYBC.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunk2IFCRPNPcjs = require('./chunk-2IFCRPNP.cjs');
12
+ var _chunkWA4X55XYcjs = require('./chunk-WA4X55XY.cjs');
13
13
 
14
14
 
15
15
 
@@ -209,7 +209,7 @@ function ContactForm({
209
209
  !showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
210
210
  !showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
211
211
  !showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
212
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVL6IXTAIcjs.HoneypotField, { ...honeypotInputProps }),
212
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMH2DYBCcjs.HoneypotField, { ...honeypotInputProps }),
213
213
  extraTopField,
214
214
  showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
215
215
  showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
@@ -261,17 +261,17 @@ function ContactForm({
261
261
  {
262
262
  control,
263
263
  name: "companySize",
264
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2IFCRPNPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
264
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWA4X55XYcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
265
265
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
266
- _chunk2IFCRPNPcjs.SelectTrigger,
266
+ _chunkWA4X55XYcjs.SelectTrigger,
267
267
  {
268
268
  id: "companySize",
269
269
  "aria-label": "Company Size",
270
270
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
271
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectValue, { placeholder: "Select company size" })
271
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWA4X55XYcjs.SelectValue, { placeholder: "Select company size" })
272
272
  }
273
273
  ),
274
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectItem, { value: opt, children: opt }, opt)) })
274
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWA4X55XYcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWA4X55XYcjs.SelectItem, { value: opt, children: opt }, opt)) })
275
275
  ] })
276
276
  }
277
277
  ),
@@ -284,17 +284,17 @@ function ContactForm({
284
284
  {
285
285
  control,
286
286
  name: "referralSource",
287
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2IFCRPNPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
287
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWA4X55XYcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
288
288
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
289
- _chunk2IFCRPNPcjs.SelectTrigger,
289
+ _chunkWA4X55XYcjs.SelectTrigger,
290
290
  {
291
291
  id: "referralSource",
292
292
  "aria-label": "Referral Source",
293
293
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
294
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectValue, { placeholder: "Select an option" })
294
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWA4X55XYcjs.SelectValue, { placeholder: "Select an option" })
295
295
  }
296
296
  ),
297
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectItem, { value: opt, children: opt }, opt)) })
297
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWA4X55XYcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWA4X55XYcjs.SelectItem, { value: opt, children: opt }, opt)) })
298
298
  ] })
299
299
  }
300
300
  ),
@@ -311,18 +311,18 @@ function ContactForm({
311
311
  {
312
312
  control,
313
313
  name: "helpCategory",
314
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2IFCRPNPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
314
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWA4X55XYcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
315
315
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
316
- _chunk2IFCRPNPcjs.SelectTrigger,
316
+ _chunkWA4X55XYcjs.SelectTrigger,
317
317
  {
318
318
  id: "helpCategory",
319
319
  "aria-label": "Help Category",
320
320
  "aria-required": true,
321
321
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
322
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectValue, { placeholder: "Choose your main interest" })
322
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWA4X55XYcjs.SelectValue, { placeholder: "Choose your main interest" })
323
323
  }
324
324
  ),
325
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IFCRPNPcjs.SelectItem, { value: opt, children: opt }, opt)) })
325
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWA4X55XYcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWA4X55XYcjs.SelectItem, { value: opt, children: opt }, opt)) })
326
326
  ] })
327
327
  }
328
328
  ),
@@ -334,7 +334,7 @@ function ContactForm({
334
334
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTRILBJDcjs.RequiredMark, {})
335
335
  ] }),
336
336
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
337
- _chunkVL6IXTAIcjs.Textarea,
337
+ _chunkFMH2DYBCcjs.Textarea,
338
338
  {
339
339
  id: "message",
340
340
  ...register("message"),