@coco-vexel/coco-office-editor 1.0.9 → 1.0.11

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.
@@ -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-DT8Dw2G6.js';
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-DT8Dw2G6.cjs';
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'];