yanzhen-design-vue
Version:
104 lines (103 loc) • 5.54 kB
TypeScript
import { ExtractPropTypes } from 'vue';
import { ExtractEmitsTypes } from '@yanzhen-libs/utils-vue';
export declare const radioGroupOptions: {
ns: any;
class: any;
name: any;
};
export declare const radioGroupName: any;
export declare const AntRadioGroup: {
props: {
prefixCls: StringConstructor;
value: import('vue-types').VueTypeValidableDef<any>;
size: {
type: import('vue').PropType<"default" | "small" | "large">;
default: "default" | "small" | "large";
};
options: {
type: import('vue').PropType<(string | number | import('ant-design-vue/es/radio/Group').RadioGroupChildOption)[]>;
default: (string | number | import('ant-design-vue/es/radio/Group').RadioGroupChildOption)[];
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
name: StringConstructor;
buttonStyle: {
type: import('vue').PropType<import('ant-design-vue/es/radio/interface').RadioGroupButtonStyle>;
default: import('ant-design-vue/es/radio/interface').RadioGroupButtonStyle;
};
id: StringConstructor;
optionType: {
type: import('vue').PropType<import('ant-design-vue/es/radio/interface').RadioGroupOptionType>;
default: import('ant-design-vue/es/radio/interface').RadioGroupOptionType;
};
};
emits: {
change: (e: import('ant-design-vue').RadioChangeEvent) => void;
"update:value": (val: any) => void;
};
};
export declare const radioGroupProps: {
type: import('@yanzhen-libs/utils-vue').EpPropFinalized<StringConstructor, string, unknown, string, boolean>;
options: {
readonly type: import('vue').PropType<import('@yanzhen-libs/utils-vue').ExtractOptionType<"value" | "label" | "disabled" | "children">[]>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
valueKey: {
readonly type: import('vue').PropType<import('@yanzhen-libs/utils-vue').EpPropMergeType<import('vue').PropType<string>, import('@yanzhen-libs/utils-vue').EpOptionKey<"value" | "label" | "disabled" | "children">, never>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
labelKey: {
readonly type: import('vue').PropType<import('@yanzhen-libs/utils-vue').EpPropMergeType<import('vue').PropType<string>, import('@yanzhen-libs/utils-vue').EpOptionKey<"value" | "label" | "disabled" | "children">, never>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
disabledKey: {
readonly type: import('vue').PropType<import('@yanzhen-libs/utils-vue').EpPropMergeType<import('vue').PropType<string>, import('@yanzhen-libs/utils-vue').EpOptionKey<"value" | "label" | "disabled" | "children">, never>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
childrenKey: {
readonly type: import('vue').PropType<import('@yanzhen-libs/utils-vue').EpPropMergeType<import('vue').PropType<string>, import('@yanzhen-libs/utils-vue').EpOptionKey<"value" | "label" | "disabled" | "children">, never>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
prefixCls: {
type: StringConstructor;
};
value: {
readonly type: import('vue').PropType<any>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
size: import('@yanzhen-libs/utils-vue').EpPropFinalized<import('vue').PropType<"default" | "small" | "large">, unknown, unknown, "default" | "small" | "large", boolean>;
disabled: import('@yanzhen-libs/utils-vue').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
name: {
type: StringConstructor;
};
buttonStyle: import('@yanzhen-libs/utils-vue').EpPropFinalized<import('vue').PropType<import('ant-design-vue/es/radio/interface').RadioGroupButtonStyle>, unknown, unknown, import('ant-design-vue/es/radio/interface').RadioGroupButtonStyle, boolean>;
id: {
type: StringConstructor;
};
optionType: import('@yanzhen-libs/utils-vue').EpPropFinalized<import('vue').PropType<import('ant-design-vue/es/radio/interface').RadioGroupOptionType>, unknown, unknown, import('ant-design-vue/es/radio/interface').RadioGroupOptionType, boolean>;
onChange: import('@yanzhen-libs/utils-vue').EpPropFinalized<import('vue').PropType<(e: import('ant-design-vue').RadioChangeEvent) => void>, unknown, unknown, (e: import('ant-design-vue').RadioChangeEvent) => void, boolean>;
'onUpdate:value': import('@yanzhen-libs/utils-vue').EpPropFinalized<import('vue').PropType<(val: any) => void>, unknown, unknown, (val: any) => void, boolean>;
};
export declare const radioGroupEmits: {
blur: (e: MouseEvent) => boolean;
focus: (e: MouseEvent) => boolean;
change: (e: import('ant-design-vue').RadioChangeEvent) => boolean;
"update:value": (val: any) => boolean;
};
export type RadioGroupProps = ExtractPropTypes<typeof radioGroupProps>;
export type RadioGroupPropsKey = keyof RadioGroupProps;
export type RadioGroupEmits = ExtractEmitsTypes<typeof radioGroupEmits>;