@dcloudio/uni-app-x 0.7.60 → 0.7.61
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/package.json +2 -2
- package/types/app.d.ts +14 -7
- package/types/native/IUniElement.d.ts +1 -1
- package/types/native/UniCustomElement.d.ts +2 -2
- package/types/native/UniInputChangeEvent.d.ts +31 -0
- package/types/native/UniPage.d.ts +10 -2
- package/types/native/global.d.ts +12 -0
- package/types/native/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/global.d.ts +1 -0
- package/types/uni/uts-plugin-api/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +77 -433
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +561 -131
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +17 -34
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +4 -8
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +1 -2
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +8 -4
- package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +29 -58
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +36 -72
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +9 -7
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +8 -7
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +84 -0
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +47 -0
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/global.d.ts +38 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/index.d.ts +19 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +1783 -107
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +13 -18
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +68 -208
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +2 -4
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +105 -107
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +359 -66
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +40 -0
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +10 -15
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +86 -94
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +25 -26
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +30 -60
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +32 -64
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +298 -4
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +347 -10
- package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +25 -33
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +21 -33
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +23 -46
- package/types/uni/uts-plugin-biz/global.d.ts +11 -0
- package/types/uni/uts-plugin-biz/index.d.ts +11 -0
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +60 -3
- package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +6 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/global.d.ts +52 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/index.d.ts +25 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/interface.d.ts +445 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/global.d.ts +48 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/index.d.ts +23 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/interface.d.ts +138 -0
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +28 -12
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/global.d.ts +18 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/interface.d.ts +45 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +7 -2
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +37 -44
- package/types/uni/uts-plugin-extend/global.d.ts +0 -2
- package/types/uni/uts-plugin-extend/index.d.ts +0 -2
- package/types/vue/LifeCycle.d.ts +723 -1
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +0 -14
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +0 -1670
|
@@ -42,242 +42,22 @@ type ShowActionSheetCompleteCallback = (result: ShowActionSheetComplete) => void
|
|
|
42
42
|
export type ShowActionSheetOptions = {
|
|
43
43
|
/**
|
|
44
44
|
* 菜单标题
|
|
45
|
-
* @uniPlatform {
|
|
46
|
-
* "mp": {
|
|
47
|
-
* "weixin": {
|
|
48
|
-
* "hostVer": "√",
|
|
49
|
-
* "uniVer": "√",
|
|
50
|
-
* "unixVer": "4.41"
|
|
51
|
-
* },
|
|
52
|
-
* "alipay": {
|
|
53
|
-
* "hostVer": "-",
|
|
54
|
-
* "uniVer": "-",
|
|
55
|
-
* "unixVer": "-"
|
|
56
|
-
* },
|
|
57
|
-
* "baidu": {
|
|
58
|
-
* "hostVer": "-",
|
|
59
|
-
* "uniVer": "-",
|
|
60
|
-
* "unixVer": "-"
|
|
61
|
-
* },
|
|
62
|
-
* "toutiao": {
|
|
63
|
-
* "hostVer": "-",
|
|
64
|
-
* "uniVer": "-",
|
|
65
|
-
* "unixVer": "-"
|
|
66
|
-
* },
|
|
67
|
-
* "lark": {
|
|
68
|
-
* "hostVer": "-",
|
|
69
|
-
* "uniVer": "-",
|
|
70
|
-
* "unixVer": "-"
|
|
71
|
-
* },
|
|
72
|
-
* "qq": {
|
|
73
|
-
* "hostVer": "-",
|
|
74
|
-
* "uniVer": "-",
|
|
75
|
-
* "unixVer": "-"
|
|
76
|
-
* },
|
|
77
|
-
* "kuaishou": {
|
|
78
|
-
* "hostVer": "-",
|
|
79
|
-
* "uniVer": "-",
|
|
80
|
-
* "unixVer": "-"
|
|
81
|
-
* },
|
|
82
|
-
* "jd": {
|
|
83
|
-
* "hostVer": "-",
|
|
84
|
-
* "uniVer": "-",
|
|
85
|
-
* "unixVer": "-"
|
|
86
|
-
* }
|
|
87
|
-
* }
|
|
88
|
-
* }
|
|
89
45
|
*/
|
|
90
46
|
title?: string | null,
|
|
91
47
|
/**
|
|
92
48
|
* 警示文案(仅微信小程序真机有效)
|
|
93
|
-
|
|
94
|
-
* "mp": {
|
|
95
|
-
* "weixin": {
|
|
96
|
-
* "hostVer": "√",
|
|
97
|
-
* "uniVer": "√",
|
|
98
|
-
* "unixVer": "4.41"
|
|
99
|
-
* },
|
|
100
|
-
* "alipay": {
|
|
101
|
-
* "hostVer": "-",
|
|
102
|
-
* "uniVer": "-",
|
|
103
|
-
* "unixVer": "-"
|
|
104
|
-
* },
|
|
105
|
-
* "baidu": {
|
|
106
|
-
* "hostVer": "-",
|
|
107
|
-
* "uniVer": "-",
|
|
108
|
-
* "unixVer": "-"
|
|
109
|
-
* },
|
|
110
|
-
* "toutiao": {
|
|
111
|
-
* "hostVer": "-",
|
|
112
|
-
* "uniVer": "-",
|
|
113
|
-
* "unixVer": "-"
|
|
114
|
-
* },
|
|
115
|
-
* "lark": {
|
|
116
|
-
* "hostVer": "-",
|
|
117
|
-
* "uniVer": "-",
|
|
118
|
-
* "unixVer": "-"
|
|
119
|
-
* },
|
|
120
|
-
* "qq": {
|
|
121
|
-
* "hostVer": "-",
|
|
122
|
-
* "uniVer": "-",
|
|
123
|
-
* "unixVer": "-"
|
|
124
|
-
* },
|
|
125
|
-
* "kuaishou": {
|
|
126
|
-
* "hostVer": "-",
|
|
127
|
-
* "uniVer": "-",
|
|
128
|
-
* "unixVer": "-"
|
|
129
|
-
* },
|
|
130
|
-
* "jd": {
|
|
131
|
-
* "hostVer": "-",
|
|
132
|
-
* "uniVer": "-",
|
|
133
|
-
* "unixVer": "-"
|
|
134
|
-
* }
|
|
135
|
-
* }
|
|
136
|
-
* }
|
|
137
|
-
*/
|
|
49
|
+
*/
|
|
138
50
|
alertText?: string | null,
|
|
139
51
|
/**
|
|
140
52
|
* 按钮的文字数组
|
|
141
|
-
* @uniPlatform {
|
|
142
|
-
* "mp": {
|
|
143
|
-
* "weixin": {
|
|
144
|
-
* "hostVer": "√",
|
|
145
|
-
* "uniVer": "√",
|
|
146
|
-
* "unixVer": "4.41"
|
|
147
|
-
* },
|
|
148
|
-
* "alipay": {
|
|
149
|
-
* "hostVer": "-",
|
|
150
|
-
* "uniVer": "-",
|
|
151
|
-
* "unixVer": "-"
|
|
152
|
-
* },
|
|
153
|
-
* "baidu": {
|
|
154
|
-
* "hostVer": "-",
|
|
155
|
-
* "uniVer": "-",
|
|
156
|
-
* "unixVer": "-"
|
|
157
|
-
* },
|
|
158
|
-
* "toutiao": {
|
|
159
|
-
* "hostVer": "-",
|
|
160
|
-
* "uniVer": "-",
|
|
161
|
-
* "unixVer": "-"
|
|
162
|
-
* },
|
|
163
|
-
* "lark": {
|
|
164
|
-
* "hostVer": "-",
|
|
165
|
-
* "uniVer": "-",
|
|
166
|
-
* "unixVer": "-"
|
|
167
|
-
* },
|
|
168
|
-
* "qq": {
|
|
169
|
-
* "hostVer": "-",
|
|
170
|
-
* "uniVer": "-",
|
|
171
|
-
* "unixVer": "-"
|
|
172
|
-
* },
|
|
173
|
-
* "kuaishou": {
|
|
174
|
-
* "hostVer": "-",
|
|
175
|
-
* "uniVer": "-",
|
|
176
|
-
* "unixVer": "-"
|
|
177
|
-
* },
|
|
178
|
-
* "jd": {
|
|
179
|
-
* "hostVer": "-",
|
|
180
|
-
* "uniVer": "-",
|
|
181
|
-
* "unixVer": "-"
|
|
182
|
-
* }
|
|
183
|
-
* }
|
|
184
|
-
* }
|
|
185
53
|
*/
|
|
186
54
|
itemList: string[],
|
|
187
55
|
/**
|
|
188
56
|
* 按钮的文字颜色,字符串格式
|
|
189
|
-
* @uniPlatform {
|
|
190
|
-
* "mp": {
|
|
191
|
-
* "weixin": {
|
|
192
|
-
* "hostVer": "√",
|
|
193
|
-
* "uniVer": "√",
|
|
194
|
-
* "unixVer": "4.41"
|
|
195
|
-
* },
|
|
196
|
-
* "alipay": {
|
|
197
|
-
* "hostVer": "-",
|
|
198
|
-
* "uniVer": "-",
|
|
199
|
-
* "unixVer": "-"
|
|
200
|
-
* },
|
|
201
|
-
* "baidu": {
|
|
202
|
-
* "hostVer": "-",
|
|
203
|
-
* "uniVer": "-",
|
|
204
|
-
* "unixVer": "-"
|
|
205
|
-
* },
|
|
206
|
-
* "toutiao": {
|
|
207
|
-
* "hostVer": "-",
|
|
208
|
-
* "uniVer": "-",
|
|
209
|
-
* "unixVer": "-"
|
|
210
|
-
* },
|
|
211
|
-
* "lark": {
|
|
212
|
-
* "hostVer": "-",
|
|
213
|
-
* "uniVer": "-",
|
|
214
|
-
* "unixVer": "-"
|
|
215
|
-
* },
|
|
216
|
-
* "qq": {
|
|
217
|
-
* "hostVer": "-",
|
|
218
|
-
* "uniVer": "-",
|
|
219
|
-
* "unixVer": "-"
|
|
220
|
-
* },
|
|
221
|
-
* "kuaishou": {
|
|
222
|
-
* "hostVer": "-",
|
|
223
|
-
* "uniVer": "-",
|
|
224
|
-
* "unixVer": "-"
|
|
225
|
-
* },
|
|
226
|
-
* "jd": {
|
|
227
|
-
* "hostVer": "-",
|
|
228
|
-
* "uniVer": "-",
|
|
229
|
-
* "unixVer": "-"
|
|
230
|
-
* }
|
|
231
|
-
* }
|
|
232
|
-
* }
|
|
233
57
|
*/
|
|
234
58
|
itemColor?: string.ColorString | null,
|
|
235
59
|
/**
|
|
236
60
|
* 大屏设备弹出原生选择按钮框的指示区域,默认居中显示
|
|
237
|
-
* @uniPlatform {
|
|
238
|
-
* "mp": {
|
|
239
|
-
* "weixin": {
|
|
240
|
-
* "hostVer": "√",
|
|
241
|
-
* "uniVer": "√",
|
|
242
|
-
* "unixVer": "4.41"
|
|
243
|
-
* },
|
|
244
|
-
* "alipay": {
|
|
245
|
-
* "hostVer": "-",
|
|
246
|
-
* "uniVer": "-",
|
|
247
|
-
* "unixVer": "-"
|
|
248
|
-
* },
|
|
249
|
-
* "baidu": {
|
|
250
|
-
* "hostVer": "-",
|
|
251
|
-
* "uniVer": "-",
|
|
252
|
-
* "unixVer": "-"
|
|
253
|
-
* },
|
|
254
|
-
* "toutiao": {
|
|
255
|
-
* "hostVer": "-",
|
|
256
|
-
* "uniVer": "-",
|
|
257
|
-
* "unixVer": "-"
|
|
258
|
-
* },
|
|
259
|
-
* "lark": {
|
|
260
|
-
* "hostVer": "-",
|
|
261
|
-
* "uniVer": "-",
|
|
262
|
-
* "unixVer": "-"
|
|
263
|
-
* },
|
|
264
|
-
* "qq": {
|
|
265
|
-
* "hostVer": "-",
|
|
266
|
-
* "uniVer": "-",
|
|
267
|
-
* "unixVer": "-"
|
|
268
|
-
* },
|
|
269
|
-
* "kuaishou": {
|
|
270
|
-
* "hostVer": "-",
|
|
271
|
-
* "uniVer": "-",
|
|
272
|
-
* "unixVer": "-"
|
|
273
|
-
* },
|
|
274
|
-
* "jd": {
|
|
275
|
-
* "hostVer": "-",
|
|
276
|
-
* "uniVer": "-",
|
|
277
|
-
* "unixVer": "-"
|
|
278
|
-
* }
|
|
279
|
-
* }
|
|
280
|
-
* }
|
|
281
61
|
*/
|
|
282
62
|
popover?: Popover | null,
|
|
283
63
|
/**
|
|
@@ -288,8 +68,7 @@ export type ShowActionSheetOptions = {
|
|
|
288
68
|
* "osVer": "5.0",
|
|
289
69
|
* "uniVer": "√",
|
|
290
70
|
* "uniUtsPlugin": "x",
|
|
291
|
-
* "unixVer": "4.51"
|
|
292
|
-
* "unixUtsPlugin": "4.51"
|
|
71
|
+
* "unixVer": "4.51"
|
|
293
72
|
* },
|
|
294
73
|
* "ios": {
|
|
295
74
|
* "osVer": "12.0",
|
|
@@ -361,8 +140,7 @@ export type ShowActionSheetOptions = {
|
|
|
361
140
|
* "osVer": "5.0",
|
|
362
141
|
* "uniVer": "√",
|
|
363
142
|
* "uniUtsPlugin": "x",
|
|
364
|
-
* "unixVer": "4.51"
|
|
365
|
-
* "unixUtsPlugin": "4.51"
|
|
143
|
+
* "unixVer": "4.51"
|
|
366
144
|
* },
|
|
367
145
|
* "ios": {
|
|
368
146
|
* "osVer": "12.0",
|
|
@@ -434,8 +212,7 @@ export type ShowActionSheetOptions = {
|
|
|
434
212
|
* "osVer": "5.0",
|
|
435
213
|
* "uniVer": "√",
|
|
436
214
|
* "uniUtsPlugin": "x",
|
|
437
|
-
* "unixVer": "4.51"
|
|
438
|
-
* "unixUtsPlugin": "4.51"
|
|
215
|
+
* "unixVer": "4.51"
|
|
439
216
|
* },
|
|
440
217
|
* "ios": {
|
|
441
218
|
* "osVer": "12.0",
|
|
@@ -507,8 +284,7 @@ export type ShowActionSheetOptions = {
|
|
|
507
284
|
* "osVer": "5.0",
|
|
508
285
|
* "uniVer": "√",
|
|
509
286
|
* "uniUtsPlugin": "x",
|
|
510
|
-
* "unixVer": "4.51"
|
|
511
|
-
* "unixUtsPlugin": "4.51"
|
|
287
|
+
* "unixVer": "4.51"
|
|
512
288
|
* },
|
|
513
289
|
* "ios": {
|
|
514
290
|
* "osVer": "12.0",
|
|
@@ -574,146 +350,14 @@ export type ShowActionSheetOptions = {
|
|
|
574
350
|
backgroundColor?: string.ColorString | null,
|
|
575
351
|
/**
|
|
576
352
|
* 接口调用成功的回调函数
|
|
577
|
-
* @uniPlatform {
|
|
578
|
-
* "mp": {
|
|
579
|
-
* "weixin": {
|
|
580
|
-
* "hostVer": "√",
|
|
581
|
-
* "uniVer": "√",
|
|
582
|
-
* "unixVer": "4.41"
|
|
583
|
-
* },
|
|
584
|
-
* "alipay": {
|
|
585
|
-
* "hostVer": "-",
|
|
586
|
-
* "uniVer": "-",
|
|
587
|
-
* "unixVer": "-"
|
|
588
|
-
* },
|
|
589
|
-
* "baidu": {
|
|
590
|
-
* "hostVer": "-",
|
|
591
|
-
* "uniVer": "-",
|
|
592
|
-
* "unixVer": "-"
|
|
593
|
-
* },
|
|
594
|
-
* "toutiao": {
|
|
595
|
-
* "hostVer": "-",
|
|
596
|
-
* "uniVer": "-",
|
|
597
|
-
* "unixVer": "-"
|
|
598
|
-
* },
|
|
599
|
-
* "lark": {
|
|
600
|
-
* "hostVer": "-",
|
|
601
|
-
* "uniVer": "-",
|
|
602
|
-
* "unixVer": "-"
|
|
603
|
-
* },
|
|
604
|
-
* "qq": {
|
|
605
|
-
* "hostVer": "-",
|
|
606
|
-
* "uniVer": "-",
|
|
607
|
-
* "unixVer": "-"
|
|
608
|
-
* },
|
|
609
|
-
* "kuaishou": {
|
|
610
|
-
* "hostVer": "-",
|
|
611
|
-
* "uniVer": "-",
|
|
612
|
-
* "unixVer": "-"
|
|
613
|
-
* },
|
|
614
|
-
* "jd": {
|
|
615
|
-
* "hostVer": "-",
|
|
616
|
-
* "uniVer": "-",
|
|
617
|
-
* "unixVer": "-"
|
|
618
|
-
* }
|
|
619
|
-
* }
|
|
620
|
-
* }
|
|
621
353
|
*/
|
|
622
354
|
success?: ShowActionSheetSuccessCallback | null,
|
|
623
355
|
/**
|
|
624
356
|
* 接口调用失败的回调函数
|
|
625
|
-
* @uniPlatform {
|
|
626
|
-
* "mp": {
|
|
627
|
-
* "weixin": {
|
|
628
|
-
* "hostVer": "√",
|
|
629
|
-
* "uniVer": "√",
|
|
630
|
-
* "unixVer": "4.41"
|
|
631
|
-
* },
|
|
632
|
-
* "alipay": {
|
|
633
|
-
* "hostVer": "-",
|
|
634
|
-
* "uniVer": "-",
|
|
635
|
-
* "unixVer": "-"
|
|
636
|
-
* },
|
|
637
|
-
* "baidu": {
|
|
638
|
-
* "hostVer": "-",
|
|
639
|
-
* "uniVer": "-",
|
|
640
|
-
* "unixVer": "-"
|
|
641
|
-
* },
|
|
642
|
-
* "toutiao": {
|
|
643
|
-
* "hostVer": "-",
|
|
644
|
-
* "uniVer": "-",
|
|
645
|
-
* "unixVer": "-"
|
|
646
|
-
* },
|
|
647
|
-
* "lark": {
|
|
648
|
-
* "hostVer": "-",
|
|
649
|
-
* "uniVer": "-",
|
|
650
|
-
* "unixVer": "-"
|
|
651
|
-
* },
|
|
652
|
-
* "qq": {
|
|
653
|
-
* "hostVer": "-",
|
|
654
|
-
* "uniVer": "-",
|
|
655
|
-
* "unixVer": "-"
|
|
656
|
-
* },
|
|
657
|
-
* "kuaishou": {
|
|
658
|
-
* "hostVer": "-",
|
|
659
|
-
* "uniVer": "-",
|
|
660
|
-
* "unixVer": "-"
|
|
661
|
-
* },
|
|
662
|
-
* "jd": {
|
|
663
|
-
* "hostVer": "-",
|
|
664
|
-
* "uniVer": "-",
|
|
665
|
-
* "unixVer": "-"
|
|
666
|
-
* }
|
|
667
|
-
* }
|
|
668
|
-
* }
|
|
669
357
|
*/
|
|
670
358
|
fail?: ShowActionSheetFailCallback | null,
|
|
671
359
|
/**
|
|
672
360
|
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
673
|
-
* @uniPlatform {
|
|
674
|
-
* "mp": {
|
|
675
|
-
* "weixin": {
|
|
676
|
-
* "hostVer": "√",
|
|
677
|
-
* "uniVer": "√",
|
|
678
|
-
* "unixVer": "4.41"
|
|
679
|
-
* },
|
|
680
|
-
* "alipay": {
|
|
681
|
-
* "hostVer": "-",
|
|
682
|
-
* "uniVer": "-",
|
|
683
|
-
* "unixVer": "-"
|
|
684
|
-
* },
|
|
685
|
-
* "baidu": {
|
|
686
|
-
* "hostVer": "-",
|
|
687
|
-
* "uniVer": "-",
|
|
688
|
-
* "unixVer": "-"
|
|
689
|
-
* },
|
|
690
|
-
* "toutiao": {
|
|
691
|
-
* "hostVer": "-",
|
|
692
|
-
* "uniVer": "-",
|
|
693
|
-
* "unixVer": "-"
|
|
694
|
-
* },
|
|
695
|
-
* "lark": {
|
|
696
|
-
* "hostVer": "-",
|
|
697
|
-
* "uniVer": "-",
|
|
698
|
-
* "unixVer": "-"
|
|
699
|
-
* },
|
|
700
|
-
* "qq": {
|
|
701
|
-
* "hostVer": "-",
|
|
702
|
-
* "uniVer": "-",
|
|
703
|
-
* "unixVer": "-"
|
|
704
|
-
* },
|
|
705
|
-
* "kuaishou": {
|
|
706
|
-
* "hostVer": "-",
|
|
707
|
-
* "uniVer": "-",
|
|
708
|
-
* "unixVer": "-"
|
|
709
|
-
* },
|
|
710
|
-
* "jd": {
|
|
711
|
-
* "hostVer": "-",
|
|
712
|
-
* "uniVer": "-",
|
|
713
|
-
* "unixVer": "-"
|
|
714
|
-
* }
|
|
715
|
-
* }
|
|
716
|
-
* }
|
|
717
361
|
*/
|
|
718
362
|
complete?: ShowActionSheetCompleteCallback | null
|
|
719
363
|
};
|
|
@@ -736,77 +380,77 @@ export interface Uni {
|
|
|
736
380
|
* });
|
|
737
381
|
* ```
|
|
738
382
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/show-action-sheet.html#showactionsheet
|
|
383
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/show-action-sheet.html#showactionsheet
|
|
384
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/prompt.html#showactionsheet
|
|
739
385
|
* @uniPlatform {
|
|
740
|
-
*
|
|
741
|
-
*
|
|
742
|
-
*
|
|
743
|
-
*
|
|
744
|
-
*
|
|
745
|
-
*
|
|
746
|
-
*
|
|
747
|
-
*
|
|
748
|
-
*
|
|
749
|
-
*
|
|
750
|
-
*
|
|
751
|
-
*
|
|
752
|
-
*
|
|
753
|
-
*
|
|
754
|
-
*
|
|
755
|
-
*
|
|
756
|
-
*
|
|
757
|
-
*
|
|
758
|
-
*
|
|
759
|
-
*
|
|
760
|
-
*
|
|
761
|
-
*
|
|
762
|
-
*
|
|
763
|
-
*
|
|
764
|
-
*
|
|
765
|
-
*
|
|
766
|
-
*
|
|
767
|
-
*
|
|
768
|
-
*
|
|
769
|
-
*
|
|
770
|
-
*
|
|
771
|
-
*
|
|
772
|
-
*
|
|
773
|
-
*
|
|
774
|
-
*
|
|
775
|
-
*
|
|
776
|
-
*
|
|
777
|
-
*
|
|
778
|
-
*
|
|
779
|
-
*
|
|
780
|
-
*
|
|
781
|
-
*
|
|
782
|
-
*
|
|
783
|
-
*
|
|
784
|
-
*
|
|
785
|
-
*
|
|
786
|
-
*
|
|
787
|
-
*
|
|
788
|
-
*
|
|
789
|
-
*
|
|
790
|
-
*
|
|
791
|
-
*
|
|
792
|
-
*
|
|
793
|
-
*
|
|
794
|
-
*
|
|
795
|
-
*
|
|
796
|
-
*
|
|
797
|
-
*
|
|
798
|
-
*
|
|
799
|
-
*
|
|
800
|
-
*
|
|
801
|
-
*
|
|
802
|
-
*
|
|
803
|
-
*
|
|
804
|
-
*
|
|
805
|
-
*
|
|
806
|
-
* }
|
|
386
|
+
* "app": {
|
|
387
|
+
* "android": {
|
|
388
|
+
* "osVer": "5.0",
|
|
389
|
+
* "uniVer": "√",
|
|
390
|
+
* "uniUtsPlugin": "x",
|
|
391
|
+
* "unixVer": "3.91"
|
|
392
|
+
* },
|
|
393
|
+
* "ios": {
|
|
394
|
+
* "osVer": "12.0",
|
|
395
|
+
* "uniVer": "√",
|
|
396
|
+
* "uniUtsPlugin": "x",
|
|
397
|
+
* "unixVer": "4.11",
|
|
398
|
+
* "unixUtsPlugin": "4.11"
|
|
399
|
+
* },
|
|
400
|
+
* "harmony": {
|
|
401
|
+
* "osVer": "3.0",
|
|
402
|
+
* "uniVer": "4.23",
|
|
403
|
+
* "unixVer": "4.61"
|
|
404
|
+
* }
|
|
405
|
+
* },
|
|
406
|
+
* "mp": {
|
|
407
|
+
* "weixin": {
|
|
408
|
+
* "hostVer": "√",
|
|
409
|
+
* "uniVer": "√",
|
|
410
|
+
* "unixVer": "4.41"
|
|
411
|
+
* },
|
|
412
|
+
* "alipay": {
|
|
413
|
+
* "hostVer": "√",
|
|
414
|
+
* "uniVer": "√",
|
|
415
|
+
* "unixVer": "x"
|
|
416
|
+
* },
|
|
417
|
+
* "baidu": {
|
|
418
|
+
* "hostVer": "√",
|
|
419
|
+
* "uniVer": "√",
|
|
420
|
+
* "unixVer": "x"
|
|
421
|
+
* },
|
|
422
|
+
* "toutiao": {
|
|
423
|
+
* "hostVer": "√",
|
|
424
|
+
* "uniVer": "√",
|
|
425
|
+
* "unixVer": "x"
|
|
426
|
+
* },
|
|
427
|
+
* "lark": {
|
|
428
|
+
* "hostVer": "√",
|
|
429
|
+
* "uniVer": "√",
|
|
430
|
+
* "unixVer": "x"
|
|
431
|
+
* },
|
|
432
|
+
* "qq": {
|
|
433
|
+
* "hostVer": "√",
|
|
434
|
+
* "uniVer": "√",
|
|
435
|
+
* "unixVer": "x"
|
|
436
|
+
* },
|
|
437
|
+
* "kuaishou": {
|
|
438
|
+
* "hostVer": "√",
|
|
439
|
+
* "uniVer": "√",
|
|
440
|
+
* "unixVer": "x"
|
|
441
|
+
* },
|
|
442
|
+
* "jd": {
|
|
443
|
+
* "hostVer": "√",
|
|
444
|
+
* "uniVer": "√",
|
|
445
|
+
* "unixVer": "x"
|
|
446
|
+
* }
|
|
447
|
+
* },
|
|
448
|
+
* "web": {
|
|
449
|
+
* "uniVer": "√",
|
|
450
|
+
* "unixVer": "4.0"
|
|
451
|
+
* }
|
|
807
452
|
* }
|
|
808
|
-
|
|
809
|
-
*/
|
|
453
|
+
*/
|
|
810
454
|
showActionSheet(options: ShowActionSheetOptions): void;
|
|
811
455
|
|
|
812
456
|
/**
|
|
@@ -816,14 +460,14 @@ export interface Uni {
|
|
|
816
460
|
* uni.hideActionSheet();
|
|
817
461
|
* ```
|
|
818
462
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/hide-action-sheet.html#hideactionsheet
|
|
463
|
+
* @tutorial_uni_app https://doc.dcloud.net.cn/uni-app-x/api/hide-action-sheet.html#hideactionsheet
|
|
819
464
|
* @uniPlatform {
|
|
820
465
|
* "app": {
|
|
821
466
|
* "android": {
|
|
822
467
|
* "osVer": "5.0",
|
|
823
468
|
* "uniVer": "√",
|
|
824
469
|
* "uniUtsPlugin": "x",
|
|
825
|
-
* "unixVer": "4.51"
|
|
826
|
-
* "unixUtsPlugin": "4.51"
|
|
470
|
+
* "unixVer": "4.51"
|
|
827
471
|
* },
|
|
828
472
|
* "ios": {
|
|
829
473
|
* "osVer": "12.0",
|
|
@@ -906,4 +550,4 @@ export class ShowActionSheetFailImpl extends UniError implements ShowActionSheet
|
|
|
906
550
|
}
|
|
907
551
|
}
|
|
908
552
|
|
|
909
|
-
export type HideActionSheet = () => void
|
|
553
|
+
export type HideActionSheet = () => void
|
|
@@ -318,6 +318,8 @@ export interface Uni {
|
|
|
318
318
|
});
|
|
319
319
|
* ```
|
|
320
320
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/choose-location.html
|
|
321
|
+
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/choose-location.html
|
|
322
|
+
* @tutorial_uni_app https://uniapp.dcloud.net.cn/api/location/location.html#chooselocation
|
|
321
323
|
* @uniPlatform {
|
|
322
324
|
* "app": {
|
|
323
325
|
* "android": {
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// 本文件为自动构建生成
|
|
2
2
|
import {
|
|
3
3
|
CreateInnerAudioContext as CreateInnerAudioContextOrigin,
|
|
4
|
+
SetInnerAudioOptionSuccess as SetInnerAudioOptionSuccessOrigin,
|
|
5
|
+
SetInnerAudioOptionSuccessCallback as SetInnerAudioOptionSuccessCallbackOrigin,
|
|
6
|
+
SetInnerAudioOptionFail as SetInnerAudioOptionFailOrigin,
|
|
7
|
+
SetInnerAudioOptionFailCallback as SetInnerAudioOptionFailCallbackOrigin,
|
|
8
|
+
SetInnerAudioOptionComplete as SetInnerAudioOptionCompleteOrigin,
|
|
9
|
+
SetInnerAudioOptionCompleteCallback as SetInnerAudioOptionCompleteCallbackOrigin,
|
|
10
|
+
SetInnerAudioOptionOptions as SetInnerAudioOptionOptionsOrigin,
|
|
11
|
+
SetInnerAudioOption as SetInnerAudioOptionOrigin,
|
|
4
12
|
InnerAudioContext as InnerAudioContextOrigin,
|
|
5
13
|
CreateInnerAudioContextErrorCode as CreateInnerAudioContextErrorCodeOrigin,
|
|
6
14
|
ICreateInnerAudioContextFail as ICreateInnerAudioContextFailOrigin,
|
|
@@ -9,6 +17,14 @@ import {
|
|
|
9
17
|
|
|
10
18
|
declare global {
|
|
11
19
|
type CreateInnerAudioContext = CreateInnerAudioContextOrigin
|
|
20
|
+
type SetInnerAudioOptionSuccess = SetInnerAudioOptionSuccessOrigin
|
|
21
|
+
type SetInnerAudioOptionSuccessCallback = SetInnerAudioOptionSuccessCallbackOrigin
|
|
22
|
+
type SetInnerAudioOptionFail = SetInnerAudioOptionFailOrigin
|
|
23
|
+
type SetInnerAudioOptionFailCallback = SetInnerAudioOptionFailCallbackOrigin
|
|
24
|
+
type SetInnerAudioOptionComplete = SetInnerAudioOptionCompleteOrigin
|
|
25
|
+
type SetInnerAudioOptionCompleteCallback = SetInnerAudioOptionCompleteCallbackOrigin
|
|
26
|
+
type SetInnerAudioOptionOptions = SetInnerAudioOptionOptionsOrigin
|
|
27
|
+
type SetInnerAudioOption = SetInnerAudioOptionOrigin
|
|
12
28
|
type InnerAudioContext = InnerAudioContextOrigin
|
|
13
29
|
type CreateInnerAudioContextErrorCode = CreateInnerAudioContextErrorCodeOrigin
|
|
14
30
|
type ICreateInnerAudioContextFail = ICreateInnerAudioContextFailOrigin
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// 本文件为自动构建生成
|
|
2
2
|
export {
|
|
3
3
|
CreateInnerAudioContext,
|
|
4
|
+
SetInnerAudioOptionSuccess,
|
|
5
|
+
SetInnerAudioOptionSuccessCallback,
|
|
6
|
+
SetInnerAudioOptionFail,
|
|
7
|
+
SetInnerAudioOptionFailCallback,
|
|
8
|
+
SetInnerAudioOptionComplete,
|
|
9
|
+
SetInnerAudioOptionCompleteCallback,
|
|
10
|
+
SetInnerAudioOptionOptions,
|
|
11
|
+
SetInnerAudioOption,
|
|
4
12
|
InnerAudioContext,
|
|
5
13
|
CreateInnerAudioContextErrorCode,
|
|
6
14
|
ICreateInnerAudioContextFail,
|