@tsparticles/preset-fireworks 4.0.0-alpha.2 → 4.0.0-alpha.5

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 (236) hide show
  1. package/126.min.js +1 -0
  2. package/131.min.js +1 -0
  3. package/182.min.js +1 -0
  4. package/204.min.js +1 -0
  5. package/22.min.js +1 -0
  6. package/231.min.js +1 -0
  7. package/270.min.js +1 -0
  8. package/278.min.js +1 -0
  9. package/28.min.js +1 -0
  10. package/3.min.js +1 -0
  11. package/302.min.js +1 -0
  12. package/316.min.js +1 -0
  13. package/337.min.js +1 -0
  14. package/356.min.js +1 -0
  15. package/382.min.js +1 -0
  16. package/390.min.js +1 -0
  17. package/406.min.js +1 -0
  18. package/434.min.js +1 -0
  19. package/47.min.js +1 -2
  20. package/488.min.js +1 -2
  21. package/508.min.js +1 -0
  22. package/523.min.js +1 -0
  23. package/530.min.js +1 -0
  24. package/536.min.js +1 -0
  25. package/543.min.js +33 -0
  26. package/558.min.js +1 -0
  27. package/596.min.js +1 -0
  28. package/608.min.js +1 -0
  29. package/646.min.js +1 -0
  30. package/652.min.js +1 -0
  31. package/691.min.js +1 -0
  32. package/730.min.js +1 -0
  33. package/731.min.js +1 -0
  34. package/754.min.js +1 -0
  35. package/774.min.js +1 -0
  36. package/78.min.js +1 -0
  37. package/784.min.js +1 -0
  38. package/799.min.js +1 -0
  39. package/819.min.js +1 -0
  40. package/830.min.js +1 -0
  41. package/834.min.js +1 -0
  42. package/844.min.js +1 -0
  43. package/85.min.js +1 -0
  44. package/922.min.js +1 -0
  45. package/930.min.js +1 -0
  46. package/955.min.js +1 -0
  47. package/964.min.js +1 -0
  48. package/986.min.js +1 -0
  49. package/991.min.js +1 -0
  50. package/README.md +17 -2
  51. package/browser/index.js +30 -15
  52. package/browser/options.js +11 -5
  53. package/cjs/index.js +30 -15
  54. package/cjs/options.js +11 -5
  55. package/dist_browser_options_js.js +2 -2
  56. package/esm/index.js +30 -15
  57. package/esm/options.js +11 -5
  58. package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_1_node_modules_tsparticles_basic_browser_index_js.js +30 -0
  59. package/{node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_5_node_modules_tsparticles_effect-trai-f143f1.js → node_modules_pnpm_tsparticles_effect-trail_4_0_0-beta_1_node_modules_tsparticles_effect-trail-8ed413.js} +7 -7
  60. package/node_modules_pnpm_tsparticles_effect-trail_4_0_0-beta_1_node_modules_tsparticles_effect-trail-aabdff.js +30 -0
  61. package/{node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_5_node_modules_tsparti-40dd7e.js → node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-beta_1_node_modules_tspartic-99f284.js} +7 -7
  62. package/node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-beta_1_node_modules_tspartic-a8bf09.js +70 -0
  63. package/{node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-50442a.js → node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-486a11.js} +7 -7
  64. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-815c1c.js +100 -0
  65. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-9a4af1.js +30 -0
  66. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-c7125a.js +100 -0
  67. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_plugin-em-e8ed4a.js +50 -0
  68. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--7ee633.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-8932d7.js} +7 -7
  69. package/{node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--082572.js → node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-a0aea9.js} +7 -7
  70. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-1179c3.js +30 -0
  71. package/{node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--d17710.js → node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_1_node_modules_tsparticles_plugin-h-1737bf.js} +7 -7
  72. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_1_node_modules_tsparticles_plug-908f96.js +120 -0
  73. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_1_node_modules_tsparticles_plug-d6e6b1.js +70 -0
  74. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugin-move_b-aa7108.js +30 -0
  75. package/{node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_5_node_modules_tsparticles_updater-co-9b6d65.js → node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugin-move_b-c23e73.js} +5 -5
  76. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_1_node_modules_tsparticles_plugin-r-0f881a.js +30 -0
  77. package/{node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--8050b3.js → node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_1_node_modules_tsparticles_plugin-r-ae3d6b.js} +7 -7
  78. package/{node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_5_node_modules_tsparticles_plugin-sou-522702.js → node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-beta_1_node_modules_tsparticles_plugin-soun-56e0fe.js} +7 -7
  79. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-2a85dc.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_1_node_modules_tsparticles_shape-circle-07826a.js} +12 -12
  80. package/{node_modules_pnpm_tsparticles_shape-circle_4_0_0-alpha_5_node_modules_tsparticles_shape-circl-d95142.js → node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_1_node_modules_tsparticles_shape-circle-c2187f.js} +7 -7
  81. package/{node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_5_node_modules_tsparticles_shape-line_br-797f70.js → node_modules_pnpm_tsparticles_shape-line_4_0_0-beta_1_node_modules_tsparticles_shape-line_bro-00ff14.js} +7 -7
  82. package/{node_modules_pnpm_tsparticles_shape-line_4_0_0-alpha_5_node_modules_tsparticles_shape-line_br-901c67.js → node_modules_pnpm_tsparticles_shape-line_4_0_0-beta_1_node_modules_tsparticles_shape-line_bro-ee8e87.js} +12 -12
  83. package/{node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_5_node_modules_tsparticles_updater--f90ba9.js → node_modules_pnpm_tsparticles_updater-destroy_4_0_0-beta_1_node_modules_tsparticles_updater-d-1451bc.js} +7 -7
  84. package/node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-beta_1_node_modules_tsparticles_update-75868d.js +30 -0
  85. package/node_modules_pnpm_tsparticles_updater-fill-color_4_0_0-beta_1_node_modules_tsparticles_update-7cca03.js +30 -0
  86. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-beta_1_node_modules_tsparticles_updater-life-0d5869.js +70 -0
  87. package/{node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_5_node_modules_tsparticles_updater-lif-ef30bd.js → node_modules_pnpm_tsparticles_updater-life_4_0_0-beta_1_node_modules_tsparticles_updater-life-3af196.js} +7 -7
  88. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_1_node_modules_tsparticles_updater-o-138fb5.js +30 -0
  89. package/{node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--35fbab.js → node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_1_node_modules_tsparticles_updater-o-8a311f.js} +7 -7
  90. package/{node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_5_node_modules_tsparticles_update-04964a.js → node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_1_node_modules_tsparticles_updater-265a6a.js} +7 -7
  91. package/{node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_5_node_modules_tsparticles_updater-r-d70445.js → node_modules_pnpm_tsparticles_updater-rotate_4_0_0-beta_1_node_modules_tsparticles_updater-ro-82c0df.js} +7 -7
  92. package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-beta_1_node_modules_tsparticles_updater-ro-f03001.js +50 -0
  93. package/{node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-7c3e56.js → node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_1_node_modules_tsparticles_updater-size-124f3f.js} +7 -7
  94. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_1_node_modules_tsparticles_updater-size-cbf46f.js +30 -0
  95. package/node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-beta_1_node_modules_tsparticles_upda-01fd08.js +30 -0
  96. package/{node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_5_node_modules_tsparticles_upd-7fb447.js → node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-beta_1_node_modules_tsparticles_upda-fa7131.js} +7 -7
  97. package/package.json +13 -15
  98. package/report.html +84 -29
  99. package/tsparticles.preset.fireworks.bundle.js +336 -324
  100. package/tsparticles.preset.fireworks.bundle.min.js +2 -2
  101. package/tsparticles.preset.fireworks.js +40 -48
  102. package/tsparticles.preset.fireworks.min.js +2 -2
  103. package/umd/index.js +30 -15
  104. package/umd/options.js +11 -5
  105. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_1_node_modules_tsparticles_engine_bro-0bb20b.js +100 -0
  106. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_p-168eb1.js +30 -0
  107. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_1_node_modules_tsparticles_p-c5a6f7.js +210 -0
  108. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_1_node_modules_tspartic-d557a0.js +50 -0
  109. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_1_node_modules_tsparticles_plugi-2dea06.js +40 -0
  110. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-beta_1_node_modules_tsparticles_plu-b8727b.js +40 -0
  111. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-beta_1_node_modules_tsparticles_plu-dcfdc3.js +130 -0
  112. package/vendors-node_modules_pnpm_tsparticles_updater-destroy_4_0_0-beta_1_node_modules_tsparticles_u-b77b5b.js +100 -0
  113. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_1_node_modules_tsparticles-a5ec2f.js +80 -0
  114. package/121.min.js +0 -2
  115. package/121.min.js.LICENSE.txt +0 -1
  116. package/142.min.js +0 -2
  117. package/142.min.js.LICENSE.txt +0 -1
  118. package/160.min.js +0 -2
  119. package/160.min.js.LICENSE.txt +0 -1
  120. package/184.min.js +0 -2
  121. package/184.min.js.LICENSE.txt +0 -1
  122. package/196.min.js +0 -2
  123. package/196.min.js.LICENSE.txt +0 -1
  124. package/2.min.js +0 -2
  125. package/2.min.js.LICENSE.txt +0 -1
  126. package/202.min.js +0 -2
  127. package/202.min.js.LICENSE.txt +0 -1
  128. package/263.min.js +0 -2
  129. package/263.min.js.LICENSE.txt +0 -1
  130. package/294.min.js +0 -2
  131. package/294.min.js.LICENSE.txt +0 -1
  132. package/309.min.js +0 -2
  133. package/309.min.js.LICENSE.txt +0 -1
  134. package/352.min.js +0 -2
  135. package/352.min.js.LICENSE.txt +0 -1
  136. package/413.min.js +0 -2
  137. package/413.min.js.LICENSE.txt +0 -1
  138. package/414.min.js +0 -2
  139. package/414.min.js.LICENSE.txt +0 -1
  140. package/420.min.js +0 -2
  141. package/420.min.js.LICENSE.txt +0 -1
  142. package/425.min.js +0 -2
  143. package/425.min.js.LICENSE.txt +0 -1
  144. package/426.min.js +0 -2
  145. package/426.min.js.LICENSE.txt +0 -1
  146. package/429.min.js +0 -2
  147. package/429.min.js.LICENSE.txt +0 -1
  148. package/440.min.js +0 -2
  149. package/440.min.js.LICENSE.txt +0 -1
  150. package/464.min.js +0 -2
  151. package/464.min.js.LICENSE.txt +0 -1
  152. package/47.min.js.LICENSE.txt +0 -1
  153. package/470.min.js +0 -2
  154. package/470.min.js.LICENSE.txt +0 -1
  155. package/486.min.js +0 -2
  156. package/486.min.js.LICENSE.txt +0 -1
  157. package/488.min.js.LICENSE.txt +0 -1
  158. package/505.min.js +0 -2
  159. package/505.min.js.LICENSE.txt +0 -1
  160. package/538.min.js +0 -2
  161. package/538.min.js.LICENSE.txt +0 -1
  162. package/56.min.js +0 -2
  163. package/56.min.js.LICENSE.txt +0 -1
  164. package/564.min.js +0 -2
  165. package/564.min.js.LICENSE.txt +0 -1
  166. package/60.min.js +0 -2
  167. package/60.min.js.LICENSE.txt +0 -1
  168. package/668.min.js +0 -2
  169. package/668.min.js.LICENSE.txt +0 -1
  170. package/680.min.js +0 -2
  171. package/680.min.js.LICENSE.txt +0 -1
  172. package/684.min.js +0 -2
  173. package/684.min.js.LICENSE.txt +0 -1
  174. package/685.min.js +0 -2
  175. package/685.min.js.LICENSE.txt +0 -1
  176. package/688.min.js +0 -2
  177. package/688.min.js.LICENSE.txt +0 -1
  178. package/726.min.js +0 -2
  179. package/726.min.js.LICENSE.txt +0 -1
  180. package/736.min.js +0 -2
  181. package/736.min.js.LICENSE.txt +0 -1
  182. package/778.min.js +0 -2
  183. package/778.min.js.LICENSE.txt +0 -1
  184. package/792.min.js +0 -2
  185. package/792.min.js.LICENSE.txt +0 -1
  186. package/802.min.js +0 -2
  187. package/802.min.js.LICENSE.txt +0 -1
  188. package/847.min.js +0 -2
  189. package/847.min.js.LICENSE.txt +0 -1
  190. package/864.min.js +0 -2
  191. package/864.min.js.LICENSE.txt +0 -1
  192. package/888.min.js +0 -2
  193. package/888.min.js.LICENSE.txt +0 -1
  194. package/909.min.js +0 -2
  195. package/909.min.js.LICENSE.txt +0 -1
  196. package/919.min.js +0 -2
  197. package/919.min.js.LICENSE.txt +0 -1
  198. package/926.min.js +0 -2
  199. package/926.min.js.LICENSE.txt +0 -1
  200. package/933.min.js +0 -2
  201. package/933.min.js.LICENSE.txt +0 -1
  202. package/947.min.js +0 -2
  203. package/947.min.js.LICENSE.txt +0 -1
  204. package/949.min.js +0 -2
  205. package/949.min.js.LICENSE.txt +0 -1
  206. package/990.min.js +0 -2
  207. package/990.min.js.LICENSE.txt +0 -1
  208. package/node_modules_pnpm_tsparticles_basic_4_0_0-alpha_5_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  209. package/node_modules_pnpm_tsparticles_effect-trail_4_0_0-alpha_5_node_modules_tsparticles_effect-trai-ad6390.js +0 -30
  210. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-26eaee.js +0 -40
  211. package/node_modules_pnpm_tsparticles_move-base_4_0_0-alpha_5_node_modules_tsparticles_move-base_brow-29272f.js +0 -30
  212. package/node_modules_pnpm_tsparticles_plugin-emitters-shape-square_4_0_0-alpha_5_node_modules_tsparti-80d7f0.js +0 -70
  213. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-051d5b.js +0 -50
  214. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-9414b7.js +0 -90
  215. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-b376d4.js +0 -90
  216. package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_plugin-e-db7965.js +0 -30
  217. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--175cc6.js +0 -30
  218. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-4ef54e.js +0 -120
  219. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparticles_plu-c0445f.js +0 -70
  220. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-alpha_5_node_modules_tsparticles_plugin--3fa544.js +0 -30
  221. package/node_modules_pnpm_tsparticles_updater-color_4_0_0-alpha_5_node_modules_tsparticles_updater-co-a17be7.js +0 -30
  222. package/node_modules_pnpm_tsparticles_updater-destroy_4_0_0-alpha_5_node_modules_tsparticles_updater--6c351c.js +0 -100
  223. package/node_modules_pnpm_tsparticles_updater-life_4_0_0-alpha_5_node_modules_tsparticles_updater-lif-e3e3ae.js +0 -70
  224. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-alpha_5_node_modules_tsparticles_updater--4bc1f3.js +0 -30
  225. package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-alpha_5_node_modules_tsparticles_updater-r-9dd4f0.js +0 -50
  226. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-alpha_5_node_modules_tsparticles_updater-siz-547e88.js +0 -30
  227. package/node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_5_node_modules_tsparticles_upd-4e9e59.js +0 -30
  228. package/tsparticles.preset.fireworks.bundle.min.js.LICENSE.txt +0 -1
  229. package/tsparticles.preset.fireworks.min.js.LICENSE.txt +0 -1
  230. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-alpha_5_node_modules_tsparticles_engine_br-85ef38.js +0 -90
  231. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_-302925.js +0 -200
  232. package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-alpha_5_node_modules_tsparticles_-4cf04b.js +0 -30
  233. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-alpha_5_node_modules_tsparti-98de40.js +0 -50
  234. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_5_node_modules_tsparticles_pl-b29140.js +0 -130
  235. package/vendors-node_modules_pnpm_tsparticles_plugin-sounds_4_0_0-alpha_5_node_modules_tsparticles_pl-c6a2a0.js +0 -40
  236. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-alpha_5_node_modules_tsparticle-f9a455.js +0 -80
