UNPKG

11.5 kBTypeScriptView Raw
1import { App } from 'vue';
2import Group from './Group';
3import Button from './RadioButton';
4export { RadioChangeEventTarget, RadioChangeEvent } from './interface';
5export { Button, Group };
6declare const _default: ({
7 new (...args: any[]): {
8 $: import("vue").ComponentInternalInstance;
9 $data: {};
10 $props: Partial<{
11 onFocus: (...args: any[]) => any;
12 onBlur: (...args: any[]) => any;
13 onChange: (...args: any[]) => any;
14 prefixCls: string;
15 id: string;
16 type: string;
17 name: string;
18 }> & Pick<Readonly<{
19 onFocus: (...args: any[]) => any;
20 onBlur: (...args: any[]) => any;
21 onChange: (...args: any[]) => any;
22 prefixCls: string;
23 id: string;
24 type: string;
25 name: string;
26 } & {
27 disabled?: boolean;
28 value?: any;
29 autofocus?: boolean;
30 defaultChecked?: boolean;
31 checked?: boolean;
32 isGroup?: boolean;
33 }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "class" | "key" | "ref" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "disabled" | "value" | "autofocus" | "defaultChecked" | "checked" | "isGroup">;
34 $attrs: Record<string, unknown>;
35 $refs: Record<string, unknown>;
36 $slots: Readonly<{
37 [name: string]: import("vue").Slot;
38 }>;
39 $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
40 $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
41 $emit: (event: "blur" | "change" | "focus" | "update:value" | "update:checked", ...args: any[]) => void;
42 $el: any;
43 $options: import("vue").ComponentOptionsBase<Readonly<{
44 onFocus: (...args: any[]) => any;
45 onBlur: (...args: any[]) => any;
46 onChange: (...args: any[]) => any;
47 prefixCls: string;
48 id: string;
49 type: string;
50 name: string;
51 } & {
52 disabled?: boolean;
53 value?: any;
54 autofocus?: boolean;
55 defaultChecked?: boolean;
56 checked?: boolean;
57 isGroup?: boolean;
58 }>, {
59 configProvider: import("../config-provider").ConfigConsumerProps;
60 radioGroupContext: any;
61 }, unknown, {}, {
62 focus(): void;
63 blur(): void;
64 handleChange(event: import("./interface").RadioChangeEvent): void;
65 onChange2(e: import("./interface").RadioChangeEvent): void;
66 }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "update:value" | "update:checked")[], string, {
67 onFocus: (...args: any[]) => any;
68 onBlur: (...args: any[]) => any;
69 onChange: (...args: any[]) => any;
70 prefixCls: string;
71 id: string;
72 type: string;
73 name: string;
74 }>;
75 $forceUpdate: import("vue").ReactiveEffect<any>;
76 $nextTick: typeof import("vue").nextTick;
77 $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
78 } & Readonly<{
79 onFocus: (...args: any[]) => any;
80 onBlur: (...args: any[]) => any;
81 onChange: (...args: any[]) => any;
82 prefixCls: string;
83 id: string;
84 type: string;
85 name: string;
86 } & {
87 disabled?: boolean;
88 value?: any;
89 autofocus?: boolean;
90 defaultChecked?: boolean;
91 checked?: boolean;
92 isGroup?: boolean;
93 }> & import("vue").ShallowUnwrapRef<{
94 configProvider: import("../config-provider").ConfigConsumerProps;
95 radioGroupContext: any;
96 }> & {} & {
97 focus(): void;
98 blur(): void;
99 handleChange(event: import("./interface").RadioChangeEvent): void;
100 onChange2(e: import("./interface").RadioChangeEvent): void;
101 } & import("vue").ComponentCustomProperties;
102 __isFragment?: never;
103 __isTeleport?: never;
104 __isSuspense?: never;
105} & import("vue").ComponentOptionsBase<Readonly<{
106 onFocus: (...args: any[]) => any;
107 onBlur: (...args: any[]) => any;
108 onChange: (...args: any[]) => any;
109 prefixCls: string;
110 id: string;
111 type: string;
112 name: string;
113} & {
114 disabled?: boolean;
115 value?: any;
116 autofocus?: boolean;
117 defaultChecked?: boolean;
118 checked?: boolean;
119 isGroup?: boolean;
120}>, {
121 configProvider: import("../config-provider").ConfigConsumerProps;
122 radioGroupContext: any;
123}, unknown, {}, {
124 focus(): void;
125 blur(): void;
126 handleChange(event: import("./interface").RadioChangeEvent): void;
127 onChange2(e: import("./interface").RadioChangeEvent): void;
128}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "update:value" | "update:checked")[], "blur" | "change" | "focus" | "update:value" | "update:checked", {
129 onFocus: (...args: any[]) => any;
130 onBlur: (...args: any[]) => any;
131 onChange: (...args: any[]) => any;
132 prefixCls: string;
133 id: string;
134 type: string;
135 name: string;
136}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & ((app: App<any>, ...options: any[]) => any) & {
137 install?: (app: App<any>, ...options: any[]) => any;
138} & {
139 readonly Group: typeof Group;
140 readonly Button: typeof Button;
141}) | ({
142 new (...args: any[]): {
143 $: import("vue").ComponentInternalInstance;
144 $data: {};
145 $props: Partial<{
146 onFocus: (...args: any[]) => any;
147 onBlur: (...args: any[]) => any;
148 onChange: (...args: any[]) => any;
149 prefixCls: string;
150 id: string;
151 type: string;
152 name: string;
153 }> & Pick<Readonly<{
154 onFocus: (...args: any[]) => any;
155 onBlur: (...args: any[]) => any;
156 onChange: (...args: any[]) => any;
157 prefixCls: string;
158 id: string;
159 type: string;
160 name: string;
161 } & {
162 disabled?: boolean;
163 value?: any;
164 autofocus?: boolean;
165 defaultChecked?: boolean;
166 checked?: boolean;
167 isGroup?: boolean;
168 }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "class" | "key" | "ref" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "disabled" | "value" | "autofocus" | "defaultChecked" | "checked" | "isGroup">;
169 $attrs: Record<string, unknown>;
170 $refs: Record<string, unknown>;
171 $slots: Readonly<{
172 [name: string]: import("vue").Slot;
173 }>;
174 $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
175 $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
176 $emit: (event: "blur" | "change" | "focus" | "update:value" | "update:checked", ...args: any[]) => void;
177 $el: any;
178 $options: import("vue").ComponentOptionsBase<Readonly<{
179 onFocus: (...args: any[]) => any;
180 onBlur: (...args: any[]) => any;
181 onChange: (...args: any[]) => any;
182 prefixCls: string;
183 id: string;
184 type: string;
185 name: string;
186 } & {
187 disabled?: boolean;
188 value?: any;
189 autofocus?: boolean;
190 defaultChecked?: boolean;
191 checked?: boolean;
192 isGroup?: boolean;
193 }>, {
194 configProvider: import("../config-provider").ConfigConsumerProps;
195 radioGroupContext: any;
196 }, unknown, {}, {
197 focus(): void;
198 blur(): void;
199 handleChange(event: import("./interface").RadioChangeEvent): void;
200 onChange2(e: import("./interface").RadioChangeEvent): void;
201 }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "update:value" | "update:checked")[], string, {
202 onFocus: (...args: any[]) => any;
203 onBlur: (...args: any[]) => any;
204 onChange: (...args: any[]) => any;
205 prefixCls: string;
206 id: string;
207 type: string;
208 name: string;
209 }>;
210 $forceUpdate: import("vue").ReactiveEffect<any>;
211 $nextTick: typeof import("vue").nextTick;
212 $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
213 } & Readonly<{
214 onFocus: (...args: any[]) => any;
215 onBlur: (...args: any[]) => any;
216 onChange: (...args: any[]) => any;
217 prefixCls: string;
218 id: string;
219 type: string;
220 name: string;
221 } & {
222 disabled?: boolean;
223 value?: any;
224 autofocus?: boolean;
225 defaultChecked?: boolean;
226 checked?: boolean;
227 isGroup?: boolean;
228 }> & import("vue").ShallowUnwrapRef<{
229 configProvider: import("../config-provider").ConfigConsumerProps;
230 radioGroupContext: any;
231 }> & {} & {
232 focus(): void;
233 blur(): void;
234 handleChange(event: import("./interface").RadioChangeEvent): void;
235 onChange2(e: import("./interface").RadioChangeEvent): void;
236 } & import("vue").ComponentCustomProperties;
237 __isFragment?: never;
238 __isTeleport?: never;
239 __isSuspense?: never;
240} & import("vue").ComponentOptionsBase<Readonly<{
241 onFocus: (...args: any[]) => any;
242 onBlur: (...args: any[]) => any;
243 onChange: (...args: any[]) => any;
244 prefixCls: string;
245 id: string;
246 type: string;
247 name: string;
248} & {
249 disabled?: boolean;
250 value?: any;
251 autofocus?: boolean;
252 defaultChecked?: boolean;
253 checked?: boolean;
254 isGroup?: boolean;
255}>, {
256 configProvider: import("../config-provider").ConfigConsumerProps;
257 radioGroupContext: any;
258}, unknown, {}, {
259 focus(): void;
260 blur(): void;
261 handleChange(event: import("./interface").RadioChangeEvent): void;
262 onChange2(e: import("./interface").RadioChangeEvent): void;
263}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "update:value" | "update:checked")[], "blur" | "change" | "focus" | "update:value" | "update:checked", {
264 onFocus: (...args: any[]) => any;
265 onBlur: (...args: any[]) => any;
266 onChange: (...args: any[]) => any;
267 prefixCls: string;
268 id: string;
269 type: string;
270 name: string;
271}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
272 install: (app: App<any>, ...options: any[]) => any;
273} & {
274 readonly Group: typeof Group;
275 readonly Button: typeof Button;
276});
277export default _default;