ra-element 0.0.72 → 0.0.74
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/lib/components/index.d.ts +1 -1
- package/lib/components/ra-button/index.vue.d.ts +6 -6
- package/lib/components/ra-input/index.vue.d.ts +12 -12
- package/lib/components/ra-textarea/index.vue.d.ts +2 -2
- package/lib/ra-element.css +1 -1
- package/lib/ra-element.es.js +2491 -2671
- package/lib/ra-element.umd.js +8 -8
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
import { default as RaTextarea } from './ra-textarea/index.vue';
|
|
3
2
|
import { default as RaAutoScroll } from './ra-auto-scroll/index.vue';
|
|
4
3
|
import { default as RaButton } from './ra-button/index.vue';
|
|
5
4
|
import { default as RaCheckboxGroup } from './ra-checkbox-group/index.vue';
|
|
@@ -14,6 +13,7 @@ import { default as RaRadioGroup } from './ra-radio-group/index.vue';
|
|
|
14
13
|
import { default as RaSelect } from './ra-select/index.vue';
|
|
15
14
|
import { default as RaSvg } from './ra-svg/index.vue';
|
|
16
15
|
import { default as RaTable } from './ra-table/index.vue';
|
|
16
|
+
import { default as RaTextarea } from './ra-textarea/index.vue';
|
|
17
17
|
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';
|
|
@@ -41,8 +41,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
41
41
|
readonly loadingIcon: string | import('vue').Component;
|
|
42
42
|
readonly autoInsertSpace: boolean;
|
|
43
43
|
}> & Omit<{
|
|
44
|
-
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
45
44
|
readonly disabled: boolean;
|
|
45
|
+
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
46
46
|
readonly link: boolean;
|
|
47
47
|
readonly circle: boolean;
|
|
48
48
|
readonly text: boolean;
|
|
@@ -60,7 +60,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
60
60
|
readonly color?: string | undefined;
|
|
61
61
|
readonly autoInsertSpace?: boolean | undefined;
|
|
62
62
|
onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
63
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "
|
|
63
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "link" | "circle" | "text" | "nativeType" | "loading" | "loadingIcon" | "plain" | "bg" | "autofocus" | "round" | "dark" | "autoInsertSpace" | "tag">;
|
|
64
64
|
$attrs: {
|
|
65
65
|
[x: string]: unknown;
|
|
66
66
|
};
|
|
@@ -295,7 +295,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
295
295
|
};
|
|
296
296
|
}>> & {
|
|
297
297
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
298
|
-
}, "
|
|
298
|
+
}, "disabled" | "type" | "link" | "circle" | "text" | "ref" | "size" | "nativeType" | "loading" | "loadingIcon" | "plain" | "bg" | "autofocus" | "round" | "dark" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
299
299
|
ref: import('vue').Ref<HTMLButtonElement | undefined>;
|
|
300
300
|
size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
|
|
301
301
|
type: import('vue').ComputedRef<string>;
|
|
@@ -327,8 +327,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
327
327
|
readonly loadingIcon: string | import('vue').Component;
|
|
328
328
|
readonly autoInsertSpace: boolean;
|
|
329
329
|
}> & Omit<{
|
|
330
|
-
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
331
330
|
readonly disabled: boolean;
|
|
331
|
+
readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
|
|
332
332
|
readonly link: boolean;
|
|
333
333
|
readonly circle: boolean;
|
|
334
334
|
readonly text: boolean;
|
|
@@ -346,7 +346,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
346
346
|
readonly color?: string | undefined;
|
|
347
347
|
readonly autoInsertSpace?: boolean | undefined;
|
|
348
348
|
onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
349
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "
|
|
349
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "link" | "circle" | "text" | "nativeType" | "loading" | "loadingIcon" | "plain" | "bg" | "autofocus" | "round" | "dark" | "autoInsertSpace" | "tag">;
|
|
350
350
|
$attrs: {
|
|
351
351
|
[x: string]: unknown;
|
|
352
352
|
};
|
|
@@ -581,7 +581,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
581
581
|
};
|
|
582
582
|
}>> & {
|
|
583
583
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
584
|
-
}, "
|
|
584
|
+
}, "disabled" | "type" | "link" | "circle" | "text" | "ref" | "size" | "nativeType" | "loading" | "loadingIcon" | "plain" | "bg" | "autofocus" | "round" | "dark" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
|
|
585
585
|
ref: import('vue').Ref<HTMLButtonElement | undefined>;
|
|
586
586
|
size: import('vue').ComputedRef<"" | "small" | "default" | "large">;
|
|
587
587
|
type: import('vue').ComputedRef<string>;
|
|
@@ -36,10 +36,8 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
36
36
|
readonly showWordLimit: boolean;
|
|
37
37
|
readonly autofocus: boolean;
|
|
38
38
|
}> & Omit<{
|
|
39
|
-
readonly rows: number;
|
|
40
|
-
readonly showWordLimit: boolean;
|
|
41
|
-
readonly type: string;
|
|
42
39
|
readonly disabled: boolean;
|
|
40
|
+
readonly type: string;
|
|
43
41
|
readonly autofocus: boolean;
|
|
44
42
|
readonly modelValue: string | number | null;
|
|
45
43
|
readonly validateEvent: boolean;
|
|
@@ -49,9 +47,10 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
49
47
|
readonly autosize: import('element-plus').InputAutoSize;
|
|
50
48
|
readonly autocomplete: string;
|
|
51
49
|
readonly showPassword: boolean;
|
|
50
|
+
readonly showWordLimit: boolean;
|
|
52
51
|
readonly inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
52
|
+
readonly rows: number;
|
|
53
53
|
readonly name?: string | undefined;
|
|
54
|
-
readonly maxlength?: (string | number) | undefined;
|
|
55
54
|
readonly form?: string | undefined;
|
|
56
55
|
readonly resize?: ("none" | "both" | "horizontal" | "vertical") | undefined;
|
|
57
56
|
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
|
@@ -60,6 +59,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
60
59
|
readonly prefixIcon?: (string | import('vue').Component) | undefined;
|
|
61
60
|
readonly placeholder?: string | undefined;
|
|
62
61
|
readonly inputmode?: "none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
62
|
+
readonly maxlength?: (string | number) | undefined;
|
|
63
63
|
readonly minlength?: (string | number) | undefined;
|
|
64
64
|
readonly formatter?: Function | undefined;
|
|
65
65
|
readonly parser?: Function | undefined;
|
|
@@ -77,7 +77,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
77
77
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
78
78
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
79
79
|
onClear?: (() => any) | undefined | undefined;
|
|
80
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "
|
|
80
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "autofocus" | "modelValue" | "validateEvent" | "tabindex" | "id" | "clearable" | "readonly" | "inputmode" | "autosize" | "autocomplete" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows">;
|
|
81
81
|
$attrs: {
|
|
82
82
|
[x: string]: unknown;
|
|
83
83
|
};
|
|
@@ -513,7 +513,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
513
513
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
514
514
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
515
515
|
onClear?: (() => any) | undefined;
|
|
516
|
-
}, "
|
|
516
|
+
}, "disabled" | "type" | "input" | "select" | "textarea" | "ref" | "blur" | "focus" | "autofocus" | "clear" | "modelValue" | "validateEvent" | "tabindex" | "id" | "clearable" | "readonly" | "inputmode" | "autosize" | "autocomplete" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
517
517
|
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
|
518
518
|
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
|
519
519
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
@@ -554,10 +554,8 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
554
554
|
readonly showWordLimit: boolean;
|
|
555
555
|
readonly autofocus: boolean;
|
|
556
556
|
}> & Omit<{
|
|
557
|
-
readonly rows: number;
|
|
558
|
-
readonly showWordLimit: boolean;
|
|
559
|
-
readonly type: string;
|
|
560
557
|
readonly disabled: boolean;
|
|
558
|
+
readonly type: string;
|
|
561
559
|
readonly autofocus: boolean;
|
|
562
560
|
readonly modelValue: string | number | null;
|
|
563
561
|
readonly validateEvent: boolean;
|
|
@@ -567,9 +565,10 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
567
565
|
readonly autosize: import('element-plus').InputAutoSize;
|
|
568
566
|
readonly autocomplete: string;
|
|
569
567
|
readonly showPassword: boolean;
|
|
568
|
+
readonly showWordLimit: boolean;
|
|
570
569
|
readonly inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
570
|
+
readonly rows: number;
|
|
571
571
|
readonly name?: string | undefined;
|
|
572
|
-
readonly maxlength?: (string | number) | undefined;
|
|
573
572
|
readonly form?: string | undefined;
|
|
574
573
|
readonly resize?: ("none" | "both" | "horizontal" | "vertical") | undefined;
|
|
575
574
|
readonly size?: ("" | "default" | "small" | "large") | undefined;
|
|
@@ -578,6 +577,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
578
577
|
readonly prefixIcon?: (string | import('vue').Component) | undefined;
|
|
579
578
|
readonly placeholder?: string | undefined;
|
|
580
579
|
readonly inputmode?: "none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined;
|
|
580
|
+
readonly maxlength?: (string | number) | undefined;
|
|
581
581
|
readonly minlength?: (string | number) | undefined;
|
|
582
582
|
readonly formatter?: Function | undefined;
|
|
583
583
|
readonly parser?: Function | undefined;
|
|
@@ -595,7 +595,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
595
595
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
596
596
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
597
597
|
onClear?: (() => any) | undefined | undefined;
|
|
598
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "
|
|
598
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "type" | "autofocus" | "modelValue" | "validateEvent" | "tabindex" | "id" | "clearable" | "readonly" | "inputmode" | "autosize" | "autocomplete" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows">;
|
|
599
599
|
$attrs: {
|
|
600
600
|
[x: string]: unknown;
|
|
601
601
|
};
|
|
@@ -1031,7 +1031,7 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
|
1031
1031
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
1032
1032
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
1033
1033
|
onClear?: (() => any) | undefined;
|
|
1034
|
-
}, "
|
|
1034
|
+
}, "disabled" | "type" | "input" | "select" | "textarea" | "ref" | "blur" | "focus" | "autofocus" | "clear" | "modelValue" | "validateEvent" | "tabindex" | "id" | "clearable" | "readonly" | "inputmode" | "autosize" | "autocomplete" | "showPassword" | "showWordLimit" | "containerRole" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
1035
1035
|
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
|
1036
1036
|
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
|
1037
1037
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
@@ -25,8 +25,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
27
|
}>> & Readonly<{}>, {
|
|
28
|
-
rows: number;
|
|
29
|
-
showWordLimit: boolean;
|
|
30
28
|
maxlength: string;
|
|
29
|
+
showWordLimit: boolean;
|
|
30
|
+
rows: number;
|
|
31
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
export default _default;
|