@dcloudio/uni-app-x 0.7.57 → 0.7.59

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.
Files changed (138) hide show
  1. package/package.json +6 -2
  2. package/types/index.d.ts +1 -0
  3. package/types/native/CSSStyleDeclaration.d.ts +31 -6
  4. package/types/native/DOMRect.d.ts +60 -10
  5. package/types/native/IUniElement.d.ts +460 -2
  6. package/types/native/UniElement.d.ts +3 -2
  7. package/types/native/UniPage.d.ts +2 -2
  8. package/types/native/UniWebViewContentHeightChangeEvent.d.ts +31 -0
  9. package/types/native/UniWebViewElement.d.ts +3 -1
  10. package/types/native/global.d.ts +8 -0
  11. package/types/native/index.d.ts +1 -0
  12. package/types/uni/env/index.d.ts +5 -5
  13. package/types/uni/uts-plugin-api/.temp/uni-actionSheet/utssdk/interface.uts +554 -0
  14. package/types/uni/uts-plugin-api/.temp/uni-addPhoneContact/utssdk/interface.uts +224 -0
  15. package/types/uni/uts-plugin-api/.temp/uni-arrayBufferToBase64/utssdk/interface.uts +77 -0
  16. package/types/uni/uts-plugin-api/.temp/uni-authentication/utssdk/interface.uts +365 -0
  17. package/types/uni/uts-plugin-api/.temp/uni-base64ToArrayBuffer/utssdk/interface.uts +77 -0
  18. package/types/uni/uts-plugin-api/.temp/uni-canvas/utssdk/interface.uts +972 -0
  19. package/types/uni/uts-plugin-api/.temp/uni-chooseLocation/utssdk/interface.uts +410 -0
  20. package/types/uni/uts-plugin-api/.temp/uni-chooseMedia/utssdk/interface.uts +459 -0
  21. package/types/uni/uts-plugin-api/.temp/uni-clipboard/utssdk/interface.uts +203 -0
  22. package/types/uni/uts-plugin-api/.temp/uni-createInnerAudioContext/utssdk/interface.uts +2613 -0
  23. package/types/uni/uts-plugin-api/.temp/uni-createIntersectionObserver/utssdk/interface.uts +152 -0
  24. package/types/uni/uts-plugin-api/.temp/uni-createRequestPermissionListener/utssdk/interface.uts +61 -0
  25. package/types/uni/uts-plugin-api/.temp/uni-createSelectorQuery/utssdk/interface.uts +548 -0
  26. package/types/uni/uts-plugin-api/.temp/uni-createWebviewContext/utssdk/interface.uts +137 -0
  27. package/types/uni/uts-plugin-api/.temp/uni-dialogPage/utssdk/interface.uts +1380 -0
  28. package/types/uni/uts-plugin-api/.temp/uni-document/utssdk/interface.uts +76 -0
  29. package/types/uni/uts-plugin-api/.temp/uni-event/utssdk/interface.uts +338 -0
  30. package/types/uni/uts-plugin-api/.temp/uni-exit/utssdk/interface.uts +102 -0
  31. package/types/uni/uts-plugin-api/.temp/uni-file/utssdk/interface.uts +384 -0
  32. package/types/uni/uts-plugin-api/.temp/uni-fileSystemManager/utssdk/interface.uts +5316 -0
  33. package/types/uni/uts-plugin-api/.temp/uni-getAccessibilityInfo/utssdk/interface.uts +35 -0
  34. package/types/uni/uts-plugin-api/.temp/uni-getAppAuthorizeSetting/utssdk/interface.uts +616 -0
  35. package/types/uni/uts-plugin-api/.temp/uni-getAppBaseInfo/utssdk/interface.uts +2157 -0
  36. package/types/uni/uts-plugin-api/.temp/uni-getBackgroundAudioManager/utssdk/interface.uts +895 -0
  37. package/types/uni/uts-plugin-api/.temp/uni-getDeviceInfo/utssdk/interface.uts +1755 -0
  38. package/types/uni/uts-plugin-api/.temp/uni-getElementById/utssdk/interface.uts +82 -0
  39. package/types/uni/uts-plugin-api/.temp/uni-getEnterOptionsSync/utssdk/interface.uts +295 -0
  40. package/types/uni/uts-plugin-api/.temp/uni-getLaunchOptionsSync/utssdk/interface.uts +299 -0
  41. package/types/uni/uts-plugin-api/.temp/uni-getLocation/utssdk/interface.uts +1764 -0
  42. package/types/uni/uts-plugin-api/.temp/uni-getLocation-system/utssdk/interface.uts +1 -0
  43. package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent/utssdk/interface.uts +1 -0
  44. package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent-uni1/utssdk/interface.uts +736 -0
  45. package/types/uni/uts-plugin-api/.temp/uni-getNetworkType/utssdk/interface.uts +274 -0
  46. package/types/uni/uts-plugin-api/.temp/uni-getPerformance/utssdk/interface.uts +198 -0
  47. package/types/uni/uts-plugin-api/.temp/uni-getProvider/utssdk/interface.uts +634 -0
  48. package/types/uni/uts-plugin-api/.temp/uni-getRecorderManager/utssdk/interface.uts +980 -0
  49. package/types/uni/uts-plugin-api/.temp/uni-getSystemInfo/utssdk/interface.uts +5550 -0
  50. package/types/uni/uts-plugin-api/.temp/uni-getSystemSetting/utssdk/interface.uts +501 -0
  51. package/types/uni/uts-plugin-api/.temp/uni-installApk/utssdk/interface.uts +83 -0
  52. package/types/uni/uts-plugin-api/.temp/uni-interceptor/utssdk/interface.uts +169 -0
  53. package/types/uni/uts-plugin-api/.temp/uni-keyboard/utssdk/interface.uts +102 -0
  54. package/types/uni/uts-plugin-api/.temp/uni-loadFontFace/utssdk/interface.uts +580 -0
  55. package/types/uni/uts-plugin-api/.temp/uni-makePhoneCall/utssdk/interface.uts +100 -0
  56. package/types/uni/uts-plugin-api/.temp/uni-media/utssdk/interface.uts +2980 -0
  57. package/types/uni/uts-plugin-api/.temp/uni-modal/utssdk/interface.uts +190 -0
  58. package/types/uni/uts-plugin-api/.temp/uni-navigationBar/utssdk/interface.uts +1002 -0
  59. package/types/uni/uts-plugin-api/.temp/uni-network/utssdk/interface.uts +3620 -0
  60. package/types/uni/uts-plugin-api/.temp/uni-oauth/utssdk/interface.uts +1592 -0
  61. package/types/uni/uts-plugin-api/.temp/uni-oauth-huawei/utssdk/interface.uts +1 -0
  62. package/types/uni/uts-plugin-api/.temp/uni-openAppAuthorizeSetting/utssdk/interface.uts +254 -0
  63. package/types/uni/uts-plugin-api/.temp/uni-openDocument/utssdk/interface.uts +112 -0
  64. package/types/uni/uts-plugin-api/.temp/uni-pageScrollTo/utssdk/interface.uts +153 -0
  65. package/types/uni/uts-plugin-api/.temp/uni-payment/utssdk/interface.uts +833 -0
  66. package/types/uni/uts-plugin-api/.temp/uni-payment-alipay/utssdk/interface.uts +1 -0
  67. package/types/uni/uts-plugin-api/.temp/uni-payment-huawei/utssdk/interface.uts +1 -0
  68. package/types/uni/uts-plugin-api/.temp/uni-payment-wxpay/utssdk/interface.uts +3 -0
  69. package/types/uni/uts-plugin-api/.temp/uni-previewImage/utssdk/interface.uts +518 -0
  70. package/types/uni/uts-plugin-api/.temp/uni-privacy/utssdk/interface.uts +560 -0
  71. package/types/uni/uts-plugin-api/.temp/uni-prompt/utssdk/interface.uts +2607 -0
  72. package/types/uni/uts-plugin-api/.temp/uni-pullDownRefresh/utssdk/interface.uts +189 -0
  73. package/types/uni/uts-plugin-api/.temp/uni-requestMerchantTransfer/utssdk/interface.uts +710 -0
  74. package/types/uni/uts-plugin-api/.temp/uni-route/utssdk/interface.uts +2695 -0
  75. package/types/uni/uts-plugin-api/.temp/uni-rpx2px/utssdk/interface.uts +80 -0
  76. package/types/uni/uts-plugin-api/.temp/uni-scanCode/utssdk/interface.uts +130 -0
  77. package/types/uni/uts-plugin-api/.temp/uni-shareWithSystem/utssdk/interface.uts +719 -0
  78. package/types/uni/uts-plugin-api/.temp/uni-sse/utssdk/interface.uts +277 -0
  79. package/types/uni/uts-plugin-api/.temp/uni-storage/utssdk/interface.uts +1020 -0
  80. package/types/uni/uts-plugin-api/.temp/uni-tabBar/utssdk/interface.uts +1148 -0
  81. package/types/uni/uts-plugin-api/.temp/uni-theme/utssdk/interface.uts +1059 -0
  82. package/types/uni/uts-plugin-api/.temp/uni-virtualPayment/utssdk/interface.uts +1660 -0
  83. package/types/uni/uts-plugin-api/.temp/uni-websocket/utssdk/interface.uts +1941 -0
  84. package/types/uni/uts-plugin-api/global.d.ts +3 -0
  85. package/types/uni/uts-plugin-api/index.d.ts +3 -0
  86. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/global.d.ts +8 -0
  87. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/index.d.ts +4 -0
  88. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  89. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +4 -0
  90. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +2 -0
  91. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +16 -6
  92. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1 -1
  93. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +2 -0
  94. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +1 -0
  95. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +45 -0
  96. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +3 -0
  97. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +238 -233
  98. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1 -1
  99. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +28 -1
  100. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +0 -9
  101. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +67 -239
  102. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +24 -4
  103. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/global.d.ts +4 -0
  104. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/index.d.ts +2 -0
  105. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +293 -179
  106. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +118 -78
  107. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +8 -0
  108. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +4 -0
  109. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +3932 -3514
  110. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +4 -0
  111. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +2 -0
  112. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +778 -290
  113. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/global.d.ts +4 -0
  114. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/index.d.ts +2 -0
  115. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +2254 -1281
  116. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +1 -1
  117. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +36 -0
  118. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +17 -0
  119. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +180 -0
  120. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/global.d.ts +8 -0
  121. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/index.d.ts +4 -0
  122. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +1 -0
  123. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +2 -2
  124. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +126 -67
  125. package/types/uni/uts-plugin-biz/.temp/uni-ad/utssdk/interface.uts +726 -0
  126. package/types/uni/uts-plugin-biz/.temp/uni-crash/utssdk/interface.uts +89 -0
  127. package/types/uni/uts-plugin-biz/.temp/uni-facialRecognitionVerify/utssdk/interface.uts +212 -0
  128. package/types/uni/uts-plugin-biz/.temp/uni-map-tencent/utssdk/interface.uts +2359 -0
  129. package/types/uni/uts-plugin-biz/.temp/uni-push/utssdk/interface.uts +960 -0
  130. package/types/uni/uts-plugin-biz/.temp/uni-secure-network/utssdk/interface.uts +204 -0
  131. package/types/uni/uts-plugin-biz/.temp/uni-verify/utssdk/interface.uts +730 -0
  132. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +221 -0
  133. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +935 -0
  134. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +16 -0
  135. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +8 -0
  136. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +203 -1
  137. package/types/uni-cloud/interface.d.ts +229 -0
  138. package/types/vite.d.ts +269 -0
