@dcloudio/uni-app-x 0.7.97 → 0.7.98

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 (33) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniCSSProperty.d.ts +4 -0
  3. package/types/dom2-internal/UniPage.d.ts +18 -0
  4. package/types/dom2-internal/index.d.ts +0 -1
  5. package/types/dom2-internal/sharedData.d.ts +84 -116
  6. package/types/native/CSSStyleDeclaration.d.ts +3 -2
  7. package/types/native/DrawableContext.d.ts +3 -3
  8. package/types/native/IUniElement.d.ts +8 -7
  9. package/types/native/UniPage.d.ts +13 -11
  10. package/types/native/UniSwiperAnimationFinishEvent.d.ts +15 -1
  11. package/types/native/UniSwiperChangeEvent.d.ts +13 -0
  12. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +1 -1
  13. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +8 -2
  14. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +6 -2
  15. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/global.d.ts +0 -2
  16. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/index.d.ts +0 -1
  17. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +0 -2
  18. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +4 -4
  19. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +1 -1
  20. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +34 -7
  21. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +117 -45
  22. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +2 -2
  23. package/types/uni/uts-plugin-component/lib/uni-match-media-global/utssdk/interface.d.ts +1 -1
  24. package/types/uni/uts-plugin-component/lib/uni-navigator-global/utssdk/interface.d.ts +1 -1
  25. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/global.d.ts +8 -0
  26. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/index.d.ts +4 -0
  27. package/types/uni/uts-plugin-component/lib/uni-video-global/utssdk/interface.d.ts +40 -0
  28. package/types/vue/LifeCycle.d.ts +77 -0
  29. package/types/vue/global.d.ts +2 -0
  30. package/types/dom2-internal/UniNativeNestedScrollView.d.ts +0 -49
  31. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/global.d.ts +0 -28
  32. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/index.d.ts +0 -13
  33. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +0 -212
