@visactor/vrender-animate
Version:
This module provides a graph-based animation system for VRender.
113 lines (104 loc) • 4.23 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: !0
}), 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.registerStoryCustomAnimate = void 0;
const animate_executor_1 = require("../executor/animate-executor"), motionPath_1 = require("./motionPath");
Object.defineProperty(exports, "MotionPath", {
enumerable: !0,
get: function() {
return motionPath_1.MotionPath;
}
});
const story_1 = require("./story");
Object.defineProperty(exports, "GrowIn", {
enumerable: !0,
get: function() {
return story_1.GrowIn;
}
}), Object.defineProperty(exports, "GrowOut", {
enumerable: !0,
get: function() {
return story_1.GrowOut;
}
}), Object.defineProperty(exports, "MoveRotateIn", {
enumerable: !0,
get: function() {
return story_1.MoveRotateIn;
}
}), Object.defineProperty(exports, "MoveRotateOut", {
enumerable: !0,
get: function() {
return story_1.MoveRotateOut;
}
}), Object.defineProperty(exports, "MoveScaleIn", {
enumerable: !0,
get: function() {
return story_1.MoveScaleIn;
}
}), Object.defineProperty(exports, "MoveScaleOut", {
enumerable: !0,
get: function() {
return story_1.MoveScaleOut;
}
}), Object.defineProperty(exports, "PulseAnimate", {
enumerable: !0,
get: function() {
return story_1.PulseAnimate;
}
}), Object.defineProperty(exports, "SlideIn", {
enumerable: !0,
get: function() {
return story_1.SlideIn;
}
}), Object.defineProperty(exports, "SlideOut", {
enumerable: !0,
get: function() {
return story_1.SlideOut;
}
}), Object.defineProperty(exports, "SpinIn", {
enumerable: !0,
get: function() {
return story_1.SpinIn;
}
}), Object.defineProperty(exports, "SpinOut", {
enumerable: !0,
get: function() {
return story_1.SpinOut;
}
}), Object.defineProperty(exports, "StrokeIn", {
enumerable: !0,
get: function() {
return story_1.StrokeIn;
}
}), Object.defineProperty(exports, "StrokeOut", {
enumerable: !0,
get: function() {
return story_1.StrokeOut;
}
});
const streamLight_1 = require("./streamLight");
Object.defineProperty(exports, "StreamLight", {
enumerable: !0,
get: function() {
return streamLight_1.StreamLight;
}
});
const registerStoryCustomAnimate = () => {
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("slideIn", story_1.SlideIn),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("growIn", story_1.GrowIn),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("spinIn", story_1.SpinIn),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("moveScaleIn", story_1.MoveScaleIn),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("moveRotateIn", story_1.MoveRotateIn),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("strokeIn", story_1.StrokeIn),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("slideOut", story_1.SlideOut),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("growOut", story_1.GrowOut),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("spinOut", story_1.SpinOut),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("moveScaleOut", story_1.MoveScaleOut),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("moveRotateOut", story_1.MoveRotateOut),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("strokeOut", story_1.StrokeOut),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("pulse", story_1.PulseAnimate),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("MotionPath", motionPath_1.MotionPath),
animate_executor_1.AnimateExecutor.registerBuiltInAnimate("streamLight", streamLight_1.StreamLight);
};
exports.registerStoryCustomAnimate = registerStoryCustomAnimate;
//# sourceMappingURL=register-story.js.map