tsparticles 2.7.1 → 3.0.0-alpha.0

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.
@@ -4,5 +4,5 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v2.7.1
7
+ * v3.0.0-alpha.0
8
8
  */
package/tsparticles.js CHANGED
@@ -4,82 +4,82 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v2.7.1
7
+ * v3.0.0-alpha.0
8
8
  */
9
9
  (function webpackUniversalModuleDefinition(root, factory) {
10
10
  if(typeof exports === 'object' && typeof module === 'object')
11
- module.exports = factory(require("tsparticles-plugin-absorbers"), require("tsparticles-updater-destroy"), require("tsparticles-plugin-emitters"), require("tsparticles-interaction-external-trail"), require("tsparticles-updater-roll"), require("tsparticles-slim"), require("tsparticles-updater-tilt"), require("tsparticles-updater-twinkle"), require("tsparticles-updater-wobble"));
11
+ module.exports = factory(require("@tsparticles/plugin-absorbers"), require("@tsparticles/updater-destroy"), require("@tsparticles/plugin-emitters"), require("@tsparticles/interaction-external-trail"), require("@tsparticles/updater-roll"), require("@tsparticles/slim"), require("@tsparticles/updater-tilt"), require("@tsparticles/updater-twinkle"), require("@tsparticles/updater-wobble"));
12
12
  else if(typeof define === 'function' && define.amd)
13
- define(["tsparticles-plugin-absorbers", "tsparticles-updater-destroy", "tsparticles-plugin-emitters", "tsparticles-interaction-external-trail", "tsparticles-updater-roll", "tsparticles-slim", "tsparticles-updater-tilt", "tsparticles-updater-twinkle", "tsparticles-updater-wobble"], factory);
13
+ define(["@tsparticles/plugin-absorbers", "@tsparticles/updater-destroy", "@tsparticles/plugin-emitters", "@tsparticles/interaction-external-trail", "@tsparticles/updater-roll", "@tsparticles/slim", "@tsparticles/updater-tilt", "@tsparticles/updater-twinkle", "@tsparticles/updater-wobble"], factory);
14
14
  else {
15
- var a = typeof exports === 'object' ? factory(require("tsparticles-plugin-absorbers"), require("tsparticles-updater-destroy"), require("tsparticles-plugin-emitters"), require("tsparticles-interaction-external-trail"), require("tsparticles-updater-roll"), require("tsparticles-slim"), require("tsparticles-updater-tilt"), require("tsparticles-updater-twinkle"), require("tsparticles-updater-wobble")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
15
+ var a = typeof exports === 'object' ? factory(require("@tsparticles/plugin-absorbers"), require("@tsparticles/updater-destroy"), require("@tsparticles/plugin-emitters"), require("@tsparticles/interaction-external-trail"), require("@tsparticles/updater-roll"), require("@tsparticles/slim"), require("@tsparticles/updater-tilt"), require("@tsparticles/updater-twinkle"), require("@tsparticles/updater-wobble")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"]);
16
16
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
17
17
  }
18
- })(this, (__WEBPACK_EXTERNAL_MODULE__359__, __WEBPACK_EXTERNAL_MODULE__731__, __WEBPACK_EXTERNAL_MODULE__716__, __WEBPACK_EXTERNAL_MODULE__955__, __WEBPACK_EXTERNAL_MODULE__852__, __WEBPACK_EXTERNAL_MODULE__353__, __WEBPACK_EXTERNAL_MODULE__95__, __WEBPACK_EXTERNAL_MODULE__765__, __WEBPACK_EXTERNAL_MODULE__585__) => {
18
+ })(this, (__WEBPACK_EXTERNAL_MODULE__94__, __WEBPACK_EXTERNAL_MODULE__344__, __WEBPACK_EXTERNAL_MODULE__68__, __WEBPACK_EXTERNAL_MODULE__889__, __WEBPACK_EXTERNAL_MODULE__734__, __WEBPACK_EXTERNAL_MODULE__830__, __WEBPACK_EXTERNAL_MODULE__448__, __WEBPACK_EXTERNAL_MODULE__4__, __WEBPACK_EXTERNAL_MODULE__83__) => {
19
19
  return /******/ (() => { // webpackBootstrap
20
20
  /******/ "use strict";
21
21
  /******/ var __webpack_modules__ = ({
22
22
 
23
- /***/ 955:
23
+ /***/ 889:
24
24
  /***/ ((module) => {
25
25
 
26
- module.exports = __WEBPACK_EXTERNAL_MODULE__955__;
26
+ module.exports = __WEBPACK_EXTERNAL_MODULE__889__;
27
27
 
28
28
  /***/ }),
29
29
 
30
- /***/ 359:
30
+ /***/ 94:
31
31
  /***/ ((module) => {
32
32
 
33
- module.exports = __WEBPACK_EXTERNAL_MODULE__359__;
33
+ module.exports = __WEBPACK_EXTERNAL_MODULE__94__;
34
34
 
35
35
  /***/ }),
36
36
 
37
- /***/ 716:
37
+ /***/ 68:
38
38
  /***/ ((module) => {
39
39
 
40
- module.exports = __WEBPACK_EXTERNAL_MODULE__716__;
40
+ module.exports = __WEBPACK_EXTERNAL_MODULE__68__;
41
41
 
42
42
  /***/ }),
43
43
 
44
- /***/ 353:
44
+ /***/ 830:
45
45
  /***/ ((module) => {
46
46
 
47
- module.exports = __WEBPACK_EXTERNAL_MODULE__353__;
47
+ module.exports = __WEBPACK_EXTERNAL_MODULE__830__;
48
48
 
49
49
  /***/ }),
50
50
 
51
- /***/ 731:
51
+ /***/ 344:
52
52
  /***/ ((module) => {
53
53
 
54
- module.exports = __WEBPACK_EXTERNAL_MODULE__731__;
54
+ module.exports = __WEBPACK_EXTERNAL_MODULE__344__;
55
55
 
56
56
  /***/ }),
57
57
 
58
- /***/ 852:
58
+ /***/ 734:
59
59
  /***/ ((module) => {
60
60
 
61
- module.exports = __WEBPACK_EXTERNAL_MODULE__852__;
61
+ module.exports = __WEBPACK_EXTERNAL_MODULE__734__;
62
62
 
63
63
  /***/ }),
64
64
 
65
- /***/ 95:
65
+ /***/ 448:
66
66
  /***/ ((module) => {
67
67
 
68
- module.exports = __WEBPACK_EXTERNAL_MODULE__95__;
68
+ module.exports = __WEBPACK_EXTERNAL_MODULE__448__;
69
69
 
70
70
  /***/ }),
71
71
 
72
- /***/ 765:
72
+ /***/ 4:
73
73
  /***/ ((module) => {
74
74
 
75
- module.exports = __WEBPACK_EXTERNAL_MODULE__765__;
75
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4__;
76
76
 
77
77
  /***/ }),
78
78
 
79
- /***/ 585:
79
+ /***/ 83:
80
80
  /***/ ((module) => {
81
81
 
82
- module.exports = __WEBPACK_EXTERNAL_MODULE__585__;
82
+ module.exports = __WEBPACK_EXTERNAL_MODULE__83__;
83
83
 
84
84
  /***/ })
85
85
 
@@ -158,24 +158,24 @@ __webpack_require__.r(__webpack_exports__);
158
158
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
159
159
  /* harmony export */ "loadFull": () => (/* binding */ loadFull)
160
160
  /* harmony export */ });
161
- /* harmony import */ var tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(359);
162
- /* harmony import */ var tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_0__);
163
- /* harmony import */ var tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(731);
164
- /* harmony import */ var tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1__);
165
- /* harmony import */ var tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(716);
166
- /* harmony import */ var tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__);
167
- /* harmony import */ var tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(955);
168
- /* harmony import */ var tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_3__);
169
- /* harmony import */ var tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(852);
170
- /* harmony import */ var tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4__);
171
- /* harmony import */ var tsparticles_slim__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(353);
172
- /* harmony import */ var tsparticles_slim__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(tsparticles_slim__WEBPACK_IMPORTED_MODULE_5__);
173
- /* harmony import */ var tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(95);
174
- /* harmony import */ var tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_6__);
175
- /* harmony import */ var tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(765);
176
- /* harmony import */ var tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_7__);
177
- /* harmony import */ var tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(585);
178
- /* harmony import */ var tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8__);
161
+ /* harmony import */ var _tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(94);
162
+ /* harmony import */ var _tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_0__);
163
+ /* harmony import */ var _tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(344);
164
+ /* harmony import */ var _tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1__);
165
+ /* harmony import */ var _tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(68);
166
+ /* harmony import */ var _tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__);
167
+ /* harmony import */ var _tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(889);
168
+ /* harmony import */ var _tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_3__);
169
+ /* harmony import */ var _tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(734);
170
+ /* harmony import */ var _tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4__);
171
+ /* harmony import */ var _tsparticles_slim__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(830);
172
+ /* harmony import */ var _tsparticles_slim__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_slim__WEBPACK_IMPORTED_MODULE_5__);
173
+ /* harmony import */ var _tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(448);
174
+ /* harmony import */ var _tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_6__);
175
+ /* harmony import */ var _tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4);
176
+ /* harmony import */ var _tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_7__);
177
+ /* harmony import */ var _tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(83);
178
+ /* harmony import */ var _tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8__);
179
179
 
