UNPKG

3.43 kBTypeScriptView Raw
1import { type ExtractPropTypes } from 'vue';
2export declare const rateProps: {
3 size: (NumberConstructor | StringConstructor)[];
4 icon: {
5 type: import("vue").PropType<string>;
6 default: string;
7 };
8 color: StringConstructor;
9 count: {
10 type: (NumberConstructor | StringConstructor)[];
11 default: number;
12 };
13 gutter: (NumberConstructor | StringConstructor)[];
14 clearable: BooleanConstructor;
15 readonly: BooleanConstructor;
16 disabled: BooleanConstructor;
17 voidIcon: {
18 type: import("vue").PropType<string>;
19 default: string;
20 };
21 allowHalf: BooleanConstructor;
22 voidColor: StringConstructor;
23 touchable: {
24 type: BooleanConstructor;
25 default: true;
26 };
27 iconPrefix: StringConstructor;
28 modelValue: {
29 type: NumberConstructor;
30 default: number;
31 };
32 disabledColor: StringConstructor;
33};
34export type RateProps = ExtractPropTypes<typeof rateProps>;
35declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
36 size: (NumberConstructor | StringConstructor)[];
37 icon: {
38 type: import("vue").PropType<string>;
39 default: string;
40 };
41 color: StringConstructor;
42 count: {
43 type: (NumberConstructor | StringConstructor)[];
44 default: number;
45 };
46 gutter: (NumberConstructor | StringConstructor)[];
47 clearable: BooleanConstructor;
48 readonly: BooleanConstructor;
49 disabled: BooleanConstructor;
50 voidIcon: {
51 type: import("vue").PropType<string>;
52 default: string;
53 };
54 allowHalf: BooleanConstructor;
55 voidColor: StringConstructor;
56 touchable: {
57 type: BooleanConstructor;
58 default: true;
59 };
60 iconPrefix: StringConstructor;
61 modelValue: {
62 type: NumberConstructor;
63 default: number;
64 };
65 disabledColor: StringConstructor;
66}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<ExtractPropTypes<{
67 size: (NumberConstructor | StringConstructor)[];
68 icon: {
69 type: import("vue").PropType<string>;
70 default: string;
71 };
72 color: StringConstructor;
73 count: {
74 type: (NumberConstructor | StringConstructor)[];
75 default: number;
76 };
77 gutter: (NumberConstructor | StringConstructor)[];
78 clearable: BooleanConstructor;
79 readonly: BooleanConstructor;
80 disabled: BooleanConstructor;
81 voidIcon: {
82 type: import("vue").PropType<string>;
83 default: string;
84 };
85 allowHalf: BooleanConstructor;
86 voidColor: StringConstructor;
87 touchable: {
88 type: BooleanConstructor;
89 default: true;
90 };
91 iconPrefix: StringConstructor;
92 modelValue: {
93 type: NumberConstructor;
94 default: number;
95 };
96 disabledColor: StringConstructor;
97}>> & Readonly<{
98 onChange?: ((...args: any[]) => any) | undefined;
99 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
100}>, {
101 disabled: boolean;
102 icon: string;
103 clearable: boolean;
104 modelValue: number;
105 readonly: boolean;
106 touchable: boolean;
107 count: string | number;
108 voidIcon: string;
109 allowHalf: boolean;
110}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
111export default _default;
112
\No newline at end of file