vue-editify 0.2.27 → 0.2.29
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/examples/App.vue +4 -1
- package/lib/components/button/button.vue.d.ts +216 -28
- package/lib/components/checkbox/checkbox.vue.d.ts +5 -5
- package/lib/components/colors/colors.vue.d.ts +5 -5
- package/lib/components/icon/icon.vue.d.ts +4 -4
- package/lib/components/insertAttachment/insertAttachment.vue.d.ts +6 -6
- package/lib/components/insertImage/insertImage.vue.d.ts +6 -6
- package/lib/components/insertLink/insertLink.vue.d.ts +5 -5
- package/lib/components/insertMathformula/insertMathformula.vue.d.ts +5 -5
- package/lib/components/insertTable/insertTable.vue.d.ts +5 -5
- package/lib/components/insertVideo/insertVideo.vue.d.ts +6 -6
- package/lib/components/layer/layer.vue.d.ts +8 -8
- package/lib/components/tooltip/tooltip.vue.d.ts +4 -4
- package/lib/components/triangle/triangle.vue.d.ts +4 -4
- package/lib/components/updateLink/updateLink.vue.d.ts +5 -5
- package/lib/editify/editify.vue.d.ts +648 -13
- package/lib/editify/menu/menu.vue.d.ts +8 -6
- package/lib/editify/toolbar/toolbar.vue.d.ts +214 -26
- package/lib/editify.es.js +41 -36
- package/lib/editify.umd.js +2 -2
- package/lib/index.d.ts +648 -13
- package/package.json +2 -2
- package/src/editify/editify.less +0 -2
- package/src/editify/editify.vue +21 -9
- package/src/editify/menu/menu.vue +71 -66
- package/src/feature/table.ts +11 -2
- package/src/index.ts +8 -61
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
2
|
color: {
|
3
3
|
type: StringConstructor;
|
4
4
|
default: string;
|
@@ -27,7 +27,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
27
27
|
type: import('vue').PropType<(error: import('./props').InsertVideoUploadErrorType, file: File) => void>;
|
28
28
|
default: null;
|
29
29
|
};
|
30
|
-
}
|
30
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
31
31
|
insert: (...args: any[]) => void;
|
32
32
|
change: (...args: any[]) => void;
|
33
33
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
@@ -59,10 +59,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
59
59
|
type: import('vue').PropType<(error: import('./props').InsertVideoUploadErrorType, file: File) => void>;
|
60
60
|
default: null;
|
61
61
|
};
|
62
|
-
}>> & {
|
63
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
62
|
+
}>> & Readonly<{
|
64
63
|
onInsert?: ((...args: any[]) => any) | undefined;
|
65
|
-
|
64
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
65
|
+
}>, {
|
66
66
|
color: string;
|
67
67
|
allowedFileType: string[];
|
68
68
|
multiple: boolean;
|
@@ -70,5 +70,5 @@ declare const _default: import('vue').DefineComponent<{
|
|
70
70
|
minSize: number;
|
71
71
|
customUpload: ((files: File[]) => string[]) | ((files: File[]) => Promise<string[]>);
|
72
72
|
handleError: (error: import('./props').InsertVideoUploadErrorType, file: File) => void;
|
73
|
-
}, {}>;
|
73
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
74
74
|
export default _default;
|
@@ -3,7 +3,7 @@ import { LayerPlacementType } from './props';
|
|
3
3
|
declare function __VLS_template(): {
|
4
4
|
default?(_: {}): any;
|
5
5
|
};
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
7
7
|
modelValue: {
|
8
8
|
type: BooleanConstructor;
|
9
9
|
default: boolean;
|
@@ -58,10 +58,10 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
58
58
|
type: import('vue').PropType<HTMLElement[]>;
|
59
59
|
default: () => never[];
|
60
60
|
};
|
61
|
-
}
|
61
|
+
}>, {
|
62
62
|
setPosition: () => void;
|
63
|
-
elRef: import('vue').Ref<HTMLElement | null>;
|
64
|
-
},
|
63
|
+
elRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
64
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
65
65
|
hidden: (...args: any[]) => void;
|
66
66
|
"update:modelValue": (...args: any[]) => void;
|
67
67
|
show: (...args: any[]) => void;
|
@@ -121,14 +121,15 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
121
121
|
type: import('vue').PropType<HTMLElement[]>;
|
122
122
|
default: () => never[];
|
123
123
|
};
|
124
|
-
}>> & {
|
124
|
+
}>> & Readonly<{
|
125
125
|
onHidden?: ((...args: any[]) => any) | undefined;
|
126
126
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
127
127
|
onShow?: ((...args: any[]) => any) | undefined;
|
128
128
|
onShown?: ((...args: any[]) => any) | undefined;
|
129
|
-
}
|
129
|
+
}>, {
|
130
130
|
color: string;
|
131
131
|
zIndex: number;
|
132
|
+
animation: import('./props').LayerAnimationType;
|
132
133
|
modelValue: boolean;
|
133
134
|
node: string | HTMLElement | null;
|
134
135
|
scrollNode: string | HTMLElement | null;
|
@@ -137,10 +138,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
137
138
|
background: string;
|
138
139
|
placement: LayerPlacementType;
|
139
140
|
showTriangle: boolean;
|
140
|
-
animation: import('./props').LayerAnimationType;
|
141
141
|
useRange: boolean;
|
142
142
|
insideElements: HTMLElement[];
|
143
|
-
}, {}>;
|
143
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
144
144
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
145
145
|
export default _default;
|
146
146
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
declare function __VLS_template(): {
|
2
2
|
default?(_: {}): any;
|
3
3
|
};
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
5
5
|
content: {
|
6
6
|
type: StringConstructor;
|
7
7
|
default: string;
|
@@ -18,7 +18,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
18
18
|
type: NumberConstructor;
|
19
19
|
default: number;
|
20
20
|
};
|
21
|
-
}
|
21
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
22
22
|
content: {
|
23
23
|
type: StringConstructor;
|
24
24
|
default: string;
|
@@ -35,12 +35,12 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
35
35
|
type: NumberConstructor;
|
36
36
|
default: number;
|
37
37
|
};
|
38
|
-
}
|
38
|
+
}>> & Readonly<{}>, {
|
39
39
|
disabled: boolean;
|
40
40
|
zIndex: number;
|
41
41
|
block: boolean;
|
42
42
|
content: string;
|
43
|
-
}, {}>;
|
43
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
44
44
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
45
45
|
export default _default;
|
46
46
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
2
|
placement: {
|
3
3
|
type: import('vue').PropType<import('./props').TrianglePlacementType>;
|
4
4
|
default: string;
|
@@ -12,7 +12,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
12
12
|
type: StringConstructor;
|
13
13
|
default: null;
|
14
14
|
};
|
15
|
-
}
|
15
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
16
16
|
placement: {
|
17
17
|
type: import('vue').PropType<import('./props').TrianglePlacementType>;
|
18
18
|
default: string;
|
@@ -26,9 +26,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
26
26
|
type: StringConstructor;
|
27
27
|
default: null;
|
28
28
|
};
|
29
|
-
}
|
29
|
+
}>> & Readonly<{}>, {
|
30
30
|
color: string;
|
31
31
|
background: string;
|
32
32
|
placement: import('./props').TrianglePlacementType;
|
33
|
-
}, {}>;
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
34
34
|
export default _default;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
2
|
color: {
|
3
3
|
type: StringConstructor;
|
4
4
|
default: string;
|
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
11
11
|
type: BooleanConstructor;
|
12
12
|
default: boolean;
|
13
13
|
};
|
14
|
-
}
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
15
15
|
remove: (...args: any[]) => void;
|
16
16
|
modify: (...args: any[]) => void;
|
17
17
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
@@ -27,12 +27,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
27
27
|
type: BooleanConstructor;
|
28
28
|
default: boolean;
|
29
29
|
};
|
30
|
-
}>> & {
|
30
|
+
}>> & Readonly<{
|
31
31
|
onRemove?: ((...args: any[]) => any) | undefined;
|
32
32
|
onModify?: ((...args: any[]) => any) | undefined;
|
33
|
-
}
|
33
|
+
}>, {
|
34
34
|
color: string;
|
35
35
|
presetUrl: string;
|
36
36
|
presetNewOpen: boolean;
|
37
|
-
}, {}>;
|
37
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
38
38
|
export default _default;
|