@arbidocs/blocks 0.4.146 → 0.4.150

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 (357) hide show
  1. package/dist/ConnectedNativeDocxComparison-3XQSINPQ.cjs +44 -0
  2. package/dist/ConnectedNativeDocxComparison-3XQSINPQ.cjs.map +1 -0
  3. package/dist/ConnectedNativeDocxComparison-XQSXVGHR.js +35 -0
  4. package/dist/ConnectedNativeDocxComparison-XQSXVGHR.js.map +1 -0
  5. package/dist/ConnectedNativeDocxEditor-IPEZDERL.js +33 -0
  6. package/dist/ConnectedNativeDocxEditor-IPEZDERL.js.map +1 -0
  7. package/dist/ConnectedNativeDocxEditor-OUWFMIPH.cjs +46 -0
  8. package/dist/ConnectedNativeDocxEditor-OUWFMIPH.cjs.map +1 -0
  9. package/dist/ConnectedStreamedWordArtifact-D5LSMDO4.cjs +44 -0
  10. package/dist/ConnectedStreamedWordArtifact-D5LSMDO4.cjs.map +1 -0
  11. package/dist/ConnectedStreamedWordArtifact-UZVNBKQB.js +35 -0
  12. package/dist/ConnectedStreamedWordArtifact-UZVNBKQB.js.map +1 -0
  13. package/dist/FactTextEditor-YESAU2IJ.js +25 -0
  14. package/dist/FactTextEditor-YESAU2IJ.js.map +1 -0
  15. package/dist/FactTextEditor-YUPBCTXK.cjs +27 -0
  16. package/dist/FactTextEditor-YUPBCTXK.cjs.map +1 -0
  17. package/dist/{NativeDocxEditor-BE2OEOTJ.cjs → NativeDocxEditor-5VBNM5I7.cjs} +8 -8
  18. package/dist/{NativeDocxEditor-BE2OEOTJ.cjs.map → NativeDocxEditor-5VBNM5I7.cjs.map} +1 -1
  19. package/dist/{NativeDocxEditor-KOPFMRYW.js → NativeDocxEditor-XT5ZLFGU.js} +4 -4
  20. package/dist/{NativeDocxEditor-KOPFMRYW.js.map → NativeDocxEditor-XT5ZLFGU.js.map} +1 -1
  21. package/dist/agents/index.cjs +265 -266
  22. package/dist/agents/index.js +8 -9
  23. package/dist/calendar/index.cjs +117 -125
  24. package/dist/calendar/index.d.ts +0 -1
  25. package/dist/calendar/index.js +1 -1
  26. package/dist/calls/index.cjs +3 -3
  27. package/dist/calls/index.js +2 -2
  28. package/dist/chat/index.cjs +78 -78
  29. package/dist/chat/index.js +3 -3
  30. package/dist/{chunk-2FL7QJKJ.js → chunk-265GOG4W.js} +3 -3
  31. package/dist/{chunk-2FL7QJKJ.js.map → chunk-265GOG4W.js.map} +1 -1
  32. package/dist/{chunk-IJST4EBM.js → chunk-3E2F4AHD.js} +8 -8
  33. package/dist/{chunk-IJST4EBM.js.map → chunk-3E2F4AHD.js.map} +1 -1
  34. package/dist/chunk-3FSXWVHW.cjs +5184 -0
  35. package/dist/chunk-3FSXWVHW.cjs.map +1 -0
  36. package/dist/{chunk-LPYEUD2D.cjs → chunk-4JNKXOFZ.cjs} +3 -3
  37. package/dist/{chunk-LPYEUD2D.cjs.map → chunk-4JNKXOFZ.cjs.map} +1 -1
  38. package/dist/{chunk-ODRHHWHY.cjs → chunk-4KMLM3GY.cjs} +4 -4
  39. package/dist/chunk-4KMLM3GY.cjs.map +1 -0
  40. package/dist/{chunk-MHFF5N65.cjs → chunk-757OYF6G.cjs} +4 -38
  41. package/dist/chunk-757OYF6G.cjs.map +1 -0
  42. package/dist/chunk-AXTDDWMR.js +16 -0
  43. package/dist/chunk-AXTDDWMR.js.map +1 -0
  44. package/dist/{chunk-B3AHCIV5.js → chunk-BJ24VPOA.js} +4 -55
  45. package/dist/chunk-BJ24VPOA.js.map +1 -0
  46. package/dist/chunk-C7PTF6BQ.cjs +172 -0
  47. package/dist/chunk-C7PTF6BQ.cjs.map +1 -0
  48. package/dist/{chunk-T5B7FM7S.js → chunk-COA3S3CZ.js} +3 -3
  49. package/dist/{chunk-T5B7FM7S.js.map → chunk-COA3S3CZ.js.map} +1 -1
  50. package/dist/{chunk-C44TDH54.js → chunk-CQPFW64W.js} +5 -5
  51. package/dist/{chunk-C44TDH54.js.map → chunk-CQPFW64W.js.map} +1 -1
  52. package/dist/chunk-D3WFIFRY.cjs +659 -0
  53. package/dist/chunk-D3WFIFRY.cjs.map +1 -0
  54. package/dist/{chunk-QXMR5YHC.js → chunk-DIB4JYUY.js} +19 -3
  55. package/dist/chunk-DIB4JYUY.js.map +1 -0
  56. package/dist/chunk-DVB5ZKOF.js +22 -0
  57. package/dist/chunk-DVB5ZKOF.js.map +1 -0
  58. package/dist/{chunk-VHJHY7TT.js → chunk-ECERC6TI.js} +3 -3
  59. package/dist/{chunk-VHJHY7TT.js.map → chunk-ECERC6TI.js.map} +1 -1
  60. package/dist/chunk-EDV7CYG6.cjs +18 -0
  61. package/dist/chunk-EDV7CYG6.cjs.map +1 -0
  62. package/dist/chunk-FAXXN7KI.cjs +213 -0
  63. package/dist/chunk-FAXXN7KI.cjs.map +1 -0
  64. package/dist/{chunk-2MJWWPHY.js → chunk-G4IYES7G.js} +140 -15
  65. package/dist/chunk-G4IYES7G.js.map +1 -0
  66. package/dist/{chunk-MFMASSEO.cjs → chunk-GGTUMLCT.cjs} +93 -91
  67. package/dist/chunk-GGTUMLCT.cjs.map +1 -0
  68. package/dist/{chunk-QI6AIHWP.cjs → chunk-GOWXP5KT.cjs} +145 -14
  69. package/dist/chunk-GOWXP5KT.cjs.map +1 -0
  70. package/dist/{chunk-O6IEZDRC.cjs → chunk-GRGS5M6O.cjs} +181 -3
  71. package/dist/chunk-GRGS5M6O.cjs.map +1 -0
  72. package/dist/{chunk-A6IU4GIW.js → chunk-HGLC566X.js} +598 -13
  73. package/dist/chunk-HGLC566X.js.map +1 -0
  74. package/dist/{chunk-O2GW5IY6.cjs → chunk-ILM42LE6.cjs} +33 -33
  75. package/dist/{chunk-O2GW5IY6.cjs.map → chunk-ILM42LE6.cjs.map} +1 -1
  76. package/dist/{chunk-C3CGJK7A.cjs → chunk-IPQ5MJ4Z.cjs} +636 -31
  77. package/dist/chunk-IPQ5MJ4Z.cjs.map +1 -0
  78. package/dist/{chunk-NRFAWUVD.js → chunk-JAANWQGB.js} +157 -157
  79. package/dist/chunk-JAANWQGB.js.map +1 -0
  80. package/dist/{chunk-7RJTEWYM.js → chunk-JGOST4IL.js} +350 -64
  81. package/dist/chunk-JGOST4IL.js.map +1 -0
  82. package/dist/chunk-KHXEIEXN.js +41 -0
  83. package/dist/chunk-KHXEIEXN.js.map +1 -0
  84. package/dist/chunk-KLPRAQCE.cjs +22 -0
  85. package/dist/chunk-KLPRAQCE.cjs.map +1 -0
  86. package/dist/chunk-KQYPP72K.js +644 -0
  87. package/dist/chunk-KQYPP72K.js.map +1 -0
  88. package/dist/chunk-KUT2Y7JF.cjs +43 -0
  89. package/dist/chunk-KUT2Y7JF.cjs.map +1 -0
  90. package/dist/{chunk-6YTHQ73P.cjs → chunk-LLYZGH3L.cjs} +3 -56
  91. package/dist/chunk-LLYZGH3L.cjs.map +1 -0
  92. package/dist/{chunk-YSHIC4NJ.cjs → chunk-LXTOOUEN.cjs} +159 -154
  93. package/dist/chunk-LXTOOUEN.cjs.map +1 -0
  94. package/dist/{chunk-EVUEIBNU.js → chunk-M4S75AEJ.js} +44 -5
  95. package/dist/chunk-M4S75AEJ.js.map +1 -0
  96. package/dist/{chunk-V5OAXIBN.cjs → chunk-NPR5BGFF.cjs} +11 -11
  97. package/dist/{chunk-V5OAXIBN.cjs.map → chunk-NPR5BGFF.cjs.map} +1 -1
  98. package/dist/{chunk-PLJ7PHWU.cjs → chunk-NS7NVX4E.cjs} +3 -3
  99. package/dist/{chunk-PLJ7PHWU.cjs.map → chunk-NS7NVX4E.cjs.map} +1 -1
  100. package/dist/{chunk-RB7GX2VT.cjs → chunk-NWNAYXC7.cjs} +9 -9
  101. package/dist/{chunk-RB7GX2VT.cjs.map → chunk-NWNAYXC7.cjs.map} +1 -1
  102. package/dist/chunk-Q6N6MZKO.js +5004 -0
  103. package/dist/chunk-Q6N6MZKO.js.map +1 -0
  104. package/dist/{chunk-I2QSDQQV.cjs → chunk-QT3A4PFC.cjs} +21 -2
  105. package/dist/chunk-QT3A4PFC.cjs.map +1 -0
  106. package/dist/{chunk-6HCJ3ZEU.js → chunk-R6VCPDPF.js} +178 -6
  107. package/dist/chunk-R6VCPDPF.js.map +1 -0
  108. package/dist/{chunk-ZM26YEOT.js → chunk-RY2SODRN.js} +3 -3
  109. package/dist/{chunk-ZM26YEOT.js.map → chunk-RY2SODRN.js.map} +1 -1
  110. package/dist/chunk-SDOEHEJP.js +208 -0
  111. package/dist/chunk-SDOEHEJP.js.map +1 -0
  112. package/dist/{chunk-DETZZBG2.cjs → chunk-SIB6C7P7.cjs} +43 -2
  113. package/dist/chunk-SIB6C7P7.cjs.map +1 -0
  114. package/dist/{chunk-OPTBQSCV.cjs → chunk-SMN32BQ3.cjs} +4 -183
  115. package/dist/chunk-SMN32BQ3.cjs.map +1 -0
  116. package/dist/chunk-TAWPVD6C.cjs +1956 -0
  117. package/dist/chunk-TAWPVD6C.cjs.map +1 -0
  118. package/dist/chunk-TC25LGIM.js +6584 -0
  119. package/dist/chunk-TC25LGIM.js.map +1 -0
  120. package/dist/{chunk-OBWYM25Y.js → chunk-TL45OJQE.js} +85 -83
  121. package/dist/chunk-TL45OJQE.js.map +1 -0
  122. package/dist/{chunk-AOSUHWIL.js → chunk-TZOQKV64.js} +4 -37
  123. package/dist/chunk-TZOQKV64.js.map +1 -0
  124. package/dist/chunk-UTVY63DG.js +16 -0
  125. package/dist/chunk-UTVY63DG.js.map +1 -0
  126. package/dist/chunk-V4YZXGXR.cjs +6751 -0
  127. package/dist/chunk-V4YZXGXR.cjs.map +1 -0
  128. package/dist/chunk-XRWHFMHK.js +19 -0
  129. package/dist/chunk-XRWHFMHK.js.map +1 -0
  130. package/dist/{chunk-O4YPVYPO.cjs → chunk-YAEXSCUW.cjs} +364 -60
  131. package/dist/chunk-YAEXSCUW.cjs.map +1 -0
  132. package/dist/chunk-YIFCLNII.cjs +18 -0
  133. package/dist/chunk-YIFCLNII.cjs.map +1 -0
  134. package/dist/chunk-Z27QMJ6S.cjs +25 -0
  135. package/dist/chunk-Z27QMJ6S.cjs.map +1 -0
  136. package/dist/{chunk-CSI2B2H5.js → chunk-Z4NQ3TED.js} +4 -4
  137. package/dist/chunk-Z4NQ3TED.js.map +1 -0
  138. package/dist/{chunk-DWZXSPMB.cjs → chunk-ZAVEMQ37.cjs} +3 -3
  139. package/dist/{chunk-DWZXSPMB.cjs.map → chunk-ZAVEMQ37.cjs.map} +1 -1
  140. package/dist/{chunk-FUTMU4FR.js → chunk-ZLEYLCE4.js} +8 -181
  141. package/dist/chunk-ZLEYLCE4.js.map +1 -0
  142. package/dist/chunk-ZNLTEZEF.js +170 -0
  143. package/dist/chunk-ZNLTEZEF.js.map +1 -0
  144. package/dist/chunk-ZO7PJMCO.js +1907 -0
  145. package/dist/chunk-ZO7PJMCO.js.map +1 -0
  146. package/dist/citations/index.cjs +14 -14
  147. package/dist/citations/index.js +2 -2
  148. package/dist/collaboration/index.cjs +74 -74
  149. package/dist/collaboration/index.js +3 -3
  150. package/dist/connect/docx.cjs +23 -28
  151. package/dist/connect/docx.cjs.map +1 -1
  152. package/dist/connect/docx.js +12 -28
  153. package/dist/connect/docx.js.map +1 -1
  154. package/dist/connect/index.cjs +8799 -2057
  155. package/dist/connect/index.cjs.map +1 -1
  156. package/dist/connect/index.d.ts +11 -2
  157. package/dist/connect/index.js +8578 -1884
  158. package/dist/connect/index.js.map +1 -1
  159. package/dist/connect/viewer.cjs +1229 -0
  160. package/dist/connect/viewer.cjs.map +1 -0
  161. package/dist/connect/viewer.d.ts +8 -0
  162. package/dist/connect/viewer.js +1226 -0
  163. package/dist/connect/viewer.js.map +1 -0
  164. package/dist/connection/ConnectedWorkflowsTable.d.ts +2 -12
  165. package/dist/connection/ai.d.ts +2 -9
  166. package/dist/connection/billing/AddAddonDialog.d.ts +24 -0
  167. package/dist/connection/billing/BillingCard.d.ts +18 -0
  168. package/dist/connection/billing/BillingProjectEntity.d.ts +9 -0
  169. package/dist/connection/billing/ChangePlanDialog.d.ts +20 -0
  170. package/dist/connection/billing/ChangeProPlan.d.ts +20 -0
  171. package/dist/connection/billing/CheckoutTotal.d.ts +12 -0
  172. package/dist/connection/billing/DailyCapEditor.d.ts +4 -0
  173. package/dist/connection/billing/InvoicesModal.d.ts +6 -0
  174. package/dist/connection/billing/NewProjectFlow.d.ts +14 -0
  175. package/dist/connection/billing/PlanChangeLines.d.ts +13 -0
  176. package/dist/connection/billing/PlanSelector.d.ts +50 -0
  177. package/dist/connection/billing/ProjectBilling.d.ts +24 -0
  178. package/dist/connection/billing/ProjectDetail.d.ts +16 -0
  179. package/dist/connection/billing/ProjectUsageCard.d.ts +21 -0
  180. package/dist/connection/billing/ProjectUsageContent.d.ts +18 -0
  181. package/dist/connection/billing/ProjectsTable.d.ts +13 -0
  182. package/dist/connection/billing/ReduceAddonDialog.d.ts +18 -0
  183. package/dist/connection/billing/ReferralReward.d.ts +32 -0
  184. package/dist/connection/billing/SharedProjects.d.ts +13 -0
  185. package/dist/connection/billing/StripeCheckoutModal.d.ts +32 -0
  186. package/dist/connection/billing/SubscriptionPlans.d.ts +15 -0
  187. package/dist/connection/billing/SubscriptionStatus.d.ts +10 -0
  188. package/dist/connection/billing/addon-pricing.d.ts +97 -0
  189. package/dist/connection/billing/api-error.d.ts +6 -0
  190. package/dist/connection/billing/billing-country.d.ts +14 -0
  191. package/dist/connection/billing/billing-focus.d.ts +11 -0
  192. package/dist/connection/billing/index.d.ts +22 -0
  193. package/dist/connection/billing/plan-badge.d.ts +15 -0
  194. package/dist/connection/billing/plan-change-outcome.d.ts +15 -0
  195. package/dist/connection/billing/plan-constants.d.ts +29 -0
  196. package/dist/connection/billing/plan-pricing.d.ts +67 -0
  197. package/dist/connection/billing/quota-items.d.ts +33 -0
  198. package/dist/connection/billing/referral-reward.d.ts +28 -0
  199. package/dist/connection/billing/refusal-copy.d.ts +5 -0
  200. package/dist/connection/billing/reward-balance.d.ts +19 -0
  201. package/dist/connection/billing/support.d.ts +35 -0
  202. package/dist/connection/billing/tax-quote.d.ts +36 -0
  203. package/dist/connection/billing/useAddonPurchase.d.ts +32 -0
  204. package/dist/connection/billing/useAutoRefreshPendingProjects.d.ts +11 -0
  205. package/dist/connection/billing/useCheckoutQuote.d.ts +30 -0
  206. package/dist/connection/billing/useOpenBillingPortal.d.ts +12 -0
  207. package/dist/connection/calendar/CalendarSettingsDialog.d.ts +1 -1
  208. package/dist/connection/connectors/ConnectedAppsSettings.d.ts +24 -0
  209. package/dist/connection/connectors/ConnectedDriveSyncDialog.d.ts +12 -0
  210. package/dist/connection/connectors/ConnectedMailboxSyncDialog.d.ts +12 -0
  211. package/dist/connection/connectors/index.d.ts +4 -0
  212. package/dist/connection/connectors/sync-labels.d.ts +21 -0
  213. package/dist/connection/facts/ConnectedFactsPage.d.ts +50 -0
  214. package/dist/connection/facts/FactMarkdownEditor.d.ts +57 -0
  215. package/dist/connection/facts/FactSourcesPopover.d.ts +38 -0
  216. package/dist/connection/facts/FactTextEditor.d.ts +2 -0
  217. package/dist/connection/facts/factNouns.d.ts +4 -0
  218. package/dist/connection/facts/factPageColumns.d.ts +37 -0
  219. package/dist/connection/facts/types.d.ts +127 -0
  220. package/dist/connection/facts/useFactActions.d.ts +10 -0
  221. package/dist/connection/facts/useFactComposer.d.ts +54 -0
  222. package/dist/connection/facts/useFactFilters.d.ts +101 -0
  223. package/dist/connection/facts/useFactSelection.d.ts +82 -0
  224. package/dist/connection/facts/useFactsGrid.d.ts +87 -0
  225. package/dist/connection/facts/useFactsPageView.d.ts +4 -0
  226. package/dist/connection/mail/ConnectedMailComposer.d.ts +3 -1
  227. package/dist/connection/mail/ConnectedMailbox.d.ts +4 -2
  228. package/dist/connection/mail/MailComposerForm.d.ts +4 -2
  229. package/dist/connection/mail/MailRecipientInput.d.ts +14 -0
  230. package/dist/connection/mail/index.d.ts +1 -1
  231. package/dist/connection/mail/types.d.ts +10 -0
  232. package/dist/connection/search/ConnectedSearchPage.d.ts +64 -0
  233. package/dist/connection/search/SearchResultRows.d.ts +38 -0
  234. package/dist/connection/search/index.d.ts +2 -0
  235. package/dist/connection/settings-page/ConnectedSettingsPage.d.ts +4 -0
  236. package/dist/connection/settings-page/index.d.ts +1 -1
  237. package/dist/connection/tags/ConnectedTagTable.d.ts +108 -0
  238. package/dist/connection/tags/ConnectedTagsPage.d.ts +55 -0
  239. package/dist/connection/tags/DocTagPassages.d.ts +25 -0
  240. package/dist/connection/tags/GlossaryExport.d.ts +7 -0
  241. package/dist/connection/tags/TagCombineFilter.d.ts +14 -0
  242. package/dist/connection/tags/TagPlacement.d.ts +16 -0
  243. package/dist/connection/tags/TagsPageSections.d.ts +36 -0
  244. package/dist/connection/tags/tagCombine.d.ts +55 -0
  245. package/dist/connection/useConnectedWorkNotifications.d.ts +7 -24
  246. package/dist/connection/viewer/ConnectedDocumentToolsProvider.d.ts +11 -0
  247. package/dist/connection/viewer/ConnectedDocumentViewer.d.ts +21 -0
  248. package/dist/connection/viewer/FinaliseTranslationButton.d.ts +15 -0
  249. package/dist/connection/viewer/ViewerPdfPane.d.ts +46 -0
  250. package/dist/connection/viewer/support.d.ts +79 -0
  251. package/dist/connection/viewer/useImageCrop.d.ts +13 -0
  252. package/dist/connection/viewer/useViewedDocument.d.ts +70 -0
  253. package/dist/connection/viewer/useViewerBlobs.d.ts +15 -0
  254. package/dist/connection/viewer/useViewerTabs.d.ts +18 -0
  255. package/dist/connection/viewer/useViewerVersions.d.ts +11 -0
  256. package/dist/connection/workspace-settings/useConnectedWorkspaceSettings.d.ts +6 -0
  257. package/dist/document-tools/index.cjs +59 -652
  258. package/dist/document-tools/index.cjs.map +1 -1
  259. package/dist/document-tools/index.js +2 -641
  260. package/dist/document-tools/index.js.map +1 -1
  261. package/dist/docx/index.cjs +48 -47
  262. package/dist/docx/index.js +4 -3
  263. package/dist/facts/FactsBulkBar.d.ts +6 -3
  264. package/dist/facts/cited-version-ref.d.ts +1 -0
  265. package/dist/facts/index.cjs +206 -1942
  266. package/dist/facts/index.cjs.map +1 -1
  267. package/dist/facts/index.d.ts +1 -0
  268. package/dist/facts/index.js +15 -1897
  269. package/dist/facts/index.js.map +1 -1
  270. package/dist/files/ViewerChrome.d.ts +5 -4
  271. package/dist/files/ViewerControlBar.d.ts +12 -0
  272. package/dist/files/doc-labels.d.ts +35 -0
  273. package/dist/files/grid/FilterButton.d.ts +12 -0
  274. package/dist/files/grid/RowDensityControl.d.ts +18 -0
  275. package/dist/files/grid/row-density.d.ts +27 -0
  276. package/dist/files/index.cjs +779 -7100
  277. package/dist/files/index.cjs.map +1 -1
  278. package/dist/files/index.d.ts +5 -0
  279. package/dist/files/index.js +14 -6919
  280. package/dist/files/index.js.map +1 -1
  281. package/dist/home/index.cjs +2 -2
  282. package/dist/home/index.js +2 -2
  283. package/dist/index.cjs +1043 -1259
  284. package/dist/index.cjs.map +1 -1
  285. package/dist/index.js +27 -360
  286. package/dist/index.js.map +1 -1
  287. package/dist/retrieval/SearchSnippet.d.ts +6 -0
  288. package/dist/retrieval/index.cjs +75 -42
  289. package/dist/retrieval/index.d.ts +2 -0
  290. package/dist/retrieval/index.js +3 -2
  291. package/dist/retrieval/search-results.d.ts +46 -0
  292. package/dist/settings/Billing.d.ts +0 -66
  293. package/dist/settings/PlanBadge.d.ts +1 -1
  294. package/dist/settings/SubscriptionParts.d.ts +1 -50
  295. package/dist/settings/index.cjs +501 -3714
  296. package/dist/settings/index.cjs.map +1 -1
  297. package/dist/settings/index.d.ts +3 -2
  298. package/dist/settings/index.js +10 -3527
  299. package/dist/settings/index.js.map +1 -1
  300. package/dist/settings/inverted-index-filter.d.ts +26 -0
  301. package/dist/shell/index.cjs +2 -2
  302. package/dist/shell/index.js +2 -2
  303. package/dist/site/index.cjs +5 -5
  304. package/dist/site/index.js +1 -1
  305. package/dist/studio/index.cjs +6 -6
  306. package/dist/studio/index.js +5 -5
  307. package/dist/tags/definitions.d.ts +10 -0
  308. package/dist/tags/index.d.ts +4 -1
  309. package/dist/tags/page/ExtractEntitiesDialog.d.ts +24 -0
  310. package/dist/tags/page/TagPicker.d.ts +16 -0
  311. package/dist/tags/page/tagsPageLabels.d.ts +36 -0
  312. package/dist/workflow-canvas/index.cjs +21 -22
  313. package/dist/workflow-canvas/index.cjs.map +1 -1
  314. package/dist/workflow-canvas/index.js +8 -9
  315. package/dist/workflow-canvas/index.js.map +1 -1
  316. package/node_modules/@arbidocs/coedit/package.json +1 -1
  317. package/package.json +13 -4
  318. package/dist/calendar/access-setup.d.ts +0 -8
  319. package/dist/chunk-2MJWWPHY.js.map +0 -1
  320. package/dist/chunk-3AFWGEDJ.cjs +0 -53
  321. package/dist/chunk-3AFWGEDJ.cjs.map +0 -1
  322. package/dist/chunk-5YHEHEJT.js +0 -1667
  323. package/dist/chunk-5YHEHEJT.js.map +0 -1
  324. package/dist/chunk-6HCJ3ZEU.js.map +0 -1
  325. package/dist/chunk-6YTHQ73P.cjs.map +0 -1
  326. package/dist/chunk-7RJTEWYM.js.map +0 -1
  327. package/dist/chunk-A6IU4GIW.js.map +0 -1
  328. package/dist/chunk-AOSUHWIL.js.map +0 -1
  329. package/dist/chunk-B3AHCIV5.js.map +0 -1
  330. package/dist/chunk-C3CGJK7A.cjs.map +0 -1
  331. package/dist/chunk-CSI2B2H5.js.map +0 -1
  332. package/dist/chunk-DETZZBG2.cjs.map +0 -1
  333. package/dist/chunk-EVUEIBNU.js.map +0 -1
  334. package/dist/chunk-FUTMU4FR.js.map +0 -1
  335. package/dist/chunk-I2QSDQQV.cjs.map +0 -1
  336. package/dist/chunk-J5CWKFSC.js +0 -170
  337. package/dist/chunk-J5CWKFSC.js.map +0 -1
  338. package/dist/chunk-MFMASSEO.cjs.map +0 -1
  339. package/dist/chunk-MHFF5N65.cjs.map +0 -1
  340. package/dist/chunk-NRFAWUVD.js.map +0 -1
  341. package/dist/chunk-O4YPVYPO.cjs.map +0 -1
  342. package/dist/chunk-O6IEZDRC.cjs.map +0 -1
  343. package/dist/chunk-OBWYM25Y.js.map +0 -1
  344. package/dist/chunk-ODRHHWHY.cjs.map +0 -1
  345. package/dist/chunk-OPTBQSCV.cjs.map +0 -1
  346. package/dist/chunk-QI6AIHWP.cjs.map +0 -1
  347. package/dist/chunk-QXMR5YHC.js.map +0 -1
  348. package/dist/chunk-RFXJYIDV.js +0 -50
  349. package/dist/chunk-RFXJYIDV.js.map +0 -1
  350. package/dist/chunk-U73KPFYH.cjs +0 -1717
  351. package/dist/chunk-U73KPFYH.cjs.map +0 -1
  352. package/dist/chunk-XVUOMWMD.cjs +0 -177
  353. package/dist/chunk-XVUOMWMD.cjs.map +0 -1
  354. package/dist/chunk-YSHIC4NJ.cjs.map +0 -1
  355. package/dist/connection/ConnectedTagTable.d.ts +0 -32
  356. package/dist/connection/calendar/CopyField.d.ts +0 -9
  357. package/dist/connection/calendar/OpenAccessPanel.d.ts +0 -7
