@arbidocs/blocks 0.4.147 → 0.4.151

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 (339) hide show
  1. package/dist/ConnectedNativeDocxComparison-OFPIXNJB.js +35 -0
  2. package/dist/ConnectedNativeDocxComparison-OFPIXNJB.js.map +1 -0
  3. package/dist/ConnectedNativeDocxComparison-Y5BNLNH6.cjs +44 -0
  4. package/dist/ConnectedNativeDocxComparison-Y5BNLNH6.cjs.map +1 -0
  5. package/dist/ConnectedNativeDocxEditor-HTEW5JAH.cjs +46 -0
  6. package/dist/ConnectedNativeDocxEditor-HTEW5JAH.cjs.map +1 -0
  7. package/dist/ConnectedNativeDocxEditor-LRYU5HPA.js +33 -0
  8. package/dist/ConnectedNativeDocxEditor-LRYU5HPA.js.map +1 -0
  9. package/dist/ConnectedStreamedWordArtifact-QAUVUCSX.js +35 -0
  10. package/dist/ConnectedStreamedWordArtifact-QAUVUCSX.js.map +1 -0
  11. package/dist/ConnectedStreamedWordArtifact-QW74LKHN.cjs +44 -0
  12. package/dist/ConnectedStreamedWordArtifact-QW74LKHN.cjs.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 +263 -264
  22. package/dist/agents/index.js +6 -7
  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/chat/index.cjs +78 -78
  27. package/dist/chat/index.js +3 -3
  28. package/dist/{chunk-2FL7QJKJ.js → chunk-265GOG4W.js} +3 -3
  29. package/dist/{chunk-2FL7QJKJ.js.map → chunk-265GOG4W.js.map} +1 -1
  30. package/dist/{chunk-LTU35TQN.cjs → chunk-2FLWPM3B.cjs} +636 -31
  31. package/dist/chunk-2FLWPM3B.cjs.map +1 -0
  32. package/dist/{chunk-SUUPR735.js → chunk-3PCBYOIZ.js} +4 -4
  33. package/dist/{chunk-SUUPR735.js.map → chunk-3PCBYOIZ.js.map} +1 -1
  34. package/dist/{chunk-WIZ7Z7FN.js → chunk-4236BRZK.js} +46 -221
  35. package/dist/chunk-4236BRZK.js.map +1 -0
  36. package/dist/{chunk-IL3WB3YX.cjs → chunk-4JNKXOFZ.cjs} +3 -3
  37. package/dist/{chunk-IL3WB3YX.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-6I6CVX5G.cjs +22 -0
  41. package/dist/chunk-6I6CVX5G.cjs.map +1 -0
  42. package/dist/{chunk-MHFF5N65.cjs → chunk-757OYF6G.cjs} +4 -38
  43. package/dist/chunk-757OYF6G.cjs.map +1 -0
  44. package/dist/chunk-B3FMUFAW.cjs +1956 -0
  45. package/dist/chunk-B3FMUFAW.cjs.map +1 -0
  46. package/dist/{chunk-B3AHCIV5.js → chunk-BJ24VPOA.js} +4 -55
  47. package/dist/chunk-BJ24VPOA.js.map +1 -0
  48. package/dist/chunk-C7PTF6BQ.cjs +172 -0
  49. package/dist/chunk-C7PTF6BQ.cjs.map +1 -0
  50. package/dist/{chunk-LZRMXJIE.js → chunk-COA3S3CZ.js} +3 -3
  51. package/dist/{chunk-LZRMXJIE.js.map → chunk-COA3S3CZ.js.map} +1 -1
  52. package/dist/{chunk-VUR63NMQ.js → chunk-CROTH2BS.js} +6 -6
  53. package/dist/{chunk-VUR63NMQ.js.map → chunk-CROTH2BS.js.map} +1 -1
  54. package/dist/{chunk-AO7SK6WP.cjs → chunk-CU2O32Z4.cjs} +31 -31
  55. package/dist/{chunk-AO7SK6WP.cjs.map → chunk-CU2O32Z4.cjs.map} +1 -1
  56. package/dist/chunk-D3WFIFRY.cjs +659 -0
  57. package/dist/chunk-D3WFIFRY.cjs.map +1 -0
  58. package/dist/{chunk-DAHCRVPM.js → chunk-DB2OXRQC.js} +84 -82
  59. package/dist/chunk-DB2OXRQC.js.map +1 -0
  60. package/dist/{chunk-QXMR5YHC.js → chunk-DIB4JYUY.js} +19 -3
  61. package/dist/chunk-DIB4JYUY.js.map +1 -0
  62. package/dist/chunk-DVB5ZKOF.js +22 -0
  63. package/dist/chunk-DVB5ZKOF.js.map +1 -0
  64. package/dist/chunk-EYJMMGXF.js +19 -0
  65. package/dist/chunk-EYJMMGXF.js.map +1 -0
  66. package/dist/chunk-FAXXN7KI.cjs +213 -0
  67. package/dist/chunk-FAXXN7KI.cjs.map +1 -0
  68. package/dist/{chunk-2MJWWPHY.js → chunk-G4IYES7G.js} +140 -15
  69. package/dist/chunk-G4IYES7G.js.map +1 -0
  70. package/dist/{chunk-T5I4NRFP.cjs → chunk-GFOEWPAP.cjs} +8 -8
  71. package/dist/{chunk-T5I4NRFP.cjs.map → chunk-GFOEWPAP.cjs.map} +1 -1
  72. package/dist/{chunk-QI6AIHWP.cjs → chunk-GOWXP5KT.cjs} +145 -14
  73. package/dist/chunk-GOWXP5KT.cjs.map +1 -0
  74. package/dist/chunk-HALD6ZB5.cjs +18 -0
  75. package/dist/chunk-HALD6ZB5.cjs.map +1 -0
  76. package/dist/chunk-HUJF2XM2.js +6584 -0
  77. package/dist/chunk-HUJF2XM2.js.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-KQYPP72K.js +644 -0
  85. package/dist/chunk-KQYPP72K.js.map +1 -0
  86. package/dist/chunk-KUT2Y7JF.cjs +43 -0
  87. package/dist/chunk-KUT2Y7JF.cjs.map +1 -0
  88. package/dist/{chunk-6YTHQ73P.cjs → chunk-LLYZGH3L.cjs} +3 -56
  89. package/dist/chunk-LLYZGH3L.cjs.map +1 -0
  90. package/dist/{chunk-YSHIC4NJ.cjs → chunk-LXTOOUEN.cjs} +159 -154
  91. package/dist/chunk-LXTOOUEN.cjs.map +1 -0
  92. package/dist/{chunk-EVUEIBNU.js → chunk-M4S75AEJ.js} +44 -5
  93. package/dist/chunk-M4S75AEJ.js.map +1 -0
  94. package/dist/{chunk-V5OAXIBN.cjs → chunk-NPR5BGFF.cjs} +11 -11
  95. package/dist/{chunk-V5OAXIBN.cjs.map → chunk-NPR5BGFF.cjs.map} +1 -1
  96. package/dist/{chunk-PLJ7PHWU.cjs → chunk-NS7NVX4E.cjs} +3 -3
  97. package/dist/{chunk-PLJ7PHWU.cjs.map → chunk-NS7NVX4E.cjs.map} +1 -1
  98. package/dist/{chunk-AINU3EJ6.cjs → chunk-Q4BY2CQQ.cjs} +92 -90
  99. package/dist/chunk-Q4BY2CQQ.cjs.map +1 -0
  100. package/dist/chunk-QN47Q4N7.js +16 -0
  101. package/dist/chunk-QN47Q4N7.js.map +1 -0
  102. package/dist/{chunk-I2QSDQQV.cjs → chunk-QT3A4PFC.cjs} +21 -2
  103. package/dist/chunk-QT3A4PFC.cjs.map +1 -0
  104. package/dist/{chunk-ZM26YEOT.js → chunk-RY2SODRN.js} +3 -3
  105. package/dist/{chunk-ZM26YEOT.js.map → chunk-RY2SODRN.js.map} +1 -1
  106. package/dist/chunk-SDOEHEJP.js +208 -0
  107. package/dist/chunk-SDOEHEJP.js.map +1 -0
  108. package/dist/{chunk-DETZZBG2.cjs → chunk-SIB6C7P7.cjs} +43 -2
  109. package/dist/chunk-SIB6C7P7.cjs.map +1 -0
  110. package/dist/{chunk-MFY2ZNP6.cjs → chunk-SMN32BQ3.cjs} +4 -4
  111. package/dist/chunk-SMN32BQ3.cjs.map +1 -0
  112. package/dist/chunk-T74Q3MCZ.cjs +6751 -0
  113. package/dist/chunk-T74Q3MCZ.cjs.map +1 -0
  114. package/dist/{chunk-AOSUHWIL.js → chunk-TZOQKV64.js} +4 -37
  115. package/dist/chunk-TZOQKV64.js.map +1 -0
  116. package/dist/{chunk-U37AYUPI.cjs → chunk-U6JQ4KMX.cjs} +46 -233
  117. package/dist/chunk-U6JQ4KMX.cjs.map +1 -0
  118. package/dist/chunk-WFA2GVZJ.js +16 -0
  119. package/dist/chunk-WFA2GVZJ.js.map +1 -0
  120. package/dist/chunk-WU34CHU5.js +1907 -0
  121. package/dist/chunk-WU34CHU5.js.map +1 -0
  122. package/dist/{chunk-O4YPVYPO.cjs → chunk-YAEXSCUW.cjs} +364 -60
  123. package/dist/chunk-YAEXSCUW.cjs.map +1 -0
  124. package/dist/{chunk-H74HEPKT.js → chunk-YXNNNP57.js} +598 -13
  125. package/dist/chunk-YXNNNP57.js.map +1 -0
  126. package/dist/chunk-Z27QMJ6S.cjs +25 -0
  127. package/dist/chunk-Z27QMJ6S.cjs.map +1 -0
  128. package/dist/{chunk-CSI2B2H5.js → chunk-Z4NQ3TED.js} +4 -4
  129. package/dist/chunk-Z4NQ3TED.js.map +1 -0
  130. package/dist/{chunk-DGV7HQA7.js → chunk-ZLEYLCE4.js} +4 -4
  131. package/dist/chunk-ZLEYLCE4.js.map +1 -0
  132. package/dist/chunk-ZNLTEZEF.js +170 -0
  133. package/dist/chunk-ZNLTEZEF.js.map +1 -0
  134. package/dist/chunk-ZP6Q3KXU.cjs +18 -0
  135. package/dist/chunk-ZP6Q3KXU.cjs.map +1 -0
  136. package/dist/citations/index.cjs +14 -14
  137. package/dist/citations/index.js +2 -2
  138. package/dist/collaboration/index.cjs +35 -35
  139. package/dist/collaboration/index.js +1 -1
  140. package/dist/connect/docx.cjs +21 -26
  141. package/dist/connect/docx.cjs.map +1 -1
  142. package/dist/connect/docx.js +10 -26
  143. package/dist/connect/docx.js.map +1 -1
  144. package/dist/connect/index.cjs +8662 -2824
  145. package/dist/connect/index.cjs.map +1 -1
  146. package/dist/connect/index.d.ts +10 -2
  147. package/dist/connect/index.js +8467 -2670
  148. package/dist/connect/index.js.map +1 -1
  149. package/dist/connect/viewer.cjs +2357 -0
  150. package/dist/connect/viewer.cjs.map +1 -0
  151. package/dist/connect/viewer.d.ts +8 -0
  152. package/dist/connect/viewer.js +2350 -0
  153. package/dist/connect/viewer.js.map +1 -0
  154. package/dist/connection/ConnectedWorkflowsTable.d.ts +2 -12
  155. package/dist/connection/ai.d.ts +2 -9
  156. package/dist/connection/billing/AddAddonDialog.d.ts +24 -0
  157. package/dist/connection/billing/BillingCard.d.ts +18 -0
  158. package/dist/connection/billing/BillingProjectEntity.d.ts +9 -0
  159. package/dist/connection/billing/ChangePlanDialog.d.ts +20 -0
  160. package/dist/connection/billing/ChangeProPlan.d.ts +20 -0
  161. package/dist/connection/billing/CheckoutTotal.d.ts +12 -0
  162. package/dist/connection/billing/DailyCapEditor.d.ts +4 -0
  163. package/dist/connection/billing/InvoicesModal.d.ts +6 -0
  164. package/dist/connection/billing/NewProjectFlow.d.ts +14 -0
  165. package/dist/connection/billing/PlanChangeLines.d.ts +13 -0
  166. package/dist/connection/billing/PlanSelector.d.ts +50 -0
  167. package/dist/connection/billing/ProjectBilling.d.ts +24 -0
  168. package/dist/connection/billing/ProjectDetail.d.ts +16 -0
  169. package/dist/connection/billing/ProjectUsageCard.d.ts +21 -0
  170. package/dist/connection/billing/ProjectUsageContent.d.ts +18 -0
  171. package/dist/connection/billing/ProjectsTable.d.ts +13 -0
  172. package/dist/connection/billing/ReduceAddonDialog.d.ts +18 -0
  173. package/dist/connection/billing/ReferralReward.d.ts +32 -0
  174. package/dist/connection/billing/SharedProjects.d.ts +13 -0
  175. package/dist/connection/billing/StripeCheckoutModal.d.ts +32 -0
  176. package/dist/connection/billing/SubscriptionPlans.d.ts +15 -0
  177. package/dist/connection/billing/SubscriptionStatus.d.ts +10 -0
  178. package/dist/connection/billing/addon-pricing.d.ts +97 -0
  179. package/dist/connection/billing/api-error.d.ts +6 -0
  180. package/dist/connection/billing/billing-country.d.ts +14 -0
  181. package/dist/connection/billing/billing-focus.d.ts +11 -0
  182. package/dist/connection/billing/index.d.ts +22 -0
  183. package/dist/connection/billing/plan-badge.d.ts +15 -0
  184. package/dist/connection/billing/plan-change-outcome.d.ts +15 -0
  185. package/dist/connection/billing/plan-constants.d.ts +29 -0
  186. package/dist/connection/billing/plan-pricing.d.ts +67 -0
  187. package/dist/connection/billing/quota-items.d.ts +33 -0
  188. package/dist/connection/billing/referral-reward.d.ts +28 -0
  189. package/dist/connection/billing/refusal-copy.d.ts +5 -0
  190. package/dist/connection/billing/reward-balance.d.ts +19 -0
  191. package/dist/connection/billing/support.d.ts +35 -0
  192. package/dist/connection/billing/tax-quote.d.ts +36 -0
  193. package/dist/connection/billing/useAddonPurchase.d.ts +32 -0
  194. package/dist/connection/billing/useAutoRefreshPendingProjects.d.ts +11 -0
  195. package/dist/connection/billing/useCheckoutQuote.d.ts +30 -0
  196. package/dist/connection/billing/useOpenBillingPortal.d.ts +12 -0
  197. package/dist/connection/calendar/CalendarSettingsDialog.d.ts +1 -1
  198. package/dist/connection/facts/ConnectedFactsPage.d.ts +50 -0
  199. package/dist/connection/facts/FactMarkdownEditor.d.ts +57 -0
  200. package/dist/connection/facts/FactSourcesPopover.d.ts +38 -0
  201. package/dist/connection/facts/FactTextEditor.d.ts +2 -0
  202. package/dist/connection/facts/factNouns.d.ts +4 -0
  203. package/dist/connection/facts/factPageColumns.d.ts +37 -0
  204. package/dist/connection/facts/types.d.ts +127 -0
  205. package/dist/connection/facts/useFactActions.d.ts +10 -0
  206. package/dist/connection/facts/useFactComposer.d.ts +54 -0
  207. package/dist/connection/facts/useFactFilters.d.ts +101 -0
  208. package/dist/connection/facts/useFactSelection.d.ts +82 -0
  209. package/dist/connection/facts/useFactsGrid.d.ts +87 -0
  210. package/dist/connection/facts/useFactsPageView.d.ts +4 -0
  211. package/dist/connection/mail/ConnectedMailComposer.d.ts +3 -1
  212. package/dist/connection/mail/ConnectedMailbox.d.ts +4 -2
  213. package/dist/connection/mail/MailComposerForm.d.ts +4 -2
  214. package/dist/connection/mail/MailRecipientInput.d.ts +14 -0
  215. package/dist/connection/mail/index.d.ts +1 -1
  216. package/dist/connection/mail/types.d.ts +10 -0
  217. package/dist/connection/search/ConnectedSearchPage.d.ts +64 -0
  218. package/dist/connection/search/SearchResultRows.d.ts +38 -0
  219. package/dist/connection/search/index.d.ts +2 -0
  220. package/dist/connection/tags/ConnectedTagTable.d.ts +108 -0
  221. package/dist/connection/tags/ConnectedTagsPage.d.ts +55 -0
  222. package/dist/connection/tags/DocTagPassages.d.ts +25 -0
  223. package/dist/connection/tags/GlossaryExport.d.ts +7 -0
  224. package/dist/connection/tags/TagCombineFilter.d.ts +14 -0
  225. package/dist/connection/tags/TagPlacement.d.ts +16 -0
  226. package/dist/connection/tags/TagsPageSections.d.ts +36 -0
  227. package/dist/connection/tags/tagCombine.d.ts +55 -0
  228. package/dist/connection/useConnectedWorkNotifications.d.ts +7 -24
  229. package/dist/connection/viewer/ConnectedDocumentToolsProvider.d.ts +11 -0
  230. package/dist/connection/viewer/ConnectedDocumentViewer.d.ts +21 -0
  231. package/dist/connection/viewer/FinaliseTranslationButton.d.ts +15 -0
  232. package/dist/connection/viewer/ViewerPdfPane.d.ts +46 -0
  233. package/dist/connection/viewer/parsed/ParsedPassage.d.ts +48 -0
  234. package/dist/connection/viewer/parsed/ParsedTextView.d.ts +17 -0
  235. package/dist/connection/viewer/parsed/PassageTagPanel.d.ts +18 -0
  236. package/dist/connection/viewer/parsed/citation-line.d.ts +17 -0
  237. package/dist/connection/viewer/parsed/document-tags.d.ts +8 -0
  238. package/dist/connection/viewer/parsed/useChunkTagging.d.ts +46 -0
  239. package/dist/connection/viewer/parsed/useCitationSelection.d.ts +27 -0
  240. package/dist/connection/viewer/parsed/useDocumentLabels.d.ts +38 -0
  241. package/dist/connection/viewer/parsed/useLazyPages.d.ts +18 -0
  242. package/dist/connection/viewer/parsed/usePageScrollSync.d.ts +17 -0
  243. package/dist/connection/viewer/parsed/usePassageCopy.d.ts +25 -0
  244. package/dist/connection/viewer/support.d.ts +97 -0
  245. package/dist/connection/viewer/useImageCrop.d.ts +13 -0
  246. package/dist/connection/viewer/useViewedDocument.d.ts +70 -0
  247. package/dist/connection/viewer/useViewerBlobs.d.ts +15 -0
  248. package/dist/connection/viewer/useViewerTabs.d.ts +18 -0
  249. package/dist/connection/viewer/useViewerVersions.d.ts +11 -0
  250. package/dist/connection/workspace-settings/useConnectedWorkspaceSettings.d.ts +6 -0
  251. package/dist/document-tools/index.cjs +59 -652
  252. package/dist/document-tools/index.cjs.map +1 -1
  253. package/dist/document-tools/index.js +2 -641
  254. package/dist/document-tools/index.js.map +1 -1
  255. package/dist/docx/index.cjs +48 -47
  256. package/dist/docx/index.js +4 -3
  257. package/dist/facts/FactsBulkBar.d.ts +6 -3
  258. package/dist/facts/cited-version-ref.d.ts +1 -0
  259. package/dist/facts/index.cjs +204 -1940
  260. package/dist/facts/index.cjs.map +1 -1
  261. package/dist/facts/index.d.ts +1 -0
  262. package/dist/facts/index.js +13 -1895
  263. package/dist/facts/index.js.map +1 -1
  264. package/dist/files/TagPassagePanel.d.ts +2 -1
  265. package/dist/files/ViewerChrome.d.ts +5 -4
  266. package/dist/files/ViewerControlBar.d.ts +12 -0
  267. package/dist/files/doc-labels.d.ts +35 -0
  268. package/dist/files/grid/FilterButton.d.ts +12 -0
  269. package/dist/files/grid/RowDensityControl.d.ts +18 -0
  270. package/dist/files/grid/row-density.d.ts +27 -0
  271. package/dist/files/index.cjs +778 -7099
  272. package/dist/files/index.cjs.map +1 -1
  273. package/dist/files/index.d.ts +5 -0
  274. package/dist/files/index.js +13 -6918
  275. package/dist/files/index.js.map +1 -1
  276. package/dist/index.cjs +993 -1209
  277. package/dist/index.cjs.map +1 -1
  278. package/dist/index.js +22 -355
  279. package/dist/index.js.map +1 -1
  280. package/dist/retrieval/SearchSnippet.d.ts +6 -0
  281. package/dist/retrieval/index.cjs +74 -41
  282. package/dist/retrieval/index.d.ts +2 -0
  283. package/dist/retrieval/index.js +2 -1
  284. package/dist/retrieval/search-results.d.ts +46 -0
  285. package/dist/settings/Billing.d.ts +0 -66
  286. package/dist/settings/SubscriptionParts.d.ts +1 -50
  287. package/dist/settings/index.cjs +166 -214
  288. package/dist/settings/index.d.ts +3 -2
  289. package/dist/settings/index.js +1 -1
  290. package/dist/settings/inverted-index-filter.d.ts +26 -0
  291. package/dist/studio/index.cjs +3 -3
  292. package/dist/studio/index.js +2 -2
  293. package/dist/tags/definitions.d.ts +10 -0
  294. package/dist/tags/index.d.ts +4 -1
  295. package/dist/tags/page/ExtractEntitiesDialog.d.ts +24 -0
  296. package/dist/tags/page/TagPicker.d.ts +16 -0
  297. package/dist/tags/page/tagsPageLabels.d.ts +36 -0
  298. package/dist/workflow-canvas/index.cjs +19 -20
  299. package/dist/workflow-canvas/index.cjs.map +1 -1
  300. package/dist/workflow-canvas/index.js +6 -7
  301. package/dist/workflow-canvas/index.js.map +1 -1
  302. package/node_modules/@arbidocs/coedit/package.json +1 -1
  303. package/package.json +13 -4
  304. package/dist/calendar/access-setup.d.ts +0 -8
  305. package/dist/chunk-2MJWWPHY.js.map +0 -1
  306. package/dist/chunk-3AFWGEDJ.cjs +0 -53
  307. package/dist/chunk-3AFWGEDJ.cjs.map +0 -1
  308. package/dist/chunk-6YTHQ73P.cjs.map +0 -1
  309. package/dist/chunk-7RJTEWYM.js.map +0 -1
  310. package/dist/chunk-AINU3EJ6.cjs.map +0 -1
  311. package/dist/chunk-AOSUHWIL.js.map +0 -1
  312. package/dist/chunk-B3AHCIV5.js.map +0 -1
  313. package/dist/chunk-CSI2B2H5.js.map +0 -1
  314. package/dist/chunk-DAHCRVPM.js.map +0 -1
  315. package/dist/chunk-DETZZBG2.cjs.map +0 -1
  316. package/dist/chunk-DGV7HQA7.js.map +0 -1
  317. package/dist/chunk-EVUEIBNU.js.map +0 -1
  318. package/dist/chunk-H74HEPKT.js.map +0 -1
  319. package/dist/chunk-I2QSDQQV.cjs.map +0 -1
  320. package/dist/chunk-J5CWKFSC.js +0 -170
  321. package/dist/chunk-J5CWKFSC.js.map +0 -1
  322. package/dist/chunk-LTU35TQN.cjs.map +0 -1
  323. package/dist/chunk-MFY2ZNP6.cjs.map +0 -1
  324. package/dist/chunk-MHFF5N65.cjs.map +0 -1
  325. package/dist/chunk-NRFAWUVD.js.map +0 -1
  326. package/dist/chunk-O4YPVYPO.cjs.map +0 -1
  327. package/dist/chunk-ODRHHWHY.cjs.map +0 -1
  328. package/dist/chunk-QI6AIHWP.cjs.map +0 -1
  329. package/dist/chunk-QXMR5YHC.js.map +0 -1
  330. package/dist/chunk-RFXJYIDV.js +0 -50
  331. package/dist/chunk-RFXJYIDV.js.map +0 -1
  332. package/dist/chunk-U37AYUPI.cjs.map +0 -1
  333. package/dist/chunk-WIZ7Z7FN.js.map +0 -1
  334. package/dist/chunk-XVUOMWMD.cjs +0 -177
  335. package/dist/chunk-XVUOMWMD.cjs.map +0 -1
  336. package/dist/chunk-YSHIC4NJ.cjs.map +0 -1
  337. package/dist/connection/ConnectedTagTable.d.ts +0 -32
  338. package/dist/connection/calendar/CopyField.d.ts +0 -9
  339. package/dist/connection/calendar/OpenAccessPanel.d.ts +0 -7
@@ -35,12 +35,13 @@ export { ProjectRow, ProjectList, SharedProjectsSection, SharedProjectRow, Proje
35
35
  export { SupportPanel, SupportUnavailable, type SupportPanelProps, type SupportTab, DEFAULT_SUPPORT_PANEL_LABELS, type SupportPanelLabels, } from './SupportPanel';
36
36
  export { WelcomeDialog, InviteContactsDialog, type WelcomeDialogProps, type WelcomeQuotaView, type InviteContactsDialogProps, DEFAULT_WELCOME_DIALOG_LABELS, DEFAULT_INVITE_CONTACTS_DIALOG_LABELS, type WelcomeDialogLabels, type InviteContactsDialogLabels, } from './WelcomeDialog';
37
37
  export { UsagePanel, UsageLineChart, UsageLegend, UsageProportionBar, UsageSummary, UsageToggle, type UsagePanelProps, type UsageLineChartProps, type UsageSeries, type UsageShare, type UsageStat, type UsageMetric, type UsageToggleProps, DEFAULT_USAGE_LINE_CHART_LABELS, DEFAULT_USAGE_PROPORTION_BAR_LABELS, DEFAULT_USAGE_PANEL_LABELS, type UsageLineChartLabels, type UsageProportionBarLabels, type UsagePanelLabels, } from './Usage';
38
- export { InvoicesDialog, DailyCapField, MemberProjectRow, InlineNameEditor, ProjectCardView, type InvoiceRowView, type InvoicesDialogProps, type DailyCapFieldProps, type MemberProjectRowProps, type InlineNameEditorProps, type ProjectCardViewProps, DEFAULT_INVOICES_DIALOG_LABELS, DEFAULT_DAILY_CAP_FIELD_LABELS, DEFAULT_MEMBER_PROJECT_ROW_LABELS, DEFAULT_INLINE_NAME_EDITOR_LABELS, DEFAULT_PROJECT_CARD_VIEW_LABELS, type InvoicesDialogLabels, type DailyCapFieldLabels, type MemberProjectRowLabels, type InlineNameEditorLabels, type ProjectCardViewLabels, } from './Billing';
38
+ export { InvoicesDialog, DailyCapField, type InvoiceRowView, type InvoicesDialogProps, type DailyCapFieldProps, DEFAULT_INVOICES_DIALOG_LABELS, DEFAULT_DAILY_CAP_FIELD_LABELS, type InvoicesDialogLabels, type DailyCapFieldLabels, } from './Billing';
39
39
  export { ProfileCard, type ProfileCardProps, type ProfileNameView, type ProfileEmailChangeView, DEFAULT_PROFILE_CARD_LABELS, type ProfileCardLabels, } from './ProfileCard';
40
40
  export { EmailWorkspaceDialogView, DEFAULT_EMAIL_WORKSPACE_DIALOG_LABELS, type EmailWorkspaceDialogViewProps, type EmailWorkspaceDialogLabels, type EmailAssistantAccess, } from './EmailWorkspaceDialogView';
41
- export { PlanNotice, PlanStack, PlanTransition, PlanPickerHeader, PlanPickerCard, PlanActionRow, PlanActionButton, SubscriptionStatusView, PlanDialogFrame, CheckoutDialogFrame, QuotaExceededDialogView, WelcomeProjectPicker, SubscriptionSectionView, ProjectGroup, ProjectPlanPicker, ProjectNameLabel, ProjectRowActions, RowIconAction, RowButton, UsageActionButton, UsageQuotaHint, UsageSection, DEFAULT_SUBSCRIPTION_STATUS_LABELS, DEFAULT_CHECKOUT_DIALOG_LABELS, DEFAULT_QUOTA_EXCEEDED_DIALOG_LABELS, DEFAULT_SUBSCRIPTION_SECTION_LABELS, type SubscriptionMeterView, type SubscriptionStatusViewProps, type SubscriptionStatusLabels, type PlanDialogFrameProps, type CheckoutDialogFrameProps, type CheckoutDialogLabels, type QuotaExceededDialogViewProps, type QuotaExceededDialogLabels, type WelcomeProjectPickerProps, type SubscriptionSectionViewProps, type SubscriptionSectionLabels, type RowIconActionProps, } from './SubscriptionParts';
41
+ export { PlanNotice, PlanStack, PlanPickerHeader, PlanPickerCard, PlanActionRow, PlanActionButton, SubscriptionStatusView, PlanDialogFrame, CheckoutDialogFrame, QuotaExceededDialogView, WelcomeProjectPicker, ProjectGroup, UsageActionButton, UsageQuotaHint, UsageSection, DEFAULT_SUBSCRIPTION_STATUS_LABELS, DEFAULT_CHECKOUT_DIALOG_LABELS, DEFAULT_QUOTA_EXCEEDED_DIALOG_LABELS, type SubscriptionMeterView, type SubscriptionStatusViewProps, type SubscriptionStatusLabels, type PlanDialogFrameProps, type CheckoutDialogFrameProps, type CheckoutDialogLabels, type QuotaExceededDialogViewProps, type QuotaExceededDialogLabels, type WelcomeProjectPickerProps, } from './SubscriptionParts';
42
42
  export { ErrorDialogView, DEFAULT_ERROR_DIALOG_LABELS, type ErrorDialogViewProps, type ErrorDialogDetails, type ErrorDialogLabels, } from './ErrorDialog';
43
43
  export { formatSessionTtl, toActiveSessionViews, toLogoutSessionViews, toDeleteBlockerViews, toNotificationCategories, EMAIL_NOTIFICATION_CATEGORIES, EMAIL_NOTIFICATION_KEYS, type SessionLike, type ToActiveSessionViewsOptions, type DeleteBlockerLike, type EmailNotificationCategoryDef, } from './account-views';
44
44
  export { IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, DEFAULT_IDENTITY_VERIFICATION_LABELS, type IdentityVerificationCardProps, type IdentityVerificationDialogProps, type RequireVerifiedProps, type IdentityVerificationLabels, } from './IdentityVerification';
45
45
  export { SettingsPage, resolveSettingsSection, type SettingsPageProps, type SettingsPageSection, } from './SettingsPage';
46
46
  export { AppearanceSettings, DEFAULT_APPEARANCE_PAIRING_IDS, type AppearanceSettingsProps, type AppearanceColorScheme, type AppearanceTextSize, } from './AppearanceSettings';
47
+ export { applyInvertedIndexFilter, buildInvertedIndex } from './inverted-index-filter';
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- export { ActiveSessionsDialog, AppearanceSettings, AvatarPicker, CONVERSATION_TITLE_MAX, CheckoutDialogFrame, ConfigSwitcherBar, ConnectionCard, ConnectionsEmpty, ConnectionsError, ConnectionsLoading, ConversationTitleSection, DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS, DEFAULT_APPEARANCE_PAIRING_IDS, DEFAULT_AVATAR_PICKER_LABELS, DEFAULT_CHECKOUT_DIALOG_LABELS, DEFAULT_CONFIG_SWITCHER_BAR_LABELS, DEFAULT_CONNECTION_CARD_LABELS, DEFAULT_CONVERSATION_TITLE_SECTION_LABELS, DEFAULT_DAILY_CAP_FIELD_LABELS, DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS, DEFAULT_EMAIL_WORKSPACE_DIALOG_LABELS, DEFAULT_ERROR_DIALOG_LABELS, DEFAULT_IDENTITY_VERIFICATION_LABELS, DEFAULT_INLINE_NAME_EDITOR_LABELS, DEFAULT_INVITE_CONTACTS_DIALOG_LABELS, DEFAULT_INVOICES_DIALOG_LABELS, DEFAULT_LOGOUT_DIALOG_LABELS, DEFAULT_MEMBER_PROJECT_ROW_LABELS, DEFAULT_MODEL_SELECTION_SECTION_LABELS, DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS, DEFAULT_PLAN_CARD_LABELS, DEFAULT_PROFILE_CARD_LABELS, DEFAULT_PROJECT_CARD_VIEW_LABELS, DEFAULT_PROJECT_DETAIL_HEADER_LABELS, DEFAULT_PROJECT_LIST_LABELS, DEFAULT_QUOTA_EXCEEDED_DIALOG_LABELS, DEFAULT_REFERRAL_REWARD_LABELS, DEFAULT_RENAME_DIALOG_LABELS, DEFAULT_SETTINGS_DANGER_ZONE_LABELS, DEFAULT_SHARED_PROJECTS_SECTION_LABELS, DEFAULT_SUBSCRIPTION_SECTION_LABELS, DEFAULT_SUBSCRIPTION_STATUS_LABELS, DEFAULT_SUPPORT_PANEL_LABELS, DEFAULT_SYNC_DIALOG_FOOTER_LABELS, DEFAULT_SYNC_FOLDER_ROW_LABELS, DEFAULT_TIPS_EDITOR_LABELS, DEFAULT_USAGE_LINE_CHART_LABELS, DEFAULT_USAGE_PANEL_LABELS, DEFAULT_USAGE_PROPORTION_BAR_LABELS, DEFAULT_WELCOME_DIALOG_LABELS, DEFAULT_WORK_OFFLINE_LABELS, DailyCapField, DeleteAccountDialog, DraggableHeader, EMAIL_NOTIFICATION_CATEGORIES, EMAIL_NOTIFICATION_KEYS, EmailWorkspaceDialogView, ErrorDialogView, FilterChip, FloatingPanel, IdentityVerificationCard, IdentityVerificationDialog, InlineNameEditor, InviteContactsDialog, InvoicesDialog, JsonTree, LogoutDialog, MemberProjectRow, MessageJsonTree, ModelProviderLabel, ModelSelectionSection, MoreInfo, MoreInfoList, NotificationCategoryList, PanelActionsRow, PanelAddButton, PanelFrame, PanelFrameBody, PanelNote, PanelScroll, PanelTitleBar, PasswordChangeDialog, PlanActionButton, PlanActionRow, PlanBadge, PlanCard, PlanCardGrid, PlanDialogFrame, PlanInfoPopover, PlanNotice, PlanPickerCard, PlanPickerHeader, PlanStack, PlanTierOption, PlanTransition, PremiumModelsFrame, PricingToggle, ProfileCard, ProjectCardView, ProjectDetailHeader, ProjectDetailSection, ProjectGroup, ProjectList, ProjectNameLabel, ProjectPlanPicker, ProjectRow, ProjectRowActions, PromoCodeInput, QuotaExceededDialogView, QuotaMeter, ReferralRewardBadge, ReferralRewardNote, ReferralRewardSummary, RenameDialog, RequireVerified, RowButton, RowIconAction, SegmentedControl, ServerConnectionButton, SettingsActionRow, SettingsCard, SettingsDangerZone, SettingsPage, SettingsPanel, SettingsRow, SettingsSection, SettingsSwitchGroup, SettingsSwitchRow, SharedProjectRow, SharedProjectsSection, SubscriptionSectionView, SubscriptionStatusView, SupportPanel, SupportUnavailable, SyncCheckList, SyncDialogBody, SyncDialogFooter, SyncField, SyncFolderRow, SyncFolderStatus, SyncLinkButton, SyncLinkRow, SyncLoading, SyncNote, SyncOptionToggle, SyncOptions, SyncReconnectNotice, SyncSelect, SyncSmallNote, SyncTreeFrame, ThreadPreviewDialog, TipsEditorDialog, UsageActionButton, UsageLegend, UsageLineChart, UsagePanel, UsageProportionBar, UsageQuotaHint, UsageSection, UsageSummary, UsageToggle, WelcomeDialog, WelcomeProjectPicker, WorkOfflineToggle, formatSessionTtl, resolveSettingsSection, serverConnectionView, toActiveSessionViews, toDeleteBlockerViews, toLogoutSessionViews, toNotificationCategories } from '../chunk-WIZ7Z7FN.js';
2
+ export { ActiveSessionsDialog, AppearanceSettings, AvatarPicker, CONVERSATION_TITLE_MAX, CheckoutDialogFrame, ConfigSwitcherBar, ConnectionCard, ConnectionsEmpty, ConnectionsError, ConnectionsLoading, ConversationTitleSection, DEFAULT_ACTIVE_SESSIONS_DIALOG_LABELS, DEFAULT_APPEARANCE_PAIRING_IDS, DEFAULT_AVATAR_PICKER_LABELS, DEFAULT_CHECKOUT_DIALOG_LABELS, DEFAULT_CONFIG_SWITCHER_BAR_LABELS, DEFAULT_CONNECTION_CARD_LABELS, DEFAULT_CONVERSATION_TITLE_SECTION_LABELS, DEFAULT_DAILY_CAP_FIELD_LABELS, DEFAULT_DELETE_ACCOUNT_DIALOG_LABELS, DEFAULT_EMAIL_WORKSPACE_DIALOG_LABELS, DEFAULT_ERROR_DIALOG_LABELS, DEFAULT_IDENTITY_VERIFICATION_LABELS, DEFAULT_INVITE_CONTACTS_DIALOG_LABELS, DEFAULT_INVOICES_DIALOG_LABELS, DEFAULT_LOGOUT_DIALOG_LABELS, DEFAULT_MODEL_SELECTION_SECTION_LABELS, DEFAULT_PASSWORD_CHANGE_DIALOG_LABELS, DEFAULT_PLAN_CARD_LABELS, DEFAULT_PROFILE_CARD_LABELS, DEFAULT_PROJECT_DETAIL_HEADER_LABELS, DEFAULT_PROJECT_LIST_LABELS, DEFAULT_QUOTA_EXCEEDED_DIALOG_LABELS, DEFAULT_REFERRAL_REWARD_LABELS, DEFAULT_RENAME_DIALOG_LABELS, DEFAULT_SETTINGS_DANGER_ZONE_LABELS, DEFAULT_SHARED_PROJECTS_SECTION_LABELS, DEFAULT_SUBSCRIPTION_STATUS_LABELS, DEFAULT_SUPPORT_PANEL_LABELS, DEFAULT_SYNC_DIALOG_FOOTER_LABELS, DEFAULT_SYNC_FOLDER_ROW_LABELS, DEFAULT_TIPS_EDITOR_LABELS, DEFAULT_USAGE_LINE_CHART_LABELS, DEFAULT_USAGE_PANEL_LABELS, DEFAULT_USAGE_PROPORTION_BAR_LABELS, DEFAULT_WELCOME_DIALOG_LABELS, DEFAULT_WORK_OFFLINE_LABELS, DailyCapField, DeleteAccountDialog, DraggableHeader, EMAIL_NOTIFICATION_CATEGORIES, EMAIL_NOTIFICATION_KEYS, EmailWorkspaceDialogView, ErrorDialogView, FilterChip, FloatingPanel, IdentityVerificationCard, IdentityVerificationDialog, InviteContactsDialog, InvoicesDialog, JsonTree, LogoutDialog, MessageJsonTree, ModelProviderLabel, ModelSelectionSection, MoreInfo, MoreInfoList, NotificationCategoryList, PanelActionsRow, PanelAddButton, PanelFrame, PanelFrameBody, PanelNote, PanelScroll, PanelTitleBar, PasswordChangeDialog, PlanActionButton, PlanActionRow, PlanBadge, PlanCard, PlanCardGrid, PlanDialogFrame, PlanInfoPopover, PlanNotice, PlanPickerCard, PlanPickerHeader, PlanStack, PlanTierOption, PremiumModelsFrame, PricingToggle, ProfileCard, ProjectDetailHeader, ProjectDetailSection, ProjectGroup, ProjectList, ProjectRow, PromoCodeInput, QuotaExceededDialogView, QuotaMeter, ReferralRewardBadge, ReferralRewardNote, ReferralRewardSummary, RenameDialog, RequireVerified, SegmentedControl, ServerConnectionButton, SettingsActionRow, SettingsCard, SettingsDangerZone, SettingsPage, SettingsPanel, SettingsRow, SettingsSection, SettingsSwitchGroup, SettingsSwitchRow, SharedProjectRow, SharedProjectsSection, SubscriptionStatusView, SupportPanel, SupportUnavailable, SyncCheckList, SyncDialogBody, SyncDialogFooter, SyncField, SyncFolderRow, SyncFolderStatus, SyncLinkButton, SyncLinkRow, SyncLoading, SyncNote, SyncOptionToggle, SyncOptions, SyncReconnectNotice, SyncSelect, SyncSmallNote, SyncTreeFrame, ThreadPreviewDialog, TipsEditorDialog, UsageActionButton, UsageLegend, UsageLineChart, UsagePanel, UsageProportionBar, UsageQuotaHint, UsageSection, UsageSummary, UsageToggle, WelcomeDialog, WelcomeProjectPicker, WorkOfflineToggle, applyInvertedIndexFilter, buildInvertedIndex, formatSessionTtl, resolveSettingsSection, serverConnectionView, toActiveSessionViews, toDeleteBlockerViews, toLogoutSessionViews, toNotificationCategories } from '../chunk-4236BRZK.js';
3
3
  export { ModalBreadcrumbHeader, ModalCrumbs } from '../chunk-RC6VTY2H.js';
4
4
  import '../chunk-66TA5IBN.js';
5
5
  import '../chunk-NHZK64TQ.js';
@@ -0,0 +1,26 @@
1
+ /**
2
+ * The tri-state filter's evaluator over an inverted index (`Map<key, Set<itemId>>`): include is OR
3
+ * across keys, exclude drops a match and wins over include. What a `TriStateFilterMenu` selection
4
+ * lets through a list (the Files list, the Tags page's tagged items).
5
+ */
6
+ import type { TriState } from './TriStateFilterMenu';
7
+ /**
8
+ * Tri-state filter evaluator backed by an inverted index
9
+ * (`Map<filterKey, Set<itemId>>`). Same semantics as
10
+ * the tri-state filter menu — excluded wins, include is OR across keys —
11
+ * but avoids the per-item attribute record lookup.
12
+ *
13
+ * Scales well when:
14
+ * - many filter keys are active (no per-item M-key scan),
15
+ * - or the selected filters are selective (union sets stay small).
16
+ *
17
+ * Complexity: O(sum of excluded+included set sizes) to build the
18
+ * unions, plus O(N) over `items` to preserve order — every lookup in
19
+ * the scan is O(1) hash.
20
+ */
21
+ export declare function applyInvertedIndexFilter<T, K extends string>(items: T[], filterStates: ReadonlyMap<K, TriState>, invertedIndex: Map<K, Set<string>>, getId: (item: T) => string): T[];
22
+ /**
23
+ * The inverted index {@link applyInvertedIndexFilter} reads (`Map<key, Set<itemId>>`), built in
24
+ * one pass from each item's keys.
25
+ */
26
+ export declare function buildInvertedIndex<T>(items: T[], getId: (item: T) => string, getKeys: (item: T) => Iterable<string>): Map<string, Set<string>>;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkODRHHWHY_cjs = require('../chunk-ODRHHWHY.cjs');
4
+ var chunk4KMLM3GY_cjs = require('../chunk-4KMLM3GY.cjs');
5
5
  var chunkGFNELPDP_cjs = require('../chunk-GFNELPDP.cjs');
6
6
  var chunkKMZWKSKO_cjs = require('../chunk-KMZWKSKO.cjs');
7
7
  var chunkTC3RQNEX_cjs = require('../chunk-TC3RQNEX.cjs');
@@ -16,8 +16,8 @@ require('../chunk-B6MVQCXW.cjs');
16
16
  require('../chunk-JKB7WT7L.cjs');
17
17
  require('../chunk-JSTKEZBS.cjs');
18
18
  require('../chunk-76L6LOP3.cjs');
19
- require('../chunk-7UTB4PHM.cjs');
20
19
  require('../chunk-32HW2Q33.cjs');
20
+ require('../chunk-7UTB4PHM.cjs');
21
21
  require('../chunk-PPCATBOY.cjs');
22
22
  require('../chunk-MHVNT4J3.cjs');
23
23
  var chunkKPZZ5FHE_cjs = require('../chunk-KPZZ5FHE.cjs');
@@ -888,7 +888,7 @@ function latestImageDocId(artifacts) {
888
888
  return null;
889
889
  }
890
890
  function useImageGen() {
891
- const task = chunkODRHHWHY_cjs.useConnectedAiTask();
891
+ const task = chunk4KMLM3GY_cjs.useConnectedAiTask();
892
892
  const { run } = task;
893
893
  const generate = react.useCallback(
894
894
  async (prompt, referenceDocIds = []) => {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { useConnectedAiTask } from '../chunk-CSI2B2H5.js';
2
+ import { useConnectedAiTask } from '../chunk-Z4NQ3TED.js';
3
3
  import { useConnection } from '../chunk-US3S4DCB.js';
4
4
  import { PageHeader, MetricCard, DataTableBlock, StatGroup } from '../chunk-OVR3XMYL.js';
5
5
  import { assetRefId, applyStoredTheme, AssetResolverProvider, ThemeEditor, applyThemeVars, tid, SectionHeading, PricingTable, Tabs as Tabs$1, Accordion, Gallery, VideoEmbed, ContactForm, Banner, MediaText, TeamGrid, Steps, TestimonialGrid, Columns, Spacer, Container, Hero, FeatureGrid, Testimonial, CTABanner, LogoCloud, FAQ, RichTextBlock, BlockImage, AvatarBlock, Navbar, Footer, ListBlock, isAssetRef, asAssetRef } from '../chunk-VTTZZ4FN.js';
@@ -15,8 +15,8 @@ import '../chunk-7XF5SFJ2.js';
15
15
  import '../chunk-YBLIKTJK.js';
16
16
  import '../chunk-PDKM27DF.js';
17
17
  import '../chunk-TZGBRLPK.js';
18
- import '../chunk-AA3PT6KR.js';
19
18
  import '../chunk-AUS3KBHJ.js';
19
+ import '../chunk-AA3PT6KR.js';
20
20
  import '../chunk-NPLYHR2E.js';
21
21
  import '../chunk-7F6CBP3Z.js';
22
22
  import { useBlocksEnvironment } from '../chunk-TBEVGWY3.js';
@@ -6,9 +6,19 @@
6
6
  * editor inserts terms with them and the Tags page prints the glossary with them.
7
7
  */
8
8
  import { type ParsedDefinition } from '@arbidocs/coedit/commands';
9
+ import type { FactResponse, TagResponse } from '@arbidocs/sdk/browser';
9
10
  export { DEFINITION_BOOKMARK_PREFIX, compareTerms, definitionBookmark, definitionIdOfBookmark, type ParsedDefinition, } from '@arbidocs/coedit/commands';
10
11
  /** The label that marks a fact as a definition. */
11
12
  export declare const DEFINITIONS_LABEL = "Definitions";
13
+ /** Whether a tag is the Definitions label. */
14
+ export declare const isDefinitionsLabel: (tag: Pick<TagResponse, "kind" | "name">) => boolean;
15
+ /** The workspace's Definitions label: a label named "Definitions" (top-level preferred). */
16
+ export declare function findDefinitionsLabel<T extends TagResponse>(tags: readonly T[]): T | undefined;
17
+ /**
18
+ * A definition fact as the blocks read it: text, preference, source (the name of the document it
19
+ * cites first, from `nameOf`) and its other labels.
20
+ */
21
+ export declare function toDefinitionSource(fact: Pick<FactResponse, 'external_id' | 'text' | 'confirmed' | 'updated_at' | 'citations' | 'tags'>, labelId: string, nameOf?: (docId: string) => string | null | undefined): DefinitionSource;
12
22
  /** A label on a definition other than {@link DEFINITIONS_LABEL} (e.g. the agreement it is from). */
13
23
  export interface DefinitionLabel {
14
24
  id: string;
@@ -9,5 +9,8 @@ export { TagDetail, DEFAULT_TAG_DETAIL_LABELS, type TagDetailProps, type TagDeta
9
9
  export { TagsNav, findTagsNavItem, DEFAULT_TAGS_NAV_LABELS, type TagsNavProps, type TagsNavLabels, type TagsNavGroup, type TagsNavItem, type TagsNavSelection, } from './TagsNav';
10
10
  export { tagTableMarkdown, cellValue, cellText, parseCell, isGap, rowLinks, fieldWrites, type TagTableData, type TagTableRow, type TagTableLinks, type TagTableField, type TagTableFieldType, type TagTableFieldWrite, type TagTableMarkdownOptions, } from './tagTableModel';
11
11
  export { tagTableDocx, tagTableDocumentXml, DEFAULT_TAG_TABLE_DOCX_LABELS, TAG_TABLE_DOCX_LANDSCAPE_AFTER, type TagTableDocxLabels, type TagTableDocxOptions, } from './tagTableDocx';
12
- export { DEFINITIONS_LABEL, DEFINITION_BOOKMARK_PREFIX, parseDefinition, toDefinition, termKey, groupDefinitions, definitionLabels, filterTermGroups, compareDefinitions, compareTerms, definitionBookmark, definitionIdOfBookmark, type DefinitionSource, type DefinitionLabel, type Definition, type DefinedTermGroup, type ParsedDefinition, } from './definitions';
12
+ export { DEFINITIONS_LABEL, isDefinitionsLabel, findDefinitionsLabel, toDefinitionSource, DEFINITION_BOOKMARK_PREFIX, parseDefinition, toDefinition, termKey, groupDefinitions, definitionLabels, filterTermGroups, compareDefinitions, compareTerms, definitionBookmark, definitionIdOfBookmark, type DefinitionSource, type DefinitionLabel, type Definition, type DefinedTermGroup, type ParsedDefinition, } from './definitions';
13
13
  export { glossaryEntries, glossaryMarkdown, glossaryDocx, glossaryDocumentXml, glossaryFileName, DEFAULT_GLOSSARY_LABELS, type GlossaryEntry, type GlossaryLabels, type GlossaryOptions, } from './glossary';
14
+ export { tagsPageNouns, entitiesPhrase, documentCount, tagTableLabels, tagDetailLabels, tagNoteLabel, tagKindDescription, } from './page/tagsPageLabels';
15
+ export { TagPicker, type TagPickerProps } from './page/TagPicker';
16
+ export { ExtractEntitiesDialog, EXTRACT_LIMIT, type ExtractEntitiesDialogProps, type ExtractableDocument, } from './page/ExtractEntitiesDialog';
@@ -0,0 +1,24 @@
1
+ /**
2
+ * "Extract from documents": pick documents (or all of them) and have the AI find the people and
3
+ * organisations they name, each linked to its entity tag. The host runs the extraction
4
+ * (`onExtract`, accepted at once); the dialog closes once it is accepted.
5
+ */
6
+ import type { components } from '@arbidocs/client';
7
+ type DocResponse = components['schemas']['DocResponse'];
8
+ /** Most documents one extraction takes (the endpoint's limit). */
9
+ export declare const EXTRACT_LIMIT = 500;
10
+ /** What the dialog reads of a document. */
11
+ export type ExtractableDocument = Pick<DocResponse, 'external_id' | 'file_name' | 'file_type' | 'doc_metadata' | 'parent_ext_id' | 'n_pages' | 'tokens'>;
12
+ export interface ExtractEntitiesDialogProps {
13
+ open: boolean;
14
+ onOpenChange: (open: boolean) => void;
15
+ /** The workspace's documents. */
16
+ documents: readonly ExtractableDocument[];
17
+ /** Run the extraction over these documents; the dialog closes when it resolves. */
18
+ onExtract: (docIds: string[]) => Promise<unknown>;
19
+ /** Too many documents chosen (more than {@link EXTRACT_LIMIT}). */
20
+ onTooMany: (message: string) => void;
21
+ isPending?: boolean;
22
+ }
23
+ export declare function ExtractEntitiesDialog({ open, onOpenChange, documents, onExtract, onTooMany, isPending, }: ExtractEntitiesDialogProps): import("react").JSX.Element;
24
+ export {};
@@ -0,0 +1,16 @@
1
+ import type { TagKind } from '@arbidocs/sdk/browser';
2
+ export interface TagPickerProps {
3
+ /** The tags it offers (the open kind's). */
4
+ tags: ReadonlyArray<{
5
+ external_id: string;
6
+ name: string;
7
+ }>;
8
+ /** The tag on screen, if any. */
9
+ selectedId?: string;
10
+ /** The kinds a new tag can be created as, the first by default (what the placeholder names). */
11
+ kinds: readonly TagKind[];
12
+ onSelect: (tagId: string) => void;
13
+ /** Create a tag of this kind by this name (and open it). Absent: the picker only finds. */
14
+ onCreate?: (name: string, kind: TagKind) => void | Promise<unknown>;
15
+ }
16
+ export declare function TagPicker({ tags, selectedId, kinds, onSelect, onCreate }: TagPickerProps): import("react").JSX.Element;
@@ -0,0 +1,36 @@
1
+ /**
2
+ * The nouns of the Tags page, all from the entity registry (`getEntityLabel`) so a deployment that
3
+ * renames an entity (a document to "File", a tag to "Label") renames it here too. Read at render
4
+ * time, after any `configureEntityRegistry` override.
5
+ */
6
+ import type { TagKind } from '@arbidocs/sdk/browser';
7
+ import type { TagDetailLabels } from '../TagDetail';
8
+ import type { TagTableLabels } from '../TagTable';
9
+ /** Singular and plural, title-case forms of the page's nouns. */
10
+ export declare function tagsPageNouns(): {
11
+ tag: string;
12
+ tags: string;
13
+ document: string;
14
+ documents: string;
15
+ fact: string;
16
+ facts: string;
17
+ thread: string;
18
+ threads: string;
19
+ people: string;
20
+ organisations: string;
21
+ };
22
+ /** "People and organisations", as the extraction calls what it finds. */
23
+ export declare function entitiesPhrase(): string;
24
+ /** "3 documents" / "1 document". */
25
+ export declare function documentCount(count: number): string;
26
+ /** What a kind's table calls its rows and the items tagged with each. */
27
+ export declare function tagTableLabels(kind: TagKind): Partial<TagTableLabels>;
28
+ /** The headings and empty states of one tag's detail. */
29
+ export declare function tagDetailLabels(): Partial<TagDetailLabels>;
30
+ /**
31
+ * What a tag's note on a document is called: "Note" for every kind that carries one (a label's
32
+ * links carry none). A person's or organisation's role is its own Role field, not the link's.
33
+ */
34
+ export declare function tagNoteLabel(kind: TagKind): string | undefined;
35
+ /** What each kind is for, under its heading on the Tags page. */
36
+ export declare function tagKindDescription(kind: TagKind): string;
@@ -3,17 +3,16 @@
3
3
 
4
4
  var chunkGAYMJWTC_cjs = require('../chunk-GAYMJWTC.cjs');
5
5
  var chunkGFNELPDP_cjs = require('../chunk-GFNELPDP.cjs');
6
- var chunkAO7SK6WP_cjs = require('../chunk-AO7SK6WP.cjs');
7
- var chunkT5I4NRFP_cjs = require('../chunk-T5I4NRFP.cjs');
6
+ var chunkCU2O32Z4_cjs = require('../chunk-CU2O32Z4.cjs');
7
+ var chunkGFOEWPAP_cjs = require('../chunk-GFOEWPAP.cjs');
8
8
  require('../chunk-RFIBUWLF.cjs');
9
- var chunkIL3WB3YX_cjs = require('../chunk-IL3WB3YX.cjs');
9
+ var chunk4JNKXOFZ_cjs = require('../chunk-4JNKXOFZ.cjs');
10
10
  require('../chunk-EYKISBDO.cjs');
11
11
  require('../chunk-RQ2Y7USX.cjs');
12
- require('../chunk-AHDJXIUB.cjs');
13
12
  require('../chunk-ZW6FPIFC.cjs');
14
- require('../chunk-3AFWGEDJ.cjs');
15
- require('../chunk-DETZZBG2.cjs');
13
+ require('../chunk-SIB6C7P7.cjs');
16
14
  require('../chunk-DVUZTGVL.cjs');
15
+ require('../chunk-AHDJXIUB.cjs');
17
16
  require('../chunk-DTROMMDX.cjs');
18
17
  require('../chunk-V4ISCZJ7.cjs');
19
18
  require('../chunk-2EI7NCUA.cjs');
@@ -21,8 +20,8 @@ require('../chunk-C2CWWEHO.cjs');
21
20
  require('../chunk-7RGLTF76.cjs');
22
21
  var chunkJSTKEZBS_cjs = require('../chunk-JSTKEZBS.cjs');
23
22
  var chunk76L6LOP3_cjs = require('../chunk-76L6LOP3.cjs');
24
- require('../chunk-7UTB4PHM.cjs');
25
23
  var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
24
+ require('../chunk-7UTB4PHM.cjs');
26
25
  require('../chunk-FX3K6LNZ.cjs');
27
26
  require('../chunk-PPCATBOY.cjs');
28
27
  require('../chunk-MHVNT4J3.cjs');
@@ -320,9 +319,9 @@ function SignalsEditor({
320
319
  {
321
320
  className: ui.cn(
322
321
  "space-y-1.5 rounded-md border p-2",
323
- chunkT5I4NRFP_cjs.isIncompleteSignal(signal) ? "border-destructive/50" : "border-border"
322
+ chunkGFOEWPAP_cjs.isIncompleteSignal(signal) ? "border-destructive/50" : "border-border"
324
323
  ),
325
- "data-incomplete": chunkT5I4NRFP_cjs.isIncompleteSignal(signal) || void 0,
324
+ "data-incomplete": chunkGFOEWPAP_cjs.isIncompleteSignal(signal) || void 0,
326
325
  "data-testid": `${testId}-${i}`,
327
326
  children: [
328
327
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
@@ -1608,7 +1607,7 @@ function triggerFields(trigger, clearOthers) {
1608
1607
  return {
1609
1608
  timezone: trigger.timezone,
1610
1609
  rrule: trigger.start === "repeat" ? trigger.rrule.trim() : none,
1611
- run_at: trigger.start === "once" ? chunkAO7SK6WP_cjs.localInputToIso(trigger.runAt) : none,
1610
+ run_at: trigger.start === "once" ? chunkCU2O32Z4_cjs.localInputToIso(trigger.runAt) : none,
1612
1611
  event_kind: trigger.start === "event" ? trigger.eventKind.trim() : none,
1613
1612
  // A step signal is `workflow_signal` narrowed to one signal name.
1614
1613
  event_filter: filter ?? none,
@@ -1624,7 +1623,7 @@ function plan(value, options) {
1624
1623
  criteria: [],
1625
1624
  max_passes: 3,
1626
1625
  documents: [],
1627
- steps: chunkT5I4NRFP_cjs.toPlanSteps(value.workflow, options)
1626
+ steps: chunkGFOEWPAP_cjs.toPlanSteps(value.workflow, options)
1628
1627
  };
1629
1628
  }
1630
1629
  function builderToWorkflowRequest(value, workspaceId, options = {}) {
@@ -1659,7 +1658,7 @@ function builderToWorkflowUpdate(value, options = {}) {
1659
1658
  }
1660
1659
  function workflowRecordToBuilder(record) {
1661
1660
  const planned = record.plan?.steps ?? [];
1662
- const steps = planned.length ? chunkT5I4NRFP_cjs.fromPlanSteps(planned) : record.prompt || record.skill_ref ? [
1661
+ const steps = planned.length ? chunkGFOEWPAP_cjs.fromPlanSteps(planned) : record.prompt || record.skill_ref ? [
1663
1662
  {
1664
1663
  id: "work",
1665
1664
  kind: "agent",
@@ -1667,7 +1666,7 @@ function workflowRecordToBuilder(record) {
1667
1666
  ...record.skill_ref ? { workflow: record.skill_ref } : { run: { kind: "prompt", promptTemplate: record.prompt } }
1668
1667
  }
1669
1668
  ] : [];
1670
- const when = chunkAO7SK6WP_cjs.workflowWhen(record);
1669
+ const when = chunkCU2O32Z4_cjs.workflowWhen(record);
1671
1670
  return {
1672
1671
  workflow: {
1673
1672
  id: record.external_id,
@@ -1676,12 +1675,12 @@ function workflowRecordToBuilder(record) {
1676
1675
  inputs: [],
1677
1676
  landing: "chat",
1678
1677
  schedulable: false,
1679
- run: { kind: "steps", steps, layout: chunkT5I4NRFP_cjs.layoutFromPlanSteps(planned ?? []) }
1678
+ run: { kind: "steps", steps, layout: chunkGFOEWPAP_cjs.layoutFromPlanSteps(planned ?? []) }
1680
1679
  },
1681
1680
  trigger: {
1682
1681
  ...DEFAULT_WORKFLOW_TRIGGER,
1683
1682
  start: when === "now" ? "manual" : when,
1684
- runAt: chunkAO7SK6WP_cjs.isoToLocalInput(record.run_at),
1683
+ runAt: chunkCU2O32Z4_cjs.isoToLocalInput(record.run_at),
1685
1684
  rrule: record.rrule ?? "",
1686
1685
  timezone: record.timezone || DEFAULT_WORKFLOW_TRIGGER.timezone,
1687
1686
  eventKind: record.event_kind ?? "",
@@ -1737,7 +1736,7 @@ function triggerSummary(trigger, options = {}) {
1737
1736
  case "once":
1738
1737
  return trigger.runAt ? new Date(trigger.runAt).toLocaleString() : l.starts.once;
1739
1738
  case "repeat":
1740
- return trigger.rrule ? chunkAO7SK6WP_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
1739
+ return trigger.rrule ? chunkCU2O32Z4_cjs.describeRRule(trigger.rrule) : l.starts.repeat;
1741
1740
  case "event":
1742
1741
  if (isSignalTrigger(trigger))
1743
1742
  return trigger.signal ? l.signalSummary.replace("{signal}", trigger.signal) : l.stepSignals;
@@ -1796,7 +1795,7 @@ function TriggerInspector({
1796
1795
  }
1797
1796
  )
1798
1797
  ] }),
1799
- trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkAO7SK6WP_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
1798
+ trigger.start === "repeat" && /* @__PURE__ */ jsxRuntime.jsx(chunkCU2O32Z4_cjs.RecurrenceBuilder, { rrule: trigger.rrule, onChange: (rrule) => set({ rrule }) }),
1800
1799
  trigger.start === "event" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
1801
1800
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.event }),
1802
1801
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -1848,7 +1847,7 @@ function TriggerInspector({
1848
1847
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
1849
1848
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { className: "text-xs", children: l.agent }),
1850
1849
  /* @__PURE__ */ jsxRuntime.jsx(
1851
- chunkIL3WB3YX_cjs.AgentSelect,
1850
+ chunk4JNKXOFZ_cjs.AgentSelect,
1852
1851
  {
1853
1852
  agents,
1854
1853
  value: trigger.agentId,
@@ -2685,13 +2684,13 @@ function WorkflowPreview({
2685
2684
  renderIcon,
2686
2685
  testId
2687
2686
  }) {
2688
- const run = chunkAO7SK6WP_cjs.useWorkflowPreview(workflow, {
2687
+ const run = chunkCU2O32Z4_cjs.useWorkflowPreview(workflow, {
2689
2688
  resolveWorkflow: (id) => workflows.find((w) => w.id === id),
2690
2689
  compose,
2691
2690
  answer
2692
2691
  });
2693
2692
  return /* @__PURE__ */ jsxRuntime.jsx(
2694
- chunkT5I4NRFP_cjs.WorkflowRunner,
2693
+ chunkGFOEWPAP_cjs.WorkflowRunner,
2695
2694
  {
2696
2695
  workflow,
2697
2696
  run,