@dcloudio/uni-app-x 0.7.14 → 0.7.16
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 +1943 -0
- package/types/native/DOMRect.d.ts +0 -180
- package/types/native/DrawableContext.d.ts +161 -628
- package/types/native/IUniElement.d.ts +513 -1868
- package/types/native/IUniObjectElement.d.ts +124 -0
- package/types/native/Path2D.d.ts +241 -0
- package/types/native/SnapshotOptions.d.ts +1 -0
- package/types/native/UniApp.d.ts +110 -0
- package/types/native/UniCanvasElement.d.ts +9 -0
- package/types/native/UniNativePage.d.ts +48 -1
- package/types/native/UniPageManager.d.ts +4 -1
- package/types/native/UniProvider.d.ts +1 -0
- 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/UniVideoElement.d.ts +5 -0
- package/types/native/global.d.ts +73 -15
- package/types/native/index.d.ts +4 -0
- package/types/shim-uts-basic.d.ts +4495 -0
- package/types/uni/env/index.d.ts +39 -0
- package/types/uni/uts-plugin-api/global.d.ts +20 -1
- package/types/uni/uts-plugin-api/index.d.ts +20 -1
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +26 -0
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +231 -0
- 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-cancelAnimationFrame/utssdk/global.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-cancelAnimationFrame/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-cancelAnimationFrame/utssdk/interface.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +20 -0
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +268 -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 +24 -9
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +13 -6
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/global.d.ts +28 -0
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/index.d.ts +13 -0
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +1335 -0
- 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-file/utssdk/global.d.ts +80 -0
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +39 -0
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +174 -0
- 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 +28 -20
- 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 +10 -2
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +12 -0
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +47 -0
- 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 +564 -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/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +114 -34
- 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 +304 -27
- 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 +327 -58
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +213 -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 +161 -11
- 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-requestAnimationFrame/utssdk/global.d.ts +12 -0
- package/types/uni/uts-plugin-api/lib/uni-requestAnimationFrame/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-requestAnimationFrame/utssdk/interface.d.ts +28 -0
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +177 -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-virtualPayment/utssdk/global.d.ts +112 -0
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/index.d.ts +55 -0
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +1068 -0
- 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 +1 -1
- package/types/uni/uts-plugin-extend/index.d.ts +1 -3
- package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/global.d.ts +13 -0
- package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +126 -0
- 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-cloud/unicloud-db/index.ts +3 -3
- package/types/vue/CheckboxGroupChangeEvent.d.ts +9 -1
- package/types/vue/PickerViewChangeEvent.d.ts +8 -0
- package/types/vue/ProgressActiveendEvent.d.ts +4 -0
- package/types/vue/RadioGroupChangeEvent.d.ts +9 -1
- package/types/vue/SliderChangeEvent.d.ts +4 -0
- package/types/vue/SwitchChangeEvent.d.ts +5 -1
- package/types/vue/UniCanvasElement.d.ts +6 -1
- package/types/vue/UniCloudDBElement.d.ts +5 -0
- package/types/vue/UniFormElement.d.ts +6 -1
- package/types/vue/UniNavigatorElement.d.ts +5 -0
- package/types/vue/global.d.ts +10 -9
- 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
- package/types/uni-cloud/unicloud-db/index.d.ts +0 -81
package/options.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,24 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CSSStyleDeclaration表示一个CSS 声明块对象,它是一个 CSS 属性键值对的集合,暴露样式信息和各种与样式相关的方法和属性。
|
|
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 CSSStyleDeclaration {
|
|
24
6
|
|
|
@@ -26,72 +8,18 @@ export class CSSStyleDeclaration {
|
|
|
26
8
|
* 对CSS指定样式设置一个新值,如有此样式已存在则更新。
|
|
27
9
|
* @param name CSS样式名称
|
|
28
10
|
* @param value 要设置的新CSS样式值
|
|
29
|
-
* @uniPlatform {
|
|
30
|
-
* "app": {
|
|
31
|
-
* "android": {
|
|
32
|
-
* "osVer": "5.0",
|
|
33
|
-
* "uniVer": "x",
|
|
34
|
-
* "unixVer": "3.9"
|
|
35
|
-
* },
|
|
36
|
-
* "ios": {
|
|
37
|
-
* "osVer": "12.0",
|
|
38
|
-
* "uniVer": "x",
|
|
39
|
-
* "unixVer": "4.11"
|
|
40
|
-
* }
|
|
41
|
-
* }
|
|
42
|
-
* "web": {
|
|
43
|
-
* "uniVer": "x",
|
|
44
|
-
* "unixVer": "4.0"
|
|
45
|
-
* }
|
|
46
|
-
* }
|
|
47
11
|
*/
|
|
48
12
|
setProperty(name: string | string.cssPropertyString, value: any | null): void
|
|
49
13
|
|
|
50
14
|
/**
|
|
51
15
|
* 获取CSS指定的样式值,如果指定的样式不存在则返回null。
|
|
52
16
|
* @param property 要获取的CSS样式名称
|
|
53
|
-
* @uniPlatform {
|
|
54
|
-
* "app": {
|
|
55
|
-
* "android": {
|
|
56
|
-
* "osVer": "5.0",
|
|
57
|
-
* "uniVer": "x",
|
|
58
|
-
* "unixVer": "3.9"
|
|
59
|
-
* },
|
|
60
|
-
* "ios": {
|
|
61
|
-
* "osVer": "12.0",
|
|
62
|
-
* "uniVer": "x",
|
|
63
|
-
* "unixVer": "4.11"
|
|
64
|
-
* }
|
|
65
|
-
* }
|
|
66
|
-
* "web": {
|
|
67
|
-
* "uniVer": "x",
|
|
68
|
-
* "unixVer": "4.0"
|
|
69
|
-
* }
|
|
70
|
-
* }
|
|
71
17
|
*/
|
|
72
18
|
getPropertyValue(property: string | string.cssPropertyString): any | null
|
|
73
19
|
|
|
74
20
|
/**
|
|
75
21
|
* 删除CSS指定的样式值
|
|
76
22
|
* @param property 要删除的CSS样式名称
|
|
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
|
removeProperty(property: string | string.cssPropertyString): any | null
|
|
97
25
|
}
|