@arbidocs/blocks 0.4.109 → 0.4.111
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/{NativeDocxEditor-WODZAURG.cjs → NativeDocxEditor-AQKRZBIU.cjs} +7 -7
- package/dist/{NativeDocxEditor-WODZAURG.cjs.map → NativeDocxEditor-AQKRZBIU.cjs.map} +1 -1
- package/dist/{NativeDocxEditor-4PY4YZYC.js → NativeDocxEditor-IN2HEO5I.js} +3 -3
- package/dist/{NativeDocxEditor-4PY4YZYC.js.map → NativeDocxEditor-IN2HEO5I.js.map} +1 -1
- package/dist/agents/index.cjs +286 -286
- package/dist/agents/index.js +10 -10
- package/dist/agents/tasks/ConversationListView.d.ts +5 -1
- package/dist/agents/tasks/TaskActivityTimeline.d.ts +5 -1
- package/dist/calendar/EventDetails.d.ts +1 -1
- package/dist/calendar/EventEditor.d.ts +1 -1
- package/dist/calendar/draft.d.ts +7 -1
- package/dist/calendar/index.cjs +71 -10
- package/dist/calendar/index.cjs.map +1 -1
- package/dist/calendar/index.d.ts +1 -1
- package/dist/calendar/index.js +69 -11
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/types.d.ts +23 -0
- package/dist/calls/CallSidePanel.d.ts +32 -0
- package/dist/calls/CallStage.d.ts +57 -0
- package/dist/calls/ControlBar.d.ts +113 -0
- package/dist/calls/ControlButton.d.ts +44 -0
- package/dist/calls/PreJoin.d.ts +35 -0
- package/dist/calls/cards.d.ts +58 -0
- package/dist/calls/hooks.d.ts +20 -0
- package/dist/calls/index.cjs +2884 -0
- package/dist/calls/index.cjs.map +1 -0
- package/dist/calls/index.d.ts +21 -0
- package/dist/calls/index.js +2753 -0
- package/dist/calls/index.js.map +1 -0
- package/dist/calls/join-choices.d.ts +11 -0
- package/dist/calls/layout.d.ts +106 -0
- package/dist/calls/panels.d.ts +66 -0
- package/dist/calls/status.d.ts +69 -0
- package/dist/calls/tiles.d.ts +59 -0
- package/dist/calls/webinar/ChatPermissionSetting.d.ts +18 -0
- package/dist/calls/webinar/OnStageCheck.d.ts +23 -0
- package/dist/calls/webinar/QAPanel.d.ts +56 -0
- package/dist/calls/webinar/RaiseHandButton.d.ts +14 -0
- package/dist/calls/webinar/WebinarAudiencePanel.d.ts +23 -0
- package/dist/calls/webinar/WebinarViewer.d.ts +39 -0
- package/dist/calls/webinar/WebinarWaiting.d.ts +19 -0
- package/dist/calls/webinar/hooks.d.ts +13 -0
- package/dist/calls/webinar/index.d.ts +14 -0
- package/dist/calls/webinar/live.d.ts +43 -0
- package/dist/calls/webinar/types.d.ts +49 -0
- package/dist/chat/Message.d.ts +17 -2
- package/dist/chat/TranscriptLine.d.ts +50 -0
- package/dist/chat/index.cjs +147 -126
- package/dist/chat/index.d.ts +3 -1
- package/dist/chat/index.js +5 -4
- package/dist/chat/transcript-runs.d.ts +6 -0
- package/dist/{chunk-GKDWQLVU.js → chunk-2C7TCVQZ.js} +172 -121
- package/dist/chunk-2C7TCVQZ.js.map +1 -0
- package/dist/{chunk-QKWQMOHN.cjs → chunk-2UAJVK3C.cjs} +4 -4
- package/dist/{chunk-QKWQMOHN.cjs.map → chunk-2UAJVK3C.cjs.map} +1 -1
- package/dist/{chunk-54WBIVHV.cjs → chunk-2WO5L7YT.cjs} +5 -5
- package/dist/{chunk-54WBIVHV.cjs.map → chunk-2WO5L7YT.cjs.map} +1 -1
- package/dist/{chunk-7C35WXYB.js → chunk-5HFPRI3W.js} +5 -5
- package/dist/chunk-5HFPRI3W.js.map +1 -0
- package/dist/{chunk-ZSV2NQQP.js → chunk-6RHHMBZ5.js} +158 -5
- package/dist/chunk-6RHHMBZ5.js.map +1 -0
- package/dist/{chunk-FQX6N5G6.js → chunk-6Z7DLJU2.js} +35 -18
- package/dist/chunk-6Z7DLJU2.js.map +1 -0
- package/dist/{chunk-PGDL26TQ.js → chunk-AY32GGKU.js} +10 -4
- package/dist/{chunk-PGDL26TQ.js.map → chunk-AY32GGKU.js.map} +1 -1
- package/dist/{chunk-S55VDTX3.js → chunk-CECWAIHL.js} +3 -3
- package/dist/{chunk-S55VDTX3.js.map → chunk-CECWAIHL.js.map} +1 -1
- package/dist/{chunk-UABPHZWZ.js → chunk-CXZ7FPTQ.js} +3 -3
- package/dist/{chunk-UABPHZWZ.js.map → chunk-CXZ7FPTQ.js.map} +1 -1
- package/dist/{chunk-C2HRZSAT.cjs → chunk-DJM7DLCT.cjs} +5 -5
- package/dist/chunk-DJM7DLCT.cjs.map +1 -0
- package/dist/{chunk-GBYY3PIC.cjs → chunk-FXUQZFAN.cjs} +79 -62
- package/dist/chunk-FXUQZFAN.cjs.map +1 -0
- package/dist/{chunk-W7NZRZ54.js → chunk-GFYGYME3.js} +3 -3
- package/dist/{chunk-W7NZRZ54.js.map → chunk-GFYGYME3.js.map} +1 -1
- package/dist/chunk-GICUGQNN.cjs +76 -0
- package/dist/chunk-GICUGQNN.cjs.map +1 -0
- package/dist/{chunk-I4XQCE6U.cjs → chunk-HBBJYRGI.cjs} +162 -5
- package/dist/{chunk-ZSV2NQQP.js.map → chunk-HBBJYRGI.cjs.map} +1 -1
- package/dist/chunk-JJLMCV3T.js +73 -0
- package/dist/chunk-JJLMCV3T.js.map +1 -0
- package/dist/chunk-MWDW5UBW.cjs +199 -0
- package/dist/chunk-MWDW5UBW.cjs.map +1 -0
- package/dist/{chunk-NUTLXVPX.js → chunk-NRUPUDWB.js} +16 -7
- package/dist/chunk-NRUPUDWB.js.map +1 -0
- package/dist/{chunk-5YXG342J.cjs → chunk-OR4CO743.cjs} +3 -3
- package/dist/{chunk-5YXG342J.cjs.map → chunk-OR4CO743.cjs.map} +1 -1
- package/dist/{chunk-DDF5GPIJ.js → chunk-P5ST47VY.js} +3 -3
- package/dist/{chunk-DDF5GPIJ.js.map → chunk-P5ST47VY.js.map} +1 -1
- package/dist/{chunk-PEHLUB52.js → chunk-Q6B77ZWZ.js} +3 -3
- package/dist/{chunk-PEHLUB52.js.map → chunk-Q6B77ZWZ.js.map} +1 -1
- package/dist/{chunk-ELDUWTRR.cjs → chunk-TF47ATYS.cjs} +4 -4
- package/dist/{chunk-ELDUWTRR.cjs.map → chunk-TF47ATYS.cjs.map} +1 -1
- package/dist/{chunk-PDRYGPZB.cjs → chunk-VP4KJ4LK.cjs} +16 -6
- package/dist/chunk-VP4KJ4LK.cjs.map +1 -0
- package/dist/{chunk-SKSE4OT6.cjs → chunk-WPVIOGDG.cjs} +5 -5
- package/dist/{chunk-SKSE4OT6.cjs.map → chunk-WPVIOGDG.cjs.map} +1 -1
- package/dist/{chunk-JB32KYAH.js → chunk-WTM65ZNG.js} +3 -3
- package/dist/{chunk-JB32KYAH.js.map → chunk-WTM65ZNG.js.map} +1 -1
- package/dist/{chunk-2NIL2ASF.cjs → chunk-XIGWUDOD.cjs} +170 -119
- package/dist/chunk-XIGWUDOD.cjs.map +1 -0
- package/dist/{chunk-3US5OIDQ.cjs → chunk-XSUOEJB3.cjs} +9 -3
- package/dist/chunk-XSUOEJB3.cjs.map +1 -0
- package/dist/chunk-Z3AZ7Q5X.js +177 -0
- package/dist/chunk-Z3AZ7Q5X.js.map +1 -0
- package/dist/{chunk-Z5VUZ6YD.cjs → chunk-ZV3BKLFY.cjs} +3 -3
- package/dist/{chunk-Z5VUZ6YD.cjs.map → chunk-ZV3BKLFY.cjs.map} +1 -1
- package/dist/collaboration/index.cjs +42 -42
- package/dist/collaboration/index.js +2 -2
- package/dist/connect/docx.cjs +6 -6
- package/dist/connect/docx.js +4 -4
- package/dist/connect/index.cjs +72 -72
- package/dist/connect/index.js +18 -18
- package/dist/docx/AgentUndo.d.ts +4 -0
- package/dist/docx/index.cjs +46 -46
- package/dist/docx/index.js +3 -3
- package/dist/facts/index.cjs +4 -4
- package/dist/facts/index.js +4 -4
- package/dist/files/index.cjs +6 -6
- package/dist/files/index.js +6 -6
- package/dist/home/index.cjs +17 -17
- package/dist/home/index.js +3 -3
- package/dist/index.cjs +958 -937
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +24 -23
- package/dist/index.js.map +1 -1
- package/dist/retrieval/index.cjs +1 -1
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/index.cjs +50 -104
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.js +12 -72
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/index.cjs +12 -12
- package/dist/shell/index.js +4 -4
- package/dist/site/index.cjs +5 -5
- package/dist/site/index.js +1 -1
- package/dist/studio/index.cjs +5 -5
- package/dist/studio/index.js +4 -4
- package/dist/workflow-canvas/index.cjs +53 -53
- package/dist/workflow-canvas/index.js +10 -10
- package/dist/workspaces/index.cjs +2 -2
- package/dist/workspaces/index.js +2 -2
- package/node_modules/@arbidocs/coedit/dist/commands.cjs +179 -9
- package/node_modules/@arbidocs/coedit/dist/commands.cjs.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/commands.d.cts +81 -1
- package/node_modules/@arbidocs/coedit/dist/commands.d.ts +81 -1
- package/node_modules/@arbidocs/coedit/dist/commands.js +173 -11
- package/node_modules/@arbidocs/coedit/dist/commands.js.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/server.cjs +58 -2
- package/node_modules/@arbidocs/coedit/dist/server.cjs.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/server.d.cts +29 -1
- package/node_modules/@arbidocs/coedit/dist/server.d.ts +29 -1
- package/node_modules/@arbidocs/coedit/dist/server.js +58 -3
- package/node_modules/@arbidocs/coedit/dist/server.js.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +15 -5
- package/src/calls/calls.css +157 -0
- package/dist/chunk-2NIL2ASF.cjs.map +0 -1
- package/dist/chunk-3US5OIDQ.cjs.map +0 -1
- package/dist/chunk-7C35WXYB.js.map +0 -1
- package/dist/chunk-C2HRZSAT.cjs.map +0 -1
- package/dist/chunk-FQX6N5G6.js.map +0 -1
- package/dist/chunk-GBYY3PIC.cjs.map +0 -1
- package/dist/chunk-GKDWQLVU.js.map +0 -1
- package/dist/chunk-I4XQCE6U.cjs.map +0 -1
- package/dist/chunk-NUTLXVPX.js.map +0 -1
- package/dist/chunk-PDRYGPZB.cjs.map +0 -1
package/dist/connect/index.cjs
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
4
|
+
var chunkOR4CO743_cjs = require('../chunk-OR4CO743.cjs');
|
|
5
|
+
var chunk2UAJVK3C_cjs = require('../chunk-2UAJVK3C.cjs');
|
|
6
|
+
var chunkTF47ATYS_cjs = require('../chunk-TF47ATYS.cjs');
|
|
7
7
|
var chunkMUMH3Z6K_cjs = require('../chunk-MUMH3Z6K.cjs');
|
|
8
8
|
var chunkJH6JTI76_cjs = require('../chunk-JH6JTI76.cjs');
|
|
9
9
|
require('../chunk-S24XEVPS.cjs');
|
|
10
|
-
require('../chunk-
|
|
10
|
+
require('../chunk-XIGWUDOD.cjs');
|
|
11
11
|
require('../chunk-5FYU7ZIU.cjs');
|
|
12
12
|
var chunkO4YPVYPO_cjs = require('../chunk-O4YPVYPO.cjs');
|
|
13
|
-
var
|
|
13
|
+
var chunkWPVIOGDG_cjs = require('../chunk-WPVIOGDG.cjs');
|
|
14
|
+
var chunkU6MPHCEB_cjs = require('../chunk-U6MPHCEB.cjs');
|
|
14
15
|
var chunk2A4MDHJR_cjs = require('../chunk-2A4MDHJR.cjs');
|
|
15
16
|
require('../chunk-RC25WMVB.cjs');
|
|
16
|
-
var
|
|
17
|
+
var chunkQVBZESYQ_cjs = require('../chunk-QVBZESYQ.cjs');
|
|
18
|
+
require('../chunk-ADOKTJHV.cjs');
|
|
19
|
+
var chunkXSUOEJB3_cjs = require('../chunk-XSUOEJB3.cjs');
|
|
20
|
+
require('../chunk-7D737FLE.cjs');
|
|
17
21
|
var chunkN26CXGXC_cjs = require('../chunk-N26CXGXC.cjs');
|
|
18
|
-
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
19
22
|
require('../chunk-DETZZBG2.cjs');
|
|
20
23
|
require('../chunk-32HW2Q33.cjs');
|
|
21
24
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
22
|
-
require('../chunk-
|
|
23
|
-
var
|
|
24
|
-
require('../chunk-
|
|
25
|
-
var
|
|
25
|
+
require('../chunk-C2CWWEHO.cjs');
|
|
26
|
+
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
27
|
+
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
28
|
+
var chunkVP4KJ4LK_cjs = require('../chunk-VP4KJ4LK.cjs');
|
|
26
29
|
require('../chunk-VGOFFCMT.cjs');
|
|
27
30
|
require('../chunk-B4SRYJLM.cjs');
|
|
28
31
|
require('../chunk-7UTB4PHM.cjs');
|
|
29
|
-
require('../chunk-PPCATBOY.cjs');
|
|
30
|
-
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
31
|
-
var chunkU6MPHCEB_cjs = require('../chunk-U6MPHCEB.cjs');
|
|
32
|
-
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
33
|
-
require('../chunk-C2CWWEHO.cjs');
|
|
34
32
|
require('../chunk-FX3K6LNZ.cjs');
|
|
33
|
+
require('../chunk-PPCATBOY.cjs');
|
|
35
34
|
require('../chunk-MHVNT4J3.cjs');
|
|
35
|
+
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
36
36
|
require('../chunk-DES3K4SD.cjs');
|
|
37
37
|
var react = require('react');
|
|
38
38
|
var reactQuery = require('@tanstack/react-query');
|
|
@@ -122,7 +122,7 @@ function ConnectedWorkspaceActivity({
|
|
|
122
122
|
[feed.data]
|
|
123
123
|
);
|
|
124
124
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
125
|
-
|
|
125
|
+
chunkWPVIOGDG_cjs.WorkspaceActivityList,
|
|
126
126
|
{
|
|
127
127
|
...listProps,
|
|
128
128
|
items,
|
|
@@ -148,7 +148,7 @@ function ConnectedWorkspaceNotificationMenu({
|
|
|
148
148
|
});
|
|
149
149
|
if (!workspaceId) return null;
|
|
150
150
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
151
|
-
|
|
151
|
+
chunkWPVIOGDG_cjs.WorkspaceNotificationMenu,
|
|
152
152
|
{
|
|
153
153
|
...menuProps,
|
|
154
154
|
level,
|
|
@@ -167,7 +167,7 @@ function ConnectedThreadFollow({
|
|
|
167
167
|
enabled: status === "authenticated"
|
|
168
168
|
});
|
|
169
169
|
if (!conversationId) return null;
|
|
170
|
-
const Control = as === "menu-item" ?
|
|
170
|
+
const Control = as === "menu-item" ? chunkWPVIOGDG_cjs.ThreadFollowMenuItem : chunkWPVIOGDG_cjs.ThreadFollowButton;
|
|
171
171
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
172
172
|
Control,
|
|
173
173
|
{
|
|
@@ -293,7 +293,7 @@ function StreamedArtifact({
|
|
|
293
293
|
}
|
|
294
294
|
var STARTING = /* @__PURE__ */ new Set(["pending", "running"]);
|
|
295
295
|
function formValues(step, inputs) {
|
|
296
|
-
const fields =
|
|
296
|
+
const fields = chunkXSUOEJB3_cjs.stepFields(step);
|
|
297
297
|
if (!fields.length) return void 0;
|
|
298
298
|
if (step.kind === "form")
|
|
299
299
|
return Object.fromEntries(fields.map((f) => [f.name, inputs[f.name] ?? ""]));
|
|
@@ -328,10 +328,10 @@ function useAnswerRetry(missing, refetch) {
|
|
|
328
328
|
function useWorkflowThread(workflow, options = {}) {
|
|
329
329
|
const arbi = react$1.useArbi();
|
|
330
330
|
const { ensureWorkspaceOpen, status } = chunkMUMH3Z6K_cjs.useConnection();
|
|
331
|
-
const { wsId } =
|
|
331
|
+
const { wsId } = chunk2UAJVK3C_cjs.useWorkspaceDocs();
|
|
332
332
|
const [threadId, setThreadId] = react.useState(options.conversationId);
|
|
333
333
|
const [localInputs, setLocalInputs] = react.useState(
|
|
334
|
-
() =>
|
|
334
|
+
() => chunkXSUOEJB3_cjs.initialRunInputs(workflow, options.initialInputs)
|
|
335
335
|
);
|
|
336
336
|
const [edits, setEdits] = react.useState({});
|
|
337
337
|
const [localStates, setLocalStates] = react.useState({});
|
|
@@ -351,12 +351,12 @@ function useWorkflowThread(workflow, options = {}) {
|
|
|
351
351
|
);
|
|
352
352
|
const conversation = conversations.data?.find((c) => c.external_id === threadId);
|
|
353
353
|
const steps = react.useMemo(
|
|
354
|
-
() =>
|
|
354
|
+
() => chunkXSUOEJB3_cjs.workflowSteps(workflow).length > 0 ? chunkXSUOEJB3_cjs.workflowSteps(workflow) : chunkXSUOEJB3_cjs.fromPlanSteps(conversation?.plan?.steps ?? []),
|
|
355
355
|
[workflow, conversation?.plan?.steps]
|
|
356
356
|
);
|
|
357
357
|
const activity = react$1.useConversationActivity(threadId, { live: !!threadId });
|
|
358
358
|
const serverStates = react.useMemo(
|
|
359
|
-
() =>
|
|
359
|
+
() => chunkXSUOEJB3_cjs.stepStatesFromActivity(activity.data ?? []),
|
|
360
360
|
[activity.data]
|
|
361
361
|
);
|
|
362
362
|
const working = steps.some(
|
|
@@ -399,7 +399,7 @@ function useWorkflowThread(workflow, options = {}) {
|
|
|
399
399
|
async (values, done) => {
|
|
400
400
|
await ensureWorkspaceOpen();
|
|
401
401
|
const created = await createWork.mutateAsync({
|
|
402
|
-
title:
|
|
402
|
+
title: chunkXSUOEJB3_cjs.runThreadTitle(workflow, values).slice(0, 60),
|
|
403
403
|
description: workflow.description || null,
|
|
404
404
|
prompt: null,
|
|
405
405
|
skill_ref: null,
|
|
@@ -411,7 +411,7 @@ function useWorkflowThread(workflow, options = {}) {
|
|
|
411
411
|
criteria: [],
|
|
412
412
|
max_passes: 3,
|
|
413
413
|
documents: [],
|
|
414
|
-
steps:
|
|
414
|
+
steps: chunkXSUOEJB3_cjs.toPlanSteps(workflow, {
|
|
415
415
|
inputs: values,
|
|
416
416
|
resolveWorkflow: options.resolveWorkflow,
|
|
417
417
|
compose: options.compose
|
|
@@ -498,7 +498,7 @@ function useWorkflowThread(workflow, options = {}) {
|
|
|
498
498
|
const anyRunning = Object.values(states).some((s) => s.status === "running");
|
|
499
499
|
const needsStart = !threadId || idle && !anyRunning;
|
|
500
500
|
const runError = idle ? conversation?.last_error ?? null : null;
|
|
501
|
-
const view =
|
|
501
|
+
const view = chunkXSUOEJB3_cjs.useWorkflowView({
|
|
502
502
|
steps,
|
|
503
503
|
states,
|
|
504
504
|
inputs,
|
|
@@ -541,7 +541,7 @@ function WorkflowRunThread({
|
|
|
541
541
|
if (listed && activeThreadId !== conversationId) selectThread(conversationId);
|
|
542
542
|
}, [listed, activeThreadId, conversationId, selectThread]);
|
|
543
543
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
544
|
-
|
|
544
|
+
chunkVP4KJ4LK_cjs.ChatPage,
|
|
545
545
|
{
|
|
546
546
|
chat: { ...chat, threads: chat.threads.filter((t) => t.id === conversationId) },
|
|
547
547
|
singleThread: true,
|
|
@@ -579,7 +579,7 @@ function WorkflowSignDialog({
|
|
|
579
579
|
const arbi = react$1.useArbi();
|
|
580
580
|
const { user, ensureWorkspaceOpen } = chunkMUMH3Z6K_cjs.useConnection();
|
|
581
581
|
const tools = documentTools.useOptionalDocumentTools();
|
|
582
|
-
const { id, version: stepVersion } =
|
|
582
|
+
const { id, version: stepVersion } = chunkXSUOEJB3_cjs.splitDocRef(docRef);
|
|
583
583
|
const [version, setVersion] = react.useState(stepVersion);
|
|
584
584
|
const [pdf, setPdf] = react.useState(null);
|
|
585
585
|
const [preparing, setPreparing] = react.useState(false);
|
|
@@ -657,7 +657,7 @@ function WorkflowWordDialog({
|
|
|
657
657
|
onClose,
|
|
658
658
|
labels
|
|
659
659
|
}) {
|
|
660
|
-
const { id } =
|
|
660
|
+
const { id } = chunkXSUOEJB3_cjs.splitDocRef(docRef);
|
|
661
661
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
662
662
|
chunkULWRNGGE_cjs.ModalScaffold,
|
|
663
663
|
{
|
|
@@ -666,7 +666,7 @@ function WorkflowWordDialog({
|
|
|
666
666
|
title: title ?? labels.wordTitle,
|
|
667
667
|
size: "xl",
|
|
668
668
|
testId: "workflow-word-dialog",
|
|
669
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalScaffold.Body, { className: "h-[70dvh] p-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
669
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalScaffold.Body, { className: "h-[70dvh] p-0", children: /* @__PURE__ */ jsxRuntime.jsx(chunkTF47ATYS_cjs.ConnectedNativeDocxEditor, { documentId: id, title: title ?? labels.wordTitle }) })
|
|
670
670
|
}
|
|
671
671
|
);
|
|
672
672
|
}
|
|
@@ -806,7 +806,7 @@ function ConnectedWorkflowRunner({
|
|
|
806
806
|
const dl = { ...DEFAULT_WORKFLOW_RUNNER_DIALOG_LABELS, ...dialogLabels };
|
|
807
807
|
const arbi = react$1.useArbi();
|
|
808
808
|
const { ensureWorkspaceOpen, user } = chunkMUMH3Z6K_cjs.useConnection();
|
|
809
|
-
const { wsId } =
|
|
809
|
+
const { wsId } = chunk2UAJVK3C_cjs.useWorkspaceDocs();
|
|
810
810
|
const { data: docs = [], refetch } = react$1.useDocuments(wsId);
|
|
811
811
|
const [sending, setSending] = react.useState([]);
|
|
812
812
|
const [added, setAdded] = react.useState({});
|
|
@@ -829,7 +829,7 @@ function ConnectedWorkflowRunner({
|
|
|
829
829
|
() => ({
|
|
830
830
|
me: user?.externalId,
|
|
831
831
|
openDocument: onOpenDocument && ((ref) => {
|
|
832
|
-
const { id, version } =
|
|
832
|
+
const { id, version } = chunkXSUOEJB3_cjs.splitDocRef(ref);
|
|
833
833
|
onOpenDocument(id, version);
|
|
834
834
|
}),
|
|
835
835
|
openDraft: onOpenDraft && ((draftId) => onOpenDraft(draftId)),
|
|
@@ -839,7 +839,7 @@ function ConnectedWorkflowRunner({
|
|
|
839
839
|
const w = state.waiting;
|
|
840
840
|
if (w?.doc_ext_id) setDialog({ kind: "sign", docRef: w.doc_ext_id });
|
|
841
841
|
}),
|
|
842
|
-
openRedline: hostActions?.openRedline ?? ((ref) => setDialog({ kind: "word", docRef: ref, title: nameOfDoc(
|
|
842
|
+
openRedline: hostActions?.openRedline ?? ((ref) => setDialog({ kind: "word", docRef: ref, title: nameOfDoc(chunkXSUOEJB3_cjs.splitDocRef(ref).id) ?? "" })),
|
|
843
843
|
openReview: hostActions?.openReview ?? ((tags, documents) => setDialog({ kind: "review", tags, documents }))
|
|
844
844
|
}),
|
|
845
845
|
[user?.externalId, onOpenDocument, onOpenDraft, onOpenMessage, hostActions, nameOfDoc, inThread]
|
|
@@ -975,7 +975,7 @@ function ConnectedWorkflowRunner({
|
|
|
975
975
|
);
|
|
976
976
|
};
|
|
977
977
|
const runner = (compact) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
978
|
-
|
|
978
|
+
chunkXSUOEJB3_cjs.WorkflowRunner,
|
|
979
979
|
{
|
|
980
980
|
people,
|
|
981
981
|
...runnerProps,
|
|
@@ -1021,10 +1021,10 @@ function ConnectedWorkflowRunner({
|
|
|
1021
1021
|
) }),
|
|
1022
1022
|
inThread && conversationId ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1023
1023
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1024
|
-
|
|
1024
|
+
chunkXSUOEJB3_cjs.WorkflowStepBar,
|
|
1025
1025
|
{
|
|
1026
1026
|
run: view,
|
|
1027
|
-
levels:
|
|
1027
|
+
levels: chunkXSUOEJB3_cjs.stepLevels(view.steps),
|
|
1028
1028
|
doneTitle: (workflow.run.kind === "steps" ? workflow.run.completion?.title : void 0) ?? runnerProps.labels?.complete ?? "Done",
|
|
1029
1029
|
icon: (key) => key && runnerProps.renderIcon ? runnerProps.renderIcon(key) : void 0,
|
|
1030
1030
|
tid: (suffix) => `${testIdPrefix}-${suffix}`
|
|
@@ -1205,7 +1205,7 @@ function ConnectedTagTable({
|
|
|
1205
1205
|
const fail = (e) => setError(e instanceof Error ? e.message : String(e));
|
|
1206
1206
|
const snapshot = (data) => {
|
|
1207
1207
|
const title = exportTitle ?? KIND_TITLES[kind];
|
|
1208
|
-
const bytes =
|
|
1208
|
+
const bytes = chunkWPVIOGDG_cjs.tagTableDocx(data, {
|
|
1209
1209
|
title,
|
|
1210
1210
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
1211
1211
|
});
|
|
@@ -1215,7 +1215,7 @@ function ConnectedTagTable({
|
|
|
1215
1215
|
};
|
|
1216
1216
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
1217
1217
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1218
|
-
|
|
1218
|
+
chunkWPVIOGDG_cjs.TagTable,
|
|
1219
1219
|
{
|
|
1220
1220
|
...props,
|
|
1221
1221
|
table,
|
|
@@ -1353,12 +1353,12 @@ function ConnectedProfileCard({ notify: notify3, title = "Profile" }) {
|
|
|
1353
1353
|
}
|
|
1354
1354
|
});
|
|
1355
1355
|
const display = profile?.fullName || user?.name || "Unnamed";
|
|
1356
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1357
|
-
|
|
1356
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkOR4CO743_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserCircle, {}), title, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1357
|
+
chunkOR4CO743_cjs.ProfileCard,
|
|
1358
1358
|
{
|
|
1359
1359
|
avatar: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1360
1360
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1361
|
-
|
|
1361
|
+
chunkOR4CO743_cjs.AvatarPicker,
|
|
1362
1362
|
{
|
|
1363
1363
|
pictureUrl: profile?.picture ?? user?.picture,
|
|
1364
1364
|
initials: chunkKDG6FER6_cjs.initials(display),
|
|
@@ -1400,9 +1400,9 @@ function ConnectedIdentityVerification({
|
|
|
1400
1400
|
onNameAccepted: () => notify3?.("Name updated to match your ID", "success")
|
|
1401
1401
|
});
|
|
1402
1402
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1403
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1403
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkOR4CO743_cjs.IdentityVerificationCard, { flow, labels }),
|
|
1404
1404
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1405
|
-
|
|
1405
|
+
chunkOR4CO743_cjs.IdentityVerificationDialog,
|
|
1406
1406
|
{
|
|
1407
1407
|
flow,
|
|
1408
1408
|
accountName: profile?.fullName ?? "",
|
|
@@ -1414,7 +1414,7 @@ function ConnectedIdentityVerification({
|
|
|
1414
1414
|
function ConnectedRequireVerified({ children, labels }) {
|
|
1415
1415
|
const { data: profile } = react$1.useProfile();
|
|
1416
1416
|
const flow = react$1.useIdentityVerification();
|
|
1417
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1417
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkOR4CO743_cjs.RequireVerified, { flow, accountName: profile?.fullName ?? "", labels, children });
|
|
1418
1418
|
}
|
|
1419
1419
|
function defaultUnmetPasswordRequirement(password) {
|
|
1420
1420
|
if (password.length < 8) return "Minimum 8 characters";
|
|
@@ -1439,10 +1439,10 @@ function ConnectedSecuritySection({
|
|
|
1439
1439
|
},
|
|
1440
1440
|
onClose: () => setOpen(false)
|
|
1441
1441
|
});
|
|
1442
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1443
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1442
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkOR4CO743_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.KeyRound, {}), title: "Security", children: [
|
|
1443
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkOR4CO743_cjs.SettingsCard, { padding: "sm", children: [
|
|
1444
1444
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1445
|
-
|
|
1445
|
+
chunkOR4CO743_cjs.SettingsActionRow,
|
|
1446
1446
|
{
|
|
1447
1447
|
title: "Change password",
|
|
1448
1448
|
description: "Used to sign in and to unlock your account key. Changing it keeps everything readable and re-encrypts nothing.",
|
|
@@ -1453,7 +1453,7 @@ function ConnectedSecuritySection({
|
|
|
1453
1453
|
children
|
|
1454
1454
|
] }),
|
|
1455
1455
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1456
|
-
|
|
1456
|
+
chunkOR4CO743_cjs.PasswordChangeDialog,
|
|
1457
1457
|
{
|
|
1458
1458
|
open,
|
|
1459
1459
|
onClose: form.onCancel,
|
|
@@ -1476,23 +1476,23 @@ function ConnectedSecuritySection({
|
|
|
1476
1476
|
] });
|
|
1477
1477
|
}
|
|
1478
1478
|
function ConnectedNotificationPreferences({
|
|
1479
|
-
categories =
|
|
1479
|
+
categories = chunkOR4CO743_cjs.EMAIL_NOTIFICATION_CATEGORIES,
|
|
1480
1480
|
title = "Notifications"
|
|
1481
1481
|
}) {
|
|
1482
1482
|
const keys = react.useMemo(
|
|
1483
|
-
() => categories ===
|
|
1483
|
+
() => categories === chunkOR4CO743_cjs.EMAIL_NOTIFICATION_CATEGORIES ? chunkOR4CO743_cjs.EMAIL_NOTIFICATION_KEYS : categories.map((c) => c.key),
|
|
1484
1484
|
[categories]
|
|
1485
1485
|
);
|
|
1486
1486
|
const prefs = react$1.useNotificationPreferences(keys);
|
|
1487
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1488
|
-
|
|
1487
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkOR4CO743_cjs.SettingsSection, { title, children: /* @__PURE__ */ jsxRuntime.jsx(chunkOR4CO743_cjs.SettingsCard, { className: "space-y-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1488
|
+
chunkOR4CO743_cjs.NotificationCategoryList,
|
|
1489
1489
|
{
|
|
1490
1490
|
masterId: "emailNotifications",
|
|
1491
1491
|
masterTitle: "Email Notifications",
|
|
1492
1492
|
masterDescription: "Email me about activity when I\u2019m away",
|
|
1493
1493
|
masterChecked: prefs.masterChecked,
|
|
1494
1494
|
onMasterChange: prefs.setAll,
|
|
1495
|
-
categories:
|
|
1495
|
+
categories: chunkOR4CO743_cjs.toNotificationCategories(prefs.checked, categories),
|
|
1496
1496
|
onCategoryChange: prefs.setCategory
|
|
1497
1497
|
}
|
|
1498
1498
|
) }) });
|
|
@@ -1506,14 +1506,14 @@ function ConnectedSessionsRow({
|
|
|
1506
1506
|
const sessions = react$1.useSessions({ enabled: open });
|
|
1507
1507
|
const currentSessionId = react$1.useCurrentSessionId();
|
|
1508
1508
|
const terminate = react$1.useTerminateSession();
|
|
1509
|
-
const views =
|
|
1509
|
+
const views = chunkOR4CO743_cjs.toActiveSessionViews(sessions.data ?? [], {
|
|
1510
1510
|
currentSessionId,
|
|
1511
1511
|
terminatingId: terminate.isPending ? terminate.variables : null,
|
|
1512
1512
|
renderIcon: renderSessionIcon
|
|
1513
1513
|
});
|
|
1514
1514
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1515
1515
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1516
|
-
|
|
1516
|
+
chunkOR4CO743_cjs.SettingsRow,
|
|
1517
1517
|
{
|
|
1518
1518
|
label: "Active sessions",
|
|
1519
1519
|
description: "Devices and agents currently signed in to your account.",
|
|
@@ -1535,7 +1535,7 @@ function ConnectedSessionsRow({
|
|
|
1535
1535
|
}
|
|
1536
1536
|
),
|
|
1537
1537
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1538
|
-
|
|
1538
|
+
chunkOR4CO743_cjs.ActiveSessionsDialog,
|
|
1539
1539
|
{
|
|
1540
1540
|
open,
|
|
1541
1541
|
onOpenChange: setOpen,
|
|
@@ -1570,7 +1570,7 @@ function ConnectedLogoutDialog({
|
|
|
1570
1570
|
const sessions = react$1.useSessions({ enabled: open });
|
|
1571
1571
|
const logoutAll = react$1.useLogoutAllSessions();
|
|
1572
1572
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1573
|
-
|
|
1573
|
+
chunkOR4CO743_cjs.LogoutDialog,
|
|
1574
1574
|
{
|
|
1575
1575
|
open,
|
|
1576
1576
|
onClose,
|
|
@@ -1584,7 +1584,7 @@ function ConnectedLogoutDialog({
|
|
|
1584
1584
|
},
|
|
1585
1585
|
canLogoutAll: true,
|
|
1586
1586
|
isOnline,
|
|
1587
|
-
sessions:
|
|
1587
|
+
sessions: chunkOR4CO743_cjs.toLogoutSessionViews(sessions.data ?? []),
|
|
1588
1588
|
renderSessionIcon
|
|
1589
1589
|
}
|
|
1590
1590
|
);
|
|
@@ -1603,7 +1603,7 @@ function ConnectedDangerZone({ notify: notify3, renderSubscriptionLink }) {
|
|
|
1603
1603
|
});
|
|
1604
1604
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1605
1605
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1606
|
-
|
|
1606
|
+
chunkOR4CO743_cjs.SettingsDangerZone,
|
|
1607
1607
|
{
|
|
1608
1608
|
isOpen: zoneOpen,
|
|
1609
1609
|
onToggle: () => setZoneOpen((o) => !o),
|
|
@@ -1623,12 +1623,12 @@ function ConnectedDangerZone({ notify: notify3, renderSubscriptionLink }) {
|
|
|
1623
1623
|
}
|
|
1624
1624
|
),
|
|
1625
1625
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1626
|
-
|
|
1626
|
+
chunkOR4CO743_cjs.DeleteAccountDialog,
|
|
1627
1627
|
{
|
|
1628
1628
|
open: dialogOpen,
|
|
1629
1629
|
onClose: flow.onClose,
|
|
1630
1630
|
step: flow.step,
|
|
1631
|
-
blockers:
|
|
1631
|
+
blockers: chunkOR4CO743_cjs.toDeleteBlockerViews(flow.blockers, renderSubscriptionLink),
|
|
1632
1632
|
onContinue: flow.onContinue,
|
|
1633
1633
|
onBack: flow.onBack,
|
|
1634
1634
|
userEmail: user?.email ?? "",
|
|
@@ -2147,7 +2147,7 @@ var MailBodyEditor = react.lazy(
|
|
|
2147
2147
|
}))
|
|
2148
2148
|
);
|
|
2149
2149
|
var NativeDocxEditor = react.lazy(
|
|
2150
|
-
() => import('../NativeDocxEditor-
|
|
2150
|
+
() => import('../NativeDocxEditor-AQKRZBIU.cjs').then((m) => ({ default: m.NativeDocxEditor }))
|
|
2151
2151
|
);
|
|
2152
2152
|
var NO_WORD = {
|
|
2153
2153
|
adapter: {
|
|
@@ -3638,7 +3638,7 @@ function ConnectedMailMessage({
|
|
|
3638
3638
|
function ActiveChat({ agentId, workspaceId }) {
|
|
3639
3639
|
const chat = react$1.useArbiChat({ agentId, workspaceId });
|
|
3640
3640
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3641
|
-
|
|
3641
|
+
chunkVP4KJ4LK_cjs.ChatPage,
|
|
3642
3642
|
{
|
|
3643
3643
|
chat: { ...chat, assistantMode: void 0, setAssistantMode: void 0 },
|
|
3644
3644
|
documentsRequired: false,
|
|
@@ -3700,35 +3700,35 @@ function ConnectedAgentChatPanel({
|
|
|
3700
3700
|
|
|
3701
3701
|
Object.defineProperty(exports, "ConnectedAssistantDock", {
|
|
3702
3702
|
enumerable: true,
|
|
3703
|
-
get: function () { return
|
|
3703
|
+
get: function () { return chunk2UAJVK3C_cjs.ConnectedAssistantDock; }
|
|
3704
3704
|
});
|
|
3705
3705
|
Object.defineProperty(exports, "redlineStats", {
|
|
3706
3706
|
enumerable: true,
|
|
3707
|
-
get: function () { return
|
|
3707
|
+
get: function () { return chunk2UAJVK3C_cjs.redlineStats; }
|
|
3708
3708
|
});
|
|
3709
3709
|
Object.defineProperty(exports, "textToArtifact", {
|
|
3710
3710
|
enumerable: true,
|
|
3711
|
-
get: function () { return
|
|
3711
|
+
get: function () { return chunk2UAJVK3C_cjs.textToArtifact; }
|
|
3712
3712
|
});
|
|
3713
3713
|
Object.defineProperty(exports, "toRedlineMarkdown", {
|
|
3714
3714
|
enumerable: true,
|
|
3715
|
-
get: function () { return
|
|
3715
|
+
get: function () { return chunk2UAJVK3C_cjs.toRedlineMarkdown; }
|
|
3716
3716
|
});
|
|
3717
3717
|
Object.defineProperty(exports, "useConnectedAiTask", {
|
|
3718
3718
|
enumerable: true,
|
|
3719
|
-
get: function () { return
|
|
3719
|
+
get: function () { return chunk2UAJVK3C_cjs.useConnectedAiTask; }
|
|
3720
3720
|
});
|
|
3721
3721
|
Object.defineProperty(exports, "useConnectedChat", {
|
|
3722
3722
|
enumerable: true,
|
|
3723
|
-
get: function () { return
|
|
3723
|
+
get: function () { return chunk2UAJVK3C_cjs.useConnectedChat; }
|
|
3724
3724
|
});
|
|
3725
3725
|
Object.defineProperty(exports, "useSemanticSearch", {
|
|
3726
3726
|
enumerable: true,
|
|
3727
|
-
get: function () { return
|
|
3727
|
+
get: function () { return chunk2UAJVK3C_cjs.useSemanticSearch; }
|
|
3728
3728
|
});
|
|
3729
3729
|
Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
3730
3730
|
enumerable: true,
|
|
3731
|
-
get: function () { return
|
|
3731
|
+
get: function () { return chunk2UAJVK3C_cjs.useWorkspaceDocs; }
|
|
3732
3732
|
});
|
|
3733
3733
|
Object.defineProperty(exports, "ConnectionProvider", {
|
|
3734
3734
|
enumerable: true,
|
package/dist/connect/index.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-
|
|
3
|
-
import { useWorkspaceDocs } from '../chunk-
|
|
4
|
-
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-
|
|
5
|
-
import { ConnectedNativeDocxEditor } from '../chunk-
|
|
2
|
+
import { SettingsSection, ProfileCard, AvatarPicker, IdentityVerificationCard, IdentityVerificationDialog, RequireVerified, SettingsCard, SettingsActionRow, PasswordChangeDialog, EMAIL_NOTIFICATION_KEYS, EMAIL_NOTIFICATION_CATEGORIES, NotificationCategoryList, toNotificationCategories, toActiveSessionViews, SettingsRow, ActiveSessionsDialog, LogoutDialog, toLogoutSessionViews, SettingsDangerZone, DeleteAccountDialog, toDeleteBlockerViews } from '../chunk-GFYGYME3.js';
|
|
3
|
+
import { useWorkspaceDocs } from '../chunk-CXZ7FPTQ.js';
|
|
4
|
+
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-CXZ7FPTQ.js';
|
|
5
|
+
import { ConnectedNativeDocxEditor } from '../chunk-Q6B77ZWZ.js';
|
|
6
6
|
import { ConnectionProvider, useConnection } from '../chunk-OYMWV45N.js';
|
|
7
7
|
export { ConnectionProvider, SESSION_EXPIRED_MESSAGE, isAuthenticated, useConnection } from '../chunk-OYMWV45N.js';
|
|
8
8
|
import { SignDocumentDialog } from '../chunk-2YOVK524.js';
|
|
9
9
|
import '../chunk-GYAUJ4KT.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-2C7TCVQZ.js';
|
|
11
11
|
import '../chunk-HFZ45FD3.js';
|
|
12
12
|
import { FilesFilterBar, FolderFilterButton, FolderPickerRow } from '../chunk-7RJTEWYM.js';
|
|
13
|
-
import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx } from '../chunk-
|
|
13
|
+
import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx } from '../chunk-CECWAIHL.js';
|
|
14
|
+
import { PlainMailBodyEditor, draftMailCompose, replyMailCompose, emptyMailCompose, MailGrid, MailMessageView, MailDocumentPicker, parseMailRecipients } from '../chunk-IXTQYFIF.js';
|
|
14
15
|
import { DOCX_MIME_TYPE } from '../chunk-EPHGD4YV.js';
|
|
15
16
|
import '../chunk-AF6RDAJF.js';
|
|
16
|
-
import {
|
|
17
|
+
import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
18
|
+
import '../chunk-VILAPTCB.js';
|
|
19
|
+
import { splitDocRef, WorkflowStepBar, stepLevels, WorkflowRunner, initialRunInputs, workflowSteps, fromPlanSteps, stepStatesFromActivity, toPlanSteps, runThreadTitle, useWorkflowView, stepFields } from '../chunk-AY32GGKU.js';
|
|
20
|
+
import '../chunk-XD2M6LIG.js';
|
|
17
21
|
import { TriStateFilterMenu } from '../chunk-6S5FLMWG.js';
|
|
18
|
-
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
19
22
|
import '../chunk-EVUEIBNU.js';
|
|
20
23
|
import '../chunk-AUS3KBHJ.js';
|
|
21
24
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
22
|
-
import '../chunk-
|
|
23
|
-
import {
|
|
24
|
-
import '../chunk-
|
|
25
|
-
import { ChatPage } from '../chunk-
|
|
25
|
+
import '../chunk-N5YEF3LC.js';
|
|
26
|
+
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
27
|
+
import { ModalScaffold } from '../chunk-TX2ZICS7.js';
|
|
28
|
+
import { ChatPage } from '../chunk-NRUPUDWB.js';
|
|
26
29
|
import '../chunk-KZJAG7T3.js';
|
|
27
30
|
import '../chunk-HOXKR26S.js';
|
|
28
31
|
import '../chunk-AA3PT6KR.js';
|
|
29
|
-
import '../chunk-NPLYHR2E.js';
|
|
30
|
-
import { initials } from '../chunk-OXF2IFXG.js';
|
|
31
|
-
import { PlainMailBodyEditor, draftMailCompose, replyMailCompose, emptyMailCompose, MailGrid, MailMessageView, MailDocumentPicker, parseMailRecipients } from '../chunk-IXTQYFIF.js';
|
|
32
|
-
import { ModalScaffold } from '../chunk-TX2ZICS7.js';
|
|
33
|
-
import '../chunk-N5YEF3LC.js';
|
|
34
32
|
import '../chunk-SLSBJRWW.js';
|
|
33
|
+
import '../chunk-NPLYHR2E.js';
|
|
35
34
|
import '../chunk-7F6CBP3Z.js';
|
|
35
|
+
import { initials } from '../chunk-OXF2IFXG.js';
|
|
36
36
|
import '../chunk-VUNV25KB.js';
|
|
37
37
|
import { lazy, useState, useMemo, Suspense, useEffect, useRef, useCallback, useLayoutEffect } from 'react';
|
|
38
38
|
import { QueryClient, QueryClientProvider, useQueryClient, useQuery } from '@tanstack/react-query';
|
|
@@ -2147,7 +2147,7 @@ var MailBodyEditor = lazy(
|
|
|
2147
2147
|
}))
|
|
2148
2148
|
);
|
|
2149
2149
|
var NativeDocxEditor = lazy(
|
|
2150
|
-
() => import('../NativeDocxEditor-
|
|
2150
|
+
() => import('../NativeDocxEditor-IN2HEO5I.js').then((m) => ({ default: m.NativeDocxEditor }))
|
|
2151
2151
|
);
|
|
2152
2152
|
var NO_WORD = {
|
|
2153
2153
|
adapter: {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type * as Y from 'yjs';
|
|
2
|
+
/** The collaboration room's document, where the undo records live (none outside a room). */
|
|
3
|
+
export declare const AgentUndoRoom: import("react").Context<Y.Doc | null>;
|
|
4
|
+
export declare function AgentUndo(): import("react").JSX.Element | null;
|