vue-editify 0.2.1 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/insertImage/insertImage.vue.d.ts +3 -3
- package/lib/components/insertImage/props.d.ts +1 -1
- package/lib/components/insertVideo/insertVideo.vue.d.ts +3 -3
- package/lib/components/insertVideo/props.d.ts +1 -1
- package/lib/core/tool.d.ts +2 -2
- package/lib/editify.es.js +2 -2
- package/lib/editify.umd.js +2 -2
- package/lib/index.d.ts +1 -1
- package/lib/plugins/attachment/index.d.ts +1 -1
- package/lib/plugins/attachment/insertAttachment/insertAttachment.vue.d.ts +3 -3
- package/lib/plugins/attachment/insertAttachment/props.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/colors/colors.less +1 -1
- package/src/components/insertImage/props.ts +1 -1
- package/src/components/insertVideo/props.ts +1 -1
- package/src/core/tool.ts +2 -2
- package/src/index.ts +1 -1
- package/src/plugins/attachment/index.ts +1 -1
- package/src/plugins/attachment/insertAttachment/props.ts +1 -1
@@ -20,7 +20,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
20
20
|
default: null;
|
21
21
|
};
|
22
22
|
customUpload: {
|
23
|
-
type: import('vue').PropType<(files: File[]) => string[] | Promise<string[]
|
23
|
+
type: import('vue').PropType<((files: File[]) => string[]) | ((files: File[]) => Promise<string[]>)>;
|
24
24
|
default: null;
|
25
25
|
};
|
26
26
|
handleError: {
|
@@ -52,7 +52,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
52
52
|
default: null;
|
53
53
|
};
|
54
54
|
customUpload: {
|
55
|
-
type: import('vue').PropType<(files: File[]) => string[] | Promise<string[]
|
55
|
+
type: import('vue').PropType<((files: File[]) => string[]) | ((files: File[]) => Promise<string[]>)>;
|
56
56
|
default: null;
|
57
57
|
};
|
58
58
|
handleError: {
|
@@ -68,7 +68,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
68
68
|
multiple: boolean;
|
69
69
|
maxSize: number;
|
70
70
|
minSize: number;
|
71
|
-
customUpload: (files: File[]) => string[] | Promise<string[]
|
71
|
+
customUpload: ((files: File[]) => string[]) | ((files: File[]) => Promise<string[]>);
|
72
72
|
handleError: (error: import('./props').InsertImageUploadErrorType, file: File) => void;
|
73
73
|
}, {}>;
|
74
74
|
export default _default;
|
@@ -23,7 +23,7 @@ export declare const InsertImageProps: {
|
|
23
23
|
default: null;
|
24
24
|
};
|
25
25
|
customUpload: {
|
26
|
-
type: PropType<(files: File[]) => string[] | Promise<string[]
|
26
|
+
type: PropType<((files: File[]) => string[]) | ((files: File[]) => Promise<string[]>)>;
|
27
27
|
default: null;
|
28
28
|
};
|
29
29
|
handleError: {
|
@@ -20,7 +20,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
20
20
|
default: null;
|
21
21
|
};
|
22
22
|
customUpload: {
|
23
|
-
type: import('vue').PropType<(files: File[]) => string[] | Promise<string[]
|
23
|
+
type: import('vue').PropType<((files: File[]) => string[]) | ((files: File[]) => Promise<string[]>)>;
|
24
24
|
default: null;
|
25
25
|
};
|
26
26
|
handleError: {
|
@@ -52,7 +52,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
52
52
|
default: null;
|
53
53
|
};
|
54
54
|
customUpload: {
|
55
|
-
type: import('vue').PropType<(files: File[]) => string[] | Promise<string[]
|
55
|
+
type: import('vue').PropType<((files: File[]) => string[]) | ((files: File[]) => Promise<string[]>)>;
|
56
56
|
default: null;
|
57
57
|
};
|
58
58
|
handleError: {
|
@@ -68,7 +68,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
68
68
|
multiple: boolean;
|
69
69
|
maxSize: number;
|
70
70
|
minSize: number;
|
71
|
-
customUpload: (files: File[]) => string[] | Promise<string[]
|
71
|
+
customUpload: ((files: File[]) => string[]) | ((files: File[]) => Promise<string[]>);
|
72
72
|
handleError: (error: import('./props').InsertVideoUploadErrorType, file: File) => void;
|
73
73
|
}, {}>;
|
74
74
|
export default _default;
|
@@ -23,7 +23,7 @@ export declare const InsertVideoProps: {
|
|
23
23
|
default: null;
|
24
24
|
};
|
25
25
|
customUpload: {
|
26
|
-
type: PropType<(files: File[]) => string[] | Promise<string[]
|
26
|
+
type: PropType<((files: File[]) => string[]) | ((files: File[]) => Promise<string[]>)>;
|
27
27
|
default: null;
|
28
28
|
};
|
29
29
|
handleError: {
|
package/lib/core/tool.d.ts
CHANGED
@@ -36,7 +36,7 @@ export interface MenuImageButtonType extends MenuButtonType {
|
|
36
36
|
multiple?: boolean;
|
37
37
|
maxSize?: number | null;
|
38
38
|
minSize?: number | null;
|
39
|
-
customUpload?: ((
|
39
|
+
customUpload?: ((files: File[]) => string[]) | ((files: File[]) => Promise<string[]>) | null;
|
40
40
|
handleError?: ((error: InsertImageUploadErrorType, file: File) => void) | null;
|
41
41
|
}
|
42
42
|
export interface MenuVideoButtonType extends MenuButtonType {
|
@@ -44,7 +44,7 @@ export interface MenuVideoButtonType extends MenuButtonType {
|
|
44
44
|
multiple?: boolean;
|
45
45
|
maxSize?: number | null;
|
46
46
|
minSize?: number | null;
|
47
|
-
customUpload?: ((
|
47
|
+
customUpload?: ((files: File[]) => string[]) | ((files: File[]) => Promise<string[]>) | null;
|
48
48
|
handleError?: ((error: InsertImageUploadErrorType, file: File) => void) | null;
|
49
49
|
}
|
50
50
|
export interface MenuTableButtonType extends MenuButtonType {
|