@everymatrix/casino-game-overlay 1.80.11 → 1.80.13

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 (41) hide show
  1. package/components/{CasinoCoinroyaleContainer-xFV5yjos.js → CasinoCoinroyaleContainer-8oDWnwX4.js} +3 -3
  2. package/components/{CasinoCoinroyaleContainer-C6FdrO2g.cjs → CasinoCoinroyaleContainer-Bwz0T8a7.cjs} +2 -2
  3. package/components/{CasinoCoinroyaleContainer-MA8bSe9l.js → CasinoCoinroyaleContainer-CVJ5QU9b.js} +3 -3
  4. package/components/{CasinoCoinroyaleDetails-6P7tY71V.js → CasinoCoinroyaleDetails-CfDZsIT1.js} +1 -1
  5. package/components/{CasinoCoinroyaleDetails-CniOKcyB.js → CasinoCoinroyaleDetails-DIS2Dwhr.js} +1 -1
  6. package/components/{CasinoCoinroyaleDetails-b8rzqKAj.cjs → CasinoCoinroyaleDetails-DdM24i0S.cjs} +1 -1
  7. package/components/{CasinoCoinroyaleList-C0bq2dGe.cjs → CasinoCoinroyaleList-3aa9vbL5.cjs} +1 -1
  8. package/components/{CasinoCoinroyaleList-CSLBTep3.js → CasinoCoinroyaleList-C3iX4SIK.js} +3 -3
  9. package/components/{CasinoCoinroyaleList-CPvINkhm.js → CasinoCoinroyaleList-DovDVPLF.js} +3 -3
  10. package/components/{CasinoGameOverlay-DKnk9v58.js → CasinoGameOverlay-B1b0s1W1.js} +5 -5
  11. package/components/{CasinoGameOverlay-D3r-G3ix.js → CasinoGameOverlay-CN8HlP8W.js} +5 -5
  12. package/components/{CasinoGameOverlay-DwjudZZZ.cjs → CasinoGameOverlay-n759Wxre.cjs} +1 -1
  13. package/components/{CasinoMysteryChestContainer-XcK4euGf.js → CasinoMysteryChestContainer-BIAd4HiM.js} +3 -3
  14. package/components/{CasinoMysteryChestContainer-BINX4G9o.js → CasinoMysteryChestContainer-CWm-HaJs.js} +3 -3
  15. package/components/{CasinoMysteryChestContainer-CTl4a4Uf.cjs → CasinoMysteryChestContainer-V1PzjdxF.cjs} +1 -1
  16. package/components/{CasinoMysteryChestDetails-jWJAe_UP.js → CasinoMysteryChestDetails-5WScYTjP.js} +1 -1
  17. package/components/{CasinoMysteryChestDetails-B8EWl2uV.cjs → CasinoMysteryChestDetails-CUzJKa_p.cjs} +1 -1
  18. package/components/{CasinoMysteryChestDetails-gLs78rKR.js → CasinoMysteryChestDetails-D_cyQpa5.js} +1 -1
  19. package/components/{CasinoMysteryChestModal-D3FSTLIE.js → CasinoMysteryChestModal-B7wr5fpR.js} +1 -1
  20. package/components/{CasinoMysteryChestModal-CosPJxB9.cjs → CasinoMysteryChestModal-CBsF9zsD.cjs} +1 -1
  21. package/components/{CasinoMysteryChestModal-CkP0MF30.js → CasinoMysteryChestModal-CRnZrA9m.js} +1 -1
  22. package/components/{CasinoMysteryChestsList-DroOA6oX.js → CasinoMysteryChestsList-G6TW0TnL.js} +3 -3
  23. package/components/{CasinoMysteryChestsList-D6RAxidH.js → CasinoMysteryChestsList-OsX5YPfF.js} +3 -3
  24. package/components/{CasinoMysteryChestsList-C1o4MUby.cjs → CasinoMysteryChestsList-SoJg6v9K.cjs} +1 -1
  25. package/components/{LotteryProgramWof-Dlfelzc2.js → LotteryProgramWof-BPWpKRfr.js} +3 -3
  26. package/components/{LotteryProgramWof-D70P2pha.cjs → LotteryProgramWof-BVuHdb3q.cjs} +1 -1
  27. package/components/{LotteryProgramWof-DsxKXc3W.js → LotteryProgramWof-Def_HoQs.js} +3 -3
  28. package/es2015/casino-game-overlay.cjs +1 -1
  29. package/es2015/casino-game-overlay.js +1 -1
  30. package/esnext/casino-game-overlay.js +1 -1
  31. package/package.json +1 -1
  32. package/stencil/{index-b2193545-YW9b062G.cjs → index-b2193545-9K-aI7zC.cjs} +1 -1
  33. package/stencil/{index-b2193545-BeKKnKhR.js → index-b2193545-DsMHU6jb.js} +1 -1
  34. package/stencil/{index-b2193545-HC0t7mHa.js → index-b2193545-R7ZoV-kY.js} +1 -1
  35. package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-BreIU6e5.cjs} +1 -1
  36. package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-W50o8tfg.js} +2 -2
  37. package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ed169f8f-CVY4B-CP.js} +12 -12
  38. package/stencil/ui-skeleton-ed169f8f-CpiCXJrP.cjs +55 -0
  39. package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ed169f8f-D3TjbVKy.js} +12 -12
  40. package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-xXZA3rYO.js} +2 -2
  41. package/stencil/ui-skeleton-ae35c6f2-xLf3HyeB.cjs +0 -55
