@arbidocs/blocks 0.5.155 → 0.5.156
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/{ConnectedNativeDocxComparison-2DAQX5GX.cjs → ConnectedNativeDocxComparison-G3AIBKSN.cjs} +7 -7
- package/dist/{ConnectedNativeDocxComparison-2DAQX5GX.cjs.map → ConnectedNativeDocxComparison-G3AIBKSN.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-LTYB62VM.cjs → ConnectedStreamedWordArtifact-ISNLUTAT.cjs} +7 -7
- package/dist/{ConnectedStreamedWordArtifact-LTYB62VM.cjs.map → ConnectedStreamedWordArtifact-ISNLUTAT.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-5AP55NGZ.cjs → DocumentReviewCard-7ZH575KX.cjs} +13 -13
- package/dist/{DocumentReviewCard-5AP55NGZ.cjs.map → DocumentReviewCard-7ZH575KX.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-SHWCE3UN.cjs → FilesViewerDialog-6RWJSZZV.cjs} +10 -10
- package/dist/{FilesViewerDialog-SHWCE3UN.cjs.map → FilesViewerDialog-6RWJSZZV.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-S4IBYQVF.cjs → WorkspaceTableView-NMERZJZZ.cjs} +4 -4
- package/dist/{WorkspaceTableView-S4IBYQVF.cjs.map → WorkspaceTableView-NMERZJZZ.cjs.map} +1 -1
- package/dist/agents/index.cjs +172 -172
- package/dist/{chunk-JCFXS336.cjs → chunk-44M4FI2N.cjs} +8 -8
- package/dist/chunk-44M4FI2N.cjs.map +1 -0
- package/dist/{chunk-KWWGUQJV.cjs → chunk-4I4IYVC6.cjs} +7 -7
- package/dist/{chunk-KWWGUQJV.cjs.map → chunk-4I4IYVC6.cjs.map} +1 -1
- package/dist/{chunk-BTQ7IAOH.cjs → chunk-B2L3XNZH.cjs} +4 -4
- package/dist/{chunk-BTQ7IAOH.cjs.map → chunk-B2L3XNZH.cjs.map} +1 -1
- package/dist/{chunk-4XNP27N4.cjs → chunk-BNHFDXJI.cjs} +36 -36
- package/dist/{chunk-4XNP27N4.cjs.map → chunk-BNHFDXJI.cjs.map} +1 -1
- package/dist/{chunk-ZCQXQIBA.cjs → chunk-DCD4OHDF.cjs} +28 -28
- package/dist/{chunk-ZCQXQIBA.cjs.map → chunk-DCD4OHDF.cjs.map} +1 -1
- package/dist/{chunk-6ZZWQ3OL.cjs → chunk-FNBUFKHE.cjs} +4 -4
- package/dist/{chunk-6ZZWQ3OL.cjs.map → chunk-FNBUFKHE.cjs.map} +1 -1
- package/dist/{chunk-B5BGVPQ5.cjs → chunk-HGD4B7GO.cjs} +4 -4
- package/dist/{chunk-B5BGVPQ5.cjs.map → chunk-HGD4B7GO.cjs.map} +1 -1
- package/dist/{chunk-4UDGCXUR.cjs → chunk-HJHDKS4V.cjs} +5 -5
- package/dist/{chunk-4UDGCXUR.cjs.map → chunk-HJHDKS4V.cjs.map} +1 -1
- package/dist/{chunk-3SGFIDID.cjs → chunk-HLUZMXEZ.cjs} +56 -56
- package/dist/{chunk-3SGFIDID.cjs.map → chunk-HLUZMXEZ.cjs.map} +1 -1
- package/dist/{chunk-BZVK7JW5.cjs → chunk-K7GBHLLY.cjs} +4 -4
- package/dist/{chunk-BZVK7JW5.cjs.map → chunk-K7GBHLLY.cjs.map} +1 -1
- package/dist/{chunk-MAKCWF45.cjs → chunk-M24FBUAP.cjs} +4 -4
- package/dist/{chunk-MAKCWF45.cjs.map → chunk-M24FBUAP.cjs.map} +1 -1
- package/dist/{chunk-QEH375MU.cjs → chunk-PD47L6KS.cjs} +4 -4
- package/dist/{chunk-QEH375MU.cjs.map → chunk-PD47L6KS.cjs.map} +1 -1
- package/dist/{chunk-Y2Z5UHHV.cjs → chunk-PTT5MZ7O.cjs} +8 -8
- package/dist/{chunk-Y2Z5UHHV.cjs.map → chunk-PTT5MZ7O.cjs.map} +1 -1
- package/dist/{chunk-TSAZWUPZ.cjs → chunk-Q7G2W5VQ.cjs} +4 -4
- package/dist/{chunk-TSAZWUPZ.cjs.map → chunk-Q7G2W5VQ.cjs.map} +1 -1
- package/dist/{chunk-RL2HI6NP.cjs → chunk-S3GVFAFB.cjs} +3 -3
- package/dist/{chunk-RL2HI6NP.cjs.map → chunk-S3GVFAFB.cjs.map} +1 -1
- package/dist/{chunk-OZJENXU3.cjs → chunk-U6JUIJTP.cjs} +9 -9
- package/dist/{chunk-OZJENXU3.cjs.map → chunk-U6JUIJTP.cjs.map} +1 -1
- package/dist/{chunk-2XOIULVN.cjs → chunk-V4B2GSC6.cjs} +29 -29
- package/dist/{chunk-2XOIULVN.cjs.map → chunk-V4B2GSC6.cjs.map} +1 -1
- package/dist/{chunk-TN3UP3CI.cjs → chunk-YHXJWYOF.cjs} +6 -6
- package/dist/{chunk-TN3UP3CI.cjs.map → chunk-YHXJWYOF.cjs.map} +1 -1
- package/dist/{chunk-74RUAGVD.cjs → chunk-YO7GDNEW.cjs} +5 -5
- package/dist/{chunk-74RUAGVD.cjs.map → chunk-YO7GDNEW.cjs.map} +1 -1
- package/dist/connect/docx.cjs +10 -10
- package/dist/connect/index.cjs +658 -655
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/viewer.cjs +8 -8
- package/dist/connection/files/page/ConnectedFilesPage.js +16 -13
- package/dist/connection/files/page/ConnectedFilesPage.js.map +2 -2
- package/dist/connection/pages/DocumentBlocks.js +1 -1
- package/dist/connection/pages/DocumentBlocks.js.map +2 -2
- package/dist/connection/pages/EditablePageGrid.js +44 -13
- package/dist/connection/pages/EditablePageGrid.js.map +2 -2
- package/dist/connection/storage/ConnectedWorkspaceTrash.d.ts +5 -4
- package/dist/connection/storage/ConnectedWorkspaceTrash.js +1 -1
- package/dist/connection/storage/ConnectedWorkspaceTrash.js.map +2 -2
- package/dist/embed/index.cjs +12 -12
- package/dist/facts/index.cjs +43 -43
- package/dist/files/FilesPage.d.ts +4 -1
- package/dist/files/FilesPage.js +1 -1
- package/dist/files/FilesPage.js.map +2 -2
- package/dist/files/SelectionBar.js +1 -1
- package/dist/files/SelectionBar.js.map +2 -2
- package/dist/files/index.cjs +229 -229
- package/dist/index.cjs +220 -220
- package/dist/pages/index.cjs +53 -28
- package/dist/pages/index.cjs.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/workflow-canvas/index.cjs +23 -23
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/src/blocks.css +18 -0
- package/dist/chunk-JCFXS336.cjs.map +0 -1
package/dist/connect/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkDCD4OHDF_cjs = require('../chunk-DCD4OHDF.cjs');
|
|
5
5
|
var chunkTD5V5BZ3_cjs = require('../chunk-TD5V5BZ3.cjs');
|
|
6
6
|
var chunk6OK7ESTL_cjs = require('../chunk-6OK7ESTL.cjs');
|
|
7
7
|
var chunkEG3DPKXM_cjs = require('../chunk-EG3DPKXM.cjs');
|
|
@@ -9,15 +9,15 @@ var chunk2XHJVYNY_cjs = require('../chunk-2XHJVYNY.cjs');
|
|
|
9
9
|
var chunk5GCCUXMT_cjs = require('../chunk-5GCCUXMT.cjs');
|
|
10
10
|
var chunkXYN3RP5W_cjs = require('../chunk-XYN3RP5W.cjs');
|
|
11
11
|
var chunkUJHQ4DA4_cjs = require('../chunk-UJHQ4DA4.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkV4B2GSC6_cjs = require('../chunk-V4B2GSC6.cjs');
|
|
13
13
|
var chunkW5QSKW7T_cjs = require('../chunk-W5QSKW7T.cjs');
|
|
14
14
|
var chunk32W2S6DE_cjs = require('../chunk-32W2S6DE.cjs');
|
|
15
15
|
var chunk6OPDKROP_cjs = require('../chunk-6OPDKROP.cjs');
|
|
16
|
-
var
|
|
16
|
+
var chunkPTT5MZ7O_cjs = require('../chunk-PTT5MZ7O.cjs');
|
|
17
17
|
var chunk6P4U63HO_cjs = require('../chunk-6P4U63HO.cjs');
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
18
|
+
var chunkFNBUFKHE_cjs = require('../chunk-FNBUFKHE.cjs');
|
|
19
|
+
var chunkM24FBUAP_cjs = require('../chunk-M24FBUAP.cjs');
|
|
20
|
+
var chunkYHXJWYOF_cjs = require('../chunk-YHXJWYOF.cjs');
|
|
21
21
|
var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
|
|
22
22
|
var chunkDSLMJ24E_cjs = require('../chunk-DSLMJ24E.cjs');
|
|
23
23
|
var chunkE5TPRRAW_cjs = require('../chunk-E5TPRRAW.cjs');
|
|
@@ -25,7 +25,7 @@ require('../chunk-UMMZNZV3.cjs');
|
|
|
25
25
|
require('../chunk-AEQT2QQX.cjs');
|
|
26
26
|
var chunkSFRKKPBB_cjs = require('../chunk-SFRKKPBB.cjs');
|
|
27
27
|
require('../chunk-XNW62J54.cjs');
|
|
28
|
-
var
|
|
28
|
+
var chunkYO7GDNEW_cjs = require('../chunk-YO7GDNEW.cjs');
|
|
29
29
|
require('../chunk-DWRUGOTQ.cjs');
|
|
30
30
|
require('../chunk-KD66CBYO.cjs');
|
|
31
31
|
var chunk7UPEFZCV_cjs = require('../chunk-7UPEFZCV.cjs');
|
|
@@ -36,17 +36,17 @@ var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
|
|
|
36
36
|
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
|
-
var
|
|
39
|
+
var chunkHGD4B7GO_cjs = require('../chunk-HGD4B7GO.cjs');
|
|
40
40
|
var chunkCYWOL2LS_cjs = require('../chunk-CYWOL2LS.cjs');
|
|
41
|
-
var
|
|
41
|
+
var chunkBNHFDXJI_cjs = require('../chunk-BNHFDXJI.cjs');
|
|
42
42
|
var chunkAHUEBRLX_cjs = require('../chunk-AHUEBRLX.cjs');
|
|
43
43
|
require('../chunk-HYUKPHCT.cjs');
|
|
44
44
|
var chunkDLGYR4JL_cjs = require('../chunk-DLGYR4JL.cjs');
|
|
45
45
|
require('../chunk-JWCVA4LC.cjs');
|
|
46
|
-
var
|
|
46
|
+
var chunk44M4FI2N_cjs = require('../chunk-44M4FI2N.cjs');
|
|
47
47
|
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
48
48
|
var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
|
|
49
|
-
var
|
|
49
|
+
var chunkK7GBHLLY_cjs = require('../chunk-K7GBHLLY.cjs');
|
|
50
50
|
var chunk4ONPEVTP_cjs = require('../chunk-4ONPEVTP.cjs');
|
|
51
51
|
require('../chunk-V3KLUWQQ.cjs');
|
|
52
52
|
var chunk5GBM7BQB_cjs = require('../chunk-5GBM7BQB.cjs');
|
|
@@ -62,7 +62,7 @@ require('../chunk-OUYBYZ7Y.cjs');
|
|
|
62
62
|
var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
|
|
63
63
|
require('../chunk-DTMBAFIL.cjs');
|
|
64
64
|
require('../chunk-7NJKDJVO.cjs');
|
|
65
|
-
var
|
|
65
|
+
var chunkHJHDKS4V_cjs = require('../chunk-HJHDKS4V.cjs');
|
|
66
66
|
var chunkNX56DIG3_cjs = require('../chunk-NX56DIG3.cjs');
|
|
67
67
|
var chunkU4YOVI5D_cjs = require('../chunk-U4YOVI5D.cjs');
|
|
68
68
|
require('../chunk-NEGFHF3V.cjs');
|
|
@@ -96,7 +96,7 @@ var chunk2P7VH2SK_cjs = require('../chunk-2P7VH2SK.cjs');
|
|
|
96
96
|
var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
|
|
97
97
|
require('../chunk-OEJQFPWO.cjs');
|
|
98
98
|
require('../chunk-BQOL4XNZ.cjs');
|
|
99
|
-
var
|
|
99
|
+
var chunkU6JUIJTP_cjs = require('../chunk-U6JUIJTP.cjs');
|
|
100
100
|
var chunkCYN66TBO_cjs = require('../chunk-CYN66TBO.cjs');
|
|
101
101
|
var chunkJARBYN6Z_cjs = require('../chunk-JARBYN6Z.cjs');
|
|
102
102
|
require('../chunk-I4IS6ST6.cjs');
|
|
@@ -106,12 +106,12 @@ require('../chunk-EVZH6Z5O.cjs');
|
|
|
106
106
|
var chunkOYXWQTHF_cjs = require('../chunk-OYXWQTHF.cjs');
|
|
107
107
|
require('../chunk-S237ORM3.cjs');
|
|
108
108
|
require('../chunk-II2OEXHW.cjs');
|
|
109
|
-
require('../chunk-
|
|
109
|
+
require('../chunk-4I4IYVC6.cjs');
|
|
110
110
|
require('../chunk-3YEXZX4H.cjs');
|
|
111
111
|
var chunk4PA6VCCR_cjs = require('../chunk-4PA6VCCR.cjs');
|
|
112
112
|
require('../chunk-G3MRW4WB.cjs');
|
|
113
113
|
require('../chunk-AHDJXIUB.cjs');
|
|
114
|
-
var
|
|
114
|
+
var chunkS3GVFAFB_cjs = require('../chunk-S3GVFAFB.cjs');
|
|
115
115
|
var chunk6UZC4XVV_cjs = require('../chunk-6UZC4XVV.cjs');
|
|
116
116
|
var chunkSLCH5JRI_cjs = require('../chunk-SLCH5JRI.cjs');
|
|
117
117
|
var chunkDKY67DA6_cjs = require('../chunk-DKY67DA6.cjs');
|
|
@@ -276,7 +276,7 @@ function ConnectedWorkspaceActivity({
|
|
|
276
276
|
[feed.data]
|
|
277
277
|
);
|
|
278
278
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
279
|
-
|
|
279
|
+
chunkHJHDKS4V_cjs.WorkspaceActivityList,
|
|
280
280
|
{
|
|
281
281
|
...listProps,
|
|
282
282
|
items,
|
|
@@ -335,7 +335,7 @@ async function joinEvent({ arbi, environment }, eventId, recurrenceId) {
|
|
|
335
335
|
const event = await arbi.calendar.getEvent(eventId, recurrenceId);
|
|
336
336
|
const url = event.conference?.url;
|
|
337
337
|
if (url && /^https?:\/\//i.test(url)) {
|
|
338
|
-
await
|
|
338
|
+
await chunkYO7GDNEW_cjs.joinEventMeeting(arbi, url);
|
|
339
339
|
return;
|
|
340
340
|
}
|
|
341
341
|
} catch {
|
|
@@ -944,8 +944,8 @@ function NotificationCenter({
|
|
|
944
944
|
}
|
|
945
945
|
}
|
|
946
946
|
) }),
|
|
947
|
-
filtered.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
948
|
-
|
|
947
|
+
filtered.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkS3GVFAFB_cjs.SelectionBar, { count: selected.length, onClear: () => setSelected([]), children: (isCompact) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
948
|
+
chunkS3GVFAFB_cjs.SelectionBarAction,
|
|
949
949
|
{
|
|
950
950
|
icon: lucideReact.Trash2,
|
|
951
951
|
label: "Delete",
|
|
@@ -1067,7 +1067,7 @@ function ConnectedNotificationCenter({ headerRight }) {
|
|
|
1067
1067
|
renderWorkspace: (workspaceId) => {
|
|
1068
1068
|
const workspace = byId.get(workspaceId);
|
|
1069
1069
|
return workspace ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1070
|
-
|
|
1070
|
+
chunkYO7GDNEW_cjs.ConnectedWorkspaceEntity,
|
|
1071
1071
|
{
|
|
1072
1072
|
workspace,
|
|
1073
1073
|
size: 16,
|
|
@@ -1196,14 +1196,14 @@ function ConnectedOfflineStatus({ compact = false }) {
|
|
|
1196
1196
|
const openOutbox = () => openMail?.(outbox.length > 0 ? { folder: outboxFolder } : void 0);
|
|
1197
1197
|
let tone;
|
|
1198
1198
|
let label;
|
|
1199
|
-
let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox :
|
|
1199
|
+
let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunkBNHFDXJI_cjs.openPendingSyncDialog;
|
|
1200
1200
|
if (!isOnline) {
|
|
1201
1201
|
tone = "offline";
|
|
1202
1202
|
label = waiting > 0 ? `Offline \xB7 ${waiting} pending` : "Offline";
|
|
1203
1203
|
} else if (failed > 0) {
|
|
1204
1204
|
tone = "failed";
|
|
1205
1205
|
label = `${plural(failed, "change", "changes")} didn\u2019t sync`;
|
|
1206
|
-
onOpen =
|
|
1206
|
+
onOpen = chunkBNHFDXJI_cjs.openPendingSyncDialog;
|
|
1207
1207
|
} else if (outboxFailed > 0) {
|
|
1208
1208
|
tone = "failed";
|
|
1209
1209
|
label = `${plural(outboxFailed, "email", "emails")} not sent`;
|
|
@@ -1335,7 +1335,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1335
1335
|
onChange: (e) => {
|
|
1336
1336
|
const file = e.target.files?.[0];
|
|
1337
1337
|
e.target.value = "";
|
|
1338
|
-
if (file) void add(() =>
|
|
1338
|
+
if (file) void add(() => chunkU6JUIJTP_cjs.importSkillFile(file));
|
|
1339
1339
|
}
|
|
1340
1340
|
}
|
|
1341
1341
|
),
|
|
@@ -1360,7 +1360,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1360
1360
|
className: "space-y-2",
|
|
1361
1361
|
onSubmit: (e) => {
|
|
1362
1362
|
e.preventDefault();
|
|
1363
|
-
if (url.trim()) void add(() =>
|
|
1363
|
+
if (url.trim()) void add(() => chunkU6JUIJTP_cjs.importSkillFromUrl(url));
|
|
1364
1364
|
},
|
|
1365
1365
|
children: [
|
|
1366
1366
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
|
|
@@ -1428,9 +1428,9 @@ function ConnectedSkillsLibrary({
|
|
|
1428
1428
|
const [type, setType] = react.useState("all");
|
|
1429
1429
|
const [view, setView] = react.useState("gallery");
|
|
1430
1430
|
const [isBusy, setIsBusy] = react.useState(false);
|
|
1431
|
-
const all = react.useMemo(() =>
|
|
1431
|
+
const all = react.useMemo(() => chunkU6JUIJTP_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
|
|
1432
1432
|
const shown = react.useMemo(
|
|
1433
|
-
() =>
|
|
1433
|
+
() => chunkU6JUIJTP_cjs.filterLibrarySkills(all, { query, source, type }),
|
|
1434
1434
|
[all, query, source, type]
|
|
1435
1435
|
);
|
|
1436
1436
|
const current = all.find((s) => s.slug === selected) ?? null;
|
|
@@ -1441,21 +1441,21 @@ function ConnectedSkillsLibrary({
|
|
|
1441
1441
|
const count2 = (s) => all.filter((x) => x.source === s).length;
|
|
1442
1442
|
const sourceOptions = [
|
|
1443
1443
|
{ id: "all", label: "All", count: all.length },
|
|
1444
|
-
{ id: "builtin", label:
|
|
1445
|
-
{ id: "mine", label:
|
|
1446
|
-
{ id: "shared", label:
|
|
1444
|
+
{ id: "builtin", label: chunkU6JUIJTP_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
|
|
1445
|
+
{ id: "mine", label: chunkU6JUIJTP_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
|
|
1446
|
+
{ id: "shared", label: chunkU6JUIJTP_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
|
|
1447
1447
|
];
|
|
1448
1448
|
const types = [...new Set(all.map((s) => s.type))];
|
|
1449
1449
|
const typeOptions = [
|
|
1450
1450
|
{ id: "all", label: "Any kind" },
|
|
1451
|
-
...types.map((t) => ({ id: t, label:
|
|
1451
|
+
...types.map((t) => ({ id: t, label: chunkU6JUIJTP_cjs.SKILL_TYPE_LABELS[t] ?? t }))
|
|
1452
1452
|
];
|
|
1453
1453
|
const pick = (slug) => {
|
|
1454
1454
|
setSelected(slug);
|
|
1455
1455
|
setMode("detail");
|
|
1456
1456
|
};
|
|
1457
1457
|
const markdownOf = async (skill) => {
|
|
1458
|
-
if (!skill.docExtId) return
|
|
1458
|
+
if (!skill.docExtId) return chunkU6JUIJTP_cjs.workflowToSkillMarkdown(skill.workflow);
|
|
1459
1459
|
const response = await arbi.documents.download(skill.docExtId);
|
|
1460
1460
|
if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
|
|
1461
1461
|
return response.text();
|
|
@@ -1519,7 +1519,7 @@ function ConnectedSkillsLibrary({
|
|
|
1519
1519
|
try {
|
|
1520
1520
|
documentTools.downloadBlob(
|
|
1521
1521
|
new Blob([await markdownOf(skill)], { type: "text/markdown" }),
|
|
1522
|
-
|
|
1522
|
+
chunkU6JUIJTP_cjs.SKILL_MAIN_FILENAME
|
|
1523
1523
|
);
|
|
1524
1524
|
} catch (error) {
|
|
1525
1525
|
notify19(errorText(error, "Could not export the skill"), "error");
|
|
@@ -1560,10 +1560,10 @@ function ConnectedSkillsLibrary({
|
|
|
1560
1560
|
}
|
|
1561
1561
|
)
|
|
1562
1562
|
] }),
|
|
1563
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1563
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.SkillViewToggle, { value: view, onChange: setView })
|
|
1564
1564
|
] }),
|
|
1565
1565
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1566
|
-
|
|
1566
|
+
chunkU6JUIJTP_cjs.SkillFilterChips,
|
|
1567
1567
|
{
|
|
1568
1568
|
label: "Show",
|
|
1569
1569
|
value: source,
|
|
@@ -1572,7 +1572,7 @@ function ConnectedSkillsLibrary({
|
|
|
1572
1572
|
}
|
|
1573
1573
|
),
|
|
1574
1574
|
types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1575
|
-
|
|
1575
|
+
chunkU6JUIJTP_cjs.SkillFilterChips,
|
|
1576
1576
|
{
|
|
1577
1577
|
label: "Kind",
|
|
1578
1578
|
value: type,
|
|
@@ -1619,12 +1619,12 @@ function ConnectedSkillsLibrary({
|
|
|
1619
1619
|
view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
|
|
1620
1620
|
),
|
|
1621
1621
|
children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1622
|
-
|
|
1622
|
+
chunkU6JUIJTP_cjs.SkillTile,
|
|
1623
1623
|
{
|
|
1624
1624
|
name: skill.title,
|
|
1625
1625
|
testId: `skill-tile-${skill.slug}`,
|
|
1626
1626
|
description: skill.description,
|
|
1627
|
-
sourceLabel: skill.isShared ? `${
|
|
1627
|
+
sourceLabel: skill.isShared ? `${chunkU6JUIJTP_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkU6JUIJTP_cjs.SKILL_SOURCE_LABELS[skill.source],
|
|
1628
1628
|
type: skill.type,
|
|
1629
1629
|
icon,
|
|
1630
1630
|
layout: view,
|
|
@@ -1659,7 +1659,7 @@ function ConnectedSkillsLibrary({
|
|
|
1659
1659
|
}
|
|
1660
1660
|
),
|
|
1661
1661
|
mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1662
|
-
|
|
1662
|
+
chunkU6JUIJTP_cjs.SkillGenerateForm,
|
|
1663
1663
|
{
|
|
1664
1664
|
icon,
|
|
1665
1665
|
onGenerate: (desc) => {
|
|
@@ -1686,11 +1686,11 @@ function ConnectedSkillsLibrary({
|
|
|
1686
1686
|
),
|
|
1687
1687
|
mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
|
|
1688
1688
|
mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1689
|
-
|
|
1689
|
+
chunkU6JUIJTP_cjs.SkillLibraryDetail,
|
|
1690
1690
|
{
|
|
1691
1691
|
skill: current,
|
|
1692
1692
|
icon,
|
|
1693
|
-
instructions: current.docExtId ? currentText ?
|
|
1693
|
+
instructions: current.docExtId ? currentText ? chunkU6JUIJTP_cjs.parseSkillFrontmatter(currentText, chunkU6JUIJTP_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
|
|
1694
1694
|
isLoading: !!current.docExtId && textLoading,
|
|
1695
1695
|
actions: {
|
|
1696
1696
|
onRun: () => onRun(current.slug),
|
|
@@ -1725,7 +1725,7 @@ function SkillEditor({
|
|
|
1725
1725
|
const [seeded, setSeeded] = react.useState(!isEditing);
|
|
1726
1726
|
const [nameError, setNameError] = react.useState(null);
|
|
1727
1727
|
if (isEditing && !seeded && text !== void 0) {
|
|
1728
|
-
const parsed =
|
|
1728
|
+
const parsed = chunkU6JUIJTP_cjs.parseSkillFrontmatter(text, chunkU6JUIJTP_cjs.SKILL_MAIN_FILENAME);
|
|
1729
1729
|
setDescription(parsed.description ?? "");
|
|
1730
1730
|
setBody(parsed.content ?? "");
|
|
1731
1731
|
setSeeded(true);
|
|
@@ -1739,15 +1739,15 @@ function SkillEditor({
|
|
|
1739
1739
|
notify19("Add a short description.", "error");
|
|
1740
1740
|
return;
|
|
1741
1741
|
}
|
|
1742
|
-
const slug =
|
|
1742
|
+
const slug = chunkU6JUIJTP_cjs.skillSlug(name);
|
|
1743
1743
|
try {
|
|
1744
|
-
await onSave(slug,
|
|
1744
|
+
await onSave(slug, chunkU6JUIJTP_cjs.serializeSkill({ name: slug, description, body }), isEditing);
|
|
1745
1745
|
} catch (err) {
|
|
1746
1746
|
notify19(errorText(err, "Could not save the skill"), "error");
|
|
1747
1747
|
}
|
|
1748
1748
|
};
|
|
1749
1749
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1750
|
-
|
|
1750
|
+
chunkU6JUIJTP_cjs.SkillEditForm,
|
|
1751
1751
|
{
|
|
1752
1752
|
name,
|
|
1753
1753
|
onNameChange: setName,
|
|
@@ -1840,7 +1840,7 @@ function ConnectedSkillsBrowser({
|
|
|
1840
1840
|
}
|
|
1841
1841
|
) }),
|
|
1842
1842
|
runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1843
|
-
|
|
1843
|
+
chunkV4B2GSC6_cjs.ConnectedTaskComposer,
|
|
1844
1844
|
{
|
|
1845
1845
|
kind: "workflow",
|
|
1846
1846
|
open: true,
|
|
@@ -1864,9 +1864,9 @@ function ConnectedAgentCreator({
|
|
|
1864
1864
|
agent,
|
|
1865
1865
|
initialName,
|
|
1866
1866
|
onSaved,
|
|
1867
|
-
capabilities =
|
|
1868
|
-
templates =
|
|
1869
|
-
types =
|
|
1867
|
+
capabilities = chunkU6JUIJTP_cjs.DEFAULT_AGENT_CAPABILITIES,
|
|
1868
|
+
templates = chunkU6JUIJTP_cjs.DEFAULT_AGENT_TEMPLATES,
|
|
1869
|
+
types = chunkU6JUIJTP_cjs.DEFAULT_AGENT_TYPES,
|
|
1870
1870
|
canRevokeWorkspaces = false,
|
|
1871
1871
|
labels
|
|
1872
1872
|
}) {
|
|
@@ -1908,7 +1908,7 @@ function ConnectedAgentCreator({
|
|
|
1908
1908
|
const initialValues = react.useMemo(
|
|
1909
1909
|
() => ({
|
|
1910
1910
|
name: agent?.given_name ?? initialName ?? "",
|
|
1911
|
-
persona: isEdit ?
|
|
1911
|
+
persona: isEdit ? chunkU6JUIJTP_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
|
|
1912
1912
|
modelName: String(agents.AGENT_MODEL_NAME ?? ""),
|
|
1913
1913
|
capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
|
|
1914
1914
|
type: "builtin",
|
|
@@ -1927,7 +1927,7 @@ function ConnectedAgentCreator({
|
|
|
1927
1927
|
try {
|
|
1928
1928
|
let agentExtId = agent?.external_id ?? early?.id ?? "";
|
|
1929
1929
|
if (!agentExtId) {
|
|
1930
|
-
if (!
|
|
1930
|
+
if (!chunkU6JUIJTP_cjs.isValidAgentName(values.name)) {
|
|
1931
1931
|
notify19("Give the agent a name first.", "error");
|
|
1932
1932
|
return;
|
|
1933
1933
|
}
|
|
@@ -1963,7 +1963,7 @@ function ConnectedAgentCreator({
|
|
|
1963
1963
|
title: `agent-${name}`,
|
|
1964
1964
|
sections: {
|
|
1965
1965
|
Agents: {
|
|
1966
|
-
PERSONA:
|
|
1966
|
+
PERSONA: chunkU6JUIJTP_cjs.composePersona(name, values.persona),
|
|
1967
1967
|
...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
|
|
1968
1968
|
...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
|
|
1969
1969
|
ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
|
|
@@ -1986,7 +1986,7 @@ function ConnectedAgentCreator({
|
|
|
1986
1986
|
};
|
|
1987
1987
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1988
1988
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1989
|
-
|
|
1989
|
+
chunkU6JUIJTP_cjs.AgentCreator,
|
|
1990
1990
|
{
|
|
1991
1991
|
open: ready,
|
|
1992
1992
|
onOpenChange,
|
|
@@ -2002,11 +2002,11 @@ function ConnectedAgentCreator({
|
|
|
2002
2002
|
) : void 0,
|
|
2003
2003
|
revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
|
|
2004
2004
|
avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2005
|
-
|
|
2005
|
+
chunkU6JUIJTP_cjs.AgentAvatarField,
|
|
2006
2006
|
{
|
|
2007
2007
|
picture,
|
|
2008
2008
|
isBusy: avatarBusy,
|
|
2009
|
-
canGenerate: isEdit ||
|
|
2009
|
+
canGenerate: isEdit || chunkU6JUIJTP_cjs.isValidAgentName(values.name),
|
|
2010
2010
|
onGenerate: () => handleGenerateAvatar(values)
|
|
2011
2011
|
}
|
|
2012
2012
|
),
|
|
@@ -2058,7 +2058,7 @@ function ConnectedAgentCreator({
|
|
|
2058
2058
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
|
|
2059
2059
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
|
|
2060
2060
|
] }),
|
|
2061
|
-
connect && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2061
|
+
connect && /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
|
|
2062
2062
|
]
|
|
2063
2063
|
}
|
|
2064
2064
|
) })
|
|
@@ -2450,7 +2450,7 @@ function useMemoryCount(enabled) {
|
|
|
2450
2450
|
}
|
|
2451
2451
|
function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
2452
2452
|
const { notify: notify19, confirm, openConversation, openDocument } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
2453
|
-
const people =
|
|
2453
|
+
const people = chunkV4B2GSC6_cjs.useTaskPeople();
|
|
2454
2454
|
const canEditShared = react$1.useCanEditShared();
|
|
2455
2455
|
const isWorkspaceOwner = react$1.useIsWorkspaceOwner();
|
|
2456
2456
|
const { data: workflows = [] } = react$1.useWorkflows({ live: true });
|
|
@@ -2476,7 +2476,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2476
2476
|
}, [documents]);
|
|
2477
2477
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2478
2478
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2479
|
-
|
|
2479
|
+
chunkU6JUIJTP_cjs.TaskTable,
|
|
2480
2480
|
{
|
|
2481
2481
|
tasks,
|
|
2482
2482
|
isLoading,
|
|
@@ -2506,7 +2506,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2506
2506
|
}
|
|
2507
2507
|
),
|
|
2508
2508
|
activityFor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2509
|
-
|
|
2509
|
+
chunkV4B2GSC6_cjs.ConnectedTaskActivityDialog,
|
|
2510
2510
|
{
|
|
2511
2511
|
conversationId: activityFor.external_id,
|
|
2512
2512
|
taskName: activityFor.title || l.untitledTask,
|
|
@@ -2545,7 +2545,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
|
|
|
2545
2545
|
[workflows, skills, l.skillFiles]
|
|
2546
2546
|
);
|
|
2547
2547
|
const launch = async ({ workflow, inputs, agentId }) => {
|
|
2548
|
-
const values =
|
|
2548
|
+
const values = chunkU6JUIJTP_cjs.defaultTaskComposerValues(launchable, {
|
|
2549
2549
|
workflowId: workflow.id,
|
|
2550
2550
|
assignee: "agent",
|
|
2551
2551
|
inputs,
|
|
@@ -2665,7 +2665,7 @@ function ConnectedAgentsPageScope(props) {
|
|
|
2665
2665
|
children,
|
|
2666
2666
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
|
|
2667
2667
|
taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2668
|
-
|
|
2668
|
+
chunkV4B2GSC6_cjs.ConnectedTaskComposer,
|
|
2669
2669
|
{
|
|
2670
2670
|
open: true,
|
|
2671
2671
|
onOpenChange: (open) => !open && setTaskDialog(null),
|
|
@@ -2687,7 +2687,7 @@ function AgentsGallery() {
|
|
|
2687
2687
|
cardTestIds
|
|
2688
2688
|
} = agentOptions;
|
|
2689
2689
|
const { openConversation } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
2690
|
-
const tasksByAgent = react.useMemo(() =>
|
|
2690
|
+
const tasksByAgent = react.useMemo(() => chunkU6JUIJTP_cjs.groupAgentTasks(tasks), [tasks]);
|
|
2691
2691
|
const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
|
|
2692
2692
|
const { agents } = management;
|
|
2693
2693
|
const cardDetails = (agent) => details.map(
|
|
@@ -2702,7 +2702,7 @@ function AgentsGallery() {
|
|
|
2702
2702
|
) : 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)
|
|
2703
2703
|
);
|
|
2704
2704
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2705
|
-
|
|
2705
|
+
chunkU6JUIJTP_cjs.AgentGallery,
|
|
2706
2706
|
{
|
|
2707
2707
|
count: agents.length,
|
|
2708
2708
|
onCreate: management.create,
|
|
@@ -2714,7 +2714,7 @@ function AgentsGallery() {
|
|
|
2714
2714
|
const watchConversationId = running[0]?.external_id ?? null;
|
|
2715
2715
|
const progress = agentTasks[0] ? chunkBH322H5B_cjs.goalProgress(agentTasks[0]) : null;
|
|
2716
2716
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2717
|
-
|
|
2717
|
+
chunkU6JUIJTP_cjs.AgentCard,
|
|
2718
2718
|
{
|
|
2719
2719
|
name: displayName(agent),
|
|
2720
2720
|
avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
|
|
@@ -2822,7 +2822,7 @@ function AgentsSectionBody({ id }) {
|
|
|
2822
2822
|
) });
|
|
2823
2823
|
case "scheduled":
|
|
2824
2824
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[min(32rem,70dvh)] min-h-64 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2825
|
-
|
|
2825
|
+
chunkK7GBHLLY_cjs.ConnectedWorkflowsTable,
|
|
2826
2826
|
{
|
|
2827
2827
|
filter: "scheduled",
|
|
2828
2828
|
onEdit: (w) => openWorkflow?.(w.external_id),
|
|
@@ -3126,7 +3126,7 @@ function ConnectedTagTable({
|
|
|
3126
3126
|
const fail2 = (fallback) => (e) => notify19(browser.refusalReason(e, fallback), "error");
|
|
3127
3127
|
const snapshot2 = (data) => {
|
|
3128
3128
|
const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
|
|
3129
|
-
const bytes =
|
|
3129
|
+
const bytes = chunkHJHDKS4V_cjs.tagTableDocx(data, {
|
|
3130
3130
|
title,
|
|
3131
3131
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
3132
3132
|
});
|
|
@@ -3135,7 +3135,7 @@ function ConnectedTagTable({
|
|
|
3135
3135
|
return { blob: new Blob([bytes], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }), name };
|
|
3136
3136
|
};
|
|
3137
3137
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3138
|
-
|
|
3138
|
+
chunkHJHDKS4V_cjs.TagTable,
|
|
3139
3139
|
{
|
|
3140
3140
|
...props,
|
|
3141
3141
|
table,
|
|
@@ -3973,8 +3973,8 @@ function ConnectedAiReview({
|
|
|
3973
3973
|
const generate = react$1.useGenerateDocTags();
|
|
3974
3974
|
const { data: liveDocs = [] } = react$1.useDocuments();
|
|
3975
3975
|
const { data: tags = [] } = react$1.useTags();
|
|
3976
|
-
const result =
|
|
3977
|
-
const setResult =
|
|
3976
|
+
const result = chunkHGD4B7GO_cjs.useAiReviewStore((s) => s.run);
|
|
3977
|
+
const setResult = chunkHGD4B7GO_cjs.useAiReviewStore((s) => s.setRun);
|
|
3978
3978
|
const phase = result ? "review" : "ask";
|
|
3979
3979
|
const docCount = documents.length;
|
|
3980
3980
|
const scope = allDocuments ? "processed" : "selected";
|
|
@@ -4209,7 +4209,7 @@ function ConnectedAiReview({
|
|
|
4209
4209
|
}, [kind]);
|
|
4210
4210
|
const description = phase === "ask" ? assistant.reviewEach(docCount, scope) : aiCellsTotal > 0 ? reviewProgress(aiCellsDone, aiCellsEmpty, aiCellsTotal) : `Applied to ${rows.length} document${plural2(rows.length)}`;
|
|
4211
4211
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4212
|
-
|
|
4212
|
+
chunk44M4FI2N_cjs.AiReviewDialogView,
|
|
4213
4213
|
{
|
|
4214
4214
|
open,
|
|
4215
4215
|
onOpenChange: handleOpenChange,
|
|
@@ -4260,9 +4260,9 @@ function GlossaryExport({ labelId, nameOf }) {
|
|
|
4260
4260
|
const narrowed = agreements.find((a) => a.id === narrowTo);
|
|
4261
4261
|
const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
|
|
4262
4262
|
const download = (format) => {
|
|
4263
|
-
const entries =
|
|
4264
|
-
const blob = format === "docx" ? new Blob([
|
|
4265
|
-
documentTools.downloadBlob(blob,
|
|
4263
|
+
const entries = chunkHJHDKS4V_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
|
|
4264
|
+
const blob = format === "docx" ? new Blob([chunkHJHDKS4V_cjs.glossaryDocx(entries, { title })], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }) : new Blob([chunkHJHDKS4V_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
|
|
4265
|
+
documentTools.downloadBlob(blob, chunkHJHDKS4V_cjs.glossaryFileName(title, format));
|
|
4266
4266
|
};
|
|
4267
4267
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
|
|
4268
4268
|
agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -4326,8 +4326,8 @@ function useOpenTaggedContent() {
|
|
|
4326
4326
|
if (!workspaceId) return;
|
|
4327
4327
|
session.setTransientView("topbar.filter", "");
|
|
4328
4328
|
if (kind === "documents") {
|
|
4329
|
-
|
|
4330
|
-
|
|
4329
|
+
chunkHGD4B7GO_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
|
|
4330
|
+
chunkHGD4B7GO_cjs.useFilesPrefs.getState().setViewMode("grid");
|
|
4331
4331
|
session.setPage("documents");
|
|
4332
4332
|
} else if (kind === "facts") {
|
|
4333
4333
|
session.setViewFilter(FACTS_FILTER_KEY, { [tagId]: "include" });
|
|
@@ -4366,7 +4366,7 @@ function ConnectedTagForm({
|
|
|
4366
4366
|
nameByKind = false
|
|
4367
4367
|
}) {
|
|
4368
4368
|
const isCreate = !tag;
|
|
4369
|
-
const memberById =
|
|
4369
|
+
const memberById = chunkDCD4OHDF_cjs.useMemberLookup();
|
|
4370
4370
|
const creator = memberById(tag?.created_by_ext_id);
|
|
4371
4371
|
const updater = memberById(tag?.updated_by_ext_id);
|
|
4372
4372
|
const fieldLabel = ui.getEntityLabel("TAG", "SINGULAR");
|
|
@@ -4445,19 +4445,19 @@ function ConnectedTagForm({
|
|
|
4445
4445
|
metaLines.push({
|
|
4446
4446
|
text: `Created ${ui.formatFriendlyDate(tag.created_at)}`,
|
|
4447
4447
|
byLabel: "by",
|
|
4448
|
-
by: creator ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4448
|
+
by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkM24FBUAP_cjs.DocumentUser, { user: creator }) : void 0
|
|
4449
4449
|
});
|
|
4450
4450
|
if (tag.updated_at && tag.updated_at !== tag.created_at) {
|
|
4451
4451
|
metaLines.push({
|
|
4452
4452
|
text: `Updated ${ui.formatFriendlyDate(tag.updated_at)}`,
|
|
4453
4453
|
byLabel: "by",
|
|
4454
|
-
by: updater ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4454
|
+
by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkM24FBUAP_cjs.DocumentUser, { user: updater }) : void 0
|
|
4455
4455
|
});
|
|
4456
4456
|
}
|
|
4457
4457
|
}
|
|
4458
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4458
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.TagFormRoot, { children: [
|
|
4459
4459
|
!nameOnRow && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4460
|
-
|
|
4460
|
+
chunk44M4FI2N_cjs.TagFormNameField,
|
|
4461
4461
|
{
|
|
4462
4462
|
label: group || nameByKind ? `${ui.tagKindTitle(kind)} Name` : `${columnLabel} Name`,
|
|
4463
4463
|
placeholder: `Enter ${kindNoun ?? columnLabel.toLowerCase()} name...`,
|
|
@@ -4467,7 +4467,7 @@ function ConnectedTagForm({
|
|
|
4467
4467
|
}
|
|
4468
4468
|
),
|
|
4469
4469
|
kinds2.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4470
|
-
|
|
4470
|
+
chunk44M4FI2N_cjs.TagFormSelectField,
|
|
4471
4471
|
{
|
|
4472
4472
|
label: "Kind",
|
|
4473
4473
|
testId: "inline-tag-form-kind-field",
|
|
@@ -4482,7 +4482,7 @@ function ConnectedTagForm({
|
|
|
4482
4482
|
}
|
|
4483
4483
|
),
|
|
4484
4484
|
kind === "annotation" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4485
|
-
|
|
4485
|
+
chunk44M4FI2N_cjs.TagFormSelectField,
|
|
4486
4486
|
{
|
|
4487
4487
|
label: group === "annotation" ? "Value type" : "Field Type",
|
|
4488
4488
|
testId: "inline-tag-form-type-field",
|
|
@@ -4494,7 +4494,7 @@ function ConnectedTagForm({
|
|
|
4494
4494
|
}
|
|
4495
4495
|
),
|
|
4496
4496
|
showParentPicker && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4497
|
-
|
|
4497
|
+
chunk44M4FI2N_cjs.TagFormSelectField,
|
|
4498
4498
|
{
|
|
4499
4499
|
label: "Nested Under",
|
|
4500
4500
|
value: parentId,
|
|
@@ -4516,14 +4516,14 @@ function ConnectedTagForm({
|
|
|
4516
4516
|
]
|
|
4517
4517
|
}
|
|
4518
4518
|
),
|
|
4519
|
-
nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4519
|
+
nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
|
|
4520
4520
|
"Other fields are nested under this one, so it cannot itself be nested \u2014 fields nest",
|
|
4521
4521
|
" ",
|
|
4522
4522
|
browser.TAG_NESTING_MAX_DEPTH,
|
|
4523
4523
|
" levels deep."
|
|
4524
4524
|
] }),
|
|
4525
4525
|
tagType === "select" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4526
|
-
|
|
4526
|
+
chunk44M4FI2N_cjs.TagFormOptionsEditor,
|
|
4527
4527
|
{
|
|
4528
4528
|
label: "Options",
|
|
4529
4529
|
options,
|
|
@@ -4536,7 +4536,7 @@ function ConnectedTagForm({
|
|
|
4536
4536
|
}
|
|
4537
4537
|
),
|
|
4538
4538
|
tagType === "text" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4539
|
-
|
|
4539
|
+
chunk44M4FI2N_cjs.TagFormInstructionField,
|
|
4540
4540
|
{
|
|
4541
4541
|
label: "AI Instruction",
|
|
4542
4542
|
optionalLabel: "(optional)",
|
|
@@ -4546,12 +4546,12 @@ function ConnectedTagForm({
|
|
|
4546
4546
|
onChange: setInstruction
|
|
4547
4547
|
}
|
|
4548
4548
|
),
|
|
4549
|
-
metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4549
|
+
metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.TagFormMeta, { lines: metaLines }),
|
|
4550
4550
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4551
|
-
|
|
4551
|
+
chunk44M4FI2N_cjs.TagFormFooter,
|
|
4552
4552
|
{
|
|
4553
4553
|
sharedToggle: isCreate || !group ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4554
|
-
|
|
4554
|
+
chunk44M4FI2N_cjs.TagFormSharedToggle,
|
|
4555
4555
|
{
|
|
4556
4556
|
label: "Shared with workspace",
|
|
4557
4557
|
toggle: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4791,7 +4791,7 @@ function KindSection({
|
|
|
4791
4791
|
{
|
|
4792
4792
|
testId: `tags-kind-${kind}`,
|
|
4793
4793
|
title: ui.tagKindTitle(kind, { plural: true }),
|
|
4794
|
-
description:
|
|
4794
|
+
description: chunkHJHDKS4V_cjs.tagKindDescription(kind),
|
|
4795
4795
|
children: [
|
|
4796
4796
|
browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4797
4797
|
"p",
|
|
@@ -4801,9 +4801,9 @@ function KindSection({
|
|
|
4801
4801
|
children: [
|
|
4802
4802
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
|
|
4803
4803
|
"Extracting ",
|
|
4804
|
-
|
|
4804
|
+
chunkHJHDKS4V_cjs.entitiesPhrase().toLowerCase(),
|
|
4805
4805
|
" from ",
|
|
4806
|
-
|
|
4806
|
+
chunkHJHDKS4V_cjs.documentCount(extractingCount),
|
|
4807
4807
|
"\u2026"
|
|
4808
4808
|
]
|
|
4809
4809
|
}
|
|
@@ -4821,7 +4821,7 @@ function KindSection({
|
|
|
4821
4821
|
onOpenTag: ctx.onOpenTag,
|
|
4822
4822
|
onOpenRow: ctx.onOpenTag,
|
|
4823
4823
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4824
|
-
labels:
|
|
4824
|
+
labels: chunkHJHDKS4V_cjs.tagTableLabels(kind),
|
|
4825
4825
|
testId: `tags-table-${kind}`
|
|
4826
4826
|
}
|
|
4827
4827
|
)
|
|
@@ -4929,15 +4929,15 @@ function TagSection({
|
|
|
4929
4929
|
onOpenTag: ctx.onOpenTag,
|
|
4930
4930
|
onOpenRow: ctx.onOpenTag,
|
|
4931
4931
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4932
|
-
labels:
|
|
4932
|
+
labels: chunkHJHDKS4V_cjs.tagTableLabels(tag.kind),
|
|
4933
4933
|
testId: "tags-rows"
|
|
4934
4934
|
}
|
|
4935
4935
|
),
|
|
4936
4936
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4937
|
-
|
|
4937
|
+
chunkHJHDKS4V_cjs.TagDetail,
|
|
4938
4938
|
{
|
|
4939
4939
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4940
|
-
fieldLabels:
|
|
4940
|
+
fieldLabels: chunkHJHDKS4V_cjs.tagTableLabels(tag.kind),
|
|
4941
4941
|
row: detailRow,
|
|
4942
4942
|
fields: schema.data?.fields ?? [],
|
|
4943
4943
|
isLoading: detail.isLoading,
|
|
@@ -4951,7 +4951,7 @@ function TagSection({
|
|
|
4951
4951
|
throw e;
|
|
4952
4952
|
})
|
|
4953
4953
|
),
|
|
4954
|
-
labels:
|
|
4954
|
+
labels: chunkHJHDKS4V_cjs.tagDetailLabels(),
|
|
4955
4955
|
testId: "tags-detail"
|
|
4956
4956
|
}
|
|
4957
4957
|
)
|
|
@@ -4974,9 +4974,9 @@ var TAG_FILTER_FIELDS = [
|
|
|
4974
4974
|
function ConnectedTagsPage() {
|
|
4975
4975
|
const { confirm, notify: notify19, openSmartSearch } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
4976
4976
|
const onOpenTaggedItems = useOpenTaggedContent();
|
|
4977
|
-
const setReviewOpen =
|
|
4978
|
-
const setReviewRun =
|
|
4979
|
-
const reviewOpen =
|
|
4977
|
+
const setReviewOpen = chunkHGD4B7GO_cjs.useAiReviewStore((state) => state.setOpen);
|
|
4978
|
+
const setReviewRun = chunkHGD4B7GO_cjs.useAiReviewStore((state) => state.setRun);
|
|
4979
|
+
const reviewOpen = chunkHGD4B7GO_cjs.useAiReviewStore((state) => state.open);
|
|
4980
4980
|
const [review, setReview] = react.useState(null);
|
|
4981
4981
|
const { data: tags } = chunkDWN5AUMH_cjs.useConnectedTags();
|
|
4982
4982
|
const { data: documents } = chunkDWN5AUMH_cjs.useConnectedDocuments();
|
|
@@ -5026,7 +5026,7 @@ function ConnectedTagsPage() {
|
|
|
5026
5026
|
const onDelete = async (t) => {
|
|
5027
5027
|
const nested = browser.getChildTags([...tags], t.external_id);
|
|
5028
5028
|
const uses = browser.tagUseCount(t);
|
|
5029
|
-
const n2 =
|
|
5029
|
+
const n2 = chunkHJHDKS4V_cjs.tagsPageNouns();
|
|
5030
5030
|
const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
|
|
5031
5031
|
const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
|
|
5032
5032
|
const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
|
|
@@ -5047,11 +5047,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5047
5047
|
try {
|
|
5048
5048
|
await extract.mutateAsync(docIds);
|
|
5049
5049
|
notify19(
|
|
5050
|
-
`Extracting ${
|
|
5050
|
+
`Extracting ${chunkHJHDKS4V_cjs.entitiesPhrase().toLowerCase()} from ${chunkHJHDKS4V_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
|
|
5051
5051
|
"info"
|
|
5052
5052
|
);
|
|
5053
5053
|
} catch (error) {
|
|
5054
|
-
notify19(browser.refusalReason(error, `Could not extract ${
|
|
5054
|
+
notify19(browser.refusalReason(error, `Could not extract ${chunkHJHDKS4V_cjs.entitiesPhrase().toLowerCase()}`), "error");
|
|
5055
5055
|
throw error;
|
|
5056
5056
|
}
|
|
5057
5057
|
};
|
|
@@ -5065,10 +5065,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5065
5065
|
onOpenTag: openTag,
|
|
5066
5066
|
onOpenTaggedItems
|
|
5067
5067
|
};
|
|
5068
|
-
const n =
|
|
5068
|
+
const n = chunkHJHDKS4V_cjs.tagsPageNouns();
|
|
5069
5069
|
const action = view === "person" || view === "organisation" ? {
|
|
5070
5070
|
label: "Extract",
|
|
5071
|
-
title: `Extract ${
|
|
5071
|
+
title: `Extract ${chunkHJHDKS4V_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
|
|
5072
5072
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
|
|
5073
5073
|
run: () => setExtracting(true),
|
|
5074
5074
|
testId: "tags-extract-entities"
|
|
@@ -5122,7 +5122,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5122
5122
|
onTabChange: () => {
|
|
5123
5123
|
},
|
|
5124
5124
|
variant: "underline",
|
|
5125
|
-
firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5125
|
+
firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5126
5126
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
5127
5127
|
{
|
|
5128
5128
|
value: filterText,
|
|
@@ -5144,7 +5144,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5144
5144
|
filter: tagFilter
|
|
5145
5145
|
}
|
|
5146
5146
|
) }),
|
|
5147
|
-
centerContent: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5147
|
+
centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5148
5148
|
chunkSNUBQMIS_cjs.ViewToggle,
|
|
5149
5149
|
{
|
|
5150
5150
|
options: browser.TAG_KINDS.map((k) => ({
|
|
@@ -5237,7 +5237,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5237
5237
|
}
|
|
5238
5238
|
),
|
|
5239
5239
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5240
|
-
|
|
5240
|
+
chunkHJHDKS4V_cjs.ExtractEntitiesDialog,
|
|
5241
5241
|
{
|
|
5242
5242
|
open: extracting,
|
|
5243
5243
|
onOpenChange: setExtracting,
|
|
@@ -5522,12 +5522,12 @@ function ConnectedExportPanel({
|
|
|
5522
5522
|
current: workspace,
|
|
5523
5523
|
currentRole,
|
|
5524
5524
|
nameOf
|
|
5525
|
-
} =
|
|
5525
|
+
} = chunkYO7GDNEW_cjs.useTransferTargets();
|
|
5526
5526
|
const { data: workspaceTags = [] } = react$1.useTags(currentWorkspaceId ?? void 0);
|
|
5527
5527
|
const { data: workspaceDocuments = [] } = react$1.useDocuments(currentWorkspaceId ?? void 0);
|
|
5528
|
-
const columnsMode =
|
|
5529
|
-
const setColumnsMode =
|
|
5530
|
-
const trackTransfer =
|
|
5528
|
+
const columnsMode = chunkYO7GDNEW_cjs.useExportStore((state) => state.columnsMode);
|
|
5529
|
+
const setColumnsMode = chunkYO7GDNEW_cjs.useExportStore((state) => state.setColumnsMode);
|
|
5530
|
+
const trackTransfer = chunkYO7GDNEW_cjs.useExportStore((state) => state.trackTransfer);
|
|
5531
5531
|
const [scopeChoice, setScopeChoice] = react.useState(
|
|
5532
5532
|
items.length > 0 ? "selection" : "all"
|
|
5533
5533
|
);
|
|
@@ -5656,7 +5656,7 @@ function ConnectedExportPanel({
|
|
|
5656
5656
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", "data-testid": "export-documents", children: [
|
|
5657
5657
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-auto space-y-6 p-6", children: [
|
|
5658
5658
|
jobRunning && job && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5659
|
-
|
|
5659
|
+
chunk44M4FI2N_cjs.TransferProgressView,
|
|
5660
5660
|
{
|
|
5661
5661
|
title: `${job.mode === "move" ? "Moving" : "Copying"} to ${targetName(job.target_workspace_ext_id)}`,
|
|
5662
5662
|
processed: job.processed ?? 0,
|
|
@@ -5669,7 +5669,7 @@ function ConnectedExportPanel({
|
|
|
5669
5669
|
),
|
|
5670
5670
|
jobDone && job && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5671
5671
|
react$1.isTransferResumable(job) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5672
|
-
|
|
5672
|
+
chunk44M4FI2N_cjs.TransferResumeBanner,
|
|
5673
5673
|
{
|
|
5674
5674
|
message: `Stopped at ${job.processed} of ${job.total}. Resume to finish \u2014 nothing is copied twice.`,
|
|
5675
5675
|
onResume: () => handleResume(job),
|
|
@@ -5677,7 +5677,7 @@ function ConnectedExportPanel({
|
|
|
5677
5677
|
}
|
|
5678
5678
|
),
|
|
5679
5679
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5680
|
-
|
|
5680
|
+
chunk44M4FI2N_cjs.ExportResultsReport,
|
|
5681
5681
|
{
|
|
5682
5682
|
summary: `${job.mode === "move" ? "Moved" : "Copied"} ${plural3(
|
|
5683
5683
|
Number(job.counts?.copied ?? 0) + Number(job.counts?.removed ?? 0),
|
|
@@ -5690,7 +5690,7 @@ function ConnectedExportPanel({
|
|
|
5690
5690
|
] }),
|
|
5691
5691
|
!jobId && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5692
5692
|
resumable && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5693
|
-
|
|
5693
|
+
chunk44M4FI2N_cjs.TransferResumeBanner,
|
|
5694
5694
|
{
|
|
5695
5695
|
message: `A ${resumable.mode} to ${targetName(resumable.target_workspace_ext_id)} stopped at ${resumable.processed} of ${resumable.total}.`,
|
|
5696
5696
|
onResume: () => handleResume(resumable),
|
|
@@ -5698,7 +5698,7 @@ function ConnectedExportPanel({
|
|
|
5698
5698
|
}
|
|
5699
5699
|
),
|
|
5700
5700
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5701
|
-
|
|
5701
|
+
chunk44M4FI2N_cjs.TransferScopeChooser,
|
|
5702
5702
|
{
|
|
5703
5703
|
scope: scopeChoice,
|
|
5704
5704
|
onScopeChange: setScopeChoice,
|
|
@@ -5709,7 +5709,7 @@ function ConnectedExportPanel({
|
|
|
5709
5709
|
}
|
|
5710
5710
|
),
|
|
5711
5711
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5712
|
-
|
|
5712
|
+
chunk44M4FI2N_cjs.TransferKindsPicker,
|
|
5713
5713
|
{
|
|
5714
5714
|
options: ALL_KINDS.map((kind) => ({
|
|
5715
5715
|
kind,
|
|
@@ -5722,9 +5722,9 @@ function ConnectedExportPanel({
|
|
|
5722
5722
|
)
|
|
5723
5723
|
}
|
|
5724
5724
|
),
|
|
5725
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5725
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
|
|
5726
5726
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5727
|
-
|
|
5727
|
+
chunk44M4FI2N_cjs.ExportMethodChooser,
|
|
5728
5728
|
{
|
|
5729
5729
|
mode,
|
|
5730
5730
|
onModeChange: setMode,
|
|
@@ -5736,17 +5736,17 @@ function ConnectedExportPanel({
|
|
|
5736
5736
|
),
|
|
5737
5737
|
mode !== "download" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5738
5738
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5739
|
-
|
|
5739
|
+
chunk44M4FI2N_cjs.ExportWorkspacePicker,
|
|
5740
5740
|
{
|
|
5741
5741
|
workspaces: workspaceOptions,
|
|
5742
5742
|
selectedId: targetId,
|
|
5743
5743
|
onSelect: setTargetId
|
|
5744
5744
|
}
|
|
5745
5745
|
),
|
|
5746
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5746
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
|
|
5747
5747
|
] }),
|
|
5748
5748
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5749
|
-
|
|
5749
|
+
chunk44M4FI2N_cjs.TransferPlanSummary,
|
|
5750
5750
|
{
|
|
5751
5751
|
lines: summary.lines,
|
|
5752
5752
|
warnings: summary.warnings,
|
|
@@ -5763,7 +5763,7 @@ function ConnectedExportPanel({
|
|
|
5763
5763
|
] })
|
|
5764
5764
|
] }),
|
|
5765
5765
|
!jobId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5766
|
-
|
|
5766
|
+
chunk44M4FI2N_cjs.ExportFooter,
|
|
5767
5767
|
{
|
|
5768
5768
|
onCancel: onClose,
|
|
5769
5769
|
onSubmit: handleSubmit,
|
|
@@ -5804,7 +5804,7 @@ function OpenExportDialog({
|
|
|
5804
5804
|
children: [
|
|
5805
5805
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkCVPV4I7Z_cjs.ModalHeader, { children: [
|
|
5806
5806
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5807
|
-
|
|
5807
|
+
chunk44M4FI2N_cjs.ExportModalTitle,
|
|
5808
5808
|
{
|
|
5809
5809
|
workspace: workspace ? {
|
|
5810
5810
|
icon: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "touch-hit inline-flex", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -6221,7 +6221,7 @@ function ConnectedFieldsEditor({
|
|
|
6221
6221
|
const [sortBy, setSortBy] = react.useState("name-asc");
|
|
6222
6222
|
const [filterText, setFilterText] = react.useState("");
|
|
6223
6223
|
const fieldRows = react.useMemo(
|
|
6224
|
-
() => browser.flattenTagTree(
|
|
6224
|
+
() => browser.flattenTagTree(chunk44M4FI2N_cjs.sortFields(chunk44M4FI2N_cjs.filterFieldsByName(tags, filterText), sortBy)),
|
|
6225
6225
|
[tags, filterText, sortBy]
|
|
6226
6226
|
);
|
|
6227
6227
|
const exportItems = react.useMemo(
|
|
@@ -6241,7 +6241,7 @@ function ConnectedFieldsEditor({
|
|
|
6241
6241
|
setIsDeleting(false);
|
|
6242
6242
|
}
|
|
6243
6243
|
};
|
|
6244
|
-
const copy =
|
|
6244
|
+
const copy = chunk44M4FI2N_cjs.fieldsApplyBarCopy({
|
|
6245
6245
|
nouns,
|
|
6246
6246
|
targetNoun,
|
|
6247
6247
|
fieldCount,
|
|
@@ -6250,9 +6250,9 @@ function ConnectedFieldsEditor({
|
|
|
6250
6250
|
isApplying,
|
|
6251
6251
|
isClearing
|
|
6252
6252
|
});
|
|
6253
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6253
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.FieldsEditorRoot, { children: [
|
|
6254
6254
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6255
|
-
|
|
6255
|
+
chunk44M4FI2N_cjs.FieldsEditorToolbar,
|
|
6256
6256
|
{
|
|
6257
6257
|
nouns,
|
|
6258
6258
|
onNew: () => {
|
|
@@ -6280,11 +6280,11 @@ function ConnectedFieldsEditor({
|
|
|
6280
6280
|
onSortByChange: setSortBy
|
|
6281
6281
|
}
|
|
6282
6282
|
),
|
|
6283
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6283
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.FieldsEditorList, { children: [
|
|
6284
6284
|
fieldRows.map(({ tag, depth, childCount }) => {
|
|
6285
6285
|
const isEditingThis = editingTagId === tag.external_id;
|
|
6286
6286
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6287
|
-
|
|
6287
|
+
chunk44M4FI2N_cjs.FieldRow,
|
|
6288
6288
|
{
|
|
6289
6289
|
tagId: tag.external_id,
|
|
6290
6290
|
name: tag.name,
|
|
@@ -6337,10 +6337,10 @@ function ConnectedFieldsEditor({
|
|
|
6337
6337
|
tag.external_id
|
|
6338
6338
|
);
|
|
6339
6339
|
}),
|
|
6340
|
-
fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6340
|
+
fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.FieldsEmptyState, { children: chunk44M4FI2N_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
|
|
6341
6341
|
] }),
|
|
6342
6342
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6343
|
-
|
|
6343
|
+
chunk44M4FI2N_cjs.FieldsApplyBar,
|
|
6344
6344
|
{
|
|
6345
6345
|
hint: copy.hint,
|
|
6346
6346
|
applyLabel: copy.applyLabel,
|
|
@@ -6416,8 +6416,8 @@ function ConnectedFieldsManager({
|
|
|
6416
6416
|
}
|
|
6417
6417
|
);
|
|
6418
6418
|
const body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
6419
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6420
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6419
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
|
|
6420
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6421
6421
|
ConnectedFieldsEditor,
|
|
6422
6422
|
{
|
|
6423
6423
|
group: activeKind,
|
|
@@ -6429,7 +6429,7 @@ function ConnectedFieldsManager({
|
|
|
6429
6429
|
] });
|
|
6430
6430
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", children: [
|
|
6431
6431
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkAHUEBRLX_cjs.DraggableHeader, { children: [
|
|
6432
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6432
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
|
|
6433
6433
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3", children: tabHeader })
|
|
6434
6434
|
] }),
|
|
6435
6435
|
body
|
|
@@ -6458,7 +6458,7 @@ function ConnectedFieldsManagerPanel({
|
|
|
6458
6458
|
const [createRequest, setCreateRequest] = react$1.useTransientView(FIELDS_MANAGER_CREATE_VIEW, 0);
|
|
6459
6459
|
const [kind, setKind] = react$1.useTransientView(FIELDS_MANAGER_KIND_VIEW, "label");
|
|
6460
6460
|
const documentIds = react$1.useArbiSessionState((s) => s.selectedDocumentIds);
|
|
6461
|
-
const reviewing =
|
|
6461
|
+
const reviewing = chunkHGD4B7GO_cjs.useFilesPrefs((state) => chunkHGD4B7GO_cjs.filesViewMode(state) === "navigator");
|
|
6462
6462
|
const viewingId = react$1.useArbiSessionState((s) => s.viewingDocument?.id ?? null);
|
|
6463
6463
|
const reviewingId = reviewing ? viewingId : null;
|
|
6464
6464
|
const handleClose = react.useCallback(() => {
|
|
@@ -6499,7 +6499,7 @@ function ConnectedFieldsManagerPanel({
|
|
|
6499
6499
|
onAnnotationCreated,
|
|
6500
6500
|
onAiFieldsApplied: (result) => {
|
|
6501
6501
|
session.closePanel(FIELDS_MANAGER_PANEL);
|
|
6502
|
-
const review =
|
|
6502
|
+
const review = chunkHGD4B7GO_cjs.useAiReviewStore.getState();
|
|
6503
6503
|
review.setRun(result);
|
|
6504
6504
|
review.setOpen(true);
|
|
6505
6505
|
}
|
|
@@ -6545,7 +6545,7 @@ function ConnectedFactsSmartSearch({
|
|
|
6545
6545
|
const runSearch = () => search().catch(() => notify19(`Could not search ${factsWord}. Please try again.`, "error"));
|
|
6546
6546
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "facts-smart-search", children: [
|
|
6547
6547
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6548
|
-
|
|
6548
|
+
chunkYHXJWYOF_cjs.FactSearchBar,
|
|
6549
6549
|
{
|
|
6550
6550
|
query,
|
|
6551
6551
|
onQueryChange: setQuery,
|
|
@@ -6554,7 +6554,7 @@ function ConnectedFactsSmartSearch({
|
|
|
6554
6554
|
isSearching
|
|
6555
6555
|
}
|
|
6556
6556
|
),
|
|
6557
|
-
!isSearching && hits !== null && hits.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6557
|
+
!isSearching && hits !== null && hits.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkYHXJWYOF_cjs.FactSearchTotals, { children: [
|
|
6558
6558
|
hits.length.toLocaleString(),
|
|
6559
6559
|
" ",
|
|
6560
6560
|
hits.length === 1 ? factWord : factsWord,
|
|
@@ -6562,18 +6562,18 @@ function ConnectedFactsSmartSearch({
|
|
|
6562
6562
|
lastQuery,
|
|
6563
6563
|
"\u201D"
|
|
6564
6564
|
] }),
|
|
6565
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-4 pb-3", children: isSearching ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6565
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-4 pb-3", children: isSearching ? /* @__PURE__ */ jsxRuntime.jsxs(chunkYHXJWYOF_cjs.FactSearchPending, { children: [
|
|
6566
6566
|
"Searching ",
|
|
6567
6567
|
factsWord,
|
|
6568
6568
|
"\u2026"
|
|
6569
|
-
] }) : hits === null ? /* @__PURE__ */ jsxRuntime.jsx(chunkNX56DIG3_cjs.SearchEmptyState, { nouns, count: allFacts.length }) : hits.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6569
|
+
] }) : hits === null ? /* @__PURE__ */ jsxRuntime.jsx(chunkNX56DIG3_cjs.SearchEmptyState, { nouns, count: allFacts.length }) : hits.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkYHXJWYOF_cjs.FactSearchNoMatches, { children: [
|
|
6570
6570
|
"No ",
|
|
6571
6571
|
factsWord,
|
|
6572
6572
|
" matched \u201C",
|
|
6573
6573
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground", children: lastQuery }),
|
|
6574
6574
|
"\u201D."
|
|
6575
6575
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: hits.map((h, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
6576
|
-
|
|
6576
|
+
chunkYHXJWYOF_cjs.FactSearchResult,
|
|
6577
6577
|
{
|
|
6578
6578
|
id: h.external_id,
|
|
6579
6579
|
rank: i + 1,
|
|
@@ -6673,7 +6673,7 @@ function FactSourcesPopover({
|
|
|
6673
6673
|
const olderVersion = refOf(docId) !== docId ? refOf(docId).split("@v")[1] : null;
|
|
6674
6674
|
const cited = passagesOf(docId);
|
|
6675
6675
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6676
|
-
|
|
6676
|
+
chunkYHXJWYOF_cjs.FactSourceGroup,
|
|
6677
6677
|
{
|
|
6678
6678
|
docId,
|
|
6679
6679
|
isViewing,
|
|
@@ -6762,7 +6762,7 @@ function FactMarkdownEditor({
|
|
|
6762
6762
|
const editorRef = react.useRef(null);
|
|
6763
6763
|
react.useEffect(() => {
|
|
6764
6764
|
if (!editorRef.current) return;
|
|
6765
|
-
return
|
|
6765
|
+
return chunkYHXJWYOF_cjs.enableFactTableColumnResize(editorRef.current);
|
|
6766
6766
|
}, []);
|
|
6767
6767
|
react.useEffect(() => {
|
|
6768
6768
|
if (!editing) return;
|
|
@@ -6874,7 +6874,7 @@ var factNouns = () => ({
|
|
|
6874
6874
|
function useWorkspaceAsk() {
|
|
6875
6875
|
const { openNewConversation, openFiles } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
6876
6876
|
const { workspaceId } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
|
|
6877
|
-
const setFilesViewMode =
|
|
6877
|
+
const setFilesViewMode = chunkHGD4B7GO_cjs.useFilesPrefs((state) => state.setViewMode);
|
|
6878
6878
|
const ask = react.useCallback(
|
|
6879
6879
|
(text) => openNewConversation({ prompt: text, keepDocumentOpen: true }),
|
|
6880
6880
|
[openNewConversation]
|
|
@@ -7401,8 +7401,8 @@ function useFactFilters(notes, view, chat) {
|
|
|
7401
7401
|
const makeTagPicker = react.useCallback(
|
|
7402
7402
|
(selected, setSelected, opts) => {
|
|
7403
7403
|
const applied = new Set(selected);
|
|
7404
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7405
|
-
|
|
7404
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkYHXJWYOF_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7405
|
+
chunk44M4FI2N_cjs.FieldLabelsSelect,
|
|
7406
7406
|
{
|
|
7407
7407
|
options: labelOptions,
|
|
7408
7408
|
appliedIds: applied,
|
|
@@ -7593,14 +7593,14 @@ function useFactSelection(notes, gridApiRef, setFactTags, chat) {
|
|
|
7593
7593
|
}
|
|
7594
7594
|
function renderSourcesCell(params) {
|
|
7595
7595
|
const fact = params.data;
|
|
7596
|
-
const count2 =
|
|
7596
|
+
const count2 = chunkYHXJWYOF_cjs.sourceDocCount(fact);
|
|
7597
7597
|
if (!fact || count2 === 0) return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground/40", children: "\u2014" });
|
|
7598
7598
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7599
7599
|
"button",
|
|
7600
7600
|
{
|
|
7601
7601
|
type: "button",
|
|
7602
7602
|
onClick: () => params.context?.openEdit?.(fact),
|
|
7603
|
-
title:
|
|
7603
|
+
title: chunkYHXJWYOF_cjs.DEFAULT_FACT_COLUMN_LABELS.sourcedFrom(count2),
|
|
7604
7604
|
"data-testid": `facts-grid-sources-${fact.external_id}`,
|
|
7605
7605
|
className: "inline-flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground",
|
|
7606
7606
|
children: [
|
|
@@ -7629,7 +7629,7 @@ var FactHeader = react.memo(function FactHeader2({
|
|
|
7629
7629
|
if (params.enableSorting) params.progressSort(e.shiftKey);
|
|
7630
7630
|
},
|
|
7631
7631
|
children: [
|
|
7632
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7632
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.FilterButton, { params, colId }),
|
|
7633
7633
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "order-2 min-w-0 flex-1 truncate", children: params.displayName }),
|
|
7634
7634
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ag-sort-indicator-container order-2 flex-shrink-0", "aria-hidden": "true", children: [
|
|
7635
7635
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -7657,14 +7657,14 @@ function createFactPageColumns({
|
|
|
7657
7657
|
onToggleConfirmed,
|
|
7658
7658
|
onToggleShared
|
|
7659
7659
|
}) {
|
|
7660
|
-
const columns =
|
|
7660
|
+
const columns = chunkYHXJWYOF_cjs.createFactColumns({
|
|
7661
7661
|
onToggleInChat,
|
|
7662
7662
|
isInChat,
|
|
7663
7663
|
renderHeader: (params, colId) => /* @__PURE__ */ jsxRuntime.jsx(FactHeader, { params, colId }),
|
|
7664
7664
|
renderRowActions: (fact, params) => {
|
|
7665
7665
|
const ctx = params.context;
|
|
7666
7666
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7667
|
-
|
|
7667
|
+
chunkYHXJWYOF_cjs.FactRowActions,
|
|
7668
7668
|
{
|
|
7669
7669
|
onEdit: () => ctx?.openEdit?.(fact),
|
|
7670
7670
|
canEdit: ctx?.canRewrite?.(fact) !== false,
|
|
@@ -7793,7 +7793,7 @@ function useFactsGrid({
|
|
|
7793
7793
|
);
|
|
7794
7794
|
const renderFactTags = react.useCallback(
|
|
7795
7795
|
(fact, rowHeight) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
7796
|
-
|
|
7796
|
+
chunkYHXJWYOF_cjs.FactLabelsCell,
|
|
7797
7797
|
{
|
|
7798
7798
|
options: labelOptions,
|
|
7799
7799
|
selectedIds: fact.tags.map((t) => t.tag_ext_id),
|
|
@@ -7900,7 +7900,7 @@ function useFactsPageView() {
|
|
|
7900
7900
|
"facts.searchFields",
|
|
7901
7901
|
DEFAULT_SEARCH_FIELDS
|
|
7902
7902
|
);
|
|
7903
|
-
const rowHeight = react$1.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ??
|
|
7903
|
+
const rowHeight = react$1.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ?? chunk44M4FI2N_cjs.ROW_MIN);
|
|
7904
7904
|
const labelWidth = react$1.useArbiSessionState(
|
|
7905
7905
|
(s) => s.grid.labelWidths[FACTS_GRID_ID] ?? DEFAULT_TIMELINE_LABEL_WIDTH
|
|
7906
7906
|
);
|
|
@@ -8134,7 +8134,7 @@ function ConnectedFactsPage() {
|
|
|
8134
8134
|
const view = pageView.view;
|
|
8135
8135
|
const setView = pageView.setView;
|
|
8136
8136
|
const openLabels = () => openFieldsManagerIn(session, "label");
|
|
8137
|
-
const factsRowHeight = pageView.rowHeight ===
|
|
8137
|
+
const factsRowHeight = pageView.rowHeight === chunk44M4FI2N_cjs.ROW_MIN ? chunk44M4FI2N_cjs.ROW_MIN : chunk44M4FI2N_cjs.rowHeightForLines(chunk44M4FI2N_cjs.linesForRowHeight(pageView.rowHeight));
|
|
8138
8138
|
const [isExportOpen, setIsExportOpen] = react.useState(false);
|
|
8139
8139
|
const [filterOpen, setFilterOpen] = react.useState(false);
|
|
8140
8140
|
const [factSection, setFactSection] = react.useState(null);
|
|
@@ -8158,7 +8158,7 @@ function ConnectedFactsPage() {
|
|
|
8158
8158
|
};
|
|
8159
8159
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: setFactSection, className: "relative flex h-full flex-col", "data-testid": "facts-page", children: [
|
|
8160
8160
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8161
|
-
|
|
8161
|
+
chunkYHXJWYOF_cjs.FactsToolbar,
|
|
8162
8162
|
{
|
|
8163
8163
|
count: filteredNotes.length,
|
|
8164
8164
|
hasActiveFilters: filters.hasActiveFilters,
|
|
@@ -8187,7 +8187,7 @@ function ConnectedFactsPage() {
|
|
|
8187
8187
|
onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
|
|
8188
8188
|
navSlotRef: setNavSlot,
|
|
8189
8189
|
navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8190
|
-
|
|
8190
|
+
chunkHJHDKS4V_cjs.GridRowNavigator,
|
|
8191
8191
|
{
|
|
8192
8192
|
gridApi,
|
|
8193
8193
|
selectedId: editingId,
|
|
@@ -8198,9 +8198,9 @@ function ConnectedFactsPage() {
|
|
|
8198
8198
|
) : null,
|
|
8199
8199
|
showToolbarRow: view !== "smart_search",
|
|
8200
8200
|
tools: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
8201
|
-
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8201
|
+
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkYHXJWYOF_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
|
|
8202
8202
|
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8203
|
-
|
|
8203
|
+
chunk44M4FI2N_cjs.RowDensityControl,
|
|
8204
8204
|
{
|
|
8205
8205
|
rowHeight: factsRowHeight,
|
|
8206
8206
|
onRowHeightChange: pageView.setRowHeight,
|
|
@@ -8236,7 +8236,7 @@ function ConnectedFactsPage() {
|
|
|
8236
8236
|
}
|
|
8237
8237
|
) }),
|
|
8238
8238
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8239
|
-
|
|
8239
|
+
chunkYHXJWYOF_cjs.FactComposer,
|
|
8240
8240
|
{
|
|
8241
8241
|
isOpen: composing,
|
|
8242
8242
|
isEditing: !!editingId,
|
|
@@ -8266,7 +8266,7 @@ function ConnectedFactsPage() {
|
|
|
8266
8266
|
reserveSourcesSpace: view === "gantt" || view === "calendar",
|
|
8267
8267
|
citationContainer: factSection,
|
|
8268
8268
|
renderDocumentPicker: (onSelect, selectedIds, onOpen, sourcesToggle, sourcesOpen) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
8269
|
-
|
|
8269
|
+
chunkYHXJWYOF_cjs.FactSourcesRow,
|
|
8270
8270
|
{
|
|
8271
8271
|
toggle: sourcesToggle,
|
|
8272
8272
|
picker: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -8312,7 +8312,7 @@ function ConnectedFactsPage() {
|
|
|
8312
8312
|
}
|
|
8313
8313
|
),
|
|
8314
8314
|
dateInput: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8315
|
-
|
|
8315
|
+
chunkYHXJWYOF_cjs.FactDateInput,
|
|
8316
8316
|
{
|
|
8317
8317
|
value: composer.draftDateFields,
|
|
8318
8318
|
onChange: composer.setDraftDateFields,
|
|
@@ -8322,7 +8322,7 @@ function ConnectedFactsPage() {
|
|
|
8322
8322
|
}
|
|
8323
8323
|
),
|
|
8324
8324
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "scrollbar-subtle flex-1 overflow-y-auto pb-2", children: [
|
|
8325
|
-
isLoading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8325
|
+
isLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkYHXJWYOF_cjs.FactsLoading, {}) : isError ? /* @__PURE__ */ jsxRuntime.jsx(chunkYHXJWYOF_cjs.FactsLoadError, { onRetry: () => refetch() }) : view === "smart_search" ? (
|
|
8326
8326
|
// Searches facts only (never documents). Kept before the empty-state guard so the
|
|
8327
8327
|
// search UI is reachable even in an empty workspace.
|
|
8328
8328
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -8335,7 +8335,7 @@ function ConnectedFactsPage() {
|
|
|
8335
8335
|
)
|
|
8336
8336
|
) : notes.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-full flex-col items-center justify-center", children: [
|
|
8337
8337
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8338
|
-
|
|
8338
|
+
chunkYHXJWYOF_cjs.FactsEmptyState,
|
|
8339
8339
|
{
|
|
8340
8340
|
onUseExample: (text) => {
|
|
8341
8341
|
composer.setDraft(text);
|
|
@@ -8346,7 +8346,7 @@ function ConnectedFactsPage() {
|
|
|
8346
8346
|
),
|
|
8347
8347
|
/* @__PURE__ */ jsxRuntime.jsx(FactsFindInDocuments, {})
|
|
8348
8348
|
] }) : view === "calendar" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8349
|
-
|
|
8349
|
+
chunkYHXJWYOF_cjs.FactsCalendar,
|
|
8350
8350
|
{
|
|
8351
8351
|
facts: filteredNotes,
|
|
8352
8352
|
onSelect: (n) => openEditIfAllowed(n),
|
|
@@ -8355,7 +8355,7 @@ function ConnectedFactsPage() {
|
|
|
8355
8355
|
navigatorTotal: filteredNotes.length
|
|
8356
8356
|
}
|
|
8357
8357
|
) : view === "gantt" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8358
|
-
|
|
8358
|
+
chunkYHXJWYOF_cjs.FactsGanttPane,
|
|
8359
8359
|
{
|
|
8360
8360
|
items: ganttItems,
|
|
8361
8361
|
labelWidth: pageView.labelWidth,
|
|
@@ -8405,7 +8405,7 @@ function ConnectedFactsPage() {
|
|
|
8405
8405
|
)
|
|
8406
8406
|
] }),
|
|
8407
8407
|
selectable && notes.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8408
|
-
|
|
8408
|
+
chunkYHXJWYOF_cjs.FactsBulkBar,
|
|
8409
8409
|
{
|
|
8410
8410
|
count: selection.selectedFacts.length,
|
|
8411
8411
|
onClear: selection.clearSelection,
|
|
@@ -8464,7 +8464,7 @@ function useConnectedShellWorkspaces(options = {}) {
|
|
|
8464
8464
|
function ConnectedSsoDisconnect() {
|
|
8465
8465
|
const { client } = react$1.useAccountClient();
|
|
8466
8466
|
const { data: profile } = react$1.useProfile();
|
|
8467
|
-
const auth =
|
|
8467
|
+
const auth = chunkPTT5MZ7O_cjs.useAuthPages();
|
|
8468
8468
|
const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
8469
8469
|
const [open, setOpen] = react.useState(false);
|
|
8470
8470
|
const [step, setStep] = react.useState("email");
|
|
@@ -8642,14 +8642,14 @@ function ConnectedAccountSettings({
|
|
|
8642
8642
|
}) {
|
|
8643
8643
|
const [logoutOpen, setLogoutOpen] = react.useState(false);
|
|
8644
8644
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
|
|
8645
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8645
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTT5MZ7O_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
|
|
8646
8646
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
|
|
8647
8647
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
|
|
8648
8648
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
|
|
8649
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8649
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTT5MZ7O_cjs.ConnectedSecuritySection, { children: securityRows }),
|
|
8650
8650
|
moreSettings,
|
|
8651
8651
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8652
|
-
|
|
8652
|
+
chunkPTT5MZ7O_cjs.ConnectedIdentityVerification,
|
|
8653
8653
|
{
|
|
8654
8654
|
collapsible: true,
|
|
8655
8655
|
onManageBilling,
|
|
@@ -8659,7 +8659,7 @@ function ConnectedAccountSettings({
|
|
|
8659
8659
|
] }),
|
|
8660
8660
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
|
|
8661
8661
|
connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
|
|
8662
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8662
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTT5MZ7O_cjs.ConnectedSessionsRow, { renderSessionIcon }),
|
|
8663
8663
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8664
8664
|
ui.Button,
|
|
8665
8665
|
{
|
|
@@ -8676,9 +8676,9 @@ function ConnectedAccountSettings({
|
|
|
8676
8676
|
}
|
|
8677
8677
|
) })
|
|
8678
8678
|
] }) }),
|
|
8679
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8679
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTT5MZ7O_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
|
|
8680
8680
|
!onLogout && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8681
|
-
|
|
8681
|
+
chunkPTT5MZ7O_cjs.ConnectedLogoutDialog,
|
|
8682
8682
|
{
|
|
8683
8683
|
open: logoutOpen,
|
|
8684
8684
|
onClose: () => setLogoutOpen(false),
|
|
@@ -9021,7 +9021,7 @@ function ConnectedPrivacySettings({
|
|
|
9021
9021
|
}
|
|
9022
9022
|
)
|
|
9023
9023
|
] }) }),
|
|
9024
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9024
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTT5MZ7O_cjs.ConnectedNotificationPreferences, {})
|
|
9025
9025
|
] });
|
|
9026
9026
|
}
|
|
9027
9027
|
var PROVIDER_NAMES = {
|
|
@@ -9760,7 +9760,7 @@ function ConnectedWorkspaceTrash({
|
|
|
9760
9760
|
const others = page?.others_private;
|
|
9761
9761
|
const othersCount = others?.count ?? 0;
|
|
9762
9762
|
const removable = items.filter((d) => !d.restoring);
|
|
9763
|
-
const emptiable = manager ? removable : removable.filter((d) => d.
|
|
9763
|
+
const emptiable = manager ? removable : removable.filter((d) => d.can_delete);
|
|
9764
9764
|
const emptiableBytes = emptiable.reduce((sum, d) => sum + d.bytes, 0);
|
|
9765
9765
|
const run = async (action, failure, undo) => {
|
|
9766
9766
|
setBusy(true);
|
|
@@ -11040,7 +11040,7 @@ function ConnectedRecoveryKeyDialog({
|
|
|
11040
11040
|
const arbi = react$1.useArbi();
|
|
11041
11041
|
const { user, isSso: isSsoMode } = react$1.useArbiSession();
|
|
11042
11042
|
const userEmail = user?.email;
|
|
11043
|
-
const sso =
|
|
11043
|
+
const sso = chunkPTT5MZ7O_cjs.useSsoSignIn();
|
|
11044
11044
|
const handleVerify = async () => {
|
|
11045
11045
|
setError(null);
|
|
11046
11046
|
if (!password) {
|
|
@@ -11201,7 +11201,7 @@ function ConnectedRemoteControlSwitch() {
|
|
|
11201
11201
|
}
|
|
11202
11202
|
function RemoteControlSwitch() {
|
|
11203
11203
|
const enabled = react$1.useRemoteControl((state) => state.enabled);
|
|
11204
|
-
const remote =
|
|
11204
|
+
const remote = chunkPTT5MZ7O_cjs.useRemoteControlActions();
|
|
11205
11205
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
11206
11206
|
chunkQQMMCXBP_cjs.SettingsRow,
|
|
11207
11207
|
{
|
|
@@ -12024,7 +12024,7 @@ Note that ${members2} may have saved private content in the ${workspaceWord2} th
|
|
|
12024
12024
|
className: "w-full grid-sort-left"
|
|
12025
12025
|
}
|
|
12026
12026
|
) }),
|
|
12027
|
-
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12027
|
+
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkS3GVFAFB_cjs.SelectionBar, { count: selected.length, onClear: () => setSelected([]), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12028
12028
|
chunkP7VUIW24_cjs.MemberBulkActions,
|
|
12029
12029
|
{
|
|
12030
12030
|
roles: BULK_ROLES,
|
|
@@ -12374,7 +12374,7 @@ function ConnectedWorkspaceShareDialog({
|
|
|
12374
12374
|
chunk223D4727_cjs.ModalBreadcrumbHeader,
|
|
12375
12375
|
{
|
|
12376
12376
|
workspaceName: workspace.name,
|
|
12377
|
-
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12377
|
+
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkYO7GDNEW_cjs.ConnectedWorkspaceEntity, { workspace, size: 20, variant: "icon" }),
|
|
12378
12378
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserPlus, { className: "w-4 h-4" }),
|
|
12379
12379
|
title: labels.title
|
|
12380
12380
|
}
|
|
@@ -13453,13 +13453,13 @@ function ConnectedWorkspaceSettings({
|
|
|
13453
13453
|
const [membersExpanded, setMembersExpanded] = react.useState(false);
|
|
13454
13454
|
const [shareOpen, setShareOpen] = react.useState(false);
|
|
13455
13455
|
if (!workspace) {
|
|
13456
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkW5QSKW7T_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13456
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkW5QSKW7T_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkHJHDKS4V_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
|
|
13457
13457
|
}
|
|
13458
13458
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
13459
13459
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkW5QSKW7T_cjs.WorkspacePageFrame, { testId, children: [
|
|
13460
13460
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkW5QSKW7T_cjs.WorkspaceIdentityPanel, { children: [
|
|
13461
13461
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13462
|
-
|
|
13462
|
+
chunkHJHDKS4V_cjs.EntityIdentityBar,
|
|
13463
13463
|
{
|
|
13464
13464
|
testId: "workspace-identity-bar",
|
|
13465
13465
|
canEdit: isOwner,
|
|
@@ -13476,7 +13476,7 @@ function ConnectedWorkspaceSettings({
|
|
|
13476
13476
|
label: "Name",
|
|
13477
13477
|
value: workspace.name,
|
|
13478
13478
|
placeholder: "Untitled",
|
|
13479
|
-
maxLength:
|
|
13479
|
+
maxLength: chunkHJHDKS4V_cjs.IDENTITY_NAME_MAX_LENGTH,
|
|
13480
13480
|
valueClassName: "truncate text-base font-semibold",
|
|
13481
13481
|
testId: "workspace-home-title",
|
|
13482
13482
|
hideLabel: true,
|
|
@@ -14975,36 +14975,36 @@ function ConnectedSharePointAdminConsentPage({
|
|
|
14975
14975
|
const result = givenResult === void 0 ? queryResult : givenResult;
|
|
14976
14976
|
const { apiBaseUrl } = chunk46LX6EQT_cjs.useBlocksEnvironment().runtimeConfig;
|
|
14977
14977
|
const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
|
|
14978
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
14978
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkU6JUIJTP_cjs.ConsentCard, { size: "md", children: [
|
|
14979
14979
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14980
|
-
|
|
14980
|
+
chunkU6JUIJTP_cjs.ConsentHeader,
|
|
14981
14981
|
{
|
|
14982
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14982
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
|
|
14983
14983
|
title: "Approve ARBI for SharePoint access",
|
|
14984
14984
|
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."
|
|
14985
14985
|
}
|
|
14986
14986
|
),
|
|
14987
|
-
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
14988
|
-
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
14989
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
14987
|
+
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_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." }),
|
|
14988
|
+
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_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." }),
|
|
14989
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkU6JUIJTP_cjs.ConsentSection, { title: "What you are approving", children: [
|
|
14990
14990
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14991
|
-
|
|
14991
|
+
chunkU6JUIJTP_cjs.ConsentBulletList,
|
|
14992
14992
|
{
|
|
14993
14993
|
items: [
|
|
14994
14994
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14995
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14995
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
|
|
14996
14996
|
" \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."
|
|
14997
14997
|
] }),
|
|
14998
14998
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14999
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14999
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
|
|
15000
15000
|
" \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
|
|
15001
15001
|
] })
|
|
15002
15002
|
]
|
|
15003
15003
|
}
|
|
15004
15004
|
),
|
|
15005
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15005
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_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." }),
|
|
15006
15006
|
/* @__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" }) }),
|
|
15007
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15007
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_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." })
|
|
15008
15008
|
] })
|
|
15009
15009
|
] }) });
|
|
15010
15010
|
}
|
|
@@ -18157,7 +18157,7 @@ function useConnectedWorkspaceList({
|
|
|
18157
18157
|
};
|
|
18158
18158
|
}
|
|
18159
18159
|
var WorkspaceTableView = react.lazy(
|
|
18160
|
-
() => import('../WorkspaceTableView-
|
|
18160
|
+
() => import('../WorkspaceTableView-NMERZJZZ.cjs').then((m) => ({ default: m.WorkspaceTableView }))
|
|
18161
18161
|
);
|
|
18162
18162
|
var WORKSPACES_TAB_ID = "workspaces";
|
|
18163
18163
|
var renderMember = (user, size) => /* @__PURE__ */ jsxRuntime.jsx(chunkSH7W4WVI_cjs.ConnectedUserEntity, { user, size, variant: "icon" });
|
|
@@ -18217,7 +18217,7 @@ function ConnectedWorkspaceList({
|
|
|
18217
18217
|
}
|
|
18218
18218
|
);
|
|
18219
18219
|
}
|
|
18220
|
-
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18220
|
+
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkHJHDKS4V_cjs.LoadingIndicator, { message: "Loading workspaces..." });
|
|
18221
18221
|
if (list.error) {
|
|
18222
18222
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18223
18223
|
chunkDSLMJ24E_cjs.HomeLoadError,
|
|
@@ -18290,7 +18290,7 @@ function ConnectedWorkspaceList({
|
|
|
18290
18290
|
workspaceState
|
|
18291
18291
|
}
|
|
18292
18292
|
) })
|
|
18293
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18293
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkHJHDKS4V_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkDSLMJ24E_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18294
18294
|
WorkspaceTableView,
|
|
18295
18295
|
{
|
|
18296
18296
|
list,
|
|
@@ -18492,7 +18492,7 @@ function ConnectedProjectsListPage({
|
|
|
18492
18492
|
};
|
|
18493
18493
|
const { openProject } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
18494
18494
|
const [search, setSearch] = react.useState("");
|
|
18495
|
-
const { projects, isLoading } =
|
|
18495
|
+
const { projects, isLoading } = chunkV4B2GSC6_cjs.useProjectSummaries();
|
|
18496
18496
|
const rows = react.useMemo(() => {
|
|
18497
18497
|
const q = search.trim().toLowerCase();
|
|
18498
18498
|
if (!q) return projects;
|
|
@@ -18563,7 +18563,7 @@ function ConnectedProjectsListPage({
|
|
|
18563
18563
|
}
|
|
18564
18564
|
),
|
|
18565
18565
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18566
|
-
|
|
18566
|
+
chunkHJHDKS4V_cjs.Toolbar,
|
|
18567
18567
|
{
|
|
18568
18568
|
search,
|
|
18569
18569
|
onSearch: setSearch,
|
|
@@ -18625,7 +18625,7 @@ function ProjectDetailsForm({
|
|
|
18625
18625
|
const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
|
|
18626
18626
|
const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
18627
18627
|
const update = react$1.useUpdateProjectFields();
|
|
18628
|
-
const workspace =
|
|
18628
|
+
const workspace = chunkV4B2GSC6_cjs.primaryProjectWorkspace(project);
|
|
18629
18629
|
const { data: members = [] } = react$1.useWorkspaceUsers(workspace?.id);
|
|
18630
18630
|
const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
|
|
18631
18631
|
const currency = project.budget?.currency ?? "GBP";
|
|
@@ -18750,7 +18750,7 @@ var COMPACT_BELOW = 132;
|
|
|
18750
18750
|
var NO_DOCUMENTS = [];
|
|
18751
18751
|
function useFilesWorkspace() {
|
|
18752
18752
|
const { workspaceId, userId, live } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
|
|
18753
|
-
const { members, role } =
|
|
18753
|
+
const { members, role } = chunkK7GBHLLY_cjs.useConnectedWorkspaceRole();
|
|
18754
18754
|
const { data: workspaces } = react$1.useWorkspaces({ enabled: live });
|
|
18755
18755
|
const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
|
|
18756
18756
|
return {
|
|
@@ -18814,9 +18814,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
18814
18814
|
for (const tag of workspaceTags ?? []) map.set(tag.external_id, tag.name);
|
|
18815
18815
|
return map;
|
|
18816
18816
|
}, [workspaceTags]);
|
|
18817
|
-
const pendingFolders =
|
|
18818
|
-
const addPendingFolder =
|
|
18819
|
-
const removePendingFolder =
|
|
18817
|
+
const pendingFolders = chunkHGD4B7GO_cjs.usePendingFolders(wsId);
|
|
18818
|
+
const addPendingFolder = chunkHGD4B7GO_cjs.useFilesStore((state) => state.addPendingFolder);
|
|
18819
|
+
const removePendingFolder = chunkHGD4B7GO_cjs.useFilesStore((state) => state.removePendingFolder);
|
|
18820
18820
|
const [editingFolderPath, setEditingFolderPath] = react.useState(null);
|
|
18821
18821
|
const isSearching = search.trim().length > 0;
|
|
18822
18822
|
const selectedSet = react.useMemo(() => new Set(selectedIds), [selectedIds]);
|
|
@@ -18825,8 +18825,8 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
18825
18825
|
const { folders, files: files2 } = react.useMemo(() => {
|
|
18826
18826
|
const result = isSearching ? {
|
|
18827
18827
|
folders: [],
|
|
18828
|
-
files:
|
|
18829
|
-
} :
|
|
18828
|
+
files: chunk44M4FI2N_cjs.searchExplorerDocuments(documents, search, sort)
|
|
18829
|
+
} : chunk44M4FI2N_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
|
|
18830
18830
|
if (sortReversed) result.files = [...result.files].reverse();
|
|
18831
18831
|
return result;
|
|
18832
18832
|
}, [documents, currentPath, sort, isSearching, search, sortReversed, pendingFolders]);
|
|
@@ -18837,7 +18837,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
18837
18837
|
const orderedFileIds = react.useMemo(() => files2.map((d) => d.external_id), [files2]);
|
|
18838
18838
|
const folderDocs = react.useMemo(() => {
|
|
18839
18839
|
const map = /* @__PURE__ */ new Map();
|
|
18840
|
-
for (const f of folders) map.set(f.path.join("/"),
|
|
18840
|
+
for (const f of folders) map.set(f.path.join("/"), chunk44M4FI2N_cjs.collectFolderDocs(documents, f.path));
|
|
18841
18841
|
return map;
|
|
18842
18842
|
}, [folders, documents]);
|
|
18843
18843
|
const folderSelection = react.useMemo(() => {
|
|
@@ -18985,7 +18985,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
18985
18985
|
let name = base;
|
|
18986
18986
|
let i = 2;
|
|
18987
18987
|
while (siblings.has(name.toLowerCase())) name = `${base} ${i++}`;
|
|
18988
|
-
const path =
|
|
18988
|
+
const path = chunk44M4FI2N_cjs.joinFolderPath([...currentPath, name]);
|
|
18989
18989
|
if (!path) return;
|
|
18990
18990
|
addPendingFolder(wsId, path);
|
|
18991
18991
|
setEditingFolderPath(path);
|
|
@@ -19021,10 +19021,10 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19021
19021
|
notify19(`A folder named "${name}" already exists here.`, "error");
|
|
19022
19022
|
return;
|
|
19023
19023
|
}
|
|
19024
|
-
const oldPath =
|
|
19024
|
+
const oldPath = chunk44M4FI2N_cjs.joinFolderPath(folder.path);
|
|
19025
19025
|
const newPrefix = [...folder.path.slice(0, -1), name];
|
|
19026
|
-
const newPath =
|
|
19027
|
-
const docs =
|
|
19026
|
+
const newPath = chunk44M4FI2N_cjs.joinFolderPath(newPrefix);
|
|
19027
|
+
const docs = chunk44M4FI2N_cjs.collectFolderDocs(documents, folder.path);
|
|
19028
19028
|
try {
|
|
19029
19029
|
if (await renameFolder(docs, folder.path, newPrefix) > 0) {
|
|
19030
19030
|
notify19(`Renamed folder to "${name}"`, "success");
|
|
@@ -19083,7 +19083,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19083
19083
|
const handleToggleFolder = react.useCallback(
|
|
19084
19084
|
(folder, e) => {
|
|
19085
19085
|
e.stopPropagation();
|
|
19086
|
-
const ids =
|
|
19086
|
+
const ids = chunk44M4FI2N_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
|
|
19087
19087
|
if (ids.length === 0) return;
|
|
19088
19088
|
if (ids.every((id) => selectedSet.has(id))) {
|
|
19089
19089
|
const remove = new Set(ids);
|
|
@@ -19144,9 +19144,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19144
19144
|
);
|
|
19145
19145
|
const handleDelete = react.useCallback(
|
|
19146
19146
|
async (doc) => {
|
|
19147
|
-
const name =
|
|
19147
|
+
const name = chunk44M4FI2N_cjs.getExplorerDisplayName(doc);
|
|
19148
19148
|
const confirmed = await confirm({
|
|
19149
|
-
message: `Delete "${name}"? ${
|
|
19149
|
+
message: `Delete "${name}"? ${chunk44M4FI2N_cjs.RECENTLY_DELETED_HINT}`,
|
|
19150
19150
|
title: "Delete file"
|
|
19151
19151
|
});
|
|
19152
19152
|
if (!confirmed) return;
|
|
@@ -19166,7 +19166,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19166
19166
|
);
|
|
19167
19167
|
const handleFolderDownload = react.useCallback(
|
|
19168
19168
|
(folder) => {
|
|
19169
|
-
const docs =
|
|
19169
|
+
const docs = chunk44M4FI2N_cjs.collectFolderDocs(documents, folder.path);
|
|
19170
19170
|
if (docs.length > 0) void downloadDocuments(docs);
|
|
19171
19171
|
},
|
|
19172
19172
|
[documents, downloadDocuments]
|
|
@@ -19175,7 +19175,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19175
19175
|
if (onFolderMove) return onFolderMove;
|
|
19176
19176
|
if (!onMoveSelected) return void 0;
|
|
19177
19177
|
return (folder) => {
|
|
19178
|
-
const ids =
|
|
19178
|
+
const ids = chunk44M4FI2N_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
|
|
19179
19179
|
if (ids.length === 0) return;
|
|
19180
19180
|
onSelectionChange(ids);
|
|
19181
19181
|
onMoveSelected();
|
|
@@ -19183,14 +19183,14 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19183
19183
|
}, [documents, onFolderMove, onMoveSelected, onSelectionChange]);
|
|
19184
19184
|
const handleFolderDelete = react.useCallback(
|
|
19185
19185
|
async (folder) => {
|
|
19186
|
-
const docs =
|
|
19186
|
+
const docs = chunk44M4FI2N_cjs.collectFolderDocs(documents, folder.path);
|
|
19187
19187
|
if (docs.length === 0) {
|
|
19188
|
-
const path =
|
|
19188
|
+
const path = chunk44M4FI2N_cjs.joinFolderPath(folder.path);
|
|
19189
19189
|
if (wsId && path) removePendingFolder(wsId, path);
|
|
19190
19190
|
return;
|
|
19191
19191
|
}
|
|
19192
19192
|
const confirmed = await confirm({
|
|
19193
|
-
message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${
|
|
19193
|
+
message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunk44M4FI2N_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
|
|
19194
19194
|
title: "Delete folder"
|
|
19195
19195
|
});
|
|
19196
19196
|
if (!confirmed) return;
|
|
@@ -19207,8 +19207,8 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19207
19207
|
[confirm, documents, deleteDocuments, onSelectionChange, removePendingFolder, wsId, notify19]
|
|
19208
19208
|
);
|
|
19209
19209
|
const canDeleteFolder = react.useCallback(
|
|
19210
|
-
(folder) => canUpload &&
|
|
19211
|
-
(doc) =>
|
|
19210
|
+
(folder) => canUpload && chunk44M4FI2N_cjs.collectFolderDocs(documents, folder.path).every(
|
|
19211
|
+
(doc) => chunk44M4FI2N_cjs.canDeleteDocument(doc, userId, role)
|
|
19212
19212
|
),
|
|
19213
19213
|
[canUpload, documents, userId, role]
|
|
19214
19214
|
);
|
|
@@ -19267,7 +19267,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19267
19267
|
setActiveDragId(null);
|
|
19268
19268
|
const data = event.over?.data.current;
|
|
19269
19269
|
if (data?.type === "folder" && data.path) {
|
|
19270
|
-
const targetFolder =
|
|
19270
|
+
const targetFolder = chunk44M4FI2N_cjs.joinFolderPath(data.path);
|
|
19271
19271
|
const moving = dragIdsRef.current.filter((id) => {
|
|
19272
19272
|
const doc = documents.find((d) => d.external_id === id);
|
|
19273
19273
|
return doc && (doc.folder ?? null) !== targetFolder;
|
|
@@ -19307,7 +19307,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19307
19307
|
const dropped = Array.from(e.dataTransfer.files ?? []);
|
|
19308
19308
|
if (dropped.length > 0) {
|
|
19309
19309
|
e.preventDefault();
|
|
19310
|
-
onUploadFiles(dropped,
|
|
19310
|
+
onUploadFiles(dropped, chunk44M4FI2N_cjs.joinFolderPath(currentPath));
|
|
19311
19311
|
}
|
|
19312
19312
|
},
|
|
19313
19313
|
[canUpload, currentPath, onUploadFiles]
|
|
@@ -19324,9 +19324,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19324
19324
|
onDragEnd: handleDragEnd,
|
|
19325
19325
|
onDragCancel: () => setActiveDragId(null),
|
|
19326
19326
|
children: [
|
|
19327
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19327
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.ExplorerStage, { children: [
|
|
19328
19328
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19329
|
-
|
|
19329
|
+
chunk44M4FI2N_cjs.ExplorerScroller,
|
|
19330
19330
|
{
|
|
19331
19331
|
ref: scrollRef,
|
|
19332
19332
|
onClick: handleBackgroundClick,
|
|
@@ -19336,15 +19336,15 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19336
19336
|
onDragLeave: handleNativeDragLeave,
|
|
19337
19337
|
onDrop: handleNativeDrop,
|
|
19338
19338
|
"data-testid": "explorer-scroll",
|
|
19339
|
-
children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
19340
|
-
|
|
19339
|
+
children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
19340
|
+
chunk44M4FI2N_cjs.ExplorerEmpty,
|
|
19341
19341
|
{
|
|
19342
19342
|
title: isSearching ? `No files match "${search.trim()}"` : "This folder is empty",
|
|
19343
19343
|
description: isSearching ? "Try a different search." : canUpload ? "Drop files here or use Upload to add documents." : "No documents here yet."
|
|
19344
19344
|
}
|
|
19345
19345
|
) : containerWidth === 0 ? (
|
|
19346
19346
|
// Not measured yet: rendering now would flash one stretched column.
|
|
19347
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19347
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.ExplorerLoadingTiles, {})
|
|
19348
19348
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
19349
19349
|
"div",
|
|
19350
19350
|
{
|
|
@@ -19374,7 +19374,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19374
19374
|
if (entry.kind === "folder") {
|
|
19375
19375
|
const key = entry.path.join("/");
|
|
19376
19376
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19377
|
-
|
|
19377
|
+
chunkBNHFDXJI_cjs.FolderTile,
|
|
19378
19378
|
{
|
|
19379
19379
|
folder: entry,
|
|
19380
19380
|
density,
|
|
@@ -19397,7 +19397,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19397
19397
|
}
|
|
19398
19398
|
const doc = entry.doc;
|
|
19399
19399
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19400
|
-
|
|
19400
|
+
chunkBNHFDXJI_cjs.FileTile,
|
|
19401
19401
|
{
|
|
19402
19402
|
doc,
|
|
19403
19403
|
density,
|
|
@@ -19405,7 +19405,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19405
19405
|
dragging: activeDragId === doc.external_id,
|
|
19406
19406
|
dndActive: activeDragId !== null,
|
|
19407
19407
|
renaming: renamingId === doc.external_id,
|
|
19408
|
-
canDelete:
|
|
19408
|
+
canDelete: chunk44M4FI2N_cjs.canDeleteDocument(doc, userId, role),
|
|
19409
19409
|
thumbnailUrl: thumbnailsById.get(doc.external_id),
|
|
19410
19410
|
modifiedBy: userById.get(
|
|
19411
19411
|
doc.updated_by_ext_id ?? doc.created_by_ext_id
|
|
@@ -19434,9 +19434,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19434
19434
|
)
|
|
19435
19435
|
}
|
|
19436
19436
|
),
|
|
19437
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19437
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
|
|
19438
19438
|
isFileDragOver && /* @__PURE__ */ jsxRuntime.jsx(
|
|
19439
|
-
|
|
19439
|
+
chunk44M4FI2N_cjs.ExplorerDropOverlay,
|
|
19440
19440
|
{
|
|
19441
19441
|
label: `Drop to upload${currentPath.length > 0 ? ` to "${currentPath[currentPath.length - 1]}"` : ""}`
|
|
19442
19442
|
}
|
|
@@ -19450,7 +19450,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
19450
19450
|
function DragPreview({ doc, count: count2 }) {
|
|
19451
19451
|
const Icon = ui.getFileTypeIcon(doc.file_name, { mime: doc.file_type, folder: doc.folder });
|
|
19452
19452
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19453
|
-
|
|
19453
|
+
chunk44M4FI2N_cjs.ExplorerDragPreview,
|
|
19454
19454
|
{
|
|
19455
19455
|
icon: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 20 }),
|
|
19456
19456
|
title: ui.getDocumentTitle(doc, doc.file_name ?? "Untitled"),
|
|
@@ -19510,7 +19510,7 @@ function ProjectChronology({
|
|
|
19510
19510
|
})),
|
|
19511
19511
|
[facts2]
|
|
19512
19512
|
);
|
|
19513
|
-
return /* @__PURE__ */ jsxRuntime.jsx(ui.Card, { className: "h-[min(70dvh,640px)] overflow-hidden", "data-testid": testId, children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "p-4 text-sm text-muted-foreground", children: loading }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
19513
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ui.Card, { className: "h-[min(70dvh,640px)] overflow-hidden", "data-testid": testId, children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "p-4 text-sm text-muted-foreground", children: loading }) : /* @__PURE__ */ jsxRuntime.jsx(chunkYHXJWYOF_cjs.FactsGanttPane, { items, testId: `${testId}-gantt`, labels: { ganttEmpty: empty } }) });
|
|
19514
19514
|
}
|
|
19515
19515
|
function ProjectThreads({
|
|
19516
19516
|
projectId,
|
|
@@ -19687,11 +19687,11 @@ function ConnectedProjectPage({
|
|
|
19687
19687
|
figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
|
|
19688
19688
|
threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
|
|
19689
19689
|
};
|
|
19690
|
-
const { project, usage, isLoading } =
|
|
19690
|
+
const { project, usage, isLoading } = chunkV4B2GSC6_cjs.useProjectSummary(projectId);
|
|
19691
19691
|
const { workspaceId } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
|
|
19692
19692
|
const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
19693
|
-
const selectWorkspace =
|
|
19694
|
-
const workspace = project ?
|
|
19693
|
+
const selectWorkspace = chunkFNBUFKHE_cjs.useSelectWorkspace();
|
|
19694
|
+
const workspace = project ? chunkV4B2GSC6_cjs.primaryProjectWorkspace(project) : void 0;
|
|
19695
19695
|
const open = !!workspace && workspace.id === workspaceId;
|
|
19696
19696
|
react.useEffect(() => {
|
|
19697
19697
|
if (!workspace || workspace.id === workspaceId) return;
|
|
@@ -22598,10 +22598,10 @@ function ConnectedContactsPanel({
|
|
|
22598
22598
|
function ConnectedConfigForm({ availableModels, ...rest }) {
|
|
22599
22599
|
const hasModels = !!availableModels && availableModels.length > 0;
|
|
22600
22600
|
const renderModelSelect = react.useCallback(
|
|
22601
|
-
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
22601
|
+
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkPTT5MZ7O_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
|
|
22602
22602
|
[]
|
|
22603
22603
|
);
|
|
22604
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22604
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
|
|
22605
22605
|
}
|
|
22606
22606
|
function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
|
|
22607
22607
|
const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
@@ -22718,7 +22718,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22718
22718
|
}, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify19]);
|
|
22719
22719
|
if (editAgent) {
|
|
22720
22720
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22721
|
-
|
|
22721
|
+
chunkU6JUIJTP_cjs.AgentEditView,
|
|
22722
22722
|
{
|
|
22723
22723
|
agentName: editAgent.name,
|
|
22724
22724
|
config: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -22734,7 +22734,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22734
22734
|
}
|
|
22735
22735
|
if (view === "main") {
|
|
22736
22736
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22737
|
-
|
|
22737
|
+
chunkU6JUIJTP_cjs.AgentMainView,
|
|
22738
22738
|
{
|
|
22739
22739
|
onConnectExternal: () => setView("connect"),
|
|
22740
22740
|
config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -22750,11 +22750,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22750
22750
|
}
|
|
22751
22751
|
if (result) {
|
|
22752
22752
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22753
|
-
|
|
22753
|
+
chunkU6JUIJTP_cjs.AgentCreatedView,
|
|
22754
22754
|
{
|
|
22755
22755
|
email: result.email,
|
|
22756
22756
|
signingKey: result.signingKey,
|
|
22757
|
-
instructions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22757
|
+
instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
|
|
22758
22758
|
config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
|
|
22759
22759
|
isConfigOpen: configOpen,
|
|
22760
22760
|
onToggleConfig: () => setConfigOpen((v) => !v),
|
|
@@ -22763,7 +22763,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22763
22763
|
);
|
|
22764
22764
|
}
|
|
22765
22765
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22766
|
-
|
|
22766
|
+
chunkU6JUIJTP_cjs.AgentCreateView,
|
|
22767
22767
|
{
|
|
22768
22768
|
name,
|
|
22769
22769
|
onNameChange: setName,
|
|
@@ -22850,7 +22850,7 @@ function ConnectedInviteContactsDialog({
|
|
|
22850
22850
|
] })
|
|
22851
22851
|
] }) });
|
|
22852
22852
|
}
|
|
22853
|
-
var { files, threads, facts, agenda } =
|
|
22853
|
+
var { files, threads, facts, agenda } = chunkYO7GDNEW_cjs.WORKSPACE_DASHBOARD_LAYOUT;
|
|
22854
22854
|
function ConnectedWorkspaceDashboard({
|
|
22855
22855
|
start,
|
|
22856
22856
|
addFilesAction,
|
|
@@ -22859,14 +22859,14 @@ function ConnectedWorkspaceDashboard({
|
|
|
22859
22859
|
onTakePhoto,
|
|
22860
22860
|
testId = "workspace-dashboard"
|
|
22861
22861
|
}) {
|
|
22862
|
-
const startBand = start === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
22862
|
+
const startBand = start === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkYO7GDNEW_cjs.ConnectedStartBlock, { onCreateNew, onTakePhoto }) : start;
|
|
22863
22863
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkSGYURQ23_cjs.DashboardRoot, { testId, children: [
|
|
22864
22864
|
startBand && /* @__PURE__ */ jsxRuntime.jsx(chunkSGYURQ23_cjs.DashboardBand, { kind: "start", children: startBand }),
|
|
22865
22865
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkSGYURQ23_cjs.DashboardBand, { kind: "recent", children: [
|
|
22866
22866
|
/* @__PURE__ */ jsxRuntime.jsx(chunkSLCH5JRI_cjs.SectionLabel, { testId: `${testId}-recent-caption`, children: "Recent" }),
|
|
22867
22867
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkSGYURQ23_cjs.DashboardColumns, { children: [
|
|
22868
22868
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22869
|
-
|
|
22869
|
+
chunkYO7GDNEW_cjs.ConnectedListBlock,
|
|
22870
22870
|
{
|
|
22871
22871
|
config: files.config,
|
|
22872
22872
|
addFilesAction,
|
|
@@ -22877,7 +22877,7 @@ function ConnectedWorkspaceDashboard({
|
|
|
22877
22877
|
}
|
|
22878
22878
|
),
|
|
22879
22879
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22880
|
-
|
|
22880
|
+
chunkYO7GDNEW_cjs.ConnectedListBlock,
|
|
22881
22881
|
{
|
|
22882
22882
|
config: threads.config,
|
|
22883
22883
|
showLoading: false,
|
|
@@ -22887,8 +22887,8 @@ function ConnectedWorkspaceDashboard({
|
|
|
22887
22887
|
] })
|
|
22888
22888
|
] }),
|
|
22889
22889
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkSGYURQ23_cjs.DashboardColumns, { children: [
|
|
22890
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22891
|
-
aside === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
22890
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkYO7GDNEW_cjs.ConnectedListBlock, { config: facts.config, showLoading: false, testId: `${testId}-facts` }),
|
|
22891
|
+
aside === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkYO7GDNEW_cjs.ConnectedAgendaBlock, { config: agenda.config }) : aside
|
|
22892
22892
|
] })
|
|
22893
22893
|
] });
|
|
22894
22894
|
}
|
|
@@ -22966,7 +22966,7 @@ var inWorkspace = ({ workspaceId }) => !!workspaceId;
|
|
|
22966
22966
|
var canWrite = ({ isMember, role }) => isMember && role !== "guest";
|
|
22967
22967
|
var notTemporary = ({ isTemporaryAccess }) => !isTemporaryAccess;
|
|
22968
22968
|
function setDocumentSourceFilter(source) {
|
|
22969
|
-
const { documentFilters, setDocumentFilters } =
|
|
22969
|
+
const { documentFilters, setDocumentFilters } = chunkHGD4B7GO_cjs.useFilesPrefs.getState();
|
|
22970
22970
|
setDocumentFilters({
|
|
22971
22971
|
...documentFilters,
|
|
22972
22972
|
source_uploaded: source === "uploaded" ? "include" : null,
|
|
@@ -22978,9 +22978,9 @@ function createBuiltinActions(environment, session) {
|
|
|
22978
22978
|
const startWorkflowOnDocuments = (workflowId) => {
|
|
22979
22979
|
const { viewingDocument, selectedDocumentIds } = session.getState();
|
|
22980
22980
|
const documents = viewingDocument ? [viewingDocument.id] : [...selectedDocumentIds];
|
|
22981
|
-
|
|
22981
|
+
chunkU6JUIJTP_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
|
|
22982
22982
|
};
|
|
22983
|
-
const setFilesView = (mode) => () =>
|
|
22983
|
+
const setFilesView = (mode) => () => chunkHGD4B7GO_cjs.useFilesPrefs.getState().setViewMode(mode);
|
|
22984
22984
|
const actions = [
|
|
22985
22985
|
{
|
|
22986
22986
|
id: "goto-user-settings",
|
|
@@ -23045,7 +23045,7 @@ function createBuiltinActions(environment, session) {
|
|
|
23045
23045
|
icon: "Files",
|
|
23046
23046
|
keywords: ["download", "csv", "excel"],
|
|
23047
23047
|
available: inWorkspace,
|
|
23048
|
-
run: () =>
|
|
23048
|
+
run: () => chunkHGD4B7GO_cjs.useFilesDialogs.getState().setExportOpen(true)
|
|
23049
23049
|
},
|
|
23050
23050
|
{
|
|
23051
23051
|
id: "bulk-tag-documents",
|
|
@@ -23054,7 +23054,7 @@ function createBuiltinActions(environment, session) {
|
|
|
23054
23054
|
icon: "Tags",
|
|
23055
23055
|
keywords: ["labels", "categorize", "bulk tag"],
|
|
23056
23056
|
available: inWorkspace,
|
|
23057
|
-
run: () =>
|
|
23057
|
+
run: () => chunkHGD4B7GO_cjs.useFilesDialogs.getState().setBulkTagsOpen(true)
|
|
23058
23058
|
},
|
|
23059
23059
|
{
|
|
23060
23060
|
id: "move-to-folder",
|
|
@@ -23063,7 +23063,7 @@ function createBuiltinActions(environment, session) {
|
|
|
23063
23063
|
icon: "FolderInput",
|
|
23064
23064
|
keywords: ["organize", "relocate"],
|
|
23065
23065
|
available: inWorkspace,
|
|
23066
|
-
run: () =>
|
|
23066
|
+
run: () => chunkHGD4B7GO_cjs.useFilesDialogs.getState().openMove()
|
|
23067
23067
|
},
|
|
23068
23068
|
{
|
|
23069
23069
|
id: "ai-review-documents",
|
|
@@ -23072,7 +23072,7 @@ function createBuiltinActions(environment, session) {
|
|
|
23072
23072
|
icon: "Sparkles",
|
|
23073
23073
|
keywords: ["auto tag", "analyze", "suggest tags"],
|
|
23074
23074
|
available: inWorkspace,
|
|
23075
|
-
run: () =>
|
|
23075
|
+
run: () => chunkHGD4B7GO_cjs.useAiReviewStore.getState().setOpen(true)
|
|
23076
23076
|
},
|
|
23077
23077
|
{
|
|
23078
23078
|
id: "docs-grid-view",
|
|
@@ -23540,7 +23540,7 @@ function ConnectedRemoteControlConsent() {
|
|
|
23540
23540
|
}
|
|
23541
23541
|
function ConsentPrompt() {
|
|
23542
23542
|
const pending = react$1.useRemoteControl((s) => s.pending);
|
|
23543
|
-
const remote =
|
|
23543
|
+
const remote = chunkPTT5MZ7O_cjs.useRemoteControlActions();
|
|
23544
23544
|
const onceRef = react.useRef(null);
|
|
23545
23545
|
chunkNZNBJF3M_cjs.useMountedSurface("consent");
|
|
23546
23546
|
const handleOpenChange = (next) => {
|
|
@@ -23633,7 +23633,7 @@ function Indicator() {
|
|
|
23633
23633
|
const enabled = react$1.useRemoteControl((s) => s.enabled);
|
|
23634
23634
|
const sharing = react$1.useRemoteControl((s) => !!s.sharing);
|
|
23635
23635
|
const controllingAgent = react$1.useRemoteControl((s) => s.controllingAgent);
|
|
23636
|
-
const remote =
|
|
23636
|
+
const remote = chunkPTT5MZ7O_cjs.useRemoteControlActions();
|
|
23637
23637
|
if (!enabled && !controllingAgent) return null;
|
|
23638
23638
|
const isActive = controllingAgent !== null;
|
|
23639
23639
|
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";
|
|
@@ -23679,7 +23679,7 @@ function AddFromAccountsButton({
|
|
|
23679
23679
|
className: "gap-2",
|
|
23680
23680
|
"data-testid": dataTestId,
|
|
23681
23681
|
children: [
|
|
23682
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
23682
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
|
|
23683
23683
|
"Add from accounts"
|
|
23684
23684
|
]
|
|
23685
23685
|
}
|
|
@@ -23763,7 +23763,7 @@ function ConnectedUploadDropzone({
|
|
|
23763
23763
|
const onFiles = browse(fileInputRef);
|
|
23764
23764
|
const onFolder = browse(folderInputRef);
|
|
23765
23765
|
const dropTarget = /* @__PURE__ */ jsxRuntime.jsx(
|
|
23766
|
-
|
|
23766
|
+
chunk44M4FI2N_cjs.UploadDropArea,
|
|
23767
23767
|
{
|
|
23768
23768
|
isActive: dragActive,
|
|
23769
23769
|
isDisabled: disabled,
|
|
@@ -23777,11 +23777,11 @@ function ConnectedUploadDropzone({
|
|
|
23777
23777
|
onClick: (e) => {
|
|
23778
23778
|
if (e.target === e.currentTarget) onFiles();
|
|
23779
23779
|
},
|
|
23780
|
-
actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
23780
|
+
actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
|
|
23781
23781
|
}
|
|
23782
23782
|
);
|
|
23783
23783
|
const urlDialog = (trigger) => onUrlsSubmit ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
23784
|
-
|
|
23784
|
+
chunk44M4FI2N_cjs.UrlInputDialog,
|
|
23785
23785
|
{
|
|
23786
23786
|
onUrlsSubmit,
|
|
23787
23787
|
processing: disabled,
|
|
@@ -23794,12 +23794,12 @@ function ConnectedUploadDropzone({
|
|
|
23794
23794
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
23795
23795
|
dropTarget,
|
|
23796
23796
|
compactLeadingAction,
|
|
23797
|
-
onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(
|
|
23797
|
+
onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
|
|
23798
23798
|
] });
|
|
23799
23799
|
}
|
|
23800
23800
|
if (!source) {
|
|
23801
23801
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23802
|
-
|
|
23802
|
+
chunk44M4FI2N_cjs.UploadSourcePicker,
|
|
23803
23803
|
{
|
|
23804
23804
|
isDisabled: disabled,
|
|
23805
23805
|
options: [
|
|
@@ -23835,14 +23835,14 @@ function ConnectedUploadDropzone({
|
|
|
23835
23835
|
}
|
|
23836
23836
|
if (source === "computer") {
|
|
23837
23837
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
23838
|
-
|
|
23838
|
+
chunk44M4FI2N_cjs.UploadSourceSection,
|
|
23839
23839
|
{
|
|
23840
23840
|
testId: "upload-source-computer",
|
|
23841
23841
|
className: "flex w-full flex-col gap-3 pointer-coarse:flex-col-reverse",
|
|
23842
23842
|
children: [
|
|
23843
23843
|
dropTarget,
|
|
23844
23844
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23845
|
-
|
|
23845
|
+
chunk44M4FI2N_cjs.UploadBrowseButtons,
|
|
23846
23846
|
{
|
|
23847
23847
|
layout: "grid",
|
|
23848
23848
|
onFiles,
|
|
@@ -23855,15 +23855,15 @@ function ConnectedUploadDropzone({
|
|
|
23855
23855
|
);
|
|
23856
23856
|
}
|
|
23857
23857
|
if (source === "internet" && onUrlsSubmit) {
|
|
23858
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23858
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
|
|
23859
23859
|
}
|
|
23860
23860
|
if (source === "email" && accounts) {
|
|
23861
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23861
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
|
|
23862
23862
|
}
|
|
23863
23863
|
return null;
|
|
23864
23864
|
})();
|
|
23865
23865
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
23866
|
-
|
|
23866
|
+
chunk44M4FI2N_cjs.UploadFrame,
|
|
23867
23867
|
{
|
|
23868
23868
|
isCompact: compact,
|
|
23869
23869
|
isDimmed: disabled || processingMessage !== null,
|
|
@@ -23924,7 +23924,7 @@ function EmptyWorkspaceUpload({
|
|
|
23924
23924
|
compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
|
|
23925
23925
|
}
|
|
23926
23926
|
),
|
|
23927
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23927
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.PrivacyExplainerModal, {})
|
|
23928
23928
|
] })
|
|
23929
23929
|
}
|
|
23930
23930
|
);
|
|
@@ -24031,9 +24031,9 @@ function useDocumentFilters({
|
|
|
24031
24031
|
const { data: members = [] } = react$1.useWorkspaceUsers();
|
|
24032
24032
|
const user = members.find((m) => m.user.external_id === currentUserId)?.user;
|
|
24033
24033
|
const offlineIds = react$1.useOfflineDocumentIds();
|
|
24034
|
-
const pendingFolders =
|
|
24035
|
-
const persistedDocumentFilters =
|
|
24036
|
-
const setPersistedDocumentFilters =
|
|
24034
|
+
const pendingFolders = chunkHGD4B7GO_cjs.usePendingFolders(selectedWorkspaceId);
|
|
24035
|
+
const persistedDocumentFilters = chunkHGD4B7GO_cjs.useFilesPrefs((state) => state.documentFilters);
|
|
24036
|
+
const setPersistedDocumentFilters = chunkHGD4B7GO_cjs.useFilesPrefs((state) => state.setDocumentFilters);
|
|
24037
24037
|
const folderTree = react.useMemo(() => {
|
|
24038
24038
|
const allPaths = /* @__PURE__ */ new Set();
|
|
24039
24039
|
let hasUnfiled = false;
|
|
@@ -24254,7 +24254,7 @@ function useDocumentFilters({
|
|
|
24254
24254
|
{
|
|
24255
24255
|
id: "uploaded_by_me",
|
|
24256
24256
|
label: "Uploaded by me",
|
|
24257
|
-
icon: user ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24257
|
+
icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkBNHFDXJI_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
|
|
24258
24258
|
count: docs.filter((doc) => doc.created_by_ext_id === currentUserId).length
|
|
24259
24259
|
},
|
|
24260
24260
|
{
|
|
@@ -24375,7 +24375,7 @@ function useDocumentFilters({
|
|
|
24375
24375
|
const folderPath = react.useMemo(() => {
|
|
24376
24376
|
for (const [key, state] of documentFilters) {
|
|
24377
24377
|
if (key.startsWith("folder:") && key !== "folder:none" && state === "include") {
|
|
24378
|
-
return
|
|
24378
|
+
return chunk44M4FI2N_cjs.parseFolderSegments(key.slice("folder:".length));
|
|
24379
24379
|
}
|
|
24380
24380
|
}
|
|
24381
24381
|
return [];
|
|
@@ -24384,7 +24384,7 @@ function useDocumentFilters({
|
|
|
24384
24384
|
(path) => {
|
|
24385
24385
|
const next = new Map(documentFilters);
|
|
24386
24386
|
for (const key of next.keys()) if (key.startsWith("folder:")) next.set(key, null);
|
|
24387
|
-
const joined =
|
|
24387
|
+
const joined = chunk44M4FI2N_cjs.joinFolderPath(path);
|
|
24388
24388
|
if (joined) next.set(`folder:${joined}`, "include");
|
|
24389
24389
|
setDocumentFilters(next);
|
|
24390
24390
|
},
|
|
@@ -24611,7 +24611,7 @@ function ConnectedSearchPage({ embedded = false, labels }) {
|
|
|
24611
24611
|
const scopeCount = scope.count;
|
|
24612
24612
|
const tooMany = !!scopeDocIds && scopeDocIds.length > react$1.MAX_RETRIEVE_DOC_IDS;
|
|
24613
24613
|
const tooManyMessage = tooMany ? l.tooManyDocuments(scopeCount, react$1.MAX_RETRIEVE_DOC_IDS) : void 0;
|
|
24614
|
-
const uploadUrls =
|
|
24614
|
+
const uploadUrls = chunkYO7GDNEW_cjs.useAddFromUrls({
|
|
24615
24615
|
onZipFiles: (files2) => openUpload?.(files2, { source: "computer" })
|
|
24616
24616
|
});
|
|
24617
24617
|
const search = react$1.useSemanticSearch(scopeDocIds ?? [], {
|
|
@@ -26967,7 +26967,7 @@ function ConnectedMailbox({
|
|
|
26967
26967
|
onTabChange: () => {
|
|
26968
26968
|
},
|
|
26969
26969
|
compactBreakpoint: 360,
|
|
26970
|
-
firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
26970
|
+
firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.FilesFilterBar, { children: [
|
|
26971
26971
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
26972
26972
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
26973
26973
|
{
|
|
@@ -27002,7 +27002,7 @@ function ConnectedMailbox({
|
|
|
27002
27002
|
}
|
|
27003
27003
|
),
|
|
27004
27004
|
folderList && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 items-center gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
27005
|
-
|
|
27005
|
+
chunk44M4FI2N_cjs.FolderFilterButton,
|
|
27006
27006
|
{
|
|
27007
27007
|
label: folderList.find((f) => f.id === folderId)?.name ?? "Folders",
|
|
27008
27008
|
isActive: false,
|
|
@@ -27010,7 +27010,7 @@ function ConnectedMailbox({
|
|
|
27010
27010
|
onOpenChange: setFolderMenuOpen,
|
|
27011
27011
|
testId: "mail-folder-button",
|
|
27012
27012
|
children: folderList.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
27013
|
-
|
|
27013
|
+
chunk44M4FI2N_cjs.FolderPickerRow,
|
|
27014
27014
|
{
|
|
27015
27015
|
label: item.name,
|
|
27016
27016
|
count: item.unread > 0 ? item.unread : void 0,
|
|
@@ -27524,7 +27524,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
27524
27524
|
}) {
|
|
27525
27525
|
const authenticated = react$1.useArbiSession().status === "signed-in";
|
|
27526
27526
|
const { openMail } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
27527
|
-
const { loading } =
|
|
27527
|
+
const { loading } = chunkPTT5MZ7O_cjs.useAuthPages();
|
|
27528
27528
|
const claim = react$1.useClaimSecureMail();
|
|
27529
27529
|
const [, setFirstLoginWorkspaces] = react$1.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
|
|
27530
27530
|
const [failure, setFailure] = react.useState(null);
|
|
@@ -27564,7 +27564,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
27564
27564
|
}
|
|
27565
27565
|
})();
|
|
27566
27566
|
}, [authenticated, claimId, key]);
|
|
27567
|
-
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
27567
|
+
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkHJHDKS4V_cjs.LoadingIndicator, { variant: "splash" }) });
|
|
27568
27568
|
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: [
|
|
27569
27569
|
/* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
|
|
27570
27570
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -29509,42 +29509,42 @@ function useConnectedCalendarCalls() {
|
|
|
29509
29509
|
[knownUsers]
|
|
29510
29510
|
);
|
|
29511
29511
|
return react.useMemo(() => {
|
|
29512
|
-
const users = (attendees) =>
|
|
29512
|
+
const users = (attendees) => chunkYO7GDNEW_cjs.resolveAttendeeUsersRemote(arbi, attendees, known, me);
|
|
29513
29513
|
return {
|
|
29514
29514
|
canSchedule,
|
|
29515
29515
|
async create(draft, webinarRoles) {
|
|
29516
29516
|
const resolved = await users(draft.attendees ?? []);
|
|
29517
|
-
return
|
|
29517
|
+
return chunkYO7GDNEW_cjs.createEventCall(arbi, {
|
|
29518
29518
|
title: draft.title,
|
|
29519
|
-
peers:
|
|
29520
|
-
webinar: webinarRoles ? { roles:
|
|
29519
|
+
peers: chunkYO7GDNEW_cjs.distinctPeers(resolved),
|
|
29520
|
+
webinar: webinarRoles ? { roles: chunkYO7GDNEW_cjs.webinarRolesByUser(webinarRoles, resolved) } : null
|
|
29521
29521
|
});
|
|
29522
29522
|
},
|
|
29523
29523
|
async share(draft) {
|
|
29524
|
-
await
|
|
29524
|
+
await chunkYO7GDNEW_cjs.shareEventCall(
|
|
29525
29525
|
arbi,
|
|
29526
29526
|
draft.conference,
|
|
29527
|
-
await
|
|
29527
|
+
await chunkYO7GDNEW_cjs.resolveCallPeersRemote(arbi, draft.attendees ?? [], known, me)
|
|
29528
29528
|
);
|
|
29529
29529
|
},
|
|
29530
|
-
loadWebinarRoles: (url, attendees) =>
|
|
29530
|
+
loadWebinarRoles: (url, attendees) => chunkYO7GDNEW_cjs.loadEventWebinar(arbi, url, attendees),
|
|
29531
29531
|
async saveWebinarRoles(url, roles, attendees) {
|
|
29532
29532
|
const resolved = await users(attendees);
|
|
29533
|
-
await
|
|
29533
|
+
await chunkYO7GDNEW_cjs.updateEventWebinarRoles(
|
|
29534
29534
|
arbi,
|
|
29535
29535
|
url,
|
|
29536
|
-
|
|
29537
|
-
|
|
29536
|
+
chunkYO7GDNEW_cjs.webinarRolesByUser(roles, resolved),
|
|
29537
|
+
chunkYO7GDNEW_cjs.distinctPeers(resolved)
|
|
29538
29538
|
);
|
|
29539
29539
|
},
|
|
29540
29540
|
async arbiAttendees(attendees) {
|
|
29541
29541
|
return new Set((await users(attendees)).keys());
|
|
29542
29542
|
},
|
|
29543
29543
|
join(url) {
|
|
29544
|
-
void
|
|
29544
|
+
void chunkYO7GDNEW_cjs.joinEventMeeting(arbi, url);
|
|
29545
29545
|
},
|
|
29546
29546
|
openChat(url) {
|
|
29547
|
-
const parsed =
|
|
29547
|
+
const parsed = chunkYO7GDNEW_cjs.parseArbiCallUrl(url);
|
|
29548
29548
|
if (parsed) void openCallMeetingChat({ callExtId: parsed.callId, callKey: parsed.key });
|
|
29549
29549
|
}
|
|
29550
29550
|
};
|
|
@@ -30083,7 +30083,7 @@ function ConnectedCalendar({
|
|
|
30083
30083
|
}
|
|
30084
30084
|
),
|
|
30085
30085
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30086
|
-
|
|
30086
|
+
chunkYO7GDNEW_cjs.ConnectedUpcomingEvents,
|
|
30087
30087
|
{
|
|
30088
30088
|
timeZone: zone,
|
|
30089
30089
|
showDeclined: !!settings.show_declined,
|
|
@@ -30719,7 +30719,7 @@ function ProcessingSettingsFooter({
|
|
|
30719
30719
|
[configField]
|
|
30720
30720
|
);
|
|
30721
30721
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30722
|
-
|
|
30722
|
+
chunk44M4FI2N_cjs.UploadFooterBar,
|
|
30723
30723
|
{
|
|
30724
30724
|
skipDuplicates,
|
|
30725
30725
|
onSkipDuplicatesChange: (value) => handleConfigChange("Parser", "SKIP_DUPLICATES", value),
|
|
@@ -30728,7 +30728,7 @@ function ProcessingSettingsFooter({
|
|
|
30728
30728
|
autoRenameInstruction,
|
|
30729
30729
|
onAutoRenameInstructionChange: (value) => handleConfigChange("DoctagLLM", "AUTO_RENAME_INSTRUCTION", value),
|
|
30730
30730
|
shareToggle: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30731
|
-
|
|
30731
|
+
chunk44M4FI2N_cjs.ShareToggle,
|
|
30732
30732
|
{
|
|
30733
30733
|
isVisible: isShared,
|
|
30734
30734
|
onToggle: onSharedChange,
|
|
@@ -30858,7 +30858,7 @@ ${summary}`,
|
|
|
30858
30858
|
fail2
|
|
30859
30859
|
]);
|
|
30860
30860
|
const zipFilesAdded = react.useRef(false);
|
|
30861
|
-
const addFromUrls =
|
|
30861
|
+
const addFromUrls = chunkYO7GDNEW_cjs.useAddFromUrls({
|
|
30862
30862
|
shared,
|
|
30863
30863
|
configExtId,
|
|
30864
30864
|
onZipFiles: (zipFiles) => {
|
|
@@ -30905,7 +30905,7 @@ ${summary}`,
|
|
|
30905
30905
|
}
|
|
30906
30906
|
);
|
|
30907
30907
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-0 flex-1 flex-col", "data-testid": "upload-documents", children: [
|
|
30908
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30908
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
|
|
30909
30909
|
files2.length === 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
30910
30910
|
ConnectedUploadDropzone,
|
|
30911
30911
|
{
|
|
@@ -30921,7 +30921,7 @@ ${summary}`,
|
|
|
30921
30921
|
}
|
|
30922
30922
|
),
|
|
30923
30923
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30924
|
-
|
|
30924
|
+
chunk44M4FI2N_cjs.SelectedFilesList,
|
|
30925
30925
|
{
|
|
30926
30926
|
renderFileIcon,
|
|
30927
30927
|
files: files2,
|
|
@@ -30930,10 +30930,10 @@ ${summary}`,
|
|
|
30930
30930
|
formatFileSize: formatFileSize4
|
|
30931
30931
|
}
|
|
30932
30932
|
),
|
|
30933
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30934
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
30935
|
-
] }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
30936
|
-
|
|
30933
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
|
|
30934
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.UploadErrorMessage, { message: error })
|
|
30935
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30936
|
+
chunk44M4FI2N_cjs.UploadProgress,
|
|
30937
30937
|
{
|
|
30938
30938
|
fileCount: count2,
|
|
30939
30939
|
entityLabel: plural4(count2),
|
|
@@ -31095,14 +31095,14 @@ function NativeMailImportSection({
|
|
|
31095
31095
|
),
|
|
31096
31096
|
onError: (e) => notify19(e instanceof Error ? e.message : "Could not add mail", "error")
|
|
31097
31097
|
});
|
|
31098
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31099
|
-
|
|
31098
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.ImportFamilySection, { label: "Mail", identity: native.email, testId: "import-family-native", children: /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.ImportList, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31099
|
+
chunk44M4FI2N_cjs.ImportRow,
|
|
31100
31100
|
{
|
|
31101
31101
|
testId: "email-provider-row-native",
|
|
31102
31102
|
logo: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mail, { className: "h-7 w-7 text-primary", "aria-hidden": "true" }),
|
|
31103
31103
|
name: NATIVE_MAILBOX_SOURCE.display_name,
|
|
31104
31104
|
actions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31105
|
-
|
|
31105
|
+
chunk44M4FI2N_cjs.ImportRunActions,
|
|
31106
31106
|
{
|
|
31107
31107
|
isRunning: false,
|
|
31108
31108
|
isBusy: fileNow.isPending,
|
|
@@ -31116,10 +31116,10 @@ function NativeMailImportSection({
|
|
|
31116
31116
|
),
|
|
31117
31117
|
children: [
|
|
31118
31118
|
here && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31119
|
-
|
|
31119
|
+
chunk44M4FI2N_cjs.ImportSummary,
|
|
31120
31120
|
{
|
|
31121
|
-
aside: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31122
|
-
|
|
31121
|
+
aside: /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.ImportAside, { children: here.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31122
|
+
chunk44M4FI2N_cjs.FolderSummary,
|
|
31123
31123
|
{
|
|
31124
31124
|
names: here.folders.map(
|
|
31125
31125
|
(id) => NATIVE_MAILBOX_FOLDERS.find((f) => f.id === id)?.name
|
|
@@ -31161,7 +31161,7 @@ var PROVIDER_FAMILIES = [
|
|
|
31161
31161
|
{ key: "google", label: "Google", vendors: ["gmail"] }
|
|
31162
31162
|
];
|
|
31163
31163
|
function VendorGlyph({ catalog }) {
|
|
31164
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31164
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
|
|
31165
31165
|
}
|
|
31166
31166
|
function mailboxProductName(catalog) {
|
|
31167
31167
|
if (catalog.vendor_key === "microsoft") return "Outlook";
|
|
@@ -31229,7 +31229,7 @@ function EmailProviderRow({
|
|
|
31229
31229
|
const emailNoun = (n) => n === 1 ? "email" : "emails";
|
|
31230
31230
|
const syncedCount = thisSync?.synced_count ?? 0;
|
|
31231
31231
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31232
|
-
|
|
31232
|
+
chunk44M4FI2N_cjs.ImportRow,
|
|
31233
31233
|
{
|
|
31234
31234
|
testId: `email-provider-row-${catalog.vendor_key}`,
|
|
31235
31235
|
logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph, { catalog }),
|
|
@@ -31238,7 +31238,7 @@ function EmailProviderRow({
|
|
|
31238
31238
|
// Connecting AND reconnecting are owned by the family header, so a
|
|
31239
31239
|
// not-connected or needs-reconnect row shows no button of its own.
|
|
31240
31240
|
!isConnected || needsReconnect ? null : /* @__PURE__ */ jsxRuntime.jsx(
|
|
31241
|
-
|
|
31241
|
+
chunk44M4FI2N_cjs.ImportRunActions,
|
|
31242
31242
|
{
|
|
31243
31243
|
isRunning: running,
|
|
31244
31244
|
isStopping: cancelSync.isPending,
|
|
@@ -31254,10 +31254,10 @@ function EmailProviderRow({
|
|
|
31254
31254
|
),
|
|
31255
31255
|
children: [
|
|
31256
31256
|
isConnected && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31257
|
-
|
|
31257
|
+
chunk44M4FI2N_cjs.ImportSummary,
|
|
31258
31258
|
{
|
|
31259
|
-
aside: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31260
|
-
|
|
31259
|
+
aside: /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31260
|
+
chunk44M4FI2N_cjs.FolderSummary,
|
|
31261
31261
|
{
|
|
31262
31262
|
names: thisSync.folders.map(
|
|
31263
31263
|
(id) => mailboxFolders?.find((f) => f.id === id)?.name
|
|
@@ -31281,7 +31281,7 @@ function EmailProviderRow({
|
|
|
31281
31281
|
}
|
|
31282
31282
|
),
|
|
31283
31283
|
running && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31284
|
-
|
|
31284
|
+
chunk44M4FI2N_cjs.ImportProgress,
|
|
31285
31285
|
{
|
|
31286
31286
|
processed: progress?.processed ?? 0,
|
|
31287
31287
|
total: progress?.total,
|
|
@@ -31399,11 +31399,11 @@ function EmailImportPanel({
|
|
|
31399
31399
|
return { family, entries, extra, identity, connectVendor, connected, needsReconnect };
|
|
31400
31400
|
}).filter((g) => g.entries.length > 0 || g.extra);
|
|
31401
31401
|
if (!ownMailbox && groups.length === 0) return null;
|
|
31402
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31402
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.ImportPanel, { "data-testid": "email-import-panel", children: [
|
|
31403
31403
|
ownMailbox && /* @__PURE__ */ jsxRuntime.jsx(NativeMailImportSection, { workspaceExtId, native: ownMailbox }),
|
|
31404
31404
|
groups.map(
|
|
31405
31405
|
({ family, entries, extra, identity, connectVendor, connected, needsReconnect }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
31406
|
-
|
|
31406
|
+
chunk44M4FI2N_cjs.ImportFamilySection,
|
|
31407
31407
|
{
|
|
31408
31408
|
label: family.label,
|
|
31409
31409
|
identity,
|
|
@@ -31412,7 +31412,7 @@ function EmailImportPanel({
|
|
|
31412
31412
|
onAction: () => void (!connected ? connectFamily(connectVendor) : needsReconnect ? reconnectFamily(connectVendor) : disconnectFamily(family, connectVendor, identity)),
|
|
31413
31413
|
testId: `import-family-${family.key}`,
|
|
31414
31414
|
actionButton: !connected ? { testId: `import-family-connect-${family.key}` } : needsReconnect ? { testId: `import-family-reconnect-${family.key}` } : { testId: `import-family-disconnect-${family.key}` },
|
|
31415
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31415
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.ImportList, { children: [
|
|
31416
31416
|
entries.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
31417
31417
|
EmailProviderRow,
|
|
31418
31418
|
{
|
|
@@ -31497,7 +31497,7 @@ function driveProduct(vendorKey) {
|
|
|
31497
31497
|
}
|
|
31498
31498
|
function VendorGlyph2({ catalog }) {
|
|
31499
31499
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31500
|
-
|
|
31500
|
+
chunk44M4FI2N_cjs.VendorLogo,
|
|
31501
31501
|
{
|
|
31502
31502
|
vendorKey: catalog.vendor_key,
|
|
31503
31503
|
product: driveProduct(catalog.vendor_key).glyph,
|
|
@@ -31620,7 +31620,7 @@ function OneDriveProviderRow({
|
|
|
31620
31620
|
const driveNoun = (n) => n === 1 ? "document" : "documents";
|
|
31621
31621
|
const showRunActions = isConnected && !needsReconnect;
|
|
31622
31622
|
const reconnectAction = ownsAuth && needsReconnect ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
31623
|
-
|
|
31623
|
+
chunk44M4FI2N_cjs.ImportActionButton,
|
|
31624
31624
|
{
|
|
31625
31625
|
onClick: () => void reconnectSelf(),
|
|
31626
31626
|
disabled: reauthPending,
|
|
@@ -31629,7 +31629,7 @@ function OneDriveProviderRow({
|
|
|
31629
31629
|
}
|
|
31630
31630
|
) : null;
|
|
31631
31631
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31632
|
-
|
|
31632
|
+
chunk44M4FI2N_cjs.ImportRow,
|
|
31633
31633
|
{
|
|
31634
31634
|
testId: `onedrive-provider-row-${catalog.vendor_key}`,
|
|
31635
31635
|
logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph2, { catalog }),
|
|
@@ -31641,7 +31641,7 @@ function OneDriveProviderRow({
|
|
|
31641
31641
|
// Until folders are configured here (or when nothing new is pending), Import now
|
|
31642
31642
|
// stays disabled; the gear opens the folder picker.
|
|
31643
31643
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31644
|
-
|
|
31644
|
+
chunk44M4FI2N_cjs.ImportRunActions,
|
|
31645
31645
|
{
|
|
31646
31646
|
isRunning: running,
|
|
31647
31647
|
isStopping: cancelSync.isPending,
|
|
@@ -31660,16 +31660,16 @@ function OneDriveProviderRow({
|
|
|
31660
31660
|
) : reconnectAction
|
|
31661
31661
|
),
|
|
31662
31662
|
children: [
|
|
31663
|
-
ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31663
|
+
ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
|
|
31664
31664
|
"Couldn\u2019t reach SharePoint. Click ",
|
|
31665
31665
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: "Reconnect" }),
|
|
31666
31666
|
" \u2014 if it keeps happening, log out and back in to refresh the connection."
|
|
31667
31667
|
] }),
|
|
31668
31668
|
configuredHere && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31669
|
-
|
|
31669
|
+
chunk44M4FI2N_cjs.ImportSummary,
|
|
31670
31670
|
{
|
|
31671
31671
|
className: "mt-2",
|
|
31672
|
-
aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
31672
|
+
aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_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,
|
|
31673
31673
|
children: [
|
|
31674
31674
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
31675
31675
|
"Syncing ",
|
|
@@ -31697,7 +31697,7 @@ function OneDriveProviderRow({
|
|
|
31697
31697
|
}
|
|
31698
31698
|
),
|
|
31699
31699
|
running && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31700
|
-
|
|
31700
|
+
chunk44M4FI2N_cjs.ImportProgress,
|
|
31701
31701
|
{
|
|
31702
31702
|
processed: progress?.processed ?? 0,
|
|
31703
31703
|
total: progress?.total,
|
|
@@ -31761,13 +31761,13 @@ function SharePointEnableRow({
|
|
|
31761
31761
|
}
|
|
31762
31762
|
};
|
|
31763
31763
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31764
|
-
|
|
31764
|
+
chunk44M4FI2N_cjs.ImportRow,
|
|
31765
31765
|
{
|
|
31766
31766
|
testId: `onedrive-provider-row-${catalog.vendor_key}`,
|
|
31767
|
-
logo: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31767
|
+
logo: /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
|
|
31768
31768
|
name: product.name,
|
|
31769
31769
|
actions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31770
|
-
|
|
31770
|
+
chunk44M4FI2N_cjs.ImportActionButton,
|
|
31771
31771
|
{
|
|
31772
31772
|
onClick: () => void enable(),
|
|
31773
31773
|
disabled: pending,
|
|
@@ -31775,7 +31775,7 @@ function SharePointEnableRow({
|
|
|
31775
31775
|
children: pending ? "Enabling\u2026" : `Enable ${product.name}`
|
|
31776
31776
|
}
|
|
31777
31777
|
),
|
|
31778
|
-
children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31778
|
+
children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.ImportHint, { children: [
|
|
31779
31779
|
"Does your organization require admin approval?",
|
|
31780
31780
|
" ",
|
|
31781
31781
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -31824,11 +31824,11 @@ function DriveImportPanel({
|
|
|
31824
31824
|
}
|
|
31825
31825
|
const product = driveProduct(entry.vendor_key);
|
|
31826
31826
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31827
|
-
|
|
31827
|
+
chunk44M4FI2N_cjs.ImportRow,
|
|
31828
31828
|
{
|
|
31829
31829
|
testId: `onedrive-provider-row-${entry.vendor_key}`,
|
|
31830
31830
|
logo: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31831
|
-
|
|
31831
|
+
chunk44M4FI2N_cjs.VendorLogo,
|
|
31832
31832
|
{
|
|
31833
31833
|
vendorKey: entry.vendor_key,
|
|
31834
31834
|
product: product.glyph,
|
|
@@ -31853,7 +31853,7 @@ function DriveImportPanel({
|
|
|
31853
31853
|
);
|
|
31854
31854
|
}).filter(Boolean);
|
|
31855
31855
|
if (rows.length === 0) return null;
|
|
31856
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31856
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
|
|
31857
31857
|
}
|
|
31858
31858
|
function useHasAccountsImport() {
|
|
31859
31859
|
const isVendorVisible = react$1.useConnectorVendorVisibility();
|
|
@@ -31955,7 +31955,7 @@ function ConnectedUploadDialog({ props, onClose }) {
|
|
|
31955
31955
|
title: source ? TITLES[source] : `Add ${ui.getEntityLabel("DOCUMENT", "PLURAL")}`,
|
|
31956
31956
|
description: `Upload documents to ${workspace.name}`,
|
|
31957
31957
|
workspaceName: workspace.name,
|
|
31958
|
-
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31958
|
+
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkYO7GDNEW_cjs.ConnectedWorkspaceEntity, { workspace, size: 16, variant: "icon" })
|
|
31959
31959
|
}
|
|
31960
31960
|
),
|
|
31961
31961
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-0 flex-1 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -31998,7 +31998,7 @@ function ConnectedBulkTagCrumbs() {
|
|
|
31998
31998
|
{
|
|
31999
31999
|
items: [
|
|
32000
32000
|
{
|
|
32001
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32001
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkYO7GDNEW_cjs.ConnectedWorkspaceEntity, { workspace, size: 16, variant: "icon" }),
|
|
32002
32002
|
label: workspace.name
|
|
32003
32003
|
},
|
|
32004
32004
|
...pageLabel ? [{ icon: /* @__PURE__ */ jsxRuntime.jsx(ui.EntityIcon, { entityType: "DOCUMENT", className: "size-4" }), label: pageLabel }] : []
|
|
@@ -32025,7 +32025,7 @@ function DocumentNameCellRenderer(params) {
|
|
|
32025
32025
|
if (!doc) return null;
|
|
32026
32026
|
const context = params.context;
|
|
32027
32027
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32028
|
-
|
|
32028
|
+
chunkBNHFDXJI_cjs.DocumentNameCell,
|
|
32029
32029
|
{
|
|
32030
32030
|
doc,
|
|
32031
32031
|
canEdit: canEdit(params),
|
|
@@ -32043,7 +32043,7 @@ function DocumentNameCellRenderer(params) {
|
|
|
32043
32043
|
function SharedCellRenderer(params) {
|
|
32044
32044
|
if (!params.data) return null;
|
|
32045
32045
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32046
|
-
|
|
32046
|
+
chunkBNHFDXJI_cjs.DocumentSharedCell,
|
|
32047
32047
|
{
|
|
32048
32048
|
document: params.data,
|
|
32049
32049
|
disabled: !params.canToggle(params),
|
|
@@ -32056,7 +32056,7 @@ function StatusCellRenderer(params) {
|
|
|
32056
32056
|
if (!params.data) return null;
|
|
32057
32057
|
const context = params.context;
|
|
32058
32058
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32059
|
-
|
|
32059
|
+
chunkBNHFDXJI_cjs.StatusCell,
|
|
32060
32060
|
{
|
|
32061
32061
|
doc: params.data,
|
|
32062
32062
|
onStatusClick: params.onStatusClick,
|
|
@@ -32068,7 +32068,7 @@ function LabelsCellRenderer(params) {
|
|
|
32068
32068
|
if (!params.data) return null;
|
|
32069
32069
|
const context = params.context;
|
|
32070
32070
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32071
|
-
|
|
32071
|
+
chunkBNHFDXJI_cjs.DocumentLabelsCell,
|
|
32072
32072
|
{
|
|
32073
32073
|
doc: params.data,
|
|
32074
32074
|
labels: params.labels,
|
|
@@ -32088,7 +32088,7 @@ function RelatedDocsCellRenderer(params) {
|
|
|
32088
32088
|
if (!related || react$1.getRelatedTotal(related) === 0) return null;
|
|
32089
32089
|
const { onOpenDocument, onDeleteDocument } = params;
|
|
32090
32090
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32091
|
-
|
|
32091
|
+
chunkBNHFDXJI_cjs.RelatedDocumentsCell,
|
|
32092
32092
|
{
|
|
32093
32093
|
currentDoc: params.data,
|
|
32094
32094
|
related,
|
|
@@ -32103,7 +32103,7 @@ function FolderCellRenderer(params) {
|
|
|
32103
32103
|
if (!params.data) return null;
|
|
32104
32104
|
const context = params.context;
|
|
32105
32105
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32106
|
-
|
|
32106
|
+
chunkBNHFDXJI_cjs.DocumentFolderCell,
|
|
32107
32107
|
{
|
|
32108
32108
|
document: params.data,
|
|
32109
32109
|
isEditable: params.canEdit(params),
|
|
@@ -32117,7 +32117,7 @@ function CreatedByCellRenderer(params) {
|
|
|
32117
32117
|
const context = params.context;
|
|
32118
32118
|
const creator = context?.getWorkspaceUsers?.().find((u) => u.external_id === params.data.created_by_ext_id);
|
|
32119
32119
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32120
|
-
|
|
32120
|
+
chunkBNHFDXJI_cjs.UserAvatar,
|
|
32121
32121
|
{
|
|
32122
32122
|
user: creator,
|
|
32123
32123
|
isMe: !!creator && creator.external_id === context?.getCurrentUserId?.(),
|
|
@@ -32130,7 +32130,7 @@ function CheckboxCellRenderer(params) {
|
|
|
32130
32130
|
if (!params.data) return null;
|
|
32131
32131
|
const isChecked = params.value === true;
|
|
32132
32132
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32133
|
-
|
|
32133
|
+
chunk44M4FI2N_cjs.CheckboxCell,
|
|
32134
32134
|
{
|
|
32135
32135
|
isChecked,
|
|
32136
32136
|
color: tagColor,
|
|
@@ -32150,13 +32150,13 @@ function TagHeaderComponent(params) {
|
|
|
32150
32150
|
return () => params.column.removeEventListener("sortChanged", updateSort);
|
|
32151
32151
|
}, [params.column]);
|
|
32152
32152
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32153
|
-
|
|
32153
|
+
chunk44M4FI2N_cjs.TagColumnHeader,
|
|
32154
32154
|
{
|
|
32155
32155
|
isCentered: isCheckbox,
|
|
32156
32156
|
sort,
|
|
32157
32157
|
onSort: params.enableSorting ? (additive) => params.progressSort(additive) : void 0,
|
|
32158
|
-
filter: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32159
|
-
label: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32158
|
+
filter: /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.FilterButton, { params, colId: tag.external_id }),
|
|
32159
|
+
label: /* @__PURE__ */ jsxRuntime.jsx(chunkDCD4OHDF_cjs.ConnectedTagEntity, { tag, size: "sm" })
|
|
32160
32160
|
}
|
|
32161
32161
|
);
|
|
32162
32162
|
}
|
|
@@ -32241,7 +32241,7 @@ function createTagColumn({
|
|
|
32241
32241
|
tagColor,
|
|
32242
32242
|
isMember
|
|
32243
32243
|
} : void 0,
|
|
32244
|
-
cellEditor: isSelect ?
|
|
32244
|
+
cellEditor: isSelect ? chunk44M4FI2N_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
|
|
32245
32245
|
cellEditorParams: isSelect ? createMultiSelectCellEditorParams(tag.tag_type.options || []) : isText ? { rows: 8, cols: 50 } : void 0,
|
|
32246
32246
|
cellEditorPopup: isText || isSelect,
|
|
32247
32247
|
// Text and Select tags use popup editor for better UX
|
|
@@ -32361,8 +32361,8 @@ function createDocumentColumns({
|
|
|
32361
32361
|
onShareDocument,
|
|
32362
32362
|
notify: notify19
|
|
32363
32363
|
}) {
|
|
32364
|
-
const isRowEditableByOwner = (params) =>
|
|
32365
|
-
const isRowEditableByMember = (params) =>
|
|
32364
|
+
const isRowEditableByOwner = (params) => chunk44M4FI2N_cjs.canChangeVisibility(params.data, currentUserExtId);
|
|
32365
|
+
const isRowEditableByMember = (params) => chunk44M4FI2N_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
|
|
32366
32366
|
const checkboxTags = availableTags.filter(browser.isLabelTag);
|
|
32367
32367
|
const allColumns = [];
|
|
32368
32368
|
allColumns.push({
|
|
@@ -32454,7 +32454,7 @@ function createDocumentColumns({
|
|
|
32454
32454
|
cellRenderer: DocumentNameCellRenderer,
|
|
32455
32455
|
cellRendererParams: {
|
|
32456
32456
|
canEdit: isRowEditableByMember,
|
|
32457
|
-
canDelete: (params) =>
|
|
32457
|
+
canDelete: (params) => chunk44M4FI2N_cjs.canDeleteDocument(params.data, currentUserExtId, workspaceRole),
|
|
32458
32458
|
onOpenDocument: handleToggleDocumentViewer,
|
|
32459
32459
|
onReviewDocument,
|
|
32460
32460
|
onDocumentChat,
|
|
@@ -32486,7 +32486,7 @@ function createDocumentColumns({
|
|
|
32486
32486
|
singleClickEdit: true,
|
|
32487
32487
|
cellEditor: "agSelectCellEditor",
|
|
32488
32488
|
cellEditorParams: {
|
|
32489
|
-
values: [...
|
|
32489
|
+
values: [...chunk44M4FI2N_cjs.DOCUMENT_TYPE_OPTIONS]
|
|
32490
32490
|
},
|
|
32491
32491
|
context: { icon: lucideReact.Sparkles },
|
|
32492
32492
|
valueGetter: (params) => ui.getDocumentNature(params.data) || "",
|
|
@@ -33024,7 +33024,7 @@ function useDocumentTable({
|
|
|
33024
33024
|
}
|
|
33025
33025
|
const stabilizedTagIds = prevTagIdsRef.current;
|
|
33026
33026
|
const stabilizedTagNames = prevTagNamesRef.current;
|
|
33027
|
-
const defaultVisibleColumns = react.useMemo(() => [...
|
|
33027
|
+
const defaultVisibleColumns = react.useMemo(() => [...chunk44M4FI2N_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
|
|
33028
33028
|
const confirmRef = react.useRef(confirm);
|
|
33029
33029
|
confirmRef.current = confirm;
|
|
33030
33030
|
const shareDocument = react.useCallback(async (docId) => {
|
|
@@ -33272,7 +33272,7 @@ function ConnectedFilesBulkActions({
|
|
|
33272
33272
|
const actions = react$1.useDocumentHostActions();
|
|
33273
33273
|
const isOnline = documentTools.useIsOnline();
|
|
33274
33274
|
const { userId } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
|
|
33275
|
-
const { role } =
|
|
33275
|
+
const { role } = chunkK7GBHLLY_cjs.useConnectedWorkspaceRole();
|
|
33276
33276
|
const offlineIds = react$1.useOfflineDocumentIds();
|
|
33277
33277
|
const keepOffline = react$1.useKeepDocumentsOffline();
|
|
33278
33278
|
const removeOffline = react$1.useRemoveDocumentsOffline();
|
|
@@ -33281,9 +33281,9 @@ function ConnectedFilesBulkActions({
|
|
|
33281
33281
|
const bulk = useDocumentBulkActions(selectedDocuments);
|
|
33282
33282
|
const count2 = selectedDocuments.length;
|
|
33283
33283
|
const noun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL");
|
|
33284
|
-
const shareState =
|
|
33284
|
+
const shareState = chunk44M4FI2N_cjs.shareStateOf(bulk.freshSelectedDocuments);
|
|
33285
33285
|
const canDelete = bulk.freshSelectedDocuments.every(
|
|
33286
|
-
(doc) =>
|
|
33286
|
+
(doc) => chunk44M4FI2N_cjs.canDeleteDocument(doc, userId ?? void 0, role ?? null)
|
|
33287
33287
|
);
|
|
33288
33288
|
const [confirming, setConfirming] = react.useState(null);
|
|
33289
33289
|
const allOffline = count2 > 0 && selectedDocuments.every((doc) => offlineIds.has(doc.external_id));
|
|
@@ -33295,7 +33295,7 @@ function ConnectedFilesBulkActions({
|
|
|
33295
33295
|
const { openDocumentsChat, openFieldsManager } = actions;
|
|
33296
33296
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
33297
33297
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33298
|
-
|
|
33298
|
+
chunk44M4FI2N_cjs.BulkActionsBar,
|
|
33299
33299
|
{
|
|
33300
33300
|
count: count2,
|
|
33301
33301
|
onClear: onClearSelection,
|
|
@@ -33320,7 +33320,7 @@ function ConnectedFilesBulkActions({
|
|
|
33320
33320
|
isOfflinePending: offlinePending,
|
|
33321
33321
|
onDelete: canDelete ? () => setConfirming("delete") : void 0,
|
|
33322
33322
|
shareState,
|
|
33323
|
-
shareTooltip:
|
|
33323
|
+
shareTooltip: chunk44M4FI2N_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
|
|
33324
33324
|
onShare: () => void bulk.share()
|
|
33325
33325
|
}
|
|
33326
33326
|
),
|
|
@@ -33335,7 +33335,7 @@ function ConnectedFilesBulkActions({
|
|
|
33335
33335
|
onClearSelection();
|
|
33336
33336
|
},
|
|
33337
33337
|
title: `Delete ${count2} ${noun}`,
|
|
33338
|
-
description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ?
|
|
33338
|
+
description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunk44M4FI2N_cjs.RECENTLY_DELETED_HINT : chunk44M4FI2N_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
|
|
33339
33339
|
confirmText: "Delete",
|
|
33340
33340
|
variant: "destructive"
|
|
33341
33341
|
}
|
|
@@ -33583,7 +33583,7 @@ function useAiReviewLiveUpdates() {
|
|
|
33583
33583
|
if (message.batch_type !== "doctag_generate") return;
|
|
33584
33584
|
const docIds = message.doc_ext_ids ?? [];
|
|
33585
33585
|
if (!docIds.length) return;
|
|
33586
|
-
void refreshDocuments(docIds).then(() =>
|
|
33586
|
+
void refreshDocuments(docIds).then(() => chunkHGD4B7GO_cjs.useAiReviewStore.getState().markFinished(docIds));
|
|
33587
33587
|
dropQueuedRows(docIds);
|
|
33588
33588
|
});
|
|
33589
33589
|
}
|
|
@@ -33618,7 +33618,7 @@ function useBatchCompleteToasts() {
|
|
|
33618
33618
|
const workspaceId = message.workspace_ext_id;
|
|
33619
33619
|
const docIds = message.doc_ext_ids ?? [];
|
|
33620
33620
|
const workspace = workspacesRef.current?.find((w) => w.external_id === workspaceId);
|
|
33621
|
-
const icon2 = workspace ? react.createElement(
|
|
33621
|
+
const icon2 = workspace ? react.createElement(chunkYO7GDNEW_cjs.ConnectedWorkspaceEntity, { workspace, variant: "icon", size: 20 }) : void 0;
|
|
33622
33622
|
const say = (text, kind, options = {}) => notify19(text, kind, { workspaceId, icon: icon2, ...options, ambient: false });
|
|
33623
33623
|
if (message.batch_type === "doctag_generate") {
|
|
33624
33624
|
const run = pending.current.get(workspaceId) ?? { docIds: /* @__PURE__ */ new Set(), icon: icon2 };
|
|
@@ -33629,7 +33629,7 @@ function useBatchCompleteToasts() {
|
|
|
33629
33629
|
timer.current = null;
|
|
33630
33630
|
const runs = pending.current;
|
|
33631
33631
|
pending.current = /* @__PURE__ */ new Map();
|
|
33632
|
-
const hasReview = !!
|
|
33632
|
+
const hasReview = !!chunkHGD4B7GO_cjs.useAiReviewStore.getState().run;
|
|
33633
33633
|
for (const [id, entry] of runs) {
|
|
33634
33634
|
const n = entry.docIds.size;
|
|
33635
33635
|
notify19(
|
|
@@ -33642,7 +33642,7 @@ function useBatchCompleteToasts() {
|
|
|
33642
33642
|
...hasReview && {
|
|
33643
33643
|
action: {
|
|
33644
33644
|
label: "View results",
|
|
33645
|
-
onClick: () =>
|
|
33645
|
+
onClick: () => chunkHGD4B7GO_cjs.useAiReviewStore.getState().setOpen(true)
|
|
33646
33646
|
}
|
|
33647
33647
|
}
|
|
33648
33648
|
}
|
|
@@ -33650,7 +33650,7 @@ function useBatchCompleteToasts() {
|
|
|
33650
33650
|
}
|
|
33651
33651
|
}, AI_FIELDS_NOTICE_WINDOW_MS);
|
|
33652
33652
|
} else if (message.batch_type === "entity_extract") {
|
|
33653
|
-
say(`${
|
|
33653
|
+
say(`${chunkHJHDKS4V_cjs.entitiesPhrase()} extracted from ${chunkHJHDKS4V_cjs.documentCount(docIds.length)}`, "success", {
|
|
33654
33654
|
...openTags && { action: { label: "View", onClick: openTags } }
|
|
33655
33655
|
});
|
|
33656
33656
|
} else if (message.batch_type === "upload") {
|
|
@@ -33689,12 +33689,12 @@ function ConnectedMoveToFolder({
|
|
|
33689
33689
|
setIsSubmitting(true);
|
|
33690
33690
|
try {
|
|
33691
33691
|
if (folderToMove) {
|
|
33692
|
-
const docsInFolder =
|
|
33692
|
+
const docsInFolder = chunk44M4FI2N_cjs.collectFolderDocs(allDocs, folderToMove.path);
|
|
33693
33693
|
if (docsInFolder.length === 0) {
|
|
33694
33694
|
onClose();
|
|
33695
33695
|
return;
|
|
33696
33696
|
}
|
|
33697
|
-
const newPrefixSegments = targetFolder ? [...
|
|
33697
|
+
const newPrefixSegments = targetFolder ? [...chunk44M4FI2N_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
|
|
33698
33698
|
await renameFolder(docsInFolder, folderToMove.path, newPrefixSegments);
|
|
33699
33699
|
const dest = targetFolder ? `"${targetFolder}/${folderToMove.name}"` : `"${folderToMove.name}" (root)`;
|
|
33700
33700
|
notify19(`Moved folder to ${dest}`, "success");
|
|
@@ -33719,9 +33719,9 @@ function ConnectedMoveToFolder({
|
|
|
33719
33719
|
}
|
|
33720
33720
|
};
|
|
33721
33721
|
const isFolderMode = !!folderToMove;
|
|
33722
|
-
const folders =
|
|
33722
|
+
const folders = chunkBNHFDXJI_cjs.useDocumentFolders(allDocs, targetFolder);
|
|
33723
33723
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33724
|
-
|
|
33724
|
+
chunk44M4FI2N_cjs.MoveToFolderDialog,
|
|
33725
33725
|
{
|
|
33726
33726
|
open: isOpen,
|
|
33727
33727
|
onClose,
|
|
@@ -33731,7 +33731,7 @@ function ConnectedMoveToFolder({
|
|
|
33731
33731
|
isSubmitting,
|
|
33732
33732
|
onConfirm: handleMove,
|
|
33733
33733
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33734
|
-
|
|
33734
|
+
chunk44M4FI2N_cjs.FolderCommandList,
|
|
33735
33735
|
{
|
|
33736
33736
|
folders,
|
|
33737
33737
|
value: targetFolder,
|
|
@@ -33959,7 +33959,7 @@ function ConnectedBulkTagEditor({
|
|
|
33959
33959
|
const isClearing = change?.action === "remove";
|
|
33960
33960
|
return {
|
|
33961
33961
|
id: tag.external_id,
|
|
33962
|
-
badge: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33962
|
+
badge: /* @__PURE__ */ jsxRuntime.jsx(chunkDCD4OHDF_cjs.ConnectedTagEntity, { tag, size: "md" }),
|
|
33963
33963
|
type: tag.tag_type.type,
|
|
33964
33964
|
color: ui.getEntityColor(tag.external_id, "medium"),
|
|
33965
33965
|
options: tag.tag_type.type === "select" ? tag.tag_type.options : void 0,
|
|
@@ -33991,7 +33991,7 @@ function ConnectedBulkTagEditor({
|
|
|
33991
33991
|
const documentsLabel = ui.getEntityLabel("DOCUMENT", "PLURAL").toLowerCase();
|
|
33992
33992
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
33993
33993
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33994
|
-
|
|
33994
|
+
chunk44M4FI2N_cjs.BulkTagEditorDialog,
|
|
33995
33995
|
{
|
|
33996
33996
|
open,
|
|
33997
33997
|
onClose,
|
|
@@ -34049,7 +34049,7 @@ function ConnectedBulkTagEditor({
|
|
|
34049
34049
|
}
|
|
34050
34050
|
),
|
|
34051
34051
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34052
|
-
|
|
34052
|
+
chunk44M4FI2N_cjs.BulkReplaceDialog,
|
|
34053
34053
|
{
|
|
34054
34054
|
open: showGenerateConfirmation,
|
|
34055
34055
|
onClose: () => setShowGenerateConfirmation(false),
|
|
@@ -34145,7 +34145,7 @@ function useTableViews(table) {
|
|
|
34145
34145
|
function useViewWrites(savedViews, saveView, deleteView, shareView) {
|
|
34146
34146
|
const { confirm, notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
34147
34147
|
const nameOf = react.useCallback(
|
|
34148
|
-
(key) => savedViews.find((v) =>
|
|
34148
|
+
(key) => savedViews.find((v) => chunk44M4FI2N_cjs.viewKey(v) === key)?.name ?? key,
|
|
34149
34149
|
[savedViews]
|
|
34150
34150
|
);
|
|
34151
34151
|
const onSaveView = react.useCallback(
|
|
@@ -34217,7 +34217,7 @@ function ViewSelector({
|
|
|
34217
34217
|
columns: defaultColumns,
|
|
34218
34218
|
icon: lucideReact.Table,
|
|
34219
34219
|
// Both built-ins load at the minimal (compact) row height.
|
|
34220
|
-
rowHeight:
|
|
34220
|
+
rowHeight: chunk44M4FI2N_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
34221
34221
|
// [] = loading this view unpins everything.
|
|
34222
34222
|
pinnedLeft: []
|
|
34223
34223
|
},
|
|
@@ -34228,15 +34228,15 @@ function ViewSelector({
|
|
|
34228
34228
|
// batch-select checkbox and Title stay fixed left while scrolling.
|
|
34229
34229
|
columns: defaultColumns,
|
|
34230
34230
|
icon: lucideReact.Columns3,
|
|
34231
|
-
rowHeight:
|
|
34231
|
+
rowHeight: chunk44M4FI2N_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
34232
34232
|
pinnedLeft: DOCUMENT_VIEW_PINNED
|
|
34233
34233
|
},
|
|
34234
34234
|
{
|
|
34235
34235
|
key: "email-default",
|
|
34236
34236
|
label: "Email view",
|
|
34237
|
-
columns: [...
|
|
34237
|
+
columns: [...chunk44M4FI2N_cjs.EMAIL_VIEW_COLUMNS],
|
|
34238
34238
|
icon: lucideReact.Mail,
|
|
34239
|
-
rowHeight:
|
|
34239
|
+
rowHeight: chunk44M4FI2N_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
34240
34240
|
pinnedLeft: []
|
|
34241
34241
|
}
|
|
34242
34242
|
],
|
|
@@ -34248,7 +34248,7 @@ function ViewSelector({
|
|
|
34248
34248
|
deleteView,
|
|
34249
34249
|
shareView
|
|
34250
34250
|
);
|
|
34251
|
-
const menu =
|
|
34251
|
+
const menu = chunk44M4FI2N_cjs.useGridViews({
|
|
34252
34252
|
getGridApi,
|
|
34253
34253
|
defaultColumns,
|
|
34254
34254
|
builtins,
|
|
@@ -34264,7 +34264,7 @@ function ViewSelector({
|
|
|
34264
34264
|
onShareView,
|
|
34265
34265
|
isSaving
|
|
34266
34266
|
});
|
|
34267
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
34267
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.ViewSelectorMenu, { ...menu });
|
|
34268
34268
|
}
|
|
34269
34269
|
function DocumentsFilterBarActions({
|
|
34270
34270
|
isModal,
|
|
@@ -34304,7 +34304,7 @@ function DocumentsFilterBarActions({
|
|
|
34304
34304
|
),
|
|
34305
34305
|
documentsViewMode === "grid" && // The phone list is a fixed two-line layout, so row density only applies from sm up.
|
|
34306
34306
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden sm:block", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34307
|
-
|
|
34307
|
+
chunk44M4FI2N_cjs.RowDensityControl,
|
|
34308
34308
|
{
|
|
34309
34309
|
rowHeight: documentsRowHeight,
|
|
34310
34310
|
onRowHeightChange: onDocumentsRowHeightChange
|
|
@@ -34401,8 +34401,8 @@ function DocumentsFilterBarActions({
|
|
|
34401
34401
|
}
|
|
34402
34402
|
function PersistedGridView(props) {
|
|
34403
34403
|
const { persistState, gridId } = props;
|
|
34404
|
-
const setGridState =
|
|
34405
|
-
const gridState = persistState && gridId ?
|
|
34404
|
+
const setGridState = chunkHGD4B7GO_cjs.useFilesGridStates((state) => state.setGridState);
|
|
34405
|
+
const gridState = persistState && gridId ? chunkHGD4B7GO_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
|
|
34406
34406
|
const onGridStateChange = react.useCallback(
|
|
34407
34407
|
(state) => {
|
|
34408
34408
|
if (persistState && gridId) setGridState(gridId, state);
|
|
@@ -34504,13 +34504,13 @@ var TABLET_TABLE_BELOW = 860;
|
|
|
34504
34504
|
var TABLET_VIEWPORT_BELOW = 1100;
|
|
34505
34505
|
var NO_CONVERSATION_DOCUMENTS2 = [];
|
|
34506
34506
|
var DocumentReviewCard = react.lazy(
|
|
34507
|
-
() => import('../DocumentReviewCard-
|
|
34507
|
+
() => import('../DocumentReviewCard-7ZH575KX.cjs').then((module) => ({ default: module.DocumentReviewCard }))
|
|
34508
34508
|
);
|
|
34509
34509
|
var FilesViewerDialog = react.lazy(
|
|
34510
|
-
() => import('../FilesViewerDialog-
|
|
34510
|
+
() => import('../FilesViewerDialog-6RWJSZZV.cjs').then((module) => ({ default: module.FilesViewerDialog }))
|
|
34511
34511
|
);
|
|
34512
34512
|
function defaultReviewCard(props) {
|
|
34513
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34513
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkHJHDKS4V_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
|
|
34514
34514
|
}
|
|
34515
34515
|
function ConnectedFilesPage({
|
|
34516
34516
|
isModal = false,
|
|
@@ -34532,7 +34532,7 @@ function ConnectedFilesPage({
|
|
|
34532
34532
|
GridComponent = PersistedGridView,
|
|
34533
34533
|
gridStateVersion,
|
|
34534
34534
|
onGridApi,
|
|
34535
|
-
prefsKey =
|
|
34535
|
+
prefsKey = chunkHGD4B7GO_cjs.FILES_PREFS_KEY,
|
|
34536
34536
|
defaultViewMode
|
|
34537
34537
|
}) {
|
|
34538
34538
|
const { openDocument, openDialog: openDialog2, openProcessing, openTags } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
@@ -34553,7 +34553,7 @@ function ConnectedFilesPage({
|
|
|
34553
34553
|
const deleteDocuments = react$1.useDeleteDocuments();
|
|
34554
34554
|
const isDocumentsPending = isLoading && documents.length === 0;
|
|
34555
34555
|
const { workspaceId, userId, live } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
|
|
34556
|
-
const { role, members } =
|
|
34556
|
+
const { role, members } = chunkK7GBHLLY_cjs.useConnectedWorkspaceRole();
|
|
34557
34557
|
const { data: workspaces } = react$1.useWorkspaces({ enabled: live });
|
|
34558
34558
|
const workspace = workspaces?.find((w) => w.external_id === workspaceId);
|
|
34559
34559
|
const workspaceName = workspace?.name;
|
|
@@ -34578,8 +34578,8 @@ function ConnectedFilesPage({
|
|
|
34578
34578
|
const inConversationDocuments = react$1.useArbiSessionState(
|
|
34579
34579
|
(s) => s.conversationDocuments[s.conversationId ?? "new"] ?? NO_CONVERSATION_DOCUMENTS2
|
|
34580
34580
|
);
|
|
34581
|
-
const viewMode =
|
|
34582
|
-
const setPrefsViewMode =
|
|
34581
|
+
const viewMode = chunkHGD4B7GO_cjs.useFilesPrefs((s) => chunkHGD4B7GO_cjs.filesViewMode(s, prefsKey, defaultViewMode));
|
|
34582
|
+
const setPrefsViewMode = chunkHGD4B7GO_cjs.useFilesPrefs((s) => s.setViewMode);
|
|
34583
34583
|
const setViewMode = react.useCallback(
|
|
34584
34584
|
(mode) => setPrefsViewMode(mode, prefsKey),
|
|
34585
34585
|
[setPrefsViewMode, prefsKey]
|
|
@@ -34609,7 +34609,7 @@ function ConnectedFilesPage({
|
|
|
34609
34609
|
shownPlaceRef.current = null;
|
|
34610
34610
|
if (session.getState().documentViewer.compareId)
|
|
34611
34611
|
session.setDocumentViewer({ compareId: null });
|
|
34612
|
-
if (
|
|
34612
|
+
if (chunkHGD4B7GO_cjs.filesViewMode(chunkHGD4B7GO_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
|
|
34613
34613
|
session.setViewingDocument(null);
|
|
34614
34614
|
if (!fromLink) latest.current.onDocumentChange?.(null);
|
|
34615
34615
|
},
|
|
@@ -34698,9 +34698,9 @@ function ConnectedFilesPage({
|
|
|
34698
34698
|
else if (linkedPlaceKey !== shownPlaceRef.current) showInDialog(place, true);
|
|
34699
34699
|
} else if (previous && ownsViewer && shownPlaceRef.current) closeDialog2(true);
|
|
34700
34700
|
}, [linkedPlaceKey]);
|
|
34701
|
-
const rowHeight =
|
|
34702
|
-
const setRowHeight =
|
|
34703
|
-
const ownGridStates =
|
|
34701
|
+
const rowHeight = chunkHGD4B7GO_cjs.useFilesPrefs((s) => s.rowHeight);
|
|
34702
|
+
const setRowHeight = chunkHGD4B7GO_cjs.useFilesPrefs((s) => s.setRowHeight);
|
|
34703
|
+
const ownGridStates = chunkHGD4B7GO_cjs.useFilesGridStates((s) => s.gridStates);
|
|
34704
34704
|
const stateVersion = gridStateVersion ?? ownGridStates;
|
|
34705
34705
|
const [pageEl, setPageEl] = react.useState(null);
|
|
34706
34706
|
const [isTabletWidth, setIsTabletWidth] = react.useState(false);
|
|
@@ -34730,15 +34730,15 @@ function ConnectedFilesPage({
|
|
|
34730
34730
|
const [explorerSortReversed, setExplorerSortReversed] = react.useState(false);
|
|
34731
34731
|
const [explorerTileSize, setExplorerTileSize] = react.useState(TILE_DEFAULT);
|
|
34732
34732
|
const [urlDialogOpen, setUrlDialogOpen] = react.useState(false);
|
|
34733
|
-
const move =
|
|
34734
|
-
const openMove =
|
|
34735
|
-
const closeMove =
|
|
34736
|
-
const bulkTagsOpen =
|
|
34737
|
-
const setBulkTagsOpen =
|
|
34738
|
-
const deleteRequest =
|
|
34739
|
-
const requestDelete =
|
|
34740
|
-
const exportOpen =
|
|
34741
|
-
const setExportOpen =
|
|
34733
|
+
const move = chunkHGD4B7GO_cjs.useFilesDialogs((s) => s.move);
|
|
34734
|
+
const openMove = chunkHGD4B7GO_cjs.useFilesDialogs((s) => s.openMove);
|
|
34735
|
+
const closeMove = chunkHGD4B7GO_cjs.useFilesDialogs((s) => s.closeMove);
|
|
34736
|
+
const bulkTagsOpen = chunkHGD4B7GO_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
|
|
34737
|
+
const setBulkTagsOpen = chunkHGD4B7GO_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
|
|
34738
|
+
const deleteRequest = chunkHGD4B7GO_cjs.useFilesDialogs((s) => s.deleteRequest);
|
|
34739
|
+
const requestDelete = chunkHGD4B7GO_cjs.useFilesDialogs((s) => s.requestDelete);
|
|
34740
|
+
const exportOpen = chunkHGD4B7GO_cjs.useFilesDialogs((s) => s.exportOpen);
|
|
34741
|
+
const setExportOpen = chunkHGD4B7GO_cjs.useFilesDialogs((s) => s.setExportOpen);
|
|
34742
34742
|
const openOwnExport = react.useCallback(() => setExportOpen(true), [setExportOpen]);
|
|
34743
34743
|
const exportItems = react.useMemo(
|
|
34744
34744
|
() => selectedDocuments.map((doc) => ({
|
|
@@ -34753,7 +34753,7 @@ function ConnectedFilesPage({
|
|
|
34753
34753
|
);
|
|
34754
34754
|
const explorerRef = react.useRef(null);
|
|
34755
34755
|
const [explorerFileIds, setExplorerFileIds] = react.useState([]);
|
|
34756
|
-
const uploadUrls =
|
|
34756
|
+
const uploadUrls = chunkYO7GDNEW_cjs.useAddFromUrls({
|
|
34757
34757
|
onZipFiles: (files2) => onUpload({ source: "computer", files: files2 })
|
|
34758
34758
|
});
|
|
34759
34759
|
const { data: workspaceTags = [] } = react$1.useTags();
|
|
@@ -34781,17 +34781,17 @@ function ConnectedFilesPage({
|
|
|
34781
34781
|
const relatedDocsMap = useFilesPageSession(documents, workspaceId);
|
|
34782
34782
|
const defaultVisibleColumns = react.useMemo(
|
|
34783
34783
|
() => [
|
|
34784
|
-
...
|
|
34784
|
+
...chunk44M4FI2N_cjs.DEFAULT_DOCUMENT_COLUMNS,
|
|
34785
34785
|
...allTags.filter(browser.isAnnotationTag).map((tag) => tag.external_id)
|
|
34786
34786
|
],
|
|
34787
34787
|
[allTags]
|
|
34788
34788
|
);
|
|
34789
34789
|
const handleReorderColumns = react.useCallback((ids, gridApi2) => {
|
|
34790
|
-
if (gridApi2)
|
|
34790
|
+
if (gridApi2) chunk44M4FI2N_cjs.applyColumnLayout(gridApi2, ids);
|
|
34791
34791
|
}, []);
|
|
34792
34792
|
const handleLoadView = react.useCallback(
|
|
34793
34793
|
(view, gridApi2) => {
|
|
34794
|
-
|
|
34794
|
+
chunk44M4FI2N_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
|
|
34795
34795
|
if (typeof view.tile_size === "number") setExplorerTileSize(view.tile_size);
|
|
34796
34796
|
if (typeof view.row_height === "number") setRowHeight(view.row_height);
|
|
34797
34797
|
},
|
|
@@ -34883,7 +34883,7 @@ function ConnectedFilesPage({
|
|
|
34883
34883
|
);
|
|
34884
34884
|
const currentDocument = viewingDocumentId ? filteredDocuments.find((d) => d.external_id === viewingDocumentId) ?? documents.find((d) => d.external_id === viewingDocumentId) ?? null : null;
|
|
34885
34885
|
const navigatorDocuments = react.useMemo(
|
|
34886
|
-
() =>
|
|
34886
|
+
() => chunk44M4FI2N_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
|
|
34887
34887
|
[filteredDocuments, explorerSort, explorerSortReversed]
|
|
34888
34888
|
);
|
|
34889
34889
|
const navigatorOnNavigate = react.useCallback(
|
|
@@ -34953,7 +34953,7 @@ function ConnectedFilesPage({
|
|
|
34953
34953
|
},
|
|
34954
34954
|
rowHeight
|
|
34955
34955
|
};
|
|
34956
|
-
const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34956
|
+
const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.FilesFilterBar, { children: [
|
|
34957
34957
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34958
34958
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
34959
34959
|
{
|
|
@@ -34988,7 +34988,7 @@ function ConnectedFilesPage({
|
|
|
34988
34988
|
),
|
|
34989
34989
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
34990
34990
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34991
|
-
|
|
34991
|
+
chunk44M4FI2N_cjs.DocumentsFolderButton,
|
|
34992
34992
|
{
|
|
34993
34993
|
documents,
|
|
34994
34994
|
documentFilters,
|
|
@@ -34996,7 +34996,7 @@ function ConnectedFilesPage({
|
|
|
34996
34996
|
onNewFolder: canUpload ? handleNewFolder : void 0
|
|
34997
34997
|
}
|
|
34998
34998
|
),
|
|
34999
|
-
openTags && /* @__PURE__ */ jsxRuntime.jsx(
|
|
34999
|
+
openTags && /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.FilesTagsButton, { onClick: openTags }),
|
|
35000
35000
|
workspaceId && /* @__PURE__ */ jsxRuntime.jsx(ConnectedRecentlyDeletedButton, { workspaceExtId: workspaceId })
|
|
35001
35001
|
] })
|
|
35002
35002
|
] });
|
|
@@ -35019,18 +35019,29 @@ function ConnectedFilesPage({
|
|
|
35019
35019
|
);
|
|
35020
35020
|
const reviewGridId = isModal ? "documents-modal-grid-v6" : "documents-main-grid-v6";
|
|
35021
35021
|
const showBulkBar = (viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator") && documents.length > 0;
|
|
35022
|
-
|
|
35022
|
+
const bulkBar = showBulkBar && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35023
|
+
ConnectedFilesBulkActions,
|
|
35024
|
+
{
|
|
35025
|
+
selectedDocuments,
|
|
35026
|
+
onClearSelection: handleClearSelection,
|
|
35027
|
+
isMember,
|
|
35028
|
+
onMoveToFolder: () => openMove(),
|
|
35029
|
+
onExport: onExport ?? openOwnExport,
|
|
35030
|
+
onProduce: () => openDialog2("productionSet")
|
|
35031
|
+
}
|
|
35032
|
+
);
|
|
35033
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.FilesPage, { isModal, ref: setPageEl, children: [
|
|
35023
35034
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35024
|
-
|
|
35035
|
+
chunk44M4FI2N_cjs.UrlInputDialog,
|
|
35025
35036
|
{
|
|
35026
35037
|
open: urlDialogOpen,
|
|
35027
35038
|
onOpenChange: setUrlDialogOpen,
|
|
35028
35039
|
onUrlsSubmit: uploadUrls,
|
|
35029
35040
|
titleWorkspaceName: workspaceName,
|
|
35030
|
-
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35041
|
+
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(chunkYO7GDNEW_cjs.ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
|
|
35031
35042
|
}
|
|
35032
35043
|
),
|
|
35033
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
35044
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.FilesPageHeader, { className: isModal ? "static" : void 0, children: [
|
|
35034
35045
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35035
35046
|
chunkSJSGSHIT_cjs.TabHeader,
|
|
35036
35047
|
{
|
|
@@ -35051,12 +35062,12 @@ function ConnectedFilesPage({
|
|
|
35051
35062
|
activeTabId: "documents",
|
|
35052
35063
|
onTabChange: () => handleViewModeChange(lastDocsViewRef.current),
|
|
35053
35064
|
firstTabContent: isNarrowFilterRow ? null : documentsTabActions,
|
|
35054
|
-
centerContent: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
35065
|
+
centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
|
|
35055
35066
|
!isNarrowFilterRow && viewToggle,
|
|
35056
35067
|
/* @__PURE__ */ jsxRuntime.jsx(ProgressiveLoadingChip, {})
|
|
35057
35068
|
] }),
|
|
35058
35069
|
rightContent: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35059
|
-
|
|
35070
|
+
chunkYO7GDNEW_cjs.DocumentsUploadButton,
|
|
35060
35071
|
{
|
|
35061
35072
|
isCompact: isNarrowFilterRow,
|
|
35062
35073
|
canUpload,
|
|
@@ -35081,14 +35092,14 @@ function ConnectedFilesPage({
|
|
|
35081
35092
|
}
|
|
35082
35093
|
),
|
|
35083
35094
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35084
|
-
|
|
35095
|
+
chunk44M4FI2N_cjs.FilesToolbar,
|
|
35085
35096
|
{
|
|
35086
35097
|
className: "px-3 pb-2",
|
|
35087
35098
|
rightActions: viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
35088
35099
|
viewMode === "grid" ? (
|
|
35089
35100
|
// ‹ n / N › over the table's displayed rows; a step opens the document.
|
|
35090
35101
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35091
|
-
|
|
35102
|
+
chunkHJHDKS4V_cjs.GridRowNavigator,
|
|
35092
35103
|
{
|
|
35093
35104
|
gridApi,
|
|
35094
35105
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -35103,7 +35114,7 @@ function ConnectedFilesPage({
|
|
|
35103
35114
|
) : viewMode === "explorer" ? (
|
|
35104
35115
|
// The same over the explorer's tiles.
|
|
35105
35116
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35106
|
-
|
|
35117
|
+
chunk44M4FI2N_cjs.ExplorerFileNavigator,
|
|
35107
35118
|
{
|
|
35108
35119
|
fileIds: explorerFileIds,
|
|
35109
35120
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -35142,7 +35153,7 @@ function ConnectedFilesPage({
|
|
|
35142
35153
|
}
|
|
35143
35154
|
),
|
|
35144
35155
|
viewMode === "navigator" && currentDocument && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35145
|
-
|
|
35156
|
+
chunk44M4FI2N_cjs.NavigatorPickerBar,
|
|
35146
35157
|
{
|
|
35147
35158
|
currentDocument,
|
|
35148
35159
|
documents: navigatorDocuments,
|
|
@@ -35169,11 +35180,11 @@ function ConnectedFilesPage({
|
|
|
35169
35180
|
}
|
|
35170
35181
|
}
|
|
35171
35182
|
) }),
|
|
35172
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
35183
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk44M4FI2N_cjs.FilesPageMain, { children: [
|
|
35173
35184
|
viewMode === "grid" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35174
|
-
|
|
35185
|
+
chunk44M4FI2N_cjs.DocumentGrid,
|
|
35175
35186
|
{
|
|
35176
|
-
layout:
|
|
35187
|
+
layout: chunk44M4FI2N_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
|
|
35177
35188
|
presets: gridPresets,
|
|
35178
35189
|
GridComponent,
|
|
35179
35190
|
showEmptyWorkspace: documents.length === 0 && !isLoading && isMember,
|
|
@@ -35256,18 +35267,10 @@ function ConnectedFilesPage({
|
|
|
35256
35267
|
) }),
|
|
35257
35268
|
viewMode === "search" && renderSearch && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full overflow-hidden", children: renderSearch() })
|
|
35258
35269
|
] }),
|
|
35259
|
-
|
|
35260
|
-
|
|
35261
|
-
{
|
|
35262
|
-
|
|
35263
|
-
onClearSelection: handleClearSelection,
|
|
35264
|
-
isMember,
|
|
35265
|
-
onMoveToFolder: () => openMove(),
|
|
35266
|
-
onExport: onExport ?? openOwnExport,
|
|
35267
|
-
onProduce: () => openDialog2("productionSet")
|
|
35268
|
-
}
|
|
35269
|
-
),
|
|
35270
|
-
isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
|
|
35270
|
+
isModal && onClose ? /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "files-modal-bottom", className: "sticky bottom-0 z-40", children: [
|
|
35271
|
+
bulkBar,
|
|
35272
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) })
|
|
35273
|
+
] }) : bulkBar,
|
|
35271
35274
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35272
35275
|
chunkK67VMSOX_cjs.ConfirmDialog,
|
|
35273
35276
|
{
|
|
@@ -35278,7 +35281,7 @@ function ConnectedFilesPage({
|
|
|
35278
35281
|
requestDelete(null);
|
|
35279
35282
|
},
|
|
35280
35283
|
title: "Delete Document",
|
|
35281
|
-
description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${
|
|
35284
|
+
description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunk44M4FI2N_cjs.RECENTLY_DELETED_HINT}` : "",
|
|
35282
35285
|
confirmText: "Delete",
|
|
35283
35286
|
variant: "destructive"
|
|
35284
35287
|
}
|
|
@@ -35340,7 +35343,7 @@ function ConnectedFilesPage({
|
|
|
35340
35343
|
dialog.seq
|
|
35341
35344
|
) }),
|
|
35342
35345
|
workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35343
|
-
|
|
35346
|
+
chunkYO7GDNEW_cjs.ConnectedEmailWorkspaceDialog,
|
|
35344
35347
|
{
|
|
35345
35348
|
open: emailWorkspaceOpen,
|
|
35346
35349
|
onOpenChange: setEmailWorkspaceOpen,
|
|
@@ -35348,14 +35351,14 @@ function ConnectedFilesPage({
|
|
|
35348
35351
|
isMember
|
|
35349
35352
|
}
|
|
35350
35353
|
),
|
|
35351
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35354
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkYO7GDNEW_cjs.ConnectedNewFileMenu, { open: newFileOpen, onOpenChange: setNewFileOpen }),
|
|
35352
35355
|
dialogs
|
|
35353
35356
|
] });
|
|
35354
35357
|
}
|
|
35355
35358
|
var NO_DOCUMENTS3 = [];
|
|
35356
35359
|
function ConnectedAiReviewHost(props) {
|
|
35357
|
-
const open =
|
|
35358
|
-
const setOpen =
|
|
35360
|
+
const open = chunkHGD4B7GO_cjs.useAiReviewStore((s) => s.open);
|
|
35361
|
+
const setOpen = chunkHGD4B7GO_cjs.useAiReviewStore((s) => s.setOpen);
|
|
35359
35362
|
return /* @__PURE__ */ jsxRuntime.jsx(ConnectedAiReview, { open, onOpenChange: setOpen, ...props });
|
|
35360
35363
|
}
|
|
35361
35364
|
function ConnectedGridView(props) {
|
|
@@ -35391,7 +35394,7 @@ function ProcessingSection({
|
|
|
35391
35394
|
tasks,
|
|
35392
35395
|
onDelete
|
|
35393
35396
|
}) {
|
|
35394
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
35397
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
|
|
35395
35398
|
}
|
|
35396
35399
|
function ConnectedDocumentProcessingPanel({
|
|
35397
35400
|
workspaceId,
|
|
@@ -35604,7 +35607,7 @@ function ConnectedProcessingPanel({ headerActions }) {
|
|
|
35604
35607
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35605
35608
|
chunkSJSGSHIT_cjs.TabHeader,
|
|
35606
35609
|
{
|
|
35607
|
-
leading: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35610
|
+
leading: /* @__PURE__ */ jsxRuntime.jsx(chunkYO7GDNEW_cjs.ConnectedWorkspaceEntity, { workspace, variant: "icon", size: 20 }),
|
|
35608
35611
|
tabs: [
|
|
35609
35612
|
{
|
|
35610
35613
|
id: "processing",
|
|
@@ -35747,7 +35750,7 @@ var MENU_LABELS = {
|
|
|
35747
35750
|
};
|
|
35748
35751
|
function applyDatabaseColumns(columns, api) {
|
|
35749
35752
|
const kept = (id) => api.getColumn(id) ? [id] : [];
|
|
35750
|
-
|
|
35753
|
+
chunk44M4FI2N_cjs.applyColumnLayout(api, [...kept(chunkQ25CZLK6_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunkQ25CZLK6_cjs.ADD_COLUMN_COL_ID)]);
|
|
35751
35754
|
}
|
|
35752
35755
|
function DatabaseViewsMenu({
|
|
35753
35756
|
databaseId,
|
|
@@ -35768,7 +35771,7 @@ function DatabaseViewsMenu({
|
|
|
35768
35771
|
);
|
|
35769
35772
|
const onLoadView = react.useCallback(
|
|
35770
35773
|
(view, api) => {
|
|
35771
|
-
|
|
35774
|
+
chunk44M4FI2N_cjs.applyViewColumns(api, view, applyDatabaseColumns);
|
|
35772
35775
|
onFiltersChange([...view.filters ?? []]);
|
|
35773
35776
|
},
|
|
35774
35777
|
[onFiltersChange]
|
|
@@ -35779,7 +35782,7 @@ function DatabaseViewsMenu({
|
|
|
35779
35782
|
deleteView,
|
|
35780
35783
|
shareView
|
|
35781
35784
|
);
|
|
35782
|
-
const menu =
|
|
35785
|
+
const menu = chunk44M4FI2N_cjs.useGridViews({
|
|
35783
35786
|
getGridApi,
|
|
35784
35787
|
defaultColumns,
|
|
35785
35788
|
builtins,
|
|
@@ -35794,7 +35797,7 @@ function DatabaseViewsMenu({
|
|
|
35794
35797
|
onShareView,
|
|
35795
35798
|
isSaving
|
|
35796
35799
|
});
|
|
35797
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
35800
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
|
|
35798
35801
|
}
|
|
35799
35802
|
function useMoveLocalViews(gridId, ready, importViews) {
|
|
35800
35803
|
const localViews = react$1.useArbiSessionState((state) => state.grid.savedViews[gridId]);
|
|
@@ -36268,7 +36271,7 @@ function WatchOne({ transferId }) {
|
|
|
36268
36271
|
const { data: job } = react$1.useWorkspaceTransfer(transferId);
|
|
36269
36272
|
const { data: workspaces = [] } = react$1.useWorkspaces();
|
|
36270
36273
|
const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
36271
|
-
const untrack =
|
|
36274
|
+
const untrack = chunkYO7GDNEW_cjs.useExportStore((state) => state.untrackTransfer);
|
|
36272
36275
|
const invalidateAfterTransfer = react$1.useInvalidateAfterTransfer();
|
|
36273
36276
|
react.useEffect(() => {
|
|
36274
36277
|
if (!job || !react$1.isTransferFinished(job)) return;
|
|
@@ -36281,7 +36284,7 @@ function WatchOne({ transferId }) {
|
|
|
36281
36284
|
return null;
|
|
36282
36285
|
}
|
|
36283
36286
|
function ConnectedTransferWatcher() {
|
|
36284
|
-
const active =
|
|
36287
|
+
const active = chunkYO7GDNEW_cjs.useExportStore((state) => state.activeTransfers);
|
|
36285
36288
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: active.map((id) => /* @__PURE__ */ jsxRuntime.jsx(WatchOne, { transferId: id }, id)) });
|
|
36286
36289
|
}
|
|
36287
36290
|
function useChatMessageToasts() {
|
|
@@ -37620,10 +37623,10 @@ var FreshChatModel = () => (useFreshChatModel(), null);
|
|
|
37620
37623
|
var WorkspaceOpenMetrics = ({ measure }) => (useWorkspaceOpenMetrics(measure), null);
|
|
37621
37624
|
var Prefetch = ({ loaders }) => (usePrefetchChunks(loaders), null);
|
|
37622
37625
|
function GuidedRuns() {
|
|
37623
|
-
|
|
37626
|
+
chunkPTT5MZ7O_cjs.useRemoteControlSessionReset();
|
|
37624
37627
|
const { cursorMark } = chunkNZNBJF3M_cjs.useGuidedRuns();
|
|
37625
37628
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
37626
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37629
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkHJHDKS4V_cjs.GuidedCursor, { markSrc: cursorMark }),
|
|
37627
37630
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedRemoteControlConsent, {})
|
|
37628
37631
|
] });
|
|
37629
37632
|
}
|
|
@@ -37657,7 +37660,7 @@ function ConnectedAppRuntime({
|
|
|
37657
37660
|
on("pageTransition") && /* @__PURE__ */ jsxRuntime.jsx(PageTransition, {}),
|
|
37658
37661
|
on("freshChatModel") && /* @__PURE__ */ jsxRuntime.jsx(FreshChatModel, {}),
|
|
37659
37662
|
on("workspaceOpenMetrics") && measure && /* @__PURE__ */ jsxRuntime.jsx(WorkspaceOpenMetrics, { measure }),
|
|
37660
|
-
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...
|
|
37663
|
+
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...chunkHJHDKS4V_cjs.KIT_CHUNK_LOADERS] }),
|
|
37661
37664
|
on("guidedRuns") && /* @__PURE__ */ jsxRuntime.jsx(GuidedRuns, {})
|
|
37662
37665
|
] });
|
|
37663
37666
|
}
|
|
@@ -38122,7 +38125,7 @@ async function renderAnnotatedScreenshot(image, marks, text) {
|
|
|
38122
38125
|
)
|
|
38123
38126
|
);
|
|
38124
38127
|
}
|
|
38125
|
-
return
|
|
38128
|
+
return chunkPTT5MZ7O_cjs.canvasToBlob(canvas);
|
|
38126
38129
|
}
|
|
38127
38130
|
function ReportProblemDialog({
|
|
38128
38131
|
open,
|
|
@@ -38416,7 +38419,7 @@ function ReportProblemDialog({
|
|
|
38416
38419
|
hidden: ticketId !== null,
|
|
38417
38420
|
children: [
|
|
38418
38421
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "No screenshot attached." }),
|
|
38419
|
-
|
|
38422
|
+
chunkPTT5MZ7O_cjs.canCaptureScreen() ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { size: "sm", variant: "outline", onClick: onRetake, "data-testid": "report-retake", children: [
|
|
38420
38423
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Camera, { className: "mr-1 size-4" }),
|
|
38421
38424
|
" Take a screenshot"
|
|
38422
38425
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "inline-flex cursor-pointer items-center gap-1 font-medium text-primary", children: [
|
|
@@ -38480,10 +38483,10 @@ function useReportProblem(options = {}) {
|
|
|
38480
38483
|
setPhase("capturing");
|
|
38481
38484
|
await new Promise((resolve) => window.setTimeout(resolve, 200));
|
|
38482
38485
|
try {
|
|
38483
|
-
setFrame(await
|
|
38486
|
+
setFrame(await chunkPTT5MZ7O_cjs.captureCurrentTab());
|
|
38484
38487
|
setImage(null);
|
|
38485
38488
|
} catch (error) {
|
|
38486
|
-
const code = error instanceof
|
|
38489
|
+
const code = error instanceof chunkPTT5MZ7O_cjs.ScreenCaptureError ? error.code : "failed";
|
|
38487
38490
|
if (code === "failed") {
|
|
38488
38491
|
notify19("Couldn't capture the screen. You can still describe the problem.", "error");
|
|
38489
38492
|
}
|
|
@@ -39423,7 +39426,7 @@ function resolveLaunchInputs(workflow, request) {
|
|
|
39423
39426
|
function useWorkflowLaunch() {
|
|
39424
39427
|
const { skills } = chunkV27WLYTG_cjs.useWorkflowDefinitions();
|
|
39425
39428
|
const launch = react.useCallback(
|
|
39426
|
-
(workflowId, options = {}) =>
|
|
39429
|
+
(workflowId, options = {}) => chunkU6JUIJTP_cjs.openWorkflowLaunch({ workflowId, ...options }),
|
|
39427
39430
|
[]
|
|
39428
39431
|
);
|
|
39429
39432
|
const itemsFor = react.useCallback(
|
|
@@ -39452,8 +39455,8 @@ function useWorkflowLaunch() {
|
|
|
39452
39455
|
return { launch, itemsFor, scopeItemsFor };
|
|
39453
39456
|
}
|
|
39454
39457
|
function Inner() {
|
|
39455
|
-
const request =
|
|
39456
|
-
const close =
|
|
39458
|
+
const request = chunkU6JUIJTP_cjs.useWorkflowLaunchRequest();
|
|
39459
|
+
const close = chunkU6JUIJTP_cjs.closeWorkflowLaunch;
|
|
39457
39460
|
const { skills } = chunkV27WLYTG_cjs.useWorkflowDefinitions();
|
|
39458
39461
|
const run = chunk7UPEFZCV_cjs.useLaunchWorkflow({ landing: request?.landing });
|
|
39459
39462
|
const workflow = skills.find((w) => w.id === request?.workflowId);
|
|
@@ -39491,7 +39494,7 @@ function Inner() {
|
|
|
39491
39494
|
);
|
|
39492
39495
|
}
|
|
39493
39496
|
function WorkflowLaunchHost() {
|
|
39494
|
-
return
|
|
39497
|
+
return chunkU6JUIJTP_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
|
|
39495
39498
|
}
|
|
39496
39499
|
function isNeedsConfirmationDetail(detail) {
|
|
39497
39500
|
return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
|
|
@@ -39796,7 +39799,7 @@ function ConnectedConversationSettings() {
|
|
|
39796
39799
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39797
39800
|
chunkAHUEBRLX_cjs.ModelSelectionSection,
|
|
39798
39801
|
{
|
|
39799
|
-
selector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
39802
|
+
selector: /* @__PURE__ */ jsxRuntime.jsx(chunkPTT5MZ7O_cjs.ConnectedModelSelector, {}),
|
|
39800
39803
|
onUseDefaults: settings.resetToDefaults
|
|
39801
39804
|
}
|
|
39802
39805
|
)
|
|
@@ -39902,7 +39905,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
|
|
|
39902
39905
|
testId: "workspace-transfer-modal"
|
|
39903
39906
|
}
|
|
39904
39907
|
),
|
|
39905
|
-
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
39908
|
+
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkPTT5MZ7O_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
|
|
39906
39909
|
conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
|
|
39907
39910
|
unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
|
|
39908
39911
|
productionSet: ConnectedProductionSetDialog,
|
|
@@ -39983,7 +39986,7 @@ function WorkflowRunStatusCell({ conversation }) {
|
|
|
39983
39986
|
return person ? ui.getUserDisplayName(person) : void 0;
|
|
39984
39987
|
};
|
|
39985
39988
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
39986
|
-
|
|
39989
|
+
chunkU6JUIJTP_cjs.WorkflowRunStatus,
|
|
39987
39990
|
{
|
|
39988
39991
|
steps,
|
|
39989
39992
|
states,
|
|
@@ -40017,7 +40020,7 @@ function ConversationStatusCell({ conversation }) {
|
|
|
40017
40020
|
if (conversation.plan?.steps?.length && !isLiveGenerating)
|
|
40018
40021
|
return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
|
|
40019
40022
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40020
|
-
|
|
40023
|
+
chunkU6JUIJTP_cjs.ThreadStatusLine,
|
|
40021
40024
|
{
|
|
40022
40025
|
state: threadStateOf(conversation, isLiveGenerating),
|
|
40023
40026
|
className: "h-full",
|
|
@@ -40286,7 +40289,7 @@ function useThreadLabels(canEditShared) {
|
|
|
40286
40289
|
return {
|
|
40287
40290
|
labelText: (row2) => labels.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
40288
40291
|
renderLabels: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
40289
|
-
|
|
40292
|
+
chunk44M4FI2N_cjs.LabelMultiSelectView,
|
|
40290
40293
|
{
|
|
40291
40294
|
options,
|
|
40292
40295
|
appliedIds: new Set(row2.label_ext_ids ?? []),
|
|
@@ -40305,7 +40308,7 @@ function useThreadLabels(canEditShared) {
|
|
|
40305
40308
|
).map((label) => label.id)
|
|
40306
40309
|
);
|
|
40307
40310
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40308
|
-
|
|
40311
|
+
chunk44M4FI2N_cjs.BulkLabelSelectView,
|
|
40309
40312
|
{
|
|
40310
40313
|
options,
|
|
40311
40314
|
appliedIds: all,
|
|
@@ -40336,7 +40339,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
40336
40339
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkVHD5DZW4_cjs.ComposerDock, { children: [
|
|
40337
40340
|
slashWorkflows.launcher,
|
|
40338
40341
|
/* @__PURE__ */ jsxRuntime.jsx(chunkVHD5DZW4_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
40339
|
-
|
|
40342
|
+
chunkPTT5MZ7O_cjs.ConversationComposer,
|
|
40340
40343
|
{
|
|
40341
40344
|
value: draft,
|
|
40342
40345
|
onValueChange: setDraft,
|
|
@@ -40345,7 +40348,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
40345
40348
|
isConversationEmpty: true,
|
|
40346
40349
|
shouldOfferFollowUp: false,
|
|
40347
40350
|
skills,
|
|
40348
|
-
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
40351
|
+
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkPTT5MZ7O_cjs.ConnectedModelSelector, { variant: "compact" }),
|
|
40349
40352
|
rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunkVHD5DZW4_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
|
|
40350
40353
|
}
|
|
40351
40354
|
) })
|
|
@@ -40476,7 +40479,7 @@ function AgentBarShell({
|
|
|
40476
40479
|
}, [isStepsExpanded, steps]);
|
|
40477
40480
|
const visibleStepCount = react.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
|
|
40478
40481
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40479
|
-
|
|
40482
|
+
chunkU6JUIJTP_cjs.AgentBar,
|
|
40480
40483
|
{
|
|
40481
40484
|
className,
|
|
40482
40485
|
testId,
|
|
@@ -40488,7 +40491,7 @@ function AgentBarShell({
|
|
|
40488
40491
|
drawerRef: scrollRef,
|
|
40489
40492
|
onDrawerScroll: handleDrawerScroll,
|
|
40490
40493
|
drawer: /* @__PURE__ */ jsxRuntime.jsx(
|
|
40491
|
-
|
|
40494
|
+
chunkPTT5MZ7O_cjs.AgentSteps,
|
|
40492
40495
|
{
|
|
40493
40496
|
steps: stepList,
|
|
40494
40497
|
isStreaming,
|
|
@@ -40540,7 +40543,7 @@ function AgentControlBar({
|
|
|
40540
40543
|
const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
|
|
40541
40544
|
const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
|
|
40542
40545
|
const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
40543
|
-
|
|
40546
|
+
chunkPTT5MZ7O_cjs.MessageLiveSeconds,
|
|
40544
40547
|
{
|
|
40545
40548
|
...liveTimer,
|
|
40546
40549
|
offsetSeconds: currentStep?.t ?? 0,
|
|
@@ -40549,7 +40552,7 @@ function AgentControlBar({
|
|
|
40549
40552
|
}
|
|
40550
40553
|
);
|
|
40551
40554
|
const status = /* @__PURE__ */ jsxRuntime.jsx(
|
|
40552
|
-
|
|
40555
|
+
chunkU6JUIJTP_cjs.AgentBarStatus,
|
|
40553
40556
|
{
|
|
40554
40557
|
state: showState ? controlState : void 0,
|
|
40555
40558
|
stateLabel: STATE_LABEL[controlState],
|
|
@@ -40591,7 +40594,7 @@ function AgentControlBar({
|
|
|
40591
40594
|
];
|
|
40592
40595
|
const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
40593
40596
|
onStop && /* @__PURE__ */ jsxRuntime.jsx(
|
|
40594
|
-
|
|
40597
|
+
chunkU6JUIJTP_cjs.AgentBarIconButton,
|
|
40595
40598
|
{
|
|
40596
40599
|
onClick: onStop,
|
|
40597
40600
|
title: "Stop",
|
|
@@ -40600,22 +40603,22 @@ function AgentControlBar({
|
|
|
40600
40603
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
|
|
40601
40604
|
}
|
|
40602
40605
|
),
|
|
40603
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40606
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.AgentBarMenu, { items: menuItems })
|
|
40604
40607
|
] });
|
|
40605
40608
|
const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
|
|
40606
40609
|
(message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
|
|
40607
40610
|
);
|
|
40608
40611
|
const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
|
|
40609
|
-
const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
40612
|
+
const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkU6JUIJTP_cjs.AgentBarNotes, { children: [
|
|
40610
40613
|
queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
40611
|
-
|
|
40614
|
+
chunkU6JUIJTP_cjs.AgentBarQueuedNote,
|
|
40612
40615
|
{
|
|
40613
40616
|
text: message.content ?? "",
|
|
40614
40617
|
isAcknowledged: message.acknowledged
|
|
40615
40618
|
},
|
|
40616
40619
|
index
|
|
40617
40620
|
)),
|
|
40618
|
-
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
40621
|
+
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
|
|
40619
40622
|
] }) : null;
|
|
40620
40623
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40621
40624
|
AgentBarShell,
|
|
@@ -40765,7 +40768,7 @@ function ConnectedConversationEmpty({
|
|
|
40765
40768
|
compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
|
|
40766
40769
|
}
|
|
40767
40770
|
),
|
|
40768
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40771
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk44M4FI2N_cjs.PrivacyExplainerModal, {})
|
|
40769
40772
|
] })
|
|
40770
40773
|
}
|
|
40771
40774
|
);
|
|
@@ -41480,7 +41483,7 @@ function ConversationThread({
|
|
|
41480
41483
|
() => firstTurnPrompt ? react$1.buildPendingFirstTurn(firstTurnPrompt, currentUserExtId) : null,
|
|
41481
41484
|
[firstTurnPrompt, currentUserExtId]
|
|
41482
41485
|
);
|
|
41483
|
-
const uploadUrls =
|
|
41486
|
+
const uploadUrls = chunkYO7GDNEW_cjs.useAddFromUrls({
|
|
41484
41487
|
onZipFiles: (files2) => openUpload?.(files2, { source: "computer" })
|
|
41485
41488
|
});
|
|
41486
41489
|
const {
|
|
@@ -41730,7 +41733,7 @@ function ConversationThread({
|
|
|
41730
41733
|
useStartRequestedDraft();
|
|
41731
41734
|
const orphanedMessage = react$1.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
|
|
41732
41735
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkKLMNCBLY_cjs.ConversationBody, { children: [
|
|
41733
|
-
/* @__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(
|
|
41736
|
+
/* @__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(chunkPTT5MZ7O_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3GQQUR27_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
|
|
41734
41737
|
meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
41735
41738
|
chunkZBP4ZSAJ_cjs.ConversationFilter,
|
|
41736
41739
|
{
|
|
@@ -41748,7 +41751,7 @@ function ConversationThread({
|
|
|
41748
41751
|
]
|
|
41749
41752
|
}
|
|
41750
41753
|
) }),
|
|
41751
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41754
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTT5MZ7O_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
|
|
41752
41755
|
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunkWOVNXJK5_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
41753
41756
|
] }) }) : meetingCallExtId ? (
|
|
41754
41757
|
// A meeting thread with nothing yet: call-aware, not the upload prompt.
|
|
@@ -41756,7 +41759,7 @@ function ConversationThread({
|
|
|
41756
41759
|
/* @__PURE__ */ jsxRuntime.jsx(chunkWOVNXJK5_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
|
|
41757
41760
|
/* @__PURE__ */ jsxRuntime.jsx(chunkWOVNXJK5_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
41758
41761
|
] })
|
|
41759
|
-
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
41762
|
+
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkPTT5MZ7O_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
41760
41763
|
ConnectedConversationEmpty,
|
|
41761
41764
|
{
|
|
41762
41765
|
hasDocuments: allWorkspaceDocuments.length > 0,
|
|
@@ -41854,7 +41857,7 @@ function ConversationThread({
|
|
|
41854
41857
|
}
|
|
41855
41858
|
),
|
|
41856
41859
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41857
|
-
|
|
41860
|
+
chunkPTT5MZ7O_cjs.ConversationComposer,
|
|
41858
41861
|
{
|
|
41859
41862
|
handleSendMessage: handleUserSend,
|
|
41860
41863
|
placeholder: pendingAnswer ? assistant.answerPlaceholder : void 0,
|
|
@@ -42145,7 +42148,7 @@ function ConnectedThreadsPage({
|
|
|
42145
42148
|
const mine = selected.every((c) => c.created_by_ext_id === currentUserExtId);
|
|
42146
42149
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
42147
42150
|
selected.every((row2) => row2.is_owner || row2.is_shared && canEditShared) && selected.some((row2) => row2.status !== "done") && !selected.some((row2) => row2.in_progress || row2.status === "generating") && /* @__PURE__ */ jsxRuntime.jsx(
|
|
42148
|
-
|
|
42151
|
+
chunkS3GVFAFB_cjs.SelectionBarAction,
|
|
42149
42152
|
{
|
|
42150
42153
|
icon: lucideReact.CheckCheck,
|
|
42151
42154
|
label: "Mark Done",
|
|
@@ -42168,7 +42171,7 @@ function ConnectedThreadsPage({
|
|
|
42168
42171
|
}
|
|
42169
42172
|
),
|
|
42170
42173
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42171
|
-
|
|
42174
|
+
chunkS3GVFAFB_cjs.SelectionBarAction,
|
|
42172
42175
|
{
|
|
42173
42176
|
icon: lucideReact.FolderUp,
|
|
42174
42177
|
label: "Export",
|
|
@@ -42182,7 +42185,7 @@ function ConnectedThreadsPage({
|
|
|
42182
42185
|
}
|
|
42183
42186
|
),
|
|
42184
42187
|
selected.every((row2) => chunkDKY67DA6_cjs.canDeleteThread(row2, isWorkspaceOwner)) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
42185
|
-
|
|
42188
|
+
chunkS3GVFAFB_cjs.SelectionBarAction,
|
|
42186
42189
|
{
|
|
42187
42190
|
icon: lucideReact.Trash2,
|
|
42188
42191
|
label: "Delete",
|
|
@@ -42196,7 +42199,7 @@ function ConnectedThreadsPage({
|
|
|
42196
42199
|
};
|
|
42197
42200
|
const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
|
|
42198
42201
|
/* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
42199
|
-
|
|
42202
|
+
chunkU6JUIJTP_cjs.ConversationListView,
|
|
42200
42203
|
{
|
|
42201
42204
|
showHeader,
|
|
42202
42205
|
conversations: tasks,
|
|
@@ -42215,7 +42218,7 @@ function ConnectedThreadsPage({
|
|
|
42215
42218
|
renderLabels: threadLabels.renderLabels,
|
|
42216
42219
|
labelText: threadLabels.labelText,
|
|
42217
42220
|
renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
42218
|
-
|
|
42221
|
+
chunkU6JUIJTP_cjs.ConversationTurnSpeaker,
|
|
42219
42222
|
{
|
|
42220
42223
|
variant: "icon",
|
|
42221
42224
|
role: row2.last_message_role,
|
|
@@ -42602,7 +42605,7 @@ function ConnectedChatDocumentsTab({
|
|
|
42602
42605
|
testId: `document-hover-toggle-${doc.external_id}`
|
|
42603
42606
|
},
|
|
42604
42607
|
status: /* @__PURE__ */ jsxRuntime.jsx(
|
|
42605
|
-
|
|
42608
|
+
chunk44M4FI2N_cjs.DocStatusIcon,
|
|
42606
42609
|
{
|
|
42607
42610
|
status: doc.status,
|
|
42608
42611
|
onClick: onStatusClick,
|
|
@@ -43016,7 +43019,7 @@ function ConnectedConversationPage({
|
|
|
43016
43019
|
const isGuest = workspaceRole === "guest";
|
|
43017
43020
|
const canUpload = workspaceRole !== null && !isGuest;
|
|
43018
43021
|
const [urlDialogOpen, setUrlDialogOpen] = react.useState(false);
|
|
43019
|
-
const uploadUrls =
|
|
43022
|
+
const uploadUrls = chunkYO7GDNEW_cjs.useAddFromUrls({
|
|
43020
43023
|
onZipFiles: (files2) => chunkK67VMSOX_cjs.openDialog("upload", { tab: "upload", files: files2, source: "computer" })
|
|
43021
43024
|
});
|
|
43022
43025
|
const uploadDisabledReason = isGuest ? "Viewers cannot upload documents in this workspace" : "You cannot upload to this workspace";
|
|
@@ -43096,7 +43099,7 @@ function ConnectedConversationPage({
|
|
|
43096
43099
|
);
|
|
43097
43100
|
const { data: workspaceTags = [] } = react$1.useTags();
|
|
43098
43101
|
const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
|
|
43099
|
-
const historyCount =
|
|
43102
|
+
const historyCount = chunkU6JUIJTP_cjs.filterConversationRows(
|
|
43100
43103
|
threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
|
|
43101
43104
|
threadFilter,
|
|
43102
43105
|
(row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
@@ -43178,7 +43181,7 @@ function ConnectedConversationPage({
|
|
|
43178
43181
|
] })
|
|
43179
43182
|
}
|
|
43180
43183
|
),
|
|
43181
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43184
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkV4B2GSC6_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
|
|
43182
43185
|
] }),
|
|
43183
43186
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43184
43187
|
ConversationThread,
|
|
@@ -43208,13 +43211,13 @@ function ConnectedConversationPage({
|
|
|
43208
43211
|
!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 }) })
|
|
43209
43212
|
] }),
|
|
43210
43213
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
43211
|
-
|
|
43214
|
+
chunk44M4FI2N_cjs.UrlInputDialog,
|
|
43212
43215
|
{
|
|
43213
43216
|
open: urlDialogOpen,
|
|
43214
43217
|
onOpenChange: setUrlDialogOpen,
|
|
43215
43218
|
onUrlsSubmit: uploadUrls,
|
|
43216
43219
|
titleWorkspaceName: workspace?.name,
|
|
43217
|
-
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43220
|
+
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(chunkYO7GDNEW_cjs.ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
|
|
43218
43221
|
}
|
|
43219
43222
|
)
|
|
43220
43223
|
] });
|
|
@@ -43387,7 +43390,7 @@ function SsoResendVerificationButton({
|
|
|
43387
43390
|
onClick: async () => handleResendEmailVerification(),
|
|
43388
43391
|
disabled: loading || disabled,
|
|
43389
43392
|
"aria-label": "Resend verification email",
|
|
43390
|
-
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
43393
|
+
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkHJHDKS4V_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
43391
43394
|
"Didn't get a verification email? ",
|
|
43392
43395
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
|
|
43393
43396
|
] })
|
|
@@ -43398,9 +43401,9 @@ function SsoResendVerificationButton({
|
|
|
43398
43401
|
}
|
|
43399
43402
|
var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
|
|
43400
43403
|
function ConnectedSsoCallback() {
|
|
43401
|
-
const sso =
|
|
43404
|
+
const sso = chunkPTT5MZ7O_cjs.useSsoSignIn();
|
|
43402
43405
|
const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
|
|
43403
|
-
const auth =
|
|
43406
|
+
const auth = chunkPTT5MZ7O_cjs.useAuthPages();
|
|
43404
43407
|
const { notify: notify19, navigate } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
43405
43408
|
const passwordRules = auth.passwordRules;
|
|
43406
43409
|
const isProcessing = react.useRef(false);
|
|
@@ -43408,7 +43411,7 @@ function ConnectedSsoCallback() {
|
|
|
43408
43411
|
const [statusAttempt, setStatusAttempt] = react.useState(0);
|
|
43409
43412
|
const [accessToken, setAccessToken] = react.useState(null);
|
|
43410
43413
|
const [ssoStatus, setSsoStatus] = react.useState(null);
|
|
43411
|
-
const ssoName = react.useMemo(() =>
|
|
43414
|
+
const ssoName = react.useMemo(() => chunkPTT5MZ7O_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
|
|
43412
43415
|
const [password, setPassword] = react.useState("");
|
|
43413
43416
|
const [confirmPassword, setConfirmPassword] = react.useState("");
|
|
43414
43417
|
const [error, setError] = react.useState(null);
|
|
@@ -43586,7 +43589,7 @@ function ConnectedSsoCallback() {
|
|
|
43586
43589
|
setIsCheckingStatus(true);
|
|
43587
43590
|
try {
|
|
43588
43591
|
console.info("[SSO] Checking user status...");
|
|
43589
|
-
const response = await
|
|
43592
|
+
const response = await chunkPTT5MZ7O_cjs.ssoAccountStatus(arbi, accessToken, user);
|
|
43590
43593
|
console.info("[SSO] User status:", response.status);
|
|
43591
43594
|
setSsoStatus(response);
|
|
43592
43595
|
} catch (error2) {
|
|
@@ -43627,7 +43630,7 @@ function ConnectedSsoCallback() {
|
|
|
43627
43630
|
setIsSubmitting(true);
|
|
43628
43631
|
setError(null);
|
|
43629
43632
|
try {
|
|
43630
|
-
const { login, registered, linked } = await
|
|
43633
|
+
const { login, registered, linked } = await chunkPTT5MZ7O_cjs.completeSsoSignIn(arbi, {
|
|
43631
43634
|
token: accessToken,
|
|
43632
43635
|
user,
|
|
43633
43636
|
status: ssoStatus,
|
|
@@ -43927,7 +43930,7 @@ function ConnectedSsoCallback() {
|
|
|
43927
43930
|
ssoStatus.status !== "new_user" && auth.footer
|
|
43928
43931
|
] }),
|
|
43929
43932
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
43930
|
-
|
|
43933
|
+
chunkPTT5MZ7O_cjs.ConnectedForgotPassword,
|
|
43931
43934
|
{
|
|
43932
43935
|
open: showForgotPasswordModal,
|
|
43933
43936
|
onOpenChange: setShowForgotPasswordModal,
|
|
@@ -43935,7 +43938,7 @@ function ConnectedSsoCallback() {
|
|
|
43935
43938
|
}
|
|
43936
43939
|
),
|
|
43937
43940
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
43938
|
-
|
|
43941
|
+
chunkPTT5MZ7O_cjs.ConnectedPasswordChangeDialog,
|
|
43939
43942
|
{
|
|
43940
43943
|
open: showChangePasswordModal,
|
|
43941
43944
|
onClose: () => setShowChangePasswordModal(false),
|
|
@@ -44094,27 +44097,27 @@ function ConnectedOAuthConsentPage({
|
|
|
44094
44097
|
oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
|
|
44095
44098
|
}
|
|
44096
44099
|
if (error && !params) {
|
|
44097
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44100
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
|
|
44098
44101
|
}
|
|
44099
44102
|
if (!params) {
|
|
44100
44103
|
return null;
|
|
44101
44104
|
}
|
|
44102
44105
|
if (clientInfo?.isLocalAgentFlow) {
|
|
44103
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44106
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_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." }) });
|
|
44104
44107
|
}
|
|
44105
44108
|
if (!isAuthenticated2) {
|
|
44106
44109
|
return null;
|
|
44107
44110
|
}
|
|
44108
44111
|
if (callbackUrl) {
|
|
44109
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44110
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44112
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkU6JUIJTP_cjs.ConsentCard, { size: "md", children: [
|
|
44113
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkU6JUIJTP_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
|
|
44111
44114
|
"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",
|
|
44112
44115
|
" ",
|
|
44113
44116
|
copied ? "it's already copied to your clipboard." : "copy it first."
|
|
44114
44117
|
] }),
|
|
44115
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44116
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44117
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44118
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkU6JUIJTP_cjs.ConsentSection, { title: "Callback URL", children: [
|
|
44119
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
|
|
44120
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkU6JUIJTP_cjs.ConsentText, { variant: "hint", children: [
|
|
44118
44121
|
"In Claude Code, paste the URL at the prompt that says",
|
|
44119
44122
|
" ",
|
|
44120
44123
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
|
|
@@ -44123,17 +44126,17 @@ function ConnectedOAuthConsentPage({
|
|
|
44123
44126
|
] })
|
|
44124
44127
|
] }) });
|
|
44125
44128
|
}
|
|
44126
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44127
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44128
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44129
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkU6JUIJTP_cjs.ConsentCard, { children: [
|
|
44130
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkU6JUIJTP_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
|
|
44131
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
|
|
44129
44132
|
" is requesting access to your ",
|
|
44130
44133
|
appName,
|
|
44131
44134
|
" workspace."
|
|
44132
44135
|
] }),
|
|
44133
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44134
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44135
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44136
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44136
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConsentPermissionList, { items: permissions }) }),
|
|
44137
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConsentNotice, { tone: "error", children: error }),
|
|
44138
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
|
|
44139
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkU6JUIJTP_cjs.ConsentFootnote, { children: footnote })
|
|
44137
44140
|
] }) });
|
|
44138
44141
|
}
|
|
44139
44142
|
function ConnectedSharedFilesPage({
|
|
@@ -44833,7 +44836,7 @@ function ConnectedTipBar({
|
|
|
44833
44836
|
className,
|
|
44834
44837
|
revealOnHover = false
|
|
44835
44838
|
}) {
|
|
44836
|
-
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } =
|
|
44839
|
+
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkPTT5MZ7O_cjs.useContextualHints();
|
|
44837
44840
|
const { dismissed, dismissTip } = react$1.useDismissedTips();
|
|
44838
44841
|
const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
|
|
44839
44842
|
const { data: workspaces } = react$1.useWorkspaces();
|
|
@@ -44844,7 +44847,7 @@ function ConnectedTipBar({
|
|
|
44844
44847
|
workspaceOpen,
|
|
44845
44848
|
...state
|
|
44846
44849
|
};
|
|
44847
|
-
const { tip, index, count: count2, previous, next, onHoverChange } =
|
|
44850
|
+
const { tip, index, count: count2, previous, next, onHoverChange } = chunkHJHDKS4V_cjs.useTipsPlacement({
|
|
44848
44851
|
registry,
|
|
44849
44852
|
context,
|
|
44850
44853
|
state: situation,
|
|
@@ -44922,7 +44925,7 @@ function useGettingStarted({
|
|
|
44922
44925
|
const { user } = react$1.useArbiSession();
|
|
44923
44926
|
const userExtId = user?.external_id;
|
|
44924
44927
|
const temporaryOnly = user?.temporary_access_only === true;
|
|
44925
|
-
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } =
|
|
44928
|
+
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkPTT5MZ7O_cjs.useContextualHints();
|
|
44926
44929
|
const { dismissed, loaded: dismissedLoaded, dismissTip } = react$1.useDismissedTips();
|
|
44927
44930
|
const welcomeJourneyEnabled = react$1.useFeature("welcomeJourney");
|
|
44928
44931
|
const session = react$1.useArbiSessionStore();
|
|
@@ -45144,15 +45147,15 @@ function ChromeInstallDialog({
|
|
|
45144
45147
|
|
|
45145
45148
|
Object.defineProperty(exports, "ConnectedTagEntity", {
|
|
45146
45149
|
enumerable: true,
|
|
45147
|
-
get: function () { return
|
|
45150
|
+
get: function () { return chunkDCD4OHDF_cjs.ConnectedTagEntity; }
|
|
45148
45151
|
});
|
|
45149
45152
|
Object.defineProperty(exports, "documentFieldContent", {
|
|
45150
45153
|
enumerable: true,
|
|
45151
|
-
get: function () { return
|
|
45154
|
+
get: function () { return chunkDCD4OHDF_cjs.documentFieldContent; }
|
|
45152
45155
|
});
|
|
45153
45156
|
Object.defineProperty(exports, "useMemberLookup", {
|
|
45154
45157
|
enumerable: true,
|
|
45155
|
-
get: function () { return
|
|
45158
|
+
get: function () { return chunkDCD4OHDF_cjs.useMemberLookup; }
|
|
45156
45159
|
});
|
|
45157
45160
|
Object.defineProperty(exports, "DEFAULT_ASK_SUGGESTIONS", {
|
|
45158
45161
|
enumerable: true,
|
|
@@ -45264,279 +45267,279 @@ Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
|
45264
45267
|
});
|
|
45265
45268
|
Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
|
|
45266
45269
|
enumerable: true,
|
|
45267
|
-
get: function () { return
|
|
45270
|
+
get: function () { return chunkV4B2GSC6_cjs.ConnectedTaskActivityDialog; }
|
|
45268
45271
|
});
|
|
45269
45272
|
Object.defineProperty(exports, "ConnectedTaskComposer", {
|
|
45270
45273
|
enumerable: true,
|
|
45271
|
-
get: function () { return
|
|
45274
|
+
get: function () { return chunkV4B2GSC6_cjs.ConnectedTaskComposer; }
|
|
45272
45275
|
});
|
|
45273
45276
|
Object.defineProperty(exports, "ConnectedThreadTaskBar", {
|
|
45274
45277
|
enumerable: true,
|
|
45275
|
-
get: function () { return
|
|
45278
|
+
get: function () { return chunkV4B2GSC6_cjs.ConnectedThreadTaskBar; }
|
|
45276
45279
|
});
|
|
45277
45280
|
Object.defineProperty(exports, "ConnectedWorkflowHistory", {
|
|
45278
45281
|
enumerable: true,
|
|
45279
|
-
get: function () { return
|
|
45282
|
+
get: function () { return chunkV4B2GSC6_cjs.ConnectedWorkflowHistory; }
|
|
45280
45283
|
});
|
|
45281
45284
|
Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
|
|
45282
45285
|
enumerable: true,
|
|
45283
|
-
get: function () { return
|
|
45286
|
+
get: function () { return chunkV4B2GSC6_cjs.ConnectedWorkflowRunPage; }
|
|
45284
45287
|
});
|
|
45285
45288
|
Object.defineProperty(exports, "ConnectedWorkflowRunner", {
|
|
45286
45289
|
enumerable: true,
|
|
45287
|
-
get: function () { return
|
|
45290
|
+
get: function () { return chunkV4B2GSC6_cjs.ConnectedWorkflowRunner; }
|
|
45288
45291
|
});
|
|
45289
45292
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
|
|
45290
45293
|
enumerable: true,
|
|
45291
|
-
get: function () { return
|
|
45294
|
+
get: function () { return chunkV4B2GSC6_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
|
|
45292
45295
|
});
|
|
45293
45296
|
Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
|
|
45294
45297
|
enumerable: true,
|
|
45295
|
-
get: function () { return
|
|
45298
|
+
get: function () { return chunkV4B2GSC6_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
|
|
45296
45299
|
});
|
|
45297
45300
|
Object.defineProperty(exports, "WorkflowRunThread", {
|
|
45298
45301
|
enumerable: true,
|
|
45299
|
-
get: function () { return
|
|
45302
|
+
get: function () { return chunkV4B2GSC6_cjs.WorkflowRunThread; }
|
|
45300
45303
|
});
|
|
45301
45304
|
Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
|
|
45302
45305
|
enumerable: true,
|
|
45303
|
-
get: function () { return
|
|
45306
|
+
get: function () { return chunkV4B2GSC6_cjs.WorkflowRunWorkspaceChangedError; }
|
|
45304
45307
|
});
|
|
45305
45308
|
Object.defineProperty(exports, "buildProjectSummaries", {
|
|
45306
45309
|
enumerable: true,
|
|
45307
|
-
get: function () { return
|
|
45310
|
+
get: function () { return chunkV4B2GSC6_cjs.buildProjectSummaries; }
|
|
45308
45311
|
});
|
|
45309
45312
|
Object.defineProperty(exports, "primaryProjectWorkspace", {
|
|
45310
45313
|
enumerable: true,
|
|
45311
|
-
get: function () { return
|
|
45314
|
+
get: function () { return chunkV4B2GSC6_cjs.primaryProjectWorkspace; }
|
|
45312
45315
|
});
|
|
45313
45316
|
Object.defineProperty(exports, "useEnsureRequiredLabels", {
|
|
45314
45317
|
enumerable: true,
|
|
45315
|
-
get: function () { return
|
|
45318
|
+
get: function () { return chunkV4B2GSC6_cjs.useEnsureRequiredLabels; }
|
|
45316
45319
|
});
|
|
45317
45320
|
Object.defineProperty(exports, "useProjectSummaries", {
|
|
45318
45321
|
enumerable: true,
|
|
45319
|
-
get: function () { return
|
|
45322
|
+
get: function () { return chunkV4B2GSC6_cjs.useProjectSummaries; }
|
|
45320
45323
|
});
|
|
45321
45324
|
Object.defineProperty(exports, "useProjectSummary", {
|
|
45322
45325
|
enumerable: true,
|
|
45323
|
-
get: function () { return
|
|
45326
|
+
get: function () { return chunkV4B2GSC6_cjs.useProjectSummary; }
|
|
45324
45327
|
});
|
|
45325
45328
|
Object.defineProperty(exports, "useRenderTaskPerson", {
|
|
45326
45329
|
enumerable: true,
|
|
45327
|
-
get: function () { return
|
|
45330
|
+
get: function () { return chunkV4B2GSC6_cjs.useRenderTaskPerson; }
|
|
45328
45331
|
});
|
|
45329
45332
|
Object.defineProperty(exports, "useRequiredLabels", {
|
|
45330
45333
|
enumerable: true,
|
|
45331
|
-
get: function () { return
|
|
45334
|
+
get: function () { return chunkV4B2GSC6_cjs.useRequiredLabels; }
|
|
45332
45335
|
});
|
|
45333
45336
|
Object.defineProperty(exports, "useTaskPeople", {
|
|
45334
45337
|
enumerable: true,
|
|
45335
|
-
get: function () { return
|
|
45338
|
+
get: function () { return chunkV4B2GSC6_cjs.useTaskPeople; }
|
|
45336
45339
|
});
|
|
45337
45340
|
Object.defineProperty(exports, "useWorkflowsPageState", {
|
|
45338
45341
|
enumerable: true,
|
|
45339
|
-
get: function () { return
|
|
45342
|
+
get: function () { return chunkV4B2GSC6_cjs.useWorkflowsPageState; }
|
|
45340
45343
|
});
|
|
45341
45344
|
Object.defineProperty(exports, "workflowRunView", {
|
|
45342
45345
|
enumerable: true,
|
|
45343
|
-
get: function () { return
|
|
45346
|
+
get: function () { return chunkV4B2GSC6_cjs.workflowRunView; }
|
|
45344
45347
|
});
|
|
45345
45348
|
Object.defineProperty(exports, "AgentSteps", {
|
|
45346
45349
|
enumerable: true,
|
|
45347
|
-
get: function () { return
|
|
45350
|
+
get: function () { return chunkPTT5MZ7O_cjs.AgentSteps; }
|
|
45348
45351
|
});
|
|
45349
45352
|
Object.defineProperty(exports, "AnswerTable", {
|
|
45350
45353
|
enumerable: true,
|
|
45351
|
-
get: function () { return
|
|
45354
|
+
get: function () { return chunkPTT5MZ7O_cjs.AnswerTable; }
|
|
45352
45355
|
});
|
|
45353
45356
|
Object.defineProperty(exports, "ArbiChat", {
|
|
45354
45357
|
enumerable: true,
|
|
45355
|
-
get: function () { return
|
|
45358
|
+
get: function () { return chunkPTT5MZ7O_cjs.ArbiChat; }
|
|
45356
45359
|
});
|
|
45357
45360
|
Object.defineProperty(exports, "AskAgainContext", {
|
|
45358
45361
|
enumerable: true,
|
|
45359
|
-
get: function () { return
|
|
45362
|
+
get: function () { return chunkPTT5MZ7O_cjs.AskAgainContext; }
|
|
45360
45363
|
});
|
|
45361
45364
|
Object.defineProperty(exports, "ConnectedBranchControls", {
|
|
45362
45365
|
enumerable: true,
|
|
45363
|
-
get: function () { return
|
|
45366
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedBranchControls; }
|
|
45364
45367
|
});
|
|
45365
45368
|
Object.defineProperty(exports, "ConnectedCitationRenderer", {
|
|
45366
45369
|
enumerable: true,
|
|
45367
|
-
get: function () { return
|
|
45370
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedCitationRenderer; }
|
|
45368
45371
|
});
|
|
45369
45372
|
Object.defineProperty(exports, "ConnectedCompactConversation", {
|
|
45370
45373
|
enumerable: true,
|
|
45371
|
-
get: function () { return
|
|
45374
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedCompactConversation; }
|
|
45372
45375
|
});
|
|
45373
45376
|
Object.defineProperty(exports, "ConnectedCompactLogin", {
|
|
45374
45377
|
enumerable: true,
|
|
45375
|
-
get: function () { return
|
|
45378
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedCompactLogin; }
|
|
45376
45379
|
});
|
|
45377
45380
|
Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
|
|
45378
45381
|
enumerable: true,
|
|
45379
|
-
get: function () { return
|
|
45382
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedConversationDocumentPicker; }
|
|
45380
45383
|
});
|
|
45381
45384
|
Object.defineProperty(exports, "ConnectedDangerZone", {
|
|
45382
45385
|
enumerable: true,
|
|
45383
|
-
get: function () { return
|
|
45386
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedDangerZone; }
|
|
45384
45387
|
});
|
|
45385
45388
|
Object.defineProperty(exports, "ConnectedEmbeddedChat", {
|
|
45386
45389
|
enumerable: true,
|
|
45387
|
-
get: function () { return
|
|
45390
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedEmbeddedChat; }
|
|
45388
45391
|
});
|
|
45389
45392
|
Object.defineProperty(exports, "ConnectedForgotPassword", {
|
|
45390
45393
|
enumerable: true,
|
|
45391
|
-
get: function () { return
|
|
45394
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedForgotPassword; }
|
|
45392
45395
|
});
|
|
45393
45396
|
Object.defineProperty(exports, "ConnectedIdentityVerification", {
|
|
45394
45397
|
enumerable: true,
|
|
45395
|
-
get: function () { return
|
|
45398
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedIdentityVerification; }
|
|
45396
45399
|
});
|
|
45397
45400
|
Object.defineProperty(exports, "ConnectedLoginPage", {
|
|
45398
45401
|
enumerable: true,
|
|
45399
|
-
get: function () { return
|
|
45402
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedLoginPage; }
|
|
45400
45403
|
});
|
|
45401
45404
|
Object.defineProperty(exports, "ConnectedLogoutDialog", {
|
|
45402
45405
|
enumerable: true,
|
|
45403
|
-
get: function () { return
|
|
45406
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedLogoutDialog; }
|
|
45404
45407
|
});
|
|
45405
45408
|
Object.defineProperty(exports, "ConnectedMessage", {
|
|
45406
45409
|
enumerable: true,
|
|
45407
|
-
get: function () { return
|
|
45410
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedMessage; }
|
|
45408
45411
|
});
|
|
45409
45412
|
Object.defineProperty(exports, "ConnectedMessageArea", {
|
|
45410
45413
|
enumerable: true,
|
|
45411
|
-
get: function () { return
|
|
45414
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedMessageArea; }
|
|
45412
45415
|
});
|
|
45413
45416
|
Object.defineProperty(exports, "ConnectedMessageList", {
|
|
45414
45417
|
enumerable: true,
|
|
45415
|
-
get: function () { return
|
|
45418
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedMessageList; }
|
|
45416
45419
|
});
|
|
45417
45420
|
Object.defineProperty(exports, "ConnectedModelSelector", {
|
|
45418
45421
|
enumerable: true,
|
|
45419
|
-
get: function () { return
|
|
45422
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedModelSelector; }
|
|
45420
45423
|
});
|
|
45421
45424
|
Object.defineProperty(exports, "ConnectedNotificationPreferences", {
|
|
45422
45425
|
enumerable: true,
|
|
45423
|
-
get: function () { return
|
|
45426
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedNotificationPreferences; }
|
|
45424
45427
|
});
|
|
45425
45428
|
Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
|
|
45426
45429
|
enumerable: true,
|
|
45427
|
-
get: function () { return
|
|
45430
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedPasswordChangeDialog; }
|
|
45428
45431
|
});
|
|
45429
45432
|
Object.defineProperty(exports, "ConnectedProfileCard", {
|
|
45430
45433
|
enumerable: true,
|
|
45431
|
-
get: function () { return
|
|
45434
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedProfileCard; }
|
|
45432
45435
|
});
|
|
45433
45436
|
Object.defineProperty(exports, "ConnectedSecuritySection", {
|
|
45434
45437
|
enumerable: true,
|
|
45435
|
-
get: function () { return
|
|
45438
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedSecuritySection; }
|
|
45436
45439
|
});
|
|
45437
45440
|
Object.defineProperty(exports, "ConnectedSessionsRow", {
|
|
45438
45441
|
enumerable: true,
|
|
45439
|
-
get: function () { return
|
|
45442
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedSessionsRow; }
|
|
45440
45443
|
});
|
|
45441
45444
|
Object.defineProperty(exports, "ConnectedThreadsPreview", {
|
|
45442
45445
|
enumerable: true,
|
|
45443
|
-
get: function () { return
|
|
45446
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConnectedThreadsPreview; }
|
|
45444
45447
|
});
|
|
45445
45448
|
Object.defineProperty(exports, "ConversationComposer", {
|
|
45446
45449
|
enumerable: true,
|
|
45447
|
-
get: function () { return
|
|
45450
|
+
get: function () { return chunkPTT5MZ7O_cjs.ConversationComposer; }
|
|
45448
45451
|
});
|
|
45449
45452
|
Object.defineProperty(exports, "EmbeddedChatPanel", {
|
|
45450
45453
|
enumerable: true,
|
|
45451
|
-
get: function () { return
|
|
45454
|
+
get: function () { return chunkPTT5MZ7O_cjs.EmbeddedChatPanel; }
|
|
45452
45455
|
});
|
|
45453
45456
|
Object.defineProperty(exports, "MessageDetailsModal", {
|
|
45454
45457
|
enumerable: true,
|
|
45455
|
-
get: function () { return
|
|
45458
|
+
get: function () { return chunkPTT5MZ7O_cjs.MessageDetailsModal; }
|
|
45456
45459
|
});
|
|
45457
45460
|
Object.defineProperty(exports, "MessageLiveSeconds", {
|
|
45458
45461
|
enumerable: true,
|
|
45459
|
-
get: function () { return
|
|
45462
|
+
get: function () { return chunkPTT5MZ7O_cjs.MessageLiveSeconds; }
|
|
45460
45463
|
});
|
|
45461
45464
|
Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
|
|
45462
45465
|
enumerable: true,
|
|
45463
|
-
get: function () { return
|
|
45466
|
+
get: function () { return chunkPTT5MZ7O_cjs.PENDING_RECOVERY_KEY; }
|
|
45464
45467
|
});
|
|
45465
45468
|
Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
|
|
45466
45469
|
enumerable: true,
|
|
45467
|
-
get: function () { return
|
|
45470
|
+
get: function () { return chunkPTT5MZ7O_cjs.PREMIUM_TIER_TAG; }
|
|
45468
45471
|
});
|
|
45469
45472
|
Object.defineProperty(exports, "RunningSubagents", {
|
|
45470
45473
|
enumerable: true,
|
|
45471
|
-
get: function () { return
|
|
45474
|
+
get: function () { return chunkPTT5MZ7O_cjs.RunningSubagents; }
|
|
45472
45475
|
});
|
|
45473
45476
|
Object.defineProperty(exports, "STANDARD_TIER_TAG", {
|
|
45474
45477
|
enumerable: true,
|
|
45475
|
-
get: function () { return
|
|
45478
|
+
get: function () { return chunkPTT5MZ7O_cjs.STANDARD_TIER_TAG; }
|
|
45476
45479
|
});
|
|
45477
45480
|
Object.defineProperty(exports, "WorkflowStepMessage", {
|
|
45478
45481
|
enumerable: true,
|
|
45479
|
-
get: function () { return
|
|
45482
|
+
get: function () { return chunkPTT5MZ7O_cjs.WorkflowStepMessage; }
|
|
45480
45483
|
});
|
|
45481
45484
|
Object.defineProperty(exports, "backUpOnSignup", {
|
|
45482
45485
|
enumerable: true,
|
|
45483
|
-
get: function () { return
|
|
45486
|
+
get: function () { return chunkPTT5MZ7O_cjs.backUpOnSignup; }
|
|
45484
45487
|
});
|
|
45485
45488
|
Object.defineProperty(exports, "createRemoteControl", {
|
|
45486
45489
|
enumerable: true,
|
|
45487
|
-
get: function () { return
|
|
45490
|
+
get: function () { return chunkPTT5MZ7O_cjs.createRemoteControl; }
|
|
45488
45491
|
});
|
|
45489
45492
|
Object.defineProperty(exports, "defaultHost", {
|
|
45490
45493
|
enumerable: true,
|
|
45491
|
-
get: function () { return
|
|
45494
|
+
get: function () { return chunkPTT5MZ7O_cjs.defaultHost; }
|
|
45492
45495
|
});
|
|
45493
45496
|
Object.defineProperty(exports, "renderConnectedUser", {
|
|
45494
45497
|
enumerable: true,
|
|
45495
|
-
get: function () { return
|
|
45498
|
+
get: function () { return chunkPTT5MZ7O_cjs.renderConnectedUser; }
|
|
45496
45499
|
});
|
|
45497
45500
|
Object.defineProperty(exports, "renderSessionStatusIcon", {
|
|
45498
45501
|
enumerable: true,
|
|
45499
|
-
get: function () { return
|
|
45502
|
+
get: function () { return chunkPTT5MZ7O_cjs.renderSessionStatusIcon; }
|
|
45500
45503
|
});
|
|
45501
45504
|
Object.defineProperty(exports, "resolveSsoName", {
|
|
45502
45505
|
enumerable: true,
|
|
45503
|
-
get: function () { return
|
|
45506
|
+
get: function () { return chunkPTT5MZ7O_cjs.resolveSsoName; }
|
|
45504
45507
|
});
|
|
45505
45508
|
Object.defineProperty(exports, "useAuthPages", {
|
|
45506
45509
|
enumerable: true,
|
|
45507
|
-
get: function () { return
|
|
45510
|
+
get: function () { return chunkPTT5MZ7O_cjs.useAuthPages; }
|
|
45508
45511
|
});
|
|
45509
45512
|
Object.defineProperty(exports, "useContextualHints", {
|
|
45510
45513
|
enumerable: true,
|
|
45511
|
-
get: function () { return
|
|
45514
|
+
get: function () { return chunkPTT5MZ7O_cjs.useContextualHints; }
|
|
45512
45515
|
});
|
|
45513
45516
|
Object.defineProperty(exports, "useModelPicker", {
|
|
45514
45517
|
enumerable: true,
|
|
45515
|
-
get: function () { return
|
|
45518
|
+
get: function () { return chunkPTT5MZ7O_cjs.useModelPicker; }
|
|
45516
45519
|
});
|
|
45517
45520
|
Object.defineProperty(exports, "useOpenChunk", {
|
|
45518
45521
|
enumerable: true,
|
|
45519
|
-
get: function () { return
|
|
45522
|
+
get: function () { return chunkPTT5MZ7O_cjs.useOpenChunk; }
|
|
45520
45523
|
});
|
|
45521
45524
|
Object.defineProperty(exports, "useOpenWorkspaceIcon", {
|
|
45522
45525
|
enumerable: true,
|
|
45523
|
-
get: function () { return
|
|
45526
|
+
get: function () { return chunkPTT5MZ7O_cjs.useOpenWorkspaceIcon; }
|
|
45524
45527
|
});
|
|
45525
45528
|
Object.defineProperty(exports, "useRemoteControlActions", {
|
|
45526
45529
|
enumerable: true,
|
|
45527
|
-
get: function () { return
|
|
45530
|
+
get: function () { return chunkPTT5MZ7O_cjs.useRemoteControlActions; }
|
|
45528
45531
|
});
|
|
45529
45532
|
Object.defineProperty(exports, "useRemoteControlHandlers", {
|
|
45530
45533
|
enumerable: true,
|
|
45531
|
-
get: function () { return
|
|
45534
|
+
get: function () { return chunkPTT5MZ7O_cjs.useRemoteControlHandlers; }
|
|
45532
45535
|
});
|
|
45533
45536
|
Object.defineProperty(exports, "useSsoSignIn", {
|
|
45534
45537
|
enumerable: true,
|
|
45535
|
-
get: function () { return
|
|
45538
|
+
get: function () { return chunkPTT5MZ7O_cjs.useSsoSignIn; }
|
|
45536
45539
|
});
|
|
45537
45540
|
Object.defineProperty(exports, "useWorkspaceDocTitles", {
|
|
45538
45541
|
enumerable: true,
|
|
45539
|
-
get: function () { return
|
|
45542
|
+
get: function () { return chunkPTT5MZ7O_cjs.useWorkspaceDocTitles; }
|
|
45540
45543
|
});
|
|
45541
45544
|
Object.defineProperty(exports, "parseTypedSkill", {
|
|
45542
45545
|
enumerable: true,
|
|
@@ -45556,11 +45559,11 @@ Object.defineProperty(exports, "useSlashSkillWorkflows", {
|
|
|
45556
45559
|
});
|
|
45557
45560
|
Object.defineProperty(exports, "useConnectedThreadActivity", {
|
|
45558
45561
|
enumerable: true,
|
|
45559
|
-
get: function () { return
|
|
45562
|
+
get: function () { return chunkFNBUFKHE_cjs.useConnectedThreadActivity; }
|
|
45560
45563
|
});
|
|
45561
45564
|
Object.defineProperty(exports, "DocumentUser", {
|
|
45562
45565
|
enumerable: true,
|
|
45563
|
-
get: function () { return
|
|
45566
|
+
get: function () { return chunkM24FBUAP_cjs.DocumentUser; }
|
|
45564
45567
|
});
|
|
45565
45568
|
Object.defineProperty(exports, "EMBEDDED_SELECTED_DOCS_KEY", {
|
|
45566
45569
|
enumerable: true,
|
|
@@ -45572,127 +45575,127 @@ Object.defineProperty(exports, "SELECTED_WORKSPACE_KEY", {
|
|
|
45572
45575
|
});
|
|
45573
45576
|
Object.defineProperty(exports, "ConnectedAgendaBlock", {
|
|
45574
45577
|
enumerable: true,
|
|
45575
|
-
get: function () { return
|
|
45578
|
+
get: function () { return chunkYO7GDNEW_cjs.ConnectedAgendaBlock; }
|
|
45576
45579
|
});
|
|
45577
45580
|
Object.defineProperty(exports, "ConnectedCarouselBlock", {
|
|
45578
45581
|
enumerable: true,
|
|
45579
|
-
get: function () { return
|
|
45582
|
+
get: function () { return chunkYO7GDNEW_cjs.ConnectedCarouselBlock; }
|
|
45580
45583
|
});
|
|
45581
45584
|
Object.defineProperty(exports, "ConnectedEmailWorkspaceDialog", {
|
|
45582
45585
|
enumerable: true,
|
|
45583
|
-
get: function () { return
|
|
45586
|
+
get: function () { return chunkYO7GDNEW_cjs.ConnectedEmailWorkspaceDialog; }
|
|
45584
45587
|
});
|
|
45585
45588
|
Object.defineProperty(exports, "ConnectedListBlock", {
|
|
45586
45589
|
enumerable: true,
|
|
45587
|
-
get: function () { return
|
|
45590
|
+
get: function () { return chunkYO7GDNEW_cjs.ConnectedListBlock; }
|
|
45588
45591
|
});
|
|
45589
45592
|
Object.defineProperty(exports, "ConnectedNewFileMenu", {
|
|
45590
45593
|
enumerable: true,
|
|
45591
|
-
get: function () { return
|
|
45594
|
+
get: function () { return chunkYO7GDNEW_cjs.ConnectedNewFileMenu; }
|
|
45592
45595
|
});
|
|
45593
45596
|
Object.defineProperty(exports, "ConnectedNewThreadDialog", {
|
|
45594
45597
|
enumerable: true,
|
|
45595
|
-
get: function () { return
|
|
45598
|
+
get: function () { return chunkYO7GDNEW_cjs.ConnectedNewThreadDialog; }
|
|
45596
45599
|
});
|
|
45597
45600
|
Object.defineProperty(exports, "ConnectedStartBlock", {
|
|
45598
45601
|
enumerable: true,
|
|
45599
|
-
get: function () { return
|
|
45602
|
+
get: function () { return chunkYO7GDNEW_cjs.ConnectedStartBlock; }
|
|
45600
45603
|
});
|
|
45601
45604
|
Object.defineProperty(exports, "ConnectedUpcomingEvents", {
|
|
45602
45605
|
enumerable: true,
|
|
45603
|
-
get: function () { return
|
|
45606
|
+
get: function () { return chunkYO7GDNEW_cjs.ConnectedUpcomingEvents; }
|
|
45604
45607
|
});
|
|
45605
45608
|
Object.defineProperty(exports, "ConnectedWorkspaceEntity", {
|
|
45606
45609
|
enumerable: true,
|
|
45607
|
-
get: function () { return
|
|
45610
|
+
get: function () { return chunkYO7GDNEW_cjs.ConnectedWorkspaceEntity; }
|
|
45608
45611
|
});
|
|
45609
45612
|
Object.defineProperty(exports, "DocumentsUploadButton", {
|
|
45610
45613
|
enumerable: true,
|
|
45611
|
-
get: function () { return
|
|
45614
|
+
get: function () { return chunkYO7GDNEW_cjs.DocumentsUploadButton; }
|
|
45612
45615
|
});
|
|
45613
45616
|
Object.defineProperty(exports, "LOOK_AGAIN_LABEL", {
|
|
45614
45617
|
enumerable: true,
|
|
45615
|
-
get: function () { return
|
|
45618
|
+
get: function () { return chunkYO7GDNEW_cjs.LOOK_AGAIN_LABEL; }
|
|
45616
45619
|
});
|
|
45617
45620
|
Object.defineProperty(exports, "PENDING_LOOKUP_MS", {
|
|
45618
45621
|
enumerable: true,
|
|
45619
|
-
get: function () { return
|
|
45622
|
+
get: function () { return chunkYO7GDNEW_cjs.PENDING_LOOKUP_MS; }
|
|
45620
45623
|
});
|
|
45621
45624
|
Object.defineProperty(exports, "PENDING_TASK_MESSAGE", {
|
|
45622
45625
|
enumerable: true,
|
|
45623
|
-
get: function () { return
|
|
45626
|
+
get: function () { return chunkYO7GDNEW_cjs.PENDING_TASK_MESSAGE; }
|
|
45624
45627
|
});
|
|
45625
45628
|
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_BLOCKS", {
|
|
45626
45629
|
enumerable: true,
|
|
45627
|
-
get: function () { return
|
|
45630
|
+
get: function () { return chunkYO7GDNEW_cjs.WORKSPACE_DASHBOARD_BLOCKS; }
|
|
45628
45631
|
});
|
|
45629
45632
|
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_LAYOUT", {
|
|
45630
45633
|
enumerable: true,
|
|
45631
|
-
get: function () { return
|
|
45634
|
+
get: function () { return chunkYO7GDNEW_cjs.WORKSPACE_DASHBOARD_LAYOUT; }
|
|
45632
45635
|
});
|
|
45633
45636
|
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_PAGE", {
|
|
45634
45637
|
enumerable: true,
|
|
45635
|
-
get: function () { return
|
|
45638
|
+
get: function () { return chunkYO7GDNEW_cjs.WORKSPACE_DASHBOARD_PAGE; }
|
|
45636
45639
|
});
|
|
45637
45640
|
Object.defineProperty(exports, "createEventCall", {
|
|
45638
45641
|
enumerable: true,
|
|
45639
|
-
get: function () { return
|
|
45642
|
+
get: function () { return chunkYO7GDNEW_cjs.createEventCall; }
|
|
45640
45643
|
});
|
|
45641
45644
|
Object.defineProperty(exports, "distinctPeers", {
|
|
45642
45645
|
enumerable: true,
|
|
45643
|
-
get: function () { return
|
|
45646
|
+
get: function () { return chunkYO7GDNEW_cjs.distinctPeers; }
|
|
45644
45647
|
});
|
|
45645
45648
|
Object.defineProperty(exports, "joinEventMeeting", {
|
|
45646
45649
|
enumerable: true,
|
|
45647
|
-
get: function () { return
|
|
45650
|
+
get: function () { return chunkYO7GDNEW_cjs.joinEventMeeting; }
|
|
45648
45651
|
});
|
|
45649
45652
|
Object.defineProperty(exports, "loadEventWebinar", {
|
|
45650
45653
|
enumerable: true,
|
|
45651
|
-
get: function () { return
|
|
45654
|
+
get: function () { return chunkYO7GDNEW_cjs.loadEventWebinar; }
|
|
45652
45655
|
});
|
|
45653
45656
|
Object.defineProperty(exports, "parseArbiCallUrl", {
|
|
45654
45657
|
enumerable: true,
|
|
45655
|
-
get: function () { return
|
|
45658
|
+
get: function () { return chunkYO7GDNEW_cjs.parseArbiCallUrl; }
|
|
45656
45659
|
});
|
|
45657
45660
|
Object.defineProperty(exports, "resolveAttendeeUsers", {
|
|
45658
45661
|
enumerable: true,
|
|
45659
|
-
get: function () { return
|
|
45662
|
+
get: function () { return chunkYO7GDNEW_cjs.resolveAttendeeUsers; }
|
|
45660
45663
|
});
|
|
45661
45664
|
Object.defineProperty(exports, "resolveAttendeeUsersRemote", {
|
|
45662
45665
|
enumerable: true,
|
|
45663
|
-
get: function () { return
|
|
45666
|
+
get: function () { return chunkYO7GDNEW_cjs.resolveAttendeeUsersRemote; }
|
|
45664
45667
|
});
|
|
45665
45668
|
Object.defineProperty(exports, "resolveCallPeers", {
|
|
45666
45669
|
enumerable: true,
|
|
45667
|
-
get: function () { return
|
|
45670
|
+
get: function () { return chunkYO7GDNEW_cjs.resolveCallPeers; }
|
|
45668
45671
|
});
|
|
45669
45672
|
Object.defineProperty(exports, "resolveCallPeersRemote", {
|
|
45670
45673
|
enumerable: true,
|
|
45671
|
-
get: function () { return
|
|
45674
|
+
get: function () { return chunkYO7GDNEW_cjs.resolveCallPeersRemote; }
|
|
45672
45675
|
});
|
|
45673
45676
|
Object.defineProperty(exports, "shareEventCall", {
|
|
45674
45677
|
enumerable: true,
|
|
45675
|
-
get: function () { return
|
|
45678
|
+
get: function () { return chunkYO7GDNEW_cjs.shareEventCall; }
|
|
45676
45679
|
});
|
|
45677
45680
|
Object.defineProperty(exports, "updateEventWebinarRoles", {
|
|
45678
45681
|
enumerable: true,
|
|
45679
|
-
get: function () { return
|
|
45682
|
+
get: function () { return chunkYO7GDNEW_cjs.updateEventWebinarRoles; }
|
|
45680
45683
|
});
|
|
45681
45684
|
Object.defineProperty(exports, "useAddFromUrls", {
|
|
45682
45685
|
enumerable: true,
|
|
45683
|
-
get: function () { return
|
|
45686
|
+
get: function () { return chunkYO7GDNEW_cjs.useAddFromUrls; }
|
|
45684
45687
|
});
|
|
45685
45688
|
Object.defineProperty(exports, "useExportStore", {
|
|
45686
45689
|
enumerable: true,
|
|
45687
|
-
get: function () { return
|
|
45690
|
+
get: function () { return chunkYO7GDNEW_cjs.useExportStore; }
|
|
45688
45691
|
});
|
|
45689
45692
|
Object.defineProperty(exports, "usePendingTaskThread", {
|
|
45690
45693
|
enumerable: true,
|
|
45691
|
-
get: function () { return
|
|
45694
|
+
get: function () { return chunkYO7GDNEW_cjs.usePendingTaskThread; }
|
|
45692
45695
|
});
|
|
45693
45696
|
Object.defineProperty(exports, "webinarRolesByUser", {
|
|
45694
45697
|
enumerable: true,
|
|
45695
|
-
get: function () { return
|
|
45698
|
+
get: function () { return chunkYO7GDNEW_cjs.webinarRolesByUser; }
|
|
45696
45699
|
});
|
|
45697
45700
|
Object.defineProperty(exports, "ConnectedWorkflowStart", {
|
|
45698
45701
|
enumerable: true,
|
|
@@ -45748,35 +45751,35 @@ Object.defineProperty(exports, "useViewerStreamingDocument", {
|
|
|
45748
45751
|
});
|
|
45749
45752
|
Object.defineProperty(exports, "FILES_PREFS_KEY", {
|
|
45750
45753
|
enumerable: true,
|
|
45751
|
-
get: function () { return
|
|
45754
|
+
get: function () { return chunkHGD4B7GO_cjs.FILES_PREFS_KEY; }
|
|
45752
45755
|
});
|
|
45753
45756
|
Object.defineProperty(exports, "filesViewMode", {
|
|
45754
45757
|
enumerable: true,
|
|
45755
|
-
get: function () { return
|
|
45758
|
+
get: function () { return chunkHGD4B7GO_cjs.filesViewMode; }
|
|
45756
45759
|
});
|
|
45757
45760
|
Object.defineProperty(exports, "useAiReviewStore", {
|
|
45758
45761
|
enumerable: true,
|
|
45759
|
-
get: function () { return
|
|
45762
|
+
get: function () { return chunkHGD4B7GO_cjs.useAiReviewStore; }
|
|
45760
45763
|
});
|
|
45761
45764
|
Object.defineProperty(exports, "useFilesDialogs", {
|
|
45762
45765
|
enumerable: true,
|
|
45763
|
-
get: function () { return
|
|
45766
|
+
get: function () { return chunkHGD4B7GO_cjs.useFilesDialogs; }
|
|
45764
45767
|
});
|
|
45765
45768
|
Object.defineProperty(exports, "useFilesGridStates", {
|
|
45766
45769
|
enumerable: true,
|
|
45767
|
-
get: function () { return
|
|
45770
|
+
get: function () { return chunkHGD4B7GO_cjs.useFilesGridStates; }
|
|
45768
45771
|
});
|
|
45769
45772
|
Object.defineProperty(exports, "useFilesPrefs", {
|
|
45770
45773
|
enumerable: true,
|
|
45771
|
-
get: function () { return
|
|
45774
|
+
get: function () { return chunkHGD4B7GO_cjs.useFilesPrefs; }
|
|
45772
45775
|
});
|
|
45773
45776
|
Object.defineProperty(exports, "useFilesStore", {
|
|
45774
45777
|
enumerable: true,
|
|
45775
|
-
get: function () { return
|
|
45778
|
+
get: function () { return chunkHGD4B7GO_cjs.useFilesStore; }
|
|
45776
45779
|
});
|
|
45777
45780
|
Object.defineProperty(exports, "usePendingFolders", {
|
|
45778
45781
|
enumerable: true,
|
|
45779
|
-
get: function () { return
|
|
45782
|
+
get: function () { return chunkHGD4B7GO_cjs.usePendingFolders; }
|
|
45780
45783
|
});
|
|
45781
45784
|
Object.defineProperty(exports, "ConnectedMarkdown", {
|
|
45782
45785
|
enumerable: true,
|
|
@@ -45808,67 +45811,67 @@ Object.defineProperty(exports, "useDocumentWorkspace", {
|
|
|
45808
45811
|
});
|
|
45809
45812
|
Object.defineProperty(exports, "ConnectedPendingSyncDialog", {
|
|
45810
45813
|
enumerable: true,
|
|
45811
|
-
get: function () { return
|
|
45814
|
+
get: function () { return chunkBNHFDXJI_cjs.ConnectedPendingSyncDialog; }
|
|
45812
45815
|
});
|
|
45813
45816
|
Object.defineProperty(exports, "DocumentFolderCell", {
|
|
45814
45817
|
enumerable: true,
|
|
45815
|
-
get: function () { return
|
|
45818
|
+
get: function () { return chunkBNHFDXJI_cjs.DocumentFolderCell; }
|
|
45816
45819
|
});
|
|
45817
45820
|
Object.defineProperty(exports, "DocumentLabelsCell", {
|
|
45818
45821
|
enumerable: true,
|
|
45819
|
-
get: function () { return
|
|
45822
|
+
get: function () { return chunkBNHFDXJI_cjs.DocumentLabelsCell; }
|
|
45820
45823
|
});
|
|
45821
45824
|
Object.defineProperty(exports, "DocumentNameCell", {
|
|
45822
45825
|
enumerable: true,
|
|
45823
|
-
get: function () { return
|
|
45826
|
+
get: function () { return chunkBNHFDXJI_cjs.DocumentNameCell; }
|
|
45824
45827
|
});
|
|
45825
45828
|
Object.defineProperty(exports, "DocumentSharedCell", {
|
|
45826
45829
|
enumerable: true,
|
|
45827
|
-
get: function () { return
|
|
45830
|
+
get: function () { return chunkBNHFDXJI_cjs.DocumentSharedCell; }
|
|
45828
45831
|
});
|
|
45829
45832
|
Object.defineProperty(exports, "DocumentStatusGlyph", {
|
|
45830
45833
|
enumerable: true,
|
|
45831
|
-
get: function () { return
|
|
45834
|
+
get: function () { return chunkBNHFDXJI_cjs.DocumentStatusGlyph; }
|
|
45832
45835
|
});
|
|
45833
45836
|
Object.defineProperty(exports, "DocumentSyncGlyph", {
|
|
45834
45837
|
enumerable: true,
|
|
45835
|
-
get: function () { return
|
|
45838
|
+
get: function () { return chunkBNHFDXJI_cjs.DocumentSyncGlyph; }
|
|
45836
45839
|
});
|
|
45837
45840
|
Object.defineProperty(exports, "FileTooltipContent", {
|
|
45838
45841
|
enumerable: true,
|
|
45839
|
-
get: function () { return
|
|
45842
|
+
get: function () { return chunkBNHFDXJI_cjs.FileTooltipContent; }
|
|
45840
45843
|
});
|
|
45841
45844
|
Object.defineProperty(exports, "RelatedDocumentsCell", {
|
|
45842
45845
|
enumerable: true,
|
|
45843
|
-
get: function () { return
|
|
45846
|
+
get: function () { return chunkBNHFDXJI_cjs.RelatedDocumentsCell; }
|
|
45844
45847
|
});
|
|
45845
45848
|
Object.defineProperty(exports, "StatusCell", {
|
|
45846
45849
|
enumerable: true,
|
|
45847
|
-
get: function () { return
|
|
45850
|
+
get: function () { return chunkBNHFDXJI_cjs.StatusCell; }
|
|
45848
45851
|
});
|
|
45849
45852
|
Object.defineProperty(exports, "UserAvatar", {
|
|
45850
45853
|
enumerable: true,
|
|
45851
|
-
get: function () { return
|
|
45854
|
+
get: function () { return chunkBNHFDXJI_cjs.UserAvatar; }
|
|
45852
45855
|
});
|
|
45853
45856
|
Object.defineProperty(exports, "isActiveDocumentStatus", {
|
|
45854
45857
|
enumerable: true,
|
|
45855
|
-
get: function () { return
|
|
45858
|
+
get: function () { return chunkBNHFDXJI_cjs.isActiveDocumentStatus; }
|
|
45856
45859
|
});
|
|
45857
45860
|
Object.defineProperty(exports, "openPendingSyncDialog", {
|
|
45858
45861
|
enumerable: true,
|
|
45859
|
-
get: function () { return
|
|
45862
|
+
get: function () { return chunkBNHFDXJI_cjs.openPendingSyncDialog; }
|
|
45860
45863
|
});
|
|
45861
45864
|
Object.defineProperty(exports, "parseQuotaError", {
|
|
45862
45865
|
enumerable: true,
|
|
45863
|
-
get: function () { return
|
|
45866
|
+
get: function () { return chunkBNHFDXJI_cjs.parseQuotaError; }
|
|
45864
45867
|
});
|
|
45865
45868
|
Object.defineProperty(exports, "startMenuItem", {
|
|
45866
45869
|
enumerable: true,
|
|
45867
|
-
get: function () { return
|
|
45870
|
+
get: function () { return chunkBNHFDXJI_cjs.startMenuItem; }
|
|
45868
45871
|
});
|
|
45869
45872
|
Object.defineProperty(exports, "useDocumentFolders", {
|
|
45870
45873
|
enumerable: true,
|
|
45871
|
-
get: function () { return
|
|
45874
|
+
get: function () { return chunkBNHFDXJI_cjs.useDocumentFolders; }
|
|
45872
45875
|
});
|
|
45873
45876
|
Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
|
|
45874
45877
|
enumerable: true,
|
|
@@ -45876,23 +45879,23 @@ Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
|
|
|
45876
45879
|
});
|
|
45877
45880
|
Object.defineProperty(exports, "ConnectedWorkflowsTable", {
|
|
45878
45881
|
enumerable: true,
|
|
45879
|
-
get: function () { return
|
|
45882
|
+
get: function () { return chunkK7GBHLLY_cjs.ConnectedWorkflowsTable; }
|
|
45880
45883
|
});
|
|
45881
45884
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS", {
|
|
45882
45885
|
enumerable: true,
|
|
45883
|
-
get: function () { return
|
|
45886
|
+
get: function () { return chunkK7GBHLLY_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
|
|
45884
45887
|
});
|
|
45885
45888
|
Object.defineProperty(exports, "useConnectedWorkspaceRole", {
|
|
45886
45889
|
enumerable: true,
|
|
45887
|
-
get: function () { return
|
|
45890
|
+
get: function () { return chunkK7GBHLLY_cjs.useConnectedWorkspaceRole; }
|
|
45888
45891
|
});
|
|
45889
45892
|
Object.defineProperty(exports, "useDocxCommentTarget", {
|
|
45890
45893
|
enumerable: true,
|
|
45891
|
-
get: function () { return
|
|
45894
|
+
get: function () { return chunkK7GBHLLY_cjs.useDocxCommentTarget; }
|
|
45892
45895
|
});
|
|
45893
45896
|
Object.defineProperty(exports, "useNativeDocxSupport", {
|
|
45894
45897
|
enumerable: true,
|
|
45895
|
-
get: function () { return
|
|
45898
|
+
get: function () { return chunkK7GBHLLY_cjs.useNativeDocxSupport; }
|
|
45896
45899
|
});
|
|
45897
45900
|
Object.defineProperty(exports, "useOpenWorkflow", {
|
|
45898
45901
|
enumerable: true,
|