180
180
 
181
181
 
@@ -186,15 +186,15 @@ __webpack_require__.r(__webpack_exports__);
186
186
 
187
187
 
188
188
  async function loadFull(engine) {
189
- await (0,tsparticles_slim__WEBPACK_IMPORTED_MODULE_5__.loadSlim)(engine);
190
- await (0,tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1__.loadDestroyUpdater)(engine);
191
- await (0,tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4__.loadRollUpdater)(engine);
192
- await (0,tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_6__.loadTiltUpdater)(engine);
193
- await (0,tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_7__.loadTwinkleUpdater)(engine);
194
- await (0,tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8__.loadWobbleUpdater)(engine);
195
- await (0,tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_3__.loadExternalTrailInteraction)(engine);
196
- await (0,tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_0__.loadAbsorbersPlugin)(engine);
197
- await (0,tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__.loadEmittersPlugin)(engine);
189
+ await (0,_tsparticles_slim__WEBPACK_IMPORTED_MODULE_5__.loadSlim)(engine);
190
+ await (0,_tsparticles_updater_destroy__WEBPACK_IMPORTED_MODULE_1__.loadDestroyUpdater)(engine);
191
+ await (0,_tsparticles_updater_roll__WEBPACK_IMPORTED_MODULE_4__.loadRollUpdater)(engine);
192
+ await (0,_tsparticles_updater_tilt__WEBPACK_IMPORTED_MODULE_6__.loadTiltUpdater)(engine);
193
+ await (0,_tsparticles_updater_twinkle__WEBPACK_IMPORTED_MODULE_7__.loadTwinkleUpdater)(engine);
194
+ await (0,_tsparticles_updater_wobble__WEBPACK_IMPORTED_MODULE_8__.loadWobbleUpdater)(engine);
195
+ await (0,_tsparticles_interaction_external_trail__WEBPACK_IMPORTED_MODULE_3__.loadExternalTrailInteraction)(engine);
196
+ await (0,_tsparticles_plugin_absorbers__WEBPACK_IMPORTED_MODULE_0__.loadAbsorbersPlugin)(engine);
197
+ await (0,_tsparticles_plugin_emitters__WEBPACK_IMPORTED_MODULE_2__.loadEmittersPlugin)(engine);
198
198
  }
