UNPKG

3.71 kBTypeScriptView Raw
1export declare const Notify: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 show: BooleanConstructor;
3 zIndex: (NumberConstructor | StringConstructor)[];
4 overlay: {
5 type: BooleanConstructor;
6 default: true;
7 };
8 duration: (NumberConstructor | StringConstructor)[];
9 teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
10 lockScroll: {
11 type: BooleanConstructor;
12 default: true;
13 };
14 lazyRender: {
15 type: BooleanConstructor;
16 default: true;
17 };
18 beforeClose: import("vue").PropType<import("../utils").Interceptor>;
19 overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
20 overlayClass: import("vue").PropType<unknown>;
21 transitionAppear: BooleanConstructor;
22 closeOnClickOverlay: {
23 type: BooleanConstructor;
24 default: true;
25 };
26} & {
27 type: {
28 type: import("vue").PropType<import("./types").NotifyType>;
29 default: import("./types").NotifyType;
30 };
31 color: StringConstructor;
32 message: (NumberConstructor | StringConstructor)[];
33 position: {
34 type: import("vue").PropType<import("./types").NotifyPosition>;
35 default: import("./types").NotifyPosition;
36 };
37 className: import("vue").PropType<unknown>;
38 background: StringConstructor;
39 lockScroll: BooleanConstructor;
40}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
41 show: BooleanConstructor;
42 zIndex: (NumberConstructor | StringConstructor)[];
43 overlay: {
44 type: BooleanConstructor;
45 default: true;
46 };
47 duration: (NumberConstructor | StringConstructor)[];
48 teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
49 lockScroll: {
50 type: BooleanConstructor;
51 default: true;
52 };
53 lazyRender: {
54 type: BooleanConstructor;
55 default: true;
56 };
57 beforeClose: import("vue").PropType<import("../utils").Interceptor>;
58 overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
59 overlayClass: import("vue").PropType<unknown>;
60 transitionAppear: BooleanConstructor;
61 closeOnClickOverlay: {
62 type: BooleanConstructor;
63 default: true;
64 };
65} & {
66 type: {
67 type: import("vue").PropType<import("./types").NotifyType>;
68 default: import("./types").NotifyType;
69 };
70 color: StringConstructor;
71 message: (NumberConstructor | StringConstructor)[];
72 position: {
73 type: import("vue").PropType<import("./types").NotifyPosition>;
74 default: import("./types").NotifyPosition;
75 };
76 className: import("vue").PropType<unknown>;
77 background: StringConstructor;
78 lockScroll: BooleanConstructor;
79}>> & Readonly<{
80 "onUpdate:show"?: ((...args: any[]) => any) | undefined;
81}>, {
82 type: import("./types").NotifyType;
83 position: import("./types").NotifyPosition;
84 overlay: boolean;
85 show: boolean;
86 lockScroll: boolean;
87 lazyRender: boolean;
88 transitionAppear: boolean;
89 closeOnClickOverlay: boolean;
90}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
91export default Notify;
92export { notifyProps } from './Notify';
93export { showNotify, closeNotify, setNotifyDefaultOptions, resetNotifyDefaultOptions, } from './function-call';
94export type { NotifyProps } from './Notify';
95export type { NotifyType, NotifyOptions, NotifyThemeVars } from './types';
96declare module 'vue' {
97 interface GlobalComponents {
98 VanNotify: typeof Notify;
99 }
100}
101
\No newline at end of file