1 | import { type CSSProperties, type ExtractPropTypes } from 'vue';
|
2 | import type { PopupPosition, PopupCloseIconPosition } from './types';
|
3 | export declare const popupProps: {
|
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<CSSProperties>;
|
22 | overlayClass: import("vue").PropType<unknown>;
|
23 | transitionAppear: BooleanConstructor;
|
24 | closeOnClickOverlay: {
|
25 | type: BooleanConstructor;
|
26 | default: true;
|
27 | };
|
28 | } & {
|
29 | round: BooleanConstructor;
|
30 | position: {
|
31 | type: import("vue").PropType<PopupPosition>;
|
32 | default: PopupPosition;
|
33 | };
|
34 | closeIcon: {
|
35 | type: import("vue").PropType<string>;
|
36 | default: string;
|
37 | };
|
38 | closeable: BooleanConstructor;
|
39 | transition: StringConstructor;
|
40 | iconPrefix: StringConstructor;
|
41 | closeOnPopstate: BooleanConstructor;
|
42 | closeIconPosition: {
|
43 | type: import("vue").PropType<PopupCloseIconPosition>;
|
44 | default: PopupCloseIconPosition;
|
45 | };
|
46 | safeAreaInsetTop: BooleanConstructor;
|
47 | safeAreaInsetBottom: BooleanConstructor;
|
48 | };
|
49 | export type PopupProps = ExtractPropTypes<typeof popupProps>;
|
50 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
51 | show: BooleanConstructor;
|
52 | zIndex: (NumberConstructor | StringConstructor)[];
|
53 | overlay: {
|
54 | type: BooleanConstructor;
|
55 | default: true;
|
56 | };
|
57 | duration: (NumberConstructor | StringConstructor)[];
|
58 | teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
59 | lockScroll: {
|
60 | type: BooleanConstructor;
|
61 | default: true;
|
62 | };
|
63 | lazyRender: {
|
64 | type: BooleanConstructor;
|
65 | default: true;
|
66 | };
|
67 | beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
68 | overlayStyle: import("vue").PropType<CSSProperties>;
|
69 | overlayClass: import("vue").PropType<unknown>;
|
70 | transitionAppear: BooleanConstructor;
|
71 | closeOnClickOverlay: {
|
72 | type: BooleanConstructor;
|
73 | default: true;
|
74 | };
|
75 | } & {
|
76 | round: BooleanConstructor;
|
77 | position: {
|
78 | type: import("vue").PropType<PopupPosition>;
|
79 | default: PopupPosition;
|
80 | };
|
81 | closeIcon: {
|
82 | type: import("vue").PropType<string>;
|
83 | default: string;
|
84 | };
|
85 | closeable: BooleanConstructor;
|
86 | transition: StringConstructor;
|
87 | iconPrefix: StringConstructor;
|
88 | closeOnPopstate: BooleanConstructor;
|
89 | closeIconPosition: {
|
90 | type: import("vue").PropType<PopupCloseIconPosition>;
|
91 | default: PopupCloseIconPosition;
|
92 | };
|
93 | safeAreaInsetTop: BooleanConstructor;
|
94 | safeAreaInsetBottom: BooleanConstructor;
|
95 | }>, () => 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<ExtractPropTypes<{
|
96 | show: BooleanConstructor;
|
97 | zIndex: (NumberConstructor | StringConstructor)[];
|
98 | overlay: {
|
99 | type: BooleanConstructor;
|
100 | default: true;
|
101 | };
|
102 | duration: (NumberConstructor | StringConstructor)[];
|
103 | teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
104 | lockScroll: {
|
105 | type: BooleanConstructor;
|
106 | default: true;
|
107 | };
|
108 | lazyRender: {
|
109 | type: BooleanConstructor;
|
110 | default: true;
|
111 | };
|
112 | beforeClose: import("vue").PropType<import("../utils").Interceptor>;
|
113 | overlayStyle: import("vue").PropType<CSSProperties>;
|
114 | overlayClass: import("vue").PropType<unknown>;
|
115 | transitionAppear: BooleanConstructor;
|
116 | closeOnClickOverlay: {
|
117 | type: BooleanConstructor;
|
118 | default: true;
|
119 | };
|
120 | } & {
|
121 | round: BooleanConstructor;
|
122 | position: {
|
123 | type: import("vue").PropType<PopupPosition>;
|
124 | default: PopupPosition;
|
125 | };
|
126 | closeIcon: {
|
127 | type: import("vue").PropType<string>;
|
128 | default: string;
|
129 | };
|
130 | closeable: BooleanConstructor;
|
131 | transition: StringConstructor;
|
132 | iconPrefix: StringConstructor;
|
133 | closeOnPopstate: BooleanConstructor;
|
134 | closeIconPosition: {
|
135 | type: import("vue").PropType<PopupCloseIconPosition>;
|
136 | default: PopupCloseIconPosition;
|
137 | };
|
138 | safeAreaInsetTop: BooleanConstructor;
|
139 | safeAreaInsetBottom: BooleanConstructor;
|
140 | }>> & Readonly<{
|
141 | onKeydown?: ((...args: any[]) => any) | undefined;
|
142 | onClose?: ((...args: any[]) => any) | undefined;
|
143 | onOpen?: ((...args: any[]) => any) | undefined;
|
144 | onOpened?: ((...args: any[]) => any) | undefined;
|
145 | onClosed?: ((...args: any[]) => any) | undefined;
|
146 | "onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
147 | onClickOverlay?: ((...args: any[]) => any) | undefined;
|
148 | onClickCloseIcon?: ((...args: any[]) => any) | undefined;
|
149 | }>, {
|
150 | position: PopupPosition;
|
151 | round: boolean;
|
152 | overlay: boolean;
|
153 | show: boolean;
|
154 | safeAreaInsetBottom: boolean;
|
155 | lockScroll: boolean;
|
156 | lazyRender: boolean;
|
157 | transitionAppear: boolean;
|
158 | closeOnClickOverlay: boolean;
|
159 | closeIcon: string;
|
160 | closeable: boolean;
|
161 | closeOnPopstate: boolean;
|
162 | closeIconPosition: PopupCloseIconPosition;
|
163 | safeAreaInsetTop: boolean;
|
164 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
165 | export default _default;
|
166 |
|
\ | No newline at end of file |