@@ -0,0 +1,30 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-alpha.5
8
+ */
9
+ "use strict";
10
+ /*
11
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
+ * This devtool is neither made for production nor for readable output files.
13
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
14
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
+ * or disable the default devtool with "devtool: false".
16
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
+ */
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-beta_1_node_modules_tsparticles_upda-01fd08"],{
19
+
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-beta.1/node_modules/@tsparticles/updater-stroke-color/browser/StrokeColorUpdater.js"
21
+ /*!************************************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-beta.1/node_modules/@tsparticles/updater-stroke-color/browser/StrokeColorUpdater.js ***!
23
+ \************************************************************************************************************************************************************/
24
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
+
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ StrokeColorUpdater: () => (/* binding */ StrokeColorUpdater)\n/* harmony export */ });\n/* harmony import */ var _tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @tsparticles/engine */ \"../../node_modules/.pnpm/@tsparticles+engine@4.0.0-beta.1/node_modules/@tsparticles/engine/browser/index.js\");\n\nconst defaultOpacity = 1;\nclass StrokeColorUpdater {\n _container;\n _pluginManager;\n constructor(pluginManager, container) {\n this._container = container;\n this._pluginManager = pluginManager;\n }\n init(particle) {\n const container = this._container, options = particle.options, stroke = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.itemFromSingleOrMultiple)(options.stroke, particle.id, options.reduceDuplicates);\n if (!stroke) {\n return;\n }\n particle.strokeWidth = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(stroke.width) * container.retina.pixelRatio;\n particle.strokeOpacity = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getRangeValue)(stroke.opacity ?? defaultOpacity);\n particle.strokeAnimation = stroke.color?.animation;\n const strokeHslColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.rangeColorToHsl)(this._pluginManager, stroke.color) ?? particle.getFillColor();\n if (strokeHslColor) {\n particle.strokeColor = (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.getHslAnimationFromHsl)(strokeHslColor, particle.strokeAnimation, container.retina.reduceFactor);\n }\n }\n isEnabled(particle) {\n const color = particle.strokeAnimation, { strokeColor } = particle;\n return (!particle.destroyed &&\n !particle.spawning &&\n !!color &&\n ((strokeColor?.h.value !== undefined && strokeColor.h.enable) ||\n (strokeColor?.s.value !== undefined && strokeColor.s.enable) ||\n (strokeColor?.l.value !== undefined && strokeColor.l.enable)));\n }\n update(particle, delta) {\n if (!this.isEnabled(particle)) {\n return;\n }\n (0,_tsparticles_engine__WEBPACK_IMPORTED_MODULE_0__.updateColor)(particle.strokeColor, delta);\n }\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-beta.1/node_modules/@tsparticles/updater-stroke-color/browser/StrokeColorUpdater.js?\n}");
27
+
28
+ /***/ }
29
+
30
+ }]);
@@ -4,7 +4,7 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v4.0.0-alpha.2
7
+ * v4.0.0-alpha.5
8
8
  */
