@arbidocs/blocks 0.5.183 → 0.5.185
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/dist/{ConnectedCallDock-CF7KF5KM.cjs → ConnectedCallDock-CKJUL7HZ.cjs} +5 -5
- package/dist/{ConnectedCallDock-CF7KF5KM.cjs.map → ConnectedCallDock-CKJUL7HZ.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-NQOE2RYD.cjs → ConnectedCallRoom-CDOGHVES.cjs} +5 -5
- package/dist/{ConnectedCallRoom-NQOE2RYD.cjs.map → ConnectedCallRoom-CDOGHVES.cjs.map} +1 -1
- package/dist/{ConnectedMailInviteCard-DDGB4LLC.cjs → ConnectedMailInviteCard-ZNBHPFKF.cjs} +8 -8
- package/dist/{ConnectedMailInviteCard-DDGB4LLC.cjs.map → ConnectedMailInviteCard-ZNBHPFKF.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-3KTHPCMT.cjs → ConnectedNativeDocxComparison-YP7SASIP.cjs} +8 -8
- package/dist/{ConnectedNativeDocxComparison-3KTHPCMT.cjs.map → ConnectedNativeDocxComparison-YP7SASIP.cjs.map} +1 -1
- package/dist/{ConnectedPresentation-LNDESKYE.cjs → ConnectedPresentation-RFUH3MXL.cjs} +10 -10
- package/dist/{ConnectedPresentation-LNDESKYE.cjs.map → ConnectedPresentation-RFUH3MXL.cjs.map} +1 -1
- package/dist/{ConnectedSlidesTab-SYDDGJWM.cjs → ConnectedSlidesTab-CCJWFSCX.cjs} +10 -10
- package/dist/{ConnectedSlidesTab-SYDDGJWM.cjs.map → ConnectedSlidesTab-CCJWFSCX.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-LUM6WE7F.cjs → ConnectedStreamedWordArtifact-GVVIWKFH.cjs} +8 -8
- package/dist/{ConnectedStreamedWordArtifact-LUM6WE7F.cjs.map → ConnectedStreamedWordArtifact-GVVIWKFH.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-NKCKBY3P.cjs → DocumentReviewCard-QD6VVDAE.cjs} +3 -3
- package/dist/{DocumentReviewCard-NKCKBY3P.cjs.map → DocumentReviewCard-QD6VVDAE.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-T4SOKUKO.cjs → FilesViewerDialog-S5KRHOFU.cjs} +15 -15
- package/dist/{FilesViewerDialog-T4SOKUKO.cjs.map → FilesViewerDialog-S5KRHOFU.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-QT63XYII.cjs → WorkspaceTableView-TPL6EWXL.cjs} +3 -3
- package/dist/{WorkspaceTableView-QT63XYII.cjs.map → WorkspaceTableView-TPL6EWXL.cjs.map} +1 -1
- package/dist/agents/index.cjs +175 -175
- package/dist/{ai-CTJWECJ5.cjs → ai-6K5DTBLO.cjs} +16 -16
- package/dist/ai-6K5DTBLO.cjs.map +1 -0
- package/dist/{avatar-renderer-OZKS2BSF.cjs → avatar-renderer-FTY24TKC.cjs} +97 -62
- package/dist/avatar-renderer-FTY24TKC.cjs.map +1 -0
- package/dist/calls/connected/CallAvatarMedia.d.ts +1 -1
- package/dist/calls/connected/CallAvatarMedia.js +9 -4
- package/dist/calls/connected/CallAvatarMedia.js.map +2 -2
- package/dist/calls/connected/CallPeoplePicker.js +5 -2
- package/dist/calls/connected/CallPeoplePicker.js.map +2 -2
- package/dist/calls/connected/ConnectedCallRoom.js +24 -0
- package/dist/calls/connected/ConnectedCallRoom.js.map +2 -2
- package/dist/calls/connected/DmCallButton.d.ts +2 -1
- package/dist/calls/connected/DmCallButton.js +10 -3
- package/dist/calls/connected/DmCallButton.js.map +2 -2
- package/dist/calls/connected/OwnedAgentCallButton.d.ts +2 -1
- package/dist/calls/connected/OwnedAgentCallButton.js +5 -2
- package/dist/calls/connected/OwnedAgentCallButton.js.map +2 -2
- package/dist/calls/connected/avatar-framing.d.ts +6 -1
- package/dist/calls/connected/avatar-framing.js +39 -11
- package/dist/calls/connected/avatar-framing.js.map +3 -3
- package/dist/calls/connected/avatar-renderer.js +21 -9
- package/dist/calls/connected/avatar-renderer.js.map +2 -2
- package/dist/calls/connected/call-media-state.js +1 -1
- package/dist/calls/connected/call-media-state.js.map +2 -2
- package/dist/calls/connected/call-people.d.ts +2 -1
- package/dist/calls/connected/call-people.js +11 -1
- package/dist/calls/connected/call-people.js.map +2 -2
- package/dist/calls/index.cjs +22 -22
- package/dist/{chunk-KHZEFLQC.cjs → chunk-26KJYXYH.cjs} +52 -5
- package/dist/chunk-26KJYXYH.cjs.map +1 -0
- package/dist/{chunk-HH5MKRBL.cjs → chunk-2EDVEP2X.cjs} +6 -6
- package/dist/{chunk-HH5MKRBL.cjs.map → chunk-2EDVEP2X.cjs.map} +1 -1
- package/dist/{chunk-W5UGKUV7.cjs → chunk-66IOCKWS.cjs} +124 -31
- package/dist/chunk-66IOCKWS.cjs.map +1 -0
- package/dist/{chunk-ZTLPUUZB.cjs → chunk-6IABKQKX.cjs} +6 -6
- package/dist/{chunk-ZTLPUUZB.cjs.map → chunk-6IABKQKX.cjs.map} +1 -1
- package/dist/{chunk-OHWYQI3B.cjs → chunk-7KUTY4N5.cjs} +9 -9
- package/dist/{chunk-OHWYQI3B.cjs.map → chunk-7KUTY4N5.cjs.map} +1 -1
- package/dist/{chunk-HHZDURXN.cjs → chunk-AS2FZ2T7.cjs} +3 -3
- package/dist/{chunk-HHZDURXN.cjs.map → chunk-AS2FZ2T7.cjs.map} +1 -1
- package/dist/{chunk-3YPVXIFF.cjs → chunk-CF3WPB7T.cjs} +4 -4
- package/dist/{chunk-3YPVXIFF.cjs.map → chunk-CF3WPB7T.cjs.map} +1 -1
- package/dist/{chunk-DWUWPF2A.cjs → chunk-EEB63QUE.cjs} +8 -8
- package/dist/{chunk-DWUWPF2A.cjs.map → chunk-EEB63QUE.cjs.map} +1 -1
- package/dist/{chunk-AZP4ABNL.cjs → chunk-EYOZNVQK.cjs} +4 -4
- package/dist/{chunk-AZP4ABNL.cjs.map → chunk-EYOZNVQK.cjs.map} +1 -1
- package/dist/{chunk-A4HOEGDI.cjs → chunk-FAFA56ZL.cjs} +4 -4
- package/dist/{chunk-A4HOEGDI.cjs.map → chunk-FAFA56ZL.cjs.map} +1 -1
- package/dist/{chunk-XKXKEVHH.cjs → chunk-HPIB5YRV.cjs} +5 -5
- package/dist/{chunk-XKXKEVHH.cjs.map → chunk-HPIB5YRV.cjs.map} +1 -1
- package/dist/{chunk-WIQDXRRB.cjs → chunk-HS626TSS.cjs} +5 -5
- package/dist/{chunk-WIQDXRRB.cjs.map → chunk-HS626TSS.cjs.map} +1 -1
- package/dist/{chunk-YYMCN76N.cjs → chunk-IM6R7DRQ.cjs} +5 -5
- package/dist/{chunk-YYMCN76N.cjs.map → chunk-IM6R7DRQ.cjs.map} +1 -1
- package/dist/{chunk-HYULUR6E.cjs → chunk-L6WEKQTV.cjs} +28 -28
- package/dist/{chunk-HYULUR6E.cjs.map → chunk-L6WEKQTV.cjs.map} +1 -1
- package/dist/{chunk-3EIO4ZH5.cjs → chunk-LUOL7TEY.cjs} +6 -6
- package/dist/{chunk-3EIO4ZH5.cjs.map → chunk-LUOL7TEY.cjs.map} +1 -1
- package/dist/{chunk-LRBX4VIG.cjs → chunk-PDKTW4L2.cjs} +5 -5
- package/dist/{chunk-LRBX4VIG.cjs.map → chunk-PDKTW4L2.cjs.map} +1 -1
- package/dist/{chunk-UFDUDQYT.cjs → chunk-QU3OCUVF.cjs} +1712 -71
- package/dist/chunk-QU3OCUVF.cjs.map +1 -0
- package/dist/{chunk-7GVKG3G4.cjs → chunk-R27P7TYW.cjs} +4 -4
- package/dist/{chunk-7GVKG3G4.cjs.map → chunk-R27P7TYW.cjs.map} +1 -1
- package/dist/{chunk-4H5DPHZ2.cjs → chunk-RDEUBZ3Z.cjs} +8 -8
- package/dist/{chunk-4H5DPHZ2.cjs.map → chunk-RDEUBZ3Z.cjs.map} +1 -1
- package/dist/{chunk-I5LXJLO5.cjs → chunk-TW5AGCHR.cjs} +31 -9
- package/dist/chunk-TW5AGCHR.cjs.map +1 -0
- package/dist/{chunk-5FSULBPE.cjs → chunk-U2T66I7C.cjs} +3 -3
- package/dist/{chunk-5FSULBPE.cjs.map → chunk-U2T66I7C.cjs.map} +1 -1
- package/dist/{chunk-NGT3P5ZG.cjs → chunk-VD3HI5RF.cjs} +6 -7
- package/dist/chunk-VD3HI5RF.cjs.map +1 -0
- package/dist/{chunk-4TCOUQMC.cjs → chunk-WQMIBHSQ.cjs} +6 -6
- package/dist/{chunk-4TCOUQMC.cjs.map → chunk-WQMIBHSQ.cjs.map} +1 -1
- package/dist/{chunk-TX7Y4A6T.cjs → chunk-X5PH6PM7.cjs} +38 -9
- package/dist/chunk-X5PH6PM7.cjs.map +1 -0
- package/dist/{chunk-7QZXHSQX.cjs → chunk-ZKXZKIPE.cjs} +27 -7
- package/dist/chunk-ZKXZKIPE.cjs.map +1 -0
- package/dist/connect/docx.cjs +11 -11
- package/dist/connect/index.cjs +767 -553
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/viewer.cjs +6 -6
- package/dist/connection/ConnectedAgentChatPanel.js +1 -1
- package/dist/connection/ConnectedAgentChatPanel.js.map +2 -2
- package/dist/connection/ConnectedAgentCreator.js +12 -4
- package/dist/connection/ConnectedAgentCreator.js.map +2 -2
- package/dist/connection/databases/ConnectedSourcesEditor.d.ts +4 -0
- package/dist/connection/databases/ConnectedSourcesEditor.js +126 -0
- package/dist/connection/databases/ConnectedSourcesEditor.js.map +7 -0
- package/dist/connection/databases/sourceCells.d.ts +14 -0
- package/dist/connection/databases/sourceCells.js +40 -0
- package/dist/connection/databases/sourceCells.js.map +7 -0
- package/dist/connection/databases/useApiDatabaseSource.js +35 -11
- package/dist/connection/databases/useApiDatabaseSource.js.map +2 -2
- package/dist/connection/databases/useDatabaseCellSources.d.ts +8 -1
- package/dist/connection/databases/useDatabaseCellSources.js +40 -5
- package/dist/connection/databases/useDatabaseCellSources.js.map +2 -2
- package/dist/connection/databases/wireColumns.d.ts +17 -0
- package/dist/connection/databases/wireColumns.js +22 -0
- package/dist/connection/databases/wireColumns.js.map +7 -0
- package/dist/connection/facts/documentPickerGroups.d.ts +3 -0
- package/dist/connection/facts/documentPickerGroups.js +21 -0
- package/dist/connection/facts/documentPickerGroups.js.map +7 -0
- package/dist/connection/facts/factsSource.js +2 -17
- package/dist/connection/facts/factsSource.js.map +2 -2
- package/dist/connection/facts/useFactComposer.js +6 -60
- package/dist/connection/facts/useFactComposer.js.map +2 -2
- package/dist/connection/facts/usePassageCollection.d.ts +21 -0
- package/dist/connection/facts/usePassageCollection.js +72 -0
- package/dist/connection/facts/usePassageCollection.js.map +7 -0
- package/dist/connection/messenger/ConnectedChatThread.js +1 -1
- package/dist/connection/messenger/ConnectedChatThread.js.map +2 -2
- package/dist/connection/pages/TableViewBlock.js +2 -6
- package/dist/connection/pages/TableViewBlock.js.map +2 -2
- package/dist/connection/settings-page/featuresSection.js +1 -1
- package/dist/connection/settings-page/featuresSection.js.map +1 -1
- package/dist/connection/tags/ConnectedTagsPage.js +4 -1
- package/dist/connection/tags/ConnectedTagsPage.js.map +2 -2
- package/dist/databases/DatabaseFilterMenu.d.ts +1 -1
- package/dist/databases/DatabaseFilterMenu.js +4 -3
- package/dist/databases/DatabaseFilterMenu.js.map +2 -2
- package/dist/databases/DatabaseRowDetail.js +18 -2
- package/dist/databases/DatabaseRowDetail.js.map +2 -2
- package/dist/databases/databaseColumns.js +7 -2
- package/dist/databases/databaseColumns.js.map +2 -2
- package/dist/databases/index.cjs +129 -132
- package/dist/databases/index.d.ts +1 -1
- package/dist/databases/index.js.map +2 -2
- package/dist/databases/linkCells.d.ts +37 -1
- package/dist/databases/linkCells.js +17 -2
- package/dist/databases/linkCells.js.map +2 -2
- package/dist/embed/index.cjs +13 -13
- package/dist/facts/index.cjs +53 -55
- package/dist/facts/index.cjs.map +1 -1
- package/dist/index.cjs +240 -241
- package/dist/index.cjs.map +1 -1
- package/dist/pages/index.cjs +25 -26
- package/dist/pages/index.cjs.map +1 -1
- package/dist/settings/index.cjs +9 -9
- package/dist/site/index.cjs +10 -11
- package/dist/studio/index.cjs +10 -11
- package/dist/studio/index.cjs.map +1 -1
- package/dist/timeline/index.cjs +12 -13
- package/dist/workflow-canvas/index.cjs +19 -19
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/record/render-take.py +5 -0
- package/dist/ai-CTJWECJ5.cjs.map +0 -1
- package/dist/avatar-renderer-OZKS2BSF.cjs.map +0 -1
- package/dist/chunk-7QZXHSQX.cjs.map +0 -1
- package/dist/chunk-GXJW5EK5.cjs +0 -102
- package/dist/chunk-GXJW5EK5.cjs.map +0 -1
- package/dist/chunk-I24N4OSB.cjs +0 -57
- package/dist/chunk-I24N4OSB.cjs.map +0 -1
- package/dist/chunk-I5LXJLO5.cjs.map +0 -1
- package/dist/chunk-KHZEFLQC.cjs.map +0 -1
- package/dist/chunk-NGT3P5ZG.cjs.map +0 -1
- package/dist/chunk-TX7Y4A6T.cjs.map +0 -1
- package/dist/chunk-UFDUDQYT.cjs.map +0 -1
- package/dist/chunk-VBD4RJOL.cjs +0 -1640
- package/dist/chunk-VBD4RJOL.cjs.map +0 -1
- package/dist/chunk-W5UGKUV7.cjs.map +0 -1
package/dist/connect/index.cjs
CHANGED
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkL3MYUPSH_cjs = require('../chunk-L3MYUPSH.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkAS2FZ2T7_cjs = require('../chunk-AS2FZ2T7.cjs');
|
|
6
6
|
var chunk6VIS6B3O_cjs = require('../chunk-6VIS6B3O.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkHPIB5YRV_cjs = require('../chunk-HPIB5YRV.cjs');
|
|
8
8
|
var chunkTAGA6LNP_cjs = require('../chunk-TAGA6LNP.cjs');
|
|
9
9
|
var chunk5GCCUXMT_cjs = require('../chunk-5GCCUXMT.cjs');
|
|
10
10
|
var chunkWHHBEV4G_cjs = require('../chunk-WHHBEV4G.cjs');
|
|
11
11
|
var chunkXYN3RP5W_cjs = require('../chunk-XYN3RP5W.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkZKXZKIPE_cjs = require('../chunk-ZKXZKIPE.cjs');
|
|
13
13
|
require('../chunk-DWRUGOTQ.cjs');
|
|
14
|
-
var
|
|
15
|
-
var
|
|
14
|
+
var chunkPDKTW4L2_cjs = require('../chunk-PDKTW4L2.cjs');
|
|
15
|
+
var chunkL6WEKQTV_cjs = require('../chunk-L6WEKQTV.cjs');
|
|
16
16
|
var chunk32W2S6DE_cjs = require('../chunk-32W2S6DE.cjs');
|
|
17
17
|
var chunk6OPDKROP_cjs = require('../chunk-6OPDKROP.cjs');
|
|
18
18
|
require('../chunk-KD66CBYO.cjs');
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
19
|
+
var chunkHS626TSS_cjs = require('../chunk-HS626TSS.cjs');
|
|
20
|
+
var chunkR27P7TYW_cjs = require('../chunk-R27P7TYW.cjs');
|
|
21
|
+
var chunk7KUTY4N5_cjs = require('../chunk-7KUTY4N5.cjs');
|
|
22
22
|
var chunkH3C5BY2H_cjs = require('../chunk-H3C5BY2H.cjs');
|
|
23
23
|
var chunkLIAC6O7W_cjs = require('../chunk-LIAC6O7W.cjs');
|
|
24
24
|
var chunkER2MRSLT_cjs = require('../chunk-ER2MRSLT.cjs');
|
|
25
|
-
var
|
|
25
|
+
var chunkVD3HI5RF_cjs = require('../chunk-VD3HI5RF.cjs');
|
|
26
26
|
var chunkCWECDS4I_cjs = require('../chunk-CWECDS4I.cjs');
|
|
27
27
|
var chunkDSLMJ24E_cjs = require('../chunk-DSLMJ24E.cjs');
|
|
28
28
|
var chunkE5TPRRAW_cjs = require('../chunk-E5TPRRAW.cjs');
|
|
@@ -49,25 +49,23 @@ var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
|
|
|
49
49
|
var chunkSFAAOEQE_cjs = require('../chunk-SFAAOEQE.cjs');
|
|
50
50
|
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
51
51
|
require('../chunk-DTMBAFIL.cjs');
|
|
52
|
-
var
|
|
52
|
+
var chunkWQMIBHSQ_cjs = require('../chunk-WQMIBHSQ.cjs');
|
|
53
53
|
var chunk4ONPEVTP_cjs = require('../chunk-4ONPEVTP.cjs');
|
|
54
54
|
require('../chunk-V3KLUWQQ.cjs');
|
|
55
55
|
require('../chunk-7NJKDJVO.cjs');
|
|
56
56
|
var chunkSOT7NPIB_cjs = require('../chunk-SOT7NPIB.cjs');
|
|
57
|
-
var
|
|
57
|
+
var chunkLUOL7TEY_cjs = require('../chunk-LUOL7TEY.cjs');
|
|
58
58
|
require('../chunk-76S6WTEC.cjs');
|
|
59
59
|
var chunkYSAUOJA7_cjs = require('../chunk-YSAUOJA7.cjs');
|
|
60
60
|
var chunkJ37DOAGN_cjs = require('../chunk-J37DOAGN.cjs');
|
|
61
61
|
require('../chunk-QEMGGJB6.cjs');
|
|
62
|
-
var
|
|
63
|
-
var
|
|
64
|
-
var chunkI24N4OSB_cjs = require('../chunk-I24N4OSB.cjs');
|
|
65
|
-
var chunkKHZEFLQC_cjs = require('../chunk-KHZEFLQC.cjs');
|
|
62
|
+
var chunkQU3OCUVF_cjs = require('../chunk-QU3OCUVF.cjs');
|
|
63
|
+
var chunk26KJYXYH_cjs = require('../chunk-26KJYXYH.cjs');
|
|
66
64
|
var chunkGISMY7J7_cjs = require('../chunk-GISMY7J7.cjs');
|
|
67
65
|
var chunkV5P5MRSR_cjs = require('../chunk-V5P5MRSR.cjs');
|
|
68
66
|
var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
|
|
69
67
|
require('../chunk-LIJB6XOR.cjs');
|
|
70
|
-
var
|
|
68
|
+
var chunk6IABKQKX_cjs = require('../chunk-6IABKQKX.cjs');
|
|
71
69
|
var chunkI6GEQWIV_cjs = require('../chunk-I6GEQWIV.cjs');
|
|
72
70
|
var chunkNX56DIG3_cjs = require('../chunk-NX56DIG3.cjs');
|
|
73
71
|
var chunkTLIZD6DV_cjs = require('../chunk-TLIZD6DV.cjs');
|
|
@@ -114,9 +112,8 @@ var chunkC25KF2TM_cjs = require('../chunk-C25KF2TM.cjs');
|
|
|
114
112
|
var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
|
|
115
113
|
require('../chunk-OEJQFPWO.cjs');
|
|
116
114
|
var chunkU46OGRCO_cjs = require('../chunk-U46OGRCO.cjs');
|
|
117
|
-
var
|
|
118
|
-
require('../chunk-
|
|
119
|
-
var chunk4H5DPHZ2_cjs = require('../chunk-4H5DPHZ2.cjs');
|
|
115
|
+
var chunk66IOCKWS_cjs = require('../chunk-66IOCKWS.cjs');
|
|
116
|
+
var chunkRDEUBZ3Z_cjs = require('../chunk-RDEUBZ3Z.cjs');
|
|
120
117
|
var chunkCYN66TBO_cjs = require('../chunk-CYN66TBO.cjs');
|
|
121
118
|
var chunkBH322H5B_cjs = require('../chunk-BH322H5B.cjs');
|
|
122
119
|
var chunk2K5DLB7B_cjs = require('../chunk-2K5DLB7B.cjs');
|
|
@@ -132,7 +129,7 @@ var chunkFX3K6LNZ_cjs = require('../chunk-FX3K6LNZ.cjs');
|
|
|
132
129
|
require('../chunk-OIYKKUAN.cjs');
|
|
133
130
|
require('../chunk-3YEXZX4H.cjs');
|
|
134
131
|
var chunk4PA6VCCR_cjs = require('../chunk-4PA6VCCR.cjs');
|
|
135
|
-
require('../chunk-
|
|
132
|
+
require('../chunk-U2T66I7C.cjs');
|
|
136
133
|
require('../chunk-AHDJXIUB.cjs');
|
|
137
134
|
var chunkS3GVFAFB_cjs = require('../chunk-S3GVFAFB.cjs');
|
|
138
135
|
var chunk6UZC4XVV_cjs = require('../chunk-6UZC4XVV.cjs');
|
|
@@ -149,12 +146,7 @@ var chunkV6C2MBFY_cjs = require('../chunk-V6C2MBFY.cjs');
|
|
|
149
146
|
var chunk5OD6DRG7_cjs = require('../chunk-5OD6DRG7.cjs');
|
|
150
147
|
var chunkM74FWYNL_cjs = require('../chunk-M74FWYNL.cjs');
|
|
151
148
|
require('../chunk-PIKTGP55.cjs');
|
|
152
|
-
var
|
|
153
|
-
var chunkFUGQ7YQW_cjs = require('../chunk-FUGQ7YQW.cjs');
|
|
154
|
-
var chunkQUMUAJ2P_cjs = require('../chunk-QUMUAJ2P.cjs');
|
|
155
|
-
var chunkDNHZYLPK_cjs = require('../chunk-DNHZYLPK.cjs');
|
|
156
|
-
var chunkVZOOGA47_cjs = require('../chunk-VZOOGA47.cjs');
|
|
157
|
-
var chunkI5LXJLO5_cjs = require('../chunk-I5LXJLO5.cjs');
|
|
149
|
+
var chunkTW5AGCHR_cjs = require('../chunk-TW5AGCHR.cjs');
|
|
158
150
|
require('../chunk-OAIOOVFN.cjs');
|
|
159
151
|
var chunkJTBWI74K_cjs = require('../chunk-JTBWI74K.cjs');
|
|
160
152
|
var chunk7VUO4QZH_cjs = require('../chunk-7VUO4QZH.cjs');
|
|
@@ -175,6 +167,11 @@ require('../chunk-PPCATBOY.cjs');
|
|
|
175
167
|
require('../chunk-ZT5MIFLC.cjs');
|
|
176
168
|
var chunkLJJJ6CYH_cjs = require('../chunk-LJJJ6CYH.cjs');
|
|
177
169
|
require('../chunk-PLIF5CUV.cjs');
|
|
170
|
+
var chunkF3QHSUUO_cjs = require('../chunk-F3QHSUUO.cjs');
|
|
171
|
+
var chunkFUGQ7YQW_cjs = require('../chunk-FUGQ7YQW.cjs');
|
|
172
|
+
var chunkQUMUAJ2P_cjs = require('../chunk-QUMUAJ2P.cjs');
|
|
173
|
+
var chunkDNHZYLPK_cjs = require('../chunk-DNHZYLPK.cjs');
|
|
174
|
+
var chunkVZOOGA47_cjs = require('../chunk-VZOOGA47.cjs');
|
|
178
175
|
var react$1 = require('@arbidocs/react');
|
|
179
176
|
var ui = require('@arbidocs/react/ui');
|
|
180
177
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -283,7 +280,7 @@ function ConnectedWorkspaceActivity({
|
|
|
283
280
|
[feed.data]
|
|
284
281
|
);
|
|
285
282
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
286
|
-
|
|
283
|
+
chunk6IABKQKX_cjs.WorkspaceActivityList,
|
|
287
284
|
{
|
|
288
285
|
...listProps,
|
|
289
286
|
items,
|
|
@@ -342,7 +339,7 @@ async function joinEvent({ arbi, environment }, eventId, recurrenceId) {
|
|
|
342
339
|
const event = await arbi.calendar.getEvent(eventId, recurrenceId);
|
|
343
340
|
const url = event.conference?.url;
|
|
344
341
|
if (url && /^https?:\/\//i.test(url)) {
|
|
345
|
-
await
|
|
342
|
+
await chunkZKXZKIPE_cjs.joinEventMeeting(arbi, url);
|
|
346
343
|
return;
|
|
347
344
|
}
|
|
348
345
|
} catch {
|
|
@@ -1074,7 +1071,7 @@ function ConnectedNotificationCenter({ headerRight }) {
|
|
|
1074
1071
|
renderWorkspace: (workspaceId) => {
|
|
1075
1072
|
const workspace = byId.get(workspaceId);
|
|
1076
1073
|
return workspace ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1077
|
-
|
|
1074
|
+
chunkZKXZKIPE_cjs.ConnectedWorkspaceEntity,
|
|
1078
1075
|
{
|
|
1079
1076
|
workspace,
|
|
1080
1077
|
size: 16,
|
|
@@ -1342,7 +1339,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1342
1339
|
onChange: (e) => {
|
|
1343
1340
|
const file = e.target.files?.[0];
|
|
1344
1341
|
e.target.value = "";
|
|
1345
|
-
if (file) void add(() =>
|
|
1342
|
+
if (file) void add(() => chunkRDEUBZ3Z_cjs.importSkillFile(file));
|
|
1346
1343
|
}
|
|
1347
1344
|
}
|
|
1348
1345
|
),
|
|
@@ -1367,7 +1364,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1367
1364
|
className: "space-y-2",
|
|
1368
1365
|
onSubmit: (e) => {
|
|
1369
1366
|
e.preventDefault();
|
|
1370
|
-
if (url.trim()) void add(() =>
|
|
1367
|
+
if (url.trim()) void add(() => chunkRDEUBZ3Z_cjs.importSkillFromUrl(url));
|
|
1371
1368
|
},
|
|
1372
1369
|
children: [
|
|
1373
1370
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
|
|
@@ -1435,9 +1432,9 @@ function ConnectedSkillsLibrary({
|
|
|
1435
1432
|
const [type, setType] = react.useState("all");
|
|
1436
1433
|
const [view, setView] = react.useState("gallery");
|
|
1437
1434
|
const [isBusy, setIsBusy] = react.useState(false);
|
|
1438
|
-
const all = react.useMemo(() =>
|
|
1435
|
+
const all = react.useMemo(() => chunkRDEUBZ3Z_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
|
|
1439
1436
|
const shown = react.useMemo(
|
|
1440
|
-
() =>
|
|
1437
|
+
() => chunkRDEUBZ3Z_cjs.filterLibrarySkills(all, { query, source, type }),
|
|
1441
1438
|
[all, query, source, type]
|
|
1442
1439
|
);
|
|
1443
1440
|
const current = all.find((s) => s.slug === selected) ?? null;
|
|
@@ -1448,21 +1445,21 @@ function ConnectedSkillsLibrary({
|
|
|
1448
1445
|
const count2 = (s) => all.filter((x) => x.source === s).length;
|
|
1449
1446
|
const sourceOptions = [
|
|
1450
1447
|
{ id: "all", label: "All", count: all.length },
|
|
1451
|
-
{ id: "builtin", label:
|
|
1452
|
-
{ id: "mine", label:
|
|
1453
|
-
{ id: "shared", label:
|
|
1448
|
+
{ id: "builtin", label: chunkRDEUBZ3Z_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
|
|
1449
|
+
{ id: "mine", label: chunkRDEUBZ3Z_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
|
|
1450
|
+
{ id: "shared", label: chunkRDEUBZ3Z_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
|
|
1454
1451
|
];
|
|
1455
1452
|
const types = [...new Set(all.map((s) => s.type))];
|
|
1456
1453
|
const typeOptions = [
|
|
1457
1454
|
{ id: "all", label: "Any kind" },
|
|
1458
|
-
...types.map((t) => ({ id: t, label:
|
|
1455
|
+
...types.map((t) => ({ id: t, label: chunkRDEUBZ3Z_cjs.SKILL_TYPE_LABELS[t] ?? t }))
|
|
1459
1456
|
];
|
|
1460
1457
|
const pick = (slug) => {
|
|
1461
1458
|
setSelected(slug);
|
|
1462
1459
|
setMode("detail");
|
|
1463
1460
|
};
|
|
1464
1461
|
const markdownOf = async (skill) => {
|
|
1465
|
-
if (!skill.docExtId) return
|
|
1462
|
+
if (!skill.docExtId) return chunkRDEUBZ3Z_cjs.workflowToSkillMarkdown(skill.workflow);
|
|
1466
1463
|
const response = await arbi.documents.download(skill.docExtId);
|
|
1467
1464
|
if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
|
|
1468
1465
|
return response.text();
|
|
@@ -1526,7 +1523,7 @@ function ConnectedSkillsLibrary({
|
|
|
1526
1523
|
try {
|
|
1527
1524
|
documentTools.downloadBlob(
|
|
1528
1525
|
new Blob([await markdownOf(skill)], { type: "text/markdown" }),
|
|
1529
|
-
|
|
1526
|
+
chunkRDEUBZ3Z_cjs.SKILL_MAIN_FILENAME
|
|
1530
1527
|
);
|
|
1531
1528
|
} catch (error) {
|
|
1532
1529
|
notify19(errorText(error, "Could not export the skill"), "error");
|
|
@@ -1567,10 +1564,10 @@ function ConnectedSkillsLibrary({
|
|
|
1567
1564
|
}
|
|
1568
1565
|
)
|
|
1569
1566
|
] }),
|
|
1570
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1567
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.SkillViewToggle, { value: view, onChange: setView })
|
|
1571
1568
|
] }),
|
|
1572
1569
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1573
|
-
|
|
1570
|
+
chunkRDEUBZ3Z_cjs.SkillFilterChips,
|
|
1574
1571
|
{
|
|
1575
1572
|
label: "Show",
|
|
1576
1573
|
value: source,
|
|
@@ -1579,7 +1576,7 @@ function ConnectedSkillsLibrary({
|
|
|
1579
1576
|
}
|
|
1580
1577
|
),
|
|
1581
1578
|
types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1582
|
-
|
|
1579
|
+
chunkRDEUBZ3Z_cjs.SkillFilterChips,
|
|
1583
1580
|
{
|
|
1584
1581
|
label: "Kind",
|
|
1585
1582
|
value: type,
|
|
@@ -1626,12 +1623,12 @@ function ConnectedSkillsLibrary({
|
|
|
1626
1623
|
view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
|
|
1627
1624
|
),
|
|
1628
1625
|
children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1629
|
-
|
|
1626
|
+
chunkRDEUBZ3Z_cjs.SkillTile,
|
|
1630
1627
|
{
|
|
1631
1628
|
name: skill.title,
|
|
1632
1629
|
testId: `skill-tile-${skill.slug}`,
|
|
1633
1630
|
description: skill.description,
|
|
1634
|
-
sourceLabel: skill.isShared ? `${
|
|
1631
|
+
sourceLabel: skill.isShared ? `${chunkRDEUBZ3Z_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkRDEUBZ3Z_cjs.SKILL_SOURCE_LABELS[skill.source],
|
|
1635
1632
|
type: skill.type,
|
|
1636
1633
|
icon,
|
|
1637
1634
|
layout: view,
|
|
@@ -1666,7 +1663,7 @@ function ConnectedSkillsLibrary({
|
|
|
1666
1663
|
}
|
|
1667
1664
|
),
|
|
1668
1665
|
mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1669
|
-
|
|
1666
|
+
chunkRDEUBZ3Z_cjs.SkillGenerateForm,
|
|
1670
1667
|
{
|
|
1671
1668
|
icon,
|
|
1672
1669
|
onGenerate: (desc) => {
|
|
@@ -1693,11 +1690,11 @@ function ConnectedSkillsLibrary({
|
|
|
1693
1690
|
),
|
|
1694
1691
|
mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
|
|
1695
1692
|
mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1696
|
-
|
|
1693
|
+
chunkRDEUBZ3Z_cjs.SkillLibraryDetail,
|
|
1697
1694
|
{
|
|
1698
1695
|
skill: current,
|
|
1699
1696
|
icon,
|
|
1700
|
-
instructions: current.docExtId ? currentText ?
|
|
1697
|
+
instructions: current.docExtId ? currentText ? chunkRDEUBZ3Z_cjs.parseSkillFrontmatter(currentText, chunkRDEUBZ3Z_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
|
|
1701
1698
|
isLoading: !!current.docExtId && textLoading,
|
|
1702
1699
|
actions: {
|
|
1703
1700
|
onRun: () => onRun(current.slug),
|
|
@@ -1732,7 +1729,7 @@ function SkillEditor({
|
|
|
1732
1729
|
const [seeded, setSeeded] = react.useState(!isEditing);
|
|
1733
1730
|
const [nameError, setNameError] = react.useState(null);
|
|
1734
1731
|
if (isEditing && !seeded && text2 !== void 0) {
|
|
1735
|
-
const parsed =
|
|
1732
|
+
const parsed = chunkRDEUBZ3Z_cjs.parseSkillFrontmatter(text2, chunkRDEUBZ3Z_cjs.SKILL_MAIN_FILENAME);
|
|
1736
1733
|
setDescription(parsed.description ?? "");
|
|
1737
1734
|
setBody(parsed.content ?? "");
|
|
1738
1735
|
setSeeded(true);
|
|
@@ -1746,15 +1743,15 @@ function SkillEditor({
|
|
|
1746
1743
|
notify19("Add a short description.", "error");
|
|
1747
1744
|
return;
|
|
1748
1745
|
}
|
|
1749
|
-
const slug =
|
|
1746
|
+
const slug = chunkRDEUBZ3Z_cjs.skillSlug(name);
|
|
1750
1747
|
try {
|
|
1751
|
-
await onSave(slug,
|
|
1748
|
+
await onSave(slug, chunkRDEUBZ3Z_cjs.serializeSkill({ name: slug, description, body }), isEditing);
|
|
1752
1749
|
} catch (err) {
|
|
1753
1750
|
notify19(errorText(err, "Could not save the skill"), "error");
|
|
1754
1751
|
}
|
|
1755
1752
|
};
|
|
1756
1753
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1757
|
-
|
|
1754
|
+
chunkRDEUBZ3Z_cjs.SkillEditForm,
|
|
1758
1755
|
{
|
|
1759
1756
|
name,
|
|
1760
1757
|
onNameChange: setName,
|
|
@@ -1847,7 +1844,7 @@ function ConnectedSkillsBrowser({
|
|
|
1847
1844
|
}
|
|
1848
1845
|
) }),
|
|
1849
1846
|
runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1850
|
-
|
|
1847
|
+
chunkL6WEKQTV_cjs.ConnectedTaskComposer,
|
|
1851
1848
|
{
|
|
1852
1849
|
kind: "workflow",
|
|
1853
1850
|
open: true,
|
|
@@ -1871,15 +1868,23 @@ function ConnectedAgentCreator({
|
|
|
1871
1868
|
agent,
|
|
1872
1869
|
initialName,
|
|
1873
1870
|
onSaved,
|
|
1874
|
-
capabilities =
|
|
1875
|
-
templates =
|
|
1876
|
-
types =
|
|
1871
|
+
capabilities = chunkRDEUBZ3Z_cjs.DEFAULT_AGENT_CAPABILITIES,
|
|
1872
|
+
templates = chunkRDEUBZ3Z_cjs.DEFAULT_AGENT_TEMPLATES,
|
|
1873
|
+
types = chunkRDEUBZ3Z_cjs.DEFAULT_AGENT_TYPES,
|
|
1877
1874
|
canRevokeWorkspaces = false,
|
|
1878
1875
|
labels
|
|
1879
1876
|
}) {
|
|
1880
1877
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
1881
1878
|
const callAvatarsEnabled = react$1.useCallAvatarsEnabled();
|
|
1882
|
-
const
|
|
1879
|
+
const callConfig = react$1.useCallsConfig();
|
|
1880
|
+
const callVoices = callConfig?.avatar_voices;
|
|
1881
|
+
const voiceDescription = (avatar, fallback, gender) => {
|
|
1882
|
+
if (callConfig?.realtime_available) {
|
|
1883
|
+
const voice = callConfig.realtime_voice ?? "Deployment voice";
|
|
1884
|
+
return callConfig.realtime_avatar === avatar ? `${voice} \xB7 ${gender} avatar` : `${voice} \xB7 audio only on this deployment`;
|
|
1885
|
+
}
|
|
1886
|
+
return `${callVoices?.[avatar] ?? fallback} \xB7 ${gender} avatar`;
|
|
1887
|
+
};
|
|
1883
1888
|
const isEdit = !!agent;
|
|
1884
1889
|
const [saving, setSaving] = react.useState(false);
|
|
1885
1890
|
const [skills, setSkills] = react.useState([]);
|
|
@@ -1917,7 +1922,7 @@ function ConnectedAgentCreator({
|
|
|
1917
1922
|
const initialValues = react.useMemo(
|
|
1918
1923
|
() => ({
|
|
1919
1924
|
name: agent?.given_name ?? initialName ?? "",
|
|
1920
|
-
persona: isEdit ?
|
|
1925
|
+
persona: isEdit ? chunkRDEUBZ3Z_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
|
|
1921
1926
|
modelName: String(agents.AGENT_MODEL_NAME ?? ""),
|
|
1922
1927
|
capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
|
|
1923
1928
|
type: "builtin",
|
|
@@ -1937,7 +1942,7 @@ function ConnectedAgentCreator({
|
|
|
1937
1942
|
try {
|
|
1938
1943
|
let agentExtId = agent?.external_id ?? early?.id ?? "";
|
|
1939
1944
|
if (!agentExtId) {
|
|
1940
|
-
if (!
|
|
1945
|
+
if (!chunkRDEUBZ3Z_cjs.isValidAgentName(values.name)) {
|
|
1941
1946
|
notify19("Give the agent a name first.", "error");
|
|
1942
1947
|
return;
|
|
1943
1948
|
}
|
|
@@ -1973,7 +1978,7 @@ function ConnectedAgentCreator({
|
|
|
1973
1978
|
title: `agent-${name}`,
|
|
1974
1979
|
sections: {
|
|
1975
1980
|
Agents: {
|
|
1976
|
-
PERSONA:
|
|
1981
|
+
PERSONA: chunkRDEUBZ3Z_cjs.composePersona(name, values.persona),
|
|
1977
1982
|
...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
|
|
1978
1983
|
...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
|
|
1979
1984
|
ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
|
|
@@ -1997,23 +2002,23 @@ function ConnectedAgentCreator({
|
|
|
1997
2002
|
};
|
|
1998
2003
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1999
2004
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2000
|
-
|
|
2005
|
+
chunkRDEUBZ3Z_cjs.AgentCreator,
|
|
2001
2006
|
{
|
|
2002
2007
|
callAvatars: callAvatarsEnabled ? [
|
|
2003
2008
|
{
|
|
2004
2009
|
value: "james",
|
|
2005
2010
|
label: "James",
|
|
2006
|
-
description:
|
|
2011
|
+
description: voiceDescription("james", "Onyx", "male")
|
|
2007
2012
|
},
|
|
2008
2013
|
{
|
|
2009
2014
|
value: "claire",
|
|
2010
2015
|
label: "Claire",
|
|
2011
|
-
description:
|
|
2016
|
+
description: voiceDescription("claire", "Marin", "female")
|
|
2012
2017
|
},
|
|
2013
2018
|
{
|
|
2014
2019
|
value: "mark",
|
|
2015
2020
|
label: "Mark",
|
|
2016
|
-
description:
|
|
2021
|
+
description: voiceDescription("mark", "Cedar", "male")
|
|
2017
2022
|
}
|
|
2018
2023
|
] : void 0,
|
|
2019
2024
|
open: ready,
|
|
@@ -2030,11 +2035,11 @@ function ConnectedAgentCreator({
|
|
|
2030
2035
|
) : void 0,
|
|
2031
2036
|
revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
|
|
2032
2037
|
avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2033
|
-
|
|
2038
|
+
chunkRDEUBZ3Z_cjs.AgentAvatarField,
|
|
2034
2039
|
{
|
|
2035
2040
|
picture,
|
|
2036
2041
|
isBusy: avatarBusy,
|
|
2037
|
-
canGenerate: isEdit ||
|
|
2042
|
+
canGenerate: isEdit || chunkRDEUBZ3Z_cjs.isValidAgentName(values.name),
|
|
2038
2043
|
onGenerate: () => handleGenerateAvatar(values)
|
|
2039
2044
|
}
|
|
2040
2045
|
),
|
|
@@ -2086,7 +2091,7 @@ function ConnectedAgentCreator({
|
|
|
2086
2091
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
|
|
2087
2092
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
|
|
2088
2093
|
] }),
|
|
2089
|
-
connect && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2094
|
+
connect && /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
|
|
2090
2095
|
]
|
|
2091
2096
|
}
|
|
2092
2097
|
) })
|
|
@@ -2340,7 +2345,7 @@ function ConnectedAgentChatPanel({
|
|
|
2340
2345
|
]
|
|
2341
2346
|
}
|
|
2342
2347
|
),
|
|
2343
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2348
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTW5AGCHR_cjs.OwnedAgentCallButton, { agentId, workspaceExtId: selectedWorkspaceId }) }),
|
|
2344
2349
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2345
2350
|
"button",
|
|
2346
2351
|
{
|
|
@@ -2484,7 +2489,7 @@ function useMemoryCount(enabled) {
|
|
|
2484
2489
|
}
|
|
2485
2490
|
function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
2486
2491
|
const { notify: notify19, confirm, openConversation, openDocument } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
2487
|
-
const people =
|
|
2492
|
+
const people = chunkL6WEKQTV_cjs.useTaskPeople();
|
|
2488
2493
|
const canEditShared = react$1.useCanEditShared();
|
|
2489
2494
|
const isWorkspaceOwner = react$1.useIsWorkspaceOwner();
|
|
2490
2495
|
const { data: workflows = [] } = react$1.useWorkflows({ live: true });
|
|
@@ -2510,7 +2515,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2510
2515
|
}, [documents]);
|
|
2511
2516
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2512
2517
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2513
|
-
|
|
2518
|
+
chunkRDEUBZ3Z_cjs.TaskTable,
|
|
2514
2519
|
{
|
|
2515
2520
|
tasks,
|
|
2516
2521
|
isLoading,
|
|
@@ -2540,7 +2545,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2540
2545
|
}
|
|
2541
2546
|
),
|
|
2542
2547
|
activityFor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2543
|
-
|
|
2548
|
+
chunkL6WEKQTV_cjs.ConnectedTaskActivityDialog,
|
|
2544
2549
|
{
|
|
2545
2550
|
conversationId: activityFor.external_id,
|
|
2546
2551
|
taskName: activityFor.title || l.untitledTask,
|
|
@@ -2579,7 +2584,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
|
|
|
2579
2584
|
[workflows, skills, l.skillFiles]
|
|
2580
2585
|
);
|
|
2581
2586
|
const launch = async ({ workflow, inputs, agentId }) => {
|
|
2582
|
-
const values =
|
|
2587
|
+
const values = chunkRDEUBZ3Z_cjs.defaultTaskComposerValues(launchable, {
|
|
2583
2588
|
workflowId: workflow.id,
|
|
2584
2589
|
assignee: "agent",
|
|
2585
2590
|
inputs,
|
|
@@ -2600,7 +2605,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
|
|
|
2600
2605
|
}
|
|
2601
2606
|
};
|
|
2602
2607
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2603
|
-
|
|
2608
|
+
chunkLUOL7TEY_cjs.ConnectedWorkflowLauncher,
|
|
2604
2609
|
{
|
|
2605
2610
|
workflows: launchable,
|
|
2606
2611
|
onLaunch: launch,
|
|
@@ -2699,7 +2704,7 @@ function ConnectedAgentsPageScope(props) {
|
|
|
2699
2704
|
children,
|
|
2700
2705
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
|
|
2701
2706
|
taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2702
|
-
|
|
2707
|
+
chunkL6WEKQTV_cjs.ConnectedTaskComposer,
|
|
2703
2708
|
{
|
|
2704
2709
|
open: true,
|
|
2705
2710
|
onOpenChange: (open) => !open && setTaskDialog(null),
|
|
@@ -2722,7 +2727,7 @@ function AgentsGallery() {
|
|
|
2722
2727
|
} = agentOptions;
|
|
2723
2728
|
const { openConversation } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
2724
2729
|
const { user } = react$1.useArbiSession();
|
|
2725
|
-
const tasksByAgent = react.useMemo(() =>
|
|
2730
|
+
const tasksByAgent = react.useMemo(() => chunkRDEUBZ3Z_cjs.groupAgentTasks(tasks), [tasks]);
|
|
2726
2731
|
const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
|
|
2727
2732
|
const { agents } = management;
|
|
2728
2733
|
const cardDetails = (agent) => details.map(
|
|
@@ -2738,7 +2743,7 @@ function AgentsGallery() {
|
|
|
2738
2743
|
) : detail === "workspaces" ? /* @__PURE__ */ jsxRuntime.jsx(AgentWorkspaceAccess, { agentExtId: agent.external_id, labels: l }, detail) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: behaviour.behaviourOf(agent.given_name) }, detail)
|
|
2739
2744
|
);
|
|
2740
2745
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2741
|
-
|
|
2746
|
+
chunkRDEUBZ3Z_cjs.AgentGallery,
|
|
2742
2747
|
{
|
|
2743
2748
|
count: agents.length,
|
|
2744
2749
|
onCreate: management.create,
|
|
@@ -2750,7 +2755,7 @@ function AgentsGallery() {
|
|
|
2750
2755
|
const watchConversationId = running[0]?.external_id ?? null;
|
|
2751
2756
|
const progress = agentTasks[0] ? chunkBH322H5B_cjs.goalProgress(agentTasks[0]) : null;
|
|
2752
2757
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2753
|
-
|
|
2758
|
+
chunkRDEUBZ3Z_cjs.AgentCard,
|
|
2754
2759
|
{
|
|
2755
2760
|
name: displayName(agent),
|
|
2756
2761
|
avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
|
|
@@ -2858,7 +2863,7 @@ function AgentsSectionBody({ id }) {
|
|
|
2858
2863
|
) });
|
|
2859
2864
|
case "scheduled":
|
|
2860
2865
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[min(32rem,70dvh)] min-h-64 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2861
|
-
|
|
2866
|
+
chunkWQMIBHSQ_cjs.ConnectedWorkflowsTable,
|
|
2862
2867
|
{
|
|
2863
2868
|
filter: "scheduled",
|
|
2864
2869
|
onEdit: (w) => openWorkflow?.(w.external_id),
|
|
@@ -3162,7 +3167,7 @@ function ConnectedTagTable({
|
|
|
3162
3167
|
const fail2 = (fallback) => (e) => notify19(browser.refusalReason(e, fallback), "error");
|
|
3163
3168
|
const snapshot2 = (data) => {
|
|
3164
3169
|
const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
|
|
3165
|
-
const bytes =
|
|
3170
|
+
const bytes = chunk6IABKQKX_cjs.tagTableDocx(data, {
|
|
3166
3171
|
title,
|
|
3167
3172
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
3168
3173
|
});
|
|
@@ -3171,7 +3176,7 @@ function ConnectedTagTable({
|
|
|
3171
3176
|
return { blob: new Blob([bytes], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }), name };
|
|
3172
3177
|
};
|
|
3173
3178
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3174
|
-
|
|
3179
|
+
chunk6IABKQKX_cjs.TagTable,
|
|
3175
3180
|
{
|
|
3176
3181
|
...props,
|
|
3177
3182
|
table,
|
|
@@ -4296,9 +4301,9 @@ function GlossaryExport({ labelId, nameOf }) {
|
|
|
4296
4301
|
const narrowed = agreements.find((a) => a.id === narrowTo);
|
|
4297
4302
|
const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
|
|
4298
4303
|
const download = (format) => {
|
|
4299
|
-
const entries =
|
|
4300
|
-
const blob = format === "docx" ? new Blob([
|
|
4301
|
-
documentTools.downloadBlob(blob,
|
|
4304
|
+
const entries = chunk6IABKQKX_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
|
|
4305
|
+
const blob = format === "docx" ? new Blob([chunk6IABKQKX_cjs.glossaryDocx(entries, { title })], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }) : new Blob([chunk6IABKQKX_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
|
|
4306
|
+
documentTools.downloadBlob(blob, chunk6IABKQKX_cjs.glossaryFileName(title, format));
|
|
4302
4307
|
};
|
|
4303
4308
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
|
|
4304
4309
|
agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -4828,7 +4833,7 @@ function KindSection({
|
|
|
4828
4833
|
{
|
|
4829
4834
|
testId: `tags-kind-${kind}`,
|
|
4830
4835
|
title: ui.tagKindTitle(kind, { plural: true }),
|
|
4831
|
-
description:
|
|
4836
|
+
description: chunk6IABKQKX_cjs.tagKindDescription(kind),
|
|
4832
4837
|
children: [
|
|
4833
4838
|
browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4834
4839
|
"p",
|
|
@@ -4838,9 +4843,9 @@ function KindSection({
|
|
|
4838
4843
|
children: [
|
|
4839
4844
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
|
|
4840
4845
|
"Extracting ",
|
|
4841
|
-
|
|
4846
|
+
chunk6IABKQKX_cjs.entitiesPhrase().toLowerCase(),
|
|
4842
4847
|
" from ",
|
|
4843
|
-
|
|
4848
|
+
chunk6IABKQKX_cjs.documentCount(extractingCount),
|
|
4844
4849
|
"\u2026"
|
|
4845
4850
|
]
|
|
4846
4851
|
}
|
|
@@ -4858,7 +4863,7 @@ function KindSection({
|
|
|
4858
4863
|
onOpenTag: ctx.onOpenTag,
|
|
4859
4864
|
onOpenRow: ctx.onOpenTag,
|
|
4860
4865
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4861
|
-
labels:
|
|
4866
|
+
labels: chunk6IABKQKX_cjs.tagTableLabels(kind),
|
|
4862
4867
|
testId: `tags-table-${kind}`
|
|
4863
4868
|
}
|
|
4864
4869
|
)
|
|
@@ -4966,15 +4971,15 @@ function TagSection({
|
|
|
4966
4971
|
onOpenTag: ctx.onOpenTag,
|
|
4967
4972
|
onOpenRow: ctx.onOpenTag,
|
|
4968
4973
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4969
|
-
labels:
|
|
4974
|
+
labels: chunk6IABKQKX_cjs.tagTableLabels(tag.kind),
|
|
4970
4975
|
testId: "tags-rows"
|
|
4971
4976
|
}
|
|
4972
4977
|
),
|
|
4973
4978
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4974
|
-
|
|
4979
|
+
chunk6IABKQKX_cjs.TagDetail,
|
|
4975
4980
|
{
|
|
4976
4981
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4977
|
-
fieldLabels:
|
|
4982
|
+
fieldLabels: chunk6IABKQKX_cjs.tagTableLabels(tag.kind),
|
|
4978
4983
|
row: detailRow,
|
|
4979
4984
|
fields: schema.data?.fields ?? [],
|
|
4980
4985
|
isLoading: detail.isLoading,
|
|
@@ -4988,7 +4993,7 @@ function TagSection({
|
|
|
4988
4993
|
throw e;
|
|
4989
4994
|
})
|
|
4990
4995
|
),
|
|
4991
|
-
labels:
|
|
4996
|
+
labels: chunk6IABKQKX_cjs.tagDetailLabels(),
|
|
4992
4997
|
testId: "tags-detail"
|
|
4993
4998
|
}
|
|
4994
4999
|
)
|
|
@@ -5071,12 +5076,15 @@ function ConnectedTagsPage() {
|
|
|
5071
5076
|
const onDelete = async (t) => {
|
|
5072
5077
|
const nested = browser.getChildTags([...tags], t.external_id);
|
|
5073
5078
|
const uses = browser.tagUseCount(t);
|
|
5074
|
-
const
|
|
5079
|
+
const dbRows = t.dbrow_count ?? 0;
|
|
5080
|
+
const n2 = chunk6IABKQKX_cjs.tagsPageNouns();
|
|
5075
5081
|
const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
|
|
5076
5082
|
const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
|
|
5077
5083
|
const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
|
|
5078
5084
|
|
|
5079
|
-
It is on ${uses} ${carriers.toLowerCase()}; those links are removed.` : "") + (
|
|
5085
|
+
It is on ${uses} ${carriers.toLowerCase()}; those links are removed.` : "") + (dbRows > 0 ? `
|
|
5086
|
+
|
|
5087
|
+
It labels ${dbRows} database ${dbRows === 1 ? "row" : "rows"}; those labels are removed.` : "") + (nested.length > 0 ? `
|
|
5080
5088
|
|
|
5081
5089
|
${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves" : "move"} to the top level \u2014 not deleted.` : "");
|
|
5082
5090
|
if (!await confirm({ message, title: `Delete ${ui.tagKindNouns(t.kind).singular}` })) return;
|
|
@@ -5092,11 +5100,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5092
5100
|
try {
|
|
5093
5101
|
await extract.mutateAsync(docIds);
|
|
5094
5102
|
notify19(
|
|
5095
|
-
`Extracting ${
|
|
5103
|
+
`Extracting ${chunk6IABKQKX_cjs.entitiesPhrase().toLowerCase()} from ${chunk6IABKQKX_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
|
|
5096
5104
|
"info"
|
|
5097
5105
|
);
|
|
5098
5106
|
} catch (error) {
|
|
5099
|
-
notify19(browser.refusalReason(error, `Could not extract ${
|
|
5107
|
+
notify19(browser.refusalReason(error, `Could not extract ${chunk6IABKQKX_cjs.entitiesPhrase().toLowerCase()}`), "error");
|
|
5100
5108
|
throw error;
|
|
5101
5109
|
}
|
|
5102
5110
|
};
|
|
@@ -5110,10 +5118,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5110
5118
|
onOpenTag: openTag,
|
|
5111
5119
|
onOpenTaggedItems
|
|
5112
5120
|
};
|
|
5113
|
-
const n =
|
|
5121
|
+
const n = chunk6IABKQKX_cjs.tagsPageNouns();
|
|
5114
5122
|
const action = view === "person" || view === "organisation" ? {
|
|
5115
5123
|
label: "Extract",
|
|
5116
|
-
title: `Extract ${
|
|
5124
|
+
title: `Extract ${chunk6IABKQKX_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
|
|
5117
5125
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
|
|
5118
5126
|
run: () => setExtracting(true),
|
|
5119
5127
|
testId: "tags-extract-entities"
|
|
@@ -5282,7 +5290,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5282
5290
|
}
|
|
5283
5291
|
),
|
|
5284
5292
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5285
|
-
|
|
5293
|
+
chunk6IABKQKX_cjs.ExtractEntitiesDialog,
|
|
5286
5294
|
{
|
|
5287
5295
|
open: extracting,
|
|
5288
5296
|
onOpenChange: setExtracting,
|
|
@@ -5506,12 +5514,12 @@ function ConnectedExportPanel({
|
|
|
5506
5514
|
current: workspace,
|
|
5507
5515
|
currentRole,
|
|
5508
5516
|
nameOf
|
|
5509
|
-
} =
|
|
5517
|
+
} = chunkZKXZKIPE_cjs.useTransferTargets();
|
|
5510
5518
|
const { data: workspaceTags = [] } = react$1.useTags(currentWorkspaceId ?? void 0);
|
|
5511
5519
|
const { data: workspaceDocuments = [] } = react$1.useDocuments(currentWorkspaceId ?? void 0);
|
|
5512
|
-
const columnsMode =
|
|
5513
|
-
const setColumnsMode =
|
|
5514
|
-
const trackTransfer =
|
|
5520
|
+
const columnsMode = chunkZKXZKIPE_cjs.useExportStore((state) => state.columnsMode);
|
|
5521
|
+
const setColumnsMode = chunkZKXZKIPE_cjs.useExportStore((state) => state.setColumnsMode);
|
|
5522
|
+
const trackTransfer = chunkZKXZKIPE_cjs.useExportStore((state) => state.trackTransfer);
|
|
5515
5523
|
const [scopeChoice, setScopeChoice] = react.useState(
|
|
5516
5524
|
items.length > 0 ? "selection" : "all"
|
|
5517
5525
|
);
|
|
@@ -5556,7 +5564,7 @@ function ConnectedExportPanel({
|
|
|
5556
5564
|
enabled: scopeReady && !jobId
|
|
5557
5565
|
});
|
|
5558
5566
|
const summary = react.useMemo(
|
|
5559
|
-
() => plan ?
|
|
5567
|
+
() => plan ? chunkZKXZKIPE_cjs.describePlan(plan, mode) : { lines: [], warnings: [] },
|
|
5560
5568
|
[plan, mode]
|
|
5561
5569
|
);
|
|
5562
5570
|
const targetName = nameOf;
|
|
@@ -5666,7 +5674,7 @@ function ConnectedExportPanel({
|
|
|
5666
5674
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5667
5675
|
chunkSFAAOEQE_cjs.ExportResultsReport,
|
|
5668
5676
|
{
|
|
5669
|
-
summary: `${job.mode === "move" ? "Moved" : "Copied"} ${
|
|
5677
|
+
summary: `${job.mode === "move" ? "Moved" : "Copied"} ${chunkZKXZKIPE_cjs.plural(
|
|
5670
5678
|
Number(job.counts?.copied ?? 0) + Number(job.counts?.removed ?? 0),
|
|
5671
5679
|
"item"
|
|
5672
5680
|
)} to ${targetName(job.target_workspace_ext_id)}.${job.counts?.failed ? ` ${job.counts.failed} failed.` : ""}`,
|
|
@@ -5738,7 +5746,7 @@ function ConnectedExportPanel({
|
|
|
5738
5746
|
lines: summary.lines,
|
|
5739
5747
|
warnings: summary.warnings,
|
|
5740
5748
|
isLoading: isPlanning,
|
|
5741
|
-
error:
|
|
5749
|
+
error: chunkZKXZKIPE_cjs.planFailure(planError),
|
|
5742
5750
|
onRetry: () => void refetchPlan()
|
|
5743
5751
|
}
|
|
5744
5752
|
),
|
|
@@ -6534,7 +6542,7 @@ function ConnectedFactsSmartSearch({
|
|
|
6534
6542
|
const runSearch = () => search().catch(() => notify19(`Could not search ${factsWord}. Please try again.`, "error"));
|
|
6535
6543
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "facts-smart-search", children: [
|
|
6536
6544
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6537
|
-
|
|
6545
|
+
chunkVD3HI5RF_cjs.FactSearchBar,
|
|
6538
6546
|
{
|
|
6539
6547
|
query,
|
|
6540
6548
|
onQueryChange: setQuery,
|
|
@@ -6543,7 +6551,7 @@ function ConnectedFactsSmartSearch({
|
|
|
6543
6551
|
isSearching
|
|
6544
6552
|
}
|
|
6545
6553
|
),
|
|
6546
|
-
!isSearching && hits !== null && hits.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6554
|
+
!isSearching && hits !== null && hits.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkVD3HI5RF_cjs.FactSearchTotals, { children: [
|
|
6547
6555
|
hits.length.toLocaleString(),
|
|
6548
6556
|
" ",
|
|
6549
6557
|
hits.length === 1 ? factWord : factsWord,
|
|
@@ -6551,18 +6559,18 @@ function ConnectedFactsSmartSearch({
|
|
|
6551
6559
|
lastQuery,
|
|
6552
6560
|
"\u201D"
|
|
6553
6561
|
] }),
|
|
6554
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-4 pb-3", children: isSearching ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6562
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-4 pb-3", children: isSearching ? /* @__PURE__ */ jsxRuntime.jsxs(chunkVD3HI5RF_cjs.FactSearchPending, { children: [
|
|
6555
6563
|
"Searching ",
|
|
6556
6564
|
factsWord,
|
|
6557
6565
|
"\u2026"
|
|
6558
|
-
] }) : hits === null ? /* @__PURE__ */ jsxRuntime.jsx(chunkNX56DIG3_cjs.SearchEmptyState, { nouns, count: allFacts.length }) : hits.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6566
|
+
] }) : hits === null ? /* @__PURE__ */ jsxRuntime.jsx(chunkNX56DIG3_cjs.SearchEmptyState, { nouns, count: allFacts.length }) : hits.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkVD3HI5RF_cjs.FactSearchNoMatches, { children: [
|
|
6559
6567
|
"No ",
|
|
6560
6568
|
factsWord,
|
|
6561
6569
|
" matched \u201C",
|
|
6562
6570
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground", children: lastQuery }),
|
|
6563
6571
|
"\u201D."
|
|
6564
6572
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: hits.map((h, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
6565
|
-
|
|
6573
|
+
chunkVD3HI5RF_cjs.FactSearchResult,
|
|
6566
6574
|
{
|
|
6567
6575
|
id: h.external_id,
|
|
6568
6576
|
rank: i + 1,
|
|
@@ -6656,7 +6664,7 @@ function FactSourcesPopover({
|
|
|
6656
6664
|
const olderVersion = refOf(docId) !== docId ? refOf(docId).split("@v")[1] : null;
|
|
6657
6665
|
const cited = passagesOf(docId);
|
|
6658
6666
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6659
|
-
|
|
6667
|
+
chunk26KJYXYH_cjs.FactSourceGroup,
|
|
6660
6668
|
{
|
|
6661
6669
|
docId,
|
|
6662
6670
|
isViewing: isPicking,
|
|
@@ -6767,7 +6775,7 @@ function FactMarkdownEditor({
|
|
|
6767
6775
|
const editorRef = react.useRef(null);
|
|
6768
6776
|
react.useEffect(() => {
|
|
6769
6777
|
if (!editorRef.current) return;
|
|
6770
|
-
return
|
|
6778
|
+
return chunkVD3HI5RF_cjs.enableFactTableColumnResize(editorRef.current);
|
|
6771
6779
|
}, []);
|
|
6772
6780
|
react.useEffect(() => {
|
|
6773
6781
|
if (!editing) return;
|
|
@@ -7050,33 +7058,9 @@ function useFactActions(refetch) {
|
|
|
7050
7058
|
};
|
|
7051
7059
|
}
|
|
7052
7060
|
var DRAFT_TARGET = "__draft__";
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
const { notify: notify19, openDocument } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
7056
|
-
const FACT_LABELS = react.useMemo(factNouns, []);
|
|
7057
|
-
const createFact = react$1.useCreateFact(workspaceId);
|
|
7058
|
-
const updateFact = react$1.useUpdateFact();
|
|
7059
|
-
const [draftCitations, setDraftCitations] = react.useState(null);
|
|
7060
|
-
const [draftTagIds, setDraftTagIds] = react.useState([]);
|
|
7061
|
+
function usePassageCollection(collector, setCitations) {
|
|
7062
|
+
const { openDocument } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
7061
7063
|
const [collectingFor, setCollectingFor] = react.useState(null);
|
|
7062
|
-
const [composing, setComposing] = react.useState(false);
|
|
7063
|
-
const [draft, setDraft] = react.useState("");
|
|
7064
|
-
const draftRef = react.useRef(draft);
|
|
7065
|
-
draftRef.current = draft;
|
|
7066
|
-
const deletingIdRef = react.useRef(null);
|
|
7067
|
-
const [baselineText, setBaselineText] = react.useState("");
|
|
7068
|
-
const [draftDateFields, setDraftDateFields] = react.useState(chunkGISMY7J7_cjs.EMPTY_FACT_DATE_FIELDS);
|
|
7069
|
-
const [composerError, setComposerError] = react.useState(null);
|
|
7070
|
-
const [editingId, setEditingId] = react.useState(null);
|
|
7071
|
-
const [draftShared, setDraftShared] = react.useState(false);
|
|
7072
|
-
const [draftConfirmed, setDraftConfirmed] = react.useState(true);
|
|
7073
|
-
const [composerSession, setComposerSession] = react.useState(0);
|
|
7074
|
-
const editingIdRef = react.useRef(null);
|
|
7075
|
-
react.useEffect(() => {
|
|
7076
|
-
editingIdRef.current = editingId;
|
|
7077
|
-
const api = gridApiRef.current;
|
|
7078
|
-
if (api && !api.isDestroyed()) api.redrawRows();
|
|
7079
|
-
}, [editingId, gridApiRef]);
|
|
7080
7064
|
const displayedDocId = collector?.displayedDocId ?? null;
|
|
7081
7065
|
const armCollecting = react.useCallback(
|
|
7082
7066
|
(target) => {
|
|
@@ -7109,14 +7093,6 @@ function useFactComposer(notes, remove, gridApiRef, collector, composeRequested,
|
|
|
7109
7093
|
},
|
|
7110
7094
|
[armCollecting, collector]
|
|
7111
7095
|
);
|
|
7112
|
-
react.useEffect(() => {
|
|
7113
|
-
if (!composeRequested) return;
|
|
7114
|
-
if (newFactTagIds.length > 0 && !editingIdRef.current) setDraftTagIds([...newFactTagIds]);
|
|
7115
|
-
setComposing(true);
|
|
7116
|
-
setComposerError(null);
|
|
7117
|
-
setComposerSession((s) => s + 1);
|
|
7118
|
-
onComposeHandled();
|
|
7119
|
-
}, [composeRequested, newFactTagIds]);
|
|
7120
7096
|
const picked = collector?.picked;
|
|
7121
7097
|
const docBeingCollected = collector?.collectingDocId;
|
|
7122
7098
|
react.useEffect(() => {
|
|
@@ -7129,19 +7105,62 @@ function useFactComposer(notes, remove, gridApiRef, collector, composeRequested,
|
|
|
7129
7105
|
}
|
|
7130
7106
|
return next ?? [];
|
|
7131
7107
|
};
|
|
7132
|
-
|
|
7108
|
+
setCitations(apply);
|
|
7133
7109
|
collector.consumePicked();
|
|
7134
7110
|
}, [picked, collectingFor, docBeingCollected, collector]);
|
|
7135
7111
|
const unpicked = collector?.unpicked;
|
|
7136
7112
|
react.useEffect(() => {
|
|
7137
7113
|
if (!collector || !unpicked?.length || !collectingFor) return;
|
|
7138
|
-
|
|
7114
|
+
setCitations((prev) => {
|
|
7139
7115
|
let next = chunkCWECDS4I_cjs.toFactCitations(prev);
|
|
7140
7116
|
for (const chunkId of unpicked) next = chunkCWECDS4I_cjs.withoutChunk(next, chunkId);
|
|
7141
7117
|
return next;
|
|
7142
7118
|
});
|
|
7143
7119
|
collector.consumeUnpicked();
|
|
7144
7120
|
}, [unpicked, collectingFor, collector]);
|
|
7121
|
+
return { collectingFor, armCollecting, citeDocument, setSourceCitationSession };
|
|
7122
|
+
}
|
|
7123
|
+
|
|
7124
|
+
// src/connection/facts/useFactComposer.ts
|
|
7125
|
+
var NO_TAG_IDS = [];
|
|
7126
|
+
function useFactComposer(notes, remove, gridApiRef, collector, composeRequested, onComposeHandled, workspaceId, newFactTagIds = NO_TAG_IDS) {
|
|
7127
|
+
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
7128
|
+
const FACT_LABELS = react.useMemo(factNouns, []);
|
|
7129
|
+
const createFact = react$1.useCreateFact(workspaceId);
|
|
7130
|
+
const updateFact = react$1.useUpdateFact();
|
|
7131
|
+
const [draftCitations, setDraftCitations] = react.useState(null);
|
|
7132
|
+
const [draftTagIds, setDraftTagIds] = react.useState([]);
|
|
7133
|
+
const [composing, setComposing] = react.useState(false);
|
|
7134
|
+
const [draft, setDraft] = react.useState("");
|
|
7135
|
+
const draftRef = react.useRef(draft);
|
|
7136
|
+
draftRef.current = draft;
|
|
7137
|
+
const deletingIdRef = react.useRef(null);
|
|
7138
|
+
const [baselineText, setBaselineText] = react.useState("");
|
|
7139
|
+
const [draftDateFields, setDraftDateFields] = react.useState(chunkGISMY7J7_cjs.EMPTY_FACT_DATE_FIELDS);
|
|
7140
|
+
const [composerError, setComposerError] = react.useState(null);
|
|
7141
|
+
const [editingId, setEditingId] = react.useState(null);
|
|
7142
|
+
const [draftShared, setDraftShared] = react.useState(false);
|
|
7143
|
+
const [draftConfirmed, setDraftConfirmed] = react.useState(true);
|
|
7144
|
+
const [composerSession, setComposerSession] = react.useState(0);
|
|
7145
|
+
const editingIdRef = react.useRef(null);
|
|
7146
|
+
react.useEffect(() => {
|
|
7147
|
+
editingIdRef.current = editingId;
|
|
7148
|
+
const api = gridApiRef.current;
|
|
7149
|
+
if (api && !api.isDestroyed()) api.redrawRows();
|
|
7150
|
+
}, [editingId, gridApiRef]);
|
|
7151
|
+
const { armCollecting, citeDocument, setSourceCitationSession } = usePassageCollection(
|
|
7152
|
+
collector,
|
|
7153
|
+
setDraftCitations
|
|
7154
|
+
);
|
|
7155
|
+
const displayedDocId = collector?.displayedDocId ?? null;
|
|
7156
|
+
react.useEffect(() => {
|
|
7157
|
+
if (!composeRequested) return;
|
|
7158
|
+
if (newFactTagIds.length > 0 && !editingIdRef.current) setDraftTagIds([...newFactTagIds]);
|
|
7159
|
+
setComposing(true);
|
|
7160
|
+
setComposerError(null);
|
|
7161
|
+
setComposerSession((s) => s + 1);
|
|
7162
|
+
onComposeHandled();
|
|
7163
|
+
}, [composeRequested, newFactTagIds]);
|
|
7145
7164
|
const resetComposer = react.useCallback(() => {
|
|
7146
7165
|
setDraft("");
|
|
7147
7166
|
setBaselineText("");
|
|
@@ -7445,7 +7464,7 @@ function useFactFilters(notes, view, chat) {
|
|
|
7445
7464
|
const makeTagPicker = react.useCallback(
|
|
7446
7465
|
(selected, setSelected, opts) => {
|
|
7447
7466
|
const applied = new Set(selected);
|
|
7448
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7467
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkVD3HI5RF_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7449
7468
|
chunkSFAAOEQE_cjs.FieldLabelsSelect,
|
|
7450
7469
|
{
|
|
7451
7470
|
options: labelOptions,
|
|
@@ -7637,14 +7656,14 @@ function useFactSelection(notes, gridApiRef, setFactTags, chat) {
|
|
|
7637
7656
|
}
|
|
7638
7657
|
function renderSourcesCell(params) {
|
|
7639
7658
|
const fact = params.data;
|
|
7640
|
-
const count2 =
|
|
7659
|
+
const count2 = chunkVD3HI5RF_cjs.sourceDocCount(fact);
|
|
7641
7660
|
if (!fact || count2 === 0) return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground/40", children: "\u2014" });
|
|
7642
7661
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7643
7662
|
"button",
|
|
7644
7663
|
{
|
|
7645
7664
|
type: "button",
|
|
7646
7665
|
onClick: () => params.context?.openEdit?.(fact),
|
|
7647
|
-
title:
|
|
7666
|
+
title: chunkVD3HI5RF_cjs.DEFAULT_FACT_COLUMN_LABELS.sourcedFrom(count2),
|
|
7648
7667
|
"data-testid": `facts-grid-sources-${fact.external_id}`,
|
|
7649
7668
|
className: "inline-flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground",
|
|
7650
7669
|
children: [
|
|
@@ -7701,14 +7720,14 @@ function createFactPageColumns({
|
|
|
7701
7720
|
onToggleConfirmed,
|
|
7702
7721
|
onToggleShared
|
|
7703
7722
|
}) {
|
|
7704
|
-
const columns =
|
|
7723
|
+
const columns = chunkVD3HI5RF_cjs.createFactColumns({
|
|
7705
7724
|
onToggleInChat,
|
|
7706
7725
|
isInChat,
|
|
7707
7726
|
renderHeader: (params, colId) => /* @__PURE__ */ jsxRuntime.jsx(FactHeader, { params, colId }),
|
|
7708
7727
|
renderRowActions: (fact, params) => {
|
|
7709
7728
|
const ctx = params.context;
|
|
7710
7729
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7711
|
-
|
|
7730
|
+
chunkVD3HI5RF_cjs.FactRowActions,
|
|
7712
7731
|
{
|
|
7713
7732
|
onEdit: () => ctx?.openEdit?.(fact),
|
|
7714
7733
|
canEdit: ctx?.canRewrite?.(fact) !== false,
|
|
@@ -7837,7 +7856,7 @@ function useFactsGrid({
|
|
|
7837
7856
|
);
|
|
7838
7857
|
const renderFactTags = react.useCallback(
|
|
7839
7858
|
(fact, rowHeight) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
7840
|
-
|
|
7859
|
+
chunk26KJYXYH_cjs.FactLabelsCell,
|
|
7841
7860
|
{
|
|
7842
7861
|
options: labelOptions,
|
|
7843
7862
|
selectedIds: fact.tags.map((t) => t.tag_ext_id),
|
|
@@ -8231,7 +8250,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8231
8250
|
};
|
|
8232
8251
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: setFactSection, className: "relative flex h-full flex-col", "data-testid": "facts-page", children: [
|
|
8233
8252
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8234
|
-
|
|
8253
|
+
chunkVD3HI5RF_cjs.FactsToolbar,
|
|
8235
8254
|
{
|
|
8236
8255
|
count: filteredNotes.length,
|
|
8237
8256
|
hasActiveFilters: filters.hasActiveFilters,
|
|
@@ -8260,7 +8279,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8260
8279
|
onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
|
|
8261
8280
|
navSlotRef: setNavSlot,
|
|
8262
8281
|
navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8263
|
-
|
|
8282
|
+
chunk6IABKQKX_cjs.GridRowNavigator,
|
|
8264
8283
|
{
|
|
8265
8284
|
gridApi,
|
|
8266
8285
|
selectedId: editingId,
|
|
@@ -8272,7 +8291,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8272
8291
|
showToolbarRow: view !== "smart_search",
|
|
8273
8292
|
tools: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
8274
8293
|
onScopeChange && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8275
|
-
|
|
8294
|
+
chunkVD3HI5RF_cjs.FactsScopePicker,
|
|
8276
8295
|
{
|
|
8277
8296
|
options: scopeOptions,
|
|
8278
8297
|
total: allNotes.length,
|
|
@@ -8280,7 +8299,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8280
8299
|
onChange: onScopeChange
|
|
8281
8300
|
}
|
|
8282
8301
|
),
|
|
8283
|
-
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8302
|
+
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkVD3HI5RF_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
|
|
8284
8303
|
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8285
8304
|
chunkSFAAOEQE_cjs.RowDensityControl,
|
|
8286
8305
|
{
|
|
@@ -8290,7 +8309,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8290
8309
|
}
|
|
8291
8310
|
),
|
|
8292
8311
|
view === "gantt" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8293
|
-
|
|
8312
|
+
chunk66IOCKWS_cjs.TimelineZoomControl,
|
|
8294
8313
|
{
|
|
8295
8314
|
zoom: pageView.zoom,
|
|
8296
8315
|
onZoomChange: pageView.setZoom,
|
|
@@ -8318,7 +8337,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8318
8337
|
}
|
|
8319
8338
|
) }),
|
|
8320
8339
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8321
|
-
|
|
8340
|
+
chunkVD3HI5RF_cjs.FactComposer,
|
|
8322
8341
|
{
|
|
8323
8342
|
isOpen: composing,
|
|
8324
8343
|
isEditing: !!editingId,
|
|
@@ -8348,7 +8367,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8348
8367
|
reserveSourcesSpace: view === "gantt" || view === "calendar",
|
|
8349
8368
|
citationContainer: factSection,
|
|
8350
8369
|
renderDocumentPicker: (onSelect, selectedIds, onOpen, sourcesToggle, sourcesOpen) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
8351
|
-
|
|
8370
|
+
chunkVD3HI5RF_cjs.FactSourcesRow,
|
|
8352
8371
|
{
|
|
8353
8372
|
toggle: sourcesToggle,
|
|
8354
8373
|
picker: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -8394,7 +8413,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8394
8413
|
}
|
|
8395
8414
|
),
|
|
8396
8415
|
dateInput: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8397
|
-
|
|
8416
|
+
chunk26KJYXYH_cjs.FactDateInput,
|
|
8398
8417
|
{
|
|
8399
8418
|
value: composer.draftDateFields,
|
|
8400
8419
|
onChange: composer.setDraftDateFields,
|
|
@@ -8404,7 +8423,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8404
8423
|
}
|
|
8405
8424
|
),
|
|
8406
8425
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "scrollbar-subtle flex-1 overflow-y-auto pb-2", children: [
|
|
8407
|
-
isLoading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8426
|
+
isLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkVD3HI5RF_cjs.FactsLoading, {}) : isError ? /* @__PURE__ */ jsxRuntime.jsx(chunkVD3HI5RF_cjs.FactsLoadError, { onRetry: () => refetch() }) : view === "smart_search" ? (
|
|
8408
8427
|
// Searches facts only (never documents). Kept before the empty-state guard so the
|
|
8409
8428
|
// search UI is reachable even in an empty workspace.
|
|
8410
8429
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -8424,7 +8443,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8424
8443
|
}
|
|
8425
8444
|
) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
8426
8445
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8427
|
-
|
|
8446
|
+
chunkVD3HI5RF_cjs.FactsEmptyState,
|
|
8428
8447
|
{
|
|
8429
8448
|
onUseExample: (text2) => {
|
|
8430
8449
|
composer.startNewFact();
|
|
@@ -8434,7 +8453,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8434
8453
|
),
|
|
8435
8454
|
/* @__PURE__ */ jsxRuntime.jsx(FactsFindInDocuments, {})
|
|
8436
8455
|
] }) }) : view === "calendar" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8437
|
-
|
|
8456
|
+
chunkVD3HI5RF_cjs.FactsCalendar,
|
|
8438
8457
|
{
|
|
8439
8458
|
facts: filteredNotes,
|
|
8440
8459
|
onSelect: (n) => openEditIfAllowed(n),
|
|
@@ -8443,7 +8462,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8443
8462
|
navigatorTotal: filteredNotes.length
|
|
8444
8463
|
}
|
|
8445
8464
|
) : view === "gantt" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8446
|
-
|
|
8465
|
+
chunkVD3HI5RF_cjs.FactsGanttPane,
|
|
8447
8466
|
{
|
|
8448
8467
|
items: ganttItems,
|
|
8449
8468
|
labelWidth: pageView.labelWidth,
|
|
@@ -8493,7 +8512,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8493
8512
|
)
|
|
8494
8513
|
] }),
|
|
8495
8514
|
selectable && notes.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8496
|
-
|
|
8515
|
+
chunkVD3HI5RF_cjs.FactsBulkBar,
|
|
8497
8516
|
{
|
|
8498
8517
|
count: selection.selectedFacts.length,
|
|
8499
8518
|
onClear: selection.clearSelection,
|
|
@@ -8543,7 +8562,7 @@ var LIST_TYPES = /* @__PURE__ */ new Set(["person", "document", "relation"]);
|
|
|
8543
8562
|
var isBlank = (v) => v === null || v === void 0 || typeof v === "string" && v.trim() === "" || Array.isArray(v) && v.length === 0;
|
|
8544
8563
|
var needsValue = (op) => op !== "empty" && op !== "not_empty";
|
|
8545
8564
|
var hasUsableValue = (value) => typeof value === "number" || typeof value === "boolean" || typeof value === "string" && value !== "";
|
|
8546
|
-
var text = (row2, column) =>
|
|
8565
|
+
var text = (row2, column) => chunkQU3OCUVF_cjs.formatCell(row2.values[column.id], column.type, void 0, row2.titles);
|
|
8547
8566
|
function matchesSearch(row2, columns, needle) {
|
|
8548
8567
|
return columns.some((column) => {
|
|
8549
8568
|
if (text(row2, column).toLowerCase().includes(needle)) return true;
|
|
@@ -8553,20 +8572,20 @@ function matchesSearch(row2, columns, needle) {
|
|
|
8553
8572
|
}
|
|
8554
8573
|
function matchesFilter(row2, column, op, wanted) {
|
|
8555
8574
|
const raw = row2.values[column.id];
|
|
8556
|
-
const kit =
|
|
8575
|
+
const kit = chunkQU3OCUVF_cjs.kitOf(column.type);
|
|
8557
8576
|
if (op === "empty") return kit ? kit.empty(raw) : isBlank(raw);
|
|
8558
8577
|
if (op === "not_empty") return !(kit ? kit.empty(raw) : isBlank(raw));
|
|
8559
8578
|
if (kit) {
|
|
8560
8579
|
if (op !== "contains" && op !== "eq" && op !== "neq") return false;
|
|
8561
|
-
const has = column.type === "label" ?
|
|
8580
|
+
const has = column.type === "label" ? chunkQU3OCUVF_cjs.cellIds(raw).includes(wanted) : (Array.isArray(raw) ? raw : []).some(
|
|
8562
8581
|
(c) => c?.doc_ext_id === wanted
|
|
8563
8582
|
);
|
|
8564
8583
|
return op === "neq" ? !has : has;
|
|
8565
8584
|
}
|
|
8566
8585
|
const lower = wanted.toLowerCase();
|
|
8567
8586
|
if (LIST_TYPES.has(column.type)) {
|
|
8568
|
-
const has =
|
|
8569
|
-
(id) => id === wanted ||
|
|
8587
|
+
const has = chunkQU3OCUVF_cjs.cellIds(raw).some(
|
|
8588
|
+
(id) => id === wanted || chunkQU3OCUVF_cjs.titleOf(id, row2.titles).toLowerCase() === lower
|
|
8570
8589
|
);
|
|
8571
8590
|
return op === "neq" ? !has : has;
|
|
8572
8591
|
}
|
|
@@ -8617,6 +8636,21 @@ function applyLocalQuery(rows, columns, query) {
|
|
|
8617
8636
|
})
|
|
8618
8637
|
);
|
|
8619
8638
|
}
|
|
8639
|
+
function documentPickerGroups(documents) {
|
|
8640
|
+
return [
|
|
8641
|
+
{
|
|
8642
|
+
id: "all",
|
|
8643
|
+
heading: "In this workspace",
|
|
8644
|
+
docs: documents.filter((d) => !d.parent_ext_id).map((d) => ({
|
|
8645
|
+
id: d.external_id,
|
|
8646
|
+
title: ui.getDocumentTitle(d, d.file_name ?? void 0),
|
|
8647
|
+
fileName: d.file_name,
|
|
8648
|
+
pages: ui.isImageDocument(d) ? null : d.n_pages ?? null,
|
|
8649
|
+
tokens: ui.isImageDocument(d) ? null : d.tokens ?? null
|
|
8650
|
+
})).sort((a, b) => a.title.toLowerCase().localeCompare(b.title.toLowerCase()))
|
|
8651
|
+
}
|
|
8652
|
+
];
|
|
8653
|
+
}
|
|
8620
8654
|
var DEFAULT_TRI_STATE_CHIPS_LABELS = {
|
|
8621
8655
|
hint: "Click once to include, twice to exclude.",
|
|
8622
8656
|
included: "included",
|
|
@@ -8866,7 +8900,7 @@ var SEARCHED_COLUMNS = /* @__PURE__ */ new Set([
|
|
|
8866
8900
|
FACT_COLUMN.labels,
|
|
8867
8901
|
FACT_COLUMN.sources
|
|
8868
8902
|
]);
|
|
8869
|
-
var LAYOUT_LABELS = [
|
|
8903
|
+
var LAYOUT_LABELS = [chunkQU3OCUVF_cjs.TABLE_LAYOUT, chunkQU3OCUVF_cjs.CALENDAR_LAYOUT, chunkQU3OCUVF_cjs.GANTT_LAYOUT].map((l) => l.label);
|
|
8870
8904
|
var CHARS_PER_TOKEN2 = 4;
|
|
8871
8905
|
var INLINE_DATE_RE2 = /^\d{4}(-\d{2})?(-\d{2})?$/;
|
|
8872
8906
|
var DEFAULT_COLUMNS = [
|
|
@@ -9440,9 +9474,9 @@ function useFactsOpen(options, request) {
|
|
|
9440
9474
|
);
|
|
9441
9475
|
const layouts = react.useMemo(
|
|
9442
9476
|
() => [
|
|
9443
|
-
|
|
9444
|
-
|
|
9445
|
-
|
|
9477
|
+
chunkQU3OCUVF_cjs.TABLE_LAYOUT,
|
|
9478
|
+
chunkQU3OCUVF_cjs.CALENDAR_LAYOUT,
|
|
9479
|
+
chunkQU3OCUVF_cjs.GANTT_LAYOUT,
|
|
9446
9480
|
{
|
|
9447
9481
|
id: "smart_search",
|
|
9448
9482
|
label: "Smart Search",
|
|
@@ -9470,7 +9504,7 @@ function useFactsOpen(options, request) {
|
|
|
9470
9504
|
const lines = [
|
|
9471
9505
|
picked.map((c) => csvCell(c.name)).join(","),
|
|
9472
9506
|
...shown.map(
|
|
9473
|
-
(row2) => picked.map((c) => csvCell(
|
|
9507
|
+
(row2) => picked.map((c) => csvCell(chunkQU3OCUVF_cjs.formatCell(row2.values[c.id], c.type, void 0, row2.titles))).join(",")
|
|
9474
9508
|
)
|
|
9475
9509
|
];
|
|
9476
9510
|
core$1.downloadBlob(new Blob([lines.join("\n")], { type: "text/csv;charset=utf-8" }), "facts.csv");
|
|
@@ -9594,7 +9628,7 @@ function useFactsOpen(options, request) {
|
|
|
9594
9628
|
if (!editable || !fact) return null;
|
|
9595
9629
|
const factNow = () => latest.current.byId.get(latest.current.currentId(row2.id));
|
|
9596
9630
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9597
|
-
|
|
9631
|
+
chunkVD3HI5RF_cjs.FactRowActions,
|
|
9598
9632
|
{
|
|
9599
9633
|
onEdit: () => {
|
|
9600
9634
|
const f = factNow();
|
|
@@ -9680,7 +9714,7 @@ function FactsBudget({ tokens, cap, isOver }) {
|
|
|
9680
9714
|
),
|
|
9681
9715
|
title: assistant.factsBudgetHint,
|
|
9682
9716
|
"data-testid": "facts-page-chat-budget",
|
|
9683
|
-
children:
|
|
9717
|
+
children: chunkVD3HI5RF_cjs.DEFAULT_FACTS_BULK_BAR_LABELS.budget(tokens.toLocaleString(), cap.toLocaleString())
|
|
9684
9718
|
}
|
|
9685
9719
|
);
|
|
9686
9720
|
}
|
|
@@ -9696,7 +9730,7 @@ function FactsFilters({
|
|
|
9696
9730
|
}) {
|
|
9697
9731
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
9698
9732
|
onScopeChange && scope && /* @__PURE__ */ jsxRuntime.jsx(
|
|
9699
|
-
|
|
9733
|
+
chunkVD3HI5RF_cjs.FactsScopePicker,
|
|
9700
9734
|
{
|
|
9701
9735
|
options: scopeOptions,
|
|
9702
9736
|
total,
|
|
@@ -9768,7 +9802,7 @@ function FactsBulk({
|
|
|
9768
9802
|
}));
|
|
9769
9803
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
9770
9804
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9771
|
-
|
|
9805
|
+
chunkVD3HI5RF_cjs.FactsBulkBar,
|
|
9772
9806
|
{
|
|
9773
9807
|
count: facts.length,
|
|
9774
9808
|
onClear: clear,
|
|
@@ -9899,22 +9933,7 @@ function FactsRowPage({
|
|
|
9899
9933
|
documents.filter((d) => wanted.has(d.external_id)).map((d) => [d.external_id, d])
|
|
9900
9934
|
);
|
|
9901
9935
|
}, [composer.draftCitations, documents]);
|
|
9902
|
-
const pickerGroups = react.useMemo(
|
|
9903
|
-
() => [
|
|
9904
|
-
{
|
|
9905
|
-
id: "all",
|
|
9906
|
-
heading: "In this workspace",
|
|
9907
|
-
docs: documents.filter((d) => !d.parent_ext_id).map((d) => ({
|
|
9908
|
-
id: d.external_id,
|
|
9909
|
-
title: ui.getDocumentTitle(d, d.file_name ?? void 0),
|
|
9910
|
-
fileName: d.file_name,
|
|
9911
|
-
pages: ui.isImageDocument(d) ? null : d.n_pages ?? null,
|
|
9912
|
-
tokens: ui.isImageDocument(d) ? null : d.tokens ?? null
|
|
9913
|
-
})).sort((a, b) => a.title.toLowerCase().localeCompare(b.title.toLowerCase()))
|
|
9914
|
-
}
|
|
9915
|
-
],
|
|
9916
|
-
[documents]
|
|
9917
|
-
);
|
|
9936
|
+
const pickerGroups = react.useMemo(() => documentPickerGroups(documents), [documents]);
|
|
9918
9937
|
if (!composer.composing) return null;
|
|
9919
9938
|
const fact = composer.editingId ? byId.get(composer.editingId) : void 0;
|
|
9920
9939
|
if (fact) shown.current = { session: composer.composerSession, row: rowOf(fact) };
|
|
@@ -9983,16 +10002,16 @@ function FactsRowPage({
|
|
|
9983
10002
|
hint: /* @__PURE__ */ jsxRuntime.jsx(
|
|
9984
10003
|
chunkU46OGRCO_cjs.DetailHint,
|
|
9985
10004
|
{
|
|
9986
|
-
label:
|
|
10005
|
+
label: chunkVD3HI5RF_cjs.DEFAULT_FACT_SOURCES_ROW_LABELS.hintButton,
|
|
9987
10006
|
testId: "facts-source-hint",
|
|
9988
|
-
children:
|
|
10007
|
+
children: chunkVD3HI5RF_cjs.DEFAULT_FACT_SOURCES_ROW_LABELS.hint
|
|
9989
10008
|
}
|
|
9990
10009
|
)
|
|
9991
10010
|
};
|
|
9992
10011
|
case FACT_COLUMN.date:
|
|
9993
10012
|
return saved ? void 0 : {
|
|
9994
10013
|
content: /* @__PURE__ */ jsxRuntime.jsx(
|
|
9995
|
-
|
|
10014
|
+
chunk26KJYXYH_cjs.FactDateInput,
|
|
9996
10015
|
{
|
|
9997
10016
|
value: composer.draftDateFields,
|
|
9998
10017
|
onChange: composer.setDraftDateFields,
|
|
@@ -10061,7 +10080,7 @@ function FactsRowPage({
|
|
|
10061
10080
|
) })
|
|
10062
10081
|
] }),
|
|
10063
10082
|
layout: (parts) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10064
|
-
|
|
10083
|
+
chunkQU3OCUVF_cjs.DatabaseRowDetail,
|
|
10065
10084
|
{
|
|
10066
10085
|
row: pageRow,
|
|
10067
10086
|
columns: pageColumns,
|
|
@@ -10109,7 +10128,7 @@ function useConnectedShellWorkspaces(options = {}) {
|
|
|
10109
10128
|
function ConnectedSsoDisconnect() {
|
|
10110
10129
|
const { client } = react$1.useAccountClient();
|
|
10111
10130
|
const { data: profile } = react$1.useProfile();
|
|
10112
|
-
const auth =
|
|
10131
|
+
const auth = chunkHS626TSS_cjs.useAuthPages();
|
|
10113
10132
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
10114
10133
|
const [open, setOpen] = react.useState(false);
|
|
10115
10134
|
const [step, setStep] = react.useState("email");
|
|
@@ -10287,14 +10306,14 @@ function ConnectedAccountSettings({
|
|
|
10287
10306
|
}) {
|
|
10288
10307
|
const [logoutOpen, setLogoutOpen] = react.useState(false);
|
|
10289
10308
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
|
|
10290
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10309
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkHS626TSS_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
|
|
10291
10310
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
|
|
10292
10311
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
|
|
10293
10312
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
|
|
10294
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10313
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkHS626TSS_cjs.ConnectedSecuritySection, { children: securityRows }),
|
|
10295
10314
|
moreSettings,
|
|
10296
10315
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10297
|
-
|
|
10316
|
+
chunkHS626TSS_cjs.ConnectedIdentityVerification,
|
|
10298
10317
|
{
|
|
10299
10318
|
collapsible: true,
|
|
10300
10319
|
onManageBilling,
|
|
@@ -10304,7 +10323,7 @@ function ConnectedAccountSettings({
|
|
|
10304
10323
|
] }),
|
|
10305
10324
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
|
|
10306
10325
|
connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
|
|
10307
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10326
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkHS626TSS_cjs.ConnectedSessionsRow, { renderSessionIcon }),
|
|
10308
10327
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
10309
10328
|
ui.Button,
|
|
10310
10329
|
{
|
|
@@ -10321,9 +10340,9 @@ function ConnectedAccountSettings({
|
|
|
10321
10340
|
}
|
|
10322
10341
|
) })
|
|
10323
10342
|
] }) }),
|
|
10324
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10343
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkHS626TSS_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
|
|
10325
10344
|
!onLogout && /* @__PURE__ */ jsxRuntime.jsx(
|
|
10326
|
-
|
|
10345
|
+
chunkHS626TSS_cjs.ConnectedLogoutDialog,
|
|
10327
10346
|
{
|
|
10328
10347
|
open: logoutOpen,
|
|
10329
10348
|
onClose: () => setLogoutOpen(false),
|
|
@@ -10666,7 +10685,7 @@ function ConnectedPrivacySettings({
|
|
|
10666
10685
|
}
|
|
10667
10686
|
)
|
|
10668
10687
|
] }) }),
|
|
10669
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10688
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkHS626TSS_cjs.ConnectedNotificationPreferences, {})
|
|
10670
10689
|
] });
|
|
10671
10690
|
}
|
|
10672
10691
|
var PROVIDER_NAMES = {
|
|
@@ -12351,7 +12370,7 @@ var DEFAULT_FEATURE_ROWS = [
|
|
|
12351
12370
|
testId: "toggle-call-avatars",
|
|
12352
12371
|
title: "Assistant avatars (experimental)",
|
|
12353
12372
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Phone, { size: ICON }),
|
|
12354
|
-
description: "
|
|
12373
|
+
description: "Enable before joining a call to see your assistant\u2019s 3D projection. Turning animation off keeps speech playing; enabling it during an audio-only call applies to your next call."
|
|
12355
12374
|
},
|
|
12356
12375
|
{
|
|
12357
12376
|
feature: "connectors",
|
|
@@ -12692,7 +12711,7 @@ function ConnectedRecoveryKeyDialog({
|
|
|
12692
12711
|
const arbi = react$1.useArbi();
|
|
12693
12712
|
const { user, isSso: isSsoMode } = react$1.useArbiSession();
|
|
12694
12713
|
const userEmail = user?.email;
|
|
12695
|
-
const sso =
|
|
12714
|
+
const sso = chunkHS626TSS_cjs.useSsoSignIn();
|
|
12696
12715
|
const handleVerify = async () => {
|
|
12697
12716
|
setError(null);
|
|
12698
12717
|
if (!password) {
|
|
@@ -12853,7 +12872,7 @@ function ConnectedRemoteControlSwitch() {
|
|
|
12853
12872
|
}
|
|
12854
12873
|
function RemoteControlSwitch() {
|
|
12855
12874
|
const enabled = react$1.useRemoteControl((state) => state.enabled);
|
|
12856
|
-
const remote =
|
|
12875
|
+
const remote = chunkHS626TSS_cjs.useRemoteControlActions();
|
|
12857
12876
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12858
12877
|
chunkQQMMCXBP_cjs.SettingsRow,
|
|
12859
12878
|
{
|
|
@@ -14026,7 +14045,7 @@ function ConnectedWorkspaceShareDialog({
|
|
|
14026
14045
|
chunk223D4727_cjs.ModalBreadcrumbHeader,
|
|
14027
14046
|
{
|
|
14028
14047
|
workspaceName: workspace.name,
|
|
14029
|
-
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14048
|
+
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkZKXZKIPE_cjs.ConnectedWorkspaceEntity, { workspace, size: 20, variant: "icon" }),
|
|
14030
14049
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserPlus, { className: "w-4 h-4" }),
|
|
14031
14050
|
title: labels.title
|
|
14032
14051
|
}
|
|
@@ -15109,13 +15128,13 @@ function ConnectedWorkspaceSettings({
|
|
|
15109
15128
|
const [membersExpanded, setMembersExpanded] = react.useState(false);
|
|
15110
15129
|
const [shareOpen, setShareOpen] = react.useState(false);
|
|
15111
15130
|
if (!workspace) {
|
|
15112
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkWHHBEV4G_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15131
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWHHBEV4G_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk6IABKQKX_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
|
|
15113
15132
|
}
|
|
15114
15133
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
15115
15134
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkWHHBEV4G_cjs.WorkspacePageFrame, { testId, children: [
|
|
15116
15135
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkWHHBEV4G_cjs.WorkspaceIdentityPanel, { children: [
|
|
15117
15136
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15118
|
-
|
|
15137
|
+
chunk6IABKQKX_cjs.EntityIdentityBar,
|
|
15119
15138
|
{
|
|
15120
15139
|
testId: "workspace-identity-bar",
|
|
15121
15140
|
canEdit: isOwner,
|
|
@@ -15132,7 +15151,7 @@ function ConnectedWorkspaceSettings({
|
|
|
15132
15151
|
label: "Name",
|
|
15133
15152
|
value: workspace.name,
|
|
15134
15153
|
placeholder: "Untitled",
|
|
15135
|
-
maxLength:
|
|
15154
|
+
maxLength: chunk6IABKQKX_cjs.IDENTITY_NAME_MAX_LENGTH,
|
|
15136
15155
|
valueClassName: "truncate text-base font-semibold",
|
|
15137
15156
|
testId: "workspace-home-title",
|
|
15138
15157
|
hideLabel: true,
|
|
@@ -16631,36 +16650,36 @@ function ConnectedSharePointAdminConsentPage({
|
|
|
16631
16650
|
const result = givenResult === void 0 ? queryResult : givenResult;
|
|
16632
16651
|
const { apiBaseUrl } = chunkHN56WWBR_cjs.useBlocksEnvironment().runtimeConfig;
|
|
16633
16652
|
const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
|
|
16634
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
16653
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkRDEUBZ3Z_cjs.ConsentCard, { size: "md", children: [
|
|
16635
16654
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16636
|
-
|
|
16655
|
+
chunkRDEUBZ3Z_cjs.ConsentHeader,
|
|
16637
16656
|
{
|
|
16638
16657
|
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkSFAAOEQE_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
|
|
16639
16658
|
title: "Approve ARBI for SharePoint access",
|
|
16640
16659
|
children: "A member of your organization uses ARBI and wants to sync documents from SharePoint. Your Microsoft 365 organization requires an administrator to approve this once for the whole organization."
|
|
16641
16660
|
}
|
|
16642
16661
|
),
|
|
16643
|
-
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
16644
|
-
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
16645
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16662
|
+
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentNotice, { tone: "success", title: "Access approved \u2014 you\u2019re all set.", className: "mt-4", children: "People in your organization can now connect SharePoint from their own ARBI account. Nothing is synced until each user connects and chooses what to import." }),
|
|
16663
|
+
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentNotice, { tone: "warning", title: "The approval didn\u2019t complete.", className: "mt-4", children: "The request was declined or canceled on the Microsoft screen. You can try again below \u2014 you must sign in with a Microsoft 365 administrator account of your organization." }),
|
|
16664
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkRDEUBZ3Z_cjs.ConsentSection, { title: "What you are approving", children: [
|
|
16646
16665
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16647
|
-
|
|
16666
|
+
chunkRDEUBZ3Z_cjs.ConsentBulletList,
|
|
16648
16667
|
{
|
|
16649
16668
|
items: [
|
|
16650
16669
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
16651
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16670
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
|
|
16652
16671
|
" \u2014 lets each user who connects their own account import documents from sites they already have access to. ARBI never gets more access than the user has."
|
|
16653
16672
|
] }),
|
|
16654
16673
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
16655
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16674
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
|
|
16656
16675
|
" \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
|
|
16657
16676
|
] })
|
|
16658
16677
|
]
|
|
16659
16678
|
}
|
|
16660
16679
|
),
|
|
16661
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16680
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentText, { children: "Approving does not sync anything by itself and grants ARBI no standing access to your tenant. Each user still connects their own Microsoft account, and their tokens are end-to-end encrypted so ARBI\u2019s servers cannot read them at rest." }),
|
|
16662
16681
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Button, { asChild: true, className: "w-full pointer-coarse:h-11", children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: consentUrl, children: "Review and approve in Microsoft" }) }),
|
|
16663
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16682
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentText, { variant: "footnote", children: "You\u2019ll sign in at login.microsoftonline.com and see Microsoft\u2019s own summary of these permissions before anything is granted." })
|
|
16664
16683
|
] })
|
|
16665
16684
|
] }) });
|
|
16666
16685
|
}
|
|
@@ -19813,7 +19832,7 @@ function useConnectedWorkspaceList({
|
|
|
19813
19832
|
};
|
|
19814
19833
|
}
|
|
19815
19834
|
var WorkspaceTableView = react.lazy(
|
|
19816
|
-
() => import('../WorkspaceTableView-
|
|
19835
|
+
() => import('../WorkspaceTableView-TPL6EWXL.cjs').then((m) => ({ default: m.WorkspaceTableView }))
|
|
19817
19836
|
);
|
|
19818
19837
|
var WORKSPACES_TAB_ID = "workspaces";
|
|
19819
19838
|
var renderMember = (user, size) => /* @__PURE__ */ jsxRuntime.jsx(chunkZ574BY3H_cjs.ConnectedUserEntity, { user, size, variant: "icon" });
|
|
@@ -19873,7 +19892,7 @@ function ConnectedWorkspaceList({
|
|
|
19873
19892
|
}
|
|
19874
19893
|
);
|
|
19875
19894
|
}
|
|
19876
|
-
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19895
|
+
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunk6IABKQKX_cjs.LoadingIndicator, { message: "Loading workspaces..." });
|
|
19877
19896
|
if (list.error) {
|
|
19878
19897
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19879
19898
|
chunkDSLMJ24E_cjs.HomeLoadError,
|
|
@@ -19946,7 +19965,7 @@ function ConnectedWorkspaceList({
|
|
|
19946
19965
|
workspaceState
|
|
19947
19966
|
}
|
|
19948
19967
|
) })
|
|
19949
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
19968
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk6IABKQKX_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkDSLMJ24E_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
19950
19969
|
WorkspaceTableView,
|
|
19951
19970
|
{
|
|
19952
19971
|
list,
|
|
@@ -20148,7 +20167,7 @@ function ConnectedProjectsListPage({
|
|
|
20148
20167
|
};
|
|
20149
20168
|
const { openProject } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
20150
20169
|
const [search, setSearch] = react.useState("");
|
|
20151
|
-
const { projects, isLoading } =
|
|
20170
|
+
const { projects, isLoading } = chunkL6WEKQTV_cjs.useProjectSummaries();
|
|
20152
20171
|
const rows = react.useMemo(() => {
|
|
20153
20172
|
const q = search.trim().toLowerCase();
|
|
20154
20173
|
if (!q) return projects;
|
|
@@ -20219,7 +20238,7 @@ function ConnectedProjectsListPage({
|
|
|
20219
20238
|
}
|
|
20220
20239
|
),
|
|
20221
20240
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
20222
|
-
|
|
20241
|
+
chunk6IABKQKX_cjs.Toolbar,
|
|
20223
20242
|
{
|
|
20224
20243
|
search,
|
|
20225
20244
|
onSearch: setSearch,
|
|
@@ -20281,7 +20300,7 @@ function ProjectDetailsForm({
|
|
|
20281
20300
|
const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
|
|
20282
20301
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
20283
20302
|
const update = react$1.useUpdateProjectFields();
|
|
20284
|
-
const workspace =
|
|
20303
|
+
const workspace = chunkL6WEKQTV_cjs.primaryProjectWorkspace(project);
|
|
20285
20304
|
const { data: members = [] } = react$1.useWorkspaceUsers(workspace?.id);
|
|
20286
20305
|
const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
|
|
20287
20306
|
const currency = project.budget?.currency ?? "GBP";
|
|
@@ -20406,7 +20425,7 @@ var COMPACT_BELOW = 132;
|
|
|
20406
20425
|
var NO_DOCUMENTS = [];
|
|
20407
20426
|
function useFilesWorkspace() {
|
|
20408
20427
|
const { workspaceId, userId, live } = chunkVWSOHZK2_cjs.useConnectedWorkspace();
|
|
20409
|
-
const { members, role } =
|
|
20428
|
+
const { members, role } = chunkWQMIBHSQ_cjs.useConnectedWorkspaceRole();
|
|
20410
20429
|
const { data: workspaces } = react$1.useWorkspaces({ enabled: live });
|
|
20411
20430
|
const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
|
|
20412
20431
|
return {
|
|
@@ -21166,7 +21185,7 @@ function ProjectChronology({
|
|
|
21166
21185
|
})),
|
|
21167
21186
|
[facts]
|
|
21168
21187
|
);
|
|
21169
|
-
return /* @__PURE__ */ jsxRuntime.jsx(ui.Card, { className: "h-[min(70dvh,640px)] overflow-hidden", "data-testid": testId, children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "p-4 text-sm text-muted-foreground", children: loading }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
21188
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ui.Card, { className: "h-[min(70dvh,640px)] overflow-hidden", "data-testid": testId, children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "p-4 text-sm text-muted-foreground", children: loading }) : /* @__PURE__ */ jsxRuntime.jsx(chunkVD3HI5RF_cjs.FactsGanttPane, { items, testId: `${testId}-gantt`, labels: { ganttEmpty: empty } }) });
|
|
21170
21189
|
}
|
|
21171
21190
|
function ProjectThreads({
|
|
21172
21191
|
projectId,
|
|
@@ -21343,11 +21362,11 @@ function ConnectedProjectPage({
|
|
|
21343
21362
|
figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
|
|
21344
21363
|
threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
|
|
21345
21364
|
};
|
|
21346
|
-
const { project, usage, isLoading } =
|
|
21365
|
+
const { project, usage, isLoading } = chunkL6WEKQTV_cjs.useProjectSummary(projectId);
|
|
21347
21366
|
const { workspaceId } = chunkVWSOHZK2_cjs.useConnectedWorkspace();
|
|
21348
21367
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
21349
21368
|
const selectWorkspace = chunkH3C5BY2H_cjs.useSelectWorkspace();
|
|
21350
|
-
const workspace = project ?
|
|
21369
|
+
const workspace = project ? chunkL6WEKQTV_cjs.primaryProjectWorkspace(project) : void 0;
|
|
21351
21370
|
const open = !!workspace && workspace.id === workspaceId;
|
|
21352
21371
|
react.useEffect(() => {
|
|
21353
21372
|
if (!workspace || workspace.id === workspaceId) return;
|
|
@@ -22298,7 +22317,7 @@ function AgentBarShell({
|
|
|
22298
22317
|
}, [isStepsExpanded, steps]);
|
|
22299
22318
|
const visibleStepCount = react.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
|
|
22300
22319
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22301
|
-
|
|
22320
|
+
chunkRDEUBZ3Z_cjs.AgentBar,
|
|
22302
22321
|
{
|
|
22303
22322
|
className,
|
|
22304
22323
|
testId,
|
|
@@ -22310,7 +22329,7 @@ function AgentBarShell({
|
|
|
22310
22329
|
drawerRef: scrollRef,
|
|
22311
22330
|
onDrawerScroll: handleDrawerScroll,
|
|
22312
22331
|
drawer: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22313
|
-
|
|
22332
|
+
chunkHS626TSS_cjs.AgentSteps,
|
|
22314
22333
|
{
|
|
22315
22334
|
steps: stepList,
|
|
22316
22335
|
isStreaming,
|
|
@@ -22345,12 +22364,12 @@ function DmAgentProgress({
|
|
|
22345
22364
|
steps,
|
|
22346
22365
|
className: compact ? "mx-4 my-2 rounded-none bg-transparent" : void 0,
|
|
22347
22366
|
status: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22348
|
-
|
|
22367
|
+
chunkRDEUBZ3Z_cjs.AgentBarStatus,
|
|
22349
22368
|
{
|
|
22350
22369
|
stepLabel: label,
|
|
22351
22370
|
stepIcon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { "aria-label": "Working", className: "size-4 shrink-0 animate-spin text-primary" }),
|
|
22352
22371
|
timer: /* @__PURE__ */ jsxRuntime.jsx("span", { "data-testid": "dm-agent-elapsed", className: "inline-block min-w-[5ch] text-right", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22353
|
-
|
|
22372
|
+
chunkHS626TSS_cjs.MessageLiveSeconds,
|
|
22354
22373
|
{
|
|
22355
22374
|
conversationId: status?.conversation_ext_id ?? void 0,
|
|
22356
22375
|
messageId: status?.response_id ?? status?.message_ext_id,
|
|
@@ -23180,7 +23199,7 @@ function ConnectedChatThread({
|
|
|
23180
23199
|
draftRef: composerDraft,
|
|
23181
23200
|
appearance: floating ? "floating" : "standard",
|
|
23182
23201
|
actions: floating ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
23183
|
-
isAgentChat && peerId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
23202
|
+
isAgentChat && peerId && /* @__PURE__ */ jsxRuntime.jsx(chunkTW5AGCHR_cjs.OwnedAgentCallButton, { agentId: peerId, workspaceExtId: selectedWorkspaceId }),
|
|
23184
23203
|
floatingControls
|
|
23185
23204
|
] }) : void 0,
|
|
23186
23205
|
placeholder: floating ? `Ask ${peer?.given_name || "Assistant"}\u2026` : "Type a message\u2026",
|
|
@@ -23835,7 +23854,7 @@ function ConnectedDmGrantAccessDialog({
|
|
|
23835
23854
|
}
|
|
23836
23855
|
);
|
|
23837
23856
|
}
|
|
23838
|
-
var ThreadHistory = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
23857
|
+
var ThreadHistory = (props) => /* @__PURE__ */ jsxRuntime.jsx(chunkTW5AGCHR_cjs.ConnectedCallChatHistory, { ...props });
|
|
23839
23858
|
function ConnectedPeerActions({ peer, addPeople }) {
|
|
23840
23859
|
const [accessOpen, setAccessOpen] = react.useState(false);
|
|
23841
23860
|
const [grantOpen, setGrantOpen] = react.useState(false);
|
|
@@ -23849,7 +23868,7 @@ function ConnectedPeerActions({ peer, addPeople }) {
|
|
|
23849
23868
|
)
|
|
23850
23869
|
];
|
|
23851
23870
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
23852
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23871
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkTW5AGCHR_cjs.DmCallButton, { peer }),
|
|
23853
23872
|
!ui.isAgent(peer) && /* @__PURE__ */ jsxRuntime.jsx(chunkJTBWI74K_cjs.ScheduleCallButton, { peer }),
|
|
23854
23873
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23855
23874
|
ConnectedContactMenu,
|
|
@@ -23875,14 +23894,14 @@ function ConnectedPeerActions({ peer, addPeople }) {
|
|
|
23875
23894
|
}
|
|
23876
23895
|
var fullDirectActions = (peer, { addPeople }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedPeerActions, { peer, addPeople });
|
|
23877
23896
|
var fullGroupActions = (chat, title) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
23878
|
-
|
|
23897
|
+
chunkTW5AGCHR_cjs.GroupCallButton,
|
|
23879
23898
|
{
|
|
23880
23899
|
chatExtId: chat.external_id,
|
|
23881
23900
|
title,
|
|
23882
23901
|
members: chat.members.map((m) => m.user)
|
|
23883
23902
|
}
|
|
23884
23903
|
);
|
|
23885
|
-
var fullListActions = /* @__PURE__ */ jsxRuntime.jsx(
|
|
23904
|
+
var fullListActions = /* @__PURE__ */ jsxRuntime.jsx(chunkTW5AGCHR_cjs.NewCallChip, {});
|
|
23886
23905
|
function fullMessengerHost(arbi, presence) {
|
|
23887
23906
|
return {
|
|
23888
23907
|
presenceOf: (id) => presence?.[id] === "online" ? "connected" : "disconnected",
|
|
@@ -24493,10 +24512,10 @@ function ConnectedContactsPanel({
|
|
|
24493
24512
|
function ConnectedConfigForm({ availableModels, ...rest }) {
|
|
24494
24513
|
const hasModels = !!availableModels && availableModels.length > 0;
|
|
24495
24514
|
const renderModelSelect = react.useCallback(
|
|
24496
|
-
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
24515
|
+
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkHS626TSS_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
|
|
24497
24516
|
[]
|
|
24498
24517
|
);
|
|
24499
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24518
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
|
|
24500
24519
|
}
|
|
24501
24520
|
function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
|
|
24502
24521
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
@@ -24613,7 +24632,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
24613
24632
|
}, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify19]);
|
|
24614
24633
|
if (editAgent) {
|
|
24615
24634
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24616
|
-
|
|
24635
|
+
chunkRDEUBZ3Z_cjs.AgentEditView,
|
|
24617
24636
|
{
|
|
24618
24637
|
agentName: editAgent.name,
|
|
24619
24638
|
config: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -24629,7 +24648,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
24629
24648
|
}
|
|
24630
24649
|
if (view === "main") {
|
|
24631
24650
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24632
|
-
|
|
24651
|
+
chunkRDEUBZ3Z_cjs.AgentMainView,
|
|
24633
24652
|
{
|
|
24634
24653
|
onConnectExternal: () => setView("connect"),
|
|
24635
24654
|
config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -24645,11 +24664,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
24645
24664
|
}
|
|
24646
24665
|
if (result) {
|
|
24647
24666
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24648
|
-
|
|
24667
|
+
chunkRDEUBZ3Z_cjs.AgentCreatedView,
|
|
24649
24668
|
{
|
|
24650
24669
|
email: result.email,
|
|
24651
24670
|
signingKey: result.signingKey,
|
|
24652
|
-
instructions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
24671
|
+
instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
|
|
24653
24672
|
config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
|
|
24654
24673
|
isConfigOpen: configOpen,
|
|
24655
24674
|
onToggleConfig: () => setConfigOpen((v) => !v),
|
|
@@ -24658,7 +24677,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
24658
24677
|
);
|
|
24659
24678
|
}
|
|
24660
24679
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24661
|
-
|
|
24680
|
+
chunkRDEUBZ3Z_cjs.AgentCreateView,
|
|
24662
24681
|
{
|
|
24663
24682
|
name,
|
|
24664
24683
|
onNameChange: setName,
|
|
@@ -24745,7 +24764,7 @@ function ConnectedInviteContactsDialog({
|
|
|
24745
24764
|
] })
|
|
24746
24765
|
] }) });
|
|
24747
24766
|
}
|
|
24748
|
-
var LAYOUT =
|
|
24767
|
+
var LAYOUT = chunkZKXZKIPE_cjs.WORKSPACE_DASHBOARD_LAYOUT;
|
|
24749
24768
|
function ConnectedWorkspaceDashboard({
|
|
24750
24769
|
start,
|
|
24751
24770
|
addFilesAction,
|
|
@@ -24755,23 +24774,23 @@ function ConnectedWorkspaceDashboard({
|
|
|
24755
24774
|
onTakePhoto,
|
|
24756
24775
|
testId = "workspace-dashboard"
|
|
24757
24776
|
}) {
|
|
24758
|
-
const startBand = start === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24777
|
+
const startBand = start === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkZKXZKIPE_cjs.ConnectedStartBlock, { onCreateNew, onTakePhoto }) : start;
|
|
24759
24778
|
const factsSection = facts === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24760
|
-
|
|
24779
|
+
chunkZKXZKIPE_cjs.ConnectedListBlock,
|
|
24761
24780
|
{
|
|
24762
24781
|
config: LAYOUT.facts.config,
|
|
24763
24782
|
showLoading: false,
|
|
24764
24783
|
testId: `${testId}-facts`
|
|
24765
24784
|
}
|
|
24766
24785
|
) : facts;
|
|
24767
|
-
const asideSection = aside === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24786
|
+
const asideSection = aside === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkZKXZKIPE_cjs.ConnectedAgendaBlock, { config: LAYOUT.agenda.config }) : aside;
|
|
24768
24787
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkUNSZLNA4_cjs.DashboardRoot, { testId, children: [
|
|
24769
24788
|
startBand && /* @__PURE__ */ jsxRuntime.jsx(chunkUNSZLNA4_cjs.DashboardBand, { kind: "start", children: startBand }),
|
|
24770
24789
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkUNSZLNA4_cjs.DashboardBand, { kind: "recent", children: [
|
|
24771
24790
|
/* @__PURE__ */ jsxRuntime.jsx(chunkIXCWZ4HC_cjs.SectionLabel, { testId: `${testId}-recent-caption`, children: "Recent" }),
|
|
24772
24791
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkUNSZLNA4_cjs.DashboardColumns, { children: [
|
|
24773
24792
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24774
|
-
|
|
24793
|
+
chunkZKXZKIPE_cjs.ConnectedListBlock,
|
|
24775
24794
|
{
|
|
24776
24795
|
config: LAYOUT.files.config,
|
|
24777
24796
|
addFilesAction,
|
|
@@ -24782,7 +24801,7 @@ function ConnectedWorkspaceDashboard({
|
|
|
24782
24801
|
}
|
|
24783
24802
|
),
|
|
24784
24803
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24785
|
-
|
|
24804
|
+
chunkZKXZKIPE_cjs.ConnectedListBlock,
|
|
24786
24805
|
{
|
|
24787
24806
|
config: LAYOUT.threads.config,
|
|
24788
24807
|
showLoading: false,
|
|
@@ -24812,7 +24831,7 @@ function ConnectedAskField({
|
|
|
24812
24831
|
setPageFilter("");
|
|
24813
24832
|
}, [setPageFilter]);
|
|
24814
24833
|
const inputRef = react.useRef(null);
|
|
24815
|
-
const slash =
|
|
24834
|
+
const slash = chunkHPIB5YRV_cjs.useSlashField({ text: text2, setText, inputRef, landing: "chat" });
|
|
24816
24835
|
if (!workspaceId) return null;
|
|
24817
24836
|
const submitTo = (handler) => (question) => {
|
|
24818
24837
|
handler(question);
|
|
@@ -24883,7 +24902,7 @@ function createBuiltinActions(environment, session) {
|
|
|
24883
24902
|
const startWorkflowOnDocuments = (workflowId) => {
|
|
24884
24903
|
const { viewingDocument, selectedDocumentIds } = session.getState();
|
|
24885
24904
|
const documents = viewingDocument ? [viewingDocument.id] : [...selectedDocumentIds];
|
|
24886
|
-
|
|
24905
|
+
chunkRDEUBZ3Z_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
|
|
24887
24906
|
};
|
|
24888
24907
|
const setFilesView = (mode) => () => chunkJ4X3LYGC_cjs.useFilesPrefs.getState().setViewMode(mode);
|
|
24889
24908
|
const actions = [
|
|
@@ -25252,7 +25271,7 @@ function ConnectedCommandPalette({
|
|
|
25252
25271
|
isFeatureOn: react$1.useFeatureCheck()
|
|
25253
25272
|
};
|
|
25254
25273
|
const { ask, search } = useWorkspaceAsk();
|
|
25255
|
-
const skillLauncher =
|
|
25274
|
+
const skillLauncher = chunkR27P7TYW_cjs.useSlashSkillWorkflows({ landing: "chat" });
|
|
25256
25275
|
react.useEffect(() => {
|
|
25257
25276
|
const onKey = (event) => {
|
|
25258
25277
|
if (!isPaletteShortcut(event)) return;
|
|
@@ -25445,7 +25464,7 @@ function ConnectedRemoteControlConsent() {
|
|
|
25445
25464
|
}
|
|
25446
25465
|
function ConsentPrompt() {
|
|
25447
25466
|
const pending = react$1.useRemoteControl((s) => s.pending);
|
|
25448
|
-
const remote =
|
|
25467
|
+
const remote = chunkHS626TSS_cjs.useRemoteControlActions();
|
|
25449
25468
|
const onceRef = react.useRef(null);
|
|
25450
25469
|
chunkNZNBJF3M_cjs.useMountedSurface("consent");
|
|
25451
25470
|
const handleOpenChange = (next) => {
|
|
@@ -25538,7 +25557,7 @@ function Indicator() {
|
|
|
25538
25557
|
const enabled = react$1.useRemoteControl((s) => s.enabled);
|
|
25539
25558
|
const sharing = react$1.useRemoteControl((s) => !!s.sharing);
|
|
25540
25559
|
const controllingAgent = react$1.useRemoteControl((s) => s.controllingAgent);
|
|
25541
|
-
const remote =
|
|
25560
|
+
const remote = chunkHS626TSS_cjs.useRemoteControlActions();
|
|
25542
25561
|
if (!enabled && !controllingAgent) return null;
|
|
25543
25562
|
const isActive = controllingAgent !== null;
|
|
25544
25563
|
const label = sharing ? controllingAgent ? `${controllingAgent.name} \xB7 screen sharing and control on` : "Sharing screen \xB7 remote control on" : isActive ? `${controllingAgent.name} is controlling your screen` : "Remote control on";
|
|
@@ -26516,7 +26535,7 @@ function ConnectedSearchPage({ embedded = false, labels }) {
|
|
|
26516
26535
|
const scopeCount = scope.count;
|
|
26517
26536
|
const tooMany = !!scopeDocIds && scopeDocIds.length > react$1.MAX_RETRIEVE_DOC_IDS;
|
|
26518
26537
|
const tooManyMessage = tooMany ? l.tooManyDocuments(scopeCount, react$1.MAX_RETRIEVE_DOC_IDS) : void 0;
|
|
26519
|
-
const uploadUrls =
|
|
26538
|
+
const uploadUrls = chunkZKXZKIPE_cjs.useAddFromUrls({
|
|
26520
26539
|
onZipFiles: (files) => openUpload?.(files, { source: "computer" })
|
|
26521
26540
|
});
|
|
26522
26541
|
const search = react$1.useSemanticSearch(scopeDocIds ?? [], {
|
|
@@ -28538,7 +28557,7 @@ function useMailMessageChange(account, offline) {
|
|
|
28538
28557
|
}
|
|
28539
28558
|
var UNFILED_FOLDER_ROLES = ["trash", "drafts", "junk"];
|
|
28540
28559
|
var MailInviteCard = react.lazy(
|
|
28541
|
-
() => import('../ConnectedMailInviteCard-
|
|
28560
|
+
() => import('../ConnectedMailInviteCard-ZNBHPFKF.cjs').then((m) => ({
|
|
28542
28561
|
default: m.ConnectedMailInviteCard
|
|
28543
28562
|
}))
|
|
28544
28563
|
);
|
|
@@ -29429,7 +29448,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
29429
29448
|
}) {
|
|
29430
29449
|
const authenticated = react$1.useArbiSession().status === "signed-in";
|
|
29431
29450
|
const { openMail } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
29432
|
-
const { loading } =
|
|
29451
|
+
const { loading } = chunkHS626TSS_cjs.useAuthPages();
|
|
29433
29452
|
const claim = react$1.useClaimSecureMail();
|
|
29434
29453
|
const [, setFirstLoginWorkspaces] = react$1.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
|
|
29435
29454
|
const [failure, setFailure] = react.useState(null);
|
|
@@ -29469,7 +29488,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
29469
29488
|
}
|
|
29470
29489
|
})();
|
|
29471
29490
|
}, [authenticated, claimId, key]);
|
|
29472
|
-
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
29491
|
+
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunk6IABKQKX_cjs.LoadingIndicator, { variant: "splash" }) });
|
|
29473
29492
|
return /* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-screen items-center justify-center bg-background p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "w-full max-w-md rounded-lg border border-border bg-card p-6", children: [
|
|
29474
29493
|
/* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
|
|
29475
29494
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -30894,7 +30913,7 @@ function EventEditorDialog({
|
|
|
30894
30913
|
const { notify: notify19, runtimeConfig } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
30895
30914
|
const attachmentDocuments = documents.map((document2) => ({
|
|
30896
30915
|
doc_id: document2.external_id,
|
|
30897
|
-
title:
|
|
30916
|
+
title: chunkLUOL7TEY_cjs.toWorkflowFieldDocument(document2).title,
|
|
30898
30917
|
url: chunkLJJJ6CYH_cjs.buildDeepLinkUrl(
|
|
30899
30918
|
{ workspaceId: workspaceId ?? void 0, documentId: document2.external_id },
|
|
30900
30919
|
runtimeConfig.deploymentDomain
|
|
@@ -31439,42 +31458,42 @@ function useConnectedCalendarCalls() {
|
|
|
31439
31458
|
[knownUsers]
|
|
31440
31459
|
);
|
|
31441
31460
|
return react.useMemo(() => {
|
|
31442
|
-
const users = (attendees) =>
|
|
31461
|
+
const users = (attendees) => chunkZKXZKIPE_cjs.resolveAttendeeUsersRemote(arbi, attendees, known, me);
|
|
31443
31462
|
return {
|
|
31444
31463
|
canSchedule,
|
|
31445
31464
|
async create(draft, webinarRoles) {
|
|
31446
31465
|
const resolved = await users(draft.attendees ?? []);
|
|
31447
|
-
return
|
|
31466
|
+
return chunkZKXZKIPE_cjs.createEventCall(arbi, {
|
|
31448
31467
|
title: draft.title,
|
|
31449
|
-
peers:
|
|
31450
|
-
webinar: webinarRoles ? { roles:
|
|
31468
|
+
peers: chunkZKXZKIPE_cjs.distinctPeers(resolved),
|
|
31469
|
+
webinar: webinarRoles ? { roles: chunkZKXZKIPE_cjs.webinarRolesByUser(webinarRoles, resolved) } : null
|
|
31451
31470
|
});
|
|
31452
31471
|
},
|
|
31453
31472
|
async share(draft) {
|
|
31454
|
-
await
|
|
31473
|
+
await chunkZKXZKIPE_cjs.shareEventCall(
|
|
31455
31474
|
arbi,
|
|
31456
31475
|
draft.conference,
|
|
31457
|
-
await
|
|
31476
|
+
await chunkZKXZKIPE_cjs.resolveCallPeersRemote(arbi, draft.attendees ?? [], known, me)
|
|
31458
31477
|
);
|
|
31459
31478
|
},
|
|
31460
|
-
loadWebinarRoles: (url, attendees) =>
|
|
31479
|
+
loadWebinarRoles: (url, attendees) => chunkZKXZKIPE_cjs.loadEventWebinar(arbi, url, attendees),
|
|
31461
31480
|
async saveWebinarRoles(url, roles, attendees) {
|
|
31462
31481
|
const resolved = await users(attendees);
|
|
31463
|
-
await
|
|
31482
|
+
await chunkZKXZKIPE_cjs.updateEventWebinarRoles(
|
|
31464
31483
|
arbi,
|
|
31465
31484
|
url,
|
|
31466
|
-
|
|
31467
|
-
|
|
31485
|
+
chunkZKXZKIPE_cjs.webinarRolesByUser(roles, resolved),
|
|
31486
|
+
chunkZKXZKIPE_cjs.distinctPeers(resolved)
|
|
31468
31487
|
);
|
|
31469
31488
|
},
|
|
31470
31489
|
async arbiAttendees(attendees) {
|
|
31471
31490
|
return new Set((await users(attendees)).keys());
|
|
31472
31491
|
},
|
|
31473
31492
|
join(url) {
|
|
31474
|
-
void
|
|
31493
|
+
void chunkZKXZKIPE_cjs.joinEventMeeting(arbi, url);
|
|
31475
31494
|
},
|
|
31476
31495
|
openChat(url) {
|
|
31477
|
-
const parsed =
|
|
31496
|
+
const parsed = chunkZKXZKIPE_cjs.parseArbiCallUrlForClient(arbi, url);
|
|
31478
31497
|
if (parsed) void openCallMeetingChat({ callExtId: parsed.callId, callKey: parsed.key });
|
|
31479
31498
|
}
|
|
31480
31499
|
};
|
|
@@ -32014,7 +32033,7 @@ function ConnectedCalendar({
|
|
|
32014
32033
|
}
|
|
32015
32034
|
),
|
|
32016
32035
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32017
|
-
|
|
32036
|
+
chunkZKXZKIPE_cjs.ConnectedUpcomingEvents,
|
|
32018
32037
|
{
|
|
32019
32038
|
timeZone: zone,
|
|
32020
32039
|
showDeclined: !!settings.show_declined,
|
|
@@ -32789,7 +32808,7 @@ ${summary}`,
|
|
|
32789
32808
|
fail2
|
|
32790
32809
|
]);
|
|
32791
32810
|
const zipFilesAdded = react.useRef(false);
|
|
32792
|
-
const addFromUrls =
|
|
32811
|
+
const addFromUrls = chunkZKXZKIPE_cjs.useAddFromUrls({
|
|
32793
32812
|
shared,
|
|
32794
32813
|
configExtId,
|
|
32795
32814
|
onZipFiles: (zipFiles) => {
|
|
@@ -33886,7 +33905,7 @@ function ConnectedUploadDialog({ props, onClose }) {
|
|
|
33886
33905
|
title: source ? TITLES[source] : `Add ${ui.getEntityLabel("DOCUMENT", "PLURAL")}`,
|
|
33887
33906
|
description: `Upload documents to ${workspace.name}`,
|
|
33888
33907
|
workspaceName: workspace.name,
|
|
33889
|
-
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33908
|
+
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkZKXZKIPE_cjs.ConnectedWorkspaceEntity, { workspace, size: 16, variant: "icon" })
|
|
33890
33909
|
}
|
|
33891
33910
|
),
|
|
33892
33911
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-0 flex-1 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -33929,7 +33948,7 @@ function ConnectedBulkTagCrumbs() {
|
|
|
33929
33948
|
{
|
|
33930
33949
|
items: [
|
|
33931
33950
|
{
|
|
33932
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33951
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkZKXZKIPE_cjs.ConnectedWorkspaceEntity, { workspace, size: 16, variant: "icon" }),
|
|
33933
33952
|
label: workspace.name
|
|
33934
33953
|
},
|
|
33935
33954
|
...pageLabel ? [{ icon: /* @__PURE__ */ jsxRuntime.jsx(ui.EntityIcon, { entityType: "DOCUMENT", className: "size-4" }), label: pageLabel }] : []
|
|
@@ -35203,7 +35222,7 @@ function ConnectedFilesBulkActions({
|
|
|
35203
35222
|
const actions = react$1.useDocumentHostActions();
|
|
35204
35223
|
const isOnline = documentTools.useIsOnline();
|
|
35205
35224
|
const { userId } = chunkVWSOHZK2_cjs.useConnectedWorkspace();
|
|
35206
|
-
const { role } =
|
|
35225
|
+
const { role } = chunkWQMIBHSQ_cjs.useConnectedWorkspaceRole();
|
|
35207
35226
|
const offlineIds = react$1.useOfflineDocumentIds();
|
|
35208
35227
|
const keepOffline = react$1.useKeepDocumentsOffline();
|
|
35209
35228
|
const removeOffline = react$1.useRemoveDocumentsOffline();
|
|
@@ -35549,7 +35568,7 @@ function useBatchCompleteToasts() {
|
|
|
35549
35568
|
const workspaceId = message.workspace_ext_id;
|
|
35550
35569
|
const docIds = message.doc_ext_ids ?? [];
|
|
35551
35570
|
const workspace = workspacesRef.current?.find((w) => w.external_id === workspaceId);
|
|
35552
|
-
const icon2 = workspace ? react.createElement(
|
|
35571
|
+
const icon2 = workspace ? react.createElement(chunkZKXZKIPE_cjs.ConnectedWorkspaceEntity, { workspace, variant: "icon", size: 20 }) : void 0;
|
|
35553
35572
|
const say = (text2, kind, options = {}) => notify19(text2, kind, { workspaceId, icon: icon2, ...options, ambient: false });
|
|
35554
35573
|
if (message.batch_type === "doctag_generate") {
|
|
35555
35574
|
const run = pending.current.get(workspaceId) ?? { docIds: /* @__PURE__ */ new Set(), icon: icon2 };
|
|
@@ -35581,7 +35600,7 @@ function useBatchCompleteToasts() {
|
|
|
35581
35600
|
}
|
|
35582
35601
|
}, AI_FIELDS_NOTICE_WINDOW_MS);
|
|
35583
35602
|
} else if (message.batch_type === "entity_extract") {
|
|
35584
|
-
say(`${
|
|
35603
|
+
say(`${chunk6IABKQKX_cjs.entitiesPhrase()} extracted from ${chunk6IABKQKX_cjs.documentCount(docIds.length)}`, "success", {
|
|
35585
35604
|
...openTags && { action: { label: "View", onClick: openTags } }
|
|
35586
35605
|
});
|
|
35587
35606
|
} else if (message.batch_type === "upload") {
|
|
@@ -36454,13 +36473,13 @@ var TABLET_TABLE_BELOW = 860;
|
|
|
36454
36473
|
var TABLET_VIEWPORT_BELOW = 1100;
|
|
36455
36474
|
var NO_CONVERSATION_DOCUMENTS2 = [];
|
|
36456
36475
|
var DocumentReviewCard = react.lazy(
|
|
36457
|
-
() => import('../DocumentReviewCard-
|
|
36476
|
+
() => import('../DocumentReviewCard-QD6VVDAE.cjs').then((module) => ({ default: module.DocumentReviewCard }))
|
|
36458
36477
|
);
|
|
36459
36478
|
var FilesViewerDialog = react.lazy(
|
|
36460
|
-
() => import('../FilesViewerDialog-
|
|
36479
|
+
() => import('../FilesViewerDialog-S5KRHOFU.cjs').then((module) => ({ default: module.FilesViewerDialog }))
|
|
36461
36480
|
);
|
|
36462
36481
|
function defaultReviewCard(props) {
|
|
36463
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
36482
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk6IABKQKX_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
|
|
36464
36483
|
}
|
|
36465
36484
|
function ConnectedFilesPage({
|
|
36466
36485
|
isModal = false,
|
|
@@ -36503,7 +36522,7 @@ function ConnectedFilesPage({
|
|
|
36503
36522
|
const deleteDocuments = react$1.useDeleteDocuments();
|
|
36504
36523
|
const isDocumentsPending = isLoading && documents.length === 0;
|
|
36505
36524
|
const { workspaceId, userId, live } = chunkVWSOHZK2_cjs.useConnectedWorkspace();
|
|
36506
|
-
const { role, members } =
|
|
36525
|
+
const { role, members } = chunkWQMIBHSQ_cjs.useConnectedWorkspaceRole();
|
|
36507
36526
|
const { data: workspaces } = react$1.useWorkspaces({ enabled: live });
|
|
36508
36527
|
const workspace = workspaces?.find((w) => w.external_id === workspaceId);
|
|
36509
36528
|
const workspaceName = workspace?.name;
|
|
@@ -36535,7 +36554,7 @@ function ConnectedFilesPage({
|
|
|
36535
36554
|
[setPrefsViewMode, prefsKey]
|
|
36536
36555
|
);
|
|
36537
36556
|
const ownsViewer = !hostToggleDocument;
|
|
36538
|
-
const viewerTabs = viewer?.tabs ??
|
|
36557
|
+
const viewerTabs = viewer?.tabs ?? chunkHPIB5YRV_cjs.DEFAULT_DOCUMENT_VIEWER_TABS;
|
|
36539
36558
|
const [dialog, setDialog] = react.useState(null);
|
|
36540
36559
|
const isDocumentViewerEnabled = ownsViewer ? dialog !== null : hostViewerDocumentId !== null;
|
|
36541
36560
|
const shownPlaceRef = react.useRef(null);
|
|
@@ -36703,7 +36722,7 @@ function ConnectedFilesPage({
|
|
|
36703
36722
|
);
|
|
36704
36723
|
const explorerRef = react.useRef(null);
|
|
36705
36724
|
const [explorerFileIds, setExplorerFileIds] = react.useState([]);
|
|
36706
|
-
const uploadUrls =
|
|
36725
|
+
const uploadUrls = chunkZKXZKIPE_cjs.useAddFromUrls({
|
|
36707
36726
|
onZipFiles: (files) => onUpload({ source: "computer", files })
|
|
36708
36727
|
});
|
|
36709
36728
|
const { data: workspaceTags = [] } = react$1.useTags();
|
|
@@ -36990,7 +37009,7 @@ function ConnectedFilesPage({
|
|
|
36990
37009
|
onOpenChange: setUrlDialogOpen,
|
|
36991
37010
|
onUrlsSubmit: uploadUrls,
|
|
36992
37011
|
titleWorkspaceName: workspaceName,
|
|
36993
|
-
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
37012
|
+
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(chunkZKXZKIPE_cjs.ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
|
|
36994
37013
|
}
|
|
36995
37014
|
),
|
|
36996
37015
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkSFAAOEQE_cjs.FilesPageHeader, { className: isModal ? "static" : void 0, children: [
|
|
@@ -37019,7 +37038,7 @@ function ConnectedFilesPage({
|
|
|
37019
37038
|
/* @__PURE__ */ jsxRuntime.jsx(ProgressiveLoadingChip, {})
|
|
37020
37039
|
] }),
|
|
37021
37040
|
rightContent: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37022
|
-
|
|
37041
|
+
chunkZKXZKIPE_cjs.DocumentsUploadButton,
|
|
37023
37042
|
{
|
|
37024
37043
|
isCompact: isNarrowFilterRow,
|
|
37025
37044
|
canUpload,
|
|
@@ -37051,7 +37070,7 @@ function ConnectedFilesPage({
|
|
|
37051
37070
|
viewMode === "grid" ? (
|
|
37052
37071
|
// ‹ n / N › over the table's displayed rows; a step opens the document.
|
|
37053
37072
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37054
|
-
|
|
37073
|
+
chunk6IABKQKX_cjs.GridRowNavigator,
|
|
37055
37074
|
{
|
|
37056
37075
|
gridApi,
|
|
37057
37076
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -37295,7 +37314,7 @@ function ConnectedFilesPage({
|
|
|
37295
37314
|
dialog.seq
|
|
37296
37315
|
) }),
|
|
37297
37316
|
workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
37298
|
-
|
|
37317
|
+
chunkZKXZKIPE_cjs.ConnectedEmailWorkspaceDialog,
|
|
37299
37318
|
{
|
|
37300
37319
|
open: emailWorkspaceOpen,
|
|
37301
37320
|
onOpenChange: setEmailWorkspaceOpen,
|
|
@@ -37303,7 +37322,7 @@ function ConnectedFilesPage({
|
|
|
37303
37322
|
isMember
|
|
37304
37323
|
}
|
|
37305
37324
|
),
|
|
37306
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37325
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkZKXZKIPE_cjs.ConnectedNewFileMenu, { open: newFileOpen, onOpenChange: setNewFileOpen }),
|
|
37307
37326
|
dialogs
|
|
37308
37327
|
] });
|
|
37309
37328
|
}
|
|
@@ -37346,7 +37365,7 @@ function ProcessingSection({
|
|
|
37346
37365
|
tasks,
|
|
37347
37366
|
onDelete
|
|
37348
37367
|
}) {
|
|
37349
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkSFAAOEQE_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37368
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkSFAAOEQE_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
|
|
37350
37369
|
}
|
|
37351
37370
|
function ConnectedDocumentProcessingPanel({
|
|
37352
37371
|
workspaceId,
|
|
@@ -37559,7 +37578,7 @@ function ConnectedProcessingPanel({ headerActions }) {
|
|
|
37559
37578
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37560
37579
|
chunkSJSGSHIT_cjs.TabHeader,
|
|
37561
37580
|
{
|
|
37562
|
-
leading: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37581
|
+
leading: /* @__PURE__ */ jsxRuntime.jsx(chunkZKXZKIPE_cjs.ConnectedWorkspaceEntity, { workspace, variant: "icon", size: 20 }),
|
|
37563
37582
|
tabs: [
|
|
37564
37583
|
{
|
|
37565
37584
|
id: "processing",
|
|
@@ -37657,8 +37676,149 @@ function ConnectedProcessingStatus({ onClick }) {
|
|
|
37657
37676
|
function useSourceEntries(sources) {
|
|
37658
37677
|
return sources.map((source) => source.useEntry());
|
|
37659
37678
|
}
|
|
37679
|
+
|
|
37680
|
+
// src/connection/databases/sourceCells.ts
|
|
37681
|
+
var MAX_SOURCE_DOCUMENTS = 50;
|
|
37682
|
+
var MAX_SOURCE_PASSAGES = 100;
|
|
37683
|
+
function sourceCapMessage(citations) {
|
|
37684
|
+
if (!citations) return null;
|
|
37685
|
+
if (citations.length > MAX_SOURCE_DOCUMENTS)
|
|
37686
|
+
return `A cell can cite at most ${MAX_SOURCE_DOCUMENTS} documents.`;
|
|
37687
|
+
const passages = citations.reduce((n, c) => n + (c.chunks?.length ?? 0), 0);
|
|
37688
|
+
if (passages > MAX_SOURCE_PASSAGES)
|
|
37689
|
+
return `A cell can cite at most ${MAX_SOURCE_PASSAGES} passages.`;
|
|
37690
|
+
return null;
|
|
37691
|
+
}
|
|
37692
|
+
function toWireSources(value) {
|
|
37693
|
+
if (!Array.isArray(value)) return value;
|
|
37694
|
+
const seen = /* @__PURE__ */ new Set();
|
|
37695
|
+
const cited = value.flatMap((c) => {
|
|
37696
|
+
const id = typeof c === "string" ? c : c?.doc_ext_id;
|
|
37697
|
+
if (typeof id !== "string" || !id || seen.has(id)) return [];
|
|
37698
|
+
seen.add(id);
|
|
37699
|
+
if (typeof c === "string") return [{ doc_ext_id: id }];
|
|
37700
|
+
const cited2 = c;
|
|
37701
|
+
const chunks = (cited2.chunks ?? []).map((k) => ({
|
|
37702
|
+
chunk_id: k.chunk_id,
|
|
37703
|
+
...typeof k.page === "number" ? { page: k.page } : {}
|
|
37704
|
+
}));
|
|
37705
|
+
return [
|
|
37706
|
+
{
|
|
37707
|
+
doc_ext_id: id,
|
|
37708
|
+
...typeof cited2.version === "number" ? { version: cited2.version } : {},
|
|
37709
|
+
...chunks.length > 0 ? { chunks } : {}
|
|
37710
|
+
}
|
|
37711
|
+
];
|
|
37712
|
+
});
|
|
37713
|
+
return cited.length > 0 ? cited : null;
|
|
37714
|
+
}
|
|
37715
|
+
var SOURCES_SAVE_DELAY2 = 800;
|
|
37716
|
+
var keyOf = (citations) => JSON.stringify(citations ?? null);
|
|
37717
|
+
var noop2 = () => void 0;
|
|
37718
|
+
function ConnectedSourcesEditor({ value, onChange, testId }) {
|
|
37719
|
+
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
37720
|
+
const collector = useViewerCollector();
|
|
37721
|
+
const { data: documents } = chunkGD5OYIOV_cjs.useConnectedDocuments();
|
|
37722
|
+
const saved = react.useMemo(() => chunkCWECDS4I_cjs.toFactCitations(value) ?? null, [value]);
|
|
37723
|
+
const savedKey = keyOf(saved);
|
|
37724
|
+
const [draft, setDraft] = react.useState(saved);
|
|
37725
|
+
const [base, setBase] = react.useState(savedKey);
|
|
37726
|
+
const draftKey = keyOf(draft);
|
|
37727
|
+
if (base !== savedKey) {
|
|
37728
|
+
setBase(savedKey);
|
|
37729
|
+
if (draftKey === base) setDraft(saved);
|
|
37730
|
+
}
|
|
37731
|
+
const draftRef = react.useRef(draft);
|
|
37732
|
+
draftRef.current = draft;
|
|
37733
|
+
const dirty = draftKey !== savedKey;
|
|
37734
|
+
const guarded = react.useCallback(
|
|
37735
|
+
(action) => {
|
|
37736
|
+
const next = chunkCWECDS4I_cjs.toFactCitations(typeof action === "function" ? action(draftRef.current) : action);
|
|
37737
|
+
const why = sourceCapMessage(next);
|
|
37738
|
+
if (why) {
|
|
37739
|
+
notify19(why, "error");
|
|
37740
|
+
return;
|
|
37741
|
+
}
|
|
37742
|
+
draftRef.current = next;
|
|
37743
|
+
setDraft(next);
|
|
37744
|
+
},
|
|
37745
|
+
[notify19]
|
|
37746
|
+
);
|
|
37747
|
+
const { armCollecting, citeDocument, setSourceCitationSession } = usePassageCollection(
|
|
37748
|
+
collector,
|
|
37749
|
+
guarded
|
|
37750
|
+
);
|
|
37751
|
+
const latest = react.useRef({ onChange, dirty, draft });
|
|
37752
|
+
latest.current = { onChange, dirty, draft };
|
|
37753
|
+
react.useEffect(() => {
|
|
37754
|
+
if (!dirty) return;
|
|
37755
|
+
const timer = setTimeout(
|
|
37756
|
+
() => latest.current.onChange(draftRef.current ?? []),
|
|
37757
|
+
SOURCES_SAVE_DELAY2
|
|
37758
|
+
);
|
|
37759
|
+
return () => clearTimeout(timer);
|
|
37760
|
+
}, [dirty, draftKey]);
|
|
37761
|
+
react.useEffect(
|
|
37762
|
+
() => () => {
|
|
37763
|
+
if (latest.current.dirty) latest.current.onChange(latest.current.draft ?? []);
|
|
37764
|
+
},
|
|
37765
|
+
[]
|
|
37766
|
+
);
|
|
37767
|
+
const docIds = chunkCWECDS4I_cjs.docIdsOf(draft);
|
|
37768
|
+
const citedDocs = react.useMemo(() => {
|
|
37769
|
+
const wanted = new Set(docIds);
|
|
37770
|
+
return Object.fromEntries(
|
|
37771
|
+
documents.filter((d) => wanted.has(d.external_id)).map((d) => [d.external_id, d])
|
|
37772
|
+
);
|
|
37773
|
+
}, [documents, docIds.join("\0")]);
|
|
37774
|
+
const { quoteFor, orderOf } = react$1.usePassageQuotes(
|
|
37775
|
+
react.useMemo(
|
|
37776
|
+
() => (draft ?? []).filter((d) => (d.chunks?.length ?? 0) > 0).map((d) => d.doc_ext_id),
|
|
37777
|
+
[draft]
|
|
37778
|
+
)
|
|
37779
|
+
);
|
|
37780
|
+
const pickerGroups = react.useMemo(() => documentPickerGroups(documents), [documents]);
|
|
37781
|
+
const toggleDocument = (docExtId) => guarded((prev) => {
|
|
37782
|
+
const list = chunkCWECDS4I_cjs.toFactCitations(prev);
|
|
37783
|
+
return chunkCWECDS4I_cjs.docIdsOf(list).includes(docExtId) ? chunkCWECDS4I_cjs.withoutDoc(list, docExtId) : chunkCWECDS4I_cjs.withDoc(list, docExtId);
|
|
37784
|
+
});
|
|
37785
|
+
const removeDocument = (docExtId) => {
|
|
37786
|
+
if (collector.collectingDocId === docExtId) armCollecting(null);
|
|
37787
|
+
guarded((prev) => chunkCWECDS4I_cjs.withoutDoc(chunkCWECDS4I_cjs.toFactCitations(prev), docExtId));
|
|
37788
|
+
};
|
|
37789
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0", "data-testid": testId, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37790
|
+
FactSourcesPopover,
|
|
37791
|
+
{
|
|
37792
|
+
inline: true,
|
|
37793
|
+
open: true,
|
|
37794
|
+
onOpenChange: noop2,
|
|
37795
|
+
citations: draft ?? [],
|
|
37796
|
+
citedDocs,
|
|
37797
|
+
quoteFor,
|
|
37798
|
+
orderOf,
|
|
37799
|
+
viewingDocId: collector.displayedDocId,
|
|
37800
|
+
onCiteDocument: (docExtId) => citeDocument(docExtId, DRAFT_TARGET),
|
|
37801
|
+
onRemoveDoc: removeDocument,
|
|
37802
|
+
collector: { ...collector, collect: setSourceCitationSession },
|
|
37803
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37804
|
+
chunkVZOOGA47_cjs.DocumentPicker,
|
|
37805
|
+
{
|
|
37806
|
+
groups: pickerGroups,
|
|
37807
|
+
value: "",
|
|
37808
|
+
onValueChange: toggleDocument,
|
|
37809
|
+
selectedIds: docIds,
|
|
37810
|
+
onOpenDocument: (docExtId) => citeDocument(docExtId, DRAFT_TARGET, { toggle: false }),
|
|
37811
|
+
viewingId: collector.displayedDocId,
|
|
37812
|
+
labels: { placeholder: "Search documents\u2026" }
|
|
37813
|
+
}
|
|
37814
|
+
)
|
|
37815
|
+
}
|
|
37816
|
+
) });
|
|
37817
|
+
}
|
|
37818
|
+
|
|
37819
|
+
// src/connection/databases/useDatabaseCellSources.ts
|
|
37660
37820
|
var UNTITLED = "Untitled";
|
|
37661
|
-
function useDatabaseCellSources(databases) {
|
|
37821
|
+
function useDatabaseCellSources(databases, needs = {}) {
|
|
37662
37822
|
const workspaceId = react$1.useArbiSessionState((state) => state.workspaceId);
|
|
37663
37823
|
const { data: workspaces } = react$1.useWorkspaces();
|
|
37664
37824
|
const workspace = workspaces?.find((candidate) => candidate.external_id === workspaceId);
|
|
@@ -37687,17 +37847,51 @@ function useDatabaseCellSources(databases) {
|
|
|
37687
37847
|
return async (databaseId, q) => {
|
|
37688
37848
|
const columns = columnsOf.get(databaseId) ?? [];
|
|
37689
37849
|
const rows = await searchDatabaseRows(databaseId, q);
|
|
37690
|
-
return rows.map((row2) => ({ id: row2.id, label:
|
|
37850
|
+
return rows.map((row2) => ({ id: row2.id, label: chunkQU3OCUVF_cjs.rowTitle(row2, columns) || UNTITLED }));
|
|
37691
37851
|
};
|
|
37692
37852
|
}, [databases, searchDatabaseRows]);
|
|
37853
|
+
const wantLabels = needs.labels === true;
|
|
37854
|
+
const { data: tags } = react$1.useTags(void 0, { enabled: wantLabels });
|
|
37855
|
+
const createTag = react$1.useCreateTag();
|
|
37856
|
+
const createTagAsync = createTag.mutateAsync;
|
|
37857
|
+
const labelOptions = react.useMemo(
|
|
37858
|
+
() => (tags ?? []).map((t) => ({
|
|
37859
|
+
id: t.external_id,
|
|
37860
|
+
name: t.name,
|
|
37861
|
+
color: ui.getEntityColor(t.external_id, "medium"),
|
|
37862
|
+
kind: t.kind
|
|
37863
|
+
})).sort((a, b) => a.name.localeCompare(b.name)),
|
|
37864
|
+
[tags]
|
|
37865
|
+
);
|
|
37866
|
+
const labels = react.useMemo(
|
|
37867
|
+
() => wantLabels ? {
|
|
37868
|
+
options: labelOptions,
|
|
37869
|
+
onCreate: async (name) => {
|
|
37870
|
+
const created = await createTagAsync({
|
|
37871
|
+
name,
|
|
37872
|
+
tagType: { type: "checkbox", options: [] },
|
|
37873
|
+
shared: true
|
|
37874
|
+
});
|
|
37875
|
+
return created?.external_id;
|
|
37876
|
+
}
|
|
37877
|
+
} : void 0,
|
|
37878
|
+
[wantLabels, labelOptions, createTagAsync]
|
|
37879
|
+
);
|
|
37880
|
+
const wantSources = needs.sources === true;
|
|
37881
|
+
const renderSourcesEditor = react.useCallback(
|
|
37882
|
+
(props) => react.createElement(ConnectedSourcesEditor, { key: props.rowId, ...props }),
|
|
37883
|
+
[]
|
|
37884
|
+
);
|
|
37693
37885
|
return react.useMemo(
|
|
37694
37886
|
() => ({
|
|
37695
37887
|
members,
|
|
37696
37888
|
documents: documentOptions,
|
|
37697
37889
|
searchRows,
|
|
37890
|
+
labels,
|
|
37891
|
+
renderSourcesEditor: wantSources ? renderSourcesEditor : void 0,
|
|
37698
37892
|
onOpenDocument: (documentId) => openDocument(documentId)
|
|
37699
37893
|
}),
|
|
37700
|
-
[members, documentOptions, searchRows, openDocument]
|
|
37894
|
+
[members, documentOptions, searchRows, labels, wantSources, renderSourcesEditor, openDocument]
|
|
37701
37895
|
);
|
|
37702
37896
|
}
|
|
37703
37897
|
|
|
@@ -37884,10 +38078,13 @@ function useLayoutRows({
|
|
|
37884
38078
|
]);
|
|
37885
38079
|
}
|
|
37886
38080
|
var SEARCH_DEBOUNCE_MS = 250;
|
|
37887
|
-
var API_LAYOUTS_OFF = [
|
|
37888
|
-
var API_LAYOUTS_ON = [
|
|
37889
|
-
var
|
|
37890
|
-
|
|
38081
|
+
var API_LAYOUTS_OFF = [chunkQU3OCUVF_cjs.TABLE_LAYOUT];
|
|
38082
|
+
var API_LAYOUTS_ON = [chunkQU3OCUVF_cjs.TABLE_LAYOUT, chunkQU3OCUVF_cjs.CALENDAR_LAYOUT, chunkQU3OCUVF_cjs.GANTT_LAYOUT];
|
|
38083
|
+
var toView = (c) => {
|
|
38084
|
+
const type = chunkZKXZKIPE_cjs.kitTypeOf(c.type);
|
|
38085
|
+
return type ? { ...c, type } : { ...c, type: "text", locked: true };
|
|
38086
|
+
};
|
|
38087
|
+
var NOT_ENABLED_MESSAGE = "This workspace\u2019s server does not support this column type yet.";
|
|
37891
38088
|
var toSummary = (d) => ({
|
|
37892
38089
|
id: d.id,
|
|
37893
38090
|
name: d.name,
|
|
@@ -37909,6 +38106,8 @@ function useApiDatabaseSource(databaseId, request, options) {
|
|
|
37909
38106
|
const gridId = `database-${databaseId}`;
|
|
37910
38107
|
const views = useApiViewStore(databaseId, { gridId, initialViewId: request?.viewId });
|
|
37911
38108
|
const analyticsOn = react$1.useFeature("dashboards");
|
|
38109
|
+
const capabilities = react$1.useDatabaseCapabilities();
|
|
38110
|
+
const refreshCapabilities = react$1.useRefreshDatabaseCapabilities();
|
|
37912
38111
|
const layouts = options?.layouts === true;
|
|
37913
38112
|
const {
|
|
37914
38113
|
data: database,
|
|
@@ -37922,7 +38121,7 @@ function useApiDatabaseSource(databaseId, request, options) {
|
|
|
37922
38121
|
react.useEffect(() => {
|
|
37923
38122
|
const t = setTimeout(() => {
|
|
37924
38123
|
setQuery(search);
|
|
37925
|
-
setApplied(
|
|
38124
|
+
setApplied(chunkQU3OCUVF_cjs.completeFilters(filters));
|
|
37926
38125
|
}, SEARCH_DEBOUNCE_MS);
|
|
37927
38126
|
return () => clearTimeout(t);
|
|
37928
38127
|
}, [search, filters]);
|
|
@@ -37948,7 +38147,6 @@ function useApiDatabaseSource(databaseId, request, options) {
|
|
|
37948
38147
|
[allDatabases]
|
|
37949
38148
|
);
|
|
37950
38149
|
const relationTargets = react.useMemo(() => linkable.map(toSummary), [linkable]);
|
|
37951
|
-
const cellSources = useDatabaseCellSources(linkable);
|
|
37952
38150
|
const [rows, setRows] = react.useState([]);
|
|
37953
38151
|
const [copiedPage, setCopiedPage] = react.useState(void 0);
|
|
37954
38152
|
if (copiedPage !== page) {
|
|
@@ -37967,6 +38165,12 @@ function useApiDatabaseSource(databaseId, request, options) {
|
|
|
37967
38165
|
const locked = new Set(database?.locked_columns ?? []);
|
|
37968
38166
|
return (database?.columns ?? []).map(toView).map((c) => locked.has(c.id) ? { ...c, locked: true } : c);
|
|
37969
38167
|
}, [database]);
|
|
38168
|
+
const cellSources = useDatabaseCellSources(linkable, {
|
|
38169
|
+
labels: columns.some((c) => c.type === "label"),
|
|
38170
|
+
sources: columns.some((c) => c.type === "source")
|
|
38171
|
+
});
|
|
38172
|
+
const supported = capabilities.columnTypes;
|
|
38173
|
+
const columnTypes = react.useMemo(() => chunkZKXZKIPE_cjs.offeredColumnTypes(supported), [supported]);
|
|
37970
38174
|
const isQueue = columns.some((c) => c.edit_by?.kind === "listed");
|
|
37971
38175
|
const isWorkspaceOwner = react$1.useIsWorkspaceOwner();
|
|
37972
38176
|
const canDeleteRow = react.useCallback(
|
|
@@ -37986,21 +38190,23 @@ function useApiDatabaseSource(databaseId, request, options) {
|
|
|
37986
38190
|
);
|
|
37987
38191
|
const updateCell = react.useCallback(
|
|
37988
38192
|
(row2, columnId, value) => new Promise((resolve, reject) => {
|
|
38193
|
+
const written = columns.find((c) => c.id === columnId)?.type === "source" ? toWireSources(value) : value;
|
|
37989
38194
|
updateRow(
|
|
37990
|
-
{ databaseId, rowId: row2.id, values: { [columnId]:
|
|
38195
|
+
{ databaseId, rowId: row2.id, values: { [columnId]: written } },
|
|
37991
38196
|
{
|
|
37992
38197
|
onSuccess: (saved) => {
|
|
37993
38198
|
setRows((current) => current.map((r) => r.id === saved.id ? toRowView(saved) : r));
|
|
37994
38199
|
resolve();
|
|
37995
38200
|
},
|
|
37996
38201
|
onError: (error) => {
|
|
38202
|
+
if (react$1.isNotEnabledRefusal(error)) void refreshCapabilities();
|
|
37997
38203
|
fail(notify19, error, "The cell could not be saved");
|
|
37998
38204
|
reject(error);
|
|
37999
38205
|
}
|
|
38000
38206
|
}
|
|
38001
38207
|
);
|
|
38002
38208
|
}),
|
|
38003
|
-
[databaseId, updateRow, notify19]
|
|
38209
|
+
[databaseId, updateRow, notify19, columns, refreshCapabilities]
|
|
38004
38210
|
);
|
|
38005
38211
|
const addRow = react.useCallback(
|
|
38006
38212
|
() => new Promise((resolve, reject) => {
|
|
@@ -38073,10 +38279,17 @@ function useApiDatabaseSource(databaseId, request, options) {
|
|
|
38073
38279
|
(next) => new Promise((resolve, reject) => {
|
|
38074
38280
|
updateDatabase(
|
|
38075
38281
|
{ databaseId, patch: { columns: next } },
|
|
38076
|
-
{
|
|
38282
|
+
{
|
|
38283
|
+
onSuccess: () => resolve(),
|
|
38284
|
+
onError: (error) => {
|
|
38285
|
+
if (!react$1.isNotEnabledRefusal(error)) return reject(error);
|
|
38286
|
+
void refreshCapabilities();
|
|
38287
|
+
reject(new browser.ArbiApiError(NOT_ENABLED_MESSAGE, { detail: NOT_ENABLED_MESSAGE }, 422));
|
|
38288
|
+
}
|
|
38289
|
+
}
|
|
38077
38290
|
);
|
|
38078
38291
|
}),
|
|
38079
|
-
[databaseId, updateDatabase]
|
|
38292
|
+
[databaseId, updateDatabase, refreshCapabilities]
|
|
38080
38293
|
);
|
|
38081
38294
|
const saveColumn = react.useCallback(
|
|
38082
38295
|
(draft, editing) => {
|
|
@@ -38093,7 +38306,7 @@ function useApiDatabaseSource(databaseId, request, options) {
|
|
|
38093
38306
|
...columns.map(keepColumn),
|
|
38094
38307
|
{
|
|
38095
38308
|
name: draft.name,
|
|
38096
|
-
type: draft.type,
|
|
38309
|
+
type: chunkZKXZKIPE_cjs.wireTypeFor(draft.type),
|
|
38097
38310
|
options: draft.options,
|
|
38098
38311
|
...config
|
|
38099
38312
|
}
|
|
@@ -38209,7 +38422,7 @@ function useApiDatabaseSource(databaseId, request, options) {
|
|
|
38209
38422
|
addRow: editable,
|
|
38210
38423
|
deleteRows: editable,
|
|
38211
38424
|
shareRow: editable,
|
|
38212
|
-
columnTypes
|
|
38425
|
+
columnTypes,
|
|
38213
38426
|
query: "server",
|
|
38214
38427
|
layouts: layouts ? ["table", "calendar", "gantt"] : ["table"],
|
|
38215
38428
|
rowSet: "page"
|
|
@@ -38265,6 +38478,7 @@ function useApiDatabaseSource(databaseId, request, options) {
|
|
|
38265
38478
|
canChart,
|
|
38266
38479
|
layouts,
|
|
38267
38480
|
layoutRowsHook,
|
|
38481
|
+
columnTypes,
|
|
38268
38482
|
columns,
|
|
38269
38483
|
rows,
|
|
38270
38484
|
total,
|
|
@@ -38293,11 +38507,11 @@ function useApiDatabaseSource(databaseId, request, options) {
|
|
|
38293
38507
|
gridId
|
|
38294
38508
|
]);
|
|
38295
38509
|
}
|
|
38296
|
-
var FIXED_COLUMNS = [
|
|
38510
|
+
var FIXED_COLUMNS = [chunkQU3OCUVF_cjs.OPEN_ROW_COL_ID, chunkQU3OCUVF_cjs.ROW_ACTIONS_COL_ID, chunkQU3OCUVF_cjs.ADD_COLUMN_COL_ID];
|
|
38297
38511
|
var FIXED_PINS = [
|
|
38298
|
-
{ colId:
|
|
38299
|
-
{ colId:
|
|
38300
|
-
{ colId:
|
|
38512
|
+
{ colId: chunkQU3OCUVF_cjs.OPEN_ROW_COL_ID, pinned: "left" },
|
|
38513
|
+
{ colId: chunkQU3OCUVF_cjs.ROW_ACTIONS_COL_ID, pinned: "right" },
|
|
38514
|
+
{ colId: chunkQU3OCUVF_cjs.ADD_COLUMN_COL_ID, pinned: "right" }
|
|
38301
38515
|
];
|
|
38302
38516
|
var MENU_LABELS = {
|
|
38303
38517
|
trigger: "Columns",
|
|
@@ -38323,10 +38537,10 @@ function restoreGrowingColumns(api, columns, view) {
|
|
|
38323
38537
|
function applyDatabaseColumns(columns, api) {
|
|
38324
38538
|
const kept = (id) => api.getColumn(id) ? [id] : [];
|
|
38325
38539
|
chunkSFAAOEQE_cjs.applyColumnLayout(api, [
|
|
38326
|
-
...kept(
|
|
38540
|
+
...kept(chunkQU3OCUVF_cjs.OPEN_ROW_COL_ID),
|
|
38327
38541
|
...columns,
|
|
38328
|
-
...kept(
|
|
38329
|
-
...kept(
|
|
38542
|
+
...kept(chunkQU3OCUVF_cjs.ROW_ACTIONS_COL_ID),
|
|
38543
|
+
...kept(chunkQU3OCUVF_cjs.ADD_COLUMN_COL_ID)
|
|
38330
38544
|
]);
|
|
38331
38545
|
pinFixedColumns(api);
|
|
38332
38546
|
}
|
|
@@ -38525,7 +38739,7 @@ function DatabaseWorkbench({
|
|
|
38525
38739
|
gridId: source.gridId
|
|
38526
38740
|
});
|
|
38527
38741
|
const settings = react.useMemo(
|
|
38528
|
-
() =>
|
|
38742
|
+
() => chunkQU3OCUVF_cjs.resolveLayoutSettings(storedLayout, source.layouts, columns),
|
|
38529
38743
|
[storedLayout, source.layouts, columns]
|
|
38530
38744
|
);
|
|
38531
38745
|
const layoutsOffered = source.layouts.filter((l) => !l.defaults || l.defaults(columns) !== null).length > 1;
|
|
@@ -38556,13 +38770,13 @@ function DatabaseWorkbench({
|
|
|
38556
38770
|
if (rest.length !== filters2.length) setQuery({ filters: rest });
|
|
38557
38771
|
}
|
|
38558
38772
|
setStoredLayout(
|
|
38559
|
-
|
|
38773
|
+
chunkQU3OCUVF_cjs.storedLayoutAfter(latestLayout.current.storedLayout, latestLayout.current.settings, next)
|
|
38560
38774
|
);
|
|
38561
38775
|
},
|
|
38562
38776
|
[setStoredLayout]
|
|
38563
38777
|
);
|
|
38564
38778
|
const showUndated = () => {
|
|
38565
|
-
const filters2 =
|
|
38779
|
+
const filters2 = chunkQU3OCUVF_cjs.withUndatedFilter(query.filters, settings.dateColumn);
|
|
38566
38780
|
if (filters2 !== query.filters) undatedAdded.current = settings.dateColumn ?? null;
|
|
38567
38781
|
source.setQuery({ filters: filters2 });
|
|
38568
38782
|
changeLayout({ ...settings, layout: "table" });
|
|
@@ -38585,10 +38799,10 @@ function DatabaseWorkbench({
|
|
|
38585
38799
|
// A state saved while the fixed columns were unpinned would keep them so.
|
|
38586
38800
|
withFixedPins(
|
|
38587
38801
|
stored,
|
|
38588
|
-
[
|
|
38802
|
+
[chunkQU3OCUVF_cjs.OPEN_ROW_COL_ID],
|
|
38589
38803
|
[
|
|
38590
|
-
...hasRowActions ? [
|
|
38591
|
-
...canEditColumns ? [
|
|
38804
|
+
...hasRowActions ? [chunkQU3OCUVF_cjs.ROW_ACTIONS_COL_ID] : [],
|
|
38805
|
+
...canEditColumns ? [chunkQU3OCUVF_cjs.ADD_COLUMN_COL_ID] : []
|
|
38592
38806
|
]
|
|
38593
38807
|
)
|
|
38594
38808
|
) : defaultColumns && !initialViewId ? {
|
|
@@ -38733,7 +38947,7 @@ function DatabaseWorkbench({
|
|
|
38733
38947
|
}, [tableOnScreen, revealDone]);
|
|
38734
38948
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": testIds.page, children: [
|
|
38735
38949
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38736
|
-
|
|
38950
|
+
chunkQU3OCUVF_cjs.DatabaseToolbar,
|
|
38737
38951
|
{
|
|
38738
38952
|
name: meta.name,
|
|
38739
38953
|
icon: meta.icon,
|
|
@@ -38750,7 +38964,7 @@ function DatabaseWorkbench({
|
|
|
38750
38964
|
bulk: isTable && selected.length > 0 && !slots?.selectionBar ? slots?.bulk?.(selected, clearSelection) : void 0,
|
|
38751
38965
|
hideControls: layout?.hidesToolbarRow,
|
|
38752
38966
|
layoutSwitcher: layoutsOffered && /* @__PURE__ */ jsxRuntime.jsx(
|
|
38753
|
-
|
|
38967
|
+
chunkQU3OCUVF_cjs.DatabaseLayoutSwitcher,
|
|
38754
38968
|
{
|
|
38755
38969
|
parts: "layouts",
|
|
38756
38970
|
layouts: source.layouts,
|
|
@@ -38763,7 +38977,7 @@ function DatabaseWorkbench({
|
|
|
38763
38977
|
),
|
|
38764
38978
|
layoutTools: layoutsOffered && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
38765
38979
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38766
|
-
|
|
38980
|
+
chunkQU3OCUVF_cjs.DatabaseLayoutSwitcher,
|
|
38767
38981
|
{
|
|
38768
38982
|
parts: "tools",
|
|
38769
38983
|
layouts: source.layouts,
|
|
@@ -38808,7 +39022,7 @@ function DatabaseWorkbench({
|
|
|
38808
39022
|
labels: toolbarLabels,
|
|
38809
39023
|
filters: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
38810
39024
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38811
|
-
|
|
39025
|
+
chunkQU3OCUVF_cjs.DatabaseFilterMenu,
|
|
38812
39026
|
{
|
|
38813
39027
|
columns,
|
|
38814
39028
|
filters,
|
|
@@ -38869,13 +39083,13 @@ function DatabaseWorkbench({
|
|
|
38869
39083
|
]
|
|
38870
39084
|
}
|
|
38871
39085
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
38872
|
-
|
|
39086
|
+
chunkQU3OCUVF_cjs.DatabaseTable,
|
|
38873
39087
|
{
|
|
38874
39088
|
columns,
|
|
38875
39089
|
rows: data.rows,
|
|
38876
39090
|
readOnly,
|
|
38877
39091
|
isLoading: data.isLoading,
|
|
38878
|
-
isFiltered: Boolean(query.search.trim()) ||
|
|
39092
|
+
isFiltered: Boolean(query.search.trim()) || chunkQU3OCUVF_cjs.completeFilters(filters).length > 0 || (slots?.filterMenu?.activeCount ?? 0) > 0,
|
|
38879
39093
|
gridId,
|
|
38880
39094
|
...rowHeight === void 0 ? {} : { rowHeight },
|
|
38881
39095
|
gridProps,
|
|
@@ -38928,7 +39142,7 @@ function DatabaseWorkbench({
|
|
|
38928
39142
|
),
|
|
38929
39143
|
slots?.renderRowPage ? rowPage : openRow && // Beside the grid on a wide screen; over it on a narrow one.
|
|
38930
39144
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38931
|
-
|
|
39145
|
+
chunkQU3OCUVF_cjs.DatabaseRowDetail,
|
|
38932
39146
|
{
|
|
38933
39147
|
row: openRow,
|
|
38934
39148
|
columns,
|
|
@@ -38947,7 +39161,7 @@ function DatabaseWorkbench({
|
|
|
38947
39161
|
}
|
|
38948
39162
|
),
|
|
38949
39163
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38950
|
-
|
|
39164
|
+
chunkQU3OCUVF_cjs.DatabaseColumnDialog,
|
|
38951
39165
|
{
|
|
38952
39166
|
open: columnDialog !== null,
|
|
38953
39167
|
onOpenChange: (open) => !open && setColumnDialog(null),
|
|
@@ -39011,7 +39225,7 @@ function LayoutBody({
|
|
|
39011
39225
|
onShowUndated
|
|
39012
39226
|
}) {
|
|
39013
39227
|
const placed = react.useMemo(
|
|
39014
|
-
() =>
|
|
39228
|
+
() => chunkQU3OCUVF_cjs.rowsToTimelineItems(rows, columns, settings),
|
|
39015
39229
|
[rows, columns, settings]
|
|
39016
39230
|
);
|
|
39017
39231
|
const open = openRowId ? rows.find((r) => r.id === openRowId) : void 0;
|
|
@@ -39024,7 +39238,7 @@ function LayoutBody({
|
|
|
39024
39238
|
const dateColumn = settings.dateColumn;
|
|
39025
39239
|
const first = dateColumn ? rows[0]?.values[dateColumn] : void 0;
|
|
39026
39240
|
const last = dateColumn ? rows[rows.length - 1]?.values[dateColumn] : void 0;
|
|
39027
|
-
const range = typeof first === "string" && typeof last === "string" ? `, from ${
|
|
39241
|
+
const range = typeof first === "string" && typeof last === "string" ? `, from ${chunkQU3OCUVF_cjs.formatDateValue(first)} to ${chunkQU3OCUVF_cjs.formatDateValue(last)}` : "";
|
|
39028
39242
|
const view = settings.layout === "gantt" ? "timeline" : "calendar";
|
|
39029
39243
|
const failed = server?.isError === true;
|
|
39030
39244
|
const loading = !failed && server?.isLoading === true;
|
|
@@ -39075,7 +39289,7 @@ function LayoutBody({
|
|
|
39075
39289
|
children: `Loading the ${view}\u2026`
|
|
39076
39290
|
}
|
|
39077
39291
|
) : settings.layout === "calendar" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
39078
|
-
|
|
39292
|
+
chunkQU3OCUVF_cjs.DatabaseCalendar,
|
|
39079
39293
|
{
|
|
39080
39294
|
rows,
|
|
39081
39295
|
columns,
|
|
@@ -39088,7 +39302,7 @@ function LayoutBody({
|
|
|
39088
39302
|
testId: testIds.calendar
|
|
39089
39303
|
}
|
|
39090
39304
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
39091
|
-
|
|
39305
|
+
chunkQU3OCUVF_cjs.DatabaseGantt,
|
|
39092
39306
|
{
|
|
39093
39307
|
rows,
|
|
39094
39308
|
columns,
|
|
@@ -39199,7 +39413,7 @@ function DatabasesListView({
|
|
|
39199
39413
|
}));
|
|
39200
39414
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "h-full min-h-0 overflow-y-auto", "data-testid": "databases-page", children: [
|
|
39201
39415
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39202
|
-
|
|
39416
|
+
chunkQU3OCUVF_cjs.DatabaseList,
|
|
39203
39417
|
{
|
|
39204
39418
|
databases,
|
|
39205
39419
|
entries: listed.length > 0 ? listed : void 0,
|
|
@@ -39304,7 +39518,7 @@ function ConnectedDatabasesPage({
|
|
|
39304
39518
|
}
|
|
39305
39519
|
);
|
|
39306
39520
|
if (!selectedWorkspaceId) {
|
|
39307
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full min-h-0 overflow-y-auto", "data-testid": "databases-page", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
39521
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full min-h-0 overflow-y-auto", "data-testid": "databases-page", children: /* @__PURE__ */ jsxRuntime.jsx(chunkQU3OCUVF_cjs.DatabaseList, { databases: [], onOpen: () => {
|
|
39308
39522
|
}, labels: NO_WORKSPACE_LABELS }) });
|
|
39309
39523
|
}
|
|
39310
39524
|
if (openId) {
|
|
@@ -39346,7 +39560,7 @@ function ConnectedDatabasesPage({
|
|
|
39346
39560
|
onImport,
|
|
39347
39561
|
isImporting: importDatabase.isPending,
|
|
39348
39562
|
newDialog: /* @__PURE__ */ jsxRuntime.jsx(
|
|
39349
|
-
|
|
39563
|
+
chunkQU3OCUVF_cjs.NewDatabaseDialog,
|
|
39350
39564
|
{
|
|
39351
39565
|
open: creating,
|
|
39352
39566
|
onOpenChange: setCreating,
|
|
@@ -39375,7 +39589,7 @@ function ConnectedRecentDatabases({
|
|
|
39375
39589
|
}
|
|
39376
39590
|
function RecentDatabasesSection({
|
|
39377
39591
|
sources = NO_SOURCES2,
|
|
39378
|
-
limit =
|
|
39592
|
+
limit = chunkZKXZKIPE_cjs.RECENT_ROWS,
|
|
39379
39593
|
showLoading = true,
|
|
39380
39594
|
testId = "recent-databases"
|
|
39381
39595
|
}) {
|
|
@@ -39398,7 +39612,7 @@ function RecentDatabasesSection({
|
|
|
39398
39612
|
onSelect: open(e.id)
|
|
39399
39613
|
};
|
|
39400
39614
|
});
|
|
39401
|
-
const rest =
|
|
39615
|
+
const rest = chunkZKXZKIPE_cjs.recentDatabases(databases, Math.max(0, limit - own.length)).map((row2) => ({
|
|
39402
39616
|
...row2,
|
|
39403
39617
|
leading: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileSpreadsheet, { className: "mt-0.5 size-5 shrink-0 text-muted-foreground", "aria-hidden": true }),
|
|
39404
39618
|
onSelect: open(row2.id)
|
|
@@ -39430,20 +39644,20 @@ function WatchOne({ transferId }) {
|
|
|
39430
39644
|
const { data: job } = react$1.useWorkspaceTransfer(transferId);
|
|
39431
39645
|
const { data: workspaces = [] } = react$1.useWorkspaces();
|
|
39432
39646
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
39433
|
-
const untrack =
|
|
39647
|
+
const untrack = chunkZKXZKIPE_cjs.useExportStore((state) => state.untrackTransfer);
|
|
39434
39648
|
const invalidateAfterTransfer = react$1.useInvalidateAfterTransfer();
|
|
39435
39649
|
react.useEffect(() => {
|
|
39436
39650
|
if (!job || !react$1.isTransferFinished(job)) return;
|
|
39437
39651
|
invalidateAfterTransfer(job.mode);
|
|
39438
39652
|
const target = workspaces.find((w) => w.external_id === job.target_workspace_ext_id);
|
|
39439
|
-
const outcome =
|
|
39653
|
+
const outcome = chunkZKXZKIPE_cjs.transferOutcome(job, target?.name ?? "the other workspace");
|
|
39440
39654
|
if (outcome) notify19(outcome.message, outcome.tone);
|
|
39441
39655
|
untrack(transferId);
|
|
39442
39656
|
}, [job?.status, job?.external_id]);
|
|
39443
39657
|
return null;
|
|
39444
39658
|
}
|
|
39445
39659
|
function ConnectedTransferWatcher() {
|
|
39446
|
-
const active =
|
|
39660
|
+
const active = chunkZKXZKIPE_cjs.useExportStore((state) => state.activeTransfers);
|
|
39447
39661
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: active.map((id) => /* @__PURE__ */ jsxRuntime.jsx(WatchOne, { transferId: id }, id)) });
|
|
39448
39662
|
}
|
|
39449
39663
|
function useChatMessageToasts() {
|
|
@@ -40821,10 +41035,10 @@ var FreshChatModel = () => (useFreshChatModel(), null);
|
|
|
40821
41035
|
var WorkspaceOpenMetrics = ({ measure }) => (useWorkspaceOpenMetrics(measure), null);
|
|
40822
41036
|
var Prefetch = ({ loaders }) => (usePrefetchChunks(loaders), null);
|
|
40823
41037
|
function GuidedRuns() {
|
|
40824
|
-
|
|
41038
|
+
chunkHS626TSS_cjs.useRemoteControlSessionReset();
|
|
40825
41039
|
const { cursorMark } = chunkNZNBJF3M_cjs.useGuidedRuns();
|
|
40826
41040
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
40827
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41041
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6IABKQKX_cjs.GuidedCursor, { markSrc: cursorMark }),
|
|
40828
41042
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedRemoteControlConsent, {})
|
|
40829
41043
|
] });
|
|
40830
41044
|
}
|
|
@@ -40858,7 +41072,7 @@ function ConnectedAppRuntime({
|
|
|
40858
41072
|
on("pageTransition") && /* @__PURE__ */ jsxRuntime.jsx(PageTransition, {}),
|
|
40859
41073
|
on("freshChatModel") && /* @__PURE__ */ jsxRuntime.jsx(FreshChatModel, {}),
|
|
40860
41074
|
on("workspaceOpenMetrics") && measure && /* @__PURE__ */ jsxRuntime.jsx(WorkspaceOpenMetrics, { measure }),
|
|
40861
|
-
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...
|
|
41075
|
+
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...chunk6IABKQKX_cjs.KIT_CHUNK_LOADERS] }),
|
|
40862
41076
|
on("guidedRuns") && /* @__PURE__ */ jsxRuntime.jsx(GuidedRuns, {})
|
|
40863
41077
|
] });
|
|
40864
41078
|
}
|
|
@@ -41399,7 +41613,7 @@ async function renderAnnotatedScreenshot(image, marks, text2) {
|
|
|
41399
41613
|
)
|
|
41400
41614
|
);
|
|
41401
41615
|
}
|
|
41402
|
-
return
|
|
41616
|
+
return chunkHS626TSS_cjs.canvasToBlob(canvas);
|
|
41403
41617
|
}
|
|
41404
41618
|
function SupportVideoEvidence({
|
|
41405
41619
|
capture,
|
|
@@ -41821,7 +42035,7 @@ function ReportProblemDialog({
|
|
|
41821
42035
|
hidden: ticketId !== null,
|
|
41822
42036
|
children: [
|
|
41823
42037
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "Add a screenshot or video (optional)." }),
|
|
41824
|
-
|
|
42038
|
+
chunkHS626TSS_cjs.canCaptureScreen() ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { size: "sm", variant: "outline", onClick: onRetake, "data-testid": "report-retake", children: [
|
|
41825
42039
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Camera, { className: "mr-1 size-4" }),
|
|
41826
42040
|
" Create screenshot",
|
|
41827
42041
|
videoCapture ? " or recording" : ""
|
|
@@ -41939,7 +42153,7 @@ function useSupportVideo() {
|
|
|
41939
42153
|
};
|
|
41940
42154
|
stopRef.current = release;
|
|
41941
42155
|
try {
|
|
41942
|
-
const screen = await
|
|
42156
|
+
const screen = await chunkHS626TSS_cjs.requestScreenCapture();
|
|
41943
42157
|
streams.push(screen);
|
|
41944
42158
|
if (!active()) {
|
|
41945
42159
|
release();
|
|
@@ -42062,10 +42276,10 @@ function useReportProblem(options = {}) {
|
|
|
42062
42276
|
setPhase("capturing");
|
|
42063
42277
|
await new Promise((resolve) => window.setTimeout(resolve, 200));
|
|
42064
42278
|
try {
|
|
42065
|
-
setFrame(await
|
|
42279
|
+
setFrame(await chunkHS626TSS_cjs.captureCurrentTab());
|
|
42066
42280
|
setImage(null);
|
|
42067
42281
|
} catch (error) {
|
|
42068
|
-
const code = error instanceof
|
|
42282
|
+
const code = error instanceof chunkHS626TSS_cjs.ScreenCaptureError ? error.code : "failed";
|
|
42069
42283
|
if (code === "failed") {
|
|
42070
42284
|
notify19("Couldn't capture the screen. You can still describe the problem.", "error");
|
|
42071
42285
|
}
|
|
@@ -43026,7 +43240,7 @@ function resolveLaunchInputs(workflow, request) {
|
|
|
43026
43240
|
function useWorkflowLaunch() {
|
|
43027
43241
|
const { skills } = chunkER2MRSLT_cjs.useWorkflowDefinitions();
|
|
43028
43242
|
const launch = react.useCallback(
|
|
43029
|
-
(workflowId, options = {}) =>
|
|
43243
|
+
(workflowId, options = {}) => chunkRDEUBZ3Z_cjs.openWorkflowLaunch({ workflowId, ...options }),
|
|
43030
43244
|
[]
|
|
43031
43245
|
);
|
|
43032
43246
|
const itemsFor = react.useCallback(
|
|
@@ -43055,10 +43269,10 @@ function useWorkflowLaunch() {
|
|
|
43055
43269
|
return { launch, itemsFor, scopeItemsFor };
|
|
43056
43270
|
}
|
|
43057
43271
|
function Inner() {
|
|
43058
|
-
const request =
|
|
43059
|
-
const close =
|
|
43272
|
+
const request = chunkRDEUBZ3Z_cjs.useWorkflowLaunchRequest();
|
|
43273
|
+
const close = chunkRDEUBZ3Z_cjs.closeWorkflowLaunch;
|
|
43060
43274
|
const { skills } = chunkER2MRSLT_cjs.useWorkflowDefinitions();
|
|
43061
|
-
const run =
|
|
43275
|
+
const run = chunk7KUTY4N5_cjs.useLaunchWorkflow({ landing: request?.landing });
|
|
43062
43276
|
const workflow = skills.find((w) => w.id === request?.workflowId);
|
|
43063
43277
|
const inputs = react.useMemo(
|
|
43064
43278
|
() => workflow && request ? resolveLaunchInputs(workflow, request) : void 0,
|
|
@@ -43082,7 +43296,7 @@ function Inner() {
|
|
|
43082
43296
|
}, [request, workflow, autoStart]);
|
|
43083
43297
|
if (!request || !workflow || autoStart) return null;
|
|
43084
43298
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
43085
|
-
|
|
43299
|
+
chunk7KUTY4N5_cjs.ConnectedWorkflowStart,
|
|
43086
43300
|
{
|
|
43087
43301
|
workflows: skills,
|
|
43088
43302
|
showTiles: false,
|
|
@@ -43094,7 +43308,7 @@ function Inner() {
|
|
|
43094
43308
|
);
|
|
43095
43309
|
}
|
|
43096
43310
|
function WorkflowLaunchHost() {
|
|
43097
|
-
return
|
|
43311
|
+
return chunkRDEUBZ3Z_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
|
|
43098
43312
|
}
|
|
43099
43313
|
function isNeedsConfirmationDetail(detail) {
|
|
43100
43314
|
return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
|
|
@@ -43399,7 +43613,7 @@ function ConnectedConversationSettings() {
|
|
|
43399
43613
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
43400
43614
|
chunkLYDSETR7_cjs.ModelSelectionSection,
|
|
43401
43615
|
{
|
|
43402
|
-
selector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
43616
|
+
selector: /* @__PURE__ */ jsxRuntime.jsx(chunkHS626TSS_cjs.ConnectedModelSelector, {}),
|
|
43403
43617
|
onUseDefaults: settings.resetToDefaults
|
|
43404
43618
|
}
|
|
43405
43619
|
)
|
|
@@ -43505,7 +43719,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
|
|
|
43505
43719
|
testId: "workspace-transfer-modal"
|
|
43506
43720
|
}
|
|
43507
43721
|
),
|
|
43508
|
-
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
43722
|
+
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkHS626TSS_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
|
|
43509
43723
|
conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
|
|
43510
43724
|
unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
|
|
43511
43725
|
productionSet: ConnectedProductionSetDialog,
|
|
@@ -43592,7 +43806,7 @@ function WorkflowRunStatusCell({ conversation }) {
|
|
|
43592
43806
|
return person ? ui.getUserDisplayName(person) : void 0;
|
|
43593
43807
|
};
|
|
43594
43808
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
43595
|
-
|
|
43809
|
+
chunkRDEUBZ3Z_cjs.WorkflowRunStatus,
|
|
43596
43810
|
{
|
|
43597
43811
|
steps,
|
|
43598
43812
|
states,
|
|
@@ -43626,7 +43840,7 @@ function ConversationStatusCell({ conversation }) {
|
|
|
43626
43840
|
if (conversation.plan?.steps?.length && !isLiveGenerating)
|
|
43627
43841
|
return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
|
|
43628
43842
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
43629
|
-
|
|
43843
|
+
chunkRDEUBZ3Z_cjs.ThreadStatusLine,
|
|
43630
43844
|
{
|
|
43631
43845
|
state: threadStateOf(conversation, isLiveGenerating),
|
|
43632
43846
|
className: "h-full",
|
|
@@ -43932,7 +44146,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
43932
44146
|
const [draft, setDraft] = react.useState("");
|
|
43933
44147
|
const input = react.useRef(null);
|
|
43934
44148
|
const { openNewConversation } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
43935
|
-
const slashWorkflows =
|
|
44149
|
+
const slashWorkflows = chunkR27P7TYW_cjs.useSlashSkillWorkflows({ landing: "chat" });
|
|
43936
44150
|
const skills = react.useMemo(() => ({ openFor: slashWorkflows.openFor }), [slashWorkflows.openFor]);
|
|
43937
44151
|
react.useEffect(() => {
|
|
43938
44152
|
if (autoFocus) input.current?.focus();
|
|
@@ -43945,7 +44159,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
43945
44159
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkZHLBTIJJ_cjs.ComposerDock, { children: [
|
|
43946
44160
|
slashWorkflows.launcher,
|
|
43947
44161
|
/* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
43948
|
-
|
|
44162
|
+
chunkHS626TSS_cjs.ConversationComposer,
|
|
43949
44163
|
{
|
|
43950
44164
|
value: draft,
|
|
43951
44165
|
onValueChange: setDraft,
|
|
@@ -43954,7 +44168,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
43954
44168
|
isConversationEmpty: true,
|
|
43955
44169
|
shouldOfferFollowUp: false,
|
|
43956
44170
|
skills,
|
|
43957
|
-
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
44171
|
+
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkHS626TSS_cjs.ConnectedModelSelector, { variant: "compact" }),
|
|
43958
44172
|
rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
|
|
43959
44173
|
}
|
|
43960
44174
|
) })
|
|
@@ -44003,7 +44217,7 @@ function ConnectedConversationStart() {
|
|
|
44003
44217
|
)
|
|
44004
44218
|
] }),
|
|
44005
44219
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44006
|
-
|
|
44220
|
+
chunk7KUTY4N5_cjs.ConnectedWorkflowStart,
|
|
44007
44221
|
{
|
|
44008
44222
|
workflows: start,
|
|
44009
44223
|
tileWorkflows: shown,
|
|
@@ -44052,7 +44266,7 @@ function AgentControlBar({
|
|
|
44052
44266
|
const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
|
|
44053
44267
|
const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
|
|
44054
44268
|
const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44055
|
-
|
|
44269
|
+
chunkHS626TSS_cjs.MessageLiveSeconds,
|
|
44056
44270
|
{
|
|
44057
44271
|
...liveTimer,
|
|
44058
44272
|
offsetSeconds: currentStep?.t ?? 0,
|
|
@@ -44061,7 +44275,7 @@ function AgentControlBar({
|
|
|
44061
44275
|
}
|
|
44062
44276
|
);
|
|
44063
44277
|
const status = /* @__PURE__ */ jsxRuntime.jsx(
|
|
44064
|
-
|
|
44278
|
+
chunkRDEUBZ3Z_cjs.AgentBarStatus,
|
|
44065
44279
|
{
|
|
44066
44280
|
state: showState ? controlState : void 0,
|
|
44067
44281
|
stateLabel: STATE_LABEL[controlState],
|
|
@@ -44102,7 +44316,7 @@ function AgentControlBar({
|
|
|
44102
44316
|
];
|
|
44103
44317
|
const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
44104
44318
|
onStop && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44105
|
-
|
|
44319
|
+
chunkRDEUBZ3Z_cjs.AgentBarIconButton,
|
|
44106
44320
|
{
|
|
44107
44321
|
onClick: onStop,
|
|
44108
44322
|
title: "Stop",
|
|
@@ -44111,23 +44325,23 @@ function AgentControlBar({
|
|
|
44111
44325
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
|
|
44112
44326
|
}
|
|
44113
44327
|
),
|
|
44114
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44328
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.AgentBarMenu, { items: menuItems })
|
|
44115
44329
|
] });
|
|
44116
44330
|
const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
|
|
44117
44331
|
(message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
|
|
44118
44332
|
);
|
|
44119
44333
|
const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
|
|
44120
|
-
const below = probePending || probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
44121
|
-
probePending && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44334
|
+
const below = probePending || probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkRDEUBZ3Z_cjs.AgentBarNotes, { children: [
|
|
44335
|
+
probePending && /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.AgentBarStatus, { isProbing: true }),
|
|
44122
44336
|
queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
44123
|
-
|
|
44337
|
+
chunkRDEUBZ3Z_cjs.AgentBarQueuedNote,
|
|
44124
44338
|
{
|
|
44125
44339
|
text: message.content ?? "",
|
|
44126
44340
|
isAcknowledged: message.acknowledged
|
|
44127
44341
|
},
|
|
44128
44342
|
index
|
|
44129
44343
|
)),
|
|
44130
|
-
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44344
|
+
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
|
|
44131
44345
|
] }) : null;
|
|
44132
44346
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44133
44347
|
AgentBarShell,
|
|
@@ -44985,14 +45199,14 @@ function ConversationThread({
|
|
|
44985
45199
|
const isGuest = react$1.useWorkspaceRole() === "guest";
|
|
44986
45200
|
const meetingReadOnly = isGuest && !!currentTask?.meeting_call_ext_id;
|
|
44987
45201
|
const meetingCallExtId = currentTask?.meeting_call_ext_id ?? null;
|
|
44988
|
-
const threadMessages =
|
|
45202
|
+
const threadMessages = chunkTW5AGCHR_cjs.useMeetingThreadMessages(meetingCallExtId, messageHistory);
|
|
44989
45203
|
const [firstTurnPrompt, setFirstTurnPrompt] = react.useState(null);
|
|
44990
45204
|
const currentUserExtId = react$1.useArbiSession().user?.external_id ?? "";
|
|
44991
45205
|
const pendingFirstTurn = react.useMemo(
|
|
44992
45206
|
() => firstTurnPrompt ? react$1.buildPendingFirstTurn(firstTurnPrompt, currentUserExtId) : null,
|
|
44993
45207
|
[firstTurnPrompt, currentUserExtId]
|
|
44994
45208
|
);
|
|
44995
|
-
const uploadUrls =
|
|
45209
|
+
const uploadUrls = chunkZKXZKIPE_cjs.useAddFromUrls({
|
|
44996
45210
|
onZipFiles: (files) => openUpload?.(files, { source: "computer" })
|
|
44997
45211
|
});
|
|
44998
45212
|
const {
|
|
@@ -45048,7 +45262,7 @@ function ConversationThread({
|
|
|
45048
45262
|
}),
|
|
45049
45263
|
[threadMessages]
|
|
45050
45264
|
);
|
|
45051
|
-
const provisionalSpeakers =
|
|
45265
|
+
const provisionalSpeakers = chunkTW5AGCHR_cjs.useProvisionalSpeakers(meetingCallExtId, threadLines);
|
|
45052
45266
|
const showProvisional = !!meetingCallExtId && meetingView !== "chat";
|
|
45053
45267
|
const latestContextUsage = react.useMemo(() => {
|
|
45054
45268
|
const messages = messageHistory;
|
|
@@ -45136,7 +45350,7 @@ function ConversationThread({
|
|
|
45136
45350
|
react.useEffect(() => {
|
|
45137
45351
|
if (!isGenerating) setFirstTurnPrompt(null);
|
|
45138
45352
|
}, [isGenerating]);
|
|
45139
|
-
const slashWorkflows =
|
|
45353
|
+
const slashWorkflows = chunkR27P7TYW_cjs.useSlashSkillWorkflows({ landing: "current-chat" });
|
|
45140
45354
|
const composerSkills = react.useMemo(
|
|
45141
45355
|
() => ({ openFor: slashWorkflows.openFor }),
|
|
45142
45356
|
[slashWorkflows.openFor]
|
|
@@ -45242,7 +45456,7 @@ function ConversationThread({
|
|
|
45242
45456
|
useStartRequestedDraft();
|
|
45243
45457
|
const orphanedMessage = react$1.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
|
|
45244
45458
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkKLMNCBLY_cjs.ConversationBody, { children: [
|
|
45245
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
45459
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkHS626TSS_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunk7VUO4QZH_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
|
|
45246
45460
|
meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
45247
45461
|
chunkZBP4ZSAJ_cjs.ConversationFilter,
|
|
45248
45462
|
{
|
|
@@ -45260,15 +45474,15 @@ function ConversationThread({
|
|
|
45260
45474
|
]
|
|
45261
45475
|
}
|
|
45262
45476
|
) }),
|
|
45263
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
45264
|
-
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(
|
|
45477
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkHS626TSS_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
|
|
45478
|
+
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunkTW5AGCHR_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
45265
45479
|
] }) }) : meetingCallExtId ? (
|
|
45266
45480
|
// A meeting thread with nothing yet: call-aware, not the upload prompt.
|
|
45267
45481
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
45268
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
45269
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
45482
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkTW5AGCHR_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
|
|
45483
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkTW5AGCHR_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
45270
45484
|
] })
|
|
45271
|
-
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
45485
|
+
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkHS626TSS_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
45272
45486
|
ConnectedConversationEmpty,
|
|
45273
45487
|
{
|
|
45274
45488
|
hasDocuments: allWorkspaceDocuments.length > 0,
|
|
@@ -45366,7 +45580,7 @@ function ConversationThread({
|
|
|
45366
45580
|
}
|
|
45367
45581
|
),
|
|
45368
45582
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
45369
|
-
|
|
45583
|
+
chunkHS626TSS_cjs.ConversationComposer,
|
|
45370
45584
|
{
|
|
45371
45585
|
handleSendMessage: handleUserSend,
|
|
45372
45586
|
placeholder: pendingAnswer ? assistant.answerPlaceholder : void 0,
|
|
@@ -45708,7 +45922,7 @@ function ConnectedThreadsPage({
|
|
|
45708
45922
|
};
|
|
45709
45923
|
const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
|
|
45710
45924
|
/* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
45711
|
-
|
|
45925
|
+
chunkRDEUBZ3Z_cjs.ConversationListView,
|
|
45712
45926
|
{
|
|
45713
45927
|
showHeader,
|
|
45714
45928
|
conversations: tasks,
|
|
@@ -45727,7 +45941,7 @@ function ConnectedThreadsPage({
|
|
|
45727
45941
|
renderLabels: threadLabels.renderLabels,
|
|
45728
45942
|
labelText: threadLabels.labelText,
|
|
45729
45943
|
renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
45730
|
-
|
|
45944
|
+
chunkRDEUBZ3Z_cjs.ConversationTurnSpeaker,
|
|
45731
45945
|
{
|
|
45732
45946
|
variant: "icon",
|
|
45733
45947
|
role: row2.last_message_role,
|
|
@@ -46528,7 +46742,7 @@ function ConnectedConversationPage({
|
|
|
46528
46742
|
const isGuest = workspaceRole === "guest";
|
|
46529
46743
|
const canUpload = workspaceRole !== null && !isGuest;
|
|
46530
46744
|
const [urlDialogOpen, setUrlDialogOpen] = react.useState(false);
|
|
46531
|
-
const uploadUrls =
|
|
46745
|
+
const uploadUrls = chunkZKXZKIPE_cjs.useAddFromUrls({
|
|
46532
46746
|
onZipFiles: (files) => chunkK67VMSOX_cjs.openDialog("upload", { tab: "upload", files, source: "computer" })
|
|
46533
46747
|
});
|
|
46534
46748
|
const uploadDisabledReason = isGuest ? "Viewers cannot upload documents in this workspace" : "You cannot upload to this workspace";
|
|
@@ -46608,7 +46822,7 @@ function ConnectedConversationPage({
|
|
|
46608
46822
|
);
|
|
46609
46823
|
const { data: workspaceTags = [] } = react$1.useTags();
|
|
46610
46824
|
const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
|
|
46611
|
-
const historyCount =
|
|
46825
|
+
const historyCount = chunkRDEUBZ3Z_cjs.filterConversationRows(
|
|
46612
46826
|
threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
|
|
46613
46827
|
threadFilter,
|
|
46614
46828
|
(row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
@@ -46651,7 +46865,7 @@ function ConnectedConversationPage({
|
|
|
46651
46865
|
}
|
|
46652
46866
|
}
|
|
46653
46867
|
),
|
|
46654
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
46868
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkTW5AGCHR_cjs.ConnectedConversationCallActions, {}),
|
|
46655
46869
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
46656
46870
|
chunkKLMNCBLY_cjs.NewChatButton,
|
|
46657
46871
|
{
|
|
@@ -46690,7 +46904,7 @@ function ConnectedConversationPage({
|
|
|
46690
46904
|
] })
|
|
46691
46905
|
}
|
|
46692
46906
|
),
|
|
46693
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
46907
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkL6WEKQTV_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
|
|
46694
46908
|
] }),
|
|
46695
46909
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
46696
46910
|
ConversationThread,
|
|
@@ -46726,7 +46940,7 @@ function ConnectedConversationPage({
|
|
|
46726
46940
|
onOpenChange: setUrlDialogOpen,
|
|
46727
46941
|
onUrlsSubmit: uploadUrls,
|
|
46728
46942
|
titleWorkspaceName: workspace?.name,
|
|
46729
|
-
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
46943
|
+
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(chunkZKXZKIPE_cjs.ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
|
|
46730
46944
|
}
|
|
46731
46945
|
)
|
|
46732
46946
|
] });
|
|
@@ -46899,7 +47113,7 @@ function SsoResendVerificationButton({
|
|
|
46899
47113
|
onClick: async () => handleResendEmailVerification(),
|
|
46900
47114
|
disabled: loading || disabled,
|
|
46901
47115
|
"aria-label": "Resend verification email",
|
|
46902
|
-
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
47116
|
+
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunk6IABKQKX_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
46903
47117
|
"Didn't get a verification email? ",
|
|
46904
47118
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
|
|
46905
47119
|
] })
|
|
@@ -46910,9 +47124,9 @@ function SsoResendVerificationButton({
|
|
|
46910
47124
|
}
|
|
46911
47125
|
var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
|
|
46912
47126
|
function ConnectedSsoCallback() {
|
|
46913
|
-
const sso =
|
|
47127
|
+
const sso = chunkHS626TSS_cjs.useSsoSignIn();
|
|
46914
47128
|
const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
|
|
46915
|
-
const auth =
|
|
47129
|
+
const auth = chunkHS626TSS_cjs.useAuthPages();
|
|
46916
47130
|
const { notify: notify19, navigate } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
46917
47131
|
const passwordRules = auth.passwordRules;
|
|
46918
47132
|
const isProcessing = react.useRef(false);
|
|
@@ -46920,7 +47134,7 @@ function ConnectedSsoCallback() {
|
|
|
46920
47134
|
const [statusAttempt, setStatusAttempt] = react.useState(0);
|
|
46921
47135
|
const [accessToken, setAccessToken] = react.useState(null);
|
|
46922
47136
|
const [ssoStatus, setSsoStatus] = react.useState(null);
|
|
46923
|
-
const ssoName = react.useMemo(() =>
|
|
47137
|
+
const ssoName = react.useMemo(() => chunkHS626TSS_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
|
|
46924
47138
|
const [password, setPassword] = react.useState("");
|
|
46925
47139
|
const [confirmPassword, setConfirmPassword] = react.useState("");
|
|
46926
47140
|
const [error, setError] = react.useState(null);
|
|
@@ -47098,7 +47312,7 @@ function ConnectedSsoCallback() {
|
|
|
47098
47312
|
setIsCheckingStatus(true);
|
|
47099
47313
|
try {
|
|
47100
47314
|
console.info("[SSO] Checking user status...");
|
|
47101
|
-
const response = await
|
|
47315
|
+
const response = await chunkHS626TSS_cjs.ssoAccountStatus(arbi, accessToken, user);
|
|
47102
47316
|
console.info("[SSO] User status:", response.status);
|
|
47103
47317
|
setSsoStatus(response);
|
|
47104
47318
|
} catch (error2) {
|
|
@@ -47139,7 +47353,7 @@ function ConnectedSsoCallback() {
|
|
|
47139
47353
|
setIsSubmitting(true);
|
|
47140
47354
|
setError(null);
|
|
47141
47355
|
try {
|
|
47142
|
-
const { login, registered, linked } = await
|
|
47356
|
+
const { login, registered, linked } = await chunkHS626TSS_cjs.completeSsoSignIn(arbi, {
|
|
47143
47357
|
token: accessToken,
|
|
47144
47358
|
user,
|
|
47145
47359
|
status: ssoStatus,
|
|
@@ -47439,7 +47653,7 @@ function ConnectedSsoCallback() {
|
|
|
47439
47653
|
ssoStatus.status !== "new_user" && auth.footer
|
|
47440
47654
|
] }),
|
|
47441
47655
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47442
|
-
|
|
47656
|
+
chunkHS626TSS_cjs.ConnectedForgotPassword,
|
|
47443
47657
|
{
|
|
47444
47658
|
open: showForgotPasswordModal,
|
|
47445
47659
|
onOpenChange: setShowForgotPasswordModal,
|
|
@@ -47447,7 +47661,7 @@ function ConnectedSsoCallback() {
|
|
|
47447
47661
|
}
|
|
47448
47662
|
),
|
|
47449
47663
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47450
|
-
|
|
47664
|
+
chunkHS626TSS_cjs.ConnectedPasswordChangeDialog,
|
|
47451
47665
|
{
|
|
47452
47666
|
open: showChangePasswordModal,
|
|
47453
47667
|
onClose: () => setShowChangePasswordModal(false),
|
|
@@ -47606,27 +47820,27 @@ function ConnectedOAuthConsentPage({
|
|
|
47606
47820
|
oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
|
|
47607
47821
|
}
|
|
47608
47822
|
if (error && !params) {
|
|
47609
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
47823
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
|
|
47610
47824
|
}
|
|
47611
47825
|
if (!params) {
|
|
47612
47826
|
return null;
|
|
47613
47827
|
}
|
|
47614
47828
|
if (clientInfo?.isLocalAgentFlow) {
|
|
47615
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
47829
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentMessage, { tone: "warning", title: "Close this tab", children: "This tab opened alongside the correct authorization page. Please close this tab and complete the connection in the other tab that opened at the same time." }) });
|
|
47616
47830
|
}
|
|
47617
47831
|
if (!isAuthenticated2) {
|
|
47618
47832
|
return null;
|
|
47619
47833
|
}
|
|
47620
47834
|
if (callbackUrl) {
|
|
47621
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
47622
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
47835
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkRDEUBZ3Z_cjs.ConsentCard, { size: "md", children: [
|
|
47836
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkRDEUBZ3Z_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
|
|
47623
47837
|
"A new tab has opened to complete the connection. If it succeeded, you can close this page. If you see a connection error there, paste the URL below into Claude Cowork \u2014",
|
|
47624
47838
|
" ",
|
|
47625
47839
|
copied ? "it's already copied to your clipboard." : "copy it first."
|
|
47626
47840
|
] }),
|
|
47627
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
47628
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47629
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
47841
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkRDEUBZ3Z_cjs.ConsentSection, { title: "Callback URL", children: [
|
|
47842
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
|
|
47843
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkRDEUBZ3Z_cjs.ConsentText, { variant: "hint", children: [
|
|
47630
47844
|
"In Claude Code, paste the URL at the prompt that says",
|
|
47631
47845
|
" ",
|
|
47632
47846
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
|
|
@@ -47635,17 +47849,17 @@ function ConnectedOAuthConsentPage({
|
|
|
47635
47849
|
] })
|
|
47636
47850
|
] }) });
|
|
47637
47851
|
}
|
|
47638
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
47639
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
47640
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47852
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkRDEUBZ3Z_cjs.ConsentCard, { children: [
|
|
47853
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkRDEUBZ3Z_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
|
|
47854
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
|
|
47641
47855
|
" is requesting access to your ",
|
|
47642
47856
|
appName,
|
|
47643
47857
|
" workspace."
|
|
47644
47858
|
] }),
|
|
47645
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47646
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
47647
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47648
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47859
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentPermissionList, { items: permissions }) }),
|
|
47860
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentNotice, { tone: "error", children: error }),
|
|
47861
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
|
|
47862
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkRDEUBZ3Z_cjs.ConsentFootnote, { children: footnote })
|
|
47649
47863
|
] }) });
|
|
47650
47864
|
}
|
|
47651
47865
|
function ConnectedSharedFilesPage({
|
|
@@ -47980,7 +48194,7 @@ function ConnectedShellTopbar({
|
|
|
47980
48194
|
return /* @__PURE__ */ jsxRuntime.jsx(chunkXJEXFEWG_cjs.Shell.Topbar, { actions, children: landing });
|
|
47981
48195
|
}
|
|
47982
48196
|
var ConnectedAssistantDock2 = react.lazy(
|
|
47983
|
-
() => import('../ai-
|
|
48197
|
+
() => import('../ai-6K5DTBLO.cjs').then((m) => ({ default: m.ConnectedAssistantDock }))
|
|
47984
48198
|
);
|
|
47985
48199
|
var DOCK_TOGGLE_LABEL = "Assistant chat";
|
|
47986
48200
|
var DOCK_TOGGLE_TEST_ID = "shell-dock-toggle";
|
|
@@ -48173,7 +48387,7 @@ function ShellNavigationProvider({
|
|
|
48173
48387
|
);
|
|
48174
48388
|
}
|
|
48175
48389
|
var ConnectedPresentation = react.lazy(
|
|
48176
|
-
() => import('../ConnectedPresentation-
|
|
48390
|
+
() => import('../ConnectedPresentation-RFUH3MXL.cjs').then((m) => ({ default: m.ConnectedPresentation }))
|
|
48177
48391
|
);
|
|
48178
48392
|
function PresentationSlot() {
|
|
48179
48393
|
const session = react$1.useArbiSessionStore();
|
|
@@ -48346,7 +48560,7 @@ function ConnectedTipBar({
|
|
|
48346
48560
|
className,
|
|
48347
48561
|
revealOnHover = false
|
|
48348
48562
|
}) {
|
|
48349
|
-
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } =
|
|
48563
|
+
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkHS626TSS_cjs.useContextualHints();
|
|
48350
48564
|
const { dismissed, dismissTip } = react$1.useDismissedTips();
|
|
48351
48565
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
48352
48566
|
const { data: workspaces } = react$1.useWorkspaces();
|
|
@@ -48357,7 +48571,7 @@ function ConnectedTipBar({
|
|
|
48357
48571
|
workspaceOpen,
|
|
48358
48572
|
...state
|
|
48359
48573
|
};
|
|
48360
|
-
const { tip, index, count: count2, previous, next, onHoverChange } =
|
|
48574
|
+
const { tip, index, count: count2, previous, next, onHoverChange } = chunk6IABKQKX_cjs.useTipsPlacement({
|
|
48361
48575
|
registry,
|
|
48362
48576
|
context,
|
|
48363
48577
|
state: situation,
|
|
@@ -48435,7 +48649,7 @@ function useGettingStarted({
|
|
|
48435
48649
|
const { user } = react$1.useArbiSession();
|
|
48436
48650
|
const userExtId = user?.external_id;
|
|
48437
48651
|
const temporaryOnly = user?.temporary_access_only === true;
|
|
48438
|
-
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } =
|
|
48652
|
+
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkHS626TSS_cjs.useContextualHints();
|
|
48439
48653
|
const { dismissed, loaded: dismissedLoaded, dismissTip } = react$1.useDismissedTips();
|
|
48440
48654
|
const welcomeJourneyEnabled = react$1.useFeature("welcomeJourney");
|
|
48441
48655
|
const session = react$1.useArbiSessionStore();
|
|
@@ -48709,7 +48923,7 @@ Object.defineProperty(exports, "useRewardBalance", {
|
|
|
48709
48923
|
});
|
|
48710
48924
|
Object.defineProperty(exports, "ConnectedMailInviteCard", {
|
|
48711
48925
|
enumerable: true,
|
|
48712
|
-
get: function () { return
|
|
48926
|
+
get: function () { return chunkAS2FZ2T7_cjs.ConnectedMailInviteCard; }
|
|
48713
48927
|
});
|
|
48714
48928
|
Object.defineProperty(exports, "ConnectedTagEntity", {
|
|
48715
48929
|
enumerable: true,
|
|
@@ -48725,15 +48939,15 @@ Object.defineProperty(exports, "useMemberLookup", {
|
|
|
48725
48939
|
});
|
|
48726
48940
|
Object.defineProperty(exports, "DEFAULT_ASK_SUGGESTIONS", {
|
|
48727
48941
|
enumerable: true,
|
|
48728
|
-
get: function () { return
|
|
48942
|
+
get: function () { return chunkHPIB5YRV_cjs.DEFAULT_ASK_SUGGESTIONS; }
|
|
48729
48943
|
});
|
|
48730
48944
|
Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_LABELS", {
|
|
48731
48945
|
enumerable: true,
|
|
48732
|
-
get: function () { return
|
|
48946
|
+
get: function () { return chunkHPIB5YRV_cjs.DEFAULT_DOCUMENT_VIEWER_LABELS; }
|
|
48733
48947
|
});
|
|
48734
48948
|
Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_TABS", {
|
|
48735
48949
|
enumerable: true,
|
|
48736
|
-
get: function () { return
|
|
48950
|
+
get: function () { return chunkHPIB5YRV_cjs.DEFAULT_DOCUMENT_VIEWER_TABS; }
|
|
48737
48951
|
});
|
|
48738
48952
|
Object.defineProperty(exports, "ConnectedPanelHost", {
|
|
48739
48953
|
enumerable: true,
|
|
@@ -48745,471 +48959,471 @@ Object.defineProperty(exports, "useSessionPanelMode", {
|
|
|
48745
48959
|
});
|
|
48746
48960
|
Object.defineProperty(exports, "ConnectedAgendaBlock", {
|
|
48747
48961
|
enumerable: true,
|
|
48748
|
-
get: function () { return
|
|
48962
|
+
get: function () { return chunkZKXZKIPE_cjs.ConnectedAgendaBlock; }
|
|
48749
48963
|
});
|
|
48750
48964
|
Object.defineProperty(exports, "ConnectedCarouselBlock", {
|
|
48751
48965
|
enumerable: true,
|
|
48752
|
-
get: function () { return
|
|
48966
|
+
get: function () { return chunkZKXZKIPE_cjs.ConnectedCarouselBlock; }
|
|
48753
48967
|
});
|
|
48754
48968
|
Object.defineProperty(exports, "ConnectedEmailWorkspaceDialog", {
|
|
48755
48969
|
enumerable: true,
|
|
48756
|
-
get: function () { return
|
|
48970
|
+
get: function () { return chunkZKXZKIPE_cjs.ConnectedEmailWorkspaceDialog; }
|
|
48757
48971
|
});
|
|
48758
48972
|
Object.defineProperty(exports, "ConnectedListBlock", {
|
|
48759
48973
|
enumerable: true,
|
|
48760
|
-
get: function () { return
|
|
48974
|
+
get: function () { return chunkZKXZKIPE_cjs.ConnectedListBlock; }
|
|
48761
48975
|
});
|
|
48762
48976
|
Object.defineProperty(exports, "ConnectedNewFileMenu", {
|
|
48763
48977
|
enumerable: true,
|
|
48764
|
-
get: function () { return
|
|
48978
|
+
get: function () { return chunkZKXZKIPE_cjs.ConnectedNewFileMenu; }
|
|
48765
48979
|
});
|
|
48766
48980
|
Object.defineProperty(exports, "ConnectedNewThreadDialog", {
|
|
48767
48981
|
enumerable: true,
|
|
48768
|
-
get: function () { return
|
|
48982
|
+
get: function () { return chunkZKXZKIPE_cjs.ConnectedNewThreadDialog; }
|
|
48769
48983
|
});
|
|
48770
48984
|
Object.defineProperty(exports, "ConnectedStartBlock", {
|
|
48771
48985
|
enumerable: true,
|
|
48772
|
-
get: function () { return
|
|
48986
|
+
get: function () { return chunkZKXZKIPE_cjs.ConnectedStartBlock; }
|
|
48773
48987
|
});
|
|
48774
48988
|
Object.defineProperty(exports, "ConnectedUpcomingEvents", {
|
|
48775
48989
|
enumerable: true,
|
|
48776
|
-
get: function () { return
|
|
48990
|
+
get: function () { return chunkZKXZKIPE_cjs.ConnectedUpcomingEvents; }
|
|
48777
48991
|
});
|
|
48778
48992
|
Object.defineProperty(exports, "ConnectedWorkspaceEntity", {
|
|
48779
48993
|
enumerable: true,
|
|
48780
|
-
get: function () { return
|
|
48994
|
+
get: function () { return chunkZKXZKIPE_cjs.ConnectedWorkspaceEntity; }
|
|
48781
48995
|
});
|
|
48782
48996
|
Object.defineProperty(exports, "DocumentsUploadButton", {
|
|
48783
48997
|
enumerable: true,
|
|
48784
|
-
get: function () { return
|
|
48998
|
+
get: function () { return chunkZKXZKIPE_cjs.DocumentsUploadButton; }
|
|
48785
48999
|
});
|
|
48786
49000
|
Object.defineProperty(exports, "LOOK_AGAIN_LABEL", {
|
|
48787
49001
|
enumerable: true,
|
|
48788
|
-
get: function () { return
|
|
49002
|
+
get: function () { return chunkZKXZKIPE_cjs.LOOK_AGAIN_LABEL; }
|
|
48789
49003
|
});
|
|
48790
49004
|
Object.defineProperty(exports, "PENDING_LOOKUP_MS", {
|
|
48791
49005
|
enumerable: true,
|
|
48792
|
-
get: function () { return
|
|
49006
|
+
get: function () { return chunkZKXZKIPE_cjs.PENDING_LOOKUP_MS; }
|
|
48793
49007
|
});
|
|
48794
49008
|
Object.defineProperty(exports, "PENDING_TASK_MESSAGE", {
|
|
48795
49009
|
enumerable: true,
|
|
48796
|
-
get: function () { return
|
|
49010
|
+
get: function () { return chunkZKXZKIPE_cjs.PENDING_TASK_MESSAGE; }
|
|
48797
49011
|
});
|
|
48798
49012
|
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_BLOCKS", {
|
|
48799
49013
|
enumerable: true,
|
|
48800
|
-
get: function () { return
|
|
49014
|
+
get: function () { return chunkZKXZKIPE_cjs.WORKSPACE_DASHBOARD_BLOCKS; }
|
|
48801
49015
|
});
|
|
48802
49016
|
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_LAYOUT", {
|
|
48803
49017
|
enumerable: true,
|
|
48804
|
-
get: function () { return
|
|
49018
|
+
get: function () { return chunkZKXZKIPE_cjs.WORKSPACE_DASHBOARD_LAYOUT; }
|
|
48805
49019
|
});
|
|
48806
49020
|
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_PAGE", {
|
|
48807
49021
|
enumerable: true,
|
|
48808
|
-
get: function () { return
|
|
49022
|
+
get: function () { return chunkZKXZKIPE_cjs.WORKSPACE_DASHBOARD_PAGE; }
|
|
48809
49023
|
});
|
|
48810
49024
|
Object.defineProperty(exports, "createEventCall", {
|
|
48811
49025
|
enumerable: true,
|
|
48812
|
-
get: function () { return
|
|
49026
|
+
get: function () { return chunkZKXZKIPE_cjs.createEventCall; }
|
|
48813
49027
|
});
|
|
48814
49028
|
Object.defineProperty(exports, "describePlan", {
|
|
48815
49029
|
enumerable: true,
|
|
48816
|
-
get: function () { return
|
|
49030
|
+
get: function () { return chunkZKXZKIPE_cjs.describePlan; }
|
|
48817
49031
|
});
|
|
48818
49032
|
Object.defineProperty(exports, "distinctPeers", {
|
|
48819
49033
|
enumerable: true,
|
|
48820
|
-
get: function () { return
|
|
49034
|
+
get: function () { return chunkZKXZKIPE_cjs.distinctPeers; }
|
|
48821
49035
|
});
|
|
48822
49036
|
Object.defineProperty(exports, "joinEventMeeting", {
|
|
48823
49037
|
enumerable: true,
|
|
48824
|
-
get: function () { return
|
|
49038
|
+
get: function () { return chunkZKXZKIPE_cjs.joinEventMeeting; }
|
|
48825
49039
|
});
|
|
48826
49040
|
Object.defineProperty(exports, "loadEventWebinar", {
|
|
48827
49041
|
enumerable: true,
|
|
48828
|
-
get: function () { return
|
|
49042
|
+
get: function () { return chunkZKXZKIPE_cjs.loadEventWebinar; }
|
|
48829
49043
|
});
|
|
48830
49044
|
Object.defineProperty(exports, "parseArbiCallUrl", {
|
|
48831
49045
|
enumerable: true,
|
|
48832
|
-
get: function () { return
|
|
49046
|
+
get: function () { return chunkZKXZKIPE_cjs.parseArbiCallUrl; }
|
|
48833
49047
|
});
|
|
48834
49048
|
Object.defineProperty(exports, "resolveAttendeeUsers", {
|
|
48835
49049
|
enumerable: true,
|
|
48836
|
-
get: function () { return
|
|
49050
|
+
get: function () { return chunkZKXZKIPE_cjs.resolveAttendeeUsers; }
|
|
48837
49051
|
});
|
|
48838
49052
|
Object.defineProperty(exports, "resolveAttendeeUsersRemote", {
|
|
48839
49053
|
enumerable: true,
|
|
48840
|
-
get: function () { return
|
|
49054
|
+
get: function () { return chunkZKXZKIPE_cjs.resolveAttendeeUsersRemote; }
|
|
48841
49055
|
});
|
|
48842
49056
|
Object.defineProperty(exports, "resolveCallPeers", {
|
|
48843
49057
|
enumerable: true,
|
|
48844
|
-
get: function () { return
|
|
49058
|
+
get: function () { return chunkZKXZKIPE_cjs.resolveCallPeers; }
|
|
48845
49059
|
});
|
|
48846
49060
|
Object.defineProperty(exports, "resolveCallPeersRemote", {
|
|
48847
49061
|
enumerable: true,
|
|
48848
|
-
get: function () { return
|
|
49062
|
+
get: function () { return chunkZKXZKIPE_cjs.resolveCallPeersRemote; }
|
|
48849
49063
|
});
|
|
48850
49064
|
Object.defineProperty(exports, "shareEventCall", {
|
|
48851
49065
|
enumerable: true,
|
|
48852
|
-
get: function () { return
|
|
49066
|
+
get: function () { return chunkZKXZKIPE_cjs.shareEventCall; }
|
|
48853
49067
|
});
|
|
48854
49068
|
Object.defineProperty(exports, "transferOutcome", {
|
|
48855
49069
|
enumerable: true,
|
|
48856
|
-
get: function () { return
|
|
49070
|
+
get: function () { return chunkZKXZKIPE_cjs.transferOutcome; }
|
|
48857
49071
|
});
|
|
48858
49072
|
Object.defineProperty(exports, "updateEventWebinarRoles", {
|
|
48859
49073
|
enumerable: true,
|
|
48860
|
-
get: function () { return
|
|
49074
|
+
get: function () { return chunkZKXZKIPE_cjs.updateEventWebinarRoles; }
|
|
48861
49075
|
});
|
|
48862
49076
|
Object.defineProperty(exports, "useAddFromUrls", {
|
|
48863
49077
|
enumerable: true,
|
|
48864
|
-
get: function () { return
|
|
49078
|
+
get: function () { return chunkZKXZKIPE_cjs.useAddFromUrls; }
|
|
48865
49079
|
});
|
|
48866
49080
|
Object.defineProperty(exports, "useExportStore", {
|
|
48867
49081
|
enumerable: true,
|
|
48868
|
-
get: function () { return
|
|
49082
|
+
get: function () { return chunkZKXZKIPE_cjs.useExportStore; }
|
|
48869
49083
|
});
|
|
48870
49084
|
Object.defineProperty(exports, "usePendingTaskThread", {
|
|
48871
49085
|
enumerable: true,
|
|
48872
|
-
get: function () { return
|
|
49086
|
+
get: function () { return chunkZKXZKIPE_cjs.usePendingTaskThread; }
|
|
48873
49087
|
});
|
|
48874
49088
|
Object.defineProperty(exports, "webinarRolesByUser", {
|
|
48875
49089
|
enumerable: true,
|
|
48876
|
-
get: function () { return
|
|
49090
|
+
get: function () { return chunkZKXZKIPE_cjs.webinarRolesByUser; }
|
|
48877
49091
|
});
|
|
48878
49092
|
Object.defineProperty(exports, "ConnectedAssistantDock", {
|
|
48879
49093
|
enumerable: true,
|
|
48880
|
-
get: function () { return
|
|
49094
|
+
get: function () { return chunkPDKTW4L2_cjs.ConnectedAssistantDock; }
|
|
48881
49095
|
});
|
|
48882
49096
|
Object.defineProperty(exports, "redlineStats", {
|
|
48883
49097
|
enumerable: true,
|
|
48884
|
-
get: function () { return
|
|
49098
|
+
get: function () { return chunkPDKTW4L2_cjs.redlineStats; }
|
|
48885
49099
|
});
|
|
48886
49100
|
Object.defineProperty(exports, "textToArtifact", {
|
|
48887
49101
|
enumerable: true,
|
|
48888
|
-
get: function () { return
|
|
49102
|
+
get: function () { return chunkPDKTW4L2_cjs.textToArtifact; }
|
|
48889
49103
|
});
|
|
48890
49104
|
Object.defineProperty(exports, "toRedlineMarkdown", {
|
|
48891
49105
|
enumerable: true,
|
|
48892
|
-
get: function () { return
|
|
49106
|
+
get: function () { return chunkPDKTW4L2_cjs.toRedlineMarkdown; }
|
|
48893
49107
|
});
|
|
48894
49108
|
Object.defineProperty(exports, "useConnectedAiTask", {
|
|
48895
49109
|
enumerable: true,
|
|
48896
|
-
get: function () { return
|
|
49110
|
+
get: function () { return chunkPDKTW4L2_cjs.useConnectedAiTask; }
|
|
48897
49111
|
});
|
|
48898
49112
|
Object.defineProperty(exports, "useConnectedChat", {
|
|
48899
49113
|
enumerable: true,
|
|
48900
|
-
get: function () { return
|
|
49114
|
+
get: function () { return chunkPDKTW4L2_cjs.useConnectedChat; }
|
|
48901
49115
|
});
|
|
48902
49116
|
Object.defineProperty(exports, "useSemanticSearch", {
|
|
48903
49117
|
enumerable: true,
|
|
48904
|
-
get: function () { return
|
|
49118
|
+
get: function () { return chunkPDKTW4L2_cjs.useSemanticSearch; }
|
|
48905
49119
|
});
|
|
48906
49120
|
Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
48907
49121
|
enumerable: true,
|
|
48908
|
-
get: function () { return
|
|
49122
|
+
get: function () { return chunkPDKTW4L2_cjs.useWorkspaceDocs; }
|
|
48909
49123
|
});
|
|
48910
49124
|
Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
|
|
48911
49125
|
enumerable: true,
|
|
48912
|
-
get: function () { return
|
|
49126
|
+
get: function () { return chunkL6WEKQTV_cjs.ConnectedTaskActivityDialog; }
|
|
48913
49127
|
});
|
|
48914
49128
|
Object.defineProperty(exports, "ConnectedTaskComposer", {
|
|
48915
49129
|
enumerable: true,
|
|
48916
|
-
get: function () { return
|
|
49130
|
+
get: function () { return chunkL6WEKQTV_cjs.ConnectedTaskComposer; }
|
|
48917
49131
|
});
|
|
48918
49132
|
Object.defineProperty(exports, "ConnectedThreadTaskBar", {
|
|
48919
49133
|
enumerable: true,
|
|
48920
|
-
get: function () { return
|
|
49134
|
+
get: function () { return chunkL6WEKQTV_cjs.ConnectedThreadTaskBar; }
|
|
48921
49135
|
});
|
|
48922
49136
|
Object.defineProperty(exports, "ConnectedWorkflowHistory", {
|
|
48923
49137
|
enumerable: true,
|
|
48924
|
-
get: function () { return
|
|
49138
|
+
get: function () { return chunkL6WEKQTV_cjs.ConnectedWorkflowHistory; }
|
|
48925
49139
|
});
|
|
48926
49140
|
Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
|
|
48927
49141
|
enumerable: true,
|
|
48928
|
-
get: function () { return
|
|
49142
|
+
get: function () { return chunkL6WEKQTV_cjs.ConnectedWorkflowRunPage; }
|
|
48929
49143
|
});
|
|
48930
49144
|
Object.defineProperty(exports, "ConnectedWorkflowRunner", {
|
|
48931
49145
|
enumerable: true,
|
|
48932
|
-
get: function () { return
|
|
49146
|
+
get: function () { return chunkL6WEKQTV_cjs.ConnectedWorkflowRunner; }
|
|
48933
49147
|
});
|
|
48934
49148
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
|
|
48935
49149
|
enumerable: true,
|
|
48936
|
-
get: function () { return
|
|
49150
|
+
get: function () { return chunkL6WEKQTV_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
|
|
48937
49151
|
});
|
|
48938
49152
|
Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
|
|
48939
49153
|
enumerable: true,
|
|
48940
|
-
get: function () { return
|
|
49154
|
+
get: function () { return chunkL6WEKQTV_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
|
|
48941
49155
|
});
|
|
48942
49156
|
Object.defineProperty(exports, "WorkflowRunThread", {
|
|
48943
49157
|
enumerable: true,
|
|
48944
|
-
get: function () { return
|
|
49158
|
+
get: function () { return chunkL6WEKQTV_cjs.WorkflowRunThread; }
|
|
48945
49159
|
});
|
|
48946
49160
|
Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
|
|
48947
49161
|
enumerable: true,
|
|
48948
|
-
get: function () { return
|
|
49162
|
+
get: function () { return chunkL6WEKQTV_cjs.WorkflowRunWorkspaceChangedError; }
|
|
48949
49163
|
});
|
|
48950
49164
|
Object.defineProperty(exports, "buildProjectSummaries", {
|
|
48951
49165
|
enumerable: true,
|
|
48952
|
-
get: function () { return
|
|
49166
|
+
get: function () { return chunkL6WEKQTV_cjs.buildProjectSummaries; }
|
|
48953
49167
|
});
|
|
48954
49168
|
Object.defineProperty(exports, "primaryProjectWorkspace", {
|
|
48955
49169
|
enumerable: true,
|
|
48956
|
-
get: function () { return
|
|
49170
|
+
get: function () { return chunkL6WEKQTV_cjs.primaryProjectWorkspace; }
|
|
48957
49171
|
});
|
|
48958
49172
|
Object.defineProperty(exports, "useEnsureRequiredLabels", {
|
|
48959
49173
|
enumerable: true,
|
|
48960
|
-
get: function () { return
|
|
49174
|
+
get: function () { return chunkL6WEKQTV_cjs.useEnsureRequiredLabels; }
|
|
48961
49175
|
});
|
|
48962
49176
|
Object.defineProperty(exports, "useProjectSummaries", {
|
|
48963
49177
|
enumerable: true,
|
|
48964
|
-
get: function () { return
|
|
49178
|
+
get: function () { return chunkL6WEKQTV_cjs.useProjectSummaries; }
|
|
48965
49179
|
});
|
|
48966
49180
|
Object.defineProperty(exports, "useProjectSummary", {
|
|
48967
49181
|
enumerable: true,
|
|
48968
|
-
get: function () { return
|
|
49182
|
+
get: function () { return chunkL6WEKQTV_cjs.useProjectSummary; }
|
|
48969
49183
|
});
|
|
48970
49184
|
Object.defineProperty(exports, "useRenderTaskPerson", {
|
|
48971
49185
|
enumerable: true,
|
|
48972
|
-
get: function () { return
|
|
49186
|
+
get: function () { return chunkL6WEKQTV_cjs.useRenderTaskPerson; }
|
|
48973
49187
|
});
|
|
48974
49188
|
Object.defineProperty(exports, "useRequiredLabels", {
|
|
48975
49189
|
enumerable: true,
|
|
48976
|
-
get: function () { return
|
|
49190
|
+
get: function () { return chunkL6WEKQTV_cjs.useRequiredLabels; }
|
|
48977
49191
|
});
|
|
48978
49192
|
Object.defineProperty(exports, "useTaskPeople", {
|
|
48979
49193
|
enumerable: true,
|
|
48980
|
-
get: function () { return
|
|
49194
|
+
get: function () { return chunkL6WEKQTV_cjs.useTaskPeople; }
|
|
48981
49195
|
});
|
|
48982
49196
|
Object.defineProperty(exports, "useWorkflowsPageState", {
|
|
48983
49197
|
enumerable: true,
|
|
48984
|
-
get: function () { return
|
|
49198
|
+
get: function () { return chunkL6WEKQTV_cjs.useWorkflowsPageState; }
|
|
48985
49199
|
});
|
|
48986
49200
|
Object.defineProperty(exports, "workflowRunView", {
|
|
48987
49201
|
enumerable: true,
|
|
48988
|
-
get: function () { return
|
|
49202
|
+
get: function () { return chunkL6WEKQTV_cjs.workflowRunView; }
|
|
48989
49203
|
});
|
|
48990
49204
|
Object.defineProperty(exports, "AgentSteps", {
|
|
48991
49205
|
enumerable: true,
|
|
48992
|
-
get: function () { return
|
|
49206
|
+
get: function () { return chunkHS626TSS_cjs.AgentSteps; }
|
|
48993
49207
|
});
|
|
48994
49208
|
Object.defineProperty(exports, "AnswerTable", {
|
|
48995
49209
|
enumerable: true,
|
|
48996
|
-
get: function () { return
|
|
49210
|
+
get: function () { return chunkHS626TSS_cjs.AnswerTable; }
|
|
48997
49211
|
});
|
|
48998
49212
|
Object.defineProperty(exports, "ArbiChat", {
|
|
48999
49213
|
enumerable: true,
|
|
49000
|
-
get: function () { return
|
|
49214
|
+
get: function () { return chunkHS626TSS_cjs.ArbiChat; }
|
|
49001
49215
|
});
|
|
49002
49216
|
Object.defineProperty(exports, "AskAgainContext", {
|
|
49003
49217
|
enumerable: true,
|
|
49004
|
-
get: function () { return
|
|
49218
|
+
get: function () { return chunkHS626TSS_cjs.AskAgainContext; }
|
|
49005
49219
|
});
|
|
49006
49220
|
Object.defineProperty(exports, "ConnectedBranchControls", {
|
|
49007
49221
|
enumerable: true,
|
|
49008
|
-
get: function () { return
|
|
49222
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedBranchControls; }
|
|
49009
49223
|
});
|
|
49010
49224
|
Object.defineProperty(exports, "ConnectedCitationRenderer", {
|
|
49011
49225
|
enumerable: true,
|
|
49012
|
-
get: function () { return
|
|
49226
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedCitationRenderer; }
|
|
49013
49227
|
});
|
|
49014
49228
|
Object.defineProperty(exports, "ConnectedCompactConversation", {
|
|
49015
49229
|
enumerable: true,
|
|
49016
|
-
get: function () { return
|
|
49230
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedCompactConversation; }
|
|
49017
49231
|
});
|
|
49018
49232
|
Object.defineProperty(exports, "ConnectedCompactLogin", {
|
|
49019
49233
|
enumerable: true,
|
|
49020
|
-
get: function () { return
|
|
49234
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedCompactLogin; }
|
|
49021
49235
|
});
|
|
49022
49236
|
Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
|
|
49023
49237
|
enumerable: true,
|
|
49024
|
-
get: function () { return
|
|
49238
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedConversationDocumentPicker; }
|
|
49025
49239
|
});
|
|
49026
49240
|
Object.defineProperty(exports, "ConnectedDangerZone", {
|
|
49027
49241
|
enumerable: true,
|
|
49028
|
-
get: function () { return
|
|
49242
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedDangerZone; }
|
|
49029
49243
|
});
|
|
49030
49244
|
Object.defineProperty(exports, "ConnectedEmbeddedChat", {
|
|
49031
49245
|
enumerable: true,
|
|
49032
|
-
get: function () { return
|
|
49246
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedEmbeddedChat; }
|
|
49033
49247
|
});
|
|
49034
49248
|
Object.defineProperty(exports, "ConnectedForgotPassword", {
|
|
49035
49249
|
enumerable: true,
|
|
49036
|
-
get: function () { return
|
|
49250
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedForgotPassword; }
|
|
49037
49251
|
});
|
|
49038
49252
|
Object.defineProperty(exports, "ConnectedIdentityVerification", {
|
|
49039
49253
|
enumerable: true,
|
|
49040
|
-
get: function () { return
|
|
49254
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedIdentityVerification; }
|
|
49041
49255
|
});
|
|
49042
49256
|
Object.defineProperty(exports, "ConnectedLoginPage", {
|
|
49043
49257
|
enumerable: true,
|
|
49044
|
-
get: function () { return
|
|
49258
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedLoginPage; }
|
|
49045
49259
|
});
|
|
49046
49260
|
Object.defineProperty(exports, "ConnectedLogoutDialog", {
|
|
49047
49261
|
enumerable: true,
|
|
49048
|
-
get: function () { return
|
|
49262
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedLogoutDialog; }
|
|
49049
49263
|
});
|
|
49050
49264
|
Object.defineProperty(exports, "ConnectedMessage", {
|
|
49051
49265
|
enumerable: true,
|
|
49052
|
-
get: function () { return
|
|
49266
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedMessage; }
|
|
49053
49267
|
});
|
|
49054
49268
|
Object.defineProperty(exports, "ConnectedMessageArea", {
|
|
49055
49269
|
enumerable: true,
|
|
49056
|
-
get: function () { return
|
|
49270
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedMessageArea; }
|
|
49057
49271
|
});
|
|
49058
49272
|
Object.defineProperty(exports, "ConnectedMessageList", {
|
|
49059
49273
|
enumerable: true,
|
|
49060
|
-
get: function () { return
|
|
49274
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedMessageList; }
|
|
49061
49275
|
});
|
|
49062
49276
|
Object.defineProperty(exports, "ConnectedModelSelector", {
|
|
49063
49277
|
enumerable: true,
|
|
49064
|
-
get: function () { return
|
|
49278
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedModelSelector; }
|
|
49065
49279
|
});
|
|
49066
49280
|
Object.defineProperty(exports, "ConnectedNotificationPreferences", {
|
|
49067
49281
|
enumerable: true,
|
|
49068
|
-
get: function () { return
|
|
49282
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedNotificationPreferences; }
|
|
49069
49283
|
});
|
|
49070
49284
|
Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
|
|
49071
49285
|
enumerable: true,
|
|
49072
|
-
get: function () { return
|
|
49286
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedPasswordChangeDialog; }
|
|
49073
49287
|
});
|
|
49074
49288
|
Object.defineProperty(exports, "ConnectedProfileCard", {
|
|
49075
49289
|
enumerable: true,
|
|
49076
|
-
get: function () { return
|
|
49290
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedProfileCard; }
|
|
49077
49291
|
});
|
|
49078
49292
|
Object.defineProperty(exports, "ConnectedSecuritySection", {
|
|
49079
49293
|
enumerable: true,
|
|
49080
|
-
get: function () { return
|
|
49294
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedSecuritySection; }
|
|
49081
49295
|
});
|
|
49082
49296
|
Object.defineProperty(exports, "ConnectedSessionsRow", {
|
|
49083
49297
|
enumerable: true,
|
|
49084
|
-
get: function () { return
|
|
49298
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedSessionsRow; }
|
|
49085
49299
|
});
|
|
49086
49300
|
Object.defineProperty(exports, "ConnectedThreadsPreview", {
|
|
49087
49301
|
enumerable: true,
|
|
49088
|
-
get: function () { return
|
|
49302
|
+
get: function () { return chunkHS626TSS_cjs.ConnectedThreadsPreview; }
|
|
49089
49303
|
});
|
|
49090
49304
|
Object.defineProperty(exports, "ConversationComposer", {
|
|
49091
49305
|
enumerable: true,
|
|
49092
|
-
get: function () { return
|
|
49306
|
+
get: function () { return chunkHS626TSS_cjs.ConversationComposer; }
|
|
49093
49307
|
});
|
|
49094
49308
|
Object.defineProperty(exports, "EmbeddedChatPanel", {
|
|
49095
49309
|
enumerable: true,
|
|
49096
|
-
get: function () { return
|
|
49310
|
+
get: function () { return chunkHS626TSS_cjs.EmbeddedChatPanel; }
|
|
49097
49311
|
});
|
|
49098
49312
|
Object.defineProperty(exports, "MessageDetailsModal", {
|
|
49099
49313
|
enumerable: true,
|
|
49100
|
-
get: function () { return
|
|
49314
|
+
get: function () { return chunkHS626TSS_cjs.MessageDetailsModal; }
|
|
49101
49315
|
});
|
|
49102
49316
|
Object.defineProperty(exports, "MessageLiveSeconds", {
|
|
49103
49317
|
enumerable: true,
|
|
49104
|
-
get: function () { return
|
|
49318
|
+
get: function () { return chunkHS626TSS_cjs.MessageLiveSeconds; }
|
|
49105
49319
|
});
|
|
49106
49320
|
Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
|
|
49107
49321
|
enumerable: true,
|
|
49108
|
-
get: function () { return
|
|
49322
|
+
get: function () { return chunkHS626TSS_cjs.PENDING_RECOVERY_KEY; }
|
|
49109
49323
|
});
|
|
49110
49324
|
Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
|
|
49111
49325
|
enumerable: true,
|
|
49112
|
-
get: function () { return
|
|
49326
|
+
get: function () { return chunkHS626TSS_cjs.PREMIUM_TIER_TAG; }
|
|
49113
49327
|
});
|
|
49114
49328
|
Object.defineProperty(exports, "RunningSubagents", {
|
|
49115
49329
|
enumerable: true,
|
|
49116
|
-
get: function () { return
|
|
49330
|
+
get: function () { return chunkHS626TSS_cjs.RunningSubagents; }
|
|
49117
49331
|
});
|
|
49118
49332
|
Object.defineProperty(exports, "STANDARD_TIER_TAG", {
|
|
49119
49333
|
enumerable: true,
|
|
49120
|
-
get: function () { return
|
|
49334
|
+
get: function () { return chunkHS626TSS_cjs.STANDARD_TIER_TAG; }
|
|
49121
49335
|
});
|
|
49122
49336
|
Object.defineProperty(exports, "WorkflowStepMessage", {
|
|
49123
49337
|
enumerable: true,
|
|
49124
|
-
get: function () { return
|
|
49338
|
+
get: function () { return chunkHS626TSS_cjs.WorkflowStepMessage; }
|
|
49125
49339
|
});
|
|
49126
49340
|
Object.defineProperty(exports, "backUpOnSignup", {
|
|
49127
49341
|
enumerable: true,
|
|
49128
|
-
get: function () { return
|
|
49342
|
+
get: function () { return chunkHS626TSS_cjs.backUpOnSignup; }
|
|
49129
49343
|
});
|
|
49130
49344
|
Object.defineProperty(exports, "createRemoteControl", {
|
|
49131
49345
|
enumerable: true,
|
|
49132
|
-
get: function () { return
|
|
49346
|
+
get: function () { return chunkHS626TSS_cjs.createRemoteControl; }
|
|
49133
49347
|
});
|
|
49134
49348
|
Object.defineProperty(exports, "defaultHost", {
|
|
49135
49349
|
enumerable: true,
|
|
49136
|
-
get: function () { return
|
|
49350
|
+
get: function () { return chunkHS626TSS_cjs.defaultHost; }
|
|
49137
49351
|
});
|
|
49138
49352
|
Object.defineProperty(exports, "renderConnectedUser", {
|
|
49139
49353
|
enumerable: true,
|
|
49140
|
-
get: function () { return
|
|
49354
|
+
get: function () { return chunkHS626TSS_cjs.renderConnectedUser; }
|
|
49141
49355
|
});
|
|
49142
49356
|
Object.defineProperty(exports, "renderSessionStatusIcon", {
|
|
49143
49357
|
enumerable: true,
|
|
49144
|
-
get: function () { return
|
|
49358
|
+
get: function () { return chunkHS626TSS_cjs.renderSessionStatusIcon; }
|
|
49145
49359
|
});
|
|
49146
49360
|
Object.defineProperty(exports, "resolveSsoName", {
|
|
49147
49361
|
enumerable: true,
|
|
49148
|
-
get: function () { return
|
|
49362
|
+
get: function () { return chunkHS626TSS_cjs.resolveSsoName; }
|
|
49149
49363
|
});
|
|
49150
49364
|
Object.defineProperty(exports, "useAuthPages", {
|
|
49151
49365
|
enumerable: true,
|
|
49152
|
-
get: function () { return
|
|
49366
|
+
get: function () { return chunkHS626TSS_cjs.useAuthPages; }
|
|
49153
49367
|
});
|
|
49154
49368
|
Object.defineProperty(exports, "useContextualHints", {
|
|
49155
49369
|
enumerable: true,
|
|
49156
|
-
get: function () { return
|
|
49370
|
+
get: function () { return chunkHS626TSS_cjs.useContextualHints; }
|
|
49157
49371
|
});
|
|
49158
49372
|
Object.defineProperty(exports, "useModelPicker", {
|
|
49159
49373
|
enumerable: true,
|
|
49160
|
-
get: function () { return
|
|
49374
|
+
get: function () { return chunkHS626TSS_cjs.useModelPicker; }
|
|
49161
49375
|
});
|
|
49162
49376
|
Object.defineProperty(exports, "useOpenChunk", {
|
|
49163
49377
|
enumerable: true,
|
|
49164
|
-
get: function () { return
|
|
49378
|
+
get: function () { return chunkHS626TSS_cjs.useOpenChunk; }
|
|
49165
49379
|
});
|
|
49166
49380
|
Object.defineProperty(exports, "useOpenWorkspaceIcon", {
|
|
49167
49381
|
enumerable: true,
|
|
49168
|
-
get: function () { return
|
|
49382
|
+
get: function () { return chunkHS626TSS_cjs.useOpenWorkspaceIcon; }
|
|
49169
49383
|
});
|
|
49170
49384
|
Object.defineProperty(exports, "useRemoteControlActions", {
|
|
49171
49385
|
enumerable: true,
|
|
49172
|
-
get: function () { return
|
|
49386
|
+
get: function () { return chunkHS626TSS_cjs.useRemoteControlActions; }
|
|
49173
49387
|
});
|
|
49174
49388
|
Object.defineProperty(exports, "useRemoteControlHandlers", {
|
|
49175
49389
|
enumerable: true,
|
|
49176
|
-
get: function () { return
|
|
49390
|
+
get: function () { return chunkHS626TSS_cjs.useRemoteControlHandlers; }
|
|
49177
49391
|
});
|
|
49178
49392
|
Object.defineProperty(exports, "useSsoSignIn", {
|
|
49179
49393
|
enumerable: true,
|
|
49180
|
-
get: function () { return
|
|
49394
|
+
get: function () { return chunkHS626TSS_cjs.useSsoSignIn; }
|
|
49181
49395
|
});
|
|
49182
49396
|
Object.defineProperty(exports, "useWorkspaceDocTitles", {
|
|
49183
49397
|
enumerable: true,
|
|
49184
|
-
get: function () { return
|
|
49398
|
+
get: function () { return chunkHS626TSS_cjs.useWorkspaceDocTitles; }
|
|
49185
49399
|
});
|
|
49186
49400
|
Object.defineProperty(exports, "parseTypedSkill", {
|
|
49187
49401
|
enumerable: true,
|
|
49188
|
-
get: function () { return
|
|
49402
|
+
get: function () { return chunkR27P7TYW_cjs.parseTypedSkill; }
|
|
49189
49403
|
});
|
|
49190
49404
|
Object.defineProperty(exports, "useSlashItems", {
|
|
49191
49405
|
enumerable: true,
|
|
49192
|
-
get: function () { return
|
|
49406
|
+
get: function () { return chunkR27P7TYW_cjs.useSlashItems; }
|
|
49193
49407
|
});
|
|
49194
49408
|
Object.defineProperty(exports, "useSlashMenuItems", {
|
|
49195
49409
|
enumerable: true,
|
|
49196
|
-
get: function () { return
|
|
49410
|
+
get: function () { return chunkR27P7TYW_cjs.useSlashMenuItems; }
|
|
49197
49411
|
});
|
|
49198
49412
|
Object.defineProperty(exports, "useSlashSkillWorkflows", {
|
|
49199
49413
|
enumerable: true,
|
|
49200
|
-
get: function () { return
|
|
49414
|
+
get: function () { return chunkR27P7TYW_cjs.useSlashSkillWorkflows; }
|
|
49201
49415
|
});
|
|
49202
49416
|
Object.defineProperty(exports, "ConnectedWorkflowStart", {
|
|
49203
49417
|
enumerable: true,
|
|
49204
|
-
get: function () { return
|
|
49418
|
+
get: function () { return chunk7KUTY4N5_cjs.ConnectedWorkflowStart; }
|
|
49205
49419
|
});
|
|
49206
49420
|
Object.defineProperty(exports, "PROMPT_BINDINGS", {
|
|
49207
49421
|
enumerable: true,
|
|
49208
|
-
get: function () { return
|
|
49422
|
+
get: function () { return chunk7KUTY4N5_cjs.PROMPT_BINDINGS; }
|
|
49209
49423
|
});
|
|
49210
49424
|
Object.defineProperty(exports, "useLaunchWorkflow", {
|
|
49211
49425
|
enumerable: true,
|
|
49212
|
-
get: function () { return
|
|
49426
|
+
get: function () { return chunk7KUTY4N5_cjs.useLaunchWorkflow; }
|
|
49213
49427
|
});
|
|
49214
49428
|
Object.defineProperty(exports, "useConnectedThreadActivity", {
|
|
49215
49429
|
enumerable: true,
|
|
@@ -49397,23 +49611,23 @@ Object.defineProperty(exports, "useDocumentFolders", {
|
|
|
49397
49611
|
});
|
|
49398
49612
|
Object.defineProperty(exports, "ConnectedWorkflowsTable", {
|
|
49399
49613
|
enumerable: true,
|
|
49400
|
-
get: function () { return
|
|
49614
|
+
get: function () { return chunkWQMIBHSQ_cjs.ConnectedWorkflowsTable; }
|
|
49401
49615
|
});
|
|
49402
49616
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS", {
|
|
49403
49617
|
enumerable: true,
|
|
49404
|
-
get: function () { return
|
|
49618
|
+
get: function () { return chunkWQMIBHSQ_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
|
|
49405
49619
|
});
|
|
49406
49620
|
Object.defineProperty(exports, "useConnectedWorkspaceRole", {
|
|
49407
49621
|
enumerable: true,
|
|
49408
|
-
get: function () { return
|
|
49622
|
+
get: function () { return chunkWQMIBHSQ_cjs.useConnectedWorkspaceRole; }
|
|
49409
49623
|
});
|
|
49410
49624
|
Object.defineProperty(exports, "useDocxCommentTarget", {
|
|
49411
49625
|
enumerable: true,
|
|
49412
|
-
get: function () { return
|
|
49626
|
+
get: function () { return chunkWQMIBHSQ_cjs.useDocxCommentTarget; }
|
|
49413
49627
|
});
|
|
49414
49628
|
Object.defineProperty(exports, "useNativeDocxSupport", {
|
|
49415
49629
|
enumerable: true,
|
|
49416
|
-
get: function () { return
|
|
49630
|
+
get: function () { return chunkWQMIBHSQ_cjs.useNativeDocxSupport; }
|
|
49417
49631
|
});
|
|
49418
49632
|
Object.defineProperty(exports, "useOpenWorkflow", {
|
|
49419
49633
|
enumerable: true,
|
|
@@ -49421,23 +49635,23 @@ Object.defineProperty(exports, "useOpenWorkflow", {
|
|
|
49421
49635
|
});
|
|
49422
49636
|
Object.defineProperty(exports, "ConnectedWorkflowDocumentsField", {
|
|
49423
49637
|
enumerable: true,
|
|
49424
|
-
get: function () { return
|
|
49638
|
+
get: function () { return chunkLUOL7TEY_cjs.ConnectedWorkflowDocumentsField; }
|
|
49425
49639
|
});
|
|
49426
49640
|
Object.defineProperty(exports, "ConnectedWorkflowLauncher", {
|
|
49427
49641
|
enumerable: true,
|
|
49428
|
-
get: function () { return
|
|
49642
|
+
get: function () { return chunkLUOL7TEY_cjs.ConnectedWorkflowLauncher; }
|
|
49429
49643
|
});
|
|
49430
49644
|
Object.defineProperty(exports, "toWorkflowFieldDocument", {
|
|
49431
49645
|
enumerable: true,
|
|
49432
|
-
get: function () { return
|
|
49646
|
+
get: function () { return chunkLUOL7TEY_cjs.toWorkflowFieldDocument; }
|
|
49433
49647
|
});
|
|
49434
49648
|
Object.defineProperty(exports, "useConnectedWorkflowScopeSource", {
|
|
49435
49649
|
enumerable: true,
|
|
49436
|
-
get: function () { return
|
|
49650
|
+
get: function () { return chunkLUOL7TEY_cjs.useConnectedWorkflowScopeSource; }
|
|
49437
49651
|
});
|
|
49438
49652
|
Object.defineProperty(exports, "useMeetingThreadMessages", {
|
|
49439
49653
|
enumerable: true,
|
|
49440
|
-
get: function () { return
|
|
49654
|
+
get: function () { return chunkTW5AGCHR_cjs.useMeetingThreadMessages; }
|
|
49441
49655
|
});
|
|
49442
49656
|
Object.defineProperty(exports, "ConnectedUserEntity", {
|
|
49443
49657
|
enumerable: true,
|