@everymatrix/player-account-self-exclusion 1.56.0 → 1.56.2

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 @@
1
+ "use strict";const r=require("./index-ae04a8b1-DPYODDdm.cjs"),n=".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",s=n,i=class{constructor(e){r.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}updateStyles(){this.primaryColor&&this.skeletonContainer.style.setProperty("--emw-skeleton-primary-color",this.primaryColor),this.secondaryColor&&this.skeletonContainer.style.setProperty("--emw-skeleton-secondary-color",this.secondaryColor)}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle()}}renderLogo(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Image "+(this.animation?"Skeleton":"")}))}renderTitle(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return Array.from({length:this.rows>0?this.rows:1}).map((t,o)=>r.h("div",{style:e,key:o,class:"Text "+(this.animation?"Skeleton":"")}))}renderRectangle(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){const e={width:`${this.size}`,height:`${this.size}`,"background-color":`${this.color}`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Circle "+(this.animation?"Skeleton":"")}))}componentDidLoad(){this.updateStyles()}render(){return this.handleStructure(this.structure)}static get watchers(){return{structure:["handleStructureChange"],primaryColor:["updateStyles"],secondaryColor:["updateStyles"]}}};i.style=s;exports.UiSkeleton=i;
@@ -1,16 +1,16 @@
1
- import { r as o, h as r } from "./index-db5752f9--Bvt52z2.js";
2
- const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", n = s, a = class {
3
- constructor(t) {
4
- o(this, t), this.animation = !0;
1
+ import { r as o, h as r } from "./index-ae04a8b1-DRAR7dln.js";
2
+ const n = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
3
+ constructor(e) {
4
+ o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
5
5
  }
6
- handleStructureChange(t, e) {
7
- e !== t && this.handleStructure(t);
6
+ handleStructureChange(e, t) {
7
+ t !== e && this.handleStructure(e);
8
8
  }
9
9
  updateStyles() {
10
10
  this.primaryColor && this.skeletonContainer.style.setProperty("--emw-skeleton-primary-color", this.primaryColor), this.secondaryColor && this.skeletonContainer.style.setProperty("--emw-skeleton-secondary-color", this.secondaryColor);
11
11
  }
12
- handleStructure(t) {
13
- switch (t) {
12
+ handleStructure(e) {
13
+ switch (e) {
14
14
  case "logo":
15
15
  return this.renderLogo();
16
16
  case "image":
@@ -26,7 +26,7 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
26
26
  }
27
27
  }
28
28
  renderLogo() {
29
- const t = {
29
+ const e = {
30
30
  width: `${this.width}`,
31
31
  height: `${this.height}`,
32
32
  "background-color": `${this.color}`,
@@ -36,10 +36,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
36
36
  "margin-left": `${this.marginLeft}px`,
37
37
  "margin-right": `${this.marginRight}px`
38
38
  };
39
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Logo " + (this.animation ? "Skeleton" : "") }));
39
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Logo " + (this.animation ? "Skeleton" : "") }));
40
40
  }
41
41
  renderImage() {
42
- const t = {
42
+ const e = {
43
43
  width: `${this.width}`,
44
44
  height: `${this.height}`,
45
45
  "background-color": `${this.color}`,
@@ -49,10 +49,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
49
49
  "margin-left": `${this.marginLeft}px`,
50
50
  "margin-right": `${this.marginRight}px`
51
51
  };
52
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Image " + (this.animation ? "Skeleton" : "") }));
52
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Image " + (this.animation ? "Skeleton" : "") }));
53
53
  }
54
54
  renderTitle() {
55
- const t = {
55
+ const e = {
56
56
  width: `${this.width}`,
57
57
  height: `${this.height}`,
58
58
  "background-color": `${this.color}`,
@@ -62,10 +62,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
62
62
  "margin-left": `${this.marginLeft}px`,
63
63
  "margin-right": `${this.marginRight}px`
64
64
  };
65
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Title " + (this.animation ? "Skeleton" : "") }));
65
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Title " + (this.animation ? "Skeleton" : "") }));
66
66
  }
67
67
  renderText() {
68
- const t = {
68
+ const e = {
69
69
  width: `${this.width}`,
70
70
  height: `${this.height}`,
71
71
  "background-color": `${this.color}`,
@@ -75,10 +75,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
75
75
  "margin-left": `${this.marginLeft}px`,
76
76
  "margin-right": `${this.marginRight}px`
77
77
  };
78
- return Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => r("div", { style: t, key: i, class: "Text " + (this.animation ? "Skeleton" : "") }));
78
+ return Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((t, i) => r("div", { style: e, key: i, class: "Text " + (this.animation ? "Skeleton" : "") }));
79
79
  }
80
80
  renderRectangle() {
81
- const t = {
81
+ const e = {
82
82
  width: `${this.width}`,
83
83
  height: `${this.height}`,
84
84
  "background-color": `${this.color}`,
@@ -88,10 +88,10 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
88
88
  "margin-left": `${this.marginLeft}px`,
89
89
  "margin-right": `${this.marginRight}px`
90
90
  };
91
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
91
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
92
92
  }
93
93
  renderCircle() {
94
- const t = {
94
+ const e = {
95
95
  width: `${this.size}`,
96
96
  height: `${this.size}`,
97
97
  "background-color": `${this.color}`,
@@ -100,7 +100,7 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
100
100
  "margin-left": `${this.marginLeft}px`,
101
101
  "margin-right": `${this.marginRight}px`
102
102
  };
103
- return r("div", { ref: (e) => this.skeletonContainer = e }, r("div", { style: t, class: "Circle " + (this.animation ? "Skeleton" : "") }));
103
+ return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Circle " + (this.animation ? "Skeleton" : "") }));
104
104
  }
105
105
  componentDidLoad() {
106
106
  this.updateStyles();
@@ -116,7 +116,7 @@ const s = ".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Re
116
116
  };
117
117
  }
118
118
  };
119
- a.style = n;
119
+ a.style = s;
120
120
  export {
121
121
  a as U
122
122
  };