@docx-editor.dev/core 2.26.0 → 2.28.0
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/automation.cjs +1 -1
- package/dist/automation.d.ts +30 -13
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +20 -9
- package/dist/binding.js +1 -1
- package/dist/chunk-2GO5T2JU.cjs +1 -0
- package/dist/chunk-2RC2EPND.js +3 -0
- package/dist/chunk-4GBTELJV.cjs +28 -0
- package/dist/chunk-4R3TEXMN.js +18 -0
- package/dist/chunk-5CSUYANV.js +1 -0
- package/dist/chunk-6APGXLBB.cjs +3 -0
- package/dist/chunk-6AWEKBLB.cjs +1 -0
- package/dist/chunk-6EYYL7FL.js +1 -0
- package/dist/chunk-E7BQA6UP.js +2 -0
- package/dist/chunk-EO4C5QJW.cjs +2 -0
- package/dist/chunk-ETTO6GK3.js +1 -0
- package/dist/chunk-FIJZIQXA.cjs +18 -0
- package/dist/chunk-FRXAOVTB.js +28 -0
- package/dist/chunk-J6BVWIDB.js +2 -0
- package/dist/chunk-JGNVNT2A.cjs +2 -0
- package/dist/chunk-K5U2PLDP.cjs +2 -0
- package/dist/chunk-KKIJG3C6.js +2 -0
- package/dist/chunk-LWDSDCMO.js +27 -0
- package/dist/chunk-NBCVVZOM.cjs +1 -0
- package/dist/chunk-O2AL2HSJ.cjs +1 -0
- package/dist/{chunk-AJCCS53D.js → chunk-O5INAWZQ.js} +1 -1
- package/dist/chunk-QMLCVPCD.cjs +1 -0
- package/dist/chunk-RCHS4ZEH.cjs +27 -0
- package/dist/chunk-SRPILEWV.cjs +5 -0
- package/dist/chunk-TSLBZ26X.js +1 -0
- package/dist/chunk-VDNNLG6X.js +2 -0
- package/dist/chunk-VHAVHCQY.js +7 -0
- package/dist/chunk-VX43VBAX.cjs +7 -0
- package/dist/chunk-Z6WBFXJU.js +5 -0
- package/dist/chunk-ZUHOMK52.cjs +2 -0
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +50 -5
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.cjs +1 -1
- package/dist/collaboration.d.ts +98 -6
- package/dist/collaboration.js +1 -1
- package/dist/contracts/document.d.ts +17 -2
- package/dist/contracts/editor.d.ts +19 -9
- package/dist/contracts/interaction.d.ts +29 -0
- package/dist/contracts/modules.cjs +1 -1
- package/dist/contracts/modules.d.ts +29 -16
- package/dist/contracts/modules.js +1 -1
- package/dist/contracts/types.d.ts +10 -1
- package/dist/{custom-node-writes-Cy9imOjA.d.ts → custom-node-writes-cvL5rhcD.d.ts} +2 -2
- package/dist/{document-protection-Bp19Ad4I.d.ts → document-protection-BAGVGqaP.d.ts} +1 -1
- package/dist/{editor-DYUlyKmb.d.ts → editor-Ci7IZGmG.d.ts} +410 -163
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +5 -5
- package/dist/editor.d.ts +417 -31
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +37 -15
- package/dist/export.js +2 -2
- package/dist/failure-NS2lsya4.d.ts +115 -0
- package/dist/{font-resolver-u_nE0PI1.d.ts → font-resolver-BVQB14qT.d.ts} +1 -1
- package/dist/{headless-document-view-R9bzzepb.d.ts → headless-document-view-qH331moE.d.ts} +2 -2
- package/dist/{image-resources-DfagDguq.d.ts → image-resources-BN-hUgCn.d.ts} +9 -9
- package/dist/{index-Docw8Dcb.d.ts → index-Bsg7oIKP.d.ts} +270 -115
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +46 -18
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-DWitwY73.d.ts → layout-shaping-BEyuiQOk.d.ts} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +177 -249
- package/dist/layout.js +1 -1
- package/dist/{note-properties-CmfvOJsi.d.ts → note-properties-4Y9o6Gyk.d.ts} +1 -1
- package/dist/{omml-equation-CZ6IG2ja.d.ts → omml-equation-CuzBL5DD.d.ts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +18 -7
- package/dist/output.js +1 -1
- package/dist/{protocol-DniKeDb8.d.ts → protocol-Bqk4Izjc.d.ts} +48 -7
- package/dist/review-pane-D9jm8DcY.d.ts +128 -0
- package/dist/{review-paragraph-order-Dc8Q6tfM.d.ts → review-paragraph-order-DT-n6ouC.d.ts} +5 -2
- package/dist/{revision-projection-DfWxdBqA.d.ts → revision-projection-DZ4kKVev.d.ts} +74 -3
- package/dist/{semantic-cell-selection-Dy_BmmpL.d.ts → semantic-cell-selection-D9D1KSXq.d.ts} +8 -6
- package/dist/{semantic-interaction-CvFAj0GR.d.ts → semantic-interaction-CIC-PooQ.d.ts} +25 -34
- package/dist/{semantic-paint-Bk9wIXdZ.d.ts → semantic-paint-BME37OMv.d.ts} +57 -5
- package/dist/semantic-record-queries-CBlZqZNa.d.ts +177 -0
- package/dist/{semantic-records-COqi8pjP.d.ts → semantic-records-4B3WwFAi.d.ts} +84 -42
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +165 -137
- package/dist/store.js +1 -1
- package/dist/{tree-package-fragment-YPyYC1aD.d.ts → tree-package-fragment-BeeKxDw8.d.ts} +77 -57
- package/dist/{tree-session-contract-AeY2v0x9.d.ts → tree-session-contract-CVbmlMlq.d.ts} +7 -5
- package/dist/{types-barrel-BO73JqHG.d.ts → types-barrel-D3xCgQX6.d.ts} +595 -471
- package/package.json +3 -3
- package/dist/chunk-2BK4G4ZN.js +0 -2
- package/dist/chunk-2SJX44PC.cjs +0 -2
- package/dist/chunk-5BIASAN3.js +0 -1
- package/dist/chunk-6SEIXJTX.js +0 -1
- package/dist/chunk-73PG6L2X.js +0 -1
- package/dist/chunk-7RJSH72J.cjs +0 -5
- package/dist/chunk-AGKIHLWQ.cjs +0 -1
- package/dist/chunk-AN6WM4X4.js +0 -2
- package/dist/chunk-ANZ44KQT.cjs +0 -12
- package/dist/chunk-CYT3OQFZ.cjs +0 -1
- package/dist/chunk-DDGGSBAN.js +0 -12
- package/dist/chunk-EEAV3WIN.js +0 -3
- package/dist/chunk-ELQFXMJ5.cjs +0 -1
- package/dist/chunk-EYK4K2J6.js +0 -1
- package/dist/chunk-JNTETUNZ.cjs +0 -1
- package/dist/chunk-L6V3IJ3S.js +0 -5
- package/dist/chunk-LWCI65EL.js +0 -1
- package/dist/chunk-LZDI4P6I.cjs +0 -1
- package/dist/chunk-NS22DVWT.cjs +0 -2
- package/dist/chunk-QIE3YTU4.cjs +0 -2
- package/dist/chunk-QVBFPAGO.js +0 -5
- package/dist/chunk-RCCOLZEQ.js +0 -2
- package/dist/chunk-SUN62YU6.cjs +0 -5
- package/dist/chunk-TKQH7BNE.cjs +0 -1
- package/dist/chunk-TKR2MXX4.cjs +0 -3
- package/dist/chunk-UJL2GDIM.cjs +0 -25
- package/dist/chunk-WQTADNHK.cjs +0 -27
- package/dist/chunk-XSHXBJ2J.js +0 -25
- package/dist/chunk-YXZEBTDF.js +0 -27
- package/dist/failure-BIPVQbRm.d.ts +0 -65
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
import { R as ReviewModelInput, a as ReviewItem, O as OoxmlPart, b as ReviewRevisionItem } from '../types-barrel-BO73JqHG.js';
|
|
2
|
-
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, e as ReviewPosition, f as ReviewRange, g as ReviewRevisionKind, h as RevisionAddress } from '../types-barrel-BO73JqHG.js';
|
|
3
|
-
import { R as ReviewDisplayMode } from '../revision-projection-DfWxdBqA.js';
|
|
4
|
-
export { a as RevisionDisplayMode } from '../revision-projection-DfWxdBqA.js';
|
|
5
|
-
import { CollaborationModuleContribution } from '../collaboration.js';
|
|
6
|
-
import '../editor-scope-OHPwVQ5l.js';
|
|
7
|
-
import '../tree-package-fragment-YPyYC1aD.js';
|
|
8
|
-
import '../image-resources-DfagDguq.js';
|
|
9
|
-
import '../collaboration/replication.js';
|
|
10
|
-
import '../failure-BIPVQbRm.js';
|
|
11
|
-
|
|
12
1
|
/**
|
|
13
2
|
* `@docx-editor.dev/core/contracts/modules` — the `EditorModule` seam.
|
|
14
3
|
*
|
|
@@ -28,6 +17,17 @@ import '../failure-BIPVQbRm.js';
|
|
|
28
17
|
* @packageDocumentation
|
|
29
18
|
* @public
|
|
30
19
|
*/
|
|
20
|
+
import { R as RevisionMarkupDialogSession, a as ReviewDisplayMode } from '../revision-projection-DZ4kKVev.js';
|
|
21
|
+
export { b as RevisionDisplayMode } from '../revision-projection-DZ4kKVev.js';
|
|
22
|
+
import { R as ReviewPaneOptions } from '../review-pane-D9jm8DcY.js';
|
|
23
|
+
import { R as ReviewModelInput, a as ReviewItem, O as OoxmlPart, b as ReviewRevisionItem } from '../types-barrel-D3xCgQX6.js';
|
|
24
|
+
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, e as ReviewPosition, f as ReviewRange, g as ReviewRevisionKind, h as RevisionAddress } from '../types-barrel-D3xCgQX6.js';
|
|
25
|
+
import { CollaborationModuleContribution } from '../collaboration.js';
|
|
26
|
+
import '../editor-scope-OHPwVQ5l.js';
|
|
27
|
+
import '../tree-package-fragment-BeeKxDw8.js';
|
|
28
|
+
import '../image-resources-BN-hUgCn.js';
|
|
29
|
+
import '../collaboration/replication.js';
|
|
30
|
+
import '../failure-NS2lsya4.js';
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Derives the review queue — every pending revision decision and comment
|
|
@@ -38,6 +38,16 @@ import '../failure-BIPVQbRm.js';
|
|
|
38
38
|
* @public
|
|
39
39
|
*/
|
|
40
40
|
type CollectReviewItems = (input: ReviewModelInput) => readonly ReviewItem[];
|
|
41
|
+
/** Viewer settings dialog supplied by the review module. @public */
|
|
42
|
+
interface RevisionMarkupDialog {
|
|
43
|
+
open(): void;
|
|
44
|
+
destroy(): void;
|
|
45
|
+
}
|
|
46
|
+
/** Local settings access for review chrome. No document mutations occur here. @public */
|
|
47
|
+
interface RevisionMarkupDialogHost extends RevisionMarkupDialogSession {
|
|
48
|
+
readonly container: HTMLElement;
|
|
49
|
+
readonly translate?: (key: string) => string | undefined;
|
|
50
|
+
}
|
|
41
51
|
/**
|
|
42
52
|
* What a review module contributes: the queue derivation, and the revision
|
|
43
53
|
* display modes the editor may enter beyond the free tier's final-state
|
|
@@ -46,15 +56,18 @@ type CollectReviewItems = (input: ReviewModelInput) => readonly ReviewItem[];
|
|
|
46
56
|
* @public
|
|
47
57
|
*/
|
|
48
58
|
interface ReviewModuleContribution {
|
|
59
|
+
/** Create local review settings chrome when a host opens the dialog. */
|
|
60
|
+
readonly createRevisionMarkupDialog?: (host: RevisionMarkupDialogHost) => RevisionMarkupDialog;
|
|
49
61
|
/**
|
|
50
62
|
* Display modes this module unlocks (the free engine renders `proposed` only).
|
|
51
63
|
*
|
|
52
|
-
*
|
|
53
|
-
* default (`all-markup`), and no runtime mode switch exists yet. The list is
|
|
54
|
-
* carried so the future `setRevisionDisplayMode` command can validate against
|
|
55
|
-
* it without a breaking module-shape change.
|
|
64
|
+
* The module enables the listed review projections.
|
|
56
65
|
*/
|
|
57
66
|
readonly displayModes: readonly ReviewDisplayMode[];
|
|
67
|
+
/**
|
|
68
|
+
* The review pane settings the editor starts with. `setReviewPaneOptions` changes them later.
|
|
69
|
+
*/
|
|
70
|
+
readonly pane?: ReviewPaneOptions;
|
|
58
71
|
/** The review queue derivation. */
|
|
59
72
|
readonly collectReviewItems: CollectReviewItems;
|
|
60
73
|
/**
|
|
@@ -127,4 +140,4 @@ interface EditorModuleRegistry {
|
|
|
127
140
|
declare function resolveEditorModules(modules: readonly EditorModule[] | undefined): EditorModuleRegistry;
|
|
128
141
|
|
|
129
142
|
export { CollaborationModuleContribution, OoxmlPart, ReviewDisplayMode, ReviewItem, ReviewModelInput, ReviewRevisionItem, resolveEditorModules };
|
|
130
|
-
export type { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution };
|
|
143
|
+
export type { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution, RevisionMarkupDialog, RevisionMarkupDialogHost };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as resolveEditorModules}from'../chunk-
|
|
1
|
+
export{a as resolveEditorModules}from'../chunk-O5INAWZQ.js';
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* `@docx-editor.dev/core/contracts/types` — the shared type vocabulary. Zero runtime.
|
|
3
|
+
*
|
|
4
|
+
* Addressing (`DocAnchor`, `DocTarget`), the document model, and the geometry primitives every
|
|
5
|
+
* other contract is written in terms of.
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export { B as Block, r as ColorValue, m as ContainerRef, s as ContentControl, n as ContentControlFilter, i as ContentControlType, t as DocAnchor, u as DocAnchorRange, q as DocComment, v as DocLocation, o as DocRange, j as DocTarget, w as DocumentBody, D as DocxDocument, av as DocxDocumentJSON, x as ExecErrorCode, E as ExecResult, l as Extent, ay as FontDefinition, H as HeaderFooterSet, y as IndentFormatting, I as InsertableContentControlType, az as NumberingRef, aA as PageMargins, P as Paragraph, aB as ParagraphDisagreements, z as ParagraphFlags, aq as ParagraphFormatCommand, A as ParagraphTabStop, aC as Point, as as Rect, p as Revision, F as RevisionType, aD as Run, k as RunFormatting, G as Section, J as SectionProperties, at as SelectionPin, K as StyleDefinition, S as StyleDefinitions, T as Table, aE as TableCell, aF as TableRow, L as Theme, M as ThemeColorScheme, au as Unsubscribe, ar as Watermark } from '../types-barrel-D3xCgQX6.js';
|
|
2
11
|
import '../editor-scope-OHPwVQ5l.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Q as OoxmlPackage, O as OoxmlPart, N as OoxmlNode,
|
|
2
|
-
import {
|
|
1
|
+
import { Q as OoxmlPackage, O as OoxmlPart, N as OoxmlNode, a8 as TreeOpRejection } from './types-barrel-D3xCgQX6.js';
|
|
2
|
+
import { e as TreeModelChange, f as TreeDocumentStore } from './tree-package-fragment-BeeKxDw8.js';
|
|
3
3
|
|
|
4
4
|
/** Which of a family's four faces an embedded font relationship supplies. */
|
|
5
5
|
type FontStyleKey = 'regular' | 'bold' | 'italic' | 'boldItalic';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as OoxmlNode } from './types-barrel-
|
|
1
|
+
import { N as OoxmlNode } from './types-barrel-D3xCgQX6.js';
|
|
2
2
|
|
|
3
3
|
/** `ST_DocProtect`: the restriction a document asks for. `none` also stands for "no element". */
|
|
4
4
|
type DocumentProtectionEdit = 'none' | 'readOnly' | 'comments' | 'trackedChanges' | 'forms';
|