@dcloudio/uni-app-x 0.7.3 → 0.7.4

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.
Files changed (112) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +9 -9
  3. package/types/index.d.ts +1 -1
  4. package/types/native/InputFocusEvent.d.ts +1 -1
  5. package/types/native/TextareaFocusEvent.d.ts +1 -1
  6. package/types/native/TouchEvent.d.ts +1 -1
  7. package/types/native/UniWebViewServiceMessageEvent.d.ts +8 -0
  8. package/types/native/WebViewErrorEvent.d.ts +1 -1
  9. package/types/native/global.d.ts +7 -0
  10. package/types/native/index.d.ts +1 -0
  11. package/types/page.d.ts +19 -19
  12. package/types/uni/core/global.d.ts +13 -0
  13. package/types/uni/core/index.d.ts +13 -13
  14. package/types/uni/core/lib/base/event/global.d.ts +16 -0
  15. package/types/uni/core/lib/base/event/index.d.ts +5 -14
  16. package/types/uni/core/lib/base/interceptor/global.d.ts +18 -0
  17. package/types/uni/core/lib/base/interceptor/index.d.ts +6 -16
  18. package/types/uni/core/lib/base/interceptor/interface.d.ts +2 -2
  19. package/types/uni/core/lib/lifecycle/global.d.ts +10 -0
  20. package/types/uni/core/lib/lifecycle/index.d.ts +2 -8
  21. package/types/uni/core/lib/performance/global.d.ts +22 -0
  22. package/types/uni/core/lib/performance/index.d.ts +8 -20
  23. package/types/uni/core/lib/route/global.d.ts +68 -0
  24. package/types/uni/core/lib/route/index.d.ts +31 -66
  25. package/types/uni/core/lib/route/interface.d.ts +30 -30
  26. package/types/uni/core/lib/ui/create-selector-query/global.d.ts +20 -0
  27. package/types/uni/core/lib/ui/create-selector-query/index.d.ts +7 -18
  28. package/types/uni/core/lib/ui/get-element-by-id/global.d.ts +10 -0
  29. package/types/uni/core/lib/ui/get-element-by-id/index.d.ts +2 -8
  30. package/types/uni/core/lib/ui/get-element-by-id/interface.d.ts +3 -3
  31. package/types/uni/core/lib/ui/load-font-face/global.d.ts +26 -0
  32. package/types/uni/core/lib/ui/load-font-face/index.d.ts +10 -24
  33. package/types/uni/core/lib/ui/load-font-face/interface.d.ts +8 -8
  34. package/types/uni/core/lib/ui/page-scroll-to/global.d.ts +26 -0
  35. package/types/uni/core/lib/ui/page-scroll-to/index.d.ts +10 -24
  36. package/types/uni/core/lib/ui/pull-down-refresh/global.d.ts +28 -0
  37. package/types/uni/core/lib/ui/pull-down-refresh/index.d.ts +11 -26
  38. package/types/uni/core/lib/ui/set-navigation-bar-color/global.d.ts +28 -0
  39. package/types/uni/core/lib/ui/set-navigation-bar-color/index.d.ts +11 -26
  40. package/types/uni/core/lib/ui/set-navigation-bar-color/interface.d.ts +6 -6
  41. package/types/uni/core/lib/ui/set-navigation-bar-title/global.d.ts +28 -0
  42. package/types/uni/core/lib/ui/set-navigation-bar-title/index.d.ts +11 -26
  43. package/types/uni/core/lib/ui/set-navigation-bar-title/interface.d.ts +5 -5
  44. package/types/uni/core/lib/ui/tab-bar/global.d.ts +130 -0
  45. package/types/uni/core/lib/ui/tab-bar/index.d.ts +62 -128
  46. package/types/uni/global.d.ts +6 -0
  47. package/types/uni/index.d.ts +4 -6
  48. package/types/uni/uts-plugin-api/global.d.ts +19 -0
  49. package/types/uni/uts-plugin-api/index.d.ts +19 -19
  50. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +12 -0
  51. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +3 -10
  52. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/global.d.ts +26 -0
  53. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/index.d.ts +10 -24
  54. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +66 -0
  55. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +30 -64
  56. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +10 -0
  57. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +2 -8
  58. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +12 -0
  59. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +3 -10
  60. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/global.d.ts +14 -0
  61. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/index.d.ts +4 -12
  62. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/global.d.ts +14 -0
  63. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/index.d.ts +4 -12
  64. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +20 -0
  65. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +7 -18
  66. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/global.d.ts +24 -0
  67. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/index.d.ts +9 -22
  68. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/global.d.ts +30 -0
  69. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/index.d.ts +12 -28
  70. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/global.d.ts +12 -0
  71. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/index.d.ts +3 -10
  72. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/global.d.ts +24 -0
  73. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/index.d.ts +9 -22
  74. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +158 -0
  75. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +76 -156
  76. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/global.d.ts +68 -0
  77. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/index.d.ts +31 -66
  78. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +72 -0
  79. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +33 -70
  80. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +24 -0
  81. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +9 -22
  82. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/global.d.ts +62 -0
  83. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/index.d.ts +28 -60
  84. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/global.d.ts +78 -0
  85. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/index.d.ts +36 -76
  86. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/global.d.ts +58 -0
  87. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/index.d.ts +26 -56
  88. package/types/uni/uts-plugin-biz/global.d.ts +4 -0
  89. package/types/uni/uts-plugin-biz/index.d.ts +4 -4
  90. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/global.d.ts +36 -0
  91. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/index.d.ts +15 -32
  92. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +20 -14
  93. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/global.d.ts +28 -0
  94. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/index.d.ts +11 -26
  95. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/global.d.ts +56 -0
  96. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/index.d.ts +25 -54
  97. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +46 -0
  98. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +20 -44
  99. package/types/uni/uts-plugin-component/global.d.ts +1 -0
  100. package/types/uni/uts-plugin-component/index.d.ts +1 -1
  101. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +42 -0
  102. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +18 -40
  103. package/types/uni-global/index.d.ts +1 -0
  104. package/types/vue/CheckboxGroupChangeEvent.d.ts +2 -2
  105. package/types/vue/LifeCycle.d.ts +55 -0
  106. package/types/vue/PickerViewChangeEvent.d.ts +2 -2
  107. package/types/vue/ProgressActiveendEvent.d.ts +2 -2
  108. package/types/vue/RadioGroupChangeEvent.d.ts +2 -2
  109. package/types/vue/SliderChangeEvent.d.ts +2 -2
  110. package/types/vue/SwitchChangeEvent.d.ts +2 -2
  111. package/types/vue/UniFormElement.d.ts +4 -4
  112. package/types/vue/index.d.ts +1 -0