@@ -1,212 +0,0 @@
1
- /**
2
- * 错误码
3
- */
4
- export type FacialRecognitionVerifyErrorCode =
5
- /**
6
- * 刷脸异常
7
- */
8
- 10010 |
9
- /**
10
- * 网络异常
11
- */
12
- 10012 |
13
- /**
14
- * 验证中断
15
- */
16
- 10011 |
17
- /**
18
- * 刷脸验证失败
19
- */
20
- 10013 |
21
- /**
22
- * 设备设置时间异常
23
- */
24
- 10020 |
25
- /**
26
- * certifyId 不能为空
27
- */
28
- 10001 |
29
- /**
30
- * 当前设备不支持
31
- */
32
- 10002;
33
-
34
- /**
35
- * 认证时屏幕方向
36
- */
37
- export type StartFacialRecognitionVerifyScreenOrientation =
38
- /**
39
- * 横屏
40
- */
41
- "land" |
42
- /**
43
- * 竖屏
44
- */
45
- "port";
46
-
47
- export interface IFacialRecognitionVerifyError extends IUniError {
48
- errCode : FacialRecognitionVerifyErrorCode
49
- };
50
-
51
- export type StartFacialRecognitionVerifySuccess = {
52
- /**
53
- * 错误码
54
- */
55
- errCode : number,
56
- /**
57
- * 调用API的名称
58
- */
59
- errSubject : string,
60
- /**
61
- * 错误的详细信息
62
- */
63
- errMsg : string,
64
- /**
65
- * 错误来源
66
- */
67
- cause ?: SourceError
68
- }
69
-
70
- export type StartFacialRecognitionVerifySuccessCallback = (res : StartFacialRecognitionVerifySuccess) => void
71
- export type StartFacialRecognitionVerifyFailCallback = (res : IFacialRecognitionVerifyError) => void
72
- export type StartFacialRecognitionVerifyCompleteCallback = (res : any) => void
73
-
74
- export type StartFacialRecognitionVerifyOptions = {
75
- /**
76
- * certifyId 调用实人认证的id
77
- */
78
- certifyId : string,
79
- /**
80
- * 活体检测页面的进度条颜色。
81
- *
82
- * @uniPlatform {
83
- * "app": {
84
- * "android": {
85
- * "osVer": "5.0",
86
- * "uniVer": "√",
87
- * "unixVer": "3.9+"
88
- * },
89
- * "ios": {
90
- * "osVer": "12.0",
91
- * "uniVer": "x",
92
- * "unixVer": "4.11"
93
- * },
94
- * "harmony": {
95
- * "osVer": "x",
96
- * "uniVer": "x",
97
- * "unixVer": "x"
98
- * }
99
- * }
100
- * }
101
- *
102
- */
103
- progressBarColor ?: string | null,
104
- /**
105
- * 认证界面UI朝向。
106
- * @type {StartFacialRecognitionVerifyScreenOrientation}
107
- * @defaultValue "port"
108
- * @uniPlatform {
109
- * "app": {
110
- * "android": {
111
- * "osVer": "5.0",
112
- * "uniVer": "√",
113
- * "unixVer": "3.9+"
114
- * },
115
- * "ios": {
116
- * "osVer": "12.0",
117
- * "uniVer": "x",
118
- * "unixVer": "4.11"
119
- * },
120
- * "harmony": {
121
- * "osVer": "x",
122
- * "uniVer": "x",
123
- * "unixVer": "x"
124
- * }
125
- * }
126
- * }
127
- */
128
- screenOrientation ?: StartFacialRecognitionVerifyScreenOrientation | null,
129
- /**
130
- * 成功回调
131
- */
132
- success ?: StartFacialRecognitionVerifySuccessCallback | null,
133
- /**
134
- * 失败回调
135
- */
136
- fail ?: StartFacialRecognitionVerifyFailCallback | null,
137
- /**
138
- * 完成回调
139
- */
140
- complete ?: StartFacialRecognitionVerifyCompleteCallback | null
141
- }
142
-
143
- /**
144
- * 获取阿里云实人认证meta info
145
- */
146
- export type GetFacialRecognitionMetaInfo = () => string
147
-
148
- /**
149
- * 启动人脸识别
150
- */
151
- export type StartFacialRecognitionVerify = (faceStyle : StartFacialRecognitionVerifyOptions) => void
152
-
153
- export interface Uni {
154
- /**
155
- * 获取阿里云实人认证meta info
156
- * @description 获取阿里云实人认证meta info
157
- * @uniPlatform {
158
- * "app": {
159
- * "android": {
160
- * "osVer": "5.0",
161
- * "uniVer": "3.7.4",
162
- * "unixVer": "3.9+"
163
- * },
164
- * "ios": {
165
- * "osVer": "12.0",
166
- * "uniVer": "3.7.4",
167
- * "unixVer": "4.11"
168
- * },
169
- * "harmony": {
170
- * "osVer": "3.0",
171
- * "uniVer": "4.31",
172
- * "unixVer": "4.61"
173
- * }
174
- * },
175
- * "web": {
176
- * "uniVer": "x",
177
- * "unixVer": "x"
178
- * }
179
- * }
180
- * @uniVueVersion 2,3
181
- */
182
- getFacialRecognitionMetaInfo() : string,
183
- /**
184
- * 启动人脸识别
185
- * @description 启动人脸识别
186
- * @uniPlatform {
187
- * "app": {
188
- * "android": {
189
- * "osVer": "5.0",
190
- * "uniVer": "3.7.4",
191
- * "unixVer": "3.9+"
192
- * },
193
- * "ios": {
194
- * "osVer": "12.0",
195
- * "uniVer": "3.7.4",
196
- * "unixVer": "4.11"
197
- * },
198
- * "harmony": {
199
- * "osVer": "3.0",
200
- * "uniVer": "4.31",
201
- * "unixVer": "4.61"
202
- * }
203
- * },
204
- * "web": {
205
- * "uniVer": "x",
206
- * "unixVer": "x"
207
- * }
208
- * }
209
- * @uniVueVersion 2,3
210
- */
211
- startFacialRecognitionVerify(faceStyle : StartFacialRecognitionVerifyOptions) : void
212
- }