@tsparticles/preset-firefly 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) :
|
|
@@ -1002,7 +1002,7 @@
|
|
|
1002
1002
|
return this._domArray;
|
|
1003
1003
|
}
|
|
1004
1004
|
get version() {
|
|
1005
|
-
return "4.0.
|
|
1005
|
+
return "4.0.1";
|
|
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.
|
|
2863
|
+
engine.checkVersion("4.0.1");
|
|
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.
|
|
2911
|
+
engine.checkVersion("4.0.1");
|
|
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.
|
|
2964
|
+
engine.checkVersion("4.0.1");
|
|
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.
|
|
2988
|
+
engine.checkVersion("4.0.1");
|
|
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.
|
|
3049
|
+
engine.checkVersion("4.0.1");
|
|
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.
|
|
3401
|
+
engine.checkVersion("4.0.1");
|
|
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.
|
|
3472
|
+
engine.checkVersion("4.0.1");
|
|
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.
|
|
3527
|
+
engine.checkVersion("4.0.1");
|
|
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.
|
|
3570
|
+
engine.checkVersion("4.0.1");
|
|
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.
|
|
3579
|
+
engine.checkVersion("4.0.1");
|
|
3580
3580
|
await engine.pluginManager.register(async (e) => {
|
|
3581
3581
|
await Promise.all([
|
|
3582
3582
|
loadHexColorPlugin(e),
|
|
@@ -3813,7 +3813,7 @@
|
|
|
3813
3813
|
const clickEvent = "click", mouseDownEvent = "pointerdown", mouseUpEvent = "pointerup", mouseLeaveEvent = "pointerleave", mouseMoveEvent = "pointermove", touchStartEvent = "touchstart", touchEndEvent = "touchend", touchMoveEvent = "touchmove", touchCancelEvent = "touchcancel";
|
|
3814
3814
|
|
|
3815
3815
|
async function loadInteractivityPlugin(engine) {
|
|
3816
|
-
engine.checkVersion("4.0.
|
|
3816
|
+
engine.checkVersion("4.0.1");
|
|
3817
3817
|
await engine.pluginManager.register(e => {
|
|
3818
3818
|
const interactivityEngine = e, interactivityPluginManager = interactivityEngine.pluginManager;
|
|
3819
3819
|
interactivityPluginManager.addPlugin(new InteractivityPlugin(interactivityPluginManager));
|
|
@@ -4041,7 +4041,7 @@
|
|
|
4041
4041
|
}
|
|
4042
4042
|
|
|
4043
4043
|
async function loadExternalTrailInteraction(engine) {
|
|
4044
|
-
engine.checkVersion("4.0.
|
|
4044
|
+
engine.checkVersion("4.0.1");
|
|
4045
4045
|
await engine.pluginManager.register((e) => {
|
|
4046
4046
|
ensureInteractivityPluginLoaded(e);
|
|
4047
4047
|
e.pluginManager.addInteractor?.("externalTrail", container => {
|
|
@@ -4209,7 +4209,7 @@
|
|
|
4209
4209
|
}
|
|
4210
4210
|
|
|
4211
4211
|
async function loadLifeUpdater(engine) {
|
|
4212
|
-
engine.checkVersion("4.0.
|
|
4212
|
+
engine.checkVersion("4.0.1");
|
|
4213
4213
|
await engine.pluginManager.register(e => {
|
|
4214
4214
|
e.pluginManager.addParticleUpdater("life", container => {
|
|
4215
4215
|
return Promise.resolve(new LifeUpdater(container));
|