@@ -0,0 +1,101 @@
1
+ import type { TriStateGroup, TriStateOption } from '../../settings/TriStateFilterMenu';
2
+ import type { Fact, FactsChat, FactsPageView } from './types';
3
+ export declare function useFactFilters(notes: Fact[], view: FactsPageView, chat: FactsChat | undefined): {
4
+ labelTags: {
5
+ external_id: string;
6
+ workspace_ext_id: string;
7
+ name: string;
8
+ instruction?: string | null | undefined;
9
+ tag_type: {
10
+ type: "checkbox" | "text" | "number" | "select" | "search" | "date";
11
+ options: string[];
12
+ };
13
+ kind: "label" | "annotation" | "search" | "issue" | "person" | "organisation";
14
+ shared: boolean;
15
+ parent_ext_id?: string | null | undefined;
16
+ doctag_count: number;
17
+ facttag_count: number;
18
+ convotag_count: number;
19
+ field_values?: {
20
+ [x: string]: unknown;
21
+ } | undefined;
22
+ links?: {
23
+ docs?: {
24
+ doc_ext_id: string;
25
+ file_name: string;
26
+ note?: string | null | undefined;
27
+ citations_count: number;
28
+ updated_at: string;
29
+ }[] | undefined;
30
+ facts?: {
31
+ fact_ext_id: string;
32
+ text: string;
33
+ confirmed: boolean;
34
+ updated_at: string;
35
+ }[] | undefined;
36
+ threads?: {
37
+ conversation_ext_id: string;
38
+ title?: string | null | undefined;
39
+ updated_at: string;
40
+ }[] | undefined;
41
+ doc_count: number;
42
+ fact_count: number;
43
+ thread_count: number;
44
+ } | null | undefined;
45
+ created_by_ext_id: string;
46
+ updated_by_ext_id?: string | null | undefined;
47
+ created_at: string;
48
+ updated_at: string;
49
+ }[];
50
+ createTagStable: {
51
+ mutateAsync: import("@tanstack/react-query").UseMutateAsyncFunction<{
52
+ external_id: string;
53
+ workspace_ext_id: string;
54
+ name: string;
55
+ instruction?: string | null;
56
+ tag_type: import("@arbidocs/client").components["schemas"]["TagFormat"];
57
+ kind: "label" | "annotation" | "search" | "issue" | "person" | "organisation";
58
+ shared: boolean;
59
+ parent_ext_id?: string | null;
60
+ doctag_count: number;
61
+ facttag_count: number;
62
+ convotag_count: number;
63
+ field_values?: {
64
+ [key: string]: unknown;
65
+ };
66
+ links?: import("@arbidocs/client").components["schemas"]["TagLinks"] | null;
67
+ created_by_ext_id: string;
68
+ updated_by_ext_id?: string | null;
69
+ created_at: string;
70
+ updated_at: string;
71
+ }, Error, import("@arbidocs/react").CreateTagInput, unknown>;
72
+ };
73
+ makeTagPicker: (selected: string[], setSelected: (ids: string[]) => void, opts?: {
74
+ hideAppliedPills?: boolean;
75
+ }) => import("react").JSX.Element;
76
+ factFilters: Map<string, import("../../settings").TriState>;
77
+ setFactFilters: (filters: Map<string, import("../../settings").TriState>) => void;
78
+ factFilterOptions: TriStateOption<string>[];
79
+ factFilterGroups: TriStateGroup<string>[];
80
+ factsFilter: string;
81
+ setFactsFilter: (text: string) => void;
82
+ factsSearchFields: import("../..").FilterField[];
83
+ setFactsSearchFields: (fields: import("../..").FilterField[]) => void;
84
+ filteredNotes: {
85
+ text: string;
86
+ citations?: import("@arbidocs/client").components["schemas"]["CitationSources"] | null;
87
+ external_id: string;
88
+ workspace_ext_id: string;
89
+ shared: boolean;
90
+ confirmed: boolean;
91
+ date_start?: string | null;
92
+ date_end?: string | null;
93
+ timezone?: string | null;
94
+ reminder_task_ext_ids: string[];
95
+ tags: import("@arbidocs/client").components["schemas"]["FactTagResponse"][];
96
+ created_by_ext_id: string;
97
+ created_at: string;
98
+ updated_at: string;
99
+ }[];
100
+ hasActiveFilters: boolean;
101
+ };
@@ -0,0 +1,82 @@
1
+ import { type RefObject } from 'react';
2
+ import type { GridApi } from 'ag-grid-community';
3
+ import type { Fact, FactsChat, FactsLabelTarget } from './types';
4
+ export declare function useFactSelection(notes: Fact[], gridApiRef: RefObject<GridApi<Fact> | null>, setFactTags: (fact: Fact, tagExtIds: string[]) => Promise<void>, chat: FactsChat | undefined): {
5
+ selectedFacts: {
6
+ text: string;
7
+ citations?: import("@arbidocs/client").components["schemas"]["CitationSources"] | null;
8
+ external_id: string;
9
+ workspace_ext_id: string;
10
+ shared: boolean;
11
+ confirmed: boolean;
12
+ date_start?: string | null;
13
+ date_end?: string | null;
14
+ timezone?: string | null;
15
+ reminder_task_ext_ids: string[];
16
+ tags: import("@arbidocs/client").components["schemas"]["FactTagResponse"][];
17
+ created_by_ext_id: string;
18
+ created_at: string;
19
+ updated_at: string;
20
+ }[];
21
+ clearSelection: () => void;
22
+ gridSelection: {
23
+ mode: "multiple";
24
+ selected: {
25
+ text: string;
26
+ citations?: import("@arbidocs/client").components["schemas"]["CitationSources"] | null;
27
+ external_id: string;
28
+ workspace_ext_id: string;
29
+ shared: boolean;
30
+ confirmed: boolean;
31
+ date_start?: string | null;
32
+ date_end?: string | null;
33
+ timezone?: string | null;
34
+ reminder_task_ext_ids: string[];
35
+ tags: import("@arbidocs/client").components["schemas"]["FactTagResponse"][];
36
+ created_by_ext_id: string;
37
+ created_at: string;
38
+ updated_at: string;
39
+ }[];
40
+ onSelectionChange: import("react").Dispatch<import("react").SetStateAction<{
41
+ text: string;
42
+ citations?: import("@arbidocs/client").components["schemas"]["CitationSources"] | null;
43
+ external_id: string;
44
+ workspace_ext_id: string;
45
+ shared: boolean;
46
+ confirmed: boolean;
47
+ date_start?: string | null;
48
+ date_end?: string | null;
49
+ timezone?: string | null;
50
+ reminder_task_ext_ids: string[];
51
+ tags: import("@arbidocs/client").components["schemas"]["FactTagResponse"][];
52
+ created_by_ext_id: string;
53
+ created_at: string;
54
+ updated_at: string;
55
+ }[]>>;
56
+ };
57
+ bulkDelete: () => Promise<void>;
58
+ freshSelectedFacts: {
59
+ text: string;
60
+ citations?: import("@arbidocs/client").components["schemas"]["CitationSources"] | null;
61
+ external_id: string;
62
+ workspace_ext_id: string;
63
+ shared: boolean;
64
+ confirmed: boolean;
65
+ date_start?: string | null;
66
+ date_end?: string | null;
67
+ timezone?: string | null;
68
+ reminder_task_ext_ids: string[];
69
+ tags: import("@arbidocs/client").components["schemas"]["FactTagResponse"][];
70
+ created_by_ext_id: string;
71
+ created_at: string;
72
+ updated_at: string;
73
+ }[];
74
+ factsLabelTarget: FactsLabelTarget;
75
+ allSelectedInChat: boolean;
76
+ bulkToggleInChat: () => void;
77
+ bulkSetShared: (shouldShare: boolean) => Promise<void>;
78
+ exportItems: {
79
+ extId: string;
80
+ label: string;
81
+ }[];
82
+ };
@@ -0,0 +1,87 @@
1
+ /**
2
+ * Wiring for the facts AG Grid: stable columns and grid options (context delegates through a ref
3
+ * so the grid never blanket-refreshes), label cell, focus-flash from quick-access jumps.
4
+ */
5
+ import type { useCreateTag } from '@arbidocs/react';
6
+ import type { TagResponse } from '@arbidocs/sdk/browser';
7
+ import { type ReactNode, type RefObject } from 'react';
8
+ import type { GridApi } from 'ag-grid-community';
9
+ import { type FactCreator, type LookupUser } from './factPageColumns';
10
+ import type { Fact } from './types';
11
+ type Tag = TagResponse;
12
+ /** Who may do something to a fact, by its creator's id. */
13
+ type CreatorCheck = (creatorExtId: string | null | undefined) => boolean;
14
+ interface FactsGridArgs {
15
+ notes: Fact[];
16
+ labelTags: Tag[];
17
+ createTagStable: Pick<ReturnType<typeof useCreateTag>, 'mutateAsync'>;
18
+ setFactTags: (fact: Fact, tagExtIds: string[]) => Promise<void>;
19
+ /** The current chat's fact ids: the In chat column refreshes when they change. */
20
+ chatFactIds: string[];
21
+ toggleInChat: (fact: Fact) => void;
22
+ toggleConfirmed: (fact: Fact) => void;
23
+ toggleShared: (fact: Fact) => void;
24
+ remove: (fact: Fact) => Promise<boolean>;
25
+ openEdit: (fact: Fact) => void;
26
+ gridApiRef: RefObject<GridApi<Fact> | null>;
27
+ editingIdRef: RefObject<string | null>;
28
+ /** Who may change who sees a fact, and who may reword or delete it. */
29
+ canChangeSharing: CreatorCheck;
30
+ canRewrite: CreatorCheck;
31
+ lookupUser: LookupUser;
32
+ renderUser?: (user: FactCreator | null) => ReactNode;
33
+ /** A fact to bring into view once (a jump from elsewhere), and its done. */
34
+ focusFactId?: string | null;
35
+ onFocused?: () => void;
36
+ /** The chat's In chat column (absent: no chat). */
37
+ hasChat: boolean;
38
+ }
39
+ export declare function useFactsGrid({ notes, labelTags, createTagStable, setFactTags, chatFactIds, toggleInChat, toggleConfirmed, toggleShared, remove, openEdit, gridApiRef, editingIdRef, canChangeSharing: canChange, canRewrite, lookupUser, renderUser, focusFactId: focusedFactId, onFocused, hasChat, }: FactsGridArgs): {
40
+ factColumns: import("ag-grid-community").ColDef<{
41
+ text: string;
42
+ citations?: import("@arbidocs/client").components["schemas"]["CitationSources"] | null;
43
+ external_id: string;
44
+ workspace_ext_id: string;
45
+ shared: boolean;
46
+ confirmed: boolean;
47
+ date_start?: string | null;
48
+ date_end?: string | null;
49
+ timezone?: string | null;
50
+ reminder_task_ext_ids: string[];
51
+ tags: import("@arbidocs/client").components["schemas"]["FactTagResponse"][];
52
+ created_by_ext_id: string;
53
+ created_at: string;
54
+ updated_at: string;
55
+ }, any>[];
56
+ factGridOptions: {
57
+ context: {
58
+ lookupUser: LookupUser;
59
+ renderUser: ((user: FactCreator | null) => ReactNode) | undefined;
60
+ renderFactTags: (fact: Fact, rowHeight?: number) => import("react").JSX.Element;
61
+ openEdit: (m: Fact) => void;
62
+ removeFact: (m: Fact) => Promise<boolean>;
63
+ canChangeSharing: (m: Fact) => boolean;
64
+ canRewrite: (m: Fact) => boolean;
65
+ };
66
+ onRowDoubleClicked: (e: {
67
+ data?: Fact;
68
+ }) => void | undefined;
69
+ getRowClass: (p: {
70
+ data?: Fact;
71
+ }) => "facts-row-editing" | undefined;
72
+ suppressClickEdit: boolean;
73
+ tooltipInteraction: boolean;
74
+ };
75
+ factCtxRef: RefObject<{
76
+ lookupUser: LookupUser;
77
+ renderUser: ((user: FactCreator | null) => ReactNode) | undefined;
78
+ renderFactTags: (fact: Fact, rowHeight?: number) => import("react").JSX.Element;
79
+ openEdit: (fact: Fact) => void;
80
+ removeFact: (fact: Fact) => Promise<boolean>;
81
+ canChange: CreatorCheck;
82
+ canRewrite: CreatorCheck;
83
+ chatFactIdSet: Set<string>;
84
+ toggleInChat: (fact: Fact) => void;
85
+ }>;
86
+ };
87
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { FactsPageView } from './types';
2
+ /** The timeline's label gutter, by default. */
3
+ export declare const DEFAULT_TIMELINE_LABEL_WIDTH = 240;
4
+ export declare function useFactsPageView(): FactsPageView;
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type RefObject } from 'react';
9
9
  import { type MailAccount, type MailCompose, type MailMessage } from '@arbidocs/react';