@@ -1,58 +1,28 @@
1
1
  // 本文件为自动构建生成
2
- import {
3
- ConnectSocket as ConnectSocketOrigin,
4
- ConnectSocketSuccess as ConnectSocketSuccessOrigin,
5
- ConnectSocketErrorCode as ConnectSocketErrorCodeOrigin,
6
- ConnectSocketFail as ConnectSocketFailOrigin,
7
- ConnectSocketOptions as ConnectSocketOptionsOrigin,
8
- GeneralCallbackResult as GeneralCallbackResultOrigin,
9
- SendSocketMessageErrorCode as SendSocketMessageErrorCodeOrigin,
10
- SendSocketMessageFail as SendSocketMessageFailOrigin,
11
- SendSocketMessageOptions as SendSocketMessageOptionsOrigin,
12
- CloseSocketOptions as CloseSocketOptionsOrigin,
13
- OnSocketOpenCallbackResult as OnSocketOpenCallbackResultOrigin,
14
- OnSocketMessageCallbackResult as OnSocketMessageCallbackResultOrigin,
15
- SocketTask as SocketTaskOrigin,
16
- OnSocketOpenCallback as OnSocketOpenCallbackOrigin,
17
- OnSocketOpen as OnSocketOpenOrigin,
18
- OnSocketErrorCallbackResult as OnSocketErrorCallbackResultOrigin,
19
- OnSocketErrorCallback as OnSocketErrorCallbackOrigin,
20
- OnSocketError as OnSocketErrorOrigin,
21
- SendSocketMessage as SendSocketMessageOrigin,
22
- OnSocketMessageCallback as OnSocketMessageCallbackOrigin,
23
- OnSocketMessage as OnSocketMessageOrigin,
24
- CloseSocket as CloseSocketOrigin,
25
- OnSocketCloseCallbackResult as OnSocketCloseCallbackResultOrigin,
26
- OnSocketCloseCallback as OnSocketCloseCallbackOrigin,
27
- OnSocketClose as OnSocketCloseOrigin,
28
- Uni as UniOrigin
2
+ export {
3
+ ConnectSocket,
4
+ ConnectSocketSuccess,
5
+ ConnectSocketErrorCode,
6
+ ConnectSocketFail,
7
+ ConnectSocketOptions,
8
+ GeneralCallbackResult,
9
+ SendSocketMessageErrorCode,
10
+ SendSocketMessageFail,
11
+ SendSocketMessageOptions,
12
+ CloseSocketOptions,
13
+ OnSocketOpenCallbackResult,
14
+ OnSocketMessageCallbackResult,
15
+ SocketTask,
16
+ OnSocketOpenCallback,
17
+ OnSocketOpen,
18
+ OnSocketErrorCallbackResult,
19
+ OnSocketErrorCallback,
20
+ OnSocketError,
21
+ SendSocketMessage,
22
+ OnSocketMessageCallback,
23
+ OnSocketMessage,
24
+ CloseSocket,
25
+ OnSocketCloseCallbackResult,
26
+ OnSocketCloseCallback,
27
+ OnSocketClose,
29
28
  } from './interface'
30
-
31
- declare global {
32
- type ConnectSocket = ConnectSocketOrigin
33
- type ConnectSocketSuccess = ConnectSocketSuccessOrigin
34
- type ConnectSocketErrorCode = ConnectSocketErrorCodeOrigin
35
- type ConnectSocketFail = ConnectSocketFailOrigin
36
- type ConnectSocketOptions = ConnectSocketOptionsOrigin
37
- type GeneralCallbackResult = GeneralCallbackResultOrigin
38
- type SendSocketMessageErrorCode = SendSocketMessageErrorCodeOrigin
39
- type SendSocketMessageFail = SendSocketMessageFailOrigin
40
- type SendSocketMessageOptions = SendSocketMessageOptionsOrigin
41
- type CloseSocketOptions = CloseSocketOptionsOrigin
42
- type OnSocketOpenCallbackResult = OnSocketOpenCallbackResultOrigin
43
- type OnSocketMessageCallbackResult = OnSocketMessageCallbackResultOrigin
44
- type SocketTask = SocketTaskOrigin
45
- type OnSocketOpenCallback = OnSocketOpenCallbackOrigin
46
- type OnSocketOpen = OnSocketOpenOrigin
47
- type OnSocketErrorCallbackResult = OnSocketErrorCallbackResultOrigin
48
- type OnSocketErrorCallback = OnSocketErrorCallbackOrigin
49
- type OnSocketError = OnSocketErrorOrigin
50
- type SendSocketMessage = SendSocketMessageOrigin
51
- type OnSocketMessageCallback = OnSocketMessageCallbackOrigin
52
- type OnSocketMessage = OnSocketMessageOrigin
53
- type CloseSocket = CloseSocketOrigin
54
- type OnSocketCloseCallbackResult = OnSocketCloseCallbackResultOrigin
55
- type OnSocketCloseCallback = OnSocketCloseCallbackOrigin
56
- type OnSocketClose = OnSocketCloseOrigin
57
- interface Uni extends UniOrigin { }
58
- }
@@ -0,0 +1,4 @@
1
+ /// <reference path='./lib/uni-verify/utssdk/global.d.ts' />
2
+ /// <reference path='./lib/uni-push/utssdk/global.d.ts' />
3
+ /// <reference path='./lib/uni-facialRecognitionVerify/utssdk/global.d.ts' />
4
+ /// <reference path='./lib/uni-ad/utssdk/global.d.ts' />
@@ -1,4 +1,4 @@
1
- /// <reference path='./lib/uni-verify/utssdk/index.d.ts' />
2
- /// <reference path='./lib/uni-push/utssdk/index.d.ts' />
3
- /// <reference path='./lib/uni-facialRecognitionVerify/utssdk/index.d.ts' />
4
- /// <reference path='./lib/uni-ad/utssdk/index.d.ts' />
1
+ export * from './lib/uni-verify/utssdk'
2
+ export * from './lib/uni-push/utssdk'
3
+ export * from './lib/uni-facialRecognitionVerify/utssdk'
4
+ export * from './lib/uni-ad/utssdk'
@@ -0,0 +1,36 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ UrlCallbackOptions as UrlCallbackOptionsOrigin,
4
+ CreateRewardedVideoAdOptions as CreateRewardedVideoAdOptionsOrigin,
5
+ RewardedVideoAd as RewardedVideoAdOrigin,
6
+ VideoAdClose as VideoAdCloseOrigin,
7
+ RewardedVideoAdClose as RewardedVideoAdCloseOrigin,
8
+ UniAdErrorCode as UniAdErrorCodeOrigin,
9
+ IUniAdError as IUniAdErrorOrigin,
10
+ AdCallBackEvent as AdCallBackEventOrigin,
11
+ AdCloseCallBackEvent as AdCloseCallBackEventOrigin,
12
+ AdErrorCallBackEvent as AdErrorCallBackEventOrigin,
13
+ AdVerifyCallBackEvent as AdVerifyCallBackEventOrigin,
14
+ IVideoAd as IVideoAdOrigin,
15
+ IRewardedVideoAd as IRewardedVideoAdOrigin,
16
+ CreateRewardedVideoAd as CreateRewardedVideoAdOrigin,
17
+ Uni as UniOrigin
18
+ } from './interface'
19
+
20
+ declare global {
21
+ type UrlCallbackOptions = UrlCallbackOptionsOrigin
22
+ type CreateRewardedVideoAdOptions = CreateRewardedVideoAdOptionsOrigin
23
+ type RewardedVideoAd = RewardedVideoAdOrigin
24
+ type VideoAdClose = VideoAdCloseOrigin
25
+ type RewardedVideoAdClose = RewardedVideoAdCloseOrigin
26
+ type UniAdErrorCode = UniAdErrorCodeOrigin
27
+ type IUniAdError = IUniAdErrorOrigin
28
+ type AdCallBackEvent = AdCallBackEventOrigin
29
+ type AdCloseCallBackEvent = AdCloseCallBackEventOrigin
30
+ type AdErrorCallBackEvent = AdErrorCallBackEventOrigin
31
+ type AdVerifyCallBackEvent = AdVerifyCallBackEventOrigin
32
+ type IVideoAd = IVideoAdOrigin
33
+ type IRewardedVideoAd = IRewardedVideoAdOrigin
34
+ type CreateRewardedVideoAd = CreateRewardedVideoAdOrigin
35
+ interface Uni extends UniOrigin { }
36
+ }
@@ -1,34 +1,17 @@
1
1
  // 本文件为自动构建生成