199
199
  })();
200
200
 
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see tsparticles.min.js.LICENSE.txt */
2
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("tsparticles-plugin-absorbers"),require("tsparticles-updater-destroy"),require("tsparticles-plugin-emitters"),require("tsparticles-interaction-external-trail"),require("tsparticles-updater-roll"),require("tsparticles-slim"),require("tsparticles-updater-tilt"),require("tsparticles-updater-twinkle"),require("tsparticles-updater-wobble"));else if("function"==typeof define&&define.amd)define(["tsparticles-plugin-absorbers","tsparticles-updater-destroy","tsparticles-plugin-emitters","tsparticles-interaction-external-trail","tsparticles-updater-roll","tsparticles-slim","tsparticles-updater-tilt","tsparticles-updater-twinkle","tsparticles-updater-wobble"],t);else{var r="object"==typeof exports?t(require("tsparticles-plugin-absorbers"),require("tsparticles-updater-destroy"),require("tsparticles-plugin-emitters"),require("tsparticles-interaction-external-trail"),require("tsparticles-updater-roll"),require("tsparticles-slim"),require("tsparticles-updater-tilt"),require("tsparticles-updater-twinkle"),require("tsparticles-updater-wobble")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(this,((e,t,r,i,a,s,l,o,p)=>(()=>{"use strict";var d={955:e=>{e.exports=i},359:t=>{t.exports=e},716:e=>{e.exports=r},353:e=>{e.exports=s},731:e=>{e.exports=t},852:e=>{e.exports=a},95:e=>{e.exports=l},765:e=>{e.exports=o},585:e=>{e.exports=p}},n={};function u(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return d[e](r,r.exports,u),r.exports}u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var r in t)u.o(t,r)&&!u.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{u.r(c),u.d(c,{loadFull:()=>d});var e=u(359),t=u(731),r=u(716),i=u(955),a=u(852),s=u(353),l=u(95),o=u(765),p=u(585);async function d(d){await(0,s.loadSlim)(d),await(0,t.loadDestroyUpdater)(d),await(0,a.loadRollUpdater)(d),await(0,l.loadTiltUpdater)(d),await(0,o.loadTwinkleUpdater)(d),await(0,p.loadWobbleUpdater)(d),await(0,i.loadExternalTrailInteraction)(d),await(0,e.loadAbsorbersPlugin)(d),await(0,r.loadEmittersPlugin)(d)}})(),c})()));
2
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/plugin-absorbers"),require("@tsparticles/updater-destroy"),require("@tsparticles/plugin-emitters"),require("@tsparticles/interaction-external-trail"),require("@tsparticles/updater-roll"),require("@tsparticles/slim"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-twinkle"),require("@tsparticles/updater-wobble"));else if("function"==typeof define&&define.amd)define(["@tsparticles/plugin-absorbers","@tsparticles/updater-destroy","@tsparticles/plugin-emitters","@tsparticles/interaction-external-trail","@tsparticles/updater-roll","@tsparticles/slim","@tsparticles/updater-tilt","@tsparticles/updater-twinkle","@tsparticles/updater-wobble"],t);else{var r="object"==typeof exports?t(require("@tsparticles/plugin-absorbers"),require("@tsparticles/updater-destroy"),require("@tsparticles/plugin-emitters"),require("@tsparticles/interaction-external-trail"),require("@tsparticles/updater-roll"),require("@tsparticles/slim"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-twinkle"),require("@tsparticles/updater-wobble")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(this,((e,t,r,i,a,s,l,o,p)=>(()=>{"use strict";var d={889:e=>{e.exports=i},94:t=>{t.exports=e},68:e=>{e.exports=r},830:e=>{e.exports=s},344:e=>{e.exports=t},734:e=>{e.exports=a},448:e=>{e.exports=l},4:e=>{e.exports=o},83:e=>{e.exports=p}},n={};function u(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return d[e](r,r.exports,u),r.exports}u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var r in t)u.o(t,r)&&!u.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{u.r(c),u.d(c,{loadFull:()=>d});var e=u(94),t=u(344),r=u(68),i=u(889),a=u(734),s=u(830),l=u(448),o=u(4),p=u(83);async function d(d){await(0,s.loadSlim)(d),await(0,t.loadDestroyUpdater)(d),await(0,a.loadRollUpdater)(d),await(0,l.loadTiltUpdater)(d),await(0,o.loadTwinkleUpdater)(d),await(0,p.loadWobbleUpdater)(d),await(0,i.loadExternalTrailInteraction)(d),await(0,e.loadAbsorbersPlugin)(d),await(0,r.loadEmittersPlugin)(d)}})(),c})()));
@@ -4,5 +4,5 @@
4
4
  * Demo / Generator : https://particles.js.org/
5
5
  * GitHub : https://www.github.com/matteobruni/tsparticles
6
6
  * How to use? : Check the GitHub README
7
- * v2.7.1
7
+ * v3.0.0-alpha.0
8
8
  */
package/types/bundle.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { loadFull } from ".";
2
2
  export { loadFull };
3
- export * from "tsparticles-slim";
4
- export * from "tsparticles-engine";
3
+ export * from "@tsparticles/slim";
4
+ export * from "@tsparticles/engine";
package/types/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import type { Engine } from "tsparticles-engine";
1
+ import type { Engine } from "@tsparticles/engine";
2
2
  export declare function loadFull(engine: Engine): Promise<void>;
package/umd/bundle.js CHANGED
@@ -18,7 +18,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
18
  if (v !== undefined) module.exports = v;
19
19
  }
20
20
  else if (typeof define === "function" && define.amd) {
21
- define(["require", "exports", ".", "tsparticles-engine", "tsparticles-slim", "tsparticles-engine"], factory);
21
+ define(["require", "exports", ".", "@tsparticles/engine", "@tsparticles/slim", "@tsparticles/engine"], factory);
22
22
  }
23
23
  })(function (require, exports) {
24
24
  "use strict";
@@ -26,8 +26,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  exports.loadFull = void 0;
27
27
  const _1 = require(".");
28
28
  Object.defineProperty(exports, "loadFull", { enumerable: true, get: function () { return _1.loadFull; } });
29
- const tsparticles_engine_1 = require("tsparticles-engine");
30
- (0, _1.loadFull)(tsparticles_engine_1.tsParticles);
31
- __exportStar(require("tsparticles-slim"), exports);
32
- __exportStar(require("tsparticles-engine"), exports);
29
+ const engine_1 = require("@tsparticles/engine");
30
+ (0, _1.loadFull)(engine_1.tsParticles);
31
+ __exportStar(require("@tsparticles/slim"), exports);
32
+ __exportStar(require("@tsparticles/engine"), exports);
33
33
  });
