@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.
- package/components/{PlayerAccountSelfExclusion-lWVIibQ-.js → PlayerAccountSelfExclusion-B0QhjZLs.js} +3028 -2955
- package/components/{PlayerAccountSelfExclusion-BQAeYFGt.js → PlayerAccountSelfExclusion-Cx7HTzcX.js} +2003 -1931
- package/components/{PlayerAccountSelfExclusion-BJDD7Xpa.cjs → PlayerAccountSelfExclusion-PLahLMHQ.cjs} +191 -180
- package/es2015/player-account-self-exclusion.cjs +1 -1
- package/es2015/player-account-self-exclusion.js +1 -1
- package/esnext/player-account-self-exclusion.js +1 -1
- package/package.json +1 -1
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
- package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
- package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
- package/stencil/{ui-skeleton-DtnYQAt6.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
- package/stencil/{ui-skeleton-rqI1NmdA.js → ui-skeleton-C5gPr5Xv.js} +2 -2
- package/stencil/{ui-skeleton-DlfwJJb1.js → ui-skeleton-M7HNQCk1.js} +2 -2
- package/stencil/{ui-skeleton-982450d2-BH4FIF5y.js → ui-skeleton-a642cced-BFJMszWG.js} +21 -21
- package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
- package/stencil/{ui-skeleton-982450d2-DGJAETMx.js → ui-skeleton-a642cced-p8tGooXk.js} +21 -21
- package/stencil/index-db5752f9--Bvt52z2.js +0 -610
- package/stencil/index-db5752f9-CAzJb5N3.js +0 -594
- package/stencil/index-db5752f9-CEbtfUsZ.cjs +0 -1
- package/stencil/ui-skeleton-982450d2-BYrWGs9b.cjs +0 -1
|
@@ -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-
|
|
2
|
-
const
|
|
3
|
-
constructor(
|
|
4
|
-
o(this,
|
|
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(
|
|
7
|
-
|
|
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(
|
|
13
|
-
switch (
|
|
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
|
|
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: (
|
|
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
|
|
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: (
|
|
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
|
|
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: (
|
|
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
|
|
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((
|
|
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
|
|
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: (
|
|
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
|
|
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: (
|
|
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 =
|
|
119
|
+
a.style = s;
|
|
120
120
|
export {
|
|
121
121
|
a as U
|
|
122
122
|
};
|