UNPKG

@opensig/opendesign

Version:

86 lines (85 loc) 2.76 kB
declare function __VLS_template(): { attrs: Partial<{}>; slots: { default?(_: {}): any; }; refs: {}; rootEl: any; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ readonly visible: { readonly type: BooleanConstructor; readonly default: undefined; }; readonly defaultVisible: { readonly type: BooleanConstructor; readonly default: true; }; readonly message: { readonly type: StringConstructor; }; readonly duration: { readonly type: NumberConstructor; }; readonly long: { readonly type: BooleanConstructor; }; readonly position: { readonly type: import('vue').PropType<import('./types').ToastPositionT>; readonly default: "bottom"; }; readonly beforeClose: { readonly type: import('vue').PropType<() => Promise<boolean> | boolean>; }; }>, { /** * 关闭即时反馈 */ close: (ev: MouseEvent) => Promise<void>; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { close: (ev?: MouseEvent | undefined) => any; "update:visible": (val: boolean) => any; "duration-end": () => any; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ readonly visible: { readonly type: BooleanConstructor; readonly default: undefined; }; readonly defaultVisible: { readonly type: BooleanConstructor; readonly default: true; }; readonly message: { readonly type: StringConstructor; }; readonly duration: { readonly type: NumberConstructor; }; readonly long: { readonly type: BooleanConstructor; }; readonly position: { readonly type: import('vue').PropType<import('./types').ToastPositionT>; readonly default: "bottom"; }; readonly beforeClose: { readonly type: import('vue').PropType<() => Promise<boolean> | boolean>; }; }>> & Readonly<{ onClose?: ((ev?: MouseEvent | undefined) => any) | undefined; "onUpdate:visible"?: ((val: boolean) => any) | undefined; "onDuration-end"?: (() => any) | undefined; }>, { readonly position: import('./types').ToastPositionT; readonly visible: boolean; readonly defaultVisible: boolean; readonly long: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };