@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.
Files changed (410) hide show
  1. package/browser/Core/Canvas.js +4 -4
  2. package/browser/Core/Container.js +9 -9
  3. package/browser/Core/Engine.js +6 -6
  4. package/browser/Core/Particle.js +9 -9
  5. package/browser/Core/Particles.js +7 -7
  6. package/browser/Core/Retina.js +2 -2
  7. package/browser/Core/Utils/Circle.js +3 -3
  8. package/browser/Core/Utils/EventListeners.js +2 -2
  9. package/browser/Core/Utils/QuadTree.js +3 -3
  10. package/browser/Core/Utils/Rectangle.js +2 -2
  11. package/browser/Core/Utils/Vector.js +1 -1
  12. package/browser/Core/Utils/Vector3d.js +2 -2
  13. package/browser/Options/Classes/AnimatableColor.js +3 -3
  14. package/browser/Options/Classes/AnimationOptions.js +1 -1
  15. package/browser/Options/Classes/Background/Background.js +1 -1
  16. package/browser/Options/Classes/BackgroundMask/BackgroundMask.js +2 -2
  17. package/browser/Options/Classes/BackgroundMask/BackgroundMaskCover.js +1 -1
  18. package/browser/Options/Classes/ColorAnimation.js +1 -1
  19. package/browser/Options/Classes/HslAnimation.js +1 -1
  20. package/browser/Options/Classes/Interactivity/Events/Events.js +5 -5
  21. package/browser/Options/Classes/Interactivity/Events/HoverEvent.js +1 -1
  22. package/browser/Options/Classes/Interactivity/Interactivity.js +2 -2
  23. package/browser/Options/Classes/ManualParticle.js +1 -1
  24. package/browser/Options/Classes/Options.js +10 -10
  25. package/browser/Options/Classes/OptionsColor.js +1 -1
  26. package/browser/Options/Classes/Particles/Bounce/ParticlesBounce.js +1 -1
  27. package/browser/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +1 -1
  28. package/browser/Options/Classes/Particles/Collisions/Collisions.js +4 -4
  29. package/browser/Options/Classes/Particles/Move/Move.js +10 -10
  30. package/browser/Options/Classes/Particles/Move/MoveAngle.js +1 -1
  31. package/browser/Options/Classes/Particles/Move/MoveAttract.js +1 -1
  32. package/browser/Options/Classes/Particles/Move/MoveGravity.js +1 -1
  33. package/browser/Options/Classes/Particles/Move/MoveTrail.js +1 -1
  34. package/browser/Options/Classes/Particles/Move/MoveTrailFill.js +1 -1
  35. package/browser/Options/Classes/Particles/Move/Path/MovePath.js +2 -2
  36. package/browser/Options/Classes/Particles/Move/Spin.js +2 -2
  37. package/browser/Options/Classes/Particles/Number/ParticlesNumber.js +1 -1
  38. package/browser/Options/Classes/Particles/Opacity/Opacity.js +2 -2
  39. package/browser/Options/Classes/Particles/Opacity/OpacityAnimation.js +1 -1
  40. package/browser/Options/Classes/Particles/ParticlesOptions.js +12 -12
  41. package/browser/Options/Classes/Particles/Shadow.js +1 -1
  42. package/browser/Options/Classes/Particles/Shape/Shape.js +1 -1
  43. package/browser/Options/Classes/Particles/Size/Size.js +2 -2
  44. package/browser/Options/Classes/Particles/Size/SizeAnimation.js +1 -1
  45. package/browser/Options/Classes/Particles/Stroke.js +2 -2
  46. package/browser/Options/Classes/Particles/ZIndex/ZIndex.js +1 -1
  47. package/browser/Options/Classes/Responsive.js +1 -1
  48. package/browser/Options/Classes/Theme/Theme.js +2 -2
  49. package/browser/Options/Classes/ValueWithRandom.js +4 -4
  50. package/browser/Utils/CanvasUtils.js +1 -1
  51. package/browser/Utils/ColorUtils.js +2 -2
  52. package/browser/Utils/HslColorManager.js +2 -2
  53. package/browser/Utils/NumberUtils.js +2 -2
  54. package/browser/Utils/OptionsUtils.js +1 -1
  55. package/browser/Utils/RgbColorManager.js +1 -1
  56. package/browser/Utils/Utils.js +2 -2
  57. package/browser/bundle.js +2 -2
  58. package/browser/export-types.js +97 -97
  59. package/browser/exports.js +89 -89
  60. package/browser/index.js +4 -4
  61. package/browser/init.js +4 -4
  62. package/browser/package.json +1 -0
  63. package/cjs/Core/Canvas.js +28 -28
  64. package/cjs/Core/Container.js +19 -19
  65. package/cjs/Core/Engine.js +22 -22
  66. package/cjs/Core/Particle.js +37 -37
  67. package/cjs/Core/Particles.js +15 -15
  68. package/cjs/Core/Retina.js +11 -11
  69. package/cjs/Core/Utils/Circle.js +6 -6
  70. package/cjs/Core/Utils/EventListeners.js +19 -19
  71. package/cjs/Core/Utils/QuadTree.js +7 -7
  72. package/cjs/Core/Utils/Rectangle.js +4 -4
  73. package/cjs/Core/Utils/Vector.js +2 -2
  74. package/cjs/Core/Utils/Vector3d.js +4 -4
  75. package/cjs/Options/Classes/AnimatableColor.js +6 -6
  76. package/cjs/Options/Classes/AnimationOptions.js +5 -5
  77. package/cjs/Options/Classes/Background/Background.js +3 -3
  78. package/cjs/Options/Classes/BackgroundMask/BackgroundMask.js +4 -4
  79. package/cjs/Options/Classes/BackgroundMask/BackgroundMaskCover.js +3 -3
  80. package/cjs/Options/Classes/ColorAnimation.js +6 -6
  81. package/cjs/Options/Classes/HslAnimation.js +4 -4
  82. package/cjs/Options/Classes/Interactivity/Events/Events.js +12 -12
  83. package/cjs/Options/Classes/Interactivity/Events/HoverEvent.js +2 -2
  84. package/cjs/Options/Classes/Interactivity/Interactivity.js +4 -4
  85. package/cjs/Options/Classes/ManualParticle.js +2 -2
  86. package/cjs/Options/Classes/Options.js +24 -24
  87. package/cjs/Options/Classes/OptionsColor.js +2 -2
  88. package/cjs/Options/Classes/Particles/Bounce/ParticlesBounce.js +3 -3
  89. package/cjs/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +2 -2
  90. package/cjs/Options/Classes/Particles/Collisions/Collisions.js +8 -8
  91. package/cjs/Options/Classes/Particles/Move/Move.js +24 -24
  92. package/cjs/Options/Classes/Particles/Move/MoveAngle.js +3 -3
  93. package/cjs/Options/Classes/Particles/Move/MoveAttract.js +2 -2
  94. package/cjs/Options/Classes/Particles/Move/MoveGravity.js +3 -3
  95. package/cjs/Options/Classes/Particles/Move/MoveTrail.js +2 -2
  96. package/cjs/Options/Classes/Particles/Move/MoveTrailFill.js +2 -2
  97. package/cjs/Options/Classes/Particles/Move/Path/MovePath.js +4 -4
  98. package/cjs/Options/Classes/Particles/Move/Spin.js +4 -4
  99. package/cjs/Options/Classes/Particles/Number/ParticlesNumber.js +2 -2
  100. package/cjs/Options/Classes/Particles/Opacity/Opacity.js +4 -4
  101. package/cjs/Options/Classes/Particles/Opacity/OpacityAnimation.js +2 -2
  102. package/cjs/Options/Classes/Particles/ParticlesOptions.js +28 -28
  103. package/cjs/Options/Classes/Particles/Shadow.js +3 -3
  104. package/cjs/Options/Classes/Particles/Shape/Shape.js +2 -2
  105. package/cjs/Options/Classes/Particles/Size/Size.js +4 -4
  106. package/cjs/Options/Classes/Particles/Size/SizeAnimation.js +2 -2
  107. package/cjs/Options/Classes/Particles/Stroke.js +5 -5
  108. package/cjs/Options/Classes/Particles/ZIndex/ZIndex.js +2 -2
  109. package/cjs/Options/Classes/Responsive.js +2 -2
  110. package/cjs/Options/Classes/Theme/Theme.js +4 -4
  111. package/cjs/Options/Classes/ValueWithRandom.js +9 -9
  112. package/cjs/Utils/CanvasUtils.js +2 -2
  113. package/cjs/Utils/ColorUtils.js +23 -23
  114. package/cjs/Utils/HslColorManager.js +9 -9
  115. package/cjs/Utils/NumberUtils.js +10 -10
  116. package/cjs/Utils/OptionsUtils.js +2 -2
  117. package/cjs/Utils/RgbColorManager.js +5 -5
  118. package/cjs/Utils/Utils.js +17 -17
  119. package/cjs/bundle.js +3 -3
  120. package/cjs/export-types.js +97 -97
  121. package/cjs/exports.js +89 -89
  122. package/cjs/index.js +6 -6
  123. package/cjs/init.js +8 -8
  124. package/cjs/package.json +1 -0
  125. package/esm/Core/Canvas.js +4 -4
  126. package/esm/Core/Container.js +9 -9
  127. package/esm/Core/Engine.js +6 -6
  128. package/esm/Core/Particle.js +9 -9
  129. package/esm/Core/Particles.js +7 -7
  130. package/esm/Core/Retina.js +2 -2
  131. package/esm/Core/Utils/Circle.js +3 -3
  132. package/esm/Core/Utils/EventListeners.js +2 -2
  133. package/esm/Core/Utils/QuadTree.js +3 -3
  134. package/esm/Core/Utils/Rectangle.js +2 -2
  135. package/esm/Core/Utils/Vector.js +1 -1
  136. package/esm/Core/Utils/Vector3d.js +2 -2
  137. package/esm/Options/Classes/AnimatableColor.js +3 -3
  138. package/esm/Options/Classes/AnimationOptions.js +1 -1
  139. package/esm/Options/Classes/Background/Background.js +1 -1
  140. package/esm/Options/Classes/BackgroundMask/BackgroundMask.js +2 -2
  141. package/esm/Options/Classes/BackgroundMask/BackgroundMaskCover.js +1 -1
  142. package/esm/Options/Classes/ColorAnimation.js +1 -1
  143. package/esm/Options/Classes/HslAnimation.js +1 -1
  144. package/esm/Options/Classes/Interactivity/Events/Events.js +5 -5
  145. package/esm/Options/Classes/Interactivity/Events/HoverEvent.js +1 -1
  146. package/esm/Options/Classes/Interactivity/Interactivity.js +2 -2
  147. package/esm/Options/Classes/ManualParticle.js +1 -1
  148. package/esm/Options/Classes/Options.js +10 -10
  149. package/esm/Options/Classes/OptionsColor.js +1 -1
  150. package/esm/Options/Classes/Particles/Bounce/ParticlesBounce.js +1 -1
  151. package/esm/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +1 -1
  152. package/esm/Options/Classes/Particles/Collisions/Collisions.js +4 -4
  153. package/esm/Options/Classes/Particles/Move/Move.js +10 -10
  154. package/esm/Options/Classes/Particles/Move/MoveAngle.js +1 -1
  155. package/esm/Options/Classes/Particles/Move/MoveAttract.js +1 -1
  156. package/esm/Options/Classes/Particles/Move/MoveGravity.js +1 -1
  157. package/esm/Options/Classes/Particles/Move/MoveTrail.js +1 -1
  158. package/esm/Options/Classes/Particles/Move/MoveTrailFill.js +1 -1
  159. package/esm/Options/Classes/Particles/Move/Path/MovePath.js +2 -2
  160. package/esm/Options/Classes/Particles/Move/Spin.js +2 -2
  161. package/esm/Options/Classes/Particles/Number/ParticlesNumber.js +1 -1
  162. package/esm/Options/Classes/Particles/Opacity/Opacity.js +2 -2
  163. package/esm/Options/Classes/Particles/Opacity/OpacityAnimation.js +1 -1
  164. package/esm/Options/Classes/Particles/ParticlesOptions.js +12 -12
  165. package/esm/Options/Classes/Particles/Shadow.js +1 -1
  166. package/esm/Options/Classes/Particles/Shape/Shape.js +1 -1
  167. package/esm/Options/Classes/Particles/Size/Size.js +2 -2
  168. package/esm/Options/Classes/Particles/Size/SizeAnimation.js +1 -1
  169. package/esm/Options/Classes/Particles/Stroke.js +2 -2
  170. package/esm/Options/Classes/Particles/ZIndex/ZIndex.js +1 -1
  171. package/esm/Options/Classes/Responsive.js +1 -1
  172. package/esm/Options/Classes/Theme/Theme.js +2 -2
  173. package/esm/Options/Classes/ValueWithRandom.js +4 -4
  174. package/esm/Utils/CanvasUtils.js +1 -1
  175. package/esm/Utils/ColorUtils.js +2 -2
  176. package/esm/Utils/HslColorManager.js +2 -2
  177. package/esm/Utils/NumberUtils.js +2 -2
  178. package/esm/Utils/OptionsUtils.js +1 -1
  179. package/esm/Utils/RgbColorManager.js +1 -1
  180. package/esm/Utils/Utils.js +2 -2
  181. package/esm/bundle.js +2 -2
  182. package/esm/export-types.js +97 -97
  183. package/esm/exports.js +89 -89
  184. package/esm/index.js +4 -4
  185. package/esm/init.js +4 -4
  186. package/esm/package.json +1 -0
  187. package/package.json +6 -4
  188. package/report.html +2 -2
  189. package/tsparticles.engine.js +2 -2
  190. package/tsparticles.engine.min.js +1 -1
  191. package/tsparticles.engine.min.js.LICENSE.txt +1 -1
  192. package/types/Core/Canvas.d.ts +5 -5
  193. package/types/Core/Container.d.ts +12 -12
  194. package/types/Core/Engine.d.ts +20 -20
  195. package/types/Core/Interfaces/Colors.d.ts +2 -2
  196. package/types/Core/Interfaces/IBubbleParticleData.d.ts +1 -1
  197. package/types/Core/Interfaces/ICircleBouncer.d.ts +2 -2
  198. package/types/Core/Interfaces/IColorManager.d.ts +1 -1
  199. package/types/Core/Interfaces/IContainerInteractivity.d.ts +1 -1
  200. package/types/Core/Interfaces/IContainerPlugin.d.ts +7 -7
  201. package/types/Core/Interfaces/ICoordinates.d.ts +2 -2
  202. package/types/Core/Interfaces/IDimension.d.ts +1 -1
  203. package/types/Core/Interfaces/IDrawParticleParams.d.ts +6 -6
  204. package/types/Core/Interfaces/IExternalInteractor.d.ts +7 -7
  205. package/types/Core/Interfaces/IInteractor.d.ts +8 -8
  206. package/types/Core/Interfaces/ILoadParams.d.ts +2 -2
  207. package/types/Core/Interfaces/IMouseData.d.ts +1 -1
  208. package/types/Core/Interfaces/IMovePathGenerator.d.ts +4 -4
  209. package/types/Core/Interfaces/IParticle.d.ts +11 -11
  210. package/types/Core/Interfaces/IParticleHslAnimation.d.ts +1 -1
  211. package/types/Core/Interfaces/IParticleMover.d.ts +2 -2
  212. package/types/Core/Interfaces/IParticleRetinaProps.d.ts +1 -1
  213. package/types/Core/Interfaces/IParticleRoll.d.ts +1 -1
  214. package/types/Core/Interfaces/IParticleUpdater.d.ts +7 -7
  215. package/types/Core/Interfaces/IParticleValueAnimation.d.ts +1 -1
  216. package/types/Core/Interfaces/IParticlesInteractor.d.ts +3 -3
  217. package/types/Core/Interfaces/IPlugin.d.ts +5 -5
  218. package/types/Core/Interfaces/IPositionFromSizeParams.d.ts +2 -2
  219. package/types/Core/Interfaces/IShapeDrawer.d.ts +1 -1
  220. package/types/Core/Interfaces/IShapeValues.d.ts +2 -2
  221. package/types/Core/Interfaces/ITrailFillData.d.ts +1 -1
  222. package/types/Core/Particle.d.ts +21 -21
  223. package/types/Core/Particles.d.ts +12 -12
  224. package/types/Core/Retina.d.ts +2 -2
  225. package/types/Core/Utils/Circle.d.ts +2 -2
  226. package/types/Core/Utils/EventListeners.d.ts +1 -1
  227. package/types/Core/Utils/ExternalInteractorBase.d.ts +5 -5
  228. package/types/Core/Utils/InteractionManager.d.ts +5 -5
  229. package/types/Core/Utils/ParticlesInteractorBase.d.ts +5 -5
  230. package/types/Core/Utils/Point.d.ts +2 -2
  231. package/types/Core/Utils/QuadTree.d.ts +6 -6
  232. package/types/Core/Utils/Range.d.ts +1 -1
  233. package/types/Core/Utils/Rectangle.d.ts +3 -3
  234. package/types/Core/Utils/Vector.d.ts +2 -2
  235. package/types/Core/Utils/Vector3d.d.ts +1 -1
  236. package/types/Options/Classes/AnimatableColor.d.ts +6 -6
  237. package/types/Options/Classes/AnimationOptions.d.ts +6 -6
  238. package/types/Options/Classes/Background/Background.d.ts +4 -4
  239. package/types/Options/Classes/BackgroundMask/BackgroundMask.d.ts +4 -4
  240. package/types/Options/Classes/BackgroundMask/BackgroundMaskCover.d.ts +4 -4
  241. package/types/Options/Classes/ColorAnimation.d.ts +4 -4
  242. package/types/Options/Classes/FullScreen/FullScreen.d.ts +3 -3
  243. package/types/Options/Classes/HslAnimation.d.ts +4 -4
  244. package/types/Options/Classes/Interactivity/Events/ClickEvent.d.ts +5 -5
  245. package/types/Options/Classes/Interactivity/Events/DivEvent.d.ts +6 -6
  246. package/types/Options/Classes/Interactivity/Events/Events.d.ts +8 -8
  247. package/types/Options/Classes/Interactivity/Events/HoverEvent.d.ts +6 -6
  248. package/types/Options/Classes/Interactivity/Events/Parallax.d.ts +3 -3
  249. package/types/Options/Classes/Interactivity/Events/ResizeEvent.d.ts +3 -3
  250. package/types/Options/Classes/Interactivity/Interactivity.d.ts +8 -8
  251. package/types/Options/Classes/Interactivity/Modes/Modes.d.ts +5 -5
  252. package/types/Options/Classes/ManualParticle.d.ts +5 -5
  253. package/types/Options/Classes/Options.d.ts +15 -15
  254. package/types/Options/Classes/OptionsColor.d.ts +5 -5
  255. package/types/Options/Classes/Particles/Bounce/ParticlesBounce.d.ts +4 -4
  256. package/types/Options/Classes/Particles/Bounce/ParticlesBounceFactor.d.ts +1 -1
  257. package/types/Options/Classes/Particles/Collisions/Collisions.d.ts +8 -8
  258. package/types/Options/Classes/Particles/Collisions/CollisionsAbsorb.d.ts +3 -3
  259. package/types/Options/Classes/Particles/Collisions/CollisionsOverlap.d.ts +3 -3
  260. package/types/Options/Classes/Particles/Move/Move.d.ts +15 -15
  261. package/types/Options/Classes/Particles/Move/MoveAngle.d.ts +4 -4
  262. package/types/Options/Classes/Particles/Move/MoveAttract.d.ts +5 -5
  263. package/types/Options/Classes/Particles/Move/MoveCenter.d.ts +4 -4
  264. package/types/Options/Classes/Particles/Move/MoveGravity.d.ts +4 -4
  265. package/types/Options/Classes/Particles/Move/MoveTrail.d.ts +4 -4
  266. package/types/Options/Classes/Particles/Move/MoveTrailFill.d.ts +4 -4
  267. package/types/Options/Classes/Particles/Move/OutModes.d.ts +5 -5
  268. package/types/Options/Classes/Particles/Move/Path/MovePath.d.ts +5 -5
  269. package/types/Options/Classes/Particles/Move/Spin.d.ts +5 -5
  270. package/types/Options/Classes/Particles/Number/ParticlesDensity.d.ts +3 -3
  271. package/types/Options/Classes/Particles/Number/ParticlesNumber.d.ts +4 -4
  272. package/types/Options/Classes/Particles/Opacity/Opacity.d.ts +5 -5
  273. package/types/Options/Classes/Particles/Opacity/OpacityAnimation.d.ts +5 -5
  274. package/types/Options/Classes/Particles/ParticlesOptions.d.ts +19 -19
  275. package/types/Options/Classes/Particles/Shadow.d.ts +5 -5
  276. package/types/Options/Classes/Particles/Shape/Shape.d.ts +5 -5
  277. package/types/Options/Classes/Particles/Size/Size.d.ts +5 -5
  278. package/types/Options/Classes/Particles/Size/SizeAnimation.d.ts +5 -5
  279. package/types/Options/Classes/Particles/Stroke.d.ts +5 -5
  280. package/types/Options/Classes/Particles/ZIndex/ZIndex.d.ts +4 -4
  281. package/types/Options/Classes/Random.d.ts +3 -3
  282. package/types/Options/Classes/Responsive.d.ts +5 -5
  283. package/types/Options/Classes/Theme/Theme.d.ts +5 -5
  284. package/types/Options/Classes/Theme/ThemeDefault.d.ts +4 -4
  285. package/types/Options/Classes/ValueWithRandom.d.ts +6 -6
  286. package/types/Options/Interfaces/Background/IBackground.d.ts +1 -1
  287. package/types/Options/Interfaces/BackgroundMask/IBackgroundMask.d.ts +2 -2
  288. package/types/Options/Interfaces/BackgroundMask/IBackgroundMaskCover.d.ts +1 -1
  289. package/types/Options/Interfaces/IAnimatable.d.ts +1 -1
  290. package/types/Options/Interfaces/IAnimatableColor.d.ts +3 -3
  291. package/types/Options/Interfaces/IAnimation.d.ts +3 -3
  292. package/types/Options/Interfaces/IColorAnimation.d.ts +2 -2
  293. package/types/Options/Interfaces/IHslAnimation.d.ts +1 -1
  294. package/types/Options/Interfaces/IManualParticle.d.ts +3 -3
  295. package/types/Options/Interfaces/IOptionLoader.d.ts +1 -1
  296. package/types/Options/Interfaces/IOptions.d.ts +11 -11
  297. package/types/Options/Interfaces/IOptionsColor.d.ts +1 -1
  298. package/types/Options/Interfaces/IResponsive.d.ts +3 -3
  299. package/types/Options/Interfaces/IValueWithRandom.d.ts +3 -3
  300. package/types/Options/Interfaces/Interactivity/Events/IClickEvent.d.ts +2 -2
  301. package/types/Options/Interfaces/Interactivity/Events/IDivEvent.d.ts +3 -3
  302. package/types/Options/Interfaces/Interactivity/Events/IEvents.d.ts +5 -5
  303. package/types/Options/Interfaces/Interactivity/Events/IHoverEvent.d.ts +3 -3
  304. package/types/Options/Interfaces/Interactivity/IInteractivity.d.ts +3 -3
  305. package/types/Options/Interfaces/Interactivity/Modes/IModeDiv.d.ts +1 -1
  306. package/types/Options/Interfaces/Particles/Bounce/IParticlesBounce.d.ts +1 -1
  307. package/types/Options/Interfaces/Particles/Collisions/ICollisions.d.ts +5 -5
  308. package/types/Options/Interfaces/Particles/IParticlesOptions.d.ts +15 -15
  309. package/types/Options/Interfaces/Particles/IShadow.d.ts +2 -2
  310. package/types/Options/Interfaces/Particles/IStroke.d.ts +4 -4
  311. package/types/Options/Interfaces/Particles/Move/IMove.d.ts +12 -12
  312. package/types/Options/Interfaces/Particles/Move/IMoveAngle.d.ts +1 -1
  313. package/types/Options/Interfaces/Particles/Move/IMoveAttract.d.ts +2 -2
  314. package/types/Options/Interfaces/Particles/Move/IMoveCenter.d.ts +1 -1
  315. package/types/Options/Interfaces/Particles/Move/IMoveGravity.d.ts +1 -1
  316. package/types/Options/Interfaces/Particles/Move/IMoveTrail.d.ts +1 -1
  317. package/types/Options/Interfaces/Particles/Move/IMoveTrailFill.d.ts +1 -1
  318. package/types/Options/Interfaces/Particles/Move/IOutModes.d.ts +1 -1
  319. package/types/Options/Interfaces/Particles/Move/ISpin.d.ts +2 -2
  320. package/types/Options/Interfaces/Particles/Move/Path/IMovePath.d.ts +2 -2
  321. package/types/Options/Interfaces/Particles/Number/IParticlesNumber.d.ts +1 -1
  322. package/types/Options/Interfaces/Particles/Opacity/IOpacity.d.ts +2 -2
  323. package/types/Options/Interfaces/Particles/Opacity/IOpacityAnimation.d.ts +2 -2
  324. package/types/Options/Interfaces/Particles/Shape/IShape.d.ts +2 -2
  325. package/types/Options/Interfaces/Particles/Size/ISize.d.ts +2 -2
  326. package/types/Options/Interfaces/Particles/Size/ISizeAnimation.d.ts +2 -2
  327. package/types/Options/Interfaces/Particles/ZIndex/IZIndex.d.ts +1 -1
  328. package/types/Options/Interfaces/Theme/ITheme.d.ts +3 -3
  329. package/types/Options/Interfaces/Theme/IThemeDefault.d.ts +1 -1
  330. package/types/Types/CustomEventArgs.d.ts +1 -1
  331. package/types/Types/CustomEventListener.d.ts +1 -1
  332. package/types/Types/ISourceOptions.d.ts +2 -2
  333. package/types/Types/ParticlesGroups.d.ts +1 -1
  334. package/types/Types/RangeValue.d.ts +1 -1
  335. package/types/Types/ShapeData.d.ts +2 -2
  336. package/types/Types/ShapeDrawerFunctions.d.ts +3 -3
  337. package/types/Utils/CanvasUtils.d.ts +9 -9
  338. package/types/Utils/ColorUtils.d.ts +6 -6
  339. package/types/Utils/EventDispatcher.d.ts +2 -2
  340. package/types/Utils/HslColorManager.d.ts +2 -2
  341. package/types/Utils/NumberUtils.d.ts +8 -8
  342. package/types/Utils/OptionsUtils.d.ts +6 -6
  343. package/types/Utils/RgbColorManager.d.ts +2 -2
  344. package/types/Utils/Utils.d.ts +12 -12
  345. package/types/bundle.d.ts +2 -2
  346. package/types/export-types.d.ts +106 -106
  347. package/types/exports.d.ts +89 -89
  348. package/types/index.d.ts +3 -3
  349. package/types/init.d.ts +1 -1
  350. package/umd/Core/Canvas.js +29 -29
  351. package/umd/Core/Container.js +20 -20
  352. package/umd/Core/Engine.js +23 -23
  353. package/umd/Core/Particle.js +38 -38
  354. package/umd/Core/Particles.js +16 -16
  355. package/umd/Core/Retina.js +12 -12
  356. package/umd/Core/Utils/Circle.js +7 -7
  357. package/umd/Core/Utils/EventListeners.js +20 -20
  358. package/umd/Core/Utils/QuadTree.js +8 -8
  359. package/umd/Core/Utils/Rectangle.js +5 -5
  360. package/umd/Core/Utils/Vector.js +3 -3
  361. package/umd/Core/Utils/Vector3d.js +5 -5
  362. package/umd/Options/Classes/AnimatableColor.js +7 -7
  363. package/umd/Options/Classes/AnimationOptions.js +6 -6
  364. package/umd/Options/Classes/Background/Background.js +4 -4
  365. package/umd/Options/Classes/BackgroundMask/BackgroundMask.js +5 -5
  366. package/umd/Options/Classes/BackgroundMask/BackgroundMaskCover.js +4 -4
  367. package/umd/Options/Classes/ColorAnimation.js +7 -7
  368. package/umd/Options/Classes/HslAnimation.js +5 -5
  369. package/umd/Options/Classes/Interactivity/Events/Events.js +13 -13
  370. package/umd/Options/Classes/Interactivity/Events/HoverEvent.js +3 -3
  371. package/umd/Options/Classes/Interactivity/Interactivity.js +5 -5
  372. package/umd/Options/Classes/ManualParticle.js +3 -3
  373. package/umd/Options/Classes/Options.js +25 -25
  374. package/umd/Options/Classes/OptionsColor.js +3 -3
  375. package/umd/Options/Classes/Particles/Bounce/ParticlesBounce.js +4 -4
  376. package/umd/Options/Classes/Particles/Bounce/ParticlesBounceFactor.js +3 -3
  377. package/umd/Options/Classes/Particles/Collisions/Collisions.js +9 -9
  378. package/umd/Options/Classes/Particles/Move/Move.js +25 -25
  379. package/umd/Options/Classes/Particles/Move/MoveAngle.js +4 -4
  380. package/umd/Options/Classes/Particles/Move/MoveAttract.js +3 -3
  381. package/umd/Options/Classes/Particles/Move/MoveGravity.js +4 -4
  382. package/umd/Options/Classes/Particles/Move/MoveTrail.js +3 -3
  383. package/umd/Options/Classes/Particles/Move/MoveTrailFill.js +3 -3
  384. package/umd/Options/Classes/Particles/Move/Path/MovePath.js +5 -5
  385. package/umd/Options/Classes/Particles/Move/Spin.js +5 -5
  386. package/umd/Options/Classes/Particles/Number/ParticlesNumber.js +3 -3
  387. package/umd/Options/Classes/Particles/Opacity/Opacity.js +5 -5
  388. package/umd/Options/Classes/Particles/Opacity/OpacityAnimation.js +3 -3
  389. package/umd/Options/Classes/Particles/ParticlesOptions.js +29 -29
  390. package/umd/Options/Classes/Particles/Shadow.js +4 -4
  391. package/umd/Options/Classes/Particles/Shape/Shape.js +3 -3
  392. package/umd/Options/Classes/Particles/Size/Size.js +5 -5
  393. package/umd/Options/Classes/Particles/Size/SizeAnimation.js +3 -3
  394. package/umd/Options/Classes/Particles/Stroke.js +6 -6
  395. package/umd/Options/Classes/Particles/ZIndex/ZIndex.js +3 -3
  396. package/umd/Options/Classes/Responsive.js +3 -3
  397. package/umd/Options/Classes/Theme/Theme.js +5 -5
  398. package/umd/Options/Classes/ValueWithRandom.js +10 -10
  399. package/umd/Utils/CanvasUtils.js +3 -3
  400. package/umd/Utils/ColorUtils.js +24 -24
  401. package/umd/Utils/HslColorManager.js +10 -10
  402. package/umd/Utils/NumberUtils.js +11 -11
  403. package/umd/Utils/OptionsUtils.js +3 -3
  404. package/umd/Utils/RgbColorManager.js +6 -6
  405. package/umd/Utils/Utils.js +18 -18
  406. package/umd/bundle.js +4 -4
  407. package/umd/export-types.js +98 -98
  408. package/umd/exports.js +90 -90
  409. package/umd/index.js +7 -7
  410. package/umd/init.js +9 -9
