UNPKG

1.86 kBTypeScriptView Raw
1import { type PropType, type ExtractPropTypes } from 'vue';
2import { type CheckerShape, type CheckerLabelPosition } from '../checkbox/Checker';
3export type RadioShape = CheckerShape | 'dot';
4export declare const radioProps: {
5 name: PropType<unknown>;
6 disabled: BooleanConstructor;
7 iconSize: (NumberConstructor | StringConstructor)[];
8 modelValue: PropType<unknown>;
9 checkedColor: StringConstructor;
10 labelPosition: PropType<CheckerLabelPosition>;
11 labelDisabled: BooleanConstructor;
12} & {
13 shape: PropType<RadioShape>;
14};
15export type RadioLabelPosition = CheckerLabelPosition;
16export type RadioProps = ExtractPropTypes<typeof radioProps>;
17declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
18 name: PropType<unknown>;
19 disabled: BooleanConstructor;
20 iconSize: (NumberConstructor | StringConstructor)[];
21 modelValue: PropType<unknown>;
22 checkedColor: StringConstructor;
23 labelPosition: PropType<CheckerLabelPosition>;
24 labelDisabled: BooleanConstructor;
25} & {
26 shape: PropType<RadioShape>;
27}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<ExtractPropTypes<{
28 name: PropType<unknown>;
29 disabled: BooleanConstructor;
30 iconSize: (NumberConstructor | StringConstructor)[];
31 modelValue: PropType<unknown>;
32 checkedColor: StringConstructor;
33 labelPosition: PropType<CheckerLabelPosition>;
34 labelDisabled: BooleanConstructor;
35} & {
36 shape: PropType<RadioShape>;
37}>> & Readonly<{
38 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
39}>, {
40 disabled: boolean;
41 labelDisabled: boolean;
42}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
43export default _default;
44
\No newline at end of file