@arbidocs/blocks 0.4.107 → 0.4.109
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-3VKJT43D.js → NativeDocxEditor-4PY4YZYC.js} +3 -3
- package/dist/{NativeDocxEditor-3VKJT43D.js.map → NativeDocxEditor-4PY4YZYC.js.map} +1 -1
- package/dist/{NativeDocxEditor-GNG5QV7V.cjs → NativeDocxEditor-WODZAURG.cjs} +7 -7
- package/dist/{NativeDocxEditor-GNG5QV7V.cjs.map → NativeDocxEditor-WODZAURG.cjs.map} +1 -1
- package/dist/agents/index.cjs +210 -210
- package/dist/agents/index.js +5 -5
- package/dist/chat/index.cjs +125 -125
- package/dist/chat/index.js +3 -3
- package/dist/{chunk-BHKFENKT.cjs → chunk-2NIL2ASF.cjs} +39 -295
- package/dist/chunk-2NIL2ASF.cjs.map +1 -0
- package/dist/{chunk-FZGMY6NQ.cjs → chunk-54WBIVHV.cjs} +5 -5
- package/dist/{chunk-FZGMY6NQ.cjs.map → chunk-54WBIVHV.cjs.map} +1 -1
- package/dist/{chunk-OR4CO743.cjs → chunk-5YXG342J.cjs} +3 -3
- package/dist/{chunk-OR4CO743.cjs.map → chunk-5YXG342J.cjs.map} +1 -1
- package/dist/{chunk-IXALYQT7.cjs → chunk-C2CWWEHO.cjs} +2 -2
- package/dist/chunk-C2CWWEHO.cjs.map +1 -0
- package/dist/{chunk-P5ST47VY.js → chunk-DDF5GPIJ.js} +3 -3
- package/dist/{chunk-P5ST47VY.js.map → chunk-DDF5GPIJ.js.map} +1 -1
- package/dist/{chunk-XQKGYGCJ.js → chunk-DQCYCEDR.js} +3 -3
- package/dist/{chunk-XQKGYGCJ.js.map → chunk-DQCYCEDR.js.map} +1 -1
- package/dist/{chunk-Q57MEBCK.cjs → chunk-ELDUWTRR.cjs} +4 -4
- package/dist/{chunk-Q57MEBCK.cjs.map → chunk-ELDUWTRR.cjs.map} +1 -1
- package/dist/{chunk-EB7QAZLH.js → chunk-FQX6N5G6.js} +8 -7
- package/dist/chunk-FQX6N5G6.js.map +1 -0
- package/dist/{chunk-R6APX23R.cjs → chunk-GBYY3PIC.cjs} +18 -17
- package/dist/chunk-GBYY3PIC.cjs.map +1 -0
- package/dist/{chunk-2SJTXYRM.js → chunk-GKDWQLVU.js} +14 -275
- package/dist/chunk-GKDWQLVU.js.map +1 -0
- package/dist/{chunk-RILMICOP.cjs → chunk-I4XQCE6U.cjs} +5 -5
- package/dist/{chunk-RILMICOP.cjs.map → chunk-I4XQCE6U.cjs.map} +1 -1
- package/dist/{chunk-P2KPDPFF.js → chunk-IXTQYFIF.js} +23 -15
- package/dist/chunk-IXTQYFIF.js.map +1 -0
- package/dist/{chunk-2PYENCW5.js → chunk-JB32KYAH.js} +3 -3
- package/dist/{chunk-2PYENCW5.js.map → chunk-JB32KYAH.js.map} +1 -1
- package/dist/{chunk-PBS5MFIY.cjs → chunk-JK45LSIH.cjs} +3 -3
- package/dist/{chunk-PBS5MFIY.cjs.map → chunk-JK45LSIH.cjs.map} +1 -1
- package/dist/{chunk-ZPLG7QYF.js → chunk-N5YEF3LC.js} +2 -2
- package/dist/chunk-N5YEF3LC.js.map +1 -0
- package/dist/{chunk-PFA43QNX.js → chunk-NUTLXVPX.js} +4 -3
- package/dist/chunk-NUTLXVPX.js.map +1 -0
- package/dist/{chunk-O5NDG4EA.cjs → chunk-PDRYGPZB.cjs} +4 -3
- package/dist/chunk-PDRYGPZB.cjs.map +1 -0
- package/dist/{chunk-LHBJJ2GE.js → chunk-PEHLUB52.js} +3 -3
- package/dist/{chunk-LHBJJ2GE.js.map → chunk-PEHLUB52.js.map} +1 -1
- package/dist/{chunk-HUJLKDWX.cjs → chunk-QKWQMOHN.cjs} +4 -4
- package/dist/{chunk-HUJLKDWX.cjs.map → chunk-QKWQMOHN.cjs.map} +1 -1
- package/dist/{chunk-DTBSGG36.cjs → chunk-U6MPHCEB.cjs} +24 -16
- package/dist/chunk-U6MPHCEB.cjs.map +1 -0
- package/dist/{chunk-WDD255XQ.js → chunk-UABPHZWZ.js} +3 -3
- package/dist/{chunk-WDD255XQ.js.map → chunk-UABPHZWZ.js.map} +1 -1
- package/dist/{chunk-GFYGYME3.js → chunk-W7NZRZ54.js} +3 -3
- package/dist/{chunk-GFYGYME3.js.map → chunk-W7NZRZ54.js.map} +1 -1
- package/dist/{chunk-ZV3BKLFY.cjs → chunk-Z5VUZ6YD.cjs} +3 -3
- package/dist/{chunk-ZV3BKLFY.cjs.map → chunk-Z5VUZ6YD.cjs.map} +1 -1
- package/dist/{chunk-7NLPKJV5.js → chunk-ZSV2NQQP.js} +3 -3
- package/dist/{chunk-7NLPKJV5.js.map → chunk-ZSV2NQQP.js.map} +1 -1
- package/dist/citations/index.cjs +10 -10
- package/dist/citations/index.js +1 -1
- package/dist/collaboration/index.cjs +16 -16
- 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 +62 -62
- package/dist/connect/index.js +10 -10
- package/dist/databases/index.cjs +2 -2
- package/dist/databases/index.js +1 -1
- package/dist/docx/definitions/fragment.d.ts +2 -6
- package/dist/docx/definitions/port.d.ts +2 -57
- package/dist/docx/index.cjs +46 -46
- package/dist/docx/index.js +3 -3
- package/dist/docx/references/commands.d.ts +3 -31
- package/dist/docx/references/numbering.d.ts +3 -47
- package/dist/docx/template/HouseTemplate.d.ts +5 -0
- package/dist/facts/index.cjs +4 -4
- package/dist/facts/index.js +3 -3
- package/dist/files/GridView.d.ts +4 -1
- package/dist/files/TagPassagePanel.d.ts +2 -0
- package/dist/files/index.cjs +86 -76
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +86 -76
- package/dist/files/index.js.map +1 -1
- package/dist/home/index.cjs +17 -17
- package/dist/home/index.js +3 -3
- package/dist/index.cjs +508 -508
- package/dist/index.js +10 -10
- package/dist/retrieval/index.cjs +1 -1
- package/dist/retrieval/index.js +1 -1
- package/dist/settings/FirmPool.d.ts +45 -0
- package/dist/settings/index.cjs +132 -35
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.d.ts +1 -0
- package/dist/settings/index.js +97 -3
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/index.cjs +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/studio/index.cjs +4 -4
- package/dist/studio/index.js +3 -3
- package/dist/workflow-canvas/index.cjs +12 -12
- package/dist/workflow-canvas/index.js +5 -5
- package/dist/workspaces/index.cjs +3 -3
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.js +3 -3
- package/dist/workspaces/index.js.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/commands.cjs +356 -0
- package/node_modules/@arbidocs/coedit/dist/commands.cjs.map +1 -0
- package/node_modules/@arbidocs/coedit/dist/commands.d.cts +235 -0
- package/node_modules/@arbidocs/coedit/dist/commands.d.ts +235 -0
- package/node_modules/@arbidocs/coedit/dist/commands.js +338 -0
- package/node_modules/@arbidocs/coedit/dist/commands.js.map +1 -0
- package/node_modules/@arbidocs/coedit/package.json +6 -1
- package/package.json +4 -4
- package/dist/chunk-2SJTXYRM.js.map +0 -1
- package/dist/chunk-BHKFENKT.cjs.map +0 -1
- package/dist/chunk-DTBSGG36.cjs.map +0 -1
- package/dist/chunk-EB7QAZLH.js.map +0 -1
- package/dist/chunk-IXALYQT7.cjs.map +0 -1
- package/dist/chunk-O5NDG4EA.cjs.map +0 -1
- package/dist/chunk-P2KPDPFF.js.map +0 -1
- package/dist/chunk-PFA43QNX.js.map +0 -1
- package/dist/chunk-R6APX23R.cjs.map +0 -1
- package/dist/chunk-ZPLG7QYF.js.map +0 -1
package/dist/citations/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkJK45LSIH_cjs = require('../chunk-JK45LSIH.cjs');
|
|
5
5
|
require('../chunk-C54XEN5T.cjs');
|
|
6
6
|
require('../chunk-KDG6FER6.cjs');
|
|
7
7
|
require('../chunk-DES3K4SD.cjs');
|
|
@@ -10,39 +10,39 @@ require('../chunk-DES3K4SD.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "CitationEditor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkJK45LSIH_cjs.CitationEditor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "DEFAULT_PASSAGE_PILL_LABELS", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkJK45LSIH_cjs.DEFAULT_PASSAGE_PILL_LABELS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "DEFAULT_QUIET_MARK_LABELS", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkJK45LSIH_cjs.DEFAULT_QUIET_MARK_LABELS; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "LabelMark", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkJK45LSIH_cjs.LabelMark; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "NoteMark", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkJK45LSIH_cjs.NoteMark; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "PassageMark", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkJK45LSIH_cjs.PassageMark; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "PassagePill", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkJK45LSIH_cjs.PassagePill; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "QuietLink", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkJK45LSIH_cjs.QuietLink; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "useCopyText", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkJK45LSIH_cjs.useCopyText; }
|
|
46
46
|
});
|
|
47
47
|
//# sourceMappingURL=index.cjs.map
|
|
48
48
|
//# sourceMappingURL=index.cjs.map
|
package/dist/citations/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { CitationEditor, DEFAULT_PASSAGE_PILL_LABELS, DEFAULT_QUIET_MARK_LABELS, LabelMark, NoteMark, PassageMark, PassagePill, QuietLink, useCopyText } from '../chunk-
|
|
2
|
+
export { CitationEditor, DEFAULT_PASSAGE_PILL_LABELS, DEFAULT_QUIET_MARK_LABELS, LabelMark, NoteMark, PassageMark, PassagePill, QuietLink, useCopyText } from '../chunk-DQCYCEDR.js';
|
|
3
3
|
import '../chunk-76JDDMSP.js';
|
|
4
4
|
import '../chunk-OXF2IFXG.js';
|
|
5
5
|
import '../chunk-VUNV25KB.js';
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
var chunkC2HRZSAT_cjs = require('../chunk-C2HRZSAT.cjs');
|
|
5
5
|
require('../chunk-7G2LJMUG.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkU6MPHCEB_cjs = require('../chunk-U6MPHCEB.cjs');
|
|
7
7
|
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
8
8
|
require('../chunk-ULWRNGGE.cjs');
|
|
9
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-C2CWWEHO.cjs');
|
|
10
10
|
require('../chunk-FX3K6LNZ.cjs');
|
|
11
11
|
require('../chunk-MHVNT4J3.cjs');
|
|
12
12
|
require('../chunk-DES3K4SD.cjs');
|
|
@@ -175,59 +175,59 @@ Object.defineProperty(exports, "vCardFilename", {
|
|
|
175
175
|
});
|
|
176
176
|
Object.defineProperty(exports, "MailDeliveryBadge", {
|
|
177
177
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkU6MPHCEB_cjs.MailDeliveryBadge; }
|
|
179
179
|
});
|
|
180
180
|
Object.defineProperty(exports, "MailDeliveryList", {
|
|
181
181
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkU6MPHCEB_cjs.MailDeliveryList; }
|
|
183
183
|
});
|
|
184
184
|
Object.defineProperty(exports, "MailDocumentPicker", {
|
|
185
185
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkU6MPHCEB_cjs.MailDocumentPicker; }
|
|
187
187
|
});
|
|
188
188
|
Object.defineProperty(exports, "MailGrid", {
|
|
189
189
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkU6MPHCEB_cjs.MailGrid; }
|
|
191
191
|
});
|
|
192
192
|
Object.defineProperty(exports, "MailMessagePreview", {
|
|
193
193
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkU6MPHCEB_cjs.MailMessagePreview; }
|
|
195
195
|
});
|
|
196
196
|
Object.defineProperty(exports, "MailMessageView", {
|
|
197
197
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunkU6MPHCEB_cjs.MailMessageView; }
|
|
199
199
|
});
|
|
200
200
|
Object.defineProperty(exports, "NEEDS_CONNECTION", {
|
|
201
201
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunkU6MPHCEB_cjs.NEEDS_CONNECTION; }
|
|
203
203
|
});
|
|
204
204
|
Object.defineProperty(exports, "PlainMailBodyEditor", {
|
|
205
205
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
206
|
+
get: function () { return chunkU6MPHCEB_cjs.PlainMailBodyEditor; }
|
|
207
207
|
});
|
|
208
208
|
Object.defineProperty(exports, "draftMailCompose", {
|
|
209
209
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunkU6MPHCEB_cjs.draftMailCompose; }
|
|
211
211
|
});
|
|
212
212
|
Object.defineProperty(exports, "emptyMailCompose", {
|
|
213
213
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
214
|
+
get: function () { return chunkU6MPHCEB_cjs.emptyMailCompose; }
|
|
215
215
|
});
|
|
216
216
|
Object.defineProperty(exports, "hasCalendarPart", {
|
|
217
217
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
218
|
+
get: function () { return chunkU6MPHCEB_cjs.hasCalendarPart; }
|
|
219
219
|
});
|
|
220
220
|
Object.defineProperty(exports, "mailAddressLabel", {
|
|
221
221
|
enumerable: true,
|
|
222
|
-
get: function () { return
|
|
222
|
+
get: function () { return chunkU6MPHCEB_cjs.mailAddressLabel; }
|
|
223
223
|
});
|
|
224
224
|
Object.defineProperty(exports, "parseMailRecipients", {
|
|
225
225
|
enumerable: true,
|
|
226
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunkU6MPHCEB_cjs.parseMailRecipients; }
|
|
227
227
|
});
|
|
228
228
|
Object.defineProperty(exports, "replyMailCompose", {
|
|
229
229
|
enumerable: true,
|
|
230
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkU6MPHCEB_cjs.replyMailCompose; }
|
|
231
231
|
});
|
|
232
232
|
Object.defineProperty(exports, "DEFAULT_SHARE_CONTROL_LABELS", {
|
|
233
233
|
enumerable: true,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { ActionMenu, AddContactsForm, AddContactsResults, ContactCard, DEFAULT_ADD_CONTACTS_LABELS, DEFAULT_CONTACT_CARD_LABELS, DEFAULT_CONTACT_OUTCOME_LABELS, DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS, DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS, DEFAULT_DM_INVITE_CHIP_LABELS, DEFAULT_DM_THREAD_FRAME_LABELS, DEFAULT_MAIL_FOLDER_TREE_LABELS, DEFAULT_RECIPIENT_PICKER_LABELS, DmAccessRequestBanner, DmGrantAccessDialogView, DmInviteAvatar, DmInviteChip, DmNewTabIcon, DmThreadFrame, DmThreadHeader, MAX_INVITE_EMAILS, MailFolderTree, MemberBulkActions, MemberListLoading, MemberMutedText, MemberNameCell, MemberRoleCell, RecipientPicker, RoleSelect, WorkspaceDeleteButton, buildMailFolderTree, contactToVCard, descendantFolderIds, downloadVCard, isInboxFolder, parseEmails, toAddContactsRow, toAddContactsRows, toggleMailFolder, vCardFilename } from '../chunk-7C35WXYB.js';
|
|
3
3
|
import '../chunk-NBV56SGU.js';
|
|
4
|
-
export { MailDeliveryBadge, MailDeliveryList, MailDocumentPicker, MailGrid, MailMessagePreview, MailMessageView, NEEDS_CONNECTION, PlainMailBodyEditor, draftMailCompose, emptyMailCompose, hasCalendarPart, mailAddressLabel, parseMailRecipients, replyMailCompose } from '../chunk-
|
|
4
|
+
export { MailDeliveryBadge, MailDeliveryList, MailDocumentPicker, MailGrid, MailMessagePreview, MailMessageView, NEEDS_CONNECTION, PlainMailBodyEditor, draftMailCompose, emptyMailCompose, hasCalendarPart, mailAddressLabel, parseMailRecipients, replyMailCompose } from '../chunk-IXTQYFIF.js';
|
|
5
5
|
export { DEFAULT_SHARE_CONTROL_LABELS, ShareControl } from '../chunk-K4BGOPGG.js';
|
|
6
6
|
import '../chunk-TX2ZICS7.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-N5YEF3LC.js';
|
|
8
8
|
import '../chunk-SLSBJRWW.js';
|
|
9
9
|
import '../chunk-7F6CBP3Z.js';
|
|
10
10
|
import '../chunk-VUNV25KB.js';
|
package/dist/connect/docx.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkELDUWTRR_cjs = require('../chunk-ELDUWTRR.cjs');
|
|
5
5
|
require('../chunk-MUMH3Z6K.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunk54WBIVHV_cjs = require('../chunk-54WBIVHV.cjs');
|
|
7
7
|
require('../chunk-S24XEVPS.cjs');
|
|
8
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-2NIL2ASF.cjs');
|
|
9
9
|
require('../chunk-5FYU7ZIU.cjs');
|
|
10
10
|
require('../chunk-2A4MDHJR.cjs');
|
|
11
11
|
require('../chunk-RC25WMVB.cjs');
|
|
@@ -18,13 +18,13 @@ function ConnectedStreamedWordArtifact({
|
|
|
18
18
|
fontBaseUrl,
|
|
19
19
|
...props
|
|
20
20
|
}) {
|
|
21
|
-
const adapter =
|
|
22
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
21
|
+
const adapter = chunkELDUWTRR_cjs.useConnectedNativeDocxAdapter(fontBaseUrl);
|
|
22
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk54WBIVHV_cjs.StreamedWordArtifact, { ...props, adapter });
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
Object.defineProperty(exports, "ConnectedNativeDocxEditor", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkELDUWTRR_cjs.ConnectedNativeDocxEditor; }
|
|
28
28
|
});
|
|
29
29
|
exports.ConnectedStreamedWordArtifact = ConnectedStreamedWordArtifact;
|
|
30
30
|
//# sourceMappingURL=docx.cjs.map
|
package/dist/connect/docx.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useConnectedNativeDocxAdapter } from '../chunk-
|
|
3
|
-
export { ConnectedNativeDocxEditor } from '../chunk-
|
|
2
|
+
import { useConnectedNativeDocxAdapter } from '../chunk-PEHLUB52.js';
|
|
3
|
+
export { ConnectedNativeDocxEditor } from '../chunk-PEHLUB52.js';
|
|
4
4
|
import '../chunk-OYMWV45N.js';
|
|
5
|
-
import { StreamedWordArtifact } from '../chunk-
|
|
5
|
+
import { StreamedWordArtifact } from '../chunk-JB32KYAH.js';
|
|
6
6
|
import '../chunk-GYAUJ4KT.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-GKDWQLVU.js';
|
|
8
8
|
import '../chunk-HFZ45FD3.js';
|
|
9
9
|
import '../chunk-EPHGD4YV.js';
|
|
10
10
|
import '../chunk-AF6RDAJF.js';
|
package/dist/connect/index.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
4
|
+
var chunk5YXG342J_cjs = require('../chunk-5YXG342J.cjs');
|
|
5
|
+
var chunkQKWQMOHN_cjs = require('../chunk-QKWQMOHN.cjs');
|
|
6
|
+
var chunkELDUWTRR_cjs = require('../chunk-ELDUWTRR.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-2NIL2ASF.cjs');
|
|
11
11
|
require('../chunk-5FYU7ZIU.cjs');
|
|
12
12
|
var chunkO4YPVYPO_cjs = require('../chunk-O4YPVYPO.cjs');
|
|
13
13
|
var chunkSKSE4OT6_cjs = require('../chunk-SKSE4OT6.cjs');
|
|
@@ -22,17 +22,17 @@ var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
|
22
22
|
require('../chunk-7D737FLE.cjs');
|
|
23
23
|
var chunkQVBZESYQ_cjs = require('../chunk-QVBZESYQ.cjs');
|
|
24
24
|
require('../chunk-ADOKTJHV.cjs');
|
|
25
|
-
var
|
|
25
|
+
var chunkPDRYGPZB_cjs = require('../chunk-PDRYGPZB.cjs');
|
|
26
26
|
require('../chunk-VGOFFCMT.cjs');
|
|
27
27
|
require('../chunk-B4SRYJLM.cjs');
|
|
28
28
|
require('../chunk-7UTB4PHM.cjs');
|
|
29
29
|
require('../chunk-PPCATBOY.cjs');
|
|
30
|
-
var
|
|
30
|
+
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
31
|
+
var chunkU6MPHCEB_cjs = require('../chunk-U6MPHCEB.cjs');
|
|
31
32
|
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
32
|
-
require('../chunk-
|
|
33
|
+
require('../chunk-C2CWWEHO.cjs');
|
|
33
34
|
require('../chunk-FX3K6LNZ.cjs');
|
|
34
35
|
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');
|
|
@@ -328,7 +328,7 @@ 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 } = chunkQKWQMOHN_cjs.useWorkspaceDocs();
|
|
332
332
|
const [threadId, setThreadId] = react.useState(options.conversationId);
|
|
333
333
|
const [localInputs, setLocalInputs] = react.useState(
|
|
334
334
|
() => chunk3US5OIDQ_cjs.initialRunInputs(workflow, options.initialInputs)
|
|
@@ -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
|
+
chunkPDRYGPZB_cjs.ChatPage,
|
|
545
545
|
{
|
|
546
546
|
chat: { ...chat, threads: chat.threads.filter((t) => t.id === conversationId) },
|
|
547
547
|
singleThread: true,
|
|
@@ -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(chunkELDUWTRR_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 } = chunkQKWQMOHN_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({});
|
|
@@ -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(chunk5YXG342J_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.UserCircle, {}), title, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1357
|
+
chunk5YXG342J_cjs.ProfileCard,
|
|
1358
1358
|
{
|
|
1359
1359
|
avatar: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1360
1360
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1361
|
-
|
|
1361
|
+
chunk5YXG342J_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(chunk5YXG342J_cjs.IdentityVerificationCard, { flow, labels }),
|
|
1404
1404
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1405
|
-
|
|
1405
|
+
chunk5YXG342J_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(chunk5YXG342J_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(chunk5YXG342J_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.KeyRound, {}), title: "Security", children: [
|
|
1443
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk5YXG342J_cjs.SettingsCard, { padding: "sm", children: [
|
|
1444
1444
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1445
|
-
|
|
1445
|
+
chunk5YXG342J_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
|
+
chunk5YXG342J_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 = chunk5YXG342J_cjs.EMAIL_NOTIFICATION_CATEGORIES,
|
|
1480
1480
|
title = "Notifications"
|
|
1481
1481
|
}) {
|
|
1482
1482
|
const keys = react.useMemo(
|
|
1483
|
-
() => categories ===
|
|
1483
|
+
() => categories === chunk5YXG342J_cjs.EMAIL_NOTIFICATION_CATEGORIES ? chunk5YXG342J_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(chunk5YXG342J_cjs.SettingsSection, { title, children: /* @__PURE__ */ jsxRuntime.jsx(chunk5YXG342J_cjs.SettingsCard, { className: "space-y-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1488
|
+
chunk5YXG342J_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: chunk5YXG342J_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 = chunk5YXG342J_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
|
+
chunk5YXG342J_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
|
+
chunk5YXG342J_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
|
+
chunk5YXG342J_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: chunk5YXG342J_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
|
+
chunk5YXG342J_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
|
+
chunk5YXG342J_cjs.DeleteAccountDialog,
|
|
1627
1627
|
{
|
|
1628
1628
|
open: dialogOpen,
|
|
1629
1629
|
onClose: flow.onClose,
|
|
1630
1630
|
step: flow.step,
|
|
1631
|
-
blockers:
|
|
1631
|
+
blockers: chunk5YXG342J_cjs.toDeleteBlockerViews(flow.blockers, renderSubscriptionLink),
|
|
1632
1632
|
onContinue: flow.onContinue,
|
|
1633
1633
|
onBack: flow.onBack,
|
|
1634
1634
|
userEmail: user?.email ?? "",
|
|
@@ -2143,11 +2143,11 @@ function useWordBody({
|
|
|
2143
2143
|
}
|
|
2144
2144
|
var MailBodyEditor = react.lazy(
|
|
2145
2145
|
() => import('../MailBodyEditor-D7MGJMLH.cjs').catch(() => ({
|
|
2146
|
-
default:
|
|
2146
|
+
default: chunkU6MPHCEB_cjs.PlainMailBodyEditor
|
|
2147
2147
|
}))
|
|
2148
2148
|
);
|
|
2149
2149
|
var NativeDocxEditor = react.lazy(
|
|
2150
|
-
() => import('../NativeDocxEditor-
|
|
2150
|
+
() => import('../NativeDocxEditor-WODZAURG.cjs').then((m) => ({ default: m.NativeDocxEditor }))
|
|
2151
2151
|
);
|
|
2152
2152
|
var NO_WORD = {
|
|
2153
2153
|
adapter: {
|
|
@@ -2224,9 +2224,9 @@ function MailComposerForm({
|
|
|
2224
2224
|
}, [drafts, draftId, subject]);
|
|
2225
2225
|
const body = () => ({
|
|
2226
2226
|
...initial,
|
|
2227
|
-
to:
|
|
2228
|
-
cc:
|
|
2229
|
-
bcc:
|
|
2227
|
+
to: chunkU6MPHCEB_cjs.parseMailRecipients(to),
|
|
2228
|
+
cc: chunkU6MPHCEB_cjs.parseMailRecipients(cc),
|
|
2229
|
+
bcc: chunkU6MPHCEB_cjs.parseMailRecipients(bcc),
|
|
2230
2230
|
subject,
|
|
2231
2231
|
text,
|
|
2232
2232
|
html,
|
|
@@ -2674,7 +2674,7 @@ function MailComposerForm({
|
|
|
2674
2674
|
}
|
|
2675
2675
|
),
|
|
2676
2676
|
documents && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2677
|
-
|
|
2677
|
+
chunkU6MPHCEB_cjs.MailDocumentPicker,
|
|
2678
2678
|
{
|
|
2679
2679
|
documents: documents.documents,
|
|
2680
2680
|
disabled: locked,
|
|
@@ -2795,7 +2795,7 @@ function ConnectedMailComposer({
|
|
|
2795
2795
|
openId,
|
|
2796
2796
|
async (from, id) => {
|
|
2797
2797
|
const message = await client.getMessage(from, id);
|
|
2798
|
-
return
|
|
2798
|
+
return chunkU6MPHCEB_cjs.draftMailCompose(
|
|
2799
2799
|
message,
|
|
2800
2800
|
await hydrateMailAttachments(client, from, message.id, message.attachments, {
|
|
2801
2801
|
isOnline,
|
|
@@ -2809,11 +2809,11 @@ function ConnectedMailComposer({
|
|
|
2809
2809
|
const start = react.useMemo(() => {
|
|
2810
2810
|
if (replyTo)
|
|
2811
2811
|
return original.data && account ? {
|
|
2812
|
-
...
|
|
2812
|
+
...chunkU6MPHCEB_cjs.replyMailCompose(original.data, { account, folderRole: "inbox" }),
|
|
2813
2813
|
text: "",
|
|
2814
2814
|
html: ""
|
|
2815
2815
|
} : void 0;
|
|
2816
|
-
return reloaded ? draft.data : initial ?? (openId ? draft.data :
|
|
2816
|
+
return reloaded ? draft.data : initial ?? (openId ? draft.data : chunkU6MPHCEB_cjs.emptyMailCompose());
|
|
2817
2817
|
}, [replyTo, original.data, account, reloaded, initial, openId, draft.data]);
|
|
2818
2818
|
if (!start)
|
|
2819
2819
|
return draft.error ?? original.error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "p-4 text-sm text-destructive", children: (draft.error ?? original.error)?.message }) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "p-4 text-sm text-muted-foreground", children: "Loading draft\u2026" });
|
|
@@ -3120,7 +3120,7 @@ function ConnectedMailbox({
|
|
|
3120
3120
|
const message = detail.data;
|
|
3121
3121
|
react.useEffect(() => {
|
|
3122
3122
|
if (!composeAttachments?.length) return;
|
|
3123
|
-
openCompose({ ...
|
|
3123
|
+
openCompose({ ...chunkU6MPHCEB_cjs.emptyMailCompose(), attachments: composeAttachments });
|
|
3124
3124
|
onComposeOpened?.();
|
|
3125
3125
|
}, [composeAttachments]);
|
|
3126
3126
|
react.useEffect(() => {
|
|
@@ -3220,7 +3220,7 @@ function ConnectedMailbox({
|
|
|
3220
3220
|
const editDraft = async () => {
|
|
3221
3221
|
if (!message) return;
|
|
3222
3222
|
try {
|
|
3223
|
-
openCompose(
|
|
3223
|
+
openCompose(chunkU6MPHCEB_cjs.draftMailCompose(message, await hydrate(message.attachments)));
|
|
3224
3224
|
} catch (e) {
|
|
3225
3225
|
setActionError(e instanceof Error ? e.message : "Could not load draft attachments");
|
|
3226
3226
|
}
|
|
@@ -3229,7 +3229,7 @@ function ConnectedMailbox({
|
|
|
3229
3229
|
if (!message || !account) return;
|
|
3230
3230
|
try {
|
|
3231
3231
|
const attachments = forward ? await hydrate(message.attachments) : [];
|
|
3232
|
-
openCompose(
|
|
3232
|
+
openCompose(chunkU6MPHCEB_cjs.replyMailCompose(message, { account, folderRole, forward, all, attachments }));
|
|
3233
3233
|
} catch (e) {
|
|
3234
3234
|
setActionError(e instanceof Error ? e.message : "Could not prepare forwarded attachments");
|
|
3235
3235
|
}
|
|
@@ -3338,7 +3338,7 @@ function ConnectedMailbox({
|
|
|
3338
3338
|
{
|
|
3339
3339
|
size: "sm",
|
|
3340
3340
|
disabled: !ready || !!compose,
|
|
3341
|
-
onClick: () => openCompose(
|
|
3341
|
+
onClick: () => openCompose(chunkU6MPHCEB_cjs.emptyMailCompose()),
|
|
3342
3342
|
children: [
|
|
3343
3343
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Plus, { className: "mr-1.5 size-4" }),
|
|
3344
3344
|
"Email"
|
|
@@ -3417,7 +3417,7 @@ function ConnectedMailbox({
|
|
|
3417
3417
|
onEdit: (value) => openCompose({ ...value })
|
|
3418
3418
|
}),
|
|
3419
3419
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: deviceFolder ? "hidden" : "min-h-0 flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3420
|
-
|
|
3420
|
+
chunkU6MPHCEB_cjs.MailGrid,
|
|
3421
3421
|
{
|
|
3422
3422
|
messages: filteredMessages,
|
|
3423
3423
|
loading: list.isPending && list.fetchStatus !== "idle",
|
|
@@ -3481,7 +3481,7 @@ function ConnectedMailbox({
|
|
|
3481
3481
|
},
|
|
3482
3482
|
`${account?.id}-${composeSession}`
|
|
3483
3483
|
) : message && selected ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3484
|
-
|
|
3484
|
+
chunkU6MPHCEB_cjs.MailMessageView,
|
|
3485
3485
|
{
|
|
3486
3486
|
account,
|
|
3487
3487
|
message,
|
|
@@ -3603,7 +3603,7 @@ function ConnectedMailMessage({
|
|
|
3603
3603
|
const attachments = forward ? await hydrateMailAttachments(client, account, message.id, message.attachments, {
|
|
3604
3604
|
isOnline
|
|
3605
3605
|
}) : [];
|
|
3606
|
-
onCompose(
|
|
3606
|
+
onCompose(chunkU6MPHCEB_cjs.replyMailCompose(message, { account, folderRole, forward, all, attachments }));
|
|
3607
3607
|
} catch (e) {
|
|
3608
3608
|
setError(e instanceof Error ? e.message : "Could not prepare forwarded attachments");
|
|
3609
3609
|
}
|
|
@@ -3611,7 +3611,7 @@ function ConnectedMailMessage({
|
|
|
3611
3611
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", children: [
|
|
3612
3612
|
error && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "px-4 pt-3 text-sm text-destructive", children: error }),
|
|
3613
3613
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3614
|
-
|
|
3614
|
+
chunkU6MPHCEB_cjs.MailMessageView,
|
|
3615
3615
|
{
|
|
3616
3616
|
account,
|
|
3617
3617
|
message,
|
|
@@ -3622,7 +3622,7 @@ function ConnectedMailMessage({
|
|
|
3622
3622
|
onBack: onClose,
|
|
3623
3623
|
onEditDraft: () => void hydrateMailAttachments(client, account, message.id, message.attachments, {
|
|
3624
3624
|
isOnline
|
|
3625
|
-
}).then((attachments) => onCompose(
|
|
3625
|
+
}).then((attachments) => onCompose(chunkU6MPHCEB_cjs.draftMailCompose(message, attachments))).catch((e) => setError(e.message)),
|
|
3626
3626
|
onReply: (forward, all) => void reply(forward, all),
|
|
3627
3627
|
onReplyWithArbi: onReplyWithArbi && account.provider === "native" ? () => onReplyWithArbi(message, account) : void 0,
|
|
3628
3628
|
onUpdate: (body) => void update(body),
|
|
@@ -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
|
+
chunkPDRYGPZB_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 chunkQKWQMOHN_cjs.ConnectedAssistantDock; }
|
|
3704
3704
|
});
|
|
3705
3705
|
Object.defineProperty(exports, "redlineStats", {
|
|
3706
3706
|
enumerable: true,
|
|
3707
|
-
get: function () { return
|
|
3707
|
+
get: function () { return chunkQKWQMOHN_cjs.redlineStats; }
|
|
3708
3708
|
});
|
|
3709
3709
|
Object.defineProperty(exports, "textToArtifact", {
|
|
3710
3710
|
enumerable: true,
|
|
3711
|
-
get: function () { return
|
|
3711
|
+
get: function () { return chunkQKWQMOHN_cjs.textToArtifact; }
|
|
3712
3712
|
});
|
|
3713
3713
|
Object.defineProperty(exports, "toRedlineMarkdown", {
|
|
3714
3714
|
enumerable: true,
|
|
3715
|
-
get: function () { return
|
|
3715
|
+
get: function () { return chunkQKWQMOHN_cjs.toRedlineMarkdown; }
|
|
3716
3716
|
});
|
|
3717
3717
|
Object.defineProperty(exports, "useConnectedAiTask", {
|
|
3718
3718
|
enumerable: true,
|
|
3719
|
-
get: function () { return
|
|
3719
|
+
get: function () { return chunkQKWQMOHN_cjs.useConnectedAiTask; }
|
|
3720
3720
|
});
|
|
3721
3721
|
Object.defineProperty(exports, "useConnectedChat", {
|
|
3722
3722
|
enumerable: true,
|
|
3723
|
-
get: function () { return
|
|
3723
|
+
get: function () { return chunkQKWQMOHN_cjs.useConnectedChat; }
|
|
3724
3724
|
});
|
|
3725
3725
|
Object.defineProperty(exports, "useSemanticSearch", {
|
|
3726
3726
|
enumerable: true,
|
|
3727
|
-
get: function () { return
|
|
3727
|
+
get: function () { return chunkQKWQMOHN_cjs.useSemanticSearch; }
|
|
3728
3728
|
});
|
|
3729
3729
|
Object.defineProperty(exports, "useWorkspaceDocs", {
|
|
3730
3730
|
enumerable: true,
|
|
3731
|
-
get: function () { return
|
|
3731
|
+
get: function () { return chunkQKWQMOHN_cjs.useWorkspaceDocs; }
|
|
3732
3732
|
});
|
|
3733
3733
|
Object.defineProperty(exports, "ConnectionProvider", {
|
|
3734
3734
|
enumerable: true,
|