@squirrel-cloud/ui-vue
Version:
松鼠的坚果屋前端VUE框架
42 lines (41 loc) • 1.4 kB
TypeScript
import { PopoverProps } from '../../props';
type __VLS_Props = PopoverProps;
type __VLS_PublicProps = {
'visible'?: boolean;
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
reference?(_: {}): any;
default?(_: {}): any;
};
refs: {
triggerRef: HTMLSpanElement;
popverRef: HTMLDivElement;
};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:visible": (value: boolean) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
}>, {
transition: string;
placement: import('../..').PopoverPlacement;
offset: number;
teleported: boolean;
trigger: import('../..').PopoverTrigger;
showAfter: number;
hideAfter: number;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
triggerRef: HTMLSpanElement;
popverRef: HTMLDivElement;
}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};