@tsparticles/preset-squares 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.
- package/browser/browser.js +5 -0
- package/browser/bundle.js +4 -0
- package/browser/index.js +7 -9
- package/browser/index.lazy.js +23 -0
- package/cjs/browser.js +5 -0
- package/cjs/bundle.js +4 -0
- package/cjs/index.js +7 -9
- package/cjs/index.lazy.js +23 -0
- package/esm/browser.js +5 -0
- package/esm/bundle.js +4 -0
- package/esm/index.js +7 -9
- package/esm/index.lazy.js +23 -0
- package/package.json +16 -9
- package/report.html +4949 -94
- package/tsparticles.preset.squares.bundle.js +5935 -967
- package/tsparticles.preset.squares.bundle.min.js +1 -2
- package/tsparticles.preset.squares.js +83 -407
- package/tsparticles.preset.squares.min.js +1 -2
- package/types/browser.d.ts +1 -0
- package/types/index.lazy.d.ts +2 -0
- package/166.min.js +0 -1
- package/200.min.js +0 -1
- package/245.min.js +0 -1
- package/304.min.js +0 -1
- package/326.min.js +0 -1
- package/358.min.js +0 -1
- package/361.min.js +0 -1
- package/404.min.js +0 -1
- package/467.min.js +0 -1
- package/480.min.js +0 -1
- package/619.min.js +0 -1
- package/63.min.js +0 -1
- package/659.min.js +0 -1
- package/750.min.js +0 -1
- package/778.min.js +0 -1
- package/784.min.js +0 -1
- package/824.min.js +0 -1
- package/892.min.js +0 -1
- package/925.min.js +0 -1
- package/990.min.js +0 -1
- package/dist_browser_options_js.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-09a57e.js +0 -100
- package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-74f6c1.js +0 -50
- package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-7e9977.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-7f13fa.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-b6bb50.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-cf6e0a.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-daf8cd.js +0 -100
- package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-5e0ff2.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-hex-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-b0d0ee.js +0 -30
- package/node_modules_pnpm_tsparticles_shape-square_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-541147.js +0 -30
- package/node_modules_pnpm_tsparticles_shape-square_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-fd7ee9.js +0 -40
- package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-589482.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-paint_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-b1f330.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_-03eda6.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-rotate_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_-6626aa.js +0 -50
- package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a47b81.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-size_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-d2508a.js +0 -30
- package/vendors-node_modules_pnpm_tsparticles_engine_4_0_0-beta_11_node_modules_tsparticles_engine_br-ca098e.js +0 -100
- package/vendors-node_modules_pnpm_tsparticles_plugin-emitters_4_0_0-beta_11__tsparticles_engine_4_0_0-6e84d5.js +0 -30
package/browser/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadSquaresPreset } from "./index.js";
|
|
1
2
|
export { loadSquaresPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadSquaresPreset = loadSquaresPreset;
|
package/browser/index.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
+
import { loadEmittersPluginSimple } from "@tsparticles/plugin-emitters/plugin";
|
|
2
|
+
import { loadHexColorPlugin } from "@tsparticles/plugin-hex-color";
|
|
3
|
+
import { loadPaintUpdater } from "@tsparticles/updater-paint";
|
|
4
|
+
import { loadRotateUpdater } from "@tsparticles/updater-rotate";
|
|
5
|
+
import { loadSizeUpdater } from "@tsparticles/updater-size";
|
|
6
|
+
import { loadSquareShape } from "@tsparticles/shape-square";
|
|
7
|
+
import { options } from "./options.js";
|
|
1
8
|
const presetName = "squares";
|
|
2
9
|
export async function loadSquaresPreset(engine) {
|
|
3
10
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadHexColorPlugin }, { loadEmittersPluginSimple }, { loadSquareShape }, { loadRotateUpdater }, { loadSizeUpdater }, { loadPaintUpdater }, { options },] = await Promise.all([
|
|
5
|
-
import("@tsparticles/plugin-hex-color"),
|
|
6
|
-
import("@tsparticles/plugin-emitters/plugin"),
|
|
7
|
-
import("@tsparticles/shape-square"),
|
|
8
|
-
import("@tsparticles/updater-rotate"),
|
|
9
|
-
import("@tsparticles/updater-size"),
|
|
10
|
-
import("@tsparticles/updater-paint"),
|
|
11
|
-
import("./options.js"),
|
|
12
|
-
]);
|
|
13
11
|
await Promise.all([
|
|
14
12
|
loadHexColorPlugin(e),
|
|
15
13
|
loadEmittersPluginSimple(e),
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const presetName = "squares";
|
|
2
|
+
export async function loadSquaresPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadHexColorPlugin }, { loadEmittersPluginSimple }, { loadSquareShape }, { loadRotateUpdater }, { loadSizeUpdater }, { loadPaintUpdater }, { options },] = await Promise.all([
|
|
5
|
+
import("@tsparticles/plugin-hex-color/lazy"),
|
|
6
|
+
import("@tsparticles/plugin-emitters/plugin/lazy"),
|
|
7
|
+
import("@tsparticles/shape-square/lazy"),
|
|
8
|
+
import("@tsparticles/updater-rotate/lazy"),
|
|
9
|
+
import("@tsparticles/updater-size/lazy"),
|
|
10
|
+
import("@tsparticles/updater-paint/lazy"),
|
|
11
|
+
import("./options.js"),
|
|
12
|
+
]);
|
|
13
|
+
await Promise.all([
|
|
14
|
+
loadHexColorPlugin(e),
|
|
15
|
+
loadEmittersPluginSimple(e),
|
|
16
|
+
loadSquareShape(e),
|
|
17
|
+
loadRotateUpdater(e),
|
|
18
|
+
loadSizeUpdater(e),
|
|
19
|
+
loadPaintUpdater(e),
|
|
20
|
+
]);
|
|
21
|
+
e.pluginManager.addPreset(presetName, options);
|
|
22
|
+
});
|
|
23
|
+
}
|
package/cjs/browser.js
ADDED
package/cjs/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadSquaresPreset } from "./index.js";
|
|
1
2
|
export { loadSquaresPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadSquaresPreset = loadSquaresPreset;
|
package/cjs/index.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
+
import { loadEmittersPluginSimple } from "@tsparticles/plugin-emitters/plugin";
|
|
2
|
+
import { loadHexColorPlugin } from "@tsparticles/plugin-hex-color";
|
|
3
|
+
import { loadPaintUpdater } from "@tsparticles/updater-paint";
|
|
4
|
+
import { loadRotateUpdater } from "@tsparticles/updater-rotate";
|
|
5
|
+
import { loadSizeUpdater } from "@tsparticles/updater-size";
|
|
6
|
+
import { loadSquareShape } from "@tsparticles/shape-square";
|
|
7
|
+
import { options } from "./options.js";
|
|
1
8
|
const presetName = "squares";
|
|
2
9
|
export async function loadSquaresPreset(engine) {
|
|
3
10
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadHexColorPlugin }, { loadEmittersPluginSimple }, { loadSquareShape }, { loadRotateUpdater }, { loadSizeUpdater }, { loadPaintUpdater }, { options },] = await Promise.all([
|
|
5
|
-
import("@tsparticles/plugin-hex-color"),
|
|
6
|
-
import("@tsparticles/plugin-emitters/plugin"),
|
|
7
|
-
import("@tsparticles/shape-square"),
|
|
8
|
-
import("@tsparticles/updater-rotate"),
|
|
9
|
-
import("@tsparticles/updater-size"),
|
|
10
|
-
import("@tsparticles/updater-paint"),
|
|
11
|
-
import("./options.js"),
|
|
12
|
-
]);
|
|
13
11
|
await Promise.all([
|
|
14
12
|
loadHexColorPlugin(e),
|
|
15
13
|
loadEmittersPluginSimple(e),
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const presetName = "squares";
|
|
2
|
+
export async function loadSquaresPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadHexColorPlugin }, { loadEmittersPluginSimple }, { loadSquareShape }, { loadRotateUpdater }, { loadSizeUpdater }, { loadPaintUpdater }, { options },] = await Promise.all([
|
|
5
|
+
import("@tsparticles/plugin-hex-color/lazy"),
|
|
6
|
+
import("@tsparticles/plugin-emitters/plugin/lazy"),
|
|
7
|
+
import("@tsparticles/shape-square/lazy"),
|
|
8
|
+
import("@tsparticles/updater-rotate/lazy"),
|
|
9
|
+
import("@tsparticles/updater-size/lazy"),
|
|
10
|
+
import("@tsparticles/updater-paint/lazy"),
|
|
11
|
+
import("./options.js"),
|
|
12
|
+
]);
|
|
13
|
+
await Promise.all([
|
|
14
|
+
loadHexColorPlugin(e),
|
|
15
|
+
loadEmittersPluginSimple(e),
|
|
16
|
+
loadSquareShape(e),
|
|
17
|
+
loadRotateUpdater(e),
|
|
18
|
+
loadSizeUpdater(e),
|
|
19
|
+
loadPaintUpdater(e),
|
|
20
|
+
]);
|
|
21
|
+
e.pluginManager.addPreset(presetName, options);
|
|
22
|
+
});
|
|
23
|
+
}
|
package/esm/browser.js
ADDED
package/esm/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadSquaresPreset } from "./index.js";
|
|
1
2
|
export { loadSquaresPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadSquaresPreset = loadSquaresPreset;
|
package/esm/index.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
+
import { loadEmittersPluginSimple } from "@tsparticles/plugin-emitters/plugin";
|
|
2
|
+
import { loadHexColorPlugin } from "@tsparticles/plugin-hex-color";
|
|
3
|
+
import { loadPaintUpdater } from "@tsparticles/updater-paint";
|
|
4
|
+
import { loadRotateUpdater } from "@tsparticles/updater-rotate";
|
|
5
|
+
import { loadSizeUpdater } from "@tsparticles/updater-size";
|
|
6
|
+
import { loadSquareShape } from "@tsparticles/shape-square";
|
|
7
|
+
import { options } from "./options.js";
|
|
1
8
|
const presetName = "squares";
|
|
2
9
|
export async function loadSquaresPreset(engine) {
|
|
3
10
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadHexColorPlugin }, { loadEmittersPluginSimple }, { loadSquareShape }, { loadRotateUpdater }, { loadSizeUpdater }, { loadPaintUpdater }, { options },] = await Promise.all([
|
|
5
|
-
import("@tsparticles/plugin-hex-color"),
|
|
6
|
-
import("@tsparticles/plugin-emitters/plugin"),
|
|
7
|
-
import("@tsparticles/shape-square"),
|
|
8
|
-
import("@tsparticles/updater-rotate"),
|
|
9
|
-
import("@tsparticles/updater-size"),
|
|
10
|
-
import("@tsparticles/updater-paint"),
|
|
11
|
-
import("./options.js"),
|
|
12
|
-
]);
|
|
13
11
|
await Promise.all([
|
|
14
12
|
loadHexColorPlugin(e),
|
|
15
13
|
loadEmittersPluginSimple(e),
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const presetName = "squares";
|
|
2
|
+
export async function loadSquaresPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadHexColorPlugin }, { loadEmittersPluginSimple }, { loadSquareShape }, { loadRotateUpdater }, { loadSizeUpdater }, { loadPaintUpdater }, { options },] = await Promise.all([
|
|
5
|
+
import("@tsparticles/plugin-hex-color/lazy"),
|
|
6
|
+
import("@tsparticles/plugin-emitters/plugin/lazy"),
|
|
7
|
+
import("@tsparticles/shape-square/lazy"),
|
|
8
|
+
import("@tsparticles/updater-rotate/lazy"),
|
|
9
|
+
import("@tsparticles/updater-size/lazy"),
|
|
10
|
+
import("@tsparticles/updater-paint/lazy"),
|
|
11
|
+
import("./options.js"),
|
|
12
|
+
]);
|
|
13
|
+
await Promise.all([
|
|
14
|
+
loadHexColorPlugin(e),
|
|
15
|
+
loadEmittersPluginSimple(e),
|
|
16
|
+
loadSquareShape(e),
|
|
17
|
+
loadRotateUpdater(e),
|
|
18
|
+
loadSizeUpdater(e),
|
|
19
|
+
loadPaintUpdater(e),
|
|
20
|
+
]);
|
|
21
|
+
e.pluginManager.addPreset(presetName, options);
|
|
22
|
+
});
|
|
23
|
+
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/preset-squares",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.15",
|
|
4
4
|
"description": "tsParticles squares preset",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/tsparticles/
|
|
8
|
+
"url": "git+https://github.com/tsparticles/tsparticles.git",
|
|
9
9
|
"directory": "presets/squares"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
@@ -96,16 +96,23 @@
|
|
|
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/engine": "
|
|
103
|
-
"@tsparticles/plugin-emitters": "
|
|
104
|
-
"@tsparticles/plugin-hex-color": "
|
|
105
|
-
"@tsparticles/shape-square": "
|
|
106
|
-
"@tsparticles/updater-paint": "
|
|
107
|
-
"@tsparticles/updater-rotate": "
|
|
108
|
-
"@tsparticles/updater-size": "
|
|
109
|
+
"@tsparticles/engine": "4.0.0-beta.15",
|
|
110
|
+
"@tsparticles/plugin-emitters": "4.0.0-beta.15",
|
|
111
|
+
"@tsparticles/plugin-hex-color": "4.0.0-beta.15",
|
|
112
|
+
"@tsparticles/shape-square": "4.0.0-beta.15",
|
|
113
|
+
"@tsparticles/updater-paint": "4.0.0-beta.15",
|
|
114
|
+
"@tsparticles/updater-rotate": "4.0.0-beta.15",
|
|
115
|
+
"@tsparticles/updater-size": "4.0.0-beta.15"
|
|
109
116
|
},
|
|
110
117
|
"publishConfig": {
|
|
111
118
|
"access": "public"
|