@tsparticles/palette-super-mario-bros 4.0.0-beta.16

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,42 @@
1
+ (function(g){g.__tsParticlesInternals=g.__tsParticlesInternals||{};g.__tsParticlesInternals.bundles=g.__tsParticlesInternals.bundles||{};g.__tsParticlesInternals.effects=g.__tsParticlesInternals.effects||{};g.__tsParticlesInternals.engine=g.__tsParticlesInternals.engine||{};g.__tsParticlesInternals.interactions=g.__tsParticlesInternals.interactions||{};g.__tsParticlesInternals.palettes=g.__tsParticlesInternals.palettes||{};g.__tsParticlesInternals.paths=g.__tsParticlesInternals.paths||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins.emittersShapes=g.__tsParticlesInternals.plugins.emittersShapes||{};g.__tsParticlesInternals.presets=g.__tsParticlesInternals.presets||{};g.__tsParticlesInternals.shapes=g.__tsParticlesInternals.shapes||{};g.__tsParticlesInternals.updaters=g.__tsParticlesInternals.updaters||{};g.__tsParticlesInternals.utils=g.__tsParticlesInternals.utils||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas.utils=g.__tsParticlesInternals.canvas.utils||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path.utils=g.__tsParticlesInternals.path.utils||{};var __tsProxyFactory=typeof Proxy!=="undefined"?function(obj){return new Proxy(obj,{get:function(target,key){if(!(key in target)){target[key]={};}return target[key];}});}:function(obj){return obj;};g.__tsParticlesInternals.bundles=__tsProxyFactory(g.__tsParticlesInternals.bundles);g.__tsParticlesInternals.effects=__tsProxyFactory(g.__tsParticlesInternals.effects);g.__tsParticlesInternals.interactions=__tsProxyFactory(g.__tsParticlesInternals.interactions);g.__tsParticlesInternals.palettes=__tsProxyFactory(g.__tsParticlesInternals.palettes);g.__tsParticlesInternals.paths=__tsProxyFactory(g.__tsParticlesInternals.paths);g.__tsParticlesInternals.plugins=__tsProxyFactory(g.__tsParticlesInternals.plugins);g.__tsParticlesInternals.plugins.emittersShapes=__tsProxyFactory(g.__tsParticlesInternals.plugins.emittersShapes);g.__tsParticlesInternals.presets=__tsProxyFactory(g.__tsParticlesInternals.presets);g.__tsParticlesInternals.shapes=__tsProxyFactory(g.__tsParticlesInternals.shapes);g.__tsParticlesInternals.updaters=__tsProxyFactory(g.__tsParticlesInternals.updaters);g.__tsParticlesInternals.utils=__tsProxyFactory(g.__tsParticlesInternals.utils);g.__tsParticlesInternals.canvas=__tsProxyFactory(g.__tsParticlesInternals.canvas);g.__tsParticlesInternals.path=__tsProxyFactory(g.__tsParticlesInternals.path);g.tsparticlesInternalExports=g.tsparticlesInternalExports||{};})(typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:this);
2
+ /* Palette v4.0.0-beta.16 */
3
+ (function (global, factory) {
4
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
5
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
6
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.__tsParticlesInternals = global.__tsParticlesInternals || {}, global.__tsParticlesInternals.palettes = global.__tsParticlesInternals.palettes || {}, global.__tsParticlesInternals.palettes.paletteSuperMarioBros = global.__tsParticlesInternals.palettes.paletteSuperMarioBros || {})));
7
+ })(this, (function (exports) { 'use strict';
8
+
9
+ const options = {
10
+ name: "Super Mario Bros",
11
+ background: "#1B2A4A",
12
+ blendMode: "screen",
13
+ colors: {
14
+ fill: {
15
+ enable: true,
16
+ value: [
17
+ "#D13D2E",
18
+ "#5AA345",
19
+ "#EC6486",
20
+ "#F3CB4E",
21
+ "#4B2197",
22
+ ],
23
+ },
24
+ },
25
+ };
26
+
27
+ const paletteName = "super-mario-bros";
28
+ async function loadSuperMarioBrosPalette(engine) {
29
+ await engine.pluginManager.register(e => {
30
+ e.pluginManager.addPalette(paletteName, options);
31
+ });
32
+ }
33
+
34
+ const globalObject = globalThis;
35
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
36
+ globalObject.loadSuperMarioBrosPalette = loadSuperMarioBrosPalette;
37
+
38
+ exports.loadSuperMarioBrosPalette = loadSuperMarioBrosPalette;
39
+
40
+ }));
41
+ Object.assign(globalThis.window || globalThis, { loadSuperMarioBrosPalette: (globalThis.__tsParticlesInternals.palettes.paletteSuperMarioBros || {}).loadSuperMarioBrosPalette });
42
+ delete (globalThis.window || globalThis).tsparticlesInternalExports;
@@ -0,0 +1 @@
1
+ !function(t){t.__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.bundles=t.__tsParticlesInternals.bundles||{},t.__tsParticlesInternals.effects=t.__tsParticlesInternals.effects||{},t.__tsParticlesInternals.engine=t.__tsParticlesInternals.engine||{},t.__tsParticlesInternals.interactions=t.__tsParticlesInternals.interactions||{},t.__tsParticlesInternals.palettes=t.__tsParticlesInternals.palettes||{},t.__tsParticlesInternals.paths=t.__tsParticlesInternals.paths||{},t.__tsParticlesInternals.plugins=t.__tsParticlesInternals.plugins||{},t.__tsParticlesInternals.plugins=t.__tsParticlesInternals.plugins||{},t.__tsParticlesInternals.plugins.emittersShapes=t.__tsParticlesInternals.plugins.emittersShapes||{},t.__tsParticlesInternals.presets=t.__tsParticlesInternals.presets||{},t.__tsParticlesInternals.shapes=t.__tsParticlesInternals.shapes||{},t.__tsParticlesInternals.updaters=t.__tsParticlesInternals.updaters||{},t.__tsParticlesInternals.utils=t.__tsParticlesInternals.utils||{},t.__tsParticlesInternals.canvas=t.__tsParticlesInternals.canvas||{},t.__tsParticlesInternals.canvas=t.__tsParticlesInternals.canvas||{},t.__tsParticlesInternals.canvas.utils=t.__tsParticlesInternals.canvas.utils||{},t.__tsParticlesInternals.path=t.__tsParticlesInternals.path||{},t.__tsParticlesInternals.path=t.__tsParticlesInternals.path||{},t.__tsParticlesInternals.path.utils=t.__tsParticlesInternals.path.utils||{};var s="undefined"!=typeof Proxy?function(t){return new Proxy(t,{get:function(t,s){return s in t||(t[s]={}),t[s]}})}:function(t){return t};t.__tsParticlesInternals.bundles=s(t.__tsParticlesInternals.bundles),t.__tsParticlesInternals.effects=s(t.__tsParticlesInternals.effects),t.__tsParticlesInternals.interactions=s(t.__tsParticlesInternals.interactions),t.__tsParticlesInternals.palettes=s(t.__tsParticlesInternals.palettes),t.__tsParticlesInternals.paths=s(t.__tsParticlesInternals.paths),t.__tsParticlesInternals.plugins=s(t.__tsParticlesInternals.plugins),t.__tsParticlesInternals.plugins.emittersShapes=s(t.__tsParticlesInternals.plugins.emittersShapes),t.__tsParticlesInternals.presets=s(t.__tsParticlesInternals.presets),t.__tsParticlesInternals.shapes=s(t.__tsParticlesInternals.shapes),t.__tsParticlesInternals.updaters=s(t.__tsParticlesInternals.updaters),t.__tsParticlesInternals.utils=s(t.__tsParticlesInternals.utils),t.__tsParticlesInternals.canvas=s(t.__tsParticlesInternals.canvas),t.__tsParticlesInternals.path=s(t.__tsParticlesInternals.path),t.tsparticlesInternalExports=t.tsparticlesInternalExports||{}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:this),function(t,s){"object"==typeof exports&&"undefined"!=typeof module?s(exports):"function"==typeof define&&define.amd?define(["exports"],s):s(((t="undefined"!=typeof globalThis?globalThis:t||self).__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.palettes=t.__tsParticlesInternals.palettes||{},t.__tsParticlesInternals.palettes.paletteSuperMarioBros=t.__tsParticlesInternals.palettes.paletteSuperMarioBros||{}))}(this,function(t){"use strict";const s={name:"Super Mario Bros",background:"#1B2A4A",blendMode:"screen",colors:{fill:{enable:!0,value:["#D13D2E","#5AA345","#EC6486","#F3CB4E","#4B2197"]}}};async function e(t){await t.pluginManager.register(t=>{t.pluginManager.addPalette("super-mario-bros",s)})}const a=globalThis;a.__tsParticlesInternals=a.__tsParticlesInternals??{},a.loadSuperMarioBrosPalette=e,t.loadSuperMarioBrosPalette=e}),Object.assign(globalThis.window||globalThis,{loadSuperMarioBrosPalette:(globalThis.__tsParticlesInternals.palettes.paletteSuperMarioBros||{}).loadSuperMarioBrosPalette}),delete(globalThis.window||globalThis).tsparticlesInternalExports;
@@ -0,0 +1,5 @@
1
+ import { loadSuperMarioBrosPalette } from "./index.js";
2
+ const globalObject = globalThis;
3
+ globalObject.__tsParticlesInternals = globalObject.__tsParticlesInternals ?? {};
4
+ globalObject.loadSuperMarioBrosPalette = loadSuperMarioBrosPalette;
5
+ export * from "./index.js";
package/types/index.js ADDED
@@ -0,0 +1,7 @@
1
+ import { options } from "./options.js";
2
+ const paletteName = "super-mario-bros";
3
+ export async function loadSuperMarioBrosPalette(engine) {
4
+ await engine.pluginManager.register(e => {
5
+ e.pluginManager.addPalette(paletteName, options);
6
+ });
7
+ }
@@ -0,0 +1,7 @@
1
+ const paletteName = "super-mario-bros";
2
+ export async function loadSuperMarioBrosPalette(engine) {
3
+ await engine.pluginManager.register(async (e) => {
4
+ const { options } = await import("./options.js");
5
+ e.pluginManager.addPalette(paletteName, options);
6
+ });
7
+ }
@@ -0,0 +1,17 @@
1
+ export const options = {
2
+ name: "Super Mario Bros",
3
+ background: "#1B2A4A",
4
+ blendMode: "screen",
5
+ colors: {
6
+ fill: {
7
+ enable: true,
8
+ value: [
9
+ "#D13D2E",
10
+ "#5AA345",
11
+ "#EC6486",
12
+ "#F3CB4E",
13
+ "#4B2197",
14
+ ],
15
+ },
16
+ },
17
+ };