@dcloudio/uni-app-x 0.7.86 → 0.7.88
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 +3 -2
- package/types/dom2-internal/UniNativeTextView.d.ts +23 -0
- package/types/dom2-internal/global.d.ts +3 -0
- package/types/dom2-internal/sharedData.d.ts +22 -11
- package/types/native/UniPage.d.ts +3 -3
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +22 -11
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +8 -8
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +47 -47
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +2 -45
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +65 -0
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +41 -41
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +28 -28
- package/types/uni/uts-plugin-component/global.d.ts +17 -0
- package/types/uni/uts-plugin-component/index.d.ts +17 -0
- package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +968 -0
- package/types/uni/uts-plugin-component/lib/uni-form-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-form-global/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-form-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-match-media-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-match-media-global/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-match-media-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-navigator-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-navigator-global/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-navigator-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-progress-global/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-progress-global/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-progress-global/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-rich-text-global/utssdk/global.d.ts +11 -0
- package/types/uni/uts-plugin-component/lib/uni-rich-text-global/utssdk/index.d.ts +6 -0
- package/types/uni/uts-plugin-component/lib/uni-rich-text-global/utssdk/interface.d.ts +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-app-x",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.88",
|
|
4
4
|
"description": "uni-app x types",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"main": "index.d.ts",
|
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
"license": "Apache-2.0",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"scripts": {
|
|
11
|
+
"build:vuedoc": "node ./scripts/build-vuedoc.js",
|
|
11
12
|
"build:wx:api": "node ./scripts/build-wx.js",
|
|
12
13
|
"build:types:core": "node ./scripts/build-types.js -t core",
|
|
13
14
|
"build:types:plugin:api": "node ./scripts/build-types.js -t uts-plugin-api --incremental",
|
|
14
|
-
"build:types:plugin:component": "node ./scripts/build-types.js -t uts-plugin-component --incremental",
|
|
15
|
+
"build:types:plugin:component": "node ./scripts/build-types.js -t uts-plugin-component --incremental && npm run build:vuedoc",
|
|
15
16
|
"build:types:plugin:biz": "node ./scripts/build-types.js -t uts-plugin-biz --incremental",
|
|
16
17
|
"build:types:plugin": "npm run build:types:plugin:api && npm run build:types:plugin:component && npm run build:types:plugin:biz",
|
|
17
18
|
"build:types:meta": "node ./scripts/build-meta.js",
|
|
@@ -26,6 +26,11 @@ export interface UniNativeTextView extends UniNativeBaseView {
|
|
|
26
26
|
*/
|
|
27
27
|
userSelect(value: boolean): UniNativeTextView
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* 设置文本的垂直居中方式
|
|
31
|
+
*/
|
|
32
|
+
verticalAlign(type: UniNativeTextViewVerticalAlignType): UniNativeTextView
|
|
33
|
+
|
|
29
34
|
/**
|
|
30
35
|
* 是否支持hover样式更新
|
|
31
36
|
*/
|
|
@@ -48,4 +53,22 @@ export interface UniNativeTextView extends UniNativeBaseView {
|
|
|
48
53
|
}
|
|
49
54
|
|
|
50
55
|
|
|
56
|
+
/**
|
|
57
|
+
* text组件垂直对齐枚举值
|
|
58
|
+
*/
|
|
59
|
+
export enum UniNativeTextViewVerticalAlignType {
|
|
60
|
+
/**
|
|
61
|
+
* 垂直居顶对齐
|
|
62
|
+
*/
|
|
63
|
+
Top,
|
|
64
|
+
/**
|
|
65
|
+
* 垂直居中对齐
|
|
66
|
+
*/
|
|
67
|
+
Middle,
|
|
68
|
+
/**
|
|
69
|
+
* 垂直居底部对齐
|
|
70
|
+
*/
|
|
71
|
+
Bottom,
|
|
72
|
+
}
|
|
73
|
+
|
|
51
74
|
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
UniNativeViewType as UniNativeViewTypeOrigin,
|
|
4
4
|
UniNativeView as UniNativeViewOrigin,
|
|
5
5
|
UniNativeViewStyles as UniNativeViewStylesOrigin,
|
|
6
|
+
UniNativeTextViewVerticalAlignType as UniNativeTextViewVerticalAlignTypeOrigin,
|
|
6
7
|
UniNativeTextView as UniNativeTextViewOrigin,
|
|
7
8
|
UniNativeScrollViewType as UniNativeScrollViewTypeOrigin,
|
|
8
9
|
UniNativeScrollViewDirectionType as UniNativeScrollViewDirectionTypeOrigin,
|
|
@@ -125,6 +126,8 @@ declare global {
|
|
|
125
126
|
type UniNativeViewType = UniNativeViewTypeOrigin
|
|
126
127
|
type UniNativeView = UniNativeViewOrigin
|
|
127
128
|
type UniNativeViewStyles = UniNativeViewStylesOrigin
|
|
129
|
+
const UniNativeTextViewVerticalAlignType: typeof UniNativeTextViewVerticalAlignTypeOrigin
|
|
130
|
+
type UniNativeTextViewVerticalAlignType = UniNativeTextViewVerticalAlignTypeOrigin
|
|
128
131
|
type UniNativeTextView = UniNativeTextViewOrigin
|
|
129
132
|
const UniNativeScrollViewType: typeof UniNativeScrollViewTypeOrigin
|
|
130
133
|
type UniNativeScrollViewType = UniNativeScrollViewTypeOrigin
|
|
@@ -112,9 +112,17 @@ declare global {
|
|
|
112
112
|
Page,
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
+
enum UniSharedDataComponentFlatten {
|
|
116
|
+
None,
|
|
117
|
+
True,
|
|
118
|
+
False,
|
|
119
|
+
}
|
|
120
|
+
|
|
115
121
|
interface UniSharedDataComponentOptions {
|
|
122
|
+
vueId: number
|
|
116
123
|
styleIsolation: UniSharedDataComponentStyleIsolation
|
|
117
124
|
renderer: UniSharedDataComponentRenderer
|
|
125
|
+
flatten: UniSharedDataComponentFlatten
|
|
118
126
|
}
|
|
119
127
|
|
|
120
128
|
abstract class UniSharedDataComponent extends UniSharedData {
|
|
@@ -127,6 +135,11 @@ declare global {
|
|
|
127
135
|
* @internal
|
|
128
136
|
*/
|
|
129
137
|
static _styleSheet: Map<string, Map<string, Map<number, any>>>
|
|
138
|
+
/**
|
|
139
|
+
* vue实例ID
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
142
|
+
_vueId: number
|
|
130
143
|
/**
|
|
131
144
|
* 当前页面或组件关联的 UniPage 对象
|
|
132
145
|
* @internal
|
|
@@ -141,6 +154,10 @@ declare global {
|
|
|
141
154
|
* 当前组件或页面样式隔离策略
|
|
142
155
|
*/
|
|
143
156
|
_styleIsolation: UniSharedDataComponentStyleIsolation
|
|
157
|
+
/**
|
|
158
|
+
* 当前组件实例是否拍平
|
|
159
|
+
*/
|
|
160
|
+
_flatten: UniSharedDataComponentFlatten
|
|
144
161
|
/**
|
|
145
162
|
* 当前组件或页面渲染类型,页面也有可能作为组件来渲染
|
|
146
163
|
*/
|
|
@@ -151,15 +168,6 @@ declare global {
|
|
|
151
168
|
*/
|
|
152
169
|
inheritAttrs: UniSharedDataJSONObject
|
|
153
170
|
constructor(scope: UniSharedDataPage, options: UniSharedDataComponentOptions)
|
|
154
|
-
/**
|
|
155
|
-
* 设置 vue id (主要用于自动化测试,js层设置)
|
|
156
|
-
* @internal
|
|
157
|
-
*/
|
|
158
|
-
_setVueId(id: number): void
|
|
159
|
-
/**
|
|
160
|
-
* 获取 vue id (主要用于自动化测试,c层读取)
|
|
161
|
-
*/
|
|
162
|
-
getVueId(): number
|
|
163
171
|
/**
|
|
164
172
|
* 监听组件根节点样式变更
|
|
165
173
|
* @internal
|
|
@@ -274,9 +282,12 @@ declare global {
|
|
|
274
282
|
|
|
275
283
|
function useSharedData<T extends string>(scope: UniSharedDataPage): InferSharedData<T>
|
|
276
284
|
|
|
277
|
-
function useSharedDataPage<T extends string>(pageId: number): InferSharedData<T, UniSharedDataPage>
|
|
285
|
+
function useSharedDataPage<T extends string>(pageId: number, options: UniSharedDataComponentOptions): InferSharedData<T, UniSharedDataPage>
|
|
278
286
|
|
|
279
|
-
function useSharedDataComponent<T extends string>(
|
|
287
|
+
function useSharedDataComponent<T extends string>(
|
|
288
|
+
scope: UniSharedDataPage,
|
|
289
|
+
options: UniSharedDataComponentOptions
|
|
290
|
+
): InferSharedData<T, UniSharedDataComponent>
|
|
280
291
|
|
|
281
292
|
function useSharedDataVFor<T, S extends UniSharedData>(sharedDataVFor: S): S
|
|
282
293
|
|
|
@@ -1022,7 +1022,7 @@ declare global {
|
|
|
1022
1022
|
* }
|
|
1023
1023
|
* }
|
|
1024
1024
|
*/
|
|
1025
|
-
onTouchStart(callback:
|
|
1025
|
+
onTouchStart(callback: UniPageOnTouchEventCallback): number
|
|
1026
1026
|
/**
|
|
1027
1027
|
* 取消监听页面触摸开始事件
|
|
1028
1028
|
* @uniPlatform {
|
|
@@ -1074,7 +1074,7 @@ declare global {
|
|
|
1074
1074
|
* }
|
|
1075
1075
|
* }
|
|
1076
1076
|
*/
|
|
1077
|
-
onTouchEnd(callback:
|
|
1077
|
+
onTouchEnd(callback: UniPageOnTouchEventCallback): number
|
|
1078
1078
|
/**
|
|
1079
1079
|
* 取消监听页面触摸结束事件
|
|
1080
1080
|
* @uniPlatform {
|
|
@@ -1166,7 +1166,7 @@ interface UniPagePerformanceRenderTiming extends UniPagePerformanceTiming {
|
|
|
1166
1166
|
/**
|
|
1167
1167
|
* 监听页面触摸事件回调函数
|
|
1168
1168
|
*/
|
|
1169
|
-
type
|
|
1169
|
+
type UniPageOnTouchEventCallback = (event: UniTouchEvent) => void
|
|
1170
1170
|
|
|
1171
1171
|
|
|
1172
1172
|
export interface UniNormalPage extends UniPage {
|
|
@@ -19,7 +19,8 @@ export type ChooseLocationErrorCode =
|
|
|
19
19
|
* "harmony": {
|
|
20
20
|
* "osVer": "3.0",
|
|
21
21
|
* "uniVer": "x",
|
|
22
|
-
* "unixVer": "4.61"
|
|
22
|
+
* "unixVer": "4.61",
|
|
23
|
+
* "unixvVer": "5.0"
|
|
23
24
|
* }
|
|
24
25
|
* },
|
|
25
26
|
* "web": {
|
|
@@ -46,7 +47,8 @@ export type ChooseLocationErrorCode =
|
|
|
46
47
|
* "harmony": {
|
|
47
48
|
* "osVer": "3.0",
|
|
48
49
|
* "uniVer": "x",
|
|
49
|
-
* "unixVer": "4.61"
|
|
50
|
+
* "unixVer": "4.61",
|
|
51
|
+
* "unixvVer": "5.0"
|
|
50
52
|
* }
|
|
51
53
|
* },
|
|
52
54
|
* "web": {
|
|
@@ -95,7 +97,8 @@ export type ChooseLocationOptions = {
|
|
|
95
97
|
* "harmony": {
|
|
96
98
|
* "osVer": "3.0",
|
|
97
99
|
* "uniVer": "4.23",
|
|
98
|
-
* "unixVer": "4.61"
|
|
100
|
+
* "unixVer": "4.61",
|
|
101
|
+
* "unixvVer": "5.0"
|
|
99
102
|
* }
|
|
100
103
|
* },
|
|
101
104
|
* "web": {
|
|
@@ -122,7 +125,8 @@ export type ChooseLocationOptions = {
|
|
|
122
125
|
* "harmony": {
|
|
123
126
|
* "osVer": "3.0",
|
|
124
127
|
* "uniVer": "4.23",
|
|
125
|
-
* "unixVer": "4.61"
|
|
128
|
+
* "unixVer": "4.61",
|
|
129
|
+
* "unixvVer": "5.0"
|
|
126
130
|
* }
|
|
127
131
|
* },
|
|
128
132
|
* "web": {
|
|
@@ -149,7 +153,8 @@ export type ChooseLocationOptions = {
|
|
|
149
153
|
* "harmony": {
|
|
150
154
|
* "osVer": "3.0",
|
|
151
155
|
* "uniVer": "4.23",
|
|
152
|
-
* "unixVer": "4.61"
|
|
156
|
+
* "unixVer": "4.61",
|
|
157
|
+
* "unixvVer": "5.0"
|
|
153
158
|
* }
|
|
154
159
|
* },
|
|
155
160
|
* "web": {
|
|
@@ -176,7 +181,8 @@ export type ChooseLocationOptions = {
|
|
|
176
181
|
* "harmony": {
|
|
177
182
|
* "osVer": "3.0",
|
|
178
183
|
* "uniVer": "4.23",
|
|
179
|
-
* "unixVer": "4.61"
|
|
184
|
+
* "unixVer": "4.61",
|
|
185
|
+
* "unixvVer": "5.0"
|
|
180
186
|
* }
|
|
181
187
|
* },
|
|
182
188
|
* "web": {
|
|
@@ -203,7 +209,8 @@ export type ChooseLocationOptions = {
|
|
|
203
209
|
* "harmony": {
|
|
204
210
|
* "osVer": "3.0",
|
|
205
211
|
* "uniVer": "4.23",
|
|
206
|
-
* "unixVer": "4.61"
|
|
212
|
+
* "unixVer": "4.61",
|
|
213
|
+
* "unixvVer": "5.0"
|
|
207
214
|
* }
|
|
208
215
|
* },
|
|
209
216
|
* "web": {
|
|
@@ -230,7 +237,8 @@ export type ChooseLocationOptions = {
|
|
|
230
237
|
* "harmony": {
|
|
231
238
|
* "osVer": "3.0",
|
|
232
239
|
* "uniVer": "4.23",
|
|
233
|
-
* "unixVer": "4.61"
|
|
240
|
+
* "unixVer": "4.61",
|
|
241
|
+
* "unixvVer": "5.0"
|
|
234
242
|
* }
|
|
235
243
|
* },
|
|
236
244
|
* "web": {
|
|
@@ -257,7 +265,8 @@ export type ChooseLocationOptions = {
|
|
|
257
265
|
* "harmony": {
|
|
258
266
|
* "osVer": "3.0",
|
|
259
267
|
* "uniVer": "4.23",
|
|
260
|
-
* "unixVer": "4.61"
|
|
268
|
+
* "unixVer": "4.61",
|
|
269
|
+
* "unixvVer": "5.0"
|
|
261
270
|
* }
|
|
262
271
|
* },
|
|
263
272
|
* "web": {
|
|
@@ -289,7 +298,8 @@ export type ChooseLocationOptions = {
|
|
|
289
298
|
* "harmony": {
|
|
290
299
|
* "osVer": "3.0",
|
|
291
300
|
* "uniVer": "4.23",
|
|
292
|
-
* "unixVer": "4.61"
|
|
301
|
+
* "unixVer": "4.61",
|
|
302
|
+
* "unixvVer": "5.0"
|
|
293
303
|
* }
|
|
294
304
|
* },
|
|
295
305
|
* "web": {
|
|
@@ -335,7 +345,8 @@ export interface Uni {
|
|
|
335
345
|
* "harmony": {
|
|
336
346
|
* "osVer": "3.0",
|
|
337
347
|
* "uniVer": "4.23",
|
|
338
|
-
* "unixVer": "4.61"
|
|
348
|
+
* "unixVer": "4.61",
|
|
349
|
+
* "unixvVer": "5.0"
|
|
339
350
|
* }
|
|
340
351
|
* },
|
|
341
352
|
* "mp": {
|
|
@@ -244,20 +244,20 @@ export type SetInnerAudioOptionOptions = {
|
|
|
244
244
|
"android": {
|
|
245
245
|
"osVer": "5.0",
|
|
246
246
|
"uniVer": "√",
|
|
247
|
-
"uniUtsPlugin": "
|
|
248
|
-
"unixVer": "
|
|
247
|
+
"uniUtsPlugin": "5.0",
|
|
248
|
+
"unixVer": "5.0"
|
|
249
249
|
},
|
|
250
250
|
"ios": {
|
|
251
251
|
"osVer": "12.0",
|
|
252
252
|
"uniVer": "x",
|
|
253
253
|
"uniUtsPlugin": "x",
|
|
254
|
-
"unixVer": "
|
|
255
|
-
"unixUtsPlugin": "
|
|
254
|
+
"unixVer": "5.0",
|
|
255
|
+
"unixUtsPlugin": "5.0"
|
|
256
256
|
},
|
|
257
257
|
"harmony": {
|
|
258
258
|
"osVer": "5.0.0(12)",
|
|
259
|
-
"uniVer": "
|
|
260
|
-
"unixVer": "
|
|
259
|
+
"uniVer": "5.0",
|
|
260
|
+
"unixVer": "5.0",
|
|
261
261
|
}
|
|
262
262
|
},
|
|
263
263
|
"mp": {
|
|
@@ -325,8 +325,8 @@ export type SetInnerAudioOptionOptions = {
|
|
|
325
325
|
"osVer": "12.0",
|
|
326
326
|
"uniVer": "x",
|
|
327
327
|
"uniUtsPlugin": "x",
|
|
328
|
-
"unixVer": "4.
|
|
329
|
-
"unixUtsPlugin": "
|
|
328
|
+
"unixVer": "4.5.0",
|
|
329
|
+
"unixUtsPlugin": "5.0"
|
|
330
330
|
},
|
|
331
331
|
"harmony": {
|
|
332
332
|
"osVer": "5.0.0(12)",
|
|
@@ -927,19 +927,19 @@ export interface BackgroundAudioManager {
|
|
|
927
927
|
"osVer": "5.0",
|
|
928
928
|
"uniVer": "√",
|
|
929
929
|
"uniUtsPlugin": "x",
|
|
930
|
-
"unixVer": "
|
|
930
|
+
"unixVer": "5.0"
|
|
931
931
|
},
|
|
932
932
|
"ios": {
|
|
933
933
|
"osVer": "12.0",
|
|
934
934
|
"uniVer": "√",
|
|
935
935
|
"uniUtsPlugin": "x",
|
|
936
|
-
"unixVer": "
|
|
937
|
-
"unixUtsPlugin": "
|
|
936
|
+
"unixVer": "5.0",
|
|
937
|
+
"unixUtsPlugin": "5.0"
|
|
938
938
|
},
|
|
939
939
|
"harmony": {
|
|
940
940
|
"osVer": "5.0.0",
|
|
941
941
|
"uniVer": "x",
|
|
942
|
-
"unixVer": "
|
|
942
|
+
"unixVer": "5.0"
|
|
943
943
|
}
|
|
944
944
|
}
|
|
945
945
|
}
|
|
@@ -954,19 +954,19 @@ export interface BackgroundAudioManager {
|
|
|
954
954
|
"osVer": "5.0",
|
|
955
955
|
"uniVer": "√",
|
|
956
956
|
"uniUtsPlugin": "x",
|
|
957
|
-
"unixVer": "
|
|
957
|
+
"unixVer": "5.0"
|
|
958
958
|
},
|
|
959
959
|
"ios": {
|
|
960
960
|
"osVer": "12.0",
|
|
961
961
|
"uniVer": "√",
|
|
962
962
|
"uniUtsPlugin": "x",
|
|
963
|
-
"unixVer": "
|
|
964
|
-
"unixUtsPlugin": "
|
|
963
|
+
"unixVer": "5.0",
|
|
964
|
+
"unixUtsPlugin": "5.0"
|
|
965
965
|
},
|
|
966
966
|
"harmony": {
|
|
967
967
|
"osVer": "5.0.0",
|
|
968
968
|
"uniVer": "x",
|
|
969
|
-
"unixVer": "
|
|
969
|
+
"unixVer": "5.0"
|
|
970
970
|
}
|
|
971
971
|
}
|
|
972
972
|
}
|
|
@@ -981,19 +981,19 @@ export interface BackgroundAudioManager {
|
|
|
981
981
|
"osVer": "5.0",
|
|
982
982
|
"uniVer": "√",
|
|
983
983
|
"uniUtsPlugin": "x",
|
|
984
|
-
"unixVer": "
|
|
984
|
+
"unixVer": "5.0"
|
|
985
985
|
},
|
|
986
986
|
"ios": {
|
|
987
987
|
"osVer": "12.0",
|
|
988
988
|
"uniVer": "√",
|
|
989
989
|
"uniUtsPlugin": "x",
|
|
990
|
-
"unixVer": "
|
|
991
|
-
"unixUtsPlugin": "
|
|
990
|
+
"unixVer": "5.0",
|
|
991
|
+
"unixUtsPlugin": "5.0"
|
|
992
992
|
},
|
|
993
993
|
"harmony": {
|
|
994
994
|
"osVer": "5.0.0",
|
|
995
995
|
"uniVer": "x",
|
|
996
|
-
"unixVer": "
|
|
996
|
+
"unixVer": "5.0"
|
|
997
997
|
}
|
|
998
998
|
}
|
|
999
999
|
}
|
|
@@ -1008,19 +1008,19 @@ export interface BackgroundAudioManager {
|
|
|
1008
1008
|
"osVer": "5.0",
|
|
1009
1009
|
"uniVer": "√",
|
|
1010
1010
|
"uniUtsPlugin": "x",
|
|
1011
|
-
"unixVer": "
|
|
1011
|
+
"unixVer": "5.0"
|
|
1012
1012
|
},
|
|
1013
1013
|
"ios": {
|
|
1014
1014
|
"osVer": "12.0",
|
|
1015
1015
|
"uniVer": "√",
|
|
1016
1016
|
"uniUtsPlugin": "x",
|
|
1017
|
-
"unixVer": "
|
|
1018
|
-
"unixUtsPlugin": "
|
|
1017
|
+
"unixVer": "5.0",
|
|
1018
|
+
"unixUtsPlugin": "5.0"
|
|
1019
1019
|
},
|
|
1020
1020
|
"harmony": {
|
|
1021
1021
|
"osVer": "5.0.0",
|
|
1022
1022
|
"uniVer": "x",
|
|
1023
|
-
"unixVer": "
|
|
1023
|
+
"unixVer": "5.0"
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
@@ -1035,19 +1035,19 @@ export interface BackgroundAudioManager {
|
|
|
1035
1035
|
"osVer": "5.0",
|
|
1036
1036
|
"uniVer": "√",
|
|
1037
1037
|
"uniUtsPlugin": "x",
|
|
1038
|
-
"unixVer": "
|
|
1038
|
+
"unixVer": "5.0"
|
|
1039
1039
|
},
|
|
1040
1040
|
"ios": {
|
|
1041
1041
|
"osVer": "12.0",
|
|
1042
1042
|
"uniVer": "√",
|
|
1043
1043
|
"uniUtsPlugin": "x",
|
|
1044
|
-
"unixVer": "
|
|
1045
|
-
"unixUtsPlugin": "
|
|
1044
|
+
"unixVer": "5.0",
|
|
1045
|
+
"unixUtsPlugin": "5.0"
|
|
1046
1046
|
},
|
|
1047
1047
|
"harmony": {
|
|
1048
1048
|
"osVer": "5.0.0",
|
|
1049
1049
|
"uniVer": "x",
|
|
1050
|
-
"unixVer": "
|
|
1050
|
+
"unixVer": "5.0"
|
|
1051
1051
|
}
|
|
1052
1052
|
}
|
|
1053
1053
|
}
|
|
@@ -1062,19 +1062,19 @@ export interface BackgroundAudioManager {
|
|
|
1062
1062
|
"osVer": "5.0",
|
|
1063
1063
|
"uniVer": "√",
|
|
1064
1064
|
"uniUtsPlugin": "x",
|
|
1065
|
-
"unixVer": "
|
|
1065
|
+
"unixVer": "5.0"
|
|
1066
1066
|
},
|
|
1067
1067
|
"ios": {
|
|
1068
1068
|
"osVer": "12.0",
|
|
1069
1069
|
"uniVer": "√",
|
|
1070
1070
|
"uniUtsPlugin": "x",
|
|
1071
|
-
"unixVer": "
|
|
1072
|
-
"unixUtsPlugin": "
|
|
1071
|
+
"unixVer": "5.0",
|
|
1072
|
+
"unixUtsPlugin": "5.0"
|
|
1073
1073
|
},
|
|
1074
1074
|
"harmony": {
|
|
1075
1075
|
"osVer": "5.0.0",
|
|
1076
1076
|
"uniVer": "x",
|
|
1077
|
-
"unixVer": "
|
|
1077
|
+
"unixVer": "5.0"
|
|
1078
1078
|
}
|
|
1079
1079
|
},
|
|
1080
1080
|
"web": {
|
|
@@ -1093,19 +1093,19 @@ export interface BackgroundAudioManager {
|
|
|
1093
1093
|
"osVer": "5.0",
|
|
1094
1094
|
"uniVer": "√",
|
|
1095
1095
|
"uniUtsPlugin": "x",
|
|
1096
|
-
"unixVer": "
|
|
1096
|
+
"unixVer": "5.0"
|
|
1097
1097
|
},
|
|
1098
1098
|
"ios": {
|
|
1099
1099
|
"osVer": "12.0",
|
|
1100
1100
|
"uniVer": "√",
|
|
1101
1101
|
"uniUtsPlugin": "x",
|
|
1102
|
-
"unixVer": "
|
|
1103
|
-
"unixUtsPlugin": "
|
|
1102
|
+
"unixVer": "5.0",
|
|
1103
|
+
"unixUtsPlugin": "5.0"
|
|
1104
1104
|
},
|
|
1105
1105
|
"harmony": {
|
|
1106
1106
|
"osVer": "5.0.0",
|
|
1107
1107
|
"uniVer": "x",
|
|
1108
|
-
"unixVer": "
|
|
1108
|
+
"unixVer": "5.0"
|
|
1109
1109
|
}
|
|
1110
1110
|
},
|
|
1111
1111
|
"web": {
|
|
@@ -1124,19 +1124,19 @@ export interface BackgroundAudioManager {
|
|
|
1124
1124
|
"osVer": "5.0",
|
|
1125
1125
|
"uniVer": "√",
|
|
1126
1126
|
"uniUtsPlugin": "x",
|
|
1127
|
-
"unixVer": "
|
|
1127
|
+
"unixVer": "5.0"
|
|
1128
1128
|
},
|
|
1129
1129
|
"ios": {
|
|
1130
1130
|
"osVer": "12.0",
|
|
1131
1131
|
"uniVer": "√",
|
|
1132
1132
|
"uniUtsPlugin": "x",
|
|
1133
|
-
"unixVer": "
|
|
1134
|
-
"unixUtsPlugin": "
|
|
1133
|
+
"unixVer": "5.0",
|
|
1134
|
+
"unixUtsPlugin": "5.0"
|
|
1135
1135
|
},
|
|
1136
1136
|
"harmony": {
|
|
1137
1137
|
"osVer": "5.0.0",
|
|
1138
1138
|
"uniVer": "x",
|
|
1139
|
-
"unixVer": "
|
|
1139
|
+
"unixVer": "5.0"
|
|
1140
1140
|
}
|
|
1141
1141
|
}
|
|
1142
1142
|
}
|
|
@@ -1151,19 +1151,19 @@ export interface BackgroundAudioManager {
|
|
|
1151
1151
|
"osVer": "5.0",
|
|
1152
1152
|
"uniVer": "√",
|
|
1153
1153
|
"uniUtsPlugin": "x",
|
|
1154
|
-
"unixVer": "
|
|
1154
|
+
"unixVer": "5.0"
|
|
1155
1155
|
},
|
|
1156
1156
|
"ios": {
|
|
1157
1157
|
"osVer": "12.0",
|
|
1158
1158
|
"uniVer": "√",
|
|
1159
1159
|
"uniUtsPlugin": "x",
|
|
1160
|
-
"unixVer": "
|
|
1161
|
-
"unixUtsPlugin": "
|
|
1160
|
+
"unixVer": "5.0",
|
|
1161
|
+
"unixUtsPlugin": "5.0"
|
|
1162
1162
|
},
|
|
1163
1163
|
"harmony": {
|
|
1164
1164
|
"osVer": "5.0.0",
|
|
1165
1165
|
"uniVer": "x",
|
|
1166
|
-
"unixVer": "
|
|
1166
|
+
"unixVer": "5.0"
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
1169
1169
|
}
|
|
@@ -1178,19 +1178,19 @@ export interface BackgroundAudioManager {
|
|
|
1178
1178
|
"osVer": "5.0",
|
|
1179
1179
|
"uniVer": "√",
|
|
1180
1180
|
"uniUtsPlugin": "x",
|
|
1181
|
-
"unixVer": "
|
|
1181
|
+
"unixVer": "5.0"
|
|
1182
1182
|
},
|
|
1183
1183
|
"ios": {
|
|
1184
1184
|
"osVer": "12.0",
|
|
1185
1185
|
"uniVer": "√",
|
|
1186
1186
|
"uniUtsPlugin": "x",
|
|
1187
|
-
"unixVer": "
|
|
1188
|
-
"unixUtsPlugin": "
|
|
1187
|
+
"unixVer": "5.0",
|
|
1188
|
+
"unixUtsPlugin": "5.0"
|
|
1189
1189
|
},
|
|
1190
1190
|
"harmony": {
|
|
1191
1191
|
"osVer": "5.0.0",
|
|
1192
1192
|
"uniVer": "x",
|
|
1193
|
-
"unixVer": "
|
|
1193
|
+
"unixVer": "5.0"
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
1196
|
}
|
|
@@ -1205,19 +1205,19 @@ export interface BackgroundAudioManager {
|
|
|
1205
1205
|
"osVer": "5.0",
|
|
1206
1206
|
"uniVer": "√",
|
|
1207
1207
|
"uniUtsPlugin": "x",
|
|
1208
|
-
"unixVer": "
|
|
1208
|
+
"unixVer": "5.0"
|
|
1209
1209
|
},
|
|
1210
1210
|
"ios": {
|
|
1211
1211
|
"osVer": "12.0",
|
|
1212
1212
|
"uniVer": "√",
|
|
1213
1213
|
"uniUtsPlugin": "x",
|
|
1214
|
-
"unixVer": "
|
|
1215
|
-
"unixUtsPlugin": "
|
|
1214
|
+
"unixVer": "5.0",
|
|
1215
|
+
"unixUtsPlugin": "5.0"
|
|
1216
1216
|
},
|
|
1217
1217
|
"harmony": {
|
|
1218
1218
|
"osVer": "5.0.0",
|
|
1219
1219
|
"uniVer": "x",
|
|
1220
|
-
"unixVer": "
|
|
1220
|
+
"unixVer": "5.0"
|
|
1221
1221
|
}
|
|
1222
1222
|
}
|
|
1223
1223
|
}
|
|
@@ -1232,14 +1232,14 @@ export interface BackgroundAudioManager {
|
|
|
1232
1232
|
"osVer": "5.0",
|
|
1233
1233
|
"uniVer": "√",
|
|
1234
1234
|
"uniUtsPlugin": "x",
|
|
1235
|
-
"unixVer": "
|
|
1235
|
+
"unixVer": "5.0"
|
|
1236
1236
|
},
|
|
1237
1237
|
"ios": {
|
|
1238
1238
|
"osVer": "12.0",
|
|
1239
1239
|
"uniVer": "√",
|
|
1240
1240
|
"uniUtsPlugin": "x",
|
|
1241
|
-
"unixVer": "
|
|
1242
|
-
"unixUtsPlugin": "
|
|
1241
|
+
"unixVer": "5.0",
|
|
1242
|
+
"unixUtsPlugin": "5.0"
|
|
1243
1243
|
},
|
|
1244
1244
|
"harmony": {
|
|
1245
1245
|
"osVer": "x",
|
|
@@ -270,52 +270,9 @@ export type ShowModalOptions = {
|
|
|
270
270
|
*/
|
|
271
271
|
content?: string | null,
|
|
272
272
|
/**
|
|
273
|
-
* 是否显示取消按钮,默认为 true
|
|
274
273
|
* @defaultValue true
|
|
275
|
-
* @
|
|
276
|
-
*
|
|
277
|
-
* "weixin": {
|
|
278
|
-
* "hostVer": "√",
|
|
279
|
-
* "uniVer": "√",
|
|
280
|
-
* "unixVer": "4.41"
|
|
281
|
-
* },
|
|
282
|
-
* "alipay": {
|
|
283
|
-
* "hostVer": "-",
|
|
284
|
-
* "uniVer": "-",
|
|
285
|
-
* "unixVer": "-"
|
|
286
|
-
* },
|
|
287
|
-
* "baidu": {
|
|
288
|
-
* "hostVer": "-",
|
|
289
|
-
* "uniVer": "-",
|
|
290
|
-
* "unixVer": "-"
|
|
291
|
-
* },
|
|
292
|
-
* "toutiao": {
|
|
293
|
-
* "hostVer": "-",
|
|
294
|
-
* "uniVer": "-",
|
|
295
|
-
* "unixVer": "-"
|
|
296
|
-
* },
|
|
297
|
-
* "lark": {
|
|
298
|
-
* "hostVer": "-",
|
|
299
|
-
* "uniVer": "-",
|
|
300
|
-
* "unixVer": "-"
|
|
301
|
-
* },
|
|
302
|
-
* "qq": {
|
|
303
|
-
* "hostVer": "-",
|
|
304
|
-
* "uniVer": "-",
|
|
305
|
-
* "unixVer": "-"
|
|
306
|
-
* },
|
|
307
|
-
* "kuaishou": {
|
|
308
|
-
* "hostVer": "-",
|
|
309
|
-
* "uniVer": "-",
|
|
310
|
-
* "unixVer": "-"
|
|
311
|
-
* },
|
|
312
|
-
* "jd": {
|
|
313
|
-
* "hostVer": "-",
|
|
314
|
-
* "uniVer": "-",
|
|
315
|
-
* "unixVer": "-"
|
|
316
|
-
* }
|
|
317
|
-
* }
|
|
318
|
-
* }
|
|
274
|
+
* @default true
|
|
275
|
+
* 是否显示取消按钮,默认为 true
|
|
319
276
|
*/
|
|
320
277
|
showCancel?: boolean | null,
|
|
321
278
|
/**
|