@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
package/types/uni/env/index.d.ts
CHANGED
|
@@ -15,86 +15,100 @@ interface Uni {
|
|
|
15
15
|
* "unixVer": "4.11"
|
|
16
16
|
* }
|
|
17
17
|
* },
|
|
18
|
+
* "mp": {
|
|
19
|
+
* "weinxin": {
|
|
20
|
+
* "osVer": "√",
|
|
21
|
+
* "uniVer": "√",
|
|
22
|
+
* "unixVer": "4.41"
|
|
23
|
+
* }
|
|
24
|
+
* },
|
|
18
25
|
* "web": {
|
|
19
26
|
* "uniVer": "x,
|
|
20
27
|
* "unixVer": "x"
|
|
21
28
|
* }
|
|
22
29
|
* }
|
|
23
30
|
*/
|
|
24
|
-
env
|
|
31
|
+
env: {
|
|
25
32
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
33
|
+
/**
|
|
34
|
+
* 应用专属存储空间的外置存储空间根目录下的files目录
|
|
35
|
+
* @uniPlatform {
|
|
36
|
+
* "app": {
|
|
37
|
+
* "android": {
|
|
38
|
+
* "osVer": "5.0",
|
|
39
|
+
* "uniVer": "x",
|
|
40
|
+
* "unixVer": "3.99"
|
|
41
|
+
* },
|
|
42
|
+
* "ios": {
|
|
43
|
+
* "osVer": "12.0",
|
|
44
|
+
* "uniVer": "x",
|
|
45
|
+
* "unixVer": "4.11"
|
|
46
|
+
* }
|
|
47
|
+
* },
|
|
48
|
+
* "mp": {
|
|
49
|
+
* "weinxin": {
|
|
50
|
+
* "osVer": "√",
|
|
51
|
+
* "uniVer": "√",
|
|
52
|
+
* "unixVer": "4.41"
|
|
53
|
+
* }
|
|
54
|
+
* }
|
|
55
|
+
* }
|
|
56
|
+
*/
|
|
57
|
+
USER_DATA_PATH: string,
|
|
58
|
+
/**
|
|
59
|
+
* 应用专属存储空间的外置存储空间根目录下的cache目录
|
|
60
|
+
* @uniPlatform {
|
|
61
|
+
* "app": {
|
|
62
|
+
* "android": {
|
|
63
|
+
* "osVer": "5.0",
|
|
64
|
+
* "uniVer": "x",
|
|
65
|
+
* "unixVer": "3.99"
|
|
66
|
+
* },
|
|
67
|
+
* "ios": {
|
|
68
|
+
* "osVer": "12.0",
|
|
69
|
+
* "uniVer": "x",
|
|
70
|
+
* "unixVer": "4.11"
|
|
71
|
+
* }
|
|
72
|
+
* }
|
|
73
|
+
* }
|
|
74
|
+
*/
|
|
75
|
+
CACHE_PATH: "unifile://cache/",
|
|
76
|
+
/**
|
|
77
|
+
* 应用专属存储空间的外置存储空间根目录(caches/files)
|
|
78
|
+
* @uniPlatform {
|
|
79
|
+
* "app": {
|
|
80
|
+
* "android": {
|
|
81
|
+
* "osVer": "5.0",
|
|
82
|
+
* "uniVer": "x",
|
|
83
|
+
* "unixVer": "3.99"
|
|
84
|
+
* },
|
|
85
|
+
* "ios": {
|
|
86
|
+
* "osVer": "12.0",
|
|
87
|
+
* "uniVer": "x",
|
|
88
|
+
* "unixVer": "4.11"
|
|
89
|
+
* }
|
|
90
|
+
* }
|
|
91
|
+
* }
|
|
92
|
+
*/
|
|
93
|
+
SANDBOX_PATH: "unifile://sandbox/",
|
|
94
|
+
/**
|
|
95
|
+
* 应用专属存储空间的内置存储空间根目录
|
|
96
|
+
* @uniPlatform {
|
|
97
|
+
* "app": {
|
|
98
|
+
* "android": {
|
|
99
|
+
* "osVer": "5.0",
|
|
100
|
+
* "uniVer": "x",
|
|
101
|
+
* "unixVer": "3.99"
|
|
102
|
+
* },
|
|
103
|
+
* "ios": {
|
|
104
|
+
* "osVer": "12.0",
|
|
105
|
+
* "uniVer": "x",
|
|
106
|
+
* "unixVer": "4.11"
|
|
107
|
+
* }
|
|
108
|
+
* }
|
|
109
|
+
* }
|
|
110
|
+
*/
|
|
111
|
+
ANDROID_INTERNAL_SANDBOX_PATH: "unifile://androidInternalSandbox/",
|
|
98
112
|
|
|
99
113
|
}
|
|
100
114
|
|
package/types/uni/global.d.ts
CHANGED
package/types/uni/index.d.ts
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
UniMapUpdatedEvent as UniMapUpdatedEventOrigin,
|
|
3
|
+
UniMapTapEvent as UniMapTapEventOrigin,
|
|
4
|
+
UniMapRegionChangeEvent as UniMapRegionChangeEventOrigin,
|
|
5
|
+
UniMapMarkerTapEvent as UniMapMarkerTapEventOrigin,
|
|
6
|
+
UniMapControlTapEvent as UniMapControlTapEventOrigin,
|
|
7
|
+
UniMapAnchorPointTapEvent as UniMapAnchorPointTapEventOrigin,
|
|
8
|
+
UniMapPoiTapEvent as UniMapPoiTapEventOrigin,
|
|
9
|
+
UniMapUpdatedEventDetail as UniMapUpdatedEventDetailOrigin,
|
|
10
|
+
UniMapTapEventDetail as UniMapTapEventDetailOrigin,
|
|
11
|
+
UniMapRegionChangeEventDetail as UniMapRegionChangeEventDetailOrigin,
|
|
12
|
+
UniMapMarkerTapEventDetail as UniMapMarkerTapEventDetailOrigin,
|
|
13
|
+
UniMapControlTapEventDetail as UniMapControlTapEventDetailOrigin,
|
|
14
|
+
UniMapAnchorPointTapEventDetail as UniMapAnchorPointTapEventDetailOrigin,
|
|
15
|
+
UniMapPoiTapEventDetail as UniMapPoiTapEventDetailOrigin
|
|
16
|
+
} from "./uni-map-tencent-map"
|
|
17
|
+
|
|
18
|
+
declare global {
|
|
19
|
+
type UniMapUpdatedEvent = UniMapUpdatedEventOrigin
|
|
20
|
+
type UniMapTapEvent = UniMapTapEventOrigin
|
|
21
|
+
type UniMapRegionChangeEvent = UniMapRegionChangeEventOrigin
|
|
22
|
+
type UniMapMarkerTapEvent = UniMapMarkerTapEventOrigin
|
|
23
|
+
type UniMapControlTapEvent = UniMapControlTapEventOrigin
|
|
24
|
+
type UniMapAnchorPointTapEvent = UniMapAnchorPointTapEventOrigin
|
|
25
|
+
type UniMapPoiTapEvent = UniMapPoiTapEventOrigin
|
|
26
|
+
type UniMapUpdatedEventDetail = UniMapUpdatedEventDetailOrigin
|
|
27
|
+
type UniMapTapEventDetail = UniMapTapEventDetailOrigin
|
|
28
|
+
type UniMapRegionChangeEventDetail = UniMapRegionChangeEventDetailOrigin
|
|
29
|
+
type UniMapMarkerTapEventDetail = UniMapMarkerTapEventDetailOrigin
|
|
30
|
+
type UniMapControlTapEventDetail = UniMapControlTapEventDetailOrigin
|
|
31
|
+
type UniMapAnchorPointTapEventDetail = UniMapAnchorPointTapEventDetailOrigin
|
|
32
|
+
type UniMapPoiTapEventDetail = UniMapPoiTapEventDetailOrigin
|
|
33
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare type UniMapUpdatedEventDetail = { }
|
|
2
|
+
export declare class UniMapUpdatedEvent extends UniCustomEvent<UniMapUpdatedEventDetail> {
|
|
3
|
+
constructor(type: string, detail: UniMapUpdatedEventDetail)
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export declare type UniMapTapEventDetail = {
|
|
7
|
+
latitude: number | null
|
|
8
|
+
longitude: number | null
|
|
9
|
+
}
|
|
10
|
+
export declare class UniMapTapEvent extends UniCustomEvent<UniMapTapEventDetail> {
|
|
11
|
+
constructor(type: string, detail: UniMapTapEventDetail)
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export declare type UniMapRegionChangeEventDetail = {
|
|
15
|
+
skew: number | null
|
|
16
|
+
rotate: number | null
|
|
17
|
+
}
|
|
18
|
+
export declare class UniMapRegionChangeEvent extends UniCustomEvent<UniMapRegionChangeEventDetail | null> {
|
|
19
|
+
causedBy?: string | null
|
|
20
|
+
constructor(type: string, detail: UniMapRegionChangeEventDetail | null)
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export declare type UniMapMarkerTapEventDetail = {
|
|
24
|
+
markerId: number | null
|
|
25
|
+
}
|
|
26
|
+
export declare class UniMapMarkerTapEvent extends UniCustomEvent<UniMapMarkerTapEventDetail> {
|
|
27
|
+
constructor(type: string, detail: UniMapMarkerTapEventDetail)
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export declare type UniMapControlTapEventDetail = {
|
|
31
|
+
controlId: number | null
|
|
32
|
+
}
|
|
33
|
+
export declare class UniMapControlTapEvent extends UniCustomEvent<UniMapControlTapEventDetail> {
|
|
34
|
+
constructor(type: string, detail: UniMapControlTapEventDetail)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export declare type UniMapAnchorPointTapEventDetail = {
|
|
38
|
+
latitude: number | null
|
|
39
|
+
longitude: number | null
|
|
40
|
+
}
|
|
41
|
+
export declare class UniMapAnchorPointTapEvent extends UniCustomEvent<UniMapAnchorPointTapEventDetail> {
|
|
42
|
+
constructor(type: string, detail: UniMapAnchorPointTapEventDetail)
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export declare type UniMapPoiTapEventDetail = {
|
|
46
|
+
latitude: number | null
|
|
47
|
+
longitude: number | null
|
|
48
|
+
name: string | null
|
|
49
|
+
}
|
|
50
|
+
export declare class UniMapPoiTapEvent extends UniCustomEvent<UniMapPoiTapEventDetail> {
|
|
51
|
+
constructor(type: string, detail: UniMapPoiTapEventDetail)
|
|
52
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
/// <reference path='./lib/uni-prompt/utssdk/global.d.ts' />
|
|
12
12
|
/// <reference path='./lib/uni-privacy/utssdk/global.d.ts' />
|
|
13
13
|
/// <reference path='./lib/uni-payment-wxpay/utssdk/global.d.ts' />
|
|
14
|
+
/// <reference path='./lib/uni-payment-huawei/utssdk/global.d.ts' />
|
|
14
15
|
/// <reference path='./lib/uni-payment-alipay/utssdk/global.d.ts' />
|
|
15
16
|
/// <reference path='./lib/uni-payment/utssdk/global.d.ts' />
|
|
16
17
|
/// <reference path='./lib/uni-pageScrollTo/utssdk/global.d.ts' />
|
|
@@ -54,8 +55,8 @@
|
|
|
54
55
|
/// <reference path='./lib/uni-createRequestPermissionListener/utssdk/global.d.ts' />
|
|
55
56
|
/// <reference path='./lib/uni-createIntersectionObserver/utssdk/global.d.ts' />
|
|
56
57
|
/// <reference path='./lib/uni-createInnerAudioContext/utssdk/global.d.ts' />
|
|
57
|
-
/// <reference path='./lib/uni-crash/utssdk/global.d.ts' />
|
|
58
58
|
/// <reference path='./lib/uni-clipboard/utssdk/global.d.ts' />
|
|
59
|
+
/// <reference path='./lib/uni-chooseLocation/utssdk/global.d.ts' />
|
|
59
60
|
/// <reference path='./lib/uni-canvas/utssdk/global.d.ts' />
|
|
60
61
|
/// <reference path='./lib/uni-base64ToArrayBuffer/utssdk/global.d.ts' />
|
|
61
62
|
/// <reference path='./lib/uni-authentication/utssdk/global.d.ts' />
|
|
@@ -11,6 +11,7 @@ export * from './lib/uni-pullDownRefresh/utssdk'
|
|
|
11
11
|
export * from './lib/uni-prompt/utssdk'
|
|
12
12
|
export * from './lib/uni-privacy/utssdk'
|
|
13
13
|
export * from './lib/uni-payment-wxpay/utssdk'
|
|
14
|
+
export * from './lib/uni-payment-huawei/utssdk'
|
|
14
15
|
export * from './lib/uni-payment-alipay/utssdk'
|
|
15
16
|
export * from './lib/uni-payment/utssdk'
|
|
16
17
|
export * from './lib/uni-pageScrollTo/utssdk'
|
|
@@ -54,8 +55,8 @@ export * from './lib/uni-createSelectorQuery/utssdk'
|
|
|
54
55
|
export * from './lib/uni-createRequestPermissionListener/utssdk'
|
|
55
56
|
export * from './lib/uni-createIntersectionObserver/utssdk'
|
|
56
57
|
export * from './lib/uni-createInnerAudioContext/utssdk'
|
|
57
|
-
export * from './lib/uni-crash/utssdk'
|
|
58
58
|
export * from './lib/uni-clipboard/utssdk'
|
|
59
|
+
export * from './lib/uni-chooseLocation/utssdk'
|
|
59
60
|
export * from './lib/uni-canvas/utssdk'
|
|
60
61
|
export * from './lib/uni-base64ToArrayBuffer/utssdk'
|
|
61
62
|
export * from './lib/uni-authentication/utssdk'
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AddPhoneContact as AddPhoneContactOrigin,
|
|
4
4
|
AddPhoneContactSuccess as AddPhoneContactSuccessOrigin,
|
|
5
|
-
UniError as UniErrorOrigin,
|
|
6
5
|
AddPhoneContactSuccessCallback as AddPhoneContactSuccessCallbackOrigin,
|
|
7
6
|
AddPhoneContactFail as AddPhoneContactFailOrigin,
|
|
8
7
|
AddPhoneContactFailCallback as AddPhoneContactFailCallbackOrigin,
|
|
@@ -15,7 +14,6 @@ import {
|
|
|
15
14
|
declare global {
|
|
16
15
|
type AddPhoneContact = AddPhoneContactOrigin
|
|
17
16
|
type AddPhoneContactSuccess = AddPhoneContactSuccessOrigin
|
|
18
|
-
type UniError = UniErrorOrigin
|
|
19
17
|
type AddPhoneContactSuccessCallback = AddPhoneContactSuccessCallbackOrigin
|
|
20
18
|
type AddPhoneContactFail = AddPhoneContactFailOrigin
|
|
21
19
|
type AddPhoneContactFailCallback = AddPhoneContactFailCallbackOrigin
|