@everymatrix/casino-lobby 1.60.0 → 1.60.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.
Files changed (101) hide show
  1. package/components/{CasinoCalendar-Km8tdNHN.js → CasinoCalendar-BYTytQgJ.js} +690 -712
  2. package/components/{CasinoCalendar-6ncpIgng.js → CasinoCalendar-CI-C6zUY.js} +696 -718
  3. package/components/CasinoCalendar-DqS7aKva.cjs +22 -0
  4. package/components/{CasinoCalendarDailyDetails-CGaAU2gc.js → CasinoCalendarDailyDetails-DQB9Y3_Q.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-CsEZhtVE.cjs → CasinoCalendarDailyDetails-DUQWFLJJ.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-CAbwFBvZ.js → CasinoCalendarDailyDetails-Xi-Uo8v-.js} +48 -48
  7. package/components/{CasinoCalendarDailyItem-DSlC0F3s.cjs → CasinoCalendarDailyItem-CVt2FFo1.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-5aqnKIMr.js → CasinoCalendarDailyItem-CjRZKnnD.js} +41 -41
  9. package/components/{CasinoCalendarDailyItem-D_MTrKed.js → CasinoCalendarDailyItem-DC91__VM.js} +41 -41
  10. package/components/{CasinoCategoriesSlider-DRIsr69C.js → CasinoCategoriesSlider-C2jbyhRF.js} +65 -65
  11. package/components/{CasinoCategoriesSlider-DYab11Z3.js → CasinoCategoriesSlider-DZX7fAxD.js} +66 -66
  12. package/components/CasinoCategoriesSlider-i9BCUm8R.cjs +1 -0
  13. package/components/{CasinoCollectionsProviders-pk8jpLQt.js → CasinoCollectionsProviders-BRhnxud8.js} +114 -113
  14. package/components/{CasinoCollectionsProviders-B6occ8TF.cjs → CasinoCollectionsProviders-Beuct27Z.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-B7d5LuGP.js → CasinoCollectionsProviders-Fw278mB3.js} +73 -73
  16. package/components/{CasinoFavoritesSection-DIHre_7t.cjs → CasinoFavoritesSection-D1GhXv3a.cjs} +1 -1
  17. package/components/{CasinoFavoritesSection-BPeaXKGM.js → CasinoFavoritesSection-D32Mbv-O.js} +26 -26
  18. package/components/{CasinoFavoritesSection-D5EqqGMj.js → CasinoFavoritesSection-QS8imHGS.js} +26 -26
  19. package/components/{CasinoFilter-BWjq7W1e.js → CasinoFilter-BHLJqOwW.js} +235 -234
  20. package/components/CasinoFilter-Bg-VilMd.cjs +1 -0
  21. package/components/{CasinoFilter-BTof425X.js → CasinoFilter-Dt8GhenI.js} +246 -247
  22. package/components/{CasinoGamePage-ssKF-ZD1.js → CasinoGamePage-5moXxd0d.js} +741 -741
  23. package/components/{CasinoGamePage-D2huRBJX.cjs → CasinoGamePage-BmgERtPr.cjs} +6 -6
  24. package/components/{CasinoGamePage-Cp2CKRka.js → CasinoGamePage-D_TzJsC-.js} +742 -742
  25. package/components/{CasinoGameThumbnail-XbLpvdZ1.js → CasinoGameThumbnail-B9OLAJDP.js} +445 -429
  26. package/components/{CasinoGameThumbnail-Fwlc2vjJ.cjs → CasinoGameThumbnail-C-_VEhfz.cjs} +15 -15
  27. package/components/{CasinoGameThumbnail-CMvbY2cI.js → CasinoGameThumbnail-w6gElzrs.js} +522 -538
  28. package/components/{CasinoGamesCategorySection-DHyFvtM3.cjs → CasinoGamesCategorySection-B_kw0cnt.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-kZn6gz5M.js → CasinoGamesCategorySection-Bw_6-a2H.js} +247 -247
  30. package/components/{CasinoGamesCategorySection-Cgi_LzIk.js → CasinoGamesCategorySection-DdJnZPgm.js} +247 -247
  31. package/components/{CasinoJackpotBanner-DredUN6K.cjs → CasinoJackpotBanner-B_CnR3Kj.cjs} +1 -1
  32. package/components/{CasinoJackpotBanner-CuP8WP5Q.js → CasinoJackpotBanner-Dxq2Y_-S.js} +74 -74
  33. package/components/{CasinoJackpotBanner-Dl2rX6vI.js → CasinoJackpotBanner-UQaC63Zv.js} +69 -69
  34. package/components/{CasinoLastPlayedSection-DtfR0xRC.cjs → CasinoLastPlayedSection-CnwiqEWd.cjs} +1 -1
  35. package/components/{CasinoLastPlayedSection-NSl0yoZv.js → CasinoLastPlayedSection-D8w8f1qu.js} +43 -43
  36. package/components/{CasinoLastPlayedSection-BmYQ5e4f.js → CasinoLastPlayedSection-DF1qIy7A.js} +43 -43
  37. package/components/{CasinoLobby-Q5uhRd4e.js → CasinoLobby-Anq70pxB.js} +47 -47
  38. package/components/{CasinoLobby-CX4NLxiX.js → CasinoLobby-Br00KMpi.js} +45 -45
  39. package/components/{CasinoLobby-Bsmr_ax3.cjs → CasinoLobby-Da8EvOPn.cjs} +1 -1
  40. package/components/{CasinoModal-B9Gmdwc0.js → CasinoModal-BaV1FE12.js} +41 -41
  41. package/components/{CasinoModal-DLgyWFbs.js → CasinoModal-Bn6r73ff.js} +41 -41
  42. package/components/{CasinoModal-d1VUXUWj.cjs → CasinoModal-DWbCqr0p.cjs} +1 -1
  43. package/components/{CasinoMostPlayedSection-CtfOCgLC.js → CasinoMostPlayedSection-4nc9NISY.js} +50 -50
  44. package/components/{CasinoMostPlayedSection-C_ohqFyM.cjs → CasinoMostPlayedSection-CleRvEGW.cjs} +1 -1
  45. package/components/{CasinoMostPlayedSection-BCjRlbbD.js → CasinoMostPlayedSection-DEpCntHU.js} +50 -50
  46. package/components/{CasinoMyGames-CCejo695.cjs → CasinoMyGames-BeNdYI48.cjs} +1 -1
  47. package/components/{CasinoMyGames-B7uSkUNa.js → CasinoMyGames-Cqgayk3N.js} +50 -50
  48. package/components/{CasinoMyGames-DR5bMRpI.js → CasinoMyGames-Ls6PjVLx.js} +53 -53
  49. package/components/{CasinoPage-D67L8dJp.cjs → CasinoPage-86frPbmB.cjs} +1 -1
  50. package/components/{CasinoPage-D_LGB2VJ.js → CasinoPage-B_ulErY-.js} +93 -93
  51. package/components/{CasinoPage-Bvi4UG6U.js → CasinoPage-vykaQto-.js} +85 -85
  52. package/components/{CasinoRandomGame-CBcSHzZL.cjs → CasinoRandomGame-BO7BqLXA.cjs} +1 -1
  53. package/components/{CasinoRandomGame-CfOiAKHl.js → CasinoRandomGame-CsA5xgwc.js} +63 -63
  54. package/components/{CasinoRandomGame-CqripZYr.js → CasinoRandomGame-DLzqJj4x.js} +64 -64
  55. package/components/{CasinoSearch-Bdtzeemo.js → CasinoSearch-CyctCdxx.js} +73 -73
  56. package/components/{CasinoSearch-DgadCAWn.js → CasinoSearch-DcjbpUq_.js} +73 -73
  57. package/components/{CasinoSearch-BzqcnIfq.cjs → CasinoSearch-jq6HJhjW.cjs} +1 -1
  58. package/components/{CasinoSlider---x4M_hm.js → CasinoSlider-BmXppZ63.js} +86 -86
  59. package/components/{CasinoSlider-BsszznrS.cjs → CasinoSlider-Bo4dCvJT.cjs} +1 -1
  60. package/components/{CasinoSlider-PeKujgAE.js → CasinoSlider-DbK0-rGh.js} +96 -96
  61. package/components/{CasinoSort-C78a6veQ.cjs → CasinoSort-23PYwtO1.cjs} +1 -1
  62. package/components/{CasinoSort-xZsxfLYC.js → CasinoSort-B3A_Ar_A.js} +110 -111
  63. package/components/{CasinoSort-BRC8Jmi_.js → CasinoSort-DtUIrmuZ.js} +104 -103
  64. package/components/{CasinoWinners-DD8ZyQkV.js → CasinoWinners-CF_PptIS.js} +162 -162
  65. package/components/{CasinoWinners-BEOhs5WG.js → CasinoWinners-Gb2w2dXe.js} +179 -179
  66. package/components/{CasinoWinners-Cp1yMlzb.cjs → CasinoWinners-KEY7dD3z.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-CURVDkRT.js → GeneralAnimationLoading-8TvNjXay.js} +16 -16
  68. package/components/{GeneralAnimationLoading-Bl6_sP-d.cjs → GeneralAnimationLoading-B-6s0l9d.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-uswxvfCW.js → GeneralAnimationLoading-Bbxdne1m.js} +16 -16
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-Bk7toWLj.js → casino-play-random-game-CLSQBVzD.js} +2 -2
  75. package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-CdZKN03s.cjs} +2 -2
  76. package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-Dm8A9dTR.js} +2 -2
  77. package/stencil/index-ab3202d6-C1hgKWrC.cjs +1 -0
  78. package/stencil/index-ab3202d6-OPh7hJp9.js +575 -0
  79. package/stencil/index-ab3202d6-hGs51skN.js +559 -0
  80. package/stencil/index-b2193545-DCd44oUP.cjs +1 -0
  81. package/stencil/index-b2193545-MPc38oBt.js +503 -0
  82. package/stencil/index-b2193545-lFMF9wMV.js +519 -0
  83. package/stencil/{ui-skeleton-C02hm1pt.js → ui-skeleton-0M0DsgcH.js} +12 -12
  84. package/stencil/{ui-skeleton-DET4YE0J.js → ui-skeleton-DGBcSK-r.js} +6 -6
  85. package/stencil/ui-skeleton-Dt8jS6rz.cjs +1 -0
  86. package/stencil/ui-skeleton-ea659b95-Denrk3xZ.js +152 -0
  87. package/stencil/ui-skeleton-ea659b95-DoJviCLo.cjs +73 -0
  88. package/stencil/ui-skeleton-ea659b95-Doo7piTc.js +152 -0
  89. package/components/CasinoCalendar-CkNAiTx8.cjs +0 -22
  90. package/components/CasinoCategoriesSlider-_X531XfJ.cjs +0 -1
  91. package/components/CasinoFilter-C2Q93qQz.cjs +0 -1
  92. package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
  93. package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
  94. package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
  95. package/stencil/index-ae04a8b1-BvZmaj3p.js +0 -532
  96. package/stencil/index-ae04a8b1-DoeYpoC5.js +0 -516
  97. package/stencil/index-ae04a8b1-OBbo8Dzb.cjs +0 -1
  98. package/stencil/ui-skeleton-DlNNnOZy.cjs +0 -1
  99. package/stencil/ui-skeleton-a642cced-7C4Fyb2d.js +0 -122
  100. package/stencil/ui-skeleton-a642cced-BhVS1i2r.cjs +0 -1
  101. package/stencil/ui-skeleton-a642cced-Dn9GOtgo.js +0 -122
@@ -1 +0,0 @@
1
- "use strict";const r=require("./index-ae04a8b1-OBbo8Dzb.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,122 +0,0 @@
1
- import { r as o, h as r } from "./index-ae04a8b1-BvZmaj3p.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
- };