sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
43 lines (42 loc) • 1.64 kB
TypeScript
import { type ToastAgentProps, type ToastAgentSlots } from './common';
import { type TransitionHookName } from '../../use';
declare function __VLS_template(): Readonly<ToastAgentSlots> & ToastAgentSlots;
declare const __VLS_component: import("vue").DefineComponent<ToastAgentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
[x: string]: any;
} & {
[x: string]: any;
}, string, import("vue").PublicProps, Readonly<ToastAgentProps> & Readonly<{
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
}>, {
rootStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
rootClass: string;
visible: boolean;
duration: number;
overlay: boolean;
transparent: boolean;
internalDefault: number;
id: string;
onVisibleHook: (name: TransitionHookName) => void;
onBeforeEnter: () => void;
onEnter: () => void;
onAfterEnter: () => void;
onEnterCancelled: () => void;
onBeforeLeave: () => void;
onLeave: () => void;
onAfterLeave: () => void;
onLeaveCancelled: () => void;
type: "text" | "loading" | "success" | "fail";
icon: string;
iconFamily: string;
title: string | number;
position: "top" | "center" | "bottom";
timeout: number;
internalIcon: number;
}, {}, {}, {}, 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;
};
};