@coco-vexel/coco-office-editor 1.0.11 → 1.0.13
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 +68 -47
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +68 -47
- package/dist/{model-CgISL5eB.d.cts → model-ttSpXtd3.d.cts} +2 -0
- package/dist/{model-CgISL5eB.d.ts → model-ttSpXtd3.d.ts} +2 -0
- package/dist/{native-DVRWKaOC.d.cts → native-B7rEV_h6.d.cts} +1 -1
- package/dist/{native-D9lhNG94.d.ts → native-DQL69NnL.d.ts} +1 -1
- package/dist/spreadsheet.cjs +17 -11
- package/dist/spreadsheet.d.cts +25 -6
- package/dist/spreadsheet.d.ts +25 -6
- package/dist/spreadsheet.js +17 -11
- package/dist/word-native.cjs +34 -19
- package/dist/word-native.d.cts +2 -2
- package/dist/word-native.d.ts +2 -2
- package/dist/word-native.js +34 -19
- package/dist/word.cjs +43 -28
- package/dist/word.d.cts +4 -4
- package/dist/word.d.ts +4 -4
- package/dist/word.js +43 -28
- package/package.json +3 -3
- package/src/styles/editor.css +17 -2
|
@@ -124,6 +124,7 @@ interface EditorRunFormat {
|
|
|
124
124
|
fontFamily?: string;
|
|
125
125
|
color?: string;
|
|
126
126
|
characterSpacing?: number;
|
|
127
|
+
characterScale?: number;
|
|
127
128
|
verticalAlign?: 'baseline' | 'superscript' | 'subscript';
|
|
128
129
|
highlight?: string;
|
|
129
130
|
shading?: EditorShading;
|
|
@@ -286,6 +287,7 @@ interface EditorPageLayout {
|
|
|
286
287
|
left: number;
|
|
287
288
|
};
|
|
288
289
|
orientation?: 'portrait' | 'landscape';
|
|
290
|
+
verticalAlignment?: 'top' | 'center' | 'bottom' | 'both';
|
|
289
291
|
}
|
|
290
292
|
interface EditorHeaderFooterRef {
|
|
291
293
|
type: 'default' | 'first' | 'even';
|
|
@@ -124,6 +124,7 @@ interface EditorRunFormat {
|
|
|
124
124
|
fontFamily?: string;
|
|
125
125
|
color?: string;
|
|
126
126
|
characterSpacing?: number;
|
|
127
|
+
characterScale?: number;
|
|
127
128
|
verticalAlign?: 'baseline' | 'superscript' | 'subscript';
|
|
128
129
|
highlight?: string;
|
|
129
130
|
shading?: EditorShading;
|
|
@@ -286,6 +287,7 @@ interface EditorPageLayout {
|
|
|
286
287
|
left: number;
|
|
287
288
|
};
|
|
288
289
|
orientation?: 'portrait' | 'landscape';
|
|
290
|
+
verticalAlignment?: 'top' | 'center' | 'bottom' | 'both';
|
|
289
291
|
}
|
|
290
292
|
interface EditorHeaderFooterRef {
|
|
291
293
|
type: 'default' | 'first' | 'even';
|
|
@@ -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-ttSpXtd3.cjs';
|
|
2
2
|
import { Package } from '@coco-vexel/coco-office/pack';
|
|
3
3
|
import { PackageIndices } from '@coco-vexel/coco-office/word-view';
|
|
4
4
|
|
|
@@ -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-ttSpXtd3.js';
|
|
2
2
|
import { Package } from '@coco-vexel/coco-office/pack';
|
|
3
3
|
import { PackageIndices } from '@coco-vexel/coco-office/word-view';
|
|
4
4
|
|