1 | import { type PropType, type TeleportProps, type CSSProperties, type ExtractPropTypes } from 'vue';
|
2 | import { LoadingType } from '../loading';
|
3 | import type { ToastType, ToastPosition, ToastWordBreak } from './types';
|
4 | export declare const toastProps: {
|
5 | icon: StringConstructor;
|
6 | show: BooleanConstructor;
|
7 | type: {
|
8 | type: PropType<ToastType>;
|
9 | default: ToastType;
|
10 | };
|
11 | overlay: BooleanConstructor;
|
12 | message: (NumberConstructor | StringConstructor)[];
|
13 | iconSize: (NumberConstructor | StringConstructor)[];
|
14 | duration: {
|
15 | type: NumberConstructor;
|
16 | default: number;
|
17 | };
|
18 | position: {
|
19 | type: PropType<ToastPosition>;
|
20 | default: ToastPosition;
|
21 | };
|
22 | teleport: PropType<TeleportProps["to"]>;
|
23 | wordBreak: PropType<ToastWordBreak>;
|
24 | className: PropType<unknown>;
|
25 | iconPrefix: StringConstructor;
|
26 | transition: {
|
27 | type: PropType<string>;
|
28 | default: string;
|
29 | };
|
30 | loadingType: PropType<LoadingType>;
|
31 | forbidClick: BooleanConstructor;
|
32 | overlayClass: PropType<unknown>;
|
33 | overlayStyle: PropType<CSSProperties>;
|
34 | closeOnClick: BooleanConstructor;
|
35 | closeOnClickOverlay: BooleanConstructor;
|
36 | zIndex: (NumberConstructor | StringConstructor)[];
|
37 | };
|
38 | export type ToastProps = ExtractPropTypes<typeof toastProps>;
|
39 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
40 | icon: StringConstructor;
|
41 | show: BooleanConstructor;
|
42 | type: {
|
43 | type: PropType<ToastType>;
|
44 | default: ToastType;
|
45 | };
|
46 | overlay: BooleanConstructor;
|
47 | message: (NumberConstructor | StringConstructor)[];
|
48 | iconSize: (NumberConstructor | StringConstructor)[];
|
49 | duration: {
|
50 | type: NumberConstructor;
|
51 | default: number;
|
52 | };
|
53 | position: {
|
54 | type: PropType<ToastPosition>;
|
55 | default: ToastPosition;
|
56 | };
|
57 | teleport: PropType<TeleportProps["to"]>;
|
58 | wordBreak: PropType<ToastWordBreak>;
|
59 | className: PropType<unknown>;
|
60 | iconPrefix: StringConstructor;
|
61 | transition: {
|
62 | type: PropType<string>;
|
63 | default: string;
|
64 | };
|
65 | loadingType: PropType<LoadingType>;
|
66 | forbidClick: BooleanConstructor;
|
67 | overlayClass: PropType<unknown>;
|
68 | overlayStyle: PropType<CSSProperties>;
|
69 | closeOnClick: BooleanConstructor;
|
70 | closeOnClickOverlay: BooleanConstructor;
|
71 | zIndex: (NumberConstructor | StringConstructor)[];
|
72 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
73 | icon: StringConstructor;
|
74 | show: BooleanConstructor;
|
75 | type: {
|
76 | type: PropType<ToastType>;
|
77 | default: ToastType;
|
78 | };
|
79 | overlay: BooleanConstructor;
|
80 | message: (NumberConstructor | StringConstructor)[];
|
81 | iconSize: (NumberConstructor | StringConstructor)[];
|
82 | duration: {
|
83 | type: NumberConstructor;
|
84 | default: number;
|
85 | };
|
86 | position: {
|
87 | type: PropType<ToastPosition>;
|
88 | default: ToastPosition;
|
89 | };
|
90 | teleport: PropType<TeleportProps["to"]>;
|
91 | wordBreak: PropType<ToastWordBreak>;
|
92 | className: PropType<unknown>;
|
93 | iconPrefix: StringConstructor;
|
94 | transition: {
|
95 | type: PropType<string>;
|
96 | default: string;
|
97 | };
|
98 | loadingType: PropType<LoadingType>;
|
99 | forbidClick: BooleanConstructor;
|
100 | overlayClass: PropType<unknown>;
|
101 | overlayStyle: PropType<CSSProperties>;
|
102 | closeOnClick: BooleanConstructor;
|
103 | closeOnClickOverlay: BooleanConstructor;
|
104 | zIndex: (NumberConstructor | StringConstructor)[];
|
105 | }>> & Readonly<{
|
106 | "onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
107 | }>, {
|
108 | type: ToastType;
|
109 | position: ToastPosition;
|
110 | overlay: boolean;
|
111 | show: boolean;
|
112 | duration: number;
|
113 | closeOnClickOverlay: boolean;
|
114 | transition: string;
|
115 | forbidClick: boolean;
|
116 | closeOnClick: boolean;
|
117 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
118 | export default _default;
|
119 |
|
\ | No newline at end of file |