UNPKG

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