@hufe921/canvas-editor 0.9.99 → 0.9.100
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/CHANGELOG.md +18 -0
- package/dist/canvas-editor.es.js +83 -36
- package/dist/canvas-editor.es.js.map +1 -1
- package/dist/canvas-editor.umd.js +24 -24
- package/dist/canvas-editor.umd.js.map +1 -1
- package/dist/src/editor/core/event/CanvasEvent.d.ts +2 -1
- package/dist/src/editor/interface/Element.d.ts +4 -1
- package/dist/src/editor/utils/ua.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { IElement, IElementPosition } from '../../interface/Element';
|
|
2
2
|
import { ICurrentPosition, IPositionContext } from '../../interface/Position';
|
|
3
3
|
import { Draw } from '../draw/Draw';
|
|
4
|
-
import { IRange } from '../../interface/Range';
|
|
4
|
+
import { IRange, IRangeElementStyle } from '../../interface/Range';
|
|
5
5
|
import { ICopyOption } from '../../interface/Event';
|
|
6
6
|
export interface ICompositionInfo {
|
|
7
7
|
elementList: IElement[];
|
|
8
8
|
startIndex: number;
|
|
9
9
|
endIndex: number;
|
|
10
10
|
value: string;
|
|
11
|
+
defaultStyle: IRangeElementStyle | null;
|
|
11
12
|
}
|
|
12
13
|
export declare class CanvasEvent {
|
|
13
14
|
isAllowSelection: boolean;
|
|
@@ -59,6 +59,9 @@ export interface ITableAttr {
|
|
|
59
59
|
borderType?: TableBorder;
|
|
60
60
|
borderColor?: string;
|
|
61
61
|
}
|
|
62
|
+
export interface ITableRule {
|
|
63
|
+
tableToolDisabled?: boolean;
|
|
64
|
+
}
|
|
62
65
|
export interface ITableElement {
|
|
63
66
|
tdId?: string;
|
|
64
67
|
trId?: string;
|
|
@@ -67,7 +70,7 @@ export interface ITableElement {
|
|
|
67
70
|
pagingId?: string;
|
|
68
71
|
pagingIndex?: number;
|
|
69
72
|
}
|
|
70
|
-
export type ITable = ITableAttr & ITableElement;
|
|
73
|
+
export type ITable = ITableAttr & ITableRule & ITableElement;
|
|
71
74
|
export interface IHyperlinkElement {
|
|
72
75
|
valueList?: IElement[];
|
|
73
76
|
url?: string;
|
package/package.json
CHANGED