@everymatrix/player-account-controller-nd 1.56.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-CqNn1bEG.js → GeneralLogout-Bey9GDpf.js} +804 -745
- package/components/{GeneralLogout-qtT2UsMu.js → GeneralLogout-YiF0hTAh.js} +706 -647
- package/components/{PlayerAccountBettingHistory-CgKp1Tsa.js → PlayerAccountBettingHistory-Db9Bi7uC.js} +126 -127
- package/components/PlayerAccountBettingHistory-QrFClf-q.cjs +1 -0
- package/components/PlayerAccountBettingHistory-e7BZnvlA.js +329 -0
- package/components/{PlayerAccountBiometrics-hfEg8HK3.js → PlayerAccountBiometrics-9yKUwb5y.js} +22 -22
- package/components/{PlayerAccountBiometrics-8CaZALdD.cjs → PlayerAccountBiometrics-Bs6NMHc0.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-BynUcDER.js → PlayerAccountBiometrics-fgA6msXe.js} +22 -22
- package/components/{PlayerAccountClosureNd-BzygnnRL.cjs → PlayerAccountClosureNd-BUJ9_TaL.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-BNAxe4kI.js → PlayerAccountClosureNd-LZ83f2yz.js} +17 -17
- package/components/{PlayerAccountClosureNd-C56v4kQH.js → PlayerAccountClosureNd-UXSMJQcx.js} +17 -17
- package/components/{PlayerAccountControllerNd-0Azz2muh.js → PlayerAccountControllerNd-9wsIJ-js.js} +345 -298
- package/components/PlayerAccountControllerNd-D0INricU.cjs +1 -0
- package/components/{PlayerAccountControllerNd-CU0CZtN2.js → PlayerAccountControllerNd-DWv_sKx6.js} +346 -299
- package/components/{PlayerAccountGamingLimits-BUBbpeFt.js → PlayerAccountGamingLimits-B9-kZCVp.js} +81 -81
- package/components/{PlayerAccountGamingLimits-DoYSa5g4.cjs → PlayerAccountGamingLimits-D46zagPJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-cGyCwFe3.js → PlayerAccountGamingLimits-qwcdGv5k.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs → PlayerAccountGamingLimitsConfirmationModal-BVtO8XYY.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BzxaZ7Sb.js → PlayerAccountGamingLimitsConfirmationModal-DsbEiYMl.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CPRvI7h-.js → PlayerAccountGamingLimitsConfirmationModal-knZnUTFD.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-BJQil0oW.js → PlayerAccountGamingLimitsGroupEdit-5NUu_zZc.js} +1302 -1355
- package/components/{PlayerAccountGamingLimitsGroupEdit-uRCXqfhe.js → PlayerAccountGamingLimitsGroupEdit-B8GXBPFa.js} +1302 -1355
- package/components/PlayerAccountGamingLimitsGroupEdit-DNh-dSyB.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-wYR_HP23.js → PlayerAccountGamingLimitsHistory2Nd-CK8Ge8bB.js} +83 -82
- package/components/{PlayerAccountGamingLimitsHistory2Nd-Daq9D9so.cjs → PlayerAccountGamingLimitsHistory2Nd-CTdhbVen.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-B9FC3C6m.js → PlayerAccountGamingLimitsHistory2Nd-DAeqMwXC.js} +81 -80
- package/components/{PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs → PlayerAccountGamingLimitsInfoCard-BP3ieYB-.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DvaVcUFe.js → PlayerAccountGamingLimitsInfoCard-CVwEtiRl.js} +91 -87
- package/components/{PlayerAccountGamingLimitsInfoCard-DgmJAMo8.js → PlayerAccountGamingLimitsInfoCard-U0DesVX6.js} +91 -87
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DJhG-lLb.js → PlayerAccountGamingLimitsPage2Gm16Nd-Bw4LELoM.js} +120 -107
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BDBtHDGH.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-D5MICFh6.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BQeFK7FJ.js → PlayerAccountGamingLimitsPage2Gm16Nd-DgQc2QVS.js} +118 -105
- package/components/{PlayerAccountGamingLimitsPopup-BgdXe6lp.js → PlayerAccountGamingLimitsPopup-CoF07jnu.js} +26 -26
- package/components/{PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs → PlayerAccountGamingLimitsPopup-DyBIvm50.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BhqEVpIP.js → PlayerAccountGamingLimitsPopup-K79LGbuJ.js} +26 -26
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DnBhGv4Z.cjs → PlayerAccountGamingLimitsWrapper2Nd-BW4iVYMB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-HNcfKvd3.js → PlayerAccountGamingLimitsWrapper2Nd-BdjEhTA4.js} +17 -17
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-bkcZAm71.js → PlayerAccountGamingLimitsWrapper2Nd-ufU6zWS8.js} +17 -17
- package/components/{PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs → PlayerAccountGeneralConfirmationModal-B4jIx1BX.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BUSAMIdf.js → PlayerAccountGeneralConfirmationModal-C2tJxm9K.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-BXQQtxIE.js → PlayerAccountGeneralConfirmationModal-G69m_xaE.js} +34 -34
- package/components/PlayerAccountMenuNd-BL9F1XLJ.cjs +1 -0
- package/components/{PlayerAccountMenuNd-Dw-owOIv.js → PlayerAccountMenuNd-Bhoxd17Y.js} +162 -140
- package/components/{PlayerAccountMenuNd-BGd35WSX.js → PlayerAccountMenuNd-BolTLeYK.js} +164 -142
- package/components/{PlayerAccountModal-CLW-XTid.cjs → PlayerAccountModal-COJeLuDu.cjs} +1 -1
- package/components/{PlayerAccountModal-C7aE-f75.js → PlayerAccountModal-D7KHd2U7.js} +27 -27
- package/components/{PlayerAccountModal-DcQTZlVT.js → PlayerAccountModal-Xa2YQAW6.js} +27 -27
- package/components/{PlayerAccountNotifications-lv1He1RO.js → PlayerAccountNotifications-CN9pIy3r.js} +36 -34
- package/components/{PlayerAccountNotifications-0ecn9JH_.js → PlayerAccountNotifications-D64RWyxv.js} +35 -33
- package/components/{PlayerAccountNotifications-CmSue8JR.cjs → PlayerAccountNotifications-DAWwzmCU.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-TZyj4_3a.cjs → PlayerAccountSelfExclusionNd-BE6FLnkt.cjs} +182 -184
- package/components/{PlayerAccountSelfExclusionNd-DRQwA-0O.js → PlayerAccountSelfExclusionNd-Djz06Ekm.js} +1429 -1409
- package/components/{PlayerAccountSelfExclusionNd-CsBAGhjI.js → PlayerAccountSelfExclusionNd-ig2ia3IY.js} +1587 -1568
- package/components/{PlayerAccountTimeout-BDvJp_Zk.cjs → PlayerAccountTimeout-BeIP73DT.cjs} +1 -1
- package/components/{PlayerAccountTimeout-C0WAFaPW.js → PlayerAccountTimeout-DdAujgR0.js} +41 -41
- package/components/{PlayerAccountTimeout-CixN4uD5.js → PlayerAccountTimeout-y8LG_lWP.js} +41 -41
- package/components/{PlayerActiveBonuses-BAx9d0pm.js → PlayerActiveBonuses-DFEww75_.js} +239 -217
- package/components/PlayerActiveBonuses-DZpjmd5_.cjs +1 -0
- package/components/{PlayerActiveBonuses-CbJliQvN.js → PlayerActiveBonuses-dJSywFxG.js} +239 -217
- package/components/{PlayerBonusCard-5gtng8cd.cjs → PlayerBonusCard-BLy1uhLi.cjs} +1 -1
- package/components/{PlayerBonusCard-DnyVL-Cb.js → PlayerBonusCard-CFDVa6DC.js} +80 -80
- package/components/{PlayerBonusCard-BiVG3k7R.js → PlayerBonusCard-soky_TFz.js} +80 -80
- package/components/{PlayerBonusHistory-DA8a2ZnE.js → PlayerBonusHistory--BlJA1se.js} +33 -33
- package/components/{PlayerBonusHistory-CaiqLQk_.js → PlayerBonusHistory-22zrtSy8.js} +33 -33
- package/components/{PlayerBonusHistory-rLGeO078.cjs → PlayerBonusHistory-DZPMcFck.cjs} +1 -1
- package/components/{PlayerChangePassword-BsM1lBfW.cjs → PlayerChangePassword-UepIdqvw.cjs} +1 -1
- package/components/{PlayerChangePassword-DsR4BO-Y.js → PlayerChangePassword-djQtDeHb.js} +90 -88
- package/components/{PlayerChangePassword-dEL-0H2u.js → PlayerChangePassword-hrfxOW0b.js} +90 -88
- package/components/{PlayerDeposit-D_Ujmr4j.js → PlayerDeposit-BaC6d2og.js} +99 -99
- package/components/{PlayerDeposit-IS6_f845.js → PlayerDeposit-CpzXx-Jg.js} +99 -99
- package/components/PlayerDeposit-Dcjjga2V.cjs +1 -0
- package/components/{PlayerGamingHistory-BRstQCWo.cjs → PlayerGamingHistory-Ccw_gZ0A.cjs} +1 -1
- package/components/{PlayerGamingHistory-BYRzcRjb.js → PlayerGamingHistory-Vqvs5YTt.js} +57 -57
- package/components/{PlayerGamingHistory-GGgBAhXX.js → PlayerGamingHistory-tfAS2Z8a.js} +62 -62
- package/components/{PlayerPendingWithdrawals-CaoLTPFk.js → PlayerPendingWithdrawals-C10oNkk6.js} +26 -26
- package/components/{PlayerPendingWithdrawals-qMs8We3P.cjs → PlayerPendingWithdrawals-CvxjxkOD.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-M9Wq9w2M.js → PlayerPendingWithdrawals-D5M1bMLH.js} +26 -26
- package/components/{PlayerProfileInfo-Mqg0xIQD.cjs → PlayerProfileInfo-AlvN_pUL.cjs} +1 -1
- package/components/{PlayerProfileInfo-B4pkapUi.js → PlayerProfileInfo-B8-CMN4r.js} +74 -72
- package/components/{PlayerProfileInfo-Cr6m7e2V.js → PlayerProfileInfo-BvJQ2_J5.js} +74 -72
- package/components/{PlayerRealityCheck-B9LHSWRj.js → PlayerRealityCheck-BRhT1UhN.js} +33 -33
- package/components/{PlayerRealityCheck-CMKhVVBJ.js → PlayerRealityCheck-DPvdP9-_.js} +33 -33
- package/components/{PlayerRealityCheck-DoXLoM9G.cjs → PlayerRealityCheck-DSYoUIrf.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BaALuJRH.js → PlayerTransactionHistory-BldqkQc5.js} +24 -24
- package/components/{PlayerTransactionHistory-BqEXyDt-.cjs → PlayerTransactionHistory-Cvm1EwgV.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CYob92HC.js → PlayerTransactionHistory-JT3TZ8Mb.js} +24 -24
- package/components/{PlayerWithdrawal-CNDRfeXy.js → PlayerWithdrawal-CHHAj5SG.js} +19 -19
- package/components/{PlayerWithdrawal-1i-tYxaO.cjs → PlayerWithdrawal-D9w69Llz.cjs} +1 -1
- package/components/{PlayerWithdrawal-U9E0FEDt.js → PlayerWithdrawal-DI-38Q1t.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 +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-B_RfUM6E.js → checkbox-group-input_9-DtZ9kvK4.js} +945 -903
- package/stencil/{checkbox-group-input_9-C98yT4vw.js → checkbox-group-input_9-DvXvp-ML.js} +984 -942
- package/stencil/general-input-CFqrfrup.cjs +1 -0
- package/stencil/{general-input-CqTf7ErJ.js → general-input-eCxMClmW.js} +6 -6
- package/stencil/{general-input-DTHw5Z1Q.js → general-input-rL_ftR3H.js} +6 -6
- 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-CdHS5fmR.js → password-input_2-9_yxZI2g.js} +51 -31
- package/stencil/{password-input_2-B2qvf6ku.cjs → password-input_2-BabcxKun.cjs} +7 -7
- package/stencil/{password-input_2-DdQvCp3o.js → password-input_2-D-YA_Jkx.js} +51 -31
- package/stencil/{player-change-password-gm2-38dff08c-BNhjxr22.js → player-change-password-gm2-039e300e-CcWiaT26.js} +3 -3
- package/stencil/{player-change-password-gm2-38dff08c-DnYXSeKg.cjs → player-change-password-gm2-039e300e-DiYWgS70.cjs} +1 -1
- package/stencil/{player-change-password-gm2-38dff08c-CPRdwVFF.js → player-change-password-gm2-039e300e-Zp9TDX77.js} +3 -3
- 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-B4OOk9wz.js → toggle-checkbox-input-BxUGWw2X.js} +15 -7
- package/stencil/toggle-checkbox-input-D-Cv1QSS.cjs +1 -0
- package/stencil/{toggle-checkbox-input-Cwo_Ny77.js → toggle-checkbox-input-PSoH9KF2.js} +15 -7
- package/stencil/{ui-skeleton-ITys8nIA.cjs → ui-skeleton-BC4mw1ae.cjs} +1 -1
- package/stencil/{ui-skeleton-BL5JJXyn.js → ui-skeleton-DT0OMDC6.js} +3 -3
- package/stencil/{ui-skeleton-CGldUjn2.js → ui-skeleton-T4HYbNcC.js} +3 -3
- package/stencil/ui-skeleton-a642cced-B8H73O_q.cjs +1 -0
- package/stencil/{ui-skeleton-982450d2-BKnKTh4c.js → ui-skeleton-a642cced-Ba-weZ4g.js} +21 -21
- package/stencil/{ui-skeleton-982450d2-DQzKNKe8.js → ui-skeleton-a642cced-DhjmNsN7.js} +21 -21
- 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-ef61174c-DuDVejN4.cjs → vaadin-button-mixin-e8c3f355-BdntioNA.cjs} +130 -124
- package/stencil/{vaadin-button-mixin-ef61174c-B_vhSFKU.js → vaadin-button-mixin-e8c3f355-DON-rAuy.js} +821 -795
- package/stencil/{vaadin-button-mixin-ef61174c-EQiVsI4x.js → vaadin-button-mixin-e8c3f355-DQ5UgwNf.js} +931 -906
- package/components/GeneralLogout-9pZTJKCj.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +0 -1
- package/components/PlayerAccountBettingHistory-DGdU5x1X.js +0 -328
- package/components/PlayerAccountControllerNd-DiMI0zck.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs +0 -10
- package/components/PlayerAccountMenuNd-BWzYxwjF.cjs +0 -1
- package/components/PlayerActiveBonuses-DTgD47j8.cjs +0 -1
- package/components/PlayerDeposit-0eaqfWH1.cjs +0 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +0 -7
- package/stencil/checkbox-group-input_9-C2IUNSpC.cjs +0 -2045
- package/stencil/general-input-wM2i7b57.cjs +0 -1
- package/stencil/index-92b64862-BRYoLHww.cjs +0 -1
- package/stencil/index-92b64862-C_69cKxK.js +0 -708
- package/stencil/index-92b64862-w9a1l35N.js +0 -692
- package/stencil/index-Dyvby5gX.cjs +0 -1
- package/stencil/index-db5752f9-DlyF6uv8.js +0 -594
- package/stencil/index-db5752f9-DrdunCay.js +0 -610
- package/stencil/index-db5752f9-dFKrDpwt.cjs +0 -1
- package/stencil/index-l0sNRNKZ.js +0 -1
- package/stencil/player-change-password-gm2-Cxdum0Hh.js +0 -25
- package/stencil/player-change-password-gm2-DJqZO25d.cjs +0 -1
- package/stencil/player-change-password-gm2-DWoAaJ2f.js +0 -7
- package/stencil/toggle-checkbox-input-tQDhlcag.cjs +0 -1
- package/stencil/ui-skeleton-982450d2-DDIv0--Q.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as w, c as p, h as a, g as
|
|
1
|
+
import { r as w, c as p, h as a, g as y } from "./index-9cd44522-Cygpa4pV.js";
|
|
2
2
|
import { t as o } from "./locale-BG_TzyDt.js";
|
|
3
|
-
import { r as d,
|
|
4
|
-
import { t as
|
|
5
|
-
import { P as ae } from "./player-change-password-gm2-
|
|
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-DON-rAuy.js";
|
|
4
|
+
import { t as D } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
|
|
5
|
+
import { P as ae } from "./player-change-password-gm2-039e300e-Zp9TDX77.js";
|
|
6
6
|
/**
|
|
7
7
|
* @license
|
|
8
8
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9
9
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10
10
|
*/
|
|
11
|
-
d("vaadin-text-field",
|
|
11
|
+
d("vaadin-text-field", v, {
|
|
12
12
|
moduleId: "lumo-text-field-styles"
|
|
13
13
|
});
|
|
14
14
|
/**
|
|
@@ -16,7 +16,7 @@ d("vaadin-text-field", m, {
|
|
|
16
16
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
17
17
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18
18
|
*/
|
|
19
|
-
const
|
|
19
|
+
const A = (t) => class extends P(t) {
|
|
20
20
|
static get properties() {
|
|
21
21
|
return {
|
|
22
22
|
/**
|
|
@@ -77,7 +77,7 @@ const N = (t) => class extends P(t) {
|
|
|
77
77
|
* @override
|
|
78
78
|
*/
|
|
79
79
|
_setFocused(e) {
|
|
80
|
-
super._setFocused(e), !e && document.hasFocus() && this.
|
|
80
|
+
super._setFocused(e), !e && document.hasFocus() && this.validate();
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
83
|
* Override an event listener from `InputMixin`
|
|
@@ -87,7 +87,7 @@ const N = (t) => class extends P(t) {
|
|
|
87
87
|
* @override
|
|
88
88
|
*/
|
|
89
89
|
_onInput(e) {
|
|
90
|
-
super._onInput(e), this.invalid && this.
|
|
90
|
+
super._onInput(e), this.invalid && this.validate();
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
93
|
* Override an observer from `InputMixin` to validate the field
|
|
@@ -99,7 +99,7 @@ const N = (t) => class extends P(t) {
|
|
|
99
99
|
* @override
|
|
100
100
|
*/
|
|
101
101
|
_valueChanged(e, s) {
|
|
102
|
-
super._valueChanged(e, s), s !== void 0 && this.invalid && this.
|
|
102
|
+
super._valueChanged(e, s), s !== void 0 && this.invalid && this.validate();
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
/**
|
|
@@ -107,7 +107,7 @@ const N = (t) => class extends P(t) {
|
|
|
107
107
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
108
108
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
109
109
|
*/
|
|
110
|
-
const $ = (t) => class extends
|
|
110
|
+
const $ = (t) => class extends A(t) {
|
|
111
111
|
static get properties() {
|
|
112
112
|
return {
|
|
113
113
|
/**
|
|
@@ -147,10 +147,10 @@ const $ = (t) => class extends N(t) {
|
|
|
147
147
|
/** @protected */
|
|
148
148
|
ready() {
|
|
149
149
|
super.ready(), this.addController(
|
|
150
|
-
new
|
|
150
|
+
new C(this, (e) => {
|
|
151
151
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
152
152
|
})
|
|
153
|
-
), this.addController(new
|
|
153
|
+
), this.addController(new F(this.inputElement, this._labelController));
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
/**
|
|
@@ -158,8 +158,8 @@ const $ = (t) => class extends N(t) {
|
|
|
158
158
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
159
159
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
160
160
|
*/
|
|
161
|
-
d("vaadin-text-field",
|
|
162
|
-
class f extends $(g(
|
|
161
|
+
d("vaadin-text-field", V, { moduleId: "vaadin-text-field-styles" });
|
|
162
|
+
class f extends $(g(N(_))) {
|
|
163
163
|
static get is() {
|
|
164
164
|
return "vaadin-text-field";
|
|
165
165
|
}
|
|
@@ -195,9 +195,25 @@ class f extends $(g(D(_))) {
|
|
|
195
195
|
<slot name="tooltip"></slot>
|
|
196
196
|
`;
|
|
197
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
|
+
}
|
|
198
214
|
/** @protected */
|
|
199
215
|
ready() {
|
|
200
|
-
super.ready(), this._tooltipController = new
|
|
216
|
+
super.ready(), this._tooltipController = new b(this), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this.addController(this._tooltipController);
|
|
201
217
|
}
|
|
202
218
|
}
|
|
203
219
|
c(f);
|
|
@@ -206,7 +222,7 @@ c(f);
|
|
|
206
222
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
207
223
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
208
224
|
*/
|
|
209
|
-
const H =
|
|
225
|
+
const H = m`
|
|
210
226
|
:host {
|
|
211
227
|
position: absolute;
|
|
212
228
|
right: 0;
|
|
@@ -220,7 +236,7 @@ const H = v`
|
|
|
220
236
|
outline: none;
|
|
221
237
|
}
|
|
222
238
|
`;
|
|
223
|
-
d("vaadin-password-field-button", [
|
|
239
|
+
d("vaadin-password-field-button", [S, H], {
|
|
224
240
|
moduleId: "lumo-password-field-button"
|
|
225
241
|
});
|
|
226
242
|
/**
|
|
@@ -228,7 +244,7 @@ d("vaadin-password-field-button", [C, H], {
|
|
|
228
244
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
229
245
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
230
246
|
*/
|
|
231
|
-
const L =
|
|
247
|
+
const L = m`
|
|
232
248
|
[part='reveal-button']::before {
|
|
233
249
|
content: var(--lumo-icons-eye);
|
|
234
250
|
}
|
|
@@ -247,14 +263,14 @@ const L = v`
|
|
|
247
263
|
display: none !important;
|
|
248
264
|
}
|
|
249
265
|
`;
|
|
250
|
-
d("vaadin-password-field", [
|
|
266
|
+
d("vaadin-password-field", [v, L], { moduleId: "lumo-password-field" });
|
|
251
267
|
/**
|
|
252
268
|
* @license
|
|
253
269
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
254
270
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
255
271
|
*/
|
|
256
|
-
d("vaadin-password-field-button",
|
|
257
|
-
class
|
|
272
|
+
d("vaadin-password-field-button", k, { moduleId: "vaadin-password-field-button-styles" });
|
|
273
|
+
class z extends x(I(g(_))) {
|
|
258
274
|
static get is() {
|
|
259
275
|
return "vaadin-password-field-button";
|
|
260
276
|
}
|
|
@@ -262,13 +278,13 @@ class q extends V(E(g(_))) {
|
|
|
262
278
|
return h``;
|
|
263
279
|
}
|
|
264
280
|
}
|
|
265
|
-
c(
|
|
281
|
+
c(z);
|
|
266
282
|
/**
|
|
267
283
|
* @license
|
|
268
284
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
269
285
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
270
286
|
*/
|
|
271
|
-
const
|
|
287
|
+
const q = (t) => class extends M(E(B(R(t)))) {
|
|
272
288
|
static get properties() {
|
|
273
289
|
return {
|
|
274
290
|
/**
|
|
@@ -442,7 +458,7 @@ const O = h`
|
|
|
442
458
|
</div>
|
|
443
459
|
`;
|
|
444
460
|
let u;
|
|
445
|
-
class K extends
|
|
461
|
+
class K extends q(f) {
|
|
446
462
|
static get is() {
|
|
447
463
|
return "vaadin-password-field";
|
|
448
464
|
}
|
|
@@ -456,9 +472,9 @@ class K extends z(f) {
|
|
|
456
472
|
}
|
|
457
473
|
}
|
|
458
474
|
c(K);
|
|
459
|
-
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}',
|
|
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 {
|
|
460
476
|
constructor(t) {
|
|
461
|
-
w(this, t), this.sendOriginalValidityState = p(this, "sendOriginalValidityState"), this.sendValidityState = p(this, "sendValidityState"), this.sendInputValue = p(this, "sendInputValue"
|
|
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) => {
|
|
462
478
|
this.value = i.target.value, this.calculateComplexity(this.value), this.showPopup = !0, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
463
479
|
this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
464
480
|
}, 500);
|
|
@@ -471,7 +487,10 @@ const j = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.passwo
|
|
|
471
487
|
}, this.setClientStyling = () => {
|
|
472
488
|
let i = document.createElement("style");
|
|
473
489
|
i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
|
|
474
|
-
};
|
|
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();
|
|
475
494
|
}
|
|
476
495
|
validityChanged() {
|
|
477
496
|
this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value });
|
|
@@ -549,21 +568,22 @@ const j = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.passwo
|
|
|
549
568
|
}
|
|
550
569
|
render() {
|
|
551
570
|
let t = "";
|
|
552
|
-
return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), a("div", { key: "
|
|
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());
|
|
553
572
|
}
|
|
554
573
|
get element() {
|
|
555
|
-
return
|
|
574
|
+
return y(this);
|
|
556
575
|
}
|
|
557
576
|
static get watchers() {
|
|
558
577
|
return {
|
|
578
|
+
clientStyling: ["handleStylingChange"],
|
|
559
579
|
isValid: ["validityChanged"],
|
|
560
580
|
value: ["valueChanged"],
|
|
561
581
|
emitValue: ["emitValueHandler"]
|
|
562
582
|
};
|
|
563
583
|
}
|
|
564
584
|
};
|
|
565
|
-
|
|
585
|
+
G.style = W;
|
|
566
586
|
export {
|
|
567
|
-
|
|
587
|
+
G as password_input,
|
|
568
588
|
ae as player_change_password_gm2
|
|
569
589
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-
|
|
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
2
|
* @license
|
|
3
3
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8
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.
|
|
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
10
|
* @license
|
|
11
11
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12
12
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
45
|
<slot name="tooltip"></slot>
|
|
46
|
-
`}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);/**
|
|
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
47
|
* @license
|
|
48
48
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
49
49
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
* @license
|
|
65
65
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
66
66
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
67
|
-
*/const
|
|
67
|
+
*/const f=a.i$3`
|
|
68
68
|
[part='reveal-button']::before {
|
|
69
69
|
content: var(--lumo-icons-eye);
|
|
70
70
|
}
|
|
@@ -82,11 +82,11 @@
|
|
|
82
82
|
[part='reveal-button'][hidden] {
|
|
83
83
|
display: none !important;
|
|
84
84
|
}
|
|
85
|
-
`;a.registerStyles("vaadin-password-field",[a.inputFieldShared$1,
|
|
85
|
+
`;a.registerStyles("vaadin-password-field",[a.inputFieldShared$1,f],{moduleId:"lumo-password-field"});/**
|
|
86
86
|
* @license
|
|
87
87
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
88
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
|
|
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
90
|
* @license
|
|
91
91
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
92
92
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -102,4 +102,4 @@
|
|
|
102
102
|
<div part="reveal-button" slot="suffix">
|
|
103
103
|
<slot name="reveal"></slot>
|
|
104
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"),this.sendValidityState=s.createEvent(this,"sendValidityState"),this.sendInputValue=s.createEvent(this,"sendInputValue"),this.defaultValue="",this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.value="",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)}}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:"c704b51efdf53817beb1541b4794e0b11b490a24",class:`password__wrapper ${this.autofilled?"password__wrapper--autofilled":""} ${this.name}__input`,ref:i=>this.stylingContainer=i},s.h("div",{key:"e590afa403084ff95a8735ade400ab81ad16937f",class:"password__wrapper--flex"},s.h("label",{key:"9d8db00b59c4b9594538aeacee3ef5a0e678c0e9",class:`password__label ${this.validation.mandatory?"password__label--required":""}`,htmlFor:`${this.name}__input`},this.displayName),s.h("div",{key:"bb39f6018cf688fafcd0b5bef91ba079edf09daf",class:"password__wrapper--relative"},this.tooltip&&s.h("img",{key:"d8dbd086da34a8c7db9b5826654530bdb888c927",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:"ae1c212d663fe379561b1c514087629409196ac3",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:"2fa1e25239a7314399c16b2f897873b7a31e9f77",class:"password__error-message"},this.errorMessage),this.passwordComplexity&&this.showPopup&&!this.isDuplicateInput&&this.renderComplexityPopup())}get element(){return s.getElement(this)}static get watchers(){return{isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}}};h.style=F;exports.player_change_password_gm2=m.PlayerChangePasswordGm2;exports.password_input=h;
|
|
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;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as w, c as p, h as a, g as
|
|
1
|
+
import { r as w, c as p, h as a, g as y } from "./index-9cd44522-BqLgI-Ho.js";
|
|
2
2
|
import { t as o } from "./locale-BG_TzyDt.js";
|
|
3
|
-
import { r as d,
|
|
4
|
-
import { t as
|
|
5
|
-
import { P as ae } from "./player-change-password-gm2-
|
|
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
6
|
/**
|
|
7
7
|
* @license
|
|
8
8
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9
9
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10
10
|
*/
|
|
11
|
-
d("vaadin-text-field",
|
|
11
|
+
d("vaadin-text-field", v, {
|
|
12
12
|
moduleId: "lumo-text-field-styles"
|
|
13
13
|
});
|
|
14
14
|
/**
|
|
@@ -16,7 +16,7 @@ d("vaadin-text-field", m, {
|
|
|
16
16
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
17
17
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18
18
|
*/
|
|
19
|
-
const
|
|
19
|
+
const A = (t) => class extends P(t) {
|
|
20
20
|
static get properties() {
|
|
21
21
|
return {
|
|
22
22
|
/**
|
|
@@ -77,7 +77,7 @@ const N = (t) => class extends P(t) {
|
|
|
77
77
|
* @override
|
|
78
78
|
*/
|
|
79
79
|
_setFocused(e) {
|
|
80
|
-
super._setFocused(e), !e && document.hasFocus() && this.
|
|
80
|
+
super._setFocused(e), !e && document.hasFocus() && this.validate();
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
83
|
* Override an event listener from `InputMixin`
|
|
@@ -87,7 +87,7 @@ const N = (t) => class extends P(t) {
|
|
|
87
87
|
* @override
|
|
88
88
|
*/
|
|
89
89
|
_onInput(e) {
|
|
90
|
-
super._onInput(e), this.invalid && this.
|
|
90
|
+
super._onInput(e), this.invalid && this.validate();
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
93
|
* Override an observer from `InputMixin` to validate the field
|
|
@@ -99,7 +99,7 @@ const N = (t) => class extends P(t) {
|
|
|
99
99
|
* @override
|
|
100
100
|
*/
|
|
101
101
|
_valueChanged(e, s) {
|
|
102
|
-
super._valueChanged(e, s), s !== void 0 && this.invalid && this.
|
|
102
|
+
super._valueChanged(e, s), s !== void 0 && this.invalid && this.validate();
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
/**
|
|
@@ -107,7 +107,7 @@ const N = (t) => class extends P(t) {
|
|
|
107
107
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
108
108
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
109
109
|
*/
|
|
110
|
-
const $ = (t) => class extends
|
|
110
|
+
const $ = (t) => class extends A(t) {
|
|
111
111
|
static get properties() {
|
|
112
112
|
return {
|
|
113
113
|
/**
|
|
@@ -147,10 +147,10 @@ const $ = (t) => class extends N(t) {
|
|
|
147
147
|
/** @protected */
|
|
148
148
|
ready() {
|
|
149
149
|
super.ready(), this.addController(
|
|
150
|
-
new
|
|
150
|
+
new C(this, (e) => {
|
|
151
151
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
152
152
|
})
|
|
153
|
-
), this.addController(new
|
|
153
|
+
), this.addController(new F(this.inputElement, this._labelController));
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
/**
|
|
@@ -158,8 +158,8 @@ const $ = (t) => class extends N(t) {
|
|
|
158
158
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
159
159
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
160
160
|
*/
|
|
161
|
-
d("vaadin-text-field",
|
|
162
|
-
class f extends $(g(
|
|
161
|
+
d("vaadin-text-field", V, { moduleId: "vaadin-text-field-styles" });
|
|
162
|
+
class f extends $(g(N(_))) {
|
|
163
163
|
static get is() {
|
|
164
164
|
return "vaadin-text-field";
|
|
165
165
|
}
|
|
@@ -195,9 +195,25 @@ class f extends $(g(D(_))) {
|
|
|
195
195
|
<slot name="tooltip"></slot>
|
|
196
196
|
`;
|
|
197
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
|
+
}
|
|
198
214
|
/** @protected */
|
|
199
215
|
ready() {
|
|
200
|
-
super.ready(), this._tooltipController = new
|
|
216
|
+
super.ready(), this._tooltipController = new b(this), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this.addController(this._tooltipController);
|
|
201
217
|
}
|
|
202
218
|
}
|
|
203
219
|
c(f);
|
|
@@ -206,7 +222,7 @@ c(f);
|
|
|
206
222
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
207
223
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
208
224
|
*/
|
|
209
|
-
const H =
|
|
225
|
+
const H = m`
|
|
210
226
|
:host {
|
|
211
227
|
position: absolute;
|
|
212
228
|
right: 0;
|
|
@@ -220,7 +236,7 @@ const H = v`
|
|
|
220
236
|
outline: none;
|
|
221
237
|
}
|
|
222
238
|
`;
|
|
223
|
-
d("vaadin-password-field-button", [
|
|
239
|
+
d("vaadin-password-field-button", [S, H], {
|
|
224
240
|
moduleId: "lumo-password-field-button"
|
|
225
241
|
});
|
|
226
242
|
/**
|
|
@@ -228,7 +244,7 @@ d("vaadin-password-field-button", [C, H], {
|
|
|
228
244
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
229
245
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
230
246
|
*/
|
|
231
|
-
const L =
|
|
247
|
+
const L = m`
|
|
232
248
|
[part='reveal-button']::before {
|
|
233
249
|
content: var(--lumo-icons-eye);
|
|
234
250
|
}
|
|
@@ -247,14 +263,14 @@ const L = v`
|
|
|
247
263
|
display: none !important;
|
|
248
264
|
}
|
|
249
265
|
`;
|
|
250
|
-
d("vaadin-password-field", [
|
|
266
|
+
d("vaadin-password-field", [v, L], { moduleId: "lumo-password-field" });
|
|
251
267
|
/**
|
|
252
268
|
* @license
|
|
253
269
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
254
270
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
255
271
|
*/
|
|
256
|
-
d("vaadin-password-field-button",
|
|
257
|
-
class
|
|
272
|
+
d("vaadin-password-field-button", k, { moduleId: "vaadin-password-field-button-styles" });
|
|
273
|
+
class z extends x(I(g(_))) {
|
|
258
274
|
static get is() {
|
|
259
275
|
return "vaadin-password-field-button";
|
|
260
276
|
}
|
|
@@ -262,13 +278,13 @@ class q extends V(E(g(_))) {
|
|
|
262
278
|
return h``;
|
|
263
279
|
}
|
|
264
280
|
}
|
|
265
|
-
c(
|
|
281
|
+
c(z);
|
|
266
282
|
/**
|
|
267
283
|
* @license
|
|
268
284
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
269
285
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
270
286
|
*/
|
|
271
|
-
const
|
|
287
|
+
const q = (t) => class extends M(E(B(R(t)))) {
|
|
272
288
|
static get properties() {
|
|
273
289
|
return {
|
|
274
290
|
/**
|
|
@@ -442,7 +458,7 @@ const O = h`
|
|
|
442
458
|
</div>
|
|
443
459
|
`;
|
|
444
460
|
let u;
|
|
445
|
-
class K extends
|
|
461
|
+
class K extends q(f) {
|
|
446
462
|
static get is() {
|
|
447
463
|
return "vaadin-password-field";
|
|
448
464
|
}
|
|
@@ -456,9 +472,9 @@ class K extends z(f) {
|
|
|
456
472
|
}
|
|
457
473
|
}
|
|
458
474
|
c(K);
|
|
459
|
-
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}',
|
|
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 {
|
|
460
476
|
constructor(t) {
|
|
461
|
-
w(this, t), this.sendOriginalValidityState = p(this, "sendOriginalValidityState"), this.sendValidityState = p(this, "sendValidityState"), this.sendInputValue = p(this, "sendInputValue"
|
|
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) => {
|
|
462
478
|
this.value = i.target.value, this.calculateComplexity(this.value), this.showPopup = !0, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
463
479
|
this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
464
480
|
}, 500);
|
|
@@ -471,7 +487,10 @@ const j = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.passwo
|
|
|
471
487
|
}, this.setClientStyling = () => {
|
|
472
488
|
let i = document.createElement("style");
|
|
473
489
|
i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
|
|
474
|
-
};
|
|
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();
|
|
475
494
|
}
|
|
476
495
|
validityChanged() {
|
|
477
496
|
this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value });
|
|
@@ -549,21 +568,22 @@ const j = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.passwo
|
|
|
549
568
|
}
|
|
550
569
|
render() {
|
|
551
570
|
let t = "";
|
|
552
|
-
return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), a("div", { key: "
|
|
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());
|
|
553
572
|
}
|
|
554
573
|
get element() {
|
|
555
|
-
return
|
|
574
|
+
return y(this);
|
|
556
575
|
}
|
|
557
576
|
static get watchers() {
|
|
558
577
|
return {
|
|
578
|
+
clientStyling: ["handleStylingChange"],
|
|
559
579
|
isValid: ["validityChanged"],
|
|
560
580
|
value: ["valueChanged"],
|
|
561
581
|
emitValue: ["emitValueHandler"]
|
|
562
582
|
};
|
|
563
583
|
}
|
|
564
584
|
};
|
|
565
|
-
|
|
585
|
+
G.style = W;
|
|
566
586
|
export {
|
|
567
|
-
|
|
587
|
+
G as password_input,
|
|
568
588
|
ae as player_change_password_gm2
|
|
569
589
|
};
|