@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
|
@@ -2,122 +2,122 @@
|
|
|
2
2
|
|
|
3
3
|
export type GetSystemSettingResult = {
|
|
4
4
|
/**
|
|
5
|
-
* 蓝牙是否开启
|
|
6
|
-
*
|
|
7
|
-
* @uniPlatform
|
|
8
|
-
* {
|
|
9
|
-
* "app": {
|
|
10
|
-
* "android": {
|
|
11
|
-
* "osVer": "5.0",
|
|
12
|
-
* "uniVer": "√",
|
|
13
|
-
* "unixVer": "3.9+"
|
|
14
|
-
* },
|
|
15
|
-
* "ios": {
|
|
16
|
-
* "osVer": "12.0",
|
|
17
|
-
* "uniVer": "√",
|
|
18
|
-
* "unixVer": "4.11"
|
|
19
|
-
* }
|
|
20
|
-
* }
|
|
5
|
+
* 蓝牙是否开启
|
|
6
|
+
*
|
|
7
|
+
* @uniPlatform
|
|
8
|
+
* {
|
|
9
|
+
* "app": {
|
|
10
|
+
* "android": {
|
|
11
|
+
* "osVer": "5.0",
|
|
12
|
+
* "uniVer": "√",
|
|
13
|
+
* "unixVer": "3.9+"
|
|
14
|
+
* },
|
|
15
|
+
* "ios": {
|
|
16
|
+
* "osVer": "12.0",
|
|
17
|
+
* "uniVer": "√",
|
|
18
|
+
* "unixVer": "4.11"
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
21
|
* }
|
|
22
22
|
*/
|
|
23
23
|
bluetoothEnabled?: boolean,
|
|
24
24
|
/**
|
|
25
|
-
* 蓝牙的报错信息
|
|
26
|
-
*
|
|
27
|
-
* @uniPlatform
|
|
28
|
-
* {
|
|
29
|
-
* "app": {
|
|
30
|
-
* "android": {
|
|
31
|
-
* "osVer": "5.0",
|
|
32
|
-
* "uniVer": "√",
|
|
33
|
-
* "unixVer": "3.9+"
|
|
34
|
-
* },
|
|
35
|
-
* "ios": {
|
|
36
|
-
* "osVer": "12.0",
|
|
37
|
-
* "uniVer": "√",
|
|
38
|
-
* "unixVer": "4.11"
|
|
39
|
-
* }
|
|
40
|
-
* }
|
|
25
|
+
* 蓝牙的报错信息
|
|
26
|
+
*
|
|
27
|
+
* @uniPlatform
|
|
28
|
+
* {
|
|
29
|
+
* "app": {
|
|
30
|
+
* "android": {
|
|
31
|
+
* "osVer": "5.0",
|
|
32
|
+
* "uniVer": "√",
|
|
33
|
+
* "unixVer": "3.9+"
|
|
34
|
+
* },
|
|
35
|
+
* "ios": {
|
|
36
|
+
* "osVer": "12.0",
|
|
37
|
+
* "uniVer": "√",
|
|
38
|
+
* "unixVer": "4.11"
|
|
39
|
+
* }
|
|
40
|
+
* }
|
|
41
41
|
* }
|
|
42
42
|
*/
|
|
43
43
|
bluetoothError?: string,
|
|
44
44
|
/**
|
|
45
|
-
* 位置是否开启
|
|
46
|
-
*
|
|
47
|
-
* @uniPlatform
|
|
48
|
-
* {
|
|
49
|
-
* "app": {
|
|
50
|
-
* "android": {
|
|
51
|
-
* "osVer": "5.0",
|
|
52
|
-
* "uniVer": "√",
|
|
53
|
-
* "unixVer": "3.9+"
|
|
54
|
-
* },
|
|
55
|
-
* "ios": {
|
|
56
|
-
* "osVer": "12.0",
|
|
57
|
-
* "uniVer": "√",
|
|
58
|
-
* "unixVer": "4.11"
|
|
59
|
-
* }
|
|
60
|
-
* }
|
|
45
|
+
* 位置是否开启
|
|
46
|
+
*
|
|
47
|
+
* @uniPlatform
|
|
48
|
+
* {
|
|
49
|
+
* "app": {
|
|
50
|
+
* "android": {
|
|
51
|
+
* "osVer": "5.0",
|
|
52
|
+
* "uniVer": "√",
|
|
53
|
+
* "unixVer": "3.9+"
|
|
54
|
+
* },
|
|
55
|
+
* "ios": {
|
|
56
|
+
* "osVer": "12.0",
|
|
57
|
+
* "uniVer": "√",
|
|
58
|
+
* "unixVer": "4.11"
|
|
59
|
+
* }
|
|
60
|
+
* }
|
|
61
61
|
* }
|
|
62
62
|
*/
|
|
63
63
|
locationEnabled : boolean,
|
|
64
64
|
/**
|
|
65
|
-
* wifi是否开启
|
|
66
|
-
*
|
|
67
|
-
* @uniPlatform
|
|
68
|
-
* {
|
|
69
|
-
* "app": {
|
|
70
|
-
* "android": {
|
|
71
|
-
* "osVer": "5.0",
|
|
72
|
-
* "uniVer": "√",
|
|
73
|
-
* "unixVer": "3.9+"
|
|
74
|
-
* },
|
|
75
|
-
* "ios": {
|
|
76
|
-
* "osVer": "12.0",
|
|
77
|
-
* "uniVer": "√",
|
|
78
|
-
* "unixVer": "4.11"
|
|
79
|
-
* }
|
|
80
|
-
* }
|
|
65
|
+
* wifi是否开启
|
|
66
|
+
*
|
|
67
|
+
* @uniPlatform
|
|
68
|
+
* {
|
|
69
|
+
* "app": {
|
|
70
|
+
* "android": {
|
|
71
|
+
* "osVer": "5.0",
|
|
72
|
+
* "uniVer": "√",
|
|
73
|
+
* "unixVer": "3.9+"
|
|
74
|
+
* },
|
|
75
|
+
* "ios": {
|
|
76
|
+
* "osVer": "12.0",
|
|
77
|
+
* "uniVer": "√",
|
|
78
|
+
* "unixVer": "4.11"
|
|
79
|
+
* }
|
|
80
|
+
* }
|
|
81
81
|
* }
|
|
82
82
|
*/
|
|
83
83
|
wifiEnabled?: boolean,
|
|
84
84
|
/**
|
|
85
|
-
* wifi的报错信息
|
|
86
|
-
*
|
|
87
|
-
* @uniPlatform
|
|
88
|
-
* {
|
|
89
|
-
* "app": {
|
|
90
|
-
* "android": {
|
|
91
|
-
* "osVer": "5.0",
|
|
92
|
-
* "uniVer": "√",
|
|
93
|
-
* "unixVer": "3.9+"
|
|
94
|
-
* },
|
|
95
|
-
* "ios": {
|
|
96
|
-
* "osVer": "x",
|
|
97
|
-
* "uniVer": "x",
|
|
98
|
-
* "unixVer": "x"
|
|
99
|
-
* }
|
|
100
|
-
* }
|
|
85
|
+
* wifi的报错信息
|
|
86
|
+
*
|
|
87
|
+
* @uniPlatform
|
|
88
|
+
* {
|
|
89
|
+
* "app": {
|
|
90
|
+
* "android": {
|
|
91
|
+
* "osVer": "5.0",
|
|
92
|
+
* "uniVer": "√",
|
|
93
|
+
* "unixVer": "3.9+"
|
|
94
|
+
* },
|
|
95
|
+
* "ios": {
|
|
96
|
+
* "osVer": "x",
|
|
97
|
+
* "uniVer": "x",
|
|
98
|
+
* "unixVer": "x"
|
|
99
|
+
* }
|
|
100
|
+
* }
|
|
101
101
|
* }
|
|
102
102
|
*/
|
|
103
103
|
wifiError?: string,
|
|
104
104
|
/**
|
|
105
|
-
* 设备方向
|
|
106
|
-
*
|
|
107
|
-
* @uniPlatform
|
|
108
|
-
* {
|
|
109
|
-
* "app": {
|
|
110
|
-
* "android": {
|
|
111
|
-
* "osVer": "5.0",
|
|
112
|
-
* "uniVer": "√",
|
|
113
|
-
* "unixVer": "3.9+"
|
|
114
|
-
* },
|
|
115
|
-
* "ios": {
|
|
116
|
-
* "osVer": "12.0",
|
|
117
|
-
* "uniVer": "√",
|
|
118
|
-
* "unixVer": "4.11"
|
|
119
|
-
* }
|
|
120
|
-
* }
|
|
105
|
+
* 设备方向
|
|
106
|
+
*
|
|
107
|
+
* @uniPlatform
|
|
108
|
+
* {
|
|
109
|
+
* "app": {
|
|
110
|
+
* "android": {
|
|
111
|
+
* "osVer": "5.0",
|
|
112
|
+
* "uniVer": "√",
|
|
113
|
+
* "unixVer": "3.9+"
|
|
114
|
+
* },
|
|
115
|
+
* "ios": {
|
|
116
|
+
* "osVer": "12.0",
|
|
117
|
+
* "uniVer": "√",
|
|
118
|
+
* "unixVer": "4.11"
|
|
119
|
+
* }
|
|
120
|
+
* }
|
|
121
121
|
* }
|
|
122
122
|
*/
|
|
123
123
|
deviceOrientation : 'portrait' | 'landscape',
|
|
@@ -130,24 +130,35 @@ export type GetSystemSetting = () => GetSystemSettingResult
|
|
|
130
130
|
export interface Uni {
|
|
131
131
|
/**
|
|
132
132
|
* GetSystemSetting()
|
|
133
|
-
* @description
|
|
133
|
+
* @description
|
|
134
134
|
* 获取系统设置
|
|
135
135
|
* @return {object}
|
|
136
|
-
* @tutorial https://uniapp.dcloud.net.cn/api/system/getsystemsetting.html
|
|
137
|
-
* @
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
* "
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
* "
|
|
149
|
-
*
|
|
150
|
-
*
|
|
136
|
+
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/getsystemsetting.html
|
|
137
|
+
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-system-setting.html
|
|
138
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-system-setting.html
|
|
139
|
+
* @uniPlatform
|
|
140
|
+
* {
|
|
141
|
+
* "app": {
|
|
142
|
+
* "android": {
|
|
143
|
+
* "osVer": "5.0",
|
|
144
|
+
* "uniVer": "√",
|
|
145
|
+
* "unixVer": "3.9+"
|
|
146
|
+
* },
|
|
147
|
+
* "ios": {
|
|
148
|
+
* "osVer": "12.0",
|
|
149
|
+
* "uniVer": "√",
|
|
150
|
+
* "unixVer": "4.11"
|
|
151
|
+
* },
|
|
152
|
+
* "harmony": {
|
|
153
|
+
* "osVer": "x",
|
|
154
|
+
* "uniVer": "x",
|
|
155
|
+
* "unixVer": "x"
|
|
156
|
+
* }
|
|
157
|
+
* },
|
|
158
|
+
* "web": {
|
|
159
|
+
* "uniVer": "x",
|
|
160
|
+
* "unixVer": "x"
|
|
161
|
+
* }
|
|
151
162
|
* }
|
|
152
163
|
* @example
|
|
153
164
|
```typescript
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export interface Uni {
|
|
2
2
|
/**
|
|
3
|
-
* installApk()
|
|
4
|
-
* @description
|
|
5
3
|
* 安装apk
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/install-apk.html
|
|
5
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/install-apk.html
|
|
8
6
|
* @uniPlatform {
|
|
9
7
|
* "app": {
|
|
10
8
|
* "android": {
|
|
@@ -16,7 +14,12 @@ export interface Uni {
|
|
|
16
14
|
* "osVer": "x",
|
|
17
15
|
* "uniVer": "x",
|
|
18
16
|
* "unixVer": "x"
|
|
19
|
-
* }
|
|
17
|
+
* },
|
|
18
|
+
* "harmony": {
|
|
19
|
+
* "osVer": "x",
|
|
20
|
+
* "uniVer": "x",
|
|
21
|
+
* "unixVer": "x"
|
|
22
|
+
* }
|
|
20
23
|
* },
|
|
21
24
|
* "web": {
|
|
22
25
|
* "uniVer": "x",
|
|
@@ -77,4 +80,4 @@ export type InstallApkOptions = {
|
|
|
77
80
|
* @defaultValue null
|
|
78
81
|
*/
|
|
79
82
|
complete ?: InstallApkCompleteCallback | null
|
|
80
|
-
}
|
|
83
|
+
}
|
|
@@ -18,6 +18,9 @@ export interface Uni {
|
|
|
18
18
|
* 添加拦截器
|
|
19
19
|
* @param name 需要拦截的 API 名称
|
|
20
20
|
* @param interceptor 拦截器
|
|
21
|
+
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/interceptor.html
|
|
22
|
+
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html
|
|
23
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html
|
|
21
24
|
* @uniPlatform {
|
|
22
25
|
* "app": {
|
|
23
26
|
* "android": {
|
|
@@ -29,7 +32,12 @@ export interface Uni {
|
|
|
29
32
|
* "osVer": "12.0",
|
|
30
33
|
* "uniVer": "√",
|
|
31
34
|
* "unixVer": "4.11"
|
|
32
|
-
* }
|
|
35
|
+
* },
|
|
36
|
+
* "harmony": {
|
|
37
|
+
* "osVer": "x",
|
|
38
|
+
* "uniVer": "x",
|
|
39
|
+
* "unixVer": "x"
|
|
40
|
+
* }
|
|
33
41
|
* },
|
|
34
42
|
* "mp": {
|
|
35
43
|
* "weixin": {
|
|
@@ -84,6 +92,9 @@ export interface Uni {
|
|
|
84
92
|
* 删除拦截器
|
|
85
93
|
* @param name 需要删除拦截器的 API 名称
|
|
86
94
|
* @param interceptor 拦截器
|
|
95
|
+
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/interceptor.html#removeinterceptor
|
|
96
|
+
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html#removeinterceptor
|
|
97
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html#removeinterceptor
|
|
87
98
|
* @uniPlatform {
|
|
88
99
|
* "app": {
|
|
89
100
|
* "android": {
|
|
@@ -95,7 +106,12 @@ export interface Uni {
|
|
|
95
106
|
* "osVer": "12.0",
|
|
96
107
|
* "uniVer": "√",
|
|
97
108
|
* "unixVer": "4.11"
|
|
98
|
-
* }
|
|
109
|
+
* },
|
|
110
|
+
* "harmony": {
|
|
111
|
+
* "osVer": "x",
|
|
112
|
+
* "uniVer": "x",
|
|
113
|
+
* "unixVer": "x"
|
|
114
|
+
* }
|
|
99
115
|
* },
|
|
100
116
|
* "mp": {
|
|
101
117
|
* "weixin": {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
HideKeyboardSuccess as HideKeyboardSuccessOrigin,
|
|
4
|
+
HideKeyboardFail as HideKeyboardFailOrigin,
|
|
5
|
+
HideKeyboardSuccessCallback as HideKeyboardSuccessCallbackOrigin,
|
|
6
|
+
HideKeyboardFailCallback as HideKeyboardFailCallbackOrigin,
|
|
7
|
+
HideKeyboardCompleteCallback as HideKeyboardCompleteCallbackOrigin,
|
|
8
|
+
HideKeyboardOptions as HideKeyboardOptionsOrigin,
|
|
9
|
+
HideKeyboard as HideKeyboardOrigin,
|
|
10
|
+
Uni as UniOrigin
|
|
11
|
+
} from './interface'
|
|
12
|
+
|
|
13
|
+
declare global {
|
|
14
|
+
type HideKeyboardSuccess = HideKeyboardSuccessOrigin
|
|
15
|
+
type HideKeyboardFail = HideKeyboardFailOrigin
|
|
16
|
+
type HideKeyboardSuccessCallback = HideKeyboardSuccessCallbackOrigin
|
|
17
|
+
type HideKeyboardFailCallback = HideKeyboardFailCallbackOrigin
|
|
18
|
+
type HideKeyboardCompleteCallback = HideKeyboardCompleteCallbackOrigin
|
|
19
|
+
type HideKeyboardOptions = HideKeyboardOptionsOrigin
|
|
20
|
+
type HideKeyboard = HideKeyboardOrigin
|
|
21
|
+
interface Uni extends UniOrigin { }
|
|
22
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* uni.hideKeyboard成功回调参数
|
|
3
|
+
*/
|
|
4
|
+
export type HideKeyboardSuccess = {}
|
|
5
|
+
|
|
6
|
+
export type HideKeyboardFail = {}
|
|
7
|
+
/**
|
|
8
|
+
* uni.hideKeyboard成功回调函数定义
|
|
9
|
+
*/
|
|
10
|
+
export type HideKeyboardSuccessCallback = (res: HideKeyboardSuccess) => void
|
|
11
|
+
/**
|
|
12
|
+
* uni.hideKeyboard失败回调函数定义
|
|
13
|
+
*/
|
|
14
|
+
export type HideKeyboardFailCallback = (res: HideKeyboardFail) => void
|
|
15
|
+
/**
|
|
16
|
+
* uni.hideKeyboard完成回调函数定义
|
|
17
|
+
*/
|
|
18
|
+
export type HideKeyboardCompleteCallback = (res: any) => void
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* uni.hideKeyboard参数定义
|
|
22
|
+
*/
|
|
23
|
+
export type HideKeyboardOptions = {
|
|
24
|
+
/**
|
|
25
|
+
* 接口调用成功的回调函数
|
|
26
|
+
*/
|
|
27
|
+
success?: HideKeyboardSuccessCallback | null,
|
|
28
|
+
/**
|
|
29
|
+
* 接口调用失败的回调函数
|
|
30
|
+
*/
|
|
31
|
+
fail?: HideKeyboardFailCallback | null,
|
|
32
|
+
/**
|
|
33
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
34
|
+
*/
|
|
35
|
+
complete?: HideKeyboardCompleteCallback | null
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
export interface Uni {
|
|
40
|
+
/**
|
|
41
|
+
* 隐藏键盘
|
|
42
|
+
* @uniPlatform {
|
|
43
|
+
* "app": {
|
|
44
|
+
* "harmony": {
|
|
45
|
+
* "osVer": "3.0",
|
|
46
|
+
* "uniVer": "4.23",
|
|
47
|
+
* "unixVer": "x"
|
|
48
|
+
* }
|
|
49
|
+
* },
|
|
50
|
+
* "web": {
|
|
51
|
+
* "uniVer": "√",
|
|
52
|
+
* "unixVer": "4.0"
|
|
53
|
+
* }
|
|
54
|
+
* }
|
|
55
|
+
* @uniVueVersion 2,3 //支持的vue版本
|
|
56
|
+
*/
|
|
57
|
+
hideKeyboard(options?: HideKeyboardOptions | null): void;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export type HideKeyboard = (options?: HideKeyboardOptions | null) => void;
|
|
@@ -489,6 +489,8 @@ export interface Uni {
|
|
|
489
489
|
/**
|
|
490
490
|
* 动态加载网络字体
|
|
491
491
|
*
|
|
492
|
+
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/font.html#loadfontface
|
|
493
|
+
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/load-font-face.html
|
|
492
494
|
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/load-font-face.html
|
|
493
495
|
* @uniPlatform {
|
|
494
496
|
* "app": {
|
|
@@ -501,7 +503,12 @@ export interface Uni {
|
|
|
501
503
|
* "osVer": "10.0",
|
|
502
504
|
* "uniVer": "√",
|
|
503
505
|
* "unixVer": "4.10"
|
|
504
|
-
* }
|
|
506
|
+
* },
|
|
507
|
+
* "harmony": {
|
|
508
|
+
* "osVer": "x",
|
|
509
|
+
* "uniVer": "x",
|
|
510
|
+
* "unixVer": "x"
|
|
511
|
+
* }
|
|
505
512
|
* },
|
|
506
513
|
* "mp": {
|
|
507
514
|
* "weixin": {
|
package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-makePhoneCall/utssdk/global.d.ts
RENAMED
|
@@ -1,21 +1,24 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
1
2
|
import {
|
|
2
|
-
|
|
3
|
+
MakePhoneCall as MakePhoneCallOrigin,
|
|
3
4
|
MakePhoneCallSuccess as MakePhoneCallSuccessOrigin,
|
|
4
|
-
MakePhoneCallFail as MakePhoneCallFailOrigin,
|
|
5
5
|
MakePhoneCallSuccessCallback as MakePhoneCallSuccessCallbackOrigin,
|
|
6
|
+
MakePhoneCallFail as MakePhoneCallFailOrigin,
|
|
6
7
|
MakePhoneCallFailCallback as MakePhoneCallFailCallbackOrigin,
|
|
8
|
+
MakePhoneCallComplete as MakePhoneCallCompleteOrigin,
|
|
7
9
|
MakePhoneCallCompleteCallback as MakePhoneCallCompleteCallbackOrigin,
|
|
8
|
-
|
|
10
|
+
MakePhoneCallOptions as MakePhoneCallOptionsOrigin,
|
|
9
11
|
Uni as UniOrigin
|
|
10
12
|
} from './interface'
|
|
11
13
|
|
|
12
14
|
declare global {
|
|
13
|
-
type
|
|
15
|
+
type MakePhoneCall = MakePhoneCallOrigin
|
|
14
16
|
type MakePhoneCallSuccess = MakePhoneCallSuccessOrigin
|
|
15
|
-
type MakePhoneCallFail = MakePhoneCallFailOrigin
|
|
16
17
|
type MakePhoneCallSuccessCallback = MakePhoneCallSuccessCallbackOrigin
|
|
18
|
+
type MakePhoneCallFail = MakePhoneCallFailOrigin
|
|
17
19
|
type MakePhoneCallFailCallback = MakePhoneCallFailCallbackOrigin
|
|
20
|
+
type MakePhoneCallComplete = MakePhoneCallCompleteOrigin
|
|
18
21
|
type MakePhoneCallCompleteCallback = MakePhoneCallCompleteCallbackOrigin
|
|
19
|
-
type
|
|
22
|
+
type MakePhoneCallOptions = MakePhoneCallOptionsOrigin
|
|
20
23
|
interface Uni extends UniOrigin { }
|
|
21
24
|
}
|
package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-makePhoneCall/utssdk/index.d.ts
RENAMED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
1
2
|
export {
|
|
3
|
+
MakePhoneCall,
|
|
2
4
|
MakePhoneCallSuccess,
|
|
3
|
-
MakePhoneCallFail,
|
|
4
5
|
MakePhoneCallSuccessCallback,
|
|
6
|
+
MakePhoneCallFail,
|
|
5
7
|
MakePhoneCallFailCallback,
|
|
8
|
+
MakePhoneCallComplete,
|
|
6
9
|
MakePhoneCallCompleteCallback,
|
|
7
10
|
MakePhoneCallOptions,
|
|
8
|
-
MakePhoneCall,
|
|
9
11
|
} from './interface'
|
package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-makePhoneCall/utssdk/interface.d.ts
RENAMED
|
@@ -1,62 +1,10 @@
|
|
|
1
|
-
export interface IMakePhoneCallError extends IUniError {
|
|
2
|
-
errCode: number
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* uni.makePhoneCall成功回调参数
|
|
7
|
-
*/
|
|
8
|
-
export type MakePhoneCallSuccess = {
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* uni.makePhoneCall失败回调参数
|
|
13
|
-
*/
|
|
14
|
-
export type MakePhoneCallFail = IMakePhoneCallError;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* uni.makePhoneCall成功回调函数定义
|
|
18
|
-
*/
|
|
19
|
-
export type MakePhoneCallSuccessCallback = (res: MakePhoneCallSuccess) => void
|
|
20
|
-
/**
|
|
21
|
-
* uni.makePhoneCall失败回调函数定义
|
|
22
|
-
*/
|
|
23
|
-
export type MakePhoneCallFailCallback = (res: MakePhoneCallFail) => void
|
|
24
|
-
/**
|
|
25
|
-
* uni.makePhoneCall完成回调函数定义
|
|
26
|
-
*/
|
|
27
|
-
export type MakePhoneCallCompleteCallback = (res: any) => void
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* uni.makePhoneCall
|
|
31
|
-
*/
|
|
32
|
-
export type MakePhoneCallOptions = {
|
|
33
|
-
/**
|
|
34
|
-
* 需要拨打的电话号码
|
|
35
|
-
*/
|
|
36
|
-
phoneNumber: string;
|
|
37
|
-
/**
|
|
38
|
-
* 成功返回的回调函数
|
|
39
|
-
*/
|
|
40
|
-
success?: MakePhoneCallSuccessCallback;
|
|
41
|
-
/**
|
|
42
|
-
* 失败的回调函数
|
|
43
|
-
*/
|
|
44
|
-
fail?: MakePhoneCallFailCallback;
|
|
45
|
-
/**
|
|
46
|
-
* 结束的回调函数(调用成功、失败都会执行)
|
|
47
|
-
*/
|
|
48
|
-
complete?: MakePhoneCallCompleteCallback;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export type MakePhoneCall = (options: MakePhoneCallOptions) => void
|
|
52
|
-
|
|
53
|
-
|
|
54
1
|
export interface Uni {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
2
|
+
/**
|
|
3
|
+
* 拨打电话
|
|
4
|
+
*
|
|
5
|
+
* @tutorial https://uniapp.dcloud.net.cn/api/system/phone.html#makephonecall
|
|
6
|
+
* @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/phone.html#makephonecall
|
|
7
|
+
* @uniPlatform {
|
|
60
8
|
* "app": {
|
|
61
9
|
* "android": {
|
|
62
10
|
* "osVer": "5.0",
|
|
@@ -67,6 +15,11 @@ export interface Uni {
|
|
|
67
15
|
* "osVer": "12.0",
|
|
68
16
|
* "uniVer": "√",
|
|
69
17
|
* "unixVer": "x"
|
|
18
|
+
* },
|
|
19
|
+
* "harmony": {
|
|
20
|
+
* "osVer": "3.0",
|
|
21
|
+
* "uniVer": "4.23",
|
|
22
|
+
* "unixVer": "x"
|
|
70
23
|
* }
|
|
71
24
|
* },
|
|
72
25
|
* "mp": {
|
|
@@ -93,7 +46,7 @@ export interface Uni {
|
|
|
93
46
|
* "lark": {
|
|
94
47
|
* "hostVer": "√",
|
|
95
48
|
* "uniVer": "√",
|
|
96
|
-
* "unixVer": "
|
|
49
|
+
* "unixVer": "√"
|
|
97
50
|
* },
|
|
98
51
|
* "qq": {
|
|
99
52
|
* "hostVer": "√",
|
|
@@ -116,6 +69,32 @@ export interface Uni {
|
|
|
116
69
|
* "unixVer": "4.0"
|
|
117
70
|
* }
|
|
118
71
|
* }
|
|
119
|
-
|
|
120
|
-
|
|
72
|
+
*/
|
|
73
|
+
makePhoneCall: MakePhoneCall;
|
|
121
74
|
}
|
|
75
|
+
|
|
76
|
+
export type MakePhoneCall = (options: MakePhoneCallOptions) => void;
|
|
77
|
+
export type MakePhoneCallSuccess = {};
|
|
78
|
+
export type MakePhoneCallSuccessCallback = (result: MakePhoneCallSuccess) => void;
|
|
79
|
+
export type MakePhoneCallFail = UniError;
|
|
80
|
+
export type MakePhoneCallFailCallback = (result: MakePhoneCallFail) => void;
|
|
81
|
+
export type MakePhoneCallComplete = any;
|
|
82
|
+
export type MakePhoneCallCompleteCallback = (result: MakePhoneCallComplete) => void;
|
|
83
|
+
export type MakePhoneCallOptions = {
|
|
84
|
+
/**
|
|
85
|
+
* 需要拨打的电话号码
|
|
86
|
+
*/
|
|
87
|
+
phoneNumber: string,
|
|
88
|
+
/**
|
|
89
|
+
* 成功返回的回调函数
|
|
90
|
+
*/
|
|
91
|
+
success?: MakePhoneCallSuccessCallback | null,
|
|
92
|
+
/**
|
|
93
|
+
* 失败的回调函数
|
|
94
|
+
*/
|
|
95
|
+
fail?: MakePhoneCallFailCallback | null,
|
|
96
|
+
/**
|
|
97
|
+
* 结束的回调函数(调用成功、失败都会执行)
|
|
98
|
+
*/
|
|
99
|
+
complete?: MakePhoneCallCompleteCallback | null
|
|
100
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// 本文件为自动构建生成
|
|
2
2
|
import {
|
|
3
|
+
MediaOrientation as MediaOrientationOrigin,
|
|
3
4
|
MediaErrorCode as MediaErrorCodeOrigin,
|
|
4
5
|
IMediaError as IMediaErrorOrigin,
|
|
5
6
|
ChooseImageSuccess as ChooseImageSuccessOrigin,
|
|
@@ -79,6 +80,7 @@ import {
|
|
|
79
80
|
} from './interface'
|
|
80
81
|
|
|
81
82
|
declare global {
|
|
83
|
+
type MediaOrientation = MediaOrientationOrigin
|
|
82
84
|
type MediaErrorCode = MediaErrorCodeOrigin
|
|
83
85
|
type IMediaError = IMediaErrorOrigin
|
|
84
86
|
type ChooseImageSuccess = ChooseImageSuccessOrigin
|