@arbidocs/blocks 0.5.137 → 0.5.139
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-X2O5OIYZ.cjs +1 -1
- package/dist/ConnectedStreamedWordArtifact-BI6WFIAW.cjs +1 -1
- package/dist/{DocumentReviewCard-SOWXEXMC.cjs → DocumentReviewCard-NZCGQ7SH.cjs} +12 -12
- package/dist/{DocumentReviewCard-SOWXEXMC.cjs.map → DocumentReviewCard-NZCGQ7SH.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-A5OAV2YP.cjs → FilesViewerDialog-NKDVTI6H.cjs} +9 -9
- package/dist/{FilesViewerDialog-A5OAV2YP.cjs.map → FilesViewerDialog-NKDVTI6H.cjs.map} +1 -1
- package/dist/agents/index.cjs +176 -176
- package/dist/calls/index.cjs +22 -22
- package/dist/{chunk-ALR6NCVR.cjs → chunk-7YIN4Q63.cjs} +4 -4
- package/dist/{chunk-ALR6NCVR.cjs.map → chunk-7YIN4Q63.cjs.map} +1 -1
- package/dist/{chunk-RUKEMF6Q.cjs → chunk-BT2QTDZ4.cjs} +35 -35
- package/dist/{chunk-RUKEMF6Q.cjs.map → chunk-BT2QTDZ4.cjs.map} +1 -1
- package/dist/{chunk-PTLILY4Q.cjs → chunk-CKKODA5B.cjs} +3 -3
- package/dist/{chunk-PTLILY4Q.cjs.map → chunk-CKKODA5B.cjs.map} +1 -1
- package/dist/{chunk-HVVD4YSE.cjs → chunk-F5HT73TR.cjs} +24 -24
- package/dist/{chunk-HVVD4YSE.cjs.map → chunk-F5HT73TR.cjs.map} +1 -1
- package/dist/{chunk-M5EQGQRC.cjs → chunk-FYNNNQ6H.cjs} +4 -4
- package/dist/{chunk-M5EQGQRC.cjs.map → chunk-FYNNNQ6H.cjs.map} +1 -1
- package/dist/{chunk-TCVDV5RF.cjs → chunk-HG72AVXX.cjs} +3 -3
- package/dist/{chunk-TCVDV5RF.cjs.map → chunk-HG72AVXX.cjs.map} +1 -1
- package/dist/{chunk-ZHGIAVAC.cjs → chunk-JXZM5ODS.cjs} +28 -28
- package/dist/{chunk-ZHGIAVAC.cjs.map → chunk-JXZM5ODS.cjs.map} +1 -1
- package/dist/{chunk-K424CT35.cjs → chunk-LYDPVFNS.cjs} +4 -4
- package/dist/{chunk-K424CT35.cjs.map → chunk-LYDPVFNS.cjs.map} +1 -1
- package/dist/{chunk-NB6XGPEB.cjs → chunk-N7B5OAI5.cjs} +7 -7
- package/dist/chunk-N7B5OAI5.cjs.map +1 -0
- package/dist/{chunk-RIONTVEH.cjs → chunk-SHGUTM42.cjs} +5 -5
- package/dist/{chunk-RIONTVEH.cjs.map → chunk-SHGUTM42.cjs.map} +1 -1
- package/dist/{chunk-7QZ7F3YL.cjs → chunk-SS7IYHLK.cjs} +8 -8
- package/dist/{chunk-7QZ7F3YL.cjs.map → chunk-SS7IYHLK.cjs.map} +1 -1
- package/dist/{chunk-HQ7M75LU.cjs → chunk-TKWYFNWW.cjs} +51 -51
- package/dist/{chunk-HQ7M75LU.cjs.map → chunk-TKWYFNWW.cjs.map} +1 -1
- package/dist/{chunk-GRRD7SEY.cjs → chunk-YEGOCUBR.cjs} +4 -4
- package/dist/{chunk-GRRD7SEY.cjs.map → chunk-YEGOCUBR.cjs.map} +1 -1
- package/dist/connect/docx.cjs +1 -1
- package/dist/connect/index.cjs +549 -549
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/viewer.cjs +7 -7
- package/dist/connection/files/useBatchCompleteToasts.d.ts +4 -2
- package/dist/connection/files/useBatchCompleteToasts.js +1 -1
- package/dist/connection/files/useBatchCompleteToasts.js.map +2 -2
- package/dist/embed/index.cjs +13 -13
- package/dist/files/folders/folderPaths.js +5 -5
- package/dist/files/folders/folderPaths.js.map +2 -2
- package/dist/files/index.cjs +222 -222
- package/dist/index.cjs +645 -645
- package/dist/workflow-canvas/index.cjs +20 -20
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/chunk-NB6XGPEB.cjs.map +0 -1
package/dist/connect/index.cjs
CHANGED
|
@@ -5,19 +5,19 @@ var chunkCYA7MDHZ_cjs = require('../chunk-CYA7MDHZ.cjs');
|
|
|
5
5
|
var chunk6OK7ESTL_cjs = require('../chunk-6OK7ESTL.cjs');
|
|
6
6
|
var chunkG7E5IJST_cjs = require('../chunk-G7E5IJST.cjs');
|
|
7
7
|
var chunkK3ZZ6IH3_cjs = require('../chunk-K3ZZ6IH3.cjs');
|
|
8
|
-
var
|
|
8
|
+
var chunkJXZM5ODS_cjs = require('../chunk-JXZM5ODS.cjs');
|
|
9
9
|
var chunk2FA7UVLG_cjs = require('../chunk-2FA7UVLG.cjs');
|
|
10
10
|
var chunk5GCCUXMT_cjs = require('../chunk-5GCCUXMT.cjs');
|
|
11
11
|
var chunkDNWJUTK6_cjs = require('../chunk-DNWJUTK6.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkF5HT73TR_cjs = require('../chunk-F5HT73TR.cjs');
|
|
13
13
|
var chunkWNAZM2YS_cjs = require('../chunk-WNAZM2YS.cjs');
|
|
14
14
|
var chunk32W2S6DE_cjs = require('../chunk-32W2S6DE.cjs');
|
|
15
15
|
var chunkKWJW5TMH_cjs = require('../chunk-KWJW5TMH.cjs');
|
|
16
|
-
var
|
|
16
|
+
var chunkSS7IYHLK_cjs = require('../chunk-SS7IYHLK.cjs');
|
|
17
17
|
var chunkEHFSR633_cjs = require('../chunk-EHFSR633.cjs');
|
|
18
18
|
var chunk6JI4AXAY_cjs = require('../chunk-6JI4AXAY.cjs');
|
|
19
|
-
var
|
|
20
|
-
var
|
|
19
|
+
var chunkYEGOCUBR_cjs = require('../chunk-YEGOCUBR.cjs');
|
|
20
|
+
var chunkFYNNNQ6H_cjs = require('../chunk-FYNNNQ6H.cjs');
|
|
21
21
|
var chunkRJE6KXJQ_cjs = require('../chunk-RJE6KXJQ.cjs');
|
|
22
22
|
var chunk3Y75LUCT_cjs = require('../chunk-3Y75LUCT.cjs');
|
|
23
23
|
var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
|
|
@@ -33,12 +33,12 @@ var chunk4CIVQWAX_cjs = require('../chunk-4CIVQWAX.cjs');
|
|
|
33
33
|
var chunk57LUHZLV_cjs = require('../chunk-57LUHZLV.cjs');
|
|
34
34
|
var chunkQWVUBTW3_cjs = require('../chunk-QWVUBTW3.cjs');
|
|
35
35
|
var chunkJVEDKKNO_cjs = require('../chunk-JVEDKKNO.cjs');
|
|
36
|
-
var
|
|
36
|
+
var chunkLYDPVFNS_cjs = require('../chunk-LYDPVFNS.cjs');
|
|
37
37
|
var chunkTIBTTITZ_cjs = require('../chunk-TIBTTITZ.cjs');
|
|
38
|
-
var
|
|
38
|
+
var chunkBT2QTDZ4_cjs = require('../chunk-BT2QTDZ4.cjs');
|
|
39
39
|
var chunkPA7YEXL3_cjs = require('../chunk-PA7YEXL3.cjs');
|
|
40
40
|
require('../chunk-HYUKPHCT.cjs');
|
|
41
|
-
var
|
|
41
|
+
var chunkN7B5OAI5_cjs = require('../chunk-N7B5OAI5.cjs');
|
|
42
42
|
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
43
43
|
var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
|
|
44
44
|
var chunkREP5GA2Z_cjs = require('../chunk-REP5GA2Z.cjs');
|
|
@@ -55,7 +55,7 @@ require('../chunk-OUYBYZ7Y.cjs');
|
|
|
55
55
|
var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
|
|
56
56
|
require('../chunk-DTMBAFIL.cjs');
|
|
57
57
|
require('../chunk-7NJKDJVO.cjs');
|
|
58
|
-
var
|
|
58
|
+
var chunkSHGUTM42_cjs = require('../chunk-SHGUTM42.cjs');
|
|
59
59
|
var chunkQ77OKXYM_cjs = require('../chunk-Q77OKXYM.cjs');
|
|
60
60
|
require('../chunk-NEGFHF3V.cjs');
|
|
61
61
|
var chunkZ3LFF3YT_cjs = require('../chunk-Z3LFF3YT.cjs');
|
|
@@ -65,8 +65,6 @@ var chunkADMNU2CR_cjs = require('../chunk-ADMNU2CR.cjs');
|
|
|
65
65
|
require('../chunk-PCB2BPN3.cjs');
|
|
66
66
|
var chunkNX56DIG3_cjs = require('../chunk-NX56DIG3.cjs');
|
|
67
67
|
var chunkZM6B5WJW_cjs = require('../chunk-ZM6B5WJW.cjs');
|
|
68
|
-
var chunkP7VUIW24_cjs = require('../chunk-P7VUIW24.cjs');
|
|
69
|
-
require('../chunk-7G2LJMUG.cjs');
|
|
70
68
|
var chunkKLMNCBLY_cjs = require('../chunk-KLMNCBLY.cjs');
|
|
71
69
|
var chunkDGAGSP5G_cjs = require('../chunk-DGAGSP5G.cjs');
|
|
72
70
|
require('../chunk-XZMYSDU4.cjs');
|
|
@@ -74,6 +72,8 @@ var chunkOOHBXCDV_cjs = require('../chunk-OOHBXCDV.cjs');
|
|
|
74
72
|
var chunkJHDCDEXY_cjs = require('../chunk-JHDCDEXY.cjs');
|
|
75
73
|
var chunkF6CEPWIF_cjs = require('../chunk-F6CEPWIF.cjs');
|
|
76
74
|
require('../chunk-5F4DCIHS.cjs');
|
|
75
|
+
var chunkP7VUIW24_cjs = require('../chunk-P7VUIW24.cjs');
|
|
76
|
+
require('../chunk-7G2LJMUG.cjs');
|
|
77
77
|
var chunkUKOYN2WD_cjs = require('../chunk-UKOYN2WD.cjs');
|
|
78
78
|
var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
|
|
79
79
|
var chunkEY23TOPI_cjs = require('../chunk-EY23TOPI.cjs');
|
|
@@ -86,7 +86,6 @@ require('../chunk-WQMR3O2D.cjs');
|
|
|
86
86
|
var chunkNZNBJF3M_cjs = require('../chunk-NZNBJF3M.cjs');
|
|
87
87
|
require('../chunk-NWNVWO6L.cjs');
|
|
88
88
|
require('../chunk-SK6HQ46Q.cjs');
|
|
89
|
-
require('../chunk-TG2GM7WJ.cjs');
|
|
90
89
|
require('../chunk-DEXUL3T6.cjs');
|
|
91
90
|
require('../chunk-AFQTQC7A.cjs');
|
|
92
91
|
var chunkXJEXFEWG_cjs = require('../chunk-XJEXFEWG.cjs');
|
|
@@ -94,6 +93,7 @@ require('../chunk-Z2XZ2D4N.cjs');
|
|
|
94
93
|
require('../chunk-YZSQ7F5K.cjs');
|
|
95
94
|
require('../chunk-MCXS6X37.cjs');
|
|
96
95
|
require('../chunk-KQF7POTG.cjs');
|
|
96
|
+
require('../chunk-TG2GM7WJ.cjs');
|
|
97
97
|
var chunkL62EU3TQ_cjs = require('../chunk-L62EU3TQ.cjs');
|
|
98
98
|
require('../chunk-75BNMCUX.cjs');
|
|
99
99
|
var chunkSD7GUB44_cjs = require('../chunk-SD7GUB44.cjs');
|
|
@@ -101,7 +101,7 @@ var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
|
|
|
101
101
|
var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
|
|
102
102
|
require('../chunk-OEJQFPWO.cjs');
|
|
103
103
|
require('../chunk-BQOL4XNZ.cjs');
|
|
104
|
-
var
|
|
104
|
+
var chunkCKKODA5B_cjs = require('../chunk-CKKODA5B.cjs');
|
|
105
105
|
var chunkCYN66TBO_cjs = require('../chunk-CYN66TBO.cjs');
|
|
106
106
|
var chunkDT4ORVVI_cjs = require('../chunk-DT4ORVVI.cjs');
|
|
107
107
|
require('../chunk-I4IS6ST6.cjs');
|
|
@@ -118,9 +118,9 @@ require('../chunk-3YEXZX4H.cjs');
|
|
|
118
118
|
var chunk4PA6VCCR_cjs = require('../chunk-4PA6VCCR.cjs');
|
|
119
119
|
require('../chunk-K3WSXEEI.cjs');
|
|
120
120
|
require('../chunk-AHDJXIUB.cjs');
|
|
121
|
-
var chunkS5OGPQSB_cjs = require('../chunk-S5OGPQSB.cjs');
|
|
122
121
|
var chunkRL2HI6NP_cjs = require('../chunk-RL2HI6NP.cjs');
|
|
123
122
|
var chunk6UZC4XVV_cjs = require('../chunk-6UZC4XVV.cjs');
|
|
123
|
+
var chunkS5OGPQSB_cjs = require('../chunk-S5OGPQSB.cjs');
|
|
124
124
|
var chunkEQTZQD66_cjs = require('../chunk-EQTZQD66.cjs');
|
|
125
125
|
var chunkJN5YMHGI_cjs = require('../chunk-JN5YMHGI.cjs');
|
|
126
126
|
require('../chunk-UDSHVNU3.cjs');
|
|
@@ -136,7 +136,7 @@ var chunk6U3CYVZC_cjs = require('../chunk-6U3CYVZC.cjs');
|
|
|
136
136
|
var chunkQUMUAJ2P_cjs = require('../chunk-QUMUAJ2P.cjs');
|
|
137
137
|
var chunkZKKSTMMI_cjs = require('../chunk-ZKKSTMMI.cjs');
|
|
138
138
|
var chunkVZOOGA47_cjs = require('../chunk-VZOOGA47.cjs');
|
|
139
|
-
var
|
|
139
|
+
var chunkHG72AVXX_cjs = require('../chunk-HG72AVXX.cjs');
|
|
140
140
|
require('../chunk-OAIOOVFN.cjs');
|
|
141
141
|
var chunk6THN5ZGA_cjs = require('../chunk-6THN5ZGA.cjs');
|
|
142
142
|
require('../chunk-AGL7Z6Y2.cjs');
|
|
@@ -144,8 +144,8 @@ var chunkJZQ47OW5_cjs = require('../chunk-JZQ47OW5.cjs');
|
|
|
144
144
|
var chunkCENMN32L_cjs = require('../chunk-CENMN32L.cjs');
|
|
145
145
|
var chunkYKOPKLYP_cjs = require('../chunk-YKOPKLYP.cjs');
|
|
146
146
|
var chunkTMX7YFVM_cjs = require('../chunk-TMX7YFVM.cjs');
|
|
147
|
-
var chunkMOIZ2R5X_cjs = require('../chunk-MOIZ2R5X.cjs');
|
|
148
147
|
var chunkZBP4ZSAJ_cjs = require('../chunk-ZBP4ZSAJ.cjs');
|
|
148
|
+
var chunkMOIZ2R5X_cjs = require('../chunk-MOIZ2R5X.cjs');
|
|
149
149
|
var chunk3YZKDCWY_cjs = require('../chunk-3YZKDCWY.cjs');
|
|
150
150
|
var chunkSJSGSHIT_cjs = require('../chunk-SJSGSHIT.cjs');
|
|
151
151
|
require('../chunk-PPCATBOY.cjs');
|
|
@@ -265,7 +265,7 @@ function ConnectedWorkspaceActivity({
|
|
|
265
265
|
[feed.data]
|
|
266
266
|
);
|
|
267
267
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
268
|
-
|
|
268
|
+
chunkSHGUTM42_cjs.WorkspaceActivityList,
|
|
269
269
|
{
|
|
270
270
|
...listProps,
|
|
271
271
|
items,
|
|
@@ -1448,14 +1448,14 @@ function ConnectedOfflineStatus({ compact = false }) {
|
|
|
1448
1448
|
const openOutbox = () => openMail?.(outbox.length > 0 ? { folder: outboxFolder } : void 0);
|
|
1449
1449
|
let tone;
|
|
1450
1450
|
let label;
|
|
1451
|
-
let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox :
|
|
1451
|
+
let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunkBT2QTDZ4_cjs.openPendingSyncDialog;
|
|
1452
1452
|
if (!isOnline) {
|
|
1453
1453
|
tone = "offline";
|
|
1454
1454
|
label = waiting > 0 ? `Offline \xB7 ${waiting} pending` : "Offline";
|
|
1455
1455
|
} else if (failed > 0) {
|
|
1456
1456
|
tone = "failed";
|
|
1457
1457
|
label = `${plural(failed, "change", "changes")} didn\u2019t sync`;
|
|
1458
|
-
onOpen =
|
|
1458
|
+
onOpen = chunkBT2QTDZ4_cjs.openPendingSyncDialog;
|
|
1459
1459
|
} else if (outboxFailed > 0) {
|
|
1460
1460
|
tone = "failed";
|
|
1461
1461
|
label = `${plural(outboxFailed, "email", "emails")} not sent`;
|
|
@@ -1587,7 +1587,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1587
1587
|
onChange: (e) => {
|
|
1588
1588
|
const file = e.target.files?.[0];
|
|
1589
1589
|
e.target.value = "";
|
|
1590
|
-
if (file) void add(() =>
|
|
1590
|
+
if (file) void add(() => chunkCKKODA5B_cjs.importSkillFile(file));
|
|
1591
1591
|
}
|
|
1592
1592
|
}
|
|
1593
1593
|
),
|
|
@@ -1612,7 +1612,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
|
|
|
1612
1612
|
className: "space-y-2",
|
|
1613
1613
|
onSubmit: (e) => {
|
|
1614
1614
|
e.preventDefault();
|
|
1615
|
-
if (url.trim()) void add(() =>
|
|
1615
|
+
if (url.trim()) void add(() => chunkCKKODA5B_cjs.importSkillFromUrl(url));
|
|
1616
1616
|
},
|
|
1617
1617
|
children: [
|
|
1618
1618
|
/* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
|
|
@@ -1680,9 +1680,9 @@ function ConnectedSkillsLibrary({
|
|
|
1680
1680
|
const [type, setType] = react$1.useState("all");
|
|
1681
1681
|
const [view, setView] = react$1.useState("gallery");
|
|
1682
1682
|
const [isBusy, setIsBusy] = react$1.useState(false);
|
|
1683
|
-
const all = react$1.useMemo(() =>
|
|
1683
|
+
const all = react$1.useMemo(() => chunkCKKODA5B_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
|
|
1684
1684
|
const shown = react$1.useMemo(
|
|
1685
|
-
() =>
|
|
1685
|
+
() => chunkCKKODA5B_cjs.filterLibrarySkills(all, { query, source, type }),
|
|
1686
1686
|
[all, query, source, type]
|
|
1687
1687
|
);
|
|
1688
1688
|
const current = all.find((s) => s.slug === selected) ?? null;
|
|
@@ -1693,21 +1693,21 @@ function ConnectedSkillsLibrary({
|
|
|
1693
1693
|
const count2 = (s) => all.filter((x) => x.source === s).length;
|
|
1694
1694
|
const sourceOptions = [
|
|
1695
1695
|
{ id: "all", label: "All", count: all.length },
|
|
1696
|
-
{ id: "builtin", label:
|
|
1697
|
-
{ id: "mine", label:
|
|
1698
|
-
{ id: "shared", label:
|
|
1696
|
+
{ id: "builtin", label: chunkCKKODA5B_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
|
|
1697
|
+
{ id: "mine", label: chunkCKKODA5B_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
|
|
1698
|
+
{ id: "shared", label: chunkCKKODA5B_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
|
|
1699
1699
|
];
|
|
1700
1700
|
const types = [...new Set(all.map((s) => s.type))];
|
|
1701
1701
|
const typeOptions = [
|
|
1702
1702
|
{ id: "all", label: "Any kind" },
|
|
1703
|
-
...types.map((t) => ({ id: t, label:
|
|
1703
|
+
...types.map((t) => ({ id: t, label: chunkCKKODA5B_cjs.SKILL_TYPE_LABELS[t] ?? t }))
|
|
1704
1704
|
];
|
|
1705
1705
|
const pick = (slug) => {
|
|
1706
1706
|
setSelected(slug);
|
|
1707
1707
|
setMode("detail");
|
|
1708
1708
|
};
|
|
1709
1709
|
const markdownOf = async (skill) => {
|
|
1710
|
-
if (!skill.docExtId) return
|
|
1710
|
+
if (!skill.docExtId) return chunkCKKODA5B_cjs.workflowToSkillMarkdown(skill.workflow);
|
|
1711
1711
|
const response = await arbi.documents.download(skill.docExtId);
|
|
1712
1712
|
if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
|
|
1713
1713
|
return response.text();
|
|
@@ -1771,7 +1771,7 @@ function ConnectedSkillsLibrary({
|
|
|
1771
1771
|
try {
|
|
1772
1772
|
documentTools.downloadBlob(
|
|
1773
1773
|
new Blob([await markdownOf(skill)], { type: "text/markdown" }),
|
|
1774
|
-
|
|
1774
|
+
chunkCKKODA5B_cjs.SKILL_MAIN_FILENAME
|
|
1775
1775
|
);
|
|
1776
1776
|
} catch (error) {
|
|
1777
1777
|
notify19(errorText(error, "Could not export the skill"), "error");
|
|
@@ -1812,10 +1812,10 @@ function ConnectedSkillsLibrary({
|
|
|
1812
1812
|
}
|
|
1813
1813
|
)
|
|
1814
1814
|
] }),
|
|
1815
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1815
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.SkillViewToggle, { value: view, onChange: setView })
|
|
1816
1816
|
] }),
|
|
1817
1817
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1818
|
-
|
|
1818
|
+
chunkCKKODA5B_cjs.SkillFilterChips,
|
|
1819
1819
|
{
|
|
1820
1820
|
label: "Show",
|
|
1821
1821
|
value: source,
|
|
@@ -1824,7 +1824,7 @@ function ConnectedSkillsLibrary({
|
|
|
1824
1824
|
}
|
|
1825
1825
|
),
|
|
1826
1826
|
types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1827
|
-
|
|
1827
|
+
chunkCKKODA5B_cjs.SkillFilterChips,
|
|
1828
1828
|
{
|
|
1829
1829
|
label: "Kind",
|
|
1830
1830
|
value: type,
|
|
@@ -1871,12 +1871,12 @@ function ConnectedSkillsLibrary({
|
|
|
1871
1871
|
view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
|
|
1872
1872
|
),
|
|
1873
1873
|
children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1874
|
-
|
|
1874
|
+
chunkCKKODA5B_cjs.SkillTile,
|
|
1875
1875
|
{
|
|
1876
1876
|
name: skill.title,
|
|
1877
1877
|
testId: `skill-tile-${skill.slug}`,
|
|
1878
1878
|
description: skill.description,
|
|
1879
|
-
sourceLabel: skill.isShared ? `${
|
|
1879
|
+
sourceLabel: skill.isShared ? `${chunkCKKODA5B_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkCKKODA5B_cjs.SKILL_SOURCE_LABELS[skill.source],
|
|
1880
1880
|
type: skill.type,
|
|
1881
1881
|
icon,
|
|
1882
1882
|
layout: view,
|
|
@@ -1911,7 +1911,7 @@ function ConnectedSkillsLibrary({
|
|
|
1911
1911
|
}
|
|
1912
1912
|
),
|
|
1913
1913
|
mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1914
|
-
|
|
1914
|
+
chunkCKKODA5B_cjs.SkillGenerateForm,
|
|
1915
1915
|
{
|
|
1916
1916
|
icon,
|
|
1917
1917
|
onGenerate: (desc) => {
|
|
@@ -1938,11 +1938,11 @@ function ConnectedSkillsLibrary({
|
|
|
1938
1938
|
),
|
|
1939
1939
|
mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
|
|
1940
1940
|
mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1941
|
-
|
|
1941
|
+
chunkCKKODA5B_cjs.SkillLibraryDetail,
|
|
1942
1942
|
{
|
|
1943
1943
|
skill: current,
|
|
1944
1944
|
icon,
|
|
1945
|
-
instructions: current.docExtId ? currentText ?
|
|
1945
|
+
instructions: current.docExtId ? currentText ? chunkCKKODA5B_cjs.parseSkillFrontmatter(currentText, chunkCKKODA5B_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
|
|
1946
1946
|
isLoading: !!current.docExtId && textLoading,
|
|
1947
1947
|
actions: {
|
|
1948
1948
|
onRun: () => onRun(current.slug),
|
|
@@ -1977,7 +1977,7 @@ function SkillEditor({
|
|
|
1977
1977
|
const [seeded, setSeeded] = react$1.useState(!isEditing);
|
|
1978
1978
|
const [nameError, setNameError] = react$1.useState(null);
|
|
1979
1979
|
if (isEditing && !seeded && text !== void 0) {
|
|
1980
|
-
const parsed =
|
|
1980
|
+
const parsed = chunkCKKODA5B_cjs.parseSkillFrontmatter(text, chunkCKKODA5B_cjs.SKILL_MAIN_FILENAME);
|
|
1981
1981
|
setDescription(parsed.description ?? "");
|
|
1982
1982
|
setBody(parsed.content ?? "");
|
|
1983
1983
|
setSeeded(true);
|
|
@@ -1991,15 +1991,15 @@ function SkillEditor({
|
|
|
1991
1991
|
notify19("Add a short description.", "error");
|
|
1992
1992
|
return;
|
|
1993
1993
|
}
|
|
1994
|
-
const slug =
|
|
1994
|
+
const slug = chunkCKKODA5B_cjs.skillSlug(name);
|
|
1995
1995
|
try {
|
|
1996
|
-
await onSave(slug,
|
|
1996
|
+
await onSave(slug, chunkCKKODA5B_cjs.serializeSkill({ name: slug, description, body }), isEditing);
|
|
1997
1997
|
} catch (err) {
|
|
1998
1998
|
notify19(errorText(err, "Could not save the skill"), "error");
|
|
1999
1999
|
}
|
|
2000
2000
|
};
|
|
2001
2001
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2002
|
-
|
|
2002
|
+
chunkCKKODA5B_cjs.SkillEditForm,
|
|
2003
2003
|
{
|
|
2004
2004
|
name,
|
|
2005
2005
|
onNameChange: setName,
|
|
@@ -2092,7 +2092,7 @@ function ConnectedSkillsBrowser({
|
|
|
2092
2092
|
}
|
|
2093
2093
|
) }),
|
|
2094
2094
|
runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2095
|
-
|
|
2095
|
+
chunkF5HT73TR_cjs.ConnectedTaskComposer,
|
|
2096
2096
|
{
|
|
2097
2097
|
kind: "workflow",
|
|
2098
2098
|
open: true,
|
|
@@ -2116,9 +2116,9 @@ function ConnectedAgentCreator({
|
|
|
2116
2116
|
agent,
|
|
2117
2117
|
initialName,
|
|
2118
2118
|
onSaved,
|
|
2119
|
-
capabilities =
|
|
2120
|
-
templates =
|
|
2121
|
-
types =
|
|
2119
|
+
capabilities = chunkCKKODA5B_cjs.DEFAULT_AGENT_CAPABILITIES,
|
|
2120
|
+
templates = chunkCKKODA5B_cjs.DEFAULT_AGENT_TEMPLATES,
|
|
2121
|
+
types = chunkCKKODA5B_cjs.DEFAULT_AGENT_TYPES,
|
|
2122
2122
|
canRevokeWorkspaces = false,
|
|
2123
2123
|
labels
|
|
2124
2124
|
}) {
|
|
@@ -2160,7 +2160,7 @@ function ConnectedAgentCreator({
|
|
|
2160
2160
|
const initialValues = react$1.useMemo(
|
|
2161
2161
|
() => ({
|
|
2162
2162
|
name: agent?.given_name ?? initialName ?? "",
|
|
2163
|
-
persona: isEdit ?
|
|
2163
|
+
persona: isEdit ? chunkCKKODA5B_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
|
|
2164
2164
|
modelName: String(agents.AGENT_MODEL_NAME ?? ""),
|
|
2165
2165
|
capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
|
|
2166
2166
|
type: "builtin",
|
|
@@ -2179,7 +2179,7 @@ function ConnectedAgentCreator({
|
|
|
2179
2179
|
try {
|
|
2180
2180
|
let agentExtId = agent?.external_id ?? early?.id ?? "";
|
|
2181
2181
|
if (!agentExtId) {
|
|
2182
|
-
if (!
|
|
2182
|
+
if (!chunkCKKODA5B_cjs.isValidAgentName(values.name)) {
|
|
2183
2183
|
notify19("Give the agent a name first.", "error");
|
|
2184
2184
|
return;
|
|
2185
2185
|
}
|
|
@@ -2215,7 +2215,7 @@ function ConnectedAgentCreator({
|
|
|
2215
2215
|
title: `agent-${name}`,
|
|
2216
2216
|
sections: {
|
|
2217
2217
|
Agents: {
|
|
2218
|
-
PERSONA:
|
|
2218
|
+
PERSONA: chunkCKKODA5B_cjs.composePersona(name, values.persona),
|
|
2219
2219
|
...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
|
|
2220
2220
|
...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
|
|
2221
2221
|
ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
|
|
@@ -2238,7 +2238,7 @@ function ConnectedAgentCreator({
|
|
|
2238
2238
|
};
|
|
2239
2239
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2240
2240
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2241
|
-
|
|
2241
|
+
chunkCKKODA5B_cjs.AgentCreator,
|
|
2242
2242
|
{
|
|
2243
2243
|
open: ready,
|
|
2244
2244
|
onOpenChange,
|
|
@@ -2254,11 +2254,11 @@ function ConnectedAgentCreator({
|
|
|
2254
2254
|
) : void 0,
|
|
2255
2255
|
revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
|
|
2256
2256
|
avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2257
|
-
|
|
2257
|
+
chunkCKKODA5B_cjs.AgentAvatarField,
|
|
2258
2258
|
{
|
|
2259
2259
|
picture,
|
|
2260
2260
|
isBusy: avatarBusy,
|
|
2261
|
-
canGenerate: isEdit ||
|
|
2261
|
+
canGenerate: isEdit || chunkCKKODA5B_cjs.isValidAgentName(values.name),
|
|
2262
2262
|
onGenerate: () => handleGenerateAvatar(values)
|
|
2263
2263
|
}
|
|
2264
2264
|
),
|
|
@@ -2310,7 +2310,7 @@ function ConnectedAgentCreator({
|
|
|
2310
2310
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
|
|
2311
2311
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
|
|
2312
2312
|
] }),
|
|
2313
|
-
connect && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2313
|
+
connect && /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
|
|
2314
2314
|
]
|
|
2315
2315
|
}
|
|
2316
2316
|
) })
|
|
@@ -2702,7 +2702,7 @@ function useMemoryCount(enabled) {
|
|
|
2702
2702
|
}
|
|
2703
2703
|
function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
2704
2704
|
const { notify: notify19, openConversation, openDocument } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
2705
|
-
const people =
|
|
2705
|
+
const people = chunkF5HT73TR_cjs.useTaskPeople();
|
|
2706
2706
|
const canEditShared = react.useCanEditShared();
|
|
2707
2707
|
const isWorkspaceOwner = react.useIsWorkspaceOwner();
|
|
2708
2708
|
const { data: workflows = [] } = react.useWorkflows({ live: true });
|
|
@@ -2728,7 +2728,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2728
2728
|
}, [documents]);
|
|
2729
2729
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2730
2730
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2731
|
-
|
|
2731
|
+
chunkCKKODA5B_cjs.TaskTable,
|
|
2732
2732
|
{
|
|
2733
2733
|
tasks,
|
|
2734
2734
|
isLoading,
|
|
@@ -2755,7 +2755,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2755
2755
|
}
|
|
2756
2756
|
),
|
|
2757
2757
|
activityFor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2758
|
-
|
|
2758
|
+
chunkF5HT73TR_cjs.ConnectedTaskActivityDialog,
|
|
2759
2759
|
{
|
|
2760
2760
|
conversationId: activityFor.external_id,
|
|
2761
2761
|
taskName: activityFor.title || l.untitledTask,
|
|
@@ -2794,7 +2794,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
|
|
|
2794
2794
|
[workflows, skills, l.skillFiles]
|
|
2795
2795
|
);
|
|
2796
2796
|
const launch = async ({ workflow, inputs, agentId }) => {
|
|
2797
|
-
const values =
|
|
2797
|
+
const values = chunkCKKODA5B_cjs.defaultTaskComposerValues(launchable, {
|
|
2798
2798
|
workflowId: workflow.id,
|
|
2799
2799
|
assignee: "agent",
|
|
2800
2800
|
inputs,
|
|
@@ -2914,7 +2914,7 @@ function ConnectedAgentsPageScope(props) {
|
|
|
2914
2914
|
children,
|
|
2915
2915
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
|
|
2916
2916
|
taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2917
|
-
|
|
2917
|
+
chunkF5HT73TR_cjs.ConnectedTaskComposer,
|
|
2918
2918
|
{
|
|
2919
2919
|
open: true,
|
|
2920
2920
|
onOpenChange: (open) => !open && setTaskDialog(null),
|
|
@@ -2936,7 +2936,7 @@ function AgentsGallery() {
|
|
|
2936
2936
|
cardTestIds
|
|
2937
2937
|
} = agentOptions;
|
|
2938
2938
|
const { openConversation } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
2939
|
-
const tasksByAgent = react$1.useMemo(() =>
|
|
2939
|
+
const tasksByAgent = react$1.useMemo(() => chunkCKKODA5B_cjs.groupAgentTasks(tasks), [tasks]);
|
|
2940
2940
|
const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
|
|
2941
2941
|
const { agents } = management;
|
|
2942
2942
|
const cardDetails = (agent) => details.map(
|
|
@@ -2951,7 +2951,7 @@ function AgentsGallery() {
|
|
|
2951
2951
|
) : 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)
|
|
2952
2952
|
);
|
|
2953
2953
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2954
|
-
|
|
2954
|
+
chunkCKKODA5B_cjs.AgentGallery,
|
|
2955
2955
|
{
|
|
2956
2956
|
count: agents.length,
|
|
2957
2957
|
onCreate: management.create,
|
|
@@ -2961,9 +2961,9 @@ function AgentsGallery() {
|
|
|
2961
2961
|
const agentTasks = tasksByAgent.get(agent.external_id) ?? [];
|
|
2962
2962
|
const running = agentTasks.filter((t) => t.in_progress);
|
|
2963
2963
|
const watchConversationId = running[0]?.external_id ?? null;
|
|
2964
|
-
const progress = agentTasks[0] ?
|
|
2964
|
+
const progress = agentTasks[0] ? chunkCKKODA5B_cjs.goalProgress(agentTasks[0]) : null;
|
|
2965
2965
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2966
|
-
|
|
2966
|
+
chunkCKKODA5B_cjs.AgentCard,
|
|
2967
2967
|
{
|
|
2968
2968
|
name: displayName(agent),
|
|
2969
2969
|
avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
|
|
@@ -3375,7 +3375,7 @@ function ConnectedTagTable({
|
|
|
3375
3375
|
const fail2 = (fallback) => (e) => notify19(browser.refusalReason(e, fallback), "error");
|
|
3376
3376
|
const snapshot2 = (data) => {
|
|
3377
3377
|
const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
|
|
3378
|
-
const bytes =
|
|
3378
|
+
const bytes = chunkSHGUTM42_cjs.tagTableDocx(data, {
|
|
3379
3379
|
title,
|
|
3380
3380
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
3381
3381
|
});
|
|
@@ -3384,7 +3384,7 @@ function ConnectedTagTable({
|
|
|
3384
3384
|
return { blob: new Blob([bytes], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }), name };
|
|
3385
3385
|
};
|
|
3386
3386
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3387
|
-
|
|
3387
|
+
chunkSHGUTM42_cjs.TagTable,
|
|
3388
3388
|
{
|
|
3389
3389
|
...props,
|
|
3390
3390
|
table,
|
|
@@ -4222,8 +4222,8 @@ function ConnectedAiReview({
|
|
|
4222
4222
|
const generate = react.useGenerateDocTags();
|
|
4223
4223
|
const { data: liveDocs = [] } = react.useDocuments();
|
|
4224
4224
|
const { data: tags = [] } = react.useTags();
|
|
4225
|
-
const result =
|
|
4226
|
-
const setResult =
|
|
4225
|
+
const result = chunkLYDPVFNS_cjs.useAiReviewStore((s) => s.run);
|
|
4226
|
+
const setResult = chunkLYDPVFNS_cjs.useAiReviewStore((s) => s.setRun);
|
|
4227
4227
|
const phase = result ? "review" : "ask";
|
|
4228
4228
|
const docCount = documents.length;
|
|
4229
4229
|
const scope = allDocuments ? "processed" : "selected";
|
|
@@ -4458,7 +4458,7 @@ function ConnectedAiReview({
|
|
|
4458
4458
|
}, [kind]);
|
|
4459
4459
|
const description = phase === "ask" ? assistant.reviewEach(docCount, scope) : aiCellsTotal > 0 ? reviewProgress(aiCellsDone, aiCellsEmpty, aiCellsTotal) : `Applied to ${rows.length} document${plural2(rows.length)}`;
|
|
4460
4460
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4461
|
-
|
|
4461
|
+
chunkN7B5OAI5_cjs.AiReviewDialogView,
|
|
4462
4462
|
{
|
|
4463
4463
|
open,
|
|
4464
4464
|
onOpenChange: handleOpenChange,
|
|
@@ -4509,9 +4509,9 @@ function GlossaryExport({ labelId, nameOf }) {
|
|
|
4509
4509
|
const narrowed = agreements.find((a) => a.id === narrowTo);
|
|
4510
4510
|
const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
|
|
4511
4511
|
const download = (format) => {
|
|
4512
|
-
const entries =
|
|
4513
|
-
const blob = format === "docx" ? new Blob([
|
|
4514
|
-
documentTools.downloadBlob(blob,
|
|
4512
|
+
const entries = chunkSHGUTM42_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
|
|
4513
|
+
const blob = format === "docx" ? new Blob([chunkSHGUTM42_cjs.glossaryDocx(entries, { title })], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }) : new Blob([chunkSHGUTM42_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
|
|
4514
|
+
documentTools.downloadBlob(blob, chunkSHGUTM42_cjs.glossaryFileName(title, format));
|
|
4515
4515
|
};
|
|
4516
4516
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
|
|
4517
4517
|
agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -4575,8 +4575,8 @@ function useOpenTaggedContent() {
|
|
|
4575
4575
|
if (!workspaceId) return;
|
|
4576
4576
|
session.setTransientView("topbar.filter", "");
|
|
4577
4577
|
if (kind === "documents") {
|
|
4578
|
-
|
|
4579
|
-
|
|
4578
|
+
chunkLYDPVFNS_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
|
|
4579
|
+
chunkLYDPVFNS_cjs.useFilesPrefs.getState().setViewMode("grid");
|
|
4580
4580
|
session.setPage("documents");
|
|
4581
4581
|
} else if (kind === "facts") {
|
|
4582
4582
|
session.setViewFilter(FACTS_FILTER_KEY, { [tagId]: "include" });
|
|
@@ -4615,7 +4615,7 @@ function ConnectedTagForm({
|
|
|
4615
4615
|
nameByKind = false
|
|
4616
4616
|
}) {
|
|
4617
4617
|
const isCreate = !tag;
|
|
4618
|
-
const memberById =
|
|
4618
|
+
const memberById = chunkJXZM5ODS_cjs.useMemberLookup();
|
|
4619
4619
|
const creator = memberById(tag?.created_by_ext_id);
|
|
4620
4620
|
const updater = memberById(tag?.updated_by_ext_id);
|
|
4621
4621
|
const fieldLabel = ui.getEntityLabel("TAG", "SINGULAR");
|
|
@@ -4694,19 +4694,19 @@ function ConnectedTagForm({
|
|
|
4694
4694
|
metaLines.push({
|
|
4695
4695
|
text: `Created ${ui.formatFriendlyDate(tag.created_at)}`,
|
|
4696
4696
|
byLabel: "by",
|
|
4697
|
-
by: creator ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4697
|
+
by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkFYNNNQ6H_cjs.DocumentUser, { user: creator }) : void 0
|
|
4698
4698
|
});
|
|
4699
4699
|
if (tag.updated_at && tag.updated_at !== tag.created_at) {
|
|
4700
4700
|
metaLines.push({
|
|
4701
4701
|
text: `Updated ${ui.formatFriendlyDate(tag.updated_at)}`,
|
|
4702
4702
|
byLabel: "by",
|
|
4703
|
-
by: updater ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4703
|
+
by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkFYNNNQ6H_cjs.DocumentUser, { user: updater }) : void 0
|
|
4704
4704
|
});
|
|
4705
4705
|
}
|
|
4706
4706
|
}
|
|
4707
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4707
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.TagFormRoot, { children: [
|
|
4708
4708
|
!nameOnRow && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4709
|
-
|
|
4709
|
+
chunkN7B5OAI5_cjs.TagFormNameField,
|
|
4710
4710
|
{
|
|
4711
4711
|
label: group || nameByKind ? `${ui.tagKindTitle(kind)} Name` : `${columnLabel} Name`,
|
|
4712
4712
|
placeholder: `Enter ${kindNoun ?? columnLabel.toLowerCase()} name...`,
|
|
@@ -4716,7 +4716,7 @@ function ConnectedTagForm({
|
|
|
4716
4716
|
}
|
|
4717
4717
|
),
|
|
4718
4718
|
kinds2.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4719
|
-
|
|
4719
|
+
chunkN7B5OAI5_cjs.TagFormSelectField,
|
|
4720
4720
|
{
|
|
4721
4721
|
label: "Kind",
|
|
4722
4722
|
testId: "inline-tag-form-kind-field",
|
|
@@ -4731,7 +4731,7 @@ function ConnectedTagForm({
|
|
|
4731
4731
|
}
|
|
4732
4732
|
),
|
|
4733
4733
|
kind === "annotation" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4734
|
-
|
|
4734
|
+
chunkN7B5OAI5_cjs.TagFormSelectField,
|
|
4735
4735
|
{
|
|
4736
4736
|
label: group === "annotation" ? "Value type" : "Field Type",
|
|
4737
4737
|
testId: "inline-tag-form-type-field",
|
|
@@ -4743,7 +4743,7 @@ function ConnectedTagForm({
|
|
|
4743
4743
|
}
|
|
4744
4744
|
),
|
|
4745
4745
|
showParentPicker && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4746
|
-
|
|
4746
|
+
chunkN7B5OAI5_cjs.TagFormSelectField,
|
|
4747
4747
|
{
|
|
4748
4748
|
label: "Nested Under",
|
|
4749
4749
|
value: parentId,
|
|
@@ -4765,14 +4765,14 @@ function ConnectedTagForm({
|
|
|
4765
4765
|
]
|
|
4766
4766
|
}
|
|
4767
4767
|
),
|
|
4768
|
-
nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4768
|
+
nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
|
|
4769
4769
|
"Other fields are nested under this one, so it cannot itself be nested \u2014 fields nest",
|
|
4770
4770
|
" ",
|
|
4771
4771
|
browser.TAG_NESTING_MAX_DEPTH,
|
|
4772
4772
|
" levels deep."
|
|
4773
4773
|
] }),
|
|
4774
4774
|
tagType === "select" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4775
|
-
|
|
4775
|
+
chunkN7B5OAI5_cjs.TagFormOptionsEditor,
|
|
4776
4776
|
{
|
|
4777
4777
|
label: "Options",
|
|
4778
4778
|
options,
|
|
@@ -4785,7 +4785,7 @@ function ConnectedTagForm({
|
|
|
4785
4785
|
}
|
|
4786
4786
|
),
|
|
4787
4787
|
tagType === "text" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4788
|
-
|
|
4788
|
+
chunkN7B5OAI5_cjs.TagFormInstructionField,
|
|
4789
4789
|
{
|
|
4790
4790
|
label: "AI Instruction",
|
|
4791
4791
|
optionalLabel: "(optional)",
|
|
@@ -4795,12 +4795,12 @@ function ConnectedTagForm({
|
|
|
4795
4795
|
onChange: setInstruction
|
|
4796
4796
|
}
|
|
4797
4797
|
),
|
|
4798
|
-
metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4798
|
+
metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.TagFormMeta, { lines: metaLines }),
|
|
4799
4799
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4800
|
-
|
|
4800
|
+
chunkN7B5OAI5_cjs.TagFormFooter,
|
|
4801
4801
|
{
|
|
4802
4802
|
sharedToggle: isCreate || !group ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4803
|
-
|
|
4803
|
+
chunkN7B5OAI5_cjs.TagFormSharedToggle,
|
|
4804
4804
|
{
|
|
4805
4805
|
label: "Shared with workspace",
|
|
4806
4806
|
toggle: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5040,7 +5040,7 @@ function KindSection({
|
|
|
5040
5040
|
{
|
|
5041
5041
|
testId: `tags-kind-${kind}`,
|
|
5042
5042
|
title: ui.tagKindTitle(kind, { plural: true }),
|
|
5043
|
-
description:
|
|
5043
|
+
description: chunkSHGUTM42_cjs.tagKindDescription(kind),
|
|
5044
5044
|
children: [
|
|
5045
5045
|
browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5046
5046
|
"p",
|
|
@@ -5050,9 +5050,9 @@ function KindSection({
|
|
|
5050
5050
|
children: [
|
|
5051
5051
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
|
|
5052
5052
|
"Extracting ",
|
|
5053
|
-
|
|
5053
|
+
chunkSHGUTM42_cjs.entitiesPhrase().toLowerCase(),
|
|
5054
5054
|
" from ",
|
|
5055
|
-
|
|
5055
|
+
chunkSHGUTM42_cjs.documentCount(extractingCount),
|
|
5056
5056
|
"\u2026"
|
|
5057
5057
|
]
|
|
5058
5058
|
}
|
|
@@ -5070,7 +5070,7 @@ function KindSection({
|
|
|
5070
5070
|
onOpenTag: ctx.onOpenTag,
|
|
5071
5071
|
onOpenRow: ctx.onOpenTag,
|
|
5072
5072
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
5073
|
-
labels:
|
|
5073
|
+
labels: chunkSHGUTM42_cjs.tagTableLabels(kind),
|
|
5074
5074
|
testId: `tags-table-${kind}`
|
|
5075
5075
|
}
|
|
5076
5076
|
)
|
|
@@ -5178,15 +5178,15 @@ function TagSection({
|
|
|
5178
5178
|
onOpenTag: ctx.onOpenTag,
|
|
5179
5179
|
onOpenRow: ctx.onOpenTag,
|
|
5180
5180
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
5181
|
-
labels:
|
|
5181
|
+
labels: chunkSHGUTM42_cjs.tagTableLabels(tag.kind),
|
|
5182
5182
|
testId: "tags-rows"
|
|
5183
5183
|
}
|
|
5184
5184
|
),
|
|
5185
5185
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5186
|
-
|
|
5186
|
+
chunkSHGUTM42_cjs.TagDetail,
|
|
5187
5187
|
{
|
|
5188
5188
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
5189
|
-
fieldLabels:
|
|
5189
|
+
fieldLabels: chunkSHGUTM42_cjs.tagTableLabels(tag.kind),
|
|
5190
5190
|
row: detailRow,
|
|
5191
5191
|
fields: schema.data?.fields ?? [],
|
|
5192
5192
|
isLoading: detail.isLoading,
|
|
@@ -5200,7 +5200,7 @@ function TagSection({
|
|
|
5200
5200
|
throw e;
|
|
5201
5201
|
})
|
|
5202
5202
|
),
|
|
5203
|
-
labels:
|
|
5203
|
+
labels: chunkSHGUTM42_cjs.tagDetailLabels(),
|
|
5204
5204
|
testId: "tags-detail"
|
|
5205
5205
|
}
|
|
5206
5206
|
)
|
|
@@ -5223,9 +5223,9 @@ var TAG_FILTER_FIELDS = [
|
|
|
5223
5223
|
function ConnectedTagsPage() {
|
|
5224
5224
|
const { confirm, notify: notify19, openSmartSearch } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
5225
5225
|
const onOpenTaggedItems = useOpenTaggedContent();
|
|
5226
|
-
const setReviewOpen =
|
|
5227
|
-
const setReviewRun =
|
|
5228
|
-
const reviewOpen =
|
|
5226
|
+
const setReviewOpen = chunkLYDPVFNS_cjs.useAiReviewStore((state) => state.setOpen);
|
|
5227
|
+
const setReviewRun = chunkLYDPVFNS_cjs.useAiReviewStore((state) => state.setRun);
|
|
5228
|
+
const reviewOpen = chunkLYDPVFNS_cjs.useAiReviewStore((state) => state.open);
|
|
5229
5229
|
const [review, setReview] = react$1.useState(null);
|
|
5230
5230
|
const { data: tags } = chunkCENMN32L_cjs.useConnectedTags();
|
|
5231
5231
|
const { data: documents } = chunkCENMN32L_cjs.useConnectedDocuments();
|
|
@@ -5275,7 +5275,7 @@ function ConnectedTagsPage() {
|
|
|
5275
5275
|
const onDelete = async (t) => {
|
|
5276
5276
|
const nested = browser.getChildTags([...tags], t.external_id);
|
|
5277
5277
|
const uses = browser.tagUseCount(t);
|
|
5278
|
-
const n2 =
|
|
5278
|
+
const n2 = chunkSHGUTM42_cjs.tagsPageNouns();
|
|
5279
5279
|
const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
|
|
5280
5280
|
const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
|
|
5281
5281
|
const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
|
|
@@ -5296,11 +5296,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5296
5296
|
try {
|
|
5297
5297
|
await extract.mutateAsync(docIds);
|
|
5298
5298
|
notify19(
|
|
5299
|
-
`Extracting ${
|
|
5299
|
+
`Extracting ${chunkSHGUTM42_cjs.entitiesPhrase().toLowerCase()} from ${chunkSHGUTM42_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
|
|
5300
5300
|
"info"
|
|
5301
5301
|
);
|
|
5302
5302
|
} catch (error) {
|
|
5303
|
-
notify19(browser.refusalReason(error, `Could not extract ${
|
|
5303
|
+
notify19(browser.refusalReason(error, `Could not extract ${chunkSHGUTM42_cjs.entitiesPhrase().toLowerCase()}`), "error");
|
|
5304
5304
|
throw error;
|
|
5305
5305
|
}
|
|
5306
5306
|
};
|
|
@@ -5314,10 +5314,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5314
5314
|
onOpenTag: openTag,
|
|
5315
5315
|
onOpenTaggedItems
|
|
5316
5316
|
};
|
|
5317
|
-
const n =
|
|
5317
|
+
const n = chunkSHGUTM42_cjs.tagsPageNouns();
|
|
5318
5318
|
const action = view === "person" || view === "organisation" ? {
|
|
5319
5319
|
label: "Extract",
|
|
5320
|
-
title: `Extract ${
|
|
5320
|
+
title: `Extract ${chunkSHGUTM42_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
|
|
5321
5321
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
|
|
5322
5322
|
run: () => setExtracting(true),
|
|
5323
5323
|
testId: "tags-extract-entities"
|
|
@@ -5371,7 +5371,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5371
5371
|
onTabChange: () => {
|
|
5372
5372
|
},
|
|
5373
5373
|
variant: "underline",
|
|
5374
|
-
firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5374
|
+
firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5375
5375
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
5376
5376
|
{
|
|
5377
5377
|
value: filterText,
|
|
@@ -5393,7 +5393,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5393
5393
|
filter: tagFilter
|
|
5394
5394
|
}
|
|
5395
5395
|
) }),
|
|
5396
|
-
centerContent: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5396
|
+
centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5397
5397
|
chunkSNUBQMIS_cjs.ViewToggle,
|
|
5398
5398
|
{
|
|
5399
5399
|
options: browser.TAG_KINDS.map((k) => ({
|
|
@@ -5486,7 +5486,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5486
5486
|
}
|
|
5487
5487
|
),
|
|
5488
5488
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5489
|
-
|
|
5489
|
+
chunkSHGUTM42_cjs.ExtractEntitiesDialog,
|
|
5490
5490
|
{
|
|
5491
5491
|
open: extracting,
|
|
5492
5492
|
onOpenChange: setExtracting,
|
|
@@ -5957,7 +5957,7 @@ function ConnectedExportPanel({
|
|
|
5957
5957
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", "data-testid": "export-documents", children: [
|
|
5958
5958
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-auto space-y-6 p-6", children: [
|
|
5959
5959
|
jobRunning && job && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5960
|
-
|
|
5960
|
+
chunkN7B5OAI5_cjs.TransferProgressView,
|
|
5961
5961
|
{
|
|
5962
5962
|
title: `${job.mode === "move" ? "Moving" : "Copying"} to ${targetName(job.target_workspace_ext_id)}`,
|
|
5963
5963
|
processed: job.processed ?? 0,
|
|
@@ -5970,7 +5970,7 @@ function ConnectedExportPanel({
|
|
|
5970
5970
|
),
|
|
5971
5971
|
jobDone && job && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5972
5972
|
react.isTransferResumable(job) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5973
|
-
|
|
5973
|
+
chunkN7B5OAI5_cjs.TransferResumeBanner,
|
|
5974
5974
|
{
|
|
5975
5975
|
message: `Stopped at ${job.processed} of ${job.total}. Resume to finish \u2014 nothing is copied twice.`,
|
|
5976
5976
|
onResume: () => handleResume(job),
|
|
@@ -5978,7 +5978,7 @@ function ConnectedExportPanel({
|
|
|
5978
5978
|
}
|
|
5979
5979
|
),
|
|
5980
5980
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5981
|
-
|
|
5981
|
+
chunkN7B5OAI5_cjs.ExportResultsReport,
|
|
5982
5982
|
{
|
|
5983
5983
|
summary: `${job.mode === "move" ? "Moved" : "Copied"} ${plural3(
|
|
5984
5984
|
Number(job.counts?.copied ?? 0) + Number(job.counts?.removed ?? 0),
|
|
@@ -5991,7 +5991,7 @@ function ConnectedExportPanel({
|
|
|
5991
5991
|
] }),
|
|
5992
5992
|
!jobId && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5993
5993
|
resumable && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5994
|
-
|
|
5994
|
+
chunkN7B5OAI5_cjs.TransferResumeBanner,
|
|
5995
5995
|
{
|
|
5996
5996
|
message: `A ${resumable.mode} to ${targetName(resumable.target_workspace_ext_id)} stopped at ${resumable.processed} of ${resumable.total}.`,
|
|
5997
5997
|
onResume: () => handleResume(resumable),
|
|
@@ -5999,7 +5999,7 @@ function ConnectedExportPanel({
|
|
|
5999
5999
|
}
|
|
6000
6000
|
),
|
|
6001
6001
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6002
|
-
|
|
6002
|
+
chunkN7B5OAI5_cjs.TransferScopeChooser,
|
|
6003
6003
|
{
|
|
6004
6004
|
scope: scopeChoice,
|
|
6005
6005
|
onScopeChange: setScopeChoice,
|
|
@@ -6010,7 +6010,7 @@ function ConnectedExportPanel({
|
|
|
6010
6010
|
}
|
|
6011
6011
|
),
|
|
6012
6012
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6013
|
-
|
|
6013
|
+
chunkN7B5OAI5_cjs.TransferKindsPicker,
|
|
6014
6014
|
{
|
|
6015
6015
|
options: ALL_KINDS.map((kind) => ({
|
|
6016
6016
|
kind,
|
|
@@ -6023,9 +6023,9 @@ function ConnectedExportPanel({
|
|
|
6023
6023
|
)
|
|
6024
6024
|
}
|
|
6025
6025
|
),
|
|
6026
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6026
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
|
|
6027
6027
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6028
|
-
|
|
6028
|
+
chunkN7B5OAI5_cjs.ExportMethodChooser,
|
|
6029
6029
|
{
|
|
6030
6030
|
mode,
|
|
6031
6031
|
onModeChange: setMode,
|
|
@@ -6037,17 +6037,17 @@ function ConnectedExportPanel({
|
|
|
6037
6037
|
),
|
|
6038
6038
|
mode !== "download" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
6039
6039
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6040
|
-
|
|
6040
|
+
chunkN7B5OAI5_cjs.ExportWorkspacePicker,
|
|
6041
6041
|
{
|
|
6042
6042
|
workspaces: workspaceOptions,
|
|
6043
6043
|
selectedId: targetId,
|
|
6044
6044
|
onSelect: setTargetId
|
|
6045
6045
|
}
|
|
6046
6046
|
),
|
|
6047
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6047
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
|
|
6048
6048
|
] }),
|
|
6049
6049
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6050
|
-
|
|
6050
|
+
chunkN7B5OAI5_cjs.TransferPlanSummary,
|
|
6051
6051
|
{
|
|
6052
6052
|
lines: summary.lines,
|
|
6053
6053
|
warnings: summary.warnings,
|
|
@@ -6064,7 +6064,7 @@ function ConnectedExportPanel({
|
|
|
6064
6064
|
] })
|
|
6065
6065
|
] }),
|
|
6066
6066
|
!jobId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6067
|
-
|
|
6067
|
+
chunkN7B5OAI5_cjs.ExportFooter,
|
|
6068
6068
|
{
|
|
6069
6069
|
onCancel: onClose,
|
|
6070
6070
|
onSubmit: handleSubmit,
|
|
@@ -6105,7 +6105,7 @@ function OpenExportDialog({
|
|
|
6105
6105
|
children: [
|
|
6106
6106
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkCVPV4I7Z_cjs.ModalHeader, { children: [
|
|
6107
6107
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6108
|
-
|
|
6108
|
+
chunkN7B5OAI5_cjs.ExportModalTitle,
|
|
6109
6109
|
{
|
|
6110
6110
|
workspace: workspace ? {
|
|
6111
6111
|
icon: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "touch-hit inline-flex", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -6522,7 +6522,7 @@ function ConnectedFieldsEditor({
|
|
|
6522
6522
|
const [sortBy, setSortBy] = react$1.useState("name-asc");
|
|
6523
6523
|
const [filterText, setFilterText] = react$1.useState("");
|
|
6524
6524
|
const fieldRows = react$1.useMemo(
|
|
6525
|
-
() => browser.flattenTagTree(
|
|
6525
|
+
() => browser.flattenTagTree(chunkN7B5OAI5_cjs.sortFields(chunkN7B5OAI5_cjs.filterFieldsByName(tags, filterText), sortBy)),
|
|
6526
6526
|
[tags, filterText, sortBy]
|
|
6527
6527
|
);
|
|
6528
6528
|
const exportItems = react$1.useMemo(
|
|
@@ -6542,7 +6542,7 @@ function ConnectedFieldsEditor({
|
|
|
6542
6542
|
setIsDeleting(false);
|
|
6543
6543
|
}
|
|
6544
6544
|
};
|
|
6545
|
-
const copy =
|
|
6545
|
+
const copy = chunkN7B5OAI5_cjs.fieldsApplyBarCopy({
|
|
6546
6546
|
nouns,
|
|
6547
6547
|
targetNoun,
|
|
6548
6548
|
fieldCount,
|
|
@@ -6551,9 +6551,9 @@ function ConnectedFieldsEditor({
|
|
|
6551
6551
|
isApplying,
|
|
6552
6552
|
isClearing
|
|
6553
6553
|
});
|
|
6554
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6554
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.FieldsEditorRoot, { children: [
|
|
6555
6555
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6556
|
-
|
|
6556
|
+
chunkN7B5OAI5_cjs.FieldsEditorToolbar,
|
|
6557
6557
|
{
|
|
6558
6558
|
nouns,
|
|
6559
6559
|
onNew: () => {
|
|
@@ -6581,11 +6581,11 @@ function ConnectedFieldsEditor({
|
|
|
6581
6581
|
onSortByChange: setSortBy
|
|
6582
6582
|
}
|
|
6583
6583
|
),
|
|
6584
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6584
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.FieldsEditorList, { children: [
|
|
6585
6585
|
fieldRows.map(({ tag, depth, childCount }) => {
|
|
6586
6586
|
const isEditingThis = editingTagId === tag.external_id;
|
|
6587
6587
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6588
|
-
|
|
6588
|
+
chunkN7B5OAI5_cjs.FieldRow,
|
|
6589
6589
|
{
|
|
6590
6590
|
tagId: tag.external_id,
|
|
6591
6591
|
name: tag.name,
|
|
@@ -6638,10 +6638,10 @@ function ConnectedFieldsEditor({
|
|
|
6638
6638
|
tag.external_id
|
|
6639
6639
|
);
|
|
6640
6640
|
}),
|
|
6641
|
-
fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6641
|
+
fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.FieldsEmptyState, { children: chunkN7B5OAI5_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
|
|
6642
6642
|
] }),
|
|
6643
6643
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6644
|
-
|
|
6644
|
+
chunkN7B5OAI5_cjs.FieldsApplyBar,
|
|
6645
6645
|
{
|
|
6646
6646
|
hint: copy.hint,
|
|
6647
6647
|
applyLabel: copy.applyLabel,
|
|
@@ -6717,8 +6717,8 @@ function ConnectedFieldsManager({
|
|
|
6717
6717
|
}
|
|
6718
6718
|
);
|
|
6719
6719
|
const body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
6720
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6721
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6720
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
|
|
6721
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6722
6722
|
ConnectedFieldsEditor,
|
|
6723
6723
|
{
|
|
6724
6724
|
group: activeKind,
|
|
@@ -6730,7 +6730,7 @@ function ConnectedFieldsManager({
|
|
|
6730
6730
|
] });
|
|
6731
6731
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", children: [
|
|
6732
6732
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkPA7YEXL3_cjs.DraggableHeader, { children: [
|
|
6733
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6733
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
|
|
6734
6734
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3", children: tabHeader })
|
|
6735
6735
|
] }),
|
|
6736
6736
|
body
|
|
@@ -6759,7 +6759,7 @@ function ConnectedFieldsManagerPanel({
|
|
|
6759
6759
|
const [createRequest, setCreateRequest] = react.useTransientView(FIELDS_MANAGER_CREATE_VIEW, 0);
|
|
6760
6760
|
const [kind, setKind] = react.useTransientView(FIELDS_MANAGER_KIND_VIEW, "label");
|
|
6761
6761
|
const documentIds = react.useArbiSessionState((s) => s.selectedDocumentIds);
|
|
6762
|
-
const reviewing =
|
|
6762
|
+
const reviewing = chunkLYDPVFNS_cjs.useFilesPrefs((state) => chunkLYDPVFNS_cjs.filesViewMode(state) === "navigator");
|
|
6763
6763
|
const viewingId = react.useArbiSessionState((s) => s.viewingDocument?.id ?? null);
|
|
6764
6764
|
const reviewingId = reviewing ? viewingId : null;
|
|
6765
6765
|
const handleClose = react$1.useCallback(() => {
|
|
@@ -6800,7 +6800,7 @@ function ConnectedFieldsManagerPanel({
|
|
|
6800
6800
|
onAnnotationCreated,
|
|
6801
6801
|
onAiFieldsApplied: (result) => {
|
|
6802
6802
|
session.closePanel(FIELDS_MANAGER_PANEL);
|
|
6803
|
-
const review =
|
|
6803
|
+
const review = chunkLYDPVFNS_cjs.useAiReviewStore.getState();
|
|
6804
6804
|
review.setRun(result);
|
|
6805
6805
|
review.setOpen(true);
|
|
6806
6806
|
}
|
|
@@ -7175,7 +7175,7 @@ var factNouns = () => ({
|
|
|
7175
7175
|
function useWorkspaceAsk() {
|
|
7176
7176
|
const { openNewConversation, openFiles } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
7177
7177
|
const { workspaceId } = chunkYKOPKLYP_cjs.useConnectedWorkspace();
|
|
7178
|
-
const setFilesViewMode =
|
|
7178
|
+
const setFilesViewMode = chunkLYDPVFNS_cjs.useFilesPrefs((state) => state.setViewMode);
|
|
7179
7179
|
const ask = react$1.useCallback(
|
|
7180
7180
|
(text) => openNewConversation({ prompt: text, keepDocumentOpen: true }),
|
|
7181
7181
|
[openNewConversation]
|
|
@@ -7703,7 +7703,7 @@ function useFactFilters(notes, view, chat) {
|
|
|
7703
7703
|
(selected, setSelected, opts) => {
|
|
7704
7704
|
const applied = new Set(selected);
|
|
7705
7705
|
return /* @__PURE__ */ jsxRuntime.jsx(chunk3Y75LUCT_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7706
|
-
|
|
7706
|
+
chunkN7B5OAI5_cjs.FieldLabelsSelect,
|
|
7707
7707
|
{
|
|
7708
7708
|
options: labelOptions,
|
|
7709
7709
|
appliedIds: applied,
|
|
@@ -7930,7 +7930,7 @@ var FactHeader = react$1.memo(function FactHeader2({
|
|
|
7930
7930
|
if (params.enableSorting) params.progressSort(e.shiftKey);
|
|
7931
7931
|
},
|
|
7932
7932
|
children: [
|
|
7933
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7933
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.FilterButton, { params, colId }),
|
|
7934
7934
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "order-2 min-w-0 flex-1 truncate", children: params.displayName }),
|
|
7935
7935
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ag-sort-indicator-container order-2 flex-shrink-0", "aria-hidden": "true", children: [
|
|
7936
7936
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -8201,7 +8201,7 @@ function useFactsPageView() {
|
|
|
8201
8201
|
"facts.searchFields",
|
|
8202
8202
|
DEFAULT_SEARCH_FIELDS
|
|
8203
8203
|
);
|
|
8204
|
-
const rowHeight = react.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ??
|
|
8204
|
+
const rowHeight = react.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ?? chunkN7B5OAI5_cjs.ROW_MIN);
|
|
8205
8205
|
const labelWidth = react.useArbiSessionState(
|
|
8206
8206
|
(s) => s.grid.labelWidths[FACTS_GRID_ID] ?? DEFAULT_TIMELINE_LABEL_WIDTH
|
|
8207
8207
|
);
|
|
@@ -8435,7 +8435,7 @@ function ConnectedFactsPage() {
|
|
|
8435
8435
|
const view = pageView.view;
|
|
8436
8436
|
const setView = pageView.setView;
|
|
8437
8437
|
const openLabels = () => openFieldsManagerIn(session, "label");
|
|
8438
|
-
const factsRowHeight = pageView.rowHeight ===
|
|
8438
|
+
const factsRowHeight = pageView.rowHeight === chunkN7B5OAI5_cjs.ROW_MIN ? chunkN7B5OAI5_cjs.ROW_MIN : chunkN7B5OAI5_cjs.rowHeightForLines(chunkN7B5OAI5_cjs.linesForRowHeight(pageView.rowHeight));
|
|
8439
8439
|
const [isExportOpen, setIsExportOpen] = react$1.useState(false);
|
|
8440
8440
|
const [filterOpen, setFilterOpen] = react$1.useState(false);
|
|
8441
8441
|
const [factSection, setFactSection] = react$1.useState(null);
|
|
@@ -8488,7 +8488,7 @@ function ConnectedFactsPage() {
|
|
|
8488
8488
|
onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
|
|
8489
8489
|
navSlotRef: setNavSlot,
|
|
8490
8490
|
navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8491
|
-
|
|
8491
|
+
chunkSHGUTM42_cjs.GridRowNavigator,
|
|
8492
8492
|
{
|
|
8493
8493
|
gridApi,
|
|
8494
8494
|
selectedId: editingId,
|
|
@@ -8501,7 +8501,7 @@ function ConnectedFactsPage() {
|
|
|
8501
8501
|
tools: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
8502
8502
|
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunk3Y75LUCT_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
|
|
8503
8503
|
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8504
|
-
|
|
8504
|
+
chunkN7B5OAI5_cjs.RowDensityControl,
|
|
8505
8505
|
{
|
|
8506
8506
|
rowHeight: factsRowHeight,
|
|
8507
8507
|
onRowHeightChange: pageView.setRowHeight,
|
|
@@ -8765,7 +8765,7 @@ function useConnectedShellWorkspaces(options = {}) {
|
|
|
8765
8765
|
function ConnectedSsoDisconnect() {
|
|
8766
8766
|
const { client } = react.useAccountClient();
|
|
8767
8767
|
const { data: profile } = react.useProfile();
|
|
8768
|
-
const auth =
|
|
8768
|
+
const auth = chunkSS7IYHLK_cjs.useAuthPages();
|
|
8769
8769
|
const { notify: notify19 } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
8770
8770
|
const [open, setOpen] = react$1.useState(false);
|
|
8771
8771
|
const [step, setStep] = react$1.useState("email");
|
|
@@ -8943,14 +8943,14 @@ function ConnectedAccountSettings({
|
|
|
8943
8943
|
}) {
|
|
8944
8944
|
const [logoutOpen, setLogoutOpen] = react$1.useState(false);
|
|
8945
8945
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
|
|
8946
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8946
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkSS7IYHLK_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
|
|
8947
8947
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
|
|
8948
8948
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
|
|
8949
8949
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
|
|
8950
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8950
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkSS7IYHLK_cjs.ConnectedSecuritySection, { children: securityRows }),
|
|
8951
8951
|
moreSettings,
|
|
8952
8952
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8953
|
-
|
|
8953
|
+
chunkSS7IYHLK_cjs.ConnectedIdentityVerification,
|
|
8954
8954
|
{
|
|
8955
8955
|
collapsible: true,
|
|
8956
8956
|
onManageBilling,
|
|
@@ -8960,7 +8960,7 @@ function ConnectedAccountSettings({
|
|
|
8960
8960
|
] }),
|
|
8961
8961
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
|
|
8962
8962
|
connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
|
|
8963
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8963
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkSS7IYHLK_cjs.ConnectedSessionsRow, { renderSessionIcon }),
|
|
8964
8964
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8965
8965
|
ui.Button,
|
|
8966
8966
|
{
|
|
@@ -8977,9 +8977,9 @@ function ConnectedAccountSettings({
|
|
|
8977
8977
|
}
|
|
8978
8978
|
) })
|
|
8979
8979
|
] }) }),
|
|
8980
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8980
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkSS7IYHLK_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
|
|
8981
8981
|
!onLogout && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8982
|
-
|
|
8982
|
+
chunkSS7IYHLK_cjs.ConnectedLogoutDialog,
|
|
8983
8983
|
{
|
|
8984
8984
|
open: logoutOpen,
|
|
8985
8985
|
onClose: () => setLogoutOpen(false),
|
|
@@ -9322,7 +9322,7 @@ function ConnectedPrivacySettings({
|
|
|
9322
9322
|
}
|
|
9323
9323
|
)
|
|
9324
9324
|
] }) }),
|
|
9325
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
9325
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkSS7IYHLK_cjs.ConnectedNotificationPreferences, {})
|
|
9326
9326
|
] });
|
|
9327
9327
|
}
|
|
9328
9328
|
var PROVIDER_NAMES = {
|
|
@@ -11318,7 +11318,7 @@ function ConnectedRecoveryKeyDialog({
|
|
|
11318
11318
|
const arbi = react.useArbi();
|
|
11319
11319
|
const { user, isSso: isSsoMode } = react.useArbiSession();
|
|
11320
11320
|
const userEmail = user?.email;
|
|
11321
|
-
const sso =
|
|
11321
|
+
const sso = chunkSS7IYHLK_cjs.useSsoSignIn();
|
|
11322
11322
|
const handleVerify = async () => {
|
|
11323
11323
|
setError(null);
|
|
11324
11324
|
if (!password) {
|
|
@@ -11479,7 +11479,7 @@ function ConnectedRemoteControlSwitch() {
|
|
|
11479
11479
|
}
|
|
11480
11480
|
function RemoteControlSwitch() {
|
|
11481
11481
|
const enabled = react.useRemoteControl((state) => state.enabled);
|
|
11482
|
-
const remote =
|
|
11482
|
+
const remote = chunkSS7IYHLK_cjs.useRemoteControlActions();
|
|
11483
11483
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
11484
11484
|
chunkQQMMCXBP_cjs.SettingsRow,
|
|
11485
11485
|
{
|
|
@@ -13710,13 +13710,13 @@ function ConnectedWorkspaceSettings({
|
|
|
13710
13710
|
const [membersExpanded, setMembersExpanded] = react$1.useState(false);
|
|
13711
13711
|
const [shareOpen, setShareOpen] = react$1.useState(false);
|
|
13712
13712
|
if (!workspace) {
|
|
13713
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkWNAZM2YS_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13713
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWNAZM2YS_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkSHGUTM42_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
|
|
13714
13714
|
}
|
|
13715
13715
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
13716
13716
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkWNAZM2YS_cjs.WorkspacePageFrame, { testId, children: [
|
|
13717
13717
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkWNAZM2YS_cjs.WorkspaceIdentityPanel, { children: [
|
|
13718
13718
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13719
|
-
|
|
13719
|
+
chunkSHGUTM42_cjs.EntityIdentityBar,
|
|
13720
13720
|
{
|
|
13721
13721
|
testId: "workspace-identity-bar",
|
|
13722
13722
|
canEdit: isOwner,
|
|
@@ -13733,7 +13733,7 @@ function ConnectedWorkspaceSettings({
|
|
|
13733
13733
|
label: "Name",
|
|
13734
13734
|
value: workspace.name,
|
|
13735
13735
|
placeholder: "Untitled",
|
|
13736
|
-
maxLength:
|
|
13736
|
+
maxLength: chunkSHGUTM42_cjs.IDENTITY_NAME_MAX_LENGTH,
|
|
13737
13737
|
valueClassName: "truncate text-base font-semibold",
|
|
13738
13738
|
testId: "workspace-home-title",
|
|
13739
13739
|
hideLabel: true,
|
|
@@ -15418,36 +15418,36 @@ function ConnectedSharePointAdminConsentPage({
|
|
|
15418
15418
|
const result = givenResult === void 0 ? queryResult : givenResult;
|
|
15419
15419
|
const { apiBaseUrl } = chunkLIKDQBNJ_cjs.useBlocksEnvironment().runtimeConfig;
|
|
15420
15420
|
const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
|
|
15421
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
15421
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkCKKODA5B_cjs.ConsentCard, { size: "md", children: [
|
|
15422
15422
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15423
|
-
|
|
15423
|
+
chunkCKKODA5B_cjs.ConsentHeader,
|
|
15424
15424
|
{
|
|
15425
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15425
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
|
|
15426
15426
|
title: "Approve ARBI for SharePoint access",
|
|
15427
15427
|
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."
|
|
15428
15428
|
}
|
|
15429
15429
|
),
|
|
15430
|
-
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
15431
|
-
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
15432
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
15430
|
+
result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_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." }),
|
|
15431
|
+
result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_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." }),
|
|
15432
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkCKKODA5B_cjs.ConsentSection, { title: "What you are approving", children: [
|
|
15433
15433
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15434
|
-
|
|
15434
|
+
chunkCKKODA5B_cjs.ConsentBulletList,
|
|
15435
15435
|
{
|
|
15436
15436
|
items: [
|
|
15437
15437
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
15438
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15438
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
|
|
15439
15439
|
" \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."
|
|
15440
15440
|
] }),
|
|
15441
15441
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
15442
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15442
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
|
|
15443
15443
|
" \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
|
|
15444
15444
|
] })
|
|
15445
15445
|
]
|
|
15446
15446
|
}
|
|
15447
15447
|
),
|
|
15448
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15448
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_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." }),
|
|
15449
15449
|
/* @__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" }) }),
|
|
15450
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15450
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_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." })
|
|
15451
15451
|
] })
|
|
15452
15452
|
] }) });
|
|
15453
15453
|
}
|
|
@@ -18623,7 +18623,7 @@ function ConnectedWorkspaceList({
|
|
|
18623
18623
|
}
|
|
18624
18624
|
);
|
|
18625
18625
|
}
|
|
18626
|
-
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18626
|
+
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkSHGUTM42_cjs.LoadingIndicator, { message: "Loading workspaces..." });
|
|
18627
18627
|
if (list.error) {
|
|
18628
18628
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18629
18629
|
chunkC6RJQQLG_cjs.HomeLoadError,
|
|
@@ -18696,7 +18696,7 @@ function ConnectedWorkspaceList({
|
|
|
18696
18696
|
workspaceState
|
|
18697
18697
|
}
|
|
18698
18698
|
) })
|
|
18699
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18699
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkSHGUTM42_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkC6RJQQLG_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18700
18700
|
WorkspaceTableView,
|
|
18701
18701
|
{
|
|
18702
18702
|
list,
|
|
@@ -18898,7 +18898,7 @@ function ConnectedProjectsListPage({
|
|
|
18898
18898
|
};
|
|
18899
18899
|
const { openProject } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
18900
18900
|
const [search, setSearch] = react$1.useState("");
|
|
18901
|
-
const { projects, isLoading } =
|
|
18901
|
+
const { projects, isLoading } = chunkF5HT73TR_cjs.useProjectSummaries();
|
|
18902
18902
|
const rows = react$1.useMemo(() => {
|
|
18903
18903
|
const q = search.trim().toLowerCase();
|
|
18904
18904
|
if (!q) return projects;
|
|
@@ -18969,7 +18969,7 @@ function ConnectedProjectsListPage({
|
|
|
18969
18969
|
}
|
|
18970
18970
|
),
|
|
18971
18971
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18972
|
-
|
|
18972
|
+
chunkSHGUTM42_cjs.Toolbar,
|
|
18973
18973
|
{
|
|
18974
18974
|
search,
|
|
18975
18975
|
onSearch: setSearch,
|
|
@@ -19031,7 +19031,7 @@ function ProjectDetailsForm({
|
|
|
19031
19031
|
const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
|
|
19032
19032
|
const { notify: notify19 } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
19033
19033
|
const update = react.useUpdateProjectFields();
|
|
19034
|
-
const workspace =
|
|
19034
|
+
const workspace = chunkF5HT73TR_cjs.primaryProjectWorkspace(project);
|
|
19035
19035
|
const { data: members = [] } = react.useWorkspaceUsers(workspace?.id);
|
|
19036
19036
|
const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
|
|
19037
19037
|
const currency = project.budget?.currency ?? "GBP";
|
|
@@ -19220,9 +19220,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19220
19220
|
for (const tag of workspaceTags ?? []) map.set(tag.external_id, tag.name);
|
|
19221
19221
|
return map;
|
|
19222
19222
|
}, [workspaceTags]);
|
|
19223
|
-
const pendingFolders =
|
|
19224
|
-
const addPendingFolder =
|
|
19225
|
-
const removePendingFolder =
|
|
19223
|
+
const pendingFolders = chunkLYDPVFNS_cjs.usePendingFolders(wsId);
|
|
19224
|
+
const addPendingFolder = chunkLYDPVFNS_cjs.useFilesStore((state) => state.addPendingFolder);
|
|
19225
|
+
const removePendingFolder = chunkLYDPVFNS_cjs.useFilesStore((state) => state.removePendingFolder);
|
|
19226
19226
|
const [editingFolderPath, setEditingFolderPath] = react$1.useState(null);
|
|
19227
19227
|
const isSearching = search.trim().length > 0;
|
|
19228
19228
|
const selectedSet = react$1.useMemo(() => new Set(selectedIds), [selectedIds]);
|
|
@@ -19231,8 +19231,8 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19231
19231
|
const { folders, files } = react$1.useMemo(() => {
|
|
19232
19232
|
const result = isSearching ? {
|
|
19233
19233
|
folders: [],
|
|
19234
|
-
files:
|
|
19235
|
-
} :
|
|
19234
|
+
files: chunkN7B5OAI5_cjs.searchExplorerDocuments(documents, search, sort)
|
|
19235
|
+
} : chunkN7B5OAI5_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
|
|
19236
19236
|
if (sortReversed) result.files = [...result.files].reverse();
|
|
19237
19237
|
return result;
|
|
19238
19238
|
}, [documents, currentPath, sort, isSearching, search, sortReversed, pendingFolders]);
|
|
@@ -19243,7 +19243,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19243
19243
|
const orderedFileIds = react$1.useMemo(() => files.map((d) => d.external_id), [files]);
|
|
19244
19244
|
const folderDocs = react$1.useMemo(() => {
|
|
19245
19245
|
const map = /* @__PURE__ */ new Map();
|
|
19246
|
-
for (const f of folders) map.set(f.path.join("/"),
|
|
19246
|
+
for (const f of folders) map.set(f.path.join("/"), chunkN7B5OAI5_cjs.collectFolderDocs(documents, f.path));
|
|
19247
19247
|
return map;
|
|
19248
19248
|
}, [folders, documents]);
|
|
19249
19249
|
const folderSelection = react$1.useMemo(() => {
|
|
@@ -19391,7 +19391,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19391
19391
|
let name = base;
|
|
19392
19392
|
let i = 2;
|
|
19393
19393
|
while (siblings.has(name.toLowerCase())) name = `${base} ${i++}`;
|
|
19394
|
-
const path =
|
|
19394
|
+
const path = chunkN7B5OAI5_cjs.joinFolderPath([...currentPath, name]);
|
|
19395
19395
|
if (!path) return;
|
|
19396
19396
|
addPendingFolder(wsId, path);
|
|
19397
19397
|
setEditingFolderPath(path);
|
|
@@ -19427,10 +19427,10 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19427
19427
|
notify19(`A folder named "${name}" already exists here.`, "error");
|
|
19428
19428
|
return;
|
|
19429
19429
|
}
|
|
19430
|
-
const oldPath =
|
|
19430
|
+
const oldPath = chunkN7B5OAI5_cjs.joinFolderPath(folder.path);
|
|
19431
19431
|
const newPrefix = [...folder.path.slice(0, -1), name];
|
|
19432
|
-
const newPath =
|
|
19433
|
-
const docs =
|
|
19432
|
+
const newPath = chunkN7B5OAI5_cjs.joinFolderPath(newPrefix);
|
|
19433
|
+
const docs = chunkN7B5OAI5_cjs.collectFolderDocs(documents, folder.path);
|
|
19434
19434
|
try {
|
|
19435
19435
|
if (await renameFolder(docs, folder.path, newPrefix) > 0) {
|
|
19436
19436
|
notify19(`Renamed folder to "${name}"`, "success");
|
|
@@ -19489,7 +19489,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19489
19489
|
const handleToggleFolder = react$1.useCallback(
|
|
19490
19490
|
(folder, e) => {
|
|
19491
19491
|
e.stopPropagation();
|
|
19492
|
-
const ids =
|
|
19492
|
+
const ids = chunkN7B5OAI5_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
|
|
19493
19493
|
if (ids.length === 0) return;
|
|
19494
19494
|
if (ids.every((id) => selectedSet.has(id))) {
|
|
19495
19495
|
const remove = new Set(ids);
|
|
@@ -19550,9 +19550,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19550
19550
|
);
|
|
19551
19551
|
const handleDelete = react$1.useCallback(
|
|
19552
19552
|
async (doc) => {
|
|
19553
|
-
const name =
|
|
19553
|
+
const name = chunkN7B5OAI5_cjs.getExplorerDisplayName(doc);
|
|
19554
19554
|
const confirmed = await confirm({
|
|
19555
|
-
message: `Delete "${name}"? ${
|
|
19555
|
+
message: `Delete "${name}"? ${chunkN7B5OAI5_cjs.RECENTLY_DELETED_HINT}`,
|
|
19556
19556
|
title: "Delete file"
|
|
19557
19557
|
});
|
|
19558
19558
|
if (!confirmed) return;
|
|
@@ -19572,7 +19572,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19572
19572
|
);
|
|
19573
19573
|
const handleFolderDownload = react$1.useCallback(
|
|
19574
19574
|
(folder) => {
|
|
19575
|
-
const docs =
|
|
19575
|
+
const docs = chunkN7B5OAI5_cjs.collectFolderDocs(documents, folder.path);
|
|
19576
19576
|
if (docs.length > 0) void downloadDocuments(docs);
|
|
19577
19577
|
},
|
|
19578
19578
|
[documents, downloadDocuments]
|
|
@@ -19581,7 +19581,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19581
19581
|
if (onFolderMove) return onFolderMove;
|
|
19582
19582
|
if (!onMoveSelected) return void 0;
|
|
19583
19583
|
return (folder) => {
|
|
19584
|
-
const ids =
|
|
19584
|
+
const ids = chunkN7B5OAI5_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
|
|
19585
19585
|
if (ids.length === 0) return;
|
|
19586
19586
|
onSelectionChange(ids);
|
|
19587
19587
|
onMoveSelected();
|
|
@@ -19589,14 +19589,14 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19589
19589
|
}, [documents, onFolderMove, onMoveSelected, onSelectionChange]);
|
|
19590
19590
|
const handleFolderDelete = react$1.useCallback(
|
|
19591
19591
|
async (folder) => {
|
|
19592
|
-
const docs =
|
|
19592
|
+
const docs = chunkN7B5OAI5_cjs.collectFolderDocs(documents, folder.path);
|
|
19593
19593
|
if (docs.length === 0) {
|
|
19594
|
-
const path =
|
|
19594
|
+
const path = chunkN7B5OAI5_cjs.joinFolderPath(folder.path);
|
|
19595
19595
|
if (wsId && path) removePendingFolder(wsId, path);
|
|
19596
19596
|
return;
|
|
19597
19597
|
}
|
|
19598
19598
|
const confirmed = await confirm({
|
|
19599
|
-
message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${
|
|
19599
|
+
message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunkN7B5OAI5_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
|
|
19600
19600
|
title: "Delete folder"
|
|
19601
19601
|
});
|
|
19602
19602
|
if (!confirmed) return;
|
|
@@ -19613,8 +19613,8 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19613
19613
|
[confirm, documents, deleteDocuments, onSelectionChange, removePendingFolder, wsId, notify19]
|
|
19614
19614
|
);
|
|
19615
19615
|
const canDeleteFolder = react$1.useCallback(
|
|
19616
|
-
(folder) => canUpload &&
|
|
19617
|
-
(doc) =>
|
|
19616
|
+
(folder) => canUpload && chunkN7B5OAI5_cjs.collectFolderDocs(documents, folder.path).every(
|
|
19617
|
+
(doc) => chunkN7B5OAI5_cjs.canDeleteDocument(doc, userId, role)
|
|
19618
19618
|
),
|
|
19619
19619
|
[canUpload, documents, userId, role]
|
|
19620
19620
|
);
|
|
@@ -19673,7 +19673,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19673
19673
|
setActiveDragId(null);
|
|
19674
19674
|
const data = event.over?.data.current;
|
|
19675
19675
|
if (data?.type === "folder" && data.path) {
|
|
19676
|
-
const targetFolder =
|
|
19676
|
+
const targetFolder = chunkN7B5OAI5_cjs.joinFolderPath(data.path);
|
|
19677
19677
|
const moving = dragIdsRef.current.filter((id) => {
|
|
19678
19678
|
const doc = documents.find((d) => d.external_id === id);
|
|
19679
19679
|
return doc && (doc.folder ?? null) !== targetFolder;
|
|
@@ -19713,7 +19713,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19713
19713
|
const dropped = Array.from(e.dataTransfer.files ?? []);
|
|
19714
19714
|
if (dropped.length > 0) {
|
|
19715
19715
|
e.preventDefault();
|
|
19716
|
-
onUploadFiles(dropped,
|
|
19716
|
+
onUploadFiles(dropped, chunkN7B5OAI5_cjs.joinFolderPath(currentPath));
|
|
19717
19717
|
}
|
|
19718
19718
|
},
|
|
19719
19719
|
[canUpload, currentPath, onUploadFiles]
|
|
@@ -19730,9 +19730,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19730
19730
|
onDragEnd: handleDragEnd,
|
|
19731
19731
|
onDragCancel: () => setActiveDragId(null),
|
|
19732
19732
|
children: [
|
|
19733
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19733
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.ExplorerStage, { children: [
|
|
19734
19734
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19735
|
-
|
|
19735
|
+
chunkN7B5OAI5_cjs.ExplorerScroller,
|
|
19736
19736
|
{
|
|
19737
19737
|
ref: scrollRef,
|
|
19738
19738
|
onClick: handleBackgroundClick,
|
|
@@ -19742,15 +19742,15 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19742
19742
|
onDragLeave: handleNativeDragLeave,
|
|
19743
19743
|
onDrop: handleNativeDrop,
|
|
19744
19744
|
"data-testid": "explorer-scroll",
|
|
19745
|
-
children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
19746
|
-
|
|
19745
|
+
children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
19746
|
+
chunkN7B5OAI5_cjs.ExplorerEmpty,
|
|
19747
19747
|
{
|
|
19748
19748
|
title: isSearching ? `No files match "${search.trim()}"` : "This folder is empty",
|
|
19749
19749
|
description: isSearching ? "Try a different search." : canUpload ? "Drop files here or use Upload to add documents." : "No documents here yet."
|
|
19750
19750
|
}
|
|
19751
19751
|
) : containerWidth === 0 ? (
|
|
19752
19752
|
// Not measured yet: rendering now would flash one stretched column.
|
|
19753
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19753
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.ExplorerLoadingTiles, {})
|
|
19754
19754
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
19755
19755
|
"div",
|
|
19756
19756
|
{
|
|
@@ -19780,7 +19780,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19780
19780
|
if (entry.kind === "folder") {
|
|
19781
19781
|
const key = entry.path.join("/");
|
|
19782
19782
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19783
|
-
|
|
19783
|
+
chunkBT2QTDZ4_cjs.FolderTile,
|
|
19784
19784
|
{
|
|
19785
19785
|
folder: entry,
|
|
19786
19786
|
density,
|
|
@@ -19803,7 +19803,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19803
19803
|
}
|
|
19804
19804
|
const doc = entry.doc;
|
|
19805
19805
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19806
|
-
|
|
19806
|
+
chunkBT2QTDZ4_cjs.FileTile,
|
|
19807
19807
|
{
|
|
19808
19808
|
doc,
|
|
19809
19809
|
density,
|
|
@@ -19811,7 +19811,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19811
19811
|
dragging: activeDragId === doc.external_id,
|
|
19812
19812
|
dndActive: activeDragId !== null,
|
|
19813
19813
|
renaming: renamingId === doc.external_id,
|
|
19814
|
-
canDelete:
|
|
19814
|
+
canDelete: chunkN7B5OAI5_cjs.canDeleteDocument(doc, userId, role),
|
|
19815
19815
|
thumbnailUrl: thumbnailsById.get(doc.external_id),
|
|
19816
19816
|
modifiedBy: userById.get(
|
|
19817
19817
|
doc.updated_by_ext_id ?? doc.created_by_ext_id
|
|
@@ -19840,9 +19840,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19840
19840
|
)
|
|
19841
19841
|
}
|
|
19842
19842
|
),
|
|
19843
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19843
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
|
|
19844
19844
|
isFileDragOver && /* @__PURE__ */ jsxRuntime.jsx(
|
|
19845
|
-
|
|
19845
|
+
chunkN7B5OAI5_cjs.ExplorerDropOverlay,
|
|
19846
19846
|
{
|
|
19847
19847
|
label: `Drop to upload${currentPath.length > 0 ? ` to "${currentPath[currentPath.length - 1]}"` : ""}`
|
|
19848
19848
|
}
|
|
@@ -19856,7 +19856,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
|
|
|
19856
19856
|
function DragPreview({ doc, count: count2 }) {
|
|
19857
19857
|
const Icon = ui.getFileTypeIcon(doc.file_name, { mime: doc.file_type, folder: doc.folder });
|
|
19858
19858
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19859
|
-
|
|
19859
|
+
chunkN7B5OAI5_cjs.ExplorerDragPreview,
|
|
19860
19860
|
{
|
|
19861
19861
|
icon: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 20 }),
|
|
19862
19862
|
title: ui.getDocumentTitle(doc, doc.file_name ?? "Untitled"),
|
|
@@ -20093,11 +20093,11 @@ function ConnectedProjectPage({
|
|
|
20093
20093
|
figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
|
|
20094
20094
|
threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
|
|
20095
20095
|
};
|
|
20096
|
-
const { project, usage, isLoading } =
|
|
20096
|
+
const { project, usage, isLoading } = chunkF5HT73TR_cjs.useProjectSummary(projectId);
|
|
20097
20097
|
const { workspaceId } = chunkYKOPKLYP_cjs.useConnectedWorkspace();
|
|
20098
20098
|
const { notify: notify19 } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
20099
|
-
const selectWorkspace =
|
|
20100
|
-
const workspace = project ?
|
|
20099
|
+
const selectWorkspace = chunkYEGOCUBR_cjs.useSelectWorkspace();
|
|
20100
|
+
const workspace = project ? chunkF5HT73TR_cjs.primaryProjectWorkspace(project) : void 0;
|
|
20101
20101
|
const open = !!workspace && workspace.id === workspaceId;
|
|
20102
20102
|
react$1.useEffect(() => {
|
|
20103
20103
|
if (!workspace || workspace.id === workspaceId) return;
|
|
@@ -22160,7 +22160,7 @@ function ConnectedDmGrantAccessDialog({
|
|
|
22160
22160
|
}
|
|
22161
22161
|
);
|
|
22162
22162
|
}
|
|
22163
|
-
var ThreadHistory = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
22163
|
+
var ThreadHistory = (props) => /* @__PURE__ */ jsxRuntime.jsx(chunkHG72AVXX_cjs.ConnectedCallChatHistory, { ...props });
|
|
22164
22164
|
function ConnectedPeerActions({ peer, addPeople }) {
|
|
22165
22165
|
const [accessOpen, setAccessOpen] = react$1.useState(false);
|
|
22166
22166
|
const [grantOpen, setGrantOpen] = react$1.useState(false);
|
|
@@ -22174,8 +22174,8 @@ function ConnectedPeerActions({ peer, addPeople }) {
|
|
|
22174
22174
|
)
|
|
22175
22175
|
];
|
|
22176
22176
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
22177
|
-
!ui.isAgent(peer) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
22178
|
-
!ui.isAgent(peer) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
22177
|
+
!ui.isAgent(peer) && /* @__PURE__ */ jsxRuntime.jsx(chunkHG72AVXX_cjs.DmCallButton, { peer }),
|
|
22178
|
+
!ui.isAgent(peer) && /* @__PURE__ */ jsxRuntime.jsx(chunkHG72AVXX_cjs.ScheduleCallButton, { peer }),
|
|
22179
22179
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22180
22180
|
ConnectedContactMenu,
|
|
22181
22181
|
{
|
|
@@ -22200,14 +22200,14 @@ function ConnectedPeerActions({ peer, addPeople }) {
|
|
|
22200
22200
|
}
|
|
22201
22201
|
var fullDirectActions = (peer, { addPeople }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedPeerActions, { peer, addPeople });
|
|
22202
22202
|
var fullGroupActions = (chat, title) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
22203
|
-
|
|
22203
|
+
chunkHG72AVXX_cjs.GroupCallButton,
|
|
22204
22204
|
{
|
|
22205
22205
|
chatExtId: chat.external_id,
|
|
22206
22206
|
title,
|
|
22207
22207
|
members: chat.members.map((m) => m.user)
|
|
22208
22208
|
}
|
|
22209
22209
|
);
|
|
22210
|
-
var fullListActions = /* @__PURE__ */ jsxRuntime.jsx(
|
|
22210
|
+
var fullListActions = /* @__PURE__ */ jsxRuntime.jsx(chunkHG72AVXX_cjs.NewCallChip, {});
|
|
22211
22211
|
function fullMessengerHost(arbi, presence) {
|
|
22212
22212
|
return {
|
|
22213
22213
|
presenceOf: (id) => presence?.[id] === "online" ? "connected" : "disconnected",
|
|
@@ -22804,10 +22804,10 @@ function ConnectedContactsPanel({
|
|
|
22804
22804
|
function ConnectedConfigForm({ availableModels, ...rest }) {
|
|
22805
22805
|
const hasModels = !!availableModels && availableModels.length > 0;
|
|
22806
22806
|
const renderModelSelect = react$1.useCallback(
|
|
22807
|
-
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
22807
|
+
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS7IYHLK_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
|
|
22808
22808
|
[]
|
|
22809
22809
|
);
|
|
22810
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22810
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
|
|
22811
22811
|
}
|
|
22812
22812
|
function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
|
|
22813
22813
|
const { notify: notify19 } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
@@ -22924,7 +22924,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22924
22924
|
}, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify19]);
|
|
22925
22925
|
if (editAgent) {
|
|
22926
22926
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22927
|
-
|
|
22927
|
+
chunkCKKODA5B_cjs.AgentEditView,
|
|
22928
22928
|
{
|
|
22929
22929
|
agentName: editAgent.name,
|
|
22930
22930
|
config: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -22940,7 +22940,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22940
22940
|
}
|
|
22941
22941
|
if (view === "main") {
|
|
22942
22942
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22943
|
-
|
|
22943
|
+
chunkCKKODA5B_cjs.AgentMainView,
|
|
22944
22944
|
{
|
|
22945
22945
|
onConnectExternal: () => setView("connect"),
|
|
22946
22946
|
config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -22956,11 +22956,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22956
22956
|
}
|
|
22957
22957
|
if (result) {
|
|
22958
22958
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22959
|
-
|
|
22959
|
+
chunkCKKODA5B_cjs.AgentCreatedView,
|
|
22960
22960
|
{
|
|
22961
22961
|
email: result.email,
|
|
22962
22962
|
signingKey: result.signingKey,
|
|
22963
|
-
instructions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22963
|
+
instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
|
|
22964
22964
|
config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
|
|
22965
22965
|
isConfigOpen: configOpen,
|
|
22966
22966
|
onToggleConfig: () => setConfigOpen((v) => !v),
|
|
@@ -22969,7 +22969,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
|
|
|
22969
22969
|
);
|
|
22970
22970
|
}
|
|
22971
22971
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22972
|
-
|
|
22972
|
+
chunkCKKODA5B_cjs.AgentCreateView,
|
|
22973
22973
|
{
|
|
22974
22974
|
name,
|
|
22975
22975
|
onNameChange: setName,
|
|
@@ -23165,7 +23165,7 @@ function ConnectedNewThreadDialog({
|
|
|
23165
23165
|
});
|
|
23166
23166
|
const parentOptions = react$1.useMemo(() => {
|
|
23167
23167
|
const leaf = { external_id: "__new__" };
|
|
23168
|
-
return
|
|
23168
|
+
return chunkCKKODA5B_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
|
|
23169
23169
|
id: t.external_id,
|
|
23170
23170
|
name: t.title?.trim() || "Untitled task"
|
|
23171
23171
|
}));
|
|
@@ -23212,7 +23212,7 @@ function ConnectedNewThreadDialog({
|
|
|
23212
23212
|
}
|
|
23213
23213
|
};
|
|
23214
23214
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23215
|
-
|
|
23215
|
+
chunkCKKODA5B_cjs.NewThreadDialog,
|
|
23216
23216
|
{
|
|
23217
23217
|
open,
|
|
23218
23218
|
onOpenChange,
|
|
@@ -23316,7 +23316,7 @@ function DashboardAgenda() {
|
|
|
23316
23316
|
const { data: settings } = react.useCalendarSettings();
|
|
23317
23317
|
const { openCalendar } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
23318
23318
|
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "rounded-lg border border-border p-3", "data-testid": "dashboard-agenda", children: [
|
|
23319
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1 flex items-center justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
23319
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1 flex items-center justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(chunkHG72AVXX_cjs.ScheduleCallButton, { variant: "label" }) }),
|
|
23320
23320
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23321
23321
|
ConnectedUpcomingEvents,
|
|
23322
23322
|
{
|
|
@@ -23390,7 +23390,7 @@ function recentConversations(conversations) {
|
|
|
23390
23390
|
return [...conversations].sort((a, b) => time(b.updated_at) - time(a.updated_at)).slice(0, RECENT_ROWS).map((c) => ({
|
|
23391
23391
|
id: c.external_id,
|
|
23392
23392
|
title: c.title?.trim() || "Untitled thread",
|
|
23393
|
-
subtitle: c.status ? [
|
|
23393
|
+
subtitle: c.status ? [chunkCKKODA5B_cjs.STATUS_LABELS[chunkCKKODA5B_cjs.asTaskStatus(c.status)], c.due_at ? `due ${shortDate(c.due_at)}` : null].filter(Boolean).join(" \xB7 ") : `${c.message_count} ${c.message_count === 1 ? "message" : "messages"}`,
|
|
23394
23394
|
time: timeAndDate(c.updated_at)
|
|
23395
23395
|
}));
|
|
23396
23396
|
}
|
|
@@ -23481,7 +23481,7 @@ function DocumentsUploadButton({
|
|
|
23481
23481
|
[hasAccountProviders, onSelectSource, onEmailWorkspace, onCreateNew, onTakePhoto]
|
|
23482
23482
|
);
|
|
23483
23483
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23484
|
-
|
|
23484
|
+
chunkN7B5OAI5_cjs.FilesAddMenu,
|
|
23485
23485
|
{
|
|
23486
23486
|
items,
|
|
23487
23487
|
isCompact,
|
|
@@ -23576,7 +23576,7 @@ function useDashboardAdd({ onCreateNew, onTakePhoto }) {
|
|
|
23576
23576
|
addFiles: () => upload(),
|
|
23577
23577
|
dialogs: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
23578
23578
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23579
|
-
|
|
23579
|
+
chunkN7B5OAI5_cjs.UrlInputDialog,
|
|
23580
23580
|
{
|
|
23581
23581
|
open: urlDialogOpen,
|
|
23582
23582
|
onOpenChange: setUrlDialogOpen,
|
|
@@ -23835,7 +23835,7 @@ var inWorkspace = ({ workspaceId }) => !!workspaceId;
|
|
|
23835
23835
|
var canWrite = ({ isMember, role }) => isMember && role !== "guest";
|
|
23836
23836
|
var notTemporary = ({ isTemporaryAccess }) => !isTemporaryAccess;
|
|
23837
23837
|
function setDocumentSourceFilter(source) {
|
|
23838
|
-
const { documentFilters, setDocumentFilters } =
|
|
23838
|
+
const { documentFilters, setDocumentFilters } = chunkLYDPVFNS_cjs.useFilesPrefs.getState();
|
|
23839
23839
|
setDocumentFilters({
|
|
23840
23840
|
...documentFilters,
|
|
23841
23841
|
source_uploaded: source === "uploaded" ? "include" : null,
|
|
@@ -23847,9 +23847,9 @@ function createBuiltinActions(environment, session) {
|
|
|
23847
23847
|
const startWorkflowOnDocuments = (workflowId) => {
|
|
23848
23848
|
const { viewingDocument, selectedDocumentIds } = session.getState();
|
|
23849
23849
|
const documents = viewingDocument ? [viewingDocument.id] : [...selectedDocumentIds];
|
|
23850
|
-
|
|
23850
|
+
chunkCKKODA5B_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
|
|
23851
23851
|
};
|
|
23852
|
-
const setFilesView = (mode) => () =>
|
|
23852
|
+
const setFilesView = (mode) => () => chunkLYDPVFNS_cjs.useFilesPrefs.getState().setViewMode(mode);
|
|
23853
23853
|
const actions = [
|
|
23854
23854
|
{
|
|
23855
23855
|
id: "goto-user-settings",
|
|
@@ -23914,7 +23914,7 @@ function createBuiltinActions(environment, session) {
|
|
|
23914
23914
|
icon: "Files",
|
|
23915
23915
|
keywords: ["download", "csv", "excel"],
|
|
23916
23916
|
available: inWorkspace,
|
|
23917
|
-
run: () =>
|
|
23917
|
+
run: () => chunkLYDPVFNS_cjs.useFilesDialogs.getState().setExportOpen(true)
|
|
23918
23918
|
},
|
|
23919
23919
|
{
|
|
23920
23920
|
id: "bulk-tag-documents",
|
|
@@ -23923,7 +23923,7 @@ function createBuiltinActions(environment, session) {
|
|
|
23923
23923
|
icon: "Tags",
|
|
23924
23924
|
keywords: ["labels", "categorize", "bulk tag"],
|
|
23925
23925
|
available: inWorkspace,
|
|
23926
|
-
run: () =>
|
|
23926
|
+
run: () => chunkLYDPVFNS_cjs.useFilesDialogs.getState().setBulkTagsOpen(true)
|
|
23927
23927
|
},
|
|
23928
23928
|
{
|
|
23929
23929
|
id: "move-to-folder",
|
|
@@ -23932,7 +23932,7 @@ function createBuiltinActions(environment, session) {
|
|
|
23932
23932
|
icon: "FolderInput",
|
|
23933
23933
|
keywords: ["organize", "relocate"],
|
|
23934
23934
|
available: inWorkspace,
|
|
23935
|
-
run: () =>
|
|
23935
|
+
run: () => chunkLYDPVFNS_cjs.useFilesDialogs.getState().openMove()
|
|
23936
23936
|
},
|
|
23937
23937
|
{
|
|
23938
23938
|
id: "ai-review-documents",
|
|
@@ -23941,7 +23941,7 @@ function createBuiltinActions(environment, session) {
|
|
|
23941
23941
|
icon: "Sparkles",
|
|
23942
23942
|
keywords: ["auto tag", "analyze", "suggest tags"],
|
|
23943
23943
|
available: inWorkspace,
|
|
23944
|
-
run: () =>
|
|
23944
|
+
run: () => chunkLYDPVFNS_cjs.useAiReviewStore.getState().setOpen(true)
|
|
23945
23945
|
},
|
|
23946
23946
|
{
|
|
23947
23947
|
id: "docs-grid-view",
|
|
@@ -24409,7 +24409,7 @@ function ConnectedRemoteControlConsent() {
|
|
|
24409
24409
|
}
|
|
24410
24410
|
function ConsentPrompt() {
|
|
24411
24411
|
const pending = react.useRemoteControl((s) => s.pending);
|
|
24412
|
-
const remote =
|
|
24412
|
+
const remote = chunkSS7IYHLK_cjs.useRemoteControlActions();
|
|
24413
24413
|
const onceRef = react$1.useRef(null);
|
|
24414
24414
|
chunkNZNBJF3M_cjs.useMountedSurface("consent");
|
|
24415
24415
|
const handleOpenChange = (next) => {
|
|
@@ -24502,7 +24502,7 @@ function Indicator() {
|
|
|
24502
24502
|
const enabled = react.useRemoteControl((s) => s.enabled);
|
|
24503
24503
|
const sharing = react.useRemoteControl((s) => !!s.sharing);
|
|
24504
24504
|
const controllingAgent = react.useRemoteControl((s) => s.controllingAgent);
|
|
24505
|
-
const remote =
|
|
24505
|
+
const remote = chunkSS7IYHLK_cjs.useRemoteControlActions();
|
|
24506
24506
|
if (!enabled && !controllingAgent) return null;
|
|
24507
24507
|
const isActive = controllingAgent !== null;
|
|
24508
24508
|
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";
|
|
@@ -24548,7 +24548,7 @@ function AddFromAccountsButton({
|
|
|
24548
24548
|
className: "gap-2",
|
|
24549
24549
|
"data-testid": dataTestId,
|
|
24550
24550
|
children: [
|
|
24551
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
24551
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
|
|
24552
24552
|
"Add from accounts"
|
|
24553
24553
|
]
|
|
24554
24554
|
}
|
|
@@ -24632,7 +24632,7 @@ function ConnectedUploadDropzone({
|
|
|
24632
24632
|
const onFiles = browse(fileInputRef);
|
|
24633
24633
|
const onFolder = browse(folderInputRef);
|
|
24634
24634
|
const dropTarget = /* @__PURE__ */ jsxRuntime.jsx(
|
|
24635
|
-
|
|
24635
|
+
chunkN7B5OAI5_cjs.UploadDropArea,
|
|
24636
24636
|
{
|
|
24637
24637
|
isActive: dragActive,
|
|
24638
24638
|
isDisabled: disabled,
|
|
@@ -24646,11 +24646,11 @@ function ConnectedUploadDropzone({
|
|
|
24646
24646
|
onClick: (e) => {
|
|
24647
24647
|
if (e.target === e.currentTarget) onFiles();
|
|
24648
24648
|
},
|
|
24649
|
-
actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24649
|
+
actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
|
|
24650
24650
|
}
|
|
24651
24651
|
);
|
|
24652
24652
|
const urlDialog = (trigger) => onUrlsSubmit ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24653
|
-
|
|
24653
|
+
chunkN7B5OAI5_cjs.UrlInputDialog,
|
|
24654
24654
|
{
|
|
24655
24655
|
onUrlsSubmit,
|
|
24656
24656
|
processing: disabled,
|
|
@@ -24663,12 +24663,12 @@ function ConnectedUploadDropzone({
|
|
|
24663
24663
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
24664
24664
|
dropTarget,
|
|
24665
24665
|
compactLeadingAction,
|
|
24666
|
-
onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(
|
|
24666
|
+
onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
|
|
24667
24667
|
] });
|
|
24668
24668
|
}
|
|
24669
24669
|
if (!source) {
|
|
24670
24670
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24671
|
-
|
|
24671
|
+
chunkN7B5OAI5_cjs.UploadSourcePicker,
|
|
24672
24672
|
{
|
|
24673
24673
|
isDisabled: disabled,
|
|
24674
24674
|
options: [
|
|
@@ -24704,14 +24704,14 @@ function ConnectedUploadDropzone({
|
|
|
24704
24704
|
}
|
|
24705
24705
|
if (source === "computer") {
|
|
24706
24706
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
24707
|
-
|
|
24707
|
+
chunkN7B5OAI5_cjs.UploadSourceSection,
|
|
24708
24708
|
{
|
|
24709
24709
|
testId: "upload-source-computer",
|
|
24710
24710
|
className: "flex w-full flex-col gap-3 pointer-coarse:flex-col-reverse",
|
|
24711
24711
|
children: [
|
|
24712
24712
|
dropTarget,
|
|
24713
24713
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24714
|
-
|
|
24714
|
+
chunkN7B5OAI5_cjs.UploadBrowseButtons,
|
|
24715
24715
|
{
|
|
24716
24716
|
layout: "grid",
|
|
24717
24717
|
onFiles,
|
|
@@ -24724,15 +24724,15 @@ function ConnectedUploadDropzone({
|
|
|
24724
24724
|
);
|
|
24725
24725
|
}
|
|
24726
24726
|
if (source === "internet" && onUrlsSubmit) {
|
|
24727
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24727
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
|
|
24728
24728
|
}
|
|
24729
24729
|
if (source === "email" && accounts) {
|
|
24730
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24730
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
|
|
24731
24731
|
}
|
|
24732
24732
|
return null;
|
|
24733
24733
|
})();
|
|
24734
24734
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
24735
|
-
|
|
24735
|
+
chunkN7B5OAI5_cjs.UploadFrame,
|
|
24736
24736
|
{
|
|
24737
24737
|
isCompact: compact,
|
|
24738
24738
|
isDimmed: disabled || processingMessage !== null,
|
|
@@ -24793,7 +24793,7 @@ function EmptyWorkspaceUpload({
|
|
|
24793
24793
|
compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
|
|
24794
24794
|
}
|
|
24795
24795
|
),
|
|
24796
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24796
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.PrivacyExplainerModal, {})
|
|
24797
24797
|
] })
|
|
24798
24798
|
}
|
|
24799
24799
|
);
|
|
@@ -24900,9 +24900,9 @@ function useDocumentFilters({
|
|
|
24900
24900
|
const { data: members = [] } = react.useWorkspaceUsers();
|
|
24901
24901
|
const user = members.find((m) => m.user.external_id === currentUserId)?.user;
|
|
24902
24902
|
const offlineIds = react.useOfflineDocumentIds();
|
|
24903
|
-
const pendingFolders =
|
|
24904
|
-
const persistedDocumentFilters =
|
|
24905
|
-
const setPersistedDocumentFilters =
|
|
24903
|
+
const pendingFolders = chunkLYDPVFNS_cjs.usePendingFolders(selectedWorkspaceId);
|
|
24904
|
+
const persistedDocumentFilters = chunkLYDPVFNS_cjs.useFilesPrefs((state) => state.documentFilters);
|
|
24905
|
+
const setPersistedDocumentFilters = chunkLYDPVFNS_cjs.useFilesPrefs((state) => state.setDocumentFilters);
|
|
24906
24906
|
const folderTree = react$1.useMemo(() => {
|
|
24907
24907
|
const allPaths = /* @__PURE__ */ new Set();
|
|
24908
24908
|
let hasUnfiled = false;
|
|
@@ -25123,7 +25123,7 @@ function useDocumentFilters({
|
|
|
25123
25123
|
{
|
|
25124
25124
|
id: "uploaded_by_me",
|
|
25125
25125
|
label: "Uploaded by me",
|
|
25126
|
-
icon: user ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
25126
|
+
icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkBT2QTDZ4_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
|
|
25127
25127
|
count: docs.filter((doc) => doc.created_by_ext_id === currentUserId).length
|
|
25128
25128
|
},
|
|
25129
25129
|
{
|
|
@@ -25244,7 +25244,7 @@ function useDocumentFilters({
|
|
|
25244
25244
|
const folderPath = react$1.useMemo(() => {
|
|
25245
25245
|
for (const [key, state] of documentFilters) {
|
|
25246
25246
|
if (key.startsWith("folder:") && key !== "folder:none" && state === "include") {
|
|
25247
|
-
return
|
|
25247
|
+
return chunkN7B5OAI5_cjs.parseFolderSegments(key.slice("folder:".length));
|
|
25248
25248
|
}
|
|
25249
25249
|
}
|
|
25250
25250
|
return [];
|
|
@@ -25253,7 +25253,7 @@ function useDocumentFilters({
|
|
|
25253
25253
|
(path) => {
|
|
25254
25254
|
const next = new Map(documentFilters);
|
|
25255
25255
|
for (const key of next.keys()) if (key.startsWith("folder:")) next.set(key, null);
|
|
25256
|
-
const joined =
|
|
25256
|
+
const joined = chunkN7B5OAI5_cjs.joinFolderPath(path);
|
|
25257
25257
|
if (joined) next.set(`folder:${joined}`, "include");
|
|
25258
25258
|
setDocumentFilters(next);
|
|
25259
25259
|
},
|
|
@@ -27836,7 +27836,7 @@ function ConnectedMailbox({
|
|
|
27836
27836
|
onTabChange: () => {
|
|
27837
27837
|
},
|
|
27838
27838
|
compactBreakpoint: 360,
|
|
27839
|
-
firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
27839
|
+
firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.FilesFilterBar, { children: [
|
|
27840
27840
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27841
27841
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
27842
27842
|
{
|
|
@@ -27871,7 +27871,7 @@ function ConnectedMailbox({
|
|
|
27871
27871
|
}
|
|
27872
27872
|
),
|
|
27873
27873
|
folderList && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 items-center gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
27874
|
-
|
|
27874
|
+
chunkN7B5OAI5_cjs.FolderFilterButton,
|
|
27875
27875
|
{
|
|
27876
27876
|
label: folderList.find((f) => f.id === folderId)?.name ?? "Folders",
|
|
27877
27877
|
isActive: false,
|
|
@@ -27879,7 +27879,7 @@ function ConnectedMailbox({
|
|
|
27879
27879
|
onOpenChange: setFolderMenuOpen,
|
|
27880
27880
|
testId: "mail-folder-button",
|
|
27881
27881
|
children: folderList.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
27882
|
-
|
|
27882
|
+
chunkN7B5OAI5_cjs.FolderPickerRow,
|
|
27883
27883
|
{
|
|
27884
27884
|
label: item.name,
|
|
27885
27885
|
count: item.unread > 0 ? item.unread : void 0,
|
|
@@ -28393,7 +28393,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
28393
28393
|
}) {
|
|
28394
28394
|
const authenticated = react.useArbiSession().status === "signed-in";
|
|
28395
28395
|
const { openMail } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
28396
|
-
const { loading } =
|
|
28396
|
+
const { loading } = chunkSS7IYHLK_cjs.useAuthPages();
|
|
28397
28397
|
const claim = react.useClaimSecureMail();
|
|
28398
28398
|
const [, setFirstLoginWorkspaces] = react.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
|
|
28399
28399
|
const [failure, setFailure] = react$1.useState(null);
|
|
@@ -28433,7 +28433,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
28433
28433
|
}
|
|
28434
28434
|
})();
|
|
28435
28435
|
}, [authenticated, claimId, key]);
|
|
28436
|
-
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
28436
|
+
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkSHGUTM42_cjs.LoadingIndicator, { variant: "splash" }) });
|
|
28437
28437
|
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: [
|
|
28438
28438
|
/* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
|
|
28439
28439
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -31588,7 +31588,7 @@ function ProcessingSettingsFooter({
|
|
|
31588
31588
|
[configField]
|
|
31589
31589
|
);
|
|
31590
31590
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31591
|
-
|
|
31591
|
+
chunkN7B5OAI5_cjs.UploadFooterBar,
|
|
31592
31592
|
{
|
|
31593
31593
|
skipDuplicates,
|
|
31594
31594
|
onSkipDuplicatesChange: (value) => handleConfigChange("Parser", "SKIP_DUPLICATES", value),
|
|
@@ -31597,7 +31597,7 @@ function ProcessingSettingsFooter({
|
|
|
31597
31597
|
autoRenameInstruction,
|
|
31598
31598
|
onAutoRenameInstructionChange: (value) => handleConfigChange("DoctagLLM", "AUTO_RENAME_INSTRUCTION", value),
|
|
31599
31599
|
shareToggle: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31600
|
-
|
|
31600
|
+
chunkN7B5OAI5_cjs.ShareToggle,
|
|
31601
31601
|
{
|
|
31602
31602
|
isVisible: isShared,
|
|
31603
31603
|
onToggle: onSharedChange,
|
|
@@ -31774,7 +31774,7 @@ ${summary}`,
|
|
|
31774
31774
|
}
|
|
31775
31775
|
);
|
|
31776
31776
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-0 flex-1 flex-col", "data-testid": "upload-documents", children: [
|
|
31777
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31777
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
|
|
31778
31778
|
files.length === 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31779
31779
|
ConnectedUploadDropzone,
|
|
31780
31780
|
{
|
|
@@ -31790,7 +31790,7 @@ ${summary}`,
|
|
|
31790
31790
|
}
|
|
31791
31791
|
),
|
|
31792
31792
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31793
|
-
|
|
31793
|
+
chunkN7B5OAI5_cjs.SelectedFilesList,
|
|
31794
31794
|
{
|
|
31795
31795
|
renderFileIcon,
|
|
31796
31796
|
files,
|
|
@@ -31799,10 +31799,10 @@ ${summary}`,
|
|
|
31799
31799
|
formatFileSize: formatFileSize4
|
|
31800
31800
|
}
|
|
31801
31801
|
),
|
|
31802
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31803
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31804
|
-
] }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
31805
|
-
|
|
31802
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
|
|
31803
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.UploadErrorMessage, { message: error })
|
|
31804
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31805
|
+
chunkN7B5OAI5_cjs.UploadProgress,
|
|
31806
31806
|
{
|
|
31807
31807
|
fileCount: count2,
|
|
31808
31808
|
entityLabel: plural5(count2),
|
|
@@ -31964,14 +31964,14 @@ function NativeMailImportSection({
|
|
|
31964
31964
|
),
|
|
31965
31965
|
onError: (e) => notify19(e instanceof Error ? e.message : "Could not add mail", "error")
|
|
31966
31966
|
});
|
|
31967
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
31968
|
-
|
|
31967
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.ImportFamilySection, { label: "Mail", identity: native.email, testId: "import-family-native", children: /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.ImportList, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31968
|
+
chunkN7B5OAI5_cjs.ImportRow,
|
|
31969
31969
|
{
|
|
31970
31970
|
testId: "email-provider-row-native",
|
|
31971
31971
|
logo: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mail, { className: "h-7 w-7 text-primary", "aria-hidden": "true" }),
|
|
31972
31972
|
name: NATIVE_MAILBOX_SOURCE.display_name,
|
|
31973
31973
|
actions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31974
|
-
|
|
31974
|
+
chunkN7B5OAI5_cjs.ImportRunActions,
|
|
31975
31975
|
{
|
|
31976
31976
|
isRunning: false,
|
|
31977
31977
|
isBusy: fileNow.isPending,
|
|
@@ -31985,10 +31985,10 @@ function NativeMailImportSection({
|
|
|
31985
31985
|
),
|
|
31986
31986
|
children: [
|
|
31987
31987
|
here && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31988
|
-
|
|
31988
|
+
chunkN7B5OAI5_cjs.ImportSummary,
|
|
31989
31989
|
{
|
|
31990
|
-
aside: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31991
|
-
|
|
31990
|
+
aside: /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.ImportAside, { children: here.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
31991
|
+
chunkN7B5OAI5_cjs.FolderSummary,
|
|
31992
31992
|
{
|
|
31993
31993
|
names: here.folders.map(
|
|
31994
31994
|
(id) => NATIVE_MAILBOX_FOLDERS.find((f) => f.id === id)?.name
|
|
@@ -32030,7 +32030,7 @@ var PROVIDER_FAMILIES = [
|
|
|
32030
32030
|
{ key: "google", label: "Google", vendors: ["gmail"] }
|
|
32031
32031
|
];
|
|
32032
32032
|
function VendorGlyph({ catalog }) {
|
|
32033
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32033
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
|
|
32034
32034
|
}
|
|
32035
32035
|
function mailboxProductName(catalog) {
|
|
32036
32036
|
if (catalog.vendor_key === "microsoft") return "Outlook";
|
|
@@ -32098,7 +32098,7 @@ function EmailProviderRow({
|
|
|
32098
32098
|
const emailNoun = (n) => n === 1 ? "email" : "emails";
|
|
32099
32099
|
const syncedCount = thisSync?.synced_count ?? 0;
|
|
32100
32100
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
32101
|
-
|
|
32101
|
+
chunkN7B5OAI5_cjs.ImportRow,
|
|
32102
32102
|
{
|
|
32103
32103
|
testId: `email-provider-row-${catalog.vendor_key}`,
|
|
32104
32104
|
logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph, { catalog }),
|
|
@@ -32107,7 +32107,7 @@ function EmailProviderRow({
|
|
|
32107
32107
|
// Connecting AND reconnecting are owned by the family header, so a
|
|
32108
32108
|
// not-connected or needs-reconnect row shows no button of its own.
|
|
32109
32109
|
!isConnected || needsReconnect ? null : /* @__PURE__ */ jsxRuntime.jsx(
|
|
32110
|
-
|
|
32110
|
+
chunkN7B5OAI5_cjs.ImportRunActions,
|
|
32111
32111
|
{
|
|
32112
32112
|
isRunning: running,
|
|
32113
32113
|
isStopping: cancelSync.isPending,
|
|
@@ -32123,10 +32123,10 @@ function EmailProviderRow({
|
|
|
32123
32123
|
),
|
|
32124
32124
|
children: [
|
|
32125
32125
|
isConnected && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
32126
|
-
|
|
32126
|
+
chunkN7B5OAI5_cjs.ImportSummary,
|
|
32127
32127
|
{
|
|
32128
|
-
aside: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32129
|
-
|
|
32128
|
+
aside: /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
32129
|
+
chunkN7B5OAI5_cjs.FolderSummary,
|
|
32130
32130
|
{
|
|
32131
32131
|
names: thisSync.folders.map(
|
|
32132
32132
|
(id) => mailboxFolders?.find((f) => f.id === id)?.name
|
|
@@ -32150,7 +32150,7 @@ function EmailProviderRow({
|
|
|
32150
32150
|
}
|
|
32151
32151
|
),
|
|
32152
32152
|
running && /* @__PURE__ */ jsxRuntime.jsx(
|
|
32153
|
-
|
|
32153
|
+
chunkN7B5OAI5_cjs.ImportProgress,
|
|
32154
32154
|
{
|
|
32155
32155
|
processed: progress?.processed ?? 0,
|
|
32156
32156
|
total: progress?.total,
|
|
@@ -32268,11 +32268,11 @@ function EmailImportPanel({
|
|
|
32268
32268
|
return { family, entries, extra, identity, connectVendor, connected, needsReconnect };
|
|
32269
32269
|
}).filter((g) => g.entries.length > 0 || g.extra);
|
|
32270
32270
|
if (!ownMailbox && groups.length === 0) return null;
|
|
32271
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
32271
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.ImportPanel, { "data-testid": "email-import-panel", children: [
|
|
32272
32272
|
ownMailbox && /* @__PURE__ */ jsxRuntime.jsx(NativeMailImportSection, { workspaceExtId, native: ownMailbox }),
|
|
32273
32273
|
groups.map(
|
|
32274
32274
|
({ family, entries, extra, identity, connectVendor, connected, needsReconnect }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
32275
|
-
|
|
32275
|
+
chunkN7B5OAI5_cjs.ImportFamilySection,
|
|
32276
32276
|
{
|
|
32277
32277
|
label: family.label,
|
|
32278
32278
|
identity,
|
|
@@ -32281,7 +32281,7 @@ function EmailImportPanel({
|
|
|
32281
32281
|
onAction: () => void (!connected ? connectFamily(connectVendor) : needsReconnect ? reconnectFamily(connectVendor) : disconnectFamily(family, connectVendor, identity)),
|
|
32282
32282
|
testId: `import-family-${family.key}`,
|
|
32283
32283
|
actionButton: !connected ? { testId: `import-family-connect-${family.key}` } : needsReconnect ? { testId: `import-family-reconnect-${family.key}` } : { testId: `import-family-disconnect-${family.key}` },
|
|
32284
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
32284
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.ImportList, { children: [
|
|
32285
32285
|
entries.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
32286
32286
|
EmailProviderRow,
|
|
32287
32287
|
{
|
|
@@ -32366,7 +32366,7 @@ function driveProduct(vendorKey) {
|
|
|
32366
32366
|
}
|
|
32367
32367
|
function VendorGlyph2({ catalog }) {
|
|
32368
32368
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32369
|
-
|
|
32369
|
+
chunkN7B5OAI5_cjs.VendorLogo,
|
|
32370
32370
|
{
|
|
32371
32371
|
vendorKey: catalog.vendor_key,
|
|
32372
32372
|
product: driveProduct(catalog.vendor_key).glyph,
|
|
@@ -32489,7 +32489,7 @@ function OneDriveProviderRow({
|
|
|
32489
32489
|
const driveNoun = (n) => n === 1 ? "document" : "documents";
|
|
32490
32490
|
const showRunActions = isConnected && !needsReconnect;
|
|
32491
32491
|
const reconnectAction = ownsAuth && needsReconnect ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
32492
|
-
|
|
32492
|
+
chunkN7B5OAI5_cjs.ImportActionButton,
|
|
32493
32493
|
{
|
|
32494
32494
|
onClick: () => void reconnectSelf(),
|
|
32495
32495
|
disabled: reauthPending,
|
|
@@ -32498,7 +32498,7 @@ function OneDriveProviderRow({
|
|
|
32498
32498
|
}
|
|
32499
32499
|
) : null;
|
|
32500
32500
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
32501
|
-
|
|
32501
|
+
chunkN7B5OAI5_cjs.ImportRow,
|
|
32502
32502
|
{
|
|
32503
32503
|
testId: `onedrive-provider-row-${catalog.vendor_key}`,
|
|
32504
32504
|
logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph2, { catalog }),
|
|
@@ -32510,7 +32510,7 @@ function OneDriveProviderRow({
|
|
|
32510
32510
|
// Until folders are configured here (or when nothing new is pending), Import now
|
|
32511
32511
|
// stays disabled; the gear opens the folder picker.
|
|
32512
32512
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32513
|
-
|
|
32513
|
+
chunkN7B5OAI5_cjs.ImportRunActions,
|
|
32514
32514
|
{
|
|
32515
32515
|
isRunning: running,
|
|
32516
32516
|
isStopping: cancelSync.isPending,
|
|
@@ -32529,16 +32529,16 @@ function OneDriveProviderRow({
|
|
|
32529
32529
|
) : reconnectAction
|
|
32530
32530
|
),
|
|
32531
32531
|
children: [
|
|
32532
|
-
ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
32532
|
+
ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
|
|
32533
32533
|
"Couldn\u2019t reach SharePoint. Click ",
|
|
32534
32534
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: "Reconnect" }),
|
|
32535
32535
|
" \u2014 if it keeps happening, log out and back in to refresh the connection."
|
|
32536
32536
|
] }),
|
|
32537
32537
|
configuredHere && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
32538
|
-
|
|
32538
|
+
chunkN7B5OAI5_cjs.ImportSummary,
|
|
32539
32539
|
{
|
|
32540
32540
|
className: "mt-2",
|
|
32541
|
-
aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
32541
|
+
aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_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,
|
|
32542
32542
|
children: [
|
|
32543
32543
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
32544
32544
|
"Syncing ",
|
|
@@ -32566,7 +32566,7 @@ function OneDriveProviderRow({
|
|
|
32566
32566
|
}
|
|
32567
32567
|
),
|
|
32568
32568
|
running && /* @__PURE__ */ jsxRuntime.jsx(
|
|
32569
|
-
|
|
32569
|
+
chunkN7B5OAI5_cjs.ImportProgress,
|
|
32570
32570
|
{
|
|
32571
32571
|
processed: progress?.processed ?? 0,
|
|
32572
32572
|
total: progress?.total,
|
|
@@ -32630,13 +32630,13 @@ function SharePointEnableRow({
|
|
|
32630
32630
|
}
|
|
32631
32631
|
};
|
|
32632
32632
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32633
|
-
|
|
32633
|
+
chunkN7B5OAI5_cjs.ImportRow,
|
|
32634
32634
|
{
|
|
32635
32635
|
testId: `onedrive-provider-row-${catalog.vendor_key}`,
|
|
32636
|
-
logo: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32636
|
+
logo: /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
|
|
32637
32637
|
name: product.name,
|
|
32638
32638
|
actions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32639
|
-
|
|
32639
|
+
chunkN7B5OAI5_cjs.ImportActionButton,
|
|
32640
32640
|
{
|
|
32641
32641
|
onClick: () => void enable(),
|
|
32642
32642
|
disabled: pending,
|
|
@@ -32644,7 +32644,7 @@ function SharePointEnableRow({
|
|
|
32644
32644
|
children: pending ? "Enabling\u2026" : `Enable ${product.name}`
|
|
32645
32645
|
}
|
|
32646
32646
|
),
|
|
32647
|
-
children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
32647
|
+
children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.ImportHint, { children: [
|
|
32648
32648
|
"Does your organization require admin approval?",
|
|
32649
32649
|
" ",
|
|
32650
32650
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -32693,11 +32693,11 @@ function DriveImportPanel({
|
|
|
32693
32693
|
}
|
|
32694
32694
|
const product = driveProduct(entry.vendor_key);
|
|
32695
32695
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32696
|
-
|
|
32696
|
+
chunkN7B5OAI5_cjs.ImportRow,
|
|
32697
32697
|
{
|
|
32698
32698
|
testId: `onedrive-provider-row-${entry.vendor_key}`,
|
|
32699
32699
|
logo: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32700
|
-
|
|
32700
|
+
chunkN7B5OAI5_cjs.VendorLogo,
|
|
32701
32701
|
{
|
|
32702
32702
|
vendorKey: entry.vendor_key,
|
|
32703
32703
|
product: product.glyph,
|
|
@@ -32722,7 +32722,7 @@ function DriveImportPanel({
|
|
|
32722
32722
|
);
|
|
32723
32723
|
}).filter(Boolean);
|
|
32724
32724
|
if (rows.length === 0) return null;
|
|
32725
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32725
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
|
|
32726
32726
|
}
|
|
32727
32727
|
function useHasAccountsImport() {
|
|
32728
32728
|
const isVendorVisible = react.useConnectorVendorVisibility();
|
|
@@ -32937,7 +32937,7 @@ function DocumentNameCellRenderer(params) {
|
|
|
32937
32937
|
if (!doc) return null;
|
|
32938
32938
|
const context = params.context;
|
|
32939
32939
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32940
|
-
|
|
32940
|
+
chunkBT2QTDZ4_cjs.DocumentNameCell,
|
|
32941
32941
|
{
|
|
32942
32942
|
doc,
|
|
32943
32943
|
canEdit: canEdit(params),
|
|
@@ -32955,7 +32955,7 @@ function DocumentNameCellRenderer(params) {
|
|
|
32955
32955
|
function SharedCellRenderer(params) {
|
|
32956
32956
|
if (!params.data) return null;
|
|
32957
32957
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32958
|
-
|
|
32958
|
+
chunkBT2QTDZ4_cjs.DocumentSharedCell,
|
|
32959
32959
|
{
|
|
32960
32960
|
document: params.data,
|
|
32961
32961
|
disabled: !params.canToggle(params),
|
|
@@ -32968,7 +32968,7 @@ function StatusCellRenderer(params) {
|
|
|
32968
32968
|
if (!params.data) return null;
|
|
32969
32969
|
const context = params.context;
|
|
32970
32970
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32971
|
-
|
|
32971
|
+
chunkBT2QTDZ4_cjs.StatusCell,
|
|
32972
32972
|
{
|
|
32973
32973
|
doc: params.data,
|
|
32974
32974
|
onStatusClick: params.onStatusClick,
|
|
@@ -32980,7 +32980,7 @@ function LabelsCellRenderer(params) {
|
|
|
32980
32980
|
if (!params.data) return null;
|
|
32981
32981
|
const context = params.context;
|
|
32982
32982
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32983
|
-
|
|
32983
|
+
chunkBT2QTDZ4_cjs.DocumentLabelsCell,
|
|
32984
32984
|
{
|
|
32985
32985
|
doc: params.data,
|
|
32986
32986
|
labels: params.labels,
|
|
@@ -33000,7 +33000,7 @@ function RelatedDocsCellRenderer(params) {
|
|
|
33000
33000
|
if (!related || react.getRelatedTotal(related) === 0) return null;
|
|
33001
33001
|
const { onOpenDocument, onDeleteDocument } = params;
|
|
33002
33002
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33003
|
-
|
|
33003
|
+
chunkBT2QTDZ4_cjs.RelatedDocumentsCell,
|
|
33004
33004
|
{
|
|
33005
33005
|
currentDoc: params.data,
|
|
33006
33006
|
related,
|
|
@@ -33015,7 +33015,7 @@ function FolderCellRenderer(params) {
|
|
|
33015
33015
|
if (!params.data) return null;
|
|
33016
33016
|
const context = params.context;
|
|
33017
33017
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33018
|
-
|
|
33018
|
+
chunkBT2QTDZ4_cjs.DocumentFolderCell,
|
|
33019
33019
|
{
|
|
33020
33020
|
document: params.data,
|
|
33021
33021
|
isEditable: params.canEdit(params),
|
|
@@ -33029,7 +33029,7 @@ function CreatedByCellRenderer(params) {
|
|
|
33029
33029
|
const context = params.context;
|
|
33030
33030
|
const creator = context?.getWorkspaceUsers?.().find((u) => u.external_id === params.data.created_by_ext_id);
|
|
33031
33031
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33032
|
-
|
|
33032
|
+
chunkBT2QTDZ4_cjs.UserAvatar,
|
|
33033
33033
|
{
|
|
33034
33034
|
user: creator,
|
|
33035
33035
|
isMe: !!creator && creator.external_id === context?.getCurrentUserId?.(),
|
|
@@ -33042,7 +33042,7 @@ function CheckboxCellRenderer(params) {
|
|
|
33042
33042
|
if (!params.data) return null;
|
|
33043
33043
|
const isChecked = params.value === true;
|
|
33044
33044
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33045
|
-
|
|
33045
|
+
chunkN7B5OAI5_cjs.CheckboxCell,
|
|
33046
33046
|
{
|
|
33047
33047
|
isChecked,
|
|
33048
33048
|
color: tagColor,
|
|
@@ -33062,13 +33062,13 @@ function TagHeaderComponent(params) {
|
|
|
33062
33062
|
return () => params.column.removeEventListener("sortChanged", updateSort);
|
|
33063
33063
|
}, [params.column]);
|
|
33064
33064
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33065
|
-
|
|
33065
|
+
chunkN7B5OAI5_cjs.TagColumnHeader,
|
|
33066
33066
|
{
|
|
33067
33067
|
isCentered: isCheckbox,
|
|
33068
33068
|
sort,
|
|
33069
33069
|
onSort: params.enableSorting ? (additive) => params.progressSort(additive) : void 0,
|
|
33070
|
-
filter: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33071
|
-
label: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33070
|
+
filter: /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.FilterButton, { params, colId: tag.external_id }),
|
|
33071
|
+
label: /* @__PURE__ */ jsxRuntime.jsx(chunkJXZM5ODS_cjs.ConnectedTagEntity, { tag, size: "sm" })
|
|
33072
33072
|
}
|
|
33073
33073
|
);
|
|
33074
33074
|
}
|
|
@@ -33153,7 +33153,7 @@ function createTagColumn({
|
|
|
33153
33153
|
tagColor,
|
|
33154
33154
|
isMember
|
|
33155
33155
|
} : void 0,
|
|
33156
|
-
cellEditor: isSelect ?
|
|
33156
|
+
cellEditor: isSelect ? chunkN7B5OAI5_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
|
|
33157
33157
|
cellEditorParams: isSelect ? createMultiSelectCellEditorParams(tag.tag_type.options || []) : isText ? { rows: 8, cols: 50 } : void 0,
|
|
33158
33158
|
cellEditorPopup: isText || isSelect,
|
|
33159
33159
|
// Text and Select tags use popup editor for better UX
|
|
@@ -33273,8 +33273,8 @@ function createDocumentColumns({
|
|
|
33273
33273
|
onToggleShared,
|
|
33274
33274
|
notify: notify19
|
|
33275
33275
|
}) {
|
|
33276
|
-
const isRowEditableByOwner = (params) =>
|
|
33277
|
-
const isRowEditableByMember = (params) =>
|
|
33276
|
+
const isRowEditableByOwner = (params) => chunkN7B5OAI5_cjs.canChangeVisibility(params.data, currentUserExtId);
|
|
33277
|
+
const isRowEditableByMember = (params) => chunkN7B5OAI5_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
|
|
33278
33278
|
const checkboxTags = availableTags.filter(browser.isLabelTag);
|
|
33279
33279
|
const allColumns = [];
|
|
33280
33280
|
allColumns.push({
|
|
@@ -33397,7 +33397,7 @@ function createDocumentColumns({
|
|
|
33397
33397
|
singleClickEdit: true,
|
|
33398
33398
|
cellEditor: "agSelectCellEditor",
|
|
33399
33399
|
cellEditorParams: {
|
|
33400
|
-
values: [...
|
|
33400
|
+
values: [...chunkN7B5OAI5_cjs.DOCUMENT_TYPE_OPTIONS]
|
|
33401
33401
|
},
|
|
33402
33402
|
context: { icon: lucideReact.Sparkles },
|
|
33403
33403
|
valueGetter: (params) => ui.getDocumentNature(params.data) || "",
|
|
@@ -33935,7 +33935,7 @@ function useDocumentTable({
|
|
|
33935
33935
|
}
|
|
33936
33936
|
const stabilizedTagIds = prevTagIdsRef.current;
|
|
33937
33937
|
const stabilizedTagNames = prevTagNamesRef.current;
|
|
33938
|
-
const defaultVisibleColumns = react$1.useMemo(() => [...
|
|
33938
|
+
const defaultVisibleColumns = react$1.useMemo(() => [...chunkN7B5OAI5_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
|
|
33939
33939
|
const toggleShared = react$1.useCallback((docId, shared) => {
|
|
33940
33940
|
updateDocRef.current.mutate({ documents: [{ external_id: docId, shared }] });
|
|
33941
33941
|
}, []);
|
|
@@ -34198,10 +34198,10 @@ function ConnectedFilesBulkActions({
|
|
|
34198
34198
|
const bulk = useDocumentBulkActions(selectedDocuments);
|
|
34199
34199
|
const count2 = selectedDocuments.length;
|
|
34200
34200
|
const noun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL");
|
|
34201
|
-
const shareState =
|
|
34201
|
+
const shareState = chunkN7B5OAI5_cjs.shareStateOf(bulk.freshSelectedDocuments);
|
|
34202
34202
|
const handleToggleShare = async (shouldShare) => {
|
|
34203
34203
|
if (shouldShare) return bulk.share();
|
|
34204
|
-
const confirmed = await
|
|
34204
|
+
const confirmed = await chunkN7B5OAI5_cjs.confirmHideFromMembers(
|
|
34205
34205
|
confirm,
|
|
34206
34206
|
bulk.freshSelectedDocuments.length,
|
|
34207
34207
|
members
|
|
@@ -34218,7 +34218,7 @@ function ConnectedFilesBulkActions({
|
|
|
34218
34218
|
const { openDocumentsChat, openFieldsManager } = actions;
|
|
34219
34219
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
34220
34220
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34221
|
-
|
|
34221
|
+
chunkN7B5OAI5_cjs.BulkActionsBar,
|
|
34222
34222
|
{
|
|
34223
34223
|
count: count2,
|
|
34224
34224
|
onClear: onClearSelection,
|
|
@@ -34244,7 +34244,7 @@ function ConnectedFilesBulkActions({
|
|
|
34244
34244
|
onDelete: () => setConfirming("delete"),
|
|
34245
34245
|
shareState,
|
|
34246
34246
|
shareLabels: shareState === "shared" ? { share: "Make private" } : void 0,
|
|
34247
|
-
shareTooltip:
|
|
34247
|
+
shareTooltip: chunkN7B5OAI5_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
|
|
34248
34248
|
onToggleShare: (shouldShare) => void handleToggleShare(shouldShare)
|
|
34249
34249
|
}
|
|
34250
34250
|
),
|
|
@@ -34259,7 +34259,7 @@ function ConnectedFilesBulkActions({
|
|
|
34259
34259
|
onClearSelection();
|
|
34260
34260
|
},
|
|
34261
34261
|
title: `Delete ${count2} ${noun}`,
|
|
34262
|
-
description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ?
|
|
34262
|
+
description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunkN7B5OAI5_cjs.RECENTLY_DELETED_HINT : chunkN7B5OAI5_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
|
|
34263
34263
|
confirmText: "Delete",
|
|
34264
34264
|
variant: "destructive"
|
|
34265
34265
|
}
|
|
@@ -34507,7 +34507,7 @@ function useAiReviewLiveUpdates() {
|
|
|
34507
34507
|
if (message.batch_type !== "doctag_generate") return;
|
|
34508
34508
|
const docIds = message.doc_ext_ids ?? [];
|
|
34509
34509
|
if (!docIds.length) return;
|
|
34510
|
-
void refreshDocuments(docIds).then(() =>
|
|
34510
|
+
void refreshDocuments(docIds).then(() => chunkLYDPVFNS_cjs.useAiReviewStore.getState().markFinished(docIds));
|
|
34511
34511
|
const { clearTask } = react.useArbiWsStore.getState();
|
|
34512
34512
|
for (const id of docIds) clearTask(id);
|
|
34513
34513
|
});
|
|
@@ -34542,7 +34542,7 @@ function useBatchCompleteToasts() {
|
|
|
34542
34542
|
timer.current = null;
|
|
34543
34543
|
const runs = pending.current;
|
|
34544
34544
|
pending.current = /* @__PURE__ */ new Map();
|
|
34545
|
-
const hasReview = !!
|
|
34545
|
+
const hasReview = !!chunkLYDPVFNS_cjs.useAiReviewStore.getState().run;
|
|
34546
34546
|
for (const [id, entry] of runs) {
|
|
34547
34547
|
const n = entry.docIds.size;
|
|
34548
34548
|
notify19(
|
|
@@ -34555,7 +34555,7 @@ function useBatchCompleteToasts() {
|
|
|
34555
34555
|
...hasReview && {
|
|
34556
34556
|
action: {
|
|
34557
34557
|
label: "View results",
|
|
34558
|
-
onClick: () =>
|
|
34558
|
+
onClick: () => chunkLYDPVFNS_cjs.useAiReviewStore.getState().setOpen(true)
|
|
34559
34559
|
}
|
|
34560
34560
|
}
|
|
34561
34561
|
}
|
|
@@ -34563,11 +34563,11 @@ function useBatchCompleteToasts() {
|
|
|
34563
34563
|
}
|
|
34564
34564
|
}, AI_FIELDS_NOTICE_WINDOW_MS);
|
|
34565
34565
|
} else if (message.batch_type === "entity_extract") {
|
|
34566
|
-
say(`${
|
|
34566
|
+
say(`${chunkSHGUTM42_cjs.entitiesPhrase()} extracted from ${chunkSHGUTM42_cjs.documentCount(docIds.length)}`, "success", {
|
|
34567
34567
|
...openTags && { action: { label: "View", onClick: openTags } }
|
|
34568
34568
|
});
|
|
34569
34569
|
} else if (message.batch_type === "upload") {
|
|
34570
|
-
if (!message.session_id) return;
|
|
34570
|
+
if (!message.session_id || message.upload_set_id) return;
|
|
34571
34571
|
const n = docIds.length;
|
|
34572
34572
|
say(`${n} document${n !== 1 ? "s" : ""} indexed successfully`, "success");
|
|
34573
34573
|
}
|
|
@@ -34602,12 +34602,12 @@ function ConnectedMoveToFolder({
|
|
|
34602
34602
|
setIsSubmitting(true);
|
|
34603
34603
|
try {
|
|
34604
34604
|
if (folderToMove) {
|
|
34605
|
-
const docsInFolder =
|
|
34605
|
+
const docsInFolder = chunkN7B5OAI5_cjs.collectFolderDocs(allDocs, folderToMove.path);
|
|
34606
34606
|
if (docsInFolder.length === 0) {
|
|
34607
34607
|
onClose();
|
|
34608
34608
|
return;
|
|
34609
34609
|
}
|
|
34610
|
-
const newPrefixSegments = targetFolder ? [...
|
|
34610
|
+
const newPrefixSegments = targetFolder ? [...chunkN7B5OAI5_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
|
|
34611
34611
|
await renameFolder(docsInFolder, folderToMove.path, newPrefixSegments);
|
|
34612
34612
|
const dest = targetFolder ? `"${targetFolder}/${folderToMove.name}"` : `"${folderToMove.name}" (root)`;
|
|
34613
34613
|
notify19(`Moved folder to ${dest}`, "success");
|
|
@@ -34632,9 +34632,9 @@ function ConnectedMoveToFolder({
|
|
|
34632
34632
|
}
|
|
34633
34633
|
};
|
|
34634
34634
|
const isFolderMode = !!folderToMove;
|
|
34635
|
-
const folders =
|
|
34635
|
+
const folders = chunkBT2QTDZ4_cjs.useDocumentFolders(allDocs, targetFolder);
|
|
34636
34636
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
34637
|
-
|
|
34637
|
+
chunkN7B5OAI5_cjs.MoveToFolderDialog,
|
|
34638
34638
|
{
|
|
34639
34639
|
open: isOpen,
|
|
34640
34640
|
onClose,
|
|
@@ -34644,7 +34644,7 @@ function ConnectedMoveToFolder({
|
|
|
34644
34644
|
isSubmitting,
|
|
34645
34645
|
onConfirm: handleMove,
|
|
34646
34646
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34647
|
-
|
|
34647
|
+
chunkN7B5OAI5_cjs.FolderCommandList,
|
|
34648
34648
|
{
|
|
34649
34649
|
folders,
|
|
34650
34650
|
value: targetFolder,
|
|
@@ -34872,7 +34872,7 @@ function ConnectedBulkTagEditor({
|
|
|
34872
34872
|
const isClearing = change?.action === "remove";
|
|
34873
34873
|
return {
|
|
34874
34874
|
id: tag.external_id,
|
|
34875
|
-
badge: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34875
|
+
badge: /* @__PURE__ */ jsxRuntime.jsx(chunkJXZM5ODS_cjs.ConnectedTagEntity, { tag, size: "md" }),
|
|
34876
34876
|
type: tag.tag_type.type,
|
|
34877
34877
|
color: ui.getEntityColor(tag.external_id, "medium"),
|
|
34878
34878
|
options: tag.tag_type.type === "select" ? tag.tag_type.options : void 0,
|
|
@@ -34904,7 +34904,7 @@ function ConnectedBulkTagEditor({
|
|
|
34904
34904
|
const documentsLabel = ui.getEntityLabel("DOCUMENT", "PLURAL").toLowerCase();
|
|
34905
34905
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
34906
34906
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34907
|
-
|
|
34907
|
+
chunkN7B5OAI5_cjs.BulkTagEditorDialog,
|
|
34908
34908
|
{
|
|
34909
34909
|
open,
|
|
34910
34910
|
onClose,
|
|
@@ -34962,7 +34962,7 @@ function ConnectedBulkTagEditor({
|
|
|
34962
34962
|
}
|
|
34963
34963
|
),
|
|
34964
34964
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34965
|
-
|
|
34965
|
+
chunkN7B5OAI5_cjs.BulkReplaceDialog,
|
|
34966
34966
|
{
|
|
34967
34967
|
open: showGenerateConfirmation,
|
|
34968
34968
|
onClose: () => setShowGenerateConfirmation(false),
|
|
@@ -35077,7 +35077,7 @@ function ViewSelector({
|
|
|
35077
35077
|
columns: defaultColumns,
|
|
35078
35078
|
icon: lucideReact.Table,
|
|
35079
35079
|
// Both built-ins load at the minimal (compact) row height.
|
|
35080
|
-
rowHeight:
|
|
35080
|
+
rowHeight: chunkN7B5OAI5_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
35081
35081
|
// [] = loading this view unpins everything.
|
|
35082
35082
|
pinnedLeft: []
|
|
35083
35083
|
},
|
|
@@ -35088,15 +35088,15 @@ function ViewSelector({
|
|
|
35088
35088
|
// batch-select checkbox and Title stay fixed left while scrolling.
|
|
35089
35089
|
columns: defaultColumns,
|
|
35090
35090
|
icon: lucideReact.Columns3,
|
|
35091
|
-
rowHeight:
|
|
35091
|
+
rowHeight: chunkN7B5OAI5_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
35092
35092
|
pinnedLeft: DOCUMENT_VIEW_PINNED
|
|
35093
35093
|
},
|
|
35094
35094
|
{
|
|
35095
35095
|
key: "email-default",
|
|
35096
35096
|
label: "Email view",
|
|
35097
|
-
columns: [...
|
|
35097
|
+
columns: [...chunkN7B5OAI5_cjs.EMAIL_VIEW_COLUMNS],
|
|
35098
35098
|
icon: lucideReact.Mail,
|
|
35099
|
-
rowHeight:
|
|
35099
|
+
rowHeight: chunkN7B5OAI5_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
35100
35100
|
pinnedLeft: []
|
|
35101
35101
|
}
|
|
35102
35102
|
],
|
|
@@ -35120,7 +35120,7 @@ function ViewSelector({
|
|
|
35120
35120
|
},
|
|
35121
35121
|
[confirm, workspaceId, deleteView, notify19]
|
|
35122
35122
|
);
|
|
35123
|
-
const menu =
|
|
35123
|
+
const menu = chunkN7B5OAI5_cjs.useGridViews({
|
|
35124
35124
|
getGridApi,
|
|
35125
35125
|
defaultColumns,
|
|
35126
35126
|
builtins,
|
|
@@ -35135,7 +35135,7 @@ function ViewSelector({
|
|
|
35135
35135
|
onDeleteView,
|
|
35136
35136
|
isSaving
|
|
35137
35137
|
});
|
|
35138
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
35138
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.ViewSelectorMenu, { ...menu });
|
|
35139
35139
|
}
|
|
35140
35140
|
function DocumentsFilterBarActions({
|
|
35141
35141
|
isModal,
|
|
@@ -35175,7 +35175,7 @@ function DocumentsFilterBarActions({
|
|
|
35175
35175
|
),
|
|
35176
35176
|
documentsViewMode === "grid" && // The phone list is a fixed two-line layout, so row density only applies from sm up.
|
|
35177
35177
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden sm:block", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35178
|
-
|
|
35178
|
+
chunkN7B5OAI5_cjs.RowDensityControl,
|
|
35179
35179
|
{
|
|
35180
35180
|
rowHeight: documentsRowHeight,
|
|
35181
35181
|
onRowHeightChange: onDocumentsRowHeightChange
|
|
@@ -35272,8 +35272,8 @@ function DocumentsFilterBarActions({
|
|
|
35272
35272
|
}
|
|
35273
35273
|
function PersistedGridView(props) {
|
|
35274
35274
|
const { persistState, gridId } = props;
|
|
35275
|
-
const setGridState =
|
|
35276
|
-
const gridState = persistState && gridId ?
|
|
35275
|
+
const setGridState = chunkLYDPVFNS_cjs.useFilesGridStates((state) => state.setGridState);
|
|
35276
|
+
const gridState = persistState && gridId ? chunkLYDPVFNS_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
|
|
35277
35277
|
const onGridStateChange = react$1.useCallback(
|
|
35278
35278
|
(state) => {
|
|
35279
35279
|
if (persistState && gridId) setGridState(gridId, state);
|
|
@@ -35375,13 +35375,13 @@ var TABLET_TABLE_BELOW = 860;
|
|
|
35375
35375
|
var TABLET_VIEWPORT_BELOW = 1100;
|
|
35376
35376
|
var NO_CONVERSATION_DOCUMENTS2 = [];
|
|
35377
35377
|
var DocumentReviewCard = react$1.lazy(
|
|
35378
|
-
() => import('../DocumentReviewCard-
|
|
35378
|
+
() => import('../DocumentReviewCard-NZCGQ7SH.cjs').then((module) => ({ default: module.DocumentReviewCard }))
|
|
35379
35379
|
);
|
|
35380
35380
|
var FilesViewerDialog = react$1.lazy(
|
|
35381
|
-
() => import('../FilesViewerDialog-
|
|
35381
|
+
() => import('../FilesViewerDialog-NKDVTI6H.cjs').then((module) => ({ default: module.FilesViewerDialog }))
|
|
35382
35382
|
);
|
|
35383
35383
|
function defaultReviewCard(props) {
|
|
35384
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35384
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkSHGUTM42_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
|
|
35385
35385
|
}
|
|
35386
35386
|
function ConnectedFilesPage({
|
|
35387
35387
|
isModal = false,
|
|
@@ -35403,7 +35403,7 @@ function ConnectedFilesPage({
|
|
|
35403
35403
|
GridComponent = PersistedGridView,
|
|
35404
35404
|
gridStateVersion,
|
|
35405
35405
|
onGridApi,
|
|
35406
|
-
prefsKey =
|
|
35406
|
+
prefsKey = chunkLYDPVFNS_cjs.FILES_PREFS_KEY,
|
|
35407
35407
|
defaultViewMode
|
|
35408
35408
|
}) {
|
|
35409
35409
|
const { openDocument, openDialog: openDialog2, openProcessing, openTags } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
@@ -35449,8 +35449,8 @@ function ConnectedFilesPage({
|
|
|
35449
35449
|
const inConversationDocuments = react.useArbiSessionState(
|
|
35450
35450
|
(s) => s.conversationDocuments[s.conversationId ?? "new"] ?? NO_CONVERSATION_DOCUMENTS2
|
|
35451
35451
|
);
|
|
35452
|
-
const viewMode =
|
|
35453
|
-
const setPrefsViewMode =
|
|
35452
|
+
const viewMode = chunkLYDPVFNS_cjs.useFilesPrefs((s) => chunkLYDPVFNS_cjs.filesViewMode(s, prefsKey, defaultViewMode));
|
|
35453
|
+
const setPrefsViewMode = chunkLYDPVFNS_cjs.useFilesPrefs((s) => s.setViewMode);
|
|
35454
35454
|
const setViewMode = react$1.useCallback(
|
|
35455
35455
|
(mode) => setPrefsViewMode(mode, prefsKey),
|
|
35456
35456
|
[setPrefsViewMode, prefsKey]
|
|
@@ -35480,7 +35480,7 @@ function ConnectedFilesPage({
|
|
|
35480
35480
|
shownPlaceRef.current = null;
|
|
35481
35481
|
if (session.getState().documentViewer.compareId)
|
|
35482
35482
|
session.setDocumentViewer({ compareId: null });
|
|
35483
|
-
if (
|
|
35483
|
+
if (chunkLYDPVFNS_cjs.filesViewMode(chunkLYDPVFNS_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
|
|
35484
35484
|
session.setViewingDocument(null);
|
|
35485
35485
|
if (!fromLink) latest.current.onDocumentChange?.(null);
|
|
35486
35486
|
},
|
|
@@ -35569,9 +35569,9 @@ function ConnectedFilesPage({
|
|
|
35569
35569
|
else if (linkedPlaceKey !== shownPlaceRef.current) showInDialog(place, true);
|
|
35570
35570
|
} else if (previous && ownsViewer && shownPlaceRef.current) closeDialog2(true);
|
|
35571
35571
|
}, [linkedPlaceKey]);
|
|
35572
|
-
const rowHeight =
|
|
35573
|
-
const setRowHeight =
|
|
35574
|
-
const ownGridStates =
|
|
35572
|
+
const rowHeight = chunkLYDPVFNS_cjs.useFilesPrefs((s) => s.rowHeight);
|
|
35573
|
+
const setRowHeight = chunkLYDPVFNS_cjs.useFilesPrefs((s) => s.setRowHeight);
|
|
35574
|
+
const ownGridStates = chunkLYDPVFNS_cjs.useFilesGridStates((s) => s.gridStates);
|
|
35575
35575
|
const stateVersion = gridStateVersion ?? ownGridStates;
|
|
35576
35576
|
const [pageEl, setPageEl] = react$1.useState(null);
|
|
35577
35577
|
const [isTabletWidth, setIsTabletWidth] = react$1.useState(false);
|
|
@@ -35601,15 +35601,15 @@ function ConnectedFilesPage({
|
|
|
35601
35601
|
const [explorerSortReversed, setExplorerSortReversed] = react$1.useState(false);
|
|
35602
35602
|
const [explorerTileSize, setExplorerTileSize] = react$1.useState(TILE_DEFAULT);
|
|
35603
35603
|
const [urlDialogOpen, setUrlDialogOpen] = react$1.useState(false);
|
|
35604
|
-
const move =
|
|
35605
|
-
const openMove =
|
|
35606
|
-
const closeMove =
|
|
35607
|
-
const bulkTagsOpen =
|
|
35608
|
-
const setBulkTagsOpen =
|
|
35609
|
-
const deleteRequest =
|
|
35610
|
-
const requestDelete =
|
|
35611
|
-
const exportOpen =
|
|
35612
|
-
const setExportOpen =
|
|
35604
|
+
const move = chunkLYDPVFNS_cjs.useFilesDialogs((s) => s.move);
|
|
35605
|
+
const openMove = chunkLYDPVFNS_cjs.useFilesDialogs((s) => s.openMove);
|
|
35606
|
+
const closeMove = chunkLYDPVFNS_cjs.useFilesDialogs((s) => s.closeMove);
|
|
35607
|
+
const bulkTagsOpen = chunkLYDPVFNS_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
|
|
35608
|
+
const setBulkTagsOpen = chunkLYDPVFNS_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
|
|
35609
|
+
const deleteRequest = chunkLYDPVFNS_cjs.useFilesDialogs((s) => s.deleteRequest);
|
|
35610
|
+
const requestDelete = chunkLYDPVFNS_cjs.useFilesDialogs((s) => s.requestDelete);
|
|
35611
|
+
const exportOpen = chunkLYDPVFNS_cjs.useFilesDialogs((s) => s.exportOpen);
|
|
35612
|
+
const setExportOpen = chunkLYDPVFNS_cjs.useFilesDialogs((s) => s.setExportOpen);
|
|
35613
35613
|
const openOwnExport = react$1.useCallback(() => setExportOpen(true), [setExportOpen]);
|
|
35614
35614
|
const exportItems = react$1.useMemo(
|
|
35615
35615
|
() => selectedDocuments.map((doc) => ({
|
|
@@ -35652,17 +35652,17 @@ function ConnectedFilesPage({
|
|
|
35652
35652
|
const relatedDocsMap = useFilesPageSession(documents, workspaceId);
|
|
35653
35653
|
const defaultVisibleColumns = react$1.useMemo(
|
|
35654
35654
|
() => [
|
|
35655
|
-
...
|
|
35655
|
+
...chunkN7B5OAI5_cjs.DEFAULT_DOCUMENT_COLUMNS,
|
|
35656
35656
|
...allTags.filter(browser.isAnnotationTag).map((tag) => tag.external_id)
|
|
35657
35657
|
],
|
|
35658
35658
|
[allTags]
|
|
35659
35659
|
);
|
|
35660
35660
|
const handleReorderColumns = react$1.useCallback((ids, gridApi2) => {
|
|
35661
|
-
if (gridApi2)
|
|
35661
|
+
if (gridApi2) chunkN7B5OAI5_cjs.applyColumnLayout(gridApi2, ids);
|
|
35662
35662
|
}, []);
|
|
35663
35663
|
const handleLoadView = react$1.useCallback(
|
|
35664
35664
|
(view, gridApi2) => {
|
|
35665
|
-
|
|
35665
|
+
chunkN7B5OAI5_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
|
|
35666
35666
|
if (typeof view.tile_size === "number") setExplorerTileSize(view.tile_size);
|
|
35667
35667
|
if (typeof view.row_height === "number") setRowHeight(view.row_height);
|
|
35668
35668
|
},
|
|
@@ -35754,7 +35754,7 @@ function ConnectedFilesPage({
|
|
|
35754
35754
|
);
|
|
35755
35755
|
const currentDocument = viewingDocumentId ? filteredDocuments.find((d) => d.external_id === viewingDocumentId) ?? documents.find((d) => d.external_id === viewingDocumentId) ?? null : null;
|
|
35756
35756
|
const navigatorDocuments = react$1.useMemo(
|
|
35757
|
-
() =>
|
|
35757
|
+
() => chunkN7B5OAI5_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
|
|
35758
35758
|
[filteredDocuments, explorerSort, explorerSortReversed]
|
|
35759
35759
|
);
|
|
35760
35760
|
const navigatorOnNavigate = react$1.useCallback(
|
|
@@ -35824,7 +35824,7 @@ function ConnectedFilesPage({
|
|
|
35824
35824
|
},
|
|
35825
35825
|
rowHeight
|
|
35826
35826
|
};
|
|
35827
|
-
const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
35827
|
+
const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.FilesFilterBar, { children: [
|
|
35828
35828
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35829
35829
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
35830
35830
|
{
|
|
@@ -35859,7 +35859,7 @@ function ConnectedFilesPage({
|
|
|
35859
35859
|
),
|
|
35860
35860
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
35861
35861
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35862
|
-
|
|
35862
|
+
chunkN7B5OAI5_cjs.DocumentsFolderButton,
|
|
35863
35863
|
{
|
|
35864
35864
|
documents,
|
|
35865
35865
|
documentFilters,
|
|
@@ -35867,7 +35867,7 @@ function ConnectedFilesPage({
|
|
|
35867
35867
|
onNewFolder: canUpload ? handleNewFolder : void 0
|
|
35868
35868
|
}
|
|
35869
35869
|
),
|
|
35870
|
-
openTags && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35870
|
+
openTags && /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.FilesTagsButton, { onClick: openTags }),
|
|
35871
35871
|
workspaceId && /* @__PURE__ */ jsxRuntime.jsx(ConnectedRecentlyDeletedButton, { workspaceExtId: workspaceId })
|
|
35872
35872
|
] })
|
|
35873
35873
|
] });
|
|
@@ -35890,9 +35890,9 @@ function ConnectedFilesPage({
|
|
|
35890
35890
|
);
|
|
35891
35891
|
const reviewGridId = isModal ? "documents-modal-grid-v6" : "documents-main-grid-v6";
|
|
35892
35892
|
const showBulkBar = (viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator") && documents.length > 0;
|
|
35893
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
35893
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.FilesPage, { isModal, ref: setPageEl, children: [
|
|
35894
35894
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35895
|
-
|
|
35895
|
+
chunkN7B5OAI5_cjs.UrlInputDialog,
|
|
35896
35896
|
{
|
|
35897
35897
|
open: urlDialogOpen,
|
|
35898
35898
|
onOpenChange: setUrlDialogOpen,
|
|
@@ -35901,7 +35901,7 @@ function ConnectedFilesPage({
|
|
|
35901
35901
|
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
|
|
35902
35902
|
}
|
|
35903
35903
|
),
|
|
35904
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
35904
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.FilesPageHeader, { children: [
|
|
35905
35905
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35906
35906
|
chunkSJSGSHIT_cjs.TabHeader,
|
|
35907
35907
|
{
|
|
@@ -35922,7 +35922,7 @@ function ConnectedFilesPage({
|
|
|
35922
35922
|
activeTabId: "documents",
|
|
35923
35923
|
onTabChange: () => handleViewModeChange(lastDocsViewRef.current),
|
|
35924
35924
|
firstTabContent: isNarrowFilterRow ? null : documentsTabActions,
|
|
35925
|
-
centerContent: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
35925
|
+
centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
|
|
35926
35926
|
!isNarrowFilterRow && viewToggle,
|
|
35927
35927
|
/* @__PURE__ */ jsxRuntime.jsx(ProgressiveLoadingChip, {})
|
|
35928
35928
|
] }),
|
|
@@ -35952,14 +35952,14 @@ function ConnectedFilesPage({
|
|
|
35952
35952
|
}
|
|
35953
35953
|
),
|
|
35954
35954
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35955
|
-
|
|
35955
|
+
chunkN7B5OAI5_cjs.FilesToolbar,
|
|
35956
35956
|
{
|
|
35957
35957
|
className: "px-3 pb-2",
|
|
35958
35958
|
rightActions: viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
35959
35959
|
viewMode === "grid" ? (
|
|
35960
35960
|
// ‹ n / N › over the table's displayed rows; a step opens the document.
|
|
35961
35961
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35962
|
-
|
|
35962
|
+
chunkSHGUTM42_cjs.GridRowNavigator,
|
|
35963
35963
|
{
|
|
35964
35964
|
gridApi,
|
|
35965
35965
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -35974,7 +35974,7 @@ function ConnectedFilesPage({
|
|
|
35974
35974
|
) : viewMode === "explorer" ? (
|
|
35975
35975
|
// The same over the explorer's tiles.
|
|
35976
35976
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35977
|
-
|
|
35977
|
+
chunkN7B5OAI5_cjs.ExplorerFileNavigator,
|
|
35978
35978
|
{
|
|
35979
35979
|
fileIds: explorerFileIds,
|
|
35980
35980
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -36013,7 +36013,7 @@ function ConnectedFilesPage({
|
|
|
36013
36013
|
}
|
|
36014
36014
|
),
|
|
36015
36015
|
viewMode === "navigator" && currentDocument && /* @__PURE__ */ jsxRuntime.jsx(
|
|
36016
|
-
|
|
36016
|
+
chunkN7B5OAI5_cjs.NavigatorPickerBar,
|
|
36017
36017
|
{
|
|
36018
36018
|
currentDocument,
|
|
36019
36019
|
documents: navigatorDocuments,
|
|
@@ -36040,11 +36040,11 @@ function ConnectedFilesPage({
|
|
|
36040
36040
|
}
|
|
36041
36041
|
}
|
|
36042
36042
|
) }),
|
|
36043
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
36043
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkN7B5OAI5_cjs.FilesPageMain, { children: [
|
|
36044
36044
|
viewMode === "grid" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
36045
|
-
|
|
36045
|
+
chunkN7B5OAI5_cjs.DocumentGrid,
|
|
36046
36046
|
{
|
|
36047
|
-
layout:
|
|
36047
|
+
layout: chunkN7B5OAI5_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
|
|
36048
36048
|
presets: gridPresets,
|
|
36049
36049
|
GridComponent,
|
|
36050
36050
|
showEmptyWorkspace: documents.length === 0 && !isLoading && isMember,
|
|
@@ -36138,7 +36138,7 @@ function ConnectedFilesPage({
|
|
|
36138
36138
|
onProduce: () => openDialog2("productionSet")
|
|
36139
36139
|
}
|
|
36140
36140
|
),
|
|
36141
|
-
isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(
|
|
36141
|
+
isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
|
|
36142
36142
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36143
36143
|
chunkYZBDHBKI_cjs.ConfirmDialog,
|
|
36144
36144
|
{
|
|
@@ -36149,7 +36149,7 @@ function ConnectedFilesPage({
|
|
|
36149
36149
|
requestDelete(null);
|
|
36150
36150
|
},
|
|
36151
36151
|
title: "Delete Document",
|
|
36152
|
-
description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${
|
|
36152
|
+
description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunkN7B5OAI5_cjs.RECENTLY_DELETED_HINT}` : "",
|
|
36153
36153
|
confirmText: "Delete",
|
|
36154
36154
|
variant: "destructive"
|
|
36155
36155
|
}
|
|
@@ -36225,8 +36225,8 @@ function ConnectedFilesPage({
|
|
|
36225
36225
|
}
|
|
36226
36226
|
var NO_DOCUMENTS3 = [];
|
|
36227
36227
|
function ConnectedAiReviewHost(props) {
|
|
36228
|
-
const open =
|
|
36229
|
-
const setOpen =
|
|
36228
|
+
const open = chunkLYDPVFNS_cjs.useAiReviewStore((s) => s.open);
|
|
36229
|
+
const setOpen = chunkLYDPVFNS_cjs.useAiReviewStore((s) => s.setOpen);
|
|
36230
36230
|
return /* @__PURE__ */ jsxRuntime.jsx(ConnectedAiReview, { open, onOpenChange: setOpen, ...props });
|
|
36231
36231
|
}
|
|
36232
36232
|
function ConnectedGridView(props) {
|
|
@@ -36262,7 +36262,7 @@ function ProcessingSection({
|
|
|
36262
36262
|
tasks,
|
|
36263
36263
|
onDelete
|
|
36264
36264
|
}) {
|
|
36265
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
36265
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
|
|
36266
36266
|
}
|
|
36267
36267
|
function ConnectedDocumentProcessingPanel({
|
|
36268
36268
|
workspaceId,
|
|
@@ -36618,7 +36618,7 @@ var MENU_LABELS = {
|
|
|
36618
36618
|
};
|
|
36619
36619
|
function applyDatabaseColumns(columns, api) {
|
|
36620
36620
|
const kept = (id) => api.getColumn(id) ? [id] : [];
|
|
36621
|
-
|
|
36621
|
+
chunkN7B5OAI5_cjs.applyColumnLayout(api, [...kept(chunkPIYYBPHH_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunkPIYYBPHH_cjs.ADD_COLUMN_COL_ID)]);
|
|
36622
36622
|
}
|
|
36623
36623
|
function DatabaseViewsMenu({
|
|
36624
36624
|
databaseId,
|
|
@@ -36637,7 +36637,7 @@ function DatabaseViewsMenu({
|
|
|
36637
36637
|
[defaultColumns]
|
|
36638
36638
|
);
|
|
36639
36639
|
const onLoadView = react$1.useCallback(
|
|
36640
|
-
(view, api) =>
|
|
36640
|
+
(view, api) => chunkN7B5OAI5_cjs.applyViewColumns(api, view, applyDatabaseColumns),
|
|
36641
36641
|
[]
|
|
36642
36642
|
);
|
|
36643
36643
|
const onSaveView = react$1.useCallback(
|
|
@@ -36657,7 +36657,7 @@ function DatabaseViewsMenu({
|
|
|
36657
36657
|
},
|
|
36658
36658
|
[confirm, deleteView, notify19]
|
|
36659
36659
|
);
|
|
36660
|
-
const menu =
|
|
36660
|
+
const menu = chunkN7B5OAI5_cjs.useGridViews({
|
|
36661
36661
|
getGridApi,
|
|
36662
36662
|
defaultColumns,
|
|
36663
36663
|
builtins,
|
|
@@ -36670,7 +36670,7 @@ function DatabaseViewsMenu({
|
|
|
36670
36670
|
onDeleteView,
|
|
36671
36671
|
isSaving
|
|
36672
36672
|
});
|
|
36673
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
36673
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
|
|
36674
36674
|
}
|
|
36675
36675
|
function useMoveLocalViews(gridId, ready, importViews) {
|
|
36676
36676
|
const localViews = react.useArbiSessionState((state) => state.grid.savedViews[gridId]);
|
|
@@ -38435,10 +38435,10 @@ var FreshChatModel = () => (useFreshChatModel(), null);
|
|
|
38435
38435
|
var WorkspaceOpenMetrics = ({ measure }) => (useWorkspaceOpenMetrics(measure), null);
|
|
38436
38436
|
var Prefetch = ({ loaders }) => (usePrefetchChunks(loaders), null);
|
|
38437
38437
|
function GuidedRuns() {
|
|
38438
|
-
|
|
38438
|
+
chunkSS7IYHLK_cjs.useRemoteControlSessionReset();
|
|
38439
38439
|
const { cursorMark } = chunkNZNBJF3M_cjs.useGuidedRuns();
|
|
38440
38440
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
38441
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38441
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkSHGUTM42_cjs.GuidedCursor, { markSrc: cursorMark }),
|
|
38442
38442
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedRemoteControlConsent, {})
|
|
38443
38443
|
] });
|
|
38444
38444
|
}
|
|
@@ -38472,7 +38472,7 @@ function ConnectedAppRuntime({
|
|
|
38472
38472
|
on("pageTransition") && /* @__PURE__ */ jsxRuntime.jsx(PageTransition, {}),
|
|
38473
38473
|
on("freshChatModel") && /* @__PURE__ */ jsxRuntime.jsx(FreshChatModel, {}),
|
|
38474
38474
|
on("workspaceOpenMetrics") && measure && /* @__PURE__ */ jsxRuntime.jsx(WorkspaceOpenMetrics, { measure }),
|
|
38475
|
-
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...
|
|
38475
|
+
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...chunkSHGUTM42_cjs.KIT_CHUNK_LOADERS] }),
|
|
38476
38476
|
on("guidedRuns") && /* @__PURE__ */ jsxRuntime.jsx(GuidedRuns, {})
|
|
38477
38477
|
] });
|
|
38478
38478
|
}
|
|
@@ -38937,7 +38937,7 @@ async function renderAnnotatedScreenshot(image, marks, text) {
|
|
|
38937
38937
|
)
|
|
38938
38938
|
);
|
|
38939
38939
|
}
|
|
38940
|
-
return
|
|
38940
|
+
return chunkSS7IYHLK_cjs.canvasToBlob(canvas);
|
|
38941
38941
|
}
|
|
38942
38942
|
function ReportProblemDialog({
|
|
38943
38943
|
open,
|
|
@@ -39231,7 +39231,7 @@ function ReportProblemDialog({
|
|
|
39231
39231
|
hidden: ticketId !== null,
|
|
39232
39232
|
children: [
|
|
39233
39233
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "No screenshot attached." }),
|
|
39234
|
-
|
|
39234
|
+
chunkSS7IYHLK_cjs.canCaptureScreen() ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { size: "sm", variant: "outline", onClick: onRetake, "data-testid": "report-retake", children: [
|
|
39235
39235
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Camera, { className: "mr-1 size-4" }),
|
|
39236
39236
|
" Take a screenshot"
|
|
39237
39237
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "inline-flex cursor-pointer items-center gap-1 font-medium text-primary", children: [
|
|
@@ -39295,10 +39295,10 @@ function useReportProblem(options = {}) {
|
|
|
39295
39295
|
setPhase("capturing");
|
|
39296
39296
|
await new Promise((resolve) => window.setTimeout(resolve, 200));
|
|
39297
39297
|
try {
|
|
39298
|
-
setFrame(await
|
|
39298
|
+
setFrame(await chunkSS7IYHLK_cjs.captureCurrentTab());
|
|
39299
39299
|
setImage(null);
|
|
39300
39300
|
} catch (error) {
|
|
39301
|
-
const code = error instanceof
|
|
39301
|
+
const code = error instanceof chunkSS7IYHLK_cjs.ScreenCaptureError ? error.code : "failed";
|
|
39302
39302
|
if (code === "failed") {
|
|
39303
39303
|
notify19("Couldn't capture the screen. You can still describe the problem.", "error");
|
|
39304
39304
|
}
|
|
@@ -40238,7 +40238,7 @@ function resolveLaunchInputs(workflow, request) {
|
|
|
40238
40238
|
function useWorkflowLaunch() {
|
|
40239
40239
|
const { skills } = chunkRJE6KXJQ_cjs.useWorkflowDefinitions();
|
|
40240
40240
|
const launch = react$1.useCallback(
|
|
40241
|
-
(workflowId, options = {}) =>
|
|
40241
|
+
(workflowId, options = {}) => chunkCKKODA5B_cjs.openWorkflowLaunch({ workflowId, ...options }),
|
|
40242
40242
|
[]
|
|
40243
40243
|
);
|
|
40244
40244
|
const itemsFor = react$1.useCallback(
|
|
@@ -40267,8 +40267,8 @@ function useWorkflowLaunch() {
|
|
|
40267
40267
|
return { launch, itemsFor, scopeItemsFor };
|
|
40268
40268
|
}
|
|
40269
40269
|
function Inner() {
|
|
40270
|
-
const request =
|
|
40271
|
-
const close =
|
|
40270
|
+
const request = chunkCKKODA5B_cjs.useWorkflowLaunchRequest();
|
|
40271
|
+
const close = chunkCKKODA5B_cjs.closeWorkflowLaunch;
|
|
40272
40272
|
const { skills } = chunkRJE6KXJQ_cjs.useWorkflowDefinitions();
|
|
40273
40273
|
const run = chunk6JI4AXAY_cjs.useLaunchWorkflow({ landing: request?.landing });
|
|
40274
40274
|
const workflow = skills.find((w) => w.id === request?.workflowId);
|
|
@@ -40306,7 +40306,7 @@ function Inner() {
|
|
|
40306
40306
|
);
|
|
40307
40307
|
}
|
|
40308
40308
|
function WorkflowLaunchHost() {
|
|
40309
|
-
return
|
|
40309
|
+
return chunkCKKODA5B_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
|
|
40310
40310
|
}
|
|
40311
40311
|
function isNeedsConfirmationDetail(detail) {
|
|
40312
40312
|
return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
|
|
@@ -40615,7 +40615,7 @@ function ConnectedConversationSettings() {
|
|
|
40615
40615
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40616
40616
|
chunkPA7YEXL3_cjs.ModelSelectionSection,
|
|
40617
40617
|
{
|
|
40618
|
-
selector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
40618
|
+
selector: /* @__PURE__ */ jsxRuntime.jsx(chunkSS7IYHLK_cjs.ConnectedModelSelector, {}),
|
|
40619
40619
|
onUseDefaults: settings.resetToDefaults
|
|
40620
40620
|
}
|
|
40621
40621
|
)
|
|
@@ -40674,7 +40674,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
|
|
|
40674
40674
|
testId: "workspace-transfer-modal"
|
|
40675
40675
|
}
|
|
40676
40676
|
),
|
|
40677
|
-
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
40677
|
+
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkSS7IYHLK_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
|
|
40678
40678
|
conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
|
|
40679
40679
|
unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
|
|
40680
40680
|
productionSet: ConnectedProductionSetDialog,
|
|
@@ -40754,7 +40754,7 @@ function WorkflowRunStatusCell({ conversation }) {
|
|
|
40754
40754
|
return person ? ui.getUserDisplayName(person) : void 0;
|
|
40755
40755
|
};
|
|
40756
40756
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40757
|
-
|
|
40757
|
+
chunkCKKODA5B_cjs.WorkflowRunStatus,
|
|
40758
40758
|
{
|
|
40759
40759
|
steps,
|
|
40760
40760
|
states,
|
|
@@ -40788,7 +40788,7 @@ function ConversationStatusCell({ conversation }) {
|
|
|
40788
40788
|
if (conversation.plan?.steps?.length && !isLiveGenerating)
|
|
40789
40789
|
return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
|
|
40790
40790
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
40791
|
-
|
|
40791
|
+
chunkCKKODA5B_cjs.ThreadStatusLine,
|
|
40792
40792
|
{
|
|
40793
40793
|
state: threadStateOf(conversation, isLiveGenerating),
|
|
40794
40794
|
className: "h-full",
|
|
@@ -41057,7 +41057,7 @@ function useThreadLabels(canEditShared) {
|
|
|
41057
41057
|
return {
|
|
41058
41058
|
labelText: (row2) => labels.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
41059
41059
|
renderLabels: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
41060
|
-
|
|
41060
|
+
chunkN7B5OAI5_cjs.LabelMultiSelectView,
|
|
41061
41061
|
{
|
|
41062
41062
|
options,
|
|
41063
41063
|
appliedIds: new Set(row2.label_ext_ids ?? []),
|
|
@@ -41076,7 +41076,7 @@ function useThreadLabels(canEditShared) {
|
|
|
41076
41076
|
).map((label) => label.id)
|
|
41077
41077
|
);
|
|
41078
41078
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41079
|
-
|
|
41079
|
+
chunkN7B5OAI5_cjs.BulkLabelSelectView,
|
|
41080
41080
|
{
|
|
41081
41081
|
options,
|
|
41082
41082
|
appliedIds: all,
|
|
@@ -41107,7 +41107,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
41107
41107
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkF6CEPWIF_cjs.ComposerDock, { children: [
|
|
41108
41108
|
slashWorkflows.launcher,
|
|
41109
41109
|
/* @__PURE__ */ jsxRuntime.jsx(chunkF6CEPWIF_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
41110
|
-
|
|
41110
|
+
chunkSS7IYHLK_cjs.ConversationComposer,
|
|
41111
41111
|
{
|
|
41112
41112
|
value: draft,
|
|
41113
41113
|
onValueChange: setDraft,
|
|
@@ -41116,7 +41116,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
41116
41116
|
isConversationEmpty: true,
|
|
41117
41117
|
shouldOfferFollowUp: false,
|
|
41118
41118
|
skills,
|
|
41119
|
-
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
41119
|
+
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkSS7IYHLK_cjs.ConnectedModelSelector, { variant: "compact" }),
|
|
41120
41120
|
rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunkF6CEPWIF_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
|
|
41121
41121
|
}
|
|
41122
41122
|
) })
|
|
@@ -41247,7 +41247,7 @@ function AgentBarShell({
|
|
|
41247
41247
|
}, [isStepsExpanded, steps]);
|
|
41248
41248
|
const visibleStepCount = react$1.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
|
|
41249
41249
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41250
|
-
|
|
41250
|
+
chunkCKKODA5B_cjs.AgentBar,
|
|
41251
41251
|
{
|
|
41252
41252
|
className,
|
|
41253
41253
|
testId,
|
|
@@ -41259,7 +41259,7 @@ function AgentBarShell({
|
|
|
41259
41259
|
drawerRef: scrollRef,
|
|
41260
41260
|
onDrawerScroll: handleDrawerScroll,
|
|
41261
41261
|
drawer: /* @__PURE__ */ jsxRuntime.jsx(
|
|
41262
|
-
|
|
41262
|
+
chunkSS7IYHLK_cjs.AgentSteps,
|
|
41263
41263
|
{
|
|
41264
41264
|
steps: stepList,
|
|
41265
41265
|
isStreaming,
|
|
@@ -41311,7 +41311,7 @@ function AgentControlBar({
|
|
|
41311
41311
|
const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
|
|
41312
41312
|
const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
|
|
41313
41313
|
const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41314
|
-
|
|
41314
|
+
chunkSS7IYHLK_cjs.MessageLiveSeconds,
|
|
41315
41315
|
{
|
|
41316
41316
|
...liveTimer,
|
|
41317
41317
|
offsetSeconds: currentStep?.t ?? 0,
|
|
@@ -41320,7 +41320,7 @@ function AgentControlBar({
|
|
|
41320
41320
|
}
|
|
41321
41321
|
);
|
|
41322
41322
|
const status = /* @__PURE__ */ jsxRuntime.jsx(
|
|
41323
|
-
|
|
41323
|
+
chunkCKKODA5B_cjs.AgentBarStatus,
|
|
41324
41324
|
{
|
|
41325
41325
|
state: showState ? controlState : void 0,
|
|
41326
41326
|
stateLabel: STATE_LABEL[controlState],
|
|
@@ -41362,7 +41362,7 @@ function AgentControlBar({
|
|
|
41362
41362
|
];
|
|
41363
41363
|
const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
41364
41364
|
onStop && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41365
|
-
|
|
41365
|
+
chunkCKKODA5B_cjs.AgentBarIconButton,
|
|
41366
41366
|
{
|
|
41367
41367
|
onClick: onStop,
|
|
41368
41368
|
title: "Stop",
|
|
@@ -41371,22 +41371,22 @@ function AgentControlBar({
|
|
|
41371
41371
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
|
|
41372
41372
|
}
|
|
41373
41373
|
),
|
|
41374
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41374
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.AgentBarMenu, { items: menuItems })
|
|
41375
41375
|
] });
|
|
41376
41376
|
const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
|
|
41377
41377
|
(message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
|
|
41378
41378
|
);
|
|
41379
41379
|
const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
|
|
41380
|
-
const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41380
|
+
const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkCKKODA5B_cjs.AgentBarNotes, { children: [
|
|
41381
41381
|
queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
41382
|
-
|
|
41382
|
+
chunkCKKODA5B_cjs.AgentBarQueuedNote,
|
|
41383
41383
|
{
|
|
41384
41384
|
text: message.content ?? "",
|
|
41385
41385
|
isAcknowledged: message.acknowledged
|
|
41386
41386
|
},
|
|
41387
41387
|
index
|
|
41388
41388
|
)),
|
|
41389
|
-
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
41389
|
+
probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
|
|
41390
41390
|
] }) : null;
|
|
41391
41391
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
41392
41392
|
AgentBarShell,
|
|
@@ -41536,7 +41536,7 @@ function ConnectedConversationEmpty({
|
|
|
41536
41536
|
compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
|
|
41537
41537
|
}
|
|
41538
41538
|
),
|
|
41539
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41539
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkN7B5OAI5_cjs.PrivacyExplainerModal, {})
|
|
41540
41540
|
] })
|
|
41541
41541
|
}
|
|
41542
41542
|
);
|
|
@@ -42244,7 +42244,7 @@ function ConversationThread({
|
|
|
42244
42244
|
const isGuest = react.useWorkspaceRole() === "guest";
|
|
42245
42245
|
const meetingReadOnly = isGuest && !!currentTask?.meeting_call_ext_id;
|
|
42246
42246
|
const meetingCallExtId = currentTask?.meeting_call_ext_id ?? null;
|
|
42247
|
-
const threadMessages =
|
|
42247
|
+
const threadMessages = chunkHG72AVXX_cjs.useMeetingThreadMessages(meetingCallExtId, messageHistory);
|
|
42248
42248
|
const [firstTurnPrompt, setFirstTurnPrompt] = react$1.useState(null);
|
|
42249
42249
|
const currentUserExtId = react.useArbiSession().user?.external_id ?? "";
|
|
42250
42250
|
const pendingFirstTurn = react$1.useMemo(
|
|
@@ -42307,7 +42307,7 @@ function ConversationThread({
|
|
|
42307
42307
|
}),
|
|
42308
42308
|
[threadMessages]
|
|
42309
42309
|
);
|
|
42310
|
-
const provisionalSpeakers =
|
|
42310
|
+
const provisionalSpeakers = chunkHG72AVXX_cjs.useProvisionalSpeakers(meetingCallExtId, threadLines);
|
|
42311
42311
|
const showProvisional = !!meetingCallExtId && meetingView !== "chat";
|
|
42312
42312
|
const latestContextUsage = react$1.useMemo(() => {
|
|
42313
42313
|
const messages = messageHistory;
|
|
@@ -42501,7 +42501,7 @@ function ConversationThread({
|
|
|
42501
42501
|
useStartRequestedDraft();
|
|
42502
42502
|
const orphanedMessage = react.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
|
|
42503
42503
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkKLMNCBLY_cjs.ConversationBody, { children: [
|
|
42504
|
-
/* @__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(
|
|
42504
|
+
/* @__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(chunkSS7IYHLK_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunk6THN5ZGA_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
|
|
42505
42505
|
meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
42506
42506
|
chunkZBP4ZSAJ_cjs.ConversationFilter,
|
|
42507
42507
|
{
|
|
@@ -42519,15 +42519,15 @@ function ConversationThread({
|
|
|
42519
42519
|
]
|
|
42520
42520
|
}
|
|
42521
42521
|
) }),
|
|
42522
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42523
|
-
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(
|
|
42522
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkSS7IYHLK_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
|
|
42523
|
+
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunkHG72AVXX_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
42524
42524
|
] }) }) : meetingCallExtId ? (
|
|
42525
42525
|
// A meeting thread with nothing yet: call-aware, not the upload prompt.
|
|
42526
42526
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
42527
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42528
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42527
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkHG72AVXX_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
|
|
42528
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkHG72AVXX_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
42529
42529
|
] })
|
|
42530
|
-
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
42530
|
+
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkSS7IYHLK_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
42531
42531
|
ConnectedConversationEmpty,
|
|
42532
42532
|
{
|
|
42533
42533
|
hasDocuments: allWorkspaceDocuments.length > 0,
|
|
@@ -42625,7 +42625,7 @@ function ConversationThread({
|
|
|
42625
42625
|
}
|
|
42626
42626
|
),
|
|
42627
42627
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42628
|
-
|
|
42628
|
+
chunkSS7IYHLK_cjs.ConversationComposer,
|
|
42629
42629
|
{
|
|
42630
42630
|
handleSendMessage: handleUserSend,
|
|
42631
42631
|
placeholder: pendingAnswer ? assistant.answerPlaceholder : void 0,
|
|
@@ -42970,7 +42970,7 @@ function ConnectedThreadsPage({
|
|
|
42970
42970
|
};
|
|
42971
42971
|
const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
|
|
42972
42972
|
/* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
42973
|
-
|
|
42973
|
+
chunkCKKODA5B_cjs.ConversationListView,
|
|
42974
42974
|
{
|
|
42975
42975
|
showHeader,
|
|
42976
42976
|
conversations: tasks,
|
|
@@ -42989,7 +42989,7 @@ function ConnectedThreadsPage({
|
|
|
42989
42989
|
renderLabels: threadLabels.renderLabels,
|
|
42990
42990
|
labelText: threadLabels.labelText,
|
|
42991
42991
|
renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
42992
|
-
|
|
42992
|
+
chunkCKKODA5B_cjs.ConversationTurnSpeaker,
|
|
42993
42993
|
{
|
|
42994
42994
|
variant: "icon",
|
|
42995
42995
|
role: row2.last_message_role,
|
|
@@ -43376,7 +43376,7 @@ function ConnectedChatDocumentsTab({
|
|
|
43376
43376
|
testId: `document-hover-toggle-${doc.external_id}`
|
|
43377
43377
|
},
|
|
43378
43378
|
status: /* @__PURE__ */ jsxRuntime.jsx(
|
|
43379
|
-
|
|
43379
|
+
chunkN7B5OAI5_cjs.DocStatusIcon,
|
|
43380
43380
|
{
|
|
43381
43381
|
status: doc.status,
|
|
43382
43382
|
onClick: onStatusClick,
|
|
@@ -43870,7 +43870,7 @@ function ConnectedConversationPage({
|
|
|
43870
43870
|
);
|
|
43871
43871
|
const { data: workspaceTags = [] } = react.useTags();
|
|
43872
43872
|
const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
|
|
43873
|
-
const historyCount =
|
|
43873
|
+
const historyCount = chunkCKKODA5B_cjs.filterConversationRows(
|
|
43874
43874
|
threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
|
|
43875
43875
|
threadFilter,
|
|
43876
43876
|
(row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
@@ -43913,7 +43913,7 @@ function ConnectedConversationPage({
|
|
|
43913
43913
|
}
|
|
43914
43914
|
}
|
|
43915
43915
|
),
|
|
43916
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43916
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkHG72AVXX_cjs.ConnectedConversationCallActions, {}),
|
|
43917
43917
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43918
43918
|
chunkKLMNCBLY_cjs.NewChatButton,
|
|
43919
43919
|
{
|
|
@@ -43952,7 +43952,7 @@ function ConnectedConversationPage({
|
|
|
43952
43952
|
] })
|
|
43953
43953
|
}
|
|
43954
43954
|
),
|
|
43955
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43955
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkF5HT73TR_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
|
|
43956
43956
|
] }),
|
|
43957
43957
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
43958
43958
|
ConversationThread,
|
|
@@ -43982,7 +43982,7 @@ function ConnectedConversationPage({
|
|
|
43982
43982
|
!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 }) })
|
|
43983
43983
|
] }),
|
|
43984
43984
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
43985
|
-
|
|
43985
|
+
chunkN7B5OAI5_cjs.UrlInputDialog,
|
|
43986
43986
|
{
|
|
43987
43987
|
open: urlDialogOpen,
|
|
43988
43988
|
onOpenChange: setUrlDialogOpen,
|
|
@@ -44161,7 +44161,7 @@ function SsoResendVerificationButton({
|
|
|
44161
44161
|
onClick: async () => handleResendEmailVerification(),
|
|
44162
44162
|
disabled: loading || disabled,
|
|
44163
44163
|
"aria-label": "Resend verification email",
|
|
44164
|
-
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
44164
|
+
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkSHGUTM42_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
44165
44165
|
"Didn't get a verification email? ",
|
|
44166
44166
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
|
|
44167
44167
|
] })
|
|
@@ -44172,9 +44172,9 @@ function SsoResendVerificationButton({
|
|
|
44172
44172
|
}
|
|
44173
44173
|
var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
|
|
44174
44174
|
function ConnectedSsoCallback() {
|
|
44175
|
-
const sso =
|
|
44175
|
+
const sso = chunkSS7IYHLK_cjs.useSsoSignIn();
|
|
44176
44176
|
const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
|
|
44177
|
-
const auth =
|
|
44177
|
+
const auth = chunkSS7IYHLK_cjs.useAuthPages();
|
|
44178
44178
|
const { notify: notify19, navigate } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
44179
44179
|
const passwordRules = auth.passwordRules;
|
|
44180
44180
|
const isProcessing = react$1.useRef(false);
|
|
@@ -44182,7 +44182,7 @@ function ConnectedSsoCallback() {
|
|
|
44182
44182
|
const [statusAttempt, setStatusAttempt] = react$1.useState(0);
|
|
44183
44183
|
const [accessToken, setAccessToken] = react$1.useState(null);
|
|
44184
44184
|
const [ssoStatus, setSsoStatus] = react$1.useState(null);
|
|
44185
|
-
const ssoName = react$1.useMemo(() =>
|
|
44185
|
+
const ssoName = react$1.useMemo(() => chunkSS7IYHLK_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
|
|
44186
44186
|
const [password, setPassword] = react$1.useState("");
|
|
44187
44187
|
const [confirmPassword, setConfirmPassword] = react$1.useState("");
|
|
44188
44188
|
const [error, setError] = react$1.useState(null);
|
|
@@ -44360,7 +44360,7 @@ function ConnectedSsoCallback() {
|
|
|
44360
44360
|
setIsCheckingStatus(true);
|
|
44361
44361
|
try {
|
|
44362
44362
|
console.info("[SSO] Checking user status...");
|
|
44363
|
-
const response = await
|
|
44363
|
+
const response = await chunkSS7IYHLK_cjs.ssoAccountStatus(arbi, accessToken, user);
|
|
44364
44364
|
console.info("[SSO] User status:", response.status);
|
|
44365
44365
|
setSsoStatus(response);
|
|
44366
44366
|
} catch (error2) {
|
|
@@ -44401,7 +44401,7 @@ function ConnectedSsoCallback() {
|
|
|
44401
44401
|
setIsSubmitting(true);
|
|
44402
44402
|
setError(null);
|
|
44403
44403
|
try {
|
|
44404
|
-
const { login, registered, linked } = await
|
|
44404
|
+
const { login, registered, linked } = await chunkSS7IYHLK_cjs.completeSsoSignIn(arbi, {
|
|
44405
44405
|
token: accessToken,
|
|
44406
44406
|
user,
|
|
44407
44407
|
status: ssoStatus,
|
|
@@ -44701,7 +44701,7 @@ function ConnectedSsoCallback() {
|
|
|
44701
44701
|
ssoStatus.status !== "new_user" && auth.footer
|
|
44702
44702
|
] }),
|
|
44703
44703
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44704
|
-
|
|
44704
|
+
chunkSS7IYHLK_cjs.ConnectedForgotPassword,
|
|
44705
44705
|
{
|
|
44706
44706
|
open: showForgotPasswordModal,
|
|
44707
44707
|
onOpenChange: setShowForgotPasswordModal,
|
|
@@ -44709,7 +44709,7 @@ function ConnectedSsoCallback() {
|
|
|
44709
44709
|
}
|
|
44710
44710
|
),
|
|
44711
44711
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44712
|
-
|
|
44712
|
+
chunkSS7IYHLK_cjs.ConnectedPasswordChangeDialog,
|
|
44713
44713
|
{
|
|
44714
44714
|
open: showChangePasswordModal,
|
|
44715
44715
|
onClose: () => setShowChangePasswordModal(false),
|
|
@@ -44868,27 +44868,27 @@ function ConnectedOAuthConsentPage({
|
|
|
44868
44868
|
oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
|
|
44869
44869
|
}
|
|
44870
44870
|
if (error && !params) {
|
|
44871
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44871
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
|
|
44872
44872
|
}
|
|
44873
44873
|
if (!params) {
|
|
44874
44874
|
return null;
|
|
44875
44875
|
}
|
|
44876
44876
|
if (clientInfo?.isLocalAgentFlow) {
|
|
44877
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44877
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_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." }) });
|
|
44878
44878
|
}
|
|
44879
44879
|
if (!isAuthenticated2) {
|
|
44880
44880
|
return null;
|
|
44881
44881
|
}
|
|
44882
44882
|
if (callbackUrl) {
|
|
44883
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44884
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44883
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkCKKODA5B_cjs.ConsentCard, { size: "md", children: [
|
|
44884
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkCKKODA5B_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
|
|
44885
44885
|
"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",
|
|
44886
44886
|
" ",
|
|
44887
44887
|
copied ? "it's already copied to your clipboard." : "copy it first."
|
|
44888
44888
|
] }),
|
|
44889
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44890
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44891
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44889
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkCKKODA5B_cjs.ConsentSection, { title: "Callback URL", children: [
|
|
44890
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
|
|
44891
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkCKKODA5B_cjs.ConsentText, { variant: "hint", children: [
|
|
44892
44892
|
"In Claude Code, paste the URL at the prompt that says",
|
|
44893
44893
|
" ",
|
|
44894
44894
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
|
|
@@ -44897,17 +44897,17 @@ function ConnectedOAuthConsentPage({
|
|
|
44897
44897
|
] })
|
|
44898
44898
|
] }) });
|
|
44899
44899
|
}
|
|
44900
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44901
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
44902
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44900
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkCKKODA5B_cjs.ConsentCard, { children: [
|
|
44901
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkCKKODA5B_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
|
|
44902
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
|
|
44903
44903
|
" is requesting access to your ",
|
|
44904
44904
|
appName,
|
|
44905
44905
|
" workspace."
|
|
44906
44906
|
] }),
|
|
44907
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44908
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44909
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44910
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44907
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConsentPermissionList, { items: permissions }) }),
|
|
44908
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConsentNotice, { tone: "error", children: error }),
|
|
44909
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
|
|
44910
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkCKKODA5B_cjs.ConsentFootnote, { children: footnote })
|
|
44911
44911
|
] }) });
|
|
44912
44912
|
}
|
|
44913
44913
|
function ConnectedSharedFilesPage({
|
|
@@ -45621,7 +45621,7 @@ function ConnectedTipBar({
|
|
|
45621
45621
|
className,
|
|
45622
45622
|
revealOnHover = false
|
|
45623
45623
|
}) {
|
|
45624
|
-
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } =
|
|
45624
|
+
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkSS7IYHLK_cjs.useContextualHints();
|
|
45625
45625
|
const { dismissed, dismissTip } = react.useDismissedTips();
|
|
45626
45626
|
const { notify: notify19 } = chunkLIKDQBNJ_cjs.useBlocksEnvironment();
|
|
45627
45627
|
const { data: workspaces } = react.useWorkspaces();
|
|
@@ -45632,7 +45632,7 @@ function ConnectedTipBar({
|
|
|
45632
45632
|
workspaceOpen,
|
|
45633
45633
|
...state
|
|
45634
45634
|
};
|
|
45635
|
-
const { tip, index, count: count2, previous, next, onHoverChange } =
|
|
45635
|
+
const { tip, index, count: count2, previous, next, onHoverChange } = chunkSHGUTM42_cjs.useTipsPlacement({
|
|
45636
45636
|
registry,
|
|
45637
45637
|
context,
|
|
45638
45638
|
state: situation,
|
|
@@ -45710,7 +45710,7 @@ function useGettingStarted({
|
|
|
45710
45710
|
const { user } = react.useArbiSession();
|
|
45711
45711
|
const userExtId = user?.external_id;
|
|
45712
45712
|
const temporaryOnly = user?.temporary_access_only === true;
|
|
45713
|
-
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } =
|
|
45713
|
+
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkSS7IYHLK_cjs.useContextualHints();
|
|
45714
45714
|
const { dismissed, loaded: dismissedLoaded, dismissTip } = react.useDismissedTips();
|
|
45715
45715
|
const welcomeJourneyEnabled = react.useFeature("welcomeJourney");
|
|
45716
45716
|
const session = react.useArbiSessionStore();
|
|
@@ -46008,15 +46008,15 @@ Object.defineProperty(exports, "ConnectedMailInviteCard", {
|
|
|
46008
46008
|
});
|
|
46009
46009
|
Object.defineProperty(exports, "ConnectedTagEntity", {
|
|
46010
46010
|
enumerable: true,
|
|
46011
|
-
get: function () { return
|
|
46011
|
+
get: function () { return chunkJXZM5ODS_cjs.ConnectedTagEntity; }
|
|
46012
46012
|
});
|
|
46013
46013
|
Object.defineProperty(exports, "documentFieldContent", {
|
|
46014
46014
|
enumerable: true,
|
|
46015
|
-
get: function () { return
|
|
46015
|
+
get: function () { return chunkJXZM5ODS_cjs.documentFieldContent; }
|
|
46016
46016
|
});
|
|
46017
46017
|
Object.defineProperty(exports, "useMemberLookup", {
|
|
46018
46018
|
enumerable: true,
|
|
46019
|
-
get: function () { return
|
|
46019
|
+
get: function () { return chunkJXZM5ODS_cjs.useMemberLookup; }
|
|
46020
46020
|
});
|
|
46021
46021
|
Object.defineProperty(exports, "ConnectedAssistantDock", {
|
|
46022
46022
|
enumerable: true,
|
|
@@ -46052,279 +46052,279 @@ Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
|
46052
46052
|
});
|
|
46053
46053
|
Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
|
|
46054
46054
|
enumerable: true,
|
|
46055
|
-
get: function () { return
|
|
46055
|
+
get: function () { return chunkF5HT73TR_cjs.ConnectedTaskActivityDialog; }
|
|
46056
46056
|
});
|
|
46057
46057
|
Object.defineProperty(exports, "ConnectedTaskComposer", {
|
|
46058
46058
|
enumerable: true,
|
|
46059
|
-
get: function () { return
|
|
46059
|
+
get: function () { return chunkF5HT73TR_cjs.ConnectedTaskComposer; }
|
|
46060
46060
|
});
|
|
46061
46061
|
Object.defineProperty(exports, "ConnectedThreadTaskBar", {
|
|
46062
46062
|
enumerable: true,
|
|
46063
|
-
get: function () { return
|
|
46063
|
+
get: function () { return chunkF5HT73TR_cjs.ConnectedThreadTaskBar; }
|
|
46064
46064
|
});
|
|
46065
46065
|
Object.defineProperty(exports, "ConnectedWorkflowHistory", {
|
|
46066
46066
|
enumerable: true,
|
|
46067
|
-
get: function () { return
|
|
46067
|
+
get: function () { return chunkF5HT73TR_cjs.ConnectedWorkflowHistory; }
|
|
46068
46068
|
});
|
|
46069
46069
|
Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
|
|
46070
46070
|
enumerable: true,
|
|
46071
|
-
get: function () { return
|
|
46071
|
+
get: function () { return chunkF5HT73TR_cjs.ConnectedWorkflowRunPage; }
|
|
46072
46072
|
});
|
|
46073
46073
|
Object.defineProperty(exports, "ConnectedWorkflowRunner", {
|
|
46074
46074
|
enumerable: true,
|
|
46075
|
-
get: function () { return
|
|
46075
|
+
get: function () { return chunkF5HT73TR_cjs.ConnectedWorkflowRunner; }
|
|
46076
46076
|
});
|
|
46077
46077
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
|
|
46078
46078
|
enumerable: true,
|
|
46079
|
-
get: function () { return
|
|
46079
|
+
get: function () { return chunkF5HT73TR_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
|
|
46080
46080
|
});
|
|
46081
46081
|
Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
|
|
46082
46082
|
enumerable: true,
|
|
46083
|
-
get: function () { return
|
|
46083
|
+
get: function () { return chunkF5HT73TR_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
|
|
46084
46084
|
});
|
|
46085
46085
|
Object.defineProperty(exports, "WorkflowRunThread", {
|
|
46086
46086
|
enumerable: true,
|
|
46087
|
-
get: function () { return
|
|
46087
|
+
get: function () { return chunkF5HT73TR_cjs.WorkflowRunThread; }
|
|
46088
46088
|
});
|
|
46089
46089
|
Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
|
|
46090
46090
|
enumerable: true,
|
|
46091
|
-
get: function () { return
|
|
46091
|
+
get: function () { return chunkF5HT73TR_cjs.WorkflowRunWorkspaceChangedError; }
|
|
46092
46092
|
});
|
|
46093
46093
|
Object.defineProperty(exports, "buildProjectSummaries", {
|
|
46094
46094
|
enumerable: true,
|
|
46095
|
-
get: function () { return
|
|
46095
|
+
get: function () { return chunkF5HT73TR_cjs.buildProjectSummaries; }
|
|
46096
46096
|
});
|
|
46097
46097
|
Object.defineProperty(exports, "primaryProjectWorkspace", {
|
|
46098
46098
|
enumerable: true,
|
|
46099
|
-
get: function () { return
|
|
46099
|
+
get: function () { return chunkF5HT73TR_cjs.primaryProjectWorkspace; }
|
|
46100
46100
|
});
|
|
46101
46101
|
Object.defineProperty(exports, "useEnsureRequiredLabels", {
|
|
46102
46102
|
enumerable: true,
|
|
46103
|
-
get: function () { return
|
|
46103
|
+
get: function () { return chunkF5HT73TR_cjs.useEnsureRequiredLabels; }
|
|
46104
46104
|
});
|
|
46105
46105
|
Object.defineProperty(exports, "useProjectSummaries", {
|
|
46106
46106
|
enumerable: true,
|
|
46107
|
-
get: function () { return
|
|
46107
|
+
get: function () { return chunkF5HT73TR_cjs.useProjectSummaries; }
|
|
46108
46108
|
});
|
|
46109
46109
|
Object.defineProperty(exports, "useProjectSummary", {
|
|
46110
46110
|
enumerable: true,
|
|
46111
|
-
get: function () { return
|
|
46111
|
+
get: function () { return chunkF5HT73TR_cjs.useProjectSummary; }
|
|
46112
46112
|
});
|
|
46113
46113
|
Object.defineProperty(exports, "useRenderTaskPerson", {
|
|
46114
46114
|
enumerable: true,
|
|
46115
|
-
get: function () { return
|
|
46115
|
+
get: function () { return chunkF5HT73TR_cjs.useRenderTaskPerson; }
|
|
46116
46116
|
});
|
|
46117
46117
|
Object.defineProperty(exports, "useRequiredLabels", {
|
|
46118
46118
|
enumerable: true,
|
|
46119
|
-
get: function () { return
|
|
46119
|
+
get: function () { return chunkF5HT73TR_cjs.useRequiredLabels; }
|
|
46120
46120
|
});
|
|
46121
46121
|
Object.defineProperty(exports, "useTaskPeople", {
|
|
46122
46122
|
enumerable: true,
|
|
46123
|
-
get: function () { return
|
|
46123
|
+
get: function () { return chunkF5HT73TR_cjs.useTaskPeople; }
|
|
46124
46124
|
});
|
|
46125
46125
|
Object.defineProperty(exports, "useWorkflowsPageState", {
|
|
46126
46126
|
enumerable: true,
|
|
46127
|
-
get: function () { return
|
|
46127
|
+
get: function () { return chunkF5HT73TR_cjs.useWorkflowsPageState; }
|
|
46128
46128
|
});
|
|
46129
46129
|
Object.defineProperty(exports, "workflowRunView", {
|
|
46130
46130
|
enumerable: true,
|
|
46131
|
-
get: function () { return
|
|
46131
|
+
get: function () { return chunkF5HT73TR_cjs.workflowRunView; }
|
|
46132
46132
|
});
|
|
46133
46133
|
Object.defineProperty(exports, "AgentSteps", {
|
|
46134
46134
|
enumerable: true,
|
|
46135
|
-
get: function () { return
|
|
46135
|
+
get: function () { return chunkSS7IYHLK_cjs.AgentSteps; }
|
|
46136
46136
|
});
|
|
46137
46137
|
Object.defineProperty(exports, "AnswerTable", {
|
|
46138
46138
|
enumerable: true,
|
|
46139
|
-
get: function () { return
|
|
46139
|
+
get: function () { return chunkSS7IYHLK_cjs.AnswerTable; }
|
|
46140
46140
|
});
|
|
46141
46141
|
Object.defineProperty(exports, "ArbiChat", {
|
|
46142
46142
|
enumerable: true,
|
|
46143
|
-
get: function () { return
|
|
46143
|
+
get: function () { return chunkSS7IYHLK_cjs.ArbiChat; }
|
|
46144
46144
|
});
|
|
46145
46145
|
Object.defineProperty(exports, "AskAgainContext", {
|
|
46146
46146
|
enumerable: true,
|
|
46147
|
-
get: function () { return
|
|
46147
|
+
get: function () { return chunkSS7IYHLK_cjs.AskAgainContext; }
|
|
46148
46148
|
});
|
|
46149
46149
|
Object.defineProperty(exports, "ConnectedBranchControls", {
|
|
46150
46150
|
enumerable: true,
|
|
46151
|
-
get: function () { return
|
|
46151
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedBranchControls; }
|
|
46152
46152
|
});
|
|
46153
46153
|
Object.defineProperty(exports, "ConnectedCitationRenderer", {
|
|
46154
46154
|
enumerable: true,
|
|
46155
|
-
get: function () { return
|
|
46155
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedCitationRenderer; }
|
|
46156
46156
|
});
|
|
46157
46157
|
Object.defineProperty(exports, "ConnectedCompactConversation", {
|
|
46158
46158
|
enumerable: true,
|
|
46159
|
-
get: function () { return
|
|
46159
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedCompactConversation; }
|
|
46160
46160
|
});
|
|
46161
46161
|
Object.defineProperty(exports, "ConnectedCompactLogin", {
|
|
46162
46162
|
enumerable: true,
|
|
46163
|
-
get: function () { return
|
|
46163
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedCompactLogin; }
|
|
46164
46164
|
});
|
|
46165
46165
|
Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
|
|
46166
46166
|
enumerable: true,
|
|
46167
|
-
get: function () { return
|
|
46167
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedConversationDocumentPicker; }
|
|
46168
46168
|
});
|
|
46169
46169
|
Object.defineProperty(exports, "ConnectedDangerZone", {
|
|
46170
46170
|
enumerable: true,
|
|
46171
|
-
get: function () { return
|
|
46171
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedDangerZone; }
|
|
46172
46172
|
});
|
|
46173
46173
|
Object.defineProperty(exports, "ConnectedEmbeddedChat", {
|
|
46174
46174
|
enumerable: true,
|
|
46175
|
-
get: function () { return
|
|
46175
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedEmbeddedChat; }
|
|
46176
46176
|
});
|
|
46177
46177
|
Object.defineProperty(exports, "ConnectedForgotPassword", {
|
|
46178
46178
|
enumerable: true,
|
|
46179
|
-
get: function () { return
|
|
46179
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedForgotPassword; }
|
|
46180
46180
|
});
|
|
46181
46181
|
Object.defineProperty(exports, "ConnectedIdentityVerification", {
|
|
46182
46182
|
enumerable: true,
|
|
46183
|
-
get: function () { return
|
|
46183
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedIdentityVerification; }
|
|
46184
46184
|
});
|
|
46185
46185
|
Object.defineProperty(exports, "ConnectedLoginPage", {
|
|
46186
46186
|
enumerable: true,
|
|
46187
|
-
get: function () { return
|
|
46187
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedLoginPage; }
|
|
46188
46188
|
});
|
|
46189
46189
|
Object.defineProperty(exports, "ConnectedLogoutDialog", {
|
|
46190
46190
|
enumerable: true,
|
|
46191
|
-
get: function () { return
|
|
46191
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedLogoutDialog; }
|
|
46192
46192
|
});
|
|
46193
46193
|
Object.defineProperty(exports, "ConnectedMessage", {
|
|
46194
46194
|
enumerable: true,
|
|
46195
|
-
get: function () { return
|
|
46195
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedMessage; }
|
|
46196
46196
|
});
|
|
46197
46197
|
Object.defineProperty(exports, "ConnectedMessageArea", {
|
|
46198
46198
|
enumerable: true,
|
|
46199
|
-
get: function () { return
|
|
46199
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedMessageArea; }
|
|
46200
46200
|
});
|
|
46201
46201
|
Object.defineProperty(exports, "ConnectedMessageList", {
|
|
46202
46202
|
enumerable: true,
|
|
46203
|
-
get: function () { return
|
|
46203
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedMessageList; }
|
|
46204
46204
|
});
|
|
46205
46205
|
Object.defineProperty(exports, "ConnectedModelSelector", {
|
|
46206
46206
|
enumerable: true,
|
|
46207
|
-
get: function () { return
|
|
46207
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedModelSelector; }
|
|
46208
46208
|
});
|
|
46209
46209
|
Object.defineProperty(exports, "ConnectedNotificationPreferences", {
|
|
46210
46210
|
enumerable: true,
|
|
46211
|
-
get: function () { return
|
|
46211
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedNotificationPreferences; }
|
|
46212
46212
|
});
|
|
46213
46213
|
Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
|
|
46214
46214
|
enumerable: true,
|
|
46215
|
-
get: function () { return
|
|
46215
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedPasswordChangeDialog; }
|
|
46216
46216
|
});
|
|
46217
46217
|
Object.defineProperty(exports, "ConnectedProfileCard", {
|
|
46218
46218
|
enumerable: true,
|
|
46219
|
-
get: function () { return
|
|
46219
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedProfileCard; }
|
|
46220
46220
|
});
|
|
46221
46221
|
Object.defineProperty(exports, "ConnectedSecuritySection", {
|
|
46222
46222
|
enumerable: true,
|
|
46223
|
-
get: function () { return
|
|
46223
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedSecuritySection; }
|
|
46224
46224
|
});
|
|
46225
46225
|
Object.defineProperty(exports, "ConnectedSessionsRow", {
|
|
46226
46226
|
enumerable: true,
|
|
46227
|
-
get: function () { return
|
|
46227
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedSessionsRow; }
|
|
46228
46228
|
});
|
|
46229
46229
|
Object.defineProperty(exports, "ConnectedThreadsPreview", {
|
|
46230
46230
|
enumerable: true,
|
|
46231
|
-
get: function () { return
|
|
46231
|
+
get: function () { return chunkSS7IYHLK_cjs.ConnectedThreadsPreview; }
|
|
46232
46232
|
});
|
|
46233
46233
|
Object.defineProperty(exports, "ConversationComposer", {
|
|
46234
46234
|
enumerable: true,
|
|
46235
|
-
get: function () { return
|
|
46235
|
+
get: function () { return chunkSS7IYHLK_cjs.ConversationComposer; }
|
|
46236
46236
|
});
|
|
46237
46237
|
Object.defineProperty(exports, "EmbeddedChatPanel", {
|
|
46238
46238
|
enumerable: true,
|
|
46239
|
-
get: function () { return
|
|
46239
|
+
get: function () { return chunkSS7IYHLK_cjs.EmbeddedChatPanel; }
|
|
46240
46240
|
});
|
|
46241
46241
|
Object.defineProperty(exports, "MessageDetailsModal", {
|
|
46242
46242
|
enumerable: true,
|
|
46243
|
-
get: function () { return
|
|
46243
|
+
get: function () { return chunkSS7IYHLK_cjs.MessageDetailsModal; }
|
|
46244
46244
|
});
|
|
46245
46245
|
Object.defineProperty(exports, "MessageLiveSeconds", {
|
|
46246
46246
|
enumerable: true,
|
|
46247
|
-
get: function () { return
|
|
46247
|
+
get: function () { return chunkSS7IYHLK_cjs.MessageLiveSeconds; }
|
|
46248
46248
|
});
|
|
46249
46249
|
Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
|
|
46250
46250
|
enumerable: true,
|
|
46251
|
-
get: function () { return
|
|
46251
|
+
get: function () { return chunkSS7IYHLK_cjs.PENDING_RECOVERY_KEY; }
|
|
46252
46252
|
});
|
|
46253
46253
|
Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
|
|
46254
46254
|
enumerable: true,
|
|
46255
|
-
get: function () { return
|
|
46255
|
+
get: function () { return chunkSS7IYHLK_cjs.PREMIUM_TIER_TAG; }
|
|
46256
46256
|
});
|
|
46257
46257
|
Object.defineProperty(exports, "RunningSubagents", {
|
|
46258
46258
|
enumerable: true,
|
|
46259
|
-
get: function () { return
|
|
46259
|
+
get: function () { return chunkSS7IYHLK_cjs.RunningSubagents; }
|
|
46260
46260
|
});
|
|
46261
46261
|
Object.defineProperty(exports, "STANDARD_TIER_TAG", {
|
|
46262
46262
|
enumerable: true,
|
|
46263
|
-
get: function () { return
|
|
46263
|
+
get: function () { return chunkSS7IYHLK_cjs.STANDARD_TIER_TAG; }
|
|
46264
46264
|
});
|
|
46265
46265
|
Object.defineProperty(exports, "WorkflowStepMessage", {
|
|
46266
46266
|
enumerable: true,
|
|
46267
|
-
get: function () { return
|
|
46267
|
+
get: function () { return chunkSS7IYHLK_cjs.WorkflowStepMessage; }
|
|
46268
46268
|
});
|
|
46269
46269
|
Object.defineProperty(exports, "backUpOnSignup", {
|
|
46270
46270
|
enumerable: true,
|
|
46271
|
-
get: function () { return
|
|
46271
|
+
get: function () { return chunkSS7IYHLK_cjs.backUpOnSignup; }
|
|
46272
46272
|
});
|
|
46273
46273
|
Object.defineProperty(exports, "createRemoteControl", {
|
|
46274
46274
|
enumerable: true,
|
|
46275
|
-
get: function () { return
|
|
46275
|
+
get: function () { return chunkSS7IYHLK_cjs.createRemoteControl; }
|
|
46276
46276
|
});
|
|
46277
46277
|
Object.defineProperty(exports, "defaultHost", {
|
|
46278
46278
|
enumerable: true,
|
|
46279
|
-
get: function () { return
|
|
46279
|
+
get: function () { return chunkSS7IYHLK_cjs.defaultHost; }
|
|
46280
46280
|
});
|
|
46281
46281
|
Object.defineProperty(exports, "renderConnectedUser", {
|
|
46282
46282
|
enumerable: true,
|
|
46283
|
-
get: function () { return
|
|
46283
|
+
get: function () { return chunkSS7IYHLK_cjs.renderConnectedUser; }
|
|
46284
46284
|
});
|
|
46285
46285
|
Object.defineProperty(exports, "renderSessionStatusIcon", {
|
|
46286
46286
|
enumerable: true,
|
|
46287
|
-
get: function () { return
|
|
46287
|
+
get: function () { return chunkSS7IYHLK_cjs.renderSessionStatusIcon; }
|
|
46288
46288
|
});
|
|
46289
46289
|
Object.defineProperty(exports, "resolveSsoName", {
|
|
46290
46290
|
enumerable: true,
|
|
46291
|
-
get: function () { return
|
|
46291
|
+
get: function () { return chunkSS7IYHLK_cjs.resolveSsoName; }
|
|
46292
46292
|
});
|
|
46293
46293
|
Object.defineProperty(exports, "useAuthPages", {
|
|
46294
46294
|
enumerable: true,
|
|
46295
|
-
get: function () { return
|
|
46295
|
+
get: function () { return chunkSS7IYHLK_cjs.useAuthPages; }
|
|
46296
46296
|
});
|
|
46297
46297
|
Object.defineProperty(exports, "useContextualHints", {
|
|
46298
46298
|
enumerable: true,
|
|
46299
|
-
get: function () { return
|
|
46299
|
+
get: function () { return chunkSS7IYHLK_cjs.useContextualHints; }
|
|
46300
46300
|
});
|
|
46301
46301
|
Object.defineProperty(exports, "useModelPicker", {
|
|
46302
46302
|
enumerable: true,
|
|
46303
|
-
get: function () { return
|
|
46303
|
+
get: function () { return chunkSS7IYHLK_cjs.useModelPicker; }
|
|
46304
46304
|
});
|
|
46305
46305
|
Object.defineProperty(exports, "useOpenChunk", {
|
|
46306
46306
|
enumerable: true,
|
|
46307
|
-
get: function () { return
|
|
46307
|
+
get: function () { return chunkSS7IYHLK_cjs.useOpenChunk; }
|
|
46308
46308
|
});
|
|
46309
46309
|
Object.defineProperty(exports, "useOpenWorkspaceIcon", {
|
|
46310
46310
|
enumerable: true,
|
|
46311
|
-
get: function () { return
|
|
46311
|
+
get: function () { return chunkSS7IYHLK_cjs.useOpenWorkspaceIcon; }
|
|
46312
46312
|
});
|
|
46313
46313
|
Object.defineProperty(exports, "useRemoteControlActions", {
|
|
46314
46314
|
enumerable: true,
|
|
46315
|
-
get: function () { return
|
|
46315
|
+
get: function () { return chunkSS7IYHLK_cjs.useRemoteControlActions; }
|
|
46316
46316
|
});
|
|
46317
46317
|
Object.defineProperty(exports, "useRemoteControlHandlers", {
|
|
46318
46318
|
enumerable: true,
|
|
46319
|
-
get: function () { return
|
|
46319
|
+
get: function () { return chunkSS7IYHLK_cjs.useRemoteControlHandlers; }
|
|
46320
46320
|
});
|
|
46321
46321
|
Object.defineProperty(exports, "useSsoSignIn", {
|
|
46322
46322
|
enumerable: true,
|
|
46323
|
-
get: function () { return
|
|
46323
|
+
get: function () { return chunkSS7IYHLK_cjs.useSsoSignIn; }
|
|
46324
46324
|
});
|
|
46325
46325
|
Object.defineProperty(exports, "useWorkspaceDocTitles", {
|
|
46326
46326
|
enumerable: true,
|
|
46327
|
-
get: function () { return
|
|
46327
|
+
get: function () { return chunkSS7IYHLK_cjs.useWorkspaceDocTitles; }
|
|
46328
46328
|
});
|
|
46329
46329
|
Object.defineProperty(exports, "parseTypedSkill", {
|
|
46330
46330
|
enumerable: true,
|
|
@@ -46356,11 +46356,11 @@ Object.defineProperty(exports, "useLaunchWorkflow", {
|
|
|
46356
46356
|
});
|
|
46357
46357
|
Object.defineProperty(exports, "useConnectedThreadActivity", {
|
|
46358
46358
|
enumerable: true,
|
|
46359
|
-
get: function () { return
|
|
46359
|
+
get: function () { return chunkYEGOCUBR_cjs.useConnectedThreadActivity; }
|
|
46360
46360
|
});
|
|
46361
46361
|
Object.defineProperty(exports, "DocumentUser", {
|
|
46362
46362
|
enumerable: true,
|
|
46363
|
-
get: function () { return
|
|
46363
|
+
get: function () { return chunkFYNNNQ6H_cjs.DocumentUser; }
|
|
46364
46364
|
});
|
|
46365
46365
|
Object.defineProperty(exports, "useCanBrowseSkills", {
|
|
46366
46366
|
enumerable: true,
|
|
@@ -46416,35 +46416,35 @@ Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
|
|
|
46416
46416
|
});
|
|
46417
46417
|
Object.defineProperty(exports, "FILES_PREFS_KEY", {
|
|
46418
46418
|
enumerable: true,
|
|
46419
|
-
get: function () { return
|
|
46419
|
+
get: function () { return chunkLYDPVFNS_cjs.FILES_PREFS_KEY; }
|
|
46420
46420
|
});
|
|
46421
46421
|
Object.defineProperty(exports, "filesViewMode", {
|
|
46422
46422
|
enumerable: true,
|
|
46423
|
-
get: function () { return
|
|
46423
|
+
get: function () { return chunkLYDPVFNS_cjs.filesViewMode; }
|
|
46424
46424
|
});
|
|
46425
46425
|
Object.defineProperty(exports, "useAiReviewStore", {
|
|
46426
46426
|
enumerable: true,
|
|
46427
|
-
get: function () { return
|
|
46427
|
+
get: function () { return chunkLYDPVFNS_cjs.useAiReviewStore; }
|
|
46428
46428
|
});
|
|
46429
46429
|
Object.defineProperty(exports, "useFilesDialogs", {
|
|
46430
46430
|
enumerable: true,
|
|
46431
|
-
get: function () { return
|
|
46431
|
+
get: function () { return chunkLYDPVFNS_cjs.useFilesDialogs; }
|
|
46432
46432
|
});
|
|
46433
46433
|
Object.defineProperty(exports, "useFilesGridStates", {
|
|
46434
46434
|
enumerable: true,
|
|
46435
|
-
get: function () { return
|
|
46435
|
+
get: function () { return chunkLYDPVFNS_cjs.useFilesGridStates; }
|
|
46436
46436
|
});
|
|
46437
46437
|
Object.defineProperty(exports, "useFilesPrefs", {
|
|
46438
46438
|
enumerable: true,
|
|
46439
|
-
get: function () { return
|
|
46439
|
+
get: function () { return chunkLYDPVFNS_cjs.useFilesPrefs; }
|
|
46440
46440
|
});
|
|
46441
46441
|
Object.defineProperty(exports, "useFilesStore", {
|
|
46442
46442
|
enumerable: true,
|
|
46443
|
-
get: function () { return
|
|
46443
|
+
get: function () { return chunkLYDPVFNS_cjs.useFilesStore; }
|
|
46444
46444
|
});
|
|
46445
46445
|
Object.defineProperty(exports, "usePendingFolders", {
|
|
46446
46446
|
enumerable: true,
|
|
46447
|
-
get: function () { return
|
|
46447
|
+
get: function () { return chunkLYDPVFNS_cjs.usePendingFolders; }
|
|
46448
46448
|
});
|
|
46449
46449
|
Object.defineProperty(exports, "ConnectedMarkdown", {
|
|
46450
46450
|
enumerable: true,
|
|
@@ -46476,67 +46476,67 @@ Object.defineProperty(exports, "useDocumentWorkspace", {
|
|
|
46476
46476
|
});
|
|
46477
46477
|
Object.defineProperty(exports, "ConnectedPendingSyncDialog", {
|
|
46478
46478
|
enumerable: true,
|
|
46479
|
-
get: function () { return
|
|
46479
|
+
get: function () { return chunkBT2QTDZ4_cjs.ConnectedPendingSyncDialog; }
|
|
46480
46480
|
});
|
|
46481
46481
|
Object.defineProperty(exports, "DocumentFolderCell", {
|
|
46482
46482
|
enumerable: true,
|
|
46483
|
-
get: function () { return
|
|
46483
|
+
get: function () { return chunkBT2QTDZ4_cjs.DocumentFolderCell; }
|
|
46484
46484
|
});
|
|
46485
46485
|
Object.defineProperty(exports, "DocumentLabelsCell", {
|
|
46486
46486
|
enumerable: true,
|
|
46487
|
-
get: function () { return
|
|
46487
|
+
get: function () { return chunkBT2QTDZ4_cjs.DocumentLabelsCell; }
|
|
46488
46488
|
});
|
|
46489
46489
|
Object.defineProperty(exports, "DocumentNameCell", {
|
|
46490
46490
|
enumerable: true,
|
|
46491
|
-
get: function () { return
|
|
46491
|
+
get: function () { return chunkBT2QTDZ4_cjs.DocumentNameCell; }
|
|
46492
46492
|
});
|
|
46493
46493
|
Object.defineProperty(exports, "DocumentSharedCell", {
|
|
46494
46494
|
enumerable: true,
|
|
46495
|
-
get: function () { return
|
|
46495
|
+
get: function () { return chunkBT2QTDZ4_cjs.DocumentSharedCell; }
|
|
46496
46496
|
});
|
|
46497
46497
|
Object.defineProperty(exports, "DocumentStatusGlyph", {
|
|
46498
46498
|
enumerable: true,
|
|
46499
|
-
get: function () { return
|
|
46499
|
+
get: function () { return chunkBT2QTDZ4_cjs.DocumentStatusGlyph; }
|
|
46500
46500
|
});
|
|
46501
46501
|
Object.defineProperty(exports, "DocumentSyncGlyph", {
|
|
46502
46502
|
enumerable: true,
|
|
46503
|
-
get: function () { return
|
|
46503
|
+
get: function () { return chunkBT2QTDZ4_cjs.DocumentSyncGlyph; }
|
|
46504
46504
|
});
|
|
46505
46505
|
Object.defineProperty(exports, "FileTooltipContent", {
|
|
46506
46506
|
enumerable: true,
|
|
46507
|
-
get: function () { return
|
|
46507
|
+
get: function () { return chunkBT2QTDZ4_cjs.FileTooltipContent; }
|
|
46508
46508
|
});
|
|
46509
46509
|
Object.defineProperty(exports, "RelatedDocumentsCell", {
|
|
46510
46510
|
enumerable: true,
|
|
46511
|
-
get: function () { return
|
|
46511
|
+
get: function () { return chunkBT2QTDZ4_cjs.RelatedDocumentsCell; }
|
|
46512
46512
|
});
|
|
46513
46513
|
Object.defineProperty(exports, "StatusCell", {
|
|
46514
46514
|
enumerable: true,
|
|
46515
|
-
get: function () { return
|
|
46515
|
+
get: function () { return chunkBT2QTDZ4_cjs.StatusCell; }
|
|
46516
46516
|
});
|
|
46517
46517
|
Object.defineProperty(exports, "UserAvatar", {
|
|
46518
46518
|
enumerable: true,
|
|
46519
|
-
get: function () { return
|
|
46519
|
+
get: function () { return chunkBT2QTDZ4_cjs.UserAvatar; }
|
|
46520
46520
|
});
|
|
46521
46521
|
Object.defineProperty(exports, "isActiveDocumentStatus", {
|
|
46522
46522
|
enumerable: true,
|
|
46523
|
-
get: function () { return
|
|
46523
|
+
get: function () { return chunkBT2QTDZ4_cjs.isActiveDocumentStatus; }
|
|
46524
46524
|
});
|
|
46525
46525
|
Object.defineProperty(exports, "openPendingSyncDialog", {
|
|
46526
46526
|
enumerable: true,
|
|
46527
|
-
get: function () { return
|
|
46527
|
+
get: function () { return chunkBT2QTDZ4_cjs.openPendingSyncDialog; }
|
|
46528
46528
|
});
|
|
46529
46529
|
Object.defineProperty(exports, "parseQuotaError", {
|
|
46530
46530
|
enumerable: true,
|
|
46531
|
-
get: function () { return
|
|
46531
|
+
get: function () { return chunkBT2QTDZ4_cjs.parseQuotaError; }
|
|
46532
46532
|
});
|
|
46533
46533
|
Object.defineProperty(exports, "startMenuItem", {
|
|
46534
46534
|
enumerable: true,
|
|
46535
|
-
get: function () { return
|
|
46535
|
+
get: function () { return chunkBT2QTDZ4_cjs.startMenuItem; }
|
|
46536
46536
|
});
|
|
46537
46537
|
Object.defineProperty(exports, "useDocumentFolders", {
|
|
46538
46538
|
enumerable: true,
|
|
46539
|
-
get: function () { return
|
|
46539
|
+
get: function () { return chunkBT2QTDZ4_cjs.useDocumentFolders; }
|
|
46540
46540
|
});
|
|
46541
46541
|
Object.defineProperty(exports, "ConnectedWorkflowsTable", {
|
|
46542
46542
|
enumerable: true,
|
|
@@ -46580,7 +46580,7 @@ Object.defineProperty(exports, "useConnectedWorkflowScopeSource", {
|
|
|
46580
46580
|
});
|
|
46581
46581
|
Object.defineProperty(exports, "useMeetingThreadMessages", {
|
|
46582
46582
|
enumerable: true,
|
|
46583
|
-
get: function () { return
|
|
46583
|
+
get: function () { return chunkHG72AVXX_cjs.useMeetingThreadMessages; }
|
|
46584
46584
|
});
|
|
46585
46585
|
Object.defineProperty(exports, "ConnectedUserEntity", {
|
|
46586
46586
|
enumerable: true,
|