@tsparticles/preset-confetti-falling 4.0.0-beta.17 → 4.0.0
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(g){g.__tsParticlesInternals=g.__tsParticlesInternals||{};g.__tsParticlesInternals.bundles=g.__tsParticlesInternals.bundles||{};g.__tsParticlesInternals.effects=g.__tsParticlesInternals.effects||{};g.__tsParticlesInternals.engine=g.__tsParticlesInternals.engine||{};g.__tsParticlesInternals.interactions=g.__tsParticlesInternals.interactions||{};g.__tsParticlesInternals.palettes=g.__tsParticlesInternals.palettes||{};g.__tsParticlesInternals.paths=g.__tsParticlesInternals.paths||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins.emittersShapes=g.__tsParticlesInternals.plugins.emittersShapes||{};g.__tsParticlesInternals.presets=g.__tsParticlesInternals.presets||{};g.__tsParticlesInternals.shapes=g.__tsParticlesInternals.shapes||{};g.__tsParticlesInternals.updaters=g.__tsParticlesInternals.updaters||{};g.__tsParticlesInternals.utils=g.__tsParticlesInternals.utils||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas.utils=g.__tsParticlesInternals.canvas.utils||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path.utils=g.__tsParticlesInternals.path.utils||{};var __tsProxyFactory=typeof Proxy!=="undefined"?function(obj){return new Proxy(obj,{get:function(target,key){if(!(key in target)){target[key]={};}return target[key];}});}:function(obj){return obj;};g.__tsParticlesInternals.bundles=__tsProxyFactory(g.__tsParticlesInternals.bundles);g.__tsParticlesInternals.effects=__tsProxyFactory(g.__tsParticlesInternals.effects);g.__tsParticlesInternals.interactions=__tsProxyFactory(g.__tsParticlesInternals.interactions);g.__tsParticlesInternals.palettes=__tsProxyFactory(g.__tsParticlesInternals.palettes);g.__tsParticlesInternals.paths=__tsProxyFactory(g.__tsParticlesInternals.paths);g.__tsParticlesInternals.plugins=__tsProxyFactory(g.__tsParticlesInternals.plugins);g.__tsParticlesInternals.plugins.emittersShapes=__tsProxyFactory(g.__tsParticlesInternals.plugins.emittersShapes);g.__tsParticlesInternals.presets=__tsProxyFactory(g.__tsParticlesInternals.presets);g.__tsParticlesInternals.shapes=__tsProxyFactory(g.__tsParticlesInternals.shapes);g.__tsParticlesInternals.updaters=__tsProxyFactory(g.__tsParticlesInternals.updaters);g.__tsParticlesInternals.utils=__tsProxyFactory(g.__tsParticlesInternals.utils);g.__tsParticlesInternals.canvas=__tsProxyFactory(g.__tsParticlesInternals.canvas);g.__tsParticlesInternals.path=__tsProxyFactory(g.__tsParticlesInternals.path);g.tsparticlesInternalExports=g.tsparticlesInternalExports||{};})(typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:this);
|
|
2
|
-
/* Preset v4.0.0
|
|
2
|
+
/* Preset v4.0.0 */
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
5
5
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
@@ -1002,7 +1002,7 @@
|
|
|
1002
1002
|
return this._domArray;
|
|
1003
1003
|
}
|
|
1004
1004
|
get version() {
|
|
1005
|
-
return "4.0.0
|
|
1005
|
+
return "4.0.0";
|
|
1006
1006
|
}
|
|
1007
1007
|
addEventListener(type, listener) {
|
|
1008
1008
|
this._eventDispatcher.addEventListener(type, listener);
|
|
@@ -2860,7 +2860,7 @@
|
|
|
2860
2860
|
}
|
|
2861
2861
|
|
|
2862
2862
|
async function loadCircleShape(engine) {
|
|
2863
|
-
engine.checkVersion("4.0.0
|
|
2863
|
+
engine.checkVersion("4.0.0");
|
|
2864
2864
|
await engine.pluginManager.register(e => {
|
|
2865
2865
|
e.pluginManager.addShape(["circle"], () => {
|
|
2866
2866
|
return Promise.resolve(new CircleDrawer());
|
|
@@ -2908,7 +2908,7 @@
|
|
|
2908
2908
|
}
|
|
2909
2909
|
|
|
2910
2910
|
async function loadHexColorPlugin(engine) {
|
|
2911
|
-
engine.checkVersion("4.0.0
|
|
2911
|
+
engine.checkVersion("4.0.0");
|
|
2912
2912
|
await engine.pluginManager.register(e => {
|
|
2913
2913
|
e.pluginManager.addColorManager("hex", new HexColorManager());
|
|
2914
2914
|
});
|
|
@@ -2961,7 +2961,7 @@
|
|
|
2961
2961
|
}
|
|
2962
2962
|
|
|
2963
2963
|
async function loadHslColorPlugin(engine) {
|
|
2964
|
-
engine.checkVersion("4.0.0
|
|
2964
|
+
engine.checkVersion("4.0.0");
|
|
2965
2965
|
await engine.pluginManager.register(e => {
|
|
2966
2966
|
e.pluginManager.addColorManager("hsl", new HslColorManager());
|
|
2967
2967
|
});
|
|
@@ -2985,7 +2985,7 @@
|
|
|
2985
2985
|
}
|
|
2986
2986
|
|
|
2987
2987
|
async function loadMovePlugin(engine) {
|
|
2988
|
-
engine.checkVersion("4.0.0
|
|
2988
|
+
engine.checkVersion("4.0.0");
|
|
2989
2989
|
await engine.pluginManager.register(e => {
|
|
2990
2990
|
const moveEngine = e, movePluginManager = moveEngine.pluginManager;
|
|
2991
2991
|
movePluginManager.initializers.pathGenerators ??= new Map();
|
|
@@ -3046,7 +3046,7 @@
|
|
|
3046
3046
|
}
|
|
3047
3047
|
|
|
3048
3048
|
async function loadOpacityUpdater(engine) {
|
|
3049
|
-
engine.checkVersion("4.0.0
|
|
3049
|
+
engine.checkVersion("4.0.0");
|
|
3050
3050
|
await engine.pluginManager.register(e => {
|
|
3051
3051
|
e.pluginManager.addParticleUpdater("opacity", container => {
|
|
3052
3052
|
return Promise.resolve(new OpacityUpdater(container));
|
|
@@ -3398,7 +3398,7 @@
|
|
|
3398
3398
|
}
|
|
3399
3399
|
|
|
3400
3400
|
async function loadOutModesUpdater(engine) {
|
|
3401
|
-
engine.checkVersion("4.0.0
|
|
3401
|
+
engine.checkVersion("4.0.0");
|
|
3402
3402
|
await engine.pluginManager.register(e => {
|
|
3403
3403
|
e.pluginManager.addParticleUpdater("outModes", container => {
|
|
3404
3404
|
return Promise.resolve(new OutOfCanvasUpdater(container));
|
|
@@ -3469,7 +3469,7 @@
|
|
|
3469
3469
|
}
|
|
3470
3470
|
|
|
3471
3471
|
async function loadPaintUpdater(engine) {
|
|
3472
|
-
engine.checkVersion("4.0.0
|
|
3472
|
+
engine.checkVersion("4.0.0");
|
|
3473
3473
|
await engine.pluginManager.register(e => {
|
|
3474
3474
|
e.pluginManager.addParticleUpdater("paint", container => {
|
|
3475
3475
|
return Promise.resolve(new PaintUpdater(e.pluginManager, container));
|
|
@@ -3524,7 +3524,7 @@
|
|
|
3524
3524
|
}
|
|
3525
3525
|
|
|
3526
3526
|
async function loadRgbColorPlugin(engine) {
|
|
3527
|
-
engine.checkVersion("4.0.0
|
|
3527
|
+
engine.checkVersion("4.0.0");
|
|
3528
3528
|
await engine.pluginManager.register(e => {
|
|
3529
3529
|
e.pluginManager.addColorManager("rgb", new RgbColorManager());
|
|
3530
3530
|
});
|
|
@@ -3567,7 +3567,7 @@
|
|
|
3567
3567
|
}
|
|
3568
3568
|
|
|
3569
3569
|
async function loadSizeUpdater(engine) {
|
|
3570
|
-
engine.checkVersion("4.0.0
|
|
3570
|
+
engine.checkVersion("4.0.0");
|
|
3571
3571
|
await engine.pluginManager.register(e => {
|
|
3572
3572
|
e.pluginManager.addParticleUpdater("size", container => {
|
|
3573
3573
|
return Promise.resolve(new SizeUpdater(container));
|
|
@@ -3576,7 +3576,7 @@
|
|
|
3576
3576
|
}
|
|
3577
3577
|
|
|
3578
3578
|
async function loadBasic(engine) {
|
|
3579
|
-
engine.checkVersion("4.0.0
|
|
3579
|
+
engine.checkVersion("4.0.0");
|
|
3580
3580
|
await engine.pluginManager.register(async (e) => {
|
|
3581
3581
|
await Promise.all([
|
|
3582
3582
|
loadHexColorPlugin(e),
|
|
@@ -3682,7 +3682,7 @@
|
|
|
3682
3682
|
}
|
|
3683
3683
|
|
|
3684
3684
|
async function loadMotionPlugin(engine) {
|
|
3685
|
-
engine.checkVersion("4.0.0
|
|
3685
|
+
engine.checkVersion("4.0.0");
|
|
3686
3686
|
await engine.pluginManager.register(e => {
|
|
3687
3687
|
e.pluginManager.addPlugin(new MotionPlugin());
|
|
3688
3688
|
});
|
|
@@ -3839,7 +3839,7 @@
|
|
|
3839
3839
|
}
|
|
3840
3840
|
|
|
3841
3841
|
async function loadRollUpdater(engine) {
|
|
3842
|
-
engine.checkVersion("4.0.0
|
|
3842
|
+
engine.checkVersion("4.0.0");
|
|
3843
3843
|
await engine.pluginManager.register(e => {
|
|
3844
3844
|
e.pluginManager.addParticleUpdater("roll", () => {
|
|
3845
3845
|
return Promise.resolve(new RollUpdater(e.pluginManager));
|
|
@@ -3973,7 +3973,7 @@
|
|
|
3973
3973
|
}
|
|
3974
3974
|
|
|
3975
3975
|
async function loadRotateUpdater(engine) {
|
|
3976
|
-
engine.checkVersion("4.0.0
|
|
3976
|
+
engine.checkVersion("4.0.0");
|
|
3977
3977
|
await engine.pluginManager.register(e => {
|
|
3978
3978
|
e.pluginManager.addParticleUpdater("rotate", container => {
|
|
3979
3979
|
return Promise.resolve(new RotateUpdater(container));
|
|
@@ -3997,7 +3997,7 @@
|
|
|
3997
3997
|
}
|
|
3998
3998
|
|
|
3999
3999
|
async function loadSquareShape(engine) {
|
|
4000
|
-
engine.checkVersion("4.0.0
|
|
4000
|
+
engine.checkVersion("4.0.0");
|
|
4001
4001
|
await engine.pluginManager.register(e => {
|
|
4002
4002
|
e.pluginManager.addShape(["edge", "square"], () => Promise.resolve(new SquareDrawer()));
|
|
4003
4003
|
});
|
|
@@ -4134,7 +4134,7 @@
|
|
|
4134
4134
|
}
|
|
4135
4135
|
|
|
4136
4136
|
async function loadTiltUpdater(engine) {
|
|
4137
|
-
engine.checkVersion("4.0.0
|
|
4137
|
+
engine.checkVersion("4.0.0");
|
|
4138
4138
|
await engine.pluginManager.register(e => {
|
|
4139
4139
|
e.pluginManager.addParticleUpdater("tilt", container => {
|
|
4140
4140
|
return Promise.resolve(new TiltUpdater(container));
|
|
@@ -4256,7 +4256,7 @@
|
|
|
4256
4256
|
}
|
|
4257
4257
|
|
|
4258
4258
|
async function loadWobbleUpdater(engine) {
|
|
4259
|
-
engine.checkVersion("4.0.0
|
|
4259
|
+
engine.checkVersion("4.0.0");
|
|
4260
4260
|
await engine.pluginManager.register(e => {
|
|
4261
4261
|
e.pluginManager.addParticleUpdater("wobble", container => {
|
|
4262
4262
|
return Promise.resolve(new WobbleUpdater(container));
|