@arbidocs/blocks 0.5.187 → 0.5.189
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ConnectedCallDock-PZJRO54J.cjs → ConnectedCallDock-7GGYYQNK.cjs} +8 -8
- package/dist/{ConnectedCallDock-PZJRO54J.cjs.map → ConnectedCallDock-7GGYYQNK.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-NGSUG6MI.cjs → ConnectedCallRoom-ZZ7RBGGY.cjs} +8 -8
- package/dist/{ConnectedCallRoom-NGSUG6MI.cjs.map → ConnectedCallRoom-ZZ7RBGGY.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-NKCKBY3P.cjs → DocumentReviewCard-RFE4THHR.cjs} +12 -12
- package/dist/{DocumentReviewCard-NKCKBY3P.cjs.map → DocumentReviewCard-RFE4THHR.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-T4SOKUKO.cjs → FilesViewerDialog-6OCS7XMG.cjs} +7 -7
- package/dist/{FilesViewerDialog-T4SOKUKO.cjs.map → FilesViewerDialog-6OCS7XMG.cjs.map} +1 -1
- package/dist/{ai-CTJWECJ5.cjs → ai-A5YTWIEC.cjs} +14 -14
- package/dist/ai-A5YTWIEC.cjs.map +1 -0
- package/dist/calls/connected/DmCallButton.d.ts +1 -1
- package/dist/calls/connected/DmCallButton.js +9 -1
- package/dist/calls/connected/DmCallButton.js.map +2 -2
- package/dist/calls/index.cjs +22 -22
- package/dist/chat/index.cjs +59 -55
- package/dist/chat/index.d.ts +1 -0
- package/dist/chat/index.js +2 -0
- package/dist/chat/index.js.map +2 -2
- package/dist/{chunk-ZTLPUUZB.cjs → chunk-2QGTWHPQ.cjs} +2 -2
- package/dist/{chunk-ZTLPUUZB.cjs.map → chunk-2QGTWHPQ.cjs.map} +1 -1
- package/dist/{chunk-LRBX4VIG.cjs → chunk-5RUY5THD.cjs} +4 -4
- package/dist/{chunk-LRBX4VIG.cjs.map → chunk-5RUY5THD.cjs.map} +1 -1
- package/dist/{chunk-SFAAOEQE.cjs → chunk-72O4YH5M.cjs} +7 -2
- package/dist/chunk-72O4YH5M.cjs.map +1 -0
- package/dist/{chunk-7ARRFRQR.cjs → chunk-E7BSG5IS.cjs} +37 -38
- package/dist/chunk-E7BSG5IS.cjs.map +1 -0
- package/dist/{chunk-J4X3LYGC.cjs → chunk-GENUGV6V.cjs} +4 -4
- package/dist/{chunk-J4X3LYGC.cjs.map → chunk-GENUGV6V.cjs.map} +1 -1
- package/dist/{chunk-WDL3TOMX.cjs → chunk-HO2AURAQ.cjs} +6 -6
- package/dist/{chunk-WDL3TOMX.cjs.map → chunk-HO2AURAQ.cjs.map} +1 -1
- package/dist/{chunk-ZHLBTIJJ.cjs → chunk-HS7TUDEM.cjs} +5 -4
- package/dist/chunk-HS7TUDEM.cjs.map +1 -0
- package/dist/{chunk-TLEEVRYB.cjs → chunk-HTH3XIFF.cjs} +8 -8
- package/dist/{chunk-TLEEVRYB.cjs.map → chunk-HTH3XIFF.cjs.map} +1 -1
- package/dist/{chunk-DXOYRQKH.cjs → chunk-IRDL2EC6.cjs} +9 -9
- package/dist/{chunk-DXOYRQKH.cjs.map → chunk-IRDL2EC6.cjs.map} +1 -1
- package/dist/{chunk-6VIS6B3O.cjs → chunk-IXSOSISW.cjs} +28 -28
- package/dist/{chunk-6VIS6B3O.cjs.map → chunk-IXSOSISW.cjs.map} +1 -1
- package/dist/{chunk-FTSXCBUO.cjs → chunk-JEUHT7XH.cjs} +6 -6
- package/dist/{chunk-FTSXCBUO.cjs.map → chunk-JEUHT7XH.cjs.map} +1 -1
- package/dist/{chunk-WIQDXRRB.cjs → chunk-PGKCL6YA.cjs} +39 -39
- package/dist/{chunk-WIQDXRRB.cjs.map → chunk-PGKCL6YA.cjs.map} +1 -1
- package/dist/{chunk-HYULUR6E.cjs → chunk-PPHXBDJP.cjs} +9 -9
- package/dist/{chunk-HYULUR6E.cjs.map → chunk-PPHXBDJP.cjs.map} +1 -1
- package/dist/{chunk-DWUWPF2A.cjs → chunk-SFKBQLFV.cjs} +51 -51
- package/dist/{chunk-DWUWPF2A.cjs.map → chunk-SFKBQLFV.cjs.map} +1 -1
- package/dist/{chunk-TW5AGCHR.cjs → chunk-SXC4ZIN4.cjs} +9 -3
- package/dist/chunk-SXC4ZIN4.cjs.map +1 -0
- package/dist/{chunk-H3C5BY2H.cjs → chunk-U4MJIYGD.cjs} +4 -4
- package/dist/{chunk-H3C5BY2H.cjs.map → chunk-U4MJIYGD.cjs.map} +1 -1
- package/dist/{chunk-LIAC6O7W.cjs → chunk-UNT2VY3B.cjs} +4 -4
- package/dist/{chunk-LIAC6O7W.cjs.map → chunk-UNT2VY3B.cjs.map} +1 -1
- package/dist/{chunk-PUCYBYBY.cjs → chunk-USYCBTKK.cjs} +83 -32
- package/dist/chunk-USYCBTKK.cjs.map +1 -0
- package/dist/{chunk-YM77I6V7.cjs → chunk-WHU7ABQE.cjs} +18 -18
- package/dist/{chunk-YM77I6V7.cjs.map → chunk-WHU7ABQE.cjs.map} +1 -1
- package/dist/connect/index.cjs +621 -621
- package/dist/connect/viewer.cjs +5 -5
- package/dist/connection/files/explorer/FileTiles.js +2 -4
- package/dist/connection/files/explorer/FileTiles.js.map +2 -2
- package/dist/databases/DatabaseRowDetail.d.ts +2 -2
- package/dist/databases/DatabaseRowDetail.js +22 -35
- package/dist/databases/DatabaseRowDetail.js.map +2 -2
- package/dist/databases/DocumentSourcesField.d.ts +12 -0
- package/dist/databases/DocumentSourcesField.js +72 -0
- package/dist/databases/DocumentSourcesField.js.map +7 -0
- package/dist/databases/index.cjs +70 -69
- package/dist/embed/index.cjs +12 -12
- package/dist/files/index.cjs +219 -219
- package/dist/files/visibility.d.ts +5 -0
- package/dist/files/visibility.js +6 -1
- package/dist/files/visibility.js.map +2 -2
- package/dist/index.cjs +107 -103
- package/dist/pages/index.cjs +19 -19
- package/dist/studio/index.cjs +5 -5
- package/dist/workflow-canvas/index.cjs +16 -16
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ai-CTJWECJ5.cjs.map +0 -1
- package/dist/chunk-7ARRFRQR.cjs.map +0 -1
- package/dist/chunk-PUCYBYBY.cjs.map +0 -1
- package/dist/chunk-SFAAOEQE.cjs.map +0 -1
- package/dist/chunk-TW5AGCHR.cjs.map +0 -1
- package/dist/chunk-ZHLBTIJJ.cjs.map +0 -1
package/dist/connect/index.cjs
CHANGED
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
|
|
4
4
|
var chunkL3MYUPSH_cjs = require('../chunk-L3MYUPSH.cjs');
|
|
5
5
|
var chunkHHZDURXN_cjs = require('../chunk-HHZDURXN.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkIXSOSISW_cjs = require('../chunk-IXSOSISW.cjs');
|
|
7
7
|
var chunkXKXKEVHH_cjs = require('../chunk-XKXKEVHH.cjs');
|
|
8
8
|
var chunkTAGA6LNP_cjs = require('../chunk-TAGA6LNP.cjs');
|
|
9
9
|
var chunk5GCCUXMT_cjs = require('../chunk-5GCCUXMT.cjs');
|
|
10
10
|
var chunkWHHBEV4G_cjs = require('../chunk-WHHBEV4G.cjs');
|
|
11
11
|
var chunkXYN3RP5W_cjs = require('../chunk-XYN3RP5W.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkHTH3XIFF_cjs = require('../chunk-HTH3XIFF.cjs');
|
|
13
13
|
require('../chunk-DWRUGOTQ.cjs');
|
|
14
|
-
var
|
|
15
|
-
var
|
|
14
|
+
var chunk5RUY5THD_cjs = require('../chunk-5RUY5THD.cjs');
|
|
15
|
+
var chunkPPHXBDJP_cjs = require('../chunk-PPHXBDJP.cjs');
|
|
16
16
|
var chunk32W2S6DE_cjs = require('../chunk-32W2S6DE.cjs');
|
|
17
17
|
var chunk6OPDKROP_cjs = require('../chunk-6OPDKROP.cjs');
|
|
18
18
|
require('../chunk-KD66CBYO.cjs');
|
|
19
|
-
var
|
|
19
|
+
var chunkPGKCL6YA_cjs = require('../chunk-PGKCL6YA.cjs');
|
|
20
20
|
var chunk7GVKG3G4_cjs = require('../chunk-7GVKG3G4.cjs');
|
|
21
21
|
var chunkOHWYQI3B_cjs = require('../chunk-OHWYQI3B.cjs');
|
|
22
|
-
var
|
|
23
|
-
var
|
|
22
|
+
var chunkU4MJIYGD_cjs = require('../chunk-U4MJIYGD.cjs');
|
|
23
|
+
var chunkUNT2VY3B_cjs = require('../chunk-UNT2VY3B.cjs');
|
|
24
24
|
var chunkER2MRSLT_cjs = require('../chunk-ER2MRSLT.cjs');
|
|
25
25
|
var chunkVD3HI5RF_cjs = require('../chunk-VD3HI5RF.cjs');
|
|
26
26
|
var chunkCWECDS4I_cjs = require('../chunk-CWECDS4I.cjs');
|
|
@@ -37,16 +37,16 @@ var chunk4CIVQWAX_cjs = require('../chunk-4CIVQWAX.cjs');
|
|
|
37
37
|
var chunkQWVUBTW3_cjs = require('../chunk-QWVUBTW3.cjs');
|
|
38
38
|
var chunkJVEDKKNO_cjs = require('../chunk-JVEDKKNO.cjs');
|
|
39
39
|
var chunkJ5CBCUQE_cjs = require('../chunk-J5CBCUQE.cjs');
|
|
40
|
-
var
|
|
40
|
+
var chunkGENUGV6V_cjs = require('../chunk-GENUGV6V.cjs');
|
|
41
41
|
var chunkD4SJT3NG_cjs = require('../chunk-D4SJT3NG.cjs');
|
|
42
42
|
require('../chunk-OUYBYZ7Y.cjs');
|
|
43
43
|
var chunkA7MGQMOV_cjs = require('../chunk-A7MGQMOV.cjs');
|
|
44
|
-
var
|
|
44
|
+
var chunkE7BSG5IS_cjs = require('../chunk-E7BSG5IS.cjs');
|
|
45
45
|
var chunkLYDSETR7_cjs = require('../chunk-LYDSETR7.cjs');
|
|
46
46
|
require('../chunk-WJIAA6G3.cjs');
|
|
47
47
|
require('../chunk-JWCVA4LC.cjs');
|
|
48
48
|
var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
|
|
49
|
-
var
|
|
49
|
+
var chunk72O4YH5M_cjs = require('../chunk-72O4YH5M.cjs');
|
|
50
50
|
var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
|
|
51
51
|
require('../chunk-DTMBAFIL.cjs');
|
|
52
52
|
var chunk4TCOUQMC_cjs = require('../chunk-4TCOUQMC.cjs');
|
|
@@ -59,13 +59,13 @@ require('../chunk-76S6WTEC.cjs');
|
|
|
59
59
|
var chunkYSAUOJA7_cjs = require('../chunk-YSAUOJA7.cjs');
|
|
60
60
|
var chunkJ37DOAGN_cjs = require('../chunk-J37DOAGN.cjs');
|
|
61
61
|
require('../chunk-QEMGGJB6.cjs');
|
|
62
|
-
var
|
|
62
|
+
var chunkUSYCBTKK_cjs = require('../chunk-USYCBTKK.cjs');
|
|
63
63
|
var chunkHUAABZ2C_cjs = require('../chunk-HUAABZ2C.cjs');
|
|
64
64
|
var chunkGISMY7J7_cjs = require('../chunk-GISMY7J7.cjs');
|
|
65
65
|
var chunkV5P5MRSR_cjs = require('../chunk-V5P5MRSR.cjs');
|
|
66
66
|
var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
|
|
67
67
|
require('../chunk-LIJB6XOR.cjs');
|
|
68
|
-
var
|
|
68
|
+
var chunk2QGTWHPQ_cjs = require('../chunk-2QGTWHPQ.cjs');
|
|
69
69
|
var chunkI6GEQWIV_cjs = require('../chunk-I6GEQWIV.cjs');
|
|
70
70
|
var chunkNX56DIG3_cjs = require('../chunk-NX56DIG3.cjs');
|
|
71
71
|
var chunkTLIZD6DV_cjs = require('../chunk-TLIZD6DV.cjs');
|
|
@@ -76,11 +76,11 @@ var chunk4B6HYQTW_cjs = require('../chunk-4B6HYQTW.cjs');
|
|
|
76
76
|
var chunk5K6XHSAM_cjs = require('../chunk-5K6XHSAM.cjs');
|
|
77
77
|
require('../chunk-PCB2BPN3.cjs');
|
|
78
78
|
var chunkKLMNCBLY_cjs = require('../chunk-KLMNCBLY.cjs');
|
|
79
|
-
var
|
|
79
|
+
var chunkHO2AURAQ_cjs = require('../chunk-HO2AURAQ.cjs');
|
|
80
80
|
require('../chunk-UXGIMOIN.cjs');
|
|
81
|
-
var
|
|
81
|
+
var chunkWHU7ABQE_cjs = require('../chunk-WHU7ABQE.cjs');
|
|
82
82
|
var chunkW5JTACMK_cjs = require('../chunk-W5JTACMK.cjs');
|
|
83
|
-
var
|
|
83
|
+
var chunkHS7TUDEM_cjs = require('../chunk-HS7TUDEM.cjs');
|
|
84
84
|
require('../chunk-5F4DCIHS.cjs');
|
|
85
85
|
var chunkTNVCTYZI_cjs = require('../chunk-TNVCTYZI.cjs');
|
|
86
86
|
require('../chunk-7G2LJMUG.cjs');
|
|
@@ -151,7 +151,7 @@ var chunkFUGQ7YQW_cjs = require('../chunk-FUGQ7YQW.cjs');
|
|
|
151
151
|
var chunkQUMUAJ2P_cjs = require('../chunk-QUMUAJ2P.cjs');
|
|
152
152
|
var chunkDNHZYLPK_cjs = require('../chunk-DNHZYLPK.cjs');
|
|
153
153
|
var chunkVZOOGA47_cjs = require('../chunk-VZOOGA47.cjs');
|
|
154
|
-
var
|
|
154
|
+
var chunkSXC4ZIN4_cjs = require('../chunk-SXC4ZIN4.cjs');
|
|
155
155
|
require('../chunk-OAIOOVFN.cjs');
|
|
156
156
|
var chunkJTBWI74K_cjs = require('../chunk-JTBWI74K.cjs');
|
|
157
157
|
var chunk7VUO4QZH_cjs = require('../chunk-7VUO4QZH.cjs');
|
|
@@ -280,7 +280,7 @@ function ConnectedWorkspaceActivity({
|
|
|
280
280
|
[feed.data]
|
|
281
281
|
);
|
|
282
282
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
283
|
-
|
|
283
|
+
chunk2QGTWHPQ_cjs.WorkspaceActivityList,
|
|
284
284
|
{
|
|
285
285
|
...listProps,
|
|
286
286
|
items,
|
|
@@ -339,7 +339,7 @@ async function joinEvent({ arbi, environment }, eventId, recurrenceId) {
|
|
|
339
339
|
const event = await arbi.calendar.getEvent(eventId, recurrenceId);
|
|
340
340
|
const url = event.conference?.url;
|
|
341
341
|
if (url && /^https?:\/\//i.test(url)) {
|
|
342
|
-
await
|
|
342
|
+
await chunkHTH3XIFF_cjs.joinEventMeeting(arbi, url);
|
|
343
343
|
return;
|
|
344
344
|
}
|
|
345
345
|
} catch {
|
|
@@ -1071,7 +1071,7 @@ function ConnectedNotificationCenter({ headerRight }) {
|
|
|
1071
1071
|
renderWorkspace: (workspaceId) => {
|
|
1072
1072
|
const workspace = byId.get(workspaceId);
|
|
1073
1073
|
return workspace ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1074
|
-
|
|
1074
|
+
chunkHTH3XIFF_cjs.ConnectedWorkspaceEntity,
|
|
1075
1075
|
{
|
|
1076
1076
|
workspace,
|
|
1077
1077
|
size: 16,
|
|
@@ -1200,14 +1200,14 @@ function ConnectedOfflineStatus({ compact = false }) {
|
|
|
1200
1200
|
const openOutbox = () => openMail?.(outbox.length > 0 ? { folder: outboxFolder } : void 0);
|
|
1201
1201
|
let tone;
|
|
1202
1202
|
let label;
|
|
1203
|
-
let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox :
|
|
1203
|
+
let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunkE7BSG5IS_cjs.openPendingSyncDialog;
|
|
1204
1204
|
if (!isOnline) {
|
|
1205
1205
|
tone = "offline";
|
|
1206
1206
|
label = waiting > 0 ? `Offline \xB7 ${waiting} pending` : "Offline";
|
|
1207
1207
|
} else if (failed > 0) {
|
|
1208
1208
|
tone = "failed";
|
|
1209
1209
|
label = `${plural2(failed, "change", "changes")} didn\u2019t sync`;
|
|
1210
|
-
onOpen =
|
|
1210
|
+
onOpen = chunkE7BSG5IS_cjs.openPendingSyncDialog;
|
|
1211
1211
|
} else if (outboxFailed > 0) {
|
|
1212
1212
|
tone = "failed";
|
|
1213
1213
|
label = `${plural2(outboxFailed, "email", "emails")} not sent`;
|
|
@@ -1844,7 +1844,7 @@ function ConnectedSkillsBrowser({
|
|
|
1844
1844
|
}
|
|
1845
1845
|
) }),
|
|
1846
1846
|
runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1847
|
-
|
|
1847
|
+
chunkPPHXBDJP_cjs.ConnectedTaskComposer,
|
|
1848
1848
|
{
|
|
1849
1849
|
kind: "workflow",
|
|
1850
1850
|
open: true,
|
|
@@ -2218,7 +2218,7 @@ function AgentChat({ agentId, workspaceId, onOpenFull }) {
|
|
|
2218
2218
|
/* @__PURE__ */ jsxRuntime.jsx("ol", { className: "mt-2 space-y-1", children: activity.map((name, i) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap break-all", children: name }) }, i)) })
|
|
2219
2219
|
] }),
|
|
2220
2220
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2221
|
-
|
|
2221
|
+
chunkWHU7ABQE_cjs.ChatPage,
|
|
2222
2222
|
{
|
|
2223
2223
|
chat: { ...chat, assistantMode: void 0, setAssistantMode: void 0 },
|
|
2224
2224
|
surface: "dock",
|
|
@@ -2345,7 +2345,7 @@ function ConnectedAgentChatPanel({
|
|
|
2345
2345
|
]
|
|
2346
2346
|
}
|
|
2347
2347
|
),
|
|
2348
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2348
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(chunkSXC4ZIN4_cjs.OwnedAgentCallButton, { agentId, workspaceExtId: selectedWorkspaceId }) }),
|
|
2349
2349
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2350
2350
|
"button",
|
|
2351
2351
|
{
|
|
@@ -2489,7 +2489,7 @@ function useMemoryCount(enabled) {
|
|
|
2489
2489
|
}
|
|
2490
2490
|
function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
2491
2491
|
const { notify: notify19, confirm, openConversation, openDocument } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
2492
|
-
const people =
|
|
2492
|
+
const people = chunkPPHXBDJP_cjs.useTaskPeople();
|
|
2493
2493
|
const canEditShared = react$1.useCanEditShared();
|
|
2494
2494
|
const isWorkspaceOwner = react$1.useIsWorkspaceOwner();
|
|
2495
2495
|
const { data: workflows = [] } = react$1.useWorkflows({ live: true });
|
|
@@ -2545,7 +2545,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
|
|
|
2545
2545
|
}
|
|
2546
2546
|
),
|
|
2547
2547
|
activityFor && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2548
|
-
|
|
2548
|
+
chunkPPHXBDJP_cjs.ConnectedTaskActivityDialog,
|
|
2549
2549
|
{
|
|
2550
2550
|
conversationId: activityFor.external_id,
|
|
2551
2551
|
taskName: activityFor.title || l.untitledTask,
|
|
@@ -2704,7 +2704,7 @@ function ConnectedAgentsPageScope(props) {
|
|
|
2704
2704
|
children,
|
|
2705
2705
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
|
|
2706
2706
|
taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2707
|
-
|
|
2707
|
+
chunkPPHXBDJP_cjs.ConnectedTaskComposer,
|
|
2708
2708
|
{
|
|
2709
2709
|
open: true,
|
|
2710
2710
|
onOpenChange: (open) => !open && setTaskDialog(null),
|
|
@@ -3167,7 +3167,7 @@ function ConnectedTagTable({
|
|
|
3167
3167
|
const fail2 = (fallback) => (e) => notify19(browser.refusalReason(e, fallback), "error");
|
|
3168
3168
|
const snapshot2 = (data) => {
|
|
3169
3169
|
const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
|
|
3170
|
-
const bytes =
|
|
3170
|
+
const bytes = chunk2QGTWHPQ_cjs.tagTableDocx(data, {
|
|
3171
3171
|
title,
|
|
3172
3172
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
3173
3173
|
});
|
|
@@ -3176,7 +3176,7 @@ function ConnectedTagTable({
|
|
|
3176
3176
|
return { blob: new Blob([bytes], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }), name };
|
|
3177
3177
|
};
|
|
3178
3178
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3179
|
-
|
|
3179
|
+
chunk2QGTWHPQ_cjs.TagTable,
|
|
3180
3180
|
{
|
|
3181
3181
|
...props,
|
|
3182
3182
|
table,
|
|
@@ -4014,8 +4014,8 @@ function ConnectedAiReview({
|
|
|
4014
4014
|
const generate = react$1.useGenerateDocTags();
|
|
4015
4015
|
const { data: liveDocs = [] } = react$1.useDocuments();
|
|
4016
4016
|
const { data: tags = [] } = react$1.useTags();
|
|
4017
|
-
const result =
|
|
4018
|
-
const setResult =
|
|
4017
|
+
const result = chunkGENUGV6V_cjs.useAiReviewStore((s) => s.run);
|
|
4018
|
+
const setResult = chunkGENUGV6V_cjs.useAiReviewStore((s) => s.setRun);
|
|
4019
4019
|
const phase = result ? "review" : "ask";
|
|
4020
4020
|
const docCount = documents.length;
|
|
4021
4021
|
const scope = allDocuments ? "processed" : "selected";
|
|
@@ -4250,7 +4250,7 @@ function ConnectedAiReview({
|
|
|
4250
4250
|
}, [kind]);
|
|
4251
4251
|
const description = phase === "ask" ? assistant.reviewEach(docCount, scope) : aiCellsTotal > 0 ? reviewProgress(aiCellsDone, aiCellsEmpty, aiCellsTotal) : `Applied to ${rows.length} document${plural3(rows.length)}`;
|
|
4252
4252
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4253
|
-
|
|
4253
|
+
chunk72O4YH5M_cjs.AiReviewDialogView,
|
|
4254
4254
|
{
|
|
4255
4255
|
open,
|
|
4256
4256
|
onOpenChange: handleOpenChange,
|
|
@@ -4301,9 +4301,9 @@ function GlossaryExport({ labelId, nameOf }) {
|
|
|
4301
4301
|
const narrowed = agreements.find((a) => a.id === narrowTo);
|
|
4302
4302
|
const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
|
|
4303
4303
|
const download = (format) => {
|
|
4304
|
-
const entries =
|
|
4305
|
-
const blob = format === "docx" ? new Blob([
|
|
4306
|
-
documentTools.downloadBlob(blob,
|
|
4304
|
+
const entries = chunk2QGTWHPQ_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
|
|
4305
|
+
const blob = format === "docx" ? new Blob([chunk2QGTWHPQ_cjs.glossaryDocx(entries, { title })], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }) : new Blob([chunk2QGTWHPQ_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
|
|
4306
|
+
documentTools.downloadBlob(blob, chunk2QGTWHPQ_cjs.glossaryFileName(title, format));
|
|
4307
4307
|
};
|
|
4308
4308
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
|
|
4309
4309
|
agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -4368,8 +4368,8 @@ function useOpenTaggedContent() {
|
|
|
4368
4368
|
if (!workspaceId) return;
|
|
4369
4369
|
session.setTransientView("topbar.filter", "");
|
|
4370
4370
|
if (kind === "documents") {
|
|
4371
|
-
|
|
4372
|
-
|
|
4371
|
+
chunkGENUGV6V_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
|
|
4372
|
+
chunkGENUGV6V_cjs.useFilesPrefs.getState().setViewMode("grid");
|
|
4373
4373
|
session.setPage("documents");
|
|
4374
4374
|
} else if (kind === "facts") {
|
|
4375
4375
|
session.setViewFilter(FACTS_FILTER_KEY, { [tagId]: "include" });
|
|
@@ -4408,7 +4408,7 @@ function ConnectedTagForm({
|
|
|
4408
4408
|
nameByKind = false
|
|
4409
4409
|
}) {
|
|
4410
4410
|
const isCreate = !tag;
|
|
4411
|
-
const memberById =
|
|
4411
|
+
const memberById = chunkIXSOSISW_cjs.useMemberLookup();
|
|
4412
4412
|
const creator = memberById(tag?.created_by_ext_id);
|
|
4413
4413
|
const updater = memberById(tag?.updated_by_ext_id);
|
|
4414
4414
|
const fieldLabel = ui.getEntityLabel("TAG", "SINGULAR");
|
|
@@ -4487,19 +4487,19 @@ function ConnectedTagForm({
|
|
|
4487
4487
|
metaLines.push({
|
|
4488
4488
|
text: `Created ${ui.formatFriendlyDate(tag.created_at)}`,
|
|
4489
4489
|
byLabel: "by",
|
|
4490
|
-
by: creator ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4490
|
+
by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkUNT2VY3B_cjs.DocumentUser, { user: creator }) : void 0
|
|
4491
4491
|
});
|
|
4492
4492
|
if (tag.updated_at && tag.updated_at !== tag.created_at) {
|
|
4493
4493
|
metaLines.push({
|
|
4494
4494
|
text: `Updated ${ui.formatFriendlyDate(tag.updated_at)}`,
|
|
4495
4495
|
byLabel: "by",
|
|
4496
|
-
by: updater ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4496
|
+
by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkUNT2VY3B_cjs.DocumentUser, { user: updater }) : void 0
|
|
4497
4497
|
});
|
|
4498
4498
|
}
|
|
4499
4499
|
}
|
|
4500
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4500
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.TagFormRoot, { children: [
|
|
4501
4501
|
!nameOnRow && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4502
|
-
|
|
4502
|
+
chunk72O4YH5M_cjs.TagFormNameField,
|
|
4503
4503
|
{
|
|
4504
4504
|
label: group || nameByKind ? `${ui.tagKindTitle(kind)} Name` : `${columnLabel} Name`,
|
|
4505
4505
|
placeholder: `Enter ${kindNoun ?? columnLabel.toLowerCase()} name...`,
|
|
@@ -4509,7 +4509,7 @@ function ConnectedTagForm({
|
|
|
4509
4509
|
}
|
|
4510
4510
|
),
|
|
4511
4511
|
kinds2.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4512
|
-
|
|
4512
|
+
chunk72O4YH5M_cjs.TagFormSelectField,
|
|
4513
4513
|
{
|
|
4514
4514
|
label: "Kind",
|
|
4515
4515
|
testId: "inline-tag-form-kind-field",
|
|
@@ -4524,7 +4524,7 @@ function ConnectedTagForm({
|
|
|
4524
4524
|
}
|
|
4525
4525
|
),
|
|
4526
4526
|
kind === "annotation" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4527
|
-
|
|
4527
|
+
chunk72O4YH5M_cjs.TagFormSelectField,
|
|
4528
4528
|
{
|
|
4529
4529
|
label: group === "annotation" ? "Value type" : "Field Type",
|
|
4530
4530
|
testId: "inline-tag-form-type-field",
|
|
@@ -4536,7 +4536,7 @@ function ConnectedTagForm({
|
|
|
4536
4536
|
}
|
|
4537
4537
|
),
|
|
4538
4538
|
showParentPicker && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4539
|
-
|
|
4539
|
+
chunk72O4YH5M_cjs.TagFormSelectField,
|
|
4540
4540
|
{
|
|
4541
4541
|
label: "Nested Under",
|
|
4542
4542
|
value: parentId,
|
|
@@ -4558,14 +4558,14 @@ function ConnectedTagForm({
|
|
|
4558
4558
|
]
|
|
4559
4559
|
}
|
|
4560
4560
|
),
|
|
4561
|
-
nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4561
|
+
nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
|
|
4562
4562
|
"Other fields are nested under this one, so it cannot itself be nested \u2014 fields nest",
|
|
4563
4563
|
" ",
|
|
4564
4564
|
browser.TAG_NESTING_MAX_DEPTH,
|
|
4565
4565
|
" levels deep."
|
|
4566
4566
|
] }),
|
|
4567
4567
|
tagType === "select" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4568
|
-
|
|
4568
|
+
chunk72O4YH5M_cjs.TagFormOptionsEditor,
|
|
4569
4569
|
{
|
|
4570
4570
|
label: "Options",
|
|
4571
4571
|
options,
|
|
@@ -4578,7 +4578,7 @@ function ConnectedTagForm({
|
|
|
4578
4578
|
}
|
|
4579
4579
|
),
|
|
4580
4580
|
tagType === "text" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4581
|
-
|
|
4581
|
+
chunk72O4YH5M_cjs.TagFormInstructionField,
|
|
4582
4582
|
{
|
|
4583
4583
|
label: "AI Instruction",
|
|
4584
4584
|
optionalLabel: "(optional)",
|
|
@@ -4588,12 +4588,12 @@ function ConnectedTagForm({
|
|
|
4588
4588
|
onChange: setInstruction
|
|
4589
4589
|
}
|
|
4590
4590
|
),
|
|
4591
|
-
metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4591
|
+
metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.TagFormMeta, { lines: metaLines }),
|
|
4592
4592
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4593
|
-
|
|
4593
|
+
chunk72O4YH5M_cjs.TagFormFooter,
|
|
4594
4594
|
{
|
|
4595
4595
|
sharedToggle: isCreate || !group ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4596
|
-
|
|
4596
|
+
chunk72O4YH5M_cjs.TagFormSharedToggle,
|
|
4597
4597
|
{
|
|
4598
4598
|
label: "Shared with workspace",
|
|
4599
4599
|
toggle: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4833,7 +4833,7 @@ function KindSection({
|
|
|
4833
4833
|
{
|
|
4834
4834
|
testId: `tags-kind-${kind}`,
|
|
4835
4835
|
title: ui.tagKindTitle(kind, { plural: true }),
|
|
4836
|
-
description:
|
|
4836
|
+
description: chunk2QGTWHPQ_cjs.tagKindDescription(kind),
|
|
4837
4837
|
children: [
|
|
4838
4838
|
browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4839
4839
|
"p",
|
|
@@ -4843,9 +4843,9 @@ function KindSection({
|
|
|
4843
4843
|
children: [
|
|
4844
4844
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
|
|
4845
4845
|
"Extracting ",
|
|
4846
|
-
|
|
4846
|
+
chunk2QGTWHPQ_cjs.entitiesPhrase().toLowerCase(),
|
|
4847
4847
|
" from ",
|
|
4848
|
-
|
|
4848
|
+
chunk2QGTWHPQ_cjs.documentCount(extractingCount),
|
|
4849
4849
|
"\u2026"
|
|
4850
4850
|
]
|
|
4851
4851
|
}
|
|
@@ -4863,7 +4863,7 @@ function KindSection({
|
|
|
4863
4863
|
onOpenTag: ctx.onOpenTag,
|
|
4864
4864
|
onOpenRow: ctx.onOpenTag,
|
|
4865
4865
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4866
|
-
labels:
|
|
4866
|
+
labels: chunk2QGTWHPQ_cjs.tagTableLabels(kind),
|
|
4867
4867
|
testId: `tags-table-${kind}`
|
|
4868
4868
|
}
|
|
4869
4869
|
)
|
|
@@ -4971,15 +4971,15 @@ function TagSection({
|
|
|
4971
4971
|
onOpenTag: ctx.onOpenTag,
|
|
4972
4972
|
onOpenRow: ctx.onOpenTag,
|
|
4973
4973
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4974
|
-
labels:
|
|
4974
|
+
labels: chunk2QGTWHPQ_cjs.tagTableLabels(tag.kind),
|
|
4975
4975
|
testId: "tags-rows"
|
|
4976
4976
|
}
|
|
4977
4977
|
),
|
|
4978
4978
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4979
|
-
|
|
4979
|
+
chunk2QGTWHPQ_cjs.TagDetail,
|
|
4980
4980
|
{
|
|
4981
4981
|
onOpenTaggedItems: ctx.onOpenTaggedItems,
|
|
4982
|
-
fieldLabels:
|
|
4982
|
+
fieldLabels: chunk2QGTWHPQ_cjs.tagTableLabels(tag.kind),
|
|
4983
4983
|
row: detailRow,
|
|
4984
4984
|
fields: schema.data?.fields ?? [],
|
|
4985
4985
|
isLoading: detail.isLoading,
|
|
@@ -4993,7 +4993,7 @@ function TagSection({
|
|
|
4993
4993
|
throw e;
|
|
4994
4994
|
})
|
|
4995
4995
|
),
|
|
4996
|
-
labels:
|
|
4996
|
+
labels: chunk2QGTWHPQ_cjs.tagDetailLabels(),
|
|
4997
4997
|
testId: "tags-detail"
|
|
4998
4998
|
}
|
|
4999
4999
|
)
|
|
@@ -5016,9 +5016,9 @@ var TAG_FILTER_FIELDS = [
|
|
|
5016
5016
|
function ConnectedTagsPage() {
|
|
5017
5017
|
const { confirm, notify: notify19, openSmartSearch } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
5018
5018
|
const onOpenTaggedItems = useOpenTaggedContent();
|
|
5019
|
-
const setReviewOpen =
|
|
5020
|
-
const setReviewRun =
|
|
5021
|
-
const reviewOpen =
|
|
5019
|
+
const setReviewOpen = chunkGENUGV6V_cjs.useAiReviewStore((state) => state.setOpen);
|
|
5020
|
+
const setReviewRun = chunkGENUGV6V_cjs.useAiReviewStore((state) => state.setRun);
|
|
5021
|
+
const reviewOpen = chunkGENUGV6V_cjs.useAiReviewStore((state) => state.open);
|
|
5022
5022
|
const [review, setReview] = react.useState(null);
|
|
5023
5023
|
const { data: tags } = chunkGD5OYIOV_cjs.useConnectedTags();
|
|
5024
5024
|
const { data: documents } = chunkGD5OYIOV_cjs.useConnectedDocuments();
|
|
@@ -5077,7 +5077,7 @@ function ConnectedTagsPage() {
|
|
|
5077
5077
|
const nested = browser.getChildTags([...tags], t.external_id);
|
|
5078
5078
|
const uses = browser.tagUseCount(t);
|
|
5079
5079
|
const dbRows = t.dbrow_count ?? 0;
|
|
5080
|
-
const n2 =
|
|
5080
|
+
const n2 = chunk2QGTWHPQ_cjs.tagsPageNouns();
|
|
5081
5081
|
const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
|
|
5082
5082
|
const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
|
|
5083
5083
|
const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
|
|
@@ -5100,11 +5100,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5100
5100
|
try {
|
|
5101
5101
|
await extract.mutateAsync(docIds);
|
|
5102
5102
|
notify19(
|
|
5103
|
-
`Extracting ${
|
|
5103
|
+
`Extracting ${chunk2QGTWHPQ_cjs.entitiesPhrase().toLowerCase()} from ${chunk2QGTWHPQ_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
|
|
5104
5104
|
"info"
|
|
5105
5105
|
);
|
|
5106
5106
|
} catch (error) {
|
|
5107
|
-
notify19(browser.refusalReason(error, `Could not extract ${
|
|
5107
|
+
notify19(browser.refusalReason(error, `Could not extract ${chunk2QGTWHPQ_cjs.entitiesPhrase().toLowerCase()}`), "error");
|
|
5108
5108
|
throw error;
|
|
5109
5109
|
}
|
|
5110
5110
|
};
|
|
@@ -5118,10 +5118,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5118
5118
|
onOpenTag: openTag,
|
|
5119
5119
|
onOpenTaggedItems
|
|
5120
5120
|
};
|
|
5121
|
-
const n =
|
|
5121
|
+
const n = chunk2QGTWHPQ_cjs.tagsPageNouns();
|
|
5122
5122
|
const action = view === "person" || view === "organisation" ? {
|
|
5123
5123
|
label: "Extract",
|
|
5124
|
-
title: `Extract ${
|
|
5124
|
+
title: `Extract ${chunk2QGTWHPQ_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
|
|
5125
5125
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
|
|
5126
5126
|
run: () => setExtracting(true),
|
|
5127
5127
|
testId: "tags-extract-entities"
|
|
@@ -5175,7 +5175,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5175
5175
|
onTabChange: () => {
|
|
5176
5176
|
},
|
|
5177
5177
|
variant: "underline",
|
|
5178
|
-
firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5178
|
+
firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5179
5179
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
5180
5180
|
{
|
|
5181
5181
|
value: filterText,
|
|
@@ -5197,7 +5197,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5197
5197
|
filter: tagFilter
|
|
5198
5198
|
}
|
|
5199
5199
|
) }),
|
|
5200
|
-
centerContent: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5200
|
+
centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5201
5201
|
chunkSNUBQMIS_cjs.ViewToggle,
|
|
5202
5202
|
{
|
|
5203
5203
|
options: browser.TAG_KINDS.map((k) => ({
|
|
@@ -5290,7 +5290,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
|
|
|
5290
5290
|
}
|
|
5291
5291
|
),
|
|
5292
5292
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5293
|
-
|
|
5293
|
+
chunk2QGTWHPQ_cjs.ExtractEntitiesDialog,
|
|
5294
5294
|
{
|
|
5295
5295
|
open: extracting,
|
|
5296
5296
|
onOpenChange: setExtracting,
|
|
@@ -5514,12 +5514,12 @@ function ConnectedExportPanel({
|
|
|
5514
5514
|
current: workspace,
|
|
5515
5515
|
currentRole,
|
|
5516
5516
|
nameOf
|
|
5517
|
-
} =
|
|
5517
|
+
} = chunkHTH3XIFF_cjs.useTransferTargets();
|
|
5518
5518
|
const { data: workspaceTags = [] } = react$1.useTags(currentWorkspaceId ?? void 0);
|
|
5519
5519
|
const { data: workspaceDocuments = [] } = react$1.useDocuments(currentWorkspaceId ?? void 0);
|
|
5520
|
-
const columnsMode =
|
|
5521
|
-
const setColumnsMode =
|
|
5522
|
-
const trackTransfer =
|
|
5520
|
+
const columnsMode = chunkHTH3XIFF_cjs.useExportStore((state) => state.columnsMode);
|
|
5521
|
+
const setColumnsMode = chunkHTH3XIFF_cjs.useExportStore((state) => state.setColumnsMode);
|
|
5522
|
+
const trackTransfer = chunkHTH3XIFF_cjs.useExportStore((state) => state.trackTransfer);
|
|
5523
5523
|
const [scopeChoice, setScopeChoice] = react.useState(
|
|
5524
5524
|
items.length > 0 ? "selection" : "all"
|
|
5525
5525
|
);
|
|
@@ -5564,7 +5564,7 @@ function ConnectedExportPanel({
|
|
|
5564
5564
|
enabled: scopeReady && !jobId
|
|
5565
5565
|
});
|
|
5566
5566
|
const summary = react.useMemo(
|
|
5567
|
-
() => plan ?
|
|
5567
|
+
() => plan ? chunkHTH3XIFF_cjs.describePlan(plan, mode) : { lines: [], warnings: [] },
|
|
5568
5568
|
[plan, mode]
|
|
5569
5569
|
);
|
|
5570
5570
|
const targetName = nameOf;
|
|
@@ -5651,7 +5651,7 @@ function ConnectedExportPanel({
|
|
|
5651
5651
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", "data-testid": "export-documents", children: [
|
|
5652
5652
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-auto space-y-6 p-6", children: [
|
|
5653
5653
|
jobRunning && job && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5654
|
-
|
|
5654
|
+
chunk72O4YH5M_cjs.TransferProgressView,
|
|
5655
5655
|
{
|
|
5656
5656
|
title: `${job.mode === "move" ? "Moving" : "Copying"} to ${targetName(job.target_workspace_ext_id)}`,
|
|
5657
5657
|
processed: job.processed ?? 0,
|
|
@@ -5664,7 +5664,7 @@ function ConnectedExportPanel({
|
|
|
5664
5664
|
),
|
|
5665
5665
|
jobDone && job && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5666
5666
|
react$1.isTransferResumable(job) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5667
|
-
|
|
5667
|
+
chunk72O4YH5M_cjs.TransferResumeBanner,
|
|
5668
5668
|
{
|
|
5669
5669
|
message: `Stopped at ${job.processed} of ${job.total}. Resume to finish \u2014 nothing is copied twice.`,
|
|
5670
5670
|
onResume: () => handleResume(job),
|
|
@@ -5672,9 +5672,9 @@ function ConnectedExportPanel({
|
|
|
5672
5672
|
}
|
|
5673
5673
|
),
|
|
5674
5674
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5675
|
-
|
|
5675
|
+
chunk72O4YH5M_cjs.ExportResultsReport,
|
|
5676
5676
|
{
|
|
5677
|
-
summary: `${job.mode === "move" ? "Moved" : "Copied"} ${
|
|
5677
|
+
summary: `${job.mode === "move" ? "Moved" : "Copied"} ${chunkHTH3XIFF_cjs.plural(
|
|
5678
5678
|
Number(job.counts?.copied ?? 0) + Number(job.counts?.removed ?? 0),
|
|
5679
5679
|
"item"
|
|
5680
5680
|
)} to ${targetName(job.target_workspace_ext_id)}.${job.counts?.failed ? ` ${job.counts.failed} failed.` : ""}`,
|
|
@@ -5685,7 +5685,7 @@ function ConnectedExportPanel({
|
|
|
5685
5685
|
] }),
|
|
5686
5686
|
!jobId && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5687
5687
|
resumable && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5688
|
-
|
|
5688
|
+
chunk72O4YH5M_cjs.TransferResumeBanner,
|
|
5689
5689
|
{
|
|
5690
5690
|
message: `A ${resumable.mode} to ${targetName(resumable.target_workspace_ext_id)} stopped at ${resumable.processed} of ${resumable.total}.`,
|
|
5691
5691
|
onResume: () => handleResume(resumable),
|
|
@@ -5693,7 +5693,7 @@ function ConnectedExportPanel({
|
|
|
5693
5693
|
}
|
|
5694
5694
|
),
|
|
5695
5695
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5696
|
-
|
|
5696
|
+
chunk72O4YH5M_cjs.TransferScopeChooser,
|
|
5697
5697
|
{
|
|
5698
5698
|
scope: scopeChoice,
|
|
5699
5699
|
onScopeChange: setScopeChoice,
|
|
@@ -5704,7 +5704,7 @@ function ConnectedExportPanel({
|
|
|
5704
5704
|
}
|
|
5705
5705
|
),
|
|
5706
5706
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5707
|
-
|
|
5707
|
+
chunk72O4YH5M_cjs.TransferKindsPicker,
|
|
5708
5708
|
{
|
|
5709
5709
|
options: ALL_KINDS.map((kind) => ({
|
|
5710
5710
|
kind,
|
|
@@ -5717,9 +5717,9 @@ function ConnectedExportPanel({
|
|
|
5717
5717
|
)
|
|
5718
5718
|
}
|
|
5719
5719
|
),
|
|
5720
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5720
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
|
|
5721
5721
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5722
|
-
|
|
5722
|
+
chunk72O4YH5M_cjs.ExportMethodChooser,
|
|
5723
5723
|
{
|
|
5724
5724
|
mode,
|
|
5725
5725
|
onModeChange: setMode,
|
|
@@ -5731,22 +5731,22 @@ function ConnectedExportPanel({
|
|
|
5731
5731
|
),
|
|
5732
5732
|
mode !== "download" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5733
5733
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5734
|
-
|
|
5734
|
+
chunk72O4YH5M_cjs.ExportWorkspacePicker,
|
|
5735
5735
|
{
|
|
5736
5736
|
workspaces: workspaceOptions,
|
|
5737
5737
|
selectedId: targetId,
|
|
5738
5738
|
onSelect: setTargetId
|
|
5739
5739
|
}
|
|
5740
5740
|
),
|
|
5741
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5741
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
|
|
5742
5742
|
] }),
|
|
5743
5743
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5744
|
-
|
|
5744
|
+
chunk72O4YH5M_cjs.TransferPlanSummary,
|
|
5745
5745
|
{
|
|
5746
5746
|
lines: summary.lines,
|
|
5747
5747
|
warnings: summary.warnings,
|
|
5748
5748
|
isLoading: isPlanning,
|
|
5749
|
-
error:
|
|
5749
|
+
error: chunkHTH3XIFF_cjs.planFailure(planError),
|
|
5750
5750
|
onRetry: () => void refetchPlan()
|
|
5751
5751
|
}
|
|
5752
5752
|
),
|
|
@@ -5760,7 +5760,7 @@ function ConnectedExportPanel({
|
|
|
5760
5760
|
] })
|
|
5761
5761
|
] }),
|
|
5762
5762
|
!jobId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5763
|
-
|
|
5763
|
+
chunk72O4YH5M_cjs.ExportFooter,
|
|
5764
5764
|
{
|
|
5765
5765
|
onCancel: onClose,
|
|
5766
5766
|
onSubmit: handleSubmit,
|
|
@@ -5801,7 +5801,7 @@ function OpenExportDialog({
|
|
|
5801
5801
|
children: [
|
|
5802
5802
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkCVPV4I7Z_cjs.ModalHeader, { children: [
|
|
5803
5803
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5804
|
-
|
|
5804
|
+
chunk72O4YH5M_cjs.ExportModalTitle,
|
|
5805
5805
|
{
|
|
5806
5806
|
workspace: workspace ? {
|
|
5807
5807
|
icon: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "touch-hit inline-flex", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -6218,7 +6218,7 @@ function ConnectedFieldsEditor({
|
|
|
6218
6218
|
const [sortBy, setSortBy] = react.useState("name-asc");
|
|
6219
6219
|
const [filterText, setFilterText] = react.useState("");
|
|
6220
6220
|
const fieldRows = react.useMemo(
|
|
6221
|
-
() => browser.flattenTagTree(
|
|
6221
|
+
() => browser.flattenTagTree(chunk72O4YH5M_cjs.sortFields(chunk72O4YH5M_cjs.filterFieldsByName(tags, filterText), sortBy)),
|
|
6222
6222
|
[tags, filterText, sortBy]
|
|
6223
6223
|
);
|
|
6224
6224
|
const exportItems = react.useMemo(
|
|
@@ -6238,7 +6238,7 @@ function ConnectedFieldsEditor({
|
|
|
6238
6238
|
setIsDeleting(false);
|
|
6239
6239
|
}
|
|
6240
6240
|
};
|
|
6241
|
-
const copy =
|
|
6241
|
+
const copy = chunk72O4YH5M_cjs.fieldsApplyBarCopy({
|
|
6242
6242
|
nouns,
|
|
6243
6243
|
targetNoun,
|
|
6244
6244
|
fieldCount,
|
|
@@ -6247,9 +6247,9 @@ function ConnectedFieldsEditor({
|
|
|
6247
6247
|
isApplying,
|
|
6248
6248
|
isClearing
|
|
6249
6249
|
});
|
|
6250
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6250
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.FieldsEditorRoot, { children: [
|
|
6251
6251
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6252
|
-
|
|
6252
|
+
chunk72O4YH5M_cjs.FieldsEditorToolbar,
|
|
6253
6253
|
{
|
|
6254
6254
|
nouns,
|
|
6255
6255
|
onNew: () => {
|
|
@@ -6277,11 +6277,11 @@ function ConnectedFieldsEditor({
|
|
|
6277
6277
|
onSortByChange: setSortBy
|
|
6278
6278
|
}
|
|
6279
6279
|
),
|
|
6280
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6280
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.FieldsEditorList, { children: [
|
|
6281
6281
|
fieldRows.map(({ tag, depth, childCount }) => {
|
|
6282
6282
|
const isEditingThis = editingTagId === tag.external_id;
|
|
6283
6283
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6284
|
-
|
|
6284
|
+
chunk72O4YH5M_cjs.FieldRow,
|
|
6285
6285
|
{
|
|
6286
6286
|
tagId: tag.external_id,
|
|
6287
6287
|
name: tag.name,
|
|
@@ -6334,10 +6334,10 @@ function ConnectedFieldsEditor({
|
|
|
6334
6334
|
tag.external_id
|
|
6335
6335
|
);
|
|
6336
6336
|
}),
|
|
6337
|
-
fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6337
|
+
fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.FieldsEmptyState, { children: chunk72O4YH5M_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
|
|
6338
6338
|
] }),
|
|
6339
6339
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6340
|
-
|
|
6340
|
+
chunk72O4YH5M_cjs.FieldsApplyBar,
|
|
6341
6341
|
{
|
|
6342
6342
|
hint: copy.hint,
|
|
6343
6343
|
applyLabel: copy.applyLabel,
|
|
@@ -6413,8 +6413,8 @@ function ConnectedFieldsManager({
|
|
|
6413
6413
|
}
|
|
6414
6414
|
);
|
|
6415
6415
|
const body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
6416
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6417
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6416
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
|
|
6417
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6418
6418
|
ConnectedFieldsEditor,
|
|
6419
6419
|
{
|
|
6420
6420
|
group: activeKind,
|
|
@@ -6426,7 +6426,7 @@ function ConnectedFieldsManager({
|
|
|
6426
6426
|
] });
|
|
6427
6427
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", children: [
|
|
6428
6428
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkLYDSETR7_cjs.DraggableHeader, { children: [
|
|
6429
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6429
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
|
|
6430
6430
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3", children: tabHeader })
|
|
6431
6431
|
] }),
|
|
6432
6432
|
body
|
|
@@ -6455,7 +6455,7 @@ function ConnectedFieldsManagerPanel({
|
|
|
6455
6455
|
const [createRequest, setCreateRequest] = react$1.useTransientView(FIELDS_MANAGER_CREATE_VIEW, 0);
|
|
6456
6456
|
const [kind, setKind] = react$1.useTransientView(FIELDS_MANAGER_KIND_VIEW, "label");
|
|
6457
6457
|
const documentIds = react$1.useArbiSessionState((s) => s.selectedDocumentIds);
|
|
6458
|
-
const reviewing =
|
|
6458
|
+
const reviewing = chunkGENUGV6V_cjs.useFilesPrefs((state) => chunkGENUGV6V_cjs.filesViewMode(state) === "navigator");
|
|
6459
6459
|
const viewingId = react$1.useArbiSessionState((s) => s.viewingDocument?.id ?? null);
|
|
6460
6460
|
const reviewingId = reviewing ? viewingId : null;
|
|
6461
6461
|
const handleClose = react.useCallback(() => {
|
|
@@ -6496,7 +6496,7 @@ function ConnectedFieldsManagerPanel({
|
|
|
6496
6496
|
onAnnotationCreated,
|
|
6497
6497
|
onAiFieldsApplied: (result) => {
|
|
6498
6498
|
session.closePanel(FIELDS_MANAGER_PANEL);
|
|
6499
|
-
const review =
|
|
6499
|
+
const review = chunkGENUGV6V_cjs.useAiReviewStore.getState();
|
|
6500
6500
|
review.setRun(result);
|
|
6501
6501
|
review.setOpen(true);
|
|
6502
6502
|
}
|
|
@@ -6899,7 +6899,7 @@ var factNouns = () => ({
|
|
|
6899
6899
|
function useWorkspaceAsk() {
|
|
6900
6900
|
const { openNewConversation, openFiles } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
6901
6901
|
const { workspaceId } = chunkVWSOHZK2_cjs.useConnectedWorkspace();
|
|
6902
|
-
const setFilesViewMode =
|
|
6902
|
+
const setFilesViewMode = chunkGENUGV6V_cjs.useFilesPrefs((state) => state.setViewMode);
|
|
6903
6903
|
const ask = react.useCallback(
|
|
6904
6904
|
(text2) => openNewConversation({ prompt: text2, keepDocumentOpen: true }),
|
|
6905
6905
|
[openNewConversation]
|
|
@@ -7465,7 +7465,7 @@ function useFactFilters(notes, view, chat) {
|
|
|
7465
7465
|
(selected, setSelected, opts) => {
|
|
7466
7466
|
const applied = new Set(selected);
|
|
7467
7467
|
return /* @__PURE__ */ jsxRuntime.jsx(chunkVD3HI5RF_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
7468
|
-
|
|
7468
|
+
chunk72O4YH5M_cjs.FieldLabelsSelect,
|
|
7469
7469
|
{
|
|
7470
7470
|
options: labelOptions,
|
|
7471
7471
|
appliedIds: applied,
|
|
@@ -7692,7 +7692,7 @@ var FactHeader = react.memo(function FactHeader2({
|
|
|
7692
7692
|
if (params.enableSorting) params.progressSort(e.shiftKey);
|
|
7693
7693
|
},
|
|
7694
7694
|
children: [
|
|
7695
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7695
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.FilterButton, { params, colId }),
|
|
7696
7696
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "order-2 min-w-0 flex-1 truncate", children: params.displayName }),
|
|
7697
7697
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ag-sort-indicator-container order-2 flex-shrink-0", "aria-hidden": "true", children: [
|
|
7698
7698
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -8279,7 +8279,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8279
8279
|
onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
|
|
8280
8280
|
navSlotRef: setNavSlot,
|
|
8281
8281
|
navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
8282
|
-
|
|
8282
|
+
chunk2QGTWHPQ_cjs.GridRowNavigator,
|
|
8283
8283
|
{
|
|
8284
8284
|
gridApi,
|
|
8285
8285
|
selectedId: editingId,
|
|
@@ -8301,7 +8301,7 @@ function ConnectedFactsPage({ scope = null, onScopeChange } = {}) {
|
|
|
8301
8301
|
),
|
|
8302
8302
|
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkVD3HI5RF_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
|
|
8303
8303
|
view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8304
|
-
|
|
8304
|
+
chunk72O4YH5M_cjs.RowDensityControl,
|
|
8305
8305
|
{
|
|
8306
8306
|
rowHeight: factsRowHeight,
|
|
8307
8307
|
onRowHeightChange: pageView.setRowHeight,
|
|
@@ -8562,7 +8562,7 @@ var LIST_TYPES = /* @__PURE__ */ new Set(["person", "document", "relation"]);
|
|
|
8562
8562
|
var isBlank = (v) => v === null || v === void 0 || typeof v === "string" && v.trim() === "" || Array.isArray(v) && v.length === 0;
|
|
8563
8563
|
var needsValue = (op) => op !== "empty" && op !== "not_empty";
|
|
8564
8564
|
var hasUsableValue = (value) => typeof value === "number" || typeof value === "boolean" || typeof value === "string" && value !== "";
|
|
8565
|
-
var text = (row2, column) =>
|
|
8565
|
+
var text = (row2, column) => chunkUSYCBTKK_cjs.formatCell(row2.values[column.id], column.type, void 0, row2.titles);
|
|
8566
8566
|
function matchesSearch(row2, columns, needle) {
|
|
8567
8567
|
return columns.some((column) => {
|
|
8568
8568
|
if (text(row2, column).toLowerCase().includes(needle)) return true;
|
|
@@ -8572,20 +8572,20 @@ function matchesSearch(row2, columns, needle) {
|
|
|
8572
8572
|
}
|
|
8573
8573
|
function matchesFilter(row2, column, op, wanted) {
|
|
8574
8574
|
const raw = row2.values[column.id];
|
|
8575
|
-
const kit =
|
|
8575
|
+
const kit = chunkUSYCBTKK_cjs.kitOf(column.type);
|
|
8576
8576
|
if (op === "empty") return kit ? kit.empty(raw) : isBlank(raw);
|
|
8577
8577
|
if (op === "not_empty") return !(kit ? kit.empty(raw) : isBlank(raw));
|
|
8578
8578
|
if (kit) {
|
|
8579
8579
|
if (op !== "contains" && op !== "eq" && op !== "neq") return false;
|
|
8580
|
-
const has = column.type === "label" ?
|
|
8580
|
+
const has = column.type === "label" ? chunkUSYCBTKK_cjs.cellIds(raw).includes(wanted) : (Array.isArray(raw) ? raw : []).some(
|
|
8581
8581
|
(c) => c?.doc_ext_id === wanted
|
|
8582
8582
|
);
|
|
8583
8583
|
return op === "neq" ? !has : has;
|
|
8584
8584
|
}
|
|
8585
8585
|
const lower = wanted.toLowerCase();
|
|
8586
8586
|
if (LIST_TYPES.has(column.type)) {
|
|
8587
|
-
const has =
|
|
8588
|
-
(id) => id === wanted ||
|
|
8587
|
+
const has = chunkUSYCBTKK_cjs.cellIds(raw).some(
|
|
8588
|
+
(id) => id === wanted || chunkUSYCBTKK_cjs.titleOf(id, row2.titles).toLowerCase() === lower
|
|
8589
8589
|
);
|
|
8590
8590
|
return op === "neq" ? !has : has;
|
|
8591
8591
|
}
|
|
@@ -8900,7 +8900,7 @@ var SEARCHED_COLUMNS = /* @__PURE__ */ new Set([
|
|
|
8900
8900
|
FACT_COLUMN.labels,
|
|
8901
8901
|
FACT_COLUMN.sources
|
|
8902
8902
|
]);
|
|
8903
|
-
var LAYOUT_LABELS = [
|
|
8903
|
+
var LAYOUT_LABELS = [chunkUSYCBTKK_cjs.TABLE_LAYOUT, chunkUSYCBTKK_cjs.CALENDAR_LAYOUT, chunkUSYCBTKK_cjs.GANTT_LAYOUT].map((l) => l.label);
|
|
8904
8904
|
var CHARS_PER_TOKEN2 = 4;
|
|
8905
8905
|
var INLINE_DATE_RE2 = /^\d{4}(-\d{2})?(-\d{2})?$/;
|
|
8906
8906
|
var DEFAULT_COLUMNS = [
|
|
@@ -9474,9 +9474,9 @@ function useFactsOpen(options, request) {
|
|
|
9474
9474
|
);
|
|
9475
9475
|
const layouts = react.useMemo(
|
|
9476
9476
|
() => [
|
|
9477
|
-
|
|
9478
|
-
|
|
9479
|
-
|
|
9477
|
+
chunkUSYCBTKK_cjs.TABLE_LAYOUT,
|
|
9478
|
+
chunkUSYCBTKK_cjs.CALENDAR_LAYOUT,
|
|
9479
|
+
chunkUSYCBTKK_cjs.GANTT_LAYOUT,
|
|
9480
9480
|
{
|
|
9481
9481
|
id: "smart_search",
|
|
9482
9482
|
label: "Smart Search",
|
|
@@ -9504,7 +9504,7 @@ function useFactsOpen(options, request) {
|
|
|
9504
9504
|
const lines = [
|
|
9505
9505
|
picked.map((c) => csvCell(c.name)).join(","),
|
|
9506
9506
|
...shown.map(
|
|
9507
|
-
(row2) => picked.map((c) => csvCell(
|
|
9507
|
+
(row2) => picked.map((c) => csvCell(chunkUSYCBTKK_cjs.formatCell(row2.values[c.id], c.type, void 0, row2.titles))).join(",")
|
|
9508
9508
|
)
|
|
9509
9509
|
];
|
|
9510
9510
|
core$1.downloadBlob(new Blob([lines.join("\n")], { type: "text/csv;charset=utf-8" }), "facts.csv");
|
|
@@ -10080,7 +10080,7 @@ function FactsRowPage({
|
|
|
10080
10080
|
) })
|
|
10081
10081
|
] }),
|
|
10082
10082
|
layout: (parts) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10083
|
-
|
|
10083
|
+
chunkUSYCBTKK_cjs.DatabaseRowDetail,
|
|
10084
10084
|
{
|
|
10085
10085
|
row: pageRow,
|
|
10086
10086
|
columns: pageColumns,
|
|
@@ -10128,7 +10128,7 @@ function useConnectedShellWorkspaces(options = {}) {
|
|
|
10128
10128
|
function ConnectedSsoDisconnect() {
|
|
10129
10129
|
const { client } = react$1.useAccountClient();
|
|
10130
10130
|
const { data: profile } = react$1.useProfile();
|
|
10131
|
-
const auth =
|
|
10131
|
+
const auth = chunkPGKCL6YA_cjs.useAuthPages();
|
|
10132
10132
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
10133
10133
|
const [open, setOpen] = react.useState(false);
|
|
10134
10134
|
const [step, setStep] = react.useState("email");
|
|
@@ -10306,14 +10306,14 @@ function ConnectedAccountSettings({
|
|
|
10306
10306
|
}) {
|
|
10307
10307
|
const [logoutOpen, setLogoutOpen] = react.useState(false);
|
|
10308
10308
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
|
|
10309
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10309
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPGKCL6YA_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
|
|
10310
10310
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
|
|
10311
10311
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
|
|
10312
10312
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
|
|
10313
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10313
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPGKCL6YA_cjs.ConnectedSecuritySection, { children: securityRows }),
|
|
10314
10314
|
moreSettings,
|
|
10315
10315
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10316
|
-
|
|
10316
|
+
chunkPGKCL6YA_cjs.ConnectedIdentityVerification,
|
|
10317
10317
|
{
|
|
10318
10318
|
collapsible: true,
|
|
10319
10319
|
onManageBilling,
|
|
@@ -10323,7 +10323,7 @@ function ConnectedAccountSettings({
|
|
|
10323
10323
|
] }),
|
|
10324
10324
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
|
|
10325
10325
|
connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
|
|
10326
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10326
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPGKCL6YA_cjs.ConnectedSessionsRow, { renderSessionIcon }),
|
|
10327
10327
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
10328
10328
|
ui.Button,
|
|
10329
10329
|
{
|
|
@@ -10340,9 +10340,9 @@ function ConnectedAccountSettings({
|
|
|
10340
10340
|
}
|
|
10341
10341
|
) })
|
|
10342
10342
|
] }) }),
|
|
10343
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10343
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPGKCL6YA_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
|
|
10344
10344
|
!onLogout && /* @__PURE__ */ jsxRuntime.jsx(
|
|
10345
|
-
|
|
10345
|
+
chunkPGKCL6YA_cjs.ConnectedLogoutDialog,
|
|
10346
10346
|
{
|
|
10347
10347
|
open: logoutOpen,
|
|
10348
10348
|
onClose: () => setLogoutOpen(false),
|
|
@@ -10685,7 +10685,7 @@ function ConnectedPrivacySettings({
|
|
|
10685
10685
|
}
|
|
10686
10686
|
)
|
|
10687
10687
|
] }) }),
|
|
10688
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10688
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPGKCL6YA_cjs.ConnectedNotificationPreferences, {})
|
|
10689
10689
|
] });
|
|
10690
10690
|
}
|
|
10691
10691
|
var PROVIDER_NAMES = {
|
|
@@ -12711,7 +12711,7 @@ function ConnectedRecoveryKeyDialog({
|
|
|
12711
12711
|
const arbi = react$1.useArbi();
|
|
12712
12712
|
const { user, isSso: isSsoMode } = react$1.useArbiSession();
|
|
12713
12713
|
const userEmail = user?.email;
|
|
12714
|
-
const sso =
|
|
12714
|
+
const sso = chunkPGKCL6YA_cjs.useSsoSignIn();
|
|
12715
12715
|
const handleVerify = async () => {
|
|
12716
12716
|
setError(null);
|
|
12717
12717
|
if (!password) {
|
|
@@ -12872,7 +12872,7 @@ function ConnectedRemoteControlSwitch() {
|
|
|
12872
12872
|
}
|
|
12873
12873
|
function RemoteControlSwitch() {
|
|
12874
12874
|
const enabled = react$1.useRemoteControl((state) => state.enabled);
|
|
12875
|
-
const remote =
|
|
12875
|
+
const remote = chunkPGKCL6YA_cjs.useRemoteControlActions();
|
|
12876
12876
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12877
12877
|
chunkQQMMCXBP_cjs.SettingsRow,
|
|
12878
12878
|
{
|
|
@@ -14045,7 +14045,7 @@ function ConnectedWorkspaceShareDialog({
|
|
|
14045
14045
|
chunk223D4727_cjs.ModalBreadcrumbHeader,
|
|
14046
14046
|
{
|
|
14047
14047
|
workspaceName: workspace.name,
|
|
14048
|
-
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14048
|
+
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkHTH3XIFF_cjs.ConnectedWorkspaceEntity, { workspace, size: 20, variant: "icon" }),
|
|
14049
14049
|
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserPlus, { className: "w-4 h-4" }),
|
|
14050
14050
|
title: labels.title
|
|
14051
14051
|
}
|
|
@@ -15128,13 +15128,13 @@ function ConnectedWorkspaceSettings({
|
|
|
15128
15128
|
const [membersExpanded, setMembersExpanded] = react.useState(false);
|
|
15129
15129
|
const [shareOpen, setShareOpen] = react.useState(false);
|
|
15130
15130
|
if (!workspace) {
|
|
15131
|
-
return /* @__PURE__ */ jsxRuntime.jsx(chunkWHHBEV4G_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15131
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkWHHBEV4G_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk2QGTWHPQ_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
|
|
15132
15132
|
}
|
|
15133
15133
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
15134
15134
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkWHHBEV4G_cjs.WorkspacePageFrame, { testId, children: [
|
|
15135
15135
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkWHHBEV4G_cjs.WorkspaceIdentityPanel, { children: [
|
|
15136
15136
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15137
|
-
|
|
15137
|
+
chunk2QGTWHPQ_cjs.EntityIdentityBar,
|
|
15138
15138
|
{
|
|
15139
15139
|
testId: "workspace-identity-bar",
|
|
15140
15140
|
canEdit: isOwner,
|
|
@@ -15151,7 +15151,7 @@ function ConnectedWorkspaceSettings({
|
|
|
15151
15151
|
label: "Name",
|
|
15152
15152
|
value: workspace.name,
|
|
15153
15153
|
placeholder: "Untitled",
|
|
15154
|
-
maxLength:
|
|
15154
|
+
maxLength: chunk2QGTWHPQ_cjs.IDENTITY_NAME_MAX_LENGTH,
|
|
15155
15155
|
valueClassName: "truncate text-base font-semibold",
|
|
15156
15156
|
testId: "workspace-home-title",
|
|
15157
15157
|
hideLabel: true,
|
|
@@ -16654,7 +16654,7 @@ function ConnectedSharePointAdminConsentPage({
|
|
|
16654
16654
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16655
16655
|
chunk4H5DPHZ2_cjs.ConsentHeader,
|
|
16656
16656
|
{
|
|
16657
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
16657
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
|
|
16658
16658
|
title: "Approve ARBI for SharePoint access",
|
|
16659
16659
|
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."
|
|
16660
16660
|
}
|
|
@@ -19892,7 +19892,7 @@ function ConnectedWorkspaceList({
|
|
|
19892
19892
|
}
|
|
19893
19893
|
);
|
|
19894
19894
|
}
|
|
19895
|
-
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19895
|
+
if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunk2QGTWHPQ_cjs.LoadingIndicator, { message: "Loading workspaces..." });
|
|
19896
19896
|
if (list.error) {
|
|
19897
19897
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19898
19898
|
chunkDSLMJ24E_cjs.HomeLoadError,
|
|
@@ -19965,7 +19965,7 @@ function ConnectedWorkspaceList({
|
|
|
19965
19965
|
workspaceState
|
|
19966
19966
|
}
|
|
19967
19967
|
) })
|
|
19968
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
19968
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk2QGTWHPQ_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkDSLMJ24E_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
19969
19969
|
WorkspaceTableView,
|
|
19970
19970
|
{
|
|
19971
19971
|
list,
|
|
@@ -20167,7 +20167,7 @@ function ConnectedProjectsListPage({
|
|
|
20167
20167
|
};
|
|
20168
20168
|
const { openProject } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
20169
20169
|
const [search, setSearch] = react.useState("");
|
|
20170
|
-
const { projects, isLoading } =
|
|
20170
|
+
const { projects, isLoading } = chunkPPHXBDJP_cjs.useProjectSummaries();
|
|
20171
20171
|
const rows = react.useMemo(() => {
|
|
20172
20172
|
const q = search.trim().toLowerCase();
|
|
20173
20173
|
if (!q) return projects;
|
|
@@ -20238,7 +20238,7 @@ function ConnectedProjectsListPage({
|
|
|
20238
20238
|
}
|
|
20239
20239
|
),
|
|
20240
20240
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
20241
|
-
|
|
20241
|
+
chunk2QGTWHPQ_cjs.Toolbar,
|
|
20242
20242
|
{
|
|
20243
20243
|
search,
|
|
20244
20244
|
onSearch: setSearch,
|
|
@@ -20300,7 +20300,7 @@ function ProjectDetailsForm({
|
|
|
20300
20300
|
const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
|
|
20301
20301
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
20302
20302
|
const update = react$1.useUpdateProjectFields();
|
|
20303
|
-
const workspace =
|
|
20303
|
+
const workspace = chunkPPHXBDJP_cjs.primaryProjectWorkspace(project);
|
|
20304
20304
|
const { data: members = [] } = react$1.useWorkspaceUsers(workspace?.id);
|
|
20305
20305
|
const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
|
|
20306
20306
|
const currency = project.budget?.currency ?? "GBP";
|
|
@@ -20489,9 +20489,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
20489
20489
|
for (const tag of workspaceTags ?? []) map.set(tag.external_id, tag.name);
|
|
20490
20490
|
return map;
|
|
20491
20491
|
}, [workspaceTags]);
|
|
20492
|
-
const pendingFolders =
|
|
20493
|
-
const addPendingFolder =
|
|
20494
|
-
const removePendingFolder =
|
|
20492
|
+
const pendingFolders = chunkGENUGV6V_cjs.usePendingFolders(wsId);
|
|
20493
|
+
const addPendingFolder = chunkGENUGV6V_cjs.useFilesStore((state) => state.addPendingFolder);
|
|
20494
|
+
const removePendingFolder = chunkGENUGV6V_cjs.useFilesStore((state) => state.removePendingFolder);
|
|
20495
20495
|
const [editingFolderPath, setEditingFolderPath] = react.useState(null);
|
|
20496
20496
|
const isSearching = search.trim().length > 0;
|
|
20497
20497
|
const selectedSet = react.useMemo(() => new Set(selectedIds), [selectedIds]);
|
|
@@ -20500,8 +20500,8 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
20500
20500
|
const { folders, files } = react.useMemo(() => {
|
|
20501
20501
|
const result = isSearching ? {
|
|
20502
20502
|
folders: [],
|
|
20503
|
-
files:
|
|
20504
|
-
} :
|
|
20503
|
+
files: chunk72O4YH5M_cjs.searchExplorerDocuments(documents, search, sort)
|
|
20504
|
+
} : chunk72O4YH5M_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
|
|
20505
20505
|
if (sortReversed) result.files = [...result.files].reverse();
|
|
20506
20506
|
return result;
|
|
20507
20507
|
}, [documents, currentPath, sort, isSearching, search, sortReversed, pendingFolders]);
|
|
@@ -20512,7 +20512,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
20512
20512
|
const orderedFileIds = react.useMemo(() => files.map((d) => d.external_id), [files]);
|
|
20513
20513
|
const folderDocs = react.useMemo(() => {
|
|
20514
20514
|
const map = /* @__PURE__ */ new Map();
|
|
20515
|
-
for (const f of folders) map.set(f.path.join("/"),
|
|
20515
|
+
for (const f of folders) map.set(f.path.join("/"), chunk72O4YH5M_cjs.collectFolderDocs(documents, f.path));
|
|
20516
20516
|
return map;
|
|
20517
20517
|
}, [folders, documents]);
|
|
20518
20518
|
const folderSelection = react.useMemo(() => {
|
|
@@ -20660,7 +20660,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
20660
20660
|
let name = base;
|
|
20661
20661
|
let i = 2;
|
|
20662
20662
|
while (siblings.has(name.toLowerCase())) name = `${base} ${i++}`;
|
|
20663
|
-
const path =
|
|
20663
|
+
const path = chunk72O4YH5M_cjs.joinFolderPath([...currentPath, name]);
|
|
20664
20664
|
if (!path) return;
|
|
20665
20665
|
addPendingFolder(wsId, path);
|
|
20666
20666
|
setEditingFolderPath(path);
|
|
@@ -20696,10 +20696,10 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
20696
20696
|
notify19(`A folder named "${name}" already exists here.`, "error");
|
|
20697
20697
|
return;
|
|
20698
20698
|
}
|
|
20699
|
-
const oldPath =
|
|
20699
|
+
const oldPath = chunk72O4YH5M_cjs.joinFolderPath(folder.path);
|
|
20700
20700
|
const newPrefix = [...folder.path.slice(0, -1), name];
|
|
20701
|
-
const newPath =
|
|
20702
|
-
const docs =
|
|
20701
|
+
const newPath = chunk72O4YH5M_cjs.joinFolderPath(newPrefix);
|
|
20702
|
+
const docs = chunk72O4YH5M_cjs.collectFolderDocs(documents, folder.path);
|
|
20703
20703
|
try {
|
|
20704
20704
|
if (await renameFolder(docs, folder.path, newPrefix) > 0) {
|
|
20705
20705
|
notify19(`Renamed folder to "${name}"`, "success");
|
|
@@ -20758,7 +20758,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
20758
20758
|
const handleToggleFolder = react.useCallback(
|
|
20759
20759
|
(folder, e) => {
|
|
20760
20760
|
e.stopPropagation();
|
|
20761
|
-
const ids =
|
|
20761
|
+
const ids = chunk72O4YH5M_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
|
|
20762
20762
|
if (ids.length === 0) return;
|
|
20763
20763
|
if (ids.every((id) => selectedSet.has(id))) {
|
|
20764
20764
|
const remove = new Set(ids);
|
|
@@ -20819,9 +20819,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
20819
20819
|
);
|
|
20820
20820
|
const handleDelete = react.useCallback(
|
|
20821
20821
|
async (doc) => {
|
|
20822
|
-
const name =
|
|
20822
|
+
const name = chunk72O4YH5M_cjs.getExplorerDisplayName(doc);
|
|
20823
20823
|
const confirmed = await confirm({
|
|
20824
|
-
message: `Delete "${name}"? ${
|
|
20824
|
+
message: `Delete "${name}"? ${chunk72O4YH5M_cjs.RECENTLY_DELETED_HINT}`,
|
|
20825
20825
|
title: "Delete file"
|
|
20826
20826
|
});
|
|
20827
20827
|
if (!confirmed) return;
|
|
@@ -20841,7 +20841,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
20841
20841
|
);
|
|
20842
20842
|
const handleFolderDownload = react.useCallback(
|
|
20843
20843
|
(folder) => {
|
|
20844
|
-
const docs =
|
|
20844
|
+
const docs = chunk72O4YH5M_cjs.collectFolderDocs(documents, folder.path);
|
|
20845
20845
|
if (docs.length > 0) void downloadDocuments(docs);
|
|
20846
20846
|
},
|
|
20847
20847
|
[documents, downloadDocuments]
|
|
@@ -20850,7 +20850,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
20850
20850
|
if (onFolderMove) return onFolderMove;
|
|
20851
20851
|
if (!onMoveSelected) return void 0;
|
|
20852
20852
|
return (folder) => {
|
|
20853
|
-
const ids =
|
|
20853
|
+
const ids = chunk72O4YH5M_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
|
|
20854
20854
|
if (ids.length === 0) return;
|
|
20855
20855
|
onSelectionChange(ids);
|
|
20856
20856
|
onMoveSelected();
|
|
@@ -20858,14 +20858,14 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
20858
20858
|
}, [documents, onFolderMove, onMoveSelected, onSelectionChange]);
|
|
20859
20859
|
const handleFolderDelete = react.useCallback(
|
|
20860
20860
|
async (folder) => {
|
|
20861
|
-
const docs =
|
|
20861
|
+
const docs = chunk72O4YH5M_cjs.collectFolderDocs(documents, folder.path);
|
|
20862
20862
|
if (docs.length === 0) {
|
|
20863
|
-
const path =
|
|
20863
|
+
const path = chunk72O4YH5M_cjs.joinFolderPath(folder.path);
|
|
20864
20864
|
if (wsId && path) removePendingFolder(wsId, path);
|
|
20865
20865
|
return;
|
|
20866
20866
|
}
|
|
20867
20867
|
const confirmed = await confirm({
|
|
20868
|
-
message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${
|
|
20868
|
+
message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunk72O4YH5M_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
|
|
20869
20869
|
title: "Delete folder"
|
|
20870
20870
|
});
|
|
20871
20871
|
if (!confirmed) return;
|
|
@@ -20882,8 +20882,8 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
20882
20882
|
[confirm, documents, deleteDocuments, onSelectionChange, removePendingFolder, wsId, notify19]
|
|
20883
20883
|
);
|
|
20884
20884
|
const canDeleteFolder = react.useCallback(
|
|
20885
|
-
(folder) => canUpload &&
|
|
20886
|
-
(doc) =>
|
|
20885
|
+
(folder) => canUpload && chunk72O4YH5M_cjs.collectFolderDocs(documents, folder.path).every(
|
|
20886
|
+
(doc) => chunk72O4YH5M_cjs.canDeleteDocument(doc, userId, role)
|
|
20887
20887
|
),
|
|
20888
20888
|
[canUpload, documents, userId, role]
|
|
20889
20889
|
);
|
|
@@ -20942,7 +20942,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
20942
20942
|
setActiveDragId(null);
|
|
20943
20943
|
const data = event.over?.data.current;
|
|
20944
20944
|
if (data?.type === "folder" && data.path) {
|
|
20945
|
-
const targetFolder =
|
|
20945
|
+
const targetFolder = chunk72O4YH5M_cjs.joinFolderPath(data.path);
|
|
20946
20946
|
const moving = dragIdsRef.current.filter((id) => {
|
|
20947
20947
|
const doc = documents.find((d) => d.external_id === id);
|
|
20948
20948
|
return doc && (doc.folder ?? null) !== targetFolder;
|
|
@@ -20982,7 +20982,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
20982
20982
|
const dropped = Array.from(e.dataTransfer.files ?? []);
|
|
20983
20983
|
if (dropped.length > 0) {
|
|
20984
20984
|
e.preventDefault();
|
|
20985
|
-
onUploadFiles(dropped,
|
|
20985
|
+
onUploadFiles(dropped, chunk72O4YH5M_cjs.joinFolderPath(currentPath));
|
|
20986
20986
|
}
|
|
20987
20987
|
},
|
|
20988
20988
|
[canUpload, currentPath, onUploadFiles]
|
|
@@ -20999,9 +20999,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
20999
20999
|
onDragEnd: handleDragEnd,
|
|
21000
21000
|
onDragCancel: () => setActiveDragId(null),
|
|
21001
21001
|
children: [
|
|
21002
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21002
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.ExplorerStage, { children: [
|
|
21003
21003
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21004
|
-
|
|
21004
|
+
chunk72O4YH5M_cjs.ExplorerScroller,
|
|
21005
21005
|
{
|
|
21006
21006
|
ref: scrollRef,
|
|
21007
21007
|
onClick: handleBackgroundClick,
|
|
@@ -21011,15 +21011,15 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
21011
21011
|
onDragLeave: handleNativeDragLeave,
|
|
21012
21012
|
onDrop: handleNativeDrop,
|
|
21013
21013
|
"data-testid": "explorer-scroll",
|
|
21014
|
-
children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
21015
|
-
|
|
21014
|
+
children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
21015
|
+
chunk72O4YH5M_cjs.ExplorerEmpty,
|
|
21016
21016
|
{
|
|
21017
21017
|
title: isSearching ? `No files match "${search.trim()}"` : "This folder is empty",
|
|
21018
21018
|
description: isSearching ? "Try a different search." : canUpload ? "Drop files here or use Upload to add documents." : "No documents here yet."
|
|
21019
21019
|
}
|
|
21020
21020
|
) : containerWidth === 0 ? (
|
|
21021
21021
|
// Not measured yet: rendering now would flash one stretched column.
|
|
21022
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21022
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.ExplorerLoadingTiles, {})
|
|
21023
21023
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
21024
21024
|
"div",
|
|
21025
21025
|
{
|
|
@@ -21049,7 +21049,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
21049
21049
|
if (entry.kind === "folder") {
|
|
21050
21050
|
const key = entry.path.join("/");
|
|
21051
21051
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21052
|
-
|
|
21052
|
+
chunkE7BSG5IS_cjs.FolderTile,
|
|
21053
21053
|
{
|
|
21054
21054
|
folder: entry,
|
|
21055
21055
|
density,
|
|
@@ -21072,7 +21072,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
21072
21072
|
}
|
|
21073
21073
|
const doc = entry.doc;
|
|
21074
21074
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21075
|
-
|
|
21075
|
+
chunkE7BSG5IS_cjs.FileTile,
|
|
21076
21076
|
{
|
|
21077
21077
|
doc,
|
|
21078
21078
|
density,
|
|
@@ -21080,7 +21080,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
21080
21080
|
dragging: activeDragId === doc.external_id,
|
|
21081
21081
|
dndActive: activeDragId !== null,
|
|
21082
21082
|
renaming: renamingId === doc.external_id,
|
|
21083
|
-
canDelete:
|
|
21083
|
+
canDelete: chunk72O4YH5M_cjs.canDeleteDocument(doc, userId, role),
|
|
21084
21084
|
thumbnailUrl: thumbnailsById.get(doc.external_id),
|
|
21085
21085
|
modifiedBy: userById.get(
|
|
21086
21086
|
doc.updated_by_ext_id ?? doc.created_by_ext_id
|
|
@@ -21109,9 +21109,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
21109
21109
|
)
|
|
21110
21110
|
}
|
|
21111
21111
|
),
|
|
21112
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21112
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
|
|
21113
21113
|
isFileDragOver && /* @__PURE__ */ jsxRuntime.jsx(
|
|
21114
|
-
|
|
21114
|
+
chunk72O4YH5M_cjs.ExplorerDropOverlay,
|
|
21115
21115
|
{
|
|
21116
21116
|
label: `Drop to upload${currentPath.length > 0 ? ` to "${currentPath[currentPath.length - 1]}"` : ""}`
|
|
21117
21117
|
}
|
|
@@ -21125,7 +21125,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
|
|
|
21125
21125
|
function DragPreview({ doc, count: count2 }) {
|
|
21126
21126
|
const Icon = ui.getFileTypeIcon(doc.file_name, { mime: doc.file_type, folder: doc.folder });
|
|
21127
21127
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21128
|
-
|
|
21128
|
+
chunk72O4YH5M_cjs.ExplorerDragPreview,
|
|
21129
21129
|
{
|
|
21130
21130
|
icon: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 20 }),
|
|
21131
21131
|
title: ui.getDocumentTitle(doc, doc.file_name ?? "Untitled"),
|
|
@@ -21362,11 +21362,11 @@ function ConnectedProjectPage({
|
|
|
21362
21362
|
figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
|
|
21363
21363
|
threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
|
|
21364
21364
|
};
|
|
21365
|
-
const { project, usage, isLoading } =
|
|
21365
|
+
const { project, usage, isLoading } = chunkPPHXBDJP_cjs.useProjectSummary(projectId);
|
|
21366
21366
|
const { workspaceId } = chunkVWSOHZK2_cjs.useConnectedWorkspace();
|
|
21367
21367
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
21368
|
-
const selectWorkspace =
|
|
21369
|
-
const workspace = project ?
|
|
21368
|
+
const selectWorkspace = chunkU4MJIYGD_cjs.useSelectWorkspace();
|
|
21369
|
+
const workspace = project ? chunkPPHXBDJP_cjs.primaryProjectWorkspace(project) : void 0;
|
|
21370
21370
|
const open = !!workspace && workspace.id === workspaceId;
|
|
21371
21371
|
react.useEffect(() => {
|
|
21372
21372
|
if (!workspace || workspace.id === workspaceId) return;
|
|
@@ -22329,7 +22329,7 @@ function AgentBarShell({
|
|
|
22329
22329
|
drawerRef: scrollRef,
|
|
22330
22330
|
onDrawerScroll: handleDrawerScroll,
|
|
22331
22331
|
drawer: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22332
|
-
|
|
22332
|
+
chunkPGKCL6YA_cjs.AgentSteps,
|
|
22333
22333
|
{
|
|
22334
22334
|
steps: stepList,
|
|
22335
22335
|
isStreaming,
|
|
@@ -22369,7 +22369,7 @@ function DmAgentProgress({
|
|
|
22369
22369
|
stepLabel: label,
|
|
22370
22370
|
stepIcon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { "aria-label": "Working", className: "size-4 shrink-0 animate-spin text-primary" }),
|
|
22371
22371
|
timer: /* @__PURE__ */ jsxRuntime.jsx("span", { "data-testid": "dm-agent-elapsed", className: "inline-block min-w-[5ch] text-right", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22372
|
-
|
|
22372
|
+
chunkPGKCL6YA_cjs.MessageLiveSeconds,
|
|
22373
22373
|
{
|
|
22374
22374
|
conversationId: status?.conversation_ext_id ?? void 0,
|
|
22375
22375
|
messageId: status?.response_id ?? status?.message_ext_id,
|
|
@@ -23033,8 +23033,8 @@ function ConnectedChatThread({
|
|
|
23033
23033
|
}
|
|
23034
23034
|
if (isAgentChat && floating && !deleted) {
|
|
23035
23035
|
const role = isSent ? "user" : "assistant";
|
|
23036
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23037
|
-
|
|
23036
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.CompactChatContext.Provider, { value: floating, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
23037
|
+
chunkHS7TUDEM_cjs.MessageRoot,
|
|
23038
23038
|
{
|
|
23039
23039
|
role,
|
|
23040
23040
|
messageId: msg.external_id,
|
|
@@ -23044,20 +23044,20 @@ function ConnectedChatThread({
|
|
|
23044
23044
|
children: [
|
|
23045
23045
|
/* @__PURE__ */ jsxRuntime.jsx("span", { "data-testid": "compact-chat-avatar", className: "mt-1.5 shrink-0", children: renderMessengerUser(memberById(msg.sender_ext_id) ?? null, "small-avatar") }),
|
|
23046
23046
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23047
|
-
|
|
23047
|
+
chunkHS7TUDEM_cjs.MessageContent,
|
|
23048
23048
|
{
|
|
23049
23049
|
role,
|
|
23050
23050
|
messageId: msg.external_id,
|
|
23051
23051
|
align: "start",
|
|
23052
23052
|
className: "min-w-0 flex-1",
|
|
23053
23053
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
23054
|
-
|
|
23054
|
+
chunkHS7TUDEM_cjs.MessageBubble,
|
|
23055
23055
|
{
|
|
23056
23056
|
role,
|
|
23057
23057
|
messageId: msg.external_id,
|
|
23058
23058
|
participantTint: isSent ? void 0 : "var(--color-primary)",
|
|
23059
23059
|
className: "max-w-full",
|
|
23060
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
23060
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.MessageBody, { messageId: msg.external_id, children: floating && isSent && lastReplyIndex > i ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate", title: msg.content ?? "", children: msg.content }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
23061
23061
|
ConnectedChatMessageBody,
|
|
23062
23062
|
{
|
|
23063
23063
|
text: msg.content ?? "",
|
|
@@ -23075,7 +23075,7 @@ function ConnectedChatThread({
|
|
|
23075
23075
|
}
|
|
23076
23076
|
return /* @__PURE__ */ jsxRuntime.jsxs(react.Fragment, { children: [
|
|
23077
23077
|
!floating && isFirstOfDay && /* @__PURE__ */ jsxRuntime.jsx(react$1.DateSeparator, { children: formatDay(msg.created_at) }),
|
|
23078
|
-
chat?.kind === "group" && !isSent && startsPeerRun(i) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
23078
|
+
chat?.kind === "group" && !isSent && startsPeerRun(i) && /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.MessageAuthor, { children: renderMessengerUser(memberById(msg.sender_ext_id) ?? null, "author") }),
|
|
23079
23079
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23080
23080
|
react$1.ChatBubble,
|
|
23081
23081
|
{
|
|
@@ -23199,7 +23199,7 @@ function ConnectedChatThread({
|
|
|
23199
23199
|
draftRef: composerDraft,
|
|
23200
23200
|
appearance: floating ? "floating" : "standard",
|
|
23201
23201
|
actions: floating ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
23202
|
-
isAgentChat && peerId && /* @__PURE__ */ jsxRuntime.jsx(
|
|
23202
|
+
isAgentChat && peerId && /* @__PURE__ */ jsxRuntime.jsx(chunkSXC4ZIN4_cjs.OwnedAgentCallButton, { agentId: peerId, workspaceExtId: selectedWorkspaceId }),
|
|
23203
23203
|
floatingControls
|
|
23204
23204
|
] }) : void 0,
|
|
23205
23205
|
placeholder: floating ? `Ask ${peer?.given_name || "Assistant"}\u2026` : "Type a message\u2026",
|
|
@@ -23854,7 +23854,7 @@ function ConnectedDmGrantAccessDialog({
|
|
|
23854
23854
|
}
|
|
23855
23855
|
);
|
|
23856
23856
|
}
|
|
23857
|
-
var ThreadHistory = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
23857
|
+
var ThreadHistory = (props) => /* @__PURE__ */ jsxRuntime.jsx(chunkSXC4ZIN4_cjs.ConnectedCallChatHistory, { ...props });
|
|
23858
23858
|
function ConnectedPeerActions({ peer, addPeople }) {
|
|
23859
23859
|
const [accessOpen, setAccessOpen] = react.useState(false);
|
|
23860
23860
|
const [grantOpen, setGrantOpen] = react.useState(false);
|
|
@@ -23868,7 +23868,7 @@ function ConnectedPeerActions({ peer, addPeople }) {
|
|
|
23868
23868
|
)
|
|
23869
23869
|
];
|
|
23870
23870
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
23871
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23871
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkSXC4ZIN4_cjs.DmCallButton, { peer }),
|
|
23872
23872
|
!ui.isAgent(peer) && /* @__PURE__ */ jsxRuntime.jsx(chunkJTBWI74K_cjs.ScheduleCallButton, { peer }),
|
|
23873
23873
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23874
23874
|
ConnectedContactMenu,
|
|
@@ -23894,14 +23894,14 @@ function ConnectedPeerActions({ peer, addPeople }) {
|
|
|
23894
23894
|
}
|
|
23895
23895
|
var fullDirectActions = (peer, { addPeople }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedPeerActions, { peer, addPeople });
|
|
23896
23896
|
var fullGroupActions = (chat, title) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
23897
|
-
|
|
23897
|
+
chunkSXC4ZIN4_cjs.GroupCallButton,
|
|
23898
23898
|
{
|
|
23899
23899
|
chatExtId: chat.external_id,
|
|
23900
23900
|
title,
|
|
23901
23901
|
members: chat.members.map((m) => m.user)
|
|
23902
23902
|
}
|
|
23903
23903
|
);
|
|
23904
|
-
var fullListActions = /* @__PURE__ */ jsxRuntime.jsx(
|
|
23904
|
+
var fullListActions = /* @__PURE__ */ jsxRuntime.jsx(chunkSXC4ZIN4_cjs.NewCallChip, {});
|
|
23905
23905
|
function fullMessengerHost(arbi, presence) {
|
|
23906
23906
|
return {
|
|
23907
23907
|
presenceOf: (id) => presence?.[id] === "online" ? "connected" : "disconnected",
|
|
@@ -24512,7 +24512,7 @@ function ConnectedContactsPanel({
|
|
|
24512
24512
|
function ConnectedConfigForm({ availableModels, ...rest }) {
|
|
24513
24513
|
const hasModels = !!availableModels && availableModels.length > 0;
|
|
24514
24514
|
const renderModelSelect = react.useCallback(
|
|
24515
|
-
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
24515
|
+
({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkPGKCL6YA_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
|
|
24516
24516
|
[]
|
|
24517
24517
|
);
|
|
24518
24518
|
return /* @__PURE__ */ jsxRuntime.jsx(chunk4H5DPHZ2_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
|
|
@@ -24764,7 +24764,7 @@ function ConnectedInviteContactsDialog({
|
|
|
24764
24764
|
] })
|
|
24765
24765
|
] }) });
|
|
24766
24766
|
}
|
|
24767
|
-
var LAYOUT =
|
|
24767
|
+
var LAYOUT = chunkHTH3XIFF_cjs.WORKSPACE_DASHBOARD_LAYOUT;
|
|
24768
24768
|
function ConnectedWorkspaceDashboard({
|
|
24769
24769
|
start,
|
|
24770
24770
|
addFilesAction,
|
|
@@ -24774,23 +24774,23 @@ function ConnectedWorkspaceDashboard({
|
|
|
24774
24774
|
onTakePhoto,
|
|
24775
24775
|
testId = "workspace-dashboard"
|
|
24776
24776
|
}) {
|
|
24777
|
-
const startBand = start === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24777
|
+
const startBand = start === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkHTH3XIFF_cjs.ConnectedStartBlock, { onCreateNew, onTakePhoto }) : start;
|
|
24778
24778
|
const factsSection = facts === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24779
|
-
|
|
24779
|
+
chunkHTH3XIFF_cjs.ConnectedListBlock,
|
|
24780
24780
|
{
|
|
24781
24781
|
config: LAYOUT.facts.config,
|
|
24782
24782
|
showLoading: false,
|
|
24783
24783
|
testId: `${testId}-facts`
|
|
24784
24784
|
}
|
|
24785
24785
|
) : facts;
|
|
24786
|
-
const asideSection = aside === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24786
|
+
const asideSection = aside === void 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkHTH3XIFF_cjs.ConnectedAgendaBlock, { config: LAYOUT.agenda.config }) : aside;
|
|
24787
24787
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkUNSZLNA4_cjs.DashboardRoot, { testId, children: [
|
|
24788
24788
|
startBand && /* @__PURE__ */ jsxRuntime.jsx(chunkUNSZLNA4_cjs.DashboardBand, { kind: "start", children: startBand }),
|
|
24789
24789
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkUNSZLNA4_cjs.DashboardBand, { kind: "recent", children: [
|
|
24790
24790
|
/* @__PURE__ */ jsxRuntime.jsx(chunkIXCWZ4HC_cjs.SectionLabel, { testId: `${testId}-recent-caption`, children: "Recent" }),
|
|
24791
24791
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkUNSZLNA4_cjs.DashboardColumns, { children: [
|
|
24792
24792
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24793
|
-
|
|
24793
|
+
chunkHTH3XIFF_cjs.ConnectedListBlock,
|
|
24794
24794
|
{
|
|
24795
24795
|
config: LAYOUT.files.config,
|
|
24796
24796
|
addFilesAction,
|
|
@@ -24801,7 +24801,7 @@ function ConnectedWorkspaceDashboard({
|
|
|
24801
24801
|
}
|
|
24802
24802
|
),
|
|
24803
24803
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24804
|
-
|
|
24804
|
+
chunkHTH3XIFF_cjs.ConnectedListBlock,
|
|
24805
24805
|
{
|
|
24806
24806
|
config: LAYOUT.threads.config,
|
|
24807
24807
|
showLoading: false,
|
|
@@ -24890,7 +24890,7 @@ var inWorkspace = ({ workspaceId }) => !!workspaceId;
|
|
|
24890
24890
|
var canWrite = ({ isMember, role }) => isMember && role !== "guest";
|
|
24891
24891
|
var notTemporary = ({ isTemporaryAccess }) => !isTemporaryAccess;
|
|
24892
24892
|
function setDocumentSourceFilter(source) {
|
|
24893
|
-
const { documentFilters, setDocumentFilters } =
|
|
24893
|
+
const { documentFilters, setDocumentFilters } = chunkGENUGV6V_cjs.useFilesPrefs.getState();
|
|
24894
24894
|
setDocumentFilters({
|
|
24895
24895
|
...documentFilters,
|
|
24896
24896
|
source_uploaded: source === "uploaded" ? "include" : null,
|
|
@@ -24904,7 +24904,7 @@ function createBuiltinActions(environment, session) {
|
|
|
24904
24904
|
const documents = viewingDocument ? [viewingDocument.id] : [...selectedDocumentIds];
|
|
24905
24905
|
chunk4H5DPHZ2_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
|
|
24906
24906
|
};
|
|
24907
|
-
const setFilesView = (mode) => () =>
|
|
24907
|
+
const setFilesView = (mode) => () => chunkGENUGV6V_cjs.useFilesPrefs.getState().setViewMode(mode);
|
|
24908
24908
|
const actions = [
|
|
24909
24909
|
{
|
|
24910
24910
|
id: "goto-user-settings",
|
|
@@ -24969,7 +24969,7 @@ function createBuiltinActions(environment, session) {
|
|
|
24969
24969
|
icon: "Files",
|
|
24970
24970
|
keywords: ["download", "csv", "excel"],
|
|
24971
24971
|
available: inWorkspace,
|
|
24972
|
-
run: () =>
|
|
24972
|
+
run: () => chunkGENUGV6V_cjs.useFilesDialogs.getState().setExportOpen(true)
|
|
24973
24973
|
},
|
|
24974
24974
|
{
|
|
24975
24975
|
id: "bulk-tag-documents",
|
|
@@ -24978,7 +24978,7 @@ function createBuiltinActions(environment, session) {
|
|
|
24978
24978
|
icon: "Tags",
|
|
24979
24979
|
keywords: ["labels", "categorize", "bulk tag"],
|
|
24980
24980
|
available: inWorkspace,
|
|
24981
|
-
run: () =>
|
|
24981
|
+
run: () => chunkGENUGV6V_cjs.useFilesDialogs.getState().setBulkTagsOpen(true)
|
|
24982
24982
|
},
|
|
24983
24983
|
{
|
|
24984
24984
|
id: "move-to-folder",
|
|
@@ -24987,7 +24987,7 @@ function createBuiltinActions(environment, session) {
|
|
|
24987
24987
|
icon: "FolderInput",
|
|
24988
24988
|
keywords: ["organize", "relocate"],
|
|
24989
24989
|
available: inWorkspace,
|
|
24990
|
-
run: () =>
|
|
24990
|
+
run: () => chunkGENUGV6V_cjs.useFilesDialogs.getState().openMove()
|
|
24991
24991
|
},
|
|
24992
24992
|
{
|
|
24993
24993
|
id: "ai-review-documents",
|
|
@@ -24996,7 +24996,7 @@ function createBuiltinActions(environment, session) {
|
|
|
24996
24996
|
icon: "Sparkles",
|
|
24997
24997
|
keywords: ["auto tag", "analyze", "suggest tags"],
|
|
24998
24998
|
available: inWorkspace,
|
|
24999
|
-
run: () =>
|
|
24999
|
+
run: () => chunkGENUGV6V_cjs.useAiReviewStore.getState().setOpen(true)
|
|
25000
25000
|
},
|
|
25001
25001
|
{
|
|
25002
25002
|
id: "docs-grid-view",
|
|
@@ -25464,7 +25464,7 @@ function ConnectedRemoteControlConsent() {
|
|
|
25464
25464
|
}
|
|
25465
25465
|
function ConsentPrompt() {
|
|
25466
25466
|
const pending = react$1.useRemoteControl((s) => s.pending);
|
|
25467
|
-
const remote =
|
|
25467
|
+
const remote = chunkPGKCL6YA_cjs.useRemoteControlActions();
|
|
25468
25468
|
const onceRef = react.useRef(null);
|
|
25469
25469
|
chunkNZNBJF3M_cjs.useMountedSurface("consent");
|
|
25470
25470
|
const handleOpenChange = (next) => {
|
|
@@ -25557,7 +25557,7 @@ function Indicator() {
|
|
|
25557
25557
|
const enabled = react$1.useRemoteControl((s) => s.enabled);
|
|
25558
25558
|
const sharing = react$1.useRemoteControl((s) => !!s.sharing);
|
|
25559
25559
|
const controllingAgent = react$1.useRemoteControl((s) => s.controllingAgent);
|
|
25560
|
-
const remote =
|
|
25560
|
+
const remote = chunkPGKCL6YA_cjs.useRemoteControlActions();
|
|
25561
25561
|
if (!enabled && !controllingAgent) return null;
|
|
25562
25562
|
const isActive = controllingAgent !== null;
|
|
25563
25563
|
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";
|
|
@@ -25603,7 +25603,7 @@ function AddFromAccountsButton({
|
|
|
25603
25603
|
className: "gap-2",
|
|
25604
25604
|
"data-testid": dataTestId,
|
|
25605
25605
|
children: [
|
|
25606
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
25606
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
|
|
25607
25607
|
"Add from accounts"
|
|
25608
25608
|
]
|
|
25609
25609
|
}
|
|
@@ -25687,7 +25687,7 @@ function ConnectedUploadDropzone({
|
|
|
25687
25687
|
const onFiles = browse(fileInputRef);
|
|
25688
25688
|
const onFolder = browse(folderInputRef);
|
|
25689
25689
|
const dropTarget = /* @__PURE__ */ jsxRuntime.jsx(
|
|
25690
|
-
|
|
25690
|
+
chunk72O4YH5M_cjs.UploadDropArea,
|
|
25691
25691
|
{
|
|
25692
25692
|
isActive: dragActive,
|
|
25693
25693
|
isDisabled: disabled,
|
|
@@ -25701,11 +25701,11 @@ function ConnectedUploadDropzone({
|
|
|
25701
25701
|
onClick: (e) => {
|
|
25702
25702
|
if (e.target === e.currentTarget) onFiles();
|
|
25703
25703
|
},
|
|
25704
|
-
actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
25704
|
+
actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
|
|
25705
25705
|
}
|
|
25706
25706
|
);
|
|
25707
25707
|
const urlDialog = (trigger) => onUrlsSubmit ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
25708
|
-
|
|
25708
|
+
chunk72O4YH5M_cjs.UrlInputDialog,
|
|
25709
25709
|
{
|
|
25710
25710
|
onUrlsSubmit,
|
|
25711
25711
|
processing: disabled,
|
|
@@ -25718,12 +25718,12 @@ function ConnectedUploadDropzone({
|
|
|
25718
25718
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
25719
25719
|
dropTarget,
|
|
25720
25720
|
compactLeadingAction,
|
|
25721
|
-
onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(
|
|
25721
|
+
onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
|
|
25722
25722
|
] });
|
|
25723
25723
|
}
|
|
25724
25724
|
if (!source) {
|
|
25725
25725
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
25726
|
-
|
|
25726
|
+
chunk72O4YH5M_cjs.UploadSourcePicker,
|
|
25727
25727
|
{
|
|
25728
25728
|
isDisabled: disabled,
|
|
25729
25729
|
options: [
|
|
@@ -25759,14 +25759,14 @@ function ConnectedUploadDropzone({
|
|
|
25759
25759
|
}
|
|
25760
25760
|
if (source === "computer") {
|
|
25761
25761
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
25762
|
-
|
|
25762
|
+
chunk72O4YH5M_cjs.UploadSourceSection,
|
|
25763
25763
|
{
|
|
25764
25764
|
testId: "upload-source-computer",
|
|
25765
25765
|
className: "flex w-full flex-col gap-3 pointer-coarse:flex-col-reverse",
|
|
25766
25766
|
children: [
|
|
25767
25767
|
dropTarget,
|
|
25768
25768
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
25769
|
-
|
|
25769
|
+
chunk72O4YH5M_cjs.UploadBrowseButtons,
|
|
25770
25770
|
{
|
|
25771
25771
|
layout: "grid",
|
|
25772
25772
|
onFiles,
|
|
@@ -25779,15 +25779,15 @@ function ConnectedUploadDropzone({
|
|
|
25779
25779
|
);
|
|
25780
25780
|
}
|
|
25781
25781
|
if (source === "internet" && onUrlsSubmit) {
|
|
25782
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
25782
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
|
|
25783
25783
|
}
|
|
25784
25784
|
if (source === "email" && accounts) {
|
|
25785
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
25785
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
|
|
25786
25786
|
}
|
|
25787
25787
|
return null;
|
|
25788
25788
|
})();
|
|
25789
25789
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
25790
|
-
|
|
25790
|
+
chunk72O4YH5M_cjs.UploadFrame,
|
|
25791
25791
|
{
|
|
25792
25792
|
isCompact: compact,
|
|
25793
25793
|
isDimmed: disabled || processingMessage !== null,
|
|
@@ -25848,7 +25848,7 @@ function EmptyWorkspaceUpload({
|
|
|
25848
25848
|
compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
|
|
25849
25849
|
}
|
|
25850
25850
|
),
|
|
25851
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
25851
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.PrivacyExplainerModal, {})
|
|
25852
25852
|
] })
|
|
25853
25853
|
}
|
|
25854
25854
|
);
|
|
@@ -25955,9 +25955,9 @@ function useDocumentFilters({
|
|
|
25955
25955
|
const { data: members = [] } = react$1.useWorkspaceUsers();
|
|
25956
25956
|
const user = members.find((m) => m.user.external_id === currentUserId)?.user;
|
|
25957
25957
|
const offlineIds = react$1.useOfflineDocumentIds();
|
|
25958
|
-
const pendingFolders =
|
|
25959
|
-
const persistedDocumentFilters =
|
|
25960
|
-
const setPersistedDocumentFilters =
|
|
25958
|
+
const pendingFolders = chunkGENUGV6V_cjs.usePendingFolders(selectedWorkspaceId);
|
|
25959
|
+
const persistedDocumentFilters = chunkGENUGV6V_cjs.useFilesPrefs((state) => state.documentFilters);
|
|
25960
|
+
const setPersistedDocumentFilters = chunkGENUGV6V_cjs.useFilesPrefs((state) => state.setDocumentFilters);
|
|
25961
25961
|
const folderTree = react.useMemo(() => {
|
|
25962
25962
|
const allPaths = /* @__PURE__ */ new Set();
|
|
25963
25963
|
let hasUnfiled = false;
|
|
@@ -26178,7 +26178,7 @@ function useDocumentFilters({
|
|
|
26178
26178
|
{
|
|
26179
26179
|
id: "uploaded_by_me",
|
|
26180
26180
|
label: "Uploaded by me",
|
|
26181
|
-
icon: user ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
26181
|
+
icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkE7BSG5IS_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
|
|
26182
26182
|
count: docs.filter((doc) => doc.created_by_ext_id === currentUserId).length
|
|
26183
26183
|
},
|
|
26184
26184
|
{
|
|
@@ -26299,7 +26299,7 @@ function useDocumentFilters({
|
|
|
26299
26299
|
const folderPath = react.useMemo(() => {
|
|
26300
26300
|
for (const [key, state] of documentFilters) {
|
|
26301
26301
|
if (key.startsWith("folder:") && key !== "folder:none" && state === "include") {
|
|
26302
|
-
return
|
|
26302
|
+
return chunk72O4YH5M_cjs.parseFolderSegments(key.slice("folder:".length));
|
|
26303
26303
|
}
|
|
26304
26304
|
}
|
|
26305
26305
|
return [];
|
|
@@ -26308,7 +26308,7 @@ function useDocumentFilters({
|
|
|
26308
26308
|
(path) => {
|
|
26309
26309
|
const next = new Map(documentFilters);
|
|
26310
26310
|
for (const key of next.keys()) if (key.startsWith("folder:")) next.set(key, null);
|
|
26311
|
-
const joined =
|
|
26311
|
+
const joined = chunk72O4YH5M_cjs.joinFolderPath(path);
|
|
26312
26312
|
if (joined) next.set(`folder:${joined}`, "include");
|
|
26313
26313
|
setDocumentFilters(next);
|
|
26314
26314
|
},
|
|
@@ -26535,7 +26535,7 @@ function ConnectedSearchPage({ embedded = false, labels }) {
|
|
|
26535
26535
|
const scopeCount = scope.count;
|
|
26536
26536
|
const tooMany = !!scopeDocIds && scopeDocIds.length > react$1.MAX_RETRIEVE_DOC_IDS;
|
|
26537
26537
|
const tooManyMessage = tooMany ? l.tooManyDocuments(scopeCount, react$1.MAX_RETRIEVE_DOC_IDS) : void 0;
|
|
26538
|
-
const uploadUrls =
|
|
26538
|
+
const uploadUrls = chunkHTH3XIFF_cjs.useAddFromUrls({
|
|
26539
26539
|
onZipFiles: (files) => openUpload?.(files, { source: "computer" })
|
|
26540
26540
|
});
|
|
26541
26541
|
const search = react$1.useSemanticSearch(scopeDocIds ?? [], {
|
|
@@ -28891,7 +28891,7 @@ function ConnectedMailbox({
|
|
|
28891
28891
|
onTabChange: () => {
|
|
28892
28892
|
},
|
|
28893
28893
|
compactBreakpoint: 360,
|
|
28894
|
-
firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
28894
|
+
firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.FilesFilterBar, { children: [
|
|
28895
28895
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28896
28896
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
28897
28897
|
{
|
|
@@ -28926,7 +28926,7 @@ function ConnectedMailbox({
|
|
|
28926
28926
|
}
|
|
28927
28927
|
),
|
|
28928
28928
|
folderList && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 items-center gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28929
|
-
|
|
28929
|
+
chunk72O4YH5M_cjs.FolderFilterButton,
|
|
28930
28930
|
{
|
|
28931
28931
|
label: folderList.find((f) => f.id === folderId)?.name ?? "Folders",
|
|
28932
28932
|
isActive: false,
|
|
@@ -28934,7 +28934,7 @@ function ConnectedMailbox({
|
|
|
28934
28934
|
onOpenChange: setFolderMenuOpen,
|
|
28935
28935
|
testId: "mail-folder-button",
|
|
28936
28936
|
children: folderList.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
28937
|
-
|
|
28937
|
+
chunk72O4YH5M_cjs.FolderPickerRow,
|
|
28938
28938
|
{
|
|
28939
28939
|
label: item.name,
|
|
28940
28940
|
count: item.unread > 0 ? item.unread : void 0,
|
|
@@ -29448,7 +29448,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
29448
29448
|
}) {
|
|
29449
29449
|
const authenticated = react$1.useArbiSession().status === "signed-in";
|
|
29450
29450
|
const { openMail } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
29451
|
-
const { loading } =
|
|
29451
|
+
const { loading } = chunkPGKCL6YA_cjs.useAuthPages();
|
|
29452
29452
|
const claim = react$1.useClaimSecureMail();
|
|
29453
29453
|
const [, setFirstLoginWorkspaces] = react$1.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
|
|
29454
29454
|
const [failure, setFailure] = react.useState(null);
|
|
@@ -29488,7 +29488,7 @@ function ConnectedSecureMailClaimPage({
|
|
|
29488
29488
|
}
|
|
29489
29489
|
})();
|
|
29490
29490
|
}, [authenticated, claimId, key]);
|
|
29491
|
-
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
29491
|
+
if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunk2QGTWHPQ_cjs.LoadingIndicator, { variant: "splash" }) });
|
|
29492
29492
|
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: [
|
|
29493
29493
|
/* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
|
|
29494
29494
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -31458,42 +31458,42 @@ function useConnectedCalendarCalls() {
|
|
|
31458
31458
|
[knownUsers]
|
|
31459
31459
|
);
|
|
31460
31460
|
return react.useMemo(() => {
|
|
31461
|
-
const users = (attendees) =>
|
|
31461
|
+
const users = (attendees) => chunkHTH3XIFF_cjs.resolveAttendeeUsersRemote(arbi, attendees, known, me);
|
|
31462
31462
|
return {
|
|
31463
31463
|
canSchedule,
|
|
31464
31464
|
async create(draft, webinarRoles) {
|
|
31465
31465
|
const resolved = await users(draft.attendees ?? []);
|
|
31466
|
-
return
|
|
31466
|
+
return chunkHTH3XIFF_cjs.createEventCall(arbi, {
|
|
31467
31467
|
title: draft.title,
|
|
31468
|
-
peers:
|
|
31469
|
-
webinar: webinarRoles ? { roles:
|
|
31468
|
+
peers: chunkHTH3XIFF_cjs.distinctPeers(resolved),
|
|
31469
|
+
webinar: webinarRoles ? { roles: chunkHTH3XIFF_cjs.webinarRolesByUser(webinarRoles, resolved) } : null
|
|
31470
31470
|
});
|
|
31471
31471
|
},
|
|
31472
31472
|
async share(draft) {
|
|
31473
|
-
await
|
|
31473
|
+
await chunkHTH3XIFF_cjs.shareEventCall(
|
|
31474
31474
|
arbi,
|
|
31475
31475
|
draft.conference,
|
|
31476
|
-
await
|
|
31476
|
+
await chunkHTH3XIFF_cjs.resolveCallPeersRemote(arbi, draft.attendees ?? [], known, me)
|
|
31477
31477
|
);
|
|
31478
31478
|
},
|
|
31479
|
-
loadWebinarRoles: (url, attendees) =>
|
|
31479
|
+
loadWebinarRoles: (url, attendees) => chunkHTH3XIFF_cjs.loadEventWebinar(arbi, url, attendees),
|
|
31480
31480
|
async saveWebinarRoles(url, roles, attendees) {
|
|
31481
31481
|
const resolved = await users(attendees);
|
|
31482
|
-
await
|
|
31482
|
+
await chunkHTH3XIFF_cjs.updateEventWebinarRoles(
|
|
31483
31483
|
arbi,
|
|
31484
31484
|
url,
|
|
31485
|
-
|
|
31486
|
-
|
|
31485
|
+
chunkHTH3XIFF_cjs.webinarRolesByUser(roles, resolved),
|
|
31486
|
+
chunkHTH3XIFF_cjs.distinctPeers(resolved)
|
|
31487
31487
|
);
|
|
31488
31488
|
},
|
|
31489
31489
|
async arbiAttendees(attendees) {
|
|
31490
31490
|
return new Set((await users(attendees)).keys());
|
|
31491
31491
|
},
|
|
31492
31492
|
join(url) {
|
|
31493
|
-
void
|
|
31493
|
+
void chunkHTH3XIFF_cjs.joinEventMeeting(arbi, url);
|
|
31494
31494
|
},
|
|
31495
31495
|
openChat(url) {
|
|
31496
|
-
const parsed =
|
|
31496
|
+
const parsed = chunkHTH3XIFF_cjs.parseArbiCallUrlForClient(arbi, url);
|
|
31497
31497
|
if (parsed) void openCallMeetingChat({ callExtId: parsed.callId, callKey: parsed.key });
|
|
31498
31498
|
}
|
|
31499
31499
|
};
|
|
@@ -32033,7 +32033,7 @@ function ConnectedCalendar({
|
|
|
32033
32033
|
}
|
|
32034
32034
|
),
|
|
32035
32035
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32036
|
-
|
|
32036
|
+
chunkHTH3XIFF_cjs.ConnectedUpcomingEvents,
|
|
32037
32037
|
{
|
|
32038
32038
|
timeZone: zone,
|
|
32039
32039
|
showDeclined: !!settings.show_declined,
|
|
@@ -32669,7 +32669,7 @@ function ProcessingSettingsFooter({
|
|
|
32669
32669
|
[configField]
|
|
32670
32670
|
);
|
|
32671
32671
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32672
|
-
|
|
32672
|
+
chunk72O4YH5M_cjs.UploadFooterBar,
|
|
32673
32673
|
{
|
|
32674
32674
|
skipDuplicates,
|
|
32675
32675
|
onSkipDuplicatesChange: (value) => handleConfigChange("Parser", "SKIP_DUPLICATES", value),
|
|
@@ -32678,7 +32678,7 @@ function ProcessingSettingsFooter({
|
|
|
32678
32678
|
autoRenameInstruction,
|
|
32679
32679
|
onAutoRenameInstructionChange: (value) => handleConfigChange("DoctagLLM", "AUTO_RENAME_INSTRUCTION", value),
|
|
32680
32680
|
shareToggle: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32681
|
-
|
|
32681
|
+
chunk72O4YH5M_cjs.ShareToggle,
|
|
32682
32682
|
{
|
|
32683
32683
|
isVisible: isShared,
|
|
32684
32684
|
onToggle: onSharedChange,
|
|
@@ -32808,7 +32808,7 @@ ${summary}`,
|
|
|
32808
32808
|
fail2
|
|
32809
32809
|
]);
|
|
32810
32810
|
const zipFilesAdded = react.useRef(false);
|
|
32811
|
-
const addFromUrls =
|
|
32811
|
+
const addFromUrls = chunkHTH3XIFF_cjs.useAddFromUrls({
|
|
32812
32812
|
shared,
|
|
32813
32813
|
configExtId,
|
|
32814
32814
|
onZipFiles: (zipFiles) => {
|
|
@@ -32855,7 +32855,7 @@ ${summary}`,
|
|
|
32855
32855
|
}
|
|
32856
32856
|
);
|
|
32857
32857
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-0 flex-1 flex-col", "data-testid": "upload-documents", children: [
|
|
32858
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
32858
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
|
|
32859
32859
|
files.length === 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
32860
32860
|
ConnectedUploadDropzone,
|
|
32861
32861
|
{
|
|
@@ -32871,7 +32871,7 @@ ${summary}`,
|
|
|
32871
32871
|
}
|
|
32872
32872
|
),
|
|
32873
32873
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32874
|
-
|
|
32874
|
+
chunk72O4YH5M_cjs.SelectedFilesList,
|
|
32875
32875
|
{
|
|
32876
32876
|
renderFileIcon,
|
|
32877
32877
|
files,
|
|
@@ -32880,10 +32880,10 @@ ${summary}`,
|
|
|
32880
32880
|
formatFileSize: formatFileSize3
|
|
32881
32881
|
}
|
|
32882
32882
|
),
|
|
32883
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32884
|
-
error && /* @__PURE__ */ jsxRuntime.jsx(
|
|
32885
|
-
] }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
32886
|
-
|
|
32883
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
|
|
32884
|
+
error && /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.UploadErrorMessage, { message: error })
|
|
32885
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32886
|
+
chunk72O4YH5M_cjs.UploadProgress,
|
|
32887
32887
|
{
|
|
32888
32888
|
fileCount: count2,
|
|
32889
32889
|
entityLabel: plural4(count2),
|
|
@@ -33045,14 +33045,14 @@ function NativeMailImportSection({
|
|
|
33045
33045
|
),
|
|
33046
33046
|
onError: (e) => notify19(e instanceof Error ? e.message : "Could not add mail", "error")
|
|
33047
33047
|
});
|
|
33048
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33049
|
-
|
|
33048
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.ImportFamilySection, { label: "Mail", identity: native.email, testId: "import-family-native", children: /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.ImportList, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
33049
|
+
chunk72O4YH5M_cjs.ImportRow,
|
|
33050
33050
|
{
|
|
33051
33051
|
testId: "email-provider-row-native",
|
|
33052
33052
|
logo: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mail, { className: "h-7 w-7 text-primary", "aria-hidden": "true" }),
|
|
33053
33053
|
name: NATIVE_MAILBOX_SOURCE.display_name,
|
|
33054
33054
|
actions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33055
|
-
|
|
33055
|
+
chunk72O4YH5M_cjs.ImportRunActions,
|
|
33056
33056
|
{
|
|
33057
33057
|
isRunning: false,
|
|
33058
33058
|
isBusy: fileNow.isPending,
|
|
@@ -33066,10 +33066,10 @@ function NativeMailImportSection({
|
|
|
33066
33066
|
),
|
|
33067
33067
|
children: [
|
|
33068
33068
|
here && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
33069
|
-
|
|
33069
|
+
chunk72O4YH5M_cjs.ImportSummary,
|
|
33070
33070
|
{
|
|
33071
|
-
aside: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33072
|
-
|
|
33071
|
+
aside: /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.ImportAside, { children: here.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
33072
|
+
chunk72O4YH5M_cjs.FolderSummary,
|
|
33073
33073
|
{
|
|
33074
33074
|
names: here.folders.map(
|
|
33075
33075
|
(id) => NATIVE_MAILBOX_FOLDERS.find((f) => f.id === id)?.name
|
|
@@ -33111,7 +33111,7 @@ var PROVIDER_FAMILIES = [
|
|
|
33111
33111
|
{ key: "google", label: "Google", vendors: ["gmail"] }
|
|
33112
33112
|
];
|
|
33113
33113
|
function VendorGlyph({ catalog }) {
|
|
33114
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33114
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
|
|
33115
33115
|
}
|
|
33116
33116
|
function mailboxProductName(catalog) {
|
|
33117
33117
|
if (catalog.vendor_key === "microsoft") return "Outlook";
|
|
@@ -33179,7 +33179,7 @@ function EmailProviderRow({
|
|
|
33179
33179
|
const emailNoun = (n) => n === 1 ? "email" : "emails";
|
|
33180
33180
|
const syncedCount = thisSync?.synced_count ?? 0;
|
|
33181
33181
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
33182
|
-
|
|
33182
|
+
chunk72O4YH5M_cjs.ImportRow,
|
|
33183
33183
|
{
|
|
33184
33184
|
testId: `email-provider-row-${catalog.vendor_key}`,
|
|
33185
33185
|
logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph, { catalog }),
|
|
@@ -33188,7 +33188,7 @@ function EmailProviderRow({
|
|
|
33188
33188
|
// Connecting AND reconnecting are owned by the family header, so a
|
|
33189
33189
|
// not-connected or needs-reconnect row shows no button of its own.
|
|
33190
33190
|
!isConnected || needsReconnect ? null : /* @__PURE__ */ jsxRuntime.jsx(
|
|
33191
|
-
|
|
33191
|
+
chunk72O4YH5M_cjs.ImportRunActions,
|
|
33192
33192
|
{
|
|
33193
33193
|
isRunning: running,
|
|
33194
33194
|
isStopping: cancelSync.isPending,
|
|
@@ -33204,10 +33204,10 @@ function EmailProviderRow({
|
|
|
33204
33204
|
),
|
|
33205
33205
|
children: [
|
|
33206
33206
|
isConnected && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
33207
|
-
|
|
33207
|
+
chunk72O4YH5M_cjs.ImportSummary,
|
|
33208
33208
|
{
|
|
33209
|
-
aside: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33210
|
-
|
|
33209
|
+
aside: /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
33210
|
+
chunk72O4YH5M_cjs.FolderSummary,
|
|
33211
33211
|
{
|
|
33212
33212
|
names: thisSync.folders.map(
|
|
33213
33213
|
(id) => mailboxFolders?.find((f) => f.id === id)?.name
|
|
@@ -33231,7 +33231,7 @@ function EmailProviderRow({
|
|
|
33231
33231
|
}
|
|
33232
33232
|
),
|
|
33233
33233
|
running && /* @__PURE__ */ jsxRuntime.jsx(
|
|
33234
|
-
|
|
33234
|
+
chunk72O4YH5M_cjs.ImportProgress,
|
|
33235
33235
|
{
|
|
33236
33236
|
processed: progress?.processed ?? 0,
|
|
33237
33237
|
total: progress?.total,
|
|
@@ -33349,11 +33349,11 @@ function EmailImportPanel({
|
|
|
33349
33349
|
return { family, entries, extra, identity, connectVendor, connected, needsReconnect };
|
|
33350
33350
|
}).filter((g) => g.entries.length > 0 || g.extra);
|
|
33351
33351
|
if (!ownMailbox && groups.length === 0) return null;
|
|
33352
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
33352
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.ImportPanel, { "data-testid": "email-import-panel", children: [
|
|
33353
33353
|
ownMailbox && /* @__PURE__ */ jsxRuntime.jsx(NativeMailImportSection, { workspaceExtId, native: ownMailbox }),
|
|
33354
33354
|
groups.map(
|
|
33355
33355
|
({ family, entries, extra, identity, connectVendor, connected, needsReconnect }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
33356
|
-
|
|
33356
|
+
chunk72O4YH5M_cjs.ImportFamilySection,
|
|
33357
33357
|
{
|
|
33358
33358
|
label: family.label,
|
|
33359
33359
|
identity,
|
|
@@ -33362,7 +33362,7 @@ function EmailImportPanel({
|
|
|
33362
33362
|
onAction: () => void (!connected ? connectFamily(connectVendor) : needsReconnect ? reconnectFamily(connectVendor) : disconnectFamily(family, connectVendor, identity)),
|
|
33363
33363
|
testId: `import-family-${family.key}`,
|
|
33364
33364
|
actionButton: !connected ? { testId: `import-family-connect-${family.key}` } : needsReconnect ? { testId: `import-family-reconnect-${family.key}` } : { testId: `import-family-disconnect-${family.key}` },
|
|
33365
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
33365
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.ImportList, { children: [
|
|
33366
33366
|
entries.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
33367
33367
|
EmailProviderRow,
|
|
33368
33368
|
{
|
|
@@ -33447,7 +33447,7 @@ function driveProduct(vendorKey) {
|
|
|
33447
33447
|
}
|
|
33448
33448
|
function VendorGlyph2({ catalog }) {
|
|
33449
33449
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33450
|
-
|
|
33450
|
+
chunk72O4YH5M_cjs.VendorLogo,
|
|
33451
33451
|
{
|
|
33452
33452
|
vendorKey: catalog.vendor_key,
|
|
33453
33453
|
product: driveProduct(catalog.vendor_key).glyph,
|
|
@@ -33570,7 +33570,7 @@ function OneDriveProviderRow({
|
|
|
33570
33570
|
const driveNoun = (n) => n === 1 ? "document" : "documents";
|
|
33571
33571
|
const showRunActions = isConnected && !needsReconnect;
|
|
33572
33572
|
const reconnectAction = ownsAuth && needsReconnect ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
33573
|
-
|
|
33573
|
+
chunk72O4YH5M_cjs.ImportActionButton,
|
|
33574
33574
|
{
|
|
33575
33575
|
onClick: () => void reconnectSelf(),
|
|
33576
33576
|
disabled: reauthPending,
|
|
@@ -33579,7 +33579,7 @@ function OneDriveProviderRow({
|
|
|
33579
33579
|
}
|
|
33580
33580
|
) : null;
|
|
33581
33581
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
33582
|
-
|
|
33582
|
+
chunk72O4YH5M_cjs.ImportRow,
|
|
33583
33583
|
{
|
|
33584
33584
|
testId: `onedrive-provider-row-${catalog.vendor_key}`,
|
|
33585
33585
|
logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph2, { catalog }),
|
|
@@ -33591,7 +33591,7 @@ function OneDriveProviderRow({
|
|
|
33591
33591
|
// Until folders are configured here (or when nothing new is pending), Import now
|
|
33592
33592
|
// stays disabled; the gear opens the folder picker.
|
|
33593
33593
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33594
|
-
|
|
33594
|
+
chunk72O4YH5M_cjs.ImportRunActions,
|
|
33595
33595
|
{
|
|
33596
33596
|
isRunning: running,
|
|
33597
33597
|
isStopping: cancelSync.isPending,
|
|
@@ -33610,16 +33610,16 @@ function OneDriveProviderRow({
|
|
|
33610
33610
|
) : reconnectAction
|
|
33611
33611
|
),
|
|
33612
33612
|
children: [
|
|
33613
|
-
ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
33613
|
+
ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
|
|
33614
33614
|
"Couldn\u2019t reach SharePoint. Click ",
|
|
33615
33615
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: "Reconnect" }),
|
|
33616
33616
|
" \u2014 if it keeps happening, log out and back in to refresh the connection."
|
|
33617
33617
|
] }),
|
|
33618
33618
|
configuredHere && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
33619
|
-
|
|
33619
|
+
chunk72O4YH5M_cjs.ImportSummary,
|
|
33620
33620
|
{
|
|
33621
33621
|
className: "mt-2",
|
|
33622
|
-
aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
33622
|
+
aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_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,
|
|
33623
33623
|
children: [
|
|
33624
33624
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
33625
33625
|
"Syncing ",
|
|
@@ -33647,7 +33647,7 @@ function OneDriveProviderRow({
|
|
|
33647
33647
|
}
|
|
33648
33648
|
),
|
|
33649
33649
|
running && /* @__PURE__ */ jsxRuntime.jsx(
|
|
33650
|
-
|
|
33650
|
+
chunk72O4YH5M_cjs.ImportProgress,
|
|
33651
33651
|
{
|
|
33652
33652
|
processed: progress?.processed ?? 0,
|
|
33653
33653
|
total: progress?.total,
|
|
@@ -33711,13 +33711,13 @@ function SharePointEnableRow({
|
|
|
33711
33711
|
}
|
|
33712
33712
|
};
|
|
33713
33713
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33714
|
-
|
|
33714
|
+
chunk72O4YH5M_cjs.ImportRow,
|
|
33715
33715
|
{
|
|
33716
33716
|
testId: `onedrive-provider-row-${catalog.vendor_key}`,
|
|
33717
|
-
logo: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33717
|
+
logo: /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
|
|
33718
33718
|
name: product.name,
|
|
33719
33719
|
actions: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33720
|
-
|
|
33720
|
+
chunk72O4YH5M_cjs.ImportActionButton,
|
|
33721
33721
|
{
|
|
33722
33722
|
onClick: () => void enable(),
|
|
33723
33723
|
disabled: pending,
|
|
@@ -33725,7 +33725,7 @@ function SharePointEnableRow({
|
|
|
33725
33725
|
children: pending ? "Enabling\u2026" : `Enable ${product.name}`
|
|
33726
33726
|
}
|
|
33727
33727
|
),
|
|
33728
|
-
children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
33728
|
+
children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.ImportHint, { children: [
|
|
33729
33729
|
"Does your organization require admin approval?",
|
|
33730
33730
|
" ",
|
|
33731
33731
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -33774,11 +33774,11 @@ function DriveImportPanel({
|
|
|
33774
33774
|
}
|
|
33775
33775
|
const product = driveProduct(entry.vendor_key);
|
|
33776
33776
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33777
|
-
|
|
33777
|
+
chunk72O4YH5M_cjs.ImportRow,
|
|
33778
33778
|
{
|
|
33779
33779
|
testId: `onedrive-provider-row-${entry.vendor_key}`,
|
|
33780
33780
|
logo: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33781
|
-
|
|
33781
|
+
chunk72O4YH5M_cjs.VendorLogo,
|
|
33782
33782
|
{
|
|
33783
33783
|
vendorKey: entry.vendor_key,
|
|
33784
33784
|
product: product.glyph,
|
|
@@ -33803,7 +33803,7 @@ function DriveImportPanel({
|
|
|
33803
33803
|
);
|
|
33804
33804
|
}).filter(Boolean);
|
|
33805
33805
|
if (rows.length === 0) return null;
|
|
33806
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33806
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
|
|
33807
33807
|
}
|
|
33808
33808
|
function useHasAccountsImport() {
|
|
33809
33809
|
const isVendorVisible = react$1.useConnectorVendorVisibility();
|
|
@@ -33905,7 +33905,7 @@ function ConnectedUploadDialog({ props, onClose }) {
|
|
|
33905
33905
|
title: source ? TITLES[source] : `Add ${ui.getEntityLabel("DOCUMENT", "PLURAL")}`,
|
|
33906
33906
|
description: `Upload documents to ${workspace.name}`,
|
|
33907
33907
|
workspaceName: workspace.name,
|
|
33908
|
-
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33908
|
+
workspaceIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkHTH3XIFF_cjs.ConnectedWorkspaceEntity, { workspace, size: 16, variant: "icon" })
|
|
33909
33909
|
}
|
|
33910
33910
|
),
|
|
33911
33911
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-0 flex-1 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -33948,7 +33948,7 @@ function ConnectedBulkTagCrumbs() {
|
|
|
33948
33948
|
{
|
|
33949
33949
|
items: [
|
|
33950
33950
|
{
|
|
33951
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33951
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkHTH3XIFF_cjs.ConnectedWorkspaceEntity, { workspace, size: 16, variant: "icon" }),
|
|
33952
33952
|
label: workspace.name
|
|
33953
33953
|
},
|
|
33954
33954
|
...pageLabel ? [{ icon: /* @__PURE__ */ jsxRuntime.jsx(ui.EntityIcon, { entityType: "DOCUMENT", className: "size-4" }), label: pageLabel }] : []
|
|
@@ -33975,7 +33975,7 @@ function DocumentNameCellRenderer(params) {
|
|
|
33975
33975
|
if (!doc) return null;
|
|
33976
33976
|
const context = params.context;
|
|
33977
33977
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33978
|
-
|
|
33978
|
+
chunkE7BSG5IS_cjs.DocumentNameCell,
|
|
33979
33979
|
{
|
|
33980
33980
|
doc,
|
|
33981
33981
|
canEdit: canEdit(params),
|
|
@@ -33993,7 +33993,7 @@ function DocumentNameCellRenderer(params) {
|
|
|
33993
33993
|
function SharedCellRenderer(params) {
|
|
33994
33994
|
if (!params.data) return null;
|
|
33995
33995
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33996
|
-
|
|
33996
|
+
chunkE7BSG5IS_cjs.DocumentSharedCell,
|
|
33997
33997
|
{
|
|
33998
33998
|
document: params.data,
|
|
33999
33999
|
disabled: !params.canToggle(params),
|
|
@@ -34006,7 +34006,7 @@ function StatusCellRenderer(params) {
|
|
|
34006
34006
|
if (!params.data) return null;
|
|
34007
34007
|
const context = params.context;
|
|
34008
34008
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
34009
|
-
|
|
34009
|
+
chunkE7BSG5IS_cjs.StatusCell,
|
|
34010
34010
|
{
|
|
34011
34011
|
doc: params.data,
|
|
34012
34012
|
onStatusClick: params.onStatusClick,
|
|
@@ -34018,7 +34018,7 @@ function LabelsCellRenderer(params) {
|
|
|
34018
34018
|
if (!params.data) return null;
|
|
34019
34019
|
const context = params.context;
|
|
34020
34020
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
34021
|
-
|
|
34021
|
+
chunkE7BSG5IS_cjs.DocumentLabelsCell,
|
|
34022
34022
|
{
|
|
34023
34023
|
doc: params.data,
|
|
34024
34024
|
labels: params.labels,
|
|
@@ -34038,7 +34038,7 @@ function RelatedDocsCellRenderer(params) {
|
|
|
34038
34038
|
if (!related || react$1.getRelatedTotal(related) === 0) return null;
|
|
34039
34039
|
const { onOpenDocument, onDeleteDocument } = params;
|
|
34040
34040
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
34041
|
-
|
|
34041
|
+
chunkE7BSG5IS_cjs.RelatedDocumentsCell,
|
|
34042
34042
|
{
|
|
34043
34043
|
currentDoc: params.data,
|
|
34044
34044
|
related,
|
|
@@ -34053,7 +34053,7 @@ function FolderCellRenderer(params) {
|
|
|
34053
34053
|
if (!params.data) return null;
|
|
34054
34054
|
const context = params.context;
|
|
34055
34055
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
34056
|
-
|
|
34056
|
+
chunkE7BSG5IS_cjs.DocumentFolderCell,
|
|
34057
34057
|
{
|
|
34058
34058
|
document: params.data,
|
|
34059
34059
|
isEditable: params.canEdit(params),
|
|
@@ -34067,7 +34067,7 @@ function CreatedByCellRenderer(params) {
|
|
|
34067
34067
|
const context = params.context;
|
|
34068
34068
|
const creator = context?.getWorkspaceUsers?.().find((u) => u.external_id === params.data.created_by_ext_id);
|
|
34069
34069
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34070
|
-
|
|
34070
|
+
chunkE7BSG5IS_cjs.UserAvatar,
|
|
34071
34071
|
{
|
|
34072
34072
|
user: creator,
|
|
34073
34073
|
isMe: !!creator && creator.external_id === context?.getCurrentUserId?.(),
|
|
@@ -34080,7 +34080,7 @@ function CheckboxCellRenderer(params) {
|
|
|
34080
34080
|
if (!params.data) return null;
|
|
34081
34081
|
const isChecked = params.value === true;
|
|
34082
34082
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
34083
|
-
|
|
34083
|
+
chunk72O4YH5M_cjs.CheckboxCell,
|
|
34084
34084
|
{
|
|
34085
34085
|
isChecked,
|
|
34086
34086
|
color: tagColor,
|
|
@@ -34100,13 +34100,13 @@ function TagHeaderComponent(params) {
|
|
|
34100
34100
|
return () => params.column.removeEventListener("sortChanged", updateSort);
|
|
34101
34101
|
}, [params.column]);
|
|
34102
34102
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
34103
|
-
|
|
34103
|
+
chunk72O4YH5M_cjs.TagColumnHeader,
|
|
34104
34104
|
{
|
|
34105
34105
|
isCentered: isCheckbox,
|
|
34106
34106
|
sort,
|
|
34107
34107
|
onSort: params.enableSorting ? (additive) => params.progressSort(additive) : void 0,
|
|
34108
|
-
filter: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34109
|
-
label: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34108
|
+
filter: /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.FilterButton, { params, colId: tag.external_id }),
|
|
34109
|
+
label: /* @__PURE__ */ jsxRuntime.jsx(chunkIXSOSISW_cjs.ConnectedTagEntity, { tag, size: "sm" })
|
|
34110
34110
|
}
|
|
34111
34111
|
);
|
|
34112
34112
|
}
|
|
@@ -34191,7 +34191,7 @@ function createTagColumn({
|
|
|
34191
34191
|
tagColor,
|
|
34192
34192
|
isMember
|
|
34193
34193
|
} : void 0,
|
|
34194
|
-
cellEditor: isSelect ?
|
|
34194
|
+
cellEditor: isSelect ? chunk72O4YH5M_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
|
|
34195
34195
|
cellEditorParams: isSelect ? createMultiSelectCellEditorParams(tag.tag_type.options || []) : isText ? { rows: 8, cols: 50 } : void 0,
|
|
34196
34196
|
cellEditorPopup: isText || isSelect,
|
|
34197
34197
|
// Text and Select tags use popup editor for better UX
|
|
@@ -34311,8 +34311,8 @@ function createDocumentColumns({
|
|
|
34311
34311
|
onShareDocument,
|
|
34312
34312
|
notify: notify19
|
|
34313
34313
|
}) {
|
|
34314
|
-
const isRowEditableByOwner = (params) =>
|
|
34315
|
-
const isRowEditableByMember = (params) =>
|
|
34314
|
+
const isRowEditableByOwner = (params) => chunk72O4YH5M_cjs.canChangeVisibility(params.data, currentUserExtId);
|
|
34315
|
+
const isRowEditableByMember = (params) => chunk72O4YH5M_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
|
|
34316
34316
|
const checkboxTags = availableTags.filter(browser.isLabelTag);
|
|
34317
34317
|
const allColumns = [];
|
|
34318
34318
|
allColumns.push({
|
|
@@ -34404,7 +34404,7 @@ function createDocumentColumns({
|
|
|
34404
34404
|
cellRenderer: DocumentNameCellRenderer,
|
|
34405
34405
|
cellRendererParams: {
|
|
34406
34406
|
canEdit: isRowEditableByMember,
|
|
34407
|
-
canDelete: (params) =>
|
|
34407
|
+
canDelete: (params) => chunk72O4YH5M_cjs.canDeleteDocument(params.data, currentUserExtId, workspaceRole),
|
|
34408
34408
|
onOpenDocument: handleToggleDocumentViewer,
|
|
34409
34409
|
onReviewDocument,
|
|
34410
34410
|
onDocumentChat,
|
|
@@ -34436,7 +34436,7 @@ function createDocumentColumns({
|
|
|
34436
34436
|
singleClickEdit: true,
|
|
34437
34437
|
cellEditor: "agSelectCellEditor",
|
|
34438
34438
|
cellEditorParams: {
|
|
34439
|
-
values: [...
|
|
34439
|
+
values: [...chunk72O4YH5M_cjs.DOCUMENT_TYPE_OPTIONS]
|
|
34440
34440
|
},
|
|
34441
34441
|
context: { icon: lucideReact.Sparkles },
|
|
34442
34442
|
valueGetter: (params) => ui.getDocumentNature(params.data) || "",
|
|
@@ -34974,7 +34974,7 @@ function useDocumentTable({
|
|
|
34974
34974
|
}
|
|
34975
34975
|
const stabilizedTagIds = prevTagIdsRef.current;
|
|
34976
34976
|
const stabilizedTagNames = prevTagNamesRef.current;
|
|
34977
|
-
const defaultVisibleColumns = react.useMemo(() => [...
|
|
34977
|
+
const defaultVisibleColumns = react.useMemo(() => [...chunk72O4YH5M_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
|
|
34978
34978
|
const confirmRef = react.useRef(confirm);
|
|
34979
34979
|
confirmRef.current = confirm;
|
|
34980
34980
|
const shareDocument = react.useCallback(async (docId) => {
|
|
@@ -35231,9 +35231,9 @@ function ConnectedFilesBulkActions({
|
|
|
35231
35231
|
const bulk = useDocumentBulkActions(selectedDocuments);
|
|
35232
35232
|
const count2 = selectedDocuments.length;
|
|
35233
35233
|
const noun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL");
|
|
35234
|
-
const shareState =
|
|
35234
|
+
const shareState = chunk72O4YH5M_cjs.shareStateOf(bulk.freshSelectedDocuments);
|
|
35235
35235
|
const canDelete = bulk.freshSelectedDocuments.every(
|
|
35236
|
-
(doc) =>
|
|
35236
|
+
(doc) => chunk72O4YH5M_cjs.canDeleteDocument(doc, userId ?? void 0, role ?? null)
|
|
35237
35237
|
);
|
|
35238
35238
|
const [confirming, setConfirming] = react.useState(null);
|
|
35239
35239
|
const allOffline = count2 > 0 && selectedDocuments.every((doc) => offlineIds.has(doc.external_id));
|
|
@@ -35245,7 +35245,7 @@ function ConnectedFilesBulkActions({
|
|
|
35245
35245
|
const { openDocumentsChat, openFieldsManager } = actions;
|
|
35246
35246
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
35247
35247
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35248
|
-
|
|
35248
|
+
chunk72O4YH5M_cjs.BulkActionsBar,
|
|
35249
35249
|
{
|
|
35250
35250
|
count: count2,
|
|
35251
35251
|
onClear: onClearSelection,
|
|
@@ -35270,7 +35270,7 @@ function ConnectedFilesBulkActions({
|
|
|
35270
35270
|
isOfflinePending: offlinePending,
|
|
35271
35271
|
onDelete: canDelete ? () => setConfirming("delete") : void 0,
|
|
35272
35272
|
shareState,
|
|
35273
|
-
shareTooltip:
|
|
35273
|
+
shareTooltip: chunk72O4YH5M_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
|
|
35274
35274
|
onShare: () => void bulk.share()
|
|
35275
35275
|
}
|
|
35276
35276
|
),
|
|
@@ -35285,7 +35285,7 @@ function ConnectedFilesBulkActions({
|
|
|
35285
35285
|
onClearSelection();
|
|
35286
35286
|
},
|
|
35287
35287
|
title: `Delete ${count2} ${noun}`,
|
|
35288
|
-
description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ?
|
|
35288
|
+
description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunk72O4YH5M_cjs.RECENTLY_DELETED_HINT : chunk72O4YH5M_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
|
|
35289
35289
|
confirmText: "Delete",
|
|
35290
35290
|
variant: "destructive"
|
|
35291
35291
|
}
|
|
@@ -35533,7 +35533,7 @@ function useAiReviewLiveUpdates() {
|
|
|
35533
35533
|
if (message.batch_type !== "doctag_generate") return;
|
|
35534
35534
|
const docIds = message.doc_ext_ids ?? [];
|
|
35535
35535
|
if (!docIds.length) return;
|
|
35536
|
-
void refreshDocuments(docIds).then(() =>
|
|
35536
|
+
void refreshDocuments(docIds).then(() => chunkGENUGV6V_cjs.useAiReviewStore.getState().markFinished(docIds));
|
|
35537
35537
|
dropQueuedRows(docIds);
|
|
35538
35538
|
});
|
|
35539
35539
|
}
|
|
@@ -35568,7 +35568,7 @@ function useBatchCompleteToasts() {
|
|
|
35568
35568
|
const workspaceId = message.workspace_ext_id;
|
|
35569
35569
|
const docIds = message.doc_ext_ids ?? [];
|
|
35570
35570
|
const workspace = workspacesRef.current?.find((w) => w.external_id === workspaceId);
|
|
35571
|
-
const icon2 = workspace ? react.createElement(
|
|
35571
|
+
const icon2 = workspace ? react.createElement(chunkHTH3XIFF_cjs.ConnectedWorkspaceEntity, { workspace, variant: "icon", size: 20 }) : void 0;
|
|
35572
35572
|
const say = (text2, kind, options = {}) => notify19(text2, kind, { workspaceId, icon: icon2, ...options, ambient: false });
|
|
35573
35573
|
if (message.batch_type === "doctag_generate") {
|
|
35574
35574
|
const run = pending.current.get(workspaceId) ?? { docIds: /* @__PURE__ */ new Set(), icon: icon2 };
|
|
@@ -35579,7 +35579,7 @@ function useBatchCompleteToasts() {
|
|
|
35579
35579
|
timer.current = null;
|
|
35580
35580
|
const runs = pending.current;
|
|
35581
35581
|
pending.current = /* @__PURE__ */ new Map();
|
|
35582
|
-
const hasReview = !!
|
|
35582
|
+
const hasReview = !!chunkGENUGV6V_cjs.useAiReviewStore.getState().run;
|
|
35583
35583
|
for (const [id, entry] of runs) {
|
|
35584
35584
|
const n = entry.docIds.size;
|
|
35585
35585
|
notify19(
|
|
@@ -35592,7 +35592,7 @@ function useBatchCompleteToasts() {
|
|
|
35592
35592
|
...hasReview && {
|
|
35593
35593
|
action: {
|
|
35594
35594
|
label: "View results",
|
|
35595
|
-
onClick: () =>
|
|
35595
|
+
onClick: () => chunkGENUGV6V_cjs.useAiReviewStore.getState().setOpen(true)
|
|
35596
35596
|
}
|
|
35597
35597
|
}
|
|
35598
35598
|
}
|
|
@@ -35600,7 +35600,7 @@ function useBatchCompleteToasts() {
|
|
|
35600
35600
|
}
|
|
35601
35601
|
}, AI_FIELDS_NOTICE_WINDOW_MS);
|
|
35602
35602
|
} else if (message.batch_type === "entity_extract") {
|
|
35603
|
-
say(`${
|
|
35603
|
+
say(`${chunk2QGTWHPQ_cjs.entitiesPhrase()} extracted from ${chunk2QGTWHPQ_cjs.documentCount(docIds.length)}`, "success", {
|
|
35604
35604
|
...openTags && { action: { label: "View", onClick: openTags } }
|
|
35605
35605
|
});
|
|
35606
35606
|
} else if (message.batch_type === "upload") {
|
|
@@ -35639,12 +35639,12 @@ function ConnectedMoveToFolder({
|
|
|
35639
35639
|
setIsSubmitting(true);
|
|
35640
35640
|
try {
|
|
35641
35641
|
if (folderToMove) {
|
|
35642
|
-
const docsInFolder =
|
|
35642
|
+
const docsInFolder = chunk72O4YH5M_cjs.collectFolderDocs(allDocs, folderToMove.path);
|
|
35643
35643
|
if (docsInFolder.length === 0) {
|
|
35644
35644
|
onClose();
|
|
35645
35645
|
return;
|
|
35646
35646
|
}
|
|
35647
|
-
const newPrefixSegments = targetFolder ? [...
|
|
35647
|
+
const newPrefixSegments = targetFolder ? [...chunk72O4YH5M_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
|
|
35648
35648
|
await renameFolder(docsInFolder, folderToMove.path, newPrefixSegments);
|
|
35649
35649
|
const dest = targetFolder ? `"${targetFolder}/${folderToMove.name}"` : `"${folderToMove.name}" (root)`;
|
|
35650
35650
|
notify19(`Moved folder to ${dest}`, "success");
|
|
@@ -35669,9 +35669,9 @@ function ConnectedMoveToFolder({
|
|
|
35669
35669
|
}
|
|
35670
35670
|
};
|
|
35671
35671
|
const isFolderMode = !!folderToMove;
|
|
35672
|
-
const folders =
|
|
35672
|
+
const folders = chunkE7BSG5IS_cjs.useDocumentFolders(allDocs, targetFolder);
|
|
35673
35673
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
35674
|
-
|
|
35674
|
+
chunk72O4YH5M_cjs.MoveToFolderDialog,
|
|
35675
35675
|
{
|
|
35676
35676
|
open: isOpen,
|
|
35677
35677
|
onClose,
|
|
@@ -35681,7 +35681,7 @@ function ConnectedMoveToFolder({
|
|
|
35681
35681
|
isSubmitting,
|
|
35682
35682
|
onConfirm: handleMove,
|
|
35683
35683
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35684
|
-
|
|
35684
|
+
chunk72O4YH5M_cjs.FolderCommandList,
|
|
35685
35685
|
{
|
|
35686
35686
|
folders,
|
|
35687
35687
|
value: targetFolder,
|
|
@@ -35909,7 +35909,7 @@ function ConnectedBulkTagEditor({
|
|
|
35909
35909
|
const isClearing = change?.action === "remove";
|
|
35910
35910
|
return {
|
|
35911
35911
|
id: tag.external_id,
|
|
35912
|
-
badge: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35912
|
+
badge: /* @__PURE__ */ jsxRuntime.jsx(chunkIXSOSISW_cjs.ConnectedTagEntity, { tag, size: "md" }),
|
|
35913
35913
|
type: tag.tag_type.type,
|
|
35914
35914
|
color: ui.getEntityColor(tag.external_id, "medium"),
|
|
35915
35915
|
options: tag.tag_type.type === "select" ? tag.tag_type.options : void 0,
|
|
@@ -35941,7 +35941,7 @@ function ConnectedBulkTagEditor({
|
|
|
35941
35941
|
const documentsLabel = ui.getEntityLabel("DOCUMENT", "PLURAL").toLowerCase();
|
|
35942
35942
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
35943
35943
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35944
|
-
|
|
35944
|
+
chunk72O4YH5M_cjs.BulkTagEditorDialog,
|
|
35945
35945
|
{
|
|
35946
35946
|
open,
|
|
35947
35947
|
onClose,
|
|
@@ -35999,7 +35999,7 @@ function ConnectedBulkTagEditor({
|
|
|
35999
35999
|
}
|
|
36000
36000
|
),
|
|
36001
36001
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36002
|
-
|
|
36002
|
+
chunk72O4YH5M_cjs.BulkReplaceDialog,
|
|
36003
36003
|
{
|
|
36004
36004
|
open: showGenerateConfirmation,
|
|
36005
36005
|
onClose: () => setShowGenerateConfirmation(false),
|
|
@@ -36103,7 +36103,7 @@ function useTableViews(table) {
|
|
|
36103
36103
|
function useViewWrites(savedViews, saveView, deleteView, shareView) {
|
|
36104
36104
|
const { confirm, notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
36105
36105
|
const nameOf = react.useCallback(
|
|
36106
|
-
(key) => savedViews.find((v) =>
|
|
36106
|
+
(key) => savedViews.find((v) => chunk72O4YH5M_cjs.viewKey(v) === key)?.name ?? key,
|
|
36107
36107
|
[savedViews]
|
|
36108
36108
|
);
|
|
36109
36109
|
const onSaveView = react.useCallback(
|
|
@@ -36175,7 +36175,7 @@ function ViewSelector({
|
|
|
36175
36175
|
columns: defaultColumns,
|
|
36176
36176
|
icon: lucideReact.Table,
|
|
36177
36177
|
// Both built-ins load at the minimal (compact) row height.
|
|
36178
|
-
rowHeight:
|
|
36178
|
+
rowHeight: chunk72O4YH5M_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
36179
36179
|
// [] = loading this view unpins everything.
|
|
36180
36180
|
pinnedLeft: []
|
|
36181
36181
|
},
|
|
@@ -36186,15 +36186,15 @@ function ViewSelector({
|
|
|
36186
36186
|
// batch-select checkbox and Title stay fixed left while scrolling.
|
|
36187
36187
|
columns: defaultColumns,
|
|
36188
36188
|
icon: lucideReact.Columns3,
|
|
36189
|
-
rowHeight:
|
|
36189
|
+
rowHeight: chunk72O4YH5M_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
36190
36190
|
pinnedLeft: DOCUMENT_VIEW_PINNED
|
|
36191
36191
|
},
|
|
36192
36192
|
{
|
|
36193
36193
|
key: "email-default",
|
|
36194
36194
|
label: "Email view",
|
|
36195
|
-
columns: [...
|
|
36195
|
+
columns: [...chunk72O4YH5M_cjs.EMAIL_VIEW_COLUMNS],
|
|
36196
36196
|
icon: lucideReact.Mail,
|
|
36197
|
-
rowHeight:
|
|
36197
|
+
rowHeight: chunk72O4YH5M_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
|
|
36198
36198
|
pinnedLeft: []
|
|
36199
36199
|
}
|
|
36200
36200
|
],
|
|
@@ -36206,7 +36206,7 @@ function ViewSelector({
|
|
|
36206
36206
|
deleteView,
|
|
36207
36207
|
shareView
|
|
36208
36208
|
);
|
|
36209
|
-
const menu =
|
|
36209
|
+
const menu = chunk72O4YH5M_cjs.useGridViews({
|
|
36210
36210
|
getGridApi,
|
|
36211
36211
|
defaultColumns,
|
|
36212
36212
|
builtins,
|
|
@@ -36233,7 +36233,7 @@ function ViewSelector({
|
|
|
36233
36233
|
onSelectView(requestedView);
|
|
36234
36234
|
clearRequestedView(void 0);
|
|
36235
36235
|
}, [requestedView, savedViews, getGridApi, stateVersion, onSelectView, clearRequestedView]);
|
|
36236
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
36236
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.ViewSelectorMenu, { ...menu });
|
|
36237
36237
|
}
|
|
36238
36238
|
function DocumentsFilterBarActions({
|
|
36239
36239
|
isModal,
|
|
@@ -36273,7 +36273,7 @@ function DocumentsFilterBarActions({
|
|
|
36273
36273
|
),
|
|
36274
36274
|
documentsViewMode === "grid" && // The phone list is a fixed two-line layout, so row density only applies from sm up.
|
|
36275
36275
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden sm:block", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
36276
|
-
|
|
36276
|
+
chunk72O4YH5M_cjs.RowDensityControl,
|
|
36277
36277
|
{
|
|
36278
36278
|
rowHeight: documentsRowHeight,
|
|
36279
36279
|
onRowHeightChange: onDocumentsRowHeightChange
|
|
@@ -36370,8 +36370,8 @@ function DocumentsFilterBarActions({
|
|
|
36370
36370
|
}
|
|
36371
36371
|
function PersistedGridView(props) {
|
|
36372
36372
|
const { persistState, gridId } = props;
|
|
36373
|
-
const setGridState =
|
|
36374
|
-
const gridState = persistState && gridId ?
|
|
36373
|
+
const setGridState = chunkGENUGV6V_cjs.useFilesGridStates((state) => state.setGridState);
|
|
36374
|
+
const gridState = persistState && gridId ? chunkGENUGV6V_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
|
|
36375
36375
|
const onGridStateChange = react.useCallback(
|
|
36376
36376
|
(state) => {
|
|
36377
36377
|
if (persistState && gridId) setGridState(gridId, state);
|
|
@@ -36473,13 +36473,13 @@ var TABLET_TABLE_BELOW = 860;
|
|
|
36473
36473
|
var TABLET_VIEWPORT_BELOW = 1100;
|
|
36474
36474
|
var NO_CONVERSATION_DOCUMENTS2 = [];
|
|
36475
36475
|
var DocumentReviewCard = react.lazy(
|
|
36476
|
-
() => import('../DocumentReviewCard-
|
|
36476
|
+
() => import('../DocumentReviewCard-RFE4THHR.cjs').then((module) => ({ default: module.DocumentReviewCard }))
|
|
36477
36477
|
);
|
|
36478
36478
|
var FilesViewerDialog = react.lazy(
|
|
36479
|
-
() => import('../FilesViewerDialog-
|
|
36479
|
+
() => import('../FilesViewerDialog-6OCS7XMG.cjs').then((module) => ({ default: module.FilesViewerDialog }))
|
|
36480
36480
|
);
|
|
36481
36481
|
function defaultReviewCard(props) {
|
|
36482
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(
|
|
36482
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk2QGTWHPQ_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
|
|
36483
36483
|
}
|
|
36484
36484
|
function ConnectedFilesPage({
|
|
36485
36485
|
isModal = false,
|
|
@@ -36501,7 +36501,7 @@ function ConnectedFilesPage({
|
|
|
36501
36501
|
GridComponent = PersistedGridView,
|
|
36502
36502
|
gridStateVersion,
|
|
36503
36503
|
onGridApi,
|
|
36504
|
-
prefsKey =
|
|
36504
|
+
prefsKey = chunkGENUGV6V_cjs.FILES_PREFS_KEY,
|
|
36505
36505
|
defaultViewMode
|
|
36506
36506
|
}) {
|
|
36507
36507
|
const { openDocument, openDialog: openDialog2, openProcessing, openTags } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
@@ -36547,8 +36547,8 @@ function ConnectedFilesPage({
|
|
|
36547
36547
|
const inConversationDocuments = react$1.useArbiSessionState(
|
|
36548
36548
|
(s) => s.conversationDocuments[s.conversationId ?? "new"] ?? NO_CONVERSATION_DOCUMENTS2
|
|
36549
36549
|
);
|
|
36550
|
-
const viewMode =
|
|
36551
|
-
const setPrefsViewMode =
|
|
36550
|
+
const viewMode = chunkGENUGV6V_cjs.useFilesPrefs((s) => chunkGENUGV6V_cjs.filesViewMode(s, prefsKey, defaultViewMode));
|
|
36551
|
+
const setPrefsViewMode = chunkGENUGV6V_cjs.useFilesPrefs((s) => s.setViewMode);
|
|
36552
36552
|
const setViewMode = react.useCallback(
|
|
36553
36553
|
(mode) => setPrefsViewMode(mode, prefsKey),
|
|
36554
36554
|
[setPrefsViewMode, prefsKey]
|
|
@@ -36578,7 +36578,7 @@ function ConnectedFilesPage({
|
|
|
36578
36578
|
shownPlaceRef.current = null;
|
|
36579
36579
|
if (session.getState().documentViewer.compareId)
|
|
36580
36580
|
session.setDocumentViewer({ compareId: null });
|
|
36581
|
-
if (
|
|
36581
|
+
if (chunkGENUGV6V_cjs.filesViewMode(chunkGENUGV6V_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
|
|
36582
36582
|
session.setViewingDocument(null);
|
|
36583
36583
|
if (!fromLink) latest.current.onDocumentChange?.(null);
|
|
36584
36584
|
},
|
|
@@ -36667,9 +36667,9 @@ function ConnectedFilesPage({
|
|
|
36667
36667
|
else if (linkedPlaceKey !== shownPlaceRef.current) showInDialog(place, true);
|
|
36668
36668
|
} else if (previous && ownsViewer && shownPlaceRef.current) closeDialog2(true);
|
|
36669
36669
|
}, [linkedPlaceKey]);
|
|
36670
|
-
const rowHeight =
|
|
36671
|
-
const setRowHeight =
|
|
36672
|
-
const ownGridStates =
|
|
36670
|
+
const rowHeight = chunkGENUGV6V_cjs.useFilesPrefs((s) => s.rowHeight);
|
|
36671
|
+
const setRowHeight = chunkGENUGV6V_cjs.useFilesPrefs((s) => s.setRowHeight);
|
|
36672
|
+
const ownGridStates = chunkGENUGV6V_cjs.useFilesGridStates((s) => s.gridStates);
|
|
36673
36673
|
const stateVersion = gridStateVersion ?? ownGridStates;
|
|
36674
36674
|
const [pageEl, setPageEl] = react.useState(null);
|
|
36675
36675
|
const [isTabletWidth, setIsTabletWidth] = react.useState(false);
|
|
@@ -36699,15 +36699,15 @@ function ConnectedFilesPage({
|
|
|
36699
36699
|
const [explorerSortReversed, setExplorerSortReversed] = react.useState(false);
|
|
36700
36700
|
const [explorerTileSize, setExplorerTileSize] = react.useState(TILE_DEFAULT);
|
|
36701
36701
|
const [urlDialogOpen, setUrlDialogOpen] = react.useState(false);
|
|
36702
|
-
const move =
|
|
36703
|
-
const openMove =
|
|
36704
|
-
const closeMove =
|
|
36705
|
-
const bulkTagsOpen =
|
|
36706
|
-
const setBulkTagsOpen =
|
|
36707
|
-
const deleteRequest =
|
|
36708
|
-
const requestDelete =
|
|
36709
|
-
const exportOpen =
|
|
36710
|
-
const setExportOpen =
|
|
36702
|
+
const move = chunkGENUGV6V_cjs.useFilesDialogs((s) => s.move);
|
|
36703
|
+
const openMove = chunkGENUGV6V_cjs.useFilesDialogs((s) => s.openMove);
|
|
36704
|
+
const closeMove = chunkGENUGV6V_cjs.useFilesDialogs((s) => s.closeMove);
|
|
36705
|
+
const bulkTagsOpen = chunkGENUGV6V_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
|
|
36706
|
+
const setBulkTagsOpen = chunkGENUGV6V_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
|
|
36707
|
+
const deleteRequest = chunkGENUGV6V_cjs.useFilesDialogs((s) => s.deleteRequest);
|
|
36708
|
+
const requestDelete = chunkGENUGV6V_cjs.useFilesDialogs((s) => s.requestDelete);
|
|
36709
|
+
const exportOpen = chunkGENUGV6V_cjs.useFilesDialogs((s) => s.exportOpen);
|
|
36710
|
+
const setExportOpen = chunkGENUGV6V_cjs.useFilesDialogs((s) => s.setExportOpen);
|
|
36711
36711
|
const openOwnExport = react.useCallback(() => setExportOpen(true), [setExportOpen]);
|
|
36712
36712
|
const exportItems = react.useMemo(
|
|
36713
36713
|
() => selectedDocuments.map((doc) => ({
|
|
@@ -36722,7 +36722,7 @@ function ConnectedFilesPage({
|
|
|
36722
36722
|
);
|
|
36723
36723
|
const explorerRef = react.useRef(null);
|
|
36724
36724
|
const [explorerFileIds, setExplorerFileIds] = react.useState([]);
|
|
36725
|
-
const uploadUrls =
|
|
36725
|
+
const uploadUrls = chunkHTH3XIFF_cjs.useAddFromUrls({
|
|
36726
36726
|
onZipFiles: (files) => onUpload({ source: "computer", files })
|
|
36727
36727
|
});
|
|
36728
36728
|
const { data: workspaceTags = [] } = react$1.useTags();
|
|
@@ -36748,20 +36748,20 @@ function ConnectedFilesPage({
|
|
|
36748
36748
|
searchFields
|
|
36749
36749
|
});
|
|
36750
36750
|
const relatedDocsMap = useFilesPageSession(documents, workspaceId);
|
|
36751
|
-
const pendingFolders =
|
|
36751
|
+
const pendingFolders = chunkGENUGV6V_cjs.usePendingFolders(workspaceId);
|
|
36752
36752
|
const defaultVisibleColumns = react.useMemo(
|
|
36753
36753
|
() => [
|
|
36754
|
-
...
|
|
36754
|
+
...chunk72O4YH5M_cjs.DEFAULT_DOCUMENT_COLUMNS,
|
|
36755
36755
|
...allTags.filter(browser.isAnnotationTag).map((tag) => tag.external_id)
|
|
36756
36756
|
],
|
|
36757
36757
|
[allTags]
|
|
36758
36758
|
);
|
|
36759
36759
|
const handleReorderColumns = react.useCallback((ids, gridApi2) => {
|
|
36760
|
-
if (gridApi2)
|
|
36760
|
+
if (gridApi2) chunk72O4YH5M_cjs.applyColumnLayout(gridApi2, ids);
|
|
36761
36761
|
}, []);
|
|
36762
36762
|
const handleLoadView = react.useCallback(
|
|
36763
36763
|
(view, gridApi2) => {
|
|
36764
|
-
|
|
36764
|
+
chunk72O4YH5M_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
|
|
36765
36765
|
if (typeof view.tile_size === "number") setExplorerTileSize(view.tile_size);
|
|
36766
36766
|
if (typeof view.row_height === "number") setRowHeight(view.row_height);
|
|
36767
36767
|
},
|
|
@@ -36853,7 +36853,7 @@ function ConnectedFilesPage({
|
|
|
36853
36853
|
);
|
|
36854
36854
|
const currentDocument = viewingDocumentId ? filteredDocuments.find((d) => d.external_id === viewingDocumentId) ?? documents.find((d) => d.external_id === viewingDocumentId) ?? null : null;
|
|
36855
36855
|
const navigatorDocuments = react.useMemo(
|
|
36856
|
-
() =>
|
|
36856
|
+
() => chunk72O4YH5M_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
|
|
36857
36857
|
[filteredDocuments, explorerSort, explorerSortReversed]
|
|
36858
36858
|
);
|
|
36859
36859
|
const navigatorOnNavigate = react.useCallback(
|
|
@@ -36923,7 +36923,7 @@ function ConnectedFilesPage({
|
|
|
36923
36923
|
},
|
|
36924
36924
|
rowHeight
|
|
36925
36925
|
};
|
|
36926
|
-
const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
36926
|
+
const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.FilesFilterBar, { children: [
|
|
36927
36927
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36928
36928
|
chunk6UZC4XVV_cjs.FilterInput,
|
|
36929
36929
|
{
|
|
@@ -36958,7 +36958,7 @@ function ConnectedFilesPage({
|
|
|
36958
36958
|
),
|
|
36959
36959
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
36960
36960
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36961
|
-
|
|
36961
|
+
chunk72O4YH5M_cjs.DocumentsFolderButton,
|
|
36962
36962
|
{
|
|
36963
36963
|
documents,
|
|
36964
36964
|
documentFilters,
|
|
@@ -36967,7 +36967,7 @@ function ConnectedFilesPage({
|
|
|
36967
36967
|
emptyFolders: pendingFolders
|
|
36968
36968
|
}
|
|
36969
36969
|
),
|
|
36970
|
-
openTags && /* @__PURE__ */ jsxRuntime.jsx(
|
|
36970
|
+
openTags && /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.FilesTagsButton, { onClick: openTags }),
|
|
36971
36971
|
workspaceId && /* @__PURE__ */ jsxRuntime.jsx(ConnectedRecentlyDeletedButton, { workspaceExtId: workspaceId })
|
|
36972
36972
|
] })
|
|
36973
36973
|
] });
|
|
@@ -37001,18 +37001,18 @@ function ConnectedFilesPage({
|
|
|
37001
37001
|
onProduce: () => openDialog2("productionSet")
|
|
37002
37002
|
}
|
|
37003
37003
|
);
|
|
37004
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
37004
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.FilesPage, { isModal, ref: setPageEl, children: [
|
|
37005
37005
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37006
|
-
|
|
37006
|
+
chunk72O4YH5M_cjs.UrlInputDialog,
|
|
37007
37007
|
{
|
|
37008
37008
|
open: urlDialogOpen,
|
|
37009
37009
|
onOpenChange: setUrlDialogOpen,
|
|
37010
37010
|
onUrlsSubmit: uploadUrls,
|
|
37011
37011
|
titleWorkspaceName: workspaceName,
|
|
37012
|
-
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
37012
|
+
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(chunkHTH3XIFF_cjs.ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
|
|
37013
37013
|
}
|
|
37014
37014
|
),
|
|
37015
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
37015
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.FilesPageHeader, { className: isModal ? "static" : void 0, children: [
|
|
37016
37016
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37017
37017
|
chunkSJSGSHIT_cjs.TabHeader,
|
|
37018
37018
|
{
|
|
@@ -37033,12 +37033,12 @@ function ConnectedFilesPage({
|
|
|
37033
37033
|
activeTabId: "documents",
|
|
37034
37034
|
onTabChange: () => handleViewModeChange(lastDocsViewRef.current),
|
|
37035
37035
|
firstTabContent: isNarrowFilterRow ? null : documentsTabActions,
|
|
37036
|
-
centerContent: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
37036
|
+
centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
|
|
37037
37037
|
!isNarrowFilterRow && viewToggle,
|
|
37038
37038
|
/* @__PURE__ */ jsxRuntime.jsx(ProgressiveLoadingChip, {})
|
|
37039
37039
|
] }),
|
|
37040
37040
|
rightContent: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37041
|
-
|
|
37041
|
+
chunkHTH3XIFF_cjs.DocumentsUploadButton,
|
|
37042
37042
|
{
|
|
37043
37043
|
isCompact: isNarrowFilterRow,
|
|
37044
37044
|
canUpload,
|
|
@@ -37063,14 +37063,14 @@ function ConnectedFilesPage({
|
|
|
37063
37063
|
}
|
|
37064
37064
|
),
|
|
37065
37065
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37066
|
-
|
|
37066
|
+
chunk72O4YH5M_cjs.FilesToolbar,
|
|
37067
37067
|
{
|
|
37068
37068
|
className: "px-3 pb-2",
|
|
37069
37069
|
rightActions: viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
37070
37070
|
viewMode === "grid" ? (
|
|
37071
37071
|
// ‹ n / N › over the table's displayed rows; a step opens the document.
|
|
37072
37072
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37073
|
-
|
|
37073
|
+
chunk2QGTWHPQ_cjs.GridRowNavigator,
|
|
37074
37074
|
{
|
|
37075
37075
|
gridApi,
|
|
37076
37076
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -37085,7 +37085,7 @@ function ConnectedFilesPage({
|
|
|
37085
37085
|
) : viewMode === "explorer" ? (
|
|
37086
37086
|
// The same over the explorer's tiles.
|
|
37087
37087
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37088
|
-
|
|
37088
|
+
chunk72O4YH5M_cjs.ExplorerFileNavigator,
|
|
37089
37089
|
{
|
|
37090
37090
|
fileIds: explorerFileIds,
|
|
37091
37091
|
selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
|
|
@@ -37124,7 +37124,7 @@ function ConnectedFilesPage({
|
|
|
37124
37124
|
}
|
|
37125
37125
|
),
|
|
37126
37126
|
viewMode === "navigator" && currentDocument && /* @__PURE__ */ jsxRuntime.jsx(
|
|
37127
|
-
|
|
37127
|
+
chunk72O4YH5M_cjs.NavigatorPickerBar,
|
|
37128
37128
|
{
|
|
37129
37129
|
currentDocument,
|
|
37130
37130
|
documents: navigatorDocuments,
|
|
@@ -37151,11 +37151,11 @@ function ConnectedFilesPage({
|
|
|
37151
37151
|
}
|
|
37152
37152
|
}
|
|
37153
37153
|
) }),
|
|
37154
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
37154
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk72O4YH5M_cjs.FilesPageMain, { children: [
|
|
37155
37155
|
viewMode === "grid" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
37156
|
-
|
|
37156
|
+
chunk72O4YH5M_cjs.DocumentGrid,
|
|
37157
37157
|
{
|
|
37158
|
-
layout:
|
|
37158
|
+
layout: chunk72O4YH5M_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
|
|
37159
37159
|
presets: gridPresets,
|
|
37160
37160
|
GridComponent,
|
|
37161
37161
|
showEmptyWorkspace: documents.length === 0 && !isLoading && isMember,
|
|
@@ -37240,7 +37240,7 @@ function ConnectedFilesPage({
|
|
|
37240
37240
|
] }),
|
|
37241
37241
|
isModal && onClose ? /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "files-modal-bottom", className: "sticky bottom-0 z-40", children: [
|
|
37242
37242
|
bulkBar,
|
|
37243
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37243
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) })
|
|
37244
37244
|
] }) : bulkBar,
|
|
37245
37245
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37246
37246
|
chunkK67VMSOX_cjs.ConfirmDialog,
|
|
@@ -37252,7 +37252,7 @@ function ConnectedFilesPage({
|
|
|
37252
37252
|
requestDelete(null);
|
|
37253
37253
|
},
|
|
37254
37254
|
title: "Delete Document",
|
|
37255
|
-
description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${
|
|
37255
|
+
description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunk72O4YH5M_cjs.RECENTLY_DELETED_HINT}` : "",
|
|
37256
37256
|
confirmText: "Delete",
|
|
37257
37257
|
variant: "destructive"
|
|
37258
37258
|
}
|
|
@@ -37314,7 +37314,7 @@ function ConnectedFilesPage({
|
|
|
37314
37314
|
dialog.seq
|
|
37315
37315
|
) }),
|
|
37316
37316
|
workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
37317
|
-
|
|
37317
|
+
chunkHTH3XIFF_cjs.ConnectedEmailWorkspaceDialog,
|
|
37318
37318
|
{
|
|
37319
37319
|
open: emailWorkspaceOpen,
|
|
37320
37320
|
onOpenChange: setEmailWorkspaceOpen,
|
|
@@ -37322,14 +37322,14 @@ function ConnectedFilesPage({
|
|
|
37322
37322
|
isMember
|
|
37323
37323
|
}
|
|
37324
37324
|
),
|
|
37325
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37325
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkHTH3XIFF_cjs.ConnectedNewFileMenu, { open: newFileOpen, onOpenChange: setNewFileOpen }),
|
|
37326
37326
|
dialogs
|
|
37327
37327
|
] });
|
|
37328
37328
|
}
|
|
37329
37329
|
var NO_DOCUMENTS3 = [];
|
|
37330
37330
|
function ConnectedAiReviewHost(props) {
|
|
37331
|
-
const open =
|
|
37332
|
-
const setOpen =
|
|
37331
|
+
const open = chunkGENUGV6V_cjs.useAiReviewStore((s) => s.open);
|
|
37332
|
+
const setOpen = chunkGENUGV6V_cjs.useAiReviewStore((s) => s.setOpen);
|
|
37333
37333
|
return /* @__PURE__ */ jsxRuntime.jsx(ConnectedAiReview, { open, onOpenChange: setOpen, ...props });
|
|
37334
37334
|
}
|
|
37335
37335
|
function ConnectedGridView(props) {
|
|
@@ -37365,7 +37365,7 @@ function ProcessingSection({
|
|
|
37365
37365
|
tasks,
|
|
37366
37366
|
onDelete
|
|
37367
37367
|
}) {
|
|
37368
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
37368
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunk4H5DPHZ2_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
|
|
37369
37369
|
}
|
|
37370
37370
|
function ConnectedDocumentProcessingPanel({
|
|
37371
37371
|
workspaceId,
|
|
@@ -37578,7 +37578,7 @@ function ConnectedProcessingPanel({ headerActions }) {
|
|
|
37578
37578
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37579
37579
|
chunkSJSGSHIT_cjs.TabHeader,
|
|
37580
37580
|
{
|
|
37581
|
-
leading: /* @__PURE__ */ jsxRuntime.jsx(
|
|
37581
|
+
leading: /* @__PURE__ */ jsxRuntime.jsx(chunkHTH3XIFF_cjs.ConnectedWorkspaceEntity, { workspace, variant: "icon", size: 20 }),
|
|
37582
37582
|
tabs: [
|
|
37583
37583
|
{
|
|
37584
37584
|
id: "processing",
|
|
@@ -37847,7 +37847,7 @@ function useDatabaseCellSources(databases, needs = {}) {
|
|
|
37847
37847
|
return async (databaseId, q) => {
|
|
37848
37848
|
const columns = columnsOf.get(databaseId) ?? [];
|
|
37849
37849
|
const rows = await searchDatabaseRows(databaseId, q);
|
|
37850
|
-
return rows.map((row2) => ({ id: row2.id, label:
|
|
37850
|
+
return rows.map((row2) => ({ id: row2.id, label: chunkUSYCBTKK_cjs.rowTitle(row2, columns) || UNTITLED }));
|
|
37851
37851
|
};
|
|
37852
37852
|
}, [databases, searchDatabaseRows]);
|
|
37853
37853
|
const wantLabels = needs.labels === true;
|
|
@@ -38078,10 +38078,10 @@ function useLayoutRows({
|
|
|
38078
38078
|
]);
|
|
38079
38079
|
}
|
|
38080
38080
|
var SEARCH_DEBOUNCE_MS = 250;
|
|
38081
|
-
var API_LAYOUTS_OFF = [
|
|
38082
|
-
var API_LAYOUTS_ON = [
|
|
38081
|
+
var API_LAYOUTS_OFF = [chunkUSYCBTKK_cjs.TABLE_LAYOUT];
|
|
38082
|
+
var API_LAYOUTS_ON = [chunkUSYCBTKK_cjs.TABLE_LAYOUT, chunkUSYCBTKK_cjs.CALENDAR_LAYOUT, chunkUSYCBTKK_cjs.GANTT_LAYOUT];
|
|
38083
38083
|
var toView = (c) => {
|
|
38084
|
-
const type =
|
|
38084
|
+
const type = chunkHTH3XIFF_cjs.kitTypeOf(c.type);
|
|
38085
38085
|
return type ? { ...c, type } : { ...c, type: "text", locked: true };
|
|
38086
38086
|
};
|
|
38087
38087
|
var NOT_ENABLED_MESSAGE = "This workspace\u2019s server does not support this column type yet.";
|
|
@@ -38121,7 +38121,7 @@ function useApiDatabaseSource(databaseId, request, options) {
|
|
|
38121
38121
|
react.useEffect(() => {
|
|
38122
38122
|
const t = setTimeout(() => {
|
|
38123
38123
|
setQuery(search);
|
|
38124
|
-
setApplied(
|
|
38124
|
+
setApplied(chunkUSYCBTKK_cjs.completeFilters(filters));
|
|
38125
38125
|
}, SEARCH_DEBOUNCE_MS);
|
|
38126
38126
|
return () => clearTimeout(t);
|
|
38127
38127
|
}, [search, filters]);
|
|
@@ -38170,7 +38170,7 @@ function useApiDatabaseSource(databaseId, request, options) {
|
|
|
38170
38170
|
sources: columns.some((c) => c.type === "source")
|
|
38171
38171
|
});
|
|
38172
38172
|
const supported = capabilities.columnTypes;
|
|
38173
|
-
const columnTypes = react.useMemo(() =>
|
|
38173
|
+
const columnTypes = react.useMemo(() => chunkHTH3XIFF_cjs.offeredColumnTypes(supported), [supported]);
|
|
38174
38174
|
const isQueue = columns.some((c) => c.edit_by?.kind === "listed");
|
|
38175
38175
|
const isWorkspaceOwner = react$1.useIsWorkspaceOwner();
|
|
38176
38176
|
const canDeleteRow = react.useCallback(
|
|
@@ -38306,7 +38306,7 @@ function useApiDatabaseSource(databaseId, request, options) {
|
|
|
38306
38306
|
...columns.map(keepColumn),
|
|
38307
38307
|
{
|
|
38308
38308
|
name: draft.name,
|
|
38309
|
-
type:
|
|
38309
|
+
type: chunkHTH3XIFF_cjs.wireTypeFor(draft.type),
|
|
38310
38310
|
options: draft.options,
|
|
38311
38311
|
...config
|
|
38312
38312
|
}
|
|
@@ -38507,11 +38507,11 @@ function useApiDatabaseSource(databaseId, request, options) {
|
|
|
38507
38507
|
gridId
|
|
38508
38508
|
]);
|
|
38509
38509
|
}
|
|
38510
|
-
var FIXED_COLUMNS = [
|
|
38510
|
+
var FIXED_COLUMNS = [chunkUSYCBTKK_cjs.OPEN_ROW_COL_ID, chunkUSYCBTKK_cjs.ROW_ACTIONS_COL_ID, chunkUSYCBTKK_cjs.ADD_COLUMN_COL_ID];
|
|
38511
38511
|
var FIXED_PINS = [
|
|
38512
|
-
{ colId:
|
|
38513
|
-
{ colId:
|
|
38514
|
-
{ colId:
|
|
38512
|
+
{ colId: chunkUSYCBTKK_cjs.OPEN_ROW_COL_ID, pinned: "left" },
|
|
38513
|
+
{ colId: chunkUSYCBTKK_cjs.ROW_ACTIONS_COL_ID, pinned: "right" },
|
|
38514
|
+
{ colId: chunkUSYCBTKK_cjs.ADD_COLUMN_COL_ID, pinned: "right" }
|
|
38515
38515
|
];
|
|
38516
38516
|
var MENU_LABELS = {
|
|
38517
38517
|
trigger: "Columns",
|
|
@@ -38536,11 +38536,11 @@ function restoreGrowingColumns(api, columns, view) {
|
|
|
38536
38536
|
}
|
|
38537
38537
|
function applyDatabaseColumns(columns, api) {
|
|
38538
38538
|
const kept = (id) => api.getColumn(id) ? [id] : [];
|
|
38539
|
-
|
|
38540
|
-
...kept(
|
|
38539
|
+
chunk72O4YH5M_cjs.applyColumnLayout(api, [
|
|
38540
|
+
...kept(chunkUSYCBTKK_cjs.OPEN_ROW_COL_ID),
|
|
38541
38541
|
...columns,
|
|
38542
|
-
...kept(
|
|
38543
|
-
...kept(
|
|
38542
|
+
...kept(chunkUSYCBTKK_cjs.ROW_ACTIONS_COL_ID),
|
|
38543
|
+
...kept(chunkUSYCBTKK_cjs.ADD_COLUMN_COL_ID)
|
|
38544
38544
|
]);
|
|
38545
38545
|
pinFixedColumns(api);
|
|
38546
38546
|
}
|
|
@@ -38572,7 +38572,7 @@ function DatabaseViewsMenu({
|
|
|
38572
38572
|
latestColumns.current = columns;
|
|
38573
38573
|
const onLoadView = react.useCallback(
|
|
38574
38574
|
(view, api) => {
|
|
38575
|
-
|
|
38575
|
+
chunk72O4YH5M_cjs.applyViewColumns(api, view, applyDatabaseColumns);
|
|
38576
38576
|
pinFixedColumns(api);
|
|
38577
38577
|
restoreGrowingColumns(api, latestColumns.current, view);
|
|
38578
38578
|
onFiltersChange([...view.filters ?? []]);
|
|
@@ -38585,7 +38585,7 @@ function DatabaseViewsMenu({
|
|
|
38585
38585
|
store.remove,
|
|
38586
38586
|
store.share ?? noShare
|
|
38587
38587
|
);
|
|
38588
|
-
const menu =
|
|
38588
|
+
const menu = chunk72O4YH5M_cjs.useGridViews({
|
|
38589
38589
|
getGridApi,
|
|
38590
38590
|
defaultColumns,
|
|
38591
38591
|
builtins,
|
|
@@ -38614,7 +38614,7 @@ function DatabaseViewsMenu({
|
|
|
38614
38614
|
onSelectView(initialViewId);
|
|
38615
38615
|
loadedView.current = initialViewId;
|
|
38616
38616
|
}, [initialViewId, gridApi, ready, savedViews, onSelectView]);
|
|
38617
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
38617
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
|
|
38618
38618
|
}
|
|
38619
38619
|
|
|
38620
38620
|
// src/connection/databases/fixedPins.ts
|
|
@@ -38739,7 +38739,7 @@ function DatabaseWorkbench({
|
|
|
38739
38739
|
gridId: source.gridId
|
|
38740
38740
|
});
|
|
38741
38741
|
const settings = react.useMemo(
|
|
38742
|
-
() =>
|
|
38742
|
+
() => chunkUSYCBTKK_cjs.resolveLayoutSettings(storedLayout, source.layouts, columns),
|
|
38743
38743
|
[storedLayout, source.layouts, columns]
|
|
38744
38744
|
);
|
|
38745
38745
|
const layoutsOffered = source.layouts.filter((l) => !l.defaults || l.defaults(columns) !== null).length > 1;
|
|
@@ -38770,13 +38770,13 @@ function DatabaseWorkbench({
|
|
|
38770
38770
|
if (rest.length !== filters2.length) setQuery({ filters: rest });
|
|
38771
38771
|
}
|
|
38772
38772
|
setStoredLayout(
|
|
38773
|
-
|
|
38773
|
+
chunkUSYCBTKK_cjs.storedLayoutAfter(latestLayout.current.storedLayout, latestLayout.current.settings, next)
|
|
38774
38774
|
);
|
|
38775
38775
|
},
|
|
38776
38776
|
[setStoredLayout]
|
|
38777
38777
|
);
|
|
38778
38778
|
const showUndated = () => {
|
|
38779
|
-
const filters2 =
|
|
38779
|
+
const filters2 = chunkUSYCBTKK_cjs.withUndatedFilter(query.filters, settings.dateColumn);
|
|
38780
38780
|
if (filters2 !== query.filters) undatedAdded.current = settings.dateColumn ?? null;
|
|
38781
38781
|
source.setQuery({ filters: filters2 });
|
|
38782
38782
|
changeLayout({ ...settings, layout: "table" });
|
|
@@ -38799,10 +38799,10 @@ function DatabaseWorkbench({
|
|
|
38799
38799
|
// A state saved while the fixed columns were unpinned would keep them so.
|
|
38800
38800
|
withFixedPins(
|
|
38801
38801
|
stored,
|
|
38802
|
-
[
|
|
38802
|
+
[chunkUSYCBTKK_cjs.OPEN_ROW_COL_ID],
|
|
38803
38803
|
[
|
|
38804
|
-
...hasRowActions ? [
|
|
38805
|
-
...canEditColumns ? [
|
|
38804
|
+
...hasRowActions ? [chunkUSYCBTKK_cjs.ROW_ACTIONS_COL_ID] : [],
|
|
38805
|
+
...canEditColumns ? [chunkUSYCBTKK_cjs.ADD_COLUMN_COL_ID] : []
|
|
38806
38806
|
]
|
|
38807
38807
|
)
|
|
38808
38808
|
) : defaultColumns && !initialViewId ? {
|
|
@@ -38947,7 +38947,7 @@ function DatabaseWorkbench({
|
|
|
38947
38947
|
}, [tableOnScreen, revealDone]);
|
|
38948
38948
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": testIds.page, children: [
|
|
38949
38949
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38950
|
-
|
|
38950
|
+
chunkUSYCBTKK_cjs.DatabaseToolbar,
|
|
38951
38951
|
{
|
|
38952
38952
|
name: meta.name,
|
|
38953
38953
|
icon: meta.icon,
|
|
@@ -38964,7 +38964,7 @@ function DatabaseWorkbench({
|
|
|
38964
38964
|
bulk: isTable && selected.length > 0 && !slots?.selectionBar ? slots?.bulk?.(selected, clearSelection) : void 0,
|
|
38965
38965
|
hideControls: layout?.hidesToolbarRow,
|
|
38966
38966
|
layoutSwitcher: layoutsOffered && /* @__PURE__ */ jsxRuntime.jsx(
|
|
38967
|
-
|
|
38967
|
+
chunkUSYCBTKK_cjs.DatabaseLayoutSwitcher,
|
|
38968
38968
|
{
|
|
38969
38969
|
parts: "layouts",
|
|
38970
38970
|
layouts: source.layouts,
|
|
@@ -38977,7 +38977,7 @@ function DatabaseWorkbench({
|
|
|
38977
38977
|
),
|
|
38978
38978
|
layoutTools: layoutsOffered && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
38979
38979
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38980
|
-
|
|
38980
|
+
chunkUSYCBTKK_cjs.DatabaseLayoutSwitcher,
|
|
38981
38981
|
{
|
|
38982
38982
|
parts: "tools",
|
|
38983
38983
|
layouts: source.layouts,
|
|
@@ -38989,7 +38989,7 @@ function DatabaseWorkbench({
|
|
|
38989
38989
|
tableSettings: rowHeight === void 0 ? void 0 : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-3 text-sm", children: [
|
|
38990
38990
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "Row height" }),
|
|
38991
38991
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38992
|
-
|
|
38992
|
+
chunk72O4YH5M_cjs.RowDensityControl,
|
|
38993
38993
|
{
|
|
38994
38994
|
rowHeight,
|
|
38995
38995
|
onRowHeightChange: (height) => session.setGridRowHeight(gridId, height),
|
|
@@ -39022,7 +39022,7 @@ function DatabaseWorkbench({
|
|
|
39022
39022
|
labels: toolbarLabels,
|
|
39023
39023
|
filters: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
39024
39024
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39025
|
-
|
|
39025
|
+
chunkUSYCBTKK_cjs.DatabaseFilterMenu,
|
|
39026
39026
|
{
|
|
39027
39027
|
columns,
|
|
39028
39028
|
filters,
|
|
@@ -39083,13 +39083,13 @@ function DatabaseWorkbench({
|
|
|
39083
39083
|
]
|
|
39084
39084
|
}
|
|
39085
39085
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
39086
|
-
|
|
39086
|
+
chunkUSYCBTKK_cjs.DatabaseTable,
|
|
39087
39087
|
{
|
|
39088
39088
|
columns,
|
|
39089
39089
|
rows: data.rows,
|
|
39090
39090
|
readOnly,
|
|
39091
39091
|
isLoading: data.isLoading,
|
|
39092
|
-
isFiltered: Boolean(query.search.trim()) ||
|
|
39092
|
+
isFiltered: Boolean(query.search.trim()) || chunkUSYCBTKK_cjs.completeFilters(filters).length > 0 || (slots?.filterMenu?.activeCount ?? 0) > 0,
|
|
39093
39093
|
gridId,
|
|
39094
39094
|
...rowHeight === void 0 ? {} : { rowHeight },
|
|
39095
39095
|
gridProps,
|
|
@@ -39142,7 +39142,7 @@ function DatabaseWorkbench({
|
|
|
39142
39142
|
),
|
|
39143
39143
|
slots?.renderRowPage ? rowPage : openRow && // Beside the grid on a wide screen; over it on a narrow one.
|
|
39144
39144
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39145
|
-
|
|
39145
|
+
chunkUSYCBTKK_cjs.DatabaseRowDetail,
|
|
39146
39146
|
{
|
|
39147
39147
|
row: openRow,
|
|
39148
39148
|
columns,
|
|
@@ -39161,7 +39161,7 @@ function DatabaseWorkbench({
|
|
|
39161
39161
|
}
|
|
39162
39162
|
),
|
|
39163
39163
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39164
|
-
|
|
39164
|
+
chunkUSYCBTKK_cjs.DatabaseColumnDialog,
|
|
39165
39165
|
{
|
|
39166
39166
|
open: columnDialog !== null,
|
|
39167
39167
|
onOpenChange: (open) => !open && setColumnDialog(null),
|
|
@@ -39225,7 +39225,7 @@ function LayoutBody({
|
|
|
39225
39225
|
onShowUndated
|
|
39226
39226
|
}) {
|
|
39227
39227
|
const placed = react.useMemo(
|
|
39228
|
-
() =>
|
|
39228
|
+
() => chunkUSYCBTKK_cjs.rowsToTimelineItems(rows, columns, settings),
|
|
39229
39229
|
[rows, columns, settings]
|
|
39230
39230
|
);
|
|
39231
39231
|
const open = openRowId ? rows.find((r) => r.id === openRowId) : void 0;
|
|
@@ -39238,7 +39238,7 @@ function LayoutBody({
|
|
|
39238
39238
|
const dateColumn = settings.dateColumn;
|
|
39239
39239
|
const first = dateColumn ? rows[0]?.values[dateColumn] : void 0;
|
|
39240
39240
|
const last = dateColumn ? rows[rows.length - 1]?.values[dateColumn] : void 0;
|
|
39241
|
-
const range = typeof first === "string" && typeof last === "string" ? `, from ${
|
|
39241
|
+
const range = typeof first === "string" && typeof last === "string" ? `, from ${chunkUSYCBTKK_cjs.formatDateValue(first)} to ${chunkUSYCBTKK_cjs.formatDateValue(last)}` : "";
|
|
39242
39242
|
const view = settings.layout === "gantt" ? "timeline" : "calendar";
|
|
39243
39243
|
const failed = server?.isError === true;
|
|
39244
39244
|
const loading = !failed && server?.isLoading === true;
|
|
@@ -39289,7 +39289,7 @@ function LayoutBody({
|
|
|
39289
39289
|
children: `Loading the ${view}\u2026`
|
|
39290
39290
|
}
|
|
39291
39291
|
) : settings.layout === "calendar" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
39292
|
-
|
|
39292
|
+
chunkUSYCBTKK_cjs.DatabaseCalendar,
|
|
39293
39293
|
{
|
|
39294
39294
|
rows,
|
|
39295
39295
|
columns,
|
|
@@ -39302,7 +39302,7 @@ function LayoutBody({
|
|
|
39302
39302
|
testId: testIds.calendar
|
|
39303
39303
|
}
|
|
39304
39304
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
39305
|
-
|
|
39305
|
+
chunkUSYCBTKK_cjs.DatabaseGantt,
|
|
39306
39306
|
{
|
|
39307
39307
|
rows,
|
|
39308
39308
|
columns,
|
|
@@ -39413,7 +39413,7 @@ function DatabasesListView({
|
|
|
39413
39413
|
}));
|
|
39414
39414
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "h-full min-h-0 overflow-y-auto", "data-testid": "databases-page", children: [
|
|
39415
39415
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39416
|
-
|
|
39416
|
+
chunkUSYCBTKK_cjs.DatabaseList,
|
|
39417
39417
|
{
|
|
39418
39418
|
databases,
|
|
39419
39419
|
entries: listed.length > 0 ? listed : void 0,
|
|
@@ -39518,7 +39518,7 @@ function ConnectedDatabasesPage({
|
|
|
39518
39518
|
}
|
|
39519
39519
|
);
|
|
39520
39520
|
if (!selectedWorkspaceId) {
|
|
39521
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full min-h-0 overflow-y-auto", "data-testid": "databases-page", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
39521
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full min-h-0 overflow-y-auto", "data-testid": "databases-page", children: /* @__PURE__ */ jsxRuntime.jsx(chunkUSYCBTKK_cjs.DatabaseList, { databases: [], onOpen: () => {
|
|
39522
39522
|
}, labels: NO_WORKSPACE_LABELS }) });
|
|
39523
39523
|
}
|
|
39524
39524
|
if (openId) {
|
|
@@ -39560,7 +39560,7 @@ function ConnectedDatabasesPage({
|
|
|
39560
39560
|
onImport,
|
|
39561
39561
|
isImporting: importDatabase.isPending,
|
|
39562
39562
|
newDialog: /* @__PURE__ */ jsxRuntime.jsx(
|
|
39563
|
-
|
|
39563
|
+
chunkUSYCBTKK_cjs.NewDatabaseDialog,
|
|
39564
39564
|
{
|
|
39565
39565
|
open: creating,
|
|
39566
39566
|
onOpenChange: setCreating,
|
|
@@ -39589,7 +39589,7 @@ function ConnectedRecentDatabases({
|
|
|
39589
39589
|
}
|
|
39590
39590
|
function RecentDatabasesSection({
|
|
39591
39591
|
sources = NO_SOURCES2,
|
|
39592
|
-
limit =
|
|
39592
|
+
limit = chunkHTH3XIFF_cjs.RECENT_ROWS,
|
|
39593
39593
|
showLoading = true,
|
|
39594
39594
|
testId = "recent-databases"
|
|
39595
39595
|
}) {
|
|
@@ -39612,7 +39612,7 @@ function RecentDatabasesSection({
|
|
|
39612
39612
|
onSelect: open(e.id)
|
|
39613
39613
|
};
|
|
39614
39614
|
});
|
|
39615
|
-
const rest =
|
|
39615
|
+
const rest = chunkHTH3XIFF_cjs.recentDatabases(databases, Math.max(0, limit - own.length)).map((row2) => ({
|
|
39616
39616
|
...row2,
|
|
39617
39617
|
leading: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileSpreadsheet, { className: "mt-0.5 size-5 shrink-0 text-muted-foreground", "aria-hidden": true }),
|
|
39618
39618
|
onSelect: open(row2.id)
|
|
@@ -39644,20 +39644,20 @@ function WatchOne({ transferId }) {
|
|
|
39644
39644
|
const { data: job } = react$1.useWorkspaceTransfer(transferId);
|
|
39645
39645
|
const { data: workspaces = [] } = react$1.useWorkspaces();
|
|
39646
39646
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
39647
|
-
const untrack =
|
|
39647
|
+
const untrack = chunkHTH3XIFF_cjs.useExportStore((state) => state.untrackTransfer);
|
|
39648
39648
|
const invalidateAfterTransfer = react$1.useInvalidateAfterTransfer();
|
|
39649
39649
|
react.useEffect(() => {
|
|
39650
39650
|
if (!job || !react$1.isTransferFinished(job)) return;
|
|
39651
39651
|
invalidateAfterTransfer(job.mode);
|
|
39652
39652
|
const target = workspaces.find((w) => w.external_id === job.target_workspace_ext_id);
|
|
39653
|
-
const outcome =
|
|
39653
|
+
const outcome = chunkHTH3XIFF_cjs.transferOutcome(job, target?.name ?? "the other workspace");
|
|
39654
39654
|
if (outcome) notify19(outcome.message, outcome.tone);
|
|
39655
39655
|
untrack(transferId);
|
|
39656
39656
|
}, [job?.status, job?.external_id]);
|
|
39657
39657
|
return null;
|
|
39658
39658
|
}
|
|
39659
39659
|
function ConnectedTransferWatcher() {
|
|
39660
|
-
const active =
|
|
39660
|
+
const active = chunkHTH3XIFF_cjs.useExportStore((state) => state.activeTransfers);
|
|
39661
39661
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: active.map((id) => /* @__PURE__ */ jsxRuntime.jsx(WatchOne, { transferId: id }, id)) });
|
|
39662
39662
|
}
|
|
39663
39663
|
function useChatMessageToasts() {
|
|
@@ -41035,10 +41035,10 @@ var FreshChatModel = () => (useFreshChatModel(), null);
|
|
|
41035
41035
|
var WorkspaceOpenMetrics = ({ measure }) => (useWorkspaceOpenMetrics(measure), null);
|
|
41036
41036
|
var Prefetch = ({ loaders }) => (usePrefetchChunks(loaders), null);
|
|
41037
41037
|
function GuidedRuns() {
|
|
41038
|
-
|
|
41038
|
+
chunkPGKCL6YA_cjs.useRemoteControlSessionReset();
|
|
41039
41039
|
const { cursorMark } = chunkNZNBJF3M_cjs.useGuidedRuns();
|
|
41040
41040
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
41041
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
41041
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk2QGTWHPQ_cjs.GuidedCursor, { markSrc: cursorMark }),
|
|
41042
41042
|
/* @__PURE__ */ jsxRuntime.jsx(ConnectedRemoteControlConsent, {})
|
|
41043
41043
|
] });
|
|
41044
41044
|
}
|
|
@@ -41072,7 +41072,7 @@ function ConnectedAppRuntime({
|
|
|
41072
41072
|
on("pageTransition") && /* @__PURE__ */ jsxRuntime.jsx(PageTransition, {}),
|
|
41073
41073
|
on("freshChatModel") && /* @__PURE__ */ jsxRuntime.jsx(FreshChatModel, {}),
|
|
41074
41074
|
on("workspaceOpenMetrics") && measure && /* @__PURE__ */ jsxRuntime.jsx(WorkspaceOpenMetrics, { measure }),
|
|
41075
|
-
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...
|
|
41075
|
+
on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...chunk2QGTWHPQ_cjs.KIT_CHUNK_LOADERS] }),
|
|
41076
41076
|
on("guidedRuns") && /* @__PURE__ */ jsxRuntime.jsx(GuidedRuns, {})
|
|
41077
41077
|
] });
|
|
41078
41078
|
}
|
|
@@ -41613,7 +41613,7 @@ async function renderAnnotatedScreenshot(image, marks, text2) {
|
|
|
41613
41613
|
)
|
|
41614
41614
|
);
|
|
41615
41615
|
}
|
|
41616
|
-
return
|
|
41616
|
+
return chunkPGKCL6YA_cjs.canvasToBlob(canvas);
|
|
41617
41617
|
}
|
|
41618
41618
|
function SupportVideoEvidence({
|
|
41619
41619
|
capture,
|
|
@@ -42035,7 +42035,7 @@ function ReportProblemDialog({
|
|
|
42035
42035
|
hidden: ticketId !== null,
|
|
42036
42036
|
children: [
|
|
42037
42037
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "Add a screenshot or video (optional)." }),
|
|
42038
|
-
|
|
42038
|
+
chunkPGKCL6YA_cjs.canCaptureScreen() ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { size: "sm", variant: "outline", onClick: onRetake, "data-testid": "report-retake", children: [
|
|
42039
42039
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Camera, { className: "mr-1 size-4" }),
|
|
42040
42040
|
" Create screenshot",
|
|
42041
42041
|
videoCapture ? " or recording" : ""
|
|
@@ -42153,7 +42153,7 @@ function useSupportVideo() {
|
|
|
42153
42153
|
};
|
|
42154
42154
|
stopRef.current = release;
|
|
42155
42155
|
try {
|
|
42156
|
-
const screen = await
|
|
42156
|
+
const screen = await chunkPGKCL6YA_cjs.requestScreenCapture();
|
|
42157
42157
|
streams.push(screen);
|
|
42158
42158
|
if (!active()) {
|
|
42159
42159
|
release();
|
|
@@ -42276,10 +42276,10 @@ function useReportProblem(options = {}) {
|
|
|
42276
42276
|
setPhase("capturing");
|
|
42277
42277
|
await new Promise((resolve) => window.setTimeout(resolve, 200));
|
|
42278
42278
|
try {
|
|
42279
|
-
setFrame(await
|
|
42279
|
+
setFrame(await chunkPGKCL6YA_cjs.captureCurrentTab());
|
|
42280
42280
|
setImage(null);
|
|
42281
42281
|
} catch (error) {
|
|
42282
|
-
const code = error instanceof
|
|
42282
|
+
const code = error instanceof chunkPGKCL6YA_cjs.ScreenCaptureError ? error.code : "failed";
|
|
42283
42283
|
if (code === "failed") {
|
|
42284
42284
|
notify19("Couldn't capture the screen. You can still describe the problem.", "error");
|
|
42285
42285
|
}
|
|
@@ -43613,7 +43613,7 @@ function ConnectedConversationSettings() {
|
|
|
43613
43613
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
43614
43614
|
chunkLYDSETR7_cjs.ModelSelectionSection,
|
|
43615
43615
|
{
|
|
43616
|
-
selector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
43616
|
+
selector: /* @__PURE__ */ jsxRuntime.jsx(chunkPGKCL6YA_cjs.ConnectedModelSelector, {}),
|
|
43617
43617
|
onUseDefaults: settings.resetToDefaults
|
|
43618
43618
|
}
|
|
43619
43619
|
)
|
|
@@ -43719,7 +43719,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
|
|
|
43719
43719
|
testId: "workspace-transfer-modal"
|
|
43720
43720
|
}
|
|
43721
43721
|
),
|
|
43722
|
-
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
43722
|
+
logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkPGKCL6YA_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
|
|
43723
43723
|
conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
|
|
43724
43724
|
unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
|
|
43725
43725
|
productionSet: ConnectedProductionSetDialog,
|
|
@@ -44109,7 +44109,7 @@ function useThreadLabels(canEditShared) {
|
|
|
44109
44109
|
return {
|
|
44110
44110
|
labelText: (row2) => labels.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
|
|
44111
44111
|
renderLabels: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
44112
|
-
|
|
44112
|
+
chunk72O4YH5M_cjs.LabelMultiSelectView,
|
|
44113
44113
|
{
|
|
44114
44114
|
options,
|
|
44115
44115
|
appliedIds: new Set(row2.label_ext_ids ?? []),
|
|
@@ -44128,7 +44128,7 @@ function useThreadLabels(canEditShared) {
|
|
|
44128
44128
|
).map((label) => label.id)
|
|
44129
44129
|
);
|
|
44130
44130
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44131
|
-
|
|
44131
|
+
chunk72O4YH5M_cjs.BulkLabelSelectView,
|
|
44132
44132
|
{
|
|
44133
44133
|
options,
|
|
44134
44134
|
appliedIds: all,
|
|
@@ -44156,10 +44156,10 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
44156
44156
|
if (!slashWorkflows.openForDraft(draft)) openNewConversation({ prompt: draft });
|
|
44157
44157
|
setDraft("");
|
|
44158
44158
|
};
|
|
44159
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
44159
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkHS7TUDEM_cjs.ComposerDock, { children: [
|
|
44160
44160
|
slashWorkflows.launcher,
|
|
44161
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44162
|
-
|
|
44161
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
44162
|
+
chunkPGKCL6YA_cjs.ConversationComposer,
|
|
44163
44163
|
{
|
|
44164
44164
|
value: draft,
|
|
44165
44165
|
onValueChange: setDraft,
|
|
@@ -44168,8 +44168,8 @@ function ConnectedThreadLauncher({ autoFocus }) {
|
|
|
44168
44168
|
isConversationEmpty: true,
|
|
44169
44169
|
shouldOfferFollowUp: false,
|
|
44170
44170
|
skills,
|
|
44171
|
-
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(
|
|
44172
|
-
rightButton: /* @__PURE__ */ jsxRuntime.jsx(
|
|
44171
|
+
modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkPGKCL6YA_cjs.ConnectedModelSelector, { variant: "compact" }),
|
|
44172
|
+
rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunkHS7TUDEM_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
|
|
44173
44173
|
}
|
|
44174
44174
|
) })
|
|
44175
44175
|
] });
|
|
@@ -44266,7 +44266,7 @@ function AgentControlBar({
|
|
|
44266
44266
|
const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
|
|
44267
44267
|
const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
|
|
44268
44268
|
const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
44269
|
-
|
|
44269
|
+
chunkPGKCL6YA_cjs.MessageLiveSeconds,
|
|
44270
44270
|
{
|
|
44271
44271
|
...liveTimer,
|
|
44272
44272
|
offsetSeconds: currentStep?.t ?? 0,
|
|
@@ -44368,7 +44368,7 @@ var ConversationSendButton = react.memo(function ConversationSendButton2({
|
|
|
44368
44368
|
const recipients = react$1.assistantLabels(assistantName);
|
|
44369
44369
|
const showRetryIcon = hasOrphanedMessage && draftMessage === "";
|
|
44370
44370
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44371
|
-
|
|
44371
|
+
chunkHS7TUDEM_cjs.ComposerSend,
|
|
44372
44372
|
{
|
|
44373
44373
|
onSend: onClick,
|
|
44374
44374
|
isRetry: showRetryIcon,
|
|
@@ -44430,7 +44430,7 @@ var MicButton = react.memo(function MicButton2({
|
|
|
44430
44430
|
const isBusy = isTranscribing;
|
|
44431
44431
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
44432
44432
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44433
|
-
|
|
44433
|
+
chunkHS7TUDEM_cjs.ComposerVoiceButton,
|
|
44434
44434
|
{
|
|
44435
44435
|
isRecording,
|
|
44436
44436
|
isBusy,
|
|
@@ -44469,7 +44469,7 @@ function ConnectedConversationEmpty({
|
|
|
44469
44469
|
below
|
|
44470
44470
|
}) {
|
|
44471
44471
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44472
|
-
|
|
44472
|
+
chunkWHU7ABQE_cjs.ConversationEmpty,
|
|
44473
44473
|
{
|
|
44474
44474
|
hasDocuments,
|
|
44475
44475
|
prompts: EXAMPLE_PROMPTS,
|
|
@@ -44491,7 +44491,7 @@ function ConnectedConversationEmpty({
|
|
|
44491
44491
|
compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
|
|
44492
44492
|
}
|
|
44493
44493
|
),
|
|
44494
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44494
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk72O4YH5M_cjs.PrivacyExplainerModal, {})
|
|
44495
44495
|
] })
|
|
44496
44496
|
}
|
|
44497
44497
|
);
|
|
@@ -44524,7 +44524,7 @@ function ConversationAlert({
|
|
|
44524
44524
|
}, [message, onRetryOrphaned, notify19]);
|
|
44525
44525
|
if (type === "send-failed") {
|
|
44526
44526
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44527
|
-
|
|
44527
|
+
chunkWHU7ABQE_cjs.MessageAlert,
|
|
44528
44528
|
{
|
|
44529
44529
|
title: "Message failed to send",
|
|
44530
44530
|
description: errorMessage2 || "An error occurred while sending your message.",
|
|
@@ -44553,7 +44553,7 @@ function ConversationAlert({
|
|
|
44553
44553
|
);
|
|
44554
44554
|
}
|
|
44555
44555
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
44556
|
-
|
|
44556
|
+
chunkWHU7ABQE_cjs.MessageAlert,
|
|
44557
44557
|
{
|
|
44558
44558
|
title: type === "backend-failed" ? "Response Failed" : "Response Incomplete",
|
|
44559
44559
|
description: type === "backend-failed" ? "The assistant's response failed. Use Retry to try again." : "Use Retry to try again, or type a new query.",
|
|
@@ -45199,14 +45199,14 @@ function ConversationThread({
|
|
|
45199
45199
|
const isGuest = react$1.useWorkspaceRole() === "guest";
|
|
45200
45200
|
const meetingReadOnly = isGuest && !!currentTask?.meeting_call_ext_id;
|
|
45201
45201
|
const meetingCallExtId = currentTask?.meeting_call_ext_id ?? null;
|
|
45202
|
-
const threadMessages =
|
|
45202
|
+
const threadMessages = chunkSXC4ZIN4_cjs.useMeetingThreadMessages(meetingCallExtId, messageHistory);
|
|
45203
45203
|
const [firstTurnPrompt, setFirstTurnPrompt] = react.useState(null);
|
|
45204
45204
|
const currentUserExtId = react$1.useArbiSession().user?.external_id ?? "";
|
|
45205
45205
|
const pendingFirstTurn = react.useMemo(
|
|
45206
45206
|
() => firstTurnPrompt ? react$1.buildPendingFirstTurn(firstTurnPrompt, currentUserExtId) : null,
|
|
45207
45207
|
[firstTurnPrompt, currentUserExtId]
|
|
45208
45208
|
);
|
|
45209
|
-
const uploadUrls =
|
|
45209
|
+
const uploadUrls = chunkHTH3XIFF_cjs.useAddFromUrls({
|
|
45210
45210
|
onZipFiles: (files) => openUpload?.(files, { source: "computer" })
|
|
45211
45211
|
});
|
|
45212
45212
|
const {
|
|
@@ -45262,7 +45262,7 @@ function ConversationThread({
|
|
|
45262
45262
|
}),
|
|
45263
45263
|
[threadMessages]
|
|
45264
45264
|
);
|
|
45265
|
-
const provisionalSpeakers =
|
|
45265
|
+
const provisionalSpeakers = chunkSXC4ZIN4_cjs.useProvisionalSpeakers(meetingCallExtId, threadLines);
|
|
45266
45266
|
const showProvisional = !!meetingCallExtId && meetingView !== "chat";
|
|
45267
45267
|
const latestContextUsage = react.useMemo(() => {
|
|
45268
45268
|
const messages = messageHistory;
|
|
@@ -45456,7 +45456,7 @@ function ConversationThread({
|
|
|
45456
45456
|
useStartRequestedDraft();
|
|
45457
45457
|
const orphanedMessage = react$1.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
|
|
45458
45458
|
return /* @__PURE__ */ jsxRuntime.jsxs(chunkKLMNCBLY_cjs.ConversationBody, { children: [
|
|
45459
|
-
/* @__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(
|
|
45459
|
+
/* @__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(chunkPGKCL6YA_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunk7VUO4QZH_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
|
|
45460
45460
|
meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
45461
45461
|
chunkZBP4ZSAJ_cjs.ConversationFilter,
|
|
45462
45462
|
{
|
|
@@ -45474,15 +45474,15 @@ function ConversationThread({
|
|
|
45474
45474
|
]
|
|
45475
45475
|
}
|
|
45476
45476
|
) }),
|
|
45477
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
45478
|
-
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(
|
|
45477
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPGKCL6YA_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
|
|
45478
|
+
showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunkSXC4ZIN4_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
45479
45479
|
] }) }) : meetingCallExtId ? (
|
|
45480
45480
|
// A meeting thread with nothing yet: call-aware, not the upload prompt.
|
|
45481
45481
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
45482
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
45483
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
45482
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkSXC4ZIN4_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
|
|
45483
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkSXC4ZIN4_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
|
|
45484
45484
|
] })
|
|
45485
|
-
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunk4H5DPHZ2_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
45485
|
+
) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunk4H5DPHZ2_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkPGKCL6YA_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
45486
45486
|
ConnectedConversationEmpty,
|
|
45487
45487
|
{
|
|
45488
45488
|
hasDocuments: allWorkspaceDocuments.length > 0,
|
|
@@ -45497,17 +45497,17 @@ function ConversationThread({
|
|
|
45497
45497
|
}
|
|
45498
45498
|
) }),
|
|
45499
45499
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
45500
|
-
|
|
45500
|
+
chunkHS7TUDEM_cjs.ComposerDock,
|
|
45501
45501
|
{
|
|
45502
45502
|
floating: /* @__PURE__ */ jsxRuntime.jsx(
|
|
45503
|
-
|
|
45503
|
+
chunkHS7TUDEM_cjs.ScrollToBottom,
|
|
45504
45504
|
{
|
|
45505
45505
|
className: "left-auto right-3 translate-x-0",
|
|
45506
45506
|
show: showScrollToBottom,
|
|
45507
45507
|
onClick: scrollToBottom
|
|
45508
45508
|
}
|
|
45509
45509
|
),
|
|
45510
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
45510
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(chunkHS7TUDEM_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: [
|
|
45511
45511
|
orphanedMessage ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
45512
45512
|
ConversationAlert,
|
|
45513
45513
|
{
|
|
@@ -45580,7 +45580,7 @@ function ConversationThread({
|
|
|
45580
45580
|
}
|
|
45581
45581
|
),
|
|
45582
45582
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
45583
|
-
|
|
45583
|
+
chunkPGKCL6YA_cjs.ConversationComposer,
|
|
45584
45584
|
{
|
|
45585
45585
|
handleSendMessage: handleUserSend,
|
|
45586
45586
|
placeholder: pendingAnswer ? assistant.answerPlaceholder : void 0,
|
|
@@ -46328,7 +46328,7 @@ function ConnectedChatDocumentsTab({
|
|
|
46328
46328
|
testId: `document-hover-toggle-${doc.external_id}`
|
|
46329
46329
|
},
|
|
46330
46330
|
status: /* @__PURE__ */ jsxRuntime.jsx(
|
|
46331
|
-
|
|
46331
|
+
chunk72O4YH5M_cjs.DocStatusIcon,
|
|
46332
46332
|
{
|
|
46333
46333
|
status: doc.status,
|
|
46334
46334
|
onClick: onStatusClick,
|
|
@@ -46597,7 +46597,7 @@ function ConnectedChatContextButton({
|
|
|
46597
46597
|
};
|
|
46598
46598
|
const documentNoun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL").toLowerCase();
|
|
46599
46599
|
const chip = /* @__PURE__ */ jsxRuntime.jsx(
|
|
46600
|
-
|
|
46600
|
+
chunkWHU7ABQE_cjs.ContextChip,
|
|
46601
46601
|
{
|
|
46602
46602
|
count: count2,
|
|
46603
46603
|
label: `${count2} ${documentNoun} in this chat`,
|
|
@@ -46742,7 +46742,7 @@ function ConnectedConversationPage({
|
|
|
46742
46742
|
const isGuest = workspaceRole === "guest";
|
|
46743
46743
|
const canUpload = workspaceRole !== null && !isGuest;
|
|
46744
46744
|
const [urlDialogOpen, setUrlDialogOpen] = react.useState(false);
|
|
46745
|
-
const uploadUrls =
|
|
46745
|
+
const uploadUrls = chunkHTH3XIFF_cjs.useAddFromUrls({
|
|
46746
46746
|
onZipFiles: (files) => chunkK67VMSOX_cjs.openDialog("upload", { tab: "upload", files, source: "computer" })
|
|
46747
46747
|
});
|
|
46748
46748
|
const uploadDisabledReason = isGuest ? "Viewers cannot upload documents in this workspace" : "You cannot upload to this workspace";
|
|
@@ -46865,7 +46865,7 @@ function ConnectedConversationPage({
|
|
|
46865
46865
|
}
|
|
46866
46866
|
}
|
|
46867
46867
|
),
|
|
46868
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
46868
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkSXC4ZIN4_cjs.ConnectedConversationCallActions, {}),
|
|
46869
46869
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
46870
46870
|
chunkKLMNCBLY_cjs.NewChatButton,
|
|
46871
46871
|
{
|
|
@@ -46904,7 +46904,7 @@ function ConnectedConversationPage({
|
|
|
46904
46904
|
] })
|
|
46905
46905
|
}
|
|
46906
46906
|
),
|
|
46907
|
-
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
46907
|
+
isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkPPHXBDJP_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
|
|
46908
46908
|
] }),
|
|
46909
46909
|
isInChat && /* @__PURE__ */ jsxRuntime.jsx(
|
|
46910
46910
|
ConversationThread,
|
|
@@ -46934,13 +46934,13 @@ function ConnectedConversationPage({
|
|
|
46934
46934
|
!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 }) })
|
|
46935
46935
|
] }),
|
|
46936
46936
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
46937
|
-
|
|
46937
|
+
chunk72O4YH5M_cjs.UrlInputDialog,
|
|
46938
46938
|
{
|
|
46939
46939
|
open: urlDialogOpen,
|
|
46940
46940
|
onOpenChange: setUrlDialogOpen,
|
|
46941
46941
|
onUrlsSubmit: uploadUrls,
|
|
46942
46942
|
titleWorkspaceName: workspace?.name,
|
|
46943
|
-
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(
|
|
46943
|
+
titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(chunkHTH3XIFF_cjs.ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
|
|
46944
46944
|
}
|
|
46945
46945
|
)
|
|
46946
46946
|
] });
|
|
@@ -47113,7 +47113,7 @@ function SsoResendVerificationButton({
|
|
|
47113
47113
|
onClick: async () => handleResendEmailVerification(),
|
|
47114
47114
|
disabled: loading || disabled,
|
|
47115
47115
|
"aria-label": "Resend verification email",
|
|
47116
|
-
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
47116
|
+
children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunk2QGTWHPQ_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
47117
47117
|
"Didn't get a verification email? ",
|
|
47118
47118
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
|
|
47119
47119
|
] })
|
|
@@ -47124,9 +47124,9 @@ function SsoResendVerificationButton({
|
|
|
47124
47124
|
}
|
|
47125
47125
|
var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
|
|
47126
47126
|
function ConnectedSsoCallback() {
|
|
47127
|
-
const sso =
|
|
47127
|
+
const sso = chunkPGKCL6YA_cjs.useSsoSignIn();
|
|
47128
47128
|
const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
|
|
47129
|
-
const auth =
|
|
47129
|
+
const auth = chunkPGKCL6YA_cjs.useAuthPages();
|
|
47130
47130
|
const { notify: notify19, navigate } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
47131
47131
|
const passwordRules = auth.passwordRules;
|
|
47132
47132
|
const isProcessing = react.useRef(false);
|
|
@@ -47134,7 +47134,7 @@ function ConnectedSsoCallback() {
|
|
|
47134
47134
|
const [statusAttempt, setStatusAttempt] = react.useState(0);
|
|
47135
47135
|
const [accessToken, setAccessToken] = react.useState(null);
|
|
47136
47136
|
const [ssoStatus, setSsoStatus] = react.useState(null);
|
|
47137
|
-
const ssoName = react.useMemo(() =>
|
|
47137
|
+
const ssoName = react.useMemo(() => chunkPGKCL6YA_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
|
|
47138
47138
|
const [password, setPassword] = react.useState("");
|
|
47139
47139
|
const [confirmPassword, setConfirmPassword] = react.useState("");
|
|
47140
47140
|
const [error, setError] = react.useState(null);
|
|
@@ -47312,7 +47312,7 @@ function ConnectedSsoCallback() {
|
|
|
47312
47312
|
setIsCheckingStatus(true);
|
|
47313
47313
|
try {
|
|
47314
47314
|
console.info("[SSO] Checking user status...");
|
|
47315
|
-
const response = await
|
|
47315
|
+
const response = await chunkPGKCL6YA_cjs.ssoAccountStatus(arbi, accessToken, user);
|
|
47316
47316
|
console.info("[SSO] User status:", response.status);
|
|
47317
47317
|
setSsoStatus(response);
|
|
47318
47318
|
} catch (error2) {
|
|
@@ -47353,7 +47353,7 @@ function ConnectedSsoCallback() {
|
|
|
47353
47353
|
setIsSubmitting(true);
|
|
47354
47354
|
setError(null);
|
|
47355
47355
|
try {
|
|
47356
|
-
const { login, registered, linked } = await
|
|
47356
|
+
const { login, registered, linked } = await chunkPGKCL6YA_cjs.completeSsoSignIn(arbi, {
|
|
47357
47357
|
token: accessToken,
|
|
47358
47358
|
user,
|
|
47359
47359
|
status: ssoStatus,
|
|
@@ -47653,7 +47653,7 @@ function ConnectedSsoCallback() {
|
|
|
47653
47653
|
ssoStatus.status !== "new_user" && auth.footer
|
|
47654
47654
|
] }),
|
|
47655
47655
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47656
|
-
|
|
47656
|
+
chunkPGKCL6YA_cjs.ConnectedForgotPassword,
|
|
47657
47657
|
{
|
|
47658
47658
|
open: showForgotPasswordModal,
|
|
47659
47659
|
onOpenChange: setShowForgotPasswordModal,
|
|
@@ -47661,7 +47661,7 @@ function ConnectedSsoCallback() {
|
|
|
47661
47661
|
}
|
|
47662
47662
|
),
|
|
47663
47663
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
47664
|
-
|
|
47664
|
+
chunkPGKCL6YA_cjs.ConnectedPasswordChangeDialog,
|
|
47665
47665
|
{
|
|
47666
47666
|
open: showChangePasswordModal,
|
|
47667
47667
|
onClose: () => setShowChangePasswordModal(false),
|
|
@@ -48194,7 +48194,7 @@ function ConnectedShellTopbar({
|
|
|
48194
48194
|
return /* @__PURE__ */ jsxRuntime.jsx(chunkXJEXFEWG_cjs.Shell.Topbar, { actions, children: landing });
|
|
48195
48195
|
}
|
|
48196
48196
|
var ConnectedAssistantDock2 = react.lazy(
|
|
48197
|
-
() => import('../ai-
|
|
48197
|
+
() => import('../ai-A5YTWIEC.cjs').then((m) => ({ default: m.ConnectedAssistantDock }))
|
|
48198
48198
|
);
|
|
48199
48199
|
var DOCK_TOGGLE_LABEL = "Assistant chat";
|
|
48200
48200
|
var DOCK_TOGGLE_TEST_ID = "shell-dock-toggle";
|
|
@@ -48210,8 +48210,8 @@ function RoutedShellSidebar({
|
|
|
48210
48210
|
const navigation = useShellNavigation();
|
|
48211
48211
|
const { workspace } = react$1.useCurrentWorkspace();
|
|
48212
48212
|
const isPhone = chunkFX3K6LNZ_cjs.useIsPhone();
|
|
48213
|
-
const assistantDock =
|
|
48214
|
-
const { isDockAvailable } =
|
|
48213
|
+
const assistantDock = chunkHO2AURAQ_cjs.useAssistantDock();
|
|
48214
|
+
const { isDockAvailable } = chunkWHU7ABQE_cjs.useChatSurface();
|
|
48215
48215
|
const tools = [
|
|
48216
48216
|
...hostTools.map((tool) => ({
|
|
48217
48217
|
id: tool.id,
|
|
@@ -48278,7 +48278,7 @@ function RoutedShellTopbar({
|
|
|
48278
48278
|
] }),
|
|
48279
48279
|
ask: ask !== false ? (props) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedAskField, { ...props, labels: ask?.labels }) : void 0,
|
|
48280
48280
|
actions: dock !== false && /* @__PURE__ */ jsxRuntime.jsx(
|
|
48281
|
-
|
|
48281
|
+
chunkHO2AURAQ_cjs.AssistantDockToggle,
|
|
48282
48282
|
{
|
|
48283
48283
|
label: dock?.toggleLabel ?? DOCK_TOGGLE_LABEL,
|
|
48284
48284
|
testId: DOCK_TOGGLE_TEST_ID
|
|
@@ -48302,7 +48302,7 @@ function RoutedShellTabBar({
|
|
|
48302
48302
|
}
|
|
48303
48303
|
function RoutedShellDock({ dock }) {
|
|
48304
48304
|
const isPhone = chunkFX3K6LNZ_cjs.useIsPhone();
|
|
48305
|
-
const { isOpen } =
|
|
48305
|
+
const { isOpen } = chunkHO2AURAQ_cjs.useAssistantDock();
|
|
48306
48306
|
const [opened, setOpened] = react.useState(isOpen);
|
|
48307
48307
|
if (isOpen && !opened) setOpened(true);
|
|
48308
48308
|
if (dock === false || !opened) return null;
|
|
@@ -48560,7 +48560,7 @@ function ConnectedTipBar({
|
|
|
48560
48560
|
className,
|
|
48561
48561
|
revealOnHover = false
|
|
48562
48562
|
}) {
|
|
48563
|
-
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } =
|
|
48563
|
+
const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkPGKCL6YA_cjs.useContextualHints();
|
|
48564
48564
|
const { dismissed, dismissTip } = react$1.useDismissedTips();
|
|
48565
48565
|
const { notify: notify19 } = chunkHN56WWBR_cjs.useBlocksEnvironment();
|
|
48566
48566
|
const { data: workspaces } = react$1.useWorkspaces();
|
|
@@ -48571,7 +48571,7 @@ function ConnectedTipBar({
|
|
|
48571
48571
|
workspaceOpen,
|
|
48572
48572
|
...state
|
|
48573
48573
|
};
|
|
48574
|
-
const { tip, index, count: count2, previous, next, onHoverChange } =
|
|
48574
|
+
const { tip, index, count: count2, previous, next, onHoverChange } = chunk2QGTWHPQ_cjs.useTipsPlacement({
|
|
48575
48575
|
registry,
|
|
48576
48576
|
context,
|
|
48577
48577
|
state: situation,
|
|
@@ -48649,7 +48649,7 @@ function useGettingStarted({
|
|
|
48649
48649
|
const { user } = react$1.useArbiSession();
|
|
48650
48650
|
const userExtId = user?.external_id;
|
|
48651
48651
|
const temporaryOnly = user?.temporary_access_only === true;
|
|
48652
|
-
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } =
|
|
48652
|
+
const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkPGKCL6YA_cjs.useContextualHints();
|
|
48653
48653
|
const { dismissed, loaded: dismissedLoaded, dismissTip } = react$1.useDismissedTips();
|
|
48654
48654
|
const welcomeJourneyEnabled = react$1.useFeature("welcomeJourney");
|
|
48655
48655
|
const session = react$1.useArbiSessionStore();
|
|
@@ -48927,15 +48927,15 @@ Object.defineProperty(exports, "ConnectedMailInviteCard", {
|
|
|
48927
48927
|
});
|
|
48928
48928
|
Object.defineProperty(exports, "ConnectedTagEntity", {
|
|
48929
48929
|
enumerable: true,
|
|
48930
|
-
get: function () { return
|
|
48930
|
+
get: function () { return chunkIXSOSISW_cjs.ConnectedTagEntity; }
|
|
48931
48931
|
});
|
|
48932
48932
|
Object.defineProperty(exports, "documentFieldContent", {
|
|
48933
48933
|
enumerable: true,
|
|
48934
|
-
get: function () { return
|
|
48934
|
+
get: function () { return chunkIXSOSISW_cjs.documentFieldContent; }
|
|
48935
48935
|
});
|
|
48936
48936
|
Object.defineProperty(exports, "useMemberLookup", {
|
|
48937
48937
|
enumerable: true,
|
|
48938
|
-
get: function () { return
|
|
48938
|
+
get: function () { return chunkIXSOSISW_cjs.useMemberLookup; }
|
|
48939
48939
|
});
|
|
48940
48940
|
Object.defineProperty(exports, "DEFAULT_ASK_SUGGESTIONS", {
|
|
48941
48941
|
enumerable: true,
|
|
@@ -48959,443 +48959,443 @@ Object.defineProperty(exports, "useSessionPanelMode", {
|
|
|
48959
48959
|
});
|
|
48960
48960
|
Object.defineProperty(exports, "ConnectedAgendaBlock", {
|
|
48961
48961
|
enumerable: true,
|
|
48962
|
-
get: function () { return
|
|
48962
|
+
get: function () { return chunkHTH3XIFF_cjs.ConnectedAgendaBlock; }
|
|
48963
48963
|
});
|
|
48964
48964
|
Object.defineProperty(exports, "ConnectedCarouselBlock", {
|
|
48965
48965
|
enumerable: true,
|
|
48966
|
-
get: function () { return
|
|
48966
|
+
get: function () { return chunkHTH3XIFF_cjs.ConnectedCarouselBlock; }
|
|
48967
48967
|
});
|
|
48968
48968
|
Object.defineProperty(exports, "ConnectedEmailWorkspaceDialog", {
|
|
48969
48969
|
enumerable: true,
|
|
48970
|
-
get: function () { return
|
|
48970
|
+
get: function () { return chunkHTH3XIFF_cjs.ConnectedEmailWorkspaceDialog; }
|
|
48971
48971
|
});
|
|
48972
48972
|
Object.defineProperty(exports, "ConnectedListBlock", {
|
|
48973
48973
|
enumerable: true,
|
|
48974
|
-
get: function () { return
|
|
48974
|
+
get: function () { return chunkHTH3XIFF_cjs.ConnectedListBlock; }
|
|
48975
48975
|
});
|
|
48976
48976
|
Object.defineProperty(exports, "ConnectedNewFileMenu", {
|
|
48977
48977
|
enumerable: true,
|
|
48978
|
-
get: function () { return
|
|
48978
|
+
get: function () { return chunkHTH3XIFF_cjs.ConnectedNewFileMenu; }
|
|
48979
48979
|
});
|
|
48980
48980
|
Object.defineProperty(exports, "ConnectedNewThreadDialog", {
|
|
48981
48981
|
enumerable: true,
|
|
48982
|
-
get: function () { return
|
|
48982
|
+
get: function () { return chunkHTH3XIFF_cjs.ConnectedNewThreadDialog; }
|
|
48983
48983
|
});
|
|
48984
48984
|
Object.defineProperty(exports, "ConnectedStartBlock", {
|
|
48985
48985
|
enumerable: true,
|
|
48986
|
-
get: function () { return
|
|
48986
|
+
get: function () { return chunkHTH3XIFF_cjs.ConnectedStartBlock; }
|
|
48987
48987
|
});
|
|
48988
48988
|
Object.defineProperty(exports, "ConnectedUpcomingEvents", {
|
|
48989
48989
|
enumerable: true,
|
|
48990
|
-
get: function () { return
|
|
48990
|
+
get: function () { return chunkHTH3XIFF_cjs.ConnectedUpcomingEvents; }
|
|
48991
48991
|
});
|
|
48992
48992
|
Object.defineProperty(exports, "ConnectedWorkspaceEntity", {
|
|
48993
48993
|
enumerable: true,
|
|
48994
|
-
get: function () { return
|
|
48994
|
+
get: function () { return chunkHTH3XIFF_cjs.ConnectedWorkspaceEntity; }
|
|
48995
48995
|
});
|
|
48996
48996
|
Object.defineProperty(exports, "DocumentsUploadButton", {
|
|
48997
48997
|
enumerable: true,
|
|
48998
|
-
get: function () { return
|
|
48998
|
+
get: function () { return chunkHTH3XIFF_cjs.DocumentsUploadButton; }
|
|
48999
48999
|
});
|
|
49000
49000
|
Object.defineProperty(exports, "LOOK_AGAIN_LABEL", {
|
|
49001
49001
|
enumerable: true,
|
|
49002
|
-
get: function () { return
|
|
49002
|
+
get: function () { return chunkHTH3XIFF_cjs.LOOK_AGAIN_LABEL; }
|
|
49003
49003
|
});
|
|
49004
49004
|
Object.defineProperty(exports, "PENDING_LOOKUP_MS", {
|
|
49005
49005
|
enumerable: true,
|
|
49006
|
-
get: function () { return
|
|
49006
|
+
get: function () { return chunkHTH3XIFF_cjs.PENDING_LOOKUP_MS; }
|
|
49007
49007
|
});
|
|
49008
49008
|
Object.defineProperty(exports, "PENDING_TASK_MESSAGE", {
|
|
49009
49009
|
enumerable: true,
|
|
49010
|
-
get: function () { return
|
|
49010
|
+
get: function () { return chunkHTH3XIFF_cjs.PENDING_TASK_MESSAGE; }
|
|
49011
49011
|
});
|
|
49012
49012
|
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_BLOCKS", {
|
|
49013
49013
|
enumerable: true,
|
|
49014
|
-
get: function () { return
|
|
49014
|
+
get: function () { return chunkHTH3XIFF_cjs.WORKSPACE_DASHBOARD_BLOCKS; }
|
|
49015
49015
|
});
|
|
49016
49016
|
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_LAYOUT", {
|
|
49017
49017
|
enumerable: true,
|
|
49018
|
-
get: function () { return
|
|
49018
|
+
get: function () { return chunkHTH3XIFF_cjs.WORKSPACE_DASHBOARD_LAYOUT; }
|
|
49019
49019
|
});
|
|
49020
49020
|
Object.defineProperty(exports, "WORKSPACE_DASHBOARD_PAGE", {
|
|
49021
49021
|
enumerable: true,
|
|
49022
|
-
get: function () { return
|
|
49022
|
+
get: function () { return chunkHTH3XIFF_cjs.WORKSPACE_DASHBOARD_PAGE; }
|
|
49023
49023
|
});
|
|
49024
49024
|
Object.defineProperty(exports, "createEventCall", {
|
|
49025
49025
|
enumerable: true,
|
|
49026
|
-
get: function () { return
|
|
49026
|
+
get: function () { return chunkHTH3XIFF_cjs.createEventCall; }
|
|
49027
49027
|
});
|
|
49028
49028
|
Object.defineProperty(exports, "describePlan", {
|
|
49029
49029
|
enumerable: true,
|
|
49030
|
-
get: function () { return
|
|
49030
|
+
get: function () { return chunkHTH3XIFF_cjs.describePlan; }
|
|
49031
49031
|
});
|
|
49032
49032
|
Object.defineProperty(exports, "distinctPeers", {
|
|
49033
49033
|
enumerable: true,
|
|
49034
|
-
get: function () { return
|
|
49034
|
+
get: function () { return chunkHTH3XIFF_cjs.distinctPeers; }
|
|
49035
49035
|
});
|
|
49036
49036
|
Object.defineProperty(exports, "joinEventMeeting", {
|
|
49037
49037
|
enumerable: true,
|
|
49038
|
-
get: function () { return
|
|
49038
|
+
get: function () { return chunkHTH3XIFF_cjs.joinEventMeeting; }
|
|
49039
49039
|
});
|
|
49040
49040
|
Object.defineProperty(exports, "loadEventWebinar", {
|
|
49041
49041
|
enumerable: true,
|
|
49042
|
-
get: function () { return
|
|
49042
|
+
get: function () { return chunkHTH3XIFF_cjs.loadEventWebinar; }
|
|
49043
49043
|
});
|
|
49044
49044
|
Object.defineProperty(exports, "parseArbiCallUrl", {
|
|
49045
49045
|
enumerable: true,
|
|
49046
|
-
get: function () { return
|
|
49046
|
+
get: function () { return chunkHTH3XIFF_cjs.parseArbiCallUrl; }
|
|
49047
49047
|
});
|
|
49048
49048
|
Object.defineProperty(exports, "resolveAttendeeUsers", {
|
|
49049
49049
|
enumerable: true,
|
|
49050
|
-
get: function () { return
|
|
49050
|
+
get: function () { return chunkHTH3XIFF_cjs.resolveAttendeeUsers; }
|
|
49051
49051
|
});
|
|
49052
49052
|
Object.defineProperty(exports, "resolveAttendeeUsersRemote", {
|
|
49053
49053
|
enumerable: true,
|
|
49054
|
-
get: function () { return
|
|
49054
|
+
get: function () { return chunkHTH3XIFF_cjs.resolveAttendeeUsersRemote; }
|
|
49055
49055
|
});
|
|
49056
49056
|
Object.defineProperty(exports, "resolveCallPeers", {
|
|
49057
49057
|
enumerable: true,
|
|
49058
|
-
get: function () { return
|
|
49058
|
+
get: function () { return chunkHTH3XIFF_cjs.resolveCallPeers; }
|
|
49059
49059
|
});
|
|
49060
49060
|
Object.defineProperty(exports, "resolveCallPeersRemote", {
|
|
49061
49061
|
enumerable: true,
|
|
49062
|
-
get: function () { return
|
|
49062
|
+
get: function () { return chunkHTH3XIFF_cjs.resolveCallPeersRemote; }
|
|
49063
49063
|
});
|
|
49064
49064
|
Object.defineProperty(exports, "shareEventCall", {
|
|
49065
49065
|
enumerable: true,
|
|
49066
|
-
get: function () { return
|
|
49066
|
+
get: function () { return chunkHTH3XIFF_cjs.shareEventCall; }
|
|
49067
49067
|
});
|
|
49068
49068
|
Object.defineProperty(exports, "transferOutcome", {
|
|
49069
49069
|
enumerable: true,
|
|
49070
|
-
get: function () { return
|
|
49070
|
+
get: function () { return chunkHTH3XIFF_cjs.transferOutcome; }
|
|
49071
49071
|
});
|
|
49072
49072
|
Object.defineProperty(exports, "updateEventWebinarRoles", {
|
|
49073
49073
|
enumerable: true,
|
|
49074
|
-
get: function () { return
|
|
49074
|
+
get: function () { return chunkHTH3XIFF_cjs.updateEventWebinarRoles; }
|
|
49075
49075
|
});
|
|
49076
49076
|
Object.defineProperty(exports, "useAddFromUrls", {
|
|
49077
49077
|
enumerable: true,
|
|
49078
|
-
get: function () { return
|
|
49078
|
+
get: function () { return chunkHTH3XIFF_cjs.useAddFromUrls; }
|
|
49079
49079
|
});
|
|
49080
49080
|
Object.defineProperty(exports, "useExportStore", {
|
|
49081
49081
|
enumerable: true,
|
|
49082
|
-
get: function () { return
|
|
49082
|
+
get: function () { return chunkHTH3XIFF_cjs.useExportStore; }
|
|
49083
49083
|
});
|
|
49084
49084
|
Object.defineProperty(exports, "usePendingTaskThread", {
|
|
49085
49085
|
enumerable: true,
|
|
49086
|
-
get: function () { return
|
|
49086
|
+
get: function () { return chunkHTH3XIFF_cjs.usePendingTaskThread; }
|
|
49087
49087
|
});
|
|
49088
49088
|
Object.defineProperty(exports, "webinarRolesByUser", {
|
|
49089
49089
|
enumerable: true,
|
|
49090
|
-
get: function () { return
|
|
49090
|
+
get: function () { return chunkHTH3XIFF_cjs.webinarRolesByUser; }
|
|
49091
49091
|
});
|
|
49092
49092
|
Object.defineProperty(exports, "ConnectedAssistantDock", {
|
|
49093
49093
|
enumerable: true,
|
|
49094
|
-
get: function () { return
|
|
49094
|
+
get: function () { return chunk5RUY5THD_cjs.ConnectedAssistantDock; }
|
|
49095
49095
|
});
|
|
49096
49096
|
Object.defineProperty(exports, "redlineStats", {
|
|
49097
49097
|
enumerable: true,
|
|
49098
|
-
get: function () { return
|
|
49098
|
+
get: function () { return chunk5RUY5THD_cjs.redlineStats; }
|
|
49099
49099
|
});
|
|
49100
49100
|
Object.defineProperty(exports, "textToArtifact", {
|
|
49101
49101
|
enumerable: true,
|
|
49102
|
-
get: function () { return
|
|
49102
|
+
get: function () { return chunk5RUY5THD_cjs.textToArtifact; }
|
|
49103
49103
|
});
|
|
49104
49104
|
Object.defineProperty(exports, "toRedlineMarkdown", {
|
|
49105
49105
|
enumerable: true,
|
|
49106
|
-
get: function () { return
|
|
49106
|
+
get: function () { return chunk5RUY5THD_cjs.toRedlineMarkdown; }
|
|
49107
49107
|
});
|
|
49108
49108
|
Object.defineProperty(exports, "useConnectedAiTask", {
|
|
49109
49109
|
enumerable: true,
|
|
49110
|
-
get: function () { return
|
|
49110
|
+
get: function () { return chunk5RUY5THD_cjs.useConnectedAiTask; }
|
|
49111
49111
|
});
|
|
49112
49112
|
Object.defineProperty(exports, "useConnectedChat", {
|
|
49113
49113
|
enumerable: true,
|
|
49114
|
-
get: function () { return
|
|
49114
|
+
get: function () { return chunk5RUY5THD_cjs.useConnectedChat; }
|
|
49115
49115
|
});
|
|
49116
49116
|
Object.defineProperty(exports, "useSemanticSearch", {
|
|
49117
49117
|
enumerable: true,
|
|
49118
|
-
get: function () { return
|
|
49118
|
+
get: function () { return chunk5RUY5THD_cjs.useSemanticSearch; }
|
|
49119
49119
|
});
|
|
49120
49120
|
Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
49121
49121
|
enumerable: true,
|
|
49122
|
-
get: function () { return
|
|
49122
|
+
get: function () { return chunk5RUY5THD_cjs.useWorkspaceDocs; }
|
|
49123
49123
|
});
|
|
49124
49124
|
Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
|
|
49125
49125
|
enumerable: true,
|
|
49126
|
-
get: function () { return
|
|
49126
|
+
get: function () { return chunkPPHXBDJP_cjs.ConnectedTaskActivityDialog; }
|
|
49127
49127
|
});
|
|
49128
49128
|
Object.defineProperty(exports, "ConnectedTaskComposer", {
|
|
49129
49129
|
enumerable: true,
|
|
49130
|
-
get: function () { return
|
|
49130
|
+
get: function () { return chunkPPHXBDJP_cjs.ConnectedTaskComposer; }
|
|
49131
49131
|
});
|
|
49132
49132
|
Object.defineProperty(exports, "ConnectedThreadTaskBar", {
|
|
49133
49133
|
enumerable: true,
|
|
49134
|
-
get: function () { return
|
|
49134
|
+
get: function () { return chunkPPHXBDJP_cjs.ConnectedThreadTaskBar; }
|
|
49135
49135
|
});
|
|
49136
49136
|
Object.defineProperty(exports, "ConnectedWorkflowHistory", {
|
|
49137
49137
|
enumerable: true,
|
|
49138
|
-
get: function () { return
|
|
49138
|
+
get: function () { return chunkPPHXBDJP_cjs.ConnectedWorkflowHistory; }
|
|
49139
49139
|
});
|
|
49140
49140
|
Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
|
|
49141
49141
|
enumerable: true,
|
|
49142
|
-
get: function () { return
|
|
49142
|
+
get: function () { return chunkPPHXBDJP_cjs.ConnectedWorkflowRunPage; }
|
|
49143
49143
|
});
|
|
49144
49144
|
Object.defineProperty(exports, "ConnectedWorkflowRunner", {
|
|
49145
49145
|
enumerable: true,
|
|
49146
|
-
get: function () { return
|
|
49146
|
+
get: function () { return chunkPPHXBDJP_cjs.ConnectedWorkflowRunner; }
|
|
49147
49147
|
});
|
|
49148
49148
|
Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
|
|
49149
49149
|
enumerable: true,
|
|
49150
|
-
get: function () { return
|
|
49150
|
+
get: function () { return chunkPPHXBDJP_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
|
|
49151
49151
|
});
|
|
49152
49152
|
Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
|
|
49153
49153
|
enumerable: true,
|
|
49154
|
-
get: function () { return
|
|
49154
|
+
get: function () { return chunkPPHXBDJP_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
|
|
49155
49155
|
});
|
|
49156
49156
|
Object.defineProperty(exports, "WorkflowRunThread", {
|
|
49157
49157
|
enumerable: true,
|
|
49158
|
-
get: function () { return
|
|
49158
|
+
get: function () { return chunkPPHXBDJP_cjs.WorkflowRunThread; }
|
|
49159
49159
|
});
|
|
49160
49160
|
Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
|
|
49161
49161
|
enumerable: true,
|
|
49162
|
-
get: function () { return
|
|
49162
|
+
get: function () { return chunkPPHXBDJP_cjs.WorkflowRunWorkspaceChangedError; }
|
|
49163
49163
|
});
|
|
49164
49164
|
Object.defineProperty(exports, "buildProjectSummaries", {
|
|
49165
49165
|
enumerable: true,
|
|
49166
|
-
get: function () { return
|
|
49166
|
+
get: function () { return chunkPPHXBDJP_cjs.buildProjectSummaries; }
|
|
49167
49167
|
});
|
|
49168
49168
|
Object.defineProperty(exports, "primaryProjectWorkspace", {
|
|
49169
49169
|
enumerable: true,
|
|
49170
|
-
get: function () { return
|
|
49170
|
+
get: function () { return chunkPPHXBDJP_cjs.primaryProjectWorkspace; }
|
|
49171
49171
|
});
|
|
49172
49172
|
Object.defineProperty(exports, "useEnsureRequiredLabels", {
|
|
49173
49173
|
enumerable: true,
|
|
49174
|
-
get: function () { return
|
|
49174
|
+
get: function () { return chunkPPHXBDJP_cjs.useEnsureRequiredLabels; }
|
|
49175
49175
|
});
|
|
49176
49176
|
Object.defineProperty(exports, "useProjectSummaries", {
|
|
49177
49177
|
enumerable: true,
|
|
49178
|
-
get: function () { return
|
|
49178
|
+
get: function () { return chunkPPHXBDJP_cjs.useProjectSummaries; }
|
|
49179
49179
|
});
|
|
49180
49180
|
Object.defineProperty(exports, "useProjectSummary", {
|
|
49181
49181
|
enumerable: true,
|
|
49182
|
-
get: function () { return
|
|
49182
|
+
get: function () { return chunkPPHXBDJP_cjs.useProjectSummary; }
|
|
49183
49183
|
});
|
|
49184
49184
|
Object.defineProperty(exports, "useRenderTaskPerson", {
|
|
49185
49185
|
enumerable: true,
|
|
49186
|
-
get: function () { return
|
|
49186
|
+
get: function () { return chunkPPHXBDJP_cjs.useRenderTaskPerson; }
|
|
49187
49187
|
});
|
|
49188
49188
|
Object.defineProperty(exports, "useRequiredLabels", {
|
|
49189
49189
|
enumerable: true,
|
|
49190
|
-
get: function () { return
|
|
49190
|
+
get: function () { return chunkPPHXBDJP_cjs.useRequiredLabels; }
|
|
49191
49191
|
});
|
|
49192
49192
|
Object.defineProperty(exports, "useTaskPeople", {
|
|
49193
49193
|
enumerable: true,
|
|
49194
|
-
get: function () { return
|
|
49194
|
+
get: function () { return chunkPPHXBDJP_cjs.useTaskPeople; }
|
|
49195
49195
|
});
|
|
49196
49196
|
Object.defineProperty(exports, "useWorkflowsPageState", {
|
|
49197
49197
|
enumerable: true,
|
|
49198
|
-
get: function () { return
|
|
49198
|
+
get: function () { return chunkPPHXBDJP_cjs.useWorkflowsPageState; }
|
|
49199
49199
|
});
|
|
49200
49200
|
Object.defineProperty(exports, "workflowRunView", {
|
|
49201
49201
|
enumerable: true,
|
|
49202
|
-
get: function () { return
|
|
49202
|
+
get: function () { return chunkPPHXBDJP_cjs.workflowRunView; }
|
|
49203
49203
|
});
|
|
49204
49204
|
Object.defineProperty(exports, "AgentSteps", {
|
|
49205
49205
|
enumerable: true,
|
|
49206
|
-
get: function () { return
|
|
49206
|
+
get: function () { return chunkPGKCL6YA_cjs.AgentSteps; }
|
|
49207
49207
|
});
|
|
49208
49208
|
Object.defineProperty(exports, "AnswerTable", {
|
|
49209
49209
|
enumerable: true,
|
|
49210
|
-
get: function () { return
|
|
49210
|
+
get: function () { return chunkPGKCL6YA_cjs.AnswerTable; }
|
|
49211
49211
|
});
|
|
49212
49212
|
Object.defineProperty(exports, "ArbiChat", {
|
|
49213
49213
|
enumerable: true,
|
|
49214
|
-
get: function () { return
|
|
49214
|
+
get: function () { return chunkPGKCL6YA_cjs.ArbiChat; }
|
|
49215
49215
|
});
|
|
49216
49216
|
Object.defineProperty(exports, "AskAgainContext", {
|
|
49217
49217
|
enumerable: true,
|
|
49218
|
-
get: function () { return
|
|
49218
|
+
get: function () { return chunkPGKCL6YA_cjs.AskAgainContext; }
|
|
49219
49219
|
});
|
|
49220
49220
|
Object.defineProperty(exports, "ConnectedBranchControls", {
|
|
49221
49221
|
enumerable: true,
|
|
49222
|
-
get: function () { return
|
|
49222
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedBranchControls; }
|
|
49223
49223
|
});
|
|
49224
49224
|
Object.defineProperty(exports, "ConnectedCitationRenderer", {
|
|
49225
49225
|
enumerable: true,
|
|
49226
|
-
get: function () { return
|
|
49226
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedCitationRenderer; }
|
|
49227
49227
|
});
|
|
49228
49228
|
Object.defineProperty(exports, "ConnectedCompactConversation", {
|
|
49229
49229
|
enumerable: true,
|
|
49230
|
-
get: function () { return
|
|
49230
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedCompactConversation; }
|
|
49231
49231
|
});
|
|
49232
49232
|
Object.defineProperty(exports, "ConnectedCompactLogin", {
|
|
49233
49233
|
enumerable: true,
|
|
49234
|
-
get: function () { return
|
|
49234
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedCompactLogin; }
|
|
49235
49235
|
});
|
|
49236
49236
|
Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
|
|
49237
49237
|
enumerable: true,
|
|
49238
|
-
get: function () { return
|
|
49238
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedConversationDocumentPicker; }
|
|
49239
49239
|
});
|
|
49240
49240
|
Object.defineProperty(exports, "ConnectedDangerZone", {
|
|
49241
49241
|
enumerable: true,
|
|
49242
|
-
get: function () { return
|
|
49242
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedDangerZone; }
|
|
49243
49243
|
});
|
|
49244
49244
|
Object.defineProperty(exports, "ConnectedEmbeddedChat", {
|
|
49245
49245
|
enumerable: true,
|
|
49246
|
-
get: function () { return
|
|
49246
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedEmbeddedChat; }
|
|
49247
49247
|
});
|
|
49248
49248
|
Object.defineProperty(exports, "ConnectedForgotPassword", {
|
|
49249
49249
|
enumerable: true,
|
|
49250
|
-
get: function () { return
|
|
49250
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedForgotPassword; }
|
|
49251
49251
|
});
|
|
49252
49252
|
Object.defineProperty(exports, "ConnectedIdentityVerification", {
|
|
49253
49253
|
enumerable: true,
|
|
49254
|
-
get: function () { return
|
|
49254
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedIdentityVerification; }
|
|
49255
49255
|
});
|
|
49256
49256
|
Object.defineProperty(exports, "ConnectedLoginPage", {
|
|
49257
49257
|
enumerable: true,
|
|
49258
|
-
get: function () { return
|
|
49258
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedLoginPage; }
|
|
49259
49259
|
});
|
|
49260
49260
|
Object.defineProperty(exports, "ConnectedLogoutDialog", {
|
|
49261
49261
|
enumerable: true,
|
|
49262
|
-
get: function () { return
|
|
49262
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedLogoutDialog; }
|
|
49263
49263
|
});
|
|
49264
49264
|
Object.defineProperty(exports, "ConnectedMessage", {
|
|
49265
49265
|
enumerable: true,
|
|
49266
|
-
get: function () { return
|
|
49266
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedMessage; }
|
|
49267
49267
|
});
|
|
49268
49268
|
Object.defineProperty(exports, "ConnectedMessageArea", {
|
|
49269
49269
|
enumerable: true,
|
|
49270
|
-
get: function () { return
|
|
49270
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedMessageArea; }
|
|
49271
49271
|
});
|
|
49272
49272
|
Object.defineProperty(exports, "ConnectedMessageList", {
|
|
49273
49273
|
enumerable: true,
|
|
49274
|
-
get: function () { return
|
|
49274
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedMessageList; }
|
|
49275
49275
|
});
|
|
49276
49276
|
Object.defineProperty(exports, "ConnectedModelSelector", {
|
|
49277
49277
|
enumerable: true,
|
|
49278
|
-
get: function () { return
|
|
49278
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedModelSelector; }
|
|
49279
49279
|
});
|
|
49280
49280
|
Object.defineProperty(exports, "ConnectedNotificationPreferences", {
|
|
49281
49281
|
enumerable: true,
|
|
49282
|
-
get: function () { return
|
|
49282
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedNotificationPreferences; }
|
|
49283
49283
|
});
|
|
49284
49284
|
Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
|
|
49285
49285
|
enumerable: true,
|
|
49286
|
-
get: function () { return
|
|
49286
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedPasswordChangeDialog; }
|
|
49287
49287
|
});
|
|
49288
49288
|
Object.defineProperty(exports, "ConnectedProfileCard", {
|
|
49289
49289
|
enumerable: true,
|
|
49290
|
-
get: function () { return
|
|
49290
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedProfileCard; }
|
|
49291
49291
|
});
|
|
49292
49292
|
Object.defineProperty(exports, "ConnectedSecuritySection", {
|
|
49293
49293
|
enumerable: true,
|
|
49294
|
-
get: function () { return
|
|
49294
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedSecuritySection; }
|
|
49295
49295
|
});
|
|
49296
49296
|
Object.defineProperty(exports, "ConnectedSessionsRow", {
|
|
49297
49297
|
enumerable: true,
|
|
49298
|
-
get: function () { return
|
|
49298
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedSessionsRow; }
|
|
49299
49299
|
});
|
|
49300
49300
|
Object.defineProperty(exports, "ConnectedThreadsPreview", {
|
|
49301
49301
|
enumerable: true,
|
|
49302
|
-
get: function () { return
|
|
49302
|
+
get: function () { return chunkPGKCL6YA_cjs.ConnectedThreadsPreview; }
|
|
49303
49303
|
});
|
|
49304
49304
|
Object.defineProperty(exports, "ConversationComposer", {
|
|
49305
49305
|
enumerable: true,
|
|
49306
|
-
get: function () { return
|
|
49306
|
+
get: function () { return chunkPGKCL6YA_cjs.ConversationComposer; }
|
|
49307
49307
|
});
|
|
49308
49308
|
Object.defineProperty(exports, "EmbeddedChatPanel", {
|
|
49309
49309
|
enumerable: true,
|
|
49310
|
-
get: function () { return
|
|
49310
|
+
get: function () { return chunkPGKCL6YA_cjs.EmbeddedChatPanel; }
|
|
49311
49311
|
});
|
|
49312
49312
|
Object.defineProperty(exports, "MessageDetailsModal", {
|
|
49313
49313
|
enumerable: true,
|
|
49314
|
-
get: function () { return
|
|
49314
|
+
get: function () { return chunkPGKCL6YA_cjs.MessageDetailsModal; }
|
|
49315
49315
|
});
|
|
49316
49316
|
Object.defineProperty(exports, "MessageLiveSeconds", {
|
|
49317
49317
|
enumerable: true,
|
|
49318
|
-
get: function () { return
|
|
49318
|
+
get: function () { return chunkPGKCL6YA_cjs.MessageLiveSeconds; }
|
|
49319
49319
|
});
|
|
49320
49320
|
Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
|
|
49321
49321
|
enumerable: true,
|
|
49322
|
-
get: function () { return
|
|
49322
|
+
get: function () { return chunkPGKCL6YA_cjs.PENDING_RECOVERY_KEY; }
|
|
49323
49323
|
});
|
|
49324
49324
|
Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
|
|
49325
49325
|
enumerable: true,
|
|
49326
|
-
get: function () { return
|
|
49326
|
+
get: function () { return chunkPGKCL6YA_cjs.PREMIUM_TIER_TAG; }
|
|
49327
49327
|
});
|
|
49328
49328
|
Object.defineProperty(exports, "RunningSubagents", {
|
|
49329
49329
|
enumerable: true,
|
|
49330
|
-
get: function () { return
|
|
49330
|
+
get: function () { return chunkPGKCL6YA_cjs.RunningSubagents; }
|
|
49331
49331
|
});
|
|
49332
49332
|
Object.defineProperty(exports, "STANDARD_TIER_TAG", {
|
|
49333
49333
|
enumerable: true,
|
|
49334
|
-
get: function () { return
|
|
49334
|
+
get: function () { return chunkPGKCL6YA_cjs.STANDARD_TIER_TAG; }
|
|
49335
49335
|
});
|
|
49336
49336
|
Object.defineProperty(exports, "WorkflowStepMessage", {
|
|
49337
49337
|
enumerable: true,
|
|
49338
|
-
get: function () { return
|
|
49338
|
+
get: function () { return chunkPGKCL6YA_cjs.WorkflowStepMessage; }
|
|
49339
49339
|
});
|
|
49340
49340
|
Object.defineProperty(exports, "backUpOnSignup", {
|
|
49341
49341
|
enumerable: true,
|
|
49342
|
-
get: function () { return
|
|
49342
|
+
get: function () { return chunkPGKCL6YA_cjs.backUpOnSignup; }
|
|
49343
49343
|
});
|
|
49344
49344
|
Object.defineProperty(exports, "createRemoteControl", {
|
|
49345
49345
|
enumerable: true,
|
|
49346
|
-
get: function () { return
|
|
49346
|
+
get: function () { return chunkPGKCL6YA_cjs.createRemoteControl; }
|
|
49347
49347
|
});
|
|
49348
49348
|
Object.defineProperty(exports, "defaultHost", {
|
|
49349
49349
|
enumerable: true,
|
|
49350
|
-
get: function () { return
|
|
49350
|
+
get: function () { return chunkPGKCL6YA_cjs.defaultHost; }
|
|
49351
49351
|
});
|
|
49352
49352
|
Object.defineProperty(exports, "renderConnectedUser", {
|
|
49353
49353
|
enumerable: true,
|
|
49354
|
-
get: function () { return
|
|
49354
|
+
get: function () { return chunkPGKCL6YA_cjs.renderConnectedUser; }
|
|
49355
49355
|
});
|
|
49356
49356
|
Object.defineProperty(exports, "renderSessionStatusIcon", {
|
|
49357
49357
|
enumerable: true,
|
|
49358
|
-
get: function () { return
|
|
49358
|
+
get: function () { return chunkPGKCL6YA_cjs.renderSessionStatusIcon; }
|
|
49359
49359
|
});
|
|
49360
49360
|
Object.defineProperty(exports, "resolveSsoName", {
|
|
49361
49361
|
enumerable: true,
|
|
49362
|
-
get: function () { return
|
|
49362
|
+
get: function () { return chunkPGKCL6YA_cjs.resolveSsoName; }
|
|
49363
49363
|
});
|
|
49364
49364
|
Object.defineProperty(exports, "useAuthPages", {
|
|
49365
49365
|
enumerable: true,
|
|
49366
|
-
get: function () { return
|
|
49366
|
+
get: function () { return chunkPGKCL6YA_cjs.useAuthPages; }
|
|
49367
49367
|
});
|
|
49368
49368
|
Object.defineProperty(exports, "useContextualHints", {
|
|
49369
49369
|
enumerable: true,
|
|
49370
|
-
get: function () { return
|
|
49370
|
+
get: function () { return chunkPGKCL6YA_cjs.useContextualHints; }
|
|
49371
49371
|
});
|
|
49372
49372
|
Object.defineProperty(exports, "useModelPicker", {
|
|
49373
49373
|
enumerable: true,
|
|
49374
|
-
get: function () { return
|
|
49374
|
+
get: function () { return chunkPGKCL6YA_cjs.useModelPicker; }
|
|
49375
49375
|
});
|
|
49376
49376
|
Object.defineProperty(exports, "useOpenChunk", {
|
|
49377
49377
|
enumerable: true,
|
|
49378
|
-
get: function () { return
|
|
49378
|
+
get: function () { return chunkPGKCL6YA_cjs.useOpenChunk; }
|
|
49379
49379
|
});
|
|
49380
49380
|
Object.defineProperty(exports, "useOpenWorkspaceIcon", {
|
|
49381
49381
|
enumerable: true,
|
|
49382
|
-
get: function () { return
|
|
49382
|
+
get: function () { return chunkPGKCL6YA_cjs.useOpenWorkspaceIcon; }
|
|
49383
49383
|
});
|
|
49384
49384
|
Object.defineProperty(exports, "useRemoteControlActions", {
|
|
49385
49385
|
enumerable: true,
|
|
49386
|
-
get: function () { return
|
|
49386
|
+
get: function () { return chunkPGKCL6YA_cjs.useRemoteControlActions; }
|
|
49387
49387
|
});
|
|
49388
49388
|
Object.defineProperty(exports, "useRemoteControlHandlers", {
|
|
49389
49389
|
enumerable: true,
|
|
49390
|
-
get: function () { return
|
|
49390
|
+
get: function () { return chunkPGKCL6YA_cjs.useRemoteControlHandlers; }
|
|
49391
49391
|
});
|
|
49392
49392
|
Object.defineProperty(exports, "useSsoSignIn", {
|
|
49393
49393
|
enumerable: true,
|
|
49394
|
-
get: function () { return
|
|
49394
|
+
get: function () { return chunkPGKCL6YA_cjs.useSsoSignIn; }
|
|
49395
49395
|
});
|
|
49396
49396
|
Object.defineProperty(exports, "useWorkspaceDocTitles", {
|
|
49397
49397
|
enumerable: true,
|
|
49398
|
-
get: function () { return
|
|
49398
|
+
get: function () { return chunkPGKCL6YA_cjs.useWorkspaceDocTitles; }
|
|
49399
49399
|
});
|
|
49400
49400
|
Object.defineProperty(exports, "parseTypedSkill", {
|
|
49401
49401
|
enumerable: true,
|
|
@@ -49427,11 +49427,11 @@ Object.defineProperty(exports, "useLaunchWorkflow", {
|
|
|
49427
49427
|
});
|
|
49428
49428
|
Object.defineProperty(exports, "useConnectedThreadActivity", {
|
|
49429
49429
|
enumerable: true,
|
|
49430
|
-
get: function () { return
|
|
49430
|
+
get: function () { return chunkU4MJIYGD_cjs.useConnectedThreadActivity; }
|
|
49431
49431
|
});
|
|
49432
49432
|
Object.defineProperty(exports, "DocumentUser", {
|
|
49433
49433
|
enumerable: true,
|
|
49434
|
-
get: function () { return
|
|
49434
|
+
get: function () { return chunkUNT2VY3B_cjs.DocumentUser; }
|
|
49435
49435
|
});
|
|
49436
49436
|
Object.defineProperty(exports, "useCanBrowseSkills", {
|
|
49437
49437
|
enumerable: true,
|
|
@@ -49487,35 +49487,35 @@ Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
|
|
|
49487
49487
|
});
|
|
49488
49488
|
Object.defineProperty(exports, "FILES_PREFS_KEY", {
|
|
49489
49489
|
enumerable: true,
|
|
49490
|
-
get: function () { return
|
|
49490
|
+
get: function () { return chunkGENUGV6V_cjs.FILES_PREFS_KEY; }
|
|
49491
49491
|
});
|
|
49492
49492
|
Object.defineProperty(exports, "filesViewMode", {
|
|
49493
49493
|
enumerable: true,
|
|
49494
|
-
get: function () { return
|
|
49494
|
+
get: function () { return chunkGENUGV6V_cjs.filesViewMode; }
|
|
49495
49495
|
});
|
|
49496
49496
|
Object.defineProperty(exports, "useAiReviewStore", {
|
|
49497
49497
|
enumerable: true,
|
|
49498
|
-
get: function () { return
|
|
49498
|
+
get: function () { return chunkGENUGV6V_cjs.useAiReviewStore; }
|
|
49499
49499
|
});
|
|
49500
49500
|
Object.defineProperty(exports, "useFilesDialogs", {
|
|
49501
49501
|
enumerable: true,
|
|
49502
|
-
get: function () { return
|
|
49502
|
+
get: function () { return chunkGENUGV6V_cjs.useFilesDialogs; }
|
|
49503
49503
|
});
|
|
49504
49504
|
Object.defineProperty(exports, "useFilesGridStates", {
|
|
49505
49505
|
enumerable: true,
|
|
49506
|
-
get: function () { return
|
|
49506
|
+
get: function () { return chunkGENUGV6V_cjs.useFilesGridStates; }
|
|
49507
49507
|
});
|
|
49508
49508
|
Object.defineProperty(exports, "useFilesPrefs", {
|
|
49509
49509
|
enumerable: true,
|
|
49510
|
-
get: function () { return
|
|
49510
|
+
get: function () { return chunkGENUGV6V_cjs.useFilesPrefs; }
|
|
49511
49511
|
});
|
|
49512
49512
|
Object.defineProperty(exports, "useFilesStore", {
|
|
49513
49513
|
enumerable: true,
|
|
49514
|
-
get: function () { return
|
|
49514
|
+
get: function () { return chunkGENUGV6V_cjs.useFilesStore; }
|
|
49515
49515
|
});
|
|
49516
49516
|
Object.defineProperty(exports, "usePendingFolders", {
|
|
49517
49517
|
enumerable: true,
|
|
49518
|
-
get: function () { return
|
|
49518
|
+
get: function () { return chunkGENUGV6V_cjs.usePendingFolders; }
|
|
49519
49519
|
});
|
|
49520
49520
|
Object.defineProperty(exports, "ConnectedMarkdown", {
|
|
49521
49521
|
enumerable: true,
|
|
@@ -49547,67 +49547,67 @@ Object.defineProperty(exports, "useDocumentWorkspace", {
|
|
|
49547
49547
|
});
|
|
49548
49548
|
Object.defineProperty(exports, "ConnectedPendingSyncDialog", {
|
|
49549
49549
|
enumerable: true,
|
|
49550
|
-
get: function () { return
|
|
49550
|
+
get: function () { return chunkE7BSG5IS_cjs.ConnectedPendingSyncDialog; }
|
|
49551
49551
|
});
|
|
49552
49552
|
Object.defineProperty(exports, "DocumentFolderCell", {
|
|
49553
49553
|
enumerable: true,
|
|
49554
|
-
get: function () { return
|
|
49554
|
+
get: function () { return chunkE7BSG5IS_cjs.DocumentFolderCell; }
|
|
49555
49555
|
});
|
|
49556
49556
|
Object.defineProperty(exports, "DocumentLabelsCell", {
|
|
49557
49557
|
enumerable: true,
|
|
49558
|
-
get: function () { return
|
|
49558
|
+
get: function () { return chunkE7BSG5IS_cjs.DocumentLabelsCell; }
|
|
49559
49559
|
});
|
|
49560
49560
|
Object.defineProperty(exports, "DocumentNameCell", {
|
|
49561
49561
|
enumerable: true,
|
|
49562
|
-
get: function () { return
|
|
49562
|
+
get: function () { return chunkE7BSG5IS_cjs.DocumentNameCell; }
|
|
49563
49563
|
});
|
|
49564
49564
|
Object.defineProperty(exports, "DocumentSharedCell", {
|
|
49565
49565
|
enumerable: true,
|
|
49566
|
-
get: function () { return
|
|
49566
|
+
get: function () { return chunkE7BSG5IS_cjs.DocumentSharedCell; }
|
|
49567
49567
|
});
|
|
49568
49568
|
Object.defineProperty(exports, "DocumentStatusGlyph", {
|
|
49569
49569
|
enumerable: true,
|
|
49570
|
-
get: function () { return
|
|
49570
|
+
get: function () { return chunkE7BSG5IS_cjs.DocumentStatusGlyph; }
|
|
49571
49571
|
});
|
|
49572
49572
|
Object.defineProperty(exports, "DocumentSyncGlyph", {
|
|
49573
49573
|
enumerable: true,
|
|
49574
|
-
get: function () { return
|
|
49574
|
+
get: function () { return chunkE7BSG5IS_cjs.DocumentSyncGlyph; }
|
|
49575
49575
|
});
|
|
49576
49576
|
Object.defineProperty(exports, "FileTooltipContent", {
|
|
49577
49577
|
enumerable: true,
|
|
49578
|
-
get: function () { return
|
|
49578
|
+
get: function () { return chunkE7BSG5IS_cjs.FileTooltipContent; }
|
|
49579
49579
|
});
|
|
49580
49580
|
Object.defineProperty(exports, "RelatedDocumentsCell", {
|
|
49581
49581
|
enumerable: true,
|
|
49582
|
-
get: function () { return
|
|
49582
|
+
get: function () { return chunkE7BSG5IS_cjs.RelatedDocumentsCell; }
|
|
49583
49583
|
});
|
|
49584
49584
|
Object.defineProperty(exports, "StatusCell", {
|
|
49585
49585
|
enumerable: true,
|
|
49586
|
-
get: function () { return
|
|
49586
|
+
get: function () { return chunkE7BSG5IS_cjs.StatusCell; }
|
|
49587
49587
|
});
|
|
49588
49588
|
Object.defineProperty(exports, "UserAvatar", {
|
|
49589
49589
|
enumerable: true,
|
|
49590
|
-
get: function () { return
|
|
49590
|
+
get: function () { return chunkE7BSG5IS_cjs.UserAvatar; }
|
|
49591
49591
|
});
|
|
49592
49592
|
Object.defineProperty(exports, "isActiveDocumentStatus", {
|
|
49593
49593
|
enumerable: true,
|
|
49594
|
-
get: function () { return
|
|
49594
|
+
get: function () { return chunkE7BSG5IS_cjs.isActiveDocumentStatus; }
|
|
49595
49595
|
});
|
|
49596
49596
|
Object.defineProperty(exports, "openPendingSyncDialog", {
|
|
49597
49597
|
enumerable: true,
|
|
49598
|
-
get: function () { return
|
|
49598
|
+
get: function () { return chunkE7BSG5IS_cjs.openPendingSyncDialog; }
|
|
49599
49599
|
});
|
|
49600
49600
|
Object.defineProperty(exports, "parseQuotaError", {
|
|
49601
49601
|
enumerable: true,
|
|
49602
|
-
get: function () { return
|
|
49602
|
+
get: function () { return chunkE7BSG5IS_cjs.parseQuotaError; }
|
|
49603
49603
|
});
|
|
49604
49604
|
Object.defineProperty(exports, "startMenuItem", {
|
|
49605
49605
|
enumerable: true,
|
|
49606
|
-
get: function () { return
|
|
49606
|
+
get: function () { return chunkE7BSG5IS_cjs.startMenuItem; }
|
|
49607
49607
|
});
|
|
49608
49608
|
Object.defineProperty(exports, "useDocumentFolders", {
|
|
49609
49609
|
enumerable: true,
|
|
49610
|
-
get: function () { return
|
|
49610
|
+
get: function () { return chunkE7BSG5IS_cjs.useDocumentFolders; }
|
|
49611
49611
|
});
|
|
49612
49612
|
Object.defineProperty(exports, "ConnectedWorkflowsTable", {
|
|
49613
49613
|
enumerable: true,
|
|
@@ -49651,7 +49651,7 @@ Object.defineProperty(exports, "useConnectedWorkflowScopeSource", {
|
|
|
49651
49651
|
});
|
|
49652
49652
|
Object.defineProperty(exports, "useMeetingThreadMessages", {
|
|
49653
49653
|
enumerable: true,
|
|
49654
|
-
get: function () { return
|
|
49654
|
+
get: function () { return chunkSXC4ZIN4_cjs.useMeetingThreadMessages; }
|
|
49655
49655
|
});
|
|
49656
49656
|
Object.defineProperty(exports, "ConnectedUserEntity", {
|
|
49657
49657
|
enumerable: true,
|