@arbidocs/blocks 0.4.111 → 0.4.112
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-AQKRZBIU.cjs → NativeDocxEditor-AQZSUGET.cjs} +8 -8
- package/dist/{NativeDocxEditor-AQKRZBIU.cjs.map → NativeDocxEditor-AQZSUGET.cjs.map} +1 -1
- package/dist/{NativeDocxEditor-IN2HEO5I.js → NativeDocxEditor-MBCBXYDZ.js} +4 -4
- package/dist/{NativeDocxEditor-IN2HEO5I.js.map → NativeDocxEditor-MBCBXYDZ.js.map} +1 -1
- package/dist/agents/index.cjs +208 -208
- package/dist/agents/index.js +3 -3
- package/dist/{chunk-2C7TCVQZ.js → chunk-3OT37I24.js} +30 -297
- package/dist/chunk-3OT37I24.js.map +1 -0
- package/dist/{chunk-XIGWUDOD.cjs → chunk-ETBB5KMN.cjs} +61 -316
- package/dist/chunk-ETBB5KMN.cjs.map +1 -0
- package/dist/{chunk-Q6B77ZWZ.js → chunk-GIBRZ54P.js} +3 -3
- package/dist/{chunk-Q6B77ZWZ.js.map → chunk-GIBRZ54P.js.map} +1 -1
- package/dist/{chunk-2WO5L7YT.cjs → chunk-HF4PAYBM.cjs} +5 -5
- package/dist/{chunk-2WO5L7YT.cjs.map → chunk-HF4PAYBM.cjs.map} +1 -1
- package/dist/chunk-I2QSDQQV.cjs +126 -0
- package/dist/chunk-I2QSDQQV.cjs.map +1 -0
- package/dist/chunk-QXMR5YHC.js +80 -0
- package/dist/chunk-QXMR5YHC.js.map +1 -0
- package/dist/{chunk-TF47ATYS.cjs → chunk-RUFNJRLW.cjs} +4 -4
- package/dist/{chunk-TF47ATYS.cjs.map → chunk-RUFNJRLW.cjs.map} +1 -1
- package/dist/{chunk-WTM65ZNG.js → chunk-TKJSCHSX.js} +3 -3
- package/dist/{chunk-WTM65ZNG.js.map → chunk-TKJSCHSX.js.map} +1 -1
- package/dist/{chunk-WPVIOGDG.cjs → chunk-US5ASM4G.cjs} +22 -22
- package/dist/{chunk-WPVIOGDG.cjs.map → chunk-US5ASM4G.cjs.map} +1 -1
- package/dist/{chunk-CECWAIHL.js → chunk-XFZ7HNPG.js} +3 -3
- package/dist/{chunk-CECWAIHL.js.map → chunk-XFZ7HNPG.js.map} +1 -1
- package/dist/{chunk-FXUQZFAN.cjs → chunk-Z2NSU7D5.cjs} +4 -4
- package/dist/{chunk-FXUQZFAN.cjs.map → chunk-Z2NSU7D5.cjs.map} +1 -1
- package/dist/{chunk-6Z7DLJU2.js → chunk-ZP4IFW2E.js} +4 -4
- package/dist/{chunk-6Z7DLJU2.js.map → chunk-ZP4IFW2E.js.map} +1 -1
- package/dist/collaboration/index.cjs +1 -1
- package/dist/collaboration/index.js +1 -1
- package/dist/connect/docx.cjs +7 -7
- package/dist/connect/docx.js +5 -5
- package/dist/connect/index.cjs +16 -16
- package/dist/connect/index.js +9 -9
- package/dist/docx/definitions/commands.d.ts +3 -52
- package/dist/docx/definitions/fragment.d.ts +5 -31
- package/dist/docx/definitions/port.d.ts +2 -22
- package/dist/docx/index.cjs +47 -47
- package/dist/docx/index.js +4 -4
- package/dist/docx/references/commands.d.ts +3 -89
- package/dist/docx/references/port.d.ts +2 -11
- package/dist/facts/index.cjs +1 -1
- package/dist/facts/index.js +1 -1
- package/dist/files/index.cjs +1 -1
- package/dist/files/index.js +1 -1
- package/dist/index.cjs +388 -388
- package/dist/index.js +10 -10
- package/dist/settings/index.cjs +1 -1
- package/dist/settings/index.js +1 -1
- package/dist/shell/index.cjs +9 -9
- package/dist/shell/index.js +1 -1
- package/dist/tags/definitions.d.ts +4 -25
- package/dist/tags/ooxml.d.ts +1 -19
- package/dist/workflow-canvas/index.cjs +10 -10
- package/dist/workflow-canvas/index.js +3 -3
- package/node_modules/@arbidocs/coedit/dist/commands.cjs +687 -0
- package/node_modules/@arbidocs/coedit/dist/commands.cjs.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/commands.d.cts +263 -157
- package/node_modules/@arbidocs/coedit/dist/commands.d.ts +263 -157
- package/node_modules/@arbidocs/coedit/dist/commands.js +646 -2
- package/node_modules/@arbidocs/coedit/dist/commands.js.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/port-ip7WByvH.d.cts +188 -0
- package/node_modules/@arbidocs/coedit/dist/port-ip7WByvH.d.ts +188 -0
- package/node_modules/@arbidocs/coedit/dist/server.cjs +675 -65
- package/node_modules/@arbidocs/coedit/dist/server.cjs.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/server.d.cts +15 -4
- package/node_modules/@arbidocs/coedit/dist/server.d.ts +15 -4
- package/node_modules/@arbidocs/coedit/dist/server.js +676 -67
- package/node_modules/@arbidocs/coedit/dist/server.js.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/template.d.cts +3 -17
- package/node_modules/@arbidocs/coedit/dist/template.d.ts +3 -17
- package/node_modules/@arbidocs/coedit/dist/track-eYC94jTp.d.cts +17 -0
- package/node_modules/@arbidocs/coedit/dist/track-eYC94jTp.d.ts +17 -0
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +4 -4
- package/dist/chunk-2A4MDHJR.cjs +0 -198
- package/dist/chunk-2A4MDHJR.cjs.map +0 -1
- package/dist/chunk-2C7TCVQZ.js.map +0 -1
- package/dist/chunk-EPHGD4YV.js +0 -174
- package/dist/chunk-EPHGD4YV.js.map +0 -1
- package/dist/chunk-XIGWUDOD.cjs.map +0 -1
|
@@ -6,8 +6,8 @@ require('../chunk-7G2LJMUG.cjs');
|
|
|
6
6
|
var chunkU6MPHCEB_cjs = require('../chunk-U6MPHCEB.cjs');
|
|
7
7
|
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
8
8
|
require('../chunk-C2CWWEHO.cjs');
|
|
9
|
-
require('../chunk-ULWRNGGE.cjs');
|
|
10
9
|
require('../chunk-FX3K6LNZ.cjs');
|
|
10
|
+
require('../chunk-ULWRNGGE.cjs');
|
|
11
11
|
require('../chunk-MHVNT4J3.cjs');
|
|
12
12
|
require('../chunk-DES3K4SD.cjs');
|
|
13
13
|
|
|
@@ -4,8 +4,8 @@ import '../chunk-NBV56SGU.js';
|
|
|
4
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-N5YEF3LC.js';
|
|
7
|
-
import '../chunk-TX2ZICS7.js';
|
|
8
7
|
import '../chunk-SLSBJRWW.js';
|
|
8
|
+
import '../chunk-TX2ZICS7.js';
|
|
9
9
|
import '../chunk-7F6CBP3Z.js';
|
|
10
10
|
import '../chunk-VUNV25KB.js';
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
package/dist/connect/docx.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkRUFNJRLW_cjs = require('../chunk-RUFNJRLW.cjs');
|
|
5
5
|
require('../chunk-MUMH3Z6K.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkHF4PAYBM_cjs = require('../chunk-HF4PAYBM.cjs');
|
|
7
7
|
require('../chunk-S24XEVPS.cjs');
|
|
8
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-ETBB5KMN.cjs');
|
|
9
9
|
require('../chunk-5FYU7ZIU.cjs');
|
|
10
|
-
require('../chunk-
|
|
10
|
+
require('../chunk-I2QSDQQV.cjs');
|
|
11
11
|
require('../chunk-RC25WMVB.cjs');
|
|
12
12
|
require('../chunk-7UTB4PHM.cjs');
|
|
13
13
|
require('../chunk-MHVNT4J3.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 = chunkRUFNJRLW_cjs.useConnectedNativeDocxAdapter(fontBaseUrl);
|
|
22
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkHF4PAYBM_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 chunkRUFNJRLW_cjs.ConnectedNativeDocxEditor; }
|
|
28
28
|
});
|
|
29
29
|
exports.ConnectedStreamedWordArtifact = ConnectedStreamedWordArtifact;
|
|
30
30
|
//# sourceMappingURL=docx.cjs.map
|
package/dist/connect/docx.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useConnectedNativeDocxAdapter } from '../chunk-
|
|
3
|
-
export { ConnectedNativeDocxEditor } from '../chunk-
|
|
2
|
+
import { useConnectedNativeDocxAdapter } from '../chunk-GIBRZ54P.js';
|
|
3
|
+
export { ConnectedNativeDocxEditor } from '../chunk-GIBRZ54P.js';
|
|
4
4
|
import '../chunk-OYMWV45N.js';
|
|
5
|
-
import { StreamedWordArtifact } from '../chunk-
|
|
5
|
+
import { StreamedWordArtifact } from '../chunk-TKJSCHSX.js';
|
|
6
6
|
import '../chunk-GYAUJ4KT.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-3OT37I24.js';
|
|
8
8
|
import '../chunk-HFZ45FD3.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-QXMR5YHC.js';
|
|
10
10
|
import '../chunk-AF6RDAJF.js';
|
|
11
11
|
import '../chunk-AA3PT6KR.js';
|
|
12
12
|
import '../chunk-7F6CBP3Z.js';
|
package/dist/connect/index.cjs
CHANGED
|
@@ -3,19 +3,17 @@
|
|
|
3
3
|
|
|
4
4
|
var chunkOR4CO743_cjs = require('../chunk-OR4CO743.cjs');
|
|
5
5
|
var chunk2UAJVK3C_cjs = require('../chunk-2UAJVK3C.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkRUFNJRLW_cjs = require('../chunk-RUFNJRLW.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-ETBB5KMN.cjs');
|
|
11
11
|
require('../chunk-5FYU7ZIU.cjs');
|
|
12
12
|
var chunkO4YPVYPO_cjs = require('../chunk-O4YPVYPO.cjs');
|
|
13
|
-
var
|
|
13
|
+
var chunkUS5ASM4G_cjs = require('../chunk-US5ASM4G.cjs');
|
|
14
14
|
var chunkU6MPHCEB_cjs = require('../chunk-U6MPHCEB.cjs');
|
|
15
|
-
var
|
|
15
|
+
var chunkI2QSDQQV_cjs = require('../chunk-I2QSDQQV.cjs');
|
|
16
16
|
require('../chunk-RC25WMVB.cjs');
|
|
17
|
-
var chunkQVBZESYQ_cjs = require('../chunk-QVBZESYQ.cjs');
|
|
18
|
-
require('../chunk-ADOKTJHV.cjs');
|
|
19
17
|
var chunkXSUOEJB3_cjs = require('../chunk-XSUOEJB3.cjs');
|
|
20
18
|
require('../chunk-7D737FLE.cjs');
|
|
21
19
|
var chunkN26CXGXC_cjs = require('../chunk-N26CXGXC.cjs');
|
|
@@ -23,13 +21,15 @@ require('../chunk-DETZZBG2.cjs');
|
|
|
23
21
|
require('../chunk-32HW2Q33.cjs');
|
|
24
22
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
25
23
|
require('../chunk-C2CWWEHO.cjs');
|
|
26
|
-
var
|
|
27
|
-
|
|
24
|
+
var chunkQVBZESYQ_cjs = require('../chunk-QVBZESYQ.cjs');
|
|
25
|
+
require('../chunk-ADOKTJHV.cjs');
|
|
28
26
|
var chunkVP4KJ4LK_cjs = require('../chunk-VP4KJ4LK.cjs');
|
|
29
27
|
require('../chunk-VGOFFCMT.cjs');
|
|
30
28
|
require('../chunk-B4SRYJLM.cjs');
|
|
31
29
|
require('../chunk-7UTB4PHM.cjs');
|
|
32
30
|
require('../chunk-FX3K6LNZ.cjs');
|
|
31
|
+
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
32
|
+
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
33
33
|
require('../chunk-PPCATBOY.cjs');
|
|
34
34
|
require('../chunk-MHVNT4J3.cjs');
|
|
35
35
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
@@ -122,7 +122,7 @@ function ConnectedWorkspaceActivity({
|
|
|
122
122
|
[feed.data]
|
|
123
123
|
);
|
|
124
124
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
125
|
-
|
|
125
|
+
chunkUS5ASM4G_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
|
+
chunkUS5ASM4G_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" ? chunkUS5ASM4G_cjs.ThreadFollowMenuItem : chunkUS5ASM4G_cjs.ThreadFollowButton;
|
|
171
171
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
172
172
|
Control,
|
|
173
173
|
{
|
|
@@ -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(chunkRUFNJRLW_cjs.ConnectedNativeDocxEditor, { documentId: id, title: title ?? labels.wordTitle }) })
|
|
670
670
|
}
|
|
671
671
|
);
|
|
672
672
|
}
|
|
@@ -1205,17 +1205,17 @@ 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 = chunkUS5ASM4G_cjs.tagTableDocx(data, {
|
|
1209
1209
|
title,
|
|
1210
1210
|
nameOf: (id) => people.find((p) => p.value === id)?.label
|
|
1211
1211
|
});
|
|
1212
1212
|
const stamp = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
|
|
1213
1213
|
const name = `${title.replace(/[\\/:*?"<>|]+/g, "-")} (${stamp}).docx`;
|
|
1214
|
-
return { blob: new Blob([bytes], { type:
|
|
1214
|
+
return { blob: new Blob([bytes], { type: chunkI2QSDQQV_cjs.DOCX_MIME_TYPE }), name };
|
|
1215
1215
|
};
|
|
1216
1216
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
1217
1217
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1218
|
-
|
|
1218
|
+
chunkUS5ASM4G_cjs.TagTable,
|
|
1219
1219
|
{
|
|
1220
1220
|
...props,
|
|
1221
1221
|
table,
|
|
@@ -2147,7 +2147,7 @@ var MailBodyEditor = react.lazy(
|
|
|
2147
2147
|
}))
|
|
2148
2148
|
);
|
|
2149
2149
|
var NativeDocxEditor = react.lazy(
|
|
2150
|
-
() => import('../NativeDocxEditor-
|
|
2150
|
+
() => import('../NativeDocxEditor-AQZSUGET.cjs').then((m) => ({ default: m.NativeDocxEditor }))
|
|
2151
2151
|
);
|
|
2152
2152
|
var NO_WORD = {
|
|
2153
2153
|
adapter: {
|
package/dist/connect/index.js
CHANGED
|
@@ -2,20 +2,18 @@
|
|
|
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-GFYGYME3.js';
|
|
3
3
|
import { useWorkspaceDocs } from '../chunk-CXZ7FPTQ.js';
|
|
4
4
|
export { ConnectedAssistantDock, redlineStats, textToArtifact, toRedlineMarkdown, useConnectedAiTask, useConnectedChat, useSemanticSearch, useWorkspaceDocs } from '../chunk-CXZ7FPTQ.js';
|
|
5
|
-
import { ConnectedNativeDocxEditor } from '../chunk-
|
|
5
|
+
import { ConnectedNativeDocxEditor } from '../chunk-GIBRZ54P.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-3OT37I24.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-XFZ7HNPG.js';
|
|
14
14
|
import { PlainMailBodyEditor, draftMailCompose, replyMailCompose, emptyMailCompose, MailGrid, MailMessageView, MailDocumentPicker, parseMailRecipients } from '../chunk-IXTQYFIF.js';
|
|
15
|
-
import { DOCX_MIME_TYPE } from '../chunk-
|
|
15
|
+
import { DOCX_MIME_TYPE } from '../chunk-QXMR5YHC.js';
|
|
16
16
|
import '../chunk-AF6RDAJF.js';
|
|
17
|
-
import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
18
|
-
import '../chunk-VILAPTCB.js';
|
|
19
17
|
import { splitDocRef, WorkflowStepBar, stepLevels, WorkflowRunner, initialRunInputs, workflowSteps, fromPlanSteps, stepStatesFromActivity, toPlanSteps, runThreadTitle, useWorkflowView, stepFields } from '../chunk-AY32GGKU.js';
|
|
20
18
|
import '../chunk-XD2M6LIG.js';
|
|
21
19
|
import { TriStateFilterMenu } from '../chunk-6S5FLMWG.js';
|
|
@@ -23,13 +21,15 @@ import '../chunk-EVUEIBNU.js';
|
|
|
23
21
|
import '../chunk-AUS3KBHJ.js';
|
|
24
22
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
25
23
|
import '../chunk-N5YEF3LC.js';
|
|
26
|
-
import {
|
|
27
|
-
import
|
|
24
|
+
import { StreamedArtifactFrame } from '../chunk-LOJVUGBJ.js';
|
|
25
|
+
import '../chunk-VILAPTCB.js';
|
|
28
26
|
import { ChatPage } from '../chunk-NRUPUDWB.js';
|
|
29
27
|
import '../chunk-KZJAG7T3.js';
|
|
30
28
|
import '../chunk-HOXKR26S.js';
|
|
31
29
|
import '../chunk-AA3PT6KR.js';
|
|
32
30
|
import '../chunk-SLSBJRWW.js';
|
|
31
|
+
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
32
|
+
import { ModalScaffold } from '../chunk-TX2ZICS7.js';
|
|
33
33
|
import '../chunk-NPLYHR2E.js';
|
|
34
34
|
import '../chunk-7F6CBP3Z.js';
|
|
35
35
|
import { initials } from '../chunk-OXF2IFXG.js';
|
|
@@ -2147,7 +2147,7 @@ var MailBodyEditor = lazy(
|
|
|
2147
2147
|
}))
|
|
2148
2148
|
);
|
|
2149
2149
|
var NativeDocxEditor = lazy(
|
|
2150
|
-
() => import('../NativeDocxEditor-
|
|
2150
|
+
() => import('../NativeDocxEditor-MBCBXYDZ.js').then((m) => ({ default: m.NativeDocxEditor }))
|
|
2151
2151
|
);
|
|
2152
2152
|
var NO_WORD = {
|
|
2153
2153
|
adapter: {
|
|
@@ -1,54 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The defined-term commands:
|
|
3
|
-
*
|
|
4
|
-
* {@link DefinitionsPort}, so they run on the live editor and on the in-memory model the tests use
|
|
5
|
-
* alike.
|
|
6
|
-
*
|
|
7
|
-
* Where the Definitions section is: the first top-level paragraph titled "Definitions",
|
|
8
|
-
* "Definitions and interpretation", "Interpretation", "Defined terms" or "Glossary" (clause numbers
|
|
9
|
-
* ignored), up to the next heading. A document without one gets a "Definitions" heading at its end:
|
|
10
|
-
* appended, it never splits the clause being drafted, and it is where a reader of a draft looks
|
|
11
|
-
* for a schedule of terms. Inside the section, definitions are kept in alphabetical order.
|
|
2
|
+
* The defined-term commands: shared with the collaboration service, see
|
|
3
|
+
* `@arbidocs/coedit/commands` (`definitions.ts`).
|
|
12
4
|
*/
|
|
13
|
-
|
|
14
|
-
import type { DefinitionsPort, DocParagraph, DocPoint } from './port';
|
|
15
|
-
/** Title of a Definitions section the commands create. */
|
|
16
|
-
export declare const DEFINITIONS_HEADING = "Definitions";
|
|
17
|
-
/** Whether a paragraph titles a Definitions section. */
|
|
18
|
-
export declare function isDefinitionsTitle(paragraph: DocParagraph): boolean;
|
|
19
|
-
/** The Definitions section: its title's index and the paragraphs after it, up to the next heading. */
|
|
20
|
-
export interface DefinitionsSection {
|
|
21
|
-
title: number;
|
|
22
|
-
/** First paragraph after the title. */
|
|
23
|
-
start: number;
|
|
24
|
-
/** Index after the section's last paragraph (the next heading, a table, or the end). */
|
|
25
|
-
end: number;
|
|
26
|
-
}
|
|
27
|
-
export declare function findDefinitionsSection(paragraphs: readonly DocParagraph[]): DefinitionsSection | null;
|
|
28
|
-
/**
|
|
29
|
-
* Where a definition of `term` goes in the section, alphabetically: before the first definition
|
|
30
|
-
* whose term sorts after it, else after the last definition (else right after the title).
|
|
31
|
-
*/
|
|
32
|
-
export declare function insertionIndex(paragraphs: readonly DocParagraph[], section: DefinitionsSection, term: string, skip?: ReadonlySet<string>): number;
|
|
33
|
-
/**
|
|
34
|
-
* Add a definition paragraph to the Definitions section (made at the end of the document when there
|
|
35
|
-
* is none), in alphabetical order. Answers where `keep` moved to.
|
|
36
|
-
*/
|
|
37
|
-
export declare function addDefinition(port: DefinitionsPort, definition: Definition, keep?: DocPoint): DocPoint | undefined;
|
|
38
|
-
export interface InsertTermResult {
|
|
39
|
-
/** The definition was not in the document yet and was added to its Definitions section. */
|
|
40
|
-
addedDefinition: boolean;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Insert a defined term at the caret: the term as an internal link to its definition's bookmark
|
|
44
|
-
* (its definition as the link's tooltip), the definition added to the Definitions section first
|
|
45
|
-
* when the document does not have it. `replace` characters before the caret (a typed `@@query`)
|
|
46
|
-
* are removed first. The caret ends after the term.
|
|
47
|
-
*/
|
|
48
|
-
export declare function insertDefinedTerm(port: DefinitionsPort, definition: Definition, options?: {
|
|
49
|
-
replace?: number;
|
|
50
|
-
}): InsertTermResult;
|
|
51
|
-
/** Term groups keyed for quick lookup of the definition a bookmark points at. */
|
|
52
|
-
export declare function definitionsById(definitions: readonly Definition[]): Map<string, Definition>;
|
|
53
|
-
/** The definition an internal link points at, from its bookmark name. */
|
|
54
|
-
export declare function definitionOfAnchor(anchor: string, definitions: ReadonlyMap<string, Definition>): Definition | undefined;
|
|
5
|
+
export { DEFINITIONS_HEADING, addDefinition, definitionOfAnchor, definitionsById, findDefinitionsSection, insertDefinedTerm, insertionIndex, isDefinitionsTitle, type DefinitionsSection, type InsertTermResult, } from '@arbidocs/coedit/commands';
|
|
@@ -1,42 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Defined-term content as WordprocessingML, and the clipboard
|
|
3
|
-
*
|
|
4
|
-
* fragment with everything in it — `w:bookmarkStart`/`w:bookmarkEnd` and `w:hyperlink w:anchor`
|
|
5
|
-
* included — freshening bookmark ids as it goes. So the term link, the bookmarked definition and a
|
|
6
|
-
* new Definitions heading are written here and pasted.
|
|
2
|
+
* Defined-term content as WordprocessingML, and the clipboard HTML that carries it into the editor:
|
|
3
|
+
* shared with the collaboration service (see `@arbidocs/coedit/commands`).
|
|
7
4
|
*/
|
|
8
|
-
import type {
|
|
9
|
-
|
|
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 };
|
|
12
|
-
/**
|
|
13
|
-
* The character styles the inserted content uses. A paste brings a style the document does not
|
|
14
|
-
* define; one it already defines (a house template's) is used as it is, so only the missing ones
|
|
15
|
-
* go into a fragment (see {@link stylesUsed}).
|
|
16
|
-
*/
|
|
17
|
-
export declare const CHARACTER_STYLES: Record<string, string>;
|
|
18
|
-
/** The character styles a fragment's runs use (`w:rStyle`), as ids. */
|
|
19
|
-
export declare function stylesUsed(body: string): string[];
|
|
20
|
-
/** What Word shows on hover over a term: its definition, as one line of at most 255 characters. */
|
|
21
|
-
export declare function definitionTooltip(definition: Pick<Definition, 'term' | 'rest'>): string;
|
|
22
|
-
/** The definition paragraph's text as the document shows it: `“Shares” means the issued shares.` */
|
|
23
|
-
export declare const definitionParagraphText: (definition: Pick<Definition, "term" | "rest">) => string;
|
|
24
|
-
/**
|
|
25
|
-
* A definition paragraph: the quoted term in bold, bookmarked (`bookmark`), then the definition as
|
|
26
|
-
* the fact writes it. `id` is the bookmark id inside the fragment; the paste renumbers it.
|
|
27
|
-
*/
|
|
28
|
-
export declare function definitionParagraphXml(definition: Pick<Definition, 'term' | 'rest'>, bookmark: string, id?: number): string;
|
|
29
|
-
/** A heading paragraph: the document's own heading style when it has one, else bold text. */
|
|
30
|
-
export declare function headingParagraphXml(text: string, styleId?: string): string;
|
|
31
|
-
/** The term as an internal link to its definition's bookmark, with the definition as its tooltip. */
|
|
32
|
-
export declare function termLinkXml(term: string, bookmark: string, tooltip: string): string;
|
|
5
|
+
import type { Revision } from '@arbidocs/coedit/template';
|
|
6
|
+
export { BROKEN_CROSS_REFERENCE_STYLE, CHARACTER_STYLES, CROSS_REFERENCE_STYLE, DEFINED_TERM_STYLE, definitionParagraphText, definitionParagraphXml, definitionTooltip, headingParagraphXml, stylesUsed, termLinkXml, } from '@arbidocs/coedit/commands';
|
|
33
7
|
/**
|
|
34
8
|
* Clipboard HTML carrying `body` (paragraph XML) as the editor's own fragment. `covered` says the
|
|
35
9
|
* last paragraph mark is part of it: the paste then ends with a whole paragraph (a block inserted
|
|
36
10
|
* before the caret's paragraph) instead of running into the text after the caret (inline).
|
|
37
11
|
* With a `revision`, the fragment is one tracked insertion by it.
|
|
38
12
|
*/
|
|
39
|
-
export declare function fragmentHtml(body: string, covered: boolean,
|
|
13
|
+
export declare function fragmentHtml(body: string, covered: boolean, options?: {
|
|
40
14
|
revision?: Revision | null;
|
|
41
15
|
/** Relationships the body refers to (a hyperlink's target). */
|
|
42
16
|
relationships?: string;
|
|
@@ -4,28 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { DocxEditorInstance } from '@docx-editor.dev/core';
|
|
6
6
|
import type { Revision } from '@arbidocs/coedit/template';
|
|
7
|
-
import { type
|
|
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';
|
|
9
|
-
export interface DefinitionsPort {
|
|
10
|
-
/** Every body paragraph, in document order (table cells included, `topLevel: false`). */
|
|
11
|
-
paragraphs(): DocParagraph[];
|
|
12
|
-
/** The caret, or `null` when the selection is a range or there is none. */
|
|
13
|
-
caret(): DocPoint | null;
|
|
14
|
-
setCaret(point: DocPoint): void;
|
|
15
|
-
/** Delete everything between two points (across paragraphs: the marks between them go too). */
|
|
16
|
-
deleteRange(from: DocPoint, to: DocPoint): void;
|
|
17
|
-
/**
|
|
18
|
-
* Paste paragraph XML at the caret. `covered`: the fragment ends with a whole paragraph, so at
|
|
19
|
-
* the start of a paragraph it lands as paragraphs before it. Otherwise it runs inline.
|
|
20
|
-
*/
|
|
21
|
-
paste(body: string, text: string, covered: boolean, relationships?: string): boolean;
|
|
22
|
-
/** Split the caret's paragraph (Enter), the caret moving into the new one. */
|
|
23
|
-
splitParagraph(): void;
|
|
24
|
-
/** Type plain text at the caret. */
|
|
25
|
-
typeText(text: string): void;
|
|
26
|
-
}
|
|
27
|
-
/** The style ids a document's styles part defines. */
|
|
28
|
-
export declare function documentStyleIds(root: OoxmlNodeLike | null | undefined): Set<string>;
|
|
7
|
+
import { type DefinitionsPort } from '@arbidocs/coedit/commands';
|
|
8
|
+
export { FIELD_ATOM, WATCHED_STYLES, documentStyleIds, readParagraphs, type DefinitionsPort, type DocField, type DocLink, type DocMark, type DocNote, type DocParagraph, type DocPoint, type OoxmlNodeLike, } from '@arbidocs/coedit/commands';
|
|
29
9
|
/**
|
|
30
10
|
* The port over a live editor. Writes go through the editor's own commands and paste; with a
|
|
31
11
|
* `revision`, what it pastes is a tracked insertion by it (see `trackedOrNoted`).
|
package/dist/docx/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkHF4PAYBM_cjs = require('../chunk-HF4PAYBM.cjs');
|
|
5
5
|
var chunkS24XEVPS_cjs = require('../chunk-S24XEVPS.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkETBB5KMN_cjs = require('../chunk-ETBB5KMN.cjs');
|
|
7
7
|
require('../chunk-5FYU7ZIU.cjs');
|
|
8
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-I2QSDQQV.cjs');
|
|
9
9
|
require('../chunk-RC25WMVB.cjs');
|
|
10
10
|
require('../chunk-7UTB4PHM.cjs');
|
|
11
11
|
require('../chunk-MHVNT4J3.cjs');
|
|
@@ -62,7 +62,7 @@ function NativeDocxComparison({
|
|
|
62
62
|
if (!documentId)
|
|
63
63
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "native-docx-error", role: "status", children: "Comparing Word documents\u2026" });
|
|
64
64
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
65
|
-
|
|
65
|
+
chunkETBB5KMN_cjs.NativeDocxEditor,
|
|
66
66
|
{
|
|
67
67
|
adapter,
|
|
68
68
|
documentId,
|
|
@@ -74,7 +74,7 @@ function NativeDocxComparison({
|
|
|
74
74
|
|
|
75
75
|
Object.defineProperty(exports, "StreamedWordArtifact", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkHF4PAYBM_cjs.StreamedWordArtifact; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "loadDocxFonts", {
|
|
80
80
|
enumerable: true,
|
|
@@ -82,171 +82,171 @@ Object.defineProperty(exports, "loadDocxFonts", {
|
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "BUILTIN_TEMPLATE_NAME", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkETBB5KMN_cjs.BUILTIN_TEMPLATE_NAME; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "CrossReferenceDialog", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkETBB5KMN_cjs.CrossReferenceDialog; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "CrossReferencesProvider", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkETBB5KMN_cjs.CrossReferencesProvider; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "DEFAULT_CROSS_REFERENCES_LABELS", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkETBB5KMN_cjs.DEFAULT_CROSS_REFERENCES_LABELS; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "DEFAULT_DEFINED_TERMS_LABELS", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkETBB5KMN_cjs.DEFAULT_DEFINED_TERMS_LABELS; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "DEFINED_TERM_TRIGGER", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkETBB5KMN_cjs.DEFINED_TERM_TRIGGER; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "DefinedTermsProvider", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkETBB5KMN_cjs.DefinedTermsProvider; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "DocxAuthorContext", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkETBB5KMN_cjs.DocxAuthorContext; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "DocxCommentActivity", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkETBB5KMN_cjs.DocxCommentActivity; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "DocxEditorReview", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkETBB5KMN_cjs.DocxEditorReview; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "DocxMentions", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkETBB5KMN_cjs.DocxMentions; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "DocxParticipants", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkETBB5KMN_cjs.DocxParticipants; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "DocxRibbon", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkETBB5KMN_cjs.DocxRibbon; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "GenerateImageButton", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkETBB5KMN_cjs.GenerateImageButton; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "HouseTemplateProvider", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkETBB5KMN_cjs.HouseTemplateProvider; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "LinkHoverCard", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkETBB5KMN_cjs.LinkHoverCard; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "NativeDocxEditor", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkETBB5KMN_cjs.NativeDocxEditor; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "builtinHouseTemplate", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkETBB5KMN_cjs.builtinHouseTemplate; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "contentPath", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkETBB5KMN_cjs.contentPath; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "editorPort", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkETBB5KMN_cjs.editorPort; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "findDefinitionsSection", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkETBB5KMN_cjs.findDefinitionsSection; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "insertCrossReference", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkETBB5KMN_cjs.insertCrossReference; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "insertDefinedTerm", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkETBB5KMN_cjs.insertDefinedTerm; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "insertDocumentReference", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkETBB5KMN_cjs.insertDocumentReference; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "listTargets", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkETBB5KMN_cjs.listTargets; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "normalizeDocxExport", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkETBB5KMN_cjs.normalizeDocxExport; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "paragraphNumber", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkETBB5KMN_cjs.paragraphNumber; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "referenceText", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkETBB5KMN_cjs.referenceText; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "referencesPort", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkETBB5KMN_cjs.referencesPort; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "resolveHouseTemplate", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkETBB5KMN_cjs.resolveHouseTemplate; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "reviewModule", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkETBB5KMN_cjs.reviewModule; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "shortTitle", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkETBB5KMN_cjs.shortTitle; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "structuralPort", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkETBB5KMN_cjs.structuralPort; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "templateFileName", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkETBB5KMN_cjs.templateFileName; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "trackedOrNoted", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkETBB5KMN_cjs.trackedOrNoted; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "useCrossReferences", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkETBB5KMN_cjs.useCrossReferences; }
|
|
226
226
|
});
|
|
227
227
|
Object.defineProperty(exports, "useDefinedTerms", {
|
|
228
228
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkETBB5KMN_cjs.useDefinedTerms; }
|
|
230
230
|
});
|
|
231
231
|
Object.defineProperty(exports, "useHouseTemplate", {
|
|
232
232
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkETBB5KMN_cjs.useHouseTemplate; }
|
|
234
234
|
});
|
|
235
235
|
Object.defineProperty(exports, "useReview", {
|
|
236
236
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkETBB5KMN_cjs.useReview; }
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "useReviewItem", {
|
|
240
240
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkETBB5KMN_cjs.useReviewItem; }
|
|
242
242
|
});
|
|
243
243
|
Object.defineProperty(exports, "useTrackedOrNoted", {
|
|
244
244
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkETBB5KMN_cjs.useTrackedOrNoted; }
|
|
246
246
|
});
|
|
247
247
|
Object.defineProperty(exports, "withDirectEditing", {
|
|
248
248
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkETBB5KMN_cjs.withDirectEditing; }
|
|
250
250
|
});
|
|
251
251
|
Object.defineProperty(exports, "DocxEditor", {
|
|
252
252
|
enumerable: true,
|
package/dist/docx/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { StreamedWordArtifact } from '../chunk-
|
|
2
|
+
export { StreamedWordArtifact } from '../chunk-TKJSCHSX.js';
|
|
3
3
|
export { loadDocxFonts } from '../chunk-GYAUJ4KT.js';
|
|
4
|
-
import { NativeDocxEditor } from '../chunk-
|
|
5
|
-
export { BUILTIN_TEMPLATE_NAME, CrossReferenceDialog, CrossReferencesProvider, DEFAULT_CROSS_REFERENCES_LABELS, DEFAULT_DEFINED_TERMS_LABELS, DEFINED_TERM_TRIGGER, DefinedTermsProvider, DocxAuthorContext, DocxCommentActivity, DocxEditorReview, DocxMentions, DocxParticipants, DocxRibbon, GenerateImageButton, HouseTemplateProvider, LinkHoverCard, NativeDocxEditor, builtinHouseTemplate, contentPath, editorPort, findDefinitionsSection, insertCrossReference, insertDefinedTerm, insertDocumentReference, listTargets, normalizeDocxExport, paragraphNumber, referenceText, referencesPort, resolveHouseTemplate, reviewModule, shortTitle, structuralPort, templateFileName, trackedOrNoted, useCrossReferences, useDefinedTerms, useHouseTemplate, useReview, useReviewItem, useTrackedOrNoted, withDirectEditing } from '../chunk-
|
|
4
|
+
import { NativeDocxEditor } from '../chunk-3OT37I24.js';
|
|
5
|
+
export { BUILTIN_TEMPLATE_NAME, CrossReferenceDialog, CrossReferencesProvider, DEFAULT_CROSS_REFERENCES_LABELS, DEFAULT_DEFINED_TERMS_LABELS, DEFINED_TERM_TRIGGER, DefinedTermsProvider, DocxAuthorContext, DocxCommentActivity, DocxEditorReview, DocxMentions, DocxParticipants, DocxRibbon, GenerateImageButton, HouseTemplateProvider, LinkHoverCard, NativeDocxEditor, builtinHouseTemplate, contentPath, editorPort, findDefinitionsSection, insertCrossReference, insertDefinedTerm, insertDocumentReference, listTargets, normalizeDocxExport, paragraphNumber, referenceText, referencesPort, resolveHouseTemplate, reviewModule, shortTitle, structuralPort, templateFileName, trackedOrNoted, useCrossReferences, useDefinedTerms, useHouseTemplate, useReview, useReviewItem, useTrackedOrNoted, withDirectEditing } from '../chunk-3OT37I24.js';
|
|
6
6
|
import '../chunk-HFZ45FD3.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-QXMR5YHC.js';
|
|
8
8
|
import '../chunk-AF6RDAJF.js';
|
|
9
9
|
import '../chunk-AA3PT6KR.js';
|
|
10
10
|
import '../chunk-7F6CBP3Z.js';
|