@dcloudio/uni-app-x 0.7.39 → 0.7.41
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 +9 -7
- package/types/UniPage.d.ts +168 -22
- package/types/app.d.ts +178 -174
- package/types/native/CSSStyleDeclaration.d.ts +16 -2
- package/types/native/DOMRect.d.ts +430 -10
- package/types/native/DrawableContext.d.ts +1137 -45
- package/types/native/IUniElement.d.ts +1875 -93
- package/types/native/UniNativePage.d.ts +94 -0
- package/types/native/UniResizeObserver.d.ts +215 -5
- package/types/native/UniSafeArea.d.ts +185 -0
- package/types/native/UniVideoElement.d.ts +432 -0
- package/types/native/global.d.ts +7 -0
- package/types/native/index.d.ts +1 -0
- package/types/uni/uni-map-tencent-map.d.ts +12 -8
- package/types/uni/uts-plugin-api/global.d.ts +62 -61
- package/types/uni/uts-plugin-api/index.d.ts +62 -61
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +22 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +278 -0
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1600 -59
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +64 -63
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +1150 -186
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +64 -63
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +550 -550
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +69 -72
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +533 -135
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1508 -77
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +423 -63
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +284 -63
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +2 -9
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +62 -62
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +31 -31
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +57 -57
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +312 -110
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +62 -62
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +472 -72
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +126 -78
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +317 -66
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +570 -63
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +570 -63
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +110 -66
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +595 -177
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +284 -63
- package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +45 -1
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1387 -182
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +67 -67
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +318 -53
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +162 -63
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +241 -64
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +6 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +4089 -659
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +460 -252
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +2345 -213
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1205 -149
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +339 -33
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +457 -53
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +328 -63
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +317 -66
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +120 -71
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2157 -437
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +260 -126
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +467 -315
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +553 -53
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +1608 -630
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +2492 -504
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +176 -130
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +704 -58
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1230 -454
- package/types/uni/uts-plugin-biz/global.d.ts +6 -5
- package/types/uni/uts-plugin-biz/index.d.ts +6 -5
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +406 -123
- package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +60 -47
- package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +71 -71
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/interface.d.ts +204 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +42 -38
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +21 -19
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +502 -255
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/global.d.ts +64 -0
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/index.d.ts +31 -0
- package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/interface.d.ts +900 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +48 -48
- package/types/uni/uts-plugin-extend/global.d.ts +0 -4
- package/types/uni/uts-plugin-extend/index.d.ts +0 -4
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +825 -273
- package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4399 -339
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1000 -268
- package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +1 -1
- 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 +1495 -384
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +222 -132
- package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +923 -67
- package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -7
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -716
|
@@ -782,6 +782,153 @@ export type NavigateToOptions = {
|
|
|
782
782
|
* }
|
|
783
783
|
*/
|
|
784
784
|
complete?: NavigateToCompleteCallback | null
|
|
785
|
+
/**
|
|
786
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/custom-route.html
|
|
787
|
+
*
|
|
788
|
+
* @uniPlatform {
|
|
789
|
+
* "mp": {
|
|
790
|
+
* "weixin": {
|
|
791
|
+
* "hostVer": "√",
|
|
792
|
+
* "uniVer": "√",
|
|
793
|
+
* "unixVer": "4.41"
|
|
794
|
+
* },
|
|
795
|
+
* "alipay": {
|
|
796
|
+
* "hostVer": "-",
|
|
797
|
+
* "uniVer": "-",
|
|
798
|
+
* "unixVer": "-"
|
|
799
|
+
* },
|
|
800
|
+
* "baidu": {
|
|
801
|
+
* "hostVer": "-",
|
|
802
|
+
* "uniVer": "-",
|
|
803
|
+
* "unixVer": "-"
|
|
804
|
+
* },
|
|
805
|
+
* "toutiao": {
|
|
806
|
+
* "hostVer": "-",
|
|
807
|
+
* "uniVer": "-",
|
|
808
|
+
* "unixVer": "-"
|
|
809
|
+
* },
|
|
810
|
+
* "lark": {
|
|
811
|
+
* "hostVer": "-",
|
|
812
|
+
* "uniVer": "-",
|
|
813
|
+
* "unixVer": "-"
|
|
814
|
+
* },
|
|
815
|
+
* "qq": {
|
|
816
|
+
* "hostVer": "-",
|
|
817
|
+
* "uniVer": "-",
|
|
818
|
+
* "unixVer": "-"
|
|
819
|
+
* },
|
|
820
|
+
* "kuaishou": {
|
|
821
|
+
* "hostVer": "-",
|
|
822
|
+
* "uniVer": "-",
|
|
823
|
+
* "unixVer": "-"
|
|
824
|
+
* },
|
|
825
|
+
* "jd": {
|
|
826
|
+
* "hostVer": "-",
|
|
827
|
+
* "uniVer": "-",
|
|
828
|
+
* "unixVer": "-"
|
|
829
|
+
* }
|
|
830
|
+
* }
|
|
831
|
+
* }
|
|
832
|
+
*/
|
|
833
|
+
routeConfig?: any | null;
|
|
834
|
+
/**
|
|
835
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/custom-route.html
|
|
836
|
+
*
|
|
837
|
+
* @uniPlatform {
|
|
838
|
+
* "mp": {
|
|
839
|
+
* "weixin": {
|
|
840
|
+
* "hostVer": "√",
|
|
841
|
+
* "uniVer": "√",
|
|
842
|
+
* "unixVer": "4.41"
|
|
843
|
+
* },
|
|
844
|
+
* "alipay": {
|
|
845
|
+
* "hostVer": "-",
|
|
846
|
+
* "uniVer": "-",
|
|
847
|
+
* "unixVer": "-"
|
|
848
|
+
* },
|
|
849
|
+
* "baidu": {
|
|
850
|
+
* "hostVer": "-",
|
|
851
|
+
* "uniVer": "-",
|
|
852
|
+
* "unixVer": "-"
|
|
853
|
+
* },
|
|
854
|
+
* "toutiao": {
|
|
855
|
+
* "hostVer": "-",
|
|
856
|
+
* "uniVer": "-",
|
|
857
|
+
* "unixVer": "-"
|
|
858
|
+
* },
|
|
859
|
+
* "lark": {
|
|
860
|
+
* "hostVer": "-",
|
|
861
|
+
* "uniVer": "-",
|
|
862
|
+
* "unixVer": "-"
|
|
863
|
+
* },
|
|
864
|
+
* "qq": {
|
|
865
|
+
* "hostVer": "-",
|
|
866
|
+
* "uniVer": "-",
|
|
867
|
+
* "unixVer": "-"
|
|
868
|
+
* },
|
|
869
|
+
* "kuaishou": {
|
|
870
|
+
* "hostVer": "-",
|
|
871
|
+
* "uniVer": "-",
|
|
872
|
+
* "unixVer": "-"
|
|
873
|
+
* },
|
|
874
|
+
* "jd": {
|
|
875
|
+
* "hostVer": "-",
|
|
876
|
+
* "uniVer": "-",
|
|
877
|
+
* "unixVer": "-"
|
|
878
|
+
* }
|
|
879
|
+
* }
|
|
880
|
+
* }
|
|
881
|
+
*/
|
|
882
|
+
routeOptions?: any | null;
|
|
883
|
+
/**
|
|
884
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/custom-route.html
|
|
885
|
+
*
|
|
886
|
+
* @uniPlatform {
|
|
887
|
+
* "mp": {
|
|
888
|
+
* "weixin": {
|
|
889
|
+
* "hostVer": "√",
|
|
890
|
+
* "uniVer": "√",
|
|
891
|
+
* "unixVer": "4.41"
|
|
892
|
+
* },
|
|
893
|
+
* "alipay": {
|
|
894
|
+
* "hostVer": "-",
|
|
895
|
+
* "uniVer": "-",
|
|
896
|
+
* "unixVer": "-"
|
|
897
|
+
* },
|
|
898
|
+
* "baidu": {
|
|
899
|
+
* "hostVer": "-",
|
|
900
|
+
* "uniVer": "-",
|
|
901
|
+
* "unixVer": "-"
|
|
902
|
+
* },
|
|
903
|
+
* "toutiao": {
|
|
904
|
+
* "hostVer": "-",
|
|
905
|
+
* "uniVer": "-",
|
|
906
|
+
* "unixVer": "-"
|
|
907
|
+
* },
|
|
908
|
+
* "lark": {
|
|
909
|
+
* "hostVer": "-",
|
|
910
|
+
* "uniVer": "-",
|
|
911
|
+
* "unixVer": "-"
|
|
912
|
+
* },
|
|
913
|
+
* "qq": {
|
|
914
|
+
* "hostVer": "-",
|
|
915
|
+
* "uniVer": "-",
|
|
916
|
+
* "unixVer": "-"
|
|
917
|
+
* },
|
|
918
|
+
* "kuaishou": {
|
|
919
|
+
* "hostVer": "-",
|
|
920
|
+
* "uniVer": "-",
|
|
921
|
+
* "unixVer": "-"
|
|
922
|
+
* },
|
|
923
|
+
* "jd": {
|
|
924
|
+
* "hostVer": "-",
|
|
925
|
+
* "uniVer": "-",
|
|
926
|
+
* "unixVer": "-"
|
|
927
|
+
* }
|
|
928
|
+
* }
|
|
929
|
+
* }
|
|
930
|
+
*/
|
|
931
|
+
routeType?: string | null;
|
|
785
932
|
}
|
|
786
933
|
export type RedirectToSuccess = AsyncApiSuccessResult
|
|
787
934
|
type RedirectToSuccessCallback = (result: AsyncApiSuccessResult) => void
|
|
@@ -2332,70 +2479,71 @@ export interface Uni {
|
|
|
2332
2479
|
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
|
|
2333
2480
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateto
|
|
2334
2481
|
* @uniPlatform {
|
|
2335
|
-
*
|
|
2336
|
-
*
|
|
2337
|
-
*
|
|
2338
|
-
*
|
|
2339
|
-
*
|
|
2340
|
-
*
|
|
2341
|
-
*
|
|
2342
|
-
*
|
|
2343
|
-
*
|
|
2344
|
-
*
|
|
2345
|
-
*
|
|
2346
|
-
*
|
|
2347
|
-
*
|
|
2348
|
-
*
|
|
2349
|
-
*
|
|
2350
|
-
*
|
|
2351
|
-
*
|
|
2352
|
-
*
|
|
2353
|
-
*
|
|
2354
|
-
*
|
|
2355
|
-
*
|
|
2356
|
-
*
|
|
2357
|
-
*
|
|
2358
|
-
*
|
|
2359
|
-
*
|
|
2360
|
-
*
|
|
2361
|
-
*
|
|
2362
|
-
*
|
|
2363
|
-
*
|
|
2364
|
-
*
|
|
2365
|
-
*
|
|
2366
|
-
*
|
|
2367
|
-
*
|
|
2368
|
-
*
|
|
2369
|
-
*
|
|
2370
|
-
*
|
|
2371
|
-
*
|
|
2372
|
-
*
|
|
2373
|
-
*
|
|
2374
|
-
*
|
|
2375
|
-
*
|
|
2376
|
-
*
|
|
2377
|
-
*
|
|
2378
|
-
*
|
|
2379
|
-
*
|
|
2380
|
-
*
|
|
2381
|
-
*
|
|
2382
|
-
*
|
|
2383
|
-
*
|
|
2384
|
-
*
|
|
2385
|
-
*
|
|
2386
|
-
*
|
|
2387
|
-
*
|
|
2388
|
-
*
|
|
2389
|
-
*
|
|
2390
|
-
*
|
|
2391
|
-
*
|
|
2392
|
-
*
|
|
2393
|
-
*
|
|
2394
|
-
*
|
|
2395
|
-
*
|
|
2396
|
-
*
|
|
2397
|
-
*
|
|
2482
|
+
* "app": {
|
|
2483
|
+
* "android": {
|
|
2484
|
+
* "osVer": "5.0",
|
|
2485
|
+
* "uniVer": "√",
|
|
2486
|
+
* "unixVer": "√"
|
|
2487
|
+
* },
|
|
2488
|
+
* "ios": {
|
|
2489
|
+
* "osVer": "12.0",
|
|
2490
|
+
* "uniVer": "√",
|
|
2491
|
+
* "unixVer": "4.11"
|
|
2492
|
+
* },
|
|
2493
|
+
* "harmony": {
|
|
2494
|
+
* "osVer": "3.0",
|
|
2495
|
+
* "uniVer": "4.23",
|
|
2496
|
+
* "unixVer": "x"
|
|
2497
|
+
* }
|
|
2498
|
+
* },
|
|
2499
|
+
* "mp": {
|
|
2500
|
+
* "weixin": {
|
|
2501
|
+
* "hostVer": "2.2.2",
|
|
2502
|
+
* "uniVer": "√",
|
|
2503
|
+
* "unixVer": "4.41"
|
|
2504
|
+
* },
|
|
2505
|
+
* "alipay": {
|
|
2506
|
+
* "hostVer": "√",
|
|
2507
|
+
* "uniVer": "√",
|
|
2508
|
+
* "unixVer": "x"
|
|
2509
|
+
* },
|
|
2510
|
+
* "baidu": {
|
|
2511
|
+
* "hostVer": "√",
|
|
2512
|
+
* "uniVer": "√",
|
|
2513
|
+
* "unixVer": "x"
|
|
2514
|
+
* },
|
|
2515
|
+
* "toutiao": {
|
|
2516
|
+
* "hostVer": "√",
|
|
2517
|
+
* "uniVer": "√",
|
|
2518
|
+
* "unixVer": "x"
|
|
2519
|
+
* },
|
|
2520
|
+
* "lark": {
|
|
2521
|
+
* "hostVer": "√",
|
|
2522
|
+
* "uniVer": "√",
|
|
2523
|
+
* "unixVer": "x"
|
|
2524
|
+
* },
|
|
2525
|
+
* "qq": {
|
|
2526
|
+
* "hostVer": "√",
|
|
2527
|
+
* "uniVer": "√",
|
|
2528
|
+
* "unixVer": "x"
|
|
2529
|
+
* },
|
|
2530
|
+
* "kuaishou": {
|
|
2531
|
+
* "hostVer": "√",
|
|
2532
|
+
* "uniVer": "√",
|
|
2533
|
+
* "unixVer": "x"
|
|
2534
|
+
* },
|
|
2535
|
+
* "jd": {
|
|
2536
|
+
* "hostVer": "√",
|
|
2537
|
+
* "uniVer": "√",
|
|
2538
|
+
* "unixVer": "x"
|
|
2539
|
+
* }
|
|
2540
|
+
* },
|
|
2541
|
+
* "web": {
|
|
2542
|
+
* "uniVer": "√",
|
|
2543
|
+
* "unixVer": "4.0"
|
|
2544
|
+
* }
|
|
2398
2545
|
* }
|
|
2546
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.navigateTo.html
|
|
2399
2547
|
*/
|
|
2400
2548
|
navigateTo(options: NavigateToOptions): Promise<NavigateToSuccess> | null
|
|
2401
2549
|
/**
|
|
@@ -2405,70 +2553,71 @@ export interface Uni {
|
|
|
2405
2553
|
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
|
|
2406
2554
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#redirectto
|
|
2407
2555
|
* @uniPlatform {
|
|
2408
|
-
*
|
|
2409
|
-
*
|
|
2410
|
-
*
|
|
2411
|
-
*
|
|
2412
|
-
*
|
|
2413
|
-
*
|
|
2414
|
-
*
|
|
2415
|
-
*
|
|
2416
|
-
*
|
|
2417
|
-
*
|
|
2418
|
-
*
|
|
2419
|
-
*
|
|
2420
|
-
*
|
|
2421
|
-
*
|
|
2422
|
-
*
|
|
2423
|
-
*
|
|
2424
|
-
*
|
|
2425
|
-
*
|
|
2426
|
-
*
|
|
2427
|
-
*
|
|
2428
|
-
*
|
|
2429
|
-
*
|
|
2430
|
-
*
|
|
2431
|
-
*
|
|
2432
|
-
*
|
|
2433
|
-
*
|
|
2434
|
-
*
|
|
2435
|
-
*
|
|
2436
|
-
*
|
|
2437
|
-
*
|
|
2438
|
-
*
|
|
2439
|
-
*
|
|
2440
|
-
*
|
|
2441
|
-
*
|
|
2442
|
-
*
|
|
2443
|
-
*
|
|
2444
|
-
*
|
|
2445
|
-
*
|
|
2446
|
-
*
|
|
2447
|
-
*
|
|
2448
|
-
*
|
|
2449
|
-
*
|
|
2450
|
-
*
|
|
2451
|
-
*
|
|
2452
|
-
*
|
|
2453
|
-
*
|
|
2454
|
-
*
|
|
2455
|
-
*
|
|
2456
|
-
*
|
|
2457
|
-
*
|
|
2458
|
-
*
|
|
2459
|
-
*
|
|
2460
|
-
*
|
|
2461
|
-
*
|
|
2462
|
-
*
|
|
2463
|
-
*
|
|
2464
|
-
*
|
|
2465
|
-
*
|
|
2466
|
-
*
|
|
2467
|
-
*
|
|
2468
|
-
*
|
|
2469
|
-
*
|
|
2470
|
-
*
|
|
2556
|
+
* "app": {
|
|
2557
|
+
* "android": {
|
|
2558
|
+
* "osVer": "5.0",
|
|
2559
|
+
* "uniVer": "√",
|
|
2560
|
+
* "unixVer": "√"
|
|
2561
|
+
* },
|
|
2562
|
+
* "ios": {
|
|
2563
|
+
* "osVer": "12.0",
|
|
2564
|
+
* "uniVer": "√",
|
|
2565
|
+
* "unixVer": "4.11"
|
|
2566
|
+
* },
|
|
2567
|
+
* "harmony": {
|
|
2568
|
+
* "osVer": "3.0",
|
|
2569
|
+
* "uniVer": "4.23",
|
|
2570
|
+
* "unixVer": "x"
|
|
2571
|
+
* }
|
|
2572
|
+
* },
|
|
2573
|
+
* "mp": {
|
|
2574
|
+
* "weixin": {
|
|
2575
|
+
* "hostVer": "2.2.2",
|
|
2576
|
+
* "uniVer": "√",
|
|
2577
|
+
* "unixVer": "4.41"
|
|
2578
|
+
* },
|
|
2579
|
+
* "alipay": {
|
|
2580
|
+
* "hostVer": "√",
|
|
2581
|
+
* "uniVer": "√",
|
|
2582
|
+
* "unixVer": "x"
|
|
2583
|
+
* },
|
|
2584
|
+
* "baidu": {
|
|
2585
|
+
* "hostVer": "√",
|
|
2586
|
+
* "uniVer": "√",
|
|
2587
|
+
* "unixVer": "x"
|
|
2588
|
+
* },
|
|
2589
|
+
* "toutiao": {
|
|
2590
|
+
* "hostVer": "√",
|
|
2591
|
+
* "uniVer": "√",
|
|
2592
|
+
* "unixVer": "x"
|
|
2593
|
+
* },
|
|
2594
|
+
* "lark": {
|
|
2595
|
+
* "hostVer": "√",
|
|
2596
|
+
* "uniVer": "√",
|
|
2597
|
+
* "unixVer": "x"
|
|
2598
|
+
* },
|
|
2599
|
+
* "qq": {
|
|
2600
|
+
* "hostVer": "√",
|
|
2601
|
+
* "uniVer": "√",
|
|
2602
|
+
* "unixVer": "x"
|
|
2603
|
+
* },
|
|
2604
|
+
* "kuaishou": {
|
|
2605
|
+
* "hostVer": "√",
|
|
2606
|
+
* "uniVer": "√",
|
|
2607
|
+
* "unixVer": "x"
|
|
2608
|
+
* },
|
|
2609
|
+
* "jd": {
|
|
2610
|
+
* "hostVer": "√",
|
|
2611
|
+
* "uniVer": "√",
|
|
2612
|
+
* "unixVer": "x"
|
|
2613
|
+
* }
|
|
2614
|
+
* },
|
|
2615
|
+
* "web": {
|
|
2616
|
+
* "uniVer": "√",
|
|
2617
|
+
* "unixVer": "4.0"
|
|
2618
|
+
* }
|
|
2471
2619
|
* }
|
|
2620
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.redirectTo.html
|
|
2472
2621
|
*/
|
|
2473
2622
|
redirectTo(options: RedirectToOptions): Promise<RedirectToSuccess> | null
|
|
2474
2623
|
/**
|
|
@@ -2478,70 +2627,71 @@ export interface Uni {
|
|
|
2478
2627
|
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#relaunch
|
|
2479
2628
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#relaunch
|
|
2480
2629
|
* @uniPlatform {
|
|
2481
|
-
*
|
|
2482
|
-
*
|
|
2483
|
-
*
|
|
2484
|
-
*
|
|
2485
|
-
*
|
|
2486
|
-
*
|
|
2487
|
-
*
|
|
2488
|
-
*
|
|
2489
|
-
*
|
|
2490
|
-
*
|
|
2491
|
-
*
|
|
2492
|
-
*
|
|
2493
|
-
*
|
|
2494
|
-
*
|
|
2495
|
-
*
|
|
2496
|
-
*
|
|
2497
|
-
*
|
|
2498
|
-
*
|
|
2499
|
-
*
|
|
2500
|
-
*
|
|
2501
|
-
*
|
|
2502
|
-
*
|
|
2503
|
-
*
|
|
2504
|
-
*
|
|
2505
|
-
*
|
|
2506
|
-
*
|
|
2507
|
-
*
|
|
2508
|
-
*
|
|
2509
|
-
*
|
|
2510
|
-
*
|
|
2511
|
-
*
|
|
2512
|
-
*
|
|
2513
|
-
*
|
|
2514
|
-
*
|
|
2515
|
-
*
|
|
2516
|
-
*
|
|
2517
|
-
*
|
|
2518
|
-
*
|
|
2519
|
-
*
|
|
2520
|
-
*
|
|
2521
|
-
*
|
|
2522
|
-
*
|
|
2523
|
-
*
|
|
2524
|
-
*
|
|
2525
|
-
*
|
|
2526
|
-
*
|
|
2527
|
-
*
|
|
2528
|
-
*
|
|
2529
|
-
*
|
|
2530
|
-
*
|
|
2531
|
-
*
|
|
2532
|
-
*
|
|
2533
|
-
*
|
|
2534
|
-
*
|
|
2535
|
-
*
|
|
2536
|
-
*
|
|
2537
|
-
*
|
|
2538
|
-
*
|
|
2539
|
-
*
|
|
2540
|
-
*
|
|
2541
|
-
*
|
|
2542
|
-
*
|
|
2543
|
-
*
|
|
2630
|
+
* "app": {
|
|
2631
|
+
* "android": {
|
|
2632
|
+
* "osVer": "5.0",
|
|
2633
|
+
* "uniVer": "√",
|
|
2634
|
+
* "unixVer": "√"
|
|
2635
|
+
* },
|
|
2636
|
+
* "ios": {
|
|
2637
|
+
* "osVer": "12.0",
|
|
2638
|
+
* "uniVer": "√",
|
|
2639
|
+
* "unixVer": "4.11"
|
|
2640
|
+
* },
|
|
2641
|
+
* "harmony": {
|
|
2642
|
+
* "osVer": "3.0",
|
|
2643
|
+
* "uniVer": "4.23",
|
|
2644
|
+
* "unixVer": "x"
|
|
2645
|
+
* }
|
|
2646
|
+
* },
|
|
2647
|
+
* "mp": {
|
|
2648
|
+
* "weixin": {
|
|
2649
|
+
* "hostVer": "1.1.0",
|
|
2650
|
+
* "uniVer": "√",
|
|
2651
|
+
* "unixVer": "4.41"
|
|
2652
|
+
* },
|
|
2653
|
+
* "alipay": {
|
|
2654
|
+
* "hostVer": "√",
|
|
2655
|
+
* "uniVer": "√",
|
|
2656
|
+
* "unixVer": "x"
|
|
2657
|
+
* },
|
|
2658
|
+
* "baidu": {
|
|
2659
|
+
* "hostVer": "√",
|
|
2660
|
+
* "uniVer": "√",
|
|
2661
|
+
* "unixVer": "x"
|
|
2662
|
+
* },
|
|
2663
|
+
* "toutiao": {
|
|
2664
|
+
* "hostVer": "√",
|
|
2665
|
+
* "uniVer": "√",
|
|
2666
|
+
* "unixVer": "x"
|
|
2667
|
+
* },
|
|
2668
|
+
* "lark": {
|
|
2669
|
+
* "hostVer": "√",
|
|
2670
|
+
* "uniVer": "√",
|
|
2671
|
+
* "unixVer": "x"
|
|
2672
|
+
* },
|
|
2673
|
+
* "qq": {
|
|
2674
|
+
* "hostVer": "√",
|
|
2675
|
+
* "uniVer": "√",
|
|
2676
|
+
* "unixVer": "x"
|
|
2677
|
+
* },
|
|
2678
|
+
* "kuaishou": {
|
|
2679
|
+
* "hostVer": "√",
|
|
2680
|
+
* "uniVer": "√",
|
|
2681
|
+
* "unixVer": "x"
|
|
2682
|
+
* },
|
|
2683
|
+
* "jd": {
|
|
2684
|
+
* "hostVer": "√",
|
|
2685
|
+
* "uniVer": "√",
|
|
2686
|
+
* "unixVer": "x"
|
|
2687
|
+
* }
|
|
2688
|
+
* },
|
|
2689
|
+
* "web": {
|
|
2690
|
+
* "uniVer": "√",
|
|
2691
|
+
* "unixVer": "4.0"
|
|
2692
|
+
* }
|
|
2544
2693
|
* }
|
|
2694
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.reLaunch.html
|
|
2545
2695
|
*/
|
|
2546
2696
|
reLaunch(options: ReLaunchOptions): Promise<ReLaunchSuccess> | null
|
|
2547
2697
|
/**
|
|
@@ -2551,70 +2701,71 @@ export interface Uni {
|
|
|
2551
2701
|
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#switchtab
|
|
2552
2702
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#switchtab
|
|
2553
2703
|
* @uniPlatform {
|
|
2554
|
-
*
|
|
2555
|
-
*
|
|
2556
|
-
*
|
|
2557
|
-
*
|
|
2558
|
-
*
|
|
2559
|
-
*
|
|
2560
|
-
*
|
|
2561
|
-
*
|
|
2562
|
-
*
|
|
2563
|
-
*
|
|
2564
|
-
*
|
|
2565
|
-
*
|
|
2566
|
-
*
|
|
2567
|
-
*
|
|
2568
|
-
*
|
|
2569
|
-
*
|
|
2570
|
-
*
|
|
2571
|
-
*
|
|
2572
|
-
*
|
|
2573
|
-
*
|
|
2574
|
-
*
|
|
2575
|
-
*
|
|
2576
|
-
*
|
|
2577
|
-
*
|
|
2578
|
-
*
|
|
2579
|
-
*
|
|
2580
|
-
*
|
|
2581
|
-
*
|
|
2582
|
-
*
|
|
2583
|
-
*
|
|
2584
|
-
*
|
|
2585
|
-
*
|
|
2586
|
-
*
|
|
2587
|
-
*
|
|
2588
|
-
*
|
|
2589
|
-
*
|
|
2590
|
-
*
|
|
2591
|
-
*
|
|
2592
|
-
*
|
|
2593
|
-
*
|
|
2594
|
-
*
|
|
2595
|
-
*
|
|
2596
|
-
*
|
|
2597
|
-
*
|
|
2598
|
-
*
|
|
2599
|
-
*
|
|
2600
|
-
*
|
|
2601
|
-
*
|
|
2602
|
-
*
|
|
2603
|
-
*
|
|
2604
|
-
*
|
|
2605
|
-
*
|
|
2606
|
-
*
|
|
2607
|
-
*
|
|
2608
|
-
*
|
|
2609
|
-
*
|
|
2610
|
-
*
|
|
2611
|
-
*
|
|
2612
|
-
*
|
|
2613
|
-
*
|
|
2614
|
-
*
|
|
2615
|
-
*
|
|
2616
|
-
*
|
|
2704
|
+
* "app": {
|
|
2705
|
+
* "android": {
|
|
2706
|
+
* "osVer": "5.0",
|
|
2707
|
+
* "uniVer": "√",
|
|
2708
|
+
* "unixVer": "√"
|
|
2709
|
+
* },
|
|
2710
|
+
* "ios": {
|
|
2711
|
+
* "osVer": "12.0",
|
|
2712
|
+
* "uniVer": "√",
|
|
2713
|
+
* "unixVer": "4.11"
|
|
2714
|
+
* },
|
|
2715
|
+
* "harmony": {
|
|
2716
|
+
* "osVer": "3.0",
|
|
2717
|
+
* "uniVer": "4.23",
|
|
2718
|
+
* "unixVer": "x"
|
|
2719
|
+
* }
|
|
2720
|
+
* },
|
|
2721
|
+
* "mp": {
|
|
2722
|
+
* "weixin": {
|
|
2723
|
+
* "hostVer": "2.3.1",
|
|
2724
|
+
* "uniVer": "√",
|
|
2725
|
+
* "unixVer": "4.41"
|
|
2726
|
+
* },
|
|
2727
|
+
* "alipay": {
|
|
2728
|
+
* "hostVer": "√",
|
|
2729
|
+
* "uniVer": "√",
|
|
2730
|
+
* "unixVer": "x"
|
|
2731
|
+
* },
|
|
2732
|
+
* "baidu": {
|
|
2733
|
+
* "hostVer": "√",
|
|
2734
|
+
* "uniVer": "√",
|
|
2735
|
+
* "unixVer": "x"
|
|
2736
|
+
* },
|
|
2737
|
+
* "toutiao": {
|
|
2738
|
+
* "hostVer": "√",
|
|
2739
|
+
* "uniVer": "√",
|
|
2740
|
+
* "unixVer": "x"
|
|
2741
|
+
* },
|
|
2742
|
+
* "lark": {
|
|
2743
|
+
* "hostVer": "√",
|
|
2744
|
+
* "uniVer": "√",
|
|
2745
|
+
* "unixVer": "x"
|
|
2746
|
+
* },
|
|
2747
|
+
* "qq": {
|
|
2748
|
+
* "hostVer": "√",
|
|
2749
|
+
* "uniVer": "√",
|
|
2750
|
+
* "unixVer": "x"
|
|
2751
|
+
* },
|
|
2752
|
+
* "kuaishou": {
|
|
2753
|
+
* "hostVer": "√",
|
|
2754
|
+
* "uniVer": "√",
|
|
2755
|
+
* "unixVer": "x"
|
|
2756
|
+
* },
|
|
2757
|
+
* "jd": {
|
|
2758
|
+
* "hostVer": "√",
|
|
2759
|
+
* "uniVer": "√",
|
|
2760
|
+
* "unixVer": "x"
|
|
2761
|
+
* }
|
|
2762
|
+
* },
|
|
2763
|
+
* "web": {
|
|
2764
|
+
* "uniVer": "√",
|
|
2765
|
+
* "unixVer": "4.0"
|
|
2766
|
+
* }
|
|
2617
2767
|
* }
|
|
2768
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.switchTab.html
|
|
2618
2769
|
*/
|
|
2619
2770
|
switchTab(options: SwitchTabOptions): Promise<SwitchTabSuccess> | null
|
|
2620
2771
|
/**
|
|
@@ -2624,70 +2775,71 @@ export interface Uni {
|
|
|
2624
2775
|
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateback
|
|
2625
2776
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/navigator.html#navigateback
|
|
2626
2777
|
* @uniPlatform {
|
|
2627
|
-
*
|
|
2628
|
-
*
|
|
2629
|
-
*
|
|
2630
|
-
*
|
|
2631
|
-
*
|
|
2632
|
-
*
|
|
2633
|
-
*
|
|
2634
|
-
*
|
|
2635
|
-
*
|
|
2636
|
-
*
|
|
2637
|
-
*
|
|
2638
|
-
*
|
|
2639
|
-
*
|
|
2640
|
-
*
|
|
2641
|
-
*
|
|
2642
|
-
*
|
|
2643
|
-
*
|
|
2644
|
-
*
|
|
2645
|
-
*
|
|
2646
|
-
*
|
|
2647
|
-
*
|
|
2648
|
-
*
|
|
2649
|
-
*
|
|
2650
|
-
*
|
|
2651
|
-
*
|
|
2652
|
-
*
|
|
2653
|
-
*
|
|
2654
|
-
*
|
|
2655
|
-
*
|
|
2656
|
-
*
|
|
2657
|
-
*
|
|
2658
|
-
*
|
|
2659
|
-
*
|
|
2660
|
-
*
|
|
2661
|
-
*
|
|
2662
|
-
*
|
|
2663
|
-
*
|
|
2664
|
-
*
|
|
2665
|
-
*
|
|
2666
|
-
*
|
|
2667
|
-
*
|
|
2668
|
-
*
|
|
2669
|
-
*
|
|
2670
|
-
*
|
|
2671
|
-
*
|
|
2672
|
-
*
|
|
2673
|
-
*
|
|
2674
|
-
*
|
|
2675
|
-
*
|
|
2676
|
-
*
|
|
2677
|
-
*
|
|
2678
|
-
*
|
|
2679
|
-
*
|
|
2680
|
-
*
|
|
2681
|
-
*
|
|
2682
|
-
*
|
|
2683
|
-
*
|
|
2684
|
-
*
|
|
2685
|
-
*
|
|
2686
|
-
*
|
|
2687
|
-
*
|
|
2688
|
-
*
|
|
2689
|
-
*
|
|
2778
|
+
* "app": {
|
|
2779
|
+
* "android": {
|
|
2780
|
+
* "osVer": "5.0",
|
|
2781
|
+
* "uniVer": "√",
|
|
2782
|
+
* "unixVer": "√"
|
|
2783
|
+
* },
|
|
2784
|
+
* "ios": {
|
|
2785
|
+
* "osVer": "12.0",
|
|
2786
|
+
* "uniVer": "√",
|
|
2787
|
+
* "unixVer": "4.11"
|
|
2788
|
+
* },
|
|
2789
|
+
* "harmony": {
|
|
2790
|
+
* "osVer": "3.0",
|
|
2791
|
+
* "uniVer": "4.23",
|
|
2792
|
+
* "unixVer": "x"
|
|
2793
|
+
* }
|
|
2794
|
+
* },
|
|
2795
|
+
* "mp": {
|
|
2796
|
+
* "weixin": {
|
|
2797
|
+
* "hostVer": "2.1.0",
|
|
2798
|
+
* "uniVer": "√",
|
|
2799
|
+
* "unixVer": "4.41"
|
|
2800
|
+
* },
|
|
2801
|
+
* "alipay": {
|
|
2802
|
+
* "hostVer": "√",
|
|
2803
|
+
* "uniVer": "√",
|
|
2804
|
+
* "unixVer": "x"
|
|
2805
|
+
* },
|
|
2806
|
+
* "baidu": {
|
|
2807
|
+
* "hostVer": "√",
|
|
2808
|
+
* "uniVer": "√",
|
|
2809
|
+
* "unixVer": "x"
|
|
2810
|
+
* },
|
|
2811
|
+
* "toutiao": {
|
|
2812
|
+
* "hostVer": "√",
|
|
2813
|
+
* "uniVer": "√",
|
|
2814
|
+
* "unixVer": "x"
|
|
2815
|
+
* },
|
|
2816
|
+
* "lark": {
|
|
2817
|
+
* "hostVer": "√",
|
|
2818
|
+
* "uniVer": "√",
|
|
2819
|
+
* "unixVer": "x"
|
|
2820
|
+
* },
|
|
2821
|
+
* "qq": {
|
|
2822
|
+
* "hostVer": "√",
|
|
2823
|
+
* "uniVer": "√",
|
|
2824
|
+
* "unixVer": "x"
|
|
2825
|
+
* },
|
|
2826
|
+
* "kuaishou": {
|
|
2827
|
+
* "hostVer": "√",
|
|
2828
|
+
* "uniVer": "√",
|
|
2829
|
+
* "unixVer": "x"
|
|
2830
|
+
* },
|
|
2831
|
+
* "jd": {
|
|
2832
|
+
* "hostVer": "√",
|
|
2833
|
+
* "uniVer": "√",
|
|
2834
|
+
* "unixVer": "x"
|
|
2835
|
+
* }
|
|
2836
|
+
* },
|
|
2837
|
+
* "web": {
|
|
2838
|
+
* "uniVer": "√",
|
|
2839
|
+
* "unixVer": "4.0"
|
|
2840
|
+
* }
|
|
2690
2841
|
* }
|
|
2842
|
+
* @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.navigateBack.html
|
|
2691
2843
|
*/
|
|
2692
2844
|
navigateBack(
|
|
2693
2845
|
options?: NavigateBackOptions | null,
|