vue-editify 0.2.11 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/button/button.vue.d.ts +20 -3
- package/lib/components/layer/layer.vue.d.ts +10 -0
- package/lib/components/layer/props.d.ts +4 -0
- package/lib/components/toolbar/toolbar.vue.d.ts +283 -1
- package/lib/editify/editify.vue.d.ts +26 -68
- package/lib/editify.es.js +158 -68
- package/lib/editify.umd.js +2 -2
- package/lib/index.d.ts +28 -70
- package/package.json +1 -1
- package/src/components/layer/layer.vue +14 -2
- package/src/components/layer/props.ts +7 -0
- package/src/components/toolbar/toolbar.vue +60 -13
- package/src/editify/editify.vue +7 -8
- package/src/index.ts +2 -2
- package/src/plugins/attachment/index.ts +1 -2
@@ -73,6 +73,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
73
73
|
showTriangle: boolean;
|
74
74
|
animation: import('../layer/props').LayerAnimationType;
|
75
75
|
useRange: boolean;
|
76
|
+
insideElements: HTMLElement[];
|
76
77
|
}> & Omit<{
|
77
78
|
readonly placement: import('../layer/props').LayerPlacementType;
|
78
79
|
readonly color: string;
|
@@ -86,6 +87,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
86
87
|
readonly showTriangle: boolean;
|
87
88
|
readonly animation: import('../layer/props').LayerAnimationType;
|
88
89
|
readonly useRange: boolean;
|
90
|
+
readonly insideElements: HTMLElement[];
|
89
91
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
90
92
|
onShow?: ((...args: any[]) => any) | undefined;
|
91
93
|
onShown?: ((...args: any[]) => any) | undefined;
|
@@ -141,12 +143,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
141
143
|
type: BooleanConstructor;
|
142
144
|
default: boolean;
|
143
145
|
};
|
146
|
+
insideElements: {
|
147
|
+
type: import('vue').PropType<HTMLElement[]>;
|
148
|
+
default: () => never[];
|
149
|
+
};
|
144
150
|
}>> & {
|
145
151
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
146
152
|
onShow?: ((...args: any[]) => any) | undefined;
|
147
153
|
onShown?: ((...args: any[]) => any) | undefined;
|
148
154
|
onHidden?: ((...args: any[]) => any) | undefined;
|
149
|
-
}, "placement" | "color" | "background" | "zIndex" | "modelValue" | "node" | "scrollNode" | "border" | "borderColor" | "showTriangle" | "animation" | "useRange">;
|
155
|
+
}, "placement" | "color" | "background" | "zIndex" | "modelValue" | "node" | "scrollNode" | "border" | "borderColor" | "showTriangle" | "animation" | "useRange" | "insideElements">;
|
150
156
|
$attrs: {
|
151
157
|
[x: string]: unknown;
|
152
158
|
};
|
@@ -211,6 +217,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
211
217
|
type: BooleanConstructor;
|
212
218
|
default: boolean;
|
213
219
|
};
|
220
|
+
insideElements: {
|
221
|
+
type: import('vue').PropType<HTMLElement[]>;
|
222
|
+
default: () => never[];
|
223
|
+
};
|
214
224
|
}>> & {
|
215
225
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
216
226
|
onShow?: ((...args: any[]) => any) | undefined;
|
@@ -218,6 +228,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
218
228
|
onHidden?: ((...args: any[]) => any) | undefined;
|
219
229
|
}, {
|
220
230
|
setPosition: () => void;
|
231
|
+
elRef: import('vue').Ref<HTMLElement | null>;
|
221
232
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
222
233
|
"update:modelValue": (...args: any[]) => void;
|
223
234
|
show: (...args: any[]) => void;
|
@@ -236,6 +247,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
236
247
|
showTriangle: boolean;
|
237
248
|
animation: import('../layer/props').LayerAnimationType;
|
238
249
|
useRange: boolean;
|
250
|
+
insideElements: HTMLElement[];
|
239
251
|
}, {}, string, {}> & {
|
240
252
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
241
253
|
created?: ((() => void) | (() => void)[]) | undefined;
|
@@ -255,7 +267,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
255
267
|
};
|
256
268
|
$forceUpdate: () => void;
|
257
269
|
$nextTick: typeof import('vue').nextTick;
|
258
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R
|
270
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
259
271
|
} & Omit<Readonly<import('vue').ExtractPropTypes<{
|
260
272
|
modelValue: {
|
261
273
|
type: BooleanConstructor;
|
@@ -307,13 +319,18 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
307
319
|
type: BooleanConstructor;
|
308
320
|
default: boolean;
|
309
321
|
};
|
322
|
+
insideElements: {
|
323
|
+
type: import('vue').PropType<HTMLElement[]>;
|
324
|
+
default: () => never[];
|
325
|
+
};
|
310
326
|
}>> & {
|
311
327
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
312
328
|
onShow?: ((...args: any[]) => any) | undefined;
|
313
329
|
onShown?: ((...args: any[]) => any) | undefined;
|
314
330
|
onHidden?: ((...args: any[]) => any) | undefined;
|
315
|
-
}, "setPosition"> & import('vue').ShallowUnwrapRef<{
|
331
|
+
}, "setPosition" | "elRef"> & import('vue').ShallowUnwrapRef<{
|
316
332
|
setPosition: () => void;
|
333
|
+
elRef: import('vue').Ref<HTMLElement | null>;
|
317
334
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
318
335
|
$slots: {
|
319
336
|
default?(_: {}): any;
|
@@ -51,8 +51,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
51
51
|
type: BooleanConstructor;
|
52
52
|
default: boolean;
|
53
53
|
};
|
54
|
+
insideElements: {
|
55
|
+
type: import('vue').PropType<HTMLElement[]>;
|
56
|
+
default: () => never[];
|
57
|
+
};
|
54
58
|
}, {
|
55
59
|
setPosition: () => void;
|
60
|
+
elRef: import('vue').Ref<HTMLElement | null>;
|
56
61
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
57
62
|
"update:modelValue": (...args: any[]) => void;
|
58
63
|
show: (...args: any[]) => void;
|
@@ -109,6 +114,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
109
114
|
type: BooleanConstructor;
|
110
115
|
default: boolean;
|
111
116
|
};
|
117
|
+
insideElements: {
|
118
|
+
type: import('vue').PropType<HTMLElement[]>;
|
119
|
+
default: () => never[];
|
120
|
+
};
|
112
121
|
}>> & {
|
113
122
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
114
123
|
onShow?: ((...args: any[]) => any) | undefined;
|
@@ -127,6 +136,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
127
136
|
showTriangle: boolean;
|
128
137
|
animation: import('./props').LayerAnimationType;
|
129
138
|
useRange: boolean;
|
139
|
+
insideElements: HTMLElement[];
|
130
140
|
}, {}>, {
|
131
141
|
default?(_: {}): any;
|
132
142
|
}>;
|
@@ -53,5 +53,9 @@ export declare const LayerProps: {
|
|
53
53
|
type: BooleanConstructor;
|
54
54
|
default: boolean;
|
55
55
|
};
|
56
|
+
insideElements: {
|
57
|
+
type: PropType<HTMLElement[]>;
|
58
|
+
default: () => never[];
|
59
|
+
};
|
56
60
|
};
|
57
61
|
export type LayerPropsType = ExtractPublicPropTypes<typeof LayerProps>;
|
@@ -1,3 +1,5 @@
|
|
1
|
+
import { Ref } from 'vue';
|
2
|
+
|
1
3
|
declare const _default: import('vue').DefineComponent<{
|
2
4
|
modelValue: {
|
3
5
|
type: BooleanConstructor;
|
@@ -28,7 +30,287 @@ declare const _default: import('vue').DefineComponent<{
|
|
28
30
|
type: NumberConstructor;
|
29
31
|
default: number;
|
30
32
|
};
|
31
|
-
}, {
|
33
|
+
}, {
|
34
|
+
layerRef: Ref<({
|
35
|
+
$: import('vue').ComponentInternalInstance;
|
36
|
+
$data: {};
|
37
|
+
$props: Partial<{
|
38
|
+
placement: import('../layer/props').LayerPlacementType;
|
39
|
+
color: string;
|
40
|
+
background: string;
|
41
|
+
zIndex: number;
|
42
|
+
modelValue: boolean;
|
43
|
+
node: string | HTMLElement | null;
|
44
|
+
scrollNode: string | HTMLElement | null;
|
45
|
+
border: boolean;
|
46
|
+
borderColor: string;
|
47
|
+
showTriangle: boolean;
|
48
|
+
animation: import('../layer/props').LayerAnimationType;
|
49
|
+
useRange: boolean;
|
50
|
+
insideElements: HTMLElement[];
|
51
|
+
}> & Omit<{
|
52
|
+
readonly placement: import('../layer/props').LayerPlacementType;
|
53
|
+
readonly color: string;
|
54
|
+
readonly background: string;
|
55
|
+
readonly zIndex: number;
|
56
|
+
readonly modelValue: boolean;
|
57
|
+
readonly node: string | HTMLElement | null;
|
58
|
+
readonly scrollNode: string | HTMLElement | null;
|
59
|
+
readonly border: boolean;
|
60
|
+
readonly borderColor: string;
|
61
|
+
readonly showTriangle: boolean;
|
62
|
+
readonly animation: import('../layer/props').LayerAnimationType;
|
63
|
+
readonly useRange: boolean;
|
64
|
+
readonly insideElements: HTMLElement[];
|
65
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
66
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
67
|
+
onShown?: ((...args: any[]) => any) | undefined;
|
68
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
69
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
70
|
+
modelValue: {
|
71
|
+
type: BooleanConstructor;
|
72
|
+
default: boolean;
|
73
|
+
};
|
74
|
+
node: {
|
75
|
+
type: import('vue').PropType<string | HTMLElement | null>;
|
76
|
+
default: null;
|
77
|
+
};
|
78
|
+
scrollNode: {
|
79
|
+
type: import('vue').PropType<string | HTMLElement | null>;
|
80
|
+
default: null;
|
81
|
+
};
|
82
|
+
border: {
|
83
|
+
type: BooleanConstructor;
|
84
|
+
default: boolean;
|
85
|
+
};
|
86
|
+
borderColor: {
|
87
|
+
type: StringConstructor;
|
88
|
+
default: null;
|
89
|
+
};
|
90
|
+
background: {
|
91
|
+
type: StringConstructor;
|
92
|
+
default: null;
|
93
|
+
};
|
94
|
+
color: {
|
95
|
+
type: StringConstructor;
|
96
|
+
default: null;
|
97
|
+
};
|
98
|
+
placement: {
|
99
|
+
type: import('vue').PropType<import('../layer/props').LayerPlacementType>;
|
100
|
+
default: string;
|
101
|
+
validator(value: any): boolean;
|
102
|
+
};
|
103
|
+
showTriangle: {
|
104
|
+
type: BooleanConstructor;
|
105
|
+
default: boolean;
|
106
|
+
};
|
107
|
+
zIndex: {
|
108
|
+
type: NumberConstructor;
|
109
|
+
default: number;
|
110
|
+
};
|
111
|
+
animation: {
|
112
|
+
type: import('vue').PropType<import('../layer/props').LayerAnimationType>;
|
113
|
+
default: null;
|
114
|
+
validator(value: any): boolean;
|
115
|
+
};
|
116
|
+
useRange: {
|
117
|
+
type: BooleanConstructor;
|
118
|
+
default: boolean;
|
119
|
+
};
|
120
|
+
insideElements: {
|
121
|
+
type: import('vue').PropType<HTMLElement[]>;
|
122
|
+
default: () => never[];
|
123
|
+
};
|
124
|
+
}>> & {
|
125
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
126
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
127
|
+
onShown?: ((...args: any[]) => any) | undefined;
|
128
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
129
|
+
}, "placement" | "color" | "background" | "zIndex" | "modelValue" | "node" | "scrollNode" | "border" | "borderColor" | "showTriangle" | "animation" | "useRange" | "insideElements">;
|
130
|
+
$attrs: {
|
131
|
+
[x: string]: unknown;
|
132
|
+
};
|
133
|
+
$refs: {
|
134
|
+
[x: string]: unknown;
|
135
|
+
};
|
136
|
+
$slots: Readonly<{
|
137
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
138
|
+
}>;
|
139
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
140
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
141
|
+
$emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "show", ...args: any[]) => void) & ((event: "shown", ...args: any[]) => void) & ((event: "hidden", ...args: any[]) => void);
|
142
|
+
$el: any;
|
143
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
144
|
+
modelValue: {
|
145
|
+
type: BooleanConstructor;
|
146
|
+
default: boolean;
|
147
|
+
};
|
148
|
+
node: {
|
149
|
+
type: import('vue').PropType<string | HTMLElement | null>;
|
150
|
+
default: null;
|
151
|
+
};
|
152
|
+
scrollNode: {
|
153
|
+
type: import('vue').PropType<string | HTMLElement | null>;
|
154
|
+
default: null;
|
155
|
+
};
|
156
|
+
border: {
|
157
|
+
type: BooleanConstructor;
|
158
|
+
default: boolean;
|
159
|
+
};
|
160
|
+
borderColor: {
|
161
|
+
type: StringConstructor;
|
162
|
+
default: null;
|
163
|
+
};
|
164
|
+
background: {
|
165
|
+
type: StringConstructor;
|
166
|
+
default: null;
|
167
|
+
};
|
168
|
+
color: {
|
169
|
+
type: StringConstructor;
|
170
|
+
default: null;
|
171
|
+
};
|
172
|
+
placement: {
|
173
|
+
type: import('vue').PropType<import('../layer/props').LayerPlacementType>;
|
174
|
+
default: string;
|
175
|
+
validator(value: any): boolean;
|
176
|
+
};
|
177
|
+
showTriangle: {
|
178
|
+
type: BooleanConstructor;
|
179
|
+
default: boolean;
|
180
|
+
};
|
181
|
+
zIndex: {
|
182
|
+
type: NumberConstructor;
|
183
|
+
default: number;
|
184
|
+
};
|
185
|
+
animation: {
|
186
|
+
type: import('vue').PropType<import('../layer/props').LayerAnimationType>;
|
187
|
+
default: null;
|
188
|
+
validator(value: any): boolean;
|
189
|
+
};
|
190
|
+
useRange: {
|
191
|
+
type: BooleanConstructor;
|
192
|
+
default: boolean;
|
193
|
+
};
|
194
|
+
insideElements: {
|
195
|
+
type: import('vue').PropType<HTMLElement[]>;
|
196
|
+
default: () => never[];
|
197
|
+
};
|
198
|
+
}>> & {
|
199
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
200
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
201
|
+
onShown?: ((...args: any[]) => any) | undefined;
|
202
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
203
|
+
}, {
|
204
|
+
setPosition: () => void;
|
205
|
+
elRef: Ref<HTMLElement | null>;
|
206
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
207
|
+
"update:modelValue": (...args: any[]) => void;
|
208
|
+
show: (...args: any[]) => void;
|
209
|
+
shown: (...args: any[]) => void;
|
210
|
+
hidden: (...args: any[]) => void;
|
211
|
+
}, string, {
|
212
|
+
placement: import('../layer/props').LayerPlacementType;
|
213
|
+
color: string;
|
214
|
+
background: string;
|
215
|
+
zIndex: number;
|
216
|
+
modelValue: boolean;
|
217
|
+
node: string | HTMLElement | null;
|
218
|
+
scrollNode: string | HTMLElement | null;
|
219
|
+
border: boolean;
|
220
|
+
borderColor: string;
|
221
|
+
showTriangle: boolean;
|
222
|
+
animation: import('../layer/props').LayerAnimationType;
|
223
|
+
useRange: boolean;
|
224
|
+
insideElements: HTMLElement[];
|
225
|
+
}, {}, string, {}> & {
|
226
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
227
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
228
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
229
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
230
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
231
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
232
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
233
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
234
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
235
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
236
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
237
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
238
|
+
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
239
|
+
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
240
|
+
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
241
|
+
};
|
242
|
+
$forceUpdate: () => void;
|
243
|
+
$nextTick: typeof import('vue').nextTick;
|
244
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
245
|
+
} & Omit<Readonly<import('vue').ExtractPropTypes<{
|
246
|
+
modelValue: {
|
247
|
+
type: BooleanConstructor;
|
248
|
+
default: boolean;
|
249
|
+
};
|
250
|
+
node: {
|
251
|
+
type: import('vue').PropType<string | HTMLElement | null>;
|
252
|
+
default: null;
|
253
|
+
};
|
254
|
+
scrollNode: {
|
255
|
+
type: import('vue').PropType<string | HTMLElement | null>;
|
256
|
+
default: null;
|
257
|
+
};
|
258
|
+
border: {
|
259
|
+
type: BooleanConstructor;
|
260
|
+
default: boolean;
|
261
|
+
};
|
262
|
+
borderColor: {
|
263
|
+
type: StringConstructor;
|
264
|
+
default: null;
|
265
|
+
};
|
266
|
+
background: {
|
267
|
+
type: StringConstructor;
|
268
|
+
default: null;
|
269
|
+
};
|
270
|
+
color: {
|
271
|
+
type: StringConstructor;
|
272
|
+
default: null;
|
273
|
+
};
|
274
|
+
placement: {
|
275
|
+
type: import('vue').PropType<import('../layer/props').LayerPlacementType>;
|
276
|
+
default: string;
|
277
|
+
validator(value: any): boolean;
|
278
|
+
};
|
279
|
+
showTriangle: {
|
280
|
+
type: BooleanConstructor;
|
281
|
+
default: boolean;
|
282
|
+
};
|
283
|
+
zIndex: {
|
284
|
+
type: NumberConstructor;
|
285
|
+
default: number;
|
286
|
+
};
|
287
|
+
animation: {
|
288
|
+
type: import('vue').PropType<import('../layer/props').LayerAnimationType>;
|
289
|
+
default: null;
|
290
|
+
validator(value: any): boolean;
|
291
|
+
};
|
292
|
+
useRange: {
|
293
|
+
type: BooleanConstructor;
|
294
|
+
default: boolean;
|
295
|
+
};
|
296
|
+
insideElements: {
|
297
|
+
type: import('vue').PropType<HTMLElement[]>;
|
298
|
+
default: () => never[];
|
299
|
+
};
|
300
|
+
}>> & {
|
301
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
302
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
303
|
+
onShown?: ((...args: any[]) => any) | undefined;
|
304
|
+
onHidden?: ((...args: any[]) => any) | undefined;
|
305
|
+
}, "setPosition" | "elRef"> & import('vue').ShallowUnwrapRef<{
|
306
|
+
setPosition: () => void;
|
307
|
+
elRef: Ref<HTMLElement | null>;
|
308
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
309
|
+
$slots: {
|
310
|
+
default?(_: {}): any;
|
311
|
+
};
|
312
|
+
}) | null>;
|
313
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
32
314
|
"update:modelValue": (...args: any[]) => void;
|
33
315
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
34
316
|
modelValue: {
|
@@ -151,8 +151,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
151
151
|
key: number;
|
152
152
|
type: import('alex-editor').AlexElementType;
|
153
153
|
parsedom: string | null;
|
154
|
-
marks: import('alex-editor').ObjectType | null;
|
155
|
-
styles: import('alex-editor').ObjectType | null;
|
154
|
+
marks: import('alex-editor/lib/core/tool').ObjectType | null;
|
155
|
+
styles: import('alex-editor/lib/core/tool').ObjectType | null;
|
156
156
|
textContent: string | null;
|
157
157
|
children: any[] | null;
|
158
158
|
parent: any | null;
|
@@ -171,7 +171,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
171
171
|
getUneditableElement: () => AlexElement | null;
|
172
172
|
isEqual: (element: AlexElement) => boolean;
|
173
173
|
isContains: (element: AlexElement) => boolean;
|
174
|
-
isOnlyHasBreak: () => boolean
|
174
|
+
isOnlyHasBreak: () => boolean;
|
175
175
|
isPreStyle: () => boolean;
|
176
176
|
hasMarks: () => boolean;
|
177
177
|
hasStyles: () => boolean;
|
@@ -196,8 +196,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
196
196
|
key: number;
|
197
197
|
type: import('alex-editor').AlexElementType;
|
198
198
|
parsedom: string | null;
|
199
|
-
marks: import('alex-editor').ObjectType | null;
|
200
|
-
styles: import('alex-editor').ObjectType | null;
|
199
|
+
marks: import('alex-editor/lib/core/tool').ObjectType | null;
|
200
|
+
styles: import('alex-editor/lib/core/tool').ObjectType | null;
|
201
201
|
textContent: string | null;
|
202
202
|
children: any[] | null;
|
203
203
|
parent: any | null;
|
@@ -216,7 +216,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
216
216
|
getUneditableElement: () => AlexElement | null;
|
217
217
|
isEqual: (element: AlexElement) => boolean;
|
218
218
|
isContains: (element: AlexElement) => boolean;
|
219
|
-
isOnlyHasBreak: () => boolean
|
219
|
+
isOnlyHasBreak: () => boolean;
|
220
220
|
isPreStyle: () => boolean;
|
221
221
|
hasMarks: () => boolean;
|
222
222
|
hasStyles: () => boolean;
|
@@ -245,8 +245,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
245
245
|
key: number;
|
246
246
|
type: import('alex-editor').AlexElementType;
|
247
247
|
parsedom: string | null;
|
248
|
-
marks: import('alex-editor').ObjectType | null;
|
249
|
-
styles: import('alex-editor').ObjectType | null;
|
248
|
+
marks: import('alex-editor/lib/core/tool').ObjectType | null;
|
249
|
+
styles: import('alex-editor/lib/core/tool').ObjectType | null;
|
250
250
|
textContent: string | null;
|
251
251
|
children: any[] | null;
|
252
252
|
parent: any | null;
|
@@ -265,7 +265,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
265
265
|
getUneditableElement: () => AlexElement | null;
|
266
266
|
isEqual: (element: AlexElement) => boolean;
|
267
267
|
isContains: (element: AlexElement) => boolean;
|
268
|
-
isOnlyHasBreak: () => boolean
|
268
|
+
isOnlyHasBreak: () => boolean;
|
269
269
|
isPreStyle: () => boolean;
|
270
270
|
hasMarks: () => boolean;
|
271
271
|
hasStyles: () => boolean;
|
@@ -301,8 +301,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
301
301
|
key: number;
|
302
302
|
type: import('alex-editor').AlexElementType;
|
303
303
|
parsedom: string | null;
|
304
|
-
marks: import('alex-editor').ObjectType | null;
|
305
|
-
styles: import('alex-editor').ObjectType | null;
|
304
|
+
marks: import('alex-editor/lib/core/tool').ObjectType | null;
|
305
|
+
styles: import('alex-editor/lib/core/tool').ObjectType | null;
|
306
306
|
textContent: string | null;
|
307
307
|
children: any[] | null;
|
308
308
|
parent: any | null;
|
@@ -321,7 +321,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
321
321
|
getUneditableElement: () => AlexElement | null;
|
322
322
|
isEqual: (element: AlexElement) => boolean;
|
323
323
|
isContains: (element: AlexElement) => boolean;
|
324
|
-
isOnlyHasBreak: () => boolean
|
324
|
+
isOnlyHasBreak: () => boolean;
|
325
325
|
isPreStyle: () => boolean;
|
326
326
|
hasMarks: () => boolean;
|
327
327
|
hasStyles: () => boolean;
|
@@ -346,8 +346,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
346
346
|
key: number;
|
347
347
|
type: import('alex-editor').AlexElementType;
|
348
348
|
parsedom: string | null;
|
349
|
-
marks: import('alex-editor').ObjectType | null;
|
350
|
-
styles: import('alex-editor').ObjectType | null;
|
349
|
+
marks: import('alex-editor/lib/core/tool').ObjectType | null;
|
350
|
+
styles: import('alex-editor/lib/core/tool').ObjectType | null;
|
351
351
|
textContent: string | null;
|
352
352
|
children: any[] | null;
|
353
353
|
parent: any | null;
|
@@ -366,7 +366,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
366
366
|
getUneditableElement: () => AlexElement | null;
|
367
367
|
isEqual: (element: AlexElement) => boolean;
|
368
368
|
isContains: (element: AlexElement) => boolean;
|
369
|
-
isOnlyHasBreak: () => boolean
|
369
|
+
isOnlyHasBreak: () => boolean;
|
370
370
|
isPreStyle: () => boolean;
|
371
371
|
hasMarks: () => boolean;
|
372
372
|
hasStyles: () => boolean;
|
@@ -395,8 +395,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
395
395
|
key: number;
|
396
396
|
type: import('alex-editor').AlexElementType;
|
397
397
|
parsedom: string | null;
|
398
|
-
marks: import('alex-editor').ObjectType | null;
|
399
|
-
styles: import('alex-editor').ObjectType | null;
|
398
|
+
marks: import('alex-editor/lib/core/tool').ObjectType | null;
|
399
|
+
styles: import('alex-editor/lib/core/tool').ObjectType | null;
|
400
400
|
textContent: string | null;
|
401
401
|
children: any[] | null;
|
402
402
|
parent: any | null;
|
@@ -415,7 +415,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
415
415
|
getUneditableElement: () => AlexElement | null;
|
416
416
|
isEqual: (element: AlexElement) => boolean;
|
417
417
|
isContains: (element: AlexElement) => boolean;
|
418
|
-
isOnlyHasBreak: () => boolean
|
418
|
+
isOnlyHasBreak: () => boolean;
|
419
419
|
isPreStyle: () => boolean;
|
420
420
|
hasMarks: () => boolean;
|
421
421
|
hasStyles: () => boolean;
|
@@ -441,50 +441,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
441
441
|
};
|
442
442
|
} | null;
|
443
443
|
__guid: number;
|
444
|
-
__events: import('alex-editor').ObjectType;
|
445
|
-
|
446
|
-
key: number;
|
447
|
-
type: import('alex-editor').AlexElementType;
|
448
|
-
parsedom: string | null;
|
449
|
-
marks: import('alex-editor').ObjectType | null;
|
450
|
-
styles: import('alex-editor').ObjectType | null;
|
451
|
-
textContent: string | null;
|
452
|
-
children: any[] | null;
|
453
|
-
parent: any | null;
|
454
|
-
behavior: "default" | "block";
|
455
|
-
namespace: string | null;
|
456
|
-
locked: boolean;
|
457
|
-
elm: HTMLElement | null;
|
458
|
-
isBlock: () => boolean;
|
459
|
-
isInblock: () => boolean;
|
460
|
-
isInline: () => boolean;
|
461
|
-
isClosed: () => boolean;
|
462
|
-
isText: () => boolean;
|
463
|
-
isBreak: () => boolean;
|
464
|
-
isEmpty: () => boolean;
|
465
|
-
isSpaceText: () => boolean;
|
466
|
-
getUneditableElement: () => AlexElement | null;
|
467
|
-
isEqual: (element: AlexElement) => boolean;
|
468
|
-
isContains: (element: AlexElement) => boolean;
|
469
|
-
isOnlyHasBreak: () => boolean | 0;
|
470
|
-
isPreStyle: () => boolean;
|
471
|
-
hasMarks: () => boolean;
|
472
|
-
hasStyles: () => boolean;
|
473
|
-
hasChildren: () => boolean;
|
474
|
-
hasContains: (element: AlexElement) => boolean;
|
475
|
-
clone: (deep?: boolean | undefined) => AlexElement;
|
476
|
-
convertToBlock: () => void;
|
477
|
-
toEmpty: () => void;
|
478
|
-
getBlock: () => AlexElement;
|
479
|
-
getInblock: () => AlexElement | null;
|
480
|
-
getInline: () => AlexElement | null;
|
481
|
-
isEqualStyles: (element: AlexElement) => boolean;
|
482
|
-
isEqualMarks: (element: AlexElement) => boolean;
|
483
|
-
isFirst: (element: AlexElement) => boolean;
|
484
|
-
isLast: (element: AlexElement) => boolean;
|
485
|
-
__render: () => void;
|
486
|
-
__fullClone: () => AlexElement;
|
487
|
-
}[];
|
444
|
+
__events: import('alex-editor/lib/core/tool').ObjectType;
|
445
|
+
__firstRender: boolean;
|
488
446
|
__isInputChinese: boolean;
|
489
447
|
__innerSelectionChange: boolean;
|
490
448
|
__chineseInputTimer: any;
|
@@ -525,8 +483,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
525
483
|
key: number;
|
526
484
|
type: import('alex-editor').AlexElementType;
|
527
485
|
parsedom: string | null;
|
528
|
-
marks: import('alex-editor').ObjectType | null;
|
529
|
-
styles: import('alex-editor').ObjectType | null;
|
486
|
+
marks: import('alex-editor/lib/core/tool').ObjectType | null;
|
487
|
+
styles: import('alex-editor/lib/core/tool').ObjectType | null;
|
530
488
|
textContent: string | null;
|
531
489
|
children: any[] | null;
|
532
490
|
parent: any | null;
|
@@ -545,7 +503,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
545
503
|
getUneditableElement: () => AlexElement | null;
|
546
504
|
isEqual: (element: AlexElement) => boolean;
|
547
505
|
isContains: (element: AlexElement) => boolean;
|
548
|
-
isOnlyHasBreak: () => boolean
|
506
|
+
isOnlyHasBreak: () => boolean;
|
549
507
|
isPreStyle: () => boolean;
|
550
508
|
hasMarks: () => boolean;
|
551
509
|
hasStyles: () => boolean;
|
@@ -571,8 +529,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
571
529
|
key: number;
|
572
530
|
type: import('alex-editor').AlexElementType;
|
573
531
|
parsedom: string | null;
|
574
|
-
marks: import('alex-editor').ObjectType | null;
|
575
|
-
styles: import('alex-editor').ObjectType | null;
|
532
|
+
marks: import('alex-editor/lib/core/tool').ObjectType | null;
|
533
|
+
styles: import('alex-editor/lib/core/tool').ObjectType | null;
|
576
534
|
textContent: string | null;
|
577
535
|
children: any[] | null;
|
578
536
|
parent: any | null;
|
@@ -591,7 +549,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
591
549
|
getUneditableElement: () => AlexElement | null;
|
592
550
|
isEqual: (element: AlexElement) => boolean;
|
593
551
|
isContains: (element: AlexElement) => boolean;
|
594
|
-
isOnlyHasBreak: () => boolean
|
552
|
+
isOnlyHasBreak: () => boolean;
|
595
553
|
isPreStyle: () => boolean;
|
596
554
|
hasMarks: () => boolean;
|
597
555
|
hasStyles: () => boolean;
|