targetj 1.0.258 → 1.0.260
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/Export.js +13 -1
- package/README.md +18 -25
- package/build/AnimationUtil.js +1 -8
- package/build/App.js +3 -2
- package/build/BaseModel.js +31 -10
- package/build/Child.js +504 -0
- package/build/LocationManager.js +30 -0
- package/build/ParticleRenderer.js +637 -0
- package/build/ParticleRuntime.js +898 -0
- package/build/ParticleTModel.js +1040 -0
- package/build/ParticleUtil.js +317 -0
- package/build/ScheduleUtil.js +2 -2
- package/build/StateManager.js +173 -26
- package/build/StateUtil.js +13 -14
- package/build/TModel.js +61 -27
- package/build/TModelFactory.js +48 -0
- package/build/TModelManager.js +55 -22
- package/build/TUtil.js +8 -3
- package/build/TargetData.js +4 -4
- package/build/TargetExecutor.js +52 -6
- package/build/TargetManager.js +5 -2
- package/build/TargetParser.js +19 -2
- package/build/TargetUtil.js +2 -2
- package/build/Viewport.js +2 -2
- package/build/index.js +5 -1
- package/dist/targetjs.js +1 -1
- package/dist/targetjs.js.gz +0 -0
- package/package.json +1 -1
- package/types/app.d.ts +56 -0
- package/types/attributes.d.ts +37 -0
- package/types/core.d.ts +154 -0
- package/types/events.d.ts +41 -0
- package/types/index.d.ts +29 -287
- package/types/state.d.ts +48 -0
- package/types/styles.d.ts +103 -0
- package/types/tmodel.d.ts +89 -0
- package/types/utilities.d.ts +37 -0
package/build/TargetUtil.js
CHANGED
|
@@ -664,11 +664,11 @@ var TargetUtil = /*#__PURE__*/function () {
|
|
|
664
664
|
var childrenMap = new Map();
|
|
665
665
|
var children = [].concat(_toConsumableArray((_tmodel$updatingChild = (_tmodel$updatingChild2 = tmodel.updatingChildrenMap) === null || _tmodel$updatingChild2 === void 0 ? void 0 : _tmodel$updatingChild2.values()) !== null && _tmodel$updatingChild !== void 0 ? _tmodel$updatingChild : []), _toConsumableArray((_tmodel$animatingChil = (_tmodel$animatingChil2 = tmodel.animatingChildrenMap) === null || _tmodel$animatingChil2 === void 0 ? void 0 : _tmodel$animatingChil2.values()) !== null && _tmodel$animatingChil !== void 0 ? _tmodel$animatingChil : []));
|
|
666
666
|
children.forEach(function (child) {
|
|
667
|
-
var _child$updatingTarget;
|
|
667
|
+
var _child$updatingTarget, _child$noDomUpdatingT;
|
|
668
668
|
if (TargetUtil.shouldIgnoreChildForCompletion(child, completionScope)) {
|
|
669
669
|
return;
|
|
670
670
|
}
|
|
671
|
-
var updatingList = [].concat(_toConsumableArray((_child$updatingTarget = child.updatingTargetList) !== null && _child$updatingTarget !== void 0 ? _child$updatingTarget : []), _toConsumableArray(child.animatingMap ? _toConsumableArray(child.animatingMap.keys()) : []));
|
|
671
|
+
var updatingList = [].concat(_toConsumableArray((_child$updatingTarget = child.updatingTargetList) !== null && _child$updatingTarget !== void 0 ? _child$updatingTarget : []), _toConsumableArray(child.animatingMap ? _toConsumableArray(child.animatingMap.keys()) : []), _toConsumableArray((_child$noDomUpdatingT = child.noDomUpdatingTargets) !== null && _child$noDomUpdatingT !== void 0 ? _child$noDomUpdatingT : []));
|
|
672
672
|
var _iterator3 = _createForOfIteratorHelper(updatingList),
|
|
673
673
|
_step3;
|
|
674
674
|
try {
|
package/build/Viewport.js
CHANGED
|
@@ -46,8 +46,8 @@ var Viewport = /*#__PURE__*/function () {
|
|
|
46
46
|
value: function setLocation() {
|
|
47
47
|
var child = this.currentChild;
|
|
48
48
|
if (!child.targets['excludeXYCalc']) {
|
|
49
|
-
child.
|
|
50
|
-
child.
|
|
49
|
+
child.setLayoutX(this.xNext + child.getMarginLeft() + this.container.getPaddingLeft());
|
|
50
|
+
child.setLayoutY(this.yNext + child.getMarginTop() + this.container.getPaddingTop());
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
}, {
|
package/build/index.js
CHANGED
|
@@ -18,4 +18,8 @@ export * from "./AnimationManager.js";
|
|
|
18
18
|
export * from "./AnimationUtil.js";
|
|
19
19
|
export * from "./VisibilityUtil.js";
|
|
20
20
|
export * from "./ScheduleUtil.js";
|
|
21
|
-
export * from "./StateUtil.js";
|
|
21
|
+
export * from "./StateUtil.js";
|
|
22
|
+
export * from "./ParticleTModel.js";
|
|
23
|
+
export * from "./ParticleRenderer.js";
|
|
24
|
+
export * from "./ParticleRuntime.js";
|
|
25
|
+
export * from "./ParticleUtil.js";
|