@fesjs/fes-design
Version:
fes-design for PC
163 lines (162 loc) • 5.46 kB
TypeScript
declare const Drawer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
readonly show: BooleanConstructor;
readonly displayDirective: {
readonly type: import("vue").PropType<"show" | "if">;
readonly default: "show";
};
readonly closable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly mask: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly maskClosable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly escClosable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly operable: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly title: StringConstructor;
readonly okText: StringConstructor;
readonly okLoading: BooleanConstructor;
readonly cancelText: StringConstructor;
readonly showCancel: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly dimension: {
readonly type: import("vue").PropType<string | number>;
};
readonly width: {
readonly type: import("vue").PropType<string | number>;
};
readonly height: {
readonly type: import("vue").PropType<string | number>;
};
readonly footer: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly footerBorder: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly getContainer: {
readonly type: FunctionConstructor;
};
readonly placement: {
readonly type: import("vue").PropType<import("./props").DrawerPlacement>;
readonly default: "right";
};
readonly contentClass: StringConstructor;
readonly wrapperClass: StringConstructor;
readonly resizable: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly resizeMax: {
readonly type: import("vue").PropType<string | number>;
};
readonly resizeMin: {
readonly type: import("vue").PropType<string | number>;
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "update:show" | "ok" | "after-enter" | "after-leave")[], "cancel" | "update:show" | "ok" | "after-enter" | "after-leave", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
readonly show: BooleanConstructor;
readonly displayDirective: {
readonly type: import("vue").PropType<"show" | "if">;
readonly default: "show";
};
readonly closable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly mask: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly maskClosable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly escClosable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly operable: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly title: StringConstructor;
readonly okText: StringConstructor;
readonly okLoading: BooleanConstructor;
readonly cancelText: StringConstructor;
readonly showCancel: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly dimension: {
readonly type: import("vue").PropType<string | number>;
};
readonly width: {
readonly type: import("vue").PropType<string | number>;
};
readonly height: {
readonly type: import("vue").PropType<string | number>;
};
readonly footer: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly footerBorder: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly getContainer: {
readonly type: FunctionConstructor;
};
readonly placement: {
readonly type: import("vue").PropType<import("./props").DrawerPlacement>;
readonly default: "right";
};
readonly contentClass: StringConstructor;
readonly wrapperClass: StringConstructor;
readonly resizable: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly resizeMax: {
readonly type: import("vue").PropType<string | number>;
};
readonly resizeMin: {
readonly type: import("vue").PropType<string | number>;
};
}>> & Readonly<{
onCancel?: (...args: any[]) => any;
"onUpdate:show"?: (...args: any[]) => any;
onOk?: (...args: any[]) => any;
"onAfter-enter"?: (...args: any[]) => any;
"onAfter-leave"?: (...args: any[]) => any;
}>, {
readonly closable: boolean;
readonly footer: boolean;
readonly show: boolean;
readonly placement: import("./props").DrawerPlacement;
readonly displayDirective: "show" | "if";
readonly mask: boolean;
readonly maskClosable: boolean;
readonly escClosable: boolean;
readonly operable: boolean;
readonly showCancel: boolean;
readonly footerBorder: boolean;
readonly resizable: boolean;
readonly okLoading: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default Drawer;