@everymatrix/player-account-controller-nd 1.59.3 → 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 (189) hide show
  1. package/components/GeneralLogout-BjsDUNrm.cjs +21 -0
  2. package/components/{GeneralLogout-BF_qMI31.js → GeneralLogout-D-SNAWMX.js} +659 -626
  3. package/components/{GeneralLogout-B2sqctHY.js → GeneralLogout-mKknRJlq.js} +762 -729
  4. package/components/PlayerAccountBettingHistory-B65ODj4i.js +329 -0
  5. package/components/PlayerAccountBettingHistory-Bu3VS2Sg.cjs +1 -0
  6. package/components/{PlayerAccountBettingHistory-Cmz4RfLW.js → PlayerAccountBettingHistory-D5R8TtVb.js} +126 -127
  7. package/components/{PlayerAccountBiometrics-B_cneHiM.js → PlayerAccountBiometrics-1g9245j6.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-CSZ-wg_P.js → PlayerAccountBiometrics-Dke9scx2.js} +22 -22
  9. package/components/{PlayerAccountBiometrics-DTFbvNhj.cjs → PlayerAccountBiometrics-DvJlyQ8z.cjs} +1 -1
  10. package/components/{PlayerAccountClosureNd-DAi3Ugwi.cjs → PlayerAccountClosureNd-B4GnQQHa.cjs} +1 -1
  11. package/components/{PlayerAccountClosureNd-BLvElGRY.js → PlayerAccountClosureNd-CH8UCD0A.js} +17 -17
  12. package/components/{PlayerAccountClosureNd-CZZ5MDeE.js → PlayerAccountClosureNd-DtDZNFDs.js} +17 -17
  13. package/components/PlayerAccountControllerNd-4s7xJ5WW.cjs +1 -0
  14. package/components/{PlayerAccountControllerNd-D0IWDPQ5.js → PlayerAccountControllerNd-B-wmDyLr.js} +2342 -2278
  15. package/components/{PlayerAccountControllerNd-C_PfvGyf.js → PlayerAccountControllerNd-Cda3JHRm.js} +2314 -2250
  16. package/components/PlayerAccountControllerNd-Cgci2Fcz.cjs +1 -0
  17. package/components/PlayerAccountControllerNd-Cgdz9EHx.js +7430 -0
  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-D7T6wHfx.js → PlayerAccountGamingLimits-CPx-vfQw.js} +81 -81
  23. package/components/{PlayerAccountGamingLimits-BrtFDG1O.cjs → PlayerAccountGamingLimits-UmFJS4yG.cjs} +1 -1
  24. package/components/{PlayerAccountGamingLimits-DjoHuP0Q.js → PlayerAccountGamingLimits-geiSuCGE.js} +81 -81
  25. package/components/{PlayerAccountGamingLimitsConfirmationModal-aQzVqW8v.cjs → PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsConfirmationModal-D9jDt0ZJ.js → PlayerAccountGamingLimitsConfirmationModal-CIMWBU9F.js} +30 -30
  27. package/components/{PlayerAccountGamingLimitsConfirmationModal-neTmroA2.js → PlayerAccountGamingLimitsConfirmationModal-CJvAbSXA.js} +30 -30
  28. package/components/{PlayerAccountGamingLimitsGroupEdit-DQNY-DOL.js → PlayerAccountGamingLimitsGroupEdit-BBhaC0tE.js} +54 -54
  29. package/components/{PlayerAccountGamingLimitsGroupEdit-gdCqCIvt.cjs → PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs} +2 -2
  30. package/components/{PlayerAccountGamingLimitsGroupEdit-8vNGzj66.js → PlayerAccountGamingLimitsGroupEdit-DxCKKvtt.js} +54 -54
  31. package/components/{PlayerAccountGamingLimitsHistory2Nd-BRET7bjw.cjs → PlayerAccountGamingLimitsHistory2Nd-CT3BWhmN.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsHistory2Nd-DozHpGB2.js → PlayerAccountGamingLimitsHistory2Nd-CYh5FnDV.js} +80 -80
  33. package/components/{PlayerAccountGamingLimitsHistory2Nd-DvgLaDwG.js → PlayerAccountGamingLimitsHistory2Nd-y1qwR7nl.js} +82 -82
  34. package/components/{PlayerAccountGamingLimitsInfoCard-DwNXbIaa.cjs → PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs} +1 -1
  35. package/components/{PlayerAccountGamingLimitsInfoCard-CrTFZqJb.js → PlayerAccountGamingLimitsInfoCard-Cc-JLiZF.js} +83 -83
  36. package/components/{PlayerAccountGamingLimitsInfoCard-DgCYVXLF.js → PlayerAccountGamingLimitsInfoCard-Dm9hSuFC.js} +83 -83
  37. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-C6CQlXH2.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-CuoVvIEJ.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BVp4NsaB.js → PlayerAccountGamingLimitsPage2Gm16Nd-DA1By__G.js} +76 -76
  39. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CJ9cwQ2F.js → PlayerAccountGamingLimitsPage2Gm16Nd-DMdM3i1l.js} +76 -76
  40. package/components/{PlayerAccountGamingLimitsPopup-BzAiMR7P.cjs → PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs} +1 -1
  41. package/components/{PlayerAccountGamingLimitsPopup-BrdTQumv.js → PlayerAccountGamingLimitsPopup-CLyTPF2L.js} +42 -42
  42. package/components/{PlayerAccountGamingLimitsPopup-QgEEQjVV.js → PlayerAccountGamingLimitsPopup-DycV-u3W.js} +42 -42
  43. package/components/{PlayerAccountGamingLimitsWrapper2Nd-kvFh4Lz5.js → PlayerAccountGamingLimitsWrapper2Nd-ClbwM2gG.js} +17 -17
  44. package/components/{PlayerAccountGamingLimitsWrapper2Nd-CCCAcJEC.cjs → PlayerAccountGamingLimitsWrapper2Nd-D5Yg91jL.cjs} +1 -1
  45. package/components/{PlayerAccountGamingLimitsWrapper2Nd-DWakc7KL.js → PlayerAccountGamingLimitsWrapper2Nd-j3mecOLN.js} +17 -17
  46. package/components/{PlayerAccountGeneralConfirmationModal-DdP7HdbF.js → PlayerAccountGeneralConfirmationModal-4w5ypHAs.js} +34 -34
  47. package/components/{PlayerAccountGeneralConfirmationModal-C_d3r_5u.cjs → PlayerAccountGeneralConfirmationModal-DoognqGf.cjs} +1 -1
  48. package/components/{PlayerAccountGeneralConfirmationModal-Do1EWaXq.js → PlayerAccountGeneralConfirmationModal-u_yQVW36.js} +34 -34
  49. package/components/{PlayerAccountMenuNd-CeYSn5aI.js → PlayerAccountMenuNd-D-fAorcB.js} +32 -32
  50. package/components/{PlayerAccountMenuNd-haA2NUoR.js → PlayerAccountMenuNd-DTmfUkDR.js} +29 -29
  51. package/components/{PlayerAccountMenuNd-9bhW14nE.cjs → PlayerAccountMenuNd-pBoYi2d7.cjs} +1 -1
  52. package/components/{PlayerAccountModal-BRuOa9Ak.js → PlayerAccountModal-CJAW5eai.js} +42 -42
  53. package/components/{PlayerAccountModal-MCiQ8X7e.js → PlayerAccountModal-DzIuV3KN.js} +42 -42
  54. package/components/{PlayerAccountModal-BC3FTDl6.cjs → PlayerAccountModal-zI2QLAL1.cjs} +1 -1
  55. package/components/{PlayerAccountNotifications-CvWZQ69F.js → PlayerAccountNotifications-BECefhID.js} +32 -32
  56. package/components/{PlayerAccountNotifications-DVFpWv3_.js → PlayerAccountNotifications-BMdZu0IH.js} +31 -31
  57. package/components/{PlayerAccountNotifications-CcTMD34l.cjs → PlayerAccountNotifications-BxJEa-bd.cjs} +1 -1
  58. package/components/{PlayerAccountSelfExclusionNd-COgEf3y3.js → PlayerAccountSelfExclusionNd-8dbQPzKe.js} +788 -783
  59. package/components/{PlayerAccountSelfExclusionNd-CBtX8shk.js → PlayerAccountSelfExclusionNd-CfXWzZaQ.js} +1694 -1689
  60. package/components/{PlayerAccountSelfExclusionNd-B4c5HwJ2.cjs → PlayerAccountSelfExclusionNd-gT5IXyXv.cjs} +153 -153
  61. package/components/{PlayerAccountTimeout-gHjCFhAK.js → PlayerAccountTimeout-CyvXsM5p.js} +58 -58
  62. package/components/{PlayerAccountTimeout-CJzvKCG2.js → PlayerAccountTimeout-DmUdmLQr.js} +58 -58
  63. package/components/{PlayerAccountTimeout-C5EjWisK.cjs → PlayerAccountTimeout-v5URpImy.cjs} +1 -1
  64. package/components/{PlayerActiveBonuses-Qu1RO5nJ.js → PlayerActiveBonuses-2M__yMJf.js} +73 -73
  65. package/components/{PlayerActiveBonuses-BG53SuBu.js → PlayerActiveBonuses-BXlIZiVB.js} +74 -74
  66. package/components/{PlayerActiveBonuses-8_q2D0Pm.cjs → PlayerActiveBonuses-CBqsWQfE.cjs} +1 -1
  67. package/components/{PlayerBonusCard-Q-nM2Ss4.cjs → PlayerBonusCard-CJXjuXsU.cjs} +1 -1
  68. package/components/{PlayerBonusCard-BtEfVZsy.js → PlayerBonusCard-CtXP9UPy.js} +54 -54
  69. package/components/{PlayerBonusCard-CXcQF0sO.js → PlayerBonusCard-sfjhWo7d.js} +54 -54
  70. package/components/{PlayerBonusHistory-B58fHG_8.js → PlayerBonusHistory-CSz-1_b2.js} +33 -33
  71. package/components/{PlayerBonusHistory-Cs1dH25K.js → PlayerBonusHistory-DPoWYYcE.js} +33 -33
  72. package/components/{PlayerBonusHistory-DpJBNzM3.cjs → PlayerBonusHistory-DvzXMZuA.cjs} +1 -1
  73. package/components/{PlayerChangePassword-B1LU_lkb.js → PlayerChangePassword-Ddfah5-0.js} +82 -82
  74. package/components/{PlayerChangePassword-D9FaQrxz.js → PlayerChangePassword-Dtr2n1Et.js} +82 -82
  75. package/components/{PlayerChangePassword-CbBHjN4s.cjs → PlayerChangePassword-awaQVsiP.cjs} +1 -1
  76. package/components/{PlayerDeposit-Bcd3K3Je.js → PlayerDeposit-CqqQuB6-.js} +75 -75
  77. package/components/{PlayerDeposit-DxwEbqV9.js → PlayerDeposit-DzJLjkJJ.js} +75 -75
  78. package/components/PlayerDeposit-_oIOMh8l.cjs +1 -0
  79. package/components/{PlayerGamingHistory-DGuLW7ym.cjs → PlayerGamingHistory-4FBAJVJ3.cjs} +1 -1
  80. package/components/{PlayerGamingHistory-ScSE3zbv.js → PlayerGamingHistory-BawWibCV.js} +84 -84
  81. package/components/{PlayerGamingHistory-CYcGkpHB.js → PlayerGamingHistory-K0Uvi2fF.js} +74 -74
  82. package/components/{PlayerPendingWithdrawals-BFSLYrrk.js → PlayerPendingWithdrawals-B5LftQI0.js} +26 -26
  83. package/components/{PlayerPendingWithdrawals-m1esYleC.js → PlayerPendingWithdrawals-BXngse4L.js} +26 -26
  84. package/components/{PlayerPendingWithdrawals-D3hbZ7iV.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-DTbqf0Qh.cjs → PlayerRealityCheck-Ch955fLs.cjs} +1 -1
  89. package/components/{PlayerRealityCheck-rpgp0y6e.js → PlayerRealityCheck-DHGjsEc_.js} +33 -33
  90. package/components/{PlayerRealityCheck-D26GIMk0.js → PlayerRealityCheck-Db8wL8P8.js} +33 -33
  91. package/components/{PlayerTransactionHistory-DCZM4mF9.js → PlayerTransactionHistory-BdX1ph_m.js} +24 -24
  92. package/components/{PlayerTransactionHistory-tCmygdCD.js → PlayerTransactionHistory-CQ3fEpfj.js} +24 -24
  93. package/components/{PlayerTransactionHistory-Cp--JykS.cjs → PlayerTransactionHistory-Dff51WQG.cjs} +1 -1
  94. package/components/{PlayerWithdrawal-Cv5nFxNg.js → PlayerWithdrawal-8DAmymCW.js} +19 -19
  95. package/components/{PlayerWithdrawal-BocnE727.cjs → PlayerWithdrawal-DdPBGufW.cjs} +1 -1
  96. package/components/{PlayerWithdrawal-DmYqViyy.js → PlayerWithdrawal-DvDjalE_.js} +19 -19
  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 +1 -1
  101. package/stencil/{checkbox-group-input_9-CinfKCss.js → checkbox-group-input_9-C7zEH4Cn.js} +13 -11
  102. package/stencil/checkbox-group-input_9-CMfQeYlH.cjs +2 -0
  103. package/stencil/{checkbox-group-input_9-C_Jto8Jt.js → checkbox-group-input_9-OVj7AW5S.js} +13 -11
  104. package/stencil/{general-input-n2Odu7ir.cjs → general-input-BlFYbInU.cjs} +199 -199
  105. package/stencil/{general-input-bu08V52z.js → general-input-C7B1PVb4.js} +1249 -1243
  106. package/stencil/{general-input-DJk-3Amp.js → general-input-DoSeJn3k.js} +1247 -1241
  107. package/stencil/index-1ef3a64c-BnB-ATuA.js +556 -0
  108. package/stencil/index-1ef3a64c-BvKbNMH8.cjs +1 -0
  109. package/stencil/index-1ef3a64c-Nsr9PDe6.js +572 -0
  110. package/stencil/index-7c5e707a-CTC8RpEi.js +643 -0
  111. package/stencil/index-7c5e707a-CWE0q0mP.js +616 -0
  112. package/stencil/index-7c5e707a-D1Fv8nel.cjs +1 -0
  113. package/stencil/index-9c0f6c58-B94eMODu.js +576 -0
  114. package/stencil/index-9c0f6c58-BD-Fj_Yj.cjs +1 -0
  115. package/stencil/index-9c0f6c58-C1yzTenw.js +576 -0
  116. package/stencil/{index-9c0f6c58-DRP3WpwA.js → index-9c0f6c58-CUIs9poD.js} +197 -197
  117. package/stencil/index-9c0f6c58-CqoLeK5G.js +549 -0
  118. package/stencil/index-9c0f6c58-CyhtHCyO.js +576 -0
  119. package/stencil/index-9c0f6c58-D-L9XUok.js +549 -0
  120. package/stencil/index-9c0f6c58-D55uro-T.cjs +1 -0
  121. package/stencil/index-9c0f6c58-DEsDY2nb.cjs +1 -0
  122. package/stencil/index-9cd44522-BOHK5Ehb.js +626 -0
  123. package/stencil/index-9cd44522-C8s3TvoU.js +610 -0
  124. package/stencil/index-9cd44522-D9raG3xx.cjs +1 -0
  125. package/stencil/index-b2193545-B240yE4M.js +503 -0
  126. package/stencil/index-b2193545-CJQ4H9NG.cjs +1 -0
  127. package/stencil/index-b2193545-q1mvaES7.js +519 -0
  128. package/stencil/{password-input_2-BEm5miI-.js → password-input_2-5nC89CMj.js} +3 -3
  129. package/stencil/{password-input_2-BQFmAJZH.js → password-input_2-DJSgcWve.js} +3 -3
  130. package/stencil/password-input_2-ZOEOuaOe.cjs +193 -0
  131. package/stencil/{player-change-password-gm2-039e300e-WQ9F_3S-.cjs → player-change-password-gm2-039e300e-C-kbOfS1.cjs} +1 -1
  132. package/stencil/{player-change-password-gm2-039e300e-CAqacRz5.js → player-change-password-gm2-039e300e-C_f58yBE.js} +1 -1
  133. package/stencil/{player-change-password-gm2-039e300e-DsF_swLz.js → player-change-password-gm2-039e300e-D4KfL3dW.js} +1 -1
  134. package/stencil/{player-change-password-gm2-lgbjA5yk.js → player-change-password-gm2-3aRR8E4W.js} +1 -1
  135. package/stencil/{player-change-password-gm2-2-y7ZnBr.js → player-change-password-gm2-BJ2Ur7Zx.js} +1 -1
  136. package/stencil/{player-change-password-gm2-21_4LRZA.cjs → player-change-password-gm2-CHK-mhQ9.cjs} +1 -1
  137. package/stencil/{player-kyc-verification-CK7jvih_.js → player-kyc-verification-B8arDCja.js} +1 -1
  138. package/stencil/player-kyc-verification-BDsLC0dz.js +916 -0
  139. package/stencil/player-kyc-verification-C1kM6V2E.js +894 -0
  140. package/stencil/player-kyc-verification-Cgr9LJUE.js +894 -0
  141. package/stencil/player-kyc-verification-Cw4ee6aW.js +916 -0
  142. package/stencil/{player-kyc-verification-ClECAHs-.js → player-kyc-verification-Di40xn9z.js} +1 -1
  143. package/stencil/{player-kyc-verification-CWBei0Yk.cjs → player-kyc-verification-GFBDUbhm.cjs} +1 -1
  144. package/stencil/player-kyc-verification-L-Gd_xeu.cjs +180 -0
  145. package/stencil/player-kyc-verification-tvMdQJ0Y.cjs +180 -0
  146. package/stencil/{toggle-checkbox-input-BETTnM8f.js → toggle-checkbox-input-BRL1Xahc.js} +23 -9
  147. package/stencil/toggle-checkbox-input-CPDZs55S.cjs +1 -0
  148. package/stencil/{toggle-checkbox-input-D3c8zSJU.js → toggle-checkbox-input-cLWFox9n.js} +23 -9
  149. package/stencil/{ui-skeleton-DGSaG5JU.js → ui-skeleton-BacC4KYY.js} +8 -8
  150. package/stencil/ui-skeleton-C_u2sCMV.cjs +1 -0
  151. package/stencil/{ui-skeleton-CWQGWUte.js → ui-skeleton-DuRhzyE8.js} +4 -4
  152. package/stencil/ui-skeleton-ea659b95-B0Wm9BdQ.js +152 -0
  153. package/stencil/ui-skeleton-ea659b95-BBQBvLes.cjs +73 -0
  154. package/stencil/ui-skeleton-ea659b95-DEnEjYcS.js +152 -0
  155. package/stencil/{user-deposit-withdrawal-C8N7GB9E.cjs → user-deposit-withdrawal-BQKFgZ31.cjs} +1 -1
  156. package/stencil/{user-deposit-withdrawal-BISsu0Z-.js → user-deposit-withdrawal-DRe5oBqv.js} +1 -1
  157. package/stencil/{user-deposit-withdrawal-BmOGfPLJ.js → user-deposit-withdrawal-Dj3Po03r.js} +1 -1
  158. package/stencil/{user-transaction-history-Bg6onQ-I.js → user-transaction-history-6-z3byrF.js} +1 -1
  159. package/stencil/{user-transaction-history-BO92Qvk4.js → user-transaction-history-Dca7qx08.js} +1 -1
  160. package/stencil/{user-transaction-history-COJbthDt.cjs → user-transaction-history-DrhquxkJ.cjs} +1 -1
  161. package/components/GeneralLogout-aDlrOvb2.cjs +0 -21
  162. package/components/PlayerAccountBettingHistory-CaGfH6ef.cjs +0 -1
  163. package/components/PlayerAccountBettingHistory-WEyQIM51.js +0 -328
  164. package/components/PlayerAccountControllerNd-CCCEDiSo.cjs +0 -1
  165. package/components/PlayerDeposit-mr7WW9bf.cjs +0 -1
  166. package/components/PlayerProfileInfo-BST7W89r.cjs +0 -1
  167. package/components/PlayerProfileInfo-Cpl9q5N3.js +0 -1823
  168. package/components/PlayerProfileInfo-F2MwpT-I.js +0 -1806
  169. package/stencil/checkbox-group-input_9-Dc49Q3Vp.cjs +0 -2
  170. package/stencil/index-1ef3a64c-Dr_Pi_Tn.cjs +0 -1
  171. package/stencil/index-1ef3a64c-gNJv-qax.js +0 -572
  172. package/stencil/index-1ef3a64c-jZYsp9Sk.js +0 -556
  173. package/stencil/index-7c5e707a-40SRy2Ab.js +0 -616
  174. package/stencil/index-7c5e707a-B9tD4t-g.js +0 -643
  175. package/stencil/index-7c5e707a-DosLPDO6.cjs +0 -1
  176. package/stencil/index-9c0f6c58-CiH_jMvd.cjs +0 -1
  177. package/stencil/index-9c0f6c58-jtioo3_h.js +0 -576
  178. package/stencil/index-9cd44522-CFA-2f9u.cjs +0 -1
  179. package/stencil/index-9cd44522-COdVO-ko.js +0 -610
  180. package/stencil/index-9cd44522-IsBDbKDl.js +0 -626
  181. package/stencil/index-ae04a8b1-BIDvdZJs.js +0 -532
  182. package/stencil/index-ae04a8b1-BUa25EUq.cjs +0 -1
  183. package/stencil/index-ae04a8b1-BYWsXc_G.js +0 -516
  184. package/stencil/password-input_2-BvQKzYdi.cjs +0 -193
  185. package/stencil/toggle-checkbox-input-owvrKS5Z.cjs +0 -1
  186. package/stencil/ui-skeleton-a642cced-21I14Ylk.js +0 -122
  187. package/stencil/ui-skeleton-a642cced-BXc76uPc.cjs +0 -1
  188. package/stencil/ui-skeleton-a642cced-C5tlYQb-.js +0 -122
  189. package/stencil/ui-skeleton-r-lLy7GD.cjs +0 -1