9
9
  "use strict";
10
10
  /*
@@ -15,15 +15,15 @@
15
15
  * or disable the default devtool with "devtool: false".
16
16
  * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
17
  */
18
- (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_5_node_modules_tsparticles_upd-7fb447"],{
18
+ (this["webpackChunk_tsparticles_preset_fireworks"] = this["webpackChunk_tsparticles_preset_fireworks"] || []).push([["node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-beta_1_node_modules_tsparticles_upda-fa7131"],{
19
19
 
20
- /***/ "../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.5/node_modules/@tsparticles/updater-stroke-color/browser/index.js"
21
- /*!************************************************************************************************************************************************!*\
22
- !*** ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.5/node_modules/@tsparticles/updater-stroke-color/browser/index.js ***!
23
- \************************************************************************************************************************************************/
20
+ /***/ "../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-beta.1/node_modules/@tsparticles/updater-stroke-color/browser/index.js"
21
+ /*!***********************************************************************************************************************************************!*\
22
+ !*** ../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-beta.1/node_modules/@tsparticles/updater-stroke-color/browser/index.js ***!
23
+ \***********************************************************************************************************************************************/
24
24
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
25
25
 
26
- eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadStrokeColorUpdater: () => (/* binding */ loadStrokeColorUpdater)\n/* harmony export */ });\nasync function loadStrokeColorUpdater(engine) {\n engine.checkVersion(\"4.0.0-alpha.5\");\n await engine.register(e => {\n e.addParticleUpdater(\"strokeColor\", async (container) => {\n const { StrokeColorUpdater } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-alpha_5_node_modules_tsparticles_upd-4e9e59\").then(__webpack_require__.bind(__webpack_require__, /*! ./StrokeColorUpdater.js */ \"../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.5/node_modules/@tsparticles/updater-stroke-color/browser/StrokeColorUpdater.js\"));\n return new StrokeColorUpdater(e, container);\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-alpha.5/node_modules/@tsparticles/updater-stroke-color/browser/index.js?\n}");
26
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadStrokeColorUpdater: () => (/* binding */ loadStrokeColorUpdater)\n/* harmony export */ });\nasync function loadStrokeColorUpdater(engine) {\n engine.checkVersion(\"4.0.0-beta.1\");\n await engine.pluginManager.register(e => {\n e.pluginManager.addParticleUpdater(\"strokeColor\", async (container) => {\n const { StrokeColorUpdater } = await __webpack_require__.e(/*! import() */ \"node_modules_pnpm_tsparticles_updater-stroke-color_4_0_0-beta_1_node_modules_tsparticles_upda-01fd08\").then(__webpack_require__.bind(__webpack_require__, /*! ./StrokeColorUpdater.js */ \"../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-beta.1/node_modules/@tsparticles/updater-stroke-color/browser/StrokeColorUpdater.js\"));\n return new StrokeColorUpdater(e.pluginManager, container);\n });\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/preset-fireworks/../../node_modules/.pnpm/@tsparticles+updater-stroke-color@4.0.0-beta.1/node_modules/@tsparticles/updater-stroke-color/browser/index.js?\n}");
27
27
 
28
28
  /***/ }
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/preset-fireworks",
3
- "version": "4.0.0-alpha.2",
3
+ "version": "4.0.0-alpha.5",
4
4
  "description": "tsParticles fireworks preset",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -99,20 +99,18 @@
99
99
  "./package.json": "./package.json"
100
100
  },
