vue-editify 0.2.12 → 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 +1 -1
- package/lib/components/toolbar/toolbar.vue.d.ts +1 -1
- package/lib/editify/editify.vue.d.ts +26 -68
- package/lib/editify.es.js +72 -46
- package/lib/editify.umd.js +2 -2
- package/lib/index.d.ts +28 -70
- package/package.json +1 -1
- package/src/editify/editify.vue +1 -1
- package/src/index.ts +2 -2
@@ -267,7 +267,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
267
267
|
};
|
268
268
|
$forceUpdate: () => void;
|
269
269
|
$nextTick: typeof import('vue').nextTick;
|
270
|
-
$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;
|
271
271
|
} & Omit<Readonly<import('vue').ExtractPropTypes<{
|
272
272
|
modelValue: {
|
273
273
|
type: BooleanConstructor;
|
@@ -241,7 +241,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
241
241
|
};
|
242
242
|
$forceUpdate: () => void;
|
243
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
|
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
245
|
} & Omit<Readonly<import('vue').ExtractPropTypes<{
|
246
246
|
modelValue: {
|
247
247
|
type: BooleanConstructor;
|
@@ -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;
|