@@ -1,7 +1,7 @@
1
- import { r, h as t, H as n } from "./index-b2193545-BeKKnKhR.js";
2
- const s = ":host{display:block}.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, 10px)}.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, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.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, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.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, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", a = s, l = class {
1
+ import { r as n, h as t, H as r } from "./index-b2193545-R7ZoV-kY.js";
2
+ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{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, 10px)}.SkeletonCircle{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%}.SkeletonText{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, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{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, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{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, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
3
3
  constructor(e) {
4
- r(this, e), this.stylingValue = {
4
+ n(this, e), this.stylingValue = {
5
5
  width: this.handleStylingProps(this.width),
6
6
  height: this.handleStylingProps(this.height),
7
7
  borderRadius: this.handleStylingProps(this.borderRadius),
@@ -46,22 +46,22 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
46
46
  }
47
47
  }
48
48
  renderLogo() {
49
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
49
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
50
50
  }
51
51
  renderImage() {
52
- return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
52
+ return t("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
53
53
  }
54
54
  renderTitle() {
55
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
55
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
56
56
  }
57
57
  renderText() {
58
- return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "Text " + (this.animation ? "Skeleton" : "") })));
58
+ return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
59
59
  }
60
60
  renderRectangle() {
61
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
61
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
62
62
  }
63
63
  renderCircle() {
64
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
64
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
65
65
  }
66
66
  render() {
67
67
  let e = "";
@@ -141,7 +141,7 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
141
141
  default:
142
142
  e = "";
143
143
  }
144
- return t(n, { key: "e6b885bfd985ce7663d990756fe9101e25eb97f0" }, t("style", { key: "06ae24c7bb74f4dacfc12ae58085333f9dc89da5" }, e), this.handleStructure(this.structure));
144
+ return t(r, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, t("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
145
145
  }
146
146
  static get watchers() {
147
147
  return {
@@ -149,7 +149,7 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
149
149
  };
150
150
  }
151
151
  };
152
- l.style = a;
152
+ a.style = l;
153
153
  export {
154
- l as U
154
+ a as U
155
155
  };
@@ -0,0 +1,55 @@
1
+ "use strict";const t=require("./index-b2193545-9K-aI7zC.cjs"),r=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{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, 10px)}.SkeletonCircle{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%}.SkeletonText{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, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{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, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{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, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",s=r,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}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();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
2
+ :host {
3
+ --emw-skeleton-logo-width: ${this.stylingValue.width};
4
+ --emw-skeleton-logo-height: ${this.stylingValue.height};
5
+ --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
6
+ --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
7
+ --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
8
+ --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
9
+ --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
10
+ }
11
+ `;break;case"image":e=`
12
+ :host {
13
+ --emw-skeleton-image-width: ${this.stylingValue.width};
14
+ --emw-skeleton-image-height: ${this.stylingValue.height};
15
+ --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
16
+ --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
17
+ --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
18
+ --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
19
+ --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
20
+ }
21
+ `;break;case"title":e=`
22
+ :host {
23
+ --emw-skeleton-title-width: ${this.stylingValue.width};
24
+ --emw-skeleton-title-height: ${this.stylingValue.height};
25
+ --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
26
+ --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
27
+ --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
28
+ --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
29
+ --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
30
+ }
31
+ `;break;case"text":e=`
32
+ :host {
33
+ --emw-skeleton-text-width: ${this.stylingValue.width};
34
+ --emw-skeleton-text-height: ${this.stylingValue.height};
35
+ --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
36
+ --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
37
+ --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
38
+ --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
39
+ --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
40
+ }
41
+ `;break;case"rectangle":e=`
42
+ :host {
43
+ --emw-skeleton-rectangle-width: ${this.stylingValue.width};
44
+ --emw-skeleton-rectangle-height: ${this.stylingValue.height};
45
+ --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
46
+ --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
47
+ --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
48
+ --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
49
+ --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
50
+ }
51
+ `;break;case"circle":e=`
52
+ :host {
53
+ --emw-skeleton-circle-size: ${this.stylingValue.size};
54
+ }
55
+ `;break;default:e=""}return t.h(t.Host,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},t.h("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};n.style=s;exports.UiSkeleton=n;
@@ -1,7 +1,7 @@
1
- import { r, h as t, H as n } from "./index-b2193545-HC0t7mHa.js";
2
- const s = ":host{display:block}.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, 10px)}.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, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.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, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.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, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", a = s, l = class {
1
+ import { r as n, h as t, H as r } from "./index-b2193545-DsMHU6jb.js";
2
+ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{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, 10px)}.SkeletonCircle{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%}.SkeletonText{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, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{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, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{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, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", l = s, a = class {
3
3
  constructor(e) {
4
- r(this, e), this.stylingValue = {
4
+ n(this, e), this.stylingValue = {
5
5
  width: this.handleStylingProps(this.width),
6
6
  height: this.handleStylingProps(this.height),
7
7
  borderRadius: this.handleStylingProps(this.borderRadius),
@@ -46,22 +46,22 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
46
46
  }
47
47
  }
48
48
  renderLogo() {
49
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
49
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
50
50
  }
51
51
  renderImage() {
52
- return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
52
+ return t("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
53
53
  }
54
54
  renderTitle() {
55
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
55
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
56
56
  }
57
57
  renderText() {
58
- return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "Text " + (this.animation ? "Skeleton" : "") })));
58
+ return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
59
59
  }
60
60
  renderRectangle() {
61
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
61
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
62
62
  }
63
63
  renderCircle() {
64
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
64
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
65
65
  }
66
66
  render() {
67
67
  let e = "";
@@ -141,7 +141,7 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
141
141
  default:
142
142
  e = "";
143
143
  }
144
- return t(n, { key: "e6b885bfd985ce7663d990756fe9101e25eb97f0" }, t("style", { key: "06ae24c7bb74f4dacfc12ae58085333f9dc89da5" }, e), this.handleStructure(this.structure));
144
+ return t(r, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, t("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
145
145
  }
146
146
  static get watchers() {
147
147
  return {
@@ -149,7 +149,7 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
149
149
  };
150
150
  }
151
151
  };
152
- l.style = a;
152
+ a.style = l;
153
153
  export {
154
- l as U
154
+ a as U
155
155
  };
@@ -14,9 +14,9 @@ var n = (t, e, o) => new Promise((m, s) => {
14
14
  }, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(u, g);
15
15
  a((o = o.apply(t, e)).next());
16
16
  });
17
- import { b as p, p as l } from "./index-b2193545-BeKKnKhR.js";
17
+ import { b as p, p as l } from "./index-b2193545-DsMHU6jb.js";
18
18
  import { g as h } from "./app-globals-0f993ce5-D-kw1sls.js";
19
- import { U as k } from "./ui-skeleton-ae35c6f2-BDBUiN3S.js";
19
+ import { U as k } from "./ui-skeleton-ed169f8f-D3TjbVKy.js";
20
20
  var c = () => {
21
21
  const t = import.meta.url, e = {};
22
22
  return t !== "" && (e.resourcesUrl = new URL(".", t).href), l(e);
@@ -1,55 +0,0 @@
1
- "use strict";const t=require("./index-b2193545-YW9b062G.cjs"),r=":host{display:block}.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, 10px)}.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, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.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, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.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, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",s=r,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}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();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
2
- :host {
3
- --emw-skeleton-logo-width: ${this.stylingValue.width};
4
- --emw-skeleton-logo-height: ${this.stylingValue.height};
5
- --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
6
- --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
7
- --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
8
- --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
9
- --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
10
- }
11
- `;break;case"image":e=`
12
- :host {
13
- --emw-skeleton-image-width: ${this.stylingValue.width};
14
- --emw-skeleton-image-height: ${this.stylingValue.height};
15
- --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
16
- --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
17
- --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
18
- --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
19
- --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
20
- }
21
- `;break;case"title":e=`
22
- :host {
23
- --emw-skeleton-title-width: ${this.stylingValue.width};
24
- --emw-skeleton-title-height: ${this.stylingValue.height};
25
- --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
26
- --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
27
- --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
28
- --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
29
- --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
30
- }
31
- `;break;case"text":e=`
32
- :host {
33
- --emw-skeleton-text-width: ${this.stylingValue.width};
34
- --emw-skeleton-text-height: ${this.stylingValue.height};
35
- --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
36
- --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
37
- --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
38
- --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
39
- --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
40
- }
41
- `;break;case"rectangle":e=`
42
- :host {
43
- --emw-skeleton-rectangle-width: ${this.stylingValue.width};
44
- --emw-skeleton-rectangle-height: ${this.stylingValue.height};
45
- --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
46
- --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
47
- --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
48
- --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
49
- --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
50
- }
51
- `;break;case"circle":e=`
52
- :host {
53
- --emw-skeleton-circle-size: ${this.stylingValue.size};
54
- }
55
- `;break;default:e=""}return t.h(t.Host,{key:"e6b885bfd985ce7663d990756fe9101e25eb97f0"},t.h("style",{key:"06ae24c7bb74f4dacfc12ae58085333f9dc89da5"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};n.style=s;exports.UiSkeleton=n;