UNPKG

t-fighting-design

Version:

Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.

72 lines (71 loc) 2.58 kB
import type { RadioChangeInterface, RadioGroundInterface } from '../radio-group'; import type { RadioLabelType } from '..'; import type { DefineComponent, PropType, Ref, WritableComputedRef, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue'; import type { InstallType, OrdinaryFunctionInterface, ClassListInterface } from '../_interface'; import Radio from "./src/radio"; export declare const FRadio: InstallType<DefineComponent<{ readonly disabled: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly modelValue: { readonly type: PropType<RadioLabelType>; readonly default: () => string; }; readonly name: { readonly type: StringConstructor; readonly default: () => string; }; readonly label: { readonly type: PropType<RadioLabelType>; readonly default: () => string; }; readonly change: { readonly type: PropType<RadioChangeInterface>; readonly default: () => null; }; }, { prop: { readonly disabled?: unknown; readonly modelValue?: unknown; readonly name?: unknown; readonly label?: unknown; readonly change?: unknown; } & { disabled: boolean; name: string; modelValue: RadioLabelType; label: RadioLabelType; change: RadioChangeInterface; } & {}; emit: (event: "update:modelValue", val: RadioLabelType) => void; radioGroup: Ref<RadioGroundInterface | null>; loadParentInject: OrdinaryFunctionInterface; modelValue: WritableComputedRef<RadioLabelType>; classList: ComputedRef<ClassListInterface>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { readonly 'update:modelValue': (val: RadioLabelType) => boolean; }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly disabled?: unknown; readonly modelValue?: unknown; readonly name?: unknown; readonly label?: unknown; readonly change?: unknown; } & { disabled: boolean; name: string; modelValue: RadioLabelType; label: RadioLabelType; change: RadioChangeInterface; } & {}> & { "onUpdate:modelValue"?: ((val: RadioLabelType) => any) | undefined; }, { disabled: boolean; name: string; modelValue: RadioLabelType; label: RadioLabelType; change: RadioChangeInterface; }>>; export declare type RadioInstance = InstanceType<typeof Radio>; export * from './src/interface.d'; export default Radio;