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