@arbidocs/blocks 0.4.107 → 0.4.108

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 (75) hide show
  1. package/dist/{NativeDocxEditor-3VKJT43D.js → NativeDocxEditor-UAZUKZ77.js} +3 -3
  2. package/dist/{NativeDocxEditor-3VKJT43D.js.map → NativeDocxEditor-UAZUKZ77.js.map} +1 -1
  3. package/dist/{NativeDocxEditor-GNG5QV7V.cjs → NativeDocxEditor-YX7B7OFH.cjs} +7 -7
  4. package/dist/{NativeDocxEditor-GNG5QV7V.cjs.map → NativeDocxEditor-YX7B7OFH.cjs.map} +1 -1
  5. package/dist/agents/index.cjs +209 -209
  6. package/dist/agents/index.js +4 -4
  7. package/dist/chat/index.cjs +125 -125
  8. package/dist/chat/index.js +3 -3
  9. package/dist/{chunk-RILMICOP.cjs → chunk-24ND4S6Y.cjs} +5 -5
  10. package/dist/{chunk-RILMICOP.cjs.map → chunk-24ND4S6Y.cjs.map} +1 -1
  11. package/dist/{chunk-EB7QAZLH.js → chunk-3Y6NQIDE.js} +5 -5
  12. package/dist/{chunk-EB7QAZLH.js.map → chunk-3Y6NQIDE.js.map} +1 -1
  13. package/dist/{chunk-OR4CO743.cjs → chunk-5YXG342J.cjs} +3 -3
  14. package/dist/{chunk-OR4CO743.cjs.map → chunk-5YXG342J.cjs.map} +1 -1
  15. package/dist/{chunk-2SJTXYRM.js → chunk-A2MN2ZLX.js} +3 -3
  16. package/dist/chunk-A2MN2ZLX.js.map +1 -0
  17. package/dist/{chunk-P5ST47VY.js → chunk-DDF5GPIJ.js} +3 -3
  18. package/dist/{chunk-P5ST47VY.js.map → chunk-DDF5GPIJ.js.map} +1 -1
  19. package/dist/{chunk-LHBJJ2GE.js → chunk-EGDWNEAG.js} +3 -3
  20. package/dist/{chunk-LHBJJ2GE.js.map → chunk-EGDWNEAG.js.map} +1 -1
  21. package/dist/{chunk-PFA43QNX.js → chunk-EWSEQEPL.js} +3 -3
  22. package/dist/{chunk-PFA43QNX.js.map → chunk-EWSEQEPL.js.map} +1 -1
  23. package/dist/{chunk-2PYENCW5.js → chunk-JQVPGMLU.js} +3 -3
  24. package/dist/{chunk-2PYENCW5.js.map → chunk-JQVPGMLU.js.map} +1 -1
  25. package/dist/{chunk-R6APX23R.cjs → chunk-LLFW2T6S.cjs} +11 -11
  26. package/dist/{chunk-R6APX23R.cjs.map → chunk-LLFW2T6S.cjs.map} +1 -1
  27. package/dist/{chunk-O5NDG4EA.cjs → chunk-MP6FK43E.cjs} +3 -3
  28. package/dist/{chunk-O5NDG4EA.cjs.map → chunk-MP6FK43E.cjs.map} +1 -1
  29. package/dist/{chunk-BHKFENKT.cjs → chunk-QT6EGMAJ.cjs} +3 -3
  30. package/dist/chunk-QT6EGMAJ.cjs.map +1 -0
  31. package/dist/{chunk-7NLPKJV5.js → chunk-S7RHJI5Q.js} +3 -3
  32. package/dist/{chunk-7NLPKJV5.js.map → chunk-S7RHJI5Q.js.map} +1 -1
  33. package/dist/{chunk-FZGMY6NQ.cjs → chunk-TTXK62YI.cjs} +5 -5
  34. package/dist/{chunk-FZGMY6NQ.cjs.map → chunk-TTXK62YI.cjs.map} +1 -1
  35. package/dist/{chunk-GFYGYME3.js → chunk-W7NZRZ54.js} +3 -3
  36. package/dist/{chunk-GFYGYME3.js.map → chunk-W7NZRZ54.js.map} +1 -1
  37. package/dist/{chunk-HUJLKDWX.cjs → chunk-XMBYDLZQ.cjs} +4 -4
  38. package/dist/{chunk-HUJLKDWX.cjs.map → chunk-XMBYDLZQ.cjs.map} +1 -1
  39. package/dist/{chunk-WDD255XQ.js → chunk-XQDM6T6C.js} +3 -3
  40. package/dist/{chunk-WDD255XQ.js.map → chunk-XQDM6T6C.js.map} +1 -1
  41. package/dist/{chunk-ZV3BKLFY.cjs → chunk-Z5VUZ6YD.cjs} +3 -3
  42. package/dist/{chunk-ZV3BKLFY.cjs.map → chunk-Z5VUZ6YD.cjs.map} +1 -1
  43. package/dist/{chunk-Q57MEBCK.cjs → chunk-ZYSY4L5L.cjs} +4 -4
  44. package/dist/{chunk-Q57MEBCK.cjs.map → chunk-ZYSY4L5L.cjs.map} +1 -1
  45. package/dist/connect/docx.cjs +6 -6
  46. package/dist/connect/docx.js +4 -4
  47. package/dist/connect/index.cjs +43 -43
  48. package/dist/connect/index.js +8 -8
  49. package/dist/docx/index.cjs +46 -46
  50. package/dist/docx/index.js +3 -3
  51. package/dist/docx/template/HouseTemplate.d.ts +5 -0
  52. package/dist/facts/index.cjs +2 -2
  53. package/dist/facts/index.js +2 -2
  54. package/dist/files/index.cjs +2 -2
  55. package/dist/files/index.js +2 -2
  56. package/dist/home/index.cjs +17 -17
  57. package/dist/home/index.js +3 -3
  58. package/dist/index.cjs +427 -427
  59. package/dist/index.js +7 -7
  60. package/dist/retrieval/index.cjs +1 -1
  61. package/dist/retrieval/index.js +1 -1
  62. package/dist/settings/index.cjs +35 -35
  63. package/dist/settings/index.js +2 -2
  64. package/dist/shell/index.cjs +1 -1
  65. package/dist/shell/index.js +1 -1
  66. package/dist/studio/index.cjs +4 -4
  67. package/dist/studio/index.js +3 -3
  68. package/dist/workflow-canvas/index.cjs +11 -11
  69. package/dist/workflow-canvas/index.js +4 -4
  70. package/dist/workspaces/index.cjs +2 -2
  71. package/dist/workspaces/index.js +2 -2
  72. package/node_modules/@arbidocs/coedit/package.json +1 -1
  73. package/package.json +4 -4
  74. package/dist/chunk-2SJTXYRM.js.map +0 -1
  75. package/dist/chunk-BHKFENKT.cjs.map +0 -1
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkOR4CO743_cjs = require('../chunk-OR4CO743.cjs');
5
- var chunkHUJLKDWX_cjs = require('../chunk-HUJLKDWX.cjs');
6
- var chunkQ57MEBCK_cjs = require('../chunk-Q57MEBCK.cjs');
4
+ var chunk5YXG342J_cjs = require('../chunk-5YXG342J.cjs');
5
+ var chunkXMBYDLZQ_cjs = require('../chunk-XMBYDLZQ.cjs');
6
+ var chunkZYSY4L5L_cjs = require('../chunk-ZYSY4L5L.cjs');
7
7
  var chunkMUMH3Z6K_cjs = require('../chunk-MUMH3Z6K.cjs');
