@tsparticles/preset-confetti-falling 4.0.0-beta.12 → 4.0.0-beta.16

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 (94) hide show
  1. package/browser/browser.js +5 -0
  2. package/browser/bundle.js +4 -0
  3. package/browser/index.js +9 -11
  4. package/browser/index.lazy.js +29 -0
  5. package/cjs/browser.js +5 -0
  6. package/cjs/bundle.js +4 -0
  7. package/cjs/index.js +9 -11
  8. package/cjs/index.lazy.js +29 -0
  9. package/esm/browser.js +5 -0
  10. package/esm/bundle.js +4 -0
  11. package/esm/index.js +9 -11
  12. package/esm/index.lazy.js +29 -0
  13. package/package.json +17 -10
  14. package/report.html +4949 -94
  15. package/tsparticles.preset.confettiFalling.bundle.js +6601 -967
  16. package/tsparticles.preset.confettiFalling.bundle.min.js +1 -2
  17. package/tsparticles.preset.confettiFalling.js +124 -417
  18. package/tsparticles.preset.confettiFalling.min.js +1 -2
  19. package/types/browser.d.ts +1 -0
  20. package/types/index.lazy.d.ts +2 -0
  21. package/127.min.js +0 -1
  22. package/155.min.js +0 -1
  23. package/181.min.js +0 -1
  24. package/210.min.js +0 -1
  25. package/320.min.js +0 -1
  26. package/347.min.js +0 -1
  27. package/349.min.js +0 -1
  28. package/371.min.js +0 -1
  29. package/4.min.js +0 -1
  30. package/415.min.js +0 -1
  31. package/420.min.js +0 -1
  32. package/425.min.js +0 -1
  33. package/439.min.js +0 -1
  34. package/483.min.js +0 -1
  35. package/5.min.js +0 -1
  36. package/515.min.js +0 -1
  37. package/573.min.js +0 -1
  38. package/623.min.js +0 -1
  39. package/646.min.js +0 -1
  40. package/653.min.js +0 -1
  41. package/662.min.js +0 -1
  42. package/663.min.js +0 -1
  43. package/69.min.js +0 -1
  44. package/748.min.js +0 -1
  45. package/791.min.js +0 -1
  46. package/794.min.js +0 -1
  47. package/807.min.js +0 -1
  48. package/819.min.js +0 -1
  49. package/835.min.js +0 -1
  50. package/837.min.js +0 -1
  51. package/93.min.js +0 -1
  52. package/935.min.js +0 -1
  53. package/938.min.js +0 -1
  54. package/94.min.js +0 -1
  55. package/968.min.js +0 -1
  56. package/979.min.js +0 -1
  57. package/987.min.js +0 -1
  58. package/bundles_basic_dist_browser_index_js.js +0 -30
  59. package/dist_browser_options_js.js +0 -30
  60. package/engine_dist_browser_Core_Container_js.js +0 -100
  61. package/palettes_confetti_confetti_dist_browser_index_js.js +0 -30
  62. package/palettes_confetti_confetti_dist_browser_options_js.js +0 -30
  63. package/plugins_colors_hex_dist_browser_HexColorManager_js.js +0 -30
  64. package/plugins_colors_hex_dist_browser_index_js.js +0 -30
  65. package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +0 -30
  66. package/plugins_colors_hsl_dist_browser_index_js.js +0 -30
  67. package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +0 -30
  68. package/plugins_colors_rgb_dist_browser_index_js.js +0 -30
  69. package/plugins_motion_dist_browser_MotionPluginInstance_js.js +0 -30
  70. package/plugins_motion_dist_browser_MotionPlugin_js.js +0 -50
  71. package/plugins_motion_dist_browser_index_js.js +0 -30
  72. package/plugins_move_dist_browser_MovePluginInstance_js.js +0 -40
  73. package/plugins_move_dist_browser_MovePlugin_js.js +0 -30
  74. package/plugins_move_dist_browser_index_js.js +0 -30
  75. package/shapes_circle_dist_browser_CircleDrawer_js.js +0 -40
  76. package/shapes_circle_dist_browser_index_js.js +0 -30
  77. package/shapes_square_dist_browser_SquareDrawer_js.js +0 -40
  78. package/shapes_square_dist_browser_index_js.js +0 -30
  79. package/updaters_opacity_dist_browser_OpacityUpdater_js.js +0 -30
  80. package/updaters_opacity_dist_browser_index_js.js +0 -30
  81. package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +0 -80
  82. package/updaters_outModes_dist_browser_index_js.js +0 -30
  83. package/updaters_paint_dist_browser_PaintUpdater_js.js +0 -30
  84. package/updaters_paint_dist_browser_index_js.js +0 -30
  85. package/updaters_roll_dist_browser_RollUpdater_js.js +0 -70
  86. package/updaters_roll_dist_browser_index_js.js +0 -30
  87. package/updaters_rotate_dist_browser_RotateUpdater_js.js +0 -50
  88. package/updaters_rotate_dist_browser_index_js.js +0 -30
  89. package/updaters_size_dist_browser_SizeUpdater_js.js +0 -30
  90. package/updaters_size_dist_browser_index_js.js +0 -30
  91. package/updaters_tilt_dist_browser_TiltUpdater_js.js +0 -60
  92. package/updaters_tilt_dist_browser_index_js.js +0 -30
  93. package/updaters_wobble_dist_browser_WobbleUpdater_js.js +0 -60
  94. package/updaters_wobble_dist_browser_index_js.js +0 -30