package/umd/index.js CHANGED
@@ -4,31 +4,31 @@
4
4
  if (v !== undefined) module.exports = v;
5
5
  }
6
6
  else if (typeof define === "function" && define.amd) {
7
- define(["require", "exports", "tsparticles-plugin-absorbers", "tsparticles-updater-destroy", "tsparticles-plugin-emitters", "tsparticles-interaction-external-trail", "tsparticles-updater-roll", "tsparticles-slim", "tsparticles-updater-tilt", "tsparticles-updater-twinkle", "tsparticles-updater-wobble"], factory);
7
+ define(["require", "exports", "@tsparticles/plugin-absorbers", "@tsparticles/updater-destroy", "@tsparticles/plugin-emitters", "@tsparticles/interaction-external-trail", "@tsparticles/updater-roll", "@tsparticles/slim", "@tsparticles/updater-tilt", "@tsparticles/updater-twinkle", "@tsparticles/updater-wobble"], factory);
8
8
  }
9
9
  })(function (require, exports) {
10
10
  "use strict";
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.loadFull = void 0;
13
- const tsparticles_plugin_absorbers_1 = require("tsparticles-plugin-absorbers");
14
- const tsparticles_updater_destroy_1 = require("tsparticles-updater-destroy");
15
- const tsparticles_plugin_emitters_1 = require("tsparticles-plugin-emitters");
16
- const tsparticles_interaction_external_trail_1 = require("tsparticles-interaction-external-trail");
17
- const tsparticles_updater_roll_1 = require("tsparticles-updater-roll");
18
- const tsparticles_slim_1 = require("tsparticles-slim");
19
- const tsparticles_updater_tilt_1 = require("tsparticles-updater-tilt");
20
- const tsparticles_updater_twinkle_1 = require("tsparticles-updater-twinkle");
21
- const tsparticles_updater_wobble_1 = require("tsparticles-updater-wobble");
13
+ const plugin_absorbers_1 = require("@tsparticles/plugin-absorbers");
14
+ const updater_destroy_1 = require("@tsparticles/updater-destroy");
15
+ const plugin_emitters_1 = require("@tsparticles/plugin-emitters");
16
+ const interaction_external_trail_1 = require("@tsparticles/interaction-external-trail");
17
+ const updater_roll_1 = require("@tsparticles/updater-roll");
18
+ const slim_1 = require("@tsparticles/slim");
19
+ const updater_tilt_1 = require("@tsparticles/updater-tilt");
20
+ const updater_twinkle_1 = require("@tsparticles/updater-twinkle");
21
+ const updater_wobble_1 = require("@tsparticles/updater-wobble");
22
22
  async function loadFull(engine) {
23
- await (0, tsparticles_slim_1.loadSlim)(engine);
24
- await (0, tsparticles_updater_destroy_1.loadDestroyUpdater)(engine);
25
- await (0, tsparticles_updater_roll_1.loadRollUpdater)(engine);
26
- await (0, tsparticles_updater_tilt_1.loadTiltUpdater)(engine);
27
- await (0, tsparticles_updater_twinkle_1.loadTwinkleUpdater)(engine);
28
- await (0, tsparticles_updater_wobble_1.loadWobbleUpdater)(engine);
29
- await (0, tsparticles_interaction_external_trail_1.loadExternalTrailInteraction)(engine);
30
- await (0, tsparticles_plugin_absorbers_1.loadAbsorbersPlugin)(engine);
31
- await (0, tsparticles_plugin_emitters_1.loadEmittersPlugin)(engine);
23
+ await (0, slim_1.loadSlim)(engine);
24
+ await (0, updater_destroy_1.loadDestroyUpdater)(engine);
25
+ await (0, updater_roll_1.loadRollUpdater)(engine);
26
+ await (0, updater_tilt_1.loadTiltUpdater)(engine);
27
+ await (0, updater_twinkle_1.loadTwinkleUpdater)(engine);
28
+ await (0, updater_wobble_1.loadWobbleUpdater)(engine);
29
+ await (0, interaction_external_trail_1.loadExternalTrailInteraction)(engine);
30
+ await (0, plugin_absorbers_1.loadAbsorbersPlugin)(engine);
31
+ await (0, plugin_emitters_1.loadEmittersPlugin)(engine);
32
32
  }
33
33
  exports.loadFull = loadFull;
34
34
  });