2021-12-08 22:43:31 +01:00
|
|
|
import Animation from '../animation/animation';
|
2021-11-12 14:30:52 +01:00
|
|
|
|
2021-12-08 22:43:31 +01:00
|
|
|
import EssentialBoxModel from '../components/boxModelEssential';
|
|
|
|
import ColorsProperties from '../components/colorProperties';
|
|
|
|
import HTMLAttributes from '../components/htmlAttributes';
|
|
|
|
import OpacityProperty from '../components/opacityProperty';
|
|
|
|
import TextWriteProp from '../components/textWrite';
|
|
|
|
import TransformFunctions from '../components/transformFunctions';
|
|
|
|
import SVGDraw from '../components/svgDraw';
|
|
|
|
import SVGMorph from '../components/svgMorph';
|
2021-11-12 14:30:52 +01:00
|
|
|
|
|
|
|
const Components = {
|
|
|
|
EssentialBoxModel,
|
|
|
|
ColorsProperties,
|
|
|
|
HTMLAttributes,
|
|
|
|
OpacityProperty,
|
2021-12-08 22:43:31 +01:00
|
|
|
TextWriteProp,
|
2021-11-12 14:30:52 +01:00
|
|
|
TransformFunctions,
|
|
|
|
SVGDraw,
|
|
|
|
SVGMorph,
|
|
|
|
};
|
|
|
|
|
|
|
|
// init components
|
|
|
|
Object.keys(Components).forEach((component) => {
|
|
|
|
const compOps = Components[component];
|
|
|
|
Components[component] = new Animation(compOps);
|
|
|
|
});
|
|
|
|
|
|
|
|
export default Components;
|