@tsparticles/preset-fire 4.0.0-beta.0 → 4.0.0-beta.15

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 (74) hide show
  1. package/browser/browser.js +5 -0
  2. package/browser/bundle.js +4 -0
  3. package/browser/index.js +4 -6
  4. package/browser/index.lazy.js +19 -0
  5. package/cjs/browser.js +5 -0
  6. package/cjs/bundle.js +4 -0
  7. package/cjs/index.js +4 -6
  8. package/cjs/index.lazy.js +19 -0
  9. package/esm/browser.js +5 -0
  10. package/esm/bundle.js +4 -0
  11. package/esm/index.js +4 -6
  12. package/esm/index.lazy.js +19 -0
  13. package/package.json +6 -6
  14. package/report.html +4949 -94
  15. package/tsparticles.preset.fire.bundle.js +6696 -967
  16. package/tsparticles.preset.fire.bundle.min.js +1 -2
  17. package/tsparticles.preset.fire.js +69 -362
  18. package/tsparticles.preset.fire.min.js +1 -2
  19. package/types/browser.d.ts +1 -0
  20. package/types/index.lazy.d.ts +2 -0
  21. package/153.min.js +0 -1
  22. package/172.min.js +0 -1
  23. package/188.min.js +0 -1
  24. package/220.min.js +0 -1
  25. package/260.min.js +0 -1
  26. package/304.min.js +0 -1
  27. package/361.min.js +0 -1
  28. package/392.min.js +0 -1
  29. package/404.min.js +0 -1
  30. package/467.min.js +0 -1
  31. package/48.min.js +0 -1
  32. package/508.min.js +0 -1
  33. package/592.min.js +0 -1
  34. package/63.min.js +0 -1
  35. package/632.min.js +0 -1
  36. package/659.min.js +0 -1
  37. package/700.min.js +0 -1
  38. package/714.min.js +0 -1
  39. package/719.min.js +0 -1
  40. package/72.min.js +0 -1
  41. package/74.min.js +0 -1
  42. package/750.min.js +0 -1
  43. package/857.min.js +0 -1
  44. package/86.min.js +0 -1
  45. package/892.min.js +0 -1
  46. package/957.min.js +0 -1
  47. package/959.min.js +0 -1
  48. package/dist_browser_options_js.js +0 -30
  49. package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_11_node_modules_tsparticles_basic_browser_index_js.js +0 -30
  50. package/node_modules_pnpm_tsparticles_interaction-external-push_4_0_0-beta_11__tsparticles_engine_4_0-5dceb7.js +0 -130
  51. package/node_modules_pnpm_tsparticles_interaction-external-push_4_0_0-beta_11__tsparticles_engine_4_0-a32864.js +0 -40
  52. package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-5e0ff2.js +0 -30
  53. package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-b0d0ee.js +0 -30
  54. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-060416.js +0 -30
  55. package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-a6d106.js +0 -30
  56. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-47e198.js +0 -120
  57. package/node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_4_0_0-be-710e43.js +0 -70
  58. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-3a792b.js +0 -30
  59. package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-e1bc4b.js +0 -30
  60. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-d9836d.js +0 -30
  61. package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-f22022.js +0 -30
  62. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-7552ae.js +0 -40
  63. package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-b06fc7.js +0 -30
  64. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-8f9e09.js +0 -30
  65. package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-da77ce.js +0 -30
  66. package/node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_-df7144.js +0 -30
  67. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-589482.js +0 -30
  68. package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-b1f330.js +0 -30
  69. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a47b81.js +0 -30
  70. package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-d2508a.js +0 -30
  71. package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_11_node_modules_tsparticles_engine_br-ca098e.js +0 -100
  72. package/vendors-node_modules_pnpm_tsparticles_plugin-interactivity_4_0_0-beta_11__tsparticles_engine_-32e86c.js +0 -50
  73. package/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-bet-5f2b78.js +0 -40
  74. package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0-09fa1a.js +0 -80
@@ -0,0 +1,5 @@
1
+ import { loadFirePreset } from "./index.js";
2
+ const globalObject = globalThis;
3
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
4
+ globalObject.loadFirePreset = loadFirePreset;
5
+ export * from "./index.js";
package/browser/bundle.js CHANGED
@@ -1,2 +1,6 @@
1
+ import { loadFirePreset } from "./index.js";
1
2
  export { loadFirePreset } from "./index.js";
