@coco-vexel/coco-office-editor 1.0.10 → 1.0.12
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/index.cjs +1519 -28489
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1518 -28267
- package/dist/{model-DT8Dw2G6.d.cts → model-CgISL5eB.d.cts} +2 -0
- package/dist/{model-DT8Dw2G6.d.ts → model-CgISL5eB.d.ts} +2 -0
- package/dist/{native-C3ZdrIcW.d.ts → native-D9lhNG94.d.ts} +2 -1
- package/dist/{native-wR2uhZvi.d.cts → native-DVRWKaOC.d.cts} +2 -1
- package/dist/ppt-native.cjs +7 -5369
- package/dist/ppt-native.js +7 -5367
- package/dist/ppt.cjs +7 -5462
- package/dist/ppt.js +7 -5445
- package/dist/spreadsheet.cjs +17 -5789
- package/dist/spreadsheet.d.cts +25 -6
- package/dist/spreadsheet.d.ts +25 -6
- package/dist/spreadsheet.js +17 -5718
- package/dist/word-editing.cjs +2 -812
- package/dist/word-editing.js +2 -803
- package/dist/word-native.cjs +1541 -13831
- package/dist/word-native.d.cts +2 -2
- package/dist/word-native.d.ts +2 -2
- package/dist/word-native.js +1541 -13723
- package/dist/word-prosemirror.cjs +1 -489
- package/dist/word-prosemirror.js +1 -483
- package/dist/word.cjs +1373 -17298
- package/dist/word.d.cts +5 -5
- package/dist/word.d.ts +5 -5
- package/dist/word.js +1373 -17163
- package/package.json +3 -3
- package/src/styles/editor.css +49 -5
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/ppt-native.cjs.map +0 -1
- package/dist/ppt-native.js.map +0 -1
- package/dist/ppt.cjs.map +0 -1
- package/dist/ppt.js.map +0 -1
- package/dist/spreadsheet.cjs.map +0 -1
- package/dist/spreadsheet.js.map +0 -1
- package/dist/word-editing.cjs.map +0 -1
- package/dist/word-editing.js.map +0 -1
- package/dist/word-native.cjs.map +0 -1
- package/dist/word-native.js.map +0 -1
- package/dist/word-prosemirror.cjs.map +0 -1
- package/dist/word-prosemirror.js.map +0 -1
- package/dist/word.cjs.map +0 -1
- package/dist/word.js.map +0 -1
package/dist/word.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { E as EditorReadOnlyError } from './read-only-1_LQCO1d.cjs';
|
|
2
|
-
import { f as EditorDocumentView, q as EditorParagraphFormat, w as EditorRunFormat, F as EditorTableCellView, k as EditorHyperlink } from './model-
|
|
3
|
-
export { E as EditorBlockView, a as EditorBoxEdges, b as EditorCommentSpan, c as EditorContentRevisionKind, d as EditorContentSegment, e as EditorDocumentDefaults, g as EditorDrawingSegment, h as EditorFieldSegment, i as EditorHeaderFooterRef, j as EditorHeaderFooterStoryView, l as EditorImageSegment, m as EditorNumberingFormat, n as EditorPageLayout, o as EditorParagraphBorder, p as EditorParagraphBorders, r as EditorParagraphSpan, s as EditorParagraphView, t as EditorPlaceholderSegment, u as EditorRevisionSegment, v as EditorRevisionSpan, x as EditorSectionView, y as EditorSegmentKind, z as EditorShading, A as EditorSpanKind, B as EditorTabStop, C as EditorTableBorder, D as EditorTableBorders, G as EditorTableLayout, H as EditorTableLook, I as EditorTableRowView, J as EditorTableView, K as EditorTextSegment, L as EditorTextSpan } from './model-
|
|
2
|
+
import { f as EditorDocumentView, q as EditorParagraphFormat, w as EditorRunFormat, F as EditorTableCellView, k as EditorHyperlink } from './model-CgISL5eB.cjs';
|
|
3
|
+
export { E as EditorBlockView, a as EditorBoxEdges, b as EditorCommentSpan, c as EditorContentRevisionKind, d as EditorContentSegment, e as EditorDocumentDefaults, g as EditorDrawingSegment, h as EditorFieldSegment, i as EditorHeaderFooterRef, j as EditorHeaderFooterStoryView, l as EditorImageSegment, m as EditorNumberingFormat, n as EditorPageLayout, o as EditorParagraphBorder, p as EditorParagraphBorders, r as EditorParagraphSpan, s as EditorParagraphView, t as EditorPlaceholderSegment, u as EditorRevisionSegment, v as EditorRevisionSpan, x as EditorSectionView, y as EditorSegmentKind, z as EditorShading, A as EditorSpanKind, B as EditorTabStop, C as EditorTableBorder, D as EditorTableBorders, G as EditorTableLayout, H as EditorTableLook, I as EditorTableRowView, J as EditorTableView, K as EditorTextSegment, L as EditorTextSpan } from './model-CgISL5eB.cjs';
|
|
4
4
|
import { Package } from '@coco-vexel/coco-office/pack';
|
|
5
5
|
import { PackageIndices } from '@coco-vexel/coco-office/word-view';
|
|
6
6
|
export { RevisionInfo } from '@coco-vexel/coco-office/word-view';
|
|
7
|
-
import { B as NativeWordDocument, L as NativeWordParagraphNode, J as NativeWordListType, x as NativeWordBlockNode } from './native-
|
|
8
|
-
export { N as NativeAnchorLayoutMetadata, a as NativeBlockRangeReplacement, b as NativeCursorPoint, c as NativeDocumentReflowMeasurement, d as NativeParagraphLocation, e as NativePlainTextReplacement, f as NativeSelectedImage, g as NativeTableCellFormatPatch, h as NativeTableCellLocation, i as NativeTableCellPoint, j as NativeTableCellPosition, k as NativeTableCellRange, l as NativeTableClipboardCell, m as NativeTableEditResult, n as NativeTableLocation, o as NativeTablePaginationSummary, p as NativeTableRangeEditResult, q as NativeTableRowBlockSplitPlan, r as NativeTableRowBlockSplitResult, s as NativeTableRowPaginationAnalysis, t as NativeTableRowPaginationKind, u as NativeTableRowPaginationRisk, v as NativeTableRowTextSplitPlan, w as NativeTableStructureOperation, y as NativeWordChange, z as NativeWordChangeApplyResult, A as NativeWordCommentMark, C as NativeWordDrawingNode, D as NativeWordEditor, E as NativeWordFieldNode, F as NativeWordFormatRevisionMark, G as NativeWordHeaderFooterStory, H as NativeWordImageNode, I as NativeWordInlineNode, K as NativeWordPageBreakNode, M as NativeWordRevisionMark, O as NativeWordTableCellNode, P as NativeWordTableNode, Q as NativeWordTableRowNode, R as NativeWordTextMark, S as NativeWordTextNode, T as ResolvedWordOoxmlPatchTarget, U as SkippedWordOoxmlPatch, V as UnresolvedWordOoxmlPatchTarget, W as UnsupportedNativeWordChange, X as WordEditorChangeEvent, Y as WordEditorCommand, Z as WordEditorCommandState, _ as WordEditorEngineKind, $ as WordEditorFormatValue, a0 as WordEditorHyperlink, a1 as WordEditorImageInsertOptions, a2 as WordEditorImageState, a3 as WordEditorLineSpacingState, a4 as WordEditorRuntime, a5 as WordEditorRuntimeEvent, a6 as WordEditorRuntimeEventMap, a7 as WordEditorRuntimeOptions, a8 as WordEditorSearchMatch, a9 as WordEditorSearchOptions, aa as WordEditorSearchState, ab as WordEditorSelection, ac as WordEditorSelectionChangeEvent, ad as WordEditorSelectionPoint, ae as WordEditorTableCellPoint, af as WordEditorTableState, ag as WordOoxmlPatch, ah as WordOoxmlPatchApplyResult, ai as WordOoxmlPatchKind, aj as WordOoxmlPatchPlan, ak as WordOoxmlPatchTargetResolution, al as adjacentNativeListNumbering, am as allNativeParagraphs, an as analyzeNativeTableRowPagination, ao as applyNativeWordChangesToPackage, ap as applyWordOoxmlPatches, aq as bodyParagraphs, ar as canDispatchNativeWordCommand, as as clearNativeImageSelection, at as cloneNativeWordBlocks, au as createNativeListNumbering, av as createNativeParaId, aw as createNativeSelectionRange, ax as createNativeTextRange, ay as createNativeWordDocument, az as currentNativeCursor, aA as currentNativeSelection, aB as defineNativeWordElements, aC as findNativeParagraph, aD as findNativeParagraphLocation, aE as findNativeTableCellLocation, aF as findNativeTableLocation, aG as getNativeWordCommandState, aH as imageOffset, aI as layoutNativePageAnnotationBubbles, aJ as measureNativeDocumentReflowFromParagraph, aK as nativeAddComment, aL as nativeAddFormatRevision, aM as nativeAddRevision, aN as nativeAnchorLayoutMetadata, aO as nativeClearRunFormat, aP as nativeClearTableCellRange, aQ as nativeCopyBlockRange, aR as nativeCursorFromPoint, aS as nativeDeleteBackward, aT as nativeDeleteComment, aU as nativeDeleteForward, aV as nativeDeleteImage, aW as nativeDeleteRange, aX as nativeDeleteTable, aY as nativeDeleteTextRangeAcrossParagraphs, aZ as nativeDrawingWidthCss, a_ as nativeEditTableStructure, a$ as nativeInsertImage, b0 as nativeInsertPageBreak, b1 as nativeInsertTable, b2 as nativeInsertText, b3 as nativeLineStrokeStyle, b4 as nativeListIndent, b5 as nativeListType, b6 as nativeMergeTableCells, b7 as nativeNumberingAtLevel, b8 as nativePageBreakAt, b9 as nativeParagraphText, ba as nativeRangeContainsPageBreak, bb as nativeReplaceBlockRangeAcrossParagraphs, bc as nativeReplaceRange, bd as nativeReplaceRangeWithBlocks, be as nativeReplaceTableCellRangeContent, bf as nativeReplaceTableCellRangeText, bg as nativeReplaceTextRangeAcrossParagraphs, bh as nativeReplaceTextRangeWithParagraphs, bi as nativeResolveFormatRevision, bj as nativeResolveImageFormatRevision, bk as nativeResolveImageRevision, bl as nativeResolveRevision, bm as nativeSelection, bn as nativeSelectionFromCursor, bo as nativeSetHyperlink, bp as nativeSetImageSize, bq as nativeSetParagraphFormat, br as nativeSetParagraphList, bs as nativeSetRunFormat, bt as nativeSetTableCellFormat, bu as nativeSetTableCellRangeFormat, bv as nativeSplitParagraph, bw as nativeSplitTableCell, bx as nativeSyncParagraphText, by as nativeTableCellsInRange, bz as nativeTableSupportsStructuralEditing, bA as nativeTextRangeIsBold, bB as nativeUpdateComment, bC as paginateNativeDocument, bD as parentNativeParagraph, bE as planWordOoxmlPatch, bF as planWordOoxmlPatches, bG as previousNativeParagraphId, bH as rebuildNativeTableFragmentsFromParagraph, bI as reflowNativeDocumentFromParagraph, bJ as refreshNativeNumberingLabels, bK as refreshNativePageCommentBubbles, bL as renderNativeBlock, bM as renderNativeDocument, bN as renderNativeImage, bO as renderNativeParagraph, bP as renderNativeTable, bQ as renderNativeWordEditor, bR as resolveNativeSectionPageNumberStarts, bS as resolveNativeTableCellBorders, bT as resolveWordOoxmlPatchTargets, bU as restoreNativeCursor, bV as restoreNativeElementSelection, bW as restoreNativeTextSelection, bX as searchNativeWordDocument, bY as selectNativeImage, bZ as splitNativeTableRowAtBlockBoundary, b_ as splitNativeTableRowAtTextOffset, b$ as summarizeNativeTablePagination } from './native-
|
|
7
|
+
import { B as NativeWordDocument, L as NativeWordParagraphNode, J as NativeWordListType, x as NativeWordBlockNode } from './native-DVRWKaOC.cjs';
|
|
8
|
+
export { N as NativeAnchorLayoutMetadata, a as NativeBlockRangeReplacement, b as NativeCursorPoint, c as NativeDocumentReflowMeasurement, d as NativeParagraphLocation, e as NativePlainTextReplacement, f as NativeSelectedImage, g as NativeTableCellFormatPatch, h as NativeTableCellLocation, i as NativeTableCellPoint, j as NativeTableCellPosition, k as NativeTableCellRange, l as NativeTableClipboardCell, m as NativeTableEditResult, n as NativeTableLocation, o as NativeTablePaginationSummary, p as NativeTableRangeEditResult, q as NativeTableRowBlockSplitPlan, r as NativeTableRowBlockSplitResult, s as NativeTableRowPaginationAnalysis, t as NativeTableRowPaginationKind, u as NativeTableRowPaginationRisk, v as NativeTableRowTextSplitPlan, w as NativeTableStructureOperation, y as NativeWordChange, z as NativeWordChangeApplyResult, A as NativeWordCommentMark, C as NativeWordDrawingNode, D as NativeWordEditor, E as NativeWordFieldNode, F as NativeWordFormatRevisionMark, G as NativeWordHeaderFooterStory, H as NativeWordImageNode, I as NativeWordInlineNode, K as NativeWordPageBreakNode, M as NativeWordRevisionMark, O as NativeWordTableCellNode, P as NativeWordTableNode, Q as NativeWordTableRowNode, R as NativeWordTextMark, S as NativeWordTextNode, T as ResolvedWordOoxmlPatchTarget, U as SkippedWordOoxmlPatch, V as UnresolvedWordOoxmlPatchTarget, W as UnsupportedNativeWordChange, X as WordEditorChangeEvent, Y as WordEditorCommand, Z as WordEditorCommandState, _ as WordEditorEngineKind, $ as WordEditorFormatValue, a0 as WordEditorHyperlink, a1 as WordEditorImageInsertOptions, a2 as WordEditorImageState, a3 as WordEditorLineSpacingState, a4 as WordEditorRuntime, a5 as WordEditorRuntimeEvent, a6 as WordEditorRuntimeEventMap, a7 as WordEditorRuntimeOptions, a8 as WordEditorSearchMatch, a9 as WordEditorSearchOptions, aa as WordEditorSearchState, ab as WordEditorSelection, ac as WordEditorSelectionChangeEvent, ad as WordEditorSelectionPoint, ae as WordEditorTableCellPoint, af as WordEditorTableState, ag as WordOoxmlPatch, ah as WordOoxmlPatchApplyResult, ai as WordOoxmlPatchKind, aj as WordOoxmlPatchPlan, ak as WordOoxmlPatchTargetResolution, al as adjacentNativeListNumbering, am as allNativeParagraphs, an as analyzeNativeTableRowPagination, ao as applyNativeWordChangesToPackage, ap as applyWordOoxmlPatches, aq as bodyParagraphs, ar as canDispatchNativeWordCommand, as as clearNativeImageSelection, at as cloneNativeWordBlocks, au as createNativeListNumbering, av as createNativeParaId, aw as createNativeSelectionRange, ax as createNativeTextRange, ay as createNativeWordDocument, az as currentNativeCursor, aA as currentNativeSelection, aB as defineNativeWordElements, aC as findNativeParagraph, aD as findNativeParagraphLocation, aE as findNativeTableCellLocation, aF as findNativeTableLocation, aG as getNativeWordCommandState, aH as imageOffset, aI as layoutNativePageAnnotationBubbles, aJ as measureNativeDocumentReflowFromParagraph, aK as nativeAddComment, aL as nativeAddFormatRevision, aM as nativeAddRevision, aN as nativeAnchorLayoutMetadata, aO as nativeClearRunFormat, aP as nativeClearTableCellRange, aQ as nativeCopyBlockRange, aR as nativeCursorFromPoint, aS as nativeDeleteBackward, aT as nativeDeleteComment, aU as nativeDeleteForward, aV as nativeDeleteImage, aW as nativeDeleteRange, aX as nativeDeleteTable, aY as nativeDeleteTextRangeAcrossParagraphs, aZ as nativeDrawingWidthCss, a_ as nativeEditTableStructure, a$ as nativeInsertImage, b0 as nativeInsertPageBreak, b1 as nativeInsertTable, b2 as nativeInsertText, b3 as nativeLineStrokeStyle, b4 as nativeListIndent, b5 as nativeListType, b6 as nativeMergeTableCells, b7 as nativeNumberingAtLevel, b8 as nativePageBreakAt, b9 as nativeParagraphText, ba as nativeRangeContainsPageBreak, bb as nativeReplaceBlockRangeAcrossParagraphs, bc as nativeReplaceRange, bd as nativeReplaceRangeWithBlocks, be as nativeReplaceTableCellRangeContent, bf as nativeReplaceTableCellRangeText, bg as nativeReplaceTextRangeAcrossParagraphs, bh as nativeReplaceTextRangeWithParagraphs, bi as nativeResolveFormatRevision, bj as nativeResolveImageFormatRevision, bk as nativeResolveImageRevision, bl as nativeResolveRevision, bm as nativeSelection, bn as nativeSelectionFromCursor, bo as nativeSetHyperlink, bp as nativeSetImageSize, bq as nativeSetParagraphFormat, br as nativeSetParagraphList, bs as nativeSetRunFormat, bt as nativeSetTableCellFormat, bu as nativeSetTableCellRangeFormat, bv as nativeSplitParagraph, bw as nativeSplitTableCell, bx as nativeSyncParagraphText, by as nativeTableCellsInRange, bz as nativeTableSupportsStructuralEditing, bA as nativeTextRangeIsBold, bB as nativeUpdateComment, bC as paginateNativeDocument, bD as parentNativeParagraph, bE as planWordOoxmlPatch, bF as planWordOoxmlPatches, bG as previousNativeParagraphId, bH as rebuildNativeTableFragmentsFromParagraph, bI as reflowNativeDocumentFromParagraph, bJ as refreshNativeNumberingLabels, bK as refreshNativePageCommentBubbles, bL as renderNativeBlock, bM as renderNativeDocument, bN as renderNativeImage, bO as renderNativeParagraph, bP as renderNativeTable, bQ as renderNativeWordEditor, bR as resolveNativeSectionPageNumberStarts, bS as resolveNativeTableCellBorders, bT as resolveWordOoxmlPatchTargets, bU as restoreNativeCursor, bV as restoreNativeElementSelection, bW as restoreNativeTextSelection, bX as searchNativeWordDocument, bY as selectNativeImage, bZ as splitNativeTableRowAtBlockBoundary, b_ as splitNativeTableRowAtTextOffset, b$ as summarizeNativeTablePagination } from './native-DVRWKaOC.cjs';
|
|
9
9
|
export { WordAnnotationEditChangeDraft, WordAnnotationEditOperation, WordBlockEditChangeDraft, WordBlockEditOperation, WordBlockSnapshot, WordChangeSet, WordChangeStatus, WordChangeTarget, WordContent, WordContentEditChangeDraft, WordContentEditOperation, WordEditChange, WordEditChangeBase, WordEditChangeDraft, WordEditMark, WordEditingPluginOptions, WordEditorRange, WordImageContent, WordMarkEditChangeDraft, WordParagraphAlignment, WordParagraphBlockSnapshot, WordParagraphEditChangeDraft, WordParagraphRange, WordRevisionEditChangeDraft, WordRevisionEditOperation, WordSelectedParagraph, WordSelectionInfo, WordTableBlockSnapshot, WordTableEditChangeDraft, WordTableEditOperation, WordTextContent, WordTextEditChangeDraft, WordTextEditOperation, createWordEditingPlugin, getWordChangeSet, getWordSelectionInfo, setColor, setFontSize, setParagraphAlign, toggleBold, wordEditingPluginKey } from './word-editing.cjs';
|
|
10
10
|
import 'prosemirror-state';
|
|
11
11
|
import 'prosemirror-view';
|
|
@@ -61,7 +61,7 @@ interface ResolvedStyle {
|
|
|
61
61
|
}
|
|
62
62
|
declare function resolveParagraphStyle(format: EditorParagraphFormat | undefined | null): ResolvedStyle;
|
|
63
63
|
declare function resolveRunStyle(format: EditorRunFormat | undefined | null): ResolvedStyle;
|
|
64
|
-
declare function resolveTableCellStyle(cell: Pick<EditorTableCellView, 'margin' | 'borders' | 'shading' | 'verticalAlignment' | 'noWrap' | 'width'>): ResolvedStyle;
|
|
64
|
+
declare function resolveTableCellStyle(cell: Pick<EditorTableCellView, 'margin' | 'borders' | 'shading' | 'verticalAlignment' | 'noWrap' | 'width' | 'widthType'>): ResolvedStyle;
|
|
65
65
|
declare function colorToCss(color: string | undefined): string | null;
|
|
66
66
|
|
|
67
67
|
interface NormalizedDocumentHtmlPageOptions {
|
package/dist/word.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { E as EditorReadOnlyError } from './read-only-1_LQCO1d.js';
|
|
2
|
-
import { f as EditorDocumentView, q as EditorParagraphFormat, w as EditorRunFormat, F as EditorTableCellView, k as EditorHyperlink } from './model-
|
|
3
|
-
export { E as EditorBlockView, a as EditorBoxEdges, b as EditorCommentSpan, c as EditorContentRevisionKind, d as EditorContentSegment, e as EditorDocumentDefaults, g as EditorDrawingSegment, h as EditorFieldSegment, i as EditorHeaderFooterRef, j as EditorHeaderFooterStoryView, l as EditorImageSegment, m as EditorNumberingFormat, n as EditorPageLayout, o as EditorParagraphBorder, p as EditorParagraphBorders, r as EditorParagraphSpan, s as EditorParagraphView, t as EditorPlaceholderSegment, u as EditorRevisionSegment, v as EditorRevisionSpan, x as EditorSectionView, y as EditorSegmentKind, z as EditorShading, A as EditorSpanKind, B as EditorTabStop, C as EditorTableBorder, D as EditorTableBorders, G as EditorTableLayout, H as EditorTableLook, I as EditorTableRowView, J as EditorTableView, K as EditorTextSegment, L as EditorTextSpan } from './model-
|
|
2
|
+
import { f as EditorDocumentView, q as EditorParagraphFormat, w as EditorRunFormat, F as EditorTableCellView, k as EditorHyperlink } from './model-CgISL5eB.js';
|
|
3
|
+
export { E as EditorBlockView, a as EditorBoxEdges, b as EditorCommentSpan, c as EditorContentRevisionKind, d as EditorContentSegment, e as EditorDocumentDefaults, g as EditorDrawingSegment, h as EditorFieldSegment, i as EditorHeaderFooterRef, j as EditorHeaderFooterStoryView, l as EditorImageSegment, m as EditorNumberingFormat, n as EditorPageLayout, o as EditorParagraphBorder, p as EditorParagraphBorders, r as EditorParagraphSpan, s as EditorParagraphView, t as EditorPlaceholderSegment, u as EditorRevisionSegment, v as EditorRevisionSpan, x as EditorSectionView, y as EditorSegmentKind, z as EditorShading, A as EditorSpanKind, B as EditorTabStop, C as EditorTableBorder, D as EditorTableBorders, G as EditorTableLayout, H as EditorTableLook, I as EditorTableRowView, J as EditorTableView, K as EditorTextSegment, L as EditorTextSpan } from './model-CgISL5eB.js';
|
|
4
4
|
import { Package } from '@coco-vexel/coco-office/pack';
|
|
5
5
|
import { PackageIndices } from '@coco-vexel/coco-office/word-view';
|
|
6
6
|
export { RevisionInfo } from '@coco-vexel/coco-office/word-view';
|
|
7
|
-
import { B as NativeWordDocument, L as NativeWordParagraphNode, J as NativeWordListType, x as NativeWordBlockNode } from './native-
|
|
8
|
-
export { N as NativeAnchorLayoutMetadata, a as NativeBlockRangeReplacement, b as NativeCursorPoint, c as NativeDocumentReflowMeasurement, d as NativeParagraphLocation, e as NativePlainTextReplacement, f as NativeSelectedImage, g as NativeTableCellFormatPatch, h as NativeTableCellLocation, i as NativeTableCellPoint, j as NativeTableCellPosition, k as NativeTableCellRange, l as NativeTableClipboardCell, m as NativeTableEditResult, n as NativeTableLocation, o as NativeTablePaginationSummary, p as NativeTableRangeEditResult, q as NativeTableRowBlockSplitPlan, r as NativeTableRowBlockSplitResult, s as NativeTableRowPaginationAnalysis, t as NativeTableRowPaginationKind, u as NativeTableRowPaginationRisk, v as NativeTableRowTextSplitPlan, w as NativeTableStructureOperation, y as NativeWordChange, z as NativeWordChangeApplyResult, A as NativeWordCommentMark, C as NativeWordDrawingNode, D as NativeWordEditor, E as NativeWordFieldNode, F as NativeWordFormatRevisionMark, G as NativeWordHeaderFooterStory, H as NativeWordImageNode, I as NativeWordInlineNode, K as NativeWordPageBreakNode, M as NativeWordRevisionMark, O as NativeWordTableCellNode, P as NativeWordTableNode, Q as NativeWordTableRowNode, R as NativeWordTextMark, S as NativeWordTextNode, T as ResolvedWordOoxmlPatchTarget, U as SkippedWordOoxmlPatch, V as UnresolvedWordOoxmlPatchTarget, W as UnsupportedNativeWordChange, X as WordEditorChangeEvent, Y as WordEditorCommand, Z as WordEditorCommandState, _ as WordEditorEngineKind, $ as WordEditorFormatValue, a0 as WordEditorHyperlink, a1 as WordEditorImageInsertOptions, a2 as WordEditorImageState, a3 as WordEditorLineSpacingState, a4 as WordEditorRuntime, a5 as WordEditorRuntimeEvent, a6 as WordEditorRuntimeEventMap, a7 as WordEditorRuntimeOptions, a8 as WordEditorSearchMatch, a9 as WordEditorSearchOptions, aa as WordEditorSearchState, ab as WordEditorSelection, ac as WordEditorSelectionChangeEvent, ad as WordEditorSelectionPoint, ae as WordEditorTableCellPoint, af as WordEditorTableState, ag as WordOoxmlPatch, ah as WordOoxmlPatchApplyResult, ai as WordOoxmlPatchKind, aj as WordOoxmlPatchPlan, ak as WordOoxmlPatchTargetResolution, al as adjacentNativeListNumbering, am as allNativeParagraphs, an as analyzeNativeTableRowPagination, ao as applyNativeWordChangesToPackage, ap as applyWordOoxmlPatches, aq as bodyParagraphs, ar as canDispatchNativeWordCommand, as as clearNativeImageSelection, at as cloneNativeWordBlocks, au as createNativeListNumbering, av as createNativeParaId, aw as createNativeSelectionRange, ax as createNativeTextRange, ay as createNativeWordDocument, az as currentNativeCursor, aA as currentNativeSelection, aB as defineNativeWordElements, aC as findNativeParagraph, aD as findNativeParagraphLocation, aE as findNativeTableCellLocation, aF as findNativeTableLocation, aG as getNativeWordCommandState, aH as imageOffset, aI as layoutNativePageAnnotationBubbles, aJ as measureNativeDocumentReflowFromParagraph, aK as nativeAddComment, aL as nativeAddFormatRevision, aM as nativeAddRevision, aN as nativeAnchorLayoutMetadata, aO as nativeClearRunFormat, aP as nativeClearTableCellRange, aQ as nativeCopyBlockRange, aR as nativeCursorFromPoint, aS as nativeDeleteBackward, aT as nativeDeleteComment, aU as nativeDeleteForward, aV as nativeDeleteImage, aW as nativeDeleteRange, aX as nativeDeleteTable, aY as nativeDeleteTextRangeAcrossParagraphs, aZ as nativeDrawingWidthCss, a_ as nativeEditTableStructure, a$ as nativeInsertImage, b0 as nativeInsertPageBreak, b1 as nativeInsertTable, b2 as nativeInsertText, b3 as nativeLineStrokeStyle, b4 as nativeListIndent, b5 as nativeListType, b6 as nativeMergeTableCells, b7 as nativeNumberingAtLevel, b8 as nativePageBreakAt, b9 as nativeParagraphText, ba as nativeRangeContainsPageBreak, bb as nativeReplaceBlockRangeAcrossParagraphs, bc as nativeReplaceRange, bd as nativeReplaceRangeWithBlocks, be as nativeReplaceTableCellRangeContent, bf as nativeReplaceTableCellRangeText, bg as nativeReplaceTextRangeAcrossParagraphs, bh as nativeReplaceTextRangeWithParagraphs, bi as nativeResolveFormatRevision, bj as nativeResolveImageFormatRevision, bk as nativeResolveImageRevision, bl as nativeResolveRevision, bm as nativeSelection, bn as nativeSelectionFromCursor, bo as nativeSetHyperlink, bp as nativeSetImageSize, bq as nativeSetParagraphFormat, br as nativeSetParagraphList, bs as nativeSetRunFormat, bt as nativeSetTableCellFormat, bu as nativeSetTableCellRangeFormat, bv as nativeSplitParagraph, bw as nativeSplitTableCell, bx as nativeSyncParagraphText, by as nativeTableCellsInRange, bz as nativeTableSupportsStructuralEditing, bA as nativeTextRangeIsBold, bB as nativeUpdateComment, bC as paginateNativeDocument, bD as parentNativeParagraph, bE as planWordOoxmlPatch, bF as planWordOoxmlPatches, bG as previousNativeParagraphId, bH as rebuildNativeTableFragmentsFromParagraph, bI as reflowNativeDocumentFromParagraph, bJ as refreshNativeNumberingLabels, bK as refreshNativePageCommentBubbles, bL as renderNativeBlock, bM as renderNativeDocument, bN as renderNativeImage, bO as renderNativeParagraph, bP as renderNativeTable, bQ as renderNativeWordEditor, bR as resolveNativeSectionPageNumberStarts, bS as resolveNativeTableCellBorders, bT as resolveWordOoxmlPatchTargets, bU as restoreNativeCursor, bV as restoreNativeElementSelection, bW as restoreNativeTextSelection, bX as searchNativeWordDocument, bY as selectNativeImage, bZ as splitNativeTableRowAtBlockBoundary, b_ as splitNativeTableRowAtTextOffset, b$ as summarizeNativeTablePagination } from './native-
|
|
7
|
+
import { B as NativeWordDocument, L as NativeWordParagraphNode, J as NativeWordListType, x as NativeWordBlockNode } from './native-D9lhNG94.js';
|
|
8
|
+
export { N as NativeAnchorLayoutMetadata, a as NativeBlockRangeReplacement, b as NativeCursorPoint, c as NativeDocumentReflowMeasurement, d as NativeParagraphLocation, e as NativePlainTextReplacement, f as NativeSelectedImage, g as NativeTableCellFormatPatch, h as NativeTableCellLocation, i as NativeTableCellPoint, j as NativeTableCellPosition, k as NativeTableCellRange, l as NativeTableClipboardCell, m as NativeTableEditResult, n as NativeTableLocation, o as NativeTablePaginationSummary, p as NativeTableRangeEditResult, q as NativeTableRowBlockSplitPlan, r as NativeTableRowBlockSplitResult, s as NativeTableRowPaginationAnalysis, t as NativeTableRowPaginationKind, u as NativeTableRowPaginationRisk, v as NativeTableRowTextSplitPlan, w as NativeTableStructureOperation, y as NativeWordChange, z as NativeWordChangeApplyResult, A as NativeWordCommentMark, C as NativeWordDrawingNode, D as NativeWordEditor, E as NativeWordFieldNode, F as NativeWordFormatRevisionMark, G as NativeWordHeaderFooterStory, H as NativeWordImageNode, I as NativeWordInlineNode, K as NativeWordPageBreakNode, M as NativeWordRevisionMark, O as NativeWordTableCellNode, P as NativeWordTableNode, Q as NativeWordTableRowNode, R as NativeWordTextMark, S as NativeWordTextNode, T as ResolvedWordOoxmlPatchTarget, U as SkippedWordOoxmlPatch, V as UnresolvedWordOoxmlPatchTarget, W as UnsupportedNativeWordChange, X as WordEditorChangeEvent, Y as WordEditorCommand, Z as WordEditorCommandState, _ as WordEditorEngineKind, $ as WordEditorFormatValue, a0 as WordEditorHyperlink, a1 as WordEditorImageInsertOptions, a2 as WordEditorImageState, a3 as WordEditorLineSpacingState, a4 as WordEditorRuntime, a5 as WordEditorRuntimeEvent, a6 as WordEditorRuntimeEventMap, a7 as WordEditorRuntimeOptions, a8 as WordEditorSearchMatch, a9 as WordEditorSearchOptions, aa as WordEditorSearchState, ab as WordEditorSelection, ac as WordEditorSelectionChangeEvent, ad as WordEditorSelectionPoint, ae as WordEditorTableCellPoint, af as WordEditorTableState, ag as WordOoxmlPatch, ah as WordOoxmlPatchApplyResult, ai as WordOoxmlPatchKind, aj as WordOoxmlPatchPlan, ak as WordOoxmlPatchTargetResolution, al as adjacentNativeListNumbering, am as allNativeParagraphs, an as analyzeNativeTableRowPagination, ao as applyNativeWordChangesToPackage, ap as applyWordOoxmlPatches, aq as bodyParagraphs, ar as canDispatchNativeWordCommand, as as clearNativeImageSelection, at as cloneNativeWordBlocks, au as createNativeListNumbering, av as createNativeParaId, aw as createNativeSelectionRange, ax as createNativeTextRange, ay as createNativeWordDocument, az as currentNativeCursor, aA as currentNativeSelection, aB as defineNativeWordElements, aC as findNativeParagraph, aD as findNativeParagraphLocation, aE as findNativeTableCellLocation, aF as findNativeTableLocation, aG as getNativeWordCommandState, aH as imageOffset, aI as layoutNativePageAnnotationBubbles, aJ as measureNativeDocumentReflowFromParagraph, aK as nativeAddComment, aL as nativeAddFormatRevision, aM as nativeAddRevision, aN as nativeAnchorLayoutMetadata, aO as nativeClearRunFormat, aP as nativeClearTableCellRange, aQ as nativeCopyBlockRange, aR as nativeCursorFromPoint, aS as nativeDeleteBackward, aT as nativeDeleteComment, aU as nativeDeleteForward, aV as nativeDeleteImage, aW as nativeDeleteRange, aX as nativeDeleteTable, aY as nativeDeleteTextRangeAcrossParagraphs, aZ as nativeDrawingWidthCss, a_ as nativeEditTableStructure, a$ as nativeInsertImage, b0 as nativeInsertPageBreak, b1 as nativeInsertTable, b2 as nativeInsertText, b3 as nativeLineStrokeStyle, b4 as nativeListIndent, b5 as nativeListType, b6 as nativeMergeTableCells, b7 as nativeNumberingAtLevel, b8 as nativePageBreakAt, b9 as nativeParagraphText, ba as nativeRangeContainsPageBreak, bb as nativeReplaceBlockRangeAcrossParagraphs, bc as nativeReplaceRange, bd as nativeReplaceRangeWithBlocks, be as nativeReplaceTableCellRangeContent, bf as nativeReplaceTableCellRangeText, bg as nativeReplaceTextRangeAcrossParagraphs, bh as nativeReplaceTextRangeWithParagraphs, bi as nativeResolveFormatRevision, bj as nativeResolveImageFormatRevision, bk as nativeResolveImageRevision, bl as nativeResolveRevision, bm as nativeSelection, bn as nativeSelectionFromCursor, bo as nativeSetHyperlink, bp as nativeSetImageSize, bq as nativeSetParagraphFormat, br as nativeSetParagraphList, bs as nativeSetRunFormat, bt as nativeSetTableCellFormat, bu as nativeSetTableCellRangeFormat, bv as nativeSplitParagraph, bw as nativeSplitTableCell, bx as nativeSyncParagraphText, by as nativeTableCellsInRange, bz as nativeTableSupportsStructuralEditing, bA as nativeTextRangeIsBold, bB as nativeUpdateComment, bC as paginateNativeDocument, bD as parentNativeParagraph, bE as planWordOoxmlPatch, bF as planWordOoxmlPatches, bG as previousNativeParagraphId, bH as rebuildNativeTableFragmentsFromParagraph, bI as reflowNativeDocumentFromParagraph, bJ as refreshNativeNumberingLabels, bK as refreshNativePageCommentBubbles, bL as renderNativeBlock, bM as renderNativeDocument, bN as renderNativeImage, bO as renderNativeParagraph, bP as renderNativeTable, bQ as renderNativeWordEditor, bR as resolveNativeSectionPageNumberStarts, bS as resolveNativeTableCellBorders, bT as resolveWordOoxmlPatchTargets, bU as restoreNativeCursor, bV as restoreNativeElementSelection, bW as restoreNativeTextSelection, bX as searchNativeWordDocument, bY as selectNativeImage, bZ as splitNativeTableRowAtBlockBoundary, b_ as splitNativeTableRowAtTextOffset, b$ as summarizeNativeTablePagination } from './native-D9lhNG94.js';
|
|
9
9
|
export { WordAnnotationEditChangeDraft, WordAnnotationEditOperation, WordBlockEditChangeDraft, WordBlockEditOperation, WordBlockSnapshot, WordChangeSet, WordChangeStatus, WordChangeTarget, WordContent, WordContentEditChangeDraft, WordContentEditOperation, WordEditChange, WordEditChangeBase, WordEditChangeDraft, WordEditMark, WordEditingPluginOptions, WordEditorRange, WordImageContent, WordMarkEditChangeDraft, WordParagraphAlignment, WordParagraphBlockSnapshot, WordParagraphEditChangeDraft, WordParagraphRange, WordRevisionEditChangeDraft, WordRevisionEditOperation, WordSelectedParagraph, WordSelectionInfo, WordTableBlockSnapshot, WordTableEditChangeDraft, WordTableEditOperation, WordTextContent, WordTextEditChangeDraft, WordTextEditOperation, createWordEditingPlugin, getWordChangeSet, getWordSelectionInfo, setColor, setFontSize, setParagraphAlign, toggleBold, wordEditingPluginKey } from './word-editing.js';
|
|
10
10
|
import 'prosemirror-state';
|
|
11
11
|
import 'prosemirror-view';
|
|
@@ -61,7 +61,7 @@ interface ResolvedStyle {
|
|
|
61
61
|
}
|
|
62
62
|
declare function resolveParagraphStyle(format: EditorParagraphFormat | undefined | null): ResolvedStyle;
|
|
63
63
|
declare function resolveRunStyle(format: EditorRunFormat | undefined | null): ResolvedStyle;
|
|
64
|
-
declare function resolveTableCellStyle(cell: Pick<EditorTableCellView, 'margin' | 'borders' | 'shading' | 'verticalAlignment' | 'noWrap' | 'width'>): ResolvedStyle;
|
|
64
|
+
declare function resolveTableCellStyle(cell: Pick<EditorTableCellView, 'margin' | 'borders' | 'shading' | 'verticalAlignment' | 'noWrap' | 'width' | 'widthType'>): ResolvedStyle;
|
|
65
65
|
declare function colorToCss(color: string | undefined): string | null;
|
|
66
66
|
|
|
67
67
|
interface NormalizedDocumentHtmlPageOptions {
|