@worktile/theia 15.3.0 → 15.3.2
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/constants/default.d.ts +1 -1
- package/esm2020/constants/default.mjs +2 -2
- package/esm2020/interfaces/image.mjs +1 -1
- package/esm2020/plugins/image/image.editor.mjs +5 -2
- package/esm2020/plugins/link/edit/link-edit.component.mjs +3 -5
- package/esm2020/plugins/table/components/td/td.component.mjs +3 -9
- package/esm2020/plugins/table/table.service.mjs +5 -4
- package/esm2020/plugins/table/table.store.mjs +13 -35
- package/esm2020/plugins/table/utils/get-min-max-cell-index.mjs +8 -1
- package/fesm2015/worktile-theia.mjs +26 -52
- package/fesm2015/worktile-theia.mjs.map +1 -1
- package/fesm2020/worktile-theia.mjs +29 -51
- package/fesm2020/worktile-theia.mjs.map +1 -1
- package/interfaces/image.d.ts +1 -0
- package/package.json +1 -1
- package/plugins/link/edit/link-edit.component.d.ts +0 -1
- package/plugins/table/table.store.d.ts +0 -7
package/interfaces/image.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export interface ImagePluginOptions {
|
|
|
37
37
|
allowParentTypes?: CustomElementKinds[];
|
|
38
38
|
imageTypes?: string[];
|
|
39
39
|
disablePreview?: ((editor: TheEditor) => boolean) | boolean;
|
|
40
|
+
acceptedUploadSize?: number;
|
|
40
41
|
preview?: (data: {
|
|
41
42
|
editor: TheEditor;
|
|
42
43
|
previewImageInfo: PreviewImageInfo;
|
package/package.json
CHANGED
|
@@ -28,7 +28,6 @@ export declare class TheLinkEditComponent implements OnInit {
|
|
|
28
28
|
handleDocumentMouseDown(event: MouseEvent): void;
|
|
29
29
|
constructor(thyPopoverRef: ThyPopoverRef<any>);
|
|
30
30
|
ngOnInit(): void;
|
|
31
|
-
linkRegExp(val: any): boolean;
|
|
32
31
|
closePopover(type?: string): void;
|
|
33
32
|
applyLink(form: any): void;
|
|
34
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheLinkEditComponent, never>;
|
|
@@ -76,13 +76,6 @@ export declare class TableStore {
|
|
|
76
76
|
* @param cellElement 单元格元素
|
|
77
77
|
*/
|
|
78
78
|
setAreaSelectionCells(cellElement: TableCellElement): void;
|
|
79
|
-
/**
|
|
80
|
-
* 判断选择整列/整行时是否符合区域选择规则
|
|
81
|
-
* @param type 选择类型
|
|
82
|
-
* @param cells 本次选择的单元格
|
|
83
|
-
* @returns 是否符合区域选择规则
|
|
84
|
-
*/
|
|
85
|
-
isAreaSelectionByType(type: 'row' | 'col', cells: CellPosition[]): boolean;
|
|
86
79
|
/**
|
|
87
80
|
* 处理区域选择启用时选择整行/整列
|
|
88
81
|
* @param cells 选择的单元格
|