@creatorsn/powereditor3 0.0.5 → 0.0.7
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/types/devC/index.d.ts +35 -0
- package/dist/types/devC/src/index.vue.d.ts +9 -0
- package/dist/types/editor/index.d.ts +2972 -0
- package/dist/types/editor/src/components/bubbleToolBar.vue.d.ts +360 -0
- package/dist/types/editor/src/components/custom/extension/codeBlockX.d.ts +2 -0
- package/dist/types/editor/src/components/custom/extension/drawingBlock.d.ts +3 -0
- package/dist/types/editor/src/components/custom/extension/embedBlock.d.ts +3 -0
- package/dist/types/editor/src/components/custom/extension/equationBlock.d.ts +3 -0
- package/dist/types/editor/src/components/custom/extension/formatPainter.d.ts +3 -0
- package/dist/types/editor/src/components/custom/extension/imageBlock.d.ts +3 -0
- package/dist/types/editor/src/components/custom/extension/inlineEquation.d.ts +3 -0
- package/dist/types/editor/src/components/custom/extension/mentionItem.d.ts +3 -0
- package/dist/types/editor/src/components/custom/extension/taskItem.d.ts +3 -0
- package/dist/types/editor/src/components/custom/extension/taskList.d.ts +3 -0
- package/dist/types/editor/src/components/custom/inputRules/nodeInputWithContentRules.d.ts +8 -0
- package/dist/types/editor/src/components/custom/pasteRules/nodePasteRules.d.ts +10 -0
- package/dist/types/editor/src/components/custom/source/codeBlockX.vue.d.ts +96 -0
- package/dist/types/editor/src/components/custom/source/drawingBlock.vue.d.ts +184 -0
- package/dist/types/editor/src/components/custom/source/embedBlock.vue.d.ts +164 -0
- package/dist/types/editor/src/components/custom/source/equationBase.vue.d.ts +91 -0
- package/dist/types/editor/src/components/custom/source/imageBlock.vue.d.ts +187 -0
- package/dist/types/editor/src/components/custom/source/mediaContainer.vue.d.ts +90 -0
- package/dist/types/editor/src/components/custom/source/mentionItem.vue.d.ts +92 -0
- package/dist/types/editor/src/components/custom/source/taskItem.vue.d.ts +88 -0
- package/dist/types/editor/src/components/menus/calloutBase.vue.d.ts +61 -0
- package/dist/types/editor/src/components/menus/colorCallout.vue.d.ts +143 -0
- package/dist/types/editor/src/components/menus/embedCallout.vue.d.ts +103 -0
- package/dist/types/editor/src/components/menus/emojiCallout.vue.d.ts +113 -0
- package/dist/types/editor/src/components/menus/headingCallout.vue.d.ts +128 -0
- package/dist/types/editor/src/components/menus/imageCallout.vue.d.ts +104 -0
- package/dist/types/editor/src/components/menus/linkCallout.vue.d.ts +104 -0
- package/dist/types/editor/src/components/menus/tableCallout.vue.d.ts +137 -0
- package/dist/types/editor/src/components/toolBar.vue.d.ts +928 -0
- package/dist/types/editor/src/index.vue.d.ts +1451 -0
- package/dist/types/editor/src/js/emojiList.d.ts +5 -0
- package/dist/types/editor/src/js/lowlight/index.d.ts +2 -0
- package/dist/types/editor/src/js/markdown/decoder.d.ts +66 -0
- package/dist/types/editor/src/js/markdown/encoder.d.ts +10 -0
- package/dist/types/editor/src/js/markdown/index.d.ts +3 -0
- package/dist/types/i18n/i18n.d.ts +2 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/install.d.ts +4 -0
- package/package.json +4 -3
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
};
|
|
5
|
+
node: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
};
|
|
8
|
+
decorations: {
|
|
9
|
+
type: ArrayConstructor;
|
|
10
|
+
};
|
|
11
|
+
selected: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
};
|
|
14
|
+
extension: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
};
|
|
17
|
+
getPos: {
|
|
18
|
+
type: FunctionConstructor;
|
|
19
|
+
};
|
|
20
|
+
updateAttributes: {
|
|
21
|
+
type: FunctionConstructor;
|
|
22
|
+
};
|
|
23
|
+
deleteNode: {
|
|
24
|
+
type: FunctionConstructor;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {
|
|
27
|
+
color: string;
|
|
28
|
+
size: number;
|
|
29
|
+
svg: null;
|
|
30
|
+
path: null;
|
|
31
|
+
points: never[];
|
|
32
|
+
drawing: boolean;
|
|
33
|
+
id: any;
|
|
34
|
+
colorList: {
|
|
35
|
+
name: string;
|
|
36
|
+
color: string;
|
|
37
|
+
}[];
|
|
38
|
+
activeErase: boolean;
|
|
39
|
+
mouseDown: boolean;
|
|
40
|
+
thisTheme: any;
|
|
41
|
+
thisForeground: any;
|
|
42
|
+
}, {
|
|
43
|
+
eraseBackground(): any;
|
|
44
|
+
}, {
|
|
45
|
+
onStartDrawing(event: any): void;
|
|
46
|
+
onMove(event: any): void;
|
|
47
|
+
onEndDrawing(): void;
|
|
48
|
+
delMe(item: any): void;
|
|
49
|
+
moveDelMe(item: any): void;
|
|
50
|
+
simplifyPoints(points: any): number[][];
|
|
51
|
+
tick(): void;
|
|
52
|
+
clear(): void;
|
|
53
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
+
editor: {
|
|
55
|
+
type: ObjectConstructor;
|
|
56
|
+
};
|
|
57
|
+
node: {
|
|
58
|
+
type: ObjectConstructor;
|
|
59
|
+
};
|
|
60
|
+
decorations: {
|
|
61
|
+
type: ArrayConstructor;
|
|
62
|
+
};
|
|
63
|
+
selected: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
};
|
|
66
|
+
extension: {
|
|
67
|
+
type: ObjectConstructor;
|
|
68
|
+
};
|
|
69
|
+
getPos: {
|
|
70
|
+
type: FunctionConstructor;
|
|
71
|
+
};
|
|
72
|
+
updateAttributes: {
|
|
73
|
+
type: FunctionConstructor;
|
|
74
|
+
};
|
|
75
|
+
deleteNode: {
|
|
76
|
+
type: FunctionConstructor;
|
|
77
|
+
};
|
|
78
|
+
}>> & Readonly<{}>, {
|
|
79
|
+
selected: boolean;
|
|
80
|
+
}, {}, {
|
|
81
|
+
NodeViewWrapper: import("vue").DefineComponent<{
|
|
82
|
+
as: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
87
|
+
as: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
}>>, {
|
|
92
|
+
as: string;
|
|
93
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
94
|
+
mediaContainer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
95
|
+
width: {
|
|
96
|
+
default: number;
|
|
97
|
+
};
|
|
98
|
+
editor: {
|
|
99
|
+
default: () => {};
|
|
100
|
+
};
|
|
101
|
+
caption: {
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
alignCenter: {
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
|
+
foreground: {
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
node: {
|
|
111
|
+
default: () => {};
|
|
112
|
+
};
|
|
113
|
+
getPos: {
|
|
114
|
+
default: () => void;
|
|
115
|
+
};
|
|
116
|
+
theme: {
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
}>, {}, {
|
|
120
|
+
thisCaption: string;
|
|
121
|
+
thisAlignCenter: boolean;
|
|
122
|
+
elWidthStart: number;
|
|
123
|
+
elWidthEnd: number;
|
|
124
|
+
ppi: number;
|
|
125
|
+
active: boolean;
|
|
126
|
+
moveable: boolean;
|
|
127
|
+
direction: number;
|
|
128
|
+
disX: number;
|
|
129
|
+
currentWidth: number;
|
|
130
|
+
outsideEvent: (event: any) => void;
|
|
131
|
+
show: {
|
|
132
|
+
captionBox: boolean;
|
|
133
|
+
};
|
|
134
|
+
}, {}, {
|
|
135
|
+
Init(): void;
|
|
136
|
+
forward(event: any, direction?: number): void;
|
|
137
|
+
stop(): void;
|
|
138
|
+
outSideClickInit(): void;
|
|
139
|
+
getTitle(name: any): any;
|
|
140
|
+
showCaptionBox(): void;
|
|
141
|
+
newline(): void;
|
|
142
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("container-dblclick" | "container-click" | "update:width" | "update:alignCenter" | "update:caption")[], "container-dblclick" | "container-click" | "update:width" | "update:alignCenter" | "update:caption", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
143
|
+
width: {
|
|
144
|
+
default: number;
|
|
145
|
+
};
|
|
146
|
+
editor: {
|
|
147
|
+
default: () => {};
|
|
148
|
+
};
|
|
149
|
+
caption: {
|
|
150
|
+
default: string;
|
|
151
|
+
};
|
|
152
|
+
alignCenter: {
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
foreground: {
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
node: {
|
|
159
|
+
default: () => {};
|
|
160
|
+
};
|
|
161
|
+
getPos: {
|
|
162
|
+
default: () => void;
|
|
163
|
+
};
|
|
164
|
+
theme: {
|
|
165
|
+
default: string;
|
|
166
|
+
};
|
|
167
|
+
}>> & Readonly<{
|
|
168
|
+
"onContainer-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
169
|
+
"onContainer-click"?: ((...args: any[]) => any) | undefined;
|
|
170
|
+
"onUpdate:width"?: ((...args: any[]) => any) | undefined;
|
|
171
|
+
"onUpdate:alignCenter"?: ((...args: any[]) => any) | undefined;
|
|
172
|
+
"onUpdate:caption"?: ((...args: any[]) => any) | undefined;
|
|
173
|
+
}>, {
|
|
174
|
+
editor: {};
|
|
175
|
+
node: {};
|
|
176
|
+
getPos: void;
|
|
177
|
+
caption: string;
|
|
178
|
+
theme: string;
|
|
179
|
+
foreground: string;
|
|
180
|
+
width: number;
|
|
181
|
+
alignCenter: boolean;
|
|
182
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
183
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
184
|
+
export default _default;
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
};
|
|
5
|
+
node: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
};
|
|
8
|
+
decorations: {
|
|
9
|
+
type: ArrayConstructor;
|
|
10
|
+
};
|
|
11
|
+
selected: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
};
|
|
14
|
+
extension: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
};
|
|
17
|
+
getPos: {
|
|
18
|
+
type: FunctionConstructor;
|
|
19
|
+
};
|
|
20
|
+
updateAttributes: {
|
|
21
|
+
type: FunctionConstructor;
|
|
22
|
+
};
|
|
23
|
+
deleteNode: {
|
|
24
|
+
type: FunctionConstructor;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {
|
|
27
|
+
width: number;
|
|
28
|
+
thisTheme: any;
|
|
29
|
+
thisForeground: any;
|
|
30
|
+
timer: {};
|
|
31
|
+
}, {}, {
|
|
32
|
+
timerInit(): void;
|
|
33
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
editor: {
|
|
35
|
+
type: ObjectConstructor;
|
|
36
|
+
};
|
|
37
|
+
node: {
|
|
38
|
+
type: ObjectConstructor;
|
|
39
|
+
};
|
|
40
|
+
decorations: {
|
|
41
|
+
type: ArrayConstructor;
|
|
42
|
+
};
|
|
43
|
+
selected: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
};
|
|
46
|
+
extension: {
|
|
47
|
+
type: ObjectConstructor;
|
|
48
|
+
};
|
|
49
|
+
getPos: {
|
|
50
|
+
type: FunctionConstructor;
|
|
51
|
+
};
|
|
52
|
+
updateAttributes: {
|
|
53
|
+
type: FunctionConstructor;
|
|
54
|
+
};
|
|
55
|
+
deleteNode: {
|
|
56
|
+
type: FunctionConstructor;
|
|
57
|
+
};
|
|
58
|
+
}>> & Readonly<{}>, {
|
|
59
|
+
selected: boolean;
|
|
60
|
+
}, {}, {
|
|
61
|
+
NodeViewWrapper: import("vue").DefineComponent<{
|
|
62
|
+
as: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
+
as: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
}>>, {
|
|
72
|
+
as: string;
|
|
73
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
74
|
+
mediaContainer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
75
|
+
width: {
|
|
76
|
+
default: number;
|
|
77
|
+
};
|
|
78
|
+
editor: {
|
|
79
|
+
default: () => {};
|
|
80
|
+
};
|
|
81
|
+
caption: {
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
alignCenter: {
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
foreground: {
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
node: {
|
|
91
|
+
default: () => {};
|
|
92
|
+
};
|
|
93
|
+
getPos: {
|
|
94
|
+
default: () => void;
|
|
95
|
+
};
|
|
96
|
+
theme: {
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
}>, {}, {
|
|
100
|
+
thisCaption: string;
|
|
101
|
+
thisAlignCenter: boolean;
|
|
102
|
+
elWidthStart: number;
|
|
103
|
+
elWidthEnd: number;
|
|
104
|
+
ppi: number;
|
|
105
|
+
active: boolean;
|
|
106
|
+
moveable: boolean;
|
|
107
|
+
direction: number;
|
|
108
|
+
disX: number;
|
|
109
|
+
currentWidth: number;
|
|
110
|
+
outsideEvent: (event: any) => void;
|
|
111
|
+
show: {
|
|
112
|
+
captionBox: boolean;
|
|
113
|
+
};
|
|
114
|
+
}, {}, {
|
|
115
|
+
Init(): void;
|
|
116
|
+
forward(event: any, direction?: number): void;
|
|
117
|
+
stop(): void;
|
|
118
|
+
outSideClickInit(): void;
|
|
119
|
+
getTitle(name: any): any;
|
|
120
|
+
showCaptionBox(): void;
|
|
121
|
+
newline(): void;
|
|
122
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("container-dblclick" | "container-click" | "update:width" | "update:alignCenter" | "update:caption")[], "container-dblclick" | "container-click" | "update:width" | "update:alignCenter" | "update:caption", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
123
|
+
width: {
|
|
124
|
+
default: number;
|
|
125
|
+
};
|
|
126
|
+
editor: {
|
|
127
|
+
default: () => {};
|
|
128
|
+
};
|
|
129
|
+
caption: {
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
alignCenter: {
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
foreground: {
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
node: {
|
|
139
|
+
default: () => {};
|
|
140
|
+
};
|
|
141
|
+
getPos: {
|
|
142
|
+
default: () => void;
|
|
143
|
+
};
|
|
144
|
+
theme: {
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
}>> & Readonly<{
|
|
148
|
+
"onContainer-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
149
|
+
"onContainer-click"?: ((...args: any[]) => any) | undefined;
|
|
150
|
+
"onUpdate:width"?: ((...args: any[]) => any) | undefined;
|
|
151
|
+
"onUpdate:alignCenter"?: ((...args: any[]) => any) | undefined;
|
|
152
|
+
"onUpdate:caption"?: ((...args: any[]) => any) | undefined;
|
|
153
|
+
}>, {
|
|
154
|
+
editor: {};
|
|
155
|
+
node: {};
|
|
156
|
+
getPos: void;
|
|
157
|
+
caption: string;
|
|
158
|
+
theme: string;
|
|
159
|
+
foreground: string;
|
|
160
|
+
width: number;
|
|
161
|
+
alignCenter: boolean;
|
|
162
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
163
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
164
|
+
export default _default;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
};
|
|
5
|
+
node: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
};
|
|
8
|
+
decorations: {
|
|
9
|
+
type: ArrayConstructor;
|
|
10
|
+
};
|
|
11
|
+
selected: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
};
|
|
14
|
+
extension: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
};
|
|
17
|
+
getPos: {
|
|
18
|
+
type: FunctionConstructor;
|
|
19
|
+
};
|
|
20
|
+
updateAttributes: {
|
|
21
|
+
type: FunctionConstructor;
|
|
22
|
+
};
|
|
23
|
+
deleteNode: {
|
|
24
|
+
type: FunctionConstructor;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {
|
|
27
|
+
left: number;
|
|
28
|
+
top: number;
|
|
29
|
+
thisValue: any;
|
|
30
|
+
showPopper: boolean;
|
|
31
|
+
equationString: string;
|
|
32
|
+
errorMsg: string;
|
|
33
|
+
active: boolean;
|
|
34
|
+
outsideEvent: (event: any) => 0 | undefined;
|
|
35
|
+
thisTheme: any;
|
|
36
|
+
thisForeground: any;
|
|
37
|
+
getTitle: any;
|
|
38
|
+
inputHight: string;
|
|
39
|
+
lock: boolean;
|
|
40
|
+
}, {
|
|
41
|
+
focusForeground(): any;
|
|
42
|
+
}, {
|
|
43
|
+
outSideClickInit(): void;
|
|
44
|
+
render(): void;
|
|
45
|
+
showPos(): void;
|
|
46
|
+
show(): void;
|
|
47
|
+
close(confirm?: boolean): void;
|
|
48
|
+
closeWithLeftRight(event: any): void;
|
|
49
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
editor: {
|
|
51
|
+
type: ObjectConstructor;
|
|
52
|
+
};
|
|
53
|
+
node: {
|
|
54
|
+
type: ObjectConstructor;
|
|
55
|
+
};
|
|
56
|
+
decorations: {
|
|
57
|
+
type: ArrayConstructor;
|
|
58
|
+
};
|
|
59
|
+
selected: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
};
|
|
62
|
+
extension: {
|
|
63
|
+
type: ObjectConstructor;
|
|
64
|
+
};
|
|
65
|
+
getPos: {
|
|
66
|
+
type: FunctionConstructor;
|
|
67
|
+
};
|
|
68
|
+
updateAttributes: {
|
|
69
|
+
type: FunctionConstructor;
|
|
70
|
+
};
|
|
71
|
+
deleteNode: {
|
|
72
|
+
type: FunctionConstructor;
|
|
73
|
+
};
|
|
74
|
+
}>> & Readonly<{}>, {
|
|
75
|
+
selected: boolean;
|
|
76
|
+
}, {}, {
|
|
77
|
+
NodeViewWrapper: import("vue").DefineComponent<{
|
|
78
|
+
as: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
|
+
as: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
}>>, {
|
|
88
|
+
as: string;
|
|
89
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
90
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
91
|
+
export default _default;
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
};
|
|
5
|
+
node: {
|
|
6
|
+
type: ObjectConstructor;
|
|
7
|
+
};
|
|
8
|
+
decorations: {
|
|
9
|
+
type: ArrayConstructor;
|
|
10
|
+
};
|
|
11
|
+
selected: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
};
|
|
14
|
+
extension: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
};
|
|
17
|
+
getPos: {
|
|
18
|
+
type: FunctionConstructor;
|
|
19
|
+
};
|
|
20
|
+
updateAttributes: {
|
|
21
|
+
type: FunctionConstructor;
|
|
22
|
+
};
|
|
23
|
+
deleteNode: {
|
|
24
|
+
type: FunctionConstructor;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {
|
|
27
|
+
statusInfo: {
|
|
28
|
+
show: boolean;
|
|
29
|
+
progress: number;
|
|
30
|
+
loading: boolean;
|
|
31
|
+
info: string;
|
|
32
|
+
tmpSrc: string;
|
|
33
|
+
tmpHeight: number;
|
|
34
|
+
lock: boolean;
|
|
35
|
+
};
|
|
36
|
+
previewImg: {
|
|
37
|
+
scalePercent: string;
|
|
38
|
+
show: boolean;
|
|
39
|
+
};
|
|
40
|
+
thisTheme: any;
|
|
41
|
+
thisLazyLoad: any;
|
|
42
|
+
thisForeground: any;
|
|
43
|
+
thisImgPreview: any;
|
|
44
|
+
imgInterceptor: any;
|
|
45
|
+
}, {}, {
|
|
46
|
+
showStatus(status: any): void;
|
|
47
|
+
updateStatus(loading: any, progress: any, info?: string): void;
|
|
48
|
+
getImage(): any;
|
|
49
|
+
interceptImage(replaceSrc?: string): string;
|
|
50
|
+
updateImage(src: any): void;
|
|
51
|
+
updateLock(lock: any): void;
|
|
52
|
+
imgInterceptorFunc(): void;
|
|
53
|
+
preview(mode?: string): void;
|
|
54
|
+
scale(event: any, rate: any): void;
|
|
55
|
+
setScale(event: any, rate: any): void;
|
|
56
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
57
|
+
editor: {
|
|
58
|
+
type: ObjectConstructor;
|
|
59
|
+
};
|
|
60
|
+
node: {
|
|
61
|
+
type: ObjectConstructor;
|
|
62
|
+
};
|
|
63
|
+
decorations: {
|
|
64
|
+
type: ArrayConstructor;
|
|
65
|
+
};
|
|
66
|
+
selected: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
};
|
|
69
|
+
extension: {
|
|
70
|
+
type: ObjectConstructor;
|
|
71
|
+
};
|
|
72
|
+
getPos: {
|
|
73
|
+
type: FunctionConstructor;
|
|
74
|
+
};
|
|
75
|
+
updateAttributes: {
|
|
76
|
+
type: FunctionConstructor;
|
|
77
|
+
};
|
|
78
|
+
deleteNode: {
|
|
79
|
+
type: FunctionConstructor;
|
|
80
|
+
};
|
|
81
|
+
}>> & Readonly<{}>, {
|
|
82
|
+
selected: boolean;
|
|
83
|
+
}, {}, {
|
|
84
|
+
NodeViewWrapper: import("vue").DefineComponent<{
|
|
85
|
+
as: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
90
|
+
as: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
}>>, {
|
|
95
|
+
as: string;
|
|
96
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
97
|
+
mediaContainer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
98
|
+
width: {
|
|
99
|
+
default: number;
|
|
100
|
+
};
|
|
101
|
+
editor: {
|
|
102
|
+
default: () => {};
|
|
103
|
+
};
|
|
104
|
+
caption: {
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
alignCenter: {
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
foreground: {
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
node: {
|
|
114
|
+
default: () => {};
|
|
115
|
+
};
|
|
116
|
+
getPos: {
|
|
117
|
+
default: () => void;
|
|
118
|
+
};
|
|
119
|
+
theme: {
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
}>, {}, {
|
|
123
|
+
thisCaption: string;
|
|
124
|
+
thisAlignCenter: boolean;
|
|
125
|
+
elWidthStart: number;
|
|
126
|
+
elWidthEnd: number;
|
|
127
|
+
ppi: number;
|
|
128
|
+
active: boolean;
|
|
129
|
+
moveable: boolean;
|
|
130
|
+
direction: number;
|
|
131
|
+
disX: number;
|
|
132
|
+
currentWidth: number;
|
|
133
|
+
outsideEvent: (event: any) => void;
|
|
134
|
+
show: {
|
|
135
|
+
captionBox: boolean;
|
|
136
|
+
};
|
|
137
|
+
}, {}, {
|
|
138
|
+
Init(): void;
|
|
139
|
+
forward(event: any, direction?: number): void;
|
|
140
|
+
stop(): void;
|
|
141
|
+
outSideClickInit(): void;
|
|
142
|
+
getTitle(name: any): any;
|
|
143
|
+
showCaptionBox(): void;
|
|
144
|
+
newline(): void;
|
|
145
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("container-dblclick" | "container-click" | "update:width" | "update:alignCenter" | "update:caption")[], "container-dblclick" | "container-click" | "update:width" | "update:alignCenter" | "update:caption", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
146
|
+
width: {
|
|
147
|
+
default: number;
|
|
148
|
+
};
|
|
149
|
+
editor: {
|
|
150
|
+
default: () => {};
|
|
151
|
+
};
|
|
152
|
+
caption: {
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
alignCenter: {
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
foreground: {
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
node: {
|
|
162
|
+
default: () => {};
|
|
163
|
+
};
|
|
164
|
+
getPos: {
|
|
165
|
+
default: () => void;
|
|
166
|
+
};
|
|
167
|
+
theme: {
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
}>> & Readonly<{
|
|
171
|
+
"onContainer-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
172
|
+
"onContainer-click"?: ((...args: any[]) => any) | undefined;
|
|
173
|
+
"onUpdate:width"?: ((...args: any[]) => any) | undefined;
|
|
174
|
+
"onUpdate:alignCenter"?: ((...args: any[]) => any) | undefined;
|
|
175
|
+
"onUpdate:caption"?: ((...args: any[]) => any) | undefined;
|
|
176
|
+
}>, {
|
|
177
|
+
editor: {};
|
|
178
|
+
node: {};
|
|
179
|
+
getPos: void;
|
|
180
|
+
caption: string;
|
|
181
|
+
theme: string;
|
|
182
|
+
foreground: string;
|
|
183
|
+
width: number;
|
|
184
|
+
alignCenter: boolean;
|
|
185
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
186
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
187
|
+
export default _default;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
width: {
|
|
3
|
+
default: number;
|
|
4
|
+
};
|
|
5
|
+
editor: {
|
|
6
|
+
default: () => {};
|
|
7
|
+
};
|
|
8
|
+
caption: {
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
alignCenter: {
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
foreground: {
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
node: {
|
|
18
|
+
default: () => {};
|
|
19
|
+
};
|
|
20
|
+
getPos: {
|
|
21
|
+
default: () => void;
|
|
22
|
+
};
|
|
23
|
+
theme: {
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {
|
|
27
|
+
thisCaption: string;
|
|
28
|
+
thisAlignCenter: boolean;
|
|
29
|
+
elWidthStart: number;
|
|
30
|
+
elWidthEnd: number;
|
|
31
|
+
ppi: number;
|
|
32
|
+
active: boolean;
|
|
33
|
+
moveable: boolean;
|
|
34
|
+
direction: number;
|
|
35
|
+
disX: number;
|
|
36
|
+
currentWidth: number;
|
|
37
|
+
outsideEvent: (event: any) => void;
|
|
38
|
+
show: {
|
|
39
|
+
captionBox: boolean;
|
|
40
|
+
};
|
|
41
|
+
}, {}, {
|
|
42
|
+
Init(): void;
|
|
43
|
+
forward(event: any, direction?: number): void;
|
|
44
|
+
stop(): void;
|
|
45
|
+
outSideClickInit(): void;
|
|
46
|
+
getTitle(name: any): any;
|
|
47
|
+
showCaptionBox(): void;
|
|
48
|
+
newline(): void;
|
|
49
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("container-dblclick" | "container-click" | "update:width" | "update:alignCenter" | "update:caption")[], "container-dblclick" | "container-click" | "update:width" | "update:alignCenter" | "update:caption", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
width: {
|
|
51
|
+
default: number;
|
|
52
|
+
};
|
|
53
|
+
editor: {
|
|
54
|
+
default: () => {};
|
|
55
|
+
};
|
|
56
|
+
caption: {
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
alignCenter: {
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
foreground: {
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
node: {
|
|
66
|
+
default: () => {};
|
|
67
|
+
};
|
|
68
|
+
getPos: {
|
|
69
|
+
default: () => void;
|
|
70
|
+
};
|
|
71
|
+
theme: {
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
}>> & Readonly<{
|
|
75
|
+
"onContainer-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
"onContainer-click"?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
"onUpdate:width"?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
"onUpdate:alignCenter"?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
"onUpdate:caption"?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
}>, {
|
|
81
|
+
editor: {};
|
|
82
|
+
node: {};
|
|
83
|
+
getPos: void;
|
|
84
|
+
caption: string;
|
|
85
|
+
theme: string;
|
|
86
|
+
foreground: string;
|
|
87
|
+
width: number;
|
|
88
|
+
alignCenter: boolean;
|
|
89
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
90
|
+
export default _default;
|