@dcloudio/uni-app-x 0.7.59 → 0.7.60
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/app.d.ts +16 -8
- package/types/native/IUniElement.d.ts +0 -2
- package/types/native/UniFormControl.d.ts +1 -1
- package/types/native/UniSwiperAnimationFinishEvent.d.ts +1 -0
- package/types/native/UniSwiperChangeEvent.d.ts +1 -0
- package/types/native/WebViewStyles.d.ts +1 -1
- package/types/native/global.d.ts +2 -0
- package/types/page.d.ts +134 -22
- package/types/uni/uni-camera-global.d.ts +4 -0
- package/types/uni/uni-camera.d.ts +10 -9
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +9 -6
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +10 -8
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +10 -10
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +7 -6
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +5 -3
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +8 -8
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +4 -1
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +26 -11
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +11 -10
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +2 -2
- 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 +4 -4
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +8 -8
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +8 -6
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +7 -7
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +246 -236
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +141 -243
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +80 -696
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +10 -8
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +387 -95
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +401 -344
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +52 -52
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +11 -11
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +5 -5
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +24 -24
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +39 -25
- package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +10 -10
- package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +20 -20
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +18 -18
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +49 -49
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +5 -5
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +26 -26
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +14 -14
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +16 -2
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +8 -1
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +153 -6
- package/types/uni-cloud/interface.d.ts +13 -9
- package/types/uni/uts-plugin-api/.temp/uni-actionSheet/utssdk/interface.uts +0 -554
- package/types/uni/uts-plugin-api/.temp/uni-addPhoneContact/utssdk/interface.uts +0 -224
- package/types/uni/uts-plugin-api/.temp/uni-arrayBufferToBase64/utssdk/interface.uts +0 -77
- package/types/uni/uts-plugin-api/.temp/uni-authentication/utssdk/interface.uts +0 -365
- package/types/uni/uts-plugin-api/.temp/uni-base64ToArrayBuffer/utssdk/interface.uts +0 -77
- package/types/uni/uts-plugin-api/.temp/uni-canvas/utssdk/interface.uts +0 -972
- package/types/uni/uts-plugin-api/.temp/uni-chooseLocation/utssdk/interface.uts +0 -410
- package/types/uni/uts-plugin-api/.temp/uni-chooseMedia/utssdk/interface.uts +0 -459
- package/types/uni/uts-plugin-api/.temp/uni-clipboard/utssdk/interface.uts +0 -203
- package/types/uni/uts-plugin-api/.temp/uni-createInnerAudioContext/utssdk/interface.uts +0 -2613
- package/types/uni/uts-plugin-api/.temp/uni-createIntersectionObserver/utssdk/interface.uts +0 -152
- package/types/uni/uts-plugin-api/.temp/uni-createRequestPermissionListener/utssdk/interface.uts +0 -61
- package/types/uni/uts-plugin-api/.temp/uni-createSelectorQuery/utssdk/interface.uts +0 -548
- package/types/uni/uts-plugin-api/.temp/uni-createWebviewContext/utssdk/interface.uts +0 -137
- package/types/uni/uts-plugin-api/.temp/uni-dialogPage/utssdk/interface.uts +0 -1380
- package/types/uni/uts-plugin-api/.temp/uni-document/utssdk/interface.uts +0 -76
- package/types/uni/uts-plugin-api/.temp/uni-event/utssdk/interface.uts +0 -338
- package/types/uni/uts-plugin-api/.temp/uni-exit/utssdk/interface.uts +0 -102
- package/types/uni/uts-plugin-api/.temp/uni-file/utssdk/interface.uts +0 -384
- package/types/uni/uts-plugin-api/.temp/uni-fileSystemManager/utssdk/interface.uts +0 -5316
- package/types/uni/uts-plugin-api/.temp/uni-getAccessibilityInfo/utssdk/interface.uts +0 -35
- package/types/uni/uts-plugin-api/.temp/uni-getAppAuthorizeSetting/utssdk/interface.uts +0 -616
- package/types/uni/uts-plugin-api/.temp/uni-getAppBaseInfo/utssdk/interface.uts +0 -2157
- package/types/uni/uts-plugin-api/.temp/uni-getBackgroundAudioManager/utssdk/interface.uts +0 -895
- package/types/uni/uts-plugin-api/.temp/uni-getDeviceInfo/utssdk/interface.uts +0 -1755
- package/types/uni/uts-plugin-api/.temp/uni-getElementById/utssdk/interface.uts +0 -82
- package/types/uni/uts-plugin-api/.temp/uni-getEnterOptionsSync/utssdk/interface.uts +0 -295
- package/types/uni/uts-plugin-api/.temp/uni-getLaunchOptionsSync/utssdk/interface.uts +0 -299
- package/types/uni/uts-plugin-api/.temp/uni-getLocation/utssdk/interface.uts +0 -1764
- package/types/uni/uts-plugin-api/.temp/uni-getLocation-system/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent-uni1/utssdk/interface.uts +0 -736
- package/types/uni/uts-plugin-api/.temp/uni-getNetworkType/utssdk/interface.uts +0 -274
- package/types/uni/uts-plugin-api/.temp/uni-getPerformance/utssdk/interface.uts +0 -198
- package/types/uni/uts-plugin-api/.temp/uni-getProvider/utssdk/interface.uts +0 -634
- package/types/uni/uts-plugin-api/.temp/uni-getRecorderManager/utssdk/interface.uts +0 -980
- package/types/uni/uts-plugin-api/.temp/uni-getSystemInfo/utssdk/interface.uts +0 -5550
- package/types/uni/uts-plugin-api/.temp/uni-getSystemSetting/utssdk/interface.uts +0 -501
- package/types/uni/uts-plugin-api/.temp/uni-installApk/utssdk/interface.uts +0 -83
- package/types/uni/uts-plugin-api/.temp/uni-interceptor/utssdk/interface.uts +0 -169
- package/types/uni/uts-plugin-api/.temp/uni-keyboard/utssdk/interface.uts +0 -102
- package/types/uni/uts-plugin-api/.temp/uni-loadFontFace/utssdk/interface.uts +0 -580
- package/types/uni/uts-plugin-api/.temp/uni-makePhoneCall/utssdk/interface.uts +0 -100
- package/types/uni/uts-plugin-api/.temp/uni-media/utssdk/interface.uts +0 -2980
- package/types/uni/uts-plugin-api/.temp/uni-modal/utssdk/interface.uts +0 -190
- package/types/uni/uts-plugin-api/.temp/uni-navigationBar/utssdk/interface.uts +0 -1002
- package/types/uni/uts-plugin-api/.temp/uni-network/utssdk/interface.uts +0 -3620
- package/types/uni/uts-plugin-api/.temp/uni-oauth/utssdk/interface.uts +0 -1592
- package/types/uni/uts-plugin-api/.temp/uni-oauth-huawei/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-openAppAuthorizeSetting/utssdk/interface.uts +0 -254
- package/types/uni/uts-plugin-api/.temp/uni-openDocument/utssdk/interface.uts +0 -112
- package/types/uni/uts-plugin-api/.temp/uni-pageScrollTo/utssdk/interface.uts +0 -153
- package/types/uni/uts-plugin-api/.temp/uni-payment/utssdk/interface.uts +0 -833
- package/types/uni/uts-plugin-api/.temp/uni-payment-alipay/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-payment-huawei/utssdk/interface.uts +0 -1
- package/types/uni/uts-plugin-api/.temp/uni-payment-wxpay/utssdk/interface.uts +0 -3
- package/types/uni/uts-plugin-api/.temp/uni-previewImage/utssdk/interface.uts +0 -518
- package/types/uni/uts-plugin-api/.temp/uni-privacy/utssdk/interface.uts +0 -560
- package/types/uni/uts-plugin-api/.temp/uni-prompt/utssdk/interface.uts +0 -2607
- package/types/uni/uts-plugin-api/.temp/uni-pullDownRefresh/utssdk/interface.uts +0 -189
- package/types/uni/uts-plugin-api/.temp/uni-requestMerchantTransfer/utssdk/interface.uts +0 -710
- package/types/uni/uts-plugin-api/.temp/uni-route/utssdk/interface.uts +0 -2695
- package/types/uni/uts-plugin-api/.temp/uni-rpx2px/utssdk/interface.uts +0 -80
- package/types/uni/uts-plugin-api/.temp/uni-scanCode/utssdk/interface.uts +0 -130
- package/types/uni/uts-plugin-api/.temp/uni-shareWithSystem/utssdk/interface.uts +0 -719
- package/types/uni/uts-plugin-api/.temp/uni-sse/utssdk/interface.uts +0 -277
- package/types/uni/uts-plugin-api/.temp/uni-storage/utssdk/interface.uts +0 -1020
- package/types/uni/uts-plugin-api/.temp/uni-tabBar/utssdk/interface.uts +0 -1148
- package/types/uni/uts-plugin-api/.temp/uni-theme/utssdk/interface.uts +0 -1059
- package/types/uni/uts-plugin-api/.temp/uni-virtualPayment/utssdk/interface.uts +0 -1660
- package/types/uni/uts-plugin-api/.temp/uni-websocket/utssdk/interface.uts +0 -1941
- package/types/uni/uts-plugin-biz/.temp/uni-ad/utssdk/interface.uts +0 -726
- package/types/uni/uts-plugin-biz/.temp/uni-crash/utssdk/interface.uts +0 -89
- package/types/uni/uts-plugin-biz/.temp/uni-facialRecognitionVerify/utssdk/interface.uts +0 -212
- package/types/uni/uts-plugin-biz/.temp/uni-map-tencent/utssdk/interface.uts +0 -2359
- package/types/uni/uts-plugin-biz/.temp/uni-push/utssdk/interface.uts +0 -960
- package/types/uni/uts-plugin-biz/.temp/uni-secure-network/utssdk/interface.uts +0 -204
- package/types/uni/uts-plugin-biz/.temp/uni-verify/utssdk/interface.uts +0 -730
- package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +0 -221
- package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +0 -935
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
export type GetElementById = (id: string.IDString | string) => UniElement | null
|
|
2
|
-
|
|
3
|
-
export interface Uni {
|
|
4
|
-
/**
|
|
5
|
-
* 返回一个匹配特定 ID 的元素, 如果不存在,返回 null。\
|
|
6
|
-
* 如果需要获取指定的节点类型,需要使用 as 进行类型转换。\
|
|
7
|
-
* ID 区分大小写,且应该是唯一的。如果存在多个匹配的元素,则返回第一个匹配的元素。
|
|
8
|
-
*
|
|
9
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-element.html
|
|
10
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-element.html
|
|
11
|
-
* @uniPlatform {
|
|
12
|
-
* "app": {
|
|
13
|
-
* "android": {
|
|
14
|
-
* "osVer": "5.0",
|
|
15
|
-
* "uniVer": "x",
|
|
16
|
-
* "unixVer": "3.91"
|
|
17
|
-
* },
|
|
18
|
-
* "ios": {
|
|
19
|
-
* "osVer": "12.0",
|
|
20
|
-
* "uniVer": "x",
|
|
21
|
-
* "unixVer": "4.11",
|
|
22
|
-
* "uniUtsPlugin": "x",
|
|
23
|
-
* "unixUtsPlugin": "4.25"
|
|
24
|
-
* },
|
|
25
|
-
* "harmony": {
|
|
26
|
-
* "osVer": "5.0.0",
|
|
27
|
-
* "uniVer": "x",
|
|
28
|
-
* "unixVer": "4.61",
|
|
29
|
-
* "unixUtsPlugin": "4.61"
|
|
30
|
-
* }
|
|
31
|
-
* },
|
|
32
|
-
* "mp": {
|
|
33
|
-
* "weixin": {
|
|
34
|
-
* "hostVer": "x",
|
|
35
|
-
* "uniVer": "x",
|
|
36
|
-
* "unixVer": "4.41"
|
|
37
|
-
* },
|
|
38
|
-
* "alipay": {
|
|
39
|
-
* "hostVer": "x",
|
|
40
|
-
* "uniVer": "x",
|
|
41
|
-
* "unixVer": "x"
|
|
42
|
-
* },
|
|
43
|
-
* "baidu": {
|
|
44
|
-
* "hostVer": "x",
|
|
45
|
-
* "uniVer": "x",
|
|
46
|
-
* "unixVer": "x"
|
|
47
|
-
* },
|
|
48
|
-
* "toutiao": {
|
|
49
|
-
* "hostVer": "x",
|
|
50
|
-
* "uniVer": "x",
|
|
51
|
-
* "unixVer": "x"
|
|
52
|
-
* },
|
|
53
|
-
* "lark": {
|
|
54
|
-
* "hostVer": "x",
|
|
55
|
-
* "uniVer": "x",
|
|
56
|
-
* "unixVer": "x"
|
|
57
|
-
* },
|
|
58
|
-
* "qq": {
|
|
59
|
-
* "hostVer": "x",
|
|
60
|
-
* "uniVer": "x",
|
|
61
|
-
* "unixVer": "x"
|
|
62
|
-
* },
|
|
63
|
-
* "kuaishou": {
|
|
64
|
-
* "hostVer": "x",
|
|
65
|
-
* "uniVer": "x",
|
|
66
|
-
* "unixVer": "x"
|
|
67
|
-
* },
|
|
68
|
-
* "jd": {
|
|
69
|
-
* "hostVer": "x",
|
|
70
|
-
* "uniVer": "x",
|
|
71
|
-
* "unixVer": "x"
|
|
72
|
-
* }
|
|
73
|
-
* },
|
|
74
|
-
* "web": {
|
|
75
|
-
* "uniVer": "x",
|
|
76
|
-
* "unixVer": "4.0"
|
|
77
|
-
* }
|
|
78
|
-
* }
|
|
79
|
-
*/
|
|
80
|
-
getElementById(id: string.IDString | string): UniElement | null
|
|
81
|
-
getElementById<T>(id: string.IDString | string): T | null
|
|
82
|
-
}
|
|
@@ -1,295 +0,0 @@
|
|
|
1
|
-
export type OnShowOptions = {
|
|
2
|
-
/**
|
|
3
|
-
* 本次启动时页面的路径
|
|
4
|
-
*
|
|
5
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
|
|
6
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
|
|
7
|
-
* @uniPlatform {
|
|
8
|
-
* "app": {
|
|
9
|
-
* "android": {
|
|
10
|
-
* "osVer": "5.0",
|
|
11
|
-
* "uniVer": "x",
|
|
12
|
-
* "unixVer": "4.25"
|
|
13
|
-
* },
|
|
14
|
-
* "ios": {
|
|
15
|
-
* "osVer": "12.0",
|
|
16
|
-
* "uniVer": "x",
|
|
17
|
-
* "unixVer": "4.25"
|
|
18
|
-
* },
|
|
19
|
-
* "harmony": {
|
|
20
|
-
* "osVer": "3,0",
|
|
21
|
-
* "uniVer": "4.31",
|
|
22
|
-
* "unixVer": "4.61"
|
|
23
|
-
* }
|
|
24
|
-
* },
|
|
25
|
-
* "mp": {
|
|
26
|
-
* "weixin": {
|
|
27
|
-
* "hostVer": "√",
|
|
28
|
-
* "uniVer": "√",
|
|
29
|
-
* "unixVer": "4.41"
|
|
30
|
-
* },
|
|
31
|
-
* "alipay": {
|
|
32
|
-
* "hostVer": "√",
|
|
33
|
-
* "uniVer": "√",
|
|
34
|
-
* "unixVer": "x"
|
|
35
|
-
* },
|
|
36
|
-
* "baidu": {
|
|
37
|
-
* "hostVer": "√",
|
|
38
|
-
* "uniVer": "√",
|
|
39
|
-
* "unixVer": "x"
|
|
40
|
-
* },
|
|
41
|
-
* "toutiao": {
|
|
42
|
-
* "hostVer": "√",
|
|
43
|
-
* "uniVer": "√",
|
|
44
|
-
* "unixVer": "x"
|
|
45
|
-
* },
|
|
46
|
-
* "lark": {
|
|
47
|
-
* "hostVer": "√",
|
|
48
|
-
* "uniVer": "√",
|
|
49
|
-
* "unixVer": "x"
|
|
50
|
-
* },
|
|
51
|
-
* "qq": {
|
|
52
|
-
* "hostVer": "√",
|
|
53
|
-
* "uniVer": "√",
|
|
54
|
-
* "unixVer": "x"
|
|
55
|
-
* },
|
|
56
|
-
* "kuaishou": {
|
|
57
|
-
* "hostVer": "√",
|
|
58
|
-
* "uniVer": "√",
|
|
59
|
-
* "unixVer": "x"
|
|
60
|
-
* },
|
|
61
|
-
* "jd": {
|
|
62
|
-
* "hostVer": "√",
|
|
63
|
-
* "uniVer": "√",
|
|
64
|
-
* "unixVer": "x"
|
|
65
|
-
* }
|
|
66
|
-
* },
|
|
67
|
-
* "web": {
|
|
68
|
-
* "uniVer": "√",
|
|
69
|
-
* "unixVer": "4.0"
|
|
70
|
-
* }
|
|
71
|
-
* }
|
|
72
|
-
*/
|
|
73
|
-
path: string
|
|
74
|
-
/**
|
|
75
|
-
* 本次启动时的Scheme。返回值与App.onShow的回调参数一致
|
|
76
|
-
*
|
|
77
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
|
|
78
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
|
|
79
|
-
* @uniPlatform {
|
|
80
|
-
* "app": {
|
|
81
|
-
* "android": {
|
|
82
|
-
* "osVer": "5.0",
|
|
83
|
-
* "uniVer": "x",
|
|
84
|
-
* "unixVer": "4.25"
|
|
85
|
-
* },
|
|
86
|
-
* "ios": {
|
|
87
|
-
* "osVer": "12.0",
|
|
88
|
-
* "uniVer": "x",
|
|
89
|
-
* "unixVer": "4.25"
|
|
90
|
-
* },
|
|
91
|
-
* "harmony": {
|
|
92
|
-
* "osVer": "x",
|
|
93
|
-
* "uniVer": "x",
|
|
94
|
-
* "unixVer": "x"
|
|
95
|
-
* }
|
|
96
|
-
* },
|
|
97
|
-
* "mp": {
|
|
98
|
-
* "weixin": {
|
|
99
|
-
* "hostVer": "√",
|
|
100
|
-
* "uniVer": "x",
|
|
101
|
-
* "unixVer": "x"
|
|
102
|
-
* },
|
|
103
|
-
* "alipay": {
|
|
104
|
-
* "hostVer": "√",
|
|
105
|
-
* "uniVer": "x",
|
|
106
|
-
* "unixVer": "x"
|
|
107
|
-
* },
|
|
108
|
-
* "baidu": {
|
|
109
|
-
* "hostVer": "√",
|
|
110
|
-
* "uniVer": "x",
|
|
111
|
-
* "unixVer": "x"
|
|
112
|
-
* },
|
|
113
|
-
* "toutiao": {
|
|
114
|
-
* "hostVer": "√",
|
|
115
|
-
* "uniVer": "x",
|
|
116
|
-
* "unixVer": "x"
|
|
117
|
-
* },
|
|
118
|
-
* "lark": {
|
|
119
|
-
* "hostVer": "√",
|
|
120
|
-
* "uniVer": "x",
|
|
121
|
-
* "unixVer": "x"
|
|
122
|
-
* },
|
|
123
|
-
* "qq": {
|
|
124
|
-
* "hostVer": "√",
|
|
125
|
-
* "uniVer": "x",
|
|
126
|
-
* "unixVer": "x"
|
|
127
|
-
* },
|
|
128
|
-
* "kuaishou": {
|
|
129
|
-
* "hostVer": "√",
|
|
130
|
-
* "uniVer": "x",
|
|
131
|
-
* "unixVer": "x"
|
|
132
|
-
* },
|
|
133
|
-
* "jd": {
|
|
134
|
-
* "hostVer": "√",
|
|
135
|
-
* "uniVer": "x",
|
|
136
|
-
* "unixVer": "x"
|
|
137
|
-
* }
|
|
138
|
-
* },
|
|
139
|
-
* "web": {
|
|
140
|
-
* "uniVer": "x",
|
|
141
|
-
* "unixVer": "x"
|
|
142
|
-
* }
|
|
143
|
-
* }
|
|
144
|
-
*/
|
|
145
|
-
appScheme: string | null
|
|
146
|
-
/**
|
|
147
|
-
* 本次启动时的appLink。返回值与App.onShow的回调参数一致
|
|
148
|
-
*
|
|
149
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
|
|
150
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
|
|
151
|
-
* @uniPlatform {
|
|
152
|
-
* "app": {
|
|
153
|
-
* "android": {
|
|
154
|
-
* "osVer": "5.0",
|
|
155
|
-
* "uniVer": "x",
|
|
156
|
-
* "unixVer": "x"
|
|
157
|
-
* },
|
|
158
|
-
* "ios": {
|
|
159
|
-
* "osVer": "12.0",
|
|
160
|
-
* "uniVer": "x",
|
|
161
|
-
* "unixVer": "4.25"
|
|
162
|
-
* },
|
|
163
|
-
* "harmony": {
|
|
164
|
-
* "osVer": "x",
|
|
165
|
-
* "uniVer": "x",
|
|
166
|
-
* "unixVer": "x"
|
|
167
|
-
* }
|
|
168
|
-
* },
|
|
169
|
-
* "mp": {
|
|
170
|
-
* "weixin": {
|
|
171
|
-
* "hostVer": "√",
|
|
172
|
-
* "uniVer": "x",
|
|
173
|
-
* "unixVer": "x"
|
|
174
|
-
* },
|
|
175
|
-
* "alipay": {
|
|
176
|
-
* "hostVer": "√",
|
|
177
|
-
* "uniVer": "x",
|
|
178
|
-
* "unixVer": "x"
|
|
179
|
-
* },
|
|
180
|
-
* "baidu": {
|
|
181
|
-
* "hostVer": "√",
|
|
182
|
-
* "uniVer": "x",
|
|
183
|
-
* "unixVer": "x"
|
|
184
|
-
* },
|
|
185
|
-
* "toutiao": {
|
|
186
|
-
* "hostVer": "√",
|
|
187
|
-
* "uniVer": "x",
|
|
188
|
-
* "unixVer": "x"
|
|
189
|
-
* },
|
|
190
|
-
* "lark": {
|
|
191
|
-
* "hostVer": "√",
|
|
192
|
-
* "uniVer": "x",
|
|
193
|
-
* "unixVer": "x"
|
|
194
|
-
* },
|
|
195
|
-
* "qq": {
|
|
196
|
-
* "hostVer": "√",
|
|
197
|
-
* "uniVer": "x",
|
|
198
|
-
* "unixVer": "x"
|
|
199
|
-
* },
|
|
200
|
-
* "kuaishou": {
|
|
201
|
-
* "hostVer": "√",
|
|
202
|
-
* "uniVer": "x",
|
|
203
|
-
* "unixVer": "x"
|
|
204
|
-
* },
|
|
205
|
-
* "jd": {
|
|
206
|
-
* "hostVer": "√",
|
|
207
|
-
* "uniVer": "x",
|
|
208
|
-
* "unixVer": "x"
|
|
209
|
-
* }
|
|
210
|
-
* },
|
|
211
|
-
* "web": {
|
|
212
|
-
* "uniVer": "x",
|
|
213
|
-
* "unixVer": "x"
|
|
214
|
-
* }
|
|
215
|
-
* }
|
|
216
|
-
*/
|
|
217
|
-
appLink: string | null
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
export type GetEnterOptionsSync = () => OnShowOptions
|
|
221
|
-
|
|
222
|
-
export interface Uni {
|
|
223
|
-
/**
|
|
224
|
-
* 获取本次启动时的参数。返回值与App.onShow的回调参数一致
|
|
225
|
-
*
|
|
226
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
|
|
227
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
|
|
228
|
-
* @uniPlatform {
|
|
229
|
-
* "app": {
|
|
230
|
-
* "android": {
|
|
231
|
-
* "osVer": "5.0",
|
|
232
|
-
* "uniVer": "x",
|
|
233
|
-
* "unixVer": "4.25"
|
|
234
|
-
* },
|
|
235
|
-
* "ios": {
|
|
236
|
-
* "osVer": "12.0",
|
|
237
|
-
* "uniVer": "x",
|
|
238
|
-
* "unixVer": "4.25"
|
|
239
|
-
* },
|
|
240
|
-
* "harmony": {
|
|
241
|
-
* "osVer": "3,0",
|
|
242
|
-
* "uniVer": "4.31",
|
|
243
|
-
* "unixVer": "4.61"
|
|
244
|
-
* }
|
|
245
|
-
* },
|
|
246
|
-
* "mp": {
|
|
247
|
-
* "weixin": {
|
|
248
|
-
* "hostVer": "√",
|
|
249
|
-
* "uniVer": "√",
|
|
250
|
-
* "unixVer": "4.41"
|
|
251
|
-
* },
|
|
252
|
-
* "alipay": {
|
|
253
|
-
* "hostVer": "√",
|
|
254
|
-
* "uniVer": "√",
|
|
255
|
-
* "unixVer": "x"
|
|
256
|
-
* },
|
|
257
|
-
* "baidu": {
|
|
258
|
-
* "hostVer": "√",
|
|
259
|
-
* "uniVer": "√",
|
|
260
|
-
* "unixVer": "x"
|
|
261
|
-
* },
|
|
262
|
-
* "toutiao": {
|
|
263
|
-
* "hostVer": "√",
|
|
264
|
-
* "uniVer": "√",
|
|
265
|
-
* "unixVer": "x"
|
|
266
|
-
* },
|
|
267
|
-
* "lark": {
|
|
268
|
-
* "hostVer": "√",
|
|
269
|
-
* "uniVer": "√",
|
|
270
|
-
* "unixVer": "x"
|
|
271
|
-
* },
|
|
272
|
-
* "qq": {
|
|
273
|
-
* "hostVer": "√",
|
|
274
|
-
* "uniVer": "√",
|
|
275
|
-
* "unixVer": "x"
|
|
276
|
-
* },
|
|
277
|
-
* "kuaishou": {
|
|
278
|
-
* "hostVer": "√",
|
|
279
|
-
* "uniVer": "√",
|
|
280
|
-
* "unixVer": "x"
|
|
281
|
-
* },
|
|
282
|
-
* "jd": {
|
|
283
|
-
* "hostVer": "√",
|
|
284
|
-
* "uniVer": "√",
|
|
285
|
-
* "unixVer": "x"
|
|
286
|
-
* }
|
|
287
|
-
* },
|
|
288
|
-
* "web": {
|
|
289
|
-
* "uniVer": "√",
|
|
290
|
-
* "unixVer": "4.0"
|
|
291
|
-
* }
|
|
292
|
-
* }
|
|
293
|
-
*/
|
|
294
|
-
getEnterOptionsSync(): OnShowOptions
|
|
295
|
-
}
|
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
export type OnLaunchOptions = {
|
|
2
|
-
/**
|
|
3
|
-
* 首次启动时的页面路径。返回值与App.onLaunch的回调参数一致
|
|
4
|
-
*
|
|
5
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
|
|
6
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
7
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
8
|
-
* @uniPlatform {
|
|
9
|
-
* "app": {
|
|
10
|
-
* "android": {
|
|
11
|
-
* "osVer": "5.0",
|
|
12
|
-
* "uniVer": "√",
|
|
13
|
-
* "unixVer": "3.91"
|
|
14
|
-
* },
|
|
15
|
-
* "ios": {
|
|
16
|
-
* "osVer": "12.0",
|
|
17
|
-
* "uniVer": "√",
|
|
18
|
-
* "unixVer": "4.11"
|
|
19
|
-
* },
|
|
20
|
-
* "harmony": {
|
|
21
|
-
* "osVer": "3,0",
|
|
22
|
-
* "uniVer": "4.31",
|
|
23
|
-
* "unixVer": "4.61"
|
|
24
|
-
* }
|
|
25
|
-
* },
|
|
26
|
-
* "mp": {
|
|
27
|
-
* "weixin": {
|
|
28
|
-
* "hostVer": "√",
|
|
29
|
-
* "uniVer": "√",
|
|
30
|
-
* "unixVer": "4.41"
|
|
31
|
-
* },
|
|
32
|
-
* "alipay": {
|
|
33
|
-
* "hostVer": "√",
|
|
34
|
-
* "uniVer": "√",
|
|
35
|
-
* "unixVer": "x"
|
|
36
|
-
* },
|
|
37
|
-
* "baidu": {
|
|
38
|
-
* "hostVer": "√",
|
|
39
|
-
* "uniVer": "√",
|
|
40
|
-
* "unixVer": "x"
|
|
41
|
-
* },
|
|
42
|
-
* "toutiao": {
|
|
43
|
-
* "hostVer": "√",
|
|
44
|
-
* "uniVer": "√",
|
|
45
|
-
* "unixVer": "x"
|
|
46
|
-
* },
|
|
47
|
-
* "lark": {
|
|
48
|
-
* "hostVer": "√",
|
|
49
|
-
* "uniVer": "√",
|
|
50
|
-
* "unixVer": "x"
|
|
51
|
-
* },
|
|
52
|
-
* "qq": {
|
|
53
|
-
* "hostVer": "√",
|
|
54
|
-
* "uniVer": "√",
|
|
55
|
-
* "unixVer": "x"
|
|
56
|
-
* },
|
|
57
|
-
* "kuaishou": {
|
|
58
|
-
* "hostVer": "√",
|
|
59
|
-
* "uniVer": "√",
|
|
60
|
-
* "unixVer": "x"
|
|
61
|
-
* },
|
|
62
|
-
* "jd": {
|
|
63
|
-
* "hostVer": "√",
|
|
64
|
-
* "uniVer": "√",
|
|
65
|
-
* "unixVer": "x"
|
|
66
|
-
* }
|
|
67
|
-
* },
|
|
68
|
-
* "web": {
|
|
69
|
-
* "uniVer": "√",
|
|
70
|
-
* "unixVer": "4.0"
|
|
71
|
-
* }
|
|
72
|
-
* }
|
|
73
|
-
*/
|
|
74
|
-
path: string,
|
|
75
|
-
/**
|
|
76
|
-
* 首次启动时的Scheme。返回值与App.onLaunch的回调参数一致
|
|
77
|
-
*
|
|
78
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
|
|
79
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
80
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
81
|
-
* @uniPlatform {
|
|
82
|
-
* "app": {
|
|
83
|
-
* "android": {
|
|
84
|
-
* "osVer": "5.0",
|
|
85
|
-
* "uniVer": "x",
|
|
86
|
-
* "unixVer": "4.25"
|
|
87
|
-
* },
|
|
88
|
-
* "ios": {
|
|
89
|
-
* "osVer": "12.0",
|
|
90
|
-
* "uniVer": "x",
|
|
91
|
-
* "unixVer": "4.25"
|
|
92
|
-
* },
|
|
93
|
-
* "harmony": {
|
|
94
|
-
* "osVer": "x",
|
|
95
|
-
* "uniVer": "x",
|
|
96
|
-
* "unixVer": "x"
|
|
97
|
-
* }
|
|
98
|
-
* },
|
|
99
|
-
* "mp": {
|
|
100
|
-
* "weixin": {
|
|
101
|
-
* "hostVer": "√",
|
|
102
|
-
* "uniVer": "x",
|
|
103
|
-
* "unixVer": "x"
|
|
104
|
-
* },
|
|
105
|
-
* "alipay": {
|
|
106
|
-
* "hostVer": "√",
|
|
107
|
-
* "uniVer": "x",
|
|
108
|
-
* "unixVer": "x"
|
|
109
|
-
* },
|
|
110
|
-
* "baidu": {
|
|
111
|
-
* "hostVer": "√",
|
|
112
|
-
* "uniVer": "x",
|
|
113
|
-
* "unixVer": "x"
|
|
114
|
-
* },
|
|
115
|
-
* "toutiao": {
|
|
116
|
-
* "hostVer": "√",
|
|
117
|
-
* "uniVer": "x",
|
|
118
|
-
* "unixVer": "x"
|
|
119
|
-
* },
|
|
120
|
-
* "lark": {
|
|
121
|
-
* "hostVer": "√",
|
|
122
|
-
* "uniVer": "x",
|
|
123
|
-
* "unixVer": "x"
|
|
124
|
-
* },
|
|
125
|
-
* "qq": {
|
|
126
|
-
* "hostVer": "√",
|
|
127
|
-
* "uniVer": "x",
|
|
128
|
-
* "unixVer": "x"
|
|
129
|
-
* },
|
|
130
|
-
* "kuaishou": {
|
|
131
|
-
* "hostVer": "√",
|
|
132
|
-
* "uniVer": "x",
|
|
133
|
-
* "unixVer": "x"
|
|
134
|
-
* },
|
|
135
|
-
* "jd": {
|
|
136
|
-
* "hostVer": "√",
|
|
137
|
-
* "uniVer": "x",
|
|
138
|
-
* "unixVer": "x"
|
|
139
|
-
* }
|
|
140
|
-
* },
|
|
141
|
-
* "web": {
|
|
142
|
-
* "uniVer": "x",
|
|
143
|
-
* "unixVer": "x"
|
|
144
|
-
* }
|
|
145
|
-
* }
|
|
146
|
-
*/
|
|
147
|
-
appScheme: string | null,
|
|
148
|
-
/**
|
|
149
|
-
* 首次启动时的appLink。返回值与App.onLaunch的回调参数一致
|
|
150
|
-
*
|
|
151
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
|
|
152
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
153
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
154
|
-
* @uniPlatform {
|
|
155
|
-
* "app": {
|
|
156
|
-
* "android": {
|
|
157
|
-
* "osVer": "5.0",
|
|
158
|
-
* "uniVer": "x",
|
|
159
|
-
* "unixVer": "x"
|
|
160
|
-
* },
|
|
161
|
-
* "ios": {
|
|
162
|
-
* "osVer": "12.0",
|
|
163
|
-
* "uniVer": "x",
|
|
164
|
-
* "unixVer": "4.25"
|
|
165
|
-
* },
|
|
166
|
-
* "harmony": {
|
|
167
|
-
* "osVer": "x",
|
|
168
|
-
* "uniVer": "x",
|
|
169
|
-
* "unixVer": "x"
|
|
170
|
-
* }
|
|
171
|
-
* },
|
|
172
|
-
* "mp": {
|
|
173
|
-
* "weixin": {
|
|
174
|
-
* "hostVer": "√",
|
|
175
|
-
* "uniVer": "x",
|
|
176
|
-
* "unixVer": "x"
|
|
177
|
-
* },
|
|
178
|
-
* "alipay": {
|
|
179
|
-
* "hostVer": "√",
|
|
180
|
-
* "uniVer": "x",
|
|
181
|
-
* "unixVer": "x"
|
|
182
|
-
* },
|
|
183
|
-
* "baidu": {
|
|
184
|
-
* "hostVer": "√",
|
|
185
|
-
* "uniVer": "x",
|
|
186
|
-
* "unixVer": "x"
|
|
187
|
-
* },
|
|
188
|
-
* "toutiao": {
|
|
189
|
-
* "hostVer": "√",
|
|
190
|
-
* "uniVer": "x",
|
|
191
|
-
* "unixVer": "x"
|
|
192
|
-
* },
|
|
193
|
-
* "lark": {
|
|
194
|
-
* "hostVer": "√",
|
|
195
|
-
* "uniVer": "x",
|
|
196
|
-
* "unixVer": "x"
|
|
197
|
-
* },
|
|
198
|
-
* "qq": {
|
|
199
|
-
* "hostVer": "√",
|
|
200
|
-
* "uniVer": "x",
|
|
201
|
-
* "unixVer": "x"
|
|
202
|
-
* },
|
|
203
|
-
* "kuaishou": {
|
|
204
|
-
* "hostVer": "√",
|
|
205
|
-
* "uniVer": "x",
|
|
206
|
-
* "unixVer": "x"
|
|
207
|
-
* },
|
|
208
|
-
* "jd": {
|
|
209
|
-
* "hostVer": "√",
|
|
210
|
-
* "uniVer": "x",
|
|
211
|
-
* "unixVer": "x"
|
|
212
|
-
* }
|
|
213
|
-
* },
|
|
214
|
-
* "web": {
|
|
215
|
-
* "uniVer": "x",
|
|
216
|
-
* "unixVer": "x"
|
|
217
|
-
* }
|
|
218
|
-
* }
|
|
219
|
-
*/
|
|
220
|
-
appLink: string | null
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
export type GetLaunchOptionsSync = () => OnLaunchOptions
|
|
224
|
-
|
|
225
|
-
export interface Uni {
|
|
226
|
-
/**
|
|
227
|
-
* 获取首次启动时的参数。返回值与App.onLaunch的回调参数一致
|
|
228
|
-
*
|
|
229
|
-
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
|
|
230
|
-
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
231
|
-
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
|
|
232
|
-
* @uniPlatform {
|
|
233
|
-
* "app": {
|
|
234
|
-
* "android": {
|
|
235
|
-
* "osVer": "5.0",
|
|
236
|
-
* "uniVer": "√",
|
|
237
|
-
* "unixVer": "3.91"
|
|
238
|
-
* },
|
|
239
|
-
* "ios": {
|
|
240
|
-
* "osVer": "12.0",
|
|
241
|
-
* "uniVer": "√",
|
|
242
|
-
* "unixVer": "4.11"
|
|
243
|
-
* },
|
|
244
|
-
* "harmony": {
|
|
245
|
-
* "osVer": "3,0",
|
|
246
|
-
* "uniVer": "4.31",
|
|
247
|
-
* "unixVer": "4.61"
|
|
248
|
-
* }
|
|
249
|
-
* },
|
|
250
|
-
* "mp": {
|
|
251
|
-
* "weixin": {
|
|
252
|
-
* "hostVer": "√",
|
|
253
|
-
* "uniVer": "√",
|
|
254
|
-
* "unixVer": "4.41"
|
|
255
|
-
* },
|
|
256
|
-
* "alipay": {
|
|
257
|
-
* "hostVer": "√",
|
|
258
|
-
* "uniVer": "√",
|
|
259
|
-
* "unixVer": "x"
|
|
260
|
-
* },
|
|
261
|
-
* "baidu": {
|
|
262
|
-
* "hostVer": "√",
|
|
263
|
-
* "uniVer": "√",
|
|
264
|
-
* "unixVer": "x"
|
|
265
|
-
* },
|
|
266
|
-
* "toutiao": {
|
|
267
|
-
* "hostVer": "√",
|
|
268
|
-
* "uniVer": "√",
|
|
269
|
-
* "unixVer": "x"
|
|
270
|
-
* },
|
|
271
|
-
* "lark": {
|
|
272
|
-
* "hostVer": "√",
|
|
273
|
-
* "uniVer": "√",
|
|
274
|
-
* "unixVer": "x"
|
|
275
|
-
* },
|
|
276
|
-
* "qq": {
|
|
277
|
-
* "hostVer": "√",
|
|
278
|
-
* "uniVer": "√",
|
|
279
|
-
* "unixVer": "x"
|
|
280
|
-
* },
|
|
281
|
-
* "kuaishou": {
|
|
282
|
-
* "hostVer": "√",
|
|
283
|
-
* "uniVer": "√",
|
|
284
|
-
* "unixVer": "x"
|
|
285
|
-
* },
|
|
286
|
-
* "jd": {
|
|
287
|
-
* "hostVer": "√",
|
|
288
|
-
* "uniVer": "√",
|
|
289
|
-
* "unixVer": "x"
|
|
290
|
-
* }
|
|
291
|
-
* },
|
|
292
|
-
* "web": {
|
|
293
|
-
* "uniVer": "√",
|
|
294
|
-
* "unixVer": "4.0"
|
|
295
|
-
* }
|
|
296
|
-
* }
|
|
297
|
-
*/
|
|
298
|
-
getLaunchOptionsSync(): OnLaunchOptions
|
|
299
|
-
}
|