@tsparticles/preset-fireworks 4.0.0-beta.17 → 4.0.1
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.
|
|
2
|
+
/* Preset v4.0.1 */
|
|
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) :
|
|
@@ -1021,7 +1021,7 @@
|
|
|
1021
1021
|
return this._domArray;
|
|
1022
1022
|
}
|
|
1023
1023
|
get version() {
|
|
1024
|
-
return "4.0.
|
|
1024
|
+
return "4.0.1";
|
|
1025
1025
|
}
|
|
1026
1026
|
addEventListener(type, listener) {
|
|
1027
1027
|
this._eventDispatcher.addEventListener(type, listener);
|
|
@@ -3135,7 +3135,7 @@
|
|
|
3135
3135
|
}
|
|
3136
3136
|
|
|
3137
3137
|
async function loadCircleShape(engine) {
|
|
3138
|
-
engine.checkVersion("4.0.
|
|
3138
|
+
engine.checkVersion("4.0.1");
|
|
3139
3139
|
await engine.pluginManager.register(e => {
|
|
3140
3140
|
e.pluginManager.addShape(["circle"], () => {
|
|
3141
3141
|
return Promise.resolve(new CircleDrawer());
|
|
@@ -3183,7 +3183,7 @@
|
|
|
3183
3183
|
}
|
|
3184
3184
|
|
|
3185
3185
|
async function loadHexColorPlugin(engine) {
|
|
3186
|
-
engine.checkVersion("4.0.
|
|
3186
|
+
engine.checkVersion("4.0.1");
|
|
3187
3187
|
await engine.pluginManager.register(e => {
|
|
3188
3188
|
e.pluginManager.addColorManager("hex", new HexColorManager());
|
|
3189
3189
|
});
|
|
@@ -3236,7 +3236,7 @@
|
|
|
3236
3236
|
}
|
|
3237
3237
|
|
|
3238
3238
|
async function loadHslColorPlugin(engine) {
|
|
3239
|
-
engine.checkVersion("4.0.
|
|
3239
|
+
engine.checkVersion("4.0.1");
|
|
3240
3240
|
await engine.pluginManager.register(e => {
|
|
3241
3241
|
e.pluginManager.addColorManager("hsl", new HslColorManager());
|
|
3242
3242
|
});
|
|
@@ -3260,7 +3260,7 @@
|
|
|
3260
3260
|
}
|
|
3261
3261
|
|
|
3262
3262
|
async function loadMovePlugin(engine) {
|
|
3263
|
-
engine.checkVersion("4.0.
|
|
3263
|
+
engine.checkVersion("4.0.1");
|
|
3264
3264
|
await engine.pluginManager.register(e => {
|
|
3265
3265
|
const moveEngine = e, movePluginManager = moveEngine.pluginManager;
|
|
3266
3266
|
movePluginManager.initializers.pathGenerators ??= new Map();
|
|
@@ -3321,7 +3321,7 @@
|
|
|
3321
3321
|
}
|
|
3322
3322
|
|
|
3323
3323
|
async function loadOpacityUpdater(engine) {
|
|
3324
|
-
engine.checkVersion("4.0.
|
|
3324
|
+
engine.checkVersion("4.0.1");
|
|
3325
3325
|
await engine.pluginManager.register(e => {
|
|
3326
3326
|
e.pluginManager.addParticleUpdater("opacity", container => {
|
|
3327
3327
|
return Promise.resolve(new OpacityUpdater(container));
|
|
@@ -3673,7 +3673,7 @@
|
|
|
3673
3673
|
}
|
|
3674
3674
|
|
|
3675
3675
|
async function loadOutModesUpdater(engine) {
|
|
3676
|
-
engine.checkVersion("4.0.
|
|
3676
|
+
engine.checkVersion("4.0.1");
|
|
3677
3677
|
await engine.pluginManager.register(e => {
|
|
3678
3678
|
e.pluginManager.addParticleUpdater("outModes", container => {
|
|
3679
3679
|
return Promise.resolve(new OutOfCanvasUpdater(container));
|
|
@@ -3744,7 +3744,7 @@
|
|
|
3744
3744
|
}
|
|
3745
3745
|
|
|
3746
3746
|
async function loadPaintUpdater(engine) {
|
|
3747
|
-
engine.checkVersion("4.0.
|
|
3747
|
+
engine.checkVersion("4.0.1");
|
|
3748
3748
|
await engine.pluginManager.register(e => {
|
|
3749
3749
|
e.pluginManager.addParticleUpdater("paint", container => {
|
|
3750
3750
|
return Promise.resolve(new PaintUpdater(e.pluginManager, container));
|
|
@@ -3799,7 +3799,7 @@
|
|
|
3799
3799
|
}
|
|
3800
3800
|
|
|
3801
3801
|
async function loadRgbColorPlugin(engine) {
|
|
3802
|
-
engine.checkVersion("4.0.
|
|
3802
|
+
engine.checkVersion("4.0.1");
|
|
3803
3803
|
await engine.pluginManager.register(e => {
|
|
3804
3804
|
e.pluginManager.addColorManager("rgb", new RgbColorManager());
|
|
3805
3805
|
});
|
|
@@ -3842,7 +3842,7 @@
|
|
|
3842
3842
|
}
|
|
3843
3843
|
|
|
3844
3844
|
async function loadSizeUpdater(engine) {
|
|
3845
|
-
engine.checkVersion("4.0.
|
|
3845
|
+
engine.checkVersion("4.0.1");
|
|
3846
3846
|
await engine.pluginManager.register(e => {
|
|
3847
3847
|
e.pluginManager.addParticleUpdater("size", container => {
|
|
3848
3848
|
return Promise.resolve(new SizeUpdater(container));
|
|
@@ -3851,7 +3851,7 @@
|
|
|
3851
3851
|
}
|
|
3852
3852
|
|
|
3853
3853
|
async function loadBasic(engine) {
|
|
3854
|
-
engine.checkVersion("4.0.
|
|
3854
|
+
engine.checkVersion("4.0.1");
|
|
3855
3855
|
await engine.pluginManager.register(async (e) => {
|
|
3856
3856
|
await Promise.all([
|
|
3857
3857
|
loadHexColorPlugin(e),
|
|
@@ -4220,7 +4220,7 @@
|
|
|
4220
4220
|
}
|
|
4221
4221
|
|
|
4222
4222
|
async function loadDestroyUpdater(engine) {
|
|
4223
|
-
engine.checkVersion("4.0.
|
|
4223
|
+
engine.checkVersion("4.0.1");
|
|
4224
4224
|
await engine.pluginManager.register(e => {
|
|
4225
4225
|
e.pluginManager.addParticleUpdater("destroy", container => {
|
|
4226
4226
|
return Promise.resolve(new DestroyUpdater(e.pluginManager, container));
|
|
@@ -4513,7 +4513,7 @@
|
|
|
4513
4513
|
})(EmitterClickMode || (EmitterClickMode = {}));
|
|
4514
4514
|
|
|
4515
4515
|
async function loadEmittersPluginSimple(engine) {
|
|
4516
|
-
engine.checkVersion("4.0.
|
|
4516
|
+
engine.checkVersion("4.0.1");
|
|
4517
4517
|
await engine.pluginManager.register(async (e) => {
|
|
4518
4518
|
const instancesManager = await getEmittersInstancesManager(e);
|
|
4519
4519
|
await addEmittersShapesManager(e);
|
|
@@ -4601,7 +4601,7 @@
|
|
|
4601
4601
|
}
|
|
4602
4602
|
|
|
4603
4603
|
async function loadEmittersShapeSquare(engine) {
|
|
4604
|
-
engine.checkVersion("4.0.
|
|
4604
|
+
engine.checkVersion("4.0.1");
|
|
4605
4605
|
await engine.pluginManager.register((e) => {
|
|
4606
4606
|
ensureEmittersPluginLoaded(e);
|
|
4607
4607
|
e.pluginManager.addEmitterShapeGenerator?.("square", new EmittersSquareShapeGenerator());
|
|
@@ -4767,7 +4767,7 @@
|
|
|
4767
4767
|
}
|
|
4768
4768
|
|
|
4769
4769
|
async function loadLifeUpdater(engine) {
|
|
4770
|
-
engine.checkVersion("4.0.
|
|
4770
|
+
engine.checkVersion("4.0.1");
|
|
4771
4771
|
await engine.pluginManager.register(e => {
|
|
4772
4772
|
e.pluginManager.addParticleUpdater("life", container => {
|
|
4773
4773
|
return Promise.resolve(new LifeUpdater(container));
|
|
@@ -4793,7 +4793,7 @@
|
|
|
4793
4793
|
}
|
|
4794
4794
|
|
|
4795
4795
|
async function loadLineShape(engine) {
|
|
4796
|
-
engine.checkVersion("4.0.
|
|
4796
|
+
engine.checkVersion("4.0.1");
|
|
4797
4797
|
await engine.pluginManager.register(e => {
|
|
4798
4798
|
e.pluginManager.addShape(["line"], () => Promise.resolve(new LineDrawer()));
|
|
4799
4799
|
});
|
|
@@ -4925,7 +4925,7 @@
|
|
|
4925
4925
|
}
|
|
4926
4926
|
|
|
4927
4927
|
async function loadRotateUpdater(engine) {
|
|
4928
|
-
engine.checkVersion("4.0.
|
|
4928
|
+
engine.checkVersion("4.0.1");
|
|
4929
4929
|
await engine.pluginManager.register(e => {
|
|
4930
4930
|
e.pluginManager.addParticleUpdater("rotate", container => {
|
|
4931
4931
|
return Promise.resolve(new RotateUpdater(container));
|
|
@@ -5306,7 +5306,7 @@
|
|
|
5306
5306
|
}
|
|
5307
5307
|
|
|
5308
5308
|
async function loadSoundsPlugin(engine) {
|
|
5309
|
-
engine.checkVersion("4.0.
|
|
5309
|
+
engine.checkVersion("4.0.1");
|
|
5310
5310
|
await engine.pluginManager.register(e => {
|
|
5311
5311
|
e.pluginManager.addPlugin(new SoundsPlugin(e));
|
|
5312
5312
|
});
|
|
@@ -5389,7 +5389,7 @@
|
|
|
5389
5389
|
}
|
|
5390
5390
|
|
|
5391
5391
|
async function loadTrailEffect(engine) {
|
|
5392
|
-
engine.checkVersion("4.0.
|
|
5392
|
+
engine.checkVersion("4.0.1");
|
|
5393
5393
|
await engine.pluginManager.register(e => {
|
|
5394
5394
|
e.pluginManager.addEffect("trail", container => {
|
|
5395
5395
|
return Promise.resolve(new TrailDrawer(container));
|