@@ -0,0 +1,5 @@
1
+ import { loadConfettiFallingPreset } from "./index.js";
2
+ const globalObject = globalThis;
3
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
4
+ globalObject.loadConfettiFallingPreset = loadConfettiFallingPreset;
5
+ export * from "./index.js";
package/browser/bundle.js CHANGED
@@ -1,2 +1,6 @@
1
+ import { loadConfettiFallingPreset } from "./index.js";
1
2
  export { loadConfettiFallingPreset } from "./index.js";
2
3
  export { tsParticles } from "@tsparticles/engine";
4
+ const globalObject = globalThis;
5
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
6
+ globalObject.loadConfettiFallingPreset = loadConfettiFallingPreset;
package/browser/index.js CHANGED
@@ -1,17 +1,15 @@
1
+ import { loadBasic } from "@tsparticles/basic";
2
+ import { loadConfettiPalette } from "@tsparticles/palette-confetti";
3
+ import { loadMotionPlugin } from "@tsparticles/plugin-motion";
4
+ import { loadRollUpdater } from "@tsparticles/updater-roll";
5
+ import { loadRotateUpdater } from "@tsparticles/updater-rotate";
6
+ import { loadSquareShape } from "@tsparticles/shape-square";
7
+ import { loadTiltUpdater } from "@tsparticles/updater-tilt";
8
+ import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
9
+ import { options } from "./options.js";
1
10
  const presetNames = ["confettiFalling", "confetti-falling"];
