@visactor/vrender-animate 1.0.0-alpha.14 → 1.0.0-alpha.16
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/cjs/custom/fade.js +1 -2
- package/cjs/custom/growAngle.js +2 -1
- package/cjs/custom/register.js +1 -2
- package/cjs/custom/sphere.js +2 -1
- package/cjs/ticker/default-ticker.js +1 -2
- package/cjs/utils/easing.js +2 -1
- package/es/custom/fade.js +1 -2
- package/es/custom/growAngle.js +2 -1
- package/es/custom/register.js +1 -2
- package/es/custom/sphere.js +2 -1
- package/es/ticker/default-ticker.js +1 -2
- package/es/utils/easing.js +2 -1
- package/package.json +4 -4
package/cjs/custom/fade.js
CHANGED
package/cjs/custom/growAngle.js
CHANGED
package/cjs/custom/register.js
CHANGED
|
@@ -446,5 +446,4 @@ const registerCustomAnimate = () => {
|
|
|
446
446
|
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("streamLight", streamLight_1.StreamLight);
|
|
447
447
|
};
|
|
448
448
|
|
|
449
|
-
exports.registerCustomAnimate = registerCustomAnimate;
|
|
450
|
-
//# sourceMappingURL=register.js.map
|
|
449
|
+
exports.registerCustomAnimate = registerCustomAnimate;
|
package/cjs/custom/sphere.js
CHANGED
package/cjs/utils/easing.js
CHANGED
|
@@ -137,4 +137,5 @@ Easing.easeOutElastic = x => {
|
|
|
137
137
|
|
|
138
138
|
for (let i = 0; i < 10; i++) Easing[`flicker${i}`] = t => flicker(t, i);
|
|
139
139
|
|
|
140
|
-
for (let i = 2; i < 10; i++) Easing[`aIn${i}`] = t => i * t * t + (1 - i) * t;
|
|
140
|
+
for (let i = 2; i < 10; i++) Easing[`aIn${i}`] = t => i * t * t + (1 - i) * t;
|
|
141
|
+
//# sourceMappingURL=easing.js.map
|
package/es/custom/fade.js
CHANGED
package/es/custom/growAngle.js
CHANGED
package/es/custom/register.js
CHANGED
|
@@ -82,5 +82,4 @@ export const registerCustomAnimate = () => {
|
|
|
82
82
|
AnimateExecutor.registerBuiltInAnimate("MotionPath", MotionPath), AnimateExecutor.registerBuiltInAnimate("streamLight", StreamLight);
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
-
export { ClipIn, ClipOut, FadeIn, FadeOut, GrowAngleIn, GrowAngleOut, GrowCenterIn, GrowCenterOut, GrowHeightIn, GrowHeightOut, GrowPointsIn, GrowPointsOut, GrowPointsXIn, GrowPointsXOut, GrowPointsYIn, GrowPointsYOut, GrowRadiusIn, GrowRadiusOut, GrowWidthIn, GrowWidthOut, IncreaseCount, PoptipAppear, PoptipDisappear, ScaleIn, ScaleOut, MoveIn, MoveOut, RotateIn, RotateOut, State, Update, MotionPath, LabelItemAppear, LabelItemDisappear, InputText, InputRichText, OutputRichText, SlideRichText, SlideOutRichText, SlideIn, GrowIn, SpinIn, MoveScaleIn, MoveRotateIn, SlideOut, GrowOut, SpinOut, MoveScaleOut, MoveRotateOut, StrokeIn, StrokeOut, PulseAnimate, GroupFadeIn, GroupFadeOut, FromTo, StreamLight };
|
|
86
|
-
//# sourceMappingURL=register.js.map
|
|
85
|
+
export { ClipIn, ClipOut, FadeIn, FadeOut, GrowAngleIn, GrowAngleOut, GrowCenterIn, GrowCenterOut, GrowHeightIn, GrowHeightOut, GrowPointsIn, GrowPointsOut, GrowPointsXIn, GrowPointsXOut, GrowPointsYIn, GrowPointsYOut, GrowRadiusIn, GrowRadiusOut, GrowWidthIn, GrowWidthOut, IncreaseCount, PoptipAppear, PoptipDisappear, ScaleIn, ScaleOut, MoveIn, MoveOut, RotateIn, RotateOut, State, Update, MotionPath, LabelItemAppear, LabelItemDisappear, InputText, InputRichText, OutputRichText, SlideRichText, SlideOutRichText, SlideIn, GrowIn, SpinIn, MoveScaleIn, MoveRotateIn, SlideOut, GrowOut, SpinOut, MoveScaleOut, MoveRotateOut, StrokeIn, StrokeOut, PulseAnimate, GroupFadeIn, GroupFadeOut, FromTo, StreamLight };
|
package/es/custom/sphere.js
CHANGED
|
@@ -18,4 +18,5 @@ export class RotateBySphereAnimate extends ACustomAnimate {
|
|
|
18
18
|
for (out.x = x, out.y = y, out.z = z, out.alpha = theta + pi / 2; out.alpha > pi2; ) out.alpha -= pi2;
|
|
19
19
|
out.alpha = pi2 - out.alpha, out.zIndex = -1e4 * out.z, cb && cb(out);
|
|
20
20
|
}
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=sphere.js.map
|
|
@@ -129,5 +129,4 @@ export class DefaultTicker extends EventEmitter {
|
|
|
129
129
|
if ("performance" === this.stage.params.optimize.tickRenderMode) return !1;
|
|
130
130
|
return delta < this.interval + 2 * (Math.random() - .5) * this._jitter;
|
|
131
131
|
}
|
|
132
|
-
}
|
|
133
|
-
//# sourceMappingURL=default-ticker.js.map
|
|
132
|
+
}
|
package/es/utils/easing.js
CHANGED
|
@@ -130,4 +130,5 @@ Easing.easeOutElastic = x => {
|
|
|
130
130
|
|
|
131
131
|
for (let i = 0; i < 10; i++) Easing[`flicker${i}`] = t => flicker(t, i);
|
|
132
132
|
|
|
133
|
-
for (let i = 2; i < 10; i++) Easing[`aIn${i}`] = t => i * t * t + (1 - i) * t;
|
|
133
|
+
for (let i = 2; i < 10; i++) Easing[`aIn${i}`] = t => i * t * t + (1 - i) * t;
|
|
134
|
+
//# sourceMappingURL=easing.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/vrender-animate",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.16",
|
|
4
4
|
"description": "",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "cjs/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@visactor/vutils": "1.0.4",
|
|
16
|
-
"@visactor/vrender-core": "1.0.0-alpha.
|
|
16
|
+
"@visactor/vrender-core": "1.0.0-alpha.16"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@rushstack/eslint-patch": "~1.1.4",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"vite": "3.2.6",
|
|
30
30
|
"typescript": "4.9.5",
|
|
31
31
|
"cross-env": "^7.0.3",
|
|
32
|
-
"@internal/eslint-config": "0.0.1",
|
|
33
32
|
"@internal/bundler": "0.0.1",
|
|
34
|
-
"@internal/ts-config": "0.0.1"
|
|
33
|
+
"@internal/ts-config": "0.0.1",
|
|
34
|
+
"@internal/eslint-config": "0.0.1"
|
|
35
35
|
},
|
|
36
36
|
"keywords": [
|
|
37
37
|
"VisActor",
|