@everymatrix/player-account-controller 1.59.3 → 1.60.0

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 (167) hide show
  1. package/components/GeneralLogout-BjsDUNrm.cjs +21 -0
  2. package/components/{GeneralLogout-BplfowFH.js → GeneralLogout-CrdxxT-0.js} +659 -626
  3. package/components/{GeneralLogout-DuABjNp8.js → GeneralLogout-Cs6a0Woe.js} +762 -729
  4. package/components/PlayerAccountBettingHistory-Bu3VS2Sg.cjs +1 -0
  5. package/components/PlayerAccountBettingHistory-DznJRKHH.js +329 -0
  6. package/components/{PlayerAccountBettingHistory-BxCRppml.js → PlayerAccountBettingHistory-HLjCXypd.js} +126 -127
  7. package/components/{PlayerAccountBiometrics-C8NBQKUw.js → PlayerAccountBiometrics-CIo8pkfn.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-BEFosUME.js → PlayerAccountBiometrics-DpVTOI5S.js} +22 -22
  9. package/components/{PlayerAccountBiometrics-DTFbvNhj.cjs → PlayerAccountBiometrics-DvJlyQ8z.cjs} +1 -1
  10. package/components/{PlayerAccountClosure-B2Gy9x3G.cjs → PlayerAccountClosure-Bgcd5aWK.cjs} +1 -1
  11. package/components/{PlayerAccountClosure-bkzdtq3v.js → PlayerAccountClosure-DJx7NuYi.js} +32 -32
  12. package/components/{PlayerAccountClosure-D9hNArXT.js → PlayerAccountClosure-DUnNJuF0.js} +32 -32
  13. package/components/{PlayerAccountController-bVtx8Tfe.js → PlayerAccountController-BHULNGiG.js} +815 -751
  14. package/components/PlayerAccountController-C7RCoOhc.cjs +1 -0
  15. package/components/{PlayerAccountController-CUbh06Fx.js → PlayerAccountController-oC2_eSvR.js} +809 -745
  16. package/components/{PlayerAccountGamingLimits-oNSvEvXz.js → PlayerAccountGamingLimits-DiTQMKO-.js} +81 -81
  17. package/components/{PlayerAccountGamingLimits-BrtFDG1O.cjs → PlayerAccountGamingLimits-UmFJS4yG.cjs} +1 -1
  18. package/components/{PlayerAccountGamingLimits-Dxz29F5p.js → PlayerAccountGamingLimits-t-Kt6fD1.js} +81 -81
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-Bes0Svrr.js → PlayerAccountGamingLimitsConfirmationModal-BOqmU6ao.js} +30 -30
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-aQzVqW8v.cjs → PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs} +1 -1
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-BhmpbfB9.js → PlayerAccountGamingLimitsConfirmationModal-CJS6pzAL.js} +30 -30
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-BS6wWGFd.js → PlayerAccountGamingLimitsGroupEdit-Cohx9d0h.js} +54 -54
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-D2lkSHNX.js → PlayerAccountGamingLimitsGroupEdit-DQ4LAIh3.js} +54 -54
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-gdCqCIvt.cjs → PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs} +2 -2
  25. package/components/{PlayerAccountGamingLimitsHistory2-DGVBzjIn.cjs → PlayerAccountGamingLimitsHistory2-1CxT-5pd.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsHistory2-_bX1iIJM.js → PlayerAccountGamingLimitsHistory2-CZWoK_f5.js} +46 -46
  27. package/components/{PlayerAccountGamingLimitsHistory2-DrrIUH-E.js → PlayerAccountGamingLimitsHistory2-DuWgdsnY.js} +48 -48
  28. package/components/{PlayerAccountGamingLimitsInfoCard-DwNXbIaa.cjs → PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsInfoCard-Cd2oTK9r.js → PlayerAccountGamingLimitsInfoCard-AOCz2477.js} +83 -83
  30. package/components/{PlayerAccountGamingLimitsInfoCard-D73a50SO.js → PlayerAccountGamingLimitsInfoCard-wb1MgSRM.js} +83 -83
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-DzG7Yyop.cjs → PlayerAccountGamingLimitsPage2Gm16-DQhfQZf3.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-BikeP6Os.js → PlayerAccountGamingLimitsPage2Gm16-DqVb6gUu.js} +9 -9
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-DV_B0I-1.js → PlayerAccountGamingLimitsPage2Gm16-yGmurNY8.js} +9 -9
  34. package/components/{PlayerAccountGamingLimitsPopup-BzAiMR7P.cjs → PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPopup-Bmo_d-SK.js → PlayerAccountGamingLimitsPopup-Byk1Oi5A.js} +42 -42
  36. package/components/{PlayerAccountGamingLimitsPopup-BhxPf2k2.js → PlayerAccountGamingLimitsPopup-Cou16qpk.js} +42 -42
  37. package/components/{PlayerAccountGamingLimitsWrapper2-CEfUMBze.js → PlayerAccountGamingLimitsWrapper2-BEDe0nx6.js} +20 -20
  38. package/components/{PlayerAccountGamingLimitsWrapper2-DcjNP85K.js → PlayerAccountGamingLimitsWrapper2-BMjMekAI.js} +55 -55
  39. package/components/{PlayerAccountGamingLimitsWrapper2-C5ZEZESw.cjs → PlayerAccountGamingLimitsWrapper2-BTn_7__K.cjs} +1 -1
  40. package/components/{PlayerAccountGeneralConfirmationModal-xn068Ofp.js → PlayerAccountGeneralConfirmationModal-DTd4PiMe.js} +34 -34
  41. package/components/{PlayerAccountGeneralConfirmationModal-C_d3r_5u.cjs → PlayerAccountGeneralConfirmationModal-DoognqGf.cjs} +1 -1
  42. package/components/{PlayerAccountGeneralConfirmationModal-DHO5sM_A.js → PlayerAccountGeneralConfirmationModal-kdUl-EBq.js} +34 -34
  43. package/components/{PlayerAccountMenu-B2ipwiXm.cjs → PlayerAccountMenu-C5GtMCo6.cjs} +1 -1
  44. package/components/{PlayerAccountMenu-2fRKWX72.js → PlayerAccountMenu-CqVrDqg2.js} +32 -32
  45. package/components/{PlayerAccountMenu-BZMOA6FB.js → PlayerAccountMenu-DNaPK2TZ.js} +29 -29
  46. package/components/{PlayerAccountModal-BPfkAiOY.js → PlayerAccountModal-Cgwoz0_A.js} +42 -42
  47. package/components/{PlayerAccountModal-DYanNf6b.js → PlayerAccountModal-ZSZxImk8.js} +42 -42
  48. package/components/{PlayerAccountModal-BC3FTDl6.cjs → PlayerAccountModal-zI2QLAL1.cjs} +1 -1
  49. package/components/{PlayerAccountNotifications-CcTMD34l.cjs → PlayerAccountNotifications-B-wkpb9J.cjs} +1 -1
  50. package/components/{PlayerAccountNotifications-DxM4yW0h.js → PlayerAccountNotifications-B1K_Z2TT.js} +31 -31
  51. package/components/{PlayerAccountNotifications-989NFh5T.js → PlayerAccountNotifications-Cf28JRBn.js} +32 -32
  52. package/components/{PlayerAccountSelfExclusion-BrQUxdxS.js → PlayerAccountSelfExclusion-DSxM_f45.js} +786 -781
  53. package/components/{PlayerAccountSelfExclusion-D4uJysE9.cjs → PlayerAccountSelfExclusion-DlekYIJO.cjs} +153 -153
  54. package/components/{PlayerAccountSelfExclusion-tDcqpg8M.js → PlayerAccountSelfExclusion-DxRAfTZT.js} +1689 -1684
  55. package/components/{PlayerAccountTimeout-BnBgpjeF.cjs → PlayerAccountTimeout-BBpwfboX.cjs} +1 -1
  56. package/components/{PlayerAccountTimeout-1VU-R_sT.js → PlayerAccountTimeout-BVATVPRq.js} +58 -58
  57. package/components/{PlayerAccountTimeout-DAyJv6XI.js → PlayerAccountTimeout-Bb58NRXY.js} +58 -58
  58. package/components/{PlayerActiveBonuses-8_q2D0Pm.cjs → PlayerActiveBonuses-CBqsWQfE.cjs} +1 -1
  59. package/components/{PlayerActiveBonuses-C3FSr5OJ.js → PlayerActiveBonuses-DXMMRNp0.js} +73 -73
  60. package/components/{PlayerActiveBonuses-DslbK9bV.js → PlayerActiveBonuses-Dt0N6Bn0.js} +74 -74
  61. package/components/{PlayerBonusCard-CXkW82MZ.js → PlayerBonusCard-CH-ncifJ.js} +54 -54
  62. package/components/{PlayerBonusCard-Q-nM2Ss4.cjs → PlayerBonusCard-CJXjuXsU.cjs} +1 -1
  63. package/components/{PlayerBonusCard-oV2_xQ7r.js → PlayerBonusCard-Di1Znpi1.js} +54 -54
  64. package/components/{PlayerBonusHistory-DZIZHkBk.js → PlayerBonusHistory-CG4iedyf.js} +33 -33
  65. package/components/{PlayerBonusHistory-DOUhJRUl.js → PlayerBonusHistory-CHDc8kFG.js} +33 -33
  66. package/components/{PlayerBonusHistory-DAOaiP_i.cjs → PlayerBonusHistory-Dt0nm--k.cjs} +1 -1
  67. package/components/{PlayerChangePassword-CYvwu077.js → PlayerChangePassword-Cy_iUEwl.js} +71 -71
  68. package/components/{PlayerChangePassword-BXTWOpKM.js → PlayerChangePassword-DMiyyEYC.js} +71 -71
  69. package/components/{PlayerChangePassword-CbBHjN4s.cjs → PlayerChangePassword-awaQVsiP.cjs} +1 -1
  70. package/components/{PlayerDeposit-VF5d6vUd.js → PlayerDeposit-BFpoULil.js} +75 -75
  71. package/components/{PlayerDeposit-BxvpoON-.js → PlayerDeposit-BUbpr-x6.js} +75 -75
  72. package/components/PlayerDeposit-_oIOMh8l.cjs +1 -0
  73. package/components/{PlayerGamingHistory-CorLWCJo.cjs → PlayerGamingHistory-Bw_u3E09.cjs} +1 -1
  74. package/components/{PlayerGamingHistory-D_p5zZIW.js → PlayerGamingHistory-Cy9FMn9D.js} +74 -74
  75. package/components/{PlayerGamingHistory-D3Ks9sA3.js → PlayerGamingHistory-RqKyBLJf.js} +84 -84
  76. package/components/{PlayerPendingWithdrawals-DnRLD9Qj.js → PlayerPendingWithdrawals-Dc91b0Cm.js} +26 -26
  77. package/components/{PlayerPendingWithdrawals-D3hbZ7iV.cjs → PlayerPendingWithdrawals-aaHugNLD.cjs} +1 -1
  78. package/components/{PlayerPendingWithdrawals-CePMH1Ym.js → PlayerPendingWithdrawals-ttbTlX0c.js} +26 -26
  79. package/components/PlayerProfileInfo-DXGC3Nhp.js +2059 -0
  80. package/components/PlayerProfileInfo-tYfJSyL9.cjs +1 -0
  81. package/components/PlayerProfileInfo-yGYztqLK.js +2087 -0
  82. package/components/{PlayerRealityCheck-DTbqf0Qh.cjs → PlayerRealityCheck-BobhhM62.cjs} +1 -1
  83. package/components/{PlayerRealityCheck-hu40INih.js → PlayerRealityCheck-C9j8cYwx.js} +33 -33
  84. package/components/{PlayerRealityCheck-Dkm-7UeP.js → PlayerRealityCheck-D7YLuHGQ.js} +33 -33
  85. package/components/{PlayerTransactionHistory-CmHZLNzi.js → PlayerTransactionHistory-BHDwTuEi.js} +24 -24
  86. package/components/{PlayerTransactionHistory-Cp--JykS.cjs → PlayerTransactionHistory-Dff51WQG.cjs} +1 -1
  87. package/components/{PlayerTransactionHistory-Dob8ZHvF.js → PlayerTransactionHistory-fsxifDQz.js} +24 -24
  88. package/components/{PlayerWithdrawal-DMasfo5k.js → PlayerWithdrawal-4QbyF-GU.js} +19 -19
  89. package/components/{PlayerWithdrawal-fB3IW1Dc.js → PlayerWithdrawal-D6ic1PCk.js} +19 -19
  90. package/components/{PlayerWithdrawal-BocnE727.cjs → PlayerWithdrawal-DdPBGufW.cjs} +1 -1
  91. package/es2015/player-account-controller.cjs +1 -1
  92. package/es2015/player-account-controller.js +1 -1
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/{checkbox-group-input_9-CinfKCss.js → checkbox-group-input_9-C7zEH4Cn.js} +13 -11
  96. package/stencil/checkbox-group-input_9-CMfQeYlH.cjs +2 -0
  97. package/stencil/{checkbox-group-input_9-C_Jto8Jt.js → checkbox-group-input_9-OVj7AW5S.js} +13 -11
  98. package/stencil/{general-input-n2Odu7ir.cjs → general-input-BlFYbInU.cjs} +199 -199
  99. package/stencil/{general-input-bu08V52z.js → general-input-C7B1PVb4.js} +1249 -1243
  100. package/stencil/{general-input-DJk-3Amp.js → general-input-DoSeJn3k.js} +1247 -1241
  101. package/stencil/index-1ef3a64c-BnB-ATuA.js +556 -0
  102. package/stencil/index-1ef3a64c-BvKbNMH8.cjs +1 -0
  103. package/stencil/index-1ef3a64c-Nsr9PDe6.js +572 -0
  104. package/stencil/index-7c5e707a-CTC8RpEi.js +643 -0
  105. package/stencil/index-7c5e707a-CWE0q0mP.js +616 -0
  106. package/stencil/index-7c5e707a-D1Fv8nel.cjs +1 -0
  107. package/stencil/index-9c0f6c58-C1yzTenw.js +576 -0
  108. package/stencil/{index-9c0f6c58-DRP3WpwA.js → index-9c0f6c58-CqoLeK5G.js} +197 -197
  109. package/stencil/index-9c0f6c58-DEsDY2nb.cjs +1 -0
  110. package/stencil/index-9cd44522-BOHK5Ehb.js +626 -0
  111. package/stencil/index-9cd44522-C8s3TvoU.js +610 -0
  112. package/stencil/index-9cd44522-D9raG3xx.cjs +1 -0
  113. package/stencil/index-ae04a8b1-D4wvtXTw.cjs +1 -0
  114. package/stencil/index-ae04a8b1-fpBaOn88.js +516 -0
  115. package/stencil/index-ae04a8b1-ixlRj3zC.js +532 -0
  116. package/stencil/{password-input_2-BEm5miI-.js → password-input_2-5nC89CMj.js} +3 -3
  117. package/stencil/{password-input_2-BQFmAJZH.js → password-input_2-DJSgcWve.js} +3 -3
  118. package/stencil/password-input_2-ZOEOuaOe.cjs +193 -0
  119. package/stencil/{player-change-password-gm2-039e300e-WQ9F_3S-.cjs → player-change-password-gm2-039e300e-C-kbOfS1.cjs} +1 -1
  120. package/stencil/{player-change-password-gm2-039e300e-CAqacRz5.js → player-change-password-gm2-039e300e-C_f58yBE.js} +1 -1
  121. package/stencil/{player-change-password-gm2-039e300e-DsF_swLz.js → player-change-password-gm2-039e300e-D4KfL3dW.js} +1 -1
  122. package/stencil/{player-change-password-gm2-lgbjA5yk.js → player-change-password-gm2-3aRR8E4W.js} +1 -1
  123. package/stencil/{player-change-password-gm2-2-y7ZnBr.js → player-change-password-gm2-BJ2Ur7Zx.js} +1 -1
  124. package/stencil/{player-change-password-gm2-21_4LRZA.cjs → player-change-password-gm2-CHK-mhQ9.cjs} +1 -1
  125. package/stencil/{player-kyc-verification-CK7jvih_.js → player-kyc-verification-B8arDCja.js} +1 -1
  126. package/stencil/{player-kyc-verification-ClECAHs-.js → player-kyc-verification-Di40xn9z.js} +1 -1
  127. package/stencil/{player-kyc-verification-CWBei0Yk.cjs → player-kyc-verification-GFBDUbhm.cjs} +1 -1
  128. package/stencil/{toggle-checkbox-input-BETTnM8f.js → toggle-checkbox-input-BRL1Xahc.js} +23 -9
  129. package/stencil/toggle-checkbox-input-CPDZs55S.cjs +1 -0
  130. package/stencil/{toggle-checkbox-input-D3c8zSJU.js → toggle-checkbox-input-cLWFox9n.js} +23 -9
  131. package/stencil/{ui-skeleton-r-lLy7GD.cjs → ui-skeleton-BC4mw1ae.cjs} +1 -1
  132. package/stencil/{ui-skeleton-CWQGWUte.js → ui-skeleton-DT0OMDC6.js} +2 -2
  133. package/stencil/{ui-skeleton-DGSaG5JU.js → ui-skeleton-T4HYbNcC.js} +2 -2
  134. package/stencil/{ui-skeleton-a642cced-BXc76uPc.cjs → ui-skeleton-a642cced-B8H73O_q.cjs} +1 -1
  135. package/stencil/{ui-skeleton-a642cced-21I14Ylk.js → ui-skeleton-a642cced-Ba-weZ4g.js} +1 -1
  136. package/stencil/{ui-skeleton-a642cced-C5tlYQb-.js → ui-skeleton-a642cced-DhjmNsN7.js} +1 -1
  137. package/stencil/{user-deposit-withdrawal-C8N7GB9E.cjs → user-deposit-withdrawal-BQKFgZ31.cjs} +1 -1
  138. package/stencil/{user-deposit-withdrawal-BISsu0Z-.js → user-deposit-withdrawal-DRe5oBqv.js} +1 -1
  139. package/stencil/{user-deposit-withdrawal-BmOGfPLJ.js → user-deposit-withdrawal-Dj3Po03r.js} +1 -1
  140. package/stencil/{user-transaction-history-Bg6onQ-I.js → user-transaction-history-6-z3byrF.js} +1 -1
  141. package/stencil/{user-transaction-history-BO92Qvk4.js → user-transaction-history-Dca7qx08.js} +1 -1
  142. package/stencil/{user-transaction-history-COJbthDt.cjs → user-transaction-history-DrhquxkJ.cjs} +1 -1
  143. package/components/GeneralLogout-aDlrOvb2.cjs +0 -21
  144. package/components/PlayerAccountBettingHistory-CIfM4HLW.js +0 -328
  145. package/components/PlayerAccountBettingHistory-CaGfH6ef.cjs +0 -1
  146. package/components/PlayerAccountController-DIWtv1hU.cjs +0 -1
  147. package/components/PlayerDeposit-mr7WW9bf.cjs +0 -1
  148. package/components/PlayerProfileInfo-BM9bYXPT.js +0 -1823
  149. package/components/PlayerProfileInfo-BST7W89r.cjs +0 -1
  150. package/components/PlayerProfileInfo-CGh-HMYc.js +0 -1806
  151. package/stencil/checkbox-group-input_9-Dc49Q3Vp.cjs +0 -2
  152. package/stencil/index-1ef3a64c-Dr_Pi_Tn.cjs +0 -1
  153. package/stencil/index-1ef3a64c-gNJv-qax.js +0 -572
  154. package/stencil/index-1ef3a64c-jZYsp9Sk.js +0 -556
  155. package/stencil/index-7c5e707a-40SRy2Ab.js +0 -616
  156. package/stencil/index-7c5e707a-B9tD4t-g.js +0 -643
  157. package/stencil/index-7c5e707a-DosLPDO6.cjs +0 -1
  158. package/stencil/index-9c0f6c58-CiH_jMvd.cjs +0 -1
  159. package/stencil/index-9c0f6c58-jtioo3_h.js +0 -576
  160. package/stencil/index-9cd44522-CFA-2f9u.cjs +0 -1
  161. package/stencil/index-9cd44522-COdVO-ko.js +0 -610
  162. package/stencil/index-9cd44522-IsBDbKDl.js +0 -626
  163. package/stencil/index-ae04a8b1-BIDvdZJs.js +0 -532
  164. package/stencil/index-ae04a8b1-BUa25EUq.cjs +0 -1
  165. package/stencil/index-ae04a8b1-BYWsXc_G.js +0 -516
  166. package/stencil/password-input_2-BvQKzYdi.cjs +0 -193
  167. package/stencil/toggle-checkbox-input-owvrKS5Z.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;