101
101
  "dependencies": {
102
- "@tsparticles/basic": "^4.0.0-alpha.5",
103
- "@tsparticles/effect-trail": "^4.0.0-alpha.5",
104
- "@tsparticles/engine": "^4.0.0-alpha.5",
105
- "@tsparticles/plugin-emitters": "^4.0.0-alpha.5",
106
- "@tsparticles/plugin-emitters-shape-square": "^4.0.0-alpha.5",
107
- "@tsparticles/plugin-hex-color": "^4.0.0-alpha.5",
108
- "@tsparticles/plugin-hsl-color": "^4.0.0-alpha.5",
109
- "@tsparticles/plugin-rgb-color": "^4.0.0-alpha.5",
110
- "@tsparticles/plugin-sounds": "^4.0.0-alpha.5",
111
- "@tsparticles/shape-line": "^4.0.0-alpha.5",
112
- "@tsparticles/updater-destroy": "^4.0.0-alpha.5",
113
- "@tsparticles/updater-life": "^4.0.0-alpha.5",
114
- "@tsparticles/updater-rotate": "^4.0.0-alpha.5",
115
- "@tsparticles/updater-stroke-color": "^4.0.0-alpha.5"
102
+ "@tsparticles/basic": "^4.0.0-beta.1",
103
+ "@tsparticles/effect-trail": "^4.0.0-beta.1",
104
+ "@tsparticles/engine": "^4.0.0-beta.1",
105
+ "@tsparticles/plugin-emitters": "^4.0.0-beta.1",
106
+ "@tsparticles/plugin-emitters-shape-square": "^4.0.0-beta.1",
107
+ "@tsparticles/plugin-interactivity": "^4.0.0-beta.1",
108
+ "@tsparticles/plugin-sounds": "^4.0.0-beta.1",
109
+ "@tsparticles/shape-line": "^4.0.0-beta.1",
110
+ "@tsparticles/updater-destroy": "^4.0.0-beta.1",
111
+ "@tsparticles/updater-life": "^4.0.0-beta.1",
112
+ "@tsparticles/updater-rotate": "^4.0.0-beta.1",
113
+ "@tsparticles/updater-stroke-color": "^4.0.0-beta.1"
116
114
  },
117
115
  "publishConfig": {
118
116
  "access": "public"