@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
|
@@ -183,6 +183,7 @@ interface EditorTableCellView {
|
|
|
183
183
|
rowSpan?: number;
|
|
184
184
|
vMerge: 'restart' | 'continue' | null;
|
|
185
185
|
width?: number;
|
|
186
|
+
widthType?: EditorTableLayout['widthType'];
|
|
186
187
|
margin?: EditorBoxEdges;
|
|
187
188
|
borders?: EditorTableBorders;
|
|
188
189
|
shading?: {
|
|
@@ -215,6 +216,7 @@ interface EditorTableView {
|
|
|
215
216
|
rows: EditorTableRowView[];
|
|
216
217
|
}
|
|
217
218
|
interface EditorTableLayout {
|
|
219
|
+
mode?: 'autofit' | 'fixed';
|
|
218
220
|
width?: number;
|
|
219
221
|
widthType?: 'auto' | 'dxa' | 'pct';
|
|
220
222
|
indent?: number;
|
|
@@ -183,6 +183,7 @@ interface EditorTableCellView {
|
|
|
183
183
|
rowSpan?: number;
|
|
184
184
|
vMerge: 'restart' | 'continue' | null;
|
|
185
185
|
width?: number;
|
|
186
|
+
widthType?: EditorTableLayout['widthType'];
|
|
186
187
|
margin?: EditorBoxEdges;
|
|
187
188
|
borders?: EditorTableBorders;
|
|
188
189
|
shading?: {
|
|
@@ -215,6 +216,7 @@ interface EditorTableView {
|
|
|
215
216
|
rows: EditorTableRowView[];
|
|
216
217
|
}
|
|
217
218
|
interface EditorTableLayout {
|
|
219
|
+
mode?: 'autofit' | 'fixed';
|
|
218
220
|
width?: number;
|
|
219
221
|
widthType?: 'auto' | 'dxa' | 'pct';
|
|
220
222
|
indent?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as EditorParagraphFormat, w as EditorRunFormat, u as EditorRevisionSegment, k as EditorHyperlink, l as EditorImageSegment, g as EditorDrawingSegment, h as EditorFieldSegment, J as EditorTableView, D as EditorTableBorders, F as EditorTableCellView, e as EditorDocumentDefaults, n as EditorPageLayout, f as EditorDocumentView, j as EditorHeaderFooterStoryView, m as EditorNumberingFormat } from './model-
|
|
1
|
+
import { q as EditorParagraphFormat, w as EditorRunFormat, u as EditorRevisionSegment, k as EditorHyperlink, l as EditorImageSegment, g as EditorDrawingSegment, h as EditorFieldSegment, J as EditorTableView, D as EditorTableBorders, F as EditorTableCellView, e as EditorDocumentDefaults, n as EditorPageLayout, f as EditorDocumentView, j as EditorHeaderFooterStoryView, m as EditorNumberingFormat } from './model-CgISL5eB.js';
|
|
2
2
|
import { Package } from '@coco-vexel/coco-office/pack';
|
|
3
3
|
import { PackageIndices } from '@coco-vexel/coco-office/word-view';
|
|
4
4
|
|
|
@@ -119,6 +119,7 @@ interface NativeWordTableCellNode {
|
|
|
119
119
|
rowSpan?: number;
|
|
120
120
|
vMerge?: EditorTableCellView['vMerge'];
|
|
121
121
|
width?: number;
|
|
122
|
+
widthType?: EditorTableCellView['widthType'];
|
|
122
123
|
margin?: EditorTableCellView['margin'];
|
|
123
124
|
borders?: EditorTableCellView['borders'];
|
|
124
125
|
shading?: EditorTableCellView['shading'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as EditorParagraphFormat, w as EditorRunFormat, u as EditorRevisionSegment, k as EditorHyperlink, l as EditorImageSegment, g as EditorDrawingSegment, h as EditorFieldSegment, J as EditorTableView, D as EditorTableBorders, F as EditorTableCellView, e as EditorDocumentDefaults, n as EditorPageLayout, f as EditorDocumentView, j as EditorHeaderFooterStoryView, m as EditorNumberingFormat } from './model-
|
|
1
|
+
import { q as EditorParagraphFormat, w as EditorRunFormat, u as EditorRevisionSegment, k as EditorHyperlink, l as EditorImageSegment, g as EditorDrawingSegment, h as EditorFieldSegment, J as EditorTableView, D as EditorTableBorders, F as EditorTableCellView, e as EditorDocumentDefaults, n as EditorPageLayout, f as EditorDocumentView, j as EditorHeaderFooterStoryView, m as EditorNumberingFormat } from './model-CgISL5eB.cjs';
|
|
2
2
|
import { Package } from '@coco-vexel/coco-office/pack';
|
|
3
3
|
import { PackageIndices } from '@coco-vexel/coco-office/word-view';
|
|
4
4
|
|
|
@@ -119,6 +119,7 @@ interface NativeWordTableCellNode {
|
|
|
119
119
|
rowSpan?: number;
|
|
120
120
|
vMerge?: EditorTableCellView['vMerge'];
|
|
121
121
|
width?: number;
|
|
122
|
+
widthType?: EditorTableCellView['widthType'];
|
|
122
123
|
margin?: EditorTableCellView['margin'];
|
|
123
124
|
borders?: EditorTableCellView['borders'];
|
|
124
125
|
shading?: EditorTableCellView['shading'];
|