@@ -0,0 +1,1380 @@
1
+ /**
2
+ * 路由错误码
3
+ * - 4: 框架内部异常
4
+ */
5
+ export type RouteErrorCode = 4
6
+
7
+ /**
8
+ *
9
+ * @tutorial http://uniapp.dcloud.io/api/router.html#event-channel
10
+ */
11
+ export type EventChannel = {}
12
+
13
+ export interface OpenDialogPageSuccess extends AsyncApiSuccessResult {}
14
+ type OpenDialogPageSuccessCallback = (result : OpenDialogPageSuccess) => void
15
+ export interface OpenDialogPageFail extends IUniError {
16
+ errCode : RouteErrorCode
17
+ }
18
+ type OpenDialogPageFailCallback = (result : OpenDialogPageFail) => void
19
+ export type OpenDialogPageComplete = AsyncApiResult
20
+ type OpenDialogPageCompleteCallback = (result: OpenDialogPageComplete) => void
21
+
22
+ export type OpenDialogPageOptions = {
23
+ /**
24
+ * 需要跳转的应用内非 tabBar 的页面的路径 , 路径后可以带参数
25
+ * @uniPlatform
26
+ {
27
+ "app": {
28
+ "android": {
29
+ "osVer": "5.0",
30
+ "uniVer": "x",
31
+ "uniUtsPlugin": "x",
32
+ "unixVer": "4.31",
33
+ "unixUtsPlugin": "4.31"
34
+ },
35
+ "ios": {
36
+ "osVer": "12.0",
37
+ "uniVer": "x",
38
+ "uniUtsPlugin": "x",
39
+ "unixVer": "4.31",
40
+ "unixUtsPlugin": "4.31"
41
+ },
42
+ "harmony": {
43
+ "osVer": "3.0",
44
+ "uniVer": "x",
45
+ "unixVer": "x"
46
+ }
47
+ },
48
+ "mp": {
49
+ "weixin": {
50
+ "hostVer": "√",
51
+ "uniVer": "x",
52
+ "unixVer": "x"
53
+ },
54
+ "alipay": {
55
+ "hostVer": "√",
56
+ "uniVer": "x",
57
+ "unixVer": "x"
58
+ },
59
+ "baidu": {
60
+ "hostVer": "√",
61
+ "uniVer": "x",
62
+ "unixVer": "x"
63
+ },
64
+ "toutiao": {
65
+ "hostVer": "√",
66
+ "uniVer": "x",
67
+ "unixVer": "x"
68
+ },
69
+ "lark": {
70
+ "hostVer": "√",
71
+ "uniVer": "x",
72
+ "unixVer": "x"
73
+ },
74
+ "qq": {
75
+ "hostVer": "√",
76
+ "uniVer": "x",
77
+ "unixVer": "x"
78
+ },
79
+ "kuaishou": {
80
+ "hostVer": "√",
81
+ "uniVer": "x",
82
+ "unixVer": "x"
83
+ },
84
+ "jd": {
85
+ "hostVer": "√",
86
+ "uniVer": "x",
87
+ "unixVer": "x"
88
+ }
89
+ },
90
+ "web": {
91
+ "uniVer": "x",
92
+ "unixVer": "4.31"
93
+ }
94
+ }
95
+ */
96
+ url : string | string.PageURIString
97
+ /**
98
+ * 窗口显示的动画类型
99
+ *
100
+ * @defaultValue none
101
+ * @uniPlatform
102
+ {
103
+ "app": {
104
+ "android": {
105
+ "osVer": "5.0",
106
+ "uniVer": "x",
107
+ "uniUtsPlugin": "x",
108
+ "unixVer": "4.31",
109
+ "unixUtsPlugin": "4.31"
110
+ },
111
+ "ios": {
112
+ "osVer": "12.0",
113
+ "uniVer": "x",
114
+ "uniUtsPlugin": "x",
115
+ "unixVer": "4.31",
116
+ "unixUtsPlugin": "4.31"
117
+ },
118
+ "harmony": {
119
+ "osVer": "3.0",
120
+ "uniVer": "x",
121
+ "unixVer": "x"
122
+ }
123
+ },
124
+ "mp": {
125
+ "weixin": {
126
+ "hostVer": "√",
127
+ "uniVer": "x",
128
+ "unixVer": "x"
129
+ },
130
+ "alipay": {
131
+ "hostVer": "√",
132
+ "uniVer": "x",
133
+ "unixVer": "x"
134
+ },
135
+ "baidu": {
136
+ "hostVer": "√",
137
+ "uniVer": "x",
138
+ "unixVer": "x"
139
+ },
140
+ "toutiao": {
141
+ "hostVer": "√",
142
+ "uniVer": "x",
143
+ "unixVer": "x"
144
+ },
145
+ "lark": {
146
+ "hostVer": "√",
147
+ "uniVer": "x",
148
+ "unixVer": "x"
149
+ },
150
+ "qq": {
151
+ "hostVer": "√",
152
+ "uniVer": "x",
153
+ "unixVer": "x"
154
+ },
155
+ "kuaishou": {
156
+ "hostVer": "√",
157
+ "uniVer": "x",
158
+ "unixVer": "x"
159
+ },
160
+ "jd": {
161
+ "hostVer": "√",
162
+ "uniVer": "x",
163
+ "unixVer": "x"
164
+ }
165
+ },
166
+ "web": {
167
+ "uniVer": "x",
168
+ "unixVer": "4.31"
169
+ }
170
+ }
171
+ */
172
+ animationType ?:
173
+ /**
174
+ * 自动选择动画效果
175
+ */
176
+ 'auto' |
177
+ /**
178
+ * 无动画效果
179
+ */
180
+ 'none' |
181
+ /**
182
+ * 从右侧横向滑动效果
183
+ */
184
+ 'slide-in-right' |
185
+ /**
186
+ * 左侧横向滑动效果
187
+ */
188
+ 'slide-in-left' |
189
+ /**
190
+ * 从上侧竖向滑动效果
191
+ */
192
+ 'slide-in-top' |
193
+ /**
194
+ * 从下侧竖向滑动效果
195
+ */
196
+ 'slide-in-bottom' |
197
+ /**
198
+ * 从透明到不透明逐渐显示效果
199
+ */
200
+ 'fade-in' |
201
+ /**
202
+ * 从小到大逐渐放大显示效果
203
+ */
204
+ 'zoom-out' |
205
+ /**
206
+ * 从小到大逐渐放大并且从透明到不透明逐渐显示效果
207
+ */
208
+ 'zoom-fade-out' | null
209
+ /**
210
+ * 窗口关闭动画的持续时间,单位为 ms
211
+ * @uniPlatform
212
+ {
213
+ "app": {
214
+ "android": {
215
+ "osVer": "5.0",
216
+ "uniVer": "x",
217
+ "uniUtsPlugin": "x",
218
+ "unixVer": "4.31",
219
+ "unixUtsPlugin": "4.31"
220
+ },
221
+ "ios": {
222
+ "osVer": "12.0",
223
+ "uniVer": "x",
224
+ "uniUtsPlugin": "x",
225
+ "unixVer": "4.31",
226
+ "unixUtsPlugin": "4.31"
227
+ },
228
+ "harmony": {
229
+ "osVer": "3.0",
230
+ "uniVer": "x",
231
+ "unixVer": "x"
232
+ }
233
+ },
234
+ "mp": {
235
+ "weixin": {
236
+ "hostVer": "√",
237
+ "uniVer": "x",
238
+ "unixVer": "x"
239
+ },
240
+ "alipay": {
241
+ "hostVer": "√",
242
+ "uniVer": "x",
243
+ "unixVer": "x"
244
+ },
245
+ "baidu": {
246
+ "hostVer": "√",
247
+ "uniVer": "x",
248
+ "unixVer": "x"
249
+ },
250
+ "toutiao": {
251
+ "hostVer": "√",
252
+ "uniVer": "x",
253
+ "unixVer": "x"
254
+ },
255
+ "lark": {
256
+ "hostVer": "√",
257
+ "uniVer": "x",
258
+ "unixVer": "x"
259
+ },
260
+ "qq": {
261
+ "hostVer": "√",
262
+ "uniVer": "x",
263
+ "unixVer": "x"
264
+ },
265
+ "kuaishou": {
266
+ "hostVer": "√",
267
+ "uniVer": "x",
268
+ "unixVer": "x"
269
+ },
270
+ "jd": {
271
+ "hostVer": "√",
272
+ "uniVer": "x",
273
+ "unixVer": "x"
274
+ }
275
+ },
276
+ "web": {
277
+ "uniVer": "x",
278
+ "unixVer": "4.31"
279
+ }
280
+ }
281
+ */
282
+ animationDuration ?: number | null
283
+ /**
284
+ * 是否禁用按键盘 ESC 时关闭
285
+ * @uniPlatform
286
+ {
287
+ "app": {
288
+ "android": {
289
+ "osVer": "5.0",
290
+ "uniVer": "x",
291
+ "uniUtsPlugin": "x",
292
+ "unixVer": "4.31",
293
+ "unixUtsPlugin": "4.31"
294
+ },
295
+ "ios": {
296
+ "osVer": "12.0",
297
+ "uniVer": "x",
298
+ "uniUtsPlugin": "x",
299
+ "unixVer": "4.31",
300
+ "unixUtsPlugin": "4.31"
301
+ },
302
+ "harmony": {
303
+ "osVer": "3.0",
304
+ "uniVer": "x",
305
+ "unixVer": "x"
306
+ }
307
+ },
308
+ "mp": {
309
+ "weixin": {
310
+ "hostVer": "√",
311
+ "uniVer": "x",
312
+ "unixVer": "x"
313
+ },
314
+ "alipay": {
315
+ "hostVer": "√",
316
+ "uniVer": "x",
317
+ "unixVer": "x"
318
+ },
319
+ "baidu": {
320
+ "hostVer": "√",
321
+ "uniVer": "x",
322
+ "unixVer": "x"
323
+ },
324
+ "toutiao": {
325
+ "hostVer": "√",
326
+ "uniVer": "x",
327
+ "unixVer": "x"
328
+ },
329
+ "lark": {
330
+ "hostVer": "√",
331
+ "uniVer": "x",
332
+ "unixVer": "x"
333
+ },
334
+ "qq": {
335
+ "hostVer": "√",
336
+ "uniVer": "x",
337
+ "unixVer": "x"
338
+ },
339
+ "kuaishou": {
340
+ "hostVer": "√",
341
+ "uniVer": "x",
342
+ "unixVer": "x"
343
+ },
344
+ "jd": {
345
+ "hostVer": "√",
346
+ "uniVer": "x",
347
+ "unixVer": "x"
348
+ }
349
+ },
350
+ "web": {
351
+ "uniVer": "x",
352
+ "unixVer": "4.31"
353
+ }
354
+ }
355
+ */
356
+ disableEscBack ?: boolean | null
357
+
358
+ /**
359
+ * 要绑定的父级页面实例
360
+ * @uniPlatform
361
+ {
362
+ "app": {
363
+ "android": {
364
+ "osVer": "5.0",
365
+ "uniVer": "x",
366
+ "uniUtsPlugin": "x",
367
+ "unixVer": "4.31",
368
+ "unixUtsPlugin": "4.31"
369
+ },
370
+ "ios": {
371
+ "osVer": "12.0",
372
+ "uniVer": "x",
373
+ "uniUtsPlugin": "x",
374
+ "unixVer": "4.31",
375
+ "unixUtsPlugin": "4.31"
376
+ },
377
+ "harmony": {
378
+ "osVer": "3.0",
379
+ "uniVer": "x",
380
+ "unixVer": "x"
381
+ }
382
+ },
383
+ "mp": {
384
+ "weixin": {
385
+ "hostVer": "√",
386
+ "uniVer": "x",
387
+ "unixVer": "x"
388
+ },
389
+ "alipay": {
390
+ "hostVer": "√",
391
+ "uniVer": "x",
392
+ "unixVer": "x"
393
+ },
394
+ "baidu": {
395
+ "hostVer": "√",
396
+ "uniVer": "x",
397
+ "unixVer": "x"
398
+ },
399
+ "toutiao": {
400
+ "hostVer": "√",
401
+ "uniVer": "x",
402
+ "unixVer": "x"
403
+ },
404
+ "lark": {
405
+ "hostVer": "√",
406
+ "uniVer": "x",
407
+ "unixVer": "x"
408
+ },
409
+ "qq": {
410
+ "hostVer": "√",
411
+ "uniVer": "x",
412
+ "unixVer": "x"
413
+ },
414
+ "kuaishou": {
415
+ "hostVer": "√",
416
+ "uniVer": "x",
417
+ "unixVer": "x"
418
+ },
419
+ "jd": {
420
+ "hostVer": "√",
421
+ "uniVer": "x",
422
+ "unixVer": "x"
423
+ }
424
+ },
425
+ "web": {
426
+ "uniVer": "x",
427
+ "unixVer": "4.31"
428
+ }
429
+ }
430
+ */
431
+ parentPage?: UniPage | null
432
+
433
+ /**
434
+ * 是否触发父页面的 onHide 生命周期
435
+ * @uniPlatform
436
+ {
437
+ "app": {
438
+ "android": {
439
+ "osVer": "5.0",
440
+ "uniVer": "x",
441
+ "uniUtsPlugin": "x",
442
+ "unixVer": "4.41",
443
+ "unixUtsPlugin": "4.41"
444
+ },
445
+ "ios": {
446
+ "osVer": "12.0",
447
+ "uniVer": "x",
448
+ "uniUtsPlugin": "x",
449
+ "unixVer": "4.41",
450
+ "unixUtsPlugin": "4.41"
451
+ },
452
+ "harmony": {
453
+ "osVer": "3.0",
454
+ "uniVer": "x",
455
+ "unixVer": "x"
456
+ }
457
+ },
458
+ "mp": {
459
+ "weixin": {
460
+ "hostVer": "√",
461
+ "uniVer": "x",
462
+ "unixVer": "x"
463
+ },
464
+ "alipay": {
465
+ "hostVer": "√",
466
+ "uniVer": "x",
467
+ "unixVer": "x"
468
+ },
469
+ "baidu": {
470
+ "hostVer": "√",
471
+ "uniVer": "x",
472
+ "unixVer": "x"
473
+ },
474
+ "toutiao": {
475
+ "hostVer": "√",
476
+ "uniVer": "x",
477
+ "unixVer": "x"
478
+ },
479
+ "lark": {
480
+ "hostVer": "√",
481
+ "uniVer": "x",
482
+ "unixVer": "x"
483
+ },
484
+ "qq": {
485
+ "hostVer": "√",
486
+ "uniVer": "x",
487
+ "unixVer": "x"
488
+ },
489
+ "kuaishou": {
490
+ "hostVer": "√",
491
+ "uniVer": "x",
492
+ "unixVer": "x"
493
+ },
494
+ "jd": {
495
+ "hostVer": "√",
496
+ "uniVer": "x",
497
+ "unixVer": "x"
498
+ }
499
+ },
500
+ "web": {
501
+ "uniVer": "x",
502
+ "unixVer": "4.41"
503
+ }
504
+ }
505
+ */
506
+ triggerParentHide?: boolean | null
507
+
508
+ /**
509
+ * 接口调用成功的回调函数
510
+ * @uniPlatform
511
+ {
512
+ "app": {
513
+ "android": {
514
+ "osVer": "5.0",
515
+ "uniVer": "x",
516
+ "uniUtsPlugin": "x",
517
+ "unixVer": "4.31",
518
+ "unixUtsPlugin": "4.31"
519
+ },
520
+ "ios": {
521
+ "osVer": "12.0",
522
+ "uniVer": "x",
523
+ "uniUtsPlugin": "x",
524
+ "unixVer": "4.31",
525
+ "unixUtsPlugin": "4.31"
526
+ },
527
+ "harmony": {
528
+ "osVer": "3.0",
529
+ "uniVer": "x",
530
+ "unixVer": "x"
531
+ }
532
+ },
533
+ "mp": {
534
+ "weixin": {
535
+ "hostVer": "√",
536
+ "uniVer": "x",
537
+ "unixVer": "x"
538
+ },
539
+ "alipay": {
540
+ "hostVer": "√",
541
+ "uniVer": "x",
542
+ "unixVer": "x"
543
+ },
544
+ "baidu": {
545
+ "hostVer": "√",
546
+ "uniVer": "x",
547
+ "unixVer": "x"
548
+ },
549
+ "toutiao": {
550
+ "hostVer": "√",
551
+ "uniVer": "x",
552
+ "unixVer": "x"
553
+ },
554
+ "lark": {
555
+ "hostVer": "√",
556
+ "uniVer": "x",
557
+ "unixVer": "x"
558
+ },
559
+ "qq": {
560
+ "hostVer": "√",
561
+ "uniVer": "x",
562
+ "unixVer": "x"
563
+ },
564
+ "kuaishou": {
565
+ "hostVer": "√",
566
+ "uniVer": "x",
567
+ "unixVer": "x"
568
+ },
569
+ "jd": {
570
+ "hostVer": "√",
571
+ "uniVer": "x",
572
+ "unixVer": "x"
573
+ }
574
+ },
575
+ "web": {
576
+ "uniVer": "x",
577
+ "unixVer": "4.31"
578
+ }
579
+ }
580
+ */
581
+ success ?: OpenDialogPageSuccessCallback | null
582
+ /**
583
+ * 接口调用失败的回调函数
584
+ * @uniPlatform
585
+ {
586
+ "app": {
587
+ "android": {
588
+ "osVer": "5.0",
589
+ "uniVer": "x",
590
+ "uniUtsPlugin": "x",
591
+ "unixVer": "4.31",
592
+ "unixUtsPlugin": "4.31"
593
+ },
594
+ "ios": {
595
+ "osVer": "12.0",
596
+ "uniVer": "x",
597
+ "uniUtsPlugin": "x",
598
+ "unixVer": "4.31",
599
+ "unixUtsPlugin": "4.31"
600
+ },
601
+ "harmony": {
602
+ "osVer": "3.0",
603
+ "uniVer": "x",
604
+ "unixVer": "x"
605
+ }
606
+ },
607
+ "mp": {
608
+ "weixin": {
609
+ "hostVer": "√",
610
+ "uniVer": "x",
611
+ "unixVer": "x"
612
+ },
613
+ "alipay": {
614
+ "hostVer": "√",
615
+ "uniVer": "x",
616
+ "unixVer": "x"
617
+ },
618
+ "baidu": {
619
+ "hostVer": "√",
620
+ "uniVer": "x",
621
+ "unixVer": "x"
622
+ },
623
+ "toutiao": {
624
+ "hostVer": "√",
625
+ "uniVer": "x",
626
+ "unixVer": "x"
627
+ },
628
+ "lark": {
629
+ "hostVer": "√",
630
+ "uniVer": "x",
631
+ "unixVer": "x"
632
+ },
633
+ "qq": {
634
+ "hostVer": "√",
635
+ "uniVer": "x",
636
+ "unixVer": "x"
637
+ },
638
+ "kuaishou": {
639
+ "hostVer": "√",
640
+ "uniVer": "x",
641
+ "unixVer": "x"
642
+ },
643
+ "jd": {
644
+ "hostVer": "√",
645
+ "uniVer": "x",
646
+ "unixVer": "x"
647
+ }
648
+ },
649
+ "web": {
650
+ "uniVer": "x",
651
+ "unixVer": "4.31"
652
+ }
653
+ }
654
+ */
655
+ fail ?: OpenDialogPageFailCallback | null
656
+ /**
657
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
658
+ * @uniPlatform
659
+ {
660
+ "app": {
661
+ "android": {
662
+ "osVer": "5.0",
663
+ "uniVer": "x",
664
+ "uniUtsPlugin": "x",
665
+ "unixVer": "4.31",
666
+ "unixUtsPlugin": "4.31"
667
+ },
668
+ "ios": {
669
+ "osVer": "12.0",
670
+ "uniVer": "x",
671
+ "uniUtsPlugin": "x",
672
+ "unixVer": "4.31",
673
+ "unixUtsPlugin": "4.31"
674
+ },
675
+ "harmony": {
676
+ "osVer": "3.0",
677
+ "uniVer": "x",
678
+ "unixVer": "x"
679
+ }
680
+ },
681
+ "mp": {
682
+ "weixin": {
683
+ "hostVer": "√",
684
+ "uniVer": "x",
685
+ "unixVer": "x"
686
+ },
687
+ "alipay": {
688
+ "hostVer": "√",
689
+ "uniVer": "x",
690
+ "unixVer": "x"
691
+ },
692
+ "baidu": {
693
+ "hostVer": "√",
694
+ "uniVer": "x",
695
+ "unixVer": "x"
696
+ },
697
+ "toutiao": {
698
+ "hostVer": "√",
699
+ "uniVer": "x",
700
+ "unixVer": "x"
701
+ },
702
+ "lark": {
703
+ "hostVer": "√",
704
+ "uniVer": "x",
705
+ "unixVer": "x"
706
+ },
707
+ "qq": {
708
+ "hostVer": "√",
709
+ "uniVer": "x",
710
+ "unixVer": "x"
711
+ },
712
+ "kuaishou": {
713
+ "hostVer": "√",
714
+ "uniVer": "x",
715
+ "unixVer": "x"
716
+ },
717
+ "jd": {
718
+ "hostVer": "√",
719
+ "uniVer": "x",
720
+ "unixVer": "x"
721
+ }
722
+ },
723
+ "web": {
724
+ "uniVer": "x",
725
+ "unixVer": "4.31"
726
+ }
727
+ }
728
+ */
729
+ complete ?: OpenDialogPageCompleteCallback | null
730
+ }
731
+
732
+ export type CloseDialogPageSuccess = AsyncApiSuccessResult
733
+ type CloseDialogPageSuccessCallback = (result : CloseDialogPageSuccess) => void
734
+ export interface CloseDialogPageFail extends IUniError {
735
+ errCode : RouteErrorCode
736
+ }
737
+ type CloseDialogPageFailCallback = (result : CloseDialogPageFail) => void
738
+ export type CloseDialogPageComplete = AsyncApiResult
739
+ type CloseDialogPageCompleteCallback = (result : CloseDialogPageComplete) => void
740
+ export type CloseDialogPageOptions = {
741
+ /**
742
+ * 要关闭的 dialogPage 实例
743
+ * @uniPlatform
744
+ {
745
+ "app": {
746
+ "android": {
747
+ "osVer": "5.0",
748
+ "uniVer": "x",
749
+ "uniUtsPlugin": "x",
750
+ "unixVer": "4.31",
751
+ "unixUtsPlugin": "4.31"
752
+ },
753
+ "ios": {
754
+ "osVer": "12.0",
755
+ "uniVer": "x",
756
+ "uniUtsPlugin": "x",
757
+ "unixVer": "4.31",
758
+ "unixUtsPlugin": "4.31"
759
+ },
760
+ "harmony": {
761
+ "osVer": "3.0",
762
+ "uniVer": "x",
763
+ "unixVer": "x"
764
+ }
765
+ },
766
+ "mp": {
767
+ "weixin": {
768
+ "hostVer": "√",
769
+ "uniVer": "x",
770
+ "unixVer": "x"
771
+ },
772
+ "alipay": {
773
+ "hostVer": "√",
774
+ "uniVer": "x",
775
+ "unixVer": "x"
776
+ },
777
+ "baidu": {
778
+ "hostVer": "√",
779
+ "uniVer": "x",
780
+ "unixVer": "x"
781
+ },
782
+ "toutiao": {
783
+ "hostVer": "√",
784
+ "uniVer": "x",
785
+ "unixVer": "x"
786
+ },
787
+ "lark": {
788
+ "hostVer": "√",
789
+ "uniVer": "x",
790
+ "unixVer": "x"
791
+ },
792
+ "qq": {
793
+ "hostVer": "√",
794
+ "uniVer": "x",
795
+ "unixVer": "x"
796
+ },
797
+ "kuaishou": {
798
+ "hostVer": "√",
799
+ "uniVer": "x",
800
+ "unixVer": "x"
801
+ },
802
+ "jd": {
803
+ "hostVer": "√",
804
+ "uniVer": "x",
805
+ "unixVer": "x"
806
+ }
807
+ },
808
+ "web": {
809
+ "uniVer": "x",
810
+ "unixVer": "4.31"
811
+ }
812
+ }
813
+ */
814
+ dialogPage?: UniPage | null
815
+ /**
816
+ * 窗口关闭的动画类型
817
+ *
818
+ * @defaultValue auto
819
+ * @uniPlatform
820
+ {
821
+ "app": {
822
+ "android": {
823
+ "osVer": "5.0",
824
+ "uniVer": "x",
825
+ "uniUtsPlugin": "x",
826
+ "unixVer": "4.31",
827
+ "unixUtsPlugin": "4.31"
828
+ },
829
+ "ios": {
830
+ "osVer": "12.0",
831
+ "uniVer": "x",
832
+ "uniUtsPlugin": "x",
833
+ "unixVer": "4.31",
834
+ "unixUtsPlugin": "4.31"
835
+ },
836
+ "harmony": {
837
+ "osVer": "3.0",
838
+ "uniVer": "x",
839
+ "unixVer": "x"
840
+ }
841
+ },
842
+ "mp": {
843
+ "weixin": {
844
+ "hostVer": "√",
845
+ "uniVer": "x",
846
+ "unixVer": "x"
847
+ },
848
+ "alipay": {
849
+ "hostVer": "√",
850
+ "uniVer": "x",
851
+ "unixVer": "x"
852
+ },
853
+ "baidu": {
854
+ "hostVer": "√",
855
+ "uniVer": "x",
856
+ "unixVer": "x"
857
+ },
858
+ "toutiao": {
859
+ "hostVer": "√",
860
+ "uniVer": "x",
861
+ "unixVer": "x"
862
+ },
863
+ "lark": {
864
+ "hostVer": "√",
865
+ "uniVer": "x",
866
+ "unixVer": "x"
867
+ },
868
+ "qq": {
869
+ "hostVer": "√",
870
+ "uniVer": "x",
871
+ "unixVer": "x"
872
+ },
873
+ "kuaishou": {
874
+ "hostVer": "√",
875
+ "uniVer": "x",
876
+ "unixVer": "x"
877
+ },
878
+ "jd": {
879
+ "hostVer": "√",
880
+ "uniVer": "x",
881
+ "unixVer": "x"
882
+ }
883
+ },
884
+ "web": {
885
+ "uniVer": "x",
886
+ "unixVer": "4.31"
887
+ }
888
+ }
889
+ */
890
+ animationType ?:
891
+ /**
892
+ * 自动选择动画效果
893
+ */
894
+ 'auto' |
895
+ /**
896
+ * 无动画效果
897
+ */
898
+ 'none' |
899
+ /**
900
+ * 横向向右侧滑出屏幕动画
901
+ */
902
+ 'slide-out-right' |
903
+ /**
904
+ * 横向向左侧滑出屏幕动画
905
+ */
906
+ 'slide-out-left' |
907
+ /**
908
+ * 竖向向上侧滑出屏幕动画
909
+ */
910
+ 'slide-out-top' |
911
+ /**
912
+ * 竖向向下侧滑出屏幕动画
913
+ */
914
+ 'slide-out-bottom' |
915
+ /**
916
+ * 从不透明到透明逐渐隐藏动画
917
+ */
918
+ 'fade-out' |
919
+ /**
920
+ * 从大逐渐缩小关闭动画
921
+ */
922
+ 'zoom-in' |
923
+ /**
924
+ * 从大逐渐缩小并且从不透明到透明逐渐隐藏关闭动画
925
+ */
926
+ 'zoom-fade-in' | null
927
+ /**
928
+ * 窗口关闭动画的持续时间,单位为 ms
929
+ * @uniPlatform
930
+ {
931
+ "app": {
932
+ "android": {
933
+ "osVer": "5.0",
934
+ "uniVer": "x",
935
+ "uniUtsPlugin": "x",
936
+ "unixVer": "4.31",
937
+ "unixUtsPlugin": "4.31"
938
+ },
939
+ "ios": {
940
+ "osVer": "12.0",
941
+ "uniVer": "x",
942
+ "uniUtsPlugin": "x",
943
+ "unixVer": "4.31",
944
+ "unixUtsPlugin": "4.31"
945
+ },
946
+ "harmony": {
947
+ "osVer": "3.0",
948
+ "uniVer": "x",
949
+ "unixVer": "x"
950
+ }
951
+ },
952
+ "mp": {
953
+ "weixin": {
954
+ "hostVer": "√",
955
+ "uniVer": "x",
956
+ "unixVer": "x"
957
+ },
958
+ "alipay": {
959
+ "hostVer": "√",
960
+ "uniVer": "x",
961
+ "unixVer": "x"
962
+ },
963
+ "baidu": {
964
+ "hostVer": "√",
965
+ "uniVer": "x",
966
+ "unixVer": "x"
967
+ },
968
+ "toutiao": {
969
+ "hostVer": "√",
970
+ "uniVer": "x",
971
+ "unixVer": "x"
972
+ },
973
+ "lark": {
974
+ "hostVer": "√",
975
+ "uniVer": "x",
976
+ "unixVer": "x"
977
+ },
978
+ "qq": {
979
+ "hostVer": "√",
980
+ "uniVer": "x",
981
+ "unixVer": "x"
982
+ },
983
+ "kuaishou": {
984
+ "hostVer": "√",
985
+ "uniVer": "x",
986
+ "unixVer": "x"
987
+ },
988
+ "jd": {
989
+ "hostVer": "√",
990
+ "uniVer": "x",
991
+ "unixVer": "x"
992
+ }
993
+ },
994
+ "web": {
995
+ "uniVer": "x",
996
+ "unixVer": "4.31"
997
+ }
998
+ }
999
+ */
1000
+ animationDuration ?: number | null
1001
+
1002
+ /**
1003
+ * 接口调用成功的回调函数
1004
+ * @uniPlatform
1005
+ {
1006
+ "app": {
1007
+ "android": {
1008
+ "osVer": "5.0",
1009
+ "uniVer": "x",
1010
+ "uniUtsPlugin": "x",
1011
+ "unixVer": "4.31",
1012
+ "unixUtsPlugin": "4.31"
1013
+ },
1014
+ "ios": {
1015
+ "osVer": "12.0",
1016
+ "uniVer": "x",
1017
+ "uniUtsPlugin": "x",
1018
+ "unixVer": "4.31",
1019
+ "unixUtsPlugin": "4.31"
1020
+ },
1021
+ "harmony": {
1022
+ "osVer": "3.0",
1023
+ "uniVer": "x",
1024
+ "unixVer": "x"
1025
+ }
1026
+ },
1027
+ "mp": {
1028
+ "weixin": {
1029
+ "hostVer": "√",
1030
+ "uniVer": "x",
1031
+ "unixVer": "x"
1032
+ },
1033
+ "alipay": {
1034
+ "hostVer": "√",
1035
+ "uniVer": "x",
1036
+ "unixVer": "x"
1037
+ },
1038
+ "baidu": {
1039
+ "hostVer": "√",
1040
+ "uniVer": "x",
1041
+ "unixVer": "x"
1042
+ },
1043
+ "toutiao": {
1044
+ "hostVer": "√",
1045
+ "uniVer": "x",
1046
+ "unixVer": "x"
1047
+ },
1048
+ "lark": {
1049
+ "hostVer": "√",
1050
+ "uniVer": "x",
1051
+ "unixVer": "x"
1052
+ },
1053
+ "qq": {
1054
+ "hostVer": "√",
1055
+ "uniVer": "x",
1056
+ "unixVer": "x"
1057
+ },
1058
+ "kuaishou": {
1059
+ "hostVer": "√",
1060
+ "uniVer": "x",
1061
+ "unixVer": "x"
1062
+ },
1063
+ "jd": {
1064
+ "hostVer": "√",
1065
+ "uniVer": "x",
1066
+ "unixVer": "x"
1067
+ }
1068
+ },
1069
+ "web": {
1070
+ "uniVer": "x",
1071
+ "unixVer": "4.31"
1072
+ }
1073
+ }
1074
+ */
1075
+ success ?: CloseDialogPageSuccessCallback | null
1076
+ /**
1077
+ * 接口调用失败的回调函数
1078
+ * @uniPlatform
1079
+ {
1080
+ "app": {
1081
+ "android": {
1082
+ "osVer": "5.0",
1083
+ "uniVer": "x",
1084
+ "uniUtsPlugin": "x",
1085
+ "unixVer": "4.31",
1086
+ "unixUtsPlugin": "4.31"
1087
+ },
1088
+ "ios": {
1089
+ "osVer": "12.0",
1090
+ "uniVer": "x",
1091
+ "uniUtsPlugin": "x",
1092
+ "unixVer": "4.31",
1093
+ "unixUtsPlugin": "4.31"
1094
+ },
1095
+ "harmony": {
1096
+ "osVer": "3.0",
1097
+ "uniVer": "x",
1098
+ "unixVer": "x"
1099
+ }
1100
+ },
1101
+ "mp": {
1102
+ "weixin": {
1103
+ "hostVer": "√",
1104
+ "uniVer": "x",
1105
+ "unixVer": "x"
1106
+ },
1107
+ "alipay": {
1108
+ "hostVer": "√",
1109
+ "uniVer": "x",
1110
+ "unixVer": "x"
1111
+ },
1112
+ "baidu": {
1113
+ "hostVer": "√",
1114
+ "uniVer": "x",
1115
+ "unixVer": "x"
1116
+ },
1117
+ "toutiao": {
1118
+ "hostVer": "√",
1119
+ "uniVer": "x",
1120
+ "unixVer": "x"
1121
+ },
1122
+ "lark": {
1123
+ "hostVer": "√",
1124
+ "uniVer": "x",
1125
+ "unixVer": "x"
1126
+ },
1127
+ "qq": {
1128
+ "hostVer": "√",
1129
+ "uniVer": "x",
1130
+ "unixVer": "x"
1131
+ },
1132
+ "kuaishou": {
1133
+ "hostVer": "√",
1134
+ "uniVer": "x",
1135
+ "unixVer": "x"
1136
+ },
1137
+ "jd": {
1138
+ "hostVer": "√",
1139
+ "uniVer": "x",
1140
+ "unixVer": "x"
1141
+ }
1142
+ },
1143
+ "web": {
1144
+ "uniVer": "x",
1145
+ "unixVer": "4.31"
1146
+ }
1147
+ }
1148
+ */
1149
+ fail ?: CloseDialogPageFailCallback | null
1150
+ /**
1151
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
1152
+ * @uniPlatform
1153
+ {
1154
+ "app": {
1155
+ "android": {
1156
+ "osVer": "5.0",
1157
+ "uniVer": "x",
1158
+ "uniUtsPlugin": "x",
1159
+ "unixVer": "4.31",
1160
+ "unixUtsPlugin": "4.31"
1161
+ },
1162
+ "ios": {
1163
+ "osVer": "12.0",
1164
+ "uniVer": "x",
1165
+ "uniUtsPlugin": "x",
1166
+ "unixVer": "4.31",
1167
+ "unixUtsPlugin": "4.31"
1168
+ },
1169
+ "harmony": {
1170
+ "osVer": "3.0",
1171
+ "uniVer": "x",
1172
+ "unixVer": "x"
1173
+ }
1174
+ },
1175
+ "mp": {
1176
+ "weixin": {
1177
+ "hostVer": "√",
1178
+ "uniVer": "x",
1179
+ "unixVer": "x"
1180
+ },
1181
+ "alipay": {
1182
+ "hostVer": "√",
1183
+ "uniVer": "x",
1184
+ "unixVer": "x"
1185
+ },
1186
+ "baidu": {
1187
+ "hostVer": "√",
1188
+ "uniVer": "x",
1189
+ "unixVer": "x"
1190
+ },
1191
+ "toutiao": {
1192
+ "hostVer": "√",
1193
+ "uniVer": "x",
1194
+ "unixVer": "x"
1195
+ },
1196
+ "lark": {
1197
+ "hostVer": "√",
1198
+ "uniVer": "x",
1199
+ "unixVer": "x"
1200
+ },
1201
+ "qq": {
1202
+ "hostVer": "√",
1203
+ "uniVer": "x",
1204
+ "unixVer": "x"
1205
+ },
1206
+ "kuaishou": {
1207
+ "hostVer": "√",
1208
+ "uniVer": "x",
1209
+ "unixVer": "x"
1210
+ },
1211
+ "jd": {
1212
+ "hostVer": "√",
1213
+ "uniVer": "x",
1214
+ "unixVer": "x"
1215
+ }
1216
+ },
1217
+ "web": {
1218
+ "uniVer": "x",
1219
+ "unixVer": "4.31"
1220
+ }
1221
+ }
1222
+ */
1223
+ complete ?: CloseDialogPageCompleteCallback | null
1224
+ }
1225
+
1226
+ export interface Uni {
1227
+ /**
1228
+ * 打开模态弹窗页面
1229
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/dialog-page.html
1230
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/dialog-page.html
1231
+ * @uniPlatform
1232
+ {
1233
+ "app": {
1234
+ "android": {
1235
+ "osVer": "5.0",
1236
+ "uniVer": "x",
1237
+ "uniUtsPlugin": "x",
1238
+ "unixVer": "4.31",
1239
+ "unixUtsPlugin": "4.31"
1240
+ },
1241
+ "ios": {
1242
+ "osVer": "12.0",
1243
+ "uniVer": "x",
1244
+ "uniUtsPlugin": "x",
1245
+ "unixVer": "4.31",
1246
+ "unixUtsPlugin": "4.31"
1247
+ },
1248
+ "harmony": {
1249
+ "osVer": "3.0",
1250
+ "uniVer": "x",
1251
+ "unixVer": "x"
1252
+ }
1253
+ },
1254
+ "mp": {
1255
+ "weixin": {
1256
+ "hostVer": "√",
1257
+ "uniVer": "x",
1258
+ "unixVer": "x"
1259
+ },
1260
+ "alipay": {
1261
+ "hostVer": "√",
1262
+ "uniVer": "x",
1263
+ "unixVer": "x"
1264
+ },
1265
+ "baidu": {
1266
+ "hostVer": "√",
1267
+ "uniVer": "x",
1268
+ "unixVer": "x"
1269
+ },
1270
+ "toutiao": {
1271
+ "hostVer": "√",
1272
+ "uniVer": "x",
1273
+ "unixVer": "x"
1274
+ },
1275
+ "lark": {
1276
+ "hostVer": "√",
1277
+ "uniVer": "x",
1278
+ "unixVer": "x"
1279
+ },
1280
+ "qq": {
1281
+ "hostVer": "√",
1282
+ "uniVer": "x",
1283
+ "unixVer": "x"
1284
+ },
1285
+ "kuaishou": {
1286
+ "hostVer": "√",
1287
+ "uniVer": "x",
1288
+ "unixVer": "x"
1289
+ },
1290
+ "jd": {
1291
+ "hostVer": "√",
1292
+ "uniVer": "x",
1293
+ "unixVer": "x"
1294
+ }
1295
+ },
1296
+ "web": {
1297
+ "uniVer": "x",
1298
+ "unixVer": "4.31"
1299
+ }
1300
+ }
1301
+ */
1302
+ openDialogPage(options: OpenDialogPageOptions): UniPage | null
1303
+ /**
1304
+ * 关闭模态弹窗页面
1305
+ *
1306
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/dialog-page.html
1307
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/dialog-page.html
1308
+ * @uniPlatform
1309
+ {
1310
+ "app": {
1311
+ "android": {
1312
+ "osVer": "5.0",
1313
+ "uniVer": "x",
1314
+ "uniUtsPlugin": "x",
1315
+ "unixVer": "4.31",
1316
+ "unixUtsPlugin": "4.31"
1317
+ },
1318
+ "ios": {
1319
+ "osVer": "12.0",
1320
+ "uniVer": "x",
1321
+ "uniUtsPlugin": "x",
1322
+ "unixVer": "4.31",
1323
+ "unixUtsPlugin": "4.31"
1324
+ },
1325
+ "harmony": {
1326
+ "osVer": "3.0",
1327
+ "uniVer": "x",
1328
+ "unixVer": "x"
1329
+ }
1330
+ },
1331
+ "mp": {
1332
+ "weixin": {
1333
+ "hostVer": "√",
1334
+ "uniVer": "x",
1335
+ "unixVer": "x"
1336
+ },
1337
+ "alipay": {
1338
+ "hostVer": "√",
1339
+ "uniVer": "x",
1340
+ "unixVer": "x"
1341
+ },
1342
+ "baidu": {
1343
+ "hostVer": "√",
1344
+ "uniVer": "x",
1345
+ "unixVer": "x"
1346
+ },
1347
+ "toutiao": {
1348
+ "hostVer": "√",
1349
+ "uniVer": "x",
1350
+ "unixVer": "x"
1351
+ },
1352
+ "lark": {
1353
+ "hostVer": "√",
1354
+ "uniVer": "x",
1355
+ "unixVer": "x"
1356
+ },
1357
+ "qq": {
1358
+ "hostVer": "√",
1359
+ "uniVer": "x",
1360
+ "unixVer": "x"
1361
+ },
1362
+ "kuaishou": {
1363
+ "hostVer": "√",
1364
+ "uniVer": "x",
1365
+ "unixVer": "x"
1366
+ },
1367
+ "jd": {
1368
+ "hostVer": "√",
1369
+ "uniVer": "x",
1370
+ "unixVer": "x"
1371
+ }
1372
+ },
1373
+ "web": {
1374
+ "uniVer": "x",
1375
+ "unixVer": "4.31"
1376
+ }
1377
+ }
1378
+ */
1379
+ closeDialogPage(options ?: CloseDialogPageOptions | null) : null
1380
+ }