@qvant/qui-max
Version:
A Vue 3 Design system for Web.
68 lines (67 loc) • 2.1 kB
TypeScript
import type { QCheckboxGroupPropDirection } from './src/types';
import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
import type { SFCWithInstall } from '../../../types/helpers';
export declare const QCheckboxGroup: SFCWithInstall<DefineComponent<{
modelValue: {
type: PropType<string[]>;
default: () => [];
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
min: {
type: NumberConstructor;
default: number;
};
max: {
type: NumberConstructor;
default: number;
};
tag: {
type: StringConstructor;
default: string;
};
direction: {
type: PropType<QCheckboxGroupPropDirection>;
default: string;
validator: (value: QCheckboxGroupPropDirection) => boolean;
};
}, void, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
modelValue: {
type: PropType<string[]>;
default: () => [];
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
min: {
type: NumberConstructor;
default: number;
};
max: {
type: NumberConstructor;
default: number;
};
tag: {
type: StringConstructor;
default: string;
};
direction: {
type: PropType<QCheckboxGroupPropDirection>;
default: string;
validator: (value: QCheckboxGroupPropDirection) => boolean;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
}, {
disabled: boolean;
modelValue: string[];
min: number;
max: number;
tag: string;
direction: QCheckboxGroupPropDirection;
}>>;
export type { QCheckboxGroupProps, QCheckboxGroupProvider, QCheckboxGroupInstance } from './src/types';