@tsparticles/preset-links 4.0.0-beta.12 → 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 +4 -6
- package/browser/index.lazy.js +19 -0
- package/cjs/browser.js +5 -0
- package/cjs/bundle.js +4 -0
- package/cjs/index.js +4 -6
- package/cjs/index.lazy.js +19 -0
- package/esm/browser.js +5 -0
- package/esm/bundle.js +4 -0
- package/esm/index.js +4 -6
- package/esm/index.lazy.js +19 -0
- package/package.json +12 -5
- package/report.html +4949 -94
- package/tsparticles.preset.links.bundle.js +7145 -967
- package/tsparticles.preset.links.bundle.min.js +1 -2
- package/tsparticles.preset.links.js +62 -367
- package/tsparticles.preset.links.min.js +1 -2
- package/types/browser.d.ts +1 -0
- package/types/index.lazy.d.ts +2 -0
- package/110.min.js +0 -1
- package/155.min.js +0 -1
- package/181.min.js +0 -1
- package/212.min.js +0 -1
- package/318.min.js +0 -1
- package/349.min.js +0 -1
- package/4.min.js +0 -1
- package/415.min.js +0 -1
- package/425.min.js +0 -1
- package/483.min.js +0 -1
- package/5.min.js +0 -1
- package/586.min.js +0 -1
- package/623.min.js +0 -1
- package/646.min.js +0 -1
- package/662.min.js +0 -1
- package/663.min.js +0 -1
- package/69.min.js +0 -1
- package/748.min.js +0 -1
- package/779.min.js +0 -1
- package/794.min.js +0 -1
- package/807.min.js +0 -1
- package/819.min.js +0 -1
- package/837.min.js +0 -1
- package/874.min.js +0 -1
- package/904.min.js +0 -1
- package/935.min.js +0 -1
- package/938.min.js +0 -1
- package/94.min.js +0 -1
- package/979.min.js +0 -1
- package/bundles_basic_dist_browser_index_js.js +0 -30
- package/dist_browser_options_js.js +0 -30
- package/engine_dist_browser_Core_Container_js.js +0 -100
- package/interactions_particles_links_dist_browser_LinkInstance_js.js +0 -40
- package/interactions_particles_links_dist_browser_Linker_js.js +0 -140
- package/interactions_particles_links_dist_browser_LinksPlugin_js.js +0 -30
- package/interactions_particles_links_dist_browser_index_js.js +0 -60
- package/plugins_colors_hex_dist_browser_HexColorManager_js.js +0 -30
- package/plugins_colors_hex_dist_browser_index_js.js +0 -30
- package/plugins_colors_hsl_dist_browser_HslColorManager_js.js +0 -30
- package/plugins_colors_hsl_dist_browser_index_js.js +0 -30
- package/plugins_colors_rgb_dist_browser_RgbColorManager_js.js +0 -30
- package/plugins_colors_rgb_dist_browser_index_js.js +0 -30
- package/plugins_interactivity_dist_browser_InteractivityPluginInstance_js.js +0 -50
- package/plugins_interactivity_dist_browser_InteractivityPlugin_js.js +0 -70
- package/plugins_interactivity_dist_browser_index_js.js +0 -120
- package/plugins_move_dist_browser_MovePluginInstance_js.js +0 -40
- package/plugins_move_dist_browser_MovePlugin_js.js +0 -30
- package/plugins_move_dist_browser_index_js.js +0 -30
- package/shapes_circle_dist_browser_CircleDrawer_js.js +0 -40
- package/shapes_circle_dist_browser_index_js.js +0 -30
- package/updaters_opacity_dist_browser_OpacityUpdater_js.js +0 -30
- package/updaters_opacity_dist_browser_index_js.js +0 -30
- package/updaters_outModes_dist_browser_OutOfCanvasUpdater_js.js +0 -80
- package/updaters_outModes_dist_browser_index_js.js +0 -30
- package/updaters_paint_dist_browser_PaintUpdater_js.js +0 -30
- package/updaters_paint_dist_browser_index_js.js +0 -30
- package/updaters_size_dist_browser_SizeUpdater_js.js +0 -30
- package/updaters_size_dist_browser_index_js.js +0 -30
package/browser/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadLinksPreset } from "./index.js";
|
|
1
2
|
export { loadLinksPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadLinksPreset = loadLinksPreset;
|
package/browser/index.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
+
import { loadBasic } from "@tsparticles/basic";
|
|
2
|
+
import { loadInteractivityPlugin } from "@tsparticles/plugin-interactivity";
|
|
3
|
+
import { loadParticlesLinksInteraction } from "@tsparticles/interaction-particles-links";
|
|
4
|
+
import { options } from "./options.js";
|
|
1
5
|
const presetName = "links";
|
|
2
6
|
export async function loadLinksPreset(engine) {
|
|
3
7
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadBasic }, { loadParticlesLinksInteraction }, { loadInteractivityPlugin }, { options }] = await Promise.all([
|
|
5
|
-
import("@tsparticles/basic"),
|
|
6
|
-
import("@tsparticles/interaction-particles-links"),
|
|
7
|
-
import("@tsparticles/plugin-interactivity"),
|
|
8
|
-
import("./options.js"),
|
|
9
|
-
]);
|
|
10
8
|
await Promise.all([
|
|
11
9
|
loadBasic(e),
|
|
12
10
|
(async () => {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const presetName = "links";
|
|
2
|
+
export async function loadLinksPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadBasic }, { loadParticlesLinksInteraction }, { loadInteractivityPlugin }, { options }] = await Promise.all([
|
|
5
|
+
import("@tsparticles/basic/lazy"),
|
|
6
|
+
import("@tsparticles/interaction-particles-links/lazy"),
|
|
7
|
+
import("@tsparticles/plugin-interactivity/lazy"),
|
|
8
|
+
import("./options.js"),
|
|
9
|
+
]);
|
|
10
|
+
await Promise.all([
|
|
11
|
+
loadBasic(e),
|
|
12
|
+
(async () => {
|
|
13
|
+
await loadInteractivityPlugin(e);
|
|
14
|
+
await loadParticlesLinksInteraction(e);
|
|
15
|
+
})(),
|
|
16
|
+
]);
|
|
17
|
+
e.pluginManager.addPreset(presetName, options);
|
|
18
|
+
});
|
|
19
|
+
}
|
package/cjs/browser.js
ADDED
package/cjs/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadLinksPreset } from "./index.js";
|
|
1
2
|
export { loadLinksPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadLinksPreset = loadLinksPreset;
|
package/cjs/index.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
+
import { loadBasic } from "@tsparticles/basic";
|
|
2
|
+
import { loadInteractivityPlugin } from "@tsparticles/plugin-interactivity";
|
|
3
|
+
import { loadParticlesLinksInteraction } from "@tsparticles/interaction-particles-links";
|
|
4
|
+
import { options } from "./options.js";
|
|
1
5
|
const presetName = "links";
|
|
2
6
|
export async function loadLinksPreset(engine) {
|
|
3
7
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadBasic }, { loadParticlesLinksInteraction }, { loadInteractivityPlugin }, { options }] = await Promise.all([
|
|
5
|
-
import("@tsparticles/basic"),
|
|
6
|
-
import("@tsparticles/interaction-particles-links"),
|
|
7
|
-
import("@tsparticles/plugin-interactivity"),
|
|
8
|
-
import("./options.js"),
|
|
9
|
-
]);
|
|
10
8
|
await Promise.all([
|
|
11
9
|
loadBasic(e),
|
|
12
10
|
(async () => {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const presetName = "links";
|
|
2
|
+
export async function loadLinksPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadBasic }, { loadParticlesLinksInteraction }, { loadInteractivityPlugin }, { options }] = await Promise.all([
|
|
5
|
+
import("@tsparticles/basic/lazy"),
|
|
6
|
+
import("@tsparticles/interaction-particles-links/lazy"),
|
|
7
|
+
import("@tsparticles/plugin-interactivity/lazy"),
|
|
8
|
+
import("./options.js"),
|
|
9
|
+
]);
|
|
10
|
+
await Promise.all([
|
|
11
|
+
loadBasic(e),
|
|
12
|
+
(async () => {
|
|
13
|
+
await loadInteractivityPlugin(e);
|
|
14
|
+
await loadParticlesLinksInteraction(e);
|
|
15
|
+
})(),
|
|
16
|
+
]);
|
|
17
|
+
e.pluginManager.addPreset(presetName, options);
|
|
18
|
+
});
|
|
19
|
+
}
|
package/esm/browser.js
ADDED
package/esm/bundle.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import { loadLinksPreset } from "./index.js";
|
|
1
2
|
export { loadLinksPreset } from "./index.js";
|
|
2
3
|
export { tsParticles } from "@tsparticles/engine";
|
|
4
|
+
const globalObject = globalThis;
|
|
5
|
+
globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
|
|
6
|
+
globalObject.loadLinksPreset = loadLinksPreset;
|
package/esm/index.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
+
import { loadBasic } from "@tsparticles/basic";
|
|
2
|
+
import { loadInteractivityPlugin } from "@tsparticles/plugin-interactivity";
|
|
3
|
+
import { loadParticlesLinksInteraction } from "@tsparticles/interaction-particles-links";
|
|
4
|
+
import { options } from "./options.js";
|
|
1
5
|
const presetName = "links";
|
|
2
6
|
export async function loadLinksPreset(engine) {
|
|
3
7
|
await engine.pluginManager.register(async (e) => {
|
|
4
|
-
const [{ loadBasic }, { loadParticlesLinksInteraction }, { loadInteractivityPlugin }, { options }] = await Promise.all([
|
|
5
|
-
import("@tsparticles/basic"),
|
|
6
|
-
import("@tsparticles/interaction-particles-links"),
|
|
7
|
-
import("@tsparticles/plugin-interactivity"),
|
|
8
|
-
import("./options.js"),
|
|
9
|
-
]);
|
|
10
8
|
await Promise.all([
|
|
11
9
|
loadBasic(e),
|
|
12
10
|
(async () => {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const presetName = "links";
|
|
2
|
+
export async function loadLinksPreset(engine) {
|
|
3
|
+
await engine.pluginManager.register(async (e) => {
|
|
4
|
+
const [{ loadBasic }, { loadParticlesLinksInteraction }, { loadInteractivityPlugin }, { options }] = await Promise.all([
|
|
5
|
+
import("@tsparticles/basic/lazy"),
|
|
6
|
+
import("@tsparticles/interaction-particles-links/lazy"),
|
|
7
|
+
import("@tsparticles/plugin-interactivity/lazy"),
|
|
8
|
+
import("./options.js"),
|
|
9
|
+
]);
|
|
10
|
+
await Promise.all([
|
|
11
|
+
loadBasic(e),
|
|
12
|
+
(async () => {
|
|
13
|
+
await loadInteractivityPlugin(e);
|
|
14
|
+
await loadParticlesLinksInteraction(e);
|
|
15
|
+
})(),
|
|
16
|
+
]);
|
|
17
|
+
e.pluginManager.addPreset(presetName, options);
|
|
18
|
+
});
|
|
19
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/preset-links",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.15",
|
|
4
4
|
"description": "tsParticles links preset",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
@@ -96,13 +96,20 @@
|
|
|
96
96
|
"umd": "./umd/index.js",
|
|
97
97
|
"default": "./cjs/index.js"
|
|
98
98
|
},
|
|
99
|
+
"./lazy": {
|
|
100
|
+
"types": "./types/index.lazy.d.ts",
|
|
101
|
+
"browser": "./browser/index.lazy.js",
|
|
102
|
+
"import": "./esm/index.lazy.js",
|
|
103
|
+
"require": "./cjs/index.lazy.js",
|
|
104
|
+
"default": "./cjs/index.lazy.js"
|
|
105
|
+
},
|
|
99
106
|
"./package.json": "./package.json"
|
|
100
107
|
},
|
|
101
108
|
"dependencies": {
|
|
102
|
-
"@tsparticles/basic": "4.0.0-beta.
|
|
103
|
-
"@tsparticles/engine": "4.0.0-beta.
|
|
104
|
-
"@tsparticles/interaction-particles-links": "4.0.0-beta.
|
|
105
|
-
"@tsparticles/plugin-interactivity": "4.0.0-beta.
|
|
109
|
+
"@tsparticles/basic": "4.0.0-beta.15",
|
|
110
|
+
"@tsparticles/engine": "4.0.0-beta.15",
|
|
111
|
+
"@tsparticles/interaction-particles-links": "4.0.0-beta.15",
|
|
112
|
+
"@tsparticles/plugin-interactivity": "4.0.0-beta.15"
|
|
106
113
|
},
|
|
107
114
|
"publishConfig": {
|
|
108
115
|
"access": "public"
|