t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
84 lines (83 loc) • 2.88 kB
TypeScript
import type { CheckboxLabelType } from './interface';
import type { ClassListInterface as c } from '../../_interface';
import type { CheckboxGroupSizeType, CheckboxGroupChangeInterface, CheckboxGroupLabelType } from '../../checkbox-group/src/interface';
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComputedRef, Ref, WritableComputedRef } from 'vue';
declare const _sfc_main: 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<c>;
}, 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 default _sfc_main;