@tsparticles/palette-iris 4.0.0-beta.12

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.
@@ -0,0 +1,122 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-beta.12
8
+ */
9
+ /*
10
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
11
+ * This devtool is neither made for production nor for readable output files.
12
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
13
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
14
+ * or disable the default devtool with "devtool: false".
15
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
16
+ */
17
+ (function webpackUniversalModuleDefinition(root, factory) {
18
+ if(typeof exports === 'object' && typeof module === 'object')
19
+ module.exports = factory();
20
+ else if(typeof define === 'function' && define.amd)
21
+ define([], factory);
22
+ else {
23
+ var a = factory();
24
+ for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
25
+ }
26
+ })(this, () => {
27
+ return /******/ (() => { // webpackBootstrap
28
+ /******/ "use strict";
29
+ /******/ var __webpack_modules__ = ({
30
+
31
+ /***/ "./dist/browser/index.js"
32
+ /*!*******************************!*\
33
+ !*** ./dist/browser/index.js ***!
34
+ \*******************************/
35
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36
+
37
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadIrisPalette: () => (/* binding */ loadIrisPalette)\n/* harmony export */ });\n/* harmony import */ var _options_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./options.js */ \"./dist/browser/options.js\");\n\nconst paletteName = \"iris\";\nasync function loadIrisPalette(engine) {\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addPalette(paletteName, _options_js__WEBPACK_IMPORTED_MODULE_0__.options);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/palette-iris/./dist/browser/index.js?\n}");
38
+
39
+ /***/ },
40
+
41
+ /***/ "./dist/browser/options.js"
42
+ /*!*********************************!*\
43
+ !*** ./dist/browser/options.js ***!
44
+ \*********************************/
45
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46
+
47
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ options: () => (/* binding */ options)\n/* harmony export */ });\nconst options = {\n name: \"Iris\",\n background: \"#0a0a0a\",\n blendMode: \"screen\",\n colors: {\n fill: {\n enable: true,\n value: [\n \"#F5F7FA\",\n \"#90CAF9\",\n \"#5C6BC0\",\n \"#7E57C2\",\n \"#EC407A\",\n \"#FFCA28\",\n \"#26C6DA\"\n ]\n }\n }\n};\n\n\n//# sourceURL=webpack://@tsparticles/palette-iris/./dist/browser/options.js?\n}");
48
+
49
+ /***/ }
50
+
51
+ /******/ });
52
+ /************************************************************************/
53
+ /******/ // The module cache
54
+ /******/ var __webpack_module_cache__ = {};
55
+ /******/
56
+ /******/ // The require function
57
+ /******/ function __webpack_require__(moduleId) {
58
+ /******/ // Check if module is in cache
59
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
60
+ /******/ if (cachedModule !== undefined) {
61
+ /******/ return cachedModule.exports;
62
+ /******/ }
63
+ /******/ // Create a new module (and put it into the cache)
64
+ /******/ var module = __webpack_module_cache__[moduleId] = {
65
+ /******/ // no module.id needed
66
+ /******/ // no module.loaded needed
67
+ /******/ exports: {}
68
+ /******/ };
69
+ /******/
70
+ /******/ // Execute the module function
71
+ /******/ if (!(moduleId in __webpack_modules__)) {
72
+ /******/ delete __webpack_module_cache__[moduleId];
73
+ /******/ var e = new Error("Cannot find module '" + moduleId + "'");
74
+ /******/ e.code = 'MODULE_NOT_FOUND';
75
+ /******/ throw e;
76
+ /******/ }
77
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
78
+ /******/
79
+ /******/ // Return the exports of the module
80
+ /******/ return module.exports;
81
+ /******/ }
82
+ /******/
83
+ /************************************************************************/
84
+ /******/ /* webpack/runtime/define property getters */
85
+ /******/ (() => {
86
+ /******/ // define getter functions for harmony exports
87
+ /******/ __webpack_require__.d = (exports, definition) => {
88
+ /******/ for(var key in definition) {
89
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
90
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
91
+ /******/ }
92
+ /******/ }
93
+ /******/ };
94
+ /******/ })();
95
+ /******/
96
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
97
+ /******/ (() => {
98
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
99
+ /******/ })();
100
+ /******/
101
+ /******/ /* webpack/runtime/make namespace object */
102
+ /******/ (() => {
103
+ /******/ // define __esModule on exports
104
+ /******/ __webpack_require__.r = (exports) => {
105
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
106
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
107
+ /******/ }
108
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
109
+ /******/ };
110
+ /******/ })();
111
+ /******/
112
+ /************************************************************************/
113
+ /******/
114
+ /******/ // startup
115
+ /******/ // Load entry module and return exports
116
+ /******/ // This entry module can't be inlined because the eval devtool is used.
117
+ /******/ var __webpack_exports__ = __webpack_require__("./dist/browser/index.js");
118
+ /******/
119
+ /******/ return __webpack_exports__;
120
+ /******/ })()
121
+ ;
122
+ });
@@ -0,0 +1,122 @@
1
+ /*!
2
+ * Author : Matteo Bruni
3
+ * MIT license: https://opensource.org/licenses/MIT
4
+ * Demo / Generator : https://particles.js.org/
5
+ * GitHub : https://www.github.com/matteobruni/tsparticles
6
+ * How to use? : Check the GitHub README
7
+ * v4.0.0-beta.12
8
+ */
9
+ /*
10
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
11
+ * This devtool is neither made for production nor for readable output files.
12
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
13
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
14
+ * or disable the default devtool with "devtool: false".
15
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
16
+ */
17
+ (function webpackUniversalModuleDefinition(root, factory) {
18
+ if(typeof exports === 'object' && typeof module === 'object')
19
+ module.exports = factory();
20
+ else if(typeof define === 'function' && define.amd)
21
+ define([], factory);
22
+ else {
23
+ var a = factory();
24
+ for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
25
+ }
26
+ })(this, () => {
27
+ return /******/ (() => { // webpackBootstrap
28
+ /******/ "use strict";
29
+ /******/ var __webpack_modules__ = ({
30
+
31
+ /***/ "./dist/browser/index.lazy.js"
32
+ /*!************************************!*\
33
+ !*** ./dist/browser/index.lazy.js ***!
34
+ \************************************/
35
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
36
+
37
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loadIrisPalette: () => (/* binding */ loadIrisPalette)\n/* harmony export */ });\n/* harmony import */ var _options_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./options.js */ \"./dist/browser/options.js\");\n\nconst paletteName = \"iris\";\nasync function loadIrisPalette(engine) {\n await engine.pluginManager.register((e)=>{\n e.pluginManager.addPalette(paletteName, _options_js__WEBPACK_IMPORTED_MODULE_0__.options);\n });\n}\n\n\n//# sourceURL=webpack://@tsparticles/palette-iris/./dist/browser/index.lazy.js?\n}");
38
+
39
+ /***/ },
40
+
41
+ /***/ "./dist/browser/options.js"
42
+ /*!*********************************!*\
43
+ !*** ./dist/browser/options.js ***!
44
+ \*********************************/
45
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
46
+
47
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ options: () => (/* binding */ options)\n/* harmony export */ });\nconst options = {\n name: \"Iris\",\n background: \"#0a0a0a\",\n blendMode: \"screen\",\n colors: {\n fill: {\n enable: true,\n value: [\n \"#F5F7FA\",\n \"#90CAF9\",\n \"#5C6BC0\",\n \"#7E57C2\",\n \"#EC407A\",\n \"#FFCA28\",\n \"#26C6DA\"\n ]\n }\n }\n};\n\n\n//# sourceURL=webpack://@tsparticles/palette-iris/./dist/browser/options.js?\n}");
48
+
49
+ /***/ }
50
+
51
+ /******/ });
52
+ /************************************************************************/
53
+ /******/ // The module cache
54
+ /******/ var __webpack_module_cache__ = {};
55
+ /******/
56
+ /******/ // The require function
57
+ /******/ function __webpack_require__(moduleId) {
58
+ /******/ // Check if module is in cache
59
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
60
+ /******/ if (cachedModule !== undefined) {
61
+ /******/ return cachedModule.exports;
62
+ /******/ }
63
+ /******/ // Create a new module (and put it into the cache)
64
+ /******/ var module = __webpack_module_cache__[moduleId] = {
65
+ /******/ // no module.id needed
66
+ /******/ // no module.loaded needed
67
+ /******/ exports: {}
68
+ /******/ };
69
+ /******/
70
+ /******/ // Execute the module function
71
+ /******/ if (!(moduleId in __webpack_modules__)) {
72
+ /******/ delete __webpack_module_cache__[moduleId];
73
+ /******/ var e = new Error("Cannot find module '" + moduleId + "'");
74
+ /******/ e.code = 'MODULE_NOT_FOUND';
75
+ /******/ throw e;
76
+ /******/ }
77
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
78
+ /******/
79
+ /******/ // Return the exports of the module
80
+ /******/ return module.exports;
81
+ /******/ }
82
+ /******/
83
+ /************************************************************************/
84
+ /******/ /* webpack/runtime/define property getters */
85
+ /******/ (() => {
86
+ /******/ // define getter functions for harmony exports
87
+ /******/ __webpack_require__.d = (exports, definition) => {
88
+ /******/ for(var key in definition) {
89
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
90
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
91
+ /******/ }
92
+ /******/ }
93
+ /******/ };
94
+ /******/ })();
95
+ /******/
96
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
97
+ /******/ (() => {
98
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
99
+ /******/ })();
100
+ /******/
101
+ /******/ /* webpack/runtime/make namespace object */
102
+ /******/ (() => {
103
+ /******/ // define __esModule on exports
104
+ /******/ __webpack_require__.r = (exports) => {
105
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
106
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
107
+ /******/ }
108
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
109
+ /******/ };
110
+ /******/ })();
111
+ /******/
112
+ /************************************************************************/
113
+ /******/
114
+ /******/ // startup
115
+ /******/ // Load entry module and return exports
116
+ /******/ // This entry module can't be inlined because the eval devtool is used.
117
+ /******/ var __webpack_exports__ = __webpack_require__("./dist/browser/index.lazy.js");
118
+ /******/
119
+ /******/ return __webpack_exports__;
120
+ /******/ })()
121
+ ;
122
+ });
@@ -0,0 +1,2 @@
1
+ /*! For license information please see tsparticles.palette.palette-iris.lazy.min.js.LICENSE.txt */
2
+ !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var t=r();for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(this,()=>(()=>{"use strict";var e={998(e,r,t){t.d(r,{f:()=>o});let o={name:"Iris",background:"#0a0a0a",blendMode:"screen",colors:{fill:{enable:!0,value:["#F5F7FA","#90CAF9","#5C6BC0","#7E57C2","#EC407A","#FFCA28","#26C6DA"]}}}}},r={};function t(o){var a=r[o];if(void 0!==a)return a.exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};t.r(o),t.d(o,{loadIrisPalette:()=>n});var a=t(998);async function n(e){await e.pluginManager.register(e=>{e.pluginManager.addPalette("iris",a.f)})}return o})());
@@ -0,0 +1 @@
1
+ /*! tsParticles Iris Palette Palette v4.0.0-beta.12 by Matteo Bruni */
@@ -0,0 +1,2 @@
1
+ /*! For license information please see tsparticles.palette.palette-iris.min.js.LICENSE.txt */
2
+ !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var t=r();for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(this,()=>(()=>{"use strict";var e={998(e,r,t){t.d(r,{f:()=>o});let o={name:"Iris",background:"#0a0a0a",blendMode:"screen",colors:{fill:{enable:!0,value:["#F5F7FA","#90CAF9","#5C6BC0","#7E57C2","#EC407A","#FFCA28","#26C6DA"]}}}}},r={};function t(o){var a=r[o];if(void 0!==a)return a.exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};t.r(o),t.d(o,{loadIrisPalette:()=>n});var a=t(998);async function n(e){await e.pluginManager.register(e=>{e.pluginManager.addPalette("iris",a.f)})}return o})());
@@ -0,0 +1 @@
1
+ /*! tsParticles Iris Palette Palette v4.0.0-beta.12 by Matteo Bruni */
package/types/index.js ADDED
@@ -0,0 +1,7 @@
1
+ import { options } from "./options.js";
2
+ const paletteName = "iris";
3
+ export async function loadIrisPalette(engine) {
4
+ await engine.pluginManager.register(e => {
5
+ e.pluginManager.addPalette(paletteName, options);
6
+ });
7
+ }
@@ -0,0 +1,7 @@
1
+ import { options } from "./options.js";
2
+ const paletteName = "iris";
3
+ export async function loadIrisPalette(engine) {
4
+ await engine.pluginManager.register(e => {
5
+ e.pluginManager.addPalette(paletteName, options);
6
+ });
7
+ }
@@ -0,0 +1,19 @@
1
+ export const options = {
2
+ name: "Iris",
3
+ background: "#0a0a0a",
4
+ blendMode: "screen",
5
+ colors: {
6
+ fill: {
7
+ enable: true,
8
+ value: [
9
+ "#F5F7FA",
10
+ "#90CAF9",
11
+ "#5C6BC0",
12
+ "#7E57C2",
13
+ "#EC407A",
14
+ "#FFCA28",
15
+ "#26C6DA",
16
+ ],
17
+ },
18
+ },
19
+ };