@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,5 +1,5 @@
|
|
|
1
|
-
import type { ICoordinatesWithMode } from "../../../../Core/Interfaces/ICoordinates";
|
|
2
|
-
import type { RangeValue } from "../../../../Types/RangeValue";
|
|
1
|
+
import type { ICoordinatesWithMode } from "../../../../Core/Interfaces/ICoordinates.js";
|
|
2
|
+
import type { RangeValue } from "../../../../Types/RangeValue.js";
|
|
3
3
|
export interface ISpin {
|
|
4
4
|
acceleration: RangeValue;
|
|
5
5
|
enable: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IValueWithRandom } from "../../../IValueWithRandom";
|
|
2
|
-
import type { PathOptions } from "../../../../../Types/PathOptions";
|
|
1
|
+
import type { IValueWithRandom } from "../../../IValueWithRandom.js";
|
|
2
|
+
import type { PathOptions } from "../../../../../Types/PathOptions.js";
|
|
3
3
|
export interface IMovePath {
|
|
4
4
|
clamp: boolean;
|
|
5
5
|
delay: IValueWithRandom;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IOpacityAnimation } from "./IOpacityAnimation";
|
|
2
|
-
import type { IValueWithRandom } from "../../IValueWithRandom";
|
|
1
|
+
import type { IOpacityAnimation } from "./IOpacityAnimation.js";
|
|
2
|
+
import type { IValueWithRandom } from "../../IValueWithRandom.js";
|
|
3
3
|
export interface IOpacity extends IValueWithRandom {
|
|
4
4
|
animation: IOpacityAnimation;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DestroyType } from "../../../../Enums/Types/DestroyType";
|
|
2
|
-
import type { IRangedAnimation } from "../../IAnimation";
|
|
1
|
+
import type { DestroyType } from "../../../../Enums/Types/DestroyType.js";
|
|
2
|
+
import type { IRangedAnimation } from "../../IAnimation.js";
|
|
3
3
|
export interface IOpacityAnimation extends IRangedAnimation {
|
|
4
4
|
destroy: DestroyType | keyof typeof DestroyType;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ShapeData } from "../../../../Types/ShapeData";
|
|
2
|
-
import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple";
|
|
1
|
+
import type { ShapeData } from "../../../../Types/ShapeData.js";
|
|
2
|
+
import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple.js";
|
|
3
3
|
export interface IShape {
|
|
4
4
|
close: boolean;
|
|
5
5
|
fill: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ISizeAnimation } from "./ISizeAnimation";
|
|
2
|
-
import type { IValueWithRandom } from "../../IValueWithRandom";
|
|
1
|
+
import type { ISizeAnimation } from "./ISizeAnimation.js";
|
|
2
|
+
import type { IValueWithRandom } from "../../IValueWithRandom.js";
|
|
3
3
|
export interface ISize extends IValueWithRandom {
|
|
4
4
|
animation: ISizeAnimation;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DestroyType } from "../../../../Enums/Types/DestroyType";
|
|
2
|
-
import type { IRangedAnimation } from "../../IAnimation";
|
|
1
|
+
import type { DestroyType } from "../../../../Enums/Types/DestroyType.js";
|
|
2
|
+
import type { IRangedAnimation } from "../../IAnimation.js";
|
|
3
3
|
export interface ISizeAnimation extends IRangedAnimation {
|
|
4
4
|
destroy: DestroyType | keyof typeof DestroyType;
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { IOptions } from "../IOptions";
|
|
2
|
-
import type { IThemeDefault } from "./IThemeDefault";
|
|
3
|
-
import type { RecursivePartial } from "../../../Types/RecursivePartial";
|
|
1
|
+
import type { IOptions } from "../IOptions.js";
|
|
2
|
+
import type { IThemeDefault } from "./IThemeDefault.js";
|
|
3
|
+
import type { RecursivePartial } from "../../../Types/RecursivePartial.js";
|
|
4
4
|
export interface ITheme {
|
|
5
5
|
default: IThemeDefault;
|
|
6
6
|
name: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CustomEventArgs } from "./CustomEventArgs";
|
|
1
|
+
import type { CustomEventArgs } from "./CustomEventArgs.js";
|
|
2
2
|
export type CustomEventListener = (args: CustomEventArgs) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { IOptions } from "../Options/Interfaces/IOptions";
|
|
2
|
-
import type { RecursivePartial } from "./RecursivePartial";
|
|
1
|
+
import type { IOptions } from "../Options/Interfaces/IOptions.js";
|
|
2
|
+
import type { RecursivePartial } from "./RecursivePartial.js";
|
|
3
3
|
export type ISourceOptions = RecursivePartial<IOptions>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IRangeValue } from "../Core/Interfaces/IRangeValue";
|
|
1
|
+
import type { IRangeValue } from "../Core/Interfaces/IRangeValue.js";
|
|
2
2
|
export type RangeValue = number | IRangeValue;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IShapeValues } from "../Core/Interfaces/IShapeValues";
|
|
2
|
-
import type { SingleOrMultiple } from "./SingleOrMultiple";
|
|
1
|
+
import type { IShapeValues } from "../Core/Interfaces/IShapeValues.js";
|
|
2
|
+
import type { SingleOrMultiple } from "./SingleOrMultiple.js";
|
|
3
3
|
export type ShapeData = {
|
|
4
4
|
[type: string]: SingleOrMultiple<IShapeValues>;
|
|
5
5
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Container } from "../Core/Container";
|
|
2
|
-
import type { IDelta } from "../Core/Interfaces/IDelta";
|
|
3
|
-
import type { Particle } from "../Core/Particle";
|
|
1
|
+
import type { Container } from "../Core/Container.js";
|
|
2
|
+
import type { IDelta } from "../Core/Interfaces/IDelta.js";
|
|
3
|
+
import type { Particle } from "../Core/Particle.js";
|
|
4
4
|
export type ShapeDrawerDrawFunction = (context: CanvasRenderingContext2D, particle: Particle, radius: number, opacity: number, delta: IDelta, pixelRatio: number) => void;
|
|
5
5
|
export type ShapeDrawerInitFunction = (container: Container) => Promise<void>;
|
|
6
6
|
export type ShapeDrawerParticleInitFunction = (container: Container, particle: Particle) => void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { AlterType } from "../Enums/Types/AlterType";
|
|
2
|
-
import type { Container } from "../Core/Container";
|
|
3
|
-
import type { IContainerPlugin } from "../Core/Interfaces/IContainerPlugin";
|
|
4
|
-
import type { ICoordinates } from "../Core/Interfaces/ICoordinates";
|
|
5
|
-
import type { IDelta } from "../Core/Interfaces/IDelta";
|
|
6
|
-
import type { IDimension } from "../Core/Interfaces/IDimension";
|
|
7
|
-
import type { IDrawParticleParams } from "../Core/Interfaces/IDrawParticleParams";
|
|
8
|
-
import type { IHsl } from "../Core/Interfaces/Colors";
|
|
9
|
-
import type { Particle } from "../Core/Particle";
|
|
1
|
+
import { AlterType } from "../Enums/Types/AlterType.js";
|
|
2
|
+
import type { Container } from "../Core/Container.js";
|
|
3
|
+
import type { IContainerPlugin } from "../Core/Interfaces/IContainerPlugin.js";
|
|
4
|
+
import type { ICoordinates } from "../Core/Interfaces/ICoordinates.js";
|
|
5
|
+
import type { IDelta } from "../Core/Interfaces/IDelta.js";
|
|
6
|
+
import type { IDimension } from "../Core/Interfaces/IDimension.js";
|
|
7
|
+
import type { IDrawParticleParams } from "../Core/Interfaces/IDrawParticleParams.js";
|
|
8
|
+
import type { IHsl } from "../Core/Interfaces/Colors.js";
|
|
9
|
+
import type { Particle } from "../Core/Particle.js";
|
|
10
10
|
export declare function drawLine(context: CanvasRenderingContext2D, begin: ICoordinates, end: ICoordinates): void;
|
|
11
11
|
export declare function drawTriangle(context: CanvasRenderingContext2D, p1: ICoordinates, p2: ICoordinates, p3: ICoordinates): void;
|
|
12
12
|
export declare function paintBase(context: CanvasRenderingContext2D, dimension: IDimension, baseColor?: string): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { IColor, IHsl, IHsla, IRangeColor, IRgb, IRgba } from "../Core/Interfaces/Colors";
|
|
2
|
-
import type { HslAnimation } from "../Options/Classes/HslAnimation";
|
|
3
|
-
import type { IColorManager } from "../Core/Interfaces/IColorManager";
|
|
4
|
-
import type { IOptionsColor } from "../Options/Interfaces/IOptionsColor";
|
|
5
|
-
import type { IParticle } from "../Core/Interfaces/IParticle";
|
|
6
|
-
import type { IParticleHslAnimation } from "../Core/Interfaces/IParticleHslAnimation";
|
|
1
|
+
import type { IColor, IHsl, IHsla, IRangeColor, IRgb, IRgba } from "../Core/Interfaces/Colors.js";
|
|
2
|
+
import type { HslAnimation } from "../Options/Classes/HslAnimation.js";
|
|
3
|
+
import type { IColorManager } from "../Core/Interfaces/IColorManager.js";
|
|
4
|
+
import type { IOptionsColor } from "../Options/Interfaces/IOptionsColor.js";
|
|
5
|
+
import type { IParticle } from "../Core/Interfaces/IParticle.js";
|
|
6
|
+
import type { IParticleHslAnimation } from "../Core/Interfaces/IParticleHslAnimation.js";
|
|
7
7
|
export declare function addColorManager(manager: IColorManager): void;
|
|
8
8
|
export declare function rangeColorToRgb(input?: string | IRangeColor, index?: number, useIndex?: boolean): IRgb | undefined;
|
|
9
9
|
export declare function colorToRgb(input?: string | IColor, index?: number, useIndex?: boolean): IRgb | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CustomEventArgs } from "../Types/CustomEventArgs";
|
|
2
|
-
import type { CustomEventListener } from "../Types/CustomEventListener";
|
|
1
|
+
import type { CustomEventArgs } from "../Types/CustomEventArgs.js";
|
|
2
|
+
import type { CustomEventListener } from "../Types/CustomEventListener.js";
|
|
3
3
|
export declare class EventDispatcher {
|
|
4
4
|
private _listeners;
|
|
5
5
|
constructor();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IColor, IRangeColor, IRgb, IRgba } from "../Core/Interfaces/Colors";
|
|
2
|
-
import type { IColorManager } from "../Core/Interfaces/IColorManager";
|
|
1
|
+
import type { IColor, IRangeColor, IRgb, IRgba } from "../Core/Interfaces/Colors.js";
|
|
2
|
+
import type { IColorManager } from "../Core/Interfaces/IColorManager.js";
|
|
3
3
|
export declare class HslColorManager implements IColorManager {
|
|
4
4
|
readonly key: string;
|
|
5
5
|
readonly stringPrefix: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { EasingType, EasingTypeAlt } from "../Enums/Types/EasingType";
|
|
2
|
-
import type { IPositionFromSizeParams, IRangedPositionFromSizeParams } from "../Core/Interfaces/IPositionFromSizeParams";
|
|
3
|
-
import type { ICoordinates } from "../Core/Interfaces/ICoordinates";
|
|
4
|
-
import type { IValueWithRandom } from "../Options/Interfaces/IValueWithRandom";
|
|
5
|
-
import { MoveDirection } from "../Enums/Directions/MoveDirection";
|
|
6
|
-
import type { MoveDirectionAlt } from "../Enums/Directions/MoveDirection";
|
|
7
|
-
import type { RangeValue } from "../Types/RangeValue";
|
|
8
|
-
import { Vector } from "../Core/Utils/Vector";
|
|
1
|
+
import type { EasingType, EasingTypeAlt } from "../Enums/Types/EasingType.js";
|
|
2
|
+
import type { IPositionFromSizeParams, IRangedPositionFromSizeParams } from "../Core/Interfaces/IPositionFromSizeParams.js";
|
|
3
|
+
import type { ICoordinates } from "../Core/Interfaces/ICoordinates.js";
|
|
4
|
+
import type { IValueWithRandom } from "../Options/Interfaces/IValueWithRandom.js";
|
|
5
|
+
import { MoveDirection } from "../Enums/Directions/MoveDirection.js";
|
|
6
|
+
import type { MoveDirectionAlt } from "../Enums/Directions/MoveDirection.js";
|
|
7
|
+
import type { RangeValue } from "../Types/RangeValue.js";
|
|
8
|
+
import { Vector } from "../Core/Utils/Vector.js";
|
|
9
9
|
type EasingFunction = (value: number) => number;
|
|
10
10
|
export declare function addEasing(name: EasingType | EasingTypeAlt, easing: EasingFunction): void;
|
|
11
11
|
export declare function getEasing(name: EasingType | EasingTypeAlt): EasingFunction;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Container } from "../Core/Container";
|
|
2
|
-
import type { Engine } from "../Core/Engine";
|
|
3
|
-
import type { IOptionLoader } from "../Options/Interfaces/IOptionLoader";
|
|
4
|
-
import type { IParticlesOptions } from "../Options/Interfaces/Particles/IParticlesOptions";
|
|
5
|
-
import { ParticlesOptions } from "../Options/Classes/Particles/ParticlesOptions";
|
|
6
|
-
import type { RecursivePartial } from "../Types/RecursivePartial";
|
|
1
|
+
import type { Container } from "../Core/Container.js";
|
|
2
|
+
import type { Engine } from "../Core/Engine.js";
|
|
3
|
+
import type { IOptionLoader } from "../Options/Interfaces/IOptionLoader.js";
|
|
4
|
+
import type { IParticlesOptions } from "../Options/Interfaces/Particles/IParticlesOptions.js";
|
|
5
|
+
import { ParticlesOptions } from "../Options/Classes/Particles/ParticlesOptions.js";
|
|
6
|
+
import type { RecursivePartial } from "../Types/RecursivePartial.js";
|
|
7
7
|
export declare function loadOptions<T>(options: IOptionLoader<T>, ...sourceOptionsArr: RecursivePartial<T | undefined>[]): void;
|
|
8
8
|
export declare function loadParticlesOptions(engine: Engine, container: Container, ...sourceOptionsArr: RecursivePartial<IParticlesOptions | undefined>[]): ParticlesOptions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IColor, IRangeColor, IRgb, IRgba } from "../Core/Interfaces/Colors";
|
|
2
|
-
import type { IColorManager } from "../Core/Interfaces/IColorManager";
|
|
1
|
+
import type { IColor, IRangeColor, IRgb, IRgba } from "../Core/Interfaces/Colors.js";
|
|
2
|
+
import type { IColorManager } from "../Core/Interfaces/IColorManager.js";
|
|
3
3
|
export declare class RgbColorManager implements IColorManager {
|
|
4
4
|
readonly key: string;
|
|
5
5
|
readonly stringPrefix: string;
|
package/types/Utils/Utils.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { ICoordinates, ICoordinatesWithMode } from "../Core/Interfaces/ICoordinates";
|
|
2
|
-
import type { IDimension, IDimensionWithMode } from "../Core/Interfaces/IDimension";
|
|
3
|
-
import type { DivEvent } from "../Options/Classes/Interactivity/Events/DivEvent";
|
|
4
|
-
import type { DivMode } from "../Enums/Modes/DivMode";
|
|
5
|
-
import type { IBounds } from "../Core/Interfaces/IBounds";
|
|
6
|
-
import type { ICircleBouncer } from "../Core/Interfaces/ICircleBouncer";
|
|
7
|
-
import type { IModeDiv } from "../Options/Interfaces/Interactivity/Modes/IModeDiv";
|
|
8
|
-
import type { IParticle } from "../Core/Interfaces/IParticle";
|
|
9
|
-
import type { IParticleNumericValueAnimation } from "../Core/Interfaces/IParticleValueAnimation";
|
|
10
|
-
import { OutModeDirection } from "../Enums/Directions/OutModeDirection";
|
|
11
|
-
import type { RangedAnimationValueWithRandom } from "../Options/Classes/ValueWithRandom";
|
|
12
|
-
import type { SingleOrMultiple } from "../Types/SingleOrMultiple";
|
|
1
|
+
import type { ICoordinates, ICoordinatesWithMode } from "../Core/Interfaces/ICoordinates.js";
|
|
2
|
+
import type { IDimension, IDimensionWithMode } from "../Core/Interfaces/IDimension.js";
|
|
3
|
+
import type { DivEvent } from "../Options/Classes/Interactivity/Events/DivEvent.js";
|
|
4
|
+
import type { DivMode } from "../Enums/Modes/DivMode.js";
|
|
5
|
+
import type { IBounds } from "../Core/Interfaces/IBounds.js";
|
|
6
|
+
import type { ICircleBouncer } from "../Core/Interfaces/ICircleBouncer.js";
|
|
7
|
+
import type { IModeDiv } from "../Options/Interfaces/Interactivity/Modes/IModeDiv.js";
|
|
8
|
+
import type { IParticle } from "../Core/Interfaces/IParticle.js";
|
|
9
|
+
import type { IParticleNumericValueAnimation } from "../Core/Interfaces/IParticleValueAnimation.js";
|
|
10
|
+
import { OutModeDirection } from "../Enums/Directions/OutModeDirection.js";
|
|
11
|
+
import type { RangedAnimationValueWithRandom } from "../Options/Classes/ValueWithRandom.js";
|
|
12
|
+
import type { SingleOrMultiple } from "../Types/SingleOrMultiple.js";
|
|
13
13
|
interface ILogger {
|
|
14
14
|
debug(message?: unknown, ...optionalParams: unknown[]): void;
|
|
15
15
|
error(message?: unknown, ...optionalParams: unknown[]): void;
|
package/types/bundle.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const tsParticles: import("./export-types").Engine;
|
|
2
|
-
export * from "./exports";
|
|
1
|
+
declare const tsParticles: import("./export-types.js").Engine;
|
|
2
|
+
export * from "./exports.js";
|
|
3
3
|
export { tsParticles };
|
package/types/export-types.d.ts
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
import type { Engine } from "./Core/Engine";
|
|
2
|
-
export * from "./Core/Interfaces/Colors";
|
|
3
|
-
export * from "./Core/Interfaces/IBounds";
|
|
4
|
-
export * from "./Core/Interfaces/IBubbleParticleData";
|
|
5
|
-
export * from "./Core/Interfaces/ICircleBouncer";
|
|
6
|
-
export * from "./Core/Interfaces/IColorManager";
|
|
7
|
-
export * from "./Core/Interfaces/IContainerInteractivity";
|
|
8
|
-
export * from "./Core/Interfaces/IContainerPlugin";
|
|
9
|
-
export * from "./Core/Interfaces/ICoordinates";
|
|
10
|
-
export * from "./Core/Interfaces/IDelta";
|
|
11
|
-
export * from "./Core/Interfaces/IDimension";
|
|
12
|
-
export * from "./Core/Interfaces/IDistance";
|
|
13
|
-
export * from "./Core/Interfaces/IDrawParticleParams";
|
|
14
|
-
export * from "./Core/Interfaces/IExternalInteractor";
|
|
15
|
-
export * from "./Core/Interfaces/IInteractor";
|
|
16
|
-
export * from "./Core/Interfaces/ILoadParams";
|
|
17
|
-
export * from "./Core/Interfaces/IMouseData";
|
|
18
|
-
export * from "./Core/Interfaces/IMovePathGenerator";
|
|
19
|
-
export * from "./Core/Interfaces/IParticle";
|
|
20
|
-
export * from "./Core/Interfaces/IParticleColorStyle";
|
|
21
|
-
export * from "./Core/Interfaces/IParticleHslAnimation";
|
|
22
|
-
export * from "./Core/Interfaces/IParticleLife";
|
|
23
|
-
export * from "./Core/Interfaces/IParticleMover";
|
|
24
|
-
export * from "./Core/Interfaces/IParticleRetinaProps";
|
|
25
|
-
export * from "./Core/Interfaces/IParticleRoll";
|
|
26
|
-
export * from "./Core/Interfaces/IParticleTransformValues";
|
|
27
|
-
export * from "./Core/Interfaces/IParticleUpdater";
|
|
28
|
-
export * from "./Core/Interfaces/IParticleValueAnimation";
|
|
29
|
-
export * from "./Core/Interfaces/IParticlesInteractor";
|
|
30
|
-
export * from "./Core/Interfaces/IPlugin";
|
|
31
|
-
export * from "./Core/Interfaces/IPositionFromSizeParams";
|
|
32
|
-
export * from "./Core/Interfaces/IRangeValue";
|
|
33
|
-
export * from "./Core/Interfaces/IRectSideResult";
|
|
34
|
-
export * from "./Core/Interfaces/IShapeDrawer";
|
|
35
|
-
export * from "./Core/Interfaces/IShapeValues";
|
|
36
|
-
export * from "./Core/Interfaces/ISlowParticleData";
|
|
37
|
-
export * from "./Core/Interfaces/ITrailFillData";
|
|
38
|
-
export * from "./Options/Interfaces/Background/IBackground";
|
|
39
|
-
export * from "./Options/Interfaces/BackgroundMask/IBackgroundMask";
|
|
40
|
-
export * from "./Options/Interfaces/BackgroundMask/IBackgroundMaskCover";
|
|
41
|
-
export * from "./Options/Interfaces/FullScreen/IFullScreen";
|
|
42
|
-
export * from "./Options/Interfaces/IAnimatable";
|
|
43
|
-
export * from "./Options/Interfaces/IAnimatableColor";
|
|
44
|
-
export * from "./Options/Interfaces/IAnimation";
|
|
45
|
-
export * from "./Options/Interfaces/IColorAnimation";
|
|
46
|
-
export * from "./Options/Interfaces/IHslAnimation";
|
|
47
|
-
export * from "./Options/Interfaces/IManualParticle";
|
|
48
|
-
export * from "./Options/Interfaces/IOptionLoader";
|
|
49
|
-
export * from "./Options/Interfaces/IOptions";
|
|
50
|
-
export * from "./Options/Interfaces/IOptionsColor";
|
|
51
|
-
export * from "./Options/Interfaces/IResponsive";
|
|
52
|
-
export * from "./Options/Interfaces/IValueWithRandom";
|
|
53
|
-
export * from "./Options/Interfaces/Interactivity/Events/IClickEvent";
|
|
54
|
-
export * from "./Options/Interfaces/Interactivity/Events/IDivEvent";
|
|
55
|
-
export * from "./Options/Interfaces/Interactivity/Events/IEvents";
|
|
56
|
-
export * from "./Options/Interfaces/Interactivity/Events/IHoverEvent";
|
|
57
|
-
export * from "./Options/Interfaces/Interactivity/Events/IParallax";
|
|
58
|
-
export * from "./Options/Interfaces/Interactivity/Events/IResizeEvent";
|
|
59
|
-
export * from "./Options/Interfaces/Interactivity/Modes/IModeDiv";
|
|
60
|
-
export * from "./Options/Interfaces/Interactivity/Modes/IModes";
|
|
61
|
-
export * from "./Options/Interfaces/Interactivity/IInteractivity";
|
|
62
|
-
export * from "./Options/Interfaces/Particles/Bounce/IParticlesBounce";
|
|
63
|
-
export * from "./Options/Interfaces/Particles/Collisions/ICollisions";
|
|
64
|
-
export * from "./Options/Interfaces/Particles/Collisions/ICollisionsAbsorb";
|
|
65
|
-
export * from "./Options/Interfaces/Particles/Collisions/ICollisionsOverlap";
|
|
66
|
-
export * from "./Options/Interfaces/Particles/IParticlesOptions";
|
|
67
|
-
export * from "./Options/Interfaces/Particles/IShadow";
|
|
68
|
-
export * from "./Options/Interfaces/Particles/IStroke";
|
|
69
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveAttract";
|
|
70
|
-
export * from "./Options/Interfaces/Particles/Move/IMove";
|
|
71
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveAngle";
|
|
72
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveCenter";
|
|
73
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveGravity";
|
|
74
|
-
export * from "./Options/Interfaces/Particles/Move/Path/IMovePath";
|
|
75
|
-
export * from "./Options/Interfaces/Particles/Move/IOutModes";
|
|
76
|
-
export * from "./Options/Interfaces/Particles/Move/ISpin";
|
|
77
|
-
export * from "./Options/Interfaces/Particles/Move/IMoveTrail";
|
|
78
|
-
export * from "./Options/Interfaces/Particles/Number/IParticlesDensity";
|
|
79
|
-
export * from "./Options/Interfaces/Particles/Number/IParticlesNumber";
|
|
80
|
-
export * from "./Options/Interfaces/Particles/Opacity/IOpacity";
|
|
81
|
-
export * from "./Options/Interfaces/Particles/Opacity/IOpacityAnimation";
|
|
82
|
-
export * from "./Options/Interfaces/Particles/Shape/IShape";
|
|
83
|
-
export * from "./Options/Interfaces/Particles/Size/ISize";
|
|
84
|
-
export * from "./Options/Interfaces/Particles/Size/ISizeAnimation";
|
|
85
|
-
export * from "./Options/Interfaces/Particles/ZIndex/IZIndex";
|
|
86
|
-
export * from "./Options/Interfaces/Theme/ITheme";
|
|
87
|
-
export * from "./Options/Interfaces/Theme/IThemeDefault";
|
|
88
|
-
export * from "./Types/CustomEventArgs";
|
|
89
|
-
export * from "./Types/CustomEventListener";
|
|
90
|
-
export * from "./Types/ExportResult";
|
|
91
|
-
export * from "./Types/ISourceOptions";
|
|
92
|
-
export * from "./Types/ParticlesGroups";
|
|
93
|
-
export * from "./Types/PathOptions";
|
|
94
|
-
export * from "./Types/RangeValue";
|
|
95
|
-
export * from "./Types/RecursivePartial";
|
|
96
|
-
export * from "./Types/ShapeData";
|
|
97
|
-
export * from "./Types/ShapeDrawerFunctions";
|
|
98
|
-
export * from "./Types/SingleOrMultiple";
|
|
99
|
-
export type { EventListeners } from "./Core/Utils/EventListeners";
|
|
100
|
-
export type { InteractionManager } from "./Core/Utils/InteractionManager";
|
|
101
|
-
export type { QuadTree } from "./Core/Utils/QuadTree";
|
|
102
|
-
export type { Canvas } from "./Core/Canvas";
|
|
103
|
-
export type { Container } from "./Core/Container";
|
|
104
|
-
export type { Particle } from "./Core/Particle";
|
|
105
|
-
export type { Particles } from "./Core/Particles";
|
|
106
|
-
export type { Retina } from "./Core/Retina";
|
|
1
|
+
import type { Engine } from "./Core/Engine.js";
|
|
2
|
+
export * from "./Core/Interfaces/Colors.js";
|
|
3
|
+
export * from "./Core/Interfaces/IBounds.js";
|
|
4
|
+
export * from "./Core/Interfaces/IBubbleParticleData.js";
|
|
5
|
+
export * from "./Core/Interfaces/ICircleBouncer.js";
|
|
6
|
+
export * from "./Core/Interfaces/IColorManager.js";
|
|
7
|
+
export * from "./Core/Interfaces/IContainerInteractivity.js";
|
|
8
|
+
export * from "./Core/Interfaces/IContainerPlugin.js";
|
|
9
|
+
export * from "./Core/Interfaces/ICoordinates.js";
|
|
10
|
+
export * from "./Core/Interfaces/IDelta.js";
|
|
11
|
+
export * from "./Core/Interfaces/IDimension.js";
|
|
12
|
+
export * from "./Core/Interfaces/IDistance.js";
|
|
13
|
+
export * from "./Core/Interfaces/IDrawParticleParams.js";
|
|
14
|
+
export * from "./Core/Interfaces/IExternalInteractor.js";
|
|
15
|
+
export * from "./Core/Interfaces/IInteractor.js";
|
|
16
|
+
export * from "./Core/Interfaces/ILoadParams.js";
|
|
17
|
+
export * from "./Core/Interfaces/IMouseData.js";
|
|
18
|
+
export * from "./Core/Interfaces/IMovePathGenerator.js";
|
|
19
|
+
export * from "./Core/Interfaces/IParticle.js";
|
|
20
|
+
export * from "./Core/Interfaces/IParticleColorStyle.js";
|
|
21
|
+
export * from "./Core/Interfaces/IParticleHslAnimation.js";
|
|
22
|
+
export * from "./Core/Interfaces/IParticleLife.js";
|
|
23
|
+
export * from "./Core/Interfaces/IParticleMover.js";
|
|
24
|
+
export * from "./Core/Interfaces/IParticleRetinaProps.js";
|
|
25
|
+
export * from "./Core/Interfaces/IParticleRoll.js";
|
|
26
|
+
export * from "./Core/Interfaces/IParticleTransformValues.js";
|
|
27
|
+
export * from "./Core/Interfaces/IParticleUpdater.js";
|
|
28
|
+
export * from "./Core/Interfaces/IParticleValueAnimation.js";
|
|
29
|
+
export * from "./Core/Interfaces/IParticlesInteractor.js";
|
|
30
|
+
export * from "./Core/Interfaces/IPlugin.js";
|
|
31
|
+
export * from "./Core/Interfaces/IPositionFromSizeParams.js";
|
|
32
|
+
export * from "./Core/Interfaces/IRangeValue.js";
|
|
33
|
+
export * from "./Core/Interfaces/IRectSideResult.js";
|
|
34
|
+
export * from "./Core/Interfaces/IShapeDrawer.js";
|
|
35
|
+
export * from "./Core/Interfaces/IShapeValues.js";
|
|
36
|
+
export * from "./Core/Interfaces/ISlowParticleData.js";
|
|
37
|
+
export * from "./Core/Interfaces/ITrailFillData.js";
|
|
38
|
+
export * from "./Options/Interfaces/Background/IBackground.js";
|
|
39
|
+
export * from "./Options/Interfaces/BackgroundMask/IBackgroundMask.js";
|
|
40
|
+
export * from "./Options/Interfaces/BackgroundMask/IBackgroundMaskCover.js";
|
|
41
|
+
export * from "./Options/Interfaces/FullScreen/IFullScreen.js";
|
|
42
|
+
export * from "./Options/Interfaces/IAnimatable.js";
|
|
43
|
+
export * from "./Options/Interfaces/IAnimatableColor.js";
|
|
44
|
+
export * from "./Options/Interfaces/IAnimation.js";
|
|
45
|
+
export * from "./Options/Interfaces/IColorAnimation.js";
|
|
46
|
+
export * from "./Options/Interfaces/IHslAnimation.js";
|
|
47
|
+
export * from "./Options/Interfaces/IManualParticle.js";
|
|
48
|
+
export * from "./Options/Interfaces/IOptionLoader.js";
|
|
49
|
+
export * from "./Options/Interfaces/IOptions.js";
|
|
50
|
+
export * from "./Options/Interfaces/IOptionsColor.js";
|
|
51
|
+
export * from "./Options/Interfaces/IResponsive.js";
|
|
52
|
+
export * from "./Options/Interfaces/IValueWithRandom.js";
|
|
53
|
+
export * from "./Options/Interfaces/Interactivity/Events/IClickEvent.js";
|
|
54
|
+
export * from "./Options/Interfaces/Interactivity/Events/IDivEvent.js";
|
|
55
|
+
export * from "./Options/Interfaces/Interactivity/Events/IEvents.js";
|
|
56
|
+
export * from "./Options/Interfaces/Interactivity/Events/IHoverEvent.js";
|
|
57
|
+
export * from "./Options/Interfaces/Interactivity/Events/IParallax.js";
|
|
58
|
+
export * from "./Options/Interfaces/Interactivity/Events/IResizeEvent.js";
|
|
59
|
+
export * from "./Options/Interfaces/Interactivity/Modes/IModeDiv.js";
|
|
60
|
+
export * from "./Options/Interfaces/Interactivity/Modes/IModes.js";
|
|
61
|
+
export * from "./Options/Interfaces/Interactivity/IInteractivity.js";
|
|
62
|
+
export * from "./Options/Interfaces/Particles/Bounce/IParticlesBounce.js";
|
|
63
|
+
export * from "./Options/Interfaces/Particles/Collisions/ICollisions.js";
|
|
64
|
+
export * from "./Options/Interfaces/Particles/Collisions/ICollisionsAbsorb.js";
|
|
65
|
+
export * from "./Options/Interfaces/Particles/Collisions/ICollisionsOverlap.js";
|
|
66
|
+
export * from "./Options/Interfaces/Particles/IParticlesOptions.js";
|
|
67
|
+
export * from "./Options/Interfaces/Particles/IShadow.js";
|
|
68
|
+
export * from "./Options/Interfaces/Particles/IStroke.js";
|
|
69
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveAttract.js";
|
|
70
|
+
export * from "./Options/Interfaces/Particles/Move/IMove.js";
|
|
71
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveAngle.js";
|
|
72
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveCenter.js";
|
|
73
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveGravity.js";
|
|
74
|
+
export * from "./Options/Interfaces/Particles/Move/Path/IMovePath.js";
|
|
75
|
+
export * from "./Options/Interfaces/Particles/Move/IOutModes.js";
|
|
76
|
+
export * from "./Options/Interfaces/Particles/Move/ISpin.js";
|
|
77
|
+
export * from "./Options/Interfaces/Particles/Move/IMoveTrail.js";
|
|
78
|
+
export * from "./Options/Interfaces/Particles/Number/IParticlesDensity.js";
|
|
79
|
+
export * from "./Options/Interfaces/Particles/Number/IParticlesNumber.js";
|
|
80
|
+
export * from "./Options/Interfaces/Particles/Opacity/IOpacity.js";
|
|
81
|
+
export * from "./Options/Interfaces/Particles/Opacity/IOpacityAnimation.js";
|
|
82
|
+
export * from "./Options/Interfaces/Particles/Shape/IShape.js";
|
|
83
|
+
export * from "./Options/Interfaces/Particles/Size/ISize.js";
|
|
84
|
+
export * from "./Options/Interfaces/Particles/Size/ISizeAnimation.js";
|
|
85
|
+
export * from "./Options/Interfaces/Particles/ZIndex/IZIndex.js";
|
|
86
|
+
export * from "./Options/Interfaces/Theme/ITheme.js";
|
|
87
|
+
export * from "./Options/Interfaces/Theme/IThemeDefault.js";
|
|
88
|
+
export * from "./Types/CustomEventArgs.js";
|
|
89
|
+
export * from "./Types/CustomEventListener.js";
|
|
90
|
+
export * from "./Types/ExportResult.js";
|
|
91
|
+
export * from "./Types/ISourceOptions.js";
|
|
92
|
+
export * from "./Types/ParticlesGroups.js";
|
|
93
|
+
export * from "./Types/PathOptions.js";
|
|
94
|
+
export * from "./Types/RangeValue.js";
|
|
95
|
+
export * from "./Types/RecursivePartial.js";
|
|
96
|
+
export * from "./Types/ShapeData.js";
|
|
97
|
+
export * from "./Types/ShapeDrawerFunctions.js";
|
|
98
|
+
export * from "./Types/SingleOrMultiple.js";
|
|
99
|
+
export type { EventListeners } from "./Core/Utils/EventListeners.js";
|
|
100
|
+
export type { InteractionManager } from "./Core/Utils/InteractionManager.js";
|
|
101
|
+
export type { QuadTree } from "./Core/Utils/QuadTree.js";
|
|
102
|
+
export type { Canvas } from "./Core/Canvas.js";
|
|
103
|
+
export type { Container } from "./Core/Container.js";
|
|
104
|
+
export type { Particle } from "./Core/Particle.js";
|
|
105
|
+
export type { Particles } from "./Core/Particles.js";
|
|
106
|
+
export type { Retina } from "./Core/Retina.js";
|
|
107
107
|
export type { Engine, Engine as Main };
|