@npmxiaowu/h-ui-plus
Version:
Vue3 中基于Element-plus二次封装基础组件文档
92 lines (91 loc) • 2.65 kB
TypeScript
import type { PropType } from "vue";
import type { OptionsProps } from "./checkbox";
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
type: {
type: PropType<"button" | "check">;
validator: (value: string) => boolean;
default: string;
};
options: {
type: any[];
default: () => never[];
};
size: {
type: PropType<"default" | "large" | "small">;
validator: (value: string) => boolean;
default: string;
};
border: {
type: BooleanConstructor;
default: boolean;
};
props: {
type: ObjectConstructor;
default: () => {};
};
}>, {
checkProps: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
type: {
type: PropType<"button" | "check">;
validator: (value: string) => boolean;
default: string;
};
options: {
type: any[];
default: () => never[];
};
size: {
type: 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;
}, OptionsProps | {
value: string;
label: string;
disabled: string;
}>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
type: {
type: PropType<"button" | "check">;
validator: (value: string) => boolean;
default: string;
};
options: {
type: any[];
default: () => never[];
};
size: {
type: PropType<"default" | "large" | "small">;
validator: (value: string) => boolean;
default: string;
};
border: {
type: BooleanConstructor;
default: boolean;
};
props: {
type: ObjectConstructor;
default: () => {};
};
}>> & Readonly<{}>, {
props: Record<string, any>;
type: "button" | "check";
border: boolean;
size: "default" | "large" | "small";
options: Date | null;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _sfc_main;