@everymatrix/casino-page-nd 1.74.10 → 1.75.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 (100) hide show
  1. package/components/{CasinoCalendar-DdMvhCOA.js → CasinoCalendar-DWprq3Up.js} +1105 -1070
  2. package/components/CasinoCalendar-dCsBOCh4.cjs +19 -0
  3. package/components/{CasinoCalendar-BuZNkBai.js → CasinoCalendar-mfSLB8Ze.js} +1067 -1032
  4. package/components/CasinoCalendarDailyDetails-3C8wq3Kf.cjs +1 -0
  5. package/components/{CasinoCalendarDailyDetails-ClfGxbko.js → CasinoCalendarDailyDetails-Cm0lICEn.js} +91 -91
  6. package/components/{CasinoCalendarDailyDetails-BCVIut1W.js → CasinoCalendarDailyDetails-DvqRVPua.js} +91 -91
  7. package/components/{CasinoCalendarDailyItem-CYfiDQkf.js → CasinoCalendarDailyItem-CZlYfyPq.js} +34 -34
  8. package/components/{CasinoCalendarDailyItem-BdDom59r.cjs → CasinoCalendarDailyItem-C_FN646X.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-C1ADnaTt.js → CasinoCalendarDailyItem-CzzCu3b9.js} +34 -34
  10. package/components/{CasinoCollectionsProviders-4kHMGeo6.js → CasinoCollectionsProviders-CWyeNZSU.js} +44 -44
  11. package/components/{CasinoCollectionsProviders-Br5ZzIwL.js → CasinoCollectionsProviders-LcGduY03.js} +68 -68
  12. package/components/{CasinoCollectionsProviders-CM25qKz7.cjs → CasinoCollectionsProviders-qWvxMAY4.cjs} +1 -1
  13. package/components/{CasinoFavoritesSectionNd-C9ubIxVt.cjs → CasinoFavoritesSectionNd-BIfrHNCv.cjs} +1 -1
  14. package/components/{CasinoFavoritesSectionNd-D7FmgqFd.js → CasinoFavoritesSectionNd-BO5Gv4XQ.js} +16 -16
  15. package/components/{CasinoFavoritesSectionNd-Dif6QpzS.js → CasinoFavoritesSectionNd-D7PT7RRj.js} +16 -16
  16. package/components/{CasinoFilter-akdowSz4.js → CasinoFilter-BxbFkTPB.js} +50 -50
  17. package/components/{CasinoFilter-1-YLqdq0.js → CasinoFilter-CKKGIb12.js} +50 -50
  18. package/components/{CasinoFilter-Cc3Yv48X.cjs → CasinoFilter-DaDCgGyI.cjs} +1 -1
  19. package/components/{CasinoGameThumbnailNd-4vkDFOTQ.js → CasinoGameThumbnailNd-BQ1wqZ-e.js} +670 -672
  20. package/components/CasinoGameThumbnailNd-CmRsAJDi.cjs +30 -0
  21. package/components/{CasinoGameThumbnailNd-027TQl9L.js → CasinoGameThumbnailNd-Dcordt0f.js} +668 -670
  22. package/components/{CasinoGamesCategorySectionNd-Pmqk0uIe.js → CasinoGamesCategorySectionNd-BGZ-ePsT.js} +169 -169
  23. package/components/CasinoGamesCategorySectionNd-BWwBc-gL.cjs +1 -0
  24. package/components/{CasinoGamesCategorySectionNd-DXbL1YOX.js → CasinoGamesCategorySectionNd-CKAJcNzR.js} +163 -163
  25. package/components/{CasinoJackpotBanner-CyyNiIY2.cjs → CasinoJackpotBanner-B96gNAcA.cjs} +1 -1
  26. package/components/{CasinoJackpotBanner--90-l4pm.js → CasinoJackpotBanner-BWmZP7BL.js} +84 -84
  27. package/components/{CasinoJackpotBanner-Bdzek1XC.js → CasinoJackpotBanner-DqIZizFB.js} +90 -90
  28. package/components/{CasinoLastPlayedSectionNd-DRxBK-Fa.cjs → CasinoLastPlayedSectionNd-BgOVZqPi.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSectionNd-CDQqfmVu.js → CasinoLastPlayedSectionNd-BmLauasH.js} +41 -41
  30. package/components/{CasinoLastPlayedSectionNd-PtTNJi5L.js → CasinoLastPlayedSectionNd-D5fz5x-v.js} +41 -41
  31. package/components/{CasinoMostPlayedSectionNd-DHgDf2ky.js → CasinoMostPlayedSectionNd-CDSQQPLi.js} +46 -46
  32. package/components/{CasinoMostPlayedSectionNd-DfGu5JYq.js → CasinoMostPlayedSectionNd-DxpDBvyi.js} +46 -46
  33. package/components/{CasinoMostPlayedSectionNd-DhquKYpN.cjs → CasinoMostPlayedSectionNd-Scrl1-r0.cjs} +1 -1
  34. package/components/{CasinoMyGamesNd-WStcZSCq.js → CasinoMyGamesNd-B0RMhNOQ.js} +31 -31
  35. package/components/{CasinoMyGamesNd-lNFKHqK1.cjs → CasinoMyGamesNd-C5_wy8U9.cjs} +1 -1
  36. package/components/{CasinoMyGamesNd-CrTKY2Ce.js → CasinoMyGamesNd-DyvlKH0N.js} +33 -33
  37. package/components/{CasinoPageNd-C9Pfwapc.js → CasinoPageNd-BBnA0Inr.js} +1888 -1896
  38. package/components/CasinoPageNd-C6XEbbie.cjs +1 -0
  39. package/components/{CasinoPageNd-CyL2w-m3.js → CasinoPageNd-CdikoQYm.js} +1860 -1868
  40. package/components/{CasinoRandomGame-CdQVMLbd.cjs → CasinoRandomGame-BXQZCC2U.cjs} +2 -2
  41. package/components/{CasinoRandomGame-CtAOJXnF.js → CasinoRandomGame-DgwvXr3L.js} +110 -110
  42. package/components/{CasinoRandomGame-D7RweU9Y.js → CasinoRandomGame-_9lAMA2P.js} +59 -59
  43. package/components/{CasinoSearchNd-pYRxPbPP.js → CasinoSearchNd-C7QNS9Ai.js} +50 -50
  44. package/components/{CasinoSearchNd-BqXcEsqy.cjs → CasinoSearchNd-C893ijmJ.cjs} +1 -1
  45. package/components/{CasinoSearchNd-mhurI_yM.js → CasinoSearchNd-DQ2c9d3i.js} +32 -32
  46. package/components/{CasinoSort-BawqALZV.js → CasinoSort-BNREfqiL.js} +37 -37
  47. package/components/{CasinoSort-Du3lmlNe.cjs → CasinoSort-CKm8hNbY.cjs} +1 -1
  48. package/components/{CasinoSort-5WNP_G3S.js → CasinoSort-D187w5tA.js} +37 -37
  49. package/components/{CasinoWinners-XkR8Kmij.cjs → CasinoWinners-433auKih.cjs} +1 -1
  50. package/components/{CasinoWinners-DCiuykjq.js → CasinoWinners-C4hnivSF.js} +91 -91
  51. package/components/{CasinoWinners-BE029Vxq.js → CasinoWinners-CfPd4kzY.js} +92 -92
  52. package/components/{GeneralAnimationLoading-BETs-Kib.js → GeneralAnimationLoading-CuOjTz53.js} +14 -14
  53. package/components/{GeneralAnimationLoading-lIyg2-0l.cjs → GeneralAnimationLoading-DRvkLtzi.cjs} +1 -1
  54. package/components/{GeneralAnimationLoading-BlN4kA08.js → GeneralAnimationLoading-DnAbjVes.js} +14 -14
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  60. package/stencil/{app-globals-0f993ce5-DfNOCk8l.js → app-globals-0f993ce5-Cgk0KVAu.js} +1 -3
  61. package/stencil/{casino-play-random-game-Dkt8_s5i.js → casino-play-random-game-BkPr2CWQ.js} +2 -2
  62. package/stencil/{casino-play-random-game-_u9t_R_K.cjs → casino-play-random-game-CIgnME2D.cjs} +1 -1
  63. package/stencil/{casino-play-random-game-BGnpW6-t.js → casino-play-random-game-CNkwfnjq.js} +2 -2
  64. package/stencil/{casino-play-random-game_2-BxEiwCaH.cjs → casino-play-random-game_2-BJVoDn1D.cjs} +1 -1
  65. package/stencil/{casino-play-random-game_2-OLkBGlKQ.js → casino-play-random-game_2-Cr07t-U3.js} +1 -1
  66. package/stencil/{casino-play-random-game_2-CO_ycbvG.js → casino-play-random-game_2-rMFQqRp8.js} +1 -1
  67. package/stencil/index-328e660d-Cex2hzsG.js +576 -0
  68. package/stencil/index-328e660d-Dti9H7_B.js +560 -0
  69. package/stencil/index-328e660d-MaaYKutI.cjs +1 -0
  70. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652--F7PvMq9.js} +176 -176
  71. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  72. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-CCFHkzJw.js} +187 -187
  73. package/stencil/{ui-image-wubI3fkK.cjs → ui-image-5q4WODJu.cjs} +1 -1
  74. package/stencil/{ui-image-B_HWMBI-.js → ui-image-CfZf6HBq.js} +2 -2
  75. package/stencil/{ui-image-CzGNxx73.js → ui-image-CtfMdADr.js} +2 -2
  76. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  77. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  78. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  79. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Bm97-wkj.js} +2 -2
  80. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  81. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-qO3reSlr.js} +2 -2
  82. package/components/CasinoCalendar-CFUoQxq0.cjs +0 -19
  83. package/components/CasinoCalendarDailyDetails-Dqb6yp--.cjs +0 -1
  84. package/components/CasinoGameThumbnailNd-Ca2b8Stl.cjs +0 -30
  85. package/components/CasinoGamesCategorySectionNd-ClB1reVB.cjs +0 -1
  86. package/components/CasinoPageNd-CSdh6Nvt.cjs +0 -1
  87. package/stencil/app-globals-0f993ce5-4b17CI_n.cjs +0 -1
  88. package/stencil/index-328e660d-CgCMs0nk.js +0 -576
  89. package/stencil/index-328e660d-DIiqSVTN.js +0 -560
  90. package/stencil/index-328e660d-pKNw3-4H.cjs +0 -1
  91. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
  92. package/stencil/index-b2193545-BL364Gzq.js +0 -503
  93. package/stencil/index-b2193545-DdqB2rk5.js +0 -519
  94. package/stencil/index-b2193545-DmjUkkS8.cjs +0 -1
  95. package/stencil/ui-skeleton-CsmgJUYN.js +0 -29
  96. package/stencil/ui-skeleton-DTQ__6LQ.cjs +0 -1
  97. package/stencil/ui-skeleton-ae35c6f2-BRNiEwlg.js +0 -155
  98. package/stencil/ui-skeleton-ae35c6f2-CZuWo9GO.cjs +0 -55
  99. package/stencil/ui-skeleton-ae35c6f2-CxSezPtG.js +0 -155
  100. package/stencil/ui-skeleton-yRWBmyfK.js +0 -11