@@ -1,193 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-9cd44522-CFA-2f9u.cjs"),n=require("./locale-BB2iZ4t0.cjs"),p=require("./tooltipIcon-ee9760a8-Bd9l1O5C.cjs"),h=require("./player-change-password-gm2-039e300e-WQ9F_3S-.cjs"),u=`*,
2
- *::before,
3
- *::after {
4
- padding: 0;
5
- margin: 0;
6
- box-sizing: border-box;
7
- }
8
-
9
- .password {
10
- font-family: "Roboto";
11
- font-style: normal;
12
- }
13
- .password__wrapper {
14
- position: relative;
15
- width: 100%;
16
- display: flex;
17
- flex-direction: column;
18
- gap: 5px;
19
- container-type: inline-size;
20
- }
21
- .password__wrapper--autofilled {
22
- pointer-events: none;
23
- }
24
- .password__wrapper--autofilled .password__label {
25
- color: var(--emw--registration-typography, var(--emw--color-black, #000000));
26
- }
27
- .password__wrapper--autofilled .password__input::part(input-field) {
28
- color: var(--emw--color-black, #000000);
29
- }
30
- .password__wrapper--flex {
31
- display: flex;
32
- gap: 5px;
33
- }
34
- .password__wrapper--relative {
35
- position: relative;
36
- }
37
- .password__label {
38
- font-family: inherit;
39
- font-style: normal;
40
- font-weight: 500;
41
- font-size: 16px;
42
- line-height: 20px;
43
- color: var(--emw--registration-typography, var(--emw--color-black, #000000));
44
- }
45
- .password__label--required::after {
46
- content: "*";
47
- font-family: inherit;
48
- color: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));
49
- margin-left: 2px;
50
- }
51
- .password__input {
52
- width: inherit;
53
- border: none;
54
- }
55
- .password__input[focused]::part(input-field) {
56
- border-color: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));
57
- }
58
- .password__input[invalid]::part(input-field) {
59
- border: 1px solid var(--emw--color-error, var(--emw--color-red, #ed0909));
60
- }
61
- .password__input::part(input-field) {
62
- border-radius: 4px;
63
- background-color: var(--emw--color-white, #FFFFFF);
64
- border: 1px solid var(--emw--color-gray-100, #E6E6E6);
65
- color: var(--emw--color-black, #000000);
66
- background-color: var(--emw--color-white, #FFFFFF);
67
- font-family: inherit;
68
- font-style: normal;
69
- font-weight: 300;
70
- font-size: 16px;
71
- line-height: 1.5;
72
- position: relative;
73
- margin-bottom: unset;
74
- height: 44px;
75
- padding: 0;
76
- width: 100%;
77
- }
78
- .password__input::part(reveal-button) {
79
- position: relative;
80
- right: 10px;
81
- }
82
- .password__input::part(reveal-button)::before {
83
- color: var(--emw--registration-typography, var(--emw--color-black, #000000));
84
- }
85
- .password__input > input {
86
- padding: 5px 15px;
87
- }
88
- .password__input > input:placeholder-shown {
89
- color: var(--emw--color-gray-150, #828282);
90
- }
91
- .password__error-message {
92
- position: absolute;
93
- top: calc(100% + 5px);
94
- left: 0;
95
- color: var(--emw--color-error, var(--emw--color-red, #ed0909));
96
- }
97
- .password__complexity {
98
- height: 150px;
99
- position: relative;
100
- padding: 10px;
101
- display: flex;
102
- flex-direction: column;
103
- gap: 20px;
104
- justify-content: center;
105
- margin-top: 20px;
106
- font-weight: 300;
107
- background: var(--emw--color-white, #FFFFFF);
108
- -webkit-border-radius: 5px;
109
- -moz-border-radius: 5px;
110
- border-radius: 5px;
111
- border: 1px solid #B0B0B0;
112
- box-sizing: content-box;
113
- /* works only in this order */
114
- }
115
- .password__complexity meter {
116
- border-color: transparent; /* Needed for Safari */
117
- }
118
- .password__complexity meter[value="1"]::-moz-meter-bar {
119
- background-color: var(--emw--color-valid, #48952a);
120
- }
121
- .password__complexity meter[value="1"]::-webkit-meter-optimum-value {
122
- background-color: var(--emw--color-valid, #48952a);
123
- }
124
- .password__complexity meter:not([value="1"])::-moz-meter-bar {
125
- background-color: var(--emw--color-error, #FD2839);
126
- }
127
- .password__complexity meter:not([value="1"])::-webkit-meter-optimum-value {
128
- background-color: var(--emw--color-error, #FD2839);
129
- }
130
- .password__complexity--strength {
131
- display: flex;
132
- justify-content: space-evenly;
133
- align-items: center;
134
- }
135
- .password__complexity--strength meter::-moz-meter-bar { /* Firefox Pseudo Class */
136
- background: #B0B0B0;
137
- }
138
- .password__complexity--hidden {
139
- display: none;
140
- }
141
- .password__complexity--text-bold {
142
- font-weight: 500;
143
- }
144
- .password__complexity--checkbox {
145
- margin-right: 5px;
146
- }
147
- .password__complexity:after {
148
- content: "";
149
- position: absolute;
150
- width: 25px;
151
- height: 25px;
152
- border-top: 1px solid var(--emw--color-gray-150, #828282);
153
- border-right: 0 solid var(--emw--color-gray-150, #828282);
154
- border-left: 1px solid var(--emw--color-gray-150, #828282);
155
- border-bottom: 0 solid var(--emw--color-gray-150, #828282);
156
- bottom: 92%;
157
- left: 50%;
158
- margin-left: -25px;
159
- transform: rotate(45deg);
160
- margin-top: -25px;
161
- background-color: var(--emw--color-white, #FFFFFF);
162
- }
163
- @container (max-width: 300px) {
164
- .password__complexity {
165
- height: 190px;
166
- }
167
- .password__complexity:after {
168
- width: 14px;
169
- height: 14px;
170
- bottom: 96%;
171
- left: 57%;
172
- }
173
- }
174
- .password__tooltip-icon {
175
- width: 16px;
176
- height: auto;
177
- }
178
- .password__tooltip {
179
- position: absolute;
180
- top: 0;
181
- left: 20px;
182
- background-color: var(--emw--color-white, #FFFFFF);
183
- border: 1px solid var(--emw--color-gray-150, #828282);
184
- color: #2B2D3F;
185
- padding: 10px;
186
- border-radius: 5px;
187
- opacity: 0;
188
- transition: opacity 0.3s ease-in-out;
189
- z-index: 10;
190
- }
191
- .password__tooltip.visible {
192
- opacity: 1;
193
- }`,c=u,d=class{constructor(e){i.registerInstance(this,e),this.sendOriginalValidityState=i.createEvent(this,"sendOriginalValidityState"),this.sendValidityState=i.createEvent(this,"sendValidityState"),this.sendInputValue=i.createEvent(this,"sendInputValue"),this.touched=!1,this.originalValid=!1,this.validationPattern="",this.duplicateInputValue=null,this.handleInput=t=>{this.value=t.target.value,this.calculateComplexity(this.value),this.showPopup=!0,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout(()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)},500)},this.handleRevealField=t=>{t.stopPropagation(),window.postMessage({type:`registrationShow${this.name}`},window.location.href)},this.handleBlur=t=>{this.value=t.target.value,this.showPopup=!1,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage()},this.handleFocus=()=>{this.showPopup=!0,this.calculateComplexity(this.value)},this.setClientStyling=()=>{let t=document.createElement("style");t.innerHTML=this.clientStyling,this.stylingContainer.prepend(t)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.isDuplicateInput=void 0,this.clientStyling="",this.isValid=void 0,this.errorMessage=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.passwordComplexity=void 0,this.showPopup=void 0,this.value=""}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),this.emitValue==!0&&this.valueHandler({name:this.name,value:this.value})}valueChanged(){this.isDuplicateInput||(this.calculateComplexity(this.value),this.sendOriginalValidityState.emit({name:this.name,valid:this.setValidity()}))}emitValueHandler(e){e==!0&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"duplicate"})}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}originalValidityChangedHandler(e){this.isDuplicateInput&&(e.detail.valid?(this.originalValid=!0,this.isValid=this.setValidity()):(this.originalValid=!1,this.isValid=!1,this.value!==""&&(this.errorMessage=this.setErrorMessage())))}valueChangedHandler(e){this.isDuplicateInput&&this.name===e.detail.name+"Duplicate"&&(this.duplicateInputValue=e.detail.value,this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())),this.name===e.detail.name+"Duplicate"&&this.name.replace("Duplicate","")===e.detail.name&&this.touched===!0&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.inputReference=this.element.shadowRoot.querySelector("input"),this.passwordButton=this.element.shadowRoot.querySelector("vaadin-password-field-button"),this.passwordButton.tabIndex=-1,this.passwordButton.addEventListener("click",e=>{this.handleRevealField(e)}),this.defaultValue&&(this.value=this.defaultValue,this.calculateComplexity(this.value),this.valueHandler({name:this.name,value:this.value}),this.isDuplicateInput&&(this.duplicateInputValue=this.defaultValue,this.touched=!0)),this.isValid=this.setValidity()}disconnectedCallback(){this.passwordButton.removeEventListener("click",this.handleRevealField)}calculateComplexity(e){this.passwordComplexity=this.validation.custom.filter(t=>t.rule==="regex").map(t=>{const r=new RegExp(t.pattern).test(e);return{rule:t.displayName,ruleKey:t.errorKey,passed:r}})}setValidity(){var e,t;return this.isDuplicateInput&&this.duplicateInputValue!==this.value?!1:!((e=this.passwordComplexity)===null||e===void 0)&&e.every(s=>s.passed)?(t=this.inputReference)===null||t===void 0?void 0:t.validity.valid:!1}setPattern(){var e,t;if(((e=this.validation.custom)===null||e===void 0?void 0:e.length)>0)return(t=this.validation.custom.find(s=>s.rule==="regex"))===null||t===void 0?void 0:t.pattern}setErrorMessage(){var e,t,s,r;if(this.isDuplicateInput&&!this.originalValid)return n.translate("invalidOriginalPasswordError",this.language);if(this.inputReference.validity.patternMismatch){const a=(e=this.validation.custom.find(o=>o.rule==="regex"))===null||e===void 0?void 0:e.errorKey,l=(t=this.validation.custom.find(o=>o.rule==="regex"))===null||t===void 0?void 0:t.errorMessage;return n.translate(`${a}`,this.language)?n.translate(`${a}`,this.language):l}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return n.translate("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return n.translate("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const a=(s=this.validation.custom.find(o=>o.rule==="duplicate-input"))===null||s===void 0?void 0:s.errorKey,l=(r=this.validation.custom.find(o=>o.rule==="duplicate-input"))===null||r===void 0?void 0:r.errorMessage;return n.translate(`${a}`,this.language)?n.translate(`${a}`,this.language):l}}renderTooltip(){return this.showTooltip?i.h("div",{class:`password__tooltip ${this.showTooltip?"visible":""}`,ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}renderComplexityPopup(){const e=this.passwordComplexity.length,s=this.passwordComplexity.filter(a=>a.passed).length/e,r=this.passwordComplexity.every(a=>a.passed);return i.h("div",{class:`password__complexity ${this.showPopup?"":"password__complexity--hidden"}`},i.h("div",{class:"password__complexity--strength"},i.h("p",{class:"password__complexity--text"},n.translate("passwordStrength",this.language)," ",i.h("span",{class:"password__complexity--text-bold"},n.translate(`${r?"passwordStrengthStrong":"passwordStrengthWeak"}`,this.language))),i.h("meter",{value:s,min:"0",max:"1"})),i.h("div",null,this.passwordComplexity.map((a,l)=>i.h("div",{key:l},i.h("input",{class:"password__complexity--checkbox",type:"checkbox",checked:a.passed,disabled:!0}),i.h("span",null,n.translate(`${a.ruleKey}`,this.language)?n.translate(`${a.ruleKey}`,this.language):a.rule)))))}render(){let e="";return this.touched&&(e=this.isValid==!0||this.isValid==null?"":"text__input--invalid"),i.h("div",{key:"be707a0330de2fa306f4326a5b374d613e6633f5",class:`password__wrapper ${this.autofilled?"password__wrapper--autofilled":""} ${this.name}__input`,ref:t=>this.stylingContainer=t},i.h("div",{key:"47a7b4a114f9ccf3c8e759f2c8e933b492053a18",class:"password__wrapper--flex"},i.h("label",{key:"b51e602d00798e381eea83258812e70a6fe816a0",class:`password__label ${this.validation.mandatory?"password__label--required":""}`,htmlFor:`${this.name}__input`},this.displayName),i.h("div",{key:"585a9dd0a701429b18d767dd19392ad2373e8ce3",class:"password__wrapper--relative"},this.tooltip&&i.h("img",{key:"637040e9773662b80b36b2d787511778ea12daf8",class:"password__tooltip-icon",src:p.tooltipIconSvg,alt:"",ref:t=>this.tooltipIconReference=t,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i.h("vaadin-password-field",{key:"1626a68548b795aeb709e5a3a7950f7a5017c787",type:"password",id:`${this.name}__input`,class:`password__input ${e}`,name:this.name,readOnly:this.autofilled,value:this.defaultValue,required:this.validation.mandatory,maxlength:this.validation.maxLength,minlength:this.validation.minLength,pattern:this.validationPattern,placeholder:`${this.placeholder}`,onInput:this.handleInput,onBlur:this.handleBlur,onFocus:this.handleFocus}),i.h("small",{key:"791e90e36bf2d67b2a2e68649dcf3052851f2769",class:"password__error-message"},this.errorMessage),this.passwordComplexity&&this.showPopup&&!this.isDuplicateInput&&this.renderComplexityPopup())}get element(){return i.getElement(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}}};d.style=c;exports.player_change_password_gm2=h.PlayerChangePasswordGm2;exports.password_input=d;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-9cd44522-CFA-2f9u.cjs"),l=require("./locale-BB2iZ4t0.cjs"),a=require("./tooltipIcon-ee9760a8-Bd9l1O5C.cjs"),n='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}',s=n,o=class{constructor(e){t.registerInstance(this,e),this.sendValidityState=t.createEvent(this,"sendValidityState"),this.sendInputValue=t.createEvent(this,"sendInputValue"),this.value="",this.setClientStyling=()=>{let i=document.createElement("style");i.innerHTML=this.clientStyling,this.stylingContainer.prepend(i)},this.name=void 0,this.displayName=void 0,this.defaultValue="",this.options=void 0,this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.showFields=this.defaultValue==="true"}handleStylingChange(e,i){e!==i&&this.setClientStyling()}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}handleClick(){this.showFields=this.checkboxReference.checked,this.errorMessage=this.setErrorMessage(),this.isValid=this.setValidity(),this.valueHandler({name:this.name,value:this.checkboxReference.checked?"true":"false",type:"toggle"})}setValidity(){return this.checkboxReference.validity.valid}setErrorMessage(){if(this.checkboxReference.validity.valueMissing)return l.translate("requiredError",this.language)}renderLabel(){return t.h("label",{class:"togglecheckbox__label",htmlFor:`${this.name}__input`},t.h("div",{class:"togglecheckbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}renderTooltip(){return this.showTooltip?t.h("div",{class:`togglecheckbox__tooltip ${this.showTooltip?"visible":""}`,ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return t.h("div",{key:"e8be91ce94cf76ebecc58a433ab567ab549f4692",class:`togglecheckbox__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},t.h("div",{key:"dd42a6316cda06e357843165329de7525a24e3d5",class:"togglecheckbox__wrapper--flex"},t.h("input",{key:"932a6f8caeafa0d006f636484e33dda246c314d0",class:"togglecheckbox__input",type:"checkbox",id:`${this.name}__input`,ref:e=>this.checkboxReference=e,name:this.name,checked:this.defaultValue==="true",readOnly:this.autofilled,required:this.validation.mandatory,value:this.value,onClick:()=>this.handleClick()}),this.renderLabel()),t.h("small",{key:"cbc789c8a5c21debc05971ff347371fbc25d4975",class:"togglecheckbox__error-message"},this.errorMessage),t.h("div",{key:"a5ce470c985829eb1f5a0567bb974cc15e3d0d64",class:"togglecheckbox__wrapper--relative"},this.tooltip&&t.h("img",{key:"faef05dd9341ffe44b6833ca8f4c86b85ed61956",class:"togglecheckbox__tooltip-icon",src:a.tooltipIconSvg,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()),t.h("div",{key:"89fed5f103acecca78fa53eea64d57574ef42727",class:`togglecheckbox__fields-wrapper ${this.showFields?"":"hidden"}`},this.options.map(e=>t.h("general-input",{type:e.inputType,name:e.name,displayName:e.displayName,validation:e.validate,action:e.action||null,defaultValue:e.defaultValue,autofilled:e.autofill,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:e.tooltip,placeholder:e.placeholder==null?"":e.placeholder}))))}static get watchers(){return{clientStyling:["handleStylingChange"]}}};o.style=s;exports.toggle_checkbox_input=o;
@@ -1,122 +0,0 @@
1
- import { r as o, h as r } from "./index-ae04a8b1-BIDvdZJs.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 +0,0 @@
1
- "use strict";const r=require("./index-ae04a8b1-BUa25EUq.cjs"),n=".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",s=n,i=class{constructor(e){r.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}updateStyles(){this.primaryColor&&this.skeletonContainer.style.setProperty("--emw-skeleton-primary-color",this.primaryColor),this.secondaryColor&&this.skeletonContainer.style.setProperty("--emw-skeleton-secondary-color",this.secondaryColor)}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle()}}renderLogo(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Image "+(this.animation?"Skeleton":"")}))}renderTitle(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return Array.from({length:this.rows>0?this.rows:1}).map((t,o)=>r.h("div",{style:e,key:o,class:"Text "+(this.animation?"Skeleton":"")}))}renderRectangle(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){const e={width:`${this.size}`,height:`${this.size}`,"background-color":`${this.color}`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Circle "+(this.animation?"Skeleton":"")}))}componentDidLoad(){this.updateStyles()}render(){return this.handleStructure(this.structure)}static get watchers(){return{structure:["handleStructureChange"],primaryColor:["updateStyles"],secondaryColor:["updateStyles"]}}};i.style=s;exports.UiSkeleton=i;
@@ -1,122 +0,0 @@
1
- import { r as o, h as r } from "./index-ae04a8b1-BYWsXc_G.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 +0,0 @@
1
- "use strict";var c=(r,t,o)=>new Promise((u,s)=>{var d=e=>{try{n(o.next(e))}catch(i){s(i)}},m=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?u(e.value):Promise.resolve(e.value).then(d,m);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-ae04a8b1-BUa25EUq.cjs"),p=require("./app-globals-0f993ce5-DgYhdguE.cjs"),g=require("./ui-skeleton-a642cced-BXc76uPc.cjs");var a=typeof document!="undefined"?document.currentScript:null,y=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-r-lLy7GD.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),l.promiseResolve(t)};y().then(r=>c(exports,null,function*(){return yield p.globalScripts$2(),l.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"],primaryColor:["updateStyles"],secondaryColor:["updateStyles"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;