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