@everymatrix/casino-most-played-section 1.60.0 → 1.60.1

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.
Files changed (29) hide show
  1. package/components/{CasinoGameThumbnail-CjGUVsxf.js → CasinoGameThumbnail-Brp54Mkr.js} +1 -1
  2. package/components/{CasinoGameThumbnail-nAn0iQox.cjs → CasinoGameThumbnail-D1hFEtJA.cjs} +1 -1
  3. package/components/{CasinoGameThumbnail-ftaXUIU6.js → CasinoGameThumbnail-DdWkNS2C.js} +1 -1
  4. package/components/{CasinoGamesCategorySection-JdI1VKYy.cjs → CasinoGamesCategorySection-CHZiU-PO.cjs} +1 -1
  5. package/components/{CasinoGamesCategorySection-Bq_Rt5hY.js → CasinoGamesCategorySection-D1vQeCrE.js} +2 -2
  6. package/components/{CasinoGamesCategorySection-BqCNxAqN.js → CasinoGamesCategorySection-DyF270dL.js} +2 -2
  7. package/components/{CasinoMostPlayedSection-ZaHSeHfX.js → CasinoMostPlayedSection-Biz_quau.js} +1 -1
  8. package/components/{CasinoMostPlayedSection-C9CBMudx.js → CasinoMostPlayedSection-DqhZX69X.js} +1 -1
  9. package/components/{CasinoMostPlayedSection-DynYJDkW.cjs → CasinoMostPlayedSection-_lcsNiHC.cjs} +1 -1
  10. package/es2015/casino-most-played-section.cjs +1 -1
  11. package/es2015/casino-most-played-section.js +1 -1
  12. package/esnext/casino-most-played-section.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-b2193545-BLGDaRxR.js +519 -0
  15. package/stencil/index-b2193545-CgYO4hhs.cjs +1 -0
  16. package/stencil/index-b2193545-dQymAF3M.js +503 -0
  17. package/stencil/{ui-skeleton-C5gPr5Xv.js → ui-skeleton-BCx6m_uC.js} +4 -4
  18. package/stencil/ui-skeleton-BtNRiNfn.cjs +1 -0
  19. package/stencil/{ui-skeleton-M7HNQCk1.js → ui-skeleton-DypM319u.js} +8 -8
  20. package/stencil/ui-skeleton-ea659b95-Bo7WD0ao.js +152 -0
  21. package/stencil/ui-skeleton-ea659b95-Dc45mVmr.cjs +73 -0
  22. package/stencil/ui-skeleton-ea659b95-DyTVU8Ak.js +152 -0
  23. package/stencil/index-ae04a8b1-DPYODDdm.cjs +0 -1
  24. package/stencil/index-ae04a8b1-DRAR7dln.js +0 -532
  25. package/stencil/index-ae04a8b1-eSktas_K.js +0 -516
  26. package/stencil/ui-skeleton-C1buDKbo.cjs +0 -1
  27. package/stencil/ui-skeleton-a642cced-BFJMszWG.js +0 -122
  28. package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +0 -1
  29. package/stencil/ui-skeleton-a642cced-p8tGooXk.js +0 -122
@@ -1,122 +0,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
- }
6
- handleStructureChange(e, t) {
7
- t !== e && this.handleStructure(e);
8
- }
9
- updateStyles() {
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
- }
12
- handleStructure(e) {
13
- switch (e) {
14
- case "logo":
15
- return this.renderLogo();
16
- case "image":
17
- return this.renderImage();
18
- case "title":
19
- return this.renderTitle();
20
- case "text":
21
- return this.renderText();
22
- case "rectangle":
23
- return this.renderRectangle();
24
- case "circle":
25
- return this.renderCircle();
26
- }
27
- }
28
- renderLogo() {
29
- const e = {
30
- width: `${this.width}`,
31
- height: `${this.height}`,
32
- "background-color": `${this.color}`,
33
- "border-radius": `${this.borderRadius}px`,
34
- "margin-bottom": `${this.marginBottom}px`,
35
- "margin-top": `${this.marginTop}px`,
36
- "margin-left": `${this.marginLeft}px`,
37
- "margin-right": `${this.marginRight}px`
38
- };
39
- return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Logo " + (this.animation ? "Skeleton" : "") }));
40
- }
41
- renderImage() {
42
- const e = {
43
- width: `${this.width}`,
44
- height: `${this.height}`,
45
- "background-color": `${this.color}`,
46
- "border-radius": `${this.borderRadius}px`,
47
- "margin-bottom": `${this.marginBottom}px`,
48
- "margin-top": `${this.marginTop}px`,
49
- "margin-left": `${this.marginLeft}px`,
50
- "margin-right": `${this.marginRight}px`
51
- };
52
- return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Image " + (this.animation ? "Skeleton" : "") }));
53
- }
54
- renderTitle() {
55
- const e = {
56
- width: `${this.width}`,
57
- height: `${this.height}`,
58
- "background-color": `${this.color}`,
59
- "border-radius": `${this.borderRadius}px`,
60
- "margin-bottom": `${this.marginBottom}px`,
61
- "margin-top": `${this.marginTop}px`,
62
- "margin-left": `${this.marginLeft}px`,
63
- "margin-right": `${this.marginRight}px`
64
- };
65
- return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Title " + (this.animation ? "Skeleton" : "") }));
66
- }
67
- renderText() {
68
- const e = {
69
- width: `${this.width}`,
70
- height: `${this.height}`,
71
- "background-color": `${this.color}`,
72
- "border-radius": `${this.borderRadius}px`,
73
- "margin-bottom": `${this.marginBottom}px`,
74
- "margin-top": `${this.marginTop}px`,
75
- "margin-left": `${this.marginLeft}px`,
76
- "margin-right": `${this.marginRight}px`
77
- };
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
- }
80
- renderRectangle() {
81
- const e = {
82
- width: `${this.width}`,
83
- height: `${this.height}`,
84
- "background-color": `${this.color}`,
85
- "border-radius": `${this.borderRadius}px`,
86
- "margin-bottom": `${this.marginBottom}px`,
87
- "margin-top": `${this.marginTop}px`,
88
- "margin-left": `${this.marginLeft}px`,
89
- "margin-right": `${this.marginRight}px`
90
- };
91
- return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
92
- }
93
- renderCircle() {
94
- const e = {
95
- width: `${this.size}`,
96
- height: `${this.size}`,
97
- "background-color": `${this.color}`,
98
- "margin-bottom": `${this.marginBottom}px`,
99
- "margin-top": `${this.marginTop}px`,
100
- "margin-left": `${this.marginLeft}px`,
101
- "margin-right": `${this.marginRight}px`
102
- };
103
- return r("div", { ref: (t) => this.skeletonContainer = t }, r("div", { style: e, class: "Circle " + (this.animation ? "Skeleton" : "") }));
104
- }
105
- componentDidLoad() {
106
- this.updateStyles();
107
- }
108
- render() {
109
- return this.handleStructure(this.structure);
110
- }
111
- static get watchers() {
112
- return {
113
- structure: ["handleStructureChange"],
114
- primaryColor: ["updateStyles"],
115
- secondaryColor: ["updateStyles"]
116
- };
117
- }
118
- };
119
- a.style = s;
120
- export {
121
- a as U
122
- };