@arbidocs/blocks 0.5.175 → 0.5.176
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-LW7S4ROJ.cjs → ConnectedCallDock-KD5LWW2E.cjs} +5 -5
- package/dist/{ConnectedCallDock-LW7S4ROJ.cjs.map → ConnectedCallDock-KD5LWW2E.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-YXJUNNUX.cjs → ConnectedCallRoom-GSMF7ZUE.cjs} +5 -5
- package/dist/{ConnectedCallRoom-YXJUNNUX.cjs.map → ConnectedCallRoom-GSMF7ZUE.cjs.map} +1 -1
- package/dist/ConnectedNativeDocxComparison-AAQJZYZH.cjs +1 -1
- package/dist/ConnectedStreamedWordArtifact-CSNA2CJD.cjs +1 -1
- package/dist/{DocumentReviewCard-LOUVMFRX.cjs → DocumentReviewCard-SOEYIMRO.cjs} +12 -12
- package/dist/{DocumentReviewCard-LOUVMFRX.cjs.map → DocumentReviewCard-SOEYIMRO.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-2NZR4MHD.cjs → FilesViewerDialog-RRAVDDN4.cjs} +8 -8
- package/dist/{FilesViewerDialog-2NZR4MHD.cjs.map → FilesViewerDialog-RRAVDDN4.cjs.map} +1 -1
- package/dist/agents/index.cjs +162 -162
- package/dist/{ai-NZKIMYW5.cjs → ai-XIT4MY3S.cjs} +13 -13
- package/dist/ai-XIT4MY3S.cjs.map +1 -0
- package/dist/calls/index.cjs +2 -2
- package/dist/chat/CitationMark.js +3 -2
- package/dist/chat/CitationMark.js.map +2 -2
- package/dist/chat/index.cjs +25 -25
- package/dist/chat/passage-text.d.ts +6 -0
- package/dist/chat/passage-text.js +8 -0
- package/dist/chat/passage-text.js.map +7 -0
- package/dist/{chunk-OIMDCS4Y.cjs → chunk-2TLEQBTM.cjs} +5 -5
- package/dist/{chunk-OIMDCS4Y.cjs.map → chunk-2TLEQBTM.cjs.map} +1 -1
- package/dist/{chunk-7TEHA3JK.cjs → chunk-6CPJ5ZOY.cjs} +9 -4
- package/dist/chunk-6CPJ5ZOY.cjs.map +1 -0
- package/dist/{chunk-A257IJ5J.cjs → chunk-6EJ7KD4U.cjs} +6 -6
- package/dist/{chunk-A257IJ5J.cjs.map → chunk-6EJ7KD4U.cjs.map} +1 -1
- package/dist/{chunk-EBY2JHL3.cjs → chunk-77FZT7AP.cjs} +55 -54
- package/dist/chunk-77FZT7AP.cjs.map +1 -0
- package/dist/{chunk-ZSQZZGC7.cjs → chunk-77MAR6Y4.cjs} +5 -5
- package/dist/{chunk-ZSQZZGC7.cjs.map → chunk-77MAR6Y4.cjs.map} +1 -1
- package/dist/{chunk-PUKLWHV6.cjs → chunk-AYK3BLUB.cjs} +3 -3
- package/dist/{chunk-PUKLWHV6.cjs.map → chunk-AYK3BLUB.cjs.map} +1 -1
- package/dist/{chunk-DVRAM3J4.cjs → chunk-IXKLARPD.cjs} +4 -4
- package/dist/{chunk-DVRAM3J4.cjs.map → chunk-IXKLARPD.cjs.map} +1 -1
- package/dist/{chunk-NFXHBTAO.cjs → chunk-J7LSWWA3.cjs} +4 -4
- package/dist/{chunk-NFXHBTAO.cjs.map → chunk-J7LSWWA3.cjs.map} +1 -1
- package/dist/{chunk-5G33DATM.cjs → chunk-N2YNXFT4.cjs} +42 -39
- package/dist/chunk-N2YNXFT4.cjs.map +1 -0
- package/dist/{chunk-7OMRSZOJ.cjs → chunk-OABDY4YO.cjs} +28 -28
- package/dist/{chunk-7OMRSZOJ.cjs.map → chunk-OABDY4YO.cjs.map} +1 -1
- package/dist/{chunk-NTQJHLYM.cjs → chunk-P3PTSXGJ.cjs} +4 -4
- package/dist/{chunk-NTQJHLYM.cjs.map → chunk-P3PTSXGJ.cjs.map} +1 -1
- package/dist/{chunk-HSYRI3JQ.cjs → chunk-POUMLXMJ.cjs} +6 -6
- package/dist/{chunk-HSYRI3JQ.cjs.map → chunk-POUMLXMJ.cjs.map} +1 -1
- package/dist/{chunk-6DHDITKK.cjs → chunk-QEEK2Z5T.cjs} +27 -18
- package/dist/chunk-QEEK2Z5T.cjs.map +1 -0
- package/dist/{chunk-VCVB2OP7.cjs → chunk-TUTPAAFH.cjs} +8 -8
- package/dist/{chunk-VCVB2OP7.cjs.map → chunk-TUTPAAFH.cjs.map} +1 -1
- package/dist/{chunk-ZT6C4MNX.cjs → chunk-UC6Z7E6C.cjs} +4 -4
- package/dist/{chunk-ZT6C4MNX.cjs.map → chunk-UC6Z7E6C.cjs.map} +1 -1
- package/dist/{chunk-SZ4U6GYC.cjs → chunk-VNK4HCHH.cjs} +26 -26
- package/dist/{chunk-SZ4U6GYC.cjs.map → chunk-VNK4HCHH.cjs.map} +1 -1
- package/dist/{chunk-DI6UEQCZ.cjs → chunk-XBM6TVZL.cjs} +4 -4
- package/dist/{chunk-DI6UEQCZ.cjs.map → chunk-XBM6TVZL.cjs.map} +1 -1
- package/dist/connect/docx.cjs +1 -1
- package/dist/connect/index.cjs +634 -634
- package/dist/connect/viewer.cjs +6 -6
- package/dist/connection/files/explorer/FileTiles.js +6 -3
- package/dist/connection/files/explorer/FileTiles.js.map +2 -2
- package/dist/connection/viewer/ConnectedDocumentViewer.js +2 -1
- package/dist/connection/viewer/ConnectedDocumentViewer.js.map +2 -2
- package/dist/connection/viewer/useViewerTabs.d.ts +1 -1
- package/dist/connection/viewer/useViewerTabs.js +2 -2
- package/dist/connection/viewer/useViewerTabs.js.map +2 -2
- package/dist/embed/index.cjs +12 -12
- package/dist/files/ExplorerTile.d.ts +7 -0
- package/dist/files/ExplorerTile.js +17 -14
- package/dist/files/ExplorerTile.js.map +2 -2
- package/dist/files/ViewerChrome.js +1 -1
- package/dist/files/ViewerChrome.js.map +2 -2
- package/dist/files/ViewerParts.d.ts +6 -1
- package/dist/files/ViewerParts.js +9 -2
- package/dist/files/ViewerParts.js.map +2 -2
- package/dist/files/index.cjs +226 -226
- package/dist/index.cjs +240 -240
- package/dist/pages/index.cjs +17 -17
- package/dist/site/index.cjs +5 -5
- package/dist/studio/index.cjs +5 -5
- package/dist/styles.css +1 -1
- package/dist/workflow-canvas/index.cjs +21 -21
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ai-NZKIMYW5.cjs.map +0 -1
- package/dist/chunk-5G33DATM.cjs.map +0 -1
- package/dist/chunk-6DHDITKK.cjs.map +0 -1
- package/dist/chunk-7TEHA3JK.cjs.map +0 -1
- package/dist/chunk-EBY2JHL3.cjs.map +0 -1
package/dist/connect/index.cjs
CHANGED
|
@@ -2,33 +2,33 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkHHZDURXN_cjs = require('../chunk-HHZDURXN.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkOABDY4YO_cjs = require('../chunk-OABDY4YO.cjs');
|
|
6
6
|
var chunkXKXKEVHH_cjs = require('../chunk-XKXKEVHH.cjs');
|
|
7
7
|
var chunkTAGA6LNP_cjs = require('../chunk-TAGA6LNP.cjs');
|
|
8
8
|
var chunk6AFAYGJW_cjs = require('../chunk-6AFAYGJW.cjs');
|
|
9
9
|
var chunk5GCCUXMT_cjs = require('../chunk-5GCCUXMT.cjs');
|
|
10
10
|
var chunkWHHBEV4G_cjs = require('../chunk-WHHBEV4G.cjs');
|
|
11
11
|
var chunkXYN3RP5W_cjs = require('../chunk-XYN3RP5W.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunk2TLEQBTM_cjs = require('../chunk-2TLEQBTM.cjs');
|
|
13
13
|
require('../chunk-DWRUGOTQ.cjs');
|
|
14
|
-
var
|
|
15
|
-
var
|
|
14
|
+
var chunkUC6Z7E6C_cjs = require('../chunk-UC6Z7E6C.cjs');
|
|
15
|
+
var chunkVNK4HCHH_cjs = require('../chunk-VNK4HCHH.cjs');
|
|
16
16
|
var chunk32W2S6DE_cjs = require('../chunk-32W2S6DE.cjs');
|
|
17
17
|
var chunk6OPDKROP_cjs = require('../chunk-6OPDKROP.cjs');
|
|
18
18
|
require('../chunk-KD66CBYO.cjs');
|
|
19
|
-
var
|
|
19
|
+
var chunkTUTPAAFH_cjs = require('../chunk-TUTPAAFH.cjs');
|
|
20
20
|
var chunk7GVKG3G4_cjs = require('../chunk-7GVKG3G4.cjs');
|
|
21
21
|
var chunkOHWYQI3B_cjs = require('../chunk-OHWYQI3B.cjs');
|
|
22
|
-
var
|
|
23
|
-
var
|
|
22
|
+
var chunkP3PTSXGJ_cjs = require('../chunk-P3PTSXGJ.cjs');
|
|
23
|
+
var chunkJ7LSWWA3_cjs = require('../chunk-J7LSWWA3.cjs');
|
|
24
24
|
var chunkER2MRSLT_cjs = require('../chunk-ER2MRSLT.cjs');
|
|
25
|
+
var chunkFUKN3PI5_cjs = require('../chunk-FUKN3PI5.cjs');
|
|
26
|
+
var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
|
|
25
27
|
var chunkDSLMJ24E_cjs = require('../chunk-DSLMJ24E.cjs');
|
|
26
28
|
var chunkE5TPRRAW_cjs = require('../chunk-E5TPRRAW.cjs');
|
|
27
29
|
require('../chunk-UMMZNZV3.cjs');
|
|
28
30
|
var chunkUNSZLNA4_cjs = require('../chunk-UNSZLNA4.cjs');
|
|
29
31
|
require('../chunk-AEQT2QQX.cjs');
|
|
30
|
-
var chunkFUKN3PI5_cjs = require('../chunk-FUKN3PI5.cjs');
|
|
31
|
-
var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
|
|
32
32
|
var chunkSFRKKPBB_cjs = require('../chunk-SFRKKPBB.cjs');
|
|
33
33
|
require('../chunk-XNW62J54.cjs');
|
|
34
34
|
var chunkVG5XNE4H_cjs = require('../chunk-VG5XNE4H.cjs');
|
|
@@ -37,16 +37,16 @@ var chunk4CIVQWAX_cjs = require('../chunk-4CIVQWAX.cjs');
|
|
|
37
37
|
var chunkQWVUBTW3_cjs = require('../chunk-QWVUBTW3.cjs');
|
|
38
38
|
var chunkJVEDKKNO_cjs = require('../chunk-JVEDKKNO.cjs');
|
|
39
39
|
var chunkJ5CBCUQE_cjs = require('../chunk-J5CBCUQE.cjs');
|
|
40
|
-
var
|
|
40
|
+
var chunkXBM6TVZL_cjs = require('../chunk-XBM6TVZL.cjs');
|
|
41
41
|
var chunkD4SJT3NG_cjs = require('../chunk-D4SJT3NG.cjs');
|
|
42
42
|
require('../chunk-OUYBYZ7Y.cjs');
|
|
43
43
|
var chunkH4N6BZNU_cjs = require('../chunk-H4N6BZNU.cjs');
|
|
44
|
-
var
|
|
44
|
+
var chunkN2YNXFT4_cjs = require('../chunk-N2YNXFT4.cjs');
|
|
45
45
|
var chunkJEHGTPS2_cjs = require('../chunk-JEHGTPS2.cjs');
|
|
46
46
|
require('../chunk-WJIAA6G3.cjs');
|
|
47
47
|
require('../chunk-JWCVA4LC.cjs');
|
|
48
48
|
var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
|
|
49
|
-
var
|
|
49
|
+
var chunkQEEK2Z5T_cjs = require('../chunk-QEEK2Z5T.cjs');
|
|
50
50
|
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
51
51
|
require('../chunk-DTMBAFIL.cjs');
|
|
52
52
|
var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
|
|
@@ -62,7 +62,7 @@ require('../chunk-QEMGGJB6.cjs');
|
|
|
62
62
|
var chunkUTYEXDJK_cjs = require('../chunk-UTYEXDJK.cjs');
|
|
63
63
|
var chunkN33U2SB5_cjs = require('../chunk-N33U2SB5.cjs');
|
|
64
64
|
require('../chunk-MWHVETKN.cjs');
|
|
65
|
-
var
|
|
65
|
+
var chunk77MAR6Y4_cjs = require('../chunk-77MAR6Y4.cjs');
|
|
66
66
|
var chunkI6GEQWIV_cjs = require('../chunk-I6GEQWIV.cjs');
|
|
67
67
|
var chunkNX56DIG3_cjs = require('../chunk-NX56DIG3.cjs');
|
|
68
68
|
var chunkTLIZD6DV_cjs = require('../chunk-TLIZD6DV.cjs');
|
|
@@ -70,15 +70,15 @@ require('../chunk-NEGFHF3V.cjs');
|
|
|
70
70
|
var chunkZ3LFF3YT_cjs = require('../chunk-Z3LFF3YT.cjs');
|
|
71
71
|
var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
|
|
72
72
|
var chunk4B6HYQTW_cjs = require('../chunk-4B6HYQTW.cjs');
|
|
73
|
-
require('../chunk-PCB2BPN3.cjs');
|
|
74
73
|
var chunk5K6XHSAM_cjs = require('../chunk-5K6XHSAM.cjs');
|
|
75
74
|
var chunkADMNU2CR_cjs = require('../chunk-ADMNU2CR.cjs');
|
|
75
|
+
require('../chunk-PCB2BPN3.cjs');
|
|
76
76
|
var chunkTNVCTYZI_cjs = require('../chunk-TNVCTYZI.cjs');
|
|
77
77
|
require('../chunk-7G2LJMUG.cjs');
|
|
78
78
|
var chunkKLMNCBLY_cjs = require('../chunk-KLMNCBLY.cjs');
|
|
79
|
-
var
|
|
79
|
+
var chunk6EJ7KD4U_cjs = require('../chunk-6EJ7KD4U.cjs');
|
|
80
80
|
require('../chunk-UXGIMOIN.cjs');
|
|
81
|
-
var
|
|
81
|
+
var chunk6CPJ5ZOY_cjs = require('../chunk-6CPJ5ZOY.cjs');
|
|
82
82
|
var chunkW5JTACMK_cjs = require('../chunk-W5JTACMK.cjs');
|
|
83
83
|
var chunkZHLBTIJJ_cjs = require('../chunk-ZHLBTIJJ.cjs');
|
|
84
84
|
require('../chunk-5F4DCIHS.cjs');
|
|
@@ -110,7 +110,7 @@ var chunkC25KF2TM_cjs = require('../chunk-C25KF2TM.cjs');
|
|
|
110
110
|
var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
|
|
111
111
|
require('../chunk-OEJQFPWO.cjs');
|
|
112
112
|
require('../chunk-BQOL4XNZ.cjs');
|
|
113
|
-
var
|
|
113
|
+
var chunkAYK3BLUB_cjs = require('../chunk-AYK3BLUB.cjs');
|
|
114
114
|
var chunkCYN66TBO_cjs = require('../chunk-CYN66TBO.cjs');
|
|
115
115
|
var chunkBH322H5B_cjs = require('../chunk-BH322H5B.cjs');
|
|
116
116
|
var chunk2K5DLB7B_cjs = require('../chunk-2K5DLB7B.cjs');
|
|
@@ -128,9 +128,9 @@ require('../chunk-3YEXZX4H.cjs');
|
|
|
128
128
|
var chunk4PA6VCCR_cjs = require('../chunk-4PA6VCCR.cjs');
|
|
129
129
|
require('../chunk-5FSULBPE.cjs');
|
|
130
130
|
require('../chunk-AHDJXIUB.cjs');
|
|
131
|
-
var chunkIXCWZ4HC_cjs = require('../chunk-IXCWZ4HC.cjs');
|
|
132
131
|
var chunkS3GVFAFB_cjs = require('../chunk-S3GVFAFB.cjs');
|
|
133
132
|
var chunk6UZC4XVV_cjs = require('../chunk-6UZC4XVV.cjs');
|
|
133
|
+
var chunkIXCWZ4HC_cjs = require('../chunk-IXCWZ4HC.cjs');
|
|
134
134
|
var chunkDKY67DA6_cjs = require('../chunk-DKY67DA6.cjs');
|
|
135
135
|
var chunkY3GJBLAI_cjs = require('../chunk-Y3GJBLAI.cjs');
|
|
136
136
|
var chunkSQCCQU3K_cjs = require('../chunk-SQCCQU3K.cjs');
|
|
@@ -277,7 +277,7 @@ function ConnectedWorkspaceActivity({
|
|
|
277
277
|
[feed.data]
|
|
278
278
|
);
|
|
279
279
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
280
|
-
|
|
280
|
+
chunk77MAR6Y4_cjs.WorkspaceActivityList,
|
|
281
281
|
{
|
|
282
282
|
...listProps,
|
|
283
283
|
items,
|
|
@@ -336,7 +336,7 @@ async function joinEvent({ arbi, environment }, eventId, recurrenceId) {
|
|
|
336
336
|
const event = await arbi.calendar.getEvent(eventId, recurrenceId);
|
|
337
337
|
const url = event.conference?.url;
|
|
338
338
|
if (url && /^https?:\/\//i.test(url)) {
|
|
339
|
-
await
|
|
339
|
+
await chunk2TLEQBTM_cjs.joinEventMeeting(arbi, url);
|
|
340
340
|
return;
|
|
341
341
|
}
|
|
342
342
|
} catch {
|
|
@@ -1068,7 +1068,7 @@ function ConnectedNotificationCenter({ headerRight }) {
|
|
|
1068
1068
|
renderWorkspace: (workspaceId) => {
|
|
1069
1069
|
const workspace = byId.get(workspaceId);
|
|
1070
1070
|
return workspace ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1071
|
-
|
|
1071
|
+
chunk2TLEQBTM_cjs.ConnectedWorkspaceEntity,
|
|
1072
1072
|
{
|
|
1073
1073
|
workspace,
|
|
1074
1074
|
size: 16,
|
|
@@ -1197,14 +1197,14 @@ function ConnectedOfflineStatus({ compact = false }) {
|
|
|
1197
1197
|
const openOutbox = () => openMail?.(outbox.length > 0 ? { folder: outboxFolder } : void 0);
|
|
1198
1198
|
let tone;
|
|
1199
1199
|
let label;
|
|
1200
|
-
let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox :
|
|
1200
|
+
let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunkN2YNXFT4_cjs.openPendingSyncDialog;
|
|
1201
1201
|
if (!isOnline) {
|
|
1202
1202
|
tone = "offline";
|
|
1203
1203
|
label = waiting > 0 ? `Offline \xB7 ${waiting} pending` : "Offline";
|
|
1204
1204
|
} else if (failed > 0) {
|
|
1205
1205
|
tone = "failed";
|
|
1206
1206
|
label = `${plural2(failed, "change", "changes")} didn\u2019t sync`;
|
|
1207
|
-
onOpen =
|
|
1207
|
+
onOpen = chunkN2YNXFT4_cjs.openPendingSyncDialog;
|
|
1208
1208
|
} else if (outboxFailed > 0) {
|
|
1209
1209
|
tone = "failed";
|
|
1210
1210
|
label = `${plural2(outboxFailed, "email", "emails")} not sent`;
|
|
@@ -1336,7 +1336,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1336
1336
|
onChange: (e) => {
|
|
1337
1337
|
const file = e.target.files?.[0];
|
|
1338
1338
|
e.target.value = "";
|
|
1339
|
-
if (file) void add(() =>
|
|
1339
|
+
if (file) void add(() => chunkAYK3BLUB_cjs.importSkillFile(file));
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
1342
|
),
|
|
@@ -1361,7 +1361,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1361
1361
|
className: "space-y-2",
|
|
1362
1362
|
onSubmit: (e) => {
|
|
1363
1363
|
e.preventDefault();
|
|
1364
|
-
if (url.trim()) void add(() =>
|
|
1364
|
+
if (url.trim()) void add(() => chunkAYK3BLUB_cjs.importSkillFromUrl(url));
|
|
1365
1365
|
},
|
|
1366
1366
|
children: [
|
|
1367
1367
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
|
|
@@ -1429,9 +1429,9 @@ function ConnectedSkillsLibrary({
|
|
|
1429
1429
|
const [type, setType] = react.useState("all");
|
|
1430
1430
|
const [view, setView] = react.useState("gallery");
|
|
1431
1431
|
const [isBusy, setIsBusy] = react.useState(false);
|
|
1432
|
-
const all = react.useMemo(() =>
|
|
1432
|
+
const all = react.useMemo(() => chunkAYK3BLUB_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
|
|
1433
1433
|
const shown = react.useMemo(
|
|
1434
|
-
() =>
|
|
1434
|
+
() => chunkAYK3BLUB_cjs.filterLibrarySkills(all, { query, source, type }),
|
|
1435
1435
|
[all, query, source, type]
|
|
1436
1436
|
);
|
|
1437
1437
|
const current = all.find((s) => s.slug === selected) ?? null;
|
|
@@ -1442,21 +1442,21 @@ function ConnectedSkillsLibrary({
|
|
|
1442
1442
|
const count2 = (s) => all.filter((x) => x.source === s).length;
|
|
1443
1443
|
const sourceOptions = [
|
|
1444
1444
|
{ id: "all", label: "All", count: all.length },
|
|
1445
|
-
{ id: "builtin", label:
|
|
1446
|
-
{ id: "mine", label:
|
|
1447
|
-
{ id: "shared", label:
|
|
1445
|
+
{ id: "builtin", label: chunkAYK3BLUB_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
|
|
1446
|
+
{ id: "mine", label: chunkAYK3BLUB_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
|
|
1447
|
+
{ id: "shared", label: chunkAYK3BLUB_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
|
|
1448
1448
|
];
|
|
1449
1449
|
const types = [...new Set(all.map((s) => s.type))];
|
|
1450
1450
|
const typeOptions = [
|
|
1451
1451
|
{ id: "all", label: "Any kind" },
|
|
1452
|
-
...types.map((t) => ({ id: t, label:
|
|
1452
|
+
...types.map((t) => ({ id: t, label: chunkAYK3BLUB_cjs.SKILL_TYPE_LABELS[t] ?? t }))
|
|
1453
1453
|
];
|
|
1454
1454
|
const pick = (slug) => {
|
|
1455
1455
|
setSelected(slug);
|
|
1456
1456
|
setMode("detail");
|
|
1457
1457
|
};
|
|
1458
1458
|
const markdownOf = async (skill) => {
|
|
1459
|
-
if (!skill.docExtId) return
|
|
1459
|
+
if (!skill.docExtId) return chunkAYK3BLUB_cjs.workflowToSkillMarkdown(skill.workflow);
|
|
1460
1460
|
const response = await arbi.documents.download(skill.docExtId);
|
|
1461
1461
|
if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
|
|
1462
1462
|
return response.text();
|
|
@@ -1520,7 +1520,7 @@ function ConnectedSkillsLibrary({
|
|
|
1520
1520
|
try {
|
|
1521
1521
|
documentTools.downloadBlob(
|
|
1522
1522
|
new Blob([await markdownOf(skill)], { type: "text/markdown" }),
|
|
1523
|
-
|
|
1523
|
+
chunkAYK3BLUB_cjs.SKILL_MAIN_FILENAME
|
|
1524
1524
|
);
|
|
1525
1525
|
} catch (error) {
|
|
1526
1526
|
notify19(errorText(error, "Could not export the skill"), "error");
|
|
@@ -1561,10 +1561,10 @@ function ConnectedSkillsLibrary({
|
|
|
1561
1561
|
}
|
|
1562
1562
|
)
|
|
1563
1563
|
] }),
|
|
1564
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1564
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.SkillViewToggle, { value: view, onChange: setView })
|
|
1565
1565
|
] }),
|
|
1566
1566
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1567
|
-
|
|
1567
|
+
chunkAYK3BLUB_cjs.SkillFilterChips,
|
|
1568
1568
|
{
|
|
1569
1569
|
label: "Show",
|
|
1570
1570
|
value: source,
|
|
@@ -1573,7 +1573,7 @@ function ConnectedSkillsLibrary({
|
|
|
1573
1573
|
}
|
|
1574
1574
|
),
|
|
1575
1575
|
types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1576
|
-
|
|
1576
|
+
chunkAYK3BLUB_cjs.SkillFilterChips,
|
|
1577
1577
|
{
|
|
1578
1578
|
label: "Kind",
|
|
1579
1579
|
value: type,
|
|
@@ -1620,12 +1620,12 @@ function ConnectedSkillsLibrary({
|
|
|
1620
1620
|
view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
|
|
1621
1621
|
),
|
|
1622
1622
|
children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1623
|
-
|
|
1623
|
+
chunkAYK3BLUB_cjs.SkillTile,
|
|
1624
1624
|
{
|
|
1625
1625
|
name: skill.title,
|
|
1626
1626
|
testId: `skill-tile-${skill.slug}`,
|
|
1627
1627
|
description: skill.description,
|
|
1628
|
-
sourceLabel: skill.isShared ? `${
|
|
1628
|
+
sourceLabel: skill.isShared ? `${chunkAYK3BLUB_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkAYK3BLUB_cjs.SKILL_SOURCE_LABELS[skill.source],
|
|
1629
1629
|
type: skill.type,
|
|
1630
1630
|
icon,
|
|
1631
1631
|
layout: view,
|
|
@@ -1660,7 +1660,7 @@ function ConnectedSkillsLibrary({
|
|
|
1660
1660
|
}
|
|
1661
1661
|
),
|
|
1662
1662
|
mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1663
|
-
|
|
1663
|
+
chunkAYK3BLUB_cjs.SkillGenerateForm,
|
|
1664
1664
|
{
|
|
1665
1665
|
icon,
|
|
1666
1666
|
onGenerate: (desc) => {
|
|
@@ -1687,11 +1687,11 @@ function ConnectedSkillsLibrary({
|
|
|
1687
1687
|
),
|
|
1688
1688
|
mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
|
|
1689
1689
|
mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1690
|
-
|
|
1690
|
+
chunkAYK3BLUB_cjs.SkillLibraryDetail,
|
|
1691
1691
|
{
|
|
1692
1692
|
skill: current,
|
|
1693
1693
|
icon,
|
|
1694
|
-
instructions: current.docExtId ? currentText ?
|
|
1694
|
+
instructions: current.docExtId ? currentText ? chunkAYK3BLUB_cjs.parseSkillFrontmatter(currentText, chunkAYK3BLUB_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
|
|
1695
1695
|
isLoading: !!current.docExtId && textLoading,
|
|
1696
1696
|
actions: {
|
|
1697
1697
|
onRun: () => onRun(current.slug),
|
|
@@ -1726,7 +1726,7 @@ function SkillEditor({
|
|
|
1726
1726
|
const [seeded, setSeeded] = react.useState(!isEditing);
|
|
1727
1727
|
const [nameError, setNameError] = react.useState(null);
|
|
1728
1728
|
if (isEditing && !seeded && text !== void 0) {
|
|
1729
|
-
const parsed =
|
|
1729
|
+
const parsed = chunkAYK3BLUB_cjs.parseSkillFrontmatter(text, chunkAYK3BLUB_cjs.SKILL_MAIN_FILENAME);
|
|
1730
1730
|
setDescription(parsed.description ?? "");
|
|
1731
1731
|
setBody(parsed.content ?? "");
|
|
1732
1732
|
setSeeded(true);
|
|
@@ -1740,15 +1740,15 @@ function SkillEditor({
|
|
|
1740
1740
|
notify19("Add a short description.", "error");
|
|
1741
1741
|
return;
|
|
1742
1742
|
}
|
|
1743
|
-
const slug =
|
|
1743
|
+
const slug = chunkAYK3BLUB_cjs.skillSlug(name);
|
|
1744
1744
|
try {
|
|
1745
|
-
await onSave(slug,
|
|
1745
|
+
await onSave(slug, chunkAYK3BLUB_cjs.serializeSkill({ name: slug, description, body }), isEditing);
|
|
1746
1746
|
} catch (err) {
|
|
1747
1747
|
notify19(errorText(err, "Could not save the skill"), "error");
|
|
1748
1748
|
}
|
|
1749
1749
|
};
|
|
1750
1750
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1751
|
-
|
|
1751
|
+
chunkAYK3BLUB_cjs.SkillEditForm,
|
|
1752
1752
|
{
|
|
1753
1753
|
name,
|
|
1754
1754
|
onNameChange: setName,
|
|
@@ -1841,7 +1841,7 @@ function ConnectedSkillsBrowser({
|
|
|
1841
1841
|
}
|
|
1842
1842
|
) }),
|
|
1843
1843
|
runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1844
|
-
|
|
1844
|
+
chunkVNK4HCHH_cjs.ConnectedTaskComposer,
|
|
1845
1845
|
{
|
|
1846
1846
|
kind: "workflow",
|
|
1847
1847
|
open: true,
|
|
@@ -1865,9 +1865,9 @@ function ConnectedAgentCreator({
|
|
|
1865
1865
|
agent,
|
|
1866
1866
|
initialName,
|
|
1867
1867
|
onSaved,
|
|
1868
|
-
capabilities =
|
|
1869
|
-
templates =
|
|
1870
|
-
types =
|
|
1868
|
+
capabilities = chunkAYK3BLUB_cjs.DEFAULT_AGENT_CAPABILITIES,
|
|
1869
|
+
templates = chunkAYK3BLUB_cjs.DEFAULT_AGENT_TEMPLATES,
|
|
1870
|
+
types = chunkAYK3BLUB_cjs.DEFAULT_AGENT_TYPES,
|
|
1871
1871
|
canRevokeWorkspaces = false,
|
|
1872
1872
|
labels
|
|
1873
1873
|
}) {
|
|
@@ -1909,7 +1909,7 @@ function ConnectedAgentCreator({
|
|
|
1909
1909
|
const initialValues = react.useMemo(
|
|
1910
1910
|
() => ({
|
|
1911
1911
|
name: agent?.given_name ?? initialName ?? "",
|
|
1912
|
-
persona: isEdit ?
|
|
1912
|
+
persona: isEdit ? chunkAYK3BLUB_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
|
|
1913
1913
|
modelName: String(agents.AGENT_MODEL_NAME ?? ""),
|
|
1914
1914
|
capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
|
|
1915
1915
|
type: "builtin",
|
|
@@ -1928,7 +1928,7 @@ function ConnectedAgentCreator({
|
|
|
1928
1928
|
try {
|
|
1929
1929
|
let agentExtId = agent?.external_id ?? early?.id ?? "";
|
|
1930
1930
|
if (!agentExtId) {
|
|
1931
|
-
if (!
|
|
1931
|
+
if (!chunkAYK3BLUB_cjs.isValidAgentName(values.name)) {
|
|
1932
1932
|
notify19("Give the agent a name first.", "error");
|
|
1933
1933
|
return;
|
|
1934
1934
|
}
|
|
@@ -1964,7 +1964,7 @@ function ConnectedAgentCreator({
|
|
|
1964
1964
|
title: `agent-${name}`,
|
|
1965
1965
|
sections: {
|
|
1966
1966
|
Agents: {
|
|
1967
|
-
PERSONA:
|
|
1967
|
+
PERSONA: chunkAYK3BLUB_cjs.composePersona(name, values.persona),
|
|
1968
1968
|
...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
|
|
1969
1969
|
...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
|
|
1970
1970
|
ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
|
|
@@ -1987,7 +1987,7 @@ function ConnectedAgentCreator({
|
|
|
1987
1987
|
};
|
|
1988
1988
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1989
1989
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1990
|
-
|
|
1990
|
+
chunkAYK3BLUB_cjs.AgentCreator,
|
|
1991
1991
|
{
|
|
1992
1992
|
open: ready,
|
|
1993
1993
|
onOpenChange,
|
|
@@ -2003,11 +2003,11 @@ function ConnectedAgentCreator({
|
|
|
2003
2003
|
) : void 0,
|
|
2004
2004
|
revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
|
|
2005
2005
|
avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2006
|
-
|
|
2006
|
+
chunkAYK3BLUB_cjs.AgentAvatarField,
|
|
2007
2007
|
{
|
|
2008
2008
|
picture,
|
|
2009
2009
|
isBusy: avatarBusy,
|
|
2010
|
-
canGenerate: isEdit ||
|
|
2010
|
+
canGenerate: isEdit || chunkAYK3BLUB_cjs.isValidAgentName(values.name),
|
|
2011
2011
|
onGenerate: () => handleGenerateAvatar(values)
|
|
2012
2012
|
}
|
|
2013
2013
|
),
|
|
@@ -2059,7 +2059,7 @@ function ConnectedAgentCreator({
|
|
|
2059
2059
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
|
|
2060
2060
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
|
|
2061
2061
|
] }),
|
|
2062
|
-
connect && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2062
|
+
connect && /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
|
|
2063
2063
|
]
|
|
2064
2064
|
}
|
|
2065
2065
|
) })
|
|
@@ -2186,7 +2186,7 @@ function AgentChat({ agentId, workspaceId, onOpenFull }) {
|
|
|
2186
2186
|
/* @__PURE__ */ jsxRuntime.jsx("ol", { className: "mt-2 space-y-1", children: activity.map((name, i) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap break-all", children: name }) }, i)) })
|
|
2187
2187
|
] }),
|
|
2188
2188
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2189
|
-
|
|
2189
|
+
chunk6CPJ5ZOY_cjs.ChatPage,
|
|
2190
2190
|
{
|
|
2191
2191
|
chat: { ...chat, assistantMode: void 0, setAssistantMode: void 0 },
|
|
2192
2192
|
surface: "dock",
|
|
@@ -2457,7 +2457,7 @@ function useMemoryCount(enabled) {
|
|
|
2457
2457
|
}
|
|
2458
2458
|
function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
2459
2459
|
const { notify: notify19, confirm, openConversation, openDocument } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
2460
|
-
const people =
|
|
2460
|
+
const people = chunkVNK4HCHH_cjs.useTaskPeople();
|
|
2461
2461
|
const canEditShared = react$1.useCanEditShared();
|
|
2462
2462
|
const isWorkspaceOwner = react$1.useIsWorkspaceOwner();
|
|
2463
2463
|
const { data: workflows = [] } = react$1.useWorkflows({ live: true });
|
|
@@ -2483,7 +2483,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2483
2483
|
}, [documents]);
|
|
2484
2484
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2485
2485
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2486
|
-
|
|
2486
|
+
chunkAYK3BLUB_cjs.TaskTable,
|
|
2487
2487
|
{
|
|
2488
2488
|
tasks,
|
|
2489
2489
|
isLoading,
|
|
@@ -2513,7 +2513,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2513
2513
|
}
|
|
2514
2514
|
),
|
|
2515
2515
|
activityFor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2516
|
-
|
|
2516
|
+
chunkVNK4HCHH_cjs.ConnectedTaskActivityDialog,
|
|
2517
2517
|
{
|
|
2518
2518
|
conversationId: activityFor.external_id,
|
|
2519
2519
|
taskName: activityFor.title || l.untitledTask,
|
|
@@ -2552,7 +2552,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
|
|
|
2552
2552
|
[workflows, skills, l.skillFiles]
|
|
2553
2553
|
);
|
|
2554
2554
|
const launch = async ({ workflow, inputs, agentId }) => {
|
|
2555
|
-
const values =
|
|
2555
|
+
const values = chunkAYK3BLUB_cjs.defaultTaskComposerValues(launchable, {
|
|
2556
2556
|
workflowId: workflow.id,
|
|
2557
2557
|
assignee: "agent",
|
|
2558
2558
|
inputs,
|
|
@@ -2672,7 +2672,7 @@ function ConnectedAgentsPageScope(props) {
|
|
|
2672
2672
|
children,
|
|
2673
2673
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
|
|
2674
2674
|
taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2675
|
-
|
|
2675
|
+
chunkVNK4HCHH_cjs.ConnectedTaskComposer,
|
|
2676
2676
|
{
|
|
2677
2677
|
open: true,
|
|
2678
2678
|
onOpenChange: (open) => !open && setTaskDialog(null),
|
|
@@ -2695,7 +2695,7 @@ function AgentsGallery() {
|
|
|
2695
2695
|
} = agentOptions;
|
|
2696
2696
|
const { openConversation } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
2697
2697
|
const { user } = react$1.useArbiSession();
|
|
2698
|
-
const tasksByAgent = react.useMemo(() =>
|
|
2698
|
+
const tasksByAgent = react.useMemo(() => chunkAYK3BLUB_cjs.groupAgentTasks(tasks), [tasks]);
|
|
2699
2699
|
const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
|
|
2700
2700
|
const { agents } = management;
|
|
2701
2701
|
const cardDetails = (agent) => details.map(
|
|
@@ -2711,7 +2711,7 @@ function AgentsGallery() {
|
|
|
2711
2711
|
) : 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)
|
|
2712
2712
|
);
|
|
2713
2713
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2714
|
-
|
|
2714
|
+
chunkAYK3BLUB_cjs.AgentGallery,
|
|
2715
2715
|
{
|
|
2716
2716
|
count: agents.length,
|
|
2717
2717
|
onCreate: management.create,
|
|
@@ -2723,7 +2723,7 @@ function AgentsGallery() {
|
|
|
2723
2723
|
const watchConversationId = running[0]?.external_id ?? null;
|
|
2724
2724
|
const progress = agentTasks[0] ? chunkBH322H5B_cjs.goalProgress(agentTasks[0]) : null;
|
|
2725
2725
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2726
|
-
|
|
2726
|
+
chunkAYK3BLUB_cjs.AgentCard,
|
|
2727
2727
|
{
|
|
2728
2728
|
name: displayName(agent),
|
|
2729
2729
|
avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
|
|
@@ -3135,7 +3135,7 @@ function ConnectedTagTable({
|
|
|
3135
3135
|
const fail2 = (fallback) => (e) => notify19(browser.refusalReason(e, fallback), "error");
|
|
3136
3136
|
const snapshot2 = (data) => {
|
|
3137
3137
|
const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
|
|
3138
|
-
const bytes =
|
|
3138
|
+
const bytes = chunk77MAR6Y4_cjs.tagTableDocx(data, {
|
|
3139
3139
|
title,
|
|
3140
3140
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
3141
3141
|
});
|
|
@@ -3144,7 +3144,7 @@ function ConnectedTagTable({
|
|
|
3144
3144
|
return { blob: new Blob([bytes], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }), name };
|
|
3145
3145
|
};
|
|
3146
3146
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3147
|
-
|
|
3147
|
+
chunk77MAR6Y4_cjs.TagTable,
|
|
3148
3148
|
{
|
|
3149
3149
|
...props,
|
|
3150
3150
|
table,
|
|
@@ -3982,8 +3982,8 @@ function ConnectedAiReview({
|
|
|
3982
3982
|
const generate = react$1.useGenerateDocTags();
|
|
3983
3983
|
const { data: liveDocs = [] } = react$1.useDocuments();
|
|
3984
3984
|
const { data: tags = [] } = react$1.useTags();
|
|
3985
|
-
const result =
|
|
3986
|
-
const setResult =
|
|
3985
|
+
const result = chunkXBM6TVZL_cjs.useAiReviewStore((s) => s.run);
|
|
3986
|
+
const setResult = chunkXBM6TVZL_cjs.useAiReviewStore((s) => s.setRun);
|
|
3987
3987
|
const phase = result ? "review" : "ask";
|
|
3988
3988
|
const docCount = documents.length;
|
|
3989
3989
|
const scope = allDocuments ? "processed" : "selected";
|
|
@@ -4218,7 +4218,7 @@ function ConnectedAiReview({
|
|
|
4218
4218
|
}, [kind]);
|
|
4219
4219
|
const description = phase === "ask" ? assistant.reviewEach(docCount, scope) : aiCellsTotal > 0 ? reviewProgress(aiCellsDone, aiCellsEmpty, aiCellsTotal) : `Applied to ${rows.length} document${plural3(rows.length)}`;
|
|
4220
4220
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4221
|
-
|
|
4221
|
+
chunkQEEK2Z5T_cjs.AiReviewDialogView,
|
|
4222
4222
|
{
|
|
4223
4223
|
open,
|
|
4224
4224
|
onOpenChange: handleOpenChange,
|
|
@@ -4269,9 +4269,9 @@ function GlossaryExport({ labelId, nameOf }) {
|
|
|
4269
4269
|
const narrowed = agreements.find((a) => a.id === narrowTo);
|
|
4270
4270
|
const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
|
|
4271
4271
|
const download = (format) => {
|
|
4272
|
-
const entries =
|
|
4273
|
-
const blob = format === "docx" ? new Blob([
|
|
4274
|
-
documentTools.downloadBlob(blob,
|
|
4272
|
+
const entries = chunk77MAR6Y4_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
|
|
4273
|
+
const blob = format === "docx" ? new Blob([chunk77MAR6Y4_cjs.glossaryDocx(entries, { title })], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }) : new Blob([chunk77MAR6Y4_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
|
|
4274
|
+
documentTools.downloadBlob(blob, chunk77MAR6Y4_cjs.glossaryFileName(title, format));
|
|
4275
4275
|
};
|
|
4276
4276
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
|
|
4277
4277
|
agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -4335,8 +4335,8 @@ function useOpenTaggedContent() {
|
|
|
4335
4335
|
if (!workspaceId) return;
|
|
4336
4336
|
session.setTransientView("topbar.filter", "");
|
|
4337
4337
|
if (kind === "documents") {
|
|
4338
|
-
|
|
4339
|
-
|
|
4338
|
+
chunkXBM6TVZL_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
|
|
4339
|
+
chunkXBM6TVZL_cjs.useFilesPrefs.getState().setViewMode("grid");
|
|
4340
4340
|
session.setPage("documents");
|
|
4341
4341
|
} else if (kind === "facts") {
|
|
4342
4342
|
session.setViewFilter(FACTS_FILTER_KEY, { [tagId]: "include" });
|
|
@@ -4375,7 +4375,7 @@ function ConnectedTagForm({
|
|
|
4375
4375
|
nameByKind = false
|
|
4376
4376
|
}) {
|
|
4377
4377
|
const isCreate = !tag;
|
|
4378
|
-
const memberById =
|
|
4378
|
+
const memberById = chunkOABDY4YO_cjs.useMemberLookup();
|
|
4379
4379
|
const creator = memberById(tag?.created_by_ext_id);
|
|
4380
4380
|
const updater = memberById(tag?.updated_by_ext_id);
|
|
4381
4381
|
const fieldLabel = ui.getEntityLabel("TAG", "SINGULAR");
|
|
@@ -4454,19 +4454,19 @@ function ConnectedTagForm({
|
|
|
4454
4454
|
metaLines.push({
|
|
4455
4455
|
text: `Created ${ui.formatFriendlyDate(tag.created_at)}`,
|
|
4456
4456
|
byLabel: "by",
|
|
4457
|
-
by: creator ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4457
|
+
by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkJ7LSWWA3_cjs.DocumentUser, { user: creator }) : void 0
|
|
4458
4458
|
});
|
|
4459
4459
|
if (tag.updated_at && tag.updated_at !== tag.created_at) {
|
|
4460
4460
|
metaLines.push({
|
|
4461
4461
|
text: `Updated ${ui.formatFriendlyDate(tag.updated_at)}`,
|
|
4462
4462
|
byLabel: "by",
|
|
4463
|
-
by: updater ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4463
|
+
by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkJ7LSWWA3_cjs.DocumentUser, { user: updater }) : void 0
|
|
4464
4464
|
});
|
|
4465
4465
|
}
|
|
4466
4466
|
}
|
|
4467
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4467
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.TagFormRoot, { children: [
|
|
4468
4468
|
!nameOnRow && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4469
|
-
|
|
4469
|
+
chunkQEEK2Z5T_cjs.TagFormNameField,
|
|
4470
4470
|
{
|
|
4471
4471
|
label: group || nameByKind ? `${ui.tagKindTitle(kind)} Name` : `${columnLabel} Name`,
|
|
4472
4472
|
placeholder: `Enter ${kindNoun ?? columnLabel.toLowerCase()} name...`,
|
|
@@ -4476,7 +4476,7 @@ function ConnectedTagForm({
|
|
|
4476
4476
|
}
|
|
4477
4477
|
),
|
|
4478
4478
|
kinds2.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4479
|
-
|
|
4479
|
+
chunkQEEK2Z5T_cjs.TagFormSelectField,
|
|
4480
4480
|
{
|
|
4481
4481
|
label: "Kind",
|
|
4482
4482
|
testId: "inline-tag-form-kind-field",
|
|
@@ -4491,7 +4491,7 @@ function ConnectedTagForm({
|
|
|
4491
4491
|
}
|
|
4492
4492
|
),
|
|
4493
4493
|
kind === "annotation" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4494
|
-
|
|
4494
|
+
chunkQEEK2Z5T_cjs.TagFormSelectField,
|
|
4495
4495
|
{
|
|
4496
4496
|
label: group === "annotation" ? "Value type" : "Field Type",
|
|
4497
4497
|
testId: "inline-tag-form-type-field",
|
|
@@ -4503,7 +4503,7 @@ function ConnectedTagForm({
|
|
|
4503
4503
|
}
|
|
4504
4504
|
),
|
|
4505
4505
|
showParentPicker && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4506
|
-
|
|
4506
|
+
chunkQEEK2Z5T_cjs.TagFormSelectField,
|
|
4507
4507
|
{
|
|
4508
4508
|
label: "Nested Under",
|
|
4509
4509
|
value: parentId,
|
|
@@ -4525,14 +4525,14 @@ function ConnectedTagForm({
|
|
|
4525
4525
|
]
|
|
4526
4526
|
}
|
|
4527
4527
|
),
|
|
4528
|
-
nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4528
|
+
nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
|
|
4529
4529
|
"Other fields are nested under this one, so it cannot itself be nested \u2014 fields nest",
|
|
4530
4530
|
" ",
|
|
4531
4531
|
browser.TAG_NESTING_MAX_DEPTH,
|
|
4532
4532
|
" levels deep."
|
|
4533
4533
|
] }),
|
|
4534
4534
|
tagType === "select" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4535
|
-
|
|
4535
|
+
chunkQEEK2Z5T_cjs.TagFormOptionsEditor,
|
|
4536
4536
|
{
|
|
4537
4537
|
label: "Options",
|
|
4538
4538
|
options,
|
|
@@ -4545,7 +4545,7 @@ function ConnectedTagForm({
|
|
|
4545
4545
|
}
|
|
4546
4546
|
),
|
|
4547
4547
|
tagType === "text" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4548
|
-
|
|
4548
|
+
chunkQEEK2Z5T_cjs.TagFormInstructionField,
|
|
4549
4549
|
{
|
|
4550
4550
|
label: "AI Instruction",
|
|
4551
4551
|
optionalLabel: "(optional)",
|
|
@@ -4555,12 +4555,12 @@ function ConnectedTagForm({
|
|
|
4555
4555
|
onChange: setInstruction
|
|
4556
4556
|
}
|
|
4557
4557
|
),
|
|
4558
|
-
metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4558
|
+
metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.TagFormMeta, { lines: metaLines }),
|
|
4559
4559
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4560
|
-
|
|
4560
|
+
chunkQEEK2Z5T_cjs.TagFormFooter,
|
|
4561
4561
|
{
|
|
4562
4562
|
sharedToggle: isCreate || !group ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4563
|
-
|
|
4563
|
+
chunkQEEK2Z5T_cjs.TagFormSharedToggle,
|
|
4564
4564
|
{
|
|
4565
4565
|
label: "Shared with workspace",
|
|
4566
4566
|
toggle: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4800,7 +4800,7 @@ function KindSection({
|
|
|
4800
4800
|
{
|
|
4801
4801
|
testId: `tags-kind-${kind}`,
|
|
4802
4802
|
title: ui.tagKindTitle(kind, { plural: true }),
|
|
4803
|
-
description:
|
|
4803
|
+
description: chunk77MAR6Y4_cjs.tagKindDescription(kind),
|
|
4804
4804
|
children: [
|
|
4805
4805
|
browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4806
4806
|
"p",
|
|
@@ -4810,9 +4810,9 @@ function KindSection({
|
|
|
4810
4810
|
children: [
|
|
4811
4811
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
|
|
4812
4812
|
"Extracting ",
|
|
4813
|
-
|
|
4813
|
+
chunk77MAR6Y4_cjs.entitiesPhrase().toLowerCase(),
|
|
4814
4814
|
" from ",
|
|
4815
|
-
|
|
4815
|
+
chunk77MAR6Y4_cjs.documentCount(extractingCount),
|
|
4816
4816
|
"\u2026"
|
|
4817
4817
|
]
|
|
4818
4818
|
}
|
|
@@ -4830,7 +4830,7 @@ function KindSection({
|
|
|
4830
4830
|
onOpenTag: ctx.onOpenTag,
|
|
4831
4831
|
onOpenRow: ctx.onOpenTag,
|
|
4832
4832
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4833
|
-
labels:
|
|
4833
|
+
labels: chunk77MAR6Y4_cjs.tagTableLabels(kind),
|
|
4834
4834
|
testId: `tags-table-${kind}`
|
|
4835
4835
|
}
|
|
4836
4836
|
)
|
|
@@ -4938,15 +4938,15 @@ function TagSection({
|
|
|
4938
4938
|
onOpenTag: ctx.onOpenTag,
|
|
4939
4939
|
onOpenRow: ctx.onOpenTag,
|
|
4940
4940
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4941
|
-
labels:
|
|
4941
|
+
labels: chunk77MAR6Y4_cjs.tagTableLabels(tag.kind),
|
|
4942
4942
|
testId: "tags-rows"
|
|
4943
4943
|
}
|
|
4944
4944
|
),
|
|
4945
4945
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4946
|
-
|
|
4946
|
+
chunk77MAR6Y4_cjs.TagDetail,
|
|
4947
4947
|
{
|
|
4948
4948
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4949
|
-
fieldLabels:
|
|
4949
|
+
fieldLabels: chunk77MAR6Y4_cjs.tagTableLabels(tag.kind),
|
|
4950
4950
|
row: detailRow,
|
|
4951
4951
|
fields: schema.data?.fields ?? [],
|
|
4952
4952
|
isLoading: detail.isLoading,
|
|
@@ -4960,7 +4960,7 @@ function TagSection({
|
|
|
4960
4960
|
throw e;
|
|
4961
4961
|
})
|
|
4962
4962
|
),
|
|
4963
|
-
labels:
|
|
4963
|
+
labels: chunk77MAR6Y4_cjs.tagDetailLabels(),
|
|
4964
4964
|
testId: "tags-detail"
|
|
4965
4965
|
}
|
|
4966
4966
|
)
|
|
@@ -4983,9 +4983,9 @@ var TAG_FILTER_FIELDS = [
|
|
|
4983
4983
|
function ConnectedTagsPage() {
|
|
4984
4984
|
const { confirm, notify: notify19, openSmartSearch } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
4985
4985
|
const onOpenTaggedItems = useOpenTaggedContent();
|
|
4986
|
-
const setReviewOpen =
|
|
4987
|
-
const setReviewRun =
|
|
4988
|
-
const reviewOpen =
|
|
4986
|
+
const setReviewOpen = chunkXBM6TVZL_cjs.useAiReviewStore((state) => state.setOpen);
|
|
4987
|
+
const setReviewRun = chunkXBM6TVZL_cjs.useAiReviewStore((state) => state.setRun);
|
|
4988
|
+
const reviewOpen = chunkXBM6TVZL_cjs.useAiReviewStore((state) => state.open);
|
|
4989
4989
|
const [review, setReview] = react.useState(null);
|
|
4990
4990
|
const { data: tags } = chunkGD5OYIOV_cjs.useConnectedTags();
|
|
4991
4991
|
const { data: documents } = chunkGD5OYIOV_cjs.useConnectedDocuments();
|
|
@@ -5043,7 +5043,7 @@ function ConnectedTagsPage() {
|
|
|
5043
5043
|
const onDelete = async (t) => {
|
|
5044
5044
|
const nested = browser.getChildTags([...tags], t.external_id);
|
|
5045
5045
|
const uses = browser.tagUseCount(t);
|
|
5046
|
-
const n2 =
|
|
5046
|
+
const n2 = chunk77MAR6Y4_cjs.tagsPageNouns();
|
|
5047
5047
|
const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
|
|
5048
5048
|
const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
|
|
5049
5049
|
const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
|
|
@@ -5064,11 +5064,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5064
5064
|
try {
|
|
5065
5065
|
await extract.mutateAsync(docIds);
|
|
5066
5066
|
notify19(
|
|
5067
|
-
`Extracting ${
|
|
5067
|
+
`Extracting ${chunk77MAR6Y4_cjs.entitiesPhrase().toLowerCase()} from ${chunk77MAR6Y4_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
|
|
5068
5068
|
"info"
|
|
5069
5069
|
);
|
|
5070
5070
|
} catch (error) {
|
|
5071
|
-
notify19(browser.refusalReason(error, `Could not extract ${
|
|
5071
|
+
notify19(browser.refusalReason(error, `Could not extract ${chunk77MAR6Y4_cjs.entitiesPhrase().toLowerCase()}`), "error");
|
|
5072
5072
|
throw error;
|
|
5073
5073
|
}
|
|
5074
5074
|
};
|
|
@@ -5082,10 +5082,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5082
5082
|
onOpenTag: openTag,
|
|
5083
5083
|
onOpenTaggedItems
|
|
5084
5084
|
};
|
|
5085
|
-
const n =
|
|
5085
|
+
const n = chunk77MAR6Y4_cjs.tagsPageNouns();
|
|
5086
5086
|
const action = view === "person" || view === "organisation" ? {
|
|
5087
5087
|
label: "Extract",
|
|
5088
|
-
title: `Extract ${
|
|
5088
|
+
title: `Extract ${chunk77MAR6Y4_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
|
|
5089
5089
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
|
|
5090
5090
|
run: () => setExtracting(true),
|
|
5091
5091
|
testId: "tags-extract-entities"
|
|
@@ -5139,7 +5139,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5139
5139
|
onTabChange: () => {
|
|
5140
5140
|
},
|
|
5141
5141
|
variant: "underline",
|
|
5142
|
-
firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5142
|
+
firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5143
5143
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
5144
5144
|
{
|
|
5145
5145
|
value: filterText,
|
|
@@ -5161,7 +5161,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5161
5161
|
filter: tagFilter
|
|
5162
5162
|
}
|
|
5163
5163
|
) }),
|
|
5164
|
-
centerContent: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5164
|
+
centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5165
5165
|
chunkSNUBQMIS_cjs.ViewToggle,
|
|
5166
5166
|
{
|
|
5167
5167
|
options: browser.TAG_KINDS.map((k) => ({
|
|
@@ -5254,7 +5254,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5254
5254
|
}
|
|
5255
5255
|
),
|
|
5256
5256
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5257
|
-
|
|
5257
|
+
chunk77MAR6Y4_cjs.ExtractEntitiesDialog,
|
|
5258
5258
|
{
|
|
5259
5259
|
open: extracting,
|
|
5260
5260
|
onOpenChange: setExtracting,
|
|
@@ -5457,12 +5457,12 @@ function ConnectedExportPanel({
|
|
|
5457
5457
|
current: workspace,
|
|
5458
5458
|
currentRole,
|
|
5459
5459
|
nameOf
|
|
5460
|
-
} =
|
|
5460
|
+
} = chunk2TLEQBTM_cjs.useTransferTargets();
|
|
5461
5461
|
const { data: workspaceTags = [] } = react$1.useTags(currentWorkspaceId ?? void 0);
|
|
5462
5462
|
const { data: workspaceDocuments = [] } = react$1.useDocuments(currentWorkspaceId ?? void 0);
|
|
5463
|
-
const columnsMode =
|
|
5464
|
-
const setColumnsMode =
|
|
5465
|
-
const trackTransfer =
|
|
5463
|
+
const columnsMode = chunk2TLEQBTM_cjs.useExportStore((state) => state.columnsMode);
|
|
5464
|
+
const setColumnsMode = chunk2TLEQBTM_cjs.useExportStore((state) => state.setColumnsMode);
|
|
5465
|
+
const trackTransfer = chunk2TLEQBTM_cjs.useExportStore((state) => state.trackTransfer);
|
|
5466
5466
|
const [scopeChoice, setScopeChoice] = react.useState(
|
|
5467
5467
|
items.length > 0 ? "selection" : "all"
|
|
5468
5468
|
);
|
|
@@ -5507,7 +5507,7 @@ function ConnectedExportPanel({
|
|
|
5507
5507
|
enabled: scopeReady && !jobId
|
|
5508
5508
|
});
|
|
5509
5509
|
const summary = react.useMemo(
|
|
5510
|
-
() => plan ?
|
|
5510
|
+
() => plan ? chunk2TLEQBTM_cjs.describePlan(plan, mode) : { lines: [], warnings: [] },
|
|
5511
5511
|
[plan, mode]
|
|
5512
5512
|
);
|
|
5513
5513
|
const targetName = nameOf;
|
|
@@ -5594,7 +5594,7 @@ function ConnectedExportPanel({
|
|
|
5594
5594
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", "data-testid": "export-documents", children: [
|
|
5595
5595
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-auto space-y-6 p-6", children: [
|
|
5596
5596
|
jobRunning && job && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5597
|
-
|
|
5597
|
+
chunkQEEK2Z5T_cjs.TransferProgressView,
|
|
5598
5598
|
{
|
|
5599
5599
|
title: `${job.mode === "move" ? "Moving" : "Copying"} to ${targetName(job.target_workspace_ext_id)}`,
|
|
5600
5600
|
processed: job.processed ?? 0,
|
|
@@ -5607,7 +5607,7 @@ function ConnectedExportPanel({
|
|
|
5607
5607
|
),
|
|
5608
5608
|
jobDone && job && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5609
5609
|
react$1.isTransferResumable(job) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5610
|
-
|
|
5610
|
+
chunkQEEK2Z5T_cjs.TransferResumeBanner,
|
|
5611
5611
|
{
|
|
5612
5612
|
message: `Stopped at ${job.processed} of ${job.total}. Resume to finish \u2014 nothing is copied twice.`,
|
|
5613
5613
|
onResume: () => handleResume(job),
|
|
@@ -5615,9 +5615,9 @@ function ConnectedExportPanel({
|
|
|
5615
5615
|
}
|
|
5616
5616
|
),
|
|
5617
5617
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5618
|
-
|
|
5618
|
+
chunkQEEK2Z5T_cjs.ExportResultsReport,
|
|
5619
5619
|
{
|
|
5620
|
-
summary: `${job.mode === "move" ? "Moved" : "Copied"} ${
|
|
5620
|
+
summary: `${job.mode === "move" ? "Moved" : "Copied"} ${chunk2TLEQBTM_cjs.plural(
|
|
5621
5621
|
Number(job.counts?.copied ?? 0) + Number(job.counts?.removed ?? 0),
|
|
5622
5622
|
"item"
|
|
5623
5623
|
)} to ${targetName(job.target_workspace_ext_id)}.${job.counts?.failed ? ` ${job.counts.failed} failed.` : ""}`,
|
|
@@ -5628,7 +5628,7 @@ function ConnectedExportPanel({
|
|
|
5628
5628
|
] }),
|
|
5629
5629
|
!jobId && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5630
5630
|
resumable && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5631
|
-
|
|
5631
|
+
chunkQEEK2Z5T_cjs.TransferResumeBanner,
|
|
5632
5632
|
{
|
|
5633
5633
|
message: `A ${resumable.mode} to ${targetName(resumable.target_workspace_ext_id)} stopped at ${resumable.processed} of ${resumable.total}.`,
|
|
5634
5634
|
onResume: () => handleResume(resumable),
|
|
@@ -5636,7 +5636,7 @@ function ConnectedExportPanel({
|
|
|
5636
5636
|
}
|
|
5637
5637
|
),
|
|
5638
5638
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5639
|
-
|
|
5639
|
+
chunkQEEK2Z5T_cjs.TransferScopeChooser,
|
|
5640
5640
|
{
|
|
5641
5641
|
scope: scopeChoice,
|
|
5642
5642
|
onScopeChange: setScopeChoice,
|
|
@@ -5647,7 +5647,7 @@ function ConnectedExportPanel({
|
|
|
5647
5647
|
}
|
|
5648
5648
|
),
|
|
5649
5649
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5650
|
-
|
|
5650
|
+
chunkQEEK2Z5T_cjs.TransferKindsPicker,
|
|
5651
5651
|
{
|
|
5652
5652
|
options: ALL_KINDS.map((kind) => ({
|
|
5653
5653
|
kind,
|
|
@@ -5660,9 +5660,9 @@ function ConnectedExportPanel({
|
|
|
5660
5660
|
)
|
|
5661
5661
|
}
|
|
5662
5662
|
),
|
|
5663
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5663
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
|
|
5664
5664
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5665
|
-
|
|
5665
|
+
chunkQEEK2Z5T_cjs.ExportMethodChooser,
|
|
5666
5666
|
{
|
|
5667
5667
|
mode,
|
|
5668
5668
|
onModeChange: setMode,
|
|
@@ -5674,22 +5674,22 @@ function ConnectedExportPanel({
|
|
|
5674
5674
|
),
|
|
5675
5675
|
mode !== "download" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5676
5676
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5677
|
-
|
|
5677
|
+
chunkQEEK2Z5T_cjs.ExportWorkspacePicker,
|
|
5678
5678
|
{
|
|
5679
5679
|
workspaces: workspaceOptions,
|
|
5680
5680
|
selectedId: targetId,
|
|
5681
5681
|
onSelect: setTargetId
|
|
5682
5682
|
}
|
|
5683
5683
|
),
|
|
5684
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5684
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
|
|
5685
5685
|
] }),
|
|
5686
5686
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5687
|
-
|
|
5687
|
+
chunkQEEK2Z5T_cjs.TransferPlanSummary,
|
|
5688
5688
|
{
|
|
5689
5689
|
lines: summary.lines,
|
|
5690
5690
|
warnings: summary.warnings,
|
|
5691
5691
|
isLoading: isPlanning,
|
|
5692
|
-
error:
|
|
5692
|
+
error: chunk2TLEQBTM_cjs.planFailure(planError),
|
|
5693
5693
|
onRetry: () => void refetchPlan()
|
|
5694
5694
|
}
|
|
5695
5695
|
),
|
|
@@ -5703,7 +5703,7 @@ function ConnectedExportPanel({
|
|
|
5703
5703
|
] })
|
|
5704
5704
|
] }),
|
|
5705
5705
|
!jobId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5706
|
-
|
|
5706
|
+
chunkQEEK2Z5T_cjs.ExportFooter,
|
|
5707
5707
|
{
|
|
5708
5708
|
onCancel: onClose,
|
|
5709
5709
|
onSubmit: handleSubmit,
|
|
@@ -5744,7 +5744,7 @@ function OpenExportDialog({
|
|
|
5744
5744
|
children: [
|
|
5745
5745
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkCVPV4I7Z_cjs.ModalHeader, { children: [
|
|
5746
5746
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5747
|
-
|
|
5747
|
+
chunkQEEK2Z5T_cjs.ExportModalTitle,
|
|
5748
5748
|
{
|
|
5749
5749
|
workspace: workspace ? {
|
|
5750
5750
|
icon: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "touch-hit inline-flex", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -6161,7 +6161,7 @@ function ConnectedFieldsEditor({
|
|
|
6161
6161
|
const [sortBy, setSortBy] = react.useState("name-asc");
|
|
6162
6162
|
const [filterText, setFilterText] = react.useState("");
|
|
6163
6163
|
const fieldRows = react.useMemo(
|
|
6164
|
-
() => browser.flattenTagTree(
|
|
6164
|
+
() => browser.flattenTagTree(chunkQEEK2Z5T_cjs.sortFields(chunkQEEK2Z5T_cjs.filterFieldsByName(tags, filterText), sortBy)),
|
|
6165
6165
|
[tags, filterText, sortBy]
|
|
6166
6166
|
);
|
|
6167
6167
|
const exportItems = react.useMemo(
|
|
@@ -6181,7 +6181,7 @@ function ConnectedFieldsEditor({
|
|
|
6181
6181
|
setIsDeleting(false);
|
|
6182
6182
|
}
|
|
6183
6183
|
};
|
|
6184
|
-
const copy =
|
|
6184
|
+
const copy = chunkQEEK2Z5T_cjs.fieldsApplyBarCopy({
|
|
6185
6185
|
nouns,
|
|
6186
6186
|
targetNoun,
|
|
6187
6187
|
fieldCount,
|
|
@@ -6190,9 +6190,9 @@ function ConnectedFieldsEditor({
|
|
|
6190
6190
|
isApplying,
|
|
6191
6191
|
isClearing
|
|
6192
6192
|
});
|
|
6193
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6193
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.FieldsEditorRoot, { children: [
|
|
6194
6194
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6195
|
-
|
|
6195
|
+
chunkQEEK2Z5T_cjs.FieldsEditorToolbar,
|
|
6196
6196
|
{
|
|
6197
6197
|
nouns,
|
|
6198
6198
|
onNew: () => {
|
|
@@ -6220,11 +6220,11 @@ function ConnectedFieldsEditor({
|
|
|
6220
6220
|
onSortByChange: setSortBy
|
|
6221
6221
|
}
|
|
6222
6222
|
),
|
|
6223
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6223
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.FieldsEditorList, { children: [
|
|
6224
6224
|
fieldRows.map(({ tag, depth, childCount }) => {
|
|
6225
6225
|
const isEditingThis = editingTagId === tag.external_id;
|
|
6226
6226
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6227
|
-
|
|
6227
|
+
chunkQEEK2Z5T_cjs.FieldRow,
|
|
6228
6228
|
{
|
|
6229
6229
|
tagId: tag.external_id,
|
|
6230
6230
|
name: tag.name,
|
|
@@ -6277,10 +6277,10 @@ function ConnectedFieldsEditor({
|
|
|
6277
6277
|
tag.external_id
|
|
6278
6278
|
);
|
|
6279
6279
|
}),
|
|
6280
|
-
fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6280
|
+
fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.FieldsEmptyState, { children: chunkQEEK2Z5T_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
|
|
6281
6281
|
] }),
|
|
6282
6282
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6283
|
-
|
|
6283
|
+
chunkQEEK2Z5T_cjs.FieldsApplyBar,
|
|
6284
6284
|
{
|
|
6285
6285
|
hint: copy.hint,
|
|
6286
6286
|
applyLabel: copy.applyLabel,
|
|
@@ -6356,8 +6356,8 @@ function ConnectedFieldsManager({
|
|
|
6356
6356
|
}
|
|
6357
6357
|
);
|
|
6358
6358
|
const body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
6359
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6360
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6359
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
|
|
6360
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6361
6361
|
ConnectedFieldsEditor,
|
|
6362
6362
|
{
|
|
6363
6363
|
group: activeKind,
|
|
@@ -6369,7 +6369,7 @@ function ConnectedFieldsManager({
|
|
|
6369
6369
|
] });
|
|
6370
6370
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", children: [
|
|
6371
6371
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkJEHGTPS2_cjs.DraggableHeader, { children: [
|
|
6372
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6372
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
|
|
6373
6373
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3", children: tabHeader })
|
|
6374
6374
|
] }),
|
|
6375
6375
|
body
|
|
@@ -6398,7 +6398,7 @@ function ConnectedFieldsManagerPanel({
|
|
|
6398
6398
|
const [createRequest, setCreateRequest] = react$1.useTransientView(FIELDS_MANAGER_CREATE_VIEW, 0);
|
|
6399
6399
|
const [kind, setKind] = react$1.useTransientView(FIELDS_MANAGER_KIND_VIEW, "label");
|
|
6400
6400
|
const documentIds = react$1.useArbiSessionState((s) => s.selectedDocumentIds);
|
|
6401
|
-
const reviewing =
|
|
6401
|
+
const reviewing = chunkXBM6TVZL_cjs.useFilesPrefs((state) => chunkXBM6TVZL_cjs.filesViewMode(state) === "navigator");
|
|
6402
6402
|
const viewingId = react$1.useArbiSessionState((s) => s.viewingDocument?.id ?? null);
|
|
6403
6403
|
const reviewingId = reviewing ? viewingId : null;
|
|
6404
6404
|
const handleClose = react.useCallback(() => {
|
|
@@ -6439,7 +6439,7 @@ function ConnectedFieldsManagerPanel({
|
|
|
6439
6439
|
onAnnotationCreated,
|
|
6440
6440
|
onAiFieldsApplied: (result) => {
|
|
6441
6441
|
session.closePanel(FIELDS_MANAGER_PANEL);
|
|
6442
|
-
const review =
|
|
6442
|
+
const review = chunkXBM6TVZL_cjs.useAiReviewStore.getState();
|
|
6443
6443
|
review.setRun(result);
|
|
6444
6444
|
review.setOpen(true);
|
|
6445
6445
|
}
|
|
@@ -6814,7 +6814,7 @@ var factNouns = () => ({
|
|
|
6814
6814
|
function useWorkspaceAsk() {
|
|
6815
6815
|
const { openNewConversation, openFiles } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
6816
6816
|
const { workspaceId } = chunkVWSOHZK2_cjs.useConnectedWorkspace();
|
|
6817
|
-
const setFilesViewMode =
|
|
6817
|
+
const setFilesViewMode = chunkXBM6TVZL_cjs.useFilesPrefs((state) => state.setViewMode);
|
|
6818
6818
|
const ask = react.useCallback(
|
|
6819
6819
|
(text) => openNewConversation({ prompt: text, keepDocumentOpen: true }),
|
|
6820
6820
|
[openNewConversation]
|
|
@@ -7342,7 +7342,7 @@ function useFactFilters(notes, view, chat) {
|
|
|
7342
7342
|
(selected, setSelected, opts) => {
|
|
7343
7343
|
const applied = new Set(selected);
|
|
7344
7344
|
return /* @__PURE__ */ jsxRuntime.jsx(chunkFUKN3PI5_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7345
|
-
|
|
7345
|
+
chunkQEEK2Z5T_cjs.FieldLabelsSelect,
|
|
7346
7346
|
{
|
|
7347
7347
|
options: labelOptions,
|
|
7348
7348
|
appliedIds: applied,
|
|
@@ -7569,7 +7569,7 @@ var FactHeader = react.memo(function FactHeader2({
|
|
|
7569
7569
|
if (params.enableSorting) params.progressSort(e.shiftKey);
|
|
7570
7570
|
},
|
|
7571
7571
|
children: [
|
|
7572
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7572
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.FilterButton, { params, colId }),
|
|
7573
7573
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "order-2 min-w-0 flex-1 truncate", children: params.displayName }),
|
|
7574
7574
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ag-sort-indicator-container order-2 flex-shrink-0", "aria-hidden": "true", children: [
|
|
7575
7575
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -7840,7 +7840,7 @@ function useFactsPageView() {
|
|
|
7840
7840
|
"facts.searchFields",
|
|
7841
7841
|
DEFAULT_SEARCH_FIELDS
|
|
7842
7842
|
);
|
|
7843
|
-
const rowHeight = react$1.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ??
|
|
7843
|
+
const rowHeight = react$1.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ?? chunkQEEK2Z5T_cjs.ROW_MIN);
|
|
7844
7844
|
const labelWidth = react$1.useArbiSessionState(
|
|
7845
7845
|
(s) => s.grid.labelWidths[FACTS_GRID_ID] ?? DEFAULT_TIMELINE_LABEL_WIDTH
|
|
7846
7846
|
);
|
|
@@ -8074,7 +8074,7 @@ function ConnectedFactsPage() {
|
|
|
8074
8074
|
const view = pageView.view;
|
|
8075
8075
|
const setView = pageView.setView;
|
|
8076
8076
|
const openLabels = () => openFieldsManagerIn(session, "label");
|
|
8077
|
-
const factsRowHeight = pageView.rowHeight ===
|
|
8077
|
+
const factsRowHeight = pageView.rowHeight === chunkQEEK2Z5T_cjs.ROW_MIN ? chunkQEEK2Z5T_cjs.ROW_MIN : chunkQEEK2Z5T_cjs.rowHeightForLines(chunkQEEK2Z5T_cjs.linesForRowHeight(pageView.rowHeight));
|
|
8078
8078
|
const [isExportOpen, setIsExportOpen] = react.useState(false);
|
|
8079
8079
|
const [filterOpen, setFilterOpen] = react.useState(false);
|
|
8080
8080
|
const [factSection, setFactSection] = react.useState(null);
|
|
@@ -8127,7 +8127,7 @@ function ConnectedFactsPage() {
|
|
|
8127
8127
|
onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
|
|
8128
8128
|
navSlotRef: setNavSlot,
|
|
8129
8129
|
navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8130
|
-
|
|
8130
|
+
chunk77MAR6Y4_cjs.GridRowNavigator,
|
|
8131
8131
|
{
|
|
8132
8132
|
gridApi,
|
|
8133
8133
|
selectedId: editingId,
|
|
@@ -8140,7 +8140,7 @@ function ConnectedFactsPage() {
|
|
|
8140
8140
|
tools: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
8141
8141
|
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkFUKN3PI5_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
|
|
8142
8142
|
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8143
|
-
|
|
8143
|
+
chunkQEEK2Z5T_cjs.RowDensityControl,
|
|
8144
8144
|
{
|
|
8145
8145
|
rowHeight: factsRowHeight,
|
|
8146
8146
|
onRowHeightChange: pageView.setRowHeight,
|
|
@@ -8404,7 +8404,7 @@ function useConnectedShellWorkspaces(options = {}) {
|
|
|
8404
8404
|
function ConnectedSsoDisconnect() {
|
|
8405
8405
|
const { client } = react$1.useAccountClient();
|
|
8406
8406
|
const { data: profile } = react$1.useProfile();
|
|
8407
|
-
const auth =
|
|
8407
|
+
const auth = chunkTUTPAAFH_cjs.useAuthPages();
|
|
8408
8408
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
8409
8409
|
const [open, setOpen] = react.useState(false);
|
|
8410
8410
|
const [step, setStep] = react.useState("email");
|
|
@@ -8582,14 +8582,14 @@ function ConnectedAccountSettings({
|
|
|
8582
8582
|
}) {
|
|
8583
8583
|
const [logoutOpen, setLogoutOpen] = react.useState(false);
|
|
8584
8584
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
|
|
8585
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8585
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkTUTPAAFH_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
|
|
8586
8586
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
|
|
8587
8587
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
|
|
8588
8588
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
|
|
8589
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8589
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkTUTPAAFH_cjs.ConnectedSecuritySection, { children: securityRows }),
|
|
8590
8590
|
moreSettings,
|
|
8591
8591
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8592
|
-
|
|
8592
|
+
chunkTUTPAAFH_cjs.ConnectedIdentityVerification,
|
|
8593
8593
|
{
|
|
8594
8594
|
collapsible: true,
|
|
8595
8595
|
onManageBilling,
|
|
@@ -8599,7 +8599,7 @@ function ConnectedAccountSettings({
|
|
|
8599
8599
|
] }),
|
|
8600
8600
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
|
|
8601
8601
|
connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
|
|
8602
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8602
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkTUTPAAFH_cjs.ConnectedSessionsRow, { renderSessionIcon }),
|
|
8603
8603
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8604
8604
|
ui.Button,
|
|
8605
8605
|
{
|
|
@@ -8616,9 +8616,9 @@ function ConnectedAccountSettings({
|
|
|
8616
8616
|
}
|
|
8617
8617
|
) })
|
|
8618
8618
|
] }) }),
|
|
8619
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8619
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkTUTPAAFH_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
|
|
8620
8620
|
!onLogout && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8621
|
-
|
|
8621
|
+
chunkTUTPAAFH_cjs.ConnectedLogoutDialog,
|
|
8622
8622
|
{
|
|
8623
8623
|
open: logoutOpen,
|
|
8624
8624
|
onClose: () => setLogoutOpen(false),
|
|
@@ -8961,7 +8961,7 @@ function ConnectedPrivacySettings({
|
|
|
8961
8961
|
}
|
|
8962
8962
|
)
|
|
8963
8963
|
] }) }),
|
|
8964
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8964
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkTUTPAAFH_cjs.ConnectedNotificationPreferences, {})
|
|
8965
8965
|
] });
|
|
8966
8966
|
}
|
|
8967
8967
|
var PROVIDER_NAMES = {
|
|
@@ -10980,7 +10980,7 @@ function ConnectedRecoveryKeyDialog({
|
|
|
10980
10980
|
const arbi = react$1.useArbi();
|
|
10981
10981
|
const { user, isSso: isSsoMode } = react$1.useArbiSession();
|
|
10982
10982
|
const userEmail = user?.email;
|
|
10983
|
-
const sso =
|
|
10983
|
+
const sso = chunkTUTPAAFH_cjs.useSsoSignIn();
|
|
10984
10984
|
const handleVerify = async () => {
|
|
10985
10985
|
setError(null);
|
|
10986
10986
|
if (!password) {
|
|
@@ -11141,7 +11141,7 @@ function ConnectedRemoteControlSwitch() {
|
|
|
11141
11141
|
}
|
|
11142
11142
|
function RemoteControlSwitch() {
|
|
11143
11143
|
const enabled = react$1.useRemoteControl((state) => state.enabled);
|
|
11144
|
-
const remote =
|
|
11144
|
+
const remote = chunkTUTPAAFH_cjs.useRemoteControlActions();
|
|
11145
11145
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
11146
11146
|
chunkQQMMCXBP_cjs.SettingsRow,
|
|
11147
11147
|
{
|
|
@@ -12314,7 +12314,7 @@ function ConnectedWorkspaceShareDialog({
|
|
|
12314
12314
|
chunk223D4727_cjs.ModalBreadcrumbHeader,
|
|
12315
12315
|
{
|
|
12316
12316
|
workspaceName: workspace.name,
|
|
12317
|
-
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12317
|
+
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(chunk2TLEQBTM_cjs.ConnectedWorkspaceEntity, { workspace, size: 20, variant: "icon" }),
|
|
12318
12318
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserPlus, { className: "w-4 h-4" }),
|
|
12319
12319
|
title: labels.title
|
|
12320
12320
|
}
|
|
@@ -13397,13 +13397,13 @@ function ConnectedWorkspaceSettings({
|
|
|
13397
13397
|
const [membersExpanded, setMembersExpanded] = react.useState(false);
|
|
13398
13398
|
const [shareOpen, setShareOpen] = react.useState(false);
|
|
13399
13399
|
if (!workspace) {
|
|
13400
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkWHHBEV4G_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13400
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWHHBEV4G_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk77MAR6Y4_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
|
|
13401
13401
|
}
|
|
13402
13402
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
13403
13403
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkWHHBEV4G_cjs.WorkspacePageFrame, { testId, children: [
|
|
13404
13404
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkWHHBEV4G_cjs.WorkspaceIdentityPanel, { children: [
|
|
13405
13405
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13406
|
-
|
|
13406
|
+
chunk77MAR6Y4_cjs.EntityIdentityBar,
|
|
13407
13407
|
{
|
|
13408
13408
|
testId: "workspace-identity-bar",
|
|
13409
13409
|
canEdit: isOwner,
|
|
@@ -13420,7 +13420,7 @@ function ConnectedWorkspaceSettings({
|
|
|
13420
13420
|
label: "Name",
|
|
13421
13421
|
value: workspace.name,
|
|
13422
13422
|
placeholder: "Untitled",
|
|
13423
|
-
maxLength:
|
|
13423
|
+
maxLength: chunk77MAR6Y4_cjs.IDENTITY_NAME_MAX_LENGTH,
|
|
13424
13424
|
valueClassName: "truncate text-base font-semibold",
|
|
13425
13425
|
testId: "workspace-home-title",
|
|
13426
13426
|
hideLabel: true,
|
|
@@ -14919,36 +14919,36 @@ function ConnectedSharePointAdminConsentPage({
|
|
|
14919
14919
|
const result = givenResult === void 0 ? queryResult : givenResult;
|
|
14920
14920
|
const { apiBaseUrl } = chunkHN56WWBR_cjs.useBlocksEnvironment().runtimeConfig;
|
|
14921
14921
|
const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
|
|
14922
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
14922
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAYK3BLUB_cjs.ConsentCard, { size: "md", children: [
|
|
14923
14923
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14924
|
-
|
|
14924
|
+
chunkAYK3BLUB_cjs.ConsentHeader,
|
|
14925
14925
|
{
|
|
14926
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14926
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
|
|
14927
14927
|
title: "Approve ARBI for SharePoint access",
|
|
14928
14928
|
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."
|
|
14929
14929
|
}
|
|
14930
14930
|
),
|
|
14931
|
-
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
14932
|
-
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
14933
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
14931
|
+
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_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." }),
|
|
14932
|
+
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_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." }),
|
|
14933
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkAYK3BLUB_cjs.ConsentSection, { title: "What you are approving", children: [
|
|
14934
14934
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14935
|
-
|
|
14935
|
+
chunkAYK3BLUB_cjs.ConsentBulletList,
|
|
14936
14936
|
{
|
|
14937
14937
|
items: [
|
|
14938
14938
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14939
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14939
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
|
|
14940
14940
|
" \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."
|
|
14941
14941
|
] }),
|
|
14942
14942
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14943
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14943
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
|
|
14944
14944
|
" \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
|
|
14945
14945
|
] })
|
|
14946
14946
|
]
|
|
14947
14947
|
}
|
|
14948
14948
|
),
|
|
14949
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14949
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_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." }),
|
|
14950
14950
|
/* @__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" }) }),
|
|
14951
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14951
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_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." })
|
|
14952
14952
|
] })
|
|
14953
14953
|
] }) });
|
|
14954
14954
|
}
|
|
@@ -18161,7 +18161,7 @@ function ConnectedWorkspaceList({
|
|
|
18161
18161
|
}
|
|
18162
18162
|
);
|
|
18163
18163
|
}
|
|
18164
|
-
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18164
|
+
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunk77MAR6Y4_cjs.LoadingIndicator, { message: "Loading workspaces..." });
|
|
18165
18165
|
if (list.error) {
|
|
18166
18166
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18167
18167
|
chunkDSLMJ24E_cjs.HomeLoadError,
|
|
@@ -18234,7 +18234,7 @@ function ConnectedWorkspaceList({
|
|
|
18234
18234
|
workspaceState
|
|
18235
18235
|
}
|
|
18236
18236
|
) })
|
|
18237
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18237
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk77MAR6Y4_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkDSLMJ24E_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18238
18238
|
WorkspaceTableView,
|
|
18239
18239
|
{
|
|
18240
18240
|
list,
|
|
@@ -18436,7 +18436,7 @@ function ConnectedProjectsListPage({
|
|
|
18436
18436
|
};
|
|
18437
18437
|
const { openProject } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
18438
18438
|
const [search, setSearch] = react.useState("");
|
|
18439
|
-
const { projects, isLoading } =
|
|
18439
|
+
const { projects, isLoading } = chunkVNK4HCHH_cjs.useProjectSummaries();
|
|
18440
18440
|
const rows = react.useMemo(() => {
|
|
18441
18441
|
const q = search.trim().toLowerCase();
|
|
18442
18442
|
if (!q) return projects;
|
|
@@ -18507,7 +18507,7 @@ function ConnectedProjectsListPage({
|
|
|
18507
18507
|
}
|
|
18508
18508
|
),
|
|
18509
18509
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18510
|
-
|
|
18510
|
+
chunk77MAR6Y4_cjs.Toolbar,
|
|
18511
18511
|
{
|
|
18512
18512
|
search,
|
|
18513
18513
|
onSearch: setSearch,
|
|
@@ -18569,7 +18569,7 @@ function ProjectDetailsForm({
|
|
|
18569
18569
|
const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
|
|
18570
18570
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
18571
18571
|
const update = react$1.useUpdateProjectFields();
|
|
18572
|
-
const workspace =
|
|
18572
|
+
const workspace = chunkVNK4HCHH_cjs.primaryProjectWorkspace(project);
|
|
18573
18573
|
const { data: members = [] } = react$1.useWorkspaceUsers(workspace?.id);
|
|
18574
18574
|
const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
|
|
18575
18575
|
const currency = project.budget?.currency ?? "GBP";
|
|
@@ -18758,9 +18758,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
18758
18758
|
for (const tag of workspaceTags ?? []) map.set(tag.external_id, tag.name);
|
|
18759
18759
|
return map;
|
|
18760
18760
|
}, [workspaceTags]);
|
|
18761
|
-
const pendingFolders =
|
|
18762
|
-
const addPendingFolder =
|
|
18763
|
-
const removePendingFolder =
|
|
18761
|
+
const pendingFolders = chunkXBM6TVZL_cjs.usePendingFolders(wsId);
|
|
18762
|
+
const addPendingFolder = chunkXBM6TVZL_cjs.useFilesStore((state) => state.addPendingFolder);
|
|
18763
|
+
const removePendingFolder = chunkXBM6TVZL_cjs.useFilesStore((state) => state.removePendingFolder);
|
|
18764
18764
|
const [editingFolderPath, setEditingFolderPath] = react.useState(null);
|
|
18765
18765
|
const isSearching = search.trim().length > 0;
|
|
18766
18766
|
const selectedSet = react.useMemo(() => new Set(selectedIds), [selectedIds]);
|
|
@@ -18769,8 +18769,8 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
18769
18769
|
const { folders, files: files2 } = react.useMemo(() => {
|
|
18770
18770
|
const result = isSearching ? {
|
|
18771
18771
|
folders: [],
|
|
18772
|
-
files:
|
|
18773
|
-
} :
|
|
18772
|
+
files: chunkQEEK2Z5T_cjs.searchExplorerDocuments(documents, search, sort)
|
|
18773
|
+
} : chunkQEEK2Z5T_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
|
|
18774
18774
|
if (sortReversed) result.files = [...result.files].reverse();
|
|
18775
18775
|
return result;
|
|
18776
18776
|
}, [documents, currentPath, sort, isSearching, search, sortReversed, pendingFolders]);
|
|
@@ -18781,7 +18781,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
18781
18781
|
const orderedFileIds = react.useMemo(() => files2.map((d) => d.external_id), [files2]);
|
|
18782
18782
|
const folderDocs = react.useMemo(() => {
|
|
18783
18783
|
const map = /* @__PURE__ */ new Map();
|
|
18784
|
-
for (const f of folders) map.set(f.path.join("/"),
|
|
18784
|
+
for (const f of folders) map.set(f.path.join("/"), chunkQEEK2Z5T_cjs.collectFolderDocs(documents, f.path));
|
|
18785
18785
|
return map;
|
|
18786
18786
|
}, [folders, documents]);
|
|
18787
18787
|
const folderSelection = react.useMemo(() => {
|
|
@@ -18929,7 +18929,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
18929
18929
|
let name = base;
|
|
18930
18930
|
let i = 2;
|
|
18931
18931
|
while (siblings.has(name.toLowerCase())) name = `${base} ${i++}`;
|
|
18932
|
-
const path =
|
|
18932
|
+
const path = chunkQEEK2Z5T_cjs.joinFolderPath([...currentPath, name]);
|
|
18933
18933
|
if (!path) return;
|
|
18934
18934
|
addPendingFolder(wsId, path);
|
|
18935
18935
|
setEditingFolderPath(path);
|
|
@@ -18965,10 +18965,10 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
18965
18965
|
notify19(`A folder named "${name}" already exists here.`, "error");
|
|
18966
18966
|
return;
|
|
18967
18967
|
}
|
|
18968
|
-
const oldPath =
|
|
18968
|
+
const oldPath = chunkQEEK2Z5T_cjs.joinFolderPath(folder.path);
|
|
18969
18969
|
const newPrefix = [...folder.path.slice(0, -1), name];
|
|
18970
|
-
const newPath =
|
|
18971
|
-
const docs =
|
|
18970
|
+
const newPath = chunkQEEK2Z5T_cjs.joinFolderPath(newPrefix);
|
|
18971
|
+
const docs = chunkQEEK2Z5T_cjs.collectFolderDocs(documents, folder.path);
|
|
18972
18972
|
try {
|
|
18973
18973
|
if (await renameFolder(docs, folder.path, newPrefix) > 0) {
|
|
18974
18974
|
notify19(`Renamed folder to "${name}"`, "success");
|
|
@@ -19027,7 +19027,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19027
19027
|
const handleToggleFolder = react.useCallback(
|
|
19028
19028
|
(folder, e) => {
|
|
19029
19029
|
e.stopPropagation();
|
|
19030
|
-
const ids =
|
|
19030
|
+
const ids = chunkQEEK2Z5T_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
|
|
19031
19031
|
if (ids.length === 0) return;
|
|
19032
19032
|
if (ids.every((id) => selectedSet.has(id))) {
|
|
19033
19033
|
const remove = new Set(ids);
|
|
@@ -19088,9 +19088,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19088
19088
|
);
|
|
19089
19089
|
const handleDelete = react.useCallback(
|
|
19090
19090
|
async (doc) => {
|
|
19091
|
-
const name =
|
|
19091
|
+
const name = chunkQEEK2Z5T_cjs.getExplorerDisplayName(doc);
|
|
19092
19092
|
const confirmed = await confirm({
|
|
19093
|
-
message: `Delete "${name}"? ${
|
|
19093
|
+
message: `Delete "${name}"? ${chunkQEEK2Z5T_cjs.RECENTLY_DELETED_HINT}`,
|
|
19094
19094
|
title: "Delete file"
|
|
19095
19095
|
});
|
|
19096
19096
|
if (!confirmed) return;
|
|
@@ -19110,7 +19110,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19110
19110
|
);
|
|
19111
19111
|
const handleFolderDownload = react.useCallback(
|
|
19112
19112
|
(folder) => {
|
|
19113
|
-
const docs =
|
|
19113
|
+
const docs = chunkQEEK2Z5T_cjs.collectFolderDocs(documents, folder.path);
|
|
19114
19114
|
if (docs.length > 0) void downloadDocuments(docs);
|
|
19115
19115
|
},
|
|
19116
19116
|
[documents, downloadDocuments]
|
|
@@ -19119,7 +19119,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19119
19119
|
if (onFolderMove) return onFolderMove;
|
|
19120
19120
|
if (!onMoveSelected) return void 0;
|
|
19121
19121
|
return (folder) => {
|
|
19122
|
-
const ids =
|
|
19122
|
+
const ids = chunkQEEK2Z5T_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
|
|
19123
19123
|
if (ids.length === 0) return;
|
|
19124
19124
|
onSelectionChange(ids);
|
|
19125
19125
|
onMoveSelected();
|
|
@@ -19127,14 +19127,14 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19127
19127
|
}, [documents, onFolderMove, onMoveSelected, onSelectionChange]);
|
|
19128
19128
|
const handleFolderDelete = react.useCallback(
|
|
19129
19129
|
async (folder) => {
|
|
19130
|
-
const docs =
|
|
19130
|
+
const docs = chunkQEEK2Z5T_cjs.collectFolderDocs(documents, folder.path);
|
|
19131
19131
|
if (docs.length === 0) {
|
|
19132
|
-
const path =
|
|
19132
|
+
const path = chunkQEEK2Z5T_cjs.joinFolderPath(folder.path);
|
|
19133
19133
|
if (wsId && path) removePendingFolder(wsId, path);
|
|
19134
19134
|
return;
|
|
19135
19135
|
}
|
|
19136
19136
|
const confirmed = await confirm({
|
|
19137
|
-
message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${
|
|
19137
|
+
message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunkQEEK2Z5T_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
|
|
19138
19138
|
title: "Delete folder"
|
|
19139
19139
|
});
|
|
19140
19140
|
if (!confirmed) return;
|
|
@@ -19151,8 +19151,8 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19151
19151
|
[confirm, documents, deleteDocuments, onSelectionChange, removePendingFolder, wsId, notify19]
|
|
19152
19152
|
);
|
|
19153
19153
|
const canDeleteFolder = react.useCallback(
|
|
19154
|
-
(folder) => canUpload &&
|
|
19155
|
-
(doc) =>
|
|
19154
|
+
(folder) => canUpload && chunkQEEK2Z5T_cjs.collectFolderDocs(documents, folder.path).every(
|
|
19155
|
+
(doc) => chunkQEEK2Z5T_cjs.canDeleteDocument(doc, userId, role)
|
|
19156
19156
|
),
|
|
19157
19157
|
[canUpload, documents, userId, role]
|
|
19158
19158
|
);
|
|
@@ -19211,7 +19211,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19211
19211
|
setActiveDragId(null);
|
|
19212
19212
|
const data = event.over?.data.current;
|
|
19213
19213
|
if (data?.type === "folder" && data.path) {
|
|
19214
|
-
const targetFolder =
|
|
19214
|
+
const targetFolder = chunkQEEK2Z5T_cjs.joinFolderPath(data.path);
|
|
19215
19215
|
const moving = dragIdsRef.current.filter((id) => {
|
|
19216
19216
|
const doc = documents.find((d) => d.external_id === id);
|
|
19217
19217
|
return doc && (doc.folder ?? null) !== targetFolder;
|
|
@@ -19251,7 +19251,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19251
19251
|
const dropped = Array.from(e.dataTransfer.files ?? []);
|
|
19252
19252
|
if (dropped.length > 0) {
|
|
19253
19253
|
e.preventDefault();
|
|
19254
|
-
onUploadFiles(dropped,
|
|
19254
|
+
onUploadFiles(dropped, chunkQEEK2Z5T_cjs.joinFolderPath(currentPath));
|
|
19255
19255
|
}
|
|
19256
19256
|
},
|
|
19257
19257
|
[canUpload, currentPath, onUploadFiles]
|
|
@@ -19268,9 +19268,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19268
19268
|
onDragEnd: handleDragEnd,
|
|
19269
19269
|
onDragCancel: () => setActiveDragId(null),
|
|
19270
19270
|
children: [
|
|
19271
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19271
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.ExplorerStage, { children: [
|
|
19272
19272
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19273
|
-
|
|
19273
|
+
chunkQEEK2Z5T_cjs.ExplorerScroller,
|
|
19274
19274
|
{
|
|
19275
19275
|
ref: scrollRef,
|
|
19276
19276
|
onClick: handleBackgroundClick,
|
|
@@ -19280,15 +19280,15 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19280
19280
|
onDragLeave: handleNativeDragLeave,
|
|
19281
19281
|
onDrop: handleNativeDrop,
|
|
19282
19282
|
"data-testid": "explorer-scroll",
|
|
19283
|
-
children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
19284
|
-
|
|
19283
|
+
children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
19284
|
+
chunkQEEK2Z5T_cjs.ExplorerEmpty,
|
|
19285
19285
|
{
|
|
19286
19286
|
title: isSearching ? `No files match "${search.trim()}"` : "This folder is empty",
|
|
19287
19287
|
description: isSearching ? "Try a different search." : canUpload ? "Drop files here or use Upload to add documents." : "No documents here yet."
|
|
19288
19288
|
}
|
|
19289
19289
|
) : containerWidth === 0 ? (
|
|
19290
19290
|
// Not measured yet: rendering now would flash one stretched column.
|
|
19291
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19291
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.ExplorerLoadingTiles, {})
|
|
19292
19292
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
19293
19293
|
"div",
|
|
19294
19294
|
{
|
|
@@ -19318,7 +19318,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19318
19318
|
if (entry.kind === "folder") {
|
|
19319
19319
|
const key = entry.path.join("/");
|
|
19320
19320
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19321
|
-
|
|
19321
|
+
chunkN2YNXFT4_cjs.FolderTile,
|
|
19322
19322
|
{
|
|
19323
19323
|
folder: entry,
|
|
19324
19324
|
density,
|
|
@@ -19341,7 +19341,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19341
19341
|
}
|
|
19342
19342
|
const doc = entry.doc;
|
|
19343
19343
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19344
|
-
|
|
19344
|
+
chunkN2YNXFT4_cjs.FileTile,
|
|
19345
19345
|
{
|
|
19346
19346
|
doc,
|
|
19347
19347
|
density,
|
|
@@ -19349,7 +19349,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19349
19349
|
dragging: activeDragId === doc.external_id,
|
|
19350
19350
|
dndActive: activeDragId !== null,
|
|
19351
19351
|
renaming: renamingId === doc.external_id,
|
|
19352
|
-
canDelete:
|
|
19352
|
+
canDelete: chunkQEEK2Z5T_cjs.canDeleteDocument(doc, userId, role),
|
|
19353
19353
|
thumbnailUrl: thumbnailsById.get(doc.external_id),
|
|
19354
19354
|
modifiedBy: userById.get(
|
|
19355
19355
|
doc.updated_by_ext_id ?? doc.created_by_ext_id
|
|
@@ -19378,9 +19378,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19378
19378
|
)
|
|
19379
19379
|
}
|
|
19380
19380
|
),
|
|
19381
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19381
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
|
|
19382
19382
|
isFileDragOver && /* @__PURE__ */ jsxRuntime.jsx(
|
|
19383
|
-
|
|
19383
|
+
chunkQEEK2Z5T_cjs.ExplorerDropOverlay,
|
|
19384
19384
|
{
|
|
19385
19385
|
label: `Drop to upload${currentPath.length > 0 ? ` to "${currentPath[currentPath.length - 1]}"` : ""}`
|
|
19386
19386
|
}
|
|
@@ -19394,7 +19394,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19394
19394
|
function DragPreview({ doc, count: count2 }) {
|
|
19395
19395
|
const Icon = ui.getFileTypeIcon(doc.file_name, { mime: doc.file_type, folder: doc.folder });
|
|
19396
19396
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19397
|
-
|
|
19397
|
+
chunkQEEK2Z5T_cjs.ExplorerDragPreview,
|
|
19398
19398
|
{
|
|
19399
19399
|
icon: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 20 }),
|
|
19400
19400
|
title: ui.getDocumentTitle(doc, doc.file_name ?? "Untitled"),
|
|
@@ -19631,11 +19631,11 @@ function ConnectedProjectPage({
|
|
|
19631
19631
|
figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
|
|
19632
19632
|
threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
|
|
19633
19633
|
};
|
|
19634
|
-
const { project, usage, isLoading } =
|
|
19634
|
+
const { project, usage, isLoading } = chunkVNK4HCHH_cjs.useProjectSummary(projectId);
|
|
19635
19635
|
const { workspaceId } = chunkVWSOHZK2_cjs.useConnectedWorkspace();
|
|
19636
19636
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
19637
|
-
const selectWorkspace =
|
|
19638
|
-
const workspace = project ?
|
|
19637
|
+
const selectWorkspace = chunkP3PTSXGJ_cjs.useSelectWorkspace();
|
|
19638
|
+
const workspace = project ? chunkVNK4HCHH_cjs.primaryProjectWorkspace(project) : void 0;
|
|
19639
19639
|
const open = !!workspace && workspace.id === workspaceId;
|
|
19640
19640
|
react.useEffect(() => {
|
|
19641
19641
|
if (!workspace || workspace.id === workspaceId) return;
|
|
@@ -20586,7 +20586,7 @@ function AgentBarShell({
|
|
|
20586
20586
|
}, [isStepsExpanded, steps]);
|
|
20587
20587
|
const visibleStepCount = react.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
|
|
20588
20588
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
20589
|
-
|
|
20589
|
+
chunkAYK3BLUB_cjs.AgentBar,
|
|
20590
20590
|
{
|
|
20591
20591
|
className,
|
|
20592
20592
|
testId,
|
|
@@ -20598,7 +20598,7 @@ function AgentBarShell({
|
|
|
20598
20598
|
drawerRef: scrollRef,
|
|
20599
20599
|
onDrawerScroll: handleDrawerScroll,
|
|
20600
20600
|
drawer: /* @__PURE__ */ jsxRuntime.jsx(
|
|
20601
|
-
|
|
20601
|
+
chunkTUTPAAFH_cjs.AgentSteps,
|
|
20602
20602
|
{
|
|
20603
20603
|
steps: stepList,
|
|
20604
20604
|
isStreaming,
|
|
@@ -20633,12 +20633,12 @@ function DmAgentProgress({
|
|
|
20633
20633
|
steps,
|
|
20634
20634
|
className: compact ? "mx-4 my-2 rounded-none bg-transparent" : void 0,
|
|
20635
20635
|
status: /* @__PURE__ */ jsxRuntime.jsx(
|
|
20636
|
-
|
|
20636
|
+
chunkAYK3BLUB_cjs.AgentBarStatus,
|
|
20637
20637
|
{
|
|
20638
20638
|
stepLabel: label,
|
|
20639
20639
|
stepIcon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { "aria-label": "Working", className: "size-4 shrink-0 animate-spin text-primary" }),
|
|
20640
20640
|
timer: /* @__PURE__ */ jsxRuntime.jsx("span", { "data-testid": "dm-agent-elapsed", className: "inline-block min-w-[5ch] text-right", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
20641
|
-
|
|
20641
|
+
chunkTUTPAAFH_cjs.MessageLiveSeconds,
|
|
20642
20642
|
{
|
|
20643
20643
|
conversationId: status?.conversation_ext_id ?? void 0,
|
|
20644
20644
|
messageId: status?.response_id ?? status?.message_ext_id,
|
|
@@ -22778,10 +22778,10 @@ function ConnectedContactsPanel({
|
|
|
22778
22778
|
function ConnectedConfigForm({ availableModels, ...rest }) {
|
|
22779
22779
|
const hasModels = !!availableModels && availableModels.length > 0;
|
|
22780
22780
|
const renderModelSelect = react.useCallback(
|
|
22781
|
-
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
22781
|
+
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkTUTPAAFH_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
|
|
22782
22782
|
[]
|
|
22783
22783
|
);
|
|
22784
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22784
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
|
|
22785
22785
|
}
|
|
22786
22786
|
function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
|
|
22787
22787
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
@@ -22898,7 +22898,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22898
22898
|
}, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify19]);
|
|
22899
22899
|
if (editAgent) {
|
|
22900
22900
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22901
|
-
|
|
22901
|
+
chunkAYK3BLUB_cjs.AgentEditView,
|
|
22902
22902
|
{
|
|
22903
22903
|
agentName: editAgent.name,
|
|
22904
22904
|
config: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -22914,7 +22914,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22914
22914
|
}
|
|
22915
22915
|
if (view === "main") {
|
|
22916
22916
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22917
|
-
|
|
22917
|
+
chunkAYK3BLUB_cjs.AgentMainView,
|
|
22918
22918
|
{
|
|
22919
22919
|
onConnectExternal: () => setView("connect"),
|
|
22920
22920
|
config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -22930,11 +22930,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22930
22930
|
}
|
|
22931
22931
|
if (result) {
|
|
22932
22932
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22933
|
-
|
|
22933
|
+
chunkAYK3BLUB_cjs.AgentCreatedView,
|
|
22934
22934
|
{
|
|
22935
22935
|
email: result.email,
|
|
22936
22936
|
signingKey: result.signingKey,
|
|
22937
|
-
instructions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22937
|
+
instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
|
|
22938
22938
|
config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
|
|
22939
22939
|
isConfigOpen: configOpen,
|
|
22940
22940
|
onToggleConfig: () => setConfigOpen((v) => !v),
|
|
@@ -22943,7 +22943,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22943
22943
|
);
|
|
22944
22944
|
}
|
|
22945
22945
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22946
|
-
|
|
22946
|
+
chunkAYK3BLUB_cjs.AgentCreateView,
|
|
22947
22947
|
{
|
|
22948
22948
|
name,
|
|
22949
22949
|
onNameChange: setName,
|
|
@@ -23030,7 +23030,7 @@ function ConnectedInviteContactsDialog({
|
|
|
23030
23030
|
] })
|
|
23031
23031
|
] }) });
|
|
23032
23032
|
}
|
|
23033
|
-
var { files, threads, facts, agenda } =
|
|
23033
|
+
var { files, threads, facts, agenda } = chunk2TLEQBTM_cjs.WORKSPACE_DASHBOARD_LAYOUT;
|
|
23034
23034
|
function ConnectedWorkspaceDashboard({
|
|
23035
23035
|
start,
|
|
23036
23036
|
addFilesAction,
|
|
@@ -23039,14 +23039,14 @@ function ConnectedWorkspaceDashboard({
|
|
|
23039
23039
|
onTakePhoto,
|
|
23040
23040
|
testId = "workspace-dashboard"
|
|
23041
23041
|
}) {
|
|
23042
|
-
const startBand = start === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
23042
|
+
const startBand = start === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunk2TLEQBTM_cjs.ConnectedStartBlock, { onCreateNew, onTakePhoto }) : start;
|
|
23043
23043
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkUNSZLNA4_cjs.DashboardRoot, { testId, children: [
|
|
23044
23044
|
startBand && /* @__PURE__ */ jsxRuntime.jsx(chunkUNSZLNA4_cjs.DashboardBand, { kind: "start", children: startBand }),
|
|
23045
23045
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkUNSZLNA4_cjs.DashboardBand, { kind: "recent", children: [
|
|
23046
23046
|
/* @__PURE__ */ jsxRuntime.jsx(chunkIXCWZ4HC_cjs.SectionLabel, { testId: `${testId}-recent-caption`, children: "Recent" }),
|
|
23047
23047
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkUNSZLNA4_cjs.DashboardColumns, { children: [
|
|
23048
23048
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23049
|
-
|
|
23049
|
+
chunk2TLEQBTM_cjs.ConnectedListBlock,
|
|
23050
23050
|
{
|
|
23051
23051
|
config: files.config,
|
|
23052
23052
|
addFilesAction,
|
|
@@ -23057,7 +23057,7 @@ function ConnectedWorkspaceDashboard({
|
|
|
23057
23057
|
}
|
|
23058
23058
|
),
|
|
23059
23059
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23060
|
-
|
|
23060
|
+
chunk2TLEQBTM_cjs.ConnectedListBlock,
|
|
23061
23061
|
{
|
|
23062
23062
|
config: threads.config,
|
|
23063
23063
|
showLoading: false,
|
|
@@ -23067,8 +23067,8 @@ function ConnectedWorkspaceDashboard({
|
|
|
23067
23067
|
] })
|
|
23068
23068
|
] }),
|
|
23069
23069
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkUNSZLNA4_cjs.DashboardColumns, { children: [
|
|
23070
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23071
|
-
aside === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
23070
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk2TLEQBTM_cjs.ConnectedListBlock, { config: facts.config, showLoading: false, testId: `${testId}-facts` }),
|
|
23071
|
+
aside === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunk2TLEQBTM_cjs.ConnectedAgendaBlock, { config: agenda.config }) : aside
|
|
23072
23072
|
] })
|
|
23073
23073
|
] });
|
|
23074
23074
|
}
|
|
@@ -23146,7 +23146,7 @@ var inWorkspace = ({ workspaceId }) => !!workspaceId;
|
|
|
23146
23146
|
var canWrite = ({ isMember, role }) => isMember && role !== "guest";
|
|
23147
23147
|
var notTemporary = ({ isTemporaryAccess }) => !isTemporaryAccess;
|
|
23148
23148
|
function setDocumentSourceFilter(source) {
|
|
23149
|
-
const { documentFilters, setDocumentFilters } =
|
|
23149
|
+
const { documentFilters, setDocumentFilters } = chunkXBM6TVZL_cjs.useFilesPrefs.getState();
|
|
23150
23150
|
setDocumentFilters({
|
|
23151
23151
|
...documentFilters,
|
|
23152
23152
|
source_uploaded: source === "uploaded" ? "include" : null,
|
|
@@ -23158,9 +23158,9 @@ function createBuiltinActions(environment, session) {
|
|
|
23158
23158
|
const startWorkflowOnDocuments = (workflowId) => {
|
|
23159
23159
|
const { viewingDocument, selectedDocumentIds } = session.getState();
|
|
23160
23160
|
const documents = viewingDocument ? [viewingDocument.id] : [...selectedDocumentIds];
|
|
23161
|
-
|
|
23161
|
+
chunkAYK3BLUB_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
|
|
23162
23162
|
};
|
|
23163
|
-
const setFilesView = (mode) => () =>
|
|
23163
|
+
const setFilesView = (mode) => () => chunkXBM6TVZL_cjs.useFilesPrefs.getState().setViewMode(mode);
|
|
23164
23164
|
const actions = [
|
|
23165
23165
|
{
|
|
23166
23166
|
id: "goto-user-settings",
|
|
@@ -23225,7 +23225,7 @@ function createBuiltinActions(environment, session) {
|
|
|
23225
23225
|
icon: "Files",
|
|
23226
23226
|
keywords: ["download", "csv", "excel"],
|
|
23227
23227
|
available: inWorkspace,
|
|
23228
|
-
run: () =>
|
|
23228
|
+
run: () => chunkXBM6TVZL_cjs.useFilesDialogs.getState().setExportOpen(true)
|
|
23229
23229
|
},
|
|
23230
23230
|
{
|
|
23231
23231
|
id: "bulk-tag-documents",
|
|
@@ -23234,7 +23234,7 @@ function createBuiltinActions(environment, session) {
|
|
|
23234
23234
|
icon: "Tags",
|
|
23235
23235
|
keywords: ["labels", "categorize", "bulk tag"],
|
|
23236
23236
|
available: inWorkspace,
|
|
23237
|
-
run: () =>
|
|
23237
|
+
run: () => chunkXBM6TVZL_cjs.useFilesDialogs.getState().setBulkTagsOpen(true)
|
|
23238
23238
|
},
|
|
23239
23239
|
{
|
|
23240
23240
|
id: "move-to-folder",
|
|
@@ -23243,7 +23243,7 @@ function createBuiltinActions(environment, session) {
|
|
|
23243
23243
|
icon: "FolderInput",
|
|
23244
23244
|
keywords: ["organize", "relocate"],
|
|
23245
23245
|
available: inWorkspace,
|
|
23246
|
-
run: () =>
|
|
23246
|
+
run: () => chunkXBM6TVZL_cjs.useFilesDialogs.getState().openMove()
|
|
23247
23247
|
},
|
|
23248
23248
|
{
|
|
23249
23249
|
id: "ai-review-documents",
|
|
@@ -23252,7 +23252,7 @@ function createBuiltinActions(environment, session) {
|
|
|
23252
23252
|
icon: "Sparkles",
|
|
23253
23253
|
keywords: ["auto tag", "analyze", "suggest tags"],
|
|
23254
23254
|
available: inWorkspace,
|
|
23255
|
-
run: () =>
|
|
23255
|
+
run: () => chunkXBM6TVZL_cjs.useAiReviewStore.getState().setOpen(true)
|
|
23256
23256
|
},
|
|
23257
23257
|
{
|
|
23258
23258
|
id: "docs-grid-view",
|
|
@@ -23720,7 +23720,7 @@ function ConnectedRemoteControlConsent() {
|
|
|
23720
23720
|
}
|
|
23721
23721
|
function ConsentPrompt() {
|
|
23722
23722
|
const pending = react$1.useRemoteControl((s) => s.pending);
|
|
23723
|
-
const remote =
|
|
23723
|
+
const remote = chunkTUTPAAFH_cjs.useRemoteControlActions();
|
|
23724
23724
|
const onceRef = react.useRef(null);
|
|
23725
23725
|
chunkNZNBJF3M_cjs.useMountedSurface("consent");
|
|
23726
23726
|
const handleOpenChange = (next) => {
|
|
@@ -23813,7 +23813,7 @@ function Indicator() {
|
|
|
23813
23813
|
const enabled = react$1.useRemoteControl((s) => s.enabled);
|
|
23814
23814
|
const sharing = react$1.useRemoteControl((s) => !!s.sharing);
|
|
23815
23815
|
const controllingAgent = react$1.useRemoteControl((s) => s.controllingAgent);
|
|
23816
|
-
const remote =
|
|
23816
|
+
const remote = chunkTUTPAAFH_cjs.useRemoteControlActions();
|
|
23817
23817
|
if (!enabled && !controllingAgent) return null;
|
|
23818
23818
|
const isActive = controllingAgent !== null;
|
|
23819
23819
|
const label = sharing ? controllingAgent ? `${controllingAgent.name} \xB7 screen sharing and control on` : "Sharing screen \xB7 remote control on" : isActive ? `${controllingAgent.name} is controlling your screen` : "Remote control on";
|
|
@@ -23859,7 +23859,7 @@ function AddFromAccountsButton({
|
|
|
23859
23859
|
className: "gap-2",
|
|
23860
23860
|
"data-testid": dataTestId,
|
|
23861
23861
|
children: [
|
|
23862
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
23862
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
|
|
23863
23863
|
"Add from accounts"
|
|
23864
23864
|
]
|
|
23865
23865
|
}
|
|
@@ -23943,7 +23943,7 @@ function ConnectedUploadDropzone({
|
|
|
23943
23943
|
const onFiles = browse(fileInputRef);
|
|
23944
23944
|
const onFolder = browse(folderInputRef);
|
|
23945
23945
|
const dropTarget = /* @__PURE__ */ jsxRuntime.jsx(
|
|
23946
|
-
|
|
23946
|
+
chunkQEEK2Z5T_cjs.UploadDropArea,
|
|
23947
23947
|
{
|
|
23948
23948
|
isActive: dragActive,
|
|
23949
23949
|
isDisabled: disabled,
|
|
@@ -23957,11 +23957,11 @@ function ConnectedUploadDropzone({
|
|
|
23957
23957
|
onClick: (e) => {
|
|
23958
23958
|
if (e.target === e.currentTarget) onFiles();
|
|
23959
23959
|
},
|
|
23960
|
-
actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
23960
|
+
actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
|
|
23961
23961
|
}
|
|
23962
23962
|
);
|
|
23963
23963
|
const urlDialog = (trigger) => onUrlsSubmit ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
23964
|
-
|
|
23964
|
+
chunkQEEK2Z5T_cjs.UrlInputDialog,
|
|
23965
23965
|
{
|
|
23966
23966
|
onUrlsSubmit,
|
|
23967
23967
|
processing: disabled,
|
|
@@ -23974,12 +23974,12 @@ function ConnectedUploadDropzone({
|
|
|
23974
23974
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
23975
23975
|
dropTarget,
|
|
23976
23976
|
compactLeadingAction,
|
|
23977
|
-
onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(
|
|
23977
|
+
onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
|
|
23978
23978
|
] });
|
|
23979
23979
|
}
|
|
23980
23980
|
if (!source) {
|
|
23981
23981
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23982
|
-
|
|
23982
|
+
chunkQEEK2Z5T_cjs.UploadSourcePicker,
|
|
23983
23983
|
{
|
|
23984
23984
|
isDisabled: disabled,
|
|
23985
23985
|
options: [
|
|
@@ -24015,14 +24015,14 @@ function ConnectedUploadDropzone({
|
|
|
24015
24015
|
}
|
|
24016
24016
|
if (source === "computer") {
|
|
24017
24017
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
24018
|
-
|
|
24018
|
+
chunkQEEK2Z5T_cjs.UploadSourceSection,
|
|
24019
24019
|
{
|
|
24020
24020
|
testId: "upload-source-computer",
|
|
24021
24021
|
className: "flex w-full flex-col gap-3 pointer-coarse:flex-col-reverse",
|
|
24022
24022
|
children: [
|
|
24023
24023
|
dropTarget,
|
|
24024
24024
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24025
|
-
|
|
24025
|
+
chunkQEEK2Z5T_cjs.UploadBrowseButtons,
|
|
24026
24026
|
{
|
|
24027
24027
|
layout: "grid",
|
|
24028
24028
|
onFiles,
|
|
@@ -24035,15 +24035,15 @@ function ConnectedUploadDropzone({
|
|
|
24035
24035
|
);
|
|
24036
24036
|
}
|
|
24037
24037
|
if (source === "internet" && onUrlsSubmit) {
|
|
24038
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24038
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
|
|
24039
24039
|
}
|
|
24040
24040
|
if (source === "email" && accounts) {
|
|
24041
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24041
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
|
|
24042
24042
|
}
|
|
24043
24043
|
return null;
|
|
24044
24044
|
})();
|
|
24045
24045
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
24046
|
-
|
|
24046
|
+
chunkQEEK2Z5T_cjs.UploadFrame,
|
|
24047
24047
|
{
|
|
24048
24048
|
isCompact: compact,
|
|
24049
24049
|
isDimmed: disabled || processingMessage !== null,
|
|
@@ -24104,7 +24104,7 @@ function EmptyWorkspaceUpload({
|
|
|
24104
24104
|
compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
|
|
24105
24105
|
}
|
|
24106
24106
|
),
|
|
24107
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24107
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.PrivacyExplainerModal, {})
|
|
24108
24108
|
] })
|
|
24109
24109
|
}
|
|
24110
24110
|
);
|
|
@@ -24211,9 +24211,9 @@ function useDocumentFilters({
|
|
|
24211
24211
|
const { data: members = [] } = react$1.useWorkspaceUsers();
|
|
24212
24212
|
const user = members.find((m) => m.user.external_id === currentUserId)?.user;
|
|
24213
24213
|
const offlineIds = react$1.useOfflineDocumentIds();
|
|
24214
|
-
const pendingFolders =
|
|
24215
|
-
const persistedDocumentFilters =
|
|
24216
|
-
const setPersistedDocumentFilters =
|
|
24214
|
+
const pendingFolders = chunkXBM6TVZL_cjs.usePendingFolders(selectedWorkspaceId);
|
|
24215
|
+
const persistedDocumentFilters = chunkXBM6TVZL_cjs.useFilesPrefs((state) => state.documentFilters);
|
|
24216
|
+
const setPersistedDocumentFilters = chunkXBM6TVZL_cjs.useFilesPrefs((state) => state.setDocumentFilters);
|
|
24217
24217
|
const folderTree = react.useMemo(() => {
|
|
24218
24218
|
const allPaths = /* @__PURE__ */ new Set();
|
|
24219
24219
|
let hasUnfiled = false;
|
|
@@ -24434,7 +24434,7 @@ function useDocumentFilters({
|
|
|
24434
24434
|
{
|
|
24435
24435
|
id: "uploaded_by_me",
|
|
24436
24436
|
label: "Uploaded by me",
|
|
24437
|
-
icon: user ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24437
|
+
icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkN2YNXFT4_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
|
|
24438
24438
|
count: docs.filter((doc) => doc.created_by_ext_id === currentUserId).length
|
|
24439
24439
|
},
|
|
24440
24440
|
{
|
|
@@ -24555,7 +24555,7 @@ function useDocumentFilters({
|
|
|
24555
24555
|
const folderPath = react.useMemo(() => {
|
|
24556
24556
|
for (const [key, state] of documentFilters) {
|
|
24557
24557
|
if (key.startsWith("folder:") && key !== "folder:none" && state === "include") {
|
|
24558
|
-
return
|
|
24558
|
+
return chunkQEEK2Z5T_cjs.parseFolderSegments(key.slice("folder:".length));
|
|
24559
24559
|
}
|
|
24560
24560
|
}
|
|
24561
24561
|
return [];
|
|
@@ -24564,7 +24564,7 @@ function useDocumentFilters({
|
|
|
24564
24564
|
(path) => {
|
|
24565
24565
|
const next = new Map(documentFilters);
|
|
24566
24566
|
for (const key of next.keys()) if (key.startsWith("folder:")) next.set(key, null);
|
|
24567
|
-
const joined =
|
|
24567
|
+
const joined = chunkQEEK2Z5T_cjs.joinFolderPath(path);
|
|
24568
24568
|
if (joined) next.set(`folder:${joined}`, "include");
|
|
24569
24569
|
setDocumentFilters(next);
|
|
24570
24570
|
},
|
|
@@ -24791,7 +24791,7 @@ function ConnectedSearchPage({ embedded = false, labels }) {
|
|
|
24791
24791
|
const scopeCount = scope.count;
|
|
24792
24792
|
const tooMany = !!scopeDocIds && scopeDocIds.length > react$1.MAX_RETRIEVE_DOC_IDS;
|
|
24793
24793
|
const tooManyMessage = tooMany ? l.tooManyDocuments(scopeCount, react$1.MAX_RETRIEVE_DOC_IDS) : void 0;
|
|
24794
|
-
const uploadUrls =
|
|
24794
|
+
const uploadUrls = chunk2TLEQBTM_cjs.useAddFromUrls({
|
|
24795
24795
|
onZipFiles: (files2) => openUpload?.(files2, { source: "computer" })
|
|
24796
24796
|
});
|
|
24797
24797
|
const search = react$1.useSemanticSearch(scopeDocIds ?? [], {
|
|
@@ -27147,7 +27147,7 @@ function ConnectedMailbox({
|
|
|
27147
27147
|
onTabChange: () => {
|
|
27148
27148
|
},
|
|
27149
27149
|
compactBreakpoint: 360,
|
|
27150
|
-
firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
27150
|
+
firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.FilesFilterBar, { children: [
|
|
27151
27151
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27152
27152
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
27153
27153
|
{
|
|
@@ -27182,7 +27182,7 @@ function ConnectedMailbox({
|
|
|
27182
27182
|
}
|
|
27183
27183
|
),
|
|
27184
27184
|
folderList && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 items-center gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
27185
|
-
|
|
27185
|
+
chunkQEEK2Z5T_cjs.FolderFilterButton,
|
|
27186
27186
|
{
|
|
27187
27187
|
label: folderList.find((f) => f.id === folderId)?.name ?? "Folders",
|
|
27188
27188
|
isActive: false,
|
|
@@ -27190,7 +27190,7 @@ function ConnectedMailbox({
|
|
|
27190
27190
|
onOpenChange: setFolderMenuOpen,
|
|
27191
27191
|
testId: "mail-folder-button",
|
|
27192
27192
|
children: folderList.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
27193
|
-
|
|
27193
|
+
chunkQEEK2Z5T_cjs.FolderPickerRow,
|
|
27194
27194
|
{
|
|
27195
27195
|
label: item.name,
|
|
27196
27196
|
count: item.unread > 0 ? item.unread : void 0,
|
|
@@ -27704,7 +27704,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
27704
27704
|
}) {
|
|
27705
27705
|
const authenticated = react$1.useArbiSession().status === "signed-in";
|
|
27706
27706
|
const { openMail } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
27707
|
-
const { loading } =
|
|
27707
|
+
const { loading } = chunkTUTPAAFH_cjs.useAuthPages();
|
|
27708
27708
|
const claim = react$1.useClaimSecureMail();
|
|
27709
27709
|
const [, setFirstLoginWorkspaces] = react$1.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
|
|
27710
27710
|
const [failure, setFailure] = react.useState(null);
|
|
@@ -27744,7 +27744,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
27744
27744
|
}
|
|
27745
27745
|
})();
|
|
27746
27746
|
}, [authenticated, claimId, key]);
|
|
27747
|
-
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
27747
|
+
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunk77MAR6Y4_cjs.LoadingIndicator, { variant: "splash" }) });
|
|
27748
27748
|
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: [
|
|
27749
27749
|
/* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
|
|
27750
27750
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -29714,42 +29714,42 @@ function useConnectedCalendarCalls() {
|
|
|
29714
29714
|
[knownUsers]
|
|
29715
29715
|
);
|
|
29716
29716
|
return react.useMemo(() => {
|
|
29717
|
-
const users = (attendees) =>
|
|
29717
|
+
const users = (attendees) => chunk2TLEQBTM_cjs.resolveAttendeeUsersRemote(arbi, attendees, known, me);
|
|
29718
29718
|
return {
|
|
29719
29719
|
canSchedule,
|
|
29720
29720
|
async create(draft, webinarRoles) {
|
|
29721
29721
|
const resolved = await users(draft.attendees ?? []);
|
|
29722
|
-
return
|
|
29722
|
+
return chunk2TLEQBTM_cjs.createEventCall(arbi, {
|
|
29723
29723
|
title: draft.title,
|
|
29724
|
-
peers:
|
|
29725
|
-
webinar: webinarRoles ? { roles:
|
|
29724
|
+
peers: chunk2TLEQBTM_cjs.distinctPeers(resolved),
|
|
29725
|
+
webinar: webinarRoles ? { roles: chunk2TLEQBTM_cjs.webinarRolesByUser(webinarRoles, resolved) } : null
|
|
29726
29726
|
});
|
|
29727
29727
|
},
|
|
29728
29728
|
async share(draft) {
|
|
29729
|
-
await
|
|
29729
|
+
await chunk2TLEQBTM_cjs.shareEventCall(
|
|
29730
29730
|
arbi,
|
|
29731
29731
|
draft.conference,
|
|
29732
|
-
await
|
|
29732
|
+
await chunk2TLEQBTM_cjs.resolveCallPeersRemote(arbi, draft.attendees ?? [], known, me)
|
|
29733
29733
|
);
|
|
29734
29734
|
},
|
|
29735
|
-
loadWebinarRoles: (url, attendees) =>
|
|
29735
|
+
loadWebinarRoles: (url, attendees) => chunk2TLEQBTM_cjs.loadEventWebinar(arbi, url, attendees),
|
|
29736
29736
|
async saveWebinarRoles(url, roles, attendees) {
|
|
29737
29737
|
const resolved = await users(attendees);
|
|
29738
|
-
await
|
|
29738
|
+
await chunk2TLEQBTM_cjs.updateEventWebinarRoles(
|
|
29739
29739
|
arbi,
|
|
29740
29740
|
url,
|
|
29741
|
-
|
|
29742
|
-
|
|
29741
|
+
chunk2TLEQBTM_cjs.webinarRolesByUser(roles, resolved),
|
|
29742
|
+
chunk2TLEQBTM_cjs.distinctPeers(resolved)
|
|
29743
29743
|
);
|
|
29744
29744
|
},
|
|
29745
29745
|
async arbiAttendees(attendees) {
|
|
29746
29746
|
return new Set((await users(attendees)).keys());
|
|
29747
29747
|
},
|
|
29748
29748
|
join(url) {
|
|
29749
|
-
void
|
|
29749
|
+
void chunk2TLEQBTM_cjs.joinEventMeeting(arbi, url);
|
|
29750
29750
|
},
|
|
29751
29751
|
openChat(url) {
|
|
29752
|
-
const parsed =
|
|
29752
|
+
const parsed = chunk2TLEQBTM_cjs.parseArbiCallUrlForClient(arbi, url);
|
|
29753
29753
|
if (parsed) void openCallMeetingChat({ callExtId: parsed.callId, callKey: parsed.key });
|
|
29754
29754
|
}
|
|
29755
29755
|
};
|
|
@@ -30289,7 +30289,7 @@ function ConnectedCalendar({
|
|
|
30289
30289
|
}
|
|
30290
30290
|
),
|
|
30291
30291
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30292
|
-
|
|
30292
|
+
chunk2TLEQBTM_cjs.ConnectedUpcomingEvents,
|
|
30293
30293
|
{
|
|
30294
30294
|
timeZone: zone,
|
|
30295
30295
|
showDeclined: !!settings.show_declined,
|
|
@@ -30925,7 +30925,7 @@ function ProcessingSettingsFooter({
|
|
|
30925
30925
|
[configField]
|
|
30926
30926
|
);
|
|
30927
30927
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30928
|
-
|
|
30928
|
+
chunkQEEK2Z5T_cjs.UploadFooterBar,
|
|
30929
30929
|
{
|
|
30930
30930
|
skipDuplicates,
|
|
30931
30931
|
onSkipDuplicatesChange: (value) => handleConfigChange("Parser", "SKIP_DUPLICATES", value),
|
|
@@ -30934,7 +30934,7 @@ function ProcessingSettingsFooter({
|
|
|
30934
30934
|
autoRenameInstruction,
|
|
30935
30935
|
onAutoRenameInstructionChange: (value) => handleConfigChange("DoctagLLM", "AUTO_RENAME_INSTRUCTION", value),
|
|
30936
30936
|
shareToggle: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30937
|
-
|
|
30937
|
+
chunkQEEK2Z5T_cjs.ShareToggle,
|
|
30938
30938
|
{
|
|
30939
30939
|
isVisible: isShared,
|
|
30940
30940
|
onToggle: onSharedChange,
|
|
@@ -31064,7 +31064,7 @@ ${summary}`,
|
|
|
31064
31064
|
fail2
|
|
31065
31065
|
]);
|
|
31066
31066
|
const zipFilesAdded = react.useRef(false);
|
|
31067
|
-
const addFromUrls =
|
|
31067
|
+
const addFromUrls = chunk2TLEQBTM_cjs.useAddFromUrls({
|
|
31068
31068
|
shared,
|
|
31069
31069
|
configExtId,
|
|
31070
31070
|
onZipFiles: (zipFiles) => {
|
|
@@ -31111,7 +31111,7 @@ ${summary}`,
|
|
|
31111
31111
|
}
|
|
31112
31112
|
);
|
|
31113
31113
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-0 flex-1 flex-col", "data-testid": "upload-documents", children: [
|
|
31114
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31114
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
|
|
31115
31115
|
files2.length === 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31116
31116
|
ConnectedUploadDropzone,
|
|
31117
31117
|
{
|
|
@@ -31127,7 +31127,7 @@ ${summary}`,
|
|
|
31127
31127
|
}
|
|
31128
31128
|
),
|
|
31129
31129
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31130
|
-
|
|
31130
|
+
chunkQEEK2Z5T_cjs.SelectedFilesList,
|
|
31131
31131
|
{
|
|
31132
31132
|
renderFileIcon,
|
|
31133
31133
|
files: files2,
|
|
@@ -31136,10 +31136,10 @@ ${summary}`,
|
|
|
31136
31136
|
formatFileSize: formatFileSize3
|
|
31137
31137
|
}
|
|
31138
31138
|
),
|
|
31139
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31140
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31141
|
-
] }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
31142
|
-
|
|
31139
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
|
|
31140
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.UploadErrorMessage, { message: error })
|
|
31141
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31142
|
+
chunkQEEK2Z5T_cjs.UploadProgress,
|
|
31143
31143
|
{
|
|
31144
31144
|
fileCount: count2,
|
|
31145
31145
|
entityLabel: plural4(count2),
|
|
@@ -31301,14 +31301,14 @@ function NativeMailImportSection({
|
|
|
31301
31301
|
),
|
|
31302
31302
|
onError: (e) => notify19(e instanceof Error ? e.message : "Could not add mail", "error")
|
|
31303
31303
|
});
|
|
31304
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31305
|
-
|
|
31304
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.ImportFamilySection, { label: "Mail", identity: native.email, testId: "import-family-native", children: /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.ImportList, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31305
|
+
chunkQEEK2Z5T_cjs.ImportRow,
|
|
31306
31306
|
{
|
|
31307
31307
|
testId: "email-provider-row-native",
|
|
31308
31308
|
logo: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mail, { className: "h-7 w-7 text-primary", "aria-hidden": "true" }),
|
|
31309
31309
|
name: NATIVE_MAILBOX_SOURCE.display_name,
|
|
31310
31310
|
actions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31311
|
-
|
|
31311
|
+
chunkQEEK2Z5T_cjs.ImportRunActions,
|
|
31312
31312
|
{
|
|
31313
31313
|
isRunning: false,
|
|
31314
31314
|
isBusy: fileNow.isPending,
|
|
@@ -31322,10 +31322,10 @@ function NativeMailImportSection({
|
|
|
31322
31322
|
),
|
|
31323
31323
|
children: [
|
|
31324
31324
|
here && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31325
|
-
|
|
31325
|
+
chunkQEEK2Z5T_cjs.ImportSummary,
|
|
31326
31326
|
{
|
|
31327
|
-
aside: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31328
|
-
|
|
31327
|
+
aside: /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.ImportAside, { children: here.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31328
|
+
chunkQEEK2Z5T_cjs.FolderSummary,
|
|
31329
31329
|
{
|
|
31330
31330
|
names: here.folders.map(
|
|
31331
31331
|
(id) => NATIVE_MAILBOX_FOLDERS.find((f) => f.id === id)?.name
|
|
@@ -31367,7 +31367,7 @@ var PROVIDER_FAMILIES = [
|
|
|
31367
31367
|
{ key: "google", label: "Google", vendors: ["gmail"] }
|
|
31368
31368
|
];
|
|
31369
31369
|
function VendorGlyph({ catalog }) {
|
|
31370
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31370
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
|
|
31371
31371
|
}
|
|
31372
31372
|
function mailboxProductName(catalog) {
|
|
31373
31373
|
if (catalog.vendor_key === "microsoft") return "Outlook";
|
|
@@ -31435,7 +31435,7 @@ function EmailProviderRow({
|
|
|
31435
31435
|
const emailNoun = (n) => n === 1 ? "email" : "emails";
|
|
31436
31436
|
const syncedCount = thisSync?.synced_count ?? 0;
|
|
31437
31437
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31438
|
-
|
|
31438
|
+
chunkQEEK2Z5T_cjs.ImportRow,
|
|
31439
31439
|
{
|
|
31440
31440
|
testId: `email-provider-row-${catalog.vendor_key}`,
|
|
31441
31441
|
logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph, { catalog }),
|
|
@@ -31444,7 +31444,7 @@ function EmailProviderRow({
|
|
|
31444
31444
|
// Connecting AND reconnecting are owned by the family header, so a
|
|
31445
31445
|
// not-connected or needs-reconnect row shows no button of its own.
|
|
31446
31446
|
!isConnected || needsReconnect ? null : /* @__PURE__ */ jsxRuntime.jsx(
|
|
31447
|
-
|
|
31447
|
+
chunkQEEK2Z5T_cjs.ImportRunActions,
|
|
31448
31448
|
{
|
|
31449
31449
|
isRunning: running,
|
|
31450
31450
|
isStopping: cancelSync.isPending,
|
|
@@ -31460,10 +31460,10 @@ function EmailProviderRow({
|
|
|
31460
31460
|
),
|
|
31461
31461
|
children: [
|
|
31462
31462
|
isConnected && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31463
|
-
|
|
31463
|
+
chunkQEEK2Z5T_cjs.ImportSummary,
|
|
31464
31464
|
{
|
|
31465
|
-
aside: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31466
|
-
|
|
31465
|
+
aside: /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31466
|
+
chunkQEEK2Z5T_cjs.FolderSummary,
|
|
31467
31467
|
{
|
|
31468
31468
|
names: thisSync.folders.map(
|
|
31469
31469
|
(id) => mailboxFolders?.find((f) => f.id === id)?.name
|
|
@@ -31487,7 +31487,7 @@ function EmailProviderRow({
|
|
|
31487
31487
|
}
|
|
31488
31488
|
),
|
|
31489
31489
|
running && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31490
|
-
|
|
31490
|
+
chunkQEEK2Z5T_cjs.ImportProgress,
|
|
31491
31491
|
{
|
|
31492
31492
|
processed: progress?.processed ?? 0,
|
|
31493
31493
|
total: progress?.total,
|
|
@@ -31605,11 +31605,11 @@ function EmailImportPanel({
|
|
|
31605
31605
|
return { family, entries, extra, identity, connectVendor, connected, needsReconnect };
|
|
31606
31606
|
}).filter((g) => g.entries.length > 0 || g.extra);
|
|
31607
31607
|
if (!ownMailbox && groups.length === 0) return null;
|
|
31608
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31608
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.ImportPanel, { "data-testid": "email-import-panel", children: [
|
|
31609
31609
|
ownMailbox && /* @__PURE__ */ jsxRuntime.jsx(NativeMailImportSection, { workspaceExtId, native: ownMailbox }),
|
|
31610
31610
|
groups.map(
|
|
31611
31611
|
({ family, entries, extra, identity, connectVendor, connected, needsReconnect }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
31612
|
-
|
|
31612
|
+
chunkQEEK2Z5T_cjs.ImportFamilySection,
|
|
31613
31613
|
{
|
|
31614
31614
|
label: family.label,
|
|
31615
31615
|
identity,
|
|
@@ -31618,7 +31618,7 @@ function EmailImportPanel({
|
|
|
31618
31618
|
onAction: () => void (!connected ? connectFamily(connectVendor) : needsReconnect ? reconnectFamily(connectVendor) : disconnectFamily(family, connectVendor, identity)),
|
|
31619
31619
|
testId: `import-family-${family.key}`,
|
|
31620
31620
|
actionButton: !connected ? { testId: `import-family-connect-${family.key}` } : needsReconnect ? { testId: `import-family-reconnect-${family.key}` } : { testId: `import-family-disconnect-${family.key}` },
|
|
31621
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31621
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.ImportList, { children: [
|
|
31622
31622
|
entries.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
31623
31623
|
EmailProviderRow,
|
|
31624
31624
|
{
|
|
@@ -31703,7 +31703,7 @@ function driveProduct(vendorKey) {
|
|
|
31703
31703
|
}
|
|
31704
31704
|
function VendorGlyph2({ catalog }) {
|
|
31705
31705
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31706
|
-
|
|
31706
|
+
chunkQEEK2Z5T_cjs.VendorLogo,
|
|
31707
31707
|
{
|
|
31708
31708
|
vendorKey: catalog.vendor_key,
|
|
31709
31709
|
product: driveProduct(catalog.vendor_key).glyph,
|
|
@@ -31826,7 +31826,7 @@ function OneDriveProviderRow({
|
|
|
31826
31826
|
const driveNoun = (n) => n === 1 ? "document" : "documents";
|
|
31827
31827
|
const showRunActions = isConnected && !needsReconnect;
|
|
31828
31828
|
const reconnectAction = ownsAuth && needsReconnect ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
31829
|
-
|
|
31829
|
+
chunkQEEK2Z5T_cjs.ImportActionButton,
|
|
31830
31830
|
{
|
|
31831
31831
|
onClick: () => void reconnectSelf(),
|
|
31832
31832
|
disabled: reauthPending,
|
|
@@ -31835,7 +31835,7 @@ function OneDriveProviderRow({
|
|
|
31835
31835
|
}
|
|
31836
31836
|
) : null;
|
|
31837
31837
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31838
|
-
|
|
31838
|
+
chunkQEEK2Z5T_cjs.ImportRow,
|
|
31839
31839
|
{
|
|
31840
31840
|
testId: `onedrive-provider-row-${catalog.vendor_key}`,
|
|
31841
31841
|
logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph2, { catalog }),
|
|
@@ -31847,7 +31847,7 @@ function OneDriveProviderRow({
|
|
|
31847
31847
|
// Until folders are configured here (or when nothing new is pending), Import now
|
|
31848
31848
|
// stays disabled; the gear opens the folder picker.
|
|
31849
31849
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31850
|
-
|
|
31850
|
+
chunkQEEK2Z5T_cjs.ImportRunActions,
|
|
31851
31851
|
{
|
|
31852
31852
|
isRunning: running,
|
|
31853
31853
|
isStopping: cancelSync.isPending,
|
|
@@ -31866,16 +31866,16 @@ function OneDriveProviderRow({
|
|
|
31866
31866
|
) : reconnectAction
|
|
31867
31867
|
),
|
|
31868
31868
|
children: [
|
|
31869
|
-
ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31869
|
+
ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
|
|
31870
31870
|
"Couldn\u2019t reach SharePoint. Click ",
|
|
31871
31871
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: "Reconnect" }),
|
|
31872
31872
|
" \u2014 if it keeps happening, log out and back in to refresh the connection."
|
|
31873
31873
|
] }),
|
|
31874
31874
|
configuredHere && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31875
|
-
|
|
31875
|
+
chunkQEEK2Z5T_cjs.ImportSummary,
|
|
31876
31876
|
{
|
|
31877
31877
|
className: "mt-2",
|
|
31878
|
-
aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
31878
|
+
aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_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,
|
|
31879
31879
|
children: [
|
|
31880
31880
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
31881
31881
|
"Syncing ",
|
|
@@ -31903,7 +31903,7 @@ function OneDriveProviderRow({
|
|
|
31903
31903
|
}
|
|
31904
31904
|
),
|
|
31905
31905
|
running && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31906
|
-
|
|
31906
|
+
chunkQEEK2Z5T_cjs.ImportProgress,
|
|
31907
31907
|
{
|
|
31908
31908
|
processed: progress?.processed ?? 0,
|
|
31909
31909
|
total: progress?.total,
|
|
@@ -31967,13 +31967,13 @@ function SharePointEnableRow({
|
|
|
31967
31967
|
}
|
|
31968
31968
|
};
|
|
31969
31969
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31970
|
-
|
|
31970
|
+
chunkQEEK2Z5T_cjs.ImportRow,
|
|
31971
31971
|
{
|
|
31972
31972
|
testId: `onedrive-provider-row-${catalog.vendor_key}`,
|
|
31973
|
-
logo: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31973
|
+
logo: /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
|
|
31974
31974
|
name: product.name,
|
|
31975
31975
|
actions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31976
|
-
|
|
31976
|
+
chunkQEEK2Z5T_cjs.ImportActionButton,
|
|
31977
31977
|
{
|
|
31978
31978
|
onClick: () => void enable(),
|
|
31979
31979
|
disabled: pending,
|
|
@@ -31981,7 +31981,7 @@ function SharePointEnableRow({
|
|
|
31981
31981
|
children: pending ? "Enabling\u2026" : `Enable ${product.name}`
|
|
31982
31982
|
}
|
|
31983
31983
|
),
|
|
31984
|
-
children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31984
|
+
children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.ImportHint, { children: [
|
|
31985
31985
|
"Does your organization require admin approval?",
|
|
31986
31986
|
" ",
|
|
31987
31987
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -32030,11 +32030,11 @@ function DriveImportPanel({
|
|
|
32030
32030
|
}
|
|
32031
32031
|
const product = driveProduct(entry.vendor_key);
|
|
32032
32032
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32033
|
-
|
|
32033
|
+
chunkQEEK2Z5T_cjs.ImportRow,
|
|
32034
32034
|
{
|
|
32035
32035
|
testId: `onedrive-provider-row-${entry.vendor_key}`,
|
|
32036
32036
|
logo: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32037
|
-
|
|
32037
|
+
chunkQEEK2Z5T_cjs.VendorLogo,
|
|
32038
32038
|
{
|
|
32039
32039
|
vendorKey: entry.vendor_key,
|
|
32040
32040
|
product: product.glyph,
|
|
@@ -32059,7 +32059,7 @@ function DriveImportPanel({
|
|
|
32059
32059
|
);
|
|
32060
32060
|
}).filter(Boolean);
|
|
32061
32061
|
if (rows.length === 0) return null;
|
|
32062
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32062
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
|
|
32063
32063
|
}
|
|
32064
32064
|
function useHasAccountsImport() {
|
|
32065
32065
|
const isVendorVisible = react$1.useConnectorVendorVisibility();
|
|
@@ -32161,7 +32161,7 @@ function ConnectedUploadDialog({ props, onClose }) {
|
|
|
32161
32161
|
title: source ? TITLES[source] : `Add ${ui.getEntityLabel("DOCUMENT", "PLURAL")}`,
|
|
32162
32162
|
description: `Upload documents to ${workspace.name}`,
|
|
32163
32163
|
workspaceName: workspace.name,
|
|
32164
|
-
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32164
|
+
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(chunk2TLEQBTM_cjs.ConnectedWorkspaceEntity, { workspace, size: 16, variant: "icon" })
|
|
32165
32165
|
}
|
|
32166
32166
|
),
|
|
32167
32167
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-0 flex-1 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -32204,7 +32204,7 @@ function ConnectedBulkTagCrumbs() {
|
|
|
32204
32204
|
{
|
|
32205
32205
|
items: [
|
|
32206
32206
|
{
|
|
32207
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32207
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunk2TLEQBTM_cjs.ConnectedWorkspaceEntity, { workspace, size: 16, variant: "icon" }),
|
|
32208
32208
|
label: workspace.name
|
|
32209
32209
|
},
|
|
32210
32210
|
...pageLabel ? [{ icon: /* @__PURE__ */ jsxRuntime.jsx(ui.EntityIcon, { entityType: "DOCUMENT", className: "size-4" }), label: pageLabel }] : []
|
|
@@ -32231,7 +32231,7 @@ function DocumentNameCellRenderer(params) {
|
|
|
32231
32231
|
if (!doc) return null;
|
|
32232
32232
|
const context = params.context;
|
|
32233
32233
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32234
|
-
|
|
32234
|
+
chunkN2YNXFT4_cjs.DocumentNameCell,
|
|
32235
32235
|
{
|
|
32236
32236
|
doc,
|
|
32237
32237
|
canEdit: canEdit(params),
|
|
@@ -32249,7 +32249,7 @@ function DocumentNameCellRenderer(params) {
|
|
|
32249
32249
|
function SharedCellRenderer(params) {
|
|
32250
32250
|
if (!params.data) return null;
|
|
32251
32251
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32252
|
-
|
|
32252
|
+
chunkN2YNXFT4_cjs.DocumentSharedCell,
|
|
32253
32253
|
{
|
|
32254
32254
|
document: params.data,
|
|
32255
32255
|
disabled: !params.canToggle(params),
|
|
@@ -32262,7 +32262,7 @@ function StatusCellRenderer(params) {
|
|
|
32262
32262
|
if (!params.data) return null;
|
|
32263
32263
|
const context = params.context;
|
|
32264
32264
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32265
|
-
|
|
32265
|
+
chunkN2YNXFT4_cjs.StatusCell,
|
|
32266
32266
|
{
|
|
32267
32267
|
doc: params.data,
|
|
32268
32268
|
onStatusClick: params.onStatusClick,
|
|
@@ -32274,7 +32274,7 @@ function LabelsCellRenderer(params) {
|
|
|
32274
32274
|
if (!params.data) return null;
|
|
32275
32275
|
const context = params.context;
|
|
32276
32276
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32277
|
-
|
|
32277
|
+
chunkN2YNXFT4_cjs.DocumentLabelsCell,
|
|
32278
32278
|
{
|
|
32279
32279
|
doc: params.data,
|
|
32280
32280
|
labels: params.labels,
|
|
@@ -32294,7 +32294,7 @@ function RelatedDocsCellRenderer(params) {
|
|
|
32294
32294
|
if (!related || react$1.getRelatedTotal(related) === 0) return null;
|
|
32295
32295
|
const { onOpenDocument, onDeleteDocument } = params;
|
|
32296
32296
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32297
|
-
|
|
32297
|
+
chunkN2YNXFT4_cjs.RelatedDocumentsCell,
|
|
32298
32298
|
{
|
|
32299
32299
|
currentDoc: params.data,
|
|
32300
32300
|
related,
|
|
@@ -32309,7 +32309,7 @@ function FolderCellRenderer(params) {
|
|
|
32309
32309
|
if (!params.data) return null;
|
|
32310
32310
|
const context = params.context;
|
|
32311
32311
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32312
|
-
|
|
32312
|
+
chunkN2YNXFT4_cjs.DocumentFolderCell,
|
|
32313
32313
|
{
|
|
32314
32314
|
document: params.data,
|
|
32315
32315
|
isEditable: params.canEdit(params),
|
|
@@ -32323,7 +32323,7 @@ function CreatedByCellRenderer(params) {
|
|
|
32323
32323
|
const context = params.context;
|
|
32324
32324
|
const creator = context?.getWorkspaceUsers?.().find((u) => u.external_id === params.data.created_by_ext_id);
|
|
32325
32325
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32326
|
-
|
|
32326
|
+
chunkN2YNXFT4_cjs.UserAvatar,
|
|
32327
32327
|
{
|
|
32328
32328
|
user: creator,
|
|
32329
32329
|
isMe: !!creator && creator.external_id === context?.getCurrentUserId?.(),
|
|
@@ -32336,7 +32336,7 @@ function CheckboxCellRenderer(params) {
|
|
|
32336
32336
|
if (!params.data) return null;
|
|
32337
32337
|
const isChecked = params.value === true;
|
|
32338
32338
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32339
|
-
|
|
32339
|
+
chunkQEEK2Z5T_cjs.CheckboxCell,
|
|
32340
32340
|
{
|
|
32341
32341
|
isChecked,
|
|
32342
32342
|
color: tagColor,
|
|
@@ -32356,13 +32356,13 @@ function TagHeaderComponent(params) {
|
|
|
32356
32356
|
return () => params.column.removeEventListener("sortChanged", updateSort);
|
|
32357
32357
|
}, [params.column]);
|
|
32358
32358
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32359
|
-
|
|
32359
|
+
chunkQEEK2Z5T_cjs.TagColumnHeader,
|
|
32360
32360
|
{
|
|
32361
32361
|
isCentered: isCheckbox,
|
|
32362
32362
|
sort,
|
|
32363
32363
|
onSort: params.enableSorting ? (additive) => params.progressSort(additive) : void 0,
|
|
32364
|
-
filter: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32365
|
-
label: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32364
|
+
filter: /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.FilterButton, { params, colId: tag.external_id }),
|
|
32365
|
+
label: /* @__PURE__ */ jsxRuntime.jsx(chunkOABDY4YO_cjs.ConnectedTagEntity, { tag, size: "sm" })
|
|
32366
32366
|
}
|
|
32367
32367
|
);
|
|
32368
32368
|
}
|
|
@@ -32447,7 +32447,7 @@ function createTagColumn({
|
|
|
32447
32447
|
tagColor,
|
|
32448
32448
|
isMember
|
|
32449
32449
|
} : void 0,
|
|
32450
|
-
cellEditor: isSelect ?
|
|
32450
|
+
cellEditor: isSelect ? chunkQEEK2Z5T_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
|
|
32451
32451
|
cellEditorParams: isSelect ? createMultiSelectCellEditorParams(tag.tag_type.options || []) : isText ? { rows: 8, cols: 50 } : void 0,
|
|
32452
32452
|
cellEditorPopup: isText || isSelect,
|
|
32453
32453
|
// Text and Select tags use popup editor for better UX
|
|
@@ -32567,8 +32567,8 @@ function createDocumentColumns({
|
|
|
32567
32567
|
onShareDocument,
|
|
32568
32568
|
notify: notify19
|
|
32569
32569
|
}) {
|
|
32570
|
-
const isRowEditableByOwner = (params) =>
|
|
32571
|
-
const isRowEditableByMember = (params) =>
|
|
32570
|
+
const isRowEditableByOwner = (params) => chunkQEEK2Z5T_cjs.canChangeVisibility(params.data, currentUserExtId);
|
|
32571
|
+
const isRowEditableByMember = (params) => chunkQEEK2Z5T_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
|
|
32572
32572
|
const checkboxTags = availableTags.filter(browser.isLabelTag);
|
|
32573
32573
|
const allColumns = [];
|
|
32574
32574
|
allColumns.push({
|
|
@@ -32660,7 +32660,7 @@ function createDocumentColumns({
|
|
|
32660
32660
|
cellRenderer: DocumentNameCellRenderer,
|
|
32661
32661
|
cellRendererParams: {
|
|
32662
32662
|
canEdit: isRowEditableByMember,
|
|
32663
|
-
canDelete: (params) =>
|
|
32663
|
+
canDelete: (params) => chunkQEEK2Z5T_cjs.canDeleteDocument(params.data, currentUserExtId, workspaceRole),
|
|
32664
32664
|
onOpenDocument: handleToggleDocumentViewer,
|
|
32665
32665
|
onReviewDocument,
|
|
32666
32666
|
onDocumentChat,
|
|
@@ -32692,7 +32692,7 @@ function createDocumentColumns({
|
|
|
32692
32692
|
singleClickEdit: true,
|
|
32693
32693
|
cellEditor: "agSelectCellEditor",
|
|
32694
32694
|
cellEditorParams: {
|
|
32695
|
-
values: [...
|
|
32695
|
+
values: [...chunkQEEK2Z5T_cjs.DOCUMENT_TYPE_OPTIONS]
|
|
32696
32696
|
},
|
|
32697
32697
|
context: { icon: lucideReact.Sparkles },
|
|
32698
32698
|
valueGetter: (params) => ui.getDocumentNature(params.data) || "",
|
|
@@ -33230,7 +33230,7 @@ function useDocumentTable({
|
|
|
33230
33230
|
}
|
|
33231
33231
|
const stabilizedTagIds = prevTagIdsRef.current;
|
|
33232
33232
|
const stabilizedTagNames = prevTagNamesRef.current;
|
|
33233
|
-
const defaultVisibleColumns = react.useMemo(() => [...
|
|
33233
|
+
const defaultVisibleColumns = react.useMemo(() => [...chunkQEEK2Z5T_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
|
|
33234
33234
|
const confirmRef = react.useRef(confirm);
|
|
33235
33235
|
confirmRef.current = confirm;
|
|
33236
33236
|
const shareDocument = react.useCallback(async (docId) => {
|
|
@@ -33487,9 +33487,9 @@ function ConnectedFilesBulkActions({
|
|
|
33487
33487
|
const bulk = useDocumentBulkActions(selectedDocuments);
|
|
33488
33488
|
const count2 = selectedDocuments.length;
|
|
33489
33489
|
const noun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL");
|
|
33490
|
-
const shareState =
|
|
33490
|
+
const shareState = chunkQEEK2Z5T_cjs.shareStateOf(bulk.freshSelectedDocuments);
|
|
33491
33491
|
const canDelete = bulk.freshSelectedDocuments.every(
|
|
33492
|
-
(doc) =>
|
|
33492
|
+
(doc) => chunkQEEK2Z5T_cjs.canDeleteDocument(doc, userId ?? void 0, role ?? null)
|
|
33493
33493
|
);
|
|
33494
33494
|
const [confirming, setConfirming] = react.useState(null);
|
|
33495
33495
|
const allOffline = count2 > 0 && selectedDocuments.every((doc) => offlineIds.has(doc.external_id));
|
|
@@ -33501,7 +33501,7 @@ function ConnectedFilesBulkActions({
|
|
|
33501
33501
|
const { openDocumentsChat, openFieldsManager } = actions;
|
|
33502
33502
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
33503
33503
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33504
|
-
|
|
33504
|
+
chunkQEEK2Z5T_cjs.BulkActionsBar,
|
|
33505
33505
|
{
|
|
33506
33506
|
count: count2,
|
|
33507
33507
|
onClear: onClearSelection,
|
|
@@ -33526,7 +33526,7 @@ function ConnectedFilesBulkActions({
|
|
|
33526
33526
|
isOfflinePending: offlinePending,
|
|
33527
33527
|
onDelete: canDelete ? () => setConfirming("delete") : void 0,
|
|
33528
33528
|
shareState,
|
|
33529
|
-
shareTooltip:
|
|
33529
|
+
shareTooltip: chunkQEEK2Z5T_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
|
|
33530
33530
|
onShare: () => void bulk.share()
|
|
33531
33531
|
}
|
|
33532
33532
|
),
|
|
@@ -33541,7 +33541,7 @@ function ConnectedFilesBulkActions({
|
|
|
33541
33541
|
onClearSelection();
|
|
33542
33542
|
},
|
|
33543
33543
|
title: `Delete ${count2} ${noun}`,
|
|
33544
|
-
description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ?
|
|
33544
|
+
description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunkQEEK2Z5T_cjs.RECENTLY_DELETED_HINT : chunkQEEK2Z5T_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
|
|
33545
33545
|
confirmText: "Delete",
|
|
33546
33546
|
variant: "destructive"
|
|
33547
33547
|
}
|
|
@@ -33789,7 +33789,7 @@ function useAiReviewLiveUpdates() {
|
|
|
33789
33789
|
if (message.batch_type !== "doctag_generate") return;
|
|
33790
33790
|
const docIds = message.doc_ext_ids ?? [];
|
|
33791
33791
|
if (!docIds.length) return;
|
|
33792
|
-
void refreshDocuments(docIds).then(() =>
|
|
33792
|
+
void refreshDocuments(docIds).then(() => chunkXBM6TVZL_cjs.useAiReviewStore.getState().markFinished(docIds));
|
|
33793
33793
|
dropQueuedRows(docIds);
|
|
33794
33794
|
});
|
|
33795
33795
|
}
|
|
@@ -33824,7 +33824,7 @@ function useBatchCompleteToasts() {
|
|
|
33824
33824
|
const workspaceId = message.workspace_ext_id;
|
|
33825
33825
|
const docIds = message.doc_ext_ids ?? [];
|
|
33826
33826
|
const workspace = workspacesRef.current?.find((w) => w.external_id === workspaceId);
|
|
33827
|
-
const icon2 = workspace ? react.createElement(
|
|
33827
|
+
const icon2 = workspace ? react.createElement(chunk2TLEQBTM_cjs.ConnectedWorkspaceEntity, { workspace, variant: "icon", size: 20 }) : void 0;
|
|
33828
33828
|
const say = (text, kind, options = {}) => notify19(text, kind, { workspaceId, icon: icon2, ...options, ambient: false });
|
|
33829
33829
|
if (message.batch_type === "doctag_generate") {
|
|
33830
33830
|
const run = pending.current.get(workspaceId) ?? { docIds: /* @__PURE__ */ new Set(), icon: icon2 };
|
|
@@ -33835,7 +33835,7 @@ function useBatchCompleteToasts() {
|
|
|
33835
33835
|
timer.current = null;
|
|
33836
33836
|
const runs = pending.current;
|
|
33837
33837
|
pending.current = /* @__PURE__ */ new Map();
|
|
33838
|
-
const hasReview = !!
|
|
33838
|
+
const hasReview = !!chunkXBM6TVZL_cjs.useAiReviewStore.getState().run;
|
|
33839
33839
|
for (const [id, entry] of runs) {
|
|
33840
33840
|
const n = entry.docIds.size;
|
|
33841
33841
|
notify19(
|
|
@@ -33848,7 +33848,7 @@ function useBatchCompleteToasts() {
|
|
|
33848
33848
|
...hasReview && {
|
|
33849
33849
|
action: {
|
|
33850
33850
|
label: "View results",
|
|
33851
|
-
onClick: () =>
|
|
33851
|
+
onClick: () => chunkXBM6TVZL_cjs.useAiReviewStore.getState().setOpen(true)
|
|
33852
33852
|
}
|
|
33853
33853
|
}
|
|
33854
33854
|
}
|
|
@@ -33856,7 +33856,7 @@ function useBatchCompleteToasts() {
|
|
|
33856
33856
|
}
|
|
33857
33857
|
}, AI_FIELDS_NOTICE_WINDOW_MS);
|
|
33858
33858
|
} else if (message.batch_type === "entity_extract") {
|
|
33859
|
-
say(`${
|
|
33859
|
+
say(`${chunk77MAR6Y4_cjs.entitiesPhrase()} extracted from ${chunk77MAR6Y4_cjs.documentCount(docIds.length)}`, "success", {
|
|
33860
33860
|
...openTags && { action: { label: "View", onClick: openTags } }
|
|
33861
33861
|
});
|
|
33862
33862
|
} else if (message.batch_type === "upload") {
|
|
@@ -33895,12 +33895,12 @@ function ConnectedMoveToFolder({
|
|
|
33895
33895
|
setIsSubmitting(true);
|
|
33896
33896
|
try {
|
|
33897
33897
|
if (folderToMove) {
|
|
33898
|
-
const docsInFolder =
|
|
33898
|
+
const docsInFolder = chunkQEEK2Z5T_cjs.collectFolderDocs(allDocs, folderToMove.path);
|
|
33899
33899
|
if (docsInFolder.length === 0) {
|
|
33900
33900
|
onClose();
|
|
33901
33901
|
return;
|
|
33902
33902
|
}
|
|
33903
|
-
const newPrefixSegments = targetFolder ? [...
|
|
33903
|
+
const newPrefixSegments = targetFolder ? [...chunkQEEK2Z5T_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
|
|
33904
33904
|
await renameFolder(docsInFolder, folderToMove.path, newPrefixSegments);
|
|
33905
33905
|
const dest = targetFolder ? `"${targetFolder}/${folderToMove.name}"` : `"${folderToMove.name}" (root)`;
|
|
33906
33906
|
notify19(`Moved folder to ${dest}`, "success");
|
|
@@ -33925,9 +33925,9 @@ function ConnectedMoveToFolder({
|
|
|
33925
33925
|
}
|
|
33926
33926
|
};
|
|
33927
33927
|
const isFolderMode = !!folderToMove;
|
|
33928
|
-
const folders =
|
|
33928
|
+
const folders = chunkN2YNXFT4_cjs.useDocumentFolders(allDocs, targetFolder);
|
|
33929
33929
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33930
|
-
|
|
33930
|
+
chunkQEEK2Z5T_cjs.MoveToFolderDialog,
|
|
33931
33931
|
{
|
|
33932
33932
|
open: isOpen,
|
|
33933
33933
|
onClose,
|
|
@@ -33937,7 +33937,7 @@ function ConnectedMoveToFolder({
|
|
|
33937
33937
|
isSubmitting,
|
|
33938
33938
|
onConfirm: handleMove,
|
|
33939
33939
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33940
|
-
|
|
33940
|
+
chunkQEEK2Z5T_cjs.FolderCommandList,
|
|
33941
33941
|
{
|
|
33942
33942
|
folders,
|
|
33943
33943
|
value: targetFolder,
|
|
@@ -34165,7 +34165,7 @@ function ConnectedBulkTagEditor({
|
|
|
34165
34165
|
const isClearing = change?.action === "remove";
|
|
34166
34166
|
return {
|
|
34167
34167
|
id: tag.external_id,
|
|
34168
|
-
badge: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34168
|
+
badge: /* @__PURE__ */ jsxRuntime.jsx(chunkOABDY4YO_cjs.ConnectedTagEntity, { tag, size: "md" }),
|
|
34169
34169
|
type: tag.tag_type.type,
|
|
34170
34170
|
color: ui.getEntityColor(tag.external_id, "medium"),
|
|
34171
34171
|
options: tag.tag_type.type === "select" ? tag.tag_type.options : void 0,
|
|
@@ -34197,7 +34197,7 @@ function ConnectedBulkTagEditor({
|
|
|
34197
34197
|
const documentsLabel = ui.getEntityLabel("DOCUMENT", "PLURAL").toLowerCase();
|
|
34198
34198
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
34199
34199
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34200
|
-
|
|
34200
|
+
chunkQEEK2Z5T_cjs.BulkTagEditorDialog,
|
|
34201
34201
|
{
|
|
34202
34202
|
open,
|
|
34203
34203
|
onClose,
|
|
@@ -34255,7 +34255,7 @@ function ConnectedBulkTagEditor({
|
|
|
34255
34255
|
}
|
|
34256
34256
|
),
|
|
34257
34257
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34258
|
-
|
|
34258
|
+
chunkQEEK2Z5T_cjs.BulkReplaceDialog,
|
|
34259
34259
|
{
|
|
34260
34260
|
open: showGenerateConfirmation,
|
|
34261
34261
|
onClose: () => setShowGenerateConfirmation(false),
|
|
@@ -34351,7 +34351,7 @@ function useTableViews(table) {
|
|
|
34351
34351
|
function useViewWrites(savedViews, saveView, deleteView, shareView) {
|
|
34352
34352
|
const { confirm, notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
34353
34353
|
const nameOf = react.useCallback(
|
|
34354
|
-
(key) => savedViews.find((v) =>
|
|
34354
|
+
(key) => savedViews.find((v) => chunkQEEK2Z5T_cjs.viewKey(v) === key)?.name ?? key,
|
|
34355
34355
|
[savedViews]
|
|
34356
34356
|
);
|
|
34357
34357
|
const onSaveView = react.useCallback(
|
|
@@ -34423,7 +34423,7 @@ function ViewSelector({
|
|
|
34423
34423
|
columns: defaultColumns,
|
|
34424
34424
|
icon: lucideReact.Table,
|
|
34425
34425
|
// Both built-ins load at the minimal (compact) row height.
|
|
34426
|
-
rowHeight:
|
|
34426
|
+
rowHeight: chunkQEEK2Z5T_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
34427
34427
|
// [] = loading this view unpins everything.
|
|
34428
34428
|
pinnedLeft: []
|
|
34429
34429
|
},
|
|
@@ -34434,15 +34434,15 @@ function ViewSelector({
|
|
|
34434
34434
|
// batch-select checkbox and Title stay fixed left while scrolling.
|
|
34435
34435
|
columns: defaultColumns,
|
|
34436
34436
|
icon: lucideReact.Columns3,
|
|
34437
|
-
rowHeight:
|
|
34437
|
+
rowHeight: chunkQEEK2Z5T_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
34438
34438
|
pinnedLeft: DOCUMENT_VIEW_PINNED
|
|
34439
34439
|
},
|
|
34440
34440
|
{
|
|
34441
34441
|
key: "email-default",
|
|
34442
34442
|
label: "Email view",
|
|
34443
|
-
columns: [...
|
|
34443
|
+
columns: [...chunkQEEK2Z5T_cjs.EMAIL_VIEW_COLUMNS],
|
|
34444
34444
|
icon: lucideReact.Mail,
|
|
34445
|
-
rowHeight:
|
|
34445
|
+
rowHeight: chunkQEEK2Z5T_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
34446
34446
|
pinnedLeft: []
|
|
34447
34447
|
}
|
|
34448
34448
|
],
|
|
@@ -34454,7 +34454,7 @@ function ViewSelector({
|
|
|
34454
34454
|
deleteView,
|
|
34455
34455
|
shareView
|
|
34456
34456
|
);
|
|
34457
|
-
const menu =
|
|
34457
|
+
const menu = chunkQEEK2Z5T_cjs.useGridViews({
|
|
34458
34458
|
getGridApi,
|
|
34459
34459
|
defaultColumns,
|
|
34460
34460
|
builtins,
|
|
@@ -34481,7 +34481,7 @@ function ViewSelector({
|
|
|
34481
34481
|
onSelectView(requestedView);
|
|
34482
34482
|
clearRequestedView(void 0);
|
|
34483
34483
|
}, [requestedView, savedViews, getGridApi, stateVersion, onSelectView, clearRequestedView]);
|
|
34484
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
34484
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.ViewSelectorMenu, { ...menu });
|
|
34485
34485
|
}
|
|
34486
34486
|
function DocumentsFilterBarActions({
|
|
34487
34487
|
isModal,
|
|
@@ -34521,7 +34521,7 @@ function DocumentsFilterBarActions({
|
|
|
34521
34521
|
),
|
|
34522
34522
|
documentsViewMode === "grid" && // The phone list is a fixed two-line layout, so row density only applies from sm up.
|
|
34523
34523
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden sm:block", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34524
|
-
|
|
34524
|
+
chunkQEEK2Z5T_cjs.RowDensityControl,
|
|
34525
34525
|
{
|
|
34526
34526
|
rowHeight: documentsRowHeight,
|
|
34527
34527
|
onRowHeightChange: onDocumentsRowHeightChange
|
|
@@ -34618,8 +34618,8 @@ function DocumentsFilterBarActions({
|
|
|
34618
34618
|
}
|
|
34619
34619
|
function PersistedGridView(props) {
|
|
34620
34620
|
const { persistState, gridId } = props;
|
|
34621
|
-
const setGridState =
|
|
34622
|
-
const gridState = persistState && gridId ?
|
|
34621
|
+
const setGridState = chunkXBM6TVZL_cjs.useFilesGridStates((state) => state.setGridState);
|
|
34622
|
+
const gridState = persistState && gridId ? chunkXBM6TVZL_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
|
|
34623
34623
|
const onGridStateChange = react.useCallback(
|
|
34624
34624
|
(state) => {
|
|
34625
34625
|
if (persistState && gridId) setGridState(gridId, state);
|
|
@@ -34721,13 +34721,13 @@ var TABLET_TABLE_BELOW = 860;
|
|
|
34721
34721
|
var TABLET_VIEWPORT_BELOW = 1100;
|
|
34722
34722
|
var NO_CONVERSATION_DOCUMENTS2 = [];
|
|
34723
34723
|
var DocumentReviewCard = react.lazy(
|
|
34724
|
-
() => import('../DocumentReviewCard-
|
|
34724
|
+
() => import('../DocumentReviewCard-SOEYIMRO.cjs').then((module) => ({ default: module.DocumentReviewCard }))
|
|
34725
34725
|
);
|
|
34726
34726
|
var FilesViewerDialog = react.lazy(
|
|
34727
|
-
() => import('../FilesViewerDialog-
|
|
34727
|
+
() => import('../FilesViewerDialog-RRAVDDN4.cjs').then((module) => ({ default: module.FilesViewerDialog }))
|
|
34728
34728
|
);
|
|
34729
34729
|
function defaultReviewCard(props) {
|
|
34730
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34730
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk77MAR6Y4_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
|
|
34731
34731
|
}
|
|
34732
34732
|
function ConnectedFilesPage({
|
|
34733
34733
|
isModal = false,
|
|
@@ -34749,7 +34749,7 @@ function ConnectedFilesPage({
|
|
|
34749
34749
|
GridComponent = PersistedGridView,
|
|
34750
34750
|
gridStateVersion,
|
|
34751
34751
|
onGridApi,
|
|
34752
|
-
prefsKey =
|
|
34752
|
+
prefsKey = chunkXBM6TVZL_cjs.FILES_PREFS_KEY,
|
|
34753
34753
|
defaultViewMode
|
|
34754
34754
|
}) {
|
|
34755
34755
|
const { openDocument, openDialog: openDialog2, openProcessing, openTags } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
@@ -34795,8 +34795,8 @@ function ConnectedFilesPage({
|
|
|
34795
34795
|
const inConversationDocuments = react$1.useArbiSessionState(
|
|
34796
34796
|
(s) => s.conversationDocuments[s.conversationId ?? "new"] ?? NO_CONVERSATION_DOCUMENTS2
|
|
34797
34797
|
);
|
|
34798
|
-
const viewMode =
|
|
34799
|
-
const setPrefsViewMode =
|
|
34798
|
+
const viewMode = chunkXBM6TVZL_cjs.useFilesPrefs((s) => chunkXBM6TVZL_cjs.filesViewMode(s, prefsKey, defaultViewMode));
|
|
34799
|
+
const setPrefsViewMode = chunkXBM6TVZL_cjs.useFilesPrefs((s) => s.setViewMode);
|
|
34800
34800
|
const setViewMode = react.useCallback(
|
|
34801
34801
|
(mode) => setPrefsViewMode(mode, prefsKey),
|
|
34802
34802
|
[setPrefsViewMode, prefsKey]
|
|
@@ -34826,7 +34826,7 @@ function ConnectedFilesPage({
|
|
|
34826
34826
|
shownPlaceRef.current = null;
|
|
34827
34827
|
if (session.getState().documentViewer.compareId)
|
|
34828
34828
|
session.setDocumentViewer({ compareId: null });
|
|
34829
|
-
if (
|
|
34829
|
+
if (chunkXBM6TVZL_cjs.filesViewMode(chunkXBM6TVZL_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
|
|
34830
34830
|
session.setViewingDocument(null);
|
|
34831
34831
|
if (!fromLink) latest.current.onDocumentChange?.(null);
|
|
34832
34832
|
},
|
|
@@ -34915,9 +34915,9 @@ function ConnectedFilesPage({
|
|
|
34915
34915
|
else if (linkedPlaceKey !== shownPlaceRef.current) showInDialog(place, true);
|
|
34916
34916
|
} else if (previous && ownsViewer && shownPlaceRef.current) closeDialog2(true);
|
|
34917
34917
|
}, [linkedPlaceKey]);
|
|
34918
|
-
const rowHeight =
|
|
34919
|
-
const setRowHeight =
|
|
34920
|
-
const ownGridStates =
|
|
34918
|
+
const rowHeight = chunkXBM6TVZL_cjs.useFilesPrefs((s) => s.rowHeight);
|
|
34919
|
+
const setRowHeight = chunkXBM6TVZL_cjs.useFilesPrefs((s) => s.setRowHeight);
|
|
34920
|
+
const ownGridStates = chunkXBM6TVZL_cjs.useFilesGridStates((s) => s.gridStates);
|
|
34921
34921
|
const stateVersion = gridStateVersion ?? ownGridStates;
|
|
34922
34922
|
const [pageEl, setPageEl] = react.useState(null);
|
|
34923
34923
|
const [isTabletWidth, setIsTabletWidth] = react.useState(false);
|
|
@@ -34947,15 +34947,15 @@ function ConnectedFilesPage({
|
|
|
34947
34947
|
const [explorerSortReversed, setExplorerSortReversed] = react.useState(false);
|
|
34948
34948
|
const [explorerTileSize, setExplorerTileSize] = react.useState(TILE_DEFAULT);
|
|
34949
34949
|
const [urlDialogOpen, setUrlDialogOpen] = react.useState(false);
|
|
34950
|
-
const move =
|
|
34951
|
-
const openMove =
|
|
34952
|
-
const closeMove =
|
|
34953
|
-
const bulkTagsOpen =
|
|
34954
|
-
const setBulkTagsOpen =
|
|
34955
|
-
const deleteRequest =
|
|
34956
|
-
const requestDelete =
|
|
34957
|
-
const exportOpen =
|
|
34958
|
-
const setExportOpen =
|
|
34950
|
+
const move = chunkXBM6TVZL_cjs.useFilesDialogs((s) => s.move);
|
|
34951
|
+
const openMove = chunkXBM6TVZL_cjs.useFilesDialogs((s) => s.openMove);
|
|
34952
|
+
const closeMove = chunkXBM6TVZL_cjs.useFilesDialogs((s) => s.closeMove);
|
|
34953
|
+
const bulkTagsOpen = chunkXBM6TVZL_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
|
|
34954
|
+
const setBulkTagsOpen = chunkXBM6TVZL_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
|
|
34955
|
+
const deleteRequest = chunkXBM6TVZL_cjs.useFilesDialogs((s) => s.deleteRequest);
|
|
34956
|
+
const requestDelete = chunkXBM6TVZL_cjs.useFilesDialogs((s) => s.requestDelete);
|
|
34957
|
+
const exportOpen = chunkXBM6TVZL_cjs.useFilesDialogs((s) => s.exportOpen);
|
|
34958
|
+
const setExportOpen = chunkXBM6TVZL_cjs.useFilesDialogs((s) => s.setExportOpen);
|
|
34959
34959
|
const openOwnExport = react.useCallback(() => setExportOpen(true), [setExportOpen]);
|
|
34960
34960
|
const exportItems = react.useMemo(
|
|
34961
34961
|
() => selectedDocuments.map((doc) => ({
|
|
@@ -34970,7 +34970,7 @@ function ConnectedFilesPage({
|
|
|
34970
34970
|
);
|
|
34971
34971
|
const explorerRef = react.useRef(null);
|
|
34972
34972
|
const [explorerFileIds, setExplorerFileIds] = react.useState([]);
|
|
34973
|
-
const uploadUrls =
|
|
34973
|
+
const uploadUrls = chunk2TLEQBTM_cjs.useAddFromUrls({
|
|
34974
34974
|
onZipFiles: (files2) => onUpload({ source: "computer", files: files2 })
|
|
34975
34975
|
});
|
|
34976
34976
|
const { data: workspaceTags = [] } = react$1.useTags();
|
|
@@ -34998,17 +34998,17 @@ function ConnectedFilesPage({
|
|
|
34998
34998
|
const relatedDocsMap = useFilesPageSession(documents, workspaceId);
|
|
34999
34999
|
const defaultVisibleColumns = react.useMemo(
|
|
35000
35000
|
() => [
|
|
35001
|
-
...
|
|
35001
|
+
...chunkQEEK2Z5T_cjs.DEFAULT_DOCUMENT_COLUMNS,
|
|
35002
35002
|
...allTags.filter(browser.isAnnotationTag).map((tag) => tag.external_id)
|
|
35003
35003
|
],
|
|
35004
35004
|
[allTags]
|
|
35005
35005
|
);
|
|
35006
35006
|
const handleReorderColumns = react.useCallback((ids, gridApi2) => {
|
|
35007
|
-
if (gridApi2)
|
|
35007
|
+
if (gridApi2) chunkQEEK2Z5T_cjs.applyColumnLayout(gridApi2, ids);
|
|
35008
35008
|
}, []);
|
|
35009
35009
|
const handleLoadView = react.useCallback(
|
|
35010
35010
|
(view, gridApi2) => {
|
|
35011
|
-
|
|
35011
|
+
chunkQEEK2Z5T_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
|
|
35012
35012
|
if (typeof view.tile_size === "number") setExplorerTileSize(view.tile_size);
|
|
35013
35013
|
if (typeof view.row_height === "number") setRowHeight(view.row_height);
|
|
35014
35014
|
},
|
|
@@ -35100,7 +35100,7 @@ function ConnectedFilesPage({
|
|
|
35100
35100
|
);
|
|
35101
35101
|
const currentDocument = viewingDocumentId ? filteredDocuments.find((d) => d.external_id === viewingDocumentId) ?? documents.find((d) => d.external_id === viewingDocumentId) ?? null : null;
|
|
35102
35102
|
const navigatorDocuments = react.useMemo(
|
|
35103
|
-
() =>
|
|
35103
|
+
() => chunkQEEK2Z5T_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
|
|
35104
35104
|
[filteredDocuments, explorerSort, explorerSortReversed]
|
|
35105
35105
|
);
|
|
35106
35106
|
const navigatorOnNavigate = react.useCallback(
|
|
@@ -35170,7 +35170,7 @@ function ConnectedFilesPage({
|
|
|
35170
35170
|
},
|
|
35171
35171
|
rowHeight
|
|
35172
35172
|
};
|
|
35173
|
-
const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
35173
|
+
const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.FilesFilterBar, { children: [
|
|
35174
35174
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35175
35175
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
35176
35176
|
{
|
|
@@ -35205,7 +35205,7 @@ function ConnectedFilesPage({
|
|
|
35205
35205
|
),
|
|
35206
35206
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
35207
35207
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35208
|
-
|
|
35208
|
+
chunkQEEK2Z5T_cjs.DocumentsFolderButton,
|
|
35209
35209
|
{
|
|
35210
35210
|
documents,
|
|
35211
35211
|
documentFilters,
|
|
@@ -35213,7 +35213,7 @@ function ConnectedFilesPage({
|
|
|
35213
35213
|
onNewFolder: canUpload ? handleNewFolder : void 0
|
|
35214
35214
|
}
|
|
35215
35215
|
),
|
|
35216
|
-
openTags && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35216
|
+
openTags && /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.FilesTagsButton, { onClick: openTags }),
|
|
35217
35217
|
workspaceId && /* @__PURE__ */ jsxRuntime.jsx(ConnectedRecentlyDeletedButton, { workspaceExtId: workspaceId })
|
|
35218
35218
|
] })
|
|
35219
35219
|
] });
|
|
@@ -35247,18 +35247,18 @@ function ConnectedFilesPage({
|
|
|
35247
35247
|
onProduce: () => openDialog2("productionSet")
|
|
35248
35248
|
}
|
|
35249
35249
|
);
|
|
35250
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
35250
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.FilesPage, { isModal, ref: setPageEl, children: [
|
|
35251
35251
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35252
|
-
|
|
35252
|
+
chunkQEEK2Z5T_cjs.UrlInputDialog,
|
|
35253
35253
|
{
|
|
35254
35254
|
open: urlDialogOpen,
|
|
35255
35255
|
onOpenChange: setUrlDialogOpen,
|
|
35256
35256
|
onUrlsSubmit: uploadUrls,
|
|
35257
35257
|
titleWorkspaceName: workspaceName,
|
|
35258
|
-
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35258
|
+
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(chunk2TLEQBTM_cjs.ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
|
|
35259
35259
|
}
|
|
35260
35260
|
),
|
|
35261
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
35261
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.FilesPageHeader, { className: isModal ? "static" : void 0, children: [
|
|
35262
35262
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35263
35263
|
chunkSJSGSHIT_cjs.TabHeader,
|
|
35264
35264
|
{
|
|
@@ -35279,12 +35279,12 @@ function ConnectedFilesPage({
|
|
|
35279
35279
|
activeTabId: "documents",
|
|
35280
35280
|
onTabChange: () => handleViewModeChange(lastDocsViewRef.current),
|
|
35281
35281
|
firstTabContent: isNarrowFilterRow ? null : documentsTabActions,
|
|
35282
|
-
centerContent: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
35282
|
+
centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
|
|
35283
35283
|
!isNarrowFilterRow && viewToggle,
|
|
35284
35284
|
/* @__PURE__ */ jsxRuntime.jsx(ProgressiveLoadingChip, {})
|
|
35285
35285
|
] }),
|
|
35286
35286
|
rightContent: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35287
|
-
|
|
35287
|
+
chunk2TLEQBTM_cjs.DocumentsUploadButton,
|
|
35288
35288
|
{
|
|
35289
35289
|
isCompact: isNarrowFilterRow,
|
|
35290
35290
|
canUpload,
|
|
@@ -35309,14 +35309,14 @@ function ConnectedFilesPage({
|
|
|
35309
35309
|
}
|
|
35310
35310
|
),
|
|
35311
35311
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35312
|
-
|
|
35312
|
+
chunkQEEK2Z5T_cjs.FilesToolbar,
|
|
35313
35313
|
{
|
|
35314
35314
|
className: "px-3 pb-2",
|
|
35315
35315
|
rightActions: viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
35316
35316
|
viewMode === "grid" ? (
|
|
35317
35317
|
// ‹ n / N › over the table's displayed rows; a step opens the document.
|
|
35318
35318
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35319
|
-
|
|
35319
|
+
chunk77MAR6Y4_cjs.GridRowNavigator,
|
|
35320
35320
|
{
|
|
35321
35321
|
gridApi,
|
|
35322
35322
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -35331,7 +35331,7 @@ function ConnectedFilesPage({
|
|
|
35331
35331
|
) : viewMode === "explorer" ? (
|
|
35332
35332
|
// The same over the explorer's tiles.
|
|
35333
35333
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35334
|
-
|
|
35334
|
+
chunkQEEK2Z5T_cjs.ExplorerFileNavigator,
|
|
35335
35335
|
{
|
|
35336
35336
|
fileIds: explorerFileIds,
|
|
35337
35337
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -35370,7 +35370,7 @@ function ConnectedFilesPage({
|
|
|
35370
35370
|
}
|
|
35371
35371
|
),
|
|
35372
35372
|
viewMode === "navigator" && currentDocument && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35373
|
-
|
|
35373
|
+
chunkQEEK2Z5T_cjs.NavigatorPickerBar,
|
|
35374
35374
|
{
|
|
35375
35375
|
currentDocument,
|
|
35376
35376
|
documents: navigatorDocuments,
|
|
@@ -35397,11 +35397,11 @@ function ConnectedFilesPage({
|
|
|
35397
35397
|
}
|
|
35398
35398
|
}
|
|
35399
35399
|
) }),
|
|
35400
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
35400
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkQEEK2Z5T_cjs.FilesPageMain, { children: [
|
|
35401
35401
|
viewMode === "grid" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35402
|
-
|
|
35402
|
+
chunkQEEK2Z5T_cjs.DocumentGrid,
|
|
35403
35403
|
{
|
|
35404
|
-
layout:
|
|
35404
|
+
layout: chunkQEEK2Z5T_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
|
|
35405
35405
|
presets: gridPresets,
|
|
35406
35406
|
GridComponent,
|
|
35407
35407
|
showEmptyWorkspace: documents.length === 0 && !isLoading && isMember,
|
|
@@ -35486,7 +35486,7 @@ function ConnectedFilesPage({
|
|
|
35486
35486
|
] }),
|
|
35487
35487
|
isModal && onClose ? /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "files-modal-bottom", className: "sticky bottom-0 z-40", children: [
|
|
35488
35488
|
bulkBar,
|
|
35489
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35489
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) })
|
|
35490
35490
|
] }) : bulkBar,
|
|
35491
35491
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35492
35492
|
chunkK67VMSOX_cjs.ConfirmDialog,
|
|
@@ -35498,7 +35498,7 @@ function ConnectedFilesPage({
|
|
|
35498
35498
|
requestDelete(null);
|
|
35499
35499
|
},
|
|
35500
35500
|
title: "Delete Document",
|
|
35501
|
-
description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${
|
|
35501
|
+
description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunkQEEK2Z5T_cjs.RECENTLY_DELETED_HINT}` : "",
|
|
35502
35502
|
confirmText: "Delete",
|
|
35503
35503
|
variant: "destructive"
|
|
35504
35504
|
}
|
|
@@ -35560,7 +35560,7 @@ function ConnectedFilesPage({
|
|
|
35560
35560
|
dialog.seq
|
|
35561
35561
|
) }),
|
|
35562
35562
|
workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35563
|
-
|
|
35563
|
+
chunk2TLEQBTM_cjs.ConnectedEmailWorkspaceDialog,
|
|
35564
35564
|
{
|
|
35565
35565
|
open: emailWorkspaceOpen,
|
|
35566
35566
|
onOpenChange: setEmailWorkspaceOpen,
|
|
@@ -35568,14 +35568,14 @@ function ConnectedFilesPage({
|
|
|
35568
35568
|
isMember
|
|
35569
35569
|
}
|
|
35570
35570
|
),
|
|
35571
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35571
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk2TLEQBTM_cjs.ConnectedNewFileMenu, { open: newFileOpen, onOpenChange: setNewFileOpen }),
|
|
35572
35572
|
dialogs
|
|
35573
35573
|
] });
|
|
35574
35574
|
}
|
|
35575
35575
|
var NO_DOCUMENTS3 = [];
|
|
35576
35576
|
function ConnectedAiReviewHost(props) {
|
|
35577
|
-
const open =
|
|
35578
|
-
const setOpen =
|
|
35577
|
+
const open = chunkXBM6TVZL_cjs.useAiReviewStore((s) => s.open);
|
|
35578
|
+
const setOpen = chunkXBM6TVZL_cjs.useAiReviewStore((s) => s.setOpen);
|
|
35579
35579
|
return /* @__PURE__ */ jsxRuntime.jsx(ConnectedAiReview, { open, onOpenChange: setOpen, ...props });
|
|
35580
35580
|
}
|
|
35581
35581
|
function ConnectedGridView(props) {
|
|
@@ -35611,7 +35611,7 @@ function ProcessingSection({
|
|
|
35611
35611
|
tasks,
|
|
35612
35612
|
onDelete
|
|
35613
35613
|
}) {
|
|
35614
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
35614
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
|
|
35615
35615
|
}
|
|
35616
35616
|
function ConnectedDocumentProcessingPanel({
|
|
35617
35617
|
workspaceId,
|
|
@@ -35824,7 +35824,7 @@ function ConnectedProcessingPanel({ headerActions }) {
|
|
|
35824
35824
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35825
35825
|
chunkSJSGSHIT_cjs.TabHeader,
|
|
35826
35826
|
{
|
|
35827
|
-
leading: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35827
|
+
leading: /* @__PURE__ */ jsxRuntime.jsx(chunk2TLEQBTM_cjs.ConnectedWorkspaceEntity, { workspace, variant: "icon", size: 20 }),
|
|
35828
35828
|
tabs: [
|
|
35829
35829
|
{
|
|
35830
35830
|
id: "processing",
|
|
@@ -35967,7 +35967,7 @@ var MENU_LABELS = {
|
|
|
35967
35967
|
};
|
|
35968
35968
|
function applyDatabaseColumns(columns, api) {
|
|
35969
35969
|
const kept = (id) => api.getColumn(id) ? [id] : [];
|
|
35970
|
-
|
|
35970
|
+
chunkQEEK2Z5T_cjs.applyColumnLayout(api, [...kept(chunkN33U2SB5_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunkN33U2SB5_cjs.ADD_COLUMN_COL_ID)]);
|
|
35971
35971
|
}
|
|
35972
35972
|
function DatabaseViewsMenu({
|
|
35973
35973
|
databaseId,
|
|
@@ -35989,7 +35989,7 @@ function DatabaseViewsMenu({
|
|
|
35989
35989
|
);
|
|
35990
35990
|
const onLoadView = react.useCallback(
|
|
35991
35991
|
(view, api) => {
|
|
35992
|
-
|
|
35992
|
+
chunkQEEK2Z5T_cjs.applyViewColumns(api, view, applyDatabaseColumns);
|
|
35993
35993
|
onFiltersChange([...view.filters ?? []]);
|
|
35994
35994
|
},
|
|
35995
35995
|
[onFiltersChange]
|
|
@@ -36000,7 +36000,7 @@ function DatabaseViewsMenu({
|
|
|
36000
36000
|
deleteView,
|
|
36001
36001
|
shareView
|
|
36002
36002
|
);
|
|
36003
|
-
const menu =
|
|
36003
|
+
const menu = chunkQEEK2Z5T_cjs.useGridViews({
|
|
36004
36004
|
getGridApi,
|
|
36005
36005
|
defaultColumns,
|
|
36006
36006
|
builtins,
|
|
@@ -36023,7 +36023,7 @@ function DatabaseViewsMenu({
|
|
|
36023
36023
|
onSelectView(initialViewId);
|
|
36024
36024
|
loadedView.current = initialViewId;
|
|
36025
36025
|
}, [initialViewId, gridApi, ready, savedViews, onSelectView]);
|
|
36026
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
36026
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
|
|
36027
36027
|
}
|
|
36028
36028
|
function useMoveLocalViews(gridId, ready, importViews) {
|
|
36029
36029
|
const localViews = react$1.useArbiSessionState((state) => state.grid.savedViews[gridId]);
|
|
@@ -36510,20 +36510,20 @@ function WatchOne({ transferId }) {
|
|
|
36510
36510
|
const { data: job } = react$1.useWorkspaceTransfer(transferId);
|
|
36511
36511
|
const { data: workspaces = [] } = react$1.useWorkspaces();
|
|
36512
36512
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
36513
|
-
const untrack =
|
|
36513
|
+
const untrack = chunk2TLEQBTM_cjs.useExportStore((state) => state.untrackTransfer);
|
|
36514
36514
|
const invalidateAfterTransfer = react$1.useInvalidateAfterTransfer();
|
|
36515
36515
|
react.useEffect(() => {
|
|
36516
36516
|
if (!job || !react$1.isTransferFinished(job)) return;
|
|
36517
36517
|
invalidateAfterTransfer(job.mode);
|
|
36518
36518
|
const target = workspaces.find((w) => w.external_id === job.target_workspace_ext_id);
|
|
36519
|
-
const outcome =
|
|
36519
|
+
const outcome = chunk2TLEQBTM_cjs.transferOutcome(job, target?.name ?? "the other workspace");
|
|
36520
36520
|
if (outcome) notify19(outcome.message, outcome.tone);
|
|
36521
36521
|
untrack(transferId);
|
|
36522
36522
|
}, [job?.status, job?.external_id]);
|
|
36523
36523
|
return null;
|
|
36524
36524
|
}
|
|
36525
36525
|
function ConnectedTransferWatcher() {
|
|
36526
|
-
const active =
|
|
36526
|
+
const active = chunk2TLEQBTM_cjs.useExportStore((state) => state.activeTransfers);
|
|
36527
36527
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: active.map((id) => /* @__PURE__ */ jsxRuntime.jsx(WatchOne, { transferId: id }, id)) });
|
|
36528
36528
|
}
|
|
36529
36529
|
function useChatMessageToasts() {
|
|
@@ -37901,10 +37901,10 @@ var FreshChatModel = () => (useFreshChatModel(), null);
|
|
|
37901
37901
|
var WorkspaceOpenMetrics = ({ measure }) => (useWorkspaceOpenMetrics(measure), null);
|
|
37902
37902
|
var Prefetch = ({ loaders }) => (usePrefetchChunks(loaders), null);
|
|
37903
37903
|
function GuidedRuns() {
|
|
37904
|
-
|
|
37904
|
+
chunkTUTPAAFH_cjs.useRemoteControlSessionReset();
|
|
37905
37905
|
const { cursorMark } = chunkNZNBJF3M_cjs.useGuidedRuns();
|
|
37906
37906
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
37907
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37907
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk77MAR6Y4_cjs.GuidedCursor, { markSrc: cursorMark }),
|
|
37908
37908
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedRemoteControlConsent, {})
|
|
37909
37909
|
] });
|
|
37910
37910
|
}
|
|
@@ -37938,7 +37938,7 @@ function ConnectedAppRuntime({
|
|
|
37938
37938
|
on("pageTransition") && /* @__PURE__ */ jsxRuntime.jsx(PageTransition, {}),
|
|
37939
37939
|
on("freshChatModel") && /* @__PURE__ */ jsxRuntime.jsx(FreshChatModel, {}),
|
|
37940
37940
|
on("workspaceOpenMetrics") && measure && /* @__PURE__ */ jsxRuntime.jsx(WorkspaceOpenMetrics, { measure }),
|
|
37941
|
-
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...
|
|
37941
|
+
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...chunk77MAR6Y4_cjs.KIT_CHUNK_LOADERS] }),
|
|
37942
37942
|
on("guidedRuns") && /* @__PURE__ */ jsxRuntime.jsx(GuidedRuns, {})
|
|
37943
37943
|
] });
|
|
37944
37944
|
}
|
|
@@ -38479,7 +38479,7 @@ async function renderAnnotatedScreenshot(image, marks, text) {
|
|
|
38479
38479
|
)
|
|
38480
38480
|
);
|
|
38481
38481
|
}
|
|
38482
|
-
return
|
|
38482
|
+
return chunkTUTPAAFH_cjs.canvasToBlob(canvas);
|
|
38483
38483
|
}
|
|
38484
38484
|
function SupportVideoEvidence({
|
|
38485
38485
|
capture,
|
|
@@ -38901,7 +38901,7 @@ function ReportProblemDialog({
|
|
|
38901
38901
|
hidden: ticketId !== null,
|
|
38902
38902
|
children: [
|
|
38903
38903
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "Add a screenshot or video (optional)." }),
|
|
38904
|
-
|
|
38904
|
+
chunkTUTPAAFH_cjs.canCaptureScreen() ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { size: "sm", variant: "outline", onClick: onRetake, "data-testid": "report-retake", children: [
|
|
38905
38905
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Camera, { className: "mr-1 size-4" }),
|
|
38906
38906
|
" Create screenshot",
|
|
38907
38907
|
videoCapture ? " or recording" : ""
|
|
@@ -39019,7 +39019,7 @@ function useSupportVideo() {
|
|
|
39019
39019
|
};
|
|
39020
39020
|
stopRef.current = release;
|
|
39021
39021
|
try {
|
|
39022
|
-
const screen = await
|
|
39022
|
+
const screen = await chunkTUTPAAFH_cjs.requestScreenCapture();
|
|
39023
39023
|
streams.push(screen);
|
|
39024
39024
|
if (!active()) {
|
|
39025
39025
|
release();
|
|
@@ -39142,10 +39142,10 @@ function useReportProblem(options = {}) {
|
|
|
39142
39142
|
setPhase("capturing");
|
|
39143
39143
|
await new Promise((resolve) => window.setTimeout(resolve, 200));
|
|
39144
39144
|
try {
|
|
39145
|
-
setFrame(await
|
|
39145
|
+
setFrame(await chunkTUTPAAFH_cjs.captureCurrentTab());
|
|
39146
39146
|
setImage(null);
|
|
39147
39147
|
} catch (error) {
|
|
39148
|
-
const code = error instanceof
|
|
39148
|
+
const code = error instanceof chunkTUTPAAFH_cjs.ScreenCaptureError ? error.code : "failed";
|
|
39149
39149
|
if (code === "failed") {
|
|
39150
39150
|
notify19("Couldn't capture the screen. You can still describe the problem.", "error");
|
|
39151
39151
|
}
|
|
@@ -40106,7 +40106,7 @@ function resolveLaunchInputs(workflow, request) {
|
|
|
40106
40106
|
function useWorkflowLaunch() {
|
|
40107
40107
|
const { skills } = chunkER2MRSLT_cjs.useWorkflowDefinitions();
|
|
40108
40108
|
const launch = react.useCallback(
|
|
40109
|
-
(workflowId, options = {}) =>
|
|
40109
|
+
(workflowId, options = {}) => chunkAYK3BLUB_cjs.openWorkflowLaunch({ workflowId, ...options }),
|
|
40110
40110
|
[]
|
|
40111
40111
|
);
|
|
40112
40112
|
const itemsFor = react.useCallback(
|
|
@@ -40135,8 +40135,8 @@ function useWorkflowLaunch() {
|
|
|
40135
40135
|
return { launch, itemsFor, scopeItemsFor };
|
|
40136
40136
|
}
|
|
40137
40137
|
function Inner() {
|
|
40138
|
-
const request =
|
|
40139
|
-
const close =
|
|
40138
|
+
const request = chunkAYK3BLUB_cjs.useWorkflowLaunchRequest();
|
|
40139
|
+
const close = chunkAYK3BLUB_cjs.closeWorkflowLaunch;
|
|
40140
40140
|
const { skills } = chunkER2MRSLT_cjs.useWorkflowDefinitions();
|
|
40141
40141
|
const run = chunkOHWYQI3B_cjs.useLaunchWorkflow({ landing: request?.landing });
|
|
40142
40142
|
const workflow = skills.find((w) => w.id === request?.workflowId);
|
|
@@ -40174,7 +40174,7 @@ function Inner() {
|
|
|
40174
40174
|
);
|
|
40175
40175
|
}
|
|
40176
40176
|
function WorkflowLaunchHost() {
|
|
40177
|
-
return
|
|
40177
|
+
return chunkAYK3BLUB_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
|
|
40178
40178
|
}
|
|
40179
40179
|
function isNeedsConfirmationDetail(detail) {
|
|
40180
40180
|
return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
|
|
@@ -40479,7 +40479,7 @@ function ConnectedConversationSettings() {
|
|
|
40479
40479
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40480
40480
|
chunkJEHGTPS2_cjs.ModelSelectionSection,
|
|
40481
40481
|
{
|
|
40482
|
-
selector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
40482
|
+
selector: /* @__PURE__ */ jsxRuntime.jsx(chunkTUTPAAFH_cjs.ConnectedModelSelector, {}),
|
|
40483
40483
|
onUseDefaults: settings.resetToDefaults
|
|
40484
40484
|
}
|
|
40485
40485
|
)
|
|
@@ -40585,7 +40585,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
|
|
|
40585
40585
|
testId: "workspace-transfer-modal"
|
|
40586
40586
|
}
|
|
40587
40587
|
),
|
|
40588
|
-
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
40588
|
+
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkTUTPAAFH_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
|
|
40589
40589
|
conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
|
|
40590
40590
|
unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
|
|
40591
40591
|
productionSet: ConnectedProductionSetDialog,
|
|
@@ -40672,7 +40672,7 @@ function WorkflowRunStatusCell({ conversation }) {
|
|
|
40672
40672
|
return person ? ui.getUserDisplayName(person) : void 0;
|
|
40673
40673
|
};
|
|
40674
40674
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40675
|
-
|
|
40675
|
+
chunkAYK3BLUB_cjs.WorkflowRunStatus,
|
|
40676
40676
|
{
|
|
40677
40677
|
steps,
|
|
40678
40678
|
states,
|
|
@@ -40706,7 +40706,7 @@ function ConversationStatusCell({ conversation }) {
|
|
|
40706
40706
|
if (conversation.plan?.steps?.length && !isLiveGenerating)
|
|
40707
40707
|
return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
|
|
40708
40708
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40709
|
-
|
|
40709
|
+
chunkAYK3BLUB_cjs.ThreadStatusLine,
|
|
40710
40710
|
{
|
|
40711
40711
|
state: threadStateOf(conversation, isLiveGenerating),
|
|
40712
40712
|
className: "h-full",
|
|
@@ -40975,7 +40975,7 @@ function useThreadLabels(canEditShared) {
|
|
|
40975
40975
|
return {
|
|
40976
40976
|
labelText: (row2) => labels.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
40977
40977
|
renderLabels: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
40978
|
-
|
|
40978
|
+
chunkQEEK2Z5T_cjs.LabelMultiSelectView,
|
|
40979
40979
|
{
|
|
40980
40980
|
options,
|
|
40981
40981
|
appliedIds: new Set(row2.label_ext_ids ?? []),
|
|
@@ -40994,7 +40994,7 @@ function useThreadLabels(canEditShared) {
|
|
|
40994
40994
|
).map((label) => label.id)
|
|
40995
40995
|
);
|
|
40996
40996
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40997
|
-
|
|
40997
|
+
chunkQEEK2Z5T_cjs.BulkLabelSelectView,
|
|
40998
40998
|
{
|
|
40999
40999
|
options,
|
|
41000
41000
|
appliedIds: all,
|
|
@@ -41025,7 +41025,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
41025
41025
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkZHLBTIJJ_cjs.ComposerDock, { children: [
|
|
41026
41026
|
slashWorkflows.launcher,
|
|
41027
41027
|
/* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
41028
|
-
|
|
41028
|
+
chunkTUTPAAFH_cjs.ConversationComposer,
|
|
41029
41029
|
{
|
|
41030
41030
|
value: draft,
|
|
41031
41031
|
onValueChange: setDraft,
|
|
@@ -41034,7 +41034,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
41034
41034
|
isConversationEmpty: true,
|
|
41035
41035
|
shouldOfferFollowUp: false,
|
|
41036
41036
|
skills,
|
|
41037
|
-
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
41037
|
+
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkTUTPAAFH_cjs.ConnectedModelSelector, { variant: "compact" }),
|
|
41038
41038
|
rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunkZHLBTIJJ_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
|
|
41039
41039
|
}
|
|
41040
41040
|
) })
|
|
@@ -41132,7 +41132,7 @@ function AgentControlBar({
|
|
|
41132
41132
|
const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
|
|
41133
41133
|
const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
|
|
41134
41134
|
const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41135
|
-
|
|
41135
|
+
chunkTUTPAAFH_cjs.MessageLiveSeconds,
|
|
41136
41136
|
{
|
|
41137
41137
|
...liveTimer,
|
|
41138
41138
|
offsetSeconds: currentStep?.t ?? 0,
|
|
@@ -41141,7 +41141,7 @@ function AgentControlBar({
|
|
|
41141
41141
|
}
|
|
41142
41142
|
);
|
|
41143
41143
|
const status = /* @__PURE__ */ jsxRuntime.jsx(
|
|
41144
|
-
|
|
41144
|
+
chunkAYK3BLUB_cjs.AgentBarStatus,
|
|
41145
41145
|
{
|
|
41146
41146
|
state: showState ? controlState : void 0,
|
|
41147
41147
|
stateLabel: STATE_LABEL[controlState],
|
|
@@ -41182,7 +41182,7 @@ function AgentControlBar({
|
|
|
41182
41182
|
];
|
|
41183
41183
|
const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
41184
41184
|
onStop && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41185
|
-
|
|
41185
|
+
chunkAYK3BLUB_cjs.AgentBarIconButton,
|
|
41186
41186
|
{
|
|
41187
41187
|
onClick: onStop,
|
|
41188
41188
|
title: "Stop",
|
|
@@ -41191,23 +41191,23 @@ function AgentControlBar({
|
|
|
41191
41191
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
|
|
41192
41192
|
}
|
|
41193
41193
|
),
|
|
41194
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41194
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.AgentBarMenu, { items: menuItems })
|
|
41195
41195
|
] });
|
|
41196
41196
|
const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
|
|
41197
41197
|
(message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
|
|
41198
41198
|
);
|
|
41199
41199
|
const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
|
|
41200
|
-
const below = probePending || probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41201
|
-
probePending && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41200
|
+
const below = probePending || probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkAYK3BLUB_cjs.AgentBarNotes, { children: [
|
|
41201
|
+
probePending && /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.AgentBarStatus, { isProbing: true }),
|
|
41202
41202
|
queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
41203
|
-
|
|
41203
|
+
chunkAYK3BLUB_cjs.AgentBarQueuedNote,
|
|
41204
41204
|
{
|
|
41205
41205
|
text: message.content ?? "",
|
|
41206
41206
|
isAcknowledged: message.acknowledged
|
|
41207
41207
|
},
|
|
41208
41208
|
index
|
|
41209
41209
|
)),
|
|
41210
|
-
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41210
|
+
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
|
|
41211
41211
|
] }) : null;
|
|
41212
41212
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41213
41213
|
AgentBarShell,
|
|
@@ -41335,7 +41335,7 @@ function ConnectedConversationEmpty({
|
|
|
41335
41335
|
below
|
|
41336
41336
|
}) {
|
|
41337
41337
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41338
|
-
|
|
41338
|
+
chunk6CPJ5ZOY_cjs.ConversationEmpty,
|
|
41339
41339
|
{
|
|
41340
41340
|
hasDocuments,
|
|
41341
41341
|
prompts: EXAMPLE_PROMPTS,
|
|
@@ -41357,7 +41357,7 @@ function ConnectedConversationEmpty({
|
|
|
41357
41357
|
compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
|
|
41358
41358
|
}
|
|
41359
41359
|
),
|
|
41360
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41360
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQEEK2Z5T_cjs.PrivacyExplainerModal, {})
|
|
41361
41361
|
] })
|
|
41362
41362
|
}
|
|
41363
41363
|
);
|
|
@@ -41390,7 +41390,7 @@ function ConversationAlert({
|
|
|
41390
41390
|
}, [message, onRetryOrphaned, notify19]);
|
|
41391
41391
|
if (type === "send-failed") {
|
|
41392
41392
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41393
|
-
|
|
41393
|
+
chunk6CPJ5ZOY_cjs.MessageAlert,
|
|
41394
41394
|
{
|
|
41395
41395
|
title: "Message failed to send",
|
|
41396
41396
|
description: errorMessage2 || "An error occurred while sending your message.",
|
|
@@ -41419,7 +41419,7 @@ function ConversationAlert({
|
|
|
41419
41419
|
);
|
|
41420
41420
|
}
|
|
41421
41421
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41422
|
-
|
|
41422
|
+
chunk6CPJ5ZOY_cjs.MessageAlert,
|
|
41423
41423
|
{
|
|
41424
41424
|
title: type === "backend-failed" ? "Response Failed" : "Response Incomplete",
|
|
41425
41425
|
description: type === "backend-failed" ? "The assistant's response failed. Use Retry to try again." : "Use Retry to try again, or type a new query.",
|
|
@@ -42072,7 +42072,7 @@ function ConversationThread({
|
|
|
42072
42072
|
() => firstTurnPrompt ? react$1.buildPendingFirstTurn(firstTurnPrompt, currentUserExtId) : null,
|
|
42073
42073
|
[firstTurnPrompt, currentUserExtId]
|
|
42074
42074
|
);
|
|
42075
|
-
const uploadUrls =
|
|
42075
|
+
const uploadUrls = chunk2TLEQBTM_cjs.useAddFromUrls({
|
|
42076
42076
|
onZipFiles: (files2) => openUpload?.(files2, { source: "computer" })
|
|
42077
42077
|
});
|
|
42078
42078
|
const {
|
|
@@ -42322,7 +42322,7 @@ function ConversationThread({
|
|
|
42322
42322
|
useStartRequestedDraft();
|
|
42323
42323
|
const orphanedMessage = react$1.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
|
|
42324
42324
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkKLMNCBLY_cjs.ConversationBody, { children: [
|
|
42325
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
42325
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkTUTPAAFH_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunk7VUO4QZH_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
|
|
42326
42326
|
meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
42327
42327
|
chunkZBP4ZSAJ_cjs.ConversationFilter,
|
|
42328
42328
|
{
|
|
@@ -42340,7 +42340,7 @@ function ConversationThread({
|
|
|
42340
42340
|
]
|
|
42341
42341
|
}
|
|
42342
42342
|
) }),
|
|
42343
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42343
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkTUTPAAFH_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
|
|
42344
42344
|
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunkMZPBZSKS_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
42345
42345
|
] }) }) : meetingCallExtId ? (
|
|
42346
42346
|
// A meeting thread with nothing yet: call-aware, not the upload prompt.
|
|
@@ -42348,7 +42348,7 @@ function ConversationThread({
|
|
|
42348
42348
|
/* @__PURE__ */ jsxRuntime.jsx(chunkMZPBZSKS_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
|
|
42349
42349
|
/* @__PURE__ */ jsxRuntime.jsx(chunkMZPBZSKS_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
42350
42350
|
] })
|
|
42351
|
-
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
42351
|
+
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkTUTPAAFH_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
42352
42352
|
ConnectedConversationEmpty,
|
|
42353
42353
|
{
|
|
42354
42354
|
hasDocuments: allWorkspaceDocuments.length > 0,
|
|
@@ -42446,7 +42446,7 @@ function ConversationThread({
|
|
|
42446
42446
|
}
|
|
42447
42447
|
),
|
|
42448
42448
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42449
|
-
|
|
42449
|
+
chunkTUTPAAFH_cjs.ConversationComposer,
|
|
42450
42450
|
{
|
|
42451
42451
|
handleSendMessage: handleUserSend,
|
|
42452
42452
|
placeholder: pendingAnswer ? assistant.answerPlaceholder : void 0,
|
|
@@ -42788,7 +42788,7 @@ function ConnectedThreadsPage({
|
|
|
42788
42788
|
};
|
|
42789
42789
|
const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
|
|
42790
42790
|
/* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
42791
|
-
|
|
42791
|
+
chunkAYK3BLUB_cjs.ConversationListView,
|
|
42792
42792
|
{
|
|
42793
42793
|
showHeader,
|
|
42794
42794
|
conversations: tasks,
|
|
@@ -42807,7 +42807,7 @@ function ConnectedThreadsPage({
|
|
|
42807
42807
|
renderLabels: threadLabels.renderLabels,
|
|
42808
42808
|
labelText: threadLabels.labelText,
|
|
42809
42809
|
renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
42810
|
-
|
|
42810
|
+
chunkAYK3BLUB_cjs.ConversationTurnSpeaker,
|
|
42811
42811
|
{
|
|
42812
42812
|
variant: "icon",
|
|
42813
42813
|
role: row2.last_message_role,
|
|
@@ -43194,7 +43194,7 @@ function ConnectedChatDocumentsTab({
|
|
|
43194
43194
|
testId: `document-hover-toggle-${doc.external_id}`
|
|
43195
43195
|
},
|
|
43196
43196
|
status: /* @__PURE__ */ jsxRuntime.jsx(
|
|
43197
|
-
|
|
43197
|
+
chunkQEEK2Z5T_cjs.DocStatusIcon,
|
|
43198
43198
|
{
|
|
43199
43199
|
status: doc.status,
|
|
43200
43200
|
onClick: onStatusClick,
|
|
@@ -43463,7 +43463,7 @@ function ConnectedChatContextButton({
|
|
|
43463
43463
|
};
|
|
43464
43464
|
const documentNoun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL").toLowerCase();
|
|
43465
43465
|
const chip = /* @__PURE__ */ jsxRuntime.jsx(
|
|
43466
|
-
|
|
43466
|
+
chunk6CPJ5ZOY_cjs.ContextChip,
|
|
43467
43467
|
{
|
|
43468
43468
|
count: count2,
|
|
43469
43469
|
label: `${count2} ${documentNoun} in this chat`,
|
|
@@ -43608,7 +43608,7 @@ function ConnectedConversationPage({
|
|
|
43608
43608
|
const isGuest = workspaceRole === "guest";
|
|
43609
43609
|
const canUpload = workspaceRole !== null && !isGuest;
|
|
43610
43610
|
const [urlDialogOpen, setUrlDialogOpen] = react.useState(false);
|
|
43611
|
-
const uploadUrls =
|
|
43611
|
+
const uploadUrls = chunk2TLEQBTM_cjs.useAddFromUrls({
|
|
43612
43612
|
onZipFiles: (files2) => chunkK67VMSOX_cjs.openDialog("upload", { tab: "upload", files: files2, source: "computer" })
|
|
43613
43613
|
});
|
|
43614
43614
|
const uploadDisabledReason = isGuest ? "Viewers cannot upload documents in this workspace" : "You cannot upload to this workspace";
|
|
@@ -43688,7 +43688,7 @@ function ConnectedConversationPage({
|
|
|
43688
43688
|
);
|
|
43689
43689
|
const { data: workspaceTags = [] } = react$1.useTags();
|
|
43690
43690
|
const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
|
|
43691
|
-
const historyCount =
|
|
43691
|
+
const historyCount = chunkAYK3BLUB_cjs.filterConversationRows(
|
|
43692
43692
|
threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
|
|
43693
43693
|
threadFilter,
|
|
43694
43694
|
(row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
@@ -43770,7 +43770,7 @@ function ConnectedConversationPage({
|
|
|
43770
43770
|
] })
|
|
43771
43771
|
}
|
|
43772
43772
|
),
|
|
43773
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43773
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkVNK4HCHH_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
|
|
43774
43774
|
] }),
|
|
43775
43775
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43776
43776
|
ConversationThread,
|
|
@@ -43800,13 +43800,13 @@ function ConnectedConversationPage({
|
|
|
43800
43800
|
!isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationHistoryPane, { children: searchEnabled && semanticSearchOpen ? /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false, search: true, ResultsBoundary }) : /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false }) })
|
|
43801
43801
|
] }),
|
|
43802
43802
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
43803
|
-
|
|
43803
|
+
chunkQEEK2Z5T_cjs.UrlInputDialog,
|
|
43804
43804
|
{
|
|
43805
43805
|
open: urlDialogOpen,
|
|
43806
43806
|
onOpenChange: setUrlDialogOpen,
|
|
43807
43807
|
onUrlsSubmit: uploadUrls,
|
|
43808
43808
|
titleWorkspaceName: workspace?.name,
|
|
43809
|
-
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43809
|
+
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(chunk2TLEQBTM_cjs.ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
|
|
43810
43810
|
}
|
|
43811
43811
|
)
|
|
43812
43812
|
] });
|
|
@@ -43979,7 +43979,7 @@ function SsoResendVerificationButton({
|
|
|
43979
43979
|
onClick: async () => handleResendEmailVerification(),
|
|
43980
43980
|
disabled: loading || disabled,
|
|
43981
43981
|
"aria-label": "Resend verification email",
|
|
43982
|
-
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
43982
|
+
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunk77MAR6Y4_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
43983
43983
|
"Didn't get a verification email? ",
|
|
43984
43984
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
|
|
43985
43985
|
] })
|
|
@@ -43990,9 +43990,9 @@ function SsoResendVerificationButton({
|
|
|
43990
43990
|
}
|
|
43991
43991
|
var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
|
|
43992
43992
|
function ConnectedSsoCallback() {
|
|
43993
|
-
const sso =
|
|
43993
|
+
const sso = chunkTUTPAAFH_cjs.useSsoSignIn();
|
|
43994
43994
|
const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
|
|
43995
|
-
const auth =
|
|
43995
|
+
const auth = chunkTUTPAAFH_cjs.useAuthPages();
|
|
43996
43996
|
const { notify: notify19, navigate } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
43997
43997
|
const passwordRules = auth.passwordRules;
|
|
43998
43998
|
const isProcessing = react.useRef(false);
|
|
@@ -44000,7 +44000,7 @@ function ConnectedSsoCallback() {
|
|
|
44000
44000
|
const [statusAttempt, setStatusAttempt] = react.useState(0);
|
|
44001
44001
|
const [accessToken, setAccessToken] = react.useState(null);
|
|
44002
44002
|
const [ssoStatus, setSsoStatus] = react.useState(null);
|
|
44003
|
-
const ssoName = react.useMemo(() =>
|
|
44003
|
+
const ssoName = react.useMemo(() => chunkTUTPAAFH_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
|
|
44004
44004
|
const [password, setPassword] = react.useState("");
|
|
44005
44005
|
const [confirmPassword, setConfirmPassword] = react.useState("");
|
|
44006
44006
|
const [error, setError] = react.useState(null);
|
|
@@ -44178,7 +44178,7 @@ function ConnectedSsoCallback() {
|
|
|
44178
44178
|
setIsCheckingStatus(true);
|
|
44179
44179
|
try {
|
|
44180
44180
|
console.info("[SSO] Checking user status...");
|
|
44181
|
-
const response = await
|
|
44181
|
+
const response = await chunkTUTPAAFH_cjs.ssoAccountStatus(arbi, accessToken, user);
|
|
44182
44182
|
console.info("[SSO] User status:", response.status);
|
|
44183
44183
|
setSsoStatus(response);
|
|
44184
44184
|
} catch (error2) {
|
|
@@ -44219,7 +44219,7 @@ function ConnectedSsoCallback() {
|
|
|
44219
44219
|
setIsSubmitting(true);
|
|
44220
44220
|
setError(null);
|
|
44221
44221
|
try {
|
|
44222
|
-
const { login, registered, linked } = await
|
|
44222
|
+
const { login, registered, linked } = await chunkTUTPAAFH_cjs.completeSsoSignIn(arbi, {
|
|
44223
44223
|
token: accessToken,
|
|
44224
44224
|
user,
|
|
44225
44225
|
status: ssoStatus,
|
|
@@ -44519,7 +44519,7 @@ function ConnectedSsoCallback() {
|
|
|
44519
44519
|
ssoStatus.status !== "new_user" && auth.footer
|
|
44520
44520
|
] }),
|
|
44521
44521
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44522
|
-
|
|
44522
|
+
chunkTUTPAAFH_cjs.ConnectedForgotPassword,
|
|
44523
44523
|
{
|
|
44524
44524
|
open: showForgotPasswordModal,
|
|
44525
44525
|
onOpenChange: setShowForgotPasswordModal,
|
|
@@ -44527,7 +44527,7 @@ function ConnectedSsoCallback() {
|
|
|
44527
44527
|
}
|
|
44528
44528
|
),
|
|
44529
44529
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44530
|
-
|
|
44530
|
+
chunkTUTPAAFH_cjs.ConnectedPasswordChangeDialog,
|
|
44531
44531
|
{
|
|
44532
44532
|
open: showChangePasswordModal,
|
|
44533
44533
|
onClose: () => setShowChangePasswordModal(false),
|
|
@@ -44686,27 +44686,27 @@ function ConnectedOAuthConsentPage({
|
|
|
44686
44686
|
oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
|
|
44687
44687
|
}
|
|
44688
44688
|
if (error && !params) {
|
|
44689
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44689
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
|
|
44690
44690
|
}
|
|
44691
44691
|
if (!params) {
|
|
44692
44692
|
return null;
|
|
44693
44693
|
}
|
|
44694
44694
|
if (clientInfo?.isLocalAgentFlow) {
|
|
44695
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44695
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_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." }) });
|
|
44696
44696
|
}
|
|
44697
44697
|
if (!isAuthenticated2) {
|
|
44698
44698
|
return null;
|
|
44699
44699
|
}
|
|
44700
44700
|
if (callbackUrl) {
|
|
44701
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44702
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44701
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAYK3BLUB_cjs.ConsentCard, { size: "md", children: [
|
|
44702
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkAYK3BLUB_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
|
|
44703
44703
|
"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",
|
|
44704
44704
|
" ",
|
|
44705
44705
|
copied ? "it's already copied to your clipboard." : "copy it first."
|
|
44706
44706
|
] }),
|
|
44707
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44708
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44709
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44707
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkAYK3BLUB_cjs.ConsentSection, { title: "Callback URL", children: [
|
|
44708
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
|
|
44709
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkAYK3BLUB_cjs.ConsentText, { variant: "hint", children: [
|
|
44710
44710
|
"In Claude Code, paste the URL at the prompt that says",
|
|
44711
44711
|
" ",
|
|
44712
44712
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
|
|
@@ -44715,17 +44715,17 @@ function ConnectedOAuthConsentPage({
|
|
|
44715
44715
|
] })
|
|
44716
44716
|
] }) });
|
|
44717
44717
|
}
|
|
44718
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44719
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44720
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44718
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAYK3BLUB_cjs.ConsentCard, { children: [
|
|
44719
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkAYK3BLUB_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
|
|
44720
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
|
|
44721
44721
|
" is requesting access to your ",
|
|
44722
44722
|
appName,
|
|
44723
44723
|
" workspace."
|
|
44724
44724
|
] }),
|
|
44725
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44726
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44727
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44728
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44725
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConsentPermissionList, { items: permissions }) }),
|
|
44726
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConsentNotice, { tone: "error", children: error }),
|
|
44727
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
|
|
44728
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAYK3BLUB_cjs.ConsentFootnote, { children: footnote })
|
|
44729
44729
|
] }) });
|
|
44730
44730
|
}
|
|
44731
44731
|
function ConnectedSharedFilesPage({
|
|
@@ -45060,7 +45060,7 @@ function ConnectedShellTopbar({
|
|
|
45060
45060
|
return /* @__PURE__ */ jsxRuntime.jsx(chunkXJEXFEWG_cjs.Shell.Topbar, { actions, children: landing });
|
|
45061
45061
|
}
|
|
45062
45062
|
var ConnectedAssistantDock2 = react.lazy(
|
|
45063
|
-
() => import('../ai-
|
|
45063
|
+
() => import('../ai-XIT4MY3S.cjs').then((m) => ({ default: m.ConnectedAssistantDock }))
|
|
45064
45064
|
);
|
|
45065
45065
|
var DOCK_TOGGLE_LABEL = "Assistant chat";
|
|
45066
45066
|
var DOCK_TOGGLE_TEST_ID = "shell-dock-toggle";
|
|
@@ -45076,8 +45076,8 @@ function RoutedShellSidebar({
|
|
|
45076
45076
|
const navigation = useShellNavigation();
|
|
45077
45077
|
const { workspace } = react$1.useCurrentWorkspace();
|
|
45078
45078
|
const isPhone = chunkFX3K6LNZ_cjs.useIsPhone();
|
|
45079
|
-
const assistantDock =
|
|
45080
|
-
const { isDockAvailable } =
|
|
45079
|
+
const assistantDock = chunk6EJ7KD4U_cjs.useAssistantDock();
|
|
45080
|
+
const { isDockAvailable } = chunk6CPJ5ZOY_cjs.useChatSurface();
|
|
45081
45081
|
const tools = [
|
|
45082
45082
|
...hostTools.map((tool) => ({
|
|
45083
45083
|
id: tool.id,
|
|
@@ -45144,7 +45144,7 @@ function RoutedShellTopbar({
|
|
|
45144
45144
|
] }),
|
|
45145
45145
|
ask: ask !== false ? (props) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedAskField, { ...props, labels: ask?.labels }) : void 0,
|
|
45146
45146
|
actions: dock !== false && /* @__PURE__ */ jsxRuntime.jsx(
|
|
45147
|
-
|
|
45147
|
+
chunk6EJ7KD4U_cjs.AssistantDockToggle,
|
|
45148
45148
|
{
|
|
45149
45149
|
label: dock?.toggleLabel ?? DOCK_TOGGLE_LABEL,
|
|
45150
45150
|
testId: DOCK_TOGGLE_TEST_ID
|
|
@@ -45168,7 +45168,7 @@ function RoutedShellTabBar({
|
|
|
45168
45168
|
}
|
|
45169
45169
|
function RoutedShellDock({ dock }) {
|
|
45170
45170
|
const isPhone = chunkFX3K6LNZ_cjs.useIsPhone();
|
|
45171
|
-
const { isOpen } =
|
|
45171
|
+
const { isOpen } = chunk6EJ7KD4U_cjs.useAssistantDock();
|
|
45172
45172
|
const [opened, setOpened] = react.useState(isOpen);
|
|
45173
45173
|
if (isOpen && !opened) setOpened(true);
|
|
45174
45174
|
if (dock === false || !opened) return null;
|
|
@@ -45426,7 +45426,7 @@ function ConnectedTipBar({
|
|
|
45426
45426
|
className,
|
|
45427
45427
|
revealOnHover = false
|
|
45428
45428
|
}) {
|
|
45429
|
-
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } =
|
|
45429
|
+
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkTUTPAAFH_cjs.useContextualHints();
|
|
45430
45430
|
const { dismissed, dismissTip } = react$1.useDismissedTips();
|
|
45431
45431
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
45432
45432
|
const { data: workspaces } = react$1.useWorkspaces();
|
|
@@ -45437,7 +45437,7 @@ function ConnectedTipBar({
|
|
|
45437
45437
|
workspaceOpen,
|
|
45438
45438
|
...state
|
|
45439
45439
|
};
|
|
45440
|
-
const { tip, index, count: count2, previous, next, onHoverChange } =
|
|
45440
|
+
const { tip, index, count: count2, previous, next, onHoverChange } = chunk77MAR6Y4_cjs.useTipsPlacement({
|
|
45441
45441
|
registry,
|
|
45442
45442
|
context,
|
|
45443
45443
|
state: situation,
|
|
@@ -45515,7 +45515,7 @@ function useGettingStarted({
|
|
|
45515
45515
|
const { user } = react$1.useArbiSession();
|
|
45516
45516
|
const userExtId = user?.external_id;
|
|
45517
45517
|
const temporaryOnly = user?.temporary_access_only === true;
|
|
45518
|
-
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } =
|
|
45518
|
+
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkTUTPAAFH_cjs.useContextualHints();
|
|
45519
45519
|
const { dismissed, loaded: dismissedLoaded, dismissTip } = react$1.useDismissedTips();
|
|
45520
45520
|
const welcomeJourneyEnabled = react$1.useFeature("welcomeJourney");
|
|
45521
45521
|
const session = react$1.useArbiSessionStore();
|
|
@@ -45741,15 +45741,15 @@ Object.defineProperty(exports, "ConnectedMailInviteCard", {
|
|
|
45741
45741
|
});
|
|
45742
45742
|
Object.defineProperty(exports, "ConnectedTagEntity", {
|
|
45743
45743
|
enumerable: true,
|
|
45744
|
-
get: function () { return
|
|
45744
|
+
get: function () { return chunkOABDY4YO_cjs.ConnectedTagEntity; }
|
|
45745
45745
|
});
|
|
45746
45746
|
Object.defineProperty(exports, "documentFieldContent", {
|
|
45747
45747
|
enumerable: true,
|
|
45748
|
-
get: function () { return
|
|
45748
|
+
get: function () { return chunkOABDY4YO_cjs.documentFieldContent; }
|
|
45749
45749
|
});
|
|
45750
45750
|
Object.defineProperty(exports, "useMemberLookup", {
|
|
45751
45751
|
enumerable: true,
|
|
45752
|
-
get: function () { return
|
|
45752
|
+
get: function () { return chunkOABDY4YO_cjs.useMemberLookup; }
|
|
45753
45753
|
});
|
|
45754
45754
|
Object.defineProperty(exports, "DEFAULT_ASK_SUGGESTIONS", {
|
|
45755
45755
|
enumerable: true,
|
|
@@ -45825,443 +45825,443 @@ Object.defineProperty(exports, "useRewardBalance", {
|
|
|
45825
45825
|
});
|
|
45826
45826
|
Object.defineProperty(exports, "ConnectedAgendaBlock", {
|
|
45827
45827
|
enumerable: true,
|
|
45828
|
-
get: function () { return
|
|
45828
|
+
get: function () { return chunk2TLEQBTM_cjs.ConnectedAgendaBlock; }
|
|
45829
45829
|
});
|
|
45830
45830
|
Object.defineProperty(exports, "ConnectedCarouselBlock", {
|
|
45831
45831
|
enumerable: true,
|
|
45832
|
-
get: function () { return
|
|
45832
|
+
get: function () { return chunk2TLEQBTM_cjs.ConnectedCarouselBlock; }
|
|
45833
45833
|
});
|
|
45834
45834
|
Object.defineProperty(exports, "ConnectedEmailWorkspaceDialog", {
|
|
45835
45835
|
enumerable: true,
|
|
45836
|
-
get: function () { return
|
|
45836
|
+
get: function () { return chunk2TLEQBTM_cjs.ConnectedEmailWorkspaceDialog; }
|
|
45837
45837
|
});
|
|
45838
45838
|
Object.defineProperty(exports, "ConnectedListBlock", {
|
|
45839
45839
|
enumerable: true,
|
|
45840
|
-
get: function () { return
|
|
45840
|
+
get: function () { return chunk2TLEQBTM_cjs.ConnectedListBlock; }
|
|
45841
45841
|
});
|
|
45842
45842
|
Object.defineProperty(exports, "ConnectedNewFileMenu", {
|
|
45843
45843
|
enumerable: true,
|
|
45844
|
-
get: function () { return
|
|
45844
|
+
get: function () { return chunk2TLEQBTM_cjs.ConnectedNewFileMenu; }
|
|
45845
45845
|
});
|
|
45846
45846
|
Object.defineProperty(exports, "ConnectedNewThreadDialog", {
|
|
45847
45847
|
enumerable: true,
|
|
45848
|
-
get: function () { return
|
|
45848
|
+
get: function () { return chunk2TLEQBTM_cjs.ConnectedNewThreadDialog; }
|
|
45849
45849
|
});
|
|
45850
45850
|
Object.defineProperty(exports, "ConnectedStartBlock", {
|
|
45851
45851
|
enumerable: true,
|
|
45852
|
-
get: function () { return
|
|
45852
|
+
get: function () { return chunk2TLEQBTM_cjs.ConnectedStartBlock; }
|
|
45853
45853
|
});
|
|
45854
45854
|
Object.defineProperty(exports, "ConnectedUpcomingEvents", {
|
|
45855
45855
|
enumerable: true,
|
|
45856
|
-
get: function () { return
|
|
45856
|
+
get: function () { return chunk2TLEQBTM_cjs.ConnectedUpcomingEvents; }
|
|
45857
45857
|
});
|
|
45858
45858
|
Object.defineProperty(exports, "ConnectedWorkspaceEntity", {
|
|
45859
45859
|
enumerable: true,
|
|
45860
|
-
get: function () { return
|
|
45860
|
+
get: function () { return chunk2TLEQBTM_cjs.ConnectedWorkspaceEntity; }
|
|
45861
45861
|
});
|
|
45862
45862
|
Object.defineProperty(exports, "DocumentsUploadButton", {
|
|
45863
45863
|
enumerable: true,
|
|
45864
|
-
get: function () { return
|
|
45864
|
+
get: function () { return chunk2TLEQBTM_cjs.DocumentsUploadButton; }
|
|
45865
45865
|
});
|
|
45866
45866
|
Object.defineProperty(exports, "LOOK_AGAIN_LABEL", {
|
|
45867
45867
|
enumerable: true,
|
|
45868
|
-
get: function () { return
|
|
45868
|
+
get: function () { return chunk2TLEQBTM_cjs.LOOK_AGAIN_LABEL; }
|
|
45869
45869
|
});
|
|
45870
45870
|
Object.defineProperty(exports, "PENDING_LOOKUP_MS", {
|
|
45871
45871
|
enumerable: true,
|
|
45872
|
-
get: function () { return
|
|
45872
|
+
get: function () { return chunk2TLEQBTM_cjs.PENDING_LOOKUP_MS; }
|
|
45873
45873
|
});
|
|
45874
45874
|
Object.defineProperty(exports, "PENDING_TASK_MESSAGE", {
|
|
45875
45875
|
enumerable: true,
|
|
45876
|
-
get: function () { return
|
|
45876
|
+
get: function () { return chunk2TLEQBTM_cjs.PENDING_TASK_MESSAGE; }
|
|
45877
45877
|
});
|
|
45878
45878
|
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_BLOCKS", {
|
|
45879
45879
|
enumerable: true,
|
|
45880
|
-
get: function () { return
|
|
45880
|
+
get: function () { return chunk2TLEQBTM_cjs.WORKSPACE_DASHBOARD_BLOCKS; }
|
|
45881
45881
|
});
|
|
45882
45882
|
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_LAYOUT", {
|
|
45883
45883
|
enumerable: true,
|
|
45884
|
-
get: function () { return
|
|
45884
|
+
get: function () { return chunk2TLEQBTM_cjs.WORKSPACE_DASHBOARD_LAYOUT; }
|
|
45885
45885
|
});
|
|
45886
45886
|
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_PAGE", {
|
|
45887
45887
|
enumerable: true,
|
|
45888
|
-
get: function () { return
|
|
45888
|
+
get: function () { return chunk2TLEQBTM_cjs.WORKSPACE_DASHBOARD_PAGE; }
|
|
45889
45889
|
});
|
|
45890
45890
|
Object.defineProperty(exports, "createEventCall", {
|
|
45891
45891
|
enumerable: true,
|
|
45892
|
-
get: function () { return
|
|
45892
|
+
get: function () { return chunk2TLEQBTM_cjs.createEventCall; }
|
|
45893
45893
|
});
|
|
45894
45894
|
Object.defineProperty(exports, "describePlan", {
|
|
45895
45895
|
enumerable: true,
|
|
45896
|
-
get: function () { return
|
|
45896
|
+
get: function () { return chunk2TLEQBTM_cjs.describePlan; }
|
|
45897
45897
|
});
|
|
45898
45898
|
Object.defineProperty(exports, "distinctPeers", {
|
|
45899
45899
|
enumerable: true,
|
|
45900
|
-
get: function () { return
|
|
45900
|
+
get: function () { return chunk2TLEQBTM_cjs.distinctPeers; }
|
|
45901
45901
|
});
|
|
45902
45902
|
Object.defineProperty(exports, "joinEventMeeting", {
|
|
45903
45903
|
enumerable: true,
|
|
45904
|
-
get: function () { return
|
|
45904
|
+
get: function () { return chunk2TLEQBTM_cjs.joinEventMeeting; }
|
|
45905
45905
|
});
|
|
45906
45906
|
Object.defineProperty(exports, "loadEventWebinar", {
|
|
45907
45907
|
enumerable: true,
|
|
45908
|
-
get: function () { return
|
|
45908
|
+
get: function () { return chunk2TLEQBTM_cjs.loadEventWebinar; }
|
|
45909
45909
|
});
|
|
45910
45910
|
Object.defineProperty(exports, "parseArbiCallUrl", {
|
|
45911
45911
|
enumerable: true,
|
|
45912
|
-
get: function () { return
|
|
45912
|
+
get: function () { return chunk2TLEQBTM_cjs.parseArbiCallUrl; }
|
|
45913
45913
|
});
|
|
45914
45914
|
Object.defineProperty(exports, "resolveAttendeeUsers", {
|
|
45915
45915
|
enumerable: true,
|
|
45916
|
-
get: function () { return
|
|
45916
|
+
get: function () { return chunk2TLEQBTM_cjs.resolveAttendeeUsers; }
|
|
45917
45917
|
});
|
|
45918
45918
|
Object.defineProperty(exports, "resolveAttendeeUsersRemote", {
|
|
45919
45919
|
enumerable: true,
|
|
45920
|
-
get: function () { return
|
|
45920
|
+
get: function () { return chunk2TLEQBTM_cjs.resolveAttendeeUsersRemote; }
|
|
45921
45921
|
});
|
|
45922
45922
|
Object.defineProperty(exports, "resolveCallPeers", {
|
|
45923
45923
|
enumerable: true,
|
|
45924
|
-
get: function () { return
|
|
45924
|
+
get: function () { return chunk2TLEQBTM_cjs.resolveCallPeers; }
|
|
45925
45925
|
});
|
|
45926
45926
|
Object.defineProperty(exports, "resolveCallPeersRemote", {
|
|
45927
45927
|
enumerable: true,
|
|
45928
|
-
get: function () { return
|
|
45928
|
+
get: function () { return chunk2TLEQBTM_cjs.resolveCallPeersRemote; }
|
|
45929
45929
|
});
|
|
45930
45930
|
Object.defineProperty(exports, "shareEventCall", {
|
|
45931
45931
|
enumerable: true,
|
|
45932
|
-
get: function () { return
|
|
45932
|
+
get: function () { return chunk2TLEQBTM_cjs.shareEventCall; }
|
|
45933
45933
|
});
|
|
45934
45934
|
Object.defineProperty(exports, "transferOutcome", {
|
|
45935
45935
|
enumerable: true,
|
|
45936
|
-
get: function () { return
|
|
45936
|
+
get: function () { return chunk2TLEQBTM_cjs.transferOutcome; }
|
|
45937
45937
|
});
|
|
45938
45938
|
Object.defineProperty(exports, "updateEventWebinarRoles", {
|
|
45939
45939
|
enumerable: true,
|
|
45940
|
-
get: function () { return
|
|
45940
|
+
get: function () { return chunk2TLEQBTM_cjs.updateEventWebinarRoles; }
|
|
45941
45941
|
});
|
|
45942
45942
|
Object.defineProperty(exports, "useAddFromUrls", {
|
|
45943
45943
|
enumerable: true,
|
|
45944
|
-
get: function () { return
|
|
45944
|
+
get: function () { return chunk2TLEQBTM_cjs.useAddFromUrls; }
|
|
45945
45945
|
});
|
|
45946
45946
|
Object.defineProperty(exports, "useExportStore", {
|
|
45947
45947
|
enumerable: true,
|
|
45948
|
-
get: function () { return
|
|
45948
|
+
get: function () { return chunk2TLEQBTM_cjs.useExportStore; }
|
|
45949
45949
|
});
|
|
45950
45950
|
Object.defineProperty(exports, "usePendingTaskThread", {
|
|
45951
45951
|
enumerable: true,
|
|
45952
|
-
get: function () { return
|
|
45952
|
+
get: function () { return chunk2TLEQBTM_cjs.usePendingTaskThread; }
|
|
45953
45953
|
});
|
|
45954
45954
|
Object.defineProperty(exports, "webinarRolesByUser", {
|
|
45955
45955
|
enumerable: true,
|
|
45956
|
-
get: function () { return
|
|
45956
|
+
get: function () { return chunk2TLEQBTM_cjs.webinarRolesByUser; }
|
|
45957
45957
|
});
|
|
45958
45958
|
Object.defineProperty(exports, "ConnectedAssistantDock", {
|
|
45959
45959
|
enumerable: true,
|
|
45960
|
-
get: function () { return
|
|
45960
|
+
get: function () { return chunkUC6Z7E6C_cjs.ConnectedAssistantDock; }
|
|
45961
45961
|
});
|
|
45962
45962
|
Object.defineProperty(exports, "redlineStats", {
|
|
45963
45963
|
enumerable: true,
|
|
45964
|
-
get: function () { return
|
|
45964
|
+
get: function () { return chunkUC6Z7E6C_cjs.redlineStats; }
|
|
45965
45965
|
});
|
|
45966
45966
|
Object.defineProperty(exports, "textToArtifact", {
|
|
45967
45967
|
enumerable: true,
|
|
45968
|
-
get: function () { return
|
|
45968
|
+
get: function () { return chunkUC6Z7E6C_cjs.textToArtifact; }
|
|
45969
45969
|
});
|
|
45970
45970
|
Object.defineProperty(exports, "toRedlineMarkdown", {
|
|
45971
45971
|
enumerable: true,
|
|
45972
|
-
get: function () { return
|
|
45972
|
+
get: function () { return chunkUC6Z7E6C_cjs.toRedlineMarkdown; }
|
|
45973
45973
|
});
|
|
45974
45974
|
Object.defineProperty(exports, "useConnectedAiTask", {
|
|
45975
45975
|
enumerable: true,
|
|
45976
|
-
get: function () { return
|
|
45976
|
+
get: function () { return chunkUC6Z7E6C_cjs.useConnectedAiTask; }
|
|
45977
45977
|
});
|
|
45978
45978
|
Object.defineProperty(exports, "useConnectedChat", {
|
|
45979
45979
|
enumerable: true,
|
|
45980
|
-
get: function () { return
|
|
45980
|
+
get: function () { return chunkUC6Z7E6C_cjs.useConnectedChat; }
|
|
45981
45981
|
});
|
|
45982
45982
|
Object.defineProperty(exports, "useSemanticSearch", {
|
|
45983
45983
|
enumerable: true,
|
|
45984
|
-
get: function () { return
|
|
45984
|
+
get: function () { return chunkUC6Z7E6C_cjs.useSemanticSearch; }
|
|
45985
45985
|
});
|
|
45986
45986
|
Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
45987
45987
|
enumerable: true,
|
|
45988
|
-
get: function () { return
|
|
45988
|
+
get: function () { return chunkUC6Z7E6C_cjs.useWorkspaceDocs; }
|
|
45989
45989
|
});
|
|
45990
45990
|
Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
|
|
45991
45991
|
enumerable: true,
|
|
45992
|
-
get: function () { return
|
|
45992
|
+
get: function () { return chunkVNK4HCHH_cjs.ConnectedTaskActivityDialog; }
|
|
45993
45993
|
});
|
|
45994
45994
|
Object.defineProperty(exports, "ConnectedTaskComposer", {
|
|
45995
45995
|
enumerable: true,
|
|
45996
|
-
get: function () { return
|
|
45996
|
+
get: function () { return chunkVNK4HCHH_cjs.ConnectedTaskComposer; }
|
|
45997
45997
|
});
|
|
45998
45998
|
Object.defineProperty(exports, "ConnectedThreadTaskBar", {
|
|
45999
45999
|
enumerable: true,
|
|
46000
|
-
get: function () { return
|
|
46000
|
+
get: function () { return chunkVNK4HCHH_cjs.ConnectedThreadTaskBar; }
|
|
46001
46001
|
});
|
|
46002
46002
|
Object.defineProperty(exports, "ConnectedWorkflowHistory", {
|
|
46003
46003
|
enumerable: true,
|
|
46004
|
-
get: function () { return
|
|
46004
|
+
get: function () { return chunkVNK4HCHH_cjs.ConnectedWorkflowHistory; }
|
|
46005
46005
|
});
|
|
46006
46006
|
Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
|
|
46007
46007
|
enumerable: true,
|
|
46008
|
-
get: function () { return
|
|
46008
|
+
get: function () { return chunkVNK4HCHH_cjs.ConnectedWorkflowRunPage; }
|
|
46009
46009
|
});
|
|
46010
46010
|
Object.defineProperty(exports, "ConnectedWorkflowRunner", {
|
|
46011
46011
|
enumerable: true,
|
|
46012
|
-
get: function () { return
|
|
46012
|
+
get: function () { return chunkVNK4HCHH_cjs.ConnectedWorkflowRunner; }
|
|
46013
46013
|
});
|
|
46014
46014
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
|
|
46015
46015
|
enumerable: true,
|
|
46016
|
-
get: function () { return
|
|
46016
|
+
get: function () { return chunkVNK4HCHH_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
|
|
46017
46017
|
});
|
|
46018
46018
|
Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
|
|
46019
46019
|
enumerable: true,
|
|
46020
|
-
get: function () { return
|
|
46020
|
+
get: function () { return chunkVNK4HCHH_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
|
|
46021
46021
|
});
|
|
46022
46022
|
Object.defineProperty(exports, "WorkflowRunThread", {
|
|
46023
46023
|
enumerable: true,
|
|
46024
|
-
get: function () { return
|
|
46024
|
+
get: function () { return chunkVNK4HCHH_cjs.WorkflowRunThread; }
|
|
46025
46025
|
});
|
|
46026
46026
|
Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
|
|
46027
46027
|
enumerable: true,
|
|
46028
|
-
get: function () { return
|
|
46028
|
+
get: function () { return chunkVNK4HCHH_cjs.WorkflowRunWorkspaceChangedError; }
|
|
46029
46029
|
});
|
|
46030
46030
|
Object.defineProperty(exports, "buildProjectSummaries", {
|
|
46031
46031
|
enumerable: true,
|
|
46032
|
-
get: function () { return
|
|
46032
|
+
get: function () { return chunkVNK4HCHH_cjs.buildProjectSummaries; }
|
|
46033
46033
|
});
|
|
46034
46034
|
Object.defineProperty(exports, "primaryProjectWorkspace", {
|
|
46035
46035
|
enumerable: true,
|
|
46036
|
-
get: function () { return
|
|
46036
|
+
get: function () { return chunkVNK4HCHH_cjs.primaryProjectWorkspace; }
|
|
46037
46037
|
});
|
|
46038
46038
|
Object.defineProperty(exports, "useEnsureRequiredLabels", {
|
|
46039
46039
|
enumerable: true,
|
|
46040
|
-
get: function () { return
|
|
46040
|
+
get: function () { return chunkVNK4HCHH_cjs.useEnsureRequiredLabels; }
|
|
46041
46041
|
});
|
|
46042
46042
|
Object.defineProperty(exports, "useProjectSummaries", {
|
|
46043
46043
|
enumerable: true,
|
|
46044
|
-
get: function () { return
|
|
46044
|
+
get: function () { return chunkVNK4HCHH_cjs.useProjectSummaries; }
|
|
46045
46045
|
});
|
|
46046
46046
|
Object.defineProperty(exports, "useProjectSummary", {
|
|
46047
46047
|
enumerable: true,
|
|
46048
|
-
get: function () { return
|
|
46048
|
+
get: function () { return chunkVNK4HCHH_cjs.useProjectSummary; }
|
|
46049
46049
|
});
|
|
46050
46050
|
Object.defineProperty(exports, "useRenderTaskPerson", {
|
|
46051
46051
|
enumerable: true,
|
|
46052
|
-
get: function () { return
|
|
46052
|
+
get: function () { return chunkVNK4HCHH_cjs.useRenderTaskPerson; }
|
|
46053
46053
|
});
|
|
46054
46054
|
Object.defineProperty(exports, "useRequiredLabels", {
|
|
46055
46055
|
enumerable: true,
|
|
46056
|
-
get: function () { return
|
|
46056
|
+
get: function () { return chunkVNK4HCHH_cjs.useRequiredLabels; }
|
|
46057
46057
|
});
|
|
46058
46058
|
Object.defineProperty(exports, "useTaskPeople", {
|
|
46059
46059
|
enumerable: true,
|
|
46060
|
-
get: function () { return
|
|
46060
|
+
get: function () { return chunkVNK4HCHH_cjs.useTaskPeople; }
|
|
46061
46061
|
});
|
|
46062
46062
|
Object.defineProperty(exports, "useWorkflowsPageState", {
|
|
46063
46063
|
enumerable: true,
|
|
46064
|
-
get: function () { return
|
|
46064
|
+
get: function () { return chunkVNK4HCHH_cjs.useWorkflowsPageState; }
|
|
46065
46065
|
});
|
|
46066
46066
|
Object.defineProperty(exports, "workflowRunView", {
|
|
46067
46067
|
enumerable: true,
|
|
46068
|
-
get: function () { return
|
|
46068
|
+
get: function () { return chunkVNK4HCHH_cjs.workflowRunView; }
|
|
46069
46069
|
});
|
|
46070
46070
|
Object.defineProperty(exports, "AgentSteps", {
|
|
46071
46071
|
enumerable: true,
|
|
46072
|
-
get: function () { return
|
|
46072
|
+
get: function () { return chunkTUTPAAFH_cjs.AgentSteps; }
|
|
46073
46073
|
});
|
|
46074
46074
|
Object.defineProperty(exports, "AnswerTable", {
|
|
46075
46075
|
enumerable: true,
|
|
46076
|
-
get: function () { return
|
|
46076
|
+
get: function () { return chunkTUTPAAFH_cjs.AnswerTable; }
|
|
46077
46077
|
});
|
|
46078
46078
|
Object.defineProperty(exports, "ArbiChat", {
|
|
46079
46079
|
enumerable: true,
|
|
46080
|
-
get: function () { return
|
|
46080
|
+
get: function () { return chunkTUTPAAFH_cjs.ArbiChat; }
|
|
46081
46081
|
});
|
|
46082
46082
|
Object.defineProperty(exports, "AskAgainContext", {
|
|
46083
46083
|
enumerable: true,
|
|
46084
|
-
get: function () { return
|
|
46084
|
+
get: function () { return chunkTUTPAAFH_cjs.AskAgainContext; }
|
|
46085
46085
|
});
|
|
46086
46086
|
Object.defineProperty(exports, "ConnectedBranchControls", {
|
|
46087
46087
|
enumerable: true,
|
|
46088
|
-
get: function () { return
|
|
46088
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedBranchControls; }
|
|
46089
46089
|
});
|
|
46090
46090
|
Object.defineProperty(exports, "ConnectedCitationRenderer", {
|
|
46091
46091
|
enumerable: true,
|
|
46092
|
-
get: function () { return
|
|
46092
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedCitationRenderer; }
|
|
46093
46093
|
});
|
|
46094
46094
|
Object.defineProperty(exports, "ConnectedCompactConversation", {
|
|
46095
46095
|
enumerable: true,
|
|
46096
|
-
get: function () { return
|
|
46096
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedCompactConversation; }
|
|
46097
46097
|
});
|
|
46098
46098
|
Object.defineProperty(exports, "ConnectedCompactLogin", {
|
|
46099
46099
|
enumerable: true,
|
|
46100
|
-
get: function () { return
|
|
46100
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedCompactLogin; }
|
|
46101
46101
|
});
|
|
46102
46102
|
Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
|
|
46103
46103
|
enumerable: true,
|
|
46104
|
-
get: function () { return
|
|
46104
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedConversationDocumentPicker; }
|
|
46105
46105
|
});
|
|
46106
46106
|
Object.defineProperty(exports, "ConnectedDangerZone", {
|
|
46107
46107
|
enumerable: true,
|
|
46108
|
-
get: function () { return
|
|
46108
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedDangerZone; }
|
|
46109
46109
|
});
|
|
46110
46110
|
Object.defineProperty(exports, "ConnectedEmbeddedChat", {
|
|
46111
46111
|
enumerable: true,
|
|
46112
|
-
get: function () { return
|
|
46112
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedEmbeddedChat; }
|
|
46113
46113
|
});
|
|
46114
46114
|
Object.defineProperty(exports, "ConnectedForgotPassword", {
|
|
46115
46115
|
enumerable: true,
|
|
46116
|
-
get: function () { return
|
|
46116
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedForgotPassword; }
|
|
46117
46117
|
});
|
|
46118
46118
|
Object.defineProperty(exports, "ConnectedIdentityVerification", {
|
|
46119
46119
|
enumerable: true,
|
|
46120
|
-
get: function () { return
|
|
46120
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedIdentityVerification; }
|
|
46121
46121
|
});
|
|
46122
46122
|
Object.defineProperty(exports, "ConnectedLoginPage", {
|
|
46123
46123
|
enumerable: true,
|
|
46124
|
-
get: function () { return
|
|
46124
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedLoginPage; }
|
|
46125
46125
|
});
|
|
46126
46126
|
Object.defineProperty(exports, "ConnectedLogoutDialog", {
|
|
46127
46127
|
enumerable: true,
|
|
46128
|
-
get: function () { return
|
|
46128
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedLogoutDialog; }
|
|
46129
46129
|
});
|
|
46130
46130
|
Object.defineProperty(exports, "ConnectedMessage", {
|
|
46131
46131
|
enumerable: true,
|
|
46132
|
-
get: function () { return
|
|
46132
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedMessage; }
|
|
46133
46133
|
});
|
|
46134
46134
|
Object.defineProperty(exports, "ConnectedMessageArea", {
|
|
46135
46135
|
enumerable: true,
|
|
46136
|
-
get: function () { return
|
|
46136
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedMessageArea; }
|
|
46137
46137
|
});
|
|
46138
46138
|
Object.defineProperty(exports, "ConnectedMessageList", {
|
|
46139
46139
|
enumerable: true,
|
|
46140
|
-
get: function () { return
|
|
46140
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedMessageList; }
|
|
46141
46141
|
});
|
|
46142
46142
|
Object.defineProperty(exports, "ConnectedModelSelector", {
|
|
46143
46143
|
enumerable: true,
|
|
46144
|
-
get: function () { return
|
|
46144
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedModelSelector; }
|
|
46145
46145
|
});
|
|
46146
46146
|
Object.defineProperty(exports, "ConnectedNotificationPreferences", {
|
|
46147
46147
|
enumerable: true,
|
|
46148
|
-
get: function () { return
|
|
46148
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedNotificationPreferences; }
|
|
46149
46149
|
});
|
|
46150
46150
|
Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
|
|
46151
46151
|
enumerable: true,
|
|
46152
|
-
get: function () { return
|
|
46152
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedPasswordChangeDialog; }
|
|
46153
46153
|
});
|
|
46154
46154
|
Object.defineProperty(exports, "ConnectedProfileCard", {
|
|
46155
46155
|
enumerable: true,
|
|
46156
|
-
get: function () { return
|
|
46156
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedProfileCard; }
|
|
46157
46157
|
});
|
|
46158
46158
|
Object.defineProperty(exports, "ConnectedSecuritySection", {
|
|
46159
46159
|
enumerable: true,
|
|
46160
|
-
get: function () { return
|
|
46160
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedSecuritySection; }
|
|
46161
46161
|
});
|
|
46162
46162
|
Object.defineProperty(exports, "ConnectedSessionsRow", {
|
|
46163
46163
|
enumerable: true,
|
|
46164
|
-
get: function () { return
|
|
46164
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedSessionsRow; }
|
|
46165
46165
|
});
|
|
46166
46166
|
Object.defineProperty(exports, "ConnectedThreadsPreview", {
|
|
46167
46167
|
enumerable: true,
|
|
46168
|
-
get: function () { return
|
|
46168
|
+
get: function () { return chunkTUTPAAFH_cjs.ConnectedThreadsPreview; }
|
|
46169
46169
|
});
|
|
46170
46170
|
Object.defineProperty(exports, "ConversationComposer", {
|
|
46171
46171
|
enumerable: true,
|
|
46172
|
-
get: function () { return
|
|
46172
|
+
get: function () { return chunkTUTPAAFH_cjs.ConversationComposer; }
|
|
46173
46173
|
});
|
|
46174
46174
|
Object.defineProperty(exports, "EmbeddedChatPanel", {
|
|
46175
46175
|
enumerable: true,
|
|
46176
|
-
get: function () { return
|
|
46176
|
+
get: function () { return chunkTUTPAAFH_cjs.EmbeddedChatPanel; }
|
|
46177
46177
|
});
|
|
46178
46178
|
Object.defineProperty(exports, "MessageDetailsModal", {
|
|
46179
46179
|
enumerable: true,
|
|
46180
|
-
get: function () { return
|
|
46180
|
+
get: function () { return chunkTUTPAAFH_cjs.MessageDetailsModal; }
|
|
46181
46181
|
});
|
|
46182
46182
|
Object.defineProperty(exports, "MessageLiveSeconds", {
|
|
46183
46183
|
enumerable: true,
|
|
46184
|
-
get: function () { return
|
|
46184
|
+
get: function () { return chunkTUTPAAFH_cjs.MessageLiveSeconds; }
|
|
46185
46185
|
});
|
|
46186
46186
|
Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
|
|
46187
46187
|
enumerable: true,
|
|
46188
|
-
get: function () { return
|
|
46188
|
+
get: function () { return chunkTUTPAAFH_cjs.PENDING_RECOVERY_KEY; }
|
|
46189
46189
|
});
|
|
46190
46190
|
Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
|
|
46191
46191
|
enumerable: true,
|
|
46192
|
-
get: function () { return
|
|
46192
|
+
get: function () { return chunkTUTPAAFH_cjs.PREMIUM_TIER_TAG; }
|
|
46193
46193
|
});
|
|
46194
46194
|
Object.defineProperty(exports, "RunningSubagents", {
|
|
46195
46195
|
enumerable: true,
|
|
46196
|
-
get: function () { return
|
|
46196
|
+
get: function () { return chunkTUTPAAFH_cjs.RunningSubagents; }
|
|
46197
46197
|
});
|
|
46198
46198
|
Object.defineProperty(exports, "STANDARD_TIER_TAG", {
|
|
46199
46199
|
enumerable: true,
|
|
46200
|
-
get: function () { return
|
|
46200
|
+
get: function () { return chunkTUTPAAFH_cjs.STANDARD_TIER_TAG; }
|
|
46201
46201
|
});
|
|
46202
46202
|
Object.defineProperty(exports, "WorkflowStepMessage", {
|
|
46203
46203
|
enumerable: true,
|
|
46204
|
-
get: function () { return
|
|
46204
|
+
get: function () { return chunkTUTPAAFH_cjs.WorkflowStepMessage; }
|
|
46205
46205
|
});
|
|
46206
46206
|
Object.defineProperty(exports, "backUpOnSignup", {
|
|
46207
46207
|
enumerable: true,
|
|
46208
|
-
get: function () { return
|
|
46208
|
+
get: function () { return chunkTUTPAAFH_cjs.backUpOnSignup; }
|
|
46209
46209
|
});
|
|
46210
46210
|
Object.defineProperty(exports, "createRemoteControl", {
|
|
46211
46211
|
enumerable: true,
|
|
46212
|
-
get: function () { return
|
|
46212
|
+
get: function () { return chunkTUTPAAFH_cjs.createRemoteControl; }
|
|
46213
46213
|
});
|
|
46214
46214
|
Object.defineProperty(exports, "defaultHost", {
|
|
46215
46215
|
enumerable: true,
|
|
46216
|
-
get: function () { return
|
|
46216
|
+
get: function () { return chunkTUTPAAFH_cjs.defaultHost; }
|
|
46217
46217
|
});
|
|
46218
46218
|
Object.defineProperty(exports, "renderConnectedUser", {
|
|
46219
46219
|
enumerable: true,
|
|
46220
|
-
get: function () { return
|
|
46220
|
+
get: function () { return chunkTUTPAAFH_cjs.renderConnectedUser; }
|
|
46221
46221
|
});
|
|
46222
46222
|
Object.defineProperty(exports, "renderSessionStatusIcon", {
|
|
46223
46223
|
enumerable: true,
|
|
46224
|
-
get: function () { return
|
|
46224
|
+
get: function () { return chunkTUTPAAFH_cjs.renderSessionStatusIcon; }
|
|
46225
46225
|
});
|
|
46226
46226
|
Object.defineProperty(exports, "resolveSsoName", {
|
|
46227
46227
|
enumerable: true,
|
|
46228
|
-
get: function () { return
|
|
46228
|
+
get: function () { return chunkTUTPAAFH_cjs.resolveSsoName; }
|
|
46229
46229
|
});
|
|
46230
46230
|
Object.defineProperty(exports, "useAuthPages", {
|
|
46231
46231
|
enumerable: true,
|
|
46232
|
-
get: function () { return
|
|
46232
|
+
get: function () { return chunkTUTPAAFH_cjs.useAuthPages; }
|
|
46233
46233
|
});
|
|
46234
46234
|
Object.defineProperty(exports, "useContextualHints", {
|
|
46235
46235
|
enumerable: true,
|
|
46236
|
-
get: function () { return
|
|
46236
|
+
get: function () { return chunkTUTPAAFH_cjs.useContextualHints; }
|
|
46237
46237
|
});
|
|
46238
46238
|
Object.defineProperty(exports, "useModelPicker", {
|
|
46239
46239
|
enumerable: true,
|
|
46240
|
-
get: function () { return
|
|
46240
|
+
get: function () { return chunkTUTPAAFH_cjs.useModelPicker; }
|
|
46241
46241
|
});
|
|
46242
46242
|
Object.defineProperty(exports, "useOpenChunk", {
|
|
46243
46243
|
enumerable: true,
|
|
46244
|
-
get: function () { return
|
|
46244
|
+
get: function () { return chunkTUTPAAFH_cjs.useOpenChunk; }
|
|
46245
46245
|
});
|
|
46246
46246
|
Object.defineProperty(exports, "useOpenWorkspaceIcon", {
|
|
46247
46247
|
enumerable: true,
|
|
46248
|
-
get: function () { return
|
|
46248
|
+
get: function () { return chunkTUTPAAFH_cjs.useOpenWorkspaceIcon; }
|
|
46249
46249
|
});
|
|
46250
46250
|
Object.defineProperty(exports, "useRemoteControlActions", {
|
|
46251
46251
|
enumerable: true,
|
|
46252
|
-
get: function () { return
|
|
46252
|
+
get: function () { return chunkTUTPAAFH_cjs.useRemoteControlActions; }
|
|
46253
46253
|
});
|
|
46254
46254
|
Object.defineProperty(exports, "useRemoteControlHandlers", {
|
|
46255
46255
|
enumerable: true,
|
|
46256
|
-
get: function () { return
|
|
46256
|
+
get: function () { return chunkTUTPAAFH_cjs.useRemoteControlHandlers; }
|
|
46257
46257
|
});
|
|
46258
46258
|
Object.defineProperty(exports, "useSsoSignIn", {
|
|
46259
46259
|
enumerable: true,
|
|
46260
|
-
get: function () { return
|
|
46260
|
+
get: function () { return chunkTUTPAAFH_cjs.useSsoSignIn; }
|
|
46261
46261
|
});
|
|
46262
46262
|
Object.defineProperty(exports, "useWorkspaceDocTitles", {
|
|
46263
46263
|
enumerable: true,
|
|
46264
|
-
get: function () { return
|
|
46264
|
+
get: function () { return chunkTUTPAAFH_cjs.useWorkspaceDocTitles; }
|
|
46265
46265
|
});
|
|
46266
46266
|
Object.defineProperty(exports, "parseTypedSkill", {
|
|
46267
46267
|
enumerable: true,
|
|
@@ -46293,11 +46293,11 @@ Object.defineProperty(exports, "useLaunchWorkflow", {
|
|
|
46293
46293
|
});
|
|
46294
46294
|
Object.defineProperty(exports, "useConnectedThreadActivity", {
|
|
46295
46295
|
enumerable: true,
|
|
46296
|
-
get: function () { return
|
|
46296
|
+
get: function () { return chunkP3PTSXGJ_cjs.useConnectedThreadActivity; }
|
|
46297
46297
|
});
|
|
46298
46298
|
Object.defineProperty(exports, "DocumentUser", {
|
|
46299
46299
|
enumerable: true,
|
|
46300
|
-
get: function () { return
|
|
46300
|
+
get: function () { return chunkJ7LSWWA3_cjs.DocumentUser; }
|
|
46301
46301
|
});
|
|
46302
46302
|
Object.defineProperty(exports, "useCanBrowseSkills", {
|
|
46303
46303
|
enumerable: true,
|
|
@@ -46353,35 +46353,35 @@ Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
|
|
|
46353
46353
|
});
|
|
46354
46354
|
Object.defineProperty(exports, "FILES_PREFS_KEY", {
|
|
46355
46355
|
enumerable: true,
|
|
46356
|
-
get: function () { return
|
|
46356
|
+
get: function () { return chunkXBM6TVZL_cjs.FILES_PREFS_KEY; }
|
|
46357
46357
|
});
|
|
46358
46358
|
Object.defineProperty(exports, "filesViewMode", {
|
|
46359
46359
|
enumerable: true,
|
|
46360
|
-
get: function () { return
|
|
46360
|
+
get: function () { return chunkXBM6TVZL_cjs.filesViewMode; }
|
|
46361
46361
|
});
|
|
46362
46362
|
Object.defineProperty(exports, "useAiReviewStore", {
|
|
46363
46363
|
enumerable: true,
|
|
46364
|
-
get: function () { return
|
|
46364
|
+
get: function () { return chunkXBM6TVZL_cjs.useAiReviewStore; }
|
|
46365
46365
|
});
|
|
46366
46366
|
Object.defineProperty(exports, "useFilesDialogs", {
|
|
46367
46367
|
enumerable: true,
|
|
46368
|
-
get: function () { return
|
|
46368
|
+
get: function () { return chunkXBM6TVZL_cjs.useFilesDialogs; }
|
|
46369
46369
|
});
|
|
46370
46370
|
Object.defineProperty(exports, "useFilesGridStates", {
|
|
46371
46371
|
enumerable: true,
|
|
46372
|
-
get: function () { return
|
|
46372
|
+
get: function () { return chunkXBM6TVZL_cjs.useFilesGridStates; }
|
|
46373
46373
|
});
|
|
46374
46374
|
Object.defineProperty(exports, "useFilesPrefs", {
|
|
46375
46375
|
enumerable: true,
|
|
46376
|
-
get: function () { return
|
|
46376
|
+
get: function () { return chunkXBM6TVZL_cjs.useFilesPrefs; }
|
|
46377
46377
|
});
|
|
46378
46378
|
Object.defineProperty(exports, "useFilesStore", {
|
|
46379
46379
|
enumerable: true,
|
|
46380
|
-
get: function () { return
|
|
46380
|
+
get: function () { return chunkXBM6TVZL_cjs.useFilesStore; }
|
|
46381
46381
|
});
|
|
46382
46382
|
Object.defineProperty(exports, "usePendingFolders", {
|
|
46383
46383
|
enumerable: true,
|
|
46384
|
-
get: function () { return
|
|
46384
|
+
get: function () { return chunkXBM6TVZL_cjs.usePendingFolders; }
|
|
46385
46385
|
});
|
|
46386
46386
|
Object.defineProperty(exports, "ConnectedMarkdown", {
|
|
46387
46387
|
enumerable: true,
|
|
@@ -46413,67 +46413,67 @@ Object.defineProperty(exports, "useDocumentWorkspace", {
|
|
|
46413
46413
|
});
|
|
46414
46414
|
Object.defineProperty(exports, "ConnectedPendingSyncDialog", {
|
|
46415
46415
|
enumerable: true,
|
|
46416
|
-
get: function () { return
|
|
46416
|
+
get: function () { return chunkN2YNXFT4_cjs.ConnectedPendingSyncDialog; }
|
|
46417
46417
|
});
|
|
46418
46418
|
Object.defineProperty(exports, "DocumentFolderCell", {
|
|
46419
46419
|
enumerable: true,
|
|
46420
|
-
get: function () { return
|
|
46420
|
+
get: function () { return chunkN2YNXFT4_cjs.DocumentFolderCell; }
|
|
46421
46421
|
});
|
|
46422
46422
|
Object.defineProperty(exports, "DocumentLabelsCell", {
|
|
46423
46423
|
enumerable: true,
|
|
46424
|
-
get: function () { return
|
|
46424
|
+
get: function () { return chunkN2YNXFT4_cjs.DocumentLabelsCell; }
|
|
46425
46425
|
});
|
|
46426
46426
|
Object.defineProperty(exports, "DocumentNameCell", {
|
|
46427
46427
|
enumerable: true,
|
|
46428
|
-
get: function () { return
|
|
46428
|
+
get: function () { return chunkN2YNXFT4_cjs.DocumentNameCell; }
|
|
46429
46429
|
});
|
|
46430
46430
|
Object.defineProperty(exports, "DocumentSharedCell", {
|
|
46431
46431
|
enumerable: true,
|
|
46432
|
-
get: function () { return
|
|
46432
|
+
get: function () { return chunkN2YNXFT4_cjs.DocumentSharedCell; }
|
|
46433
46433
|
});
|
|
46434
46434
|
Object.defineProperty(exports, "DocumentStatusGlyph", {
|
|
46435
46435
|
enumerable: true,
|
|
46436
|
-
get: function () { return
|
|
46436
|
+
get: function () { return chunkN2YNXFT4_cjs.DocumentStatusGlyph; }
|
|
46437
46437
|
});
|
|
46438
46438
|
Object.defineProperty(exports, "DocumentSyncGlyph", {
|
|
46439
46439
|
enumerable: true,
|
|
46440
|
-
get: function () { return
|
|
46440
|
+
get: function () { return chunkN2YNXFT4_cjs.DocumentSyncGlyph; }
|
|
46441
46441
|
});
|
|
46442
46442
|
Object.defineProperty(exports, "FileTooltipContent", {
|
|
46443
46443
|
enumerable: true,
|
|
46444
|
-
get: function () { return
|
|
46444
|
+
get: function () { return chunkN2YNXFT4_cjs.FileTooltipContent; }
|
|
46445
46445
|
});
|
|
46446
46446
|
Object.defineProperty(exports, "RelatedDocumentsCell", {
|
|
46447
46447
|
enumerable: true,
|
|
46448
|
-
get: function () { return
|
|
46448
|
+
get: function () { return chunkN2YNXFT4_cjs.RelatedDocumentsCell; }
|
|
46449
46449
|
});
|
|
46450
46450
|
Object.defineProperty(exports, "StatusCell", {
|
|
46451
46451
|
enumerable: true,
|
|
46452
|
-
get: function () { return
|
|
46452
|
+
get: function () { return chunkN2YNXFT4_cjs.StatusCell; }
|
|
46453
46453
|
});
|
|
46454
46454
|
Object.defineProperty(exports, "UserAvatar", {
|
|
46455
46455
|
enumerable: true,
|
|
46456
|
-
get: function () { return
|
|
46456
|
+
get: function () { return chunkN2YNXFT4_cjs.UserAvatar; }
|
|
46457
46457
|
});
|
|
46458
46458
|
Object.defineProperty(exports, "isActiveDocumentStatus", {
|
|
46459
46459
|
enumerable: true,
|
|
46460
|
-
get: function () { return
|
|
46460
|
+
get: function () { return chunkN2YNXFT4_cjs.isActiveDocumentStatus; }
|
|
46461
46461
|
});
|
|
46462
46462
|
Object.defineProperty(exports, "openPendingSyncDialog", {
|
|
46463
46463
|
enumerable: true,
|
|
46464
|
-
get: function () { return
|
|
46464
|
+
get: function () { return chunkN2YNXFT4_cjs.openPendingSyncDialog; }
|
|
46465
46465
|
});
|
|
46466
46466
|
Object.defineProperty(exports, "parseQuotaError", {
|
|
46467
46467
|
enumerable: true,
|
|
46468
|
-
get: function () { return
|
|
46468
|
+
get: function () { return chunkN2YNXFT4_cjs.parseQuotaError; }
|
|
46469
46469
|
});
|
|
46470
46470
|
Object.defineProperty(exports, "startMenuItem", {
|
|
46471
46471
|
enumerable: true,
|
|
46472
|
-
get: function () { return
|
|
46472
|
+
get: function () { return chunkN2YNXFT4_cjs.startMenuItem; }
|
|
46473
46473
|
});
|
|
46474
46474
|
Object.defineProperty(exports, "useDocumentFolders", {
|
|
46475
46475
|
enumerable: true,
|
|
46476
|
-
get: function () { return
|
|
46476
|
+
get: function () { return chunkN2YNXFT4_cjs.useDocumentFolders; }
|
|
46477
46477
|
});
|
|
46478
46478
|
Object.defineProperty(exports, "ConnectedWorkflowsTable", {
|
|
46479
46479
|
enumerable: true,
|