@vvfx/sdk 0.0.0-alpha.6 → 0.0.0-alpha.8
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/dist/index.cjs +1 -1
- package/dist/index.d.cts +27 -2
- package/dist/index.d.ts +27 -2
- package/dist/index.global.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -179,7 +179,7 @@ type PageConfig = {
|
|
|
179
179
|
/**
|
|
180
180
|
* @description 同步开关
|
|
181
181
|
*/
|
|
182
|
-
|
|
182
|
+
asyncMode: boolean;
|
|
183
183
|
};
|
|
184
184
|
/**
|
|
185
185
|
* @description 页面属性
|
|
@@ -204,7 +204,7 @@ type PageProperty = {
|
|
|
204
204
|
/**
|
|
205
205
|
* @description 同步开关
|
|
206
206
|
*/
|
|
207
|
-
|
|
207
|
+
asyncMode: boolean;
|
|
208
208
|
};
|
|
209
209
|
/**
|
|
210
210
|
* @description 视图创建参数
|
|
@@ -218,6 +218,10 @@ type ViewParam = {
|
|
|
218
218
|
* @description 出血区参数
|
|
219
219
|
*/
|
|
220
220
|
safeArea: [number, number, number, number];
|
|
221
|
+
/**
|
|
222
|
+
* @description 自定义出血区 - 用于展示
|
|
223
|
+
*/
|
|
224
|
+
previewSafeAreas?: PreviewSafeAreaParam[];
|
|
221
225
|
/**
|
|
222
226
|
* @description 导出参数
|
|
223
227
|
*/
|
|
@@ -243,6 +247,10 @@ type ExportParam = {
|
|
|
243
247
|
* @description 导出视频类型 - 预留参数
|
|
244
248
|
*/
|
|
245
249
|
type?: string;
|
|
250
|
+
/**
|
|
251
|
+
* @deprecated 视频名称
|
|
252
|
+
*/
|
|
253
|
+
name?: string;
|
|
246
254
|
};
|
|
247
255
|
/**
|
|
248
256
|
* @description 视图属性
|
|
@@ -260,6 +268,10 @@ type ViewProperty = {
|
|
|
260
268
|
* @description 出血区数据
|
|
261
269
|
*/
|
|
262
270
|
safeArea: [number, number, number, number];
|
|
271
|
+
/**
|
|
272
|
+
* @description 自定义出血区数据
|
|
273
|
+
*/
|
|
274
|
+
previewSafeAreas: PreviewSafeAreaParam[];
|
|
263
275
|
/**
|
|
264
276
|
* @description 视图场景数据
|
|
265
277
|
*/
|
|
@@ -277,6 +289,19 @@ type ViewProperty = {
|
|
|
277
289
|
*/
|
|
278
290
|
ignoreInteraction: boolean;
|
|
279
291
|
};
|
|
292
|
+
/**
|
|
293
|
+
* @description 自定义出血区数据
|
|
294
|
+
*/
|
|
295
|
+
type PreviewSafeAreaParam = {
|
|
296
|
+
/**
|
|
297
|
+
* @description 出血区包围盒 [left top width height]
|
|
298
|
+
*/
|
|
299
|
+
box: [number, number, number, number];
|
|
300
|
+
/**
|
|
301
|
+
* @description 出血区色块颜色 默认为 [255, 255, 255, 0.3]
|
|
302
|
+
*/
|
|
303
|
+
color?: [number, number, number, number];
|
|
304
|
+
};
|
|
280
305
|
/**
|
|
281
306
|
* @description 页面活跃数据
|
|
282
307
|
*/
|