UNPKG

3.85 kBTypeScriptView Raw
1import { sizePropValidator } from '../../mixins';
2import { Classes, InputElementEvent } from '../../types';
3declare const _default: import("vue").DefineComponent<{
4 /**
5 * The color variant of the radio
6 * @type light | dark
7 * @default light
8 * @name color
9 */
10 color: {
11 type: StringConstructor;
12 default: () => string;
13 };
14 /**
15 * The disabled state of the radio
16 * @type Boolean
17 * @default false
18 * @name disabled
19 */
20 disabled: {
21 type: BooleanConstructor;
22 default: boolean;
23 };
24 /**
25 * The indeterminate state of the radio
26 * @type Boolean
27 * @default false
28 * @name indeterminate
29 */
30 indeterminate: {
31 type: BooleanConstructor;
32 default: boolean;
33 };
34 /**
35 * Used to set the radio value when used inside a radio group
36 * @default ''
37 * @name value
38 */
39 value: {
40 default: string;
41 };
42 /**
43 * Used to set the radio value when used by itself
44 * @default false
45 * @name modelValue
46 */
47 modelValue: {
48 default: boolean;
49 };
50 /**
51 * The unique identifier of the radio
52 * @type String
53 * @default uid()
54 * @name name
55 */
56 name: {
57 type: (StringConstructor | NumberConstructor)[];
58 default(): string;
59 };
60 /**
61 * Displays the native browser radio input indicator
62 * @type Boolean
63 * @default false
64 * @name native
65 */
66 native: {
67 type: BooleanConstructor;
68 default: boolean;
69 };
70 /**
71 * The readonly state of the radio
72 * @type Boolean
73 * @default false
74 * @name readonly
75 */
76 readonly: {
77 type: BooleanConstructor;
78 default: boolean;
79 };
80 /**
81 * The size variant of the radio
82 * @type sm | md | lg
83 * @default md
84 * @name size
85 */
86 size: {
87 type: StringConstructor;
88 default: () => string;
89 validator: typeof sizePropValidator;
90 };
91 /**
92 * The tabindex of the radio
93 * @type Number | String
94 * @default 0
95 * @name tabindex
96 */
97 tabindex: {
98 type: (StringConstructor | NumberConstructor)[];
99 default: number;
100 };
101}, unknown, unknown, {
102 classes(): Classes;
103 checked(): boolean;
104 tabIndex(): number | string;
105}, {
106 clickInputRef(): void;
107 onChange(event: InputElementEvent): void;
108 onBlur(event: InputElementEvent): void;
109}, import("vue").DefineComponent<{}, {}, {}, {
110 isDisabled(): boolean;
111 isReadonly(): boolean;
112 parent(): any;
113 schema(): any;
114}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
115 color?: unknown;
116 disabled?: unknown;
117 indeterminate?: unknown;
118 value?: unknown;
119 modelValue?: unknown;
120 name?: unknown;
121 native?: unknown;
122 readonly?: unknown;
123 size?: unknown;
124 tabindex?: unknown;
125} & {
126 value: string;
127 name: string | number;
128 color: string;
129 size: string;
130 modelValue: boolean;
131 disabled: boolean;
132 tabindex: string | number;
133 indeterminate: boolean;
134 native: boolean;
135 readonly: boolean;
136} & {}> & {
137 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
138}, {
139 value: string;
140 name: string | number;
141 color: string;
142 size: string;
143 modelValue: boolean;
144 disabled: boolean;
145 tabindex: string | number;
146 indeterminate: boolean;
147 native: boolean;
148 readonly: boolean;
149}>;
150export default _default;
151
\No newline at end of file