8
8
  var chunkJH6JTI76_cjs = require('../chunk-JH6JTI76.cjs');
9
9
  require('../chunk-S24XEVPS.cjs');
10
- require('../chunk-BHKFENKT.cjs');
10
+ require('../chunk-QT6EGMAJ.cjs');
11
11
  require('../chunk-5FYU7ZIU.cjs');
12
12
  var chunkO4YPVYPO_cjs = require('../chunk-O4YPVYPO.cjs');
13
13
  var chunkSKSE4OT6_cjs = require('../chunk-SKSE4OT6.cjs');
@@ -22,17 +22,17 @@ var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
22
22
  require('../chunk-7D737FLE.cjs');
23
23
  var chunkQVBZESYQ_cjs = require('../chunk-QVBZESYQ.cjs');
24
24
  require('../chunk-ADOKTJHV.cjs');
25
- var chunkO5NDG4EA_cjs = require('../chunk-O5NDG4EA.cjs');
25
+ var chunkMP6FK43E_cjs = require('../chunk-MP6FK43E.cjs');
26
26
  require('../chunk-VGOFFCMT.cjs');
27
27
  require('../chunk-B4SRYJLM.cjs');
28
28
  require('../chunk-7UTB4PHM.cjs');
29
29
  require('../chunk-PPCATBOY.cjs');
30
+ var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
30
31
  var chunkDTBSGG36_cjs = require('../chunk-DTBSGG36.cjs');
31
32
  var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
32
33
  require('../chunk-IXALYQT7.cjs');
33
34
  require('../chunk-FX3K6LNZ.cjs');
34
35
  require('../chunk-MHVNT4J3.cjs');
35
- var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
36
36
  require('../chunk-DES3K4SD.cjs');
37
37
  var react = require('react');
38
38
  var reactQuery = require('@tanstack/react-query');
