sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
26 lines (25 loc) • 1.16 kB
TypeScript
import { type MenuOption } from '../menu/common';
import { type PopoverProps, type PopoverSlots } from './common';
declare function __VLS_template(): Readonly<PopoverSlots> & PopoverSlots;
declare const __VLS_component: import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
select: (option: MenuOption) => any;
"update:visible": (visible: boolean) => any;
}, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
onSelect?: ((option: MenuOption) => any) | undefined;
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
}>, {
theme: "dark" | "light";
direction: "vertical" | "horizontal";
position: import("./utils").Position;
duration: number;
refGap: number;
viewportGap: number;
transparent: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};