@everymatrix/player-account-controller-nd 1.60.1 → 1.61.0
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-mKknRJlq.js → GeneralLogout-B1UITWhm.js} +730 -752
- package/components/{GeneralLogout-D-SNAWMX.js → GeneralLogout-C3QgNPRK.js} +627 -649
- package/components/GeneralLogout-CneHnHyh.cjs +21 -0
- package/components/{PlayerAccountBettingHistory-D5R8TtVb.js → PlayerAccountBettingHistory-Br_qA4Ud.js} +127 -126
- package/components/PlayerAccountBettingHistory-ClvAJn7G.cjs +1 -0
- package/components/PlayerAccountBettingHistory-m-kaLy9_.js +328 -0
- package/components/{PlayerAccountBiometrics-DvJlyQ8z.cjs → PlayerAccountBiometrics-CqDrX8sl.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-Dke9scx2.js → PlayerAccountBiometrics-DR9yfTZC.js} +22 -22
- package/components/{PlayerAccountBiometrics-1g9245j6.js → PlayerAccountBiometrics-DlXfKFkk.js} +22 -22
- package/components/{PlayerAccountClosureNd-B4GnQQHa.cjs → PlayerAccountClosureNd-B9DicM4V.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-CH8UCD0A.js → PlayerAccountClosureNd-DajanQM7.js} +17 -17
- package/components/{PlayerAccountClosureNd-DtDZNFDs.js → PlayerAccountClosureNd-NPH-iRdL.js} +17 -17
- package/components/{PlayerAccountControllerNd-HN4PMQqw.cjs → PlayerAccountControllerNd-Czla4Qp2.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-Cda3JHRm.js → PlayerAccountControllerNd-DaxeqxDh.js} +300 -300
- package/components/{PlayerAccountControllerNd-Cgdz9EHx.js → PlayerAccountControllerNd-SYp7qsx_.js} +302 -302
- package/components/{PlayerAccountGamingLimits-UmFJS4yG.cjs → PlayerAccountGamingLimits-BnzPj9tx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-CPx-vfQw.js → PlayerAccountGamingLimits-D6ntY7LO.js} +81 -81
- package/components/{PlayerAccountGamingLimits-geiSuCGE.js → PlayerAccountGamingLimits-DliC08HN.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CIMWBU9F.js → PlayerAccountGamingLimitsConfirmationModal-C7JexiXN.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs → PlayerAccountGamingLimitsConfirmationModal-Cg2EZjXZ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CJvAbSXA.js → PlayerAccountGamingLimitsConfirmationModal-CsncH5Kk.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-BBhaC0tE.js → PlayerAccountGamingLimitsGroupEdit-BaoNacV9.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs → PlayerAccountGamingLimitsGroupEdit-DGnRlAUZ.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-DxCKKvtt.js → PlayerAccountGamingLimitsGroupEdit-DttbY4_8.js} +54 -54
- package/components/{PlayerAccountGamingLimitsHistory2Nd-y1qwR7nl.js → PlayerAccountGamingLimitsHistory2Nd-DVI5cgN0.js} +82 -82
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CT3BWhmN.cjs → PlayerAccountGamingLimitsHistory2Nd-mN7Y8aHJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CYh5FnDV.js → PlayerAccountGamingLimitsHistory2Nd-pRaJCYvl.js} +80 -80
- package/components/{PlayerAccountGamingLimitsInfoCard-Dm9hSuFC.js → PlayerAccountGamingLimitsInfoCard-Bye1hnU_.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-Cc-JLiZF.js → PlayerAccountGamingLimitsInfoCard-Czx-9RJ2.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs → PlayerAccountGamingLimitsInfoCard-jhpuGIrw.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DMdM3i1l.js → PlayerAccountGamingLimitsPage2Gm16Nd-Bmd_NwHD.js} +539 -533
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DA1By__G.js → PlayerAccountGamingLimitsPage2Gm16Nd-Ca3ZUJWk.js} +982 -976
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CuoVvIEJ.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-WCAZ928m.cjs} +6 -6
- package/components/{PlayerAccountGamingLimitsPopup-CLyTPF2L.js → PlayerAccountGamingLimitsPopup-BNNY6PfE.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs → PlayerAccountGamingLimitsPopup-Cvl_mdrl.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DycV-u3W.js → PlayerAccountGamingLimitsPopup-DvRxw4eW.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-D5Yg91jL.cjs → PlayerAccountGamingLimitsWrapper2Nd-BfCJoSe1.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-j3mecOLN.js → PlayerAccountGamingLimitsWrapper2Nd-TjdAXRVo.js} +17 -17
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-ClbwM2gG.js → PlayerAccountGamingLimitsWrapper2Nd-_gwT4o4X.js} +17 -17
- package/components/{PlayerAccountGeneralConfirmationModal-4w5ypHAs.js → PlayerAccountGeneralConfirmationModal-B9TJfvbO.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-DoognqGf.cjs → PlayerAccountGeneralConfirmationModal-DNkcN7ty.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-u_yQVW36.js → PlayerAccountGeneralConfirmationModal-DkSdx3MD.js} +34 -34
- package/components/{PlayerAccountMenuNd-pBoYi2d7.cjs → PlayerAccountMenuNd-BKRgThbJ.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-DTmfUkDR.js → PlayerAccountMenuNd-BO16ASNz.js} +29 -29
- package/components/{PlayerAccountMenuNd-D-fAorcB.js → PlayerAccountMenuNd-Br6a9Tej.js} +32 -32
- package/components/{PlayerAccountModal-CJAW5eai.js → PlayerAccountModal-CVH5Ayn2.js} +42 -42
- package/components/{PlayerAccountModal-DzIuV3KN.js → PlayerAccountModal-DiTfeVCl.js} +42 -42
- package/components/{PlayerAccountModal-zI2QLAL1.cjs → PlayerAccountModal-Dmgt5WVr.cjs} +1 -1
- package/components/PlayerAccountNotifications-MHx2DPBT.js +372 -0
- package/components/PlayerAccountNotifications-Vaz7mdXW.cjs +1 -0
- package/components/{PlayerAccountNotifications-BECefhID.js → PlayerAccountNotifications-hkB_puur.js} +64 -63
- package/components/{PlayerAccountSelfExclusionNd-CfXWzZaQ.js → PlayerAccountSelfExclusionNd-C9IcT0p4.js} +1689 -1694
- package/components/{PlayerAccountSelfExclusionNd-gT5IXyXv.cjs → PlayerAccountSelfExclusionNd-DI4bHTYL.cjs} +153 -153
- package/components/{PlayerAccountSelfExclusionNd-8dbQPzKe.js → PlayerAccountSelfExclusionNd-DIwIYVeN.js} +783 -788
- package/components/{PlayerAccountTimeout-DmUdmLQr.js → PlayerAccountTimeout-1HHDRhRW.js} +58 -58
- package/components/{PlayerAccountTimeout-CyvXsM5p.js → PlayerAccountTimeout-DMUbvpSF.js} +58 -58
- package/components/{PlayerAccountTimeout-v5URpImy.cjs → PlayerAccountTimeout-DvhQQjVR.cjs} +1 -1
- package/components/{PlayerActiveBonuses-BXlIZiVB.js → PlayerActiveBonuses-CoNv5ScH.js} +74 -74
- package/components/{PlayerActiveBonuses-2M__yMJf.js → PlayerActiveBonuses-bqJeaH4L.js} +73 -73
- package/components/{PlayerActiveBonuses-CBqsWQfE.cjs → PlayerActiveBonuses-s0MmTfKm.cjs} +1 -1
- package/components/{PlayerBonusCard-CtXP9UPy.js → PlayerBonusCard-DP8c89Ho.js} +156 -155
- package/components/{PlayerBonusCard-sfjhWo7d.js → PlayerBonusCard-DsRkWJss.js} +156 -155
- package/components/PlayerBonusCard-htL7HEnz.cjs +1 -0
- package/components/{PlayerBonusHistory-CSz-1_b2.js → PlayerBonusHistory-C8Jw6te-.js} +33 -33
- package/components/{PlayerBonusHistory-DvzXMZuA.cjs → PlayerBonusHistory-CFXdMeY4.cjs} +1 -1
- package/components/{PlayerBonusHistory-DPoWYYcE.js → PlayerBonusHistory-DDkhmw4r.js} +33 -33
- package/components/{PlayerChangePassword-Dtr2n1Et.js → PlayerChangePassword-C_WQPamT.js} +82 -82
- package/components/{PlayerChangePassword-awaQVsiP.cjs → PlayerChangePassword-DkVY0JFR.cjs} +1 -1
- package/components/{PlayerChangePassword-Ddfah5-0.js → PlayerChangePassword-TSgljlgv.js} +82 -82
- package/components/{PlayerDeposit-CqqQuB6-.js → PlayerDeposit-BzBC0FnG.js} +75 -75
- package/components/{PlayerDeposit-DzJLjkJJ.js → PlayerDeposit-CilY5YmK.js} +75 -75
- package/components/PlayerDeposit-DgZ1K6jf.cjs +1 -0
- package/components/{PlayerGamingHistory-BawWibCV.js → PlayerGamingHistory-CNe8DQFa.js} +84 -84
- package/components/{PlayerGamingHistory-K0Uvi2fF.js → PlayerGamingHistory-D8kvtD06.js} +74 -74
- package/components/{PlayerGamingHistory-4FBAJVJ3.cjs → PlayerGamingHistory-DrmDZElc.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BXngse4L.js → PlayerPendingWithdrawals-D8fNmgMw.js} +26 -26
- package/components/{PlayerPendingWithdrawals-B5LftQI0.js → PlayerPendingWithdrawals-DrjllRYo.js} +26 -26
- package/components/{PlayerPendingWithdrawals-aaHugNLD.cjs → PlayerPendingWithdrawals-H49FURps.cjs} +1 -1
- package/components/{PlayerProfileInfo-uGClCGHq.js → PlayerProfileInfo-4_ji2YMX.js} +60 -60
- package/components/{PlayerProfileInfo-B1A0Xarz.cjs → PlayerProfileInfo-C2_IlzNH.cjs} +1 -1
- package/components/{PlayerProfileInfo-BmyCYGh7.js → PlayerProfileInfo-C34ph_VD.js} +60 -60
- package/components/{PlayerRealityCheck-Ch955fLs.cjs → PlayerRealityCheck-BYgd7N7D.cjs} +1 -1
- package/components/{PlayerRealityCheck-DHGjsEc_.js → PlayerRealityCheck-CI3A9NNr.js} +33 -33
- package/components/{PlayerRealityCheck-Db8wL8P8.js → PlayerRealityCheck-QN7JG4FF.js} +33 -33
- package/components/{PlayerTransactionHistory-Dff51WQG.cjs → PlayerTransactionHistory-Bb8js_3p.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BdX1ph_m.js → PlayerTransactionHistory-BkqBLbnn.js} +24 -24
- package/components/{PlayerTransactionHistory-CQ3fEpfj.js → PlayerTransactionHistory-D88VArmh.js} +24 -24
- package/components/{PlayerWithdrawal-8DAmymCW.js → PlayerWithdrawal-CxJQAAzZ.js} +19 -19
- package/components/{PlayerWithdrawal-DvDjalE_.js → PlayerWithdrawal-Db0Dur3Q.js} +19 -19
- package/components/{PlayerWithdrawal-DdPBGufW.cjs → PlayerWithdrawal-xHn3kl2k.cjs} +1 -1
- 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-BE38v2MW.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-DzSE6TtH.js → app-globals-0f993ce5-Dab_DTBV.js} +5 -3
- package/stencil/{checkbox-group-input_9-C7zEH4Cn.js → checkbox-group-input_9-BRv_piPJ.js} +112 -111
- package/stencil/checkbox-group-input_9-DCA5sbPo.cjs +2 -0
- package/stencil/{checkbox-group-input_9-OVj7AW5S.js → checkbox-group-input_9-bIi7h3_V.js} +112 -111
- package/stencil/{general-input-C7B1PVb4.js → general-input-CQs-v3_Y.js} +1243 -1249
- package/stencil/{general-input-BlFYbInU.cjs → general-input-DgKQ0KIf.cjs} +199 -199
- package/stencil/{general-input-DoSeJn3k.js → general-input-OUKrtuTp.js} +1241 -1247
- package/stencil/index-1ef3a64c-Bo9AYUJy.js +556 -0
- package/stencil/index-1ef3a64c-CiZxO5I8.cjs +1 -0
- package/stencil/index-1ef3a64c-ElvobcAf.js +572 -0
- package/stencil/index-21ba09dd-C-HsjTUn.js +643 -0
- package/stencil/index-21ba09dd-DNkmY6MF.js +616 -0
- package/stencil/index-21ba09dd-lQRQL1Nd.cjs +1 -0
- package/stencil/index-34008883-B7S8keyz.js +577 -0
- package/stencil/index-34008883-CX1Vpol5.cjs +1 -0
- package/stencil/index-34008883-DRJSKOUl.js +604 -0
- package/stencil/index-9cd44522-C566YWys.js +626 -0
- package/stencil/index-9cd44522-Crt8CtBe.js +610 -0
- package/stencil/index-9cd44522-jv76DI6J.cjs +1 -0
- package/stencil/index-b2193545-Ba3S1_hg.js +519 -0
- package/stencil/index-b2193545-CjNH95c8.cjs +1 -0
- package/stencil/index-b2193545-nCQBn10B.js +503 -0
- package/stencil/index-b7bbd57e-BXQNNKF-.cjs +1 -0
- package/stencil/index-b7bbd57e-C1rNwXcA.js +534 -0
- package/stencil/index-b7bbd57e-KR8HyCXS.js +550 -0
- package/stencil/{password-input_2-5nC89CMj.js → password-input_2-C84wWI7v.js} +3 -3
- package/stencil/password-input_2-Cb1ahifk.cjs +193 -0
- package/stencil/{password-input_2-DJSgcWve.js → password-input_2-DQO_Gwqq.js} +3 -3
- package/stencil/{player-change-password-gm2-039e300e-C-kbOfS1.cjs → player-change-password-gm2-039e300e-DIjTdjzy.cjs} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-C_f58yBE.js → player-change-password-gm2-039e300e-mRLvAYzw.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-D4KfL3dW.js → player-change-password-gm2-039e300e-s9osP-86.js} +1 -1
- package/stencil/{player-change-password-gm2-BJ2Ur7Zx.js → player-change-password-gm2-BJLdk2sF.js} +3 -3
- package/stencil/{player-change-password-gm2-3aRR8E4W.js → player-change-password-gm2-C46hgH3O.js} +3 -3
- package/stencil/{player-change-password-gm2-CHK-mhQ9.cjs → player-change-password-gm2-SzYQySXI.cjs} +1 -1
- package/stencil/player-kyc-verification-6TGi8B9v.js +25 -0
- package/stencil/player-kyc-verification-BH7srnLo.cjs +1 -0
- package/stencil/player-kyc-verification-DRh9MXmC.js +7 -0
- package/stencil/{player-kyc-verification-Di40xn9z.js → player-kyc-verification_2-EJZCFPKM.js} +177 -118
- package/stencil/player-kyc-verification_2-HIgoVn9n.cjs +180 -0
- package/stencil/{player-kyc-verification-B8arDCja.js → player-kyc-verification_2-w8_XwPSF.js} +166 -105
- package/stencil/{toggle-checkbox-input-BRL1Xahc.js → toggle-checkbox-input-Bh9dCfaE.js} +2 -2
- package/stencil/toggle-checkbox-input-CDg0DAAQ.cjs +1 -0
- package/stencil/{toggle-checkbox-input-cLWFox9n.js → toggle-checkbox-input-CFvMg26A.js} +2 -2
- package/stencil/ui-image-38c3c15f-CEfeqAk8.js +39 -0
- package/stencil/ui-image-38c3c15f-Ck6BC-zf.js +39 -0
- package/stencil/ui-image-38c3c15f-Cq2W4LRm.cjs +1 -0
- package/stencil/ui-image-CBPosHQA.js +11 -0
- package/stencil/ui-image-CIXt7mi5.cjs +1 -0
- package/stencil/ui-image-SmL79gLQ.js +29 -0
- package/stencil/{user-transaction-history-Dca7qx08.js → ui-image_2-CYG1_Yew.js} +111 -81
- package/stencil/ui-image_2-Cyb78tZB.cjs +1 -0
- package/stencil/{user-transaction-history-6-z3byrF.js → ui-image_2-nVKXie9g.js} +121 -93
- package/stencil/{ui-skeleton-ea659b95-DEnEjYcS.js → ui-skeleton-6d1c12ae-BteqiJ3N.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-B0Wm9BdQ.js → ui-skeleton-6d1c12ae-CpRMWvUl.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-BBQBvLes.cjs → ui-skeleton-6d1c12ae-DIXcfDMF.cjs} +2 -2
- package/stencil/{ui-skeleton-BacC4KYY.js → ui-skeleton-B5HKWUZZ.js} +5 -5
- package/stencil/{ui-skeleton-C_u2sCMV.cjs → ui-skeleton-BmY9tNCz.cjs} +1 -1
- package/stencil/{ui-skeleton-DuRhzyE8.js → ui-skeleton-cMJY5_hV.js} +3 -3
- package/stencil/{user-deposit-withdrawal-BQKFgZ31.cjs → user-deposit-withdrawal-AuM1tZmx.cjs} +3 -3
- package/stencil/{user-deposit-withdrawal-DRe5oBqv.js → user-deposit-withdrawal-BMJx_R6F.js} +72 -72
- package/stencil/{user-deposit-withdrawal-Dj3Po03r.js → user-deposit-withdrawal-Dgcj5_4h.js} +77 -77
- package/stencil/user-transaction-history-BPAsxrSz.js +7 -0
- package/stencil/user-transaction-history-CATn02Hg.js +25 -0
- package/stencil/user-transaction-history-DSzCjzMR.cjs +1 -0
- package/components/GeneralLogout-BjsDUNrm.cjs +0 -21
- package/components/PlayerAccountBettingHistory-B65ODj4i.js +0 -329
- package/components/PlayerAccountBettingHistory-Bu3VS2Sg.cjs +0 -1
- package/components/PlayerAccountNotifications-BMdZu0IH.js +0 -371
- package/components/PlayerAccountNotifications-BxJEa-bd.cjs +0 -1
- package/components/PlayerBonusCard-CJXjuXsU.cjs +0 -1
- package/components/PlayerDeposit-_oIOMh8l.cjs +0 -1
- package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +0 -1
- package/stencil/checkbox-group-input_9-CMfQeYlH.cjs +0 -2
- package/stencil/index-1ef3a64c-BnB-ATuA.js +0 -556
- package/stencil/index-1ef3a64c-BvKbNMH8.cjs +0 -1
- package/stencil/index-1ef3a64c-Nsr9PDe6.js +0 -572
- package/stencil/index-7c5e707a-CTC8RpEi.js +0 -643
- package/stencil/index-7c5e707a-CWE0q0mP.js +0 -616
- package/stencil/index-7c5e707a-D1Fv8nel.cjs +0 -1
- package/stencil/index-9c0f6c58-C1yzTenw.js +0 -576
- package/stencil/index-9c0f6c58-CqoLeK5G.js +0 -549
- package/stencil/index-9c0f6c58-DEsDY2nb.cjs +0 -1
- package/stencil/index-9cd44522-BOHK5Ehb.js +0 -626
- package/stencil/index-9cd44522-C8s3TvoU.js +0 -610
- package/stencil/index-9cd44522-D9raG3xx.cjs +0 -1
- package/stencil/index-b2193545-B240yE4M.js +0 -503
- package/stencil/index-b2193545-CJQ4H9NG.cjs +0 -1
- package/stencil/index-b2193545-q1mvaES7.js +0 -519
- package/stencil/password-input_2-ZOEOuaOe.cjs +0 -193
- package/stencil/player-kyc-verification-GFBDUbhm.cjs +0 -180
- package/stencil/toggle-checkbox-input-CPDZs55S.cjs +0 -1
- package/stencil/user-transaction-history-DrhquxkJ.cjs +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as z, c as H, h as l, g as Te } from "./index-9cd44522-
|
|
2
|
-
import { t as
|
|
1
|
+
import { r as z, c as H, h as l, g as Te } from "./index-9cd44522-C566YWys.js";
|
|
2
|
+
import { t as x } from "./locale-ioQf6ZrW.js";
|
|
3
3
|
import { t as G } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
|
|
4
4
|
const at = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin-checkbox-group{margin-top:5px;margin-left:40px}.checkboxgroup{font-family:"Roboto";font-style:normal;font-size:15px}.checkboxgroup__wrapper{position:relative}.checkboxgroup__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.checkboxgroup__wrapper--relative{position:relative;display:inline}.checkboxgroup__input{vertical-align:baseline}.checkboxgroup__input[indeterminate]::part(checkbox)::after,.checkboxgroup__input[indeterminate]::part(checkbox),.checkboxgroup__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__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;padding-left:10px;vertical-align:baseline}.checkboxgroup__label-text{font-size:16px}.checkboxgroup__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkboxgroup__tooltip-icon{width:16px;height:auto}.checkboxgroup__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}.checkboxgroup__tooltip.visible{opacity:1}.checkbox__input::part(checkbox){background-color:var(--emw--color-white, #FFFFFF);transform:scale(0.8, 0.8);border-radius:var(--emw--border-radius-small, 2px);box-shadow:0 0px 0px 2px var(--emw--color-gray, #7a7a7a)}.checkbox__input[indeterminate]::part(checkbox),.checkbox__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));box-shadow:none}', nt = at, ot = class {
|
|
5
5
|
constructor(t) {
|
|
6
|
-
z(this, t), this.sendValidityState = H(this, "sendValidityState"
|
|
6
|
+
z(this, t), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.value = null, this.setClientStyling = () => {
|
|
7
7
|
let i = document.createElement("style");
|
|
8
8
|
i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
|
|
9
9
|
}, this.name = void 0, this.displayName = void 0, this.defaultValue = "", this.autofilled = void 0, this.tooltip = void 0, this.options = 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.selectedValues = [];
|
|
@@ -40,7 +40,7 @@ const at = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin
|
|
|
40
40
|
}
|
|
41
41
|
setErrorMessage() {
|
|
42
42
|
if (this.inputReference.validity.valueMissing)
|
|
43
|
-
return
|
|
43
|
+
return x("requiredError", this.language);
|
|
44
44
|
}
|
|
45
45
|
renderTooltip() {
|
|
46
46
|
return this.showTooltip ? l("div", { class: `checkboxgroup__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
|
|
@@ -71,7 +71,7 @@ const at = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin
|
|
|
71
71
|
ot.style = nt;
|
|
72
72
|
const st = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkbox{font-family:"Roboto";font-style:normal}.checkbox__wrapper{display:flex;gap:10px;position:relative;align-items:baseline}.checkbox__wrapper--relative{position:relative}.checkbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox__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}.checkbox__label-text{font-size:16px}.checkbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkbox__tooltip-icon{width:16px;height:auto}.checkbox__tooltip{position:absolute;top:0;right:20px;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}.checkbox__tooltip.visible{opacity:1}', lt = st, ut = class {
|
|
73
73
|
constructor(t) {
|
|
74
|
-
z(this, t), this.sendValidityState = H(this, "sendValidityState"
|
|
74
|
+
z(this, t), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.value = "", this.setClientStyling = () => {
|
|
75
75
|
let i = document.createElement("style");
|
|
76
76
|
i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
|
|
77
77
|
}, this.name = void 0, this.displayName = 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.clientStyling = "", this.errorMessage = void 0, this.isValid = void 0, this.limitStylingAppends = !1, this.showTooltip = !1;
|
|
@@ -108,7 +108,7 @@ const st = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.check
|
|
|
108
108
|
}
|
|
109
109
|
setErrorMessage() {
|
|
110
110
|
if (this.inputReference.validity.valueMissing)
|
|
111
|
-
return
|
|
111
|
+
return x("requiredError", this.language);
|
|
112
112
|
}
|
|
113
113
|
renderLabel() {
|
|
114
114
|
return l("label", { class: "checkbox__label", htmlFor: `${this.name}__input` }, l("div", { class: "checkbox__label-text", innerHTML: `${this.displayName} ${this.validation.mandatory ? "*" : ""}` }));
|
|
@@ -305,8 +305,6 @@ var wt = {
|
|
|
305
305
|
};
|
|
306
306
|
const K = wt;
|
|
307
307
|
var te = {
|
|
308
|
-
am: "am",
|
|
309
|
-
pm: "pm",
|
|
310
308
|
midnight: "midnight",
|
|
311
309
|
noon: "noon",
|
|
312
310
|
morning: "morning",
|
|
@@ -1025,11 +1023,11 @@ var Mt = {
|
|
|
1025
1023
|
one: "almost 1 year",
|
|
1026
1024
|
other: "almost {{count}} years"
|
|
1027
1025
|
}
|
|
1028
|
-
},
|
|
1026
|
+
}, Pt = function(i, r, a) {
|
|
1029
1027
|
var e, o = Mt[i];
|
|
1030
1028
|
return typeof o == "string" ? e = o : r === 1 ? e = o.one : e = o.other.replace("{{count}}", r.toString()), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "in " + e : e + " ago" : e;
|
|
1031
1029
|
};
|
|
1032
|
-
const
|
|
1030
|
+
const Dt = Pt;
|
|
1033
1031
|
function we(t) {
|
|
1034
1032
|
return function() {
|
|
1035
1033
|
var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = i.width ? String(i.width) : t.defaultWidth, a = t.formats[r] || t.formats[t.defaultWidth];
|
|
@@ -1342,7 +1340,7 @@ var Xt = /^(\d+)(th|st|nd|rd)?/i, Kt = /\d+/i, Zt = {
|
|
|
1342
1340
|
const ui = li;
|
|
1343
1341
|
var di = {
|
|
1344
1342
|
code: "en-US",
|
|
1345
|
-
formatDistance:
|
|
1343
|
+
formatDistance: Dt,
|
|
1346
1344
|
formatLong: It,
|
|
1347
1345
|
formatRelative: Ut,
|
|
1348
1346
|
localize: Bt,
|
|
@@ -1536,7 +1534,7 @@ function _i(t, i) {
|
|
|
1536
1534
|
return t;
|
|
1537
1535
|
var r = t[Symbol.toPrimitive];
|
|
1538
1536
|
if (r !== void 0) {
|
|
1539
|
-
var a = r.call(t, i
|
|
1537
|
+
var a = r.call(t, i);
|
|
1540
1538
|
if (B(a) != "object")
|
|
1541
1539
|
return a;
|
|
1542
1540
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
@@ -1675,7 +1673,7 @@ var Ti = 10, Ze = /* @__PURE__ */ function() {
|
|
|
1675
1673
|
return o.era = n, e.setUTCFullYear(n, 0, 1), e.setUTCHours(0, 0, 0, 0), e;
|
|
1676
1674
|
}
|
|
1677
1675
|
}]), r;
|
|
1678
|
-
}(b), Mi = 6e4,
|
|
1676
|
+
}(b), Mi = 6e4, Pi = 36e5, Di = 1e3, P = {
|
|
1679
1677
|
month: /^(1[0-2]|0?\d)/,
|
|
1680
1678
|
// 0 to 12
|
|
1681
1679
|
date: /^(3[0-1]|[0-2]?\d)/,
|
|
@@ -1720,7 +1718,7 @@ var Ti = 10, Ze = /* @__PURE__ */ function() {
|
|
|
1720
1718
|
extended: /^([+-])(\d{2}):(\d{2})|Z/,
|
|
1721
1719
|
extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
|
|
1722
1720
|
};
|
|
1723
|
-
function
|
|
1721
|
+
function D(t, i) {
|
|
1724
1722
|
return t && {
|
|
1725
1723
|
value: i(t.value),
|
|
1726
1724
|
rest: t.rest
|
|
@@ -1744,23 +1742,23 @@ function N(t, i) {
|
|
|
1744
1742
|
};
|
|
1745
1743
|
var a = r[1] === "+" ? 1 : -1, e = r[2] ? parseInt(r[2], 10) : 0, o = r[3] ? parseInt(r[3], 10) : 0, n = r[5] ? parseInt(r[5], 10) : 0;
|
|
1746
1744
|
return {
|
|
1747
|
-
value: a * (e *
|
|
1745
|
+
value: a * (e * Pi + o * Mi + n * Di),
|
|
1748
1746
|
rest: i.slice(r[0].length)
|
|
1749
1747
|
};
|
|
1750
1748
|
}
|
|
1751
1749
|
function Je(t) {
|
|
1752
|
-
return k(
|
|
1750
|
+
return k(P.anyDigitsSigned, t);
|
|
1753
1751
|
}
|
|
1754
1752
|
function V(t, i) {
|
|
1755
1753
|
switch (t) {
|
|
1756
1754
|
case 1:
|
|
1757
|
-
return k(
|
|
1755
|
+
return k(P.singleDigit, i);
|
|
1758
1756
|
case 2:
|
|
1759
|
-
return k(
|
|
1757
|
+
return k(P.twoDigits, i);
|
|
1760
1758
|
case 3:
|
|
1761
|
-
return k(
|
|
1759
|
+
return k(P.threeDigits, i);
|
|
1762
1760
|
case 4:
|
|
1763
|
-
return k(
|
|
1761
|
+
return k(P.fourDigits, i);
|
|
1764
1762
|
default:
|
|
1765
1763
|
return k(new RegExp("^\\d{1," + t + "}"), i);
|
|
1766
1764
|
}
|
|
@@ -1768,13 +1766,13 @@ function V(t, i) {
|
|
|
1768
1766
|
function me(t, i) {
|
|
1769
1767
|
switch (t) {
|
|
1770
1768
|
case 1:
|
|
1771
|
-
return k(
|
|
1769
|
+
return k(P.singleDigitSigned, i);
|
|
1772
1770
|
case 2:
|
|
1773
|
-
return k(
|
|
1771
|
+
return k(P.twoDigitsSigned, i);
|
|
1774
1772
|
case 3:
|
|
1775
|
-
return k(
|
|
1773
|
+
return k(P.threeDigitsSigned, i);
|
|
1776
1774
|
case 4:
|
|
1777
|
-
return k(
|
|
1775
|
+
return k(P.fourDigitsSigned, i);
|
|
1778
1776
|
default:
|
|
1779
1777
|
return k(new RegExp("^-?\\d{1," + t + "}"), i);
|
|
1780
1778
|
}
|
|
@@ -1830,13 +1828,13 @@ var Ei = /* @__PURE__ */ function(t) {
|
|
|
1830
1828
|
};
|
|
1831
1829
|
switch (o) {
|
|
1832
1830
|
case "y":
|
|
1833
|
-
return
|
|
1831
|
+
return D(V(4, e), s);
|
|
1834
1832
|
case "yo":
|
|
1835
|
-
return
|
|
1833
|
+
return D(n.ordinalNumber(e, {
|
|
1836
1834
|
unit: "year"
|
|
1837
1835
|
}), s);
|
|
1838
1836
|
default:
|
|
1839
|
-
return
|
|
1837
|
+
return D(V(o.length, e), s);
|
|
1840
1838
|
}
|
|
1841
1839
|
}
|
|
1842
1840
|
}, {
|
|
@@ -1877,13 +1875,13 @@ var Ei = /* @__PURE__ */ function(t) {
|
|
|
1877
1875
|
};
|
|
1878
1876
|
switch (o) {
|
|
1879
1877
|
case "Y":
|
|
1880
|
-
return
|
|
1878
|
+
return D(V(4, e), s);
|
|
1881
1879
|
case "Yo":
|
|
1882
|
-
return
|
|
1880
|
+
return D(n.ordinalNumber(e, {
|
|
1883
1881
|
unit: "year"
|
|
1884
1882
|
}), s);
|
|
1885
1883
|
default:
|
|
1886
|
-
return
|
|
1884
|
+
return D(V(o.length, e), s);
|
|
1887
1885
|
}
|
|
1888
1886
|
}
|
|
1889
1887
|
}, {
|
|
@@ -2082,11 +2080,11 @@ var Ei = /* @__PURE__ */ function(t) {
|
|
|
2082
2080
|
};
|
|
2083
2081
|
switch (o) {
|
|
2084
2082
|
case "M":
|
|
2085
|
-
return
|
|
2083
|
+
return D(k(P.month, e), s);
|
|
2086
2084
|
case "MM":
|
|
2087
|
-
return
|
|
2085
|
+
return D(V(2, e), s);
|
|
2088
2086
|
case "Mo":
|
|
2089
|
-
return
|
|
2087
|
+
return D(n.ordinalNumber(e, {
|
|
2090
2088
|
unit: "month"
|
|
2091
2089
|
}), s);
|
|
2092
2090
|
case "MMM":
|
|
@@ -2145,11 +2143,11 @@ var Ei = /* @__PURE__ */ function(t) {
|
|
|
2145
2143
|
};
|
|
2146
2144
|
switch (o) {
|
|
2147
2145
|
case "L":
|
|
2148
|
-
return
|
|
2146
|
+
return D(k(P.month, e), s);
|
|
2149
2147
|
case "LL":
|
|
2150
|
-
return
|
|
2148
|
+
return D(V(2, e), s);
|
|
2151
2149
|
case "Lo":
|
|
2152
|
-
return
|
|
2150
|
+
return D(n.ordinalNumber(e, {
|
|
2153
2151
|
unit: "month"
|
|
2154
2152
|
}), s);
|
|
2155
2153
|
case "LLL":
|
|
@@ -2211,7 +2209,7 @@ var $i = /* @__PURE__ */ function(t) {
|
|
|
2211
2209
|
value: function(e, o, n) {
|
|
2212
2210
|
switch (o) {
|
|
2213
2211
|
case "w":
|
|
2214
|
-
return k(
|
|
2212
|
+
return k(P.week, e);
|
|
2215
2213
|
case "wo":
|
|
2216
2214
|
return n.ordinalNumber(e, {
|
|
2217
2215
|
unit: "week"
|
|
@@ -2252,7 +2250,7 @@ var qi = /* @__PURE__ */ function(t) {
|
|
|
2252
2250
|
value: function(e, o, n) {
|
|
2253
2251
|
switch (o) {
|
|
2254
2252
|
case "I":
|
|
2255
|
-
return k(
|
|
2253
|
+
return k(P.week, e);
|
|
2256
2254
|
case "Io":
|
|
2257
2255
|
return n.ordinalNumber(e, {
|
|
2258
2256
|
unit: "week"
|
|
@@ -2287,7 +2285,7 @@ var qi = /* @__PURE__ */ function(t) {
|
|
|
2287
2285
|
value: function(e, o, n) {
|
|
2288
2286
|
switch (o) {
|
|
2289
2287
|
case "d":
|
|
2290
|
-
return k(
|
|
2288
|
+
return k(P.date, e);
|
|
2291
2289
|
case "do":
|
|
2292
2290
|
return n.ordinalNumber(e, {
|
|
2293
2291
|
unit: "date"
|
|
@@ -2324,7 +2322,7 @@ var qi = /* @__PURE__ */ function(t) {
|
|
|
2324
2322
|
switch (o) {
|
|
2325
2323
|
case "D":
|
|
2326
2324
|
case "DD":
|
|
2327
|
-
return k(
|
|
2325
|
+
return k(P.dayOfYear, e);
|
|
2328
2326
|
case "Do":
|
|
2329
2327
|
return n.ordinalNumber(e, {
|
|
2330
2328
|
unit: "date"
|
|
@@ -2443,9 +2441,9 @@ var Bi = /* @__PURE__ */ function(t) {
|
|
|
2443
2441
|
switch (o) {
|
|
2444
2442
|
case "e":
|
|
2445
2443
|
case "ee":
|
|
2446
|
-
return
|
|
2444
|
+
return D(V(o.length, e), c);
|
|
2447
2445
|
case "eo":
|
|
2448
|
-
return
|
|
2446
|
+
return D(n.ordinalNumber(e, {
|
|
2449
2447
|
unit: "day"
|
|
2450
2448
|
}), c);
|
|
2451
2449
|
case "eee":
|
|
@@ -2520,9 +2518,9 @@ var Bi = /* @__PURE__ */ function(t) {
|
|
|
2520
2518
|
switch (o) {
|
|
2521
2519
|
case "c":
|
|
2522
2520
|
case "cc":
|
|
2523
|
-
return
|
|
2521
|
+
return D(V(o.length, e), c);
|
|
2524
2522
|
case "co":
|
|
2525
|
-
return
|
|
2523
|
+
return D(n.ordinalNumber(e, {
|
|
2526
2524
|
unit: "day"
|
|
2527
2525
|
}), c);
|
|
2528
2526
|
case "ccc":
|
|
@@ -2610,7 +2608,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2610
2608
|
unit: "day"
|
|
2611
2609
|
});
|
|
2612
2610
|
case "iii":
|
|
2613
|
-
return
|
|
2611
|
+
return D(n.day(e, {
|
|
2614
2612
|
width: "abbreviated",
|
|
2615
2613
|
context: "formatting"
|
|
2616
2614
|
}) || n.day(e, {
|
|
@@ -2621,12 +2619,12 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2621
2619
|
context: "formatting"
|
|
2622
2620
|
}), s);
|
|
2623
2621
|
case "iiiii":
|
|
2624
|
-
return
|
|
2622
|
+
return D(n.day(e, {
|
|
2625
2623
|
width: "narrow",
|
|
2626
2624
|
context: "formatting"
|
|
2627
2625
|
}), s);
|
|
2628
2626
|
case "iiiiii":
|
|
2629
|
-
return
|
|
2627
|
+
return D(n.day(e, {
|
|
2630
2628
|
width: "short",
|
|
2631
2629
|
context: "formatting"
|
|
2632
2630
|
}) || n.day(e, {
|
|
@@ -2635,7 +2633,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2635
2633
|
}), s);
|
|
2636
2634
|
case "iiii":
|
|
2637
2635
|
default:
|
|
2638
|
-
return
|
|
2636
|
+
return D(n.day(e, {
|
|
2639
2637
|
width: "wide",
|
|
2640
2638
|
context: "formatting"
|
|
2641
2639
|
}) || n.day(e, {
|
|
@@ -2823,7 +2821,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2823
2821
|
value: function(e, o, n) {
|
|
2824
2822
|
switch (o) {
|
|
2825
2823
|
case "h":
|
|
2826
|
-
return k(
|
|
2824
|
+
return k(P.hour12h, e);
|
|
2827
2825
|
case "ho":
|
|
2828
2826
|
return n.ordinalNumber(e, {
|
|
2829
2827
|
unit: "hour"
|
|
@@ -2859,7 +2857,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2859
2857
|
value: function(e, o, n) {
|
|
2860
2858
|
switch (o) {
|
|
2861
2859
|
case "H":
|
|
2862
|
-
return k(
|
|
2860
|
+
return k(P.hour23h, e);
|
|
2863
2861
|
case "Ho":
|
|
2864
2862
|
return n.ordinalNumber(e, {
|
|
2865
2863
|
unit: "hour"
|
|
@@ -2894,7 +2892,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2894
2892
|
value: function(e, o, n) {
|
|
2895
2893
|
switch (o) {
|
|
2896
2894
|
case "K":
|
|
2897
|
-
return k(
|
|
2895
|
+
return k(P.hour11h, e);
|
|
2898
2896
|
case "Ko":
|
|
2899
2897
|
return n.ordinalNumber(e, {
|
|
2900
2898
|
unit: "hour"
|
|
@@ -2930,7 +2928,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2930
2928
|
value: function(e, o, n) {
|
|
2931
2929
|
switch (o) {
|
|
2932
2930
|
case "k":
|
|
2933
|
-
return k(
|
|
2931
|
+
return k(P.hour24h, e);
|
|
2934
2932
|
case "ko":
|
|
2935
2933
|
return n.ordinalNumber(e, {
|
|
2936
2934
|
unit: "hour"
|
|
@@ -2966,7 +2964,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
2966
2964
|
value: function(e, o, n) {
|
|
2967
2965
|
switch (o) {
|
|
2968
2966
|
case "m":
|
|
2969
|
-
return k(
|
|
2967
|
+
return k(P.minute, e);
|
|
2970
2968
|
case "mo":
|
|
2971
2969
|
return n.ordinalNumber(e, {
|
|
2972
2970
|
unit: "minute"
|
|
@@ -3001,7 +2999,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
3001
2999
|
value: function(e, o, n) {
|
|
3002
3000
|
switch (o) {
|
|
3003
3001
|
case "s":
|
|
3004
|
-
return k(
|
|
3002
|
+
return k(P.second, e);
|
|
3005
3003
|
case "so":
|
|
3006
3004
|
return n.ordinalNumber(e, {
|
|
3007
3005
|
unit: "second"
|
|
@@ -3037,7 +3035,7 @@ var Xi = /* @__PURE__ */ function(t) {
|
|
|
3037
3035
|
var n = function(c) {
|
|
3038
3036
|
return Math.floor(c * Math.pow(10, -o.length + 3));
|
|
3039
3037
|
};
|
|
3040
|
-
return
|
|
3038
|
+
return D(V(o.length, e), n);
|
|
3041
3039
|
}
|
|
3042
3040
|
}, {
|
|
3043
3041
|
key: "set",
|
|
@@ -3209,18 +3207,18 @@ function fe(t, i, r, a) {
|
|
|
3209
3207
|
weekStartsOn: ae,
|
|
3210
3208
|
locale: j
|
|
3211
3209
|
}, oe = [new Ci()], ge = q.match(fr).map(function(S) {
|
|
3212
|
-
var
|
|
3213
|
-
if (
|
|
3214
|
-
var $ = _e[
|
|
3210
|
+
var _ = S[0];
|
|
3211
|
+
if (_ in _e) {
|
|
3212
|
+
var $ = _e[_];
|
|
3215
3213
|
return $(S, j.formatLong);
|
|
3216
3214
|
}
|
|
3217
3215
|
return S;
|
|
3218
3216
|
}).join("").match(hr), I = [], L = Le(ge), Z;
|
|
3219
3217
|
try {
|
|
3220
3218
|
var it = function() {
|
|
3221
|
-
var
|
|
3222
|
-
!(a != null && a.useAdditionalWeekYearTokens) && Ge(
|
|
3223
|
-
var $ =
|
|
3219
|
+
var _ = Z.value;
|
|
3220
|
+
!(a != null && a.useAdditionalWeekYearTokens) && Ge(_) && pe(_, q, t), !(a != null && a.useAdditionalDayOfYearTokens) && ze(_) && pe(_, q, t);
|
|
3221
|
+
var $ = _[0], he = cr[$];
|
|
3224
3222
|
if (he) {
|
|
3225
3223
|
var Oe = he.incompatibleTokens;
|
|
3226
3224
|
if (Array.isArray(Oe)) {
|
|
@@ -3228,14 +3226,14 @@ function fe(t, i, r, a) {
|
|
|
3228
3226
|
return Oe.includes(He.token) || He.token === $;
|
|
3229
3227
|
});
|
|
3230
3228
|
if (Se)
|
|
3231
|
-
throw new RangeError("The format string mustn't contain `".concat(Se.fullToken, "` and `").concat(
|
|
3229
|
+
throw new RangeError("The format string mustn't contain `".concat(Se.fullToken, "` and `").concat(_, "` at the same time"));
|
|
3232
3230
|
} else if (he.incompatibleTokens === "*" && I.length > 0)
|
|
3233
|
-
throw new RangeError("The format string mustn't contain `".concat(
|
|
3231
|
+
throw new RangeError("The format string mustn't contain `".concat(_, "` and any other token at the same time"));
|
|
3234
3232
|
I.push({
|
|
3235
3233
|
token: $,
|
|
3236
|
-
fullToken:
|
|
3234
|
+
fullToken: _
|
|
3237
3235
|
});
|
|
3238
|
-
var be = he.run(F,
|
|
3236
|
+
var be = he.run(F, _, j.match, ne);
|
|
3239
3237
|
if (!be)
|
|
3240
3238
|
return {
|
|
3241
3239
|
v: /* @__PURE__ */ new Date(NaN)
|
|
@@ -3244,8 +3242,8 @@ function fe(t, i, r, a) {
|
|
|
3244
3242
|
} else {
|
|
3245
3243
|
if ($.match(gr))
|
|
3246
3244
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + $ + "`");
|
|
3247
|
-
if (
|
|
3248
|
-
F = F.slice(
|
|
3245
|
+
if (_ === "''" ? _ = "'" : $ === "'" && (_ = yr(_)), F.indexOf(_) === 0)
|
|
3246
|
+
F = F.slice(_.length);
|
|
3249
3247
|
else
|
|
3250
3248
|
return {
|
|
3251
3249
|
v: /* @__PURE__ */ new Date(NaN)
|
|
@@ -3266,29 +3264,29 @@ function fe(t, i, r, a) {
|
|
|
3266
3264
|
return /* @__PURE__ */ new Date(NaN);
|
|
3267
3265
|
var rt = oe.map(function(S) {
|
|
3268
3266
|
return S.priority;
|
|
3269
|
-
}).sort(function(S,
|
|
3270
|
-
return
|
|
3271
|
-
}).filter(function(S,
|
|
3272
|
-
return $.indexOf(S) ===
|
|
3267
|
+
}).sort(function(S, _) {
|
|
3268
|
+
return _ - S;
|
|
3269
|
+
}).filter(function(S, _, $) {
|
|
3270
|
+
return $.indexOf(S) === _;
|
|
3273
3271
|
}).map(function(S) {
|
|
3274
|
-
return oe.filter(function(
|
|
3275
|
-
return
|
|
3276
|
-
}).sort(function(
|
|
3277
|
-
return $.subPriority -
|
|
3272
|
+
return oe.filter(function(_) {
|
|
3273
|
+
return _.priority === S;
|
|
3274
|
+
}).sort(function(_, $) {
|
|
3275
|
+
return $.subPriority - _.subPriority;
|
|
3278
3276
|
});
|
|
3279
3277
|
}).map(function(S) {
|
|
3280
3278
|
return S[0];
|
|
3281
3279
|
}), ye = E(r);
|
|
3282
3280
|
if (isNaN(ye.getTime()))
|
|
3283
3281
|
return /* @__PURE__ */ new Date(NaN);
|
|
3284
|
-
var se = qe(ye, Be(ye)),
|
|
3282
|
+
var se = qe(ye, Be(ye)), Pe = {}, de = Le(rt), De;
|
|
3285
3283
|
try {
|
|
3286
|
-
for (de.s(); !(
|
|
3287
|
-
var Ee =
|
|
3284
|
+
for (de.s(); !(De = de.n()).done; ) {
|
|
3285
|
+
var Ee = De.value;
|
|
3288
3286
|
if (!Ee.validate(se, ne))
|
|
3289
3287
|
return /* @__PURE__ */ new Date(NaN);
|
|
3290
|
-
var ce = Ee.set(se,
|
|
3291
|
-
Array.isArray(ce) ? (se = ce[0], bi(
|
|
3288
|
+
var ce = Ee.set(se, Pe, ne);
|
|
3289
|
+
Array.isArray(ce) ? (se = ce[0], bi(Pe, ce[1])) : se = ce;
|
|
3292
3290
|
}
|
|
3293
3291
|
} catch (S) {
|
|
3294
3292
|
de.e(S);
|
|
@@ -3312,7 +3310,7 @@ function Ye(t, i) {
|
|
|
3312
3310
|
}
|
|
3313
3311
|
const br = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{font-family:"Roboto";font-style:normal}.date__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.date__wrapper--autofilled{pointer-events:none}.date__wrapper--autofilled .date__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__wrapper--autofilled .date__input::part(input-field){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__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))}.date__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.date__input{border:none;width:inherit;position:relative}.date__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.date__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.date__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--registration-typography, var(--emw--color-black, #000000));font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.date__input>input{padding:5px 15px}.date__input::part(toggle-button){position:relative;right:10px}.date__error-message{position:absolute;top:calc(100% + 5px);left:0;color:rgba(204, 0, 0, 0.7019607843)}.date__tooltip-icon{position:absolute;right:0;bottom:10px}.date__tooltip{position:absolute;bottom:35px;right:10px;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}.date__tooltip.visible{opacity:1}', wr = br, _r = class {
|
|
3314
3312
|
constructor(t) {
|
|
3315
|
-
z(this, t), this.sendValidityState = H(this, "sendValidityState"
|
|
3313
|
+
z(this, t), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.touched = !1, this.formatDate = (i) => {
|
|
3316
3314
|
const { year: r, month: a, day: e } = i, o = new Date(r, a, e);
|
|
3317
3315
|
return mi(o, this.dateFormat || "yyyy-MM-dd");
|
|
3318
3316
|
}, this.parseDate = (i) => {
|
|
@@ -3368,11 +3366,11 @@ const br = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
|
|
|
3368
3366
|
}
|
|
3369
3367
|
setErrorMessage() {
|
|
3370
3368
|
if (Ye(this.valueAsDate, this.minDate) || $e(this.valueAsDate, this.maxDate))
|
|
3371
|
-
return
|
|
3369
|
+
return x("dateError2", this.language);
|
|
3372
3370
|
if (this.inputReference.validity.rangeUnderflow || this.inputReference.validity.rangeOverflow)
|
|
3373
|
-
return
|
|
3371
|
+
return x("dateError", this.language, { values: { min: this.validation.min, max: this.validation.max } });
|
|
3374
3372
|
if (this.inputReference.validity.valueMissing)
|
|
3375
|
-
return
|
|
3373
|
+
return x("requiredError", this.language);
|
|
3376
3374
|
}
|
|
3377
3375
|
renderTooltip() {
|
|
3378
3376
|
return this.showTooltip ? l("div", { class: `date__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
|
|
@@ -3395,7 +3393,7 @@ const br = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{
|
|
|
3395
3393
|
_r.style = wr;
|
|
3396
3394
|
const xr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email{font-family:"Roboto";font-style:normal}.email__wrapper{position:relative;width:100%}.email__wrapper--autofilled{pointer-events:none}.email__wrapper--autofilled .email__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__wrapper--autofilled .email__input{color:var(--emw--color-black, #000000)}.email__wrapper--flex{display:flex;gap:5px}.email__wrapper--relative{position:relative}.email__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))}.email__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.email__input{font-family:inherit;border-radius:4px;width:100%;height:40px;border:2px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;font-size:16px;font-weight:300;line-height:1.5;padding:10px}.email__input:focus{outline-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.email__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__input::placeholder{color:var(--emw--color-gray-150, #828282)}.email__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__tooltip-icon{width:16px;height:auto}.email__tooltip{position:absolute;top:0;left:20px;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}.email__tooltip.visible{opacity:1}', Tr = xr, kr = class {
|
|
3397
3395
|
constructor(t) {
|
|
3398
|
-
z(this, t), this.sendValidityState = H(this, "sendValidityState"
|
|
3396
|
+
z(this, t), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.validationPattern = "", this.touched = !1, this.handleInput = (i) => {
|
|
3399
3397
|
this.value = i.target.value, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
3400
3398
|
this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
3401
3399
|
}, 500);
|
|
@@ -3448,15 +3446,15 @@ const xr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email
|
|
|
3448
3446
|
var t, i, r, a;
|
|
3449
3447
|
if (this.inputReference.validity.patternMismatch) {
|
|
3450
3448
|
const e = (t = this.validation.custom.find((n) => n.rule === "regex")) === null || t === void 0 ? void 0 : t.errorKey, o = (i = this.validation.custom.find((n) => n.rule === "regex")) === null || i === void 0 ? void 0 : i.errorMessage;
|
|
3451
|
-
return
|
|
3449
|
+
return x(`${e}`, this.language) ? x(`${e}`, this.language) : o;
|
|
3452
3450
|
}
|
|
3453
3451
|
if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
|
|
3454
|
-
return
|
|
3452
|
+
return x("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
|
|
3455
3453
|
if (this.inputReference.validity.valueMissing)
|
|
3456
|
-
return
|
|
3454
|
+
return x("requiredError", this.language);
|
|
3457
3455
|
if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
|
|
3458
3456
|
const e = (r = this.validation.custom.find((n) => n.rule === "duplicate-input")) === null || r === void 0 ? void 0 : r.errorKey, o = (a = this.validation.custom.find((n) => n.rule === "duplicate-input")) === null || a === void 0 ? void 0 : a.errorMessage;
|
|
3459
|
-
return
|
|
3457
|
+
return x(`${e}`, this.language) ? x(`${e}`, this.language) : o;
|
|
3460
3458
|
}
|
|
3461
3459
|
}
|
|
3462
3460
|
renderTooltip() {
|
|
@@ -3477,7 +3475,7 @@ const xr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email
|
|
|
3477
3475
|
kr.style = Tr;
|
|
3478
3476
|
const Cr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.number{font-family:"Roboto";font-style:normal}.number__wrapper{position:relative;width:100%}.number__wrapper--autofilled{pointer-events:none}.number__wrapper--autofilled .number__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__wrapper--autofilled .number__input{color:var(--emw--color-black, #000000)}.number__wrapper--flex{display:flex;gap:5px}.number__wrapper--relative{position:relative}.number__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))}.number__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.number__input{font-family:inherit;border-radius:5px;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;position:relative;-moz-appearance:textfield;}.number__input:focus{outline-color:#3E3E3E}.number__input::-webkit-outer-spin-button,.number__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__input::placeholder{color:#979797}.number__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__tooltip-icon{width:16px;height:auto}.number__tooltip{position:absolute;top:0;left:20px;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}.number__tooltip.visible{opacity:1}', Vr = Cr, Mr = class {
|
|
3479
3477
|
constructor(t) {
|
|
3480
|
-
z(this, t), this.sendValidityState = H(this, "sendValidityState"
|
|
3478
|
+
z(this, t), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.validationPattern = "", this.touched = !1, this.handleInput = (i) => {
|
|
3481
3479
|
this.value = i.target.value, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
3482
3480
|
this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
3483
3481
|
}, 500);
|
|
@@ -3527,12 +3525,12 @@ const Cr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.numbe
|
|
|
3527
3525
|
var t, i;
|
|
3528
3526
|
if (this.inputReference.validity.patternMismatch) {
|
|
3529
3527
|
const r = (t = this.validation.custom.find((e) => e.rule === "regex")) === null || t === void 0 ? void 0 : t.errorKey, a = (i = this.validation.custom.find((e) => e.rule === "regex")) === null || i === void 0 ? void 0 : i.errorMessage;
|
|
3530
|
-
return
|
|
3528
|
+
return x(`${r}`, this.language) ? x(`${r}`, this.language) : a;
|
|
3531
3529
|
}
|
|
3532
3530
|
if (this.inputReference.validity.rangeUnderflow || this.inputReference.validity.rangeOverflow)
|
|
3533
|
-
return
|
|
3531
|
+
return x("numberLengthError", this.language, { values: { min: this.validation.min, max: this.validation.max } });
|
|
3534
3532
|
if (this.inputReference.validity.valueMissing)
|
|
3535
|
-
return
|
|
3533
|
+
return x("requiredError", this.language);
|
|
3536
3534
|
}
|
|
3537
3535
|
renderTooltip() {
|
|
3538
3536
|
return this.showTooltip ? l("div", { class: `number__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
|
|
@@ -3550,9 +3548,9 @@ const Cr = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.numbe
|
|
|
3550
3548
|
}
|
|
3551
3549
|
};
|
|
3552
3550
|
Mr.style = Vr;
|
|
3553
|
-
const
|
|
3551
|
+
const Pr = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio__fieldset{border:none;position:relative}.radio__wrapper{display:flex;gap:5px}.radio__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.radio__tooltip-icon{position:absolute;right:0;bottom:10px}.radio__tooltip{position:absolute;bottom:35px;right:10px;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}.radio__tooltip.visible{opacity:1}", Dr = Pr, Er = class {
|
|
3554
3552
|
constructor(t) {
|
|
3555
|
-
z(this, t), this.sendInputValue = H(this, "sendInputValue"
|
|
3553
|
+
z(this, t), this.sendInputValue = H(this, "sendInputValue"), this.sendValidityState = H(this, "sendValidityState"), this.setClientStyling = () => {
|
|
3556
3554
|
let i = document.createElement("style");
|
|
3557
3555
|
i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
|
|
3558
3556
|
}, this.name = void 0, this.displayName = void 0, this.optionsGroup = void 0, this.validation = void 0, this.tooltip = 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;
|
|
@@ -3586,7 +3584,7 @@ const Dr = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio
|
|
|
3586
3584
|
}
|
|
3587
3585
|
setErrorMessage() {
|
|
3588
3586
|
if (this.inputReference.validity.valueMissing)
|
|
3589
|
-
return
|
|
3587
|
+
return x("requiredError", this.language);
|
|
3590
3588
|
}
|
|
3591
3589
|
renderTooltip() {
|
|
3592
3590
|
return this.showTooltip ? l("div", { class: `radio__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
|
|
@@ -3602,10 +3600,10 @@ const Dr = "*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio
|
|
|
3602
3600
|
};
|
|
3603
3601
|
}
|
|
3604
3602
|
};
|
|
3605
|
-
Er.style =
|
|
3603
|
+
Er.style = Dr;
|
|
3606
3604
|
const Or = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{height:100%}vaadin-combo-box>input{background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-weight:300;font-size:16px;-webkit-font-smoothing:initial;}.select{font-family:"Roboto";font-style:normal}.select__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.select__wrapper--autofilled{pointer-events:none}.select__wrapper--autofilled .select__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__wrapper--autofilled .select__input::part(input-field){color:var(--emw--color-black, #000000)}.select__wrapper--flex{display:flex;gap:5px}.select__wrapper--relative{position:relative}.select__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))}.select__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.select__input{border:none;width:inherit;position:relative}.select__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.select__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__input vaadin-date-picker-overlay-content>vaadin-button{color:var(--emw--color-black, #000000)}.select__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);font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.select__input::part(toggle-button){position:relative;right:10px}.select__input>input{padding:5px 15px}.select__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__tooltip-icon{width:16px;height:auto}.select__tooltip{position:absolute;top:0;left:20px;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}.select__tooltip.visible{opacity:1}', Sr = Or, Hr = class {
|
|
3607
3605
|
constructor(t) {
|
|
3608
|
-
z(this, t), this.sendValidityState = H(this, "sendValidityState"
|
|
3606
|
+
z(this, t), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.touched = !1, this.handleChange = (i) => {
|
|
3609
3607
|
this.touched = !0;
|
|
3610
3608
|
const r = i.target.value, a = this.options.find((e) => e.value.toLowerCase() === r.toLowerCase());
|
|
3611
3609
|
a ? this.value = a.value : this.value = r, this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
@@ -3670,7 +3668,7 @@ const Or = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{
|
|
|
3670
3668
|
}
|
|
3671
3669
|
setErrorMessage() {
|
|
3672
3670
|
if (this.inputReference.validity.valueMissing)
|
|
3673
|
-
return
|
|
3671
|
+
return x("requiredError", this.language);
|
|
3674
3672
|
}
|
|
3675
3673
|
renderTooltip() {
|
|
3676
3674
|
return this.showTooltip ? l("div", { class: `select__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
|
|
@@ -3693,7 +3691,7 @@ const Or = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{
|
|
|
3693
3691
|
Hr.style = Sr;
|
|
3694
3692
|
const Ir = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{font-family:"Roboto";font-style:normal}.tel__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.tel__wrapper--autofilled{pointer-events:none}.tel__wrapper--autofilled .tel__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__wrapper--autofilled .tel__input::part(input-field){color:var(--emw--color-black, #000000)}.tel__wrapper--flex{width:inherit;display:flex;align-items:center;border-radius:4px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);overflow:hidden}.tel__wrapper--flex:focus-within{border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.tel__wrapper--flex--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__wrapper--flex-label{display:flex;gap:5px}.tel__wrapper--flex--relative{position:relative}.tel__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))}.tel__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.tel__prefix{--vaadin-field-default-width:90px}.tel__prefix[focus]{outline:none}.tel__prefix::part(input-field){border-radius:0 5px 5px 0;background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;border:none;border-right:2px solid #DDE0EE;border-image-source:linear-gradient(to bottom, rgba(221, 224, 238, 0) 25%, rgb(221, 224, 238) 25%, rgb(221, 224, 238) 75%, rgba(221, 224, 238, 0) 75%);border-image-slice:1;border-image-repeat:round}.tel__prefix::part(input-field):hover{background-color:var(--emw--color-white, #FFFFFF)}.tel__prefix::part(toggle-button){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__input{font-family:inherit;border-radius:5px;width:100%;color:var(--emw--registration-typography, var(--emw--color-black, #000000));background-color:var(--emw--color-white, #FFFFFF);border:none;width:inherit;position:relative;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px;height:42px;-moz-appearance:textfield;}.tel__input:focus{outline:none}.tel__input::-webkit-outer-spin-button,.tel__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.tel__input::placeholder{color:var(--emw--color-gray-150, #979797)}.tel__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__tooltip-icon{width:16px;height:auto}.tel__tooltip{position:absolute;top:0;left:20px;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}.tel__tooltip.visible{opacity:1}', Fr = Ir, Rr = class {
|
|
3695
3693
|
constructor(t) {
|
|
3696
|
-
z(this, t), this.sendValidityState = H(this, "sendValidityState"
|
|
3694
|
+
z(this, t), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.validationPattern = "", this.touched = !1, this.handleInput = (i) => {
|
|
3697
3695
|
this.phoneValue = i.target.value, this.value = { prefix: this.prefixValue, phone: this.phoneValue }, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
3698
3696
|
this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.emitValueHandler(!0);
|
|
3699
3697
|
}, 500);
|
|
@@ -3764,12 +3762,12 @@ const Ir = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
|
|
|
3764
3762
|
var t, i;
|
|
3765
3763
|
if (this.inputReference.validity.patternMismatch) {
|
|
3766
3764
|
const r = (t = this.validation.custom.find((e) => e.rule === "regex")) === null || t === void 0 ? void 0 : t.errorKey, a = (i = this.validation.custom.find((e) => e.rule === "regex")) === null || i === void 0 ? void 0 : i.errorMessage;
|
|
3767
|
-
return
|
|
3765
|
+
return x(`${r}`, this.language) ? x(`${r}`, this.language) : a;
|
|
3768
3766
|
}
|
|
3769
3767
|
if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
|
|
3770
|
-
return
|
|
3768
|
+
return x("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
|
|
3771
3769
|
if (this.inputReference.validity.valueMissing)
|
|
3772
|
-
return
|
|
3770
|
+
return x("requiredError", this.language);
|
|
3773
3771
|
}
|
|
3774
3772
|
renderTooltip() {
|
|
3775
3773
|
return this.showTooltip ? l("div", { class: `tel__tooltip ${this.showTooltip ? "visible" : ""}`, ref: (t) => this.tooltipReference = t, innerHTML: this.tooltip }) : null;
|
|
@@ -3789,7 +3787,7 @@ const Ir = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{f
|
|
|
3789
3787
|
Rr.style = Fr;
|
|
3790
3788
|
const Ur = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{font-family:"Roboto";font-style:normal}.text__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.text__wrapper--autofilled{pointer-events:none}.text__wrapper--autofilled .text__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__wrapper--autofilled .text__input::part(input-field){color:var(--emw--color-black, #000000)}.text__wrapper--flex{display:flex;gap:5px}.text__wrapper--relative{position:relative}.text__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))}.text__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.text__input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);border-radius:5px;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px}.text__input:focus{border:1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.text__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__input::placeholder{color:var(--emw--color-gray-150, #828282)}.text__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__tooltip-icon{width:16px;height:auto}.text__tooltip{position:absolute;top:0;left:20px;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}.text__tooltip.visible{opacity:1}', Lr = Ur, $r = class {
|
|
3791
3789
|
constructor(t) {
|
|
3792
|
-
z(this, t), this.sendValidityState = H(this, "sendValidityState"
|
|
3790
|
+
z(this, t), this.sendValidityState = H(this, "sendValidityState"), this.sendInputValue = H(this, "sendInputValue"), this.value = "", this.validationPattern = "", this.duplicateInputValue = null, this.touched = !1, this.handleInput = (i) => {
|
|
3793
3791
|
this.value = i.target.value, this.touched = !0, this.debounceTime && clearTimeout(this.debounceTime), this.debounceTime = setTimeout(() => {
|
|
3794
3792
|
this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage(), this.validityStateHandler({ valid: this.isValid, name: this.name }), this.emitValueHandler(!0);
|
|
3795
3793
|
}, 500);
|
|
@@ -3821,6 +3819,9 @@ const Ur = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
3821
3819
|
valueChangedHandler(t) {
|
|
3822
3820
|
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());
|
|
3823
3821
|
}
|
|
3822
|
+
handleValidationChange(t) {
|
|
3823
|
+
t.detail.field === this.name && (this.validation = t.detail.validation, this.validationPattern = this.setPattern(), this.touched && (this.isValid = this.setValidity(), this.errorMessage = this.setErrorMessage()));
|
|
3824
|
+
}
|
|
3824
3825
|
connectedCallback() {
|
|
3825
3826
|
this.validationPattern = this.setPattern();
|
|
3826
3827
|
}
|
|
@@ -3832,7 +3833,7 @@ const Ur = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
3832
3833
|
}
|
|
3833
3834
|
setValidity() {
|
|
3834
3835
|
var t;
|
|
3835
|
-
return this.isDuplicateInput && this.duplicateInputValue !== this.value ? !1 : (t = this.inputReference) === null || t === void 0 ? void 0 : t.validity.valid;
|
|
3836
|
+
return this.isDuplicateInput && this.duplicateInputValue !== this.value ? !1 : ((t = this.inputReference) === null || t === void 0 ? void 0 : t.validity.valid) && this.inputReference.value.match(this.validationPattern) != null;
|
|
3836
3837
|
}
|
|
3837
3838
|
setPattern() {
|
|
3838
3839
|
var t, i;
|
|
@@ -3841,17 +3842,17 @@ const Ur = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
3841
3842
|
}
|
|
3842
3843
|
setErrorMessage() {
|
|
3843
3844
|
var t, i, r, a;
|
|
3844
|
-
if (this.inputReference.
|
|
3845
|
+
if (this.inputReference.value.match(this.validationPattern) == null) {
|
|
3845
3846
|
const e = (t = this.validation.custom.find((n) => n.rule === "regex")) === null || t === void 0 ? void 0 : t.errorKey, o = (i = this.validation.custom.find((n) => n.rule === "regex")) === null || i === void 0 ? void 0 : i.errorMessage;
|
|
3846
|
-
return
|
|
3847
|
+
return x(`${e}`, this.language) || o;
|
|
3847
3848
|
}
|
|
3848
3849
|
if (this.inputReference.validity.tooShort || this.inputReference.validity.tooLong)
|
|
3849
|
-
return
|
|
3850
|
+
return x("lengthError", this.language, { values: { minLength: this.validation.minLength, maxLength: this.validation.maxLength } });
|
|
3850
3851
|
if (this.inputReference.validity.valueMissing)
|
|
3851
|
-
return
|
|
3852
|
+
return x("requiredError", this.language);
|
|
3852
3853
|
if (this.isDuplicateInput && this.duplicateInputValue !== this.value) {
|
|
3853
3854
|
const e = (r = this.validation.custom.find((n) => n.rule === "duplicate-input")) === null || r === void 0 ? void 0 : r.errorKey, o = (a = this.validation.custom.find((n) => n.rule === "duplicate-input")) === null || a === void 0 ? void 0 : a.errorMessage;
|
|
3854
|
-
return
|
|
3855
|
+
return x(`${e}`, this.language) ? x(`${e}`, this.language) : o;
|
|
3855
3856
|
}
|
|
3856
3857
|
}
|
|
3857
3858
|
renderTooltip() {
|
|
@@ -3859,7 +3860,7 @@ const Ur = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{
|
|
|
3859
3860
|
}
|
|
3860
3861
|
render() {
|
|
3861
3862
|
let t = "";
|
|
3862
|
-
return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), l("div", { key: "
|
|
3863
|
+
return this.touched && (t = this.isValid == !0 || this.isValid == null ? "" : "text__input--invalid"), l("div", { key: "3050f7be1581f0cd5b5e1ce708a789b5e7a54b03", class: `text__wrapper ${this.name}__input ${this.autofilled ? "text__wrapper--autofilled" : ""}`, ref: (i) => this.stylingContainer = i }, l("div", { key: "9dcc93fb8c091c599269454ab21c03c2380ffef7", class: "text__wrapper--flex" }, l("label", { key: "0054347b1a4de17ea60b898783de0ef6b42233ee", class: `text__label ${this.validation.mandatory ? "text__label--required" : ""}`, htmlFor: `${this.name}__input` }, this.displayName), l("div", { key: "b4655608e397f8d2a8179c01521756bf87746ace", class: "text__wrapper--relative" }, this.tooltip && l("img", { key: "c71c1ca1175d11ec352eca5cff216bb244aa7895", class: "text__tooltip-icon", src: G, alt: "", ref: (i) => this.tooltipIconReference = i, onClick: () => this.showTooltip = !this.showTooltip }), this.renderTooltip())), l("input", { key: "2df3c181c5ca725e121c0878a10ca257da7cdd34", name: this.name, id: `${this.name}__input`, value: this.defaultValue, type: "text", class: `text__input ${t}`, placeholder: `${this.placeholder}`, ref: (i) => this.inputReference = i, readOnly: this.autofilled, required: this.validation.mandatory, minlength: this.validation.minLength, maxlength: this.validation.maxLength, onInput: this.handleInput, onBlur: this.handleBlur }), l("small", { key: "5785eb51774c9159e474fbdbd5be0c1ab2a57899", class: "text__error-message" }, this.errorMessage));
|
|
3863
3864
|
}
|
|
3864
3865
|
static get watchers() {
|
|
3865
3866
|
return {
|