@@ -1,155 +0,0 @@
1
- import { r, h as t, H as n } from "./index-b2193545-DdqB2rk5.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 {
3
- constructor(e) {
4
- r(this, e), this.stylingValue = {
5
- width: this.handleStylingProps(this.width),
6
- height: this.handleStylingProps(this.height),
7
- borderRadius: this.handleStylingProps(this.borderRadius),
8
- marginBottom: this.handleStylingProps(this.marginBottom),
9
- marginTop: this.handleStylingProps(this.marginTop),
10
- marginLeft: this.handleStylingProps(this.marginLeft),
11
- marginRight: this.handleStylingProps(this.marginRight),
12
- size: this.handleStylingProps(this.size)
13
- }, 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%";
14
- }
15
- handleStructureChange(e, i) {
16
- i !== e && this.handleStructure(e);
17
- }
18
- handleStylingProps(e) {
19
- switch (typeof e) {
20
- case "number":
21
- return e === 0 ? 0 : `${e}px`;
22
- case "undefined":
23
- return "unset";
24
- case "string":
25
- return ["auto", "unset", "none", "inherit", "initial"].includes(e) || e.endsWith("px") || e.endsWith("%") ? e : "unset";
26
- default:
27
- return "unset";
28
- }
29
- }
30
- handleStructure(e) {
31
- switch (e) {
32
- case "logo":
33
- return this.renderLogo();
34
- case "image":
35
- return this.renderImage();
36
- case "title":
37
- return this.renderTitle();
38
- case "text":
39
- return this.renderText();
40
- case "rectangle":
41
- return this.renderRectangle();
42
- case "circle":
43
- return this.renderCircle();
44
- default:
45
- return null;
46
- }
47
- }
48
- renderLogo() {
49
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
50
- }
51
- renderImage() {
52
- return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
53
- }
54
- renderTitle() {
55
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
56
- }
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" : "") })));
59
- }
60
- renderRectangle() {
61
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
62
- }
63
- renderCircle() {
64
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
65
- }
66
- render() {
67
- let e = "";
68
- switch (this.structure) {
69
- case "logo":
70
- e = `
71
- :host {
72
- --emw-skeleton-logo-width: ${this.stylingValue.width};
73
- --emw-skeleton-logo-height: ${this.stylingValue.height};
74
- --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
75
- --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
76
- --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
77
- --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
78
- --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
79
- }
80
- `;
81
- break;
82
- case "image":
83
- e = `
84
- :host {
85
- --emw-skeleton-image-width: ${this.stylingValue.width};
86
- --emw-skeleton-image-height: ${this.stylingValue.height};
87
- --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
88
- --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
89
- --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
90
- --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
91
- --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
92
- }
93
- `;
94
- break;
95
- case "title":
96
- e = `
97
- :host {
98
- --emw-skeleton-title-width: ${this.stylingValue.width};
99
- --emw-skeleton-title-height: ${this.stylingValue.height};
100
- --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
101
- --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
102
- --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
103
- --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
104
- --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
105
- }
106
- `;
107
- break;
108
- case "text":
109
- e = `
110
- :host {
111
- --emw-skeleton-text-width: ${this.stylingValue.width};
112
- --emw-skeleton-text-height: ${this.stylingValue.height};
113
- --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
114
- --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
115
- --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
116
- --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
117
- --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
118
- }
119
- `;
120
- break;
121
- case "rectangle":
122
- e = `
123
- :host {
124
- --emw-skeleton-rectangle-width: ${this.stylingValue.width};
125
- --emw-skeleton-rectangle-height: ${this.stylingValue.height};
126
- --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
127
- --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
128
- --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
129
- --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
130
- --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
131
- }
132
- `;
133
- break;
134
- case "circle":
135
- e = `
136
- :host {
137
- --emw-skeleton-circle-size: ${this.stylingValue.size};
138
- }
139
- `;
140
- break;
141
- default:
142
- e = "";
143
- }
144
- return t(n, { key: "e6b885bfd985ce7663d990756fe9101e25eb97f0" }, t("style", { key: "06ae24c7bb74f4dacfc12ae58085333f9dc89da5" }, e), this.handleStructure(this.structure));
145
- }
146
- static get watchers() {
147
- return {
148
- structure: ["handleStructureChange"]
149
- };
150
- }
151
- };
152
- l.style = a;
153
- export {
154
- l as U
155
- };
@@ -1,55 +0,0 @@
1
- "use strict";const t=require("./index-b2193545-DmjUkkS8.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;
@@ -1,155 +0,0 @@
1
- import { r, h as t, H as n } from "./index-b2193545-BL364Gzq.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 {
3
- constructor(e) {
4
- r(this, e), this.stylingValue = {
5
- width: this.handleStylingProps(this.width),
6
- height: this.handleStylingProps(this.height),
7
- borderRadius: this.handleStylingProps(this.borderRadius),
8
- marginBottom: this.handleStylingProps(this.marginBottom),
9
- marginTop: this.handleStylingProps(this.marginTop),
10
- marginLeft: this.handleStylingProps(this.marginLeft),
11
- marginRight: this.handleStylingProps(this.marginRight),
12
- size: this.handleStylingProps(this.size)
13
- }, 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%";
14
- }
15
- handleStructureChange(e, i) {
16
- i !== e && this.handleStructure(e);
17
- }
18
- handleStylingProps(e) {
19
- switch (typeof e) {
20
- case "number":
21
- return e === 0 ? 0 : `${e}px`;
22
- case "undefined":
23
- return "unset";
24
- case "string":
25
- return ["auto", "unset", "none", "inherit", "initial"].includes(e) || e.endsWith("px") || e.endsWith("%") ? e : "unset";
26
- default:
27
- return "unset";
28
- }
29
- }
30
- handleStructure(e) {
31
- switch (e) {
32
- case "logo":
33
- return this.renderLogo();
34
- case "image":
35
- return this.renderImage();
36
- case "title":
37
- return this.renderTitle();
38
- case "text":
39
- return this.renderText();
40
- case "rectangle":
41
- return this.renderRectangle();
42
- case "circle":
43
- return this.renderCircle();
44
- default:
45
- return null;
46
- }
47
- }
48
- renderLogo() {
49
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Logo " + (this.animation ? "Skeleton" : "") }));
50
- }
51
- renderImage() {
52
- return t("div", { class: "Image " + (this.animation ? "Skeleton" : "") });
53
- }
54
- renderTitle() {
55
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Title " + (this.animation ? "Skeleton" : "") }));
56
- }
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" : "") })));
59
- }
60
- renderRectangle() {
61
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Rectangle " + (this.animation ? "Skeleton" : "") }));
62
- }
63
- renderCircle() {
64
- return t("div", { class: "SkeletonContainer" }, t("div", { class: "Circle " + (this.animation ? "Skeleton" : "") }));
65
- }
66
- render() {
67
- let e = "";
68
- switch (this.structure) {
69
- case "logo":
70
- e = `
71
- :host {
72
- --emw-skeleton-logo-width: ${this.stylingValue.width};
73
- --emw-skeleton-logo-height: ${this.stylingValue.height};
74
- --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
75
- --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
76
- --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
77
- --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
78
- --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
79
- }
80
- `;
81
- break;
82
- case "image":
83
- e = `
84
- :host {
85
- --emw-skeleton-image-width: ${this.stylingValue.width};
86
- --emw-skeleton-image-height: ${this.stylingValue.height};
87
- --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
88
- --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
89
- --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
90
- --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
91
- --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
92
- }
93
- `;
94
- break;
95
- case "title":
96
- e = `
97
- :host {
98
- --emw-skeleton-title-width: ${this.stylingValue.width};
99
- --emw-skeleton-title-height: ${this.stylingValue.height};
100
- --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
101
- --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
102
- --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
103
- --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
104
- --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
105
- }
106
- `;
107
- break;
108
- case "text":
109
- e = `
110
- :host {
111
- --emw-skeleton-text-width: ${this.stylingValue.width};
112
- --emw-skeleton-text-height: ${this.stylingValue.height};
113
- --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
114
- --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
115
- --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
116
- --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
117
- --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
118
- }
119
- `;
120
- break;
121
- case "rectangle":
122
- e = `
123
- :host {
124
- --emw-skeleton-rectangle-width: ${this.stylingValue.width};
125
- --emw-skeleton-rectangle-height: ${this.stylingValue.height};
126
- --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
127
- --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
128
- --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
129
- --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
130
- --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
131
- }
132
- `;
133
- break;
134
- case "circle":
135
- e = `
136
- :host {
137
- --emw-skeleton-circle-size: ${this.stylingValue.size};
138
- }
139
- `;
140
- break;
141
- default:
142
- e = "";
143
- }
144
- return t(n, { key: "e6b885bfd985ce7663d990756fe9101e25eb97f0" }, t("style", { key: "06ae24c7bb74f4dacfc12ae58085333f9dc89da5" }, e), this.handleStructure(this.structure));
145
- }
146
- static get watchers() {
147
- return {
148
- structure: ["handleStructureChange"]
149
- };
150
- }
151
- };
152
- l.style = a;
153
- export {
154
- l as U
155
- };
@@ -1,11 +0,0 @@
1
- import { b as e, p as o } from "./index-b2193545-BL364Gzq.js";
2
- import { b as a } from "./app-globals-0f993ce5-DfNOCk8l.js";
3
- import { U as g } from "./ui-skeleton-ae35c6f2-CxSezPtG.js";
4
- var i = () => {
5
- const r = import.meta.url, t = {};
6
- return r !== "" && (t.resourcesUrl = new URL(".", r).href), o(t);
7
- };
8
- i().then(async (r) => (await a(), e([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1] }, null, { structure: ["handleStructureChange"] }]]]], r)));
9
- export {
10
- g as ui_skeleton
11
- };