@dcloudio/uni-app-x 0.7.14 → 0.7.15
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/options.d.ts +1 -1
- package/package.json +1 -1
- package/types/native/CSSStyleDeclaration.d.ts +0 -72
- package/types/native/CanvasRenderingContext2D.d.ts +378 -0
- package/types/native/DOMRect.d.ts +0 -180
- package/types/native/DrawableContext.d.ts +161 -628
- package/types/native/IUniElement.d.ts +335 -1919
- package/types/native/Path2D.d.ts +74 -0
- package/types/native/SnapshotOptions.d.ts +1 -0
- package/types/native/UniCanvasElement.d.ts +9 -0
- package/types/native/UniNativePage.d.ts +27 -1
- package/types/native/UniPageManager.d.ts +4 -1
- package/types/native/UniResizeObserver.d.ts +9 -99
- package/types/native/UniScrollEvent.d.ts +1 -1
- package/types/native/UniSwiperAnimationFinishEvent.d.ts +1 -1
- package/types/native/UniSwiperChangeEvent.d.ts +1 -1
- package/types/native/global.d.ts +21 -0
- package/types/native/index.d.ts +3 -0
- package/types/shim-uts-basic.d.ts +4495 -0
- package/types/uni/env/index.d.ts +21 -0
- package/types/uni/uts-plugin-api/global.d.ts +12 -1
- package/types/uni/uts-plugin-api/index.d.ts +12 -1
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +77 -0
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +77 -0
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +40 -0
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +19 -0
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +203 -0
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/global.d.ts +20 -0
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +152 -0
- package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +20 -3
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +19 -8
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +13 -6
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +28 -0
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +6 -1
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +8 -1
- package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +20 -17
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +26 -18
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +201 -64
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +180 -59
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +7 -1
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +10 -1
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +173 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +2 -14
- package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +1 -6
- package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/interface.d.ts +1 -151
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +10 -3
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +7 -1
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +113 -23
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +500 -149
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +123 -112
- package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +9 -6
- package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +18 -2
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/global.d.ts +22 -0
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +60 -0
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +8 -1
- package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-makePhoneCall/utssdk/global.d.ts +9 -6
- package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-makePhoneCall/utssdk/index.d.ts +4 -2
- package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-makePhoneCall/utssdk/interface.d.ts +40 -61
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +312 -58
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +34 -5
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +280 -92
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +20 -15
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +70 -0
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +16 -6
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +17 -10
- package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +120 -42
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +16 -1
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +241 -32
- package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +7 -2
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +73 -0
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +112 -43
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +78 -1
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +199 -149
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +170 -83
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +11 -7
- package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +33 -15
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +777 -568
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +10 -6
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +132 -15
- package/types/uni/uts-plugin-extend/global.d.ts +0 -1
- package/types/uni/uts-plugin-extend/index.d.ts +0 -3
- package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
- package/types/uni-cloud/interface.d.ts +57 -3
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/global.d.ts +0 -78
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/index.d.ts +0 -38
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/interface.d.ts +0 -642
- package/types/uni/uts-plugin-extend/lib/uni-getClipboardData/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-extend/lib/uni-getClipboardData/utssdk/index.d.ts +0 -9
- package/types/uni/uts-plugin-extend/lib/uni-getClipboardData/utssdk/interface.d.ts +0 -119
- package/types/uni/uts-plugin-extend/lib/uni-setClipboardData/utssdk/global.d.ts +0 -21
- package/types/uni/uts-plugin-extend/lib/uni-setClipboardData/utssdk/index.d.ts +0 -9
- package/types/uni/uts-plugin-extend/lib/uni-setClipboardData/utssdk/interface.d.ts +0 -122
|
@@ -1,24 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 一个 DOMRect 代表一个矩形。
|
|
3
3
|
* @package io.dcloud.uniapp.runtime
|
|
4
|
-
* @uniPlatform {
|
|
5
|
-
* "app": {
|
|
6
|
-
* "android": {
|
|
7
|
-
* "osVer": "5.0",
|
|
8
|
-
* "uniVer": "x",
|
|
9
|
-
* "unixVer": "3.9"
|
|
10
|
-
* },
|
|
11
|
-
* "ios": {
|
|
12
|
-
* "osVer": "12.0",
|
|
13
|
-
* "uniVer": "x",
|
|
14
|
-
* "unixVer": "4.11"
|
|
15
|
-
* }
|
|
16
|
-
* }
|
|
17
|
-
* "web": {
|
|
18
|
-
* "uniVer": "x",
|
|
19
|
-
* "unixVer": "4.0"
|
|
20
|
-
* }
|
|
21
|
-
* }
|
|
22
4
|
*/
|
|
23
5
|
export class DOMRect {
|
|
24
6
|
|
|
@@ -28,208 +10,46 @@ export class DOMRect {
|
|
|
28
10
|
* @param {number} [y=0] 矩形原点的y坐标
|
|
29
11
|
* @param {number} [width=0] 矩形的宽
|
|
30
12
|
* @param {number} [height=0] 矩形的高
|
|
31
|
-
* @uniPlatform {
|
|
32
|
-
* "app": {
|
|
33
|
-
* "android": {
|
|
34
|
-
* "osVer": "5.0",
|
|
35
|
-
* "uniVer": "x",
|
|
36
|
-
* "unixVer": "3.9"
|
|
37
|
-
* },
|
|
38
|
-
* "ios": {
|
|
39
|
-
* "osVer": "12.0",
|
|
40
|
-
* "uniVer": "x",
|
|
41
|
-
* "unixVer": "4.11"
|
|
42
|
-
* }
|
|
43
|
-
* }
|
|
44
|
-
* "web": {
|
|
45
|
-
* "uniVer": "x",
|
|
46
|
-
* "unixVer": "4.0"
|
|
47
|
-
* }
|
|
48
|
-
* }
|
|
49
13
|
*/
|
|
50
14
|
constructor (x?: number, y?: number, width?: number, height?: number);
|
|
51
15
|
|
|
52
16
|
/**
|
|
53
17
|
* 矩形的宽
|
|
54
|
-
* @uniPlatform {
|
|
55
|
-
* "app": {
|
|
56
|
-
* "android": {
|
|
57
|
-
* "osVer": "5.0",
|
|
58
|
-
* "uniVer": "x",
|
|
59
|
-
* "unixVer": "3.9"
|
|
60
|
-
* },
|
|
61
|
-
* "ios": {
|
|
62
|
-
* "osVer": "12.0",
|
|
63
|
-
* "uniVer": "x",
|
|
64
|
-
* "unixVer": "4.11"
|
|
65
|
-
* }
|
|
66
|
-
* }
|
|
67
|
-
* "web": {
|
|
68
|
-
* "uniVer": "x",
|
|
69
|
-
* "unixVer": "4.0"
|
|
70
|
-
* }
|
|
71
|
-
* }
|
|
72
18
|
*/
|
|
73
19
|
width: number
|
|
74
20
|
|
|
75
21
|
/**
|
|
76
22
|
* 矩形的高
|
|
77
|
-
* @uniPlatform {
|
|
78
|
-
* "app": {
|
|
79
|
-
* "android": {
|
|
80
|
-
* "osVer": "5.0",
|
|
81
|
-
* "uniVer": "x",
|
|
82
|
-
* "unixVer": "3.9"
|
|
83
|
-
* },
|
|
84
|
-
* "ios": {
|
|
85
|
-
* "osVer": "12.0",
|
|
86
|
-
* "uniVer": "x",
|
|
87
|
-
* "unixVer": "4.11"
|
|
88
|
-
* }
|
|
89
|
-
* }
|
|
90
|
-
* "web": {
|
|
91
|
-
* "uniVer": "x",
|
|
92
|
-
* "unixVer": "4.0"
|
|
93
|
-
* }
|
|
94
|
-
* }
|
|
95
23
|
*/
|
|
96
24
|
height: number
|
|
97
25
|
|
|
98
26
|
/**
|
|
99
27
|
* 矩形原点的x坐标
|
|
100
|
-
* @uniPlatform {
|
|
101
|
-
* "app": {
|
|
102
|
-
* "android": {
|
|
103
|
-
* "osVer": "5.0",
|
|
104
|
-
* "uniVer": "x",
|
|
105
|
-
* "unixVer": "3.9"
|
|
106
|
-
* },
|
|
107
|
-
* "ios": {
|
|
108
|
-
* "osVer": "12.0",
|
|
109
|
-
* "uniVer": "x",
|
|
110
|
-
* "unixVer": "4.11"
|
|
111
|
-
* }
|
|
112
|
-
* }
|
|
113
|
-
* "web": {
|
|
114
|
-
* "uniVer": "x",
|
|
115
|
-
* "unixVer": "4.0"
|
|
116
|
-
* }
|
|
117
|
-
* }
|
|
118
28
|
*/
|
|
119
29
|
x: number
|
|
120
30
|
|
|
121
31
|
/**
|
|
122
32
|
* 矩形原点的y坐标
|
|
123
|
-
* @uniPlatform {
|
|
124
|
-
* "app": {
|
|
125
|
-
* "android": {
|
|
126
|
-
* "osVer": "5.0",
|
|
127
|
-
* "uniVer": "x",
|
|
128
|
-
* "unixVer": "3.9"
|
|
129
|
-
* },
|
|
130
|
-
* "ios": {
|
|
131
|
-
* "osVer": "12.0",
|
|
132
|
-
* "uniVer": "x",
|
|
133
|
-
* "unixVer": "4.11"
|
|
134
|
-
* }
|
|
135
|
-
* }
|
|
136
|
-
* "web": {
|
|
137
|
-
* "uniVer": "x",
|
|
138
|
-
* "unixVer": "4.0"
|
|
139
|
-
* }
|
|
140
|
-
* }
|
|
141
33
|
*/
|
|
142
34
|
y: number
|
|
143
35
|
|
|
144
36
|
/**
|
|
145
37
|
* 矩形的左坐标值
|
|
146
|
-
* @uniPlatform {
|
|
147
|
-
* "app": {
|
|
148
|
-
* "android": {
|
|
149
|
-
* "osVer": "5.0",
|
|
150
|
-
* "uniVer": "x",
|
|
151
|
-
* "unixVer": "3.9"
|
|
152
|
-
* },
|
|
153
|
-
* "ios": {
|
|
154
|
-
* "osVer": "12.0",
|
|
155
|
-
* "uniVer": "x",
|
|
156
|
-
* "unixVer": "4.11"
|
|
157
|
-
* }
|
|
158
|
-
* }
|
|
159
|
-
* "web": {
|
|
160
|
-
* "uniVer": "x",
|
|
161
|
-
* "unixVer": "4.0"
|
|
162
|
-
* }
|
|
163
|
-
* }
|
|
164
38
|
*/
|
|
165
39
|
left: number
|
|
166
40
|
|
|
167
41
|
/**
|
|
168
42
|
* 矩形的右坐标值
|
|
169
|
-
* @uniPlatform {
|
|
170
|
-
* "app": {
|
|
171
|
-
* "android": {
|
|
172
|
-
* "osVer": "5.0",
|
|
173
|
-
* "uniVer": "x",
|
|
174
|
-
* "unixVer": "3.9"
|
|
175
|
-
* },
|
|
176
|
-
* "ios": {
|
|
177
|
-
* "osVer": "12.0",
|
|
178
|
-
* "uniVer": "x",
|
|
179
|
-
* "unixVer": "4.11"
|
|
180
|
-
* }
|
|
181
|
-
* }
|
|
182
|
-
* "web": {
|
|
183
|
-
* "uniVer": "x",
|
|
184
|
-
* "unixVer": "4.0"
|
|
185
|
-
* }
|
|
186
|
-
* }
|
|
187
43
|
*/
|
|
188
44
|
right: number
|
|
189
45
|
|
|
190
46
|
/**
|
|
191
47
|
* 矩形的顶坐标值
|
|
192
|
-
* @uniPlatform {
|
|
193
|
-
* "app": {
|
|
194
|
-
* "android": {
|
|
195
|
-
* "osVer": "5.0",
|
|
196
|
-
* "uniVer": "x",
|
|
197
|
-
* "unixVer": "3.9"
|
|
198
|
-
* },
|
|
199
|
-
* "ios": {
|
|
200
|
-
* "osVer": "12.0",
|
|
201
|
-
* "uniVer": "x",
|
|
202
|
-
* "unixVer": "4.11"
|
|
203
|
-
* }
|
|
204
|
-
* }
|
|
205
|
-
* "web": {
|
|
206
|
-
* "uniVer": "x",
|
|
207
|
-
* "unixVer": "4.0"
|
|
208
|
-
* }
|
|
209
|
-
* }
|
|
210
48
|
*/
|
|
211
49
|
top: number;
|
|
212
50
|
|
|
213
51
|
/**
|
|
214
52
|
* 矩形的底坐标值
|
|
215
|
-
* @uniPlatform {
|
|
216
|
-
* "app": {
|
|
217
|
-
* "android": {
|
|
218
|
-
* "osVer": "5.0",
|
|
219
|
-
* "uniVer": "x",
|
|
220
|
-
* "unixVer": "3.9"
|
|
221
|
-
* },
|
|
222
|
-
* "ios": {
|
|
223
|
-
* "osVer": "12.0",
|
|
224
|
-
* "uniVer": "x",
|
|
225
|
-
* "unixVer": "4.11"
|
|
226
|
-
* }
|
|
227
|
-
* }
|
|
228
|
-
* "web": {
|
|
229
|
-
* "uniVer": "x",
|
|
230
|
-
* "unixVer": "4.0"
|
|
231
|
-
* }
|
|
232
|
-
* }
|
|
233
53
|
*/
|
|
234
54
|
bottom: number
|
|
235
55
|
|