UNPKG

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