@tsparticles/engine 3.0.0-beta.0 → 3.0.0-beta.1
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/browser/Core/Canvas.js +4 -4
- package/browser/Core/Container.js +9 -9
- package/browser/Core/Engine.js +6 -6
- package/browser/Core/Particle.js +9 -9
- package/browser/Core/Particles.js +7 -7
- package/browser/Core/Retina.js +2 -2
- package/browser/Core/Utils/Circle.js +3 -3
- package/browser/Core/Utils/EventListeners.js +2 -2
- package/browser/Core/Utils/QuadTree.js +3 -3
- package/browser/Core/Utils/Rectangle.js +2 -2
- package/browser/Core/Utils/Vector.js +1 -1
- package/browser/Core/Utils/Vector3d.js +2 -2
- package/browser/Options/Classes/AnimatableColor.js +3 -3
- package/browser/Options/Classes/AnimationOptions.js +1 -1
- package/browser/Options/Classes/Background/Background.js +1 -1
- package/browser/Options/Classes/BackgroundMask/BackgroundMask.js +2 -2
- package/browser/Options/Classes/BackgroundMask/BackgroundMaskCover.js +1 -1
- package/browser/Options/Classes/ColorAnimation.js +1 -1
- package/browser/Options/Classes/HslAnimation.js +1 -1
- package/browser/Options/Classes/Interactivity/Events/Events.js +5 -5
- package/browser/Options/Classes/Interactivity/Events/HoverEvent.js +1 -1
- package/browser/Options/Classes/Interactivity/Interactivity.js +2 -2
- package/browser/Options/Classes/ManualParticle.js +1 -1
- package/browser/Options/Classes/Options.js +10 -10
- package/browser/Options/Classes/OptionsColor.js +1 -1
- package/browser/Options/Classes/Particles/Bounce/ParticlesBounce.js +1 -1
- package/browser/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +1 -1
- package/browser/Options/Classes/Particles/Collisions/Collisions.js +4 -4
- package/browser/Options/Classes/Particles/Move/Move.js +10 -10
- package/browser/Options/Classes/Particles/Move/MoveAngle.js +1 -1
- package/browser/Options/Classes/Particles/Move/MoveAttract.js +1 -1
- package/browser/Options/Classes/Particles/Move/MoveGravity.js +1 -1
- package/browser/Options/Classes/Particles/Move/MoveTrail.js +1 -1
- package/browser/Options/Classes/Particles/Move/MoveTrailFill.js +1 -1
- package/browser/Options/Classes/Particles/Move/Path/MovePath.js +2 -2
- package/browser/Options/Classes/Particles/Move/Spin.js +2 -2
- package/browser/Options/Classes/Particles/Number/ParticlesNumber.js +1 -1
- package/browser/Options/Classes/Particles/Opacity/Opacity.js +2 -2
- package/browser/Options/Classes/Particles/Opacity/OpacityAnimation.js +1 -1
- package/browser/Options/Classes/Particles/ParticlesOptions.js +12 -12
- package/browser/Options/Classes/Particles/Shadow.js +1 -1
- package/browser/Options/Classes/Particles/Shape/Shape.js +1 -1
- package/browser/Options/Classes/Particles/Size/Size.js +2 -2
- package/browser/Options/Classes/Particles/Size/SizeAnimation.js +1 -1
- package/browser/Options/Classes/Particles/Stroke.js +2 -2
- package/browser/Options/Classes/Particles/ZIndex/ZIndex.js +1 -1
- package/browser/Options/Classes/Responsive.js +1 -1
- package/browser/Options/Classes/Theme/Theme.js +2 -2
- package/browser/Options/Classes/ValueWithRandom.js +4 -4
- package/browser/Utils/CanvasUtils.js +1 -1
- package/browser/Utils/ColorUtils.js +2 -2
- package/browser/Utils/HslColorManager.js +2 -2
- package/browser/Utils/NumberUtils.js +2 -2
- package/browser/Utils/OptionsUtils.js +1 -1
- package/browser/Utils/RgbColorManager.js +1 -1
- package/browser/Utils/Utils.js +2 -2
- package/browser/bundle.js +2 -2
- package/browser/export-types.js +97 -97
- package/browser/exports.js +89 -89
- package/browser/index.js +4 -4
- package/browser/init.js +4 -4
- package/browser/package.json +1 -0
- package/cjs/Core/Canvas.js +28 -28
- package/cjs/Core/Container.js +19 -19
- package/cjs/Core/Engine.js +22 -22
- package/cjs/Core/Particle.js +37 -37
- package/cjs/Core/Particles.js +15 -15
- package/cjs/Core/Retina.js +11 -11
- package/cjs/Core/Utils/Circle.js +6 -6
- package/cjs/Core/Utils/EventListeners.js +19 -19
- package/cjs/Core/Utils/QuadTree.js +7 -7
- package/cjs/Core/Utils/Rectangle.js +4 -4
- package/cjs/Core/Utils/Vector.js +2 -2
- package/cjs/Core/Utils/Vector3d.js +4 -4
- package/cjs/Options/Classes/AnimatableColor.js +6 -6
- package/cjs/Options/Classes/AnimationOptions.js +5 -5
- package/cjs/Options/Classes/Background/Background.js +3 -3
- package/cjs/Options/Classes/BackgroundMask/BackgroundMask.js +4 -4
- package/cjs/Options/Classes/BackgroundMask/BackgroundMaskCover.js +3 -3
- package/cjs/Options/Classes/ColorAnimation.js +6 -6
- package/cjs/Options/Classes/HslAnimation.js +4 -4
- package/cjs/Options/Classes/Interactivity/Events/Events.js +12 -12
- package/cjs/Options/Classes/Interactivity/Events/HoverEvent.js +2 -2
- package/cjs/Options/Classes/Interactivity/Interactivity.js +4 -4
- package/cjs/Options/Classes/ManualParticle.js +2 -2
- package/cjs/Options/Classes/Options.js +24 -24
- package/cjs/Options/Classes/OptionsColor.js +2 -2
- package/cjs/Options/Classes/Particles/Bounce/ParticlesBounce.js +3 -3
- package/cjs/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +2 -2
- package/cjs/Options/Classes/Particles/Collisions/Collisions.js +8 -8
- package/cjs/Options/Classes/Particles/Move/Move.js +24 -24
- package/cjs/Options/Classes/Particles/Move/MoveAngle.js +3 -3
- package/cjs/Options/Classes/Particles/Move/MoveAttract.js +2 -2
- package/cjs/Options/Classes/Particles/Move/MoveGravity.js +3 -3
- package/cjs/Options/Classes/Particles/Move/MoveTrail.js +2 -2
- package/cjs/Options/Classes/Particles/Move/MoveTrailFill.js +2 -2
- package/cjs/Options/Classes/Particles/Move/Path/MovePath.js +4 -4
- package/cjs/Options/Classes/Particles/Move/Spin.js +4 -4
- package/cjs/Options/Classes/Particles/Number/ParticlesNumber.js +2 -2
- package/cjs/Options/Classes/Particles/Opacity/Opacity.js +4 -4
- package/cjs/Options/Classes/Particles/Opacity/OpacityAnimation.js +2 -2
- package/cjs/Options/Classes/Particles/ParticlesOptions.js +28 -28
- package/cjs/Options/Classes/Particles/Shadow.js +3 -3
- package/cjs/Options/Classes/Particles/Shape/Shape.js +2 -2
- package/cjs/Options/Classes/Particles/Size/Size.js +4 -4
- package/cjs/Options/Classes/Particles/Size/SizeAnimation.js +2 -2
- package/cjs/Options/Classes/Particles/Stroke.js +5 -5
- package/cjs/Options/Classes/Particles/ZIndex/ZIndex.js +2 -2
- package/cjs/Options/Classes/Responsive.js +2 -2
- package/cjs/Options/Classes/Theme/Theme.js +4 -4
- package/cjs/Options/Classes/ValueWithRandom.js +9 -9
- package/cjs/Utils/CanvasUtils.js +2 -2
- package/cjs/Utils/ColorUtils.js +23 -23
- package/cjs/Utils/HslColorManager.js +9 -9
- package/cjs/Utils/NumberUtils.js +10 -10
- package/cjs/Utils/OptionsUtils.js +2 -2
- package/cjs/Utils/RgbColorManager.js +5 -5
- package/cjs/Utils/Utils.js +17 -17
- package/cjs/bundle.js +3 -3
- package/cjs/export-types.js +97 -97
- package/cjs/exports.js +89 -89
- package/cjs/index.js +6 -6
- package/cjs/init.js +8 -8
- package/cjs/package.json +1 -0
- package/esm/Core/Canvas.js +4 -4
- package/esm/Core/Container.js +9 -9
- package/esm/Core/Engine.js +6 -6
- package/esm/Core/Particle.js +9 -9
- package/esm/Core/Particles.js +7 -7
- package/esm/Core/Retina.js +2 -2
- package/esm/Core/Utils/Circle.js +3 -3
- package/esm/Core/Utils/EventListeners.js +2 -2
- package/esm/Core/Utils/QuadTree.js +3 -3
- package/esm/Core/Utils/Rectangle.js +2 -2
- package/esm/Core/Utils/Vector.js +1 -1
- package/esm/Core/Utils/Vector3d.js +2 -2
- package/esm/Options/Classes/AnimatableColor.js +3 -3
- package/esm/Options/Classes/AnimationOptions.js +1 -1
- package/esm/Options/Classes/Background/Background.js +1 -1
- package/esm/Options/Classes/BackgroundMask/BackgroundMask.js +2 -2
- package/esm/Options/Classes/BackgroundMask/BackgroundMaskCover.js +1 -1
- package/esm/Options/Classes/ColorAnimation.js +1 -1
- package/esm/Options/Classes/HslAnimation.js +1 -1
- package/esm/Options/Classes/Interactivity/Events/Events.js +5 -5
- package/esm/Options/Classes/Interactivity/Events/HoverEvent.js +1 -1
- package/esm/Options/Classes/Interactivity/Interactivity.js +2 -2
- package/esm/Options/Classes/ManualParticle.js +1 -1
- package/esm/Options/Classes/Options.js +10 -10
- package/esm/Options/Classes/OptionsColor.js +1 -1
- package/esm/Options/Classes/Particles/Bounce/ParticlesBounce.js +1 -1
- package/esm/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +1 -1
- package/esm/Options/Classes/Particles/Collisions/Collisions.js +4 -4
- package/esm/Options/Classes/Particles/Move/Move.js +10 -10
- package/esm/Options/Classes/Particles/Move/MoveAngle.js +1 -1
- package/esm/Options/Classes/Particles/Move/MoveAttract.js +1 -1
- package/esm/Options/Classes/Particles/Move/MoveGravity.js +1 -1
- package/esm/Options/Classes/Particles/Move/MoveTrail.js +1 -1
- package/esm/Options/Classes/Particles/Move/MoveTrailFill.js +1 -1
- package/esm/Options/Classes/Particles/Move/Path/MovePath.js +2 -2
- package/esm/Options/Classes/Particles/Move/Spin.js +2 -2
- package/esm/Options/Classes/Particles/Number/ParticlesNumber.js +1 -1
- package/esm/Options/Classes/Particles/Opacity/Opacity.js +2 -2
- package/esm/Options/Classes/Particles/Opacity/OpacityAnimation.js +1 -1
- package/esm/Options/Classes/Particles/ParticlesOptions.js +12 -12
- package/esm/Options/Classes/Particles/Shadow.js +1 -1
- package/esm/Options/Classes/Particles/Shape/Shape.js +1 -1
- package/esm/Options/Classes/Particles/Size/Size.js +2 -2
- package/esm/Options/Classes/Particles/Size/SizeAnimation.js +1 -1
- package/esm/Options/Classes/Particles/Stroke.js +2 -2
- package/esm/Options/Classes/Particles/ZIndex/ZIndex.js +1 -1
- package/esm/Options/Classes/Responsive.js +1 -1
- package/esm/Options/Classes/Theme/Theme.js +2 -2
- package/esm/Options/Classes/ValueWithRandom.js +4 -4
- package/esm/Utils/CanvasUtils.js +1 -1
- package/esm/Utils/ColorUtils.js +2 -2
- package/esm/Utils/HslColorManager.js +2 -2
- package/esm/Utils/NumberUtils.js +2 -2
- package/esm/Utils/OptionsUtils.js +1 -1
- package/esm/Utils/RgbColorManager.js +1 -1
- package/esm/Utils/Utils.js +2 -2
- package/esm/bundle.js +2 -2
- package/esm/export-types.js +97 -97
- package/esm/exports.js +89 -89
- package/esm/index.js +4 -4
- package/esm/init.js +4 -4
- package/esm/package.json +1 -0
- package/package.json +6 -4
- package/report.html +2 -2
- package/tsparticles.engine.js +2 -2
- package/tsparticles.engine.min.js +1 -1
- package/tsparticles.engine.min.js.LICENSE.txt +1 -1
- package/types/Core/Canvas.d.ts +5 -5
- package/types/Core/Container.d.ts +12 -12
- package/types/Core/Engine.d.ts +20 -20
- package/types/Core/Interfaces/Colors.d.ts +2 -2
- package/types/Core/Interfaces/IBubbleParticleData.d.ts +1 -1
- package/types/Core/Interfaces/ICircleBouncer.d.ts +2 -2
- package/types/Core/Interfaces/IColorManager.d.ts +1 -1
- package/types/Core/Interfaces/IContainerInteractivity.d.ts +1 -1
- package/types/Core/Interfaces/IContainerPlugin.d.ts +7 -7
- package/types/Core/Interfaces/ICoordinates.d.ts +2 -2
- package/types/Core/Interfaces/IDimension.d.ts +1 -1
- package/types/Core/Interfaces/IDrawParticleParams.d.ts +6 -6
- package/types/Core/Interfaces/IExternalInteractor.d.ts +7 -7
- package/types/Core/Interfaces/IInteractor.d.ts +8 -8
- package/types/Core/Interfaces/ILoadParams.d.ts +2 -2
- package/types/Core/Interfaces/IMouseData.d.ts +1 -1
- package/types/Core/Interfaces/IMovePathGenerator.d.ts +4 -4
- package/types/Core/Interfaces/IParticle.d.ts +11 -11
- package/types/Core/Interfaces/IParticleHslAnimation.d.ts +1 -1
- package/types/Core/Interfaces/IParticleMover.d.ts +2 -2
- package/types/Core/Interfaces/IParticleRetinaProps.d.ts +1 -1
- package/types/Core/Interfaces/IParticleRoll.d.ts +1 -1
- package/types/Core/Interfaces/IParticleUpdater.d.ts +7 -7
- package/types/Core/Interfaces/IParticleValueAnimation.d.ts +1 -1
- package/types/Core/Interfaces/IParticlesInteractor.d.ts +3 -3
- package/types/Core/Interfaces/IPlugin.d.ts +5 -5
- package/types/Core/Interfaces/IPositionFromSizeParams.d.ts +2 -2
- package/types/Core/Interfaces/IShapeDrawer.d.ts +1 -1
- package/types/Core/Interfaces/IShapeValues.d.ts +2 -2
- package/types/Core/Interfaces/ITrailFillData.d.ts +1 -1
- package/types/Core/Particle.d.ts +21 -21
- package/types/Core/Particles.d.ts +12 -12
- package/types/Core/Retina.d.ts +2 -2
- package/types/Core/Utils/Circle.d.ts +2 -2
- package/types/Core/Utils/EventListeners.d.ts +1 -1
- package/types/Core/Utils/ExternalInteractorBase.d.ts +5 -5
- package/types/Core/Utils/InteractionManager.d.ts +5 -5
- package/types/Core/Utils/ParticlesInteractorBase.d.ts +5 -5
- package/types/Core/Utils/Point.d.ts +2 -2
- package/types/Core/Utils/QuadTree.d.ts +6 -6
- package/types/Core/Utils/Range.d.ts +1 -1
- package/types/Core/Utils/Rectangle.d.ts +3 -3
- package/types/Core/Utils/Vector.d.ts +2 -2
- package/types/Core/Utils/Vector3d.d.ts +1 -1
- package/types/Options/Classes/AnimatableColor.d.ts +6 -6
- package/types/Options/Classes/AnimationOptions.d.ts +6 -6
- package/types/Options/Classes/Background/Background.d.ts +4 -4
- package/types/Options/Classes/BackgroundMask/BackgroundMask.d.ts +4 -4
- package/types/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +4 -4
- package/types/Options/Classes/ColorAnimation.d.ts +4 -4
- package/types/Options/Classes/FullScreen/FullScreen.d.ts +3 -3
- package/types/Options/Classes/HslAnimation.d.ts +4 -4
- package/types/Options/Classes/Interactivity/Events/ClickEvent.d.ts +5 -5
- package/types/Options/Classes/Interactivity/Events/DivEvent.d.ts +6 -6
- package/types/Options/Classes/Interactivity/Events/Events.d.ts +8 -8
- package/types/Options/Classes/Interactivity/Events/HoverEvent.d.ts +6 -6
- package/types/Options/Classes/Interactivity/Events/Parallax.d.ts +3 -3
- package/types/Options/Classes/Interactivity/Events/ResizeEvent.d.ts +3 -3
- package/types/Options/Classes/Interactivity/Interactivity.d.ts +8 -8
- package/types/Options/Classes/Interactivity/Modes/Modes.d.ts +5 -5
- package/types/Options/Classes/ManualParticle.d.ts +5 -5
- package/types/Options/Classes/Options.d.ts +15 -15
- package/types/Options/Classes/OptionsColor.d.ts +5 -5
- package/types/Options/Classes/Particles/Bounce/ParticlesBounce.d.ts +4 -4
- package/types/Options/Classes/Particles/Bounce/ParticlesBounceFactor.d.ts +1 -1
- package/types/Options/Classes/Particles/Collisions/Collisions.d.ts +8 -8
- package/types/Options/Classes/Particles/Collisions/CollisionsAbsorb.d.ts +3 -3
- package/types/Options/Classes/Particles/Collisions/CollisionsOverlap.d.ts +3 -3
- package/types/Options/Classes/Particles/Move/Move.d.ts +15 -15
- package/types/Options/Classes/Particles/Move/MoveAngle.d.ts +4 -4
- package/types/Options/Classes/Particles/Move/MoveAttract.d.ts +5 -5
- package/types/Options/Classes/Particles/Move/MoveCenter.d.ts +4 -4
- package/types/Options/Classes/Particles/Move/MoveGravity.d.ts +4 -4
- package/types/Options/Classes/Particles/Move/MoveTrail.d.ts +4 -4
- package/types/Options/Classes/Particles/Move/MoveTrailFill.d.ts +4 -4
- package/types/Options/Classes/Particles/Move/OutModes.d.ts +5 -5
- package/types/Options/Classes/Particles/Move/Path/MovePath.d.ts +5 -5
- package/types/Options/Classes/Particles/Move/Spin.d.ts +5 -5
- package/types/Options/Classes/Particles/Number/ParticlesDensity.d.ts +3 -3
- package/types/Options/Classes/Particles/Number/ParticlesNumber.d.ts +4 -4
- package/types/Options/Classes/Particles/Opacity/Opacity.d.ts +5 -5
- package/types/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +5 -5
- package/types/Options/Classes/Particles/ParticlesOptions.d.ts +19 -19
- package/types/Options/Classes/Particles/Shadow.d.ts +5 -5
- package/types/Options/Classes/Particles/Shape/Shape.d.ts +5 -5
- package/types/Options/Classes/Particles/Size/Size.d.ts +5 -5
- package/types/Options/Classes/Particles/Size/SizeAnimation.d.ts +5 -5
- package/types/Options/Classes/Particles/Stroke.d.ts +5 -5
- package/types/Options/Classes/Particles/ZIndex/ZIndex.d.ts +4 -4
- package/types/Options/Classes/Random.d.ts +3 -3
- package/types/Options/Classes/Responsive.d.ts +5 -5
- package/types/Options/Classes/Theme/Theme.d.ts +5 -5
- package/types/Options/Classes/Theme/ThemeDefault.d.ts +4 -4
- package/types/Options/Classes/ValueWithRandom.d.ts +6 -6
- package/types/Options/Interfaces/Background/IBackground.d.ts +1 -1
- package/types/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +2 -2
- package/types/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.d.ts +1 -1
- package/types/Options/Interfaces/IAnimatable.d.ts +1 -1
- package/types/Options/Interfaces/IAnimatableColor.d.ts +3 -3
- package/types/Options/Interfaces/IAnimation.d.ts +3 -3
- package/types/Options/Interfaces/IColorAnimation.d.ts +2 -2
- package/types/Options/Interfaces/IHslAnimation.d.ts +1 -1
- package/types/Options/Interfaces/IManualParticle.d.ts +3 -3
- package/types/Options/Interfaces/IOptionLoader.d.ts +1 -1
- package/types/Options/Interfaces/IOptions.d.ts +11 -11
- package/types/Options/Interfaces/IOptionsColor.d.ts +1 -1
- package/types/Options/Interfaces/IResponsive.d.ts +3 -3
- package/types/Options/Interfaces/IValueWithRandom.d.ts +3 -3
- package/types/Options/Interfaces/Interactivity/Events/IClickEvent.d.ts +2 -2
- package/types/Options/Interfaces/Interactivity/Events/IDivEvent.d.ts +3 -3
- package/types/Options/Interfaces/Interactivity/Events/IEvents.d.ts +5 -5
- package/types/Options/Interfaces/Interactivity/Events/IHoverEvent.d.ts +3 -3
- package/types/Options/Interfaces/Interactivity/IInteractivity.d.ts +3 -3
- package/types/Options/Interfaces/Interactivity/Modes/IModeDiv.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Bounce/IParticlesBounce.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Collisions/ICollisions.d.ts +5 -5
- package/types/Options/Interfaces/Particles/IParticlesOptions.d.ts +15 -15
- package/types/Options/Interfaces/Particles/IShadow.d.ts +2 -2
- package/types/Options/Interfaces/Particles/IStroke.d.ts +4 -4
- package/types/Options/Interfaces/Particles/Move/IMove.d.ts +12 -12
- package/types/Options/Interfaces/Particles/Move/IMoveAngle.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Move/IMoveAttract.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Move/IMoveCenter.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Move/IMoveGravity.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Move/IMoveTrail.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Move/IMoveTrailFill.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Move/IOutModes.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Move/ISpin.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Move/Path/IMovePath.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Number/IParticlesNumber.d.ts +1 -1
- package/types/Options/Interfaces/Particles/Opacity/IOpacity.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Opacity/IOpacityAnimation.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Shape/IShape.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Size/ISize.d.ts +2 -2
- package/types/Options/Interfaces/Particles/Size/ISizeAnimation.d.ts +2 -2
- package/types/Options/Interfaces/Particles/ZIndex/IZIndex.d.ts +1 -1
- package/types/Options/Interfaces/Theme/ITheme.d.ts +3 -3
- package/types/Options/Interfaces/Theme/IThemeDefault.d.ts +1 -1
- package/types/Types/CustomEventArgs.d.ts +1 -1
- package/types/Types/CustomEventListener.d.ts +1 -1
- package/types/Types/ISourceOptions.d.ts +2 -2
- package/types/Types/ParticlesGroups.d.ts +1 -1
- package/types/Types/RangeValue.d.ts +1 -1
- package/types/Types/ShapeData.d.ts +2 -2
- package/types/Types/ShapeDrawerFunctions.d.ts +3 -3
- package/types/Utils/CanvasUtils.d.ts +9 -9
- package/types/Utils/ColorUtils.d.ts +6 -6
- package/types/Utils/EventDispatcher.d.ts +2 -2
- package/types/Utils/HslColorManager.d.ts +2 -2
- package/types/Utils/NumberUtils.d.ts +8 -8
- package/types/Utils/OptionsUtils.d.ts +6 -6
- package/types/Utils/RgbColorManager.d.ts +2 -2
- package/types/Utils/Utils.d.ts +12 -12
- package/types/bundle.d.ts +2 -2
- package/types/export-types.d.ts +106 -106
- package/types/exports.d.ts +89 -89
- package/types/index.d.ts +3 -3
- package/types/init.d.ts +1 -1
- package/umd/Core/Canvas.js +29 -29
- package/umd/Core/Container.js +20 -20
- package/umd/Core/Engine.js +23 -23
- package/umd/Core/Particle.js +38 -38
- package/umd/Core/Particles.js +16 -16
- package/umd/Core/Retina.js +12 -12
- package/umd/Core/Utils/Circle.js +7 -7
- package/umd/Core/Utils/EventListeners.js +20 -20
- package/umd/Core/Utils/QuadTree.js +8 -8
- package/umd/Core/Utils/Rectangle.js +5 -5
- package/umd/Core/Utils/Vector.js +3 -3
- package/umd/Core/Utils/Vector3d.js +5 -5
- package/umd/Options/Classes/AnimatableColor.js +7 -7
- package/umd/Options/Classes/AnimationOptions.js +6 -6
- package/umd/Options/Classes/Background/Background.js +4 -4
- package/umd/Options/Classes/BackgroundMask/BackgroundMask.js +5 -5
- package/umd/Options/Classes/BackgroundMask/BackgroundMaskCover.js +4 -4
- package/umd/Options/Classes/ColorAnimation.js +7 -7
- package/umd/Options/Classes/HslAnimation.js +5 -5
- package/umd/Options/Classes/Interactivity/Events/Events.js +13 -13
- package/umd/Options/Classes/Interactivity/Events/HoverEvent.js +3 -3
- package/umd/Options/Classes/Interactivity/Interactivity.js +5 -5
- package/umd/Options/Classes/ManualParticle.js +3 -3
- package/umd/Options/Classes/Options.js +25 -25
- package/umd/Options/Classes/OptionsColor.js +3 -3
- package/umd/Options/Classes/Particles/Bounce/ParticlesBounce.js +4 -4
- package/umd/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +3 -3
- package/umd/Options/Classes/Particles/Collisions/Collisions.js +9 -9
- package/umd/Options/Classes/Particles/Move/Move.js +25 -25
- package/umd/Options/Classes/Particles/Move/MoveAngle.js +4 -4
- package/umd/Options/Classes/Particles/Move/MoveAttract.js +3 -3
- package/umd/Options/Classes/Particles/Move/MoveGravity.js +4 -4
- package/umd/Options/Classes/Particles/Move/MoveTrail.js +3 -3
- package/umd/Options/Classes/Particles/Move/MoveTrailFill.js +3 -3
- package/umd/Options/Classes/Particles/Move/Path/MovePath.js +5 -5
- package/umd/Options/Classes/Particles/Move/Spin.js +5 -5
- package/umd/Options/Classes/Particles/Number/ParticlesNumber.js +3 -3
- package/umd/Options/Classes/Particles/Opacity/Opacity.js +5 -5
- package/umd/Options/Classes/Particles/Opacity/OpacityAnimation.js +3 -3
- package/umd/Options/Classes/Particles/ParticlesOptions.js +29 -29
- package/umd/Options/Classes/Particles/Shadow.js +4 -4
- package/umd/Options/Classes/Particles/Shape/Shape.js +3 -3
- package/umd/Options/Classes/Particles/Size/Size.js +5 -5
- package/umd/Options/Classes/Particles/Size/SizeAnimation.js +3 -3
- package/umd/Options/Classes/Particles/Stroke.js +6 -6
- package/umd/Options/Classes/Particles/ZIndex/ZIndex.js +3 -3
- package/umd/Options/Classes/Responsive.js +3 -3
- package/umd/Options/Classes/Theme/Theme.js +5 -5
- package/umd/Options/Classes/ValueWithRandom.js +10 -10
- package/umd/Utils/CanvasUtils.js +3 -3
- package/umd/Utils/ColorUtils.js +24 -24
- package/umd/Utils/HslColorManager.js +10 -10
- package/umd/Utils/NumberUtils.js +11 -11
- package/umd/Utils/OptionsUtils.js +3 -3
- package/umd/Utils/RgbColorManager.js +6 -6
- package/umd/Utils/Utils.js +18 -18
- package/umd/bundle.js +4 -4
- package/umd/export-types.js +98 -98
- package/umd/exports.js +90 -90
- package/umd/index.js +7 -7
- package/umd/init.js +9 -9
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DestroyType } from "../../../../Enums/Types/DestroyType";
|
|
2
|
-
import type { IOpacityAnimation } from "../../../Interfaces/Particles/Opacity/IOpacityAnimation";
|
|
3
|
-
import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
|
|
4
|
-
import { RangedAnimationOptions } from "../../AnimationOptions";
|
|
5
|
-
import type { RecursivePartial } from "../../../../Types/RecursivePartial";
|
|
1
|
+
import { DestroyType } from "../../../../Enums/Types/DestroyType.js";
|
|
2
|
+
import type { IOpacityAnimation } from "../../../Interfaces/Particles/Opacity/IOpacityAnimation.js";
|
|
3
|
+
import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
|
|
4
|
+
import { RangedAnimationOptions } from "../../AnimationOptions.js";
|
|
5
|
+
import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
|
|
6
6
|
export declare class OpacityAnimation extends RangedAnimationOptions implements IOpacityAnimation, IOptionLoader<IOpacityAnimation> {
|
|
7
7
|
destroy: DestroyType | keyof typeof DestroyType;
|
|
8
8
|
constructor();
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { AnimatableColor } from "../AnimatableColor";
|
|
2
|
-
import { Collisions } from "./Collisions/Collisions";
|
|
3
|
-
import type { Container } from "../../../Core/Container";
|
|
4
|
-
import type { Engine } from "../../../Core/Engine";
|
|
5
|
-
import type { IInteractivity } from "../../Interfaces/Interactivity/IInteractivity";
|
|
6
|
-
import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
|
|
7
|
-
import type { IParticlesOptions } from "../../Interfaces/Particles/IParticlesOptions";
|
|
8
|
-
import { Move } from "./Move/Move";
|
|
9
|
-
import { Opacity } from "./Opacity/Opacity";
|
|
10
|
-
import { ParticlesBounce } from "./Bounce/ParticlesBounce";
|
|
11
|
-
import type { ParticlesGroups } from "../../../Types/ParticlesGroups";
|
|
12
|
-
import { ParticlesNumber } from "./Number/ParticlesNumber";
|
|
13
|
-
import type { RecursivePartial } from "../../../Types/RecursivePartial";
|
|
14
|
-
import { Shadow } from "./Shadow";
|
|
15
|
-
import { Shape } from "./Shape/Shape";
|
|
16
|
-
import type { SingleOrMultiple } from "../../../Types/SingleOrMultiple";
|
|
17
|
-
import { Size } from "./Size/Size";
|
|
18
|
-
import { Stroke } from "./Stroke";
|
|
19
|
-
import { ZIndex } from "./ZIndex/ZIndex";
|
|
1
|
+
import { AnimatableColor } from "../AnimatableColor.js";
|
|
2
|
+
import { Collisions } from "./Collisions/Collisions.js";
|
|
3
|
+
import type { Container } from "../../../Core/Container.js";
|
|
4
|
+
import type { Engine } from "../../../Core/Engine.js";
|
|
5
|
+
import type { IInteractivity } from "../../Interfaces/Interactivity/IInteractivity.js";
|
|
6
|
+
import type { IOptionLoader } from "../../Interfaces/IOptionLoader.js";
|
|
7
|
+
import type { IParticlesOptions } from "../../Interfaces/Particles/IParticlesOptions.js";
|
|
8
|
+
import { Move } from "./Move/Move.js";
|
|
9
|
+
import { Opacity } from "./Opacity/Opacity.js";
|
|
10
|
+
import { ParticlesBounce } from "./Bounce/ParticlesBounce.js";
|
|
11
|
+
import type { ParticlesGroups } from "../../../Types/ParticlesGroups.js";
|
|
12
|
+
import { ParticlesNumber } from "./Number/ParticlesNumber.js";
|
|
13
|
+
import type { RecursivePartial } from "../../../Types/RecursivePartial.js";
|
|
14
|
+
import { Shadow } from "./Shadow.js";
|
|
15
|
+
import { Shape } from "./Shape/Shape.js";
|
|
16
|
+
import type { SingleOrMultiple } from "../../../Types/SingleOrMultiple.js";
|
|
17
|
+
import { Size } from "./Size/Size.js";
|
|
18
|
+
import { Stroke } from "./Stroke.js";
|
|
19
|
+
import { ZIndex } from "./ZIndex/ZIndex.js";
|
|
20
20
|
export declare class ParticlesOptions implements IParticlesOptions, IOptionLoader<IParticlesOptions> {
|
|
21
21
|
[name: string]: unknown;
|
|
22
22
|
bounce: ParticlesBounce;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ICoordinates } from "../../../Core/Interfaces/ICoordinates";
|
|
2
|
-
import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
|
|
3
|
-
import type { IShadow } from "../../Interfaces/Particles/IShadow";
|
|
4
|
-
import { OptionsColor } from "../OptionsColor";
|
|
5
|
-
import type { RecursivePartial } from "../../../Types/RecursivePartial";
|
|
1
|
+
import type { ICoordinates } from "../../../Core/Interfaces/ICoordinates.js";
|
|
2
|
+
import type { IOptionLoader } from "../../Interfaces/IOptionLoader.js";
|
|
3
|
+
import type { IShadow } from "../../Interfaces/Particles/IShadow.js";
|
|
4
|
+
import { OptionsColor } from "../OptionsColor.js";
|
|
5
|
+
import type { RecursivePartial } from "../../../Types/RecursivePartial.js";
|
|
6
6
|
export declare class Shadow implements IShadow, IOptionLoader<IShadow> {
|
|
7
7
|
blur: number;
|
|
8
8
|
color: OptionsColor;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
|
|
2
|
-
import type { IShape } from "../../../Interfaces/Particles/Shape/IShape";
|
|
3
|
-
import type { RecursivePartial } from "../../../../Types/RecursivePartial";
|
|
4
|
-
import type { ShapeData } from "../../../../Types/ShapeData";
|
|
5
|
-
import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple";
|
|
1
|
+
import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
|
|
2
|
+
import type { IShape } from "../../../Interfaces/Particles/Shape/IShape.js";
|
|
3
|
+
import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
|
|
4
|
+
import type { ShapeData } from "../../../../Types/ShapeData.js";
|
|
5
|
+
import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple.js";
|
|
6
6
|
export declare class Shape implements IShape, IOptionLoader<IShape> {
|
|
7
7
|
close: boolean;
|
|
8
8
|
fill: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
|
|
2
|
-
import type { ISize } from "../../../Interfaces/Particles/Size/ISize";
|
|
3
|
-
import type { RecursivePartial } from "../../../../Types/RecursivePartial";
|
|
4
|
-
import { SizeAnimation } from "./SizeAnimation";
|
|
5
|
-
import { ValueWithRandom } from "../../ValueWithRandom";
|
|
1
|
+
import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
|
|
2
|
+
import type { ISize } from "../../../Interfaces/Particles/Size/ISize.js";
|
|
3
|
+
import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
|
|
4
|
+
import { SizeAnimation } from "./SizeAnimation.js";
|
|
5
|
+
import { ValueWithRandom } from "../../ValueWithRandom.js";
|
|
6
6
|
export declare class Size extends ValueWithRandom implements ISize, IOptionLoader<ISize> {
|
|
7
7
|
animation: SizeAnimation;
|
|
8
8
|
constructor();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DestroyType } from "../../../../Enums/Types/DestroyType";
|
|
2
|
-
import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
|
|
3
|
-
import type { ISizeAnimation } from "../../../Interfaces/Particles/Size/ISizeAnimation";
|
|
4
|
-
import { RangedAnimationOptions } from "../../AnimationOptions";
|
|
5
|
-
import type { RecursivePartial } from "../../../../Types/RecursivePartial";
|
|
1
|
+
import { DestroyType } from "../../../../Enums/Types/DestroyType.js";
|
|
2
|
+
import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
|
|
3
|
+
import type { ISizeAnimation } from "../../../Interfaces/Particles/Size/ISizeAnimation.js";
|
|
4
|
+
import { RangedAnimationOptions } from "../../AnimationOptions.js";
|
|
5
|
+
import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
|
|
6
6
|
export declare class SizeAnimation extends RangedAnimationOptions implements ISizeAnimation, IOptionLoader<ISizeAnimation> {
|
|
7
7
|
destroy: DestroyType | keyof typeof DestroyType;
|
|
8
8
|
constructor();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AnimatableColor } from "../AnimatableColor";
|
|
2
|
-
import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
|
|
3
|
-
import type { IStroke } from "../../Interfaces/Particles/IStroke";
|
|
4
|
-
import type { RangeValue } from "../../../Types/RangeValue";
|
|
5
|
-
import type { RecursivePartial } from "../../../Types/RecursivePartial";
|
|
1
|
+
import { AnimatableColor } from "../AnimatableColor.js";
|
|
2
|
+
import type { IOptionLoader } from "../../Interfaces/IOptionLoader.js";
|
|
3
|
+
import type { IStroke } from "../../Interfaces/Particles/IStroke.js";
|
|
4
|
+
import type { RangeValue } from "../../../Types/RangeValue.js";
|
|
5
|
+
import type { RecursivePartial } from "../../../Types/RecursivePartial.js";
|
|
6
6
|
export declare class Stroke implements IStroke, IOptionLoader<IStroke> {
|
|
7
7
|
color?: AnimatableColor;
|
|
8
8
|
opacity?: RangeValue;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
|
|
2
|
-
import type { IZIndex } from "../../../Interfaces/Particles/ZIndex/IZIndex";
|
|
3
|
-
import type { RecursivePartial } from "../../../../Types/RecursivePartial";
|
|
4
|
-
import { ValueWithRandom } from "../../ValueWithRandom";
|
|
1
|
+
import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
|
|
2
|
+
import type { IZIndex } from "../../../Interfaces/Particles/ZIndex/IZIndex.js";
|
|
3
|
+
import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
|
|
4
|
+
import { ValueWithRandom } from "../../ValueWithRandom.js";
|
|
5
5
|
export declare class ZIndex extends ValueWithRandom implements IZIndex, IOptionLoader<IZIndex> {
|
|
6
6
|
opacityRate: number;
|
|
7
7
|
sizeRate: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { IOptionLoader } from "../Interfaces/IOptionLoader";
|
|
2
|
-
import type { IRandom } from "../Interfaces/IRandom";
|
|
3
|
-
import type { RecursivePartial } from "../../Types/RecursivePartial";
|
|
1
|
+
import type { IOptionLoader } from "../Interfaces/IOptionLoader.js";
|
|
2
|
+
import type { IRandom } from "../Interfaces/IRandom.js";
|
|
3
|
+
import type { RecursivePartial } from "../../Types/RecursivePartial.js";
|
|
4
4
|
export declare class Random implements IRandom, IOptionLoader<IRandom> {
|
|
5
5
|
enable: boolean;
|
|
6
6
|
minimumValue: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { IOptionLoader } from "../Interfaces/IOptionLoader";
|
|
2
|
-
import type { IOptions } from "../Interfaces/IOptions";
|
|
3
|
-
import type { IResponsive } from "../Interfaces/IResponsive";
|
|
4
|
-
import type { RecursivePartial } from "../../Types/RecursivePartial";
|
|
5
|
-
import { ResponsiveMode } from "../../Enums/Modes/ResponsiveMode";
|
|
1
|
+
import type { IOptionLoader } from "../Interfaces/IOptionLoader.js";
|
|
2
|
+
import type { IOptions } from "../Interfaces/IOptions.js";
|
|
3
|
+
import type { IResponsive } from "../Interfaces/IResponsive.js";
|
|
4
|
+
import type { RecursivePartial } from "../../Types/RecursivePartial.js";
|
|
5
|
+
import { ResponsiveMode } from "../../Enums/Modes/ResponsiveMode.js";
|
|
6
6
|
export declare class Responsive implements IResponsive, IOptionLoader<IResponsive> {
|
|
7
7
|
maxWidth: number;
|
|
8
8
|
mode: ResponsiveMode | keyof typeof ResponsiveMode;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
|
|
2
|
-
import type { IOptions } from "../../Interfaces/IOptions";
|
|
3
|
-
import type { ITheme } from "../../Interfaces/Theme/ITheme";
|
|
4
|
-
import type { RecursivePartial } from "../../../Types/RecursivePartial";
|
|
5
|
-
import { ThemeDefault } from "./ThemeDefault";
|
|
1
|
+
import type { IOptionLoader } from "../../Interfaces/IOptionLoader.js";
|
|
2
|
+
import type { IOptions } from "../../Interfaces/IOptions.js";
|
|
3
|
+
import type { ITheme } from "../../Interfaces/Theme/ITheme.js";
|
|
4
|
+
import type { RecursivePartial } from "../../../Types/RecursivePartial.js";
|
|
5
|
+
import { ThemeDefault } from "./ThemeDefault.js";
|
|
6
6
|
export declare class Theme implements ITheme, IOptionLoader<ITheme> {
|
|
7
7
|
default: ThemeDefault;
|
|
8
8
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
|
|
2
|
-
import type { IThemeDefault } from "../../Interfaces/Theme/IThemeDefault";
|
|
3
|
-
import type { RecursivePartial } from "../../../Types/RecursivePartial";
|
|
4
|
-
import { ThemeMode } from "../../../Enums/Modes/ThemeMode";
|
|
1
|
+
import type { IOptionLoader } from "../../Interfaces/IOptionLoader.js";
|
|
2
|
+
import type { IThemeDefault } from "../../Interfaces/Theme/IThemeDefault.js";
|
|
3
|
+
import type { RecursivePartial } from "../../../Types/RecursivePartial.js";
|
|
4
|
+
import { ThemeMode } from "../../../Enums/Modes/ThemeMode.js";
|
|
5
5
|
export declare class ThemeDefault implements IThemeDefault, IOptionLoader<IThemeDefault> {
|
|
6
6
|
auto: boolean;
|
|
7
7
|
mode: ThemeMode | keyof typeof ThemeMode;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AnimationOptions, RangedAnimationOptions } from "./AnimationOptions";
|
|
2
|
-
import type { IAnimationValueWithRandom, IRangedAnimationValueWithRandom, IValueWithRandom } from "../Interfaces/IValueWithRandom";
|
|
3
|
-
import type { IOptionLoader } from "../Interfaces/IOptionLoader";
|
|
4
|
-
import { Random } from "./Random";
|
|
5
|
-
import type { RangeValue } from "../../Types/RangeValue";
|
|
6
|
-
import type { RecursivePartial } from "../../Types/RecursivePartial";
|
|
1
|
+
import { AnimationOptions, RangedAnimationOptions } from "./AnimationOptions.js";
|
|
2
|
+
import type { IAnimationValueWithRandom, IRangedAnimationValueWithRandom, IValueWithRandom } from "../Interfaces/IValueWithRandom.js";
|
|
3
|
+
import type { IOptionLoader } from "../Interfaces/IOptionLoader.js";
|
|
4
|
+
import { Random } from "./Random.js";
|
|
5
|
+
import type { RangeValue } from "../../Types/RangeValue.js";
|
|
6
|
+
import type { RecursivePartial } from "../../Types/RecursivePartial.js";
|
|
7
7
|
export declare class ValueWithRandom implements IValueWithRandom, IOptionLoader<IValueWithRandom> {
|
|
8
8
|
random: Random;
|
|
9
9
|
value: RangeValue;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IBackgroundMaskCover } from "./IBackgroundMaskCover";
|
|
2
|
-
import type { IColor } from "../../../Core/Interfaces/Colors";
|
|
1
|
+
import type { IBackgroundMaskCover } from "./IBackgroundMaskCover.js";
|
|
2
|
+
import type { IColor } from "../../../Core/Interfaces/Colors.js";
|
|
3
3
|
export interface IBackgroundMask {
|
|
4
4
|
composite: GlobalCompositeOperation;
|
|
5
5
|
cover: IBackgroundMaskCover | IColor | string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { IColorAnimation } from "./IColorAnimation";
|
|
2
|
-
import type { IHslAnimation } from "./IHslAnimation";
|
|
3
|
-
import type { IOptionsColor } from "./IOptionsColor";
|
|
1
|
+
import type { IColorAnimation } from "./IColorAnimation.js";
|
|
2
|
+
import type { IHslAnimation } from "./IHslAnimation.js";
|
|
3
|
+
import type { IOptionsColor } from "./IOptionsColor.js";
|
|
4
4
|
export interface IAnimatableColor extends IOptionsColor {
|
|
5
5
|
animation: IColorAnimation | IHslAnimation;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { AnimationMode } from "../../Enums/Modes/AnimationMode";
|
|
2
|
-
import type { RangeValue } from "../../Types/RangeValue";
|
|
3
|
-
import type { StartValueType } from "../../Enums/Types/StartValueType";
|
|
1
|
+
import type { AnimationMode } from "../../Enums/Modes/AnimationMode.js";
|
|
2
|
+
import type { RangeValue } from "../../Types/RangeValue.js";
|
|
3
|
+
import type { StartValueType } from "../../Enums/Types/StartValueType.js";
|
|
4
4
|
export interface IAnimation {
|
|
5
5
|
count: RangeValue;
|
|
6
6
|
decay: RangeValue;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IAnimation } from "./IAnimation";
|
|
2
|
-
import type { RangeValue } from "../../Types/RangeValue";
|
|
1
|
+
import type { IAnimation } from "./IAnimation.js";
|
|
2
|
+
import type { RangeValue } from "../../Types/RangeValue.js";
|
|
3
3
|
export interface IColorAnimation extends IAnimation {
|
|
4
4
|
offset: RangeValue;
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ICoordinatesWithMode } from "../../Core/Interfaces/ICoordinates";
|
|
2
|
-
import type { IParticlesOptions } from "./Particles/IParticlesOptions";
|
|
3
|
-
import type { RecursivePartial } from "../../Types/RecursivePartial";
|
|
1
|
+
import type { ICoordinatesWithMode } from "../../Core/Interfaces/ICoordinates.js";
|
|
2
|
+
import type { IParticlesOptions } from "./Particles/IParticlesOptions.js";
|
|
3
|
+
import type { RecursivePartial } from "../../Types/RecursivePartial.js";
|
|
4
4
|
export interface IManualParticle {
|
|
5
5
|
options?: RecursivePartial<IParticlesOptions>;
|
|
6
6
|
position?: ICoordinatesWithMode;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type { IBackground } from "./Background/IBackground";
|
|
2
|
-
import type { IBackgroundMask } from "./BackgroundMask/IBackgroundMask";
|
|
3
|
-
import type { IFullScreen } from "./FullScreen/IFullScreen";
|
|
4
|
-
import type { IInteractivity } from "./Interactivity/IInteractivity";
|
|
5
|
-
import type { IManualParticle } from "./IManualParticle";
|
|
6
|
-
import type { IParticlesOptions } from "./Particles/IParticlesOptions";
|
|
7
|
-
import type { IResponsive } from "./IResponsive";
|
|
8
|
-
import type { ITheme } from "./Theme/ITheme";
|
|
9
|
-
import type { RangeValue } from "../../Types/RangeValue";
|
|
10
|
-
import type { RecursivePartial } from "../../Types/RecursivePartial";
|
|
11
|
-
import type { SingleOrMultiple } from "../../Types/SingleOrMultiple";
|
|
1
|
+
import type { IBackground } from "./Background/IBackground.js";
|
|
2
|
+
import type { IBackgroundMask } from "./BackgroundMask/IBackgroundMask.js";
|
|
3
|
+
import type { IFullScreen } from "./FullScreen/IFullScreen.js";
|
|
4
|
+
import type { IInteractivity } from "./Interactivity/IInteractivity.js";
|
|
5
|
+
import type { IManualParticle } from "./IManualParticle.js";
|
|
6
|
+
import type { IParticlesOptions } from "./Particles/IParticlesOptions.js";
|
|
7
|
+
import type { IResponsive } from "./IResponsive.js";
|
|
8
|
+
import type { ITheme } from "./Theme/ITheme.js";
|
|
9
|
+
import type { RangeValue } from "../../Types/RangeValue.js";
|
|
10
|
+
import type { RecursivePartial } from "../../Types/RecursivePartial.js";
|
|
11
|
+
import type { SingleOrMultiple } from "../../Types/SingleOrMultiple.js";
|
|
12
12
|
export interface IOptions {
|
|
13
13
|
[name: string]: unknown;
|
|
14
14
|
autoPlay: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IRangeColor } from "../../Core/Interfaces/Colors";
|
|
1
|
+
import type { IRangeColor } from "../../Core/Interfaces/Colors.js";
|
|
2
2
|
export type IOptionsColor = IRangeColor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { IOptions } from "./IOptions";
|
|
2
|
-
import type { RecursivePartial } from "../../Types/RecursivePartial";
|
|
3
|
-
import type { ResponsiveMode } from "../../Enums/Modes/ResponsiveMode";
|
|
1
|
+
import type { IOptions } from "./IOptions.js";
|
|
2
|
+
import type { RecursivePartial } from "../../Types/RecursivePartial.js";
|
|
3
|
+
import type { ResponsiveMode } from "../../Enums/Modes/ResponsiveMode.js";
|
|
4
4
|
export interface IResponsive {
|
|
5
5
|
maxWidth: number;
|
|
6
6
|
mode: ResponsiveMode | keyof typeof ResponsiveMode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { IAnimation, IRangedAnimation } from "./IAnimation";
|
|
2
|
-
import type { IRandom } from "./IRandom";
|
|
3
|
-
import type { RangeValue } from "../../Types/RangeValue";
|
|
1
|
+
import type { IAnimation, IRangedAnimation } from "./IAnimation.js";
|
|
2
|
+
import type { IRandom } from "./IRandom.js";
|
|
3
|
+
import type { RangeValue } from "../../Types/RangeValue.js";
|
|
4
4
|
export interface IValueWithRandom {
|
|
5
5
|
random: boolean | IRandom;
|
|
6
6
|
value: RangeValue;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ClickMode } from "../../../../Enums/Modes/ClickMode";
|
|
2
|
-
import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple";
|
|
1
|
+
import type { ClickMode } from "../../../../Enums/Modes/ClickMode.js";
|
|
2
|
+
import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple.js";
|
|
3
3
|
export interface IClickEvent {
|
|
4
4
|
enable: boolean;
|
|
5
5
|
mode: SingleOrMultiple<ClickMode | keyof typeof ClickMode | string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { DivMode } from "../../../../Enums/Modes/DivMode";
|
|
2
|
-
import type { DivType } from "../../../../Enums/Types/DivType";
|
|
3
|
-
import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple";
|
|
1
|
+
import type { DivMode } from "../../../../Enums/Modes/DivMode.js";
|
|
2
|
+
import type { DivType } from "../../../../Enums/Types/DivType.js";
|
|
3
|
+
import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple.js";
|
|
4
4
|
export interface IDivEvent {
|
|
5
5
|
enable: boolean;
|
|
6
6
|
mode: SingleOrMultiple<DivMode | keyof typeof DivMode | string>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { IClickEvent } from "./IClickEvent";
|
|
2
|
-
import type { IDivEvent } from "./IDivEvent";
|
|
3
|
-
import type { IHoverEvent } from "./IHoverEvent";
|
|
4
|
-
import type { IResizeEvent } from "./IResizeEvent";
|
|
5
|
-
import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple";
|
|
1
|
+
import type { IClickEvent } from "./IClickEvent.js";
|
|
2
|
+
import type { IDivEvent } from "./IDivEvent.js";
|
|
3
|
+
import type { IHoverEvent } from "./IHoverEvent.js";
|
|
4
|
+
import type { IResizeEvent } from "./IResizeEvent.js";
|
|
5
|
+
import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple.js";
|
|
6
6
|
export interface IEvents {
|
|
7
7
|
onClick: IClickEvent;
|
|
8
8
|
onDiv: SingleOrMultiple<IDivEvent>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { HoverMode } from "../../../../Enums/Modes/HoverMode";
|
|
2
|
-
import type { IParallax } from "./IParallax";
|
|
3
|
-
import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple";
|
|
1
|
+
import type { HoverMode } from "../../../../Enums/Modes/HoverMode.js";
|
|
2
|
+
import type { IParallax } from "./IParallax.js";
|
|
3
|
+
import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple.js";
|
|
4
4
|
export interface IHoverEvent {
|
|
5
5
|
enable: boolean;
|
|
6
6
|
mode: SingleOrMultiple<HoverMode | keyof typeof HoverMode | string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { IEvents } from "./Events/IEvents";
|
|
2
|
-
import type { IModes } from "./Modes/IModes";
|
|
3
|
-
import type { InteractivityDetect } from "../../../Enums/InteractivityDetect";
|
|
1
|
+
import type { IEvents } from "./Events/IEvents.js";
|
|
2
|
+
import type { IModes } from "./Modes/IModes.js";
|
|
3
|
+
import type { InteractivityDetect } from "../../../Enums/InteractivityDetect.js";
|
|
4
4
|
export interface IInteractivity {
|
|
5
5
|
[name: string]: unknown;
|
|
6
6
|
detectsOn: InteractivityDetect | keyof typeof InteractivityDetect;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { CollisionMode } from "../../../../Enums/Modes/CollisionMode";
|
|
2
|
-
import type { ICollisionsAbsorb } from "./ICollisionsAbsorb";
|
|
3
|
-
import type { ICollisionsOverlap } from "./ICollisionsOverlap";
|
|
4
|
-
import type { IParticlesBounce } from "../Bounce/IParticlesBounce";
|
|
5
|
-
import type { RangeValue } from "../../../../Types/RangeValue";
|
|
1
|
+
import type { CollisionMode } from "../../../../Enums/Modes/CollisionMode.js";
|
|
2
|
+
import type { ICollisionsAbsorb } from "./ICollisionsAbsorb.js";
|
|
3
|
+
import type { ICollisionsOverlap } from "./ICollisionsOverlap.js";
|
|
4
|
+
import type { IParticlesBounce } from "../Bounce/IParticlesBounce.js";
|
|
5
|
+
import type { RangeValue } from "../../../../Types/RangeValue.js";
|
|
6
6
|
export interface ICollisions {
|
|
7
7
|
absorb: ICollisionsAbsorb;
|
|
8
8
|
bounce: IParticlesBounce;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import type { IAnimatableColor } from "../IAnimatableColor";
|
|
2
|
-
import type { ICollisions } from "./Collisions/ICollisions";
|
|
3
|
-
import type { IInteractivity } from "../Interactivity/IInteractivity";
|
|
4
|
-
import type { IMove } from "./Move/IMove";
|
|
5
|
-
import type { IOpacity } from "./Opacity/IOpacity";
|
|
6
|
-
import type { IParticlesBounce } from "./Bounce/IParticlesBounce";
|
|
7
|
-
import type { IParticlesNumber } from "./Number/IParticlesNumber";
|
|
8
|
-
import type { IShadow } from "./IShadow";
|
|
9
|
-
import type { IShape } from "./Shape/IShape";
|
|
10
|
-
import type { ISize } from "./Size/ISize";
|
|
11
|
-
import type { IStroke } from "./IStroke";
|
|
12
|
-
import type { IZIndex } from "./ZIndex/IZIndex";
|
|
13
|
-
import type { ParticlesGroups } from "../../../Types/ParticlesGroups";
|
|
14
|
-
import type { RecursivePartial } from "../../../Types/RecursivePartial";
|
|
15
|
-
import type { SingleOrMultiple } from "../../../Types/SingleOrMultiple";
|
|
1
|
+
import type { IAnimatableColor } from "../IAnimatableColor.js";
|
|
2
|
+
import type { ICollisions } from "./Collisions/ICollisions.js";
|
|
3
|
+
import type { IInteractivity } from "../Interactivity/IInteractivity.js";
|
|
4
|
+
import type { IMove } from "./Move/IMove.js";
|
|
5
|
+
import type { IOpacity } from "./Opacity/IOpacity.js";
|
|
6
|
+
import type { IParticlesBounce } from "./Bounce/IParticlesBounce.js";
|
|
7
|
+
import type { IParticlesNumber } from "./Number/IParticlesNumber.js";
|
|
8
|
+
import type { IShadow } from "./IShadow.js";
|
|
9
|
+
import type { IShape } from "./Shape/IShape.js";
|
|
10
|
+
import type { ISize } from "./Size/ISize.js";
|
|
11
|
+
import type { IStroke } from "./IStroke.js";
|
|
12
|
+
import type { IZIndex } from "./ZIndex/IZIndex.js";
|
|
13
|
+
import type { ParticlesGroups } from "../../../Types/ParticlesGroups.js";
|
|
14
|
+
import type { RecursivePartial } from "../../../Types/RecursivePartial.js";
|
|
15
|
+
import type { SingleOrMultiple } from "../../../Types/SingleOrMultiple.js";
|
|
16
16
|
export interface IParticlesOptions {
|
|
17
17
|
[name: string]: unknown;
|
|
18
18
|
bounce: IParticlesBounce;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ICoordinates } from "../../../Core/Interfaces/ICoordinates";
|
|
2
|
-
import type { IOptionsColor } from "../IOptionsColor";
|
|
1
|
+
import type { ICoordinates } from "../../../Core/Interfaces/ICoordinates.js";
|
|
2
|
+
import type { IOptionsColor } from "../IOptionsColor.js";
|
|
3
3
|
export interface IShadow {
|
|
4
4
|
blur: number;
|
|
5
5
|
color: string | IOptionsColor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { IAnimatableColor } from "../IAnimatableColor";
|
|
2
|
-
import type { IColor } from "../../../Core/Interfaces/Colors";
|
|
3
|
-
import type { RangeValue } from "../../../Types/RangeValue";
|
|
4
|
-
import type { RecursivePartial } from "../../../Types/RecursivePartial";
|
|
1
|
+
import type { IAnimatableColor } from "../IAnimatableColor.js";
|
|
2
|
+
import type { IColor } from "../../../Core/Interfaces/Colors.js";
|
|
3
|
+
import type { RangeValue } from "../../../Types/RangeValue.js";
|
|
4
|
+
import type { RecursivePartial } from "../../../Types/RecursivePartial.js";
|
|
5
5
|
export interface IStroke {
|
|
6
6
|
color?: string | RecursivePartial<IAnimatableColor> | RecursivePartial<IColor>;
|
|
7
7
|
opacity?: RangeValue;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { MoveDirection, MoveDirectionAlt } from "../../../../Enums/Directions/MoveDirection";
|
|
2
|
-
import type { OutMode, OutModeAlt } from "../../../../Enums/Modes/OutMode";
|
|
3
|
-
import type { IDistance } from "../../../../Core/Interfaces/IDistance";
|
|
4
|
-
import type { IMoveAngle } from "./IMoveAngle";
|
|
5
|
-
import type { IMoveAttract } from "./IMoveAttract";
|
|
6
|
-
import type { IMoveCenter } from "./IMoveCenter";
|
|
7
|
-
import type { IMoveGravity } from "./IMoveGravity";
|
|
8
|
-
import type { IMovePath } from "./Path/IMovePath";
|
|
9
|
-
import type { IMoveTrail } from "./IMoveTrail";
|
|
10
|
-
import type { IOutModes } from "./IOutModes";
|
|
11
|
-
import type { ISpin } from "./ISpin";
|
|
12
|
-
import type { RangeValue } from "../../../../Types/RangeValue";
|
|
1
|
+
import type { MoveDirection, MoveDirectionAlt } from "../../../../Enums/Directions/MoveDirection.js";
|
|
2
|
+
import type { OutMode, OutModeAlt } from "../../../../Enums/Modes/OutMode.js";
|
|
3
|
+
import type { IDistance } from "../../../../Core/Interfaces/IDistance.js";
|
|
4
|
+
import type { IMoveAngle } from "./IMoveAngle.js";
|
|
5
|
+
import type { IMoveAttract } from "./IMoveAttract.js";
|
|
6
|
+
import type { IMoveCenter } from "./IMoveCenter.js";
|
|
7
|
+
import type { IMoveGravity } from "./IMoveGravity.js";
|
|
8
|
+
import type { IMovePath } from "./Path/IMovePath.js";
|
|
9
|
+
import type { IMoveTrail } from "./IMoveTrail.js";
|
|
10
|
+
import type { IOutModes } from "./IOutModes.js";
|
|
11
|
+
import type { ISpin } from "./ISpin.js";
|
|
12
|
+
import type { RangeValue } from "../../../../Types/RangeValue.js";
|
|
13
13
|
export interface IMove {
|
|
14
14
|
angle: number | IMoveAngle;
|
|
15
15
|
attract: IMoveAttract;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ICoordinates } from "../../../../Core/Interfaces/ICoordinates";
|
|
2
|
-
import type { RangeValue } from "../../../../Types/RangeValue";
|
|
1
|
+
import type { ICoordinates } from "../../../../Core/Interfaces/ICoordinates.js";
|
|
2
|
+
import type { RangeValue } from "../../../../Types/RangeValue.js";
|
|
3
3
|
export interface IMoveAttract {
|
|
4
4
|
distance: RangeValue;
|
|
5
5
|
enable: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ICenterCoordinates } from "../../../../Core/Interfaces/ICoordinates";
|
|
1
|
+
import type { ICenterCoordinates } from "../../../../Core/Interfaces/ICoordinates.js";
|
|
2
2
|
export type IMoveCenter = ICenterCoordinates;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { OutMode, OutModeAlt } from "../../../../Enums/Modes/OutMode";
|
|
1
|
+
import type { OutMode, OutModeAlt } from "../../../../Enums/Modes/OutMode.js";
|
|
2
2
|
export interface IOutModes {
|
|
3
3
|
bottom?: OutMode | keyof typeof OutMode | OutModeAlt;
|
|
4
4
|
default: OutMode | keyof typeof OutMode | OutModeAlt;
|