t-ui-plus
Version:
Page level components developed based on Element Plus.
106 lines (105 loc) • 3.46 kB
TypeScript
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
export declare const TCheckbox: {
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
type: {
type: PropType<"check" | "button">;
validator: (value: string) => boolean;
default: string;
};
options: {
type: any;
default: () => never[];
};
size: {
type: PropType<"large" | "default" | "small">;
validator: (value: string) => boolean;
default: string;
};
border: {
type: BooleanConstructor;
default: boolean;
};
props: {
type: ObjectConstructor;
default: () => {};
};
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
props: Record<string, any>;
type: "button" | "check";
size: "default" | "small" | "large";
border: boolean;
options: any;
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly< ExtractPropTypes<{
type: {
type: PropType<"check" | "button">;
validator: (value: string) => boolean;
default: string;
};
options: {
type: any;
default: () => never[];
};
size: {
type: PropType<"large" | "default" | "small">;
validator: (value: string) => boolean;
default: string;
};
border: {
type: BooleanConstructor;
default: boolean;
};
props: {
type: ObjectConstructor;
default: () => {};
};
}>> & Readonly<{}>, {}, {}, {}, {}, {
props: Record<string, any>;
type: "button" | "check";
size: "default" | "small" | "large";
border: boolean;
options: any;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
type: {
type: PropType<"check" | "button">;
validator: (value: string) => boolean;
default: string;
};
options: {
type: any;
default: () => never[];
};
size: {
type: PropType<"large" | "default" | "small">;
validator: (value: string) => boolean;
default: string;
};
border: {
type: BooleanConstructor;
default: boolean;
};
props: {
type: ObjectConstructor;
default: () => {};
};
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
props: Record<string, any>;
type: "button" | "check";
size: "default" | "small" | "large";
border: boolean;
options: any;
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
$slots: Partial<Record<any, (_: any) => any>> & {
default?(_: {}): any;
};
});