easyest-xqp
Version:
33 lines (32 loc) • 1.32 kB
TypeScript
/**
* 给每个组件添加一个 install 方法
*/
export declare const Menu: import("utils-xqp").SFCWithInstall<import("vue").DefineComponent<{
readonly visible: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly menuItems: {
readonly type: import("vue").PropType<import("./menu").IMenuItem[]>;
readonly default: readonly [];
};
}, {
ref: import("vue").Ref<HTMLDivElement | undefined>;
menuItems: import("vue").ComputedRef<import("./menu").IMenuItem[]>;
visible: import("vue").ComputedRef<boolean>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
readonly visible: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly menuItems: {
readonly type: import("vue").PropType<import("./menu").IMenuItem[]>;
readonly default: readonly [];
};
}>> & {
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
}, {
readonly visible: boolean;
readonly menuItems: import("./menu").IMenuItem[];
}>> & Record<string, any>;
export default Menu;