2
11
  export async function loadConfettiFallingPreset(engine) {
3
12
  await engine.pluginManager.register(async (e) => {
4
- const [{ loadBasic }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
5
- import("@tsparticles/basic"),
6
- import("@tsparticles/plugin-motion"),
7
- import("@tsparticles/updater-rotate"),
8
- import("@tsparticles/shape-square"),
9
- import("@tsparticles/updater-tilt"),
10
- import("@tsparticles/updater-wobble"),
11
- import("@tsparticles/updater-roll"),
12
- import("@tsparticles/palette-confetti"),
13
- import("./options.js"),
14
- ]);
15
13
  await Promise.all([
16
14
  loadBasic(e),
17
15
  loadConfettiPalette(e),
@@ -0,0 +1,29 @@
1
+ const presetNames = ["confettiFalling", "confetti-falling"];
2
+ export async function loadConfettiFallingPreset(engine) {
3
+ await engine.pluginManager.register(async (e) => {
4
+ const [{ loadBasic }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
5
+ import("@tsparticles/basic/lazy"),
6
+ import("@tsparticles/plugin-motion/lazy"),
7
+ import("@tsparticles/updater-rotate/lazy"),
8
+ import("@tsparticles/shape-square/lazy"),
9
+ import("@tsparticles/updater-tilt/lazy"),
10
+ import("@tsparticles/updater-wobble/lazy"),
11
+ import("@tsparticles/updater-roll/lazy"),
12
+ import("@tsparticles/palette-confetti/lazy"),
13
+ import("./options.js"),
14
+ ]);
15
+ await Promise.all([
16
+ loadBasic(e),
17
+ loadConfettiPalette(e),
18
+ loadSquareShape(e),
19
+ loadMotionPlugin(e),
20
+ loadWobbleUpdater(e),
21
+ loadRollUpdater(e),
22
+ loadRotateUpdater(e),
23
+ loadTiltUpdater(e),
24
+ ]);
25
+ presetNames.forEach(name => {
26
+ e.pluginManager.addPreset(name, options, false);
27
+ });
28
+ });
29
+ }
package/cjs/browser.js ADDED
@@ -0,0 +1,5 @@
1
+ import { loadConfettiFallingPreset } from "./index.js";
2
+ const globalObject = globalThis;
3
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
4
+ globalObject.loadConfettiFallingPreset = loadConfettiFallingPreset;
5
+ export * from "./index.js";
package/cjs/bundle.js CHANGED
@@ -1,2 +1,6 @@
1
+ import { loadConfettiFallingPreset } from "./index.js";
1
2
  export { loadConfettiFallingPreset } from "./index.js";
2
3
  export { tsParticles } from "@tsparticles/engine";
4
+ const globalObject = globalThis;
5
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
6
+ globalObject.loadConfettiFallingPreset = loadConfettiFallingPreset;
package/cjs/index.js CHANGED
@@ -1,17 +1,15 @@
1
+ import { loadBasic } from "@tsparticles/basic";
2
+ import { loadConfettiPalette } from "@tsparticles/palette-confetti";
3
+ import { loadMotionPlugin } from "@tsparticles/plugin-motion";
4
+ import { loadRollUpdater } from "@tsparticles/updater-roll";
5
+ import { loadRotateUpdater } from "@tsparticles/updater-rotate";
6
+ import { loadSquareShape } from "@tsparticles/shape-square";
7
+ import { loadTiltUpdater } from "@tsparticles/updater-tilt";
8
+ import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
9
+ import { options } from "./options.js";
1
10
  const presetNames = ["confettiFalling", "confetti-falling"];
2
11
  export async function loadConfettiFallingPreset(engine) {
3
12
  await engine.pluginManager.register(async (e) => {
4
- const [{ loadBasic }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
5
- import("@tsparticles/basic"),
6
- import("@tsparticles/plugin-motion"),
7
- import("@tsparticles/updater-rotate"),
8
- import("@tsparticles/shape-square"),
9
- import("@tsparticles/updater-tilt"),
10
- import("@tsparticles/updater-wobble"),
11
- import("@tsparticles/updater-roll"),
12
- import("@tsparticles/palette-confetti"),
13
- import("./options.js"),
14
- ]);
15
13
  await Promise.all([
16
14
  loadBasic(e),
17
15
  loadConfettiPalette(e),
@@ -0,0 +1,29 @@
1
+ const presetNames = ["confettiFalling", "confetti-falling"];
2
+ export async function loadConfettiFallingPreset(engine) {
3
+ await engine.pluginManager.register(async (e) => {
4
+ const [{ loadBasic }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
5
+ import("@tsparticles/basic/lazy"),
6
+ import("@tsparticles/plugin-motion/lazy"),
7
+ import("@tsparticles/updater-rotate/lazy"),
8
+ import("@tsparticles/shape-square/lazy"),
9
+ import("@tsparticles/updater-tilt/lazy"),
10
+ import("@tsparticles/updater-wobble/lazy"),
11
+ import("@tsparticles/updater-roll/lazy"),
12
+ import("@tsparticles/palette-confetti/lazy"),
13
+ import("./options.js"),
14
+ ]);
15
+ await Promise.all([
16
+ loadBasic(e),
17
+ loadConfettiPalette(e),
18
+ loadSquareShape(e),
19
+ loadMotionPlugin(e),
20
+ loadWobbleUpdater(e),
21
+ loadRollUpdater(e),
22
+ loadRotateUpdater(e),
23
+ loadTiltUpdater(e),
24
+ ]);
25
+ presetNames.forEach(name => {
26
+ e.pluginManager.addPreset(name, options, false);
27
+ });
28
+ });
29
+ }
package/esm/browser.js ADDED
@@ -0,0 +1,5 @@
1
+ import { loadConfettiFallingPreset } from "./index.js";
2
+ const globalObject = globalThis;
3
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
4
+ globalObject.loadConfettiFallingPreset = loadConfettiFallingPreset;
5
+ export * from "./index.js";
package/esm/bundle.js CHANGED
@@ -1,2 +1,6 @@
1
+ import { loadConfettiFallingPreset } from "./index.js";
1
2
  export { loadConfettiFallingPreset } from "./index.js";
2
3
  export { tsParticles } from "@tsparticles/engine";
4
+ const globalObject = globalThis;
5
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
6
+ globalObject.loadConfettiFallingPreset = loadConfettiFallingPreset;
package/esm/index.js CHANGED
@@ -1,17 +1,15 @@
1
+ import { loadBasic } from "@tsparticles/basic";
2
+ import { loadConfettiPalette } from "@tsparticles/palette-confetti";
3
+ import { loadMotionPlugin } from "@tsparticles/plugin-motion";
4
+ import { loadRollUpdater } from "@tsparticles/updater-roll";
5
+ import { loadRotateUpdater } from "@tsparticles/updater-rotate";
6
+ import { loadSquareShape } from "@tsparticles/shape-square";
7
+ import { loadTiltUpdater } from "@tsparticles/updater-tilt";
8
+ import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
9
+ import { options } from "./options.js";
1
10
  const presetNames = ["confettiFalling", "confetti-falling"];
2
11
  export async function loadConfettiFallingPreset(engine) {
3
12
  await engine.pluginManager.register(async (e) => {
4
- const [{ loadBasic }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
5
- import("@tsparticles/basic"),
6
- import("@tsparticles/plugin-motion"),
7
- import("@tsparticles/updater-rotate"),
8
- import("@tsparticles/shape-square"),
9
- import("@tsparticles/updater-tilt"),
10
- import("@tsparticles/updater-wobble"),
11
- import("@tsparticles/updater-roll"),
12
- import("@tsparticles/palette-confetti"),
13
- import("./options.js"),
14
- ]);
15
13
  await Promise.all([
16
14
  loadBasic(e),
17
15
  loadConfettiPalette(e),
@@ -0,0 +1,29 @@
1
+ const presetNames = ["confettiFalling", "confetti-falling"];
2
+ export async function loadConfettiFallingPreset(engine) {
3
+ await engine.pluginManager.register(async (e) => {
4
+ const [{ loadBasic }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
5
+ import("@tsparticles/basic/lazy"),
6
+ import("@tsparticles/plugin-motion/lazy"),
7
+ import("@tsparticles/updater-rotate/lazy"),
8
+ import("@tsparticles/shape-square/lazy"),
9
+ import("@tsparticles/updater-tilt/lazy"),
10
+ import("@tsparticles/updater-wobble/lazy"),
11
+ import("@tsparticles/updater-roll/lazy"),
12
+ import("@tsparticles/palette-confetti/lazy"),
13
+ import("./options.js"),
14
+ ]);
15
+ await Promise.all([
16
+ loadBasic(e),
17
+ loadConfettiPalette(e),
18
+ loadSquareShape(e),
19
+ loadMotionPlugin(e),
20
+ loadWobbleUpdater(e),
21
+ loadRollUpdater(e),
22
+ loadRotateUpdater(e),
23
+ loadTiltUpdater(e),
24
+ ]);
25
+ presetNames.forEach(name => {
26
+ e.pluginManager.addPreset(name, options, false);
27
+ });
28
+ });
29
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/preset-confetti-falling",
3
- "version": "4.0.0-beta.12",
3
+ "version": "4.0.0-beta.16",
4
4
  "description": "tsParticles confetti falling preset",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -96,18 +96,25 @@
96
96
  "umd": "./umd/index.js",
97
97
  "default": "./cjs/index.js"
98
98
  },
99
+ "./lazy": {
100
+ "types": "./types/index.lazy.d.ts",
101
+ "browser": "./browser/index.lazy.js",
102
+ "import": "./esm/index.lazy.js",
103
+ "require": "./cjs/index.lazy.js",
104
+ "default": "./cjs/index.lazy.js"
105
+ },
99
106
  "./package.json": "./package.json"
100
107
  },
101
108
  "dependencies": {
102
- "@tsparticles/basic": "4.0.0-beta.12",
103
- "@tsparticles/engine": "4.0.0-beta.12",
104
- "@tsparticles/palette-confetti": "4.0.0-beta.12",
105
- "@tsparticles/plugin-motion": "4.0.0-beta.12",
106
- "@tsparticles/shape-square": "4.0.0-beta.12",
107
- "@tsparticles/updater-roll": "4.0.0-beta.12",
108
- "@tsparticles/updater-rotate": "4.0.0-beta.12",
109
- "@tsparticles/updater-tilt": "4.0.0-beta.12",
110
- "@tsparticles/updater-wobble": "4.0.0-beta.12"
109
+ "@tsparticles/basic": "4.0.0-beta.16",
110
+ "@tsparticles/engine": "4.0.0-beta.16",
111
+ "@tsparticles/palette-confetti": "4.0.0-beta.16",
112
+ "@tsparticles/plugin-motion": "4.0.0-beta.16",
113
+ "@tsparticles/shape-square": "4.0.0-beta.16",
114
+ "@tsparticles/updater-roll": "4.0.0-beta.16",
115
+ "@tsparticles/updater-rotate": "4.0.0-beta.16",
116
+ "@tsparticles/updater-tilt": "4.0.0-beta.16",
117
+ "@tsparticles/updater-wobble": "4.0.0-beta.16"
111
118
  },
112
119
  "publishConfig": {
113
120
  "access": "public"