@tsparticles/slim 3.0.0-beta.4 → 3.0.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.
- package/README.md +1 -1
- package/browser/index.js +2 -4
- package/cjs/index.js +2 -4
- package/esm/index.js +2 -4
- package/package.json +33 -34
- package/report.html +3 -3
- package/tsparticles.slim.bundle.js +155 -279
- package/tsparticles.slim.bundle.min.js +1 -1
- package/tsparticles.slim.bundle.min.js.LICENSE.txt +1 -1
- package/tsparticles.slim.js +18 -29
- package/tsparticles.slim.min.js +1 -1
- package/tsparticles.slim.min.js.LICENSE.txt +1 -1
- package/umd/index.js +3 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles Slim v3.0.0
|
|
1
|
+
/*! tsParticles Slim v3.0.0 by Matteo Bruni */
|
package/tsparticles.slim.js
CHANGED
|
@@ -4,18 +4,18 @@
|
|
|
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
|
-
* v3.0.0
|
|
7
|
+
* v3.0.0
|
|
8
8
|
*/
|
|
9
9
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
10
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
11
|
-
module.exports = factory(require("@tsparticles/
|
|
11
|
+
module.exports = factory(require("@tsparticles/basic"), require("@tsparticles/plugin-easing-quad"), require("@tsparticles/shape-emoji"), require("@tsparticles/interaction-external-attract"), require("@tsparticles/interaction-external-bounce"), require("@tsparticles/interaction-external-bubble"), require("@tsparticles/interaction-external-connect"), require("@tsparticles/interaction-external-grab"), require("@tsparticles/interaction-external-pause"), require("@tsparticles/interaction-external-push"), require("@tsparticles/interaction-external-remove"), require("@tsparticles/interaction-external-repulse"), require("@tsparticles/interaction-external-slow"), require("@tsparticles/shape-image"), require("@tsparticles/updater-life"), require("@tsparticles/shape-line"), require("@tsparticles/move-parallax"), require("@tsparticles/interaction-particles-attract"), require("@tsparticles/interaction-particles-collisions"), require("@tsparticles/interaction-particles-links"), require("@tsparticles/shape-polygon"), require("@tsparticles/updater-rotate"), require("@tsparticles/shape-square"), require("@tsparticles/shape-star"), require("@tsparticles/updater-stroke-color"));
|
|
12
12
|
else if(typeof define === 'function' && define.amd)
|
|
13
|
-
define(["@tsparticles/
|
|
13
|
+
define(["@tsparticles/basic", "@tsparticles/plugin-easing-quad", "@tsparticles/shape-emoji", "@tsparticles/interaction-external-attract", "@tsparticles/interaction-external-bounce", "@tsparticles/interaction-external-bubble", "@tsparticles/interaction-external-connect", "@tsparticles/interaction-external-grab", "@tsparticles/interaction-external-pause", "@tsparticles/interaction-external-push", "@tsparticles/interaction-external-remove", "@tsparticles/interaction-external-repulse", "@tsparticles/interaction-external-slow", "@tsparticles/shape-image", "@tsparticles/updater-life", "@tsparticles/shape-line", "@tsparticles/move-parallax", "@tsparticles/interaction-particles-attract", "@tsparticles/interaction-particles-collisions", "@tsparticles/interaction-particles-links", "@tsparticles/shape-polygon", "@tsparticles/updater-rotate", "@tsparticles/shape-square", "@tsparticles/shape-star", "@tsparticles/updater-stroke-color"], factory);
|
|
14
14
|
else {
|
|
15
|
-
var a = typeof exports === 'object' ? factory(require("@tsparticles/
|
|
15
|
+
var a = typeof exports === 'object' ? factory(require("@tsparticles/basic"), require("@tsparticles/plugin-easing-quad"), require("@tsparticles/shape-emoji"), require("@tsparticles/interaction-external-attract"), require("@tsparticles/interaction-external-bounce"), require("@tsparticles/interaction-external-bubble"), require("@tsparticles/interaction-external-connect"), require("@tsparticles/interaction-external-grab"), require("@tsparticles/interaction-external-pause"), require("@tsparticles/interaction-external-push"), require("@tsparticles/interaction-external-remove"), require("@tsparticles/interaction-external-repulse"), require("@tsparticles/interaction-external-slow"), require("@tsparticles/shape-image"), require("@tsparticles/updater-life"), require("@tsparticles/shape-line"), require("@tsparticles/move-parallax"), require("@tsparticles/interaction-particles-attract"), require("@tsparticles/interaction-particles-collisions"), require("@tsparticles/interaction-particles-links"), require("@tsparticles/shape-polygon"), require("@tsparticles/updater-rotate"), require("@tsparticles/shape-square"), require("@tsparticles/shape-star"), require("@tsparticles/updater-stroke-color")) : factory(root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], root["window"], 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, (
|
|
18
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE__574__, __WEBPACK_EXTERNAL_MODULE__194__, __WEBPACK_EXTERNAL_MODULE__151__, __WEBPACK_EXTERNAL_MODULE__517__, __WEBPACK_EXTERNAL_MODULE__201__, __WEBPACK_EXTERNAL_MODULE__721__, __WEBPACK_EXTERNAL_MODULE__971__, __WEBPACK_EXTERNAL_MODULE__625__, __WEBPACK_EXTERNAL_MODULE__591__, __WEBPACK_EXTERNAL_MODULE__381__, __WEBPACK_EXTERNAL_MODULE__440__, __WEBPACK_EXTERNAL_MODULE__186__, __WEBPACK_EXTERNAL_MODULE__165__, __WEBPACK_EXTERNAL_MODULE__885__, __WEBPACK_EXTERNAL_MODULE__84__, __WEBPACK_EXTERNAL_MODULE__137__, __WEBPACK_EXTERNAL_MODULE__575__, __WEBPACK_EXTERNAL_MODULE__266__, __WEBPACK_EXTERNAL_MODULE__611__, __WEBPACK_EXTERNAL_MODULE__164__, __WEBPACK_EXTERNAL_MODULE__907__, __WEBPACK_EXTERNAL_MODULE__59__, __WEBPACK_EXTERNAL_MODULE__652__, __WEBPACK_EXTERNAL_MODULE__960__, __WEBPACK_EXTERNAL_MODULE__204__) => {
|
|
19
19
|
return /******/ (() => { // webpackBootstrap
|
|
20
20
|
/******/ "use strict";
|
|
21
21
|
/******/ var __webpack_modules__ = ({
|
|
@@ -125,17 +125,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__575__;
|
|
|
125
125
|
|
|
126
126
|
/***/ }),
|
|
127
127
|
|
|
128
|
-
/***/
|
|
128
|
+
/***/ 194:
|
|
129
129
|
/***/ ((module) => {
|
|
130
130
|
|
|
131
|
-
module.exports =
|
|
131
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__194__;
|
|
132
132
|
|
|
133
133
|
/***/ }),
|
|
134
134
|
|
|
135
|
-
/***/
|
|
135
|
+
/***/ 151:
|
|
136
136
|
/***/ ((module) => {
|
|
137
137
|
|
|
138
|
-
module.exports =
|
|
138
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__151__;
|
|
139
139
|
|
|
140
140
|
/***/ }),
|
|
141
141
|
|
|
@@ -174,13 +174,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__960__;
|
|
|
174
174
|
|
|
175
175
|
/***/ }),
|
|
176
176
|
|
|
177
|
-
/***/ 727:
|
|
178
|
-
/***/ ((module) => {
|
|
179
|
-
|
|
180
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__727__;
|
|
181
|
-
|
|
182
|
-
/***/ }),
|
|
183
|
-
|
|
184
177
|
/***/ 84:
|
|
185
178
|
/***/ ((module) => {
|
|
186
179
|
|
|
@@ -277,12 +270,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
277
270
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
278
271
|
/* harmony export */ loadSlim: () => (/* binding */ loadSlim)
|
|
279
272
|
/* harmony export */ });
|
|
280
|
-
/* harmony import */ var
|
|
281
|
-
/* harmony import */ var
|
|
282
|
-
/* harmony import */ var
|
|
283
|
-
/* harmony import */ var
|
|
284
|
-
/* harmony import */ var
|
|
285
|
-
/* harmony import */ var
|
|
273
|
+
/* harmony import */ var _tsparticles_basic__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(574);
|
|
274
|
+
/* harmony import */ var _tsparticles_basic__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_basic__WEBPACK_IMPORTED_MODULE_0__);
|
|
275
|
+
/* harmony import */ var _tsparticles_plugin_easing_quad__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(194);
|
|
276
|
+
/* harmony import */ var _tsparticles_plugin_easing_quad__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_plugin_easing_quad__WEBPACK_IMPORTED_MODULE_1__);
|
|
277
|
+
/* harmony import */ var _tsparticles_shape_emoji__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(151);
|
|
278
|
+
/* harmony import */ var _tsparticles_shape_emoji__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_emoji__WEBPACK_IMPORTED_MODULE_2__);
|
|
286
279
|
/* harmony import */ var _tsparticles_interaction_external_attract__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(517);
|
|
287
280
|
/* harmony import */ var _tsparticles_interaction_external_attract__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_interaction_external_attract__WEBPACK_IMPORTED_MODULE_3__);
|
|
288
281
|
/* harmony import */ var _tsparticles_interaction_external_bounce__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(201);
|
|
@@ -327,9 +320,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
327
320
|
/* harmony import */ var _tsparticles_shape_star__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_star__WEBPACK_IMPORTED_MODULE_23__);
|
|
328
321
|
/* harmony import */ var _tsparticles_updater_stroke_color__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(204);
|
|
329
322
|
/* harmony import */ var _tsparticles_updater_stroke_color__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_updater_stroke_color__WEBPACK_IMPORTED_MODULE_24__);
|
|
330
|
-
/* harmony import */ var _tsparticles_shape_text__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(727);
|
|
331
|
-
/* harmony import */ var _tsparticles_shape_text__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(_tsparticles_shape_text__WEBPACK_IMPORTED_MODULE_25__);
|
|
332
|
-
|
|
333
323
|
|
|
334
324
|
|
|
335
325
|
|
|
@@ -356,7 +346,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
356
346
|
|
|
357
347
|
|
|
358
348
|
async function loadSlim(engine, refresh = true) {
|
|
359
|
-
(0,_tsparticles_pjs__WEBPACK_IMPORTED_MODULE_0__.initPjs)(engine);
|
|
360
349
|
await (0,_tsparticles_move_parallax__WEBPACK_IMPORTED_MODULE_16__.loadParallaxMover)(engine, false);
|
|
361
350
|
await (0,_tsparticles_interaction_external_attract__WEBPACK_IMPORTED_MODULE_3__.loadExternalAttractInteraction)(engine, false);
|
|
362
351
|
await (0,_tsparticles_interaction_external_bounce__WEBPACK_IMPORTED_MODULE_4__.loadExternalBounceInteraction)(engine, false);
|
|
@@ -371,17 +360,17 @@ async function loadSlim(engine, refresh = true) {
|
|
|
371
360
|
await (0,_tsparticles_interaction_particles_attract__WEBPACK_IMPORTED_MODULE_17__.loadParticlesAttractInteraction)(engine, false);
|
|
372
361
|
await (0,_tsparticles_interaction_particles_collisions__WEBPACK_IMPORTED_MODULE_18__.loadParticlesCollisionsInteraction)(engine, false);
|
|
373
362
|
await (0,_tsparticles_interaction_particles_links__WEBPACK_IMPORTED_MODULE_19__.loadParticlesLinksInteraction)(engine, false);
|
|
374
|
-
await (0,
|
|
363
|
+
await (0,_tsparticles_plugin_easing_quad__WEBPACK_IMPORTED_MODULE_1__.loadEasingQuadPlugin)();
|
|
364
|
+
await (0,_tsparticles_shape_emoji__WEBPACK_IMPORTED_MODULE_2__.loadEmojiShape)(engine, false);
|
|
375
365
|
await (0,_tsparticles_shape_image__WEBPACK_IMPORTED_MODULE_13__.loadImageShape)(engine, false);
|
|
376
366
|
await (0,_tsparticles_shape_line__WEBPACK_IMPORTED_MODULE_15__.loadLineShape)(engine, false);
|
|
377
367
|
await (0,_tsparticles_shape_polygon__WEBPACK_IMPORTED_MODULE_20__.loadPolygonShape)(engine, false);
|
|
378
368
|
await (0,_tsparticles_shape_square__WEBPACK_IMPORTED_MODULE_22__.loadSquareShape)(engine, false);
|
|
379
369
|
await (0,_tsparticles_shape_star__WEBPACK_IMPORTED_MODULE_23__.loadStarShape)(engine, false);
|
|
380
|
-
await (0,_tsparticles_shape_text__WEBPACK_IMPORTED_MODULE_25__.loadTextShape)(engine, false);
|
|
381
370
|
await (0,_tsparticles_updater_life__WEBPACK_IMPORTED_MODULE_14__.loadLifeUpdater)(engine, false);
|
|
382
371
|
await (0,_tsparticles_updater_rotate__WEBPACK_IMPORTED_MODULE_21__.loadRotateUpdater)(engine, false);
|
|
383
372
|
await (0,_tsparticles_updater_stroke_color__WEBPACK_IMPORTED_MODULE_24__.loadStrokeColorUpdater)(engine, false);
|
|
384
|
-
await (0,
|
|
373
|
+
await (0,_tsparticles_basic__WEBPACK_IMPORTED_MODULE_0__.loadBasic)(engine, refresh);
|
|
385
374
|
}
|
|
386
375
|
})();
|
|
387
376
|
|
package/tsparticles.slim.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see tsparticles.slim.min.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/
|
|
2
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@tsparticles/basic"),require("@tsparticles/plugin-easing-quad"),require("@tsparticles/shape-emoji"),require("@tsparticles/interaction-external-attract"),require("@tsparticles/interaction-external-bounce"),require("@tsparticles/interaction-external-bubble"),require("@tsparticles/interaction-external-connect"),require("@tsparticles/interaction-external-grab"),require("@tsparticles/interaction-external-pause"),require("@tsparticles/interaction-external-push"),require("@tsparticles/interaction-external-remove"),require("@tsparticles/interaction-external-repulse"),require("@tsparticles/interaction-external-slow"),require("@tsparticles/shape-image"),require("@tsparticles/updater-life"),require("@tsparticles/shape-line"),require("@tsparticles/move-parallax"),require("@tsparticles/interaction-particles-attract"),require("@tsparticles/interaction-particles-collisions"),require("@tsparticles/interaction-particles-links"),require("@tsparticles/shape-polygon"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-square"),require("@tsparticles/shape-star"),require("@tsparticles/updater-stroke-color"));else if("function"==typeof define&&define.amd)define(["@tsparticles/basic","@tsparticles/plugin-easing-quad","@tsparticles/shape-emoji","@tsparticles/interaction-external-attract","@tsparticles/interaction-external-bounce","@tsparticles/interaction-external-bubble","@tsparticles/interaction-external-connect","@tsparticles/interaction-external-grab","@tsparticles/interaction-external-pause","@tsparticles/interaction-external-push","@tsparticles/interaction-external-remove","@tsparticles/interaction-external-repulse","@tsparticles/interaction-external-slow","@tsparticles/shape-image","@tsparticles/updater-life","@tsparticles/shape-line","@tsparticles/move-parallax","@tsparticles/interaction-particles-attract","@tsparticles/interaction-particles-collisions","@tsparticles/interaction-particles-links","@tsparticles/shape-polygon","@tsparticles/updater-rotate","@tsparticles/shape-square","@tsparticles/shape-star","@tsparticles/updater-stroke-color"],t);else{var r="object"==typeof exports?t(require("@tsparticles/basic"),require("@tsparticles/plugin-easing-quad"),require("@tsparticles/shape-emoji"),require("@tsparticles/interaction-external-attract"),require("@tsparticles/interaction-external-bounce"),require("@tsparticles/interaction-external-bubble"),require("@tsparticles/interaction-external-connect"),require("@tsparticles/interaction-external-grab"),require("@tsparticles/interaction-external-pause"),require("@tsparticles/interaction-external-push"),require("@tsparticles/interaction-external-remove"),require("@tsparticles/interaction-external-repulse"),require("@tsparticles/interaction-external-slow"),require("@tsparticles/shape-image"),require("@tsparticles/updater-life"),require("@tsparticles/shape-line"),require("@tsparticles/move-parallax"),require("@tsparticles/interaction-particles-attract"),require("@tsparticles/interaction-particles-collisions"),require("@tsparticles/interaction-particles-links"),require("@tsparticles/shape-polygon"),require("@tsparticles/updater-rotate"),require("@tsparticles/shape-square"),require("@tsparticles/shape-star"),require("@tsparticles/updater-stroke-color")):t(e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window,e.window);for(var a in r)("object"==typeof exports?exports:e)[a]=r[a]}}(this,((e,t,r,a,i,s,n,o,l,p,c,u,d,w,x,q,b,h,f,g,m,v,y,S,I)=>(()=>{"use strict";var j={574:t=>{t.exports=e},517:e=>{e.exports=a},201:e=>{e.exports=i},721:e=>{e.exports=s},971:e=>{e.exports=n},625:e=>{e.exports=o},591:e=>{e.exports=l},381:e=>{e.exports=p},440:e=>{e.exports=c},186:e=>{e.exports=u},165:e=>{e.exports=d},266:e=>{e.exports=h},611:e=>{e.exports=f},164:e=>{e.exports=g},575:e=>{e.exports=b},194:e=>{e.exports=t},151:e=>{e.exports=r},885:e=>{e.exports=w},137:e=>{e.exports=q},907:e=>{e.exports=m},652:e=>{e.exports=y},960:e=>{e.exports=S},84:e=>{e.exports=x},59:e=>{e.exports=v},204:e=>{e.exports=I}},E={};function P(e){var t=E[e];if(void 0!==t)return t.exports;var r=E[e]={exports:{}};return j[e](r,r.exports,P),r.exports}P.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return P.d(t,{a:t}),t},P.d=(e,t)=>{for(var r in t)P.o(t,r)&&!P.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},P.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),P.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var k={};return(()=>{P.r(k),P.d(k,{loadSlim:()=>j});var e=P(574),t=P(194),r=P(151),a=P(517),i=P(201),s=P(721),n=P(971),o=P(625),l=P(591),p=P(381),c=P(440),u=P(186),d=P(165),w=P(885),x=P(84),q=P(137),b=P(575),h=P(266),f=P(611),g=P(164),m=P(907),v=P(59),y=P(652),S=P(960),I=P(204);async function j(j,E=!0){await(0,b.loadParallaxMover)(j,!1),await(0,a.loadExternalAttractInteraction)(j,!1),await(0,i.loadExternalBounceInteraction)(j,!1),await(0,s.loadExternalBubbleInteraction)(j,!1),await(0,n.loadExternalConnectInteraction)(j,!1),await(0,o.loadExternalGrabInteraction)(j,!1),await(0,l.loadExternalPauseInteraction)(j,!1),await(0,p.loadExternalPushInteraction)(j,!1),await(0,c.loadExternalRemoveInteraction)(j,!1),await(0,u.loadExternalRepulseInteraction)(j,!1),await(0,d.loadExternalSlowInteraction)(j,!1),await(0,h.loadParticlesAttractInteraction)(j,!1),await(0,f.loadParticlesCollisionsInteraction)(j,!1),await(0,g.loadParticlesLinksInteraction)(j,!1),await(0,t.loadEasingQuadPlugin)(),await(0,r.loadEmojiShape)(j,!1),await(0,w.loadImageShape)(j,!1),await(0,q.loadLineShape)(j,!1),await(0,m.loadPolygonShape)(j,!1),await(0,y.loadSquareShape)(j,!1),await(0,S.loadStarShape)(j,!1),await(0,x.loadLifeUpdater)(j,!1),await(0,v.loadRotateUpdater)(j,!1),await(0,I.loadStrokeColorUpdater)(j,!1),await(0,e.loadBasic)(j,E)}})(),k})()));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tsParticles Slim v3.0.0
|
|
1
|
+
/*! tsParticles Slim v3.0.0 by Matteo Bruni */
|
package/umd/index.js
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
if (v !== undefined) module.exports = v;
|
|
5
5
|
}
|
|
6
6
|
else if (typeof define === "function" && define.amd) {
|
|
7
|
-
define(["require", "exports", "@tsparticles/
|
|
7
|
+
define(["require", "exports", "@tsparticles/basic", "@tsparticles/plugin-easing-quad", "@tsparticles/shape-emoji", "@tsparticles/interaction-external-attract", "@tsparticles/interaction-external-bounce", "@tsparticles/interaction-external-bubble", "@tsparticles/interaction-external-connect", "@tsparticles/interaction-external-grab", "@tsparticles/interaction-external-pause", "@tsparticles/interaction-external-push", "@tsparticles/interaction-external-remove", "@tsparticles/interaction-external-repulse", "@tsparticles/interaction-external-slow", "@tsparticles/shape-image", "@tsparticles/updater-life", "@tsparticles/shape-line", "@tsparticles/move-parallax", "@tsparticles/interaction-particles-attract", "@tsparticles/interaction-particles-collisions", "@tsparticles/interaction-particles-links", "@tsparticles/shape-polygon", "@tsparticles/updater-rotate", "@tsparticles/shape-square", "@tsparticles/shape-star", "@tsparticles/updater-stroke-color"], factory);
|
|
8
8
|
}
|
|
9
9
|
})(function (require, exports) {
|
|
10
10
|
"use strict";
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.loadSlim = void 0;
|
|
13
|
-
const pjs_1 = require("@tsparticles/pjs");
|
|
14
13
|
const basic_1 = require("@tsparticles/basic");
|
|
15
14
|
const plugin_easing_quad_1 = require("@tsparticles/plugin-easing-quad");
|
|
15
|
+
const shape_emoji_1 = require("@tsparticles/shape-emoji");
|
|
16
16
|
const interaction_external_attract_1 = require("@tsparticles/interaction-external-attract");
|
|
17
17
|
const interaction_external_bounce_1 = require("@tsparticles/interaction-external-bounce");
|
|
18
18
|
const interaction_external_bubble_1 = require("@tsparticles/interaction-external-bubble");
|
|
@@ -35,9 +35,7 @@
|
|
|
35
35
|
const shape_square_1 = require("@tsparticles/shape-square");
|
|
36
36
|
const shape_star_1 = require("@tsparticles/shape-star");
|
|
37
37
|
const updater_stroke_color_1 = require("@tsparticles/updater-stroke-color");
|
|
38
|
-
const shape_text_1 = require("@tsparticles/shape-text");
|
|
39
38
|
async function loadSlim(engine, refresh = true) {
|
|
40
|
-
(0, pjs_1.initPjs)(engine);
|
|
41
39
|
await (0, move_parallax_1.loadParallaxMover)(engine, false);
|
|
42
40
|
await (0, interaction_external_attract_1.loadExternalAttractInteraction)(engine, false);
|
|
43
41
|
await (0, interaction_external_bounce_1.loadExternalBounceInteraction)(engine, false);
|
|
@@ -53,12 +51,12 @@
|
|
|
53
51
|
await (0, interaction_particles_collisions_1.loadParticlesCollisionsInteraction)(engine, false);
|
|
54
52
|
await (0, interaction_particles_links_1.loadParticlesLinksInteraction)(engine, false);
|
|
55
53
|
await (0, plugin_easing_quad_1.loadEasingQuadPlugin)();
|
|
54
|
+
await (0, shape_emoji_1.loadEmojiShape)(engine, false);
|
|
56
55
|
await (0, shape_image_1.loadImageShape)(engine, false);
|
|
57
56
|
await (0, shape_line_1.loadLineShape)(engine, false);
|
|
58
57
|
await (0, shape_polygon_1.loadPolygonShape)(engine, false);
|
|
59
58
|
await (0, shape_square_1.loadSquareShape)(engine, false);
|
|
60
59
|
await (0, shape_star_1.loadStarShape)(engine, false);
|
|
61
|
-
await (0, shape_text_1.loadTextShape)(engine, false);
|
|
62
60
|
await (0, updater_life_1.loadLifeUpdater)(engine, false);
|
|
63
61
|
await (0, updater_rotate_1.loadRotateUpdater)(engine, false);
|
|
64
62
|
await (0, updater_stroke_color_1.loadStrokeColorUpdater)(engine, false);
|