ra-element 0.0.57 → 0.0.62
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-tool-tip.md +3 -0
- package/lib/ExampleItem-DwhALQGq.js +18 -0
- package/lib/components/index.d.ts +21 -0
- package/lib/components/ra-auto-scroll/index.vue.d.ts +94 -0
- package/lib/{ra-button → components/ra-button}/index.vue.d.ts +28 -28
- package/lib/components/ra-checkbox-group/index.vue.d.ts +356 -0
- package/lib/{ra-date-picker → components/ra-date-picker}/index.vue.d.ts +4 -4
- package/lib/{ra-dialog → components/ra-dialog}/index.vue.d.ts +10 -10
- package/lib/components/ra-dialog-select/index.vue.d.ts +64 -0
- package/lib/components/ra-help-tip/index.vue.d.ts +56 -0
- package/lib/components/ra-input/index.vue.d.ts +1063 -0
- package/lib/components/ra-pagination/index.vue.d.ts +545 -0
- package/lib/components/ra-radio-group/index.vue.d.ts +452 -0
- package/lib/components/ra-select/index.vue.d.ts +1687 -0
- package/lib/components/ra-svg/index.vue.d.ts +12 -0
- package/lib/components/ra-table/component/pagination-group.vue.d.ts +96 -0
- package/lib/components/ra-tool-tip/index.vue.d.ts +30 -0
- package/lib/components/ra-tree-select/index.vue.d.ts +41 -0
- package/lib/components/ra-upload/index.vue.d.ts +151 -0
- package/lib/index-CkAUSFIX.js +4 -0
- package/lib/index-DE9tcA5I.js +4 -0
- package/lib/index-DN2aloZb.js +4 -0
- package/lib/index-DPST30-1.js +4 -0
- package/lib/index-DUdhhr_j.js +4 -0
- package/lib/index-hKxQUnh9.js +4 -0
- package/lib/index.d.ts +6 -7
- package/lib/ra-element.css +1 -1
- package/lib/ra-element.es.js +17399 -15758
- package/lib/ra-element.umd.js +19 -19
- package/package.json +7 -6
- /package/lib/{ra-form → components/ra-form}/type.d.ts +0 -0
- /package/lib/{ra-table → components/ra-table}/type.d.ts +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
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>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
pageLeft?(_: {}): any;
|
|
5
|
+
pageTotalLeft?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
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"]>;
|
|
91
|
+
export default _default;
|
|
92
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
93
|
+
new (): {
|
|
94
|
+
$slots: S;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
content?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
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"]>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
interface TreeSelectOptions {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
[prop: string]: any;
|
|
5
|
+
}
|
|
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>;
|
|
41
|
+
export default _default;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { UploadUserFile } from 'element-plus';
|
|
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>;
|
|
151
|
+
export default _default;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export {
|
|
7
|
-
export default install;
|
|
1
|
+
export * from './components/index'
|
|
2
|
+
export {}
|
|
3
|
+
import RaElement from './components/index'
|
|
4
|
+
export default RaElement
|
|
5
|
+
export * from './components/index'
|
|
6
|
+
export {}
|