@whitesev/pops 2.2.7 → 2.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.amd.js +2842 -3019
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +2842 -3019
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2842 -3019
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +2842 -3019
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +2842 -3019
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +2842 -3019
- package/dist/index.umd.js.map +1 -1
- package/dist/types/src/Pops.d.ts +11 -11
- package/dist/types/src/PopsIcon.d.ts +2 -2
- package/dist/types/src/components/rightClickMenu/index.d.ts +2 -2
- package/dist/types/src/components/tooltip/index.d.ts +2 -2
- package/dist/types/src/types/PopsDOMUtilsEventType.d.ts +256 -259
- package/dist/types/src/types/animation.d.ts +19 -19
- package/dist/types/src/types/button.d.ts +187 -196
- package/dist/types/src/types/components.d.ts +213 -229
- package/dist/types/src/types/event.d.ts +63 -63
- package/dist/types/src/types/global.d.ts +20 -20
- package/dist/types/src/types/icon.d.ts +32 -32
- package/dist/types/src/types/inst.d.ts +24 -24
- package/dist/types/src/types/main.d.ts +114 -122
- package/dist/types/src/types/mask.d.ts +49 -49
- package/dist/types/src/types/position.d.ts +60 -60
- package/package.json +61 -56
- package/LICENSE +0 -674
- package/src/Pops.ts +0 -209
- package/src/PopsAnimation.ts +0 -32
- package/src/PopsCSS.ts +0 -51
- package/src/PopsCore.ts +0 -44
- package/src/PopsIcon.ts +0 -95
- package/src/PopsInst.ts +0 -21
- package/src/components/alert/config.ts +0 -62
- package/src/components/alert/index.css +0 -0
- package/src/components/alert/index.ts +0 -181
- package/src/components/alert/types/index.ts +0 -30
- package/src/components/confirm/config.ts +0 -90
- package/src/components/confirm/index.css +0 -0
- package/src/components/confirm/index.ts +0 -192
- package/src/components/confirm/types/index.ts +0 -17
- package/src/components/drawer/config.ts +0 -89
- package/src/components/drawer/index.css +0 -35
- package/src/components/drawer/index.ts +0 -260
- package/src/components/drawer/types/index.ts +0 -61
- package/src/components/folder/config.ts +0 -147
- package/src/components/folder/folderIcon.ts +0 -28
- package/src/components/folder/index.css +0 -314
- package/src/components/folder/index.ts +0 -1050
- package/src/components/folder/types/index.ts +0 -101
- package/src/components/iframe/config.ts +0 -60
- package/src/components/iframe/index.css +0 -75
- package/src/components/iframe/index.ts +0 -351
- package/src/components/iframe/types/index.ts +0 -146
- package/src/components/loading/config.ts +0 -29
- package/src/components/loading/index.css +0 -66
- package/src/components/loading/index.ts +0 -114
- package/src/components/loading/types/index.ts +0 -40
- package/src/components/panel/config.ts +0 -532
- package/src/components/panel/handlerComponents.ts +0 -3277
- package/src/components/panel/index.css +0 -1293
- package/src/components/panel/index.ts +0 -213
- package/src/components/panel/types/components-button.ts +0 -69
- package/src/components/panel/types/components-common.ts +0 -55
- package/src/components/panel/types/components-deepMenu.ts +0 -85
- package/src/components/panel/types/components-forms.ts +0 -45
- package/src/components/panel/types/components-input.ts +0 -82
- package/src/components/panel/types/components-own.ts +0 -31
- package/src/components/panel/types/components-select.ts +0 -101
- package/src/components/panel/types/components-selectMultiple.ts +0 -133
- package/src/components/panel/types/components-slider.ts +0 -78
- package/src/components/panel/types/components-switch.ts +0 -57
- package/src/components/panel/types/components-textarea.ts +0 -69
- package/src/components/panel/types/index.ts +0 -177
- package/src/components/prompt/config.ts +0 -94
- package/src/components/prompt/index.css +0 -34
- package/src/components/prompt/index.ts +0 -222
- package/src/components/prompt/types/index.ts +0 -55
- package/src/components/rightClickMenu/config.ts +0 -130
- package/src/components/rightClickMenu/index.css +0 -88
- package/src/components/rightClickMenu/index.ts +0 -689
- package/src/components/rightClickMenu/types/index.ts +0 -91
- package/src/components/searchSuggestion/config.ts +0 -59
- package/src/components/searchSuggestion/index.ts +0 -708
- package/src/components/searchSuggestion/types/index.ts +0 -147
- package/src/components/tooltip/config.ts +0 -34
- package/src/components/tooltip/index.css +0 -196
- package/src/components/tooltip/index.ts +0 -655
- package/src/components/tooltip/types/index.ts +0 -125
- package/src/config/CommonCSSClassName.ts +0 -17
- package/src/config/GlobalConfig.ts +0 -80
- package/src/css/animation.css +0 -2245
- package/src/css/button.css +0 -542
- package/src/css/common.css +0 -52
- package/src/css/index.css +0 -254
- package/src/css/ninePalaceGridPosition.css +0 -50
- package/src/css/scrollbar.css +0 -22
- package/src/handler/PopsElementHandler.ts +0 -325
- package/src/handler/PopsHandler.ts +0 -719
- package/src/svg/arrowLeft.svg +0 -4
- package/src/svg/arrowRight.svg +0 -4
- package/src/svg/chromeFilled.svg +0 -14
- package/src/svg/circleClose.svg +0 -8
- package/src/svg/close.svg +0 -5
- package/src/svg/cpu.svg +0 -8
- package/src/svg/delete.svg +0 -5
- package/src/svg/documentCopy.svg +0 -5
- package/src/svg/edit.svg +0 -8
- package/src/svg/eleme.svg +0 -5
- package/src/svg/elemePlus.svg +0 -5
- package/src/svg/headset.svg +0 -5
- package/src/svg/hide.svg +0 -8
- package/src/svg/keyboard.svg +0 -8
- package/src/svg/loading.svg +0 -5
- package/src/svg/max.svg +0 -5
- package/src/svg/min.svg +0 -5
- package/src/svg/mise.svg +0 -5
- package/src/svg/monitor.svg +0 -5
- package/src/svg/next.svg +0 -5
- package/src/svg/picture.svg +0 -8
- package/src/svg/prev.svg +0 -5
- package/src/svg/search.svg +0 -5
- package/src/svg/share.svg +0 -5
- package/src/svg/upload.svg +0 -5
- package/src/svg/videoPause.svg +0 -5
- package/src/svg/videoPlay.svg +0 -5
- package/src/svg/view.svg +0 -5
- package/src/types/PopsDOMUtilsEventType.d.ts +0 -259
- package/src/types/animation.d.ts +0 -19
- package/src/types/button.d.ts +0 -196
- package/src/types/components.d.ts +0 -229
- package/src/types/event.d.ts +0 -63
- package/src/types/global.d.ts +0 -20
- package/src/types/icon.d.ts +0 -32
- package/src/types/inst.d.ts +0 -24
- package/src/types/main.d.ts +0 -122
- package/src/types/mask.d.ts +0 -49
- package/src/types/position.d.ts +0 -60
- package/src/utils/PopsDOMUtils.ts +0 -2649
- package/src/utils/PopsDOMUtilsEventsConfig.ts +0 -6
- package/src/utils/PopsInstanceUtils.ts +0 -801
- package/src/utils/PopsMathUtils.ts +0 -77
- package/src/utils/PopsSafeUtils.ts +0 -24
- package/src/utils/PopsUtils.ts +0 -430
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 动画
|
|
3
|
-
*/
|
|
4
|
-
export type PopsAnimation =
|
|
5
|
-
| "pops-anim-spread"
|
|
6
|
-
| "pops-anim-shake"
|
|
7
|
-
| "pops-anim-rolling-left"
|
|
8
|
-
| "pops-anim-rolling-right"
|
|
9
|
-
| "pops-anim-slide-top"
|
|
10
|
-
| "pops-anim-slide-bottom"
|
|
11
|
-
| "pops-anim-slide-left"
|
|
12
|
-
| "pops-anim-slide-right"
|
|
13
|
-
| "pops-anim-fadein"
|
|
14
|
-
| "pops-anim-fadein-zoom"
|
|
15
|
-
| "pops-anim-fadein-alert"
|
|
16
|
-
| "pops-anim-don"
|
|
17
|
-
| "pops-anim-roll"
|
|
18
|
-
| "pops-anim-sandra"
|
|
19
|
-
| "pops-anim-gather";
|
|
1
|
+
/**
|
|
2
|
+
* 动画
|
|
3
|
+
*/
|
|
4
|
+
export type PopsAnimation =
|
|
5
|
+
| "pops-anim-spread"
|
|
6
|
+
| "pops-anim-shake"
|
|
7
|
+
| "pops-anim-rolling-left"
|
|
8
|
+
| "pops-anim-rolling-right"
|
|
9
|
+
| "pops-anim-slide-top"
|
|
10
|
+
| "pops-anim-slide-bottom"
|
|
11
|
+
| "pops-anim-slide-left"
|
|
12
|
+
| "pops-anim-slide-right"
|
|
13
|
+
| "pops-anim-fadein"
|
|
14
|
+
| "pops-anim-fadein-zoom"
|
|
15
|
+
| "pops-anim-fadein-alert"
|
|
16
|
+
| "pops-anim-don"
|
|
17
|
+
| "pops-anim-roll"
|
|
18
|
+
| "pops-anim-sandra"
|
|
19
|
+
| "pops-anim-gather";
|
|
@@ -1,196 +1,187 @@
|
|
|
1
|
-
import { PopsEventDetails, PopsHandlerEventDetails } from "./event";
|
|
2
|
-
import type { PopsIconType } from "./icon";
|
|
3
|
-
import type { PopsType } from "./main";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* 按钮类型
|
|
7
|
-
*/
|
|
8
|
-
export type PopsButtonType = "close" | "ok" | "cancel" | "other";
|
|
9
|
-
/**
|
|
10
|
-
* 按钮样式类型
|
|
11
|
-
*/
|
|
12
|
-
export type PopsButtonStyleType =
|
|
13
|
-
| "default"
|
|
14
|
-
| "primary"
|
|
15
|
-
| "xiaomi-primary"
|
|
16
|
-
| "success"
|
|
17
|
-
| "info"
|
|
18
|
-
| "warning"
|
|
19
|
-
| "danger"
|
|
20
|
-
| "violet";
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* 按钮大小
|
|
24
|
-
*/
|
|
25
|
-
export type PopsButtonSize = "large" | "small";
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* 按钮的点击回调参数event
|
|
29
|
-
*/
|
|
30
|
-
export interface PopsBtnCallBackEvent {
|
|
31
|
-
/**
|
|
32
|
-
* 元素
|
|
33
|
-
*/
|
|
34
|
-
element: HTMLElement;
|
|
35
|
-
/**
|
|
36
|
-
* 动画元素(包裹着弹窗元素)
|
|
37
|
-
*/
|
|
38
|
-
animElement: HTMLElement;
|
|
39
|
-
/**
|
|
40
|
-
* 弹窗元素
|
|
41
|
-
*/
|
|
42
|
-
popsElement: HTMLElement;
|
|
43
|
-
/**
|
|
44
|
-
* 遮罩层元素
|
|
45
|
-
*/
|
|
46
|
-
maskElement: HTMLElement | undefined;
|
|
47
|
-
/**
|
|
48
|
-
* 按钮调用类型
|
|
49
|
-
*/
|
|
50
|
-
type: PopsButtonType;
|
|
51
|
-
/**
|
|
52
|
-
* 调用的方法
|
|
53
|
-
*/
|
|
54
|
-
mode: PopsType;
|
|
55
|
-
/**
|
|
56
|
-
* 唯一id
|
|
57
|
-
*/
|
|
58
|
-
guid: string;
|
|
59
|
-
/**
|
|
60
|
-
* 关闭弹窗
|
|
61
|
-
*/
|
|
62
|
-
close(): void;
|
|
63
|
-
/**
|
|
64
|
-
* 隐藏弹窗
|
|
65
|
-
*/
|
|
66
|
-
hide(): void;
|
|
67
|
-
/**
|
|
68
|
-
* 显示弹窗
|
|
69
|
-
*/
|
|
70
|
-
show(): void;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* 按钮配置
|
|
75
|
-
*/
|
|
76
|
-
export interface PopsButtonDetails<T = {}> {
|
|
77
|
-
/**
|
|
78
|
-
* 是否启用按钮
|
|
79
|
-
*/
|
|
80
|
-
enable: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* 图标按钮,如果名字为内置的,则使用内置的,否则为自定义的svg
|
|
83
|
-
*/
|
|
84
|
-
icon: PopsIconType;
|
|
85
|
-
/**
|
|
86
|
-
* 图标按钮是否放在右边
|
|
87
|
-
*/
|
|
88
|
-
rightIcon: boolean;
|
|
89
|
-
/**
|
|
90
|
-
* 图标按钮是否是旋转360°
|
|
91
|
-
* @default false
|
|
92
|
-
*/
|
|
93
|
-
iconIsLoading: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* 按钮尺寸大小
|
|
96
|
-
* @default ""
|
|
97
|
-
*/
|
|
98
|
-
size: PopsButtonSize | "";
|
|
99
|
-
/**
|
|
100
|
-
* 按钮样式类型
|
|
101
|
-
* @default "default"
|
|
102
|
-
*/
|
|
103
|
-
type: PopsButtonStyleType;
|
|
104
|
-
/**
|
|
105
|
-
* 按钮文字,默认为空
|
|
106
|
-
*/
|
|
107
|
-
text: string;
|
|
108
|
-
/**
|
|
109
|
-
* 按钮点击的回调
|
|
110
|
-
*
|
|
111
|
-
* 如果传入该值,那么将不会自动关闭弹窗
|
|
112
|
-
*/
|
|
113
|
-
callback(
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
*
|
|
185
|
-
*/
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
* 按钮点击的回调
|
|
189
|
-
*
|
|
190
|
-
* 如果传入该值,那么将不会自动关闭弹窗
|
|
191
|
-
*/
|
|
192
|
-
callback?: (
|
|
193
|
-
details: PopsEventDetails,
|
|
194
|
-
event: PointerEvent | MouseEvent
|
|
195
|
-
) => void;
|
|
196
|
-
}
|
|
1
|
+
import { PopsEventDetails, PopsHandlerEventDetails } from "./event";
|
|
2
|
+
import type { PopsIconType } from "./icon";
|
|
3
|
+
import type { PopsType } from "./main";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 按钮类型
|
|
7
|
+
*/
|
|
8
|
+
export type PopsButtonType = "close" | "ok" | "cancel" | "other";
|
|
9
|
+
/**
|
|
10
|
+
* 按钮样式类型
|
|
11
|
+
*/
|
|
12
|
+
export type PopsButtonStyleType =
|
|
13
|
+
| "default"
|
|
14
|
+
| "primary"
|
|
15
|
+
| "xiaomi-primary"
|
|
16
|
+
| "success"
|
|
17
|
+
| "info"
|
|
18
|
+
| "warning"
|
|
19
|
+
| "danger"
|
|
20
|
+
| "violet";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* 按钮大小
|
|
24
|
+
*/
|
|
25
|
+
export type PopsButtonSize = "large" | "small";
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 按钮的点击回调参数event
|
|
29
|
+
*/
|
|
30
|
+
export interface PopsBtnCallBackEvent {
|
|
31
|
+
/**
|
|
32
|
+
* 元素
|
|
33
|
+
*/
|
|
34
|
+
element: HTMLElement;
|
|
35
|
+
/**
|
|
36
|
+
* 动画元素(包裹着弹窗元素)
|
|
37
|
+
*/
|
|
38
|
+
animElement: HTMLElement;
|
|
39
|
+
/**
|
|
40
|
+
* 弹窗元素
|
|
41
|
+
*/
|
|
42
|
+
popsElement: HTMLElement;
|
|
43
|
+
/**
|
|
44
|
+
* 遮罩层元素
|
|
45
|
+
*/
|
|
46
|
+
maskElement: HTMLElement | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* 按钮调用类型
|
|
49
|
+
*/
|
|
50
|
+
type: PopsButtonType;
|
|
51
|
+
/**
|
|
52
|
+
* 调用的方法
|
|
53
|
+
*/
|
|
54
|
+
mode: PopsType;
|
|
55
|
+
/**
|
|
56
|
+
* 唯一id
|
|
57
|
+
*/
|
|
58
|
+
guid: string;
|
|
59
|
+
/**
|
|
60
|
+
* 关闭弹窗
|
|
61
|
+
*/
|
|
62
|
+
close(): void;
|
|
63
|
+
/**
|
|
64
|
+
* 隐藏弹窗
|
|
65
|
+
*/
|
|
66
|
+
hide(): void;
|
|
67
|
+
/**
|
|
68
|
+
* 显示弹窗
|
|
69
|
+
*/
|
|
70
|
+
show(): void;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* 按钮配置
|
|
75
|
+
*/
|
|
76
|
+
export interface PopsButtonDetails<T = {}> {
|
|
77
|
+
/**
|
|
78
|
+
* 是否启用按钮
|
|
79
|
+
*/
|
|
80
|
+
enable: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* 图标按钮,如果名字为内置的,则使用内置的,否则为自定义的svg
|
|
83
|
+
*/
|
|
84
|
+
icon: PopsIconType;
|
|
85
|
+
/**
|
|
86
|
+
* 图标按钮是否放在右边
|
|
87
|
+
*/
|
|
88
|
+
rightIcon: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* 图标按钮是否是旋转360°
|
|
91
|
+
* @default false
|
|
92
|
+
*/
|
|
93
|
+
iconIsLoading: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* 按钮尺寸大小
|
|
96
|
+
* @default ""
|
|
97
|
+
*/
|
|
98
|
+
size: PopsButtonSize | "";
|
|
99
|
+
/**
|
|
100
|
+
* 按钮样式类型
|
|
101
|
+
* @default "default"
|
|
102
|
+
*/
|
|
103
|
+
type: PopsButtonStyleType;
|
|
104
|
+
/**
|
|
105
|
+
* 按钮文字,默认为空
|
|
106
|
+
*/
|
|
107
|
+
text: string;
|
|
108
|
+
/**
|
|
109
|
+
* 按钮点击的回调
|
|
110
|
+
*
|
|
111
|
+
* 如果传入该值,那么将不会自动关闭弹窗
|
|
112
|
+
*/
|
|
113
|
+
callback(eventDetails: PopsHandlerEventDetails & T, event: PointerEvent | MouseEvent): void;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* 按钮配置(匹配任意类型)
|
|
118
|
+
*/
|
|
119
|
+
export type PopsButtonDetailsAnyType<T = {}> = Omit<PopsButtonDetails<T>, "type"> & {
|
|
120
|
+
/**
|
|
121
|
+
* 按钮样式类型
|
|
122
|
+
* @default "default"
|
|
123
|
+
*/
|
|
124
|
+
type: string;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
/** prompt的点击回调 */
|
|
128
|
+
export interface PopsPromptButtonDetails extends PopsButtonDetails {
|
|
129
|
+
callback(
|
|
130
|
+
eventDetails: PopsHandlerEventDetails & {
|
|
131
|
+
text: string;
|
|
132
|
+
},
|
|
133
|
+
event: PointerEvent | MouseEvent
|
|
134
|
+
): void;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* 右上角关闭按钮点击回调的配置
|
|
138
|
+
*/
|
|
139
|
+
export interface PopsHeaderCloseButtonClickCallBackEvent {
|
|
140
|
+
/**
|
|
141
|
+
* 动画元素(包裹着弹窗元素)
|
|
142
|
+
*/
|
|
143
|
+
animElement: HTMLElement;
|
|
144
|
+
/**
|
|
145
|
+
* 遮罩层元素,如果未设置,那么不存在
|
|
146
|
+
*/
|
|
147
|
+
maskElement?: HTMLElement;
|
|
148
|
+
/**
|
|
149
|
+
* 按钮调用类型
|
|
150
|
+
*/
|
|
151
|
+
type: string;
|
|
152
|
+
/**
|
|
153
|
+
* 唯一id
|
|
154
|
+
*/
|
|
155
|
+
guid: string;
|
|
156
|
+
/**
|
|
157
|
+
* 关闭弹窗
|
|
158
|
+
*/
|
|
159
|
+
close(): void;
|
|
160
|
+
/**
|
|
161
|
+
* 隐藏弹窗
|
|
162
|
+
*/
|
|
163
|
+
hide(): void;
|
|
164
|
+
/**
|
|
165
|
+
* 显示弹窗
|
|
166
|
+
*/
|
|
167
|
+
show(): void;
|
|
168
|
+
/**
|
|
169
|
+
* 输入的内容
|
|
170
|
+
*/
|
|
171
|
+
text: string;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* 顶部关闭按钮配置
|
|
175
|
+
*/
|
|
176
|
+
export interface PopsHeaderCloseButtonDetails {
|
|
177
|
+
/**
|
|
178
|
+
* 是否启用按钮
|
|
179
|
+
*/
|
|
180
|
+
enable?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
* 按钮点击的回调
|
|
183
|
+
*
|
|
184
|
+
* 如果传入该值,那么将不会自动关闭弹窗
|
|
185
|
+
*/
|
|
186
|
+
callback?: (details: PopsEventDetails, event: PointerEvent | MouseEvent) => void;
|
|
187
|
+
}
|