@docx-editor.dev/core 2.30.0 → 2.32.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 +24 -0
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.ts +18 -27
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +17 -16
- package/dist/binding.js +1 -1
- package/dist/bookmark-names-DDuAra_V.d.ts +37 -0
- package/dist/{chrome-print-BM3Js-6X.d.ts → chrome-print-CznJ0ucN.d.ts} +361 -41
- package/dist/chunk-25EXMBV2.cjs +5 -0
- package/dist/chunk-2CWQY27B.cjs +1 -0
- package/dist/chunk-3IEXDEFH.cjs +7 -0
- package/dist/chunk-65XBN67F.cjs +2 -0
- package/dist/chunk-6NVZNB7O.cjs +3 -0
- package/dist/chunk-6UDJUI3W.cjs +2 -0
- package/dist/chunk-ACLR4DMK.js +1 -0
- package/dist/{chunk-RJCQGJR7.js → chunk-B2BEELUE.js} +1 -1
- package/dist/chunk-DDFHKQFU.js +30 -0
- package/dist/chunk-E4IAO4CY.cjs +2 -0
- package/dist/chunk-ETDZFNMI.js +2 -0
- package/dist/chunk-FDSL5OJU.cjs +30 -0
- package/dist/chunk-FS7CMYLT.js +4 -0
- package/dist/chunk-GDS24SZN.js +30 -0
- package/dist/chunk-GIY6NT2X.js +5 -0
- package/dist/chunk-GWM3AKUD.js +18 -0
- package/dist/chunk-HDOXACHP.js +2 -0
- package/dist/chunk-IILEENID.js +1 -0
- package/dist/chunk-L5TYBFDB.js +1 -0
- package/dist/chunk-MNF2K7NN.cjs +30 -0
- package/dist/chunk-O324RB6R.cjs +1 -0
- package/dist/chunk-OKMEMSKB.cjs +1 -0
- package/dist/chunk-QXJKYNYZ.js +1 -0
- package/dist/chunk-RALTVLB6.js +2 -0
- package/dist/chunk-SRVKFUFI.js +3 -0
- package/dist/chunk-TELQ52LG.cjs +1 -0
- package/dist/chunk-TJHE5EET.cjs +1 -0
- package/dist/chunk-UMMRURPE.js +7 -0
- package/dist/chunk-WN7ICTA5.js +1 -0
- package/dist/{chunk-FLBEJC6X.cjs → chunk-XJYZVGQR.cjs} +1 -1
- package/dist/chunk-ZGTIE3QJ.cjs +4 -0
- package/dist/chunk-ZOZI27AW.cjs +18 -0
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +20 -5
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.cjs +1 -1
- package/dist/collaboration.d.ts +5 -6
- package/dist/collaboration.js +1 -1
- package/dist/contracts/document.d.ts +3 -3
- package/dist/contracts/editor.d.ts +13 -10
- package/dist/contracts/interaction.d.ts +2 -2
- package/dist/contracts/modules.d.ts +15 -13
- package/dist/contracts/types.d.ts +135 -2
- package/dist/{custom-node-writes-0v0Kgw1T.d.ts → custom-node-writes-CLJKGD9t.d.ts} +7 -2
- package/dist/{diagnostic-context-CcAO4q1s.d.ts → diagnostic-context-BtDUY3v2.d.ts} +3 -2
- package/dist/{diagnostic-hints-2Bke6H_w.d.ts → diagnostic-hints-DK8-V0fk.d.ts} +2 -2
- package/dist/{document-protection-8eyMWIJ0.d.ts → document-protection-NaniLHWF.d.ts} +1 -1
- package/dist/{editor-DaEJd2so.d.ts → editor-DZwOTmlR.d.ts} +386 -279
- package/dist/editor-fonts-D_-vjuJi.d.ts +53 -0
- package/dist/{editor-scope-7o9xweiJ.d.ts → editor-scope-B3L-1ALc.d.ts} +57 -4
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +6 -4
- package/dist/editor.d.ts +646 -31
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +9 -16
- package/dist/export.js +2 -2
- package/dist/{failure-NS2lsya4.d.ts → failure-6KGFrDO9.d.ts} +1 -1
- package/dist/{font-resolver-CL9BVKZo.d.ts → font-resolver-BlQNGdvR.d.ts} +1 -1
- package/dist/{headless-document-view-DZQN8Bnx.d.ts → headless-document-view-Bcz9_Qva.d.ts} +115 -4
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +27 -26
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-cEnVrhWg.d.ts → layout-shaping-E5J4Z1Gf.d.ts} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +95 -23
- package/dist/layout.js +1 -1
- package/dist/{note-properties-9FH8zAeG.d.ts → note-properties-Ds5R2_3F.d.ts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +24 -10
- package/dist/output.js +1 -1
- package/dist/{protocol-CZ1uUlPO.d.ts → protocol-DKa4qt7F.d.ts} +167 -5
- package/dist/{review-paragraph-order-CqVelc5A.d.ts → review-paragraph-order-Dc17w_6v.d.ts} +1 -1
- package/dist/revision-projection-Cn6rZJ7H.d.ts +258 -0
- package/dist/{semantic-cell-selection-Dr9yxFZt.d.ts → semantic-cell-selection-BaUR0iJ4.d.ts} +2 -2
- package/dist/{semantic-interaction-Dc3pf3hr.d.ts → semantic-interaction-CJoHLoOl.d.ts} +1 -1
- package/dist/{semantic-paint-Bz3FBAoH.d.ts → semantic-paint-BPw_n0li.d.ts} +7 -4
- package/dist/{semantic-record-queries-Bx0pl6kL.d.ts → semantic-record-queries-C0rJ3sB4.d.ts} +1 -1
- package/dist/{semantic-records-CjcF26ZL.d.ts → semantic-records-BvN-WWst.d.ts} +365 -512
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +47 -22
- package/dist/store.js +1 -1
- package/dist/{types-barrel-CA0xB8kH.d.ts → tree-op-types-C_S2niXW.d.ts} +1239 -747
- package/dist/{tree-package-store-DKhdEVym.d.ts → tree-package-store-CRHvMyNj.d.ts} +676 -646
- package/dist/{tree-session-contract-CwnTEVLF.d.ts → tree-session-contract-D1awo_dA.d.ts} +26 -13
- package/dist/unsupported-elements-CVos5cqe.d.ts +23 -0
- package/docs/accept-reject-without-scrolling.md +95 -0
- package/docs/comment-on-found-text.md +72 -0
- package/docs/custom-review-cards.md +178 -0
- package/docs/highlight-ranges.md +48 -0
- package/docs/index.md +36 -0
- package/docs/propose-rewrite.md +247 -0
- package/docs/tracked-replacement.md +68 -0
- package/package.json +3 -2
- package/dist/chunk-2PV5L5NJ.js +0 -5
- package/dist/chunk-5OTS2EJ7.js +0 -7
- package/dist/chunk-5P4223J4.cjs +0 -27
- package/dist/chunk-5RRAZMBU.cjs +0 -1
- package/dist/chunk-5SPITS5F.js +0 -18
- package/dist/chunk-6JIJOZDW.js +0 -1
- package/dist/chunk-7ATNKARV.js +0 -2
- package/dist/chunk-BGCUTKWE.cjs +0 -5
- package/dist/chunk-BTQKU64Q.cjs +0 -1
- package/dist/chunk-EBCXSH2W.js +0 -3
- package/dist/chunk-ERECKTIR.cjs +0 -2
- package/dist/chunk-HYASLE2G.cjs +0 -1
- package/dist/chunk-JC47NRJC.cjs +0 -3
- package/dist/chunk-KJRTNY2Q.cjs +0 -2
- package/dist/chunk-NKPUH3QJ.js +0 -1
- package/dist/chunk-PF5NJWS3.js +0 -2
- package/dist/chunk-PWTRJSES.cjs +0 -18
- package/dist/chunk-QFKGI242.cjs +0 -30
- package/dist/chunk-RPPV4S6T.cjs +0 -4
- package/dist/chunk-T32MGBJS.js +0 -1
- package/dist/chunk-UM26GH5B.js +0 -30
- package/dist/chunk-VRCZBFLH.js +0 -27
- package/dist/chunk-WF7JZ755.cjs +0 -1
- package/dist/chunk-WK5X2MMA.cjs +0 -7
- package/dist/chunk-WPDD2Y32.js +0 -2
- package/dist/chunk-YBMWBXST.cjs +0 -2
- package/dist/chunk-YZGUBCHP.js +0 -1
- package/dist/chunk-ZOS2PM4A.js +0 -4
- package/dist/image-resources-Bipz8toD.d.ts +0 -211
- package/dist/omml-equation-DP2WpUbK.d.ts +0 -97
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkO324RB6R_cjs=require('../chunk-O324RB6R.cjs'),chunkZOZI27AW_cjs=require('../chunk-ZOZI27AW.cjs');Object.defineProperty(exports,"createCollaborationDocumentPort",{enumerable:true,get:function(){return chunkO324RB6R_cjs.b}});Object.defineProperty(exports,"mapOffsetAcrossText",{enumerable:true,get:function(){return chunkO324RB6R_cjs.c}});Object.defineProperty(exports,"historyGroupOfJournal",{enumerable:true,get:function(){return chunkZOZI27AW_cjs.Na}});Object.defineProperty(exports,"registerUndoHistoryPosition",{enumerable:true,get:function(){return chunkZOZI27AW_cjs.Vl}});Object.defineProperty(exports,"reportHistoryGroup",{enumerable:true,get:function(){return chunkZOZI27AW_cjs.Ul}});
|
|
@@ -14,11 +14,10 @@
|
|
|
14
14
|
* @packageDocumentation
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
import { d as HistoryGroup, T as TreePackageStore, e as TreeModelChange } from '../tree-package-store-
|
|
18
|
-
export { r as reportHistoryGroup } from '../tree-package-store-
|
|
19
|
-
import {
|
|
20
|
-
import '../
|
|
21
|
-
import '../editor-scope-7o9xweiJ.js';
|
|
17
|
+
import { d as HistoryGroup, T as TreePackageStore, e as TreeModelChange } from '../tree-package-store-CRHvMyNj.js';
|
|
18
|
+
export { r as reportHistoryGroup } from '../tree-package-store-CRHvMyNj.js';
|
|
19
|
+
import { av as OoxmlElement, a5 as OoxmlPackage } from '../tree-op-types-C_S2niXW.js';
|
|
20
|
+
import '../editor-scope-B3L-1ALc.js';
|
|
22
21
|
|
|
23
22
|
/** Attribute name as the journal addresses it. Prefix is authored fidelity, not identity. @public */
|
|
24
23
|
interface CanonicalAttributeName {
|
|
@@ -131,6 +130,13 @@ declare function historyGroupOfJournal(journal: CanonicalPrimitiveJournal): Hist
|
|
|
131
130
|
/** Options for a canonical collaboration document port. @public */
|
|
132
131
|
interface CreateCollaborationDocumentPortOptions {
|
|
133
132
|
readonly documentId: string;
|
|
133
|
+
/**
|
|
134
|
+
* The port belongs to an editor that people edit through, so it shows undo state to them.
|
|
135
|
+
* Set it for such a host: a full-document session then refuses `beginUndoGroup()` with
|
|
136
|
+
* `editor-attached`, and attaching the port closes an open undo group. See
|
|
137
|
+
* {@link CollaborationDocumentPort.interactive}. Default false.
|
|
138
|
+
*/
|
|
139
|
+
readonly interactive?: boolean;
|
|
134
140
|
}
|
|
135
141
|
/** Create the narrow collaboration view over one canonical package store. @public */
|
|
136
142
|
declare function createCollaborationDocumentPort(store: TreePackageStore, options: CreateCollaborationDocumentPortOptions): CollaborationDocumentPort;
|
|
@@ -214,6 +220,15 @@ type CollaborationApplyResult = {
|
|
|
214
220
|
*/
|
|
215
221
|
interface CollaborationDocumentPort {
|
|
216
222
|
readonly documentId: string;
|
|
223
|
+
/**
|
|
224
|
+
* True for the port of an editor that people edit through, which shows undo state to
|
|
225
|
+
* them. False or absent for a headless or server replica. Optional.
|
|
226
|
+
*
|
|
227
|
+
* While a port with `true` is attached, a full-document session refuses
|
|
228
|
+
* `beginUndoGroup()` with `editor-attached`, and attaching it closes an open undo group, so
|
|
229
|
+
* the undo state a person sees stays true.
|
|
230
|
+
*/
|
|
231
|
+
readonly interactive?: boolean;
|
|
217
232
|
paragraphs(): readonly CollaborationParagraph[];
|
|
218
233
|
paragraphByNodeId(nodeId: string): CollaborationParagraph | null;
|
|
219
234
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as createCollaborationDocumentPort,c as mapOffsetAcrossText}from'../chunk-
|
|
1
|
+
export{b as createCollaborationDocumentPort,c as mapOffsetAcrossText}from'../chunk-IILEENID.js';export{Na as historyGroupOfJournal,Vl as registerUndoHistoryPosition,Ul as reportHistoryGroup}from'../chunk-GWM3AKUD.js';
|
package/dist/collaboration.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk2CWQY27B_cjs=require('./chunk-2CWQY27B.cjs');Object.defineProperty(exports,"createCollaborationStatusTracker",{enumerable:true,get:function(){return chunk2CWQY27B_cjs.c}});Object.defineProperty(exports,"isCollaborationFailureCode",{enumerable:true,get:function(){return chunk2CWQY27B_cjs.b}});Object.defineProperty(exports,"safeParticipantColor",{enumerable:true,get:function(){return chunk2CWQY27B_cjs.a}});
|
package/dist/collaboration.d.ts
CHANGED
|
@@ -7,13 +7,12 @@
|
|
|
7
7
|
* @packageDocumentation
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
|
-
import { S as StoryScope } from './tree-package-store-
|
|
11
|
-
import {
|
|
10
|
+
import { S as StoryScope } from './tree-package-store-CRHvMyNj.js';
|
|
11
|
+
import { au as TreeDocOp } from './tree-op-types-C_S2niXW.js';
|
|
12
12
|
import { CollaborationDocumentPort } from './collaboration/replication.js';
|
|
13
|
-
import {
|
|
14
|
-
export { c as CollaborationFailure, d as createCollaborationStatusTracker, i as isCollaborationFailureCode } from './failure-
|
|
15
|
-
import './
|
|
16
|
-
import './editor-scope-7o9xweiJ.js';
|
|
13
|
+
import { a as CollaborationStatus, b as CollaborationStatusSnapshot, C as CollaborationFailureCode } from './failure-6KGFrDO9.js';
|
|
14
|
+
export { c as CollaborationFailure, d as createCollaborationStatusTracker, i as isCollaborationFailureCode } from './failure-6KGFrDO9.js';
|
|
15
|
+
import './editor-scope-B3L-1ALc.js';
|
|
17
16
|
|
|
18
17
|
/**
|
|
19
18
|
* A peer's presence color is attacker-controlled: it arrives over awareness from whoever is in
|
package/dist/collaboration.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as safeParticipantColor}from'./chunk-
|
|
1
|
+
export{c as createCollaborationStatusTracker,b as isCollaborationFailureCode,a as safeParticipantColor}from'./chunk-WN7ICTA5.js';
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
* @packageDocumentation
|
|
14
14
|
* @public
|
|
15
15
|
*/
|
|
16
|
-
import { D as DocxDocument, E as ExecResult, i as ContentControlType, j as DocTarget, k as RunFormatting, l as Extent, I as InsertableContentControlType, m as ContainerRef, n as ContentControlFilter, o as DocRange, p as Revision, q as DocComment, S as StyleDefinitions } from '../types-
|
|
17
|
-
export { B as Block, r as ColorValue, s as ContentControl, t as DocAnchor, u as DocAnchorRange, v as DocLocation, w as DocumentBody, x as ExecErrorCode, H as HeaderFooterSet, y as IndentFormatting, P as
|
|
18
|
-
|
|
16
|
+
import { D as DocxDocument, E as ExecResult, i as ContentControlType, j as DocTarget, k as RunFormatting, l as Extent, I as InsertableContentControlType, m as ContainerRef, n as ContentControlFilter, o as DocRange, p as Revision, q as DocComment, S as StyleDefinitions } from '../tree-op-types-C_S2niXW.js';
|
|
17
|
+
export { B as Block, r as ColorValue, s as ContentControl, t as DocAnchor, u as DocAnchorRange, v as DocLocation, w as DocumentBody, x as ExecErrorCode, H as HeaderFooterSet, y as IndentFormatting, N as NumberingRef, P as PageMargins, z as Paragraph, A as ParagraphDisagreements, F as ParagraphFlags, G as ParagraphTabStop, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, h as RevisionAddress, J as RevisionAuthorEntry, K as RevisionAuthorResult, L as RevisionAuthorSkipReason, M as RevisionBatchEntry, Q as RevisionBatchResult, T as RevisionBatchSkipDetail, U as RevisionBatchSkipReason, V as RevisionSiteRefusal, W as RevisionType, X as Run, Y as Section, Z as SectionProperties, _ as StyleDefinition, $ as Table, a0 as TableCell, a1 as TableRow, a2 as Theme, a3 as ThemeColorScheme } from '../tree-op-types-C_S2niXW.js';
|
|
18
|
+
export { H as HistoryGroupOutcome } from '../editor-scope-B3L-1ALc.js';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* `@docx-editor.dev/core/contracts/document` — the document-level edit and query vocabulary.
|
|
@@ -7,15 +7,18 @@
|
|
|
7
7
|
* @packageDocumentation
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
|
-
export { a as ReviewDisplayMode } from '../
|
|
11
|
-
export {
|
|
12
|
-
export { B as
|
|
10
|
+
export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, a as ReviewDisplayMode, e as RevisionChangedLinesMark, f as RevisionDeletionMark, b as RevisionDisplayMode, g as RevisionMarkupChromeHandlers, h as RevisionMarkupColor, R as RevisionMarkupDialogSession, i as RevisionMarkupMark, j as RevisionMarkupNamedColor, k as RevisionMarkupOptions, l as RevisionMarkupStyle, m as RevisionMarkupTextStyle, r as resolveRevisionMarkup, n as revisionMarkupColor, o as revisionMarkupStyle } from '../revision-projection-Cn6rZJ7H.js';
|
|
11
|
+
export { CommentMarkerStyle, DEFAULT_REVIEW_PANE, ResolvedReviewPane, ReviewPaneItemFields, ReviewPaneOpening, ReviewPaneOptions, ReviewPaneOverflow, RevisionDisplay, resolveReviewPane, reviewPaneListsItem } from './types.js';
|
|
12
|
+
export { A as AnchorHighlightAnimation, c as AnchorHighlightOptions, d as AuthoredNoteNumbering, B as BookmarkPlace, e as BookmarkStory, f as BookmarkSummary, C as CanResult, g as ClearAnchorHighlightOptions, h as CollaborationParticipantsDiagnostic, i as CollaborationStatusDiagnostic, j as CustomNodeDiagnosticEvent, D as DIAGNOSTIC_SCHEMA_VERSION, k as DiagnosticBase, l as DiagnosticFailureDetail, m as DocumentChange, n as DocumentEditingMode, o as DocumentHandle, p as DocumentOpenDiagnostic, q as DocumentOpenFailure, r as DocumentOpenFailureReason, s as DocumentSaveDiagnostic, t as DocumentShape, u as DocumentSource, v as EditRejectedDiagnostic, w as EditRejectionOrigin, x as Editor, y as EditorAnchorNavigation, z as EditorBookmarkCommands, b as EditorCommand, F as EditorCommandShape, G as EditorCommands, E as EditorDiagnostic, a as EditorDiagnosticKind, H as EditorError, I as EditorEvents, J as EditorFontError, K as EditorFormatPainterCommands, L as EditorHeaderFooterCommands, M as EditorHighlights, N as EditorHostChange, O as EditorHostDocument, P as EditorNoteCommands, Q as EditorPosition, R as EditorQueries, S as EditorQuery, T as EditorQueryResults, U as EditorReviewHits, V as EditorSelection, W as EditorSnapshot, X as FontFailedDiagnostic, Y as FormatPainterLevel, Z as FormatPainterMode, _ as FormatPainterSurfaceState, $ as FurnitureVariant, a0 as HeaderFooterSlotArgs, a1 as HeaderFooterState, a2 as HighlightHit, a3 as HighlightOptions, a4 as HighlightRange, a5 as HighlightRect, a6 as HighlightResult, a7 as HistoryDiagnosticEvent, a8 as HyperlinkInfo, a9 as ImageContext, aa as ImageCropPercent, ab as NoteKind, ac as NotePropertiesSide, ad as NotePropertiesState, ae as PageSetup, af as PerformanceDiagnostic, ag as ResolveReviewChangesOptions, ah as ResolvedNoteNumbering, ai as ReviewActivationOptions, aj as ReviewChangesAttribution, ak as ReviewCommentPlacement, al as ReviewCustomPlacement, am as ReviewItemHit, an as ReviewItemPlacement, ao as ReviewItemPlacementBase, ap as ReviewItemQuery, aq as ReviewItemRevealEvent, ar as ReviewItemRevealSource, as as ReviewRevisionPlacement, at as ReviewSkippedDiagnostic, au as ScrollPlacement, av as ScrollToAnchorOptions, aw as SelectedImageState, ax as SessionActivity, ay as SessionDiagnostic, az as SetReviewChangesAuthorOptions, aA as TableBorderEdgeTarget, aB as TableBorderSpec, aC as TableBorderStyle, aD as TableBorderTarget, aE as TableCellVerticalAlignment, aF as TableColumnDividerResizeTarget, aG as TableColumnOccurrenceTarget, aH as TableContext, aI as TableRightEdgeResizeTarget, aJ as TableRowOccurrenceTarget, aK as TextMatch, aL as TimingSummary, aM as TrackedChangeFilterMode, aN as TrackedChangePredicate, aO as ZoomFitTarget, aP as ZoomMode } from '../editor-DZwOTmlR.js';
|
|
13
|
+
export { E as EditorFontErrorCode, F as FontConfiguration, a as FontFaceRequest, b as FontSource, c as FontSourceSubstitution } from '../editor-fonts-D_-vjuJi.js';
|
|
14
|
+
export { B as Block, r as ColorValue, C as CommentRecord, 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, a6 as DocxDocumentJSON, a7 as DrawingHorizontalReferenceFrame, a8 as DrawingKind, a9 as DrawingLocks, aa as DrawingPositionInput, ab as DrawingVerticalReferenceFrame, x as ExecErrorCode, E as ExecResult, l as Extent, ac as FontDefinition, H as HeaderFooterSet, af as ImageResourceState, ag as ImageWrapTarget, y as IndentFormatting, I as InsertableContentControlType, N as NumberingRef, P as PageMargins, z as Paragraph, A as ParagraphDisagreements, F as ParagraphFlags, ah as ParagraphFormatCommand, G as ParagraphTabStop, ai as Point, aj as PreservedImageMime, ak as Rect, al as RenderableImageMime, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, p as Revision, h as RevisionAddress, J as RevisionAuthorEntry, K as RevisionAuthorResult, L as RevisionAuthorSkipReason, M as RevisionBatchEntry, Q as RevisionBatchResult, T as RevisionBatchSkipDetail, U as RevisionBatchSkipReason, V as RevisionSiteRefusal, W as RevisionType, X as Run, k as RunFormatting, Y as Section, Z as SectionProperties, am as SelectionPin, _ as StyleDefinition, S as StyleDefinitions, an as SupportedImageMime, $ as Table, a0 as TableCell, a1 as TableRow, a2 as Theme, a3 as ThemeColorScheme, ao as Unsubscribe, ap as ValidatedImageBytesHandle, aq as VectorImageMime, ar as Watermark, as as WatermarkLayout, at as WatermarkState } from '../tree-op-types-C_S2niXW.js';
|
|
13
15
|
export { ContentControlSummary, DocEdits, DocQueries, DocQueryResults, ParagraphSummary } from './document.js';
|
|
14
|
-
export { a as EditorExecOptions, E as EditorScope,
|
|
16
|
+
export { a as EditorExecOptions, E as EditorScope, b as HistoryDiagnostic, c as HistoryGroup, d as HistoryGroupOptions, H as HistoryGroupOutcome, V as ViewScope } from '../editor-scope-B3L-1ALc.js';
|
|
15
17
|
export { InteractionAffinity, InteractionOutcome, InteractionOutcomeCode, SemanticIdentity, SemanticTarget } from './interaction.js';
|
|
16
|
-
export { S as SemanticPosition, a as SemanticSelection } from '../semantic-interaction-
|
|
17
|
-
export {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
import '../
|
|
18
|
+
export { S as SemanticPosition, a as SemanticSelection } from '../semantic-interaction-CJoHLoOl.js';
|
|
19
|
+
export { D as DocumentProtectionEdit, a as DocumentProtectionState } from '../document-protection-NaniLHWF.js';
|
|
20
|
+
export { C as CollaborationFailureCode, a as CollaborationStatus } from '../failure-6KGFrDO9.js';
|
|
21
|
+
export { B as ByteSizeBucket, C as CollaborationDiagnosticCode, b as CountBucket, c as CustomNodeDiagnosticCode, d as DiagnosticCode, D as DiagnosticErrorName, e as DiagnosticExplanation, f as DocumentOpenDiagnosticCode, a as DocumentPartKind, g as DocumentSaveDiagnosticCode, E as EditDiagnosticCode, F as FailureStage, h as FontDiagnosticCode, i as FormattingChangeKind, H as HistoryDiagnosticCode, P as PerformanceDiagnosticCode, R as ReviewChangeKind, j as ReviewDiagnosticCode, k as ReviewOperation } from '../diagnostic-hints-DK8-V0fk.js';
|
|
22
|
+
import '../semantic-records-BvN-WWst.js';
|
|
23
|
+
import '../headless-document-view-Bcz9_Qva.js';
|
|
24
|
+
import '../tree-package-store-CRHvMyNj.js';
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
* @packageDocumentation
|
|
28
28
|
* @public
|
|
29
29
|
*/
|
|
30
|
-
import { V as ViewScope } from '../editor-scope-
|
|
31
|
-
export { E as EditorScope } from '../editor-scope-
|
|
30
|
+
import { V as ViewScope } from '../editor-scope-B3L-1ALc.js';
|
|
31
|
+
export { E as EditorScope } from '../editor-scope-B3L-1ALc.js';
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* `@docx-editor.dev/core/contracts/interaction` — semantic addressing and interaction outcomes.
|
|
@@ -17,22 +17,24 @@
|
|
|
17
17
|
* @packageDocumentation
|
|
18
18
|
* @public
|
|
19
19
|
*/
|
|
20
|
-
import { R as RevisionMarkupDialogSession, a as ReviewDisplayMode } from '../
|
|
21
|
-
export { b as RevisionDisplayMode } from '../
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
|
|
20
|
+
import { R as RevisionMarkupDialogSession, a as ReviewDisplayMode } from '../revision-projection-Cn6rZJ7H.js';
|
|
21
|
+
export { b as RevisionDisplayMode } from '../revision-projection-Cn6rZJ7H.js';
|
|
22
|
+
import { ReviewPaneOptions } from './types.js';
|
|
23
|
+
import { E as EditorDiagnostic, a as EditorDiagnosticKind } from '../editor-DZwOTmlR.js';
|
|
24
|
+
import { R as ReviewModelInput, a as ReviewItem, O as OoxmlPart, b as ReviewRevisionItem } from '../tree-op-types-C_S2niXW.js';
|
|
25
|
+
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, e as ReviewPosition, f as ReviewRange, g as ReviewRevisionKind, h as RevisionAddress } from '../tree-op-types-C_S2niXW.js';
|
|
25
26
|
import { CollaborationModuleContribution } from '../collaboration.js';
|
|
26
|
-
import '../
|
|
27
|
-
import '../
|
|
28
|
-
import '../editor-scope-
|
|
27
|
+
import '../failure-6KGFrDO9.js';
|
|
28
|
+
import '../document-protection-NaniLHWF.js';
|
|
29
|
+
import '../editor-scope-B3L-1ALc.js';
|
|
30
|
+
import '../editor-fonts-D_-vjuJi.js';
|
|
31
|
+
import '../diagnostic-hints-DK8-V0fk.js';
|
|
29
32
|
import './document.js';
|
|
30
33
|
import './interaction.js';
|
|
31
|
-
import '../semantic-interaction-
|
|
32
|
-
import '../
|
|
33
|
-
import '../
|
|
34
|
-
import '../
|
|
35
|
-
import '../tree-package-store-DKhdEVym.js';
|
|
34
|
+
import '../semantic-interaction-CJoHLoOl.js';
|
|
35
|
+
import '../semantic-records-BvN-WWst.js';
|
|
36
|
+
import '../headless-document-view-Bcz9_Qva.js';
|
|
37
|
+
import '../tree-package-store-CRHvMyNj.js';
|
|
36
38
|
import '../collaboration/replication.js';
|
|
37
39
|
|
|
38
40
|
/**
|
|
@@ -7,5 +7,138 @@
|
|
|
7
7
|
* @packageDocumentation
|
|
8
8
|
* @public
|
|
9
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,
|
|
11
|
-
|
|
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, a6 as DocxDocumentJSON, x as ExecErrorCode, E as ExecResult, l as Extent, ac as FontDefinition, H as HeaderFooterSet, y as IndentFormatting, I as InsertableContentControlType, N as NumberingRef, P as PageMargins, z as Paragraph, A as ParagraphDisagreements, F as ParagraphFlags, ah as ParagraphFormatCommand, G as ParagraphTabStop, ai as Point, ak as Rect, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, p as Revision, h as RevisionAddress, J as RevisionAuthorEntry, K as RevisionAuthorResult, L as RevisionAuthorSkipReason, M as RevisionBatchEntry, Q as RevisionBatchResult, T as RevisionBatchSkipDetail, U as RevisionBatchSkipReason, V as RevisionSiteRefusal, W as RevisionType, X as Run, k as RunFormatting, Y as Section, Z as SectionProperties, am as SelectionPin, _ as StyleDefinition, S as StyleDefinitions, $ as Table, a0 as TableCell, a1 as TableRow, a2 as Theme, a3 as ThemeColorScheme, ao as Unsubscribe, ar as Watermark, as as WatermarkLayout, at as WatermarkState } from '../tree-op-types-C_S2niXW.js';
|
|
11
|
+
export { C as CollaborationFailureCode, a as CollaborationStatus } from '../failure-6KGFrDO9.js';
|
|
12
|
+
export { D as DEFAULT_REVISION_MARKUP, c as REVISION_MARKUP_COLORS, d as ResolvedRevisionMarkup, e as RevisionChangedLinesMark, f as RevisionDeletionMark, b as RevisionDisplayMode, g as RevisionMarkupChromeHandlers, h as RevisionMarkupColor, R as RevisionMarkupDialogSession, i as RevisionMarkupMark, j as RevisionMarkupNamedColor, k as RevisionMarkupOptions, l as RevisionMarkupStyle, m as RevisionMarkupTextStyle, r as resolveRevisionMarkup, n as revisionMarkupColor, o as revisionMarkupStyle } from '../revision-projection-Cn6rZJ7H.js';
|
|
13
|
+
export { D as DocumentProtectionEdit, a as DocumentProtectionState } from '../document-protection-NaniLHWF.js';
|
|
14
|
+
export { H as HistoryGroupOutcome } from '../editor-scope-B3L-1ALc.js';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* When the review pane opens by itself.
|
|
18
|
+
*
|
|
19
|
+
* - `'auto'`: the pane opens when a document with review items loads, and when a tracked
|
|
20
|
+
* change is made while it is closed, in both cases when the pane has items to list. With
|
|
21
|
+
* `revisionsIn: 'balloons'` the pane lists no tracked change and no reply to one, so
|
|
22
|
+
* tracked changes and their replies alone do not open it.
|
|
23
|
+
* - `'manual'`: the pane stays closed until the host or the user opens it. Use it when the
|
|
24
|
+
* host shows review items its own way, such as in balloons or margin markers.
|
|
25
|
+
*
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
type ReviewPaneOpening = 'auto' | 'manual';
|
|
29
|
+
/**
|
|
30
|
+
* What the open review pane does when its full card column does not fit beside the page at
|
|
31
|
+
* the page's zoom.
|
|
32
|
+
*
|
|
33
|
+
* - `'float'`: the pane shrinks to a strip of markers, and the open card floats over the
|
|
34
|
+
* page.
|
|
35
|
+
* - `'shrinkPage'`: under a fit zoom mode, the page may shrink down to the mode's
|
|
36
|
+
* `minZoom` (or 10%) so that the full column fits. The pane changes to the marker strip
|
|
37
|
+
* only when the column does not fit at that floor either. A fixed zoom behaves as
|
|
38
|
+
* `'float'`.
|
|
39
|
+
* - `'scroll'`: the page keeps the size it has beside the closed pane's marker strip, and
|
|
40
|
+
* the full column stands beside it. The document and the column scroll together: the
|
|
41
|
+
* viewport scrolls sideways to reach the cards.
|
|
42
|
+
*
|
|
43
|
+
* The setting applies to the review pane only. The navigation pane stays docked at its side
|
|
44
|
+
* in every mode: it never scrolls with the document, and it takes its room beside the page
|
|
45
|
+
* exactly as it does with no review pane.
|
|
46
|
+
*
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
type ReviewPaneOverflow = 'float' | 'shrinkPage' | 'scroll';
|
|
50
|
+
/**
|
|
51
|
+
* Where tracked changes open.
|
|
52
|
+
*
|
|
53
|
+
* - `'pane'`: the review pane lists tracked changes as cards beside the comments.
|
|
54
|
+
* - `'balloons'`: the pane lists comments only, except comments that reply to a tracked
|
|
55
|
+
* change: the change's balloon shows those. A tracked change opens in a balloon at its
|
|
56
|
+
* text when the reader clicks it, or when Next Change, Previous Change, or
|
|
57
|
+
* `setActiveReviewItem(key, { announce: true })` reaches it. A replacement is one balloon.
|
|
58
|
+
* In both settings, Next Change and Previous Change stop on a replacement once.
|
|
59
|
+
*
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
type RevisionDisplay = 'pane' | 'balloons';
|
|
63
|
+
/**
|
|
64
|
+
* How a collapsed comment marker looks.
|
|
65
|
+
*
|
|
66
|
+
* - `'initials'`: a badge with the thread author's initials in the author's color, a reply
|
|
67
|
+
* count, and a check mark when the thread is resolved.
|
|
68
|
+
* - `'icon'`: the comment icon.
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
type CommentMarkerStyle = 'initials' | 'icon';
|
|
73
|
+
/**
|
|
74
|
+
* Review pane settings to change. Every field is optional, and an omitted field keeps its
|
|
75
|
+
* current value.
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
interface ReviewPaneOptions {
|
|
80
|
+
/** Default `'auto'`. */
|
|
81
|
+
readonly opening?: ReviewPaneOpening;
|
|
82
|
+
/** Default `'float'`. */
|
|
83
|
+
readonly overflow?: ReviewPaneOverflow;
|
|
84
|
+
/** Default `'pane'`. */
|
|
85
|
+
readonly revisionsIn?: RevisionDisplay;
|
|
86
|
+
/** Default `'icon'`. */
|
|
87
|
+
readonly commentMarkers?: CommentMarkerStyle;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* The review pane settings in force, with every field resolved.
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
interface ResolvedReviewPane {
|
|
95
|
+
/** When the pane opens by itself. */
|
|
96
|
+
readonly opening: ReviewPaneOpening;
|
|
97
|
+
/** What the open pane does when its card column does not fit beside the page. */
|
|
98
|
+
readonly overflow: ReviewPaneOverflow;
|
|
99
|
+
/** Where tracked changes open. */
|
|
100
|
+
readonly revisionsIn: RevisionDisplay;
|
|
101
|
+
/** How a collapsed comment marker looks. */
|
|
102
|
+
readonly commentMarkers: CommentMarkerStyle;
|
|
103
|
+
}
|
|
104
|
+
/** The settings an editor starts with when nothing sets them. @public */
|
|
105
|
+
declare const DEFAULT_REVIEW_PANE: ResolvedReviewPane;
|
|
106
|
+
/**
|
|
107
|
+
* Merge `options` over `base`. Throws a `TypeError` for an unknown field or value, so a
|
|
108
|
+
* misspelled setting fails loudly instead of being ignored. Returns `base` itself when
|
|
109
|
+
* nothing changes, so the snapshot keeps its reference.
|
|
110
|
+
*
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
declare function resolveReviewPane(options: ReviewPaneOptions | undefined, base?: ResolvedReviewPane): ResolvedReviewPane;
|
|
114
|
+
/**
|
|
115
|
+
* The fields of a review item that decide whether the review pane lists it. A
|
|
116
|
+
* `ReviewItem` and a review item placement both have them.
|
|
117
|
+
*
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
interface ReviewPaneItemFields {
|
|
121
|
+
/** The item kind, as `ReviewItem.kind` gives it. */
|
|
122
|
+
readonly kind: 'revision' | 'comment' | 'custom';
|
|
123
|
+
/** For a comment, the tracked change it replies to. */
|
|
124
|
+
readonly parentRevisionId?: string;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Whether the review pane lists a card for `item` under `revisionsIn`.
|
|
128
|
+
*
|
|
129
|
+
* With `'balloons'`, a balloon at the text shows every tracked change and every comment
|
|
130
|
+
* that replies to a tracked change, so the pane lists neither. Give the item as an
|
|
131
|
+
* unfiltered `getReviewItems()` read returns it: a query that excludes revision kinds
|
|
132
|
+
* removes `parentRevisionId` from replies to the changes it drops.
|
|
133
|
+
*
|
|
134
|
+
* The engine applies this rule to every review item when it decides whether the pane opens
|
|
135
|
+
* by itself or closes after a settings change. A review pane must apply the same rule before
|
|
136
|
+
* its own filters, such as a hidden kind or a host filter. Those filters can hide every card,
|
|
137
|
+
* and then the pane that the engine opens is empty.
|
|
138
|
+
*
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
declare function reviewPaneListsItem(revisionsIn: RevisionDisplay, item: ReviewPaneItemFields): boolean;
|
|
142
|
+
|
|
143
|
+
export { DEFAULT_REVIEW_PANE, resolveReviewPane, reviewPaneListsItem };
|
|
144
|
+
export type { CommentMarkerStyle, ResolvedReviewPane, ReviewPaneItemFields, ReviewPaneOpening, ReviewPaneOptions, ReviewPaneOverflow, RevisionDisplay };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { e as TreeModelChange, f as TreeDocumentStore } from './tree-package-store-
|
|
1
|
+
import { a5 as OoxmlPackage, O as OoxmlPart, a4 as OoxmlNode, aF as RevisionAttributionInput, aG as TreeOpRejection } from './tree-op-types-C_S2niXW.js';
|
|
2
|
+
import { e as TreeModelChange, f as TreeDocumentStore } from './tree-package-store-CRHvMyNj.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';
|
|
@@ -177,6 +177,11 @@ interface InsertCustomNodeWrite {
|
|
|
177
177
|
readonly lock?: 'sdtLocked' | 'sdtContentLocked' | 'contentLocked';
|
|
178
178
|
/** Omitted authors an ordinary tagged control with no store — the pre-payload behaviour. */
|
|
179
179
|
readonly payload?: CustomNodePayloadWrite;
|
|
180
|
+
/**
|
|
181
|
+
* Propose the node as a tracked insertion. A wrap (`replaceUntil`) or a rewrite
|
|
182
|
+
* (`replaceControlId`) has no tracked form yet, and refuses with a revision.
|
|
183
|
+
*/
|
|
184
|
+
readonly revision?: RevisionAttributionInput;
|
|
180
185
|
}
|
|
181
186
|
/**
|
|
182
187
|
* Why a payload write was refused.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DiagnosticErrorName, a as DocumentPartKind } from './diagnostic-hints-
|
|
1
|
+
import { D as DiagnosticErrorName, a as DocumentPartKind } from './diagnostic-hints-DK8-V0fk.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Every engine reason a diagnostic can carry as its `cause`. Causes are the engine's own
|
|
@@ -11,7 +11,8 @@ declare function diagnosticCauses(): readonly string[];
|
|
|
11
11
|
/**
|
|
12
12
|
* The engine reason token in a refusal reason, or undefined when the reason is not one the
|
|
13
13
|
* engine knows, such as a sentence. Only the token before a colon counts; the detail after it
|
|
14
|
-
* can name parts of the file and is never returned.
|
|
14
|
+
* can name parts of the file and is never returned. A full reason such as
|
|
15
|
+
* `unsupported-revision:foreign-insertion` reports its token; its public code names the rule.
|
|
15
16
|
*/
|
|
16
17
|
declare function diagnosticCause(reason: string | undefined): string | undefined;
|
|
17
18
|
/** The cause of a failure the engine did not name: an exception. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as CollaborationFailureCode } from './failure-6KGFrDO9.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The public diagnostic vocabulary: stable codes and the buckets sizes and counts are reported
|
|
@@ -16,7 +16,7 @@ type DocumentOpenDiagnosticCode = 'open.unsupported-source' | 'open.zip-corrupt'
|
|
|
16
16
|
*/
|
|
17
17
|
type DocumentSaveDiagnosticCode = 'save.no-document' | 'save.document-changed' | 'save.failed';
|
|
18
18
|
/** Why an edit, a command or a tracked change was refused. @public */
|
|
19
|
-
type EditDiagnosticCode = 'edit.read-only' | 'edit.protected-content' | 'edit.suggesting-needs-author' | 'edit.review-module-required' | 'edit.tracked-drawing-delete-unsupported' | 'edit.tracked-structure-unsupported' | 'edit.tracked-operation-unsupported' | 'edit.tracking-mode-unsupported' | 'edit.tracking-author-required' | 'edit.tracking-unsupported-host' | 'edit.revision-unsupported' | 'edit.tracking-required' | 'edit.tracked-image-replace-unsupported' | 'edit.picture-selected' | 'edit.cross-structure-join' | 'edit.indivisible-content' | 'edit.field-structure' | 'edit.section-mark' | 'edit.table-structure-unsupported' | 'edit.table-insert-refused' | 'edit.table-of-contents-refused' | 'edit.unsupported-content' | 'edit.operation-unsupported' | 'edit.unsupported-story' | 'edit.unmapped-change' | 'edit.stale-target' | 'edit.invalid-argument' | 'edit.resource-limit' | 'edit.refresh-in-progress' | 'edit.collaboration-not-ready' | 'edit.collaboration-text-limit' | 'edit.internal-invariant' | 'edit.refused';
|
|
19
|
+
type EditDiagnosticCode = 'edit.read-only' | 'edit.protected-content' | 'edit.suggesting-needs-author' | 'edit.review-module-required' | 'edit.tracked-drawing-delete-unsupported' | 'edit.tracked-structure-unsupported' | 'edit.tracked-operation-unsupported' | 'edit.tracking-mode-unsupported' | 'edit.tracking-author-required' | 'edit.comment-author-required' | 'edit.tracking-unsupported-host' | 'edit.revision-unsupported' | 'edit.tracking-required' | 'edit.tracked-image-replace-unsupported' | 'edit.tracked-deleted-text-only' | 'edit.tracked-foreign-revision-unsupported' | 'edit.tracked-own-pending-change' | 'edit.picture-selected' | 'edit.cross-structure-join' | 'edit.indivisible-content' | 'edit.field-structure' | 'edit.field-unsupported' | 'edit.field-result-unsupported' | 'edit.ooxml-unsupported' | 'edit.section-mark' | 'edit.table-structure-unsupported' | 'edit.table-merge-not-rectangle' | 'edit.table-split-unsupported' | 'edit.table-insert-refused' | 'edit.table-of-contents-refused' | 'edit.unsupported-content' | 'edit.operation-unsupported' | 'edit.unsupported-story' | 'edit.unmapped-change' | 'edit.stale-target' | 'edit.invalid-argument' | 'edit.resource-limit' | 'edit.refresh-in-progress' | 'edit.preview-active' | 'edit.preview-unsupported' | 'edit.preview-composing' | 'edit.preview-diverged' | 'edit.collaboration-not-ready' | 'edit.collaboration-text-limit' | 'edit.internal-invariant' | 'edit.refused';
|
|
20
20
|
/** Why accepting, rejecting or re-authoring a tracked change skipped an item. @public */
|
|
21
21
|
type ReviewDiagnosticCode = 'review.revision-unsupported' | 'review.incomplete-group' | 'review.retained-structure' | 'review.stale-revision';
|
|
22
22
|
/** Why a font did not load. The family name is never reported. @public */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a4 as OoxmlNode } from './tree-op-types-C_S2niXW.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';
|