UNPKG

7.71 kBJavaScriptView Raw
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", "tsparticles-shape-arrow", "tsparticles-shape-bubble", "tsparticles-plugin-canvas-mask", "tsparticles-shape-cards", "tsparticles-shape-cog", "tsparticles-path-curves", "tsparticles-plugin-easing-back", "tsparticles-plugin-easing-circ", "tsparticles-plugin-easing-cubic", "tsparticles-plugin-easing-expo", "tsparticles-plugin-easing-quart", "tsparticles-plugin-easing-quint", "tsparticles-plugin-easing-sine", "tsparticles-plugin-export-image", "tsparticles-plugin-export-json", "tsparticles-plugin-export-video", "tsparticles", "tsparticles-updater-gradient", "tsparticles-shape-heart", "tsparticles-plugin-hsv-color", "tsparticles-plugin-infection", "tsparticles-interaction-light", "tsparticles-plugin-motion", "tsparticles-shape-multiline-text", "tsparticles-updater-orbit", "tsparticles-interaction-particles-repulse", "tsparticles-shape-path", "tsparticles-path-perlin-noise", "tsparticles-plugin-polygon-mask", "tsparticles-path-polygon", "tsparticles-shape-rounded-polygon", "tsparticles-shape-rounded-rect", "tsparticles-path-svg", "tsparticles-path-simplex-noise", "tsparticles-plugin-sounds", "tsparticles-shape-spiral"], factory);
8 }
9})(function (require, exports) {
10 "use strict";
11 Object.defineProperty(exports, "__esModule", { value: true });
12 exports.loadAll = void 0;
13 const tsparticles_shape_arrow_1 = require("tsparticles-shape-arrow");
14 const tsparticles_shape_bubble_1 = require("tsparticles-shape-bubble");
15 const tsparticles_plugin_canvas_mask_1 = require("tsparticles-plugin-canvas-mask");
16 const tsparticles_shape_cards_1 = require("tsparticles-shape-cards");
17 const tsparticles_shape_cog_1 = require("tsparticles-shape-cog");
18 const tsparticles_path_curves_1 = require("tsparticles-path-curves");
19 const tsparticles_plugin_easing_back_1 = require("tsparticles-plugin-easing-back");
20 const tsparticles_plugin_easing_circ_1 = require("tsparticles-plugin-easing-circ");
21 const tsparticles_plugin_easing_cubic_1 = require("tsparticles-plugin-easing-cubic");
22 const tsparticles_plugin_easing_expo_1 = require("tsparticles-plugin-easing-expo");
23 const tsparticles_plugin_easing_quart_1 = require("tsparticles-plugin-easing-quart");
24 const tsparticles_plugin_easing_quint_1 = require("tsparticles-plugin-easing-quint");
25 const tsparticles_plugin_easing_sine_1 = require("tsparticles-plugin-easing-sine");
26 const tsparticles_plugin_export_image_1 = require("tsparticles-plugin-export-image");
27 const tsparticles_plugin_export_json_1 = require("tsparticles-plugin-export-json");
28 const tsparticles_plugin_export_video_1 = require("tsparticles-plugin-export-video");
29 const tsparticles_1 = require("tsparticles");
30 const tsparticles_updater_gradient_1 = require("tsparticles-updater-gradient");
31 const tsparticles_shape_heart_1 = require("tsparticles-shape-heart");
32 const tsparticles_plugin_hsv_color_1 = require("tsparticles-plugin-hsv-color");
33 const tsparticles_plugin_infection_1 = require("tsparticles-plugin-infection");
34 const tsparticles_interaction_light_1 = require("tsparticles-interaction-light");
35 const tsparticles_plugin_motion_1 = require("tsparticles-plugin-motion");
36 const tsparticles_shape_multiline_text_1 = require("tsparticles-shape-multiline-text");
37 const tsparticles_updater_orbit_1 = require("tsparticles-updater-orbit");
38 const tsparticles_interaction_particles_repulse_1 = require("tsparticles-interaction-particles-repulse");
39 const tsparticles_shape_path_1 = require("tsparticles-shape-path");
40 const tsparticles_path_perlin_noise_1 = require("tsparticles-path-perlin-noise");
41 const tsparticles_plugin_polygon_mask_1 = require("tsparticles-plugin-polygon-mask");
42 const tsparticles_path_polygon_1 = require("tsparticles-path-polygon");
43 const tsparticles_shape_rounded_polygon_1 = require("tsparticles-shape-rounded-polygon");
44 const tsparticles_shape_rounded_rect_1 = require("tsparticles-shape-rounded-rect");
45 const tsparticles_path_svg_1 = require("tsparticles-path-svg");
46 const tsparticles_path_simplex_noise_1 = require("tsparticles-path-simplex-noise");
47 const tsparticles_plugin_sounds_1 = require("tsparticles-plugin-sounds");
48 const tsparticles_shape_spiral_1 = require("tsparticles-shape-spiral");
49 async function loadAll(engine, refresh = true) {
50 await (0, tsparticles_1.loadFull)(engine, false);
51 await (0, tsparticles_plugin_hsv_color_1.loadHsvColorPlugin)();
52 await (0, tsparticles_plugin_easing_back_1.loadEasingBackPlugin)();
53 await (0, tsparticles_plugin_easing_circ_1.loadEasingCircPlugin)();
54 await (0, tsparticles_plugin_easing_cubic_1.loadEasingCubicPlugin)();
55 await (0, tsparticles_plugin_easing_expo_1.loadEasingExpoPlugin)();
56 await (0, tsparticles_plugin_easing_quart_1.loadEasingQuartPlugin)();
57 await (0, tsparticles_plugin_easing_quint_1.loadEasingQuintPlugin)();
58 await (0, tsparticles_plugin_easing_sine_1.loadEasingSinePlugin)();
59 await (0, tsparticles_plugin_hsv_color_1.loadHsvColorPlugin)();
60 await (0, tsparticles_plugin_canvas_mask_1.loadCanvasMaskPlugin)(engine, false);
61 await (0, tsparticles_plugin_infection_1.loadInfectionPlugin)(engine, false);
62 await (0, tsparticles_plugin_motion_1.loadMotionPlugin)(engine, false);
63 await (0, tsparticles_plugin_polygon_mask_1.loadPolygonMaskPlugin)(engine, false);
64 await (0, tsparticles_plugin_sounds_1.loadSoundsPlugin)(engine, false);
65 await (0, tsparticles_plugin_export_image_1.loadExportImagePlugin)(engine, false);
66 await (0, tsparticles_plugin_export_json_1.loadExportJSONPlugin)(engine, false);
67 await (0, tsparticles_plugin_export_video_1.loadExportVideoPlugin)(engine, false);
68 await (0, tsparticles_interaction_light_1.loadLightInteraction)(engine, false);
69 await (0, tsparticles_interaction_particles_repulse_1.loadParticlesRepulseInteraction)(engine, false);
70 await (0, tsparticles_updater_gradient_1.loadGradientUpdater)(engine, false);
71 await (0, tsparticles_updater_orbit_1.loadOrbitUpdater)(engine, false);
72 await (0, tsparticles_path_curves_1.loadCurvesPath)(engine, false);
73 await (0, tsparticles_path_perlin_noise_1.loadPerlinNoisePath)(engine, false);
74 await (0, tsparticles_path_polygon_1.loadPolygonPath)(engine, false);
75 await (0, tsparticles_path_svg_1.loadSVGPath)(engine, false);
76 await (0, tsparticles_path_simplex_noise_1.loadSimplexNoisePath)(engine, false);
77 await (0, tsparticles_shape_arrow_1.loadArrowShape)(engine, false);
78 await (0, tsparticles_shape_bubble_1.loadBubbleShape)(engine, false);
79 await (0, tsparticles_shape_cards_1.loadCardsShape)(engine, false);
80 await (0, tsparticles_shape_cog_1.loadCogShape)(engine, false);
81 await (0, tsparticles_shape_heart_1.loadHeartShape)(engine, false);
82 await (0, tsparticles_shape_multiline_text_1.loadMultilineTextShape)(engine, false);
83 await (0, tsparticles_shape_path_1.loadPathShape)(engine, false);
84 await (0, tsparticles_shape_rounded_polygon_1.loadRoundedPolygonShape)(engine, false);
85 await (0, tsparticles_shape_rounded_rect_1.loadRoundedRectShape)(engine, false);
86 await (0, tsparticles_shape_spiral_1.loadSpiralShape)(engine, false);
87 await engine.refresh(refresh);
88 }
89 exports.loadAll = loadAll;
90});