vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
64 lines (63 loc) • 3.1 kB
TypeScript
import { ToastOptions, ToastType } from './symbol';
declare function openToast(options: ToastOptions): Promise<void>;
declare function closeToast(): void;
declare function handleReset(): void;
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
inherit: import('vue').PropType<boolean>;
bodyWidth: import('vue').PropType<number>;
icon: import('vue').PropType<any>;
iconProps: import('vue').PropType<Omit<Partial<import('../icon').IconProps>, "icon"> & {
class?: import('@vexip-ui/config').ClassType;
style?: import('@vexip-ui/config').StyleType;
}>;
position: import('vue').PropType<"bottom" | "top" | "center">;
transitionName: import('vue').PropType<string>;
closable: import('vue').PropType<boolean>;
maskClose: import('vue').PropType<boolean>;
showMask: import('vue').PropType<boolean>;
maskClass: import('vue').PropType<string | Record<string, any> | (string | Record<string, any>)[]>;
maskStyle: import('vue').PropType<string | import('vue').CSSProperties | (string | import('vue').CSSProperties)[]>;
parseHtml: import('vue').PropType<boolean>;
renderer: import('vue').PropType<(options: ToastOptions) => any>;
}>, {
state: {
visible: boolean;
zIndex: number;
type: ToastType | null;
content: string;
icon: any;
iconProps: any;
position: "bottom" | "top" | "center";
transition: string;
closable: boolean;
maskClose: boolean;
showMask: boolean;
maskClass: any;
maskStyle: any;
parseHtml: boolean;
textOnly: boolean;
renderer: (options: ToastOptions) => any;
onClose: (() => void) | null;
};
openToast: typeof openToast;
closeToast: typeof closeToast;
handleReset: typeof handleReset;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
inherit: import('vue').PropType<boolean>;
bodyWidth: import('vue').PropType<number>;
icon: import('vue').PropType<any>;
iconProps: import('vue').PropType<Omit<Partial<import('../icon').IconProps>, "icon"> & {
class?: import('@vexip-ui/config').ClassType;
style?: import('@vexip-ui/config').StyleType;
}>;
position: import('vue').PropType<"bottom" | "top" | "center">;
transitionName: import('vue').PropType<string>;
closable: import('vue').PropType<boolean>;
maskClose: import('vue').PropType<boolean>;
showMask: import('vue').PropType<boolean>;
maskClass: import('vue').PropType<string | Record<string, any> | (string | Record<string, any>)[]>;
maskStyle: import('vue').PropType<string | import('vue').CSSProperties | (string | import('vue').CSSProperties)[]>;
parseHtml: import('vue').PropType<boolean>;
renderer: import('vue').PropType<(options: ToastOptions) => any>;
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
export default _default;