1 | export declare const Popup: 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 | round: BooleanConstructor;
|
28 | position: {
|
29 | type: import("vue").PropType<import("./types").PopupPosition>;
|
30 | default: import("./types").PopupPosition;
|
31 | };
|
32 | closeIcon: {
|
33 | type: import("vue").PropType<string>;
|
34 | default: string;
|
35 | };
|
36 | closeable: BooleanConstructor;
|
37 | transition: StringConstructor;
|
38 | iconPrefix: StringConstructor;
|
39 | closeOnPopstate: BooleanConstructor;
|
40 | closeIconPosition: {
|
41 | type: import("vue").PropType<import("./types").PopupCloseIconPosition>;
|
42 | default: import("./types").PopupCloseIconPosition;
|
43 | };
|
44 | safeAreaInsetTop: BooleanConstructor;
|
45 | safeAreaInsetBottom: BooleanConstructor;
|
46 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "close" | "keydown" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon")[], "open" | "close" | "keydown" | "opened" | "closed" | "update:show" | "clickOverlay" | "clickCloseIcon", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
47 | show: BooleanConstructor;
|
48 | zIndex: (NumberConstructor | StringConstructor)[];
|
49 | overlay: {
|
50 | type: BooleanConstructor;
|
51 | default: true;
|
52 | };
|
53 | duration: (NumberConstructor | StringConstructor)[];
|
54 | teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
55 | lockScroll: {
|
56 | type: BooleanConstructor;
|
57 | default: true;
|
58 | };
|
59 | lazyRender: {
|
60 | type: BooleanConstructor;
|
61 | default: true;
|
62 | };
|
63 | beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
64 | overlayStyle: import("vue").PropType<import("vue").CSSProperties>;
|
65 | overlayClass: import("vue").PropType<unknown>;
|
66 | transitionAppear: BooleanConstructor;
|
67 | closeOnClickOverlay: {
|
68 | type: BooleanConstructor;
|
69 | default: true;
|
70 | };
|
71 | } & {
|
72 | round: BooleanConstructor;
|
73 | position: {
|
74 | type: import("vue").PropType<import("./types").PopupPosition>;
|
75 | default: import("./types").PopupPosition;
|
76 | };
|
77 | closeIcon: {
|
78 | type: import("vue").PropType<string>;
|
79 | default: string;
|
80 | };
|
81 | closeable: BooleanConstructor;
|
82 | transition: StringConstructor;
|
83 | iconPrefix: StringConstructor;
|
84 | closeOnPopstate: BooleanConstructor;
|
85 | closeIconPosition: {
|
86 | type: import("vue").PropType<import("./types").PopupCloseIconPosition>;
|
87 | default: import("./types").PopupCloseIconPosition;
|
88 | };
|
89 | safeAreaInsetTop: BooleanConstructor;
|
90 | safeAreaInsetBottom: BooleanConstructor;
|
91 | }>> & Readonly<{
|
92 | onKeydown?: ((...args: any[]) => any) | undefined;
|
93 | onClose?: ((...args: any[]) => any) | undefined;
|
94 | onOpen?: ((...args: any[]) => any) | undefined;
|
95 | onOpened?: ((...args: any[]) => any) | undefined;
|
96 | onClosed?: ((...args: any[]) => any) | undefined;
|
97 | "onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
98 | onClickOverlay?: ((...args: any[]) => any) | undefined;
|
99 | onClickCloseIcon?: ((...args: any[]) => any) | undefined;
|
100 | }>, {
|
101 | position: import("./types").PopupPosition;
|
102 | round: boolean;
|
103 | overlay: boolean;
|
104 | show: boolean;
|
105 | safeAreaInsetBottom: boolean;
|
106 | lockScroll: boolean;
|
107 | lazyRender: boolean;
|
108 | transitionAppear: boolean;
|
109 | closeOnClickOverlay: boolean;
|
110 | closeIcon: string;
|
111 | closeable: boolean;
|
112 | closeOnPopstate: boolean;
|
113 | closeIconPosition: import("./types").PopupCloseIconPosition;
|
114 | safeAreaInsetTop: boolean;
|
115 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
116 | export default Popup;
|
117 | export { popupProps } from './Popup';
|
118 | export type { PopupProps } from './Popup';
|
119 | export type { PopupPosition, PopupInstance, PopupThemeVars, PopupCloseIconPosition, } from './types';
|
120 | declare module 'vue' {
|
121 | interface GlobalComponents {
|
122 | VanPopup: typeof Popup;
|
123 | }
|
124 | }
|
125 |
|
\ | No newline at end of file |