@dcloudio/uni-app-x 0.7.37 → 0.7.39
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 +1 -1
- package/types/UniPage.d.ts +48 -9
- package/types/app.d.ts +8 -5
- package/types/native/AsyncApiResult.d.ts +1 -0
- package/types/native/CanvasRenderingContext2D.d.ts +1 -1
- package/types/native/IUniElement.d.ts +130 -35
- package/types/native/UniElement.d.ts +2 -1
- package/types/native/UniTextElement.d.ts +1 -0
- package/types/native/global.d.ts +16 -0
- package/types/page.d.ts +47 -5
- package/types/uni/env/index.d.ts +87 -73
- package/types/uni/global.d.ts +1 -0
- package/types/uni/index.d.ts +1 -0
- package/types/uni/uni-map-tencent-global.d.ts +33 -0
- package/types/uni/uni-map-tencent-map.d.ts +52 -0
- package/types/uni/uts-plugin-api/global.d.ts +2 -1
- package/types/uni/uts-plugin-api/index.d.ts +2 -1
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +212 -219
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +73 -73
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +331 -205
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +73 -73
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +848 -208
- package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-chooseLocation/utssdk/global.d.ts +5 -6
- package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-chooseLocation/utssdk/index.d.ts +3 -3
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +414 -0
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1226 -1726
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +102 -18
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +1199 -1045
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +294 -263
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +33 -28
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +210 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +4828 -1750
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +490 -448
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2138 -829
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +664 -114
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +891 -9
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +254 -114
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +152 -12
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +813 -57
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +0 -45
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +274 -148
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +38 -3
- package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +969 -969
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +3161 -43
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +316 -22
- package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +42 -0
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +41 -41
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +88 -88
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +2765 -1193
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +18 -18
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +3098 -1153
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +13 -13
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +42 -0
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +10 -10
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +621 -369
- package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +540 -253
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2602 -1131
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +58 -58
- package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +77 -35
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +42 -0
- package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +614 -15
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +857 -437
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +58 -16
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1057 -516
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +1656 -1488
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1752 -786
- package/types/uni/uts-plugin-biz/global.d.ts +1 -0
- package/types/uni/uts-plugin-biz/index.d.ts +1 -0
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +85 -1
- package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/interface.d.ts +46 -46
- package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +72 -20
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +126 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +98 -15
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +677 -299
- package/types/uni/uts-plugin-extend/README.md +3 -0
- package/types/uni/uts-plugin-extend/global.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/global.d.ts +7 -0
- package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/index.d.ts +0 -0
- package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +5 -5
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +302 -302
- package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +77 -77
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +431 -11
- package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +6 -6
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +73 -73
- package/types/uni-cloud/interface.d.ts +91 -0
- package/uts-plugin.d.ts +3 -1
- package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -151
- package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -11
- package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -4
- package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -224
- package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +0 -53
- package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +0 -25
- package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +0 -487
- package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +0 -9
- package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +0 -165
- /package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/global.d.ts +0 -0
- /package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/index.d.ts +0 -0
|
@@ -6,14 +6,14 @@ export type SetTabBarBadgeSuccessCallback = (
|
|
|
6
6
|
* 错误码
|
|
7
7
|
*/
|
|
8
8
|
export type SetTabBarErrorCode =
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
100 |
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
200;
|
|
9
|
+
/**
|
|
10
|
+
* TabBar 不存在
|
|
11
|
+
*/
|
|
12
|
+
100 |
|
|
13
|
+
/**
|
|
14
|
+
* 参数错误
|
|
15
|
+
*/
|
|
16
|
+
200;
|
|
17
17
|
|
|
18
18
|
export interface SetTabBarFail extends IUniError {
|
|
19
19
|
errCode: SetTabBarErrorCode
|
|
@@ -276,6 +276,48 @@ export type SetTabBarStyleOptions = {
|
|
|
276
276
|
* "unixVer": "x"
|
|
277
277
|
* }
|
|
278
278
|
* },
|
|
279
|
+
* "mp": {
|
|
280
|
+
* "weixin": {
|
|
281
|
+
* "hostVer": "√",
|
|
282
|
+
* "uniVer": "√",
|
|
283
|
+
* "unixVer": "4.41"
|
|
284
|
+
* },
|
|
285
|
+
* "alipay": {
|
|
286
|
+
* "hostVer": "√",
|
|
287
|
+
* "uniVer": "√",
|
|
288
|
+
* "unixVer": "x"
|
|
289
|
+
* },
|
|
290
|
+
* "baidu": {
|
|
291
|
+
* "hostVer": "√",
|
|
292
|
+
* "uniVer": "√",
|
|
293
|
+
* "unixVer": "x"
|
|
294
|
+
* },
|
|
295
|
+
* "toutiao": {
|
|
296
|
+
* "hostVer": "√",
|
|
297
|
+
* "uniVer": "√",
|
|
298
|
+
* "unixVer": "x"
|
|
299
|
+
* },
|
|
300
|
+
* "lark": {
|
|
301
|
+
* "hostVer": "√",
|
|
302
|
+
* "uniVer": "√",
|
|
303
|
+
* "unixVer": "x"
|
|
304
|
+
* },
|
|
305
|
+
* "qq": {
|
|
306
|
+
* "hostVer": "√",
|
|
307
|
+
* "uniVer": "√",
|
|
308
|
+
* "unixVer": "x"
|
|
309
|
+
* },
|
|
310
|
+
* "kuaishou": {
|
|
311
|
+
* "hostVer": "√",
|
|
312
|
+
* "uniVer": "√",
|
|
313
|
+
* "unixVer": "x"
|
|
314
|
+
* },
|
|
315
|
+
* "jd": {
|
|
316
|
+
* "hostVer": "√",
|
|
317
|
+
* "uniVer": "√",
|
|
318
|
+
* "unixVer": "x"
|
|
319
|
+
* }
|
|
320
|
+
* },
|
|
279
321
|
* "web": {
|
|
280
322
|
* "uniVer": "x",
|
|
281
323
|
* "unixVer": "4.23"
|
|
@@ -459,7 +501,7 @@ export interface Uni {
|
|
|
459
501
|
* "weixin": {
|
|
460
502
|
* "hostVer": "√",
|
|
461
503
|
* "uniVer": "√",
|
|
462
|
-
* "unixVer": "
|
|
504
|
+
* "unixVer": "4.41"
|
|
463
505
|
* },
|
|
464
506
|
* "alipay": {
|
|
465
507
|
* "hostVer": "√",
|
|
@@ -534,7 +576,7 @@ export interface Uni {
|
|
|
534
576
|
* "weixin": {
|
|
535
577
|
* "hostVer": "√",
|
|
536
578
|
* "uniVer": "√",
|
|
537
|
-
* "unixVer": "
|
|
579
|
+
* "unixVer": "4.41"
|
|
538
580
|
* },
|
|
539
581
|
* "alipay": {
|
|
540
582
|
* "hostVer": "√",
|
|
@@ -609,7 +651,7 @@ export interface Uni {
|
|
|
609
651
|
* "weixin": {
|
|
610
652
|
* "hostVer": "√",
|
|
611
653
|
* "uniVer": "√",
|
|
612
|
-
* "unixVer": "
|
|
654
|
+
* "unixVer": "4.41"
|
|
613
655
|
* },
|
|
614
656
|
* "alipay": {
|
|
615
657
|
* "hostVer": "√",
|
|
@@ -684,7 +726,7 @@ export interface Uni {
|
|
|
684
726
|
* "weixin": {
|
|
685
727
|
* "hostVer": "√",
|
|
686
728
|
* "uniVer": "√",
|
|
687
|
-
* "unixVer": "
|
|
729
|
+
* "unixVer": "4.41"
|
|
688
730
|
* },
|
|
689
731
|
* "alipay": {
|
|
690
732
|
* "hostVer": "√",
|
|
@@ -759,7 +801,7 @@ export interface Uni {
|
|
|
759
801
|
* "weixin": {
|
|
760
802
|
* "hostVer": "√",
|
|
761
803
|
* "uniVer": "√",
|
|
762
|
-
* "unixVer": "
|
|
804
|
+
* "unixVer": "4.41"
|
|
763
805
|
* },
|
|
764
806
|
* "alipay": {
|
|
765
807
|
* "hostVer": "√",
|
|
@@ -834,7 +876,7 @@ export interface Uni {
|
|
|
834
876
|
* "weixin": {
|
|
835
877
|
* "hostVer": "√",
|
|
836
878
|
* "uniVer": "√",
|
|
837
|
-
* "unixVer": "
|
|
879
|
+
* "unixVer": "4.41"
|
|
838
880
|
* },
|
|
839
881
|
* "alipay": {
|
|
840
882
|
* "hostVer": "√",
|
|
@@ -909,7 +951,7 @@ export interface Uni {
|
|
|
909
951
|
* "weixin": {
|
|
910
952
|
* "hostVer": "√",
|
|
911
953
|
* "uniVer": "√",
|
|
912
|
-
* "unixVer": "
|
|
954
|
+
* "unixVer": "4.41"
|
|
913
955
|
* },
|
|
914
956
|
* "alipay": {
|
|
915
957
|
* "hostVer": "√",
|
|
@@ -984,7 +1026,7 @@ export interface Uni {
|
|
|
984
1026
|
* "weixin": {
|
|
985
1027
|
* "hostVer": "√",
|
|
986
1028
|
* "uniVer": "√",
|
|
987
|
-
* "unixVer": "
|
|
1029
|
+
* "unixVer": "4.41"
|
|
988
1030
|
* },
|
|
989
1031
|
* "alipay": {
|
|
990
1032
|
* "hostVer": "√",
|
|
@@ -17,6 +17,10 @@ import {
|
|
|
17
17
|
AppThemeErrorCode as AppThemeErrorCodeOrigin,
|
|
18
18
|
AppThemeFail as AppThemeFailOrigin,
|
|
19
19
|
IAppThemeFail as IAppThemeFailOrigin,
|
|
20
|
+
OnHostThemeChangeCallbackResult as OnHostThemeChangeCallbackResultOrigin,
|
|
21
|
+
OnHostThemeChangeCallback as OnHostThemeChangeCallbackOrigin,
|
|
22
|
+
OnThemeChangeCallbackResult as OnThemeChangeCallbackResultOrigin,
|
|
23
|
+
OnThemeChangeCallback as OnThemeChangeCallbackOrigin,
|
|
20
24
|
Uni as UniOrigin
|
|
21
25
|
} from './interface'
|
|
22
26
|
|
|
@@ -38,5 +42,9 @@ declare global {
|
|
|
38
42
|
type AppThemeErrorCode = AppThemeErrorCodeOrigin
|
|
39
43
|
type AppThemeFail = AppThemeFailOrigin
|
|
40
44
|
type IAppThemeFail = IAppThemeFailOrigin
|
|
45
|
+
type OnHostThemeChangeCallbackResult = OnHostThemeChangeCallbackResultOrigin
|
|
46
|
+
type OnHostThemeChangeCallback = OnHostThemeChangeCallbackOrigin
|
|
47
|
+
type OnThemeChangeCallbackResult = OnThemeChangeCallbackResultOrigin
|
|
48
|
+
type OnThemeChangeCallback = OnThemeChangeCallbackOrigin
|
|
41
49
|
interface Uni extends UniOrigin { }
|
|
42
50
|
}
|