@visactor/vrender-animate
Version:
This module provides a graph-based animation system for VRender.
361 lines (344 loc) • 12.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: !0
}), exports.GrowPointsYIn = exports.GrowPointsXOut = exports.GrowPointsXIn = exports.GrowPointsOut = exports.GrowPointsIn = exports.GrowHeightOut = exports.GrowHeightIn = exports.GrowCenterOut = exports.GrowCenterIn = exports.GrowAngleOut = exports.GrowAngleIn = exports.FromTo = exports.FadeOut = exports.FadeIn = exports.ClipOut = exports.ClipIn = exports.SlideOutRichText = exports.SlideRichText = exports.OutputRichText = exports.InputRichText = exports.InputText = exports.Pixelation = exports.GaussianBlur = exports.Glitch = exports.Particle = exports.Distortion = exports.Grayscale = exports.Dissolve = exports.StreamLight = exports.PulseAnimate = exports.StrokeOut = exports.StrokeIn = exports.MoveRotateOut = exports.MoveScaleOut = exports.SpinOut = exports.GrowOut = exports.SlideOut = exports.MoveRotateIn = exports.MoveScaleIn = exports.SpinIn = exports.GrowIn = exports.SlideIn = exports.MotionPath = exports.GroupFadeOut = exports.GroupFadeIn = exports.LabelItemDisappear = exports.LabelItemAppear = exports.PoptipDisappear = exports.PoptipAppear = exports.registerCustomAnimate = void 0,
exports.Update = exports.State = exports.ScaleOut = exports.ScaleIn = exports.RotateOut = exports.RotateIn = exports.MoveOut = exports.MoveIn = exports.IncreaseCount = exports.GrowWidthOut = exports.GrowWidthIn = exports.GrowRadiusOut = exports.GrowRadiusIn = exports.GrowPointsYOut = void 0;
const animate_executor_1 = require("../executor/animate-executor"), register_basic_1 = require("./register-basic"), label_item_animate_1 = require("./label-item-animate");
Object.defineProperty(exports, "LabelItemAppear", {
enumerable: !0,
get: function() {
return label_item_animate_1.LabelItemAppear;
}
}), Object.defineProperty(exports, "LabelItemDisappear", {
enumerable: !0,
get: function() {
return label_item_animate_1.LabelItemDisappear;
}
});
const poptip_animate_1 = require("./poptip-animate");
Object.defineProperty(exports, "PoptipAppear", {
enumerable: !0,
get: function() {
return poptip_animate_1.PoptipAppear;
}
}), Object.defineProperty(exports, "PoptipDisappear", {
enumerable: !0,
get: function() {
return poptip_animate_1.PoptipDisappear;
}
});
const register_disappear_1 = require("./register-disappear"), register_richtext_1 = require("./register-richtext"), register_story_1 = require("./register-story"), registerCustomAnimate = () => {
(0, register_basic_1.registerBasicCustomAnimate)(), animate_executor_1.AnimateExecutor.registerBuiltInAnimate("labelItemAppear", label_item_animate_1.LabelItemAppear),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("labelItemDisappear", label_item_animate_1.LabelItemDisappear),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("poptipAppear", poptip_animate_1.PoptipAppear),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("poptipDisappear", poptip_animate_1.PoptipDisappear),
(0, register_richtext_1.registerRichTextCustomAnimate)(), (0, register_story_1.registerStoryCustomAnimate)(),
(0, register_disappear_1.registerDisappearCustomAnimate)();
};
exports.registerCustomAnimate = registerCustomAnimate;
var groupFade_1 = require("./groupFade");
Object.defineProperty(exports, "GroupFadeIn", {
enumerable: !0,
get: function() {
return groupFade_1.GroupFadeIn;
}
}), Object.defineProperty(exports, "GroupFadeOut", {
enumerable: !0,
get: function() {
return groupFade_1.GroupFadeOut;
}
});
var register_story_2 = require("./register-story");
Object.defineProperty(exports, "MotionPath", {
enumerable: !0,
get: function() {
return register_story_2.MotionPath;
}
}), Object.defineProperty(exports, "SlideIn", {
enumerable: !0,
get: function() {
return register_story_2.SlideIn;
}
}), Object.defineProperty(exports, "GrowIn", {
enumerable: !0,
get: function() {
return register_story_2.GrowIn;
}
}), Object.defineProperty(exports, "SpinIn", {
enumerable: !0,
get: function() {
return register_story_2.SpinIn;
}
}), Object.defineProperty(exports, "MoveScaleIn", {
enumerable: !0,
get: function() {
return register_story_2.MoveScaleIn;
}
}), Object.defineProperty(exports, "MoveRotateIn", {
enumerable: !0,
get: function() {
return register_story_2.MoveRotateIn;
}
}), Object.defineProperty(exports, "SlideOut", {
enumerable: !0,
get: function() {
return register_story_2.SlideOut;
}
}), Object.defineProperty(exports, "GrowOut", {
enumerable: !0,
get: function() {
return register_story_2.GrowOut;
}
}), Object.defineProperty(exports, "SpinOut", {
enumerable: !0,
get: function() {
return register_story_2.SpinOut;
}
}), Object.defineProperty(exports, "MoveScaleOut", {
enumerable: !0,
get: function() {
return register_story_2.MoveScaleOut;
}
}), Object.defineProperty(exports, "MoveRotateOut", {
enumerable: !0,
get: function() {
return register_story_2.MoveRotateOut;
}
}), Object.defineProperty(exports, "StrokeIn", {
enumerable: !0,
get: function() {
return register_story_2.StrokeIn;
}
}), Object.defineProperty(exports, "StrokeOut", {
enumerable: !0,
get: function() {
return register_story_2.StrokeOut;
}
}), Object.defineProperty(exports, "PulseAnimate", {
enumerable: !0,
get: function() {
return register_story_2.PulseAnimate;
}
}), Object.defineProperty(exports, "StreamLight", {
enumerable: !0,
get: function() {
return register_story_2.StreamLight;
}
});
var register_disappear_2 = require("./register-disappear");
Object.defineProperty(exports, "Dissolve", {
enumerable: !0,
get: function() {
return register_disappear_2.Dissolve;
}
}), Object.defineProperty(exports, "Grayscale", {
enumerable: !0,
get: function() {
return register_disappear_2.Grayscale;
}
}), Object.defineProperty(exports, "Distortion", {
enumerable: !0,
get: function() {
return register_disappear_2.Distortion;
}
}), Object.defineProperty(exports, "Particle", {
enumerable: !0,
get: function() {
return register_disappear_2.Particle;
}
}), Object.defineProperty(exports, "Glitch", {
enumerable: !0,
get: function() {
return register_disappear_2.Glitch;
}
}), Object.defineProperty(exports, "GaussianBlur", {
enumerable: !0,
get: function() {
return register_disappear_2.GaussianBlur;
}
}), Object.defineProperty(exports, "Pixelation", {
enumerable: !0,
get: function() {
return register_disappear_2.Pixelation;
}
});
var register_richtext_2 = require("./register-richtext");
Object.defineProperty(exports, "InputText", {
enumerable: !0,
get: function() {
return register_richtext_2.InputText;
}
}), Object.defineProperty(exports, "InputRichText", {
enumerable: !0,
get: function() {
return register_richtext_2.InputRichText;
}
}), Object.defineProperty(exports, "OutputRichText", {
enumerable: !0,
get: function() {
return register_richtext_2.OutputRichText;
}
}), Object.defineProperty(exports, "SlideRichText", {
enumerable: !0,
get: function() {
return register_richtext_2.SlideRichText;
}
}), Object.defineProperty(exports, "SlideOutRichText", {
enumerable: !0,
get: function() {
return register_richtext_2.SlideOutRichText;
}
});
var register_basic_2 = require("./register-basic");
Object.defineProperty(exports, "ClipIn", {
enumerable: !0,
get: function() {
return register_basic_2.ClipIn;
}
}), Object.defineProperty(exports, "ClipOut", {
enumerable: !0,
get: function() {
return register_basic_2.ClipOut;
}
}), Object.defineProperty(exports, "FadeIn", {
enumerable: !0,
get: function() {
return register_basic_2.FadeIn;
}
}), Object.defineProperty(exports, "FadeOut", {
enumerable: !0,
get: function() {
return register_basic_2.FadeOut;
}
}), Object.defineProperty(exports, "FromTo", {
enumerable: !0,
get: function() {
return register_basic_2.FromTo;
}
}), Object.defineProperty(exports, "GrowAngleIn", {
enumerable: !0,
get: function() {
return register_basic_2.GrowAngleIn;
}
}), Object.defineProperty(exports, "GrowAngleOut", {
enumerable: !0,
get: function() {
return register_basic_2.GrowAngleOut;
}
}), Object.defineProperty(exports, "GrowCenterIn", {
enumerable: !0,
get: function() {
return register_basic_2.GrowCenterIn;
}
}), Object.defineProperty(exports, "GrowCenterOut", {
enumerable: !0,
get: function() {
return register_basic_2.GrowCenterOut;
}
}), Object.defineProperty(exports, "GrowHeightIn", {
enumerable: !0,
get: function() {
return register_basic_2.GrowHeightIn;
}
}), Object.defineProperty(exports, "GrowHeightOut", {
enumerable: !0,
get: function() {
return register_basic_2.GrowHeightOut;
}
}), Object.defineProperty(exports, "GrowPointsIn", {
enumerable: !0,
get: function() {
return register_basic_2.GrowPointsIn;
}
}), Object.defineProperty(exports, "GrowPointsOut", {
enumerable: !0,
get: function() {
return register_basic_2.GrowPointsOut;
}
}), Object.defineProperty(exports, "GrowPointsXIn", {
enumerable: !0,
get: function() {
return register_basic_2.GrowPointsXIn;
}
}), Object.defineProperty(exports, "GrowPointsXOut", {
enumerable: !0,
get: function() {
return register_basic_2.GrowPointsXOut;
}
}), Object.defineProperty(exports, "GrowPointsYIn", {
enumerable: !0,
get: function() {
return register_basic_2.GrowPointsYIn;
}
}), Object.defineProperty(exports, "GrowPointsYOut", {
enumerable: !0,
get: function() {
return register_basic_2.GrowPointsYOut;
}
}), Object.defineProperty(exports, "GrowRadiusIn", {
enumerable: !0,
get: function() {
return register_basic_2.GrowRadiusIn;
}
}), Object.defineProperty(exports, "GrowRadiusOut", {
enumerable: !0,
get: function() {
return register_basic_2.GrowRadiusOut;
}
}), Object.defineProperty(exports, "GrowWidthIn", {
enumerable: !0,
get: function() {
return register_basic_2.GrowWidthIn;
}
}), Object.defineProperty(exports, "GrowWidthOut", {
enumerable: !0,
get: function() {
return register_basic_2.GrowWidthOut;
}
}), Object.defineProperty(exports, "IncreaseCount", {
enumerable: !0,
get: function() {
return register_basic_2.IncreaseCount;
}
}), Object.defineProperty(exports, "MoveIn", {
enumerable: !0,
get: function() {
return register_basic_2.MoveIn;
}
}), Object.defineProperty(exports, "MoveOut", {
enumerable: !0,
get: function() {
return register_basic_2.MoveOut;
}
}), Object.defineProperty(exports, "RotateIn", {
enumerable: !0,
get: function() {
return register_basic_2.RotateIn;
}
}), Object.defineProperty(exports, "RotateOut", {
enumerable: !0,
get: function() {
return register_basic_2.RotateOut;
}
}), Object.defineProperty(exports, "ScaleIn", {
enumerable: !0,
get: function() {
return register_basic_2.ScaleIn;
}
}), Object.defineProperty(exports, "ScaleOut", {
enumerable: !0,
get: function() {
return register_basic_2.ScaleOut;
}
}), Object.defineProperty(exports, "State", {
enumerable: !0,
get: function() {
return register_basic_2.State;
}
}), Object.defineProperty(exports, "Update", {
enumerable: !0,
get: function() {
return register_basic_2.Update;
}
});
//# sourceMappingURL=register.js.map