@arbidocs/blocks 0.5.90 → 0.5.91
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-FNJRJ653.js → ConnectedCallDock-PJE7EZ6T.js} +4 -4
- package/dist/{ConnectedCallDock-FNJRJ653.js.map → ConnectedCallDock-PJE7EZ6T.js.map} +1 -1
- package/dist/{ConnectedCallDock-W66NDZIJ.cjs → ConnectedCallDock-ZRSZYSLO.cjs} +4 -4
- package/dist/{ConnectedCallDock-W66NDZIJ.cjs.map → ConnectedCallDock-ZRSZYSLO.cjs.map} +1 -1
- package/dist/ConnectedCallRoom-S7DO2MP6.js +2 -2
- package/dist/ConnectedCallRoom-XK2RPNO6.cjs +2 -2
- package/dist/{ConnectedMailInviteCard-RSNELYZX.cjs → ConnectedMailInviteCard-OBDYWUFM.cjs} +5 -5
- package/dist/{ConnectedMailInviteCard-RSNELYZX.cjs.map → ConnectedMailInviteCard-OBDYWUFM.cjs.map} +1 -1
- package/dist/{ConnectedMailInviteCard-2TXUPVV7.js → ConnectedMailInviteCard-YYPLRL6G.js} +4 -4
- package/dist/{ConnectedMailInviteCard-2TXUPVV7.js.map → ConnectedMailInviteCard-YYPLRL6G.js.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-77BRPLGW.js → ConnectedNativeDocxComparison-2RIERXLW.js} +11 -11
- package/dist/{ConnectedNativeDocxComparison-77BRPLGW.js.map → ConnectedNativeDocxComparison-2RIERXLW.js.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-7G57TZC7.cjs → ConnectedNativeDocxComparison-46C7LYGT.cjs} +12 -12
- package/dist/{ConnectedNativeDocxComparison-7G57TZC7.cjs.map → ConnectedNativeDocxComparison-46C7LYGT.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-YKLNR2FO.cjs → ConnectedNativeDocxEditor-6XMB2XT7.cjs} +12 -12
- package/dist/{ConnectedNativeDocxEditor-YKLNR2FO.cjs.map → ConnectedNativeDocxEditor-6XMB2XT7.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-JSZURNVZ.js → ConnectedNativeDocxEditor-K6X63CPL.js} +10 -10
- package/dist/{ConnectedNativeDocxEditor-JSZURNVZ.js.map → ConnectedNativeDocxEditor-K6X63CPL.js.map} +1 -1
- package/dist/{ConnectedProductionSetDialog-ZEKYUQXE.js → ConnectedProductionSetDialog-JXQLGDIH.js} +3 -3
- package/dist/{ConnectedProductionSetDialog-ZEKYUQXE.js.map → ConnectedProductionSetDialog-JXQLGDIH.js.map} +1 -1
- package/dist/{ConnectedProductionSetDialog-MQ5OLTSR.cjs → ConnectedProductionSetDialog-T3Q32XPJ.cjs} +3 -3
- package/dist/{ConnectedProductionSetDialog-MQ5OLTSR.cjs.map → ConnectedProductionSetDialog-T3Q32XPJ.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-TMVTOSEP.js → ConnectedStreamedWordArtifact-6UMLSR3G.js} +11 -11
- package/dist/ConnectedStreamedWordArtifact-6UMLSR3G.js.map +1 -0
- package/dist/{ConnectedStreamedWordArtifact-WOE4WNJO.cjs → ConnectedStreamedWordArtifact-GFFLCGF7.cjs} +12 -12
- package/dist/ConnectedStreamedWordArtifact-GFFLCGF7.cjs.map +1 -0
- package/dist/{DocumentReviewCard-FOYUZWAW.js → DocumentReviewCard-SAKLHM4Y.js} +4 -4
- package/dist/{DocumentReviewCard-FOYUZWAW.js.map → DocumentReviewCard-SAKLHM4Y.js.map} +1 -1
- package/dist/{DocumentReviewCard-JY2WZCEK.cjs → DocumentReviewCard-XGYMO5YS.cjs} +4 -4
- package/dist/{DocumentReviewCard-JY2WZCEK.cjs.map → DocumentReviewCard-XGYMO5YS.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-SVT7CVAZ.cjs → FilesViewerDialog-3C6JUMVS.cjs} +11 -11
- package/dist/{FilesViewerDialog-SVT7CVAZ.cjs.map → FilesViewerDialog-3C6JUMVS.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-MPMYI5NP.js → FilesViewerDialog-HNBRY7RQ.js} +10 -10
- package/dist/{FilesViewerDialog-MPMYI5NP.js.map → FilesViewerDialog-HNBRY7RQ.js.map} +1 -1
- package/dist/WorkspaceTableView-DFN4WGRI.js +1 -1
- package/dist/WorkspaceTableView-UOP3EB2F.cjs +1 -1
- package/dist/agents/index.cjs +254 -254
- package/dist/agents/index.js +4 -4
- package/dist/calendar/index.cjs +116 -116
- package/dist/calendar/index.js +1 -1
- package/dist/calls/index.cjs +2 -2
- package/dist/calls/index.js +2 -2
- package/dist/chat/index.cjs +18 -18
- package/dist/chat/index.js +2 -2
- package/dist/{chunk-WVCTH42C.cjs → chunk-3TECBO75.cjs} +12 -12
- package/dist/{chunk-WVCTH42C.cjs.map → chunk-3TECBO75.cjs.map} +1 -1
- package/dist/{chunk-AJ4TBTA3.js → chunk-4KARJ4CC.js} +3 -3
- package/dist/{chunk-AJ4TBTA3.js.map → chunk-4KARJ4CC.js.map} +1 -1
- package/dist/{chunk-PIFTGL57.js → chunk-4RFNQRUD.js} +5 -5
- package/dist/{chunk-PIFTGL57.js.map → chunk-4RFNQRUD.js.map} +1 -1
- package/dist/{chunk-K2AVKRZI.cjs → chunk-4VUKYB32.cjs} +4 -4
- package/dist/{chunk-K2AVKRZI.cjs.map → chunk-4VUKYB32.cjs.map} +1 -1
- package/dist/{chunk-7MFZS24I.cjs → chunk-5YBH5CQD.cjs} +9 -9
- package/dist/{chunk-7MFZS24I.cjs.map → chunk-5YBH5CQD.cjs.map} +1 -1
- package/dist/{chunk-JSWF2AMA.js → chunk-636KUL53.js} +4 -4
- package/dist/{chunk-JSWF2AMA.js.map → chunk-636KUL53.js.map} +1 -1
- package/dist/{chunk-B5FFLDK7.js → chunk-6T4ZMGGT.js} +3 -3
- package/dist/{chunk-B5FFLDK7.js.map → chunk-6T4ZMGGT.js.map} +1 -1
- package/dist/{chunk-7E3SUV4J.cjs → chunk-6Y7MHSIT.cjs} +3 -3
- package/dist/{chunk-7E3SUV4J.cjs.map → chunk-6Y7MHSIT.cjs.map} +1 -1
- package/dist/{chunk-KUBNSEQP.cjs → chunk-CLPDKHSP.cjs} +10 -10
- package/dist/{chunk-KUBNSEQP.cjs.map → chunk-CLPDKHSP.cjs.map} +1 -1
- package/dist/{chunk-UPG4IEQV.js → chunk-EXZPKMMP.js} +11 -11
- package/dist/{chunk-UPG4IEQV.js.map → chunk-EXZPKMMP.js.map} +1 -1
- package/dist/{chunk-IMINN6RD.js → chunk-FKPFKSDT.js} +3 -3
- package/dist/{chunk-IMINN6RD.js.map → chunk-FKPFKSDT.js.map} +1 -1
- package/dist/{chunk-WVEYUH6C.cjs → chunk-GNKQVCMW.cjs} +6 -6
- package/dist/{chunk-WVEYUH6C.cjs.map → chunk-GNKQVCMW.cjs.map} +1 -1
- package/dist/{chunk-EZGK7FLE.js → chunk-GUGSUCIK.js} +3 -3
- package/dist/{chunk-EZGK7FLE.js.map → chunk-GUGSUCIK.js.map} +1 -1
- package/dist/{chunk-GS5OCYNQ.cjs → chunk-HMS3GRMI.cjs} +3 -3
- package/dist/{chunk-GS5OCYNQ.cjs.map → chunk-HMS3GRMI.cjs.map} +1 -1
- package/dist/{chunk-I6SPGHFY.cjs → chunk-HUE76NAI.cjs} +2 -2
- package/dist/{chunk-I6SPGHFY.cjs.map → chunk-HUE76NAI.cjs.map} +1 -1
- package/dist/{chunk-KFKRZ5WX.js → chunk-IXA534S4.js} +7 -7
- package/dist/{chunk-KFKRZ5WX.js.map → chunk-IXA534S4.js.map} +1 -1
- package/dist/{chunk-MTSXOBK2.js → chunk-KPD7WAXP.js} +3 -3
- package/dist/{chunk-MTSXOBK2.js.map → chunk-KPD7WAXP.js.map} +1 -1
- package/dist/{chunk-KLRYWHLD.cjs → chunk-KXRGVY3M.cjs} +4 -4
- package/dist/{chunk-KLRYWHLD.cjs.map → chunk-KXRGVY3M.cjs.map} +1 -1
- package/dist/{chunk-6GSKZGLR.cjs → chunk-NZ26UYEQ.cjs} +11 -11
- package/dist/{chunk-6GSKZGLR.cjs.map → chunk-NZ26UYEQ.cjs.map} +1 -1
- package/dist/{chunk-LTRFQ2IC.js → chunk-PYLG3M6G.js} +2 -2
- package/dist/{chunk-LTRFQ2IC.js.map → chunk-PYLG3M6G.js.map} +1 -1
- package/dist/{chunk-F3KBCQKH.cjs → chunk-RCOJ7JG5.cjs} +4 -4
- package/dist/{chunk-F3KBCQKH.cjs.map → chunk-RCOJ7JG5.cjs.map} +1 -1
- package/dist/{chunk-FHJOI5GV.js → chunk-TSP5JJ56.js} +3 -3
- package/dist/{chunk-FHJOI5GV.js.map → chunk-TSP5JJ56.js.map} +1 -1
- package/dist/{chunk-SUP6LS22.js → chunk-TVLY7FTU.js} +3 -3
- package/dist/{chunk-SUP6LS22.js.map → chunk-TVLY7FTU.js.map} +1 -1
- package/dist/{chunk-LFXUJNXJ.cjs → chunk-VJLW3UPL.cjs} +6 -6
- package/dist/{chunk-LFXUJNXJ.cjs.map → chunk-VJLW3UPL.cjs.map} +1 -1
- package/dist/{chunk-D3ABKS7T.cjs → chunk-VK5Q5JXU.cjs} +3 -3
- package/dist/{chunk-D3ABKS7T.cjs.map → chunk-VK5Q5JXU.cjs.map} +1 -1
- package/dist/{chunk-B36GZ4FJ.js → chunk-WWMVVAA5.js} +6 -6
- package/dist/{chunk-B36GZ4FJ.js.map → chunk-WWMVVAA5.js.map} +1 -1
- package/dist/{chunk-VEG4LR55.cjs → chunk-YACOI5ZU.cjs} +48 -48
- package/dist/{chunk-VEG4LR55.cjs.map → chunk-YACOI5ZU.cjs.map} +1 -1
- package/dist/{chunk-6U6IY7DB.js → chunk-YIJ4MFYM.js} +3 -3
- package/dist/{chunk-6U6IY7DB.js.map → chunk-YIJ4MFYM.js.map} +1 -1
- package/dist/connect/docx.cjs +15 -15
- package/dist/connect/docx.js +11 -11
- package/dist/connect/index.cjs +432 -431
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +40 -39
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/viewer.cjs +9 -9
- package/dist/connect/viewer.js +8 -8
- package/dist/connection/files/ConnectedBulkTagCrumbs.d.ts +6 -1
- package/dist/embed/index.cjs +15 -15
- package/dist/embed/index.js +9 -9
- package/dist/facts/index.cjs +44 -44
- package/dist/facts/index.js +3 -3
- package/dist/index.cjs +430 -430
- package/dist/index.js +13 -13
- package/dist/settings/index.cjs +1 -1
- package/dist/settings/index.js +1 -1
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +1 -1
- package/dist/studio/index.js +1 -1
- package/dist/workflow-canvas/index.cjs +32 -32
- package/dist/workflow-canvas/index.js +17 -17
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ConnectedStreamedWordArtifact-TMVTOSEP.js.map +0 -1
- package/dist/ConnectedStreamedWordArtifact-WOE4WNJO.cjs.map +0 -1
package/dist/connect/index.cjs
CHANGED
|
@@ -2,35 +2,34 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunk3KNKAZ5D_cjs = require('../chunk-3KNKAZ5D.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkGNKQVCMW_cjs = require('../chunk-GNKQVCMW.cjs');
|
|
6
6
|
var chunkPZXEXHKB_cjs = require('../chunk-PZXEXHKB.cjs');
|
|
7
7
|
var chunk3532KA6K_cjs = require('../chunk-3532KA6K.cjs');
|
|
8
8
|
var chunkPSIKUQYM_cjs = require('../chunk-PSIKUQYM.cjs');
|
|
9
9
|
var chunkNZQZ2HFU_cjs = require('../chunk-NZQZ2HFU.cjs');
|
|
10
10
|
var chunkOTODKLR3_cjs = require('../chunk-OTODKLR3.cjs');
|
|
11
|
-
var
|
|
11
|
+
var chunkYACOI5ZU_cjs = require('../chunk-YACOI5ZU.cjs');
|
|
12
12
|
var chunkCIXA5A65_cjs = require('../chunk-CIXA5A65.cjs');
|
|
13
13
|
var chunkKWJW5TMH_cjs = require('../chunk-KWJW5TMH.cjs');
|
|
14
|
-
var
|
|
14
|
+
var chunkNZ26UYEQ_cjs = require('../chunk-NZ26UYEQ.cjs');
|
|
15
15
|
var chunkQ4ORI364_cjs = require('../chunk-Q4ORI364.cjs');
|
|
16
16
|
var chunkDU3H4WC6_cjs = require('../chunk-DU3H4WC6.cjs');
|
|
17
|
+
var chunkVK5Q5JXU_cjs = require('../chunk-VK5Q5JXU.cjs');
|
|
18
|
+
var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
|
|
17
19
|
var chunkECZXW346_cjs = require('../chunk-ECZXW346.cjs');
|
|
18
20
|
var chunkE5TPRRAW_cjs = require('../chunk-E5TPRRAW.cjs');
|
|
19
21
|
require('../chunk-UMMZNZV3.cjs');
|
|
20
22
|
require('../chunk-AEQT2QQX.cjs');
|
|
21
|
-
var chunkD3ABKS7T_cjs = require('../chunk-D3ABKS7T.cjs');
|
|
22
|
-
var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
|
|
23
23
|
var chunkSFRKKPBB_cjs = require('../chunk-SFRKKPBB.cjs');
|
|
24
24
|
require('../chunk-XNW62J54.cjs');
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
25
|
+
var chunkHUE76NAI_cjs = require('../chunk-HUE76NAI.cjs');
|
|
26
|
+
var chunkQUMUAJ2P_cjs = require('../chunk-QUMUAJ2P.cjs');
|
|
27
|
+
var chunkCLPDKHSP_cjs = require('../chunk-CLPDKHSP.cjs');
|
|
28
28
|
var chunkSIYNZR5B_cjs = require('../chunk-SIYNZR5B.cjs');
|
|
29
|
-
var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
|
|
30
29
|
var chunkJXKNPKU6_cjs = require('../chunk-JXKNPKU6.cjs');
|
|
31
30
|
var chunkKJM5X7NX_cjs = require('../chunk-KJM5X7NX.cjs');
|
|
32
31
|
var chunkRQNNHO44_cjs = require('../chunk-RQNNHO44.cjs');
|
|
33
|
-
var
|
|
32
|
+
var chunk6Y7MHSIT_cjs = require('../chunk-6Y7MHSIT.cjs');
|
|
34
33
|
var chunkBLAWERIU_cjs = require('../chunk-BLAWERIU.cjs');
|
|
35
34
|
var chunkYRVE6RX5_cjs = require('../chunk-YRVE6RX5.cjs');
|
|
36
35
|
var chunkDGG35TPO_cjs = require('../chunk-DGG35TPO.cjs');
|
|
@@ -38,11 +37,6 @@ var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
|
38
37
|
var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
|
|
39
38
|
var chunk2VJBIBPE_cjs = require('../chunk-2VJBIBPE.cjs');
|
|
40
39
|
var chunkIK4MSXXR_cjs = require('../chunk-IK4MSXXR.cjs');
|
|
41
|
-
var chunkCMXJUCTH_cjs = require('../chunk-CMXJUCTH.cjs');
|
|
42
|
-
require('../chunk-JH6JTI76.cjs');
|
|
43
|
-
var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
|
|
44
|
-
require('../chunk-DTMBAFIL.cjs');
|
|
45
|
-
require('../chunk-ZESMRGDV.cjs');
|
|
46
40
|
var chunkM6XUGXCY_cjs = require('../chunk-M6XUGXCY.cjs');
|
|
47
41
|
require('../chunk-7SJXYEZI.cjs');
|
|
48
42
|
var chunkWFNEZT7S_cjs = require('../chunk-WFNEZT7S.cjs');
|
|
@@ -50,18 +44,24 @@ require('../chunk-VIRQYEFL.cjs');
|
|
|
50
44
|
var chunkUAF2J7P7_cjs = require('../chunk-UAF2J7P7.cjs');
|
|
51
45
|
var chunkBFKTZUFT_cjs = require('../chunk-BFKTZUFT.cjs');
|
|
52
46
|
var chunkWV65MJ43_cjs = require('../chunk-WV65MJ43.cjs');
|
|
53
|
-
var
|
|
47
|
+
var chunkCMXJUCTH_cjs = require('../chunk-CMXJUCTH.cjs');
|
|
48
|
+
require('../chunk-JH6JTI76.cjs');
|
|
49
|
+
var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
|
|
50
|
+
require('../chunk-DTMBAFIL.cjs');
|
|
51
|
+
var chunk464YPRAE_cjs = require('../chunk-464YPRAE.cjs');
|
|
52
|
+
var chunkLCPU44GW_cjs = require('../chunk-LCPU44GW.cjs');
|
|
53
|
+
var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
|
|
54
|
+
require('../chunk-ZESMRGDV.cjs');
|
|
55
|
+
var chunkVJLW3UPL_cjs = require('../chunk-VJLW3UPL.cjs');
|
|
54
56
|
var chunkA4MBPDLX_cjs = require('../chunk-A4MBPDLX.cjs');
|
|
55
57
|
require('../chunk-NEGFHF3V.cjs');
|
|
56
58
|
var chunkI6GEQWIV_cjs = require('../chunk-I6GEQWIV.cjs');
|
|
57
59
|
var chunkZ3LFF3YT_cjs = require('../chunk-Z3LFF3YT.cjs');
|
|
58
60
|
var chunk4B6HYQTW_cjs = require('../chunk-4B6HYQTW.cjs');
|
|
59
|
-
require('../chunk-PCB2BPN3.cjs');
|
|
60
61
|
var chunkADMNU2CR_cjs = require('../chunk-ADMNU2CR.cjs');
|
|
62
|
+
require('../chunk-PCB2BPN3.cjs');
|
|
61
63
|
var chunkNX56DIG3_cjs = require('../chunk-NX56DIG3.cjs');
|
|
62
64
|
var chunk7EY5CYCS_cjs = require('../chunk-7EY5CYCS.cjs');
|
|
63
|
-
var chunkJIOHDVWH_cjs = require('../chunk-JIOHDVWH.cjs');
|
|
64
|
-
var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
|
|
65
65
|
var chunkMB3IQLNN_cjs = require('../chunk-MB3IQLNN.cjs');
|
|
66
66
|
var chunkMZZ3SBQL_cjs = require('../chunk-MZZ3SBQL.cjs');
|
|
67
67
|
var chunkLBRJA4ZJ_cjs = require('../chunk-LBRJA4ZJ.cjs');
|
|
@@ -70,8 +70,6 @@ require('../chunk-ZPPMAL5P.cjs');
|
|
|
70
70
|
var chunkC4TGESIB_cjs = require('../chunk-C4TGESIB.cjs');
|
|
71
71
|
require('../chunk-NWNVWO6L.cjs');
|
|
72
72
|
require('../chunk-SK6HQ46Q.cjs');
|
|
73
|
-
var chunkMNIQDXM6_cjs = require('../chunk-MNIQDXM6.cjs');
|
|
74
|
-
var chunkKJRWGAII_cjs = require('../chunk-KJRWGAII.cjs');
|
|
75
73
|
var chunkHI3NRSNC_cjs = require('../chunk-HI3NRSNC.cjs');
|
|
76
74
|
var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
|
|
77
75
|
var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
|
|
@@ -79,11 +77,13 @@ require('../chunk-OEJQFPWO.cjs');
|
|
|
79
77
|
require('../chunk-BQOL4XNZ.cjs');
|
|
80
78
|
var chunkTMX7YFVM_cjs = require('../chunk-TMX7YFVM.cjs');
|
|
81
79
|
var chunkLUO46ELJ_cjs = require('../chunk-LUO46ELJ.cjs');
|
|
82
|
-
var
|
|
80
|
+
var chunkJIOHDVWH_cjs = require('../chunk-JIOHDVWH.cjs');
|
|
81
|
+
var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
|
|
82
|
+
var chunk5YBH5CQD_cjs = require('../chunk-5YBH5CQD.cjs');
|
|
83
83
|
var chunkKNC77LZZ_cjs = require('../chunk-KNC77LZZ.cjs');
|
|
84
84
|
require('../chunk-I4IS6ST6.cjs');
|
|
85
85
|
require('../chunk-EVZH6Z5O.cjs');
|
|
86
|
-
var
|
|
86
|
+
var chunkHMS3GRMI_cjs = require('../chunk-HMS3GRMI.cjs');
|
|
87
87
|
require('../chunk-3YEXZX4H.cjs');
|
|
88
88
|
var chunkZHUQYIV3_cjs = require('../chunk-ZHUQYIV3.cjs');
|
|
89
89
|
var chunkOYXWQTHF_cjs = require('../chunk-OYXWQTHF.cjs');
|
|
@@ -93,6 +93,7 @@ require('../chunk-AHDJXIUB.cjs');
|
|
|
93
93
|
var chunk4PA6VCCR_cjs = require('../chunk-4PA6VCCR.cjs');
|
|
94
94
|
var chunkRL2HI6NP_cjs = require('../chunk-RL2HI6NP.cjs');
|
|
95
95
|
var chunk6UZC4XVV_cjs = require('../chunk-6UZC4XVV.cjs');
|
|
96
|
+
var chunkVZOOGA47_cjs = require('../chunk-VZOOGA47.cjs');
|
|
96
97
|
require('../chunk-ZK3D3RWK.cjs');
|
|
97
98
|
var chunkSJSGSHIT_cjs = require('../chunk-SJSGSHIT.cjs');
|
|
98
99
|
var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
|
|
@@ -101,9 +102,6 @@ var chunk25UUJRSJ_cjs = require('../chunk-25UUJRSJ.cjs');
|
|
|
101
102
|
var chunkVYJF4ZQY_cjs = require('../chunk-VYJF4ZQY.cjs');
|
|
102
103
|
var chunkM74FWYNL_cjs = require('../chunk-M74FWYNL.cjs');
|
|
103
104
|
require('../chunk-ZT5MIFLC.cjs');
|
|
104
|
-
var chunkI6SPGHFY_cjs = require('../chunk-I6SPGHFY.cjs');
|
|
105
|
-
var chunkQUMUAJ2P_cjs = require('../chunk-QUMUAJ2P.cjs');
|
|
106
|
-
var chunkVZOOGA47_cjs = require('../chunk-VZOOGA47.cjs');
|
|
107
105
|
var chunk32YCMXT2_cjs = require('../chunk-32YCMXT2.cjs');
|
|
108
106
|
require('../chunk-RT3M5WOS.cjs');
|
|
109
107
|
require('../chunk-7CSEMMDJ.cjs');
|
|
@@ -116,8 +114,8 @@ require('../chunk-Z2XZ2D4N.cjs');
|
|
|
116
114
|
require('../chunk-YZSQ7F5K.cjs');
|
|
117
115
|
require('../chunk-MCXS6X37.cjs');
|
|
118
116
|
require('../chunk-KQF7POTG.cjs');
|
|
119
|
-
var chunk75BNMCUX_cjs = require('../chunk-75BNMCUX.cjs');
|
|
120
117
|
var chunkZBP4ZSAJ_cjs = require('../chunk-ZBP4ZSAJ.cjs');
|
|
118
|
+
var chunk75BNMCUX_cjs = require('../chunk-75BNMCUX.cjs');
|
|
121
119
|
require('../chunk-IN6ILI5A.cjs');
|
|
122
120
|
require('../chunk-6K5CGISL.cjs');
|
|
123
121
|
var chunkMGVECEQQ_cjs = require('../chunk-MGVECEQQ.cjs');
|
|
@@ -125,9 +123,11 @@ var chunk5GQOIQCB_cjs = require('../chunk-5GQOIQCB.cjs');
|
|
|
125
123
|
require('../chunk-UDSHVNU3.cjs');
|
|
126
124
|
var chunkIPSHAMO2_cjs = require('../chunk-IPSHAMO2.cjs');
|
|
127
125
|
require('../chunk-PPCATBOY.cjs');
|
|
126
|
+
var chunkLJJJ6CYH_cjs = require('../chunk-LJJJ6CYH.cjs');
|
|
127
|
+
var chunkMNIQDXM6_cjs = require('../chunk-MNIQDXM6.cjs');
|
|
128
|
+
var chunkKJRWGAII_cjs = require('../chunk-KJRWGAII.cjs');
|
|
128
129
|
var chunkUIXY4HKM_cjs = require('../chunk-UIXY4HKM.cjs');
|
|
129
130
|
var chunkJDFBEGQO_cjs = require('../chunk-JDFBEGQO.cjs');
|
|
130
|
-
var chunkLJJJ6CYH_cjs = require('../chunk-LJJJ6CYH.cjs');
|
|
131
131
|
var chunkYN7ZQEHS_cjs = require('../chunk-YN7ZQEHS.cjs');
|
|
132
132
|
require('../chunk-7G2LJMUG.cjs');
|
|
133
133
|
require('../chunk-VLCY46K6.cjs');
|
|
@@ -244,7 +244,7 @@ function ConnectedWorkspaceActivity({
|
|
|
244
244
|
[feed.data]
|
|
245
245
|
);
|
|
246
246
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
247
|
-
|
|
247
|
+
chunkVJLW3UPL_cjs.WorkspaceActivityList,
|
|
248
248
|
{
|
|
249
249
|
...listProps,
|
|
250
250
|
items,
|
|
@@ -436,7 +436,7 @@ function resolveAttendeeUsers(attendees, known, me) {
|
|
|
436
436
|
if (a.kind === "room" || a.kind === "resource") continue;
|
|
437
437
|
const u = a.user_id && byId.get(a.user_id) || a.email && byEmail.get(a.email.toLowerCase());
|
|
438
438
|
if (!u || u.is_agent || !u.encryption_public_key || u.external_id === me) continue;
|
|
439
|
-
out.set(
|
|
439
|
+
out.set(chunkHUE76NAI_cjs.attendeeKey(a), {
|
|
440
440
|
external_id: u.external_id,
|
|
441
441
|
encryption_public_key: u.encryption_public_key
|
|
442
442
|
});
|
|
@@ -462,7 +462,7 @@ async function resolveAttendeeUsersRemote(arbi, attendees, known, me) {
|
|
|
462
462
|
try {
|
|
463
463
|
const found = await arbi.calendar.peopleKeys({ emails, user_ids: userIds });
|
|
464
464
|
const extra = resolveAttendeeUsers(
|
|
465
|
-
people.filter((a) => !local.has(
|
|
465
|
+
people.filter((a) => !local.has(chunkHUE76NAI_cjs.attendeeKey(a))),
|
|
466
466
|
found.map((f) => ({
|
|
467
467
|
external_id: f.user_id,
|
|
468
468
|
email: f.email,
|
|
@@ -539,7 +539,7 @@ async function loadEventWebinar(arbi, url, attendees) {
|
|
|
539
539
|
const a = attendees.find(
|
|
540
540
|
(x) => x.user_id === inv.user_ext_id || !!x.email && x.email.toLowerCase() === inv.email?.toLowerCase()
|
|
541
541
|
);
|
|
542
|
-
if (a) roles[
|
|
542
|
+
if (a) roles[chunkHUE76NAI_cjs.attendeeKey(a)] = inv.role ?? "attendee";
|
|
543
543
|
}
|
|
544
544
|
return roles;
|
|
545
545
|
}
|
|
@@ -1566,7 +1566,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1566
1566
|
onChange: (e) => {
|
|
1567
1567
|
const file = e.target.files?.[0];
|
|
1568
1568
|
e.target.value = "";
|
|
1569
|
-
if (file) void add(() =>
|
|
1569
|
+
if (file) void add(() => chunk5YBH5CQD_cjs.importSkillFile(file));
|
|
1570
1570
|
}
|
|
1571
1571
|
}
|
|
1572
1572
|
),
|
|
@@ -1591,7 +1591,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1591
1591
|
className: "space-y-2",
|
|
1592
1592
|
onSubmit: (e) => {
|
|
1593
1593
|
e.preventDefault();
|
|
1594
|
-
if (url.trim()) void add(() =>
|
|
1594
|
+
if (url.trim()) void add(() => chunk5YBH5CQD_cjs.importSkillFromUrl(url));
|
|
1595
1595
|
},
|
|
1596
1596
|
children: [
|
|
1597
1597
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
|
|
@@ -1654,9 +1654,9 @@ function ConnectedSkillsLibrary({
|
|
|
1654
1654
|
const [type, setType] = react$1.useState("all");
|
|
1655
1655
|
const [view, setView] = react$1.useState("gallery");
|
|
1656
1656
|
const [isBusy, setIsBusy] = react$1.useState(false);
|
|
1657
|
-
const all = react$1.useMemo(() =>
|
|
1657
|
+
const all = react$1.useMemo(() => chunk5YBH5CQD_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
|
|
1658
1658
|
const shown = react$1.useMemo(
|
|
1659
|
-
() =>
|
|
1659
|
+
() => chunk5YBH5CQD_cjs.filterLibrarySkills(all, { query, source, type }),
|
|
1660
1660
|
[all, query, source, type]
|
|
1661
1661
|
);
|
|
1662
1662
|
const current = all.find((s) => s.slug === selected) ?? null;
|
|
@@ -1667,21 +1667,21 @@ function ConnectedSkillsLibrary({
|
|
|
1667
1667
|
const count2 = (s) => all.filter((x) => x.source === s).length;
|
|
1668
1668
|
const sourceOptions = [
|
|
1669
1669
|
{ id: "all", label: "All", count: all.length },
|
|
1670
|
-
{ id: "builtin", label:
|
|
1671
|
-
{ id: "mine", label:
|
|
1672
|
-
{ id: "shared", label:
|
|
1670
|
+
{ id: "builtin", label: chunk5YBH5CQD_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
|
|
1671
|
+
{ id: "mine", label: chunk5YBH5CQD_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
|
|
1672
|
+
{ id: "shared", label: chunk5YBH5CQD_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
|
|
1673
1673
|
];
|
|
1674
1674
|
const types = [...new Set(all.map((s) => s.type))];
|
|
1675
1675
|
const typeOptions = [
|
|
1676
1676
|
{ id: "all", label: "Any kind" },
|
|
1677
|
-
...types.map((t) => ({ id: t, label:
|
|
1677
|
+
...types.map((t) => ({ id: t, label: chunk5YBH5CQD_cjs.SKILL_TYPE_LABELS[t] ?? t }))
|
|
1678
1678
|
];
|
|
1679
1679
|
const pick = (slug) => {
|
|
1680
1680
|
setSelected(slug);
|
|
1681
1681
|
setMode("detail");
|
|
1682
1682
|
};
|
|
1683
1683
|
const markdownOf = async (skill) => {
|
|
1684
|
-
if (!skill.docExtId) return
|
|
1684
|
+
if (!skill.docExtId) return chunk5YBH5CQD_cjs.workflowToSkillMarkdown(skill.workflow);
|
|
1685
1685
|
const response = await arbi.documents.download(skill.docExtId);
|
|
1686
1686
|
if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
|
|
1687
1687
|
return response.text();
|
|
@@ -1745,7 +1745,7 @@ function ConnectedSkillsLibrary({
|
|
|
1745
1745
|
try {
|
|
1746
1746
|
documentTools.downloadBlob(
|
|
1747
1747
|
new Blob([await markdownOf(skill)], { type: "text/markdown" }),
|
|
1748
|
-
|
|
1748
|
+
chunk5YBH5CQD_cjs.SKILL_MAIN_FILENAME
|
|
1749
1749
|
);
|
|
1750
1750
|
} catch (error) {
|
|
1751
1751
|
notify17(errorText(error, "Could not export the skill"), "error");
|
|
@@ -1786,10 +1786,10 @@ function ConnectedSkillsLibrary({
|
|
|
1786
1786
|
}
|
|
1787
1787
|
)
|
|
1788
1788
|
] }),
|
|
1789
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1789
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.SkillViewToggle, { value: view, onChange: setView })
|
|
1790
1790
|
] }),
|
|
1791
1791
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1792
|
-
|
|
1792
|
+
chunk5YBH5CQD_cjs.SkillFilterChips,
|
|
1793
1793
|
{
|
|
1794
1794
|
label: "Show",
|
|
1795
1795
|
value: source,
|
|
@@ -1798,7 +1798,7 @@ function ConnectedSkillsLibrary({
|
|
|
1798
1798
|
}
|
|
1799
1799
|
),
|
|
1800
1800
|
types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1801
|
-
|
|
1801
|
+
chunk5YBH5CQD_cjs.SkillFilterChips,
|
|
1802
1802
|
{
|
|
1803
1803
|
label: "Kind",
|
|
1804
1804
|
value: type,
|
|
@@ -1845,12 +1845,12 @@ function ConnectedSkillsLibrary({
|
|
|
1845
1845
|
view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
|
|
1846
1846
|
),
|
|
1847
1847
|
children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1848
|
-
|
|
1848
|
+
chunk5YBH5CQD_cjs.SkillTile,
|
|
1849
1849
|
{
|
|
1850
1850
|
name: skill.title,
|
|
1851
1851
|
testId: `skill-tile-${skill.slug}`,
|
|
1852
1852
|
description: skill.description,
|
|
1853
|
-
sourceLabel: skill.isShared ? `${
|
|
1853
|
+
sourceLabel: skill.isShared ? `${chunk5YBH5CQD_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunk5YBH5CQD_cjs.SKILL_SOURCE_LABELS[skill.source],
|
|
1854
1854
|
type: skill.type,
|
|
1855
1855
|
icon,
|
|
1856
1856
|
layout: view,
|
|
@@ -1885,7 +1885,7 @@ function ConnectedSkillsLibrary({
|
|
|
1885
1885
|
}
|
|
1886
1886
|
),
|
|
1887
1887
|
mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1888
|
-
|
|
1888
|
+
chunk5YBH5CQD_cjs.SkillGenerateForm,
|
|
1889
1889
|
{
|
|
1890
1890
|
icon,
|
|
1891
1891
|
onGenerate: (desc) => {
|
|
@@ -1912,11 +1912,11 @@ function ConnectedSkillsLibrary({
|
|
|
1912
1912
|
),
|
|
1913
1913
|
mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
|
|
1914
1914
|
mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1915
|
-
|
|
1915
|
+
chunk5YBH5CQD_cjs.SkillLibraryDetail,
|
|
1916
1916
|
{
|
|
1917
1917
|
skill: current,
|
|
1918
1918
|
icon,
|
|
1919
|
-
instructions: current.docExtId ? currentText ?
|
|
1919
|
+
instructions: current.docExtId ? currentText ? chunk5YBH5CQD_cjs.parseSkillFrontmatter(currentText, chunk5YBH5CQD_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
|
|
1920
1920
|
isLoading: !!current.docExtId && textLoading,
|
|
1921
1921
|
actions: {
|
|
1922
1922
|
onRun: () => onRun(current.slug),
|
|
@@ -1951,7 +1951,7 @@ function SkillEditor({
|
|
|
1951
1951
|
const [seeded, setSeeded] = react$1.useState(!isEditing);
|
|
1952
1952
|
const [nameError, setNameError] = react$1.useState(null);
|
|
1953
1953
|
if (isEditing && !seeded && text2 !== void 0) {
|
|
1954
|
-
const parsed =
|
|
1954
|
+
const parsed = chunk5YBH5CQD_cjs.parseSkillFrontmatter(text2, chunk5YBH5CQD_cjs.SKILL_MAIN_FILENAME);
|
|
1955
1955
|
setDescription(parsed.description ?? "");
|
|
1956
1956
|
setBody(parsed.content ?? "");
|
|
1957
1957
|
setSeeded(true);
|
|
@@ -1965,15 +1965,15 @@ function SkillEditor({
|
|
|
1965
1965
|
notify17("Add a short description.", "error");
|
|
1966
1966
|
return;
|
|
1967
1967
|
}
|
|
1968
|
-
const slug =
|
|
1968
|
+
const slug = chunk5YBH5CQD_cjs.skillSlug(name);
|
|
1969
1969
|
try {
|
|
1970
|
-
await onSave(slug,
|
|
1970
|
+
await onSave(slug, chunk5YBH5CQD_cjs.serializeSkill({ name: slug, description, body }), isEditing);
|
|
1971
1971
|
} catch (err) {
|
|
1972
1972
|
notify17(errorText(err, "Could not save the skill"), "error");
|
|
1973
1973
|
}
|
|
1974
1974
|
};
|
|
1975
1975
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1976
|
-
|
|
1976
|
+
chunk5YBH5CQD_cjs.SkillEditForm,
|
|
1977
1977
|
{
|
|
1978
1978
|
name,
|
|
1979
1979
|
onNameChange: setName,
|
|
@@ -2012,7 +2012,7 @@ var DEFAULT_CONNECTED_SKILLS_BROWSER_LABELS = {
|
|
|
2012
2012
|
function ConnectedSkillsBrowser({
|
|
2013
2013
|
props,
|
|
2014
2014
|
onClose: close,
|
|
2015
|
-
builtins =
|
|
2015
|
+
builtins = chunk5YBH5CQD_cjs.BUILTIN_SKILLS,
|
|
2016
2016
|
renderEditor,
|
|
2017
2017
|
labels
|
|
2018
2018
|
}) {
|
|
@@ -2065,7 +2065,7 @@ function ConnectedSkillsBrowser({
|
|
|
2065
2065
|
}
|
|
2066
2066
|
) }),
|
|
2067
2067
|
runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2068
|
-
|
|
2068
|
+
chunkYACOI5ZU_cjs.ConnectedTaskComposer,
|
|
2069
2069
|
{
|
|
2070
2070
|
kind: "workflow",
|
|
2071
2071
|
open: true,
|
|
@@ -2089,9 +2089,9 @@ function ConnectedAgentCreator({
|
|
|
2089
2089
|
agent,
|
|
2090
2090
|
initialName,
|
|
2091
2091
|
onSaved,
|
|
2092
|
-
capabilities =
|
|
2093
|
-
templates =
|
|
2094
|
-
types =
|
|
2092
|
+
capabilities = chunk5YBH5CQD_cjs.DEFAULT_AGENT_CAPABILITIES,
|
|
2093
|
+
templates = chunk5YBH5CQD_cjs.DEFAULT_AGENT_TEMPLATES,
|
|
2094
|
+
types = chunk5YBH5CQD_cjs.DEFAULT_AGENT_TYPES,
|
|
2095
2095
|
canRevokeWorkspaces = false,
|
|
2096
2096
|
labels
|
|
2097
2097
|
}) {
|
|
@@ -2133,7 +2133,7 @@ function ConnectedAgentCreator({
|
|
|
2133
2133
|
const initialValues = react$1.useMemo(
|
|
2134
2134
|
() => ({
|
|
2135
2135
|
name: agent?.given_name ?? initialName ?? "",
|
|
2136
|
-
persona: isEdit ?
|
|
2136
|
+
persona: isEdit ? chunk5YBH5CQD_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
|
|
2137
2137
|
modelName: String(agents.AGENT_MODEL_NAME ?? ""),
|
|
2138
2138
|
capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
|
|
2139
2139
|
type: "builtin",
|
|
@@ -2152,7 +2152,7 @@ function ConnectedAgentCreator({
|
|
|
2152
2152
|
try {
|
|
2153
2153
|
let agentExtId = agent?.external_id ?? early?.id ?? "";
|
|
2154
2154
|
if (!agentExtId) {
|
|
2155
|
-
if (!
|
|
2155
|
+
if (!chunk5YBH5CQD_cjs.isValidAgentName(values.name)) {
|
|
2156
2156
|
notify17("Give the agent a name first.", "error");
|
|
2157
2157
|
return;
|
|
2158
2158
|
}
|
|
@@ -2188,7 +2188,7 @@ function ConnectedAgentCreator({
|
|
|
2188
2188
|
title: `agent-${name}`,
|
|
2189
2189
|
sections: {
|
|
2190
2190
|
Agents: {
|
|
2191
|
-
PERSONA:
|
|
2191
|
+
PERSONA: chunk5YBH5CQD_cjs.composePersona(name, values.persona),
|
|
2192
2192
|
...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
|
|
2193
2193
|
...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
|
|
2194
2194
|
ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
|
|
@@ -2211,7 +2211,7 @@ function ConnectedAgentCreator({
|
|
|
2211
2211
|
};
|
|
2212
2212
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2213
2213
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2214
|
-
|
|
2214
|
+
chunk5YBH5CQD_cjs.AgentCreator,
|
|
2215
2215
|
{
|
|
2216
2216
|
open: ready,
|
|
2217
2217
|
onOpenChange,
|
|
@@ -2227,11 +2227,11 @@ function ConnectedAgentCreator({
|
|
|
2227
2227
|
) : void 0,
|
|
2228
2228
|
revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
|
|
2229
2229
|
avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2230
|
-
|
|
2230
|
+
chunk5YBH5CQD_cjs.AgentAvatarField,
|
|
2231
2231
|
{
|
|
2232
2232
|
picture,
|
|
2233
2233
|
isBusy: avatarBusy,
|
|
2234
|
-
canGenerate: isEdit ||
|
|
2234
|
+
canGenerate: isEdit || chunk5YBH5CQD_cjs.isValidAgentName(values.name),
|
|
2235
2235
|
onGenerate: () => handleGenerateAvatar(values)
|
|
2236
2236
|
}
|
|
2237
2237
|
),
|
|
@@ -2283,7 +2283,7 @@ function ConnectedAgentCreator({
|
|
|
2283
2283
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
|
|
2284
2284
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
|
|
2285
2285
|
] }),
|
|
2286
|
-
connect && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2286
|
+
connect && /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
|
|
2287
2287
|
]
|
|
2288
2288
|
}
|
|
2289
2289
|
) })
|
|
@@ -2430,7 +2430,7 @@ function AgentChat({ agentId, workspaceId, onOpenFull }) {
|
|
|
2430
2430
|
placeholder: "Ask your agent\u2026",
|
|
2431
2431
|
conversations: "Agent chats"
|
|
2432
2432
|
},
|
|
2433
|
-
renderContent: (message) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2433
|
+
renderContent: (message) => /* @__PURE__ */ jsxRuntime.jsx(chunk6Y7MHSIT_cjs.DocumentWorkspaceContext.Provider, { value: workspaceId, children: /* @__PURE__ */ jsxRuntime.jsx(chunk6Y7MHSIT_cjs.ConnectedMarkdown, { isStreaming: message.status === "streaming", children: message.content }) })
|
|
2434
2434
|
}
|
|
2435
2435
|
)
|
|
2436
2436
|
] });
|
|
@@ -2675,7 +2675,7 @@ function useMemoryCount(enabled) {
|
|
|
2675
2675
|
}
|
|
2676
2676
|
function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
2677
2677
|
const { notify: notify17, openConversation, openDocument } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
2678
|
-
const people =
|
|
2678
|
+
const people = chunkYACOI5ZU_cjs.useTaskPeople();
|
|
2679
2679
|
const canEditShared = react.useCanEditShared();
|
|
2680
2680
|
const isWorkspaceOwner = react.useIsWorkspaceOwner();
|
|
2681
2681
|
const { data: workflows = [] } = react.useWorkflows({ live: true });
|
|
@@ -2701,7 +2701,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2701
2701
|
}, [documents]);
|
|
2702
2702
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2703
2703
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2704
|
-
|
|
2704
|
+
chunk5YBH5CQD_cjs.TaskTable,
|
|
2705
2705
|
{
|
|
2706
2706
|
tasks,
|
|
2707
2707
|
isLoading,
|
|
@@ -2728,7 +2728,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2728
2728
|
}
|
|
2729
2729
|
),
|
|
2730
2730
|
activityFor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2731
|
-
|
|
2731
|
+
chunkYACOI5ZU_cjs.ConnectedTaskActivityDialog,
|
|
2732
2732
|
{
|
|
2733
2733
|
conversationId: activityFor.external_id,
|
|
2734
2734
|
taskName: activityFor.title || l.untitledTask,
|
|
@@ -2744,7 +2744,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
|
|
|
2744
2744
|
const { notify: notify17, openConversation } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
2745
2745
|
const { workspaceId, ensureWorkspaceOpen } = chunkWV65MJ43_cjs.useConnectedWorkspace();
|
|
2746
2746
|
const { data: skills = [] } = react.useSkills({ enabled: !!workspaceId, live: true });
|
|
2747
|
-
const workflowTasks =
|
|
2747
|
+
const workflowTasks = chunkYACOI5ZU_cjs.useWorkflowTasks();
|
|
2748
2748
|
const launchable = react$1.useMemo(
|
|
2749
2749
|
() => [
|
|
2750
2750
|
...workflows,
|
|
@@ -2767,7 +2767,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
|
|
|
2767
2767
|
[workflows, skills, l.skillFiles]
|
|
2768
2768
|
);
|
|
2769
2769
|
const launch = async ({ workflow, inputs, agentId }) => {
|
|
2770
|
-
const values =
|
|
2770
|
+
const values = chunk5YBH5CQD_cjs.defaultTaskComposerValues(launchable, {
|
|
2771
2771
|
workflowId: workflow.id,
|
|
2772
2772
|
assignee: "agent",
|
|
2773
2773
|
inputs,
|
|
@@ -2788,7 +2788,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
|
|
|
2788
2788
|
}
|
|
2789
2789
|
};
|
|
2790
2790
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2791
|
-
|
|
2791
|
+
chunkCLPDKHSP_cjs.ConnectedWorkflowLauncher,
|
|
2792
2792
|
{
|
|
2793
2793
|
workflows: launchable,
|
|
2794
2794
|
onLaunch: launch,
|
|
@@ -2887,7 +2887,7 @@ function ConnectedAgentsPageScope(props) {
|
|
|
2887
2887
|
children,
|
|
2888
2888
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
|
|
2889
2889
|
taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2890
|
-
|
|
2890
|
+
chunkYACOI5ZU_cjs.ConnectedTaskComposer,
|
|
2891
2891
|
{
|
|
2892
2892
|
open: true,
|
|
2893
2893
|
onOpenChange: (open) => !open && setTaskDialog(null),
|
|
@@ -2909,7 +2909,7 @@ function AgentsGallery() {
|
|
|
2909
2909
|
cardTestIds
|
|
2910
2910
|
} = agentOptions;
|
|
2911
2911
|
const { openConversation } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
2912
|
-
const tasksByAgent = react$1.useMemo(() =>
|
|
2912
|
+
const tasksByAgent = react$1.useMemo(() => chunk5YBH5CQD_cjs.groupAgentTasks(tasks), [tasks]);
|
|
2913
2913
|
const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
|
|
2914
2914
|
const { agents } = management;
|
|
2915
2915
|
const cardDetails = (agent) => details.map(
|
|
@@ -2924,7 +2924,7 @@ function AgentsGallery() {
|
|
|
2924
2924
|
) : 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)
|
|
2925
2925
|
);
|
|
2926
2926
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2927
|
-
|
|
2927
|
+
chunk5YBH5CQD_cjs.AgentGallery,
|
|
2928
2928
|
{
|
|
2929
2929
|
count: agents.length,
|
|
2930
2930
|
onCreate: management.create,
|
|
@@ -2934,9 +2934,9 @@ function AgentsGallery() {
|
|
|
2934
2934
|
const agentTasks = tasksByAgent.get(agent.external_id) ?? [];
|
|
2935
2935
|
const running = agentTasks.filter((t) => t.in_progress);
|
|
2936
2936
|
const watchConversationId = running[0]?.external_id ?? null;
|
|
2937
|
-
const progress = agentTasks[0] ?
|
|
2937
|
+
const progress = agentTasks[0] ? chunk5YBH5CQD_cjs.goalProgress(agentTasks[0]) : null;
|
|
2938
2938
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2939
|
-
|
|
2939
|
+
chunk5YBH5CQD_cjs.AgentCard,
|
|
2940
2940
|
{
|
|
2941
2941
|
name: displayName(agent),
|
|
2942
2942
|
avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
|
|
@@ -3044,7 +3044,7 @@ function AgentsSectionBody({ id }) {
|
|
|
3044
3044
|
) });
|
|
3045
3045
|
case "scheduled":
|
|
3046
3046
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[min(32rem,70dvh)] min-h-64 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3047
|
-
|
|
3047
|
+
chunkCLPDKHSP_cjs.ConnectedWorkflowsTable,
|
|
3048
3048
|
{
|
|
3049
3049
|
filter: "scheduled",
|
|
3050
3050
|
onEdit: (w) => openWorkflow?.(w.external_id),
|
|
@@ -3348,7 +3348,7 @@ function ConnectedTagTable({
|
|
|
3348
3348
|
const fail2 = (fallback) => (e) => notify17(browser.refusalReason(e, fallback), "error");
|
|
3349
3349
|
const snapshot2 = (data) => {
|
|
3350
3350
|
const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
|
|
3351
|
-
const bytes =
|
|
3351
|
+
const bytes = chunkVJLW3UPL_cjs.tagTableDocx(data, {
|
|
3352
3352
|
title,
|
|
3353
3353
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
3354
3354
|
});
|
|
@@ -3357,7 +3357,7 @@ function ConnectedTagTable({
|
|
|
3357
3357
|
return { blob: new Blob([bytes], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }), name };
|
|
3358
3358
|
};
|
|
3359
3359
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3360
|
-
|
|
3360
|
+
chunkVJLW3UPL_cjs.TagTable,
|
|
3361
3361
|
{
|
|
3362
3362
|
...props,
|
|
3363
3363
|
table,
|
|
@@ -3718,9 +3718,9 @@ function GlossaryExport({ labelId, nameOf }) {
|
|
|
3718
3718
|
const narrowed = agreements.find((a) => a.id === narrowTo);
|
|
3719
3719
|
const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
|
|
3720
3720
|
const download = (format) => {
|
|
3721
|
-
const entries =
|
|
3722
|
-
const blob = format === "docx" ? new Blob([
|
|
3723
|
-
documentTools.downloadBlob(blob,
|
|
3721
|
+
const entries = chunkVJLW3UPL_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
|
|
3722
|
+
const blob = format === "docx" ? new Blob([chunkVJLW3UPL_cjs.glossaryDocx(entries, { title })], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }) : new Blob([chunkVJLW3UPL_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
|
|
3723
|
+
documentTools.downloadBlob(blob, chunkVJLW3UPL_cjs.glossaryFileName(title, format));
|
|
3724
3724
|
};
|
|
3725
3725
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
|
|
3726
3726
|
agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -4249,7 +4249,7 @@ function KindSection({
|
|
|
4249
4249
|
{
|
|
4250
4250
|
testId: `tags-kind-${kind}`,
|
|
4251
4251
|
title: ui.tagKindTitle(kind, { plural: true }),
|
|
4252
|
-
description:
|
|
4252
|
+
description: chunkVJLW3UPL_cjs.tagKindDescription(kind),
|
|
4253
4253
|
children: [
|
|
4254
4254
|
browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4255
4255
|
"p",
|
|
@@ -4259,9 +4259,9 @@ function KindSection({
|
|
|
4259
4259
|
children: [
|
|
4260
4260
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
|
|
4261
4261
|
"Extracting ",
|
|
4262
|
-
|
|
4262
|
+
chunkVJLW3UPL_cjs.entitiesPhrase().toLowerCase(),
|
|
4263
4263
|
" from ",
|
|
4264
|
-
|
|
4264
|
+
chunkVJLW3UPL_cjs.documentCount(extractingCount),
|
|
4265
4265
|
"\u2026"
|
|
4266
4266
|
]
|
|
4267
4267
|
}
|
|
@@ -4279,7 +4279,7 @@ function KindSection({
|
|
|
4279
4279
|
onOpenTag: ctx.onOpenTag,
|
|
4280
4280
|
onOpenRow: ctx.onOpenTag,
|
|
4281
4281
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4282
|
-
labels:
|
|
4282
|
+
labels: chunkVJLW3UPL_cjs.tagTableLabels(kind),
|
|
4283
4283
|
testId: `tags-table-${kind}`
|
|
4284
4284
|
}
|
|
4285
4285
|
)
|
|
@@ -4387,15 +4387,15 @@ function TagSection({
|
|
|
4387
4387
|
onOpenTag: ctx.onOpenTag,
|
|
4388
4388
|
onOpenRow: ctx.onOpenTag,
|
|
4389
4389
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4390
|
-
labels:
|
|
4390
|
+
labels: chunkVJLW3UPL_cjs.tagTableLabels(tag.kind),
|
|
4391
4391
|
testId: "tags-rows"
|
|
4392
4392
|
}
|
|
4393
4393
|
),
|
|
4394
4394
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4395
|
-
|
|
4395
|
+
chunkVJLW3UPL_cjs.TagDetail,
|
|
4396
4396
|
{
|
|
4397
4397
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4398
|
-
fieldLabels:
|
|
4398
|
+
fieldLabels: chunkVJLW3UPL_cjs.tagTableLabels(tag.kind),
|
|
4399
4399
|
row: detailRow,
|
|
4400
4400
|
fields: schema.data?.fields ?? [],
|
|
4401
4401
|
isLoading: detail.isLoading,
|
|
@@ -4403,7 +4403,7 @@ function TagSection({
|
|
|
4403
4403
|
tags: tagOptions,
|
|
4404
4404
|
onOpenTag: ctx.onOpenTag,
|
|
4405
4405
|
onChangeValue: (id, fieldId, value) => setValues.mutateAsync({ tagId: id, values: { [fieldId]: value } }).catch((e) => notify17(browser.refusalReason(e, "Could not save the value"), "error")),
|
|
4406
|
-
labels:
|
|
4406
|
+
labels: chunkVJLW3UPL_cjs.tagDetailLabels(),
|
|
4407
4407
|
testId: "tags-detail"
|
|
4408
4408
|
}
|
|
4409
4409
|
)
|
|
@@ -4478,7 +4478,7 @@ function ConnectedTagsPage() {
|
|
|
4478
4478
|
const onDelete = async (t) => {
|
|
4479
4479
|
const nested = browser.getChildTags([...tags], t.external_id);
|
|
4480
4480
|
const uses = browser.tagUseCount(t);
|
|
4481
|
-
const n2 =
|
|
4481
|
+
const n2 = chunkVJLW3UPL_cjs.tagsPageNouns();
|
|
4482
4482
|
const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
|
|
4483
4483
|
const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
|
|
4484
4484
|
const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
|
|
@@ -4499,11 +4499,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
4499
4499
|
try {
|
|
4500
4500
|
await extract.mutateAsync(docIds);
|
|
4501
4501
|
notify17(
|
|
4502
|
-
`Extracting ${
|
|
4502
|
+
`Extracting ${chunkVJLW3UPL_cjs.entitiesPhrase().toLowerCase()} from ${chunkVJLW3UPL_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
|
|
4503
4503
|
"info"
|
|
4504
4504
|
);
|
|
4505
4505
|
} catch (error) {
|
|
4506
|
-
notify17(browser.refusalReason(error, `Could not extract ${
|
|
4506
|
+
notify17(browser.refusalReason(error, `Could not extract ${chunkVJLW3UPL_cjs.entitiesPhrase().toLowerCase()}`), "error");
|
|
4507
4507
|
throw error;
|
|
4508
4508
|
}
|
|
4509
4509
|
};
|
|
@@ -4517,10 +4517,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
4517
4517
|
onOpenTag: openTag,
|
|
4518
4518
|
onOpenTaggedItems
|
|
4519
4519
|
};
|
|
4520
|
-
const n =
|
|
4520
|
+
const n = chunkVJLW3UPL_cjs.tagsPageNouns();
|
|
4521
4521
|
const action = view === "person" || view === "organisation" ? {
|
|
4522
4522
|
label: "Extract",
|
|
4523
|
-
title: `Extract ${
|
|
4523
|
+
title: `Extract ${chunkVJLW3UPL_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
|
|
4524
4524
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
|
|
4525
4525
|
run: () => setExtracting(true),
|
|
4526
4526
|
testId: "tags-extract-entities"
|
|
@@ -4689,7 +4689,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
4689
4689
|
}
|
|
4690
4690
|
),
|
|
4691
4691
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4692
|
-
|
|
4692
|
+
chunkVJLW3UPL_cjs.ExtractEntitiesDialog,
|
|
4693
4693
|
{
|
|
4694
4694
|
open: extracting,
|
|
4695
4695
|
onOpenChange: setExtracting,
|
|
@@ -6166,7 +6166,7 @@ function ConnectedFactsSmartSearch({
|
|
|
6166
6166
|
const runSearch = () => search().catch(() => notify17(`Could not search ${factsWord}. Please try again.`, "error"));
|
|
6167
6167
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "facts-smart-search", children: [
|
|
6168
6168
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6169
|
-
|
|
6169
|
+
chunkVK5Q5JXU_cjs.FactSearchBar,
|
|
6170
6170
|
{
|
|
6171
6171
|
query,
|
|
6172
6172
|
onQueryChange: setQuery,
|
|
@@ -6175,7 +6175,7 @@ function ConnectedFactsSmartSearch({
|
|
|
6175
6175
|
isSearching
|
|
6176
6176
|
}
|
|
6177
6177
|
),
|
|
6178
|
-
!isSearching && hits !== null && hits.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6178
|
+
!isSearching && hits !== null && hits.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkVK5Q5JXU_cjs.FactSearchTotals, { children: [
|
|
6179
6179
|
hits.length.toLocaleString(),
|
|
6180
6180
|
" ",
|
|
6181
6181
|
hits.length === 1 ? factWord : factsWord,
|
|
@@ -6183,18 +6183,18 @@ function ConnectedFactsSmartSearch({
|
|
|
6183
6183
|
lastQuery,
|
|
6184
6184
|
"\u201D"
|
|
6185
6185
|
] }),
|
|
6186
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-4 pb-3", children: isSearching ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6186
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-4 pb-3", children: isSearching ? /* @__PURE__ */ jsxRuntime.jsxs(chunkVK5Q5JXU_cjs.FactSearchPending, { children: [
|
|
6187
6187
|
"Searching ",
|
|
6188
6188
|
factsWord,
|
|
6189
6189
|
"\u2026"
|
|
6190
|
-
] }) : hits === null ? /* @__PURE__ */ jsxRuntime.jsx(chunkNX56DIG3_cjs.SearchEmptyState, { nouns, count: allFacts.length }) : hits.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6190
|
+
] }) : hits === null ? /* @__PURE__ */ jsxRuntime.jsx(chunkNX56DIG3_cjs.SearchEmptyState, { nouns, count: allFacts.length }) : hits.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkVK5Q5JXU_cjs.FactSearchNoMatches, { children: [
|
|
6191
6191
|
"No ",
|
|
6192
6192
|
factsWord,
|
|
6193
6193
|
" matched \u201C",
|
|
6194
6194
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground", children: lastQuery }),
|
|
6195
6195
|
"\u201D."
|
|
6196
6196
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: hits.map((h, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
6197
|
-
|
|
6197
|
+
chunkVK5Q5JXU_cjs.FactSearchResult,
|
|
6198
6198
|
{
|
|
6199
6199
|
id: h.external_id,
|
|
6200
6200
|
rank: i + 1,
|
|
@@ -6294,7 +6294,7 @@ function FactSourcesPopover({
|
|
|
6294
6294
|
const olderVersion = refOf(docId) !== docId ? refOf(docId).split("@v")[1] : null;
|
|
6295
6295
|
const cited = passagesOf(docId);
|
|
6296
6296
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6297
|
-
|
|
6297
|
+
chunkVK5Q5JXU_cjs.FactSourceGroup,
|
|
6298
6298
|
{
|
|
6299
6299
|
docId,
|
|
6300
6300
|
isViewing,
|
|
@@ -6383,7 +6383,7 @@ function FactMarkdownEditor({
|
|
|
6383
6383
|
const editorRef = react$1.useRef(null);
|
|
6384
6384
|
react$1.useEffect(() => {
|
|
6385
6385
|
if (!editorRef.current) return;
|
|
6386
|
-
return
|
|
6386
|
+
return chunkVK5Q5JXU_cjs.enableFactTableColumnResize(editorRef.current);
|
|
6387
6387
|
}, []);
|
|
6388
6388
|
react$1.useEffect(() => {
|
|
6389
6389
|
if (!editing) return;
|
|
@@ -7022,7 +7022,7 @@ function useFactFilters(notes, view, chat) {
|
|
|
7022
7022
|
const makeTagPicker = react$1.useCallback(
|
|
7023
7023
|
(selected, setSelected, opts) => {
|
|
7024
7024
|
const applied = new Set(selected);
|
|
7025
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7025
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkVK5Q5JXU_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7026
7026
|
chunkDGG35TPO_cjs.FieldLabelsSelect,
|
|
7027
7027
|
{
|
|
7028
7028
|
options: labelOptions,
|
|
@@ -7214,14 +7214,14 @@ function useFactSelection(notes, gridApiRef, setFactTags, chat) {
|
|
|
7214
7214
|
}
|
|
7215
7215
|
function renderSourcesCell(params) {
|
|
7216
7216
|
const fact = params.data;
|
|
7217
|
-
const count2 =
|
|
7217
|
+
const count2 = chunkVK5Q5JXU_cjs.sourceDocCount(fact);
|
|
7218
7218
|
if (!fact || count2 === 0) return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground/40", children: "\u2014" });
|
|
7219
7219
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7220
7220
|
"button",
|
|
7221
7221
|
{
|
|
7222
7222
|
type: "button",
|
|
7223
7223
|
onClick: () => params.context?.openEdit?.(fact),
|
|
7224
|
-
title:
|
|
7224
|
+
title: chunkVK5Q5JXU_cjs.DEFAULT_FACT_COLUMN_LABELS.sourcedFrom(count2),
|
|
7225
7225
|
"data-testid": `facts-grid-sources-${fact.external_id}`,
|
|
7226
7226
|
className: "inline-flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground",
|
|
7227
7227
|
children: [
|
|
@@ -7278,14 +7278,14 @@ function createFactPageColumns({
|
|
|
7278
7278
|
onToggleConfirmed,
|
|
7279
7279
|
onToggleShared
|
|
7280
7280
|
}) {
|
|
7281
|
-
const columns =
|
|
7281
|
+
const columns = chunkVK5Q5JXU_cjs.createFactColumns({
|
|
7282
7282
|
onToggleInChat,
|
|
7283
7283
|
isInChat,
|
|
7284
7284
|
renderHeader: (params, colId) => /* @__PURE__ */ jsxRuntime.jsx(FactHeader, { params, colId }),
|
|
7285
7285
|
renderRowActions: (fact, params) => {
|
|
7286
7286
|
const ctx = params.context;
|
|
7287
7287
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7288
|
-
|
|
7288
|
+
chunkVK5Q5JXU_cjs.FactRowActions,
|
|
7289
7289
|
{
|
|
7290
7290
|
onEdit: () => ctx?.openEdit?.(fact),
|
|
7291
7291
|
canEdit: ctx?.canRewrite?.(fact) !== false,
|
|
@@ -7415,7 +7415,7 @@ function useFactsGrid({
|
|
|
7415
7415
|
);
|
|
7416
7416
|
const renderFactTags = react$1.useCallback(
|
|
7417
7417
|
(fact, rowHeight) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
7418
|
-
|
|
7418
|
+
chunkVK5Q5JXU_cjs.FactLabelsCell,
|
|
7419
7419
|
{
|
|
7420
7420
|
options: labelOptions,
|
|
7421
7421
|
selectedIds: fact.tags.map((t) => t.tag_ext_id),
|
|
@@ -7780,7 +7780,7 @@ function ConnectedFactsPage() {
|
|
|
7780
7780
|
};
|
|
7781
7781
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: setFactSection, className: "relative flex h-full flex-col", "data-testid": "facts-page", children: [
|
|
7782
7782
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7783
|
-
|
|
7783
|
+
chunkVK5Q5JXU_cjs.FactsToolbar,
|
|
7784
7784
|
{
|
|
7785
7785
|
count: filteredNotes.length,
|
|
7786
7786
|
hasActiveFilters: filters.hasActiveFilters,
|
|
@@ -7809,7 +7809,7 @@ function ConnectedFactsPage() {
|
|
|
7809
7809
|
onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
|
|
7810
7810
|
navSlotRef: setNavSlot,
|
|
7811
7811
|
navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
7812
|
-
|
|
7812
|
+
chunkVJLW3UPL_cjs.GridRowNavigator,
|
|
7813
7813
|
{
|
|
7814
7814
|
gridApi,
|
|
7815
7815
|
selectedId: editingId,
|
|
@@ -7820,7 +7820,7 @@ function ConnectedFactsPage() {
|
|
|
7820
7820
|
) : null,
|
|
7821
7821
|
showToolbarRow: view !== "smart_search",
|
|
7822
7822
|
tools: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7823
|
-
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7823
|
+
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkVK5Q5JXU_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
|
|
7824
7824
|
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7825
7825
|
chunkDGG35TPO_cjs.RowDensityControl,
|
|
7826
7826
|
{
|
|
@@ -7858,7 +7858,7 @@ function ConnectedFactsPage() {
|
|
|
7858
7858
|
}
|
|
7859
7859
|
) }),
|
|
7860
7860
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7861
|
-
|
|
7861
|
+
chunkVK5Q5JXU_cjs.FactComposer,
|
|
7862
7862
|
{
|
|
7863
7863
|
isOpen: composing,
|
|
7864
7864
|
isEditing: !!editingId,
|
|
@@ -7888,7 +7888,7 @@ function ConnectedFactsPage() {
|
|
|
7888
7888
|
reserveSourcesSpace: view === "gantt" || view === "calendar",
|
|
7889
7889
|
citationContainer: factSection,
|
|
7890
7890
|
renderDocumentPicker: (onSelect, selectedIds, onOpen, sourcesToggle, sourcesOpen) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
7891
|
-
|
|
7891
|
+
chunkVK5Q5JXU_cjs.FactSourcesRow,
|
|
7892
7892
|
{
|
|
7893
7893
|
toggle: sourcesToggle,
|
|
7894
7894
|
picker: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -7934,7 +7934,7 @@ function ConnectedFactsPage() {
|
|
|
7934
7934
|
}
|
|
7935
7935
|
),
|
|
7936
7936
|
dateInput: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7937
|
-
|
|
7937
|
+
chunkVK5Q5JXU_cjs.FactDateInput,
|
|
7938
7938
|
{
|
|
7939
7939
|
value: composer.draftDateFields,
|
|
7940
7940
|
onChange: composer.setDraftDateFields,
|
|
@@ -7944,7 +7944,7 @@ function ConnectedFactsPage() {
|
|
|
7944
7944
|
}
|
|
7945
7945
|
),
|
|
7946
7946
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "scrollbar-subtle flex-1 overflow-y-auto pb-2", children: [
|
|
7947
|
-
isLoading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
7947
|
+
isLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkVK5Q5JXU_cjs.FactsLoading, {}) : isError ? /* @__PURE__ */ jsxRuntime.jsx(chunkVK5Q5JXU_cjs.FactsLoadError, { onRetry: () => refetch() }) : view === "smart_search" ? (
|
|
7948
7948
|
// Searches facts only (never documents). Kept before the empty-state guard so the
|
|
7949
7949
|
// search UI is reachable even in an empty workspace.
|
|
7950
7950
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -7957,7 +7957,7 @@ function ConnectedFactsPage() {
|
|
|
7957
7957
|
)
|
|
7958
7958
|
) : notes.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-full flex-col items-center justify-center", children: [
|
|
7959
7959
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7960
|
-
|
|
7960
|
+
chunkVK5Q5JXU_cjs.FactsEmptyState,
|
|
7961
7961
|
{
|
|
7962
7962
|
onUseExample: (text2) => {
|
|
7963
7963
|
composer.setDraft(text2);
|
|
@@ -7968,7 +7968,7 @@ function ConnectedFactsPage() {
|
|
|
7968
7968
|
),
|
|
7969
7969
|
/* @__PURE__ */ jsxRuntime.jsx(FactsFindInDocuments, {})
|
|
7970
7970
|
] }) : view === "calendar" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
7971
|
-
|
|
7971
|
+
chunkVK5Q5JXU_cjs.FactsCalendar,
|
|
7972
7972
|
{
|
|
7973
7973
|
facts: filteredNotes,
|
|
7974
7974
|
onSelect: (n) => openEditIfAllowed(n),
|
|
@@ -7977,7 +7977,7 @@ function ConnectedFactsPage() {
|
|
|
7977
7977
|
navigatorTotal: filteredNotes.length
|
|
7978
7978
|
}
|
|
7979
7979
|
) : view === "gantt" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
7980
|
-
|
|
7980
|
+
chunkVK5Q5JXU_cjs.FactsGanttPane,
|
|
7981
7981
|
{
|
|
7982
7982
|
items: ganttItems,
|
|
7983
7983
|
labelWidth: pageView.labelWidth,
|
|
@@ -8027,7 +8027,7 @@ function ConnectedFactsPage() {
|
|
|
8027
8027
|
)
|
|
8028
8028
|
] }),
|
|
8029
8029
|
selectable && notes.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8030
|
-
|
|
8030
|
+
chunkVK5Q5JXU_cjs.FactsBulkBar,
|
|
8031
8031
|
{
|
|
8032
8032
|
count: selection.selectedFacts.length,
|
|
8033
8033
|
onClear: selection.clearSelection,
|
|
@@ -8086,7 +8086,7 @@ function useConnectedShellWorkspaces(options2 = {}) {
|
|
|
8086
8086
|
function ConnectedSsoDisconnect() {
|
|
8087
8087
|
const { client } = react.useAccountClient();
|
|
8088
8088
|
const { data: profile } = react.useProfile();
|
|
8089
|
-
const auth =
|
|
8089
|
+
const auth = chunkNZ26UYEQ_cjs.useAuthPages();
|
|
8090
8090
|
const { notify: notify17 } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
8091
8091
|
const [open, setOpen] = react$1.useState(false);
|
|
8092
8092
|
const [step, setStep] = react$1.useState("email");
|
|
@@ -8264,14 +8264,14 @@ function ConnectedAccountSettings({
|
|
|
8264
8264
|
}) {
|
|
8265
8265
|
const [logoutOpen, setLogoutOpen] = react$1.useState(false);
|
|
8266
8266
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
|
|
8267
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8267
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNZ26UYEQ_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
|
|
8268
8268
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
|
|
8269
8269
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
|
|
8270
8270
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
|
|
8271
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8271
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNZ26UYEQ_cjs.ConnectedSecuritySection, { children: securityRows }),
|
|
8272
8272
|
moreSettings,
|
|
8273
8273
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8274
|
-
|
|
8274
|
+
chunkNZ26UYEQ_cjs.ConnectedIdentityVerification,
|
|
8275
8275
|
{
|
|
8276
8276
|
collapsible: true,
|
|
8277
8277
|
onManageBilling,
|
|
@@ -8281,7 +8281,7 @@ function ConnectedAccountSettings({
|
|
|
8281
8281
|
] }),
|
|
8282
8282
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
|
|
8283
8283
|
connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
|
|
8284
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8284
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNZ26UYEQ_cjs.ConnectedSessionsRow, { renderSessionIcon }),
|
|
8285
8285
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8286
8286
|
ui.Button,
|
|
8287
8287
|
{
|
|
@@ -8298,9 +8298,9 @@ function ConnectedAccountSettings({
|
|
|
8298
8298
|
}
|
|
8299
8299
|
) })
|
|
8300
8300
|
] }) }),
|
|
8301
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8301
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNZ26UYEQ_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
|
|
8302
8302
|
!onLogout && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8303
|
-
|
|
8303
|
+
chunkNZ26UYEQ_cjs.ConnectedLogoutDialog,
|
|
8304
8304
|
{
|
|
8305
8305
|
open: logoutOpen,
|
|
8306
8306
|
onClose: () => setLogoutOpen(false),
|
|
@@ -8608,7 +8608,7 @@ function ConnectedPrivacySettings({
|
|
|
8608
8608
|
}
|
|
8609
8609
|
)
|
|
8610
8610
|
] }) }),
|
|
8611
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8611
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNZ26UYEQ_cjs.ConnectedNotificationPreferences, {})
|
|
8612
8612
|
] });
|
|
8613
8613
|
}
|
|
8614
8614
|
var PROVIDER_NAMES = {
|
|
@@ -10589,7 +10589,7 @@ function ConnectedRecoveryKeyDialog({
|
|
|
10589
10589
|
const arbi = react.useArbi();
|
|
10590
10590
|
const { user, isSso: isSsoMode } = react.useArbiSession();
|
|
10591
10591
|
const userEmail = user?.email;
|
|
10592
|
-
const sso =
|
|
10592
|
+
const sso = chunkNZ26UYEQ_cjs.useSsoSignIn();
|
|
10593
10593
|
const handleVerify = async () => {
|
|
10594
10594
|
setError(null);
|
|
10595
10595
|
if (!password) {
|
|
@@ -12833,13 +12833,13 @@ function ConnectedWorkspaceSettings({
|
|
|
12833
12833
|
const [membersExpanded, setMembersExpanded] = react$1.useState(false);
|
|
12834
12834
|
const [shareOpen, setShareOpen] = react$1.useState(false);
|
|
12835
12835
|
if (!workspace) {
|
|
12836
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkOTODKLR3_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12836
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkOTODKLR3_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkVJLW3UPL_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
|
|
12837
12837
|
}
|
|
12838
12838
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12839
12839
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkOTODKLR3_cjs.WorkspacePageFrame, { testId, children: [
|
|
12840
12840
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkOTODKLR3_cjs.WorkspaceIdentityPanel, { children: [
|
|
12841
12841
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12842
|
-
|
|
12842
|
+
chunkVJLW3UPL_cjs.EntityIdentityBar,
|
|
12843
12843
|
{
|
|
12844
12844
|
testId: "workspace-identity-bar",
|
|
12845
12845
|
canEdit: isOwner,
|
|
@@ -12856,7 +12856,7 @@ function ConnectedWorkspaceSettings({
|
|
|
12856
12856
|
label: "Name",
|
|
12857
12857
|
value: workspace.name,
|
|
12858
12858
|
placeholder: "Untitled",
|
|
12859
|
-
maxLength:
|
|
12859
|
+
maxLength: chunkVJLW3UPL_cjs.IDENTITY_NAME_MAX_LENGTH,
|
|
12860
12860
|
valueClassName: "truncate text-base font-semibold",
|
|
12861
12861
|
testId: "workspace-home-title",
|
|
12862
12862
|
hideLabel: true,
|
|
@@ -14494,36 +14494,36 @@ function ConnectedSharePointAdminConsentPage({
|
|
|
14494
14494
|
const result = givenResult === void 0 ? queryResult : givenResult;
|
|
14495
14495
|
const { apiBaseUrl } = chunkUIXY4HKM_cjs.useBlocksEnvironment().runtimeConfig;
|
|
14496
14496
|
const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
|
|
14497
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
14497
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk5YBH5CQD_cjs.ConsentCard, { size: "md", children: [
|
|
14498
14498
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14499
|
-
|
|
14499
|
+
chunk5YBH5CQD_cjs.ConsentHeader,
|
|
14500
14500
|
{
|
|
14501
14501
|
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkDGG35TPO_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
|
|
14502
14502
|
title: "Approve ARBI for SharePoint access",
|
|
14503
14503
|
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."
|
|
14504
14504
|
}
|
|
14505
14505
|
),
|
|
14506
|
-
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
14507
|
-
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
14508
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
14506
|
+
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_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." }),
|
|
14507
|
+
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_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." }),
|
|
14508
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk5YBH5CQD_cjs.ConsentSection, { title: "What you are approving", children: [
|
|
14509
14509
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14510
|
-
|
|
14510
|
+
chunk5YBH5CQD_cjs.ConsentBulletList,
|
|
14511
14511
|
{
|
|
14512
14512
|
items: [
|
|
14513
14513
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14514
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14514
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
|
|
14515
14515
|
" \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."
|
|
14516
14516
|
] }),
|
|
14517
14517
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14518
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14518
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
|
|
14519
14519
|
" \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
|
|
14520
14520
|
] })
|
|
14521
14521
|
]
|
|
14522
14522
|
}
|
|
14523
14523
|
),
|
|
14524
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14524
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_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." }),
|
|
14525
14525
|
/* @__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" }) }),
|
|
14526
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14526
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_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." })
|
|
14527
14527
|
] })
|
|
14528
14528
|
] }) });
|
|
14529
14529
|
}
|
|
@@ -17263,7 +17263,7 @@ function ConnectedWorkspaceList({
|
|
|
17263
17263
|
}
|
|
17264
17264
|
);
|
|
17265
17265
|
}
|
|
17266
|
-
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(
|
|
17266
|
+
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkVJLW3UPL_cjs.LoadingIndicator, { message: "Loading workspaces..." });
|
|
17267
17267
|
if (list.error) {
|
|
17268
17268
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
17269
17269
|
chunkECZXW346_cjs.HomeLoadError,
|
|
@@ -17336,7 +17336,7 @@ function ConnectedWorkspaceList({
|
|
|
17336
17336
|
workspaceState
|
|
17337
17337
|
}
|
|
17338
17338
|
) })
|
|
17339
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
17339
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkVJLW3UPL_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkECZXW346_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
17340
17340
|
WorkspaceTableView,
|
|
17341
17341
|
{
|
|
17342
17342
|
list,
|
|
@@ -17526,7 +17526,7 @@ function ConnectedProjectsListPage({
|
|
|
17526
17526
|
};
|
|
17527
17527
|
const { openProject } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
17528
17528
|
const [search, setSearch] = react$1.useState("");
|
|
17529
|
-
const { projects, isLoading } =
|
|
17529
|
+
const { projects, isLoading } = chunkYACOI5ZU_cjs.useProjectSummaries();
|
|
17530
17530
|
const rows = react$1.useMemo(() => {
|
|
17531
17531
|
const q = search.trim().toLowerCase();
|
|
17532
17532
|
if (!q) return projects;
|
|
@@ -17597,7 +17597,7 @@ function ConnectedProjectsListPage({
|
|
|
17597
17597
|
}
|
|
17598
17598
|
),
|
|
17599
17599
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
17600
|
-
|
|
17600
|
+
chunkVJLW3UPL_cjs.Toolbar,
|
|
17601
17601
|
{
|
|
17602
17602
|
search,
|
|
17603
17603
|
onSearch: setSearch,
|
|
@@ -17659,7 +17659,7 @@ function ProjectDetailsForm({
|
|
|
17659
17659
|
const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
|
|
17660
17660
|
const { notify: notify17 } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
17661
17661
|
const update = react.useUpdateProjectFields();
|
|
17662
|
-
const workspace =
|
|
17662
|
+
const workspace = chunkYACOI5ZU_cjs.primaryProjectWorkspace(project);
|
|
17663
17663
|
const { data: members = [] } = react.useWorkspaceUsers(workspace?.id);
|
|
17664
17664
|
const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
|
|
17665
17665
|
const currency = project.budget?.currency ?? "GBP";
|
|
@@ -17784,7 +17784,7 @@ var COMPACT_BELOW = 132;
|
|
|
17784
17784
|
var NO_DOCUMENTS = [];
|
|
17785
17785
|
function useFilesWorkspace() {
|
|
17786
17786
|
const { workspaceId, userId, live } = chunkWV65MJ43_cjs.useConnectedWorkspace();
|
|
17787
|
-
const { members, role } =
|
|
17787
|
+
const { members, role } = chunkCLPDKHSP_cjs.useConnectedWorkspaceRole();
|
|
17788
17788
|
const { data: workspaces } = react.useWorkspaces({ enabled: live });
|
|
17789
17789
|
const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
|
|
17790
17790
|
return {
|
|
@@ -18544,7 +18544,7 @@ function ProjectChronology({
|
|
|
18544
18544
|
})),
|
|
18545
18545
|
[facts]
|
|
18546
18546
|
);
|
|
18547
|
-
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(
|
|
18547
|
+
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(chunkVK5Q5JXU_cjs.FactsGanttPane, { items, testId: `${testId}-gantt`, labels: { ganttEmpty: empty } }) });
|
|
18548
18548
|
}
|
|
18549
18549
|
function ProjectThreads({
|
|
18550
18550
|
projectId,
|
|
@@ -18718,11 +18718,11 @@ function ConnectedProjectPage({
|
|
|
18718
18718
|
figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
|
|
18719
18719
|
threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
|
|
18720
18720
|
};
|
|
18721
|
-
const { project, usage, isLoading } =
|
|
18721
|
+
const { project, usage, isLoading } = chunkYACOI5ZU_cjs.useProjectSummary(projectId);
|
|
18722
18722
|
const { workspaceId } = chunkWV65MJ43_cjs.useConnectedWorkspace();
|
|
18723
18723
|
const { notify: notify17 } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
18724
18724
|
const selectWorkspace = chunkQ4ORI364_cjs.useSelectWorkspace();
|
|
18725
|
-
const workspace = project ?
|
|
18725
|
+
const workspace = project ? chunkYACOI5ZU_cjs.primaryProjectWorkspace(project) : void 0;
|
|
18726
18726
|
const open = !!workspace && workspace.id === workspaceId;
|
|
18727
18727
|
react$1.useEffect(() => {
|
|
18728
18728
|
if (!workspace || workspace.id === workspaceId) return;
|
|
@@ -19751,7 +19751,7 @@ function ChatAttachmentList({ files, error }) {
|
|
|
19751
19751
|
] });
|
|
19752
19752
|
}
|
|
19753
19753
|
function MessageText({ message }) {
|
|
19754
|
-
const workspaceId =
|
|
19754
|
+
const workspaceId = chunk6Y7MHSIT_cjs.useDocumentWorkspace();
|
|
19755
19755
|
const selectedWorkspaceId = react.useArbiSessionState((s) => s.workspaceId);
|
|
19756
19756
|
const documentIds = react$1.useMemo(
|
|
19757
19757
|
() => workspaceId === selectedWorkspaceId ? Array.from(
|
|
@@ -19766,11 +19766,11 @@ function MessageText({ message }) {
|
|
|
19766
19766
|
);
|
|
19767
19767
|
const thumbnails = react.useDocumentThumbnails(documentIds);
|
|
19768
19768
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
19769
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19769
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6Y7MHSIT_cjs.ConnectedMarkdown, { children: message }),
|
|
19770
19770
|
workspaceId && documentIds.map((docId) => {
|
|
19771
19771
|
const thumbnail = thumbnails.get(docId);
|
|
19772
19772
|
return thumbnail ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
19773
|
-
|
|
19773
|
+
chunk6Y7MHSIT_cjs.WorkspaceDocumentReference,
|
|
19774
19774
|
{
|
|
19775
19775
|
workspaceId,
|
|
19776
19776
|
docId,
|
|
@@ -19791,7 +19791,7 @@ function MessageText({ message }) {
|
|
|
19791
19791
|
}
|
|
19792
19792
|
function ConnectedChatMessageBody({ text: text2, workspaceId }) {
|
|
19793
19793
|
const documentWorkspace = workspaceId ?? Array.from(text2.matchAll(/\/(wrk-[a-zA-Z0-9]{8})\/con-[a-zA-Z0-9]{8}/g)).at(-1)?.[1] ?? null;
|
|
19794
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19794
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6Y7MHSIT_cjs.DocumentWorkspaceContext.Provider, { value: documentWorkspace, children: /* @__PURE__ */ jsxRuntime.jsx(MessageText, { message: text2 }) });
|
|
19795
19795
|
}
|
|
19796
19796
|
function renderMessengerUser(user, variant) {
|
|
19797
19797
|
switch (variant) {
|
|
@@ -21429,10 +21429,10 @@ function ConnectedContactsPanel({
|
|
|
21429
21429
|
function ConnectedConfigForm({ availableModels, ...rest }) {
|
|
21430
21430
|
const hasModels = !!availableModels && availableModels.length > 0;
|
|
21431
21431
|
const renderModelSelect = react$1.useCallback(
|
|
21432
|
-
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
21432
|
+
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkNZ26UYEQ_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
|
|
21433
21433
|
[]
|
|
21434
21434
|
);
|
|
21435
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21435
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
|
|
21436
21436
|
}
|
|
21437
21437
|
function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
|
|
21438
21438
|
const { notify: notify17 } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
@@ -21549,7 +21549,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
21549
21549
|
}, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify17]);
|
|
21550
21550
|
if (editAgent) {
|
|
21551
21551
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21552
|
-
|
|
21552
|
+
chunk5YBH5CQD_cjs.AgentEditView,
|
|
21553
21553
|
{
|
|
21554
21554
|
agentName: editAgent.name,
|
|
21555
21555
|
config: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -21565,7 +21565,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
21565
21565
|
}
|
|
21566
21566
|
if (view === "main") {
|
|
21567
21567
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21568
|
-
|
|
21568
|
+
chunk5YBH5CQD_cjs.AgentMainView,
|
|
21569
21569
|
{
|
|
21570
21570
|
onConnectExternal: () => setView("connect"),
|
|
21571
21571
|
config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -21581,11 +21581,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
21581
21581
|
}
|
|
21582
21582
|
if (result) {
|
|
21583
21583
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21584
|
-
|
|
21584
|
+
chunk5YBH5CQD_cjs.AgentCreatedView,
|
|
21585
21585
|
{
|
|
21586
21586
|
email: result.email,
|
|
21587
21587
|
signingKey: result.signingKey,
|
|
21588
|
-
instructions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
21588
|
+
instructions: /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
|
|
21589
21589
|
config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
|
|
21590
21590
|
isConfigOpen: configOpen,
|
|
21591
21591
|
onToggleConfig: () => setConfigOpen((v) => !v),
|
|
@@ -21594,7 +21594,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
21594
21594
|
);
|
|
21595
21595
|
}
|
|
21596
21596
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21597
|
-
|
|
21597
|
+
chunk5YBH5CQD_cjs.AgentCreateView,
|
|
21598
21598
|
{
|
|
21599
21599
|
name,
|
|
21600
21600
|
onNameChange: setName,
|
|
@@ -21789,13 +21789,13 @@ function ConnectedNewThreadDialog({
|
|
|
21789
21789
|
});
|
|
21790
21790
|
const parentOptions = react$1.useMemo(() => {
|
|
21791
21791
|
const leaf = { external_id: "__new__" };
|
|
21792
|
-
return
|
|
21792
|
+
return chunk5YBH5CQD_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
|
|
21793
21793
|
id: t.external_id,
|
|
21794
21794
|
name: t.title?.trim() || "Untitled task"
|
|
21795
21795
|
}));
|
|
21796
21796
|
}, [tasks]);
|
|
21797
21797
|
const submit = async (values) => {
|
|
21798
|
-
const request =
|
|
21798
|
+
const request = chunk5YBH5CQD_cjs.newThreadToRequest(values);
|
|
21799
21799
|
try {
|
|
21800
21800
|
if (!workspaceId) throw new Error("Open a workspace to add a task.");
|
|
21801
21801
|
if (!request.startAssistant && request.todo) {
|
|
@@ -21836,7 +21836,7 @@ function ConnectedNewThreadDialog({
|
|
|
21836
21836
|
}
|
|
21837
21837
|
};
|
|
21838
21838
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21839
|
-
|
|
21839
|
+
chunk5YBH5CQD_cjs.NewThreadDialog,
|
|
21840
21840
|
{
|
|
21841
21841
|
open,
|
|
21842
21842
|
onOpenChange,
|
|
@@ -21873,7 +21873,7 @@ function ConnectedUpcomingEvents({
|
|
|
21873
21873
|
() => new Set(calendars.filter((c) => c.hidden).map((c) => c.id)),
|
|
21874
21874
|
[calendars]
|
|
21875
21875
|
);
|
|
21876
|
-
const list =
|
|
21876
|
+
const list = chunkHUE76NAI_cjs.upcomingOf(events, Date.now(), { showDeclined, hidden }).slice(0, limit);
|
|
21877
21877
|
let lastDay = "";
|
|
21878
21878
|
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: ui.cn("space-y-1 text-sm", className), "data-testid": "calendar-upcoming", children: [
|
|
21879
21879
|
/* @__PURE__ */ jsxRuntime.jsx("h4", { className: "px-1 text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Upcoming" }),
|
|
@@ -21912,20 +21912,20 @@ function ConnectedUpcomingEvents({
|
|
|
21912
21912
|
]
|
|
21913
21913
|
}
|
|
21914
21914
|
),
|
|
21915
|
-
|
|
21915
|
+
chunkHUE76NAI_cjs.conferenceUrl(e) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
21916
21916
|
ui.Button,
|
|
21917
21917
|
{
|
|
21918
21918
|
type: "button",
|
|
21919
21919
|
size: "sm",
|
|
21920
|
-
variant:
|
|
21920
|
+
variant: chunkHUE76NAI_cjs.canJoinEvent(e) ? "default" : "ghost",
|
|
21921
21921
|
className: "h-6 px-2 text-xs",
|
|
21922
|
-
onClick: () => onJoin ? onJoin(e) : void joinEventMeeting(arbi,
|
|
21922
|
+
onClick: () => onJoin ? onJoin(e) : void joinEventMeeting(arbi, chunkHUE76NAI_cjs.conferenceUrl(e)),
|
|
21923
21923
|
"aria-label": `Join ${e.title}`,
|
|
21924
21924
|
"data-testid": "calendar-upcoming-join",
|
|
21925
21925
|
children: [
|
|
21926
21926
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Video, { className: "mr-1 size-3" }),
|
|
21927
21927
|
" ",
|
|
21928
|
-
|
|
21928
|
+
chunkHUE76NAI_cjs.isWebinarConference(e.conference) ? "Join webinar" : "Join"
|
|
21929
21929
|
]
|
|
21930
21930
|
}
|
|
21931
21931
|
)
|
|
@@ -21956,14 +21956,14 @@ var referencesOf = (inputs) => {
|
|
|
21956
21956
|
return value?.documents ?? [];
|
|
21957
21957
|
};
|
|
21958
21958
|
var PROMPT_BINDINGS = {
|
|
21959
|
-
[
|
|
21959
|
+
[chunk5YBH5CQD_cjs.GENERATE_IMAGE_ID]: {
|
|
21960
21960
|
attachScope: false,
|
|
21961
21961
|
tools: (inputs) => {
|
|
21962
21962
|
const aspectRatio = typeof inputs.aspect_ratio === "string" ? inputs.aspect_ratio : "";
|
|
21963
21963
|
return {
|
|
21964
21964
|
retrieval_chunk: browser.buildRetrievalChunkTool([]),
|
|
21965
21965
|
retrieval_full_context: browser.buildRetrievalFullContextTool(referencesOf(inputs)),
|
|
21966
|
-
...aspectRatio && aspectRatio !==
|
|
21966
|
+
...aspectRatio && aspectRatio !== chunk5YBH5CQD_cjs.IMAGE_ASPECT_AUTO ? {
|
|
21967
21967
|
image_generation: {
|
|
21968
21968
|
name: "image_generation",
|
|
21969
21969
|
description: "image generation",
|
|
@@ -21984,19 +21984,19 @@ var text = (inputs, name) => {
|
|
|
21984
21984
|
function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
|
|
21985
21985
|
const { data: documents = [] } = react.useDocuments();
|
|
21986
21986
|
const { data: workspaceTags = [] } = react.useTags();
|
|
21987
|
-
const tags = react$1.useMemo(() =>
|
|
21987
|
+
const tags = react$1.useMemo(() => chunkHMS3GRMI_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
|
|
21988
21988
|
const createTag = react.useCreateTag();
|
|
21989
21989
|
const updateTag = react.useUpdateTag();
|
|
21990
21990
|
const generate = react.useGenerateDocTags();
|
|
21991
|
-
const { create: createTask } =
|
|
21991
|
+
const { create: createTask } = chunkYACOI5ZU_cjs.useWorkflowTasks();
|
|
21992
21992
|
const applyModel = react.useApplyChatModel();
|
|
21993
21993
|
const session = react.useArbiSessionStore();
|
|
21994
21994
|
const { notify: notify17, openFiles, openNewConversation } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
21995
21995
|
const annotate = react$1.useCallback(
|
|
21996
21996
|
async ({ inputs, scope }) => {
|
|
21997
21997
|
const description = text(inputs, "description");
|
|
21998
|
-
const name = text(inputs, "name") ||
|
|
21999
|
-
const matching =
|
|
21998
|
+
const name = text(inputs, "name") || chunk5YBH5CQD_cjs.deriveAnnotationName(description);
|
|
21999
|
+
const matching = chunkHMS3GRMI_cjs.matchWorkflowScope(documents, scope);
|
|
22000
22000
|
if (!name || !description || matching.length === 0) return;
|
|
22001
22001
|
try {
|
|
22002
22002
|
const existing = tags.find((t) => t.name.toLowerCase() === name.toLowerCase());
|
|
@@ -22039,9 +22039,9 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
|
|
|
22039
22039
|
async (launch) => {
|
|
22040
22040
|
const { workflow, inputs, scope, agentId } = launch;
|
|
22041
22041
|
if (workflow.run.kind === "operation") {
|
|
22042
|
-
if (workflow.id ===
|
|
22042
|
+
if (workflow.id === chunk5YBH5CQD_cjs.ANNOTATE_ID) {
|
|
22043
22043
|
await annotate(launch);
|
|
22044
|
-
|
|
22044
|
+
chunk5YBH5CQD_cjs.recordWorkflowUse(workflow.id);
|
|
22045
22045
|
return;
|
|
22046
22046
|
}
|
|
22047
22047
|
throw new Error(`No host handler for workflow "${workflow.id}"`);
|
|
@@ -22051,7 +22051,7 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
|
|
|
22051
22051
|
);
|
|
22052
22052
|
const prompt = chunk5GQOIQCB_cjs.composeWorkflowPrompt(workflow, inputs, { documentTitles });
|
|
22053
22053
|
if (!prompt) return;
|
|
22054
|
-
|
|
22054
|
+
chunk5YBH5CQD_cjs.recordWorkflowUse(workflow.id);
|
|
22055
22055
|
if (agentId) {
|
|
22056
22056
|
try {
|
|
22057
22057
|
const created = await createTask({
|
|
@@ -22096,7 +22096,7 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
|
|
|
22096
22096
|
const binding = PROMPT_BINDINGS[workflow.id];
|
|
22097
22097
|
if (!inPlace) openNewConversation();
|
|
22098
22098
|
if (binding?.attachScope !== false && !chunk5GQOIQCB_cjs.isEmptyWorkflowScope(scope)) {
|
|
22099
|
-
const ids =
|
|
22099
|
+
const ids = chunkHMS3GRMI_cjs.matchWorkflowScope(documents, scope).map((d) => d.external_id);
|
|
22100
22100
|
if (ids.length > 0) {
|
|
22101
22101
|
session.setConversationDocuments(
|
|
22102
22102
|
inPlace ? session.getState().conversationId ?? "new" : "new",
|
|
@@ -22131,30 +22131,30 @@ function ConnectedWorkflowStart({
|
|
|
22131
22131
|
const onLaunch = useLaunchWorkflow({ landing });
|
|
22132
22132
|
const { openUpload } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
22133
22133
|
const { data: workspaceTags = [] } = react.useTags();
|
|
22134
|
-
const tags = react$1.useMemo(() =>
|
|
22134
|
+
const tags = react$1.useMemo(() => chunkHMS3GRMI_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
|
|
22135
22135
|
const fieldPlaceholder = react$1.useCallback(
|
|
22136
22136
|
(field, inputs, workflow) => {
|
|
22137
|
-
if (workflow.id !==
|
|
22138
|
-
const derived =
|
|
22137
|
+
if (workflow.id !== chunk5YBH5CQD_cjs.ANNOTATE_ID || field.name !== "name") return void 0;
|
|
22138
|
+
const derived = chunk5YBH5CQD_cjs.deriveAnnotationName(String(inputs.description ?? ""));
|
|
22139
22139
|
return derived ? `Otherwise \u201C${derived}\u201D` : "Taken from the description";
|
|
22140
22140
|
},
|
|
22141
22141
|
[]
|
|
22142
22142
|
);
|
|
22143
22143
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22144
|
-
|
|
22144
|
+
chunkCLPDKHSP_cjs.ConnectedWorkflowLauncher,
|
|
22145
22145
|
{
|
|
22146
22146
|
...rest,
|
|
22147
22147
|
workflows,
|
|
22148
22148
|
onLaunch,
|
|
22149
|
-
renderIcon:
|
|
22149
|
+
renderIcon: chunk5YBH5CQD_cjs.renderWorkflowIcon,
|
|
22150
22150
|
onAddFiles: openUpload,
|
|
22151
22151
|
agentLabels: AGENT_LABELS,
|
|
22152
22152
|
addFilesAction,
|
|
22153
22153
|
fieldPlaceholder,
|
|
22154
|
-
submitLabel: ({ workflow, matchedCount }) => workflow.id ===
|
|
22154
|
+
submitLabel: ({ workflow, matchedCount }) => workflow.id === chunk5YBH5CQD_cjs.ANNOTATE_ID && matchedCount !== null ? `Annotate ${matchedCount} document${matchedCount !== 1 ? "s" : ""}` : void 0,
|
|
22155
22155
|
renderNotice: ({ workflow, inputs }) => {
|
|
22156
|
-
if (workflow.id !==
|
|
22157
|
-
const name = String(inputs.name ?? "").trim() ||
|
|
22156
|
+
if (workflow.id !== chunk5YBH5CQD_cjs.ANNOTATE_ID) return null;
|
|
22157
|
+
const name = String(inputs.name ?? "").trim() || chunk5YBH5CQD_cjs.deriveAnnotationName(String(inputs.description ?? ""));
|
|
22158
22158
|
const existing = name ? tags.find((t) => t.name.toLowerCase() === name.toLowerCase()) : void 0;
|
|
22159
22159
|
if (!existing) return null;
|
|
22160
22160
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -22183,7 +22183,7 @@ var TILE_TEST_IDS = {
|
|
|
22183
22183
|
annotate: "workspace-dashboard-quick-action-annotate"
|
|
22184
22184
|
};
|
|
22185
22185
|
function DashboardStart({ addMenu, onCreateNew }) {
|
|
22186
|
-
const { dashboard: workflows } =
|
|
22186
|
+
const { dashboard: workflows } = chunkYACOI5ZU_cjs.useWorkflowDefinitions();
|
|
22187
22187
|
const { isMember, role } = react.useCurrentWorkspace();
|
|
22188
22188
|
const canWrite = isMember && role !== "guest";
|
|
22189
22189
|
const [activeId, setActiveId] = react$1.useState(null);
|
|
@@ -22209,7 +22209,7 @@ function DashboardStart({ addMenu, onCreateNew }) {
|
|
|
22209
22209
|
}
|
|
22210
22210
|
] : void 0,
|
|
22211
22211
|
tileTestId: (workflow) => TILE_TEST_IDS[workflow.id],
|
|
22212
|
-
disabledReason: (workflow) => !canWrite && workflow.id ===
|
|
22212
|
+
disabledReason: (workflow) => !canWrite && workflow.id === chunk5YBH5CQD_cjs.ANNOTATE_ID ? "Only workspace members can annotate files" : void 0
|
|
22213
22213
|
}
|
|
22214
22214
|
);
|
|
22215
22215
|
}
|
|
@@ -22240,7 +22240,7 @@ function recentConversations(conversations) {
|
|
|
22240
22240
|
return [...conversations].sort((a, b) => time(b.updated_at) - time(a.updated_at)).slice(0, RECENT_ROWS).map((c) => ({
|
|
22241
22241
|
id: c.external_id,
|
|
22242
22242
|
title: c.title?.trim() || "Untitled thread",
|
|
22243
|
-
subtitle: c.status ? [
|
|
22243
|
+
subtitle: c.status ? [chunk5YBH5CQD_cjs.STATUS_LABELS[chunk5YBH5CQD_cjs.asTaskStatus(c.status)], c.due_at ? `due ${shortDate(c.due_at)}` : null].filter(Boolean).join(" \xB7 ") : `${c.message_count} ${c.message_count === 1 ? "message" : "messages"}`,
|
|
22244
22244
|
time: timeAndDate(c.updated_at)
|
|
22245
22245
|
}));
|
|
22246
22246
|
}
|
|
@@ -22616,7 +22616,7 @@ function parseTypedSkill(draft) {
|
|
|
22616
22616
|
return m ? { slug: m[1].toLowerCase(), text: (m[2] ?? "").trim() } : null;
|
|
22617
22617
|
}
|
|
22618
22618
|
function useSlashSkillWorkflows({ landing }) {
|
|
22619
|
-
const { skills, skillsEnabled } =
|
|
22619
|
+
const { skills, skillsEnabled } = chunkYACOI5ZU_cjs.useWorkflowDefinitions();
|
|
22620
22620
|
const { commands } = react.useBuiltinCommands();
|
|
22621
22621
|
const [active, setActive] = react$1.useState(null);
|
|
22622
22622
|
const open = (workflow, text2) => {
|
|
@@ -22675,7 +22675,7 @@ function ConnectedAskField({
|
|
|
22675
22675
|
filteredItems,
|
|
22676
22676
|
isOpen: isSlashMenuOpen,
|
|
22677
22677
|
canBrowseSkills
|
|
22678
|
-
} =
|
|
22678
|
+
} = chunkNZ26UYEQ_cjs.useSlashItems(text2, chunk5YBH5CQD_cjs.BUILTIN_SKILLS);
|
|
22679
22679
|
const slashWorkflows = useSlashSkillWorkflows({ landing: "chat" });
|
|
22680
22680
|
const insertSlashItem = (item) => {
|
|
22681
22681
|
if (slashWorkflows.openFor(item)) {
|
|
@@ -25257,7 +25257,7 @@ var MAIL_VIEWER_OPEN_VIEW = "mail.viewerOpen";
|
|
|
25257
25257
|
var MAIL_SIDE_VIEW = "mail.side";
|
|
25258
25258
|
var MAIL_GRID_ID = "personal-mail-grid-v2";
|
|
25259
25259
|
var MailInviteCard = react$1.lazy(
|
|
25260
|
-
() => import('../ConnectedMailInviteCard-
|
|
25260
|
+
() => import('../ConnectedMailInviteCard-OBDYWUFM.cjs').then((m) => ({
|
|
25261
25261
|
default: m.ConnectedMailInviteCard
|
|
25262
25262
|
}))
|
|
25263
25263
|
);
|
|
@@ -26208,7 +26208,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
26208
26208
|
}) {
|
|
26209
26209
|
const authenticated = react.useArbiSession().status === "signed-in";
|
|
26210
26210
|
const { openMail } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
26211
|
-
const { loading } =
|
|
26211
|
+
const { loading } = chunkNZ26UYEQ_cjs.useAuthPages();
|
|
26212
26212
|
const claim = react.useClaimSecureMail();
|
|
26213
26213
|
const [, setFirstLoginWorkspaces] = react.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
|
|
26214
26214
|
const [failure, setFailure] = react$1.useState(null);
|
|
@@ -26248,7 +26248,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
26248
26248
|
}
|
|
26249
26249
|
})();
|
|
26250
26250
|
}, [authenticated, claimId, key]);
|
|
26251
|
-
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
26251
|
+
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkVJLW3UPL_cjs.LoadingIndicator, { variant: "splash" }) });
|
|
26252
26252
|
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: [
|
|
26253
26253
|
/* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
|
|
26254
26254
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -26281,7 +26281,7 @@ function SubscribeDialog({
|
|
|
26281
26281
|
subscribe2.reset();
|
|
26282
26282
|
}
|
|
26283
26283
|
}, [open]);
|
|
26284
|
-
const normalized =
|
|
26284
|
+
const normalized = chunkHUE76NAI_cjs.normalizeFeedUrl(url);
|
|
26285
26285
|
return /* @__PURE__ */ jsxRuntime.jsx(ui.Dialog, { open, onOpenChange: (o) => !o && onClose(), children: /* @__PURE__ */ jsxRuntime.jsxs(ui.DialogContent, { className: "sm:max-w-md", "data-testid": "calendar-subscribe-dialog", children: [
|
|
26286
26286
|
/* @__PURE__ */ jsxRuntime.jsxs(ui.DialogHeader, { children: [
|
|
26287
26287
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Subscribe to a calendar" }),
|
|
@@ -26493,7 +26493,7 @@ function AccountRow({ account }) {
|
|
|
26493
26493
|
const update = react.useUpdateCalendarAccount();
|
|
26494
26494
|
const disconnect = react.useDisconnectCalendarAccount();
|
|
26495
26495
|
const [confirming, setConfirming] = react$1.useState(false);
|
|
26496
|
-
const fail2 = (what) => (err) => notify17(`${what}: ${
|
|
26496
|
+
const fail2 = (what) => (err) => notify17(`${what}: ${chunkHUE76NAI_cjs.describeCalendarError(err)}`, "error");
|
|
26497
26497
|
const reconnect = !!startOAuth && account.status === "needs_reauth" && (account.kind === "google" || account.kind === "microsoft");
|
|
26498
26498
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
26499
26499
|
"li",
|
|
@@ -26535,7 +26535,7 @@ function AccountRow({ account }) {
|
|
|
26535
26535
|
variant: "outline",
|
|
26536
26536
|
disabled: sync.isPending,
|
|
26537
26537
|
onClick: () => sync.mutate(account.id, {
|
|
26538
|
-
onSuccess: (r) => r?.error ? notify17(`Sync failed: ${
|
|
26538
|
+
onSuccess: (r) => r?.error ? notify17(`Sync failed: ${chunkHUE76NAI_cjs.describeCalendarError(r.error)}`, "error") : notify17("Calendar synced", "success"),
|
|
26539
26539
|
onError: fail2("Sync failed")
|
|
26540
26540
|
}),
|
|
26541
26541
|
"data-testid": `calendar-account-sync-${account.id}`,
|
|
@@ -26579,7 +26579,7 @@ function AccountRow({ account }) {
|
|
|
26579
26579
|
KIND_LABEL[account.kind],
|
|
26580
26580
|
"."
|
|
26581
26581
|
] }),
|
|
26582
|
-
account.last_error && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "rounded bg-destructive/10 px-2 py-1 text-xs text-destructive", children:
|
|
26582
|
+
account.last_error && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "rounded bg-destructive/10 px-2 py-1 text-xs text-destructive", children: chunkHUE76NAI_cjs.describeCalendarError(account.last_error) }),
|
|
26583
26583
|
/* @__PURE__ */ jsxRuntime.jsxs("label", { className: "flex items-start gap-2 text-xs text-muted-foreground", children: [
|
|
26584
26584
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
26585
26585
|
ui.Switch,
|
|
@@ -26637,7 +26637,7 @@ function CalDavForm({ onDone }) {
|
|
|
26637
26637
|
notify17("CalDAV account connected", "success");
|
|
26638
26638
|
onDone();
|
|
26639
26639
|
},
|
|
26640
|
-
onError: (err) => setError(
|
|
26640
|
+
onError: (err) => setError(chunkHUE76NAI_cjs.describeCalendarError(err, "Could not connect"))
|
|
26641
26641
|
}
|
|
26642
26642
|
);
|
|
26643
26643
|
},
|
|
@@ -26732,7 +26732,7 @@ function CalendarAccountsPanel({ className }) {
|
|
|
26732
26732
|
const [oauthError, setOauthError] = react$1.useState(null);
|
|
26733
26733
|
const resumed = react.useResumeCalendarAccountConnect(({ account, error: err }) => {
|
|
26734
26734
|
if (account) notify17(`${KIND_LABEL[account.kind]} connected`, "success");
|
|
26735
|
-
if (err) setOauthError(
|
|
26735
|
+
if (err) setOauthError(chunkHUE76NAI_cjs.describeCalendarError(err, "Could not connect the account"));
|
|
26736
26736
|
});
|
|
26737
26737
|
const connect = async (kind) => {
|
|
26738
26738
|
setOauthError(null);
|
|
@@ -26746,7 +26746,7 @@ function CalendarAccountsPanel({ className }) {
|
|
|
26746
26746
|
await startOAuth?.(kind, background);
|
|
26747
26747
|
}
|
|
26748
26748
|
} catch (err) {
|
|
26749
|
-
setOauthError(
|
|
26749
|
+
setOauthError(chunkHUE76NAI_cjs.describeCalendarError(err, "Could not connect the account"));
|
|
26750
26750
|
} finally {
|
|
26751
26751
|
setPendingKind(null);
|
|
26752
26752
|
}
|
|
@@ -26758,7 +26758,7 @@ function CalendarAccountsPanel({ className }) {
|
|
|
26758
26758
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base font-semibold text-foreground", children: "Connected calendars" }),
|
|
26759
26759
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Bring your Google, Outlook or CalDAV calendars into ARBI. Changes sync both ways." })
|
|
26760
26760
|
] }),
|
|
26761
|
-
isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Loading accounts\u2026" }) : error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", children:
|
|
26761
|
+
isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Loading accounts\u2026" }) : error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", children: chunkHUE76NAI_cjs.describeCalendarError(error, "Could not load accounts") }) : accounts.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "rounded-lg border border-dashed border-border p-4 text-sm text-muted-foreground", children: "No calendar accounts connected yet." }) : /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "grid gap-2", children: accounts.map((a) => /* @__PURE__ */ jsxRuntime.jsx(AccountRow, { account: a }, a.id)) }),
|
|
26762
26762
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-2", children: [
|
|
26763
26763
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap gap-2", children: [
|
|
26764
26764
|
oauth && ["google", "microsoft"].map((kind) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -26815,13 +26815,13 @@ var selectClass3 = "h-9 w-full rounded-md border border-input bg-background px-2
|
|
|
26815
26815
|
function summarizeWeekly(page) {
|
|
26816
26816
|
const days = [...new Set((page.weekly ?? []).map((w) => Number(w.day)))].sort();
|
|
26817
26817
|
if (!days.length) return "No hours set";
|
|
26818
|
-
return days.map((d) =>
|
|
26818
|
+
return days.map((d) => chunkHUE76NAI_cjs.WEEKDAY_NAMES[d]?.slice(0, 3)).join(", ");
|
|
26819
26819
|
}
|
|
26820
26820
|
function BookingPageForm({ page, defaultTimeZone, onDone }) {
|
|
26821
26821
|
const { notify: notify17 } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
26822
26822
|
const copyText = useCalendarCopy();
|
|
26823
26823
|
const [form, setForm] = react$1.useState(
|
|
26824
|
-
() => page ?
|
|
26824
|
+
() => page ? chunkHUE76NAI_cjs.bookingToForm(page) : chunkHUE76NAI_cjs.emptyBookingForm(defaultTimeZone)
|
|
26825
26825
|
);
|
|
26826
26826
|
const [slugTouched, setSlugTouched] = react$1.useState(!!page);
|
|
26827
26827
|
const [errors, setErrors] = react$1.useState({});
|
|
@@ -26852,18 +26852,18 @@ function BookingPageForm({ page, defaultTimeZone, onDone }) {
|
|
|
26852
26852
|
className: "grid gap-4",
|
|
26853
26853
|
onSubmit: (e) => {
|
|
26854
26854
|
e.preventDefault();
|
|
26855
|
-
const found =
|
|
26855
|
+
const found = chunkHUE76NAI_cjs.validateBookingForm(form);
|
|
26856
26856
|
setErrors(found);
|
|
26857
26857
|
setServerError(null);
|
|
26858
26858
|
if (Object.keys(found).length) return;
|
|
26859
|
-
save.mutate(
|
|
26859
|
+
save.mutate(chunkHUE76NAI_cjs.formToBookingBody(form), {
|
|
26860
26860
|
onSuccess: (saved) => {
|
|
26861
26861
|
notify17(page ? "Booking page saved" : "Booking page published", "success");
|
|
26862
|
-
if (!page) void copyText(
|
|
26862
|
+
if (!page) void copyText(chunkHUE76NAI_cjs.bookingLink(saved), "Booking link");
|
|
26863
26863
|
onDone();
|
|
26864
26864
|
},
|
|
26865
26865
|
onError: (err) => setServerError(
|
|
26866
|
-
err.status === 409 ? "That link is taken. Choose another." :
|
|
26866
|
+
err.status === 409 ? "That link is taken. Choose another." : chunkHUE76NAI_cjs.describeCalendarError(err, "Could not save")
|
|
26867
26867
|
)
|
|
26868
26868
|
});
|
|
26869
26869
|
},
|
|
@@ -26880,7 +26880,7 @@ function BookingPageForm({ page, defaultTimeZone, onDone }) {
|
|
|
26880
26880
|
value: form.title,
|
|
26881
26881
|
onChange: (e) => {
|
|
26882
26882
|
const title = e.target.value;
|
|
26883
|
-
setForm((f) => ({ ...f, title, slug: slugTouched ? f.slug :
|
|
26883
|
+
setForm((f) => ({ ...f, title, slug: slugTouched ? f.slug : chunkHUE76NAI_cjs.slugify(title) }));
|
|
26884
26884
|
},
|
|
26885
26885
|
"aria-invalid": !!errors.title,
|
|
26886
26886
|
"data-testid": "booking-title"
|
|
@@ -26947,14 +26947,14 @@ function BookingPageForm({ page, defaultTimeZone, onDone }) {
|
|
|
26947
26947
|
className: selectClass3,
|
|
26948
26948
|
value: form.timeZone,
|
|
26949
26949
|
onChange: (e) => set("timeZone", e.target.value),
|
|
26950
|
-
children:
|
|
26950
|
+
children: chunkHUE76NAI_cjs.zoneOptions(form.timeZone).map((z) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: z, children: z.replace(/_/g, " ") }, z))
|
|
26951
26951
|
}
|
|
26952
26952
|
)
|
|
26953
26953
|
] })
|
|
26954
26954
|
] }),
|
|
26955
26955
|
/* @__PURE__ */ jsxRuntime.jsxs("fieldset", { className: "grid gap-2", children: [
|
|
26956
26956
|
/* @__PURE__ */ jsxRuntime.jsx("legend", { className: "mb-1 text-sm font-medium text-foreground", children: "Weekly hours" }),
|
|
26957
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
26957
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkHUE76NAI_cjs.WeeklyHoursEditor, { value: form.weekly, onChange: (weekly) => set("weekly", weekly) }),
|
|
26958
26958
|
errors.weekly && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-destructive", children: errors.weekly }),
|
|
26959
26959
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: "Only times free in your calendars within these hours are offered." })
|
|
26960
26960
|
] }),
|
|
@@ -27033,7 +27033,7 @@ function BookingPagesPanel({ defaultTimeZone, className }) {
|
|
|
27033
27033
|
" New booking page"
|
|
27034
27034
|
] })
|
|
27035
27035
|
] }),
|
|
27036
|
-
isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Loading\u2026" }) : error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", children:
|
|
27036
|
+
isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Loading\u2026" }) : error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", children: chunkHUE76NAI_cjs.describeCalendarError(error, "Could not load booking pages") }) : pages.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid justify-items-center gap-2 rounded-lg border border-dashed border-border p-6 text-center text-sm text-muted-foreground", children: [
|
|
27037
27037
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.CalendarCheck, { className: "size-6" }),
|
|
27038
27038
|
/* @__PURE__ */ jsxRuntime.jsx("p", { children: "No booking pages yet." })
|
|
27039
27039
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "grid gap-2", children: pages.map((p) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -27062,11 +27062,11 @@ function BookingPagesPanel({ defaultTimeZone, className }) {
|
|
|
27062
27062
|
{
|
|
27063
27063
|
size: "sm",
|
|
27064
27064
|
variant: "outline",
|
|
27065
|
-
onClick: () => void copyText(
|
|
27065
|
+
onClick: () => void copyText(chunkHUE76NAI_cjs.bookingLink(p), "Booking link"),
|
|
27066
27066
|
children: "Copy link"
|
|
27067
27067
|
}
|
|
27068
27068
|
),
|
|
27069
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.Button, { size: "sm", variant: "ghost", asChild: true, "aria-label": `Open ${p.title}`, children: /* @__PURE__ */ jsxRuntime.jsx("a", { href:
|
|
27069
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Button, { size: "sm", variant: "ghost", asChild: true, "aria-label": `Open ${p.title}`, children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: chunkHUE76NAI_cjs.bookingLink(p), target: "_blank", rel: "noreferrer", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ExternalLink, { className: "size-4" }) }) }),
|
|
27070
27070
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27071
27071
|
ui.Button,
|
|
27072
27072
|
{
|
|
@@ -27085,7 +27085,7 @@ function BookingPagesPanel({ defaultTimeZone, className }) {
|
|
|
27085
27085
|
variant: "destructive",
|
|
27086
27086
|
disabled: remove.isPending,
|
|
27087
27087
|
onClick: () => remove.mutate(p.slug, {
|
|
27088
|
-
onError: (err) => notify17(`Could not delete: ${
|
|
27088
|
+
onError: (err) => notify17(`Could not delete: ${chunkHUE76NAI_cjs.describeCalendarError(err)}`, "error"),
|
|
27089
27089
|
onSettled: () => setConfirmDelete(null)
|
|
27090
27090
|
}),
|
|
27091
27091
|
children: "Delete"
|
|
@@ -27148,7 +27148,7 @@ function CreateRoomForm({ zone, onDone }) {
|
|
|
27148
27148
|
notify17(`Created ${room.name} (${room.email})`, "success");
|
|
27149
27149
|
onDone();
|
|
27150
27150
|
},
|
|
27151
|
-
onError: (err) => setError(
|
|
27151
|
+
onError: (err) => setError(chunkHUE76NAI_cjs.describeCalendarError(err, "Could not create"))
|
|
27152
27152
|
}
|
|
27153
27153
|
);
|
|
27154
27154
|
},
|
|
@@ -27261,7 +27261,7 @@ function RoomRow({ room, zone, checked }) {
|
|
|
27261
27261
|
),
|
|
27262
27262
|
checked && !!room.busy?.length && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-1 text-xs text-muted-foreground", children: [
|
|
27263
27263
|
"Busy ",
|
|
27264
|
-
(room.busy ?? []).map((b) =>
|
|
27264
|
+
(room.busy ?? []).map((b) => chunkHUE76NAI_cjs.formatBusy(b.start, b.end, zone)).join(", ")
|
|
27265
27265
|
] })
|
|
27266
27266
|
] }),
|
|
27267
27267
|
checked && room.free !== null && room.free !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -27286,7 +27286,7 @@ function RoomsDirectoryPanel({
|
|
|
27286
27286
|
}) {
|
|
27287
27287
|
const { data: settings } = react.useCalendarSettings(!timeZone);
|
|
27288
27288
|
const zone = chunkQUMUAJ2P_cjs.safeZone(timeZone || settings?.time_zone, chunkQUMUAJ2P_cjs.detectTimeZone());
|
|
27289
|
-
const [initial] = react$1.useState(() =>
|
|
27289
|
+
const [initial] = react$1.useState(() => chunkHUE76NAI_cjs.defaultRoomWindow(zone));
|
|
27290
27290
|
const [minCapacity, setMinCapacity] = react$1.useState("");
|
|
27291
27291
|
const [feature, setFeature] = react$1.useState("");
|
|
27292
27292
|
const [building, setBuilding] = react$1.useState("");
|
|
@@ -27417,7 +27417,7 @@ function RoomsDirectoryPanel({
|
|
|
27417
27417
|
windowError && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-destructive", children: windowError })
|
|
27418
27418
|
] })
|
|
27419
27419
|
] }),
|
|
27420
|
-
error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", children:
|
|
27420
|
+
error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", children: chunkHUE76NAI_cjs.describeCalendarError(error, "Could not load rooms") }) : sorted.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "rounded-lg border border-dashed border-border p-4 text-sm text-muted-foreground", children: isFetching ? "Loading rooms\u2026" : "No rooms match." }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
27421
27421
|
"ul",
|
|
27422
27422
|
{
|
|
27423
27423
|
className: "grid divide-y divide-border rounded-lg border border-border",
|
|
@@ -27442,11 +27442,11 @@ function CalendarSettingsDialog({
|
|
|
27442
27442
|
}) {
|
|
27443
27443
|
const { notify: notify17 } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
27444
27444
|
const save = react.useSaveCalendarSettings();
|
|
27445
|
-
const [value, setValue] = react$1.useState(() =>
|
|
27445
|
+
const [value, setValue] = react$1.useState(() => chunkHUE76NAI_cjs.toSettingsValue(settings));
|
|
27446
27446
|
const [tab, setTab] = react$1.useState(initialTab);
|
|
27447
27447
|
react$1.useEffect(() => {
|
|
27448
27448
|
if (open) {
|
|
27449
|
-
setValue(
|
|
27449
|
+
setValue(chunkHUE76NAI_cjs.toSettingsValue(settings));
|
|
27450
27450
|
setTab(initialTab);
|
|
27451
27451
|
save.reset();
|
|
27452
27452
|
}
|
|
@@ -27480,13 +27480,13 @@ function CalendarSettingsDialog({
|
|
|
27480
27480
|
}
|
|
27481
27481
|
),
|
|
27482
27482
|
/* @__PURE__ */ jsxRuntime.jsx(ui.TabsContent, { value: "general", className: "pt-3", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
27483
|
-
|
|
27483
|
+
chunkHUE76NAI_cjs.CalendarSettingsForm,
|
|
27484
27484
|
{
|
|
27485
27485
|
value,
|
|
27486
27486
|
onChange: setValue,
|
|
27487
27487
|
calendars: calendars.filter((c) => c.canWrite),
|
|
27488
27488
|
saving: save.isPending,
|
|
27489
|
-
error: save.error ?
|
|
27489
|
+
error: save.error ? chunkHUE76NAI_cjs.describeCalendarError(save.error) : null,
|
|
27490
27490
|
onCancel: onClose,
|
|
27491
27491
|
onSave: () => save.mutate({ ...settings, ...value }, {
|
|
27492
27492
|
onSuccess: () => {
|
|
@@ -27515,10 +27515,10 @@ function EventScheduling({
|
|
|
27515
27515
|
const { notify: notify17 } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
27516
27516
|
const arbi = react.useArbi();
|
|
27517
27517
|
const me = arbi.isLoggedIn ? arbi.user.identity()?.email ?? null : null;
|
|
27518
|
-
const allDay =
|
|
27518
|
+
const allDay = chunkHUE76NAI_cjs.isAllDayDraft(draft);
|
|
27519
27519
|
const range = react$1.useMemo(() => {
|
|
27520
27520
|
try {
|
|
27521
|
-
const { startMs, endMs } =
|
|
27521
|
+
const { startMs, endMs } = chunkHUE76NAI_cjs.draftRangeUtc(draft, timeZone);
|
|
27522
27522
|
if (!Number.isFinite(startMs) || !Number.isFinite(endMs) || endMs <= startMs) return null;
|
|
27523
27523
|
return { start: new Date(startMs).toISOString(), end: new Date(endMs).toISOString() };
|
|
27524
27524
|
} catch {
|
|
@@ -27550,7 +27550,7 @@ function EventScheduling({
|
|
|
27550
27550
|
} : null;
|
|
27551
27551
|
const freeBusy = react.useFreeBusy(open ? ids : [], fbWindow?.start ?? null, fbWindow?.end ?? null);
|
|
27552
27552
|
const rows = react$1.useMemo(
|
|
27553
|
-
() => date && freeBusy.data ?
|
|
27553
|
+
() => date && freeBusy.data ? chunkHUE76NAI_cjs.freeBusyToRows(freeBusy.data, date, labelOf, roomEmails) : [],
|
|
27554
27554
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
27555
27555
|
[freeBusy.data, date, roomEmails, attendees, me]
|
|
27556
27556
|
);
|
|
@@ -27579,7 +27579,7 @@ function EventScheduling({
|
|
|
27579
27579
|
className: "space-y-4 rounded-md border border-border p-3",
|
|
27580
27580
|
"data-testid": "calendar-scheduling-section",
|
|
27581
27581
|
children: date && /* @__PURE__ */ jsxRuntime.jsx(
|
|
27582
|
-
|
|
27582
|
+
chunkHUE76NAI_cjs.SchedulingAssistant,
|
|
27583
27583
|
{
|
|
27584
27584
|
date,
|
|
27585
27585
|
timeZone,
|
|
@@ -27604,12 +27604,12 @@ function EventScheduling({
|
|
|
27604
27604
|
limit: 8
|
|
27605
27605
|
},
|
|
27606
27606
|
{
|
|
27607
|
-
onSuccess: (s) => setSuggestions(
|
|
27607
|
+
onSuccess: (s) => setSuggestions(chunkHUE76NAI_cjs.toSuggestionViews(s)),
|
|
27608
27608
|
onError: (err) => notify17(`Could not find times: ${err.message}`, "error")
|
|
27609
27609
|
}
|
|
27610
27610
|
),
|
|
27611
27611
|
onPickSuggestion: (s) => {
|
|
27612
|
-
onChange(
|
|
27612
|
+
onChange(chunkHUE76NAI_cjs.applySuggestion(draft, s, timeZone));
|
|
27613
27613
|
setDayOverride(null);
|
|
27614
27614
|
}
|
|
27615
27615
|
}
|
|
@@ -27639,7 +27639,7 @@ function EventEditorDialog({
|
|
|
27639
27639
|
const { notify: notify17, runtimeConfig } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
27640
27640
|
const attachmentDocuments = documents.map((document2) => ({
|
|
27641
27641
|
doc_id: document2.external_id,
|
|
27642
|
-
title:
|
|
27642
|
+
title: chunkCLPDKHSP_cjs.toWorkflowFieldDocument(document2).title,
|
|
27643
27643
|
url: chunkLJJJ6CYH_cjs.buildDeepLinkUrl(
|
|
27644
27644
|
{ workspaceId: workspaceId ?? void 0, documentId: document2.external_id },
|
|
27645
27645
|
runtimeConfig.deploymentDomain
|
|
@@ -27692,7 +27692,7 @@ function EventEditorDialog({
|
|
|
27692
27692
|
"Add an ARBI call (the link is created when you save)"
|
|
27693
27693
|
] }),
|
|
27694
27694
|
editor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
27695
|
-
|
|
27695
|
+
chunkHUE76NAI_cjs.EventEditor,
|
|
27696
27696
|
{
|
|
27697
27697
|
value: editor.draft,
|
|
27698
27698
|
onChange: setDraft,
|
|
@@ -27737,7 +27737,7 @@ function EventEditorDialog({
|
|
|
27737
27737
|
}
|
|
27738
27738
|
function when(inv, zone) {
|
|
27739
27739
|
if (!inv.start_utc || !inv.end_utc) return "";
|
|
27740
|
-
return
|
|
27740
|
+
return chunkHUE76NAI_cjs.formatEventWhen(
|
|
27741
27741
|
{ all_day: false, start_utc: inv.start_utc, end_utc: inv.end_utc, start: {}, end: {} },
|
|
27742
27742
|
zone
|
|
27743
27743
|
);
|
|
@@ -27900,7 +27900,7 @@ function InvitationsPanel({ timeZone, onOpenEvent }) {
|
|
|
27900
27900
|
}
|
|
27901
27901
|
),
|
|
27902
27902
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27903
|
-
|
|
27903
|
+
chunkHUE76NAI_cjs.ProposeTimeDialog,
|
|
27904
27904
|
{
|
|
27905
27905
|
open: !!proposeFor,
|
|
27906
27906
|
startUtc: proposeFor?.start_utc ?? null,
|
|
@@ -27979,7 +27979,7 @@ function PublishCalendarDialog({
|
|
|
27979
27979
|
}
|
|
27980
27980
|
)
|
|
27981
27981
|
] }),
|
|
27982
|
-
publish.error && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-destructive", role: "alert", children:
|
|
27982
|
+
publish.error && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-destructive", role: "alert", children: chunkHUE76NAI_cjs.describeCalendarError(publish.error, "Could not publish the calendar") }),
|
|
27983
27983
|
/* @__PURE__ */ jsxRuntime.jsxs(ui.DialogFooter, { children: [
|
|
27984
27984
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Button, { type: "button", variant: "ghost", onClick: onClose, children: "Cancel" }),
|
|
27985
27985
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -28163,7 +28163,7 @@ function useWebinarAttendee(draft, calls) {
|
|
|
28163
28163
|
}, [pending, attendees, calls]);
|
|
28164
28164
|
const roles = conference?.url ? conference.roles : null;
|
|
28165
28165
|
return react$1.useCallback(
|
|
28166
|
-
(a) => roles ?
|
|
28166
|
+
(a) => roles ? chunkHUE76NAI_cjs.attendeeKey(a) in roles : arbiUsers.has(chunkHUE76NAI_cjs.attendeeKey(a)),
|
|
28167
28167
|
[roles, arbiUsers]
|
|
28168
28168
|
);
|
|
28169
28169
|
}
|
|
@@ -28251,7 +28251,7 @@ var isPhoneNow = () => typeof window !== "undefined" && !!window.matchMedia?.(PH
|
|
|
28251
28251
|
function useIsPhone2() {
|
|
28252
28252
|
return react$1.useSyncExternalStore(subscribePhone, isPhoneNow, () => false);
|
|
28253
28253
|
}
|
|
28254
|
-
var errorText2 = (err) =>
|
|
28254
|
+
var errorText2 = (err) => chunkHUE76NAI_cjs.describeCalendarError(err);
|
|
28255
28255
|
var PRINT_VIEW = {
|
|
28256
28256
|
day: "day",
|
|
28257
28257
|
week: "week",
|
|
@@ -28295,19 +28295,19 @@ function ConnectedCalendar({
|
|
|
28295
28295
|
const kindOf = /* @__PURE__ */ new Map();
|
|
28296
28296
|
for (const acc of accounts ?? []) for (const id of acc.calendars ?? []) kindOf.set(id, acc.kind);
|
|
28297
28297
|
return calendars.map((c) => {
|
|
28298
|
-
const item =
|
|
28298
|
+
const item = chunkHUE76NAI_cjs.calendarToListItem(c);
|
|
28299
28299
|
return item.provider ? item : { ...item, provider: kindOf.get(c.id) ?? null };
|
|
28300
28300
|
});
|
|
28301
28301
|
}, [calendars, accounts]);
|
|
28302
28302
|
const gridEvents = react$1.useMemo(() => {
|
|
28303
|
-
const out =
|
|
28303
|
+
const out = chunkHUE76NAI_cjs.buildGridEvents(events, calendars, overlays, {
|
|
28304
28304
|
zone,
|
|
28305
28305
|
showDeclined: !!settings.show_declined
|
|
28306
28306
|
});
|
|
28307
28307
|
const pending = [];
|
|
28308
28308
|
for (const item of outbox ?? []) {
|
|
28309
28309
|
if (item.op.kind !== "create" || item.state === "sent") continue;
|
|
28310
|
-
const g =
|
|
28310
|
+
const g = chunkHUE76NAI_cjs.pendingCreateToGrid(item.requestId, item.op.body, zone);
|
|
28311
28311
|
if (g) pending.push(g);
|
|
28312
28312
|
}
|
|
28313
28313
|
return pending.length ? [...out, ...pending] : out;
|
|
@@ -28361,13 +28361,13 @@ function ConnectedCalendar({
|
|
|
28361
28361
|
};
|
|
28362
28362
|
const saveWebinarRoles = (original, draft) => {
|
|
28363
28363
|
const c = draft.conference;
|
|
28364
|
-
if (!calls || !
|
|
28364
|
+
if (!calls || !chunkHUE76NAI_cjs.isWebinarConference(c) || !c?.url || !original.conference?.url) return;
|
|
28365
28365
|
if (JSON.stringify(original.conference.roles ?? {}) === JSON.stringify(c.roles ?? {})) return;
|
|
28366
28366
|
calls.saveWebinarRoles(c.url, c.roles, draft.attendees ?? []).catch((err) => notifyError("Could not update the webinar roles", err));
|
|
28367
28367
|
};
|
|
28368
28368
|
const isWebinarAttendee = useWebinarAttendee(editor?.draft, calls);
|
|
28369
28369
|
const joinMeeting = (event) => {
|
|
28370
|
-
const url =
|
|
28370
|
+
const url = chunkHUE76NAI_cjs.conferenceUrl(event);
|
|
28371
28371
|
if (!url) return;
|
|
28372
28372
|
if (calls) calls.join(url);
|
|
28373
28373
|
else openMeetingLink(url);
|
|
@@ -28412,7 +28412,7 @@ function ConnectedCalendar({
|
|
|
28412
28412
|
);
|
|
28413
28413
|
const openCreate = react$1.useCallback(
|
|
28414
28414
|
(slot) => {
|
|
28415
|
-
const draft =
|
|
28415
|
+
const draft = chunkHUE76NAI_cjs.newEventDraft(settings, { slot, calendarId: defaultCalendarId });
|
|
28416
28416
|
setEditor({ mode: "create", original: draft, draft, error: null });
|
|
28417
28417
|
},
|
|
28418
28418
|
[settings, defaultCalendarId]
|
|
@@ -28420,7 +28420,7 @@ function ConnectedCalendar({
|
|
|
28420
28420
|
react$1.useEffect(() => {
|
|
28421
28421
|
if (!pendingComposer) return;
|
|
28422
28422
|
setPendingComposer(null);
|
|
28423
|
-
const base =
|
|
28423
|
+
const base = chunkHUE76NAI_cjs.newEventDraft(settings, { calendarId: defaultCalendarId });
|
|
28424
28424
|
const draft = {
|
|
28425
28425
|
...base,
|
|
28426
28426
|
title: pendingComposer.title ?? "",
|
|
@@ -28442,7 +28442,7 @@ function ConnectedCalendar({
|
|
|
28442
28442
|
});
|
|
28443
28443
|
}, [pendingComposer, setPendingComposer, settings, defaultCalendarId, callsEnabled]);
|
|
28444
28444
|
const openOverlay = (item) => {
|
|
28445
|
-
const link =
|
|
28445
|
+
const link = chunkHUE76NAI_cjs.parseOverlayLink(item.link);
|
|
28446
28446
|
if (!link) return;
|
|
28447
28447
|
if (onOpenOverlay) onOpenOverlay(link);
|
|
28448
28448
|
else if (link.kind === "conversation") openConversation(link.id);
|
|
@@ -28457,7 +28457,7 @@ function ConnectedCalendar({
|
|
|
28457
28457
|
if (overlay) openOverlay(overlay);
|
|
28458
28458
|
};
|
|
28459
28459
|
const withScope = (event, action, run, cancel) => {
|
|
28460
|
-
if (!
|
|
28460
|
+
if (!chunkHUE76NAI_cjs.needsScope(event)) {
|
|
28461
28461
|
run("all");
|
|
28462
28462
|
return;
|
|
28463
28463
|
}
|
|
@@ -28484,7 +28484,7 @@ function ConnectedCalendar({
|
|
|
28484
28484
|
event,
|
|
28485
28485
|
"edit",
|
|
28486
28486
|
(scope) => {
|
|
28487
|
-
const { target, body } =
|
|
28487
|
+
const { target, body } = chunkHUE76NAI_cjs.buildTimeChangeRequest(event, change, scope, zone);
|
|
28488
28488
|
updateEvent.mutate(
|
|
28489
28489
|
{ target, body },
|
|
28490
28490
|
{
|
|
@@ -28508,8 +28508,8 @@ function ConnectedCalendar({
|
|
|
28508
28508
|
master = null;
|
|
28509
28509
|
}
|
|
28510
28510
|
}
|
|
28511
|
-
let draft =
|
|
28512
|
-
if (calls && draft.conference?.url &&
|
|
28511
|
+
let draft = chunkHUE76NAI_cjs.eventToDraft(event, master);
|
|
28512
|
+
if (calls && draft.conference?.url && chunkHUE76NAI_cjs.isWebinarConference(draft.conference)) {
|
|
28513
28513
|
try {
|
|
28514
28514
|
const roles = await calls.loadWebinarRoles(draft.conference.url, draft.attendees ?? []);
|
|
28515
28515
|
if (roles) draft = { ...draft, conference: { ...draft.conference, kind: "webinar", roles } };
|
|
@@ -28520,7 +28520,7 @@ function ConnectedCalendar({
|
|
|
28520
28520
|
setEditor({ mode: "edit", event, original: draft, draft, error: null });
|
|
28521
28521
|
};
|
|
28522
28522
|
const removeEvent = (event) => {
|
|
28523
|
-
const run = (scope) => deleteEvent.mutate(
|
|
28523
|
+
const run = (scope) => deleteEvent.mutate(chunkHUE76NAI_cjs.buildDeleteTarget(event, scope), {
|
|
28524
28524
|
onSuccess: () => {
|
|
28525
28525
|
setSelected(null);
|
|
28526
28526
|
setEditor(null);
|
|
@@ -28528,7 +28528,7 @@ function ConnectedCalendar({
|
|
|
28528
28528
|
onError: (err) => notifyError("Could not delete the event", err)
|
|
28529
28529
|
});
|
|
28530
28530
|
const invitee = event.is_organizer === false && event.my_partstat != null;
|
|
28531
|
-
if (
|
|
28531
|
+
if (chunkHUE76NAI_cjs.needsScope(event)) withScope(event, "delete", run);
|
|
28532
28532
|
else
|
|
28533
28533
|
void confirm({
|
|
28534
28534
|
message: invitee ? `Remove \u201C${event.title || "this event"}\u201D from your calendar? The organiser is told you declined.` : `Delete \u201C${event.title || "this event"}\u201D?`,
|
|
@@ -28537,9 +28537,9 @@ function ConnectedCalendar({
|
|
|
28537
28537
|
};
|
|
28538
28538
|
const saveEditor = () => {
|
|
28539
28539
|
if (!editor) return;
|
|
28540
|
-
const problem =
|
|
28540
|
+
const problem = chunkHUE76NAI_cjs.validateDraft(editor.draft, zone);
|
|
28541
28541
|
if (problem) {
|
|
28542
|
-
setEditor({ ...editor, error:
|
|
28542
|
+
setEditor({ ...editor, error: chunkHUE76NAI_cjs.CALENDAR_DEFAULT_LABELS[problem] });
|
|
28543
28543
|
return;
|
|
28544
28544
|
}
|
|
28545
28545
|
if (editor.mode === "create") {
|
|
@@ -28553,7 +28553,7 @@ function ConnectedCalendar({
|
|
|
28553
28553
|
);
|
|
28554
28554
|
return;
|
|
28555
28555
|
}
|
|
28556
|
-
createEvent.mutate(
|
|
28556
|
+
createEvent.mutate(chunkHUE76NAI_cjs.buildCreateBody(draft), {
|
|
28557
28557
|
onSuccess: (event2) => {
|
|
28558
28558
|
shareCall(draft);
|
|
28559
28559
|
setEditor(null);
|
|
@@ -28578,7 +28578,7 @@ function ConnectedCalendar({
|
|
|
28578
28578
|
);
|
|
28579
28579
|
return;
|
|
28580
28580
|
}
|
|
28581
|
-
const { target, body, moveTo } =
|
|
28581
|
+
const { target, body, moveTo } = chunkHUE76NAI_cjs.buildEditRequest(event, editor.original, draft, scope);
|
|
28582
28582
|
try {
|
|
28583
28583
|
let id = event.id;
|
|
28584
28584
|
let queued = false;
|
|
@@ -28698,7 +28698,7 @@ function ConnectedCalendar({
|
|
|
28698
28698
|
}
|
|
28699
28699
|
),
|
|
28700
28700
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28701
|
-
|
|
28701
|
+
chunkHUE76NAI_cjs.MiniMonth,
|
|
28702
28702
|
{
|
|
28703
28703
|
date,
|
|
28704
28704
|
weekStart: settings.week_start,
|
|
@@ -28709,7 +28709,7 @@ function ConnectedCalendar({
|
|
|
28709
28709
|
}
|
|
28710
28710
|
),
|
|
28711
28711
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28712
|
-
|
|
28712
|
+
chunkHUE76NAI_cjs.CalendarList,
|
|
28713
28713
|
{
|
|
28714
28714
|
calendars: listItems,
|
|
28715
28715
|
overlays: {
|
|
@@ -28770,7 +28770,7 @@ function ConnectedCalendar({
|
|
|
28770
28770
|
}
|
|
28771
28771
|
),
|
|
28772
28772
|
/* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 min-w-0 flex-1 flex-col", "data-testid": "calendar-main", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28773
|
-
|
|
28773
|
+
chunkHUE76NAI_cjs.CalendarGrid,
|
|
28774
28774
|
{
|
|
28775
28775
|
events: gridEvents,
|
|
28776
28776
|
view,
|
|
@@ -28806,7 +28806,7 @@ function ConnectedCalendar({
|
|
|
28806
28806
|
"aria-label": "Print",
|
|
28807
28807
|
title: "Print",
|
|
28808
28808
|
"data-testid": "calendar-print-button",
|
|
28809
|
-
onClick: () =>
|
|
28809
|
+
onClick: () => chunkHUE76NAI_cjs.printCalendar({
|
|
28810
28810
|
events: (events ?? []).filter(
|
|
28811
28811
|
(e) => !calendars.find((c) => c.id === e.calendar_id)?.hidden
|
|
28812
28812
|
),
|
|
@@ -28868,13 +28868,13 @@ function ConnectedCalendar({
|
|
|
28868
28868
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { className: "sr-only", children: selectedEvent?.title || "Event" }),
|
|
28869
28869
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { className: "sr-only", children: "Event details" }),
|
|
28870
28870
|
selectedEvent && /* @__PURE__ */ jsxRuntime.jsx(
|
|
28871
|
-
|
|
28871
|
+
chunkHUE76NAI_cjs.EventDetails,
|
|
28872
28872
|
{
|
|
28873
28873
|
event: selectedEvent,
|
|
28874
28874
|
timeZone: zone,
|
|
28875
28875
|
calendarName: selectedCalendar?.name ?? null,
|
|
28876
28876
|
calendarColor: selectedCalendar?.color ?? null,
|
|
28877
|
-
canJoin:
|
|
28877
|
+
canJoin: chunkHUE76NAI_cjs.canJoinEvent(selectedEvent),
|
|
28878
28878
|
onClose: () => setSelected(null),
|
|
28879
28879
|
onEdit: selectedEvent.can_edit && !selectedEvent.restricted ? () => void openEdit(selectedEvent) : void 0,
|
|
28880
28880
|
onDelete: selectedEvent.can_edit || selectedEvent.is_organizer === false && selectedEvent.my_partstat != null ? () => removeEvent(selectedEvent) : void 0,
|
|
@@ -28884,9 +28884,9 @@ function ConnectedCalendar({
|
|
|
28884
28884
|
setSelected(null);
|
|
28885
28885
|
joinMeeting(selectedEvent);
|
|
28886
28886
|
} : void 0,
|
|
28887
|
-
onOpenMeetingChat: calls && selectedEvent.conference?.type === "arbi" &&
|
|
28887
|
+
onOpenMeetingChat: calls && selectedEvent.conference?.type === "arbi" && chunkHUE76NAI_cjs.conferenceUrl(selectedEvent) ? () => {
|
|
28888
28888
|
setSelected(null);
|
|
28889
|
-
calls.openChat(
|
|
28889
|
+
calls.openChat(chunkHUE76NAI_cjs.conferenceUrl(selectedEvent));
|
|
28890
28890
|
} : void 0
|
|
28891
28891
|
}
|
|
28892
28892
|
)
|
|
@@ -28912,7 +28912,7 @@ function ConnectedCalendar({
|
|
|
28912
28912
|
}
|
|
28913
28913
|
),
|
|
28914
28914
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28915
|
-
|
|
28915
|
+
chunkHUE76NAI_cjs.ScopeDialog,
|
|
28916
28916
|
{
|
|
28917
28917
|
open: !!scopePrompt,
|
|
28918
28918
|
action: scopePrompt?.action ?? "edit",
|
|
@@ -28922,7 +28922,7 @@ function ConnectedCalendar({
|
|
|
28922
28922
|
}
|
|
28923
28923
|
),
|
|
28924
28924
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28925
|
-
|
|
28925
|
+
chunkHUE76NAI_cjs.CalendarFormDialog,
|
|
28926
28926
|
{
|
|
28927
28927
|
open: !!calendarForm,
|
|
28928
28928
|
mode: calendarForm?.mode ?? "create",
|
|
@@ -28973,7 +28973,7 @@ function ConnectedCalendar({
|
|
|
28973
28973
|
),
|
|
28974
28974
|
/* @__PURE__ */ jsxRuntime.jsx(HolidaysDialog, { open: addDialog === "holidays", onClose: () => setAddDialog(null) }),
|
|
28975
28975
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28976
|
-
|
|
28976
|
+
chunkHUE76NAI_cjs.ProposeTimeDialog,
|
|
28977
28977
|
{
|
|
28978
28978
|
open: !!proposeFor,
|
|
28979
28979
|
startUtc: proposeFor?.start_utc ?? null,
|
|
@@ -29056,7 +29056,7 @@ function CancelView({ slug, token }) {
|
|
|
29056
29056
|
react.cancelPublicBooking(apiBaseUrl, slug, token).then(() => setState("done")).catch((err) => {
|
|
29057
29057
|
setState("idle");
|
|
29058
29058
|
setError(
|
|
29059
|
-
err instanceof react.PublicBookingError && err.status === 404 ? "This booking was not found \u2014 it may already be cancelled." :
|
|
29059
|
+
err instanceof react.PublicBookingError && err.status === 404 ? "This booking was not found \u2014 it may already be cancelled." : chunkHUE76NAI_cjs.publicBookingMessage(err)
|
|
29060
29060
|
);
|
|
29061
29061
|
});
|
|
29062
29062
|
},
|
|
@@ -29085,7 +29085,7 @@ function Confirmation({
|
|
|
29085
29085
|
] }),
|
|
29086
29086
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-1 text-sm", children: [
|
|
29087
29087
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-medium", children: confirmation.title }),
|
|
29088
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground", "data-testid": "book-confirmed-when", children:
|
|
29088
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground", "data-testid": "book-confirmed-when", children: chunkHUE76NAI_cjs.formatSlotRange(confirmation.start, confirmation.end, zone) })
|
|
29089
29089
|
] }),
|
|
29090
29090
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "A confirmation has been sent to your e-mail." }),
|
|
29091
29091
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -29147,7 +29147,7 @@ function ConnectedPublicBooking({ slug, cancelToken }) {
|
|
|
29147
29147
|
};
|
|
29148
29148
|
}, [apiBaseUrl, slug, duration, offset, reload, cancelToken]);
|
|
29149
29149
|
const chosenDuration = duration ?? page?.durations[0] ?? 30;
|
|
29150
|
-
const days = react$1.useMemo(() =>
|
|
29150
|
+
const days = react$1.useMemo(() => chunkHUE76NAI_cjs.groupSlotsByDay(page?.slots ?? [], zone), [page?.slots, zone]);
|
|
29151
29151
|
const submit = react$1.useCallback(async () => {
|
|
29152
29152
|
if (!picked) return;
|
|
29153
29153
|
setSubmitting(true);
|
|
@@ -29163,7 +29163,7 @@ function ConnectedPublicBooking({ slug, cancelToken }) {
|
|
|
29163
29163
|
})
|
|
29164
29164
|
);
|
|
29165
29165
|
} catch (err) {
|
|
29166
|
-
setSubmitError(
|
|
29166
|
+
setSubmitError(chunkHUE76NAI_cjs.publicBookingMessage(err));
|
|
29167
29167
|
if (err instanceof react.PublicBookingError && err.status === 409) {
|
|
29168
29168
|
setPicked(null);
|
|
29169
29169
|
setReload((n) => n + 1);
|
|
@@ -29187,11 +29187,11 @@ function ConnectedPublicBooking({ slug, cancelToken }) {
|
|
|
29187
29187
|
}
|
|
29188
29188
|
) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-3", "data-testid": "book-error", children: [
|
|
29189
29189
|
/* @__PURE__ */ jsxRuntime.jsx("h1", { className: "text-lg font-semibold", children: loadError instanceof react.PublicBookingError && loadError.status === 404 ? "Page not found" : "Could not load this page" }),
|
|
29190
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-muted-foreground", children:
|
|
29190
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-muted-foreground", children: chunkHUE76NAI_cjs.publicBookingMessage(loadError) }),
|
|
29191
29191
|
!(loadError instanceof react.PublicBookingError && loadError.status === 404) && /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: () => setReload((n) => n + 1), children: "Try again" })
|
|
29192
29192
|
] }) });
|
|
29193
29193
|
}
|
|
29194
|
-
const pickedLabel = picked ?
|
|
29194
|
+
const pickedLabel = picked ? chunkHUE76NAI_cjs.formatSlotRange(
|
|
29195
29195
|
picked,
|
|
29196
29196
|
new Date(new Date(picked).getTime() + chosenDuration * 6e4).toISOString(),
|
|
29197
29197
|
zone
|
|
@@ -29316,7 +29316,7 @@ function ConnectedPublicBooking({ slug, cancelToken }) {
|
|
|
29316
29316
|
onChange: (e) => setZone(e.target.value),
|
|
29317
29317
|
"aria-label": "Your time zone",
|
|
29318
29318
|
"data-testid": "book-zone",
|
|
29319
|
-
children:
|
|
29319
|
+
children: chunkHUE76NAI_cjs.zoneOptions(zone).map((z) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: z, children: z.replace(/_/g, " ") }, z))
|
|
29320
29320
|
}
|
|
29321
29321
|
)
|
|
29322
29322
|
] })
|
|
@@ -29325,7 +29325,7 @@ function ConnectedPublicBooking({ slug, cancelToken }) {
|
|
|
29325
29325
|
loading ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
|
|
29326
29326
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
|
|
29327
29327
|
" Finding free times\u2026"
|
|
29328
|
-
] }) : loadError ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", "data-testid": "book-error", children:
|
|
29328
|
+
] }) : loadError ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", "data-testid": "book-error", children: chunkHUE76NAI_cjs.publicBookingMessage(loadError) }) : days.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", "data-testid": "book-no-slots", children: "No free times in these two weeks." }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-4", "data-testid": "book-days", children: days.map((day) => /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "grid gap-2", "data-testid": `book-day-${day.date}`, children: [
|
|
29329
29329
|
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm font-medium", children: day.label }),
|
|
29330
29330
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-3 gap-2 sm:grid-cols-4 md:grid-cols-5", children: day.slots.map((s) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
29331
29331
|
ui.Button,
|
|
@@ -30605,11 +30605,12 @@ function ConnectedNewFileMenu({ open, onOpenChange }) {
|
|
|
30605
30605
|
}
|
|
30606
30606
|
);
|
|
30607
30607
|
}
|
|
30608
|
+
var STARTING_PAGE = react.defaultLayoutState().shell.page;
|
|
30608
30609
|
function ConnectedBulkTagCrumbs() {
|
|
30609
30610
|
const { workspace } = react.useCurrentWorkspace();
|
|
30610
30611
|
const activePage = react.useArbiSessionState((state) => state.shell.page);
|
|
30611
30612
|
if (!workspace) return null;
|
|
30612
|
-
const pageLabel = activePage === "documents" ? ui.getEntityLabel("DOCUMENT", "PLURAL") : activePage.charAt(0).toUpperCase() + activePage.slice(1);
|
|
30613
|
+
const pageLabel = activePage === STARTING_PAGE ? null : activePage === "documents" ? ui.getEntityLabel("DOCUMENT", "PLURAL") : activePage.charAt(0).toUpperCase() + activePage.slice(1);
|
|
30613
30614
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30614
30615
|
chunk223D4727_cjs.ModalCrumbs,
|
|
30615
30616
|
{
|
|
@@ -30618,7 +30619,7 @@ function ConnectedBulkTagCrumbs() {
|
|
|
30618
30619
|
icon: /* @__PURE__ */ jsxRuntime.jsx(ConnectedWorkspaceEntity, { workspace, size: 16, variant: "icon" }),
|
|
30619
30620
|
label: workspace.name
|
|
30620
30621
|
},
|
|
30621
|
-
{ icon: /* @__PURE__ */ jsxRuntime.jsx(ui.EntityIcon, { entityType: "DOCUMENT", className: "size-4" }), label: pageLabel }
|
|
30622
|
+
...pageLabel ? [{ icon: /* @__PURE__ */ jsxRuntime.jsx(ui.EntityIcon, { entityType: "DOCUMENT", className: "size-4" }), label: pageLabel }] : []
|
|
30622
30623
|
]
|
|
30623
30624
|
}
|
|
30624
30625
|
);
|
|
@@ -32244,7 +32245,7 @@ function useBatchCompleteToasts() {
|
|
|
32244
32245
|
}
|
|
32245
32246
|
}, AI_FIELDS_NOTICE_WINDOW_MS);
|
|
32246
32247
|
} else if (message.batch_type === "entity_extract") {
|
|
32247
|
-
say(`${
|
|
32248
|
+
say(`${chunkVJLW3UPL_cjs.entitiesPhrase()} extracted from ${chunkVJLW3UPL_cjs.documentCount(docIds.length)}`, "success", {
|
|
32248
32249
|
...openTags && { action: { label: "View", onClick: openTags } }
|
|
32249
32250
|
});
|
|
32250
32251
|
} else if (message.batch_type === "upload") {
|
|
@@ -33066,13 +33067,13 @@ var TABLET_TABLE_BELOW = 860;
|
|
|
33066
33067
|
var TABLET_VIEWPORT_BELOW = 1100;
|
|
33067
33068
|
var NO_CONVERSATION_DOCUMENTS2 = [];
|
|
33068
33069
|
var DocumentReviewCard = react$1.lazy(
|
|
33069
|
-
() => import('../DocumentReviewCard-
|
|
33070
|
+
() => import('../DocumentReviewCard-XGYMO5YS.cjs').then((module) => ({ default: module.DocumentReviewCard }))
|
|
33070
33071
|
);
|
|
33071
33072
|
var FilesViewerDialog = react$1.lazy(
|
|
33072
|
-
() => import('../FilesViewerDialog-
|
|
33073
|
+
() => import('../FilesViewerDialog-3C6JUMVS.cjs').then((module) => ({ default: module.FilesViewerDialog }))
|
|
33073
33074
|
);
|
|
33074
33075
|
function defaultReviewCard(props) {
|
|
33075
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33076
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkVJLW3UPL_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
|
|
33076
33077
|
}
|
|
33077
33078
|
function ConnectedFilesPage({
|
|
33078
33079
|
isModal = false,
|
|
@@ -33114,7 +33115,7 @@ function ConnectedFilesPage({
|
|
|
33114
33115
|
const deleteDocuments = react.useDeleteDocuments();
|
|
33115
33116
|
const isDocumentsPending = isLoading && documents.length === 0;
|
|
33116
33117
|
const { workspaceId, userId, live } = chunkWV65MJ43_cjs.useConnectedWorkspace();
|
|
33117
|
-
const { role, members } =
|
|
33118
|
+
const { role, members } = chunkCLPDKHSP_cjs.useConnectedWorkspaceRole();
|
|
33118
33119
|
const { data: workspaces } = react.useWorkspaces({ enabled: live });
|
|
33119
33120
|
const workspace = workspaces?.find((w) => w.external_id === workspaceId);
|
|
33120
33121
|
const workspaceName = workspace?.name;
|
|
@@ -33607,7 +33608,7 @@ function ConnectedFilesPage({
|
|
|
33607
33608
|
viewMode === "grid" ? (
|
|
33608
33609
|
// ‹ n / N › over the table's displayed rows; a step opens the document.
|
|
33609
33610
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33610
|
-
|
|
33611
|
+
chunkVJLW3UPL_cjs.GridRowNavigator,
|
|
33611
33612
|
{
|
|
33612
33613
|
gridApi,
|
|
33613
33614
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -33910,7 +33911,7 @@ function ProcessingSection({
|
|
|
33910
33911
|
tasks,
|
|
33911
33912
|
onDelete
|
|
33912
33913
|
}) {
|
|
33913
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkDGG35TPO_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33914
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkDGG35TPO_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
|
|
33914
33915
|
}
|
|
33915
33916
|
function ConnectedDocumentProcessingPanel({
|
|
33916
33917
|
workspaceId,
|
|
@@ -37026,9 +37027,9 @@ function resolveLaunchInputs(workflow, request) {
|
|
|
37026
37027
|
return { ...fromContext, ...fromScope, ...request.inputs };
|
|
37027
37028
|
}
|
|
37028
37029
|
function useWorkflowLaunch() {
|
|
37029
|
-
const { skills } =
|
|
37030
|
+
const { skills } = chunkYACOI5ZU_cjs.useWorkflowDefinitions();
|
|
37030
37031
|
const launch = react$1.useCallback(
|
|
37031
|
-
(workflowId, options2 = {}) =>
|
|
37032
|
+
(workflowId, options2 = {}) => chunk5YBH5CQD_cjs.openWorkflowLaunch({ workflowId, ...options2 }),
|
|
37032
37033
|
[]
|
|
37033
37034
|
);
|
|
37034
37035
|
const itemsFor = react$1.useCallback(
|
|
@@ -37057,9 +37058,9 @@ function useWorkflowLaunch() {
|
|
|
37057
37058
|
return { launch, itemsFor, scopeItemsFor };
|
|
37058
37059
|
}
|
|
37059
37060
|
function Inner() {
|
|
37060
|
-
const request =
|
|
37061
|
-
const close =
|
|
37062
|
-
const { skills } =
|
|
37061
|
+
const request = chunk5YBH5CQD_cjs.useWorkflowLaunchRequest();
|
|
37062
|
+
const close = chunk5YBH5CQD_cjs.closeWorkflowLaunch;
|
|
37063
|
+
const { skills } = chunkYACOI5ZU_cjs.useWorkflowDefinitions();
|
|
37063
37064
|
const run = useLaunchWorkflow({ landing: request?.landing });
|
|
37064
37065
|
const workflow = skills.find((w) => w.id === request?.workflowId);
|
|
37065
37066
|
const inputs = react$1.useMemo(
|
|
@@ -37096,7 +37097,7 @@ function Inner() {
|
|
|
37096
37097
|
);
|
|
37097
37098
|
}
|
|
37098
37099
|
function WorkflowLaunchHost() {
|
|
37099
|
-
return
|
|
37100
|
+
return chunk5YBH5CQD_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
|
|
37100
37101
|
}
|
|
37101
37102
|
function isNeedsConfirmationDetail(detail) {
|
|
37102
37103
|
return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
|
|
@@ -37408,7 +37409,7 @@ function ConnectedConversationSettings() {
|
|
|
37408
37409
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37409
37410
|
chunkYRVE6RX5_cjs.ModelSelectionSection,
|
|
37410
37411
|
{
|
|
37411
|
-
selector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37412
|
+
selector: /* @__PURE__ */ jsxRuntime.jsx(chunkNZ26UYEQ_cjs.ConnectedModelSelector, {}),
|
|
37412
37413
|
onUseDefaults: settings.resetToDefaults
|
|
37413
37414
|
}
|
|
37414
37415
|
)
|
|
@@ -37434,7 +37435,7 @@ function ConnectedConversationSettingsDialog({
|
|
|
37434
37435
|
}
|
|
37435
37436
|
) });
|
|
37436
37437
|
}
|
|
37437
|
-
var ConnectedProductionSetDialog = react$1.lazy(() => import('../ConnectedProductionSetDialog-
|
|
37438
|
+
var ConnectedProductionSetDialog = react$1.lazy(() => import('../ConnectedProductionSetDialog-T3Q32XPJ.cjs'));
|
|
37438
37439
|
var BUILTIN_GLOBAL_DIALOGS = {
|
|
37439
37440
|
support: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
37440
37441
|
ConnectedSupportTicketsDialog,
|
|
@@ -37467,7 +37468,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
|
|
|
37467
37468
|
testId: "workspace-transfer-modal"
|
|
37468
37469
|
}
|
|
37469
37470
|
),
|
|
37470
|
-
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
37471
|
+
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkNZ26UYEQ_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
|
|
37471
37472
|
conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
|
|
37472
37473
|
unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
|
|
37473
37474
|
productionSet: ConnectedProductionSetDialog,
|
|
@@ -37544,7 +37545,7 @@ function WorkflowRunStatusCell({ conversation }) {
|
|
|
37544
37545
|
return person ? ui.getUserDisplayName(person) : void 0;
|
|
37545
37546
|
};
|
|
37546
37547
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
37547
|
-
|
|
37548
|
+
chunk5YBH5CQD_cjs.WorkflowRunStatus,
|
|
37548
37549
|
{
|
|
37549
37550
|
steps,
|
|
37550
37551
|
states,
|
|
@@ -37578,7 +37579,7 @@ function ConversationStatusCell({ conversation }) {
|
|
|
37578
37579
|
if (conversation.plan?.steps?.length && !isLiveGenerating)
|
|
37579
37580
|
return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
|
|
37580
37581
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
37581
|
-
|
|
37582
|
+
chunk5YBH5CQD_cjs.ThreadStatusLine,
|
|
37582
37583
|
{
|
|
37583
37584
|
state: threadStateOf(conversation, isLiveGenerating),
|
|
37584
37585
|
className: "h-full",
|
|
@@ -37891,7 +37892,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
37891
37892
|
setDraft("");
|
|
37892
37893
|
};
|
|
37893
37894
|
return /* @__PURE__ */ jsxRuntime.jsx(chunkZ6JUJI4A_cjs.ComposerDock, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkZ6JUJI4A_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37894
|
-
|
|
37895
|
+
chunkNZ26UYEQ_cjs.ConversationComposer,
|
|
37895
37896
|
{
|
|
37896
37897
|
value: draft,
|
|
37897
37898
|
onValueChange: setDraft,
|
|
@@ -37899,7 +37900,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
37899
37900
|
handleSendMessage: send,
|
|
37900
37901
|
isConversationEmpty: true,
|
|
37901
37902
|
shouldOfferFollowUp: false,
|
|
37902
|
-
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37903
|
+
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkNZ26UYEQ_cjs.ConnectedModelSelector, { variant: "compact" }),
|
|
37903
37904
|
rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunkZ6JUJI4A_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
|
|
37904
37905
|
}
|
|
37905
37906
|
) }) });
|
|
@@ -37907,7 +37908,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
37907
37908
|
var START_VISIBLE = 8;
|
|
37908
37909
|
var START_SEARCH_ABOVE = 8;
|
|
37909
37910
|
function ConnectedConversationStart() {
|
|
37910
|
-
const { start } =
|
|
37911
|
+
const { start } = chunkYACOI5ZU_cjs.useWorkflowDefinitions();
|
|
37911
37912
|
const { openSkillsBrowser } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
37912
37913
|
const [query, setQuery] = react$1.useState("");
|
|
37913
37914
|
const q = query.trim().toLowerCase();
|
|
@@ -37922,7 +37923,7 @@ function ConnectedConversationStart() {
|
|
|
37922
37923
|
const browse = openSkillsBrowser ? [
|
|
37923
37924
|
{
|
|
37924
37925
|
id: "browse-all",
|
|
37925
|
-
iconNode:
|
|
37926
|
+
iconNode: chunk5YBH5CQD_cjs.renderWorkflowIcon("library"),
|
|
37926
37927
|
title: "Browse all",
|
|
37927
37928
|
description: "See every skill, make a copy, add your own",
|
|
37928
37929
|
onSelect: () => openSkillsBrowser(),
|
|
@@ -38028,7 +38029,7 @@ function AgentBarShell({
|
|
|
38028
38029
|
}, [isStepsExpanded, steps]);
|
|
38029
38030
|
const visibleStepCount = react$1.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
|
|
38030
38031
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
38031
|
-
|
|
38032
|
+
chunk5YBH5CQD_cjs.AgentBar,
|
|
38032
38033
|
{
|
|
38033
38034
|
className,
|
|
38034
38035
|
testId,
|
|
@@ -38040,7 +38041,7 @@ function AgentBarShell({
|
|
|
38040
38041
|
drawerRef: scrollRef,
|
|
38041
38042
|
onDrawerScroll: handleDrawerScroll,
|
|
38042
38043
|
drawer: /* @__PURE__ */ jsxRuntime.jsx(
|
|
38043
|
-
|
|
38044
|
+
chunkNZ26UYEQ_cjs.AgentSteps,
|
|
38044
38045
|
{
|
|
38045
38046
|
steps: stepList,
|
|
38046
38047
|
isStreaming,
|
|
@@ -38092,7 +38093,7 @@ function AgentControlBar({
|
|
|
38092
38093
|
const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
|
|
38093
38094
|
const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
|
|
38094
38095
|
const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
38095
|
-
|
|
38096
|
+
chunkNZ26UYEQ_cjs.MessageLiveSeconds,
|
|
38096
38097
|
{
|
|
38097
38098
|
...liveTimer,
|
|
38098
38099
|
offsetSeconds: currentStep?.t ?? 0,
|
|
@@ -38101,7 +38102,7 @@ function AgentControlBar({
|
|
|
38101
38102
|
}
|
|
38102
38103
|
);
|
|
38103
38104
|
const status = /* @__PURE__ */ jsxRuntime.jsx(
|
|
38104
|
-
|
|
38105
|
+
chunk5YBH5CQD_cjs.AgentBarStatus,
|
|
38105
38106
|
{
|
|
38106
38107
|
state: showState ? controlState : void 0,
|
|
38107
38108
|
stateLabel: STATE_LABEL[controlState],
|
|
@@ -38143,7 +38144,7 @@ function AgentControlBar({
|
|
|
38143
38144
|
];
|
|
38144
38145
|
const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
38145
38146
|
onStop && /* @__PURE__ */ jsxRuntime.jsx(
|
|
38146
|
-
|
|
38147
|
+
chunk5YBH5CQD_cjs.AgentBarIconButton,
|
|
38147
38148
|
{
|
|
38148
38149
|
onClick: onStop,
|
|
38149
38150
|
title: "Stop",
|
|
@@ -38152,22 +38153,22 @@ function AgentControlBar({
|
|
|
38152
38153
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
|
|
38153
38154
|
}
|
|
38154
38155
|
),
|
|
38155
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38156
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.AgentBarMenu, { items: menuItems })
|
|
38156
38157
|
] });
|
|
38157
38158
|
const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
|
|
38158
38159
|
(message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
|
|
38159
38160
|
);
|
|
38160
38161
|
const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
|
|
38161
|
-
const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
38162
|
+
const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunk5YBH5CQD_cjs.AgentBarNotes, { children: [
|
|
38162
38163
|
queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
38163
|
-
|
|
38164
|
+
chunk5YBH5CQD_cjs.AgentBarQueuedNote,
|
|
38164
38165
|
{
|
|
38165
38166
|
text: message.content ?? "",
|
|
38166
38167
|
isAcknowledged: message.acknowledged
|
|
38167
38168
|
},
|
|
38168
38169
|
index
|
|
38169
38170
|
)),
|
|
38170
|
-
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
38171
|
+
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
|
|
38171
38172
|
] }) : null;
|
|
38172
38173
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
38173
38174
|
AgentBarShell,
|
|
@@ -39102,7 +39103,7 @@ function ConversationThread({
|
|
|
39102
39103
|
}, [isGenerating]);
|
|
39103
39104
|
const slashWorkflows = useSlashSkillWorkflows({ landing: "current-chat" });
|
|
39104
39105
|
const composerSkills = react$1.useMemo(
|
|
39105
|
-
() => ({ builtin:
|
|
39106
|
+
() => ({ builtin: chunk5YBH5CQD_cjs.BUILTIN_SKILLS, openFor: slashWorkflows.openFor }),
|
|
39106
39107
|
[slashWorkflows.openFor]
|
|
39107
39108
|
);
|
|
39108
39109
|
const browseSkills = react$1.useMemo(
|
|
@@ -39151,7 +39152,7 @@ function ConversationThread({
|
|
|
39151
39152
|
useStartRequestedDraft();
|
|
39152
39153
|
const orphanedMessage = react.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
|
|
39153
39154
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunk32YCMXT2_cjs.ConversationBody, { children: [
|
|
39154
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunk32YCMXT2_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunk32YCMXT2_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
39155
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk32YCMXT2_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunk32YCMXT2_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkNZ26UYEQ_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkWFNEZT7S_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
|
|
39155
39156
|
meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
39156
39157
|
chunkZBP4ZSAJ_cjs.ConversationFilter,
|
|
39157
39158
|
{
|
|
@@ -39169,7 +39170,7 @@ function ConversationThread({
|
|
|
39169
39170
|
]
|
|
39170
39171
|
}
|
|
39171
39172
|
) }),
|
|
39172
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39173
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkNZ26UYEQ_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
|
|
39173
39174
|
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunkM6XUGXCY_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
39174
39175
|
] }) }) : meetingCallExtId ? (
|
|
39175
39176
|
// A meeting thread with nothing yet: call-aware, not the upload prompt.
|
|
@@ -39177,7 +39178,7 @@ function ConversationThread({
|
|
|
39177
39178
|
/* @__PURE__ */ jsxRuntime.jsx(chunkM6XUGXCY_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
|
|
39178
39179
|
/* @__PURE__ */ jsxRuntime.jsx(chunkM6XUGXCY_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
39179
39180
|
] })
|
|
39180
|
-
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
39181
|
+
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkNZ26UYEQ_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
39181
39182
|
ConnectedConversationEmpty,
|
|
39182
39183
|
{
|
|
39183
39184
|
hasDocuments: allWorkspaceDocuments.length > 0,
|
|
@@ -39248,7 +39249,7 @@ function ConversationThread({
|
|
|
39248
39249
|
children: react.READ_ONLY_MEETING_TEXT
|
|
39249
39250
|
}
|
|
39250
39251
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
39251
|
-
|
|
39252
|
+
chunkNZ26UYEQ_cjs.ConversationComposer,
|
|
39252
39253
|
{
|
|
39253
39254
|
handleSendMessage: handleUserSend,
|
|
39254
39255
|
placeholder: pendingAnswer ? "Type your answer to ARBI \u2014 or pick an option above" : void 0,
|
|
@@ -39588,7 +39589,7 @@ function ConnectedThreadsPage({
|
|
|
39588
39589
|
};
|
|
39589
39590
|
const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
|
|
39590
39591
|
/* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
39591
|
-
|
|
39592
|
+
chunk5YBH5CQD_cjs.ConversationListView,
|
|
39592
39593
|
{
|
|
39593
39594
|
showHeader,
|
|
39594
39595
|
conversations: tasks,
|
|
@@ -39607,7 +39608,7 @@ function ConnectedThreadsPage({
|
|
|
39607
39608
|
renderLabels: threadLabels.renderLabels,
|
|
39608
39609
|
labelText: threadLabels.labelText,
|
|
39609
39610
|
renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
39610
|
-
|
|
39611
|
+
chunk5YBH5CQD_cjs.ConversationTurnSpeaker,
|
|
39611
39612
|
{
|
|
39612
39613
|
variant: "icon",
|
|
39613
39614
|
role: row2.last_message_role,
|
|
@@ -40489,7 +40490,7 @@ function ConnectedConversationPage({
|
|
|
40489
40490
|
);
|
|
40490
40491
|
const { data: workspaceTags = [] } = react.useTags();
|
|
40491
40492
|
const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
|
|
40492
|
-
const historyCount =
|
|
40493
|
+
const historyCount = chunk5YBH5CQD_cjs.filterConversationRows(
|
|
40493
40494
|
threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
|
|
40494
40495
|
threadFilter,
|
|
40495
40496
|
(row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
@@ -40548,7 +40549,7 @@ function ConnectedConversationPage({
|
|
|
40548
40549
|
] })
|
|
40549
40550
|
}
|
|
40550
40551
|
),
|
|
40551
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
40552
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkYACOI5ZU_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
|
|
40552
40553
|
] }),
|
|
40553
40554
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
40554
40555
|
ConversationThread,
|
|
@@ -40757,7 +40758,7 @@ function SsoResendVerificationButton({
|
|
|
40757
40758
|
onClick: async () => handleResendEmailVerification(),
|
|
40758
40759
|
disabled: loading || disabled,
|
|
40759
40760
|
"aria-label": "Resend verification email",
|
|
40760
|
-
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
40761
|
+
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkVJLW3UPL_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
40761
40762
|
"Didn't get a verification email? ",
|
|
40762
40763
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
|
|
40763
40764
|
] })
|
|
@@ -40768,16 +40769,16 @@ function SsoResendVerificationButton({
|
|
|
40768
40769
|
}
|
|
40769
40770
|
var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
|
|
40770
40771
|
function ConnectedSsoCallback() {
|
|
40771
|
-
const sso =
|
|
40772
|
+
const sso = chunkNZ26UYEQ_cjs.useSsoSignIn();
|
|
40772
40773
|
const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
|
|
40773
|
-
const auth =
|
|
40774
|
+
const auth = chunkNZ26UYEQ_cjs.useAuthPages();
|
|
40774
40775
|
const { notify: notify17, navigate } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
40775
40776
|
const passwordRules = auth.passwordRules;
|
|
40776
40777
|
const isProcessing = react$1.useRef(false);
|
|
40777
40778
|
const hasCheckedStatus = react$1.useRef(false);
|
|
40778
40779
|
const [accessToken, setAccessToken] = react$1.useState(null);
|
|
40779
40780
|
const [ssoStatus, setSsoStatus] = react$1.useState(null);
|
|
40780
|
-
const ssoName = react$1.useMemo(() =>
|
|
40781
|
+
const ssoName = react$1.useMemo(() => chunkNZ26UYEQ_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
|
|
40781
40782
|
const [password, setPassword] = react$1.useState("");
|
|
40782
40783
|
const [confirmPassword, setConfirmPassword] = react$1.useState("");
|
|
40783
40784
|
const [error, setError] = react$1.useState(null);
|
|
@@ -40955,7 +40956,7 @@ function ConnectedSsoCallback() {
|
|
|
40955
40956
|
setIsCheckingStatus(true);
|
|
40956
40957
|
try {
|
|
40957
40958
|
console.info("[SSO] Checking user status...");
|
|
40958
|
-
const response = await
|
|
40959
|
+
const response = await chunkNZ26UYEQ_cjs.ssoAccountStatus(arbi, accessToken, user);
|
|
40959
40960
|
console.info("[SSO] User status:", response.status);
|
|
40960
40961
|
setSsoStatus(response);
|
|
40961
40962
|
} catch (error2) {
|
|
@@ -40999,7 +41000,7 @@ function ConnectedSsoCallback() {
|
|
|
40999
41000
|
setIsSubmitting(true);
|
|
41000
41001
|
setError(null);
|
|
41001
41002
|
try {
|
|
41002
|
-
const { login, registered, linked } = await
|
|
41003
|
+
const { login, registered, linked } = await chunkNZ26UYEQ_cjs.completeSsoSignIn(arbi, {
|
|
41003
41004
|
token: accessToken,
|
|
41004
41005
|
user,
|
|
41005
41006
|
status: ssoStatus,
|
|
@@ -41281,7 +41282,7 @@ function ConnectedSsoCallback() {
|
|
|
41281
41282
|
ssoStatus.status !== "new_user" && auth.footer
|
|
41282
41283
|
] }),
|
|
41283
41284
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41284
|
-
|
|
41285
|
+
chunkNZ26UYEQ_cjs.ConnectedForgotPassword,
|
|
41285
41286
|
{
|
|
41286
41287
|
open: showForgotPasswordModal,
|
|
41287
41288
|
onOpenChange: setShowForgotPasswordModal,
|
|
@@ -41289,7 +41290,7 @@ function ConnectedSsoCallback() {
|
|
|
41289
41290
|
}
|
|
41290
41291
|
),
|
|
41291
41292
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41292
|
-
|
|
41293
|
+
chunkNZ26UYEQ_cjs.ConnectedPasswordChangeDialog,
|
|
41293
41294
|
{
|
|
41294
41295
|
open: showChangePasswordModal,
|
|
41295
41296
|
onClose: () => setShowChangePasswordModal(false),
|
|
@@ -41448,27 +41449,27 @@ function ConnectedOAuthConsentPage({
|
|
|
41448
41449
|
oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
|
|
41449
41450
|
}
|
|
41450
41451
|
if (error && !params) {
|
|
41451
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41452
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
|
|
41452
41453
|
}
|
|
41453
41454
|
if (!params) {
|
|
41454
41455
|
return null;
|
|
41455
41456
|
}
|
|
41456
41457
|
if (clientInfo?.isLocalAgentFlow) {
|
|
41457
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41458
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_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." }) });
|
|
41458
41459
|
}
|
|
41459
41460
|
if (!isAuthenticated2) {
|
|
41460
41461
|
return null;
|
|
41461
41462
|
}
|
|
41462
41463
|
if (callbackUrl) {
|
|
41463
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41464
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
41464
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk5YBH5CQD_cjs.ConsentCard, { size: "md", children: [
|
|
41465
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk5YBH5CQD_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
|
|
41465
41466
|
"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",
|
|
41466
41467
|
" ",
|
|
41467
41468
|
copied ? "it's already copied to your clipboard." : "copy it first."
|
|
41468
41469
|
] }),
|
|
41469
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
41470
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41471
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
41470
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk5YBH5CQD_cjs.ConsentSection, { title: "Callback URL", children: [
|
|
41471
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
|
|
41472
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk5YBH5CQD_cjs.ConsentText, { variant: "hint", children: [
|
|
41472
41473
|
"In Claude Code, paste the URL at the prompt that says",
|
|
41473
41474
|
" ",
|
|
41474
41475
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
|
|
@@ -41477,17 +41478,17 @@ function ConnectedOAuthConsentPage({
|
|
|
41477
41478
|
] })
|
|
41478
41479
|
] }) });
|
|
41479
41480
|
}
|
|
41480
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41481
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
41482
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41481
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk5YBH5CQD_cjs.ConsentCard, { children: [
|
|
41482
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk5YBH5CQD_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
|
|
41483
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
|
|
41483
41484
|
" is requesting access to your ",
|
|
41484
41485
|
appName,
|
|
41485
41486
|
" workspace."
|
|
41486
41487
|
] }),
|
|
41487
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41488
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41489
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41490
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41488
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConsentPermissionList, { items: permissions }) }),
|
|
41489
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConsentNotice, { tone: "error", children: error }),
|
|
41490
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
|
|
41491
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5YBH5CQD_cjs.ConsentFootnote, { children: footnote })
|
|
41491
41492
|
] }) });
|
|
41492
41493
|
}
|
|
41493
41494
|
function ConnectedSharedFilesPage({
|
|
@@ -41891,7 +41892,7 @@ function ConnectedTipBar({
|
|
|
41891
41892
|
className,
|
|
41892
41893
|
revealOnHover = false
|
|
41893
41894
|
}) {
|
|
41894
|
-
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } =
|
|
41895
|
+
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkNZ26UYEQ_cjs.useContextualHints();
|
|
41895
41896
|
const { dismissed, dismissTip } = react.useDismissedTips();
|
|
41896
41897
|
const { notify: notify17 } = chunkUIXY4HKM_cjs.useBlocksEnvironment();
|
|
41897
41898
|
const { data: workspaces } = react.useWorkspaces();
|
|
@@ -41902,7 +41903,7 @@ function ConnectedTipBar({
|
|
|
41902
41903
|
workspaceOpen,
|
|
41903
41904
|
...state
|
|
41904
41905
|
};
|
|
41905
|
-
const { tip, index, count: count2, previous, next, onHoverChange } =
|
|
41906
|
+
const { tip, index, count: count2, previous, next, onHoverChange } = chunkVJLW3UPL_cjs.useTipsPlacement({
|
|
41906
41907
|
registry,
|
|
41907
41908
|
context,
|
|
41908
41909
|
state: situation,
|
|
@@ -41980,7 +41981,7 @@ function useGettingStarted({
|
|
|
41980
41981
|
const { user } = react.useArbiSession();
|
|
41981
41982
|
const userExtId = user?.external_id;
|
|
41982
41983
|
const temporaryOnly = user?.temporary_access_only === true;
|
|
41983
|
-
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } =
|
|
41984
|
+
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkNZ26UYEQ_cjs.useContextualHints();
|
|
41984
41985
|
const { dismissed, loaded: dismissedLoaded, dismissTip } = react.useDismissedTips();
|
|
41985
41986
|
const welcomeJourneyEnabled = react.useFeature("welcomeJourney");
|
|
41986
41987
|
const session = react.useArbiSessionStore();
|
|
@@ -42254,7 +42255,7 @@ Object.defineProperty(exports, "useRewardBalance", {
|
|
|
42254
42255
|
});
|
|
42255
42256
|
Object.defineProperty(exports, "ConnectedMailInviteCard", {
|
|
42256
42257
|
enumerable: true,
|
|
42257
|
-
get: function () { return
|
|
42258
|
+
get: function () { return chunkGNKQVCMW_cjs.ConnectedMailInviteCard; }
|
|
42258
42259
|
});
|
|
42259
42260
|
Object.defineProperty(exports, "ConnectedTagEntity", {
|
|
42260
42261
|
enumerable: true,
|
|
@@ -42314,283 +42315,283 @@ Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
|
42314
42315
|
});
|
|
42315
42316
|
Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
|
|
42316
42317
|
enumerable: true,
|
|
42317
|
-
get: function () { return
|
|
42318
|
+
get: function () { return chunkYACOI5ZU_cjs.ConnectedTaskActivityDialog; }
|
|
42318
42319
|
});
|
|
42319
42320
|
Object.defineProperty(exports, "ConnectedTaskComposer", {
|
|
42320
42321
|
enumerable: true,
|
|
42321
|
-
get: function () { return
|
|
42322
|
+
get: function () { return chunkYACOI5ZU_cjs.ConnectedTaskComposer; }
|
|
42322
42323
|
});
|
|
42323
42324
|
Object.defineProperty(exports, "ConnectedThreadTaskBar", {
|
|
42324
42325
|
enumerable: true,
|
|
42325
|
-
get: function () { return
|
|
42326
|
+
get: function () { return chunkYACOI5ZU_cjs.ConnectedThreadTaskBar; }
|
|
42326
42327
|
});
|
|
42327
42328
|
Object.defineProperty(exports, "ConnectedWorkflowHistory", {
|
|
42328
42329
|
enumerable: true,
|
|
42329
|
-
get: function () { return
|
|
42330
|
+
get: function () { return chunkYACOI5ZU_cjs.ConnectedWorkflowHistory; }
|
|
42330
42331
|
});
|
|
42331
42332
|
Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
|
|
42332
42333
|
enumerable: true,
|
|
42333
|
-
get: function () { return
|
|
42334
|
+
get: function () { return chunkYACOI5ZU_cjs.ConnectedWorkflowRunPage; }
|
|
42334
42335
|
});
|
|
42335
42336
|
Object.defineProperty(exports, "ConnectedWorkflowRunner", {
|
|
42336
42337
|
enumerable: true,
|
|
42337
|
-
get: function () { return
|
|
42338
|
+
get: function () { return chunkYACOI5ZU_cjs.ConnectedWorkflowRunner; }
|
|
42338
42339
|
});
|
|
42339
42340
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
|
|
42340
42341
|
enumerable: true,
|
|
42341
|
-
get: function () { return
|
|
42342
|
+
get: function () { return chunkYACOI5ZU_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
|
|
42342
42343
|
});
|
|
42343
42344
|
Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
|
|
42344
42345
|
enumerable: true,
|
|
42345
|
-
get: function () { return
|
|
42346
|
+
get: function () { return chunkYACOI5ZU_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
|
|
42346
42347
|
});
|
|
42347
42348
|
Object.defineProperty(exports, "WorkflowRunThread", {
|
|
42348
42349
|
enumerable: true,
|
|
42349
|
-
get: function () { return
|
|
42350
|
+
get: function () { return chunkYACOI5ZU_cjs.WorkflowRunThread; }
|
|
42350
42351
|
});
|
|
42351
42352
|
Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
|
|
42352
42353
|
enumerable: true,
|
|
42353
|
-
get: function () { return
|
|
42354
|
+
get: function () { return chunkYACOI5ZU_cjs.WorkflowRunWorkspaceChangedError; }
|
|
42354
42355
|
});
|
|
42355
42356
|
Object.defineProperty(exports, "buildProjectSummaries", {
|
|
42356
42357
|
enumerable: true,
|
|
42357
|
-
get: function () { return
|
|
42358
|
+
get: function () { return chunkYACOI5ZU_cjs.buildProjectSummaries; }
|
|
42358
42359
|
});
|
|
42359
42360
|
Object.defineProperty(exports, "primaryProjectWorkspace", {
|
|
42360
42361
|
enumerable: true,
|
|
42361
|
-
get: function () { return
|
|
42362
|
+
get: function () { return chunkYACOI5ZU_cjs.primaryProjectWorkspace; }
|
|
42362
42363
|
});
|
|
42363
42364
|
Object.defineProperty(exports, "useEnsureRequiredLabels", {
|
|
42364
42365
|
enumerable: true,
|
|
42365
|
-
get: function () { return
|
|
42366
|
+
get: function () { return chunkYACOI5ZU_cjs.useEnsureRequiredLabels; }
|
|
42366
42367
|
});
|
|
42367
42368
|
Object.defineProperty(exports, "useProjectSummaries", {
|
|
42368
42369
|
enumerable: true,
|
|
42369
|
-
get: function () { return
|
|
42370
|
+
get: function () { return chunkYACOI5ZU_cjs.useProjectSummaries; }
|
|
42370
42371
|
});
|
|
42371
42372
|
Object.defineProperty(exports, "useProjectSummary", {
|
|
42372
42373
|
enumerable: true,
|
|
42373
|
-
get: function () { return
|
|
42374
|
+
get: function () { return chunkYACOI5ZU_cjs.useProjectSummary; }
|
|
42374
42375
|
});
|
|
42375
42376
|
Object.defineProperty(exports, "useRenderTaskPerson", {
|
|
42376
42377
|
enumerable: true,
|
|
42377
|
-
get: function () { return
|
|
42378
|
+
get: function () { return chunkYACOI5ZU_cjs.useRenderTaskPerson; }
|
|
42378
42379
|
});
|
|
42379
42380
|
Object.defineProperty(exports, "useRequiredLabels", {
|
|
42380
42381
|
enumerable: true,
|
|
42381
|
-
get: function () { return
|
|
42382
|
+
get: function () { return chunkYACOI5ZU_cjs.useRequiredLabels; }
|
|
42382
42383
|
});
|
|
42383
42384
|
Object.defineProperty(exports, "useSkillsEnabled", {
|
|
42384
42385
|
enumerable: true,
|
|
42385
|
-
get: function () { return
|
|
42386
|
+
get: function () { return chunkYACOI5ZU_cjs.useSkillsEnabled; }
|
|
42386
42387
|
});
|
|
42387
42388
|
Object.defineProperty(exports, "useTaskPeople", {
|
|
42388
42389
|
enumerable: true,
|
|
42389
|
-
get: function () { return
|
|
42390
|
+
get: function () { return chunkYACOI5ZU_cjs.useTaskPeople; }
|
|
42390
42391
|
});
|
|
42391
42392
|
Object.defineProperty(exports, "useWorkflowDefinitions", {
|
|
42392
42393
|
enumerable: true,
|
|
42393
|
-
get: function () { return
|
|
42394
|
+
get: function () { return chunkYACOI5ZU_cjs.useWorkflowDefinitions; }
|
|
42394
42395
|
});
|
|
42395
42396
|
Object.defineProperty(exports, "useWorkflowTasks", {
|
|
42396
42397
|
enumerable: true,
|
|
42397
|
-
get: function () { return
|
|
42398
|
+
get: function () { return chunkYACOI5ZU_cjs.useWorkflowTasks; }
|
|
42398
42399
|
});
|
|
42399
42400
|
Object.defineProperty(exports, "useWorkflowsPageState", {
|
|
42400
42401
|
enumerable: true,
|
|
42401
|
-
get: function () { return
|
|
42402
|
+
get: function () { return chunkYACOI5ZU_cjs.useWorkflowsPageState; }
|
|
42402
42403
|
});
|
|
42403
42404
|
Object.defineProperty(exports, "workflowRunView", {
|
|
42404
42405
|
enumerable: true,
|
|
42405
|
-
get: function () { return
|
|
42406
|
+
get: function () { return chunkYACOI5ZU_cjs.workflowRunView; }
|
|
42406
42407
|
});
|
|
42407
42408
|
Object.defineProperty(exports, "AgentSteps", {
|
|
42408
42409
|
enumerable: true,
|
|
42409
|
-
get: function () { return
|
|
42410
|
+
get: function () { return chunkNZ26UYEQ_cjs.AgentSteps; }
|
|
42410
42411
|
});
|
|
42411
42412
|
Object.defineProperty(exports, "AnswerTable", {
|
|
42412
42413
|
enumerable: true,
|
|
42413
|
-
get: function () { return
|
|
42414
|
+
get: function () { return chunkNZ26UYEQ_cjs.AnswerTable; }
|
|
42414
42415
|
});
|
|
42415
42416
|
Object.defineProperty(exports, "ArbiChat", {
|
|
42416
42417
|
enumerable: true,
|
|
42417
|
-
get: function () { return
|
|
42418
|
+
get: function () { return chunkNZ26UYEQ_cjs.ArbiChat; }
|
|
42418
42419
|
});
|
|
42419
42420
|
Object.defineProperty(exports, "AskAgainContext", {
|
|
42420
42421
|
enumerable: true,
|
|
42421
|
-
get: function () { return
|
|
42422
|
+
get: function () { return chunkNZ26UYEQ_cjs.AskAgainContext; }
|
|
42422
42423
|
});
|
|
42423
42424
|
Object.defineProperty(exports, "ConnectedBranchControls", {
|
|
42424
42425
|
enumerable: true,
|
|
42425
|
-
get: function () { return
|
|
42426
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedBranchControls; }
|
|
42426
42427
|
});
|
|
42427
42428
|
Object.defineProperty(exports, "ConnectedCitationRenderer", {
|
|
42428
42429
|
enumerable: true,
|
|
42429
|
-
get: function () { return
|
|
42430
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedCitationRenderer; }
|
|
42430
42431
|
});
|
|
42431
42432
|
Object.defineProperty(exports, "ConnectedCompactConversation", {
|
|
42432
42433
|
enumerable: true,
|
|
42433
|
-
get: function () { return
|
|
42434
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedCompactConversation; }
|
|
42434
42435
|
});
|
|
42435
42436
|
Object.defineProperty(exports, "ConnectedCompactLogin", {
|
|
42436
42437
|
enumerable: true,
|
|
42437
|
-
get: function () { return
|
|
42438
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedCompactLogin; }
|
|
42438
42439
|
});
|
|
42439
42440
|
Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
|
|
42440
42441
|
enumerable: true,
|
|
42441
|
-
get: function () { return
|
|
42442
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedConversationDocumentPicker; }
|
|
42442
42443
|
});
|
|
42443
42444
|
Object.defineProperty(exports, "ConnectedDangerZone", {
|
|
42444
42445
|
enumerable: true,
|
|
42445
|
-
get: function () { return
|
|
42446
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedDangerZone; }
|
|
42446
42447
|
});
|
|
42447
42448
|
Object.defineProperty(exports, "ConnectedEmbeddedChat", {
|
|
42448
42449
|
enumerable: true,
|
|
42449
|
-
get: function () { return
|
|
42450
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedEmbeddedChat; }
|
|
42450
42451
|
});
|
|
42451
42452
|
Object.defineProperty(exports, "ConnectedForgotPassword", {
|
|
42452
42453
|
enumerable: true,
|
|
42453
|
-
get: function () { return
|
|
42454
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedForgotPassword; }
|
|
42454
42455
|
});
|
|
42455
42456
|
Object.defineProperty(exports, "ConnectedIdentityVerification", {
|
|
42456
42457
|
enumerable: true,
|
|
42457
|
-
get: function () { return
|
|
42458
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedIdentityVerification; }
|
|
42458
42459
|
});
|
|
42459
42460
|
Object.defineProperty(exports, "ConnectedLoginPage", {
|
|
42460
42461
|
enumerable: true,
|
|
42461
|
-
get: function () { return
|
|
42462
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedLoginPage; }
|
|
42462
42463
|
});
|
|
42463
42464
|
Object.defineProperty(exports, "ConnectedLogoutDialog", {
|
|
42464
42465
|
enumerable: true,
|
|
42465
|
-
get: function () { return
|
|
42466
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedLogoutDialog; }
|
|
42466
42467
|
});
|
|
42467
42468
|
Object.defineProperty(exports, "ConnectedMessage", {
|
|
42468
42469
|
enumerable: true,
|
|
42469
|
-
get: function () { return
|
|
42470
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedMessage; }
|
|
42470
42471
|
});
|
|
42471
42472
|
Object.defineProperty(exports, "ConnectedMessageArea", {
|
|
42472
42473
|
enumerable: true,
|
|
42473
|
-
get: function () { return
|
|
42474
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedMessageArea; }
|
|
42474
42475
|
});
|
|
42475
42476
|
Object.defineProperty(exports, "ConnectedMessageList", {
|
|
42476
42477
|
enumerable: true,
|
|
42477
|
-
get: function () { return
|
|
42478
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedMessageList; }
|
|
42478
42479
|
});
|
|
42479
42480
|
Object.defineProperty(exports, "ConnectedModelSelector", {
|
|
42480
42481
|
enumerable: true,
|
|
42481
|
-
get: function () { return
|
|
42482
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedModelSelector; }
|
|
42482
42483
|
});
|
|
42483
42484
|
Object.defineProperty(exports, "ConnectedNotificationPreferences", {
|
|
42484
42485
|
enumerable: true,
|
|
42485
|
-
get: function () { return
|
|
42486
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedNotificationPreferences; }
|
|
42486
42487
|
});
|
|
42487
42488
|
Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
|
|
42488
42489
|
enumerable: true,
|
|
42489
|
-
get: function () { return
|
|
42490
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedPasswordChangeDialog; }
|
|
42490
42491
|
});
|
|
42491
42492
|
Object.defineProperty(exports, "ConnectedProfileCard", {
|
|
42492
42493
|
enumerable: true,
|
|
42493
|
-
get: function () { return
|
|
42494
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedProfileCard; }
|
|
42494
42495
|
});
|
|
42495
42496
|
Object.defineProperty(exports, "ConnectedSecuritySection", {
|
|
42496
42497
|
enumerable: true,
|
|
42497
|
-
get: function () { return
|
|
42498
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedSecuritySection; }
|
|
42498
42499
|
});
|
|
42499
42500
|
Object.defineProperty(exports, "ConnectedSessionsRow", {
|
|
42500
42501
|
enumerable: true,
|
|
42501
|
-
get: function () { return
|
|
42502
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedSessionsRow; }
|
|
42502
42503
|
});
|
|
42503
42504
|
Object.defineProperty(exports, "ConnectedThreadsPreview", {
|
|
42504
42505
|
enumerable: true,
|
|
42505
|
-
get: function () { return
|
|
42506
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConnectedThreadsPreview; }
|
|
42506
42507
|
});
|
|
42507
42508
|
Object.defineProperty(exports, "ConversationComposer", {
|
|
42508
42509
|
enumerable: true,
|
|
42509
|
-
get: function () { return
|
|
42510
|
+
get: function () { return chunkNZ26UYEQ_cjs.ConversationComposer; }
|
|
42510
42511
|
});
|
|
42511
42512
|
Object.defineProperty(exports, "EmbeddedChatPanel", {
|
|
42512
42513
|
enumerable: true,
|
|
42513
|
-
get: function () { return
|
|
42514
|
+
get: function () { return chunkNZ26UYEQ_cjs.EmbeddedChatPanel; }
|
|
42514
42515
|
});
|
|
42515
42516
|
Object.defineProperty(exports, "MessageDetailsModal", {
|
|
42516
42517
|
enumerable: true,
|
|
42517
|
-
get: function () { return
|
|
42518
|
+
get: function () { return chunkNZ26UYEQ_cjs.MessageDetailsModal; }
|
|
42518
42519
|
});
|
|
42519
42520
|
Object.defineProperty(exports, "MessageLiveSeconds", {
|
|
42520
42521
|
enumerable: true,
|
|
42521
|
-
get: function () { return
|
|
42522
|
+
get: function () { return chunkNZ26UYEQ_cjs.MessageLiveSeconds; }
|
|
42522
42523
|
});
|
|
42523
42524
|
Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
|
|
42524
42525
|
enumerable: true,
|
|
42525
|
-
get: function () { return
|
|
42526
|
+
get: function () { return chunkNZ26UYEQ_cjs.PENDING_RECOVERY_KEY; }
|
|
42526
42527
|
});
|
|
42527
42528
|
Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
|
|
42528
42529
|
enumerable: true,
|
|
42529
|
-
get: function () { return
|
|
42530
|
+
get: function () { return chunkNZ26UYEQ_cjs.PREMIUM_TIER_TAG; }
|
|
42530
42531
|
});
|
|
42531
42532
|
Object.defineProperty(exports, "RunningSubagents", {
|
|
42532
42533
|
enumerable: true,
|
|
42533
|
-
get: function () { return
|
|
42534
|
+
get: function () { return chunkNZ26UYEQ_cjs.RunningSubagents; }
|
|
42534
42535
|
});
|
|
42535
42536
|
Object.defineProperty(exports, "STANDARD_TIER_TAG", {
|
|
42536
42537
|
enumerable: true,
|
|
42537
|
-
get: function () { return
|
|
42538
|
+
get: function () { return chunkNZ26UYEQ_cjs.STANDARD_TIER_TAG; }
|
|
42538
42539
|
});
|
|
42539
42540
|
Object.defineProperty(exports, "WorkflowStepMessage", {
|
|
42540
42541
|
enumerable: true,
|
|
42541
|
-
get: function () { return
|
|
42542
|
+
get: function () { return chunkNZ26UYEQ_cjs.WorkflowStepMessage; }
|
|
42542
42543
|
});
|
|
42543
42544
|
Object.defineProperty(exports, "backUpOnSignup", {
|
|
42544
42545
|
enumerable: true,
|
|
42545
|
-
get: function () { return
|
|
42546
|
+
get: function () { return chunkNZ26UYEQ_cjs.backUpOnSignup; }
|
|
42546
42547
|
});
|
|
42547
42548
|
Object.defineProperty(exports, "defaultHost", {
|
|
42548
42549
|
enumerable: true,
|
|
42549
|
-
get: function () { return
|
|
42550
|
+
get: function () { return chunkNZ26UYEQ_cjs.defaultHost; }
|
|
42550
42551
|
});
|
|
42551
42552
|
Object.defineProperty(exports, "renderConnectedUser", {
|
|
42552
42553
|
enumerable: true,
|
|
42553
|
-
get: function () { return
|
|
42554
|
+
get: function () { return chunkNZ26UYEQ_cjs.renderConnectedUser; }
|
|
42554
42555
|
});
|
|
42555
42556
|
Object.defineProperty(exports, "renderSessionStatusIcon", {
|
|
42556
42557
|
enumerable: true,
|
|
42557
|
-
get: function () { return
|
|
42558
|
+
get: function () { return chunkNZ26UYEQ_cjs.renderSessionStatusIcon; }
|
|
42558
42559
|
});
|
|
42559
42560
|
Object.defineProperty(exports, "resolveSsoName", {
|
|
42560
42561
|
enumerable: true,
|
|
42561
|
-
get: function () { return
|
|
42562
|
+
get: function () { return chunkNZ26UYEQ_cjs.resolveSsoName; }
|
|
42562
42563
|
});
|
|
42563
42564
|
Object.defineProperty(exports, "useAuthPages", {
|
|
42564
42565
|
enumerable: true,
|
|
42565
|
-
get: function () { return
|
|
42566
|
+
get: function () { return chunkNZ26UYEQ_cjs.useAuthPages; }
|
|
42566
42567
|
});
|
|
42567
42568
|
Object.defineProperty(exports, "useContextualHints", {
|
|
42568
42569
|
enumerable: true,
|
|
42569
|
-
get: function () { return
|
|
42570
|
+
get: function () { return chunkNZ26UYEQ_cjs.useContextualHints; }
|
|
42570
42571
|
});
|
|
42571
42572
|
Object.defineProperty(exports, "useModelPicker", {
|
|
42572
42573
|
enumerable: true,
|
|
42573
|
-
get: function () { return
|
|
42574
|
+
get: function () { return chunkNZ26UYEQ_cjs.useModelPicker; }
|
|
42574
42575
|
});
|
|
42575
42576
|
Object.defineProperty(exports, "useOpenChunk", {
|
|
42576
42577
|
enumerable: true,
|
|
42577
|
-
get: function () { return
|
|
42578
|
+
get: function () { return chunkNZ26UYEQ_cjs.useOpenChunk; }
|
|
42578
42579
|
});
|
|
42579
42580
|
Object.defineProperty(exports, "useOpenWorkspaceIcon", {
|
|
42580
42581
|
enumerable: true,
|
|
42581
|
-
get: function () { return
|
|
42582
|
+
get: function () { return chunkNZ26UYEQ_cjs.useOpenWorkspaceIcon; }
|
|
42582
42583
|
});
|
|
42583
42584
|
Object.defineProperty(exports, "useSlashItems", {
|
|
42584
42585
|
enumerable: true,
|
|
42585
|
-
get: function () { return
|
|
42586
|
+
get: function () { return chunkNZ26UYEQ_cjs.useSlashItems; }
|
|
42586
42587
|
});
|
|
42587
42588
|
Object.defineProperty(exports, "useSsoSignIn", {
|
|
42588
42589
|
enumerable: true,
|
|
42589
|
-
get: function () { return
|
|
42590
|
+
get: function () { return chunkNZ26UYEQ_cjs.useSsoSignIn; }
|
|
42590
42591
|
});
|
|
42591
42592
|
Object.defineProperty(exports, "useWorkspaceDocTitles", {
|
|
42592
42593
|
enumerable: true,
|
|
42593
|
-
get: function () { return
|
|
42594
|
+
get: function () { return chunkNZ26UYEQ_cjs.useWorkspaceDocTitles; }
|
|
42594
42595
|
});
|
|
42595
42596
|
Object.defineProperty(exports, "useConnectedThreadActivity", {
|
|
42596
42597
|
enumerable: true,
|
|
@@ -42610,39 +42611,39 @@ Object.defineProperty(exports, "SELECTED_WORKSPACE_KEY", {
|
|
|
42610
42611
|
});
|
|
42611
42612
|
Object.defineProperty(exports, "ConnectedWorkflowDocumentsField", {
|
|
42612
42613
|
enumerable: true,
|
|
42613
|
-
get: function () { return
|
|
42614
|
+
get: function () { return chunkCLPDKHSP_cjs.ConnectedWorkflowDocumentsField; }
|
|
42614
42615
|
});
|
|
42615
42616
|
Object.defineProperty(exports, "ConnectedWorkflowLauncher", {
|
|
42616
42617
|
enumerable: true,
|
|
42617
|
-
get: function () { return
|
|
42618
|
+
get: function () { return chunkCLPDKHSP_cjs.ConnectedWorkflowLauncher; }
|
|
42618
42619
|
});
|
|
42619
42620
|
Object.defineProperty(exports, "ConnectedWorkflowsTable", {
|
|
42620
42621
|
enumerable: true,
|
|
42621
|
-
get: function () { return
|
|
42622
|
+
get: function () { return chunkCLPDKHSP_cjs.ConnectedWorkflowsTable; }
|
|
42622
42623
|
});
|
|
42623
42624
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS", {
|
|
42624
42625
|
enumerable: true,
|
|
42625
|
-
get: function () { return
|
|
42626
|
+
get: function () { return chunkCLPDKHSP_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
|
|
42626
42627
|
});
|
|
42627
42628
|
Object.defineProperty(exports, "toWorkflowFieldDocument", {
|
|
42628
42629
|
enumerable: true,
|
|
42629
|
-
get: function () { return
|
|
42630
|
+
get: function () { return chunkCLPDKHSP_cjs.toWorkflowFieldDocument; }
|
|
42630
42631
|
});
|
|
42631
42632
|
Object.defineProperty(exports, "useConnectedWorkflowScopeSource", {
|
|
42632
42633
|
enumerable: true,
|
|
42633
|
-
get: function () { return
|
|
42634
|
+
get: function () { return chunkCLPDKHSP_cjs.useConnectedWorkflowScopeSource; }
|
|
42634
42635
|
});
|
|
42635
42636
|
Object.defineProperty(exports, "useConnectedWorkspaceRole", {
|
|
42636
42637
|
enumerable: true,
|
|
42637
|
-
get: function () { return
|
|
42638
|
+
get: function () { return chunkCLPDKHSP_cjs.useConnectedWorkspaceRole; }
|
|
42638
42639
|
});
|
|
42639
42640
|
Object.defineProperty(exports, "useDocxCommentTarget", {
|
|
42640
42641
|
enumerable: true,
|
|
42641
|
-
get: function () { return
|
|
42642
|
+
get: function () { return chunkCLPDKHSP_cjs.useDocxCommentTarget; }
|
|
42642
42643
|
});
|
|
42643
42644
|
Object.defineProperty(exports, "useNativeDocxSupport", {
|
|
42644
42645
|
enumerable: true,
|
|
42645
|
-
get: function () { return
|
|
42646
|
+
get: function () { return chunkCLPDKHSP_cjs.useNativeDocxSupport; }
|
|
42646
42647
|
});
|
|
42647
42648
|
Object.defineProperty(exports, "useOpenWorkflow", {
|
|
42648
42649
|
enumerable: true,
|
|
@@ -42706,31 +42707,31 @@ Object.defineProperty(exports, "usePendingFolders", {
|
|
|
42706
42707
|
});
|
|
42707
42708
|
Object.defineProperty(exports, "ConnectedMarkdown", {
|
|
42708
42709
|
enumerable: true,
|
|
42709
|
-
get: function () { return
|
|
42710
|
+
get: function () { return chunk6Y7MHSIT_cjs.ConnectedMarkdown; }
|
|
42710
42711
|
});
|
|
42711
42712
|
Object.defineProperty(exports, "DocumentWorkspaceContext", {
|
|
42712
42713
|
enumerable: true,
|
|
42713
|
-
get: function () { return
|
|
42714
|
+
get: function () { return chunk6Y7MHSIT_cjs.DocumentWorkspaceContext; }
|
|
42714
42715
|
});
|
|
42715
42716
|
Object.defineProperty(exports, "ExternalLink", {
|
|
42716
42717
|
enumerable: true,
|
|
42717
|
-
get: function () { return
|
|
42718
|
+
get: function () { return chunk6Y7MHSIT_cjs.ExternalLink; }
|
|
42718
42719
|
});
|
|
42719
42720
|
Object.defineProperty(exports, "InternalDocLink", {
|
|
42720
42721
|
enumerable: true,
|
|
42721
|
-
get: function () { return
|
|
42722
|
+
get: function () { return chunk6Y7MHSIT_cjs.InternalDocLink; }
|
|
42722
42723
|
});
|
|
42723
42724
|
Object.defineProperty(exports, "MermaidDiagram", {
|
|
42724
42725
|
enumerable: true,
|
|
42725
|
-
get: function () { return
|
|
42726
|
+
get: function () { return chunk6Y7MHSIT_cjs.MermaidDiagram; }
|
|
42726
42727
|
});
|
|
42727
42728
|
Object.defineProperty(exports, "WorkspaceDocumentReference", {
|
|
42728
42729
|
enumerable: true,
|
|
42729
|
-
get: function () { return
|
|
42730
|
+
get: function () { return chunk6Y7MHSIT_cjs.WorkspaceDocumentReference; }
|
|
42730
42731
|
});
|
|
42731
42732
|
Object.defineProperty(exports, "useDocumentWorkspace", {
|
|
42732
42733
|
enumerable: true,
|
|
42733
|
-
get: function () { return
|
|
42734
|
+
get: function () { return chunk6Y7MHSIT_cjs.useDocumentWorkspace; }
|
|
42734
42735
|
});
|
|
42735
42736
|
Object.defineProperty(exports, "ConnectedPendingSyncDialog", {
|
|
42736
42737
|
enumerable: true,
|