1 | export declare const Toast: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2 | icon: StringConstructor;
|
3 | show: BooleanConstructor;
|
4 | type: {
|
5 | type: import("vue").PropType<import("./types").ToastType>;
|
6 | default: import("./types").ToastType;
|
7 | };
|
8 | overlay: BooleanConstructor;
|
9 | message: (NumberConstructor | StringConstructor)[];
|
10 | iconSize: (NumberConstructor | StringConstructor)[];
|
11 | duration: {
|
12 | type: NumberConstructor;
|
13 | default: number;
|
14 | };
|
15 | position: {
|
16 | type: import("vue").PropType<import("./types").ToastPosition>;
|
17 | default: import("./types").ToastPosition;
|
18 | };
|
19 | teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
20 | wordBreak: import("vue").PropType<import("./types").ToastWordBreak>;
|
21 | className: import("vue").PropType<unknown>;
|
22 | iconPrefix: StringConstructor;
|
23 | transition: {
|
24 | type: import("vue").PropType<string>;
|
25 | default: string;
|
26 | };
|
27 | loadingType: import("vue").PropType<import("..").LoadingType>;
|
28 | forbidClick: BooleanConstructor;
|
29 | overlayClass: import("vue").PropType<unknown>;
|
30 | overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
31 | closeOnClick: BooleanConstructor;
|
32 | closeOnClickOverlay: BooleanConstructor;
|
33 | zIndex: (NumberConstructor | StringConstructor)[];
|
34 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
35 | icon: StringConstructor;
|
36 | show: BooleanConstructor;
|
37 | type: {
|
38 | type: import("vue").PropType<import("./types").ToastType>;
|
39 | default: import("./types").ToastType;
|
40 | };
|
41 | overlay: BooleanConstructor;
|
42 | message: (NumberConstructor | StringConstructor)[];
|
43 | iconSize: (NumberConstructor | StringConstructor)[];
|
44 | duration: {
|
45 | type: NumberConstructor;
|
46 | default: number;
|
47 | };
|
48 | position: {
|
49 | type: import("vue").PropType<import("./types").ToastPosition>;
|
50 | default: import("./types").ToastPosition;
|
51 | };
|
52 | teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
53 | wordBreak: import("vue").PropType<import("./types").ToastWordBreak>;
|
54 | className: import("vue").PropType<unknown>;
|
55 | iconPrefix: StringConstructor;
|
56 | transition: {
|
57 | type: import("vue").PropType<string>;
|
58 | default: string;
|
59 | };
|
60 | loadingType: import("vue").PropType<import("..").LoadingType>;
|
61 | forbidClick: BooleanConstructor;
|
62 | overlayClass: import("vue").PropType<unknown>;
|
63 | overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
64 | closeOnClick: BooleanConstructor;
|
65 | closeOnClickOverlay: BooleanConstructor;
|
66 | zIndex: (NumberConstructor | StringConstructor)[];
|
67 | }>> & Readonly<{
|
68 | "onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
69 | }>, {
|
70 | type: import("./types").ToastType;
|
71 | position: import("./types").ToastPosition;
|
72 | overlay: boolean;
|
73 | show: boolean;
|
74 | duration: number;
|
75 | closeOnClickOverlay: boolean;
|
76 | transition: string;
|
77 | forbidClick: boolean;
|
78 | closeOnClick: boolean;
|
79 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
80 | export default Toast;
|
81 | export { toastProps } from './Toast';
|
82 | export { showToast, closeToast, showFailToast, showLoadingToast, showSuccessToast, allowMultipleToast, setToastDefaultOptions, resetToastDefaultOptions, } from './function-call';
|
83 | export type { ToastProps } from './Toast';
|
84 | export type { ToastType, ToastOptions, ToastPosition, ToastThemeVars, ToastWordBreak, ToastWrapperInstance, } from './types';
|
85 | declare module 'vue' {
|
86 | interface GlobalComponents {
|
87 | VanToast: typeof Toast;
|
88 | }
|
89 | }
|
90 |
|
\ | No newline at end of file |