@everymatrix/player-account-controller-nd 1.59.2 → 1.59.3
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-CeysydbF.js → GeneralLogout-B2sqctHY.js} +718 -740
- package/components/{GeneralLogout-4it4FG1e.js → GeneralLogout-BF_qMI31.js} +617 -639
- package/components/GeneralLogout-aDlrOvb2.cjs +21 -0
- package/components/PlayerAccountBettingHistory-CaGfH6ef.cjs +1 -0
- package/components/{PlayerAccountBettingHistory-CITAS_tU.js → PlayerAccountBettingHistory-Cmz4RfLW.js} +127 -126
- package/components/PlayerAccountBettingHistory-WEyQIM51.js +328 -0
- package/components/{PlayerAccountBiometrics-DOKW7OSb.js → PlayerAccountBiometrics-B_cneHiM.js} +22 -22
- package/components/{PlayerAccountBiometrics-Be6QWwR6.js → PlayerAccountBiometrics-CSZ-wg_P.js} +22 -22
- package/components/{PlayerAccountBiometrics-D3SdfZAk.cjs → PlayerAccountBiometrics-DTFbvNhj.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-DmAOX_fd.js → PlayerAccountClosureNd-BLvElGRY.js} +17 -17
- package/components/{PlayerAccountClosureNd-rzbr78tt.js → PlayerAccountClosureNd-CZZ5MDeE.js} +17 -17
- package/components/{PlayerAccountClosureNd-Ba7qRwie.cjs → PlayerAccountClosureNd-DAi3Ugwi.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-BfM3xK9T.cjs → PlayerAccountControllerNd-CCCEDiSo.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-DsScUGqI.js → PlayerAccountControllerNd-C_PfvGyf.js} +297 -297
- package/components/{PlayerAccountControllerNd-el5m6i4n.js → PlayerAccountControllerNd-D0IWDPQ5.js} +298 -298
- package/components/{PlayerAccountGamingLimits-FIGZjiiE.cjs → PlayerAccountGamingLimits-BrtFDG1O.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-ByuUh2TU.js → PlayerAccountGamingLimits-D7T6wHfx.js} +81 -81
- package/components/{PlayerAccountGamingLimits-Bk5wHTwY.js → PlayerAccountGamingLimits-DjoHuP0Q.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CNYtoEVr.js → PlayerAccountGamingLimitsConfirmationModal-D9jDt0ZJ.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CyALQICB.cjs → PlayerAccountGamingLimitsConfirmationModal-aQzVqW8v.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-orqpWBGG.js → PlayerAccountGamingLimitsConfirmationModal-neTmroA2.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-CTpK2bHP.js → PlayerAccountGamingLimitsGroupEdit-8vNGzj66.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-BaorReGW.js → PlayerAccountGamingLimitsGroupEdit-DQNY-DOL.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-BpaOoTGu.cjs → PlayerAccountGamingLimitsGroupEdit-gdCqCIvt.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BXZnq3wo.cjs → PlayerAccountGamingLimitsHistory2Nd-BRET7bjw.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-2-WDm2bq.js → PlayerAccountGamingLimitsHistory2Nd-DozHpGB2.js} +80 -80
- package/components/{PlayerAccountGamingLimitsHistory2Nd-7fOlRCey.js → PlayerAccountGamingLimitsHistory2Nd-DvgLaDwG.js} +82 -82
- package/components/{PlayerAccountGamingLimitsInfoCard-CmZ-aPgC.js → PlayerAccountGamingLimitsInfoCard-CrTFZqJb.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-jkLmhvDf.js → PlayerAccountGamingLimitsInfoCard-DgCYVXLF.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-DlJXsDqV.cjs → PlayerAccountGamingLimitsInfoCard-DwNXbIaa.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Hxw4dGQn.js → PlayerAccountGamingLimitsPage2Gm16Nd-BVp4NsaB.js} +76 -76
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-2aUOAuM6.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-C6CQlXH2.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-C1OaS72g.js → PlayerAccountGamingLimitsPage2Gm16Nd-CJ9cwQ2F.js} +76 -76
- package/components/{PlayerAccountGamingLimitsPopup-AuWDAmQP.js → PlayerAccountGamingLimitsPopup-BrdTQumv.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-Dbr-uHeX.cjs → PlayerAccountGamingLimitsPopup-BzAiMR7P.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CwqIGi2v.js → PlayerAccountGamingLimitsPopup-QgEEQjVV.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-BUsoXkMn.cjs → PlayerAccountGamingLimitsWrapper2Nd-CCCAcJEC.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CZlji5Yr.js → PlayerAccountGamingLimitsWrapper2Nd-DWakc7KL.js} +17 -17
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-8YmBMC3v.js → PlayerAccountGamingLimitsWrapper2Nd-kvFh4Lz5.js} +17 -17
- package/components/{PlayerAccountGeneralConfirmationModal-BJ3S0RLL.cjs → PlayerAccountGeneralConfirmationModal-C_d3r_5u.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DYhGjzZF.js → PlayerAccountGeneralConfirmationModal-DdP7HdbF.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-mUHuj-5B.js → PlayerAccountGeneralConfirmationModal-Do1EWaXq.js} +34 -34
- package/components/{PlayerAccountMenuNd-CCPMD49m.cjs → PlayerAccountMenuNd-9bhW14nE.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-BeGAjc3q.js → PlayerAccountMenuNd-CeYSn5aI.js} +32 -32
- package/components/{PlayerAccountMenuNd-z28QxKXk.js → PlayerAccountMenuNd-haA2NUoR.js} +29 -29
- package/components/{PlayerAccountModal-tginaXbZ.cjs → PlayerAccountModal-BC3FTDl6.cjs} +1 -1
- package/components/{PlayerAccountModal-DhsJbk1o.js → PlayerAccountModal-BRuOa9Ak.js} +42 -42
- package/components/{PlayerAccountModal-RfCUFEKE.js → PlayerAccountModal-MCiQ8X7e.js} +42 -42
- package/components/{PlayerAccountNotifications-BLsxWrq2.cjs → PlayerAccountNotifications-CcTMD34l.cjs} +1 -1
- package/components/{PlayerAccountNotifications-9IZXsnRq.js → PlayerAccountNotifications-CvWZQ69F.js} +32 -32
- package/components/{PlayerAccountNotifications-CI42A39-.js → PlayerAccountNotifications-DVFpWv3_.js} +31 -31
- package/components/{PlayerAccountSelfExclusionNd-BwVKiP0r.cjs → PlayerAccountSelfExclusionNd-B4c5HwJ2.cjs} +153 -153
- package/components/{PlayerAccountSelfExclusionNd-D5HRQcqt.js → PlayerAccountSelfExclusionNd-CBtX8shk.js} +1689 -1694
- package/components/{PlayerAccountSelfExclusionNd-D1ZE5YnA.js → PlayerAccountSelfExclusionNd-COgEf3y3.js} +783 -788
- package/components/{PlayerAccountTimeout-ChLVrZ1_.cjs → PlayerAccountTimeout-C5EjWisK.cjs} +1 -1
- package/components/{PlayerAccountTimeout-Oy-er_24.js → PlayerAccountTimeout-CJzvKCG2.js} +58 -58
- package/components/{PlayerAccountTimeout-BqQ8Dig1.js → PlayerAccountTimeout-gHjCFhAK.js} +58 -58
- package/components/{PlayerActiveBonuses-DbsciRwF.cjs → PlayerActiveBonuses-8_q2D0Pm.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CwzErvnX.js → PlayerActiveBonuses-BG53SuBu.js} +74 -74
- package/components/{PlayerActiveBonuses-6gu0ilHo.js → PlayerActiveBonuses-Qu1RO5nJ.js} +73 -73
- package/components/{PlayerBonusCard--oHCcpOb.js → PlayerBonusCard-BtEfVZsy.js} +54 -54
- package/components/{PlayerBonusCard-D3VZ0SAd.js → PlayerBonusCard-CXcQF0sO.js} +54 -54
- package/components/{PlayerBonusCard-BzDP362v.cjs → PlayerBonusCard-Q-nM2Ss4.cjs} +1 -1
- package/components/{PlayerBonusHistory-Bg9FG_wq.js → PlayerBonusHistory-B58fHG_8.js} +33 -33
- package/components/{PlayerBonusHistory-BGgOFk8A.js → PlayerBonusHistory-Cs1dH25K.js} +33 -33
- package/components/{PlayerBonusHistory-BaPqLAQG.cjs → PlayerBonusHistory-DpJBNzM3.cjs} +1 -1
- package/components/{PlayerChangePassword-DLhHjRp1.js → PlayerChangePassword-B1LU_lkb.js} +82 -82
- package/components/{PlayerChangePassword-DZ0zUct-.cjs → PlayerChangePassword-CbBHjN4s.cjs} +1 -1
- package/components/{PlayerChangePassword-BekJt2EW.js → PlayerChangePassword-D9FaQrxz.js} +82 -82
- package/components/{PlayerDeposit-BwW_MMqP.js → PlayerDeposit-Bcd3K3Je.js} +75 -75
- package/components/{PlayerDeposit-CJ23PX1y.js → PlayerDeposit-DxwEbqV9.js} +75 -75
- package/components/PlayerDeposit-mr7WW9bf.cjs +1 -0
- package/components/{PlayerGamingHistory-CntwL7Fk.js → PlayerGamingHistory-CYcGkpHB.js} +74 -74
- package/components/{PlayerGamingHistory-CWs-tUkY.cjs → PlayerGamingHistory-DGuLW7ym.cjs} +1 -1
- package/components/{PlayerGamingHistory-0TYR6SEn.js → PlayerGamingHistory-ScSE3zbv.js} +84 -84
- package/components/{PlayerPendingWithdrawals-ki_Gjm_H.js → PlayerPendingWithdrawals-BFSLYrrk.js} +26 -26
- package/components/{PlayerPendingWithdrawals-UG-bN1ca.cjs → PlayerPendingWithdrawals-D3hbZ7iV.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-B3LxQtqC.js → PlayerPendingWithdrawals-m1esYleC.js} +26 -26
- package/components/{PlayerProfileInfo-DLth9JMy.cjs → PlayerProfileInfo-BST7W89r.cjs} +1 -1
- package/components/{PlayerProfileInfo-CNv-9pT9.js → PlayerProfileInfo-Cpl9q5N3.js} +56 -56
- package/components/{PlayerProfileInfo-DV9mn7sN.js → PlayerProfileInfo-F2MwpT-I.js} +56 -56
- package/components/{PlayerRealityCheck-CTuOdJqC.js → PlayerRealityCheck-D26GIMk0.js} +33 -33
- package/components/{PlayerRealityCheck-BmVSMTSf.cjs → PlayerRealityCheck-DTbqf0Qh.cjs} +1 -1
- package/components/{PlayerRealityCheck-BQCOhNTa.js → PlayerRealityCheck-rpgp0y6e.js} +33 -33
- package/components/{PlayerTransactionHistory-U2CncC4r.cjs → PlayerTransactionHistory-Cp--JykS.cjs} +1 -1
- package/components/{PlayerTransactionHistory-DSVdbdHO.js → PlayerTransactionHistory-DCZM4mF9.js} +24 -24
- package/components/{PlayerTransactionHistory-DkLL3JLy.js → PlayerTransactionHistory-tCmygdCD.js} +24 -24
- package/components/{PlayerWithdrawal-CsPPu5bX.cjs → PlayerWithdrawal-BocnE727.cjs} +1 -1
- package/components/{PlayerWithdrawal-CuYoN_mb.js → PlayerWithdrawal-Cv5nFxNg.js} +19 -19
- package/components/{PlayerWithdrawal-Dq9rMCnK.js → PlayerWithdrawal-DmYqViyy.js} +19 -19
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +2 -2
- package/stencil/checkbox-group-input_9-C_Jto8Jt.js +3881 -0
- package/stencil/checkbox-group-input_9-CinfKCss.js +3881 -0
- package/stencil/checkbox-group-input_9-Dc49Q3Vp.cjs +2 -0
- package/stencil/general-input-DJk-3Amp.js +12195 -0
- package/stencil/general-input-bu08V52z.js +12195 -0
- package/stencil/general-input-n2Odu7ir.cjs +4546 -0
- package/stencil/index-1ef3a64c-Dr_Pi_Tn.cjs +1 -0
- package/stencil/index-1ef3a64c-gNJv-qax.js +572 -0
- package/stencil/index-1ef3a64c-jZYsp9Sk.js +556 -0
- package/stencil/index-7c5e707a-40SRy2Ab.js +616 -0
- package/stencil/index-7c5e707a-B9tD4t-g.js +643 -0
- package/stencil/index-7c5e707a-DosLPDO6.cjs +1 -0
- package/stencil/index-9c0f6c58-CiH_jMvd.cjs +1 -0
- package/stencil/{index-9c0f6c58-CqoLeK5G.js → index-9c0f6c58-DRP3WpwA.js} +197 -197
- package/stencil/index-9c0f6c58-jtioo3_h.js +576 -0
- package/stencil/index-9cd44522-CFA-2f9u.cjs +1 -0
- package/stencil/index-9cd44522-COdVO-ko.js +610 -0
- package/stencil/index-9cd44522-IsBDbKDl.js +626 -0
- package/stencil/index-ae04a8b1-BIDvdZJs.js +532 -0
- package/stencil/index-ae04a8b1-BUa25EUq.cjs +1 -0
- package/stencil/index-ae04a8b1-BYWsXc_G.js +516 -0
- package/stencil/password-input_2-BEm5miI-.js +311 -0
- package/stencil/password-input_2-BQFmAJZH.js +311 -0
- package/stencil/password-input_2-BvQKzYdi.cjs +193 -0
- package/stencil/{player-change-password-gm2-039e300e-1NkfHZ6r.js → player-change-password-gm2-039e300e-CAqacRz5.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-BLQGT3AW.js → player-change-password-gm2-039e300e-DsF_swLz.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-BU9mX4ix.cjs → player-change-password-gm2-039e300e-WQ9F_3S-.cjs} +1 -1
- package/stencil/{player-change-password-gm2-Cyx-9oVQ.js → player-change-password-gm2-2-y7ZnBr.js} +1 -1
- package/stencil/{player-change-password-gm2-BWRiCTIP.cjs → player-change-password-gm2-21_4LRZA.cjs} +1 -1
- package/stencil/{player-change-password-gm2-E5xKJgy3.js → player-change-password-gm2-lgbjA5yk.js} +1 -1
- package/stencil/{player-kyc-verification-B8arDCja.js → player-kyc-verification-CK7jvih_.js} +1 -1
- package/stencil/{player-kyc-verification-GFBDUbhm.cjs → player-kyc-verification-CWBei0Yk.cjs} +1 -1
- package/stencil/{player-kyc-verification-Di40xn9z.js → player-kyc-verification-ClECAHs-.js} +1 -1
- package/stencil/{toggle-checkbox-input-3f7U98vC.js → toggle-checkbox-input-BETTnM8f.js} +2 -2
- package/stencil/{toggle-checkbox-input-DDDgLFw4.js → toggle-checkbox-input-D3c8zSJU.js} +2 -2
- package/stencil/toggle-checkbox-input-owvrKS5Z.cjs +1 -0
- package/stencil/{ui-skeleton-DT0OMDC6.js → ui-skeleton-CWQGWUte.js} +2 -2
- package/stencil/{ui-skeleton-T4HYbNcC.js → ui-skeleton-DGSaG5JU.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-Ba-weZ4g.js → ui-skeleton-a642cced-21I14Ylk.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-B8H73O_q.cjs → ui-skeleton-a642cced-BXc76uPc.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-DhjmNsN7.js → ui-skeleton-a642cced-C5tlYQb-.js} +1 -1
- package/stencil/{ui-skeleton-BC4mw1ae.cjs → ui-skeleton-r-lLy7GD.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-DRe5oBqv.js → user-deposit-withdrawal-BISsu0Z-.js} +1 -1
- package/stencil/{user-deposit-withdrawal-Dj3Po03r.js → user-deposit-withdrawal-BmOGfPLJ.js} +1 -1
- package/stencil/{user-deposit-withdrawal-BQKFgZ31.cjs → user-deposit-withdrawal-C8N7GB9E.cjs} +1 -1
- package/stencil/{user-transaction-history-Dca7qx08.js → user-transaction-history-BO92Qvk4.js} +1 -1
- package/stencil/{user-transaction-history-6-z3byrF.js → user-transaction-history-Bg6onQ-I.js} +1 -1
- package/stencil/{user-transaction-history-DrhquxkJ.cjs → user-transaction-history-COJbthDt.cjs} +1 -1
- package/components/GeneralLogout-DKq7aXpj.cjs +0 -21
- package/components/PlayerAccountBettingHistory-6L3UumfC.js +0 -329
- package/components/PlayerAccountBettingHistory-Ba0rbzAt.cjs +0 -1
- package/components/PlayerDeposit-2rXfB2O5.cjs +0 -1
- package/stencil/checkbox-group-input_9-BkT4UtkZ.js +0 -13282
- package/stencil/checkbox-group-input_9-CDYbpnEQ.cjs +0 -2045
- package/stencil/checkbox-group-input_9-CMQLu-qB.js +0 -13248
- package/stencil/general-input--MP17Hyz.cjs +0 -1
- package/stencil/general-input-BqgyG6fv.js +0 -48
- package/stencil/general-input-V-ZuyFa5.js +0 -48
- package/stencil/index-1ef3a64c-BnB-ATuA.js +0 -556
- package/stencil/index-1ef3a64c-BvKbNMH8.cjs +0 -1
- package/stencil/index-1ef3a64c-Nsr9PDe6.js +0 -572
- package/stencil/index-7c5e707a-CTC8RpEi.js +0 -643
- package/stencil/index-7c5e707a-CWE0q0mP.js +0 -616
- package/stencil/index-7c5e707a-D1Fv8nel.cjs +0 -1
- package/stencil/index-9c0f6c58-C1yzTenw.js +0 -576
- package/stencil/index-9c0f6c58-DEsDY2nb.cjs +0 -1
- package/stencil/index-9cd44522-BbKqQXqL.js +0 -610
- package/stencil/index-9cd44522-C5N2LdVm.js +0 -626
- package/stencil/index-9cd44522-QIMe52Dh.cjs +0 -1
- package/stencil/index-ae04a8b1-D4wvtXTw.cjs +0 -1
- package/stencil/index-ae04a8b1-fpBaOn88.js +0 -516
- package/stencil/index-ae04a8b1-ixlRj3zC.js +0 -532
- package/stencil/password-input_2-C_mvPSDp.js +0 -589
- package/stencil/password-input_2-DeRFrP9K.cjs +0 -105
- package/stencil/password-input_2-g7twAnPT.js +0 -589
- package/stencil/toggle-checkbox-input-DXFebhBM.cjs +0 -1
- package/stencil/vaadin-button-mixin-e8c3f355-BdntioNA.cjs +0 -2391
- package/stencil/vaadin-button-mixin-e8c3f355-DON-rAuy.js +0 -10228
- package/stencil/vaadin-button-mixin-e8c3f355-DQ5UgwNf.js +0 -10302
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-9cd44522-QIMe52Dh.cjs"),o=require("./locale-BB2iZ4t0.cjs"),a=require("./vaadin-button-mixin-e8c3f355-BdntioNA.cjs"),c=require("./tooltipIcon-ee9760a8-Bd9l1O5C.cjs"),m=require("./player-change-password-gm2-039e300e-BU9mX4ix.cjs");/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
-
*/a.registerStyles("vaadin-text-field",a.inputFieldShared$1,{moduleId:"lumo-text-field-styles"});/**
|
|
6
|
-
* @license
|
|
7
|
-
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9
|
-
*/const v=t=>class extends a.InputControlMixin(t){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(e){this.__dataValue=e}_inputElementChanged(e){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))}_setFocused(e){super._setFocused(e),!e&&document.hasFocus()&&this.validate()}_onInput(e){super._onInput(e),this.invalid&&this.validate()}_valueChanged(e,r){super._valueChanged(e,r),r!==void 0&&this.invalid&&this.validate()}};/**
|
|
10
|
-
* @license
|
|
11
|
-
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13
|
-
*/const g=t=>class extends v(t){static get properties(){return{maxlength:{type:Number},minlength:{type:Number},pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"maxlength","minlength","pattern"]}static get constraints(){return[...super.constraints,"maxlength","minlength","pattern"]}constructor(){super(),this._setType("text")}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new a.InputController(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e})),this.addController(new a.LabelledInputController(this.inputElement,this._labelController))}};/**
|
|
14
|
-
* @license
|
|
15
|
-
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
16
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
17
|
-
*/a.registerStyles("vaadin-text-field",a.inputFieldShared,{moduleId:"vaadin-text-field-styles"});class p extends g(a.ThemableMixin(a.ElementMixin(a.PolymerElement))){static get is(){return"vaadin-text-field"}static get template(){return a.html`
|
|
18
|
-
<div class="vaadin-field-container">
|
|
19
|
-
<div part="label">
|
|
20
|
-
<slot name="label"></slot>
|
|
21
|
-
<span part="required-indicator" aria-hidden="true" on-click="focus"></span>
|
|
22
|
-
</div>
|
|
23
|
-
|
|
24
|
-
<vaadin-input-container
|
|
25
|
-
part="input-field"
|
|
26
|
-
readonly="[[readonly]]"
|
|
27
|
-
disabled="[[disabled]]"
|
|
28
|
-
invalid="[[invalid]]"
|
|
29
|
-
theme$="[[_theme]]"
|
|
30
|
-
>
|
|
31
|
-
<slot name="prefix" slot="prefix"></slot>
|
|
32
|
-
<slot name="input"></slot>
|
|
33
|
-
<slot name="suffix" slot="suffix"></slot>
|
|
34
|
-
<div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
|
|
35
|
-
</vaadin-input-container>
|
|
36
|
-
|
|
37
|
-
<div part="helper-text">
|
|
38
|
-
<slot name="helper"></slot>
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
<div part="error-message">
|
|
42
|
-
<slot name="error-message"></slot>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
<slot name="tooltip"></slot>
|
|
46
|
-
`}static get properties(){return{maxlength:{type:Number},minlength:{type:Number}}}ready(){super.ready(),this._tooltipController=new a.TooltipController(this),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}a.defineCustomElement(p);/**
|
|
47
|
-
* @license
|
|
48
|
-
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
49
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
50
|
-
*/const _=a.i$3`
|
|
51
|
-
:host {
|
|
52
|
-
position: absolute;
|
|
53
|
-
right: 0;
|
|
54
|
-
top: 0;
|
|
55
|
-
margin: 0;
|
|
56
|
-
padding: 0;
|
|
57
|
-
width: 100%;
|
|
58
|
-
height: 100%;
|
|
59
|
-
min-width: auto;
|
|
60
|
-
background: transparent;
|
|
61
|
-
outline: none;
|
|
62
|
-
}
|
|
63
|
-
`;a.registerStyles("vaadin-password-field-button",[a.button,_],{moduleId:"lumo-password-field-button"});/**
|
|
64
|
-
* @license
|
|
65
|
-
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
66
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
67
|
-
*/const f=a.i$3`
|
|
68
|
-
[part='reveal-button']::before {
|
|
69
|
-
content: var(--lumo-icons-eye);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
:host([password-visible]) [part='reveal-button']::before {
|
|
73
|
-
content: var(--lumo-icons-eye-disabled);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/* Make it easy to hide the button across the whole app */
|
|
77
|
-
[part='reveal-button'] {
|
|
78
|
-
position: relative;
|
|
79
|
-
display: var(--lumo-password-field-reveal-button-display, block);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
[part='reveal-button'][hidden] {
|
|
83
|
-
display: none !important;
|
|
84
|
-
}
|
|
85
|
-
`;a.registerStyles("vaadin-password-field",[a.inputFieldShared$1,f],{moduleId:"lumo-password-field"});/**
|
|
86
|
-
* @license
|
|
87
|
-
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
88
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
89
|
-
*/a.registerStyles("vaadin-password-field-button",a.buttonStyles,{moduleId:"vaadin-password-field-button-styles"});class w extends a.ButtonMixin(a.DirMixin(a.ThemableMixin(a.PolymerElement))){static get is(){return"vaadin-password-field-button"}static get template(){return a.html``}}a.defineCustomElement(w);/**
|
|
90
|
-
* @license
|
|
91
|
-
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
92
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
93
|
-
*/const y=t=>class extends a.SlotStylesMixin(a.DisabledMixin(a.FocusMixin(a.InputMixin(t)))){static get properties(){return{revealButtonHidden:{type:Boolean,observer:"_revealButtonHiddenChanged",value:!1},passwordVisible:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_passwordVisibleChanged",readOnly:!0},i18n:{type:Object,value:()=>({reveal:"Show password"})}}}static get observers(){return["__i18nChanged(i18n)"]}constructor(){super(),this._setType("password"),this.__boundRevealButtonClick=this._onRevealButtonClick.bind(this),this.__boundRevealButtonMouseDown=this._onRevealButtonMouseDown.bind(this),this.__lastChange=""}get slotStyles(){const e=this.localName;return[...super.slotStyles,`
|
|
94
|
-
${e} [slot="input"]::-ms-reveal {
|
|
95
|
-
display: none;
|
|
96
|
-
}
|
|
97
|
-
`]}get _revealNode(){return this._revealButtonController&&this._revealButtonController.node}ready(){super.ready(),this._revealPart=this.shadowRoot.querySelector('[part="reveal-button"]'),this._revealButtonController=new a.SlotController(this,"reveal","vaadin-password-field-button",{initializer:e=>{e.disabled=this.disabled,e.addEventListener("click",this.__boundRevealButtonClick),e.addEventListener("mousedown",this.__boundRevealButtonMouseDown)}}),this.addController(this._revealButtonController),this.__updateAriaLabel(this.i18n),this._updateToggleState(!1),this._toggleRevealHidden(this.revealButtonHidden),this.inputElement&&(this.inputElement.autocapitalize="off")}_onChange(e){super._onChange(e),this.__lastChange=this.inputElement.value}_shouldSetFocus(e){return e.target===this.inputElement||e.target===this._revealNode}_shouldRemoveFocus(e){return!(e.relatedTarget===this._revealNode||e.relatedTarget===this.inputElement&&e.target===this._revealNode)}_setFocused(e){if(super._setFocused(e),!e)this._setPasswordVisible(!1),this.__lastChange!==this.inputElement.value&&(this.__lastChange=this.inputElement.value,this.dispatchEvent(new CustomEvent("change",{bubbles:!0})));else{const r=this.getRootNode().activeElement===this._revealNode;this.toggleAttribute("focus-ring",this._keyboardActive&&!r)}}__updateAriaLabel(e){e&&e.reveal&&this._revealNode&&this._revealNode.setAttribute("aria-label",e.reveal)}__i18nChanged(e){this.__updateAriaLabel(e)}_revealButtonHiddenChanged(e){this._toggleRevealHidden(e)}_togglePasswordVisibility(){this._setPasswordVisible(!this.passwordVisible)}_onRevealButtonClick(){this._togglePasswordVisibility()}_onRevealButtonMouseDown(e){e.preventDefault(),this.inputElement.focus()}_toggleRevealHidden(e){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")))}_updateToggleState(e){this._revealNode&&this._revealNode.setAttribute("aria-pressed",e?"true":"false")}_passwordVisibleChanged(e){this._setType(e?"text":"password"),this._updateToggleState(e)}_disabledChanged(e,r){super._disabledChanged(e,r),this._revealNode&&(this._revealNode.disabled=e)}};/**
|
|
98
|
-
* @license
|
|
99
|
-
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
100
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
101
|
-
*/const b=a.html`
|
|
102
|
-
<div part="reveal-button" slot="suffix">
|
|
103
|
-
<slot name="reveal"></slot>
|
|
104
|
-
</div>
|
|
105
|
-
`;let u;class x extends y(p){static get is(){return"vaadin-password-field"}static get template(){if(!u){u=super.template.cloneNode(!0);const i=b.content.querySelector('[part="reveal-button"]');u.content.querySelector('[part="input-field"]').appendChild(i)}return u}}a.defineCustomElement(x);const C='*,*::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}',F=C,h=class{constructor(t){s.registerInstance(this,t),this.sendOriginalValidityState=s.createEvent(this,"sendOriginalValidityState",7),this.sendValidityState=s.createEvent(this,"sendValidityState",7),this.sendInputValue=s.createEvent(this,"sendInputValue",7),this.touched=!1,this.originalValid=!1,this.validationPattern="",this.duplicateInputValue=null,this.handleInput=i=>{this.value=i.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=i=>{i.stopPropagation(),window.postMessage({type:`registrationShow${this.name}`},window.location.href)},this.handleBlur=i=>{this.value=i.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 i=document.createElement("style");i.innerHTML=this.clientStyling,this.stylingContainer.prepend(i)},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(t,i){t!==i&&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(t){t==!0&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"duplicate"})}validityStateHandler(t){this.sendValidityState.emit(t)}valueHandler(t){this.sendInputValue.emit(t)}originalValidityChangedHandler(t){this.isDuplicateInput&&(t.detail.valid?(this.originalValid=!0,this.isValid=this.setValidity()):(this.originalValid=!1,this.isValid=!1,this.value!==""&&(this.errorMessage=this.setErrorMessage())))}valueChangedHandler(t){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())}handleClickOutside(t){t.composedPath()[0]!==this.tooltipIconReference&&t.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",t=>{this.handleRevealField(t)}),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(t){this.passwordComplexity=this.validation.custom.filter(i=>i.rule==="regex").map(i=>{const r=new RegExp(i.pattern).test(t);return{rule:i.displayName,ruleKey:i.errorKey,passed:r}})}setValidity(){var t,i;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}setPattern(){var t,i;if(((t=this.validation.custom)===null||t===void 0?void 0:t.length)>0)return(i=this.validation.custom.find(e=>e.rule==="regex"))===null||i===void 0?void 0:i.pattern}setErrorMessage(){var t,i,e,r;if(this.isDuplicateInput&&!this.originalValid)return o.translate("invalidOriginalPasswordError",this.language);if(this.inputReference.validity.patternMismatch){const l=(t=this.validation.custom.find(n=>n.rule==="regex"))===null||t===void 0?void 0:t.errorKey,d=(i=this.validation.custom.find(n=>n.rule==="regex"))===null||i===void 0?void 0:i.errorMessage;return o.translate(`${l}`,this.language)?o.translate(`${l}`,this.language):d}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return o.translate("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return o.translate("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const l=(e=this.validation.custom.find(n=>n.rule==="duplicate-input"))===null||e===void 0?void 0:e.errorKey,d=(r=this.validation.custom.find(n=>n.rule==="duplicate-input"))===null||r===void 0?void 0:r.errorMessage;return o.translate(`${l}`,this.language)?o.translate(`${l}`,this.language):d}}renderTooltip(){return this.showTooltip?s.h("div",{class:`password__tooltip ${this.showTooltip?"visible":""}`,ref:t=>this.tooltipReference=t,innerHTML:this.tooltip}):null}renderComplexityPopup(){const t=this.passwordComplexity.length,e=this.passwordComplexity.filter(l=>l.passed).length/t,r=this.passwordComplexity.every(l=>l.passed);return s.h("div",{class:`password__complexity ${this.showPopup?"":"password__complexity--hidden"}`},s.h("div",{class:"password__complexity--strength"},s.h("p",{class:"password__complexity--text"},o.translate("passwordStrength",this.language)," ",s.h("span",{class:"password__complexity--text-bold"},o.translate(`${r?"passwordStrengthStrong":"passwordStrengthWeak"}`,this.language))),s.h("meter",{value:e,min:"0",max:"1"})),s.h("div",null,this.passwordComplexity.map((l,d)=>s.h("div",{key:d},s.h("input",{class:"password__complexity--checkbox",type:"checkbox",checked:l.passed,disabled:!0}),s.h("span",null,o.translate(`${l.ruleKey}`,this.language)?o.translate(`${l.ruleKey}`,this.language):l.rule)))))}render(){let t="";return this.touched&&(t=this.isValid==!0||this.isValid==null?"":"text__input--invalid"),s.h("div",{key:"36d21c63dcd15b6de2d2de417ce97b520493cd16",class:`password__wrapper ${this.autofilled?"password__wrapper--autofilled":""} ${this.name}__input`,ref:i=>this.stylingContainer=i},s.h("div",{key:"3de600f4ccbf2ffe7a8a8858e9d5a483701dd4d7",class:"password__wrapper--flex"},s.h("label",{key:"74fee343f4d6adbbb22e88c5d51d3a471979d42e",class:`password__label ${this.validation.mandatory?"password__label--required":""}`,htmlFor:`${this.name}__input`},this.displayName),s.h("div",{key:"d1f30d776c5612b1a5581859b929bee171105bf5",class:"password__wrapper--relative"},this.tooltip&&s.h("img",{key:"932201990b5fa67f448d4ab8ca7f844f757d5e47",class:"password__tooltip-icon",src:c.tooltipIconSvg,alt:"",ref:i=>this.tooltipIconReference=i,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),s.h("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}),s.h("small",{key:"0f6f7ba5e9ec6f492f22a46ac77c7977f7a8e835",class:"password__error-message"},this.errorMessage),this.passwordComplexity&&this.showPopup&&!this.isDuplicateInput&&this.renderComplexityPopup())}get element(){return s.getElement(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}}};h.style=F;exports.player_change_password_gm2=m.PlayerChangePasswordGm2;exports.password_input=h;
|