ra-element 0.1.22 → 0.1.24
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-form.md +1 -0
- package/docs/ra-input.md +6 -0
- package/docs/ra-table.md +0 -1
- package/docs/ra-textarea.md +1 -0
- package/lib/components/ra-input/index.vue.d.ts +14 -2
- package/lib/components/ra-table/component/pagination-group.vue.d.ts +0 -9
- package/lib/components/ra-textarea/index.vue.d.ts +9 -0
- package/lib/ra-element.css +1 -1
- package/lib/ra-element.es.js +45 -40
- package/lib/ra-element.umd.js +5 -5
- package/package.json +1 -1
package/docs/ra-form.md
CHANGED
|
@@ -11,3 +11,4 @@
|
|
|
11
11
|
| inline | [Boolean, Number] as PropType<boolean \| number> | 同原el-form,增加可传数字类型,代表一行几个 | false | |
|
|
12
12
|
| modelValue | Object | v-model绑定,如果不使用,options必须配置,最后通过ref的getFormData获取form数据 | | |
|
|
13
13
|
| itemMarginRight | Number | inline时候的每个item的margin-right距离,默认20 | 20 | |
|
|
14
|
+
| rules | Object | 表单验证规则 | {} | |
|
package/docs/ra-input.md
CHANGED
package/docs/ra-table.md
CHANGED
package/docs/ra-textarea.md
CHANGED
|
@@ -13,7 +13,12 @@ declare function __VLS_template(): {
|
|
|
13
13
|
rootEl: any;
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
17
|
+
cssStyle: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}>, {
|
|
17
22
|
component: import('vue').Ref<({
|
|
18
23
|
$: import('vue').ComponentInternalInstance;
|
|
19
24
|
$data: {};
|
|
@@ -1051,7 +1056,14 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
1051
1056
|
append?(_: {}): any;
|
|
1052
1057
|
};
|
|
1053
1058
|
}) | null>;
|
|
1054
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<
|
|
1059
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1060
|
+
cssStyle: {
|
|
1061
|
+
type: StringConstructor;
|
|
1062
|
+
default: string;
|
|
1063
|
+
};
|
|
1064
|
+
}>> & Readonly<{}>, {
|
|
1065
|
+
cssStyle: string;
|
|
1066
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
1055
1067
|
componentRef: unknown;
|
|
1056
1068
|
}, any>;
|
|
1057
1069
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -34,10 +34,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
34
34
|
type: StringConstructor;
|
|
35
35
|
default: string;
|
|
36
36
|
};
|
|
37
|
-
smallPagination: {
|
|
38
|
-
type: BooleanConstructor;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
37
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
38
|
"update:pageSize": (...args: any[]) => void;
|
|
43
39
|
"update:pageNum": (...args: any[]) => void;
|
|
@@ -69,10 +65,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
69
65
|
type: StringConstructor;
|
|
70
66
|
default: string;
|
|
71
67
|
};
|
|
72
|
-
smallPagination: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
default: boolean;
|
|
75
|
-
};
|
|
76
68
|
}>> & Readonly<{
|
|
77
69
|
"onUpdate:pageSize"?: ((...args: any[]) => any) | undefined;
|
|
78
70
|
"onUpdate:pageNum"?: ((...args: any[]) => any) | undefined;
|
|
@@ -85,7 +77,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
85
77
|
pageNum: number;
|
|
86
78
|
paginationButtonNumber: number;
|
|
87
79
|
paginationLayout: string;
|
|
88
|
-
smallPagination: boolean;
|
|
89
80
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
90
81
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
91
82
|
export default _default;
|
|
@@ -11,6 +11,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
type: StringConstructor;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
|
+
cssStyle: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
14
18
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
19
|
rows: {
|
|
16
20
|
type: NumberConstructor;
|
|
@@ -24,7 +28,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
24
28
|
type: StringConstructor;
|
|
25
29
|
default: string;
|
|
26
30
|
};
|
|
31
|
+
cssStyle: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
27
35
|
}>> & Readonly<{}>, {
|
|
36
|
+
cssStyle: string;
|
|
28
37
|
maxlength: string;
|
|
29
38
|
showWordLimit: boolean;
|
|
30
39
|
rows: number;
|