@everymatrix/player-account-controller-nd 1.59.2 → 1.59.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/components/{GeneralLogout-DKq7aXpj.cjs → GeneralLogout-BjsDUNrm.cjs} +4 -4
  2. package/components/{GeneralLogout-4it4FG1e.js → GeneralLogout-D-SNAWMX.js} +110 -99
  3. package/components/{GeneralLogout-CeysydbF.js → GeneralLogout-mKknRJlq.js} +118 -107
  4. package/components/{PlayerAccountBettingHistory-6L3UumfC.js → PlayerAccountBettingHistory-B65ODj4i.js} +1 -1
  5. package/components/{PlayerAccountBettingHistory-Ba0rbzAt.cjs → PlayerAccountBettingHistory-Bu3VS2Sg.cjs} +1 -1
  6. package/components/{PlayerAccountBettingHistory-CITAS_tU.js → PlayerAccountBettingHistory-D5R8TtVb.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-DOKW7OSb.js → PlayerAccountBiometrics-1g9245j6.js} +1 -1
  8. package/components/{PlayerAccountBiometrics-Be6QWwR6.js → PlayerAccountBiometrics-Dke9scx2.js} +1 -1
  9. package/components/{PlayerAccountBiometrics-D3SdfZAk.cjs → PlayerAccountBiometrics-DvJlyQ8z.cjs} +1 -1
  10. package/components/{PlayerAccountClosureNd-Ba7qRwie.cjs → PlayerAccountClosureNd-B4GnQQHa.cjs} +1 -1
  11. package/components/{PlayerAccountClosureNd-DmAOX_fd.js → PlayerAccountClosureNd-CH8UCD0A.js} +1 -1
  12. package/components/{PlayerAccountClosureNd-rzbr78tt.js → PlayerAccountClosureNd-DtDZNFDs.js} +1 -1
  13. package/components/PlayerAccountControllerNd-4s7xJ5WW.cjs +1 -0
  14. package/components/PlayerAccountControllerNd-B-wmDyLr.js +7430 -0
  15. package/components/{PlayerAccountControllerNd-DsScUGqI.js → PlayerAccountControllerNd-Cda3JHRm.js} +2307 -2243
  16. package/components/PlayerAccountControllerNd-Cgci2Fcz.cjs +1 -0
  17. package/components/{PlayerAccountControllerNd-el5m6i4n.js → PlayerAccountControllerNd-Cgdz9EHx.js} +2335 -2271
  18. package/components/PlayerAccountControllerNd-D0YcM-rD.js +7413 -0
  19. package/components/PlayerAccountControllerNd-HN4PMQqw.cjs +1 -0
  20. package/components/PlayerAccountControllerNd-PZ8-RG-h.js +7430 -0
  21. package/components/PlayerAccountControllerNd-iBO4kr6j.js +7413 -0
  22. package/components/{PlayerAccountGamingLimits-ByuUh2TU.js → PlayerAccountGamingLimits-CPx-vfQw.js} +2 -2
  23. package/components/{PlayerAccountGamingLimits-FIGZjiiE.cjs → PlayerAccountGamingLimits-UmFJS4yG.cjs} +1 -1
  24. package/components/{PlayerAccountGamingLimits-Bk5wHTwY.js → PlayerAccountGamingLimits-geiSuCGE.js} +2 -2
  25. package/components/{PlayerAccountGamingLimitsConfirmationModal-CyALQICB.cjs → PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsConfirmationModal-CNYtoEVr.js → PlayerAccountGamingLimitsConfirmationModal-CIMWBU9F.js} +1 -1
  27. package/components/{PlayerAccountGamingLimitsConfirmationModal-orqpWBGG.js → PlayerAccountGamingLimitsConfirmationModal-CJvAbSXA.js} +1 -1
  28. package/components/{PlayerAccountGamingLimitsGroupEdit-BaorReGW.js → PlayerAccountGamingLimitsGroupEdit-BBhaC0tE.js} +4 -4
  29. package/components/{PlayerAccountGamingLimitsGroupEdit-BpaOoTGu.cjs → PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs} +2 -2
  30. package/components/{PlayerAccountGamingLimitsGroupEdit-CTpK2bHP.js → PlayerAccountGamingLimitsGroupEdit-DxCKKvtt.js} +4 -4
  31. package/components/{PlayerAccountGamingLimitsHistory2Nd-BXZnq3wo.cjs → PlayerAccountGamingLimitsHistory2Nd-CT3BWhmN.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsHistory2Nd-2-WDm2bq.js → PlayerAccountGamingLimitsHistory2Nd-CYh5FnDV.js} +1 -1
  33. package/components/{PlayerAccountGamingLimitsHistory2Nd-7fOlRCey.js → PlayerAccountGamingLimitsHistory2Nd-y1qwR7nl.js} +1 -1
  34. package/components/{PlayerAccountGamingLimitsInfoCard-DlJXsDqV.cjs → PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs} +1 -1
  35. package/components/{PlayerAccountGamingLimitsInfoCard-CmZ-aPgC.js → PlayerAccountGamingLimitsInfoCard-Cc-JLiZF.js} +3 -3
  36. package/components/{PlayerAccountGamingLimitsInfoCard-jkLmhvDf.js → PlayerAccountGamingLimitsInfoCard-Dm9hSuFC.js} +3 -3
  37. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-2aUOAuM6.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-CuoVvIEJ.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Hxw4dGQn.js → PlayerAccountGamingLimitsPage2Gm16Nd-DA1By__G.js} +2 -2
  39. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-C1OaS72g.js → PlayerAccountGamingLimitsPage2Gm16Nd-DMdM3i1l.js} +2 -2
  40. package/components/{PlayerAccountGamingLimitsPopup-Dbr-uHeX.cjs → PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs} +1 -1
  41. package/components/{PlayerAccountGamingLimitsPopup-AuWDAmQP.js → PlayerAccountGamingLimitsPopup-CLyTPF2L.js} +1 -1
  42. package/components/{PlayerAccountGamingLimitsPopup-CwqIGi2v.js → PlayerAccountGamingLimitsPopup-DycV-u3W.js} +1 -1
  43. package/components/{PlayerAccountGamingLimitsWrapper2Nd-8YmBMC3v.js → PlayerAccountGamingLimitsWrapper2Nd-ClbwM2gG.js} +3 -3
  44. package/components/{PlayerAccountGamingLimitsWrapper2Nd-BUsoXkMn.cjs → PlayerAccountGamingLimitsWrapper2Nd-D5Yg91jL.cjs} +1 -1
  45. package/components/{PlayerAccountGamingLimitsWrapper2Nd-CZlji5Yr.js → PlayerAccountGamingLimitsWrapper2Nd-j3mecOLN.js} +3 -3
  46. package/components/{PlayerAccountGeneralConfirmationModal-DYhGjzZF.js → PlayerAccountGeneralConfirmationModal-4w5ypHAs.js} +1 -1
  47. package/components/{PlayerAccountGeneralConfirmationModal-BJ3S0RLL.cjs → PlayerAccountGeneralConfirmationModal-DoognqGf.cjs} +1 -1
  48. package/components/{PlayerAccountGeneralConfirmationModal-mUHuj-5B.js → PlayerAccountGeneralConfirmationModal-u_yQVW36.js} +1 -1
  49. package/components/{PlayerAccountMenuNd-BeGAjc3q.js → PlayerAccountMenuNd-D-fAorcB.js} +3 -3
  50. package/components/{PlayerAccountMenuNd-z28QxKXk.js → PlayerAccountMenuNd-DTmfUkDR.js} +3 -3
  51. package/components/{PlayerAccountMenuNd-CCPMD49m.cjs → PlayerAccountMenuNd-pBoYi2d7.cjs} +1 -1
  52. package/components/{PlayerAccountModal-DhsJbk1o.js → PlayerAccountModal-CJAW5eai.js} +1 -1
  53. package/components/{PlayerAccountModal-RfCUFEKE.js → PlayerAccountModal-DzIuV3KN.js} +1 -1
  54. package/components/{PlayerAccountModal-tginaXbZ.cjs → PlayerAccountModal-zI2QLAL1.cjs} +1 -1
  55. package/components/{PlayerAccountNotifications-9IZXsnRq.js → PlayerAccountNotifications-BECefhID.js} +2 -2
  56. package/components/{PlayerAccountNotifications-CI42A39-.js → PlayerAccountNotifications-BMdZu0IH.js} +2 -2
  57. package/components/{PlayerAccountNotifications-BLsxWrq2.cjs → PlayerAccountNotifications-BxJEa-bd.cjs} +1 -1
  58. package/components/{PlayerAccountSelfExclusionNd-D1ZE5YnA.js → PlayerAccountSelfExclusionNd-8dbQPzKe.js} +2 -2
  59. package/components/{PlayerAccountSelfExclusionNd-D5HRQcqt.js → PlayerAccountSelfExclusionNd-CfXWzZaQ.js} +2 -2
  60. package/components/{PlayerAccountSelfExclusionNd-BwVKiP0r.cjs → PlayerAccountSelfExclusionNd-gT5IXyXv.cjs} +1 -1
  61. package/components/{PlayerAccountTimeout-BqQ8Dig1.js → PlayerAccountTimeout-CyvXsM5p.js} +4 -4
  62. package/components/{PlayerAccountTimeout-Oy-er_24.js → PlayerAccountTimeout-DmUdmLQr.js} +4 -4
  63. package/components/{PlayerAccountTimeout-ChLVrZ1_.cjs → PlayerAccountTimeout-v5URpImy.cjs} +1 -1
  64. package/components/{PlayerActiveBonuses-6gu0ilHo.js → PlayerActiveBonuses-2M__yMJf.js} +2 -2
  65. package/components/{PlayerActiveBonuses-CwzErvnX.js → PlayerActiveBonuses-BXlIZiVB.js} +2 -2
  66. package/components/{PlayerActiveBonuses-DbsciRwF.cjs → PlayerActiveBonuses-CBqsWQfE.cjs} +1 -1
  67. package/components/{PlayerBonusCard-BzDP362v.cjs → PlayerBonusCard-CJXjuXsU.cjs} +1 -1
  68. package/components/{PlayerBonusCard--oHCcpOb.js → PlayerBonusCard-CtXP9UPy.js} +2 -2
  69. package/components/{PlayerBonusCard-D3VZ0SAd.js → PlayerBonusCard-sfjhWo7d.js} +2 -2
  70. package/components/{PlayerBonusHistory-Bg9FG_wq.js → PlayerBonusHistory-CSz-1_b2.js} +4 -4
  71. package/components/{PlayerBonusHistory-BGgOFk8A.js → PlayerBonusHistory-DPoWYYcE.js} +4 -4
  72. package/components/{PlayerBonusHistory-BaPqLAQG.cjs → PlayerBonusHistory-DvzXMZuA.cjs} +1 -1
  73. package/components/{PlayerChangePassword-DLhHjRp1.js → PlayerChangePassword-Ddfah5-0.js} +1 -1
  74. package/components/{PlayerChangePassword-BekJt2EW.js → PlayerChangePassword-Dtr2n1Et.js} +1 -1
  75. package/components/{PlayerChangePassword-DZ0zUct-.cjs → PlayerChangePassword-awaQVsiP.cjs} +1 -1
  76. package/components/{PlayerDeposit-BwW_MMqP.js → PlayerDeposit-CqqQuB6-.js} +1 -1
  77. package/components/{PlayerDeposit-CJ23PX1y.js → PlayerDeposit-DzJLjkJJ.js} +1 -1
  78. package/components/{PlayerDeposit-2rXfB2O5.cjs → PlayerDeposit-_oIOMh8l.cjs} +1 -1
  79. package/components/{PlayerGamingHistory-CWs-tUkY.cjs → PlayerGamingHistory-4FBAJVJ3.cjs} +1 -1
  80. package/components/{PlayerGamingHistory-0TYR6SEn.js → PlayerGamingHistory-BawWibCV.js} +4 -4
  81. package/components/{PlayerGamingHistory-CntwL7Fk.js → PlayerGamingHistory-K0Uvi2fF.js} +4 -4
  82. package/components/{PlayerPendingWithdrawals-ki_Gjm_H.js → PlayerPendingWithdrawals-B5LftQI0.js} +1 -1
  83. package/components/{PlayerPendingWithdrawals-B3LxQtqC.js → PlayerPendingWithdrawals-BXngse4L.js} +1 -1
  84. package/components/{PlayerPendingWithdrawals-UG-bN1ca.cjs → PlayerPendingWithdrawals-aaHugNLD.cjs} +1 -1
  85. package/components/PlayerProfileInfo-B1A0Xarz.cjs +1 -0
  86. package/components/PlayerProfileInfo-BmyCYGh7.js +2087 -0
  87. package/components/PlayerProfileInfo-uGClCGHq.js +2059 -0
  88. package/components/{PlayerRealityCheck-BmVSMTSf.cjs → PlayerRealityCheck-Ch955fLs.cjs} +1 -1
  89. package/components/{PlayerRealityCheck-BQCOhNTa.js → PlayerRealityCheck-DHGjsEc_.js} +2 -2
  90. package/components/{PlayerRealityCheck-CTuOdJqC.js → PlayerRealityCheck-Db8wL8P8.js} +2 -2
  91. package/components/{PlayerTransactionHistory-DSVdbdHO.js → PlayerTransactionHistory-BdX1ph_m.js} +1 -1
  92. package/components/{PlayerTransactionHistory-DkLL3JLy.js → PlayerTransactionHistory-CQ3fEpfj.js} +1 -1
  93. package/components/{PlayerTransactionHistory-U2CncC4r.cjs → PlayerTransactionHistory-Dff51WQG.cjs} +1 -1
  94. package/components/{PlayerWithdrawal-CuYoN_mb.js → PlayerWithdrawal-8DAmymCW.js} +1 -1
  95. package/components/{PlayerWithdrawal-CsPPu5bX.cjs → PlayerWithdrawal-DdPBGufW.cjs} +1 -1
  96. package/components/{PlayerWithdrawal-Dq9rMCnK.js → PlayerWithdrawal-DvDjalE_.js} +1 -1
  97. package/es2015/player-account-controller-nd.cjs +1 -1
  98. package/es2015/player-account-controller-nd.js +1 -1
  99. package/esnext/player-account-controller-nd.js +1 -1
  100. package/package.json +2 -2
  101. package/stencil/checkbox-group-input_9-C7zEH4Cn.js +3883 -0
  102. package/stencil/checkbox-group-input_9-CMfQeYlH.cjs +2 -0
  103. package/stencil/checkbox-group-input_9-OVj7AW5S.js +3883 -0
  104. package/stencil/general-input-BlFYbInU.cjs +4546 -0
  105. package/stencil/general-input-C7B1PVb4.js +12201 -0
  106. package/stencil/general-input-DoSeJn3k.js +12201 -0
  107. package/stencil/index-9c0f6c58-B94eMODu.js +576 -0
  108. package/stencil/index-9c0f6c58-BD-Fj_Yj.cjs +1 -0
  109. package/stencil/index-9c0f6c58-CUIs9poD.js +549 -0
  110. package/stencil/index-9c0f6c58-CyhtHCyO.js +576 -0
  111. package/stencil/index-9c0f6c58-D-L9XUok.js +549 -0
  112. package/stencil/index-9c0f6c58-D55uro-T.cjs +1 -0
  113. package/stencil/{index-9cd44522-C5N2LdVm.js → index-9cd44522-BOHK5Ehb.js} +4 -4
  114. package/stencil/{index-9cd44522-BbKqQXqL.js → index-9cd44522-C8s3TvoU.js} +4 -4
  115. package/stencil/{index-9cd44522-QIMe52Dh.cjs → index-9cd44522-D9raG3xx.cjs} +1 -1
  116. package/stencil/index-b2193545-B240yE4M.js +503 -0
  117. package/stencil/index-b2193545-CJQ4H9NG.cjs +1 -0
  118. package/stencil/index-b2193545-q1mvaES7.js +519 -0
  119. package/stencil/password-input_2-5nC89CMj.js +311 -0
  120. package/stencil/password-input_2-DJSgcWve.js +311 -0
  121. package/stencil/password-input_2-ZOEOuaOe.cjs +193 -0
  122. package/stencil/{player-change-password-gm2-039e300e-BU9mX4ix.cjs → player-change-password-gm2-039e300e-C-kbOfS1.cjs} +1 -1
  123. package/stencil/{player-change-password-gm2-039e300e-1NkfHZ6r.js → player-change-password-gm2-039e300e-C_f58yBE.js} +1 -1
  124. package/stencil/{player-change-password-gm2-039e300e-BLQGT3AW.js → player-change-password-gm2-039e300e-D4KfL3dW.js} +1 -1
  125. package/stencil/{player-change-password-gm2-E5xKJgy3.js → player-change-password-gm2-3aRR8E4W.js} +1 -1
  126. package/stencil/{player-change-password-gm2-Cyx-9oVQ.js → player-change-password-gm2-BJ2Ur7Zx.js} +1 -1
  127. package/stencil/{player-change-password-gm2-BWRiCTIP.cjs → player-change-password-gm2-CHK-mhQ9.cjs} +1 -1
  128. package/stencil/player-kyc-verification-BDsLC0dz.js +916 -0
  129. package/stencil/player-kyc-verification-C1kM6V2E.js +894 -0
  130. package/stencil/player-kyc-verification-Cgr9LJUE.js +894 -0
  131. package/stencil/player-kyc-verification-Cw4ee6aW.js +916 -0
  132. package/stencil/player-kyc-verification-L-Gd_xeu.cjs +180 -0
  133. package/stencil/player-kyc-verification-tvMdQJ0Y.cjs +180 -0
  134. package/stencil/{toggle-checkbox-input-3f7U98vC.js → toggle-checkbox-input-BRL1Xahc.js} +23 -9
  135. package/stencil/toggle-checkbox-input-CPDZs55S.cjs +1 -0
  136. package/stencil/{toggle-checkbox-input-DDDgLFw4.js → toggle-checkbox-input-cLWFox9n.js} +23 -9
  137. package/stencil/{ui-skeleton-T4HYbNcC.js → ui-skeleton-BacC4KYY.js} +8 -8
  138. package/stencil/ui-skeleton-C_u2sCMV.cjs +1 -0
  139. package/stencil/{ui-skeleton-DT0OMDC6.js → ui-skeleton-DuRhzyE8.js} +4 -4
  140. package/stencil/ui-skeleton-ea659b95-B0Wm9BdQ.js +152 -0
  141. package/stencil/ui-skeleton-ea659b95-BBQBvLes.cjs +73 -0
  142. package/stencil/ui-skeleton-ea659b95-DEnEjYcS.js +152 -0
  143. package/components/PlayerAccountControllerNd-BfM3xK9T.cjs +0 -1
  144. package/components/PlayerProfileInfo-CNv-9pT9.js +0 -1823
  145. package/components/PlayerProfileInfo-DLth9JMy.cjs +0 -1
  146. package/components/PlayerProfileInfo-DV9mn7sN.js +0 -1806
  147. package/stencil/checkbox-group-input_9-BkT4UtkZ.js +0 -13282
  148. package/stencil/checkbox-group-input_9-CDYbpnEQ.cjs +0 -2045
  149. package/stencil/checkbox-group-input_9-CMQLu-qB.js +0 -13248
  150. package/stencil/general-input--MP17Hyz.cjs +0 -1
  151. package/stencil/general-input-BqgyG6fv.js +0 -48
  152. package/stencil/general-input-V-ZuyFa5.js +0 -48
  153. package/stencil/index-ae04a8b1-D4wvtXTw.cjs +0 -1
  154. package/stencil/index-ae04a8b1-fpBaOn88.js +0 -516
  155. package/stencil/index-ae04a8b1-ixlRj3zC.js +0 -532
  156. package/stencil/password-input_2-C_mvPSDp.js +0 -589
  157. package/stencil/password-input_2-DeRFrP9K.cjs +0 -105
  158. package/stencil/password-input_2-g7twAnPT.js +0 -589
  159. package/stencil/toggle-checkbox-input-DXFebhBM.cjs +0 -1
  160. package/stencil/ui-skeleton-BC4mw1ae.cjs +0 -1
  161. package/stencil/ui-skeleton-a642cced-B8H73O_q.cjs +0 -1
  162. package/stencil/ui-skeleton-a642cced-Ba-weZ4g.js +0 -122
  163. package/stencil/ui-skeleton-a642cced-DhjmNsN7.js +0 -122
  164. package/stencil/vaadin-button-mixin-e8c3f355-BdntioNA.cjs +0 -2391
  165. package/stencil/vaadin-button-mixin-e8c3f355-DON-rAuy.js +0 -10228
  166. package/stencil/vaadin-button-mixin-e8c3f355-DQ5UgwNf.js +0 -10302
