UNPKG

t-fighting-design

Version:

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

88 lines (87 loc) 3.07 kB
import type { CheckboxGroupChangeInterface } from '../checkbox-group'; import type { CheckboxGroupSizeType, CheckboxGroupLabelType } from '..'; import type { CheckboxLabelType } from './src/interface.d'; import type { DefineComponent, Ref, ComputedRef, WritableComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue'; import type { InstallType, ClassListInterface } from '../_interface'; import Checkbox from "./src/checkbox"; export declare const FCheckbox: InstallType<DefineComponent<{ readonly modelValue: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly label: { readonly type: StringConstructor; readonly default: () => string; }; readonly disabled: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly border: { readonly type: BooleanConstructor; readonly default: () => boolean; }; }, { prop: { readonly modelValue?: unknown; readonly label?: unknown; readonly disabled?: unknown; readonly border?: unknown; } & { disabled: boolean; border: boolean; modelValue: boolean; label: string; } & {}; emit: (event: "update:modelValue", val: CheckboxLabelType) => void; groupProps: Ref<({ readonly modelValue?: unknown; readonly disabled?: unknown; readonly vertical?: unknown; readonly label?: unknown; readonly changeEvent?: unknown; readonly border?: unknown; readonly size?: unknown; readonly columnGap?: unknown; readonly rowGap?: unknown; readonly change?: unknown; } & { size: CheckboxGroupSizeType; disabled: boolean; vertical: boolean; border: boolean; modelValue: CheckboxGroupLabelType; label: string; changeEvent: Function; columnGap: string | number; rowGap: string | number; change: CheckboxGroupChangeInterface; } & {}) | null>; getGroupInject: () => void; isGroup: ComputedRef<boolean>; modelValue: WritableComputedRef<CheckboxGroupLabelType>; isChecked: ComputedRef<boolean>; classList: ComputedRef<ClassListInterface>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { readonly 'update:modelValue': (val: CheckboxLabelType) => boolean; }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly modelValue?: unknown; readonly label?: unknown; readonly disabled?: unknown; readonly border?: unknown; } & { disabled: boolean; border: boolean; modelValue: boolean; label: string; } & {}> & { "onUpdate:modelValue"?: ((val: CheckboxLabelType) => any) | undefined; }, { disabled: boolean; border: boolean; modelValue: boolean; label: string; }>>; export declare type CheckboxInstance = InstanceType<typeof Checkbox>; export * from './src/interface.d'; export default Checkbox;