@dcloudio/uni-app-x 0.7.47 → 0.7.49
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/package.json +1 -1
- package/types/app.d.ts +160 -4
- package/types/native/IUniElement.d.ts +1248 -3
- package/types/native/UniAnimation.d.ts +22 -22
- package/types/native/UniElement.d.ts +6 -2
- package/types/native/UniFormControlElement.d.ts +1 -0
- package/types/{UniPage.d.ts → native/UniPage.d.ts} +9 -8
- package/types/native/global.d.ts +16 -0
- package/types/native/index.d.ts +1 -0
- package/types/page.d.ts +91 -94
- package/types/uni/uts-plugin-api/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +46 -2
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +142 -0
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +1667 -1665
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +143 -1
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +18 -0
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +190 -0
- package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +20 -0
- package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +615 -0
- package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/global.d.ts +34 -0
- package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/interface.d.ts +221 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +38 -38
- package/types/uni/uts-plugin-component/global.d.ts +1 -0
- package/types/uni/uts-plugin-component/index.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +34 -0
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +221 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +38 -11
- package/uts-plugin.d.ts +2 -0
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export type CameraContextCameraFrameListenerStartOptions = {
|
|
4
|
+
/**
|
|
5
|
+
* 接口调用成功的回调函数
|
|
6
|
+
*/
|
|
7
|
+
success ?: ((result : any) => void) | null;
|
|
8
|
+
/**
|
|
9
|
+
* 接口调用失败的回调函数
|
|
10
|
+
* @defaultValue null
|
|
11
|
+
*/
|
|
12
|
+
fail ?: ((result : any) => void) | null;
|
|
13
|
+
/**
|
|
14
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
15
|
+
* @defaultValue null
|
|
16
|
+
*/
|
|
17
|
+
complete ?: ((result : any) => void) | null;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export type CameraContextCameraFrameListenerStopOptions = {
|
|
21
|
+
/**
|
|
22
|
+
* 接口调用成功的回调函数
|
|
23
|
+
*/
|
|
24
|
+
success ?: ((result : any) => void) | null;
|
|
25
|
+
/**
|
|
26
|
+
* 接口调用失败的回调函数
|
|
27
|
+
* @defaultValue null
|
|
28
|
+
*/
|
|
29
|
+
fail ?: ((result : any) => void) | null;
|
|
30
|
+
/**
|
|
31
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
32
|
+
* @defaultValue null
|
|
33
|
+
*/
|
|
34
|
+
complete ?: ((result : any) => void) | null;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface CameraContextCameraFrameListener {
|
|
38
|
+
/**
|
|
39
|
+
* 开始监听帧数据
|
|
40
|
+
*/
|
|
41
|
+
start(options : CameraContextCameraFrameListenerStartOptions) : void;
|
|
42
|
+
/**
|
|
43
|
+
* 停止监听帧数据
|
|
44
|
+
*/
|
|
45
|
+
stop(options : CameraContextCameraFrameListenerStopOptions) : void;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export type CameraContextOnCameraFrame = {
|
|
49
|
+
/**
|
|
50
|
+
* 图像数据矩形的宽度
|
|
51
|
+
*/
|
|
52
|
+
width ?: number | null;
|
|
53
|
+
/**
|
|
54
|
+
* 图像数据矩形的高度
|
|
55
|
+
*/
|
|
56
|
+
height ?: number | null;
|
|
57
|
+
/**
|
|
58
|
+
* 图像像素点数据,一维数组,每四项表示一个像素点的 rgba
|
|
59
|
+
*/
|
|
60
|
+
data ?: ArrayBuffer | null
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export type CameraContextSetZoomOptions = {
|
|
64
|
+
/**
|
|
65
|
+
* 缩放级别,范围[1, maxZoom]。zoom 可取小数,精确到小数后一位。maxZoom 可在 initdone 返回值中获取。
|
|
66
|
+
*/
|
|
67
|
+
zoom : number;
|
|
68
|
+
/**
|
|
69
|
+
* 接口调用成功的回调函数
|
|
70
|
+
*/
|
|
71
|
+
success ?: ((result : any) => void) | null;
|
|
72
|
+
/**
|
|
73
|
+
* 接口调用失败的回调函数
|
|
74
|
+
* @defaultValue null
|
|
75
|
+
*/
|
|
76
|
+
fail ?: ((result : any) => void) | null;
|
|
77
|
+
/**
|
|
78
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
79
|
+
* @defaultValue null
|
|
80
|
+
*/
|
|
81
|
+
complete ?: ((result : any) => void) | null;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export type CameraContextTakePhotoResult = {
|
|
85
|
+
/**
|
|
86
|
+
* 照片文件的临时路径 (本地路径),安卓是jpg图片格式,ios是png
|
|
87
|
+
*/
|
|
88
|
+
tempImagePath ?: string | null
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export type CameraContextTakePhotoOptions = {
|
|
92
|
+
/**
|
|
93
|
+
* 成像质量
|
|
94
|
+
*/
|
|
95
|
+
quality ?: "high" | "normal" | "low" | "original" | null;
|
|
96
|
+
/**
|
|
97
|
+
* 是否开启镜像
|
|
98
|
+
*/
|
|
99
|
+
selfieMirror?: boolean | null;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* 接口调用成功的回调函数
|
|
103
|
+
*/
|
|
104
|
+
success ?: ((result : CameraContextTakePhotoResult) => void) | null;
|
|
105
|
+
/**
|
|
106
|
+
* 接口调用失败的回调函数
|
|
107
|
+
* @defaultValue null
|
|
108
|
+
*/
|
|
109
|
+
fail ?: ((result : any) => void) | null;
|
|
110
|
+
/**
|
|
111
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
112
|
+
* @defaultValue null
|
|
113
|
+
*/
|
|
114
|
+
complete ?: ((result : any) => void) | null;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export type CameraContextStartRecordTimeoutResult = {
|
|
118
|
+
/**
|
|
119
|
+
* 封面图片文件的临时路径 (本地路径)
|
|
120
|
+
*/
|
|
121
|
+
tempThumbPath ?: string | null;
|
|
122
|
+
/**
|
|
123
|
+
* 视频的文件的临时路径 (本地路径)
|
|
124
|
+
*/
|
|
125
|
+
tempVideoPath ?: string | null;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
export type CameraContextStartRecordOptions = {
|
|
130
|
+
/**
|
|
131
|
+
* 超过录制时长上限时会结束录像并触发此回调,录像异常退出时也会触发此回调
|
|
132
|
+
*/
|
|
133
|
+
timeoutCallback ?: ((result: any) => void) | null;
|
|
134
|
+
/**
|
|
135
|
+
* 录制时长上限,单位为秒,最长不能超过 5 分钟
|
|
136
|
+
* @defaultValue 30
|
|
137
|
+
*/
|
|
138
|
+
timeout ?: number | null;
|
|
139
|
+
/**
|
|
140
|
+
* 是否开启镜像
|
|
141
|
+
* @defaultValue true
|
|
142
|
+
*/
|
|
143
|
+
selfieMirror ?: boolean | null;
|
|
144
|
+
/**
|
|
145
|
+
* 接口调用成功的回调函数
|
|
146
|
+
*/
|
|
147
|
+
success ?: ((result : any) => void) | null;
|
|
148
|
+
/**
|
|
149
|
+
* 接口调用失败的回调函数
|
|
150
|
+
* @defaultValue null
|
|
151
|
+
*/
|
|
152
|
+
fail ?: ((result : any) => void) | null;
|
|
153
|
+
/**
|
|
154
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
155
|
+
* @defaultValue null
|
|
156
|
+
*/
|
|
157
|
+
complete ?: ((result : any) => void) | null;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export type CameraContextStopRecordResult = {
|
|
161
|
+
/**
|
|
162
|
+
* 封面图片文件的临时路径 (本地路径)
|
|
163
|
+
*/
|
|
164
|
+
tempThumbPath ?: string | null;
|
|
165
|
+
/**
|
|
166
|
+
* 视频的文件的临时路径 (本地路径)
|
|
167
|
+
*/
|
|
168
|
+
tempVideoPath ?: string | null;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export type CameraContextStopRecordOptions = {
|
|
172
|
+
/**
|
|
173
|
+
* 启动视频压缩,压缩效果同chooseVideo
|
|
174
|
+
*/
|
|
175
|
+
compressed ?: boolean | null;
|
|
176
|
+
/**
|
|
177
|
+
* 接口调用成功的回调函数
|
|
178
|
+
*/
|
|
179
|
+
success ?: ((result : CameraContextStopRecordResult) => void) | null;
|
|
180
|
+
/**
|
|
181
|
+
* 接口调用失败的回调函数
|
|
182
|
+
* @defaultValue null
|
|
183
|
+
*/
|
|
184
|
+
fail ?: ((result : any) => void) | null;
|
|
185
|
+
/**
|
|
186
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
187
|
+
* @defaultValue null
|
|
188
|
+
*/
|
|
189
|
+
complete ?: ((result : any) => void) | null;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
export interface CameraContext {
|
|
194
|
+
/**
|
|
195
|
+
* 获取 Camera 实时帧数据
|
|
196
|
+
*/
|
|
197
|
+
onCameraFrame(callback : (frame : CameraContextOnCameraFrame) => void) : CameraContextCameraFrameListener | null;
|
|
198
|
+
/**
|
|
199
|
+
* 设置缩放级别
|
|
200
|
+
*/
|
|
201
|
+
setZoom(options : CameraContextSetZoomOptions) : void;
|
|
202
|
+
/**
|
|
203
|
+
* 拍摄照片
|
|
204
|
+
*/
|
|
205
|
+
takePhoto(options : CameraContextTakePhotoOptions) : void;
|
|
206
|
+
/**
|
|
207
|
+
* 开始录像
|
|
208
|
+
*/
|
|
209
|
+
startRecord(options: CameraContextStartRecordOptions): void;
|
|
210
|
+
/**
|
|
211
|
+
* 结束录像
|
|
212
|
+
*/
|
|
213
|
+
stopRecord(options: CameraContextStopRecordOptions) : void;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export type CreateCameraContext = () => CameraContext | null;
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
export interface Uni {
|
|
220
|
+
createCameraContext: CreateCameraContext
|
|
221
|
+
}
|
|
@@ -17,7 +17,7 @@ export interface Uni {
|
|
|
17
17
|
* },
|
|
18
18
|
* "harmony": {
|
|
19
19
|
* "osVer": "5.0.0",
|
|
20
|
-
* "uniVer": "4.
|
|
20
|
+
* "uniVer": "4.53",
|
|
21
21
|
* "unixVer": "4.61"
|
|
22
22
|
* }
|
|
23
23
|
* },
|
|
@@ -46,7 +46,7 @@ export interface Uni {
|
|
|
46
46
|
* },
|
|
47
47
|
* "harmony": {
|
|
48
48
|
* "osVer": "5.0.0",
|
|
49
|
-
* "uniVer": "4.
|
|
49
|
+
* "uniVer": "4.53",
|
|
50
50
|
* "unixVer": "4.61"
|
|
51
51
|
* }
|
|
52
52
|
* },
|
|
@@ -89,8 +89,8 @@ export interface UniverifyManager {
|
|
|
89
89
|
* },
|
|
90
90
|
* "harmony": {
|
|
91
91
|
* "osVer": "5.0.0",
|
|
92
|
-
* "uniVer": "4.
|
|
93
|
-
* "unixVer": "4.
|
|
92
|
+
* "uniVer": "4.53",
|
|
93
|
+
* "unixVer": "4.61"
|
|
94
94
|
* }
|
|
95
95
|
* }
|
|
96
96
|
* }
|
|
@@ -112,8 +112,8 @@ export interface UniverifyManager {
|
|
|
112
112
|
* },
|
|
113
113
|
* "harmony": {
|
|
114
114
|
* "osVer": "5.0.0",
|
|
115
|
-
* "uniVer": "4.
|
|
116
|
-
* "unixVer": "4.
|
|
115
|
+
* "uniVer": "4.53",
|
|
116
|
+
* "unixVer": "4.61"
|
|
117
117
|
* }
|
|
118
118
|
* }
|
|
119
119
|
* }
|
|
@@ -158,8 +158,8 @@ export interface UniverifyManager {
|
|
|
158
158
|
* },
|
|
159
159
|
* "harmony": {
|
|
160
160
|
* "osVer": "5.0.0",
|
|
161
|
-
* "uniVer": "4.
|
|
162
|
-
* "unixVer": "4.
|
|
161
|
+
* "uniVer": "4.53",
|
|
162
|
+
* "unixVer": "4.61"
|
|
163
163
|
* }
|
|
164
164
|
* }
|
|
165
165
|
* }
|
|
@@ -181,8 +181,8 @@ export interface UniverifyManager {
|
|
|
181
181
|
* },
|
|
182
182
|
* "harmony": {
|
|
183
183
|
* "osVer": "5.0.0",
|
|
184
|
-
* "uniVer": "4.
|
|
185
|
-
* "unixVer": "4.
|
|
184
|
+
* "uniVer": "4.53",
|
|
185
|
+
* "unixVer": "4.61"
|
|
186
186
|
* }
|
|
187
187
|
* }
|
|
188
188
|
* }
|
|
@@ -218,8 +218,8 @@ export type UniVerifyManagerLoginOptions = {
|
|
|
218
218
|
* },
|
|
219
219
|
* "harmony": {
|
|
220
220
|
* "osVer": "5.0.0",
|
|
221
|
-
* "uniVer": "4.
|
|
222
|
-
* "unixVer": "4.
|
|
221
|
+
* "uniVer": "4.53",
|
|
222
|
+
* "unixVer": "4.61"
|
|
223
223
|
* }
|
|
224
224
|
* }
|
|
225
225
|
* }
|
|
@@ -321,8 +321,8 @@ export type UniVerifyManagerPreLoginSuccess = {
|
|
|
321
321
|
* },
|
|
322
322
|
* "harmony": {
|
|
323
323
|
* "osVer": "5.0.0",
|
|
324
|
-
* "uniVer": "4.
|
|
325
|
-
* "unixVer": "4.
|
|
324
|
+
* "uniVer": "4.53",
|
|
325
|
+
* "unixVer": "4.61"
|
|
326
326
|
* }
|
|
327
327
|
* }
|
|
328
328
|
* }
|
|
@@ -344,8 +344,8 @@ export type UniVerifyManagerPreLoginSuccess = {
|
|
|
344
344
|
* },
|
|
345
345
|
* "harmony": {
|
|
346
346
|
* "osVer": "5.0.0",
|
|
347
|
-
* "uniVer": "4.
|
|
348
|
-
* "unixVer": "4.
|
|
347
|
+
* "uniVer": "4.53",
|
|
348
|
+
* "unixVer": "4.61"
|
|
349
349
|
* }
|
|
350
350
|
* }
|
|
351
351
|
* }
|
|
@@ -445,8 +445,8 @@ export type UniVerifyManagerErrorCode =
|
|
|
445
445
|
* },
|
|
446
446
|
* "harmony": {
|
|
447
447
|
* "osVer": "5.0.0",
|
|
448
|
-
* "uniVer": "4.
|
|
449
|
-
* "unixVer": "4.
|
|
448
|
+
* "uniVer": "4.53",
|
|
449
|
+
* "unixVer": "4.61"
|
|
450
450
|
* }
|
|
451
451
|
* }
|
|
452
452
|
* }
|
|
@@ -468,8 +468,8 @@ export type UniVerifyManagerErrorCode =
|
|
|
468
468
|
* },
|
|
469
469
|
* "harmony": {
|
|
470
470
|
* "osVer": "5.0.0",
|
|
471
|
-
* "uniVer": "4.
|
|
472
|
-
* "unixVer": "4.
|
|
471
|
+
* "uniVer": "4.53",
|
|
472
|
+
* "unixVer": "4.61"
|
|
473
473
|
* }
|
|
474
474
|
* }
|
|
475
475
|
* }
|
|
@@ -491,8 +491,8 @@ export type UniVerifyManagerErrorCode =
|
|
|
491
491
|
* },
|
|
492
492
|
* "harmony": {
|
|
493
493
|
* "osVer": "5.0.0",
|
|
494
|
-
* "uniVer": "4.
|
|
495
|
-
* "unixVer": "4.
|
|
494
|
+
* "uniVer": "4.53",
|
|
495
|
+
* "unixVer": "4.61"
|
|
496
496
|
* }
|
|
497
497
|
* }
|
|
498
498
|
* }
|
|
@@ -514,8 +514,8 @@ export type UniVerifyManagerErrorCode =
|
|
|
514
514
|
* },
|
|
515
515
|
* "harmony": {
|
|
516
516
|
* "osVer": "5.0.0",
|
|
517
|
-
* "uniVer": "4.
|
|
518
|
-
* "unixVer": "4.
|
|
517
|
+
* "uniVer": "4.53",
|
|
518
|
+
* "unixVer": "4.61"
|
|
519
519
|
* }
|
|
520
520
|
* }
|
|
521
521
|
* }
|
|
@@ -537,8 +537,8 @@ export type UniVerifyManagerErrorCode =
|
|
|
537
537
|
* },
|
|
538
538
|
* "harmony": {
|
|
539
539
|
* "osVer": "5.0.0",
|
|
540
|
-
* "uniVer": "4.
|
|
541
|
-
* "unixVer": "4.
|
|
540
|
+
* "uniVer": "4.53",
|
|
541
|
+
* "unixVer": "4.61"
|
|
542
542
|
* }
|
|
543
543
|
* }
|
|
544
544
|
* }
|
|
@@ -560,8 +560,8 @@ export type UniVerifyManagerErrorCode =
|
|
|
560
560
|
* },
|
|
561
561
|
* "harmony": {
|
|
562
562
|
* "osVer": "5.0.0",
|
|
563
|
-
* "uniVer": "4.
|
|
564
|
-
* "unixVer": "4.
|
|
563
|
+
* "uniVer": "4.53",
|
|
564
|
+
* "unixVer": "4.61"
|
|
565
565
|
* }
|
|
566
566
|
* }
|
|
567
567
|
* }
|
|
@@ -583,8 +583,8 @@ export type UniVerifyManagerErrorCode =
|
|
|
583
583
|
* },
|
|
584
584
|
* "harmony": {
|
|
585
585
|
* "osVer": "5.0.0",
|
|
586
|
-
* "uniVer": "4.
|
|
587
|
-
* "unixVer": "4.
|
|
586
|
+
* "uniVer": "4.53",
|
|
587
|
+
* "unixVer": "4.61"
|
|
588
588
|
* }
|
|
589
589
|
* }
|
|
590
590
|
* }
|
|
@@ -606,8 +606,8 @@ export type UniVerifyManagerErrorCode =
|
|
|
606
606
|
* },
|
|
607
607
|
* "harmony": {
|
|
608
608
|
* "osVer": "5.0.0",
|
|
609
|
-
* "uniVer": "4.
|
|
610
|
-
* "unixVer": "4.
|
|
609
|
+
* "uniVer": "4.53",
|
|
610
|
+
* "unixVer": "4.61"
|
|
611
611
|
* }
|
|
612
612
|
* }
|
|
613
613
|
* }
|
|
@@ -629,8 +629,8 @@ export type UniVerifyManagerErrorCode =
|
|
|
629
629
|
* },
|
|
630
630
|
* "harmony": {
|
|
631
631
|
* "osVer": "5.0.0",
|
|
632
|
-
* "uniVer": "4.
|
|
633
|
-
* "unixVer": "4.
|
|
632
|
+
* "uniVer": "4.53",
|
|
633
|
+
* "unixVer": "4.61"
|
|
634
634
|
* }
|
|
635
635
|
* }
|
|
636
636
|
* }
|
|
@@ -652,8 +652,8 @@ export type UniVerifyManagerErrorCode =
|
|
|
652
652
|
* },
|
|
653
653
|
* "harmony": {
|
|
654
654
|
* "osVer": "5.0.0",
|
|
655
|
-
* "uniVer": "4.
|
|
656
|
-
* "unixVer": "4.
|
|
655
|
+
* "uniVer": "4.53",
|
|
656
|
+
* "unixVer": "4.61"
|
|
657
657
|
* }
|
|
658
658
|
* }
|
|
659
659
|
* }
|
|
@@ -675,8 +675,8 @@ export type UniVerifyManagerErrorCode =
|
|
|
675
675
|
* },
|
|
676
676
|
* "harmony": {
|
|
677
677
|
* "osVer": "5.0.0",
|
|
678
|
-
* "uniVer": "4.
|
|
679
|
-
* "unixVer": "4.
|
|
678
|
+
* "uniVer": "4.53",
|
|
679
|
+
* "unixVer": "4.61"
|
|
680
680
|
* }
|
|
681
681
|
* }
|
|
682
682
|
* }
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
CameraContextCameraFrameListenerStartOptions as CameraContextCameraFrameListenerStartOptionsOrigin,
|
|
4
|
+
CameraContextCameraFrameListenerStopOptions as CameraContextCameraFrameListenerStopOptionsOrigin,
|
|
5
|
+
CameraContextCameraFrameListener as CameraContextCameraFrameListenerOrigin,
|
|
6
|
+
CameraContextOnCameraFrame as CameraContextOnCameraFrameOrigin,
|
|
7
|
+
CameraContextSetZoomOptions as CameraContextSetZoomOptionsOrigin,
|
|
8
|
+
CameraContextTakePhotoResult as CameraContextTakePhotoResultOrigin,
|
|
9
|
+
CameraContextTakePhotoOptions as CameraContextTakePhotoOptionsOrigin,
|
|
10
|
+
CameraContextStartRecordTimeoutResult as CameraContextStartRecordTimeoutResultOrigin,
|
|
11
|
+
CameraContextStartRecordOptions as CameraContextStartRecordOptionsOrigin,
|
|
12
|
+
CameraContextStopRecordResult as CameraContextStopRecordResultOrigin,
|
|
13
|
+
CameraContextStopRecordOptions as CameraContextStopRecordOptionsOrigin,
|
|
14
|
+
CameraContext as CameraContextOrigin,
|
|
15
|
+
CreateCameraContext as CreateCameraContextOrigin,
|
|
16
|
+
Uni as UniOrigin
|
|
17
|
+
} from './interface'
|
|
18
|
+
|
|
19
|
+
declare global {
|
|
20
|
+
type CameraContextCameraFrameListenerStartOptions = CameraContextCameraFrameListenerStartOptionsOrigin
|
|
21
|
+
type CameraContextCameraFrameListenerStopOptions = CameraContextCameraFrameListenerStopOptionsOrigin
|
|
22
|
+
type CameraContextCameraFrameListener = CameraContextCameraFrameListenerOrigin
|
|
23
|
+
type CameraContextOnCameraFrame = CameraContextOnCameraFrameOrigin
|
|
24
|
+
type CameraContextSetZoomOptions = CameraContextSetZoomOptionsOrigin
|
|
25
|
+
type CameraContextTakePhotoResult = CameraContextTakePhotoResultOrigin
|
|
26
|
+
type CameraContextTakePhotoOptions = CameraContextTakePhotoOptionsOrigin
|
|
27
|
+
type CameraContextStartRecordTimeoutResult = CameraContextStartRecordTimeoutResultOrigin
|
|
28
|
+
type CameraContextStartRecordOptions = CameraContextStartRecordOptionsOrigin
|
|
29
|
+
type CameraContextStopRecordResult = CameraContextStopRecordResultOrigin
|
|
30
|
+
type CameraContextStopRecordOptions = CameraContextStopRecordOptionsOrigin
|
|
31
|
+
type CameraContext = CameraContextOrigin
|
|
32
|
+
type CreateCameraContext = CreateCameraContextOrigin
|
|
33
|
+
interface Uni extends UniOrigin { }
|
|
34
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
export {
|
|
3
|
+
CameraContextCameraFrameListenerStartOptions,
|
|
4
|
+
CameraContextCameraFrameListenerStopOptions,
|
|
5
|
+
CameraContextCameraFrameListener,
|
|
6
|
+
CameraContextOnCameraFrame,
|
|
7
|
+
CameraContextSetZoomOptions,
|
|
8
|
+
CameraContextTakePhotoResult,
|
|
9
|
+
CameraContextTakePhotoOptions,
|
|
10
|
+
CameraContextStartRecordTimeoutResult,
|
|
11
|
+
CameraContextStartRecordOptions,
|
|
12
|
+
CameraContextStopRecordResult,
|
|
13
|
+
CameraContextStopRecordOptions,
|
|
14
|
+
CameraContext,
|
|
15
|
+
CreateCameraContext,
|
|
16
|
+
} from './interface'
|