@everymatrix/casino-lobby 1.62.0 → 1.62.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 (127) hide show
  1. package/components/CasinoCalendar-C8B0eACb.cjs +22 -0
  2. package/components/{CasinoCalendar-DwNK-Krf.js → CasinoCalendar-izYyDxua.js} +873 -852
  3. package/components/{CasinoCalendar-Ds_auLbt.js → CasinoCalendar-lTuMef5g.js} +1099 -1078
  4. package/components/{CasinoCalendarDailyDetails-C_XI9wqh.js → CasinoCalendarDailyDetails-BO_acJjS.js} +49 -49
  5. package/components/{CasinoCalendarDailyDetails-Bsp_M9tm.js → CasinoCalendarDailyDetails-BRtsgmSz.js} +49 -49
  6. package/components/{CasinoCalendarDailyDetails-CfPB55Pq.cjs → CasinoCalendarDailyDetails-DB-0YZ9U.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-DX4mmW--.js → CasinoCalendarDailyItem-CE-i7Rjk.js} +33 -33
  8. package/components/{CasinoCalendarDailyItem-BZFRiT1-.js → CasinoCalendarDailyItem-CearDjmk.js} +33 -33
  9. package/components/{CasinoCalendarDailyItem-DKNNV9h9.cjs → CasinoCalendarDailyItem-DAkal_aw.cjs} +1 -1
  10. package/components/{CasinoCategoriesSlider-BpGXCaMb.js → CasinoCategoriesSlider-CbZRQLJS.js} +71 -71
  11. package/components/{CasinoCategoriesSlider-3nT06xt_.js → CasinoCategoriesSlider-CtsT7oWX.js} +70 -70
  12. package/components/CasinoCategoriesSlider-DtDec725.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-Bs5ioZVG.cjs +1 -0
  14. package/components/{CasinoCollectionsProviders-Dk4psn1e.js → CasinoCollectionsProviders-BsANDUWq.js} +77 -77
  15. package/components/{CasinoCollectionsProviders-BGPURFbw.js → CasinoCollectionsProviders-C6vH48GA.js} +58 -58
  16. package/components/{CasinoFavoritesSection-Bc0fMYjF.js → CasinoFavoritesSection-6WkSSin3.js} +23 -23
  17. package/components/{CasinoFavoritesSection-C0CsEcw_.js → CasinoFavoritesSection-Binip-ga.js} +23 -23
  18. package/components/{CasinoFavoritesSection-vRmZpBaX.cjs → CasinoFavoritesSection-Xa7P63xe.cjs} +1 -1
  19. package/components/CasinoFilter-Dg58c3Om.cjs +1 -0
  20. package/components/CasinoFilter-N8qvxcNm.js +645 -0
  21. package/components/CasinoFilter-xLSNxOV2.js +644 -0
  22. package/components/{CasinoGamePage-DJvIg2Lf.js → CasinoGamePage-AxIvVXWI.js} +746 -746
  23. package/components/{CasinoGamePage-JBZLEvnG.js → CasinoGamePage-DJFhafR6.js} +783 -783
  24. package/components/{CasinoGamePage-ChuDdD-6.cjs → CasinoGamePage-DQL-yFsp.cjs} +6 -6
  25. package/components/CasinoGameThumbnail-BjLYh64K.js +1836 -0
  26. package/components/CasinoGameThumbnail-CYUpL3dx.cjs +38 -0
  27. package/components/CasinoGameThumbnail-dOxN1fba.js +1852 -0
  28. package/components/{CasinoGamesCategorySection-foSq_Gr6.js → CasinoGamesCategorySection-BUxtHhON.js} +249 -249
  29. package/components/{CasinoGamesCategorySection-GOjPf7-0.cjs → CasinoGamesCategorySection-C0zpuZl3.cjs} +1 -1
  30. package/components/{CasinoGamesCategorySection-Ch0WIANe.js → CasinoGamesCategorySection-pmibtuJd.js} +332 -332
  31. package/components/{CasinoJackpotBanner-Iq9Ey3dk.js → CasinoJackpotBanner-CdjXlJzV.js} +131 -131
  32. package/components/{CasinoJackpotBanner-B2CksgLI.js → CasinoJackpotBanner-DcU4dn5c.js} +163 -163
  33. package/components/CasinoJackpotBanner-DkGsDt5a.cjs +1 -0
  34. package/components/{CasinoLastPlayedSection-DbANdFuL.js → CasinoLastPlayedSection-BP5rPSQ_.js} +46 -46
  35. package/components/{CasinoLastPlayedSection-cmf92qRb.cjs → CasinoLastPlayedSection-D0h-rsdy.cjs} +1 -1
  36. package/components/{CasinoLastPlayedSection-Bp4Lsv3s.js → CasinoLastPlayedSection-vlivUYOC.js} +46 -46
  37. package/components/{CasinoLobby-siRHhGuy.js → CasinoLobby-CPaRNRtp.js} +74 -74
  38. package/components/{CasinoLobby-B8ucHOFp.js → CasinoLobby-CyDr4hqy.js} +73 -73
  39. package/components/{CasinoLobby-CAeLQ5BE.cjs → CasinoLobby-Ds5HlH8Y.cjs} +1 -1
  40. package/components/{CasinoModal-DGa_AIvk.cjs → CasinoModal-Cr5ZiTlh.cjs} +1 -1
  41. package/components/{CasinoModal-Pt4nHM76.js → CasinoModal-D9IpMDiG.js} +43 -43
  42. package/components/{CasinoModal-e0s3ToYA.js → CasinoModal-Dk3TnqEW.js} +43 -43
  43. package/components/{CasinoMostPlayedSection-Dk8rng9q.js → CasinoMostPlayedSection-20MO7enx.js} +44 -44
  44. package/components/{CasinoMostPlayedSection-DuO2XrE8.js → CasinoMostPlayedSection-CbfiaETY.js} +44 -44
  45. package/components/{CasinoMostPlayedSection-Cxmg0Bai.cjs → CasinoMostPlayedSection-D26xQEsr.cjs} +1 -1
  46. package/components/{CasinoMyGames-BXV5DJsV.cjs → CasinoMyGames-BpDT9BLf.cjs} +1 -1
  47. package/components/{CasinoMyGames-ZgZazIms.js → CasinoMyGames-CFxQ8X8x.js} +47 -47
  48. package/components/{CasinoMyGames-DDhJiodD.js → CasinoMyGames-CadZECEx.js} +51 -51
  49. package/components/{CasinoPage-QkYfyrIK.cjs → CasinoPage-CqUxa6JX.cjs} +1 -1
  50. package/components/{CasinoPage-BfG57-mo.js → CasinoPage-DFLtQdP3.js} +77 -77
  51. package/components/{CasinoPage-DlenCL5e.js → CasinoPage-jKeNqwgL.js} +77 -77
  52. package/components/{CasinoRandomGame-C-KByRhW.js → CasinoRandomGame-CMMdb6MX.js} +201 -202
  53. package/components/CasinoRandomGame-CQSoF_L9.cjs +2 -0
  54. package/components/{CasinoRandomGame-CFxey-Hj.js → CasinoRandomGame-Dfk5ExSm.js} +165 -166
  55. package/components/{CasinoSearch-BjnGir-z.js → CasinoSearch-B-DNLDkb.js} +69 -69
  56. package/components/{CasinoSearch-Ci-NvpMW.cjs → CasinoSearch-CBYRtC_2.cjs} +1 -1
  57. package/components/{CasinoSearch-Cwi_srKc.js → CasinoSearch-ulzQNNP2.js} +69 -69
  58. package/components/CasinoSlider-Bvy9S6qQ.cjs +1 -0
  59. package/components/{CasinoSlider-39QtmWWi.js → CasinoSlider-DCODvBVc.js} +177 -178
  60. package/components/{CasinoSlider-C7tccz8y.js → CasinoSlider-M-ePf6YF.js} +228 -229
  61. package/components/{CasinoSort-Big21575.cjs → CasinoSort-CMyP4b81.cjs} +1 -1
  62. package/components/{CasinoSort-DgtkEGDb.js → CasinoSort-Cz8W-yKd.js} +110 -111
  63. package/components/{CasinoSort-BvuV6OEx.js → CasinoSort-DJlRNRiq.js} +104 -103
  64. package/components/{CasinoWinners-CUHNrZzd.js → CasinoWinners-B11A2z1V.js} +138 -138
  65. package/components/{CasinoWinners-CAaxaJlt.js → CasinoWinners-B44zvyCP.js} +151 -151
  66. package/components/{CasinoWinners-YGc-x05i.cjs → CasinoWinners-CTbjyBxP.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-DgYbDns-.js → GeneralAnimationLoading-N8PSBBga.js} +18 -18
  68. package/components/{GeneralAnimationLoading-DS00gkfg.cjs → GeneralAnimationLoading-s32ZAU4z.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-GRiNTyhV.js → GeneralAnimationLoading-yZge1VnD.js} +18 -18
  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-C7EJAFXg.js → casino-play-random-game-6EpPs13y.js} +2 -2
  75. package/stencil/{casino-play-random-game-BXqbLgi6.js → casino-play-random-game-BUvMKyaw.js} +2 -2
  76. package/stencil/{casino-play-random-game-DjzHFI4S.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  77. package/stencil/index-97d17652-CCalHFFZ.js +558 -0
  78. package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
  79. package/stencil/index-97d17652-De_e2iwD.js +542 -0
  80. package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
  81. package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
  82. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
  83. package/stencil/index-b2193545-60VR4wV3.js +519 -0
  84. package/stencil/index-b2193545-LYFajSbf.js +503 -0
  85. package/stencil/index-b2193545-nJb2J-aJ.cjs +1 -0
  86. package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
  87. package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
  88. package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
  89. package/stencil/ui-image-CUjXE1FQ.js +25 -0
  90. package/stencil/ui-image-DO4by88q.js +7 -0
  91. package/stencil/ui-image-DgVuZYOM.cjs +1 -0
  92. package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
  93. package/stencil/ui-image_2-BcBI-Hq7.js +154 -0
  94. package/stencil/ui-image_2-CIsvIZfV.js +154 -0
  95. package/stencil/{ui-skeleton-6d1c12ae-CrQ3Yom_.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +4 -4
  96. package/stencil/{ui-skeleton-6d1c12ae-C2t65ZQ6.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +2 -2
  97. package/stencil/{ui-skeleton-6d1c12ae-D9cBvSa8.js → ui-skeleton-1cb75d00-D5AevndQ.js} +4 -4
  98. package/stencil/{ui-skeleton-BEBLuDwu.js → ui-skeleton-CDhNSEbX.js} +2 -2
  99. package/stencil/{ui-skeleton-D595e_7Y.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
  100. package/stencil/{ui-skeleton-Z7IcB7dJ.js → ui-skeleton-D5ACyLBl.js} +2 -2
  101. package/components/CasinoCalendar-mfnJr7FR.cjs +0 -22
  102. package/components/CasinoCategoriesSlider-BcnId76H.cjs +0 -1
  103. package/components/CasinoCollectionsProviders-By4Ga1uR.cjs +0 -1
  104. package/components/CasinoFilter-CAtpk4a4.js +0 -645
  105. package/components/CasinoFilter-CtjgbEie.js +0 -646
  106. package/components/CasinoFilter-dn8i37bN.cjs +0 -1
  107. package/components/CasinoGameThumbnail-DjAdZZBA.js +0 -1883
  108. package/components/CasinoGameThumbnail-DrQpg0EE.js +0 -1867
  109. package/components/CasinoGameThumbnail-Ue2ReDmO.cjs +0 -38
  110. package/components/CasinoJackpotBanner-B_eZxp_D.cjs +0 -1
  111. package/components/CasinoRandomGame-Cs9kjDxc.cjs +0 -2
  112. package/components/CasinoSlider-DrdLTNh9.cjs +0 -1
  113. package/stencil/index-ab3202d6-CMLJROQf.cjs +0 -1
  114. package/stencil/index-ab3202d6-CqQYxn8J.js +0 -575
  115. package/stencil/index-ab3202d6-D5caeC50.js +0 -559
  116. package/stencil/index-b2193545-CJX9lIo2.js +0 -519
  117. package/stencil/index-b2193545-CbB5TWd2.js +0 -503
  118. package/stencil/index-b2193545-DQd_Uk3t.cjs +0 -1
  119. package/stencil/index-b7bbd57e-BO976FKE.js +0 -534
  120. package/stencil/index-b7bbd57e-CRts68dn.cjs +0 -1
  121. package/stencil/index-b7bbd57e-ChiHMF5W.js +0 -550
  122. package/stencil/ui-image-38c3c15f-C4x7O9FA.js +0 -39
  123. package/stencil/ui-image-38c3c15f-DQqFo7p2.cjs +0 -1
  124. package/stencil/ui-image-38c3c15f-DY2A0QkK.js +0 -39
  125. package/stencil/ui-image-CzWACXX6.js +0 -11
  126. package/stencil/ui-image-c5YAxRRi.cjs +0 -1
  127. package/stencil/ui-image-shmNN3yX.js +0 -29
@@ -0,0 +1,73 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./ui-image-3911756b-B-U8CxGn.cjs"),t=require("./index-97d17652-CeszPuI-.cjs"),n=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.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,o=class{constructor(e){t.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,r){r!==e&&this.handleStructure(e)}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,r)=>t.h("div",{key:r,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.width};
4
+ --emw-skeleton-logo-height: ${this.height};
5
+ --emw-skeleton-logo-border-radius: ${this.borderRadius}px;
6
+ --emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
7
+ --emw-skeleton-logo-margin-top: ${this.marginTop}px;
8
+ --emw-skeleton-logo-margin-left: ${this.marginLeft}px;
9
+ --emw-skeleton-logo-margin-right: ${this.marginRight}px;
10
+ --emw-skeleton-logo-background: ${this.color};
11
+ --emw-skeleton-primary-color: ${this.primaryColor};
12
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
13
+ }
14
+ `;break;case"image":e=`
15
+ :host {
16
+ --emw-skeleton-image-width: ${this.width};
17
+ --emw-skeleton-image-height: ${this.height};
18
+ --emw-skeleton-image-border-radius: ${this.borderRadius}px;
19
+ --emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
20
+ --emw-skeleton-image-margin-top: ${this.marginTop}px;
21
+ --emw-skeleton-image-margin-left: ${this.marginLeft}px;
22
+ --emw-skeleton-image-margin-right: ${this.marginRight}px;
23
+ --emw-skeleton-image-background: ${this.color};
24
+ --emw-skeleton-primary-color: ${this.primaryColor};
25
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
26
+ }
27
+ `;break;case"title":e=`
28
+ :host {
29
+ --emw-skeleton-title-width: ${this.width};
30
+ --emw-skeleton-title-height: ${this.height};
31
+ --emw-skeleton-title-border-radius: ${this.borderRadius}px;
32
+ --emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
33
+ --emw-skeleton-title-margin-top: ${this.marginTop}px;
34
+ --emw-skeleton-title-margin-left: ${this.marginLeft}px;
35
+ --emw-skeleton-title-margin-right: ${this.marginRight}px;
36
+ --emw-skeleton-title-background: ${this.color};
37
+ --emw-skeleton-primary-color: ${this.primaryColor};
38
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
39
+ }
40
+ `;break;case"text":e=`
41
+ :host {
42
+ --emw-skeleton-text-width: ${this.width};
43
+ --emw-skeleton-text-height: ${this.height};
44
+ --emw-skeleton-text-border-radius: ${this.borderRadius}px;
45
+ --emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
46
+ --emw-skeleton-text-margin-top: ${this.marginTop}px;
47
+ --emw-skeleton-text-margin-left: ${this.marginLeft}px;
48
+ --emw-skeleton-text-margin-right: ${this.marginRight}px;
49
+ --emw-skeleton-text-background: ${this.color};
50
+ --emw-skeleton-primary-color: ${this.primaryColor};
51
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
52
+ }
53
+ `;break;case"rectangle":e=`
54
+ :host {
55
+ --emw-skeleton-rectangle-width: ${this.width};
56
+ --emw-skeleton-rectangle-height: ${this.height};
57
+ --emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
58
+ --emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
59
+ --emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
60
+ --emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
61
+ --emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
62
+ --emw-skeleton-rectangle-background: ${this.color};
63
+ --emw-skeleton-primary-color: ${this.primaryColor};
64
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
65
+ }
66
+ `;break;case"circle":e=`
67
+ :host {
68
+ --emw-skeleton-circle-size: ${this.size};
69
+ --emw-skeleton-circle-background: ${this.color};
70
+ --emw-skeleton-primary-color: ${this.primaryColor};
71
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
72
+ }
73
+ `;break;default:e=""}return t.h(t.Host,{key:"3bb792a149db7fe732d5cbfa092cdb4d6ca0689e"},t.h("style",{key:"a4607599b60659f385ae2660513e38b383739674"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};o.style=s;exports.ui_image=i.UiImage;exports.ui_skeleton=o;
@@ -0,0 +1,154 @@
1
+ import { U as h } from "./ui-image-3911756b-D1cmuQAe.js";
2
+ import { r as o, h as t, H as i } from "./index-97d17652-CCalHFFZ.js";
3
+ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.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 {
4
+ constructor(e) {
5
+ 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;
6
+ }
7
+ handleStructureChange(e, r) {
8
+ r !== e && this.handleStructure(e);
9
+ }
10
+ handleStructure(e) {
11
+ switch (e) {
12
+ case "logo":
13
+ return this.renderLogo();
14
+ case "image":
15
+ return this.renderImage();
16
+ case "title":
17
+ return this.renderTitle();
18
+ case "text":
19
+ return this.renderText();
20
+ case "rectangle":
21
+ return this.renderRectangle();
22
+ case "circle":
23
+ return this.renderCircle();
24
+ default:
25
+ return null;
26
+ }
27
+ }
28
+ renderLogo() {
29
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
30
+ }
31
+ renderImage() {
32
+ return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
33
+ }
34
+ renderTitle() {
35
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
36
+ }
37
+ renderText() {
38
+ return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, r) => t("div", { key: r, class: "Text " + (this.animation ? "Skeleton" : "") })));
39
+ }
40
+ renderRectangle() {
41
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
42
+ }
43
+ renderCircle() {
44
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
45
+ }
46
+ render() {
47
+ let e = "";
48
+ switch (this.structure) {
49
+ case "logo":
50
+ e = `
51
+ :host {
52
+ --emw-skeleton-logo-width: ${this.width};
53
+ --emw-skeleton-logo-height: ${this.height};
54
+ --emw-skeleton-logo-border-radius: ${this.borderRadius}px;
55
+ --emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
56
+ --emw-skeleton-logo-margin-top: ${this.marginTop}px;
57
+ --emw-skeleton-logo-margin-left: ${this.marginLeft}px;
58
+ --emw-skeleton-logo-margin-right: ${this.marginRight}px;
59
+ --emw-skeleton-logo-background: ${this.color};
60
+ --emw-skeleton-primary-color: ${this.primaryColor};
61
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
62
+ }
63
+ `;
64
+ break;
65
+ case "image":
66
+ e = `
67
+ :host {
68
+ --emw-skeleton-image-width: ${this.width};
69
+ --emw-skeleton-image-height: ${this.height};
70
+ --emw-skeleton-image-border-radius: ${this.borderRadius}px;
71
+ --emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
72
+ --emw-skeleton-image-margin-top: ${this.marginTop}px;
73
+ --emw-skeleton-image-margin-left: ${this.marginLeft}px;
74
+ --emw-skeleton-image-margin-right: ${this.marginRight}px;
75
+ --emw-skeleton-image-background: ${this.color};
76
+ --emw-skeleton-primary-color: ${this.primaryColor};
77
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
78
+ }
79
+ `;
80
+ break;
81
+ case "title":
82
+ e = `
83
+ :host {
84
+ --emw-skeleton-title-width: ${this.width};
85
+ --emw-skeleton-title-height: ${this.height};
86
+ --emw-skeleton-title-border-radius: ${this.borderRadius}px;
87
+ --emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
88
+ --emw-skeleton-title-margin-top: ${this.marginTop}px;
89
+ --emw-skeleton-title-margin-left: ${this.marginLeft}px;
90
+ --emw-skeleton-title-margin-right: ${this.marginRight}px;
91
+ --emw-skeleton-title-background: ${this.color};
92
+ --emw-skeleton-primary-color: ${this.primaryColor};
93
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
94
+ }
95
+ `;
96
+ break;
97
+ case "text":
98
+ e = `
99
+ :host {
100
+ --emw-skeleton-text-width: ${this.width};
101
+ --emw-skeleton-text-height: ${this.height};
102
+ --emw-skeleton-text-border-radius: ${this.borderRadius}px;
103
+ --emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
104
+ --emw-skeleton-text-margin-top: ${this.marginTop}px;
105
+ --emw-skeleton-text-margin-left: ${this.marginLeft}px;
106
+ --emw-skeleton-text-margin-right: ${this.marginRight}px;
107
+ --emw-skeleton-text-background: ${this.color};
108
+ --emw-skeleton-primary-color: ${this.primaryColor};
109
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
110
+ }
111
+ `;
112
+ break;
113
+ case "rectangle":
114
+ e = `
115
+ :host {
116
+ --emw-skeleton-rectangle-width: ${this.width};
117
+ --emw-skeleton-rectangle-height: ${this.height};
118
+ --emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
119
+ --emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
120
+ --emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
121
+ --emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
122
+ --emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
123
+ --emw-skeleton-rectangle-background: ${this.color};
124
+ --emw-skeleton-primary-color: ${this.primaryColor};
125
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
126
+ }
127
+ `;
128
+ break;
129
+ case "circle":
130
+ e = `
131
+ :host {
132
+ --emw-skeleton-circle-size: ${this.size};
133
+ --emw-skeleton-circle-background: ${this.color};
134
+ --emw-skeleton-primary-color: ${this.primaryColor};
135
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
136
+ }
137
+ `;
138
+ break;
139
+ default:
140
+ e = "";
141
+ }
142
+ return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
143
+ }
144
+ static get watchers() {
145
+ return {
146
+ structure: ["handleStructureChange"]
147
+ };
148
+ }
149
+ };
150
+ a.style = s;
151
+ export {
152
+ h as ui_image,
153
+ a as ui_skeleton
154
+ };
@@ -0,0 +1,154 @@
1
+ import { U as h } from "./ui-image-3911756b-C-PJ3oso.js";
2
+ import { r as o, h as t, H as i } from "./index-97d17652-De_e2iwD.js";
3
+ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.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 {
4
+ constructor(e) {
5
+ 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;
6
+ }
7
+ handleStructureChange(e, r) {
8
+ r !== e && this.handleStructure(e);
9
+ }
10
+ handleStructure(e) {
11
+ switch (e) {
12
+ case "logo":
13
+ return this.renderLogo();
14
+ case "image":
15
+ return this.renderImage();
16
+ case "title":
17
+ return this.renderTitle();
18
+ case "text":
19
+ return this.renderText();
20
+ case "rectangle":
21
+ return this.renderRectangle();
22
+ case "circle":
23
+ return this.renderCircle();
24
+ default:
25
+ return null;
26
+ }
27
+ }
28
+ renderLogo() {
29
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
30
+ }
31
+ renderImage() {
32
+ return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
33
+ }
34
+ renderTitle() {
35
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
36
+ }
37
+ renderText() {
38
+ return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, r) => t("div", { key: r, class: "Text " + (this.animation ? "Skeleton" : "") })));
39
+ }
40
+ renderRectangle() {
41
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
42
+ }
43
+ renderCircle() {
44
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
45
+ }
46
+ render() {
47
+ let e = "";
48
+ switch (this.structure) {
49
+ case "logo":
50
+ e = `
51
+ :host {
52
+ --emw-skeleton-logo-width: ${this.width};
53
+ --emw-skeleton-logo-height: ${this.height};
54
+ --emw-skeleton-logo-border-radius: ${this.borderRadius}px;
55
+ --emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
56
+ --emw-skeleton-logo-margin-top: ${this.marginTop}px;
57
+ --emw-skeleton-logo-margin-left: ${this.marginLeft}px;
58
+ --emw-skeleton-logo-margin-right: ${this.marginRight}px;
59
+ --emw-skeleton-logo-background: ${this.color};
60
+ --emw-skeleton-primary-color: ${this.primaryColor};
61
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
62
+ }
63
+ `;
64
+ break;
65
+ case "image":
66
+ e = `
67
+ :host {
68
+ --emw-skeleton-image-width: ${this.width};
69
+ --emw-skeleton-image-height: ${this.height};
70
+ --emw-skeleton-image-border-radius: ${this.borderRadius}px;
71
+ --emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
72
+ --emw-skeleton-image-margin-top: ${this.marginTop}px;
73
+ --emw-skeleton-image-margin-left: ${this.marginLeft}px;
74
+ --emw-skeleton-image-margin-right: ${this.marginRight}px;
75
+ --emw-skeleton-image-background: ${this.color};
76
+ --emw-skeleton-primary-color: ${this.primaryColor};
77
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
78
+ }
79
+ `;
80
+ break;
81
+ case "title":
82
+ e = `
83
+ :host {
84
+ --emw-skeleton-title-width: ${this.width};
85
+ --emw-skeleton-title-height: ${this.height};
86
+ --emw-skeleton-title-border-radius: ${this.borderRadius}px;
87
+ --emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
88
+ --emw-skeleton-title-margin-top: ${this.marginTop}px;
89
+ --emw-skeleton-title-margin-left: ${this.marginLeft}px;
90
+ --emw-skeleton-title-margin-right: ${this.marginRight}px;
91
+ --emw-skeleton-title-background: ${this.color};
92
+ --emw-skeleton-primary-color: ${this.primaryColor};
93
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
94
+ }
95
+ `;
96
+ break;
97
+ case "text":
98
+ e = `
99
+ :host {
100
+ --emw-skeleton-text-width: ${this.width};
101
+ --emw-skeleton-text-height: ${this.height};
102
+ --emw-skeleton-text-border-radius: ${this.borderRadius}px;
103
+ --emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
104
+ --emw-skeleton-text-margin-top: ${this.marginTop}px;
105
+ --emw-skeleton-text-margin-left: ${this.marginLeft}px;
106
+ --emw-skeleton-text-margin-right: ${this.marginRight}px;
107
+ --emw-skeleton-text-background: ${this.color};
108
+ --emw-skeleton-primary-color: ${this.primaryColor};
109
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
110
+ }
111
+ `;
112
+ break;
113
+ case "rectangle":
114
+ e = `
115
+ :host {
116
+ --emw-skeleton-rectangle-width: ${this.width};
117
+ --emw-skeleton-rectangle-height: ${this.height};
118
+ --emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
119
+ --emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
120
+ --emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
121
+ --emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
122
+ --emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
123
+ --emw-skeleton-rectangle-background: ${this.color};
124
+ --emw-skeleton-primary-color: ${this.primaryColor};
125
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
126
+ }
127
+ `;
128
+ break;
129
+ case "circle":
130
+ e = `
131
+ :host {
132
+ --emw-skeleton-circle-size: ${this.size};
133
+ --emw-skeleton-circle-background: ${this.color};
134
+ --emw-skeleton-primary-color: ${this.primaryColor};
135
+ --emw-skeleton-secondary-color: ${this.secondaryColor};
136
+ }
137
+ `;
138
+ break;
139
+ default:
140
+ e = "";
141
+ }
142
+ return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
143
+ }
144
+ static get watchers() {
145
+ return {
146
+ structure: ["handleStructureChange"]
147
+ };
148
+ }
149
+ };
150
+ a.style = s;
151
+ export {
152
+ h as ui_image,
153
+ a as ui_skeleton
154
+ };
@@ -1,5 +1,5 @@
1
- import { r as o, h as t, H as i } from "./index-b2193545-CJX9lIo2.js";
2
- const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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 {
1
+ import { r as o, h as t, H as i } from "./index-b2193545-LYFajSbf.js";
2
+ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.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
3
  constructor(e) {
4
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
  }
@@ -28,7 +28,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
28
28
  return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
29
29
  }
30
30
  renderImage() {
31
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Image " + (this.animation ? "Skeleton" : "") }));
31
+ return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
32
32
  }
33
33
  renderTitle() {
34
34
  return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
@@ -138,7 +138,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
138
138
  default:
139
139
  e = "";
140
140
  }
141
- return t(i, { key: "0641e666452d2172c26ed238d236c2ca3db9f8ed" }, t("style", { key: "285fb8210d32aff7f99005627fdecf36f66e82a4" }, e), this.handleStructure(this.structure));
141
+ return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
142
142
  }
143
143
  static get watchers() {
144
144
  return {
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("./index-b2193545-DQd_Uk3t.cjs"),i=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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=i,o=class{constructor(e){t.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,r){r!==e&&this.handleStructure(e)}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:"SkeletonContainer"},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,r)=>t.h("div",{key:r,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=`
1
+ "use strict";const t=require("./index-b2193545-nJb2J-aJ.cjs"),i=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.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=i,o=class{constructor(e){t.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,r){r!==e&&this.handleStructure(e)}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,r)=>t.h("div",{key:r,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
2
  :host {
3
3
  --emw-skeleton-logo-width: ${this.width};
4
4
  --emw-skeleton-logo-height: ${this.height};
@@ -70,4 +70,4 @@
70
70
  --emw-skeleton-primary-color: ${this.primaryColor};
71
71
  --emw-skeleton-secondary-color: ${this.secondaryColor};
72
72
  }
73
- `;break;default:e=""}return t.h(t.Host,{key:"0641e666452d2172c26ed238d236c2ca3db9f8ed"},t.h("style",{key:"285fb8210d32aff7f99005627fdecf36f66e82a4"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};o.style=n;exports.UiSkeleton=o;
73
+ `;break;default:e=""}return t.h(t.Host,{key:"3bb792a149db7fe732d5cbfa092cdb4d6ca0689e"},t.h("style",{key:"a4607599b60659f385ae2660513e38b383739674"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};o.style=n;exports.UiSkeleton=o;
@@ -1,5 +1,5 @@
1
- import { r as o, h as t, H as i } from "./index-b2193545-CbB5TWd2.js";
2
- const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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 {
1
+ import { r as o, h as t, H as i } from "./index-b2193545-60VR4wV3.js";
2
+ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.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
3
  constructor(e) {
4
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
  }
@@ -28,7 +28,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
28
28
  return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
29
29
  }
30
30
  renderImage() {
31
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Image " + (this.animation ? "Skeleton" : "") }));
31
+ return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
32
32
  }
33
33
  renderTitle() {
34
34
  return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
@@ -138,7 +138,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
138
138
  default:
139
139
  e = "";
140
140
  }
141
- return t(i, { key: "0641e666452d2172c26ed238d236c2ca3db9f8ed" }, t("style", { key: "285fb8210d32aff7f99005627fdecf36f66e82a4" }, e), this.handleStructure(this.structure));
141
+ return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
142
142
  }
143
143
  static get watchers() {
144
144
  return {
@@ -14,9 +14,9 @@ var n = (o, t, e) => new Promise((m, s) => {
14
14
  }, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(l, u);
15
15
  a((e = e.apply(o, t)).next());
16
16
  });
17
- import { b as p, p as c } from "./index-b2193545-CJX9lIo2.js";
17
+ import { b as p, p as c } from "./index-b2193545-60VR4wV3.js";
18
18
  import { b as g } from "./app-globals-0f993ce5-DfNOCk8l.js";
19
- import { U as R } from "./ui-skeleton-6d1c12ae-CrQ3Yom_.js";
19
+ import { U as R } from "./ui-skeleton-1cb75d00-D5AevndQ.js";
20
20
  var h = () => {
21
21
  const o = import.meta.url, t = {};
22
22
  return o !== "" && (t.resourcesUrl = new URL(".", o).href), c(t);
@@ -1 +1 @@
1
- "use strict";var c=(r,t,o)=>new Promise((l,s)=>{var m=e=>{try{n(o.next(e))}catch(i){s(i)}},d=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-b2193545-DQd_Uk3t.cjs"),p=require("./app-globals-0f993ce5-4b17CI_n.cjs"),g=require("./ui-skeleton-6d1c12ae-C2t65ZQ6.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-D595e_7Y.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};f().then(r=>c(exports,null,function*(){return yield p.globalScripts$2(),u.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[2,"border-radius"],marginBottom:[2,"margin-bottom"],marginTop:[2,"margin-top"],marginLeft:[2,"margin-left"],marginRight:[2,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;
1
+ "use strict";var c=(r,t,o)=>new Promise((l,s)=>{var m=e=>{try{n(o.next(e))}catch(i){s(i)}},d=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-b2193545-nJb2J-aJ.cjs"),p=require("./app-globals-0f993ce5-4b17CI_n.cjs"),g=require("./ui-skeleton-1cb75d00-C9ZtbYpX.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-CUmVjhrn.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};f().then(r=>c(exports,null,function*(){return yield p.globalScripts$2(),u.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[2,"border-radius"],marginBottom:[2,"margin-bottom"],marginTop:[2,"margin-top"],marginLeft:[2,"margin-left"],marginRight:[2,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;
@@ -1,6 +1,6 @@
1
- import { b as t, p as e } from "./index-b2193545-CbB5TWd2.js";
1
+ import { b as t, p as e } from "./index-b2193545-LYFajSbf.js";
2
2
  import { b as a } from "./app-globals-0f993ce5-DfNOCk8l.js";
3
- import { U as u } from "./ui-skeleton-6d1c12ae-D9cBvSa8.js";
3
+ import { U as u } from "./ui-skeleton-1cb75d00-BWUmrSx4.js";
4
4
  var i = () => {
5
5
  const r = import.meta.url, o = {};
6
6
  return r !== "" && (o.resourcesUrl = new URL(".", r).href), e(o);