ra-element 0.1.6 → 0.1.7
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/docs/ra-table.md +1 -0
- package/lib/components/index.d.ts +1 -20
- package/lib/components/ra-auto-scroll/index.vue.d.ts +76 -100
- package/lib/components/ra-button/index.vue.d.ts +599 -772
- package/lib/components/ra-checkbox-group/index.vue.d.ts +329 -442
- package/lib/components/ra-date-picker/index.vue.d.ts +1062 -1261
- package/lib/components/ra-dialog/index.vue.d.ts +931 -1130
- package/lib/components/ra-dialog-select/index.vue.d.ts +57 -81
- package/lib/components/ra-help-tip/index.vue.d.ts +41 -65
- package/lib/components/ra-input/index.vue.d.ts +1042 -1256
- package/lib/components/ra-pagination/index.vue.d.ts +528 -643
- package/lib/components/ra-radio-group/index.vue.d.ts +425 -538
- package/lib/components/ra-select/index.vue.d.ts +1656 -1759
- package/lib/components/ra-svg/index.vue.d.ts +11 -35
- package/lib/components/ra-table/component/pagination-group.vue.d.ts +80 -104
- package/lib/components/ra-textarea/index.vue.d.ts +31 -55
- package/lib/components/ra-tool-tip/index.vue.d.ts +14 -38
- package/lib/components/ra-tree-select/index.vue.d.ts +35 -59
- package/lib/components/ra-upload/index.vue.d.ts +149 -173
- package/lib/index.d.ts +6 -6
- package/lib/ra-element.css +1 -1
- package/lib/ra-element.es.js +980 -958
- package/lib/ra-element.umd.js +11 -11
- package/package.json +1 -1
|
@@ -1,175 +1,151 @@
|
|
|
1
1
|
import { UploadUserFile } from 'element-plus';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
{
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
disabled: boolean;
|
|
152
|
-
drag: boolean;
|
|
153
|
-
multiple: boolean;
|
|
154
|
-
tipText: string;
|
|
155
|
-
action: string;
|
|
156
|
-
fileList: any;
|
|
157
|
-
limit: number;
|
|
158
|
-
accept: string;
|
|
159
|
-
listType: any;
|
|
160
|
-
buttonText: string;
|
|
161
|
-
dragText: string;
|
|
162
|
-
autoUpload: boolean;
|
|
163
|
-
showFileList: boolean;
|
|
164
|
-
maxSize: number;
|
|
165
|
-
},
|
|
166
|
-
{},
|
|
167
|
-
{},
|
|
168
|
-
{},
|
|
169
|
-
string,
|
|
170
|
-
import('vue').ComponentProvideOptions,
|
|
171
|
-
true,
|
|
172
|
-
{},
|
|
173
|
-
HTMLDivElement
|
|
174
|
-
>;
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
action: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
fileList: {
|
|
8
|
+
type: PropType<UploadUserFile[]>;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
limit: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
multiple: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
disabled: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
accept: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
drag: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
listType: {
|
|
32
|
+
type: PropType<"text" | "picture" | "picture-card">;
|
|
33
|
+
default: string;
|
|
34
|
+
validator: (value: string) => boolean;
|
|
35
|
+
};
|
|
36
|
+
buttonText: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
dragText: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
tipText: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
autoUpload: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
showFileList: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
maxSize: {
|
|
57
|
+
type: NumberConstructor;
|
|
58
|
+
default: number;
|
|
59
|
+
};
|
|
60
|
+
}>, {
|
|
61
|
+
submitUpload: () => void;
|
|
62
|
+
clearFiles: () => void;
|
|
63
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
64
|
+
change: (...args: any[]) => void;
|
|
65
|
+
error: (...args: any[]) => void;
|
|
66
|
+
success: (...args: any[]) => void;
|
|
67
|
+
"update:fileList": (...args: any[]) => void;
|
|
68
|
+
remove: (...args: any[]) => void;
|
|
69
|
+
exceed: (...args: any[]) => void;
|
|
70
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
71
|
+
action: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
fileList: {
|
|
76
|
+
type: PropType<UploadUserFile[]>;
|
|
77
|
+
default: () => never[];
|
|
78
|
+
};
|
|
79
|
+
limit: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
default: number;
|
|
82
|
+
};
|
|
83
|
+
multiple: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
disabled: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
accept: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
drag: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
99
|
+
listType: {
|
|
100
|
+
type: PropType<"text" | "picture" | "picture-card">;
|
|
101
|
+
default: string;
|
|
102
|
+
validator: (value: string) => boolean;
|
|
103
|
+
};
|
|
104
|
+
buttonText: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
dragText: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
tipText: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
autoUpload: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
showFileList: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
maxSize: {
|
|
125
|
+
type: NumberConstructor;
|
|
126
|
+
default: number;
|
|
127
|
+
};
|
|
128
|
+
}>> & Readonly<{
|
|
129
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
130
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
131
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
132
|
+
"onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
|
|
133
|
+
onRemove?: ((...args: any[]) => any) | undefined;
|
|
134
|
+
onExceed?: ((...args: any[]) => any) | undefined;
|
|
135
|
+
}>, {
|
|
136
|
+
disabled: boolean;
|
|
137
|
+
drag: boolean;
|
|
138
|
+
multiple: boolean;
|
|
139
|
+
tipText: string;
|
|
140
|
+
action: string;
|
|
141
|
+
fileList: any;
|
|
142
|
+
limit: number;
|
|
143
|
+
accept: string;
|
|
144
|
+
listType: any;
|
|
145
|
+
buttonText: string;
|
|
146
|
+
dragText: string;
|
|
147
|
+
autoUpload: boolean;
|
|
148
|
+
showFileList: boolean;
|
|
149
|
+
maxSize: number;
|
|
150
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
175
151
|
export default _default;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './components/index'
|
|
2
|
-
export {}
|
|
3
|
-
import RaElement from './components/index'
|
|
4
|
-
export default RaElement
|
|
5
|
-
export * from './components/index'
|
|
6
|
-
export {}
|
|
1
|
+
export * from './components/index'
|
|
2
|
+
export {}
|
|
3
|
+
import RaElement from './components/index'
|
|
4
|
+
export default RaElement
|
|
5
|
+
export * from './components/index'
|
|
6
|
+
export {}
|