@arbidocs/blocks 0.5.109 → 0.5.110
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-H3WWFGXF.cjs +1 -1
- package/dist/ConnectedCallDock-TDYRHPAK.js +1 -1
- package/dist/ConnectedCallRoom-55O5OUN7.cjs +1 -1
- package/dist/ConnectedCallRoom-Z6F6WCLH.js +1 -1
- package/dist/{ConnectedNativeDocxComparison-DGBZJ4XA.cjs → ConnectedNativeDocxComparison-EUYMJETG.cjs} +9 -9
- package/dist/{ConnectedNativeDocxComparison-DGBZJ4XA.cjs.map → ConnectedNativeDocxComparison-EUYMJETG.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-NVZRVNOS.js → ConnectedNativeDocxComparison-JFAVNVGV.js} +8 -8
- package/dist/{ConnectedStreamedWordArtifact-HLJ5IIOU.js.map → ConnectedNativeDocxComparison-JFAVNVGV.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-RSVBN7DY.js → ConnectedNativeDocxEditor-KZNY7T6O.js} +7 -7
- package/dist/{ConnectedNativeDocxEditor-RSVBN7DY.js.map → ConnectedNativeDocxEditor-KZNY7T6O.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-R4WINUUB.cjs → ConnectedNativeDocxEditor-LKLGECSX.cjs} +9 -9
- package/dist/{ConnectedNativeDocxEditor-R4WINUUB.cjs.map → ConnectedNativeDocxEditor-LKLGECSX.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-HLJ5IIOU.js → ConnectedStreamedWordArtifact-5EWR66VW.js} +8 -8
- package/dist/{ConnectedNativeDocxComparison-NVZRVNOS.js.map → ConnectedStreamedWordArtifact-5EWR66VW.js.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-JQ34AOUU.cjs → ConnectedStreamedWordArtifact-UVNL2TST.cjs} +9 -9
- package/dist/ConnectedStreamedWordArtifact-UVNL2TST.cjs.map +1 -0
- package/dist/{DocumentReviewCard-OIACCMEJ.cjs → DocumentReviewCard-GALDZDOD.cjs} +14 -14
- package/dist/{DocumentReviewCard-OIACCMEJ.cjs.map → DocumentReviewCard-GALDZDOD.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-LMOHIDCT.js → DocumentReviewCard-HUFMDACO.js} +9 -9
- package/dist/{DocumentReviewCard-LMOHIDCT.js.map → DocumentReviewCard-HUFMDACO.js.map} +1 -1
- package/dist/{FilesViewerDialog-6UM3FYZP.cjs → FilesViewerDialog-BQNNMQAQ.cjs} +9 -9
- package/dist/{FilesViewerDialog-6UM3FYZP.cjs.map → FilesViewerDialog-BQNNMQAQ.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-F2VRW7XD.js → FilesViewerDialog-O7LRWQQ2.js} +8 -8
- package/dist/{FilesViewerDialog-F2VRW7XD.js.map → FilesViewerDialog-O7LRWQQ2.js.map} +1 -1
- package/dist/{WorkspaceTableView-LX4Y7VDY.cjs → WorkspaceTableView-O2BVFLPG.cjs} +3 -3
- package/dist/{WorkspaceTableView-LX4Y7VDY.cjs.map → WorkspaceTableView-O2BVFLPG.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-E6D5DJZY.js → WorkspaceTableView-R45Q3LLD.js} +3 -3
- package/dist/{WorkspaceTableView-E6D5DJZY.js.map → WorkspaceTableView-R45Q3LLD.js.map} +1 -1
- package/dist/agents/index.cjs +177 -177
- package/dist/agents/index.js +4 -4
- package/dist/chat/index.cjs +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/{chunk-EIV4H2PZ.cjs → chunk-4WMGFGYP.cjs} +4 -4
- package/dist/{chunk-EIV4H2PZ.cjs.map → chunk-4WMGFGYP.cjs.map} +1 -1
- package/dist/{chunk-SOY6UUFS.js → chunk-62OMGQHS.js} +3 -3
- package/dist/{chunk-SOY6UUFS.js.map → chunk-62OMGQHS.js.map} +1 -1
- package/dist/{chunk-COCZMF7B.cjs → chunk-6A4GNM4T.cjs} +4 -4
- package/dist/{chunk-COCZMF7B.cjs.map → chunk-6A4GNM4T.cjs.map} +1 -1
- package/dist/{chunk-G4D4UGSW.cjs → chunk-6NSKIS35.cjs} +4 -4
- package/dist/{chunk-G4D4UGSW.cjs.map → chunk-6NSKIS35.cjs.map} +1 -1
- package/dist/{chunk-6ZYOUT73.js → chunk-7GNPYE2V.js} +4 -4
- package/dist/{chunk-6ZYOUT73.js.map → chunk-7GNPYE2V.js.map} +1 -1
- package/dist/{chunk-6CA36Y5Y.cjs → chunk-ANYKNLU3.cjs} +27 -27
- package/dist/{chunk-6CA36Y5Y.cjs.map → chunk-ANYKNLU3.cjs.map} +1 -1
- package/dist/{chunk-BGP5AKWP.js → chunk-BH6IKGZ3.js} +3 -3
- package/dist/{chunk-BGP5AKWP.js.map → chunk-BH6IKGZ3.js.map} +1 -1
- package/dist/{chunk-K2G2P66L.js → chunk-E26MNOLG.js} +3 -3
- package/dist/{chunk-K2G2P66L.js.map → chunk-E26MNOLG.js.map} +1 -1
- package/dist/{chunk-NTXO6IYE.js → chunk-E6ISR55S.js} +3 -3
- package/dist/{chunk-NTXO6IYE.js.map → chunk-E6ISR55S.js.map} +1 -1
- package/dist/{chunk-5Q54AUT6.js → chunk-EW5PUZE2.js} +4 -4
- package/dist/{chunk-5Q54AUT6.js.map → chunk-EW5PUZE2.js.map} +1 -1
- package/dist/{chunk-RCZRI72J.cjs → chunk-F2C3ZUYN.cjs} +4 -4
- package/dist/{chunk-RCZRI72J.cjs.map → chunk-F2C3ZUYN.cjs.map} +1 -1
- package/dist/{chunk-LHGUKCAV.cjs → chunk-F2LW66MA.cjs} +49 -49
- package/dist/{chunk-LHGUKCAV.cjs.map → chunk-F2LW66MA.cjs.map} +1 -1
- package/dist/{chunk-BBWLFK3C.js → chunk-G6ZASXWH.js} +3 -3
- package/dist/{chunk-BBWLFK3C.js.map → chunk-G6ZASXWH.js.map} +1 -1
- package/dist/{chunk-I6WRLTWU.js → chunk-GOJ5GHFS.js} +3 -3
- package/dist/{chunk-I6WRLTWU.js.map → chunk-GOJ5GHFS.js.map} +1 -1
- package/dist/{chunk-VSJKCUTU.js → chunk-HKP6WRBU.js} +6 -6
- package/dist/{chunk-VSJKCUTU.js.map → chunk-HKP6WRBU.js.map} +1 -1
- package/dist/{chunk-ASOPBELQ.js → chunk-HTGEAQOA.js} +4 -4
- package/dist/{chunk-ASOPBELQ.js.map → chunk-HTGEAQOA.js.map} +1 -1
- package/dist/{chunk-ZR4TH6DZ.js → chunk-HTIEJVPI.js} +5 -5
- package/dist/{chunk-ZR4TH6DZ.js.map → chunk-HTIEJVPI.js.map} +1 -1
- package/dist/{chunk-KXNC24EF.cjs → chunk-IWLNDDPN.cjs} +35 -35
- package/dist/{chunk-KXNC24EF.cjs.map → chunk-IWLNDDPN.cjs.map} +1 -1
- package/dist/{chunk-UYKAV4XL.js → chunk-IXM63D2F.js} +9 -9
- package/dist/{chunk-UYKAV4XL.js.map → chunk-IXM63D2F.js.map} +1 -1
- package/dist/{chunk-SYMZ6L3C.js → chunk-JWUCDK2F.js} +3 -3
- package/dist/{chunk-SYMZ6L3C.js.map → chunk-JWUCDK2F.js.map} +1 -1
- package/dist/{chunk-YLKHTBYA.js → chunk-LG3JKUZV.js} +3 -3
- package/dist/{chunk-YLKHTBYA.js.map → chunk-LG3JKUZV.js.map} +1 -1
- package/dist/{chunk-E7QDFTCI.cjs → chunk-LO4CMUOY.cjs} +8 -8
- package/dist/{chunk-E7QDFTCI.cjs.map → chunk-LO4CMUOY.cjs.map} +1 -1
- package/dist/{chunk-HQSXSZYA.cjs → chunk-O27K7KTZ.cjs} +5 -5
- package/dist/{chunk-HQSXSZYA.cjs.map → chunk-O27K7KTZ.cjs.map} +1 -1
- package/dist/{chunk-45OU2UAA.cjs → chunk-OGTRUW35.cjs} +4 -4
- package/dist/{chunk-45OU2UAA.cjs.map → chunk-OGTRUW35.cjs.map} +1 -1
- package/dist/{chunk-OSWKA2NQ.cjs → chunk-OKUXM2N4.cjs} +3 -3
- package/dist/{chunk-OSWKA2NQ.cjs.map → chunk-OKUXM2N4.cjs.map} +1 -1
- package/dist/{chunk-DZGLEEUT.cjs → chunk-RBI7WVEP.cjs} +4 -4
- package/dist/{chunk-DZGLEEUT.cjs.map → chunk-RBI7WVEP.cjs.map} +1 -1
- package/dist/{chunk-CRKWD7B5.cjs → chunk-VULH3XAJ.cjs} +28 -28
- package/dist/{chunk-CRKWD7B5.cjs.map → chunk-VULH3XAJ.cjs.map} +1 -1
- package/dist/{chunk-22KAKJ3W.cjs → chunk-WLMBZX7C.cjs} +4 -4
- package/dist/{chunk-22KAKJ3W.cjs.map → chunk-WLMBZX7C.cjs.map} +1 -1
- package/dist/{chunk-D362BQOU.cjs → chunk-XHN5KOI2.cjs} +4 -4
- package/dist/{chunk-D362BQOU.cjs.map → chunk-XHN5KOI2.cjs.map} +1 -1
- package/dist/{chunk-DV2RFOGI.js → chunk-ZNY5W3VX.js} +3 -3
- package/dist/{chunk-DV2RFOGI.js.map → chunk-ZNY5W3VX.js.map} +1 -1
- package/dist/connect/docx.cjs +12 -12
- package/dist/connect/docx.js +8 -8
- package/dist/connect/index.cjs +540 -540
- package/dist/connect/index.js +28 -28
- package/dist/connect/viewer.cjs +7 -7
- package/dist/connect/viewer.js +6 -6
- package/dist/embed/index.cjs +13 -13
- package/dist/embed/index.js +7 -7
- package/dist/files/index.cjs +224 -224
- package/dist/files/index.js +3 -3
- package/dist/index.cjs +263 -263
- package/dist/index.js +6 -6
- package/dist/workflow-canvas/index.cjs +24 -24
- package/dist/workflow-canvas/index.js +13 -13
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ConnectedStreamedWordArtifact-JQ34AOUU.cjs.map +0 -1
package/dist/connect/index.cjs
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkTAB4JSM2_cjs = require('../chunk-TAB4JSM2.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkVULH3XAJ_cjs = require('../chunk-VULH3XAJ.cjs');
|
|
6
6
|
var chunkWI3BVKEC_cjs = require('../chunk-WI3BVKEC.cjs');
|
|
7
7
|
var chunkB6DPRUXC_cjs = require('../chunk-B6DPRUXC.cjs');
|
|
8
8
|
var chunkPSIKUQYM_cjs = require('../chunk-PSIKUQYM.cjs');
|
|
9
9
|
var chunkU6LQ6Z3P_cjs = require('../chunk-U6LQ6Z3P.cjs');
|
|
10
|
-
var
|
|
10
|
+
var chunkANYKNLU3_cjs = require('../chunk-ANYKNLU3.cjs');
|
|
11
11
|
var chunkWZAHVTTO_cjs = require('../chunk-WZAHVTTO.cjs');
|
|
12
12
|
var chunkYZ6YOOTF_cjs = require('../chunk-YZ6YOOTF.cjs');
|
|
13
13
|
var chunkKWJW5TMH_cjs = require('../chunk-KWJW5TMH.cjs');
|
|
14
|
-
var
|
|
14
|
+
var chunkLO4CMUOY_cjs = require('../chunk-LO4CMUOY.cjs');
|
|
15
15
|
var chunkLFYKB7KF_cjs = require('../chunk-LFYKB7KF.cjs');
|
|
16
|
-
var
|
|
17
|
-
var
|
|
16
|
+
var chunkXHN5KOI2_cjs = require('../chunk-XHN5KOI2.cjs');
|
|
17
|
+
var chunkRBI7WVEP_cjs = require('../chunk-RBI7WVEP.cjs');
|
|
18
18
|
var chunkUCA4JLLJ_cjs = require('../chunk-UCA4JLLJ.cjs');
|
|
19
19
|
var chunkGSD5U553_cjs = require('../chunk-GSD5U553.cjs');
|
|
20
20
|
var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
|
|
@@ -24,31 +24,31 @@ require('../chunk-UMMZNZV3.cjs');
|
|
|
24
24
|
require('../chunk-AEQT2QQX.cjs');
|
|
25
25
|
var chunkSFRKKPBB_cjs = require('../chunk-SFRKKPBB.cjs');
|
|
26
26
|
require('../chunk-XNW62J54.cjs');
|
|
27
|
-
var
|
|
28
|
-
var chunk53RXGFJ6_cjs = require('../chunk-53RXGFJ6.cjs');
|
|
29
|
-
var chunk7V4OCZS6_cjs = require('../chunk-7V4OCZS6.cjs');
|
|
27
|
+
var chunkOGTRUW35_cjs = require('../chunk-OGTRUW35.cjs');
|
|
30
28
|
var chunk464YPRAE_cjs = require('../chunk-464YPRAE.cjs');
|
|
31
29
|
var chunkMI7GQZIZ_cjs = require('../chunk-MI7GQZIZ.cjs');
|
|
30
|
+
var chunk53RXGFJ6_cjs = require('../chunk-53RXGFJ6.cjs');
|
|
31
|
+
var chunk7V4OCZS6_cjs = require('../chunk-7V4OCZS6.cjs');
|
|
32
32
|
var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
|
|
33
33
|
var chunk4CIVQWAX_cjs = require('../chunk-4CIVQWAX.cjs');
|
|
34
34
|
var chunkC42WBPH4_cjs = require('../chunk-C42WBPH4.cjs');
|
|
35
|
-
var
|
|
35
|
+
var chunk6NSKIS35_cjs = require('../chunk-6NSKIS35.cjs');
|
|
36
36
|
var chunk6KQVTMRL_cjs = require('../chunk-6KQVTMRL.cjs');
|
|
37
|
-
var
|
|
37
|
+
var chunkIWLNDDPN_cjs = require('../chunk-IWLNDDPN.cjs');
|
|
38
38
|
var chunkZYTZTCVQ_cjs = require('../chunk-ZYTZTCVQ.cjs');
|
|
39
|
-
var
|
|
39
|
+
var chunkOKUXM2N4_cjs = require('../chunk-OKUXM2N4.cjs');
|
|
40
40
|
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
41
41
|
var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
|
|
42
|
-
var chunk4IRS55N2_cjs = require('../chunk-4IRS55N2.cjs');
|
|
43
42
|
var chunkLVIQWRC5_cjs = require('../chunk-LVIQWRC5.cjs');
|
|
44
43
|
var chunkKA4HUDKJ_cjs = require('../chunk-KA4HUDKJ.cjs');
|
|
45
44
|
require('../chunk-PBPO54KZ.cjs');
|
|
45
|
+
var chunk4IRS55N2_cjs = require('../chunk-4IRS55N2.cjs');
|
|
46
46
|
var chunkCMXJUCTH_cjs = require('../chunk-CMXJUCTH.cjs');
|
|
47
47
|
require('../chunk-JH6JTI76.cjs');
|
|
48
48
|
var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
|
|
49
49
|
require('../chunk-DTMBAFIL.cjs');
|
|
50
50
|
require('../chunk-ZESMRGDV.cjs');
|
|
51
|
-
var
|
|
51
|
+
var chunkO27K7KTZ_cjs = require('../chunk-O27K7KTZ.cjs');
|
|
52
52
|
var chunkFMRTLPC7_cjs = require('../chunk-FMRTLPC7.cjs');
|
|
53
53
|
require('../chunk-NEGFHF3V.cjs');
|
|
54
54
|
var chunkZ3LFF3YT_cjs = require('../chunk-Z3LFF3YT.cjs');
|
|
@@ -73,12 +73,12 @@ require('../chunk-SK6HQ46Q.cjs');
|
|
|
73
73
|
var chunkMNIQDXM6_cjs = require('../chunk-MNIQDXM6.cjs');
|
|
74
74
|
var chunkBZFCD6A6_cjs = require('../chunk-BZFCD6A6.cjs');
|
|
75
75
|
require('../chunk-VLCY46K6.cjs');
|
|
76
|
-
require('../chunk-BQOL4XNZ.cjs');
|
|
77
76
|
var chunkOZQ26FNK_cjs = require('../chunk-OZQ26FNK.cjs');
|
|
78
77
|
var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
|
|
79
78
|
var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
|
|
80
79
|
require('../chunk-OEJQFPWO.cjs');
|
|
81
|
-
|
|
80
|
+
require('../chunk-BQOL4XNZ.cjs');
|
|
81
|
+
var chunk6A4GNM4T_cjs = require('../chunk-6A4GNM4T.cjs');
|
|
82
82
|
var chunkQECKDZ47_cjs = require('../chunk-QECKDZ47.cjs');
|
|
83
83
|
var chunkTP5PGWIO_cjs = require('../chunk-TP5PGWIO.cjs');
|
|
84
84
|
require('../chunk-I4IS6ST6.cjs');
|
|
@@ -95,8 +95,8 @@ var chunk4PA6VCCR_cjs = require('../chunk-4PA6VCCR.cjs');
|
|
|
95
95
|
require('../chunk-AHDJXIUB.cjs');
|
|
96
96
|
var chunkRL2HI6NP_cjs = require('../chunk-RL2HI6NP.cjs');
|
|
97
97
|
var chunk6UZC4XVV_cjs = require('../chunk-6UZC4XVV.cjs');
|
|
98
|
-
var chunkXNXNLXIC_cjs = require('../chunk-XNXNLXIC.cjs');
|
|
99
98
|
var chunkTTPJ2G3G_cjs = require('../chunk-TTPJ2G3G.cjs');
|
|
99
|
+
var chunkXNXNLXIC_cjs = require('../chunk-XNXNLXIC.cjs');
|
|
100
100
|
var chunkU2FFG2B3_cjs = require('../chunk-U2FFG2B3.cjs');
|
|
101
101
|
var chunk25UUJRSJ_cjs = require('../chunk-25UUJRSJ.cjs');
|
|
102
102
|
var chunkV6C2MBFY_cjs = require('../chunk-V6C2MBFY.cjs');
|
|
@@ -136,8 +136,8 @@ require('../chunk-HSLPFBK2.cjs');
|
|
|
136
136
|
var chunkQGVOT7E4_cjs = require('../chunk-QGVOT7E4.cjs');
|
|
137
137
|
var chunkQRAQZTJE_cjs = require('../chunk-QRAQZTJE.cjs');
|
|
138
138
|
require('../chunk-UDSHVNU3.cjs');
|
|
139
|
-
var chunkFX3K6LNZ_cjs = require('../chunk-FX3K6LNZ.cjs');
|
|
140
139
|
var chunkIPSHAMO2_cjs = require('../chunk-IPSHAMO2.cjs');
|
|
140
|
+
var chunkFX3K6LNZ_cjs = require('../chunk-FX3K6LNZ.cjs');
|
|
141
141
|
var chunkZBP4ZSAJ_cjs = require('../chunk-ZBP4ZSAJ.cjs');
|
|
142
142
|
require('../chunk-PPCATBOY.cjs');
|
|
143
143
|
var chunkWGWP4ATS_cjs = require('../chunk-WGWP4ATS.cjs');
|
|
@@ -253,7 +253,7 @@ function ConnectedWorkspaceActivity({
|
|
|
253
253
|
[feed.data]
|
|
254
254
|
);
|
|
255
255
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
256
|
-
|
|
256
|
+
chunkO27K7KTZ_cjs.WorkspaceActivityList,
|
|
257
257
|
{
|
|
258
258
|
...listProps,
|
|
259
259
|
items,
|
|
@@ -1436,14 +1436,14 @@ function ConnectedOfflineStatus({ compact = false }) {
|
|
|
1436
1436
|
const openOutbox = () => openMail?.(outbox.length > 0 ? { folder: outboxFolder } : void 0);
|
|
1437
1437
|
let tone;
|
|
1438
1438
|
let label;
|
|
1439
|
-
let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox :
|
|
1439
|
+
let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunkIWLNDDPN_cjs.openPendingSyncDialog;
|
|
1440
1440
|
if (!isOnline) {
|
|
1441
1441
|
tone = "offline";
|
|
1442
1442
|
label = waiting > 0 ? `Offline \xB7 ${waiting} pending` : "Offline";
|
|
1443
1443
|
} else if (failed > 0) {
|
|
1444
1444
|
tone = "failed";
|
|
1445
1445
|
label = `${plural(failed, "change", "changes")} didn\u2019t sync`;
|
|
1446
|
-
onOpen =
|
|
1446
|
+
onOpen = chunkIWLNDDPN_cjs.openPendingSyncDialog;
|
|
1447
1447
|
} else if (outboxFailed > 0) {
|
|
1448
1448
|
tone = "failed";
|
|
1449
1449
|
label = `${plural(outboxFailed, "email", "emails")} not sent`;
|
|
@@ -1575,7 +1575,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1575
1575
|
onChange: (e) => {
|
|
1576
1576
|
const file = e.target.files?.[0];
|
|
1577
1577
|
e.target.value = "";
|
|
1578
|
-
if (file) void add(() =>
|
|
1578
|
+
if (file) void add(() => chunk6A4GNM4T_cjs.importSkillFile(file));
|
|
1579
1579
|
}
|
|
1580
1580
|
}
|
|
1581
1581
|
),
|
|
@@ -1600,7 +1600,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1600
1600
|
className: "space-y-2",
|
|
1601
1601
|
onSubmit: (e) => {
|
|
1602
1602
|
e.preventDefault();
|
|
1603
|
-
if (url.trim()) void add(() =>
|
|
1603
|
+
if (url.trim()) void add(() => chunk6A4GNM4T_cjs.importSkillFromUrl(url));
|
|
1604
1604
|
},
|
|
1605
1605
|
children: [
|
|
1606
1606
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
|
|
@@ -1668,9 +1668,9 @@ function ConnectedSkillsLibrary({
|
|
|
1668
1668
|
const [type, setType] = react$1.useState("all");
|
|
1669
1669
|
const [view, setView] = react$1.useState("gallery");
|
|
1670
1670
|
const [isBusy, setIsBusy] = react$1.useState(false);
|
|
1671
|
-
const all = react$1.useMemo(() =>
|
|
1671
|
+
const all = react$1.useMemo(() => chunk6A4GNM4T_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
|
|
1672
1672
|
const shown = react$1.useMemo(
|
|
1673
|
-
() =>
|
|
1673
|
+
() => chunk6A4GNM4T_cjs.filterLibrarySkills(all, { query, source, type }),
|
|
1674
1674
|
[all, query, source, type]
|
|
1675
1675
|
);
|
|
1676
1676
|
const current = all.find((s) => s.slug === selected) ?? null;
|
|
@@ -1681,21 +1681,21 @@ function ConnectedSkillsLibrary({
|
|
|
1681
1681
|
const count2 = (s) => all.filter((x) => x.source === s).length;
|
|
1682
1682
|
const sourceOptions = [
|
|
1683
1683
|
{ id: "all", label: "All", count: all.length },
|
|
1684
|
-
{ id: "builtin", label:
|
|
1685
|
-
{ id: "mine", label:
|
|
1686
|
-
{ id: "shared", label:
|
|
1684
|
+
{ id: "builtin", label: chunk6A4GNM4T_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
|
|
1685
|
+
{ id: "mine", label: chunk6A4GNM4T_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
|
|
1686
|
+
{ id: "shared", label: chunk6A4GNM4T_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
|
|
1687
1687
|
];
|
|
1688
1688
|
const types = [...new Set(all.map((s) => s.type))];
|
|
1689
1689
|
const typeOptions = [
|
|
1690
1690
|
{ id: "all", label: "Any kind" },
|
|
1691
|
-
...types.map((t) => ({ id: t, label:
|
|
1691
|
+
...types.map((t) => ({ id: t, label: chunk6A4GNM4T_cjs.SKILL_TYPE_LABELS[t] ?? t }))
|
|
1692
1692
|
];
|
|
1693
1693
|
const pick = (slug) => {
|
|
1694
1694
|
setSelected(slug);
|
|
1695
1695
|
setMode("detail");
|
|
1696
1696
|
};
|
|
1697
1697
|
const markdownOf = async (skill) => {
|
|
1698
|
-
if (!skill.docExtId) return
|
|
1698
|
+
if (!skill.docExtId) return chunk6A4GNM4T_cjs.workflowToSkillMarkdown(skill.workflow);
|
|
1699
1699
|
const response = await arbi.documents.download(skill.docExtId);
|
|
1700
1700
|
if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
|
|
1701
1701
|
return response.text();
|
|
@@ -1759,7 +1759,7 @@ function ConnectedSkillsLibrary({
|
|
|
1759
1759
|
try {
|
|
1760
1760
|
documentTools.downloadBlob(
|
|
1761
1761
|
new Blob([await markdownOf(skill)], { type: "text/markdown" }),
|
|
1762
|
-
|
|
1762
|
+
chunk6A4GNM4T_cjs.SKILL_MAIN_FILENAME
|
|
1763
1763
|
);
|
|
1764
1764
|
} catch (error) {
|
|
1765
1765
|
notify19(errorText(error, "Could not export the skill"), "error");
|
|
@@ -1800,10 +1800,10 @@ function ConnectedSkillsLibrary({
|
|
|
1800
1800
|
}
|
|
1801
1801
|
)
|
|
1802
1802
|
] }),
|
|
1803
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1803
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.SkillViewToggle, { value: view, onChange: setView })
|
|
1804
1804
|
] }),
|
|
1805
1805
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1806
|
-
|
|
1806
|
+
chunk6A4GNM4T_cjs.SkillFilterChips,
|
|
1807
1807
|
{
|
|
1808
1808
|
label: "Show",
|
|
1809
1809
|
value: source,
|
|
@@ -1812,7 +1812,7 @@ function ConnectedSkillsLibrary({
|
|
|
1812
1812
|
}
|
|
1813
1813
|
),
|
|
1814
1814
|
types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1815
|
-
|
|
1815
|
+
chunk6A4GNM4T_cjs.SkillFilterChips,
|
|
1816
1816
|
{
|
|
1817
1817
|
label: "Kind",
|
|
1818
1818
|
value: type,
|
|
@@ -1859,12 +1859,12 @@ function ConnectedSkillsLibrary({
|
|
|
1859
1859
|
view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
|
|
1860
1860
|
),
|
|
1861
1861
|
children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1862
|
-
|
|
1862
|
+
chunk6A4GNM4T_cjs.SkillTile,
|
|
1863
1863
|
{
|
|
1864
1864
|
name: skill.title,
|
|
1865
1865
|
testId: `skill-tile-${skill.slug}`,
|
|
1866
1866
|
description: skill.description,
|
|
1867
|
-
sourceLabel: skill.isShared ? `${
|
|
1867
|
+
sourceLabel: skill.isShared ? `${chunk6A4GNM4T_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunk6A4GNM4T_cjs.SKILL_SOURCE_LABELS[skill.source],
|
|
1868
1868
|
type: skill.type,
|
|
1869
1869
|
icon,
|
|
1870
1870
|
layout: view,
|
|
@@ -1899,7 +1899,7 @@ function ConnectedSkillsLibrary({
|
|
|
1899
1899
|
}
|
|
1900
1900
|
),
|
|
1901
1901
|
mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1902
|
-
|
|
1902
|
+
chunk6A4GNM4T_cjs.SkillGenerateForm,
|
|
1903
1903
|
{
|
|
1904
1904
|
icon,
|
|
1905
1905
|
onGenerate: (desc) => {
|
|
@@ -1926,11 +1926,11 @@ function ConnectedSkillsLibrary({
|
|
|
1926
1926
|
),
|
|
1927
1927
|
mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
|
|
1928
1928
|
mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1929
|
-
|
|
1929
|
+
chunk6A4GNM4T_cjs.SkillLibraryDetail,
|
|
1930
1930
|
{
|
|
1931
1931
|
skill: current,
|
|
1932
1932
|
icon,
|
|
1933
|
-
instructions: current.docExtId ? currentText ?
|
|
1933
|
+
instructions: current.docExtId ? currentText ? chunk6A4GNM4T_cjs.parseSkillFrontmatter(currentText, chunk6A4GNM4T_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
|
|
1934
1934
|
isLoading: !!current.docExtId && textLoading,
|
|
1935
1935
|
actions: {
|
|
1936
1936
|
onRun: () => onRun(current.slug),
|
|
@@ -1965,7 +1965,7 @@ function SkillEditor({
|
|
|
1965
1965
|
const [seeded, setSeeded] = react$1.useState(!isEditing);
|
|
1966
1966
|
const [nameError, setNameError] = react$1.useState(null);
|
|
1967
1967
|
if (isEditing && !seeded && text !== void 0) {
|
|
1968
|
-
const parsed =
|
|
1968
|
+
const parsed = chunk6A4GNM4T_cjs.parseSkillFrontmatter(text, chunk6A4GNM4T_cjs.SKILL_MAIN_FILENAME);
|
|
1969
1969
|
setDescription(parsed.description ?? "");
|
|
1970
1970
|
setBody(parsed.content ?? "");
|
|
1971
1971
|
setSeeded(true);
|
|
@@ -1979,15 +1979,15 @@ function SkillEditor({
|
|
|
1979
1979
|
notify19("Add a short description.", "error");
|
|
1980
1980
|
return;
|
|
1981
1981
|
}
|
|
1982
|
-
const slug =
|
|
1982
|
+
const slug = chunk6A4GNM4T_cjs.skillSlug(name);
|
|
1983
1983
|
try {
|
|
1984
|
-
await onSave(slug,
|
|
1984
|
+
await onSave(slug, chunk6A4GNM4T_cjs.serializeSkill({ name: slug, description, body }), isEditing);
|
|
1985
1985
|
} catch (err) {
|
|
1986
1986
|
notify19(errorText(err, "Could not save the skill"), "error");
|
|
1987
1987
|
}
|
|
1988
1988
|
};
|
|
1989
1989
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1990
|
-
|
|
1990
|
+
chunk6A4GNM4T_cjs.SkillEditForm,
|
|
1991
1991
|
{
|
|
1992
1992
|
name,
|
|
1993
1993
|
onNameChange: setName,
|
|
@@ -2080,7 +2080,7 @@ function ConnectedSkillsBrowser({
|
|
|
2080
2080
|
}
|
|
2081
2081
|
) }),
|
|
2082
2082
|
runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2083
|
-
|
|
2083
|
+
chunkANYKNLU3_cjs.ConnectedTaskComposer,
|
|
2084
2084
|
{
|
|
2085
2085
|
kind: "workflow",
|
|
2086
2086
|
open: true,
|
|
@@ -2104,9 +2104,9 @@ function ConnectedAgentCreator({
|
|
|
2104
2104
|
agent,
|
|
2105
2105
|
initialName,
|
|
2106
2106
|
onSaved,
|
|
2107
|
-
capabilities =
|
|
2108
|
-
templates =
|
|
2109
|
-
types =
|
|
2107
|
+
capabilities = chunk6A4GNM4T_cjs.DEFAULT_AGENT_CAPABILITIES,
|
|
2108
|
+
templates = chunk6A4GNM4T_cjs.DEFAULT_AGENT_TEMPLATES,
|
|
2109
|
+
types = chunk6A4GNM4T_cjs.DEFAULT_AGENT_TYPES,
|
|
2110
2110
|
canRevokeWorkspaces = false,
|
|
2111
2111
|
labels
|
|
2112
2112
|
}) {
|
|
@@ -2148,7 +2148,7 @@ function ConnectedAgentCreator({
|
|
|
2148
2148
|
const initialValues = react$1.useMemo(
|
|
2149
2149
|
() => ({
|
|
2150
2150
|
name: agent?.given_name ?? initialName ?? "",
|
|
2151
|
-
persona: isEdit ?
|
|
2151
|
+
persona: isEdit ? chunk6A4GNM4T_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
|
|
2152
2152
|
modelName: String(agents.AGENT_MODEL_NAME ?? ""),
|
|
2153
2153
|
capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
|
|
2154
2154
|
type: "builtin",
|
|
@@ -2167,7 +2167,7 @@ function ConnectedAgentCreator({
|
|
|
2167
2167
|
try {
|
|
2168
2168
|
let agentExtId = agent?.external_id ?? early?.id ?? "";
|
|
2169
2169
|
if (!agentExtId) {
|
|
2170
|
-
if (!
|
|
2170
|
+
if (!chunk6A4GNM4T_cjs.isValidAgentName(values.name)) {
|
|
2171
2171
|
notify19("Give the agent a name first.", "error");
|
|
2172
2172
|
return;
|
|
2173
2173
|
}
|
|
@@ -2203,7 +2203,7 @@ function ConnectedAgentCreator({
|
|
|
2203
2203
|
title: `agent-${name}`,
|
|
2204
2204
|
sections: {
|
|
2205
2205
|
Agents: {
|
|
2206
|
-
PERSONA:
|
|
2206
|
+
PERSONA: chunk6A4GNM4T_cjs.composePersona(name, values.persona),
|
|
2207
2207
|
...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
|
|
2208
2208
|
...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
|
|
2209
2209
|
ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
|
|
@@ -2226,7 +2226,7 @@ function ConnectedAgentCreator({
|
|
|
2226
2226
|
};
|
|
2227
2227
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2228
2228
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2229
|
-
|
|
2229
|
+
chunk6A4GNM4T_cjs.AgentCreator,
|
|
2230
2230
|
{
|
|
2231
2231
|
open: ready,
|
|
2232
2232
|
onOpenChange,
|
|
@@ -2242,11 +2242,11 @@ function ConnectedAgentCreator({
|
|
|
2242
2242
|
) : void 0,
|
|
2243
2243
|
revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
|
|
2244
2244
|
avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2245
|
-
|
|
2245
|
+
chunk6A4GNM4T_cjs.AgentAvatarField,
|
|
2246
2246
|
{
|
|
2247
2247
|
picture,
|
|
2248
2248
|
isBusy: avatarBusy,
|
|
2249
|
-
canGenerate: isEdit ||
|
|
2249
|
+
canGenerate: isEdit || chunk6A4GNM4T_cjs.isValidAgentName(values.name),
|
|
2250
2250
|
onGenerate: () => handleGenerateAvatar(values)
|
|
2251
2251
|
}
|
|
2252
2252
|
),
|
|
@@ -2298,7 +2298,7 @@ function ConnectedAgentCreator({
|
|
|
2298
2298
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
|
|
2299
2299
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
|
|
2300
2300
|
] }),
|
|
2301
|
-
connect && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2301
|
+
connect && /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
|
|
2302
2302
|
]
|
|
2303
2303
|
}
|
|
2304
2304
|
) })
|
|
@@ -2690,7 +2690,7 @@ function useMemoryCount(enabled) {
|
|
|
2690
2690
|
}
|
|
2691
2691
|
function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
2692
2692
|
const { notify: notify19, openConversation, openDocument } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
|
|
2693
|
-
const people =
|
|
2693
|
+
const people = chunkANYKNLU3_cjs.useTaskPeople();
|
|
2694
2694
|
const canEditShared = react.useCanEditShared();
|
|
2695
2695
|
const isWorkspaceOwner = react.useIsWorkspaceOwner();
|
|
2696
2696
|
const { data: workflows = [] } = react.useWorkflows({ live: true });
|
|
@@ -2716,7 +2716,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2716
2716
|
}, [documents]);
|
|
2717
2717
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2718
2718
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2719
|
-
|
|
2719
|
+
chunk6A4GNM4T_cjs.TaskTable,
|
|
2720
2720
|
{
|
|
2721
2721
|
tasks,
|
|
2722
2722
|
isLoading,
|
|
@@ -2743,7 +2743,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2743
2743
|
}
|
|
2744
2744
|
),
|
|
2745
2745
|
activityFor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2746
|
-
|
|
2746
|
+
chunkANYKNLU3_cjs.ConnectedTaskActivityDialog,
|
|
2747
2747
|
{
|
|
2748
2748
|
conversationId: activityFor.external_id,
|
|
2749
2749
|
taskName: activityFor.title || l.untitledTask,
|
|
@@ -2782,7 +2782,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
|
|
|
2782
2782
|
[workflows, skills, l.skillFiles]
|
|
2783
2783
|
);
|
|
2784
2784
|
const launch = async ({ workflow, inputs, agentId }) => {
|
|
2785
|
-
const values =
|
|
2785
|
+
const values = chunk6A4GNM4T_cjs.defaultTaskComposerValues(launchable, {
|
|
2786
2786
|
workflowId: workflow.id,
|
|
2787
2787
|
assignee: "agent",
|
|
2788
2788
|
inputs,
|
|
@@ -2902,7 +2902,7 @@ function ConnectedAgentsPageScope(props) {
|
|
|
2902
2902
|
children,
|
|
2903
2903
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
|
|
2904
2904
|
taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2905
|
-
|
|
2905
|
+
chunkANYKNLU3_cjs.ConnectedTaskComposer,
|
|
2906
2906
|
{
|
|
2907
2907
|
open: true,
|
|
2908
2908
|
onOpenChange: (open) => !open && setTaskDialog(null),
|
|
@@ -2924,7 +2924,7 @@ function AgentsGallery() {
|
|
|
2924
2924
|
cardTestIds
|
|
2925
2925
|
} = agentOptions;
|
|
2926
2926
|
const { openConversation } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
|
|
2927
|
-
const tasksByAgent = react$1.useMemo(() =>
|
|
2927
|
+
const tasksByAgent = react$1.useMemo(() => chunk6A4GNM4T_cjs.groupAgentTasks(tasks), [tasks]);
|
|
2928
2928
|
const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
|
|
2929
2929
|
const { agents } = management;
|
|
2930
2930
|
const cardDetails = (agent) => details.map(
|
|
@@ -2939,7 +2939,7 @@ function AgentsGallery() {
|
|
|
2939
2939
|
) : 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)
|
|
2940
2940
|
);
|
|
2941
2941
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2942
|
-
|
|
2942
|
+
chunk6A4GNM4T_cjs.AgentGallery,
|
|
2943
2943
|
{
|
|
2944
2944
|
count: agents.length,
|
|
2945
2945
|
onCreate: management.create,
|
|
@@ -2949,9 +2949,9 @@ function AgentsGallery() {
|
|
|
2949
2949
|
const agentTasks = tasksByAgent.get(agent.external_id) ?? [];
|
|
2950
2950
|
const running = agentTasks.filter((t) => t.in_progress);
|
|
2951
2951
|
const watchConversationId = running[0]?.external_id ?? null;
|
|
2952
|
-
const progress = agentTasks[0] ?
|
|
2952
|
+
const progress = agentTasks[0] ? chunk6A4GNM4T_cjs.goalProgress(agentTasks[0]) : null;
|
|
2953
2953
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2954
|
-
|
|
2954
|
+
chunk6A4GNM4T_cjs.AgentCard,
|
|
2955
2955
|
{
|
|
2956
2956
|
name: displayName(agent),
|
|
2957
2957
|
avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
|
|
@@ -3059,7 +3059,7 @@ function AgentsSectionBody({ id }) {
|
|
|
3059
3059
|
) });
|
|
3060
3060
|
case "scheduled":
|
|
3061
3061
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[min(32rem,70dvh)] min-h-64 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3062
|
-
|
|
3062
|
+
chunkOGTRUW35_cjs.ConnectedWorkflowsTable,
|
|
3063
3063
|
{
|
|
3064
3064
|
filter: "scheduled",
|
|
3065
3065
|
onEdit: (w) => openWorkflow?.(w.external_id),
|
|
@@ -3363,7 +3363,7 @@ function ConnectedTagTable({
|
|
|
3363
3363
|
const fail2 = (fallback) => (e) => notify19(browser.refusalReason(e, fallback), "error");
|
|
3364
3364
|
const snapshot2 = (data) => {
|
|
3365
3365
|
const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
|
|
3366
|
-
const bytes =
|
|
3366
|
+
const bytes = chunkO27K7KTZ_cjs.tagTableDocx(data, {
|
|
3367
3367
|
title,
|
|
3368
3368
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
3369
3369
|
});
|
|
@@ -3372,7 +3372,7 @@ function ConnectedTagTable({
|
|
|
3372
3372
|
return { blob: new Blob([bytes], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }), name };
|
|
3373
3373
|
};
|
|
3374
3374
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3375
|
-
|
|
3375
|
+
chunkO27K7KTZ_cjs.TagTable,
|
|
3376
3376
|
{
|
|
3377
3377
|
...props,
|
|
3378
3378
|
table,
|
|
@@ -3462,8 +3462,8 @@ function ConnectedAiReview({
|
|
|
3462
3462
|
const generate = react.useGenerateDocTags();
|
|
3463
3463
|
const { data: liveDocs = [] } = react.useDocuments();
|
|
3464
3464
|
const { data: tags = [] } = react.useTags();
|
|
3465
|
-
const result =
|
|
3466
|
-
const setResult =
|
|
3465
|
+
const result = chunk6NSKIS35_cjs.useAiReviewStore((s) => s.run);
|
|
3466
|
+
const setResult = chunk6NSKIS35_cjs.useAiReviewStore((s) => s.setRun);
|
|
3467
3467
|
const phase = result ? "review" : "ask";
|
|
3468
3468
|
const docCount = documents.length;
|
|
3469
3469
|
const scope = allDocuments ? "processed" : "selected";
|
|
@@ -3698,7 +3698,7 @@ function ConnectedAiReview({
|
|
|
3698
3698
|
}, [kind]);
|
|
3699
3699
|
const description = phase === "ask" ? assistant.reviewEach(docCount, scope) : aiCellsTotal > 0 ? reviewProgress(aiCellsDone, aiCellsEmpty, aiCellsTotal) : `Applied to ${rows.length} document${plural2(rows.length)}`;
|
|
3700
3700
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3701
|
-
|
|
3701
|
+
chunkOKUXM2N4_cjs.AiReviewDialogView,
|
|
3702
3702
|
{
|
|
3703
3703
|
open,
|
|
3704
3704
|
onOpenChange: handleOpenChange,
|
|
@@ -3749,9 +3749,9 @@ function GlossaryExport({ labelId, nameOf }) {
|
|
|
3749
3749
|
const narrowed = agreements.find((a) => a.id === narrowTo);
|
|
3750
3750
|
const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
|
|
3751
3751
|
const download = (format) => {
|
|
3752
|
-
const entries =
|
|
3753
|
-
const blob = format === "docx" ? new Blob([
|
|
3754
|
-
documentTools.downloadBlob(blob,
|
|
3752
|
+
const entries = chunkO27K7KTZ_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
|
|
3753
|
+
const blob = format === "docx" ? new Blob([chunkO27K7KTZ_cjs.glossaryDocx(entries, { title })], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }) : new Blob([chunkO27K7KTZ_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
|
|
3754
|
+
documentTools.downloadBlob(blob, chunkO27K7KTZ_cjs.glossaryFileName(title, format));
|
|
3755
3755
|
};
|
|
3756
3756
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
|
|
3757
3757
|
agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -3815,8 +3815,8 @@ function useOpenTaggedContent() {
|
|
|
3815
3815
|
if (!workspaceId) return;
|
|
3816
3816
|
session.setTransientView("topbar.filter", "");
|
|
3817
3817
|
if (kind === "documents") {
|
|
3818
|
-
|
|
3819
|
-
|
|
3818
|
+
chunk6NSKIS35_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
|
|
3819
|
+
chunk6NSKIS35_cjs.useFilesPrefs.getState().setViewMode("grid");
|
|
3820
3820
|
session.setPage("documents");
|
|
3821
3821
|
} else if (kind === "facts") {
|
|
3822
3822
|
session.setViewFilter(FACTS_FILTER_KEY, { [tagId]: "include" });
|
|
@@ -3855,7 +3855,7 @@ function ConnectedTagForm({
|
|
|
3855
3855
|
nameByKind = false
|
|
3856
3856
|
}) {
|
|
3857
3857
|
const isCreate = !tag;
|
|
3858
|
-
const memberById =
|
|
3858
|
+
const memberById = chunkVULH3XAJ_cjs.useMemberLookup();
|
|
3859
3859
|
const creator = memberById(tag?.created_by_ext_id);
|
|
3860
3860
|
const updater = memberById(tag?.updated_by_ext_id);
|
|
3861
3861
|
const fieldLabel = ui.getEntityLabel("TAG", "SINGULAR");
|
|
@@ -3934,19 +3934,19 @@ function ConnectedTagForm({
|
|
|
3934
3934
|
metaLines.push({
|
|
3935
3935
|
text: `Created ${ui.formatFriendlyDate(tag.created_at)}`,
|
|
3936
3936
|
byLabel: "by",
|
|
3937
|
-
by: creator ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3937
|
+
by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkRBI7WVEP_cjs.DocumentUser, { user: creator }) : void 0
|
|
3938
3938
|
});
|
|
3939
3939
|
if (tag.updated_at && tag.updated_at !== tag.created_at) {
|
|
3940
3940
|
metaLines.push({
|
|
3941
3941
|
text: `Updated ${ui.formatFriendlyDate(tag.updated_at)}`,
|
|
3942
3942
|
byLabel: "by",
|
|
3943
|
-
by: updater ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3943
|
+
by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkRBI7WVEP_cjs.DocumentUser, { user: updater }) : void 0
|
|
3944
3944
|
});
|
|
3945
3945
|
}
|
|
3946
3946
|
}
|
|
3947
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3947
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.TagFormRoot, { children: [
|
|
3948
3948
|
!nameOnRow && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3949
|
-
|
|
3949
|
+
chunkOKUXM2N4_cjs.TagFormNameField,
|
|
3950
3950
|
{
|
|
3951
3951
|
label: group || nameByKind ? `${ui.tagKindTitle(kind)} Name` : `${columnLabel} Name`,
|
|
3952
3952
|
placeholder: `Enter ${kindNoun ?? columnLabel.toLowerCase()} name...`,
|
|
@@ -3956,7 +3956,7 @@ function ConnectedTagForm({
|
|
|
3956
3956
|
}
|
|
3957
3957
|
),
|
|
3958
3958
|
kinds.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3959
|
-
|
|
3959
|
+
chunkOKUXM2N4_cjs.TagFormSelectField,
|
|
3960
3960
|
{
|
|
3961
3961
|
label: "Kind",
|
|
3962
3962
|
testId: "inline-tag-form-kind-field",
|
|
@@ -3971,7 +3971,7 @@ function ConnectedTagForm({
|
|
|
3971
3971
|
}
|
|
3972
3972
|
),
|
|
3973
3973
|
kind === "annotation" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3974
|
-
|
|
3974
|
+
chunkOKUXM2N4_cjs.TagFormSelectField,
|
|
3975
3975
|
{
|
|
3976
3976
|
label: group === "annotation" ? "Value type" : "Field Type",
|
|
3977
3977
|
testId: "inline-tag-form-type-field",
|
|
@@ -3983,7 +3983,7 @@ function ConnectedTagForm({
|
|
|
3983
3983
|
}
|
|
3984
3984
|
),
|
|
3985
3985
|
showParentPicker && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3986
|
-
|
|
3986
|
+
chunkOKUXM2N4_cjs.TagFormSelectField,
|
|
3987
3987
|
{
|
|
3988
3988
|
label: "Nested Under",
|
|
3989
3989
|
value: parentId,
|
|
@@ -4005,14 +4005,14 @@ function ConnectedTagForm({
|
|
|
4005
4005
|
]
|
|
4006
4006
|
}
|
|
4007
4007
|
),
|
|
4008
|
-
nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4008
|
+
nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
|
|
4009
4009
|
"Other fields are nested under this one, so it cannot itself be nested \u2014 fields nest",
|
|
4010
4010
|
" ",
|
|
4011
4011
|
browser.TAG_NESTING_MAX_DEPTH,
|
|
4012
4012
|
" levels deep."
|
|
4013
4013
|
] }),
|
|
4014
4014
|
tagType === "select" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4015
|
-
|
|
4015
|
+
chunkOKUXM2N4_cjs.TagFormOptionsEditor,
|
|
4016
4016
|
{
|
|
4017
4017
|
label: "Options",
|
|
4018
4018
|
options,
|
|
@@ -4025,7 +4025,7 @@ function ConnectedTagForm({
|
|
|
4025
4025
|
}
|
|
4026
4026
|
),
|
|
4027
4027
|
tagType === "text" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4028
|
-
|
|
4028
|
+
chunkOKUXM2N4_cjs.TagFormInstructionField,
|
|
4029
4029
|
{
|
|
4030
4030
|
label: "AI Instruction",
|
|
4031
4031
|
optionalLabel: "(optional)",
|
|
@@ -4035,12 +4035,12 @@ function ConnectedTagForm({
|
|
|
4035
4035
|
onChange: setInstruction
|
|
4036
4036
|
}
|
|
4037
4037
|
),
|
|
4038
|
-
metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4038
|
+
metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.TagFormMeta, { lines: metaLines }),
|
|
4039
4039
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4040
|
-
|
|
4040
|
+
chunkOKUXM2N4_cjs.TagFormFooter,
|
|
4041
4041
|
{
|
|
4042
4042
|
sharedToggle: isCreate || !group ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4043
|
-
|
|
4043
|
+
chunkOKUXM2N4_cjs.TagFormSharedToggle,
|
|
4044
4044
|
{
|
|
4045
4045
|
label: "Shared with workspace",
|
|
4046
4046
|
toggle: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4280,7 +4280,7 @@ function KindSection({
|
|
|
4280
4280
|
{
|
|
4281
4281
|
testId: `tags-kind-${kind}`,
|
|
4282
4282
|
title: ui.tagKindTitle(kind, { plural: true }),
|
|
4283
|
-
description:
|
|
4283
|
+
description: chunkO27K7KTZ_cjs.tagKindDescription(kind),
|
|
4284
4284
|
children: [
|
|
4285
4285
|
browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4286
4286
|
"p",
|
|
@@ -4290,9 +4290,9 @@ function KindSection({
|
|
|
4290
4290
|
children: [
|
|
4291
4291
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
|
|
4292
4292
|
"Extracting ",
|
|
4293
|
-
|
|
4293
|
+
chunkO27K7KTZ_cjs.entitiesPhrase().toLowerCase(),
|
|
4294
4294
|
" from ",
|
|
4295
|
-
|
|
4295
|
+
chunkO27K7KTZ_cjs.documentCount(extractingCount),
|
|
4296
4296
|
"\u2026"
|
|
4297
4297
|
]
|
|
4298
4298
|
}
|
|
@@ -4310,7 +4310,7 @@ function KindSection({
|
|
|
4310
4310
|
onOpenTag: ctx.onOpenTag,
|
|
4311
4311
|
onOpenRow: ctx.onOpenTag,
|
|
4312
4312
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4313
|
-
labels:
|
|
4313
|
+
labels: chunkO27K7KTZ_cjs.tagTableLabels(kind),
|
|
4314
4314
|
testId: `tags-table-${kind}`
|
|
4315
4315
|
}
|
|
4316
4316
|
)
|
|
@@ -4418,15 +4418,15 @@ function TagSection({
|
|
|
4418
4418
|
onOpenTag: ctx.onOpenTag,
|
|
4419
4419
|
onOpenRow: ctx.onOpenTag,
|
|
4420
4420
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4421
|
-
labels:
|
|
4421
|
+
labels: chunkO27K7KTZ_cjs.tagTableLabels(tag.kind),
|
|
4422
4422
|
testId: "tags-rows"
|
|
4423
4423
|
}
|
|
4424
4424
|
),
|
|
4425
4425
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4426
|
-
|
|
4426
|
+
chunkO27K7KTZ_cjs.TagDetail,
|
|
4427
4427
|
{
|
|
4428
4428
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4429
|
-
fieldLabels:
|
|
4429
|
+
fieldLabels: chunkO27K7KTZ_cjs.tagTableLabels(tag.kind),
|
|
4430
4430
|
row: detailRow,
|
|
4431
4431
|
fields: schema.data?.fields ?? [],
|
|
4432
4432
|
isLoading: detail.isLoading,
|
|
@@ -4440,7 +4440,7 @@ function TagSection({
|
|
|
4440
4440
|
throw e;
|
|
4441
4441
|
})
|
|
4442
4442
|
),
|
|
4443
|
-
labels:
|
|
4443
|
+
labels: chunkO27K7KTZ_cjs.tagDetailLabels(),
|
|
4444
4444
|
testId: "tags-detail"
|
|
4445
4445
|
}
|
|
4446
4446
|
)
|
|
@@ -4463,9 +4463,9 @@ var TAG_FILTER_FIELDS = [
|
|
|
4463
4463
|
function ConnectedTagsPage() {
|
|
4464
4464
|
const { confirm, notify: notify19, openSmartSearch } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
|
|
4465
4465
|
const onOpenTaggedItems = useOpenTaggedContent();
|
|
4466
|
-
const setReviewOpen =
|
|
4467
|
-
const setReviewRun =
|
|
4468
|
-
const reviewOpen =
|
|
4466
|
+
const setReviewOpen = chunk6NSKIS35_cjs.useAiReviewStore((state) => state.setOpen);
|
|
4467
|
+
const setReviewRun = chunk6NSKIS35_cjs.useAiReviewStore((state) => state.setRun);
|
|
4468
|
+
const reviewOpen = chunk6NSKIS35_cjs.useAiReviewStore((state) => state.open);
|
|
4469
4469
|
const [review, setReview] = react$1.useState(null);
|
|
4470
4470
|
const { data: tags } = chunkEKSHUNJI_cjs.useConnectedTags();
|
|
4471
4471
|
const { data: documents } = chunkEKSHUNJI_cjs.useConnectedDocuments();
|
|
@@ -4515,7 +4515,7 @@ function ConnectedTagsPage() {
|
|
|
4515
4515
|
const onDelete = async (t) => {
|
|
4516
4516
|
const nested = browser.getChildTags([...tags], t.external_id);
|
|
4517
4517
|
const uses = browser.tagUseCount(t);
|
|
4518
|
-
const n2 =
|
|
4518
|
+
const n2 = chunkO27K7KTZ_cjs.tagsPageNouns();
|
|
4519
4519
|
const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
|
|
4520
4520
|
const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
|
|
4521
4521
|
const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
|
|
@@ -4536,11 +4536,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
4536
4536
|
try {
|
|
4537
4537
|
await extract.mutateAsync(docIds);
|
|
4538
4538
|
notify19(
|
|
4539
|
-
`Extracting ${
|
|
4539
|
+
`Extracting ${chunkO27K7KTZ_cjs.entitiesPhrase().toLowerCase()} from ${chunkO27K7KTZ_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
|
|
4540
4540
|
"info"
|
|
4541
4541
|
);
|
|
4542
4542
|
} catch (error) {
|
|
4543
|
-
notify19(browser.refusalReason(error, `Could not extract ${
|
|
4543
|
+
notify19(browser.refusalReason(error, `Could not extract ${chunkO27K7KTZ_cjs.entitiesPhrase().toLowerCase()}`), "error");
|
|
4544
4544
|
throw error;
|
|
4545
4545
|
}
|
|
4546
4546
|
};
|
|
@@ -4554,10 +4554,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
4554
4554
|
onOpenTag: openTag,
|
|
4555
4555
|
onOpenTaggedItems
|
|
4556
4556
|
};
|
|
4557
|
-
const n =
|
|
4557
|
+
const n = chunkO27K7KTZ_cjs.tagsPageNouns();
|
|
4558
4558
|
const action = view === "person" || view === "organisation" ? {
|
|
4559
4559
|
label: "Extract",
|
|
4560
|
-
title: `Extract ${
|
|
4560
|
+
title: `Extract ${chunkO27K7KTZ_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
|
|
4561
4561
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
|
|
4562
4562
|
run: () => setExtracting(true),
|
|
4563
4563
|
testId: "tags-extract-entities"
|
|
@@ -4611,7 +4611,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
4611
4611
|
onTabChange: () => {
|
|
4612
4612
|
},
|
|
4613
4613
|
variant: "underline",
|
|
4614
|
-
firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(
|
|
4614
|
+
firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4615
4615
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
4616
4616
|
{
|
|
4617
4617
|
value: filterText,
|
|
@@ -4633,7 +4633,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
4633
4633
|
filter: tagFilter
|
|
4634
4634
|
}
|
|
4635
4635
|
) }),
|
|
4636
|
-
centerContent: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4636
|
+
centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4637
4637
|
chunkSNUBQMIS_cjs.ViewToggle,
|
|
4638
4638
|
{
|
|
4639
4639
|
options: browser.TAG_KINDS.map((k) => ({
|
|
@@ -4726,7 +4726,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
4726
4726
|
}
|
|
4727
4727
|
),
|
|
4728
4728
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4729
|
-
|
|
4729
|
+
chunkO27K7KTZ_cjs.ExtractEntitiesDialog,
|
|
4730
4730
|
{
|
|
4731
4731
|
open: extracting,
|
|
4732
4732
|
onOpenChange: setExtracting,
|
|
@@ -5314,7 +5314,7 @@ function ConnectedExportPanel({
|
|
|
5314
5314
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", "data-testid": "export-documents", children: [
|
|
5315
5315
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-auto space-y-6 p-6", children: [
|
|
5316
5316
|
jobRunning && job && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5317
|
-
|
|
5317
|
+
chunkOKUXM2N4_cjs.TransferProgressView,
|
|
5318
5318
|
{
|
|
5319
5319
|
title: `${job.mode === "move" ? "Moving" : "Copying"} to ${targetName(job.target_workspace_ext_id)}`,
|
|
5320
5320
|
processed: job.processed ?? 0,
|
|
@@ -5327,7 +5327,7 @@ function ConnectedExportPanel({
|
|
|
5327
5327
|
),
|
|
5328
5328
|
jobDone && job && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5329
5329
|
react.isTransferResumable(job) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5330
|
-
|
|
5330
|
+
chunkOKUXM2N4_cjs.TransferResumeBanner,
|
|
5331
5331
|
{
|
|
5332
5332
|
message: `Stopped at ${job.processed} of ${job.total}. Resume to finish \u2014 nothing is copied twice.`,
|
|
5333
5333
|
onResume: () => handleResume(job),
|
|
@@ -5335,7 +5335,7 @@ function ConnectedExportPanel({
|
|
|
5335
5335
|
}
|
|
5336
5336
|
),
|
|
5337
5337
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5338
|
-
|
|
5338
|
+
chunkOKUXM2N4_cjs.ExportResultsReport,
|
|
5339
5339
|
{
|
|
5340
5340
|
summary: `${job.mode === "move" ? "Moved" : "Copied"} ${plural3(
|
|
5341
5341
|
Number(job.counts?.copied ?? 0) + Number(job.counts?.removed ?? 0),
|
|
@@ -5348,7 +5348,7 @@ function ConnectedExportPanel({
|
|
|
5348
5348
|
] }),
|
|
5349
5349
|
!jobId && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5350
5350
|
resumable && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5351
|
-
|
|
5351
|
+
chunkOKUXM2N4_cjs.TransferResumeBanner,
|
|
5352
5352
|
{
|
|
5353
5353
|
message: `A ${resumable.mode} to ${targetName(resumable.target_workspace_ext_id)} stopped at ${resumable.processed} of ${resumable.total}.`,
|
|
5354
5354
|
onResume: () => handleResume(resumable),
|
|
@@ -5356,7 +5356,7 @@ function ConnectedExportPanel({
|
|
|
5356
5356
|
}
|
|
5357
5357
|
),
|
|
5358
5358
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5359
|
-
|
|
5359
|
+
chunkOKUXM2N4_cjs.TransferScopeChooser,
|
|
5360
5360
|
{
|
|
5361
5361
|
scope: scopeChoice,
|
|
5362
5362
|
onScopeChange: setScopeChoice,
|
|
@@ -5367,7 +5367,7 @@ function ConnectedExportPanel({
|
|
|
5367
5367
|
}
|
|
5368
5368
|
),
|
|
5369
5369
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5370
|
-
|
|
5370
|
+
chunkOKUXM2N4_cjs.TransferKindsPicker,
|
|
5371
5371
|
{
|
|
5372
5372
|
options: ALL_KINDS.map((kind) => ({
|
|
5373
5373
|
kind,
|
|
@@ -5380,9 +5380,9 @@ function ConnectedExportPanel({
|
|
|
5380
5380
|
)
|
|
5381
5381
|
}
|
|
5382
5382
|
),
|
|
5383
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5383
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
|
|
5384
5384
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5385
|
-
|
|
5385
|
+
chunkOKUXM2N4_cjs.ExportMethodChooser,
|
|
5386
5386
|
{
|
|
5387
5387
|
mode,
|
|
5388
5388
|
onModeChange: setMode,
|
|
@@ -5394,17 +5394,17 @@ function ConnectedExportPanel({
|
|
|
5394
5394
|
),
|
|
5395
5395
|
mode !== "download" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5396
5396
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5397
|
-
|
|
5397
|
+
chunkOKUXM2N4_cjs.ExportWorkspacePicker,
|
|
5398
5398
|
{
|
|
5399
5399
|
workspaces: workspaceOptions,
|
|
5400
5400
|
selectedId: targetId,
|
|
5401
5401
|
onSelect: setTargetId
|
|
5402
5402
|
}
|
|
5403
5403
|
),
|
|
5404
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5404
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
|
|
5405
5405
|
] }),
|
|
5406
5406
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5407
|
-
|
|
5407
|
+
chunkOKUXM2N4_cjs.TransferPlanSummary,
|
|
5408
5408
|
{
|
|
5409
5409
|
lines: summary.lines,
|
|
5410
5410
|
warnings: summary.warnings,
|
|
@@ -5421,7 +5421,7 @@ function ConnectedExportPanel({
|
|
|
5421
5421
|
] })
|
|
5422
5422
|
] }),
|
|
5423
5423
|
!jobId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5424
|
-
|
|
5424
|
+
chunkOKUXM2N4_cjs.ExportFooter,
|
|
5425
5425
|
{
|
|
5426
5426
|
onCancel: onClose,
|
|
5427
5427
|
onSubmit: handleSubmit,
|
|
@@ -5462,7 +5462,7 @@ function OpenExportDialog({
|
|
|
5462
5462
|
children: [
|
|
5463
5463
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalHeader, { children: [
|
|
5464
5464
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5465
|
-
|
|
5465
|
+
chunkOKUXM2N4_cjs.ExportModalTitle,
|
|
5466
5466
|
{
|
|
5467
5467
|
workspace: workspace ? {
|
|
5468
5468
|
icon: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "touch-hit inline-flex", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5879,7 +5879,7 @@ function ConnectedFieldsEditor({
|
|
|
5879
5879
|
const [sortBy, setSortBy] = react$1.useState("name-asc");
|
|
5880
5880
|
const [filterText, setFilterText] = react$1.useState("");
|
|
5881
5881
|
const fieldRows = react$1.useMemo(
|
|
5882
|
-
() => browser.flattenTagTree(
|
|
5882
|
+
() => browser.flattenTagTree(chunkOKUXM2N4_cjs.sortFields(chunkOKUXM2N4_cjs.filterFieldsByName(tags, filterText), sortBy)),
|
|
5883
5883
|
[tags, filterText, sortBy]
|
|
5884
5884
|
);
|
|
5885
5885
|
const exportItems = react$1.useMemo(
|
|
@@ -5899,7 +5899,7 @@ function ConnectedFieldsEditor({
|
|
|
5899
5899
|
setIsDeleting(false);
|
|
5900
5900
|
}
|
|
5901
5901
|
};
|
|
5902
|
-
const copy =
|
|
5902
|
+
const copy = chunkOKUXM2N4_cjs.fieldsApplyBarCopy({
|
|
5903
5903
|
nouns,
|
|
5904
5904
|
targetNoun,
|
|
5905
5905
|
fieldCount,
|
|
@@ -5908,9 +5908,9 @@ function ConnectedFieldsEditor({
|
|
|
5908
5908
|
isApplying,
|
|
5909
5909
|
isClearing
|
|
5910
5910
|
});
|
|
5911
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5911
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FieldsEditorRoot, { children: [
|
|
5912
5912
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5913
|
-
|
|
5913
|
+
chunkOKUXM2N4_cjs.FieldsEditorToolbar,
|
|
5914
5914
|
{
|
|
5915
5915
|
nouns,
|
|
5916
5916
|
onNew: () => {
|
|
@@ -5938,11 +5938,11 @@ function ConnectedFieldsEditor({
|
|
|
5938
5938
|
onSortByChange: setSortBy
|
|
5939
5939
|
}
|
|
5940
5940
|
),
|
|
5941
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5941
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FieldsEditorList, { children: [
|
|
5942
5942
|
fieldRows.map(({ tag, depth, childCount }) => {
|
|
5943
5943
|
const isEditingThis = editingTagId === tag.external_id;
|
|
5944
5944
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
5945
|
-
|
|
5945
|
+
chunkOKUXM2N4_cjs.FieldRow,
|
|
5946
5946
|
{
|
|
5947
5947
|
tagId: tag.external_id,
|
|
5948
5948
|
name: tag.name,
|
|
@@ -5995,10 +5995,10 @@ function ConnectedFieldsEditor({
|
|
|
5995
5995
|
tag.external_id
|
|
5996
5996
|
);
|
|
5997
5997
|
}),
|
|
5998
|
-
fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5998
|
+
fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FieldsEmptyState, { children: chunkOKUXM2N4_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
|
|
5999
5999
|
] }),
|
|
6000
6000
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6001
|
-
|
|
6001
|
+
chunkOKUXM2N4_cjs.FieldsApplyBar,
|
|
6002
6002
|
{
|
|
6003
6003
|
hint: copy.hint,
|
|
6004
6004
|
applyLabel: copy.applyLabel,
|
|
@@ -6074,8 +6074,8 @@ function ConnectedFieldsManager({
|
|
|
6074
6074
|
}
|
|
6075
6075
|
);
|
|
6076
6076
|
const body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
6077
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6078
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6077
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
|
|
6078
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6079
6079
|
ConnectedFieldsEditor,
|
|
6080
6080
|
{
|
|
6081
6081
|
group: activeKind,
|
|
@@ -6087,7 +6087,7 @@ function ConnectedFieldsManager({
|
|
|
6087
6087
|
] });
|
|
6088
6088
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", children: [
|
|
6089
6089
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkZYTZTCVQ_cjs.DraggableHeader, { children: [
|
|
6090
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6090
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
|
|
6091
6091
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3", children: tabHeader })
|
|
6092
6092
|
] }),
|
|
6093
6093
|
body
|
|
@@ -6116,7 +6116,7 @@ function ConnectedFieldsManagerPanel({
|
|
|
6116
6116
|
const [createRequest, setCreateRequest] = react.useTransientView(FIELDS_MANAGER_CREATE_VIEW, 0);
|
|
6117
6117
|
const [kind, setKind] = react.useTransientView(FIELDS_MANAGER_KIND_VIEW, "label");
|
|
6118
6118
|
const documentIds = react.useArbiSessionState((s) => s.selectedDocumentIds);
|
|
6119
|
-
const reviewing =
|
|
6119
|
+
const reviewing = chunk6NSKIS35_cjs.useFilesPrefs((state) => chunk6NSKIS35_cjs.filesViewMode(state) === "navigator");
|
|
6120
6120
|
const viewingId = react.useArbiSessionState((s) => s.viewingDocument?.id ?? null);
|
|
6121
6121
|
const reviewingId = reviewing ? viewingId : null;
|
|
6122
6122
|
const handleClose = react$1.useCallback(() => {
|
|
@@ -6157,7 +6157,7 @@ function ConnectedFieldsManagerPanel({
|
|
|
6157
6157
|
onAnnotationCreated,
|
|
6158
6158
|
onAiFieldsApplied: (result) => {
|
|
6159
6159
|
session.closePanel(FIELDS_MANAGER_PANEL);
|
|
6160
|
-
const review =
|
|
6160
|
+
const review = chunk6NSKIS35_cjs.useAiReviewStore.getState();
|
|
6161
6161
|
review.setRun(result);
|
|
6162
6162
|
review.setOpen(true);
|
|
6163
6163
|
}
|
|
@@ -6532,7 +6532,7 @@ var factNouns = () => ({
|
|
|
6532
6532
|
function useWorkspaceAsk() {
|
|
6533
6533
|
const { openNewConversation, openFiles } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
|
|
6534
6534
|
const { workspaceId } = chunkNNBL3HPG_cjs.useConnectedWorkspace();
|
|
6535
|
-
const setFilesViewMode =
|
|
6535
|
+
const setFilesViewMode = chunk6NSKIS35_cjs.useFilesPrefs((state) => state.setViewMode);
|
|
6536
6536
|
const ask = react$1.useCallback(
|
|
6537
6537
|
(text) => openNewConversation({ prompt: text, keepDocumentOpen: true }),
|
|
6538
6538
|
[openNewConversation]
|
|
@@ -7060,7 +7060,7 @@ function useFactFilters(notes, view, chat) {
|
|
|
7060
7060
|
(selected, setSelected, opts) => {
|
|
7061
7061
|
const applied = new Set(selected);
|
|
7062
7062
|
return /* @__PURE__ */ jsxRuntime.jsx(chunkGSD5U553_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7063
|
-
|
|
7063
|
+
chunkOKUXM2N4_cjs.FieldLabelsSelect,
|
|
7064
7064
|
{
|
|
7065
7065
|
options: labelOptions,
|
|
7066
7066
|
appliedIds: applied,
|
|
@@ -7287,7 +7287,7 @@ var FactHeader = react$1.memo(function FactHeader2({
|
|
|
7287
7287
|
if (params.enableSorting) params.progressSort(e.shiftKey);
|
|
7288
7288
|
},
|
|
7289
7289
|
children: [
|
|
7290
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7290
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FilterButton, { params, colId }),
|
|
7291
7291
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "order-2 min-w-0 flex-1 truncate", children: params.displayName }),
|
|
7292
7292
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ag-sort-indicator-container order-2 flex-shrink-0", "aria-hidden": "true", children: [
|
|
7293
7293
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -7559,7 +7559,7 @@ function useFactsPageView() {
|
|
|
7559
7559
|
"facts.searchFields",
|
|
7560
7560
|
DEFAULT_SEARCH_FIELDS
|
|
7561
7561
|
);
|
|
7562
|
-
const rowHeight = react.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ??
|
|
7562
|
+
const rowHeight = react.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ?? chunkOKUXM2N4_cjs.ROW_MIN);
|
|
7563
7563
|
const labelWidth = react.useArbiSessionState(
|
|
7564
7564
|
(s) => s.grid.labelWidths[FACTS_GRID_ID] ?? DEFAULT_TIMELINE_LABEL_WIDTH
|
|
7565
7565
|
);
|
|
@@ -7793,7 +7793,7 @@ function ConnectedFactsPage() {
|
|
|
7793
7793
|
const view = pageView.view;
|
|
7794
7794
|
const setView = pageView.setView;
|
|
7795
7795
|
const openLabels = () => openFieldsManagerIn(session, "label");
|
|
7796
|
-
const factsRowHeight = pageView.rowHeight ===
|
|
7796
|
+
const factsRowHeight = pageView.rowHeight === chunkOKUXM2N4_cjs.ROW_MIN ? chunkOKUXM2N4_cjs.ROW_MIN : chunkOKUXM2N4_cjs.rowHeightForLines(chunkOKUXM2N4_cjs.linesForRowHeight(pageView.rowHeight));
|
|
7797
7797
|
const [isExportOpen, setIsExportOpen] = react$1.useState(false);
|
|
7798
7798
|
const [filterOpen, setFilterOpen] = react$1.useState(false);
|
|
7799
7799
|
const [factSection, setFactSection] = react$1.useState(null);
|
|
@@ -7846,7 +7846,7 @@ function ConnectedFactsPage() {
|
|
|
7846
7846
|
onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
|
|
7847
7847
|
navSlotRef: setNavSlot,
|
|
7848
7848
|
navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
7849
|
-
|
|
7849
|
+
chunkO27K7KTZ_cjs.GridRowNavigator,
|
|
7850
7850
|
{
|
|
7851
7851
|
gridApi,
|
|
7852
7852
|
selectedId: editingId,
|
|
@@ -7859,7 +7859,7 @@ function ConnectedFactsPage() {
|
|
|
7859
7859
|
tools: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7860
7860
|
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkGSD5U553_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
|
|
7861
7861
|
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7862
|
-
|
|
7862
|
+
chunkOKUXM2N4_cjs.RowDensityControl,
|
|
7863
7863
|
{
|
|
7864
7864
|
rowHeight: factsRowHeight,
|
|
7865
7865
|
onRowHeightChange: pageView.setRowHeight,
|
|
@@ -8123,7 +8123,7 @@ function useConnectedShellWorkspaces(options = {}) {
|
|
|
8123
8123
|
function ConnectedSsoDisconnect() {
|
|
8124
8124
|
const { client } = react.useAccountClient();
|
|
8125
8125
|
const { data: profile } = react.useProfile();
|
|
8126
|
-
const auth =
|
|
8126
|
+
const auth = chunkLO4CMUOY_cjs.useAuthPages();
|
|
8127
8127
|
const { notify: notify19 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
|
|
8128
8128
|
const [open, setOpen] = react$1.useState(false);
|
|
8129
8129
|
const [step, setStep] = react$1.useState("email");
|
|
@@ -8301,14 +8301,14 @@ function ConnectedAccountSettings({
|
|
|
8301
8301
|
}) {
|
|
8302
8302
|
const [logoutOpen, setLogoutOpen] = react$1.useState(false);
|
|
8303
8303
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
|
|
8304
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8304
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLO4CMUOY_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
|
|
8305
8305
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
|
|
8306
8306
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
|
|
8307
8307
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
|
|
8308
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8308
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLO4CMUOY_cjs.ConnectedSecuritySection, { children: securityRows }),
|
|
8309
8309
|
moreSettings,
|
|
8310
8310
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8311
|
-
|
|
8311
|
+
chunkLO4CMUOY_cjs.ConnectedIdentityVerification,
|
|
8312
8312
|
{
|
|
8313
8313
|
collapsible: true,
|
|
8314
8314
|
onManageBilling,
|
|
@@ -8318,7 +8318,7 @@ function ConnectedAccountSettings({
|
|
|
8318
8318
|
] }),
|
|
8319
8319
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
|
|
8320
8320
|
connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
|
|
8321
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8321
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLO4CMUOY_cjs.ConnectedSessionsRow, { renderSessionIcon }),
|
|
8322
8322
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8323
8323
|
ui.Button,
|
|
8324
8324
|
{
|
|
@@ -8335,9 +8335,9 @@ function ConnectedAccountSettings({
|
|
|
8335
8335
|
}
|
|
8336
8336
|
) })
|
|
8337
8337
|
] }) }),
|
|
8338
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8338
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLO4CMUOY_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
|
|
8339
8339
|
!onLogout && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8340
|
-
|
|
8340
|
+
chunkLO4CMUOY_cjs.ConnectedLogoutDialog,
|
|
8341
8341
|
{
|
|
8342
8342
|
open: logoutOpen,
|
|
8343
8343
|
onClose: () => setLogoutOpen(false),
|
|
@@ -8680,7 +8680,7 @@ function ConnectedPrivacySettings({
|
|
|
8680
8680
|
}
|
|
8681
8681
|
)
|
|
8682
8682
|
] }) }),
|
|
8683
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8683
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLO4CMUOY_cjs.ConnectedNotificationPreferences, {})
|
|
8684
8684
|
] });
|
|
8685
8685
|
}
|
|
8686
8686
|
var PROVIDER_NAMES = {
|
|
@@ -10676,7 +10676,7 @@ function ConnectedRecoveryKeyDialog({
|
|
|
10676
10676
|
const arbi = react.useArbi();
|
|
10677
10677
|
const { user, isSso: isSsoMode } = react.useArbiSession();
|
|
10678
10678
|
const userEmail = user?.email;
|
|
10679
|
-
const sso =
|
|
10679
|
+
const sso = chunkLO4CMUOY_cjs.useSsoSignIn();
|
|
10680
10680
|
const handleVerify = async () => {
|
|
10681
10681
|
setError(null);
|
|
10682
10682
|
if (!password) {
|
|
@@ -10837,7 +10837,7 @@ function ConnectedRemoteControlSwitch() {
|
|
|
10837
10837
|
}
|
|
10838
10838
|
function RemoteControlSwitch() {
|
|
10839
10839
|
const enabled = react.useRemoteControl((state) => state.enabled);
|
|
10840
|
-
const remote =
|
|
10840
|
+
const remote = chunkLO4CMUOY_cjs.useRemoteControlActions();
|
|
10841
10841
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
10842
10842
|
chunkQQMMCXBP_cjs.SettingsRow,
|
|
10843
10843
|
{
|
|
@@ -12867,13 +12867,13 @@ function ConnectedWorkspaceSettings({
|
|
|
12867
12867
|
const [membersExpanded, setMembersExpanded] = react$1.useState(false);
|
|
12868
12868
|
const [shareOpen, setShareOpen] = react$1.useState(false);
|
|
12869
12869
|
if (!workspace) {
|
|
12870
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkWZAHVTTO_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12870
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWZAHVTTO_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkO27K7KTZ_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
|
|
12871
12871
|
}
|
|
12872
12872
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12873
12873
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkWZAHVTTO_cjs.WorkspacePageFrame, { testId, children: [
|
|
12874
12874
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkWZAHVTTO_cjs.WorkspaceIdentityPanel, { children: [
|
|
12875
12875
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12876
|
-
|
|
12876
|
+
chunkO27K7KTZ_cjs.EntityIdentityBar,
|
|
12877
12877
|
{
|
|
12878
12878
|
testId: "workspace-identity-bar",
|
|
12879
12879
|
canEdit: isOwner,
|
|
@@ -12890,7 +12890,7 @@ function ConnectedWorkspaceSettings({
|
|
|
12890
12890
|
label: "Name",
|
|
12891
12891
|
value: workspace.name,
|
|
12892
12892
|
placeholder: "Untitled",
|
|
12893
|
-
maxLength:
|
|
12893
|
+
maxLength: chunkO27K7KTZ_cjs.IDENTITY_NAME_MAX_LENGTH,
|
|
12894
12894
|
valueClassName: "truncate text-base font-semibold",
|
|
12895
12895
|
testId: "workspace-home-title",
|
|
12896
12896
|
hideLabel: true,
|
|
@@ -14574,36 +14574,36 @@ function ConnectedSharePointAdminConsentPage({
|
|
|
14574
14574
|
const result = givenResult === void 0 ? queryResult : givenResult;
|
|
14575
14575
|
const { apiBaseUrl } = chunkWGWP4ATS_cjs.useBlocksEnvironment().runtimeConfig;
|
|
14576
14576
|
const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
|
|
14577
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
14577
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentCard, { size: "md", children: [
|
|
14578
14578
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14579
|
-
|
|
14579
|
+
chunk6A4GNM4T_cjs.ConsentHeader,
|
|
14580
14580
|
{
|
|
14581
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14581
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
|
|
14582
14582
|
title: "Approve ARBI for SharePoint access",
|
|
14583
14583
|
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."
|
|
14584
14584
|
}
|
|
14585
14585
|
),
|
|
14586
|
-
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
14587
|
-
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
14588
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
14586
|
+
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_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." }),
|
|
14587
|
+
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_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." }),
|
|
14588
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentSection, { title: "What you are approving", children: [
|
|
14589
14589
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14590
|
-
|
|
14590
|
+
chunk6A4GNM4T_cjs.ConsentBulletList,
|
|
14591
14591
|
{
|
|
14592
14592
|
items: [
|
|
14593
14593
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14594
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14594
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
|
|
14595
14595
|
" \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."
|
|
14596
14596
|
] }),
|
|
14597
14597
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14598
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14598
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
|
|
14599
14599
|
" \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
|
|
14600
14600
|
] })
|
|
14601
14601
|
]
|
|
14602
14602
|
}
|
|
14603
14603
|
),
|
|
14604
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14604
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_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." }),
|
|
14605
14605
|
/* @__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" }) }),
|
|
14606
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14606
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_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." })
|
|
14607
14607
|
] })
|
|
14608
14608
|
] }) });
|
|
14609
14609
|
}
|
|
@@ -17277,7 +17277,7 @@ function useConnectedWorkspaceList({
|
|
|
17277
17277
|
};
|
|
17278
17278
|
}
|
|
17279
17279
|
var WorkspaceTableView = react$1.lazy(
|
|
17280
|
-
() => import('../WorkspaceTableView-
|
|
17280
|
+
() => import('../WorkspaceTableView-O2BVFLPG.cjs').then((m) => ({ default: m.WorkspaceTableView }))
|
|
17281
17281
|
);
|
|
17282
17282
|
var WORKSPACES_TAB_ID = "workspaces";
|
|
17283
17283
|
var renderMember = (user, size) => /* @__PURE__ */ jsxRuntime.jsx(chunkI7CJDF3V_cjs.ConnectedUserEntity, { user, size, variant: "icon" });
|
|
@@ -17337,7 +17337,7 @@ function ConnectedWorkspaceList({
|
|
|
17337
17337
|
}
|
|
17338
17338
|
);
|
|
17339
17339
|
}
|
|
17340
|
-
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(
|
|
17340
|
+
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkO27K7KTZ_cjs.LoadingIndicator, { message: "Loading workspaces..." });
|
|
17341
17341
|
if (list.error) {
|
|
17342
17342
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
17343
17343
|
chunkJGUM4EXE_cjs.HomeLoadError,
|
|
@@ -17410,7 +17410,7 @@ function ConnectedWorkspaceList({
|
|
|
17410
17410
|
workspaceState
|
|
17411
17411
|
}
|
|
17412
17412
|
) })
|
|
17413
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
17413
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkO27K7KTZ_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkJGUM4EXE_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
17414
17414
|
WorkspaceTableView,
|
|
17415
17415
|
{
|
|
17416
17416
|
list,
|
|
@@ -17600,7 +17600,7 @@ function ConnectedProjectsListPage({
|
|
|
17600
17600
|
};
|
|
17601
17601
|
const { openProject } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
|
|
17602
17602
|
const [search, setSearch] = react$1.useState("");
|
|
17603
|
-
const { projects, isLoading } =
|
|
17603
|
+
const { projects, isLoading } = chunkANYKNLU3_cjs.useProjectSummaries();
|
|
17604
17604
|
const rows = react$1.useMemo(() => {
|
|
17605
17605
|
const q = search.trim().toLowerCase();
|
|
17606
17606
|
if (!q) return projects;
|
|
@@ -17671,7 +17671,7 @@ function ConnectedProjectsListPage({
|
|
|
17671
17671
|
}
|
|
17672
17672
|
),
|
|
17673
17673
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
17674
|
-
|
|
17674
|
+
chunkO27K7KTZ_cjs.Toolbar,
|
|
17675
17675
|
{
|
|
17676
17676
|
search,
|
|
17677
17677
|
onSearch: setSearch,
|
|
@@ -17733,7 +17733,7 @@ function ProjectDetailsForm({
|
|
|
17733
17733
|
const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
|
|
17734
17734
|
const { notify: notify19 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
|
|
17735
17735
|
const update = react.useUpdateProjectFields();
|
|
17736
|
-
const workspace =
|
|
17736
|
+
const workspace = chunkANYKNLU3_cjs.primaryProjectWorkspace(project);
|
|
17737
17737
|
const { data: members = [] } = react.useWorkspaceUsers(workspace?.id);
|
|
17738
17738
|
const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
|
|
17739
17739
|
const currency = project.budget?.currency ?? "GBP";
|
|
@@ -17858,7 +17858,7 @@ var COMPACT_BELOW = 132;
|
|
|
17858
17858
|
var NO_DOCUMENTS = [];
|
|
17859
17859
|
function useFilesWorkspace() {
|
|
17860
17860
|
const { workspaceId, userId, live } = chunkNNBL3HPG_cjs.useConnectedWorkspace();
|
|
17861
|
-
const { members, role } =
|
|
17861
|
+
const { members, role } = chunkOGTRUW35_cjs.useConnectedWorkspaceRole();
|
|
17862
17862
|
const { data: workspaces } = react.useWorkspaces({ enabled: live });
|
|
17863
17863
|
const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
|
|
17864
17864
|
return {
|
|
@@ -17922,9 +17922,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
17922
17922
|
for (const tag of workspaceTags ?? []) map.set(tag.external_id, tag.name);
|
|
17923
17923
|
return map;
|
|
17924
17924
|
}, [workspaceTags]);
|
|
17925
|
-
const pendingFolders =
|
|
17926
|
-
const addPendingFolder =
|
|
17927
|
-
const removePendingFolder =
|
|
17925
|
+
const pendingFolders = chunk6NSKIS35_cjs.usePendingFolders(wsId);
|
|
17926
|
+
const addPendingFolder = chunk6NSKIS35_cjs.useFilesStore((state) => state.addPendingFolder);
|
|
17927
|
+
const removePendingFolder = chunk6NSKIS35_cjs.useFilesStore((state) => state.removePendingFolder);
|
|
17928
17928
|
const [editingFolderPath, setEditingFolderPath] = react$1.useState(null);
|
|
17929
17929
|
const isSearching = search.trim().length > 0;
|
|
17930
17930
|
const selectedSet = react$1.useMemo(() => new Set(selectedIds), [selectedIds]);
|
|
@@ -17933,8 +17933,8 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
17933
17933
|
const { folders, files } = react$1.useMemo(() => {
|
|
17934
17934
|
const result = isSearching ? {
|
|
17935
17935
|
folders: [],
|
|
17936
|
-
files:
|
|
17937
|
-
} :
|
|
17936
|
+
files: chunkOKUXM2N4_cjs.searchExplorerDocuments(documents, search, sort)
|
|
17937
|
+
} : chunkOKUXM2N4_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
|
|
17938
17938
|
if (sortReversed) result.files = [...result.files].reverse();
|
|
17939
17939
|
return result;
|
|
17940
17940
|
}, [documents, currentPath, sort, isSearching, search, sortReversed, pendingFolders]);
|
|
@@ -17945,7 +17945,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
17945
17945
|
const orderedFileIds = react$1.useMemo(() => files.map((d) => d.external_id), [files]);
|
|
17946
17946
|
const folderDocs = react$1.useMemo(() => {
|
|
17947
17947
|
const map = /* @__PURE__ */ new Map();
|
|
17948
|
-
for (const f of folders) map.set(f.path.join("/"),
|
|
17948
|
+
for (const f of folders) map.set(f.path.join("/"), chunkOKUXM2N4_cjs.collectFolderDocs(documents, f.path));
|
|
17949
17949
|
return map;
|
|
17950
17950
|
}, [folders, documents]);
|
|
17951
17951
|
const folderSelection = react$1.useMemo(() => {
|
|
@@ -18093,7 +18093,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18093
18093
|
let name = base;
|
|
18094
18094
|
let i = 2;
|
|
18095
18095
|
while (siblings.has(name.toLowerCase())) name = `${base} ${i++}`;
|
|
18096
|
-
const path =
|
|
18096
|
+
const path = chunkOKUXM2N4_cjs.joinFolderPath([...currentPath, name]);
|
|
18097
18097
|
if (!path) return;
|
|
18098
18098
|
addPendingFolder(wsId, path);
|
|
18099
18099
|
setEditingFolderPath(path);
|
|
@@ -18129,10 +18129,10 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18129
18129
|
notify19(`A folder named "${name}" already exists here.`, "error");
|
|
18130
18130
|
return;
|
|
18131
18131
|
}
|
|
18132
|
-
const oldPath =
|
|
18132
|
+
const oldPath = chunkOKUXM2N4_cjs.joinFolderPath(folder.path);
|
|
18133
18133
|
const newPrefix = [...folder.path.slice(0, -1), name];
|
|
18134
|
-
const newPath =
|
|
18135
|
-
const docs =
|
|
18134
|
+
const newPath = chunkOKUXM2N4_cjs.joinFolderPath(newPrefix);
|
|
18135
|
+
const docs = chunkOKUXM2N4_cjs.collectFolderDocs(documents, folder.path);
|
|
18136
18136
|
try {
|
|
18137
18137
|
if (await renameFolder(docs, folder.path, newPrefix) > 0) {
|
|
18138
18138
|
notify19(`Renamed folder to "${name}"`, "success");
|
|
@@ -18191,7 +18191,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18191
18191
|
const handleToggleFolder = react$1.useCallback(
|
|
18192
18192
|
(folder, e) => {
|
|
18193
18193
|
e.stopPropagation();
|
|
18194
|
-
const ids =
|
|
18194
|
+
const ids = chunkOKUXM2N4_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
|
|
18195
18195
|
if (ids.length === 0) return;
|
|
18196
18196
|
if (ids.every((id) => selectedSet.has(id))) {
|
|
18197
18197
|
const remove = new Set(ids);
|
|
@@ -18252,9 +18252,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18252
18252
|
);
|
|
18253
18253
|
const handleDelete = react$1.useCallback(
|
|
18254
18254
|
async (doc) => {
|
|
18255
|
-
const name =
|
|
18255
|
+
const name = chunkOKUXM2N4_cjs.getExplorerDisplayName(doc);
|
|
18256
18256
|
const confirmed = await confirm({
|
|
18257
|
-
message: `Delete "${name}"? ${
|
|
18257
|
+
message: `Delete "${name}"? ${chunkOKUXM2N4_cjs.RECENTLY_DELETED_HINT}`,
|
|
18258
18258
|
title: "Delete file"
|
|
18259
18259
|
});
|
|
18260
18260
|
if (!confirmed) return;
|
|
@@ -18274,7 +18274,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18274
18274
|
);
|
|
18275
18275
|
const handleFolderDownload = react$1.useCallback(
|
|
18276
18276
|
(folder) => {
|
|
18277
|
-
const docs =
|
|
18277
|
+
const docs = chunkOKUXM2N4_cjs.collectFolderDocs(documents, folder.path);
|
|
18278
18278
|
if (docs.length > 0) void downloadDocuments(docs);
|
|
18279
18279
|
},
|
|
18280
18280
|
[documents, downloadDocuments]
|
|
@@ -18283,7 +18283,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18283
18283
|
if (onFolderMove) return onFolderMove;
|
|
18284
18284
|
if (!onMoveSelected) return void 0;
|
|
18285
18285
|
return (folder) => {
|
|
18286
|
-
const ids =
|
|
18286
|
+
const ids = chunkOKUXM2N4_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
|
|
18287
18287
|
if (ids.length === 0) return;
|
|
18288
18288
|
onSelectionChange(ids);
|
|
18289
18289
|
onMoveSelected();
|
|
@@ -18291,14 +18291,14 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18291
18291
|
}, [documents, onFolderMove, onMoveSelected, onSelectionChange]);
|
|
18292
18292
|
const handleFolderDelete = react$1.useCallback(
|
|
18293
18293
|
async (folder) => {
|
|
18294
|
-
const docs =
|
|
18294
|
+
const docs = chunkOKUXM2N4_cjs.collectFolderDocs(documents, folder.path);
|
|
18295
18295
|
if (docs.length === 0) {
|
|
18296
|
-
const path =
|
|
18296
|
+
const path = chunkOKUXM2N4_cjs.joinFolderPath(folder.path);
|
|
18297
18297
|
if (wsId && path) removePendingFolder(wsId, path);
|
|
18298
18298
|
return;
|
|
18299
18299
|
}
|
|
18300
18300
|
const confirmed = await confirm({
|
|
18301
|
-
message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${
|
|
18301
|
+
message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunkOKUXM2N4_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
|
|
18302
18302
|
title: "Delete folder"
|
|
18303
18303
|
});
|
|
18304
18304
|
if (!confirmed) return;
|
|
@@ -18315,8 +18315,8 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18315
18315
|
[confirm, documents, deleteDocuments, onSelectionChange, removePendingFolder, wsId, notify19]
|
|
18316
18316
|
);
|
|
18317
18317
|
const canDeleteFolder = react$1.useCallback(
|
|
18318
|
-
(folder) => canUpload &&
|
|
18319
|
-
(doc) =>
|
|
18318
|
+
(folder) => canUpload && chunkOKUXM2N4_cjs.collectFolderDocs(documents, folder.path).every(
|
|
18319
|
+
(doc) => chunkOKUXM2N4_cjs.canDeleteDocument(doc, userId, role)
|
|
18320
18320
|
),
|
|
18321
18321
|
[canUpload, documents, userId, role]
|
|
18322
18322
|
);
|
|
@@ -18375,7 +18375,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18375
18375
|
setActiveDragId(null);
|
|
18376
18376
|
const data = event.over?.data.current;
|
|
18377
18377
|
if (data?.type === "folder" && data.path) {
|
|
18378
|
-
const targetFolder =
|
|
18378
|
+
const targetFolder = chunkOKUXM2N4_cjs.joinFolderPath(data.path);
|
|
18379
18379
|
const moving = dragIdsRef.current.filter((id) => {
|
|
18380
18380
|
const doc = documents.find((d) => d.external_id === id);
|
|
18381
18381
|
return doc && (doc.folder ?? null) !== targetFolder;
|
|
@@ -18415,7 +18415,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18415
18415
|
const dropped = Array.from(e.dataTransfer.files ?? []);
|
|
18416
18416
|
if (dropped.length > 0) {
|
|
18417
18417
|
e.preventDefault();
|
|
18418
|
-
onUploadFiles(dropped,
|
|
18418
|
+
onUploadFiles(dropped, chunkOKUXM2N4_cjs.joinFolderPath(currentPath));
|
|
18419
18419
|
}
|
|
18420
18420
|
},
|
|
18421
18421
|
[canUpload, currentPath, onUploadFiles]
|
|
@@ -18432,9 +18432,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18432
18432
|
onDragEnd: handleDragEnd,
|
|
18433
18433
|
onDragCancel: () => setActiveDragId(null),
|
|
18434
18434
|
children: [
|
|
18435
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18435
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.ExplorerStage, { children: [
|
|
18436
18436
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18437
|
-
|
|
18437
|
+
chunkOKUXM2N4_cjs.ExplorerScroller,
|
|
18438
18438
|
{
|
|
18439
18439
|
ref: scrollRef,
|
|
18440
18440
|
onClick: handleBackgroundClick,
|
|
@@ -18444,15 +18444,15 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18444
18444
|
onDragLeave: handleNativeDragLeave,
|
|
18445
18445
|
onDrop: handleNativeDrop,
|
|
18446
18446
|
"data-testid": "explorer-scroll",
|
|
18447
|
-
children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
18448
|
-
|
|
18447
|
+
children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
18448
|
+
chunkOKUXM2N4_cjs.ExplorerEmpty,
|
|
18449
18449
|
{
|
|
18450
18450
|
title: isSearching ? `No files match "${search.trim()}"` : "This folder is empty",
|
|
18451
18451
|
description: isSearching ? "Try a different search." : canUpload ? "Drop files here or use Upload to add documents." : "No documents here yet."
|
|
18452
18452
|
}
|
|
18453
18453
|
) : containerWidth === 0 ? (
|
|
18454
18454
|
// Not measured yet: rendering now would flash one stretched column.
|
|
18455
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18455
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ExplorerLoadingTiles, {})
|
|
18456
18456
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
18457
18457
|
"div",
|
|
18458
18458
|
{
|
|
@@ -18482,7 +18482,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18482
18482
|
if (entry.kind === "folder") {
|
|
18483
18483
|
const key = entry.path.join("/");
|
|
18484
18484
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18485
|
-
|
|
18485
|
+
chunkIWLNDDPN_cjs.FolderTile,
|
|
18486
18486
|
{
|
|
18487
18487
|
folder: entry,
|
|
18488
18488
|
density,
|
|
@@ -18505,7 +18505,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18505
18505
|
}
|
|
18506
18506
|
const doc = entry.doc;
|
|
18507
18507
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18508
|
-
|
|
18508
|
+
chunkIWLNDDPN_cjs.FileTile,
|
|
18509
18509
|
{
|
|
18510
18510
|
doc,
|
|
18511
18511
|
density,
|
|
@@ -18513,7 +18513,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18513
18513
|
dragging: activeDragId === doc.external_id,
|
|
18514
18514
|
dndActive: activeDragId !== null,
|
|
18515
18515
|
renaming: renamingId === doc.external_id,
|
|
18516
|
-
canDelete:
|
|
18516
|
+
canDelete: chunkOKUXM2N4_cjs.canDeleteDocument(doc, userId, role),
|
|
18517
18517
|
thumbnailUrl: thumbnailsById.get(doc.external_id),
|
|
18518
18518
|
modifiedBy: userById.get(
|
|
18519
18519
|
doc.updated_by_ext_id ?? doc.created_by_ext_id
|
|
@@ -18542,9 +18542,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18542
18542
|
)
|
|
18543
18543
|
}
|
|
18544
18544
|
),
|
|
18545
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18545
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
|
|
18546
18546
|
isFileDragOver && /* @__PURE__ */ jsxRuntime.jsx(
|
|
18547
|
-
|
|
18547
|
+
chunkOKUXM2N4_cjs.ExplorerDropOverlay,
|
|
18548
18548
|
{
|
|
18549
18549
|
label: `Drop to upload${currentPath.length > 0 ? ` to "${currentPath[currentPath.length - 1]}"` : ""}`
|
|
18550
18550
|
}
|
|
@@ -18558,7 +18558,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
18558
18558
|
function DragPreview({ doc, count: count2 }) {
|
|
18559
18559
|
const Icon = ui.getFileTypeIcon(doc.file_name, { mime: doc.file_type });
|
|
18560
18560
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18561
|
-
|
|
18561
|
+
chunkOKUXM2N4_cjs.ExplorerDragPreview,
|
|
18562
18562
|
{
|
|
18563
18563
|
icon: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 20 }),
|
|
18564
18564
|
title: ui.getDocumentTitle(doc, doc.file_name ?? "Untitled"),
|
|
@@ -18795,11 +18795,11 @@ function ConnectedProjectPage({
|
|
|
18795
18795
|
figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
|
|
18796
18796
|
threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
|
|
18797
18797
|
};
|
|
18798
|
-
const { project, usage, isLoading } =
|
|
18798
|
+
const { project, usage, isLoading } = chunkANYKNLU3_cjs.useProjectSummary(projectId);
|
|
18799
18799
|
const { workspaceId } = chunkNNBL3HPG_cjs.useConnectedWorkspace();
|
|
18800
18800
|
const { notify: notify19 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
|
|
18801
|
-
const selectWorkspace =
|
|
18802
|
-
const workspace = project ?
|
|
18801
|
+
const selectWorkspace = chunkXHN5KOI2_cjs.useSelectWorkspace();
|
|
18802
|
+
const workspace = project ? chunkANYKNLU3_cjs.primaryProjectWorkspace(project) : void 0;
|
|
18803
18803
|
const open = !!workspace && workspace.id === workspaceId;
|
|
18804
18804
|
react$1.useEffect(() => {
|
|
18805
18805
|
if (!workspace || workspace.id === workspaceId) return;
|
|
@@ -21506,10 +21506,10 @@ function ConnectedContactsPanel({
|
|
|
21506
21506
|
function ConnectedConfigForm({ availableModels, ...rest }) {
|
|
21507
21507
|
const hasModels = !!availableModels && availableModels.length > 0;
|
|
21508
21508
|
const renderModelSelect = react$1.useCallback(
|
|
21509
|
-
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
21509
|
+
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkLO4CMUOY_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
|
|
21510
21510
|
[]
|
|
21511
21511
|
);
|
|
21512
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21512
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
|
|
21513
21513
|
}
|
|
21514
21514
|
function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
|
|
21515
21515
|
const { notify: notify19 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
|
|
@@ -21626,7 +21626,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
21626
21626
|
}, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify19]);
|
|
21627
21627
|
if (editAgent) {
|
|
21628
21628
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21629
|
-
|
|
21629
|
+
chunk6A4GNM4T_cjs.AgentEditView,
|
|
21630
21630
|
{
|
|
21631
21631
|
agentName: editAgent.name,
|
|
21632
21632
|
config: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -21642,7 +21642,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
21642
21642
|
}
|
|
21643
21643
|
if (view === "main") {
|
|
21644
21644
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21645
|
-
|
|
21645
|
+
chunk6A4GNM4T_cjs.AgentMainView,
|
|
21646
21646
|
{
|
|
21647
21647
|
onConnectExternal: () => setView("connect"),
|
|
21648
21648
|
config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -21658,11 +21658,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
21658
21658
|
}
|
|
21659
21659
|
if (result) {
|
|
21660
21660
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21661
|
-
|
|
21661
|
+
chunk6A4GNM4T_cjs.AgentCreatedView,
|
|
21662
21662
|
{
|
|
21663
21663
|
email: result.email,
|
|
21664
21664
|
signingKey: result.signingKey,
|
|
21665
|
-
instructions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
21665
|
+
instructions: /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
|
|
21666
21666
|
config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
|
|
21667
21667
|
isConfigOpen: configOpen,
|
|
21668
21668
|
onToggleConfig: () => setConfigOpen((v) => !v),
|
|
@@ -21671,7 +21671,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
21671
21671
|
);
|
|
21672
21672
|
}
|
|
21673
21673
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21674
|
-
|
|
21674
|
+
chunk6A4GNM4T_cjs.AgentCreateView,
|
|
21675
21675
|
{
|
|
21676
21676
|
name,
|
|
21677
21677
|
onNameChange: setName,
|
|
@@ -21866,7 +21866,7 @@ function ConnectedNewThreadDialog({
|
|
|
21866
21866
|
});
|
|
21867
21867
|
const parentOptions = react$1.useMemo(() => {
|
|
21868
21868
|
const leaf = { external_id: "__new__" };
|
|
21869
|
-
return
|
|
21869
|
+
return chunk6A4GNM4T_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
|
|
21870
21870
|
id: t.external_id,
|
|
21871
21871
|
name: t.title?.trim() || "Untitled task"
|
|
21872
21872
|
}));
|
|
@@ -21913,7 +21913,7 @@ function ConnectedNewThreadDialog({
|
|
|
21913
21913
|
}
|
|
21914
21914
|
};
|
|
21915
21915
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21916
|
-
|
|
21916
|
+
chunk6A4GNM4T_cjs.NewThreadDialog,
|
|
21917
21917
|
{
|
|
21918
21918
|
open,
|
|
21919
21919
|
onOpenChange,
|
|
@@ -22091,7 +22091,7 @@ function recentConversations(conversations) {
|
|
|
22091
22091
|
return [...conversations].sort((a, b) => time(b.updated_at) - time(a.updated_at)).slice(0, RECENT_ROWS).map((c) => ({
|
|
22092
22092
|
id: c.external_id,
|
|
22093
22093
|
title: c.title?.trim() || "Untitled thread",
|
|
22094
|
-
subtitle: c.status ? [
|
|
22094
|
+
subtitle: c.status ? [chunk6A4GNM4T_cjs.STATUS_LABELS[chunk6A4GNM4T_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"}`,
|
|
22095
22095
|
time: timeAndDate(c.updated_at)
|
|
22096
22096
|
}));
|
|
22097
22097
|
}
|
|
@@ -22182,7 +22182,7 @@ function DocumentsUploadButton({
|
|
|
22182
22182
|
[hasAccountProviders, onSelectSource, onEmailWorkspace, onCreateNew, onTakePhoto]
|
|
22183
22183
|
);
|
|
22184
22184
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22185
|
-
|
|
22185
|
+
chunkOKUXM2N4_cjs.FilesAddMenu,
|
|
22186
22186
|
{
|
|
22187
22187
|
items,
|
|
22188
22188
|
isCompact,
|
|
@@ -22277,7 +22277,7 @@ function useDashboardAdd({ onCreateNew, onTakePhoto }) {
|
|
|
22277
22277
|
addFiles: () => upload(),
|
|
22278
22278
|
dialogs: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
22279
22279
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22280
|
-
|
|
22280
|
+
chunkOKUXM2N4_cjs.UrlInputDialog,
|
|
22281
22281
|
{
|
|
22282
22282
|
open: urlDialogOpen,
|
|
22283
22283
|
onOpenChange: setUrlDialogOpen,
|
|
@@ -22536,7 +22536,7 @@ var inWorkspace = ({ workspaceId }) => !!workspaceId;
|
|
|
22536
22536
|
var canWrite = ({ isMember, role }) => isMember && role !== "guest";
|
|
22537
22537
|
var notTemporary = ({ isTemporaryAccess }) => !isTemporaryAccess;
|
|
22538
22538
|
function setDocumentSourceFilter(source) {
|
|
22539
|
-
const { documentFilters, setDocumentFilters } =
|
|
22539
|
+
const { documentFilters, setDocumentFilters } = chunk6NSKIS35_cjs.useFilesPrefs.getState();
|
|
22540
22540
|
setDocumentFilters({
|
|
22541
22541
|
...documentFilters,
|
|
22542
22542
|
source_uploaded: source === "uploaded" ? "include" : null,
|
|
@@ -22548,9 +22548,9 @@ function createBuiltinActions(environment, session) {
|
|
|
22548
22548
|
const startWorkflowOnDocuments = (workflowId) => {
|
|
22549
22549
|
const { viewingDocument, selectedDocumentIds } = session.getState();
|
|
22550
22550
|
const documents = viewingDocument ? [viewingDocument.id] : [...selectedDocumentIds];
|
|
22551
|
-
|
|
22551
|
+
chunk6A4GNM4T_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
|
|
22552
22552
|
};
|
|
22553
|
-
const setFilesView = (mode) => () =>
|
|
22553
|
+
const setFilesView = (mode) => () => chunk6NSKIS35_cjs.useFilesPrefs.getState().setViewMode(mode);
|
|
22554
22554
|
const actions = [
|
|
22555
22555
|
{
|
|
22556
22556
|
id: "goto-user-settings",
|
|
@@ -22605,7 +22605,7 @@ function createBuiltinActions(environment, session) {
|
|
|
22605
22605
|
icon: "Files",
|
|
22606
22606
|
keywords: ["download", "csv", "excel"],
|
|
22607
22607
|
available: inWorkspace,
|
|
22608
|
-
run: () =>
|
|
22608
|
+
run: () => chunk6NSKIS35_cjs.useFilesDialogs.getState().setExportOpen(true)
|
|
22609
22609
|
},
|
|
22610
22610
|
{
|
|
22611
22611
|
id: "bulk-tag-documents",
|
|
@@ -22614,7 +22614,7 @@ function createBuiltinActions(environment, session) {
|
|
|
22614
22614
|
icon: "Tags",
|
|
22615
22615
|
keywords: ["labels", "categorize", "bulk tag"],
|
|
22616
22616
|
available: inWorkspace,
|
|
22617
|
-
run: () =>
|
|
22617
|
+
run: () => chunk6NSKIS35_cjs.useFilesDialogs.getState().setBulkTagsOpen(true)
|
|
22618
22618
|
},
|
|
22619
22619
|
{
|
|
22620
22620
|
id: "move-to-folder",
|
|
@@ -22623,7 +22623,7 @@ function createBuiltinActions(environment, session) {
|
|
|
22623
22623
|
icon: "FolderInput",
|
|
22624
22624
|
keywords: ["organize", "relocate"],
|
|
22625
22625
|
available: inWorkspace,
|
|
22626
|
-
run: () =>
|
|
22626
|
+
run: () => chunk6NSKIS35_cjs.useFilesDialogs.getState().openMove()
|
|
22627
22627
|
},
|
|
22628
22628
|
{
|
|
22629
22629
|
id: "ai-review-documents",
|
|
@@ -22632,7 +22632,7 @@ function createBuiltinActions(environment, session) {
|
|
|
22632
22632
|
icon: "Sparkles",
|
|
22633
22633
|
keywords: ["auto tag", "analyze", "suggest tags"],
|
|
22634
22634
|
available: inWorkspace,
|
|
22635
|
-
run: () =>
|
|
22635
|
+
run: () => chunk6NSKIS35_cjs.useAiReviewStore.getState().setOpen(true)
|
|
22636
22636
|
},
|
|
22637
22637
|
{
|
|
22638
22638
|
id: "docs-grid-view",
|
|
@@ -23096,7 +23096,7 @@ function ConnectedRemoteControlConsent() {
|
|
|
23096
23096
|
}
|
|
23097
23097
|
function ConsentPrompt() {
|
|
23098
23098
|
const pending = react.useRemoteControl((s) => s.pending);
|
|
23099
|
-
const remote =
|
|
23099
|
+
const remote = chunkLO4CMUOY_cjs.useRemoteControlActions();
|
|
23100
23100
|
const onceRef = react$1.useRef(null);
|
|
23101
23101
|
chunkORELHENJ_cjs.useMountedSurface("consent");
|
|
23102
23102
|
const handleOpenChange = (next) => {
|
|
@@ -23187,7 +23187,7 @@ function ConnectedRemoteControlIndicator() {
|
|
|
23187
23187
|
function Indicator() {
|
|
23188
23188
|
const enabled = react.useRemoteControl((s) => s.enabled);
|
|
23189
23189
|
const controllingAgent = react.useRemoteControl((s) => s.controllingAgent);
|
|
23190
|
-
const remote =
|
|
23190
|
+
const remote = chunkLO4CMUOY_cjs.useRemoteControlActions();
|
|
23191
23191
|
if (!enabled && !controllingAgent) return null;
|
|
23192
23192
|
const isActive = controllingAgent !== null;
|
|
23193
23193
|
const label = isActive ? `${controllingAgent.name} is controlling your screen` : "Remote control on";
|
|
@@ -23224,7 +23224,7 @@ function AddFromAccountsButton({
|
|
|
23224
23224
|
className: "gap-2",
|
|
23225
23225
|
"data-testid": dataTestId,
|
|
23226
23226
|
children: [
|
|
23227
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
23227
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
|
|
23228
23228
|
"Add from accounts"
|
|
23229
23229
|
]
|
|
23230
23230
|
}
|
|
@@ -23308,7 +23308,7 @@ function ConnectedUploadDropzone({
|
|
|
23308
23308
|
const onFiles = browse(fileInputRef);
|
|
23309
23309
|
const onFolder = browse(folderInputRef);
|
|
23310
23310
|
const dropTarget = /* @__PURE__ */ jsxRuntime.jsx(
|
|
23311
|
-
|
|
23311
|
+
chunkOKUXM2N4_cjs.UploadDropArea,
|
|
23312
23312
|
{
|
|
23313
23313
|
isActive: dragActive,
|
|
23314
23314
|
isDisabled: disabled,
|
|
@@ -23322,11 +23322,11 @@ function ConnectedUploadDropzone({
|
|
|
23322
23322
|
onClick: (e) => {
|
|
23323
23323
|
if (e.target === e.currentTarget) onFiles();
|
|
23324
23324
|
},
|
|
23325
|
-
actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
23325
|
+
actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
|
|
23326
23326
|
}
|
|
23327
23327
|
);
|
|
23328
23328
|
const urlDialog = (trigger) => onUrlsSubmit ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
23329
|
-
|
|
23329
|
+
chunkOKUXM2N4_cjs.UrlInputDialog,
|
|
23330
23330
|
{
|
|
23331
23331
|
onUrlsSubmit,
|
|
23332
23332
|
processing: disabled,
|
|
@@ -23339,12 +23339,12 @@ function ConnectedUploadDropzone({
|
|
|
23339
23339
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
23340
23340
|
dropTarget,
|
|
23341
23341
|
compactLeadingAction,
|
|
23342
|
-
onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(
|
|
23342
|
+
onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
|
|
23343
23343
|
] });
|
|
23344
23344
|
}
|
|
23345
23345
|
if (!source) {
|
|
23346
23346
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23347
|
-
|
|
23347
|
+
chunkOKUXM2N4_cjs.UploadSourcePicker,
|
|
23348
23348
|
{
|
|
23349
23349
|
isDisabled: disabled,
|
|
23350
23350
|
options: [
|
|
@@ -23380,14 +23380,14 @@ function ConnectedUploadDropzone({
|
|
|
23380
23380
|
}
|
|
23381
23381
|
if (source === "computer") {
|
|
23382
23382
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
23383
|
-
|
|
23383
|
+
chunkOKUXM2N4_cjs.UploadSourceSection,
|
|
23384
23384
|
{
|
|
23385
23385
|
testId: "upload-source-computer",
|
|
23386
23386
|
className: "flex w-full flex-col gap-3 pointer-coarse:flex-col-reverse",
|
|
23387
23387
|
children: [
|
|
23388
23388
|
dropTarget,
|
|
23389
23389
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23390
|
-
|
|
23390
|
+
chunkOKUXM2N4_cjs.UploadBrowseButtons,
|
|
23391
23391
|
{
|
|
23392
23392
|
layout: "grid",
|
|
23393
23393
|
onFiles,
|
|
@@ -23400,15 +23400,15 @@ function ConnectedUploadDropzone({
|
|
|
23400
23400
|
);
|
|
23401
23401
|
}
|
|
23402
23402
|
if (source === "internet" && onUrlsSubmit) {
|
|
23403
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23403
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
|
|
23404
23404
|
}
|
|
23405
23405
|
if (source === "email" && accounts) {
|
|
23406
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23406
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
|
|
23407
23407
|
}
|
|
23408
23408
|
return null;
|
|
23409
23409
|
})();
|
|
23410
23410
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
23411
|
-
|
|
23411
|
+
chunkOKUXM2N4_cjs.UploadFrame,
|
|
23412
23412
|
{
|
|
23413
23413
|
isCompact: compact,
|
|
23414
23414
|
isDimmed: disabled || processingMessage !== null,
|
|
@@ -23469,7 +23469,7 @@ function EmptyWorkspaceUpload({
|
|
|
23469
23469
|
compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
|
|
23470
23470
|
}
|
|
23471
23471
|
),
|
|
23472
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23472
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.PrivacyExplainerModal, {})
|
|
23473
23473
|
] })
|
|
23474
23474
|
}
|
|
23475
23475
|
);
|
|
@@ -23576,9 +23576,9 @@ function useDocumentFilters({
|
|
|
23576
23576
|
const { data: members = [] } = react.useWorkspaceUsers();
|
|
23577
23577
|
const user = members.find((m) => m.user.external_id === currentUserId)?.user;
|
|
23578
23578
|
const offlineIds = react.useOfflineDocumentIds();
|
|
23579
|
-
const pendingFolders =
|
|
23580
|
-
const persistedDocumentFilters =
|
|
23581
|
-
const setPersistedDocumentFilters =
|
|
23579
|
+
const pendingFolders = chunk6NSKIS35_cjs.usePendingFolders(selectedWorkspaceId);
|
|
23580
|
+
const persistedDocumentFilters = chunk6NSKIS35_cjs.useFilesPrefs((state) => state.documentFilters);
|
|
23581
|
+
const setPersistedDocumentFilters = chunk6NSKIS35_cjs.useFilesPrefs((state) => state.setDocumentFilters);
|
|
23582
23582
|
const folderTree = react$1.useMemo(() => {
|
|
23583
23583
|
const allPaths = /* @__PURE__ */ new Set();
|
|
23584
23584
|
let hasUnfiled = false;
|
|
@@ -23799,7 +23799,7 @@ function useDocumentFilters({
|
|
|
23799
23799
|
{
|
|
23800
23800
|
id: "uploaded_by_me",
|
|
23801
23801
|
label: "Uploaded by me",
|
|
23802
|
-
icon: user ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
23802
|
+
icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkIWLNDDPN_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
|
|
23803
23803
|
count: docs.filter((doc) => doc.created_by_ext_id === currentUserId).length
|
|
23804
23804
|
},
|
|
23805
23805
|
{
|
|
@@ -23920,7 +23920,7 @@ function useDocumentFilters({
|
|
|
23920
23920
|
const folderPath = react$1.useMemo(() => {
|
|
23921
23921
|
for (const [key, state] of documentFilters) {
|
|
23922
23922
|
if (key.startsWith("folder:") && key !== "folder:none" && state === "include") {
|
|
23923
|
-
return
|
|
23923
|
+
return chunkOKUXM2N4_cjs.parseFolderSegments(key.slice("folder:".length));
|
|
23924
23924
|
}
|
|
23925
23925
|
}
|
|
23926
23926
|
return [];
|
|
@@ -23929,7 +23929,7 @@ function useDocumentFilters({
|
|
|
23929
23929
|
(path) => {
|
|
23930
23930
|
const next = new Map(documentFilters);
|
|
23931
23931
|
for (const key of next.keys()) if (key.startsWith("folder:")) next.set(key, null);
|
|
23932
|
-
const joined =
|
|
23932
|
+
const joined = chunkOKUXM2N4_cjs.joinFolderPath(path);
|
|
23933
23933
|
if (joined) next.set(`folder:${joined}`, "include");
|
|
23934
23934
|
setDocumentFilters(next);
|
|
23935
23935
|
},
|
|
@@ -26481,7 +26481,7 @@ function ConnectedMailbox({
|
|
|
26481
26481
|
onTabChange: () => {
|
|
26482
26482
|
},
|
|
26483
26483
|
compactBreakpoint: 360,
|
|
26484
|
-
firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
26484
|
+
firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FilesFilterBar, { children: [
|
|
26485
26485
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
26486
26486
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
26487
26487
|
{
|
|
@@ -26516,7 +26516,7 @@ function ConnectedMailbox({
|
|
|
26516
26516
|
}
|
|
26517
26517
|
),
|
|
26518
26518
|
folderList && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 items-center gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
26519
|
-
|
|
26519
|
+
chunkOKUXM2N4_cjs.FolderFilterButton,
|
|
26520
26520
|
{
|
|
26521
26521
|
label: folderList.find((f) => f.id === folderId)?.name ?? "Folders",
|
|
26522
26522
|
isActive: false,
|
|
@@ -26524,7 +26524,7 @@ function ConnectedMailbox({
|
|
|
26524
26524
|
onOpenChange: setFolderMenuOpen,
|
|
26525
26525
|
testId: "mail-folder-button",
|
|
26526
26526
|
children: folderList.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
26527
|
-
|
|
26527
|
+
chunkOKUXM2N4_cjs.FolderPickerRow,
|
|
26528
26528
|
{
|
|
26529
26529
|
label: item.name,
|
|
26530
26530
|
count: item.unread > 0 ? item.unread : void 0,
|
|
@@ -27038,7 +27038,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
27038
27038
|
}) {
|
|
27039
27039
|
const authenticated = react.useArbiSession().status === "signed-in";
|
|
27040
27040
|
const { openMail } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
|
|
27041
|
-
const { loading } =
|
|
27041
|
+
const { loading } = chunkLO4CMUOY_cjs.useAuthPages();
|
|
27042
27042
|
const claim = react.useClaimSecureMail();
|
|
27043
27043
|
const [, setFirstLoginWorkspaces] = react.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
|
|
27044
27044
|
const [failure, setFailure] = react$1.useState(null);
|
|
@@ -27078,7 +27078,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
27078
27078
|
}
|
|
27079
27079
|
})();
|
|
27080
27080
|
}, [authenticated, claimId, key]);
|
|
27081
|
-
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
27081
|
+
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkO27K7KTZ_cjs.LoadingIndicator, { variant: "splash" }) });
|
|
27082
27082
|
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: [
|
|
27083
27083
|
/* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
|
|
27084
27084
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -30233,7 +30233,7 @@ function ProcessingSettingsFooter({
|
|
|
30233
30233
|
[configField]
|
|
30234
30234
|
);
|
|
30235
30235
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30236
|
-
|
|
30236
|
+
chunkOKUXM2N4_cjs.UploadFooterBar,
|
|
30237
30237
|
{
|
|
30238
30238
|
skipDuplicates,
|
|
30239
30239
|
onSkipDuplicatesChange: (value) => handleConfigChange("Parser", "SKIP_DUPLICATES", value),
|
|
@@ -30242,7 +30242,7 @@ function ProcessingSettingsFooter({
|
|
|
30242
30242
|
autoRenameInstruction,
|
|
30243
30243
|
onAutoRenameInstructionChange: (value) => handleConfigChange("DoctagLLM", "AUTO_RENAME_INSTRUCTION", value),
|
|
30244
30244
|
shareToggle: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30245
|
-
|
|
30245
|
+
chunkOKUXM2N4_cjs.ShareToggle,
|
|
30246
30246
|
{
|
|
30247
30247
|
isVisible: isShared,
|
|
30248
30248
|
onToggle: onSharedChange,
|
|
@@ -30419,7 +30419,7 @@ ${summary}`,
|
|
|
30419
30419
|
}
|
|
30420
30420
|
);
|
|
30421
30421
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-0 flex-1 flex-col", "data-testid": "upload-documents", children: [
|
|
30422
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30422
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
|
|
30423
30423
|
files.length === 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
30424
30424
|
ConnectedUploadDropzone,
|
|
30425
30425
|
{
|
|
@@ -30435,7 +30435,7 @@ ${summary}`,
|
|
|
30435
30435
|
}
|
|
30436
30436
|
),
|
|
30437
30437
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30438
|
-
|
|
30438
|
+
chunkOKUXM2N4_cjs.SelectedFilesList,
|
|
30439
30439
|
{
|
|
30440
30440
|
renderFileIcon,
|
|
30441
30441
|
files,
|
|
@@ -30444,10 +30444,10 @@ ${summary}`,
|
|
|
30444
30444
|
formatFileSize: formatFileSize4
|
|
30445
30445
|
}
|
|
30446
30446
|
),
|
|
30447
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30448
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
30449
|
-
] }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
30450
|
-
|
|
30447
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
|
|
30448
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadErrorMessage, { message: error })
|
|
30449
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30450
|
+
chunkOKUXM2N4_cjs.UploadProgress,
|
|
30451
30451
|
{
|
|
30452
30452
|
fileCount: count2,
|
|
30453
30453
|
entityLabel: plural5(count2),
|
|
@@ -30609,14 +30609,14 @@ function NativeMailImportSection({
|
|
|
30609
30609
|
),
|
|
30610
30610
|
onError: (e) => notify19(e instanceof Error ? e.message : "Could not add mail", "error")
|
|
30611
30611
|
});
|
|
30612
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30613
|
-
|
|
30612
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ImportFamilySection, { label: "Mail", identity: native.email, testId: "import-family-native", children: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ImportList, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30613
|
+
chunkOKUXM2N4_cjs.ImportRow,
|
|
30614
30614
|
{
|
|
30615
30615
|
testId: "email-provider-row-native",
|
|
30616
30616
|
logo: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mail, { className: "h-7 w-7 text-primary", "aria-hidden": "true" }),
|
|
30617
30617
|
name: NATIVE_MAILBOX_SOURCE.display_name,
|
|
30618
30618
|
actions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30619
|
-
|
|
30619
|
+
chunkOKUXM2N4_cjs.ImportRunActions,
|
|
30620
30620
|
{
|
|
30621
30621
|
isRunning: false,
|
|
30622
30622
|
isBusy: fileNow.isPending,
|
|
@@ -30630,10 +30630,10 @@ function NativeMailImportSection({
|
|
|
30630
30630
|
),
|
|
30631
30631
|
children: [
|
|
30632
30632
|
here && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30633
|
-
|
|
30633
|
+
chunkOKUXM2N4_cjs.ImportSummary,
|
|
30634
30634
|
{
|
|
30635
|
-
aside: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30636
|
-
|
|
30635
|
+
aside: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ImportAside, { children: here.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
30636
|
+
chunkOKUXM2N4_cjs.FolderSummary,
|
|
30637
30637
|
{
|
|
30638
30638
|
names: here.folders.map(
|
|
30639
30639
|
(id) => NATIVE_MAILBOX_FOLDERS.find((f) => f.id === id)?.name
|
|
@@ -30675,7 +30675,7 @@ var PROVIDER_FAMILIES = [
|
|
|
30675
30675
|
{ key: "google", label: "Google", vendors: ["gmail"] }
|
|
30676
30676
|
];
|
|
30677
30677
|
function VendorGlyph({ catalog }) {
|
|
30678
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30678
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
|
|
30679
30679
|
}
|
|
30680
30680
|
function mailboxProductName(catalog) {
|
|
30681
30681
|
if (catalog.vendor_key === "microsoft") return "Outlook";
|
|
@@ -30743,7 +30743,7 @@ function EmailProviderRow({
|
|
|
30743
30743
|
const emailNoun = (n) => n === 1 ? "email" : "emails";
|
|
30744
30744
|
const syncedCount = thisSync?.synced_count ?? 0;
|
|
30745
30745
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30746
|
-
|
|
30746
|
+
chunkOKUXM2N4_cjs.ImportRow,
|
|
30747
30747
|
{
|
|
30748
30748
|
testId: `email-provider-row-${catalog.vendor_key}`,
|
|
30749
30749
|
logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph, { catalog }),
|
|
@@ -30752,7 +30752,7 @@ function EmailProviderRow({
|
|
|
30752
30752
|
// Connecting AND reconnecting are owned by the family header, so a
|
|
30753
30753
|
// not-connected or needs-reconnect row shows no button of its own.
|
|
30754
30754
|
!isConnected || needsReconnect ? null : /* @__PURE__ */ jsxRuntime.jsx(
|
|
30755
|
-
|
|
30755
|
+
chunkOKUXM2N4_cjs.ImportRunActions,
|
|
30756
30756
|
{
|
|
30757
30757
|
isRunning: running,
|
|
30758
30758
|
isStopping: cancelSync.isPending,
|
|
@@ -30768,10 +30768,10 @@ function EmailProviderRow({
|
|
|
30768
30768
|
),
|
|
30769
30769
|
children: [
|
|
30770
30770
|
isConnected && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30771
|
-
|
|
30771
|
+
chunkOKUXM2N4_cjs.ImportSummary,
|
|
30772
30772
|
{
|
|
30773
|
-
aside: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30774
|
-
|
|
30773
|
+
aside: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
30774
|
+
chunkOKUXM2N4_cjs.FolderSummary,
|
|
30775
30775
|
{
|
|
30776
30776
|
names: thisSync.folders.map(
|
|
30777
30777
|
(id) => mailboxFolders?.find((f) => f.id === id)?.name
|
|
@@ -30795,7 +30795,7 @@ function EmailProviderRow({
|
|
|
30795
30795
|
}
|
|
30796
30796
|
),
|
|
30797
30797
|
running && /* @__PURE__ */ jsxRuntime.jsx(
|
|
30798
|
-
|
|
30798
|
+
chunkOKUXM2N4_cjs.ImportProgress,
|
|
30799
30799
|
{
|
|
30800
30800
|
processed: progress?.processed ?? 0,
|
|
30801
30801
|
total: progress?.total,
|
|
@@ -30913,11 +30913,11 @@ function EmailImportPanel({
|
|
|
30913
30913
|
return { family, entries, extra, identity, connectVendor, connected, needsReconnect };
|
|
30914
30914
|
}).filter((g) => g.entries.length > 0 || g.extra);
|
|
30915
30915
|
if (!ownMailbox && groups.length === 0) return null;
|
|
30916
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30916
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.ImportPanel, { "data-testid": "email-import-panel", children: [
|
|
30917
30917
|
ownMailbox && /* @__PURE__ */ jsxRuntime.jsx(NativeMailImportSection, { workspaceExtId, native: ownMailbox }),
|
|
30918
30918
|
groups.map(
|
|
30919
30919
|
({ family, entries, extra, identity, connectVendor, connected, needsReconnect }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
30920
|
-
|
|
30920
|
+
chunkOKUXM2N4_cjs.ImportFamilySection,
|
|
30921
30921
|
{
|
|
30922
30922
|
label: family.label,
|
|
30923
30923
|
identity,
|
|
@@ -30926,7 +30926,7 @@ function EmailImportPanel({
|
|
|
30926
30926
|
onAction: () => void (!connected ? connectFamily(connectVendor) : needsReconnect ? reconnectFamily(connectVendor) : disconnectFamily(family, connectVendor, identity)),
|
|
30927
30927
|
testId: `import-family-${family.key}`,
|
|
30928
30928
|
actionButton: !connected ? { testId: `import-family-connect-${family.key}` } : needsReconnect ? { testId: `import-family-reconnect-${family.key}` } : { testId: `import-family-disconnect-${family.key}` },
|
|
30929
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30929
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.ImportList, { children: [
|
|
30930
30930
|
entries.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
30931
30931
|
EmailProviderRow,
|
|
30932
30932
|
{
|
|
@@ -31011,7 +31011,7 @@ function driveProduct(vendorKey) {
|
|
|
31011
31011
|
}
|
|
31012
31012
|
function VendorGlyph2({ catalog }) {
|
|
31013
31013
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31014
|
-
|
|
31014
|
+
chunkOKUXM2N4_cjs.VendorLogo,
|
|
31015
31015
|
{
|
|
31016
31016
|
vendorKey: catalog.vendor_key,
|
|
31017
31017
|
product: driveProduct(catalog.vendor_key).glyph,
|
|
@@ -31134,7 +31134,7 @@ function OneDriveProviderRow({
|
|
|
31134
31134
|
const driveNoun = (n) => n === 1 ? "document" : "documents";
|
|
31135
31135
|
const showRunActions = isConnected && !needsReconnect;
|
|
31136
31136
|
const reconnectAction = ownsAuth && needsReconnect ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
31137
|
-
|
|
31137
|
+
chunkOKUXM2N4_cjs.ImportActionButton,
|
|
31138
31138
|
{
|
|
31139
31139
|
onClick: () => void reconnectSelf(),
|
|
31140
31140
|
disabled: reauthPending,
|
|
@@ -31143,7 +31143,7 @@ function OneDriveProviderRow({
|
|
|
31143
31143
|
}
|
|
31144
31144
|
) : null;
|
|
31145
31145
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31146
|
-
|
|
31146
|
+
chunkOKUXM2N4_cjs.ImportRow,
|
|
31147
31147
|
{
|
|
31148
31148
|
testId: `onedrive-provider-row-${catalog.vendor_key}`,
|
|
31149
31149
|
logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph2, { catalog }),
|
|
@@ -31155,7 +31155,7 @@ function OneDriveProviderRow({
|
|
|
31155
31155
|
// Until folders are configured here (or when nothing new is pending), Import now
|
|
31156
31156
|
// stays disabled; the gear opens the folder picker.
|
|
31157
31157
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31158
|
-
|
|
31158
|
+
chunkOKUXM2N4_cjs.ImportRunActions,
|
|
31159
31159
|
{
|
|
31160
31160
|
isRunning: running,
|
|
31161
31161
|
isStopping: cancelSync.isPending,
|
|
@@ -31174,16 +31174,16 @@ function OneDriveProviderRow({
|
|
|
31174
31174
|
) : reconnectAction
|
|
31175
31175
|
),
|
|
31176
31176
|
children: [
|
|
31177
|
-
ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31177
|
+
ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
|
|
31178
31178
|
"Couldn\u2019t reach SharePoint. Click ",
|
|
31179
31179
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: "Reconnect" }),
|
|
31180
31180
|
" \u2014 if it keeps happening, log out and back in to refresh the connection."
|
|
31181
31181
|
] }),
|
|
31182
31182
|
configuredHere && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31183
|
-
|
|
31183
|
+
chunkOKUXM2N4_cjs.ImportSummary,
|
|
31184
31184
|
{
|
|
31185
31185
|
className: "mt-2",
|
|
31186
|
-
aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
31186
|
+
aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ImportAside, { className: "max-w-none shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { "data-testid": `drive-pending-${catalog.vendor_key}`, children: pendingCount > 0 ? `${pendingCount.toLocaleString()} new ${driveNoun(pendingCount)} to sync` : "No new documents to sync" }) }) : void 0,
|
|
31187
31187
|
children: [
|
|
31188
31188
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
31189
31189
|
"Syncing ",
|
|
@@ -31211,7 +31211,7 @@ function OneDriveProviderRow({
|
|
|
31211
31211
|
}
|
|
31212
31212
|
),
|
|
31213
31213
|
running && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31214
|
-
|
|
31214
|
+
chunkOKUXM2N4_cjs.ImportProgress,
|
|
31215
31215
|
{
|
|
31216
31216
|
processed: progress?.processed ?? 0,
|
|
31217
31217
|
total: progress?.total,
|
|
@@ -31275,13 +31275,13 @@ function SharePointEnableRow({
|
|
|
31275
31275
|
}
|
|
31276
31276
|
};
|
|
31277
31277
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31278
|
-
|
|
31278
|
+
chunkOKUXM2N4_cjs.ImportRow,
|
|
31279
31279
|
{
|
|
31280
31280
|
testId: `onedrive-provider-row-${catalog.vendor_key}`,
|
|
31281
|
-
logo: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31281
|
+
logo: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
|
|
31282
31282
|
name: product.name,
|
|
31283
31283
|
actions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31284
|
-
|
|
31284
|
+
chunkOKUXM2N4_cjs.ImportActionButton,
|
|
31285
31285
|
{
|
|
31286
31286
|
onClick: () => void enable(),
|
|
31287
31287
|
disabled: pending,
|
|
@@ -31289,7 +31289,7 @@ function SharePointEnableRow({
|
|
|
31289
31289
|
children: pending ? "Enabling\u2026" : `Enable ${product.name}`
|
|
31290
31290
|
}
|
|
31291
31291
|
),
|
|
31292
|
-
children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31292
|
+
children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.ImportHint, { children: [
|
|
31293
31293
|
"Does your organization require admin approval?",
|
|
31294
31294
|
" ",
|
|
31295
31295
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -31338,11 +31338,11 @@ function DriveImportPanel({
|
|
|
31338
31338
|
}
|
|
31339
31339
|
const product = driveProduct(entry.vendor_key);
|
|
31340
31340
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31341
|
-
|
|
31341
|
+
chunkOKUXM2N4_cjs.ImportRow,
|
|
31342
31342
|
{
|
|
31343
31343
|
testId: `onedrive-provider-row-${entry.vendor_key}`,
|
|
31344
31344
|
logo: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31345
|
-
|
|
31345
|
+
chunkOKUXM2N4_cjs.VendorLogo,
|
|
31346
31346
|
{
|
|
31347
31347
|
vendorKey: entry.vendor_key,
|
|
31348
31348
|
product: product.glyph,
|
|
@@ -31367,7 +31367,7 @@ function DriveImportPanel({
|
|
|
31367
31367
|
);
|
|
31368
31368
|
}).filter(Boolean);
|
|
31369
31369
|
if (rows.length === 0) return null;
|
|
31370
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31370
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
|
|
31371
31371
|
}
|
|
31372
31372
|
function useHasAccountsImport() {
|
|
31373
31373
|
const isVendorVisible = react.useConnectorVendorVisibility();
|
|
@@ -31576,7 +31576,7 @@ function DocumentNameCellRenderer(params) {
|
|
|
31576
31576
|
if (!doc) return null;
|
|
31577
31577
|
const context = params.context;
|
|
31578
31578
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31579
|
-
|
|
31579
|
+
chunkIWLNDDPN_cjs.DocumentNameCell,
|
|
31580
31580
|
{
|
|
31581
31581
|
doc,
|
|
31582
31582
|
canEdit: canEdit(params),
|
|
@@ -31594,7 +31594,7 @@ function DocumentNameCellRenderer(params) {
|
|
|
31594
31594
|
function SharedCellRenderer(params) {
|
|
31595
31595
|
if (!params.data) return null;
|
|
31596
31596
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31597
|
-
|
|
31597
|
+
chunkIWLNDDPN_cjs.DocumentSharedCell,
|
|
31598
31598
|
{
|
|
31599
31599
|
document: params.data,
|
|
31600
31600
|
disabled: !params.canToggle(params),
|
|
@@ -31607,7 +31607,7 @@ function StatusCellRenderer(params) {
|
|
|
31607
31607
|
if (!params.data) return null;
|
|
31608
31608
|
const context = params.context;
|
|
31609
31609
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31610
|
-
|
|
31610
|
+
chunkIWLNDDPN_cjs.StatusCell,
|
|
31611
31611
|
{
|
|
31612
31612
|
doc: params.data,
|
|
31613
31613
|
onStatusClick: params.onStatusClick,
|
|
@@ -31619,7 +31619,7 @@ function LabelsCellRenderer(params) {
|
|
|
31619
31619
|
if (!params.data) return null;
|
|
31620
31620
|
const context = params.context;
|
|
31621
31621
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31622
|
-
|
|
31622
|
+
chunkIWLNDDPN_cjs.DocumentLabelsCell,
|
|
31623
31623
|
{
|
|
31624
31624
|
doc: params.data,
|
|
31625
31625
|
labels: params.labels,
|
|
@@ -31639,7 +31639,7 @@ function RelatedDocsCellRenderer(params) {
|
|
|
31639
31639
|
if (!related || react.getRelatedTotal(related) === 0) return null;
|
|
31640
31640
|
const { onOpenDocument, onDeleteDocument } = params;
|
|
31641
31641
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31642
|
-
|
|
31642
|
+
chunkIWLNDDPN_cjs.RelatedDocumentsCell,
|
|
31643
31643
|
{
|
|
31644
31644
|
currentDoc: params.data,
|
|
31645
31645
|
related,
|
|
@@ -31654,7 +31654,7 @@ function FolderCellRenderer(params) {
|
|
|
31654
31654
|
if (!params.data) return null;
|
|
31655
31655
|
const context = params.context;
|
|
31656
31656
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31657
|
-
|
|
31657
|
+
chunkIWLNDDPN_cjs.DocumentFolderCell,
|
|
31658
31658
|
{
|
|
31659
31659
|
document: params.data,
|
|
31660
31660
|
isEditable: params.canEdit(params),
|
|
@@ -31668,7 +31668,7 @@ function CreatedByCellRenderer(params) {
|
|
|
31668
31668
|
const context = params.context;
|
|
31669
31669
|
const creator = context?.getWorkspaceUsers?.().find((u) => u.external_id === params.data.created_by_ext_id);
|
|
31670
31670
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31671
|
-
|
|
31671
|
+
chunkIWLNDDPN_cjs.UserAvatar,
|
|
31672
31672
|
{
|
|
31673
31673
|
user: creator,
|
|
31674
31674
|
isMe: !!creator && creator.external_id === context?.getCurrentUserId?.(),
|
|
@@ -31681,7 +31681,7 @@ function CheckboxCellRenderer(params) {
|
|
|
31681
31681
|
if (!params.data) return null;
|
|
31682
31682
|
const isChecked = params.value === true;
|
|
31683
31683
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31684
|
-
|
|
31684
|
+
chunkOKUXM2N4_cjs.CheckboxCell,
|
|
31685
31685
|
{
|
|
31686
31686
|
isChecked,
|
|
31687
31687
|
color: tagColor,
|
|
@@ -31701,13 +31701,13 @@ function TagHeaderComponent(params) {
|
|
|
31701
31701
|
return () => params.column.removeEventListener("sortChanged", updateSort);
|
|
31702
31702
|
}, [params.column]);
|
|
31703
31703
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31704
|
-
|
|
31704
|
+
chunkOKUXM2N4_cjs.TagColumnHeader,
|
|
31705
31705
|
{
|
|
31706
31706
|
isCentered: isCheckbox,
|
|
31707
31707
|
sort,
|
|
31708
31708
|
onSort: params.enableSorting ? (additive) => params.progressSort(additive) : void 0,
|
|
31709
|
-
filter: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31710
|
-
label: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31709
|
+
filter: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FilterButton, { params, colId: tag.external_id }),
|
|
31710
|
+
label: /* @__PURE__ */ jsxRuntime.jsx(chunkVULH3XAJ_cjs.ConnectedTagEntity, { tag, size: "sm" })
|
|
31711
31711
|
}
|
|
31712
31712
|
);
|
|
31713
31713
|
}
|
|
@@ -31792,7 +31792,7 @@ function createTagColumn({
|
|
|
31792
31792
|
tagColor,
|
|
31793
31793
|
isMember
|
|
31794
31794
|
} : void 0,
|
|
31795
|
-
cellEditor: isSelect ?
|
|
31795
|
+
cellEditor: isSelect ? chunkOKUXM2N4_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
|
|
31796
31796
|
cellEditorParams: isSelect ? createMultiSelectCellEditorParams(tag.tag_type.options || []) : isText ? { rows: 8, cols: 50 } : void 0,
|
|
31797
31797
|
cellEditorPopup: isText || isSelect,
|
|
31798
31798
|
// Text and Select tags use popup editor for better UX
|
|
@@ -31912,8 +31912,8 @@ function createDocumentColumns({
|
|
|
31912
31912
|
onToggleShared,
|
|
31913
31913
|
notify: notify19
|
|
31914
31914
|
}) {
|
|
31915
|
-
const isRowEditableByOwner = (params) =>
|
|
31916
|
-
const isRowEditableByMember = (params) =>
|
|
31915
|
+
const isRowEditableByOwner = (params) => chunkOKUXM2N4_cjs.canChangeVisibility(params.data, currentUserExtId);
|
|
31916
|
+
const isRowEditableByMember = (params) => chunkOKUXM2N4_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
|
|
31917
31917
|
const checkboxTags = availableTags.filter(browser.isLabelTag);
|
|
31918
31918
|
const allColumns = [];
|
|
31919
31919
|
allColumns.push({
|
|
@@ -32036,7 +32036,7 @@ function createDocumentColumns({
|
|
|
32036
32036
|
singleClickEdit: true,
|
|
32037
32037
|
cellEditor: "agSelectCellEditor",
|
|
32038
32038
|
cellEditorParams: {
|
|
32039
|
-
values: [...
|
|
32039
|
+
values: [...chunkOKUXM2N4_cjs.DOCUMENT_TYPE_OPTIONS]
|
|
32040
32040
|
},
|
|
32041
32041
|
context: { icon: lucideReact.Sparkles },
|
|
32042
32042
|
valueGetter: (params) => ui.getDocumentNature(params.data) || "",
|
|
@@ -32573,7 +32573,7 @@ function useDocumentTable({
|
|
|
32573
32573
|
}
|
|
32574
32574
|
const stabilizedTagIds = prevTagIdsRef.current;
|
|
32575
32575
|
const stabilizedTagNames = prevTagNamesRef.current;
|
|
32576
|
-
const defaultVisibleColumns = react$1.useMemo(() => [...
|
|
32576
|
+
const defaultVisibleColumns = react$1.useMemo(() => [...chunkOKUXM2N4_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
|
|
32577
32577
|
const toggleShared = react$1.useCallback((docId, shared) => {
|
|
32578
32578
|
updateDocRef.current.mutate({ documents: [{ external_id: docId, shared }] });
|
|
32579
32579
|
}, []);
|
|
@@ -32836,10 +32836,10 @@ function ConnectedFilesBulkActions({
|
|
|
32836
32836
|
const bulk = useDocumentBulkActions(selectedDocuments);
|
|
32837
32837
|
const count2 = selectedDocuments.length;
|
|
32838
32838
|
const noun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL");
|
|
32839
|
-
const shareState =
|
|
32839
|
+
const shareState = chunkOKUXM2N4_cjs.shareStateOf(bulk.freshSelectedDocuments);
|
|
32840
32840
|
const handleToggleShare = async (shouldShare) => {
|
|
32841
32841
|
if (shouldShare) return bulk.share();
|
|
32842
|
-
const confirmed = await
|
|
32842
|
+
const confirmed = await chunkOKUXM2N4_cjs.confirmHideFromMembers(
|
|
32843
32843
|
confirm,
|
|
32844
32844
|
bulk.freshSelectedDocuments.length,
|
|
32845
32845
|
members
|
|
@@ -32856,7 +32856,7 @@ function ConnectedFilesBulkActions({
|
|
|
32856
32856
|
const { openDocumentsChat, openFieldsManager } = actions;
|
|
32857
32857
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
32858
32858
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32859
|
-
|
|
32859
|
+
chunkOKUXM2N4_cjs.BulkActionsBar,
|
|
32860
32860
|
{
|
|
32861
32861
|
count: count2,
|
|
32862
32862
|
onClear: onClearSelection,
|
|
@@ -32882,7 +32882,7 @@ function ConnectedFilesBulkActions({
|
|
|
32882
32882
|
onDelete: () => setConfirming("delete"),
|
|
32883
32883
|
shareState,
|
|
32884
32884
|
shareLabels: shareState === "shared" ? { share: "Make private" } : void 0,
|
|
32885
|
-
shareTooltip:
|
|
32885
|
+
shareTooltip: chunkOKUXM2N4_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
|
|
32886
32886
|
onToggleShare: (shouldShare) => void handleToggleShare(shouldShare)
|
|
32887
32887
|
}
|
|
32888
32888
|
),
|
|
@@ -32897,7 +32897,7 @@ function ConnectedFilesBulkActions({
|
|
|
32897
32897
|
onClearSelection();
|
|
32898
32898
|
},
|
|
32899
32899
|
title: `Delete ${count2} ${noun}`,
|
|
32900
|
-
description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ?
|
|
32900
|
+
description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunkOKUXM2N4_cjs.RECENTLY_DELETED_HINT : chunkOKUXM2N4_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
|
|
32901
32901
|
confirmText: "Delete",
|
|
32902
32902
|
variant: "destructive"
|
|
32903
32903
|
}
|
|
@@ -33145,7 +33145,7 @@ function useAiReviewLiveUpdates() {
|
|
|
33145
33145
|
if (message.batch_type !== "doctag_generate") return;
|
|
33146
33146
|
const docIds = message.doc_ext_ids ?? [];
|
|
33147
33147
|
if (!docIds.length) return;
|
|
33148
|
-
void refreshDocuments(docIds).then(() =>
|
|
33148
|
+
void refreshDocuments(docIds).then(() => chunk6NSKIS35_cjs.useAiReviewStore.getState().markFinished(docIds));
|
|
33149
33149
|
const { clearTask } = react.useArbiWsStore.getState();
|
|
33150
33150
|
for (const id of docIds) clearTask(id);
|
|
33151
33151
|
});
|
|
@@ -33180,7 +33180,7 @@ function useBatchCompleteToasts() {
|
|
|
33180
33180
|
timer.current = null;
|
|
33181
33181
|
const runs = pending.current;
|
|
33182
33182
|
pending.current = /* @__PURE__ */ new Map();
|
|
33183
|
-
const hasReview = !!
|
|
33183
|
+
const hasReview = !!chunk6NSKIS35_cjs.useAiReviewStore.getState().run;
|
|
33184
33184
|
for (const [id, entry] of runs) {
|
|
33185
33185
|
const n = entry.docIds.size;
|
|
33186
33186
|
notify19(
|
|
@@ -33193,7 +33193,7 @@ function useBatchCompleteToasts() {
|
|
|
33193
33193
|
...hasReview && {
|
|
33194
33194
|
action: {
|
|
33195
33195
|
label: "View results",
|
|
33196
|
-
onClick: () =>
|
|
33196
|
+
onClick: () => chunk6NSKIS35_cjs.useAiReviewStore.getState().setOpen(true)
|
|
33197
33197
|
}
|
|
33198
33198
|
}
|
|
33199
33199
|
}
|
|
@@ -33201,7 +33201,7 @@ function useBatchCompleteToasts() {
|
|
|
33201
33201
|
}
|
|
33202
33202
|
}, AI_FIELDS_NOTICE_WINDOW_MS);
|
|
33203
33203
|
} else if (message.batch_type === "entity_extract") {
|
|
33204
|
-
say(`${
|
|
33204
|
+
say(`${chunkO27K7KTZ_cjs.entitiesPhrase()} extracted from ${chunkO27K7KTZ_cjs.documentCount(docIds.length)}`, "success", {
|
|
33205
33205
|
...openTags && { action: { label: "View", onClick: openTags } }
|
|
33206
33206
|
});
|
|
33207
33207
|
} else if (message.batch_type === "upload") {
|
|
@@ -33240,12 +33240,12 @@ function ConnectedMoveToFolder({
|
|
|
33240
33240
|
setIsSubmitting(true);
|
|
33241
33241
|
try {
|
|
33242
33242
|
if (folderToMove) {
|
|
33243
|
-
const docsInFolder =
|
|
33243
|
+
const docsInFolder = chunkOKUXM2N4_cjs.collectFolderDocs(allDocs, folderToMove.path);
|
|
33244
33244
|
if (docsInFolder.length === 0) {
|
|
33245
33245
|
onClose();
|
|
33246
33246
|
return;
|
|
33247
33247
|
}
|
|
33248
|
-
const newPrefixSegments = targetFolder ? [...
|
|
33248
|
+
const newPrefixSegments = targetFolder ? [...chunkOKUXM2N4_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
|
|
33249
33249
|
await renameFolder(docsInFolder, folderToMove.path, newPrefixSegments);
|
|
33250
33250
|
const dest = targetFolder ? `"${targetFolder}/${folderToMove.name}"` : `"${folderToMove.name}" (root)`;
|
|
33251
33251
|
notify19(`Moved folder to ${dest}`, "success");
|
|
@@ -33270,9 +33270,9 @@ function ConnectedMoveToFolder({
|
|
|
33270
33270
|
}
|
|
33271
33271
|
};
|
|
33272
33272
|
const isFolderMode = !!folderToMove;
|
|
33273
|
-
const folders =
|
|
33273
|
+
const folders = chunkIWLNDDPN_cjs.useDocumentFolders(allDocs, targetFolder);
|
|
33274
33274
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33275
|
-
|
|
33275
|
+
chunkOKUXM2N4_cjs.MoveToFolderDialog,
|
|
33276
33276
|
{
|
|
33277
33277
|
open: isOpen,
|
|
33278
33278
|
onClose,
|
|
@@ -33282,7 +33282,7 @@ function ConnectedMoveToFolder({
|
|
|
33282
33282
|
isSubmitting,
|
|
33283
33283
|
onConfirm: handleMove,
|
|
33284
33284
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33285
|
-
|
|
33285
|
+
chunkOKUXM2N4_cjs.FolderCommandList,
|
|
33286
33286
|
{
|
|
33287
33287
|
folders,
|
|
33288
33288
|
value: targetFolder,
|
|
@@ -33510,7 +33510,7 @@ function ConnectedBulkTagEditor({
|
|
|
33510
33510
|
const isClearing = change?.action === "remove";
|
|
33511
33511
|
return {
|
|
33512
33512
|
id: tag.external_id,
|
|
33513
|
-
badge: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33513
|
+
badge: /* @__PURE__ */ jsxRuntime.jsx(chunkVULH3XAJ_cjs.ConnectedTagEntity, { tag, size: "md" }),
|
|
33514
33514
|
type: tag.tag_type.type,
|
|
33515
33515
|
color: ui.getEntityColor(tag.external_id, "medium"),
|
|
33516
33516
|
options: tag.tag_type.type === "select" ? tag.tag_type.options : void 0,
|
|
@@ -33542,7 +33542,7 @@ function ConnectedBulkTagEditor({
|
|
|
33542
33542
|
const documentsLabel = ui.getEntityLabel("DOCUMENT", "PLURAL").toLowerCase();
|
|
33543
33543
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
33544
33544
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33545
|
-
|
|
33545
|
+
chunkOKUXM2N4_cjs.BulkTagEditorDialog,
|
|
33546
33546
|
{
|
|
33547
33547
|
open,
|
|
33548
33548
|
onClose,
|
|
@@ -33600,7 +33600,7 @@ function ConnectedBulkTagEditor({
|
|
|
33600
33600
|
}
|
|
33601
33601
|
),
|
|
33602
33602
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33603
|
-
|
|
33603
|
+
chunkOKUXM2N4_cjs.BulkReplaceDialog,
|
|
33604
33604
|
{
|
|
33605
33605
|
open: showGenerateConfirmation,
|
|
33606
33606
|
onClose: () => setShowGenerateConfirmation(false),
|
|
@@ -33715,7 +33715,7 @@ function ViewSelector({
|
|
|
33715
33715
|
columns: defaultColumns,
|
|
33716
33716
|
icon: lucideReact.Table,
|
|
33717
33717
|
// Both built-ins load at the minimal (compact) row height.
|
|
33718
|
-
rowHeight:
|
|
33718
|
+
rowHeight: chunkOKUXM2N4_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
33719
33719
|
// [] = loading this view unpins everything.
|
|
33720
33720
|
pinnedLeft: []
|
|
33721
33721
|
},
|
|
@@ -33726,15 +33726,15 @@ function ViewSelector({
|
|
|
33726
33726
|
// batch-select checkbox and Title stay fixed left while scrolling.
|
|
33727
33727
|
columns: defaultColumns,
|
|
33728
33728
|
icon: lucideReact.Columns3,
|
|
33729
|
-
rowHeight:
|
|
33729
|
+
rowHeight: chunkOKUXM2N4_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
33730
33730
|
pinnedLeft: DOCUMENT_VIEW_PINNED
|
|
33731
33731
|
},
|
|
33732
33732
|
{
|
|
33733
33733
|
key: "email-default",
|
|
33734
33734
|
label: "Email view",
|
|
33735
|
-
columns: [...
|
|
33735
|
+
columns: [...chunkOKUXM2N4_cjs.EMAIL_VIEW_COLUMNS],
|
|
33736
33736
|
icon: lucideReact.Mail,
|
|
33737
|
-
rowHeight:
|
|
33737
|
+
rowHeight: chunkOKUXM2N4_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
33738
33738
|
pinnedLeft: []
|
|
33739
33739
|
}
|
|
33740
33740
|
],
|
|
@@ -33758,7 +33758,7 @@ function ViewSelector({
|
|
|
33758
33758
|
},
|
|
33759
33759
|
[confirm, workspaceId, deleteView, notify19]
|
|
33760
33760
|
);
|
|
33761
|
-
const menu =
|
|
33761
|
+
const menu = chunkOKUXM2N4_cjs.useGridViews({
|
|
33762
33762
|
getGridApi,
|
|
33763
33763
|
defaultColumns,
|
|
33764
33764
|
builtins,
|
|
@@ -33773,7 +33773,7 @@ function ViewSelector({
|
|
|
33773
33773
|
onDeleteView,
|
|
33774
33774
|
isSaving
|
|
33775
33775
|
});
|
|
33776
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33776
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ViewSelectorMenu, { ...menu });
|
|
33777
33777
|
}
|
|
33778
33778
|
function DocumentsFilterBarActions({
|
|
33779
33779
|
isModal,
|
|
@@ -33813,7 +33813,7 @@ function DocumentsFilterBarActions({
|
|
|
33813
33813
|
),
|
|
33814
33814
|
documentsViewMode === "grid" && // The phone list is a fixed two-line layout, so row density only applies from sm up.
|
|
33815
33815
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden sm:block", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33816
|
-
|
|
33816
|
+
chunkOKUXM2N4_cjs.RowDensityControl,
|
|
33817
33817
|
{
|
|
33818
33818
|
rowHeight: documentsRowHeight,
|
|
33819
33819
|
onRowHeightChange: onDocumentsRowHeightChange
|
|
@@ -33921,8 +33921,8 @@ function DocumentsFilterBarActions({
|
|
|
33921
33921
|
}
|
|
33922
33922
|
function PersistedGridView(props) {
|
|
33923
33923
|
const { persistState, gridId } = props;
|
|
33924
|
-
const setGridState =
|
|
33925
|
-
const gridState = persistState && gridId ?
|
|
33924
|
+
const setGridState = chunk6NSKIS35_cjs.useFilesGridStates((state) => state.setGridState);
|
|
33925
|
+
const gridState = persistState && gridId ? chunk6NSKIS35_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
|
|
33926
33926
|
const onGridStateChange = react$1.useCallback(
|
|
33927
33927
|
(state) => {
|
|
33928
33928
|
if (persistState && gridId) setGridState(gridId, state);
|
|
@@ -34024,13 +34024,13 @@ var TABLET_TABLE_BELOW = 860;
|
|
|
34024
34024
|
var TABLET_VIEWPORT_BELOW = 1100;
|
|
34025
34025
|
var NO_CONVERSATION_DOCUMENTS2 = [];
|
|
34026
34026
|
var DocumentReviewCard = react$1.lazy(
|
|
34027
|
-
() => import('../DocumentReviewCard-
|
|
34027
|
+
() => import('../DocumentReviewCard-GALDZDOD.cjs').then((module) => ({ default: module.DocumentReviewCard }))
|
|
34028
34028
|
);
|
|
34029
34029
|
var FilesViewerDialog = react$1.lazy(
|
|
34030
|
-
() => import('../FilesViewerDialog-
|
|
34030
|
+
() => import('../FilesViewerDialog-BQNNMQAQ.cjs').then((module) => ({ default: module.FilesViewerDialog }))
|
|
34031
34031
|
);
|
|
34032
34032
|
function defaultReviewCard(props) {
|
|
34033
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34033
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkO27K7KTZ_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
|
|
34034
34034
|
}
|
|
34035
34035
|
function ConnectedFilesPage({
|
|
34036
34036
|
isModal = false,
|
|
@@ -34052,7 +34052,7 @@ function ConnectedFilesPage({
|
|
|
34052
34052
|
GridComponent = PersistedGridView,
|
|
34053
34053
|
gridStateVersion,
|
|
34054
34054
|
onGridApi,
|
|
34055
|
-
prefsKey =
|
|
34055
|
+
prefsKey = chunk6NSKIS35_cjs.FILES_PREFS_KEY,
|
|
34056
34056
|
defaultViewMode
|
|
34057
34057
|
}) {
|
|
34058
34058
|
const { openDocument, openDialog: openDialog2, openProcessing, openTags } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
|
|
@@ -34073,7 +34073,7 @@ function ConnectedFilesPage({
|
|
|
34073
34073
|
const deleteDocuments = react.useDeleteDocuments();
|
|
34074
34074
|
const isDocumentsPending = isLoading && documents.length === 0;
|
|
34075
34075
|
const { workspaceId, userId, live } = chunkNNBL3HPG_cjs.useConnectedWorkspace();
|
|
34076
|
-
const { role, members } =
|
|
34076
|
+
const { role, members } = chunkOGTRUW35_cjs.useConnectedWorkspaceRole();
|
|
34077
34077
|
const { data: workspaces } = react.useWorkspaces({ enabled: live });
|
|
34078
34078
|
const workspace = workspaces?.find((w) => w.external_id === workspaceId);
|
|
34079
34079
|
const workspaceName = workspace?.name;
|
|
@@ -34098,8 +34098,8 @@ function ConnectedFilesPage({
|
|
|
34098
34098
|
const inConversationDocuments = react.useArbiSessionState(
|
|
34099
34099
|
(s) => s.conversationDocuments[s.conversationId ?? "new"] ?? NO_CONVERSATION_DOCUMENTS2
|
|
34100
34100
|
);
|
|
34101
|
-
const viewMode =
|
|
34102
|
-
const setPrefsViewMode =
|
|
34101
|
+
const viewMode = chunk6NSKIS35_cjs.useFilesPrefs((s) => chunk6NSKIS35_cjs.filesViewMode(s, prefsKey, defaultViewMode));
|
|
34102
|
+
const setPrefsViewMode = chunk6NSKIS35_cjs.useFilesPrefs((s) => s.setViewMode);
|
|
34103
34103
|
const setViewMode = react$1.useCallback(
|
|
34104
34104
|
(mode) => setPrefsViewMode(mode, prefsKey),
|
|
34105
34105
|
[setPrefsViewMode, prefsKey]
|
|
@@ -34129,7 +34129,7 @@ function ConnectedFilesPage({
|
|
|
34129
34129
|
shownPlaceRef.current = null;
|
|
34130
34130
|
if (session.getState().documentViewer.compareId)
|
|
34131
34131
|
session.setDocumentViewer({ compareId: null });
|
|
34132
|
-
if (
|
|
34132
|
+
if (chunk6NSKIS35_cjs.filesViewMode(chunk6NSKIS35_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
|
|
34133
34133
|
session.setViewingDocument(null);
|
|
34134
34134
|
if (!fromLink) latest.current.onDocumentChange?.(null);
|
|
34135
34135
|
},
|
|
@@ -34218,9 +34218,9 @@ function ConnectedFilesPage({
|
|
|
34218
34218
|
else if (linkedPlaceKey !== shownPlaceRef.current) showInDialog(place, true);
|
|
34219
34219
|
} else if (previous && ownsViewer && shownPlaceRef.current) closeDialog2(true);
|
|
34220
34220
|
}, [linkedPlaceKey]);
|
|
34221
|
-
const rowHeight =
|
|
34222
|
-
const setRowHeight =
|
|
34223
|
-
const ownGridStates =
|
|
34221
|
+
const rowHeight = chunk6NSKIS35_cjs.useFilesPrefs((s) => s.rowHeight);
|
|
34222
|
+
const setRowHeight = chunk6NSKIS35_cjs.useFilesPrefs((s) => s.setRowHeight);
|
|
34223
|
+
const ownGridStates = chunk6NSKIS35_cjs.useFilesGridStates((s) => s.gridStates);
|
|
34224
34224
|
const stateVersion = gridStateVersion ?? ownGridStates;
|
|
34225
34225
|
const [pageEl, setPageEl] = react$1.useState(null);
|
|
34226
34226
|
const [isTabletWidth, setIsTabletWidth] = react$1.useState(false);
|
|
@@ -34250,15 +34250,15 @@ function ConnectedFilesPage({
|
|
|
34250
34250
|
const [explorerSortReversed, setExplorerSortReversed] = react$1.useState(false);
|
|
34251
34251
|
const [explorerTileSize, setExplorerTileSize] = react$1.useState(TILE_DEFAULT);
|
|
34252
34252
|
const [urlDialogOpen, setUrlDialogOpen] = react$1.useState(false);
|
|
34253
|
-
const move =
|
|
34254
|
-
const openMove =
|
|
34255
|
-
const closeMove =
|
|
34256
|
-
const bulkTagsOpen =
|
|
34257
|
-
const setBulkTagsOpen =
|
|
34258
|
-
const deleteRequest =
|
|
34259
|
-
const requestDelete =
|
|
34260
|
-
const exportOpen =
|
|
34261
|
-
const setExportOpen =
|
|
34253
|
+
const move = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.move);
|
|
34254
|
+
const openMove = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.openMove);
|
|
34255
|
+
const closeMove = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.closeMove);
|
|
34256
|
+
const bulkTagsOpen = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
|
|
34257
|
+
const setBulkTagsOpen = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
|
|
34258
|
+
const deleteRequest = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.deleteRequest);
|
|
34259
|
+
const requestDelete = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.requestDelete);
|
|
34260
|
+
const exportOpen = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.exportOpen);
|
|
34261
|
+
const setExportOpen = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.setExportOpen);
|
|
34262
34262
|
const openOwnExport = react$1.useCallback(() => setExportOpen(true), [setExportOpen]);
|
|
34263
34263
|
const exportItems = react$1.useMemo(
|
|
34264
34264
|
() => selectedDocuments.map((doc) => ({
|
|
@@ -34301,17 +34301,17 @@ function ConnectedFilesPage({
|
|
|
34301
34301
|
const relatedDocsMap = useFilesPageSession(documents, workspaceId);
|
|
34302
34302
|
const defaultVisibleColumns = react$1.useMemo(
|
|
34303
34303
|
() => [
|
|
34304
|
-
...
|
|
34304
|
+
...chunkOKUXM2N4_cjs.DEFAULT_DOCUMENT_COLUMNS,
|
|
34305
34305
|
...allTags.filter(browser.isAnnotationTag).map((tag) => tag.external_id)
|
|
34306
34306
|
],
|
|
34307
34307
|
[allTags]
|
|
34308
34308
|
);
|
|
34309
34309
|
const handleReorderColumns = react$1.useCallback((ids, gridApi2) => {
|
|
34310
|
-
if (gridApi2)
|
|
34310
|
+
if (gridApi2) chunkOKUXM2N4_cjs.applyColumnLayout(gridApi2, ids);
|
|
34311
34311
|
}, []);
|
|
34312
34312
|
const handleLoadView = react$1.useCallback(
|
|
34313
34313
|
(view, gridApi2) => {
|
|
34314
|
-
|
|
34314
|
+
chunkOKUXM2N4_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
|
|
34315
34315
|
if (typeof view.tile_size === "number") setExplorerTileSize(view.tile_size);
|
|
34316
34316
|
if (typeof view.row_height === "number") setRowHeight(view.row_height);
|
|
34317
34317
|
},
|
|
@@ -34403,7 +34403,7 @@ function ConnectedFilesPage({
|
|
|
34403
34403
|
);
|
|
34404
34404
|
const currentDocument = viewingDocumentId ? filteredDocuments.find((d) => d.external_id === viewingDocumentId) ?? documents.find((d) => d.external_id === viewingDocumentId) ?? null : null;
|
|
34405
34405
|
const navigatorDocuments = react$1.useMemo(
|
|
34406
|
-
() =>
|
|
34406
|
+
() => chunkOKUXM2N4_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
|
|
34407
34407
|
[filteredDocuments, explorerSort, explorerSortReversed]
|
|
34408
34408
|
);
|
|
34409
34409
|
const navigatorOnNavigate = react$1.useCallback(
|
|
@@ -34473,7 +34473,7 @@ function ConnectedFilesPage({
|
|
|
34473
34473
|
},
|
|
34474
34474
|
rowHeight
|
|
34475
34475
|
};
|
|
34476
|
-
const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34476
|
+
const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FilesFilterBar, { children: [
|
|
34477
34477
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34478
34478
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
34479
34479
|
{
|
|
@@ -34508,7 +34508,7 @@ function ConnectedFilesPage({
|
|
|
34508
34508
|
),
|
|
34509
34509
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
34510
34510
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34511
|
-
|
|
34511
|
+
chunkOKUXM2N4_cjs.DocumentsFolderButton,
|
|
34512
34512
|
{
|
|
34513
34513
|
documents,
|
|
34514
34514
|
documentFilters,
|
|
@@ -34516,7 +34516,7 @@ function ConnectedFilesPage({
|
|
|
34516
34516
|
onNewFolder: canUpload ? handleNewFolder : void 0
|
|
34517
34517
|
}
|
|
34518
34518
|
),
|
|
34519
|
-
openTags && /* @__PURE__ */ jsxRuntime.jsx(
|
|
34519
|
+
openTags && /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FilesTagsButton, { onClick: openTags }),
|
|
34520
34520
|
workspaceId && /* @__PURE__ */ jsxRuntime.jsx(ConnectedRecentlyDeletedButton, { workspaceExtId: workspaceId })
|
|
34521
34521
|
] })
|
|
34522
34522
|
] });
|
|
@@ -34539,9 +34539,9 @@ function ConnectedFilesPage({
|
|
|
34539
34539
|
);
|
|
34540
34540
|
const reviewGridId = isModal ? "documents-modal-grid-v6" : "documents-main-grid-v6";
|
|
34541
34541
|
const showBulkBar = (viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator") && documents.length > 0;
|
|
34542
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34542
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FilesPage, { isModal, ref: setPageEl, children: [
|
|
34543
34543
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34544
|
-
|
|
34544
|
+
chunkOKUXM2N4_cjs.UrlInputDialog,
|
|
34545
34545
|
{
|
|
34546
34546
|
open: urlDialogOpen,
|
|
34547
34547
|
onOpenChange: setUrlDialogOpen,
|
|
@@ -34550,7 +34550,7 @@ function ConnectedFilesPage({
|
|
|
34550
34550
|
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
|
|
34551
34551
|
}
|
|
34552
34552
|
),
|
|
34553
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
34553
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FilesPageHeader, { children: [
|
|
34554
34554
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34555
34555
|
chunkSJSGSHIT_cjs.TabHeader,
|
|
34556
34556
|
{
|
|
@@ -34571,7 +34571,7 @@ function ConnectedFilesPage({
|
|
|
34571
34571
|
activeTabId: "documents",
|
|
34572
34572
|
onTabChange: () => handleViewModeChange(lastDocsViewRef.current),
|
|
34573
34573
|
firstTabContent: isNarrowFilterRow ? null : documentsTabActions,
|
|
34574
|
-
centerContent: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34574
|
+
centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
|
|
34575
34575
|
!isNarrowFilterRow && viewToggle,
|
|
34576
34576
|
/* @__PURE__ */ jsxRuntime.jsx(ProgressiveLoadingChip, {})
|
|
34577
34577
|
] }),
|
|
@@ -34601,14 +34601,14 @@ function ConnectedFilesPage({
|
|
|
34601
34601
|
}
|
|
34602
34602
|
),
|
|
34603
34603
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34604
|
-
|
|
34604
|
+
chunkOKUXM2N4_cjs.FilesToolbar,
|
|
34605
34605
|
{
|
|
34606
34606
|
className: "px-3 pb-2",
|
|
34607
34607
|
rightActions: viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
34608
34608
|
viewMode === "grid" ? (
|
|
34609
34609
|
// ‹ n / N › over the table's displayed rows; a step opens the document.
|
|
34610
34610
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34611
|
-
|
|
34611
|
+
chunkO27K7KTZ_cjs.GridRowNavigator,
|
|
34612
34612
|
{
|
|
34613
34613
|
gridApi,
|
|
34614
34614
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -34623,7 +34623,7 @@ function ConnectedFilesPage({
|
|
|
34623
34623
|
) : viewMode === "explorer" ? (
|
|
34624
34624
|
// The same over the explorer's tiles.
|
|
34625
34625
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34626
|
-
|
|
34626
|
+
chunkOKUXM2N4_cjs.ExplorerFileNavigator,
|
|
34627
34627
|
{
|
|
34628
34628
|
fileIds: explorerFileIds,
|
|
34629
34629
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -34662,7 +34662,7 @@ function ConnectedFilesPage({
|
|
|
34662
34662
|
}
|
|
34663
34663
|
),
|
|
34664
34664
|
viewMode === "navigator" && currentDocument && /* @__PURE__ */ jsxRuntime.jsx(
|
|
34665
|
-
|
|
34665
|
+
chunkOKUXM2N4_cjs.NavigatorPickerBar,
|
|
34666
34666
|
{
|
|
34667
34667
|
currentDocument,
|
|
34668
34668
|
documents: navigatorDocuments,
|
|
@@ -34689,11 +34689,11 @@ function ConnectedFilesPage({
|
|
|
34689
34689
|
}
|
|
34690
34690
|
}
|
|
34691
34691
|
) }),
|
|
34692
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
34692
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FilesPageMain, { children: [
|
|
34693
34693
|
viewMode === "grid" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
34694
|
-
|
|
34694
|
+
chunkOKUXM2N4_cjs.DocumentGrid,
|
|
34695
34695
|
{
|
|
34696
|
-
layout:
|
|
34696
|
+
layout: chunkOKUXM2N4_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
|
|
34697
34697
|
presets: gridPresets,
|
|
34698
34698
|
GridComponent,
|
|
34699
34699
|
showEmptyWorkspace: documents.length === 0 && !isLoading && isMember,
|
|
@@ -34787,7 +34787,7 @@ function ConnectedFilesPage({
|
|
|
34787
34787
|
onProduce: () => openDialog2("productionSet")
|
|
34788
34788
|
}
|
|
34789
34789
|
),
|
|
34790
|
-
isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(
|
|
34790
|
+
isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
|
|
34791
34791
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34792
34792
|
chunkJDFBEGQO_cjs.ConfirmDialog,
|
|
34793
34793
|
{
|
|
@@ -34798,7 +34798,7 @@ function ConnectedFilesPage({
|
|
|
34798
34798
|
requestDelete(null);
|
|
34799
34799
|
},
|
|
34800
34800
|
title: "Delete Document",
|
|
34801
|
-
description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${
|
|
34801
|
+
description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunkOKUXM2N4_cjs.RECENTLY_DELETED_HINT}` : "",
|
|
34802
34802
|
confirmText: "Delete",
|
|
34803
34803
|
variant: "destructive"
|
|
34804
34804
|
}
|
|
@@ -34874,8 +34874,8 @@ function ConnectedFilesPage({
|
|
|
34874
34874
|
}
|
|
34875
34875
|
var NO_DOCUMENTS3 = [];
|
|
34876
34876
|
function ConnectedAiReviewHost(props) {
|
|
34877
|
-
const open =
|
|
34878
|
-
const setOpen =
|
|
34877
|
+
const open = chunk6NSKIS35_cjs.useAiReviewStore((s) => s.open);
|
|
34878
|
+
const setOpen = chunk6NSKIS35_cjs.useAiReviewStore((s) => s.setOpen);
|
|
34879
34879
|
return /* @__PURE__ */ jsxRuntime.jsx(ConnectedAiReview, { open, onOpenChange: setOpen, ...props });
|
|
34880
34880
|
}
|
|
34881
34881
|
function ConnectedGridView(props) {
|
|
@@ -34911,7 +34911,7 @@ function ProcessingSection({
|
|
|
34911
34911
|
tasks,
|
|
34912
34912
|
onDelete
|
|
34913
34913
|
}) {
|
|
34914
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
34914
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
|
|
34915
34915
|
}
|
|
34916
34916
|
function ConnectedDocumentProcessingPanel({
|
|
34917
34917
|
workspaceId,
|
|
@@ -35267,7 +35267,7 @@ var MENU_LABELS = {
|
|
|
35267
35267
|
};
|
|
35268
35268
|
function applyDatabaseColumns(columns, api) {
|
|
35269
35269
|
const kept = (id) => api.getColumn(id) ? [id] : [];
|
|
35270
|
-
|
|
35270
|
+
chunkOKUXM2N4_cjs.applyColumnLayout(api, [...kept(chunk4IRS55N2_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunk4IRS55N2_cjs.ADD_COLUMN_COL_ID)]);
|
|
35271
35271
|
}
|
|
35272
35272
|
function DatabaseViewsMenu({
|
|
35273
35273
|
databaseId,
|
|
@@ -35286,7 +35286,7 @@ function DatabaseViewsMenu({
|
|
|
35286
35286
|
[defaultColumns]
|
|
35287
35287
|
);
|
|
35288
35288
|
const onLoadView = react$1.useCallback(
|
|
35289
|
-
(view, api) =>
|
|
35289
|
+
(view, api) => chunkOKUXM2N4_cjs.applyViewColumns(api, view, applyDatabaseColumns),
|
|
35290
35290
|
[]
|
|
35291
35291
|
);
|
|
35292
35292
|
const onSaveView = react$1.useCallback(
|
|
@@ -35306,7 +35306,7 @@ function DatabaseViewsMenu({
|
|
|
35306
35306
|
},
|
|
35307
35307
|
[confirm, deleteView, notify19]
|
|
35308
35308
|
);
|
|
35309
|
-
const menu =
|
|
35309
|
+
const menu = chunkOKUXM2N4_cjs.useGridViews({
|
|
35310
35310
|
getGridApi,
|
|
35311
35311
|
defaultColumns,
|
|
35312
35312
|
builtins,
|
|
@@ -35319,7 +35319,7 @@ function DatabaseViewsMenu({
|
|
|
35319
35319
|
onDeleteView,
|
|
35320
35320
|
isSaving
|
|
35321
35321
|
});
|
|
35322
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
35322
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
|
|
35323
35323
|
}
|
|
35324
35324
|
function useMoveLocalViews(gridId, ready, importViews) {
|
|
35325
35325
|
const localViews = react.useArbiSessionState((state) => state.grid.savedViews[gridId]);
|
|
@@ -37017,10 +37017,10 @@ var FreshChatModel = () => (useFreshChatModel(), null);
|
|
|
37017
37017
|
var WorkspaceOpenMetrics = ({ measure }) => (useWorkspaceOpenMetrics(measure), null);
|
|
37018
37018
|
var Prefetch = ({ loaders }) => (usePrefetchChunks(loaders), null);
|
|
37019
37019
|
function GuidedRuns() {
|
|
37020
|
-
|
|
37020
|
+
chunkLO4CMUOY_cjs.useRemoteControlSessionReset();
|
|
37021
37021
|
const { cursorMark } = chunkORELHENJ_cjs.useGuidedRuns();
|
|
37022
37022
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
37023
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37023
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkO27K7KTZ_cjs.GuidedCursor, { markSrc: cursorMark }),
|
|
37024
37024
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedRemoteControlConsent, {})
|
|
37025
37025
|
] });
|
|
37026
37026
|
}
|
|
@@ -38044,7 +38044,7 @@ function resolveLaunchInputs(workflow, request) {
|
|
|
38044
38044
|
function useWorkflowLaunch() {
|
|
38045
38045
|
const { skills } = chunkUCA4JLLJ_cjs.useWorkflowDefinitions();
|
|
38046
38046
|
const launch = react$1.useCallback(
|
|
38047
|
-
(workflowId, options = {}) =>
|
|
38047
|
+
(workflowId, options = {}) => chunk6A4GNM4T_cjs.openWorkflowLaunch({ workflowId, ...options }),
|
|
38048
38048
|
[]
|
|
38049
38049
|
);
|
|
38050
38050
|
const itemsFor = react$1.useCallback(
|
|
@@ -38073,8 +38073,8 @@ function useWorkflowLaunch() {
|
|
|
38073
38073
|
return { launch, itemsFor, scopeItemsFor };
|
|
38074
38074
|
}
|
|
38075
38075
|
function Inner() {
|
|
38076
|
-
const request =
|
|
38077
|
-
const close =
|
|
38076
|
+
const request = chunk6A4GNM4T_cjs.useWorkflowLaunchRequest();
|
|
38077
|
+
const close = chunk6A4GNM4T_cjs.closeWorkflowLaunch;
|
|
38078
38078
|
const { skills } = chunkUCA4JLLJ_cjs.useWorkflowDefinitions();
|
|
38079
38079
|
const run = chunkLFYKB7KF_cjs.useLaunchWorkflow({ landing: request?.landing });
|
|
38080
38080
|
const workflow = skills.find((w) => w.id === request?.workflowId);
|
|
@@ -38112,7 +38112,7 @@ function Inner() {
|
|
|
38112
38112
|
);
|
|
38113
38113
|
}
|
|
38114
38114
|
function WorkflowLaunchHost() {
|
|
38115
|
-
return
|
|
38115
|
+
return chunk6A4GNM4T_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
|
|
38116
38116
|
}
|
|
38117
38117
|
function isNeedsConfirmationDetail(detail) {
|
|
38118
38118
|
return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
|
|
@@ -38421,7 +38421,7 @@ function ConnectedConversationSettings() {
|
|
|
38421
38421
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38422
38422
|
chunkZYTZTCVQ_cjs.ModelSelectionSection,
|
|
38423
38423
|
{
|
|
38424
|
-
selector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
38424
|
+
selector: /* @__PURE__ */ jsxRuntime.jsx(chunkLO4CMUOY_cjs.ConnectedModelSelector, {}),
|
|
38425
38425
|
onUseDefaults: settings.resetToDefaults
|
|
38426
38426
|
}
|
|
38427
38427
|
)
|
|
@@ -38480,7 +38480,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
|
|
|
38480
38480
|
testId: "workspace-transfer-modal"
|
|
38481
38481
|
}
|
|
38482
38482
|
),
|
|
38483
|
-
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
38483
|
+
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkLO4CMUOY_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
|
|
38484
38484
|
conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
|
|
38485
38485
|
unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
|
|
38486
38486
|
productionSet: ConnectedProductionSetDialog,
|
|
@@ -38557,7 +38557,7 @@ function WorkflowRunStatusCell({ conversation }) {
|
|
|
38557
38557
|
return person ? ui.getUserDisplayName(person) : void 0;
|
|
38558
38558
|
};
|
|
38559
38559
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
38560
|
-
|
|
38560
|
+
chunk6A4GNM4T_cjs.WorkflowRunStatus,
|
|
38561
38561
|
{
|
|
38562
38562
|
steps,
|
|
38563
38563
|
states,
|
|
@@ -38591,7 +38591,7 @@ function ConversationStatusCell({ conversation }) {
|
|
|
38591
38591
|
if (conversation.plan?.steps?.length && !isLiveGenerating)
|
|
38592
38592
|
return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
|
|
38593
38593
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
38594
|
-
|
|
38594
|
+
chunk6A4GNM4T_cjs.ThreadStatusLine,
|
|
38595
38595
|
{
|
|
38596
38596
|
state: threadStateOf(conversation, isLiveGenerating),
|
|
38597
38597
|
className: "h-full",
|
|
@@ -38860,7 +38860,7 @@ function useThreadLabels(canEditShared) {
|
|
|
38860
38860
|
return {
|
|
38861
38861
|
labelText: (row2) => labels.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
38862
38862
|
renderLabels: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
38863
|
-
|
|
38863
|
+
chunkOKUXM2N4_cjs.LabelMultiSelectView,
|
|
38864
38864
|
{
|
|
38865
38865
|
options,
|
|
38866
38866
|
appliedIds: new Set(row2.label_ext_ids ?? []),
|
|
@@ -38879,7 +38879,7 @@ function useThreadLabels(canEditShared) {
|
|
|
38879
38879
|
).map((label) => label.id)
|
|
38880
38880
|
);
|
|
38881
38881
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
38882
|
-
|
|
38882
|
+
chunkOKUXM2N4_cjs.BulkLabelSelectView,
|
|
38883
38883
|
{
|
|
38884
38884
|
options,
|
|
38885
38885
|
appliedIds: all,
|
|
@@ -38910,7 +38910,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
38910
38910
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkM2FOXGJU_cjs.ComposerDock, { children: [
|
|
38911
38911
|
slashWorkflows.launcher,
|
|
38912
38912
|
/* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
38913
|
-
|
|
38913
|
+
chunkLO4CMUOY_cjs.ConversationComposer,
|
|
38914
38914
|
{
|
|
38915
38915
|
value: draft,
|
|
38916
38916
|
onValueChange: setDraft,
|
|
@@ -38919,7 +38919,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
38919
38919
|
isConversationEmpty: true,
|
|
38920
38920
|
shouldOfferFollowUp: false,
|
|
38921
38921
|
skills,
|
|
38922
|
-
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
38922
|
+
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkLO4CMUOY_cjs.ConnectedModelSelector, { variant: "compact" }),
|
|
38923
38923
|
rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
|
|
38924
38924
|
}
|
|
38925
38925
|
) })
|
|
@@ -39050,7 +39050,7 @@ function AgentBarShell({
|
|
|
39050
39050
|
}, [isStepsExpanded, steps]);
|
|
39051
39051
|
const visibleStepCount = react$1.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
|
|
39052
39052
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
39053
|
-
|
|
39053
|
+
chunk6A4GNM4T_cjs.AgentBar,
|
|
39054
39054
|
{
|
|
39055
39055
|
className,
|
|
39056
39056
|
testId,
|
|
@@ -39062,7 +39062,7 @@ function AgentBarShell({
|
|
|
39062
39062
|
drawerRef: scrollRef,
|
|
39063
39063
|
onDrawerScroll: handleDrawerScroll,
|
|
39064
39064
|
drawer: /* @__PURE__ */ jsxRuntime.jsx(
|
|
39065
|
-
|
|
39065
|
+
chunkLO4CMUOY_cjs.AgentSteps,
|
|
39066
39066
|
{
|
|
39067
39067
|
steps: stepList,
|
|
39068
39068
|
isStreaming,
|
|
@@ -39114,7 +39114,7 @@ function AgentControlBar({
|
|
|
39114
39114
|
const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
|
|
39115
39115
|
const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
|
|
39116
39116
|
const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
39117
|
-
|
|
39117
|
+
chunkLO4CMUOY_cjs.MessageLiveSeconds,
|
|
39118
39118
|
{
|
|
39119
39119
|
...liveTimer,
|
|
39120
39120
|
offsetSeconds: currentStep?.t ?? 0,
|
|
@@ -39123,7 +39123,7 @@ function AgentControlBar({
|
|
|
39123
39123
|
}
|
|
39124
39124
|
);
|
|
39125
39125
|
const status = /* @__PURE__ */ jsxRuntime.jsx(
|
|
39126
|
-
|
|
39126
|
+
chunk6A4GNM4T_cjs.AgentBarStatus,
|
|
39127
39127
|
{
|
|
39128
39128
|
state: showState ? controlState : void 0,
|
|
39129
39129
|
stateLabel: STATE_LABEL[controlState],
|
|
@@ -39165,7 +39165,7 @@ function AgentControlBar({
|
|
|
39165
39165
|
];
|
|
39166
39166
|
const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
39167
39167
|
onStop && /* @__PURE__ */ jsxRuntime.jsx(
|
|
39168
|
-
|
|
39168
|
+
chunk6A4GNM4T_cjs.AgentBarIconButton,
|
|
39169
39169
|
{
|
|
39170
39170
|
onClick: onStop,
|
|
39171
39171
|
title: "Stop",
|
|
@@ -39174,22 +39174,22 @@ function AgentControlBar({
|
|
|
39174
39174
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
|
|
39175
39175
|
}
|
|
39176
39176
|
),
|
|
39177
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39177
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.AgentBarMenu, { items: menuItems })
|
|
39178
39178
|
] });
|
|
39179
39179
|
const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
|
|
39180
39180
|
(message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
|
|
39181
39181
|
);
|
|
39182
39182
|
const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
|
|
39183
|
-
const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
39183
|
+
const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.AgentBarNotes, { children: [
|
|
39184
39184
|
queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
39185
|
-
|
|
39185
|
+
chunk6A4GNM4T_cjs.AgentBarQueuedNote,
|
|
39186
39186
|
{
|
|
39187
39187
|
text: message.content ?? "",
|
|
39188
39188
|
isAcknowledged: message.acknowledged
|
|
39189
39189
|
},
|
|
39190
39190
|
index
|
|
39191
39191
|
)),
|
|
39192
|
-
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
39192
|
+
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
|
|
39193
39193
|
] }) : null;
|
|
39194
39194
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
39195
39195
|
AgentBarShell,
|
|
@@ -39338,7 +39338,7 @@ function ConnectedConversationEmpty({
|
|
|
39338
39338
|
compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
|
|
39339
39339
|
}
|
|
39340
39340
|
),
|
|
39341
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39341
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.PrivacyExplainerModal, {})
|
|
39342
39342
|
] })
|
|
39343
39343
|
}
|
|
39344
39344
|
);
|
|
@@ -40174,7 +40174,7 @@ function ConversationThread({
|
|
|
40174
40174
|
useStartRequestedDraft();
|
|
40175
40175
|
const orphanedMessage = react.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
|
|
40176
40176
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkIFOGBMAE_cjs.ConversationBody, { children: [
|
|
40177
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkIFOGBMAE_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkIFOGBMAE_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
40177
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkIFOGBMAE_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkIFOGBMAE_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkLO4CMUOY_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkSCLGUHLU_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
|
|
40178
40178
|
meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
40179
40179
|
chunkZBP4ZSAJ_cjs.ConversationFilter,
|
|
40180
40180
|
{
|
|
@@ -40192,7 +40192,7 @@ function ConversationThread({
|
|
|
40192
40192
|
]
|
|
40193
40193
|
}
|
|
40194
40194
|
) }),
|
|
40195
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40195
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLO4CMUOY_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
|
|
40196
40196
|
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunkGX75YCWJ_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
40197
40197
|
] }) }) : meetingCallExtId ? (
|
|
40198
40198
|
// A meeting thread with nothing yet: call-aware, not the upload prompt.
|
|
@@ -40200,7 +40200,7 @@ function ConversationThread({
|
|
|
40200
40200
|
/* @__PURE__ */ jsxRuntime.jsx(chunkGX75YCWJ_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
|
|
40201
40201
|
/* @__PURE__ */ jsxRuntime.jsx(chunkGX75YCWJ_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
40202
40202
|
] })
|
|
40203
|
-
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
40203
|
+
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkLO4CMUOY_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
40204
40204
|
ConnectedConversationEmpty,
|
|
40205
40205
|
{
|
|
40206
40206
|
hasDocuments: allWorkspaceDocuments.length > 0,
|
|
@@ -40271,7 +40271,7 @@ function ConversationThread({
|
|
|
40271
40271
|
children: react.READ_ONLY_MEETING_TEXT
|
|
40272
40272
|
}
|
|
40273
40273
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
40274
|
-
|
|
40274
|
+
chunkLO4CMUOY_cjs.ConversationComposer,
|
|
40275
40275
|
{
|
|
40276
40276
|
handleSendMessage: handleUserSend,
|
|
40277
40277
|
placeholder: pendingAnswer ? assistant.answerPlaceholder : void 0,
|
|
@@ -40611,7 +40611,7 @@ function ConnectedThreadsPage({
|
|
|
40611
40611
|
};
|
|
40612
40612
|
const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
|
|
40613
40613
|
/* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
40614
|
-
|
|
40614
|
+
chunk6A4GNM4T_cjs.ConversationListView,
|
|
40615
40615
|
{
|
|
40616
40616
|
showHeader,
|
|
40617
40617
|
conversations: tasks,
|
|
@@ -40630,7 +40630,7 @@ function ConnectedThreadsPage({
|
|
|
40630
40630
|
renderLabels: threadLabels.renderLabels,
|
|
40631
40631
|
labelText: threadLabels.labelText,
|
|
40632
40632
|
renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
40633
|
-
|
|
40633
|
+
chunk6A4GNM4T_cjs.ConversationTurnSpeaker,
|
|
40634
40634
|
{
|
|
40635
40635
|
variant: "icon",
|
|
40636
40636
|
role: row2.last_message_role,
|
|
@@ -41017,7 +41017,7 @@ function ConnectedChatDocumentsTab({
|
|
|
41017
41017
|
testId: `document-hover-toggle-${doc.external_id}`
|
|
41018
41018
|
},
|
|
41019
41019
|
status: /* @__PURE__ */ jsxRuntime.jsx(
|
|
41020
|
-
|
|
41020
|
+
chunkOKUXM2N4_cjs.DocStatusIcon,
|
|
41021
41021
|
{
|
|
41022
41022
|
status: doc.status,
|
|
41023
41023
|
onClick: onStatusClick,
|
|
@@ -41510,7 +41510,7 @@ function ConnectedConversationPage({
|
|
|
41510
41510
|
);
|
|
41511
41511
|
const { data: workspaceTags = [] } = react.useTags();
|
|
41512
41512
|
const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
|
|
41513
|
-
const historyCount =
|
|
41513
|
+
const historyCount = chunk6A4GNM4T_cjs.filterConversationRows(
|
|
41514
41514
|
threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
|
|
41515
41515
|
threadFilter,
|
|
41516
41516
|
(row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
@@ -41569,7 +41569,7 @@ function ConnectedConversationPage({
|
|
|
41569
41569
|
] })
|
|
41570
41570
|
}
|
|
41571
41571
|
),
|
|
41572
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41572
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkANYKNLU3_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
|
|
41573
41573
|
] }),
|
|
41574
41574
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41575
41575
|
ConversationThread,
|
|
@@ -41599,7 +41599,7 @@ function ConnectedConversationPage({
|
|
|
41599
41599
|
!isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkIFOGBMAE_cjs.ConversationHistoryPane, { children: searchEnabled && semanticSearchOpen ? /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false, search: true, ResultsBoundary }) : /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false }) })
|
|
41600
41600
|
] }),
|
|
41601
41601
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41602
|
-
|
|
41602
|
+
chunkOKUXM2N4_cjs.UrlInputDialog,
|
|
41603
41603
|
{
|
|
41604
41604
|
open: urlDialogOpen,
|
|
41605
41605
|
onOpenChange: setUrlDialogOpen,
|
|
@@ -41778,7 +41778,7 @@ function SsoResendVerificationButton({
|
|
|
41778
41778
|
onClick: async () => handleResendEmailVerification(),
|
|
41779
41779
|
disabled: loading || disabled,
|
|
41780
41780
|
"aria-label": "Resend verification email",
|
|
41781
|
-
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
41781
|
+
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkO27K7KTZ_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
41782
41782
|
"Didn't get a verification email? ",
|
|
41783
41783
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
|
|
41784
41784
|
] })
|
|
@@ -41789,16 +41789,16 @@ function SsoResendVerificationButton({
|
|
|
41789
41789
|
}
|
|
41790
41790
|
var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
|
|
41791
41791
|
function ConnectedSsoCallback() {
|
|
41792
|
-
const sso =
|
|
41792
|
+
const sso = chunkLO4CMUOY_cjs.useSsoSignIn();
|
|
41793
41793
|
const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
|
|
41794
|
-
const auth =
|
|
41794
|
+
const auth = chunkLO4CMUOY_cjs.useAuthPages();
|
|
41795
41795
|
const { notify: notify19, navigate } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
|
|
41796
41796
|
const passwordRules = auth.passwordRules;
|
|
41797
41797
|
const isProcessing = react$1.useRef(false);
|
|
41798
41798
|
const hasCheckedStatus = react$1.useRef(false);
|
|
41799
41799
|
const [accessToken, setAccessToken] = react$1.useState(null);
|
|
41800
41800
|
const [ssoStatus, setSsoStatus] = react$1.useState(null);
|
|
41801
|
-
const ssoName = react$1.useMemo(() =>
|
|
41801
|
+
const ssoName = react$1.useMemo(() => chunkLO4CMUOY_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
|
|
41802
41802
|
const [password, setPassword] = react$1.useState("");
|
|
41803
41803
|
const [confirmPassword, setConfirmPassword] = react$1.useState("");
|
|
41804
41804
|
const [error, setError] = react$1.useState(null);
|
|
@@ -41976,7 +41976,7 @@ function ConnectedSsoCallback() {
|
|
|
41976
41976
|
setIsCheckingStatus(true);
|
|
41977
41977
|
try {
|
|
41978
41978
|
console.info("[SSO] Checking user status...");
|
|
41979
|
-
const response = await
|
|
41979
|
+
const response = await chunkLO4CMUOY_cjs.ssoAccountStatus(arbi, accessToken, user);
|
|
41980
41980
|
console.info("[SSO] User status:", response.status);
|
|
41981
41981
|
setSsoStatus(response);
|
|
41982
41982
|
} catch (error2) {
|
|
@@ -42020,7 +42020,7 @@ function ConnectedSsoCallback() {
|
|
|
42020
42020
|
setIsSubmitting(true);
|
|
42021
42021
|
setError(null);
|
|
42022
42022
|
try {
|
|
42023
|
-
const { login, registered, linked } = await
|
|
42023
|
+
const { login, registered, linked } = await chunkLO4CMUOY_cjs.completeSsoSignIn(arbi, {
|
|
42024
42024
|
token: accessToken,
|
|
42025
42025
|
user,
|
|
42026
42026
|
status: ssoStatus,
|
|
@@ -42302,7 +42302,7 @@ function ConnectedSsoCallback() {
|
|
|
42302
42302
|
ssoStatus.status !== "new_user" && auth.footer
|
|
42303
42303
|
] }),
|
|
42304
42304
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42305
|
-
|
|
42305
|
+
chunkLO4CMUOY_cjs.ConnectedForgotPassword,
|
|
42306
42306
|
{
|
|
42307
42307
|
open: showForgotPasswordModal,
|
|
42308
42308
|
onOpenChange: setShowForgotPasswordModal,
|
|
@@ -42310,7 +42310,7 @@ function ConnectedSsoCallback() {
|
|
|
42310
42310
|
}
|
|
42311
42311
|
),
|
|
42312
42312
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42313
|
-
|
|
42313
|
+
chunkLO4CMUOY_cjs.ConnectedPasswordChangeDialog,
|
|
42314
42314
|
{
|
|
42315
42315
|
open: showChangePasswordModal,
|
|
42316
42316
|
onClose: () => setShowChangePasswordModal(false),
|
|
@@ -42469,27 +42469,27 @@ function ConnectedOAuthConsentPage({
|
|
|
42469
42469
|
oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
|
|
42470
42470
|
}
|
|
42471
42471
|
if (error && !params) {
|
|
42472
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
42472
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
|
|
42473
42473
|
}
|
|
42474
42474
|
if (!params) {
|
|
42475
42475
|
return null;
|
|
42476
42476
|
}
|
|
42477
42477
|
if (clientInfo?.isLocalAgentFlow) {
|
|
42478
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
42478
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_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." }) });
|
|
42479
42479
|
}
|
|
42480
42480
|
if (!isAuthenticated2) {
|
|
42481
42481
|
return null;
|
|
42482
42482
|
}
|
|
42483
42483
|
if (callbackUrl) {
|
|
42484
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
42485
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
42484
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentCard, { size: "md", children: [
|
|
42485
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
|
|
42486
42486
|
"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",
|
|
42487
42487
|
" ",
|
|
42488
42488
|
copied ? "it's already copied to your clipboard." : "copy it first."
|
|
42489
42489
|
] }),
|
|
42490
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
42491
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42492
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
42490
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentSection, { title: "Callback URL", children: [
|
|
42491
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
|
|
42492
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentText, { variant: "hint", children: [
|
|
42493
42493
|
"In Claude Code, paste the URL at the prompt that says",
|
|
42494
42494
|
" ",
|
|
42495
42495
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
|
|
@@ -42498,17 +42498,17 @@ function ConnectedOAuthConsentPage({
|
|
|
42498
42498
|
] })
|
|
42499
42499
|
] }) });
|
|
42500
42500
|
}
|
|
42501
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
42502
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
42503
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42501
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentCard, { children: [
|
|
42502
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
|
|
42503
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
|
|
42504
42504
|
" is requesting access to your ",
|
|
42505
42505
|
appName,
|
|
42506
42506
|
" workspace."
|
|
42507
42507
|
] }),
|
|
42508
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42509
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
42510
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42511
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42508
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentPermissionList, { items: permissions }) }),
|
|
42509
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentNotice, { tone: "error", children: error }),
|
|
42510
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
|
|
42511
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentFootnote, { children: footnote })
|
|
42512
42512
|
] }) });
|
|
42513
42513
|
}
|
|
42514
42514
|
function ConnectedSharedFilesPage({
|
|
@@ -43167,7 +43167,7 @@ function ConnectedTipBar({
|
|
|
43167
43167
|
className,
|
|
43168
43168
|
revealOnHover = false
|
|
43169
43169
|
}) {
|
|
43170
|
-
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } =
|
|
43170
|
+
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkLO4CMUOY_cjs.useContextualHints();
|
|
43171
43171
|
const { dismissed, dismissTip } = react.useDismissedTips();
|
|
43172
43172
|
const { notify: notify19 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
|
|
43173
43173
|
const { data: workspaces } = react.useWorkspaces();
|
|
@@ -43178,7 +43178,7 @@ function ConnectedTipBar({
|
|
|
43178
43178
|
workspaceOpen,
|
|
43179
43179
|
...state
|
|
43180
43180
|
};
|
|
43181
|
-
const { tip, index, count: count2, previous, next, onHoverChange } =
|
|
43181
|
+
const { tip, index, count: count2, previous, next, onHoverChange } = chunkO27K7KTZ_cjs.useTipsPlacement({
|
|
43182
43182
|
registry,
|
|
43183
43183
|
context,
|
|
43184
43184
|
state: situation,
|
|
@@ -43256,7 +43256,7 @@ function useGettingStarted({
|
|
|
43256
43256
|
const { user } = react.useArbiSession();
|
|
43257
43257
|
const userExtId = user?.external_id;
|
|
43258
43258
|
const temporaryOnly = user?.temporary_access_only === true;
|
|
43259
|
-
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } =
|
|
43259
|
+
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkLO4CMUOY_cjs.useContextualHints();
|
|
43260
43260
|
const { dismissed, loaded: dismissedLoaded, dismissTip } = react.useDismissedTips();
|
|
43261
43261
|
const welcomeJourneyEnabled = react.useFeature("welcomeJourney");
|
|
43262
43262
|
const session = react.useArbiSessionStore();
|
|
@@ -43482,15 +43482,15 @@ Object.defineProperty(exports, "ConnectedMailInviteCard", {
|
|
|
43482
43482
|
});
|
|
43483
43483
|
Object.defineProperty(exports, "ConnectedTagEntity", {
|
|
43484
43484
|
enumerable: true,
|
|
43485
|
-
get: function () { return
|
|
43485
|
+
get: function () { return chunkVULH3XAJ_cjs.ConnectedTagEntity; }
|
|
43486
43486
|
});
|
|
43487
43487
|
Object.defineProperty(exports, "documentFieldContent", {
|
|
43488
43488
|
enumerable: true,
|
|
43489
|
-
get: function () { return
|
|
43489
|
+
get: function () { return chunkVULH3XAJ_cjs.documentFieldContent; }
|
|
43490
43490
|
});
|
|
43491
43491
|
Object.defineProperty(exports, "useMemberLookup", {
|
|
43492
43492
|
enumerable: true,
|
|
43493
|
-
get: function () { return
|
|
43493
|
+
get: function () { return chunkVULH3XAJ_cjs.useMemberLookup; }
|
|
43494
43494
|
});
|
|
43495
43495
|
Object.defineProperty(exports, "DEFAULT_ASK_SUGGESTIONS", {
|
|
43496
43496
|
enumerable: true,
|
|
@@ -43590,279 +43590,279 @@ Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
|
43590
43590
|
});
|
|
43591
43591
|
Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
|
|
43592
43592
|
enumerable: true,
|
|
43593
|
-
get: function () { return
|
|
43593
|
+
get: function () { return chunkANYKNLU3_cjs.ConnectedTaskActivityDialog; }
|
|
43594
43594
|
});
|
|
43595
43595
|
Object.defineProperty(exports, "ConnectedTaskComposer", {
|
|
43596
43596
|
enumerable: true,
|
|
43597
|
-
get: function () { return
|
|
43597
|
+
get: function () { return chunkANYKNLU3_cjs.ConnectedTaskComposer; }
|
|
43598
43598
|
});
|
|
43599
43599
|
Object.defineProperty(exports, "ConnectedThreadTaskBar", {
|
|
43600
43600
|
enumerable: true,
|
|
43601
|
-
get: function () { return
|
|
43601
|
+
get: function () { return chunkANYKNLU3_cjs.ConnectedThreadTaskBar; }
|
|
43602
43602
|
});
|
|
43603
43603
|
Object.defineProperty(exports, "ConnectedWorkflowHistory", {
|
|
43604
43604
|
enumerable: true,
|
|
43605
|
-
get: function () { return
|
|
43605
|
+
get: function () { return chunkANYKNLU3_cjs.ConnectedWorkflowHistory; }
|
|
43606
43606
|
});
|
|
43607
43607
|
Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
|
|
43608
43608
|
enumerable: true,
|
|
43609
|
-
get: function () { return
|
|
43609
|
+
get: function () { return chunkANYKNLU3_cjs.ConnectedWorkflowRunPage; }
|
|
43610
43610
|
});
|
|
43611
43611
|
Object.defineProperty(exports, "ConnectedWorkflowRunner", {
|
|
43612
43612
|
enumerable: true,
|
|
43613
|
-
get: function () { return
|
|
43613
|
+
get: function () { return chunkANYKNLU3_cjs.ConnectedWorkflowRunner; }
|
|
43614
43614
|
});
|
|
43615
43615
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
|
|
43616
43616
|
enumerable: true,
|
|
43617
|
-
get: function () { return
|
|
43617
|
+
get: function () { return chunkANYKNLU3_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
|
|
43618
43618
|
});
|
|
43619
43619
|
Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
|
|
43620
43620
|
enumerable: true,
|
|
43621
|
-
get: function () { return
|
|
43621
|
+
get: function () { return chunkANYKNLU3_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
|
|
43622
43622
|
});
|
|
43623
43623
|
Object.defineProperty(exports, "WorkflowRunThread", {
|
|
43624
43624
|
enumerable: true,
|
|
43625
|
-
get: function () { return
|
|
43625
|
+
get: function () { return chunkANYKNLU3_cjs.WorkflowRunThread; }
|
|
43626
43626
|
});
|
|
43627
43627
|
Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
|
|
43628
43628
|
enumerable: true,
|
|
43629
|
-
get: function () { return
|
|
43629
|
+
get: function () { return chunkANYKNLU3_cjs.WorkflowRunWorkspaceChangedError; }
|
|
43630
43630
|
});
|
|
43631
43631
|
Object.defineProperty(exports, "buildProjectSummaries", {
|
|
43632
43632
|
enumerable: true,
|
|
43633
|
-
get: function () { return
|
|
43633
|
+
get: function () { return chunkANYKNLU3_cjs.buildProjectSummaries; }
|
|
43634
43634
|
});
|
|
43635
43635
|
Object.defineProperty(exports, "primaryProjectWorkspace", {
|
|
43636
43636
|
enumerable: true,
|
|
43637
|
-
get: function () { return
|
|
43637
|
+
get: function () { return chunkANYKNLU3_cjs.primaryProjectWorkspace; }
|
|
43638
43638
|
});
|
|
43639
43639
|
Object.defineProperty(exports, "useEnsureRequiredLabels", {
|
|
43640
43640
|
enumerable: true,
|
|
43641
|
-
get: function () { return
|
|
43641
|
+
get: function () { return chunkANYKNLU3_cjs.useEnsureRequiredLabels; }
|
|
43642
43642
|
});
|
|
43643
43643
|
Object.defineProperty(exports, "useProjectSummaries", {
|
|
43644
43644
|
enumerable: true,
|
|
43645
|
-
get: function () { return
|
|
43645
|
+
get: function () { return chunkANYKNLU3_cjs.useProjectSummaries; }
|
|
43646
43646
|
});
|
|
43647
43647
|
Object.defineProperty(exports, "useProjectSummary", {
|
|
43648
43648
|
enumerable: true,
|
|
43649
|
-
get: function () { return
|
|
43649
|
+
get: function () { return chunkANYKNLU3_cjs.useProjectSummary; }
|
|
43650
43650
|
});
|
|
43651
43651
|
Object.defineProperty(exports, "useRenderTaskPerson", {
|
|
43652
43652
|
enumerable: true,
|
|
43653
|
-
get: function () { return
|
|
43653
|
+
get: function () { return chunkANYKNLU3_cjs.useRenderTaskPerson; }
|
|
43654
43654
|
});
|
|
43655
43655
|
Object.defineProperty(exports, "useRequiredLabels", {
|
|
43656
43656
|
enumerable: true,
|
|
43657
|
-
get: function () { return
|
|
43657
|
+
get: function () { return chunkANYKNLU3_cjs.useRequiredLabels; }
|
|
43658
43658
|
});
|
|
43659
43659
|
Object.defineProperty(exports, "useTaskPeople", {
|
|
43660
43660
|
enumerable: true,
|
|
43661
|
-
get: function () { return
|
|
43661
|
+
get: function () { return chunkANYKNLU3_cjs.useTaskPeople; }
|
|
43662
43662
|
});
|
|
43663
43663
|
Object.defineProperty(exports, "useWorkflowsPageState", {
|
|
43664
43664
|
enumerable: true,
|
|
43665
|
-
get: function () { return
|
|
43665
|
+
get: function () { return chunkANYKNLU3_cjs.useWorkflowsPageState; }
|
|
43666
43666
|
});
|
|
43667
43667
|
Object.defineProperty(exports, "workflowRunView", {
|
|
43668
43668
|
enumerable: true,
|
|
43669
|
-
get: function () { return
|
|
43669
|
+
get: function () { return chunkANYKNLU3_cjs.workflowRunView; }
|
|
43670
43670
|
});
|
|
43671
43671
|
Object.defineProperty(exports, "AgentSteps", {
|
|
43672
43672
|
enumerable: true,
|
|
43673
|
-
get: function () { return
|
|
43673
|
+
get: function () { return chunkLO4CMUOY_cjs.AgentSteps; }
|
|
43674
43674
|
});
|
|
43675
43675
|
Object.defineProperty(exports, "AnswerTable", {
|
|
43676
43676
|
enumerable: true,
|
|
43677
|
-
get: function () { return
|
|
43677
|
+
get: function () { return chunkLO4CMUOY_cjs.AnswerTable; }
|
|
43678
43678
|
});
|
|
43679
43679
|
Object.defineProperty(exports, "ArbiChat", {
|
|
43680
43680
|
enumerable: true,
|
|
43681
|
-
get: function () { return
|
|
43681
|
+
get: function () { return chunkLO4CMUOY_cjs.ArbiChat; }
|
|
43682
43682
|
});
|
|
43683
43683
|
Object.defineProperty(exports, "AskAgainContext", {
|
|
43684
43684
|
enumerable: true,
|
|
43685
|
-
get: function () { return
|
|
43685
|
+
get: function () { return chunkLO4CMUOY_cjs.AskAgainContext; }
|
|
43686
43686
|
});
|
|
43687
43687
|
Object.defineProperty(exports, "ConnectedBranchControls", {
|
|
43688
43688
|
enumerable: true,
|
|
43689
|
-
get: function () { return
|
|
43689
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedBranchControls; }
|
|
43690
43690
|
});
|
|
43691
43691
|
Object.defineProperty(exports, "ConnectedCitationRenderer", {
|
|
43692
43692
|
enumerable: true,
|
|
43693
|
-
get: function () { return
|
|
43693
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedCitationRenderer; }
|
|
43694
43694
|
});
|
|
43695
43695
|
Object.defineProperty(exports, "ConnectedCompactConversation", {
|
|
43696
43696
|
enumerable: true,
|
|
43697
|
-
get: function () { return
|
|
43697
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedCompactConversation; }
|
|
43698
43698
|
});
|
|
43699
43699
|
Object.defineProperty(exports, "ConnectedCompactLogin", {
|
|
43700
43700
|
enumerable: true,
|
|
43701
|
-
get: function () { return
|
|
43701
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedCompactLogin; }
|
|
43702
43702
|
});
|
|
43703
43703
|
Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
|
|
43704
43704
|
enumerable: true,
|
|
43705
|
-
get: function () { return
|
|
43705
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedConversationDocumentPicker; }
|
|
43706
43706
|
});
|
|
43707
43707
|
Object.defineProperty(exports, "ConnectedDangerZone", {
|
|
43708
43708
|
enumerable: true,
|
|
43709
|
-
get: function () { return
|
|
43709
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedDangerZone; }
|
|
43710
43710
|
});
|
|
43711
43711
|
Object.defineProperty(exports, "ConnectedEmbeddedChat", {
|
|
43712
43712
|
enumerable: true,
|
|
43713
|
-
get: function () { return
|
|
43713
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedEmbeddedChat; }
|
|
43714
43714
|
});
|
|
43715
43715
|
Object.defineProperty(exports, "ConnectedForgotPassword", {
|
|
43716
43716
|
enumerable: true,
|
|
43717
|
-
get: function () { return
|
|
43717
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedForgotPassword; }
|
|
43718
43718
|
});
|
|
43719
43719
|
Object.defineProperty(exports, "ConnectedIdentityVerification", {
|
|
43720
43720
|
enumerable: true,
|
|
43721
|
-
get: function () { return
|
|
43721
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedIdentityVerification; }
|
|
43722
43722
|
});
|
|
43723
43723
|
Object.defineProperty(exports, "ConnectedLoginPage", {
|
|
43724
43724
|
enumerable: true,
|
|
43725
|
-
get: function () { return
|
|
43725
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedLoginPage; }
|
|
43726
43726
|
});
|
|
43727
43727
|
Object.defineProperty(exports, "ConnectedLogoutDialog", {
|
|
43728
43728
|
enumerable: true,
|
|
43729
|
-
get: function () { return
|
|
43729
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedLogoutDialog; }
|
|
43730
43730
|
});
|
|
43731
43731
|
Object.defineProperty(exports, "ConnectedMessage", {
|
|
43732
43732
|
enumerable: true,
|
|
43733
|
-
get: function () { return
|
|
43733
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedMessage; }
|
|
43734
43734
|
});
|
|
43735
43735
|
Object.defineProperty(exports, "ConnectedMessageArea", {
|
|
43736
43736
|
enumerable: true,
|
|
43737
|
-
get: function () { return
|
|
43737
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedMessageArea; }
|
|
43738
43738
|
});
|
|
43739
43739
|
Object.defineProperty(exports, "ConnectedMessageList", {
|
|
43740
43740
|
enumerable: true,
|
|
43741
|
-
get: function () { return
|
|
43741
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedMessageList; }
|
|
43742
43742
|
});
|
|
43743
43743
|
Object.defineProperty(exports, "ConnectedModelSelector", {
|
|
43744
43744
|
enumerable: true,
|
|
43745
|
-
get: function () { return
|
|
43745
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedModelSelector; }
|
|
43746
43746
|
});
|
|
43747
43747
|
Object.defineProperty(exports, "ConnectedNotificationPreferences", {
|
|
43748
43748
|
enumerable: true,
|
|
43749
|
-
get: function () { return
|
|
43749
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedNotificationPreferences; }
|
|
43750
43750
|
});
|
|
43751
43751
|
Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
|
|
43752
43752
|
enumerable: true,
|
|
43753
|
-
get: function () { return
|
|
43753
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedPasswordChangeDialog; }
|
|
43754
43754
|
});
|
|
43755
43755
|
Object.defineProperty(exports, "ConnectedProfileCard", {
|
|
43756
43756
|
enumerable: true,
|
|
43757
|
-
get: function () { return
|
|
43757
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedProfileCard; }
|
|
43758
43758
|
});
|
|
43759
43759
|
Object.defineProperty(exports, "ConnectedSecuritySection", {
|
|
43760
43760
|
enumerable: true,
|
|
43761
|
-
get: function () { return
|
|
43761
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedSecuritySection; }
|
|
43762
43762
|
});
|
|
43763
43763
|
Object.defineProperty(exports, "ConnectedSessionsRow", {
|
|
43764
43764
|
enumerable: true,
|
|
43765
|
-
get: function () { return
|
|
43765
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedSessionsRow; }
|
|
43766
43766
|
});
|
|
43767
43767
|
Object.defineProperty(exports, "ConnectedThreadsPreview", {
|
|
43768
43768
|
enumerable: true,
|
|
43769
|
-
get: function () { return
|
|
43769
|
+
get: function () { return chunkLO4CMUOY_cjs.ConnectedThreadsPreview; }
|
|
43770
43770
|
});
|
|
43771
43771
|
Object.defineProperty(exports, "ConversationComposer", {
|
|
43772
43772
|
enumerable: true,
|
|
43773
|
-
get: function () { return
|
|
43773
|
+
get: function () { return chunkLO4CMUOY_cjs.ConversationComposer; }
|
|
43774
43774
|
});
|
|
43775
43775
|
Object.defineProperty(exports, "EmbeddedChatPanel", {
|
|
43776
43776
|
enumerable: true,
|
|
43777
|
-
get: function () { return
|
|
43777
|
+
get: function () { return chunkLO4CMUOY_cjs.EmbeddedChatPanel; }
|
|
43778
43778
|
});
|
|
43779
43779
|
Object.defineProperty(exports, "MessageDetailsModal", {
|
|
43780
43780
|
enumerable: true,
|
|
43781
|
-
get: function () { return
|
|
43781
|
+
get: function () { return chunkLO4CMUOY_cjs.MessageDetailsModal; }
|
|
43782
43782
|
});
|
|
43783
43783
|
Object.defineProperty(exports, "MessageLiveSeconds", {
|
|
43784
43784
|
enumerable: true,
|
|
43785
|
-
get: function () { return
|
|
43785
|
+
get: function () { return chunkLO4CMUOY_cjs.MessageLiveSeconds; }
|
|
43786
43786
|
});
|
|
43787
43787
|
Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
|
|
43788
43788
|
enumerable: true,
|
|
43789
|
-
get: function () { return
|
|
43789
|
+
get: function () { return chunkLO4CMUOY_cjs.PENDING_RECOVERY_KEY; }
|
|
43790
43790
|
});
|
|
43791
43791
|
Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
|
|
43792
43792
|
enumerable: true,
|
|
43793
|
-
get: function () { return
|
|
43793
|
+
get: function () { return chunkLO4CMUOY_cjs.PREMIUM_TIER_TAG; }
|
|
43794
43794
|
});
|
|
43795
43795
|
Object.defineProperty(exports, "RunningSubagents", {
|
|
43796
43796
|
enumerable: true,
|
|
43797
|
-
get: function () { return
|
|
43797
|
+
get: function () { return chunkLO4CMUOY_cjs.RunningSubagents; }
|
|
43798
43798
|
});
|
|
43799
43799
|
Object.defineProperty(exports, "STANDARD_TIER_TAG", {
|
|
43800
43800
|
enumerable: true,
|
|
43801
|
-
get: function () { return
|
|
43801
|
+
get: function () { return chunkLO4CMUOY_cjs.STANDARD_TIER_TAG; }
|
|
43802
43802
|
});
|
|
43803
43803
|
Object.defineProperty(exports, "WorkflowStepMessage", {
|
|
43804
43804
|
enumerable: true,
|
|
43805
|
-
get: function () { return
|
|
43805
|
+
get: function () { return chunkLO4CMUOY_cjs.WorkflowStepMessage; }
|
|
43806
43806
|
});
|
|
43807
43807
|
Object.defineProperty(exports, "backUpOnSignup", {
|
|
43808
43808
|
enumerable: true,
|
|
43809
|
-
get: function () { return
|
|
43809
|
+
get: function () { return chunkLO4CMUOY_cjs.backUpOnSignup; }
|
|
43810
43810
|
});
|
|
43811
43811
|
Object.defineProperty(exports, "createRemoteControl", {
|
|
43812
43812
|
enumerable: true,
|
|
43813
|
-
get: function () { return
|
|
43813
|
+
get: function () { return chunkLO4CMUOY_cjs.createRemoteControl; }
|
|
43814
43814
|
});
|
|
43815
43815
|
Object.defineProperty(exports, "defaultHost", {
|
|
43816
43816
|
enumerable: true,
|
|
43817
|
-
get: function () { return
|
|
43817
|
+
get: function () { return chunkLO4CMUOY_cjs.defaultHost; }
|
|
43818
43818
|
});
|
|
43819
43819
|
Object.defineProperty(exports, "renderConnectedUser", {
|
|
43820
43820
|
enumerable: true,
|
|
43821
|
-
get: function () { return
|
|
43821
|
+
get: function () { return chunkLO4CMUOY_cjs.renderConnectedUser; }
|
|
43822
43822
|
});
|
|
43823
43823
|
Object.defineProperty(exports, "renderSessionStatusIcon", {
|
|
43824
43824
|
enumerable: true,
|
|
43825
|
-
get: function () { return
|
|
43825
|
+
get: function () { return chunkLO4CMUOY_cjs.renderSessionStatusIcon; }
|
|
43826
43826
|
});
|
|
43827
43827
|
Object.defineProperty(exports, "resolveSsoName", {
|
|
43828
43828
|
enumerable: true,
|
|
43829
|
-
get: function () { return
|
|
43829
|
+
get: function () { return chunkLO4CMUOY_cjs.resolveSsoName; }
|
|
43830
43830
|
});
|
|
43831
43831
|
Object.defineProperty(exports, "useAuthPages", {
|
|
43832
43832
|
enumerable: true,
|
|
43833
|
-
get: function () { return
|
|
43833
|
+
get: function () { return chunkLO4CMUOY_cjs.useAuthPages; }
|
|
43834
43834
|
});
|
|
43835
43835
|
Object.defineProperty(exports, "useContextualHints", {
|
|
43836
43836
|
enumerable: true,
|
|
43837
|
-
get: function () { return
|
|
43837
|
+
get: function () { return chunkLO4CMUOY_cjs.useContextualHints; }
|
|
43838
43838
|
});
|
|
43839
43839
|
Object.defineProperty(exports, "useModelPicker", {
|
|
43840
43840
|
enumerable: true,
|
|
43841
|
-
get: function () { return
|
|
43841
|
+
get: function () { return chunkLO4CMUOY_cjs.useModelPicker; }
|
|
43842
43842
|
});
|
|
43843
43843
|
Object.defineProperty(exports, "useOpenChunk", {
|
|
43844
43844
|
enumerable: true,
|
|
43845
|
-
get: function () { return
|
|
43845
|
+
get: function () { return chunkLO4CMUOY_cjs.useOpenChunk; }
|
|
43846
43846
|
});
|
|
43847
43847
|
Object.defineProperty(exports, "useOpenWorkspaceIcon", {
|
|
43848
43848
|
enumerable: true,
|
|
43849
|
-
get: function () { return
|
|
43849
|
+
get: function () { return chunkLO4CMUOY_cjs.useOpenWorkspaceIcon; }
|
|
43850
43850
|
});
|
|
43851
43851
|
Object.defineProperty(exports, "useRemoteControlActions", {
|
|
43852
43852
|
enumerable: true,
|
|
43853
|
-
get: function () { return
|
|
43853
|
+
get: function () { return chunkLO4CMUOY_cjs.useRemoteControlActions; }
|
|
43854
43854
|
});
|
|
43855
43855
|
Object.defineProperty(exports, "useRemoteControlHandlers", {
|
|
43856
43856
|
enumerable: true,
|
|
43857
|
-
get: function () { return
|
|
43857
|
+
get: function () { return chunkLO4CMUOY_cjs.useRemoteControlHandlers; }
|
|
43858
43858
|
});
|
|
43859
43859
|
Object.defineProperty(exports, "useSsoSignIn", {
|
|
43860
43860
|
enumerable: true,
|
|
43861
|
-
get: function () { return
|
|
43861
|
+
get: function () { return chunkLO4CMUOY_cjs.useSsoSignIn; }
|
|
43862
43862
|
});
|
|
43863
43863
|
Object.defineProperty(exports, "useWorkspaceDocTitles", {
|
|
43864
43864
|
enumerable: true,
|
|
43865
|
-
get: function () { return
|
|
43865
|
+
get: function () { return chunkLO4CMUOY_cjs.useWorkspaceDocTitles; }
|
|
43866
43866
|
});
|
|
43867
43867
|
Object.defineProperty(exports, "ConnectedWorkflowStart", {
|
|
43868
43868
|
enumerable: true,
|
|
@@ -43894,11 +43894,11 @@ Object.defineProperty(exports, "useSlashSkillWorkflows", {
|
|
|
43894
43894
|
});
|
|
43895
43895
|
Object.defineProperty(exports, "useConnectedThreadActivity", {
|
|
43896
43896
|
enumerable: true,
|
|
43897
|
-
get: function () { return
|
|
43897
|
+
get: function () { return chunkXHN5KOI2_cjs.useConnectedThreadActivity; }
|
|
43898
43898
|
});
|
|
43899
43899
|
Object.defineProperty(exports, "DocumentUser", {
|
|
43900
43900
|
enumerable: true,
|
|
43901
|
-
get: function () { return
|
|
43901
|
+
get: function () { return chunkRBI7WVEP_cjs.DocumentUser; }
|
|
43902
43902
|
});
|
|
43903
43903
|
Object.defineProperty(exports, "useCanBrowseSkills", {
|
|
43904
43904
|
enumerable: true,
|
|
@@ -43930,23 +43930,23 @@ Object.defineProperty(exports, "SELECTED_WORKSPACE_KEY", {
|
|
|
43930
43930
|
});
|
|
43931
43931
|
Object.defineProperty(exports, "ConnectedWorkflowsTable", {
|
|
43932
43932
|
enumerable: true,
|
|
43933
|
-
get: function () { return
|
|
43933
|
+
get: function () { return chunkOGTRUW35_cjs.ConnectedWorkflowsTable; }
|
|
43934
43934
|
});
|
|
43935
43935
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS", {
|
|
43936
43936
|
enumerable: true,
|
|
43937
|
-
get: function () { return
|
|
43937
|
+
get: function () { return chunkOGTRUW35_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
|
|
43938
43938
|
});
|
|
43939
43939
|
Object.defineProperty(exports, "useConnectedWorkspaceRole", {
|
|
43940
43940
|
enumerable: true,
|
|
43941
|
-
get: function () { return
|
|
43941
|
+
get: function () { return chunkOGTRUW35_cjs.useConnectedWorkspaceRole; }
|
|
43942
43942
|
});
|
|
43943
43943
|
Object.defineProperty(exports, "useDocxCommentTarget", {
|
|
43944
43944
|
enumerable: true,
|
|
43945
|
-
get: function () { return
|
|
43945
|
+
get: function () { return chunkOGTRUW35_cjs.useDocxCommentTarget; }
|
|
43946
43946
|
});
|
|
43947
43947
|
Object.defineProperty(exports, "useNativeDocxSupport", {
|
|
43948
43948
|
enumerable: true,
|
|
43949
|
-
get: function () { return
|
|
43949
|
+
get: function () { return chunkOGTRUW35_cjs.useNativeDocxSupport; }
|
|
43950
43950
|
});
|
|
43951
43951
|
Object.defineProperty(exports, "useOpenWorkflow", {
|
|
43952
43952
|
enumerable: true,
|
|
@@ -43994,35 +43994,35 @@ Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
|
|
|
43994
43994
|
});
|
|
43995
43995
|
Object.defineProperty(exports, "FILES_PREFS_KEY", {
|
|
43996
43996
|
enumerable: true,
|
|
43997
|
-
get: function () { return
|
|
43997
|
+
get: function () { return chunk6NSKIS35_cjs.FILES_PREFS_KEY; }
|
|
43998
43998
|
});
|
|
43999
43999
|
Object.defineProperty(exports, "filesViewMode", {
|
|
44000
44000
|
enumerable: true,
|
|
44001
|
-
get: function () { return
|
|
44001
|
+
get: function () { return chunk6NSKIS35_cjs.filesViewMode; }
|
|
44002
44002
|
});
|
|
44003
44003
|
Object.defineProperty(exports, "useAiReviewStore", {
|
|
44004
44004
|
enumerable: true,
|
|
44005
|
-
get: function () { return
|
|
44005
|
+
get: function () { return chunk6NSKIS35_cjs.useAiReviewStore; }
|
|
44006
44006
|
});
|
|
44007
44007
|
Object.defineProperty(exports, "useFilesDialogs", {
|
|
44008
44008
|
enumerable: true,
|
|
44009
|
-
get: function () { return
|
|
44009
|
+
get: function () { return chunk6NSKIS35_cjs.useFilesDialogs; }
|
|
44010
44010
|
});
|
|
44011
44011
|
Object.defineProperty(exports, "useFilesGridStates", {
|
|
44012
44012
|
enumerable: true,
|
|
44013
|
-
get: function () { return
|
|
44013
|
+
get: function () { return chunk6NSKIS35_cjs.useFilesGridStates; }
|
|
44014
44014
|
});
|
|
44015
44015
|
Object.defineProperty(exports, "useFilesPrefs", {
|
|
44016
44016
|
enumerable: true,
|
|
44017
|
-
get: function () { return
|
|
44017
|
+
get: function () { return chunk6NSKIS35_cjs.useFilesPrefs; }
|
|
44018
44018
|
});
|
|
44019
44019
|
Object.defineProperty(exports, "useFilesStore", {
|
|
44020
44020
|
enumerable: true,
|
|
44021
|
-
get: function () { return
|
|
44021
|
+
get: function () { return chunk6NSKIS35_cjs.useFilesStore; }
|
|
44022
44022
|
});
|
|
44023
44023
|
Object.defineProperty(exports, "usePendingFolders", {
|
|
44024
44024
|
enumerable: true,
|
|
44025
|
-
get: function () { return
|
|
44025
|
+
get: function () { return chunk6NSKIS35_cjs.usePendingFolders; }
|
|
44026
44026
|
});
|
|
44027
44027
|
Object.defineProperty(exports, "ConnectedMarkdown", {
|
|
44028
44028
|
enumerable: true,
|
|
@@ -44054,67 +44054,67 @@ Object.defineProperty(exports, "useDocumentWorkspace", {
|
|
|
44054
44054
|
});
|
|
44055
44055
|
Object.defineProperty(exports, "ConnectedPendingSyncDialog", {
|
|
44056
44056
|
enumerable: true,
|
|
44057
|
-
get: function () { return
|
|
44057
|
+
get: function () { return chunkIWLNDDPN_cjs.ConnectedPendingSyncDialog; }
|
|
44058
44058
|
});
|
|
44059
44059
|
Object.defineProperty(exports, "DocumentFolderCell", {
|
|
44060
44060
|
enumerable: true,
|
|
44061
|
-
get: function () { return
|
|
44061
|
+
get: function () { return chunkIWLNDDPN_cjs.DocumentFolderCell; }
|
|
44062
44062
|
});
|
|
44063
44063
|
Object.defineProperty(exports, "DocumentLabelsCell", {
|
|
44064
44064
|
enumerable: true,
|
|
44065
|
-
get: function () { return
|
|
44065
|
+
get: function () { return chunkIWLNDDPN_cjs.DocumentLabelsCell; }
|
|
44066
44066
|
});
|
|
44067
44067
|
Object.defineProperty(exports, "DocumentNameCell", {
|
|
44068
44068
|
enumerable: true,
|
|
44069
|
-
get: function () { return
|
|
44069
|
+
get: function () { return chunkIWLNDDPN_cjs.DocumentNameCell; }
|
|
44070
44070
|
});
|
|
44071
44071
|
Object.defineProperty(exports, "DocumentSharedCell", {
|
|
44072
44072
|
enumerable: true,
|
|
44073
|
-
get: function () { return
|
|
44073
|
+
get: function () { return chunkIWLNDDPN_cjs.DocumentSharedCell; }
|
|
44074
44074
|
});
|
|
44075
44075
|
Object.defineProperty(exports, "DocumentStatusGlyph", {
|
|
44076
44076
|
enumerable: true,
|
|
44077
|
-
get: function () { return
|
|
44077
|
+
get: function () { return chunkIWLNDDPN_cjs.DocumentStatusGlyph; }
|
|
44078
44078
|
});
|
|
44079
44079
|
Object.defineProperty(exports, "DocumentSyncGlyph", {
|
|
44080
44080
|
enumerable: true,
|
|
44081
|
-
get: function () { return
|
|
44081
|
+
get: function () { return chunkIWLNDDPN_cjs.DocumentSyncGlyph; }
|
|
44082
44082
|
});
|
|
44083
44083
|
Object.defineProperty(exports, "FileTooltipContent", {
|
|
44084
44084
|
enumerable: true,
|
|
44085
|
-
get: function () { return
|
|
44085
|
+
get: function () { return chunkIWLNDDPN_cjs.FileTooltipContent; }
|
|
44086
44086
|
});
|
|
44087
44087
|
Object.defineProperty(exports, "RelatedDocumentsCell", {
|
|
44088
44088
|
enumerable: true,
|
|
44089
|
-
get: function () { return
|
|
44089
|
+
get: function () { return chunkIWLNDDPN_cjs.RelatedDocumentsCell; }
|
|
44090
44090
|
});
|
|
44091
44091
|
Object.defineProperty(exports, "StatusCell", {
|
|
44092
44092
|
enumerable: true,
|
|
44093
|
-
get: function () { return
|
|
44093
|
+
get: function () { return chunkIWLNDDPN_cjs.StatusCell; }
|
|
44094
44094
|
});
|
|
44095
44095
|
Object.defineProperty(exports, "UserAvatar", {
|
|
44096
44096
|
enumerable: true,
|
|
44097
|
-
get: function () { return
|
|
44097
|
+
get: function () { return chunkIWLNDDPN_cjs.UserAvatar; }
|
|
44098
44098
|
});
|
|
44099
44099
|
Object.defineProperty(exports, "isActiveDocumentStatus", {
|
|
44100
44100
|
enumerable: true,
|
|
44101
|
-
get: function () { return
|
|
44101
|
+
get: function () { return chunkIWLNDDPN_cjs.isActiveDocumentStatus; }
|
|
44102
44102
|
});
|
|
44103
44103
|
Object.defineProperty(exports, "openPendingSyncDialog", {
|
|
44104
44104
|
enumerable: true,
|
|
44105
|
-
get: function () { return
|
|
44105
|
+
get: function () { return chunkIWLNDDPN_cjs.openPendingSyncDialog; }
|
|
44106
44106
|
});
|
|
44107
44107
|
Object.defineProperty(exports, "parseQuotaError", {
|
|
44108
44108
|
enumerable: true,
|
|
44109
|
-
get: function () { return
|
|
44109
|
+
get: function () { return chunkIWLNDDPN_cjs.parseQuotaError; }
|
|
44110
44110
|
});
|
|
44111
44111
|
Object.defineProperty(exports, "startMenuItem", {
|
|
44112
44112
|
enumerable: true,
|
|
44113
|
-
get: function () { return
|
|
44113
|
+
get: function () { return chunkIWLNDDPN_cjs.startMenuItem; }
|
|
44114
44114
|
});
|
|
44115
44115
|
Object.defineProperty(exports, "useDocumentFolders", {
|
|
44116
44116
|
enumerable: true,
|
|
44117
|
-
get: function () { return
|
|
44117
|
+
get: function () { return chunkIWLNDDPN_cjs.useDocumentFolders; }
|
|
44118
44118
|
});
|
|
44119
44119
|
Object.defineProperty(exports, "useMeetingThreadMessages", {
|
|
44120
44120
|
enumerable: true,
|