@everymatrix/player-account-controller 1.56.1 → 1.56.2
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.
- package/components/{GeneralLogout-BJr23vYk.cjs → GeneralLogout-B0tDLggX.cjs} +15 -2
- package/components/{GeneralLogout-CBaU48IH.js → GeneralLogout-BSaw6CR3.js} +231 -196
- package/components/{GeneralLogout-CtNZ2rvU.js → GeneralLogout-P0C6s5DZ.js} +146 -111
- package/components/{PlayerAccountBettingHistory-Bb3AMzX8.js → PlayerAccountBettingHistory-DeLbSbrJ.js} +1 -1
- package/components/{PlayerAccountBettingHistory-B5BniV4g.cjs → PlayerAccountBettingHistory-QrFClf-q.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-DNqJtC6N.js → PlayerAccountBettingHistory-l2jKP400.js} +1 -1
- package/components/{PlayerAccountBiometrics-9jkq0tvf.js → PlayerAccountBiometrics-BrjU0LiD.js} +1 -1
- package/components/{PlayerAccountBiometrics-Dg73RCT9.cjs → PlayerAccountBiometrics-Bs6NMHc0.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DlroL56t.js → PlayerAccountBiometrics-DSkIQnzt.js} +1 -1
- package/components/{PlayerAccountClosure-DnkzjHvI.cjs → PlayerAccountClosure-BOIOY2XA.cjs} +1 -1
- package/components/{PlayerAccountClosure-DKliqI6n.js → PlayerAccountClosure-DfeDK9W_.js} +1 -1
- package/components/{PlayerAccountClosure-DMjXua4S.js → PlayerAccountClosure-DiGREXoY.js} +1 -1
- package/components/{PlayerAccountController-Mp8kU2tC.js → PlayerAccountController-B0nEgZTS.js} +112 -68
- package/components/{PlayerAccountController-BJB0Tl_L.cjs → PlayerAccountController-B7U-7bNI.cjs} +1 -1
- package/components/{PlayerAccountController-DjbCb6IF.js → PlayerAccountController-CFyMeqDb.js} +112 -68
- package/components/{PlayerAccountGamingLimits-BqZOV7ER.js → PlayerAccountGamingLimits-Crfy5IPI.js} +2 -2
- package/components/{PlayerAccountGamingLimits-BJcdfjxs.cjs → PlayerAccountGamingLimits-D46zagPJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-B5ZobNN6.js → PlayerAccountGamingLimits-Ktm0tqeu.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BkfdzG8y.cjs → PlayerAccountGamingLimitsConfirmationModal-BVtO8XYY.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-D4OvRvHS.js → PlayerAccountGamingLimitsConfirmationModal-CVt2dp2q.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DYzB3j6L.js → PlayerAccountGamingLimitsConfirmationModal-GJsD4EXP.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cer2-m_x.js → PlayerAccountGamingLimitsGroupEdit-CBQMS6_H.js} +1286 -1339
- package/components/PlayerAccountGamingLimitsGroupEdit-DNh-dSyB.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-DUdaJ7Kq.js → PlayerAccountGamingLimitsGroupEdit-G4w9DdS2.js} +1286 -1339
- package/components/{PlayerAccountGamingLimitsHistory2-PeeGekce.js → PlayerAccountGamingLimitsHistory2-Ciipqbhq.js} +3 -2
- package/components/{PlayerAccountGamingLimitsHistory2-BFqWdMn-.js → PlayerAccountGamingLimitsHistory2-CtA0oegi.js} +3 -2
- package/components/{PlayerAccountGamingLimitsHistory2-CCJMGIcX.cjs → PlayerAccountGamingLimitsHistory2-D4h59ZvH.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CoMJRMLA.js → PlayerAccountGamingLimitsInfoCard-BEtS-68W.js} +11 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-C0h1smBV.cjs → PlayerAccountGamingLimitsInfoCard-BP3ieYB-.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-C5Uyy4hS.js → PlayerAccountGamingLimitsInfoCard-LGJizeyk.js} +11 -7
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CxPXwme_.js → PlayerAccountGamingLimitsPage2Gm16-BcM2sb1p.js} +28 -15
- package/components/{PlayerAccountGamingLimitsPage2Gm16-T2cmSKjm.js → PlayerAccountGamingLimitsPage2Gm16-DdhPHIQd.js} +28 -15
- package/components/{PlayerAccountGamingLimitsPage2Gm16-p3GcsFI7.cjs → PlayerAccountGamingLimitsPage2Gm16-HZl-4uMr.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B4-V_QNS.js → PlayerAccountGamingLimitsPopup-CdRdI3JR.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DdcT7vPa.cjs → PlayerAccountGamingLimitsPopup-DyBIvm50.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-C1u8s5Rb.js → PlayerAccountGamingLimitsPopup-Yhb7EjIg.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-_YHpEotj.js → PlayerAccountGamingLimitsWrapper2-BYv2y-rY.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-CcyRURaw.js → PlayerAccountGamingLimitsWrapper2-C6xKIGFF.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-s5SZNIjP.cjs → PlayerAccountGamingLimitsWrapper2-gGub1fuG.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-CGsrVc5R.cjs → PlayerAccountGeneralConfirmationModal-B4jIx1BX.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-B0kXXOye.js → PlayerAccountGeneralConfirmationModal-CD-C2QtO.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BIT_T-29.js → PlayerAccountGeneralConfirmationModal-DyiU178q.js} +1 -1
- package/components/{PlayerAccountMenu-DqJbyUfh.js → PlayerAccountMenu-CdKBgnzJ.js} +3 -3
- package/components/{PlayerAccountMenu-DN2PIyCS.js → PlayerAccountMenu-DFrCnbsI.js} +3 -3
- package/components/{PlayerAccountMenu-Bfre06Le.cjs → PlayerAccountMenu-bdpP915D.cjs} +1 -1
- package/components/{PlayerAccountModal-Bc_9P-LN.cjs → PlayerAccountModal-COJeLuDu.cjs} +1 -1
- package/components/{PlayerAccountModal-C3LgI3bI.js → PlayerAccountModal-DvoqjoAL.js} +1 -1
- package/components/{PlayerAccountModal-C6u0YlOB.js → PlayerAccountModal-oVEZuWB2.js} +1 -1
- package/components/{PlayerAccountNotifications-zizauj3S.js → PlayerAccountNotifications-BaNsCEei.js} +6 -4
- package/components/{PlayerAccountNotifications-CmREqnee.cjs → PlayerAccountNotifications-DAWwzmCU.cjs} +1 -1
- package/components/{PlayerAccountNotifications-xD7DJqe7.js → PlayerAccountNotifications-fgHOmoJ0.js} +6 -4
- package/components/{PlayerAccountSelfExclusion-BOP9Y_Cl.js → PlayerAccountSelfExclusion-ARIxVSLP.js} +10572 -10908
- package/components/{PlayerAccountSelfExclusion-CDVz-lP6.js → PlayerAccountSelfExclusion-Bx-xxb7Y.js} +10472 -10853
- package/components/PlayerAccountSelfExclusion-lAbJlcUC.cjs +3555 -0
- package/components/{PlayerAccountTimeout-DiMSoYxX.js → PlayerAccountTimeout-04shprSV.js} +4 -4
- package/components/{PlayerAccountTimeout-BW3T413k.js → PlayerAccountTimeout-C392Fv8K.js} +4 -4
- package/components/{PlayerAccountTimeout-2YkNAJ9f.cjs → PlayerAccountTimeout-C7KH6ovR.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CacJcfPT.js → PlayerActiveBonuses-5eFyy-RT.js} +216 -194
- package/components/PlayerActiveBonuses-DZpjmd5_.cjs +1 -0
- package/components/{PlayerActiveBonuses-3N_s8OrY.js → PlayerActiveBonuses-TbfmKgcG.js} +216 -194
- package/components/{PlayerBonusCard-fmiQL149.cjs → PlayerBonusCard-BLy1uhLi.cjs} +1 -1
- package/components/{PlayerBonusCard-CzDI2441.js → PlayerBonusCard-CukAjEqo.js} +2 -2
- package/components/{PlayerBonusCard-BtmQf1aE.js → PlayerBonusCard-DW5VwRsP.js} +2 -2
- package/components/{PlayerBonusHistory-Cc7KuYdG.js → PlayerBonusHistory-CIbSh98F.js} +4 -4
- package/components/{PlayerBonusHistory-B_fcWrpb.cjs → PlayerBonusHistory-DLekMCrR.cjs} +1 -1
- package/components/{PlayerBonusHistory-1zb5ypXm.js → PlayerBonusHistory-DyASnKHg.js} +4 -4
- package/components/{PlayerChangePassword-C25k7g0R.js → PlayerChangePassword-Bjf-BD9m.js} +5 -3
- package/components/{PlayerChangePassword-CRAV5XBF.js → PlayerChangePassword-RGHCaEP3.js} +5 -3
- package/components/{PlayerChangePassword-C8JMSlO2.cjs → PlayerChangePassword-UepIdqvw.cjs} +1 -1
- package/components/{PlayerDeposit-C3LBDk7P.js → PlayerDeposit-BEZ5yfVx.js} +1 -1
- package/components/{PlayerDeposit-lFMe4Ubk.js → PlayerDeposit-C2zLAno5.js} +1 -1
- package/components/{PlayerDeposit-D9vHJT5z.cjs → PlayerDeposit-Dcjjga2V.cjs} +1 -1
- package/components/{PlayerGamingHistory-D-g7DsZY.js → PlayerGamingHistory-DYtKLxtA.js} +4 -4
- package/components/{PlayerGamingHistory-A8ezawol.cjs → PlayerGamingHistory-Qv5CmegZ.cjs} +1 -1
- package/components/{PlayerGamingHistory-CBybmkzJ.js → PlayerGamingHistory-f408ehA1.js} +4 -4
- package/components/{PlayerPendingWithdrawals-Cv8ar9i7.js → PlayerPendingWithdrawals-Bl7G42a8.js} +1 -1
- package/components/{PlayerPendingWithdrawals-335u7VHy.cjs → PlayerPendingWithdrawals-CvxjxkOD.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-Bkq_LzUX.js → PlayerPendingWithdrawals-Dd-hUBTs.js} +1 -1
- package/components/{PlayerProfileInfo-BtajfoNY.cjs → PlayerProfileInfo-AlvN_pUL.cjs} +1 -1
- package/components/{PlayerProfileInfo-DGa8IkvB.js → PlayerProfileInfo-Chwlpy6G.js} +20 -18
- package/components/{PlayerProfileInfo-ChVQdofV.js → PlayerProfileInfo-tT3FUcqx.js} +20 -18
- package/components/{PlayerRealityCheck-4dDx5fG9.js → PlayerRealityCheck-6MNq7GKW.js} +2 -2
- package/components/{PlayerRealityCheck-Bp0kcyji.js → PlayerRealityCheck-BBRdpOqG.js} +2 -2
- package/components/{PlayerRealityCheck-CLNviBS2.cjs → PlayerRealityCheck-DSYoUIrf.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CM91yXea.js → PlayerTransactionHistory-6qxdyqQZ.js} +1 -1
- package/components/{PlayerTransactionHistory-CYYFJ6EG.js → PlayerTransactionHistory-BrGY_Ah9.js} +1 -1
- package/components/{PlayerTransactionHistory-Gz5Ae9tP.cjs → PlayerTransactionHistory-Cvm1EwgV.cjs} +1 -1
- package/components/{PlayerWithdrawal-_cBpaGNe.js → PlayerWithdrawal-B3-mcOWq.js} +1 -1
- package/components/{PlayerWithdrawal-BrBDWDhT.cjs → PlayerWithdrawal-D9w69Llz.cjs} +1 -1
- package/components/{PlayerWithdrawal-CUYps7WV.js → PlayerWithdrawal-dfFj1w6I.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/checkbox-group-input_9-DMrH9pTx.cjs +2045 -0
- package/stencil/{checkbox-group-input_9-DZvX2H_r.js → checkbox-group-input_9-DtZ9kvK4.js} +3129 -2212
- package/stencil/{checkbox-group-input_9-CgJXKrax.js → checkbox-group-input_9-DvXvp-ML.js} +3231 -2300
- package/stencil/{general-input-igTYIJ6W.cjs → general-input-CFqrfrup.cjs} +1 -1
- package/stencil/{general-input-Yj_LRx0v.js → general-input-eCxMClmW.js} +1 -1
- package/stencil/{general-input-d5RULL12.js → general-input-rL_ftR3H.js} +1 -1
- package/stencil/index-1ef3a64c-BnB-ATuA.js +556 -0
- package/stencil/index-1ef3a64c-BvKbNMH8.cjs +1 -0
- package/stencil/index-1ef3a64c-Nsr9PDe6.js +572 -0
- package/stencil/{index-42a69622-Bf3iffRU.js → index-7c5e707a-CTC8RpEi.js} +162 -178
- package/stencil/{index-e8249896-DW1YiUqn.js → index-7c5e707a-CWE0q0mP.js} +204 -219
- package/stencil/index-7c5e707a-D1Fv8nel.cjs +1 -0
- package/stencil/{index-1c9f7b34-DjxFQLNm.js → index-9c0f6c58-C1yzTenw.js} +209 -226
- package/stencil/{index-0437c9c0-BwGFk0Yq.js → index-9c0f6c58-CqoLeK5G.js} +178 -194
- package/stencil/index-9c0f6c58-DEsDY2nb.cjs +1 -0
- package/stencil/index-9cd44522-BqLgI-Ho.js +626 -0
- package/stencil/index-9cd44522-Cygpa4pV.js +610 -0
- package/stencil/index-9cd44522-DwMekoGN.cjs +1 -0
- package/stencil/index-ae04a8b1-D4wvtXTw.cjs +1 -0
- package/stencil/index-ae04a8b1-fpBaOn88.js +516 -0
- package/stencil/{index-7c2d76a2-BhtzgVqi.js → index-ae04a8b1-ixlRj3zC.js} +196 -196
- package/stencil/password-input_2-9_yxZI2g.js +589 -0
- package/stencil/password-input_2-BabcxKun.cjs +105 -0
- package/stencil/password-input_2-D-YA_Jkx.js +589 -0
- package/stencil/{player-change-password-gm2-7b05cf53-ChOp29_5.js → player-change-password-gm2-039e300e-CcWiaT26.js} +1 -1
- package/stencil/{player-change-password-gm2-7b05cf53-BGg_is8g.cjs → player-change-password-gm2-039e300e-DiYWgS70.cjs} +1 -1
- package/stencil/{player-change-password-gm2-7b05cf53-CnV9s-Ih.js → player-change-password-gm2-039e300e-Zp9TDX77.js} +1 -1
- package/stencil/player-change-password-gm2-BWjI2Hs0.js +25 -0
- package/stencil/player-change-password-gm2-BaYafift.js +7 -0
- package/stencil/player-change-password-gm2-DsT1aXcX.cjs +1 -0
- package/stencil/{player-kyc-verification-BV7JAA9D.js → player-kyc-verification-B8arDCja.js} +1 -1
- package/stencil/{player-kyc-verification-2B5tE4Ms.js → player-kyc-verification-Di40xn9z.js} +1 -1
- package/stencil/{player-kyc-verification-Bc4oE7cr.cjs → player-kyc-verification-GFBDUbhm.cjs} +1 -1
- package/stencil/{toggle-checkbox-input-DXS0qpdk.js → toggle-checkbox-input-BxUGWw2X.js} +12 -4
- package/stencil/toggle-checkbox-input-D-Cv1QSS.cjs +1 -0
- package/stencil/{toggle-checkbox-input-CdUMWsZk.js → toggle-checkbox-input-PSoH9KF2.js} +12 -4
- package/stencil/{ui-skeleton-DFziT7_7.cjs → ui-skeleton-BC4mw1ae.cjs} +1 -1
- package/stencil/{ui-skeleton-CYW2WO8b.js → ui-skeleton-DT0OMDC6.js} +2 -2
- package/stencil/{ui-skeleton-BIkTgHQw.js → ui-skeleton-T4HYbNcC.js} +2 -2
- package/stencil/{ui-skeleton-82ccc79b-BrQV4Gq-.cjs → ui-skeleton-a642cced-B8H73O_q.cjs} +1 -1
- package/stencil/{ui-skeleton-82ccc79b-3ievvoeK.js → ui-skeleton-a642cced-Ba-weZ4g.js} +1 -1
- package/stencil/{ui-skeleton-82ccc79b-BPwVGHA5.js → ui-skeleton-a642cced-DhjmNsN7.js} +1 -1
- package/stencil/{user-deposit-withdrawal-CDH0Oqm0.cjs → user-deposit-withdrawal-BQKFgZ31.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-CieORRUN.js → user-deposit-withdrawal-DRe5oBqv.js} +43 -22
- package/stencil/{user-deposit-withdrawal-D7WNAnCv.js → user-deposit-withdrawal-Dj3Po03r.js} +43 -22
- package/stencil/{user-transaction-history-C4pLTnxb.js → user-transaction-history-6-z3byrF.js} +1 -1
- package/stencil/{user-transaction-history-CegXbhhd.js → user-transaction-history-Dca7qx08.js} +1 -1
- package/stencil/{user-transaction-history-BPKIXepd.cjs → user-transaction-history-DrhquxkJ.cjs} +1 -1
- package/stencil/vaadin-button-mixin-e8c3f355-BdntioNA.cjs +2391 -0
- package/stencil/{vaadin-button-6001b2a6-CZwj1qjO.js → vaadin-button-mixin-e8c3f355-DON-rAuy.js} +5108 -5747
- package/stencil/{vaadin-button-6001b2a6-Dqz5Vp8D.js → vaadin-button-mixin-e8c3f355-DQ5UgwNf.js} +8267 -8803
- package/components/GeneralLogout-BVJrgB3o.js +0 -4819
- package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
- package/components/GeneralLogout-BsU4ASHU.js +0 -4856
- package/components/GeneralLogout-DMKG3DPv.cjs +0 -8
- package/components/GeneralLogout-DMvKimEo.js +0 -4841
- package/components/GeneralLogout-GS7gE3LI.js +0 -4804
- package/components/PlayerAccountBettingHistory-Bmd5vUtv.js +0 -329
- package/components/PlayerAccountBettingHistory-Bq4NWDqV.js +0 -328
- package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
- package/components/PlayerAccountBettingHistory-DUgPRDra.js +0 -332
- package/components/PlayerAccountBettingHistory-YNLbWHxl.js +0 -333
- package/components/PlayerAccountBettingHistory-o_QsnHUF.cjs +0 -1
- package/components/PlayerAccountBiometrics-AVQKN7o3.cjs +0 -1
- package/components/PlayerAccountBiometrics-BrlNlZ5N.cjs +0 -1
- package/components/PlayerAccountBiometrics-CARn4eVu.js +0 -307
- package/components/PlayerAccountBiometrics-CXLK5_xT.js +0 -307
- package/components/PlayerAccountBiometrics-CsN8vgVA.js +0 -306
- package/components/PlayerAccountBiometrics-Gd9NVjdX.js +0 -306
- package/components/PlayerAccountClosure-BJqYBJtn.js +0 -346
- package/components/PlayerAccountClosure-BQsYcTs7.js +0 -347
- package/components/PlayerAccountClosure-BkKcpa4J.js +0 -347
- package/components/PlayerAccountClosure-Bq8aSkiW.js +0 -346
- package/components/PlayerAccountClosure-DfJc6Ip_.cjs +0 -1
- package/components/PlayerAccountClosure-MKEqjDLD.cjs +0 -1
- package/components/PlayerAccountController-4gBny5Rp.js +0 -7209
- package/components/PlayerAccountController-5iMZlx1a.js +0 -6671
- package/components/PlayerAccountController-7FPLehfk.cjs +0 -1
- package/components/PlayerAccountController-BhRqOpNe.js +0 -6654
- package/components/PlayerAccountController-BpyAtpJE.cjs +0 -1
- package/components/PlayerAccountController-C_emVJuv.js +0 -7209
- package/components/PlayerAccountController-CnAQbK4J.cjs +0 -1
- package/components/PlayerAccountController-DEbBohhW.js +0 -7192
- package/components/PlayerAccountController-uMgaSyVI.js +0 -7192
- package/components/PlayerAccountGamingLimits-B2-Mgazd.js +0 -766
- package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
- package/components/PlayerAccountGamingLimits-BqtQWVJY.js +0 -817
- package/components/PlayerAccountGamingLimits-CEJOtmtT.js +0 -817
- package/components/PlayerAccountGamingLimits-CSy-XeyP.cjs +0 -1
- package/components/PlayerAccountGamingLimits-DwpArRnO.js +0 -766
- package/components/PlayerAccountGamingLimitsConfirmationModal-BGzrS313.js +0 -306
- package/components/PlayerAccountGamingLimitsConfirmationModal-CNTlXu7V.js +0 -310
- package/components/PlayerAccountGamingLimitsConfirmationModal-DefxnTKN.js +0 -310
- package/components/PlayerAccountGamingLimitsConfirmationModal-DhhlnYgg.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-ffEfhpF7.js +0 -306
- package/components/PlayerAccountGamingLimitsGroupEdit-CDY-ylK7.js +0 -4170
- package/components/PlayerAccountGamingLimitsGroupEdit-CdEnus68.js +0 -4166
- package/components/PlayerAccountGamingLimitsGroupEdit-Cj7PXLH2.js +0 -4170
- package/components/PlayerAccountGamingLimitsGroupEdit-DMt5E3K-.js +0 -4166
- package/components/PlayerAccountGamingLimitsGroupEdit-DZ70sSBt.cjs +0 -10
- package/components/PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs +0 -10
- package/components/PlayerAccountGamingLimitsGroupEdit-Yjf_2udY.cjs +0 -10
- package/components/PlayerAccountGamingLimitsHistory2-2NpX8p0k.js +0 -756
- package/components/PlayerAccountGamingLimitsHistory2-B_7Y0DgS.cjs +0 -1
- package/components/PlayerAccountGamingLimitsHistory2-CGy6w5_0.js +0 -748
- package/components/PlayerAccountGamingLimitsHistory2-ClU7aHVz.cjs +0 -1
- package/components/PlayerAccountGamingLimitsHistory2-DF8kvIf6.js +0 -767
- package/components/PlayerAccountGamingLimitsHistory2-j00bAoG0.js +0 -759
- package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-CNvQOw3A.js +0 -1513
- package/components/PlayerAccountGamingLimitsInfoCard-CV9ZhYiF.js +0 -1564
- package/components/PlayerAccountGamingLimitsInfoCard-D3sJXuZa.js +0 -1513
- package/components/PlayerAccountGamingLimitsInfoCard-lJRgmwtb.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-yxF974vj.js +0 -1564
- package/components/PlayerAccountGamingLimitsPage2Gm16-BTjt40ut.cjs +0 -21
- package/components/PlayerAccountGamingLimitsPage2Gm16-BiFzgvUx.cjs +0 -21
- package/components/PlayerAccountGamingLimitsPage2Gm16-C7_DGAt1.js +0 -3252
- package/components/PlayerAccountGamingLimitsPage2Gm16-Di6v3kmW.js +0 -3307
- package/components/PlayerAccountGamingLimitsPage2Gm16-Dz6knJ_h.js +0 -3283
- package/components/PlayerAccountGamingLimitsPage2Gm16-L1Jp_iKB.js +0 -3276
- package/components/PlayerAccountGamingLimitsPopup-BlCz3nIH.js +0 -344
- package/components/PlayerAccountGamingLimitsPopup-Bt4YlCWi.js +0 -344
- package/components/PlayerAccountGamingLimitsPopup-BzDVzkzb.js +0 -340
- package/components/PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPopup-Dcz_452O.js +0 -340
- package/components/PlayerAccountGamingLimitsPopup-LRDbiAly.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-BiXnSxca.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-BqtUjbbu.js +0 -1011
- package/components/PlayerAccountGamingLimitsWrapper2-D3tW5CCc.js +0 -860
- package/components/PlayerAccountGamingLimitsWrapper2-Dg6CwNyN.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-RnvNKSgN.js +0 -866
- package/components/PlayerAccountGamingLimitsWrapper2-x4L94fha.js +0 -1017
- package/components/PlayerAccountGeneralConfirmationModal-BRCvYq3w.js +0 -364
- package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-CBYinFim.js +0 -364
- package/components/PlayerAccountGeneralConfirmationModal-D3u9X3Q6.js +0 -365
- package/components/PlayerAccountGeneralConfirmationModal-DdoBD-jg.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-SjPp-PVG.js +0 -365
- package/components/PlayerAccountMenu-5esyJ_VN.js +0 -579
- package/components/PlayerAccountMenu-8KOKoKVb.cjs +0 -1
- package/components/PlayerAccountMenu-C704oUrC.cjs +0 -1
- package/components/PlayerAccountMenu-C_YGuNPM.js +0 -684
- package/components/PlayerAccountMenu-DgptA72k.js +0 -578
- package/components/PlayerAccountMenu-FryvTe0M.js +0 -683
- package/components/PlayerAccountModal-BnWL5726.js +0 -213
- package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
- package/components/PlayerAccountModal-Cb9Cx84R.js +0 -209
- package/components/PlayerAccountModal-CbLpkfXY.js +0 -213
- package/components/PlayerAccountModal-DfP5i5EL.cjs +0 -1
- package/components/PlayerAccountModal-DxF0TUrk.js +0 -209
- package/components/PlayerAccountNotifications-B02Ownhe.js +0 -261
- package/components/PlayerAccountNotifications-C-lyz5dM.js +0 -261
- package/components/PlayerAccountNotifications-C8jpcaHS.js +0 -368
- package/components/PlayerAccountNotifications-CGAudNFs.js +0 -369
- package/components/PlayerAccountNotifications-Ck05XEl9.cjs +0 -1
- package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
- package/components/PlayerAccountSelfExclusion-BIGBywgv.cjs +0 -4171
- package/components/PlayerAccountSelfExclusion-BS89T7sZ.cjs +0 -4171
- package/components/PlayerAccountSelfExclusion-BkK_LRpi.js +0 -17000
- package/components/PlayerAccountSelfExclusion-CJ4jfPui.js +0 -17138
- package/components/PlayerAccountSelfExclusion-Cfcq-ilJ.js +0 -17171
- package/components/PlayerAccountSelfExclusion-Cy05j-IP.cjs +0 -4171
- package/components/PlayerAccountSelfExclusion-D6Kby-08.js +0 -17033
- package/components/PlayerAccountTimeout-BcsZ2sb4.js +0 -950
- package/components/PlayerAccountTimeout-CBKTomqH.cjs +0 -1
- package/components/PlayerAccountTimeout-Cx77nKle.js +0 -950
- package/components/PlayerAccountTimeout-DMbUPtRy.cjs +0 -1
- package/components/PlayerAccountTimeout-DWNG3Mes.js +0 -819
- package/components/PlayerAccountTimeout-tPNVqlAT.js +0 -819
- package/components/PlayerActiveBonuses-B9jz3QD8.cjs +0 -1
- package/components/PlayerActiveBonuses-Bk-LUaGe.cjs +0 -1
- package/components/PlayerActiveBonuses-Dyedxyle.js +0 -1055
- package/components/PlayerActiveBonuses-DzsnlkKd.cjs +0 -1
- package/components/PlayerActiveBonuses-SCbHFBuw.js +0 -1037
- package/components/PlayerActiveBonuses-dRIcHoZG.js +0 -1038
- package/components/PlayerActiveBonuses-hMskUSPf.js +0 -1056
- package/components/PlayerBonusCard-2TI6CPMg.js +0 -699
- package/components/PlayerBonusCard-8uOU9OLG.js +0 -701
- package/components/PlayerBonusCard-BC8FfHZz.cjs +0 -1
- package/components/PlayerBonusCard-BLQee3Yl.js +0 -699
- package/components/PlayerBonusCard-Cppd6wFF.js +0 -701
- package/components/PlayerBonusCard-seJw_ipN.cjs +0 -1
- package/components/PlayerBonusHistory-44sPM1i7.js +0 -919
- package/components/PlayerBonusHistory-Cl6yHmyn.cjs +0 -1
- package/components/PlayerBonusHistory-D2YSJiqi.cjs +0 -1
- package/components/PlayerBonusHistory-DTWoOB2F.js +0 -937
- package/components/PlayerBonusHistory-DWvXjCPO.js +0 -920
- package/components/PlayerBonusHistory-WRG91zGG.js +0 -938
- package/components/PlayerChangePassword-ChN8vXoe.js +0 -1173
- package/components/PlayerChangePassword-CzR4Xz0H.cjs +0 -3
- package/components/PlayerChangePassword-D2hz3KZY.js +0 -1173
- package/components/PlayerChangePassword-Dm7ojx3B.cjs +0 -3
- package/components/PlayerChangePassword-N_UEFJNT.js +0 -1177
- package/components/PlayerChangePassword-OM9U8MSx.js +0 -1177
- package/components/PlayerDeposit-CwMvcnsj.js +0 -414
- package/components/PlayerDeposit-D-vkpaj8.js +0 -391
- package/components/PlayerDeposit-D_78W5GC.cjs +0 -1
- package/components/PlayerDeposit-Drn_qTXy.js +0 -391
- package/components/PlayerDeposit-H96LYwvc.cjs +0 -1
- package/components/PlayerDeposit-Q2N0Y2_v.js +0 -414
- package/components/PlayerGamingHistory-BLQD-WyT.js +0 -973
- package/components/PlayerGamingHistory-D4BBX_NO.js +0 -982
- package/components/PlayerGamingHistory-DRkPp9aG.cjs +0 -1
- package/components/PlayerGamingHistory-XiAb60Gu.js +0 -986
- package/components/PlayerGamingHistory-kQXWPOVX.js +0 -969
- package/components/PlayerGamingHistory-nXcnrY9t.cjs +0 -1
- package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
- package/components/PlayerPendingWithdrawals-BSTgce9H.js +0 -311
- package/components/PlayerPendingWithdrawals-BsCRRPqb.js +0 -311
- package/components/PlayerPendingWithdrawals-Cc5b8V0M.cjs +0 -1
- package/components/PlayerPendingWithdrawals-CiE7UXZE.js +0 -310
- package/components/PlayerPendingWithdrawals-D0PnJ2Ry.js +0 -310
- package/components/PlayerProfileInfo-BZjVrvCn.cjs +0 -1
- package/components/PlayerProfileInfo-C3sb-ekE.js +0 -1804
- package/components/PlayerProfileInfo-C6wcnHjE.js +0 -1821
- package/components/PlayerProfileInfo-C7zRlD3p.js +0 -1757
- package/components/PlayerProfileInfo-CGsJydqv.cjs +0 -1
- package/components/PlayerProfileInfo-zmbAMe_l.js +0 -1740
- package/components/PlayerRealityCheck-A_mZq3YZ.js +0 -598
- package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
- package/components/PlayerRealityCheck-D7u9BzPV.js +0 -582
- package/components/PlayerRealityCheck-DnV8RaMw.cjs +0 -1
- package/components/PlayerRealityCheck-FpmFAP1-.js +0 -668
- package/components/PlayerRealityCheck-zj5BHTDl.js +0 -652
- package/components/PlayerTransactionHistory-CCdvsW9A.cjs +0 -1
- package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
- package/components/PlayerTransactionHistory-DbNzhWfM.js +0 -314
- package/components/PlayerTransactionHistory-DllIB_qE.js +0 -315
- package/components/PlayerTransactionHistory-DsRmd4u6.js +0 -315
- package/components/PlayerTransactionHistory-RmKm-89S.js +0 -314
- package/components/PlayerWithdrawal-CGSnHppy.js +0 -369
- package/components/PlayerWithdrawal-CcdByNbq.js +0 -365
- package/components/PlayerWithdrawal-CohuE2wz.js +0 -365
- package/components/PlayerWithdrawal-DMhVwQlF.cjs +0 -1
- package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
- package/components/PlayerWithdrawal-t5mlX5CD.js +0 -369
- package/stencil/app-globals-0f993ce5-8artnnwr.cjs +0 -1
- package/stencil/app-globals-0f993ce5-C0vi_PY4.js +0 -11
- package/stencil/checkbox-group-input_9-C0sxArC8.cjs +0 -2104
- package/stencil/checkbox-group-input_9-Cny9rOs9.js +0 -12351
- package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +0 -2104
- package/stencil/checkbox-group-input_9-cgJtsdKg.js +0 -12331
- package/stencil/general-input-Bd9atiWx.js +0 -48
- package/stencil/general-input-CsKjNbmZ.js +0 -48
- package/stencil/general-input-DdanLnhp.cjs +0 -1
- package/stencil/index-0437c9c0-C_oD9Yfn.js +0 -592
- package/stencil/index-0437c9c0-oCxuDVFQ.cjs +0 -1
- package/stencil/index-1c9f7b34-Bc7D_MDc.js +0 -566
- package/stencil/index-1c9f7b34-CQG22CHt.cjs +0 -1
- package/stencil/index-42a69622-D_Ld41zA.cjs +0 -1
- package/stencil/index-42a69622-sw0JKBUm.js +0 -632
- package/stencil/index-657e7a14-B7-RqEpB.js +0 -572
- package/stencil/index-657e7a14-CrrA_w_5.cjs +0 -1
- package/stencil/index-657e7a14-DW4SbCqy.js +0 -588
- package/stencil/index-72d2f0c7--qtpsDOz.js +0 -642
- package/stencil/index-72d2f0c7-B6npgOpT.cjs +0 -1
- package/stencil/index-72d2f0c7-C1SVQLk_.js +0 -642
- package/stencil/index-72d2f0c7-DbRKphKh.js +0 -626
- package/stencil/index-72d2f0c7-DldCMjBJ.cjs +0 -1
- package/stencil/index-72d2f0c7-DyMEJXra.js +0 -626
- package/stencil/index-7c2d76a2-Ac3uLCab.js +0 -548
- package/stencil/index-7c2d76a2-BrBQDQDN.cjs +0 -1
- package/stencil/index-c68bbded-Ca8oRZ5p.js +0 -572
- package/stencil/index-c68bbded-lJvOfh6w.js +0 -588
- package/stencil/index-c68bbded-lic9DimW.cjs +0 -1
- package/stencil/index-e8249896-BjtvOmsZ.cjs +0 -1
- package/stencil/index-e8249896-CM_igLvD.js +0 -658
- package/stencil/password-input_2-BcA_GQhg.js +0 -1420
- package/stencil/password-input_2-CHOu4hgw.js +0 -1420
- package/stencil/password-input_2-CWC2OUx-.js +0 -1420
- package/stencil/password-input_2-DQAgV1SZ.cjs +0 -896
- package/stencil/password-input_2-D_l1ccPG.cjs +0 -896
- package/stencil/password-input_2-DaiHlKbQ.js +0 -1420
- package/stencil/player-change-password-gm2-780eb445-CdItmoKI.cjs +0 -1
- package/stencil/player-change-password-gm2-780eb445-Cg8Z75Vz.js +0 -253
- package/stencil/player-change-password-gm2-780eb445-DEjz9Jjk.js +0 -253
- package/stencil/player-change-password-gm2-BR82_Y4L.cjs +0 -1
- package/stencil/player-change-password-gm2-B_kRjFUL.js +0 -7
- package/stencil/player-change-password-gm2-DEeeAs8O.js +0 -25
- package/stencil/player-change-password-gm2-DGfPRqEK.cjs +0 -1
- package/stencil/player-change-password-gm2-DlMNv4hv.js +0 -25
- package/stencil/player-change-password-gm2-FHUeecdE.js +0 -7
- package/stencil/player-kyc-verification-CZy8RShe.js +0 -865
- package/stencil/player-kyc-verification-DuUII5AF.js +0 -843
- package/stencil/player-kyc-verification-DxpMnJ6t.cjs +0 -180
- package/stencil/toggle-checkbox-input-Co64_7cm.js +0 -46
- package/stencil/toggle-checkbox-input-CtT_ZCWu.cjs +0 -1
- package/stencil/toggle-checkbox-input-ErX2Ngat.js +0 -46
- package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +0 -1
- package/stencil/user-deposit-withdrawal-Cum51n64.cjs +0 -59
- package/stencil/user-deposit-withdrawal-DRo4MaOR.js +0 -646
- package/stencil/user-deposit-withdrawal-DsEm--6b.js +0 -668
- package/stencil/user-transaction-history-BpBJPUwq.js +0 -355
- package/stencil/user-transaction-history-C3_7vgUY.cjs +0 -1
- package/stencil/user-transaction-history-ClGHRdoQ.js +0 -329
- package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +0 -3018
|
@@ -0,0 +1,589 @@
|
|
|
1
|
+
import { r as w, c as p, h as a, g as y } from "./index-9cd44522-BqLgI-Ho.js";
|
|
2
|
+
import { t as o } from "./locale-BG_TzyDt.js";
|
|
3
|
+
import { r as d, h, T as b, a as c, i as m, B as x, o as v, f as C, L as F, R as V, a9 as S, s as k, M as I, aa as M, g as E, n as B, j as R, H as T, I as P, b as g, E as N, P as _ } from "./vaadin-button-mixin-e8c3f355-DQ5UgwNf.js";
|
|
4
|
+
import { t as D } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
|
|
5
|
+
import { P as ae } from "./player-change-password-gm2-039e300e-CcWiaT26.js";
|
|
6
|
+
/**
|
|
7
|
+
* @license
|
|
8
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10
|
+
*/
|
|
11
|
+
d("vaadin-text-field", v, {
|
|
12
|
+
moduleId: "lumo-text-field-styles"
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* @license
|
|
16
|
+
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
17
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18
|
+
*/
|
|
19
|
+
const A = (t) => class extends P(t) {
|
|
20
|
+
static get properties() {
|
|
21
|
+
return {
|
|
22
|
+
/**
|
|
23
|
+
* Whether the value of the control can be automatically completed by the browser.
|
|
24
|
+
* List of available options at:
|
|
25
|
+
* https://developer.mozilla.org/en/docs/Web/HTML/Element/input#attr-autocomplete
|
|
26
|
+
*/
|
|
27
|
+
autocomplete: {
|
|
28
|
+
type: String
|
|
29
|
+
},
|
|
30
|
+
/**
|
|
31
|
+
* This is a property supported by Safari that is used to control whether
|
|
32
|
+
* autocorrection should be enabled when the user is entering/editing the text.
|
|
33
|
+
* Possible values are:
|
|
34
|
+
* on: Enable autocorrection.
|
|
35
|
+
* off: Disable autocorrection.
|
|
36
|
+
*/
|
|
37
|
+
autocorrect: {
|
|
38
|
+
type: String
|
|
39
|
+
},
|
|
40
|
+
/**
|
|
41
|
+
* This is a property supported by Safari and Chrome that is used to control whether
|
|
42
|
+
* autocapitalization should be enabled when the user is entering/editing the text.
|
|
43
|
+
* Possible values are:
|
|
44
|
+
* characters: Characters capitalization.
|
|
45
|
+
* words: Words capitalization.
|
|
46
|
+
* sentences: Sentences capitalization.
|
|
47
|
+
* none: No capitalization.
|
|
48
|
+
*/
|
|
49
|
+
autocapitalize: {
|
|
50
|
+
type: String,
|
|
51
|
+
reflectToAttribute: !0
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
static get delegateAttrs() {
|
|
56
|
+
return [...super.delegateAttrs, "autocapitalize", "autocomplete", "autocorrect"];
|
|
57
|
+
}
|
|
58
|
+
// Workaround for https://github.com/Polymer/polymer/issues/5259
|
|
59
|
+
get __data() {
|
|
60
|
+
return this.__dataValue || {};
|
|
61
|
+
}
|
|
62
|
+
set __data(e) {
|
|
63
|
+
this.__dataValue = e;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @param {HTMLElement} input
|
|
67
|
+
* @protected
|
|
68
|
+
* @override
|
|
69
|
+
*/
|
|
70
|
+
_inputElementChanged(e) {
|
|
71
|
+
super._inputElementChanged(e), e && (e.value && e.value !== this.value && (console.warn(`Please define value on the <${this.localName}> component!`), e.value = ""), this.value && (e.value = this.value));
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Override an event listener from `FocusMixin`.
|
|
75
|
+
* @param {boolean} focused
|
|
76
|
+
* @protected
|
|
77
|
+
* @override
|
|
78
|
+
*/
|
|
79
|
+
_setFocused(e) {
|
|
80
|
+
super._setFocused(e), !e && document.hasFocus() && this.validate();
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Override an event listener from `InputMixin`
|
|
84
|
+
* to mark as valid after user started typing.
|
|
85
|
+
* @param {Event} event
|
|
86
|
+
* @protected
|
|
87
|
+
* @override
|
|
88
|
+
*/
|
|
89
|
+
_onInput(e) {
|
|
90
|
+
super._onInput(e), this.invalid && this.validate();
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Override an observer from `InputMixin` to validate the field
|
|
94
|
+
* when a new value is set programmatically.
|
|
95
|
+
*
|
|
96
|
+
* @param {string | undefined} newValue
|
|
97
|
+
* @param {string | undefined} oldValue
|
|
98
|
+
* @protected
|
|
99
|
+
* @override
|
|
100
|
+
*/
|
|
101
|
+
_valueChanged(e, s) {
|
|
102
|
+
super._valueChanged(e, s), s !== void 0 && this.invalid && this.validate();
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* @license
|
|
107
|
+
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
108
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
109
|
+
*/
|
|
110
|
+
const $ = (t) => class extends A(t) {
|
|
111
|
+
static get properties() {
|
|
112
|
+
return {
|
|
113
|
+
/**
|
|
114
|
+
* Maximum number of characters (in Unicode code points) that the user can enter.
|
|
115
|
+
*/
|
|
116
|
+
maxlength: {
|
|
117
|
+
type: Number
|
|
118
|
+
},
|
|
119
|
+
/**
|
|
120
|
+
* Minimum number of characters (in Unicode code points) that the user can enter.
|
|
121
|
+
*/
|
|
122
|
+
minlength: {
|
|
123
|
+
type: Number
|
|
124
|
+
},
|
|
125
|
+
/**
|
|
126
|
+
* A regular expression that the value is checked against.
|
|
127
|
+
* The pattern must match the entire value, not just some subset.
|
|
128
|
+
*/
|
|
129
|
+
pattern: {
|
|
130
|
+
type: String
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
static get delegateAttrs() {
|
|
135
|
+
return [...super.delegateAttrs, "maxlength", "minlength", "pattern"];
|
|
136
|
+
}
|
|
137
|
+
static get constraints() {
|
|
138
|
+
return [...super.constraints, "maxlength", "minlength", "pattern"];
|
|
139
|
+
}
|
|
140
|
+
constructor() {
|
|
141
|
+
super(), this._setType("text");
|
|
142
|
+
}
|
|
143
|
+
/** @protected */
|
|
144
|
+
get clearElement() {
|
|
145
|
+
return this.$.clearButton;
|
|
146
|
+
}
|
|
147
|
+
/** @protected */
|
|
148
|
+
ready() {
|
|
149
|
+
super.ready(), this.addController(
|
|
150
|
+
new C(this, (e) => {
|
|
151
|
+
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
152
|
+
})
|
|
153
|
+
), this.addController(new F(this.inputElement, this._labelController));
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* @license
|
|
158
|
+
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
159
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
160
|
+
*/
|
|
161
|
+
d("vaadin-text-field", V, { moduleId: "vaadin-text-field-styles" });
|
|
162
|
+
class f extends $(g(N(_))) {
|
|
163
|
+
static get is() {
|
|
164
|
+
return "vaadin-text-field";
|
|
165
|
+
}
|
|
166
|
+
static get template() {
|
|
167
|
+
return h`
|
|
168
|
+
<div class="vaadin-field-container">
|
|
169
|
+
<div part="label">
|
|
170
|
+
<slot name="label"></slot>
|
|
171
|
+
<span part="required-indicator" aria-hidden="true" on-click="focus"></span>
|
|
172
|
+
</div>
|
|
173
|
+
|
|
174
|
+
<vaadin-input-container
|
|
175
|
+
part="input-field"
|
|
176
|
+
readonly="[[readonly]]"
|
|
177
|
+
disabled="[[disabled]]"
|
|
178
|
+
invalid="[[invalid]]"
|
|
179
|
+
theme$="[[_theme]]"
|
|
180
|
+
>
|
|
181
|
+
<slot name="prefix" slot="prefix"></slot>
|
|
182
|
+
<slot name="input"></slot>
|
|
183
|
+
<slot name="suffix" slot="suffix"></slot>
|
|
184
|
+
<div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
|
|
185
|
+
</vaadin-input-container>
|
|
186
|
+
|
|
187
|
+
<div part="helper-text">
|
|
188
|
+
<slot name="helper"></slot>
|
|
189
|
+
</div>
|
|
190
|
+
|
|
191
|
+
<div part="error-message">
|
|
192
|
+
<slot name="error-message"></slot>
|
|
193
|
+
</div>
|
|
194
|
+
</div>
|
|
195
|
+
<slot name="tooltip"></slot>
|
|
196
|
+
`;
|
|
197
|
+
}
|
|
198
|
+
static get properties() {
|
|
199
|
+
return {
|
|
200
|
+
/**
|
|
201
|
+
* Maximum number of characters (in Unicode code points) that the user can enter.
|
|
202
|
+
*/
|
|
203
|
+
maxlength: {
|
|
204
|
+
type: Number
|
|
205
|
+
},
|
|
206
|
+
/**
|
|
207
|
+
* Minimum number of characters (in Unicode code points) that the user can enter.
|
|
208
|
+
*/
|
|
209
|
+
minlength: {
|
|
210
|
+
type: Number
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
/** @protected */
|
|
215
|
+
ready() {
|
|
216
|
+
super.ready(), this._tooltipController = new b(this), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this.addController(this._tooltipController);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
c(f);
|
|
220
|
+
/**
|
|
221
|
+
* @license
|
|
222
|
+
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
223
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
224
|
+
*/
|
|
225
|
+
const H = m`
|
|
226
|
+
:host {
|
|
227
|
+
position: absolute;
|
|
228
|
+
right: 0;
|
|
229
|
+
top: 0;
|
|
230
|
+
margin: 0;
|
|
231
|
+
padding: 0;
|
|
232
|
+
width: 100%;
|
|
233
|
+
height: 100%;
|
|
234
|
+
min-width: auto;
|
|
235
|
+
background: transparent;
|
|
236
|
+
outline: none;
|
|
237
|
+
}
|
|
238
|
+
`;
|
|
239
|
+
d("vaadin-password-field-button", [S, H], {
|
|
240
|
+
moduleId: "lumo-password-field-button"
|
|
241
|
+
});
|
|
242
|
+
/**
|
|
243
|
+
* @license
|
|
244
|
+
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
245
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
246
|
+
*/
|
|
247
|
+
const L = m`
|
|
248
|
+
[part='reveal-button']::before {
|
|
249
|
+
content: var(--lumo-icons-eye);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
:host([password-visible]) [part='reveal-button']::before {
|
|
253
|
+
content: var(--lumo-icons-eye-disabled);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/* Make it easy to hide the button across the whole app */
|
|
257
|
+
[part='reveal-button'] {
|
|
258
|
+
position: relative;
|
|
259
|
+
display: var(--lumo-password-field-reveal-button-display, block);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
[part='reveal-button'][hidden] {
|
|
263
|
+
display: none !important;
|
|
264
|
+
}
|
|
265
|
+
`;
|
|
266
|
+
d("vaadin-password-field", [v, L], { moduleId: "lumo-password-field" });
|
|
267
|
+
/**
|
|
268
|
+
* @license
|
|
269
|
+
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
270
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
271
|
+
*/
|
|
272
|
+
d("vaadin-password-field-button", k, { moduleId: "vaadin-password-field-button-styles" });
|
|
273
|
+
class z extends x(I(g(_))) {
|
|
274
|
+
static get is() {
|
|
275
|
+
return "vaadin-password-field-button";
|
|
276
|
+
}
|
|
277
|
+
static get template() {
|
|
278
|
+
return h``;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
c(z);
|
|
282
|
+
/**
|
|
283
|
+
* @license
|
|
284
|
+
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
285
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
286
|
+
*/
|
|
287
|
+
const q = (t) => class extends M(E(B(R(t)))) {
|
|
288
|
+
static get properties() {
|
|
289
|
+
return {
|
|
290
|
+
/**
|
|
291
|
+
* Set to true to hide the eye icon which toggles the password visibility.
|
|
292
|
+
* @attr {boolean} reveal-button-hidden
|
|
293
|
+
*/
|
|
294
|
+
revealButtonHidden: {
|
|
295
|
+
type: Boolean,
|
|
296
|
+
observer: "_revealButtonHiddenChanged",
|
|
297
|
+
value: !1
|
|
298
|
+
},
|
|
299
|
+
/**
|
|
300
|
+
* True if the password is visible ([type=text]).
|
|
301
|
+
* @attr {boolean} password-visible
|
|
302
|
+
*/
|
|
303
|
+
passwordVisible: {
|
|
304
|
+
type: Boolean,
|
|
305
|
+
value: !1,
|
|
306
|
+
reflectToAttribute: !0,
|
|
307
|
+
observer: "_passwordVisibleChanged",
|
|
308
|
+
readOnly: !0
|
|
309
|
+
},
|
|
310
|
+
/**
|
|
311
|
+
* An object with translated strings used for localization.
|
|
312
|
+
* It has the following structure and default values:
|
|
313
|
+
*
|
|
314
|
+
* ```
|
|
315
|
+
* {
|
|
316
|
+
* // Translation of the reveal icon button accessible label
|
|
317
|
+
* reveal: 'Show password'
|
|
318
|
+
* }
|
|
319
|
+
* ```
|
|
320
|
+
*/
|
|
321
|
+
i18n: {
|
|
322
|
+
type: Object,
|
|
323
|
+
value: () => ({
|
|
324
|
+
reveal: "Show password"
|
|
325
|
+
})
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
}
|
|
329
|
+
static get observers() {
|
|
330
|
+
return ["__i18nChanged(i18n)"];
|
|
331
|
+
}
|
|
332
|
+
constructor() {
|
|
333
|
+
super(), this._setType("password"), this.__boundRevealButtonClick = this._onRevealButtonClick.bind(this), this.__boundRevealButtonMouseDown = this._onRevealButtonMouseDown.bind(this), this.__lastChange = "";
|
|
334
|
+
}
|
|
335
|
+
/** @protected */
|
|
336
|
+
get slotStyles() {
|
|
337
|
+
const e = this.localName;
|
|
338
|
+
return [
|
|
339
|
+
...super.slotStyles,
|
|
340
|
+
`
|
|
341
|
+
${e} [slot="input"]::-ms-reveal {
|
|
342
|
+
display: none;
|
|
343
|
+
}
|
|
344
|
+
`
|
|
345
|
+
];
|
|
346
|
+
}
|
|
347
|
+
/** @protected */
|
|
348
|
+
get _revealNode() {
|
|
349
|
+
return this._revealButtonController && this._revealButtonController.node;
|
|
350
|
+
}
|
|
351
|
+
/** @protected */
|
|
352
|
+
ready() {
|
|
353
|
+
super.ready(), this._revealPart = this.shadowRoot.querySelector('[part="reveal-button"]'), this._revealButtonController = new T(this, "reveal", "vaadin-password-field-button", {
|
|
354
|
+
initializer: (e) => {
|
|
355
|
+
e.disabled = this.disabled, e.addEventListener("click", this.__boundRevealButtonClick), e.addEventListener("mousedown", this.__boundRevealButtonMouseDown);
|
|
356
|
+
}
|
|
357
|
+
}), this.addController(this._revealButtonController), this.__updateAriaLabel(this.i18n), this._updateToggleState(!1), this._toggleRevealHidden(this.revealButtonHidden), this.inputElement && (this.inputElement.autocapitalize = "off");
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* Override an event listener inherited from `InputControlMixin`
|
|
361
|
+
* to store the value at the moment of the native `change` event.
|
|
362
|
+
* @param {Event} event
|
|
363
|
+
* @protected
|
|
364
|
+
* @override
|
|
365
|
+
*/
|
|
366
|
+
_onChange(e) {
|
|
367
|
+
super._onChange(e), this.__lastChange = this.inputElement.value;
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* Override method inherited from `FocusMixin` to mark field as focused
|
|
371
|
+
* when focus moves to the reveal button using Shift Tab.
|
|
372
|
+
* @param {Event} event
|
|
373
|
+
* @return {boolean}
|
|
374
|
+
* @protected
|
|
375
|
+
*/
|
|
376
|
+
_shouldSetFocus(e) {
|
|
377
|
+
return e.target === this.inputElement || e.target === this._revealNode;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* Override method inherited from `FocusMixin` to not hide password
|
|
381
|
+
* when focus moves to the reveal button or back to the input.
|
|
382
|
+
* @param {Event} event
|
|
383
|
+
* @return {boolean}
|
|
384
|
+
* @protected
|
|
385
|
+
*/
|
|
386
|
+
_shouldRemoveFocus(e) {
|
|
387
|
+
return !(e.relatedTarget === this._revealNode || e.relatedTarget === this.inputElement && e.target === this._revealNode);
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Override method inherited from `FocusMixin` to toggle password visibility.
|
|
391
|
+
* @param {boolean} focused
|
|
392
|
+
* @protected
|
|
393
|
+
* @override
|
|
394
|
+
*/
|
|
395
|
+
_setFocused(e) {
|
|
396
|
+
if (super._setFocused(e), !e)
|
|
397
|
+
this._setPasswordVisible(!1), this.__lastChange !== this.inputElement.value && (this.__lastChange = this.inputElement.value, this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })));
|
|
398
|
+
else {
|
|
399
|
+
const s = this.getRootNode().activeElement === this._revealNode;
|
|
400
|
+
this.toggleAttribute("focus-ring", this._keyboardActive && !s);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
/** @private */
|
|
404
|
+
__updateAriaLabel(e) {
|
|
405
|
+
e && e.reveal && this._revealNode && this._revealNode.setAttribute("aria-label", e.reveal);
|
|
406
|
+
}
|
|
407
|
+
/** @private */
|
|
408
|
+
__i18nChanged(e) {
|
|
409
|
+
this.__updateAriaLabel(e);
|
|
410
|
+
}
|
|
411
|
+
/** @private */
|
|
412
|
+
_revealButtonHiddenChanged(e) {
|
|
413
|
+
this._toggleRevealHidden(e);
|
|
414
|
+
}
|
|
415
|
+
/** @private */
|
|
416
|
+
_togglePasswordVisibility() {
|
|
417
|
+
this._setPasswordVisible(!this.passwordVisible);
|
|
418
|
+
}
|
|
419
|
+
/** @private */
|
|
420
|
+
_onRevealButtonClick() {
|
|
421
|
+
this._togglePasswordVisibility();
|
|
422
|
+
}
|
|
423
|
+
/** @private */
|
|
424
|
+
_onRevealButtonMouseDown(e) {
|
|
425
|
+
e.preventDefault(), this.inputElement.focus();
|
|
426
|
+
}
|
|
427
|
+
/** @private */
|
|
428
|
+
_toggleRevealHidden(e) {
|
|
429
|
+
this._revealNode && (e ? (this._revealPart.setAttribute("hidden", ""), this._revealNode.setAttribute("tabindex", "-1"), this._revealNode.setAttribute("aria-hidden", "true")) : (this._revealPart.removeAttribute("hidden"), this._revealNode.setAttribute("tabindex", "0"), this._revealNode.removeAttribute("aria-hidden")));
|
|
430
|
+
}
|
|
431
|
+
/** @private */
|
|
432
|
+
_updateToggleState(e) {
|
|
433
|
+
this._revealNode && this._revealNode.setAttribute("aria-pressed", e ? "true" : "false");
|
|
434
|
+
}
|
|
435
|
+
/** @private */
|
|
436
|
+
_passwordVisibleChanged(e) {
|
|
437
|
+
this._setType(e ? "text" : "password"), this._updateToggleState(e);
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* Override method inherited from `DisabledMixin` to synchronize the reveal button
|
|
441
|
+
* disabled state with the password field disabled state.
|
|
442
|
+
* @param {boolean} disabled
|
|
443
|
+
* @param {boolean} oldDisabled
|
|
444
|
+
* @protected
|
|
445
|
+
*/
|
|
446
|
+
_disabledChanged(e, s) {
|
|
447
|
+
super._disabledChanged(e, s), this._revealNode && (this._revealNode.disabled = e);
|
|
448
|
+
}
|
|
449
|
+
};
|
|
450
|
+
/**
|
|
451
|
+
* @license
|
|
452
|
+
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
453
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
454
|
+
*/
|
|
455
|
+
const O = h`
|
|
456
|
+
<div part="reveal-button" slot="suffix">
|
|
457
|
+
<slot name="reveal"></slot>
|
|
458
|
+
</div>
|
|
459
|
+
`;
|
|
460
|
+
let u;
|
|
461
|
+
class K extends q(f) {
|
|
462
|
+
static get is() {
|
|
463
|
+
return "vaadin-password-field";
|
|
464
|
+
}
|
|
465
|
+
static get template() {
|
|
466
|
+
if (!u) {
|
|
467
|
+
u = super.template.cloneNode(!0);
|
|
468
|
+
const i = O.content.querySelector('[part="reveal-button"]');
|
|
469
|
+
u.content.querySelector('[part="input-field"]').appendChild(i);
|
|
470
|
+
}
|
|
471
|
+
return u;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
c(K);
|
|
475
|
+
const j = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:"Roboto";font-style:normal}.password__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.password__wrapper--autofilled{pointer-events:none}.password__wrapper--autofilled .password__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__wrapper--autofilled .password__input::part(input-field){color:var(--emw--color-black, #000000)}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.password__input{width:inherit;border:none}.password__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.password__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);background-color:var(--emw--color-white, #FFFFFF);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;position:relative;margin-bottom:unset;height:44px;padding:0;width:100%}.password__input::part(reveal-button){position:relative;right:10px}.password__input::part(reveal-button)::before{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__input>input{padding:5px 15px}.password__input>input:placeholder-shown{color:var(--emw--color-gray-150, #828282)}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:var(--emw--color-white, #FFFFFF);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;height:150px;border:1px solid #B0B0B0;}.password__complexity meter{border-color:transparent;}.password__complexity meter[value="1"]::-moz-meter-bar{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter[value="1"]::-webkit-meter-optimum-value{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter:not([value="1"])::-moz-meter-bar{background-color:var(--emw--color-error, #FD2839)}.password__complexity meter:not([value="1"])::-webkit-meter-optimum-value{background-color:var(--emw--color-error, #FD2839)}.password__complexity--strength{display:flex;justify-content:space-evenly;align-items:center}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:"";position:absolute;width:25px;height:25px;border-top:1px solid var(--emw--color-gray-150, #828282);border-right:0 solid var(--emw--color-gray-150, #828282);border-left:1px solid var(--emw--color-gray-150, #828282);border-bottom:0 solid var(--emw--color-gray-150, #828282);bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:var(--emw--color-white, #FFFFFF)}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-150, #828282);color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}', W = j, G = class {
|
|
476
|
+
constructor(t) {
|
|
477
|
+
w(this, t), this.sendOriginalValidityState = p(this, "sendOriginalValidityState", 7), this.sendValidityState = p(this, "sendValidityState", 7), this.sendInputValue = p(this, "sendInputValue", 7), this.touched = !1, this.originalValid = !1, this.validationPattern = "", this.duplicateInputValue = null, this.handleInput = (i) => {
|
|
478
|
+
this.value = i.target.value, this.calculateComplexity(this.value), this.showPopup = !0, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
479
|
+
this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
480
|
+
}, 500);
|
|
481
|
+
}, this.handleRevealField = (i) => {
|
|
482
|
+
i.stopPropagation(), window.postMessage({ type: `registrationShow${this.name}` }, window.location.href);
|
|
483
|
+
}, this.handleBlur = (i) => {
|
|
484
|
+
this.value = i.target.value, this.showPopup = !1, this.touched = !0, this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage();
|
|
485
|
+
}, this.handleFocus = () => {
|
|
486
|
+
this.showPopup = !0, this.calculateComplexity(this.value);
|
|
487
|
+
}, this.setClientStyling = () => {
|
|
488
|
+
let i = document.createElement("style");
|
|
489
|
+
i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
|
|
490
|
+
}, 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 = "";
|
|
491
|
+
}
|
|
492
|
+
handleStylingChange(t, i) {
|
|
493
|
+
t !== i && this.setClientStyling();
|
|
494
|
+
}
|
|
495
|
+
validityChanged() {
|
|
496
|
+
this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value });
|
|
497
|
+
}
|
|
498
|
+
valueChanged() {
|
|
499
|
+
this.isDuplicateInput || (this.calculateComplexity(this.value), this.sendOriginalValidityState.emit({ name: this.name, valid: this.setValidity() }));
|
|
500
|
+
}
|
|
501
|
+
emitValueHandler(t) {
|
|
502
|
+
t == !0 && this.isValid && this.valueHandler({ name: this.name, value: this.value, type: "duplicate" });
|
|
503
|
+
}
|
|
504
|
+
validityStateHandler(t) {
|
|
505
|
+
this.sendValidityState.emit(t);
|
|
506
|
+
}
|
|
507
|
+
valueHandler(t) {
|
|
508
|
+
this.sendInputValue.emit(t);
|
|
509
|
+
}
|
|
510
|
+
originalValidityChangedHandler(t) {
|
|
511
|
+
this.isDuplicateInput && (t.detail.valid ? (this.originalValid = !0, this.isValid = this.setValidity()) : (this.originalValid = !1, this.isValid = !1, this.value !== "" && (this.errorMessage = this.setErrorMessage())));
|
|
512
|
+
}
|
|
513
|
+
valueChangedHandler(t) {
|
|
514
|
+
this.isDuplicateInput && this.name === t.detail.name + "Duplicate" && (this.duplicateInputValue = t.detail.value, this.touched && (this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage())), this.name === t.detail.name + "Duplicate" && this.name.replace("Duplicate", "") === t.detail.name && this.touched === !0 && (this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage());
|
|
515
|
+
}
|
|
516
|
+
handleClickOutside(t) {
|
|
517
|
+
t.composedPath()[0] !== this.tooltipIconReference && t.composedPath()[0] !== this.tooltipReference && (this.showTooltip = !1);
|
|
518
|
+
}
|
|
519
|
+
componentDidRender() {
|
|
520
|
+
!this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.limitStylingAppends = !0);
|
|
521
|
+
}
|
|
522
|
+
componentDidLoad() {
|
|
523
|
+
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", (t) => {
|
|
524
|
+
this.handleRevealField(t);
|
|
525
|
+
}), 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();
|
|
526
|
+
}
|
|
527
|
+
disconnectedCallback() {
|
|
528
|
+
this.passwordButton.removeEventListener("click", this.handleRevealField);
|
|
529
|
+
}
|
|
530
|
+
calculateComplexity(t) {
|
|
531
|
+
this.passwordComplexity = this.validation.custom.filter((i) => i.rule === "regex").map((i) => {
|
|
532
|
+
const s = new RegExp(i.pattern).test(t);
|
|
533
|
+
return { rule: i.displayName, ruleKey: i.errorKey, passed: s };
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
setValidity() {
|
|
537
|
+
var t, i;
|
|
538
|
+
return this.isDuplicateInput && this.duplicateInputValue !== this.value ? !1 : !((t = this.passwordComplexity) === null || t === void 0) && t.every((e) => e.passed) ? (i = this.inputReference) === null || i === void 0 ? void 0 : i.validity.valid : !1;
|
|
539
|
+
}
|
|
540
|
+
setPattern() {
|
|
541
|
+
var t, i;
|
|
542
|
+
if (((t = this.validation.custom) === null || t === void 0 ? void 0 : t.length) > 0)
|
|
543
|
+
return (i = this.validation.custom.find((e) => e.rule === "regex")) === null || i === void 0 ? void 0 : i.pattern;
|
|
544
|
+
}
|
|
545
|
+
setErrorMessage() {
|
|
546
|
+
var t, i, e, s;
|
|
547
|
+
if (this.isDuplicateInput && !this.originalValid)
|
|
548
|
+
return o("invalidOriginalPasswordError", this.language);
|
|
549
|
+
if (this.inputReference.validity.patternMismatch) {
|
|
550
|
+
const r = (t = this.validation.custom.find((l) => l.rule === "regex")) === null || t === void 0 ? void 0 : t.errorKey, n = (i = this.validation.custom.find((l) => l.rule === "regex")) === null || i === void 0 ? void 0 : i.errorMessage;
|
|
551
|
+
return o(`${r}`, this.language) ? o(`${r}`, this.language) : n;
|
|
552
|
+
}
|
|
553
|
+
if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
|
|
554
|
+
return o("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
|
|
555
|
+
if (this.inputReference.validity.valueMissing)
|
|
556
|
+
return o("requiredError", this.language);
|
|
557
|
+
if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
|
|
558
|
+
const r = (e = this.validation.custom.find((l) => l.rule === "duplicate-input")) === null || e === void 0 ? void 0 : e.errorKey, n = (s = this.validation.custom.find((l) => l.rule === "duplicate-input")) === null || s === void 0 ? void 0 : s.errorMessage;
|
|
559
|
+
return o(`${r}`, this.language) ? o(`${r}`, this.language) : n;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
renderTooltip() {
|
|
563
|
+
return this.showTooltip ? a("div", { class: `password__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
|
|
564
|
+
}
|
|
565
|
+
renderComplexityPopup() {
|
|
566
|
+
const t = this.passwordComplexity.length, e = this.passwordComplexity.filter((r) => r.passed).length / t, s = this.passwordComplexity.every((r) => r.passed);
|
|
567
|
+
return a("div", { class: `password__complexity ${this.showPopup ? "" : "password__complexity--hidden"}` }, a("div", { class: "password__complexity--strength" }, a("p", { class: "password__complexity--text" }, o("passwordStrength", this.language), " ", a("span", { class: "password__complexity--text-bold" }, o(`${s ? "passwordStrengthStrong" : "passwordStrengthWeak"}`, this.language))), a("meter", { value: e, min: "0", max: "1" })), a("div", null, this.passwordComplexity.map((r, n) => a("div", { key: n }, a("input", { class: "password__complexity--checkbox", type: "checkbox", checked: r.passed, disabled: !0 }), a("span", null, o(`${r.ruleKey}`, this.language) ? o(`${r.ruleKey}`, this.language) : r.rule)))));
|
|
568
|
+
}
|
|
569
|
+
render() {
|
|
570
|
+
let t = "";
|
|
571
|
+
return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), a("div", { key: "36d21c63dcd15b6de2d2de417ce97b520493cd16", class: `password__wrapper ${this.autofilled ? "password__wrapper--autofilled" : ""} ${this.name}__input`, ref: (i) => this.stylingContainer = i }, a("div", { key: "3de600f4ccbf2ffe7a8a8858e9d5a483701dd4d7", class: "password__wrapper--flex" }, a("label", { key: "74fee343f4d6adbbb22e88c5d51d3a471979d42e", class: `password__label ${this.validation.mandatory ? "password__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), a("div", { key: "d1f30d776c5612b1a5581859b929bee171105bf5", class: "password__wrapper--relative" }, this.tooltip && a("img", { key: "932201990b5fa67f448d4ab8ca7f844f757d5e47", class: "password__tooltip-icon", src: D, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), a("vaadin-password-field", { key: "83f00cb4452b60fd883efcd742d6eb463a8fc729", type: "password", id: `${this.name}__input`, class: `password__input ${t}`, 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 }), a("small", { key: "0f6f7ba5e9ec6f492f22a46ac77c7977f7a8e835", class: "password__error-message" }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
|
|
572
|
+
}
|
|
573
|
+
get element() {
|
|
574
|
+
return y(this);
|
|
575
|
+
}
|
|
576
|
+
static get watchers() {
|
|
577
|
+
return {
|
|
578
|
+
clientStyling: ["handleStylingChange"],
|
|
579
|
+
isValid: ["validityChanged"],
|
|
580
|
+
value: ["valueChanged"],
|
|
581
|
+
emitValue: ["emitValueHandler"]
|
|
582
|
+
};
|
|
583
|
+
}
|
|
584
|
+
};
|
|
585
|
+
G.style = W;
|
|
586
|
+
export {
|
|
587
|
+
G as password_input,
|
|
588
|
+
ae as player_change_password_gm2
|
|
589
|
+
};
|