@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
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
export interface Uni {
|
|
2
2
|
/**
|
|
3
|
-
* @description
|
|
4
3
|
* 开启监听系统主题变化
|
|
5
|
-
*
|
|
6
|
-
* @
|
|
7
|
-
* @return {number}
|
|
8
|
-
* @tutorial
|
|
4
|
+
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#onosthemechange
|
|
5
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#onosthemechange
|
|
9
6
|
* @uniPlatform
|
|
10
7
|
* {
|
|
11
8
|
* "app": {
|
|
@@ -18,7 +15,12 @@ export interface Uni {
|
|
|
18
15
|
* "osVer": "12.0",
|
|
19
16
|
* "uniVer": "x",
|
|
20
17
|
* "unixVer": "4.18"
|
|
21
|
-
* }
|
|
18
|
+
* },
|
|
19
|
+
* "harmony": {
|
|
20
|
+
* "osVer": "x",
|
|
21
|
+
* "uniVer": "x",
|
|
22
|
+
* "unixVer": "x"
|
|
23
|
+
* }
|
|
22
24
|
* },
|
|
23
25
|
* "web": {
|
|
24
26
|
* "uniVer": "x",
|
|
@@ -35,12 +37,9 @@ export interface Uni {
|
|
|
35
37
|
onOsThemeChange(callback : OnOsThemeChangeCallback): number
|
|
36
38
|
|
|
37
39
|
/**
|
|
38
|
-
* @description
|
|
39
40
|
* 取消监听系统主题变化
|
|
40
|
-
*
|
|
41
|
-
* @
|
|
42
|
-
* @return {void}
|
|
43
|
-
* @tutorial
|
|
41
|
+
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#offosthemechange
|
|
42
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#offosthemechange
|
|
44
43
|
* @uniPlatform
|
|
45
44
|
* {
|
|
46
45
|
* "app": {
|
|
@@ -53,7 +52,12 @@ export interface Uni {
|
|
|
53
52
|
* "osVer": "12.0",
|
|
54
53
|
* "uniVer": "x",
|
|
55
54
|
* "unixVer": "4.18"
|
|
56
|
-
* }
|
|
55
|
+
* },
|
|
56
|
+
* "harmony": {
|
|
57
|
+
* "osVer": "x",
|
|
58
|
+
* "uniVer": "x",
|
|
59
|
+
* "unixVer": "x"
|
|
60
|
+
* }
|
|
57
61
|
* },
|
|
58
62
|
* "web": {
|
|
59
63
|
* "uniVer": "x",
|
|
@@ -62,120 +66,111 @@ export interface Uni {
|
|
|
62
66
|
* }
|
|
63
67
|
* @example
|
|
64
68
|
```typescript
|
|
65
|
-
uni.offOsThemeChange(id)
|
|
69
|
+
uni.offOsThemeChange(id)
|
|
66
70
|
```
|
|
67
71
|
*/
|
|
68
|
-
offOsThemeChange(id : number): void
|
|
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
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
console.log(
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
console.log(
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
})
|
|
110
|
-
```
|
|
72
|
+
offOsThemeChange(id : number): void
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* 设置应用主题
|
|
76
|
+
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#setapptheme
|
|
77
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#setapptheme
|
|
78
|
+
* @uniPlatform
|
|
79
|
+
* {
|
|
80
|
+
* "app": {
|
|
81
|
+
* "android": {
|
|
82
|
+
* "osVer": "5.0",
|
|
83
|
+
* "uniVer": "x",
|
|
84
|
+
* "unixVer": "4.18"
|
|
85
|
+
* },
|
|
86
|
+
* "ios": {
|
|
87
|
+
* "osVer": "12.0",
|
|
88
|
+
* "uniVer": "x",
|
|
89
|
+
* "unixVer": "4.18"
|
|
90
|
+
* }
|
|
91
|
+
* },
|
|
92
|
+
* "web": {
|
|
93
|
+
* "uniVer": "x",
|
|
94
|
+
* "unixVer": "x"
|
|
95
|
+
* }
|
|
96
|
+
* }
|
|
97
|
+
* @example
|
|
98
|
+
```typescript
|
|
99
|
+
uni.setAppTheme({
|
|
100
|
+
theme: 'dark',
|
|
101
|
+
success: (res) => {
|
|
102
|
+
console.log('success')
|
|
103
|
+
},
|
|
104
|
+
fail: (err) => {
|
|
105
|
+
console.log(err)
|
|
106
|
+
},
|
|
107
|
+
complete: (res) => {
|
|
108
|
+
console.log('complete')
|
|
109
|
+
}
|
|
110
|
+
})
|
|
111
|
+
```
|
|
111
112
|
*/
|
|
112
|
-
setAppTheme(options : SetAppThemeOptions): void
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
* @
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
* "
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
console.log(res.appTheme)
|
|
144
|
-
})
|
|
145
|
-
```
|
|
113
|
+
setAppTheme(options : SetAppThemeOptions): void
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* 开启监听应用主题变化
|
|
117
|
+
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#onappthemechange
|
|
118
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#onappthemechange
|
|
119
|
+
* @uniPlatform
|
|
120
|
+
* {
|
|
121
|
+
* "app": {
|
|
122
|
+
* "android": {
|
|
123
|
+
* "osVer": "5.0",
|
|
124
|
+
* "uniVer": "x",
|
|
125
|
+
* "unixVer": "4.18"
|
|
126
|
+
* },
|
|
127
|
+
* "ios": {
|
|
128
|
+
* "osVer": "12.0",
|
|
129
|
+
* "uniVer": "x",
|
|
130
|
+
* "unixVer": "4.18"
|
|
131
|
+
* }
|
|
132
|
+
* },
|
|
133
|
+
* "web": {
|
|
134
|
+
* "uniVer": "x",
|
|
135
|
+
* "unixVer": "x"
|
|
136
|
+
* }
|
|
137
|
+
* }
|
|
138
|
+
* @example
|
|
139
|
+
```typescript
|
|
140
|
+
const id = uni.onAppThemeChange((res) => {
|
|
141
|
+
console.log(res.appTheme)
|
|
142
|
+
})
|
|
143
|
+
```
|
|
146
144
|
*/
|
|
147
|
-
onAppThemeChange(callback : OnAppThemeChangeCallback): number
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
* @
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
* "
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
```typescript
|
|
177
|
-
uni.offAppThemeChange(id)
|
|
178
|
-
```
|
|
145
|
+
onAppThemeChange(callback : OnAppThemeChangeCallback): number
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* 取消监听应用主题变化
|
|
149
|
+
* @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/theme.html#offappthemechange
|
|
150
|
+
* @tutorial https://doc.dcloud.net.cn/uni-app-x/api/theme.html#offappthemechange
|
|
151
|
+
* @uniPlatform
|
|
152
|
+
* {
|
|
153
|
+
* "app": {
|
|
154
|
+
* "android": {
|
|
155
|
+
* "osVer": "5.0",
|
|
156
|
+
* "uniVer": "x",
|
|
157
|
+
* "unixVer": "4.18"
|
|
158
|
+
* },
|
|
159
|
+
* "ios": {
|
|
160
|
+
* "osVer": "12.0",
|
|
161
|
+
* "uniVer": "x",
|
|
162
|
+
* "unixVer": "4.18"
|
|
163
|
+
* }
|
|
164
|
+
* },
|
|
165
|
+
* "web": {
|
|
166
|
+
* "uniVer": "x",
|
|
167
|
+
* "unixVer": "x"
|
|
168
|
+
* }
|
|
169
|
+
* }
|
|
170
|
+
* @example
|
|
171
|
+
```typescript
|
|
172
|
+
uni.offAppThemeChange(id)
|
|
173
|
+
```
|
|
179
174
|
*/
|
|
180
175
|
offAppThemeChange(id : number): void
|
|
181
176
|
}
|
|
@@ -193,7 +188,12 @@ export interface Uni {
|
|
|
193
188
|
* "osVer": "12.0",
|
|
194
189
|
* "uniVer": "x",
|
|
195
190
|
* "unixVer": "4.18"
|
|
196
|
-
* }
|
|
191
|
+
* },
|
|
192
|
+
* "harmony": {
|
|
193
|
+
* "osVer": "x",
|
|
194
|
+
* "uniVer": "x",
|
|
195
|
+
* "unixVer": "x"
|
|
196
|
+
* }
|
|
197
197
|
* },
|
|
198
198
|
* "web": {
|
|
199
199
|
* "uniVer": "x",
|
|
@@ -216,7 +216,12 @@ export type OsThemeChangeResult = {
|
|
|
216
216
|
* "osVer": "12.0",
|
|
217
217
|
* "uniVer": "x",
|
|
218
218
|
* "unixVer": "4.18"
|
|
219
|
-
* }
|
|
219
|
+
* },
|
|
220
|
+
* "harmony": {
|
|
221
|
+
* "osVer": "x",
|
|
222
|
+
* "uniVer": "x",
|
|
223
|
+
* "unixVer": "x"
|
|
224
|
+
* }
|
|
220
225
|
* },
|
|
221
226
|
* "web": {
|
|
222
227
|
* "uniVer": "x",
|
|
@@ -240,7 +245,12 @@ export type OsThemeChangeResult = {
|
|
|
240
245
|
* "osVer": "12.0",
|
|
241
246
|
* "uniVer": "x",
|
|
242
247
|
* "unixVer": "4.18"
|
|
243
|
-
* }
|
|
248
|
+
* },
|
|
249
|
+
* "harmony": {
|
|
250
|
+
* "osVer": "x",
|
|
251
|
+
* "uniVer": "x",
|
|
252
|
+
* "unixVer": "x"
|
|
253
|
+
* }
|
|
244
254
|
* },
|
|
245
255
|
* "web": {
|
|
246
256
|
* "uniVer": "x",
|
|
@@ -263,7 +273,12 @@ export type AppThemeChangeResult = {
|
|
|
263
273
|
* "osVer": "12.0",
|
|
264
274
|
* "uniVer": "x",
|
|
265
275
|
* "unixVer": "4.18"
|
|
266
|
-
* }
|
|
276
|
+
* },
|
|
277
|
+
* "harmony": {
|
|
278
|
+
* "osVer": "x",
|
|
279
|
+
* "uniVer": "x",
|
|
280
|
+
* "unixVer": "x"
|
|
281
|
+
* }
|
|
267
282
|
* },
|
|
268
283
|
* "web": {
|
|
269
284
|
* "uniVer": "x",
|
|
@@ -274,22 +289,22 @@ export type AppThemeChangeResult = {
|
|
|
274
289
|
appTheme : string
|
|
275
290
|
}
|
|
276
291
|
|
|
277
|
-
/*
|
|
278
|
-
* 系统主题相关类型定义
|
|
292
|
+
/*
|
|
293
|
+
* 系统主题相关类型定义
|
|
279
294
|
*/
|
|
280
295
|
export type OnOsThemeChangeCallback = (res : OsThemeChangeResult) => void
|
|
281
296
|
export type OnOsThemeChange = (callback : OnOsThemeChangeCallback) => number
|
|
282
297
|
export type OffOsThemeChange = (id : number) => void
|
|
283
|
-
|
|
284
|
-
/*
|
|
285
|
-
* 应用主题相关类型定义
|
|
298
|
+
|
|
299
|
+
/*
|
|
300
|
+
* 应用主题相关类型定义
|
|
286
301
|
*/
|
|
287
302
|
export type SetAppTheme = (options : SetAppThemeOptions) => void
|
|
288
303
|
export type OnAppThemeChangeCallback = (res : AppThemeChangeResult) => void
|
|
289
304
|
export type OnAppThemeChange = (callback : OnAppThemeChangeCallback) => number
|
|
290
|
-
export type OffAppThemeChange = (id : number) => void
|
|
291
|
-
export type SetAppThemeSuccessResult = {
|
|
292
|
-
theme : string
|
|
305
|
+
export type OffAppThemeChange = (id : number) => void
|
|
306
|
+
export type SetAppThemeSuccessResult = {
|
|
307
|
+
theme : string
|
|
293
308
|
}
|
|
294
309
|
export type SetAppThemeSuccessCallback = (result : SetAppThemeSuccessResult) => void;
|
|
295
310
|
export type SetAppThemeFailCallback = (result : AppThemeFail) => void;
|
|
@@ -308,7 +323,12 @@ export type SetAppThemeCompleteCallback = (result : any) => void;
|
|
|
308
323
|
* "osVer": "12.0",
|
|
309
324
|
* "uniVer": "x",
|
|
310
325
|
* "unixVer": "4.18"
|
|
311
|
-
* }
|
|
326
|
+
* },
|
|
327
|
+
* "harmony": {
|
|
328
|
+
* "osVer": "x",
|
|
329
|
+
* "uniVer": "x",
|
|
330
|
+
* "unixVer": "x"
|
|
331
|
+
* }
|
|
312
332
|
* },
|
|
313
333
|
* "web": {
|
|
314
334
|
* "uniVer": "x",
|
|
@@ -331,7 +351,12 @@ export type SetAppThemeOptions = {
|
|
|
331
351
|
* "osVer": "12.0",
|
|
332
352
|
* "uniVer": "x",
|
|
333
353
|
* "unixVer": "4.18"
|
|
334
|
-
* }
|
|
354
|
+
* },
|
|
355
|
+
* "harmony": {
|
|
356
|
+
* "osVer": "x",
|
|
357
|
+
* "uniVer": "x",
|
|
358
|
+
* "unixVer": "x"
|
|
359
|
+
* }
|
|
335
360
|
* },
|
|
336
361
|
* "web": {
|
|
337
362
|
* "uniVer": "x",
|
|
@@ -355,7 +380,12 @@ export type SetAppThemeOptions = {
|
|
|
355
380
|
* "osVer": "12.0",
|
|
356
381
|
* "uniVer": "x",
|
|
357
382
|
* "unixVer": "4.18"
|
|
358
|
-
* }
|
|
383
|
+
* },
|
|
384
|
+
* "harmony": {
|
|
385
|
+
* "osVer": "x",
|
|
386
|
+
* "uniVer": "x",
|
|
387
|
+
* "unixVer": "x"
|
|
388
|
+
* }
|
|
359
389
|
* },
|
|
360
390
|
* "web": {
|
|
361
391
|
* "uniVer": "x",
|
|
@@ -379,7 +409,12 @@ export type SetAppThemeOptions = {
|
|
|
379
409
|
* "osVer": "12.0",
|
|
380
410
|
* "uniVer": "x",
|
|
381
411
|
* "unixVer": "4.18"
|
|
382
|
-
* }
|
|
412
|
+
* },
|
|
413
|
+
* "harmony": {
|
|
414
|
+
* "osVer": "x",
|
|
415
|
+
* "uniVer": "x",
|
|
416
|
+
* "unixVer": "x"
|
|
417
|
+
* }
|
|
383
418
|
* },
|
|
384
419
|
* "web": {
|
|
385
420
|
* "uniVer": "x",
|
|
@@ -403,7 +438,12 @@ export type SetAppThemeOptions = {
|
|
|
403
438
|
* "osVer": "12.0",
|
|
404
439
|
* "uniVer": "x",
|
|
405
440
|
* "unixVer": "4.18"
|
|
406
|
-
* }
|
|
441
|
+
* },
|
|
442
|
+
* "harmony": {
|
|
443
|
+
* "osVer": "x",
|
|
444
|
+
* "uniVer": "x",
|
|
445
|
+
* "unixVer": "x"
|
|
446
|
+
* }
|
|
407
447
|
* },
|
|
408
448
|
* "web": {
|
|
409
449
|
* "uniVer": "x",
|
|
@@ -414,9 +454,9 @@ export type SetAppThemeOptions = {
|
|
|
414
454
|
complete? : SetAppThemeCompleteCallback
|
|
415
455
|
}
|
|
416
456
|
|
|
417
|
-
/**
|
|
418
|
-
* 错误码
|
|
419
|
-
* - 702001 参数错误
|
|
457
|
+
/**
|
|
458
|
+
* 错误码
|
|
459
|
+
* - 702001 参数错误
|
|
420
460
|
* - 2002000 未知错误
|
|
421
461
|
* @uniPlatform
|
|
422
462
|
* {
|
|
@@ -430,14 +470,19 @@ export type SetAppThemeOptions = {
|
|
|
430
470
|
* "osVer": "12.0",
|
|
431
471
|
* "uniVer": "x",
|
|
432
472
|
* "unixVer": "4.18"
|
|
433
|
-
* }
|
|
473
|
+
* },
|
|
474
|
+
* "harmony": {
|
|
475
|
+
* "osVer": "x",
|
|
476
|
+
* "uniVer": "x",
|
|
477
|
+
* "unixVer": "x"
|
|
478
|
+
* }
|
|
434
479
|
* },
|
|
435
480
|
* "web": {
|
|
436
481
|
* "uniVer": "x",
|
|
437
482
|
* "unixVer": "x"
|
|
438
483
|
* }
|
|
439
|
-
* }
|
|
440
|
-
*/
|
|
484
|
+
* }
|
|
485
|
+
*/
|
|
441
486
|
export type AppThemeErrorCode = 702001 | 2002000;
|
|
442
487
|
export type AppThemeFail = IAppThemeFail;
|
|
443
488
|
/**
|
|
@@ -453,7 +498,12 @@ export type AppThemeFail = IAppThemeFail;
|
|
|
453
498
|
* "osVer": "12.0",
|
|
454
499
|
* "uniVer": "x",
|
|
455
500
|
* "unixVer": "4.18"
|
|
456
|
-
* }
|
|
501
|
+
* },
|
|
502
|
+
* "harmony": {
|
|
503
|
+
* "osVer": "x",
|
|
504
|
+
* "uniVer": "x",
|
|
505
|
+
* "unixVer": "x"
|
|
506
|
+
* }
|
|
457
507
|
* },
|
|
458
508
|
* "web": {
|
|
459
509
|
* "uniVer": "x",
|
|
@@ -461,6 +511,6 @@ export type AppThemeFail = IAppThemeFail;
|
|
|
461
511
|
* }
|
|
462
512
|
* }
|
|
463
513
|
*/
|
|
464
|
-
export interface IAppThemeFail extends IUniError {
|
|
465
|
-
errCode : AppThemeErrorCode
|
|
466
|
-
};
|
|
514
|
+
export interface IAppThemeFail extends IUniError {
|
|
515
|
+
errCode : AppThemeErrorCode
|
|
516
|
+
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
RequestVirtualPaymentFailImpl as RequestVirtualPaymentFailImplOrigin,
|
|
4
|
+
GetVirtualPaymentManager as GetVirtualPaymentManagerOrigin,
|
|
5
|
+
VirtualPaymentManager as VirtualPaymentManagerOrigin,
|
|
6
|
+
RequestVirtualPaymentErrorCode as RequestVirtualPaymentErrorCodeOrigin,
|
|
7
|
+
RequestVirtualPayment as RequestVirtualPaymentOrigin,
|
|
8
|
+
AppleIAPPromotionalOffer as AppleIAPPromotionalOfferOrigin,
|
|
9
|
+
AppleIAPTransactionOptions as AppleIAPTransactionOptionsOrigin,
|
|
10
|
+
GoolgeIapSuccessOptions as GoolgeIapSuccessOptionsOrigin,
|
|
11
|
+
HuaweiIapSuccessOptions as HuaweiIapSuccessOptionsOrigin,
|
|
12
|
+
WeixinIapSuccessOptions as WeixinIapSuccessOptionsOrigin,
|
|
13
|
+
RequestVirtualPaymentSuccess as RequestVirtualPaymentSuccessOrigin,
|
|
14
|
+
RequestVirtualPaymentSuccessCallback as RequestVirtualPaymentSuccessCallbackOrigin,
|
|
15
|
+
RequestVirtualPaymentFail as RequestVirtualPaymentFailOrigin,
|
|
16
|
+
RequestVirtualPaymentFailCallback as RequestVirtualPaymentFailCallbackOrigin,
|
|
17
|
+
IRequestVirtualPaymentFail as IRequestVirtualPaymentFailOrigin,
|
|
18
|
+
RequestVirtualPaymentComplete as RequestVirtualPaymentCompleteOrigin,
|
|
19
|
+
RequestVirtualPaymentCompleteCallback as RequestVirtualPaymentCompleteCallbackOrigin,
|
|
20
|
+
AppleIAPOptions as AppleIAPOptionsOrigin,
|
|
21
|
+
GoogleIapOptions as GoogleIapOptionsOrigin,
|
|
22
|
+
HuaweiIapOptions as HuaweiIapOptionsOrigin,
|
|
23
|
+
WeixinIapOptions as WeixinIapOptionsOrigin,
|
|
24
|
+
RequestVirtualPaymentOptions as RequestVirtualPaymentOptionsOrigin,
|
|
25
|
+
RestoreTransactions as RestoreTransactionsOrigin,
|
|
26
|
+
AppleIAPRestoreSuccess as AppleIAPRestoreSuccessOrigin,
|
|
27
|
+
AppleIAPRestoreSuccessCallback as AppleIAPRestoreSuccessCallbackOrigin,
|
|
28
|
+
AppleIAPRestoreFail as AppleIAPRestoreFailOrigin,
|
|
29
|
+
AppleIAPRestoreFailCallback as AppleIAPRestoreFailCallbackOrigin,
|
|
30
|
+
IAppleIAPRestoreFail as IAppleIAPRestoreFailOrigin,
|
|
31
|
+
AppleIAPRestoreComplete as AppleIAPRestoreCompleteOrigin,
|
|
32
|
+
AppleIAPRestoreCompleteCallback as AppleIAPRestoreCompleteCallbackOrigin,
|
|
33
|
+
AppleIAPRestoreErrorCode as AppleIAPRestoreErrorCodeOrigin,
|
|
34
|
+
AppleIAPRestoreOptions as AppleIAPRestoreOptionsOrigin,
|
|
35
|
+
GetUnfinishedTransactions as GetUnfinishedTransactionsOrigin,
|
|
36
|
+
AppleIAPUnfinishedTransactionSuccess as AppleIAPUnfinishedTransactionSuccessOrigin,
|
|
37
|
+
AppleIAPUnfinishedTransactionSuccessCallback as AppleIAPUnfinishedTransactionSuccessCallbackOrigin,
|
|
38
|
+
AppleIAPUnfinishedTransactionFail as AppleIAPUnfinishedTransactionFailOrigin,
|
|
39
|
+
AppleIAPUnfinishedTransactionFailCallback as AppleIAPUnfinishedTransactionFailCallbackOrigin,
|
|
40
|
+
IAppleIAPUnfinishedTransactionFail as IAppleIAPUnfinishedTransactionFailOrigin,
|
|
41
|
+
AppleIAPUnfinishedTransactionComplete as AppleIAPUnfinishedTransactionCompleteOrigin,
|
|
42
|
+
AppleIAPUnfinishedTransactionCompleteCallback as AppleIAPUnfinishedTransactionCompleteCallbackOrigin,
|
|
43
|
+
AppleIAPUnfinishedTransactionErrorCode as AppleIAPUnfinishedTransactionErrorCodeOrigin,
|
|
44
|
+
AppleIAPUnfinishedTransactionOptions as AppleIAPUnfinishedTransactionOptionsOrigin,
|
|
45
|
+
FinishTransaction as FinishTransactionOrigin,
|
|
46
|
+
AppleIAPFinishTransactionSuccess as AppleIAPFinishTransactionSuccessOrigin,
|
|
47
|
+
AppleIAPFinishTransactionSuccessCallback as AppleIAPFinishTransactionSuccessCallbackOrigin,
|
|
48
|
+
AppleIAPFinishTransactionFail as AppleIAPFinishTransactionFailOrigin,
|
|
49
|
+
AppleIAPFinishTransactionFailCallback as AppleIAPFinishTransactionFailCallbackOrigin,
|
|
50
|
+
IAppleIAPFinishTransactionFail as IAppleIAPFinishTransactionFailOrigin,
|
|
51
|
+
AppleIAPFinishTransactionComplete as AppleIAPFinishTransactionCompleteOrigin,
|
|
52
|
+
AppleIAPFinishTransactionCompleteCallback as AppleIAPFinishTransactionCompleteCallbackOrigin,
|
|
53
|
+
AppleIAPFinishTransactionFailErrorCode as AppleIAPFinishTransactionFailErrorCodeOrigin,
|
|
54
|
+
AppleIAPFinishTransactionOptions as AppleIAPFinishTransactionOptionsOrigin,
|
|
55
|
+
Uni as UniOrigin
|
|
56
|
+
} from './interface'
|
|
57
|
+
|
|
58
|
+
declare global {
|
|
59
|
+
type RequestVirtualPaymentFailImpl = RequestVirtualPaymentFailImplOrigin
|
|
60
|
+
type GetVirtualPaymentManager = GetVirtualPaymentManagerOrigin
|
|
61
|
+
type VirtualPaymentManager = VirtualPaymentManagerOrigin
|
|
62
|
+
type RequestVirtualPaymentErrorCode = RequestVirtualPaymentErrorCodeOrigin
|
|
63
|
+
type RequestVirtualPayment = RequestVirtualPaymentOrigin
|
|
64
|
+
type AppleIAPPromotionalOffer = AppleIAPPromotionalOfferOrigin
|
|
65
|
+
type AppleIAPTransactionOptions = AppleIAPTransactionOptionsOrigin
|
|
66
|
+
type GoolgeIapSuccessOptions = GoolgeIapSuccessOptionsOrigin
|
|
67
|
+
type HuaweiIapSuccessOptions = HuaweiIapSuccessOptionsOrigin
|
|
68
|
+
type WeixinIapSuccessOptions = WeixinIapSuccessOptionsOrigin
|
|
69
|
+
type RequestVirtualPaymentSuccess = RequestVirtualPaymentSuccessOrigin
|
|
70
|
+
type RequestVirtualPaymentSuccessCallback = RequestVirtualPaymentSuccessCallbackOrigin
|
|
71
|
+
type RequestVirtualPaymentFail = RequestVirtualPaymentFailOrigin
|
|
72
|
+
type RequestVirtualPaymentFailCallback = RequestVirtualPaymentFailCallbackOrigin
|
|
73
|
+
type IRequestVirtualPaymentFail = IRequestVirtualPaymentFailOrigin
|
|
74
|
+
type RequestVirtualPaymentComplete = RequestVirtualPaymentCompleteOrigin
|
|
75
|
+
type RequestVirtualPaymentCompleteCallback = RequestVirtualPaymentCompleteCallbackOrigin
|
|
76
|
+
type AppleIAPOptions = AppleIAPOptionsOrigin
|
|
77
|
+
type GoogleIapOptions = GoogleIapOptionsOrigin
|
|
78
|
+
type HuaweiIapOptions = HuaweiIapOptionsOrigin
|
|
79
|
+
type WeixinIapOptions = WeixinIapOptionsOrigin
|
|
80
|
+
type RequestVirtualPaymentOptions = RequestVirtualPaymentOptionsOrigin
|
|
81
|
+
type RestoreTransactions = RestoreTransactionsOrigin
|
|
82
|
+
type AppleIAPRestoreSuccess = AppleIAPRestoreSuccessOrigin
|
|
83
|
+
type AppleIAPRestoreSuccessCallback = AppleIAPRestoreSuccessCallbackOrigin
|
|
84
|
+
type AppleIAPRestoreFail = AppleIAPRestoreFailOrigin
|
|
85
|
+
type AppleIAPRestoreFailCallback = AppleIAPRestoreFailCallbackOrigin
|
|
86
|
+
type IAppleIAPRestoreFail = IAppleIAPRestoreFailOrigin
|
|
87
|
+
type AppleIAPRestoreComplete = AppleIAPRestoreCompleteOrigin
|
|
88
|
+
type AppleIAPRestoreCompleteCallback = AppleIAPRestoreCompleteCallbackOrigin
|
|
89
|
+
type AppleIAPRestoreErrorCode = AppleIAPRestoreErrorCodeOrigin
|
|
90
|
+
type AppleIAPRestoreOptions = AppleIAPRestoreOptionsOrigin
|
|
91
|
+
type GetUnfinishedTransactions = GetUnfinishedTransactionsOrigin
|
|
92
|
+
type AppleIAPUnfinishedTransactionSuccess = AppleIAPUnfinishedTransactionSuccessOrigin
|
|
93
|
+
type AppleIAPUnfinishedTransactionSuccessCallback = AppleIAPUnfinishedTransactionSuccessCallbackOrigin
|
|
94
|
+
type AppleIAPUnfinishedTransactionFail = AppleIAPUnfinishedTransactionFailOrigin
|
|
95
|
+
type AppleIAPUnfinishedTransactionFailCallback = AppleIAPUnfinishedTransactionFailCallbackOrigin
|
|
96
|
+
type IAppleIAPUnfinishedTransactionFail = IAppleIAPUnfinishedTransactionFailOrigin
|
|
97
|
+
type AppleIAPUnfinishedTransactionComplete = AppleIAPUnfinishedTransactionCompleteOrigin
|
|
98
|
+
type AppleIAPUnfinishedTransactionCompleteCallback = AppleIAPUnfinishedTransactionCompleteCallbackOrigin
|
|
99
|
+
type AppleIAPUnfinishedTransactionErrorCode = AppleIAPUnfinishedTransactionErrorCodeOrigin
|
|
100
|
+
type AppleIAPUnfinishedTransactionOptions = AppleIAPUnfinishedTransactionOptionsOrigin
|
|
101
|
+
type FinishTransaction = FinishTransactionOrigin
|
|
102
|
+
type AppleIAPFinishTransactionSuccess = AppleIAPFinishTransactionSuccessOrigin
|
|
103
|
+
type AppleIAPFinishTransactionSuccessCallback = AppleIAPFinishTransactionSuccessCallbackOrigin
|
|
104
|
+
type AppleIAPFinishTransactionFail = AppleIAPFinishTransactionFailOrigin
|
|
105
|
+
type AppleIAPFinishTransactionFailCallback = AppleIAPFinishTransactionFailCallbackOrigin
|
|
106
|
+
type IAppleIAPFinishTransactionFail = IAppleIAPFinishTransactionFailOrigin
|
|
107
|
+
type AppleIAPFinishTransactionComplete = AppleIAPFinishTransactionCompleteOrigin
|
|
108
|
+
type AppleIAPFinishTransactionCompleteCallback = AppleIAPFinishTransactionCompleteCallbackOrigin
|
|
109
|
+
type AppleIAPFinishTransactionFailErrorCode = AppleIAPFinishTransactionFailErrorCodeOrigin
|
|
110
|
+
type AppleIAPFinishTransactionOptions = AppleIAPFinishTransactionOptionsOrigin
|
|
111
|
+
interface Uni extends UniOrigin { }
|
|
112
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
export {
|
|
3
|
+
RequestVirtualPaymentFailImpl,
|
|
4
|
+
GetVirtualPaymentManager,
|
|
5
|
+
VirtualPaymentManager,
|
|
6
|
+
RequestVirtualPaymentErrorCode,
|
|
7
|
+
RequestVirtualPayment,
|
|
8
|
+
AppleIAPPromotionalOffer,
|
|
9
|
+
AppleIAPTransactionOptions,
|
|
10
|
+
GoolgeIapSuccessOptions,
|
|
11
|
+
HuaweiIapSuccessOptions,
|
|
12
|
+
WeixinIapSuccessOptions,
|
|
13
|
+
RequestVirtualPaymentSuccess,
|
|
14
|
+
RequestVirtualPaymentSuccessCallback,
|
|
15
|
+
RequestVirtualPaymentFail,
|
|
16
|
+
RequestVirtualPaymentFailCallback,
|
|
17
|
+
IRequestVirtualPaymentFail,
|
|
18
|
+
RequestVirtualPaymentComplete,
|
|
19
|
+
RequestVirtualPaymentCompleteCallback,
|
|
20
|
+
AppleIAPOptions,
|
|
21
|
+
GoogleIapOptions,
|
|
22
|
+
HuaweiIapOptions,
|
|
23
|
+
WeixinIapOptions,
|
|
24
|
+
RequestVirtualPaymentOptions,
|
|
25
|
+
RestoreTransactions,
|
|
26
|
+
AppleIAPRestoreSuccess,
|
|
27
|
+
AppleIAPRestoreSuccessCallback,
|
|
28
|
+
AppleIAPRestoreFail,
|
|
29
|
+
AppleIAPRestoreFailCallback,
|
|
30
|
+
IAppleIAPRestoreFail,
|
|
31
|
+
AppleIAPRestoreComplete,
|
|
32
|
+
AppleIAPRestoreCompleteCallback,
|
|
33
|
+
AppleIAPRestoreErrorCode,
|
|
34
|
+
AppleIAPRestoreOptions,
|
|
35
|
+
GetUnfinishedTransactions,
|
|
36
|
+
AppleIAPUnfinishedTransactionSuccess,
|
|
37
|
+
AppleIAPUnfinishedTransactionSuccessCallback,
|
|
38
|
+
AppleIAPUnfinishedTransactionFail,
|
|
39
|
+
AppleIAPUnfinishedTransactionFailCallback,
|
|
40
|
+
IAppleIAPUnfinishedTransactionFail,
|
|
41
|
+
AppleIAPUnfinishedTransactionComplete,
|
|
42
|
+
AppleIAPUnfinishedTransactionCompleteCallback,
|
|
43
|
+
AppleIAPUnfinishedTransactionErrorCode,
|
|
44
|
+
AppleIAPUnfinishedTransactionOptions,
|
|
45
|
+
FinishTransaction,
|
|
46
|
+
AppleIAPFinishTransactionSuccess,
|
|
47
|
+
AppleIAPFinishTransactionSuccessCallback,
|
|
48
|
+
AppleIAPFinishTransactionFail,
|
|
49
|
+
AppleIAPFinishTransactionFailCallback,
|
|
50
|
+
IAppleIAPFinishTransactionFail,
|
|
51
|
+
AppleIAPFinishTransactionComplete,
|
|
52
|
+
AppleIAPFinishTransactionCompleteCallback,
|
|
53
|
+
AppleIAPFinishTransactionFailErrorCode,
|
|
54
|
+
AppleIAPFinishTransactionOptions,
|
|
55
|
+
} from './interface'
|