@everymatrix/player-account-controller-nd 1.59.2 → 1.59.99

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 (166) hide show
  1. package/components/{GeneralLogout-DKq7aXpj.cjs → GeneralLogout-BjsDUNrm.cjs} +4 -4
  2. package/components/{GeneralLogout-4it4FG1e.js → GeneralLogout-D-SNAWMX.js} +110 -99
  3. package/components/{GeneralLogout-CeysydbF.js → GeneralLogout-mKknRJlq.js} +118 -107
  4. package/components/{PlayerAccountBettingHistory-6L3UumfC.js → PlayerAccountBettingHistory-B65ODj4i.js} +1 -1
  5. package/components/{PlayerAccountBettingHistory-Ba0rbzAt.cjs → PlayerAccountBettingHistory-Bu3VS2Sg.cjs} +1 -1
  6. package/components/{PlayerAccountBettingHistory-CITAS_tU.js → PlayerAccountBettingHistory-D5R8TtVb.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-DOKW7OSb.js → PlayerAccountBiometrics-1g9245j6.js} +1 -1
  8. package/components/{PlayerAccountBiometrics-Be6QWwR6.js → PlayerAccountBiometrics-Dke9scx2.js} +1 -1
  9. package/components/{PlayerAccountBiometrics-D3SdfZAk.cjs → PlayerAccountBiometrics-DvJlyQ8z.cjs} +1 -1
  10. package/components/{PlayerAccountClosureNd-Ba7qRwie.cjs → PlayerAccountClosureNd-B4GnQQHa.cjs} +1 -1
  11. package/components/{PlayerAccountClosureNd-DmAOX_fd.js → PlayerAccountClosureNd-CH8UCD0A.js} +1 -1
  12. package/components/{PlayerAccountClosureNd-rzbr78tt.js → PlayerAccountClosureNd-DtDZNFDs.js} +1 -1
  13. package/components/PlayerAccountControllerNd-4s7xJ5WW.cjs +1 -0
  14. package/components/PlayerAccountControllerNd-B-wmDyLr.js +7430 -0
  15. package/components/{PlayerAccountControllerNd-DsScUGqI.js → PlayerAccountControllerNd-Cda3JHRm.js} +2307 -2243
  16. package/components/PlayerAccountControllerNd-Cgci2Fcz.cjs +1 -0
  17. package/components/{PlayerAccountControllerNd-el5m6i4n.js → PlayerAccountControllerNd-Cgdz9EHx.js} +2335 -2271
  18. package/components/PlayerAccountControllerNd-D0YcM-rD.js +7413 -0
  19. package/components/PlayerAccountControllerNd-HN4PMQqw.cjs +1 -0
  20. package/components/PlayerAccountControllerNd-PZ8-RG-h.js +7430 -0
  21. package/components/PlayerAccountControllerNd-iBO4kr6j.js +7413 -0
  22. package/components/{PlayerAccountGamingLimits-ByuUh2TU.js → PlayerAccountGamingLimits-CPx-vfQw.js} +2 -2
  23. package/components/{PlayerAccountGamingLimits-FIGZjiiE.cjs → PlayerAccountGamingLimits-UmFJS4yG.cjs} +1 -1
  24. package/components/{PlayerAccountGamingLimits-Bk5wHTwY.js → PlayerAccountGamingLimits-geiSuCGE.js} +2 -2
  25. package/components/{PlayerAccountGamingLimitsConfirmationModal-CyALQICB.cjs → PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsConfirmationModal-CNYtoEVr.js → PlayerAccountGamingLimitsConfirmationModal-CIMWBU9F.js} +1 -1
  27. package/components/{PlayerAccountGamingLimitsConfirmationModal-orqpWBGG.js → PlayerAccountGamingLimitsConfirmationModal-CJvAbSXA.js} +1 -1
  28. package/components/{PlayerAccountGamingLimitsGroupEdit-BaorReGW.js → PlayerAccountGamingLimitsGroupEdit-BBhaC0tE.js} +4 -4
  29. package/components/{PlayerAccountGamingLimitsGroupEdit-BpaOoTGu.cjs → PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs} +2 -2
  30. package/components/{PlayerAccountGamingLimitsGroupEdit-CTpK2bHP.js → PlayerAccountGamingLimitsGroupEdit-DxCKKvtt.js} +4 -4
  31. package/components/{PlayerAccountGamingLimitsHistory2Nd-BXZnq3wo.cjs → PlayerAccountGamingLimitsHistory2Nd-CT3BWhmN.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsHistory2Nd-2-WDm2bq.js → PlayerAccountGamingLimitsHistory2Nd-CYh5FnDV.js} +1 -1
  33. package/components/{PlayerAccountGamingLimitsHistory2Nd-7fOlRCey.js → PlayerAccountGamingLimitsHistory2Nd-y1qwR7nl.js} +1 -1
  34. package/components/{PlayerAccountGamingLimitsInfoCard-DlJXsDqV.cjs → PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs} +1 -1
  35. package/components/{PlayerAccountGamingLimitsInfoCard-CmZ-aPgC.js → PlayerAccountGamingLimitsInfoCard-Cc-JLiZF.js} +3 -3
  36. package/components/{PlayerAccountGamingLimitsInfoCard-jkLmhvDf.js → PlayerAccountGamingLimitsInfoCard-Dm9hSuFC.js} +3 -3
  37. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-2aUOAuM6.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-CuoVvIEJ.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Hxw4dGQn.js → PlayerAccountGamingLimitsPage2Gm16Nd-DA1By__G.js} +2 -2
  39. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-C1OaS72g.js → PlayerAccountGamingLimitsPage2Gm16Nd-DMdM3i1l.js} +2 -2
  40. package/components/{PlayerAccountGamingLimitsPopup-Dbr-uHeX.cjs → PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs} +1 -1
  41. package/components/{PlayerAccountGamingLimitsPopup-AuWDAmQP.js → PlayerAccountGamingLimitsPopup-CLyTPF2L.js} +1 -1
  42. package/components/{PlayerAccountGamingLimitsPopup-CwqIGi2v.js → PlayerAccountGamingLimitsPopup-DycV-u3W.js} +1 -1
  43. package/components/{PlayerAccountGamingLimitsWrapper2Nd-8YmBMC3v.js → PlayerAccountGamingLimitsWrapper2Nd-ClbwM2gG.js} +3 -3
  44. package/components/{PlayerAccountGamingLimitsWrapper2Nd-BUsoXkMn.cjs → PlayerAccountGamingLimitsWrapper2Nd-D5Yg91jL.cjs} +1 -1
  45. package/components/{PlayerAccountGamingLimitsWrapper2Nd-CZlji5Yr.js → PlayerAccountGamingLimitsWrapper2Nd-j3mecOLN.js} +3 -3
  46. package/components/{PlayerAccountGeneralConfirmationModal-DYhGjzZF.js → PlayerAccountGeneralConfirmationModal-4w5ypHAs.js} +1 -1
  47. package/components/{PlayerAccountGeneralConfirmationModal-BJ3S0RLL.cjs → PlayerAccountGeneralConfirmationModal-DoognqGf.cjs} +1 -1
  48. package/components/{PlayerAccountGeneralConfirmationModal-mUHuj-5B.js → PlayerAccountGeneralConfirmationModal-u_yQVW36.js} +1 -1
  49. package/components/{PlayerAccountMenuNd-BeGAjc3q.js → PlayerAccountMenuNd-D-fAorcB.js} +3 -3
  50. package/components/{PlayerAccountMenuNd-z28QxKXk.js → PlayerAccountMenuNd-DTmfUkDR.js} +3 -3
  51. package/components/{PlayerAccountMenuNd-CCPMD49m.cjs → PlayerAccountMenuNd-pBoYi2d7.cjs} +1 -1
  52. package/components/{PlayerAccountModal-DhsJbk1o.js → PlayerAccountModal-CJAW5eai.js} +1 -1
  53. package/components/{PlayerAccountModal-RfCUFEKE.js → PlayerAccountModal-DzIuV3KN.js} +1 -1
  54. package/components/{PlayerAccountModal-tginaXbZ.cjs → PlayerAccountModal-zI2QLAL1.cjs} +1 -1
  55. package/components/{PlayerAccountNotifications-9IZXsnRq.js → PlayerAccountNotifications-BECefhID.js} +2 -2
  56. package/components/{PlayerAccountNotifications-CI42A39-.js → PlayerAccountNotifications-BMdZu0IH.js} +2 -2
  57. package/components/{PlayerAccountNotifications-BLsxWrq2.cjs → PlayerAccountNotifications-BxJEa-bd.cjs} +1 -1
  58. package/components/{PlayerAccountSelfExclusionNd-D1ZE5YnA.js → PlayerAccountSelfExclusionNd-8dbQPzKe.js} +2 -2
  59. package/components/{PlayerAccountSelfExclusionNd-D5HRQcqt.js → PlayerAccountSelfExclusionNd-CfXWzZaQ.js} +2 -2
  60. package/components/{PlayerAccountSelfExclusionNd-BwVKiP0r.cjs → PlayerAccountSelfExclusionNd-gT5IXyXv.cjs} +1 -1
  61. package/components/{PlayerAccountTimeout-BqQ8Dig1.js → PlayerAccountTimeout-CyvXsM5p.js} +4 -4
  62. package/components/{PlayerAccountTimeout-Oy-er_24.js → PlayerAccountTimeout-DmUdmLQr.js} +4 -4
  63. package/components/{PlayerAccountTimeout-ChLVrZ1_.cjs → PlayerAccountTimeout-v5URpImy.cjs} +1 -1
  64. package/components/{PlayerActiveBonuses-6gu0ilHo.js → PlayerActiveBonuses-2M__yMJf.js} +2 -2
  65. package/components/{PlayerActiveBonuses-CwzErvnX.js → PlayerActiveBonuses-BXlIZiVB.js} +2 -2
  66. package/components/{PlayerActiveBonuses-DbsciRwF.cjs → PlayerActiveBonuses-CBqsWQfE.cjs} +1 -1
  67. package/components/{PlayerBonusCard-BzDP362v.cjs → PlayerBonusCard-CJXjuXsU.cjs} +1 -1
  68. package/components/{PlayerBonusCard--oHCcpOb.js → PlayerBonusCard-CtXP9UPy.js} +2 -2
  69. package/components/{PlayerBonusCard-D3VZ0SAd.js → PlayerBonusCard-sfjhWo7d.js} +2 -2
  70. package/components/{PlayerBonusHistory-Bg9FG_wq.js → PlayerBonusHistory-CSz-1_b2.js} +4 -4
  71. package/components/{PlayerBonusHistory-BGgOFk8A.js → PlayerBonusHistory-DPoWYYcE.js} +4 -4
  72. package/components/{PlayerBonusHistory-BaPqLAQG.cjs → PlayerBonusHistory-DvzXMZuA.cjs} +1 -1
  73. package/components/{PlayerChangePassword-DLhHjRp1.js → PlayerChangePassword-Ddfah5-0.js} +1 -1
  74. package/components/{PlayerChangePassword-BekJt2EW.js → PlayerChangePassword-Dtr2n1Et.js} +1 -1
  75. package/components/{PlayerChangePassword-DZ0zUct-.cjs → PlayerChangePassword-awaQVsiP.cjs} +1 -1
  76. package/components/{PlayerDeposit-BwW_MMqP.js → PlayerDeposit-CqqQuB6-.js} +1 -1
  77. package/components/{PlayerDeposit-CJ23PX1y.js → PlayerDeposit-DzJLjkJJ.js} +1 -1
  78. package/components/{PlayerDeposit-2rXfB2O5.cjs → PlayerDeposit-_oIOMh8l.cjs} +1 -1
  79. package/components/{PlayerGamingHistory-CWs-tUkY.cjs → PlayerGamingHistory-4FBAJVJ3.cjs} +1 -1
  80. package/components/{PlayerGamingHistory-0TYR6SEn.js → PlayerGamingHistory-BawWibCV.js} +4 -4
  81. package/components/{PlayerGamingHistory-CntwL7Fk.js → PlayerGamingHistory-K0Uvi2fF.js} +4 -4
  82. package/components/{PlayerPendingWithdrawals-ki_Gjm_H.js → PlayerPendingWithdrawals-B5LftQI0.js} +1 -1
  83. package/components/{PlayerPendingWithdrawals-B3LxQtqC.js → PlayerPendingWithdrawals-BXngse4L.js} +1 -1
  84. package/components/{PlayerPendingWithdrawals-UG-bN1ca.cjs → PlayerPendingWithdrawals-aaHugNLD.cjs} +1 -1
  85. package/components/PlayerProfileInfo-B1A0Xarz.cjs +1 -0
  86. package/components/PlayerProfileInfo-BmyCYGh7.js +2087 -0
  87. package/components/PlayerProfileInfo-uGClCGHq.js +2059 -0
  88. package/components/{PlayerRealityCheck-BmVSMTSf.cjs → PlayerRealityCheck-Ch955fLs.cjs} +1 -1
  89. package/components/{PlayerRealityCheck-BQCOhNTa.js → PlayerRealityCheck-DHGjsEc_.js} +2 -2
  90. package/components/{PlayerRealityCheck-CTuOdJqC.js → PlayerRealityCheck-Db8wL8P8.js} +2 -2
  91. package/components/{PlayerTransactionHistory-DSVdbdHO.js → PlayerTransactionHistory-BdX1ph_m.js} +1 -1
  92. package/components/{PlayerTransactionHistory-DkLL3JLy.js → PlayerTransactionHistory-CQ3fEpfj.js} +1 -1
  93. package/components/{PlayerTransactionHistory-U2CncC4r.cjs → PlayerTransactionHistory-Dff51WQG.cjs} +1 -1
  94. package/components/{PlayerWithdrawal-CuYoN_mb.js → PlayerWithdrawal-8DAmymCW.js} +1 -1
  95. package/components/{PlayerWithdrawal-CsPPu5bX.cjs → PlayerWithdrawal-DdPBGufW.cjs} +1 -1
  96. package/components/{PlayerWithdrawal-Dq9rMCnK.js → PlayerWithdrawal-DvDjalE_.js} +1 -1
  97. package/es2015/player-account-controller-nd.cjs +1 -1
  98. package/es2015/player-account-controller-nd.js +1 -1
  99. package/esnext/player-account-controller-nd.js +1 -1
  100. package/package.json +2 -2
  101. package/stencil/checkbox-group-input_9-C7zEH4Cn.js +3883 -0
  102. package/stencil/checkbox-group-input_9-CMfQeYlH.cjs +2 -0
  103. package/stencil/checkbox-group-input_9-OVj7AW5S.js +3883 -0
  104. package/stencil/general-input-BlFYbInU.cjs +4546 -0
  105. package/stencil/general-input-C7B1PVb4.js +12201 -0
  106. package/stencil/general-input-DoSeJn3k.js +12201 -0
  107. package/stencil/index-9c0f6c58-B94eMODu.js +576 -0
  108. package/stencil/index-9c0f6c58-BD-Fj_Yj.cjs +1 -0
  109. package/stencil/index-9c0f6c58-CUIs9poD.js +549 -0
  110. package/stencil/index-9c0f6c58-CyhtHCyO.js +576 -0
  111. package/stencil/index-9c0f6c58-D-L9XUok.js +549 -0
  112. package/stencil/index-9c0f6c58-D55uro-T.cjs +1 -0
  113. package/stencil/{index-9cd44522-C5N2LdVm.js → index-9cd44522-BOHK5Ehb.js} +4 -4
  114. package/stencil/{index-9cd44522-BbKqQXqL.js → index-9cd44522-C8s3TvoU.js} +4 -4
  115. package/stencil/{index-9cd44522-QIMe52Dh.cjs → index-9cd44522-D9raG3xx.cjs} +1 -1
  116. package/stencil/index-b2193545-B240yE4M.js +503 -0
  117. package/stencil/index-b2193545-CJQ4H9NG.cjs +1 -0
  118. package/stencil/index-b2193545-q1mvaES7.js +519 -0
  119. package/stencil/password-input_2-5nC89CMj.js +311 -0
  120. package/stencil/password-input_2-DJSgcWve.js +311 -0
  121. package/stencil/password-input_2-ZOEOuaOe.cjs +193 -0
  122. package/stencil/{player-change-password-gm2-039e300e-BU9mX4ix.cjs → player-change-password-gm2-039e300e-C-kbOfS1.cjs} +1 -1
  123. package/stencil/{player-change-password-gm2-039e300e-1NkfHZ6r.js → player-change-password-gm2-039e300e-C_f58yBE.js} +1 -1
  124. package/stencil/{player-change-password-gm2-039e300e-BLQGT3AW.js → player-change-password-gm2-039e300e-D4KfL3dW.js} +1 -1
  125. package/stencil/{player-change-password-gm2-E5xKJgy3.js → player-change-password-gm2-3aRR8E4W.js} +1 -1
  126. package/stencil/{player-change-password-gm2-Cyx-9oVQ.js → player-change-password-gm2-BJ2Ur7Zx.js} +1 -1
  127. package/stencil/{player-change-password-gm2-BWRiCTIP.cjs → player-change-password-gm2-CHK-mhQ9.cjs} +1 -1
  128. package/stencil/player-kyc-verification-BDsLC0dz.js +916 -0
  129. package/stencil/player-kyc-verification-C1kM6V2E.js +894 -0
  130. package/stencil/player-kyc-verification-Cgr9LJUE.js +894 -0
  131. package/stencil/player-kyc-verification-Cw4ee6aW.js +916 -0
  132. package/stencil/player-kyc-verification-L-Gd_xeu.cjs +180 -0
  133. package/stencil/player-kyc-verification-tvMdQJ0Y.cjs +180 -0
  134. package/stencil/{toggle-checkbox-input-3f7U98vC.js → toggle-checkbox-input-BRL1Xahc.js} +23 -9
  135. package/stencil/toggle-checkbox-input-CPDZs55S.cjs +1 -0
  136. package/stencil/{toggle-checkbox-input-DDDgLFw4.js → toggle-checkbox-input-cLWFox9n.js} +23 -9
  137. package/stencil/{ui-skeleton-T4HYbNcC.js → ui-skeleton-BacC4KYY.js} +8 -8
  138. package/stencil/ui-skeleton-C_u2sCMV.cjs +1 -0
  139. package/stencil/{ui-skeleton-DT0OMDC6.js → ui-skeleton-DuRhzyE8.js} +4 -4
  140. package/stencil/ui-skeleton-ea659b95-B0Wm9BdQ.js +152 -0
  141. package/stencil/ui-skeleton-ea659b95-BBQBvLes.cjs +73 -0
  142. package/stencil/ui-skeleton-ea659b95-DEnEjYcS.js +152 -0
  143. package/components/PlayerAccountControllerNd-BfM3xK9T.cjs +0 -1
  144. package/components/PlayerProfileInfo-CNv-9pT9.js +0 -1823
  145. package/components/PlayerProfileInfo-DLth9JMy.cjs +0 -1
  146. package/components/PlayerProfileInfo-DV9mn7sN.js +0 -1806
  147. package/stencil/checkbox-group-input_9-BkT4UtkZ.js +0 -13282
  148. package/stencil/checkbox-group-input_9-CDYbpnEQ.cjs +0 -2045
  149. package/stencil/checkbox-group-input_9-CMQLu-qB.js +0 -13248
  150. package/stencil/general-input--MP17Hyz.cjs +0 -1
  151. package/stencil/general-input-BqgyG6fv.js +0 -48
  152. package/stencil/general-input-V-ZuyFa5.js +0 -48
  153. package/stencil/index-ae04a8b1-D4wvtXTw.cjs +0 -1
  154. package/stencil/index-ae04a8b1-fpBaOn88.js +0 -516
  155. package/stencil/index-ae04a8b1-ixlRj3zC.js +0 -532
  156. package/stencil/password-input_2-C_mvPSDp.js +0 -589
  157. package/stencil/password-input_2-DeRFrP9K.cjs +0 -105
  158. package/stencil/password-input_2-g7twAnPT.js +0 -589
  159. package/stencil/toggle-checkbox-input-DXFebhBM.cjs +0 -1
  160. package/stencil/ui-skeleton-BC4mw1ae.cjs +0 -1
  161. package/stencil/ui-skeleton-a642cced-B8H73O_q.cjs +0 -1
  162. package/stencil/ui-skeleton-a642cced-Ba-weZ4g.js +0 -122
  163. package/stencil/ui-skeleton-a642cced-DhjmNsN7.js +0 -122
  164. package/stencil/vaadin-button-mixin-e8c3f355-BdntioNA.cjs +0 -2391
  165. package/stencil/vaadin-button-mixin-e8c3f355-DON-rAuy.js +0 -10228
  166. package/stencil/vaadin-button-mixin-e8c3f355-DQ5UgwNf.js +0 -10302
@@ -1,122 +0,0 @@
1
- import { r as o, h as r } from "./index-ae04a8b1-ixlRj3zC.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
- };
@@ -1,122 +0,0 @@
1
- import { r as o, h as r } from "./index-ae04a8b1-fpBaOn88.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
- };