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
package/docs/ra-table.md
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
| tableExportText | String | 导出按钮文字 | '导出清单' | |
|
|
23
23
|
| localExportName | String | 导出文件名称 | '' | |
|
|
24
24
|
| hasIndex | Boolean | 序号 | false | |
|
|
25
|
+
| hasIndexName | String | 序号别名,默认:序号 | '序号' | |
|
|
25
26
|
| hasIndexFixed | Boolean | 序号固定 | false | |
|
|
26
27
|
| paginationButtonNumber | Number | 最大页码按钮数量 | 7 | |
|
|
27
28
|
| smallPagination | Boolean | 是否开启小分页 | false | |
|
|
@@ -18,24 +18,5 @@ import { default as RaToolTip } from './ra-tool-tip/index.vue';
|
|
|
18
18
|
import { default as RaTreeSelect } from './ra-tree-select/index.vue';
|
|
19
19
|
import { default as RaUpload } from './ra-upload/index.vue';
|
|
20
20
|
declare const install: (app: App) => void;
|
|
21
|
-
export {
|
|
22
|
-
RaAutoScroll,
|
|
23
|
-
RaButton,
|
|
24
|
-
RaCheckboxGroup,
|
|
25
|
-
RaDatePicker,
|
|
26
|
-
RaDialog,
|
|
27
|
-
RaDialogSelect,
|
|
28
|
-
RaForm,
|
|
29
|
-
RaHelpTip,
|
|
30
|
-
RaInput,
|
|
31
|
-
RaPagination,
|
|
32
|
-
RaRadioGroup,
|
|
33
|
-
RaSelect,
|
|
34
|
-
RaSvg,
|
|
35
|
-
RaTable,
|
|
36
|
-
RaTextarea,
|
|
37
|
-
RaToolTip,
|
|
38
|
-
RaTreeSelect,
|
|
39
|
-
RaUpload,
|
|
40
|
-
};
|
|
21
|
+
export { RaAutoScroll, RaButton, RaCheckboxGroup, RaDatePicker, RaDialog, RaDialogSelect, RaForm, RaHelpTip, RaInput, RaPagination, RaRadioGroup, RaSelect, RaSvg, RaTable, RaTextarea, RaToolTip, RaTreeSelect, RaUpload, };
|
|
41
22
|
export default install;
|
|
@@ -10,106 +10,82 @@ declare function __VLS_template(): {
|
|
|
10
10
|
rootEl: HTMLDivElement;
|
|
11
11
|
};
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
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
|
-
Readonly<{}>,
|
|
91
|
-
{
|
|
92
|
-
showItems: number;
|
|
93
|
-
speed: number;
|
|
94
|
-
direction: string;
|
|
95
|
-
pauseOnHover: boolean;
|
|
96
|
-
disabled: boolean;
|
|
97
|
-
itemWidth: number;
|
|
98
|
-
itemGap: number;
|
|
99
|
-
},
|
|
100
|
-
{},
|
|
101
|
-
{},
|
|
102
|
-
{},
|
|
103
|
-
string,
|
|
104
|
-
import('vue').ComponentProvideOptions,
|
|
105
|
-
true,
|
|
106
|
-
{
|
|
107
|
-
containerRef: HTMLDivElement;
|
|
108
|
-
wrapperRef: HTMLDivElement;
|
|
109
|
-
},
|
|
110
|
-
HTMLDivElement
|
|
111
|
-
>;
|
|
112
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult['slots']>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
+
showItems: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
speed: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
direction: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
validator: (value: string) => boolean;
|
|
26
|
+
};
|
|
27
|
+
pauseOnHover: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
disabled: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
itemWidth: {
|
|
36
|
+
type: NumberConstructor;
|
|
37
|
+
default: number;
|
|
38
|
+
};
|
|
39
|
+
itemGap: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
}>, {
|
|
44
|
+
start: () => void;
|
|
45
|
+
stop: () => void;
|
|
46
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
47
|
+
showItems: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
speed: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
direction: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
validator: (value: string) => boolean;
|
|
59
|
+
};
|
|
60
|
+
pauseOnHover: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
disabled: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
itemWidth: {
|
|
69
|
+
type: NumberConstructor;
|
|
70
|
+
default: number;
|
|
71
|
+
};
|
|
72
|
+
itemGap: {
|
|
73
|
+
type: NumberConstructor;
|
|
74
|
+
default: number;
|
|
75
|
+
};
|
|
76
|
+
}>> & Readonly<{}>, {
|
|
77
|
+
showItems: number;
|
|
78
|
+
speed: number;
|
|
79
|
+
direction: string;
|
|
80
|
+
pauseOnHover: boolean;
|
|
81
|
+
disabled: boolean;
|
|
82
|
+
itemWidth: number;
|
|
83
|
+
itemGap: number;
|
|
84
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
85
|
+
containerRef: HTMLDivElement;
|
|
86
|
+
wrapperRef: HTMLDivElement;
|
|
87
|
+
}, HTMLDivElement>;
|
|
88
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
113
89
|
export default _default;
|
|
114
90
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
115
91
|
new (): {
|