next-element-vue 0.2.9 → 0.3.1
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.css +3 -3
- package/dist/index.js +309 -108
- package/dist/index.min.js +3 -3
- package/dist/index.umd.js +304 -106
- 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 +5 -9
- package/dist/packages/components/labelimg/src/config.d.ts +1 -1
- package/dist/packages/components/labelimg/src/index.d.ts +2 -6
- package/dist/packages/components/labelimg/src/widgets/right-label.d.ts +6 -0
- package/dist/packages/components/labelimg/src/widgets/tool-header.d.ts +17 -0
- package/dist/packages/components/layout/src/config.d.ts +2 -0
- package/dist/packages/components/spin-loading/index.d.ts +1 -0
- package/dist/packages/hooks/use-locale/index.d.ts +5 -0
- package/dist/packages/locale/lang/en.d.ts +4 -0
- package/dist/packages/locale/lang/zh-cn.d.ts +4 -0
- package/dist/packages/locale/lang/zh-tw.d.ts +4 -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;
|
|
@@ -6,9 +6,7 @@ export declare const NextLabelimg: import("../../utils/install").SFCWithInstall<
|
|
|
6
6
|
};
|
|
7
7
|
style: {
|
|
8
8
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
9
|
-
default: () => {
|
|
10
|
-
position: string;
|
|
11
|
-
};
|
|
9
|
+
default: () => {};
|
|
12
10
|
};
|
|
13
11
|
rowKey: {
|
|
14
12
|
type: StringConstructor;
|
|
@@ -23,7 +21,7 @@ export declare const NextLabelimg: import("../../utils/install").SFCWithInstall<
|
|
|
23
21
|
default: () => any[];
|
|
24
22
|
};
|
|
25
23
|
data: {
|
|
26
|
-
type: import("vue").PropType<
|
|
24
|
+
type: import("vue").PropType<any[]>;
|
|
27
25
|
default: () => any[];
|
|
28
26
|
};
|
|
29
27
|
}, () => 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<{
|
|
@@ -33,9 +31,7 @@ export declare const NextLabelimg: import("../../utils/install").SFCWithInstall<
|
|
|
33
31
|
};
|
|
34
32
|
style: {
|
|
35
33
|
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
36
|
-
default: () => {
|
|
37
|
-
position: string;
|
|
38
|
-
};
|
|
34
|
+
default: () => {};
|
|
39
35
|
};
|
|
40
36
|
rowKey: {
|
|
41
37
|
type: StringConstructor;
|
|
@@ -50,7 +46,7 @@ export declare const NextLabelimg: import("../../utils/install").SFCWithInstall<
|
|
|
50
46
|
default: () => any[];
|
|
51
47
|
};
|
|
52
48
|
data: {
|
|
53
|
-
type: import("vue").PropType<
|
|
49
|
+
type: import("vue").PropType<any[]>;
|
|
54
50
|
default: () => any[];
|
|
55
51
|
};
|
|
56
52
|
}>> & {
|
|
@@ -64,7 +60,7 @@ export declare const NextLabelimg: import("../../utils/install").SFCWithInstall<
|
|
|
64
60
|
rowKey: string;
|
|
65
61
|
options: Record<string, any>;
|
|
66
62
|
classes: unknown[];
|
|
67
|
-
data:
|
|
63
|
+
data: any[];
|
|
68
64
|
}, {}>> & Record<string, any>;
|
|
69
65
|
export declare const NextLabelimgPreview: import("../../utils/install").SFCWithInstall<import("vue").DefineComponent<{
|
|
70
66
|
className: {
|
|
@@ -6,9 +6,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
};
|
|
7
7
|
style: {
|
|
8
8
|
type: PropType<CSSProperties>;
|
|
9
|
-
default: () => {
|
|
10
|
-
position: string;
|
|
11
|
-
};
|
|
9
|
+
default: () => {};
|
|
12
10
|
};
|
|
13
11
|
rowKey: {
|
|
14
12
|
type: StringConstructor;
|
|
@@ -33,9 +31,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
31
|
};
|
|
34
32
|
style: {
|
|
35
33
|
type: PropType<CSSProperties>;
|
|
36
|
-
default: () => {
|
|
37
|
-
position: string;
|
|
38
|
-
};
|
|
34
|
+
default: () => {};
|
|
39
35
|
};
|
|
40
36
|
rowKey: {
|
|
41
37
|
type: StringConstructor;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { RectProps } from '../hooks/canvas-context-hook';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
contentHeight: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
};
|
|
4
7
|
classes: {
|
|
5
8
|
type: ArrayConstructor;
|
|
6
9
|
default: () => any[];
|
|
@@ -10,6 +13,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
13
|
default: () => any[];
|
|
11
14
|
};
|
|
12
15
|
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "select")[], "delete" | "select", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
contentHeight: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
};
|
|
13
19
|
classes: {
|
|
14
20
|
type: ArrayConstructor;
|
|
15
21
|
default: () => any[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
isFullscreen: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("fullscreen" | "save")[], "fullscreen" | "save", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
isFullscreen: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
}>> & {
|
|
12
|
+
onFullscreen?: (...args: any[]) => any;
|
|
13
|
+
onSave?: (...args: any[]) => any;
|
|
14
|
+
}, {
|
|
15
|
+
isFullscreen: boolean;
|
|
16
|
+
}, {}>;
|
|
17
|
+
export default _default;
|
|
@@ -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,10 @@ export declare const localeLang: {
|
|
|
72
73
|
};
|
|
73
74
|
labelimg: {
|
|
74
75
|
saveTxt: string;
|
|
76
|
+
emptyLabelText: string;
|
|
77
|
+
confirmDeleteLabel: string;
|
|
78
|
+
saveLabel: string;
|
|
79
|
+
instructions: string;
|
|
75
80
|
};
|
|
76
81
|
};
|
|
77
82
|
};
|
|
@@ -33,6 +33,7 @@ declare const _default: {
|
|
|
33
33
|
confirmButtonText: string;
|
|
34
34
|
cancelButtonText: string;
|
|
35
35
|
};
|
|
36
|
+
uploadfileExceed: string;
|
|
36
37
|
};
|
|
37
38
|
form: {
|
|
38
39
|
input: string;
|
|
@@ -70,6 +71,9 @@ declare const _default: {
|
|
|
70
71
|
saveTxt: string;
|
|
71
72
|
emptyLabelText: string;
|
|
72
73
|
confirmDeleteLabel: string;
|
|
74
|
+
saveLabel: string;
|
|
75
|
+
instructions: string;
|
|
76
|
+
labelNoUpdate: string;
|
|
73
77
|
};
|
|
74
78
|
};
|
|
75
79
|
};
|
|
@@ -33,6 +33,7 @@ declare const _default: {
|
|
|
33
33
|
confirmButtonText: string;
|
|
34
34
|
cancelButtonText: string;
|
|
35
35
|
};
|
|
36
|
+
uploadfileExceed: string;
|
|
36
37
|
};
|
|
37
38
|
form: {
|
|
38
39
|
input: string;
|
|
@@ -70,6 +71,9 @@ declare const _default: {
|
|
|
70
71
|
saveTxt: string;
|
|
71
72
|
emptyLabelText: string;
|
|
72
73
|
confirmDeleteLabel: string;
|
|
74
|
+
saveLabel: string;
|
|
75
|
+
instructions: string;
|
|
76
|
+
labelNoUpdate: string;
|
|
73
77
|
};
|
|
74
78
|
};
|
|
75
79
|
};
|
|
@@ -33,6 +33,7 @@ declare const _default: {
|
|
|
33
33
|
confirmButtonText: string;
|
|
34
34
|
cancelButtonText: string;
|
|
35
35
|
};
|
|
36
|
+
uploadfileExceed: string;
|
|
36
37
|
};
|
|
37
38
|
form: {
|
|
38
39
|
input: string;
|
|
@@ -70,6 +71,9 @@ declare const _default: {
|
|
|
70
71
|
saveTxt: string;
|
|
71
72
|
emptyLabelText: string;
|
|
72
73
|
confirmDeleteLabel: string;
|
|
74
|
+
saveLabel: string;
|
|
75
|
+
instructions: string;
|
|
76
|
+
labelNoUpdate: string;
|
|
73
77
|
};
|
|
74
78
|
};
|
|
75
79
|
};
|