hongluan-ui
Version:
Hongluan Component Library for Vue 3
95 lines (94 loc) • 2.56 kB
TypeScript
import type { ExtractPropTypes } from 'vue';
import type RadioGroup from './radio-group.vue';
export declare const radioGroupProps: {
ariaLabel: StringConstructor;
dir: {
type: import("vue").PropType<"horizontal" | "vertical">;
default: string;
};
merge: {
type: BooleanConstructor;
default: boolean;
};
deepMerge: {
type: BooleanConstructor;
default: boolean;
};
indent: {
type: (BooleanConstructor | StringConstructor)[];
default: boolean;
};
gap: StringConstructor;
gapX: StringConstructor;
gapY: StringConstructor;
full: {
type: (BooleanConstructor | StringConstructor)[];
default: boolean;
};
wrap: {
type: BooleanConstructor;
default: boolean;
};
align: {
type: StringConstructor;
default: string;
};
block: {
type: BooleanConstructor;
default: boolean;
};
size: {
type: import("vue").PropType<"xxxs" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl">;
validator: (val: string) => boolean;
};
disabled: BooleanConstructor;
fill: BooleanConstructor;
type: {
type: import("vue").PropType<"success" | "info" | "warning" | "danger" | "link" | "primary">;
validator: (val: string) => boolean;
};
/**
* @description native `id` attribute
*/
id: {
type: StringConstructor;
default: any;
};
/**
* @description binding value
*/
modelValue: {
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
default: any;
};
bold: BooleanConstructor;
custom: BooleanConstructor;
/**
* @deprecated same as `aria-label` in RadioGroup
*/
label: {
type: StringConstructor;
default: any;
};
/**
* @description native `name` attribute
*/
name: {
type: StringConstructor;
default: any;
};
/**
* @description whether to trigger form validation
*/
validateEvent: {
type: BooleanConstructor;
default: boolean;
};
};
export declare type RadioGroupProps = ExtractPropTypes<typeof radioGroupProps>;
export declare const radioGroupEmits: {
"update:modelValue": (val: string | number | boolean) => boolean;
change: (val: string | number | boolean) => boolean;
};
export declare type RadioGroupEmits = typeof radioGroupEmits;
export declare type RadioGroupInstance = InstanceType<typeof RadioGroup>;