2
- import {
3
- UrlCallbackOptions as UrlCallbackOptionsOrigin,
4
- CreateRewardedVideoAdOptions as CreateRewardedVideoAdOptionsOrigin,
5
- RewardedVideoAd as RewardedVideoAdOrigin,
6
- VideoAdClose as VideoAdCloseOrigin,
7
- RewardedVideoAdClose as RewardedVideoAdCloseOrigin,
8
- UniAdError as UniAdErrorOrigin,
9
- AdCallBackEvent as AdCallBackEventOrigin,
10
- AdCloseCallBackEvent as AdCloseCallBackEventOrigin,
11
- AdErrorCallBackEvent as AdErrorCallBackEventOrigin,
12
- AdVerifyCallBackEvent as AdVerifyCallBackEventOrigin,
13
- IVideoAd as IVideoAdOrigin,
14
- IRewardedVideoAd as IRewardedVideoAdOrigin,
15
- CreateRewardedVideoAd as CreateRewardedVideoAdOrigin,
16
- Uni as UniOrigin
2
+ export {
3
+ UrlCallbackOptions,
4
+ CreateRewardedVideoAdOptions,
5
+ RewardedVideoAd,
6
+ VideoAdClose,
7
+ RewardedVideoAdClose,
8
+ UniAdErrorCode,
9
+ IUniAdError,
10
+ AdCallBackEvent,
11
+ AdCloseCallBackEvent,
12
+ AdErrorCallBackEvent,
13
+ AdVerifyCallBackEvent,
14
+ IVideoAd,
15
+ IRewardedVideoAd,
16
+ CreateRewardedVideoAd,
17
17
  } from './interface'
18
-
19
- declare global {
20
- type UrlCallbackOptions = UrlCallbackOptionsOrigin
21
- type CreateRewardedVideoAdOptions = CreateRewardedVideoAdOptionsOrigin
22
- type RewardedVideoAd = RewardedVideoAdOrigin
23
- type VideoAdClose = VideoAdCloseOrigin
24
- type RewardedVideoAdClose = RewardedVideoAdCloseOrigin
25
- type UniAdError = UniAdErrorOrigin
26
- type AdCallBackEvent = AdCallBackEventOrigin
27
- type AdCloseCallBackEvent = AdCloseCallBackEventOrigin
28
- type AdErrorCallBackEvent = AdErrorCallBackEventOrigin
29
- type AdVerifyCallBackEvent = AdVerifyCallBackEventOrigin
30
- type IVideoAd = IVideoAdOrigin
31
- type IRewardedVideoAd = IRewardedVideoAdOrigin
32
- type CreateRewardedVideoAd = CreateRewardedVideoAdOrigin
33
- interface Uni extends UniOrigin { }
34
- }
@@ -33,25 +33,31 @@ export type VideoAdClose = {
33
33
 
34
34
  export type RewardedVideoAdClose = VideoAdClose
35
35
 
36
- export type UniAdError = {
37
- /**
38
- * 广告错误码
39
- */
40
- code : number,
41
- /**
42
- * 广告错误信息
43
- */
44
- message : string,
45
- /**
46
- * 广告详细错误信息
47
- */
48
- detail ?: Array<UTSJSONObject> | null
36
+ /**
37
+ * 错误码
38
+ * - -5001 广告位标识adpid为空,请传入有效的adpid
39
+ * - -5002 无效的广告位标识adpid,请使用正确的adpid
40
+ * - -5003 广告位未开通广告,请在广告平台申请并确保已审核通过
41
+ * - -5004 无广告模块,打包时请配置要使用的广告模块
42
+ * - -5005 广告加载失败,请稍后重试
43
+ * - -5006 广告已经展示过了,请重新加载
44
+ * - -5007 广告不可用或已过期,请重新请求
45
+ * - -5008 广告不可用或已过期,请重新请求
46
+ * - -5009 广告类型不符,请检查后再试
47
+ * - -5011 打包或开通的渠道,不支持此类型广告
48
+ * - -5013 广告播放失败,请重新加载
49
+ */
50
+
51
+ export type UniAdErrorCode = number;
52
+
53
+ export interface IUniAdError extends IUniError {
54
+ errCode : UniAdErrorCode
49
55
  }
50
56
 
51
57
  export type AdCallBackEvent = (result : any) => void
52
58
 
53
59
  export type AdCloseCallBackEvent = (result : RewardedVideoAdClose) => void
54
- export type AdErrorCallBackEvent = (result : UniAdError) => void
60
+ export type AdErrorCallBackEvent = (result : IUniAdError) => void
55
61
  export type AdVerifyCallBackEvent = (result : UTSJSONObject) => void
56
62
 
57
63
  export interface IVideoAd {
@@ -0,0 +1,28 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ FacialRecognitionVerifyErrorCode as FacialRecognitionVerifyErrorCodeOrigin,
4
+ StartFacialRecognitionVerifyScreenOrientation as StartFacialRecognitionVerifyScreenOrientationOrigin,
5
+ IFacialRecognitionVerifyError as IFacialRecognitionVerifyErrorOrigin,
6
+ StartFacialRecognitionVerifySuccess as StartFacialRecognitionVerifySuccessOrigin,
7
+ StartFacialRecognitionVerifySuccessCallback as StartFacialRecognitionVerifySuccessCallbackOrigin,
8
+ StartFacialRecognitionVerifyFailCallback as StartFacialRecognitionVerifyFailCallbackOrigin,
9
+ StartFacialRecognitionVerifyCompleteCallback as StartFacialRecognitionVerifyCompleteCallbackOrigin,
10
+ StartFacialRecognitionVerifyOptions as StartFacialRecognitionVerifyOptionsOrigin,
11
+ GetFacialRecognitionMetaInfo as GetFacialRecognitionMetaInfoOrigin,
12
+ StartFacialRecognitionVerify as StartFacialRecognitionVerifyOrigin,
13
+ Uni as UniOrigin
14
+ } from './interface'
15
+
16
+ declare global {
17
+ type FacialRecognitionVerifyErrorCode = FacialRecognitionVerifyErrorCodeOrigin
18
+ type StartFacialRecognitionVerifyScreenOrientation = StartFacialRecognitionVerifyScreenOrientationOrigin
19
+ type IFacialRecognitionVerifyError = IFacialRecognitionVerifyErrorOrigin
20
+ type StartFacialRecognitionVerifySuccess = StartFacialRecognitionVerifySuccessOrigin
21
+ type StartFacialRecognitionVerifySuccessCallback = StartFacialRecognitionVerifySuccessCallbackOrigin
22
+ type StartFacialRecognitionVerifyFailCallback = StartFacialRecognitionVerifyFailCallbackOrigin
23
+ type StartFacialRecognitionVerifyCompleteCallback = StartFacialRecognitionVerifyCompleteCallbackOrigin
24
+ type StartFacialRecognitionVerifyOptions = StartFacialRecognitionVerifyOptionsOrigin
25
+ type GetFacialRecognitionMetaInfo = GetFacialRecognitionMetaInfoOrigin
26
+ type StartFacialRecognitionVerify = StartFacialRecognitionVerifyOrigin
27
+ interface Uni extends UniOrigin { }
28
+ }
@@ -1,28 +1,13 @@
1
1
  // 本文件为自动构建生成
2
- import {
3
- FacialRecognitionVerifyErrorCode as FacialRecognitionVerifyErrorCodeOrigin,
4
- StartFacialRecognitionVerifyScreenOrientation as StartFacialRecognitionVerifyScreenOrientationOrigin,
5
- IFacialRecognitionVerifyError as IFacialRecognitionVerifyErrorOrigin,
6
- StartFacialRecognitionVerifySuccess as StartFacialRecognitionVerifySuccessOrigin,
7
- StartFacialRecognitionVerifySuccessCallback as StartFacialRecognitionVerifySuccessCallbackOrigin,
8
- StartFacialRecognitionVerifyFailCallback as StartFacialRecognitionVerifyFailCallbackOrigin,
9
- StartFacialRecognitionVerifyCompleteCallback as StartFacialRecognitionVerifyCompleteCallbackOrigin,
10
- StartFacialRecognitionVerifyOptions as StartFacialRecognitionVerifyOptionsOrigin,
11
- GetFacialRecognitionMetaInfo as GetFacialRecognitionMetaInfoOrigin,
12
- StartFacialRecognitionVerify as StartFacialRecognitionVerifyOrigin,
13
- Uni as UniOrigin
2
+ export {
3
+ FacialRecognitionVerifyErrorCode,
4
+ StartFacialRecognitionVerifyScreenOrientation,
5
+ IFacialRecognitionVerifyError,
6
+ StartFacialRecognitionVerifySuccess,
7
+ StartFacialRecognitionVerifySuccessCallback,
8
+ StartFacialRecognitionVerifyFailCallback,
9
+ StartFacialRecognitionVerifyCompleteCallback,
10
+ StartFacialRecognitionVerifyOptions,
11
+ GetFacialRecognitionMetaInfo,
12
+ StartFacialRecognitionVerify,
14
13
  } from './interface'
15
-
16
- declare global {
17
- type FacialRecognitionVerifyErrorCode = FacialRecognitionVerifyErrorCodeOrigin
18
- type StartFacialRecognitionVerifyScreenOrientation = StartFacialRecognitionVerifyScreenOrientationOrigin
19
- type IFacialRecognitionVerifyError = IFacialRecognitionVerifyErrorOrigin
20
- type StartFacialRecognitionVerifySuccess = StartFacialRecognitionVerifySuccessOrigin
21
- type StartFacialRecognitionVerifySuccessCallback = StartFacialRecognitionVerifySuccessCallbackOrigin
22
- type StartFacialRecognitionVerifyFailCallback = StartFacialRecognitionVerifyFailCallbackOrigin
23
- type StartFacialRecognitionVerifyCompleteCallback = StartFacialRecognitionVerifyCompleteCallbackOrigin
24
- type StartFacialRecognitionVerifyOptions = StartFacialRecognitionVerifyOptionsOrigin
25
- type GetFacialRecognitionMetaInfo = GetFacialRecognitionMetaInfoOrigin
26
- type StartFacialRecognitionVerify = StartFacialRecognitionVerifyOrigin
27
- interface Uni extends UniOrigin { }
28
- }
@@ -0,0 +1,56 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ GetPushClientId as GetPushClientIdOrigin,
4
+ GetPushClientIdSuccess as GetPushClientIdSuccessOrigin,
5
+ GetPushClientIdSuccessCallback as GetPushClientIdSuccessCallbackOrigin,
6
+ GetPushClientIdFail as GetPushClientIdFailOrigin,
7
+ GetPushClientIdFailCallback as GetPushClientIdFailCallbackOrigin,
8
+ GetPushClientIdComplete as GetPushClientIdCompleteOrigin,
9
+ GetPushClientIdCompleteCallback as GetPushClientIdCompleteCallbackOrigin,
10
+ GetPushClientIdOptions as GetPushClientIdOptionsOrigin,
11
+ OnPushMessageType as OnPushMessageTypeOrigin,
12
+ OnPushMessageCallbackResult as OnPushMessageCallbackResultOrigin,
13
+ OnPushMessageCallback as OnPushMessageCallbackOrigin,
14
+ OnPushMessage as OnPushMessageOrigin,
15
+ OffPushMessage as OffPushMessageOrigin,
16
+ GetChannelManager as GetChannelManagerOrigin,
17
+ SetPushChannelOptions as SetPushChannelOptionsOrigin,
18
+ ChannelManager as ChannelManagerOrigin,
19
+ CreatePushMessage as CreatePushMessageOrigin,
20
+ CreatePushMessageSuccess as CreatePushMessageSuccessOrigin,
21
+ CreatePushMessageSuccessCallback as CreatePushMessageSuccessCallbackOrigin,
22
+ CreatePushMessageFail as CreatePushMessageFailOrigin,
23
+ CreatePushMessageFailCallback as CreatePushMessageFailCallbackOrigin,
24
+ CreatePushMessageComplete as CreatePushMessageCompleteOrigin,
25
+ CreatePushMessageCompleteCallback as CreatePushMessageCompleteCallbackOrigin,
26
+ CreatePushMessageOptions as CreatePushMessageOptionsOrigin,
27
+ Uni as UniOrigin
28
+ } from './interface'
29
+
30
+ declare global {
31
+ type GetPushClientId = GetPushClientIdOrigin
32
+ type GetPushClientIdSuccess = GetPushClientIdSuccessOrigin
33
+ type GetPushClientIdSuccessCallback = GetPushClientIdSuccessCallbackOrigin
34
+ type GetPushClientIdFail = GetPushClientIdFailOrigin
35
+ type GetPushClientIdFailCallback = GetPushClientIdFailCallbackOrigin
36
+ type GetPushClientIdComplete = GetPushClientIdCompleteOrigin
37
+ type GetPushClientIdCompleteCallback = GetPushClientIdCompleteCallbackOrigin
38
+ type GetPushClientIdOptions = GetPushClientIdOptionsOrigin
39
+ type OnPushMessageType = OnPushMessageTypeOrigin
40
+ type OnPushMessageCallbackResult = OnPushMessageCallbackResultOrigin
41
+ type OnPushMessageCallback = OnPushMessageCallbackOrigin
42
+ type OnPushMessage = OnPushMessageOrigin
43
+ type OffPushMessage = OffPushMessageOrigin
44
+ type GetChannelManager = GetChannelManagerOrigin
45
+ type SetPushChannelOptions = SetPushChannelOptionsOrigin
46
+ type ChannelManager = ChannelManagerOrigin
47
+ type CreatePushMessage = CreatePushMessageOrigin
48
+ type CreatePushMessageSuccess = CreatePushMessageSuccessOrigin
49
+ type CreatePushMessageSuccessCallback = CreatePushMessageSuccessCallbackOrigin
50
+ type CreatePushMessageFail = CreatePushMessageFailOrigin
51
+ type CreatePushMessageFailCallback = CreatePushMessageFailCallbackOrigin
52
+ type CreatePushMessageComplete = CreatePushMessageCompleteOrigin
53
+ type CreatePushMessageCompleteCallback = CreatePushMessageCompleteCallbackOrigin
54
+ type CreatePushMessageOptions = CreatePushMessageOptionsOrigin
55
+ interface Uni extends UniOrigin { }
56
+ }
@@ -1,56 +1,27 @@
1
1
  // 本文件为自动构建生成
2
- import {
3
- GetPushClientId as GetPushClientIdOrigin,
4
- GetPushClientIdSuccess as GetPushClientIdSuccessOrigin,
5
- GetPushClientIdSuccessCallback as GetPushClientIdSuccessCallbackOrigin,
6
- GetPushClientIdFail as GetPushClientIdFailOrigin,
7
- GetPushClientIdFailCallback as GetPushClientIdFailCallbackOrigin,
8
- GetPushClientIdComplete as GetPushClientIdCompleteOrigin,
9
- GetPushClientIdCompleteCallback as GetPushClientIdCompleteCallbackOrigin,
10
- GetPushClientIdOptions as GetPushClientIdOptionsOrigin,
11
- OnPushMessageType as OnPushMessageTypeOrigin,
12
- OnPushMessageCallbackResult as OnPushMessageCallbackResultOrigin,
13
- OnPushMessageCallback as OnPushMessageCallbackOrigin,
14
- OnPushMessage as OnPushMessageOrigin,
15
- OffPushMessage as OffPushMessageOrigin,
16
- GetChannelManager as GetChannelManagerOrigin,
17
- SetPushChannelOptions as SetPushChannelOptionsOrigin,
18
- ChannelManager as ChannelManagerOrigin,
19
- CreatePushMessage as CreatePushMessageOrigin,
20
- CreatePushMessageSuccess as CreatePushMessageSuccessOrigin,
21
- CreatePushMessageSuccessCallback as CreatePushMessageSuccessCallbackOrigin,
22
- CreatePushMessageFail as CreatePushMessageFailOrigin,
23
- CreatePushMessageFailCallback as CreatePushMessageFailCallbackOrigin,
24
- CreatePushMessageComplete as CreatePushMessageCompleteOrigin,
25
- CreatePushMessageCompleteCallback as CreatePushMessageCompleteCallbackOrigin,
26
- CreatePushMessageOptions as CreatePushMessageOptionsOrigin,
27
- Uni as UniOrigin
2
+ export {
3
+ GetPushClientId,
4
+ GetPushClientIdSuccess,
5
+ GetPushClientIdSuccessCallback,
6
+ GetPushClientIdFail,
7
+ GetPushClientIdFailCallback,
8
+ GetPushClientIdComplete,
9
+ GetPushClientIdCompleteCallback,
10
+ GetPushClientIdOptions,
11
+ OnPushMessageType,
12
+ OnPushMessageCallbackResult,
13
+ OnPushMessageCallback,
14
+ OnPushMessage,
15
+ OffPushMessage,
16
+ GetChannelManager,
17
+ SetPushChannelOptions,
18
+ ChannelManager,
19
+ CreatePushMessage,
20
+ CreatePushMessageSuccess,
21
+ CreatePushMessageSuccessCallback,
22
+ CreatePushMessageFail,
23
+ CreatePushMessageFailCallback,
24
+ CreatePushMessageComplete,
25
+ CreatePushMessageCompleteCallback,
26
+ CreatePushMessageOptions,
28
27
  } from './interface'
29
-
30
- declare global {
31
- type GetPushClientId = GetPushClientIdOrigin
32
- type GetPushClientIdSuccess = GetPushClientIdSuccessOrigin
33
- type GetPushClientIdSuccessCallback = GetPushClientIdSuccessCallbackOrigin
34
- type GetPushClientIdFail = GetPushClientIdFailOrigin
35
- type GetPushClientIdFailCallback = GetPushClientIdFailCallbackOrigin
36
- type GetPushClientIdComplete = GetPushClientIdCompleteOrigin
37
- type GetPushClientIdCompleteCallback = GetPushClientIdCompleteCallbackOrigin
38
- type GetPushClientIdOptions = GetPushClientIdOptionsOrigin
39
- type OnPushMessageType = OnPushMessageTypeOrigin
40
- type OnPushMessageCallbackResult = OnPushMessageCallbackResultOrigin
41
- type OnPushMessageCallback = OnPushMessageCallbackOrigin
42
- type OnPushMessage = OnPushMessageOrigin
43
- type OffPushMessage = OffPushMessageOrigin
44
- type GetChannelManager = GetChannelManagerOrigin
45
- type SetPushChannelOptions = SetPushChannelOptionsOrigin
46
- type ChannelManager = ChannelManagerOrigin
47
- type CreatePushMessage = CreatePushMessageOrigin
48
- type CreatePushMessageSuccess = CreatePushMessageSuccessOrigin
49
- type CreatePushMessageSuccessCallback = CreatePushMessageSuccessCallbackOrigin
50
- type CreatePushMessageFail = CreatePushMessageFailOrigin
51
- type CreatePushMessageFailCallback = CreatePushMessageFailCallbackOrigin
52
- type CreatePushMessageComplete = CreatePushMessageCompleteOrigin
53
- type CreatePushMessageCompleteCallback = CreatePushMessageCompleteCallbackOrigin
54
- type CreatePushMessageOptions = CreatePushMessageOptionsOrigin
55
- interface Uni extends UniOrigin { }
56
- }
@@ -0,0 +1,46 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ GetUniverifyManager as GetUniverifyManagerOrigin,
4
+ UniverifyManager as UniverifyManagerOrigin,
5
+ PreLoginOptions as PreLoginOptionsOrigin,
6
+ LoginOptions as LoginOptionsOrigin,
7
+ UniverifyStyle as UniverifyStyleOrigin,
8
+ PreLoginSuccessCallback as PreLoginSuccessCallbackOrigin,
9
+ PreLoginFail as PreLoginFailOrigin,
10
+ PreLoginFailCallback as PreLoginFailCallbackOrigin,
11
+ PreLoginComplete as PreLoginCompleteOrigin,
12
+ PreLoginCompleteCallback as PreLoginCompleteCallbackOrigin,
13
+ LoginSuccess as LoginSuccessOrigin,
14
+ LoginSuccessCallback as LoginSuccessCallbackOrigin,
15
+ LoginFail as LoginFailOrigin,
16
+ LoginFailCallback as LoginFailCallbackOrigin,
17
+ LoginComplete as LoginCompleteOrigin,
18
+ LoginCompleteCallback as LoginCompleteCallbackOrigin,
19
+ UniverifyErrorCode as UniverifyErrorCodeOrigin,
20
+ UniverifyErrorCode as UniverifyErrorCodeOrigin,
21
+ InternalResponse as InternalResponseOrigin,
22
+ Uni as UniOrigin
23
+ } from './interface'
24
+
25
+ declare global {
26
+ type GetUniverifyManager = GetUniverifyManagerOrigin
27
+ type UniverifyManager = UniverifyManagerOrigin
28
+ type PreLoginOptions = PreLoginOptionsOrigin
29
+ type LoginOptions = LoginOptionsOrigin
30
+ type UniverifyStyle = UniverifyStyleOrigin
31
+ type PreLoginSuccessCallback = PreLoginSuccessCallbackOrigin
32
+ type PreLoginFail = PreLoginFailOrigin
33
+ type PreLoginFailCallback = PreLoginFailCallbackOrigin
34
+ type PreLoginComplete = PreLoginCompleteOrigin
35
+ type PreLoginCompleteCallback = PreLoginCompleteCallbackOrigin
36
+ type LoginSuccess = LoginSuccessOrigin
37
+ type LoginSuccessCallback = LoginSuccessCallbackOrigin
38
+ type LoginFail = LoginFailOrigin
39
+ type LoginFailCallback = LoginFailCallbackOrigin
40
+ type LoginComplete = LoginCompleteOrigin
41
+ type LoginCompleteCallback = LoginCompleteCallbackOrigin
42
+ type UniverifyErrorCode = UniverifyErrorCodeOrigin
43
+ type UniverifyErrorCode = UniverifyErrorCodeOrigin
44
+ type InternalResponse = InternalResponseOrigin
45
+ interface Uni extends UniOrigin { }
46
+ }
@@ -1,46 +1,22 @@
1
1
  // 本文件为自动构建生成
2
- import {
3
- GetUniverifyManager as GetUniverifyManagerOrigin,
4
- UniverifyManager as UniverifyManagerOrigin,
5
- PreLoginOptions as PreLoginOptionsOrigin,
6
- LoginOptions as LoginOptionsOrigin,
7
- UniverifyStyle as UniverifyStyleOrigin,
8
- PreLoginSuccessCallback as PreLoginSuccessCallbackOrigin,
9
- PreLoginFail as PreLoginFailOrigin,
10
- PreLoginFailCallback as PreLoginFailCallbackOrigin,
11
- PreLoginComplete as PreLoginCompleteOrigin,
12
- PreLoginCompleteCallback as PreLoginCompleteCallbackOrigin,
13
- LoginSuccess as LoginSuccessOrigin,
14
- LoginSuccessCallback as LoginSuccessCallbackOrigin,
15
- LoginFail as LoginFailOrigin,
16
- LoginFailCallback as LoginFailCallbackOrigin,
17
- LoginComplete as LoginCompleteOrigin,
18
- LoginCompleteCallback as LoginCompleteCallbackOrigin,
19
- UniverifyErrorCode as UniverifyErrorCodeOrigin,
20
- UniverifyErrorCode as UniverifyErrorCodeOrigin,
21
- InternalResponse as InternalResponseOrigin,
22
- Uni as UniOrigin
2
+ export {
3
+ GetUniverifyManager,
4
+ UniverifyManager,
5
+ PreLoginOptions,
6
+ LoginOptions,
7
+ UniverifyStyle,
8
+ PreLoginSuccessCallback,
9
+ PreLoginFail,
10
+ PreLoginFailCallback,
11
+ PreLoginComplete,
12
+ PreLoginCompleteCallback,
13
+ LoginSuccess,
14
+ LoginSuccessCallback,
15
+ LoginFail,
16
+ LoginFailCallback,
17
+ LoginComplete,
18
+ LoginCompleteCallback,
19
+ UniverifyErrorCode,
20
+ UniverifyErrorCode,
21
+ InternalResponse,
23
22
  } from './interface'
24
-
25
- declare global {
26
- type GetUniverifyManager = GetUniverifyManagerOrigin
27
- type UniverifyManager = UniverifyManagerOrigin
28
- type PreLoginOptions = PreLoginOptionsOrigin
29
- type LoginOptions = LoginOptionsOrigin
30
- type UniverifyStyle = UniverifyStyleOrigin
31
- type PreLoginSuccessCallback = PreLoginSuccessCallbackOrigin
32
- type PreLoginFail = PreLoginFailOrigin
33
- type PreLoginFailCallback = PreLoginFailCallbackOrigin
34
- type PreLoginComplete = PreLoginCompleteOrigin
35
- type PreLoginCompleteCallback = PreLoginCompleteCallbackOrigin
36
- type LoginSuccess = LoginSuccessOrigin
37
- type LoginSuccessCallback = LoginSuccessCallbackOrigin
38
- type LoginFail = LoginFailOrigin
39
- type LoginFailCallback = LoginFailCallbackOrigin
40
- type LoginComplete = LoginCompleteOrigin
41
- type LoginCompleteCallback = LoginCompleteCallbackOrigin
42
- type UniverifyErrorCode = UniverifyErrorCodeOrigin
43
- type UniverifyErrorCode = UniverifyErrorCodeOrigin
44
- type InternalResponse = InternalResponseOrigin
45
- interface Uni extends UniOrigin { }
46
- }
@@ -0,0 +1 @@
1
+ /// <reference path='./lib/uni-video/utssdk/global.d.ts' />
@@ -1 +1 @@
1
- /// <reference path='./lib/uni-video/utssdk/index.d.ts' />
1
+ export * from './lib/uni-video/utssdk'
@@ -0,0 +1,42 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ CreateVideoContext as CreateVideoContextOrigin,
4
+ Danmu as DanmuOrigin,
5
+ RequestFullScreenOptions as RequestFullScreenOptionsOrigin,
6
+ VideoContext as VideoContextOrigin,
7
+ VideoTimeUpdateEvent as VideoTimeUpdateEventOrigin,
8
+ VideoTimeUpdateEventDetail as VideoTimeUpdateEventDetailOrigin,
9
+ VideoFullScreenChangeEvent as VideoFullScreenChangeEventOrigin,
10
+ VideoFullScreenChangeEventDetail as VideoFullScreenChangeEventDetailOrigin,
11
+ VideoErrorEvent as VideoErrorEventOrigin,
12
+ VideoErrorCode as VideoErrorCodeOrigin,
13
+ VideoError as VideoErrorOrigin,
14
+ VideoProgressEvent as VideoProgressEventOrigin,
15
+ VideoProgressEventDetail as VideoProgressEventDetailOrigin,
16
+ VideoFullScreenClickEvent as VideoFullScreenClickEventOrigin,
17
+ VideoFullScreenClickEventDetail as VideoFullScreenClickEventDetailOrigin,
18
+ VideoControlsToggleEvent as VideoControlsToggleEventOrigin,
19
+ VideoControlsToggleEventDetail as VideoControlsToggleEventDetailOrigin,
20
+ Uni as UniOrigin
21
+ } from './interface'
22
+
23
+ declare global {
24
+ type CreateVideoContext = CreateVideoContextOrigin
25
+ type Danmu = DanmuOrigin
26
+ type RequestFullScreenOptions = RequestFullScreenOptionsOrigin
27
+ type VideoContext = VideoContextOrigin
28
+ type VideoTimeUpdateEvent = VideoTimeUpdateEventOrigin
29
+ type VideoTimeUpdateEventDetail = VideoTimeUpdateEventDetailOrigin
30
+ type VideoFullScreenChangeEvent = VideoFullScreenChangeEventOrigin
31
+ type VideoFullScreenChangeEventDetail = VideoFullScreenChangeEventDetailOrigin
32
+ type VideoErrorEvent = VideoErrorEventOrigin
33
+ type VideoErrorCode = VideoErrorCodeOrigin
34
+ type VideoError = VideoErrorOrigin
35
+ type VideoProgressEvent = VideoProgressEventOrigin
36
+ type VideoProgressEventDetail = VideoProgressEventDetailOrigin
37
+ type VideoFullScreenClickEvent = VideoFullScreenClickEventOrigin
38
+ type VideoFullScreenClickEventDetail = VideoFullScreenClickEventDetailOrigin
39
+ type VideoControlsToggleEvent = VideoControlsToggleEventOrigin
40
+ type VideoControlsToggleEventDetail = VideoControlsToggleEventDetailOrigin
41
+ interface Uni extends UniOrigin { }
42
+ }