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,12 +1,36 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
1
|
+
declare const _default: import('vue').DefineComponent<
|
|
2
|
+
import('vue').ExtractPropTypes<{
|
|
3
|
+
icon: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}>,
|
|
8
|
+
{},
|
|
9
|
+
{},
|
|
10
|
+
{},
|
|
11
|
+
{},
|
|
12
|
+
import('vue').ComponentOptionsMixin,
|
|
13
|
+
import('vue').ComponentOptionsMixin,
|
|
14
|
+
{},
|
|
15
|
+
string,
|
|
16
|
+
import('vue').PublicProps,
|
|
17
|
+
Readonly<
|
|
18
|
+
import('vue').ExtractPropTypes<{
|
|
19
|
+
icon: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
}>
|
|
24
|
+
> &
|
|
25
|
+
Readonly<{}>,
|
|
26
|
+
{},
|
|
27
|
+
{},
|
|
28
|
+
{},
|
|
29
|
+
{},
|
|
30
|
+
string,
|
|
31
|
+
import('vue').ComponentProvideOptions,
|
|
32
|
+
true,
|
|
33
|
+
{},
|
|
34
|
+
SVGSVGElement
|
|
35
|
+
>;
|
|
12
36
|
export default _default;
|
|
@@ -8,86 +8,110 @@ declare function __VLS_template(): {
|
|
|
8
8
|
rootEl: any;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
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
|
-
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<
|
|
12
|
+
import('vue').ExtractPropTypes<{
|
|
13
|
+
pageReqType: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
pageTotal: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
pageNum: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
pageSize: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
paginationButtonNumber: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: number;
|
|
32
|
+
validator: (value: any) => boolean;
|
|
33
|
+
};
|
|
34
|
+
paginationLayout: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
smallPagination: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
}>,
|
|
43
|
+
{},
|
|
44
|
+
{},
|
|
45
|
+
{},
|
|
46
|
+
{},
|
|
47
|
+
import('vue').ComponentOptionsMixin,
|
|
48
|
+
import('vue').ComponentOptionsMixin,
|
|
49
|
+
{
|
|
50
|
+
'update:pageSize': (...args: any[]) => void;
|
|
51
|
+
'update:pageNum': (...args: any[]) => void;
|
|
52
|
+
currentChange: (...args: any[]) => void;
|
|
53
|
+
sizeChange: (...args: any[]) => void;
|
|
54
|
+
},
|
|
55
|
+
string,
|
|
56
|
+
import('vue').PublicProps,
|
|
57
|
+
Readonly<
|
|
58
|
+
import('vue').ExtractPropTypes<{
|
|
59
|
+
pageReqType: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
pageTotal: {
|
|
64
|
+
type: NumberConstructor;
|
|
65
|
+
default: number;
|
|
66
|
+
};
|
|
67
|
+
pageNum: {
|
|
68
|
+
type: NumberConstructor;
|
|
69
|
+
default: number;
|
|
70
|
+
};
|
|
71
|
+
pageSize: {
|
|
72
|
+
type: NumberConstructor;
|
|
73
|
+
default: number;
|
|
74
|
+
};
|
|
75
|
+
paginationButtonNumber: {
|
|
76
|
+
type: NumberConstructor;
|
|
77
|
+
default: number;
|
|
78
|
+
validator: (value: any) => boolean;
|
|
79
|
+
};
|
|
80
|
+
paginationLayout: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
smallPagination: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
}>
|
|
89
|
+
> &
|
|
90
|
+
Readonly<{
|
|
91
|
+
'onUpdate:pageSize'?: ((...args: any[]) => any) | undefined;
|
|
92
|
+
'onUpdate:pageNum'?: ((...args: any[]) => any) | undefined;
|
|
93
|
+
onCurrentChange?: ((...args: any[]) => any) | undefined;
|
|
94
|
+
onSizeChange?: ((...args: any[]) => any) | undefined;
|
|
95
|
+
}>,
|
|
96
|
+
{
|
|
97
|
+
pageSize: number;
|
|
98
|
+
pageReqType: string;
|
|
99
|
+
pageTotal: number;
|
|
100
|
+
pageNum: number;
|
|
101
|
+
paginationButtonNumber: number;
|
|
102
|
+
paginationLayout: string;
|
|
103
|
+
smallPagination: boolean;
|
|
104
|
+
},
|
|
105
|
+
{},
|
|
106
|
+
{},
|
|
107
|
+
{},
|
|
108
|
+
string,
|
|
109
|
+
import('vue').ComponentProvideOptions,
|
|
110
|
+
true,
|
|
111
|
+
{},
|
|
112
|
+
any
|
|
113
|
+
>;
|
|
114
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult['slots']>;
|
|
91
115
|
export default _default;
|
|
92
116
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
93
117
|
new (): {
|
|
@@ -1,32 +1,56 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
-
|
|
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
|
-
|
|
1
|
+
declare const _default: import('vue').DefineComponent<
|
|
2
|
+
import('vue').ExtractPropTypes<{
|
|
3
|
+
rows: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
showWordLimit: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
maxlength: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}>,
|
|
16
|
+
{},
|
|
17
|
+
{},
|
|
18
|
+
{},
|
|
19
|
+
{},
|
|
20
|
+
import('vue').ComponentOptionsMixin,
|
|
21
|
+
import('vue').ComponentOptionsMixin,
|
|
22
|
+
{},
|
|
23
|
+
string,
|
|
24
|
+
import('vue').PublicProps,
|
|
25
|
+
Readonly<
|
|
26
|
+
import('vue').ExtractPropTypes<{
|
|
27
|
+
rows: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
showWordLimit: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
maxlength: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
}>
|
|
40
|
+
> &
|
|
41
|
+
Readonly<{}>,
|
|
42
|
+
{
|
|
43
|
+
maxlength: string;
|
|
44
|
+
showWordLimit: boolean;
|
|
45
|
+
rows: number;
|
|
46
|
+
},
|
|
47
|
+
{},
|
|
48
|
+
{},
|
|
49
|
+
{},
|
|
50
|
+
string,
|
|
51
|
+
import('vue').ComponentProvideOptions,
|
|
52
|
+
true,
|
|
53
|
+
{},
|
|
54
|
+
any
|
|
55
|
+
>;
|
|
32
56
|
export default _default;
|
|
@@ -8,20 +8,44 @@ declare function __VLS_template(): {
|
|
|
8
8
|
rootEl: any;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<
|
|
12
|
+
import('vue').ExtractPropTypes<{
|
|
13
|
+
openDelay: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
}>,
|
|
18
|
+
{},
|
|
19
|
+
{},
|
|
20
|
+
{},
|
|
21
|
+
{},
|
|
22
|
+
import('vue').ComponentOptionsMixin,
|
|
23
|
+
import('vue').ComponentOptionsMixin,
|
|
24
|
+
{},
|
|
25
|
+
string,
|
|
26
|
+
import('vue').PublicProps,
|
|
27
|
+
Readonly<
|
|
28
|
+
import('vue').ExtractPropTypes<{
|
|
29
|
+
openDelay: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
}>
|
|
34
|
+
> &
|
|
35
|
+
Readonly<{}>,
|
|
36
|
+
{
|
|
37
|
+
openDelay: number;
|
|
38
|
+
},
|
|
39
|
+
{},
|
|
40
|
+
{},
|
|
41
|
+
{},
|
|
42
|
+
string,
|
|
43
|
+
import('vue').ComponentProvideOptions,
|
|
44
|
+
true,
|
|
45
|
+
{},
|
|
46
|
+
any
|
|
47
|
+
>;
|
|
48
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult['slots']>;
|
|
25
49
|
export default _default;
|
|
26
50
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
51
|
new (): {
|
|
@@ -3,39 +3,63 @@ interface TreeSelectOptions {
|
|
|
3
3
|
value: string;
|
|
4
4
|
[prop: string]: any;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: import('vue').DefineComponent<
|
|
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
|
-
|
|
6
|
+
declare const _default: import('vue').DefineComponent<
|
|
7
|
+
import('vue').ExtractPropTypes<{
|
|
8
|
+
options: {
|
|
9
|
+
type: PropType<TreeSelectOptions[]>;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
collapseTags: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
clearable: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
}>,
|
|
21
|
+
{
|
|
22
|
+
componentRef: any;
|
|
23
|
+
},
|
|
24
|
+
{},
|
|
25
|
+
{},
|
|
26
|
+
{},
|
|
27
|
+
import('vue').ComponentOptionsMixin,
|
|
28
|
+
import('vue').ComponentOptionsMixin,
|
|
29
|
+
{},
|
|
30
|
+
string,
|
|
31
|
+
import('vue').PublicProps,
|
|
32
|
+
Readonly<
|
|
33
|
+
import('vue').ExtractPropTypes<{
|
|
34
|
+
options: {
|
|
35
|
+
type: PropType<TreeSelectOptions[]>;
|
|
36
|
+
default: () => never[];
|
|
37
|
+
};
|
|
38
|
+
collapseTags: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
clearable: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
}>
|
|
47
|
+
> &
|
|
48
|
+
Readonly<{}>,
|
|
49
|
+
{
|
|
50
|
+
options: any;
|
|
51
|
+
clearable: boolean;
|
|
52
|
+
collapseTags: boolean;
|
|
53
|
+
},
|
|
54
|
+
{},
|
|
55
|
+
{},
|
|
56
|
+
{},
|
|
57
|
+
string,
|
|
58
|
+
import('vue').ComponentProvideOptions,
|
|
59
|
+
true,
|
|
60
|
+
{
|
|
61
|
+
componentRef: unknown;
|
|
62
|
+
},
|
|
63
|
+
any
|
|
64
|
+
>;
|
|
41
65
|
export default _default;
|