@everymatrix/player-account-controller-nd 1.55.0 → 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-B0tDLggX.cjs +21 -0
- package/components/{GeneralLogout-Ve_dOAMA.js → GeneralLogout-Bey9GDpf.js} +987 -935
- package/components/{GeneralLogout-BZhvD1EQ.js → GeneralLogout-YiF0hTAh.js} +991 -939
- package/components/PlayerAccountBettingHistory-Db9Bi7uC.js +328 -0
- package/components/PlayerAccountBettingHistory-QrFClf-q.cjs +1 -0
- package/components/PlayerAccountBettingHistory-e7BZnvlA.js +329 -0
- package/components/{PlayerAccountBiometrics-fQlNKCoA.js → PlayerAccountBiometrics-9yKUwb5y.js} +125 -126
- package/components/{PlayerAccountBiometrics-BrlNlZ5N.cjs → PlayerAccountBiometrics-Bs6NMHc0.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-BupiQCMJ.js → PlayerAccountBiometrics-fgA6msXe.js} +125 -126
- package/components/{PlayerAccountClosureNd-DcMOj468.cjs → PlayerAccountClosureNd-BUJ9_TaL.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-CEad1veU.js → PlayerAccountClosureNd-LZ83f2yz.js} +127 -128
- package/components/{PlayerAccountClosureNd-DAFiYifr.js → PlayerAccountClosureNd-UXSMJQcx.js} +127 -128
- package/components/{PlayerAccountControllerNd-5BH6GjlH.js → PlayerAccountControllerNd-9wsIJ-js.js} +1714 -1141
- package/components/PlayerAccountControllerNd-D0INricU.cjs +1 -0
- package/components/{PlayerAccountControllerNd-BmAwgSdK.js → PlayerAccountControllerNd-DWv_sKx6.js} +1640 -1067
- package/components/{PlayerAccountGamingLimits-9Stjo0gs.js → PlayerAccountGamingLimits-B9-kZCVp.js} +291 -240
- package/components/PlayerAccountGamingLimits-D46zagPJ.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-DI0RPgPB.js → PlayerAccountGamingLimits-qwcdGv5k.js} +291 -240
- package/components/PlayerAccountGamingLimitsConfirmationModal-BVtO8XYY.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BzAWyxny.js → PlayerAccountGamingLimitsConfirmationModal-DsbEiYMl.js} +127 -131
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DKpr25Aj.js → PlayerAccountGamingLimitsConfirmationModal-knZnUTFD.js} +127 -131
- package/components/{PlayerAccountGamingLimitsGroupEdit-Dj2jUWb2.js → PlayerAccountGamingLimitsGroupEdit-5NUu_zZc.js} +1467 -1524
- package/components/{PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js → PlayerAccountGamingLimitsGroupEdit-B8GXBPFa.js} +1467 -1524
- package/components/PlayerAccountGamingLimitsGroupEdit-DNh-dSyB.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BQy_79YQ.js → PlayerAccountGamingLimitsHistory2Nd-CK8Ge8bB.js} +224 -231
- package/components/{PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs → PlayerAccountGamingLimitsHistory2Nd-CTdhbVen.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js → PlayerAccountGamingLimitsHistory2Nd-DAeqMwXC.js} +220 -227
- package/components/PlayerAccountGamingLimitsInfoCard-BP3ieYB-.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-CDFRfVT4.js → PlayerAccountGamingLimitsInfoCard-CVwEtiRl.js} +649 -594
- package/components/{PlayerAccountGamingLimitsInfoCard-StfGgmLs.js → PlayerAccountGamingLimitsInfoCard-U0DesVX6.js} +649 -594
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dz-xK27Q.js → PlayerAccountGamingLimitsPage2Gm16Nd-Bw4LELoM.js} +880 -843
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-D5MICFh6.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B672X-1A.js → PlayerAccountGamingLimitsPage2Gm16Nd-DgQc2QVS.js} +1064 -1027
- package/components/{PlayerAccountGamingLimitsPopup-DoLZB2lj.js → PlayerAccountGamingLimitsPopup-CoF07jnu.js} +114 -118
- package/components/{PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs → PlayerAccountGamingLimitsPopup-DyBIvm50.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-f9QP34fL.js → PlayerAccountGamingLimitsPopup-K79LGbuJ.js} +114 -118
- package/components/PlayerAccountGamingLimitsWrapper2Nd-BW4iVYMB.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2Nd-BdjEhTA4.js +1016 -0
- package/components/PlayerAccountGamingLimitsWrapper2Nd-ufU6zWS8.js +1022 -0
- package/components/PlayerAccountGeneralConfirmationModal-B4jIx1BX.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-BlglDNwU.js → PlayerAccountGeneralConfirmationModal-C2tJxm9K.js} +144 -145
- package/components/{PlayerAccountGeneralConfirmationModal-rpOFir4P.js → PlayerAccountGeneralConfirmationModal-G69m_xaE.js} +144 -145
- package/components/PlayerAccountMenuNd-BL9F1XLJ.cjs +1 -0
- package/components/PlayerAccountMenuNd-Bhoxd17Y.js +716 -0
- package/components/PlayerAccountMenuNd-BolTLeYK.js +717 -0
- package/components/PlayerAccountModal-COJeLuDu.cjs +1 -0
- package/components/PlayerAccountModal-D7KHd2U7.js +209 -0
- package/components/PlayerAccountModal-Xa2YQAW6.js +209 -0
- package/components/PlayerAccountNotifications-CN9pIy3r.js +370 -0
- package/components/PlayerAccountNotifications-D64RWyxv.js +371 -0
- package/components/PlayerAccountNotifications-DAWwzmCU.cjs +1 -0
- package/components/PlayerAccountSelfExclusionNd-BE6FLnkt.cjs +3555 -0
- package/components/{PlayerAccountSelfExclusionNd-CM37K9pN.js → PlayerAccountSelfExclusionNd-Djz06Ekm.js} +10631 -10864
- package/components/{PlayerAccountSelfExclusionNd-D2JmyzgE.js → PlayerAccountSelfExclusionNd-ig2ia3IY.js} +10743 -10931
- package/components/PlayerAccountTimeout-BeIP73DT.cjs +1 -0
- package/components/{PlayerAccountTimeout-B0zaqo1v.js → PlayerAccountTimeout-DdAujgR0.js} +499 -368
- package/components/{PlayerAccountTimeout-BO3G2t3W.js → PlayerAccountTimeout-y8LG_lWP.js} +499 -368
- package/components/PlayerActiveBonuses-DFEww75_.js +1077 -0
- package/components/PlayerActiveBonuses-DZpjmd5_.cjs +1 -0
- package/components/PlayerActiveBonuses-dJSywFxG.js +1078 -0
- package/components/{PlayerBonusCard-BC8FfHZz.cjs → PlayerBonusCard-BLy1uhLi.cjs} +1 -1
- package/components/{PlayerBonusCard-9LZmOSI1.js → PlayerBonusCard-CFDVa6DC.js} +129 -131
- package/components/{PlayerBonusCard-BvrlU7Ao.js → PlayerBonusCard-soky_TFz.js} +129 -131
- package/components/PlayerBonusHistory--BlJA1se.js +937 -0
- package/components/PlayerBonusHistory-22zrtSy8.js +938 -0
- package/components/PlayerBonusHistory-DZPMcFck.cjs +1 -0
- package/components/{PlayerChangePassword-CzR4Xz0H.cjs → PlayerChangePassword-UepIdqvw.cjs} +2 -2
- package/components/{PlayerChangePassword-BcoctDrY.js → PlayerChangePassword-djQtDeHb.js} +387 -389
- package/components/{PlayerChangePassword-BsQyz4Qc.js → PlayerChangePassword-hrfxOW0b.js} +387 -389
- package/components/{PlayerDeposit-B_7saxic.js → PlayerDeposit-BaC6d2og.js} +129 -152
- package/components/{PlayerDeposit-BIBRCGiC.js → PlayerDeposit-CpzXx-Jg.js} +129 -152
- package/components/PlayerDeposit-Dcjjga2V.cjs +1 -0
- package/components/PlayerGamingHistory-Ccw_gZ0A.cjs +1 -0
- package/components/{PlayerGamingHistory-B1Q3Qiuk.js → PlayerGamingHistory-Vqvs5YTt.js} +339 -343
- package/components/{PlayerGamingHistory-DUCP4vWS.js → PlayerGamingHistory-tfAS2Z8a.js} +362 -366
- package/components/{PlayerPendingWithdrawals-C8jyjgZ0.js → PlayerPendingWithdrawals-C10oNkk6.js} +119 -120
- package/components/PlayerPendingWithdrawals-CvxjxkOD.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-wMhZTLpq.js → PlayerPendingWithdrawals-D5M1bMLH.js} +119 -120
- package/components/PlayerProfileInfo-AlvN_pUL.cjs +1 -0
- package/components/PlayerProfileInfo-B8-CMN4r.js +1823 -0
- package/components/PlayerProfileInfo-BvJQ2_J5.js +1806 -0
- package/components/PlayerRealityCheck-BRhT1UhN.js +652 -0
- package/components/PlayerRealityCheck-DPvdP9-_.js +668 -0
- package/components/PlayerRealityCheck-DSYoUIrf.cjs +1 -0
- package/components/PlayerTransactionHistory-BldqkQc5.js +314 -0
- package/components/PlayerTransactionHistory-Cvm1EwgV.cjs +1 -0
- package/components/PlayerTransactionHistory-JT3TZ8Mb.js +314 -0
- package/components/{PlayerWithdrawal-jGmMHcUX.js → PlayerWithdrawal-CHHAj5SG.js} +137 -141
- package/components/PlayerWithdrawal-D9w69Llz.cjs +1 -0
- package/components/{PlayerWithdrawal-wi9yuRxw.js → PlayerWithdrawal-DI-38Q1t.js} +137 -141
- 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 +1 -1
- package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
- package/stencil/app-globals-0f993ce5-DzSE6TtH.js +13 -0
- 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-Cny9rOs9.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-7c5e707a-CTC8RpEi.js +643 -0
- package/stencil/index-7c5e707a-CWE0q0mP.js +616 -0
- package/stencil/index-7c5e707a-D1Fv8nel.cjs +1 -0
- package/stencil/index-9c0f6c58-C1yzTenw.js +576 -0
- package/stencil/index-9c0f6c58-CqoLeK5G.js +549 -0
- 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-ae04a8b1-ixlRj3zC.js +532 -0
- 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-780eb445-Cg8Z75Vz.js → player-change-password-gm2-039e300e-CcWiaT26.js} +85 -66
- package/stencil/player-change-password-gm2-039e300e-DiYWgS70.cjs +1 -0
- package/stencil/{player-change-password-gm2-780eb445-DEjz9Jjk.js → player-change-password-gm2-039e300e-Zp9TDX77.js} +85 -66
- 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-B8arDCja.js +863 -0
- package/stencil/player-kyc-verification-Di40xn9z.js +885 -0
- package/stencil/player-kyc-verification-GFBDUbhm.cjs +180 -0
- package/stencil/{toggle-checkbox-input-Co64_7cm.js → toggle-checkbox-input-BxUGWw2X.js} +12 -4
- package/stencil/toggle-checkbox-input-D-Cv1QSS.cjs +1 -0
- package/stencil/{toggle-checkbox-input-ErX2Ngat.js → toggle-checkbox-input-PSoH9KF2.js} +12 -4
- package/stencil/ui-skeleton-BC4mw1ae.cjs +1 -0
- package/stencil/ui-skeleton-DT0OMDC6.js +11 -0
- package/stencil/ui-skeleton-T4HYbNcC.js +29 -0
- package/stencil/ui-skeleton-a642cced-B8H73O_q.cjs +1 -0
- package/stencil/ui-skeleton-a642cced-Ba-weZ4g.js +122 -0
- package/stencil/ui-skeleton-a642cced-DhjmNsN7.js +122 -0
- package/stencil/user-deposit-withdrawal-BQKFgZ31.cjs +59 -0
- package/stencil/user-deposit-withdrawal-DRe5oBqv.js +684 -0
- package/stencil/user-deposit-withdrawal-Dj3Po03r.js +706 -0
- package/stencil/user-transaction-history-6-z3byrF.js +374 -0
- package/stencil/user-transaction-history-Dca7qx08.js +350 -0
- package/stencil/user-transaction-history-DrhquxkJ.cjs +1 -0
- 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-BW6b3iuS.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
- package/components/PlayerAccountBettingHistory-C9n4Lfo3.js +0 -332
- package/components/PlayerAccountBettingHistory-QT3-2u7E.js +0 -333
- package/components/PlayerAccountControllerNd-CO0ce0zs.cjs +0 -1
- package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs +0 -10
- package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs +0 -21
- package/components/PlayerAccountGamingLimitsWrapper2Nd-Bz6Zp5tp.js +0 -865
- package/components/PlayerAccountGamingLimitsWrapper2Nd-Cq5vxtjw.js +0 -871
- package/components/PlayerAccountGamingLimitsWrapper2Nd-KUpEDIP8.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
- package/components/PlayerAccountMenuNd-BWUhUlIY.js +0 -590
- package/components/PlayerAccountMenuNd-BmPerb2f.cjs +0 -1
- package/components/PlayerAccountMenuNd-CxMlvYwa.js +0 -589
- package/components/PlayerAccountModal-BK81ZotM.js +0 -213
- package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
- package/components/PlayerAccountModal-CzVRNZzB.js +0 -213
- package/components/PlayerAccountNotifications-BBwUcB1T.js +0 -261
- package/components/PlayerAccountNotifications-CB47Zxq9.js +0 -261
- package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
- package/components/PlayerAccountSelfExclusionNd-DCsOgBZR.cjs +0 -4171
- package/components/PlayerAccountTimeout-Dg5Mlz5K.cjs +0 -1
- package/components/PlayerActiveBonuses-B9jz3QD8.cjs +0 -1
- package/components/PlayerActiveBonuses-CfZ8tegY.js +0 -1037
- package/components/PlayerActiveBonuses-DkKDWhBN.js +0 -1038
- package/components/PlayerBonusHistory-Bsy2Grk6.js +0 -919
- package/components/PlayerBonusHistory-CuSbmVev.cjs +0 -1
- package/components/PlayerBonusHistory-nN8l2tOZ.js +0 -920
- package/components/PlayerDeposit-D_78W5GC.cjs +0 -1
- package/components/PlayerGamingHistory-CNPhCSFS.cjs +0 -1
- package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
- package/components/PlayerProfileInfo-CGsJydqv.cjs +0 -1
- package/components/PlayerProfileInfo-EkbwdTEh.js +0 -1757
- package/components/PlayerProfileInfo-SeOQq0CG.js +0 -1740
- package/components/PlayerRealityCheck--iYjw4rP.js +0 -598
- package/components/PlayerRealityCheck-BGGIPihT.js +0 -582
- package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
- package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
- package/components/PlayerTransactionHistory-CvBbrQn6.js +0 -315
- package/components/PlayerTransactionHistory-DIfTIxF3.js +0 -315
- package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +0 -2104
- package/stencil/index-72d2f0c7--qtpsDOz.js +0 -642
- package/stencil/index-72d2f0c7-DldCMjBJ.cjs +0 -1
- package/stencil/index-72d2f0c7-DyMEJXra.js +0 -626
- package/stencil/index-Dyvby5gX.cjs +0 -1
- package/stencil/index-l0sNRNKZ.js +0 -1
- package/stencil/password-input_2-CHOu4hgw.js +0 -1420
- package/stencil/password-input_2-DQAgV1SZ.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-ClBiis4q.js +0 -25
- package/stencil/player-change-password-gm2-Dt0gP_G_.cjs +0 -1
- package/stencil/player-change-password-gm2-cKh7RACV.js +0 -7
- package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +0 -1
- package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +0 -3018
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-9cd44522-DwMekoGN.cjs"),o=require("./locale-B5abSHU_.cjs"),a=require("./vaadin-button-mixin-e8c3f355-BdntioNA.cjs"),c=require("./tooltipIcon-ee9760a8-Bd9l1O5C.cjs"),m=require("./player-change-password-gm2-039e300e-DiYWgS70.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;
|