vue-editify 0.2.1 → 0.2.2
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/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 +1 -1
- package/lib/editify.umd.js +1 -1
- 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/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 {
|
package/lib/editify.es.js
CHANGED
@@ -42556,7 +42556,7 @@ const Editify = withInstall(editify);
|
|
42556
42556
|
const install = (app) => {
|
42557
42557
|
app.component(Editify.name, Editify);
|
42558
42558
|
};
|
42559
|
-
const version = "0.2.
|
42559
|
+
const version = "0.2.2";
|
42560
42560
|
console.log(`%c vue-editify %c v${version} `, "padding: 2px 1px; border-radius: 3px 0 0 3px; color: #fff; background: #606060; font-weight: bold;", "padding: 2px 1px; border-radius: 0 3px 3px 0; color: #fff; background: #42c02e; font-weight: bold;");
|
42561
42561
|
export {
|
42562
42562
|
AlexElement,
|