@tsparticles/configs 3.0.0-beta.1 → 3.0.0-beta.3
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/c/index.js +0 -4
- package/browser/index.js +26 -26
- package/cjs/c/index.js +0 -4
- package/cjs/index.js +52 -52
- package/esm/c/index.js +0 -4
- package/esm/index.js +26 -26
- package/package.json +4 -4
- package/report.html +23 -5
- package/tsparticles.configs.bundle.js +1 -1
- package/tsparticles.configs.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.configs.js +2 -62
- package/tsparticles.configs.min.js +1 -1
- package/tsparticles.configs.min.js.LICENSE.txt +1 -1
- package/types/c/index.d.ts +0 -2
- package/types/index.d.ts +0 -2
- package/umd/c/index.js +1 -5
- package/umd/index.js +53 -53
- package/browser/c/customPreset.js +0 -5
- package/browser/c/customShape.js +0 -49
- package/cjs/c/customPreset.js +0 -7
- package/cjs/c/customShape.js +0 -51
- package/esm/c/customPreset.js +0 -5
- package/esm/c/customShape.js +0 -49
- package/types/c/customPreset.d.ts +0 -3
- package/types/c/customShape.d.ts +0 -3
- package/umd/c/customPreset.js +0 -17
- package/umd/c/customShape.js +0 -61
package/umd/index.js
CHANGED
|
@@ -7,65 +7,65 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
7
7
|
if (v !== undefined) module.exports = v;
|
|
8
8
|
}
|
|
9
9
|
else if (typeof define === "function" && define.amd) {
|
|
10
|
-
define(["require", "exports", "@tsparticles/engine", "./a", "./b", "./c", "./d", "./e", "./f", "./g", "./h", "./i", "./j", "./k", "./l", "./m", "./n", "./o", "./p", "./q", "./r", "./s", "./t", "./u", "./v", "./w", "./x", "./y", "./z"], factory);
|
|
10
|
+
define(["require", "exports", "@tsparticles/engine", "./a/index.js", "./b/index.js", "./c/index.js", "./d/index.js", "./e/index.js", "./f/index.js", "./g/index.js", "./h/index.js", "./i/index.js", "./j/index.js", "./k/index.js", "./l/index.js", "./m/index.js", "./n/index.js", "./o/index.js", "./p/index.js", "./q/index.js", "./r/index.js", "./s/index.js", "./t/index.js", "./u/index.js", "./v/index.js", "./w/index.js", "./x/index.js", "./y/index.js", "./z/index.js"], factory);
|
|
11
11
|
}
|
|
12
12
|
})(function (require, exports) {
|
|
13
13
|
"use strict";
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
const engine_1 = require("@tsparticles/engine");
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
const
|
|
16
|
+
const index_js_1 = __importDefault(require("./a/index.js"));
|
|
17
|
+
const index_js_2 = __importDefault(require("./b/index.js"));
|
|
18
|
+
const index_js_3 = __importDefault(require("./c/index.js"));
|
|
19
|
+
const index_js_4 = __importDefault(require("./d/index.js"));
|
|
20
|
+
const index_js_5 = __importDefault(require("./e/index.js"));
|
|
21
|
+
const index_js_6 = __importDefault(require("./f/index.js"));
|
|
22
|
+
const index_js_7 = __importDefault(require("./g/index.js"));
|
|
23
|
+
const index_js_8 = __importDefault(require("./h/index.js"));
|
|
24
|
+
const index_js_9 = __importDefault(require("./i/index.js"));
|
|
25
|
+
const index_js_10 = __importDefault(require("./j/index.js"));
|
|
26
|
+
const index_js_11 = __importDefault(require("./k/index.js"));
|
|
27
|
+
const index_js_12 = __importDefault(require("./l/index.js"));
|
|
28
|
+
const index_js_13 = __importDefault(require("./m/index.js"));
|
|
29
|
+
const index_js_14 = __importDefault(require("./n/index.js"));
|
|
30
|
+
const index_js_15 = __importDefault(require("./o/index.js"));
|
|
31
|
+
const index_js_16 = __importDefault(require("./p/index.js"));
|
|
32
|
+
const index_js_17 = __importDefault(require("./q/index.js"));
|
|
33
|
+
const index_js_18 = __importDefault(require("./r/index.js"));
|
|
34
|
+
const index_js_19 = __importDefault(require("./s/index.js"));
|
|
35
|
+
const index_js_20 = __importDefault(require("./t/index.js"));
|
|
36
|
+
const index_js_21 = __importDefault(require("./u/index.js"));
|
|
37
|
+
const index_js_22 = __importDefault(require("./v/index.js"));
|
|
38
|
+
const index_js_23 = __importDefault(require("./w/index.js"));
|
|
39
|
+
const index_js_24 = __importDefault(require("./x/index.js"));
|
|
40
|
+
const index_js_25 = __importDefault(require("./y/index.js"));
|
|
41
|
+
const index_js_26 = __importDefault(require("./z/index.js"));
|
|
42
42
|
const configs = {
|
|
43
|
-
...
|
|
44
|
-
...
|
|
45
|
-
...
|
|
46
|
-
...
|
|
47
|
-
...
|
|
48
|
-
...
|
|
49
|
-
...
|
|
50
|
-
...
|
|
51
|
-
...
|
|
52
|
-
...
|
|
53
|
-
...
|
|
54
|
-
...
|
|
55
|
-
...
|
|
56
|
-
...
|
|
57
|
-
...
|
|
58
|
-
...
|
|
59
|
-
...
|
|
60
|
-
...
|
|
61
|
-
...
|
|
62
|
-
...
|
|
63
|
-
...
|
|
64
|
-
...
|
|
65
|
-
...
|
|
66
|
-
...
|
|
67
|
-
...
|
|
68
|
-
...
|
|
43
|
+
...index_js_1.default,
|
|
44
|
+
...index_js_2.default,
|
|
45
|
+
...index_js_3.default,
|
|
46
|
+
...index_js_4.default,
|
|
47
|
+
...index_js_5.default,
|
|
48
|
+
...index_js_6.default,
|
|
49
|
+
...index_js_7.default,
|
|
50
|
+
...index_js_8.default,
|
|
51
|
+
...index_js_9.default,
|
|
52
|
+
...index_js_10.default,
|
|
53
|
+
...index_js_11.default,
|
|
54
|
+
...index_js_12.default,
|
|
55
|
+
...index_js_13.default,
|
|
56
|
+
...index_js_14.default,
|
|
57
|
+
...index_js_15.default,
|
|
58
|
+
...index_js_16.default,
|
|
59
|
+
...index_js_17.default,
|
|
60
|
+
...index_js_18.default,
|
|
61
|
+
...index_js_19.default,
|
|
62
|
+
...index_js_20.default,
|
|
63
|
+
...index_js_21.default,
|
|
64
|
+
...index_js_22.default,
|
|
65
|
+
...index_js_23.default,
|
|
66
|
+
...index_js_24.default,
|
|
67
|
+
...index_js_25.default,
|
|
68
|
+
...index_js_26.default,
|
|
69
69
|
};
|
|
70
70
|
for (const key of Object.keys(configs)) {
|
|
71
71
|
engine_1.tsParticles.addConfig(configs[key]);
|
package/browser/c/customShape.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
const options = {
|
|
2
|
-
name: "Custom Shape",
|
|
3
|
-
particles: {
|
|
4
|
-
links: {
|
|
5
|
-
enable: false,
|
|
6
|
-
},
|
|
7
|
-
stroke: {
|
|
8
|
-
color: {
|
|
9
|
-
value: "random",
|
|
10
|
-
},
|
|
11
|
-
width: 1,
|
|
12
|
-
},
|
|
13
|
-
shape: {
|
|
14
|
-
type: "spiral",
|
|
15
|
-
options: {
|
|
16
|
-
spiral: {
|
|
17
|
-
innerRadius: 1,
|
|
18
|
-
lineSpacing: 1,
|
|
19
|
-
fill: false,
|
|
20
|
-
close: false,
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
size: {
|
|
25
|
-
value: 20,
|
|
26
|
-
},
|
|
27
|
-
rotate: {
|
|
28
|
-
value: {
|
|
29
|
-
min: 0,
|
|
30
|
-
max: 360,
|
|
31
|
-
},
|
|
32
|
-
direction: "clockwise",
|
|
33
|
-
animation: {
|
|
34
|
-
enable: true,
|
|
35
|
-
speed: 50,
|
|
36
|
-
sync: false,
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
preset: "links",
|
|
41
|
-
background: {
|
|
42
|
-
color: "#000000",
|
|
43
|
-
image: "",
|
|
44
|
-
position: "50% 50%",
|
|
45
|
-
repeat: "no-repeat",
|
|
46
|
-
size: "cover",
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
export default options;
|
package/cjs/c/customPreset.js
DELETED
package/cjs/c/customShape.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const options = {
|
|
4
|
-
name: "Custom Shape",
|
|
5
|
-
particles: {
|
|
6
|
-
links: {
|
|
7
|
-
enable: false,
|
|
8
|
-
},
|
|
9
|
-
stroke: {
|
|
10
|
-
color: {
|
|
11
|
-
value: "random",
|
|
12
|
-
},
|
|
13
|
-
width: 1,
|
|
14
|
-
},
|
|
15
|
-
shape: {
|
|
16
|
-
type: "spiral",
|
|
17
|
-
options: {
|
|
18
|
-
spiral: {
|
|
19
|
-
innerRadius: 1,
|
|
20
|
-
lineSpacing: 1,
|
|
21
|
-
fill: false,
|
|
22
|
-
close: false,
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
size: {
|
|
27
|
-
value: 20,
|
|
28
|
-
},
|
|
29
|
-
rotate: {
|
|
30
|
-
value: {
|
|
31
|
-
min: 0,
|
|
32
|
-
max: 360,
|
|
33
|
-
},
|
|
34
|
-
direction: "clockwise",
|
|
35
|
-
animation: {
|
|
36
|
-
enable: true,
|
|
37
|
-
speed: 50,
|
|
38
|
-
sync: false,
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
preset: "links",
|
|
43
|
-
background: {
|
|
44
|
-
color: "#000000",
|
|
45
|
-
image: "",
|
|
46
|
-
position: "50% 50%",
|
|
47
|
-
repeat: "no-repeat",
|
|
48
|
-
size: "cover",
|
|
49
|
-
},
|
|
50
|
-
};
|
|
51
|
-
exports.default = options;
|
package/esm/c/customPreset.js
DELETED
package/esm/c/customShape.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
const options = {
|
|
2
|
-
name: "Custom Shape",
|
|
3
|
-
particles: {
|
|
4
|
-
links: {
|
|
5
|
-
enable: false,
|
|
6
|
-
},
|
|
7
|
-
stroke: {
|
|
8
|
-
color: {
|
|
9
|
-
value: "random",
|
|
10
|
-
},
|
|
11
|
-
width: 1,
|
|
12
|
-
},
|
|
13
|
-
shape: {
|
|
14
|
-
type: "spiral",
|
|
15
|
-
options: {
|
|
16
|
-
spiral: {
|
|
17
|
-
innerRadius: 1,
|
|
18
|
-
lineSpacing: 1,
|
|
19
|
-
fill: false,
|
|
20
|
-
close: false,
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
size: {
|
|
25
|
-
value: 20,
|
|
26
|
-
},
|
|
27
|
-
rotate: {
|
|
28
|
-
value: {
|
|
29
|
-
min: 0,
|
|
30
|
-
max: 360,
|
|
31
|
-
},
|
|
32
|
-
direction: "clockwise",
|
|
33
|
-
animation: {
|
|
34
|
-
enable: true,
|
|
35
|
-
speed: 50,
|
|
36
|
-
sync: false,
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
preset: "links",
|
|
41
|
-
background: {
|
|
42
|
-
color: "#000000",
|
|
43
|
-
image: "",
|
|
44
|
-
position: "50% 50%",
|
|
45
|
-
repeat: "no-repeat",
|
|
46
|
-
size: "cover",
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
export default options;
|
package/types/c/customShape.d.ts
DELETED
package/umd/c/customPreset.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
(function (factory) {
|
|
2
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
3
|
-
var v = factory(require, exports);
|
|
4
|
-
if (v !== undefined) module.exports = v;
|
|
5
|
-
}
|
|
6
|
-
else if (typeof define === "function" && define.amd) {
|
|
7
|
-
define(["require", "exports"], factory);
|
|
8
|
-
}
|
|
9
|
-
})(function (require, exports) {
|
|
10
|
-
"use strict";
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const options = {
|
|
13
|
-
name: "Custom Preset",
|
|
14
|
-
preset: "fire",
|
|
15
|
-
};
|
|
16
|
-
exports.default = options;
|
|
17
|
-
});
|
package/umd/c/customShape.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
(function (factory) {
|
|
2
|
-
if (typeof module === "object" && typeof module.exports === "object") {
|
|
3
|
-
var v = factory(require, exports);
|
|
4
|
-
if (v !== undefined) module.exports = v;
|
|
5
|
-
}
|
|
6
|
-
else if (typeof define === "function" && define.amd) {
|
|
7
|
-
define(["require", "exports"], factory);
|
|
8
|
-
}
|
|
9
|
-
})(function (require, exports) {
|
|
10
|
-
"use strict";
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
const options = {
|
|
13
|
-
name: "Custom Shape",
|
|
14
|
-
particles: {
|
|
15
|
-
links: {
|
|
16
|
-
enable: false,
|
|
17
|
-
},
|
|
18
|
-
stroke: {
|
|
19
|
-
color: {
|
|
20
|
-
value: "random",
|
|
21
|
-
},
|
|
22
|
-
width: 1,
|
|
23
|
-
},
|
|
24
|
-
shape: {
|
|
25
|
-
type: "spiral",
|
|
26
|
-
options: {
|
|
27
|
-
spiral: {
|
|
28
|
-
innerRadius: 1,
|
|
29
|
-
lineSpacing: 1,
|
|
30
|
-
fill: false,
|
|
31
|
-
close: false,
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
size: {
|
|
36
|
-
value: 20,
|
|
37
|
-
},
|
|
38
|
-
rotate: {
|
|
39
|
-
value: {
|
|
40
|
-
min: 0,
|
|
41
|
-
max: 360,
|
|
42
|
-
},
|
|
43
|
-
direction: "clockwise",
|
|
44
|
-
animation: {
|
|
45
|
-
enable: true,
|
|
46
|
-
speed: 50,
|
|
47
|
-
sync: false,
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
preset: "links",
|
|
52
|
-
background: {
|
|
53
|
-
color: "#000000",
|
|
54
|
-
image: "",
|
|
55
|
-
position: "50% 50%",
|
|
56
|
-
repeat: "no-repeat",
|
|
57
|
-
size: "cover",
|
|
58
|
-
},
|
|
59
|
-
};
|
|
60
|
-
exports.default = options;
|
|
61
|
-
});
|