10
- import type { MailDocumentSource, MailOfflineSupport, MailWordEditor } from './types';
10
+ import type { MailDocumentSource, MailOfflineSupport, MailRecipientSuggestions, MailWordEditor } from './types';
11
11
  export interface ConnectedMailComposerProps {
12
12
  /** Open this saved draft (from the account's Drafts) instead of a new message. */
13
13
  draftId?: string;
@@ -35,6 +35,8 @@ export interface ConnectedMailComposerProps {
35
35
  offline?: MailOfflineSupport;
36
36
  /** Workspace documents to attach ("From workspace"). Absent: not offered. */
37
37
  documents?: MailDocumentSource;
38
+ /** People suggested while typing a recipient. Absent: plain address fields. */
39
+ recipients?: MailRecipientSuggestions;
38
40
  /** A native draft's body in the Word editor (see {@link MailWordEditor}). Absent: the rich-text body. */
39
41
  word?: MailWordEditor;
40
42
  /** This compose session, stable across remounts (its Word room is kept for it). */
@@ -12,7 +12,7 @@ import { type ReactNode } from 'react';
12
12
  import type { GridState } from 'ag-grid-community';
13
13
  import { type MailAddress, type MailAccount, type MailAttachment, type MailMessage } from '@arbidocs/react';
14
14
  import { type MailAliasUser } from './ConnectedMailAccounts';
15
- import type { MailDocumentSource, MailOfflineSupport, MailPanelProps, MailSaveToWorkspace, MailWordEditor } from './types';
15
+ import type { MailDocumentSource, MailRecipientSuggestions, MailOfflineSupport, MailPanelProps, MailSaveToWorkspace, MailWordEditor } from './types';
16
16
  export interface ConnectedMailboxProps {
17
17
  /** Which mailbox: an account id, or `'native'` for the user's own inbox. Default: the first. */
18
18
  mailbox?: string;
@@ -42,6 +42,8 @@ export interface ConnectedMailboxProps {
42
42
  offline?: MailOfflineSupport;
43
43
  /** The open workspace's documents, attachable in the composer. */
44
44
  documents?: MailDocumentSource;
45
+ /** People suggested while typing a recipient in the composer. Absent: plain address fields. */
46
+ recipients?: MailRecipientSuggestions;
45
47
  /** Saving an email into a workspace ("Save to workspace" on native mail). */
46
48
  saveToWorkspace?: MailSaveToWorkspace;
47
49
  /** Native drafts' bodies in the Word editor, where ARBI's edits are suggestions. Absent: rich text. */
@@ -65,4 +67,4 @@ export interface ConnectedMailboxProps {
65
67
  /** The message opened first (e.g. restored after a redirect). */
66
68
  initialMessageId?: string | null;
67
69
  }
68
- export declare function ConnectedMailbox({ mailbox, draftId, onDraftOpened, folder: requestedFolder, onFolderOpened, composeAttachments, onComposeOpened, onOpenDocument, user, productName, oauthReturnPath, personLabel, offline, documents, saveToWorkspace, word, onReplyWithArbi, renderInvite, renderPanel, onViewerOpenChange, gridState, onGridStateChange, initialMessageId, }: ConnectedMailboxProps): import("react").JSX.Element;
70
+ export declare function ConnectedMailbox({ mailbox, draftId, onDraftOpened, folder: requestedFolder, onFolderOpened, composeAttachments, onComposeOpened, onOpenDocument, user, productName, oauthReturnPath, personLabel, offline, documents, recipients, saveToWorkspace, word, onReplyWithArbi, renderInvite, renderPanel, onViewerOpenChange, gridState, onGridStateChange, initialMessageId, }: ConnectedMailboxProps): import("react").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { type RefObject } from 'react';
2
2
  import { type MailAccount, type MailCompose, type MailMessage } from '@arbidocs/react';
3
- import type { MailDocumentSource, MailOfflineSupport, MailWordEditor } from './types';
3
+ import type { MailDocumentSource, MailOfflineSupport, MailRecipientSuggestions, MailWordEditor } from './types';
4
4
  export interface MailComposerFormProps {
5
5
  account?: MailAccount;
6
6
  initial: MailCompose;
@@ -21,6 +21,8 @@ export interface MailComposerFormProps {
21
21
  localDraftId?: string;
22
22
  offline?: MailOfflineSupport;
23
23
  documents?: MailDocumentSource;
24
+ /** People suggested while typing a recipient. Absent: plain address fields. */
25
+ recipients?: MailRecipientSuggestions;
24
26
  /** A native draft's body in the Word editor. Absent: the rich-text body. */
25
27
  word?: MailWordEditor;
26
28
  /** This compose session, stable across remounts (its Word room is kept for it). */
@@ -31,4 +33,4 @@ export interface MailComposerFormProps {
31
33
  headerSlot?: HTMLElement | null;
32
34
  }
33
35
  /** Write, save and send one message. */
34
- export declare function MailComposerForm({ account, initial, maxBytes, ready, drafts, onClose, onOpenDraft, onReload, onChange, embedded, closeRequestRef, localDraftId: initialLocalDraftId, offline, documents, word, sessionKey, roomId, headerSlot, }: MailComposerFormProps): import("react").JSX.Element;
36
+ export declare function MailComposerForm({ account, initial, maxBytes, ready, drafts, onClose, onOpenDraft, onReload, onChange, embedded, closeRequestRef, localDraftId: initialLocalDraftId, offline, documents, recipients, word, sessionKey, roomId, headerSlot, }: MailComposerFormProps): import("react").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { type InputHTMLAttributes } from 'react';
2
+ import type { MailRecipientSuggestions } from './types';
3
+ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'value' | 'onChange'>;
4
+ export interface MailRecipientInputProps extends InputProps {
5
+ value: string;
6
+ onValueChange: (value: string) => void;
7
+ suggestions: MailRecipientSuggestions;
8
+ }
9
+ /**
10
+ * A To / Cc / Bcc field that suggests people as you type the current address (a combobox: arrows move,
11
+ * Enter picks, Escape dismisses). Picking replaces the address being typed and leaves room for the next one.
12
+ */
13
+ export declare function MailRecipientInput({ value, onValueChange, suggestions: source, className, ...input }: MailRecipientInputProps): import("react").JSX.Element;
14
+ export {};
@@ -4,4 +4,4 @@ export { ConnectedMailMessage, type ConnectedMailMessageProps } from './Connecte
4
4
  export { resolveMailbox } from './mailbox';
5
5
  export { ConnectedMailAccounts, type ConnectedMailAccountsProps, type MailAliasUser, } from './ConnectedMailAccounts';
6
6
  export { ConnectedMailSetup } from './ConnectedMailSetup';
7
- export type { MailLocalDraft, MailOutboxEntry, MailOutboxRequest, MailOfflineSupport, MailDocumentSource, MailSaveToWorkspace, MailPanelProps, MailWordEditor, } from './types';
7
+ export type { MailLocalDraft, MailOutboxEntry, MailOutboxRequest, MailOfflineSupport, MailDocumentSource, MailRecipientSuggestions, MailSaveToWorkspace, MailPanelProps, MailWordEditor, } from './types';
@@ -59,6 +59,16 @@ export interface MailOfflineSupport {
59
59
  /** The request never got an answer (no connection), as opposed to the server refusing it. */
60
60
  isNetworkFailure(error: unknown): boolean;
61
61
  }
62
+ /**
63
+ * People to suggest while an address is typed in To / Cc / Bcc. `useSuggestions` is a hook (called on every
64
+ * render with the address being typed, '' for none): pass a stable object (e.g. a module constant).
65
+ */
66
+ export interface MailRecipientSuggestions {
67
+ useSuggestions(query: string): {
68
+ email: string;
69
+ name?: string | null;
70
+ }[];
71
+ }
62
72
  /** The open workspace's documents, attachable to an email as their files. */
63
73
  export interface MailDocumentSource {
64
74
  documents: MailAttachableDocument[];
@@ -0,0 +1,64 @@
1
+ /**
2
+ * The Smart Search page, connected: search the open workspace's documents for passages
3
+ * (`useSemanticSearch` over the shared search session, so results outlive the page), group them
4
+ * by document or list them by relevance, cut them by a relevance threshold, open a passage in the
5
+ * host's viewer (`BlocksEnvironment.openDocument`), and label every listed document.
6
+ *
7
+ * Runs under any host (`useConnectedWorkspace`). What it searches is the host's to narrow: pass
8
+ * `scope` (the filtered documents and the filter control); without it the page searches the whole
9
+ * workspace. A host can also bring its own document chip and empty-workspace surface.
10
+ */
11
+ import { type ReactNode } from 'react';
12
+ import { type ConnectedDocument } from '../workspaceData';
13
+ import { type SearchRowLabels } from './SearchResultRows';
14
+ /** What the page searches: the host's narrowed document set and the control that narrows it. */
15
+ export interface SearchScope {
16
+ /** The documents to search; `null` searches the whole workspace (nothing narrowed). */
17
+ docIds: string[] | null;
18
+ /** How many documents are in scope (the tab's count, the intro's "N documents"). */
19
+ count: number;
20
+ /** The filter control, shown in the tab's actions on the standalone page. */
21
+ filter?: ReactNode;
22
+ /** Hover handlers of the filter control, attached to the whole tab. */
23
+ filterHoverHandlers?: {
24
+ onMouseEnter: () => void;
25
+ onMouseLeave: () => void;
26
+ };
27
+ }
28
+ export interface SearchDocumentChipProps {
29
+ docId: string;
30
+ /** The document from the open workspace's list, when it is there. */
31
+ doc?: ConnectedDocument;
32
+ }
33
+ export interface ConnectedSearchPageLabels extends SearchRowLabels {
34
+ tab: string;
35
+ /** An example query rather than an instruction: quoted phrase plus free words. */
36
+ placeholder: string;
37
+ byDoc: string;
38
+ byDocTitle: string;
39
+ byPassage: string;
40
+ byPassageTitle: string;
41
+ grouping: string;
42
+ offline: string;
43
+ tooManyDocuments: (count: number, max: number) => string;
44
+ /** The default name of the label made from a search. */
45
+ labelName: (query: string) => string;
46
+ labelled: (count: number, name: string) => string;
47
+ labelFailed: string;
48
+ }
49
+ export declare const DEFAULT_CONNECTED_SEARCH_PAGE_LABELS: ConnectedSearchPageLabels;
50
+ export interface ConnectedSearchPageProps {
51
+ /**
52
+ * Shown inside a host's Files view: no tab header of its own (the host has it and the filter),
53
+ * and the grouping toggle on a slim row above the search box.
54
+ */
55
+ embedded?: boolean;
56
+ /** What to search; default the whole workspace. */
57
+ scope?: SearchScope;
58
+ /** A document's chip in a group's header; default the document's entity pill. */
59
+ DocumentChip?: (props: SearchDocumentChipProps) => ReactNode;
60
+ /** Shown instead of the intro when the workspace has no documents (e.g. an upload surface). */
61
+ emptyWorkspace?: ReactNode;
62
+ labels?: Partial<ConnectedSearchPageLabels>;
63
+ }
64
+ export declare function ConnectedSearchPage({ embedded, scope, DocumentChip, emptyWorkspace, labels, }: ConnectedSearchPageProps): import("react").JSX.Element;
@@ -0,0 +1,38 @@
1
+ /**
2
+ * The search page's rows: a passage in the flat list, a passage inside its document's group, and
3
+ * the group's header. Each is memoized against stable props from the page, so paging or moving
4
+ * the threshold doesn't re-render rows.
5
+ */
6
+ import { type MouseEvent, type ReactNode } from 'react';
7
+ import { type SearchChunk } from '@arbidocs/react';
8
+ import { type SearchDocumentGroup } from '../../retrieval/search-results';
9
+ export interface SearchRowLabels {
10
+ /** Badge on a passage that contains none of the query's words. */
11
+ meaningMatch: string;
12
+ meaningMatchTitle: string;
13
+ /** The page a grouped passage is on. */
14
+ page: (page: number) => string;
15
+ /** A grouped passage without a page. */
16
+ passage: string;
17
+ }
18
+ export declare const DEFAULT_SEARCH_ROW_LABELS: SearchRowLabels;
19
+ interface RowProps {
20
+ hit: SearchChunk;
21
+ terms: string[];
22
+ onOpen: (e: MouseEvent, hit: SearchChunk) => void;
23
+ labels: SearchRowLabels;
24
+ }
25
+ export declare const FlatResultRow: import("react").NamedExoticComponent<RowProps & {
26
+ position: number;
27
+ }>;
28
+ export declare const GroupedResultRow: import("react").NamedExoticComponent<RowProps & {
29
+ testId: string;
30
+ }>;
31
+ export declare const SearchGroupRowHeader: import("react").NamedExoticComponent<{
32
+ group: SearchDocumentGroup;
33
+ /** The document's chip. */
34
+ source: ReactNode;
35
+ isExpanded: boolean;
36
+ onToggle: (docId: string) => void;
37
+ }>;
38
+ export {};
@@ -0,0 +1,2 @@
1
+ export { ConnectedSearchPage, DEFAULT_CONNECTED_SEARCH_PAGE_LABELS, type ConnectedSearchPageProps, type ConnectedSearchPageLabels, type SearchScope, type SearchDocumentChipProps, } from './ConnectedSearchPage';
2
+ export { DEFAULT_SEARCH_ROW_LABELS, type SearchRowLabels } from './SearchResultRows';
@@ -2,12 +2,14 @@ import { type SettingsPageProps, type SettingsPageSection } from '../../settings
2
2
  import { type ConnectedAccountSettingsProps } from './ConnectedAccountSettings';
3
3
  import { type ConnectedMailSettingsProps } from './ConnectedMailSettings';
4
4
  import { type ConnectedPrivacySettingsProps } from './ConnectedPrivacySettings';
5
+ import { type ConnectedAppsSettingsProps } from '../connectors/ConnectedAppsSettings';
5
6
  /** The section ids of the connected sections. */
6
7
  export declare const SETTINGS_SECTION_IDS: {
7
8
  readonly account: "account";
8
9
  readonly mail: "mail";
9
10
  readonly privacy: "privacy";
10
11
  readonly chat: "chat";
12
+ readonly connectedApps: "connected-apps";
11
13
  };
12
14
  /** Account: profile, ID check, security, sessions, sign out, delete. */
13
15
  export declare function accountSettingsSection(props?: ConnectedAccountSettingsProps): SettingsPageSection;
@@ -17,6 +19,8 @@ export declare function mailSettingsSection(props?: ConnectedMailSettingsProps):
17
19
  export declare function privacySettingsSection(props?: ConnectedPrivacySettingsProps): SettingsPageSection;
18
20
  /** Chat: the premium models. */
19
21
  export declare function chatSettingsSection(): SettingsPageSection;
22
+ /** Connected apps: Microsoft / Google, the MCP tools and Slack, connected through OAuth. */
23
+ export declare function connectedAppsSettingsSection(props?: ConnectedAppsSettingsProps): SettingsPageSection;
20
24
  /** The sections of a host that adds none of its own. */
21
25
  export declare const DEFAULT_SETTINGS_SECTIONS: readonly SettingsPageSection[];
22
26
  export interface ConnectedSettingsPageProps extends Omit<SettingsPageProps, 'sections' | 'activeSectionId' | 'onSectionChange'> {
@@ -1,4 +1,4 @@
1
- export { ConnectedSettingsPage, DEFAULT_SETTINGS_SECTIONS, SETTINGS_SECTION_IDS, accountSettingsSection, chatSettingsSection, mailSettingsSection, privacySettingsSection, type ConnectedSettingsPageProps, } from './ConnectedSettingsPage';
1
+ export { ConnectedSettingsPage, DEFAULT_SETTINGS_SECTIONS, SETTINGS_SECTION_IDS, accountSettingsSection, chatSettingsSection, connectedAppsSettingsSection, mailSettingsSection, privacySettingsSection, type ConnectedSettingsPageProps, } from './ConnectedSettingsPage';
2
2
  export { ConnectedAccountSettings, type ConnectedAccountSettingsProps, type ConnectedServerConnection, } from './ConnectedAccountSettings';
3
3
  export { ConnectedMailSettings, type ConnectedMailSettingsProps } from './ConnectedMailSettings';
4
4
  export { ConnectedPrivacySettings, type ConnectedPrivacySettingsProps, } from './ConnectedPrivacySettings';
@@ -0,0 +1,108 @@
1
+ /**
2
+ * `TagTable` bound to the connection: every tag of a kind in the open workspace (`kind="issue"`:
3
+ * every issue), or with `parentId` a label's children. The columns are the kind's fields in the
4
+ * workspace (`useTagKindSchema`), edited in place and saved as the kind's schema
5
+ * (`useUpdateTagKindSchema`); the rows are the tag list filtered by kind with links (`useTags`),
6
+ * their cells saved with `useSetTagValues`. "Add row" creates a tag of the kind (issues, people and
7
+ * organisations are flat: no parent). The workspace's people fill person columns and its tags
8
+ * link columns; the snapshot is filed in the workspace as a Word document (`.docx`, so it opens in
9
+ * the Word editor; its id goes to `onExported`, so a host can open it or send it for signature) or
10
+ * downloaded. A `filter` narrows the rows to the tagged items it lets through and to the tags
11
+ * whose name (or values) match its text, as the Tags page's filter does. A refused write is said
12
+ * through the blocks environment (`notify`).
13
+ */
14
+ import { type TagKind } from '@arbidocs/sdk/browser';
15
+ import { type TagTableProps } from '../../tags/TagTable';
16
+ import { type TagFilterMatches } from './tagCombine';
17
+ /** What the filter box searches: tag names, and optionally their field values. */
18
+ export type TagTableFilterField = 'name' | 'values';
19
+ /** What narrows a table: the tagged items a tag filter lets through, and the filter box's text. */
20
+ export interface TagTableFilter {
21
+ matches?: TagFilterMatches;
22
+ text?: string;
23
+ fields?: readonly TagTableFilterField[];
24
+ }
25
+ /**
26
+ * What a tag's values can name: the open workspace's people (person fields) and tags (link fields,
27
+ * e.g. a person's organisation, named for their chips), and the tag list itself.
28
+ */
29
+ export declare function useTagValueOptions(): {
30
+ allTags: {
31
+ external_id: string;
32
+ workspace_ext_id: string;
33
+ name: string;
34
+ instruction?: string | null | undefined;
35
+ tag_type: {
36
+ type: "checkbox" | "text" | "number" | "select" | "search" | "date";
37
+ options: string[];
38
+ };
39
+ kind: "label" | "annotation" | "search" | "issue" | "person" | "organisation";
40
+ shared: boolean;
41
+ parent_ext_id?: string | null | undefined;
42
+ doctag_count: number;
43
+ facttag_count: number;
44
+ convotag_count: number;
45
+ field_values?: {
46
+ [x: string]: unknown;
47
+ } | undefined;
48
+ links?: {
49
+ docs?: {
50
+ doc_ext_id: string;
51
+ file_name: string;
52
+ note?: string | null | undefined;
53
+ citations_count: number;
54
+ updated_at: string;
55
+ }[] | undefined;
56
+ facts?: {
57
+ fact_ext_id: string;
58
+ text: string;
59
+ confirmed: boolean;
60
+ updated_at: string;
61
+ }[] | undefined;
62
+ threads?: {
63
+ conversation_ext_id: string;
64
+ title?: string | null | undefined;
65
+ updated_at: string;
66
+ }[] | undefined;
67
+ doc_count: number;
68
+ fact_count: number;
69
+ thread_count: number;
70
+ } | null | undefined;
71
+ created_by_ext_id: string;
72
+ updated_by_ext_id?: string | null | undefined;
73
+ created_at: string;
74
+ updated_at: string;
75
+ }[];
76
+ people: {
77
+ value: string;
78
+ label: string;
79
+ }[];
80
+ tagOptions: {
81
+ value: string;
82
+ label: string;
83
+ kind: "label" | "search" | "annotation" | "person" | "organisation" | "issue";
84
+ }[];
85
+ };
86
+ export interface ConnectedTagTableProps extends Pick<TagTableProps, 'onOpenDocument' | 'onOpenFact' | 'onOpenThread' | 'onOpenRow' | 'onOpenTag' | 'actions' | 'labels' | 'className' | 'testId'> {
87
+ /** The rows are the workspace's tags of this kind, oldest first; the columns its fields. */
88
+ kind: TagKind;
89
+ /** This tag's children instead (a label hierarchy; flat kinds have none), as rows of `kind`. */
90
+ parentId?: string;
91
+ /** How many documents, facts and threads each row lists (the rest are counted). Default 3. */
92
+ linksLimit?: number;
93
+ /** Narrow the rows (see {@link TagTableFilter}). */
94
+ filter?: TagTableFilter;
95
+ /** The exported document's title; default the kind's ("Issues", "People", …). */
96
+ exportTitle?: string;
97
+ /** The snapshot was filed: its document id. Absent: no export button. */
98
+ onExported?: (documentId: string) => void;
99
+ /** Offer the snapshot as a `.docx` download. Default true. */
100
+ downloadable?: boolean;
101
+ /** Offer "Add row" (where the kind is added by name). Default true. */
102
+ addRows?: boolean;
103
+ /** Edit the columns (the kind's fields). Default true. */
104
+ editColumns?: boolean;
105
+ /** Read only: no cell edits, no "Add row", no column changes. */
106
+ readOnly?: boolean;
107
+ }
108
+ export declare function ConnectedTagTable({ kind, parentId, linksLimit, filter, exportTitle, onExported, downloadable, addRows, editColumns, readOnly, ...props }: ConnectedTagTableProps): import("react").JSX.Element;