@docx-editor.dev/core 2.32.0 → 2.33.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/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +1 -0
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.ts +13 -51
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +14 -14
- package/dist/binding.js +1 -1
- package/dist/{chrome-print-CznJ0ucN.d.ts → chrome-print-CrPI9ZQc.d.ts} +85 -30
- package/dist/chunk-23MKR33J.js +4 -0
- package/dist/chunk-2DEY5NUC.cjs +32 -0
- package/dist/chunk-2DR4TH6B.js +1 -0
- package/dist/{chunk-ETDZFNMI.js → chunk-2F2UEAE2.js} +1 -1
- package/dist/chunk-2GPGAFOJ.cjs +5 -0
- package/dist/chunk-ALD626VU.cjs +2 -0
- package/dist/chunk-AU33YWEJ.js +236 -0
- package/dist/chunk-AXU63LYW.cjs +1 -0
- package/dist/chunk-CM5VZRBV.js +32 -0
- package/dist/chunk-D7FAFFTN.js +1 -0
- package/dist/{chunk-TJHE5EET.cjs → chunk-DYUVJNDD.cjs} +1 -1
- package/dist/chunk-ESYUKD5D.js +2 -0
- package/dist/chunk-F7TGQMVR.js +5 -0
- package/dist/chunk-FLW7KIQX.js +30 -0
- package/dist/chunk-JG4A6W6I.js +7 -0
- package/dist/chunk-JNGLSBPH.js +2 -0
- package/dist/chunk-KE6ZWRIY.cjs +236 -0
- package/dist/{chunk-L5TYBFDB.js → chunk-L3YXJDPX.js} +1 -1
- package/dist/chunk-LI42N7OW.cjs +4 -0
- package/dist/{chunk-ACLR4DMK.js → chunk-PLKDS4JT.js} +1 -1
- package/dist/{chunk-6UDJUI3W.cjs → chunk-PXMTQ73F.cjs} +1 -1
- package/dist/chunk-R4R3AAE4.js +1 -0
- package/dist/{chunk-OKMEMSKB.cjs → chunk-RFUNFTGV.cjs} +1 -1
- package/dist/chunk-SVM6PGMS.js +3 -0
- package/dist/chunk-SZURLHR3.cjs +3 -0
- package/dist/chunk-UYCGCVZ2.cjs +1 -0
- package/dist/chunk-X34QRAUU.cjs +1 -0
- package/dist/chunk-XNBYG4XJ.cjs +30 -0
- package/dist/chunk-ZDFJW5XS.cjs +2 -0
- package/dist/chunk-ZWO4JHNN.cjs +7 -0
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +13 -4
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.d.ts +3 -3
- package/dist/contracts/document.d.ts +3 -3
- package/dist/contracts/editor.d.ts +10 -10
- package/dist/contracts/interaction.d.ts +2 -2
- package/dist/contracts/modules.d.ts +12 -12
- package/dist/contracts/types.d.ts +4 -4
- package/dist/{custom-node-writes-CLJKGD9t.d.ts → custom-node-writes-AqY5KpVx.d.ts} +2 -2
- package/dist/diagnostic-context-CuzhOX0g.d.ts +98 -0
- package/dist/{diagnostic-hints-DK8-V0fk.d.ts → diagnostic-hints-BtCaCqQC.d.ts} +2 -2
- package/dist/{document-protection-NaniLHWF.d.ts → document-protection-BvbpSXbQ.d.ts} +1 -1
- package/dist/{headless-document-view-Bcz9_Qva.d.ts → drawing-graphic-kind-CXYGYbB3.d.ts} +74 -4
- package/dist/drawing-preview-package-B9lSLRg4.d.ts +115 -0
- package/dist/{editor-DZwOTmlR.d.ts → editor-B7OOAAie.d.ts} +85 -13
- package/dist/{editor-scope-B3L-1ALc.d.ts → editor-scope-CA6egMaK.d.ts} +5 -1
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +4 -4
- package/dist/editor.d.ts +215 -31
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +47 -12
- package/dist/export.js +2 -2
- package/dist/{font-resolver-BlQNGdvR.d.ts → font-resolver-Bm9XqTNO.d.ts} +14 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +38 -23
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-E5J4Z1Gf.d.ts → layout-shaping-Ci_BTnSU.d.ts} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +174 -99
- package/dist/layout.js +1 -1
- package/dist/metafile-drawing-DtMFyMKq.d.ts +107 -0
- package/dist/{note-properties-Ds5R2_3F.d.ts → note-properties-DCIJUKIy.d.ts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +11 -11
- package/dist/output.js +1 -1
- package/dist/{protocol-DKa4qt7F.d.ts → protocol-Cp_QzVxS.d.ts} +2 -2
- package/dist/{review-paragraph-order-Dc17w_6v.d.ts → review-paragraph-order-BJQ43_r0.d.ts} +1 -1
- package/dist/{revision-projection-Cn6rZJ7H.d.ts → revision-projection-OVusTS77.d.ts} +1 -1
- package/dist/{semantic-cell-selection-BaUR0iJ4.d.ts → semantic-cell-selection-CoI5hHBm.d.ts} +2 -2
- package/dist/{semantic-interaction-CJoHLoOl.d.ts → semantic-interaction-BbA4dgEo.d.ts} +1 -1
- package/dist/{semantic-paint-BPw_n0li.d.ts → semantic-paint-B5JcIv9c.d.ts} +16 -9
- package/dist/{semantic-record-queries-C0rJ3sB4.d.ts → semantic-record-queries-DnO8J5_j.d.ts} +1 -1
- package/dist/{semantic-records-BvN-WWst.d.ts → semantic-records-DoK0lNjS.d.ts} +254 -43
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +510 -18
- package/dist/store.js +1 -1
- package/dist/{tree-op-types-C_S2niXW.d.ts → tree-op-types-Df4oY2u4.d.ts} +718 -252
- package/dist/{tree-package-store-CRHvMyNj.d.ts → tree-package-store-DXhX1PE-.d.ts} +8 -3
- package/dist/{tree-session-contract-D1awo_dA.d.ts → tree-session-contract-CF2625mv.d.ts} +5 -5
- package/dist/{unsupported-elements-CVos5cqe.d.ts → unsupported-elements-CUojsaCr.d.ts} +1 -1
- package/licenses/ECMA-376.md +29 -0
- package/package.json +2 -2
- package/dist/bookmark-names-DDuAra_V.d.ts +0 -37
- package/dist/chunk-25EXMBV2.cjs +0 -5
- package/dist/chunk-3IEXDEFH.cjs +0 -7
- package/dist/chunk-65XBN67F.cjs +0 -2
- package/dist/chunk-6NVZNB7O.cjs +0 -3
- package/dist/chunk-B2BEELUE.js +0 -1
- package/dist/chunk-DDFHKQFU.js +0 -30
- package/dist/chunk-E4IAO4CY.cjs +0 -2
- package/dist/chunk-FDSL5OJU.cjs +0 -30
- package/dist/chunk-FS7CMYLT.js +0 -4
- package/dist/chunk-GDS24SZN.js +0 -30
- package/dist/chunk-GIY6NT2X.js +0 -5
- package/dist/chunk-GWM3AKUD.js +0 -18
- package/dist/chunk-HDOXACHP.js +0 -2
- package/dist/chunk-IILEENID.js +0 -1
- package/dist/chunk-MNF2K7NN.cjs +0 -30
- package/dist/chunk-O324RB6R.cjs +0 -1
- package/dist/chunk-QXJKYNYZ.js +0 -1
- package/dist/chunk-RALTVLB6.js +0 -2
- package/dist/chunk-SRVKFUFI.js +0 -3
- package/dist/chunk-TELQ52LG.cjs +0 -1
- package/dist/chunk-UMMRURPE.js +0 -7
- package/dist/chunk-XJYZVGQR.cjs +0 -1
- package/dist/chunk-ZGTIE3QJ.cjs +0 -4
- package/dist/chunk-ZOZI27AW.cjs +0 -18
- package/dist/diagnostic-context-BtDUY3v2.d.ts +0 -31
package/dist/output.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkLI42N7OW_cjs=require('./chunk-LI42N7OW.cjs');require('./chunk-SZURLHR3.cjs'),require('./chunk-2DEY5NUC.cjs'),require('./chunk-DYUVJNDD.cjs'),require('./chunk-ZDFJW5XS.cjs'),require('./chunk-KE6ZWRIY.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkLI42N7OW_cjs.p}});Object.defineProperty(exports,"collectPageChangeBars",{enumerable:true,get:function(){return chunkLI42N7OW_cjs.j}});Object.defineProperty(exports,"lumTransfer",{enumerable:true,get:function(){return chunkLI42N7OW_cjs.k}});Object.defineProperty(exports,"observeUnsupportedElements",{enumerable:true,get:function(){return chunkLI42N7OW_cjs.a}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkLI42N7OW_cjs.u}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkLI42N7OW_cjs.s}});
|
package/dist/output.d.ts
CHANGED
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
import { R as ReviewAuthorInfo } from './semantic-paint-
|
|
12
|
-
export { B as BreakMarkStrings, C as ChangeBarsMode, D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PageChangeBars, d as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, e as collectPageChangeBars, p as paintSemanticLayout } from './semantic-paint-
|
|
13
|
-
import { S as SemanticLayout } from './semantic-records-
|
|
14
|
-
export { U as UnsupportedElement, e as UnsupportedElementLayout, f as UnsupportedElementRule } from './semantic-records-
|
|
15
|
-
export { U as UnsupportedElementHost, o as observeUnsupportedElements } from './unsupported-elements-
|
|
16
|
-
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
21
|
-
import './tree-package-store-
|
|
11
|
+
import { R as ReviewAuthorInfo } from './semantic-paint-B5JcIv9c.js';
|
|
12
|
+
export { B as BreakMarkStrings, C as ChangeBarsMode, D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PageChangeBars, d as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, e as collectPageChangeBars, p as paintSemanticLayout } from './semantic-paint-B5JcIv9c.js';
|
|
13
|
+
import { S as SemanticLayout } from './semantic-records-DoK0lNjS.js';
|
|
14
|
+
export { U as UnsupportedElement, e as UnsupportedElementLayout, f as UnsupportedElementRule } from './semantic-records-DoK0lNjS.js';
|
|
15
|
+
export { U as UnsupportedElementHost, o as observeUnsupportedElements } from './unsupported-elements-CUojsaCr.js';
|
|
16
|
+
export { D as DrawingGraphicKind, a as DrawingSupport, b as DrawingSupportIssue } from './drawing-graphic-kind-CXYGYbB3.js';
|
|
17
|
+
import './revision-projection-OVusTS77.js';
|
|
18
|
+
import './tree-op-types-Df4oY2u4.js';
|
|
19
|
+
import './editor-scope-CA6egMaK.js';
|
|
20
|
+
import './semantic-record-queries-DnO8J5_j.js';
|
|
21
|
+
import './tree-package-store-DXhX1PE-.js';
|
|
22
22
|
|
|
23
23
|
/** A rectangle in page-content coordinates, on a named page. */
|
|
24
24
|
interface OverlayRect {
|
package/dist/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{p as DEFAULT_FIELD_SHADING,j as collectPageChangeBars,k as lumTransfer,a as observeUnsupportedElements,u as paintSelectionOverlay,s as paintSemanticLayout}from'./chunk-
|
|
1
|
+
export{p as DEFAULT_FIELD_SHADING,j as collectPageChangeBars,k as lumTransfer,a as observeUnsupportedElements,u as paintSelectionOverlay,s as paintSemanticLayout}from'./chunk-23MKR33J.js';import'./chunk-SVM6PGMS.js';import'./chunk-RIYSCEFQ.js';import'./chunk-CM5VZRBV.js';import'./chunk-PLKDS4JT.js';import'./chunk-JNGLSBPH.js';import'./chunk-AU33YWEJ.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { aB as AutomationTableMutation, Q as RevisionBatchResult, K as RevisionAuthorResult } from './tree-op-types-Df4oY2u4.js';
|
|
2
|
+
import { H as HeaderFooterVariant, N as NoteKind } from './tree-package-store-DXhX1PE-.js';
|
|
3
3
|
|
|
4
4
|
/** Word's shape types, as `Word.ShapeType` spells them. */
|
|
5
5
|
type AutomationShapeType = 'TextBox' | 'GeometricShape' | 'Picture' | 'Group' | 'Canvas' | 'Unsupported';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as OoxmlNode, av as OoxmlElement, aw as OoxmlContentControlNode, ax as OoxmlGenericElementNode, ay as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './tree-op-types-
|
|
1
|
+
import { a4 as OoxmlNode, av as OoxmlElement, aw as OoxmlContentControlNode, ax as OoxmlGenericElementNode, ay as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './tree-op-types-Df4oY2u4.js';
|
|
2
2
|
|
|
3
3
|
/** Nested content-control wrappers deeper than this stop flattening; content stays preserved. */
|
|
4
4
|
declare const MAX_CONTENT_CONTROL_NESTING = 32;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as OoxmlNode } from './tree-op-types-
|
|
1
|
+
import { a4 as OoxmlNode } from './tree-op-types-Df4oY2u4.js';
|
|
2
2
|
|
|
3
3
|
/** Named revision colors. Identifiers are stable and never contain CSS. @public */
|
|
4
4
|
declare const REVISION_MARKUP_COLORS: readonly ['black', 'blue', 'turquoise', 'green', 'pink', 'red', 'yellow', 'white', 'darkBlue', 'teal', 'darkGreen', 'violet', 'darkRed', 'darkYellow', 'gray50', 'gray25', 'lightBlue', 'lightYellow', 'lightOrange', 'lightPurple', 'lightGreen', 'gray'];
|
package/dist/{semantic-cell-selection-BaUR0iJ4.d.ts → semantic-cell-selection-CoI5hHBm.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-
|
|
2
|
-
import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, g as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, h as TableRowFragmentRecord, i as TableCellFragmentRecord } from './semantic-records-
|
|
1
|
+
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-BbA4dgEo.js';
|
|
2
|
+
import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, g as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, h as TableRowFragmentRecord, i as TableCellFragmentRecord } from './semantic-records-DoK0lNjS.js';
|
|
3
3
|
|
|
4
4
|
/** A point in the coordinate space named by the function taking it. */
|
|
5
5
|
interface HitPoint {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, g as StyleSpanRecord } from './semantic-records-
|
|
1
|
+
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, g as StyleSpanRecord } from './semantic-records-DoK0lNjS.js';
|
|
2
2
|
|
|
3
3
|
/** How `moveCaret` resolves a motion. */
|
|
4
4
|
interface MoveCaretOptions {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as ResolvedRevisionMarkup } from './revision-projection-
|
|
2
|
-
import { ap as ValidatedImageBytesHandle, al as RenderableImageMime, av as OoxmlElement } from './tree-op-types-
|
|
3
|
-
import { a as PageRecord, C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-
|
|
4
|
-
import { S as SemanticRootStoryKind } from './semantic-record-queries-
|
|
1
|
+
import { d as ResolvedRevisionMarkup } from './revision-projection-OVusTS77.js';
|
|
2
|
+
import { ap as ValidatedImageBytesHandle, al as RenderableImageMime, av as OoxmlElement } from './tree-op-types-Df4oY2u4.js';
|
|
3
|
+
import { a as PageRecord, C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-DoK0lNjS.js';
|
|
4
|
+
import { S as SemanticRootStoryKind } from './semantic-record-queries-DnO8J5_j.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Everything a host can say about ONE author's presentation. Every field is optional and
|
|
@@ -119,14 +119,14 @@ interface RevisionStyleContext {
|
|
|
119
119
|
readonly key: string;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
/** Host port for safe blob URLs — only called for {@link ImageResourceState.kind} `ready`. */
|
|
123
|
-
interface PaintImageUrlPort {
|
|
124
|
-
create(handle: ValidatedImageBytesHandle, mime: RenderableImageMime): string;
|
|
125
|
-
revoke(url: string): void;
|
|
126
|
-
}
|
|
127
122
|
/** Localized refusal labels; adapters supply i18n-backed implementations. */
|
|
128
123
|
interface DrawingPaintStrings {
|
|
129
124
|
readonly unsupportedFormat: (format: string) => string;
|
|
125
|
+
/**
|
|
126
|
+
* The whole label of a placeholder for a graphic that is not a picture. `kind` is a
|
|
127
|
+
* `DrawingPlaceholderKind` (`chart`, `diagram`, `shape`, `group`, `textbox`, `canvas` or
|
|
128
|
+
* `graphic`); the label names that kind, so a chart reads as a chart that is not shown.
|
|
129
|
+
*/
|
|
130
130
|
readonly nonPictureGraphic: (kind: string) => string;
|
|
131
131
|
readonly missingResource: string;
|
|
132
132
|
readonly externalResource: string;
|
|
@@ -137,6 +137,12 @@ interface DrawingPaintStrings {
|
|
|
137
137
|
readonly pendingResource: string;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
+
/** Host port for safe blob URLs — only called for {@link ImageResourceState.kind} `ready`. */
|
|
141
|
+
interface PaintImageUrlPort {
|
|
142
|
+
create(handle: ValidatedImageBytesHandle, mime: RenderableImageMime): string;
|
|
143
|
+
revoke(url: string): void;
|
|
144
|
+
}
|
|
145
|
+
|
|
140
146
|
/** Localized break labels; adapters supply i18n-backed implementations. */
|
|
141
147
|
interface BreakMarkStrings {
|
|
142
148
|
readonly pageBreak: string;
|
|
@@ -201,6 +207,7 @@ declare const DEFAULT_FIELD_SHADING: FieldShadingMode;
|
|
|
201
207
|
*/
|
|
202
208
|
interface PaintOptions {
|
|
203
209
|
readonly unsupportedOwnerPartName?: (nodeId: string) => string;
|
|
210
|
+
readonly includePartial?: boolean;
|
|
204
211
|
readonly unsupportedSource?: (nodeId: string, ownerPartName?: string) => OoxmlElement | null;
|
|
205
212
|
/** Points to CSS pixels. 96/72 renders a point as a CSS point at 100% zoom. */
|
|
206
213
|
readonly scale?: number;
|
package/dist/{semantic-record-queries-C0rJ3sB4.d.ts → semantic-record-queries-DnO8J5_j.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, P as ParagraphFragmentRecord, L as LineRecord, a as PageRecord, N as NoteAreaRecord, b as LayoutBox, H as HeaderFooterStoryRecord, c as NoteStoryRecord, B as BlockFragmentRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, d as ContentControlLock } from './semantic-records-
|
|
1
|
+
import { I as InlineDrawingRecord, A as AnchoredDrawingRecord, P as ParagraphFragmentRecord, L as LineRecord, a as PageRecord, N as NoteAreaRecord, b as LayoutBox, H as HeaderFooterStoryRecord, c as NoteStoryRecord, B as BlockFragmentRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, d as ContentControlLock } from './semantic-records-DoK0lNjS.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Depth-first paragraph fragments of one page, in reading order.
|