@arbidocs/blocks 0.4.159 → 0.4.161
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.
- package/README.md +48 -9
- package/dist/{ConnectedNativeDocxComparison-R6RU5TZE.cjs → ConnectedNativeDocxComparison-GLHOGUP6.cjs} +12 -11
- package/dist/{ConnectedNativeDocxComparison-R6RU5TZE.cjs.map → ConnectedNativeDocxComparison-GLHOGUP6.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-XMZ5KLD4.js → ConnectedNativeDocxComparison-LKIMKOTA.js} +11 -10
- package/dist/{ConnectedStreamedWordArtifact-IXRJ7MUE.js.map → ConnectedNativeDocxComparison-LKIMKOTA.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-NGUK2AX6.js → ConnectedNativeDocxEditor-6LNYWZ3P.js} +10 -9
- package/dist/{ConnectedNativeDocxEditor-NGUK2AX6.js.map → ConnectedNativeDocxEditor-6LNYWZ3P.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-LBATSM3M.cjs → ConnectedNativeDocxEditor-M3UGWL6K.cjs} +12 -11
- package/dist/{ConnectedNativeDocxEditor-LBATSM3M.cjs.map → ConnectedNativeDocxEditor-M3UGWL6K.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-IXRJ7MUE.js → ConnectedStreamedWordArtifact-432HT7DK.js} +11 -10
- package/dist/{ConnectedNativeDocxComparison-XMZ5KLD4.js.map → ConnectedStreamedWordArtifact-432HT7DK.js.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-CWFR6A37.cjs → ConnectedStreamedWordArtifact-COEXL5IT.cjs} +12 -11
- package/dist/ConnectedStreamedWordArtifact-COEXL5IT.cjs.map +1 -0
- package/dist/{FactTextEditor-YESAU2IJ.js → FactTextEditor-ABKKJOCY.js} +2 -2
- package/dist/FactTextEditor-ABKKJOCY.js.map +1 -0
- package/dist/{FactTextEditor-YUPBCTXK.cjs → FactTextEditor-GYN5RHJT.cjs} +2 -2
- package/dist/FactTextEditor-GYN5RHJT.cjs.map +1 -0
- package/dist/{WorkspaceTableView-EYLEUZZT.cjs → WorkspaceTableView-AQTF5F6T.cjs} +6 -5
- package/dist/WorkspaceTableView-AQTF5F6T.cjs.map +1 -0
- package/dist/{WorkspaceTableView-DWUE4VQF.js → WorkspaceTableView-PTB5BPVA.js} +4 -3
- package/dist/WorkspaceTableView-PTB5BPVA.js.map +1 -0
- package/dist/agents/index.cjs +263 -263
- package/dist/agents/index.js +6 -6
- package/dist/agents/skills/skillLibrary.d.ts +1 -1
- package/dist/{chunk-FPHTSNOE.js → chunk-2AKIMCDD.js} +3 -3
- package/dist/{chunk-FPHTSNOE.js.map → chunk-2AKIMCDD.js.map} +1 -1
- package/dist/{chunk-YNMO3DSR.js → chunk-2AMYT2HQ.js} +3 -3
- package/dist/{chunk-YNMO3DSR.js.map → chunk-2AMYT2HQ.js.map} +1 -1
- package/dist/{chunk-MSFQDELO.cjs → chunk-3CUORKDL.cjs} +4 -4
- package/dist/{chunk-MSFQDELO.cjs.map → chunk-3CUORKDL.cjs.map} +1 -1
- package/dist/{chunk-MNG7N6M2.js → chunk-3PQIWOTZ.js} +122 -57
- package/dist/chunk-3PQIWOTZ.js.map +1 -0
- package/dist/chunk-5C7DRQQE.cjs +1891 -0
- package/dist/chunk-5C7DRQQE.cjs.map +1 -0
- package/dist/{chunk-F57LNUSZ.js → chunk-5NWY3FXQ.js} +24 -57
- package/dist/chunk-5NWY3FXQ.js.map +1 -0
- package/dist/{chunk-ISHFVKVU.js → chunk-5WLORPGX.js} +4 -4
- package/dist/{chunk-ISHFVKVU.js.map → chunk-5WLORPGX.js.map} +1 -1
- package/dist/{chunk-FAXXN7KI.cjs → chunk-5Y6V7F6W.cjs} +53 -4
- package/dist/chunk-5Y6V7F6W.cjs.map +1 -0
- package/dist/{chunk-6QAAIDQQ.cjs → chunk-6UTIAHQG.cjs} +60 -60
- package/dist/{chunk-6QAAIDQQ.cjs.map → chunk-6UTIAHQG.cjs.map} +1 -1
- package/dist/{chunk-KCSIX7CY.js → chunk-6XIXNH26.js} +3 -3
- package/dist/{chunk-KCSIX7CY.js.map → chunk-6XIXNH26.js.map} +1 -1
- package/dist/{chunk-YBJ4QGNH.cjs → chunk-ANLTECZ6.cjs} +8 -8
- package/dist/{chunk-YBJ4QGNH.cjs.map → chunk-ANLTECZ6.cjs.map} +1 -1
- package/dist/{chunk-Q2XGM372.cjs → chunk-AR6A2PMV.cjs} +4 -4
- package/dist/{chunk-Q2XGM372.cjs.map → chunk-AR6A2PMV.cjs.map} +1 -1
- package/dist/{chunk-KBO75NLM.cjs → chunk-AYJZRBHG.cjs} +7 -7
- package/dist/{chunk-KBO75NLM.cjs.map → chunk-AYJZRBHG.cjs.map} +1 -1
- package/dist/{chunk-FM3IRQJW.cjs → chunk-AYKE6USO.cjs} +12 -12
- package/dist/chunk-AYKE6USO.cjs.map +1 -0
- package/dist/chunk-BGJZVJJM.cjs +63 -0
- package/dist/chunk-BGJZVJJM.cjs.map +1 -0
- package/dist/{chunk-ECW2R2KF.cjs → chunk-BPL5RLNN.cjs} +27 -27
- package/dist/{chunk-ECW2R2KF.cjs.map → chunk-BPL5RLNN.cjs.map} +1 -1
- package/dist/{chunk-CNHUJRQ4.cjs → chunk-EFEFLBRM.cjs} +21 -55
- package/dist/chunk-EFEFLBRM.cjs.map +1 -0
- package/dist/{chunk-ETZ5A3GU.js → chunk-EVO2UNX3.js} +3 -3
- package/dist/chunk-EVO2UNX3.js.map +1 -0
- package/dist/{chunk-P6RIBIVN.js → chunk-FMJGVAWX.js} +8 -9
- package/dist/chunk-FMJGVAWX.js.map +1 -0
- package/dist/chunk-H5542IOD.cjs +108 -0
- package/dist/chunk-H5542IOD.cjs.map +1 -0
- package/dist/{chunk-VF5EUAIV.js → chunk-H7PHANI4.js} +3 -3
- package/dist/chunk-H7PHANI4.js.map +1 -0
- package/dist/chunk-HQJL7FSY.js +58 -0
- package/dist/chunk-HQJL7FSY.js.map +1 -0
- package/dist/{chunk-OFV3PRF2.cjs → chunk-HRDVQERS.cjs} +7 -7
- package/dist/{chunk-OFV3PRF2.cjs.map → chunk-HRDVQERS.cjs.map} +1 -1
- package/dist/{chunk-3VULDTNL.cjs → chunk-HUNX4CQG.cjs} +4 -4
- package/dist/chunk-HUNX4CQG.cjs.map +1 -0
- package/dist/{chunk-2BHDRVVL.cjs → chunk-I6I34FDU.cjs} +38 -37
- package/dist/chunk-I6I34FDU.cjs.map +1 -0
- package/dist/chunk-IWVOZREF.js +12 -0
- package/dist/chunk-IWVOZREF.js.map +1 -0
- package/dist/chunk-J7YHBMBB.js +1834 -0
- package/dist/chunk-J7YHBMBB.js.map +1 -0
- package/dist/{chunk-SDOEHEJP.js → chunk-JMQLTMJ7.js} +53 -5
- package/dist/chunk-JMQLTMJ7.js.map +1 -0
- package/dist/{chunk-TF7HN5EU.js → chunk-JNE2XEXD.js} +12 -12
- package/dist/chunk-JNE2XEXD.js.map +1 -0
- package/dist/{chunk-QKR5LWDO.js → chunk-K7CZFNJ2.js} +7 -7
- package/dist/{chunk-QKR5LWDO.js.map → chunk-K7CZFNJ2.js.map} +1 -1
- package/dist/{chunk-4RPBUMHB.cjs → chunk-KMZO5W6D.cjs} +4 -4
- package/dist/chunk-KMZO5W6D.cjs.map +1 -0
- package/dist/{chunk-FTZ45WHY.js → chunk-KNCJSPXV.js} +5020 -4014
- package/dist/chunk-KNCJSPXV.js.map +1 -0
- package/dist/{chunk-3OCNUKGX.js → chunk-KQWC4YBX.js} +3 -3
- package/dist/{chunk-3OCNUKGX.js.map → chunk-KQWC4YBX.js.map} +1 -1
- package/dist/{chunk-TC3RQNEX.cjs → chunk-L4KWTDFE.cjs} +5 -5
- package/dist/chunk-L4KWTDFE.cjs.map +1 -0
- package/dist/{chunk-VTTZZ4FN.js → chunk-LH3JAZ33.js} +5 -5
- package/dist/chunk-LH3JAZ33.js.map +1 -0
- package/dist/{chunk-P2YM67Y5.cjs → chunk-LQYPOWKN.cjs} +14 -21
- package/dist/chunk-LQYPOWKN.cjs.map +1 -0
- package/dist/{chunk-RATEAOKT.js → chunk-NOXGEQQR.js} +7 -13
- package/dist/chunk-NOXGEQQR.js.map +1 -0
- package/dist/{chunk-NPLGB4LI.cjs → chunk-NUAC5GTQ.cjs} +5115 -4077
- package/dist/chunk-NUAC5GTQ.cjs.map +1 -0
- package/dist/chunk-NYECCTB3.js +101 -0
- package/dist/chunk-NYECCTB3.js.map +1 -0
- package/dist/{chunk-GC2FSPSQ.cjs → chunk-O5E3NKPI.cjs} +128 -58
- package/dist/chunk-O5E3NKPI.cjs.map +1 -0
- package/dist/{chunk-SZOFGU7W.js → chunk-O5XREO7H.js} +3 -3
- package/dist/{chunk-SZOFGU7W.js.map → chunk-O5XREO7H.js.map} +1 -1
- package/dist/{chunk-OOU4QLRK.cjs → chunk-OHCYJFV2.cjs} +9 -9
- package/dist/{chunk-OOU4QLRK.cjs.map → chunk-OHCYJFV2.cjs.map} +1 -1
- package/dist/{chunk-DEPF5LQI.js → chunk-OKRYNQPH.js} +3 -3
- package/dist/chunk-OKRYNQPH.js.map +1 -0
- package/dist/{chunk-KFMRBZQK.js → chunk-PCL7IEZO.js} +21 -20
- package/dist/chunk-PCL7IEZO.js.map +1 -0
- package/dist/chunk-RFB7B6XG.cjs +169 -0
- package/dist/chunk-RFB7B6XG.cjs.map +1 -0
- package/dist/{chunk-SZSJGZSO.js → chunk-SQQU3WRB.js} +714 -5
- package/dist/chunk-SQQU3WRB.js.map +1 -0
- package/dist/{chunk-OALEDG67.cjs → chunk-TNESYDBR.cjs} +5 -5
- package/dist/{chunk-OALEDG67.cjs.map → chunk-TNESYDBR.cjs.map} +1 -1
- package/dist/chunk-TTS353W2.js +163 -0
- package/dist/chunk-TTS353W2.js.map +1 -0
- package/dist/{chunk-CROGFB46.cjs → chunk-U7OUZHBH.cjs} +753 -2
- package/dist/chunk-U7OUZHBH.cjs.map +1 -0
- package/dist/{chunk-BQ77KSXU.js → chunk-UORU5S7Y.js} +3 -3
- package/dist/{chunk-BQ77KSXU.js.map → chunk-UORU5S7Y.js.map} +1 -1
- package/dist/{chunk-FYZXDZM7.js → chunk-VFF76GTB.js} +4 -4
- package/dist/{chunk-FYZXDZM7.js.map → chunk-VFF76GTB.js.map} +1 -1
- package/dist/{chunk-E4H5H2C3.cjs → chunk-VYTK2WJB.cjs} +4 -4
- package/dist/{chunk-E4H5H2C3.cjs.map → chunk-VYTK2WJB.cjs.map} +1 -1
- package/dist/{chunk-XI37A7HH.js → chunk-WKSP73RU.js} +3 -3
- package/dist/{chunk-XI37A7HH.js.map → chunk-WKSP73RU.js.map} +1 -1
- package/dist/chunk-WP4VIOOA.cjs +15 -0
- package/dist/chunk-WP4VIOOA.cjs.map +1 -0
- package/dist/{chunk-YF3QUHKN.cjs → chunk-X3XPXEIM.cjs} +14 -15
- package/dist/chunk-X3XPXEIM.cjs.map +1 -0
- package/dist/{chunk-VZPFYZZU.cjs → chunk-Z2HEBOA3.cjs} +8 -8
- package/dist/{chunk-VZPFYZZU.cjs.map → chunk-Z2HEBOA3.cjs.map} +1 -1
- package/dist/{chunk-Q7CQYYZW.cjs → chunk-ZMYW5M75.cjs} +5 -5
- package/dist/chunk-ZMYW5M75.cjs.map +1 -0
- package/dist/{chunk-7UENVUA6.js → chunk-ZW2AWACP.js} +3 -3
- package/dist/{chunk-7UENVUA6.js.map → chunk-ZW2AWACP.js.map} +1 -1
- package/dist/citations/index.cjs +10 -10
- package/dist/citations/index.js +2 -2
- package/dist/collaboration/contacts/contact-form.d.ts +47 -0
- package/dist/collaboration/contacts/index.d.ts +3 -1
- package/dist/collaboration/contacts/invite-plan.d.ts +46 -0
- package/dist/collaboration/contacts/parseEmails.d.ts +7 -0
- package/dist/collaboration/index.cjs +163 -83
- package/dist/collaboration/index.js +2 -2
- package/dist/components/ActionLink.d.ts +1 -1
- package/dist/components/TeamGrid.d.ts +1 -1
- package/dist/components/editorial/{ProfileCard.d.ts → EditorialProfileCard.d.ts} +2 -2
- package/dist/components/editorial/index.d.ts +1 -1
- package/dist/connect/docx.cjs +14 -13
- package/dist/connect/docx.d.ts +1 -1
- package/dist/connect/docx.js +10 -9
- package/dist/connect/index.cjs +22097 -14743
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +11 -7
- package/dist/connect/index.js +15203 -7912
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/viewer.cjs +83 -138
- package/dist/connect/viewer.cjs.map +1 -1
- package/dist/connect/viewer.d.ts +3 -2
- package/dist/connect/viewer.js +25 -82
- package/dist/connect/viewer.js.map +1 -1
- package/dist/connection/ConnectedSettings.d.ts +3 -2
- package/dist/connection/ConnectionProvider.d.ts +5 -4
- package/dist/connection/StreamedArtifact.d.ts +1 -1
- package/dist/connection/billing/index.d.ts +3 -3
- package/dist/connection/billing/support.d.ts +4 -7
- package/dist/connection/contacts/ConnectedAddContacts.d.ts +9 -0
- package/dist/connection/contacts/ConnectedContactCardForm.d.ts +11 -0
- package/dist/connection/contacts/ConnectedContactToggle.d.ts +16 -0
- package/dist/connection/contacts/ConnectedContactsDirectory.d.ts +10 -0
- package/dist/connection/contacts/ImportVcf.d.ts +29 -0
- package/dist/connection/contacts/index.d.ts +5 -0
- package/dist/connection/defaultHost.d.ts +9 -0
- package/dist/connection/docx/ConnectedNativeDocxEditor.d.ts +3 -3
- package/dist/connection/docx/support.d.ts +10 -9
- package/dist/connection/files/bulk/ConnectedFilesBulkActions.d.ts +22 -0
- package/dist/connection/files/bulk/useDocumentBulkActions.d.ts +19 -0
- package/dist/connection/files/explorer/FileTiles.d.ts +6 -3
- package/dist/connection/files/fields/ConnectedBulkTagEditor.d.ts +16 -0
- package/dist/connection/files/fields/ConnectedFieldsEditor.d.ts +40 -0
- package/dist/connection/files/fields/ConnectedFieldsManager.d.ts +33 -0
- package/dist/connection/files/fields/ConnectedTagEditorDialog.d.ts +20 -0
- package/dist/connection/files/fields/ConnectedTagForm.d.ts +54 -0
- package/dist/connection/files/fields/DocumentFieldParts.d.ts +33 -0
- package/dist/connection/files/fields/DocumentUser.d.ts +11 -0
- package/dist/connection/files/fields/documentField.d.ts +48 -0
- package/dist/connection/files/fields/useFieldWrites.d.ts +20 -0
- package/dist/connection/files/fields/useFieldsApply.d.ts +49 -0
- package/dist/connection/files/fields/useMemberLookup.d.ts +3 -0
- package/dist/connection/files/grid/ConnectedTagEntity.d.ts +19 -0
- package/dist/connection/files/grid/cells.d.ts +85 -0
- package/dist/connection/files/grid/documentColumns.d.ts +66 -0
- package/dist/connection/files/grid/documentGridBus.d.ts +48 -0
- package/dist/connection/files/grid/documentStatus.d.ts +43 -0
- package/dist/connection/files/grid/familyMeta.d.ts +21 -0
- package/dist/connection/files/grid/tagColumn.d.ts +23 -0
- package/dist/connection/files/grid/useDocumentGridSync.d.ts +48 -0
- package/dist/connection/files/grid/useDocumentTable.d.ts +30 -0
- package/dist/connection/files/index.d.ts +36 -2
- package/dist/connection/files/move/ConnectedMoveToFolder.d.ts +31 -0
- package/dist/connection/files/page/ConnectedFilesPage.d.ts +86 -0
- package/dist/connection/files/page/DocumentsFilterBarActions.d.ts +39 -0
- package/dist/connection/files/page/DocumentsUploadButton.d.ts +25 -0
- package/dist/connection/files/page/PersistedGridView.d.ts +6 -0
- package/dist/connection/files/page/ProgressiveLoadingChip.d.ts +12 -0
- package/dist/connection/files/page/useDocumentNavigation.d.ts +20 -0
- package/dist/connection/files/review/ConnectedAiReview.d.ts +40 -0
- package/dist/connection/files/review/reviewProgress.d.ts +2 -0
- package/dist/connection/files/store.d.ts +96 -0
- package/dist/connection/files/useDocumentFilters.d.ts +54 -0
- package/dist/connection/files/views/ViewSelector.d.ts +33 -0
- package/dist/connection/files/views/tableViews.d.ts +22 -0
- package/dist/connection/files/views/useTableViews.d.ts +22 -0
- package/dist/connection/mail/ConnectedMailbox.d.ts +2 -2
- package/dist/connection/messenger/ChatAttachments.d.ts +15 -0
- package/dist/connection/messenger/ConnectedChatThread.d.ts +21 -0
- package/dist/connection/messenger/ConnectedGroupMembers.d.ts +20 -0
- package/dist/connection/messenger/ConnectedMessenger.d.ts +52 -0
- package/dist/connection/messenger/index.d.ts +6 -0
- package/dist/connection/messenger/types.d.ts +103 -0
- package/dist/connection/messenger/useMessengerRows.d.ts +19 -0
- package/dist/connection/tags/ConnectedTagsPage.d.ts +2 -35
- package/dist/connection/viewer/ConnectedDocumentToolsProvider.d.ts +19 -2
- package/dist/connection/viewer/ConnectedDocumentViewer.d.ts +1 -1
- package/dist/connection/viewer/support.d.ts +21 -15
- package/dist/connection/workspaceData.d.ts +134 -8
- package/dist/facts/index.cjs +3 -3
- package/dist/facts/index.js +2 -2
- package/dist/files/bulk/BulkActionsBar.d.ts +9 -5
- package/dist/files/cells/DocumentNameCell.d.ts +4 -2
- package/dist/files/cells/MultiSelectCellEditor.d.ts +13 -0
- package/dist/files/cells/RelatedDocsCell.d.ts +2 -1
- package/dist/files/cells/index.d.ts +1 -0
- package/dist/files/documentColumns.d.ts +15 -0
- package/dist/files/folders/DocumentsFolderButton.d.ts +26 -0
- package/dist/files/folders/FolderTreePicker.d.ts +16 -0
- package/dist/files/folders/index.d.ts +2 -0
- package/dist/files/index.cjs +430 -434
- package/dist/files/index.d.ts +4 -1
- package/dist/files/index.js +5 -5
- package/dist/files/navigator/DocumentSearchList.d.ts +19 -0
- package/dist/files/navigator/ExplorerFileNavigator.d.ts +23 -0
- package/dist/files/navigator/NavDocumentPicker.d.ts +15 -0
- package/dist/files/navigator/NavigatorPickerBar.d.ts +26 -0
- package/dist/files/navigator/index.d.ts +5 -0
- package/dist/files/navigator/types.d.ts +7 -0
- package/dist/files/tags/BulkTagEditor.d.ts +2 -1
- package/dist/files/tags/index.d.ts +0 -2
- package/dist/files/visibility.d.ts +6 -5
- package/dist/home/StartTiles.d.ts +1 -1
- package/dist/home/index.cjs +30 -30
- package/dist/home/index.js +5 -5
- package/dist/index.cjs +684 -694
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +22 -134
- package/dist/index.js.map +1 -1
- package/dist/provider/{BlocksProvider.d.ts → environment.d.ts} +8 -10
- package/dist/provider/host.d.ts +44 -0
- package/dist/retrieval/index.cjs +4 -4
- package/dist/retrieval/index.js +2 -2
- package/dist/shell/index.cjs +44 -44
- package/dist/shell/index.js +3 -3
- package/dist/shell/types.d.ts +1 -1
- package/dist/site/index.cjs +61 -61
- package/dist/site/index.js +2 -2
- package/dist/studio/index.cjs +86 -87
- package/dist/studio/index.cjs.map +1 -1
- package/dist/studio/index.js +15 -16
- package/dist/studio/index.js.map +1 -1
- package/dist/workflow-canvas/index.cjs +28 -27
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.js +11 -10
- package/dist/workflow-canvas/index.js.map +1 -1
- package/dist/workspaces/WorkspaceCard.d.ts +1 -1
- package/dist/workspaces/index.cjs +20 -20
- package/dist/workspaces/index.js +4 -4
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ConnectedStreamedWordArtifact-CWFR6A37.cjs.map +0 -1
- package/dist/FactTextEditor-YESAU2IJ.js.map +0 -1
- package/dist/FactTextEditor-YUPBCTXK.cjs.map +0 -1
- package/dist/WorkspaceTableView-DWUE4VQF.js.map +0 -1
- package/dist/WorkspaceTableView-EYLEUZZT.cjs.map +0 -1
- package/dist/chunk-2BHDRVVL.cjs.map +0 -1
- package/dist/chunk-3VULDTNL.cjs.map +0 -1
- package/dist/chunk-4RPBUMHB.cjs.map +0 -1
- package/dist/chunk-5ZIYPZYE.js +0 -2748
- package/dist/chunk-5ZIYPZYE.js.map +0 -1
- package/dist/chunk-6I6CVX5G.cjs +0 -22
- package/dist/chunk-6I6CVX5G.cjs.map +0 -1
- package/dist/chunk-7NL6WJER.cjs +0 -682
- package/dist/chunk-7NL6WJER.cjs.map +0 -1
- package/dist/chunk-CB4TIDEX.cjs +0 -54
- package/dist/chunk-CB4TIDEX.cjs.map +0 -1
- package/dist/chunk-CNHUJRQ4.cjs.map +0 -1
- package/dist/chunk-CROGFB46.cjs.map +0 -1
- package/dist/chunk-DEPF5LQI.js.map +0 -1
- package/dist/chunk-ETZ5A3GU.js.map +0 -1
- package/dist/chunk-EYJMMGXF.js +0 -19
- package/dist/chunk-EYJMMGXF.js.map +0 -1
- package/dist/chunk-F57LNUSZ.js.map +0 -1
- package/dist/chunk-FAXXN7KI.cjs.map +0 -1
- package/dist/chunk-FM3IRQJW.cjs.map +0 -1
- package/dist/chunk-FTZ45WHY.js.map +0 -1
- package/dist/chunk-GC2FSPSQ.cjs.map +0 -1
- package/dist/chunk-KDLX5AA7.js +0 -49
- package/dist/chunk-KDLX5AA7.js.map +0 -1
- package/dist/chunk-KFMRBZQK.js.map +0 -1
- package/dist/chunk-MNG7N6M2.js.map +0 -1
- package/dist/chunk-NPLGB4LI.cjs.map +0 -1
- package/dist/chunk-P2YM67Y5.cjs.map +0 -1
- package/dist/chunk-P6RIBIVN.js.map +0 -1
- package/dist/chunk-Q7CQYYZW.cjs.map +0 -1
- package/dist/chunk-QJFJ5JBF.cjs +0 -2838
- package/dist/chunk-QJFJ5JBF.cjs.map +0 -1
- package/dist/chunk-RATEAOKT.js.map +0 -1
- package/dist/chunk-SDOEHEJP.js.map +0 -1
- package/dist/chunk-SZSJGZSO.js.map +0 -1
- package/dist/chunk-TC3RQNEX.cjs.map +0 -1
- package/dist/chunk-TF7HN5EU.js.map +0 -1
- package/dist/chunk-VF5EUAIV.js.map +0 -1
- package/dist/chunk-VTTZZ4FN.js.map +0 -1
- package/dist/chunk-WK6FVIF7.js +0 -654
- package/dist/chunk-WK6FVIF7.js.map +0 -1
- package/dist/chunk-YF3QUHKN.cjs.map +0 -1
- package/dist/connection/ArbiAppProvider.d.ts +0 -16
- package/dist/connection/files/support.d.ts +0 -40
- package/dist/files/tags/DocTagPopover.d.ts +0 -113
- package/dist/files/tags/TagManager.d.ts +0 -54
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The messenger's rows: one per chat (direct or group), newest activity first, then the people I
|
|
3
|
+
* can message but have no chat with yet.
|
|
4
|
+
*
|
|
5
|
+
* Row identity (`id`, also what `onOpen` receives) is the peer's `usr-`/`agt-` id for a direct
|
|
6
|
+
* chat — so "message this person" from anywhere lands on the same row — and the `cht-` id for a
|
|
7
|
+
* group or meeting chat. Only the last message of each chat is decrypted (`useChatSummaries`);
|
|
8
|
+
* the thread decrypts in full when it is opened.
|
|
9
|
+
*/
|
|
10
|
+
import { type DmUser } from '@arbidocs/react';
|
|
11
|
+
import type { MessengerRow } from './types';
|
|
12
|
+
/** A group's name when it has no title: its other members' first names. */
|
|
13
|
+
export declare function groupFallbackName(others: DmUser[]): string;
|
|
14
|
+
export declare function useMessengerRows(people: DmUser[]): {
|
|
15
|
+
rows: MessengerRow[];
|
|
16
|
+
isLoading: boolean;
|
|
17
|
+
/** The row for an id (`usr-`/`agt-` peer or `cht-` chat). */
|
|
18
|
+
findRow: (id: string | null) => MessengerRow | null;
|
|
19
|
+
};
|
|
@@ -1,39 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* The Tags page: every tag of the open workspace, by kind — labels, annotations, issues, people,
|
|
3
|
-
* organisations and saved searches — and everything tagged with each one.
|
|
4
|
-
*
|
|
5
|
-
* The tab header has a button per kind and the filter box with its filter menu, which only filters
|
|
6
|
-
* what is shown: tags included or excluded, whichever kind they are, narrow every view to the
|
|
7
|
-
* items they let through (`TagFilterChips` lists them). In the main area a search-and-create picker
|
|
8
|
-
* (`TagPicker`) opens a tag of the open kind or creates one. A kind shows all its tags as a table
|
|
9
|
-
* (their kind's fields as columns, and the items tagged with each); a tag shows its fields,
|
|
10
|
-
* editable in place, and every document (with the tag's note there and the passages it cites),
|
|
11
|
-
* fact and thread tagged with it, plus its sub-tags. Tags are moved, shared and deleted here;
|
|
12
|
-
* people and organisations can be extracted from documents.
|
|
13
|
-
*
|
|
14
|
-
* Data comes from `@arbidocs/react` (the open workspace's tags, tables, kinds, facts) and the
|
|
15
|
-
* connected workspace lists (`useConnectedDocuments`, `useConnectedConversations`: a host that keeps
|
|
16
|
-
* them itself gives them once through `ConnectedWorkspaceDataProvider`). What belongs to other
|
|
17
|
-
* parts of the host — the AI review, Smart Search, the tag editor form, opening a fact — comes in
|
|
18
|
-
* as callbacks and a render slot.
|
|
19
|
-
*/
|
|
20
|
-
import { type ReactNode } from 'react';
|
|
21
|
-
import { type TagKind, type TagResponse } from '@arbidocs/sdk/browser';
|
|
1
|
+
import { type TagKind } from '@arbidocs/sdk/browser';
|
|
22
2
|
/** The kinds the AI review fills across the documents. */
|
|
23
3
|
export type TagsReviewKind = Extract<TagKind, 'label' | 'annotation' | 'issue'>;
|
|
24
4
|
/** What the tag editor is given: the tag to edit, and what to do once a new one is made. */
|
|
25
|
-
export interface TagEditorSlotProps {
|
|
26
|
-
open: boolean;
|
|
27
|
-
onOpenChange: (open: boolean) => void;
|
|
28
|
-
tag: TagResponse | undefined;
|
|
29
|
-
/** The workspace's tags (saved searches aside): what a tag can be nested under. */
|
|
30
|
-
tags: TagResponse[];
|
|
31
|
-
/** A new tag was made: open it. */
|
|
32
|
-
onCreated: (tagId: string) => void;
|
|
33
|
-
}
|
|
34
5
|
export interface ConnectedTagsPageProps {
|
|
35
|
-
/** Documents whose people and organisations are still being extracted. */
|
|
36
|
-
extractingDocIds?: readonly string[];
|
|
37
6
|
/** Open a fact. Absent: facts are listed, not opened. */
|
|
38
7
|
onOpenFact?: (factId: string) => void;
|
|
39
8
|
/** Open Smart Search: the saved searches' action. Absent: none. */
|
|
@@ -49,7 +18,5 @@ export interface ConnectedTagsPageProps {
|
|
|
49
18
|
name: string;
|
|
50
19
|
};
|
|
51
20
|
}) => void;
|
|
52
|
-
/** The tag editor (a dialog). Absent: tags are not edited here. */
|
|
53
|
-
renderTagEditor?: (props: TagEditorSlotProps) => ReactNode;
|
|
54
21
|
}
|
|
55
|
-
export declare function ConnectedTagsPage({
|
|
22
|
+
export declare function ConnectedTagsPage({ onOpenFact, onOpenSmartSearch, onReview, }: ConnectedTagsPageProps): import("react").JSX.Element;
|
|
@@ -2,10 +2,27 @@
|
|
|
2
2
|
* The PDF document tools (markup, Freeze, signing, signature requests, productions) on the
|
|
3
3
|
* signed-in session, for any host: the API client, the signed-in user, the host's notices and
|
|
4
4
|
* document opening (`BlocksEnvironment`), and the shared caches a change refreshes. A host with its
|
|
5
|
-
* own binding (its own lists to refresh, an XHR upload with progress, Mail)
|
|
6
|
-
* `DocumentToolsProvider`
|
|
5
|
+
* own binding (its own lists to refresh, an XHR upload with progress, Mail) gives it as the host
|
|
6
|
+
* configuration's `documentTools`, field by field. An enclosing `DocumentToolsProvider` (a dialog
|
|
7
|
+
* with its own client) wins.
|
|
7
8
|
*/
|
|
8
9
|
import { type ReactNode } from 'react';
|
|
10
|
+
import { type DocumentToolsClient, type DocumentToolsEnvironment } from '@arbidocs/react/document-tools';
|
|
11
|
+
/** What a host binds of the document tools itself; each absent field is the kit's own. */
|
|
12
|
+
export interface DocumentToolsHost {
|
|
13
|
+
/** The API client the tools call. Default: the host `arbi`'s. */
|
|
14
|
+
client?: DocumentToolsClient;
|
|
15
|
+
/** The deployment domain keys are derived for (signing). Default: the host `arbi`'s. */
|
|
16
|
+
deploymentDomain?: string;
|
|
17
|
+
/** Open a document or a version the tools made. Default: the environment's `openDocument`. */
|
|
18
|
+
openDocument?: (documentRef: string) => void;
|
|
19
|
+
/** Refresh the host's lists after a change. Default: the shared document caches. */
|
|
20
|
+
onDocumentsChanged?: DocumentToolsEnvironment['onDocumentsChanged'];
|
|
21
|
+
/** Upload a derived copy. Default: through the API client, into the open workspace. */
|
|
22
|
+
uploadDocument?: DocumentToolsEnvironment['uploadDocument'];
|
|
23
|
+
/** Email a document (a hook): absent, or returning nothing, when mail is not offered. */
|
|
24
|
+
useEmailDocument?: () => ((documentRef: string) => void) | undefined;
|
|
25
|
+
}
|
|
9
26
|
export declare function ConnectedDocumentToolsProvider({ children }: {
|
|
10
27
|
children: ReactNode;
|
|
11
28
|
}): import("react").JSX.Element;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* its versions and comparisons; markup, signing and signature requests; sharing, Email, Translate
|
|
5
5
|
* and Finalise. Runs under any host (`useConnectedWorkspace`): the open document, tab and comparison
|
|
6
6
|
* are the session state's, navigation the `BlocksEnvironment`'s, and what only the host knows comes
|
|
7
|
-
*
|
|
7
|
+
* as its host config's `viewer`.
|
|
8
8
|
*/
|
|
9
9
|
import { type ReactNode } from 'react';
|
|
10
10
|
export interface ConnectedDocumentViewerProps {
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
* markup and signatures on the signed-in session by itself; these are the host's own things it
|
|
4
4
|
* cannot know: documents the host makes on the client (an artifact streaming in from a chat, an
|
|
5
5
|
* unsaved draft), the host's dialogs and workflows a document action opens, and how the host lays
|
|
6
|
-
* the viewer out. Every field is optional: without one the
|
|
7
|
-
* no draft controls), never something that does nothing.
|
|
6
|
+
* the viewer out. It is the host configuration's `viewer`. Every field is optional: without one the
|
|
7
|
+
* viewer offers less (no Translate button, no draft controls), never something that does nothing.
|
|
8
|
+
* What changes while the viewer is open is read through hooks (`use…`).
|
|
8
9
|
*/
|
|
9
|
-
import {
|
|
10
|
+
import type { ReactNode } from 'react';
|
|
10
11
|
import type { components } from '@arbidocs/client';
|
|
11
12
|
/** A document's record, as the viewer reads it. */
|
|
12
13
|
export type ViewerDocumentRecord = components['schemas']['DocResponse'];
|
|
@@ -27,10 +28,10 @@ export interface ViewerDraftDocument {
|
|
|
27
28
|
content?: string | null;
|
|
28
29
|
}
|
|
29
30
|
export interface DocumentViewerSupport {
|
|
30
|
-
/**
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
|
|
31
|
+
/** The artifact streaming in as this document, if one is (a hook). */
|
|
32
|
+
useStreamingDocument?: (documentId: string) => ViewerStreamingDocument | undefined;
|
|
33
|
+
/** The unsaved draft with this client id, if there is one (a hook). */
|
|
34
|
+
useDraftDocument?: (draftId: string) => ViewerDraftDocument | undefined;
|
|
34
35
|
/** A draft's kind (text, photo, audio, video), in place of the tabs. */
|
|
35
36
|
renderDraftKind?: (draftId: string) => ReactNode;
|
|
36
37
|
/** A draft's name (editable), in place of the title. */
|
|
@@ -59,17 +60,18 @@ export interface DocumentViewerSupport {
|
|
|
59
60
|
useImageAsReference?: (documentId: string) => void;
|
|
60
61
|
/**
|
|
61
62
|
* A citation being edited elsewhere (a fact's sources, a field's) picks its passages in the text
|
|
62
|
-
* view: clicks and selections there are handed to it. Absent: passages are not pickable.
|
|
63
|
+
* view: clicks and selections there are handed to it (a hook). Absent: passages are not pickable.
|
|
63
64
|
*/
|
|
64
|
-
|
|
65
|
+
usePassageCitation?: () => PassageCitation | undefined;
|
|
65
66
|
/** Open the document's passages in the host's navigator (a passage's menu). Absent: not offered. */
|
|
66
67
|
openInNavigator?: (documentId: string) => void;
|
|
67
68
|
/** Start a new label or field in the host's editor (the passage tagging panel). Absent: not offered. */
|
|
68
69
|
createTag?: () => void;
|
|
69
70
|
/** How dates read (versions, signatures). Default: `fmtDate`. */
|
|
70
71
|
formatDate?: (iso: string) => string;
|
|
71
|
-
/**
|
|
72
|
-
|
|
72
|
+
/** Whether the viewer is shown in another window, where PDF pages render without the page's web
|
|
73
|
+
* fonts (a hook). */
|
|
74
|
+
useIsDetached?: () => boolean;
|
|
73
75
|
}
|
|
74
76
|
/** A passage picked for a citation: its chunk and, when known, its page. */
|
|
75
77
|
export interface PickedPassage {
|
|
@@ -90,8 +92,12 @@ export interface PassageCitation {
|
|
|
90
92
|
/** Passages taken off it. */
|
|
91
93
|
unpick: (chunkIds: string[]) => void;
|
|
92
94
|
}
|
|
93
|
-
export declare function DocumentViewerSupportProvider({ value, children, }: {
|
|
94
|
-
value: DocumentViewerSupport;
|
|
95
|
-
children: ReactNode;
|
|
96
|
-
}): import("react").JSX.Element;
|
|
97
95
|
export declare function useDocumentViewerSupport(): DocumentViewerSupport;
|
|
96
|
+
/** The artifact streaming in as this document (none without the host's). */
|
|
97
|
+
export declare function useViewerStreamingDocument(documentId: string): ViewerStreamingDocument | undefined;
|
|
98
|
+
/** The unsaved draft with this id (none without the host's). */
|
|
99
|
+
export declare function useViewerDraftDocument(draftId: string): ViewerDraftDocument | undefined;
|
|
100
|
+
/** The citation picking passages (none without the host's). */
|
|
101
|
+
export declare function useViewerPassageCitation(): PassageCitation | undefined;
|
|
102
|
+
/** Whether the viewer is in another window (never without the host's). */
|
|
103
|
+
export declare function useViewerIsDetached(): boolean;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* The open workspace's documents, tags and conversations for the connected kits. Each kit reads them
|
|
3
3
|
* through the `@arbidocs/react` hooks; the documents always come from `useDocuments` (read once,
|
|
4
4
|
* progressively, then patched in place by every write and event, so a kit never re-reads it). A
|
|
5
|
-
* host that already keeps tags or conversations live in its own cache
|
|
6
|
-
* `
|
|
5
|
+
* host that already keeps tags or conversations live in its own cache gives them once, as hooks in
|
|
6
|
+
* the host configuration's `workspaceData`, so the kits show the same list and nothing is fetched
|
|
7
|
+
* twice.
|
|
7
8
|
*/
|
|
8
|
-
import { type ReactNode } from 'react';
|
|
9
9
|
import { useConversations, useDocuments, useTags } from '@arbidocs/react';
|
|
10
10
|
export type ConnectedDocument = NonNullable<ReturnType<typeof useDocuments>['data']>[number];
|
|
11
11
|
export type ConnectedTag = NonNullable<ReturnType<typeof useTags>['data']>[number];
|
|
@@ -19,13 +19,11 @@ export interface ConnectedList<T> {
|
|
|
19
19
|
isFetched: boolean;
|
|
20
20
|
refetch?: () => unknown;
|
|
21
21
|
}
|
|
22
|
+
/** The lists a host keeps live for the open workspace, as hooks (each fixed for the host's life). */
|
|
22
23
|
export interface ConnectedWorkspaceData {
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
useTags?: () => ConnectedList<ConnectedTag>;
|
|
25
|
+
useConversations?: () => ConnectedList<ConnectedConversation>;
|
|
25
26
|
}
|
|
26
|
-
export declare function ConnectedWorkspaceDataProvider({ tags, conversations, children, }: ConnectedWorkspaceData & {
|
|
27
|
-
children: ReactNode;
|
|
28
|
-
}): import("react").JSX.Element;
|
|
29
27
|
export interface ConnectedListResult<T> {
|
|
30
28
|
data: T[];
|
|
31
29
|
loaded: boolean;
|
|
@@ -43,3 +41,131 @@ export declare function useConnectedTags(): ConnectedListResult<ConnectedTag>;
|
|
|
43
41
|
export declare function useConnectedConversations(options?: {
|
|
44
42
|
live?: boolean;
|
|
45
43
|
}): ConnectedListResult<ConnectedConversation>;
|
|
44
|
+
/**
|
|
45
|
+
* Run a workflow now (`useRunWorkflow`). The task it starts joins the workspace's conversations:
|
|
46
|
+
* the package's lists follow by themselves, and the host's own list (`workspaceData`) is read
|
|
47
|
+
* again once the run is accepted.
|
|
48
|
+
*/
|
|
49
|
+
export declare function useConnectedRunWorkflow(): {
|
|
50
|
+
mutateAsync: (workflowId: string) => Promise<{
|
|
51
|
+
execution_id?: number | null;
|
|
52
|
+
action_type?: string | null;
|
|
53
|
+
conversation_ext_id?: string | null;
|
|
54
|
+
started: boolean;
|
|
55
|
+
error?: string | null;
|
|
56
|
+
}>;
|
|
57
|
+
data: undefined;
|
|
58
|
+
variables: undefined;
|
|
59
|
+
error: null;
|
|
60
|
+
isError: false;
|
|
61
|
+
isIdle: true;
|
|
62
|
+
isPending: false;
|
|
63
|
+
isSuccess: false;
|
|
64
|
+
status: "idle";
|
|
65
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<{
|
|
66
|
+
execution_id?: number | null;
|
|
67
|
+
action_type?: string | null;
|
|
68
|
+
conversation_ext_id?: string | null;
|
|
69
|
+
started: boolean;
|
|
70
|
+
error?: string | null;
|
|
71
|
+
}, Error, string, unknown>;
|
|
72
|
+
reset: () => void;
|
|
73
|
+
context: unknown;
|
|
74
|
+
failureCount: number;
|
|
75
|
+
failureReason: Error | null;
|
|
76
|
+
isPaused: boolean;
|
|
77
|
+
submittedAt: number;
|
|
78
|
+
} | {
|
|
79
|
+
mutateAsync: (workflowId: string) => Promise<{
|
|
80
|
+
execution_id?: number | null;
|
|
81
|
+
action_type?: string | null;
|
|
82
|
+
conversation_ext_id?: string | null;
|
|
83
|
+
started: boolean;
|
|
84
|
+
error?: string | null;
|
|
85
|
+
}>;
|
|
86
|
+
data: undefined;
|
|
87
|
+
variables: string;
|
|
88
|
+
error: null;
|
|
89
|
+
isError: false;
|
|
90
|
+
isIdle: false;
|
|
91
|
+
isPending: true;
|
|
92
|
+
isSuccess: false;
|
|
93
|
+
status: "pending";
|
|
94
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<{
|
|
95
|
+
execution_id?: number | null;
|
|
96
|
+
action_type?: string | null;
|
|
97
|
+
conversation_ext_id?: string | null;
|
|
98
|
+
started: boolean;
|
|
99
|
+
error?: string | null;
|
|
100
|
+
}, Error, string, unknown>;
|
|
101
|
+
reset: () => void;
|
|
102
|
+
context: unknown;
|
|
103
|
+
failureCount: number;
|
|
104
|
+
failureReason: Error | null;
|
|
105
|
+
isPaused: boolean;
|
|
106
|
+
submittedAt: number;
|
|
107
|
+
} | {
|
|
108
|
+
mutateAsync: (workflowId: string) => Promise<{
|
|
109
|
+
execution_id?: number | null;
|
|
110
|
+
action_type?: string | null;
|
|
111
|
+
conversation_ext_id?: string | null;
|
|
112
|
+
started: boolean;
|
|
113
|
+
error?: string | null;
|
|
114
|
+
}>;
|
|
115
|
+
data: undefined;
|
|
116
|
+
error: Error;
|
|
117
|
+
variables: string;
|
|
118
|
+
isError: true;
|
|
119
|
+
isIdle: false;
|
|
120
|
+
isPending: false;
|
|
121
|
+
isSuccess: false;
|
|
122
|
+
status: "error";
|
|
123
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<{
|
|
124
|
+
execution_id?: number | null;
|
|
125
|
+
action_type?: string | null;
|
|
126
|
+
conversation_ext_id?: string | null;
|
|
127
|
+
started: boolean;
|
|
128
|
+
error?: string | null;
|
|
129
|
+
}, Error, string, unknown>;
|
|
130
|
+
reset: () => void;
|
|
131
|
+
context: unknown;
|
|
132
|
+
failureCount: number;
|
|
133
|
+
failureReason: Error | null;
|
|
134
|
+
isPaused: boolean;
|
|
135
|
+
submittedAt: number;
|
|
136
|
+
} | {
|
|
137
|
+
mutateAsync: (workflowId: string) => Promise<{
|
|
138
|
+
execution_id?: number | null;
|
|
139
|
+
action_type?: string | null;
|
|
140
|
+
conversation_ext_id?: string | null;
|
|
141
|
+
started: boolean;
|
|
142
|
+
error?: string | null;
|
|
143
|
+
}>;
|
|
144
|
+
data: {
|
|
145
|
+
execution_id?: number | null;
|
|
146
|
+
action_type?: string | null;
|
|
147
|
+
conversation_ext_id?: string | null;
|
|
148
|
+
started: boolean;
|
|
149
|
+
error?: string | null;
|
|
150
|
+
};
|
|
151
|
+
error: null;
|
|
152
|
+
variables: string;
|
|
153
|
+
isError: false;
|
|
154
|
+
isIdle: false;
|
|
155
|
+
isPending: false;
|
|
156
|
+
isSuccess: true;
|
|
157
|
+
status: "success";
|
|
158
|
+
mutate: import("@tanstack/react-query").UseMutateFunction<{
|
|
159
|
+
execution_id?: number | null;
|
|
160
|
+
action_type?: string | null;
|
|
161
|
+
conversation_ext_id?: string | null;
|
|
162
|
+
started: boolean;
|
|
163
|
+
error?: string | null;
|
|
164
|
+
}, Error, string, unknown>;
|
|
165
|
+
reset: () => void;
|
|
166
|
+
context: unknown;
|
|
167
|
+
failureCount: number;
|
|
168
|
+
failureReason: Error | null;
|
|
169
|
+
isPaused: boolean;
|
|
170
|
+
submittedAt: number;
|
|
171
|
+
};
|
package/dist/facts/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var chunkB3FMUFAW_cjs = require('../chunk-B3FMUFAW.cjs');
|
|
5
5
|
require('../chunk-2WLXQGWC.cjs');
|
|
6
6
|
var chunk5FYU7ZIU_cjs = require('../chunk-5FYU7ZIU.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkKMZO5W6D_cjs = require('../chunk-KMZO5W6D.cjs');
|
|
8
8
|
require('../chunk-VPPX5XUF.cjs');
|
|
9
9
|
var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
|
|
10
10
|
require('../chunk-V4ISCZJ7.cjs');
|
|
@@ -15,7 +15,7 @@ require('../chunk-7RGLTF76.cjs');
|
|
|
15
15
|
require('../chunk-FX3K6LNZ.cjs');
|
|
16
16
|
require('../chunk-PPCATBOY.cjs');
|
|
17
17
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
18
|
-
require('../chunk-
|
|
18
|
+
require('../chunk-EFEFLBRM.cjs');
|
|
19
19
|
require('../chunk-ULWRNGGE.cjs');
|
|
20
20
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
21
21
|
require('../chunk-DES3K4SD.cjs');
|
|
@@ -330,7 +330,7 @@ function FactSearchResult({
|
|
|
330
330
|
}
|
|
331
331
|
),
|
|
332
332
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
333
|
-
|
|
333
|
+
chunkKMZO5W6D_cjs.SearchHit,
|
|
334
334
|
{
|
|
335
335
|
className: "min-w-0 flex-1",
|
|
336
336
|
testId: chunkMHVNT4J3_cjs.testIdOr(testIds?.hit?.(id), { testId: `facts-smart-search-hit-${id}` }),
|
package/dist/facts/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { DEFAULT_FACT_COLUMN_LABELS, createFactColumns, FactRowActions } from '.
|
|
|
3
3
|
export { DEFAULT_FACTS_BULK_BAR_LABELS, DEFAULT_FACTS_EMPTY_STATE_LABELS, DEFAULT_FACTS_FIELDS_BUTTON_LABELS, DEFAULT_FACTS_TOOLBAR_LABELS, DEFAULT_FACTS_VIEW_TOGGLE_LABELS, DEFAULT_FACT_COLUMN_LABELS, DEFAULT_FACT_COLUMN_ORDER, DEFAULT_FACT_COMPOSER_LABELS, DEFAULT_FACT_DATE_INPUT_LABELS, DEFAULT_FACT_LABELS_CELL_LABELS, DEFAULT_FACT_ROW_ACTIONS_LABELS, DEFAULT_FACT_SOURCES_ROW_LABELS, DEFAULT_FACT_SOURCE_GROUP_LABELS, DEFAULT_FACT_TIMELINE_LABELS, EMPTY_FACT_DATE_FIELDS, FactComposer, FactDateInput, FactFieldRow, FactLabelsCell, FactRowActions, FactSourceGroup, FactSourcesRow, FactsBulkBar, FactsCalendar, FactsEmptyState, FactsFieldsButton, FactsGanttPane, FactsLoadError, FactsLoading, FactsToolbar, FactsViewToggle, ISO_DATE_FILTER_PARAMS, buildFactCitations, chunkIdsOf, citedVersionRef, createFactColumns, docIdsOf, enableFactTableColumnResize, factDateFieldsToSpan, factDateSpanToFields, hasChunk, isWholeDoc, sourceDocCount, toFactCitations, withChunk, withDoc, withoutChunk, withoutDoc } from '../chunk-WU34CHU5.js';
|
|
4
4
|
import '../chunk-JJA6GQKH.js';
|
|
5
5
|
export { DEFAULT_FACT_PASSAGES_LABELS, FactPassageItem, FactSourcesPanel, renderPreviewInline, toPreviewLine } from '../chunk-HFZ45FD3.js';
|
|
6
|
-
import { SearchHit } from '../chunk-
|
|
6
|
+
import { SearchHit } from '../chunk-OKRYNQPH.js';
|
|
7
7
|
import '../chunk-4EZVCGRL.js';
|
|
8
8
|
export { decodeWhitespaceEntities } from '../chunk-AF6RDAJF.js';
|
|
9
9
|
import '../chunk-NUNKSZKU.js';
|
|
@@ -14,7 +14,7 @@ import '../chunk-4WWM3GQ5.js';
|
|
|
14
14
|
import '../chunk-SLSBJRWW.js';
|
|
15
15
|
import '../chunk-NPLYHR2E.js';
|
|
16
16
|
import { testIdOr } from '../chunk-7F6CBP3Z.js';
|
|
17
|
-
import '../chunk-
|
|
17
|
+
import '../chunk-5NWY3FXQ.js';
|
|
18
18
|
import '../chunk-TX2ZICS7.js';
|
|
19
19
|
import { initials } from '../chunk-OXF2IFXG.js';
|
|
20
20
|
import '../chunk-VUNV25KB.js';
|
|
@@ -42,9 +42,12 @@ export interface BulkActionsBarProps {
|
|
|
42
42
|
isMember: boolean;
|
|
43
43
|
/** Online-only actions (export, reprocess, enabling offline) are disabled while offline. */
|
|
44
44
|
isOnline: boolean;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
/** Chat about the selection. Absent: not offered. */
|
|
46
|
+
onChat?: () => void;
|
|
47
|
+
/** Fill AI fields on the selection. Absent: not offered. */
|
|
48
|
+
onAnnotate?: () => void;
|
|
49
|
+
/** Label the selection. Absent: not offered. */
|
|
50
|
+
onLabel?: () => void;
|
|
48
51
|
onMoveToFolder: () => void;
|
|
49
52
|
onExport: () => void;
|
|
50
53
|
/** Opens the production-set (Bates numbering) flow; the menu item is hidden when omitted. */
|
|
@@ -52,9 +55,10 @@ export interface BulkActionsBarProps {
|
|
|
52
55
|
onReprocess: () => void;
|
|
53
56
|
/** Label of the reprocess item (the app adds the "(max N)" cap hint). */
|
|
54
57
|
reprocessLabel?: string;
|
|
55
|
-
|
|
58
|
+
/** Keep the selection on this device (or stop). Absent: not offered. */
|
|
59
|
+
onToggleOffline?: () => void;
|
|
56
60
|
/** All selected docs are already available offline: the item removes them instead. */
|
|
57
|
-
isAllOffline
|
|
61
|
+
isAllOffline?: boolean;
|
|
58
62
|
isOfflinePending?: boolean;
|
|
59
63
|
onDelete: () => void;
|
|
60
64
|
/** Visibility of the selection (all shared, none shared, or a mix). */
|
|
@@ -3,8 +3,10 @@ export interface DocumentRowMenuProps {
|
|
|
3
3
|
/** Whether the user may rename / move / delete this document. */
|
|
4
4
|
canEdit: boolean;
|
|
5
5
|
onOpen: () => void;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
/** Open in the review view. Absent: not offered. */
|
|
7
|
+
onReview?: () => void;
|
|
8
|
+
/** Start a chat about the document. Absent: not offered. */
|
|
9
|
+
onDocumentChat?: () => void;
|
|
8
10
|
onRename: () => void;
|
|
9
11
|
onDownload: () => void;
|
|
10
12
|
/** "Download with markup": shown when the document's current version has markup. */
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AG Grid Cell Editor for Multi-Select
|
|
3
|
+
*
|
|
4
|
+
* Custom cell editor that displays a Command-based multi-select UI directly.
|
|
5
|
+
* Uses AG Grid's cellEditorPopup for positioning - no internal Popover needed.
|
|
6
|
+
* Values are stored as semicolon-separated strings (e.g., "Option1;Option2").
|
|
7
|
+
*/
|
|
8
|
+
import { CustomCellEditorProps } from 'ag-grid-react';
|
|
9
|
+
export interface MultiSelectCellEditorParams {
|
|
10
|
+
/** Available options for selection */
|
|
11
|
+
values: string[];
|
|
12
|
+
}
|
|
13
|
+
export declare const MultiSelectCellEditor: import("react").MemoExoticComponent<(props: CustomCellEditorProps & MultiSelectCellEditorParams) => import("react").JSX.Element>;
|
|
@@ -18,7 +18,8 @@ export interface RelatedDocsCellProps<T> {
|
|
|
18
18
|
/** "Switch to": open the doc in the viewer. */
|
|
19
19
|
onSwitchTo: (doc: T) => void;
|
|
20
20
|
onDelete: (doc: T) => void;
|
|
21
|
-
|
|
21
|
+
/** Compare with a similar document. Absent: not offered. */
|
|
22
|
+
onCompare?: (doc: T) => void;
|
|
22
23
|
className?: string;
|
|
23
24
|
}
|
|
24
25
|
/**
|
|
@@ -5,3 +5,4 @@ export { CellHoverIcon, HoverIconCell, type CellHoverIconKind, type HoverIconCel
|
|
|
5
5
|
export { LabelMultiSelectView, LabelPickerList, labelChipClampHeight, DEFAULT_LABEL_MULTI_SELECT_LABELS, type LabelMultiSelectViewProps, type LabelPickerListProps, type LabelMultiSelectLabels, type LabelOption, } from './LabelMultiSelect';
|
|
6
6
|
export { CheckboxCell, TagColumnHeader, type CheckboxCellProps, type TagColumnHeaderProps, } from './TagColumnParts';
|
|
7
7
|
export { BulkLabelSelectView } from './BulkLabelSelect';
|
|
8
|
+
export { MultiSelectCellEditor, type MultiSelectCellEditorParams } from './MultiSelectCellEditor';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The documents table's columns as data: the ones a new user sees (and their order), the built-in
|
|
3
|
+
* email view's, and the document types the Type column offers.
|
|
4
|
+
*/
|
|
5
|
+
/** Visible columns, left to right, before any view is saved (or after a reset). */
|
|
6
|
+
export declare const DEFAULT_DOCUMENT_COLUMNS: readonly string[];
|
|
7
|
+
/** The built-in email view's columns: Date, From, Title, Folder, Related, Labels, Abstract, Status. */
|
|
8
|
+
export declare const EMAIL_VIEW_COLUMNS: readonly string[];
|
|
9
|
+
/** The document types the AI assigns and the Type column offers (the server's own list). */
|
|
10
|
+
export declare const DOCUMENT_TYPE_OPTIONS: readonly ["Agreement", "Email", "Letter", "Report", "Decision", "Memo", "Financial", "Form", "Index", "Submission", "Other"];
|
|
11
|
+
export type DocumentType = (typeof DOCUMENT_TYPE_OPTIONS)[number];
|
|
12
|
+
/** The documents table's row height at the built-in views (the compact minimum). */
|
|
13
|
+
export declare const DOCUMENTS_ROW_HEIGHT_INITIAL = 28;
|
|
14
|
+
/** The row height the "Default" density means. */
|
|
15
|
+
export declare const DOCUMENTS_ROW_HEIGHT_DEFAULT = 52;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DocumentsFolderButton
|
|
3
|
+
*
|
|
4
|
+
* The folder-tree filter control: a ghost button showing the active folder,
|
|
5
|
+
* opening a popover with the "All" row + the full folder tree picker (and an
|
|
6
|
+
* optional "New folder" action). Extracted from DocumentsFilterBar so it can be
|
|
7
|
+
* reused wherever the shared 'documents' folder filter should be adjustable —
|
|
8
|
+
* e.g. above the Smart Search search bar as well as in the filter toolbar.
|
|
9
|
+
*
|
|
10
|
+
* It reads/writes the same `documentFilters` map every consumer shares, so the
|
|
11
|
+
* selected folder scopes the document list and the Smart Search query alike.
|
|
12
|
+
*/
|
|
13
|
+
import { type FolderTreePickerProps } from './FolderTreePicker';
|
|
14
|
+
type Doc = FolderTreePickerProps['docs'][number];
|
|
15
|
+
type FilterState = 'include' | 'exclude' | null;
|
|
16
|
+
/** A filter id of the documents list (`folder:<path>` for folders, `folder:none` for unfiled). */
|
|
17
|
+
type DocumentFilterId = string;
|
|
18
|
+
export interface DocumentsFolderButtonProps {
|
|
19
|
+
documents: Doc[];
|
|
20
|
+
documentFilters: Map<DocumentFilterId, FilterState>;
|
|
21
|
+
onFiltersChange: (filters: Map<DocumentFilterId, FilterState>) => void;
|
|
22
|
+
/** When set, the folder dropdown offers a "New folder" action that calls this. */
|
|
23
|
+
onNewFolder?: () => void;
|
|
24
|
+
}
|
|
25
|
+
export declare function DocumentsFolderButton({ documents, documentFilters, onFiltersChange, onNewFolder, }: DocumentsFolderButtonProps): import("react").JSX.Element;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FolderTreePicker: binds the `FolderTree` block to documents. Builds the hierarchy from each
|
|
3
|
+
* document's folder and gives connector (provider) roots their brand mark and shortened label.
|
|
4
|
+
* Shared by the filter bar popover and MoveToFolderModal.
|
|
5
|
+
*/
|
|
6
|
+
import { buildFolderTree } from '@arbidocs/react/ui';
|
|
7
|
+
type Doc = Parameters<typeof buildFolderTree>[0][number];
|
|
8
|
+
export interface FolderTreePickerProps {
|
|
9
|
+
docs: Doc[];
|
|
10
|
+
/** string = folder path selected, null = Unfiled selected, undefined = nothing selected. */
|
|
11
|
+
value: string | null | undefined;
|
|
12
|
+
onChange: (folder: string | null) => void;
|
|
13
|
+
showUnfiledAlways?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare function FolderTreePicker({ docs, value, onChange, showUnfiledAlways, }: FolderTreePickerProps): import("react").JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export { getExplorerDisplayName, parseFolderSegments, joinFolderPath, isExplorerDocument, collectFolderDocs, sortExplorerFiles, buildExplorerEntries, searchExplorerDocuments, type FolderDocument, type ExplorerFolder, type ExplorerFile, type ExplorerEntry, type ExplorerSort, } from './folderPaths';
|
|
2
2
|
export { FolderProviderIcon, hasFolderProviderIcon, formatFolderSegment, } from './FolderProviderIcon';
|
|
3
|
+
export { FolderTreePicker, type FolderTreePickerProps } from './FolderTreePicker';
|
|
4
|
+
export { DocumentsFolderButton, type DocumentsFolderButtonProps } from './DocumentsFolderButton';
|