next-element-vue 0.2.9 → 0.3.0
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/dist/index.js +77 -35
- package/dist/index.min.js +3 -3
- package/dist/index.umd.js +76 -35
- package/dist/index.umd.min.js +3 -3
- package/dist/packages/components/crud-table/src/config.d.ts +1 -0
- package/dist/packages/components/form/src/config.d.ts +2 -0
- package/dist/packages/components/form/src/widgets/upload-image.d.ts +20 -1
- package/dist/packages/components/labelimg/index.d.ts +3 -3
- package/dist/packages/components/spin-loading/index.d.ts +1 -0
- package/dist/packages/hooks/use-locale/index.d.ts +3 -0
- package/dist/packages/locale/lang/en.d.ts +1 -0
- package/dist/packages/locale/lang/zh-cn.d.ts +1 -0
- package/dist/packages/locale/lang/zh-tw.d.ts +1 -0
- package/package.json +1 -1
|
@@ -26,6 +26,7 @@ export interface FormItemProps {
|
|
|
26
26
|
loadDicData?: Function;
|
|
27
27
|
hide?: boolean;
|
|
28
28
|
multiple?: boolean;
|
|
29
|
+
limit?: number;
|
|
29
30
|
editable?: boolean;
|
|
30
31
|
rules?: any;
|
|
31
32
|
disabledDate?: Function;
|
|
@@ -33,6 +34,7 @@ export interface FormItemProps {
|
|
|
33
34
|
divider?: any;
|
|
34
35
|
remark?: string;
|
|
35
36
|
onChange?: Function;
|
|
37
|
+
onExceed?: Function;
|
|
36
38
|
tableSelect?: any;
|
|
37
39
|
tableSelectRows?: any[];
|
|
38
40
|
tableSelectProps?: {
|
|
@@ -21,6 +21,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
values: string[];
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
|
+
multiple: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
limit: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
24
32
|
accept: {
|
|
25
33
|
type: StringConstructor;
|
|
26
34
|
default: string;
|
|
@@ -39,7 +47,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
47
|
status?: import("element-plus").UploadStatus;
|
|
40
48
|
uid?: number;
|
|
41
49
|
}[]>;
|
|
42
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "exceed")[], "change" | "exceed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
51
|
className: {
|
|
44
52
|
type: StringConstructor;
|
|
45
53
|
default: string;
|
|
@@ -61,18 +69,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
69
|
values: string[];
|
|
62
70
|
default: string;
|
|
63
71
|
};
|
|
72
|
+
multiple: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
limit: {
|
|
77
|
+
type: NumberConstructor;
|
|
78
|
+
default: number;
|
|
79
|
+
};
|
|
64
80
|
accept: {
|
|
65
81
|
type: StringConstructor;
|
|
66
82
|
default: string;
|
|
67
83
|
};
|
|
68
84
|
}>> & {
|
|
69
85
|
onChange?: (...args: any[]) => any;
|
|
86
|
+
onExceed?: (...args: any[]) => any;
|
|
70
87
|
}, {
|
|
71
88
|
className: string;
|
|
72
89
|
style: CSSProperties;
|
|
73
90
|
modelValue: string;
|
|
74
91
|
disabled: boolean;
|
|
75
92
|
listType: string;
|
|
93
|
+
multiple: boolean;
|
|
94
|
+
limit: number;
|
|
76
95
|
accept: string;
|
|
77
96
|
}, {}>;
|
|
78
97
|
export default _default;
|
|
@@ -23,7 +23,7 @@ export declare const NextLabelimg: import("../../utils/install").SFCWithInstall<
|
|
|
23
23
|
default: () => any[];
|
|
24
24
|
};
|
|
25
25
|
data: {
|
|
26
|
-
type: import("vue").PropType<
|
|
26
|
+
type: import("vue").PropType<any[]>;
|
|
27
27
|
default: () => any[];
|
|
28
28
|
};
|
|
29
29
|
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "save" | "prev-click" | "next-click")[], "change" | "save" | "prev-click" | "next-click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -50,7 +50,7 @@ export declare const NextLabelimg: import("../../utils/install").SFCWithInstall<
|
|
|
50
50
|
default: () => any[];
|
|
51
51
|
};
|
|
52
52
|
data: {
|
|
53
|
-
type: import("vue").PropType<
|
|
53
|
+
type: import("vue").PropType<any[]>;
|
|
54
54
|
default: () => any[];
|
|
55
55
|
};
|
|
56
56
|
}>> & {
|
|
@@ -64,7 +64,7 @@ export declare const NextLabelimg: import("../../utils/install").SFCWithInstall<
|
|
|
64
64
|
rowKey: string;
|
|
65
65
|
options: Record<string, any>;
|
|
66
66
|
classes: unknown[];
|
|
67
|
-
data:
|
|
67
|
+
data: any[];
|
|
68
68
|
}, {}>> & Record<string, any>;
|
|
69
69
|
export declare const NextLabelimgPreview: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<{
|
|
70
70
|
className: {
|
|
@@ -18,6 +18,7 @@ export declare const NextSpinLoading: import("../../utils/install").SFCWithInsta
|
|
|
18
18
|
};
|
|
19
19
|
}, {
|
|
20
20
|
t: import("../..").Translator;
|
|
21
|
+
elementInstance: import("vue").Ref<HTMLElement>;
|
|
21
22
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
23
|
className: {
|
|
23
24
|
type: StringConstructor;
|
|
@@ -37,6 +37,7 @@ export declare const localeLang: {
|
|
|
37
37
|
confirmButtonText: string;
|
|
38
38
|
cancelButtonText: string;
|
|
39
39
|
};
|
|
40
|
+
uploadfileExceed: string;
|
|
40
41
|
};
|
|
41
42
|
form: {
|
|
42
43
|
input: string;
|
|
@@ -72,6 +73,8 @@ export declare const localeLang: {
|
|
|
72
73
|
};
|
|
73
74
|
labelimg: {
|
|
74
75
|
saveTxt: string;
|
|
76
|
+
emptyLabelText: string;
|
|
77
|
+
confirmDeleteLabel: string;
|
|
75
78
|
};
|
|
76
79
|
};
|
|
77
80
|
};
|