@vvfx/sdk 0.2.7 → 0.2.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 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -8
- package/dist/index.js.map +1 -1
- package/dist/sdk-item/types.d.ts +1 -11
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: TODO
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 赤芍,何即,不择,意绮
|
|
6
|
-
* Version: v0.2.
|
|
6
|
+
* Version: v0.2.8
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -30,12 +30,6 @@ var url$1 = require('url');
|
|
|
30
30
|
SDKItemType["CARD"] = "card";
|
|
31
31
|
return SDKItemType;
|
|
32
32
|
}({});
|
|
33
|
-
var _obj$2;
|
|
34
|
-
/**
|
|
35
|
-
* @description SDKItemType 与 spec.ItemType 的映射关系
|
|
36
|
-
*/ (_obj$2 = {}, _obj$2["sprite"] = effects.spec.ItemType.sprite, _obj$2["text"] = effects.spec.ItemType.text, _obj$2["video"] = effects.spec.ItemType.video, _obj$2["group"] = effects.spec.ItemType.null, _obj$2["effects"] = effects.spec.ItemType.composition, _obj$2["frame"] = effects.spec.ItemType.composition, // generator 在底层以 sprite 形式渲染
|
|
37
|
-
_obj$2["generator"] = effects.spec.ItemType.sprite, // card 在底层以 sprite 形式渲染
|
|
38
|
-
_obj$2["card"] = effects.spec.ItemType.sprite, _obj$2);
|
|
39
33
|
|
|
40
34
|
function _defineProperties(target, props) {
|
|
41
35
|
for(var i = 0; i < props.length; i++){
|