@@ -1,9 +1,9 @@
1
- import { HslAnimation } from "./HslAnimation";
2
- import type { IAnimatableColor } from "../Interfaces/IAnimatableColor";
3
- import type { IOptionLoader } from "../Interfaces/IOptionLoader";
4
- import { OptionsColor } from "./OptionsColor";
5
- import type { RecursivePartial } from "../../Types/RecursivePartial";
6
- import type { SingleOrMultiple } from "../../Types/SingleOrMultiple";
1
+ import { HslAnimation } from "./HslAnimation.js";
2
+ import type { IAnimatableColor } from "../Interfaces/IAnimatableColor.js";
3
+ import type { IOptionLoader } from "../Interfaces/IOptionLoader.js";
4
+ import { OptionsColor } from "./OptionsColor.js";
5
+ import type { RecursivePartial } from "../../Types/RecursivePartial.js";
6
+ import type { SingleOrMultiple } from "../../Types/SingleOrMultiple.js";
7
7
  export declare class AnimatableColor extends OptionsColor implements IAnimatableColor, IOptionLoader<IAnimatableColor> {
8
8
  animation: HslAnimation;
9
9
  constructor();
@@ -1,9 +1,9 @@
1
- import type { IAnimation, IRangedAnimation } from "../Interfaces/IAnimation";
2
- import { AnimationMode } from "../../Enums/Modes/AnimationMode";
3
- import type { IOptionLoader } from "../Interfaces/IOptionLoader";
4
- import type { RangeValue } from "../../Types/RangeValue";
5
- import type { RecursivePartial } from "../../Types/RecursivePartial";
6
- import { StartValueType } from "../../Enums/Types/StartValueType";
1
+ import type { IAnimation, IRangedAnimation } from "../Interfaces/IAnimation.js";
2
+ import { AnimationMode } from "../../Enums/Modes/AnimationMode.js";
3
+ import type { IOptionLoader } from "../Interfaces/IOptionLoader.js";
4
+ import type { RangeValue } from "../../Types/RangeValue.js";
5
+ import type { RecursivePartial } from "../../Types/RecursivePartial.js";
6
+ import { StartValueType } from "../../Enums/Types/StartValueType.js";
7
7
  export declare class AnimationOptions implements IAnimation, IOptionLoader<IAnimation> {
8
8
  count: RangeValue;
9
9
  decay: RangeValue;
@@ -1,7 +1,7 @@
1
- import type { IBackground } from "../../Interfaces/Background/IBackground";
2
- import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
3
- import { OptionsColor } from "../OptionsColor";
4
- import type { RecursivePartial } from "../../../Types/RecursivePartial";
1
+ import type { IBackground } from "../../Interfaces/Background/IBackground.js";
2
+ import type { IOptionLoader } from "../../Interfaces/IOptionLoader.js";
3
+ import { OptionsColor } from "../OptionsColor.js";
4
+ import type { RecursivePartial } from "../../../Types/RecursivePartial.js";
5
5
  export declare class Background implements IBackground, IOptionLoader<IBackground> {
6
6
  color: OptionsColor;
7
7
  image: string;
@@ -1,7 +1,7 @@
1
- import { BackgroundMaskCover } from "./BackgroundMaskCover";
2
- import type { IBackgroundMask } from "../../Interfaces/BackgroundMask/IBackgroundMask";
3
- import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
4
- import type { RecursivePartial } from "../../../Types/RecursivePartial";
1
+ import { BackgroundMaskCover } from "./BackgroundMaskCover.js";
2
+ import type { IBackgroundMask } from "../../Interfaces/BackgroundMask/IBackgroundMask.js";
3
+ import type { IOptionLoader } from "../../Interfaces/IOptionLoader.js";
4
+ import type { RecursivePartial } from "../../../Types/RecursivePartial.js";
5
5
  export declare class BackgroundMask implements IBackgroundMask, IOptionLoader<IBackgroundMask> {
6
6
  composite: GlobalCompositeOperation;
7
7
  cover: BackgroundMaskCover;
@@ -1,7 +1,7 @@
1
- import type { IBackgroundMaskCover } from "../../Interfaces/BackgroundMask/IBackgroundMaskCover";
2
- import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
3
- import { OptionsColor } from "../OptionsColor";
4
- import type { RecursivePartial } from "../../../Types/RecursivePartial";
1
+ import type { IBackgroundMaskCover } from "../../Interfaces/BackgroundMask/IBackgroundMaskCover.js";
2
+ import type { IOptionLoader } from "../../Interfaces/IOptionLoader.js";
3
+ import { OptionsColor } from "../OptionsColor.js";
4
+ import type { RecursivePartial } from "../../../Types/RecursivePartial.js";
5
5
  export declare class BackgroundMaskCover implements IBackgroundMaskCover, IOptionLoader<IBackgroundMaskCover> {
6
6
  color: OptionsColor;
7
7
  opacity: number;
@@ -1,7 +1,7 @@
1
- import type { IColorAnimation } from "../Interfaces/IColorAnimation";
2
- import type { IOptionLoader } from "../Interfaces/IOptionLoader";
3
- import type { RangeValue } from "../../Types/RangeValue";
4
- import type { RecursivePartial } from "../../Types/RecursivePartial";
1
+ import type { IColorAnimation } from "../Interfaces/IColorAnimation.js";
2
+ import type { IOptionLoader } from "../Interfaces/IOptionLoader.js";
3
+ import type { RangeValue } from "../../Types/RangeValue.js";
4
+ import type { RecursivePartial } from "../../Types/RecursivePartial.js";
5
5
  export declare class ColorAnimation implements IColorAnimation, IOptionLoader<IColorAnimation> {
6
6
  count: RangeValue;
7
7
  decay: RangeValue;
@@ -1,6 +1,6 @@
1
- import type { IFullScreen } from "../../Interfaces/FullScreen/IFullScreen";
2
- import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
3
- import type { RecursivePartial } from "../../../Types/RecursivePartial";
1
+ import type { IFullScreen } from "../../Interfaces/FullScreen/IFullScreen.js";
2
+ import type { IOptionLoader } from "../../Interfaces/IOptionLoader.js";
3
+ import type { RecursivePartial } from "../../../Types/RecursivePartial.js";
4
4
  export declare class FullScreen implements IFullScreen, IOptionLoader<IFullScreen> {
5
5
  enable: boolean;
6
6
  zIndex: number;
@@ -1,7 +1,7 @@
1
- import { ColorAnimation } from "./ColorAnimation";
2
- import type { IHslAnimation } from "../Interfaces/IHslAnimation";
3
- import type { IOptionLoader } from "../Interfaces/IOptionLoader";
4
- import type { RecursivePartial } from "../../Types/RecursivePartial";
1
+ import { ColorAnimation } from "./ColorAnimation.js";
2
+ import type { IHslAnimation } from "../Interfaces/IHslAnimation.js";
3
+ import type { IOptionLoader } from "../Interfaces/IOptionLoader.js";
4
+ import type { RecursivePartial } from "../../Types/RecursivePartial.js";
5
5
  export declare class HslAnimation implements IHslAnimation, IOptionLoader<IHslAnimation> {
6
6
  h: ColorAnimation;
7
7
  l: ColorAnimation;
@@ -1,8 +1,8 @@
1
- import type { ClickMode } from "../../../../Enums/Modes/ClickMode";
2
- import type { IClickEvent } from "../../../Interfaces/Interactivity/Events/IClickEvent";
3
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
5
- import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple";
1
+ import type { ClickMode } from "../../../../Enums/Modes/ClickMode.js";
2
+ import type { IClickEvent } from "../../../Interfaces/Interactivity/Events/IClickEvent.js";
3
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
4
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
5
+ import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple.js";
6
6
  export declare class ClickEvent implements IClickEvent, IOptionLoader<IClickEvent> {
7
7
  enable: boolean;
8
8
  mode: SingleOrMultiple<ClickMode | keyof typeof ClickMode | string>;
@@ -1,9 +1,9 @@
1
- import type { DivMode } from "../../../../Enums/Modes/DivMode";
2
- import { DivType } from "../../../../Enums/Types/DivType";
3
- import type { IDivEvent } from "../../../Interfaces/Interactivity/Events/IDivEvent";
4
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
5
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
6
- import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple";
1
+ import type { DivMode } from "../../../../Enums/Modes/DivMode.js";
2
+ import { DivType } from "../../../../Enums/Types/DivType.js";
3
+ import type { IDivEvent } from "../../../Interfaces/Interactivity/Events/IDivEvent.js";
4
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
5
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
6
+ import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple.js";
7
7
  export declare class DivEvent implements IDivEvent, IOptionLoader<IDivEvent> {
8
8
  enable: boolean;
9
9
  mode: SingleOrMultiple<DivMode | keyof typeof DivMode | string>;
@@ -1,11 +1,11 @@
1
- import { ClickEvent } from "./ClickEvent";
2
- import { DivEvent } from "./DivEvent";
3
- import { HoverEvent } from "./HoverEvent";
4
- import type { IEvents } from "../../../Interfaces/Interactivity/Events/IEvents";
5
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
6
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
7
- import { ResizeEvent } from "./ResizeEvent";
8
- import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple";
1
+ import { ClickEvent } from "./ClickEvent.js";
2
+ import { DivEvent } from "./DivEvent.js";
3
+ import { HoverEvent } from "./HoverEvent.js";
4
+ import type { IEvents } from "../../../Interfaces/Interactivity/Events/IEvents.js";
5
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
6
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
7
+ import { ResizeEvent } from "./ResizeEvent.js";
8
+ import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple.js";
9
9
  export declare class Events implements IEvents, IOptionLoader<IEvents> {
10
10
  onClick: ClickEvent;
11
11
  onDiv: SingleOrMultiple<DivEvent>;
@@ -1,9 +1,9 @@
1
- import type { HoverMode } from "../../../../Enums/Modes/HoverMode";
2
- import type { IHoverEvent } from "../../../Interfaces/Interactivity/Events/IHoverEvent";
3
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
- import { Parallax } from "./Parallax";
5
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
6
- import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple";
1
+ import type { HoverMode } from "../../../../Enums/Modes/HoverMode.js";
2
+ import type { IHoverEvent } from "../../../Interfaces/Interactivity/Events/IHoverEvent.js";
3
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
4
+ import { Parallax } from "./Parallax.js";
5
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
6
+ import type { SingleOrMultiple } from "../../../../Types/SingleOrMultiple.js";
7
7
  export declare class HoverEvent implements IHoverEvent, IOptionLoader<IHoverEvent> {
8
8
  enable: boolean;
9
9
  mode: SingleOrMultiple<HoverMode | keyof typeof HoverMode | string>;
@@ -1,6 +1,6 @@
1
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
2
- import type { IParallax } from "../../../Interfaces/Interactivity/Events/IParallax";
3
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
2
+ import type { IParallax } from "../../../Interfaces/Interactivity/Events/IParallax.js";
3
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
4
4
  export declare class Parallax implements IParallax, IOptionLoader<IParallax> {
5
5
  enable: boolean;
6
6
  force: number;
@@ -1,6 +1,6 @@
1
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
2
- import type { IResizeEvent } from "../../../Interfaces/Interactivity/Events/IResizeEvent";
3
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
2
+ import type { IResizeEvent } from "../../../Interfaces/Interactivity/Events/IResizeEvent.js";
3
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
4
4
  export declare class ResizeEvent implements IResizeEvent, IOptionLoader<IResizeEvent> {
5
5
  delay: number;
6
6
  enable: boolean;
@@ -1,11 +1,11 @@
1
- import type { Container } from "../../../Core/Container";
2
- import type { Engine } from "../../../Core/Engine";
3
- import { Events } from "./Events/Events";
4
- import type { IInteractivity } from "../../Interfaces/Interactivity/IInteractivity";
5
- import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
6
- import { InteractivityDetect } from "../../../Enums/InteractivityDetect";
7
- import { Modes } from "./Modes/Modes";
8
- import type { RecursivePartial } from "../../../Types/RecursivePartial";
1
+ import type { Container } from "../../../Core/Container.js";
2
+ import type { Engine } from "../../../Core/Engine.js";
3
+ import { Events } from "./Events/Events.js";
4
+ import type { IInteractivity } from "../../Interfaces/Interactivity/IInteractivity.js";
5
+ import type { IOptionLoader } from "../../Interfaces/IOptionLoader.js";
6
+ import { InteractivityDetect } from "../../../Enums/InteractivityDetect.js";
7
+ import { Modes } from "./Modes/Modes.js";
8
+ import type { RecursivePartial } from "../../../Types/RecursivePartial.js";
9
9
  export declare class Interactivity implements IInteractivity, IOptionLoader<IInteractivity> {
10
10
  [name: string]: unknown;
11
11
  detectsOn: InteractivityDetect | keyof typeof InteractivityDetect;
@@ -1,8 +1,8 @@
1
- import type { Container } from "../../../../Core/Container";
2
- import type { Engine } from "../../../../Core/Engine";
3
- import type { IModes } from "../../../Interfaces/Interactivity/Modes/IModes";
4
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
5
- 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 { IModes } from "../../../Interfaces/Interactivity/Modes/IModes.js";
4
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
5
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
6
6
  export declare class Modes implements IModes, IOptionLoader<IModes> {
7
7
  [name: string]: unknown;
8
8
  private readonly _container;
@@ -1,8 +1,8 @@
1
- import type { ICoordinatesWithMode } from "../../Core/Interfaces/ICoordinates";
2
- import type { IManualParticle } from "../Interfaces/IManualParticle";
3
- import type { IOptionLoader } from "../Interfaces/IOptionLoader";
4
- import type { IParticlesOptions } from "../Interfaces/Particles/IParticlesOptions";
5
- import type { RecursivePartial } from "../../Types/RecursivePartial";
1
+ import type { ICoordinatesWithMode } from "../../Core/Interfaces/ICoordinates.js";
2
+ import type { IManualParticle } from "../Interfaces/IManualParticle.js";
3
+ import type { IOptionLoader } from "../Interfaces/IOptionLoader.js";
4
+ import type { IParticlesOptions } from "../Interfaces/Particles/IParticlesOptions.js";
5
+ import type { RecursivePartial } from "../../Types/RecursivePartial.js";
6
6
  export declare class ManualParticle implements IManualParticle, IOptionLoader<IManualParticle> {
7
7
  options?: RecursivePartial<IParticlesOptions>;
8
8
  position?: ICoordinatesWithMode;
@@ -1,17 +1,17 @@
1
- import { Background } from "./Background/Background";
2
- import { BackgroundMask } from "./BackgroundMask/BackgroundMask";
3
- import type { Container } from "../../Core/Container";
4
- import type { Engine } from "../../Core/Engine";
5
- import { FullScreen } from "./FullScreen/FullScreen";
6
- import type { IOptionLoader } from "../Interfaces/IOptionLoader";
7
- import type { IOptions } from "../Interfaces/IOptions";
8
- import { Interactivity } from "./Interactivity/Interactivity";
9
- import { ManualParticle } from "./ManualParticle";
10
- import type { RangeValue } from "../../Types/RangeValue";
11
- import type { RecursivePartial } from "../../Types/RecursivePartial";
12
- import { Responsive } from "./Responsive";
13
- import type { SingleOrMultiple } from "../../Types/SingleOrMultiple";
14
- import { Theme } from "./Theme/Theme";
1
+ import { Background } from "./Background/Background.js";
2
+ import { BackgroundMask } from "./BackgroundMask/BackgroundMask.js";
3
+ import type { Container } from "../../Core/Container.js";
4
+ import type { Engine } from "../../Core/Engine.js";
5
+ import { FullScreen } from "./FullScreen/FullScreen.js";
6
+ import type { IOptionLoader } from "../Interfaces/IOptionLoader.js";
7
+ import type { IOptions } from "../Interfaces/IOptions.js";
8
+ import { Interactivity } from "./Interactivity/Interactivity.js";
9
+ import { ManualParticle } from "./ManualParticle.js";
10
+ import type { RangeValue } from "../../Types/RangeValue.js";
11
+ import type { RecursivePartial } from "../../Types/RecursivePartial.js";
12
+ import { Responsive } from "./Responsive.js";
13
+ import type { SingleOrMultiple } from "../../Types/SingleOrMultiple.js";
14
+ import { Theme } from "./Theme/Theme.js";
15
15
  interface DefaultThemes {
16
16
  dark?: string;
17
17
  light?: string;
@@ -30,7 +30,7 @@ export declare class Options implements IOptions, IOptionLoader<IOptions> {
30
30
  interactivity: Interactivity;
31
31
  manualParticles: ManualParticle[];
32
32
  name?: string;
33
- particles: import("./Particles/ParticlesOptions").ParticlesOptions;
33
+ particles: import("./Particles/ParticlesOptions.js").ParticlesOptions;
34
34
  pauseOnBlur: boolean;
35
35
  pauseOnOutsideViewport: boolean;
36
36
  preset?: SingleOrMultiple<string>;
@@ -1,8 +1,8 @@
1
- import type { IRangeHsl, IRangeHsv, IRangeRgb, IRangeValueColor } from "../../Core/Interfaces/Colors";
2
- import type { IOptionLoader } from "../Interfaces/IOptionLoader";
3
- import type { IOptionsColor } from "../Interfaces/IOptionsColor";
4
- import type { RecursivePartial } from "../../Types/RecursivePartial";
5
- import type { SingleOrMultiple } from "../../Types/SingleOrMultiple";
1
+ import type { IRangeHsl, IRangeHsv, IRangeRgb, IRangeValueColor } from "../../Core/Interfaces/Colors.js";
2
+ import type { IOptionLoader } from "../Interfaces/IOptionLoader.js";
3
+ import type { IOptionsColor } from "../Interfaces/IOptionsColor.js";
4
+ import type { RecursivePartial } from "../../Types/RecursivePartial.js";
5
+ import type { SingleOrMultiple } from "../../Types/SingleOrMultiple.js";
6
6
  export declare class OptionsColor implements IOptionsColor, IOptionLoader<IOptionsColor> {
7
7
  value: SingleOrMultiple<SingleOrMultiple<string> | IRangeValueColor | IRangeRgb | IRangeHsl | IRangeHsv>;
8
8
  constructor();
@@ -1,7 +1,7 @@
1
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
2
- import type { IParticlesBounce } from "../../../Interfaces/Particles/Bounce/IParticlesBounce";
3
- import { ParticlesBounceFactor } from "./ParticlesBounceFactor";
4
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
2
+ import type { IParticlesBounce } from "../../../Interfaces/Particles/Bounce/IParticlesBounce.js";
3
+ import { ParticlesBounceFactor } from "./ParticlesBounceFactor.js";
4
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
5
5
  export declare class ParticlesBounce implements IParticlesBounce, IOptionLoader<IParticlesBounce> {
6
6
  horizontal: ParticlesBounceFactor;
7
7
  vertical: ParticlesBounceFactor;
@@ -1,4 +1,4 @@
1
- import { ValueWithRandom } from "../../ValueWithRandom";
1
+ import { ValueWithRandom } from "../../ValueWithRandom.js";
2
2
  export declare class ParticlesBounceFactor extends ValueWithRandom {
3
3
  constructor();
4
4
  }
@@ -1,11 +1,11 @@
1
- import { CollisionMode } from "../../../../Enums/Modes/CollisionMode";
2
- import { CollisionsAbsorb } from "./CollisionsAbsorb";
3
- import { CollisionsOverlap } from "./CollisionsOverlap";
4
- import type { ICollisions } from "../../../Interfaces/Particles/Collisions/ICollisions";
5
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
6
- import { ParticlesBounce } from "../Bounce/ParticlesBounce";
7
- import type { RangeValue } from "../../../../Types/RangeValue";
8
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import { CollisionMode } from "../../../../Enums/Modes/CollisionMode.js";
2
+ import { CollisionsAbsorb } from "./CollisionsAbsorb.js";
3
+ import { CollisionsOverlap } from "./CollisionsOverlap.js";
4
+ import type { ICollisions } from "../../../Interfaces/Particles/Collisions/ICollisions.js";
5
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
6
+ import { ParticlesBounce } from "../Bounce/ParticlesBounce.js";
7
+ import type { RangeValue } from "../../../../Types/RangeValue.js";
8
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
9
9
  export declare class Collisions implements ICollisions, IOptionLoader<ICollisions> {
10
10
  absorb: CollisionsAbsorb;
11
11
  bounce: ParticlesBounce;
@@ -1,6 +1,6 @@
1
- import type { ICollisionsAbsorb } from "../../../Interfaces/Particles/Collisions/ICollisionsAbsorb";
2
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { ICollisionsAbsorb } from "../../../Interfaces/Particles/Collisions/ICollisionsAbsorb.js";
2
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
3
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
4
4
  export declare class CollisionsAbsorb implements ICollisionsAbsorb, IOptionLoader<ICollisionsAbsorb> {
5
5
  speed: number;
6
6
  constructor();
@@ -1,6 +1,6 @@
1
- import type { ICollisionsOverlap } from "../../../Interfaces/Particles/Collisions/ICollisionsOverlap";
2
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { ICollisionsOverlap } from "../../../Interfaces/Particles/Collisions/ICollisionsOverlap.js";
2
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
3
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
4
4
  export declare class CollisionsOverlap implements ICollisionsOverlap, IOptionLoader<ICollisionsOverlap> {
5
5
  enable: boolean;
6
6
  retries: number;
@@ -1,18 +1,18 @@
1
- import type { IDistance } from "../../../../Core/Interfaces/IDistance";
2
- import type { IMove } from "../../../Interfaces/Particles/Move/IMove";
3
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
- import { MoveAngle } from "./MoveAngle";
5
- import { MoveAttract } from "./MoveAttract";
6
- import { MoveCenter } from "./MoveCenter";
7
- import { MoveDirection } from "../../../../Enums/Directions/MoveDirection";
8
- import type { MoveDirectionAlt } from "../../../../Enums/Directions/MoveDirection";
9
- import { MoveGravity } from "./MoveGravity";
10
- import { MovePath } from "./Path/MovePath";
11
- import { MoveTrail } from "./MoveTrail";
12
- import { OutModes } from "./OutModes";
13
- import type { RangeValue } from "../../../../Types/RangeValue";
14
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
15
- import { Spin } from "./Spin";
1
+ import type { IDistance } from "../../../../Core/Interfaces/IDistance.js";
2
+ import type { IMove } from "../../../Interfaces/Particles/Move/IMove.js";
3
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
4
+ import { MoveAngle } from "./MoveAngle.js";
5
+ import { MoveAttract } from "./MoveAttract.js";
6
+ import { MoveCenter } from "./MoveCenter.js";
7
+ import { MoveDirection } from "../../../../Enums/Directions/MoveDirection.js";
8
+ import type { MoveDirectionAlt } from "../../../../Enums/Directions/MoveDirection.js";
9
+ import { MoveGravity } from "./MoveGravity.js";
10
+ import { MovePath } from "./Path/MovePath.js";
11
+ import { MoveTrail } from "./MoveTrail.js";
12
+ import { OutModes } from "./OutModes.js";
13
+ import type { RangeValue } from "../../../../Types/RangeValue.js";
14
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
15
+ import { Spin } from "./Spin.js";
16
16
  export declare class Move implements IMove, IOptionLoader<IMove> {
17
17
  angle: MoveAngle;
18
18
  attract: MoveAttract;
@@ -1,7 +1,7 @@
1
- import type { IMoveAngle } from "../../../Interfaces/Particles/Move/IMoveAngle";
2
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
- import type { RangeValue } from "../../../../Types/RangeValue";
4
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { IMoveAngle } from "../../../Interfaces/Particles/Move/IMoveAngle.js";
2
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
3
+ import type { RangeValue } from "../../../../Types/RangeValue.js";
4
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
5
5
  export declare class MoveAngle implements IMoveAngle, IOptionLoader<IMoveAngle> {
6
6
  offset: RangeValue;
7
7
  value: RangeValue;
@@ -1,8 +1,8 @@
1
- import type { ICoordinates } from "../../../../Core/Interfaces/ICoordinates";
2
- import type { IMoveAttract } from "../../../Interfaces/Particles/Move/IMoveAttract";
3
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
4
- import type { RangeValue } from "../../../../Types/RangeValue";
5
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { ICoordinates } from "../../../../Core/Interfaces/ICoordinates.js";
2
+ import type { IMoveAttract } from "../../../Interfaces/Particles/Move/IMoveAttract.js";
3
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
4
+ import type { RangeValue } from "../../../../Types/RangeValue.js";
5
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
6
6
  export declare class MoveAttract implements IMoveAttract, IOptionLoader<IMoveAttract> {
7
7
  distance: RangeValue;
8
8
  enable: boolean;
@@ -1,7 +1,7 @@
1
- import type { IMoveCenter } from "../../../Interfaces/Particles/Move/IMoveCenter";
2
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
- import { PixelMode } from "../../../../Enums/Modes/PixelMode";
4
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { IMoveCenter } from "../../../Interfaces/Particles/Move/IMoveCenter.js";
2
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
3
+ import { PixelMode } from "../../../../Enums/Modes/PixelMode.js";
4
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
5
5
  export declare class MoveCenter implements IMoveCenter, IOptionLoader<IMoveCenter> {
6
6
  mode: PixelMode | keyof typeof PixelMode;
7
7
  radius: number;
@@ -1,7 +1,7 @@
1
- import type { IMoveGravity } from "../../../Interfaces/Particles/Move/IMoveGravity";
2
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
- import type { RangeValue } from "../../../../Types/RangeValue";
4
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { IMoveGravity } from "../../../Interfaces/Particles/Move/IMoveGravity.js";
2
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
3
+ import type { RangeValue } from "../../../../Types/RangeValue.js";
4
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
5
5
  export declare class MoveGravity implements IMoveGravity, IOptionLoader<IMoveGravity> {
6
6
  acceleration: RangeValue;
7
7
  enable: boolean;
@@ -1,7 +1,7 @@
1
- import type { IMoveTrail } from "../../../Interfaces/Particles/Move/IMoveTrail";
2
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
- import { MoveTrailFill } from "./MoveTrailFill";
4
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { IMoveTrail } from "../../../Interfaces/Particles/Move/IMoveTrail.js";
2
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
3
+ import { MoveTrailFill } from "./MoveTrailFill.js";
4
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
5
5
  export declare class MoveTrail implements IMoveTrail, IOptionLoader<IMoveTrail> {
6
6
  enable: boolean;
7
7
  fill: MoveTrailFill;
@@ -1,7 +1,7 @@
1
- import type { IMoveTrailFill } from "../../../Interfaces/Particles/Move/IMoveTrailFill";
2
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
- import { OptionsColor } from "../../OptionsColor";
4
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { IMoveTrailFill } from "../../../Interfaces/Particles/Move/IMoveTrailFill.js";
2
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
3
+ import { OptionsColor } from "../../OptionsColor.js";
4
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
5
5
  export declare class MoveTrailFill implements IMoveTrailFill, IOptionLoader<IMoveTrailFill> {
6
6
  color?: OptionsColor;
7
7
  image?: string;
@@ -1,8 +1,8 @@
1
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
2
- import type { IOutModes } from "../../../Interfaces/Particles/Move/IOutModes";
3
- import { OutMode } from "../../../../Enums/Modes/OutMode";
4
- import type { OutModeAlt } from "../../../../Enums/Modes/OutMode";
5
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
2
+ import type { IOutModes } from "../../../Interfaces/Particles/Move/IOutModes.js";
3
+ import { OutMode } from "../../../../Enums/Modes/OutMode.js";
4
+ import type { OutModeAlt } from "../../../../Enums/Modes/OutMode.js";
5
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
6
6
  export declare class OutModes implements IOutModes, IOptionLoader<IOutModes> {
7
7
  bottom?: OutMode | keyof typeof OutMode | OutModeAlt;
8
8
  default: OutMode | keyof typeof OutMode | OutModeAlt;
@@ -1,8 +1,8 @@
1
- import type { IMovePath } from "../../../../Interfaces/Particles/Move/Path/IMovePath";
2
- import type { IOptionLoader } from "../../../../Interfaces/IOptionLoader";
3
- import type { PathOptions } from "../../../../../Types/PathOptions";
4
- import type { RecursivePartial } from "../../../../../Types/RecursivePartial";
5
- import { ValueWithRandom } from "../../../ValueWithRandom";
1
+ import type { IMovePath } from "../../../../Interfaces/Particles/Move/Path/IMovePath.js";
2
+ import type { IOptionLoader } from "../../../../Interfaces/IOptionLoader.js";
3
+ import type { PathOptions } from "../../../../../Types/PathOptions.js";
4
+ import type { RecursivePartial } from "../../../../../Types/RecursivePartial.js";
5
+ import { ValueWithRandom } from "../../../ValueWithRandom.js";
6
6
  export declare class MovePath implements IMovePath, IOptionLoader<IMovePath> {
7
7
  clamp: boolean;
8
8
  delay: ValueWithRandom;
@@ -1,8 +1,8 @@
1
- import type { ICoordinatesWithMode } from "../../../../Core/Interfaces/ICoordinates";
2
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
- import type { ISpin } from "../../../Interfaces/Particles/Move/ISpin";
4
- import type { RangeValue } from "../../../../Types/RangeValue";
5
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { ICoordinatesWithMode } from "../../../../Core/Interfaces/ICoordinates.js";
2
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
3
+ import type { ISpin } from "../../../Interfaces/Particles/Move/ISpin.js";
4
+ import type { RangeValue } from "../../../../Types/RangeValue.js";
5
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
6
6
  export declare class Spin implements ISpin, IOptionLoader<ISpin> {
7
7
  acceleration: RangeValue;
8
8
  enable: boolean;
@@ -1,6 +1,6 @@
1
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
2
- import type { IParticlesDensity } from "../../../Interfaces/Particles/Number/IParticlesDensity";
3
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
2
+ import type { IParticlesDensity } from "../../../Interfaces/Particles/Number/IParticlesDensity.js";
3
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
4
4
  export declare class ParticlesDensity implements IParticlesDensity, IOptionLoader<IParticlesDensity> {
5
5
  enable: boolean;
6
6
  height: number;
@@ -1,7 +1,7 @@
1
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
2
- import type { IParticlesNumber } from "../../../Interfaces/Particles/Number/IParticlesNumber";
3
- import { ParticlesDensity } from "./ParticlesDensity";
4
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
1
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
2
+ import type { IParticlesNumber } from "../../../Interfaces/Particles/Number/IParticlesNumber.js";
3
+ import { ParticlesDensity } from "./ParticlesDensity.js";
4
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
5
5
  export declare class ParticlesNumber implements IParticlesNumber, IOptionLoader<IParticlesNumber> {
6
6
  density: ParticlesDensity;
7
7
  limit: number;
@@ -1,8 +1,8 @@
1
- import type { IOpacity } from "../../../Interfaces/Particles/Opacity/IOpacity";
2
- import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
3
- import { OpacityAnimation } from "./OpacityAnimation";
4
- import type { RecursivePartial } from "../../../../Types/RecursivePartial";
5
- import { ValueWithRandom } from "../../ValueWithRandom";
1
+ import type { IOpacity } from "../../../Interfaces/Particles/Opacity/IOpacity.js";
2
+ import type { IOptionLoader } from "../../../Interfaces/IOptionLoader.js";
3
+ import { OpacityAnimation } from "./OpacityAnimation.js";
4
+ import type { RecursivePartial } from "../../../../Types/RecursivePartial.js";
5
+ import { ValueWithRandom } from "../../ValueWithRandom.js";
6
6
  export declare class Opacity extends ValueWithRandom implements IOpacity, IOptionLoader<IOpacity> {
7
7
  animation: OpacityAnimation;
8
8
  constructor();