@@ -1,589 +0,0 @@
1
- import { r as w, c as p, h as a, g as y } from "./index-9cd44522-C5N2LdVm.js";
2
- import { t as o } from "./locale-ioQf6ZrW.js";
3
- import { r as d, h, T as b, a as c, i as m, B as x, o as v, f as C, L as F, R as V, a9 as S, s as k, M as I, aa as M, g as E, n as B, j as R, H as T, I as P, b as g, E as N, P as _ } from "./vaadin-button-mixin-e8c3f355-DQ5UgwNf.js";
4
- import { t as D } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
5
- import { P as ae } from "./player-change-password-gm2-039e300e-1NkfHZ6r.js";
6
- /**
7
- * @license
8
- * Copyright (c) 2017 - 2024 Vaadin Ltd.
9
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10
- */
11
- d("vaadin-text-field", v, {
12
- moduleId: "lumo-text-field-styles"
13
- });
14
- /**
15
- * @license
16
- * Copyright (c) 2021 - 2024 Vaadin Ltd.
17
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
18
- */
19
- const A = (t) => class extends P(t) {
20
- static get properties() {
21
- return {
22
- /**
23
- * Whether the value of the control can be automatically completed by the browser.
24
- * List of available options at:
25
- * https://developer.mozilla.org/en/docs/Web/HTML/Element/input#attr-autocomplete
26
- */
27
- autocomplete: {
28
- type: String
29
- },
30
- /**
31
- * This is a property supported by Safari that is used to control whether
32
- * autocorrection should be enabled when the user is entering/editing the text.
33
- * Possible values are:
34
- * on: Enable autocorrection.
35
- * off: Disable autocorrection.
36
- */
37
- autocorrect: {
38
- type: String
39
- },
40
- /**
41
- * This is a property supported by Safari and Chrome that is used to control whether
42
- * autocapitalization should be enabled when the user is entering/editing the text.
43
- * Possible values are:
44
- * characters: Characters capitalization.
45
- * words: Words capitalization.
46
- * sentences: Sentences capitalization.
47
- * none: No capitalization.
48
- */
49
- autocapitalize: {
50
- type: String,
51
- reflectToAttribute: !0
52
- }
53
- };
54
- }
55
- static get delegateAttrs() {
56
- return [...super.delegateAttrs, "autocapitalize", "autocomplete", "autocorrect"];
57
- }
58
- // Workaround for https://github.com/Polymer/polymer/issues/5259
59
- get __data() {
60
- return this.__dataValue || {};
61
- }
62
- set __data(e) {
63
- this.__dataValue = e;
64
- }
65
- /**
66
- * @param {HTMLElement} input
67
- * @protected
68
- * @override
69
- */
70
- _inputElementChanged(e) {
71
- super._inputElementChanged(e), e && (e.value && e.value !== this.value && (console.warn(`Please define value on the <${this.localName}> component!`), e.value = ""), this.value && (e.value = this.value));
72
- }
73
- /**
74
- * Override an event listener from `FocusMixin`.
75
- * @param {boolean} focused
76
- * @protected
77
- * @override
78
- */
79
- _setFocused(e) {
80
- super._setFocused(e), !e && document.hasFocus() && this.validate();
81
- }
82
- /**
83
- * Override an event listener from `InputMixin`
84
- * to mark as valid after user started typing.
85
- * @param {Event} event
86
- * @protected
87
- * @override
88
- */
89
- _onInput(e) {
90
- super._onInput(e), this.invalid && this.validate();
91
- }
92
- /**
93
- * Override an observer from `InputMixin` to validate the field
94
- * when a new value is set programmatically.
95
- *
96
- * @param {string | undefined} newValue
97
- * @param {string | undefined} oldValue
98
- * @protected
99
- * @override
100
- */
101
- _valueChanged(e, s) {
102
- super._valueChanged(e, s), s !== void 0 && this.invalid && this.validate();
103
- }
104
- };
105
- /**
106
- * @license
107
- * Copyright (c) 2021 - 2024 Vaadin Ltd.
108
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
109
- */
110
- const $ = (t) => class extends A(t) {
111
- static get properties() {
112
- return {
113
- /**
114
- * Maximum number of characters (in Unicode code points) that the user can enter.
115
- */
116
- maxlength: {
117
- type: Number
118
- },
119
- /**
120
- * Minimum number of characters (in Unicode code points) that the user can enter.
121
- */
122
- minlength: {
123
- type: Number
124
- },
125
- /**
126
- * A regular expression that the value is checked against.
127
- * The pattern must match the entire value, not just some subset.
128
- */
129
- pattern: {
130
- type: String
131
- }
132
- };
133
- }
134
- static get delegateAttrs() {
135
- return [...super.delegateAttrs, "maxlength", "minlength", "pattern"];
136
- }
137
- static get constraints() {
138
- return [...super.constraints, "maxlength", "minlength", "pattern"];
139
- }
140
- constructor() {
141
- super(), this._setType("text");
142
- }
143
- /** @protected */
144
- get clearElement() {
145
- return this.$.clearButton;
146
- }
147
- /** @protected */
148
- ready() {
149
- super.ready(), this.addController(
150
- new C(this, (e) => {
151
- this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
152
- })
153
- ), this.addController(new F(this.inputElement, this._labelController));
154
- }
155
- };
156
- /**
157
- * @license
158
- * Copyright (c) 2017 - 2024 Vaadin Ltd.
159
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
160
- */
161
- d("vaadin-text-field", V, { moduleId: "vaadin-text-field-styles" });
162
- class f extends $(g(N(_))) {
163
- static get is() {
164
- return "vaadin-text-field";
165
- }
166
- static get template() {
167
- return h`
168
- <div class="vaadin-field-container">
169
- <div part="label">
170
- <slot name="label"></slot>
171
- <span part="required-indicator" aria-hidden="true" on-click="focus"></span>
172
- </div>
173
-
174
- <vaadin-input-container
175
- part="input-field"
176
- readonly="[[readonly]]"
177
- disabled="[[disabled]]"
178
- invalid="[[invalid]]"
179
- theme$="[[_theme]]"
180
- >
181
- <slot name="prefix" slot="prefix"></slot>
182
- <slot name="input"></slot>
183
- <slot name="suffix" slot="suffix"></slot>
184
- <div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
185
- </vaadin-input-container>
186
-
187
- <div part="helper-text">
188
- <slot name="helper"></slot>
189
- </div>
190
-
191
- <div part="error-message">
192
- <slot name="error-message"></slot>
193
- </div>
194
- </div>
195
- <slot name="tooltip"></slot>
196
- `;
197
- }
198
- static get properties() {
199
- return {
200
- /**
201
- * Maximum number of characters (in Unicode code points) that the user can enter.
202
- */
203
- maxlength: {
204
- type: Number
205
- },
206
- /**
207
- * Minimum number of characters (in Unicode code points) that the user can enter.
208
- */
209
- minlength: {
210
- type: Number
211
- }
212
- };
213
- }
214
- /** @protected */
215
- ready() {
216
- super.ready(), this._tooltipController = new b(this), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this.addController(this._tooltipController);
217
- }
218
- }
219
- c(f);
220
- /**
221
- * @license
222
- * Copyright (c) 2021 - 2024 Vaadin Ltd.
223
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
224
- */
225
- const H = m`
226
- :host {
227
- position: absolute;
228
- right: 0;
229
- top: 0;
230
- margin: 0;
231
- padding: 0;
232
- width: 100%;
233
- height: 100%;
234
- min-width: auto;
235
- background: transparent;
236
- outline: none;
237
- }
238
- `;
239
- d("vaadin-password-field-button", [S, H], {
240
- moduleId: "lumo-password-field-button"
241
- });
242
- /**
243
- * @license
244
- * Copyright (c) 2021 - 2024 Vaadin Ltd.
245
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
246
- */
247
- const L = m`
248
- [part='reveal-button']::before {
249
- content: var(--lumo-icons-eye);
250
- }
251
-
252
- :host([password-visible]) [part='reveal-button']::before {
253
- content: var(--lumo-icons-eye-disabled);
254
- }
255
-
256
- /* Make it easy to hide the button across the whole app */
257
- [part='reveal-button'] {
258
- position: relative;
259
- display: var(--lumo-password-field-reveal-button-display, block);
260
- }
261
-
262
- [part='reveal-button'][hidden] {
263
- display: none !important;
264
- }
265
- `;
266
- d("vaadin-password-field", [v, L], { moduleId: "lumo-password-field" });
267
- /**
268
- * @license
269
- * Copyright (c) 2021 - 2024 Vaadin Ltd.
270
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
271
- */
272
- d("vaadin-password-field-button", k, { moduleId: "vaadin-password-field-button-styles" });
273
- class z extends x(I(g(_))) {
274
- static get is() {
275
- return "vaadin-password-field-button";
276
- }
277
- static get template() {
278
- return h``;
279
- }
280
- }
281
- c(z);
282
- /**
283
- * @license
284
- * Copyright (c) 2021 - 2024 Vaadin Ltd.
285
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
286
- */
287
- const q = (t) => class extends M(E(B(R(t)))) {
288
- static get properties() {
289
- return {
290
- /**
291
- * Set to true to hide the eye icon which toggles the password visibility.
292
- * @attr {boolean} reveal-button-hidden
293
- */
294
- revealButtonHidden: {
295
- type: Boolean,
296
- observer: "_revealButtonHiddenChanged",
297
- value: !1
298
- },
299
- /**
300
- * True if the password is visible ([type=text]).
301
- * @attr {boolean} password-visible
302
- */
303
- passwordVisible: {
304
- type: Boolean,
305
- value: !1,
306
- reflectToAttribute: !0,
307
- observer: "_passwordVisibleChanged",
308
- readOnly: !0
309
- },
310
- /**
311
- * An object with translated strings used for localization.
312
- * It has the following structure and default values:
313
- *
314
- * ```
315
- * {
316
- * // Translation of the reveal icon button accessible label
317
- * reveal: 'Show password'
318
- * }
319
- * ```
320
- */
321
- i18n: {
322
- type: Object,
323
- value: () => ({
324
- reveal: "Show password"
325
- })
326
- }
327
- };
328
- }
329
- static get observers() {
330
- return ["__i18nChanged(i18n)"];
331
- }
332
- constructor() {
333
- super(), this._setType("password"), this.__boundRevealButtonClick = this._onRevealButtonClick.bind(this), this.__boundRevealButtonMouseDown = this._onRevealButtonMouseDown.bind(this), this.__lastChange = "";
334
- }
335
- /** @protected */
336
- get slotStyles() {
337
- const e = this.localName;
338
- return [
339
- ...super.slotStyles,
340
- `
341
- ${e} [slot="input"]::-ms-reveal {
342
- display: none;
343
- }
344
- `
345
- ];
346
- }
347
- /** @protected */
348
- get _revealNode() {
349
- return this._revealButtonController && this._revealButtonController.node;
350
- }
351
- /** @protected */
352
- ready() {
353
- super.ready(), this._revealPart = this.shadowRoot.querySelector('[part="reveal-button"]'), this._revealButtonController = new T(this, "reveal", "vaadin-password-field-button", {
354
- initializer: (e) => {
355
- e.disabled = this.disabled, e.addEventListener("click", this.__boundRevealButtonClick), e.addEventListener("mousedown", this.__boundRevealButtonMouseDown);
356
- }
357
- }), this.addController(this._revealButtonController), this.__updateAriaLabel(this.i18n), this._updateToggleState(!1), this._toggleRevealHidden(this.revealButtonHidden), this.inputElement && (this.inputElement.autocapitalize = "off");
358
- }
359
- /**
360
- * Override an event listener inherited from `InputControlMixin`
361
- * to store the value at the moment of the native `change` event.
362
- * @param {Event} event
363
- * @protected
364
- * @override
365
- */
366
- _onChange(e) {
367
- super._onChange(e), this.__lastChange = this.inputElement.value;
368
- }
369
- /**
370
- * Override method inherited from `FocusMixin` to mark field as focused
371
- * when focus moves to the reveal button using Shift Tab.
372
- * @param {Event} event
373
- * @return {boolean}
374
- * @protected
375
- */
376
- _shouldSetFocus(e) {
377
- return e.target === this.inputElement || e.target === this._revealNode;
378
- }
379
- /**
380
- * Override method inherited from `FocusMixin` to not hide password
381
- * when focus moves to the reveal button or back to the input.
382
- * @param {Event} event
383
- * @return {boolean}
384
- * @protected
385
- */
386
- _shouldRemoveFocus(e) {
387
- return !(e.relatedTarget === this._revealNode || e.relatedTarget === this.inputElement && e.target === this._revealNode);
388
- }
389
- /**
390
- * Override method inherited from `FocusMixin` to toggle password visibility.
391
- * @param {boolean} focused
392
- * @protected
393
- * @override
394
- */
395
- _setFocused(e) {
396
- if (super._setFocused(e), !e)
397
- this._setPasswordVisible(!1), this.__lastChange !== this.inputElement.value && (this.__lastChange = this.inputElement.value, this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })));
398
- else {
399
- const s = this.getRootNode().activeElement === this._revealNode;
400
- this.toggleAttribute("focus-ring", this._keyboardActive && !s);
401
- }
402
- }
403
- /** @private */
404
- __updateAriaLabel(e) {
405
- e && e.reveal && this._revealNode && this._revealNode.setAttribute("aria-label", e.reveal);
406
- }
407
- /** @private */
408
- __i18nChanged(e) {
409
- this.__updateAriaLabel(e);
410
- }
411
- /** @private */
412
- _revealButtonHiddenChanged(e) {
413
- this._toggleRevealHidden(e);
414
- }
415
- /** @private */
416
- _togglePasswordVisibility() {
417
- this._setPasswordVisible(!this.passwordVisible);
418
- }
419
- /** @private */
420
- _onRevealButtonClick() {
421
- this._togglePasswordVisibility();
422
- }
423
- /** @private */
424
- _onRevealButtonMouseDown(e) {
425
- e.preventDefault(), this.inputElement.focus();
426
- }
427
- /** @private */
428
- _toggleRevealHidden(e) {
429
- this._revealNode && (e ? (this._revealPart.setAttribute("hidden", ""), this._revealNode.setAttribute("tabindex", "-1"), this._revealNode.setAttribute("aria-hidden", "true")) : (this._revealPart.removeAttribute("hidden"), this._revealNode.setAttribute("tabindex", "0"), this._revealNode.removeAttribute("aria-hidden")));
430
- }
431
- /** @private */
432
- _updateToggleState(e) {
433
- this._revealNode && this._revealNode.setAttribute("aria-pressed", e ? "true" : "false");
434
- }
435
- /** @private */
436
- _passwordVisibleChanged(e) {
437
- this._setType(e ? "text" : "password"), this._updateToggleState(e);
438
- }
439
- /**
440
- * Override method inherited from `DisabledMixin` to synchronize the reveal button
441
- * disabled state with the password field disabled state.
442
- * @param {boolean} disabled
443
- * @param {boolean} oldDisabled
444
- * @protected
445
- */
446
- _disabledChanged(e, s) {
447
- super._disabledChanged(e, s), this._revealNode && (this._revealNode.disabled = e);
448
- }
449
- };
450
- /**
451
- * @license
452
- * Copyright (c) 2021 - 2024 Vaadin Ltd.
453
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
454
- */
455
- const O = h`
456
- <div part="reveal-button" slot="suffix">
457
- <slot name="reveal"></slot>
458
- </div>
459
- `;
460
- let u;
461
- class K extends q(f) {
462
- static get is() {
463
- return "vaadin-password-field";
464
- }
465
- static get template() {
466
- if (!u) {
467
- u = super.template.cloneNode(!0);
468
- const i = O.content.querySelector('[part="reveal-button"]');
469
- u.content.querySelector('[part="input-field"]').appendChild(i);
470
- }
471
- return u;
472
- }
473
- }
474
- c(K);
475
- const j = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:"Roboto";font-style:normal}.password__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.password__wrapper--autofilled{pointer-events:none}.password__wrapper--autofilled .password__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__wrapper--autofilled .password__input::part(input-field){color:var(--emw--color-black, #000000)}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.password__input{width:inherit;border:none}.password__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.password__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);background-color:var(--emw--color-white, #FFFFFF);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;position:relative;margin-bottom:unset;height:44px;padding:0;width:100%}.password__input::part(reveal-button){position:relative;right:10px}.password__input::part(reveal-button)::before{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__input>input{padding:5px 15px}.password__input>input:placeholder-shown{color:var(--emw--color-gray-150, #828282)}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:var(--emw--color-white, #FFFFFF);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;height:150px;border:1px solid #B0B0B0;}.password__complexity meter{border-color:transparent;}.password__complexity meter[value="1"]::-moz-meter-bar{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter[value="1"]::-webkit-meter-optimum-value{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter:not([value="1"])::-moz-meter-bar{background-color:var(--emw--color-error, #FD2839)}.password__complexity meter:not([value="1"])::-webkit-meter-optimum-value{background-color:var(--emw--color-error, #FD2839)}.password__complexity--strength{display:flex;justify-content:space-evenly;align-items:center}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:"";position:absolute;width:25px;height:25px;border-top:1px solid var(--emw--color-gray-150, #828282);border-right:0 solid var(--emw--color-gray-150, #828282);border-left:1px solid var(--emw--color-gray-150, #828282);border-bottom:0 solid var(--emw--color-gray-150, #828282);bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:var(--emw--color-white, #FFFFFF)}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-150, #828282);color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}', W = j, G = class {
476
- constructor(t) {
477
- w(this, t), this.sendOriginalValidityState = p(this, "sendOriginalValidityState", 7), this.sendValidityState = p(this, "sendValidityState", 7), this.sendInputValue = p(this, "sendInputValue", 7), this.touched = !1, this.originalValid = !1, this.validationPattern = "", this.duplicateInputValue = null, this.handleInput = (i) => {
478
- this.value = i.target.value, this.calculateComplexity(this.value), this.showPopup = !0, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
479
- this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
480
- }, 500);
481
- }, this.handleRevealField = (i) => {
482
- i.stopPropagation(), window.postMessage({ type: `registrationShow${this.name}` }, window.location.href);
483
- }, this.handleBlur = (i) => {
484
- this.value = i.target.value, this.showPopup = !1, this.touched = !0, this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage();
485
- }, this.handleFocus = () => {
486
- this.showPopup = !0, this.calculateComplexity(this.value);
487
- }, this.setClientStyling = () => {
488
- let i = document.createElement("style");
489
- i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
490
- }, this.name = void 0, this.displayName = void 0, this.placeholder = void 0, this.defaultValue = "", this.autofilled = void 0, this.tooltip = void 0, this.validation = void 0, this.language = void 0, this.emitValue = void 0, this.isDuplicateInput = void 0, this.clientStyling = "", this.isValid = void 0, this.errorMessage = void 0, this.limitStylingAppends = !1, this.showTooltip = !1, this.passwordComplexity = void 0, this.showPopup = void 0, this.value = "";
491
- }
492
- handleStylingChange(t, i) {
493
- t !== i && this.setClientStyling();
494
- }
495
- validityChanged() {
496
- this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValue == !0 && this.valueHandler({ name: this.name, value: this.value });
497
- }
498
- valueChanged() {
499
- this.isDuplicateInput || (this.calculateComplexity(this.value), this.sendOriginalValidityState.emit({ name: this.name, valid: this.setValidity() }));
500
- }
501
- emitValueHandler(t) {
502
- t == !0 && this.isValid && this.valueHandler({ name: this.name, value: this.value, type: "duplicate" });
503
- }
504
- validityStateHandler(t) {
505
- this.sendValidityState.emit(t);
506
- }
507
- valueHandler(t) {
508
- this.sendInputValue.emit(t);
509
- }
510
- originalValidityChangedHandler(t) {
511
- this.isDuplicateInput && (t.detail.valid ? (this.originalValid = !0, this.isValid = this.setValidity()) : (this.originalValid = !1, this.isValid = !1, this.value !== "" && (this.errorMessage = this.setErrorMessage())));
512
- }
513
- valueChangedHandler(t) {
514
- this.isDuplicateInput && this.name === t.detail.name + "Duplicate" && (this.duplicateInputValue = t.detail.value, this.touched && (this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage())), this.name === t.detail.name + "Duplicate" && this.name.replace("Duplicate", "") === t.detail.name && this.touched === !0 && (this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage());
515
- }
516
- handleClickOutside(t) {
517
- t.composedPath()[0] !== this.tooltipIconReference && t.composedPath()[0] !== this.tooltipReference && (this.showTooltip = !1);
518
- }
519
- componentDidRender() {
520
- !this.limitStylingAppends && this.stylingContainer && (this.clientStyling && this.setClientStyling(), this.limitStylingAppends = !0);
521
- }
522
- componentDidLoad() {
523
- this.inputReference = this.element.shadowRoot.querySelector("input"), this.passwordButton = this.element.shadowRoot.querySelector("vaadin-password-field-button"), this.passwordButton.tabIndex = -1, this.passwordButton.addEventListener("click", (t) => {
524
- this.handleRevealField(t);
525
- }), this.defaultValue && (this.value = this.defaultValue, this.calculateComplexity(this.value), this.valueHandler({ name: this.name, value: this.value }), this.isDuplicateInput && (this.duplicateInputValue = this.defaultValue, this.touched = !0)), this.isValid = this.setValidity();
526
- }
527
- disconnectedCallback() {
528
- this.passwordButton.removeEventListener("click", this.handleRevealField);
529
- }
530
- calculateComplexity(t) {
531
- this.passwordComplexity = this.validation.custom.filter((i) => i.rule === "regex").map((i) => {
532
- const s = new RegExp(i.pattern).test(t);
533
- return { rule: i.displayName, ruleKey: i.errorKey, passed: s };
534
- });
535
- }
536
- setValidity() {
537
- var t, i;
538
- return this.isDuplicateInput && this.duplicateInputValue !== this.value ? !1 : !((t = this.passwordComplexity) === null || t === void 0) && t.every((e) => e.passed) ? (i = this.inputReference) === null || i === void 0 ? void 0 : i.validity.valid : !1;
539
- }
540
- setPattern() {
541
- var t, i;
542
- if (((t = this.validation.custom) === null || t === void 0 ? void 0 : t.length) > 0)
543
- return (i = this.validation.custom.find((e) => e.rule === "regex")) === null || i === void 0 ? void 0 : i.pattern;
544
- }
545
- setErrorMessage() {
546
- var t, i, e, s;
547
- if (this.isDuplicateInput && !this.originalValid)
548
- return o("invalidOriginalPasswordError", this.language);
549
- if (this.inputReference.validity.patternMismatch) {
550
- const r = (t = this.validation.custom.find((l) => l.rule === "regex")) === null || t === void 0 ? void 0 : t.errorKey, n = (i = this.validation.custom.find((l) => l.rule === "regex")) === null || i === void 0 ? void 0 : i.errorMessage;
551
- return o(`${r}`, this.language) ? o(`${r}`, this.language) : n;
552
- }
553
- if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
554
- return o("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
555
- if (this.inputReference.validity.valueMissing)
556
- return o("requiredError", this.language);
557
- if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
558
- const r = (e = this.validation.custom.find((l) => l.rule === "duplicate-input")) === null || e === void 0 ? void 0 : e.errorKey, n = (s = this.validation.custom.find((l) => l.rule === "duplicate-input")) === null || s === void 0 ? void 0 : s.errorMessage;
559
- return o(`${r}`, this.language) ? o(`${r}`, this.language) : n;
560
- }
561
- }
562
- renderTooltip() {
563
- return this.showTooltip ? a("div", { class: `password__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
564
- }
565
- renderComplexityPopup() {
566
- const t = this.passwordComplexity.length, e = this.passwordComplexity.filter((r) => r.passed).length / t, s = this.passwordComplexity.every((r) => r.passed);
567
- return a("div", { class: `password__complexity ${this.showPopup ? "" : "password__complexity--hidden"}` }, a("div", { class: "password__complexity--strength" }, a("p", { class: "password__complexity--text" }, o("passwordStrength", this.language), " ", a("span", { class: "password__complexity--text-bold" }, o(`${s ? "passwordStrengthStrong" : "passwordStrengthWeak"}`, this.language))), a("meter", { value: e, min: "0", max: "1" })), a("div", null, this.passwordComplexity.map((r, n) => a("div", { key: n }, a("input", { class: "password__complexity--checkbox", type: "checkbox", checked: r.passed, disabled: !0 }), a("span", null, o(`${r.ruleKey}`, this.language) ? o(`${r.ruleKey}`, this.language) : r.rule)))));
568
- }
569
- render() {
570
- let t = "";
571
- return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), a("div", { key: "36d21c63dcd15b6de2d2de417ce97b520493cd16", class: `password__wrapper ${this.autofilled ? "password__wrapper--autofilled" : ""} ${this.name}__input`, ref: (i) => this.stylingContainer = i }, a("div", { key: "3de600f4ccbf2ffe7a8a8858e9d5a483701dd4d7", class: "password__wrapper--flex" }, a("label", { key: "74fee343f4d6adbbb22e88c5d51d3a471979d42e", class: `password__label ${this.validation.mandatory ? "password__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), a("div", { key: "d1f30d776c5612b1a5581859b929bee171105bf5", class: "password__wrapper--relative" }, this.tooltip && a("img", { key: "932201990b5fa67f448d4ab8ca7f844f757d5e47", class: "password__tooltip-icon", src: D, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), a("vaadin-password-field", { key: "83f00cb4452b60fd883efcd742d6eb463a8fc729", type: "password", id: `${this.name}__input`, class: `password__input ${t}`, name: this.name, readOnly: this.autofilled, value: this.defaultValue, required: this.validation.mandatory, maxlength: this.validation.maxLength, minlength: this.validation.minLength, pattern: this.validationPattern, placeholder: `${this.placeholder}`, onInput: this.handleInput, onBlur: this.handleBlur, onFocus: this.handleFocus }), a("small", { key: "0f6f7ba5e9ec6f492f22a46ac77c7977f7a8e835", class: "password__error-message" }, this.errorMessage), this.passwordComplexity && this.showPopup && !this.isDuplicateInput && this.renderComplexityPopup());
572
- }
573
- get element() {
574
- return y(this);
575
- }
576
- static get watchers() {
577
- return {
578
- clientStyling: ["handleStylingChange"],
579
- isValid: ["validityChanged"],
580
- value: ["valueChanged"],
581
- emitValue: ["emitValueHandler"]
582
- };
583
- }
584
- };
585
- G.style = W;
586
- export {
587
- G as password_input,
588
- ae as player_change_password_gm2
589
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-9cd44522-QIMe52Dh.cjs"),l=require("./locale-BB2iZ4t0.cjs"),a=require("./tooltipIcon-ee9760a8-Bd9l1O5C.cjs"),n='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}',s=n,o=class{constructor(e){t.registerInstance(this,e),this.sendValidityState=t.createEvent(this,"sendValidityState",7),this.sendInputValue=t.createEvent(this,"sendInputValue",7),this.value="",this.setClientStyling=()=>{let i=document.createElement("style");i.innerHTML=this.clientStyling,this.stylingContainer.prepend(i)},this.name=void 0,this.displayName=void 0,this.defaultValue="",this.options=void 0,this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.showFields=this.defaultValue==="true"}handleStylingChange(e,i){e!==i&&this.setClientStyling()}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}handleClick(){this.showFields=this.checkboxReference.checked,this.errorMessage=this.setErrorMessage(),this.isValid=this.setValidity(),this.valueHandler({name:this.name,value:this.checkboxReference.checked?"true":"false",type:"toggle"})}setValidity(){return this.checkboxReference.validity.valid}setErrorMessage(){if(this.checkboxReference.validity.valueMissing)return l.translate("requiredError",this.language)}renderLabel(){return t.h("label",{class:"togglecheckbox__label",htmlFor:`${this.name}__input`},t.h("div",{class:"togglecheckbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}renderTooltip(){return this.showTooltip?t.h("div",{class:`togglecheckbox__tooltip ${this.showTooltip?"visible":""}`,ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return t.h("div",{key:"e8be91ce94cf76ebecc58a433ab567ab549f4692",class:`togglecheckbox__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},t.h("div",{key:"dd42a6316cda06e357843165329de7525a24e3d5",class:"togglecheckbox__wrapper--flex"},t.h("input",{key:"932a6f8caeafa0d006f636484e33dda246c314d0",class:"togglecheckbox__input",type:"checkbox",id:`${this.name}__input`,ref:e=>this.checkboxReference=e,name:this.name,checked:this.defaultValue==="true",readOnly:this.autofilled,required:this.validation.mandatory,value:this.value,onClick:()=>this.handleClick()}),this.renderLabel()),t.h("small",{key:"cbc789c8a5c21debc05971ff347371fbc25d4975",class:"togglecheckbox__error-message"},this.errorMessage),t.h("div",{key:"a5ce470c985829eb1f5a0567bb974cc15e3d0d64",class:"togglecheckbox__wrapper--relative"},this.tooltip&&t.h("img",{key:"faef05dd9341ffe44b6833ca8f4c86b85ed61956",class:"togglecheckbox__tooltip-icon",src:a.tooltipIconSvg,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()),t.h("div",{key:"89fed5f103acecca78fa53eea64d57574ef42727",class:`togglecheckbox__fields-wrapper ${this.showFields?"":"hidden"}`},this.options.map(e=>t.h("general-input",{type:e.inputType,name:e.name,displayName:e.displayName,validation:e.validate,action:e.action||null,defaultValue:e.defaultValue,autofilled:e.autofill,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:e.tooltip,placeholder:e.placeholder==null?"":e.placeholder}))))}static get watchers(){return{clientStyling:["handleStylingChange"]}}};o.style=s;exports.toggle_checkbox_input=o;
@@ -1 +0,0 @@
1
- "use strict";var c=(r,t,o)=>new Promise((u,s)=>{var d=e=>{try{n(o.next(e))}catch(i){s(i)}},m=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?u(e.value):Promise.resolve(e.value).then(d,m);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-ae04a8b1-D4wvtXTw.cjs"),p=require("./app-globals-0f993ce5-DgYhdguE.cjs"),g=require("./ui-skeleton-a642cced-B8H73O_q.cjs");var a=typeof document!="undefined"?document.currentScript:null,y=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-BC4mw1ae.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),l.promiseResolve(t)};y().then(r=>c(exports,null,function*(){return yield p.globalScripts$2(),l.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[2,"border-radius"],marginBottom:[2,"margin-bottom"],marginTop:[2,"margin-top"],marginLeft:[2,"margin-left"],marginRight:[2,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"],primaryColor:["updateStyles"],secondaryColor:["updateStyles"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;
@@ -1 +0,0 @@
1
- "use strict";const r=require("./index-ae04a8b1-D4wvtXTw.cjs"),n=".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",s=n,i=class{constructor(e){r.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}updateStyles(){this.primaryColor&&this.skeletonContainer.style.setProperty("--emw-skeleton-primary-color",this.primaryColor),this.secondaryColor&&this.skeletonContainer.style.setProperty("--emw-skeleton-secondary-color",this.secondaryColor)}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle()}}renderLogo(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Image "+(this.animation?"Skeleton":"")}))}renderTitle(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return Array.from({length:this.rows>0?this.rows:1}).map((t,o)=>r.h("div",{style:e,key:o,class:"Text "+(this.animation?"Skeleton":"")}))}renderRectangle(){const e={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){const e={width:`${this.size}`,height:`${this.size}`,"background-color":`${this.color}`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Circle "+(this.animation?"Skeleton":"")}))}componentDidLoad(){this.updateStyles()}render(){return this.handleStructure(this.structure)}static get watchers(){return{structure:["handleStructureChange"],primaryColor:["updateStyles"],secondaryColor:["updateStyles"]}}};i.style=s;exports.UiSkeleton=i;