@tsparticles/particles 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.
- package/browser/particles.js +2 -2
- package/browser/particles.lazy.js +2 -2
- package/cjs/particles.js +2 -2
- package/cjs/particles.lazy.js +2 -2
- package/esm/particles.js +2 -2
- package/esm/particles.lazy.js +2 -2
- package/package.json +6 -6
- package/report.html +1 -1
- package/tsparticles.particles.bundle.js +17 -17
- package/tsparticles.particles.bundle.min.js +1 -1
- package/tsparticles.particles.js +3 -3
- package/tsparticles.particles.min.js +1 -1
|
@@ -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
|
-
/* tsParticles v4.0.
|
|
2
|
+
/* tsParticles 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) :
|
|
@@ -1118,7 +1118,7 @@
|
|
|
1118
1118
|
return this._domArray;
|
|
1119
1119
|
}
|
|
1120
1120
|
get version() {
|
|
1121
|
-
return "4.0.
|
|
1121
|
+
return "4.0.1";
|
|
1122
1122
|
}
|
|
1123
1123
|
addEventListener(type, listener) {
|
|
1124
1124
|
this._eventDispatcher.addEventListener(type, listener);
|
|
@@ -3099,7 +3099,7 @@
|
|
|
3099
3099
|
}
|
|
3100
3100
|
|
|
3101
3101
|
async function loadCircleShape(engine) {
|
|
3102
|
-
engine.checkVersion("4.0.
|
|
3102
|
+
engine.checkVersion("4.0.1");
|
|
3103
3103
|
await engine.pluginManager.register(e => {
|
|
3104
3104
|
e.pluginManager.addShape(["circle"], () => {
|
|
3105
3105
|
return Promise.resolve(new CircleDrawer());
|
|
@@ -3147,7 +3147,7 @@
|
|
|
3147
3147
|
}
|
|
3148
3148
|
|
|
3149
3149
|
async function loadHexColorPlugin(engine) {
|
|
3150
|
-
engine.checkVersion("4.0.
|
|
3150
|
+
engine.checkVersion("4.0.1");
|
|
3151
3151
|
await engine.pluginManager.register(e => {
|
|
3152
3152
|
e.pluginManager.addColorManager("hex", new HexColorManager());
|
|
3153
3153
|
});
|
|
@@ -3200,7 +3200,7 @@
|
|
|
3200
3200
|
}
|
|
3201
3201
|
|
|
3202
3202
|
async function loadHslColorPlugin(engine) {
|
|
3203
|
-
engine.checkVersion("4.0.
|
|
3203
|
+
engine.checkVersion("4.0.1");
|
|
3204
3204
|
await engine.pluginManager.register(e => {
|
|
3205
3205
|
e.pluginManager.addColorManager("hsl", new HslColorManager());
|
|
3206
3206
|
});
|
|
@@ -3224,7 +3224,7 @@
|
|
|
3224
3224
|
}
|
|
3225
3225
|
|
|
3226
3226
|
async function loadMovePlugin(engine) {
|
|
3227
|
-
engine.checkVersion("4.0.
|
|
3227
|
+
engine.checkVersion("4.0.1");
|
|
3228
3228
|
await engine.pluginManager.register(e => {
|
|
3229
3229
|
const moveEngine = e, movePluginManager = moveEngine.pluginManager;
|
|
3230
3230
|
movePluginManager.initializers.pathGenerators ??= new Map();
|
|
@@ -3285,7 +3285,7 @@
|
|
|
3285
3285
|
}
|
|
3286
3286
|
|
|
3287
3287
|
async function loadOpacityUpdater(engine) {
|
|
3288
|
-
engine.checkVersion("4.0.
|
|
3288
|
+
engine.checkVersion("4.0.1");
|
|
3289
3289
|
await engine.pluginManager.register(e => {
|
|
3290
3290
|
e.pluginManager.addParticleUpdater("opacity", container => {
|
|
3291
3291
|
return Promise.resolve(new OpacityUpdater(container));
|
|
@@ -3637,7 +3637,7 @@
|
|
|
3637
3637
|
}
|
|
3638
3638
|
|
|
3639
3639
|
async function loadOutModesUpdater(engine) {
|
|
3640
|
-
engine.checkVersion("4.0.
|
|
3640
|
+
engine.checkVersion("4.0.1");
|
|
3641
3641
|
await engine.pluginManager.register(e => {
|
|
3642
3642
|
e.pluginManager.addParticleUpdater("outModes", container => {
|
|
3643
3643
|
return Promise.resolve(new OutOfCanvasUpdater(container));
|
|
@@ -3708,7 +3708,7 @@
|
|
|
3708
3708
|
}
|
|
3709
3709
|
|
|
3710
3710
|
async function loadPaintUpdater(engine) {
|
|
3711
|
-
engine.checkVersion("4.0.
|
|
3711
|
+
engine.checkVersion("4.0.1");
|
|
3712
3712
|
await engine.pluginManager.register(e => {
|
|
3713
3713
|
e.pluginManager.addParticleUpdater("paint", container => {
|
|
3714
3714
|
return Promise.resolve(new PaintUpdater(e.pluginManager, container));
|
|
@@ -3763,7 +3763,7 @@
|
|
|
3763
3763
|
}
|
|
3764
3764
|
|
|
3765
3765
|
async function loadRgbColorPlugin(engine) {
|
|
3766
|
-
engine.checkVersion("4.0.
|
|
3766
|
+
engine.checkVersion("4.0.1");
|
|
3767
3767
|
await engine.pluginManager.register(e => {
|
|
3768
3768
|
e.pluginManager.addColorManager("rgb", new RgbColorManager());
|
|
3769
3769
|
});
|
|
@@ -3806,7 +3806,7 @@
|
|
|
3806
3806
|
}
|
|
3807
3807
|
|
|
3808
3808
|
async function loadSizeUpdater(engine) {
|
|
3809
|
-
engine.checkVersion("4.0.
|
|
3809
|
+
engine.checkVersion("4.0.1");
|
|
3810
3810
|
await engine.pluginManager.register(e => {
|
|
3811
3811
|
e.pluginManager.addParticleUpdater("size", container => {
|
|
3812
3812
|
return Promise.resolve(new SizeUpdater(container));
|
|
@@ -3815,7 +3815,7 @@
|
|
|
3815
3815
|
}
|
|
3816
3816
|
|
|
3817
3817
|
async function loadBasic(engine) {
|
|
3818
|
-
engine.checkVersion("4.0.
|
|
3818
|
+
engine.checkVersion("4.0.1");
|
|
3819
3819
|
await engine.pluginManager.register(async (e) => {
|
|
3820
3820
|
await Promise.all([
|
|
3821
3821
|
loadHexColorPlugin(e),
|
|
@@ -4052,7 +4052,7 @@
|
|
|
4052
4052
|
const clickEvent = "click", mouseDownEvent = "pointerdown", mouseUpEvent = "pointerup", mouseLeaveEvent = "pointerleave", mouseMoveEvent = "pointermove", touchStartEvent = "touchstart", touchEndEvent = "touchend", touchMoveEvent = "touchmove", touchCancelEvent = "touchcancel";
|
|
4053
4053
|
|
|
4054
4054
|
async function loadInteractivityPlugin(engine) {
|
|
4055
|
-
engine.checkVersion("4.0.
|
|
4055
|
+
engine.checkVersion("4.0.1");
|
|
4056
4056
|
await engine.pluginManager.register(e => {
|
|
4057
4057
|
const interactivityEngine = e, interactivityPluginManager = interactivityEngine.pluginManager;
|
|
4058
4058
|
interactivityPluginManager.addPlugin(new InteractivityPlugin(interactivityPluginManager));
|
|
@@ -4316,7 +4316,7 @@
|
|
|
4316
4316
|
}
|
|
4317
4317
|
|
|
4318
4318
|
async function loadParticlesCollisionsInteraction(engine) {
|
|
4319
|
-
engine.checkVersion("4.0.
|
|
4319
|
+
engine.checkVersion("4.0.1");
|
|
4320
4320
|
await engine.pluginManager.register((e) => {
|
|
4321
4321
|
ensureInteractivityPluginLoaded(e);
|
|
4322
4322
|
e.pluginManager.addPlugin(new OverlapPlugin());
|
|
@@ -4619,7 +4619,7 @@
|
|
|
4619
4619
|
}
|
|
4620
4620
|
|
|
4621
4621
|
async function loadParticlesLinksInteraction(engine) {
|
|
4622
|
-
engine.checkVersion("4.0.
|
|
4622
|
+
engine.checkVersion("4.0.1");
|
|
4623
4623
|
await engine.pluginManager.register((e) => {
|
|
4624
4624
|
const pluginManager = e.pluginManager;
|
|
4625
4625
|
ensureInteractivityPluginLoaded(e);
|
|
@@ -4632,7 +4632,7 @@
|
|
|
4632
4632
|
|
|
4633
4633
|
let initPromise = null;
|
|
4634
4634
|
async function doInitPlugins(engine) {
|
|
4635
|
-
engine.checkVersion("4.0.
|
|
4635
|
+
engine.checkVersion("4.0.1");
|
|
4636
4636
|
await engine.pluginManager.register(async (e) => {
|
|
4637
4637
|
const loadParticlesInteractivity = async (e) => {
|
|
4638
4638
|
await loadInteractivityPlugin(e);
|
|
@@ -4675,7 +4675,7 @@
|
|
|
4675
4675
|
particles.init = async () => {
|
|
4676
4676
|
await initPlugins(tsParticles);
|
|
4677
4677
|
};
|
|
4678
|
-
particles.version = "4.0.
|
|
4678
|
+
particles.version = "4.0.1";
|
|
4679
4679
|
globalThis.particles = particles;
|
|
4680
4680
|
|
|
4681
4681
|
const globalObject = globalThis;
|