@arbidocs/blocks 0.4.108 → 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-UAZUKZ77.js → NativeDocxEditor-4PY4YZYC.js} +3 -3
- package/dist/{NativeDocxEditor-UAZUKZ77.js.map → NativeDocxEditor-4PY4YZYC.js.map} +1 -1
- package/dist/{NativeDocxEditor-YX7B7OFH.cjs → NativeDocxEditor-WODZAURG.cjs} +7 -7
- package/dist/{NativeDocxEditor-YX7B7OFH.cjs.map → NativeDocxEditor-WODZAURG.cjs.map} +1 -1
- package/dist/agents/index.cjs +207 -207
- package/dist/agents/index.js +2 -2
- package/dist/chat/index.cjs +124 -124
- package/dist/chat/index.js +2 -2
- package/dist/{chunk-QT6EGMAJ.cjs → chunk-2NIL2ASF.cjs} +38 -294
- package/dist/chunk-2NIL2ASF.cjs.map +1 -0
- package/dist/{chunk-TTXK62YI.cjs → chunk-54WBIVHV.cjs} +5 -5
- package/dist/{chunk-TTXK62YI.cjs.map → chunk-54WBIVHV.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-XQKGYGCJ.js → chunk-DQCYCEDR.js} +3 -3
- package/dist/{chunk-XQKGYGCJ.js.map → chunk-DQCYCEDR.js.map} +1 -1
- package/dist/{chunk-ZYSY4L5L.cjs → chunk-ELDUWTRR.cjs} +4 -4
- package/dist/{chunk-ZYSY4L5L.cjs.map → chunk-ELDUWTRR.cjs.map} +1 -1
- package/dist/{chunk-3Y6NQIDE.js → chunk-FQX6N5G6.js} +5 -4
- package/dist/chunk-FQX6N5G6.js.map +1 -0
- package/dist/{chunk-LLFW2T6S.cjs → chunk-GBYY3PIC.cjs} +9 -8
- package/dist/chunk-GBYY3PIC.cjs.map +1 -0
- package/dist/{chunk-A2MN2ZLX.js → chunk-GKDWQLVU.js} +13 -274
- package/dist/chunk-GKDWQLVU.js.map +1 -0
- package/dist/{chunk-24ND4S6Y.cjs → chunk-I4XQCE6U.cjs} +5 -5
- package/dist/{chunk-24ND4S6Y.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-JQVPGMLU.js → chunk-JB32KYAH.js} +3 -3
- package/dist/{chunk-JQVPGMLU.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-EWSEQEPL.js → chunk-NUTLXVPX.js} +3 -2
- package/dist/chunk-NUTLXVPX.js.map +1 -0
- package/dist/{chunk-MP6FK43E.cjs → chunk-PDRYGPZB.cjs} +3 -2
- package/dist/chunk-PDRYGPZB.cjs.map +1 -0
- package/dist/{chunk-EGDWNEAG.js → chunk-PEHLUB52.js} +3 -3
- package/dist/{chunk-EGDWNEAG.js.map → chunk-PEHLUB52.js.map} +1 -1
- package/dist/{chunk-XMBYDLZQ.cjs → chunk-QKWQMOHN.cjs} +4 -4
- package/dist/{chunk-XMBYDLZQ.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-XQDM6T6C.js → chunk-UABPHZWZ.js} +3 -3
- package/dist/{chunk-XQDM6T6C.js.map → chunk-UABPHZWZ.js.map} +1 -1
- package/dist/{chunk-S7RHJI5Q.js → chunk-ZSV2NQQP.js} +3 -3
- package/dist/{chunk-S7RHJI5Q.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 +37 -37
- package/dist/connect/index.js +8 -8
- 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/facts/index.cjs +2 -2
- package/dist/facts/index.js +1 -1
- package/dist/files/GridView.d.ts +4 -1
- package/dist/files/TagPassagePanel.d.ts +2 -0
- package/dist/files/index.cjs +84 -74
- package/dist/files/index.cjs.map +1 -1
- package/dist/files/index.js +84 -74
- package/dist/files/index.js.map +1 -1
- package/dist/index.cjs +422 -422
- package/dist/index.js +7 -7
- package/dist/settings/FirmPool.d.ts +45 -0
- package/dist/settings/index.cjs +97 -0
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.d.ts +1 -0
- package/dist/settings/index.js +95 -1
- package/dist/settings/index.js.map +1 -1
- package/dist/studio/index.cjs +3 -3
- package/dist/studio/index.js +2 -2
- package/dist/workflow-canvas/index.cjs +9 -9
- package/dist/workflow-canvas/index.js +2 -2
- package/dist/workspaces/index.cjs +1 -1
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.js +1 -1
- 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-3Y6NQIDE.js.map +0 -1
- package/dist/chunk-A2MN2ZLX.js.map +0 -1
- package/dist/chunk-DTBSGG36.cjs.map +0 -1
- package/dist/chunk-EWSEQEPL.js.map +0 -1
- package/dist/chunk-IXALYQT7.cjs.map +0 -1
- package/dist/chunk-LLFW2T6S.cjs.map +0 -1
- package/dist/chunk-MP6FK43E.cjs.map +0 -1
- package/dist/chunk-P2KPDPFF.js.map +0 -1
- package/dist/chunk-QT6EGMAJ.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
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunk5YXG342J_cjs = require('../chunk-5YXG342J.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
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,15 +22,15 @@ 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
30
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
31
|
-
var
|
|
31
|
+
var chunkU6MPHCEB_cjs = require('../chunk-U6MPHCEB.cjs');
|
|
32
32
|
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
33
|
-
require('../chunk-
|
|
33
|
+
require('../chunk-C2CWWEHO.cjs');
|
|
34
34
|
require('../chunk-FX3K6LNZ.cjs');
|
|
35
35
|
require('../chunk-MHVNT4J3.cjs');
|
|
36
36
|
require('../chunk-DES3K4SD.cjs');
|
|
@@ -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({});
|
|
@@ -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,
|
package/dist/connect/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
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-W7NZRZ54.js';
|
|
3
|
-
import { useWorkspaceDocs } from '../chunk-
|
|
4
|
-
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-
|
|
5
|
-
import { ConnectedNativeDocxEditor } from '../chunk-
|
|
3
|
+
import { useWorkspaceDocs } from '../chunk-UABPHZWZ.js';
|
|
4
|
+
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-UABPHZWZ.js';
|
|
5
|
+
import { ConnectedNativeDocxEditor } from '../chunk-PEHLUB52.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-GKDWQLVU.js';
|
|
11
11
|
import '../chunk-HFZ45FD3.js';
|
|
12
12
|
import { FilesFilterBar, FolderFilterButton, FolderPickerRow } from '../chunk-7RJTEWYM.js';
|
|
13
13
|
import { WorkspaceActivityList, WorkspaceNotificationMenu, ThreadFollowMenuItem, ThreadFollowButton, TagTable, tagTableDocx } from '../chunk-S55VDTX3.js';
|
|
@@ -22,15 +22,15 @@ import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
|
22
22
|
import '../chunk-XD2M6LIG.js';
|
|
23
23
|
import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
24
24
|
import '../chunk-VILAPTCB.js';
|
|
25
|
-
import { ChatPage } from '../chunk-
|
|
25
|
+
import { ChatPage } from '../chunk-NUTLXVPX.js';
|
|
26
26
|
import '../chunk-KZJAG7T3.js';
|
|
27
27
|
import '../chunk-HOXKR26S.js';
|
|
28
28
|
import '../chunk-AA3PT6KR.js';
|
|
29
29
|
import '../chunk-NPLYHR2E.js';
|
|
30
30
|
import { initials } from '../chunk-OXF2IFXG.js';
|
|
31
|
-
import { PlainMailBodyEditor, draftMailCompose, replyMailCompose, emptyMailCompose, MailGrid, MailMessageView, MailDocumentPicker, parseMailRecipients } from '../chunk-
|
|
31
|
+
import { PlainMailBodyEditor, draftMailCompose, replyMailCompose, emptyMailCompose, MailGrid, MailMessageView, MailDocumentPicker, parseMailRecipients } from '../chunk-IXTQYFIF.js';
|
|
32
32
|
import { ModalScaffold } from '../chunk-TX2ZICS7.js';
|
|
33
|
-
import '../chunk-
|
|
33
|
+
import '../chunk-N5YEF3LC.js';
|
|
34
34
|
import '../chunk-SLSBJRWW.js';
|
|
35
35
|
import '../chunk-7F6CBP3Z.js';
|
|
36
36
|
import '../chunk-VUNV25KB.js';
|
|
@@ -2147,7 +2147,7 @@ var MailBodyEditor = lazy(
|
|
|
2147
2147
|
}))
|
|
2148
2148
|
);
|
|
2149
2149
|
var NativeDocxEditor = lazy(
|
|
2150
|
-
() => import('../NativeDocxEditor-
|
|
2150
|
+
() => import('../NativeDocxEditor-4PY4YZYC.js').then((m) => ({ default: m.NativeDocxEditor }))
|
|
2151
2151
|
);
|
|
2152
2152
|
var NO_WORD = {
|
|
2153
2153
|
adapter: {
|
package/dist/databases/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkD54JXTPG_cjs = require('../chunk-D54JXTPG.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkC2CWWEHO_cjs = require('../chunk-C2CWWEHO.cjs');
|
|
6
6
|
require('../chunk-FX3K6LNZ.cjs');
|
|
7
7
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
8
8
|
require('../chunk-DES3K4SD.cjs');
|
|
@@ -1378,7 +1378,7 @@ function DatabaseTable({
|
|
|
1378
1378
|
"data-testid": chunkMHVNT4J3_cjs.testIdOr(testId, { testId: "database-table" }),
|
|
1379
1379
|
children: [
|
|
1380
1380
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1381
|
-
|
|
1381
|
+
chunkC2CWWEHO_cjs.GridView,
|
|
1382
1382
|
{
|
|
1383
1383
|
testId: "database-grid",
|
|
1384
1384
|
items: rows,
|
package/dist/databases/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { DetailPanel, DetailSection, DetailFields, DetailField, DetailLinkList, DetailLinkItem, DetailEmpty } from '../chunk-ZCOVDK2E.js';
|
|
3
|
-
import { GridView } from '../chunk-
|
|
3
|
+
import { GridView } from '../chunk-N5YEF3LC.js';
|
|
4
4
|
import '../chunk-SLSBJRWW.js';
|
|
5
5
|
import { testIdOr } from '../chunk-7F6CBP3Z.js';
|
|
6
6
|
import '../chunk-VUNV25KB.js';
|
|
@@ -7,12 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import type { Definition } from '../../tags/definitions';
|
|
9
9
|
import { type Revision } from '@arbidocs/coedit/template';
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
/** Character style of a cross-reference: a muted blue with a dotted underline (Word's name). */
|
|
13
|
-
export declare const CROSS_REFERENCE_STYLE = "CrossReference";
|
|
14
|
-
/** Character style of a cross-reference whose target is gone: its last text, flagged. */
|
|
15
|
-
export declare const BROKEN_CROSS_REFERENCE_STYLE = "CrossReferenceBroken";
|
|
10
|
+
import { BROKEN_CROSS_REFERENCE_STYLE, CROSS_REFERENCE_STYLE, DEFINED_TERM_STYLE } from '@arbidocs/coedit/commands';
|
|
11
|
+
export { BROKEN_CROSS_REFERENCE_STYLE, CROSS_REFERENCE_STYLE, DEFINED_TERM_STYLE };
|
|
16
12
|
/**
|
|
17
13
|
* The character styles the inserted content uses. A paste brings a style the document does not
|
|
18
14
|
* define; one it already defines (a house template's) is used as it is, so only the missing ones
|
|
@@ -4,48 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { DocxEditorInstance } from '@docx-editor.dev/core';
|
|
6
6
|
import type { Revision } from '@arbidocs/coedit/template';
|
|
7
|
-
|
|
8
|
-
export
|
|
9
|
-
paragraphId: string;
|
|
10
|
-
offset: number;
|
|
11
|
-
}
|
|
12
|
-
/** An internal link in a paragraph. */
|
|
13
|
-
export interface DocLink {
|
|
14
|
-
anchor: string;
|
|
15
|
-
text: string;
|
|
16
|
-
}
|
|
17
|
-
/** One paragraph, in document order. */
|
|
18
|
-
export interface DocParagraph {
|
|
19
|
-
id: string;
|
|
20
|
-
text: string;
|
|
21
|
-
/** Styled as a heading (a `Heading n` style or an outline level). */
|
|
22
|
-
heading: boolean;
|
|
23
|
-
styleId?: string;
|
|
24
|
-
/** A paragraph of the body itself, not inside a table. */
|
|
25
|
-
topLevel: boolean;
|
|
26
|
-
/** Names of the bookmarks that start in it. */
|
|
27
|
-
bookmarks: string[];
|
|
28
|
-
/** Its internal links (`w:hyperlink w:anchor`). */
|
|
29
|
-
links: DocLink[];
|
|
30
|
-
/** Its complex fields: where each sits (its one-character offset), its instruction and result. */
|
|
31
|
-
fields?: DocField[];
|
|
32
|
-
/** Its runs in a watched character style (a broken cross-reference's mark), with their text. */
|
|
33
|
-
marks?: DocMark[];
|
|
34
|
-
}
|
|
35
|
-
/** A stretch of a paragraph's text in a watched character style. */
|
|
36
|
-
export interface DocMark {
|
|
37
|
-
styleId: string;
|
|
38
|
-
offset: number;
|
|
39
|
-
text: string;
|
|
40
|
-
}
|
|
41
|
-
/** Character styles whose runs a paragraph read reports as marks. */
|
|
42
|
-
export declare const WATCHED_STYLES: Set<string>;
|
|
43
|
-
/** A complex field of a paragraph. */
|
|
44
|
-
export interface DocField {
|
|
45
|
-
offset: number;
|
|
46
|
-
instruction: string;
|
|
47
|
-
result: string;
|
|
48
|
-
}
|
|
7
|
+
import { type DocParagraph, type DocPoint, type OoxmlNodeLike } from '@arbidocs/coedit/commands';
|
|
8
|
+
export { FIELD_ATOM, WATCHED_STYLES, readParagraphs, type DocField, type DocLink, type DocMark, type DocNote, type DocParagraph, type DocPoint, type OoxmlNodeLike, } from '@arbidocs/coedit/commands';
|
|
49
9
|
export interface DefinitionsPort {
|
|
50
10
|
/** Every body paragraph, in document order (table cells included, `topLevel: false`). */
|
|
51
11
|
paragraphs(): DocParagraph[];
|
|
@@ -64,21 +24,6 @@ export interface DefinitionsPort {
|
|
|
64
24
|
/** Type plain text at the caret. */
|
|
65
25
|
typeText(text: string): void;
|
|
66
26
|
}
|
|
67
|
-
export type OoxmlNodeLike = {
|
|
68
|
-
id: string;
|
|
69
|
-
kind: string;
|
|
70
|
-
localName?: string;
|
|
71
|
-
value?: string;
|
|
72
|
-
attributes?: readonly {
|
|
73
|
-
localName: string;
|
|
74
|
-
value: string;
|
|
75
|
-
}[];
|
|
76
|
-
children?: readonly OoxmlNodeLike[];
|
|
77
|
-
};
|
|
78
|
-
/** How a field counts in a paragraph's text (the engine's model vocabulary). */
|
|
79
|
-
export declare const FIELD_ATOM = "\uFFFC";
|
|
80
|
-
/** The paragraphs of a part's body, read from the engine's OOXML tree. */
|
|
81
|
-
export declare function readParagraphs(root: OoxmlNodeLike): DocParagraph[];
|
|
82
27
|
/** The style ids a document's styles part defines. */
|
|
83
28
|
export declare function documentStyleIds(root: OoxmlNodeLike | null | undefined): Set<string>;
|
|
84
29
|
/**
|