@npmxiaowu/h-ui-plus
Version:
Vue3 中基于Element-plus二次封装基础组件文档
209 lines (208 loc) • 7 kB
TypeScript
declare const TCheckbox: ({
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
type: {
type: import("vue").PropType<"button" | "check">;
validator: (value: string) => boolean;
default: string;
};
options: {
type: any[];
default: () => never[];
};
size: {
type: import("vue").PropType<"default" | "large" | "small">;
validator: (value: string) => boolean;
default: string;
};
border: {
type: BooleanConstructor;
default: boolean;
};
props: {
type: ObjectConstructor;
default: () => {};
};
}>> & Readonly<{}>, {
checkProps: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
type: {
type: import("vue").PropType<"button" | "check">;
validator: (value: string) => boolean;
default: string;
};
options: {
type: any[];
default: () => never[];
};
size: {
type: import("vue").PropType<"default" | "large" | "small">;
validator: (value: string) => boolean;
default: string;
};
border: {
type: BooleanConstructor;
default: boolean;
};
props: {
type: ObjectConstructor;
default: () => {};
};
}>> & Readonly<{}> & {}>;
checkType: import("vue").ComputedRef<string>;
optionsProps: import("vue").Ref<{
value: string;
label: string;
disabled: string;
}, import("./src/checkbox").OptionsProps | {
value: string;
label: string;
disabled: string;
}>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
props: Record<string, any>;
type: "button" | "check";
border: boolean;
size: "default" | "large" | "small";
options: Date | null;
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<import("vue").ExtractPropTypes<{
type: {
type: import("vue").PropType<"button" | "check">;
validator: (value: string) => boolean;
default: string;
};
options: {
type: any[];
default: () => never[];
};
size: {
type: import("vue").PropType<"default" | "large" | "small">;
validator: (value: string) => boolean;
default: string;
};
border: {
type: BooleanConstructor;
default: boolean;
};
props: {
type: ObjectConstructor;
default: () => {};
};
}>> & Readonly<{}>, {
checkProps: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
type: {
type: import("vue").PropType<"button" | "check">;
validator: (value: string) => boolean;
default: string;
};
options: {
type: any[];
default: () => never[];
};
size: {
type: import("vue").PropType<"default" | "large" | "small">;
validator: (value: string) => boolean;
default: string;
};
border: {
type: BooleanConstructor;
default: boolean;
};
props: {
type: ObjectConstructor;
default: () => {};
};
}>> & Readonly<{}> & {}>;
checkType: import("vue").ComputedRef<string>;
optionsProps: import("vue").Ref<{
value: string;
label: string;
disabled: string;
}, import("./src/checkbox").OptionsProps | {
value: string;
label: string;
disabled: string;
}>;
}, {}, {}, {}, {
props: Record<string, any>;
type: "button" | "check";
border: boolean;
size: "default" | "large" | "small";
options: Date | null;
}>;
__isFragment?: undefined;
__isTeleport?: undefined;
__isSuspense?: undefined;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
type: {
type: import("vue").PropType<"button" | "check">;
validator: (value: string) => boolean;
default: string;
};
options: {
type: any[];
default: () => never[];
};
size: {
type: import("vue").PropType<"default" | "large" | "small">;
validator: (value: string) => boolean;
default: string;
};
border: {
type: BooleanConstructor;
default: boolean;
};
props: {
type: ObjectConstructor;
default: () => {};
};
}>> & Readonly<{}>, {
checkProps: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
type: {
type: import("vue").PropType<"button" | "check">;
validator: (value: string) => boolean;
default: string;
};
options: {
type: any[];
default: () => never[];
};
size: {
type: import("vue").PropType<"default" | "large" | "small">;
validator: (value: string) => boolean;
default: string;
};
border: {
type: BooleanConstructor;
default: boolean;
};
props: {
type: ObjectConstructor;
default: () => {};
};
}>> & Readonly<{}> & {}>;
checkType: import("vue").ComputedRef<string>;
optionsProps: import("vue").Ref<{
value: string;
label: string;
disabled: string;
}, import("./src/checkbox").OptionsProps | {
value: string;
label: string;
disabled: string;
}>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
props: Record<string, any>;
type: "button" | "check";
border: boolean;
size: "default" | "large" | "small";
options: Date | null;
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & {
label?: string | undefined;
}) & Record<string, any>;
export default TCheckbox;