@tsparticles/preset-confetti 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 +11 -13
- package/browser/index.lazy.js +31 -0
- package/cjs/browser.js +5 -0
- package/cjs/bundle.js +4 -0
- package/cjs/index.js +11 -13
- package/cjs/index.lazy.js +31 -0
- package/esm/browser.js +5 -0
- package/esm/bundle.js +4 -0
- package/esm/index.js +11 -13
- package/esm/index.lazy.js +31 -0
- package/package.json +13 -13
- package/report.html +4949 -94
- package/tsparticles.preset.confetti.bundle.js +7597 -967
- package/tsparticles.preset.confetti.bundle.min.js +1 -2
- package/tsparticles.preset.confetti.js +166 -437
- package/tsparticles.preset.confetti.min.js +1 -2
- package/types/browser.d.ts +1 -0
- package/types/index.lazy.d.ts +2 -0
- package/0.min.js +0 -1
- package/126.min.js +0 -1
- package/128.min.js +0 -1
- package/166.min.js +0 -1
- package/172.min.js +0 -1
- package/188.min.js +0 -1
- package/200.min.js +0 -1
- package/240.min.js +0 -1
- package/245.min.js +0 -1
- package/304.min.js +0 -1
- package/311.min.js +0 -1
- package/313.min.js +0 -1
- package/326.min.js +0 -1
- package/358.min.js +0 -1
- package/361.min.js +0 -1
- package/392.min.js +0 -1
- package/404.min.js +0 -1
- package/432.min.js +0 -1
- package/467.min.js +0 -1
- package/48.min.js +0 -1
- package/480.min.js +0 -1
- package/499.min.js +0 -1
- package/508.min.js +0 -1
- package/592.min.js +0 -1
- package/600.min.js +0 -1
- package/619.min.js +0 -1
- package/63.min.js +0 -1
- package/632.min.js +0 -1
- package/659.min.js +0 -1
- package/672.min.js +0 -1
- package/700.min.js +0 -1
- package/714.min.js +0 -1
- package/719.min.js +0 -1
- package/72.min.js +0 -1
- package/74.min.js +0 -1
- package/750.min.js +0 -1
- package/76.min.js +0 -1
- package/778.min.js +0 -1
- package/784.min.js +0 -1
- package/824.min.js +0 -1
- package/857.min.js +0 -1
- package/86.min.js +0 -1
- package/892.min.js +0 -1
- package/902.min.js +0 -1
- package/925.min.js +0 -1
- package/957.min.js +0 -1
- package/990.min.js +0 -1
- package/dist_browser_options_js.js +0 -30
- package/node_modules_pnpm_tsparticles_basic_4_0_0-beta_11_node_modules_tsparticles_basic_browser_index_js.js +0 -30
- package/node_modules_pnpm_tsparticles_palette-confetti_4_0_0-beta_0_node_modules_tsparticles_palette--18177c.js +0 -30
- package/node_modules_pnpm_tsparticles_palette-confetti_4_0_0-beta_0_node_modules_tsparticles_palette--e88430.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_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-060416.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-hsl-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-a6d106.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-motion_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-2d5e3e.js +0 -50
- package/node_modules_pnpm_tsparticles_plugin-motion_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-56bbea.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-motion_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_n-bf9b7c.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-3a792b.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_nod-e1bc4b.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-d9836d.js +0 -30
- package/node_modules_pnpm_tsparticles_plugin-rgb-color_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_1-f22022.js +0 -30
- package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-7552ae.js +0 -40
- package/node_modules_pnpm_tsparticles_shape-circle_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-b06fc7.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-life_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-9cea59.js +0 -70
- package/node_modules_pnpm_tsparticles_updater-life_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a724a4.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-8f9e09.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-opacity_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11-da77ce.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_-df7144.js +0 -30
- 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-roll_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-9a3afd.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-roll_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-afa94a.js +0 -70
- 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/node_modules_pnpm_tsparticles_updater-tilt_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-14b886.js +0 -30
- package/node_modules_pnpm_tsparticles_updater-tilt_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_no-a0ea75.js +0 -60
- package/node_modules_pnpm_tsparticles_updater-wobble_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_-14499e.js +0 -60
- package/node_modules_pnpm_tsparticles_updater-wobble_4_0_0-beta_11__tsparticles_engine_4_0_0-beta_11_-5cc4d7.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/vendors-node_modules_pnpm_tsparticles_plugin-move_4_0_0-beta_11__tsparticles_engine_4_0_0-bet-5f2b78.js +0 -40
- package/vendors-node_modules_pnpm_tsparticles_updater-out-modes_4_0_0-beta_11__tsparticles_engine_4_0-09fa1a.js +0 -80
package/browser/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadConfettiPreset } from "./index.js";
|
|
1
2
|
export { loadConfettiPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadConfettiPreset = loadConfettiPreset;
|
package/browser/index.js
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
|
+
import { loadBasic } from "@tsparticles/basic";
|
|
2
|
+
import { loadConfettiPalette } from "@tsparticles/palette-confetti";
|
|
3
|
+
import { loadEmittersPluginSimple } from "@tsparticles/plugin-emitters/plugin";
|
|
4
|
+
import { loadLifeUpdater } from "@tsparticles/updater-life";
|
|
5
|
+
import { loadMotionPlugin } from "@tsparticles/plugin-motion";
|
|
6
|
+
import { loadRollUpdater } from "@tsparticles/updater-roll";
|
|
7
|
+
import { loadRotateUpdater } from "@tsparticles/updater-rotate";
|
|
8
|
+
import { loadSquareShape } from "@tsparticles/shape-square";
|
|
9
|
+
import { loadTiltUpdater } from "@tsparticles/updater-tilt";
|
|
10
|
+
import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
|
|
11
|
+
import { options } from "./options.js";
|
|
1
12
|
const presetName = "confetti";
|
|
2
13
|
export async function loadConfettiPreset(engine) {
|
|
3
14
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadBasic }, { loadEmittersPluginSimple }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadLifeUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
|
|
5
|
-
import("@tsparticles/basic"),
|
|
6
|
-
import("@tsparticles/plugin-emitters/plugin"),
|
|
7
|
-
import("@tsparticles/plugin-motion"),
|
|
8
|
-
import("@tsparticles/updater-rotate"),
|
|
9
|
-
import("@tsparticles/shape-square"),
|
|
10
|
-
import("@tsparticles/updater-tilt"),
|
|
11
|
-
import("@tsparticles/updater-wobble"),
|
|
12
|
-
import("@tsparticles/updater-life"),
|
|
13
|
-
import("@tsparticles/updater-roll"),
|
|
14
|
-
import("@tsparticles/palette-confetti"),
|
|
15
|
-
import("./options.js"),
|
|
16
|
-
]);
|
|
17
15
|
await Promise.all([
|
|
18
16
|
loadBasic(e),
|
|
19
17
|
loadConfettiPalette(e),
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const presetName = "confetti";
|
|
2
|
+
export async function loadConfettiPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadBasic }, { loadEmittersPluginSimple }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadLifeUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
|
|
5
|
+
import("@tsparticles/basic/lazy"),
|
|
6
|
+
import("@tsparticles/plugin-emitters/plugin/lazy"),
|
|
7
|
+
import("@tsparticles/plugin-motion/lazy"),
|
|
8
|
+
import("@tsparticles/updater-rotate/lazy"),
|
|
9
|
+
import("@tsparticles/shape-square/lazy"),
|
|
10
|
+
import("@tsparticles/updater-tilt/lazy"),
|
|
11
|
+
import("@tsparticles/updater-wobble/lazy"),
|
|
12
|
+
import("@tsparticles/updater-life/lazy"),
|
|
13
|
+
import("@tsparticles/updater-roll/lazy"),
|
|
14
|
+
import("@tsparticles/palette-confetti/lazy"),
|
|
15
|
+
import("./options.js"),
|
|
16
|
+
]);
|
|
17
|
+
await Promise.all([
|
|
18
|
+
loadBasic(e),
|
|
19
|
+
loadConfettiPalette(e),
|
|
20
|
+
loadEmittersPluginSimple(e),
|
|
21
|
+
loadSquareShape(e),
|
|
22
|
+
loadMotionPlugin(e),
|
|
23
|
+
loadWobbleUpdater(e),
|
|
24
|
+
loadRollUpdater(e),
|
|
25
|
+
loadRotateUpdater(e),
|
|
26
|
+
loadTiltUpdater(e),
|
|
27
|
+
loadLifeUpdater(e),
|
|
28
|
+
]);
|
|
29
|
+
e.pluginManager.addPreset(presetName, options, false);
|
|
30
|
+
});
|
|
31
|
+
}
|
package/cjs/browser.js
ADDED
package/cjs/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadConfettiPreset } from "./index.js";
|
|
1
2
|
export { loadConfettiPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadConfettiPreset = loadConfettiPreset;
|
package/cjs/index.js
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
|
+
import { loadBasic } from "@tsparticles/basic";
|
|
2
|
+
import { loadConfettiPalette } from "@tsparticles/palette-confetti";
|
|
3
|
+
import { loadEmittersPluginSimple } from "@tsparticles/plugin-emitters/plugin";
|
|
4
|
+
import { loadLifeUpdater } from "@tsparticles/updater-life";
|
|
5
|
+
import { loadMotionPlugin } from "@tsparticles/plugin-motion";
|
|
6
|
+
import { loadRollUpdater } from "@tsparticles/updater-roll";
|
|
7
|
+
import { loadRotateUpdater } from "@tsparticles/updater-rotate";
|
|
8
|
+
import { loadSquareShape } from "@tsparticles/shape-square";
|
|
9
|
+
import { loadTiltUpdater } from "@tsparticles/updater-tilt";
|
|
10
|
+
import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
|
|
11
|
+
import { options } from "./options.js";
|
|
1
12
|
const presetName = "confetti";
|
|
2
13
|
export async function loadConfettiPreset(engine) {
|
|
3
14
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadBasic }, { loadEmittersPluginSimple }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadLifeUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
|
|
5
|
-
import("@tsparticles/basic"),
|
|
6
|
-
import("@tsparticles/plugin-emitters/plugin"),
|
|
7
|
-
import("@tsparticles/plugin-motion"),
|
|
8
|
-
import("@tsparticles/updater-rotate"),
|
|
9
|
-
import("@tsparticles/shape-square"),
|
|
10
|
-
import("@tsparticles/updater-tilt"),
|
|
11
|
-
import("@tsparticles/updater-wobble"),
|
|
12
|
-
import("@tsparticles/updater-life"),
|
|
13
|
-
import("@tsparticles/updater-roll"),
|
|
14
|
-
import("@tsparticles/palette-confetti"),
|
|
15
|
-
import("./options.js"),
|
|
16
|
-
]);
|
|
17
15
|
await Promise.all([
|
|
18
16
|
loadBasic(e),
|
|
19
17
|
loadConfettiPalette(e),
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const presetName = "confetti";
|
|
2
|
+
export async function loadConfettiPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadBasic }, { loadEmittersPluginSimple }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadLifeUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
|
|
5
|
+
import("@tsparticles/basic/lazy"),
|
|
6
|
+
import("@tsparticles/plugin-emitters/plugin/lazy"),
|
|
7
|
+
import("@tsparticles/plugin-motion/lazy"),
|
|
8
|
+
import("@tsparticles/updater-rotate/lazy"),
|
|
9
|
+
import("@tsparticles/shape-square/lazy"),
|
|
10
|
+
import("@tsparticles/updater-tilt/lazy"),
|
|
11
|
+
import("@tsparticles/updater-wobble/lazy"),
|
|
12
|
+
import("@tsparticles/updater-life/lazy"),
|
|
13
|
+
import("@tsparticles/updater-roll/lazy"),
|
|
14
|
+
import("@tsparticles/palette-confetti/lazy"),
|
|
15
|
+
import("./options.js"),
|
|
16
|
+
]);
|
|
17
|
+
await Promise.all([
|
|
18
|
+
loadBasic(e),
|
|
19
|
+
loadConfettiPalette(e),
|
|
20
|
+
loadEmittersPluginSimple(e),
|
|
21
|
+
loadSquareShape(e),
|
|
22
|
+
loadMotionPlugin(e),
|
|
23
|
+
loadWobbleUpdater(e),
|
|
24
|
+
loadRollUpdater(e),
|
|
25
|
+
loadRotateUpdater(e),
|
|
26
|
+
loadTiltUpdater(e),
|
|
27
|
+
loadLifeUpdater(e),
|
|
28
|
+
]);
|
|
29
|
+
e.pluginManager.addPreset(presetName, options, false);
|
|
30
|
+
});
|
|
31
|
+
}
|
package/esm/browser.js
ADDED
package/esm/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadConfettiPreset } from "./index.js";
|
|
1
2
|
export { loadConfettiPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadConfettiPreset = loadConfettiPreset;
|
package/esm/index.js
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
|
+
import { loadBasic } from "@tsparticles/basic";
|
|
2
|
+
import { loadConfettiPalette } from "@tsparticles/palette-confetti";
|
|
3
|
+
import { loadEmittersPluginSimple } from "@tsparticles/plugin-emitters/plugin";
|
|
4
|
+
import { loadLifeUpdater } from "@tsparticles/updater-life";
|
|
5
|
+
import { loadMotionPlugin } from "@tsparticles/plugin-motion";
|
|
6
|
+
import { loadRollUpdater } from "@tsparticles/updater-roll";
|
|
7
|
+
import { loadRotateUpdater } from "@tsparticles/updater-rotate";
|
|
8
|
+
import { loadSquareShape } from "@tsparticles/shape-square";
|
|
9
|
+
import { loadTiltUpdater } from "@tsparticles/updater-tilt";
|
|
10
|
+
import { loadWobbleUpdater } from "@tsparticles/updater-wobble";
|
|
11
|
+
import { options } from "./options.js";
|
|
1
12
|
const presetName = "confetti";
|
|
2
13
|
export async function loadConfettiPreset(engine) {
|
|
3
14
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadBasic }, { loadEmittersPluginSimple }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadLifeUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
|
|
5
|
-
import("@tsparticles/basic"),
|
|
6
|
-
import("@tsparticles/plugin-emitters/plugin"),
|
|
7
|
-
import("@tsparticles/plugin-motion"),
|
|
8
|
-
import("@tsparticles/updater-rotate"),
|
|
9
|
-
import("@tsparticles/shape-square"),
|
|
10
|
-
import("@tsparticles/updater-tilt"),
|
|
11
|
-
import("@tsparticles/updater-wobble"),
|
|
12
|
-
import("@tsparticles/updater-life"),
|
|
13
|
-
import("@tsparticles/updater-roll"),
|
|
14
|
-
import("@tsparticles/palette-confetti"),
|
|
15
|
-
import("./options.js"),
|
|
16
|
-
]);
|
|
17
15
|
await Promise.all([
|
|
18
16
|
loadBasic(e),
|
|
19
17
|
loadConfettiPalette(e),
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const presetName = "confetti";
|
|
2
|
+
export async function loadConfettiPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadBasic }, { loadEmittersPluginSimple }, { loadMotionPlugin }, { loadRotateUpdater }, { loadSquareShape }, { loadTiltUpdater }, { loadWobbleUpdater }, { loadLifeUpdater }, { loadRollUpdater }, { loadConfettiPalette }, { options },] = await Promise.all([
|
|
5
|
+
import("@tsparticles/basic/lazy"),
|
|
6
|
+
import("@tsparticles/plugin-emitters/plugin/lazy"),
|
|
7
|
+
import("@tsparticles/plugin-motion/lazy"),
|
|
8
|
+
import("@tsparticles/updater-rotate/lazy"),
|
|
9
|
+
import("@tsparticles/shape-square/lazy"),
|
|
10
|
+
import("@tsparticles/updater-tilt/lazy"),
|
|
11
|
+
import("@tsparticles/updater-wobble/lazy"),
|
|
12
|
+
import("@tsparticles/updater-life/lazy"),
|
|
13
|
+
import("@tsparticles/updater-roll/lazy"),
|
|
14
|
+
import("@tsparticles/palette-confetti/lazy"),
|
|
15
|
+
import("./options.js"),
|
|
16
|
+
]);
|
|
17
|
+
await Promise.all([
|
|
18
|
+
loadBasic(e),
|
|
19
|
+
loadConfettiPalette(e),
|
|
20
|
+
loadEmittersPluginSimple(e),
|
|
21
|
+
loadSquareShape(e),
|
|
22
|
+
loadMotionPlugin(e),
|
|
23
|
+
loadWobbleUpdater(e),
|
|
24
|
+
loadRollUpdater(e),
|
|
25
|
+
loadRotateUpdater(e),
|
|
26
|
+
loadTiltUpdater(e),
|
|
27
|
+
loadLifeUpdater(e),
|
|
28
|
+
]);
|
|
29
|
+
e.pluginManager.addPreset(presetName, options, false);
|
|
30
|
+
});
|
|
31
|
+
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/preset-confetti",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.15",
|
|
4
4
|
"description": "tsParticles confetti 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/confetti"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
@@ -99,17 +99,17 @@
|
|
|
99
99
|
"./package.json": "./package.json"
|
|
100
100
|
},
|
|
101
101
|
"dependencies": {
|
|
102
|
-
"@tsparticles/basic": "
|
|
103
|
-
"@tsparticles/engine": "
|
|
104
|
-
"@tsparticles/palette-confetti": "
|
|
105
|
-
"@tsparticles/plugin-emitters": "
|
|
106
|
-
"@tsparticles/plugin-motion": "
|
|
107
|
-
"@tsparticles/shape-square": "
|
|
108
|
-
"@tsparticles/updater-life": "
|
|
109
|
-
"@tsparticles/updater-roll": "
|
|
110
|
-
"@tsparticles/updater-rotate": "
|
|
111
|
-
"@tsparticles/updater-tilt": "
|
|
112
|
-
"@tsparticles/updater-wobble": "
|
|
102
|
+
"@tsparticles/basic": "4.0.0-beta.15",
|
|
103
|
+
"@tsparticles/engine": "4.0.0-beta.15",
|
|
104
|
+
"@tsparticles/palette-confetti": "4.0.0-beta.15",
|
|
105
|
+
"@tsparticles/plugin-emitters": "4.0.0-beta.15",
|
|
106
|
+
"@tsparticles/plugin-motion": "4.0.0-beta.15",
|
|
107
|
+
"@tsparticles/shape-square": "4.0.0-beta.15",
|
|
108
|
+
"@tsparticles/updater-life": "4.0.0-beta.15",
|
|
109
|
+
"@tsparticles/updater-roll": "4.0.0-beta.15",
|
|
110
|
+
"@tsparticles/updater-rotate": "4.0.0-beta.15",
|
|
111
|
+
"@tsparticles/updater-tilt": "4.0.0-beta.15",
|
|
112
|
+
"@tsparticles/updater-wobble": "4.0.0-beta.15"
|
|
113
113
|
},
|
|
114
114
|
"publishConfig": {
|
|
115
115
|
"access": "public"
|