@@ -328,7 +328,7 @@ function useAnswerRetry(missing, refetch) {
328
328
  function useWorkflowThread(workflow, options = {}) {
329
329
  const arbi = react$1.useArbi();
330
330
  const { ensureWorkspaceOpen, status } = chunkMUMH3Z6K_cjs.useConnection();
331
- const { wsId } = chunkHUJLKDWX_cjs.useWorkspaceDocs();
331
+ const { wsId } = chunkXMBYDLZQ_cjs.useWorkspaceDocs();
332
332
  const [threadId, setThreadId] = react.useState(options.conversationId);
333
333
  const [localInputs, setLocalInputs] = react.useState(
334
334
  () => chunk3US5OIDQ_cjs.initialRunInputs(workflow, options.initialInputs)
@@ -541,7 +541,7 @@ function WorkflowRunThread({
541
541
  if (listed && activeThreadId !== conversationId) selectThread(conversationId);
542
542
  }, [listed, activeThreadId, conversationId, selectThread]);
543
543
  return /* @__PURE__ */ jsxRuntime.jsx(
544
- chunkO5NDG4EA_cjs.ChatPage,
544
+ chunkMP6FK43E_cjs.ChatPage,
545
545
  {
546
546
  chat: { ...chat, threads: chat.threads.filter((t) => t.id === conversationId) },
547
547
  singleThread: true,
@@ -666,7 +666,7 @@ function WorkflowWordDialog({
666
666
  title: title ?? labels.wordTitle,
667
667
  size: "xl",
668
668
  testId: "workflow-word-dialog",
669
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalScaffold.Body, { className: "h-[70dvh] p-0", children: /* @__PURE__ */ jsxRuntime.jsx(chunkQ57MEBCK_cjs.ConnectedNativeDocxEditor, { documentId: id, title: title ?? labels.wordTitle }) })
669
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalScaffold.Body, { className: "h-[70dvh] p-0", children: /* @__PURE__ */ jsxRuntime.jsx(chunkZYSY4L5L_cjs.ConnectedNativeDocxEditor, { documentId: id, title: title ?? labels.wordTitle }) })
670
670
  }
671
671
  );
672
672
  }
@@ -806,7 +806,7 @@ function ConnectedWorkflowRunner({
806
806
  const dl = { ...DEFAULT_WORKFLOW_RUNNER_DIALOG_LABELS, ...dialogLabels };
807
807
  const arbi = react$1.useArbi();
808
808
  const { ensureWorkspaceOpen, user } = chunkMUMH3Z6K_cjs.useConnection();
809
- const { wsId } = chunkHUJLKDWX_cjs.useWorkspaceDocs();
809
+ const { wsId } = chunkXMBYDLZQ_cjs.useWorkspaceDocs();
810
810
  const { data: docs = [], refetch } = react$1.useDocuments(wsId);
811
811
  const [sending, setSending] = react.useState([]);
812
812
  const [added, setAdded] = react.useState({});
@@ -1353,12 +1353,12 @@ function ConnectedProfileCard({ notify: notify3, title = "Profile" }) {
1353
1353
  }
1354
1354
  });
1355
1355
  const display = profile?.fullName || user?.name || "Unnamed";
1356
- return /* @__PURE__ */ jsxRuntime.jsx(chunkOR4CO743_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserCircle, {}), title, children: /* @__PURE__ */ jsxRuntime.jsx(
1357
- chunkOR4CO743_cjs.ProfileCard,
1356
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk5YXG342J_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserCircle, {}), title, children: /* @__PURE__ */ jsxRuntime.jsx(
1357
+ chunk5YXG342J_cjs.ProfileCard,
1358
1358
  {
1359
1359
  avatar: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1360
1360
  /* @__PURE__ */ jsxRuntime.jsx(
1361
- chunkOR4CO743_cjs.AvatarPicker,
1361
+ chunk5YXG342J_cjs.AvatarPicker,
1362
1362
  {
1363
1363
  pictureUrl: profile?.picture ?? user?.picture,
1364
1364
  initials: chunkKDG6FER6_cjs.initials(display),
@@ -1400,9 +1400,9 @@ function ConnectedIdentityVerification({
1400
1400
  onNameAccepted: () => notify3?.("Name updated to match your ID", "success")
1401
1401
  });
1402
1402
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1403
- /* @__PURE__ */ jsxRuntime.jsx(chunkOR4CO743_cjs.IdentityVerificationCard, { flow, labels }),
1403
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5YXG342J_cjs.IdentityVerificationCard, { flow, labels }),
1404
1404
  /* @__PURE__ */ jsxRuntime.jsx(
1405
- chunkOR4CO743_cjs.IdentityVerificationDialog,
1405
+ chunk5YXG342J_cjs.IdentityVerificationDialog,
1406
1406
  {
1407
1407
  flow,
1408
1408
  accountName: profile?.fullName ?? "",
@@ -1414,7 +1414,7 @@ function ConnectedIdentityVerification({
1414
1414
  function ConnectedRequireVerified({ children, labels }) {
1415
1415
  const { data: profile } = react$1.useProfile();
1416
1416
  const flow = react$1.useIdentityVerification();
1417
- return /* @__PURE__ */ jsxRuntime.jsx(chunkOR4CO743_cjs.RequireVerified, { flow, accountName: profile?.fullName ?? "", labels, children });
1417
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk5YXG342J_cjs.RequireVerified, { flow, accountName: profile?.fullName ?? "", labels, children });
1418
1418
  }
1419
1419
  function defaultUnmetPasswordRequirement(password) {
1420
1420
  if (password.length < 8) return "Minimum 8 characters";
@@ -1439,10 +1439,10 @@ function ConnectedSecuritySection({
1439
1439
  },
1440
1440
  onClose: () => setOpen(false)
1441
1441
  });
1442
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkOR4CO743_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.KeyRound, {}), title: "Security", children: [
1443
- /* @__PURE__ */ jsxRuntime.jsxs(chunkOR4CO743_cjs.SettingsCard, { padding: "sm", children: [
1442
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk5YXG342J_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.KeyRound, {}), title: "Security", children: [
1443
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk5YXG342J_cjs.SettingsCard, { padding: "sm", children: [
1444
1444
  /* @__PURE__ */ jsxRuntime.jsx(
1445
- chunkOR4CO743_cjs.SettingsActionRow,
1445
+ chunk5YXG342J_cjs.SettingsActionRow,
1446
1446
  {
1447
1447
  title: "Change password",
1448
1448
  description: "Used to sign in and to unlock your account key. Changing it keeps everything readable and re-encrypts nothing.",
@@ -1453,7 +1453,7 @@ function ConnectedSecuritySection({
1453
1453
  children
1454
1454
  ] }),
1455
1455
  /* @__PURE__ */ jsxRuntime.jsx(
1456
- chunkOR4CO743_cjs.PasswordChangeDialog,
1456
+ chunk5YXG342J_cjs.PasswordChangeDialog,
1457
1457
  {
1458
1458
  open,
1459
1459
  onClose: form.onCancel,
@@ -1476,23 +1476,23 @@ function ConnectedSecuritySection({
1476
1476
  ] });
1477
1477
  }
1478
1478
  function ConnectedNotificationPreferences({
1479
- categories = chunkOR4CO743_cjs.EMAIL_NOTIFICATION_CATEGORIES,
1479
+ categories = chunk5YXG342J_cjs.EMAIL_NOTIFICATION_CATEGORIES,
1480
1480
  title = "Notifications"
1481
1481
  }) {
1482
1482
  const keys = react.useMemo(
1483
- () => categories === chunkOR4CO743_cjs.EMAIL_NOTIFICATION_CATEGORIES ? chunkOR4CO743_cjs.EMAIL_NOTIFICATION_KEYS : categories.map((c) => c.key),
1483
+ () => categories === chunk5YXG342J_cjs.EMAIL_NOTIFICATION_CATEGORIES ? chunk5YXG342J_cjs.EMAIL_NOTIFICATION_KEYS : categories.map((c) => c.key),
1484
1484
  [categories]
1485
1485
  );
1486
1486
  const prefs = react$1.useNotificationPreferences(keys);
1487
- return /* @__PURE__ */ jsxRuntime.jsx(chunkOR4CO743_cjs.SettingsSection, { title, children: /* @__PURE__ */ jsxRuntime.jsx(chunkOR4CO743_cjs.SettingsCard, { className: "space-y-0", children: /* @__PURE__ */ jsxRuntime.jsx(
1488
- chunkOR4CO743_cjs.NotificationCategoryList,
1487
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk5YXG342J_cjs.SettingsSection, { title, children: /* @__PURE__ */ jsxRuntime.jsx(chunk5YXG342J_cjs.SettingsCard, { className: "space-y-0", children: /* @__PURE__ */ jsxRuntime.jsx(
1488
+ chunk5YXG342J_cjs.NotificationCategoryList,
1489
1489
  {
1490
1490
  masterId: "emailNotifications",
1491
1491
  masterTitle: "Email Notifications",
1492
1492
  masterDescription: "Email me about activity when I\u2019m away",
1493
1493
  masterChecked: prefs.masterChecked,
1494
1494
  onMasterChange: prefs.setAll,
1495
- categories: chunkOR4CO743_cjs.toNotificationCategories(prefs.checked, categories),
1495
+ categories: chunk5YXG342J_cjs.toNotificationCategories(prefs.checked, categories),
1496
1496
  onCategoryChange: prefs.setCategory
1497
1497
  }
1498
1498
  ) }) });
@@ -1506,14 +1506,14 @@ function ConnectedSessionsRow({
1506
1506
  const sessions = react$1.useSessions({ enabled: open });
1507
1507
  const currentSessionId = react$1.useCurrentSessionId();
1508
1508
  const terminate = react$1.useTerminateSession();
1509
- const views = chunkOR4CO743_cjs.toActiveSessionViews(sessions.data ?? [], {
1509
+ const views = chunk5YXG342J_cjs.toActiveSessionViews(sessions.data ?? [], {
1510
1510
  currentSessionId,
1511
1511
  terminatingId: terminate.isPending ? terminate.variables : null,
1512
1512
  renderIcon: renderSessionIcon
1513
1513
  });
1514
1514
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1515
1515
  /* @__PURE__ */ jsxRuntime.jsx(
1516
- chunkOR4CO743_cjs.SettingsRow,
1516
+ chunk5YXG342J_cjs.SettingsRow,
1517
1517
  {
1518
1518
  label: "Active sessions",
1519
1519
  description: "Devices and agents currently signed in to your account.",
@@ -1535,7 +1535,7 @@ function ConnectedSessionsRow({
1535
1535
  }
1536
1536
  ),
1537
1537
  /* @__PURE__ */ jsxRuntime.jsx(
1538
- chunkOR4CO743_cjs.ActiveSessionsDialog,
1538
+ chunk5YXG342J_cjs.ActiveSessionsDialog,
1539
1539
  {
1540
1540
  open,
1541
1541
  onOpenChange: setOpen,
@@ -1570,7 +1570,7 @@ function ConnectedLogoutDialog({
1570
1570
  const sessions = react$1.useSessions({ enabled: open });
1571
1571
  const logoutAll = react$1.useLogoutAllSessions();
1572
1572
  return /* @__PURE__ */ jsxRuntime.jsx(
1573
- chunkOR4CO743_cjs.LogoutDialog,
1573
+ chunk5YXG342J_cjs.LogoutDialog,
1574
1574
  {
1575
1575
  open,
1576
1576
  onClose,
@@ -1584,7 +1584,7 @@ function ConnectedLogoutDialog({
1584
1584
  },
1585
1585
  canLogoutAll: true,
1586
1586
  isOnline,
1587
- sessions: chunkOR4CO743_cjs.toLogoutSessionViews(sessions.data ?? []),
1587
+ sessions: chunk5YXG342J_cjs.toLogoutSessionViews(sessions.data ?? []),
1588
1588
  renderSessionIcon
1589
1589
  }
1590
1590
  );
@@ -1603,7 +1603,7 @@ function ConnectedDangerZone({ notify: notify3, renderSubscriptionLink }) {
1603
1603
  });
1604
1604
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1605
1605
  /* @__PURE__ */ jsxRuntime.jsx(
1606
- chunkOR4CO743_cjs.SettingsDangerZone,
1606
+ chunk5YXG342J_cjs.SettingsDangerZone,
1607
1607
  {
1608
1608
  isOpen: zoneOpen,
1609
1609
  onToggle: () => setZoneOpen((o) => !o),
@@ -1623,12 +1623,12 @@ function ConnectedDangerZone({ notify: notify3, renderSubscriptionLink }) {
1623
1623
  }
1624
1624
  ),
1625
1625
  /* @__PURE__ */ jsxRuntime.jsx(
1626
- chunkOR4CO743_cjs.DeleteAccountDialog,
1626
+ chunk5YXG342J_cjs.DeleteAccountDialog,
1627
1627
  {
1628
1628
  open: dialogOpen,
1629
1629
  onClose: flow.onClose,
1630
1630
  step: flow.step,
1631
- blockers: chunkOR4CO743_cjs.toDeleteBlockerViews(flow.blockers, renderSubscriptionLink),
1631
+ blockers: chunk5YXG342J_cjs.toDeleteBlockerViews(flow.blockers, renderSubscriptionLink),
1632
1632
  onContinue: flow.onContinue,
1633
1633
  onBack: flow.onBack,
1634
1634
  userEmail: user?.email ?? "",
@@ -2147,7 +2147,7 @@ var MailBodyEditor = react.lazy(
2147
2147
  }))
2148
2148
  );
2149
2149
  var NativeDocxEditor = react.lazy(
2150
- () => import('../NativeDocxEditor-GNG5QV7V.cjs').then((m) => ({ default: m.NativeDocxEditor }))
2150
+ () => import('../NativeDocxEditor-YX7B7OFH.cjs').then((m) => ({ default: m.NativeDocxEditor }))
2151
2151
  );
2152
2152
  var NO_WORD = {
2153
2153
  adapter: {
@@ -3638,7 +3638,7 @@ function ConnectedMailMessage({
3638
3638
  function ActiveChat({ agentId, workspaceId }) {
3639
3639
  const chat = react$1.useArbiChat({ agentId, workspaceId });
3640
3640
  return /* @__PURE__ */ jsxRuntime.jsx(
3641
- chunkO5NDG4EA_cjs.ChatPage,
3641
+ chunkMP6FK43E_cjs.ChatPage,
3642
3642
  {
3643
3643
  chat: { ...chat, assistantMode: void 0, setAssistantMode: void 0 },
3644
3644
  documentsRequired: false,
@@ -3700,35 +3700,35 @@ function ConnectedAgentChatPanel({
3700
3700
 
3701
3701
  Object.defineProperty(exports, "ConnectedAssistantDock", {
3702
3702
  enumerable: true,
3703
- get: function () { return chunkHUJLKDWX_cjs.ConnectedAssistantDock; }
3703
+ get: function () { return chunkXMBYDLZQ_cjs.ConnectedAssistantDock; }
3704
3704
  });
3705
3705
  Object.defineProperty(exports, "redlineStats", {
3706
3706
  enumerable: true,
3707
- get: function () { return chunkHUJLKDWX_cjs.redlineStats; }
3707
+ get: function () { return chunkXMBYDLZQ_cjs.redlineStats; }
3708
3708
  });
3709
3709
  Object.defineProperty(exports, "textToArtifact", {
3710
3710
  enumerable: true,
3711
- get: function () { return chunkHUJLKDWX_cjs.textToArtifact; }
3711
+ get: function () { return chunkXMBYDLZQ_cjs.textToArtifact; }
3712
3712
  });
3713
3713
  Object.defineProperty(exports, "toRedlineMarkdown", {
3714
3714
  enumerable: true,
3715
- get: function () { return chunkHUJLKDWX_cjs.toRedlineMarkdown; }
3715
+ get: function () { return chunkXMBYDLZQ_cjs.toRedlineMarkdown; }
3716
3716
  });
3717
3717
  Object.defineProperty(exports, "useConnectedAiTask", {
3718
3718
  enumerable: true,
3719
- get: function () { return chunkHUJLKDWX_cjs.useConnectedAiTask; }
3719
+ get: function () { return chunkXMBYDLZQ_cjs.useConnectedAiTask; }
3720
3720
  });
3721
3721
  Object.defineProperty(exports, "useConnectedChat", {
3722
3722
  enumerable: true,
3723
- get: function () { return chunkHUJLKDWX_cjs.useConnectedChat; }
3723
+ get: function () { return chunkXMBYDLZQ_cjs.useConnectedChat; }
3724
3724
  });
3725
3725
  Object.defineProperty(exports, "useSemanticSearch", {
3726
3726
  enumerable: true,
3727
- get: function () { return chunkHUJLKDWX_cjs.useSemanticSearch; }
3727
+ get: function () { return chunkXMBYDLZQ_cjs.useSemanticSearch; }
3728
3728
  });
3729
3729
  Object.defineProperty(exports, "useWorkspaceDocs", {
3730
3730
  enumerable: true,
3731
- get: function () { return chunkHUJLKDWX_cjs.useWorkspaceDocs; }
3731
+ get: function () { return chunkXMBYDLZQ_cjs.useWorkspaceDocs; }
3732
3732
  });
3733
3733
  Object.defineProperty(exports, "ConnectionProvider", {
3734
3734
  enumerable: true,
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import { SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-GFYGYME3.js';
3
- import { useWorkspaceDocs } from '../chunk-WDD255XQ.js';
4
- export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-WDD255XQ.js';
5
- import { ConnectedNativeDocxEditor } from '../chunk-LHBJJ2GE.js';
2
+ import { SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-W7NZRZ54.js';
3
+ import { useWorkspaceDocs } from '../chunk-XQDM6T6C.js';
4
+ export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-XQDM6T6C.js';
5
+ import { ConnectedNativeDocxEditor } from '../chunk-EGDWNEAG.js';
6
6
  import { ConnectionProvider, useConnection } from '../chunk-OYMWV45N.js';
7
7
  export { ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, useConnection } from '../chunk-OYMWV45N.js';
8
8
  import { SignDocumentDialog } from '../chunk-2YOVK524.js';
9
9
  import '../chunk-GYAUJ4KT.js';
10
- import '../chunk-2SJTXYRM.js';
10
+ import '../chunk-A2MN2ZLX.js';
11
11
  import '../chunk-HFZ45FD3.js';
12
12
  import { FilesFilterBar, FolderFilterButton, FolderPickerRow } from '../chunk-7RJTEWYM.js';
13
13
  import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx } from '../chunk-S55VDTX3.js';
@@ -22,17 +22,17 @@ import { FilterInput } from '../chunk-YU2KUMGE.js';
22
22
  import '../chunk-XD2M6LIG.js';
23
23
  import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
24
24
  import '../chunk-VILAPTCB.js';
25
- import { ChatPage } from '../chunk-PFA43QNX.js';
25
+ import { ChatPage } from '../chunk-EWSEQEPL.js';
26
26
  import '../chunk-KZJAG7T3.js';
27
27
  import '../chunk-HOXKR26S.js';
28
28
  import '../chunk-AA3PT6KR.js';
29
29
  import '../chunk-NPLYHR2E.js';
30
+ import { initials } from '../chunk-OXF2IFXG.js';
30
31
  import { PlainMailBodyEditor, draftMailCompose, replyMailCompose, emptyMailCompose, MailGrid, MailMessageView, MailDocumentPicker, parseMailRecipients } from '../chunk-P2KPDPFF.js';
31
32
  import { ModalScaffold } from '../chunk-TX2ZICS7.js';
32
33
  import '../chunk-ZPLG7QYF.js';
33
34
  import '../chunk-SLSBJRWW.js';
34
35
  import '../chunk-7F6CBP3Z.js';
35
- import { initials } from '../chunk-OXF2IFXG.js';
36
36
  import '../chunk-VUNV25KB.js';
37
37
  import { lazy, useState, useMemo, Suspense, useEffect, useRef, useCallback, useLayoutEffect } from 'react';
38
38
  import { QueryClient, QueryClientProvider, useQueryClient, useQuery } from '@tanstack/react-query';
@@ -2147,7 +2147,7 @@ var MailBodyEditor = lazy(
2147
2147
  }))
2148
2148
  );
2149
2149
  var NativeDocxEditor = lazy(
2150
- () => import('../NativeDocxEditor-3VKJT43D.js').then((m) => ({ default: m.NativeDocxEditor }))
2150
+ () => import('../NativeDocxEditor-UAZUKZ77.js').then((m) => ({ default: m.NativeDocxEditor }))
2151
2151
  );
2152
2152
  var NO_WORD = {
2153
2153
  adapter: {
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkFZGMY6NQ_cjs = require('../chunk-FZGMY6NQ.cjs');
4
+ var chunkTTXK62YI_cjs = require('../chunk-TTXK62YI.cjs');
5
5
  var chunkS24XEVPS_cjs = require('../chunk-S24XEVPS.cjs');
6
- var chunkBHKFENKT_cjs = require('../chunk-BHKFENKT.cjs');
6
+ var chunkQT6EGMAJ_cjs = require('../chunk-QT6EGMAJ.cjs');
7
7
  require('../chunk-5FYU7ZIU.cjs');
8
8
  require('../chunk-2A4MDHJR.cjs');
9
9
  require('../chunk-RC25WMVB.cjs');
@@ -62,7 +62,7 @@ function NativeDocxComparison({
62
62
  if (!documentId)
63
63
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "native-docx-error", role: "status", children: "Comparing Word documents\u2026" });
64
64
  return /* @__PURE__ */ jsxRuntime.jsx(
65
- chunkBHKFENKT_cjs.NativeDocxEditor,
65
+ chunkQT6EGMAJ_cjs.NativeDocxEditor,
66
66
  {
67
67
  adapter,
68
68
  documentId,
@@ -74,7 +74,7 @@ function NativeDocxComparison({
74
74
 
75
75
  Object.defineProperty(exports, "StreamedWordArtifact", {
76
76
  enumerable: true,
77
- get: function () { return chunkFZGMY6NQ_cjs.StreamedWordArtifact; }
77
+ get: function () { return chunkTTXK62YI_cjs.StreamedWordArtifact; }
78
78
  });
79
79
  Object.defineProperty(exports, "loadDocxFonts", {
80
80
  enumerable: true,
@@ -82,171 +82,171 @@ Object.defineProperty(exports, "loadDocxFonts", {
82
82
  });
83
83
  Object.defineProperty(exports, "BUILTIN_TEMPLATE_NAME", {
84
84
  enumerable: true,
85
- get: function () { return chunkBHKFENKT_cjs.BUILTIN_TEMPLATE_NAME; }
85
+ get: function () { return chunkQT6EGMAJ_cjs.BUILTIN_TEMPLATE_NAME; }
86
86
  });
87
87
  Object.defineProperty(exports, "CrossReferenceDialog", {
88
88
  enumerable: true,
89
- get: function () { return chunkBHKFENKT_cjs.CrossReferenceDialog; }
89
+ get: function () { return chunkQT6EGMAJ_cjs.CrossReferenceDialog; }
90
90
  });
91
91
  Object.defineProperty(exports, "CrossReferencesProvider", {
92
92
  enumerable: true,
93
- get: function () { return chunkBHKFENKT_cjs.CrossReferencesProvider; }
93
+ get: function () { return chunkQT6EGMAJ_cjs.CrossReferencesProvider; }
94
94
  });
95
95
  Object.defineProperty(exports, "DEFAULT_CROSS_REFERENCES_LABELS", {
96
96
  enumerable: true,
97
- get: function () { return chunkBHKFENKT_cjs.DEFAULT_CROSS_REFERENCES_LABELS; }
97
+ get: function () { return chunkQT6EGMAJ_cjs.DEFAULT_CROSS_REFERENCES_LABELS; }
98
98
  });
99
99
  Object.defineProperty(exports, "DEFAULT_DEFINED_TERMS_LABELS", {
100
100
  enumerable: true,
101
- get: function () { return chunkBHKFENKT_cjs.DEFAULT_DEFINED_TERMS_LABELS; }
101
+ get: function () { return chunkQT6EGMAJ_cjs.DEFAULT_DEFINED_TERMS_LABELS; }
102
102
  });
103
103
  Object.defineProperty(exports, "DEFINED_TERM_TRIGGER", {
104
104
  enumerable: true,
105
- get: function () { return chunkBHKFENKT_cjs.DEFINED_TERM_TRIGGER; }
105
+ get: function () { return chunkQT6EGMAJ_cjs.DEFINED_TERM_TRIGGER; }
106
106
  });
107
107
  Object.defineProperty(exports, "DefinedTermsProvider", {
108
108
  enumerable: true,
109
- get: function () { return chunkBHKFENKT_cjs.DefinedTermsProvider; }
109
+ get: function () { return chunkQT6EGMAJ_cjs.DefinedTermsProvider; }
110
110
  });
111
111
  Object.defineProperty(exports, "DocxAuthorContext", {
112
112
  enumerable: true,
113
- get: function () { return chunkBHKFENKT_cjs.DocxAuthorContext; }
113
+ get: function () { return chunkQT6EGMAJ_cjs.DocxAuthorContext; }
114
114
  });
115
115
  Object.defineProperty(exports, "DocxCommentActivity", {
116
116
  enumerable: true,
117
- get: function () { return chunkBHKFENKT_cjs.DocxCommentActivity; }
117
+ get: function () { return chunkQT6EGMAJ_cjs.DocxCommentActivity; }
118
118
  });
119
119
  Object.defineProperty(exports, "DocxEditorReview", {
120
120
  enumerable: true,
121
- get: function () { return chunkBHKFENKT_cjs.DocxEditorReview; }
121
+ get: function () { return chunkQT6EGMAJ_cjs.DocxEditorReview; }
122
122
  });
123
123
  Object.defineProperty(exports, "DocxMentions", {
124
124
  enumerable: true,
125
- get: function () { return chunkBHKFENKT_cjs.DocxMentions; }
125
+ get: function () { return chunkQT6EGMAJ_cjs.DocxMentions; }
126
126
  });
127
127
  Object.defineProperty(exports, "DocxParticipants", {
128
128
  enumerable: true,
129
- get: function () { return chunkBHKFENKT_cjs.DocxParticipants; }
129
+ get: function () { return chunkQT6EGMAJ_cjs.DocxParticipants; }
130
130
  });
131
131
  Object.defineProperty(exports, "DocxRibbon", {
132
132
  enumerable: true,
133
- get: function () { return chunkBHKFENKT_cjs.DocxRibbon; }
133
+ get: function () { return chunkQT6EGMAJ_cjs.DocxRibbon; }
134
134
  });
135
135
  Object.defineProperty(exports, "GenerateImageButton", {
136
136
  enumerable: true,
137
- get: function () { return chunkBHKFENKT_cjs.GenerateImageButton; }
137
+ get: function () { return chunkQT6EGMAJ_cjs.GenerateImageButton; }
138
138
  });
139
139
  Object.defineProperty(exports, "HouseTemplateProvider", {
140
140
  enumerable: true,
141
- get: function () { return chunkBHKFENKT_cjs.HouseTemplateProvider; }
141
+ get: function () { return chunkQT6EGMAJ_cjs.HouseTemplateProvider; }
142
142
  });
143
143
  Object.defineProperty(exports, "LinkHoverCard", {
144
144
  enumerable: true,
145
- get: function () { return chunkBHKFENKT_cjs.LinkHoverCard; }
145
+ get: function () { return chunkQT6EGMAJ_cjs.LinkHoverCard; }
146
146
  });
147
147
  Object.defineProperty(exports, "NativeDocxEditor", {
148
148
  enumerable: true,
149
- get: function () { return chunkBHKFENKT_cjs.NativeDocxEditor; }
149
+ get: function () { return chunkQT6EGMAJ_cjs.NativeDocxEditor; }
150
150
  });
151
151
  Object.defineProperty(exports, "builtinHouseTemplate", {
152
152
  enumerable: true,
153
- get: function () { return chunkBHKFENKT_cjs.builtinHouseTemplate; }
153
+ get: function () { return chunkQT6EGMAJ_cjs.builtinHouseTemplate; }
154
154
  });
155
155
  Object.defineProperty(exports, "contentPath", {
156
156
  enumerable: true,
157
- get: function () { return chunkBHKFENKT_cjs.contentPath; }
157
+ get: function () { return chunkQT6EGMAJ_cjs.contentPath; }
158
158
  });
159
159
  Object.defineProperty(exports, "editorPort", {
160
160
  enumerable: true,
161
- get: function () { return chunkBHKFENKT_cjs.editorPort; }
161
+ get: function () { return chunkQT6EGMAJ_cjs.editorPort; }
162
162
  });
163
163
  Object.defineProperty(exports, "findDefinitionsSection", {
164
164
  enumerable: true,
165
- get: function () { return chunkBHKFENKT_cjs.findDefinitionsSection; }
165
+ get: function () { return chunkQT6EGMAJ_cjs.findDefinitionsSection; }
166
166
  });
167
167
  Object.defineProperty(exports, "insertCrossReference", {
168
168
  enumerable: true,
169
- get: function () { return chunkBHKFENKT_cjs.insertCrossReference; }
169
+ get: function () { return chunkQT6EGMAJ_cjs.insertCrossReference; }
170
170
  });
171
171
  Object.defineProperty(exports, "insertDefinedTerm", {
172
172
  enumerable: true,
173
- get: function () { return chunkBHKFENKT_cjs.insertDefinedTerm; }
173
+ get: function () { return chunkQT6EGMAJ_cjs.insertDefinedTerm; }
174
174
  });
175
175
  Object.defineProperty(exports, "insertDocumentReference", {
176
176
  enumerable: true,
177
- get: function () { return chunkBHKFENKT_cjs.insertDocumentReference; }
177
+ get: function () { return chunkQT6EGMAJ_cjs.insertDocumentReference; }
178
178
  });
179
179
  Object.defineProperty(exports, "listTargets", {
180
180
  enumerable: true,
181
- get: function () { return chunkBHKFENKT_cjs.listTargets; }
181
+ get: function () { return chunkQT6EGMAJ_cjs.listTargets; }
182
182
  });
183
183
  Object.defineProperty(exports, "normalizeDocxExport", {
184
184
  enumerable: true,
185
- get: function () { return chunkBHKFENKT_cjs.normalizeDocxExport; }
185
+ get: function () { return chunkQT6EGMAJ_cjs.normalizeDocxExport; }
186
186
  });
187
187
  Object.defineProperty(exports, "paragraphNumber", {
188
188
  enumerable: true,
189
- get: function () { return chunkBHKFENKT_cjs.paragraphNumber; }
189
+ get: function () { return chunkQT6EGMAJ_cjs.paragraphNumber; }
190
190
  });
191
191
  Object.defineProperty(exports, "referenceText", {
192
192
  enumerable: true,
193
- get: function () { return chunkBHKFENKT_cjs.referenceText; }
193
+ get: function () { return chunkQT6EGMAJ_cjs.referenceText; }
194
194
  });
195
195
  Object.defineProperty(exports, "referencesPort", {
196
196
  enumerable: true,
197
- get: function () { return chunkBHKFENKT_cjs.referencesPort; }
197
+ get: function () { return chunkQT6EGMAJ_cjs.referencesPort; }
198
198
  });
199
199
  Object.defineProperty(exports, "resolveHouseTemplate", {
200
200
  enumerable: true,
201
- get: function () { return chunkBHKFENKT_cjs.resolveHouseTemplate; }
201
+ get: function () { return chunkQT6EGMAJ_cjs.resolveHouseTemplate; }
202
202
  });
203
203
  Object.defineProperty(exports, "reviewModule", {
204
204
  enumerable: true,
205
- get: function () { return chunkBHKFENKT_cjs.reviewModule; }
205
+ get: function () { return chunkQT6EGMAJ_cjs.reviewModule; }
206
206
  });
207
207
  Object.defineProperty(exports, "shortTitle", {
208
208
  enumerable: true,
209
- get: function () { return chunkBHKFENKT_cjs.shortTitle; }
209
+ get: function () { return chunkQT6EGMAJ_cjs.shortTitle; }
210
210
  });
211
211
  Object.defineProperty(exports, "structuralPort", {
212
212
  enumerable: true,
213
- get: function () { return chunkBHKFENKT_cjs.structuralPort; }
213
+ get: function () { return chunkQT6EGMAJ_cjs.structuralPort; }
214
214
  });
215
215
  Object.defineProperty(exports, "templateFileName", {
216
216
  enumerable: true,
217
- get: function () { return chunkBHKFENKT_cjs.templateFileName; }
217
+ get: function () { return chunkQT6EGMAJ_cjs.templateFileName; }
218
218
  });
219
219
  Object.defineProperty(exports, "trackedOrNoted", {
220
220
  enumerable: true,
221
- get: function () { return chunkBHKFENKT_cjs.trackedOrNoted; }
221
+ get: function () { return chunkQT6EGMAJ_cjs.trackedOrNoted; }
222
222
  });
223
223
  Object.defineProperty(exports, "useCrossReferences", {
224
224
  enumerable: true,
225
- get: function () { return chunkBHKFENKT_cjs.useCrossReferences; }
225
+ get: function () { return chunkQT6EGMAJ_cjs.useCrossReferences; }
226
226
  });
227
227
  Object.defineProperty(exports, "useDefinedTerms", {
228
228
  enumerable: true,
229
- get: function () { return chunkBHKFENKT_cjs.useDefinedTerms; }
229
+ get: function () { return chunkQT6EGMAJ_cjs.useDefinedTerms; }
230
230
  });
231
231
  Object.defineProperty(exports, "useHouseTemplate", {
232
232
  enumerable: true,
233
- get: function () { return chunkBHKFENKT_cjs.useHouseTemplate; }
233
+ get: function () { return chunkQT6EGMAJ_cjs.useHouseTemplate; }
234
234
  });
235
235
  Object.defineProperty(exports, "useReview", {
236
236
  enumerable: true,
237
- get: function () { return chunkBHKFENKT_cjs.useReview; }
237
+ get: function () { return chunkQT6EGMAJ_cjs.useReview; }
238
238
  });
239
239
  Object.defineProperty(exports, "useReviewItem", {
240
240
  enumerable: true,
241
- get: function () { return chunkBHKFENKT_cjs.useReviewItem; }
241
+ get: function () { return chunkQT6EGMAJ_cjs.useReviewItem; }
242
242
  });
243
243
  Object.defineProperty(exports, "useTrackedOrNoted", {
244
244
  enumerable: true,
245
- get: function () { return chunkBHKFENKT_cjs.useTrackedOrNoted; }
245
+ get: function () { return chunkQT6EGMAJ_cjs.useTrackedOrNoted; }
246
246
  });
247
247
  Object.defineProperty(exports, "withDirectEditing", {
248
248
  enumerable: true,
249
- get: function () { return chunkBHKFENKT_cjs.withDirectEditing; }
249
+ get: function () { return chunkQT6EGMAJ_cjs.withDirectEditing; }
250
250
  });
251
251
  Object.defineProperty(exports, "DocxEditor", {
252
252
  enumerable: true,
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- export { StreamedWordArtifact } from '../chunk-2PYENCW5.js';
2
+ export { StreamedWordArtifact } from '../chunk-JQVPGMLU.js';
3
3
  export { loadDocxFonts } from '../chunk-GYAUJ4KT.js';
4
- import { NativeDocxEditor } from '../chunk-2SJTXYRM.js';
5
- export { BUILTIN_TEMPLATE_NAME, CrossReferenceDialog, CrossReferencesProvider, DEFAULT_CROSS_REFERENCES_LABELS, DEFAULT_DEFINED_TERMS_LABELS, DEFINED_TERM_TRIGGER, DefinedTermsProvider, DocxAuthorContext, DocxCommentActivity, DocxEditorReview, DocxMentions, DocxParticipants, DocxRibbon, GenerateImageButton, HouseTemplateProvider, LinkHoverCard, NativeDocxEditor, builtinHouseTemplate, contentPath, editorPort, findDefinitionsSection, insertCrossReference, insertDefinedTerm, insertDocumentReference, listTargets, normalizeDocxExport, paragraphNumber, referenceText, referencesPort, resolveHouseTemplate, reviewModule, shortTitle, structuralPort, templateFileName, trackedOrNoted, useCrossReferences, useDefinedTerms, useHouseTemplate, useReview, useReviewItem, useTrackedOrNoted, withDirectEditing } from '../chunk-2SJTXYRM.js';
4
+ import { NativeDocxEditor } from '../chunk-A2MN2ZLX.js';
5
+ export { BUILTIN_TEMPLATE_NAME, CrossReferenceDialog, CrossReferencesProvider, DEFAULT_CROSS_REFERENCES_LABELS, DEFAULT_DEFINED_TERMS_LABELS, DEFINED_TERM_TRIGGER, DefinedTermsProvider, DocxAuthorContext, DocxCommentActivity, DocxEditorReview, DocxMentions, DocxParticipants, DocxRibbon, GenerateImageButton, HouseTemplateProvider, LinkHoverCard, NativeDocxEditor, builtinHouseTemplate, contentPath, editorPort, findDefinitionsSection, insertCrossReference, insertDefinedTerm, insertDocumentReference, listTargets, normalizeDocxExport, paragraphNumber, referenceText, referencesPort, resolveHouseTemplate, reviewModule, shortTitle, structuralPort, templateFileName, trackedOrNoted, useCrossReferences, useDefinedTerms, useHouseTemplate, useReview, useReviewItem, useTrackedOrNoted, withDirectEditing } from '../chunk-A2MN2ZLX.js';
6
6
  import '../chunk-HFZ45FD3.js';
7
7
  import '../chunk-EPHGD4YV.js';
8
8
  import '../chunk-AF6RDAJF.js';
@@ -25,6 +25,11 @@ export interface HouseTemplateHost {
25
25
  * (a workspace owner) and the server stores house templates.
26
26
  */
27
27
  setFromDocument?: (documentId: string) => Promise<void>;
28
+ /**
29
+ * Whether a document may be the house template (a shared Word document, of this workspace or a
30
+ * public one). When it is not, the Design tab does not offer to make it one. Absent: any may.
31
+ */
32
+ isEligible?: (documentId: string) => boolean;
28
33
  }
29
34
  export declare const BUILTIN_TEMPLATE_NAME = "ARBI legal template";
30
35
  /** The file name a document records as its attached template (`w:attachedTemplate`). */
@@ -10,11 +10,11 @@ var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
10
10
  var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
11
11
  var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
12
12
  var chunkPPCATBOY_cjs = require('../chunk-PPCATBOY.cjs');
13
+ require('../chunk-C54XEN5T.cjs');
14
+ var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
13
15
  var chunkIXALYQT7_cjs = require('../chunk-IXALYQT7.cjs');
14
16
  require('../chunk-FX3K6LNZ.cjs');
15
17
  var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
16
- require('../chunk-C54XEN5T.cjs');
17
- var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
18
18
  require('../chunk-DES3K4SD.cjs');
19
19
  var lucideReact = require('lucide-react');
20
20
  var ui = require('@arbidocs/react/ui');
@@ -10,11 +10,11 @@ import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
10
10
  import { FilterInput } from '../chunk-YU2KUMGE.js';
11
11
  export { DEFAULT_FILTER_INPUT_LABELS as DEFAULT_FACTS_FILTER_INPUT_LABELS, DEFAULT_FILTER_FIELDS as FACTS_SEARCH_FIELD_OPTIONS, FilterInput as FactsFilterInput } from '../chunk-YU2KUMGE.js';
12
12
  import { observeResize } from '../chunk-NPLYHR2E.js';
13
+ import '../chunk-76JDDMSP.js';
14
+ import { initials } from '../chunk-OXF2IFXG.js';
13
15
  import { GridView } from '../chunk-ZPLG7QYF.js';
14
16
  import '../chunk-SLSBJRWW.js';
15
17
  import { testIdOr } from '../chunk-7F6CBP3Z.js';
16
- import '../chunk-76JDDMSP.js';
17
- import { initials } from '../chunk-OXF2IFXG.js';
18
18
  import '../chunk-VUNV25KB.js';
19
19
  import { PencilLine, Check, MoreVertical, Pencil, Trash2, CalendarDays, X, Columns3, ChevronDown, RotateCcw, Milestone, CalendarClock, Scale, Lightbulb, ArrowRight, Loader2, Info, Paperclip, Tags, MoreHorizontal, FolderUp, BookMarked, Plus, Search, CheckCircle2, CornerDownLeft, Quote, ChevronLeft, ChevronRight, Table2, CalendarRange, GanttChartSquare } from 'lucide-react';
20
20
  import { Popover, PopoverTrigger, PopoverContent, Command, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, cn, Input, Button, CommandSeparator, Tooltip, TooltipTrigger, TooltipContent } from '@arbidocs/react/ui';