@docx-editor.dev/core 2.3.0 → 2.4.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.cts +2 -2
- package/dist/automation.d.ts +2 -2
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.cts +7 -7
- package/dist/binding.d.ts +7 -7
- package/dist/binding.js +1 -1
- package/dist/chunk-33F6TRXO.js +2 -0
- package/dist/chunk-DQ5HGUWG.cjs +12 -0
- package/dist/chunk-EQO762XH.cjs +10 -0
- package/dist/chunk-F6WNPYOM.js +2 -0
- package/dist/chunk-FL4GWK76.js +12 -0
- package/dist/chunk-GOEBQ26R.js +1 -0
- package/dist/{chunk-Y2PX72HO.cjs → chunk-GWG5IVVX.cjs} +5 -5
- package/dist/chunk-IZIL6BAW.cjs +12 -0
- package/dist/chunk-LIJPSHRA.js +5 -0
- package/dist/{chunk-4CHEPYZV.cjs → chunk-MHDO6HLI.cjs} +1 -1
- package/dist/chunk-OHJQ7GPZ.cjs +1 -0
- package/dist/chunk-SG7OH2EK.js +12 -0
- package/dist/chunk-TCX3PVWR.js +10 -0
- package/dist/chunk-YMIMLEX4.cjs +1 -0
- package/dist/chunk-YTYKNA6X.cjs +2 -0
- package/dist/chunk-ZACHY6OS.js +1 -0
- package/dist/contracts/editor.cjs +1 -1
- package/dist/contracts/editor.d.cts +6 -6
- package/dist/contracts/editor.d.ts +6 -6
- package/dist/contracts/editor.js +1 -1
- package/dist/contracts/interaction.d.cts +6 -6
- package/dist/contracts/interaction.d.ts +6 -6
- package/dist/contracts/modules.d.cts +3 -3
- package/dist/contracts/modules.d.ts +3 -3
- package/dist/{custom-node-writes-ttKuYd0M.d.ts → custom-node-writes-BkMgMXxs.d.ts} +3 -3
- package/dist/{custom-node-writes-YqISlSRl.d.cts → custom-node-writes-C5YRoPcc.d.cts} +3 -3
- package/dist/{editor-C8oaTHr3.d.ts → editor-D1qHfzOt.d.ts} +12 -4
- package/dist/{editor-25RmHnxu.d.cts → editor-DYvC9CZs.d.cts} +12 -4
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +2 -0
- package/dist/editor.d.cts +19 -19
- package/dist/editor.d.ts +19 -19
- package/dist/editor.js +1 -1
- package/dist/{image-resources-C_YnqPhn.d.ts → image-resources-BG9DLyW7.d.ts} +1 -1
- package/dist/{image-resources-DwpNnTg3.d.cts → image-resources-DXvPZvXD.d.cts} +1 -1
- package/dist/{index-C7hgxxtG.d.cts → index-Bb-QAg_f.d.cts} +11 -11
- package/dist/{index-DHX6HKd_.d.ts → index-DpY3WZuP.d.ts} +11 -11
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.cts +25 -15
- package/dist/layout.d.ts +25 -15
- package/dist/layout.js +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.cts +4 -4
- package/dist/output.d.ts +4 -4
- package/dist/output.js +1 -1
- package/dist/{protocol-DAs0YOP3.d.cts → protocol-CD7slqvl.d.cts} +24 -4
- package/dist/{protocol-r6hje8Kf.d.ts → protocol-DsbfgBwA.d.ts} +24 -4
- package/dist/{review-reads-cgvJLJc2.d.ts → review-reads-CQmU9Lcl.d.ts} +1 -1
- package/dist/{review-reads-JBOmRH--.d.cts → review-reads-CxgN62yp.d.cts} +1 -1
- package/dist/{review-support-rsyGP5-9.d.cts → review-support-BJ-YjGmD.d.cts} +1 -1
- package/dist/{review-support-B9ykYpoZ.d.ts → review-support-DgXTIYBW.d.ts} +1 -1
- package/dist/{semantic-cell-selection-CI3loBKq.d.cts → semantic-cell-selection--ezfezTe.d.cts} +2 -2
- package/dist/{semantic-cell-selection-Cx8P64j2.d.ts → semantic-cell-selection-DZtyMXkH.d.ts} +2 -2
- package/dist/{semantic-interaction-unGpRNCk.d.ts → semantic-interaction-2yxdv7q0.d.cts} +5 -37
- package/dist/{semantic-interaction-B4HrJFQ2.d.cts → semantic-interaction-DrgbgKg6.d.ts} +5 -37
- package/dist/{semantic-paint-DdGGra4m.d.cts → semantic-paint-BYjE0Xbl.d.cts} +2 -2
- package/dist/{semantic-paint-BBNaqr1s.d.ts → semantic-paint-BedBxkyY.d.ts} +2 -2
- package/dist/{semantic-records-BC4bIKKL.d.ts → semantic-records-CR5hTqMK.d.ts} +2 -2
- package/dist/{semantic-records-DC6V1U3T.d.cts → semantic-records-DSD8WENa.d.cts} +2 -2
- package/dist/{shaped-measurer-ChSWkuAT.d.ts → shaped-measurer-BL8g4AcW.d.ts} +1 -1
- package/dist/{shaped-measurer-SIqZp-Ty.d.cts → shaped-measurer-CBOTJTV_.d.cts} +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.d.cts +30 -31
- package/dist/store.d.ts +30 -31
- package/dist/store.js +1 -1
- package/dist/{tree-op-types-DWLCllG7.d.ts → tree-op-types-8a6xyRCN.d.ts} +6 -1
- package/dist/{tree-op-types-UOXlRUqQ.d.cts → tree-op-types-EZXbR8bW.d.cts} +6 -1
- package/dist/{tree-session-ZpXtFxlP.d.cts → tree-session-DrMm8Cj2.d.cts} +5 -5
- package/dist/{tree-session-COduYhKr.d.ts → tree-session-SucW0znF.d.ts} +5 -5
- package/dist/{tree-store-BscFPB7x.d.ts → tree-store-BoM6eXaL.d.ts} +1 -1
- package/dist/{tree-store-B1lEkdXc.d.cts → tree-store-UYrGKF_Q.d.cts} +1 -1
- package/package.json +2 -2
- package/dist/chunk-2AOXVZU7.js +0 -1
- package/dist/chunk-7JUQEZU4.js +0 -12
- package/dist/chunk-BEV535XW.cjs +0 -10
- package/dist/chunk-EBIEBTAG.js +0 -5
- package/dist/chunk-GRGRIDHF.js +0 -1
- package/dist/chunk-IHAFYLLQ.cjs +0 -12
- package/dist/chunk-K6FOU3RO.cjs +0 -12
- package/dist/chunk-MIUELYVA.cjs +0 -1
- package/dist/chunk-OUKRZ43D.js +0 -2
- package/dist/chunk-P2NVDXSG.cjs +0 -1
- package/dist/chunk-PYRPB22X.cjs +0 -2
- package/dist/chunk-R6BMB6RM.js +0 -10
- package/dist/chunk-XNMXQWNA.js +0 -12
- package/dist/chunk-YNO4ITHS.js +0 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { ContentControlSummary, DocEdits, DocQueries, DocQueryResults, ParagraphSummary } from './document.js';
|
|
2
|
-
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind } from '../review-support-
|
|
3
|
-
export { A as AuthoredNoteNumbering, C as CanResult, p as DocumentChange, q as DocumentEditingMode, r as DocumentHandle, D as DocumentSource, l as Editor, a as EditorCommand, t as EditorCommandShape, u as EditorCommands, w as EditorError, x as EditorEvents, E as EditorFontError, y as EditorFontErrorCode, z as EditorHeaderFooterCommands, B as EditorNoteCommands, G as EditorPosition, H as EditorQueries, J as EditorQuery, K as EditorQueryResults, L as EditorScope, M as EditorSelection, N as EditorSnapshot, F as FontConfiguration, k as FontFaceRequest, i as FontSource, j as FontSourceSubstitution, O as FurnitureVariant, P as HeaderFooterSlotArgs, Q as HeaderFooterState, R as HyperlinkInfo, I as ImageContext, b as ImageCropPercent, U as InteractionAffinity, W as InteractionOutcome, X as InteractionOutcomeCode, Y as NoteKind, _ as NotePropertiesSide, $ as NotePropertiesState, a0 as PageSetup, a1 as ResolvedNoteNumbering, a2 as ReviewActivationOptions, a3 as ReviewCommentPlacement, a4 as ReviewCustomPlacement, a5 as ReviewItemPlacement, a6 as ReviewItemPlacementBase, a7 as ReviewItemQuery, a8 as ReviewRevisionPlacement, S as SelectedImageState, a9 as SemanticIdentity, aa as SemanticTarget, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, ab as TableBorderTarget, ac as TableCellVerticalAlignment, ad as TableColumnDividerResizeTarget, ae as TableColumnOccurrenceTarget, o as TableContext, af as TableRightEdgeResizeTarget, ag as TableRowOccurrenceTarget, ah as TextMatch, V as ViewScope, ai as ZoomFitTarget, Z as ZoomMode } from '../editor-
|
|
4
|
-
export { S as SemanticPosition, a as SemanticSelection } from '../semantic-interaction-
|
|
2
|
+
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind } from '../review-support-DgXTIYBW.js';
|
|
3
|
+
export { A as AuthoredNoteNumbering, C as CanResult, p as DocumentChange, q as DocumentEditingMode, r as DocumentHandle, D as DocumentSource, l as Editor, a as EditorCommand, t as EditorCommandShape, u as EditorCommands, w as EditorError, x as EditorEvents, E as EditorFontError, y as EditorFontErrorCode, z as EditorHeaderFooterCommands, B as EditorNoteCommands, G as EditorPosition, H as EditorQueries, J as EditorQuery, K as EditorQueryResults, L as EditorScope, M as EditorSelection, N as EditorSnapshot, F as FontConfiguration, k as FontFaceRequest, i as FontSource, j as FontSourceSubstitution, O as FurnitureVariant, P as HeaderFooterSlotArgs, Q as HeaderFooterState, R as HyperlinkInfo, I as ImageContext, b as ImageCropPercent, U as InteractionAffinity, W as InteractionOutcome, X as InteractionOutcomeCode, Y as NoteKind, _ as NotePropertiesSide, $ as NotePropertiesState, a0 as PageSetup, a1 as ResolvedNoteNumbering, a2 as ReviewActivationOptions, a3 as ReviewCommentPlacement, a4 as ReviewCustomPlacement, a5 as ReviewItemPlacement, a6 as ReviewItemPlacementBase, a7 as ReviewItemQuery, a8 as ReviewRevisionPlacement, S as SelectedImageState, a9 as SemanticIdentity, aa as SemanticTarget, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, ab as TableBorderTarget, ac as TableCellVerticalAlignment, ad as TableColumnDividerResizeTarget, ae as TableColumnOccurrenceTarget, o as TableContext, af as TableRightEdgeResizeTarget, ag as TableRowOccurrenceTarget, ah as TextMatch, V as ViewScope, ai as ZoomFitTarget, Z as ZoomMode } from '../editor-D1qHfzOt.js';
|
|
4
|
+
export { S as SemanticPosition, a as SemanticSelection } from '../semantic-interaction-DrgbgKg6.js';
|
|
5
5
|
export { Block, ColorValue, ContainerRef, ContentControl, ContentControlFilter, ContentControlType, DocAnchor, DocAnchorRange, DocComment, DocLocation, DocRange, DocTarget, DocumentBody, DocxDocument, DocxDocumentJSON, ExecErrorCode, ExecResult, Extent, FontDefinition, HeaderFooterSet, IndentFormatting, NumberingRef, PageMargins, Paragraph, Point, Rect, Revision, RevisionType, Run, RunFormatting, Section, SectionProperties, StyleDefinition, StyleDefinitions, Table, TableCell, TableRow, Theme, ThemeColorScheme, Unsubscribe, Watermark } from './types.js';
|
|
6
|
-
export { f as DrawingHorizontalReferenceFrame, c as DrawingKind, e as DrawingLocks, d as DrawingPositionInput, g as DrawingVerticalReferenceFrame, b as ImageWrapTarget, R as RevisionAddress } from '../tree-op-types-
|
|
7
|
-
export { I as ImageResourceState, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, a as VectorImageMime } from '../image-resources-
|
|
6
|
+
export { f as DrawingHorizontalReferenceFrame, c as DrawingKind, e as DrawingLocks, d as DrawingPositionInput, g as DrawingVerticalReferenceFrame, b as ImageWrapTarget, R as RevisionAddress } from '../tree-op-types-8a6xyRCN.js';
|
|
7
|
+
export { I as ImageResourceState, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, a as VectorImageMime } from '../image-resources-BG9DLyW7.js';
|
|
8
8
|
import '../ooxml-tree-BU0e3DVi.js';
|
|
9
|
-
import '../semantic-records-
|
|
9
|
+
import '../semantic-records-CR5hTqMK.js';
|
|
10
10
|
import '../revision-projection-DHAkcD_L.js';
|
|
11
11
|
import '../ooxml-package-D_CtywTW.js';
|
package/dist/contracts/editor.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as EditorFontError}from'../chunk-
|
|
1
|
+
export{a as EditorFontError}from'../chunk-GOEBQ26R.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { L as EditorScope, U as InteractionAffinity, W as InteractionOutcome, X as InteractionOutcomeCode, a9 as SemanticIdentity, aa as SemanticTarget, V as ViewScope } from '../editor-
|
|
1
|
+
export { L as EditorScope, U as InteractionAffinity, W as InteractionOutcome, X as InteractionOutcomeCode, a9 as SemanticIdentity, aa as SemanticTarget, V as ViewScope } from '../editor-DYvC9CZs.cjs';
|
|
2
2
|
import './document.cjs';
|
|
3
3
|
import './types.cjs';
|
|
4
|
-
import '../review-support-
|
|
4
|
+
import '../review-support-BJ-YjGmD.cjs';
|
|
5
5
|
import '../ooxml-tree-BU0e3DVi.cjs';
|
|
6
|
-
import '../tree-op-types-
|
|
7
|
-
import '../semantic-interaction-
|
|
8
|
-
import '../semantic-records-
|
|
6
|
+
import '../tree-op-types-EZXbR8bW.cjs';
|
|
7
|
+
import '../semantic-interaction-2yxdv7q0.cjs';
|
|
8
|
+
import '../semantic-records-DSD8WENa.cjs';
|
|
9
9
|
import '../revision-projection-72ZApe-g.cjs';
|
|
10
|
-
import '../image-resources-
|
|
10
|
+
import '../image-resources-DXvPZvXD.cjs';
|
|
11
11
|
import '../ooxml-package-CR5us6ad.cjs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { L as EditorScope, U as InteractionAffinity, W as InteractionOutcome, X as InteractionOutcomeCode, a9 as SemanticIdentity, aa as SemanticTarget, V as ViewScope } from '../editor-
|
|
1
|
+
export { L as EditorScope, U as InteractionAffinity, W as InteractionOutcome, X as InteractionOutcomeCode, a9 as SemanticIdentity, aa as SemanticTarget, V as ViewScope } from '../editor-D1qHfzOt.js';
|
|
2
2
|
import './document.js';
|
|
3
3
|
import './types.js';
|
|
4
|
-
import '../review-support-
|
|
4
|
+
import '../review-support-DgXTIYBW.js';
|
|
5
5
|
import '../ooxml-tree-BU0e3DVi.js';
|
|
6
|
-
import '../tree-op-types-
|
|
7
|
-
import '../semantic-interaction-
|
|
8
|
-
import '../semantic-records-
|
|
6
|
+
import '../tree-op-types-8a6xyRCN.js';
|
|
7
|
+
import '../semantic-interaction-DrgbgKg6.js';
|
|
8
|
+
import '../semantic-records-CR5hTqMK.js';
|
|
9
9
|
import '../revision-projection-DHAkcD_L.js';
|
|
10
|
-
import '../image-resources-
|
|
10
|
+
import '../image-resources-BG9DLyW7.js';
|
|
11
11
|
import '../ooxml-package-D_CtywTW.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { e as OoxmlPart } from '../ooxml-tree-BU0e3DVi.cjs';
|
|
2
|
-
export { R as RevisionAddress } from '../tree-op-types-
|
|
2
|
+
export { R as RevisionAddress } from '../tree-op-types-EZXbR8bW.cjs';
|
|
3
3
|
import { R as RevisionDisplayMode } from '../revision-projection-72ZApe-g.cjs';
|
|
4
|
-
import { R as ReviewModelInput, a as ReviewItem, b as ReviewRevisionItem } from '../review-support-
|
|
5
|
-
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, e as ReviewPosition, f as ReviewRange, g as ReviewRevisionKind } from '../review-support-
|
|
4
|
+
import { R as ReviewModelInput, a as ReviewItem, b as ReviewRevisionItem } from '../review-support-BJ-YjGmD.cjs';
|
|
5
|
+
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, e as ReviewPosition, f as ReviewRange, g as ReviewRevisionKind } from '../review-support-BJ-YjGmD.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* `@docx-editor.dev/core/contracts/modules` — the `EditorModule` seam.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { e as OoxmlPart } from '../ooxml-tree-BU0e3DVi.js';
|
|
2
|
-
export { R as RevisionAddress } from '../tree-op-types-
|
|
2
|
+
export { R as RevisionAddress } from '../tree-op-types-8a6xyRCN.js';
|
|
3
3
|
import { R as RevisionDisplayMode } from '../revision-projection-DHAkcD_L.js';
|
|
4
|
-
import { R as ReviewModelInput, a as ReviewItem, b as ReviewRevisionItem } from '../review-support-
|
|
5
|
-
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, e as ReviewPosition, f as ReviewRange, g as ReviewRevisionKind } from '../review-support-
|
|
4
|
+
import { R as ReviewModelInput, a as ReviewItem, b as ReviewRevisionItem } from '../review-support-DgXTIYBW.js';
|
|
5
|
+
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, e as ReviewPosition, f as ReviewRange, g as ReviewRevisionKind } from '../review-support-DgXTIYBW.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* `@docx-editor.dev/core/contracts/modules` — the `EditorModule` seam.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { e as OoxmlPart, O as OoxmlNode } from './ooxml-tree-BU0e3DVi.js';
|
|
2
2
|
import { O as OoxmlPackage } from './ooxml-package-D_CtywTW.js';
|
|
3
|
-
import { S as SupportedImageMime, b as ImageDecodePort } from './image-resources-
|
|
4
|
-
import { m as DrawingTreeDocOp, a as TreeOpRejection, T as TreeDocOp } from './tree-op-types-
|
|
3
|
+
import { S as SupportedImageMime, b as ImageDecodePort } from './image-resources-BG9DLyW7.js';
|
|
4
|
+
import { m as DrawingTreeDocOp, a as TreeOpRejection, T as TreeDocOp } from './tree-op-types-8a6xyRCN.js';
|
|
5
5
|
import { c as HeaderFooterKind, H as HeaderFooterVariant } from './hf-references-BdjsQNE_.js';
|
|
6
6
|
import { N as NoteKind } from './note-nodes-BPSTVDMr.js';
|
|
7
|
-
import { T as TreeModelChange, a as TreeStoryRef, b as TreeDocumentStore, c as TransactionContext, d as TransactOptions, S as SelectionMark, e as TreeDocumentCheckpoint } from './tree-store-
|
|
7
|
+
import { T as TreeModelChange, a as TreeStoryRef, b as TreeDocumentStore, c as TransactionContext, d as TransactOptions, S as SelectionMark, e as TreeDocumentCheckpoint } from './tree-store-BoM6eXaL.js';
|
|
8
8
|
|
|
9
9
|
/** A freshly allocated drawing property id, or the reason one could not be minted. */
|
|
10
10
|
type DrawingPropertyIdResult = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { e as OoxmlPart, O as OoxmlNode } from './ooxml-tree-BU0e3DVi.cjs';
|
|
2
2
|
import { O as OoxmlPackage } from './ooxml-package-CR5us6ad.cjs';
|
|
3
|
-
import { S as SupportedImageMime, b as ImageDecodePort } from './image-resources-
|
|
4
|
-
import { m as DrawingTreeDocOp, a as TreeOpRejection, T as TreeDocOp } from './tree-op-types-
|
|
3
|
+
import { S as SupportedImageMime, b as ImageDecodePort } from './image-resources-DXvPZvXD.cjs';
|
|
4
|
+
import { m as DrawingTreeDocOp, a as TreeOpRejection, T as TreeDocOp } from './tree-op-types-EZXbR8bW.cjs';
|
|
5
5
|
import { c as HeaderFooterKind, H as HeaderFooterVariant } from './hf-references-CgEOSw3i.cjs';
|
|
6
6
|
import { N as NoteKind } from './note-nodes-C6DLxlvj.cjs';
|
|
7
|
-
import { T as TreeModelChange, a as TreeStoryRef, b as TreeDocumentStore, c as TransactionContext, d as TransactOptions, S as SelectionMark, e as TreeDocumentCheckpoint } from './tree-store-
|
|
7
|
+
import { T as TreeModelChange, a as TreeStoryRef, b as TreeDocumentStore, c as TransactionContext, d as TransactOptions, S as SelectionMark, e as TreeDocumentCheckpoint } from './tree-store-UYrGKF_Q.cjs';
|
|
8
8
|
|
|
9
9
|
/** A freshly allocated drawing property id, or the reason one could not be minted. */
|
|
10
10
|
type DrawingPropertyIdResult = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DocEdits, DocQueries, DocQueryResults, ContentControlSummary } from './contracts/document.js';
|
|
2
|
-
import { g as ReviewRevisionKind, c as ReviewCommentItem, b as ReviewRevisionItem, d as ReviewCustomItem } from './review-support-
|
|
3
|
-
import { a as SemanticSelection, S as SemanticPosition } from './semantic-interaction-
|
|
2
|
+
import { g as ReviewRevisionKind, c as ReviewCommentItem, b as ReviewRevisionItem, d as ReviewCustomItem } from './review-support-DgXTIYBW.js';
|
|
3
|
+
import { a as SemanticSelection, S as SemanticPosition } from './semantic-interaction-DrgbgKg6.js';
|
|
4
4
|
import { ExecErrorCode, ColorValue, Watermark, DocAnchor, ExecResult, ContentControlFilter, DocRange, RunFormatting, Revision, Rect, Unsubscribe } from './contracts/types.js';
|
|
5
|
-
import { S as SourceCrop, b as ImageWrapTarget, c as DrawingKind, d as DrawingPositionInput, e as DrawingLocks } from './tree-op-types-
|
|
6
|
-
import { S as SupportedImageMime, I as ImageResourceState } from './image-resources-
|
|
5
|
+
import { S as SourceCrop, b as ImageWrapTarget, c as DrawingKind, d as DrawingPositionInput, e as DrawingLocks } from './tree-op-types-8a6xyRCN.js';
|
|
6
|
+
import { S as SupportedImageMime, I as ImageResourceState } from './image-resources-BG9DLyW7.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* `@docx-editor.dev/core/contracts/interaction` — semantic addressing and interaction outcomes.
|
|
@@ -786,6 +786,14 @@ interface Editor {
|
|
|
786
786
|
*/
|
|
787
787
|
acceptReviewItem(key: string): ExecResult;
|
|
788
788
|
rejectReviewItem(key: string): ExecResult;
|
|
789
|
+
/**
|
|
790
|
+
* Resolve or reopen the comment thread behind a review card.
|
|
791
|
+
*
|
|
792
|
+
* The thread state is written through the same package transaction as every other comment
|
|
793
|
+
* mutation, so `commentsExtended.xml`, Undo and save/reopen cannot disagree. Repeating the
|
|
794
|
+
* state already on the item succeeds without adding an undo entry.
|
|
795
|
+
*/
|
|
796
|
+
setCommentResolved(key: string, resolved: boolean): ExecResult;
|
|
789
797
|
/**
|
|
790
798
|
* Discard the item behind a card: the destructive half of the review verbs.
|
|
791
799
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DocEdits, DocQueries, DocQueryResults, ContentControlSummary } from './contracts/document.cjs';
|
|
2
|
-
import { g as ReviewRevisionKind, c as ReviewCommentItem, b as ReviewRevisionItem, d as ReviewCustomItem } from './review-support-
|
|
3
|
-
import { a as SemanticSelection, S as SemanticPosition } from './semantic-interaction-
|
|
2
|
+
import { g as ReviewRevisionKind, c as ReviewCommentItem, b as ReviewRevisionItem, d as ReviewCustomItem } from './review-support-BJ-YjGmD.cjs';
|
|
3
|
+
import { a as SemanticSelection, S as SemanticPosition } from './semantic-interaction-2yxdv7q0.cjs';
|
|
4
4
|
import { ExecErrorCode, ColorValue, Watermark, DocAnchor, ExecResult, ContentControlFilter, DocRange, RunFormatting, Revision, Rect, Unsubscribe } from './contracts/types.cjs';
|
|
5
|
-
import { S as SourceCrop, b as ImageWrapTarget, c as DrawingKind, d as DrawingPositionInput, e as DrawingLocks } from './tree-op-types-
|
|
6
|
-
import { S as SupportedImageMime, I as ImageResourceState } from './image-resources-
|
|
5
|
+
import { S as SourceCrop, b as ImageWrapTarget, c as DrawingKind, d as DrawingPositionInput, e as DrawingLocks } from './tree-op-types-EZXbR8bW.cjs';
|
|
6
|
+
import { S as SupportedImageMime, I as ImageResourceState } from './image-resources-DXvPZvXD.cjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* `@docx-editor.dev/core/contracts/interaction` — semantic addressing and interaction outcomes.
|
|
@@ -786,6 +786,14 @@ interface Editor {
|
|
|
786
786
|
*/
|
|
787
787
|
acceptReviewItem(key: string): ExecResult;
|
|
788
788
|
rejectReviewItem(key: string): ExecResult;
|
|
789
|
+
/**
|
|
790
|
+
* Resolve or reopen the comment thread behind a review card.
|
|
791
|
+
*
|
|
792
|
+
* The thread state is written through the same package transaction as every other comment
|
|
793
|
+
* mutation, so `commentsExtended.xml`, Undo and save/reopen cannot disagree. Repeating the
|
|
794
|
+
* state already on the item succeeds without adding an undo entry.
|
|
795
|
+
*/
|
|
796
|
+
setCommentResolved(key: string, resolved: boolean): ExecResult;
|
|
789
797
|
/**
|
|
790
798
|
* Discard the item behind a card: the destructive half of the review verbs.
|
|
791
799
|
*
|
package/dist/editor.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var chunkIHAFYLLQ_cjs=require('./chunk-IHAFYLLQ.cjs');require('./chunk-PYRPB22X.cjs'),require('./chunk-K6FOU3RO.cjs'),require('./chunk-P2NVDXSG.cjs'),require('./chunk-Y2PX72HO.cjs'),require('./chunk-BS554B6D.cjs'),require('./chunk-4CHEPYZV.cjs');var chunkBEV535XW_cjs=require('./chunk-BEV535XW.cjs');require('./chunk-MIUELYVA.cjs');var chunk7VQ7YLW3_cjs=require('./chunk-7VQ7YLW3.cjs');Object.defineProperty(exports,"AUTO_ZOOM_MODE",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Ea}});Object.defineProperty(exports,"BROWSER_AUTOMATION_CAPABILITIES",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Ja}});Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.sa}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.wa}});Object.defineProperty(exports,"CHROME_UNAVAILABLE_KEY",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.za}});Object.defineProperty(exports,"DEFAULT_TABLE_CHROME_DRAFT",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.W}});Object.defineProperty(exports,"EMU_PER_POINT",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.O}});Object.defineProperty(exports,"FIT_WIDTH_ZOOM_MODE",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Fa}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_PT",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.M}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_SHIFT_PT",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.N}});Object.defineProperty(exports,"MAX_RESOLVER_FAMILIES",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.d}});Object.defineProperty(exports,"PX_PER_CM",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.k}});Object.defineProperty(exports,"PX_PER_INCH",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.j}});Object.defineProperty(exports,"SNAP_TWIPS_CM",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.q}});Object.defineProperty(exports,"SNAP_TWIPS_INCH",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.p}});Object.defineProperty(exports,"TABLE_BORDER_STYLE_OPTIONS",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.aa}});Object.defineProperty(exports,"TABLE_BORDER_TARGET_OPTIONS",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.$}});Object.defineProperty(exports,"TABLE_BORDER_WIDTH_OPTIONS",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.ba}});Object.defineProperty(exports,"TABLE_CHROME_SLOT_IDS",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.X}});Object.defineProperty(exports,"TWIPS_PER_CM",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.o}});Object.defineProperty(exports,"TWIPS_PER_INCH",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.n}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.e}});Object.defineProperty(exports,"ZOOM_MAX",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Da}});Object.defineProperty(exports,"ZOOM_MIN",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Ca}});Object.defineProperty(exports,"applyTableChromePick",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.ca}});Object.defineProperty(exports,"applyThemeShade",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.w}});Object.defineProperty(exports,"applyThemeTint",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.v}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.g}});Object.defineProperty(exports,"canExecuteImageCommand",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.K}});Object.defineProperty(exports,"captureImageMutationPreconditions",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.J}});Object.defineProperty(exports,"chromeControlCount",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.ya}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.xa}});Object.defineProperty(exports,"chromeProbeForSlot",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.ga}});Object.defineProperty(exports,"chromeSlotId",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.ta}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.ha}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.ja}});Object.defineProperty(exports,"commandForTableChromeSlotValue",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.ia}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.f}});Object.defineProperty(exports,"computeImageResizeResult",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Qa}});Object.defineProperty(exports,"computeMovedImagePosition",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.T}});Object.defineProperty(exports,"computeResizedImageExtentEmu",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.S}});Object.defineProperty(exports,"createBrowserAutomationHost",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Ka}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Ia}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.i}});Object.defineProperty(exports,"createImageOverlayScrollPort",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Ra}});Object.defineProperty(exports,"createLayoutShaping",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.b}});Object.defineProperty(exports,"cropPercentFromCropPermille",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.G}});Object.defineProperty(exports,"cropPercentFromPermille",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.E}});Object.defineProperty(exports,"cropPercentFromSourceCrop",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.B}});Object.defineProperty(exports,"cropPermilleFromCropPercent",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.F}});Object.defineProperty(exports,"cropPermilleFromPercent",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.D}});Object.defineProperty(exports,"cssPixelsToLayoutPoints",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Na}});Object.defineProperty(exports,"defaultChromeGroups",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.ua}});Object.defineProperty(exports,"defaultTableLabel",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Y}});Object.defineProperty(exports,"disposeLayoutShaping",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.c}});Object.defineProperty(exports,"dragIndent",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.t}});Object.defineProperty(exports,"emuToOverlayPoints",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.R}});Object.defineProperty(exports,"executeImageCommand",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.L}});Object.defineProperty(exports,"finalizeImageOverlayInteraction",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Sa}});Object.defineProperty(exports,"formattingBarChromeGroups",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.va}});Object.defineProperty(exports,"generateRulerTicks",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.l}});Object.defineProperty(exports,"handlePosition",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.r}});Object.defineProperty(exports,"isStaleImageInteractionCommit",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.U}});Object.defineProperty(exports,"isTableChromeSlot",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Z}});Object.defineProperty(exports,"layoutPointsToCssPixels",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Ma}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.h}});Object.defineProperty(exports,"lowerColorValueForBorder",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.y}});Object.defineProperty(exports,"lowerColorValueForFill",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.z}});Object.defineProperty(exports,"mountPaginatedSurface",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Ba}});Object.defineProperty(exports,"overlayFrameToSheetCssPixels",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Oa}});Object.defineProperty(exports,"pointsToEmu",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Q}});Object.defineProperty(exports,"probeTableChromeCommand",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.da}});Object.defineProperty(exports,"resizePreservesAspect",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Pa}});Object.defineProperty(exports,"resolveColorValueToCss",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.A}});Object.defineProperty(exports,"resolveThemeColorHex",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.x}});Object.defineProperty(exports,"resolveZoomMode",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Ga}});Object.defineProperty(exports,"rulerPageBox",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.m}});Object.defineProperty(exports,"runSave",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.pa}});Object.defineProperty(exports,"runTableChromeCommand",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.na}});Object.defineProperty(exports,"runTableCommand",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.ra}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.oa}});Object.defineProperty(exports,"sameZoomMode",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Ha}});Object.defineProperty(exports,"selectedDrawingOverlayTargetOf",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.P}});Object.defineProperty(exports,"selectedImageStateOf",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.I}});Object.defineProperty(exports,"snapTwips",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.s}});Object.defineProperty(exports,"sourceCropFromCropPercent",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.C}});Object.defineProperty(exports,"surfaceExtent",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.Aa}});Object.defineProperty(exports,"surfacePaintScale",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.La}});Object.defineProperty(exports,"tableChromeIconPaths",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.fa}});Object.defineProperty(exports,"tableChromeLabelKeyForTarget",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.ea}});Object.defineProperty(exports,"tableChromeToolbarState",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.ka}});Object.defineProperty(exports,"tableChromeVisible",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs._}});Object.defineProperty(exports,"tableCommandState",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.V}});Object.defineProperty(exports,"tableCommandToolbarState",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.qa}});Object.defineProperty(exports,"toEditorFontError",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.a}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.la}});Object.defineProperty(exports,"toolbarCommandStates",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.ma}});Object.defineProperty(exports,"validateImageCropPercent",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.H}});Object.defineProperty(exports,"validateThemeModifier",{enumerable:true,get:function(){return chunkIHAFYLLQ_cjs.u}});Object.defineProperty(exports,"DEFAULT_IMAGE_RESOURCE_LIMITS",{enumerable:true,get:function(){return chunkBEV535XW_cjs.D}});Object.defineProperty(exports,"DRAWING_REL_FROM_H",{enumerable:true,get:function(){return chunkBEV535XW_cjs.pf}});Object.defineProperty(exports,"DRAWING_REL_FROM_V",{enumerable:true,get:function(){return chunkBEV535XW_cjs.qf}});Object.defineProperty(exports,"IMAGE_WRAP_TARGETS",{enumerable:true,get:function(){return chunkBEV535XW_cjs.Wa}});Object.defineProperty(exports,"positionInputFromPropertiesCommand",{enumerable:true,get:function(){return chunkBEV535XW_cjs.sf}});Object.defineProperty(exports,"propertiesCommandHasPositionFields",{enumerable:true,get:function(){return chunkBEV535XW_cjs.rf}});Object.defineProperty(exports,"resolveImageResourceLimits",{enumerable:true,get:function(){return chunkBEV535XW_cjs.E}});Object.defineProperty(exports,"resolveSvgIntrinsicSize",{enumerable:true,get:function(){return chunkBEV535XW_cjs.mb}});Object.defineProperty(exports,"sniffImageMime",{enumerable:true,get:function(){return chunkBEV535XW_cjs.ib}});Object.defineProperty(exports,"validateDrawingPositionInput",{enumerable:true,get:function(){return chunkBEV535XW_cjs.of}});Object.defineProperty(exports,"validateRasterHeader",{enumerable:true,get:function(){return chunkBEV535XW_cjs.nb}});Object.defineProperty(exports,"validateSetImagePositionCommand",{enumerable:true,get:function(){return chunkBEV535XW_cjs.tf}});Object.defineProperty(exports,"resolveEditorModules",{enumerable:true,get:function(){return chunk7VQ7YLW3_cjs.a}});
|
|
1
|
+
'use strict';var chunkIZIL6BAW_cjs=require('./chunk-IZIL6BAW.cjs');require('./chunk-YTYKNA6X.cjs'),require('./chunk-DQ5HGUWG.cjs'),require('./chunk-YMIMLEX4.cjs'),require('./chunk-GWG5IVVX.cjs'),require('./chunk-BS554B6D.cjs'),require('./chunk-MHDO6HLI.cjs');var chunkEQO762XH_cjs=require('./chunk-EQO762XH.cjs');require('./chunk-OHJQ7GPZ.cjs');var chunk7VQ7YLW3_cjs=require('./chunk-7VQ7YLW3.cjs');Object.defineProperty(exports,"AUTO_ZOOM_MODE",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Ea}});Object.defineProperty(exports,"BROWSER_AUTOMATION_CAPABILITIES",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Ja}});Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.sa}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.wa}});Object.defineProperty(exports,"CHROME_UNAVAILABLE_KEY",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.za}});Object.defineProperty(exports,"DEFAULT_TABLE_CHROME_DRAFT",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.W}});Object.defineProperty(exports,"EMU_PER_POINT",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.O}});Object.defineProperty(exports,"FIT_WIDTH_ZOOM_MODE",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Fa}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_PT",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.M}});Object.defineProperty(exports,"IMAGE_OVERLAY_NUDGE_SHIFT_PT",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.N}});Object.defineProperty(exports,"MAX_RESOLVER_FAMILIES",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.d}});Object.defineProperty(exports,"PX_PER_CM",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.k}});Object.defineProperty(exports,"PX_PER_INCH",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.j}});Object.defineProperty(exports,"SNAP_TWIPS_CM",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.q}});Object.defineProperty(exports,"SNAP_TWIPS_INCH",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.p}});Object.defineProperty(exports,"TABLE_BORDER_STYLE_OPTIONS",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.aa}});Object.defineProperty(exports,"TABLE_BORDER_TARGET_OPTIONS",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.$}});Object.defineProperty(exports,"TABLE_BORDER_WIDTH_OPTIONS",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ba}});Object.defineProperty(exports,"TABLE_CHROME_SLOT_IDS",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.X}});Object.defineProperty(exports,"TWIPS_PER_CM",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.o}});Object.defineProperty(exports,"TWIPS_PER_INCH",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.n}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.e}});Object.defineProperty(exports,"ZOOM_MAX",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Da}});Object.defineProperty(exports,"ZOOM_MIN",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Ca}});Object.defineProperty(exports,"applyTableChromePick",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ca}});Object.defineProperty(exports,"applyThemeShade",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.w}});Object.defineProperty(exports,"applyThemeTint",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.v}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.g}});Object.defineProperty(exports,"canExecuteImageCommand",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.K}});Object.defineProperty(exports,"captureImageMutationPreconditions",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.J}});Object.defineProperty(exports,"chromeControlCount",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ya}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.xa}});Object.defineProperty(exports,"chromeProbeForSlot",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ga}});Object.defineProperty(exports,"chromeSlotId",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ta}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ha}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ja}});Object.defineProperty(exports,"commandForTableChromeSlotValue",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ia}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.f}});Object.defineProperty(exports,"computeImageResizeResult",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Qa}});Object.defineProperty(exports,"computeMovedImagePosition",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.T}});Object.defineProperty(exports,"computeResizedImageExtentEmu",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.S}});Object.defineProperty(exports,"createBrowserAutomationHost",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Ka}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Ia}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.i}});Object.defineProperty(exports,"createImageOverlayScrollPort",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Ra}});Object.defineProperty(exports,"createLayoutShaping",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.b}});Object.defineProperty(exports,"cropPercentFromCropPermille",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.G}});Object.defineProperty(exports,"cropPercentFromPermille",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.E}});Object.defineProperty(exports,"cropPercentFromSourceCrop",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.B}});Object.defineProperty(exports,"cropPermilleFromCropPercent",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.F}});Object.defineProperty(exports,"cropPermilleFromPercent",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.D}});Object.defineProperty(exports,"cssPixelsToLayoutPoints",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Na}});Object.defineProperty(exports,"defaultChromeGroups",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ua}});Object.defineProperty(exports,"defaultTableLabel",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Y}});Object.defineProperty(exports,"disposeLayoutShaping",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.c}});Object.defineProperty(exports,"dragIndent",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.t}});Object.defineProperty(exports,"emuToOverlayPoints",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.R}});Object.defineProperty(exports,"executeImageCommand",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.L}});Object.defineProperty(exports,"finalizeImageOverlayInteraction",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Sa}});Object.defineProperty(exports,"formattingBarChromeGroups",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.va}});Object.defineProperty(exports,"generateRulerTicks",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.l}});Object.defineProperty(exports,"handlePosition",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.r}});Object.defineProperty(exports,"isStaleImageInteractionCommit",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.U}});Object.defineProperty(exports,"isTableChromeSlot",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Z}});Object.defineProperty(exports,"layoutPointsToCssPixels",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Ma}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.h}});Object.defineProperty(exports,"lowerColorValueForBorder",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.y}});Object.defineProperty(exports,"lowerColorValueForFill",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.z}});Object.defineProperty(exports,"mountPaginatedSurface",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Ba}});Object.defineProperty(exports,"overlayFrameToSheetCssPixels",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Oa}});Object.defineProperty(exports,"pointsToEmu",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Q}});Object.defineProperty(exports,"probeTableChromeCommand",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.da}});Object.defineProperty(exports,"resizePreservesAspect",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Pa}});Object.defineProperty(exports,"resolveColorValueToCss",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.A}});Object.defineProperty(exports,"resolveThemeColorHex",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.x}});Object.defineProperty(exports,"resolveZoomMode",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Ga}});Object.defineProperty(exports,"rulerPageBox",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.m}});Object.defineProperty(exports,"runSave",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.pa}});Object.defineProperty(exports,"runTableChromeCommand",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.na}});Object.defineProperty(exports,"runTableCommand",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ra}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.oa}});Object.defineProperty(exports,"sameZoomMode",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Ha}});Object.defineProperty(exports,"selectedDrawingOverlayTargetOf",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.P}});Object.defineProperty(exports,"selectedImageStateOf",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.I}});Object.defineProperty(exports,"snapTwips",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.s}});Object.defineProperty(exports,"sourceCropFromCropPercent",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.C}});Object.defineProperty(exports,"surfaceExtent",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Aa}});Object.defineProperty(exports,"surfacePaintScale",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.La}});Object.defineProperty(exports,"tableChromeIconPaths",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.fa}});Object.defineProperty(exports,"tableChromeLabelKeyForTarget",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ea}});Object.defineProperty(exports,"tableChromeToolbarState",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ka}});Object.defineProperty(exports,"tableChromeVisible",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs._}});Object.defineProperty(exports,"tableCommandState",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.V}});Object.defineProperty(exports,"tableCommandToolbarState",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.qa}});Object.defineProperty(exports,"toEditorFontError",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.a}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.la}});Object.defineProperty(exports,"toolbarCommandStates",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ma}});Object.defineProperty(exports,"validateImageCropPercent",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.H}});Object.defineProperty(exports,"validateThemeModifier",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.u}});Object.defineProperty(exports,"DEFAULT_IMAGE_RESOURCE_LIMITS",{enumerable:true,get:function(){return chunkEQO762XH_cjs.D}});Object.defineProperty(exports,"DRAWING_REL_FROM_H",{enumerable:true,get:function(){return chunkEQO762XH_cjs.qf}});Object.defineProperty(exports,"DRAWING_REL_FROM_V",{enumerable:true,get:function(){return chunkEQO762XH_cjs.rf}});Object.defineProperty(exports,"IMAGE_WRAP_TARGETS",{enumerable:true,get:function(){return chunkEQO762XH_cjs.Wa}});Object.defineProperty(exports,"positionInputFromPropertiesCommand",{enumerable:true,get:function(){return chunkEQO762XH_cjs.tf}});Object.defineProperty(exports,"propertiesCommandHasPositionFields",{enumerable:true,get:function(){return chunkEQO762XH_cjs.sf}});Object.defineProperty(exports,"resolveImageResourceLimits",{enumerable:true,get:function(){return chunkEQO762XH_cjs.E}});Object.defineProperty(exports,"resolveSvgIntrinsicSize",{enumerable:true,get:function(){return chunkEQO762XH_cjs.nb}});Object.defineProperty(exports,"sniffImageMime",{enumerable:true,get:function(){return chunkEQO762XH_cjs.jb}});Object.defineProperty(exports,"validateDrawingPositionInput",{enumerable:true,get:function(){return chunkEQO762XH_cjs.pf}});Object.defineProperty(exports,"validateRasterHeader",{enumerable:true,get:function(){return chunkEQO762XH_cjs.ob}});Object.defineProperty(exports,"validateSetImagePositionCommand",{enumerable:true,get:function(){return chunkEQO762XH_cjs.uf}});Object.defineProperty(exports,"resolveEditorModules",{enumerable:true,get:function(){return chunk7VQ7YLW3_cjs.a}});
|
package/dist/editor.css
CHANGED
|
@@ -3931,6 +3931,8 @@ a.docx-hyperlink:focus-visible {
|
|
|
3931
3931
|
}
|
|
3932
3932
|
}
|
|
3933
3933
|
.docx-paginated-surface .docx-page {
|
|
3934
|
+
/* A rebuilt sheet must not invalidate style/layout/paint across hundreds of sibling pages. */
|
|
3935
|
+
contain: layout style paint;
|
|
3934
3936
|
/* The TOKEN, not a literal. Dark mode sets `--doc-page-bg` to #ccc precisely so the
|
|
3935
3937
|
page inversion lands on Word's grey canvas; a hardcoded #fff inverts to pure black
|
|
3936
3938
|
and takes the text down to unreadable with it. */
|
package/dist/editor.d.cts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { F as FontConfiguration, E as EditorFontError, a as EditorCommand, C as CanResult, Z as ZoomMode } from './editor-
|
|
2
|
-
export { I as ImageContext, b as ImageCropPercent, c as ImageCropPermille, S as SelectedImageState, d as cropPercentFromCropPermille, e as cropPercentFromPermille, f as cropPercentFromSourceCrop, g as cropPermilleFromCropPercent, h as cropPermilleFromPercent, s as sourceCropFromCropPercent, v as validateImageCropPercent } from './editor-
|
|
3
|
-
import { L as LayoutShapingOptions } from './shaped-measurer-
|
|
4
|
-
import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-
|
|
5
|
-
export { A as AnchorFrameOrigin, C as CHROME_GROUPS, b as CHROME_MENUS, c as CHROME_UNAVAILABLE_KEY, d as ChromeControl, e as ChromeControlId, f as ChromeControlState, g as ChromeGroup, h as ChromeGroupId, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, p as DEFAULT_TABLE_CHROME_DRAFT, q as DocxEditorConfig, E as EMU_PER_POINT, F as FinalizedImageOverlayInteraction, r as FontConfigurationBase, s as FontConfigurationFragment, t as FontLoadFailure, u as FontLoadFailureReason, v as FontMeasurementState, w as FontResolutionRequest, x as FontResolver, y as FontUrlSource, H as HyperlinkActivation, z as HyperlinkChromeHandlers, B as HyperlinkOps, I as IMAGE_OVERLAY_NUDGE_PT, G as IMAGE_OVERLAY_NUDGE_SHIFT_PT, J as ImageInteractionSession, K as ImageOverlayScrollPort, L as ImageResizeHandle, M as ImageResizeResult, N as LoadFontsRequest, Q as LoadFontsResult, R as MAX_RESOLVER_FAMILIES, S as OverlayFrameRect, U as PaginatedSurfaceState, V as RunTableChromeCommandResult, W as SelectedDrawingOverlayTarget, X as SurfaceFormatting, Y as SurfaceHyperlink, Z as SurfaceNavigation, _ as SurfaceOverlayCoordinates, $ as TABLE_BORDER_STYLE_OPTIONS, a0 as TABLE_BORDER_TARGET_OPTIONS, a1 as TABLE_BORDER_WIDTH_OPTIONS, a2 as TABLE_CHROME_SLOT_IDS, a3 as TableBorderStyleOption, a4 as TableBorderTargetOption, a5 as TableBorderTargetValue, a6 as TableBorderWidthOption, a7 as TableChromeDraft, a8 as TableChromePick, a9 as TableChromeSlotId, aa as TableInteractionLabelKey, ab as ToolbarCommandState, ac as WORD_DEFAULT_FONT, ad as applyTableChromePick, ae as blankDocumentBytes, af as canExecuteImageCommand, ag as captureImageMutationPreconditions, ah as chromeControlCount, ai as chromeMenuSlots, aj as chromeProbeForSlot, ak as chromeSlotId, al as commandForSlot, am as commandForSlotValue, an as commandForTableChromeSlotValue, ao as composeFontConfiguration, ap as computeImageResizeResult, aq as computeMovedImagePosition, ar as computeResizedImageExtentEmu, as as createDocxEditor, at as createFontSource, au as createImageOverlayScrollPort, av as cssPixelsToLayoutPoints, aw as defaultChromeGroups, ax as defaultTableLabel, ay as emuToOverlayPoints, az as executeImageCommand, aA as finalizeImageOverlayInteraction, aB as formattingBarChromeGroups, aC as isStaleImageInteractionCommit, aD as isTableChromeSlot, aE as layoutPointsToCssPixels, aF as loadFonts, aG as overlayFrameToSheetCssPixels, aH as pointsToEmu, aI as probeTableChromeCommand, aJ as resizePreservesAspect, aK as runSave, aL as runTableChromeCommand, aM as runTableCommand, aN as runToolbarCommand, aO as selectedDrawingOverlayTargetOf, aP as selectedImageStateOf, aQ as surfacePaintScale, aR as tableChromeIconPaths, aS as tableChromeLabelKeyForTarget, aT as tableChromeToolbarState, aU as tableChromeVisible, aV as tableCommandToolbarState, aW as toolbarCommandState, aX as toolbarCommandStates } from './index-
|
|
6
|
-
import { A as AutomationCapabilities, a as AutomationHost } from './protocol-
|
|
1
|
+
import { F as FontConfiguration, E as EditorFontError, a as EditorCommand, C as CanResult, Z as ZoomMode } from './editor-DYvC9CZs.cjs';
|
|
2
|
+
export { I as ImageContext, b as ImageCropPercent, c as ImageCropPermille, S as SelectedImageState, d as cropPercentFromCropPermille, e as cropPercentFromPermille, f as cropPercentFromSourceCrop, g as cropPermilleFromCropPercent, h as cropPermilleFromPercent, s as sourceCropFromCropPercent, v as validateImageCropPercent } from './editor-DYvC9CZs.cjs';
|
|
3
|
+
import { L as LayoutShapingOptions } from './shaped-measurer-CBOTJTV_.cjs';
|
|
4
|
+
import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-Bb-QAg_f.cjs';
|
|
5
|
+
export { A as AnchorFrameOrigin, C as CHROME_GROUPS, b as CHROME_MENUS, c as CHROME_UNAVAILABLE_KEY, d as ChromeControl, e as ChromeControlId, f as ChromeControlState, g as ChromeGroup, h as ChromeGroupId, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, p as DEFAULT_TABLE_CHROME_DRAFT, q as DocxEditorConfig, E as EMU_PER_POINT, F as FinalizedImageOverlayInteraction, r as FontConfigurationBase, s as FontConfigurationFragment, t as FontLoadFailure, u as FontLoadFailureReason, v as FontMeasurementState, w as FontResolutionRequest, x as FontResolver, y as FontUrlSource, H as HyperlinkActivation, z as HyperlinkChromeHandlers, B as HyperlinkOps, I as IMAGE_OVERLAY_NUDGE_PT, G as IMAGE_OVERLAY_NUDGE_SHIFT_PT, J as ImageInteractionSession, K as ImageOverlayScrollPort, L as ImageResizeHandle, M as ImageResizeResult, N as LoadFontsRequest, Q as LoadFontsResult, R as MAX_RESOLVER_FAMILIES, S as OverlayFrameRect, U as PaginatedSurfaceState, V as RunTableChromeCommandResult, W as SelectedDrawingOverlayTarget, X as SurfaceFormatting, Y as SurfaceHyperlink, Z as SurfaceNavigation, _ as SurfaceOverlayCoordinates, $ as TABLE_BORDER_STYLE_OPTIONS, a0 as TABLE_BORDER_TARGET_OPTIONS, a1 as TABLE_BORDER_WIDTH_OPTIONS, a2 as TABLE_CHROME_SLOT_IDS, a3 as TableBorderStyleOption, a4 as TableBorderTargetOption, a5 as TableBorderTargetValue, a6 as TableBorderWidthOption, a7 as TableChromeDraft, a8 as TableChromePick, a9 as TableChromeSlotId, aa as TableInteractionLabelKey, ab as ToolbarCommandState, ac as WORD_DEFAULT_FONT, ad as applyTableChromePick, ae as blankDocumentBytes, af as canExecuteImageCommand, ag as captureImageMutationPreconditions, ah as chromeControlCount, ai as chromeMenuSlots, aj as chromeProbeForSlot, ak as chromeSlotId, al as commandForSlot, am as commandForSlotValue, an as commandForTableChromeSlotValue, ao as composeFontConfiguration, ap as computeImageResizeResult, aq as computeMovedImagePosition, ar as computeResizedImageExtentEmu, as as createDocxEditor, at as createFontSource, au as createImageOverlayScrollPort, av as cssPixelsToLayoutPoints, aw as defaultChromeGroups, ax as defaultTableLabel, ay as emuToOverlayPoints, az as executeImageCommand, aA as finalizeImageOverlayInteraction, aB as formattingBarChromeGroups, aC as isStaleImageInteractionCommit, aD as isTableChromeSlot, aE as layoutPointsToCssPixels, aF as loadFonts, aG as overlayFrameToSheetCssPixels, aH as pointsToEmu, aI as probeTableChromeCommand, aJ as resizePreservesAspect, aK as runSave, aL as runTableChromeCommand, aM as runTableCommand, aN as runToolbarCommand, aO as selectedDrawingOverlayTargetOf, aP as selectedImageStateOf, aQ as surfacePaintScale, aR as tableChromeIconPaths, aS as tableChromeLabelKeyForTarget, aT as tableChromeToolbarState, aU as tableChromeVisible, aV as tableCommandToolbarState, aW as toolbarCommandState, aX as toolbarCommandStates } from './index-Bb-QAg_f.cjs';
|
|
6
|
+
import { A as AutomationCapabilities, a as AutomationHost } from './protocol-CD7slqvl.cjs';
|
|
7
7
|
export { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution, resolveEditorModules } from './contracts/modules.cjs';
|
|
8
8
|
import { ColorValue } from './contracts/types.cjs';
|
|
9
|
-
import { h as TreeDocColorValue, d as DrawingPositionInput } from './tree-op-types-
|
|
10
|
-
export { i as IMAGE_WRAP_TARGETS, b as ImageWrapTarget } from './tree-op-types-
|
|
11
|
-
import { f as DocumentThemeColorEntry } from './tree-session-
|
|
12
|
-
import { S as SemanticLayout } from './semantic-records-
|
|
13
|
-
export { T as TextMeasurer } from './semantic-records-
|
|
14
|
-
export { D as DEFAULT_IMAGE_RESOURCE_LIMITS, b as ImageDecodePort, c as ImageResourceLimits, R as RenderableImageMime, S as SupportedImageMime, a as VectorImageMime, r as resolveImageResourceLimits, d as resolveSvgIntrinsicSize, s as sniffImageMime, v as validateRasterHeader } from './image-resources-
|
|
15
|
-
export { S as SectionProperties } from './semantic-cell-selection
|
|
16
|
-
export { R as ReviewModelInput } from './review-support-
|
|
17
|
-
export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-
|
|
18
|
-
export { F as FieldShadingMode } from './semantic-paint-
|
|
9
|
+
import { h as TreeDocColorValue, d as DrawingPositionInput } from './tree-op-types-EZXbR8bW.cjs';
|
|
10
|
+
export { i as IMAGE_WRAP_TARGETS, b as ImageWrapTarget } from './tree-op-types-EZXbR8bW.cjs';
|
|
11
|
+
import { f as DocumentThemeColorEntry } from './tree-session-DrMm8Cj2.cjs';
|
|
12
|
+
import { S as SemanticLayout } from './semantic-records-DSD8WENa.cjs';
|
|
13
|
+
export { T as TextMeasurer } from './semantic-records-DSD8WENa.cjs';
|
|
14
|
+
export { D as DEFAULT_IMAGE_RESOURCE_LIMITS, b as ImageDecodePort, c as ImageResourceLimits, R as RenderableImageMime, S as SupportedImageMime, a as VectorImageMime, r as resolveImageResourceLimits, d as resolveSvgIntrinsicSize, s as sniffImageMime, v as validateRasterHeader } from './image-resources-DXvPZvXD.cjs';
|
|
15
|
+
export { S as SectionProperties } from './semantic-cell-selection--ezfezTe.cjs';
|
|
16
|
+
export { R as ReviewModelInput } from './review-support-BJ-YjGmD.cjs';
|
|
17
|
+
export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-2yxdv7q0.cjs';
|
|
18
|
+
export { F as FieldShadingMode } from './semantic-paint-BYjE0Xbl.cjs';
|
|
19
19
|
import './contracts/document.cjs';
|
|
20
20
|
import './revision-projection-72ZApe-g.cjs';
|
|
21
21
|
import './ooxml-tree-BU0e3DVi.cjs';
|
|
22
|
-
import './review-reads-
|
|
22
|
+
import './review-reads-CxgN62yp.cjs';
|
|
23
23
|
import './ooxml-package-CR5us6ad.cjs';
|
|
24
|
-
import './custom-node-writes-
|
|
24
|
+
import './custom-node-writes-C5YRoPcc.cjs';
|
|
25
25
|
import './hf-references-CgEOSw3i.cjs';
|
|
26
26
|
import './note-nodes-C6DLxlvj.cjs';
|
|
27
|
-
import './tree-store-
|
|
27
|
+
import './tree-store-UYrGKF_Q.cjs';
|
|
28
28
|
import 'prosemirror-model';
|
|
29
29
|
|
|
30
30
|
interface LayoutShapingInstrumentation {
|
package/dist/editor.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { F as FontConfiguration, E as EditorFontError, a as EditorCommand, C as CanResult, Z as ZoomMode } from './editor-
|
|
2
|
-
export { I as ImageContext, b as ImageCropPercent, c as ImageCropPermille, S as SelectedImageState, d as cropPercentFromCropPermille, e as cropPercentFromPermille, f as cropPercentFromSourceCrop, g as cropPermilleFromCropPercent, h as cropPermilleFromPercent, s as sourceCropFromCropPercent, v as validateImageCropPercent } from './editor-
|
|
3
|
-
import { L as LayoutShapingOptions } from './shaped-measurer-
|
|
4
|
-
import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-
|
|
5
|
-
export { A as AnchorFrameOrigin, C as CHROME_GROUPS, b as CHROME_MENUS, c as CHROME_UNAVAILABLE_KEY, d as ChromeControl, e as ChromeControlId, f as ChromeControlState, g as ChromeGroup, h as ChromeGroupId, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, p as DEFAULT_TABLE_CHROME_DRAFT, q as DocxEditorConfig, E as EMU_PER_POINT, F as FinalizedImageOverlayInteraction, r as FontConfigurationBase, s as FontConfigurationFragment, t as FontLoadFailure, u as FontLoadFailureReason, v as FontMeasurementState, w as FontResolutionRequest, x as FontResolver, y as FontUrlSource, H as HyperlinkActivation, z as HyperlinkChromeHandlers, B as HyperlinkOps, I as IMAGE_OVERLAY_NUDGE_PT, G as IMAGE_OVERLAY_NUDGE_SHIFT_PT, J as ImageInteractionSession, K as ImageOverlayScrollPort, L as ImageResizeHandle, M as ImageResizeResult, N as LoadFontsRequest, Q as LoadFontsResult, R as MAX_RESOLVER_FAMILIES, S as OverlayFrameRect, U as PaginatedSurfaceState, V as RunTableChromeCommandResult, W as SelectedDrawingOverlayTarget, X as SurfaceFormatting, Y as SurfaceHyperlink, Z as SurfaceNavigation, _ as SurfaceOverlayCoordinates, $ as TABLE_BORDER_STYLE_OPTIONS, a0 as TABLE_BORDER_TARGET_OPTIONS, a1 as TABLE_BORDER_WIDTH_OPTIONS, a2 as TABLE_CHROME_SLOT_IDS, a3 as TableBorderStyleOption, a4 as TableBorderTargetOption, a5 as TableBorderTargetValue, a6 as TableBorderWidthOption, a7 as TableChromeDraft, a8 as TableChromePick, a9 as TableChromeSlotId, aa as TableInteractionLabelKey, ab as ToolbarCommandState, ac as WORD_DEFAULT_FONT, ad as applyTableChromePick, ae as blankDocumentBytes, af as canExecuteImageCommand, ag as captureImageMutationPreconditions, ah as chromeControlCount, ai as chromeMenuSlots, aj as chromeProbeForSlot, ak as chromeSlotId, al as commandForSlot, am as commandForSlotValue, an as commandForTableChromeSlotValue, ao as composeFontConfiguration, ap as computeImageResizeResult, aq as computeMovedImagePosition, ar as computeResizedImageExtentEmu, as as createDocxEditor, at as createFontSource, au as createImageOverlayScrollPort, av as cssPixelsToLayoutPoints, aw as defaultChromeGroups, ax as defaultTableLabel, ay as emuToOverlayPoints, az as executeImageCommand, aA as finalizeImageOverlayInteraction, aB as formattingBarChromeGroups, aC as isStaleImageInteractionCommit, aD as isTableChromeSlot, aE as layoutPointsToCssPixels, aF as loadFonts, aG as overlayFrameToSheetCssPixels, aH as pointsToEmu, aI as probeTableChromeCommand, aJ as resizePreservesAspect, aK as runSave, aL as runTableChromeCommand, aM as runTableCommand, aN as runToolbarCommand, aO as selectedDrawingOverlayTargetOf, aP as selectedImageStateOf, aQ as surfacePaintScale, aR as tableChromeIconPaths, aS as tableChromeLabelKeyForTarget, aT as tableChromeToolbarState, aU as tableChromeVisible, aV as tableCommandToolbarState, aW as toolbarCommandState, aX as toolbarCommandStates } from './index-
|
|
6
|
-
import { A as AutomationCapabilities, a as AutomationHost } from './protocol-
|
|
1
|
+
import { F as FontConfiguration, E as EditorFontError, a as EditorCommand, C as CanResult, Z as ZoomMode } from './editor-D1qHfzOt.js';
|
|
2
|
+
export { I as ImageContext, b as ImageCropPercent, c as ImageCropPermille, S as SelectedImageState, d as cropPercentFromCropPermille, e as cropPercentFromPermille, f as cropPercentFromSourceCrop, g as cropPermilleFromCropPercent, h as cropPermilleFromPercent, s as sourceCropFromCropPercent, v as validateImageCropPercent } from './editor-D1qHfzOt.js';
|
|
3
|
+
import { L as LayoutShapingOptions } from './shaped-measurer-BL8g4AcW.js';
|
|
4
|
+
import { P as PaginatedSurfaceOptions, O as OpenPaginatedResult, a as PaginatedSurface, T as TableCommandPlan, D as DocxEditorInstance } from './index-DpY3WZuP.js';
|
|
5
|
+
export { A as AnchorFrameOrigin, C as CHROME_GROUPS, b as CHROME_MENUS, c as CHROME_UNAVAILABLE_KEY, d as ChromeControl, e as ChromeControlId, f as ChromeControlState, g as ChromeGroup, h as ChromeGroupId, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, p as DEFAULT_TABLE_CHROME_DRAFT, q as DocxEditorConfig, E as EMU_PER_POINT, F as FinalizedImageOverlayInteraction, r as FontConfigurationBase, s as FontConfigurationFragment, t as FontLoadFailure, u as FontLoadFailureReason, v as FontMeasurementState, w as FontResolutionRequest, x as FontResolver, y as FontUrlSource, H as HyperlinkActivation, z as HyperlinkChromeHandlers, B as HyperlinkOps, I as IMAGE_OVERLAY_NUDGE_PT, G as IMAGE_OVERLAY_NUDGE_SHIFT_PT, J as ImageInteractionSession, K as ImageOverlayScrollPort, L as ImageResizeHandle, M as ImageResizeResult, N as LoadFontsRequest, Q as LoadFontsResult, R as MAX_RESOLVER_FAMILIES, S as OverlayFrameRect, U as PaginatedSurfaceState, V as RunTableChromeCommandResult, W as SelectedDrawingOverlayTarget, X as SurfaceFormatting, Y as SurfaceHyperlink, Z as SurfaceNavigation, _ as SurfaceOverlayCoordinates, $ as TABLE_BORDER_STYLE_OPTIONS, a0 as TABLE_BORDER_TARGET_OPTIONS, a1 as TABLE_BORDER_WIDTH_OPTIONS, a2 as TABLE_CHROME_SLOT_IDS, a3 as TableBorderStyleOption, a4 as TableBorderTargetOption, a5 as TableBorderTargetValue, a6 as TableBorderWidthOption, a7 as TableChromeDraft, a8 as TableChromePick, a9 as TableChromeSlotId, aa as TableInteractionLabelKey, ab as ToolbarCommandState, ac as WORD_DEFAULT_FONT, ad as applyTableChromePick, ae as blankDocumentBytes, af as canExecuteImageCommand, ag as captureImageMutationPreconditions, ah as chromeControlCount, ai as chromeMenuSlots, aj as chromeProbeForSlot, ak as chromeSlotId, al as commandForSlot, am as commandForSlotValue, an as commandForTableChromeSlotValue, ao as composeFontConfiguration, ap as computeImageResizeResult, aq as computeMovedImagePosition, ar as computeResizedImageExtentEmu, as as createDocxEditor, at as createFontSource, au as createImageOverlayScrollPort, av as cssPixelsToLayoutPoints, aw as defaultChromeGroups, ax as defaultTableLabel, ay as emuToOverlayPoints, az as executeImageCommand, aA as finalizeImageOverlayInteraction, aB as formattingBarChromeGroups, aC as isStaleImageInteractionCommit, aD as isTableChromeSlot, aE as layoutPointsToCssPixels, aF as loadFonts, aG as overlayFrameToSheetCssPixels, aH as pointsToEmu, aI as probeTableChromeCommand, aJ as resizePreservesAspect, aK as runSave, aL as runTableChromeCommand, aM as runTableCommand, aN as runToolbarCommand, aO as selectedDrawingOverlayTargetOf, aP as selectedImageStateOf, aQ as surfacePaintScale, aR as tableChromeIconPaths, aS as tableChromeLabelKeyForTarget, aT as tableChromeToolbarState, aU as tableChromeVisible, aV as tableCommandToolbarState, aW as toolbarCommandState, aX as toolbarCommandStates } from './index-DpY3WZuP.js';
|
|
6
|
+
import { A as AutomationCapabilities, a as AutomationHost } from './protocol-DsbfgBwA.js';
|
|
7
7
|
export { CollectReviewItems, EditorModule, EditorModuleRegistry, ReviewModuleContribution, resolveEditorModules } from './contracts/modules.js';
|
|
8
8
|
import { ColorValue } from './contracts/types.js';
|
|
9
|
-
import { h as TreeDocColorValue, d as DrawingPositionInput } from './tree-op-types-
|
|
10
|
-
export { i as IMAGE_WRAP_TARGETS, b as ImageWrapTarget } from './tree-op-types-
|
|
11
|
-
import { f as DocumentThemeColorEntry } from './tree-session-
|
|
12
|
-
import { S as SemanticLayout } from './semantic-records-
|
|
13
|
-
export { T as TextMeasurer } from './semantic-records-
|
|
14
|
-
export { D as DEFAULT_IMAGE_RESOURCE_LIMITS, b as ImageDecodePort, c as ImageResourceLimits, R as RenderableImageMime, S as SupportedImageMime, a as VectorImageMime, r as resolveImageResourceLimits, d as resolveSvgIntrinsicSize, s as sniffImageMime, v as validateRasterHeader } from './image-resources-
|
|
15
|
-
export { S as SectionProperties } from './semantic-cell-selection-
|
|
16
|
-
export { R as ReviewModelInput } from './review-support-
|
|
17
|
-
export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-
|
|
18
|
-
export { F as FieldShadingMode } from './semantic-paint-
|
|
9
|
+
import { h as TreeDocColorValue, d as DrawingPositionInput } from './tree-op-types-8a6xyRCN.js';
|
|
10
|
+
export { i as IMAGE_WRAP_TARGETS, b as ImageWrapTarget } from './tree-op-types-8a6xyRCN.js';
|
|
11
|
+
import { f as DocumentThemeColorEntry } from './tree-session-SucW0znF.js';
|
|
12
|
+
import { S as SemanticLayout } from './semantic-records-CR5hTqMK.js';
|
|
13
|
+
export { T as TextMeasurer } from './semantic-records-CR5hTqMK.js';
|
|
14
|
+
export { D as DEFAULT_IMAGE_RESOURCE_LIMITS, b as ImageDecodePort, c as ImageResourceLimits, R as RenderableImageMime, S as SupportedImageMime, a as VectorImageMime, r as resolveImageResourceLimits, d as resolveSvgIntrinsicSize, s as sniffImageMime, v as validateRasterHeader } from './image-resources-BG9DLyW7.js';
|
|
15
|
+
export { S as SectionProperties } from './semantic-cell-selection-DZtyMXkH.js';
|
|
16
|
+
export { R as ReviewModelInput } from './review-support-DgXTIYBW.js';
|
|
17
|
+
export { N as NavigationCommand, S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-DrgbgKg6.js';
|
|
18
|
+
export { F as FieldShadingMode } from './semantic-paint-BedBxkyY.js';
|
|
19
19
|
import './contracts/document.js';
|
|
20
20
|
import './revision-projection-DHAkcD_L.js';
|
|
21
21
|
import './ooxml-tree-BU0e3DVi.js';
|
|
22
|
-
import './review-reads-
|
|
22
|
+
import './review-reads-CQmU9Lcl.js';
|
|
23
23
|
import './ooxml-package-D_CtywTW.js';
|
|
24
|
-
import './custom-node-writes-
|
|
24
|
+
import './custom-node-writes-BkMgMXxs.js';
|
|
25
25
|
import './hf-references-BdjsQNE_.js';
|
|
26
26
|
import './note-nodes-BPSTVDMr.js';
|
|
27
|
-
import './tree-store-
|
|
27
|
+
import './tree-store-BoM6eXaL.js';
|
|
28
28
|
import 'prosemirror-model';
|
|
29
29
|
|
|
30
30
|
interface LayoutShapingInstrumentation {
|
package/dist/editor.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Ea as AUTO_ZOOM_MODE,Ja as BROWSER_AUTOMATION_CAPABILITIES,sa as CHROME_GROUPS,wa as CHROME_MENUS,za as CHROME_UNAVAILABLE_KEY,W as DEFAULT_TABLE_CHROME_DRAFT,O as EMU_PER_POINT,Fa as FIT_WIDTH_ZOOM_MODE,M as IMAGE_OVERLAY_NUDGE_PT,N as IMAGE_OVERLAY_NUDGE_SHIFT_PT,d as MAX_RESOLVER_FAMILIES,k as PX_PER_CM,j as PX_PER_INCH,q as SNAP_TWIPS_CM,p as SNAP_TWIPS_INCH,aa as TABLE_BORDER_STYLE_OPTIONS,$ as TABLE_BORDER_TARGET_OPTIONS,ba as TABLE_BORDER_WIDTH_OPTIONS,X as TABLE_CHROME_SLOT_IDS,o as TWIPS_PER_CM,n as TWIPS_PER_INCH,e as WORD_DEFAULT_FONT,Da as ZOOM_MAX,Ca as ZOOM_MIN,ca as applyTableChromePick,w as applyThemeShade,v as applyThemeTint,g as blankDocumentBytes,K as canExecuteImageCommand,J as captureImageMutationPreconditions,ya as chromeControlCount,xa as chromeMenuSlots,ga as chromeProbeForSlot,ta as chromeSlotId,ha as commandForSlot,ja as commandForSlotValue,ia as commandForTableChromeSlotValue,f as composeFontConfiguration,Qa as computeImageResizeResult,T as computeMovedImagePosition,S as computeResizedImageExtentEmu,Ka as createBrowserAutomationHost,Ia as createDocxEditor,i as createFontSource,Ra as createImageOverlayScrollPort,b as createLayoutShaping,G as cropPercentFromCropPermille,E as cropPercentFromPermille,B as cropPercentFromSourceCrop,F as cropPermilleFromCropPercent,D as cropPermilleFromPercent,Na as cssPixelsToLayoutPoints,ua as defaultChromeGroups,Y as defaultTableLabel,c as disposeLayoutShaping,t as dragIndent,R as emuToOverlayPoints,L as executeImageCommand,Sa as finalizeImageOverlayInteraction,va as formattingBarChromeGroups,l as generateRulerTicks,r as handlePosition,U as isStaleImageInteractionCommit,Z as isTableChromeSlot,Ma as layoutPointsToCssPixels,h as loadFonts,y as lowerColorValueForBorder,z as lowerColorValueForFill,Ba as mountPaginatedSurface,Oa as overlayFrameToSheetCssPixels,Q as pointsToEmu,da as probeTableChromeCommand,Pa as resizePreservesAspect,A as resolveColorValueToCss,x as resolveThemeColorHex,Ga as resolveZoomMode,m as rulerPageBox,pa as runSave,na as runTableChromeCommand,ra as runTableCommand,oa as runToolbarCommand,Ha as sameZoomMode,P as selectedDrawingOverlayTargetOf,I as selectedImageStateOf,s as snapTwips,C as sourceCropFromCropPercent,Aa as surfaceExtent,La as surfacePaintScale,fa as tableChromeIconPaths,ea as tableChromeLabelKeyForTarget,ka as tableChromeToolbarState,_ as tableChromeVisible,V as tableCommandState,qa as tableCommandToolbarState,a as toEditorFontError,la as toolbarCommandState,ma as toolbarCommandStates,H as validateImageCropPercent,u as validateThemeModifier}from'./chunk-
|
|
1
|
+
export{Ea as AUTO_ZOOM_MODE,Ja as BROWSER_AUTOMATION_CAPABILITIES,sa as CHROME_GROUPS,wa as CHROME_MENUS,za as CHROME_UNAVAILABLE_KEY,W as DEFAULT_TABLE_CHROME_DRAFT,O as EMU_PER_POINT,Fa as FIT_WIDTH_ZOOM_MODE,M as IMAGE_OVERLAY_NUDGE_PT,N as IMAGE_OVERLAY_NUDGE_SHIFT_PT,d as MAX_RESOLVER_FAMILIES,k as PX_PER_CM,j as PX_PER_INCH,q as SNAP_TWIPS_CM,p as SNAP_TWIPS_INCH,aa as TABLE_BORDER_STYLE_OPTIONS,$ as TABLE_BORDER_TARGET_OPTIONS,ba as TABLE_BORDER_WIDTH_OPTIONS,X as TABLE_CHROME_SLOT_IDS,o as TWIPS_PER_CM,n as TWIPS_PER_INCH,e as WORD_DEFAULT_FONT,Da as ZOOM_MAX,Ca as ZOOM_MIN,ca as applyTableChromePick,w as applyThemeShade,v as applyThemeTint,g as blankDocumentBytes,K as canExecuteImageCommand,J as captureImageMutationPreconditions,ya as chromeControlCount,xa as chromeMenuSlots,ga as chromeProbeForSlot,ta as chromeSlotId,ha as commandForSlot,ja as commandForSlotValue,ia as commandForTableChromeSlotValue,f as composeFontConfiguration,Qa as computeImageResizeResult,T as computeMovedImagePosition,S as computeResizedImageExtentEmu,Ka as createBrowserAutomationHost,Ia as createDocxEditor,i as createFontSource,Ra as createImageOverlayScrollPort,b as createLayoutShaping,G as cropPercentFromCropPermille,E as cropPercentFromPermille,B as cropPercentFromSourceCrop,F as cropPermilleFromCropPercent,D as cropPermilleFromPercent,Na as cssPixelsToLayoutPoints,ua as defaultChromeGroups,Y as defaultTableLabel,c as disposeLayoutShaping,t as dragIndent,R as emuToOverlayPoints,L as executeImageCommand,Sa as finalizeImageOverlayInteraction,va as formattingBarChromeGroups,l as generateRulerTicks,r as handlePosition,U as isStaleImageInteractionCommit,Z as isTableChromeSlot,Ma as layoutPointsToCssPixels,h as loadFonts,y as lowerColorValueForBorder,z as lowerColorValueForFill,Ba as mountPaginatedSurface,Oa as overlayFrameToSheetCssPixels,Q as pointsToEmu,da as probeTableChromeCommand,Pa as resizePreservesAspect,A as resolveColorValueToCss,x as resolveThemeColorHex,Ga as resolveZoomMode,m as rulerPageBox,pa as runSave,na as runTableChromeCommand,ra as runTableCommand,oa as runToolbarCommand,Ha as sameZoomMode,P as selectedDrawingOverlayTargetOf,I as selectedImageStateOf,s as snapTwips,C as sourceCropFromCropPercent,Aa as surfaceExtent,La as surfacePaintScale,fa as tableChromeIconPaths,ea as tableChromeLabelKeyForTarget,ka as tableChromeToolbarState,_ as tableChromeVisible,V as tableCommandState,qa as tableCommandToolbarState,a as toEditorFontError,la as toolbarCommandState,ma as toolbarCommandStates,H as validateImageCropPercent,u as validateThemeModifier}from'./chunk-FL4GWK76.js';import'./chunk-F6WNPYOM.js';import'./chunk-SG7OH2EK.js';import'./chunk-ZACHY6OS.js';import'./chunk-LIJPSHRA.js';import'./chunk-4WWEDTTE.js';import'./chunk-33F6TRXO.js';export{D as DEFAULT_IMAGE_RESOURCE_LIMITS,qf as DRAWING_REL_FROM_H,rf as DRAWING_REL_FROM_V,Wa as IMAGE_WRAP_TARGETS,tf as positionInputFromPropertiesCommand,sf as propertiesCommandHasPositionFields,E as resolveImageResourceLimits,nb as resolveSvgIntrinsicSize,jb as sniffImageMime,pf as validateDrawingPositionInput,ob as validateRasterHeader,uf as validateSetImagePositionCommand}from'./chunk-TCX3PVWR.js';import'./chunk-GOEBQ26R.js';export{a as resolveEditorModules}from'./chunk-GQQOL4PV.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { i as FontSource, j as FontSourceSubstitution, F as FontConfiguration, k as FontFaceRequest, I as ImageContext, D as DocumentSource, Z as ZoomMode, E as EditorFontError, l as Editor, a as EditorCommand, C as CanResult, S as SelectedImageState, V as ViewScope, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, o as TableContext } from './editor-
|
|
2
|
-
import { T as TreeDocOp, d as DrawingPositionInput, k as DrawingTransform, m as DrawingTreeDocOp } from './tree-op-types-
|
|
3
|
-
import { b as ImageDecodePort, S as SupportedImageMime } from './image-resources-
|
|
1
|
+
import { i as FontSource, j as FontSourceSubstitution, F as FontConfiguration, k as FontFaceRequest, I as ImageContext, D as DocumentSource, Z as ZoomMode, E as EditorFontError, l as Editor, a as EditorCommand, C as CanResult, S as SelectedImageState, V as ViewScope, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, o as TableContext } from './editor-DYvC9CZs.cjs';
|
|
2
|
+
import { T as TreeDocOp, d as DrawingPositionInput, k as DrawingTransform, m as DrawingTreeDocOp } from './tree-op-types-EZXbR8bW.cjs';
|
|
3
|
+
import { b as ImageDecodePort, S as SupportedImageMime } from './image-resources-DXvPZvXD.cjs';
|
|
4
4
|
import { R as RevisionDisplayMode } from './revision-projection-72ZApe-g.cjs';
|
|
5
|
-
import './review-support-
|
|
6
|
-
import { a as SemanticSelection, S as SemanticPosition, N as NavigationCommand } from './semantic-interaction-
|
|
7
|
-
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties, l as ReviewRevisionKind } from './review-reads-
|
|
8
|
-
import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-
|
|
9
|
-
import { S as StoryScope, A as ApplyImagePropertiesInput, d as ImageIntentResult, c as InsertImageInput, B as BookmarkIndex } from './custom-node-writes-
|
|
10
|
-
import { C as CellSelection, S as SectionProperties } from './semantic-cell-selection
|
|
5
|
+
import './review-support-BJ-YjGmD.cjs';
|
|
6
|
+
import { a as SemanticSelection, S as SemanticPosition, N as NavigationCommand } from './semantic-interaction-2yxdv7q0.cjs';
|
|
7
|
+
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties, l as ReviewRevisionKind } from './review-reads-CxgN62yp.cjs';
|
|
8
|
+
import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-DSD8WENa.cjs';
|
|
9
|
+
import { S as StoryScope, A as ApplyImagePropertiesInput, d as ImageIntentResult, c as InsertImageInput, B as BookmarkIndex } from './custom-node-writes-C5YRoPcc.cjs';
|
|
10
|
+
import { C as CellSelection, S as SectionProperties } from './semantic-cell-selection--ezfezTe.cjs';
|
|
11
11
|
import { EditorModule, ReviewModuleContribution } from './contracts/modules.cjs';
|
|
12
12
|
import { Unsubscribe, ExecResult, IndentFormatting } from './contracts/types.cjs';
|
|
13
|
-
import { F as FieldShadingMode, a as DrawingPaintStrings } from './semantic-paint-
|
|
14
|
-
import { T as TreeDocxSession, a as TreeApplyResult } from './tree-session-
|
|
13
|
+
import { F as FieldShadingMode, a as DrawingPaintStrings } from './semantic-paint-BYjE0Xbl.cjs';
|
|
14
|
+
import { T as TreeDocxSession, a as TreeApplyResult } from './tree-session-DrMm8Cj2.cjs';
|
|
15
15
|
import './contracts/document.cjs';
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { i as FontSource, j as FontSourceSubstitution, F as FontConfiguration, k as FontFaceRequest, I as ImageContext, D as DocumentSource, Z as ZoomMode, E as EditorFontError, l as Editor, a as EditorCommand, C as CanResult, S as SelectedImageState, V as ViewScope, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, o as TableContext } from './editor-
|
|
2
|
-
import { T as TreeDocOp, d as DrawingPositionInput, k as DrawingTransform, m as DrawingTreeDocOp } from './tree-op-types-
|
|
3
|
-
import { b as ImageDecodePort, S as SupportedImageMime } from './image-resources-
|
|
1
|
+
import { i as FontSource, j as FontSourceSubstitution, F as FontConfiguration, k as FontFaceRequest, I as ImageContext, D as DocumentSource, Z as ZoomMode, E as EditorFontError, l as Editor, a as EditorCommand, C as CanResult, S as SelectedImageState, V as ViewScope, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, o as TableContext } from './editor-D1qHfzOt.js';
|
|
2
|
+
import { T as TreeDocOp, d as DrawingPositionInput, k as DrawingTransform, m as DrawingTreeDocOp } from './tree-op-types-8a6xyRCN.js';
|
|
3
|
+
import { b as ImageDecodePort, S as SupportedImageMime } from './image-resources-BG9DLyW7.js';
|
|
4
4
|
import { R as RevisionDisplayMode } from './revision-projection-DHAkcD_L.js';
|
|
5
|
-
import './review-support-
|
|
6
|
-
import { a as SemanticSelection, S as SemanticPosition, N as NavigationCommand } from './semantic-interaction-
|
|
7
|
-
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties, l as ReviewRevisionKind } from './review-reads-
|
|
8
|
-
import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-
|
|
9
|
-
import { S as StoryScope, A as ApplyImagePropertiesInput, d as ImageIntentResult, c as InsertImageInput, B as BookmarkIndex } from './custom-node-writes-
|
|
10
|
-
import { C as CellSelection, S as SectionProperties } from './semantic-cell-selection-
|
|
5
|
+
import './review-support-DgXTIYBW.js';
|
|
6
|
+
import { a as SemanticSelection, S as SemanticPosition, N as NavigationCommand } from './semantic-interaction-DrgbgKg6.js';
|
|
7
|
+
import { R as ResolvedFootnoteProperties, a as ResolvedEndnoteProperties, A as AuthoredNoteProperties, l as ReviewRevisionKind } from './review-reads-CQmU9Lcl.js';
|
|
8
|
+
import { S as SemanticLayout, C as ContentControlBoundaryRecord, T as TextMeasurer } from './semantic-records-CR5hTqMK.js';
|
|
9
|
+
import { S as StoryScope, A as ApplyImagePropertiesInput, d as ImageIntentResult, c as InsertImageInput, B as BookmarkIndex } from './custom-node-writes-BkMgMXxs.js';
|
|
10
|
+
import { C as CellSelection, S as SectionProperties } from './semantic-cell-selection-DZtyMXkH.js';
|
|
11
11
|
import { EditorModule, ReviewModuleContribution } from './contracts/modules.js';
|
|
12
12
|
import { Unsubscribe, ExecResult, IndentFormatting } from './contracts/types.js';
|
|
13
|
-
import { F as FieldShadingMode, a as DrawingPaintStrings } from './semantic-paint-
|
|
14
|
-
import { T as TreeDocxSession, a as TreeApplyResult } from './tree-session-
|
|
13
|
+
import { F as FieldShadingMode, a as DrawingPaintStrings } from './semantic-paint-BedBxkyY.js';
|
|
14
|
+
import { T as TreeDocxSession, a as TreeApplyResult } from './tree-session-SucW0znF.js';
|
|
15
15
|
import './contracts/document.js';
|
|
16
16
|
|
|
17
17
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkIZIL6BAW_cjs=require('./chunk-IZIL6BAW.cjs');require('./chunk-YTYKNA6X.cjs'),require('./chunk-DQ5HGUWG.cjs'),require('./chunk-YMIMLEX4.cjs'),require('./chunk-GWG5IVVX.cjs'),require('./chunk-BS554B6D.cjs'),require('./chunk-MHDO6HLI.cjs'),require('./chunk-EQO762XH.cjs'),require('./chunk-OHJQ7GPZ.cjs'),require('./chunk-7VQ7YLW3.cjs');Object.defineProperty(exports,"CHROME_GROUPS",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.sa}});Object.defineProperty(exports,"CHROME_MENUS",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.wa}});Object.defineProperty(exports,"WORD_DEFAULT_FONT",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.e}});Object.defineProperty(exports,"blankDocumentBytes",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.g}});Object.defineProperty(exports,"chromeMenuSlots",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.xa}});Object.defineProperty(exports,"commandForSlot",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ha}});Object.defineProperty(exports,"commandForSlotValue",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.ja}});Object.defineProperty(exports,"composeFontConfiguration",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.f}});Object.defineProperty(exports,"createDocxEditor",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.Ia}});Object.defineProperty(exports,"createFontSource",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.i}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.h}});Object.defineProperty(exports,"runToolbarCommand",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.oa}});Object.defineProperty(exports,"toolbarCommandState",{enumerable:true,get:function(){return chunkIZIL6BAW_cjs.la}});
|
package/dist/index.d.cts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export { A as AuthoredNoteNumbering, C as CanResult, p as DocumentChange, q as DocumentEditingMode, r as DocumentHandle, D as DocumentSource, l as Editor, a as EditorCommand, t as EditorCommandShape, u as EditorCommands, w as EditorError, x as EditorEvents, E as EditorFontError, y as EditorFontErrorCode, z as EditorHeaderFooterCommands, B as EditorNoteCommands, G as EditorPosition, H as EditorQueries, J as EditorQuery, K as EditorQueryResults, L as EditorScope, M as EditorSelection, N as EditorSnapshot, F as FontConfiguration, k as FontFaceRequest, i as FontSource, j as FontSourceSubstitution, O as FurnitureVariant, P as HeaderFooterSlotArgs, Q as HeaderFooterState, R as HyperlinkInfo, I as ImageContext, b as ImageCropPercent, U as InteractionAffinity, W as InteractionOutcome, X as InteractionOutcomeCode, Y as NoteKind, _ as NotePropertiesSide, $ as NotePropertiesState, a0 as PageSetup, a1 as ResolvedNoteNumbering, a2 as ReviewActivationOptions, a3 as ReviewCommentPlacement, a4 as ReviewCustomPlacement, a5 as ReviewItemPlacement, a6 as ReviewItemPlacementBase, a7 as ReviewItemQuery, a8 as ReviewRevisionPlacement, S as SelectedImageState, a9 as SemanticIdentity, aa as SemanticTarget, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, ab as TableBorderTarget, ac as TableCellVerticalAlignment, ad as TableColumnDividerResizeTarget, ae as TableColumnOccurrenceTarget, o as TableContext, af as TableRightEdgeResizeTarget, ag as TableRowOccurrenceTarget, ah as TextMatch, V as ViewScope, ai as ZoomFitTarget, Z as ZoomMode } from './editor-
|
|
2
|
-
export { f as DrawingHorizontalReferenceFrame, c as DrawingKind, e as DrawingLocks, d as DrawingPositionInput, g as DrawingVerticalReferenceFrame, b as ImageWrapTarget, R as RevisionAddress } from './tree-op-types-
|
|
3
|
-
export { I as ImageResourceState, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, a as VectorImageMime } from './image-resources-
|
|
1
|
+
export { A as AuthoredNoteNumbering, C as CanResult, p as DocumentChange, q as DocumentEditingMode, r as DocumentHandle, D as DocumentSource, l as Editor, a as EditorCommand, t as EditorCommandShape, u as EditorCommands, w as EditorError, x as EditorEvents, E as EditorFontError, y as EditorFontErrorCode, z as EditorHeaderFooterCommands, B as EditorNoteCommands, G as EditorPosition, H as EditorQueries, J as EditorQuery, K as EditorQueryResults, L as EditorScope, M as EditorSelection, N as EditorSnapshot, F as FontConfiguration, k as FontFaceRequest, i as FontSource, j as FontSourceSubstitution, O as FurnitureVariant, P as HeaderFooterSlotArgs, Q as HeaderFooterState, R as HyperlinkInfo, I as ImageContext, b as ImageCropPercent, U as InteractionAffinity, W as InteractionOutcome, X as InteractionOutcomeCode, Y as NoteKind, _ as NotePropertiesSide, $ as NotePropertiesState, a0 as PageSetup, a1 as ResolvedNoteNumbering, a2 as ReviewActivationOptions, a3 as ReviewCommentPlacement, a4 as ReviewCustomPlacement, a5 as ReviewItemPlacement, a6 as ReviewItemPlacementBase, a7 as ReviewItemQuery, a8 as ReviewRevisionPlacement, S as SelectedImageState, a9 as SemanticIdentity, aa as SemanticTarget, T as TableBorderEdgeTarget, m as TableBorderSpec, n as TableBorderStyle, ab as TableBorderTarget, ac as TableCellVerticalAlignment, ad as TableColumnDividerResizeTarget, ae as TableColumnOccurrenceTarget, o as TableContext, af as TableRightEdgeResizeTarget, ag as TableRowOccurrenceTarget, ah as TextMatch, V as ViewScope, ai as ZoomFitTarget, Z as ZoomMode } from './editor-DYvC9CZs.cjs';
|
|
2
|
+
export { f as DrawingHorizontalReferenceFrame, c as DrawingKind, e as DrawingLocks, d as DrawingPositionInput, g as DrawingVerticalReferenceFrame, b as ImageWrapTarget, R as RevisionAddress } from './tree-op-types-EZXbR8bW.cjs';
|
|
3
|
+
export { I as ImageResourceState, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, a as VectorImageMime } from './image-resources-DXvPZvXD.cjs';
|
|
4
4
|
export { R as RevisionDisplayMode } from './revision-projection-72ZApe-g.cjs';
|
|
5
|
-
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind } from './review-support-
|
|
6
|
-
export { S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-
|
|
7
|
-
export { C as CHROME_GROUPS, b as CHROME_MENUS, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, q as DocxEditorConfig, D as DocxEditorInstance, r as FontConfigurationBase, s as FontConfigurationFragment, t as FontLoadFailure, u as FontLoadFailureReason, v as FontMeasurementState, w as FontResolutionRequest, x as FontResolver, y as FontUrlSource, H as HyperlinkActivation, z as HyperlinkChromeHandlers, N as LoadFontsRequest, Q as LoadFontsResult, Y as SurfaceHyperlink, ab as ToolbarCommandState, ac as WORD_DEFAULT_FONT, ae as blankDocumentBytes, ai as chromeMenuSlots, al as commandForSlot, am as commandForSlotValue, ao as composeFontConfiguration, as as createDocxEditor, at as createFontSource, aF as loadFonts, aN as runToolbarCommand, aW as toolbarCommandState } from './index-
|
|
5
|
+
export { C as CommentRecord, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind } from './review-support-BJ-YjGmD.cjs';
|
|
6
|
+
export { S as SemanticPosition, a as SemanticSelection } from './semantic-interaction-2yxdv7q0.cjs';
|
|
7
|
+
export { C as CHROME_GROUPS, b as CHROME_MENUS, i as ChromeMenu, j as ChromeMenuEntry, k as ChromeMenuId, l as ChromeMenuItemEntry, m as ChromeMenuSeparatorEntry, n as ChromeMenuSubmenuEntry, o as ChromeSlotId, q as DocxEditorConfig, D as DocxEditorInstance, r as FontConfigurationBase, s as FontConfigurationFragment, t as FontLoadFailure, u as FontLoadFailureReason, v as FontMeasurementState, w as FontResolutionRequest, x as FontResolver, y as FontUrlSource, H as HyperlinkActivation, z as HyperlinkChromeHandlers, N as LoadFontsRequest, Q as LoadFontsResult, Y as SurfaceHyperlink, ab as ToolbarCommandState, ac as WORD_DEFAULT_FONT, ae as blankDocumentBytes, ai as chromeMenuSlots, al as commandForSlot, am as commandForSlotValue, ao as composeFontConfiguration, as as createDocxEditor, at as createFontSource, aF as loadFonts, aN as runToolbarCommand, aW as toolbarCommandState } from './index-Bb-QAg_f.cjs';
|
|
8
8
|
export { Block, ColorValue, ContainerRef, ContentControl, ContentControlFilter, ContentControlType, DocAnchor, DocAnchorRange, DocComment, DocLocation, DocRange, DocTarget, DocumentBody, DocxDocument, DocxDocumentJSON, ExecErrorCode, ExecResult, Extent, FontDefinition, HeaderFooterSet, IndentFormatting, NumberingRef, PageMargins, Paragraph, Point, Rect, Revision, RevisionType, Run, RunFormatting, Section, SectionProperties, StyleDefinition, StyleDefinitions, Table, TableCell, TableRow, Theme, ThemeColorScheme, Unsubscribe, Watermark } from './contracts/types.cjs';
|
|
9
9
|
export { ApplyResult, ContentControlSummary, DocEdit, DocEdits, DocQueries, DocQuery, DocQueryResults, ParagraphSummary } from './contracts/document.cjs';
|
|
10
10
|
export { CollectReviewItems, EditorModule, ReviewModuleContribution } from './contracts/modules.cjs';
|
|
11
11
|
import './ooxml-tree-BU0e3DVi.cjs';
|
|
12
12
|
import './ooxml-package-CR5us6ad.cjs';
|
|
13
|
-
import './semantic-records-
|
|
14
|
-
import './review-reads-
|
|
15
|
-
import './custom-node-writes-
|
|
13
|
+
import './semantic-records-DSD8WENa.cjs';
|
|
14
|
+
import './review-reads-CxgN62yp.cjs';
|
|
15
|
+
import './custom-node-writes-C5YRoPcc.cjs';
|
|
16
16
|
import './hf-references-CgEOSw3i.cjs';
|
|
17
17
|
import './note-nodes-C6DLxlvj.cjs';
|
|
18
|
-
import './tree-store-
|
|
19
|
-
import './semantic-cell-selection
|
|
20
|
-
import './semantic-paint-
|
|
21
|
-
import './tree-session-
|
|
18
|
+
import './tree-store-UYrGKF_Q.cjs';
|
|
19
|
+
import './semantic-cell-selection--ezfezTe.cjs';
|
|
20
|
+
import './semantic-paint-BYjE0Xbl.cjs';
|
|
21
|
+
import './tree-session-DrMm8Cj2.cjs';
|
|
22
22
|
import 'prosemirror-model';
|