2
3
  export { tsParticles } from "@tsparticles/engine";
4
+ const globalObject = globalThis;
5
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
6
+ globalObject.loadFirePreset = loadFirePreset;
package/browser/index.js CHANGED
@@ -1,12 +1,10 @@
1
+ import { loadBasic } from "@tsparticles/basic";
2
+ import { loadExternalPushInteraction } from "@tsparticles/interaction-external-push";
3
+ import { loadInteractivityPlugin } from "@tsparticles/plugin-interactivity";
4
+ import { options } from "./options.js";
1
5
  const presetName = "fire";
2
6
  export async function loadFirePreset(engine) {
3
7
  await engine.pluginManager.register(async (e) => {
4
- const [{ loadBasic }, { loadInteractivityPlugin }, { loadExternalPushInteraction }, { options }] = await Promise.all([
5
- import("@tsparticles/basic"),
6
- import("@tsparticles/plugin-interactivity"),
7
- import("@tsparticles/interaction-external-push"),
8
- import("./options.js"),
9
- ]);
10
8
  await Promise.all([
11
9
  loadBasic(e),
12
10
  (async () => {
@@ -0,0 +1,19 @@
1
+ const presetName = "fire";
2
+ export async function loadFirePreset(engine) {
3
+ await engine.pluginManager.register(async (e) => {
4
+ const [{ loadBasic }, { loadInteractivityPlugin }, { loadExternalPushInteraction }, { options }] = await Promise.all([
5
+ import("@tsparticles/basic/lazy"),
6
+ import("@tsparticles/plugin-interactivity/lazy"),
7
+ import("@tsparticles/interaction-external-push/lazy"),
8
+ import("./options.js"),
9
+ ]);
10
+ await Promise.all([
11
+ loadBasic(e),
12
+ (async () => {
13
+ await loadInteractivityPlugin(e);
14
+ await loadExternalPushInteraction(e);
15
+ })(),
16
+ ]);
17
+ e.pluginManager.addPreset(presetName, options);
18
+ });
19
+ }
package/cjs/browser.js ADDED
@@ -0,0 +1,5 @@
1
+ import { loadFirePreset } from "./index.js";
2
+ const globalObject = globalThis;
3
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
4
+ globalObject.loadFirePreset = loadFirePreset;
5
+ export * from "./index.js";
package/cjs/bundle.js CHANGED
@@ -1,2 +1,6 @@
1
+ import { loadFirePreset } from "./index.js";
1
2
  export { loadFirePreset } from "./index.js";
2
3
  export { tsParticles } from "@tsparticles/engine";
4
+ const globalObject = globalThis;
5
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
6
+ globalObject.loadFirePreset = loadFirePreset;
package/cjs/index.js CHANGED
@@ -1,12 +1,10 @@
1
+ import { loadBasic } from "@tsparticles/basic";
2
+ import { loadExternalPushInteraction } from "@tsparticles/interaction-external-push";
3
+ import { loadInteractivityPlugin } from "@tsparticles/plugin-interactivity";
4
+ import { options } from "./options.js";
1
5
  const presetName = "fire";
2
6
  export async function loadFirePreset(engine) {
3
7
  await engine.pluginManager.register(async (e) => {
4
- const [{ loadBasic }, { loadInteractivityPlugin }, { loadExternalPushInteraction }, { options }] = await Promise.all([
5
- import("@tsparticles/basic"),
6
- import("@tsparticles/plugin-interactivity"),
7
- import("@tsparticles/interaction-external-push"),
8
- import("./options.js"),
9
- ]);
10
8
  await Promise.all([
11
9
  loadBasic(e),
12
10
  (async () => {
@@ -0,0 +1,19 @@
1
+ const presetName = "fire";
2
+ export async function loadFirePreset(engine) {
3
+ await engine.pluginManager.register(async (e) => {
4
+ const [{ loadBasic }, { loadInteractivityPlugin }, { loadExternalPushInteraction }, { options }] = await Promise.all([
5
+ import("@tsparticles/basic/lazy"),
6
+ import("@tsparticles/plugin-interactivity/lazy"),
7
+ import("@tsparticles/interaction-external-push/lazy"),
8
+ import("./options.js"),
9
+ ]);
10
+ await Promise.all([
11
+ loadBasic(e),
12
+ (async () => {
13
+ await loadInteractivityPlugin(e);
14
+ await loadExternalPushInteraction(e);
15
+ })(),
16
+ ]);
17
+ e.pluginManager.addPreset(presetName, options);
18
+ });
19
+ }
package/esm/browser.js ADDED
@@ -0,0 +1,5 @@
1
+ import { loadFirePreset } from "./index.js";
2
+ const globalObject = globalThis;
3
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
4
+ globalObject.loadFirePreset = loadFirePreset;
5
+ export * from "./index.js";
package/esm/bundle.js CHANGED
@@ -1,2 +1,6 @@
1
+ import { loadFirePreset } from "./index.js";
1
2
  export { loadFirePreset } from "./index.js";
2
3
  export { tsParticles } from "@tsparticles/engine";
4
+ const globalObject = globalThis;
5
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
6
+ globalObject.loadFirePreset = loadFirePreset;
package/esm/index.js CHANGED
@@ -1,12 +1,10 @@
1
+ import { loadBasic } from "@tsparticles/basic";
2
+ import { loadExternalPushInteraction } from "@tsparticles/interaction-external-push";
3
+ import { loadInteractivityPlugin } from "@tsparticles/plugin-interactivity";
4
+ import { options } from "./options.js";
1
5
  const presetName = "fire";
2
6
  export async function loadFirePreset(engine) {
3
7
  await engine.pluginManager.register(async (e) => {
4
- const [{ loadBasic }, { loadInteractivityPlugin }, { loadExternalPushInteraction }, { options }] = await Promise.all([
5
- import("@tsparticles/basic"),
6
- import("@tsparticles/plugin-interactivity"),
7
- import("@tsparticles/interaction-external-push"),
8
- import("./options.js"),
9
- ]);
10
8
  await Promise.all([
11
9
  loadBasic(e),
12
10
  (async () => {
@@ -0,0 +1,19 @@
1
+ const presetName = "fire";
2
+ export async function loadFirePreset(engine) {
3
+ await engine.pluginManager.register(async (e) => {
4
+ const [{ loadBasic }, { loadInteractivityPlugin }, { loadExternalPushInteraction }, { options }] = await Promise.all([
5
+ import("@tsparticles/basic/lazy"),
6
+ import("@tsparticles/plugin-interactivity/lazy"),
7
+ import("@tsparticles/interaction-external-push/lazy"),
8
+ import("./options.js"),
9
+ ]);
10
+ await Promise.all([
11
+ loadBasic(e),
12
+ (async () => {
13
+ await loadInteractivityPlugin(e);
14
+ await loadExternalPushInteraction(e);
15
+ })(),
16
+ ]);
17
+ e.pluginManager.addPreset(presetName, options);
18
+ });
19
+ }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@tsparticles/preset-fire",
3
- "version": "4.0.0-beta.0",
3
+ "version": "4.0.0-beta.15",
4
4
  "description": "tsParticles fire preset",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/tsparticles/presets.git",
8
+ "url": "git+https://github.com/tsparticles/tsparticles.git",
9
9
  "directory": "presets/fire"
10
10
  },
11
11
  "keywords": [
@@ -99,10 +99,10 @@
99
99
  "./package.json": "./package.json"
100
100
  },
101
101
  "dependencies": {
102
- "@tsparticles/basic": "^4.0.0-beta.11",
103
- "@tsparticles/engine": "^4.0.0-beta.11",
104
- "@tsparticles/interaction-external-push": "^4.0.0-beta.11",
105
- "@tsparticles/plugin-interactivity": "^4.0.0-beta.11"
102
+ "@tsparticles/basic": "4.0.0-beta.15",
103
+ "@tsparticles/engine": "4.0.0-beta.15",
104
+ "@tsparticles/interaction-external-push": "4.0.0-beta.15",
105
+ "@tsparticles/plugin-interactivity": "4.0.0-beta.15"
106
106
  },
107
107
  "publishConfig": {
108
108
  "access": "public"